convert map data to json
This commit is contained in:
@@ -1,24 +0,0 @@
|
||||
SeafoamIslands_B4F_EventObjects:
|
||||
object_event 1, 97, 0, 8, 0, 18, 0, 1, 8, 17, 0, 0, 0, 0, 0, 0x0, 76, 0, 0
|
||||
object_event 2, 97, 0, 9, 0, 18, 0, 1, 8, 17, 0, 0, 0, 0, 0, 0x0, 77, 0, 0
|
||||
object_event 3, 138, 0, 9, 0, 2, 0, 4, 8, 17, 0, 0, 0, 0, 0, SeafoamIslands_B4F_EventScript_1631AC, 130, 0, 0
|
||||
object_event 4, 92, 0, 22, 0, 19, 0, 4, 8, 17, 0, 0, 0, 0, 0, SeafoamIslands_B4F_EventScript_1BEC1B, 472, 0, 0
|
||||
|
||||
SeafoamIslands_B4F_MapWarps:
|
||||
warp_def 15, 9, 4, 3, 342
|
||||
warp_def 32, 5, 4, 4, 342
|
||||
warp_def 8, 17, 1, 7, 342
|
||||
warp_def 9, 17, 1, 8, 342
|
||||
|
||||
SeafoamIslands_B4F_MapCoordEvents:
|
||||
coord_event 26, 19, 1, 0, 16483, 0, 0, SeafoamIslands_B4F_EventScript_16319D
|
||||
coord_event 27, 19, 1, 0, 16483, 0, 0, SeafoamIslands_B4F_EventScript_16319D
|
||||
coord_event 28, 19, 1, 0, 16483, 0, 0, SeafoamIslands_B4F_EventScript_16319D
|
||||
|
||||
SeafoamIslands_B4F_MapBGEvents:
|
||||
bg_event 13, 8, 0, 7, 0, 97, 30, 1
|
||||
bg_event 30, 2, 0, 0, 0, SeafoamIslands_B4F_EventScript_16322C
|
||||
bg_event 14, 18, 0, 0, 0, SeafoamIslands_B4F_EventScript_163223
|
||||
|
||||
SeafoamIslands_B4F_MapEvents::
|
||||
map_events SeafoamIslands_B4F_EventObjects, SeafoamIslands_B4F_MapWarps, SeafoamIslands_B4F_MapCoordEvents, SeafoamIslands_B4F_MapBGEvents
|
||||
@@ -1,8 +0,0 @@
|
||||
SeafoamIslands_B4F:: @ 834FB98
|
||||
.4byte SeafoamIslands_B4F_Layout @ 0x8316410
|
||||
.4byte SeafoamIslands_B4F_MapEvents @ 0x83B21C4
|
||||
.4byte SeafoamIslands_B4F_MapScripts @ 0x816302E
|
||||
.4byte NULL
|
||||
.2byte BGM_FRLG_VIRIDIAN_FOREST
|
||||
.2byte 160
|
||||
.byte 0x8b, 0x00, 0x00, 0x04, 0x01, 0x07, 0x00, 0x00
|
||||
@@ -0,0 +1,153 @@
|
||||
{
|
||||
"id": "MAP_SEAFOAM_ISLANDS_B4F",
|
||||
"name": "SeafoamIslands_B4F",
|
||||
"layout": "LAYOUT_SEAFOAM_ISLANDS_B4F",
|
||||
"music": "BGM_FRLG_VIRIDIAN_FOREST",
|
||||
"region_map_section": "MAPSEC_SEAFOAM_ISLANDS",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_0",
|
||||
"map_type": "MAP_TYPE_4",
|
||||
"unknown_18": 1,
|
||||
"unknown_19": 7,
|
||||
"elevator_flag": 0,
|
||||
"battle_scene": "BATTLE_SCENE_0",
|
||||
"connections": null,
|
||||
"object_events": [
|
||||
{
|
||||
"graphics_id": "97",
|
||||
"x": 8,
|
||||
"y": 18,
|
||||
"elevation": 1,
|
||||
"movement_type": "8",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "0x0",
|
||||
"flag": "76"
|
||||
},
|
||||
{
|
||||
"graphics_id": "97",
|
||||
"x": 9,
|
||||
"y": 18,
|
||||
"elevation": 1,
|
||||
"movement_type": "8",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "0x0",
|
||||
"flag": "77"
|
||||
},
|
||||
{
|
||||
"graphics_id": "138",
|
||||
"x": 9,
|
||||
"y": 2,
|
||||
"elevation": 4,
|
||||
"movement_type": "8",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SeafoamIslands_B4F_EventScript_1631AC",
|
||||
"flag": "130"
|
||||
},
|
||||
{
|
||||
"graphics_id": "92",
|
||||
"x": 22,
|
||||
"y": 19,
|
||||
"elevation": 4,
|
||||
"movement_type": "8",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SeafoamIslands_B4F_EventScript_1BEC1B",
|
||||
"flag": "472"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 15,
|
||||
"y": 9,
|
||||
"elevation": 4,
|
||||
"dest_map": "MAP_SEAFOAM_ISLANDS_B3F",
|
||||
"dest_warp_id": 3
|
||||
},
|
||||
{
|
||||
"x": 32,
|
||||
"y": 5,
|
||||
"elevation": 4,
|
||||
"dest_map": "MAP_SEAFOAM_ISLANDS_B3F",
|
||||
"dest_warp_id": 4
|
||||
},
|
||||
{
|
||||
"x": 8,
|
||||
"y": 17,
|
||||
"elevation": 1,
|
||||
"dest_map": "MAP_SEAFOAM_ISLANDS_B3F",
|
||||
"dest_warp_id": 7
|
||||
},
|
||||
{
|
||||
"x": 9,
|
||||
"y": 17,
|
||||
"elevation": 1,
|
||||
"dest_map": "MAP_SEAFOAM_ISLANDS_B3F",
|
||||
"dest_warp_id": 8
|
||||
}
|
||||
],
|
||||
"coord_events": [
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 26,
|
||||
"y": 19,
|
||||
"elevation": 1,
|
||||
"var": "VAR_0x4063",
|
||||
"var_value": 0,
|
||||
"script": "SeafoamIslands_B4F_EventScript_16319D"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 27,
|
||||
"y": 19,
|
||||
"elevation": 1,
|
||||
"var": "VAR_0x4063",
|
||||
"var_value": 0,
|
||||
"script": "SeafoamIslands_B4F_EventScript_16319D"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 28,
|
||||
"y": 19,
|
||||
"elevation": 1,
|
||||
"var": "VAR_0x4063",
|
||||
"var_value": 0,
|
||||
"script": "SeafoamIslands_B4F_EventScript_16319D"
|
||||
}
|
||||
],
|
||||
"bg_events": [
|
||||
{
|
||||
"type": "hidden_item",
|
||||
"x": 13,
|
||||
"y": 8,
|
||||
"elevation": 0,
|
||||
"item": "ITEM_WATER_STONE",
|
||||
"flag": "30",
|
||||
"unknown": 1
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 30,
|
||||
"y": 2,
|
||||
"elevation": 0,
|
||||
"script": "SeafoamIslands_B4F_EventScript_16322C"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 14,
|
||||
"y": 18,
|
||||
"elevation": 0,
|
||||
"script": "SeafoamIslands_B4F_EventScript_163223"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user