tumbledemerald-legacy/data/maps/Route121/map.json
2022-05-19 17:14:13 +00:00

537 lines
14 KiB
JSON

{
"id": "MAP_ROUTE121",
"name": "Route121",
"layout": "LAYOUT_ROUTE121",
"music": "MUS_ROUTE120",
"region_map_section": "MAPSEC_ROUTE_121",
"requires_flash": false,
"weather": "WEATHER_SUNNY",
"map_type": "MAP_TYPE_ROUTE",
"allow_cycling": true,
"allow_escaping": false,
"allow_running": true,
"show_map_name": true,
"battle_scene": "MAP_BATTLE_SCENE_NORMAL",
"connections": [
{
"direction": "down",
"offset": 20,
"map": "MAP_ROUTE122"
},
{
"direction": "left",
"offset": -80,
"map": "MAP_ROUTE120"
},
{
"direction": "right",
"offset": -10,
"map": "MAP_LILYCOVE_CITY"
}
],
"object_events": [
{
"graphics_id": "OBJ_EVENT_GFX_WOMAN_3",
"x": 29,
"y": 14,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route121_EventScript_Woman",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_BERRY_TREE",
"x": 14,
"y": 2,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "BERRY_TREE_ROUTE_121_PERSIM",
"script": "BerryTreeScript",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_BERRY_TREE",
"x": 15,
"y": 2,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "BERRY_TREE_ROUTE_121_ASPEAR",
"script": "BerryTreeScript",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_BERRY_TREE",
"x": 16,
"y": 2,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "BERRY_TREE_ROUTE_121_RAWST",
"script": "BerryTreeScript",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_BERRY_TREE",
"x": 17,
"y": 2,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "BERRY_TREE_ROUTE_121_CHESTO",
"script": "BerryTreeScript",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_BERRY_TREE",
"x": 64,
"y": 14,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "BERRY_TREE_ROUTE_121_SOIL_1",
"script": "BerryTreeScript",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_BERRY_TREE",
"x": 65,
"y": 14,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "BERRY_TREE_ROUTE_121_NANAB_1",
"script": "BerryTreeScript",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_BERRY_TREE",
"x": 66,
"y": 14,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "BERRY_TREE_ROUTE_121_NANAB_2",
"script": "BerryTreeScript",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_BERRY_TREE",
"x": 67,
"y": 14,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_BERRY_TREE_GROWTH",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "BERRY_TREE_ROUTE_121_SOIL_2",
"script": "BerryTreeScript",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_LASS",
"x": 39,
"y": 9,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route121_EventScript_Kate",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_LASS",
"x": 40,
"y": 9,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route121_EventScript_Joy",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_AQUA_MEMBER_M",
"x": 30,
"y": 8,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_ROUTE_121_TEAM_AQUA_GRUNTS"
},
{
"graphics_id": "OBJ_EVENT_GFX_AQUA_MEMBER_M",
"x": 30,
"y": 7,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_ROUTE_121_TEAM_AQUA_GRUNTS"
},
{
"graphics_id": "OBJ_EVENT_GFX_AQUA_MEMBER_M",
"x": 31,
"y": 7,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "0x0",
"flag": "FLAG_HIDE_ROUTE_121_TEAM_AQUA_GRUNTS"
},
{
"graphics_id": "OBJ_EVENT_GFX_CUTTABLE_TREE",
"x": 32,
"y": 5,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_CutTree",
"flag": "FLAG_TEMP_11"
},
{
"graphics_id": "OBJ_EVENT_GFX_CUTTABLE_TREE",
"x": 65,
"y": 4,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_CutTree",
"flag": "FLAG_TEMP_12"
},
{
"graphics_id": "OBJ_EVENT_GFX_POKEFAN_F",
"x": 63,
"y": 5,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route121_EventScript_Vanessa",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_GENTLEMAN",
"x": 55,
"y": 8,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route121_EventScript_Walter",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_HEX_MANIAC",
"x": 11,
"y": 11,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route121_EventScript_Tammy",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_BEAUTY",
"x": 22,
"y": 5,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_LEFT",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route121_EventScript_Jessica",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
"x": 55,
"y": 10,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route121_EventScript_ItemCarbos",
"flag": "FLAG_ITEM_ROUTE_121_CARBOS"
},
{
"graphics_id": "OBJ_EVENT_GFX_CUTTABLE_TREE",
"x": 26,
"y": 12,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "EventScript_CutTree",
"flag": "FLAG_TEMP_13"
},
{
"graphics_id": "OBJ_EVENT_GFX_MANIAC",
"x": 11,
"y": 6,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WALK_DOWN_AND_UP",
"movement_range_x": 1,
"movement_range_y": 4,
"trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route121_EventScript_Cale",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_MAN_4",
"x": 59,
"y": 8,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route121_EventScript_Myles",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_WOMAN_2",
"x": 59,
"y": 13,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_UP",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route121_EventScript_Pat",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_MAN_3",
"x": 65,
"y": 9,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "6",
"script": "Route121_EventScript_Marcel",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_WOMAN_5",
"x": 72,
"y": 9,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "6",
"script": "Route121_EventScript_Cristin",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
"x": 60,
"y": 10,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route121_EventScript_ItemRevive",
"flag": "FLAG_ITEM_ROUTE_121_REVIVE"
},
{
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
"x": 38,
"y": 13,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_LOOK_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route121_EventScript_ItemZinc",
"flag": "FLAG_ITEM_ROUTE_121_ZINC"
}
],
"warp_events": [
{
"x": 37,
"y": 5,
"elevation": 0,
"dest_map": "MAP_ROUTE121_SAFARI_ZONE_ENTRANCE",
"dest_warp_id": 2
}
],
"coord_events": [
{
"type": "trigger",
"x": 25,
"y": 5,
"elevation": 3,
"var": "VAR_ROUTE121_STATE",
"var_value": "0",
"script": "Route121_EventScript_AquaGruntsMoveOut"
},
{
"type": "trigger",
"x": 25,
"y": 6,
"elevation": 3,
"var": "VAR_ROUTE121_STATE",
"var_value": "0",
"script": "Route121_EventScript_AquaGruntsMoveOut"
},
{
"type": "trigger",
"x": 25,
"y": 7,
"elevation": 3,
"var": "VAR_ROUTE121_STATE",
"var_value": "0",
"script": "Route121_EventScript_AquaGruntsMoveOut"
},
{
"type": "trigger",
"x": 25,
"y": 8,
"elevation": 3,
"var": "VAR_ROUTE121_STATE",
"var_value": "0",
"script": "Route121_EventScript_AquaGruntsMoveOut"
}
],
"bg_events": [
{
"type": "sign",
"x": 32,
"y": 14,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route121_EventScript_MtPyrePierSign"
},
{
"type": "secret_base",
"x": 40,
"y": 11,
"elevation": 0,
"secret_base_id": "SECRET_BASE_RED_CAVE2_2"
},
{
"type": "secret_base",
"x": 18,
"y": 13,
"elevation": 0,
"secret_base_id": "SECRET_BASE_RED_CAVE3_2"
},
{
"type": "secret_base",
"x": 43,
"y": 7,
"elevation": 0,
"secret_base_id": "SECRET_BASE_TREE1_2"
},
{
"type": "secret_base",
"x": 42,
"y": 7,
"elevation": 0,
"secret_base_id": "SECRET_BASE_TREE2_2"
},
{
"type": "sign",
"x": 39,
"y": 6,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route121_EventScript_SafariZoneSign"
},
{
"type": "hidden_item",
"x": 23,
"y": 10,
"elevation": 3,
"item": "ITEM_HP_UP",
"flag": "FLAG_HIDDEN_ITEM_ROUTE_121_HP_UP"
},
{
"type": "hidden_item",
"x": 58,
"y": 3,
"elevation": 3,
"item": "ITEM_NUGGET",
"flag": "FLAG_HIDDEN_ITEM_ROUTE_121_NUGGET"
},
{
"type": "hidden_item",
"x": 72,
"y": 5,
"elevation": 3,
"item": "ITEM_FULL_HEAL",
"flag": "FLAG_HIDDEN_ITEM_ROUTE_121_FULL_HEAL"
},
{
"type": "hidden_item",
"x": 68,
"y": 8,
"elevation": 3,
"item": "ITEM_MAX_REVIVE",
"flag": "FLAG_HIDDEN_ITEM_ROUTE_121_MAX_REVIVE"
}
]
}