Skip to content

Commit

Permalink
automatically enable debug menu when building for debug
Browse files Browse the repository at this point in the history
  • Loading branch information
u8-Salem committed Jun 1, 2024
1 parent 92bf7de commit fc81787
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/config/debug.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,20 @@

// Overworld Debug
#define DEBUG_OVERWORLD_MENU FALSE // Enables an overworld debug menu to change flags, variables, giving pokemon and more, accessed by holding R and pressing START while in the overworld by default.
#define DEBUG_OVERWORLD_MENU FALSE // Enables an overworld debug menu to change flags, variables, giving pokemon and more, accessed by holding R and pressing START while in the overworld by default.
#define DEBUG_OVERWORLD_HELD_KEYS (R_BUTTON) // The keys required to be held to open the debug menu.
#define DEBUG_OVERWORLD_TRIGGER_EVENT pressedStartButton // The event that opens the menu when holding the key(s) defined in DEBUG_OVERWORLD_HELD_KEYS.
#define DEBUG_OVERWORLD_IN_MENU FALSE // Replaces the overworld debug menu button combination with a start menu entry (above Pokédex).

// Battle Debug Menu
#define DEBUG_BATTLE_MENU FALSE // If set to TRUE, enables a debug menu to use in battles by pressing the Select button.
#define DEBUG_BATTLE_MENU FALSE // If set to TRUE, enables a debug menu to use in battles by pressing the Select button.
#define DEBUG_AI_DELAY_TIMER FALSE // If set to TRUE, displays the number of frames it takes for the AI to choose a move. Replaces the "What will PKMN do" text. Useful for devs or anyone who modifies the AI code and wants to see if it doesn't take too long to run.

// Pokémon Debug
#define DEBUG_POKEMON_MENU FALSE // Enables a debug menu for pokemon sprites and icons, accessed by pressing SELECT in the summary screen.

// Automatically enable all debug menus if building with debug target
#ifdef DEBUG_TARGET
#undef DEBUG_OVERWORLD_MENU
#define DEBUG_OVERWORLD_MENU TRUE
Expand Down

0 comments on commit fc81787

Please sign in to comment.