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
@@ -1,19 +0,0 @@
FuchsiaCity_Building1_EventObjects:
object_event 1, 33, 0, 3, 0, 5, 0, 3, 1, 17, 0, 0, 0, 0, 0, FuchsiaCity_Building1_EventScript_16D74C, 0, 0, 0
object_event 2, 97, 0, 11, 0, 6, 0, 3, 8, 0, 0, 0, 0, 0, 0, FuchsiaCity_Building1_EventScript_1BE11D, 0, 0, 0
object_event 3, 92, 0, 11, 0, 5, 0, 3, 8, 17, 0, 0, 0, 0, 0, FuchsiaCity_Building1_EventScript_1BEAA2, 441, 0, 0
object_event 4, 0, 0, 4, 0, 1, 0, 0, 76, 17, 0, 0, 0, 0, 0, FuchsiaCity_Building1_EventScript_1ACEB8, 159, 0, 0
FuchsiaCity_Building1_MapWarps:
warp_def 5, 10, 0, 1, 775
warp_def 6, 9, 3, 1, 775
warp_def 7, 10, 0, 1, 775
FuchsiaCity_Building1_MapBGEvents:
bg_event 7, 4, 0, 0, 0, FuchsiaCity_Building1_EventScript_16D80D
bg_event 4, 4, 0, 0, 0, FuchsiaCity_Building1_EventScript_16D804
bg_event 5, 4, 0, 0, 0, FuchsiaCity_Building1_EventScript_16D804
bg_event 6, 4, 0, 0, 0, FuchsiaCity_Building1_EventScript_16D80D
FuchsiaCity_Building1_MapEvents::
map_events FuchsiaCity_Building1_EventObjects, FuchsiaCity_Building1_MapWarps, 0x0, FuchsiaCity_Building1_MapBGEvents
@@ -1,8 +0,0 @@
FuchsiaCity_Building1:: @ 83514DC
.4byte FuchsiaCity_Building1_Layout @ 0x831C48C
.4byte FuchsiaCity_Building1_MapEvents @ 0x83BC3F4
.4byte FuchsiaCity_Building1_MapScripts @ 0x816D74B
.4byte NULL
.2byte BGM_FRLG_CERULEAN_CITY
.2byte 201
.byte 0x5f, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
+123
View File
@@ -0,0 +1,123 @@
{
"id": "MAP_FUCHSIA_CITY_BUILDING1",
"name": "FuchsiaCity_Building1",
"layout": "LAYOUT_FUCHSIA_CITY_BUILDING1",
"music": "BGM_FRLG_CERULEAN_CITY",
"region_map_section": "MAPSEC_FUCHSIA_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": "33",
"x": 3,
"y": 5,
"elevation": 3,
"movement_type": "1",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FuchsiaCity_Building1_EventScript_16D74C",
"flag": "0"
},
{
"graphics_id": "97",
"x": 11,
"y": 6,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FuchsiaCity_Building1_EventScript_1BE11D",
"flag": "0"
},
{
"graphics_id": "92",
"x": 11,
"y": 5,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FuchsiaCity_Building1_EventScript_1BEAA2",
"flag": "441"
},
{
"graphics_id": "0",
"x": 4,
"y": 1,
"elevation": 0,
"movement_type": "76",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FuchsiaCity_Building1_EventScript_1ACEB8",
"flag": "159"
}
],
"warp_events": [
{
"x": 5,
"y": 10,
"elevation": 0,
"dest_map": "MAP_FUCHSIA_CITY",
"dest_warp_id": 1
},
{
"x": 6,
"y": 9,
"elevation": 3,
"dest_map": "MAP_FUCHSIA_CITY",
"dest_warp_id": 1
},
{
"x": 7,
"y": 10,
"elevation": 0,
"dest_map": "MAP_FUCHSIA_CITY",
"dest_warp_id": 1
}
],
"coord_events": [],
"bg_events": [
{
"type": "bg_event_type_0",
"x": 7,
"y": 4,
"elevation": 0,
"script": "FuchsiaCity_Building1_EventScript_16D80D"
},
{
"type": "bg_event_type_0",
"x": 4,
"y": 4,
"elevation": 0,
"script": "FuchsiaCity_Building1_EventScript_16D804"
},
{
"type": "bg_event_type_0",
"x": 5,
"y": 4,
"elevation": 0,
"script": "FuchsiaCity_Building1_EventScript_16D804"
},
{
"type": "bg_event_type_0",
"x": 6,
"y": 4,
"elevation": 0,
"script": "FuchsiaCity_Building1_EventScript_16D80D"
}
]
}