2017-11-10 02:21:31 +01:00
|
|
|
Route130_MapScripts:: @ 81F735F
|
|
|
|
map_script 3, Route130_MapScript1_1F7365
|
|
|
|
.byte 0
|
|
|
|
|
|
|
|
Route130_MapScript1_1F7365: @ 81F7365
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_0x405E, 4
|
2018-12-22 03:32:45 +01:00
|
|
|
call_if_ge Route130_EventScript_1F73B5
|
2017-12-28 09:09:11 +01:00
|
|
|
specialvar VAR_RESULT, IsMirageIslandPresent
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 1
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_eq Route130_EventScript_1F73B1
|
2018-10-17 18:25:12 +02:00
|
|
|
setflag FLAG_TEMP_11
|
|
|
|
setflag FLAG_TEMP_12
|
|
|
|
setflag FLAG_TEMP_13
|
|
|
|
setflag FLAG_TEMP_14
|
|
|
|
setflag FLAG_TEMP_15
|
|
|
|
setflag FLAG_TEMP_16
|
|
|
|
setflag FLAG_TEMP_17
|
|
|
|
setflag FLAG_TEMP_18
|
|
|
|
setflag FLAG_TEMP_19
|
|
|
|
setflag FLAG_TEMP_1A
|
|
|
|
setflag FLAG_TEMP_1B
|
|
|
|
setflag FLAG_TEMP_1C
|
|
|
|
setflag FLAG_TEMP_1D
|
|
|
|
setflag FLAG_TEMP_1E
|
|
|
|
setflag FLAG_TEMP_1F
|
2019-01-31 22:51:20 +01:00
|
|
|
setmaplayoutindex LAYOUT_ROUTE130
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
Route130_EventScript_1F73B1:: @ 81F73B1
|
2019-02-09 16:57:30 +01:00
|
|
|
setmaplayoutindex LAYOUT_ROUTE130_MIRAGE_ISLAND
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
Route130_EventScript_1F73B5:: @ 81F73B5
|
2018-12-22 03:32:45 +01:00
|
|
|
call_if_set FLAG_SYS_WEATHER_CTRL, Route130_EventScript_27207A
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
|
|
|
Route130_EventScript_1F73BF:: @ 81F73BF
|
2018-12-02 19:54:48 +01:00
|
|
|
trainerbattle_single TRAINER_RODNEY, Route130_Text_2A328A, Route130_Text_2A32E6
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route130_Text_2A3300, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
Route130_EventScript_1F73D6:: @ 81F73D6
|
2018-12-02 19:54:48 +01:00
|
|
|
trainerbattle_single TRAINER_KATIE, Route130_Text_2A3363, Route130_Text_2A33AC
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route130_Text_2A33F5, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
Route130_EventScript_1F73ED:: @ 81F73ED
|
2018-12-02 19:54:48 +01:00
|
|
|
trainerbattle_single TRAINER_SANTIAGO, Route130_Text_2A343A, Route130_Text_2A346D
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route130_Text_2A3494, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|