Skip to content

Commit

Permalink
intro: Play the "Press start to play" audio
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-video committed Oct 23, 2020
1 parent 57c2034 commit 8fda530
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/menu/level_select_menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ int run_press_start_demo_timer(s32 timer) {
timer = (s8)((struct DemoInput *) gDemo.targetAnim)->timer;
gCurrSaveFileNum = 1;
gCurrActNum = 1;
D_U_801A7C34 = 1;
}
} else { // activity was detected, so reset the demo countdown.
gDemoCountdown = 0;
Expand Down Expand Up @@ -163,7 +164,11 @@ int intro_default(void) {

#ifndef VERSION_JP
if (D_U_801A7C34 == 1) {
play_sound(SOUND_MARIO_HELLO, gDefaultSoundArgs);
if (gGlobalTimer < 0x81) {
play_sound(SOUND_MARIO_HELLO, gDefaultSoundArgs);
} else {
play_sound(SOUND_MARIO_PRESS_START_TO_PLAY, gDefaultSoundArgs);
}
D_U_801A7C34 = 0;
}
#endif
Expand Down

0 comments on commit 8fda530

Please sign in to comment.