From 09e05890e51301824fd80ca501f5915aa62c20e7 Mon Sep 17 00:00:00 2001 From: xCrystal Date: Wed, 18 Oct 2023 20:29:49 +0200 Subject: [PATCH] Disable A/START/SELECT button actions while in BOARDEVENT_HANDLE_BOARD (#24) --- engine/overworld/events.asm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/engine/overworld/events.asm b/engine/overworld/events.asm index 3563769d1..e79e9ecdb 100644 --- a/engine/overworld/events.asm +++ b/engine/overworld/events.asm @@ -565,6 +565,11 @@ OWPlayerInput: and a jr nz, .NoAction +; Can't perform button actions while in BOARDEVENT_HANDLE_BOARD + ld a, [hCurBoardEvent] + cp BOARDEVENT_HANDLE_BOARD + jr z, .NoAction + ; Can't perform button actions while sliding on ice. farcall CheckStandingOnIce jr c, .NoAction