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
-27
View File
@@ -1,27 +0,0 @@
SilphCo_8F_EventObjects:
object_event 1, 49, 0, 28, 0, 5, 0, 3, 9, 17, 0, 1, 0, 4, 0, SilphCo_8F_EventScript_161CB0, 83, 0, 0
object_event 2, 49, 0, 10, 0, 17, 0, 3, 10, 17, 0, 1, 0, 5, 0, SilphCo_8F_EventScript_161CC7, 83, 0, 0
object_event 3, 55, 0, 9, 0, 4, 0, 3, 8, 17, 0, 1, 0, 2, 0, SilphCo_8F_EventScript_161C99, 83, 0, 0
object_event 4, 47, 0, 2, 0, 5, 0, 3, 5, 17, 0, 0, 0, 0, 0, SilphCo_8F_EventScript_161C6F, 0, 0, 0
object_event 5, 92, 0, 24, 0, 8, 0, 3, 8, 17, 0, 0, 0, 0, 0, SilphCo_8F_EventScript_1BEB4B, 456, 0, 0
object_event 6, 55, 0, 29, 0, 9, 0, 3, 8, 17, 0, 0, 0, 0, 0, SilphCo_8F_EventScript_1AD0ED, 0, 0, 0
SilphCo_8F_MapWarps:
warp_def 16, 2, 3, 0, 311
warp_def 11, 10, 3, 4, 310
warp_def 10, 6, 3, 5, 304
warp_def 28, 2, 3, 3, 309
warp_def 2, 12, 3, 1, 310
warp_def 2, 17, 3, 2, 304
warp_def 22, 3, 0, 0, 314
SilphCo_8F_MapBGEvents:
bg_event 6, 10, 0, 0, 0, SilphCo_8F_EventScript_1A8A6D
bg_event 6, 11, 0, 0, 0, SilphCo_8F_EventScript_1A8A6D
bg_event 5, 11, 0, 0, 0, SilphCo_8F_EventScript_1A8A6D
bg_event 5, 10, 0, 0, 0, SilphCo_8F_EventScript_1A8A6D
bg_event 29, 10, 0, 7, 0, 110, 141, 1
bg_event 27, 1, 0, 0, 0, SilphCo_8F_EventScript_161C90
SilphCo_8F_MapEvents::
map_events SilphCo_8F_EventObjects, SilphCo_8F_MapWarps, 0x0, SilphCo_8F_MapBGEvents
-8
View File
@@ -1,8 +0,0 @@
SilphCo_8F:: @ 834F7FC
.4byte SilphCo_8F_Layout @ 0x830997C
.4byte SilphCo_8F_MapEvents @ 0x83B0784
.4byte SilphCo_8F_MapScripts @ 0x8161C5F
.4byte NULL
.2byte BGM_FRLG_SILPH
.2byte 139
.byte 0x86, 0x00, 0x00, 0x08, 0x00, 0x07, 0x08, 0x00
+193
View File
@@ -0,0 +1,193 @@
{
"id": "MAP_SILPH_CO_8F",
"name": "SilphCo_8F",
"layout": "LAYOUT_SILPH_CO_8F",
"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": 8,
"battle_scene": "BATTLE_SCENE_0",
"connections": null,
"object_events": [
{
"graphics_id": "49",
"x": 28,
"y": 5,
"elevation": 3,
"movement_type": "9",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 4,
"script": "SilphCo_8F_EventScript_161CB0",
"flag": "83"
},
{
"graphics_id": "49",
"x": 10,
"y": 17,
"elevation": 3,
"movement_type": "10",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 5,
"script": "SilphCo_8F_EventScript_161CC7",
"flag": "83"
},
{
"graphics_id": "55",
"x": 9,
"y": 4,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 2,
"script": "SilphCo_8F_EventScript_161C99",
"flag": "83"
},
{
"graphics_id": "47",
"x": 2,
"y": 5,
"elevation": 3,
"movement_type": "5",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SilphCo_8F_EventScript_161C6F",
"flag": "0"
},
{
"graphics_id": "92",
"x": 24,
"y": 8,
"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_8F_EventScript_1BEB4B",
"flag": "456"
},
{
"graphics_id": "55",
"x": 29,
"y": 9,
"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_8F_EventScript_1AD0ED",
"flag": "0"
}
],
"warp_events": [
{
"x": 16,
"y": 2,
"elevation": 3,
"dest_map": "MAP_SILPH_CO_9F",
"dest_warp_id": 0
},
{
"x": 11,
"y": 10,
"elevation": 3,
"dest_map": "MAP_SILPH_CO_8F",
"dest_warp_id": 4
},
{
"x": 10,
"y": 6,
"elevation": 3,
"dest_map": "MAP_SILPH_CO_2F",
"dest_warp_id": 5
},
{
"x": 28,
"y": 2,
"elevation": 3,
"dest_map": "MAP_SILPH_CO_7F",
"dest_warp_id": 3
},
{
"x": 2,
"y": 12,
"elevation": 3,
"dest_map": "MAP_SILPH_CO_8F",
"dest_warp_id": 1
},
{
"x": 2,
"y": 17,
"elevation": 3,
"dest_map": "MAP_SILPH_CO_2F",
"dest_warp_id": 2
},
{
"x": 22,
"y": 3,
"elevation": 0,
"dest_map": "MAP_SILPH_CO_ELEVATOR",
"dest_warp_id": 0
}
],
"coord_events": [],
"bg_events": [
{
"type": "bg_event_type_0",
"x": 6,
"y": 10,
"elevation": 0,
"script": "SilphCo_8F_EventScript_1A8A6D"
},
{
"type": "bg_event_type_0",
"x": 6,
"y": 11,
"elevation": 0,
"script": "SilphCo_8F_EventScript_1A8A6D"
},
{
"type": "bg_event_type_0",
"x": 5,
"y": 11,
"elevation": 0,
"script": "SilphCo_8F_EventScript_1A8A6D"
},
{
"type": "bg_event_type_0",
"x": 5,
"y": 10,
"elevation": 0,
"script": "SilphCo_8F_EventScript_1A8A6D"
},
{
"type": "hidden_item",
"x": 29,
"y": 10,
"elevation": 0,
"item": "ITEM_NUGGET",
"flag": "141",
"unknown": 1
},
{
"type": "bg_event_type_0",
"x": 27,
"y": 1,
"elevation": 0,
"script": "SilphCo_8F_EventScript_161C90"
}
]
}