convert map data to json

This commit is contained in:
garak
2019-05-13 19:44:24 -04:00
parent 4b98d7d07a
commit 55d66b5177
2112 changed files with 53337 additions and 19410 deletions
-15
View File
@@ -1,15 +0,0 @@
CeruleanCity_House2_EventObjects:
object_event 1, 56, 0, 1, 0, 2, 0, 3, 8, 17, 0, 0, 0, 0, 0, CeruleanCity_House2_EventScript_16A976, 0, 0, 0
object_event 2, 22, 0, 7, 0, 6, 0, 3, 2, 17, 0, 0, 0, 0, 0, CeruleanCity_House2_EventScript_16A995, 0, 0, 0
CeruleanCity_House2_MapWarps:
warp_def 2, 7, 0, 1, 771
warp_def 3, 7, 0, 1, 771
warp_def 4, 7, 1, 1, 771
warp_def 4, 1, 0, 9, 771
CeruleanCity_House2_MapBGEvents:
bg_event 4, 1, 0, 0, 0, CeruleanCity_House2_EventScript_16A99E
CeruleanCity_House2_MapEvents::
map_events CeruleanCity_House2_EventObjects, CeruleanCity_House2_MapWarps, 0x0, CeruleanCity_House2_MapBGEvents
-8
View File
@@ -1,8 +0,0 @@
CeruleanCity_House2:: @ 8350F64
.4byte CeruleanCity_House2_Layout @ 0x831A474
.4byte CeruleanCity_House2_MapEvents @ 0x83BA3C0
.4byte CeruleanCity_House2_MapScripts @ 0x816A975
.4byte NULL
.2byte BGM_FRLG_CERULEAN_CITY
.2byte 182
.byte 0x5b, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
+83
View File
@@ -0,0 +1,83 @@
{
"id": "MAP_CERULEAN_CITY_HOUSE2",
"name": "CeruleanCity_House2",
"layout": "LAYOUT_CERULEAN_CITY_HOUSE2",
"music": "BGM_FRLG_CERULEAN_CITY",
"region_map_section": "MAPSEC_CERULEAN_CITY",
"requires_flash": false,
"weather": "WEATHER_0",
"map_type": "MAP_TYPE_8",
"unknown_18": 0,
"unknown_19": 0,
"elevator_flag": 0,
"battle_scene": "BATTLE_SCENE_0",
"connections": null,
"object_events": [
{
"graphics_id": "56",
"x": 1,
"y": 2,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "CeruleanCity_House2_EventScript_16A976",
"flag": "0"
},
{
"graphics_id": "22",
"x": 7,
"y": 6,
"elevation": 3,
"movement_type": "2",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "CeruleanCity_House2_EventScript_16A995",
"flag": "0"
}
],
"warp_events": [
{
"x": 2,
"y": 7,
"elevation": 0,
"dest_map": "MAP_CERULEAN_CITY",
"dest_warp_id": 1
},
{
"x": 3,
"y": 7,
"elevation": 0,
"dest_map": "MAP_CERULEAN_CITY",
"dest_warp_id": 1
},
{
"x": 4,
"y": 7,
"elevation": 1,
"dest_map": "MAP_CERULEAN_CITY",
"dest_warp_id": 1
},
{
"x": 4,
"y": 1,
"elevation": 0,
"dest_map": "MAP_CERULEAN_CITY",
"dest_warp_id": 9
}
],
"coord_events": [],
"bg_events": [
{
"type": "bg_event_type_0",
"x": 4,
"y": 1,
"elevation": 0,
"script": "CeruleanCity_House2_EventScript_16A99E"
}
]
}