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,9 +0,0 @@
PokemonLeague_LoreleisRoom_EventObjects:
object_event 1, 77, 0, 6, 0, 5, 0, 3, 8, 17, 0, 0, 0, 0, 0, PokemonLeague_LoreleisRoom_EventScript_1625DC, 0, 0, 0
PokemonLeague_LoreleisRoom_MapWarps:
warp_def 6, 12, 0, 1, 3328
warp_def 6, 2, 0, 0, 332
PokemonLeague_LoreleisRoom_MapEvents::
map_events PokemonLeague_LoreleisRoom_EventObjects, PokemonLeague_LoreleisRoom_MapWarps, 0x0, 0x0
@@ -1,8 +0,0 @@
PokemonLeague_LoreleisRoom:: @ 834FA48
.4byte PokemonLeague_LoreleisRoom_Layout @ 0x831F178
.4byte PokemonLeague_LoreleisRoom_MapEvents @ 0x83B18B0
.4byte PokemonLeague_LoreleisRoom_MapScripts @ 0x816256C
.4byte NULL
.2byte BGM_FRLG_GYM
.2byte 213
.byte 0x89, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x04
@@ -0,0 +1,48 @@
{
"id": "MAP_POKEMON_LEAGUE_LORELEIS_ROOM",
"name": "PokemonLeague_LoreleisRoom",
"layout": "LAYOUT_POKEMON_LEAGUE_LORELEIS_ROOM",
"music": "BGM_FRLG_GYM",
"region_map_section": "MAPSEC_POKEMON_LEAGUE",
"requires_flash": false,
"weather": "WEATHER_0",
"map_type": "MAP_TYPE_8",
"unknown_18": 0,
"unknown_19": 0,
"elevator_flag": 0,
"battle_scene": "BATTLE_SCENE_4",
"connections": null,
"object_events": [
{
"graphics_id": "77",
"x": 6,
"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": "PokemonLeague_LoreleisRoom_EventScript_1625DC",
"flag": "0"
}
],
"warp_events": [
{
"x": 6,
"y": 12,
"elevation": 0,
"dest_map": "MAP_INDIGO_PLATEAU_POKEMON_CENTER_1F",
"dest_warp_id": 1
},
{
"x": 6,
"y": 2,
"elevation": 0,
"dest_map": "MAP_POKEMON_LEAGUE_BRUNOS_ROOM",
"dest_warp_id": 0
}
],
"coord_events": [],
"bg_events": []
}