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
-10
View File
@@ -1,10 +0,0 @@
FourIsland_Mart_EventObjects:
object_event 1, 68, 0, 2, 0, 3, 0, 0, 10, 17, 0, 0, 0, 0, 0, FourIsland_Mart_EventScript_171CAE, 0, 0, 0
object_event 2, 32, 0, 6, 0, 5, 0, 3, 10, 17, 0, 0, 0, 0, 0, FourIsland_Mart_EventScript_1ACF46, 0, 0, 0
object_event 3, 39, 0, 8, 0, 3, 0, 3, 2, 18, 0, 0, 0, 0, 0, FourIsland_Mart_EventScript_171CE8, 0, 0, 0
FourIsland_Mart_MapWarps:
warp_def 4, 7, 3, 7, 783
FourIsland_Mart_MapEvents::
map_events FourIsland_Mart_EventObjects, FourIsland_Mart_MapWarps, 0x0, 0x0
-8
View File
@@ -1,8 +0,0 @@
FourIsland_Mart:: @ 8351E28
.4byte Mart_Layout @ 0x82D5BCC
.4byte FourIsland_Mart_MapEvents @ 0x83BEE40
.4byte FourIsland_Mart_MapScripts @ 0x8171CAD
.4byte NULL
.2byte BGM_FRLG_POKEMON_CENTER
.2byte 10
.byte 0x92, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
+67
View File
@@ -0,0 +1,67 @@
{
"id": "MAP_FOUR_ISLAND_MART",
"name": "FourIsland_Mart",
"layout": "LAYOUT_MART",
"music": "BGM_FRLG_POKEMON_CENTER",
"region_map_section": "MAPSEC_FOUR_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": "68",
"x": 2,
"y": 3,
"elevation": 0,
"movement_type": "10",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FourIsland_Mart_EventScript_171CAE",
"flag": "0"
},
{
"graphics_id": "32",
"x": 6,
"y": 5,
"elevation": 3,
"movement_type": "10",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FourIsland_Mart_EventScript_1ACF46",
"flag": "0"
},
{
"graphics_id": "39",
"x": 8,
"y": 3,
"elevation": 3,
"movement_type": "2",
"movement_range_x": 2,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FourIsland_Mart_EventScript_171CE8",
"flag": "0"
}
],
"warp_events": [
{
"x": 4,
"y": 7,
"elevation": 3,
"dest_map": "MAP_FOUR_ISLAND",
"dest_warp_id": 7
}
],
"coord_events": [],
"bg_events": []
}