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_4F_MapWarps:
warp_def 11, 1, 3, 1, MAP_SKY_PILLAR_3F
warp_def 7, 1, 3, 2, MAP_SKY_PILLAR_3F
warp_def 3, 1, 3, 0, MAP_SKY_PILLAR_5F
SkyPillar_4F_MapEvents::
map_events 0x0, SkyPillar_4F_MapWarps, 0x0, 0x0
-15
View File
@@ -1,15 +0,0 @@
SkyPillar_4F:
.4byte SkyPillar_4F_Layout
.4byte SkyPillar_4F_MapEvents
.4byte SkyPillar_4F_MapScripts
.4byte 0x0
.2byte MUS_TOZAN
.2byte LAYOUT_SKY_PILLAR_4F
.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_4F",
"name": "SkyPillar_4F",
"layout": "LAYOUT_SKY_PILLAR_4F",
"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": 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": []
}
+1 -1
View File
@@ -11,7 +11,7 @@ SkyPillar_4F_MapScript1_239681: @ 8239681
end
SkyPillar_4F_EventScript_239692:: @ 8239692
setmaplayoutindex 436
setmaplayoutindex LAYOUT_UNKNOWN_MAP_0848144C
return
SkyPillar_4F_MapScript1_239696: @ 8239696