convert map data to json
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
PewterCity_MapConnectionsList: @ 83527A0
|
||||
connection down, 12, MAP_ROUTE2
|
||||
connection right, 10, MAP_ROUTE3
|
||||
|
||||
PewterCity_MapConnections:: @ 83527B8
|
||||
.4byte 2
|
||||
.4byte PewterCity_MapConnectionsList
|
||||
@@ -1,37 +0,0 @@
|
||||
PewterCity_EventObjects:
|
||||
object_event 1, 22, 0, 6, 0, 15, 0, 3, 1, 17, 0, 0, 0, 0, 0, PewterCity_EventScript_166075, 0, 0, 0
|
||||
object_event 2, 25, 0, 33, 0, 17, 0, 3, 1, 17, 0, 0, 0, 0, 0, PewterCity_EventScript_16607E, 80, 0, 0
|
||||
object_event 3, 27, 0, 21, 0, 28, 0, 3, 8, 17, 0, 0, 0, 0, 0, PewterCity_EventScript_16622B, 0, 0, 0
|
||||
object_event 4, 20, 0, 33, 0, 27, 0, 3, 5, 18, 0, 0, 0, 0, 0, PewterCity_EventScript_166244, 0, 0, 0
|
||||
object_event 5, 19, 0, 42, 0, 20, 0, 3, 8, 17, 0, 0, 0, 0, 0, PewterCity_EventScript_165B9D, 46, 0, 0
|
||||
object_event 6, 95, 0, 30, 0, 5, 0, 3, 8, 17, 0, 0, 0, 0, 0, PewterCity_EventScript_1BDF13, 18, 0, 0
|
||||
object_event 7, 55, 0, 46, 0, 20, 0, 3, 10, 17, 0, 0, 0, 0, 0, PewterCity_EventScript_1662A9, 146, 0, 0
|
||||
|
||||
PewterCity_MapWarps:
|
||||
warp_def 17, 6, 0, 1, 1536
|
||||
warp_def 25, 4, 0, 3, 1536
|
||||
warp_def 15, 16, 0, 1, 1538
|
||||
warp_def 28, 18, 0, 1, 1539
|
||||
warp_def 33, 11, 0, 1, 1540
|
||||
warp_def 17, 25, 0, 1, 1541
|
||||
warp_def 9, 30, 0, 1, 1543
|
||||
|
||||
PewterCity_MapCoordEvents:
|
||||
coord_event 42, 21, 3, 0, 16492, 0, 0, PewterCity_EventScript_165D8E
|
||||
coord_event 42, 22, 3, 0, 16492, 0, 0, PewterCity_EventScript_165D9A
|
||||
coord_event 42, 23, 3, 0, 16492, 0, 0, PewterCity_EventScript_165DA6
|
||||
coord_event 43, 23, 3, 0, 16492, 0, 0, PewterCity_EventScript_165DB2
|
||||
coord_event 46, 21, 3, 0, 16492, 1, 0, PewterCity_EventScript_1662B7
|
||||
coord_event 46, 22, 3, 0, 16492, 1, 0, PewterCity_EventScript_1662C4
|
||||
coord_event 46, 23, 3, 0, 16492, 1, 0, PewterCity_EventScript_1662D1
|
||||
|
||||
PewterCity_MapBGEvents:
|
||||
bg_event 19, 7, 0, 0, 0, PewterCity_EventScript_16627F
|
||||
bg_event 39, 19, 0, 0, 0, PewterCity_EventScript_166276
|
||||
bg_event 11, 16, 0, 0, 0, PewterCity_EventScript_166288
|
||||
bg_event 20, 30, 0, 0, 0, PewterCity_EventScript_16626D
|
||||
bg_event 31, 25, 0, 0, 0, PewterCity_EventScript_1662A0
|
||||
bg_event 6, 3, 3, 7, 0, 4, 112, 1
|
||||
|
||||
PewterCity_MapEvents::
|
||||
map_events PewterCity_EventObjects, PewterCity_MapWarps, PewterCity_MapCoordEvents, PewterCity_MapBGEvents
|
||||
@@ -1,8 +0,0 @@
|
||||
PewterCity:: @ 8350650
|
||||
.4byte PewterCity_Layout @ 0x82DF308
|
||||
.4byte PewterCity_MapEvents @ 0x83B518C
|
||||
.4byte PewterCity_MapScripts @ 0x8165B8E
|
||||
.4byte PewterCity_MapConnections @ 0x83527B8
|
||||
.2byte BGM_FRLG_VIRIDIAN_CITY
|
||||
.2byte 80
|
||||
.byte 0x5a, 0x00, 0x02, 0x01, 0x01, 0x06, 0x00, 0x00
|
||||
@@ -0,0 +1,281 @@
|
||||
{
|
||||
"id": "MAP_PEWTER_CITY",
|
||||
"name": "PewterCity",
|
||||
"layout": "LAYOUT_PEWTER_CITY",
|
||||
"music": "BGM_FRLG_VIRIDIAN_CITY",
|
||||
"region_map_section": "MAPSEC_PEWTER_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_ROUTE2",
|
||||
"offset": 12,
|
||||
"direction": "down"
|
||||
},
|
||||
{
|
||||
"map": "MAP_ROUTE3",
|
||||
"offset": 10,
|
||||
"direction": "right"
|
||||
}
|
||||
],
|
||||
"object_events": [
|
||||
{
|
||||
"graphics_id": "22",
|
||||
"x": 6,
|
||||
"y": 15,
|
||||
"elevation": 3,
|
||||
"movement_type": "1",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "PewterCity_EventScript_166075",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "25",
|
||||
"x": 33,
|
||||
"y": 17,
|
||||
"elevation": 3,
|
||||
"movement_type": "1",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "PewterCity_EventScript_16607E",
|
||||
"flag": "80"
|
||||
},
|
||||
{
|
||||
"graphics_id": "27",
|
||||
"x": 21,
|
||||
"y": 28,
|
||||
"elevation": 3,
|
||||
"movement_type": "8",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "PewterCity_EventScript_16622B",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "20",
|
||||
"x": 33,
|
||||
"y": 27,
|
||||
"elevation": 3,
|
||||
"movement_type": "5",
|
||||
"movement_range_x": 2,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "PewterCity_EventScript_166244",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "19",
|
||||
"x": 42,
|
||||
"y": 20,
|
||||
"elevation": 3,
|
||||
"movement_type": "8",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "PewterCity_EventScript_165B9D",
|
||||
"flag": "46"
|
||||
},
|
||||
{
|
||||
"graphics_id": "95",
|
||||
"x": 30,
|
||||
"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": "PewterCity_EventScript_1BDF13",
|
||||
"flag": "18"
|
||||
},
|
||||
{
|
||||
"graphics_id": "55",
|
||||
"x": 46,
|
||||
"y": 20,
|
||||
"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_EventScript_1662A9",
|
||||
"flag": "146"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 17,
|
||||
"y": 6,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_PEWTER_CITY_MUSEUM_1F",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 25,
|
||||
"y": 4,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_PEWTER_CITY_MUSEUM_1F",
|
||||
"dest_warp_id": 3
|
||||
},
|
||||
{
|
||||
"x": 15,
|
||||
"y": 16,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_PEWTER_CITY_GYM",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 28,
|
||||
"y": 18,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_PEWTER_CITY_MART",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 33,
|
||||
"y": 11,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_PEWTER_CITY_HOUSE1",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 17,
|
||||
"y": 25,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_PEWTER_CITY_POKEMON_CENTER_1F",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 9,
|
||||
"y": 30,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_PEWTER_CITY_HOUSE2",
|
||||
"dest_warp_id": 1
|
||||
}
|
||||
],
|
||||
"coord_events": [
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 42,
|
||||
"y": 21,
|
||||
"elevation": 3,
|
||||
"var": "VAR_0x406C",
|
||||
"var_value": 0,
|
||||
"script": "PewterCity_EventScript_165D8E"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 42,
|
||||
"y": 22,
|
||||
"elevation": 3,
|
||||
"var": "VAR_0x406C",
|
||||
"var_value": 0,
|
||||
"script": "PewterCity_EventScript_165D9A"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 42,
|
||||
"y": 23,
|
||||
"elevation": 3,
|
||||
"var": "VAR_0x406C",
|
||||
"var_value": 0,
|
||||
"script": "PewterCity_EventScript_165DA6"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 43,
|
||||
"y": 23,
|
||||
"elevation": 3,
|
||||
"var": "VAR_0x406C",
|
||||
"var_value": 0,
|
||||
"script": "PewterCity_EventScript_165DB2"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 46,
|
||||
"y": 21,
|
||||
"elevation": 3,
|
||||
"var": "VAR_0x406C",
|
||||
"var_value": 1,
|
||||
"script": "PewterCity_EventScript_1662B7"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 46,
|
||||
"y": 22,
|
||||
"elevation": 3,
|
||||
"var": "VAR_0x406C",
|
||||
"var_value": 1,
|
||||
"script": "PewterCity_EventScript_1662C4"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 46,
|
||||
"y": 23,
|
||||
"elevation": 3,
|
||||
"var": "VAR_0x406C",
|
||||
"var_value": 1,
|
||||
"script": "PewterCity_EventScript_1662D1"
|
||||
}
|
||||
],
|
||||
"bg_events": [
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 19,
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"script": "PewterCity_EventScript_16627F"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 39,
|
||||
"y": 19,
|
||||
"elevation": 0,
|
||||
"script": "PewterCity_EventScript_166276"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 11,
|
||||
"y": 16,
|
||||
"elevation": 0,
|
||||
"script": "PewterCity_EventScript_166288"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 20,
|
||||
"y": 30,
|
||||
"elevation": 0,
|
||||
"script": "PewterCity_EventScript_16626D"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 31,
|
||||
"y": 25,
|
||||
"elevation": 0,
|
||||
"script": "PewterCity_EventScript_1662A0"
|
||||
},
|
||||
{
|
||||
"type": "hidden_item",
|
||||
"x": 6,
|
||||
"y": 3,
|
||||
"elevation": 3,
|
||||
"item": "POCKET_TM_CASE",
|
||||
"flag": "112",
|
||||
"unknown": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user