2017-11-10 02:21:31 +01:00
|
|
|
Route115_MapScripts:: @ 81F2920
|
2019-11-12 07:57:39 +01:00
|
|
|
map_script MAP_SCRIPT_ON_LOAD, Route115_OnLoad
|
2019-04-22 22:31:51 +02:00
|
|
|
map_script MAP_SCRIPT_ON_TRANSITION, Route115_OnTransition
|
2019-11-12 07:57:39 +01:00
|
|
|
map_script MAP_SCRIPT_ON_FRAME_TABLE, Route115_OnFrame
|
2017-11-10 02:21:31 +01:00
|
|
|
.byte 0
|
|
|
|
|
2019-11-12 07:57:39 +01:00
|
|
|
Route115_OnLoad: @ 81F2930
|
2019-02-27 09:42:04 +01:00
|
|
|
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_115_WEST
|
2019-02-27 10:27:54 +01:00
|
|
|
call_if_eq UnusualWeather_EventScript_PlaceTilesRoute115West
|
2019-02-27 09:42:04 +01:00
|
|
|
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_115_EAST
|
2019-02-27 10:27:54 +01:00
|
|
|
call_if_eq UnusualWeather_EventScript_PlaceTilesRoute115East
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-04-22 22:31:51 +02:00
|
|
|
Route115_OnTransition: @ 81F2947
|
2019-02-27 20:42:32 +01:00
|
|
|
compare VAR_SHOULD_END_UNUSUAL_WEATHER, 1
|
2019-10-07 17:29:14 +02:00
|
|
|
call_if_eq UnusualWeather_EventScript_HideMapNamePopup
|
2019-02-27 09:42:04 +01:00
|
|
|
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_115_WEST
|
2019-02-27 10:27:54 +01:00
|
|
|
call_if_eq UnusualWeather_StartGroudonWeather
|
2019-02-27 09:42:04 +01:00
|
|
|
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_115_EAST
|
2019-02-27 10:27:54 +01:00
|
|
|
call_if_eq UnusualWeather_StartGroudonWeather
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-12 07:57:39 +01:00
|
|
|
Route115_OnFrame: @ 81F2969
|
2019-02-27 20:42:32 +01:00
|
|
|
map_script_2 VAR_SHOULD_END_UNUSUAL_WEATHER, 1, UnusualWeather_EventScript_EndEventAndCleanup_1
|
2017-11-10 02:21:31 +01:00
|
|
|
.2byte 0
|
|
|
|
|
2019-11-12 07:57:39 +01:00
|
|
|
Route115_EventScript_Woman:: @ 81F2973
|
|
|
|
msgbox Route115_Text_NeverKnowWhenCavePokemonWillAppear, MSGBOX_NPC
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-12 07:57:39 +01:00
|
|
|
Route115_EventScript_RouteSignRustboro:: @ 81F297C
|
|
|
|
msgbox Route115_Text_RouteSignRustboro, MSGBOX_SIGN
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-12 07:57:39 +01:00
|
|
|
Route115_EventScript_MeteorFallsSign:: @ 81F2985
|
|
|
|
msgbox Route115_Text_MeteorFallsSign, MSGBOX_SIGN
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-12 07:57:39 +01:00
|
|
|
Route115_EventScript_Timothy:: @ 81F298E
|
|
|
|
trainerbattle_single TRAINER_TIMOTHY_1, Route115_Text_TimothyIntro, Route115_Text_TimothyDefeat, Route115_EventScript_RegisterTimothy
|
2017-12-01 21:25:13 +01:00
|
|
|
specialvar VAR_RESULT, ShouldTryRematchBattle
|
2019-11-12 07:57:39 +01:00
|
|
|
compare VAR_RESULT, TRUE
|
|
|
|
goto_if_eq Route115_EventScript_RematchTimothy
|
|
|
|
msgbox Route115_Text_TimothyPostBattle, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2019-11-12 07:57:39 +01:00
|
|
|
Route115_EventScript_RegisterTimothy:: @ 81F29BA
|
2019-11-01 08:41:55 +01:00
|
|
|
special PlayerFaceTrainerAfterBattle
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-11-12 07:57:39 +01:00
|
|
|
msgbox Route115_Text_TimothyRegister, MSGBOX_DEFAULT
|
2018-12-02 12:04:59 +01:00
|
|
|
register_matchcall TRAINER_TIMOTHY_1
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2019-11-12 07:57:39 +01:00
|
|
|
Route115_EventScript_RematchTimothy:: @ 81F29D9
|
|
|
|
trainerbattle_rematch TRAINER_TIMOTHY_1, Route115_Text_TimothyRematchIntro, Route115_Text_TimothyRematchDefeat
|
|
|
|
msgbox Route115_Text_TimothyPostRematch, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-12 07:57:39 +01:00
|
|
|
Route115_EventScript_Koichi:: @ 81F29F0
|
|
|
|
trainerbattle_single TRAINER_KOICHI, Route115_Text_KoichiIntro, Route115_Text_KoichiDefeat
|
|
|
|
msgbox Route115_Text_KoichiPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-12 07:57:39 +01:00
|
|
|
Route115_EventScript_Nob:: @ 81F2A07
|
|
|
|
trainerbattle_single TRAINER_NOB_1, Route115_Text_NobIntro, Route115_Text_NobDefeat, Route115_EventScript_RegisterNob
|
2017-12-01 21:25:13 +01:00
|
|
|
specialvar VAR_RESULT, ShouldTryRematchBattle
|
2019-11-12 07:57:39 +01:00
|
|
|
compare VAR_RESULT, TRUE
|
|
|
|
goto_if_eq Route115_EventScript_RematchNob
|
|
|
|
msgbox Route115_Text_NobPostBattle, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2019-11-12 07:57:39 +01:00
|
|
|
Route115_EventScript_RegisterNob:: @ 81F2A33
|
2019-11-01 08:41:55 +01:00
|
|
|
special PlayerFaceTrainerAfterBattle
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-11-12 07:57:39 +01:00
|
|
|
msgbox Route115_Text_NobRegister, MSGBOX_DEFAULT
|
2018-12-02 12:04:59 +01:00
|
|
|
register_matchcall TRAINER_NOB_1
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2019-11-12 07:57:39 +01:00
|
|
|
Route115_EventScript_RematchNob:: @ 81F2A52
|
|
|
|
trainerbattle_rematch TRAINER_NOB_1, Route115_Text_NobRematchIntro, Route115_Text_NobRematchDefeat
|
|
|
|
msgbox Route115_Text_NobPostRematch, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-12 07:57:39 +01:00
|
|
|
Route115_EventScript_Cyndy:: @ 81F2A69
|
|
|
|
trainerbattle_single TRAINER_CYNDY_1, Route115_Text_CyndyIntro, Route115_Text_CyndyDefeat, Route115_EventScript_RegisterCyndy
|
2017-12-01 21:25:13 +01:00
|
|
|
specialvar VAR_RESULT, ShouldTryRematchBattle
|
2019-11-12 07:57:39 +01:00
|
|
|
compare VAR_RESULT, TRUE
|
|
|
|
goto_if_eq Route115_EventScript_RematchCyndy
|
|
|
|
msgbox Route115_Text_CyndyPostBattle, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2019-11-12 07:57:39 +01:00
|
|
|
Route115_EventScript_RegisterCyndy:: @ 81F2A95
|
2019-11-01 08:41:55 +01:00
|
|
|
special PlayerFaceTrainerAfterBattle
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2019-11-12 07:57:39 +01:00
|
|
|
msgbox Route115_Text_CyndyRegister, MSGBOX_DEFAULT
|
2018-12-02 12:04:59 +01:00
|
|
|
register_matchcall TRAINER_CYNDY_1
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
2019-11-12 07:57:39 +01:00
|
|
|
Route115_EventScript_RematchCyndy:: @ 81F2AB4
|
|
|
|
trainerbattle_rematch TRAINER_CYNDY_1, Route115_Text_CyndyRematchIntro, Route115_Text_CyndyRematchDefeat
|
|
|
|
msgbox Route115_Text_CyndyPostRematch, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-12 07:57:39 +01:00
|
|
|
Route115_EventScript_Hector:: @ 81F2ACB
|
|
|
|
trainerbattle_single TRAINER_HECTOR, Route115_Text_HectorIntro, Route115_Text_HectorDefeat
|
|
|
|
msgbox Route115_Text_HectorPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-12 07:57:39 +01:00
|
|
|
Route115_EventScript_Kyra:: @ 81F2AE2
|
|
|
|
trainerbattle_single TRAINER_KYRA, Route115_Text_KyraIntro, Route115_Text_KyraDefeat
|
|
|
|
msgbox Route115_Text_KyraPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-12 07:57:39 +01:00
|
|
|
Route115_EventScript_Jaiden:: @ 81F2AF9
|
|
|
|
trainerbattle_single TRAINER_JAIDEN, Route115_Text_JaidenIntro, Route115_Text_JaidenDefeat
|
|
|
|
msgbox Route115_Text_JaidenPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-12 07:57:39 +01:00
|
|
|
Route115_EventScript_Alix:: @ 81F2B10
|
|
|
|
trainerbattle_single TRAINER_ALIX, Route115_Text_AlixIntro, Route115_Text_AlixDefeat
|
|
|
|
msgbox Route115_Text_AlixPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-12 07:57:39 +01:00
|
|
|
Route115_EventScript_Helene:: @ 81F2B27
|
|
|
|
trainerbattle_single TRAINER_HELENE, Route115_Text_HeleneIntro, Route115_Text_HeleneDefeat
|
|
|
|
msgbox Route115_Text_HelenePostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-12 07:57:39 +01:00
|
|
|
Route115_EventScript_Marlene:: @ 81F2B3E
|
|
|
|
trainerbattle_single TRAINER_MARLENE, Route115_Text_MarleneIntro, Route115_Text_MarleneDefeat
|
|
|
|
msgbox Route115_Text_MarlenePostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-12 07:57:39 +01:00
|
|
|
Route115_Text_NeverKnowWhenCavePokemonWillAppear: @ 81F2B55
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "Exploring a cave isn't like walking\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "on a road.\p"
|
|
|
|
.string "You never know when wild POKéMON will\n"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "appear. It's full of suspense.$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2019-11-12 07:57:39 +01:00
|
|
|
Route115_Text_RouteSignRustboro: @ 81F2BC9
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "ROUTE 115\n"
|
2018-07-25 06:18:23 +02:00
|
|
|
.string "{DOWN_ARROW} RUSTBORO CITY$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
2019-11-12 07:57:39 +01:00
|
|
|
Route115_Text_MeteorFallsSign: @ 81F2BE3
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "METEOR FALLS\n"
|
|
|
|
.string "FALLARBOR TOWN THROUGH HERE$"
|
|
|
|
|