From 9c675a6956f5fc26bc48f03a46cced24ca95544b Mon Sep 17 00:00:00 2001 From: luckytyphlosion Date: Wed, 6 May 2015 12:24:38 -0400 Subject: Update pewtergym.asm --- scripts/pewtergym.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/pewtergym.asm b/scripts/pewtergym.asm index 9f9c7c3b..8cb6696c 100755 --- a/scripts/pewtergym.asm +++ b/scripts/pewtergym.asm @@ -127,14 +127,14 @@ PewterGymText1: ; 5c44e (17:444e) ld hl, PewterGymText_5c4bc ld de, PewterGymText_5c4bc call SaveEndBattleTextPointers - ldh a, [$8c] + ld a, [H_SPRITEINDEX] ld [wSpriteIndex], a call EngageMapTrainer call InitBattleEnemyParameters ld a, $1 ld [W_GYMLEADERNO], a xor a - ldh [$b4], a + ld [hJoyHeld], a ld a, $3 ld [W_PEWTERGYMCURSCRIPT], a ld [W_CURMAPSCRIPT], a -- cgit v1.3.1-sl0p