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
|
|
@ -63,8 +63,8 @@ AgathaScript0:
|
|||
call ArePlayerCoordsInArray
|
||||
jp nc, CheckFightingMapTrainers
|
||||
xor a
|
||||
ld [hJoyPressed], a
|
||||
ld [hJoyHeld], a
|
||||
ldh [hJoyPressed], a
|
||||
ldh [hJoyHeld], a
|
||||
ld [wSimulatedJoypadStatesEnd], a
|
||||
ld [wSimulatedJoypadStatesIndex], a
|
||||
ld a, [wCoordIndex]
|
||||
|
|
@ -74,7 +74,7 @@ AgathaScript0:
|
|||
jr z, AgathaScriptWalkIntoRoom
|
||||
.stopPlayerFromLeaving
|
||||
ld a, $2
|
||||
ld [hSpriteIndexOrTextID], a
|
||||
ldh [hSpriteIndexOrTextID], a
|
||||
call DisplayTextID ; "Don't run away!"
|
||||
ld a, D_UP
|
||||
ld [wSimulatedJoypadStatesEnd], a
|
||||
|
|
@ -110,7 +110,7 @@ AgathaScript2:
|
|||
cp $ff
|
||||
jp z, ResetAgathaScript
|
||||
ld a, $1
|
||||
ld [hSpriteIndexOrTextID], a
|
||||
ldh [hSpriteIndexOrTextID], a
|
||||
call DisplayTextID
|
||||
ld a, $1
|
||||
ld [wChampionsRoomCurScript], a
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue