summaryrefslogtreecommitdiff
path: root/scripts/PewterGym.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/PewterGym.asm')
-rwxr-xr-xscripts/PewterGym.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/PewterGym.asm b/scripts/PewterGym.asm
index cf02b141..643fe41c 100755
--- a/scripts/PewterGym.asm
+++ b/scripts/PewterGym.asm
@@ -120,7 +120,7 @@ PewterGymText1:
ld hl, PewterGymText_5c4bc
ld de, PewterGymText_5c4bc
call SaveEndBattleTextPointers
- ld a, [H_SPRITEINDEX]
+ ld a, [hSpriteIndex]
ld [wSpriteIndex], a
call EngageMapTrainer
call InitBattleEnemyParameters