convert map data to json
This commit is contained in:
@@ -1,35 +0,0 @@
|
||||
CinnabarIsland_Gym_EventObjects:
|
||||
object_event 1, 52, 0, 25, 0, 11, 0, 3, 8, 17, 0, 1, 0, 0, 0, CinnabarIsland_Gym_EventScript_16DB27, 0, 0, 0
|
||||
object_event 2, 55, 0, 25, 0, 4, 0, 3, 8, 17, 0, 1, 0, 0, 0, CinnabarIsland_Gym_EventScript_16DA7F, 0, 0, 0
|
||||
object_event 3, 55, 0, 17, 0, 5, 0, 3, 8, 17, 0, 1, 0, 0, 0, CinnabarIsland_Gym_EventScript_16DA96, 0, 0, 0
|
||||
object_event 4, 52, 0, 16, 0, 11, 0, 3, 8, 17, 0, 1, 0, 0, 0, CinnabarIsland_Gym_EventScript_16DB53, 0, 0, 0
|
||||
object_event 5, 55, 0, 16, 0, 18, 0, 3, 8, 17, 0, 1, 0, 0, 0, CinnabarIsland_Gym_EventScript_16DAC2, 0, 0, 0
|
||||
object_event 6, 52, 0, 4, 0, 19, 0, 3, 8, 17, 0, 1, 0, 0, 0, CinnabarIsland_Gym_EventScript_16DB7F, 0, 0, 0
|
||||
object_event 7, 55, 0, 4, 0, 11, 0, 3, 8, 17, 0, 1, 0, 0, 0, CinnabarIsland_Gym_EventScript_16DAFB, 0, 0, 0
|
||||
object_event 8, 86, 0, 5, 0, 4, 0, 3, 8, 17, 0, 0, 0, 0, 0, CinnabarIsland_Gym_EventScript_16D9D4, 0, 0, 0
|
||||
object_event 9, 91, 0, 24, 0, 20, 0, 3, 8, 17, 0, 0, 0, 0, 0, CinnabarIsland_Gym_EventScript_16DBAB, 0, 0, 0
|
||||
|
||||
CinnabarIsland_Gym_MapWarps:
|
||||
warp_def 24, 23, 3, 1, 776
|
||||
warp_def 25, 23, 3, 1, 776
|
||||
warp_def 26, 23, 3, 1, 776
|
||||
|
||||
CinnabarIsland_Gym_MapBGEvents:
|
||||
bg_event 23, 20, 0, 0, 0, CinnabarIsland_Gym_EventScript_16DBCA
|
||||
bg_event 27, 20, 0, 0, 0, CinnabarIsland_Gym_EventScript_16DBCA
|
||||
bg_event 22, 10, 0, 1, 0, CinnabarIsland_Gym_EventScript_16DBE8
|
||||
bg_event 23, 10, 0, 1, 0, CinnabarIsland_Gym_EventScript_16DBF4
|
||||
bg_event 15, 2, 0, 1, 0, CinnabarIsland_Gym_EventScript_16DCDD
|
||||
bg_event 16, 2, 0, 1, 0, CinnabarIsland_Gym_EventScript_16DCE9
|
||||
bg_event 13, 10, 0, 1, 0, CinnabarIsland_Gym_EventScript_16DDBB
|
||||
bg_event 14, 10, 0, 1, 0, CinnabarIsland_Gym_EventScript_16DDC7
|
||||
bg_event 13, 17, 0, 1, 0, CinnabarIsland_Gym_EventScript_16DE92
|
||||
bg_event 14, 17, 0, 1, 0, CinnabarIsland_Gym_EventScript_16DE9E
|
||||
bg_event 1, 18, 0, 1, 0, CinnabarIsland_Gym_EventScript_16DF69
|
||||
bg_event 2, 18, 0, 1, 0, CinnabarIsland_Gym_EventScript_16DF75
|
||||
bg_event 1, 10, 0, 1, 0, CinnabarIsland_Gym_EventScript_16E040
|
||||
bg_event 2, 10, 0, 1, 0, CinnabarIsland_Gym_EventScript_16E04C
|
||||
bg_event 3, 1, 0, 1, 0, CinnabarIsland_Gym_EventScript_1ACF07
|
||||
|
||||
CinnabarIsland_Gym_MapEvents::
|
||||
map_events CinnabarIsland_Gym_EventObjects, CinnabarIsland_Gym_MapWarps, 0x0, CinnabarIsland_Gym_MapBGEvents
|
||||
@@ -1,8 +0,0 @@
|
||||
CinnabarIsland_Gym:: @ 8351530
|
||||
.4byte CinnabarIsland_Gym_Layout @ 0x82D82C8
|
||||
.4byte CinnabarIsland_Gym_MapEvents @ 0x83BC62C
|
||||
.4byte CinnabarIsland_Gym_MapScripts @ 0x816D94B
|
||||
.4byte NULL
|
||||
.2byte BGM_FRLG_GYM
|
||||
.2byte 36
|
||||
.byte 0x60, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x01
|
||||
@@ -0,0 +1,265 @@
|
||||
{
|
||||
"id": "MAP_CINNABAR_ISLAND_GYM",
|
||||
"name": "CinnabarIsland_Gym",
|
||||
"layout": "LAYOUT_CINNABAR_ISLAND_GYM",
|
||||
"music": "BGM_FRLG_GYM",
|
||||
"region_map_section": "MAPSEC_CINNABAR_ISLAND",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_0",
|
||||
"map_type": "MAP_TYPE_8",
|
||||
"unknown_18": 0,
|
||||
"unknown_19": 0,
|
||||
"elevator_flag": 0,
|
||||
"battle_scene": "BATTLE_SCENE_1",
|
||||
"connections": null,
|
||||
"object_events": [
|
||||
{
|
||||
"graphics_id": "52",
|
||||
"x": 25,
|
||||
"y": 11,
|
||||
"elevation": 3,
|
||||
"movement_type": "8",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CinnabarIsland_Gym_EventScript_16DB27",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "55",
|
||||
"x": 25,
|
||||
"y": 4,
|
||||
"elevation": 3,
|
||||
"movement_type": "8",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CinnabarIsland_Gym_EventScript_16DA7F",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "55",
|
||||
"x": 17,
|
||||
"y": 5,
|
||||
"elevation": 3,
|
||||
"movement_type": "8",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CinnabarIsland_Gym_EventScript_16DA96",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "52",
|
||||
"x": 16,
|
||||
"y": 11,
|
||||
"elevation": 3,
|
||||
"movement_type": "8",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CinnabarIsland_Gym_EventScript_16DB53",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "55",
|
||||
"x": 16,
|
||||
"y": 18,
|
||||
"elevation": 3,
|
||||
"movement_type": "8",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CinnabarIsland_Gym_EventScript_16DAC2",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "52",
|
||||
"x": 4,
|
||||
"y": 19,
|
||||
"elevation": 3,
|
||||
"movement_type": "8",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CinnabarIsland_Gym_EventScript_16DB7F",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "55",
|
||||
"x": 4,
|
||||
"y": 11,
|
||||
"elevation": 3,
|
||||
"movement_type": "8",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CinnabarIsland_Gym_EventScript_16DAFB",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "86",
|
||||
"x": 5,
|
||||
"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": "CinnabarIsland_Gym_EventScript_16D9D4",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "91",
|
||||
"x": 24,
|
||||
"y": 20,
|
||||
"elevation": 3,
|
||||
"movement_type": "8",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "CinnabarIsland_Gym_EventScript_16DBAB",
|
||||
"flag": "0"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 24,
|
||||
"y": 23,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_CINNABAR_ISLAND",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 25,
|
||||
"y": 23,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_CINNABAR_ISLAND",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 26,
|
||||
"y": 23,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_CINNABAR_ISLAND",
|
||||
"dest_warp_id": 1
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": [
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 23,
|
||||
"y": 20,
|
||||
"elevation": 0,
|
||||
"script": "CinnabarIsland_Gym_EventScript_16DBCA"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 27,
|
||||
"y": 20,
|
||||
"elevation": 0,
|
||||
"script": "CinnabarIsland_Gym_EventScript_16DBCA"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_1",
|
||||
"x": 22,
|
||||
"y": 10,
|
||||
"elevation": 0,
|
||||
"script": "CinnabarIsland_Gym_EventScript_16DBE8"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_1",
|
||||
"x": 23,
|
||||
"y": 10,
|
||||
"elevation": 0,
|
||||
"script": "CinnabarIsland_Gym_EventScript_16DBF4"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_1",
|
||||
"x": 15,
|
||||
"y": 2,
|
||||
"elevation": 0,
|
||||
"script": "CinnabarIsland_Gym_EventScript_16DCDD"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_1",
|
||||
"x": 16,
|
||||
"y": 2,
|
||||
"elevation": 0,
|
||||
"script": "CinnabarIsland_Gym_EventScript_16DCE9"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_1",
|
||||
"x": 13,
|
||||
"y": 10,
|
||||
"elevation": 0,
|
||||
"script": "CinnabarIsland_Gym_EventScript_16DDBB"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_1",
|
||||
"x": 14,
|
||||
"y": 10,
|
||||
"elevation": 0,
|
||||
"script": "CinnabarIsland_Gym_EventScript_16DDC7"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_1",
|
||||
"x": 13,
|
||||
"y": 17,
|
||||
"elevation": 0,
|
||||
"script": "CinnabarIsland_Gym_EventScript_16DE92"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_1",
|
||||
"x": 14,
|
||||
"y": 17,
|
||||
"elevation": 0,
|
||||
"script": "CinnabarIsland_Gym_EventScript_16DE9E"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_1",
|
||||
"x": 1,
|
||||
"y": 18,
|
||||
"elevation": 0,
|
||||
"script": "CinnabarIsland_Gym_EventScript_16DF69"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_1",
|
||||
"x": 2,
|
||||
"y": 18,
|
||||
"elevation": 0,
|
||||
"script": "CinnabarIsland_Gym_EventScript_16DF75"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_1",
|
||||
"x": 1,
|
||||
"y": 10,
|
||||
"elevation": 0,
|
||||
"script": "CinnabarIsland_Gym_EventScript_16E040"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_1",
|
||||
"x": 2,
|
||||
"y": 10,
|
||||
"elevation": 0,
|
||||
"script": "CinnabarIsland_Gym_EventScript_16E04C"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_1",
|
||||
"x": 3,
|
||||
"y": 1,
|
||||
"elevation": 0,
|
||||
"script": "CinnabarIsland_Gym_EventScript_1ACF07"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user