diff options
author | Seth Barberee <seth.barberee@gmail.com> | 2021-05-23 16:19:35 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-23 16:19:35 -0500 |
commit | eaa141c612dd1689936a21bd57018a55ff686b69 (patch) | |
tree | fafe2a9a562af6a8e36716ff76a5b3e8b30d4411 /src/main_menu_1.c | |
parent | f402e46cd3c8b7236673d6edbae77903a7cc0618 (diff) |
Keep on keepin on (#38)
* end of may dump of work
* move save text to src
* decomp a little more
Diffstat (limited to 'src/main_menu_1.c')
-rw-r--r-- | src/main_menu_1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main_menu_1.c b/src/main_menu_1.c index 1879db4..5363bf9 100644 --- a/src/main_menu_1.c +++ b/src/main_menu_1.c @@ -14,7 +14,7 @@ struct unkStruct_203B34C u32 unk4; struct MenuItem *unk8; // Array of menu choices?? u8 fillC[0x30 - 0xC]; - s16 unk30; + s16 menuIndex; u8 fill32[0x144 - 0x32]; struct unkData unk144[4]; /* 0x1A4 */ u32 currMenuChoice; @@ -66,7 +66,7 @@ bool8 SetMainMenuText(void) // Have to load the pointer before the index preload = gUnknown_203B34C->unk8; - menuChoice = preload[gUnknown_203B34C->unk30].menuAction; // chosen menu action? + menuChoice = preload[gUnknown_203B34C->menuIndex].menuAction; // chosen menu action? if (gUnknown_203B34C->currMenuChoice == menuChoice) { return FALSE; } |