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
-26
View File
@@ -1,26 +0,0 @@
SilphCo_10F_EventObjects:
object_event 1, 55, 0, 2, 0, 7, 0, 3, 2, 34, 0, 1, 0, 1, 0, SilphCo_10F_EventScript_161DC0, 83, 0, 0
object_event 2, 48, 0, 10, 0, 17, 0, 3, 8, 17, 0, 0, 0, 0, 0, SilphCo_10F_EventScript_161D96, 0, 0, 0
object_event 3, 49, 0, 0, 0, 13, 0, 3, 10, 17, 0, 1, 0, 4, 0, SilphCo_10F_EventScript_161DD7, 83, 0, 0
object_event 4, 92, 0, 5, 0, 15, 0, 3, 8, 17, 0, 0, 0, 0, 0, SilphCo_10F_EventScript_1BE8F5, 407, 0, 0
object_event 5, 92, 0, 2, 0, 15, 0, 3, 8, 17, 0, 0, 0, 0, 0, SilphCo_10F_EventScript_1BE902, 408, 0, 0
object_event 6, 92, 0, 3, 0, 17, 0, 3, 8, 17, 0, 0, 0, 0, 0, SilphCo_10F_EventScript_1BE90F, 409, 0, 0
SilphCo_10F_MapWarps:
warp_def 6, 2, 3, 0, 313
warp_def 10, 14, 3, 3, 306
warp_def 14, 9, 3, 5, 306
warp_def 8, 2, 3, 3, 311
warp_def 14, 17, 3, 4, 306
warp_def 13, 3, 0, 0, 314
SilphCo_10F_MapBGEvents:
bg_event 12, 11, 0, 0, 0, SilphCo_10F_EventScript_1A8AEF
bg_event 13, 11, 0, 0, 0, SilphCo_10F_EventScript_1A8AEF
bg_event 12, 12, 0, 0, 0, SilphCo_10F_EventScript_1A8AEF
bg_event 13, 12, 0, 0, 0, SilphCo_10F_EventScript_1A8AEF
bg_event 9, 9, 0, 7, 0, 63, 143, 1
bg_event 7, 1, 0, 0, 0, SilphCo_10F_EventScript_161DB7
SilphCo_10F_MapEvents::
map_events SilphCo_10F_EventObjects, SilphCo_10F_MapWarps, 0x0, SilphCo_10F_MapBGEvents
-8
View File
@@ -1,8 +0,0 @@
SilphCo_10F:: @ 834F834
.4byte SilphCo_10F_Layout @ 0x830A0E8
.4byte SilphCo_10F_MapEvents @ 0x83B0A20
.4byte SilphCo_10F_MapScripts @ 0x8161D86
.4byte NULL
.2byte BGM_FRLG_SILPH
.2byte 141
.byte 0x86, 0x00, 0x00, 0x08, 0x00, 0x07, 0x0a, 0x00
+186
View File
@@ -0,0 +1,186 @@
{
"id": "MAP_SILPH_CO_10F",
"name": "SilphCo_10F",
"layout": "LAYOUT_SILPH_CO_10F",
"music": "BGM_FRLG_SILPH",
"region_map_section": "MAPSEC_SILPH_CO",
"requires_flash": false,
"weather": "WEATHER_0",
"map_type": "MAP_TYPE_8",
"unknown_18": 0,
"unknown_19": 7,
"elevator_flag": 10,
"battle_scene": "BATTLE_SCENE_0",
"connections": null,
"object_events": [
{
"graphics_id": "55",
"x": 2,
"y": 7,
"elevation": 3,
"movement_type": "2",
"movement_range_x": 2,
"movement_range_y": 2,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 1,
"script": "SilphCo_10F_EventScript_161DC0",
"flag": "83"
},
{
"graphics_id": "48",
"x": 10,
"y": 17,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SilphCo_10F_EventScript_161D96",
"flag": "0"
},
{
"graphics_id": "49",
"x": 0,
"y": 13,
"elevation": 3,
"movement_type": "10",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4,
"script": "SilphCo_10F_EventScript_161DD7",
"flag": "83"
},
{
"graphics_id": "92",
"x": 5,
"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": "SilphCo_10F_EventScript_1BE8F5",
"flag": "407"
},
{
"graphics_id": "92",
"x": 2,
"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": "SilphCo_10F_EventScript_1BE902",
"flag": "408"
},
{
"graphics_id": "92",
"x": 3,
"y": 17,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SilphCo_10F_EventScript_1BE90F",
"flag": "409"
}
],
"warp_events": [
{
"x": 6,
"y": 2,
"elevation": 3,
"dest_map": "MAP_SILPH_CO_11F",
"dest_warp_id": 0
},
{
"x": 10,
"y": 14,
"elevation": 3,
"dest_map": "MAP_SILPH_CO_4F",
"dest_warp_id": 3
},
{
"x": 14,
"y": 9,
"elevation": 3,
"dest_map": "MAP_SILPH_CO_4F",
"dest_warp_id": 5
},
{
"x": 8,
"y": 2,
"elevation": 3,
"dest_map": "MAP_SILPH_CO_9F",
"dest_warp_id": 3
},
{
"x": 14,
"y": 17,
"elevation": 3,
"dest_map": "MAP_SILPH_CO_4F",
"dest_warp_id": 4
},
{
"x": 13,
"y": 3,
"elevation": 0,
"dest_map": "MAP_SILPH_CO_ELEVATOR",
"dest_warp_id": 0
}
],
"coord_events": [],
"bg_events": [
{
"type": "bg_event_type_0",
"x": 12,
"y": 11,
"elevation": 0,
"script": "SilphCo_10F_EventScript_1A8AEF"
},
{
"type": "bg_event_type_0",
"x": 13,
"y": 11,
"elevation": 0,
"script": "SilphCo_10F_EventScript_1A8AEF"
},
{
"type": "bg_event_type_0",
"x": 12,
"y": 12,
"elevation": 0,
"script": "SilphCo_10F_EventScript_1A8AEF"
},
{
"type": "bg_event_type_0",
"x": 13,
"y": 12,
"elevation": 0,
"script": "SilphCo_10F_EventScript_1A8AEF"
},
{
"type": "hidden_item",
"x": 9,
"y": 9,
"elevation": 0,
"item": "ITEM_HP_UP",
"flag": "143",
"unknown": 1
},
{
"type": "bg_event_type_0",
"x": 7,
"y": 1,
"elevation": 0,
"script": "SilphCo_10F_EventScript_161DB7"
}
]
}