import from github

This commit is contained in:
2022-05-19 17:14:13 +00:00
parent 5247c34f50
commit ab32b30591
12612 changed files with 1905035 additions and 83 deletions

View File

@ -0,0 +1,42 @@
{
"id": "MAP_SKY_PILLAR_4F",
"name": "SkyPillar_4F",
"layout": "LAYOUT_SKY_PILLAR_4F",
"music": "MUS_MT_CHIMNEY",
"region_map_section": "MAPSEC_SKY_PILLAR",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_UNDERGROUND",
"allow_cycling": true,
"allow_escaping": true,
"allow_running": true,
"show_map_name": true,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [],
"warp_events": [
{
"x": 11,
"y": 1,
"elevation": 3,
"dest_map": "MAP_SKY_PILLAR_3F",
"dest_warp_id": 1
},
{
"x": 7,
"y": 1,
"elevation": 3,
"dest_map": "MAP_SKY_PILLAR_3F",
"dest_warp_id": 2
},
{
"x": 3,
"y": 1,
"elevation": 3,
"dest_map": "MAP_SKY_PILLAR_5F",
"dest_warp_id": 0
}
],
"coord_events": [],
"bg_events": []
}

View File

@ -0,0 +1,20 @@
SkyPillar_4F_MapScripts::
map_script MAP_SCRIPT_ON_FRAME_TABLE, CaveHole_CheckFallDownHole
map_script MAP_SCRIPT_ON_TRANSITION, SkyPillar_4F_OnTransition
map_script MAP_SCRIPT_ON_RESUME, SkyPillar_4F_SetHoleWarp
.byte 0
SkyPillar_4F_OnTransition:
call_if_lt VAR_SKY_PILLAR_STATE, 2, SkyPillar_4F_EventScript_CleanFloor
copyvar VAR_ICE_STEP_COUNT, 1
end
SkyPillar_4F_EventScript_CleanFloor::
setmaplayoutindex LAYOUT_SKY_PILLAR_4F_CLEAN
return
SkyPillar_4F_SetHoleWarp:
setstepcallback STEP_CB_CRACKED_FLOOR
setholewarp MAP_SKY_PILLAR_3F
end