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

@@ -41,10 +41,10 @@ CheckObjectFlag:
ld e, a
ld a, [hl]
ld d, a
cp -1
cp HIGH(ALWAYS_SHOWN) ; HIGH(ALWAYS_HIDDEN)
jr nz, .check
ld a, e
cp -1
cp LOW(ALWAYS_SHOWN)
jr z, .unmasked
jr .masked
.check