mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
Disable A/START/SELECT button actions while in BOARDEVENT_HANDLE_BOARD (#24)
This commit is contained in:
parent
9f3c71544e
commit
09e05890e5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user