import from github
This commit is contained in:
27
data/maps/MtPyre_Exterior/scripts.inc
Normal file
27
data/maps/MtPyre_Exterior/scripts.inc
Normal file
@ -0,0 +1,27 @@
|
||||
MtPyre_Exterior_MapScripts::
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, MtPyre_Exterior_OnTransition
|
||||
.byte 0
|
||||
|
||||
MtPyre_Exterior_OnTransition:
|
||||
call MtPyre_Exterior_EventScript_CheckEnterFromSummit
|
||||
end
|
||||
|
||||
MtPyre_Exterior_EventScript_CheckEnterFromSummit::
|
||||
getplayerxy VAR_TEMP_0, VAR_TEMP_1
|
||||
goto_if_lt VAR_TEMP_1, 12, MtPyre_Exterior_EventScript_EnterFromSummit
|
||||
return
|
||||
|
||||
MtPyre_Exterior_EventScript_EnterFromSummit::
|
||||
setweather WEATHER_FOG_HORIZONTAL
|
||||
return
|
||||
|
||||
MtPyre_Exterior_EventScript_FogTrigger::
|
||||
setweather WEATHER_FOG_HORIZONTAL
|
||||
doweather
|
||||
end
|
||||
|
||||
MtPyre_Exterior_EventScript_SunTrigger::
|
||||
setweather WEATHER_SUNNY
|
||||
doweather
|
||||
end
|
||||
|
Reference in New Issue
Block a user