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
-22
View File
@@ -1,22 +0,0 @@
VictoryRoad_1F_EventObjects:
object_event 1, 41, 0, 5, 0, 2, 0, 3, 8, 17, 0, 1, 0, 4, 0, VictoryRoad_1F_EventScript_160F7B, 0, 0, 0
object_event 2, 42, 0, 14, 0, 6, 0, 4, 8, 17, 0, 1, 0, 4, 0, VictoryRoad_1F_EventScript_160F64, 0, 0, 0
object_event 3, 92, 0, 12, 0, 3, 0, 3, 8, 17, 0, 0, 0, 0, 0, VictoryRoad_1F_EventScript_1BE9D2, 425, 0, 0
object_event 4, 92, 0, 14, 0, 1, 0, 3, 8, 17, 0, 0, 0, 0, 0, VictoryRoad_1F_EventScript_1BE9DF, 426, 0, 0
object_event 5, 97, 0, 7, 0, 18, 0, 3, 8, 0, 0, 0, 0, 0, 0, VictoryRoad_1F_EventScript_1BE11D, 0, 0, 0
object_event 6, 97, 0, 4, 0, 12, 0, 3, 8, 0, 0, 0, 0, 0, 0, VictoryRoad_1F_EventScript_1BE11D, 0, 0, 0
object_event 7, 97, 0, 16, 0, 3, 0, 3, 8, 0, 0, 0, 0, 0, 0, VictoryRoad_1F_EventScript_1BE11D, 0, 0, 0
VictoryRoad_1F_MapWarps:
warp_def 3, 2, 3, 0, 296
warp_def 11, 20, 3, 0, 810
VictoryRoad_1F_MapCoordEvents:
coord_event 20, 16, 3, 0, 16484, 99, 0, VictoryRoad_1F_EventScript_160F33
VictoryRoad_1F_MapBGEvents:
bg_event 12, 12, 0, 7, 0, 2, 37, 1
bg_event 16, 1, 0, 7, 0, 19, 38, 1
VictoryRoad_1F_MapEvents::
map_events VictoryRoad_1F_EventObjects, VictoryRoad_1F_MapWarps, VictoryRoad_1F_MapCoordEvents, VictoryRoad_1F_MapBGEvents
-8
View File
@@ -1,8 +0,0 @@
VictoryRoad_1F:: @ 834F658
.4byte VictoryRoad_1F_Layout @ 0x83043CC
.4byte VictoryRoad_1F_MapEvents @ 0x83AF5C0
.4byte VictoryRoad_1F_MapScripts @ 0x8160F05
.4byte NULL
.2byte BGM_FRLG_MT_MOON
.2byte 125
.byte 0x84, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
+155
View File
@@ -0,0 +1,155 @@
{
"id": "MAP_VICTORY_ROAD_1F",
"name": "VictoryRoad_1F",
"layout": "LAYOUT_VICTORY_ROAD_1F",
"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": "41",
"x": 5,
"y": 2,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4,
"script": "VictoryRoad_1F_EventScript_160F7B",
"flag": "0"
},
{
"graphics_id": "42",
"x": 14,
"y": 6,
"elevation": 4,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4,
"script": "VictoryRoad_1F_EventScript_160F64",
"flag": "0"
},
{
"graphics_id": "92",
"x": 12,
"y": 3,
"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_1F_EventScript_1BE9D2",
"flag": "425"
},
{
"graphics_id": "92",
"x": 14,
"y": 1,
"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_1F_EventScript_1BE9DF",
"flag": "426"
},
{
"graphics_id": "97",
"x": 7,
"y": 18,
"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_1F_EventScript_1BE11D",
"flag": "0"
},
{
"graphics_id": "97",
"x": 4,
"y": 12,
"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_1F_EventScript_1BE11D",
"flag": "0"
},
{
"graphics_id": "97",
"x": 16,
"y": 3,
"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_1F_EventScript_1BE11D",
"flag": "0"
}
],
"warp_events": [
{
"x": 3,
"y": 2,
"elevation": 3,
"dest_map": "MAP_VICTORY_ROAD_2F",
"dest_warp_id": 0
},
{
"x": 11,
"y": 20,
"elevation": 3,
"dest_map": "MAP_ROUTE23",
"dest_warp_id": 0
}
],
"coord_events": [
{
"type": "trigger",
"x": 20,
"y": 16,
"elevation": 3,
"var": "VAR_0x4064",
"var_value": 99,
"script": "VictoryRoad_1F_EventScript_160F33"
}
],
"bg_events": [
{
"type": "hidden_item",
"x": 12,
"y": 12,
"elevation": 0,
"item": "POCKET_KEY_ITEMS",
"flag": "37",
"unknown": 1
},
{
"type": "hidden_item",
"x": 16,
"y": 1,
"elevation": 0,
"item": "ITEM_FULL_RESTORE",
"flag": "38",
"unknown": 1
}
]
}