diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2019-10-14 10:07:01 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2019-10-14 10:07:01 -0400 |
commit | 5c7081b6e748211660a0a4eb14062de5fafec038 (patch) | |
tree | 34393ab9910d458873e26a5602fe6fa1e89b02c1 | |
parent | 5a20fefab11685494cdddb8ec48e08c04400440f (diff) |
Address review comments, 2
-rw-r--r-- | include/start_menu.h | 3 | ||||
-rw-r--r-- | src/start_menu.c | 8 |
2 files changed, 7 insertions, 4 deletions
diff --git a/include/start_menu.h b/include/start_menu.h index 7d39734a4..90fe7109a 100644 --- a/include/start_menu.h +++ b/include/start_menu.h @@ -6,5 +6,8 @@ void AppendToList(u8* list, u8* pos, u8 newEntry); void Task_StartMenuHandleInput(u8 taskId); void SetUpReturnToStartMenu(void); +void ShowStartMenu(void); +void Field_AskSaveTheGame(void); +void CB2_SetUpSaveAfterLinkBattle(void); #endif // GUARD_START_MENU_H diff --git a/src/start_menu.c b/src/start_menu.c index 0043efcc0..e3854b803 100644 --- a/src/start_menu.c +++ b/src/start_menu.c @@ -332,7 +332,7 @@ static s8 DoDrawStartMenu(void) return FALSE; } -void DrawStartMenuInOneGo(void) +static void DrawStartMenuInOneGo(void) { sDrawStartMenuState[0] = 0; sDrawStartMenuState[1] = 0; @@ -620,7 +620,7 @@ void Field_AskSaveTheGame(void) CreateTask(task50_save_game, 80); } -void PrintSaveTextWithFollowupFunc(const u8 *str, bool8 (*saveDialogCB)(void)) +static void PrintSaveTextWithFollowupFunc(const u8 *str, bool8 (*saveDialogCB)(void)) { StringExpandPlaceholders(gStringVar4, str); sub_80F7768(0, TRUE); @@ -629,7 +629,7 @@ void PrintSaveTextWithFollowupFunc(const u8 *str, bool8 (*saveDialogCB)(void)) sSaveDialogCB = saveDialogCB; } -void task50_save_game(u8 taskId) +static void task50_save_game(u8 taskId) { switch (RunSaveDialogCB()) { @@ -681,7 +681,7 @@ static bool8 SaveDialog_Wait60FramesOrAButtonHeld(void) } } -bool8 SaveDialog_Wait60FramesThenCheckAButtonHeld(void) +static bool8 SaveDialog_Wait60FramesThenCheckAButtonHeld(void) { if (sSaveDialogDelay == 0) { |