Specify the ldh instruction, don't turn ld into ldh

This commit is contained in:
Rangi 2020-07-06 19:03:05 -04:00
parent c480632d54
commit 772fcc7588
219 changed files with 2556 additions and 2556 deletions

View file

@ -35,7 +35,7 @@ SilphCo8Script_56541:
ld a, [hl]
ld c, a
xor a
ld [hUnlockedSilphCoDoors], a
ldh [hUnlockedSilphCoDoors], a
pop hl
.asm_5654d
ld a, [hli]
@ -60,11 +60,11 @@ SilphCo8Script_56541:
ret
.asm_56569
xor a
ld [hUnlockedSilphCoDoors], a
ldh [hUnlockedSilphCoDoors], a
ret
SilphCo8Script_5656d:
ld a, [hUnlockedSilphCoDoors]
ldh a, [hUnlockedSilphCoDoors]
and a
ret z
SetEvent EVENT_SILPH_CO_8_UNLOCKED_DOOR