diff --git a/src/game/level_update.c b/src/game/level_update.c index e0b17652..713b2a8f 100644 --- a/src/game/level_update.c +++ b/src/game/level_update.c @@ -410,7 +410,7 @@ void init_mario_after_warp(void) { } if (sWarpDest.levelNum == LEVEL_CASTLE && sWarpDest.areaIdx == 1 - && (sWarpDest.nodeId == 31 || sWarpDest.nodeId == 32) + && (sWarpDest.nodeId == 32) ) { play_sound(SOUND_MENU_MARIO_CASTLE_WARP, gGlobalSoundSource); } @@ -420,6 +420,13 @@ void init_mario_after_warp(void) { || sWarpDest.nodeId == 30)) { play_sound(SOUND_MENU_MARIO_CASTLE_WARP, gGlobalSoundSource); } +#endif +#ifndef DISABLE_EXIT_COURSE + if (sWarpDest.levelNum == EXIT_COURSE_LEVEL && sWarpDest.areaIdx == EXIT_COURSE_AREA + && sWarpDest.nodeId == EXIT_COURSE_NODE + ) { + play_sound(SOUND_MENU_MARIO_CASTLE_WARP, gGlobalSoundSource); + } #endif } }