Disable A/START/SELECT button actions while in BOARDEVENT_HANDLE_BOARD (#24)

This commit is contained in:
xCrystal 2023-10-18 20:29:49 +02:00
parent 9f3c71544e
commit 09e05890e5

View File

@ -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