convert map data to json
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
VermilionCity_MapConnectionsList: @ 8352824
|
||||
connection up, 12, MAP_ROUTE6
|
||||
connection right, 10, MAP_ROUTE11
|
||||
|
||||
VermilionCity_MapConnections:: @ 835283C
|
||||
.4byte 2
|
||||
.4byte VermilionCity_MapConnectionsList
|
||||
@@ -1,38 +0,0 @@
|
||||
VermilionCity_EventObjects:
|
||||
object_event 1, 23, 0, 22, 0, 11, 0, 3, 5, 20, 0, 0, 0, 0, 0, VermilionCity_EventScript_166917, 0, 0, 0
|
||||
object_event 2, 32, 0, 17, 0, 9, 0, 3, 1, 17, 0, 0, 0, 0, 0, VermilionCity_EventScript_166920, 0, 0, 0
|
||||
object_event 3, 33, 0, 36, 0, 10, 0, 0, 17, 17, 0, 0, 0, 0, 0, VermilionCity_EventScript_166C2F, 0, 0, 0
|
||||
object_event 4, 130, 0, 35, 0, 11, 0, 3, 2, 34, 0, 0, 0, 0, 0, VermilionCity_EventScript_166C38, 0, 0, 0
|
||||
object_event 5, 62, 0, 31, 0, 30, 0, 3, 5, 20, 0, 0, 0, 0, 0, VermilionCity_EventScript_166C17, 0, 0, 0
|
||||
object_event 6, 62, 0, 24, 0, 33, 0, 3, 7, 17, 0, 0, 0, 0, 0, VermilionCity_EventScript_166941, 0, 0, 0
|
||||
object_event 7, 95, 0, 19, 0, 24, 0, 3, 8, 17, 0, 0, 0, 0, 0, VermilionCity_EventScript_1BDF13, 18, 0, 0
|
||||
object_event 8, 55, 0, 25, 0, 7, 0, 3, 1, 20, 0, 0, 0, 0, 0, VermilionCity_EventScript_166C20, 161, 0, 0
|
||||
|
||||
VermilionCity_MapWarps:
|
||||
warp_def 22, 34, 3, 1, 260
|
||||
warp_def 23, 34, 3, 1, 260
|
||||
warp_def 24, 34, 3, 1, 260
|
||||
warp_def 9, 6, 0, 1, 2304
|
||||
warp_def 15, 6, 3, 1, 2305
|
||||
warp_def 12, 17, 0, 1, 2307
|
||||
warp_def 19, 17, 0, 1, 2308
|
||||
warp_def 29, 17, 0, 1, 2309
|
||||
warp_def 28, 24, 0, 1, 2311
|
||||
warp_def 14, 25, 0, 1, 2310
|
||||
|
||||
VermilionCity_MapCoordEvents:
|
||||
coord_event 22, 33, 0, 0, 16467, 0, 0, VermilionCity_EventScript_166B8A
|
||||
coord_event 23, 33, 0, 0, 16467, 0, 0, VermilionCity_EventScript_166B91
|
||||
coord_event 22, 32, 0, 0, 16385, 0, 0, VermilionCity_EventScript_166B98
|
||||
coord_event 23, 32, 0, 0, 16385, 0, 0, VermilionCity_EventScript_166B98
|
||||
|
||||
VermilionCity_MapBGEvents:
|
||||
bg_event 33, 6, 0, 0, 0, VermilionCity_EventScript_166C53
|
||||
bg_event 10, 17, 3, 0, 0, VermilionCity_EventScript_166C65
|
||||
bg_event 10, 24, 0, 0, 0, VermilionCity_EventScript_166C6E
|
||||
bg_event 34, 18, 0, 0, 0, VermilionCity_EventScript_166C86
|
||||
bg_event 45, 17, 3, 0, 0, VermilionCity_EventScript_166C5C
|
||||
bg_event 14, 11, 3, 7, 0, 35, 48, 1
|
||||
|
||||
VermilionCity_MapEvents::
|
||||
map_events VermilionCity_EventObjects, VermilionCity_MapWarps, VermilionCity_MapCoordEvents, VermilionCity_MapBGEvents
|
||||
@@ -1,8 +0,0 @@
|
||||
VermilionCity:: @ 83506A4
|
||||
.4byte VermilionCity_Layout @ 0x82E1534
|
||||
.4byte VermilionCity_MapEvents @ 0x83B5648
|
||||
.4byte VermilionCity_MapScripts @ 0x81668DC
|
||||
.4byte VermilionCity_MapConnections @ 0x835283C
|
||||
.2byte BGM_FRLG_VERMILION_CITY
|
||||
.2byte 83
|
||||
.byte 0x5d, 0x00, 0x02, 0x01, 0x01, 0x06, 0x00, 0x00
|
||||
@@ -0,0 +1,288 @@
|
||||
{
|
||||
"id": "MAP_VERMILION_CITY",
|
||||
"name": "VermilionCity",
|
||||
"layout": "LAYOUT_VERMILION_CITY",
|
||||
"music": "BGM_FRLG_VERMILION_CITY",
|
||||
"region_map_section": "MAPSEC_VERMILION_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_ROUTE6",
|
||||
"offset": 12,
|
||||
"direction": "up"
|
||||
},
|
||||
{
|
||||
"map": "MAP_ROUTE11",
|
||||
"offset": 10,
|
||||
"direction": "right"
|
||||
}
|
||||
],
|
||||
"object_events": [
|
||||
{
|
||||
"graphics_id": "23",
|
||||
"x": 22,
|
||||
"y": 11,
|
||||
"elevation": 3,
|
||||
"movement_type": "5",
|
||||
"movement_range_x": 4,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "VermilionCity_EventScript_166917",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "32",
|
||||
"x": 17,
|
||||
"y": 9,
|
||||
"elevation": 3,
|
||||
"movement_type": "1",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "VermilionCity_EventScript_166920",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "33",
|
||||
"x": 36,
|
||||
"y": 10,
|
||||
"elevation": 0,
|
||||
"movement_type": "17",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "VermilionCity_EventScript_166C2F",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "130",
|
||||
"x": 35,
|
||||
"y": 11,
|
||||
"elevation": 3,
|
||||
"movement_type": "2",
|
||||
"movement_range_x": 2,
|
||||
"movement_range_y": 2,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "VermilionCity_EventScript_166C38",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "62",
|
||||
"x": 31,
|
||||
"y": 30,
|
||||
"elevation": 3,
|
||||
"movement_type": "5",
|
||||
"movement_range_x": 4,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "VermilionCity_EventScript_166C17",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "62",
|
||||
"x": 24,
|
||||
"y": 33,
|
||||
"elevation": 3,
|
||||
"movement_type": "7",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "VermilionCity_EventScript_166941",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "95",
|
||||
"x": 19,
|
||||
"y": 24,
|
||||
"elevation": 3,
|
||||
"movement_type": "8",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "VermilionCity_EventScript_1BDF13",
|
||||
"flag": "18"
|
||||
},
|
||||
{
|
||||
"graphics_id": "55",
|
||||
"x": 25,
|
||||
"y": 7,
|
||||
"elevation": 3,
|
||||
"movement_type": "1",
|
||||
"movement_range_x": 4,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "VermilionCity_EventScript_166C20",
|
||||
"flag": "161"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 22,
|
||||
"y": 34,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_SSANNE_EXTERIOR",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 23,
|
||||
"y": 34,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_SSANNE_EXTERIOR",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 24,
|
||||
"y": 34,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_SSANNE_EXTERIOR",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 9,
|
||||
"y": 6,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_VERMILION_CITY_HOUSE1",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 15,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_VERMILION_CITY_POKEMON_CENTER_1F",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 12,
|
||||
"y": 17,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_VERMILION_CITY_POKEMON_FAN_CLUB",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 19,
|
||||
"y": 17,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_VERMILION_CITY_HOUSE2",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 29,
|
||||
"y": 17,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_VERMILION_CITY_MART",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 28,
|
||||
"y": 24,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_VERMILION_CITY_HOUSE3",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 14,
|
||||
"y": 25,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_VERMILION_CITY_GYM",
|
||||
"dest_warp_id": 1
|
||||
}
|
||||
],
|
||||
"coord_events": [
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 22,
|
||||
"y": 33,
|
||||
"elevation": 0,
|
||||
"var": "VAR_0x4053",
|
||||
"var_value": 0,
|
||||
"script": "VermilionCity_EventScript_166B8A"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 23,
|
||||
"y": 33,
|
||||
"elevation": 0,
|
||||
"var": "VAR_0x4053",
|
||||
"var_value": 0,
|
||||
"script": "VermilionCity_EventScript_166B91"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 22,
|
||||
"y": 32,
|
||||
"elevation": 0,
|
||||
"var": "VAR_0x4001",
|
||||
"var_value": 0,
|
||||
"script": "VermilionCity_EventScript_166B98"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 23,
|
||||
"y": 32,
|
||||
"elevation": 0,
|
||||
"var": "VAR_0x4001",
|
||||
"var_value": 0,
|
||||
"script": "VermilionCity_EventScript_166B98"
|
||||
}
|
||||
],
|
||||
"bg_events": [
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 33,
|
||||
"y": 6,
|
||||
"elevation": 0,
|
||||
"script": "VermilionCity_EventScript_166C53"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 10,
|
||||
"y": 17,
|
||||
"elevation": 3,
|
||||
"script": "VermilionCity_EventScript_166C65"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 10,
|
||||
"y": 24,
|
||||
"elevation": 0,
|
||||
"script": "VermilionCity_EventScript_166C6E"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 34,
|
||||
"y": 18,
|
||||
"elevation": 0,
|
||||
"script": "VermilionCity_EventScript_166C86"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 45,
|
||||
"y": 17,
|
||||
"elevation": 3,
|
||||
"script": "VermilionCity_EventScript_166C5C"
|
||||
},
|
||||
{
|
||||
"type": "hidden_item",
|
||||
"x": 14,
|
||||
"y": 11,
|
||||
"elevation": 3,
|
||||
"item": "ITEM_MAX_ETHER",
|
||||
"flag": "48",
|
||||
"unknown": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user