aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/Route16Gate1F.asm
diff options
context:
space:
mode:
authorSylvie <35663410+Rangi42@users.noreply.github.com>2024-09-18 21:01:18 -0400
committerGitHub <noreply@github.com>2024-09-18 21:01:18 -0400
commit613d34678b7e9da1a467ec48fff23bfa75209871 (patch)
treec21669899a90df25aaac9b4b4d213ac525d6f277 /scripts/Route16Gate1F.asm
parentUse correct label in get_trainer_name.asm (#461) (diff)
downloadpokeyellow-613d34678b7e9da1a467ec48fff23bfa75209871.tar.gz
pokeyellow-613d34678b7e9da1a467ec48fff23bfa75209871.tar.xz
pokeyellow-613d34678b7e9da1a467ec48fff23bfa75209871.zip
Split `hSpriteIndexOrTextID` into `hSpriteIndex` and `hTextID` (#462)
Also identify `wPPUpCountAndMaxPP`
Diffstat (limited to 'scripts/Route16Gate1F.asm')
-rw-r--r--scripts/Route16Gate1F.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Route16Gate1F.asm b/scripts/Route16Gate1F.asm
index d42a80d4..a8bf2f0f 100644
--- a/scripts/Route16Gate1F.asm
+++ b/scripts/Route16Gate1F.asm
@@ -20,7 +20,7 @@ Route16Gate1FDefaultScript:
call ArePlayerCoordsInArray
ret nc
ld a, TEXT_ROUTE16GATE1F_GUARD_WAIT_UP
- ldh [hSpriteIndexOrTextID], a
+ ldh [hTextID], a
call DisplayTextID
xor a
ldh [hJoyHeld], a
@@ -60,7 +60,7 @@ Route16Gate1FPlayerMovingUpScript:
Route16Gate1FGuardScript:
ld a, TEXT_ROUTE16GATE1F_GUARD
- ldh [hSpriteIndexOrTextID], a
+ ldh [hTextID], a
call DisplayTextID
ld a, $1
ld [wSimulatedJoypadStatesIndex], a