Rename start menu functions

This commit is contained in:
Anders Løvig 2018-03-28 21:09:27 +02:00
parent 5bc8ee6465
commit 57775a946d
8 changed files with 261 additions and 229 deletions

View File

@ -1729,7 +1729,7 @@ _080B3248:
thumb_func_start sub_80B3254
sub_80B3254: @ 80B3254
push {lr}
bl sub_809FF80
bl SaveGame
pop {r0}
bx r0
thumb_func_end sub_80B3254

View File

@ -326,7 +326,7 @@ _0809C13A:
beq _0809C15C
movs r0, 0x6
bl PlaySE
bl sub_809FA9C
bl ShowStartMenu
_0809C14E:
movs r0, 0x1
b _0809C172

View File

@ -8,7 +8,7 @@
thumb_func_start sub_80D47D4
sub_80D47D4: @ 80D47D4
push {lr}
bl sub_80A0934
bl HideStartMenu
bl ShowMapNamePopup
movs r0, 0x1
pop {r1}

View File

@ -835,7 +835,7 @@ SlateportCity_BattleTentLobby_EventScript_27134F:: @ 827134F
SootopolisCity_MysteryEventsHouse_1F_EventScript_27134F:: @ 827134F
TrainerHill_Entrance_EventScript_27134F:: @ 827134F
VerdanturfTown_BattleTentLobby_EventScript_27134F:: @ 827134F
special sub_809FF80
special SaveGame
waitstate
return

View File

@ -104,7 +104,7 @@ gSpecials:: @ 81DBA64
def_special sub_80F8D24
def_special sub_80F8C7C
def_special sub_80B3000
def_special sub_809FF80
def_special SaveGame
def_special sub_80FAFF8
def_special easy_chat_input_maybe
def_special sub_811EECC

View File

@ -5,12 +5,12 @@ extern bool8 (*gMenuCallback)(void); // Defined in sym_common.txt
void sub_809FA18(void);
void sub_809FA34(u8 taskId);
void sub_809FA9C(void);
void ShowStartMenu(void);
void sub_809FDD4(void);
void sub_809FF80(void);
void SaveGame(void);
void sub_80A0514(void);
void sub_80A08CC(void);
void sub_80A0934(void);
void HideStartMenu(void);
void AppendToList(u8* list, u8* pos, u8 newEntry);
#endif // GUARD_START_MENU_H

View File

@ -161,7 +161,7 @@ extern void FieldEffectActiveListClear(void);
extern void SetUpFieldTasks(void);
extern void sub_81BE6B8(void);
extern void sub_80AAFA4(void);
extern void sub_809FA9C(void);
extern void ShowStartMenu(void);
extern void sub_80AEE84(void);
extern void mapldr_default(void);
extern void npc_paltag_set_load(u8);
@ -2795,7 +2795,7 @@ static void sub_8087510(void)
static void sub_808751C(void)
{
PlaySE(SE_WIN_OPEN);
sub_809FA9C();
ShowStartMenu();
ScriptContext2_Enable();
}

File diff suppressed because it is too large Load Diff