summaryrefslogtreecommitdiff
path: root/scripts/SaffronGym.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/SaffronGym.asm')
-rwxr-xr-xscripts/SaffronGym.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/SaffronGym.asm b/scripts/SaffronGym.asm
index 0539d613..8842472c 100755
--- a/scripts/SaffronGym.asm
+++ b/scripts/SaffronGym.asm
@@ -171,7 +171,7 @@ SaffronGymText1:
ld hl, SaffronGymText_5d167
ld de, SaffronGymText_5d167
call SaveEndBattleTextPointers
- ld a, [H_SPRITEINDEX]
+ ld a, [hSpriteIndex]
ld [wSpriteIndex], a
call EngageMapTrainer
call InitBattleEnemyParameters