convert map data to json
This commit is contained in:
@@ -1,43 +0,0 @@
|
||||
SilphCo_7F_EventObjects:
|
||||
object_event 1, 72, 0, 2, 0, 6, 0, 3, 7, 17, 0, 0, 0, 0, 0, 0x0, 78, 0, 0
|
||||
object_event 2, 47, 0, 0, 0, 7, 0, 3, 10, 17, 0, 0, 0, 0, 0, SilphCo_7F_EventScript_161AC8, 0, 0, 0
|
||||
object_event 3, 49, 0, 24, 0, 5, 0, 3, 9, 17, 0, 1, 0, 4, 0, SilphCo_7F_EventScript_161C1A, 83, 0, 0
|
||||
object_event 4, 49, 0, 24, 0, 15, 0, 3, 10, 17, 0, 1, 0, 2, 0, SilphCo_7F_EventScript_161C31, 83, 0, 0
|
||||
object_event 5, 49, 0, 13, 0, 4, 0, 3, 8, 17, 0, 1, 0, 3, 0, SilphCo_7F_EventScript_161C48, 83, 0, 0
|
||||
object_event 6, 48, 0, 10, 0, 10, 0, 3, 1, 17, 0, 0, 0, 0, 0, SilphCo_7F_EventScript_161BD9, 0, 0, 0
|
||||
object_event 7, 47, 0, 13, 0, 14, 0, 3, 9, 17, 0, 0, 0, 0, 0, SilphCo_7F_EventScript_161B97, 0, 0, 0
|
||||
object_event 8, 47, 0, 9, 0, 14, 0, 3, 27, 17, 0, 0, 0, 0, 0, SilphCo_7F_EventScript_161BB8, 0, 0, 0
|
||||
object_event 9, 55, 0, 3, 0, 13, 0, 3, 5, 18, 0, 1, 0, 1, 0, SilphCo_7F_EventScript_161C03, 83, 0, 0
|
||||
object_event 10, 92, 0, 0, 0, 12, 0, 3, 8, 17, 0, 0, 0, 0, 0, SilphCo_7F_EventScript_1BE8DB, 405, 0, 0
|
||||
object_event 11, 92, 0, 30, 0, 11, 0, 3, 8, 17, 0, 0, 0, 0, 0, SilphCo_7F_EventScript_1BE8E8, 406, 0, 0
|
||||
|
||||
SilphCo_7F_MapWarps:
|
||||
warp_def 19, 2, 3, 0, 308
|
||||
warp_def 5, 8, 3, 1, 313
|
||||
warp_def 25, 17, 3, 5, 307
|
||||
warp_def 27, 2, 3, 3, 310
|
||||
warp_def 5, 4, 3, 2, 305
|
||||
warp_def 23, 3, 0, 0, 314
|
||||
|
||||
SilphCo_7F_MapCoordEvents:
|
||||
coord_event 2, 4, 3, 0, 16476, 0, 0, SilphCo_7F_EventScript_1619BC
|
||||
coord_event 2, 5, 3, 0, 16476, 0, 0, SilphCo_7F_EventScript_1619C8
|
||||
|
||||
SilphCo_7F_MapBGEvents:
|
||||
bg_event 11, 8, 0, 0, 0, SilphCo_7F_EventScript_1A8A1F
|
||||
bg_event 12, 8, 0, 0, 0, SilphCo_7F_EventScript_1A8A1F
|
||||
bg_event 11, 9, 0, 0, 0, SilphCo_7F_EventScript_1A8A1F
|
||||
bg_event 12, 9, 0, 0, 0, SilphCo_7F_EventScript_1A8A1F
|
||||
bg_event 24, 7, 0, 0, 0, SilphCo_7F_EventScript_1A8A39
|
||||
bg_event 25, 7, 0, 0, 0, SilphCo_7F_EventScript_1A8A39
|
||||
bg_event 25, 8, 0, 0, 0, SilphCo_7F_EventScript_1A8A39
|
||||
bg_event 24, 8, 0, 0, 0, SilphCo_7F_EventScript_1A8A39
|
||||
bg_event 25, 13, 0, 0, 0, SilphCo_7F_EventScript_1A8A53
|
||||
bg_event 26, 13, 0, 0, 0, SilphCo_7F_EventScript_1A8A53
|
||||
bg_event 25, 14, 0, 0, 0, SilphCo_7F_EventScript_1A8A53
|
||||
bg_event 26, 14, 0, 0, 0, SilphCo_7F_EventScript_1A8A53
|
||||
bg_event 22, 11, 0, 7, 0, 70, 140, 1
|
||||
bg_event 20, 1, 0, 0, 0, SilphCo_7F_EventScript_161BFA
|
||||
|
||||
SilphCo_7F_MapEvents::
|
||||
map_events SilphCo_7F_EventObjects, SilphCo_7F_MapWarps, SilphCo_7F_MapCoordEvents, SilphCo_7F_MapBGEvents
|
||||
@@ -1,8 +0,0 @@
|
||||
SilphCo_7F:: @ 834F7E0
|
||||
.4byte SilphCo_7F_Layout @ 0x83094BC
|
||||
.4byte SilphCo_7F_MapEvents @ 0x83B0660
|
||||
.4byte SilphCo_7F_MapScripts @ 0x8161984
|
||||
.4byte NULL
|
||||
.2byte BGM_FRLG_SILPH
|
||||
.2byte 138
|
||||
.byte 0x86, 0x00, 0x00, 0x08, 0x00, 0x07, 0x07, 0x00
|
||||
@@ -0,0 +1,326 @@
|
||||
{
|
||||
"id": "MAP_SILPH_CO_7F",
|
||||
"name": "SilphCo_7F",
|
||||
"layout": "LAYOUT_SILPH_CO_7F",
|
||||
"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": 7,
|
||||
"battle_scene": "BATTLE_SCENE_0",
|
||||
"connections": null,
|
||||
"object_events": [
|
||||
{
|
||||
"graphics_id": "72",
|
||||
"x": 2,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"movement_type": "7",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "0x0",
|
||||
"flag": "78"
|
||||
},
|
||||
{
|
||||
"graphics_id": "47",
|
||||
"x": 0,
|
||||
"y": 7,
|
||||
"elevation": 3,
|
||||
"movement_type": "10",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SilphCo_7F_EventScript_161AC8",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "49",
|
||||
"x": 24,
|
||||
"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_7F_EventScript_161C1A",
|
||||
"flag": "83"
|
||||
},
|
||||
{
|
||||
"graphics_id": "49",
|
||||
"x": 24,
|
||||
"y": 15,
|
||||
"elevation": 3,
|
||||
"movement_type": "10",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 2,
|
||||
"script": "SilphCo_7F_EventScript_161C31",
|
||||
"flag": "83"
|
||||
},
|
||||
{
|
||||
"graphics_id": "49",
|
||||
"x": 13,
|
||||
"y": 4,
|
||||
"elevation": 3,
|
||||
"movement_type": "8",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 3,
|
||||
"script": "SilphCo_7F_EventScript_161C48",
|
||||
"flag": "83"
|
||||
},
|
||||
{
|
||||
"graphics_id": "48",
|
||||
"x": 10,
|
||||
"y": 10,
|
||||
"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_7F_EventScript_161BD9",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "47",
|
||||
"x": 13,
|
||||
"y": 14,
|
||||
"elevation": 3,
|
||||
"movement_type": "9",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SilphCo_7F_EventScript_161B97",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "47",
|
||||
"x": 9,
|
||||
"y": 14,
|
||||
"elevation": 3,
|
||||
"movement_type": "27",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SilphCo_7F_EventScript_161BB8",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "55",
|
||||
"x": 3,
|
||||
"y": 13,
|
||||
"elevation": 3,
|
||||
"movement_type": "5",
|
||||
"movement_range_x": 2,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 1,
|
||||
"script": "SilphCo_7F_EventScript_161C03",
|
||||
"flag": "83"
|
||||
},
|
||||
{
|
||||
"graphics_id": "92",
|
||||
"x": 0,
|
||||
"y": 12,
|
||||
"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_7F_EventScript_1BE8DB",
|
||||
"flag": "405"
|
||||
},
|
||||
{
|
||||
"graphics_id": "92",
|
||||
"x": 30,
|
||||
"y": 11,
|
||||
"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_7F_EventScript_1BE8E8",
|
||||
"flag": "406"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 19,
|
||||
"y": 2,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_SILPH_CO_6F",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 5,
|
||||
"y": 8,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_SILPH_CO_11F",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 25,
|
||||
"y": 17,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_SILPH_CO_5F",
|
||||
"dest_warp_id": 5
|
||||
},
|
||||
{
|
||||
"x": 27,
|
||||
"y": 2,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_SILPH_CO_8F",
|
||||
"dest_warp_id": 3
|
||||
},
|
||||
{
|
||||
"x": 5,
|
||||
"y": 4,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_SILPH_CO_3F",
|
||||
"dest_warp_id": 2
|
||||
},
|
||||
{
|
||||
"x": 23,
|
||||
"y": 3,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_SILPH_CO_ELEVATOR",
|
||||
"dest_warp_id": 0
|
||||
}
|
||||
],
|
||||
"coord_events": [
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 2,
|
||||
"y": 4,
|
||||
"elevation": 3,
|
||||
"var": "VAR_0x405C",
|
||||
"var_value": 0,
|
||||
"script": "SilphCo_7F_EventScript_1619BC"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 2,
|
||||
"y": 5,
|
||||
"elevation": 3,
|
||||
"var": "VAR_0x405C",
|
||||
"var_value": 0,
|
||||
"script": "SilphCo_7F_EventScript_1619C8"
|
||||
}
|
||||
],
|
||||
"bg_events": [
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 11,
|
||||
"y": 8,
|
||||
"elevation": 0,
|
||||
"script": "SilphCo_7F_EventScript_1A8A1F"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 12,
|
||||
"y": 8,
|
||||
"elevation": 0,
|
||||
"script": "SilphCo_7F_EventScript_1A8A1F"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 11,
|
||||
"y": 9,
|
||||
"elevation": 0,
|
||||
"script": "SilphCo_7F_EventScript_1A8A1F"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 12,
|
||||
"y": 9,
|
||||
"elevation": 0,
|
||||
"script": "SilphCo_7F_EventScript_1A8A1F"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 24,
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"script": "SilphCo_7F_EventScript_1A8A39"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 25,
|
||||
"y": 7,
|
||||
"elevation": 0,
|
||||
"script": "SilphCo_7F_EventScript_1A8A39"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 25,
|
||||
"y": 8,
|
||||
"elevation": 0,
|
||||
"script": "SilphCo_7F_EventScript_1A8A39"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 24,
|
||||
"y": 8,
|
||||
"elevation": 0,
|
||||
"script": "SilphCo_7F_EventScript_1A8A39"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 25,
|
||||
"y": 13,
|
||||
"elevation": 0,
|
||||
"script": "SilphCo_7F_EventScript_1A8A53"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 26,
|
||||
"y": 13,
|
||||
"elevation": 0,
|
||||
"script": "SilphCo_7F_EventScript_1A8A53"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 25,
|
||||
"y": 14,
|
||||
"elevation": 0,
|
||||
"script": "SilphCo_7F_EventScript_1A8A53"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 26,
|
||||
"y": 14,
|
||||
"elevation": 0,
|
||||
"script": "SilphCo_7F_EventScript_1A8A53"
|
||||
},
|
||||
{
|
||||
"type": "hidden_item",
|
||||
"x": 22,
|
||||
"y": 11,
|
||||
"elevation": 0,
|
||||
"item": "ITEM_ZINC",
|
||||
"flag": "140",
|
||||
"unknown": 1
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 20,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"script": "SilphCo_7F_EventScript_161BFA"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user