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
-8
View File
@@ -1,8 +0,0 @@
FuchsiaCity_MapConnectionsList: @ 8352864
connection down, 12, MAP_ROUTE19
connection left, 10, MAP_ROUTE18
connection right, 10, MAP_ROUTE15
FuchsiaCity_MapConnections:: @ 8352888
.4byte 3
.4byte FuchsiaCity_MapConnectionsList
-47
View File
@@ -1,47 +0,0 @@
FuchsiaCity_EventObjects:
object_event 1, 27, 0, 37, 0, 17, 0, 3, 8, 17, 0, 0, 0, 0, 0, FuchsiaCity_EventScript_166DAF, 0, 0, 0
object_event 2, 128, 0, 36, 0, 15, 0, 3, 80, 20, 0, 0, 0, 0, 0, 0x0, 0, 0, 0
object_event 3, 127, 0, 33, 0, 8, 0, 3, 8, 17, 0, 0, 0, 0, 0, 0x0, 0, 0, 0
object_event 4, 18, 0, 33, 0, 11, 0, 3, 7, 17, 0, 0, 0, 0, 0, FuchsiaCity_EventScript_166DB8, 0, 0, 0
object_event 5, 117, 0, 39, 0, 8, 0, 3, 2, 19, 0, 0, 0, 0, 0, 0x0, 0, 0, 0
object_event 6, 16, 0, 14, 0, 15, 0, 3, 5, 19, 0, 0, 0, 0, 0, FuchsiaCity_EventScript_166D9D, 0, 0, 0
object_event 7, 135, 0, 12, 0, 20, 0, 1, 2, 18, 0, 0, 0, 0, 0, 0x0, 0, 0, 0
object_event 8, 32, 0, 36, 0, 20, 0, 3, 5, 20, 0, 0, 0, 0, 0, FuchsiaCity_EventScript_166DA6, 0, 0, 0
object_event 9, 240, 0, 8, 0, 8, 0, 1, 8, 17, 0, 0, 0, 0, 0, 0x0, 0, 0, 0
object_event 10, 119, 0, 16, 0, 9, 0, 3, 2, 20, 0, 0, 0, 0, 0, 0x0, 0, 0, 0
object_event 11, 95, 0, 30, 0, 10, 0, 3, 8, 17, 0, 0, 0, 0, 0, FuchsiaCity_EventScript_1BDF13, 18, 0, 0
object_event 12, 95, 0, 21, 0, 13, 0, 3, 8, 17, 0, 0, 0, 0, 0, FuchsiaCity_EventScript_1BDF13, 19, 0, 0
object_event 13, 95, 0, 32, 0, 16, 0, 3, 8, 17, 0, 0, 0, 0, 0, FuchsiaCity_EventScript_1BDF13, 20, 0, 0
object_event 14, 95, 0, 24, 0, 22, 0, 3, 8, 17, 0, 0, 0, 0, 0, FuchsiaCity_EventScript_1BDF13, 21, 0, 0
object_event 15, 20, 0, 15, 0, 11, 0, 3, 7, 17, 0, 0, 0, 0, 0, FuchsiaCity_EventScript_1C4AEE, 0, 0, 0
object_event 16, 22, 0, 40, 0, 6, 0, 3, 8, 17, 0, 0, 0, 0, 0, FuchsiaCity_EventScript_166DC1, 157, 0, 0
FuchsiaCity_MapWarps:
warp_def 24, 5, 0, 2, 2816
warp_def 33, 31, 0, 1, 2823
warp_def 11, 15, 0, 1, 2817
warp_def 28, 16, 0, 1, 2818
warp_def 9, 32, 0, 1, 2819
warp_def 14, 31, 0, 1, 2820
warp_def 25, 31, 3, 1, 2821
warp_def 38, 31, 0, 1, 2824
warp_def 39, 28, 3, 3, 2824
warp_def 39, 29, 3, 3, 2824
warp_def 19, 31, 0, 0, 2825
FuchsiaCity_MapBGEvents:
bg_event 31, 18, 3, 0, 0, FuchsiaCity_EventScript_166DDA
bg_event 26, 18, 0, 0, 0, FuchsiaCity_EventScript_166DE3
bg_event 5, 32, 0, 0, 0, FuchsiaCity_EventScript_166E07
bg_event 31, 31, 0, 0, 0, FuchsiaCity_EventScript_166DF5
bg_event 35, 10, 0, 0, 0, FuchsiaCity_EventScript_166E38
bg_event 38, 16, 3, 0, 0, FuchsiaCity_EventScript_166E6A
bg_event 41, 10, 0, 0, 0, FuchsiaCity_EventScript_166E1F
bg_event 17, 10, 0, 0, 0, FuchsiaCity_EventScript_166E51
bg_event 11, 10, 0, 0, 0, FuchsiaCity_EventScript_166E9C
bg_event 17, 18, 3, 0, 0, FuchsiaCity_EventScript_166E83
bg_event 22, 7, 0, 0, 0, FuchsiaCity_EventScript_166DEC
bg_event 33, 26, 3, 7, 0, 25, 133, 1
FuchsiaCity_MapEvents::
map_events FuchsiaCity_EventObjects, FuchsiaCity_MapWarps, 0x0, FuchsiaCity_MapBGEvents
-8
View File
@@ -1,8 +0,0 @@
FuchsiaCity:: @ 83506DC
.4byte FuchsiaCity_Layout @ 0x82E373C
.4byte FuchsiaCity_MapEvents @ 0x83B5B14
.4byte FuchsiaCity_MapScripts @ 0x8166D75
.4byte FuchsiaCity_MapConnections @ 0x8352888
.2byte BGM_FRLG_CERULEAN_CITY
.2byte 85
.byte 0x5f, 0x00, 0x02, 0x01, 0x01, 0x06, 0x00, 0x00
+409
View File
@@ -0,0 +1,409 @@
{
"id": "MAP_FUCHSIA_CITY",
"name": "FuchsiaCity",
"layout": "LAYOUT_FUCHSIA_CITY",
"music": "BGM_FRLG_CERULEAN_CITY",
"region_map_section": "MAPSEC_FUCHSIA_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_ROUTE19",
"offset": 12,
"direction": "down"
},
{
"map": "MAP_ROUTE18",
"offset": 10,
"direction": "left"
},
{
"map": "MAP_ROUTE15",
"offset": 10,
"direction": "right"
}
],
"object_events": [
{
"graphics_id": "27",
"x": 37,
"y": 17,
"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_EventScript_166DAF",
"flag": "0"
},
{
"graphics_id": "128",
"x": 36,
"y": 15,
"elevation": 3,
"movement_type": "80",
"movement_range_x": 4,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "0x0",
"flag": "0"
},
{
"graphics_id": "127",
"x": 33,
"y": 8,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "0x0",
"flag": "0"
},
{
"graphics_id": "18",
"x": 33,
"y": 11,
"elevation": 3,
"movement_type": "7",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FuchsiaCity_EventScript_166DB8",
"flag": "0"
},
{
"graphics_id": "117",
"x": 39,
"y": 8,
"elevation": 3,
"movement_type": "2",
"movement_range_x": 3,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "0x0",
"flag": "0"
},
{
"graphics_id": "16",
"x": 14,
"y": 15,
"elevation": 3,
"movement_type": "5",
"movement_range_x": 3,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FuchsiaCity_EventScript_166D9D",
"flag": "0"
},
{
"graphics_id": "135",
"x": 12,
"y": 20,
"elevation": 1,
"movement_type": "2",
"movement_range_x": 2,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "0x0",
"flag": "0"
},
{
"graphics_id": "32",
"x": 36,
"y": 20,
"elevation": 3,
"movement_type": "5",
"movement_range_x": 4,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FuchsiaCity_EventScript_166DA6",
"flag": "0"
},
{
"graphics_id": "240",
"x": 8,
"y": 8,
"elevation": 1,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "0x0",
"flag": "0"
},
{
"graphics_id": "119",
"x": 16,
"y": 9,
"elevation": 3,
"movement_type": "2",
"movement_range_x": 4,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "0x0",
"flag": "0"
},
{
"graphics_id": "95",
"x": 30,
"y": 10,
"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_EventScript_1BDF13",
"flag": "18"
},
{
"graphics_id": "95",
"x": 21,
"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": "FuchsiaCity_EventScript_1BDF13",
"flag": "19"
},
{
"graphics_id": "95",
"x": 32,
"y": 16,
"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_EventScript_1BDF13",
"flag": "20"
},
{
"graphics_id": "95",
"x": 24,
"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": "FuchsiaCity_EventScript_1BDF13",
"flag": "21"
},
{
"graphics_id": "20",
"x": 15,
"y": 11,
"elevation": 3,
"movement_type": "7",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FuchsiaCity_EventScript_1C4AEE",
"flag": "0"
},
{
"graphics_id": "22",
"x": 40,
"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": "FuchsiaCity_EventScript_166DC1",
"flag": "157"
}
],
"warp_events": [
{
"x": 24,
"y": 5,
"elevation": 0,
"dest_map": "MAP_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE",
"dest_warp_id": 2
},
{
"x": 33,
"y": 31,
"elevation": 0,
"dest_map": "MAP_FUCHSIA_CITY_BUILDING1",
"dest_warp_id": 1
},
{
"x": 11,
"y": 15,
"elevation": 0,
"dest_map": "MAP_FUCHSIA_CITY_MART",
"dest_warp_id": 1
},
{
"x": 28,
"y": 16,
"elevation": 0,
"dest_map": "MAP_FUCHSIA_CITY_ZOO_BUILDING",
"dest_warp_id": 1
},
{
"x": 9,
"y": 32,
"elevation": 0,
"dest_map": "MAP_FUCHSIA_CITY_GYM",
"dest_warp_id": 1
},
{
"x": 14,
"y": 31,
"elevation": 0,
"dest_map": "MAP_FUCHSIA_CITY_HOUSE1",
"dest_warp_id": 1
},
{
"x": 25,
"y": 31,
"elevation": 3,
"dest_map": "MAP_FUCHSIA_CITY_POKEMON_CENTER_1F",
"dest_warp_id": 1
},
{
"x": 38,
"y": 31,
"elevation": 0,
"dest_map": "MAP_FUCHSIA_CITY_HOUSE2",
"dest_warp_id": 1
},
{
"x": 39,
"y": 28,
"elevation": 3,
"dest_map": "MAP_FUCHSIA_CITY_HOUSE2",
"dest_warp_id": 3
},
{
"x": 39,
"y": 29,
"elevation": 3,
"dest_map": "MAP_FUCHSIA_CITY_HOUSE2",
"dest_warp_id": 3
},
{
"x": 19,
"y": 31,
"elevation": 0,
"dest_map": "MAP_FUCHSIA_CITY_HOUSE3",
"dest_warp_id": 0
}
],
"coord_events": [],
"bg_events": [
{
"type": "bg_event_type_0",
"x": 31,
"y": 18,
"elevation": 3,
"script": "FuchsiaCity_EventScript_166DDA"
},
{
"type": "bg_event_type_0",
"x": 26,
"y": 18,
"elevation": 0,
"script": "FuchsiaCity_EventScript_166DE3"
},
{
"type": "bg_event_type_0",
"x": 5,
"y": 32,
"elevation": 0,
"script": "FuchsiaCity_EventScript_166E07"
},
{
"type": "bg_event_type_0",
"x": 31,
"y": 31,
"elevation": 0,
"script": "FuchsiaCity_EventScript_166DF5"
},
{
"type": "bg_event_type_0",
"x": 35,
"y": 10,
"elevation": 0,
"script": "FuchsiaCity_EventScript_166E38"
},
{
"type": "bg_event_type_0",
"x": 38,
"y": 16,
"elevation": 3,
"script": "FuchsiaCity_EventScript_166E6A"
},
{
"type": "bg_event_type_0",
"x": 41,
"y": 10,
"elevation": 0,
"script": "FuchsiaCity_EventScript_166E1F"
},
{
"type": "bg_event_type_0",
"x": 17,
"y": 10,
"elevation": 0,
"script": "FuchsiaCity_EventScript_166E51"
},
{
"type": "bg_event_type_0",
"x": 11,
"y": 10,
"elevation": 0,
"script": "FuchsiaCity_EventScript_166E9C"
},
{
"type": "bg_event_type_0",
"x": 17,
"y": 18,
"elevation": 3,
"script": "FuchsiaCity_EventScript_166E83"
},
{
"type": "bg_event_type_0",
"x": 22,
"y": 7,
"elevation": 0,
"script": "FuchsiaCity_EventScript_166DEC"
},
{
"type": "hidden_item",
"x": 33,
"y": 26,
"elevation": 3,
"item": "ITEM_MAX_REVIVE",
"flag": "133",
"unknown": 1
}
]
}