From 5925d4cc0ed9c958cd9a2ec351dd2bd755eaff71 Mon Sep 17 00:00:00 2001 From: MysterD Date: Thu, 26 Oct 2023 17:07:27 -0700 Subject: [PATCH] Allow pausing in most circumstances --- src/game/level_update.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/game/level_update.c b/src/game/level_update.c index f267db6e..53de7810 100644 --- a/src/game/level_update.c +++ b/src/game/level_update.c @@ -253,12 +253,8 @@ u16 level_control_timer(s32 timerOp) { } u32 pressed_pause(void) { - u32 val4 = get_dialog_id() >= 0; - u32 intangible = (gMarioState->action & ACT_FLAG_INTANGIBLE) != 0; - - if (!intangible && !val4 && !gWarpTransition.isActive && sDelayedWarpOp == WARP_OP_NONE - && (gPlayer1Controller->buttonPressed & START_BUTTON)) { - return TRUE; + if (get_dialog_id() < 0) { + return gPlayer1Controller->buttonPressed & START_BUTTON; } return FALSE;