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
-16
View File
@@ -1,16 +0,0 @@
UnknownMap_00_04_EventObjects:
object_event 1, 66, 0, 3, 0, 2, 0, 3, 8, 0, 0, 0, 0, 0, 0, UnknownMap_00_04_EventScript_16050C, 0, 0, 0
object_event 2, 243, 0, 1, 0, 8, 0, 3, 2, 17, 0, 0, 0, 0, 0, UnknownMap_00_04_EventScript_1604DA, 102, 0, 0
object_event 3, 247, 0, 7, 0, 8, 0, 3, 2, 17, 0, 0, 0, 0, 0, UnknownMap_00_04_EventScript_160502, 106, 0, 0
object_event 4, 246, 0, 1, 0, 4, 0, 3, 2, 17, 0, 0, 0, 0, 0, UnknownMap_00_04_EventScript_1604F8, 105, 0, 0
object_event 5, 245, 0, 7, 0, 4, 0, 3, 2, 17, 0, 0, 0, 0, 0, UnknownMap_00_04_EventScript_1604EE, 104, 0, 0
object_event 6, 244, 0, 13, 0, 4, 0, 3, 2, 17, 0, 0, 0, 0, 0, UnknownMap_00_04_EventScript_1604E4, 103, 0, 0
object_event 7, 242, 0, 10, 0, 6, 0, 3, 2, 17, 0, 0, 0, 0, 0, UnknownMap_00_04_EventScript_1604D0, 101, 0, 0
object_event 8, 241, 0, 13, 0, 8, 0, 3, 2, 17, 0, 0, 0, 0, 0, UnknownMap_00_04_EventScript_1604C6, 100, 0, 0
object_event 9, 240, 0, 4, 0, 6, 0, 3, 2, 17, 0, 0, 0, 0, 0, UnknownMap_00_04_EventScript_1604BC, 99, 0, 0
UnknownMap_00_04_MapWarps:
warp_def 7, 11, 3, 127, 32639
UnknownMap_00_04_MapEvents::
map_events UnknownMap_00_04_EventObjects, UnknownMap_00_04_MapWarps, 0x0, 0x0
-8
View File
@@ -1,8 +0,0 @@
UnknownMap_00_04:: @ 834F1F8
.4byte UnknownMap_00_04_Layout @ 0x83388C4
.4byte UnknownMap_00_04_MapEvents @ 0x83AE32C
.4byte UnknownMap_00_04_MapScripts @ 0x816047C
.4byte NULL
.2byte BGM_FRLG_UNION_ROOM
.2byte 262
.byte 0xc4, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x08
+145
View File
@@ -0,0 +1,145 @@
{
"id": "MAP_UNKNOWN_MAP_00_04",
"name": "UnknownMap_00_04",
"layout": "LAYOUT_UNKNOWN_MAP_00_04",
"music": "BGM_FRLG_UNION_ROOM",
"region_map_section": "MAPSEC_SPECIAL_AREA",
"requires_flash": false,
"weather": "WEATHER_0",
"map_type": "MAP_TYPE_8",
"unknown_18": 0,
"unknown_19": 0,
"elevator_flag": 0,
"battle_scene": "BATTLE_SCENE_8",
"connections": null,
"object_events": [
{
"graphics_id": "66",
"x": 3,
"y": 2,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "UnknownMap_00_04_EventScript_16050C",
"flag": "0"
},
{
"graphics_id": "243",
"x": 1,
"y": 8,
"elevation": 3,
"movement_type": "2",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "UnknownMap_00_04_EventScript_1604DA",
"flag": "102"
},
{
"graphics_id": "247",
"x": 7,
"y": 8,
"elevation": 3,
"movement_type": "2",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "UnknownMap_00_04_EventScript_160502",
"flag": "106"
},
{
"graphics_id": "246",
"x": 1,
"y": 4,
"elevation": 3,
"movement_type": "2",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "UnknownMap_00_04_EventScript_1604F8",
"flag": "105"
},
{
"graphics_id": "245",
"x": 7,
"y": 4,
"elevation": 3,
"movement_type": "2",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "UnknownMap_00_04_EventScript_1604EE",
"flag": "104"
},
{
"graphics_id": "244",
"x": 13,
"y": 4,
"elevation": 3,
"movement_type": "2",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "UnknownMap_00_04_EventScript_1604E4",
"flag": "103"
},
{
"graphics_id": "242",
"x": 10,
"y": 6,
"elevation": 3,
"movement_type": "2",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "UnknownMap_00_04_EventScript_1604D0",
"flag": "101"
},
{
"graphics_id": "241",
"x": 13,
"y": 8,
"elevation": 3,
"movement_type": "2",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "UnknownMap_00_04_EventScript_1604C6",
"flag": "100"
},
{
"graphics_id": "240",
"x": 4,
"y": 6,
"elevation": 3,
"movement_type": "2",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "UnknownMap_00_04_EventScript_1604BC",
"flag": "99"
}
],
"warp_events": [
{
"x": 7,
"y": 11,
"elevation": 3,
"dest_map": "MAP_NONE",
"dest_warp_id": 127
}
],
"coord_events": [],
"bg_events": []
}