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
-23
View File
@@ -1,23 +0,0 @@
PowerPlant_EventObjects:
object_event 1, 92, 0, 7, 0, 27, 0, 3, 8, 17, 0, 0, 0, 0, 0, PowerPlant_EventScript_1BE91C, 410, 0, 0
object_event 2, 92, 0, 40, 0, 22, 0, 3, 8, 17, 0, 0, 0, 0, 0, PowerPlant_EventScript_1BE929, 411, 0, 0
object_event 3, 92, 0, 46, 0, 37, 0, 3, 8, 17, 0, 0, 0, 0, 0, PowerPlant_EventScript_1BE936, 412, 0, 0
object_event 4, 92, 0, 45, 0, 4, 0, 3, 8, 17, 0, 0, 0, 0, 0, PowerPlant_EventScript_1BE943, 413, 0, 0
object_event 5, 92, 0, 26, 0, 22, 0, 3, 8, 17, 0, 0, 0, 0, 0, PowerPlant_EventScript_1BE950, 414, 0, 0
object_event 6, 136, 0, 5, 0, 11, 0, 3, 8, 17, 0, 0, 0, 0, 0, PowerPlant_EventScript_1637B8, 93, 0, 0
object_event 7, 92, 0, 36, 0, 5, 0, 3, 8, 17, 0, 0, 0, 0, 0, PowerPlant_EventScript_16388D, 134, 0, 0
object_event 8, 92, 0, 30, 0, 38, 0, 3, 8, 17, 0, 0, 0, 0, 0, PowerPlant_EventScript_16382F, 133, 0, 0
PowerPlant_MapWarps:
warp_def 4, 39, 3, 2, 796
warp_def 5, 38, 3, 2, 796
warp_def 6, 39, 3, 2, 796
warp_def 1, 11, 3, 4, 796
warp_def 0, 13, 3, 2, 796
PowerPlant_MapBGEvents:
bg_event 29, 16, 3, 7, 0, 37, 27, 1
bg_event 8, 12, 3, 7, 0, 96, 28, 1
PowerPlant_MapEvents::
map_events PowerPlant_EventObjects, PowerPlant_MapWarps, 0x0, PowerPlant_MapBGEvents
-8
View File
@@ -1,8 +0,0 @@
PowerPlant:: @ 834FC78
.4byte PowerPlant_Layout @ 0x8318EC0
.4byte PowerPlant_MapEvents @ 0x83B285C
.4byte PowerPlant_MapScripts @ 0x8163764
.4byte NULL
.2byte BGM_FRLG_POKEMON_MANSION
.2byte 168
.byte 0x8e, 0x00, 0x00, 0x08, 0x00, 0x07, 0x00, 0x03
+179
View File
@@ -0,0 +1,179 @@
{
"id": "MAP_POWER_PLANT",
"name": "PowerPlant",
"layout": "LAYOUT_POWER_PLANT",
"music": "BGM_FRLG_POKEMON_MANSION",
"region_map_section": "MAPSEC_POWER_PLANT",
"requires_flash": false,
"weather": "WEATHER_0",
"map_type": "MAP_TYPE_8",
"unknown_18": 0,
"unknown_19": 7,
"elevator_flag": 0,
"battle_scene": "BATTLE_SCENE_3",
"connections": null,
"object_events": [
{
"graphics_id": "92",
"x": 7,
"y": 27,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "PowerPlant_EventScript_1BE91C",
"flag": "410"
},
{
"graphics_id": "92",
"x": 40,
"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": "PowerPlant_EventScript_1BE929",
"flag": "411"
},
{
"graphics_id": "92",
"x": 46,
"y": 37,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "PowerPlant_EventScript_1BE936",
"flag": "412"
},
{
"graphics_id": "92",
"x": 45,
"y": 4,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "PowerPlant_EventScript_1BE943",
"flag": "413"
},
{
"graphics_id": "92",
"x": 26,
"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": "PowerPlant_EventScript_1BE950",
"flag": "414"
},
{
"graphics_id": "136",
"x": 5,
"y": 11,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "PowerPlant_EventScript_1637B8",
"flag": "93"
},
{
"graphics_id": "92",
"x": 36,
"y": 5,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "PowerPlant_EventScript_16388D",
"flag": "134"
},
{
"graphics_id": "92",
"x": 30,
"y": 38,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "PowerPlant_EventScript_16382F",
"flag": "133"
}
],
"warp_events": [
{
"x": 4,
"y": 39,
"elevation": 3,
"dest_map": "MAP_ROUTE10",
"dest_warp_id": 2
},
{
"x": 5,
"y": 38,
"elevation": 3,
"dest_map": "MAP_ROUTE10",
"dest_warp_id": 2
},
{
"x": 6,
"y": 39,
"elevation": 3,
"dest_map": "MAP_ROUTE10",
"dest_warp_id": 2
},
{
"x": 1,
"y": 11,
"elevation": 3,
"dest_map": "MAP_ROUTE10",
"dest_warp_id": 4
},
{
"x": 0,
"y": 13,
"elevation": 3,
"dest_map": "MAP_ROUTE10",
"dest_warp_id": 2
}
],
"coord_events": [],
"bg_events": [
{
"type": "hidden_item",
"x": 29,
"y": 16,
"elevation": 3,
"item": "ITEM_MAX_ELIXIR",
"flag": "27",
"unknown": 1
},
{
"type": "hidden_item",
"x": 8,
"y": 12,
"elevation": 3,
"item": "ITEM_THUNDER_STONE",
"flag": "28",
"unknown": 1
}
]
}