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,7 +0,0 @@
FiveIsland_Meadow_MapConnectionsList: @ 8352DDC
connection left, 0, MAP_FIVE_ISLAND
connection right, 20, MAP_FIVE_ISLAND_MEMORIALPILLAR
FiveIsland_Meadow_MapConnections:: @ 8352DF4
.4byte 2
.4byte FiveIsland_Meadow_MapConnectionsList
-17
View File
@@ -1,17 +0,0 @@
FiveIsland_Meadow_EventObjects:
object_event 1, 50, 0, 18, 0, 18, 0, 3, 2, 17, 0, 1, 0, 1, 0, FiveIsland_Meadow_EventScript_1689BB, 136, 0, 0
object_event 2, 49, 0, 17, 0, 5, 0, 3, 17, 17, 0, 1, 0, 5, 0, FiveIsland_Meadow_EventScript_16898D, 136, 0, 0
object_event 3, 49, 0, 11, 0, 27, 0, 3, 10, 17, 0, 1, 0, 3, 0, FiveIsland_Meadow_EventScript_1689A4, 136, 0, 0
object_event 4, 95, 0, 8, 0, 9, 0, 3, 1, 17, 0, 0, 0, 0, 0, FiveIsland_Meadow_EventScript_1BDF13, 18, 0, 0
object_event 5, 95, 0, 19, 0, 12, 0, 3, 1, 17, 0, 0, 0, 0, 0, FiveIsland_Meadow_EventScript_1BDF13, 19, 0, 0
object_event 6, 92, 0, 12, 0, 11, 0, 3, 8, 17, 0, 0, 0, 0, 0, FiveIsland_Meadow_EventScript_1BEC69, 478, 0, 0
object_event 7, 92, 0, 3, 0, 22, 0, 3, 8, 17, 0, 0, 0, 0, 0, FiveIsland_Meadow_EventScript_1BEC76, 479, 0, 0
FiveIsland_Meadow_MapWarps:
warp_def 12, 21, 0, 0, 370
FiveIsland_Meadow_MapBGEvents:
bg_event 12, 21, 0, 0, 0, FiveIsland_Meadow_EventScript_168942
FiveIsland_Meadow_MapEvents::
map_events FiveIsland_Meadow_EventObjects, FiveIsland_Meadow_MapWarps, 0x0, FiveIsland_Meadow_MapBGEvents
-8
View File
@@ -1,8 +0,0 @@
FiveIsland_Meadow:: @ 8350C38
.4byte FiveIsland_Meadow_Layout @ 0x832BAE4
.4byte FiveIsland_Meadow_MapEvents @ 0x83B8D94
.4byte FiveIsland_Meadow_MapScripts @ 0x8168932
.4byte FiveIsland_Meadow_MapConnections @ 0x8352DF4
.2byte BGM_FRLG_SEVII_ISLANDS
.2byte 248
.byte 0xa1, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
+138
View File
@@ -0,0 +1,138 @@
{
"id": "MAP_FIVE_ISLAND_MEADOW",
"name": "FiveIsland_Meadow",
"layout": "LAYOUT_FIVE_ISLAND_MEADOW",
"music": "BGM_FRLG_SEVII_ISLANDS",
"region_map_section": "MAPSEC_FIVE_ISLE_MEADOW",
"requires_flash": false,
"weather": "WEATHER_2",
"map_type": "MAP_TYPE_3",
"unknown_18": 1,
"unknown_19": 6,
"elevator_flag": 0,
"battle_scene": "BATTLE_SCENE_0",
"connections": [
{
"map": "MAP_FIVE_ISLAND",
"offset": 0,
"direction": "left"
},
{
"map": "MAP_FIVE_ISLAND_MEMORIAL_PILLAR",
"offset": 20,
"direction": "right"
}
],
"object_events": [
{
"graphics_id": "50",
"x": 18,
"y": 18,
"elevation": 3,
"movement_type": "2",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1,
"script": "FiveIsland_Meadow_EventScript_1689BB",
"flag": "136"
},
{
"graphics_id": "49",
"x": 17,
"y": 5,
"elevation": 3,
"movement_type": "17",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 5,
"script": "FiveIsland_Meadow_EventScript_16898D",
"flag": "136"
},
{
"graphics_id": "49",
"x": 11,
"y": 27,
"elevation": 3,
"movement_type": "10",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 3,
"script": "FiveIsland_Meadow_EventScript_1689A4",
"flag": "136"
},
{
"graphics_id": "95",
"x": 8,
"y": 9,
"elevation": 3,
"movement_type": "1",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FiveIsland_Meadow_EventScript_1BDF13",
"flag": "18"
},
{
"graphics_id": "95",
"x": 19,
"y": 12,
"elevation": 3,
"movement_type": "1",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FiveIsland_Meadow_EventScript_1BDF13",
"flag": "19"
},
{
"graphics_id": "92",
"x": 12,
"y": 11,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FiveIsland_Meadow_EventScript_1BEC69",
"flag": "478"
},
{
"graphics_id": "92",
"x": 3,
"y": 22,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "FiveIsland_Meadow_EventScript_1BEC76",
"flag": "479"
}
],
"warp_events": [
{
"x": 12,
"y": 21,
"elevation": 0,
"dest_map": "MAP_FIVE_ISLAND_ROCKET_WAREHOUSE",
"dest_warp_id": 0
}
],
"coord_events": [],
"bg_events": [
{
"type": "bg_event_type_0",
"x": 12,
"y": 21,
"elevation": 0,
"script": "FiveIsland_Meadow_EventScript_168942"
}
]
}