Add entries to debug menu to unlock Mystery Gift and Mystery Events

NOTE: to test this with ignore_game_pak, you need to make sure DEBUG_GAME is set correctly to the game that matches
This commit is contained in:
Philippe Symons
2026-04-15 21:20:41 +02:00
parent 52402220eb
commit 5a9ce8dabc
5 changed files with 39 additions and 1 deletions

View File

@@ -102,6 +102,10 @@ void fill_debug_menu_with_entries(vertical_menu &menu, u16 *charset)
define_executable_row(charset, "Info", show_debug_info_screen, 0, nullptr),
#if ENABLE_DEBUG_PKMN_INJECTION
define_executable_row(charset, "Inject Celebi", dbg_inject_pkmn, 0, nullptr),
#endif
#if ENABLE_MYSTERY_GIFT
define_executable_row(charset, "Unlock MystE", dbg_unlock_mystery, 0, nullptr),
define_executable_row(charset, "Unlock MystG", dbg_unlock_mystery, 1, nullptr),
#endif
define_song_row(charset, "Song"),
define_toggle_row(charset, "Print Link", dbg_set_boolean_flag, g_debug_options.print_link_data, &g_debug_options.print_link_data),