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
-22
View File
@@ -1,22 +0,0 @@
SafariZone_East_EventObjects:
object_event 1, 92, 0, 13, 0, 12, 0, 3, 8, 17, 0, 0, 0, 0, 0, SafariZone_East_EventScript_1BE7E4, 386, 0, 0
object_event 2, 92, 0, 37, 0, 15, 0, 3, 8, 17, 0, 0, 0, 0, 0, SafariZone_East_EventScript_1BE7F1, 387, 0, 0
object_event 3, 92, 0, 31, 0, 18, 0, 3, 8, 17, 0, 0, 0, 0, 0, SafariZone_East_EventScript_1BE7FE, 388, 0, 0
object_event 4, 92, 0, 36, 0, 17, 0, 4, 8, 17, 0, 0, 0, 0, 0, SafariZone_East_EventScript_1BE80B, 389, 0, 0
SafariZone_East_MapWarps:
warp_def 8, 9, 3, 6, 321
warp_def 8, 10, 3, 7, 321
warp_def 8, 11, 0, 8, 321
warp_def 8, 26, 3, 9, 319
warp_def 8, 27, 3, 10, 319
warp_def 8, 28, 0, 11, 319
warp_def 40, 14, 0, 1, 324
SafariZone_East_MapBGEvents:
bg_event 18, 27, 0, 0, 0, SafariZone_East_EventScript_16238F
bg_event 43, 15, 0, 0, 0, SafariZone_East_EventScript_16237D
bg_event 17, 8, 0, 0, 0, SafariZone_East_EventScript_162386
SafariZone_East_MapEvents::
map_events SafariZone_East_EventObjects, SafariZone_East_MapWarps, 0x0, SafariZone_East_MapBGEvents
-8
View File
@@ -1,8 +0,0 @@
SafariZone_East:: @ 834F914
.4byte SafariZone_East_Layout @ 0x830EC24
.4byte SafariZone_East_MapEvents @ 0x83B1068
.4byte SafariZone_East_MapScripts @ 0x816237C
.4byte NULL
.2byte BGM_FRLG_SAFARI_ZONE
.2byte 148
.byte 0x88, 0x00, 0x00, 0x03, 0x01, 0x06, 0x00, 0x00
+144
View File
@@ -0,0 +1,144 @@
{
"id": "MAP_SAFARI_ZONE_EAST",
"name": "SafariZone_East",
"layout": "LAYOUT_SAFARI_ZONE_EAST",
"music": "BGM_FRLG_SAFARI_ZONE",
"region_map_section": "MAPSEC_KANTO_SAFARI_ZONE",
"requires_flash": false,
"weather": "WEATHER_0",
"map_type": "MAP_TYPE_3",
"unknown_18": 1,
"unknown_19": 6,
"elevator_flag": 0,
"battle_scene": "BATTLE_SCENE_0",
"connections": null,
"object_events": [
{
"graphics_id": "92",
"x": 13,
"y": 12,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SafariZone_East_EventScript_1BE7E4",
"flag": "386"
},
{
"graphics_id": "92",
"x": 37,
"y": 15,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SafariZone_East_EventScript_1BE7F1",
"flag": "387"
},
{
"graphics_id": "92",
"x": 31,
"y": 18,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SafariZone_East_EventScript_1BE7FE",
"flag": "388"
},
{
"graphics_id": "92",
"x": 36,
"y": 17,
"elevation": 4,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SafariZone_East_EventScript_1BE80B",
"flag": "389"
}
],
"warp_events": [
{
"x": 8,
"y": 9,
"elevation": 3,
"dest_map": "MAP_SAFARI_ZONE_NORTH",
"dest_warp_id": 6
},
{
"x": 8,
"y": 10,
"elevation": 3,
"dest_map": "MAP_SAFARI_ZONE_NORTH",
"dest_warp_id": 7
},
{
"x": 8,
"y": 11,
"elevation": 0,
"dest_map": "MAP_SAFARI_ZONE_NORTH",
"dest_warp_id": 8
},
{
"x": 8,
"y": 26,
"elevation": 3,
"dest_map": "MAP_SAFARI_ZONE_CENTER",
"dest_warp_id": 9
},
{
"x": 8,
"y": 27,
"elevation": 3,
"dest_map": "MAP_SAFARI_ZONE_CENTER",
"dest_warp_id": 10
},
{
"x": 8,
"y": 28,
"elevation": 0,
"dest_map": "MAP_SAFARI_ZONE_CENTER",
"dest_warp_id": 11
},
{
"x": 40,
"y": 14,
"elevation": 0,
"dest_map": "MAP_SAFARI_ZONE_BUILDING2",
"dest_warp_id": 1
}
],
"coord_events": [],
"bg_events": [
{
"type": "bg_event_type_0",
"x": 18,
"y": 27,
"elevation": 0,
"script": "SafariZone_East_EventScript_16238F"
},
{
"type": "bg_event_type_0",
"x": 43,
"y": 15,
"elevation": 0,
"script": "SafariZone_East_EventScript_16237D"
},
{
"type": "bg_event_type_0",
"x": 17,
"y": 8,
"elevation": 0,
"script": "SafariZone_East_EventScript_162386"
}
]
}