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

@ -45,7 +45,7 @@ SilphCo4Script_19d5d:
ld a, [hl]
ld c, a
xor a
ld [hUnlockedSilphCoDoors], a
ldh [hUnlockedSilphCoDoors], a
pop hl
.asm_19d69
ld a, [hli]
@ -70,12 +70,12 @@ SilphCo4Script_19d5d:
ret
.asm_19d85
xor a
ld [hUnlockedSilphCoDoors], a
ldh [hUnlockedSilphCoDoors], a
ret
SilphCo4Script_19d89:
EventFlagAddress hl, EVENT_SILPH_CO_4_UNLOCKED_DOOR1
ld a, [hUnlockedSilphCoDoors]
ldh a, [hUnlockedSilphCoDoors]
and a
ret z
cp $1