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
-11
View File
@@ -1,11 +0,0 @@
SevenIsland_Mart_EventObjects:
object_event 1, 68, 0, 2, 0, 3, 0, 0, 10, 17, 0, 0, 0, 0, 0, SevenIsland_Mart_EventScript_170B31, 0, 0, 0
object_event 2, 22, 0, 6, 0, 2, 0, 3, 16, 17, 0, 0, 0, 0, 0, SevenIsland_Mart_EventScript_170B6E, 0, 0, 0
object_event 3, 57, 0, 9, 0, 5, 0, 3, 3, 17, 0, 0, 0, 0, 0, SevenIsland_Mart_EventScript_170B80, 0, 0, 0
object_event 4, 56, 0, 5, 0, 4, 0, 3, 8, 17, 0, 0, 0, 0, 0, SevenIsland_Mart_EventScript_170B77, 0, 0, 0
SevenIsland_Mart_MapWarps:
warp_def 4, 7, 3, 1, 785
SevenIsland_Mart_MapEvents::
map_events SevenIsland_Mart_EventObjects, SevenIsland_Mart_MapWarps, 0x0, 0x0
-8
View File
@@ -1,8 +0,0 @@
SevenIsland_Mart:: @ 8351AE0
.4byte Mart_Layout @ 0x82D5BCC
.4byte SevenIsland_Mart_MapEvents @ 0x83BE100
.4byte SevenIsland_Mart_MapScripts @ 0x8170B30
.4byte NULL
.2byte BGM_FRLG_POKEMON_CENTER
.2byte 10
.byte 0x94, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
+80
View File
@@ -0,0 +1,80 @@
{
"id": "MAP_SEVEN_ISLAND_MART",
"name": "SevenIsland_Mart",
"layout": "LAYOUT_MART",
"music": "BGM_FRLG_POKEMON_CENTER",
"region_map_section": "MAPSEC_SEVEN_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": "SevenIsland_Mart_EventScript_170B31",
"flag": "0"
},
{
"graphics_id": "22",
"x": 6,
"y": 2,
"elevation": 3,
"movement_type": "16",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SevenIsland_Mart_EventScript_170B6E",
"flag": "0"
},
{
"graphics_id": "57",
"x": 9,
"y": 5,
"elevation": 3,
"movement_type": "3",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SevenIsland_Mart_EventScript_170B80",
"flag": "0"
},
{
"graphics_id": "56",
"x": 5,
"y": 4,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SevenIsland_Mart_EventScript_170B77",
"flag": "0"
}
],
"warp_events": [
{
"x": 4,
"y": 7,
"elevation": 3,
"dest_map": "MAP_SEVEN_ISLAND",
"dest_warp_id": 1
}
],
"coord_events": [],
"bg_events": []
}