summaryrefslogtreecommitdiff
path: root/scripts/fightingdojo.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/fightingdojo.asm
parent8431fa7756dace97413f4c35aaa44cd92cf5b6df (diff)
No more ldh
Diffstat (limited to 'scripts/fightingdojo.asm')
-rwxr-xr-xscripts/fightingdojo.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/fightingdojo.asm b/scripts/fightingdojo.asm
index 5ba6b150..b5332fed 100755
--- a/scripts/fightingdojo.asm
+++ b/scripts/fightingdojo.asm
@@ -148,7 +148,7 @@ FightingDojoText1: ; 5ce44 (17:4e44)
ld hl, FightingDojoText_5ce93
ld de, FightingDojoText_5ce93
call SaveEndBattleTextPointers
- ldh a, [$8c]
+ ld a, [H_SPRITEINDEX]
ld [wSpriteIndex], a
call EngageMapTrainer
call InitBattleEnemyParameters