summaryrefslogtreecommitdiff
path: root/scripts/celadongym.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2014-09-20 00:57:27 -0400
committeryenatch <yenatch@gmail.com>2014-09-20 00:57:27 -0400
commitdff0cdeb5a2f901dc8d1a05847d09d7faf1654ad (patch)
tree3618582f76f4183b6bc22c5d4743b6d171d11128 /scripts/celadongym.asm
parent1185d69819af3493fe8ace9f576fee4b420db55e (diff)
parent2ed65d9c3e3ba60939ebe2928ffddc06a90b1876 (diff)
Merge remote-tracking branch 'YamaArashi/master'
Conflicts: constants/misc_constants.asm engine/battle/core.asm engine/menu/pokedex.asm engine/town_map.asm home.asm hram.asm
Diffstat (limited to 'scripts/celadongym.asm')
-rwxr-xr-xscripts/celadongym.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/celadongym.asm b/scripts/celadongym.asm
index 6d44175e..b1b1060c 100755
--- a/scripts/celadongym.asm
+++ b/scripts/celadongym.asm
@@ -31,7 +31,7 @@ CeladonGymText_48943: ; 48943 (12:4943)
CeladonGymScriptPointers: ; 4894e (12:494e)
dw CheckFightingMapTrainers
- dw Func_324c
+ dw DisplayEnemyTrainerTextAndStartBattle
dw EndTrainerBattle
dw CeladonGymScript3
@@ -177,9 +177,9 @@ CeladonGymText1: ; 48a11 (12:4a11)
set 7, [hl]
ld hl, CeladonGymText_48a63
ld de, CeladonGymText_48a63
- call PreBattleSaveRegisters
+ call SaveEndBattleTextPointers
ldh a, [$8c]
- ld [wcf13], a
+ ld [wSpriteIndex], a
call EngageMapTrainer
call InitBattleEnemyParameters
ld a, $4