summaryrefslogtreecommitdiff
path: root/data/maps/SkyPillar_Outside/scripts.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/maps/SkyPillar_Outside/scripts.inc')
-rw-r--r--data/maps/SkyPillar_Outside/scripts.inc30
1 files changed, 15 insertions, 15 deletions
diff --git a/data/maps/SkyPillar_Outside/scripts.inc b/data/maps/SkyPillar_Outside/scripts.inc
index eb57d1227..c4769c990 100644
--- a/data/maps/SkyPillar_Outside/scripts.inc
+++ b/data/maps/SkyPillar_Outside/scripts.inc
@@ -1,22 +1,22 @@
SkyPillar_Outside_MapScripts:: @ 82392A8
- map_script 3, SkyPillar_Outside_MapScript1_2392B8
- map_script 1, SkyPillar_Outside_MapScript1_2392DD
- map_script 2, SkyPillar_Outside_MapScript2_2392FA
+ map_script MAP_SCRIPT_ON_TRANSITION, SkyPillar_Outside_MapScript1_2392B8
+ map_script MAP_SCRIPT_ON_LOAD, SkyPillar_Outside_MapScript1_2392DD
+ map_script MAP_SCRIPT_ON_FRAME_TABLE, SkyPillar_Outside_MapScript2_2392FA
.byte 0
SkyPillar_Outside_MapScript1_2392B8: @ 82392B8
- compare VAR_0x405E, 3
+ compare VAR_RAYQUAZA_STATE, 3
call_if_eq SkyPillar_Outside_EventScript_2392CF
- compare VAR_0x405E, 4
+ compare VAR_RAYQUAZA_STATE, 4
call_if_ge SkyPillar_Outside_EventScript_2392D3
end
SkyPillar_Outside_EventScript_2392CF:: @ 82392CF
- setflag FLAG_SPECIAL_FLAG_0x4000
+ setflag FLAG_HIDE_MAP_NAME_POPUP
return
SkyPillar_Outside_EventScript_2392D3:: @ 82392D3
- call_if_set FLAG_SYS_WEATHER_CTRL, SkyPillar_Outside_EventScript_27207A
+ call_if_set FLAG_SYS_WEATHER_CTRL, Common_EventScript_SetWeather15
return
SkyPillar_Outside_MapScript1_2392DD: @ 82392DD
@@ -29,14 +29,14 @@ SkyPillar_Outside_EventScript_2392E7:: @ 82392E7
return
SkyPillar_Outside_MapScript2_2392FA: @ 82392FA
- map_script_2 VAR_0x405E, 3, SkyPillar_Outside_EventScript_239304
+ map_script_2 VAR_RAYQUAZA_STATE, 3, SkyPillar_Outside_EventScript_239304
.2byte 0
SkyPillar_Outside_EventScript_239304:: @ 8239304
lockall
applymovement 1, SkyPillar_Outside_Movement_2393D3
waitmovement 0
- applymovement EVENT_OBJ_ID_PLAYER, SkyPillar_Outside_Movement_2725A4
+ applymovement EVENT_OBJ_ID_PLAYER, Common_Movement_WalkInPlaceLeft
waitmovement 0
msgbox SkyPillar_Outside_Text_239416, MSGBOX_DEFAULT
closemessage
@@ -60,19 +60,19 @@ SkyPillar_Outside_EventScript_239304:: @ 8239304
special sub_8139560
waitstate
delay 20
- applymovement 1, SkyPillar_Outside_Movement_2725A4
+ applymovement 1, Common_Movement_WalkInPlaceLeft
waitmovement 0
delay 10
- applymovement 1, SkyPillar_Outside_Movement_2725A8
+ applymovement 1, Common_Movement_WalkInPlaceRight
waitmovement 0
delay 20
- applymovement 1, SkyPillar_Outside_Movement_2725AA
+ applymovement 1, Common_Movement_WalkInPlaceDown
waitmovement 0
delay 30
msgbox SkyPillar_Outside_Text_23950C, MSGBOX_DEFAULT
closemessage
setflag FLAG_SYS_WEATHER_CTRL
- setweather WEATHER_15
+ setweather WEATHER_ALTERNATING
doweather
special WaitWeather
waitstate
@@ -81,8 +81,8 @@ SkyPillar_Outside_EventScript_239304:: @ 8239304
closemessage
playse SE_KAIDAN
fadescreenswapbuffers 1
- clearflag FLAG_SPECIAL_FLAG_0x4000
- setvar VAR_0x405E, 4
+ clearflag FLAG_HIDE_MAP_NAME_POPUP
+ setvar VAR_RAYQUAZA_STATE, 4
removeobject 1
clearflag FLAG_HIDE_SOOTOPOLIS_CITY_WALLACE
fadescreenswapbuffers 0