You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-12-11 05:02:16 -08:00
Implement Rock Smash technique (#34)
This commit is contained in:
@@ -1007,16 +1007,14 @@ ApplyEventActionAppearDisappear:
|
||||
ld e, [hl]
|
||||
inc hl
|
||||
ld d, [hl]
|
||||
ld a, -1
|
||||
cp e
|
||||
jr nz, .okay
|
||||
ld a, HIGH(ALWAYS_SHOWN) ; HIGH(ALWAYS_HIDDEN)
|
||||
cp d
|
||||
jr nz, .okay
|
||||
xor a
|
||||
ret
|
||||
.okay
|
||||
jr z, .not_a_flag
|
||||
call EventFlagAction
|
||||
ret
|
||||
.not_a_flag
|
||||
xor a
|
||||
ret
|
||||
|
||||
Script_follow:
|
||||
call GetScriptByte
|
||||
|
||||
Reference in New Issue
Block a user