setup: skip intro cutscene

This commit is contained in:
Leaze 2023-03-11 13:32:58 +01:00
parent a7afd1a9a5
commit 5b5e60d86a

View file

@ -1192,14 +1192,9 @@ s32 init_level(void) {
if (gCurrDemoInput != NULL) {
set_mario_action(gMarioState, ACT_IDLE, 0);
} else if (!gDebugLevelSelect) {
} else if (gDebugLevelSelect == 0) {
if (gMarioState->action != ACT_UNINITIALIZED) {
if (save_file_exists(gCurrSaveFileNum - 1)) {
set_mario_action(gMarioState, ACT_IDLE, 0);
} else {
set_mario_action(gMarioState, ACT_INTRO_CUTSCENE, 0);
val4 = TRUE;
}
set_mario_action(gMarioState, ACT_IDLE, 0);
}
}
}