Dump maps
This commit is contained in:
139
data/maps/scripts/SkyPillar_Outside.inc
Normal file
139
data/maps/scripts/SkyPillar_Outside.inc
Normal file
@@ -0,0 +1,139 @@
|
||||
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
|
||||
.byte 0
|
||||
|
||||
SkyPillar_Outside_MapScript1_2392B8: @ 82392B8
|
||||
compare_var_to_value VAR_0x405E, 3
|
||||
call_if 1, SkyPillar_Outside_EventScript_2392CF
|
||||
compare_var_to_value VAR_0x405E, 4
|
||||
call_if 4, SkyPillar_Outside_EventScript_2392D3
|
||||
end
|
||||
|
||||
SkyPillar_Outside_EventScript_2392CF:: @ 82392CF
|
||||
setflag FLAG_SPECIAL_FLAG_0x4000
|
||||
return
|
||||
|
||||
SkyPillar_Outside_EventScript_2392D3:: @ 82392D3
|
||||
checkflag FLAG_SYS_WEATHER_CTRL
|
||||
call_if 1, SkyPillar_Outside_EventScript_27207A
|
||||
return
|
||||
|
||||
SkyPillar_Outside_MapScript1_2392DD: @ 82392DD
|
||||
checkflag FLAG_0x137
|
||||
call_if 1, SkyPillar_Outside_EventScript_2392E7
|
||||
end
|
||||
|
||||
SkyPillar_Outside_EventScript_2392E7:: @ 82392E7
|
||||
setmetatile 14, 4, 682, 0
|
||||
setmetatile 14, 5, 690, 0
|
||||
return
|
||||
|
||||
SkyPillar_Outside_MapScript2_2392FA: @ 82392FA
|
||||
map_script_2 VAR_0x405E, 3, SkyPillar_Outside_EventScript_239304
|
||||
.2byte 0
|
||||
|
||||
SkyPillar_Outside_EventScript_239304:: @ 8239304
|
||||
lockall
|
||||
applymovement 1, SkyPillar_Outside_Movement_2393D3
|
||||
waitmovement 0
|
||||
applymovement 255, SkyPillar_Outside_Movement_2725A4
|
||||
waitmovement 0
|
||||
msgbox SkyPillar_Outside_Text_239416, 4
|
||||
closemessage
|
||||
delay 30
|
||||
setvar VAR_0x8004, 1
|
||||
setvar VAR_0x8005, 1
|
||||
setvar VAR_0x8006, 8
|
||||
setvar VAR_0x8007, 3
|
||||
special sub_8139560
|
||||
waitstate
|
||||
delay 40
|
||||
msgbox SkyPillar_Outside_Text_2394BC, 4
|
||||
closemessage
|
||||
applymovement 255, SkyPillar_Outside_Movement_2393EB
|
||||
applymovement 1, SkyPillar_Outside_Movement_2393DE
|
||||
waitmovement 0
|
||||
setvar VAR_0x8004, 1
|
||||
setvar VAR_0x8005, 3
|
||||
setvar VAR_0x8006, 20
|
||||
setvar VAR_0x8007, 5
|
||||
special sub_8139560
|
||||
waitstate
|
||||
delay 20
|
||||
applymovement 1, SkyPillar_Outside_Movement_2725A4
|
||||
waitmovement 0
|
||||
delay 10
|
||||
applymovement 1, SkyPillar_Outside_Movement_2725A8
|
||||
waitmovement 0
|
||||
delay 20
|
||||
applymovement 1, SkyPillar_Outside_Movement_2725AA
|
||||
waitmovement 0
|
||||
delay 30
|
||||
msgbox SkyPillar_Outside_Text_23950C, 4
|
||||
closemessage
|
||||
setflag FLAG_SYS_WEATHER_CTRL
|
||||
setweather 15
|
||||
doweather
|
||||
special sub_81379F8
|
||||
waitstate
|
||||
delay 30
|
||||
msgbox SkyPillar_Outside_Text_23953A, 4
|
||||
closemessage
|
||||
playse SE_KAIDAN
|
||||
fadescreenswapbuffers 1
|
||||
clearflag FLAG_SPECIAL_FLAG_0x4000
|
||||
setvar VAR_0x405E, 4
|
||||
removeobject 1
|
||||
clearflag FLAG_0x330
|
||||
fadescreenswapbuffers 0
|
||||
releaseall
|
||||
end
|
||||
|
||||
SkyPillar_Outside_Movement_2393D3: @ 82393D3
|
||||
step_down
|
||||
step_down
|
||||
step_down
|
||||
step_down
|
||||
step_down
|
||||
step_down
|
||||
step_down
|
||||
step_right
|
||||
step_right
|
||||
step_right
|
||||
step_end
|
||||
|
||||
SkyPillar_Outside_Movement_2393DE: @ 82393DE
|
||||
step_left
|
||||
step_left
|
||||
step_left
|
||||
step_up
|
||||
step_up
|
||||
step_up
|
||||
step_up
|
||||
step_right
|
||||
step_up
|
||||
step_up
|
||||
step_up
|
||||
step_up
|
||||
step_end
|
||||
|
||||
SkyPillar_Outside_Movement_2393EB: @ 82393EB
|
||||
step_left
|
||||
step_left
|
||||
step_left
|
||||
step_left
|
||||
step_up
|
||||
step_up
|
||||
step_up
|
||||
step_up
|
||||
step_right
|
||||
step_up
|
||||
step_up
|
||||
step_up
|
||||
step_end
|
||||
|
||||
SkyPillar_Outside_EventScript_2393F8:: @ 82393F8
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user