aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/Route7Gate.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Route7Gate.asm')
-rw-r--r--scripts/Route7Gate.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Route7Gate.asm b/scripts/Route7Gate.asm
index 813fab21..e599e147 100644
--- a/scripts/Route7Gate.asm
+++ b/scripts/Route7Gate.asm
@@ -38,7 +38,7 @@ Route7DefaultScript:
and a
jr nz, .have_drink
ld a, TEXT_ROUTE7GATE_GUARD_GEE_IM_THIRSTY
- ldh [hSpriteIndexOrTextID], a
+ ldh [hTextID], a
call DisplayTextID
call Route7GateMovePlayerLeftScript
ld a, SCRIPT_ROUTE7GATE_PLAYER_MOVING
@@ -46,7 +46,7 @@ Route7DefaultScript:
ret
.have_drink
ld a, TEXT_ROUTE7GATE_GUARD_GIVE_DRINK
- ldh [hSpriteIndexOrTextID], a
+ ldh [hTextID], a
call DisplayTextID
ld hl, wStatusFlags1
set BIT_GAVE_SAFFRON_GUARDS_DRINK, [hl]