summaryrefslogtreecommitdiff
path: root/engine/battle/trainer_scripts.asm
diff options
context:
space:
mode:
authorRemy Oukaour <remy.oukaour@gmail.com>2017-12-26 21:55:57 -0500
committerRemy Oukaour <remy.oukaour@gmail.com>2017-12-26 21:55:57 -0500
commitdae16acd6f4e2e2c177e3776be6ed549af070c4f (patch)
tree2577502f3ccc185e772ef121ba52fa3fddfd95c2 /engine/battle/trainer_scripts.asm
parent2a565f747ccb8099f4057548a6d598d538e6b991 (diff)
event/ → events/, and move some appropriate engine/ files there
Diffstat (limited to 'engine/battle/trainer_scripts.asm')
-rw-r--r--engine/battle/trainer_scripts.asm31
1 files changed, 0 insertions, 31 deletions
diff --git a/engine/battle/trainer_scripts.asm b/engine/battle/trainer_scripts.asm
deleted file mode 100644
index 212cd7f28..000000000
--- a/engine/battle/trainer_scripts.asm
+++ /dev/null
@@ -1,31 +0,0 @@
-TalkToTrainerScript:: ; 0xbe66a
- faceplayer
- trainerflagaction CHECK_FLAG
- iftrue AlreadyBeatenTrainerScript
- loadmemtrainer
- encountermusic
- jump StartBattleWithMapTrainerScript
-
-SeenByTrainerScript:: ; 0xbe675
- loadmemtrainer
- encountermusic
- showemote EMOTE_SHOCK, LAST_TALKED, 30
- callasm TrainerWalkToPlayer
- applymovement2 MovementBuffer
- writeobjectxy LAST_TALKED
- faceobject PLAYER, LAST_TALKED
- jump StartBattleWithMapTrainerScript
-
-StartBattleWithMapTrainerScript: ; 0xbe68a
- opentext
- trainertext $0
- waitbutton
- closetext
- loadmemtrainer
- startbattle
- reloadmapafterbattle
- trainerflagaction SET_FLAG
- loadvar wRunningTrainerBattleScript, -1
-
-AlreadyBeatenTrainerScript:
- scripttalkafter