mirror of
https://github.com/pret/pmd-red.git
synced 2026-03-27 12:35:04 -05:00
* decomp rest of main_menu * move some main menu data over * decomp some more wonder mail * decomp the dungeon dialogue scene switches * more wonder mail * consolidate struct_802F204 * another wonder mail func * more wonder mail * slight cleanup
68 lines
1.3 KiB
C
68 lines
1.3 KiB
C
#ifndef GUARD_MAIN_MENU_H
|
|
#define GUARD_MAIN_MENU_H
|
|
|
|
enum MainMenuScreens
|
|
{
|
|
MENU_MAIN_SCREEN = 1,
|
|
MENU_NEW_GAME = 3,
|
|
MENU_AWAITING_RESCUE = 6,
|
|
MENU_CONTINUE = 7, // used by Revive Team/Continue
|
|
MENU_DELETE_SAVE_PROMPT,
|
|
MENU_DELETE_SAVE_CONFIRM,
|
|
MENU_ADVENTURE_LOG = 10,
|
|
MENU_FRIEND_RESCUE,
|
|
MENU_TRADE_ITEMS,
|
|
MENU_WONDER_MAIL,
|
|
MENU_DUAL_SLOT,
|
|
MENU_WIRELESS_COMMS,
|
|
MENU_DEBUG = 16,
|
|
MENU_SEND_ITEMS,
|
|
MENU_RECEIVE_ITEMS,
|
|
MENU_COMMUNICATION_1 = 19,
|
|
MENU_COMMUNICATION_2,
|
|
// NOTE: 0x1B - 0x22 used by Rescue Password Menu
|
|
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;
|
|
u8 unk30;
|
|
u32 unk34;
|
|
s16 unk38;
|
|
u8 unk3A;
|
|
u8 unk3B;
|
|
s32 unk3C;
|
|
};
|
|
|
|
|
|
|
|
void InitMainMenu(void);
|
|
void DeleteMainMenu(void);
|
|
void SetUpMenu(void);
|
|
s32 UpdateMenu(void);
|
|
void CleanUpMenu(void);
|
|
bool8 sub_80363E0(void);
|
|
|
|
#endif // GUARD_MAIN_MENU_H
|