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
-26
View File
@@ -1,26 +0,0 @@
VictoryRoad_3F_EventObjects:
object_event 1, 41, 0, 40, 0, 7, 0, 3, 9, 17, 0, 1, 0, 1, 0, VictoryRoad_3F_EventScript_161103, 0, 0, 0
object_event 2, 42, 0, 21, 0, 5, 0, 4, 10, 17, 0, 1, 0, 4, 0, VictoryRoad_3F_EventScript_161148, 0, 0, 0
object_event 3, 41, 0, 10, 0, 17, 0, 3, 9, 17, 0, 1, 0, 5, 0, VictoryRoad_3F_EventScript_16111A, 0, 0, 0
object_event 4, 42, 0, 11, 0, 16, 0, 3, 10, 17, 0, 1, 0, 5, 0, VictoryRoad_3F_EventScript_161131, 0, 0, 0
object_event 5, 92, 0, 38, 0, 7, 0, 3, 8, 17, 0, 0, 0, 0, 0, VictoryRoad_3F_EventScript_1BEA20, 431, 0, 0
object_event 6, 92, 0, 12, 0, 9, 0, 3, 8, 17, 0, 0, 0, 0, 0, VictoryRoad_3F_EventScript_1BEA2D, 432, 0, 0
object_event 7, 97, 0, 19, 0, 15, 0, 3, 8, 0, 0, 0, 0, 0, 0, VictoryRoad_3F_EventScript_1BE11D, 0, 0, 0
object_event 8, 97, 0, 33, 0, 18, 0, 0, 8, 0, 0, 88, 0, 0, 0, VictoryRoad_3F_EventScript_1BE11D, 89, 0, 0
object_event 9, 97, 0, 35, 0, 13, 0, 3, 8, 0, 0, 0, 0, 0, 0, VictoryRoad_3F_EventScript_1BE11D, 0, 0, 0
object_event 10, 97, 0, 32, 0, 5, 0, 3, 8, 0, 0, 0, 0, 0, 0, VictoryRoad_3F_EventScript_1BE11D, 0, 0, 0
object_event 11, 41, 0, 38, 0, 13, 0, 3, 8, 17, 0, 1, 0, 1, 0, VictoryRoad_3F_EventScript_16115F, 0, 0, 0
object_event 12, 42, 0, 39, 0, 13, 0, 3, 8, 17, 0, 1, 0, 1, 0, VictoryRoad_3F_EventScript_16117A, 0, 0, 0
VictoryRoad_3F_MapWarps:
warp_def 5, 2, 3, 1, 296
warp_def 34, 9, 3, 2, 296
warp_def 37, 10, 3, 3, 296
warp_def 39, 17, 3, 4, 296
warp_def 34, 18, 3, 8, 296
VictoryRoad_3F_MapCoordEvents:
coord_event 7, 7, 3, 0, 16487, 99, 0, VictoryRoad_3F_EventScript_1610CF
VictoryRoad_3F_MapEvents::
map_events VictoryRoad_3F_EventObjects, VictoryRoad_3F_MapWarps, VictoryRoad_3F_MapCoordEvents, 0x0
-8
View File
@@ -1,8 +0,0 @@
VictoryRoad_3F:: @ 834F690
.4byte VictoryRoad_3F_Layout @ 0x8305494
.4byte VictoryRoad_3F_MapEvents @ 0x83AF8E0
.4byte VictoryRoad_3F_MapScripts @ 0x81610AA
.4byte NULL
.2byte BGM_FRLG_MT_MOON
.2byte 127
.byte 0x84, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
+222
View File
@@ -0,0 +1,222 @@
{
"id": "MAP_VICTORY_ROAD_3F",
"name": "VictoryRoad_3F",
"layout": "LAYOUT_VICTORY_ROAD_3F",
"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": 40,
"y": 7,
"elevation": 3,
"movement_type": "9",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1,
"script": "VictoryRoad_3F_EventScript_161103",
"flag": "0"
},
{
"graphics_id": "42",
"x": 21,
"y": 5,
"elevation": 4,
"movement_type": "10",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4,
"script": "VictoryRoad_3F_EventScript_161148",
"flag": "0"
},
{
"graphics_id": "41",
"x": 10,
"y": 17,
"elevation": 3,
"movement_type": "9",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 5,
"script": "VictoryRoad_3F_EventScript_16111A",
"flag": "0"
},
{
"graphics_id": "42",
"x": 11,
"y": 16,
"elevation": 3,
"movement_type": "10",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 5,
"script": "VictoryRoad_3F_EventScript_161131",
"flag": "0"
},
{
"graphics_id": "92",
"x": 38,
"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_3F_EventScript_1BEA20",
"flag": "431"
},
{
"graphics_id": "92",
"x": 12,
"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_3F_EventScript_1BEA2D",
"flag": "432"
},
{
"graphics_id": "97",
"x": 19,
"y": 15,
"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_3F_EventScript_1BE11D",
"flag": "0"
},
{
"graphics_id": "97",
"x": 33,
"y": 18,
"elevation": 0,
"movement_type": "8",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": 88,
"trainer_sight_or_berry_tree_id": 0,
"script": "VictoryRoad_3F_EventScript_1BE11D",
"flag": "89"
},
{
"graphics_id": "97",
"x": 35,
"y": 13,
"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_3F_EventScript_1BE11D",
"flag": "0"
},
{
"graphics_id": "97",
"x": 32,
"y": 5,
"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_3F_EventScript_1BE11D",
"flag": "0"
},
{
"graphics_id": "41",
"x": 38,
"y": 13,
"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_3F_EventScript_16115F",
"flag": "0"
},
{
"graphics_id": "42",
"x": 39,
"y": 13,
"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_3F_EventScript_16117A",
"flag": "0"
}
],
"warp_events": [
{
"x": 5,
"y": 2,
"elevation": 3,
"dest_map": "MAP_VICTORY_ROAD_2F",
"dest_warp_id": 1
},
{
"x": 34,
"y": 9,
"elevation": 3,
"dest_map": "MAP_VICTORY_ROAD_2F",
"dest_warp_id": 2
},
{
"x": 37,
"y": 10,
"elevation": 3,
"dest_map": "MAP_VICTORY_ROAD_2F",
"dest_warp_id": 3
},
{
"x": 39,
"y": 17,
"elevation": 3,
"dest_map": "MAP_VICTORY_ROAD_2F",
"dest_warp_id": 4
},
{
"x": 34,
"y": 18,
"elevation": 3,
"dest_map": "MAP_VICTORY_ROAD_2F",
"dest_warp_id": 8
}
],
"coord_events": [
{
"type": "trigger",
"x": 7,
"y": 7,
"elevation": 3,
"var": "VAR_0x4067",
"var_value": 99,
"script": "VictoryRoad_3F_EventScript_1610CF"
}
],
"bg_events": []
}