convert map data to json
This commit is contained in:
@@ -1,32 +0,0 @@
|
||||
FourIsland_EventObjects:
|
||||
object_event 1, 32, 0, 16, 0, 13, 0, 3, 8, 17, 0, 0, 0, 0, 0, FourIsland_EventScript_167D55, 0, 0, 0
|
||||
object_event 2, 132, 0, 12, 0, 9, 0, 3, 1, 17, 0, 0, 0, 0, 0, 0x0, 0, 0, 0
|
||||
object_event 3, 122, 0, 13, 0, 7, 0, 3, 10, 17, 0, 0, 0, 0, 0, 0x0, 0, 0, 0
|
||||
object_event 4, 123, 0, 14, 0, 7, 0, 3, 9, 17, 0, 0, 0, 0, 0, 0x0, 0, 0, 0
|
||||
object_event 5, 121, 0, 17, 0, 9, 0, 3, 1, 17, 0, 0, 0, 0, 0, 0x0, 0, 0, 0
|
||||
object_event 6, 35, 0, 26, 0, 19, 0, 3, 9, 17, 0, 0, 0, 0, 0, FourIsland_EventScript_167E2E, 0, 0, 0
|
||||
object_event 7, 96, 0, 5, 0, 11, 0, 3, 1, 17, 0, 0, 0, 0, 0, FourIsland_EventScript_1BE00C, 18, 0, 0
|
||||
object_event 8, 92, 0, 5, 0, 6, 0, 3, 8, 17, 0, 0, 0, 0, 0, FourIsland_EventScript_1BEC28, 473, 0, 0
|
||||
object_event 9, 92, 0, 32, 0, 19, 0, 3, 8, 17, 0, 0, 0, 0, 0, FourIsland_EventScript_1BEC35, 474, 0, 0
|
||||
object_event 10, 72, 0, 8, 0, 25, 0, 3, 9, 17, 0, 0, 0, 0, 0, 0x0, 151, 0, 0
|
||||
object_event 11, 27, 0, 36, 0, 13, 0, 3, 8, 17, 0, 0, 0, 0, 0, FourIsland_EventScript_167E73, 0, 0, 0
|
||||
object_event 12, 17, 0, 31, 0, 21, 0, 3, 10, 17, 0, 0, 0, 0, 0, FourIsland_EventScript_167E5A, 0, 0, 0
|
||||
|
||||
FourIsland_MapWarps:
|
||||
warp_def 18, 20, 0, 0, 8961
|
||||
warp_def 12, 13, 0, 0, 8960
|
||||
warp_def 25, 14, 0, 0, 8963
|
||||
warp_def 38, 12, 0, 0, 366
|
||||
warp_def 33, 23, 0, 0, 8964
|
||||
warp_def 25, 26, 0, 0, 8966
|
||||
warp_def 10, 28, 3, 0, 8965
|
||||
warp_def 22, 26, 0, 0, 8967
|
||||
|
||||
FourIsland_MapBGEvents:
|
||||
bg_event 13, 19, 0, 0, 0, FourIsland_EventScript_167E7C
|
||||
bg_event 22, 34, 3, 7, 0, 106, 168, 1
|
||||
bg_event 6, 21, 3, 7, 0, 2, 169, 1
|
||||
bg_event 31, 23, 0, 0, 0, FourIsland_EventScript_167E85
|
||||
|
||||
FourIsland_MapEvents::
|
||||
map_events FourIsland_EventObjects, FourIsland_MapWarps, 0x0, FourIsland_MapBGEvents
|
||||
@@ -1,8 +0,0 @@
|
||||
FourIsland:: @ 83507BC
|
||||
.4byte FourIsland_Layout @ 0x8323580
|
||||
.4byte FourIsland_MapEvents @ 0x83B646C
|
||||
.4byte FourIsland_MapScripts @ 0x8167CAE
|
||||
.4byte NULL
|
||||
.2byte BGM_FRLG_ISLAND_FOUR
|
||||
.2byte 233
|
||||
.byte 0x92, 0x00, 0x02, 0x01, 0x01, 0x06, 0x00, 0x00
|
||||
@@ -0,0 +1,266 @@
|
||||
{
|
||||
"id": "MAP_FOUR_ISLAND",
|
||||
"name": "FourIsland",
|
||||
"layout": "LAYOUT_FOUR_ISLAND",
|
||||
"music": "BGM_FRLG_ISLAND_FOUR",
|
||||
"region_map_section": "MAPSEC_FOUR_ISLAND",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_2",
|
||||
"map_type": "MAP_TYPE_1",
|
||||
"unknown_18": 1,
|
||||
"unknown_19": 6,
|
||||
"elevator_flag": 0,
|
||||
"battle_scene": "BATTLE_SCENE_0",
|
||||
"connections": null,
|
||||
"object_events": [
|
||||
{
|
||||
"graphics_id": "32",
|
||||
"x": 16,
|
||||
"y": 13,
|
||||
"elevation": 3,
|
||||
"movement_type": "8",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "FourIsland_EventScript_167D55",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "132",
|
||||
"x": 12,
|
||||
"y": 9,
|
||||
"elevation": 3,
|
||||
"movement_type": "1",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "0x0",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "122",
|
||||
"x": 13,
|
||||
"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": "0x0",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "123",
|
||||
"x": 14,
|
||||
"y": 7,
|
||||
"elevation": 3,
|
||||
"movement_type": "9",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "0x0",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "121",
|
||||
"x": 17,
|
||||
"y": 9,
|
||||
"elevation": 3,
|
||||
"movement_type": "1",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "0x0",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "35",
|
||||
"x": 26,
|
||||
"y": 19,
|
||||
"elevation": 3,
|
||||
"movement_type": "9",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "FourIsland_EventScript_167E2E",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "96",
|
||||
"x": 5,
|
||||
"y": 11,
|
||||
"elevation": 3,
|
||||
"movement_type": "1",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "FourIsland_EventScript_1BE00C",
|
||||
"flag": "18"
|
||||
},
|
||||
{
|
||||
"graphics_id": "92",
|
||||
"x": 5,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"movement_type": "8",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "FourIsland_EventScript_1BEC28",
|
||||
"flag": "473"
|
||||
},
|
||||
{
|
||||
"graphics_id": "92",
|
||||
"x": 32,
|
||||
"y": 19,
|
||||
"elevation": 3,
|
||||
"movement_type": "8",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "FourIsland_EventScript_1BEC35",
|
||||
"flag": "474"
|
||||
},
|
||||
{
|
||||
"graphics_id": "72",
|
||||
"x": 8,
|
||||
"y": 25,
|
||||
"elevation": 3,
|
||||
"movement_type": "9",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "0x0",
|
||||
"flag": "151"
|
||||
},
|
||||
{
|
||||
"graphics_id": "27",
|
||||
"x": 36,
|
||||
"y": 13,
|
||||
"elevation": 3,
|
||||
"movement_type": "8",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "FourIsland_EventScript_167E73",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "17",
|
||||
"x": 31,
|
||||
"y": 21,
|
||||
"elevation": 3,
|
||||
"movement_type": "10",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "FourIsland_EventScript_167E5A",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 18,
|
||||
"y": 20,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_FOUR_ISLAND_POKEMON_CENTER_1F",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 12,
|
||||
"y": 13,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_FOUR_ISLAND_POKEMON_DAY_CARE",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 25,
|
||||
"y": 14,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_FOUR_ISLAND_HOUSE1",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 38,
|
||||
"y": 12,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_FOUR_ISLAND_ICEFALL_CAVE_ENTRANCE",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 33,
|
||||
"y": 23,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_FOUR_ISLAND_LORELEIS_HOUSE",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 25,
|
||||
"y": 26,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_FOUR_ISLAND_HOUSE2",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 10,
|
||||
"y": 28,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_FOUR_ISLAND_HARBOR",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 22,
|
||||
"y": 26,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_FOUR_ISLAND_MART",
|
||||
"dest_warp_id": 0
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": [
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 13,
|
||||
"y": 19,
|
||||
"elevation": 0,
|
||||
"script": "FourIsland_EventScript_167E7C"
|
||||
},
|
||||
{
|
||||
"type": "hidden_item",
|
||||
"x": 22,
|
||||
"y": 34,
|
||||
"elevation": 3,
|
||||
"item": "ITEM_PEARL",
|
||||
"flag": "168",
|
||||
"unknown": 1
|
||||
},
|
||||
{
|
||||
"type": "hidden_item",
|
||||
"x": 6,
|
||||
"y": 21,
|
||||
"elevation": 3,
|
||||
"item": "POCKET_KEY_ITEMS",
|
||||
"flag": "169",
|
||||
"unknown": 1
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 31,
|
||||
"y": 23,
|
||||
"elevation": 0,
|
||||
"script": "FourIsland_EventScript_167E85"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user