pokeemerald/data/maps/MtPyre_Exterior/scripts.inc

28 lines
632 B
PHP
Raw Normal View History

2021-07-20 21:18:31 +02:00
MtPyre_Exterior_MapScripts::
map_script MAP_SCRIPT_ON_TRANSITION, MtPyre_Exterior_OnTransition
2017-11-10 02:21:31 +01:00
.byte 0
2021-07-20 21:18:31 +02:00
MtPyre_Exterior_OnTransition:
2019-11-09 18:23:30 +01:00
call MtPyre_Exterior_EventScript_CheckEnterFromSummit
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
MtPyre_Exterior_EventScript_CheckEnterFromSummit::
2018-05-19 18:02:43 +02:00
getplayerxy VAR_TEMP_0, VAR_TEMP_1
goto_if_lt VAR_TEMP_1, 12, MtPyre_Exterior_EventScript_EnterFromSummit
2017-11-10 02:21:31 +01:00
return
2021-07-20 21:18:31 +02:00
MtPyre_Exterior_EventScript_EnterFromSummit::
2019-12-02 01:19:47 +01:00
setweather WEATHER_FOG_HORIZONTAL
2017-11-10 02:21:31 +01:00
return
2021-07-20 21:18:31 +02:00
MtPyre_Exterior_EventScript_FogTrigger::
2019-12-02 01:19:47 +01:00
setweather WEATHER_FOG_HORIZONTAL
2017-11-10 02:21:31 +01:00
doweather
end
2021-07-20 21:18:31 +02:00
MtPyre_Exterior_EventScript_SunTrigger::
2018-12-24 22:23:58 +01:00
setweather WEATHER_SUNNY
2017-11-10 02:21:31 +01:00
doweather
end