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
-33
View File
@@ -1,33 +0,0 @@
VermilionCity_Gym_EventObjects:
object_event 1, 82, 0, 5, 0, 2, 0, 3, 8, 17, 0, 0, 0, 0, 0, VermilionCity_Gym_EventScript_16B94A, 0, 0, 0
object_event 2, 30, 0, 2, 0, 11, 0, 3, 1, 17, 0, 1, 0, 3, 0, VermilionCity_Gym_EventScript_16BA1E, 0, 0, 0
object_event 3, 62, 0, 8, 0, 13, 0, 3, 1, 17, 0, 1, 0, 3, 0, VermilionCity_Gym_EventScript_16B9FA, 0, 0, 0
object_event 4, 91, 0, 4, 0, 17, 0, 3, 8, 17, 0, 0, 0, 0, 0, VermilionCity_Gym_EventScript_16BA6C, 0, 0, 0
object_event 5, 61, 0, 7, 0, 8, 0, 3, 9, 17, 0, 1, 0, 3, 0, VermilionCity_Gym_EventScript_16BA35, 0, 0, 0
VermilionCity_Gym_MapWarps:
warp_def 4, 19, 3, 9, 773
warp_def 5, 19, 3, 9, 773
warp_def 6, 19, 3, 9, 773
VermilionCity_Gym_MapBGEvents:
bg_event 3, 17, 0, 0, 0, VermilionCity_Gym_EventScript_16BA8B
bg_event 7, 17, 0, 0, 0, VermilionCity_Gym_EventScript_16BA8B
bg_event 1, 10, 0, 0, 0, VermilionCity_Gym_EventScript_16B78F
bg_event 3, 10, 0, 0, 0, VermilionCity_Gym_EventScript_16B79B
bg_event 5, 10, 0, 0, 0, VermilionCity_Gym_EventScript_16B7A7
bg_event 7, 10, 0, 0, 0, VermilionCity_Gym_EventScript_16B7B3
bg_event 9, 10, 0, 0, 0, VermilionCity_Gym_EventScript_16B7BF
bg_event 1, 12, 0, 0, 0, VermilionCity_Gym_EventScript_16B7CB
bg_event 3, 12, 0, 0, 0, VermilionCity_Gym_EventScript_16B7D7
bg_event 5, 12, 0, 0, 0, VermilionCity_Gym_EventScript_16B7E3
bg_event 7, 12, 0, 0, 0, VermilionCity_Gym_EventScript_16B7EF
bg_event 9, 12, 0, 0, 0, VermilionCity_Gym_EventScript_16B7FB
bg_event 1, 14, 0, 0, 0, VermilionCity_Gym_EventScript_16B807
bg_event 3, 14, 0, 0, 0, VermilionCity_Gym_EventScript_16B813
bg_event 5, 14, 0, 0, 0, VermilionCity_Gym_EventScript_16B81F
bg_event 7, 14, 0, 0, 0, VermilionCity_Gym_EventScript_16B82B
bg_event 9, 14, 0, 0, 0, VermilionCity_Gym_EventScript_16B837
VermilionCity_Gym_MapEvents::
map_events VermilionCity_Gym_EventObjects, VermilionCity_Gym_MapWarps, 0x0, VermilionCity_Gym_MapBGEvents
-8
View File
@@ -1,8 +0,0 @@
VermilionCity_Gym:: @ 83511B0
.4byte VermilionCity_Gym_Layout @ 0x82D6E28
.4byte VermilionCity_Gym_MapEvents @ 0x83BAFD0
.4byte VermilionCity_Gym_MapScripts @ 0x816B69E
.4byte NULL
.2byte BGM_FRLG_GYM
.2byte 25
.byte 0x5d, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x01
+227
View File
@@ -0,0 +1,227 @@
{
"id": "MAP_VERMILION_CITY_GYM",
"name": "VermilionCity_Gym",
"layout": "LAYOUT_VERMILION_CITY_GYM",
"music": "BGM_FRLG_GYM",
"region_map_section": "MAPSEC_VERMILION_CITY",
"requires_flash": false,
"weather": "WEATHER_0",
"map_type": "MAP_TYPE_8",
"unknown_18": 0,
"unknown_19": 0,
"elevator_flag": 0,
"battle_scene": "BATTLE_SCENE_1",
"connections": null,
"object_events": [
{
"graphics_id": "82",
"x": 5,
"y": 2,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "VermilionCity_Gym_EventScript_16B94A",
"flag": "0"
},
{
"graphics_id": "30",
"x": 2,
"y": 11,
"elevation": 3,
"movement_type": "1",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 3,
"script": "VermilionCity_Gym_EventScript_16BA1E",
"flag": "0"
},
{
"graphics_id": "62",
"x": 8,
"y": 13,
"elevation": 3,
"movement_type": "1",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 3,
"script": "VermilionCity_Gym_EventScript_16B9FA",
"flag": "0"
},
{
"graphics_id": "91",
"x": 4,
"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": "VermilionCity_Gym_EventScript_16BA6C",
"flag": "0"
},
{
"graphics_id": "61",
"x": 7,
"y": 8,
"elevation": 3,
"movement_type": "9",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 3,
"script": "VermilionCity_Gym_EventScript_16BA35",
"flag": "0"
}
],
"warp_events": [
{
"x": 4,
"y": 19,
"elevation": 3,
"dest_map": "MAP_VERMILION_CITY",
"dest_warp_id": 9
},
{
"x": 5,
"y": 19,
"elevation": 3,
"dest_map": "MAP_VERMILION_CITY",
"dest_warp_id": 9
},
{
"x": 6,
"y": 19,
"elevation": 3,
"dest_map": "MAP_VERMILION_CITY",
"dest_warp_id": 9
}
],
"coord_events": [],
"bg_events": [
{
"type": "bg_event_type_0",
"x": 3,
"y": 17,
"elevation": 0,
"script": "VermilionCity_Gym_EventScript_16BA8B"
},
{
"type": "bg_event_type_0",
"x": 7,
"y": 17,
"elevation": 0,
"script": "VermilionCity_Gym_EventScript_16BA8B"
},
{
"type": "bg_event_type_0",
"x": 1,
"y": 10,
"elevation": 0,
"script": "VermilionCity_Gym_EventScript_16B78F"
},
{
"type": "bg_event_type_0",
"x": 3,
"y": 10,
"elevation": 0,
"script": "VermilionCity_Gym_EventScript_16B79B"
},
{
"type": "bg_event_type_0",
"x": 5,
"y": 10,
"elevation": 0,
"script": "VermilionCity_Gym_EventScript_16B7A7"
},
{
"type": "bg_event_type_0",
"x": 7,
"y": 10,
"elevation": 0,
"script": "VermilionCity_Gym_EventScript_16B7B3"
},
{
"type": "bg_event_type_0",
"x": 9,
"y": 10,
"elevation": 0,
"script": "VermilionCity_Gym_EventScript_16B7BF"
},
{
"type": "bg_event_type_0",
"x": 1,
"y": 12,
"elevation": 0,
"script": "VermilionCity_Gym_EventScript_16B7CB"
},
{
"type": "bg_event_type_0",
"x": 3,
"y": 12,
"elevation": 0,
"script": "VermilionCity_Gym_EventScript_16B7D7"
},
{
"type": "bg_event_type_0",
"x": 5,
"y": 12,
"elevation": 0,
"script": "VermilionCity_Gym_EventScript_16B7E3"
},
{
"type": "bg_event_type_0",
"x": 7,
"y": 12,
"elevation": 0,
"script": "VermilionCity_Gym_EventScript_16B7EF"
},
{
"type": "bg_event_type_0",
"x": 9,
"y": 12,
"elevation": 0,
"script": "VermilionCity_Gym_EventScript_16B7FB"
},
{
"type": "bg_event_type_0",
"x": 1,
"y": 14,
"elevation": 0,
"script": "VermilionCity_Gym_EventScript_16B807"
},
{
"type": "bg_event_type_0",
"x": 3,
"y": 14,
"elevation": 0,
"script": "VermilionCity_Gym_EventScript_16B813"
},
{
"type": "bg_event_type_0",
"x": 5,
"y": 14,
"elevation": 0,
"script": "VermilionCity_Gym_EventScript_16B81F"
},
{
"type": "bg_event_type_0",
"x": 7,
"y": 14,
"elevation": 0,
"script": "VermilionCity_Gym_EventScript_16B82B"
},
{
"type": "bg_event_type_0",
"x": 9,
"y": 14,
"elevation": 0,
"script": "VermilionCity_Gym_EventScript_16B837"
}
]
}