summaryrefslogtreecommitdiff
path: root/include/main_menu.h
diff options
context:
space:
mode:
authorSeth Barberee <seth.barberee@gmail.com>2021-03-12 15:39:07 -0600
committerGitHub <noreply@github.com>2021-03-12 15:39:07 -0600
commit7b142311a7294c4c7a943870fa5f24f0fbea604a (patch)
treea1a9513c2f997cc8274af093803dd7d936e65ad0 /include/main_menu.h
parentd72e17b5f5d795bebda2f6dc78dccb5e80c432b5 (diff)
Miscellaneous Work (Again) (#30)
* work on debug menu and document that and main menu * split, decomp, label more funcs * split exclusive pokemon data out into C * macro-ize exlusive pokemon data * decomp 2 more funcs * decomp a few more * finally match PromptNewQuestion * woot 7% aka more debug menu stuff
Diffstat (limited to 'include/main_menu.h')
-rw-r--r--include/main_menu.h51
1 files changed, 51 insertions, 0 deletions
diff --git a/include/main_menu.h b/include/main_menu.h
new file mode 100644
index 0000000..824cee4
--- /dev/null
+++ b/include/main_menu.h
@@ -0,0 +1,51 @@
+#ifndef GUARD_MAIN_MENU_H
+#define GUARD_MAIN_MENU_H
+
+enum MainMenuScreens
+{
+ MENU_MAIN_SCREEN = 1,
+ MENU_CONTINUE = 7,
+ MENU_DELETE_SAVE_PROMPT,
+ MENU_ADVENTURE_LOG = 10,
+ MENU_FRIEND_RESCUE,
+ MENU_TRADE_ITEMS,
+ MENU_WONDER_MAIL,
+ MENU_DEBUG = 16,
+ MENU_COMMUNICATION_1 = 19,
+ MENU_COMMUNICATION_2,
+ MENU_DISPLAY_RESCUE_PASSWORD = 33,
+ MENU_RESCUE_PASSWORD_ENTRY,
+ MENU_DELETE_SAVE = 46,
+ MENU_DEBUG_DUNGEON,
+ MENU_DEBUG_FIELD,
+ MENU_DEBUG_FIELD_MAP,
+ MENU_DEBUG_FIELD_SCRIPT,
+ MENU_DEBUG_DEBUG_MENU,
+ MENU_DEBUG_UNKNOWN_1,
+ MENU_NO_SCREEN_CHANGE = 0xffdc
+};
+
+struct MainMenuSub
+{
+ u8 unk2C;
+ u8 unk2D;
+ u8 unk2E;
+};
+
+struct MainMenu
+{
+ /* 0x0 */ s32 currMenu;
+ /* 0x4 */ s32 nextMenu;
+ /* 0x8 */ s32 lastMenu;
+ u8 padding[0x20];
+ /* 0x2C */ struct MainMenuSub sub;
+ u32 unk30;
+ u32 unk34;
+ s16 unk38;
+ u8 unk3A;
+ u8 unk3B;
+ s32 unk3C;
+};
+
+
+#endif // GUARD_MAIN_MENU_H