summaryrefslogtreecommitdiff
path: root/data/maps/Route130/scripts.inc
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2018-07-22 13:14:58 +0200
committerDizzyEggg <jajkodizzy@wp.pl>2018-07-22 13:14:58 +0200
commit1e9143e0b22bc72cb77866e10817bc509064842a (patch)
tree87b77fdd2c19d34cb7ac10870fdc4c30188e2d70 /data/maps/Route130/scripts.inc
parentc9d486a5d3ea6bf7d256c2d7ca7f10339e498427 (diff)
parent06b3ce408f774c7192202308e783cc22bb8e7643 (diff)
merge union room with master
Diffstat (limited to 'data/maps/Route130/scripts.inc')
-rw-r--r--data/maps/Route130/scripts.inc52
1 files changed, 52 insertions, 0 deletions
diff --git a/data/maps/Route130/scripts.inc b/data/maps/Route130/scripts.inc
new file mode 100644
index 000000000..26278cf50
--- /dev/null
+++ b/data/maps/Route130/scripts.inc
@@ -0,0 +1,52 @@
+Route130_MapScripts:: @ 81F735F
+ map_script 3, Route130_MapScript1_1F7365
+ .byte 0
+
+Route130_MapScript1_1F7365: @ 81F7365
+ compare VAR_0x405E, 4
+ call_if 4, Route130_EventScript_1F73B5
+ specialvar VAR_RESULT, IsMirageIslandPresent
+ compare VAR_RESULT, 1
+ goto_eq Route130_EventScript_1F73B1
+ setflag FLAG_0x011
+ setflag FLAG_0x012
+ setflag FLAG_0x013
+ setflag FLAG_0x014
+ setflag FLAG_0x015
+ setflag FLAG_0x016
+ setflag FLAG_0x017
+ setflag FLAG_0x018
+ setflag FLAG_0x019
+ setflag FLAG_0x01A
+ setflag FLAG_0x01B
+ setflag FLAG_0x01C
+ setflag FLAG_0x01D
+ setflag FLAG_0x01E
+ setflag FLAG_0x01F
+ setmaplayoutindex 263
+ end
+
+Route130_EventScript_1F73B1:: @ 81F73B1
+ setmaplayoutindex 46
+ end
+
+Route130_EventScript_1F73B5:: @ 81F73B5
+ checkflag FLAG_SYS_WEATHER_CTRL
+ call_if 1, Route130_EventScript_27207A
+ return
+
+Route130_EventScript_1F73BF:: @ 81F73BF
+ trainerbattle 0, TRAINER_RODNEY, 0, Route130_Text_2A328A, Route130_Text_2A32E6
+ msgbox Route130_Text_2A3300, 6
+ end
+
+Route130_EventScript_1F73D6:: @ 81F73D6
+ trainerbattle 0, TRAINER_KATIE, 0, Route130_Text_2A3363, Route130_Text_2A33AC
+ msgbox Route130_Text_2A33F5, 6
+ end
+
+Route130_EventScript_1F73ED:: @ 81F73ED
+ trainerbattle 0, TRAINER_SANTIAGO, 0, Route130_Text_2A343A, Route130_Text_2A346D
+ msgbox Route130_Text_2A3494, 6
+ end
+