summaryrefslogtreecommitdiff
path: root/src/load_screen.c
diff options
context:
space:
mode:
authorSeth Barberee <seth.barberee@gmail.com>2022-01-07 15:03:08 -0600
committerSeth Barberee <seth.barberee@gmail.com>2022-02-17 18:59:56 -0600
commit19decc36d0465f26de20b389e6c8bf0775862cdb (patch)
tree37e11863ef8fa05b1e863f5ad49f2f93d923cc0c /src/load_screen.c
parent6bf6f8ded14269097d844177371bc58cf8d919fc (diff)
Move all the menus to respective directory in src/data/menus
Diffstat (limited to 'src/load_screen.c')
-rw-r--r--src/load_screen.c108
1 files changed, 1 insertions, 107 deletions
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:";