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
@@ -1,11 +0,0 @@
TwoIsland_PokemonCenter_1F_EventObjects:
object_event 1, 64, 0, 7, 0, 2, 0, 3, 8, 17, 0, 0, 0, 0, 0, TwoIsland_PokemonCenter_1F_EventScript_1717C3, 0, 0, 0
object_event 2, 51, 0, 11, 0, 5, 0, 3, 8, 17, 0, 0, 0, 0, 0, TwoIsland_PokemonCenter_1F_EventScript_1717CC, 0, 0, 0
object_event 3, 20, 0, 4, 0, 4, 0, 3, 5, 17, 0, 0, 0, 0, 0, TwoIsland_PokemonCenter_1F_EventScript_1717D5, 0, 0, 0
TwoIsland_PokemonCenter_1F_MapWarps:
warp_def 7, 8, 3, 2, 781
warp_def 1, 6, 4, 0, 8451
TwoIsland_PokemonCenter_1F_MapEvents::
map_events TwoIsland_PokemonCenter_1F_EventObjects, TwoIsland_PokemonCenter_1F_MapWarps, 0x0, 0x0
@@ -1,8 +0,0 @@
TwoIsland_PokemonCenter_1F:: @ 8351C30
.4byte PokemonCenter_1F_Layout @ 0x82D5990
.4byte TwoIsland_PokemonCenter_1F_MapEvents @ 0x83BE68C
.4byte TwoIsland_PokemonCenter_1F_MapScripts @ 0x81717B4
.4byte NULL
.2byte BGM_FRLG_POKEMON_CENTER
.2byte 8
.byte 0x90, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
@@ -0,0 +1,74 @@
{
"id": "MAP_TWO_ISLAND_POKEMON_CENTER_1F",
"name": "TwoIsland_PokemonCenter_1F",
"layout": "LAYOUT_POKEMON_CENTER_1F",
"music": "BGM_FRLG_POKEMON_CENTER",
"region_map_section": "MAPSEC_TWO_ISLAND",
"requires_flash": false,
"weather": "WEATHER_0",
"map_type": "MAP_TYPE_8",
"unknown_18": 0,
"unknown_19": 0,
"elevator_flag": 0,
"battle_scene": "BATTLE_SCENE_0",
"connections": null,
"object_events": [
{
"graphics_id": "64",
"x": 7,
"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": "TwoIsland_PokemonCenter_1F_EventScript_1717C3",
"flag": "0"
},
{
"graphics_id": "51",
"x": 11,
"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": "TwoIsland_PokemonCenter_1F_EventScript_1717CC",
"flag": "0"
},
{
"graphics_id": "20",
"x": 4,
"y": 4,
"elevation": 3,
"movement_type": "5",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "TwoIsland_PokemonCenter_1F_EventScript_1717D5",
"flag": "0"
}
],
"warp_events": [
{
"x": 7,
"y": 8,
"elevation": 3,
"dest_map": "MAP_TWO_ISLAND",
"dest_warp_id": 2
},
{
"x": 1,
"y": 6,
"elevation": 4,
"dest_map": "MAP_TWO_ISLAND_POKEMON_CENTER_2F",
"dest_warp_id": 0
}
],
"coord_events": [],
"bg_events": []
}