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,17 +0,0 @@
IndigoPlateau_PokemonCenter_1F_EventObjects:
object_event 1, 68, 0, 0, 0, 7, 0, 3, 10, 17, 0, 0, 0, 0, 0, IndigoPlateau_PokemonCenter_1F_EventScript_16EACC, 0, 0, 0
object_event 2, 64, 0, 13, 0, 10, 0, 3, 8, 17, 0, 0, 0, 0, 0, IndigoPlateau_PokemonCenter_1F_EventScript_16EB06, 0, 0, 0
object_event 3, 91, 0, 7, 0, 14, 0, 3, 10, 17, 0, 0, 0, 0, 0, IndigoPlateau_PokemonCenter_1F_EventScript_16EAC3, 0, 0, 0
object_event 4, 42, 0, 5, 0, 3, 0, 3, 8, 17, 0, 0, 0, 0, 0, IndigoPlateau_PokemonCenter_1F_EventScript_16EA8A, 0, 0, 0
object_event 5, 54, 0, 23, 0, 13, 0, 3, 10, 17, 0, 0, 0, 0, 0, IndigoPlateau_PokemonCenter_1F_EventScript_1ACFAE, 157, 0, 0
object_event 6, 0, 0, 22, 0, 9, 0, 0, 76, 17, 0, 0, 0, 0, 0, IndigoPlateau_PokemonCenter_1F_EventScript_1AD06C, 157, 0, 0
object_event 7, 41, 0, 16, 0, 15, 0, 3, 2, 17, 0, 0, 0, 0, 0, IndigoPlateau_PokemonCenter_1F_EventScript_1AD087, 157, 0, 0
object_event 8, 0, 0, 23, 0, 9, 0, 0, 76, 17, 0, 0, 0, 0, 0, IndigoPlateau_PokemonCenter_1F_EventScript_1AD06C, 157, 0, 0
IndigoPlateau_PokemonCenter_1F_MapWarps:
warp_def 11, 16, 3, 0, 777
warp_def 4, 1, 3, 0, 331
warp_def 1, 14, 4, 0, 3329
IndigoPlateau_PokemonCenter_1F_MapEvents::
map_events IndigoPlateau_PokemonCenter_1F_EventObjects, IndigoPlateau_PokemonCenter_1F_MapWarps, 0x0, 0x0
@@ -1,8 +0,0 @@
IndigoPlateau_PokemonCenter_1F:: @ 8351610
.4byte IndigoPlateau_PokemonCenter_1F_Layout @ 0x831F000
.4byte IndigoPlateau_PokemonCenter_1F_MapEvents @ 0x83BCA94
.4byte IndigoPlateau_PokemonCenter_1F_MapScripts @ 0x816EA5A
.4byte NULL
.2byte BGM_FRLG_GYM
.2byte 212
.byte 0x61, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x01
@@ -0,0 +1,146 @@
{
"id": "MAP_INDIGO_PLATEAU_POKEMON_CENTER_1F",
"name": "IndigoPlateau_PokemonCenter_1F",
"layout": "LAYOUT_INDIGO_PLATEAU_POKEMON_CENTER_1F",
"music": "BGM_FRLG_GYM",
"region_map_section": "MAPSEC_INDIGO_PLATEAU",
"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": "68",
"x": 0,
"y": 7,
"elevation": 3,
"movement_type": "10",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "IndigoPlateau_PokemonCenter_1F_EventScript_16EACC",
"flag": "0"
},
{
"graphics_id": "64",
"x": 13,
"y": 10,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "IndigoPlateau_PokemonCenter_1F_EventScript_16EB06",
"flag": "0"
},
{
"graphics_id": "91",
"x": 7,
"y": 14,
"elevation": 3,
"movement_type": "10",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "IndigoPlateau_PokemonCenter_1F_EventScript_16EAC3",
"flag": "0"
},
{
"graphics_id": "42",
"x": 5,
"y": 3,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "IndigoPlateau_PokemonCenter_1F_EventScript_16EA8A",
"flag": "0"
},
{
"graphics_id": "54",
"x": 23,
"y": 13,
"elevation": 3,
"movement_type": "10",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "IndigoPlateau_PokemonCenter_1F_EventScript_1ACFAE",
"flag": "157"
},
{
"graphics_id": "0",
"x": 22,
"y": 9,
"elevation": 0,
"movement_type": "76",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "IndigoPlateau_PokemonCenter_1F_EventScript_1AD06C",
"flag": "157"
},
{
"graphics_id": "41",
"x": 16,
"y": 15,
"elevation": 3,
"movement_type": "2",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "IndigoPlateau_PokemonCenter_1F_EventScript_1AD087",
"flag": "157"
},
{
"graphics_id": "0",
"x": 23,
"y": 9,
"elevation": 0,
"movement_type": "76",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "IndigoPlateau_PokemonCenter_1F_EventScript_1AD06C",
"flag": "157"
}
],
"warp_events": [
{
"x": 11,
"y": 16,
"elevation": 3,
"dest_map": "MAP_INDIGO_PLATEAU_EXTERIOR",
"dest_warp_id": 0
},
{
"x": 4,
"y": 1,
"elevation": 3,
"dest_map": "MAP_POKEMON_LEAGUE_LORELEIS_ROOM",
"dest_warp_id": 0
},
{
"x": 1,
"y": 14,
"elevation": 4,
"dest_map": "MAP_INDIGO_PLATEAU_POKEMON_CENTER_2F",
"dest_warp_id": 0
}
],
"coord_events": [],
"bg_events": []
}