diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-10-24 15:50:39 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-24 15:50:39 -0400 |
commit | ab802649218507237cd2c07e318ef65e1caca5fe (patch) | |
tree | 48104eb5c96c07611ba511f11fc56e9cce6404d6 /src/main_menu.c | |
parent | 3834cc2957b27c771c59027935b0b3a86a19b273 (diff) | |
parent | 6067aa65b4d16649785f39fc2e8ff253abb34327 (diff) |
Merge pull request #1519 from GriffinRichards/doc-mgift
Document Mystery Gift
Diffstat (limited to 'src/main_menu.c')
-rw-r--r-- | src/main_menu.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/main_menu.c b/src/main_menu.c index f6dff3d44..a74ba9ec3 100644 --- a/src/main_menu.c +++ b/src/main_menu.c @@ -35,7 +35,7 @@ #include "text_window.h" #include "title_screen.h" #include "window.h" -#include "mystery_gift.h" +#include "mystery_gift_menu.h" /* * Main menu state machine @@ -90,7 +90,7 @@ * - If the user selected New Game, advance to Task_NewGameBirchSpeech_Init. * - If the user selected Continue, advance to CB2_ContinueSavedGame. * - If the user selected the Options menu, advance to CB2_InitOptionMenu. - * - If the user selected Mystery Gift, advance to CB2_MysteryGift. However, + * - If the user selected Mystery Gift, advance to CB2_InitMysteryGift. However, * if the wireless adapter was removed, instead advance to * Task_DisplayMainMenuInvalidActionError. * - Code to start a Mystery Event is present here, but is unreachable in this @@ -1070,7 +1070,7 @@ static void Task_HandleMainMenuAPressed(u8 taskId) DestroyTask(taskId); break; case ACTION_MYSTERY_GIFT: - SetMainCallback2(c2_mystery_gift); + SetMainCallback2(CB2_InitMysteryGift); DestroyTask(taskId); break; case ACTION_MYSTERY_EVENTS: @@ -1078,7 +1078,7 @@ static void Task_HandleMainMenuAPressed(u8 taskId) DestroyTask(taskId); break; case ACTION_EREADER: - SetMainCallback2(c2_ereader); + SetMainCallback2(CB2_InitEReader); DestroyTask(taskId); break; case ACTION_INVALID: |