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
-36
View File
@@ -1,36 +0,0 @@
SilphCo_9F_EventObjects:
object_event 1, 55, 0, 26, 0, 16, 0, 3, 3, 17, 0, 1, 0, 2, 0, SilphCo_9F_EventScript_161D41, 83, 0, 0
object_event 2, 49, 0, 15, 0, 18, 0, 3, 7, 17, 0, 1, 0, 3, 0, SilphCo_9F_EventScript_161D6F, 83, 0, 0
object_event 3, 28, 0, 2, 0, 16, 0, 0, 8, 17, 0, 0, 0, 0, 0, SilphCo_9F_EventScript_161D09, 0, 0, 0
object_event 4, 49, 0, 1, 0, 6, 0, 3, 8, 17, 0, 1, 0, 5, 0, SilphCo_9F_EventScript_161D58, 83, 0, 0
SilphCo_9F_MapWarps:
warp_def 16, 2, 0, 0, 310
warp_def 22, 18, 3, 3, 307
warp_def 9, 4, 3, 4, 305
warp_def 18, 2, 3, 3, 312
warp_def 24, 3, 0, 0, 314
SilphCo_9F_MapBGEvents:
bg_event 11, 14, 3, 7, 0, 20, 25, 1
bg_event 3, 10, 0, 0, 0, SilphCo_9F_EventScript_1A8A87
bg_event 3, 11, 0, 0, 0, SilphCo_9F_EventScript_1A8A87
bg_event 13, 16, 0, 0, 0, SilphCo_9F_EventScript_1A8AA1
bg_event 13, 17, 0, 0, 0, SilphCo_9F_EventScript_1A8AA1
bg_event 21, 6, 0, 0, 0, SilphCo_9F_EventScript_1A8ABB
bg_event 22, 6, 0, 0, 0, SilphCo_9F_EventScript_1A8ABB
bg_event 22, 7, 0, 0, 0, SilphCo_9F_EventScript_1A8ABB
bg_event 21, 7, 0, 0, 0, SilphCo_9F_EventScript_1A8ABB
bg_event 21, 13, 0, 0, 0, SilphCo_9F_EventScript_1A8AD5
bg_event 21, 12, 0, 0, 0, SilphCo_9F_EventScript_1A8AD5
bg_event 22, 12, 0, 0, 0, SilphCo_9F_EventScript_1A8AD5
bg_event 22, 13, 0, 0, 0, SilphCo_9F_EventScript_1A8AD5
bg_event 2, 11, 0, 0, 0, SilphCo_9F_EventScript_1A8A87
bg_event 2, 10, 0, 0, 0, SilphCo_9F_EventScript_1A8A87
bg_event 12, 16, 0, 0, 0, SilphCo_9F_EventScript_1A8AA1
bg_event 12, 17, 0, 0, 0, SilphCo_9F_EventScript_1A8AA1
bg_event 5, 8, 0, 7, 0, 67, 142, 1
bg_event 17, 1, 0, 0, 0, SilphCo_9F_EventScript_161D38
SilphCo_9F_MapEvents::
map_events SilphCo_9F_EventObjects, SilphCo_9F_MapWarps, 0x0, SilphCo_9F_MapBGEvents
-8
View File
@@ -1,8 +0,0 @@
SilphCo_9F:: @ 834F818
.4byte SilphCo_9F_Layout @ 0x8309E3C
.4byte SilphCo_9F_MapEvents @ 0x83B0904
.4byte SilphCo_9F_MapScripts @ 0x8161CDE
.4byte NULL
.2byte BGM_FRLG_SILPH
.2byte 140
.byte 0x86, 0x00, 0x00, 0x08, 0x00, 0x07, 0x09, 0x00
+246
View File
@@ -0,0 +1,246 @@
{
"id": "MAP_SILPH_CO_9F",
"name": "SilphCo_9F",
"layout": "LAYOUT_SILPH_CO_9F",
"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": 9,
"battle_scene": "BATTLE_SCENE_0",
"connections": null,
"object_events": [
{
"graphics_id": "55",
"x": 26,
"y": 16,
"elevation": 3,
"movement_type": "3",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 2,
"script": "SilphCo_9F_EventScript_161D41",
"flag": "83"
},
{
"graphics_id": "49",
"x": 15,
"y": 18,
"elevation": 3,
"movement_type": "7",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 3,
"script": "SilphCo_9F_EventScript_161D6F",
"flag": "83"
},
{
"graphics_id": "28",
"x": 2,
"y": 16,
"elevation": 0,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 0,
"trainer_sight_or_berry_tree_id": 0,
"script": "SilphCo_9F_EventScript_161D09",
"flag": "0"
},
{
"graphics_id": "49",
"x": 1,
"y": 6,
"elevation": 3,
"movement_type": "8",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": 1,
"trainer_sight_or_berry_tree_id": 5,
"script": "SilphCo_9F_EventScript_161D58",
"flag": "83"
}
],
"warp_events": [
{
"x": 16,
"y": 2,
"elevation": 0,
"dest_map": "MAP_SILPH_CO_8F",
"dest_warp_id": 0
},
{
"x": 22,
"y": 18,
"elevation": 3,
"dest_map": "MAP_SILPH_CO_5F",
"dest_warp_id": 3
},
{
"x": 9,
"y": 4,
"elevation": 3,
"dest_map": "MAP_SILPH_CO_3F",
"dest_warp_id": 4
},
{
"x": 18,
"y": 2,
"elevation": 3,
"dest_map": "MAP_SILPH_CO_10F",
"dest_warp_id": 3
},
{
"x": 24,
"y": 3,
"elevation": 0,
"dest_map": "MAP_SILPH_CO_ELEVATOR",
"dest_warp_id": 0
}
],
"coord_events": [],
"bg_events": [
{
"type": "hidden_item",
"x": 11,
"y": 14,
"elevation": 3,
"item": "ITEM_MAX_POTION",
"flag": "25",
"unknown": 1
},
{
"type": "bg_event_type_0",
"x": 3,
"y": 10,
"elevation": 0,
"script": "SilphCo_9F_EventScript_1A8A87"
},
{
"type": "bg_event_type_0",
"x": 3,
"y": 11,
"elevation": 0,
"script": "SilphCo_9F_EventScript_1A8A87"
},
{
"type": "bg_event_type_0",
"x": 13,
"y": 16,
"elevation": 0,
"script": "SilphCo_9F_EventScript_1A8AA1"
},
{
"type": "bg_event_type_0",
"x": 13,
"y": 17,
"elevation": 0,
"script": "SilphCo_9F_EventScript_1A8AA1"
},
{
"type": "bg_event_type_0",
"x": 21,
"y": 6,
"elevation": 0,
"script": "SilphCo_9F_EventScript_1A8ABB"
},
{
"type": "bg_event_type_0",
"x": 22,
"y": 6,
"elevation": 0,
"script": "SilphCo_9F_EventScript_1A8ABB"
},
{
"type": "bg_event_type_0",
"x": 22,
"y": 7,
"elevation": 0,
"script": "SilphCo_9F_EventScript_1A8ABB"
},
{
"type": "bg_event_type_0",
"x": 21,
"y": 7,
"elevation": 0,
"script": "SilphCo_9F_EventScript_1A8ABB"
},
{
"type": "bg_event_type_0",
"x": 21,
"y": 13,
"elevation": 0,
"script": "SilphCo_9F_EventScript_1A8AD5"
},
{
"type": "bg_event_type_0",
"x": 21,
"y": 12,
"elevation": 0,
"script": "SilphCo_9F_EventScript_1A8AD5"
},
{
"type": "bg_event_type_0",
"x": 22,
"y": 12,
"elevation": 0,
"script": "SilphCo_9F_EventScript_1A8AD5"
},
{
"type": "bg_event_type_0",
"x": 22,
"y": 13,
"elevation": 0,
"script": "SilphCo_9F_EventScript_1A8AD5"
},
{
"type": "bg_event_type_0",
"x": 2,
"y": 11,
"elevation": 0,
"script": "SilphCo_9F_EventScript_1A8A87"
},
{
"type": "bg_event_type_0",
"x": 2,
"y": 10,
"elevation": 0,
"script": "SilphCo_9F_EventScript_1A8A87"
},
{
"type": "bg_event_type_0",
"x": 12,
"y": 16,
"elevation": 0,
"script": "SilphCo_9F_EventScript_1A8AA1"
},
{
"type": "bg_event_type_0",
"x": 12,
"y": 17,
"elevation": 0,
"script": "SilphCo_9F_EventScript_1A8AA1"
},
{
"type": "hidden_item",
"x": 5,
"y": 8,
"elevation": 0,
"item": "ITEM_CALCIUM",
"flag": "142",
"unknown": 1
},
{
"type": "bg_event_type_0",
"x": 17,
"y": 1,
"elevation": 0,
"script": "SilphCo_9F_EventScript_161D38"
}
]
}