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

12 lines
346 B
PHP

MirageTower_2F_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_2F_SetHoleWarp
.byte 0
MirageTower_2F_SetHoleWarp:
setstepcallback STEP_CB_CRACKED_FLOOR
setholewarp MAP_MIRAGE_TOWER_1F, 255, 0, 0
end