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,6 +0,0 @@
SixIsland_RuinValley_MapConnectionsList: @ 8352E70
connection right, -80, MAP_SIX_ISLAND_WATERPATH
SixIsland_RuinValley_MapConnections:: @ 8352E7C
.4byte 1
.4byte SixIsland_RuinValley_MapConnectionsList
-27
View File
@@ -1,27 +0,0 @@
SixIsland_RuinValley_EventObjects:
object_event 1, 55, 0, 24, 0, 25, 0, 3, 7, 17, 0, 0, 0, 0, 0, SixIsland_RuinValley_EventScript_168B6D, 142, 0, 0
object_event 2, 56, 0, 32, 0, 11, 0, 5, 17, 17, 0, 1, 0, 4, 0, SixIsland_RuinValley_EventScript_1AC717, 0, 0, 0
object_event 3, 56, 0, 33, 0, 16, 0, 5, 14, 17, 0, 1, 0, 2, 0, SixIsland_RuinValley_EventScript_1AC755, 0, 0, 0
object_event 4, 56, 0, 31, 0, 24, 0, 5, 9, 17, 0, 1, 0, 1, 0, SixIsland_RuinValley_EventScript_1AC793, 0, 0, 0
object_event 5, 56, 0, 14, 0, 10, 0, 5, 8, 17, 0, 1, 0, 2, 0, SixIsland_RuinValley_EventScript_1AC7D1, 0, 0, 0
object_event 6, 52, 0, 21, 0, 29, 0, 5, 2, 50, 0, 1, 0, 1, 0, SixIsland_RuinValley_EventScript_1AC80F, 0, 0, 0
object_event 7, 97, 0, 17, 0, 10, 0, 5, 1, 0, 0, 0, 0, 0, 0, SixIsland_RuinValley_EventScript_1BE11D, 0, 0, 0
object_event 8, 97, 0, 17, 0, 12, 0, 5, 1, 0, 0, 0, 0, 0, 0, SixIsland_RuinValley_EventScript_1BE11D, 0, 0, 0
object_event 9, 97, 0, 18, 0, 11, 0, 5, 1, 0, 0, 0, 0, 0, 0, SixIsland_RuinValley_EventScript_1BE11D, 0, 0, 0
object_event 10, 97, 0, 6, 0, 33, 0, 3, 1, 0, 0, 0, 0, 0, 0, SixIsland_RuinValley_EventScript_1BE11D, 0, 0, 0
object_event 11, 97, 0, 6, 0, 34, 0, 3, 1, 0, 0, 0, 0, 0, 0, SixIsland_RuinValley_EventScript_1BE11D, 0, 0, 0
object_event 12, 97, 0, 41, 0, 32, 0, 3, 1, 0, 0, 0, 0, 0, 0, SixIsland_RuinValley_EventScript_1BE11D, 0, 0, 0
object_event 13, 97, 0, 41, 0, 33, 0, 3, 1, 0, 0, 0, 0, 0, 0, SixIsland_RuinValley_EventScript_1BE11D, 0, 0, 0
object_event 14, 97, 0, 42, 0, 33, 0, 3, 1, 0, 0, 0, 0, 0, 0, SixIsland_RuinValley_EventScript_1BE11D, 0, 0, 0
object_event 15, 92, 0, 5, 0, 33, 0, 3, 8, 17, 0, 0, 0, 0, 0, SixIsland_RuinValley_EventScript_1BECC4, 485, 0, 0
object_event 16, 92, 0, 19, 0, 11, 0, 5, 8, 17, 0, 0, 0, 0, 0, SixIsland_RuinValley_EventScript_1BECB7, 484, 0, 0
object_event 17, 92, 0, 43, 0, 32, 0, 3, 8, 17, 0, 0, 0, 0, 0, SixIsland_RuinValley_EventScript_1BECD1, 486, 0, 0
SixIsland_RuinValley_MapWarps:
warp_def 24, 24, 3, 0, 371
SixIsland_RuinValley_MapBGEvents:
bg_event 24, 24, 3, 0, 0, SixIsland_RuinValley_EventScript_168B94
SixIsland_RuinValley_MapEvents::
map_events SixIsland_RuinValley_EventObjects, SixIsland_RuinValley_MapWarps, 0x0, SixIsland_RuinValley_MapBGEvents
@@ -1,8 +0,0 @@
SixIsland_RuinValley:: @ 8350CC4
.4byte SixIsland_RuinValley_Layout @ 0x83302D8
.4byte SixIsland_RuinValley_MapEvents @ 0x83B92A0
.4byte SixIsland_RuinValley_MapScripts @ 0x8168B53
.4byte SixIsland_RuinValley_MapConnections @ 0x8352E7C
.2byte BGM_FRLG_SEVII_ISLANDS
.2byte 253
.byte 0xa6, 0x00, 0x02, 0x03, 0x01, 0x06, 0x00, 0x00
+263
View File
@@ -0,0 +1,263 @@
{
"id": "MAP_SIX_ISLAND_RUIN_VALLEY",
"name": "SixIsland_RuinValley",
"layout": "LAYOUT_SIX_ISLAND_RUIN_VALLEY",
"music": "BGM_FRLG_SEVII_ISLANDS",
"region_map_section": "MAPSEC_RUIN_VALLEY",
"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_SIX_ISLAND_WATER_PATH",
"offset": -80,
"direction": "right"
}
],
"object_events": [
{
"graphics_id": "55",
"x": 24,
"y": 25,
"elevation": 3,
"movement_type": "7",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SixIsland_RuinValley_EventScript_168B6D",
"flag": "142"
},
{
"graphics_id": "56",
"x": 32,
"y": 11,
"elevation": 5,
"movement_type": "17",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4,
"script": "SixIsland_RuinValley_EventScript_1AC717",
"flag": "0"
},
{
"graphics_id": "56",
"x": 33,
"y": 16,
"elevation": 5,
"movement_type": "14",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 2,
"script": "SixIsland_RuinValley_EventScript_1AC755",
"flag": "0"
},
{
"graphics_id": "56",
"x": 31,
"y": 24,
"elevation": 5,
"movement_type": "9",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1,
"script": "SixIsland_RuinValley_EventScript_1AC793",
"flag": "0"
},
{
"graphics_id": "56",
"x": 14,
"y": 10,
"elevation": 5,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 2,
"script": "SixIsland_RuinValley_EventScript_1AC7D1",
"flag": "0"
},
{
"graphics_id": "52",
"x": 21,
"y": 29,
"elevation": 5,
"movement_type": "2",
"movement_range_x": 2,
"movement_range_y": 3,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1,
"script": "SixIsland_RuinValley_EventScript_1AC80F",
"flag": "0"
},
{
"graphics_id": "97",
"x": 17,
"y": 10,
"elevation": 5,
"movement_type": "1",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SixIsland_RuinValley_EventScript_1BE11D",
"flag": "0"
},
{
"graphics_id": "97",
"x": 17,
"y": 12,
"elevation": 5,
"movement_type": "1",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SixIsland_RuinValley_EventScript_1BE11D",
"flag": "0"
},
{
"graphics_id": "97",
"x": 18,
"y": 11,
"elevation": 5,
"movement_type": "1",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SixIsland_RuinValley_EventScript_1BE11D",
"flag": "0"
},
{
"graphics_id": "97",
"x": 6,
"y": 33,
"elevation": 3,
"movement_type": "1",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SixIsland_RuinValley_EventScript_1BE11D",
"flag": "0"
},
{
"graphics_id": "97",
"x": 6,
"y": 34,
"elevation": 3,
"movement_type": "1",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SixIsland_RuinValley_EventScript_1BE11D",
"flag": "0"
},
{
"graphics_id": "97",
"x": 41,
"y": 32,
"elevation": 3,
"movement_type": "1",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SixIsland_RuinValley_EventScript_1BE11D",
"flag": "0"
},
{
"graphics_id": "97",
"x": 41,
"y": 33,
"elevation": 3,
"movement_type": "1",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SixIsland_RuinValley_EventScript_1BE11D",
"flag": "0"
},
{
"graphics_id": "97",
"x": 42,
"y": 33,
"elevation": 3,
"movement_type": "1",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SixIsland_RuinValley_EventScript_1BE11D",
"flag": "0"
},
{
"graphics_id": "92",
"x": 5,
"y": 33,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SixIsland_RuinValley_EventScript_1BECC4",
"flag": "485"
},
{
"graphics_id": "92",
"x": 19,
"y": 11,
"elevation": 5,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SixIsland_RuinValley_EventScript_1BECB7",
"flag": "484"
},
{
"graphics_id": "92",
"x": 43,
"y": 32,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SixIsland_RuinValley_EventScript_1BECD1",
"flag": "486"
}
],
"warp_events": [
{
"x": 24,
"y": 24,
"elevation": 3,
"dest_map": "MAP_SIX_ISLAND_DOTTED_HOLE_1F",
"dest_warp_id": 0
}
],
"coord_events": [],
"bg_events": [
{
"type": "bg_event_type_0",
"x": 24,
"y": 24,
"elevation": 3,
"script": "SixIsland_RuinValley_EventScript_168B94"
}
]
}