summaryrefslogtreecommitdiff
path: root/data/maps/TrainerTower_1F/scripts.inc
diff options
context:
space:
mode:
authorultima-soul <akshayjhanji@hotmail.com>2020-03-13 00:32:04 -0700
committerultima-soul <akshayjhanji@hotmail.com>2020-03-13 00:32:04 -0700
commit99e4de062ae43aa978ad4f1a8cd70bc739c64c9d (patch)
tree1164d31577e6ebddc1cb313d40bb69ce0d426170 /data/maps/TrainerTower_1F/scripts.inc
parent339c2914affc3c62ac9a5725aa1a0c7ccc3161ca (diff)
parent6af8c04d8fa6aaeaeb6c8b919e7770a65b9a883d (diff)
Merge branch 'master' into event_object_movement
Diffstat (limited to 'data/maps/TrainerTower_1F/scripts.inc')
-rw-r--r--data/maps/TrainerTower_1F/scripts.inc27
1 files changed, 27 insertions, 0 deletions
diff --git a/data/maps/TrainerTower_1F/scripts.inc b/data/maps/TrainerTower_1F/scripts.inc
new file mode 100644
index 000000000..77917c4a4
--- /dev/null
+++ b/data/maps/TrainerTower_1F/scripts.inc
@@ -0,0 +1,27 @@
+TrainerTower_1F_MapScripts:: @ 81646B8
+ map_script MAP_SCRIPT_ON_RESUME, TrainerTower_OnResume
+ map_script MAP_SCRIPT_ON_TRANSITION, TrainerTower_OnTransition
+ map_script MAP_SCRIPT_ON_FRAME_TABLE, TrainerTower_OnFrame
+ .byte 0
+
+@ All Trainer Tower floors/roof share these scripts for their object events
+
+TrainerTower_EventScript_DoublesTrainer1:: @ 81646C8
+ call TrainerTower_EventScript_SpeakToDoublesTrainer1
+ end
+
+TrainerTower_EventScript_SinglesTrainer:: @ 81646CE
+ call TrainerTower_EventScript_SpeakToSinglesTrainer
+ end
+
+TrainerTower_EventScript_KnockoutTrainer:: @ 81646D4
+ call TrainerTower_EventScript_SpeakToKnockoutTrainer
+ end
+
+TrainerTower_EventScript_DoublesTrainer2:: @ 81646DA
+ call TrainerTower_EventScript_SpeakToDoublesTrainer2
+ end
+
+TrainerTower_EventScript_Owner:: @ 81646E0
+ call TrainerTower_EventScript_SpeakToOwner
+ end