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 | |
parent | 6bf6f8ded14269097d844177371bc58cf8d919fc (diff) |
Move all the menus to respective directory in src/data/menus
Diffstat (limited to 'src')
-rw-r--r-- | src/data/menus/debug_menu.h | 35 | ||||
-rw-r--r-- | src/data/menus/load_screen.h | 107 | ||||
-rw-r--r-- | src/data/menus/main_menu.h | 332 | ||||
-rw-r--r-- | src/data/menus/post_office_guide.h | 65 | ||||
-rw-r--r-- | src/data/menus/thank_you_wonder_mail.h | 104 | ||||
-rw-r--r-- | src/data/menus/wonder_mail.h | 135 | ||||
-rw-r--r-- | src/data/menus/wonder_mail_main_menu.h | 50 | ||||
-rw-r--r-- | src/data/thank_you_wonder_mail.h | 177 | ||||
-rw-r--r-- | src/data/wonder_mail_main_menu.h | 49 | ||||
-rw-r--r-- | src/debug_menu.c | 36 | ||||
-rw-r--r-- | src/items.c | 4 | ||||
-rw-r--r-- | src/load_screen.c | 108 | ||||
-rw-r--r-- | src/main_menu.c | 333 | ||||
-rw-r--r-- | src/post_office_guide.c | 67 | ||||
-rw-r--r-- | src/thank_you_wonder_mail.c | 284 | ||||
-rw-r--r-- | src/wonder_mail.c | 137 | ||||
-rw-r--r-- | src/wonder_mail_main_menu.c | 102 |
17 files changed, 1065 insertions, 1060 deletions
diff --git a/src/data/menus/debug_menu.h b/src/data/menus/debug_menu.h new file mode 100644 index 0000000..c240ec0 --- /dev/null +++ b/src/data/menus/debug_menu.h @@ -0,0 +1,35 @@ +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[]; + +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"; diff --git a/src/data/menus/load_screen.h b/src/data/menus/load_screen.h new file mode 100644 index 0000000..d4ad889 --- /dev/null +++ b/src/data/menus/load_screen.h @@ -0,0 +1,107 @@ +extern const u8 Deleted_80E7700[]; +extern const u8 Deleted_80E7718[]; +extern const u8 Deleted_80E7748[]; +extern const u8 Deleted_80E7768[]; +extern const u8 QuitAwaitingRescue_80E76D0[]; +extern const u8 IsThatOK_80E765C[]; +extern const u8 ResumeAdventure_80E769C[]; +extern const u8 ResumeQuicksave_80E7668[]; +extern const char No_80E77B4[]; +extern const char Yes_80E77B8[]; + +const struct UnkTextStruct2 gUnknown_80E75F8 = { + 0x00, 0x00, 0x00, 0x00, + 0x03, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, + 0x00, 0x00, + NULL +}; + +const struct UnkTextStruct2 gUnknown_80E7610 = { + 0x00, 0x00, 0x00, 0x00, + 0x03, 0x00, 0x00, 0x00, + 0x02, 0x00, 0x02, 0x00, + 0x1A, 0x0B, + 0x0B, 0x00, + NULL +}; + +const u8 gUnkData_80E7628[] = {0x20, 0x00, 0x00, 0x00}; + +const struct UnkTextStruct2 gUnknown_80E762C = { + 0x00, 0x00, 0x00, 0x00, + 0x03, 0x00, 0x00, 0x00, + 0x02, 0x00, 0x0F, 0x00, + 0x13, 0x03, + 0x03, 0x00, + NULL +}; + +const struct MenuItem gResumeQuicksaveMenuItems[3] = +{ + {ResumeQuicksave_80E7668, 5}, + {IsThatOK_80E765C, 5}, + {NULL, 3}, +}; + +ALIGNED(4) static const u8 IsThatOK_80E765C[] = "Is that OK?"; +ALIGNED(4) static const u8 ResumeQuicksave_80E7668[] = "Resuming from quicksave."; + +const struct MenuItem gResumeAdventureMenuItems[3] = +{ + {ResumeAdventure_80E769C, 5}, + {IsThatOK_80E765C, 5}, + {NULL, 3}, +}; + +ALIGNED(4) static const u8 ResumeAdventure_80E769C[] = "Resuming saved adventure."; + +const struct MenuItem gQuitWaitingRescueMenuItems[3] = +{ + {QuitAwaitingRescue_80E76D0, 5}, + {IsThatOK_80E765C, 5}, + {NULL, 3}, +}; + +ALIGNED(4) static const u8 QuitAwaitingRescue_80E76D0[] = "Quit awaiting rescue?"; + +const struct MenuItem gDeleteSavePromptMenuItems[3] = +{ + {Deleted_80E7718, 5}, + {Deleted_80E7700, 5}, + {NULL, 3}, +}; + +ALIGNED(4) static const u8 Deleted_80E7700[] = "deleted. Is that OK?"; +ALIGNED(4) static const u8 Deleted_80E7718[] = "Your saved data will be"; + +const struct MenuItem gDeleteSaveConfirmMenuItems[3] = +{ + {Deleted_80E7768, 5}, + {Deleted_80E7748, 5}, + {NULL, 3}, +}; + +ALIGNED(4) static const u8 Deleted_80E7748[] = "delete all of your saved data?"; +ALIGNED(4) static const u8 Deleted_80E7768[] = "Are you sure you want to"; + +const struct UnkTextStruct2 gUnknown_80E7784 = +{ + 0x00, 0x00, 0x00, 0x00, + 0x03, 0x00, 0x00, 0x00, + 0x17, 0x00, 0x0F, 0x00, + 0x05, 0x03, + 0x03, 0x00, + NULL +}; + +const struct MenuItem gLoadScreenYesNoMenu[3] = +{ + {Yes_80E77B8, 1}, + {No_80E77B4, 2}, + {NULL, 3}, +}; + +ALIGNED(4) static const char No_80E77B4[] = "No"; +ALIGNED(4) static const char Yes_80E77B8[] = "Yes"; diff --git a/src/data/menus/main_menu.h b/src/data/menus/main_menu.h new file mode 100644 index 0000000..c6b81ce --- /dev/null +++ b/src/data/menus/main_menu.h @@ -0,0 +1,332 @@ +static const char NewGame_80E5A20[]; +static const char AdventureLog_80E5A10[]; +static const char WonderMail_80E5A54[]; +static const char Continue_80E5AF0[]; +static const char DeleteSaveData_80E5ADC[]; +static const char FriendRescue_80E5ACC[]; +static const char TradeItems_80E5AC0[]; +static const char ReviveTeam_80E5C0C[]; +static const char SendItems_80E5C90[]; +static const char ReceiveItems_80E5C80[]; +static const char AwaitingRescue_80E5B7C[]; +static const u8 sUnknown_80E5CE4[]; +static const u8 sUnknown_80E5CE8[]; +static const u8 sUnknown_80E5D24[]; +static const u8 sUnknown_80E5D60[]; +static const u8 sUnknown_80E5D88[]; +static const u8 sUnknown_80E5DB8[]; +static const u8 sUnknown_80E5DCC[]; +static const u8 sUnknown_80E5E08[]; +static const u8 sUnknown_80E5E34[]; +static const u8 sUnknown_80E5EA0[]; +static const u8 sUnknown_80E5E74[]; +static const u8 sUnknown_80E5EF8[]; +static const u8 sUnknown_80E5ED4[]; +static const u8 sUnknown_80E5F58[]; +static const u8 sUnknown_80E5F34[]; +static const u8 sUnknown_80E5FB0[]; +static const u8 sUnknown_80E5F98[]; +static const u8 sUnknown_80E5FE4[]; +static const u8 sUnknown_80E6008[]; +static const u8 sUnknown_80E6048[]; +static const u8 sUnknown_80E6070[]; + +const struct UnkTextStruct2 gUnknown_80E59A8 = { + 0x00, 0x00, 0x00, 0x00, + 0x03, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, + 0x00, 0x00, + NULL +}; + +static const char main_menu_fill[] = "pksdir0"; + +const struct UnkTextStruct2 gUnknown_80E59C8 = { + 0x00, 0x00, 0x00, 0x00, + 0x03, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, + 0x00, 0x00, + NULL +}; + +const struct UnkTextStruct2 gUnknown_80E59E0 = { + 0x00, 0x00, 0x00, 0x00, + 0x03, 0x00, 0x00, 0x00, + 0x02, 0x00, 0x02, 0x00, + 0x0A, 0x03, + 0x03, 0x00, + NULL +}; + +const struct MenuItem gUnknown_80E59F8[] = +{ + {NewGame_80E5A20, MENU_NEW_GAME}, + {AdventureLog_80E5A10, MENU_ADVENTURE_LOG}, + {NULL, 0xffdd}, +}; + +static const char AdventureLog_80E5A10[] = "Adventure Log"; +static const char NewGame_80E5A20[] = "New Game"; + +const struct UnkTextStruct2 gUnknown_80E5A29 = { + 0x00, 0x00, 0x00, 0x00, + 0x03, 0x00, 0x00, 0x00, + 0x02, 0x00, 0x02, 0x00, + 0x0A, 0x02, + 0x02, 0x00, + NULL +}; + +const struct MenuItem gUnknown_80E5A44[] = +{ + {WonderMail_80E5A54, MENU_WONDER_MAIL}, + {NULL, 0xffdd}, +}; + +static const char WonderMail_80E5A54[] = "Wonder Mail"; + +const struct UnkTextStruct2 gUnknown_80E5A60 = { + 0x00, 0x00, 0x00, 0x00, + 0x03, 0x00, 0x00, 0x00, + 0x02, 0x00, 0x02, 0x00, + 0x0A, 0x08, + 0x08, 0x00, + NULL +}; + +const struct UnkTextStruct2 gUnknown_80E5A78 = { + 0x00, 0x00, 0x00, 0x00, + 0x03, 0x00, 0x00, 0x00, + 0x02, 0x00, 0x02, 0x00, + 0x0B, 0x09, + 0x09, 0x00, + NULL +}; + +const struct MenuItem gUnknown_80E5A90[] = +{ + {Continue_80E5AF0, MENU_CONTINUE}, + {DeleteSaveData_80E5ADC, MENU_DELETE_SAVE_PROMPT}, + {AdventureLog_80E5A10, MENU_ADVENTURE_LOG}, + {FriendRescue_80E5ACC, MENU_FRIEND_RESCUE}, + {TradeItems_80E5AC0, MENU_TRADE_ITEMS}, + {NULL, 0xffdd}, +}; + +static const char TradeItems_80E5AC0[] = "Trade Items"; +static const char FriendRescue_80E5ACC[] = "Friend Rescue"; +static const char DeleteSaveData_80E5ADC[] = "Delete Save Data"; +static const char Continue_80E5AF0[] = "Continue"; + +const struct MenuItem gUnknown_80E5AFC[] = +{ + {Continue_80E5AF0, MENU_CONTINUE}, + {DeleteSaveData_80E5ADC, MENU_DELETE_SAVE_PROMPT}, + {AdventureLog_80E5A10, MENU_ADVENTURE_LOG}, + {FriendRescue_80E5ACC, MENU_FRIEND_RESCUE}, + {TradeItems_80E5AC0, MENU_TRADE_ITEMS}, + {WonderMail_80E5A54, MENU_WONDER_MAIL}, + {NULL, 0xffdd}, +}; + +const struct UnkTextStruct2 gUnknown_80E5B34 = { + 0x00, 0x00, 0x00, 0x00, + 0x03, 0x00, 0x00, 0x00, + 0x02, 0x00, 0x02, 0x00, + 0x0A, 0x08, + 0x08, 0x00, + NULL +}; + +const struct MenuItem gUnknown_80E5B4C[] = +{ + {AwaitingRescue_80E5B7C, MENU_AWAITING_RESCUE}, + {DeleteSaveData_80E5ADC, MENU_DELETE_SAVE_PROMPT}, + {AdventureLog_80E5A10, MENU_ADVENTURE_LOG}, + {FriendRescue_80E5ACC, MENU_FRIEND_RESCUE}, + {TradeItems_80E5AC0, MENU_TRADE_ITEMS}, + {NULL, 0xffdd}, +}; +static const char AwaitingRescue_80E5B7C[] = "Awaiting Rescue"; + +const struct MenuItem gUnknown_80E5B8C[] = +{ + {AwaitingRescue_80E5B7C, MENU_AWAITING_RESCUE}, + {DeleteSaveData_80E5ADC, MENU_DELETE_SAVE_PROMPT}, + {AdventureLog_80E5A10, MENU_ADVENTURE_LOG}, + {FriendRescue_80E5ACC, MENU_FRIEND_RESCUE}, + {TradeItems_80E5AC0, MENU_TRADE_ITEMS}, + {WonderMail_80E5A54, MENU_WONDER_MAIL}, + {NULL, 0xffdd}, +}; + +const struct UnkTextStruct2 gUnknown_80E5BC4 = { + 0x00, 0x00, 0x00, 0x00, + 0x03, 0x00, 0x00, 0x00, + 0x02, 0x00, 0x02, 0x00, + 0x0A, 0x08, + 0x08, 0x00, + NULL +}; + +const struct MenuItem gUnknown_80E5BDC[] = +{ + {ReviveTeam_80E5C0C, MENU_CONTINUE}, + {DeleteSaveData_80E5ADC, MENU_DELETE_SAVE_PROMPT}, + {AdventureLog_80E5A10, MENU_ADVENTURE_LOG}, + {FriendRescue_80E5ACC, MENU_FRIEND_RESCUE}, + {TradeItems_80E5AC0, MENU_TRADE_ITEMS}, + {NULL, 0xffdd}, +}; +static const char ReviveTeam_80E5C0C[] = "Revive Team"; + +const struct MenuItem gUnknown_80E5C18[] = +{ + {ReviveTeam_80E5C0C, MENU_CONTINUE}, + {DeleteSaveData_80E5ADC, MENU_DELETE_SAVE_PROMPT}, + {AdventureLog_80E5A10, MENU_ADVENTURE_LOG}, + {FriendRescue_80E5ACC, MENU_FRIEND_RESCUE}, + {TradeItems_80E5AC0, MENU_TRADE_ITEMS}, + {WonderMail_80E5A54, MENU_WONDER_MAIL}, + {NULL, 0xffdd}, +}; + +const struct UnkTextStruct2 gUnknown_80E5C50 = { + 0x00, 0x00, 0x00, 0x00, + 0x03, 0x00, 0x00, 0x00, + 0x02, 0x00, 0x02, 0x00, + 0x0A, 0x03, + 0x03, 0x00, + NULL +}; + +const struct MenuItem gUnknown_80E5C68[] = +{ + {SendItems_80E5C90, MENU_SEND_ITEMS}, + {ReceiveItems_80E5C80, MENU_RECEIVE_ITEMS}, + {NULL, 0xffdd}, +}; + +static const char ReceiveItems_80E5C80[] = "Receive Items"; +static const char SendItems_80E5C90[] = "Send Items"; + +const struct MenuItem gUnknown_80E5C9C[] = +{ + {SendItems_80E5C90, -1}, + {ReceiveItems_80E5C80, MENU_RECEIVE_ITEMS}, + {NULL, 0xffdd}, +}; + +const struct UnkTextStruct2 gUnknown_80E5CB4 = { + 0x00, 0x00, 0x00, 0x00, + 0x03, 0x00, 0x00, 0x00, + 0x02, 0x00, 0x0F, 0x00, + 0x1A, 0x03, + 0x03, 0x00, + NULL +}; + +const struct MenuItem gUnknown_80E5CCC[] = +{ + {sUnknown_80E5CE8, 0xffde}, + {sUnknown_80E5CE4, 0xffde}, + {NULL, 0xffdd}, +}; + +static const u8 sUnknown_80E5CE4[] = " "; +static const u8 sUnknown_80E5CE8[] = "Start an entirely new adventure."; + +const struct MenuItem gUnknown_80E5D0C[] = +{ + {sUnknown_80E5D24, 0xffde}, + {sUnknown_80E5CE4, 0xffde}, + {NULL, 0xffdd}, +}; + +static const u8 sUnknown_80E5D24[] = "Check your career as an adventurer."; + +const struct MenuItem gUnknown_80E5D48[] = +{ + {sUnknown_80E5D88, 0xffde}, + {sUnknown_80E5D60, 0xffde}, + {NULL, 0xffdd}, +}; + +static const u8 sUnknown_80E5D60[] = _("It won{APOSTROPHE}t be in the release version."); +static const u8 sUnknown_80E5D88[] = "This is the Debug Mode."; + +const struct MenuItem gUnknown_80E5DA0[] = +{ + {sUnknown_80E5DCC, 0xffde}, + {sUnknown_80E5DB8, 0xffde}, + {NULL, 0xffdd}, +}; + +static const u8 sUnknown_80E5DB8[] = "you last saved. "; +static const u8 sUnknown_80E5DCC[] = "Resume your adventure from where"; + +const struct MenuItem gUnknown_80E5DF0[] = { + {sUnknown_80E5E34, 0xFFDE}, + {sUnknown_80E5E08, 0xFFDE}, + {0, 0xFFDD} +}; + +static const u8 sUnknown_80E5E08[] = _("#C2Beware#R! This will delete it forever!"); +static const u8 sUnknown_80E5E34[] = "This will delete your saved game data."; + +const struct MenuItem gUnknown_80E5E5C[] = { + {sUnknown_80E5EA0, 0xFFDE}, + {sUnknown_80E5E74, 0xFFDE}, + {0, 0xFFDD} +}; + +ALIGNED(4) static const u8 sUnknown_80E5E74[] = _("passwords{COMMA} friends may rescue each other."); +static const u8 sUnknown_80E5EA0[] = "Using a Game Link cable or"; + +const struct MenuItem gUnknown_80E5EBC[] = { + {sUnknown_80E5EF8, 0xFFDE}, + {sUnknown_80E5ED4, 0xFFDE}, + {0, 0xFFDD} +}; + +static const u8 sUnknown_80E5ED4[] = "trade stored items with a friend."; +ALIGNED(4) static const u8 sUnknown_80E5EF8[] = _("Using a Game Link cable{COMMA} you can"); + +const struct MenuItem gUnknown_80E5F1C[] = { + {sUnknown_80E5F58, 0xFFDE}, + {sUnknown_80E5F34, 0xFFDE}, + {0, 0xFFDD} +}; + +static const u8 sUnknown_80E5F34[] = "You can give up waiting for rescue."; +static const u8 sUnknown_80E5F58[] = "You are awaiting rescue by a friend."; + +const struct MenuItem gUnknown_80E5F80[] = { + {sUnknown_80E5FB0, 0xFFDE}, + {sUnknown_80E5F98, 0xFFDE}, + {0, 0xFFDD} +}; + +static const u8 sUnknown_80E5F98[] = "receive Wonder Mail."; +ALIGNED(4) static const u8 sUnknown_80E5FB0[] = _("Using passwords{COMMA} you can"); + +const struct MenuItem gUnknown_80E5FCC[] = { + {sUnknown_80E6008, 0xFFDE}, + {sUnknown_80E5FE4, 0xFFDE}, + {NULL, 0xFFDD} +}; + +static const u8 sUnknown_80E5FE4[] = "receive teams from your friends."; +ALIGNED(4) static const u8 sUnknown_80E6008[] = _("Using the Dual Slot function{COMMA} you can"); + +const struct MenuItem gUnknown_80E6030[] = { + {sUnknown_80E6070, 0xFFDE}, + {sUnknown_80E6048, 0xFFDE}, + {NULL, 0xFFDD} +}; + +static const u8 sUnknown_80E6048[] = "go on an adventure to unknown worlds."; +ALIGNED(4) static const u8 sUnknown_80E6070[] = _("Using wireless communication{COMMA} you can"); +static const u8 sMainMenu_fill0[] = "pksdir0"; diff --git a/src/data/menus/post_office_guide.h b/src/data/menus/post_office_guide.h new file mode 100644 index 0000000..badb08e --- /dev/null +++ b/src/data/menus/post_office_guide.h @@ -0,0 +1,65 @@ +const struct MenuItem gPostOfficeHelpStartMenu[] = +{ + {PostOffice_Text, POST_OFFICE}, + {BulletinBoard_Text, BULLETIN_BOARD}, + {Delivery_Text, DELIVERY}, + {FriendRescue_80E0A80, FRIEND_RESCUE}, + {Cancel_80E0A78, CANCEL}, + {NULL, EXIT} +}; + +ALIGNED(4) const char Cancel_80E0A78[] = _("Cancel"); +ALIGNED(4) const char FriendRescue_80E0A80[] = _("{COLOR_1 YELLOW}Friend Rescue{END_COLOR_TEXT_1} "); +ALIGNED(4) const char Delivery_Text[] = _("Delivery"); +ALIGNED(4) const char BulletinBoard_Text[] = _("Bulletin Board"); +ALIGNED(4) const char PostOffice_Text[] = _("Post Office"); + +const struct MenuItem gPostOfficeHelpFriendRescueMenu[] = +{ + {FriendRescueInfo_Text, FRIEND_RESCUE_INFO}, + {GoRescue_Text, GO_RESCUE}, + {GetHelp_Text, GET_HELP_MENU}, + {DeletingMailInfo_Text, DELETING_MAIL}, + {Exit_80EA0EC, EXIT}, + {NULL, EXIT} +}; + +ALIGNED(4) const char Exit_80EA0EC[] = _("Exit"); +ALIGNED(4) const char DeletingMailInfo_Text[] = _("Deleting Mail Info"); +ALIGNED(4) const char GetHelp_Text[] = _("{COLOR_1 YELLOW}Get help{END_COLOR_TEXT_1} "); +ALIGNED(4) const char GoRescue_Text[] = _("{COLOR_1 YELLOW}Go rescue{END_COLOR_TEXT_1} "); +ALIGNED(4) const char FriendRescueInfo_Text[] = _("Friend Rescue Info"); + + +const struct MenuItem gPostOfficeHelpGoRescueMenu[] = +{ + {RescueProcedures_Text, RESCUE_PROCEDURES}, + {ReceiveSOSMail_Text, RECEIVE_SOS_MAIL}, + {LeaveForRescue_Text, LEAVE_FOR_RESCUE}, + {SendAOKMail_Text, SEND_AOK_MAIL}, + {GetThankYouMail_Text, GET_THANK_YOU_MAIL}, + {Exit_80EA0EC, EXIT}, + {NULL, EXIT} +}; + +ALIGNED(4) const char GetThankYouMail_Text[] = _("Get Thank-You Mail"); +ALIGNED(4) const char SendAOKMail_Text[] = _("Send A-OK Mail"); +ALIGNED(4) const char LeaveForRescue_Text[] = _("Leave for Rescue"); +ALIGNED(4) const char ReceiveSOSMail_Text[] = _("Receive SOS Mail"); +ALIGNED(4) const char RescueProcedures_Text[] = _("Rescue Procedures"); + + +const struct MenuItem gPostOfficeHelpGetHelpMenu[] = +{ + {GettingHelp_Text, GETTING_HELP}, + {SendSOSMail_Text, SEND_SOS_MAIL}, + {ReceiveAOKMail_Text, RECEIVE_AOK_MAIL}, + {SendThankYouMail_Text, SEND_THANK_YOU_MAIL}, + {Exit_80EA0EC, EXIT}, + {NULL, EXIT} +}; + +ALIGNED(4) const char SendThankYouMail_Text[] = _("Send Thank-You Mail"); +ALIGNED(4) const char ReceiveAOKMail_Text[] = _("Receive A-OK Mail"); +ALIGNED(4) const char SendSOSMail_Text[] = _("Send SOS Mail"); +ALIGNED(4) const char GettingHelp_Text[] = _("Getting Help"); diff --git a/src/data/menus/thank_you_wonder_mail.h b/src/data/menus/thank_you_wonder_mail.h new file mode 100644 index 0000000..74ec7bb --- /dev/null +++ b/src/data/menus/thank_you_wonder_mail.h @@ -0,0 +1,104 @@ +extern const u8 Confirm_80DED98[]; +extern const u8 Info_80DED90[]; +extern const u8 SendThankYou_Text[]; +extern const u8 GetThankYou_Text[]; +extern const u8 Cancel_80DEDD8[]; +extern const u8 GameLinkCable_Text[]; +extern const u8 Password_Text[]; +extern const u8 Yes_80DEE5C[]; +extern const u8 No_80DEE78[]; +extern const u8 SendItem_Text[]; +extern const u8 DontSendItem_Text[]; +extern const u8 SendWOItem_Text[]; + +const struct MenuItem gUnknown_80DED78[3] = +{ + {Confirm_80DED98, 0xB}, + {Info_80DED90, 0xC}, + {NULL, 0x0}, +}; + +ALIGNED(4) const u8 Info_80DED90[] = "Info"; +ALIGNED(4) const u8 Confirm_80DED98[] = "Confirm"; + +// Unused +const struct UnkTextStruct2 gUnknown_80DEDA0 = +{ + 0x00, 0x00, 0x00, 0x00, + 0x03, 0x00, 0x00, 0x00, + 0x00, 0x00, 0x00, 0x00, + 0x00, 0x00, + 0x00, 0x00, + NULL +}; + + +const struct MenuItem gThankYouMailMainMenuItems[4] = +{ + {SendThankYou_Text, 0x1}, + {GetThankYou_Text, 0x2}, + {Cancel_80DEDD8, 0x0}, + {NULL, 0x0}, +}; + +ALIGNED(4) const u8 Cancel_80DEDD8[] = "Cancel"; +ALIGNED(4) const u8 GetThankYou_Text[] = "Get Thank-You Mail"; +ALIGNED(4) const u8 SendThankYou_Text[] = "Send Thank-You Mail"; + +const struct MenuItem gUnknown_80DEE08[4] = +{ + {GameLinkCable_Text, WONDER_MAIL_GAME_LINK}, + {Password_Text, WONDER_MAIL_PASSWORD}, + {Cancel_80DEDD8, 0x0}, + {NULL, 0x0}, +}; + +ALIGNED(4) const u8 Password_Text[] = "Password"; +ALIGNED(4) const u8 GameLinkCable_Text[] = "Game Link cable"; + +const struct MenuItem gUnknown_80DEE44[3] = +{ + {Yes_80DEE5C, 0x7}, + {Cancel_80DEDD8, 0x0}, + {NULL, 0x0}, +}; + +ALIGNED(4) const u8 Yes_80DEE5C[] = "Yes"; + + +const struct MenuItem gUnknown_80DEE60[3] = +{ + {Yes_80DEE5C, 0x7}, + {No_80DEE78, 0x8}, + {NULL, 0x0}, +}; + +ALIGNED(4) const u8 No_80DEE78[] = "No"; + +const struct MenuItem gUnknown_80DEE7C[4] = +{ + {SendItem_Text, 0x9}, + {DontSendItem_Text, 0xA}, + {Cancel_80DEDD8, 0x0}, + {NULL, 0x0}, +}; + +ALIGNED(4) const u8 DontSendItem_Text[] = _("Don{APOSTROPHE}t Send Item"); +ALIGNED(4) const u8 SendItem_Text[] = "Send Item"; + +const struct MenuItem gUnknown_80DEEBC[3] = +{ + {SendWOItem_Text, 0xA}, + {Cancel_80DEDD8, 0x0}, + {NULL, 0x0}, +}; + +ALIGNED(4) const u8 SendWOItem_Text[] = "Send w/o Item"; + +const struct MenuItem gUnknown_80DEEE4[4] = +{ + {Yes_80DEE5C, 0x7}, + {No_80DEE78, 0x8}, + {Cancel_80DEDD8, 0x0}, + {NULL, 0x0}, +}; diff --git a/src/data/menus/wonder_mail.h b/src/data/menus/wonder_mail.h new file mode 100644 index 0000000..e1d1208 --- /dev/null +++ b/src/data/menus/wonder_mail.h @@ -0,0 +1,135 @@ +extern const u8 DontSendPokemon_80DDB80[]; +extern const u8 SendPokemon_80DDB98[]; +extern const u8 gWonderMailYes[]; +extern const u8 gWonderMailNo[]; +extern const u8 gWonderMailCancel[]; +extern const u8 Password_80DDB44[]; +extern const u8 GameLinkCable_80DDB50[]; +extern const u8 Confirm_80DDB1C[]; +extern const u8 Info_80DDB14[]; +extern const u8 SendWOPokemon[]; +extern const u8 gWonderMailDeleteAllMail[]; +extern const u8 gWonderMailDeleteAOKMail[]; +extern const u8 gWonderMailDeleteSOSMail[]; +extern const u8 gWonderMailCancel[]; +extern const u8 gWonderMailDeleteMail[]; +extern const u8 gWonderMailSendAOKMail[]; +extern const u8 gWonderMailLeaveForRescue[]; +extern const u8 gWonderMailReceiveSOSMail[]; + +const struct MenuItem gUnknown_80DD970[] = +{ + {gWonderMailReceiveSOSMail, 0x0}, + {gWonderMailLeaveForRescue, 0x1}, + {gWonderMailSendAOKMail, 0x2}, + {gWonderMailDeleteMail, 0x3}, + {gWonderMailCancel, 0xA}, + {NULL, 0xA} +}; + +ALIGNED(4) const u8 gWonderMailCancel[] = "Cancel"; +ALIGNED(4) const u8 gWonderMailDeleteMail[] = "Delete Mail"; +ALIGNED(4) const u8 gWonderMailSendAOKMail[] = "Send A-OK Mail"; +ALIGNED(4) const u8 gWonderMailLeaveForRescue[] = "Leave for Rescue"; +ALIGNED(4) const u8 gWonderMailReceiveSOSMail[] = "Receive SOS Mail"; + +const struct MenuItem gUnknown_80DD9EC[] = +{ + {gWonderMailDeleteSOSMail, 0x5}, + {gWonderMailDeleteAOKMail, 0x6}, + {gWonderMailDeleteAllMail, 0x7}, + {gWonderMailCancel, 0xA}, + {NULL, 0xA} +}; + +ALIGNED(4) const u8 gWonderMailDeleteAllMail[] = "Delete All Mail"; +ALIGNED(4) const u8 gWonderMailDeleteAOKMail[] = "Delete A-OK Mail"; +ALIGNED(4) const u8 gWonderMailDeleteSOSMail[] = "Delete SOS Mail"; + + +const struct MenuItem gUnknown_80DDA48[] = +{ + {gWonderMailYes, 0x8}, + {gWonderMailCancel, 0xA}, + {NULL, 0xA} +}; + +ALIGNED(4) const u8 gWonderMailYes[] = "Yes"; + +const struct MenuItem gUnknown_80DDA64[] = +{ + {gWonderMailYes, 0x8}, + {gWonderMailNo, 0x9}, + {NULL, 0xA} +}; + +ALIGNED(4) const u8 gWonderMailNo[] = "No"; + +const struct MenuItem gUnknown_80DDA80[] = +{ + {gWonderMailYes, 0x8}, + {gWonderMailNo, 0x9}, + {gWonderMailCancel, 0xA}, + {NULL, 0xA} +}; + +const struct MenuItem gUnknown_80DDAA0[] = +{ + {SendWOPokemon, 0x12}, + {gWonderMailCancel, 0xA}, + {NULL, 0xA}, +}; + +ALIGNED(4) const u8 SendWOPokemon[] = _("Send w/o Pokémon"); + +const struct UnkTextStruct2 gUnknown_80DDACC = +{ + 0x00, 0x00, 0x00, 0x00, + 0x03, 0x00, 0x00, 0x00, + 0x16, 0x00, 0x07, 0x00, + 0x06, 0x04, + 0x04, 0x00, + NULL +}; + +const struct UnkTextStruct2 gUnknown_80DDAE4 = +{ + 0x00, 0x00, 0x00, 0x00, + 0x03, 0x00, 0x00, 0x00, + 0x16, 0x00, 0x06, 0x00, + 0x06, 0x04, + 0x04, 0x00, + NULL +}; + +const struct MenuItem gUnknown_80DDAFC[] = +{ + {Confirm_80DDB1C, 0xB}, + {Info_80DDB14, 0xC}, + {NULL, 0xA}, +}; + +ALIGNED(4) const u8 Info_80DDB14[] = "Info"; +ALIGNED(4) const u8 Confirm_80DDB1C[] = "Confirm"; + +const struct MenuItem gUnknown_80DDB24[] = +{ + {GameLinkCable_80DDB50, 0xD}, + {Password_80DDB44, 0xF}, + {gWonderMailCancel, 0xA}, + {NULL, 0xA}, +}; + +ALIGNED(4) const u8 Password_80DDB44[] = "Password"; +ALIGNED(4) const u8 GameLinkCable_80DDB50[] = "Game Link cable"; + +const struct MenuItem gUnknown_80DDB60[] = +{ + {SendPokemon_80DDB98, 0x11}, + {DontSendPokemon_80DDB80, 0x12}, + {gWonderMailCancel, 0xA}, + {NULL, 0xA}, +}; + +ALIGNED(4) const u8 DontSendPokemon_80DDB80[] = _("Don{APOSTROPHE}t Send Pokémon"); +ALIGNED(4) const u8 SendPokemon_80DDB98[] = _("Send Pokémon"); diff --git a/src/data/menus/wonder_mail_main_menu.h b/src/data/menus/wonder_mail_main_menu.h new file mode 100644 index 0000000..33f4843 --- /dev/null +++ b/src/data/menus/wonder_mail_main_menu.h @@ -0,0 +1,50 @@ +extern const char Cancel_80E7D24[]; +extern const char Cancel_80E78B4[]; +extern const char Yes_80E7D2C[]; +extern const char Yes_80E7910[]; +extern const char GameLinkCable_80E78C8[]; +extern const char Password_80E78BC[]; + +extern const char Receive_80E7884[]; +extern const char Send_80E788C[]; + +const struct MenuItem gSelectWonderMailModeMainMenuItems[3] = +{ + {Send_80E788C, WONDER_MAIL_MODE_SEND}, + {Receive_80E7884, WONDER_MAIL_MODE_RECEIVE}, + {NULL, 0} +}; + +ALIGNED(4) const char Receive_80E7884[] = "Receive"; +ALIGNED(4) const char Send_80E788C[] = "Send"; + + +const struct MenuItem gSendWonderMailMainMenuItems[4] = +{ + {GameLinkCable_80E78C8, WONDER_MAIL_GAME_LINK}, + {Password_80E78BC, -1}, + {Cancel_80E78B4, 8}, + {NULL, 0} + +}; + +ALIGNED(4) const char Cancel_80E78B4[] = "Cancel"; +ALIGNED(4) const char Password_80E78BC[] = "Password"; +ALIGNED(4) const char GameLinkCable_80E78C8[] = "Game Link cable"; + +const struct MenuItem gReceiveWonderMailMainMenuItems[4] = +{ + {GameLinkCable_80E78C8, WONDER_MAIL_GAME_LINK}, + {Password_80E78BC, WONDER_MAIL_PASSWORD}, + {Cancel_80E78B4, 8}, + {NULL, 0} +}; + +const struct MenuItem gUnknown_80E78F8[3] = +{ + {Yes_80E7910, 6}, + {Cancel_80E78B4, 0}, + {NULL, 0} +}; + +ALIGNED(4) const char Yes_80E7910[] = "Yes"; diff --git a/src/data/thank_you_wonder_mail.h b/src/data/thank_you_wonder_mail.h new file mode 100644 index 0000000..a6bef4c --- /dev/null +++ b/src/data/thank_you_wonder_mail.h @@ -0,0 +1,177 @@ +ALIGNED(4) const char gUnknown_80DEF04[] = _(" ...Oh?\n" + "Something{APOSTROPHE}s gone wrong."); + +ALIGNED(4) const char gUnknown_80DEF28[] = " ...Oh? The number of linked\n" + "GBA systems is incorrect.\n" + "Please try again from the start."; + +ALIGNED(4) const u8 gUnknown_80DEF80[]= + " ...Oh? It looks like your\n" + "friend chose a different mode.\n" + "Please try again from the start."; + +ALIGNED(4) const u8 gUnknown_80DEFDC[]= + " ...Oh? It looks like your\n" + "storage space is full. Please clear some\n" + "space and try again from the start."; + +ALIGNED(4) const u8 gUnknown_80DF044[]= _( + " ...Oh?\n" + "I think you{APOSTROPHE}ve received this mail before.\n" + "You can{APOSTROPHE}t get the same mail twice."); + +ALIGNED(4) const u8 gUnknown_80DF0A0[]= _( + " ...Oh?\n" + "I don{APOSTROPHE}t think you{APOSTROPHE}re eligible to receive\n" + "this mail."); + +ALIGNED(4) const u8 gUnknown_80DF0E0[]= + " ...Oh?\n" + "There is no room to receive new mail.\n" + "Please delete some mail and try again."; + +ALIGNED(4) const u8 gUnknown_80DF138[]= _( + " ...Oh? Your friend didn{APOSTROPHE}t\n" + "follow through on their side.\n" + "Please try again from the start."); + +ALIGNED(4) const u8 gUnknown_80DF194[]= _( + " Your {COLOR_1 LIGHT_BLUE_2}Thank-You Mail{END_COLOR_TEXT_1}\n" + "has been sent."); + +ALIGNED(4) const u8 gUnknown_80DF1C0[]= + " ...Oh?\n" + "This password appears to be wrong.\n" + "Would you like to try again?"; + +ALIGNED(4) const u8 gUnknown_80DF208[]= _( + " ...Oh? This password doesn{APOSTROPHE}t\n" + "appear to be for a {COLOR_1 LIGHT_BLUE_2}Thank-You Mail{END_COLOR_TEXT_1}."); + +ALIGNED(4) const u8 gUnknown_80DF250[]= _( + ": This is the counter for\n" + "{COLOR_1 LIGHT_BLUE_2}Thank-You Mail{END_COLOR_TEXT_1}.{EXTRA_MSG}" + ": Oh{COMMA} hi{COMMA} {COLOR_1 YELLOW_5}%s{END_COLOR_TEXT_1}.\n" + "I{APOSTROPHE}ve been waiting for you. You wanted me\n" + "to process a {COLOR_1 LIGHT_BLUE_2}Thank-You Mail{END_COLOR_TEXT_1}?{EXTRA_MSG}" + ": Let me get on it right away."); + +ALIGNED(4) const u8 gUnknown_80DF304[]= _( + " Is it OK to send this\n" + "{COLOR_1 LIGHT_BLUE_2}Thank-You Mail{END_COLOR_TEXT_1}?"); + +ALIGNED(4) const u8 gUnknown_80DF330[]= _( + " Please choose the\n" + "{COLOR_1 LIGHT_BLUE_2}Thank-You Mail{END_COLOR_TEXT_1} that you want to\n" + "send to your friend."); + +ALIGNED(4) const u8 gUnknown_80DF380[]= _( + " OK. Please enter the\n" + "{COLOR_1 LIGHT_BLUE_2}Thank-You Mail password{END_COLOR_TEXT_1}."); + +ALIGNED(4) const u8 gUnknown_80DF3B4[]= _( + " Please give this password\n" + "to the friend that rescued your team.{EXTRA_MSG}" + " I also must save your\n" + "adventure."); + +ALIGNED(4) const u8 gUnknown_80DF418[]= _( + " OK{COMMA} here is your\n" + "{COLOR_1 LIGHT_BLUE_2}Thank-You Mail password{END_COLOR_TEXT_1}."); + +ALIGNED(4) const u8 gUnknown_80DF44C[]= + " I need to save your\n" + "adventure."; + +ALIGNED(4) const u8 gUnknown_80DF46C[]= _( + " There we go.\n" + "I{APOSTROPHE}m all done.{EXTRA_MSG}" + " Doesn{APOSTROPHE}t it feel great to\n" + "be appreciated for doing something good?\n" + "Please keep up your rescue work!"); + +ALIGNED(4) const u8 gUnknown_80DF4F4[]= _( + " A {COLOR_1 LIGHT_BLUE_2}Thank-You Mail{END_COLOR_TEXT_1} has\n" + "arrived from your friend for your rescue\n" + "mission."); + +ALIGNED(4) const u8 gUnknown_80DF544[]= _( + "{CENTER_ALIGN}Communicating...\n" + "{CENTER_ALIGN}Please wait with the power on.\n" + "{CENTER_ALIGN}To cancel{COMMA} press {B_BUTTON}."); + +ALIGNED(4) const u8 gUnknown_80DF594[]= _( + " There. I{APOSTROPHE}ve sent your\n" + "{COLOR_1 LIGHT_BLUE_2}Thank-You Mail{END_COLOR_TEXT_1}.\n" + "I need to save your adventure."); + +ALIGNED(4) const u8 gUnknown_80DF5E4[]= _( + " Please connect the GBA\n" + "systems with a {COLOR_1 LIGHT_BLUE_2}Game Link cable{END_COLOR_TEXT_1}.\n" + "Is your friend also ready?"); + +ALIGNED(4) const u8 gUnknown_80DF63C[]= _( + " There{COMMA} all done.\n" + "{COLOR_1 YELLOW_5}%s{END_COLOR_TEXT_1}{COMMA} I hope your friend\n" + "appreciates your sense of gratitude."); + +ALIGNED(4) const u8 gUnknown_80DF694[]= _( + " The item you{APOSTROPHE}ve chosen\n" + "here can{APOSTROPHE}t be exchanged later.\n" + "Are you certain this item is OK?"); + +ALIGNED(4) const u8 gUnknown_80DF6F0[]= _( + " I{APOSTROPHE}ve saved your adventure. "); + +ALIGNED(4) const u8 gUnknown_80DF710[]= _( + " OK{COMMA} please choose\n" + "the item to be sent."); + +ALIGNED(4) const u8 gUnknown_80DF73C[]= + " ...Oh?\n" + "Your storage space is empty.\n" + "What would you like to do?"; + +ALIGNED(4) const u8 gUnknown_80DF77C[]= _( + " Would you like to choose\n" + "a {COLOR_1 LIGHT_BLUE_2}reward item{END_COLOR_TEXT_1} from storage and\n" + "send it with your mail?"); + +ALIGNED(4) const u8 gUnknown_80DF7D4[]= _( + " ...Oh?\n" + "You{APOSTROPHE}ve already attached a {COLOR_1 LIGHT_BLUE_2}reward item{END_COLOR_TEXT_1}\n" + "to this mail.{EXTRA_MSG}" + " I{APOSTROPHE}m sorry{COMMA} but once an item\n" + "has been attached to mail{COMMA} it can{APOSTROPHE}t be\n" + "exchanged."); + +ALIGNED(4) const u8 gUnknown_80DF870[]= + " Would you like to send it\n" + "again with the item you chose before?"; + +ALIGNED(4) const u8 gUnknown_80DF8B4[]= _( + " ...Oh?\n" + "You don{APOSTROPHE}t seem to have a {COLOR_1 LIGHT_BLUE_2}Thank-You Mail{END_COLOR_TEXT_1}."); + +ALIGNED(4) const u8 gUnknown_80DF8EC[]= _( + " Hello.\n" + "I handle {COLOR_1 LIGHT_BLUE_2}Thank-You Mail{END_COLOR_TEXT_1}.\n" + "How may I serve you?"); + +ALIGNED(4) const u8 gUnknown_80DF928[]= + " May I help you with\n" + "anything else?"; + +ALIGNED(4) const u8 gUnknown_80DF94C[] = + " Please come see me\n" + "anytime."; + +ALIGNED(4) const u8 gUnknown_80DF96C[] = _( + " How would you like to send\n" + "your {COLOR_1 LIGHT_BLUE_2}Thank-You Mail{END_COLOR_TEXT_1}?"); + +ALIGNED(4) const u8 gUnknown_80DF9A4[]= _( + " How would you like to\n" + "receive your friend{APOSTROPHE}s {COLOR_1 LIGHT_BLUE_2}Thank-You Mail{END_COLOR_TEXT_1}?"); + +ALIGNED(4) const u8 thank_you_fill[] = "pksdir0"; diff --git a/src/data/wonder_mail_main_menu.h b/src/data/wonder_mail_main_menu.h new file mode 100644 index 0000000..0f90cda --- /dev/null +++ b/src/data/wonder_mail_main_menu.h @@ -0,0 +1,49 @@ +ALIGNED(4) const char gUnknown_80E7914[] = "There was a communication error."; + +ALIGNED(4) const char gUnknown_80E7938[] = "An incorrect number of GBA systems are\n" + "connected.\n" + "Please redo this process from the start."; + +ALIGNED(4) const char gUnknown_80E7994[] = "There is no response from your friend.\n" + "Please redo this process from the start."; + +ALIGNED(4) const char gUnknown_80E79E4[] = "The sender and receiver appear to be\n" + "in different modes.\n" + "Please redo the process from the start."; + +ALIGNED(4) const char gUnknown_80E7A48[] = _("There is no response from your friend.\n" + "Please make sure the sender and receiver\n" + "are ready{COMMA} then redo this from the start."); + +ALIGNED(4) const char gUnknown_80E7AC4[] = "What would you like to do?"; + +ALIGNED(4) const char gUnknown_80E7AE0[] = _("How would you like to send your\n" + "{COLOR_1 LIGHT_BLUE_2}Wonder Mail{END_COLOR_TEXT_1}?"); + +ALIGNED(4) const char gUnknown_80E7B14[] = _("How would you like to receive the\n" + "{COLOR_1 LIGHT_BLUE_2}Wonder Mail{END_COLOR_TEXT_1}?"); + +ALIGNED(4) const char gUnknown_80E7B48[] = "Your adventure will be saved."; + +ALIGNED(4) const char gUnknown_80E7B68[] = _("Your {COLOR_1 LIGHT_BLUE_2}Wonder Mail{END_COLOR_TEXT_1} was sent."); + +ALIGNED(4) const char gUnknown_80E7B88[] = _("The received {COLOR_1 LIGHT_BLUE_2}Wonder Mail{END_COLOR_TEXT_1} was\n" + "added to the {COLOR_1 LIGHT_BLUE_2}Job List{END_COLOR_TEXT_1}."); + +ALIGNED(4) const char gUnknown_80E7BC8[] = _("The {COLOR_1 LIGHT_BLUE_2}Wonder Mail{END_COLOR_TEXT_1} was refused."); + +ALIGNED(4) const char gUnknown_80E7BEC[] = _("Connect a {COLOR_1 LIGHT_BLUE_2}Game Link cable{END_COLOR_TEXT_1}.\n" + "When you and your friend are ready{COMMA}\n" + "you may communicate. "); + +ALIGNED(4) const char gUnknown_80E7C48[] = _("{CENTER_ALIGN}In communication...\n" + "{CENTER_ALIGN}Please wait with the power on.\n" + "{CENTER_ALIGN}To cancel{COMMA} press {B_BUTTON}."); + +ALIGNED(4) const char gUnknown_80E7C98[] = _("Please enter the\n" + "{COLOR_1 LIGHT_BLUE_2}Wonder Mail password{END_COLOR_TEXT_1}."); + +ALIGNED(4) const char gUnknown_80E7CC4[] = "This password is incorrect.\n" + "Would you like to enter it again?"; + +ALIGNED(4) const char wonder_mail_main_fill0[] = "pksdir0"; 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 *); diff --git a/src/items.c b/src/items.c index 526dff7..6f0e587 100644 --- a/src/items.c +++ b/src/items.c @@ -27,7 +27,7 @@ extern u8* gPtrPPD0Text; // ptr to "PP $d0 \0" extern u32 gUnknown_810A3F0[100]; extern u32 gUnknown_81097E8[4]; // some sort of lookup table (16, 18, 20, 22) extern u32 gUnknown_81097F8[4]; // some sort of lookup table (17, 19, 21, 23) -extern u32 gUnknown_810AF50[]; +extern const char *gUnknown_810AF50[]; extern u8 gUnknown_8108F64[0x3f][32]; // some sort of bit lookup table extern s16 gTypeGummiIQBoost[0x12][NUMBER_OF_GUMMIS]; extern u8 gInvalidItemIDs[0x10]; @@ -1234,7 +1234,7 @@ void SaveItemSlot(struct unkStruct_8094924 *a1, struct ItemSlot *slot) SaveIntegerBits(a1, &slot->itemIndex, 8); } -u32 sub_8091E50(u8 index) +const char *sub_8091E50(u8 index) { return gUnknown_810AF50[index]; } diff --git a/src/load_screen.c b/src/load_screen.c index 7383503..4b26c86 100644 --- a/src/load_screen.c +++ b/src/load_screen.c @@ -77,113 +77,7 @@ extern void xxx_format_string(u8 *, u8 *, u8 *, u32); extern void SetBGPaletteBufferColorArray(s32, s32); extern void sub_8007E20(s32, s32, s32, u32, u32, s32, u32); -extern const u8 Deleted_80E7700[]; -extern const u8 Deleted_80E7718[]; -extern const u8 Deleted_80E7748[]; -extern const u8 Deleted_80E7768[]; -extern const u8 QuitAwaitingRescue_80E76D0[]; -extern const u8 IsThatOK_80E765C[]; -extern const u8 ResumeAdventure_80E769C[]; -extern const u8 ResumeQuicksave_80E7668[]; -extern const char No_80E77B4[]; -extern const char Yes_80E77B8[]; - -const struct UnkTextStruct2 gUnknown_80E75F8 = { - 0x00, 0x00, 0x00, 0x00, - 0x03, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, - 0x00, 0x00, - NULL -}; - -const struct UnkTextStruct2 gUnknown_80E7610 = { - 0x00, 0x00, 0x00, 0x00, - 0x03, 0x00, 0x00, 0x00, - 0x02, 0x00, 0x02, 0x00, - 0x1A, 0x0B, - 0x0B, 0x00, - NULL -}; - -const u8 gUnkData_80E7628[] = {0x20, 0x00, 0x00, 0x00}; - -const struct UnkTextStruct2 gUnknown_80E762C = { - 0x00, 0x00, 0x00, 0x00, - 0x03, 0x00, 0x00, 0x00, - 0x02, 0x00, 0x0F, 0x00, - 0x13, 0x03, - 0x03, 0x00, - NULL -}; - -const struct MenuItem gResumeQuicksaveMenuItems[3] = -{ - {ResumeQuicksave_80E7668, 5}, - {IsThatOK_80E765C, 5}, - {NULL, 3}, -}; - -ALIGNED(4) static const u8 IsThatOK_80E765C[] = "Is that OK?"; -ALIGNED(4) static const u8 ResumeQuicksave_80E7668[] = "Resuming from quicksave."; - -const struct MenuItem gResumeAdventureMenuItems[3] = -{ - {ResumeAdventure_80E769C, 5}, - {IsThatOK_80E765C, 5}, - {NULL, 3}, -}; - -ALIGNED(4) static const u8 ResumeAdventure_80E769C[] = "Resuming saved adventure."; - -const struct MenuItem gQuitWaitingRescueMenuItems[3] = -{ - {QuitAwaitingRescue_80E76D0, 5}, - {IsThatOK_80E765C, 5}, - {NULL, 3}, -}; - -ALIGNED(4) static const u8 QuitAwaitingRescue_80E76D0[] = "Quit awaiting rescue?"; - -const struct MenuItem gDeleteSavePromptMenuItems[3] = -{ - {Deleted_80E7718, 5}, - {Deleted_80E7700, 5}, - {NULL, 3}, -}; - -ALIGNED(4) static const u8 Deleted_80E7700[] = "deleted. Is that OK?"; -ALIGNED(4) static const u8 Deleted_80E7718[] = "Your saved data will be"; - -const struct MenuItem gDeleteSaveConfirmMenuItems[3] = -{ - {Deleted_80E7768, 5}, - {Deleted_80E7748, 5}, - {NULL, 3}, -}; - -ALIGNED(4) static const u8 Deleted_80E7748[] = "delete all of your saved data?"; -ALIGNED(4) static const u8 Deleted_80E7768[] = "Are you sure you want to"; - -const struct UnkTextStruct2 gUnknown_80E7784 = -{ - 0x00, 0x00, 0x00, 0x00, - 0x03, 0x00, 0x00, 0x00, - 0x17, 0x00, 0x0F, 0x00, - 0x05, 0x03, - 0x03, 0x00, - NULL -}; - -const struct MenuItem gLoadScreenYesNoMenu[3] = -{ - {Yes_80E77B8, 1}, - {No_80E77B4, 2}, - {NULL, 3}, -}; - -ALIGNED(4) static const char No_80E77B4[] = "No"; -ALIGNED(4) static const char Yes_80E77B8[] = "Yes"; +#include "data/menus/load_screen.h" ALIGNED(4) const char gTeamHeadingText[] = "Team:"; ALIGNED(4) const char gNameHeadingText[] = "Name:"; diff --git a/src/main_menu.c b/src/main_menu.c index aa98a5d..cacae28 100644 --- a/src/main_menu.c +++ b/src/main_menu.c @@ -89,338 +89,7 @@ bool8 SetMainMenuText(); void SetMainMenuItems(); void sub_8035DA0(void); -static const char NewGame_80E5A20[]; -static const char AdventureLog_80E5A10[]; -static const char WonderMail_80E5A54[]; -static const char Continue_80E5AF0[]; -static const char DeleteSaveData_80E5ADC[]; -static const char FriendRescue_80E5ACC[]; -static const char TradeItems_80E5AC0[]; -static const char ReviveTeam_80E5C0C[]; -static const char SendItems_80E5C90[]; -static const char ReceiveItems_80E5C80[]; -static const char AwaitingRescue_80E5B7C[]; -static const u8 sUnknown_80E5CE4[]; -static const u8 sUnknown_80E5CE8[]; -static const u8 sUnknown_80E5D24[]; -static const u8 sUnknown_80E5D60[]; -static const u8 sUnknown_80E5D88[]; -static const u8 sUnknown_80E5DB8[]; -static const u8 sUnknown_80E5DCC[]; -static const u8 sUnknown_80E5E08[]; -static const u8 sUnknown_80E5E34[]; -static const u8 sUnknown_80E5EA0[]; -static const u8 sUnknown_80E5E74[]; -static const u8 sUnknown_80E5EF8[]; -static const u8 sUnknown_80E5ED4[]; -static const u8 sUnknown_80E5F58[]; -static const u8 sUnknown_80E5F34[]; -static const u8 sUnknown_80E5FB0[]; -static const u8 sUnknown_80E5F98[]; -static const u8 sUnknown_80E5FE4[]; -static const u8 sUnknown_80E6008[]; -static const u8 sUnknown_80E6048[]; -static const u8 sUnknown_80E6070[]; - -const struct UnkTextStruct2 gUnknown_80E59A8 = { - 0x00, 0x00, 0x00, 0x00, - 0x03, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, - 0x00, 0x00, - NULL -}; - -const char main_menu_fill[] = "pksdir0"; - -const struct UnkTextStruct2 gUnknown_80E59C8 = { - 0x00, 0x00, 0x00, 0x00, - 0x03, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, - 0x00, 0x00, - NULL -}; - -const struct UnkTextStruct2 gUnknown_80E59E0 = { - 0x00, 0x00, 0x00, 0x00, - 0x03, 0x00, 0x00, 0x00, - 0x02, 0x00, 0x02, 0x00, - 0x0A, 0x03, - 0x03, 0x00, - NULL -}; - -const struct MenuItem gUnknown_80E59F8[] = -{ - {NewGame_80E5A20, MENU_NEW_GAME}, - {AdventureLog_80E5A10, MENU_ADVENTURE_LOG}, - {NULL, 0xffdd}, -}; - -const char AdventureLog_80E5A10[] = "Adventure Log"; -const char NewGame_80E5A20[] = "New Game"; - -const struct UnkTextStruct2 gUnknown_80E5A29 = { - 0x00, 0x00, 0x00, 0x00, - 0x03, 0x00, 0x00, 0x00, - 0x02, 0x00, 0x02, 0x00, - 0x0A, 0x02, - 0x02, 0x00, - NULL -}; - -const struct MenuItem gUnknown_80E5A44[] = -{ - {WonderMail_80E5A54, MENU_WONDER_MAIL}, - {NULL, 0xffdd}, -}; - -const char WonderMail_80E5A54[] = "Wonder Mail"; - -const struct UnkTextStruct2 gUnknown_80E5A60 = { - 0x00, 0x00, 0x00, 0x00, - 0x03, 0x00, 0x00, 0x00, - 0x02, 0x00, 0x02, 0x00, - 0x0A, 0x08, - 0x08, 0x00, - NULL -}; - -const struct UnkTextStruct2 gUnknown_80E5A78 = { - 0x00, 0x00, 0x00, 0x00, - 0x03, 0x00, 0x00, 0x00, - 0x02, 0x00, 0x02, 0x00, - 0x0B, 0x09, - 0x09, 0x00, - NULL -}; - -const struct MenuItem gUnknown_80E5A90[] = -{ - {Continue_80E5AF0, MENU_CONTINUE}, - {DeleteSaveData_80E5ADC, MENU_DELETE_SAVE_PROMPT}, - {AdventureLog_80E5A10, MENU_ADVENTURE_LOG}, - {FriendRescue_80E5ACC, MENU_FRIEND_RESCUE}, - {TradeItems_80E5AC0, MENU_TRADE_ITEMS}, - {NULL, 0xffdd}, -}; - -static const char TradeItems_80E5AC0[] = "Trade Items"; -static const char FriendRescue_80E5ACC[] = "Friend Rescue"; -static const char DeleteSaveData_80E5ADC[] = "Delete Save Data"; -static const char Continue_80E5AF0[] = "Continue"; - -const struct MenuItem gUnknown_80E5AFC[] = -{ - {Continue_80E5AF0, MENU_CONTINUE}, - {DeleteSaveData_80E5ADC, MENU_DELETE_SAVE_PROMPT}, - {AdventureLog_80E5A10, MENU_ADVENTURE_LOG}, - {FriendRescue_80E5ACC, MENU_FRIEND_RESCUE}, - {TradeItems_80E5AC0, MENU_TRADE_ITEMS}, - {WonderMail_80E5A54, MENU_WONDER_MAIL}, - {NULL, 0xffdd}, -}; - -const struct UnkTextStruct2 gUnknown_80E5B34 = { - 0x00, 0x00, 0x00, 0x00, - 0x03, 0x00, 0x00, 0x00, - 0x02, 0x00, 0x02, 0x00, - 0x0A, 0x08, - 0x08, 0x00, - NULL -}; - -const struct MenuItem gUnknown_80E5B4C[] = -{ - {AwaitingRescue_80E5B7C, MENU_AWAITING_RESCUE}, - {DeleteSaveData_80E5ADC, MENU_DELETE_SAVE_PROMPT}, - {AdventureLog_80E5A10, MENU_ADVENTURE_LOG}, - {FriendRescue_80E5ACC, MENU_FRIEND_RESCUE}, - {TradeItems_80E5AC0, MENU_TRADE_ITEMS}, - {NULL, 0xffdd}, -}; -const char AwaitingRescue_80E5B7C[] = "Awaiting Rescue"; - -const struct MenuItem gUnknown_80E5B8C[] = -{ - {AwaitingRescue_80E5B7C, MENU_AWAITING_RESCUE}, - {DeleteSaveData_80E5ADC, MENU_DELETE_SAVE_PROMPT}, - {AdventureLog_80E5A10, MENU_ADVENTURE_LOG}, - {FriendRescue_80E5ACC, MENU_FRIEND_RESCUE}, - {TradeItems_80E5AC0, MENU_TRADE_ITEMS}, - {WonderMail_80E5A54, MENU_WONDER_MAIL}, - {NULL, 0xffdd}, -}; - -const struct UnkTextStruct2 gUnknown_80E5BC4 = { - 0x00, 0x00, 0x00, 0x00, - 0x03, 0x00, 0x00, 0x00, - 0x02, 0x00, 0x02, 0x00, - 0x0A, 0x08, - 0x08, 0x00, - NULL -}; - -const struct MenuItem gUnknown_80E5BDC[] = -{ - {ReviveTeam_80E5C0C, MENU_CONTINUE}, - {DeleteSaveData_80E5ADC, MENU_DELETE_SAVE_PROMPT}, - {AdventureLog_80E5A10, MENU_ADVENTURE_LOG}, - {FriendRescue_80E5ACC, MENU_FRIEND_RESCUE}, - {TradeItems_80E5AC0, MENU_TRADE_ITEMS}, - {NULL, 0xffdd}, -}; -const char ReviveTeam_80E5C0C[] = "Revive Team"; - -const struct MenuItem gUnknown_80E5C18[] = -{ - {ReviveTeam_80E5C0C, MENU_CONTINUE}, - {DeleteSaveData_80E5ADC, MENU_DELETE_SAVE_PROMPT}, - {AdventureLog_80E5A10, MENU_ADVENTURE_LOG}, - {FriendRescue_80E5ACC, MENU_FRIEND_RESCUE}, - {TradeItems_80E5AC0, MENU_TRADE_ITEMS}, - {WonderMail_80E5A54, MENU_WONDER_MAIL}, - {NULL, 0xffdd}, -}; - -const struct UnkTextStruct2 gUnknown_80E5C50 = { - 0x00, 0x00, 0x00, 0x00, - 0x03, 0x00, 0x00, 0x00, - 0x02, 0x00, 0x02, 0x00, - 0x0A, 0x03, - 0x03, 0x00, - NULL -}; - -const struct MenuItem gUnknown_80E5C68[] = -{ - {SendItems_80E5C90, MENU_SEND_ITEMS}, - {ReceiveItems_80E5C80, MENU_RECEIVE_ITEMS}, - {NULL, 0xffdd}, -}; - -static const char ReceiveItems_80E5C80[] = "Receive Items"; -static const char SendItems_80E5C90[] = "Send Items"; - -const struct MenuItem gUnknown_80E5C9C[] = -{ - {SendItems_80E5C90, -1}, - {ReceiveItems_80E5C80, MENU_RECEIVE_ITEMS}, - {NULL, 0xffdd}, -}; - -const struct UnkTextStruct2 gUnknown_80E5CB4 = { - 0x00, 0x00, 0x00, 0x00, - 0x03, 0x00, 0x00, 0x00, - 0x02, 0x00, 0x0F, 0x00, - 0x1A, 0x03, - 0x03, 0x00, - NULL -}; - -const struct MenuItem gUnknown_80E5CCC[] = -{ - {sUnknown_80E5CE8, 0xffde}, - {sUnknown_80E5CE4, 0xffde}, - {NULL, 0xffdd}, -}; - -static const u8 sUnknown_80E5CE4[] = " "; -static const u8 sUnknown_80E5CE8[] = "Start an entirely new adventure."; - -const struct MenuItem gUnknown_80E5D0C[] = -{ - {sUnknown_80E5D24, 0xffde}, - {sUnknown_80E5CE4, 0xffde}, - {NULL, 0xffdd}, -}; - -static const u8 sUnknown_80E5D24[] = "Check your career as an adventurer."; - -const struct MenuItem gUnknown_80E5D48[] = -{ - {sUnknown_80E5D88, 0xffde}, - {sUnknown_80E5D60, 0xffde}, - {NULL, 0xffdd}, -}; - -static const u8 sUnknown_80E5D60[] = _("It won{APOSTROPHE}t be in the release version."); -static const u8 sUnknown_80E5D88[] = "This is the Debug Mode."; - -const struct MenuItem gUnknown_80E5DA0[] = -{ - {sUnknown_80E5DCC, 0xffde}, - {sUnknown_80E5DB8, 0xffde}, - {NULL, 0xffdd}, -}; - -static const u8 sUnknown_80E5DB8[] = "you last saved. "; -static const u8 sUnknown_80E5DCC[] = "Resume your adventure from where"; - -const struct MenuItem gUnknown_80E5DF0[] = { - {sUnknown_80E5E34, 0xFFDE}, - {sUnknown_80E5E08, 0xFFDE}, - {0, 0xFFDD} -}; - -static const u8 sUnknown_80E5E08[] = _("#C2Beware#R! This will delete it forever!"); -static const u8 sUnknown_80E5E34[] = "This will delete your saved game data."; - -const struct MenuItem gUnknown_80E5E5C[] = { - {sUnknown_80E5EA0, 0xFFDE}, - {sUnknown_80E5E74, 0xFFDE}, - {0, 0xFFDD} -}; - -ALIGNED(4) static const u8 sUnknown_80E5E74[] = _("passwords{COMMA} friends may rescue each other."); -static const u8 sUnknown_80E5EA0[] = "Using a Game Link cable or"; - -const struct MenuItem gUnknown_80E5EBC[] = { - {sUnknown_80E5EF8, 0xFFDE}, - {sUnknown_80E5ED4, 0xFFDE}, - {0, 0xFFDD} -}; - -static const u8 sUnknown_80E5ED4[] = "trade stored items with a friend."; -ALIGNED(4) static const u8 sUnknown_80E5EF8[] = _("Using a Game Link cable{COMMA} you can"); - -const struct MenuItem gUnknown_80E5F1C[] = { - {sUnknown_80E5F58, 0xFFDE}, - {sUnknown_80E5F34, 0xFFDE}, - {0, 0xFFDD} -}; - -static const u8 sUnknown_80E5F34[] = "You can give up waiting for rescue."; -static const u8 sUnknown_80E5F58[] = "You are awaiting rescue by a friend."; - -const struct MenuItem gUnknown_80E5F80[] = { - {sUnknown_80E5FB0, 0xFFDE}, - {sUnknown_80E5F98, 0xFFDE}, - {0, 0xFFDD} -}; - -static const u8 sUnknown_80E5F98[] = "receive Wonder Mail."; -ALIGNED(4) static const u8 sUnknown_80E5FB0[] = _("Using passwords{COMMA} you can"); - -const struct MenuItem gUnknown_80E5FCC[] = { - {sUnknown_80E6008, 0xFFDE}, - {sUnknown_80E5FE4, 0xFFDE}, - {NULL, 0xFFDD} -}; - -static const u8 sUnknown_80E5FE4[] = "receive teams from your friends."; -ALIGNED(4) static const u8 sUnknown_80E6008[] = _("Using the Dual Slot function{COMMA} you can"); - -const struct MenuItem gUnknown_80E6030[] = { - {sUnknown_80E6070, 0xFFDE}, - {sUnknown_80E6048, 0xFFDE}, - {NULL, 0xFFDD} -}; - -static const u8 sUnknown_80E6048[] = "go on an adventure to unknown worlds."; -ALIGNED(4) static const u8 sUnknown_80E6070[] = _("Using wireless communication{COMMA} you can"); -static const u8 sMainMenu_fill0[] = "pksdir0"; +#include "data/menus/main_menu.h" void InitMainMenu(void) { diff --git a/src/post_office_guide.c b/src/post_office_guide.c index 63470f5..806a2a2 100644 --- a/src/post_office_guide.c +++ b/src/post_office_guide.c @@ -98,72 +98,7 @@ enum PostOfficeMenuActions SEND_THANK_YOU_MAIL }; -const struct MenuItem gPostOfficeHelpStartMenu[] = -{ - {PostOffice_Text, POST_OFFICE}, - {BulletinBoard_Text, BULLETIN_BOARD}, - {Delivery_Text, DELIVERY}, - {FriendRescue_80E0A80, FRIEND_RESCUE}, - {Cancel_80E0A78, CANCEL}, - {NULL, EXIT} -}; - -ALIGNED(4) const char Cancel_80E0A78[] = _("Cancel"); -ALIGNED(4) const char FriendRescue_80E0A80[] = _("{COLOR_1 YELLOW}Friend Rescue{END_COLOR_TEXT_1} "); -ALIGNED(4) const char Delivery_Text[] = _("Delivery"); -ALIGNED(4) const char BulletinBoard_Text[] = _("Bulletin Board"); -ALIGNED(4) const char PostOffice_Text[] = _("Post Office"); - -const struct MenuItem gPostOfficeHelpFriendRescueMenu[] = -{ - {FriendRescueInfo_Text, FRIEND_RESCUE_INFO}, - {GoRescue_Text, GO_RESCUE}, - {GetHelp_Text, GET_HELP_MENU}, - {DeletingMailInfo_Text, DELETING_MAIL}, - {Exit_80EA0EC, EXIT}, - {NULL, EXIT} -}; - -ALIGNED(4) const char Exit_80EA0EC[] = _("Exit"); -ALIGNED(4) const char DeletingMailInfo_Text[] = _("Deleting Mail Info"); -ALIGNED(4) const char GetHelp_Text[] = _("{COLOR_1 YELLOW}Get help{END_COLOR_TEXT_1} "); -ALIGNED(4) const char GoRescue_Text[] = _("{COLOR_1 YELLOW}Go rescue{END_COLOR_TEXT_1} "); -ALIGNED(4) const char FriendRescueInfo_Text[] = _("Friend Rescue Info"); - - -const struct MenuItem gPostOfficeHelpGoRescueMenu[] = -{ - {RescueProcedures_Text, RESCUE_PROCEDURES}, - {ReceiveSOSMail_Text, RECEIVE_SOS_MAIL}, - {LeaveForRescue_Text, LEAVE_FOR_RESCUE}, - {SendAOKMail_Text, SEND_AOK_MAIL}, - {GetThankYouMail_Text, GET_THANK_YOU_MAIL}, - {Exit_80EA0EC, EXIT}, - {NULL, EXIT} -}; - -ALIGNED(4) const char GetThankYouMail_Text[] = _("Get Thank-You Mail"); -ALIGNED(4) const char SendAOKMail_Text[] = _("Send A-OK Mail"); -ALIGNED(4) const char LeaveForRescue_Text[] = _("Leave for Rescue"); -ALIGNED(4) const char ReceiveSOSMail_Text[] = _("Receive SOS Mail"); -ALIGNED(4) const char RescueProcedures_Text[] = _("Rescue Procedures"); - - -const struct MenuItem gPostOfficeHelpGetHelpMenu[] = -{ - {GettingHelp_Text, GETTING_HELP}, - {SendSOSMail_Text, SEND_SOS_MAIL}, - {ReceiveAOKMail_Text, RECEIVE_AOK_MAIL}, - {SendThankYouMail_Text, SEND_THANK_YOU_MAIL}, - {Exit_80EA0EC, EXIT}, - {NULL, EXIT} -}; - -ALIGNED(4) const char SendThankYouMail_Text[] = _("Send Thank-You Mail"); -ALIGNED(4) const char ReceiveAOKMail_Text[] = _("Receive A-OK Mail"); -ALIGNED(4) const char SendSOSMail_Text[] = _("Send SOS Mail"); -ALIGNED(4) const char GettingHelp_Text[] = _("Getting Help"); - +#include "data/menus/post_office_guide.h" #include "data/pelipper_help_guide_dialogue.h" ALIGNED(4) const u8 wonder_mail_fill[] = _("pksdir0"); diff --git a/src/thank_you_wonder_mail.c b/src/thank_you_wonder_mail.c index 22e1467..ba14515 100644 --- a/src/thank_you_wonder_mail.c +++ b/src/thank_you_wonder_mail.c @@ -69,288 +69,8 @@ const struct UnkTextStruct2 gUnknown_80DED60 = NULL }; -extern const u8 Confirm_80DED98[]; -extern const u8 Info_80DED90[]; -extern const u8 SendThankYou_Text[]; -extern const u8 GetThankYou_Text[]; -extern const u8 Cancel_80DEDD8[]; -extern const u8 GameLinkCable_Text[]; -extern const u8 Password_Text[]; -extern const u8 Yes_80DEE5C[]; -extern const u8 No_80DEE78[]; -extern const u8 SendItem_Text[]; -extern const u8 DontSendItem_Text[]; -extern const u8 SendWOItem_Text[]; - -const struct MenuItem gUnknown_80DED78[3] = -{ - {Confirm_80DED98, 0xB}, - {Info_80DED90, 0xC}, - {NULL, 0x0}, -}; - -ALIGNED(4) const u8 Info_80DED90[] = "Info"; -ALIGNED(4) const u8 Confirm_80DED98[] = "Confirm"; - -// Unused -const struct UnkTextStruct2 gUnknown_80DEDA0 = -{ - 0x00, 0x00, 0x00, 0x00, - 0x03, 0x00, 0x00, 0x00, - 0x00, 0x00, 0x00, 0x00, - 0x00, 0x00, - 0x00, 0x00, - NULL -}; - - -const struct MenuItem gThankYouMailMainMenuItems[4] = -{ - {SendThankYou_Text, 0x1}, - {GetThankYou_Text, 0x2}, - {Cancel_80DEDD8, 0x0}, - {NULL, 0x0}, -}; - -ALIGNED(4) const u8 Cancel_80DEDD8[] = "Cancel"; -ALIGNED(4) const u8 GetThankYou_Text[] = "Get Thank-You Mail"; -ALIGNED(4) const u8 SendThankYou_Text[] = "Send Thank-You Mail"; - -const struct MenuItem gUnknown_80DEE08[4] = -{ - {GameLinkCable_Text, WONDER_MAIL_GAME_LINK}, - {Password_Text, WONDER_MAIL_PASSWORD}, - {Cancel_80DEDD8, 0x0}, - {NULL, 0x0}, -}; - -ALIGNED(4) const u8 Password_Text[] = "Password"; -ALIGNED(4) const u8 GameLinkCable_Text[] = "Game Link cable"; - -const struct MenuItem gUnknown_80DEE44[3] = -{ - {Yes_80DEE5C, 0x7}, - {Cancel_80DEDD8, 0x0}, - {NULL, 0x0}, -}; - -ALIGNED(4) const u8 Yes_80DEE5C[] = "Yes"; - - -const struct MenuItem gUnknown_80DEE60[3] = -{ - {Yes_80DEE5C, 0x7}, - {No_80DEE78, 0x8}, - {NULL, 0x0}, -}; - -ALIGNED(4) const u8 No_80DEE78[] = "No"; - -const struct MenuItem gUnknown_80DEE7C[4] = -{ - {SendItem_Text, 0x9}, - {DontSendItem_Text, 0xA}, - {Cancel_80DEDD8, 0x0}, - {NULL, 0x0}, -}; - -ALIGNED(4) const u8 DontSendItem_Text[] = _("Don{APOSTROPHE}t Send Item"); -ALIGNED(4) const u8 SendItem_Text[] = "Send Item"; - -const struct MenuItem gUnknown_80DEEBC[3] = -{ - {SendWOItem_Text, 0xA}, - {Cancel_80DEDD8, 0x0}, - {NULL, 0x0}, -}; - -ALIGNED(4) const u8 SendWOItem_Text[] = "Send w/o Item"; - -const struct MenuItem gUnknown_80DEEE4[4] = -{ - {Yes_80DEE5C, 0x7}, - {No_80DEE78, 0x8}, - {Cancel_80DEDD8, 0x0}, - {NULL, 0x0}, -}; - -ALIGNED(4) const char gUnknown_80DEF04[] = _(" ...Oh?\n" - "Something{APOSTROPHE}s gone wrong."); - -ALIGNED(4) const char gUnknown_80DEF28[] = " ...Oh? The number of linked\n" - "GBA systems is incorrect.\n" - "Please try again from the start."; - -ALIGNED(4) const u8 gUnknown_80DEF80[]= - " ...Oh? It looks like your\n" - "friend chose a different mode.\n" - "Please try again from the start."; - -ALIGNED(4) const u8 gUnknown_80DEFDC[]= - " ...Oh? It looks like your\n" - "storage space is full. Please clear some\n" - "space and try again from the start."; - -ALIGNED(4) const u8 gUnknown_80DF044[]= _( - " ...Oh?\n" - "I think you{APOSTROPHE}ve received this mail before.\n" - "You can{APOSTROPHE}t get the same mail twice."); - -ALIGNED(4) const u8 gUnknown_80DF0A0[]= _( - " ...Oh?\n" - "I don{APOSTROPHE}t think you{APOSTROPHE}re eligible to receive\n" - "this mail."); - -ALIGNED(4) const u8 gUnknown_80DF0E0[]= - " ...Oh?\n" - "There is no room to receive new mail.\n" - "Please delete some mail and try again."; - -ALIGNED(4) const u8 gUnknown_80DF138[]= _( - " ...Oh? Your friend didn{APOSTROPHE}t\n" - "follow through on their side.\n" - "Please try again from the start."); - -ALIGNED(4) const u8 gUnknown_80DF194[]= _( - " Your {COLOR_1 LIGHT_BLUE_2}Thank-You Mail{END_COLOR_TEXT_1}\n" - "has been sent."); - -ALIGNED(4) const u8 gUnknown_80DF1C0[]= - " ...Oh?\n" - "This password appears to be wrong.\n" - "Would you like to try again?"; - -ALIGNED(4) const u8 gUnknown_80DF208[]= _( - " ...Oh? This password doesn{APOSTROPHE}t\n" - "appear to be for a {COLOR_1 LIGHT_BLUE_2}Thank-You Mail{END_COLOR_TEXT_1}."); - -ALIGNED(4) const u8 gUnknown_80DF250[]= _( - ": This is the counter for\n" - "{COLOR_1 LIGHT_BLUE_2}Thank-You Mail{END_COLOR_TEXT_1}.{EXTRA_MSG}" - ": Oh{COMMA} hi{COMMA} {COLOR_1 YELLOW_5}%s{END_COLOR_TEXT_1}.\n" - "I{APOSTROPHE}ve been waiting for you. You wanted me\n" - "to process a {COLOR_1 LIGHT_BLUE_2}Thank-You Mail{END_COLOR_TEXT_1}?{EXTRA_MSG}" - ": Let me get on it right away."); - -ALIGNED(4) const u8 gUnknown_80DF304[]= _( - " Is it OK to send this\n" - "{COLOR_1 LIGHT_BLUE_2}Thank-You Mail{END_COLOR_TEXT_1}?"); - -ALIGNED(4) const u8 gUnknown_80DF330[]= _( - " Please choose the\n" - "{COLOR_1 LIGHT_BLUE_2}Thank-You Mail{END_COLOR_TEXT_1} that you want to\n" - "send to your friend."); - -ALIGNED(4) const u8 gUnknown_80DF380[]= _( - " OK. Please enter the\n" - "{COLOR_1 LIGHT_BLUE_2}Thank-You Mail password{END_COLOR_TEXT_1}."); - -ALIGNED(4) const u8 gUnknown_80DF3B4[]= _( - " Please give this password\n" - "to the friend that rescued your team.{EXTRA_MSG}" - " I also must save your\n" - "adventure."); - -ALIGNED(4) const u8 gUnknown_80DF418[]= _( - " OK{COMMA} here is your\n" - "{COLOR_1 LIGHT_BLUE_2}Thank-You Mail password{END_COLOR_TEXT_1}."); - -ALIGNED(4) const u8 gUnknown_80DF44C[]= - " I need to save your\n" - "adventure."; - -ALIGNED(4) const u8 gUnknown_80DF46C[]= _( - " There we go.\n" - "I{APOSTROPHE}m all done.{EXTRA_MSG}" - " Doesn{APOSTROPHE}t it feel great to\n" - "be appreciated for doing something good?\n" - "Please keep up your rescue work!"); - -ALIGNED(4) const u8 gUnknown_80DF4F4[]= _( - " A {COLOR_1 LIGHT_BLUE_2}Thank-You Mail{END_COLOR_TEXT_1} has\n" - "arrived from your friend for your rescue\n" - "mission."); - -ALIGNED(4) const u8 gUnknown_80DF544[]= _( - "{CENTER_ALIGN}Communicating...\n" - "{CENTER_ALIGN}Please wait with the power on.\n" - "{CENTER_ALIGN}To cancel{COMMA} press {B_BUTTON}."); - -ALIGNED(4) const u8 gUnknown_80DF594[]= _( - " There. I{APOSTROPHE}ve sent your\n" - "{COLOR_1 LIGHT_BLUE_2}Thank-You Mail{END_COLOR_TEXT_1}.\n" - "I need to save your adventure."); - -ALIGNED(4) const u8 gUnknown_80DF5E4[]= _( - " Please connect the GBA\n" - "systems with a {COLOR_1 LIGHT_BLUE_2}Game Link cable{END_COLOR_TEXT_1}.\n" - "Is your friend also ready?"); - -ALIGNED(4) const u8 gUnknown_80DF63C[]= _( - " There{COMMA} all done.\n" - "{COLOR_1 YELLOW_5}%s{END_COLOR_TEXT_1}{COMMA} I hope your friend\n" - "appreciates your sense of gratitude."); - -ALIGNED(4) const u8 gUnknown_80DF694[]= _( - " The item you{APOSTROPHE}ve chosen\n" - "here can{APOSTROPHE}t be exchanged later.\n" - "Are you certain this item is OK?"); - -ALIGNED(4) const u8 gUnknown_80DF6F0[]= _( - " I{APOSTROPHE}ve saved your adventure. "); - -ALIGNED(4) const u8 gUnknown_80DF710[]= _( - " OK{COMMA} please choose\n" - "the item to be sent."); - -ALIGNED(4) const u8 gUnknown_80DF73C[]= - " ...Oh?\n" - "Your storage space is empty.\n" - "What would you like to do?"; - -ALIGNED(4) const u8 gUnknown_80DF77C[]= _( - " Would you like to choose\n" - "a {COLOR_1 LIGHT_BLUE_2}reward item{END_COLOR_TEXT_1} from storage and\n" - "send it with your mail?"); - -ALIGNED(4) const u8 gUnknown_80DF7D4[]= _( - " ...Oh?\n" - "You{APOSTROPHE}ve already attached a {COLOR_1 LIGHT_BLUE_2}reward item{END_COLOR_TEXT_1}\n" - "to this mail.{EXTRA_MSG}" - " I{APOSTROPHE}m sorry{COMMA} but once an item\n" - "has been attached to mail{COMMA} it can{APOSTROPHE}t be\n" - "exchanged."); - -ALIGNED(4) const u8 gUnknown_80DF870[]= - " Would you like to send it\n" - "again with the item you chose before?"; - -ALIGNED(4) const u8 gUnknown_80DF8B4[]= _( - " ...Oh?\n" - "You don{APOSTROPHE}t seem to have a {COLOR_1 LIGHT_BLUE_2}Thank-You Mail{END_COLOR_TEXT_1}."); - -ALIGNED(4) const u8 gUnknown_80DF8EC[]= _( - " Hello.\n" - "I handle {COLOR_1 LIGHT_BLUE_2}Thank-You Mail{END_COLOR_TEXT_1}.\n" - "How may I serve you?"); - -ALIGNED(4) const u8 gUnknown_80DF928[]= - " May I help you with\n" - "anything else?"; - -ALIGNED(4) const u8 gUnknown_80DF94C[] = - " Please come see me\n" - "anytime."; - -ALIGNED(4) const u8 gUnknown_80DF96C[] = _( - " How would you like to send\n" - "your {COLOR_1 LIGHT_BLUE_2}Thank-You Mail{END_COLOR_TEXT_1}?"); - -ALIGNED(4) const u8 gUnknown_80DF9A4[]= _( - " How would you like to\n" - "receive your friend{APOSTROPHE}s {COLOR_1 LIGHT_BLUE_2}Thank-You Mail{END_COLOR_TEXT_1}?"); - -ALIGNED(4) const u8 thank_you_fill[] = "pksdir0"; +#include "data/menus/thank_you_wonder_mail.h" +#include "data/thank_you_wonder_mail.h" extern s32 sub_80953D4(u32); diff --git a/src/wonder_mail.c b/src/wonder_mail.c index 5883b98..0aabf2f 100644 --- a/src/wonder_mail.c +++ b/src/wonder_mail.c @@ -148,142 +148,7 @@ extern void sub_80310B4(void); extern void sub_8030DE4(void); extern void sub_802453C(void); -extern const u8 DontSendPokemon_80DDB80[]; -extern const u8 SendPokemon_80DDB98[]; -extern const u8 gWonderMailYes[]; -extern const u8 gWonderMailNo[]; -extern const u8 gWonderMailCancel[]; -extern const u8 Password_80DDB44[]; -extern const u8 GameLinkCable_80DDB50[]; -extern const u8 Confirm_80DDB1C[]; -extern const u8 Info_80DDB14[]; -extern const u8 SendWOPokemon[]; -extern const u8 gWonderMailDeleteAllMail[]; -extern const u8 gWonderMailDeleteAOKMail[]; -extern const u8 gWonderMailDeleteSOSMail[]; -extern const u8 gWonderMailCancel[]; -extern const u8 gWonderMailDeleteMail[]; -extern const u8 gWonderMailSendAOKMail[]; -extern const u8 gWonderMailLeaveForRescue[]; -extern const u8 gWonderMailReceiveSOSMail[]; - -const struct MenuItem gUnknown_80DD970[] = -{ - {gWonderMailReceiveSOSMail, 0x0}, - {gWonderMailLeaveForRescue, 0x1}, - {gWonderMailSendAOKMail, 0x2}, - {gWonderMailDeleteMail, 0x3}, - {gWonderMailCancel, 0xA}, - {NULL, 0xA} -}; - -ALIGNED(4) const u8 gWonderMailCancel[] = "Cancel"; -ALIGNED(4) const u8 gWonderMailDeleteMail[] = "Delete Mail"; -ALIGNED(4) const u8 gWonderMailSendAOKMail[] = "Send A-OK Mail"; -ALIGNED(4) const u8 gWonderMailLeaveForRescue[] = "Leave for Rescue"; -ALIGNED(4) const u8 gWonderMailReceiveSOSMail[] = "Receive SOS Mail"; - -const struct MenuItem gUnknown_80DD9EC[] = -{ - {gWonderMailDeleteSOSMail, 0x5}, - {gWonderMailDeleteAOKMail, 0x6}, - {gWonderMailDeleteAllMail, 0x7}, - {gWonderMailCancel, 0xA}, - {NULL, 0xA} -}; - -ALIGNED(4) const u8 gWonderMailDeleteAllMail[] = "Delete All Mail"; -ALIGNED(4) const u8 gWonderMailDeleteAOKMail[] = "Delete A-OK Mail"; -ALIGNED(4) const u8 gWonderMailDeleteSOSMail[] = "Delete SOS Mail"; - - -const struct MenuItem gUnknown_80DDA48[] = -{ - {gWonderMailYes, 0x8}, - {gWonderMailCancel, 0xA}, - {NULL, 0xA} -}; - -ALIGNED(4) const u8 gWonderMailYes[] = "Yes"; - -const struct MenuItem gUnknown_80DDA64[] = -{ - {gWonderMailYes, 0x8}, - {gWonderMailNo, 0x9}, - {NULL, 0xA} -}; - -ALIGNED(4) const u8 gWonderMailNo[] = "No"; - -const struct MenuItem gUnknown_80DDA80[] = -{ - {gWonderMailYes, 0x8}, - {gWonderMailNo, 0x9}, - {gWonderMailCancel, 0xA}, - {NULL, 0xA} -}; - -const struct MenuItem gUnknown_80DDAA0[] = -{ - {SendWOPokemon, 0x12}, - {gWonderMailCancel, 0xA}, - {NULL, 0xA}, -}; - -ALIGNED(4) const u8 SendWOPokemon[] = _("Send w/o Pokémon"); - -const struct UnkTextStruct2 gUnknown_80DDACC = -{ - 0x00, 0x00, 0x00, 0x00, - 0x03, 0x00, 0x00, 0x00, - 0x16, 0x00, 0x07, 0x00, - 0x06, 0x04, - 0x04, 0x00, - NULL -}; - -const struct UnkTextStruct2 gUnknown_80DDAE4 = -{ - 0x00, 0x00, 0x00, 0x00, - 0x03, 0x00, 0x00, 0x00, - 0x16, 0x00, 0x06, 0x00, - 0x06, 0x04, - 0x04, 0x00, - NULL -}; - -const struct MenuItem gUnknown_80DDAFC[] = -{ - {Confirm_80DDB1C, 0xB}, - {Info_80DDB14, 0xC}, - {NULL, 0xA}, -}; - -ALIGNED(4) const u8 Info_80DDB14[] = "Info"; -ALIGNED(4) const u8 Confirm_80DDB1C[] = "Confirm"; - -const struct MenuItem gUnknown_80DDB24[] = -{ - {GameLinkCable_80DDB50, 0xD}, - {Password_80DDB44, 0xF}, - {gWonderMailCancel, 0xA}, - {NULL, 0xA}, -}; - -ALIGNED(4) const u8 Password_80DDB44[] = "Password"; -ALIGNED(4) const u8 GameLinkCable_80DDB50[] = "Game Link cable"; - -const struct MenuItem gUnknown_80DDB60[] = -{ - {SendPokemon_80DDB98, 0x11}, - {DontSendPokemon_80DDB80, 0x12}, - {gWonderMailCancel, 0xA}, - {NULL, 0xA}, -}; - -ALIGNED(4) const u8 DontSendPokemon_80DDB80[] = _("Don{APOSTROPHE}t Send Pokémon"); -ALIGNED(4) const u8 SendPokemon_80DDB98[] = _("Send Pokémon"); - +#include "data/menus/wonder_mail.h" #include "data/wonder_mail_1.h" diff --git a/src/wonder_mail_main_menu.c b/src/wonder_mail_main_menu.c index ed6ebbe..6a6ad0f 100644 --- a/src/wonder_mail_main_menu.c +++ b/src/wonder_mail_main_menu.c @@ -24,106 +24,8 @@ #define PASSWORD_INVALID 19 #define PASSWORD_ENTRY_SCREEN 18 -extern const char Cancel_80E7D24[]; -extern const char Cancel_80E78B4[]; -extern const char Yes_80E7D2C[]; -extern const char Yes_80E7910[]; -extern const char GameLinkCable_80E78C8[]; -extern const char Password_80E78BC[]; - -extern const char Receive_80E7884[]; -extern const char Send_80E788C[]; - -const struct MenuItem gSelectWonderMailModeMainMenuItems[3] = -{ - {Send_80E788C, WONDER_MAIL_MODE_SEND}, - {Receive_80E7884, WONDER_MAIL_MODE_RECEIVE}, - {NULL, 0} -}; - -ALIGNED(4) const char Receive_80E7884[] = "Receive"; -ALIGNED(4) const char Send_80E788C[] = "Send"; - - -const struct MenuItem gSendWonderMailMainMenuItems[4] = -{ - {GameLinkCable_80E78C8, WONDER_MAIL_GAME_LINK}, - {Password_80E78BC, -1}, - {Cancel_80E78B4, 8}, - {NULL, 0} - -}; - -ALIGNED(4) const char Cancel_80E78B4[] = "Cancel"; -ALIGNED(4) const char Password_80E78BC[] = "Password"; -ALIGNED(4) const char GameLinkCable_80E78C8[] = "Game Link cable"; - -const struct MenuItem gReceiveWonderMailMainMenuItems[4] = -{ - {GameLinkCable_80E78C8, WONDER_MAIL_GAME_LINK}, - {Password_80E78BC, WONDER_MAIL_PASSWORD}, - {Cancel_80E78B4, 8}, - {NULL, 0} -}; - -const struct MenuItem gUnknown_80E78F8[3] = -{ - {Yes_80E7910, 6}, - {Cancel_80E78B4, 0}, - {NULL, 0} -}; - -ALIGNED(4) const char Yes_80E7910[] = "Yes"; - -ALIGNED(4) const char gUnknown_80E7914[] = "There was a communication error."; - -ALIGNED(4) const char gUnknown_80E7938[] = "An incorrect number of GBA systems are\n" - "connected.\n" - "Please redo this process from the start."; - -ALIGNED(4) const char gUnknown_80E7994[] = "There is no response from your friend.\n" - "Please redo this process from the start."; - -ALIGNED(4) const char gUnknown_80E79E4[] = "The sender and receiver appear to be\n" - "in different modes.\n" - "Please redo the process from the start."; - -ALIGNED(4) const char gUnknown_80E7A48[] = _("There is no response from your friend.\n" - "Please make sure the sender and receiver\n" - "are ready{COMMA} then redo this from the start."); - -ALIGNED(4) const char gUnknown_80E7AC4[] = "What would you like to do?"; - -ALIGNED(4) const char gUnknown_80E7AE0[] = _("How would you like to send your\n" - "{COLOR_1 LIGHT_BLUE_2}Wonder Mail{END_COLOR_TEXT_1}?"); - -ALIGNED(4) const char gUnknown_80E7B14[] = _("How would you like to receive the\n" - "{COLOR_1 LIGHT_BLUE_2}Wonder Mail{END_COLOR_TEXT_1}?"); - -ALIGNED(4) const char gUnknown_80E7B48[] = "Your adventure will be saved."; - -ALIGNED(4) const char gUnknown_80E7B68[] = _("Your {COLOR_1 LIGHT_BLUE_2}Wonder Mail{END_COLOR_TEXT_1} was sent."); - -ALIGNED(4) const char gUnknown_80E7B88[] = _("The received {COLOR_1 LIGHT_BLUE_2}Wonder Mail{END_COLOR_TEXT_1} was\n" - "added to the {COLOR_1 LIGHT_BLUE_2}Job List{END_COLOR_TEXT_1}."); - -ALIGNED(4) const char gUnknown_80E7BC8[] = _("The {COLOR_1 LIGHT_BLUE_2}Wonder Mail{END_COLOR_TEXT_1} was refused."); - -ALIGNED(4) const char gUnknown_80E7BEC[] = _("Connect a {COLOR_1 LIGHT_BLUE_2}Game Link cable{END_COLOR_TEXT_1}.\n" - "When you and your friend are ready{COMMA}\n" - "you may communicate. "); - -ALIGNED(4) const char gUnknown_80E7C48[] = _("{CENTER_ALIGN}In communication...\n" - "{CENTER_ALIGN}Please wait with the power on.\n" - "{CENTER_ALIGN}To cancel{COMMA} press {B_BUTTON}."); - -ALIGNED(4) const char gUnknown_80E7C98[] = _("Please enter the\n" - "{COLOR_1 LIGHT_BLUE_2}Wonder Mail password{END_COLOR_TEXT_1}."); - -ALIGNED(4) const char gUnknown_80E7CC4[] = "This password is incorrect.\n" - "Would you like to enter it again?"; - -ALIGNED(4) const char wonder_mail_main_fill0[] = "pksdir0"; +#include "data/menus/wonder_mail_main_menu.h" +#include "data/wonder_mail_main_menu.h" const struct MenuItem WonderMailMainUnused[3] = { |