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,9 +0,0 @@
SaffronCity_Duplicate_MapConnectionsList: @ 83528C4
connection up, 0, MAP_ROUTE5
connection down, 12, MAP_ROUTE6
connection left, 10, MAP_ROUTE7
connection right, 10, MAP_ROUTE8
SaffronCity_Duplicate_MapConnections:: @ 83528F4
.4byte 4
.4byte SaffronCity_Duplicate_MapConnectionsList
@@ -1,47 +0,0 @@
SaffronCity_Duplicate_EventObjects:
object_event 1, 49, 0, 22, 0, 15, 0, 3, 8, 17, 0, 0, 0, 0, 0, SaffronCity_Duplicate_EventScript_16737A, 62, 0, 0
object_event 2, 49, 0, 26, 0, 16, 0, 3, 5, 20, 0, 0, 0, 0, 0, SaffronCity_Duplicate_EventScript_167383, 62, 0, 0
object_event 3, 49, 0, 46, 0, 13, 0, 3, 8, 17, 0, 0, 0, 0, 0, SaffronCity_Duplicate_EventScript_16738C, 62, 0, 0
object_event 4, 49, 0, 27, 0, 22, 0, 3, 8, 17, 0, 0, 0, 0, 0, SaffronCity_Duplicate_EventScript_167395, 62, 0, 0
object_event 5, 49, 0, 25, 0, 33, 0, 3, 5, 23, 0, 0, 0, 0, 0, SaffronCity_Duplicate_EventScript_16739E, 62, 0, 0
object_event 6, 49, 0, 34, 0, 31, 0, 3, 8, 17, 0, 0, 0, 0, 0, SaffronCity_Duplicate_EventScript_1673B9, 62, 0, 0
object_event 7, 49, 0, 30, 0, 39, 0, 3, 5, 21, 0, 0, 0, 0, 0, SaffronCity_Duplicate_EventScript_1673B0, 62, 0, 0
object_event 8, 49, 0, 48, 0, 24, 0, 3, 5, 20, 0, 0, 0, 0, 0, SaffronCity_Duplicate_EventScript_1673A7, 62, 0, 0
object_event 9, 18, 0, 37, 0, 32, 0, 3, 1, 17, 0, 0, 0, 0, 0, SaffronCity_Duplicate_EventScript_1673EC, 63, 0, 0
object_event 10, 47, 0, 21, 0, 23, 0, 3, 2, 17, 0, 0, 0, 0, 0, SaffronCity_Duplicate_EventScript_1673E3, 63, 0, 0
object_event 11, 25, 0, 39, 0, 16, 0, 3, 7, 17, 0, 0, 0, 0, 0, SaffronCity_Duplicate_EventScript_16741A, 63, 0, 0
object_event 12, 19, 0, 44, 0, 22, 0, 3, 8, 17, 0, 0, 0, 0, 0, SaffronCity_Duplicate_EventScript_1673FE, 63, 0, 0
object_event 13, 114, 0, 45, 0, 22, 0, 3, 8, 17, 0, 0, 0, 0, 0, SaffronCity_Duplicate_EventScript_167407, 63, 0, 0
object_event 14, 22, 0, 32, 0, 39, 0, 3, 5, 21, 0, 0, 0, 0, 0, SaffronCity_Duplicate_EventScript_1673F5, 63, 0, 0
object_event 15, 24, 0, 47, 0, 24, 0, 3, 5, 17, 0, 0, 0, 0, 0, SaffronCity_Duplicate_EventScript_1AD03A, 157, 0, 0
SaffronCity_Duplicate_MapWarps:
warp_def 33, 30, 0, 1, 303
warp_def 22, 14, 0, 1, 3584
warp_def 40, 12, 0, 1, 3586
warp_def 46, 12, 0, 1, 3587
warp_def 27, 21, 0, 1, 3588
warp_def 40, 21, 0, 1, 3589
warp_def 24, 38, 0, 1, 3590
warp_def 43, 38, 0, 1, 3592
warp_def 8, 27, 3, 2, 4864
warp_def 34, 5, 3, 2, 4353
warp_def 58, 27, 3, 1, 5120
warp_def 34, 46, 3, 0, 4608
warp_def 35, 46, 3, 0, 4608
warp_def 35, 5, 3, 2, 4353
warp_def 47, 21, 0, 0, 3593
SaffronCity_Duplicate_MapBGEvents:
bg_event 29, 14, 0, 0, 0, SaffronCity_Duplicate_EventScript_167423
bg_event 42, 14, 0, 0, 0, SaffronCity_Duplicate_EventScript_16742C
bg_event 13, 25, 0, 0, 0, SaffronCity_Duplicate_EventScript_167471
bg_event 18, 30, 0, 0, 0, SaffronCity_Duplicate_EventScript_167456
bg_event 29, 31, 0, 0, 0, SaffronCity_Duplicate_EventScript_16745F
bg_event 54, 25, 0, 0, 0, SaffronCity_Duplicate_EventScript_16744D
bg_event 50, 14, 0, 0, 0, SaffronCity_Duplicate_EventScript_167435
bg_event 40, 38, 0, 0, 0, SaffronCity_Duplicate_EventScript_167468
bg_event 49, 22, 0, 0, 0, SaffronCity_Duplicate_EventScript_16747A
SaffronCity_Duplicate_MapEvents::
map_events SaffronCity_Duplicate_EventObjects, SaffronCity_Duplicate_MapWarps, 0x0, SaffronCity_Duplicate_MapBGEvents
@@ -1,8 +0,0 @@
SaffronCity_Duplicate:: @ 8350730
.4byte SaffronCity_Duplicate_Layout @ 0x831E8D4
.4byte SaffronCity_Duplicate_MapEvents @ 0x83B5E9C
.4byte SaffronCity_Duplicate_MapScripts @ 0x816735F
.4byte NULL
.2byte BGM_FRLG_VIRIDIAN_CITY
.2byte 207
.byte 0x62, 0x00, 0x02, 0x01, 0x01, 0x06, 0x00, 0x00
+407
View File
@@ -0,0 +1,407 @@
{
"id": "MAP_SAFFRON_CITY_DUPLICATE",
"name": "SaffronCity_Duplicate",
"layout": "LAYOUT_SAFFRON_CITY_DUPLICATE",
"music": "BGM_FRLG_VIRIDIAN_CITY",
"region_map_section": "MAPSEC_SAFFRON_CITY",
"requires_flash": false,
"weather": "WEATHER_2",
"map_type": "MAP_TYPE_1",
"unknown_18": 1,
"unknown_19": 6,
"elevator_flag": 0,
"battle_scene": "BATTLE_SCENE_0",
"connections": [
{
"map": "MAP_ROUTE5",
"offset": 0,
"direction": "up"
},
{
"map": "MAP_ROUTE6",
"offset": 12,
"direction": "down"
},
{
"map": "MAP_ROUTE7",
"offset": 10,
"direction": "left"
},
{
"map": "MAP_ROUTE8",
"offset": 10,
"direction": "right"
}
],
"connections_no_include": true,
"object_events": [
{
"graphics_id": "49",
"x": 22,
"y": 15,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SaffronCity_Duplicate_EventScript_16737A",
"flag": "62"
},
{
"graphics_id": "49",
"x": 26,
"y": 16,
"elevation": 3,
"movement_type": "5",
"movement_range_x": 4,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SaffronCity_Duplicate_EventScript_167383",
"flag": "62"
},
{
"graphics_id": "49",
"x": 46,
"y": 13,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SaffronCity_Duplicate_EventScript_16738C",
"flag": "62"
},
{
"graphics_id": "49",
"x": 27,
"y": 22,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SaffronCity_Duplicate_EventScript_167395",
"flag": "62"
},
{
"graphics_id": "49",
"x": 25,
"y": 33,
"elevation": 3,
"movement_type": "5",
"movement_range_x": 7,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SaffronCity_Duplicate_EventScript_16739E",
"flag": "62"
},
{
"graphics_id": "49",
"x": 34,
"y": 31,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SaffronCity_Duplicate_EventScript_1673B9",
"flag": "62"
},
{
"graphics_id": "49",
"x": 30,
"y": 39,
"elevation": 3,
"movement_type": "5",
"movement_range_x": 5,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SaffronCity_Duplicate_EventScript_1673B0",
"flag": "62"
},
{
"graphics_id": "49",
"x": 48,
"y": 24,
"elevation": 3,
"movement_type": "5",
"movement_range_x": 4,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SaffronCity_Duplicate_EventScript_1673A7",
"flag": "62"
},
{
"graphics_id": "18",
"x": 37,
"y": 32,
"elevation": 3,
"movement_type": "1",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SaffronCity_Duplicate_EventScript_1673EC",
"flag": "63"
},
{
"graphics_id": "47",
"x": 21,
"y": 23,
"elevation": 3,
"movement_type": "2",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SaffronCity_Duplicate_EventScript_1673E3",
"flag": "63"
},
{
"graphics_id": "25",
"x": 39,
"y": 16,
"elevation": 3,
"movement_type": "7",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SaffronCity_Duplicate_EventScript_16741A",
"flag": "63"
},
{
"graphics_id": "19",
"x": 44,
"y": 22,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SaffronCity_Duplicate_EventScript_1673FE",
"flag": "63"
},
{
"graphics_id": "114",
"x": 45,
"y": 22,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SaffronCity_Duplicate_EventScript_167407",
"flag": "63"
},
{
"graphics_id": "22",
"x": 32,
"y": 39,
"elevation": 3,
"movement_type": "5",
"movement_range_x": 5,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SaffronCity_Duplicate_EventScript_1673F5",
"flag": "63"
},
{
"graphics_id": "24",
"x": 47,
"y": 24,
"elevation": 3,
"movement_type": "5",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SaffronCity_Duplicate_EventScript_1AD03A",
"flag": "157"
}
],
"warp_events": [
{
"x": 33,
"y": 30,
"elevation": 0,
"dest_map": "MAP_SILPH_CO_1F",
"dest_warp_id": 1
},
{
"x": 22,
"y": 14,
"elevation": 0,
"dest_map": "MAP_SAFFRON_CITY_HOUSE1_1F",
"dest_warp_id": 1
},
{
"x": 40,
"y": 12,
"elevation": 0,
"dest_map": "MAP_SAFFRON_CITY_DOJO",
"dest_warp_id": 1
},
{
"x": 46,
"y": 12,
"elevation": 0,
"dest_map": "MAP_SAFFRON_CITY_GYM",
"dest_warp_id": 1
},
{
"x": 27,
"y": 21,
"elevation": 0,
"dest_map": "MAP_SAFFRON_CITY_HOUSE2",
"dest_warp_id": 1
},
{
"x": 40,
"y": 21,
"elevation": 0,
"dest_map": "MAP_SAFFRON_CITY_MART",
"dest_warp_id": 1
},
{
"x": 24,
"y": 38,
"elevation": 0,
"dest_map": "MAP_SAFFRON_CITY_POKEMON_CENTER_1F",
"dest_warp_id": 1
},
{
"x": 43,
"y": 38,
"elevation": 0,
"dest_map": "MAP_SAFFRON_CITY_HOUSE3",
"dest_warp_id": 1
},
{
"x": 8,
"y": 27,
"elevation": 3,
"dest_map": "MAP_ROUTE7_EAST_ENTRANCE",
"dest_warp_id": 2
},
{
"x": 34,
"y": 5,
"elevation": 3,
"dest_map": "MAP_ROUTE5_SOUTH_ENTRANCE",
"dest_warp_id": 2
},
{
"x": 58,
"y": 27,
"elevation": 3,
"dest_map": "MAP_ROUTE8_WEST_ENTRANCE",
"dest_warp_id": 1
},
{
"x": 34,
"y": 46,
"elevation": 3,
"dest_map": "MAP_ROUTE6_NORTH_ENTRANCE",
"dest_warp_id": 0
},
{
"x": 35,
"y": 46,
"elevation": 3,
"dest_map": "MAP_ROUTE6_NORTH_ENTRANCE",
"dest_warp_id": 0
},
{
"x": 35,
"y": 5,
"elevation": 3,
"dest_map": "MAP_ROUTE5_SOUTH_ENTRANCE",
"dest_warp_id": 2
},
{
"x": 47,
"y": 21,
"elevation": 0,
"dest_map": "MAP_SAFFRON_CITY_POKEMON_TRAINER_FAN_CLUB",
"dest_warp_id": 0
}
],
"coord_events": [],
"bg_events": [
{
"type": "bg_event_type_0",
"x": 29,
"y": 14,
"elevation": 0,
"script": "SaffronCity_Duplicate_EventScript_167423"
},
{
"type": "bg_event_type_0",
"x": 42,
"y": 14,
"elevation": 0,
"script": "SaffronCity_Duplicate_EventScript_16742C"
},
{
"type": "bg_event_type_0",
"x": 13,
"y": 25,
"elevation": 0,
"script": "SaffronCity_Duplicate_EventScript_167471"
},
{
"type": "bg_event_type_0",
"x": 18,
"y": 30,
"elevation": 0,
"script": "SaffronCity_Duplicate_EventScript_167456"
},
{
"type": "bg_event_type_0",
"x": 29,
"y": 31,
"elevation": 0,
"script": "SaffronCity_Duplicate_EventScript_16745F"
},
{
"type": "bg_event_type_0",
"x": 54,
"y": 25,
"elevation": 0,
"script": "SaffronCity_Duplicate_EventScript_16744D"
},
{
"type": "bg_event_type_0",
"x": 50,
"y": 14,
"elevation": 0,
"script": "SaffronCity_Duplicate_EventScript_167435"
},
{
"type": "bg_event_type_0",
"x": 40,
"y": 38,
"elevation": 0,
"script": "SaffronCity_Duplicate_EventScript_167468"
},
{
"type": "bg_event_type_0",
"x": 49,
"y": 22,
"elevation": 0,
"script": "SaffronCity_Duplicate_EventScript_16747A"
}
]
}