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,11 +0,0 @@
UndergroundPath_NorthEntrance_EventObjects:
object_event 1, 17, 0, 5, 0, 6, 0, 3, 8, 17, 0, 0, 0, 0, 0, UndergroundPath_NorthEntrance_EventScript_160E39, 0, 0, 0
UndergroundPath_NorthEntrance_MapWarps:
warp_def 5, 8, 3, 0, 791
warp_def 6, 8, 3, 0, 791
warp_def 7, 8, 3, 0, 791
warp_def 7, 4, 3, 0, 287
UndergroundPath_NorthEntrance_MapEvents::
map_events UndergroundPath_NorthEntrance_EventObjects, UndergroundPath_NorthEntrance_MapWarps, 0x0, 0x0
@@ -1,8 +0,0 @@
UndergroundPath_NorthEntrance:: @ 834F55C
.4byte UndergroundPath_Entrance_Layout @ 0x8319414
.4byte UndergroundPath_NorthEntrance_MapEvents @ 0x83AF25C
.4byte UndergroundPath_NorthEntrance_MapScripts @ 0x8160E38
.4byte NULL
.2byte BGM_FRLG_VIRIDIAN_CITY
.2byte 172
.byte 0x81, 0x00, 0x00, 0x08, 0x00, 0x06, 0x00, 0x00
@@ -0,0 +1,62 @@
{
"id": "MAP_UNDERGROUND_PATH_NORTH_ENTRANCE",
"name": "UndergroundPath_NorthEntrance",
"layout": "LAYOUT_UNDERGROUND_PATH_ENTRANCE",
"music": "BGM_FRLG_VIRIDIAN_CITY",
"region_map_section": "MAPSEC_UNDERGROUND_PATH",
"requires_flash": false,
"weather": "WEATHER_0",
"map_type": "MAP_TYPE_8",
"unknown_18": 0,
"unknown_19": 6,
"elevator_flag": 0,
"battle_scene": "BATTLE_SCENE_0",
"connections": null,
"object_events": [
{
"graphics_id": "17",
"x": 5,
"y": 6,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "UndergroundPath_NorthEntrance_EventScript_160E39",
"flag": "0"
}
],
"warp_events": [
{
"x": 5,
"y": 8,
"elevation": 3,
"dest_map": "MAP_ROUTE5",
"dest_warp_id": 0
},
{
"x": 6,
"y": 8,
"elevation": 3,
"dest_map": "MAP_ROUTE5",
"dest_warp_id": 0
},
{
"x": 7,
"y": 8,
"elevation": 3,
"dest_map": "MAP_ROUTE5",
"dest_warp_id": 0
},
{
"x": 7,
"y": 4,
"elevation": 3,
"dest_map": "MAP_UNDERGROUND_PATH_NORTH_SOUTH_TUNNEL",
"dest_warp_id": 0
}
],
"coord_events": [],
"bg_events": []
}