summaryrefslogtreecommitdiff
path: root/scripts/pewtergym.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/pewtergym.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/pewtergym.asm')
-rwxr-xr-xscripts/pewtergym.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/pewtergym.asm b/scripts/pewtergym.asm
index 2feb9817..21d3fe74 100755
--- a/scripts/pewtergym.asm
+++ b/scripts/pewtergym.asm
@@ -31,7 +31,7 @@ PewterGymScript_5c3bf: ; 5c3bf (17:43bf)
PewterGymScriptPointers: ; 5c3ca (17:43ca)
dw CheckFightingMapTrainers
- dw Func_324c
+ dw DisplayEnemyTrainerTextAndStartBattle
dw EndTrainerBattle
dw PewterGymScript3
@@ -126,9 +126,9 @@ PewterGymText1: ; 5c44e (17:444e)
set 7, [hl]
ld hl, PewterGymText_5c4bc
ld de, PewterGymText_5c4bc
- call PreBattleSaveRegisters
+ call SaveEndBattleTextPointers
ldh a, [$8c]
- ld [wcf13], a
+ ld [wSpriteIndex], a
call EngageMapTrainer
call InitBattleEnemyParameters
ld a, $1