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

@ -15,7 +15,7 @@ VermilionCity_Script:
.setFirstLockTrashCanIndex
call Random
ld a, [hRandomSub]
ldh a, [hRandomSub]
and $e
ld [wFirstLockTrashCanIndex], a
ret
@ -45,10 +45,10 @@ VermilionCityScript0:
call ArePlayerCoordsInArray
ret nc
xor a
ld [hJoyHeld], a
ldh [hJoyHeld], a
ld [wcf0d], a
ld a, $3
ld [hSpriteIndexOrTextID], a
ldh [hSpriteIndexOrTextID], a
call DisplayTextID
CheckEvent EVENT_SS_ANNE_LEFT
jr nz, .shipHasDeparted
@ -98,7 +98,7 @@ VermilionCityScript3:
ret nz
xor a
ld [wJoyIgnore], a
ld [hJoyHeld], a
ldh [hJoyHeld], a
ld a, $0
ld [wVermilionCityCurScript], a
ret