pokeemerald/data/maps/MirageTower_3F/scripts.inc
2021-07-20 15:18:31 -04:00

12 lines
346 B
PHP

MirageTower_3F_MapScripts::
map_script MAP_SCRIPT_ON_FRAME_TABLE, CaveHole_CheckFallDownHole
map_script MAP_SCRIPT_ON_TRANSITION, CaveHole_FixCrackedGround
map_script MAP_SCRIPT_ON_RESUME, MirageTower_3F_SetHoleWarp
.byte 0
MirageTower_3F_SetHoleWarp:
setstepcallback STEP_CB_CRACKED_FLOOR
setholewarp MAP_MIRAGE_TOWER_2F, 255, 0, 0
end