convert map data to json
This commit is contained in:
@@ -1,16 +0,0 @@
|
||||
PalletTown_GarysHouse_EventObjects:
|
||||
object_event 1, 76, 0, 10, 0, 6, 0, 3, 2, 49, 0, 0, 0, 0, 0, PalletTown_GarysHouse_EventScript_168D56, 0, 0, 0
|
||||
object_event 2, 93, 0, 6, 0, 4, 0, 3, 8, 17, 0, 0, 0, 0, 0, PalletTown_GarysHouse_EventScript_168F63, 57, 0, 0
|
||||
|
||||
PalletTown_GarysHouse_MapWarps:
|
||||
warp_def 4, 8, 3, 1, 768
|
||||
warp_def 5, 8, 3, 1, 768
|
||||
warp_def 3, 8, 3, 1, 768
|
||||
|
||||
PalletTown_GarysHouse_MapBGEvents:
|
||||
bg_event 12, 1, 0, 0, 0, PalletTown_GarysHouse_EventScript_168F6C
|
||||
bg_event 11, 1, 0, 0, 0, PalletTown_GarysHouse_EventScript_168F6C
|
||||
bg_event 9, 1, 0, 0, 0, PalletTown_GarysHouse_EventScript_168F75
|
||||
|
||||
PalletTown_GarysHouse_MapEvents::
|
||||
map_events PalletTown_GarysHouse_EventObjects, PalletTown_GarysHouse_MapWarps, 0x0, PalletTown_GarysHouse_MapBGEvents
|
||||
@@ -1,8 +0,0 @@
|
||||
PalletTown_GarysHouse:: @ 8350D88
|
||||
.4byte PalletTown_GarysHouse_Layout @ 0x82D5424
|
||||
.4byte PalletTown_GarysHouse_MapEvents @ 0x83B980C
|
||||
.4byte PalletTown_GarysHouse_MapScripts @ 0x8168D27
|
||||
.4byte NULL
|
||||
.2byte BGM_FRLG_PALLET_TOWN
|
||||
.2byte 3
|
||||
.byte 0x58, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00
|
||||
@@ -0,0 +1,90 @@
|
||||
{
|
||||
"id": "MAP_PALLET_TOWN_GARYS_HOUSE",
|
||||
"name": "PalletTown_GarysHouse",
|
||||
"layout": "LAYOUT_PALLET_TOWN_GARYS_HOUSE",
|
||||
"music": "BGM_FRLG_PALLET_TOWN",
|
||||
"region_map_section": "MAPSEC_PALLET_TOWN",
|
||||
"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": "76",
|
||||
"x": 10,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"movement_type": "2",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 3,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "PalletTown_GarysHouse_EventScript_168D56",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "93",
|
||||
"x": 6,
|
||||
"y": 4,
|
||||
"elevation": 3,
|
||||
"movement_type": "8",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "PalletTown_GarysHouse_EventScript_168F63",
|
||||
"flag": "57"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 4,
|
||||
"y": 8,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_PALLET_TOWN",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 5,
|
||||
"y": 8,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_PALLET_TOWN",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 3,
|
||||
"y": 8,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_PALLET_TOWN",
|
||||
"dest_warp_id": 1
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": [
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 12,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"script": "PalletTown_GarysHouse_EventScript_168F6C"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 11,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"script": "PalletTown_GarysHouse_EventScript_168F6C"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 9,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"script": "PalletTown_GarysHouse_EventScript_168F75"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user