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
-32
View File
@@ -1,32 +0,0 @@
VictoryRoad_2F_EventObjects:
object_event 1, 52, 0, 7, 0, 4, 0, 3, 8, 17, 0, 1, 0, 1, 0, VictoryRoad_2F_EventScript_161037, 0, 0, 0
object_event 2, 54, 0, 20, 0, 11, 0, 4, 17, 17, 0, 1, 0, 4, 0, VictoryRoad_2F_EventScript_16104E, 0, 0, 0
object_event 3, 26, 0, 31, 0, 16, 0, 4, 9, 17, 0, 1, 0, 4, 0, VictoryRoad_2F_EventScript_161065, 0, 0, 0
object_event 4, 25, 0, 26, 0, 6, 0, 3, 40, 68, 0, 1, 0, 1, 0, VictoryRoad_2F_EventScript_161093, 0, 0, 0
object_event 5, 26, 0, 36, 0, 5, 0, 3, 7, 17, 0, 1, 0, 3, 0, VictoryRoad_2F_EventScript_16107C, 0, 0, 0
object_event 6, 92, 0, 17, 0, 6, 0, 3, 8, 17, 0, 0, 0, 0, 0, VictoryRoad_2F_EventScript_1BE9EC, 427, 0, 0
object_event 7, 92, 0, 40, 0, 7, 0, 3, 8, 17, 0, 0, 0, 0, 0, VictoryRoad_2F_EventScript_1BE9F9, 428, 0, 0
object_event 8, 92, 0, 25, 0, 13, 0, 3, 8, 17, 0, 0, 0, 0, 0, VictoryRoad_2F_EventScript_1BEA06, 429, 0, 0
object_event 9, 92, 0, 14, 0, 13, 0, 3, 8, 17, 0, 0, 0, 0, 0, VictoryRoad_2F_EventScript_1BEA13, 430, 0, 0
object_event 10, 97, 0, 8, 0, 7, 0, 3, 8, 0, 0, 0, 0, 0, 0, VictoryRoad_2F_EventScript_1BE11D, 0, 0, 0
object_event 11, 97, 0, 6, 0, 17, 0, 3, 8, 0, 0, 0, 0, 0, 0, VictoryRoad_2F_EventScript_1BE11D, 0, 0, 0
object_event 12, 97, 0, 33, 0, 19, 0, 3, 8, 0, 0, 0, 0, 0, 0, VictoryRoad_2F_EventScript_1BE11D, 88, 0, 0
object_event 13, 41, 0, 40, 0, 9, 0, 3, 8, 17, 0, 0, 0, 0, 0, VictoryRoad_2F_EventScript_1C47AE, 0, 0, 0
VictoryRoad_2F_MapWarps:
warp_def 1, 9, 3, 0, 295
warp_def 3, 3, 3, 0, 297
warp_def 34, 9, 3, 1, 297
warp_def 38, 9, 3, 2, 297
warp_def 36, 17, 4, 3, 297
warp_def 49, 13, 0, 1, 810
warp_def 48, 12, 3, 1, 810
warp_def 47, 13, 0, 1, 810
warp_def 34, 19, 3, 4, 297
VictoryRoad_2F_MapCoordEvents:
coord_event 2, 19, 3, 0, 16485, 99, 0, VictoryRoad_2F_EventScript_160FD5
coord_event 14, 19, 3, 0, 16486, 99, 0, VictoryRoad_2F_EventScript_161006
VictoryRoad_2F_MapEvents::
map_events VictoryRoad_2F_EventObjects, VictoryRoad_2F_MapWarps, VictoryRoad_2F_MapCoordEvents, 0x0
-8
View File
@@ -1,8 +0,0 @@
VictoryRoad_2F:: @ 834F674
.4byte VictoryRoad_2F_Layout @ 0x8304CB4
.4byte VictoryRoad_2F_MapEvents @ 0x83AF774
.4byte VictoryRoad_2F_MapScripts @ 0x8160F92
.4byte NULL
.2byte BGM_FRLG_MT_MOON
.2byte 126
.byte 0x84, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
+272
View File
@@ -0,0 +1,272 @@
{
"id": "MAP_VICTORY_ROAD_2F",
"name": "VictoryRoad_2F",
"layout": "LAYOUT_VICTORY_ROAD_2F",
"music": "BGM_FRLG_MT_MOON",
"region_map_section": "MAPSEC_KANTO_VICTORY_ROAD",
"requires_flash": false,
"weather": "WEATHER_0",
"map_type": "MAP_TYPE_4",
"unknown_18": 1,
"unknown_19": 7,
"elevator_flag": 0,
"battle_scene": "BATTLE_SCENE_0",
"connections": null,
"object_events": [
{
"graphics_id": "52",
"x": 7,
"y": 4,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1,
"script": "VictoryRoad_2F_EventScript_161037",
"flag": "0"
},
{
"graphics_id": "54",
"x": 20,
"y": 11,
"elevation": 4,
"movement_type": "17",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4,
"script": "VictoryRoad_2F_EventScript_16104E",
"flag": "0"
},
{
"graphics_id": "26",
"x": 31,
"y": 16,
"elevation": 4,
"movement_type": "9",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4,
"script": "VictoryRoad_2F_EventScript_161065",
"flag": "0"
},
{
"graphics_id": "25",
"x": 26,
"y": 6,
"elevation": 3,
"movement_type": "40",
"movement_range_x": 4,
"movement_range_y": 4,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1,
"script": "VictoryRoad_2F_EventScript_161093",
"flag": "0"
},
{
"graphics_id": "26",
"x": 36,
"y": 5,
"elevation": 3,
"movement_type": "7",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 3,
"script": "VictoryRoad_2F_EventScript_16107C",
"flag": "0"
},
{
"graphics_id": "92",
"x": 17,
"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": "VictoryRoad_2F_EventScript_1BE9EC",
"flag": "427"
},
{
"graphics_id": "92",
"x": 40,
"y": 7,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "VictoryRoad_2F_EventScript_1BE9F9",
"flag": "428"
},
{
"graphics_id": "92",
"x": 25,
"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": "VictoryRoad_2F_EventScript_1BEA06",
"flag": "429"
},
{
"graphics_id": "92",
"x": 14,
"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": "VictoryRoad_2F_EventScript_1BEA13",
"flag": "430"
},
{
"graphics_id": "97",
"x": 8,
"y": 7,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "VictoryRoad_2F_EventScript_1BE11D",
"flag": "0"
},
{
"graphics_id": "97",
"x": 6,
"y": 17,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "VictoryRoad_2F_EventScript_1BE11D",
"flag": "0"
},
{
"graphics_id": "97",
"x": 33,
"y": 19,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "VictoryRoad_2F_EventScript_1BE11D",
"flag": "88"
},
{
"graphics_id": "41",
"x": 40,
"y": 9,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "VictoryRoad_2F_EventScript_1C47AE",
"flag": "0"
}
],
"warp_events": [
{
"x": 1,
"y": 9,
"elevation": 3,
"dest_map": "MAP_VICTORY_ROAD_1F",
"dest_warp_id": 0
},
{
"x": 3,
"y": 3,
"elevation": 3,
"dest_map": "MAP_VICTORY_ROAD_3F",
"dest_warp_id": 0
},
{
"x": 34,
"y": 9,
"elevation": 3,
"dest_map": "MAP_VICTORY_ROAD_3F",
"dest_warp_id": 1
},
{
"x": 38,
"y": 9,
"elevation": 3,
"dest_map": "MAP_VICTORY_ROAD_3F",
"dest_warp_id": 2
},
{
"x": 36,
"y": 17,
"elevation": 4,
"dest_map": "MAP_VICTORY_ROAD_3F",
"dest_warp_id": 3
},
{
"x": 49,
"y": 13,
"elevation": 0,
"dest_map": "MAP_ROUTE23",
"dest_warp_id": 1
},
{
"x": 48,
"y": 12,
"elevation": 3,
"dest_map": "MAP_ROUTE23",
"dest_warp_id": 1
},
{
"x": 47,
"y": 13,
"elevation": 0,
"dest_map": "MAP_ROUTE23",
"dest_warp_id": 1
},
{
"x": 34,
"y": 19,
"elevation": 3,
"dest_map": "MAP_VICTORY_ROAD_3F",
"dest_warp_id": 4
}
],
"coord_events": [
{
"type": "trigger",
"x": 2,
"y": 19,
"elevation": 3,
"var": "VAR_0x4065",
"var_value": 99,
"script": "VictoryRoad_2F_EventScript_160FD5"
},
{
"type": "trigger",
"x": 14,
"y": 19,
"elevation": 3,
"var": "VAR_0x4066",
"var_value": 99,
"script": "VictoryRoad_2F_EventScript_161006"
}
],
"bg_events": []
}