convert map data to json
This commit is contained in:
@@ -1,33 +0,0 @@
|
||||
ViridianForest_EventObjects:
|
||||
object_event 1, 18, 0, 29, 0, 58, 0, 3, 7, 17, 0, 0, 0, 0, 0, ViridianForest_EventScript_160529, 0, 0, 0
|
||||
object_event 2, 19, 0, 45, 0, 58, 0, 3, 9, 17, 0, 0, 0, 0, 0, ViridianForest_EventScript_160532, 0, 0, 0
|
||||
object_event 3, 20, 0, 47, 0, 45, 0, 3, 9, 17, 0, 1, 0, 5, 0, ViridianForest_EventScript_160571, 0, 0, 0
|
||||
object_event 4, 20, 0, 47, 0, 29, 0, 3, 9, 17, 0, 1, 0, 4, 0, ViridianForest_EventScript_160588, 0, 0, 0
|
||||
object_event 5, 20, 0, 7, 0, 22, 0, 3, 9, 17, 0, 1, 0, 4, 0, ViridianForest_EventScript_16059F, 0, 0, 0
|
||||
object_event 6, 92, 0, 5, 0, 41, 0, 3, 8, 17, 0, 0, 0, 0, 0, ViridianForest_EventScript_1BE5A8, 342, 0, 0
|
||||
object_event 7, 92, 0, 40, 0, 21, 0, 3, 8, 17, 0, 0, 0, 0, 0, ViridianForest_EventScript_1BE5B5, 343, 0, 0
|
||||
object_event 8, 92, 0, 21, 0, 34, 0, 3, 8, 17, 0, 0, 0, 0, 0, ViridianForest_EventScript_1BE5C2, 344, 0, 0
|
||||
object_event 9, 20, 0, 43, 0, 6, 0, 3, 13, 17, 0, 1, 0, 1, 0, ViridianForest_EventScript_1605B6, 0, 0, 0
|
||||
object_event 10, 20, 0, 16, 0, 5, 0, 3, 7, 17, 0, 1, 0, 1, 0, ViridianForest_EventScript_1605CD, 0, 0, 0
|
||||
object_event 11, 92, 0, 49, 0, 60, 0, 3, 8, 17, 0, 0, 0, 0, 0, ViridianForest_EventScript_1BEAC9, 446, 0, 0
|
||||
|
||||
ViridianForest_MapWarps:
|
||||
warp_def 29, 62, 3, 3, 3840
|
||||
warp_def 28, 62, 3, 3, 3840
|
||||
warp_def 5, 9, 3, 1, 3843
|
||||
warp_def 6, 9, 3, 1, 3843
|
||||
warp_def 30, 62, 3, 3, 3840
|
||||
warp_def 4, 9, 3, 1, 3843
|
||||
|
||||
ViridianForest_MapBGEvents:
|
||||
bg_event 39, 59, 3, 0, 0, ViridianForest_EventScript_16053B
|
||||
bg_event 43, 26, 0, 0, 0, ViridianForest_EventScript_16054D
|
||||
bg_event 9, 29, 0, 0, 0, ViridianForest_EventScript_160556
|
||||
bg_event 6, 12, 0, 0, 0, ViridianForest_EventScript_160568
|
||||
bg_event 28, 44, 0, 0, 0, ViridianForest_EventScript_160544
|
||||
bg_event 31, 60, 0, 0, 0, ViridianForest_EventScript_16055F
|
||||
bg_event 3, 22, 3, 7, 0, 13, 0, 1
|
||||
bg_event 28, 57, 0, 7, 0, 14, 1, 1
|
||||
|
||||
ViridianForest_MapEvents::
|
||||
map_events ViridianForest_EventObjects, ViridianForest_MapWarps, 0x0, ViridianForest_MapBGEvents
|
||||
@@ -1,8 +0,0 @@
|
||||
ViridianForest:: @ 834F214
|
||||
.4byte ViridianForest_Layout @ 0x82FE46C
|
||||
.4byte ViridianForest_MapEvents @ 0x83AE4D8
|
||||
.4byte ViridianForest_MapScripts @ 0x816051F
|
||||
.4byte NULL
|
||||
.2byte BGM_FRLG_VIRIDIAN_FOREST
|
||||
.2byte 117
|
||||
.byte 0x7e, 0x00, 0x0b, 0x03, 0x01, 0x07, 0x00, 0x00
|
||||
@@ -0,0 +1,267 @@
|
||||
{
|
||||
"id": "MAP_VIRIDIAN_FOREST",
|
||||
"name": "ViridianForest",
|
||||
"layout": "LAYOUT_VIRIDIAN_FOREST",
|
||||
"music": "BGM_FRLG_VIRIDIAN_FOREST",
|
||||
"region_map_section": "MAPSEC_VIRIDIAN_FOREST",
|
||||
"requires_flash": false,
|
||||
"weather": "WEATHER_11",
|
||||
"map_type": "MAP_TYPE_3",
|
||||
"unknown_18": 1,
|
||||
"unknown_19": 7,
|
||||
"elevator_flag": 0,
|
||||
"battle_scene": "BATTLE_SCENE_0",
|
||||
"connections": null,
|
||||
"object_events": [
|
||||
{
|
||||
"graphics_id": "18",
|
||||
"x": 29,
|
||||
"y": 58,
|
||||
"elevation": 3,
|
||||
"movement_type": "7",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "ViridianForest_EventScript_160529",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "19",
|
||||
"x": 45,
|
||||
"y": 58,
|
||||
"elevation": 3,
|
||||
"movement_type": "9",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "ViridianForest_EventScript_160532",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "20",
|
||||
"x": 47,
|
||||
"y": 45,
|
||||
"elevation": 3,
|
||||
"movement_type": "9",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 5,
|
||||
"script": "ViridianForest_EventScript_160571",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "20",
|
||||
"x": 47,
|
||||
"y": 29,
|
||||
"elevation": 3,
|
||||
"movement_type": "9",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 4,
|
||||
"script": "ViridianForest_EventScript_160588",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "20",
|
||||
"x": 7,
|
||||
"y": 22,
|
||||
"elevation": 3,
|
||||
"movement_type": "9",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 4,
|
||||
"script": "ViridianForest_EventScript_16059F",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "92",
|
||||
"x": 5,
|
||||
"y": 41,
|
||||
"elevation": 3,
|
||||
"movement_type": "8",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "ViridianForest_EventScript_1BE5A8",
|
||||
"flag": "342"
|
||||
},
|
||||
{
|
||||
"graphics_id": "92",
|
||||
"x": 40,
|
||||
"y": 21,
|
||||
"elevation": 3,
|
||||
"movement_type": "8",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "ViridianForest_EventScript_1BE5B5",
|
||||
"flag": "343"
|
||||
},
|
||||
{
|
||||
"graphics_id": "92",
|
||||
"x": 21,
|
||||
"y": 34,
|
||||
"elevation": 3,
|
||||
"movement_type": "8",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "ViridianForest_EventScript_1BE5C2",
|
||||
"flag": "344"
|
||||
},
|
||||
{
|
||||
"graphics_id": "20",
|
||||
"x": 43,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"movement_type": "13",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 1,
|
||||
"script": "ViridianForest_EventScript_1605B6",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "20",
|
||||
"x": 16,
|
||||
"y": 5,
|
||||
"elevation": 3,
|
||||
"movement_type": "7",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 1,
|
||||
"trainer_sight_or_berry_tree_id": 1,
|
||||
"script": "ViridianForest_EventScript_1605CD",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "92",
|
||||
"x": 49,
|
||||
"y": 60,
|
||||
"elevation": 3,
|
||||
"movement_type": "8",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": 0,
|
||||
"trainer_sight_or_berry_tree_id": 0,
|
||||
"script": "ViridianForest_EventScript_1BEAC9",
|
||||
"flag": "446"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 29,
|
||||
"y": 62,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_ROUTE2_VIRIDIAN_FOREST_SOUTH_ENTRANCE",
|
||||
"dest_warp_id": 3
|
||||
},
|
||||
{
|
||||
"x": 28,
|
||||
"y": 62,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_ROUTE2_VIRIDIAN_FOREST_SOUTH_ENTRANCE",
|
||||
"dest_warp_id": 3
|
||||
},
|
||||
{
|
||||
"x": 5,
|
||||
"y": 9,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_ROUTE2_VIRIDIAN_FOREST_NORTH_ENTRANCE",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 6,
|
||||
"y": 9,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_ROUTE2_VIRIDIAN_FOREST_NORTH_ENTRANCE",
|
||||
"dest_warp_id": 1
|
||||
},
|
||||
{
|
||||
"x": 30,
|
||||
"y": 62,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_ROUTE2_VIRIDIAN_FOREST_SOUTH_ENTRANCE",
|
||||
"dest_warp_id": 3
|
||||
},
|
||||
{
|
||||
"x": 4,
|
||||
"y": 9,
|
||||
"elevation": 3,
|
||||
"dest_map": "MAP_ROUTE2_VIRIDIAN_FOREST_NORTH_ENTRANCE",
|
||||
"dest_warp_id": 1
|
||||
}
|
||||
],
|
||||
"coord_events": [],
|
||||
"bg_events": [
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 39,
|
||||
"y": 59,
|
||||
"elevation": 3,
|
||||
"script": "ViridianForest_EventScript_16053B"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 43,
|
||||
"y": 26,
|
||||
"elevation": 0,
|
||||
"script": "ViridianForest_EventScript_16054D"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 9,
|
||||
"y": 29,
|
||||
"elevation": 0,
|
||||
"script": "ViridianForest_EventScript_160556"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 6,
|
||||
"y": 12,
|
||||
"elevation": 0,
|
||||
"script": "ViridianForest_EventScript_160568"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 28,
|
||||
"y": 44,
|
||||
"elevation": 0,
|
||||
"script": "ViridianForest_EventScript_160544"
|
||||
},
|
||||
{
|
||||
"type": "bg_event_type_0",
|
||||
"x": 31,
|
||||
"y": 60,
|
||||
"elevation": 0,
|
||||
"script": "ViridianForest_EventScript_16055F"
|
||||
},
|
||||
{
|
||||
"type": "hidden_item",
|
||||
"x": 3,
|
||||
"y": 22,
|
||||
"elevation": 3,
|
||||
"item": "ITEM_POTION",
|
||||
"flag": "0",
|
||||
"unknown": 1
|
||||
},
|
||||
{
|
||||
"type": "hidden_item",
|
||||
"x": 28,
|
||||
"y": 57,
|
||||
"elevation": 0,
|
||||
"item": "ITEM_ANTIDOTE",
|
||||
"flag": "1",
|
||||
"unknown": 1
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user