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

@ -19,13 +19,13 @@ Route6GateScript0:
ld a, PLAYER_DIR_RIGHT
ld [wPlayerMovingDirection], a
xor a
ld [hJoyHeld], a
ldh [hJoyHeld], a
callba RemoveGuardDrink
ld a, [hItemToRemoveID]
ldh a, [hItemToRemoveID]
and a
jr nz, .asm_1e080
ld a, $2
ld [hSpriteIndexOrTextID], a
ldh [hSpriteIndexOrTextID], a
call DisplayTextID
call Route6GateScript_1e0a1
ld a, $1
@ -35,7 +35,7 @@ Route6GateScript0:
ld hl, wd728
set 6, [hl]
ld a, $3
ld [hSpriteIndexOrTextID], a
ldh [hSpriteIndexOrTextID], a
jp DisplayTextID
CoordsData_1e08c: