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
-32
View File
@@ -1,32 +0,0 @@
SilphCo_3F_EventObjects:
object_event 1, 49, 0, 25, 0, 9, 0, 3, 9, 17, 0, 1, 0, 3, 0, SilphCo_3F_EventScript_16171F, 83, 0, 0
object_event 2, 47, 0, 31, 0, 13, 0, 3, 1, 17, 0, 0, 0, 0, 0, SilphCo_3F_EventScript_1616DE, 0, 0, 0
object_event 3, 55, 0, 4, 0, 12, 0, 3, 1, 17, 0, 1, 0, 0, 0, SilphCo_3F_EventScript_161708, 83, 0, 0
object_event 4, 92, 0, 8, 0, 10, 0, 3, 8, 17, 0, 0, 0, 0, 0, SilphCo_3F_EventScript_1BE866, 396, 0, 0
SilphCo_3F_MapWarps:
warp_def 28, 2, 3, 0, 304
warp_def 4, 6, 3, 1, 307
warp_def 13, 14, 3, 4, 309
warp_def 30, 2, 3, 2, 306
warp_def 2, 14, 3, 2, 311
warp_def 3, 20, 3, 4, 307
warp_def 29, 14, 3, 7, 305
warp_def 32, 20, 3, 6, 305
warp_def 33, 5, 3, 1, 304
warp_def 22, 3, 0, 0, 314
SilphCo_3F_MapBGEvents:
bg_event 10, 12, 3, 0, 0, SilphCo_3F_EventScript_1A894F
bg_event 10, 13, 3, 0, 0, SilphCo_3F_EventScript_1A894F
bg_event 21, 12, 3, 0, 0, SilphCo_3F_EventScript_1A8969
bg_event 21, 13, 3, 0, 0, SilphCo_3F_EventScript_1A8969
bg_event 9, 12, 3, 0, 0, SilphCo_3F_EventScript_1A894F
bg_event 9, 13, 3, 0, 0, SilphCo_3F_EventScript_1A894F
bg_event 20, 12, 3, 0, 0, SilphCo_3F_EventScript_1A8969
bg_event 20, 13, 3, 0, 0, SilphCo_3F_EventScript_1A8969
bg_event 34, 18, 0, 7, 0, 64, 136, 1
bg_event 29, 1, 0, 0, 0, SilphCo_3F_EventScript_1616FF
SilphCo_3F_MapEvents::
map_events SilphCo_3F_EventObjects, SilphCo_3F_MapWarps, 0x0, SilphCo_3F_MapBGEvents
-8
View File
@@ -1,8 +0,0 @@
SilphCo_3F:: @ 834F770
.4byte SilphCo_3F_Layout @ 0x8307E94
.4byte SilphCo_3F_MapEvents @ 0x83AFF58
.4byte SilphCo_3F_MapScripts @ 0x81616C5
.4byte NULL
.2byte BGM_FRLG_SILPH
.2byte 134
.byte 0x86, 0x00, 0x00, 0x08, 0x00, 0x07, 0x03, 0x00
+216
View File
@@ -0,0 +1,216 @@
{
"id": "MAP_SILPH_CO_3F",
"name": "SilphCo_3F",
"layout": "LAYOUT_SILPH_CO_3F",
"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": 3,
"battle_scene": "BATTLE_SCENE_0",
"connections": null,
"object_events": [
{
"graphics_id": "49",
"x": 25,
"y": 9,
"elevation": 3,
"movement_type": "9",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 3,
"script": "SilphCo_3F_EventScript_16171F",
"flag": "83"
},
{
"graphics_id": "47",
"x": 31,
"y": 13,
"elevation": 3,
"movement_type": "1",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SilphCo_3F_EventScript_1616DE",
"flag": "0"
},
{
"graphics_id": "55",
"x": 4,
"y": 12,
"elevation": 3,
"movement_type": "1",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 0,
"script": "SilphCo_3F_EventScript_161708",
"flag": "83"
},
{
"graphics_id": "92",
"x": 8,
"y": 10,
"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_3F_EventScript_1BE866",
"flag": "396"
}
],
"warp_events": [
{
"x": 28,
"y": 2,
"elevation": 3,
"dest_map": "MAP_SILPH_CO_2F",
"dest_warp_id": 0
},
{
"x": 4,
"y": 6,
"elevation": 3,
"dest_map": "MAP_SILPH_CO_5F",
"dest_warp_id": 1
},
{
"x": 13,
"y": 14,
"elevation": 3,
"dest_map": "MAP_SILPH_CO_7F",
"dest_warp_id": 4
},
{
"x": 30,
"y": 2,
"elevation": 3,
"dest_map": "MAP_SILPH_CO_4F",
"dest_warp_id": 2
},
{
"x": 2,
"y": 14,
"elevation": 3,
"dest_map": "MAP_SILPH_CO_9F",
"dest_warp_id": 2
},
{
"x": 3,
"y": 20,
"elevation": 3,
"dest_map": "MAP_SILPH_CO_5F",
"dest_warp_id": 4
},
{
"x": 29,
"y": 14,
"elevation": 3,
"dest_map": "MAP_SILPH_CO_3F",
"dest_warp_id": 7
},
{
"x": 32,
"y": 20,
"elevation": 3,
"dest_map": "MAP_SILPH_CO_3F",
"dest_warp_id": 6
},
{
"x": 33,
"y": 5,
"elevation": 3,
"dest_map": "MAP_SILPH_CO_2F",
"dest_warp_id": 1
},
{
"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": 10,
"y": 12,
"elevation": 3,
"script": "SilphCo_3F_EventScript_1A894F"
},
{
"type": "bg_event_type_0",
"x": 10,
"y": 13,
"elevation": 3,
"script": "SilphCo_3F_EventScript_1A894F"
},
{
"type": "bg_event_type_0",
"x": 21,
"y": 12,
"elevation": 3,
"script": "SilphCo_3F_EventScript_1A8969"
},
{
"type": "bg_event_type_0",
"x": 21,
"y": 13,
"elevation": 3,
"script": "SilphCo_3F_EventScript_1A8969"
},
{
"type": "bg_event_type_0",
"x": 9,
"y": 12,
"elevation": 3,
"script": "SilphCo_3F_EventScript_1A894F"
},
{
"type": "bg_event_type_0",
"x": 9,
"y": 13,
"elevation": 3,
"script": "SilphCo_3F_EventScript_1A894F"
},
{
"type": "bg_event_type_0",
"x": 20,
"y": 12,
"elevation": 3,
"script": "SilphCo_3F_EventScript_1A8969"
},
{
"type": "bg_event_type_0",
"x": 20,
"y": 13,
"elevation": 3,
"script": "SilphCo_3F_EventScript_1A8969"
},
{
"type": "hidden_item",
"x": 34,
"y": 18,
"elevation": 0,
"item": "ITEM_PROTEIN",
"flag": "136",
"unknown": 1
},
{
"type": "bg_event_type_0",
"x": 29,
"y": 1,
"elevation": 0,
"script": "SilphCo_3F_EventScript_1616FF"
}
]
}