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