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
-19
View File
@@ -1,19 +0,0 @@
PokemonMansion_B1F_EventObjects:
object_event 1, 92, 0, 6, 0, 21, 0, 3, 8, 17, 0, 0, 0, 0, 0, PokemonMansion_B1F_EventScript_1BE9B8, 423, 0, 0
object_event 2, 52, 0, 20, 0, 25, 0, 3, 2, 17, 0, 1, 0, 1, 0, PokemonMansion_B1F_EventScript_162329, 0, 0, 0
object_event 3, 55, 0, 34, 0, 13, 0, 3, 8, 17, 0, 1, 0, 6, 0, PokemonMansion_B1F_EventScript_162340, 0, 0, 0
object_event 4, 92, 0, 23, 0, 4, 0, 3, 8, 17, 0, 0, 0, 0, 0, PokemonMansion_B1F_EventScript_1BE99E, 420, 0, 0
object_event 5, 92, 0, 2, 0, 29, 0, 3, 8, 17, 0, 0, 0, 0, 0, PokemonMansion_B1F_EventScript_1BE9AB, 421, 0, 0
object_event 6, 92, 0, 5, 0, 7, 0, 3, 8, 17, 0, 0, 0, 0, 0, PokemonMansion_B1F_EventScript_1BE9C5, 424, 0, 0
PokemonMansion_B1F_MapWarps:
warp_def 34, 29, 3, 4, 315
PokemonMansion_B1F_MapBGEvents:
bg_event 21, 27, 0, 0, 0, PokemonMansion_B1F_EventScript_162320
bg_event 24, 29, 0, 1, 0, PokemonMansion_B1F_EventScript_16230C
bg_event 27, 5, 0, 1, 0, PokemonMansion_B1F_EventScript_16230C
bg_event 35, 5, 3, 7, 0, 36, 33, 1
PokemonMansion_B1F_MapEvents::
map_events PokemonMansion_B1F_EventObjects, PokemonMansion_B1F_MapWarps, 0x0, PokemonMansion_B1F_MapBGEvents
-8
View File
@@ -1,8 +0,0 @@
PokemonMansion_B1F:: @ 834F8DC
.4byte PokemonMansion_B1F_Layout @ 0x830CEB8
.4byte PokemonMansion_B1F_MapEvents @ 0x83B0ED4
.4byte PokemonMansion_B1F_MapScripts @ 0x81622FC
.4byte NULL
.2byte BGM_FRLG_POKEMON_MANSION
.2byte 146
.byte 0x87, 0x00, 0x0b, 0x08, 0x00, 0x07, 0x00, 0x03
+137
View File
@@ -0,0 +1,137 @@
{
"id": "MAP_POKEMON_MANSION_B1F",
"name": "PokemonMansion_B1F",
"layout": "LAYOUT_POKEMON_MANSION_B1F",
"music": "BGM_FRLG_POKEMON_MANSION",
"region_map_section": "MAPSEC_POKEMON_MANSION",
"requires_flash": false,
"weather": "WEATHER_11",
"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": 6,
"y": 21,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "PokemonMansion_B1F_EventScript_1BE9B8",
"flag": "423"
},
{
"graphics_id": "52",
"x": 20,
"y": 25,
"elevation": 3,
"movement_type": "2",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1,
"script": "PokemonMansion_B1F_EventScript_162329",
"flag": "0"
},
{
"graphics_id": "55",
"x": 34,
"y": 13,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 6,
"script": "PokemonMansion_B1F_EventScript_162340",
"flag": "0"
},
{
"graphics_id": "92",
"x": 23,
"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": "PokemonMansion_B1F_EventScript_1BE99E",
"flag": "420"
},
{
"graphics_id": "92",
"x": 2,
"y": 29,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "PokemonMansion_B1F_EventScript_1BE9AB",
"flag": "421"
},
{
"graphics_id": "92",
"x": 5,
"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": "PokemonMansion_B1F_EventScript_1BE9C5",
"flag": "424"
}
],
"warp_events": [
{
"x": 34,
"y": 29,
"elevation": 3,
"dest_map": "MAP_POKEMON_MANSION_1F",
"dest_warp_id": 4
}
],
"coord_events": [],
"bg_events": [
{
"type": "bg_event_type_0",
"x": 21,
"y": 27,
"elevation": 0,
"script": "PokemonMansion_B1F_EventScript_162320"
},
{
"type": "bg_event_type_1",
"x": 24,
"y": 29,
"elevation": 0,
"script": "PokemonMansion_B1F_EventScript_16230C"
},
{
"type": "bg_event_type_1",
"x": 27,
"y": 5,
"elevation": 0,
"script": "PokemonMansion_B1F_EventScript_16230C"
},
{
"type": "hidden_item",
"x": 35,
"y": 5,
"elevation": 3,
"item": "ITEM_ELIXIR",
"flag": "33",
"unknown": 1
}
]
}