mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-27 04:04:17 +01:00
28 lines
632 B
C++
28 lines
632 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
|
|
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
|
|
|