diff options
author | Seth Barberee <seth.barberee@gmail.com> | 2022-01-07 15:03:08 -0600 |
---|---|---|
committer | Seth Barberee <seth.barberee@gmail.com> | 2022-02-17 18:59:56 -0600 |
commit | 19decc36d0465f26de20b389e6c8bf0775862cdb (patch) | |
tree | 37e11863ef8fa05b1e863f5ad49f2f93d923cc0c /src/debug_menu.c | |
parent | 6bf6f8ded14269097d844177371bc58cf8d919fc (diff) |
Move all the menus to respective directory in src/data/menus
Diffstat (limited to 'src/debug_menu.c')
-rw-r--r-- | src/debug_menu.c | 36 |
1 files changed, 1 insertions, 35 deletions
diff --git a/src/debug_menu.c b/src/debug_menu.c index 1c1a022..6f7dcd8 100644 --- a/src/debug_menu.c +++ b/src/debug_menu.c @@ -27,43 +27,9 @@ const struct UnkTextStruct2 gUnknown_80E7D58 = NULL }; -extern const char dungeons_string[]; -extern const char field_string[]; -extern const char field_map_string[]; -extern const char field_script_string[]; -extern const char debug_menu_string[]; -extern const char storage_string[]; -extern const char h_open_string[]; +#include "data/menus/debug_menu.h" -const struct MenuItem gDebugMenuItems[8] = -{ - {dungeons_string, MENU_DEBUG_MENU_DUNGEONS}, - {field_string, MENU_DEBUG_MENU_FIELD}, - {field_map_string, MENU_DEBUG_MENU_FIELD_MAP}, - {field_script_string, MENU_DEBUG_MENU_FIELD_SCRIPT}, - {debug_menu_string, MENU_DEBUG_MENU_DEBUG_MENU}, - {storage_string, MENU_DEBUG_MENU_STORAGE}, - {h_open_string, MENU_DEBUG_MENU_H_OPEN}, - {NULL, 10}, -}; - -ALIGNED(4) static const char h_open_string[] = "h-open"; -ALIGNED(4) static const char storage_string[] = "Storage"; -ALIGNED(4) static const char debug_menu_string[] = "Debug Menu"; -ALIGNED(4) static const char field_script_string[] = "Field Script"; -ALIGNED(4) static const char field_map_string[] = "Field Map"; -ALIGNED(4) static const char field_string[] = "Field"; -ALIGNED(4) static const char dungeons_string[] = "Dungeons"; - -ALIGNED(4) static const char debug_menu_fill0[] = "pksdir0"; -ALIGNED(4) static const char debug_menu_fill1[] = "pksdir0"; -ALIGNED(4) static const char debug_menu_fill2[] = "pksdir0"; -ALIGNED(4) static const char debug_menu_fill3[] = "pksdir0"; -ALIGNED(4) static const char debug_menu_fill4[] = "pksdir0"; -ALIGNED(4) static const char debug_menu_fill5[] = "pksdir0"; -ALIGNED(4) static const char debug_menu_fill6[] = "pksdir0"; - extern u8 sub_8012FD8(struct DebugMenu *); extern void sub_8013114(struct DebugMenu *, s32 *); |