mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-07 16:15:23 +13:00
Specify the ldh instruction, don't turn ld into ldh
This commit is contained in:
parent
c480632d54
commit
772fcc7588
219 changed files with 2556 additions and 2556 deletions
|
|
@ -19,10 +19,10 @@ Route16GateScript0:
|
|||
call ArePlayerCoordsInArray
|
||||
ret nc
|
||||
ld a, $3
|
||||
ld [hSpriteIndexOrTextID], a
|
||||
ldh [hSpriteIndexOrTextID], a
|
||||
call DisplayTextID
|
||||
xor a
|
||||
ld [hJoyHeld], a
|
||||
ldh [hJoyHeld], a
|
||||
ld a, [wCoordIndex]
|
||||
cp $1
|
||||
jr z, .asm_4970e
|
||||
|
|
@ -59,7 +59,7 @@ Route16GateScript1:
|
|||
|
||||
Route16GateScript2:
|
||||
ld a, $1
|
||||
ld [hSpriteIndexOrTextID], a
|
||||
ldh [hSpriteIndexOrTextID], a
|
||||
call DisplayTextID
|
||||
ld a, $1
|
||||
ld [wSimulatedJoypadStatesIndex], a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue