summaryrefslogtreecommitdiff
path: root/scripts/vermiliongym.asm
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/vermiliongym.asm')
-rwxr-xr-xscripts/vermiliongym.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/vermiliongym.asm b/scripts/vermiliongym.asm
index 81bd1588..3515c29c 100755
--- a/scripts/vermiliongym.asm
+++ b/scripts/vermiliongym.asm
@@ -157,14 +157,14 @@ VermilionGymText1: ; 5cb1d (17:4b1d)
ld hl, ReceivedThunderbadgeText
ld de, ReceivedThunderbadgeText
call SaveEndBattleTextPointers
- ldh a, [$8c]
+ ld a, [H_SPRITEINDEX]
ld [wSpriteIndex], a
call EngageMapTrainer
call InitBattleEnemyParameters
ld a, $3
ld [W_GYMLEADERNO], a
xor a
- ldh [$b4], a
+ ld [hJoyHeld], a
ld a, $3
ld [W_VERMILIONGYMCURSCRIPT], a
ld [W_CURMAPSCRIPT], a