diff options
Diffstat (limited to 'data/maps/Route115/scripts.inc')
-rw-r--r-- | data/maps/Route115/scripts.inc | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/data/maps/Route115/scripts.inc b/data/maps/Route115/scripts.inc index a9d0d93c1..600e6751f 100644 --- a/data/maps/Route115/scripts.inc +++ b/data/maps/Route115/scripts.inc @@ -1,17 +1,17 @@ -Route115_MapScripts:: @ 81F2920 +Route115_MapScripts:: map_script MAP_SCRIPT_ON_LOAD, Route115_OnLoad map_script MAP_SCRIPT_ON_TRANSITION, Route115_OnTransition map_script MAP_SCRIPT_ON_FRAME_TABLE, Route115_OnFrame .byte 0 -Route115_OnLoad: @ 81F2930 +Route115_OnLoad: compare VAR_ABNORMAL_WEATHER_LOCATION, ABNORMAL_WEATHER_ROUTE_115_WEST call_if_eq AbnormalWeather_EventScript_PlaceTilesRoute115West compare VAR_ABNORMAL_WEATHER_LOCATION, ABNORMAL_WEATHER_ROUTE_115_EAST call_if_eq AbnormalWeather_EventScript_PlaceTilesRoute115East end -Route115_OnTransition: @ 81F2947 +Route115_OnTransition: compare VAR_SHOULD_END_ABNORMAL_WEATHER, 1 call_if_eq AbnormalWeather_EventScript_HideMapNamePopup compare VAR_ABNORMAL_WEATHER_LOCATION, ABNORMAL_WEATHER_ROUTE_115_WEST @@ -20,23 +20,23 @@ Route115_OnTransition: @ 81F2947 call_if_eq AbnormalWeather_StartGroudonWeather end -Route115_OnFrame: @ 81F2969 +Route115_OnFrame: map_script_2 VAR_SHOULD_END_ABNORMAL_WEATHER, 1, AbnormalWeather_EventScript_EndEventAndCleanup_1 .2byte 0 -Route115_EventScript_Woman:: @ 81F2973 +Route115_EventScript_Woman:: msgbox Route115_Text_NeverKnowWhenCavePokemonWillAppear, MSGBOX_NPC end -Route115_EventScript_RouteSignRustboro:: @ 81F297C +Route115_EventScript_RouteSignRustboro:: msgbox Route115_Text_RouteSignRustboro, MSGBOX_SIGN end -Route115_EventScript_MeteorFallsSign:: @ 81F2985 +Route115_EventScript_MeteorFallsSign:: msgbox Route115_Text_MeteorFallsSign, MSGBOX_SIGN end -Route115_EventScript_Timothy:: @ 81F298E +Route115_EventScript_Timothy:: trainerbattle_single TRAINER_TIMOTHY_1, Route115_Text_TimothyIntro, Route115_Text_TimothyDefeat, Route115_EventScript_RegisterTimothy specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, TRUE @@ -45,7 +45,7 @@ Route115_EventScript_Timothy:: @ 81F298E release end -Route115_EventScript_RegisterTimothy:: @ 81F29BA +Route115_EventScript_RegisterTimothy:: special PlayerFaceTrainerAfterBattle waitmovement 0 msgbox Route115_Text_TimothyRegister, MSGBOX_DEFAULT @@ -53,17 +53,17 @@ Route115_EventScript_RegisterTimothy:: @ 81F29BA release end -Route115_EventScript_RematchTimothy:: @ 81F29D9 +Route115_EventScript_RematchTimothy:: trainerbattle_rematch TRAINER_TIMOTHY_1, Route115_Text_TimothyRematchIntro, Route115_Text_TimothyRematchDefeat msgbox Route115_Text_TimothyPostRematch, MSGBOX_AUTOCLOSE end -Route115_EventScript_Koichi:: @ 81F29F0 +Route115_EventScript_Koichi:: trainerbattle_single TRAINER_KOICHI, Route115_Text_KoichiIntro, Route115_Text_KoichiDefeat msgbox Route115_Text_KoichiPostBattle, MSGBOX_AUTOCLOSE end -Route115_EventScript_Nob:: @ 81F2A07 +Route115_EventScript_Nob:: trainerbattle_single TRAINER_NOB_1, Route115_Text_NobIntro, Route115_Text_NobDefeat, Route115_EventScript_RegisterNob specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, TRUE @@ -72,7 +72,7 @@ Route115_EventScript_Nob:: @ 81F2A07 release end -Route115_EventScript_RegisterNob:: @ 81F2A33 +Route115_EventScript_RegisterNob:: special PlayerFaceTrainerAfterBattle waitmovement 0 msgbox Route115_Text_NobRegister, MSGBOX_DEFAULT @@ -80,12 +80,12 @@ Route115_EventScript_RegisterNob:: @ 81F2A33 release end -Route115_EventScript_RematchNob:: @ 81F2A52 +Route115_EventScript_RematchNob:: trainerbattle_rematch TRAINER_NOB_1, Route115_Text_NobRematchIntro, Route115_Text_NobRematchDefeat msgbox Route115_Text_NobPostRematch, MSGBOX_AUTOCLOSE end -Route115_EventScript_Cyndy:: @ 81F2A69 +Route115_EventScript_Cyndy:: trainerbattle_single TRAINER_CYNDY_1, Route115_Text_CyndyIntro, Route115_Text_CyndyDefeat, Route115_EventScript_RegisterCyndy specialvar VAR_RESULT, ShouldTryRematchBattle compare VAR_RESULT, TRUE @@ -94,7 +94,7 @@ Route115_EventScript_Cyndy:: @ 81F2A69 release end -Route115_EventScript_RegisterCyndy:: @ 81F2A95 +Route115_EventScript_RegisterCyndy:: special PlayerFaceTrainerAfterBattle waitmovement 0 msgbox Route115_Text_CyndyRegister, MSGBOX_DEFAULT @@ -102,52 +102,52 @@ Route115_EventScript_RegisterCyndy:: @ 81F2A95 release end -Route115_EventScript_RematchCyndy:: @ 81F2AB4 +Route115_EventScript_RematchCyndy:: trainerbattle_rematch TRAINER_CYNDY_1, Route115_Text_CyndyRematchIntro, Route115_Text_CyndyRematchDefeat msgbox Route115_Text_CyndyPostRematch, MSGBOX_AUTOCLOSE end -Route115_EventScript_Hector:: @ 81F2ACB +Route115_EventScript_Hector:: trainerbattle_single TRAINER_HECTOR, Route115_Text_HectorIntro, Route115_Text_HectorDefeat msgbox Route115_Text_HectorPostBattle, MSGBOX_AUTOCLOSE end -Route115_EventScript_Kyra:: @ 81F2AE2 +Route115_EventScript_Kyra:: trainerbattle_single TRAINER_KYRA, Route115_Text_KyraIntro, Route115_Text_KyraDefeat msgbox Route115_Text_KyraPostBattle, MSGBOX_AUTOCLOSE end -Route115_EventScript_Jaiden:: @ 81F2AF9 +Route115_EventScript_Jaiden:: trainerbattle_single TRAINER_JAIDEN, Route115_Text_JaidenIntro, Route115_Text_JaidenDefeat msgbox Route115_Text_JaidenPostBattle, MSGBOX_AUTOCLOSE end -Route115_EventScript_Alix:: @ 81F2B10 +Route115_EventScript_Alix:: trainerbattle_single TRAINER_ALIX, Route115_Text_AlixIntro, Route115_Text_AlixDefeat msgbox Route115_Text_AlixPostBattle, MSGBOX_AUTOCLOSE end -Route115_EventScript_Helene:: @ 81F2B27 +Route115_EventScript_Helene:: trainerbattle_single TRAINER_HELENE, Route115_Text_HeleneIntro, Route115_Text_HeleneDefeat msgbox Route115_Text_HelenePostBattle, MSGBOX_AUTOCLOSE end -Route115_EventScript_Marlene:: @ 81F2B3E +Route115_EventScript_Marlene:: trainerbattle_single TRAINER_MARLENE, Route115_Text_MarleneIntro, Route115_Text_MarleneDefeat msgbox Route115_Text_MarlenePostBattle, MSGBOX_AUTOCLOSE end -Route115_Text_NeverKnowWhenCavePokemonWillAppear: @ 81F2B55 +Route115_Text_NeverKnowWhenCavePokemonWillAppear: .string "Exploring a cave isn't like walking\n" .string "on a road.\p" .string "You never know when wild POKéMON will\n" .string "appear. It's full of suspense.$" -Route115_Text_RouteSignRustboro: @ 81F2BC9 +Route115_Text_RouteSignRustboro: .string "ROUTE 115\n" .string "{DOWN_ARROW} RUSTBORO CITY$" -Route115_Text_MeteorFallsSign: @ 81F2BE3 +Route115_Text_MeteorFallsSign: .string "METEOR FALLS\n" .string "FALLARBOR TOWN THROUGH HERE$" |