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
|
|
@ -59,12 +59,12 @@ LanceScript0:
|
|||
call ArePlayerCoordsInArray
|
||||
jp nc, CheckFightingMapTrainers
|
||||
xor a
|
||||
ld [hJoyHeld], a
|
||||
ldh [hJoyHeld], a
|
||||
ld a, [wCoordIndex]
|
||||
cp $3 ; Is player standing next to Lance's sprite?
|
||||
jr nc, .notStandingNextToLance
|
||||
ld a, $1
|
||||
ld [hSpriteIndexOrTextID], a
|
||||
ldh [hSpriteIndexOrTextID], a
|
||||
jp DisplayTextID
|
||||
.notStandingNextToLance
|
||||
cp $5 ; Is player standing on the entrance staircase?
|
||||
|
|
@ -91,7 +91,7 @@ LanceScript2:
|
|||
cp $ff
|
||||
jp z, ResetLanceScript
|
||||
ld a, $1
|
||||
ld [hSpriteIndexOrTextID], a
|
||||
ldh [hSpriteIndexOrTextID], a
|
||||
jp DisplayTextID
|
||||
|
||||
WalkToLance:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue