Implement Rock Smash technique (#34)

This commit is contained in:
xCrystal
2023-12-28 19:53:34 +01:00
parent 424598bbf4
commit 16ba25346c
11 changed files with 131 additions and 16 deletions

View File

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