convert map data to json
This commit is contained in:
@@ -1,26 +0,0 @@
|
||||
SafariZone_Center_EventObjects:
|
||||
object_event 1, 92, 0, 24, 0, 15, 0, 3, 8, 17, 0, 0, 0, 0, 0, SafariZone_Center_EventScript_1BE7D7, 385, 0, 0
|
||||
|
||||
SafariZone_Center_MapWarps:
|
||||
warp_def 25, 30, 3, 0, 2816
|
||||
warp_def 26, 30, 3, 0, 2816
|
||||
warp_def 27, 30, 3, 0, 2816
|
||||
warp_def 25, 5, 3, 9, 321
|
||||
warp_def 26, 5, 3, 10, 321
|
||||
warp_def 27, 5, 0, 11, 321
|
||||
warp_def 8, 17, 3, 6, 322
|
||||
warp_def 8, 18, 3, 7, 322
|
||||
warp_def 8, 19, 0, 8, 322
|
||||
warp_def 43, 15, 3, 3, 320
|
||||
warp_def 43, 16, 3, 4, 320
|
||||
warp_def 43, 17, 0, 5, 320
|
||||
warp_def 29, 25, 0, 1, 323
|
||||
|
||||
SafariZone_Center_MapBGEvents:
|
||||
bg_event 30, 26, 0, 0, 0, SafariZone_Center_EventScript_162361
|
||||
bg_event 25, 27, 0, 0, 0, SafariZone_Center_EventScript_16236A
|
||||
bg_event 27, 15, 3, 7, 0, 98, 22, 1
|
||||
bg_event 33, 20, 0, 0, 0, SafariZone_Center_EventScript_162373
|
||||
|
||||
SafariZone_Center_MapEvents::
|
||||
map_events SafariZone_Center_EventObjects, SafariZone_Center_MapWarps, 0x0, SafariZone_Center_MapBGEvents
|
||||
@@ -1,8 +0,0 @@
|
||||
SafariZone_Center:: @ 834F8F8
|
||||
.4byte SafariZone_Center_Layout @ 0x830DD38
|
||||
.4byte SafariZone_Center_MapEvents @ 0x83B0F98
|
||||
.4byte SafariZone_Center_MapScripts @ 0x8162357
|
||||
.4byte NULL
|
||||
.2byte BGM_FRLG_SAFARI_ZONE
|
||||
.2byte 147
|
||||
.byte 0x88, 0x00, 0x00, 0x03, 0x01, 0x06, 0x00, 0x00
|
||||
@@ -0,0 +1,156 @@
|
||||
{
|
||||
"id": "MAP_SAFARI_ZONE_CENTER",
|
||||
"name": "SafariZone_Center",
|
||||
"layout": "LAYOUT_SAFARI_ZONE_CENTER",
|
||||
"music": "BGM_FRLG_SAFARI_ZONE",
|
||||
"region_map_section": "MAPSEC_KANTO_SAFARI_ZONE",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_0",
|
||||
"map_type": "MAP_TYPE_3",
|
||||
"unknown_18": 1,
|
||||
"unknown_19": 6,
|
||||
"elevator_flag": 0,
|
||||
"battle_scene": "BATTLE_SCENE_0",
|
||||
"connections": null,
|
||||
"object_events": [
|
||||
{
|
||||
"graphics_id": "92",
|
||||
"x": 24,
|
||||
"y": 15,
|
||||
"elevation": 3,
|
||||
"movement_type": "8",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "SafariZone_Center_EventScript_1BE7D7",
|
||||
"flag": "385"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 25,
|
||||
"y": 30,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 26,
|
||||
"y": 30,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 27,
|
||||
"y": 30,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_FUCHSIA_CITY_SAFARI_ZONE_ENTRANCE",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 25,
|
||||
"y": 5,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_SAFARI_ZONE_NORTH",
|
||||
"dest_warp_id": 9
|
||||
},
|
||||
{
|
||||
"x": 26,
|
||||
"y": 5,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_SAFARI_ZONE_NORTH",
|
||||
"dest_warp_id": 10
|
||||
},
|
||||
{
|
||||
"x": 27,
|
||||
"y": 5,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_SAFARI_ZONE_NORTH",
|
||||
"dest_warp_id": 11
|
||||
},
|
||||
{
|
||||
"x": 8,
|
||||
"y": 17,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_SAFARI_ZONE_WEST",
|
||||
"dest_warp_id": 6
|
||||
},
|
||||
{
|
||||
"x": 8,
|
||||
"y": 18,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_SAFARI_ZONE_WEST",
|
||||
"dest_warp_id": 7
|
||||
},
|
||||
{
|
||||
"x": 8,
|
||||
"y": 19,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_SAFARI_ZONE_WEST",
|
||||
"dest_warp_id": 8
|
||||
},
|
||||
{
|
||||
"x": 43,
|
||||
"y": 15,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_SAFARI_ZONE_EAST",
|
||||
"dest_warp_id": 3
|
||||
},
|
||||
{
|
||||
"x": 43,
|
||||
"y": 16,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_SAFARI_ZONE_EAST",
|
||||
"dest_warp_id": 4
|
||||
},
|
||||
{
|
||||
"x": 43,
|
||||
"y": 17,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_SAFARI_ZONE_EAST",
|
||||
"dest_warp_id": 5
|
||||
},
|
||||
{
|
||||
"x": 29,
|
||||
"y": 25,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_SAFARI_ZONE_BUILDING1",
|
||||
"dest_warp_id": 1
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": [
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 30,
|
||||
"y": 26,
|
||||
"elevation": 0,
|
||||
"script": "SafariZone_Center_EventScript_162361"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 25,
|
||||
"y": 27,
|
||||
"elevation": 0,
|
||||
"script": "SafariZone_Center_EventScript_16236A"
|
||||
},
|
||||
{
|
||||
"type": "hidden_item",
|
||||
"x": 27,
|
||||
"y": 15,
|
||||
"elevation": 3,
|
||||
"item": "ITEM_LEAF_STONE",
|
||||
"flag": "22",
|
||||
"unknown": 1
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 33,
|
||||
"y": 20,
|
||||
"elevation": 0,
|
||||
"script": "SafariZone_Center_EventScript_162373"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user