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

628 lines
17 KiB
JSON

{
"id": "MAP_ROUTE104",
"name": "Route104",
"layout": "LAYOUT_ROUTE104",
"music": "MUS_ROUTE104",
"region_map_section": "MAPSEC_ROUTE_104",
"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": "up",
"offset": 0,
"map": "MAP_RUSTBORO_CITY"
},
{
"direction": "down",
"offset": 0,
"map": "MAP_ROUTE105"
},
{
"direction": "right",
"offset": 50,
"map": "MAP_PETALBURG_CITY"
}
],
"object_events": [
{
"graphics_id": "OBJ_EVENT_GFX_BUG_CATCHER",
"x": 15,
"y": 60,
"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": "Route104_EventScript_BugCatcher",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_GIRL_2",
"x": 25,
"y": 49,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_Girl1",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_LASS",
"x": 31,
"y": 24,
"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": "7",
"script": "Route104_EventScript_Haley",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_BOY_1",
"x": 27,
"y": 63,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_UP_AND_DOWN",
"movement_range_x": 0,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_Boy1",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_WOMAN_2",
"x": 30,
"y": 50,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_AROUND",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_Woman",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_GIRL_3",
"x": 28,
"y": 74,
"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": "Route104_EventScript_Girl2",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_MR_BRINEYS_BOAT",
"x": 12,
"y": 54,
"elevation": 1,
"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_104_MR_BRINEY_BOAT"
},
{
"graphics_id": "OBJ_EVENT_GFX_EXPERT_M",
"x": 12,
"y": 51,
"elevation": 4,
"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_104_MR_BRINEY"
},
{
"graphics_id": "OBJ_EVENT_GFX_FISHERMAN",
"x": 29,
"y": 8,
"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": "0",
"script": "Route104_EventScript_Ivan",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_BERRY_TREE",
"x": 34,
"y": 6,
"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_104_CHERI_1",
"script": "BerryTreeScript",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_BERRY_TREE",
"x": 35,
"y": 6,
"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_104_SOIL_2",
"script": "BerryTreeScript",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_BERRY_TREE",
"x": 36,
"y": 6,
"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_104_LEPPA",
"script": "BerryTreeScript",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_BERRY_TREE",
"x": 22,
"y": 41,
"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_104_ORAN_2",
"script": "BerryTreeScript",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_BERRY_TREE",
"x": 23,
"y": 41,
"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_104_SOIL_3",
"script": "BerryTreeScript",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_BERRY_TREE",
"x": 24,
"y": 41,
"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_104_PECHA",
"script": "BerryTreeScript",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_EXPERT_F",
"x": 37,
"y": 8,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
"movement_range_x": 1,
"movement_range_y": 1,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_ExpertF",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_BERRY_TREE",
"x": 3,
"y": 22,
"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_104_SOIL_1",
"script": "BerryTreeScript",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_BERRY_TREE",
"x": 3,
"y": 23,
"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_104_ORAN_1",
"script": "BerryTreeScript",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_BERRY_TREE",
"x": 3,
"y": 24,
"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_104_SOIL_4",
"script": "BerryTreeScript",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_BERRY_TREE",
"x": 3,
"y": 25,
"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_104_CHERI_2",
"script": "BerryTreeScript",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
"x": 39,
"y": 15,
"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": "Route104_EventScript_ItemPPUp",
"flag": "FLAG_ITEM_ROUTE_104_PP_UP"
},
{
"graphics_id": "OBJ_EVENT_GFX_WOMAN_5",
"x": 8,
"y": 19,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
"movement_range_x": 1,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NONE",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route104_EventScript_WhiteHerbFlorist",
"flag": "FLAG_HIDE_ROUTE_104_WHITE_HERB_FLORIST"
},
{
"graphics_id": "OBJ_EVENT_GFX_TWIN",
"x": 27,
"y": 15,
"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": "Route104_EventScript_Gina",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_TWIN",
"x": 28,
"y": 15,
"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": "Route104_EventScript_Mia",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_RICH_BOY",
"x": 21,
"y": 25,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_ROTATE_COUNTERCLOCKWISE",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route104_EventScript_Winston",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_WOMAN_2",
"x": 11,
"y": 44,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_FACE_UP_AND_RIGHT",
"movement_range_x": 0,
"movement_range_y": 0,
"trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route104_EventScript_Cindy",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
"x": 29,
"y": 53,
"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": "Route104_EventScript_ItemPokeBall",
"flag": "FLAG_ITEM_ROUTE_104_POKE_BALL"
},
{
"graphics_id": "OBJ_EVENT_GFX_YOUNGSTER",
"x": 18,
"y": 67,
"elevation": 3,
"movement_type": "MOVEMENT_TYPE_WALK_SEQUENCE_DOWN_RIGHT_UP_LEFT",
"movement_range_x": 5,
"movement_range_y": 6,
"trainer_type": "TRAINER_TYPE_NORMAL",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route104_EventScript_Billy",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
"x": 37,
"y": 22,
"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": "Route104_EventScript_ItemXAccuracy",
"flag": "FLAG_ITEM_ROUTE_104_X_ACCURACY"
},
{
"graphics_id": "OBJ_EVENT_GFX_CUTTABLE_TREE",
"x": 35,
"y": 22,
"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_11"
},
{
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
"x": 5,
"y": 8,
"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": "Route104_EventScript_ItemPotion",
"flag": "FLAG_ITEM_ROUTE_104_POTION"
},
{
"graphics_id": "OBJ_EVENT_GFX_BOY_2",
"x": 5,
"y": 26,
"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": "Route104_EventScript_Boy2",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_FISHERMAN",
"x": 15,
"y": 59,
"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": "0",
"script": "Route104_EventScript_Darian",
"flag": "0"
},
{
"graphics_id": "OBJ_EVENT_GFX_VAR_0",
"x": 17,
"y": 50,
"elevation": 0,
"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": "Route104_EventScript_Rival",
"flag": "FLAG_HIDE_ROUTE_104_RIVAL"
}
],
"warp_events": [
{
"x": 17,
"y": 50,
"elevation": 0,
"dest_map": "MAP_ROUTE104_MR_BRINEYS_HOUSE",
"dest_warp_id": 0
},
{
"x": 5,
"y": 18,
"elevation": 0,
"dest_map": "MAP_ROUTE104_PRETTY_PETAL_FLOWER_SHOP",
"dest_warp_id": 0
},
{
"x": 10,
"y": 30,
"elevation": 3,
"dest_map": "MAP_PETALBURG_WOODS",
"dest_warp_id": 0
},
{
"x": 11,
"y": 30,
"elevation": 3,
"dest_map": "MAP_PETALBURG_WOODS",
"dest_warp_id": 1
},
{
"x": 10,
"y": 38,
"elevation": 3,
"dest_map": "MAP_PETALBURG_WOODS",
"dest_warp_id": 2
},
{
"x": 11,
"y": 38,
"elevation": 3,
"dest_map": "MAP_PETALBURG_WOODS",
"dest_warp_id": 3
},
{
"x": 32,
"y": 42,
"elevation": 3,
"dest_map": "MAP_PETALBURG_WOODS",
"dest_warp_id": 4
},
{
"x": 33,
"y": 42,
"elevation": 3,
"dest_map": "MAP_PETALBURG_WOODS",
"dest_warp_id": 5
}
],
"coord_events": [
{
"type": "trigger",
"x": 17,
"y": 51,
"elevation": 3,
"var": "VAR_ROUTE104_STATE",
"var_value": "1",
"script": "Route104_EventScript_RivalTrigger"
}
],
"bg_events": [
{
"type": "sign",
"x": 20,
"y": 50,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route104_EventScript_BrineysCottageSign"
},
{
"type": "sign",
"x": 27,
"y": 66,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route104_EventScript_RouteSignPetalburg"
},
{
"type": "sign",
"x": 23,
"y": 5,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route104_EventScript_RouteSignRustboro"
},
{
"type": "sign",
"x": 7,
"y": 20,
"elevation": 0,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route104_EventScript_FlowerShopSign"
},
{
"type": "sign",
"x": 17,
"y": 23,
"elevation": 3,
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
"script": "Route104_EventScript_TrainerTipsDoubleBattles"
},
{
"type": "hidden_item",
"x": 7,
"y": 6,
"elevation": 3,
"item": "ITEM_SUPER_POTION",
"flag": "FLAG_HIDDEN_ITEM_ROUTE_104_SUPER_POTION"
},
{
"type": "hidden_item",
"x": 3,
"y": 9,
"elevation": 3,
"item": "ITEM_POKE_BALL",
"flag": "FLAG_HIDDEN_ITEM_ROUTE_104_POKE_BALL"
},
{
"type": "hidden_item",
"x": 14,
"y": 55,
"elevation": 3,
"item": "ITEM_POTION",
"flag": "FLAG_HIDDEN_ITEM_ROUTE_104_POTION"
},
{
"type": "hidden_item",
"x": 16,
"y": 72,
"elevation": 3,
"item": "ITEM_ANTIDOTE",
"flag": "FLAG_HIDDEN_ITEM_ROUTE_104_ANTIDOTE"
},
{
"type": "hidden_item",
"x": 16,
"y": 64,
"elevation": 3,
"item": "ITEM_HEART_SCALE",
"flag": "FLAG_HIDDEN_ITEM_ROUTE_104_HEART_SCALE"
}
]
}