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_11F_EventObjects:
object_event 1, 33, 0, 9, 0, 9, 0, 3, 8, 17, 0, 0, 0, 0, 0, SilphCo_11F_EventScript_161DFE, 0, 0, 0
object_event 2, 48, 0, 11, 0, 9, 0, 3, 8, 17, 0, 0, 0, 0, 0, SilphCo_11F_EventScript_161E7F, 0, 0, 0
object_event 3, 87, 0, 6, 0, 11, 0, 3, 10, 17, 0, 0, 0, 0, 0, 0x0, 83, 0, 0
object_event 4, 49, 0, 16, 0, 12, 0, 3, 7, 17, 0, 1, 0, 5, 0, SilphCo_11F_EventScript_161F40, 83, 0, 0
object_event 5, 92, 0, 16, 0, 18, 0, 3, 8, 17, 0, 0, 0, 0, 0, SilphCo_11F_EventScript_1BEB58, 457, 0, 0
object_event 6, 49, 0, 2, 0, 19, 0, 3, 7, 17, 0, 1, 0, 5, 0, SilphCo_11F_EventScript_161F57, 83, 0, 0
SilphCo_11F_MapWarps:
warp_def 7, 2, 3, 0, 312
warp_def 2, 5, 3, 1, 309
warp_def 13, 3, 0, 0, 314
SilphCo_11F_MapCoordEvents:
coord_event 5, 15, 3, 0, 16480, 0, 0, SilphCo_11F_EventScript_161E88
coord_event 6, 15, 3, 0, 16480, 0, 0, SilphCo_11F_EventScript_161E94
SilphCo_11F_MapBGEvents:
bg_event 5, 16, 3, 0, 0, SilphCo_11F_EventScript_1A8B09
bg_event 5, 17, 3, 0, 0, SilphCo_11F_EventScript_1A8B09
bg_event 6, 16, 3, 0, 0, SilphCo_11F_EventScript_1A8B09
bg_event 6, 17, 3, 0, 0, SilphCo_11F_EventScript_1A8B09
bg_event 10, 18, 0, 7, 0, 24, 144, 1
bg_event 8, 1, 0, 0, 0, SilphCo_11F_EventScript_161F37
SilphCo_11F_MapEvents::
map_events SilphCo_11F_EventObjects, SilphCo_11F_MapWarps, SilphCo_11F_MapCoordEvents, SilphCo_11F_MapBGEvents
-8
View File
@@ -1,8 +0,0 @@
SilphCo_11F:: @ 834F850
.4byte SilphCo_11F_Layout @ 0x830A3B4
.4byte SilphCo_11F_MapEvents @ 0x83B0B44
.4byte SilphCo_11F_MapScripts @ 0x8161DEE
.4byte NULL
.2byte BGM_FRLG_SILPH
.2byte 142
.byte 0x86, 0x00, 0x00, 0x08, 0x00, 0x07, 0x0b, 0x00
+184
View File
@@ -0,0 +1,184 @@
{
"id": "MAP_SILPH_CO_11F",
"name": "SilphCo_11F",
"layout": "LAYOUT_SILPH_CO_11F",
"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": 11,
"battle_scene": "BATTLE_SCENE_0",
"connections": null,
"object_events": [
{
"graphics_id": "33",
"x": 9,
"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_11F_EventScript_161DFE",
"flag": "0"
},
{
"graphics_id": "48",
"x": 11,
"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_11F_EventScript_161E7F",
"flag": "0"
},
{
"graphics_id": "87",
"x": 6,
"y": 11,
"elevation": 3,
"movement_type": "10",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "0x0",
"flag": "83"
},
{
"graphics_id": "49",
"x": 16,
"y": 12,
"elevation": 3,
"movement_type": "7",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 5,
"script": "SilphCo_11F_EventScript_161F40",
"flag": "83"
},
{
"graphics_id": "92",
"x": 16,
"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": "SilphCo_11F_EventScript_1BEB58",
"flag": "457"
},
{
"graphics_id": "49",
"x": 2,
"y": 19,
"elevation": 3,
"movement_type": "7",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 5,
"script": "SilphCo_11F_EventScript_161F57",
"flag": "83"
}
],
"warp_events": [
{
"x": 7,
"y": 2,
"elevation": 3,
"dest_map": "MAP_SILPH_CO_10F",
"dest_warp_id": 0
},
{
"x": 2,
"y": 5,
"elevation": 3,
"dest_map": "MAP_SILPH_CO_7F",
"dest_warp_id": 1
},
{
"x": 13,
"y": 3,
"elevation": 0,
"dest_map": "MAP_SILPH_CO_ELEVATOR",
"dest_warp_id": 0
}
],
"coord_events": [
{
"type": "trigger",
"x": 5,
"y": 15,
"elevation": 3,
"var": "VAR_0x4060",
"var_value": 0,
"script": "SilphCo_11F_EventScript_161E88"
},
{
"type": "trigger",
"x": 6,
"y": 15,
"elevation": 3,
"var": "VAR_0x4060",
"var_value": 0,
"script": "SilphCo_11F_EventScript_161E94"
}
],
"bg_events": [
{
"type": "bg_event_type_0",
"x": 5,
"y": 16,
"elevation": 3,
"script": "SilphCo_11F_EventScript_1A8B09"
},
{
"type": "bg_event_type_0",
"x": 5,
"y": 17,
"elevation": 3,
"script": "SilphCo_11F_EventScript_1A8B09"
},
{
"type": "bg_event_type_0",
"x": 6,
"y": 16,
"elevation": 3,
"script": "SilphCo_11F_EventScript_1A8B09"
},
{
"type": "bg_event_type_0",
"x": 6,
"y": 17,
"elevation": 3,
"script": "SilphCo_11F_EventScript_1A8B09"
},
{
"type": "hidden_item",
"x": 10,
"y": 18,
"elevation": 0,
"item": "ITEM_REVIVE",
"flag": "144",
"unknown": 1
},
{
"type": "bg_event_type_0",
"x": 8,
"y": 1,
"elevation": 0,
"script": "SilphCo_11F_EventScript_161F37"
}
]
}