mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-17 20:17:38 +01:00
29 lines
682 B
C++
29 lines
682 B
C++
MtPyre_Exterior_MapScripts:: @ 8231FCC
|
|
map_script MAP_SCRIPT_ON_TRANSITION, MtPyre_Exterior_OnTransition
|
|
.byte 0
|
|
|
|
MtPyre_Exterior_OnTransition: @ 8231FD2
|
|
call MtPyre_Exterior_EventScript_CheckEnterFromSummit
|
|
end
|
|
|
|
MtPyre_Exterior_EventScript_CheckEnterFromSummit:: @ 8231FD8
|
|
getplayerxy VAR_TEMP_0, VAR_TEMP_1
|
|
compare VAR_TEMP_1, 12
|
|
goto_if_lt MtPyre_Exterior_EventScript_EnterFromSummit
|
|
return
|
|
|
|
MtPyre_Exterior_EventScript_EnterFromSummit:: @ 8231FE9
|
|
setweather WEATHER_FOG_1
|
|
return
|
|
|
|
MtPyre_Exterior_EventScript_FogTrigger:: @ 8231FED
|
|
setweather WEATHER_FOG_1
|
|
doweather
|
|
end
|
|
|
|
MtPyre_Exterior_EventScript_SunTrigger:: @ 8231FF2
|
|
setweather WEATHER_SUNNY
|
|
doweather
|
|
end
|
|
|