mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-17 12:07:38 +01:00
29 lines
640 B
C++
29 lines
640 B
C++
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
|
|
compare VAR_TEMP_1, 12
|
|
goto_if_lt 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
|
|
|