mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-07 08:05: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
|
|
@ -27,7 +27,7 @@ Route16Script0:
|
|||
ResetEventReuseHL EVENT_FIGHT_ROUTE16_SNORLAX
|
||||
jp z, CheckFightingMapTrainers
|
||||
ld a, $a
|
||||
ld [hSpriteIndexOrTextID], a
|
||||
ldh [hSpriteIndexOrTextID], a
|
||||
call DisplayTextID
|
||||
ld a, SNORLAX
|
||||
ld [wCurOpponent], a
|
||||
|
|
@ -51,7 +51,7 @@ Route16Script3:
|
|||
cp $2
|
||||
jr z, .asm_599a8
|
||||
ld a, $b
|
||||
ld [hSpriteIndexOrTextID], a
|
||||
ldh [hSpriteIndexOrTextID], a
|
||||
call DisplayTextID
|
||||
.asm_599a8
|
||||
SetEvent EVENT_BEAT_ROUTE16_SNORLAX
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue