convert map data to json
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
CeladonCity_Condominiums_2F_EventObjects:
|
||||
object_event 1, 0, 0, 6, 0, 6, 0, 0, 76, 17, 0, 0, 0, 0, 0, CeladonCity_Condominiums_2F_EventScript_1ACE9D, 158, 0, 0
|
||||
object_event 2, 0, 0, 5, 0, 6, 0, 0, 76, 17, 0, 0, 0, 0, 0, CeladonCity_Condominiums_2F_EventScript_1ACE9D, 158, 0, 0
|
||||
|
||||
CeladonCity_Condominiums_2F_MapWarps:
|
||||
warp_def 4, 2, 3, 3, 2567
|
||||
warp_def 2, 2, 3, 0, 2569
|
||||
warp_def 11, 2, 3, 3, 2569
|
||||
warp_def 12, 2, 3, 4, 2567
|
||||
|
||||
CeladonCity_Condominiums_2F_MapBGEvents:
|
||||
bg_event 8, 12, 0, 0, 0, CeladonCity_Condominiums_2F_EventScript_16C3D1
|
||||
bg_event 7, 12, 0, 0, 0, CeladonCity_Condominiums_2F_EventScript_16C3D1
|
||||
|
||||
CeladonCity_Condominiums_2F_MapEvents::
|
||||
map_events CeladonCity_Condominiums_2F_EventObjects, CeladonCity_Condominiums_2F_MapWarps, 0x0, CeladonCity_Condominiums_2F_MapBGEvents
|
||||
@@ -1,8 +0,0 @@
|
||||
CeladonCity_Condominiums_2F:: @ 83512C8
|
||||
.4byte CeladonCity_Condominiums_2F_Layout @ 0x831AA58
|
||||
.4byte CeladonCity_Condominiums_2F_MapEvents @ 0x83BB5B4
|
||||
.4byte CeladonCity_Condominiums_2F_MapScripts @ 0x816C3D0
|
||||
.4byte NULL
|
||||
.2byte BGM_FRLG_CELADON_CITY
|
||||
.2byte 185
|
||||
.byte 0x5e, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
|
||||
@@ -0,0 +1,90 @@
|
||||
{
|
||||
"id": "MAP_CELADON_CITY_CONDOMINIUMS_2F",
|
||||
"name": "CeladonCity_Condominiums_2F",
|
||||
"layout": "LAYOUT_CELADON_CITY_CONDOMINIUMS_2F",
|
||||
"music": "BGM_FRLG_CELADON_CITY",
|
||||
"region_map_section": "MAPSEC_CELADON_CITY",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_0",
|
||||
"map_type": "MAP_TYPE_8",
|
||||
"unknown_18": 0,
|
||||
"unknown_19": 0,
|
||||
"elevator_flag": 0,
|
||||
"battle_scene": "BATTLE_SCENE_0",
|
||||
"connections": null,
|
||||
"object_events": [
|
||||
{
|
||||
"graphics_id": "0",
|
||||
"x": 6,
|
||||
"y": 6,
|
||||
"elevation": 0,
|
||||
"movement_type": "76",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_Condominiums_2F_EventScript_1ACE9D",
|
||||
"flag": "158"
|
||||
},
|
||||
{
|
||||
"graphics_id": "0",
|
||||
"x": 5,
|
||||
"y": 6,
|
||||
"elevation": 0,
|
||||
"movement_type": "76",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CeladonCity_Condominiums_2F_EventScript_1ACE9D",
|
||||
"flag": "158"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 4,
|
||||
"y": 2,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_1F",
|
||||
"dest_warp_id": 3
|
||||
},
|
||||
{
|
||||
"x": 2,
|
||||
"y": 2,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_3F",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 11,
|
||||
"y": 2,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_3F",
|
||||
"dest_warp_id": 3
|
||||
},
|
||||
{
|
||||
"x": 12,
|
||||
"y": 2,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_CELADON_CITY_CONDOMINIUMS_1F",
|
||||
"dest_warp_id": 4
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": [
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 8,
|
||||
"y": 12,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_Condominiums_2F_EventScript_16C3D1"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 7,
|
||||
"y": 12,
|
||||
"elevation": 0,
|
||||
"script": "CeladonCity_Condominiums_2F_EventScript_16C3D1"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user