Convert map data to JSON

This commit is contained in:
Marcus Huderle
2019-01-31 15:51:20 -06:00
parent 5c1667b41a
commit 29d6221935
2102 changed files with 72595 additions and 27039 deletions
-8
View File
@@ -1,8 +0,0 @@
SkyPillar_1F_MapWarps:
warp_def 6, 13, 3, 1, MAP_SKY_PILLAR_OUTSIDE
warp_def 7, 13, 3, 1, MAP_SKY_PILLAR_OUTSIDE
warp_def 10, 1, 3, 0, MAP_SKY_PILLAR_2F
SkyPillar_1F_MapEvents::
map_events 0x0, SkyPillar_1F_MapWarps, 0x0, 0x0
-15
View File
@@ -1,15 +0,0 @@
SkyPillar_1F:
.4byte SkyPillar_1F_Layout
.4byte SkyPillar_1F_MapEvents
.4byte SkyPillar_1F_MapScripts
.4byte 0x0
.2byte MUS_TOZAN
.2byte LAYOUT_SKY_PILLAR_1F
.byte MAPSEC_SKY_PILLAR
.byte 0
.byte WEATHER_NONE
.byte MAP_TYPE_UNDERGROUND
.2byte 0
map_header_flags allow_bike=1, allow_escape_rope=1, allow_run=1, show_map_name=1
.byte MAP_BATTLE_SCENE_NORMAL
+42
View File
@@ -0,0 +1,42 @@
{
"id": "MAP_SKY_PILLAR_1F",
"name": "SkyPillar_1F",
"layout": "LAYOUT_SKY_PILLAR_1F",
"music": "MUS_TOZAN",
"region_map_section": "MAPSEC_SKY_PILLAR",
"requires_flash": false,
"weather": "WEATHER_NONE",
"map_type": "MAP_TYPE_UNDERGROUND",
"allow_bike": true,
"allow_escape_rope": true,
"allow_running": true,
"show_map_name": true,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": null,
"object_events": [],
"warp_events": [
{
"x": 6,
"y": 13,
"elevation": 3,
"dest_map": "MAP_SKY_PILLAR_OUTSIDE",
"dest_warp_id": 1
},
{
"x": 7,
"y": 13,
"elevation": 3,
"dest_map": "MAP_SKY_PILLAR_OUTSIDE",
"dest_warp_id": 1
},
{
"x": 10,
"y": 1,
"elevation": 3,
"dest_map": "MAP_SKY_PILLAR_2F",
"dest_warp_id": 0
}
],
"coord_events": [],
"bg_events": []
}
+1 -1
View File
@@ -8,6 +8,6 @@ SkyPillar_1F_MapScript1_23961B: @ 823961B
end
SkyPillar_1F_EventScript_239627:: @ 8239627
setmaplayoutindex 433
setmaplayoutindex LAYOUT_UNKNOWN_MAP_08480F54
return