You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Disable A/START/SELECT button actions while in BOARDEVENT_HANDLE_BOARD (#24)
This commit is contained in:
@@ -565,6 +565,11 @@ OWPlayerInput:
|
|||||||
and a
|
and a
|
||||||
jr nz, .NoAction
|
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.
|
; Can't perform button actions while sliding on ice.
|
||||||
farcall CheckStandingOnIce
|
farcall CheckStandingOnIce
|
||||||
jr c, .NoAction
|
jr c, .NoAction
|
||||||
|
Reference in New Issue
Block a user