Added defines for exit course
This commit is contained in:
1 parent
f5a5048a73
commit
99b73fa4f6
3 files changed
+11
-1
No files matched your search
@@ -1753,7 +1753,9 @@ s16 render_pause_courses_and_castle(void) {
|
||||
#endif
|
||||
|
||||
if (gMarioStates[0].action & ACT_FLAG_PAUSE_EXIT) {
|
||||
#ifndef DISABLE_EXIT_COURSE
|
||||
render_pause_course_options(99, 93, &gDialogLineNum, 15);
|
||||
#endif
|
||||
}
|
||||
|
||||
if (gPlayer3Controller->buttonPressed & A_BUTTON
|
||||
|
||||
@@ -1041,7 +1041,7 @@ s32 play_mode_paused(void) {
|
||||
if (gDebugLevelSelect) {
|
||||
fade_into_special_warp(-9, 1);
|
||||
} else {
|
||||
initiate_warp(LEVEL_CASTLE, 1, 0x1F, 0);
|
||||
initiate_warp(EXIT_COURSE_LEVEL, EXIT_COURSE_AREA, EXIT_COURSE_NODE, 0);
|
||||
fade_into_special_warp(0, 0);
|
||||
gSavedCourseNum = COURSE_NONE;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user