summaryrefslogtreecommitdiff
path: root/scripts/ceruleangym.asm
diff options
context:
space:
mode:
authorU-Daniel-PC\Daniel <corrnondacqb@yahoo.com>2015-07-03 15:13:35 -0500
committerU-Daniel-PC\Daniel <corrnondacqb@yahoo.com>2015-07-03 15:13:35 -0500
commit5d9d26bd5c64a5b11021bdd46e2e0786ddef888d (patch)
treef8ee8f2d9c8042b55edb1a4761833511ab1695b1 /scripts/ceruleangym.asm
parent8431fa7756dace97413f4c35aaa44cd92cf5b6df (diff)
No more ldh
Diffstat (limited to 'scripts/ceruleangym.asm')
-rwxr-xr-xscripts/ceruleangym.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/ceruleangym.asm b/scripts/ceruleangym.asm
index 2d158e96..a6cb4c64 100755
--- a/scripts/ceruleangym.asm
+++ b/scripts/ceruleangym.asm
@@ -127,14 +127,14 @@ CeruleanGymText1: ; 5c771 (17:4771)
ld hl, CeruleanGymText_5c7d8
ld de, CeruleanGymText_5c7d8
call SaveEndBattleTextPointers
- ldh a, [$8c]
+ ld a, [H_SPRITEINDEX]
ld [wSpriteIndex], a
call EngageMapTrainer
call InitBattleEnemyParameters
ld a, $2
ld [W_GYMLEADERNO], a
xor a
- ldh [$b4], a
+ ld [hJoyHeld], a
ld a, $3
ld [W_CERULEANGYMCURSCRIPT], a
.asm_5c7bb