summaryrefslogtreecommitdiff
path: root/scripts/VermilionGym.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/VermilionGym.asm')
-rwxr-xr-xscripts/VermilionGym.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/VermilionGym.asm b/scripts/VermilionGym.asm
index 0af37945..1569fb55 100755
--- a/scripts/VermilionGym.asm
+++ b/scripts/VermilionGym.asm
@@ -150,7 +150,7 @@ LTSurgeText:
ld hl, ReceivedThunderbadgeText
ld de, ReceivedThunderbadgeText
call SaveEndBattleTextPointers
- ld a, [H_SPRITEINDEX]
+ ld a, [hSpriteIndex]
ld [wSpriteIndex], a
call EngageMapTrainer
call InitBattleEnemyParameters