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,19 +0,0 @@
CinnabarIsland_PokemonLab_Entrance_EventObjects:
object_event 1, 55, 0, 2, 0, 4, 0, 3, 2, 17, 0, 0, 0, 0, 0, CinnabarIsland_PokemonLab_Entrance_EventScript_16E28B, 0, 0, 0
CinnabarIsland_PokemonLab_Entrance_MapWarps:
warp_def 3, 9, 3, 2, 776
warp_def 4, 9, 3, 2, 776
warp_def 5, 9, 3, 2, 776
warp_def 13, 5, 0, 0, 3074
warp_def 19, 5, 0, 0, 3075
warp_def 25, 5, 0, 0, 3076
CinnabarIsland_PokemonLab_Entrance_MapBGEvents:
bg_event 4, 1, 0, 0, 0, CinnabarIsland_PokemonLab_Entrance_EventScript_16E294
bg_event 12, 5, 0, 0, 0, CinnabarIsland_PokemonLab_Entrance_EventScript_16E29D
bg_event 18, 5, 0, 0, 0, CinnabarIsland_PokemonLab_Entrance_EventScript_16E2A6
bg_event 24, 5, 0, 0, 0, CinnabarIsland_PokemonLab_Entrance_EventScript_16E2AF
CinnabarIsland_PokemonLab_Entrance_MapEvents::
map_events CinnabarIsland_PokemonLab_Entrance_EventObjects, CinnabarIsland_PokemonLab_Entrance_MapWarps, 0x0, CinnabarIsland_PokemonLab_Entrance_MapBGEvents
@@ -1,8 +0,0 @@
CinnabarIsland_PokemonLab_Entrance:: @ 835154C
.4byte CinnabarIsland_PokemonLab_Entrance_Layout @ 0x831C804
.4byte CinnabarIsland_PokemonLab_Entrance_MapEvents @ 0x83BC6B8
.4byte CinnabarIsland_PokemonLab_Entrance_MapScripts @ 0x816E273
.4byte NULL
.2byte BGM_FRLG_CINNABAR_ISLAND
.2byte 203
.byte 0x60, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
@@ -0,0 +1,105 @@
{
"id": "MAP_CINNABAR_ISLAND_POKEMON_LAB_ENTRANCE",
"name": "CinnabarIsland_PokemonLab_Entrance",
"layout": "LAYOUT_CINNABAR_ISLAND_POKEMON_LAB_ENTRANCE",
"music": "BGM_FRLG_CINNABAR_ISLAND",
"region_map_section": "MAPSEC_CINNABAR_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": "55",
"x": 2,
"y": 4,
"elevation": 3,
"movement_type": "2",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "CinnabarIsland_PokemonLab_Entrance_EventScript_16E28B",
"flag": "0"
}
],
"warp_events": [
{
"x": 3,
"y": 9,
"elevation": 3,
"dest_map": "MAP_CINNABAR_ISLAND",
"dest_warp_id": 2
},
{
"x": 4,
"y": 9,
"elevation": 3,
"dest_map": "MAP_CINNABAR_ISLAND",
"dest_warp_id": 2
},
{
"x": 5,
"y": 9,
"elevation": 3,
"dest_map": "MAP_CINNABAR_ISLAND",
"dest_warp_id": 2
},
{
"x": 13,
"y": 5,
"elevation": 0,
"dest_map": "MAP_CINNABAR_ISLAND_POKEMON_LAB_LOUNGE",
"dest_warp_id": 0
},
{
"x": 19,
"y": 5,
"elevation": 0,
"dest_map": "MAP_CINNABAR_ISLAND_POKEMON_LAB_RESEARCH_ROOM",
"dest_warp_id": 0
},
{
"x": 25,
"y": 5,
"elevation": 0,
"dest_map": "MAP_CINNABAR_ISLAND_POKEMON_LAB_EXPERIMENT_ROOM",
"dest_warp_id": 0
}
],
"coord_events": [],
"bg_events": [
{
"type": "bg_event_type_0",
"x": 4,
"y": 1,
"elevation": 0,
"script": "CinnabarIsland_PokemonLab_Entrance_EventScript_16E294"
},
{
"type": "bg_event_type_0",
"x": 12,
"y": 5,
"elevation": 0,
"script": "CinnabarIsland_PokemonLab_Entrance_EventScript_16E29D"
},
{
"type": "bg_event_type_0",
"x": 18,
"y": 5,
"elevation": 0,
"script": "CinnabarIsland_PokemonLab_Entrance_EventScript_16E2A6"
},
{
"type": "bg_event_type_0",
"x": 24,
"y": 5,
"elevation": 0,
"script": "CinnabarIsland_PokemonLab_Entrance_EventScript_16E2AF"
}
]
}