summaryrefslogtreecommitdiff
path: root/scripts/fightingdojo.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/fightingdojo.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/fightingdojo.asm')
-rwxr-xr-xscripts/fightingdojo.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/scripts/fightingdojo.asm b/scripts/fightingdojo.asm
index 5f244781..4a55347e 100755
--- a/scripts/fightingdojo.asm
+++ b/scripts/fightingdojo.asm
@@ -16,7 +16,7 @@ FightingDojoScript_5cd70: ; 5cd70 (17:4d70)
FightingDojoScriptPointers: ; 5cd7b (17:4d7b)
dw FightingDojoScript1
- dw Func_324c
+ dw DisplayEnemyTrainerTextAndStartBattle
dw EndTrainerBattle
dw FightingDojoScript3
@@ -48,7 +48,7 @@ FightingDojoScript1: ; 5cd83 (17:4d83)
ld [$ff8c], a
ld a, $8
ld [$ff8d], a
- call Func_34a6
+ call SetSpriteFacingDirectionAndDelay
ld a, $1
ld [$ff8c], a
call DisplayTextID
@@ -67,7 +67,7 @@ FightingDojoScript3: ; 5cdc6 (17:4dc6)
ld [$ff8c], a
ld a, $8
ld [$ff8d], a
- call Func_34a6
+ call SetSpriteFacingDirectionAndDelay
.asm_5cde4
ld a, $f0
@@ -147,9 +147,9 @@ FightingDojoText1: ; 5ce44 (17:4e44)
set 7, [hl]
ld hl, FightingDojoText_5ce93
ld de, FightingDojoText_5ce93
- call PreBattleSaveRegisters
+ call SaveEndBattleTextPointers
ldh a, [$8c]
- ld [wcf13], a
+ ld [wSpriteIndex], a
call EngageMapTrainer
call InitBattleEnemyParameters
ld a, $3