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 @@
VermilionCity_PokemonFanClub_EventObjects:
object_event 1, 61, 0, 5, 0, 4, 0, 4, 8, 17, 0, 0, 0, 0, 0, VermilionCity_PokemonFanClub_EventScript_16B47F, 0, 0, 0
object_event 2, 48, 0, 6, 0, 4, 0, 4, 8, 17, 0, 0, 0, 0, 0, VermilionCity_PokemonFanClub_EventScript_16B4FC, 0, 0, 0
object_event 3, 120, 0, 7, 0, 6, 0, 3, 1, 17, 0, 0, 0, 0, 0, VermilionCity_PokemonFanClub_EventScript_16B59E, 0, 0, 0
object_event 4, 126, 0, 4, 0, 6, 0, 3, 1, 17, 0, 0, 0, 0, 0, VermilionCity_PokemonFanClub_EventScript_16B5B1, 0, 0, 0
object_event 5, 23, 0, 4, 0, 5, 0, 0, 8, 17, 0, 0, 0, 0, 0, VermilionCity_PokemonFanClub_EventScript_16B528, 0, 0, 0
object_event 6, 27, 0, 7, 0, 5, 0, 0, 8, 17, 0, 0, 0, 0, 0, VermilionCity_PokemonFanClub_EventScript_16B563, 0, 0, 0
VermilionCity_PokemonFanClub_MapWarps:
warp_def 4, 10, 3, 5, 773
warp_def 5, 10, 3, 5, 773
warp_def 6, 10, 3, 5, 773
VermilionCity_PokemonFanClub_MapBGEvents:
bg_event 2, 1, 0, 0, 0, VermilionCity_PokemonFanClub_EventScript_16B5C4
bg_event 9, 1, 0, 0, 0, VermilionCity_PokemonFanClub_EventScript_16B5CD
VermilionCity_PokemonFanClub_MapEvents::
map_events VermilionCity_PokemonFanClub_EventObjects, VermilionCity_PokemonFanClub_MapWarps, 0x0, VermilionCity_PokemonFanClub_MapBGEvents
@@ -1,8 +0,0 @@
VermilionCity_PokemonFanClub:: @ 835115C
.4byte VermilionCity_PokemonFanClub_Layout @ 0x833ABC8
.4byte VermilionCity_PokemonFanClub_MapEvents @ 0x83BADA8
.4byte VermilionCity_PokemonFanClub_MapScripts @ 0x816B47E
.4byte NULL
.2byte BGM_FRLG_VERMILION_CITY
.2byte 273
.byte 0x5d, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
@@ -0,0 +1,135 @@
{
"id": "MAP_VERMILION_CITY_POKEMON_FAN_CLUB",
"name": "VermilionCity_PokemonFanClub",
"layout": "LAYOUT_VERMILION_CITY_POKEMON_FAN_CLUB",
"music": "BGM_FRLG_VERMILION_CITY",
"region_map_section": "MAPSEC_VERMILION_CITY",
"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": "61",
"x": 5,
"y": 4,
"elevation": 4,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "VermilionCity_PokemonFanClub_EventScript_16B47F",
"flag": "0"
},
{
"graphics_id": "48",
"x": 6,
"y": 4,
"elevation": 4,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "VermilionCity_PokemonFanClub_EventScript_16B4FC",
"flag": "0"
},
{
"graphics_id": "120",
"x": 7,
"y": 6,
"elevation": 3,
"movement_type": "1",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "VermilionCity_PokemonFanClub_EventScript_16B59E",
"flag": "0"
},
{
"graphics_id": "126",
"x": 4,
"y": 6,
"elevation": 3,
"movement_type": "1",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "VermilionCity_PokemonFanClub_EventScript_16B5B1",
"flag": "0"
},
{
"graphics_id": "23",
"x": 4,
"y": 5,
"elevation": 0,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "VermilionCity_PokemonFanClub_EventScript_16B528",
"flag": "0"
},
{
"graphics_id": "27",
"x": 7,
"y": 5,
"elevation": 0,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "VermilionCity_PokemonFanClub_EventScript_16B563",
"flag": "0"
}
],
"warp_events": [
{
"x": 4,
"y": 10,
"elevation": 3,
"dest_map": "MAP_VERMILION_CITY",
"dest_warp_id": 5
},
{
"x": 5,
"y": 10,
"elevation": 3,
"dest_map": "MAP_VERMILION_CITY",
"dest_warp_id": 5
},
{
"x": 6,
"y": 10,
"elevation": 3,
"dest_map": "MAP_VERMILION_CITY",
"dest_warp_id": 5
}
],
"coord_events": [],
"bg_events": [
{
"type": "bg_event_type_0",
"x": 2,
"y": 1,
"elevation": 0,
"script": "VermilionCity_PokemonFanClub_EventScript_16B5C4"
},
{
"type": "bg_event_type_0",
"x": 9,
"y": 1,
"elevation": 0,
"script": "VermilionCity_PokemonFanClub_EventScript_16B5CD"
}
]
}