summaryrefslogtreecommitdiff
path: root/data/maps/Route125/scripts.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/maps/Route125/scripts.inc')
-rw-r--r--data/maps/Route125/scripts.inc20
1 files changed, 10 insertions, 10 deletions
diff --git a/data/maps/Route125/scripts.inc b/data/maps/Route125/scripts.inc
index 4812b9691..8abcbe787 100644
--- a/data/maps/Route125/scripts.inc
+++ b/data/maps/Route125/scripts.inc
@@ -6,23 +6,23 @@ Route125_MapScripts:: @ 81F6748
Route125_MapScript1_1F6758: @ 81F6758
call_if_set FLAG_SYS_WEATHER_CTRL, Common_EventScript_SetWeather15
- compare VAR_0x4039, 1
+ compare VAR_SHOULD_END_UNUSUAL_WEATHER, 1
call_if_eq Route125_EventScript_273D13
- compare VAR_0x4037, 11
- call_if_eq Route125_EventScript_273D17
- compare VAR_0x4037, 12
- call_if_eq Route125_EventScript_273D17
+ compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_125_WEST
+ call_if_eq UnusualWeather_StartKyogreWeather
+ compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_125_EAST
+ call_if_eq UnusualWeather_StartKyogreWeather
end
Route125_MapScript1_1F6783: @ 81F6783
- compare VAR_0x4037, 11
- call_if_eq Route125_EventScript_273A85
- compare VAR_0x4037, 12
- call_if_eq Route125_EventScript_273AF2
+ compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_125_WEST
+ call_if_eq UnusualWeather_EventScript_PlaceTilesRoute125West
+ compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_125_EAST
+ call_if_eq UnusualWeather_EventScript_PlaceTilesRoute125East
end
Route125_MapScript2_1F679A: @ 81F679A
- map_script_2 VAR_0x4039, 1, gUnknown_08273D1F
+ map_script_2 VAR_SHOULD_END_UNUSUAL_WEATHER, 1, UnusualWeather_EventScript_EndEventAndCleanup_1
.2byte 0
Route125_EventScript_1F67A4:: @ 81F67A4