convert map data to json
This commit is contained in:
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user