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
-7
View File
@@ -1,7 +0,0 @@
SkyPillar_2F_MapWarps:
warp_def 10, 1, 3, 2, MAP_SKY_PILLAR_1F
warp_def 3, 1, 3, 0, MAP_SKY_PILLAR_3F
SkyPillar_2F_MapEvents::
map_events 0x0, SkyPillar_2F_MapWarps, 0x0, 0x0
-15
View File
@@ -1,15 +0,0 @@
SkyPillar_2F:
.4byte SkyPillar_2F_Layout
.4byte SkyPillar_2F_MapEvents
.4byte SkyPillar_2F_MapScripts
.4byte 0x0
.2byte MUS_TOZAN
.2byte LAYOUT_SKY_PILLAR_2F
.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
+35
View File
@@ -0,0 +1,35 @@
{
"id": "MAP_SKY_PILLAR_2F",
"name": "SkyPillar_2F",
"layout": "LAYOUT_SKY_PILLAR_2F",
"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": 10,
"y": 1,
"elevation": 3,
"dest_map": "MAP_SKY_PILLAR_1F",
"dest_warp_id": 2
},
{
"x": 3,
"y": 1,
"elevation": 3,
"dest_map": "MAP_SKY_PILLAR_3F",
"dest_warp_id": 0
}
],
"coord_events": [],
"bg_events": []
}
+1 -1
View File
@@ -11,7 +11,7 @@ SkyPillar_2F_MapScript1_23963B: @ 823963B
end
SkyPillar_2F_EventScript_23964C:: @ 823964C
setmaplayoutindex 434
setmaplayoutindex LAYOUT_UNKNOWN_MAP_084810FC
return
SkyPillar_2F_MapScript1_239650: @ 8239650