mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-18 04:27:38 +01:00
22 lines
636 B
PHP
22 lines
636 B
PHP
SkyPillar_2F_MapScripts:: @ 823962B
|
|
map_script MAP_SCRIPT_ON_FRAME_TABLE, SkyPillar_2F_MapScript2_2A8327
|
|
map_script MAP_SCRIPT_ON_TRANSITION, SkyPillar_2F_MapScript1_OnTransition
|
|
map_script MAP_SCRIPT_ON_RESUME, SkyPillar_2F_MapScript1_239650
|
|
.byte 0
|
|
|
|
SkyPillar_2F_MapScript1_OnTransition: @ 823963B
|
|
compare VAR_SKY_PILLAR_STATE, 2
|
|
call_if_lt SkyPillar_2F_EventScript_CleanFloor
|
|
copyvar VAR_ICE_STEP_COUNT, 0x1
|
|
end
|
|
|
|
SkyPillar_2F_EventScript_CleanFloor:: @ 823964C
|
|
setmaplayoutindex LAYOUT_SKY_PILLAR_2F_CLEAN
|
|
return
|
|
|
|
SkyPillar_2F_MapScript1_239650: @ 8239650
|
|
setstepcallback 7
|
|
setholewarp MAP_SKY_PILLAR_1F, 255, 0, 0
|
|
end
|
|
|