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
-11
View File
@@ -1,11 +0,0 @@
PewterCity_House2_EventObjects:
object_event 1, 32, 0, 3, 0, 3, 0, 3, 10, 17, 0, 0, 0, 0, 0, PewterCity_House2_EventScript_16A7DD, 0, 0, 0
object_event 2, 16, 0, 5, 0, 3, 0, 3, 13, 17, 0, 0, 0, 0, 0, PewterCity_House2_EventScript_16A7E6, 0, 0, 0
PewterCity_House2_MapWarps:
warp_def 3, 7, 0, 6, 770
warp_def 4, 7, 0, 6, 770
warp_def 5, 7, 0, 6, 770
PewterCity_House2_MapEvents::
map_events PewterCity_House2_EventObjects, PewterCity_House2_MapWarps, 0x0, 0x0
-8
View File
@@ -1,8 +0,0 @@
PewterCity_House2:: @ 8350F2C
.4byte House2_Layout @ 0x82D5840
.4byte PewterCity_House2_MapEvents @ 0x83BA304
.4byte PewterCity_House2_MapScripts @ 0x816A7DC
.4byte NULL
.2byte BGM_FRLG_VIRIDIAN_CITY
.2byte 7
.byte 0x5a, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
+68
View File
@@ -0,0 +1,68 @@
{
"id": "MAP_PEWTER_CITY_HOUSE2",
"name": "PewterCity_House2",
"layout": "LAYOUT_HOUSE2",
"music": "BGM_FRLG_VIRIDIAN_CITY",
"region_map_section": "MAPSEC_PEWTER_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": "32",
"x": 3,
"y": 3,
"elevation": 3,
"movement_type": "10",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "PewterCity_House2_EventScript_16A7DD",
"flag": "0"
},
{
"graphics_id": "16",
"x": 5,
"y": 3,
"elevation": 3,
"movement_type": "13",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "PewterCity_House2_EventScript_16A7E6",
"flag": "0"
}
],
"warp_events": [
{
"x": 3,
"y": 7,
"elevation": 0,
"dest_map": "MAP_PEWTER_CITY",
"dest_warp_id": 6
},
{
"x": 4,
"y": 7,
"elevation": 0,
"dest_map": "MAP_PEWTER_CITY",
"dest_warp_id": 6
},
{
"x": 5,
"y": 7,
"elevation": 0,
"dest_map": "MAP_PEWTER_CITY",
"dest_warp_id": 6
}
],
"coord_events": [],
"bg_events": []
}