import from github
This commit is contained in:
627
data/maps/Route104/map.json
Normal file
627
data/maps/Route104/map.json
Normal file
@ -0,0 +1,627 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
1172
data/maps/Route104/scripts.inc
Normal file
1172
data/maps/Route104/scripts.inc
Normal file
@ -0,0 +1,1172 @@
|
||||
@ NOTE: Route 104's sail to Dewford script references local IDs from Dewford's map.
|
||||
@ These are labeled in DewfordTown/scripts.inc
|
||||
.set LOCALID_RIVAL, 34
|
||||
|
||||
Route104_MapScripts::
|
||||
map_script MAP_SCRIPT_ON_FRAME_TABLE, Route104_OnFrame
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, Route104_OnTransition
|
||||
.byte 0
|
||||
|
||||
Route104_OnFrame:
|
||||
map_script_2 VAR_BOARD_BRINEY_BOAT_STATE, 1, Route104_EventScript_StartSailToDewford
|
||||
.2byte 0
|
||||
|
||||
Route104_EventScript_StartSailToDewford::
|
||||
lockall
|
||||
goto Route104_EventScript_SailToDewford
|
||||
end
|
||||
|
||||
Route104_OnTransition:
|
||||
call Common_EventScript_SetupRivalGfxId
|
||||
call Route104_EventScript_TrySetRivalPos
|
||||
call Route104_EventScript_ShowOrHideWhiteHerbFlorist
|
||||
end
|
||||
|
||||
Route104_EventScript_ShowOrHideWhiteHerbFlorist::
|
||||
goto_if_unset FLAG_MET_PRETTY_PETAL_SHOP_OWNER, Route104_EventScript_HideWhiteHerbFlorist
|
||||
goto_if_unset FLAG_BADGE03_GET, Route104_EventScript_HideWhiteHerbFlorist
|
||||
clearflag FLAG_HIDE_ROUTE_104_WHITE_HERB_FLORIST
|
||||
return
|
||||
|
||||
Route104_EventScript_HideWhiteHerbFlorist::
|
||||
setflag FLAG_HIDE_ROUTE_104_WHITE_HERB_FLORIST
|
||||
return
|
||||
|
||||
Route104_EventScript_TrySetRivalPos::
|
||||
goto_if_ge VAR_BOARD_BRINEY_BOAT_STATE, 1, Route104_EventScript_DontSetRivalPos
|
||||
goto_if_set FLAG_MET_RIVAL_RUSTBORO, Route104_EventScript_DontSetRivalPos
|
||||
goto_if_unset FLAG_REGISTER_RIVAL_POKENAV, Route104_EventScript_DontSetRivalPos
|
||||
setobjectxyperm LOCALID_RIVAL, 17, 52
|
||||
return
|
||||
|
||||
Route104_EventScript_DontSetRivalPos::
|
||||
return
|
||||
|
||||
Route104_EventScript_Rival::
|
||||
lockall
|
||||
setvar VAR_0x8008, 1
|
||||
applymovement LOCALID_RIVAL, Common_Movement_FacePlayer
|
||||
waitmovement 0
|
||||
goto Route104_EventScript_RivalEncounter
|
||||
|
||||
Route104_EventScript_RivalTrigger::
|
||||
lockall
|
||||
setflag FLAG_HIDE_RUSTBORO_CITY_RIVAL
|
||||
setvar VAR_RUSTBORO_CITY_STATE, 8
|
||||
setvar VAR_ROUTE104_STATE, 2
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFasterUp
|
||||
waitmovement 0
|
||||
delay 10
|
||||
addobject LOCALID_RIVAL
|
||||
clearflag FLAG_HIDE_ROUTE_104_RIVAL
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Route104_Movement_PlayerBackUp
|
||||
waitmovement 0
|
||||
applymovement LOCALID_RIVAL, Route104_Movement_RivalExitBrineysCottage
|
||||
waitmovement 0
|
||||
delay 20
|
||||
setvar VAR_0x8008, 0
|
||||
call RustboroCity_EventScript_PlayRivalMusic
|
||||
playse SE_PIN
|
||||
applymovement LOCALID_RIVAL, Common_Movement_ExclamationMark
|
||||
waitmovement 0
|
||||
applymovement LOCALID_RIVAL, Common_Movement_Delay48
|
||||
waitmovement 0
|
||||
goto Route104_EventScript_RivalEncounter
|
||||
|
||||
@ Unused, shares script with Rustboro encounter instead
|
||||
Route104_EventScript_PlayRivalMusic::
|
||||
checkplayergender
|
||||
goto_if_eq VAR_RESULT, MALE, Route104_EventScript_PlayMayMusic
|
||||
goto_if_eq VAR_RESULT, FEMALE, Route104_EventScript_PlayBrendanMusic
|
||||
return
|
||||
|
||||
Route104_EventScript_PlayMayMusic::
|
||||
playbgm MUS_ENCOUNTER_MAY, TRUE
|
||||
return
|
||||
|
||||
Route104_EventScript_PlayBrendanMusic::
|
||||
playbgm MUS_ENCOUNTER_BRENDAN, TRUE
|
||||
return
|
||||
|
||||
Route104_EventScript_RivalEncounter::
|
||||
checkplayergender
|
||||
goto_if_eq VAR_RESULT, MALE, Route104_EventScript_MayEncounter
|
||||
goto_if_eq VAR_RESULT, FEMALE, Route104_EventScript_BrendanEncounter
|
||||
end
|
||||
|
||||
Route104_EventScript_MayEncounter::
|
||||
goto_if_set FLAG_DEFEATED_RIVAL_ROUTE_104, Route104_EventScript_MayDefeated
|
||||
goto_if_set FLAG_REGISTER_RIVAL_POKENAV, Route104_EventScript_MayAskToBattle
|
||||
setflag FLAG_REGISTER_RIVAL_POKENAV
|
||||
msgbox Route104_Text_MayWeShouldRegister, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
delay 30
|
||||
playfanfare MUS_REGISTER_MATCH_CALL
|
||||
msgbox Route104_Text_RegisteredMay, MSGBOX_DEFAULT
|
||||
waitfanfare
|
||||
closemessage
|
||||
delay 30
|
||||
setflag FLAG_ENABLE_RIVAL_MATCH_CALL
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Route104_Movement_PlayerFaceRival
|
||||
applymovement LOCALID_RIVAL, Route104_Movement_RivalWalkSlowLeft
|
||||
msgbox Route104_Text_MayHowsYourPokedex, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
waitmovement 0
|
||||
applymovement LOCALID_RIVAL, Route104_Movement_RivalApproachPlayer
|
||||
waitmovement 0
|
||||
copyobjectxytoperm LOCALID_RIVAL
|
||||
msgbox Route104_Text_MayMinesDecentLetsBattle, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, YES, Route104_EventScript_BattleMay
|
||||
msgbox Route104_Text_MayHaventRaisedPokemon, MSGBOX_DEFAULT
|
||||
call Route104_EventScript_RestoreMusic
|
||||
releaseall
|
||||
end
|
||||
|
||||
Route104_Movement_RivalWalkSlowLeft:
|
||||
walk_slow_left
|
||||
step_end
|
||||
|
||||
Route104_Movement_RivalApproachPlayer:
|
||||
walk_down
|
||||
face_right
|
||||
step_end
|
||||
|
||||
Route104_Movement_PlayerFaceRival:
|
||||
delay_4
|
||||
walk_in_place_faster_left
|
||||
step_end
|
||||
|
||||
Route104_EventScript_MayAskToBattle::
|
||||
msgbox Route104_Text_MayLetsBattle, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, YES, Route104_EventScript_BattleMay
|
||||
msgbox Route104_Text_MayHaventRaisedPokemon, MSGBOX_DEFAULT
|
||||
releaseall
|
||||
end
|
||||
|
||||
Route104_EventScript_BattleMay::
|
||||
msgbox Route104_Text_MayIntro, MSGBOX_DEFAULT
|
||||
switch VAR_STARTER_MON
|
||||
case 0, Route104_EventScript_BattleMayTreecko
|
||||
case 1, Route104_EventScript_BattleMayTorchic
|
||||
case 2, Route104_EventScript_BattleMayMudkip
|
||||
end
|
||||
|
||||
Route104_EventScript_MayDefeated::
|
||||
msgbox Route104_Text_MayPostBattle, MSGBOX_DEFAULT
|
||||
call_if_eq VAR_0x8008, 0, Route104_EventScript_RestoreMusic
|
||||
releaseall
|
||||
end
|
||||
|
||||
Route104_EventScript_RestoreMusic::
|
||||
savebgm MUS_DUMMY
|
||||
fadedefaultbgm
|
||||
return
|
||||
|
||||
Route104_EventScript_BattleMayTreecko::
|
||||
trainerbattle_no_intro TRAINER_MAY_RUSTBORO_TREECKO, Route104_Text_MayDefeat
|
||||
setflag FLAG_DEFEATED_RIVAL_ROUTE_104
|
||||
goto Route104_EventScript_MayDefeated
|
||||
end
|
||||
|
||||
Route104_EventScript_BattleMayTorchic::
|
||||
trainerbattle_no_intro TRAINER_MAY_RUSTBORO_TORCHIC, Route104_Text_MayDefeat
|
||||
setflag FLAG_DEFEATED_RIVAL_ROUTE_104
|
||||
goto Route104_EventScript_MayDefeated
|
||||
end
|
||||
|
||||
Route104_EventScript_BattleMayMudkip::
|
||||
trainerbattle_no_intro TRAINER_MAY_RUSTBORO_MUDKIP, Route104_Text_MayDefeat
|
||||
setflag FLAG_DEFEATED_RIVAL_ROUTE_104
|
||||
goto Route104_EventScript_MayDefeated
|
||||
end
|
||||
|
||||
Route104_EventScript_BrendanEncounter::
|
||||
goto_if_set FLAG_DEFEATED_RIVAL_ROUTE_104, Route104_EventScript_BrendanDefeated
|
||||
goto_if_set FLAG_REGISTER_RIVAL_POKENAV, Route104_EventScript_BrendanAskToBattle
|
||||
setflag FLAG_REGISTER_RIVAL_POKENAV
|
||||
msgbox Route104_Text_BrendanWeShouldRegister, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
delay 30
|
||||
playfanfare MUS_REGISTER_MATCH_CALL
|
||||
msgbox Route104_Text_RegisteredBrendan, MSGBOX_DEFAULT
|
||||
waitfanfare
|
||||
closemessage
|
||||
delay 30
|
||||
setflag FLAG_ENABLE_RIVAL_MATCH_CALL
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Route104_Movement_PlayerFaceRival
|
||||
applymovement LOCALID_RIVAL, Route104_Movement_RivalWalkSlowLeft
|
||||
msgbox Route104_Text_BrendanHowsYourPokedex, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
waitmovement 0
|
||||
applymovement LOCALID_RIVAL, Route104_Movement_RivalApproachPlayer
|
||||
waitmovement 0
|
||||
copyobjectxytoperm LOCALID_RIVAL
|
||||
msgbox Route104_Text_BrendanDoingGreatLetsBattle, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, YES, Route104_EventScript_BattleBrendan
|
||||
msgbox Route104_Text_BrendanNoConfidence, MSGBOX_DEFAULT
|
||||
call Route104_EventScript_RestoreMusic
|
||||
releaseall
|
||||
end
|
||||
|
||||
Route104_EventScript_BrendanAskToBattle::
|
||||
msgbox Route104_Text_BrendanLetsBattle, MSGBOX_YESNO
|
||||
goto_if_eq VAR_RESULT, YES, Route104_EventScript_BattleBrendan
|
||||
msgbox Route104_Text_BrendanNoConfidence, MSGBOX_DEFAULT
|
||||
releaseall
|
||||
end
|
||||
|
||||
Route104_EventScript_BattleBrendan::
|
||||
msgbox Route104_Text_BrendanIntro, MSGBOX_DEFAULT
|
||||
switch VAR_STARTER_MON
|
||||
case 0, Route104_EventScript_BattleBrendanTreecko
|
||||
case 1, Route104_EventScript_BattleBrendanTorchic
|
||||
case 2, Route104_EventScript_BattleBrendanMudkip
|
||||
end
|
||||
|
||||
Route104_EventScript_BrendanDefeated::
|
||||
msgbox Route104_Text_BrendanPostBattle, MSGBOX_DEFAULT
|
||||
call_if_eq VAR_0x8008, 0, Route104_EventScript_RestoreMusic
|
||||
releaseall
|
||||
end
|
||||
|
||||
Route104_EventScript_BattleBrendanTreecko::
|
||||
trainerbattle_no_intro TRAINER_BRENDAN_RUSTBORO_TREECKO, Route104_Text_BrendanDefeat
|
||||
setflag FLAG_DEFEATED_RIVAL_ROUTE_104
|
||||
goto Route104_EventScript_BrendanDefeated
|
||||
end
|
||||
|
||||
Route104_EventScript_BattleBrendanTorchic::
|
||||
trainerbattle_no_intro TRAINER_BRENDAN_RUSTBORO_TORCHIC, Route104_Text_BrendanDefeat
|
||||
setflag FLAG_DEFEATED_RIVAL_ROUTE_104
|
||||
goto Route104_EventScript_BrendanDefeated
|
||||
end
|
||||
|
||||
Route104_EventScript_BattleBrendanMudkip::
|
||||
trainerbattle_no_intro TRAINER_BRENDAN_RUSTBORO_MUDKIP, Route104_Text_BrendanDefeat
|
||||
setflag FLAG_DEFEATED_RIVAL_ROUTE_104
|
||||
goto Route104_EventScript_BrendanDefeated
|
||||
end
|
||||
|
||||
Route104_Movement_PlayerBackUp:
|
||||
lock_facing_direction
|
||||
walk_down
|
||||
unlock_facing_direction
|
||||
step_end
|
||||
|
||||
Route104_Movement_RivalExitBrineysCottage:
|
||||
walk_down
|
||||
step_end
|
||||
|
||||
Route104_EventScript_ExpertF::
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_set FLAG_RECEIVED_CHESTO_BERRY_ROUTE_104, Route104_EventScript_ReceivedBerry
|
||||
msgbox Route104_Text_PlantBerriesInSoilTakeThis, MSGBOX_DEFAULT
|
||||
giveitem ITEM_CHESTO_BERRY
|
||||
goto_if_eq VAR_RESULT, FALSE, Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_CHESTO_BERRY_ROUTE_104
|
||||
msgbox Route104_Text_TrainersOftenMakeMonHoldBerries, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
Route104_EventScript_ReceivedBerry::
|
||||
msgbox Route104_Text_TrainersOftenMakeMonHoldBerries, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
Route104_EventScript_WhiteHerbFlorist::
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_set FLAG_RECEIVED_WHITE_HERB, Route104_EventScript_ReceivedWhiteHerb
|
||||
msgbox Route104_Text_DontNeedThisTakeIt, MSGBOX_DEFAULT
|
||||
giveitem ITEM_WHITE_HERB
|
||||
goto_if_eq VAR_RESULT, FALSE, Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_WHITE_HERB
|
||||
release
|
||||
end
|
||||
|
||||
Route104_EventScript_ReceivedWhiteHerb::
|
||||
msgbox Route104_Text_FlowerShopSellingSaplings, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
Route104_EventScript_Girl1::
|
||||
msgbox Route104_Text_BrineyLivesInSeasideCottage, MSGBOX_NPC
|
||||
end
|
||||
|
||||
Route104_EventScript_BugCatcher::
|
||||
msgbox Route104_Text_WhatsItLikeAtBottomOfSea, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
Route104_EventScript_BrineysCottageSign::
|
||||
msgbox Route104_Text_MrBrineysCottage, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
Route104_EventScript_RouteSignPetalburg::
|
||||
msgbox Route104_Text_RouteSignPetalburg, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
Route104_EventScript_RouteSignRustboro::
|
||||
msgbox Route104_Text_RouteSignRustboro, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
Route104_EventScript_FlowerShopSign::
|
||||
msgbox Route104_Text_PrettyPetalFlowShop, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
Route104_EventScript_TrainerTipsDoubleBattles::
|
||||
msgbox Route104_Text_TrainerTipsDoubleBattles, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
Route104_EventScript_Boy1::
|
||||
msgbox Route104_Text_ThrowBallAtWeakenedPokemon, MSGBOX_NPC
|
||||
end
|
||||
|
||||
Route104_EventScript_Woman::
|
||||
msgbox Route104_Text_OnlyThrowBallAtWildPokemon, MSGBOX_NPC
|
||||
end
|
||||
|
||||
Route104_EventScript_Boy2::
|
||||
lock
|
||||
faceplayer
|
||||
goto_if_set FLAG_RECEIVED_TM09, Route104_EventScript_ReceivedBulletSeed
|
||||
msgbox Route104_Text_LikeFillingMouthWithSeedsTakeThis, MSGBOX_DEFAULT
|
||||
giveitem ITEM_TM09
|
||||
goto_if_eq VAR_RESULT, FALSE, Common_EventScript_ShowBagIsFull
|
||||
setflag FLAG_RECEIVED_TM09
|
||||
release
|
||||
end
|
||||
|
||||
Route104_EventScript_ReceivedBulletSeed::
|
||||
msgbox Route104_Text_TMsAreOneTimeUse, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
Route104_EventScript_Girl2::
|
||||
msgbox Route104_Text_ImNotATrainer, MSGBOX_NPC
|
||||
end
|
||||
|
||||
Route104_EventScript_SailToDewford::
|
||||
setobjectsubpriority LOCALID_BRINEY_R104, MAP_ROUTE104, 0
|
||||
setobjectsubpriority OBJ_EVENT_ID_PLAYER, MAP_ROUTE104, 0
|
||||
applymovement LOCALID_BRINEY_R104, Route104_Movement_BrineyBoardBoat
|
||||
waitmovement 0
|
||||
removeobject LOCALID_BRINEY_R104
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Route104_Movement_PlayerBoardBoat
|
||||
waitmovement 0
|
||||
hideobjectat OBJ_EVENT_ID_PLAYER, MAP_ROUTE104
|
||||
call Common_EventScript_PlayBrineysBoatMusic
|
||||
goto_if_set FLAG_ENABLE_NORMAN_MATCH_CALL, Route104_EventScript_SailToDewfordNoCall
|
||||
goto_if_unset FLAG_ENABLE_NORMAN_MATCH_CALL, Route104_EventScript_SailToDewfordDadCalls
|
||||
end
|
||||
|
||||
Route104_EventScript_SailToDewfordNoCall::
|
||||
applymovement LOCALID_BOAT_R104, Route104_Movement_SailToDewford
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Route104_Movement_SailToDewford
|
||||
waitmovement 0
|
||||
goto Route104_EventScript_ArriveInDewford
|
||||
|
||||
Route104_EventScript_SailToDewfordDadCalls::
|
||||
applymovement LOCALID_BOAT_R104, Route104_Movement_SailToDewfordBeforeDadCalls
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Route104_Movement_SailToDewfordBeforeDadCalls
|
||||
waitmovement 0
|
||||
pokenavcall Route104_Text_DadPokenavCall
|
||||
waitmessage
|
||||
delay 30
|
||||
playfanfare MUS_REGISTER_MATCH_CALL
|
||||
msgbox Route104_Text_RegisteredDadInPokenav, MSGBOX_DEFAULT
|
||||
waitfanfare
|
||||
closemessage
|
||||
delay 30
|
||||
setflag FLAG_ENABLE_NORMAN_MATCH_CALL
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Route104_Movement_SailToDewfordAfterDadCalls
|
||||
applymovement LOCALID_BOAT_R104, Route104_Movement_SailToDewfordAfterDadCalls, MAP_ROUTE104
|
||||
waitmovement LOCALID_BOAT_R104, MAP_ROUTE104
|
||||
waitmovement 0
|
||||
goto Route104_EventScript_ArriveInDewford
|
||||
|
||||
Route104_EventScript_ArriveInDewford::
|
||||
delay 50
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Route104_Movement_PlayerExitBoat
|
||||
waitmovement 0
|
||||
call Common_EventScript_StopBrineysBoatMusic
|
||||
showobjectat OBJ_EVENT_ID_PLAYER, MAP_DEWFORD_TOWN
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Route104_Movement_PlayerMoveForBriney
|
||||
waitmovement 0
|
||||
setobjectxyperm LOCALID_BRINEY_DEWFORD, 12, 8
|
||||
addobject LOCALID_BRINEY_DEWFORD
|
||||
setobjectsubpriority LOCALID_BRINEY_DEWFORD, MAP_DEWFORD_TOWN, 0
|
||||
clearflag FLAG_HIDE_MR_BRINEY_DEWFORD_TOWN
|
||||
applymovement LOCALID_BRINEY_DEWFORD, Route104_Movement_BrineyExitBoat
|
||||
waitmovement 0
|
||||
addobject LOCALID_BOAT_DEWFORD
|
||||
clearflag FLAG_HIDE_MR_BRINEY_BOAT_DEWFORD_TOWN
|
||||
call Common_EventScript_StopBrineysBoatMusic
|
||||
setflag FLAG_HIDE_ROUTE_104_MR_BRINEY_BOAT
|
||||
hideobjectat LOCALID_BOAT_R104, MAP_ROUTE104
|
||||
copyvar VAR_BRINEY_LOCATION, VAR_0x8008
|
||||
resetobjectsubpriority OBJ_EVENT_ID_PLAYER, MAP_ROUTE104
|
||||
resetobjectsubpriority LOCALID_BRINEY_DEWFORD, MAP_DEWFORD_TOWN
|
||||
copyobjectxytoperm LOCALID_BRINEY_DEWFORD
|
||||
setvar VAR_BOARD_BRINEY_BOAT_STATE, 0
|
||||
goto_if_unset FLAG_DELIVERED_STEVEN_LETTER, Route104_EventScript_DeliverLetterReminder
|
||||
goto_if_set FLAG_DELIVERED_STEVEN_LETTER, Route104_EventScript_LandedInDewford
|
||||
end
|
||||
|
||||
Route104_EventScript_DeliverLetterReminder::
|
||||
msgbox Route104_Text_LandedInDewfordDeliverLetter, MSGBOX_DEFAULT
|
||||
releaseall
|
||||
end
|
||||
|
||||
Route104_EventScript_LandedInDewford::
|
||||
msgbox DewfordTown_Text_BrineyLandedInDewford, MSGBOX_DEFAULT
|
||||
releaseall
|
||||
end
|
||||
|
||||
Route104_Movement_SailToDewfordBeforeDadCalls:
|
||||
walk_down
|
||||
walk_down
|
||||
walk_down
|
||||
walk_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_right
|
||||
walk_fast_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_fast_right
|
||||
walk_fast_right
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
step_end
|
||||
|
||||
Route104_Movement_SailToDewfordAfterDadCalls:
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_right
|
||||
walk_fast_right
|
||||
walk_fast_right
|
||||
walk_fast_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_fast_right
|
||||
walk_fast_right
|
||||
walk_fast_right
|
||||
walk_fast_right
|
||||
walk_right
|
||||
walk_right
|
||||
walk_down
|
||||
walk_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_down
|
||||
walk_down
|
||||
step_end
|
||||
|
||||
Route104_Movement_SailToDewford:
|
||||
walk_down
|
||||
walk_down
|
||||
walk_down
|
||||
walk_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_right
|
||||
walk_fast_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_fast_right
|
||||
walk_fast_right
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_faster_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_right
|
||||
walk_fast_right
|
||||
walk_fast_right
|
||||
walk_fast_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_faster_right
|
||||
walk_fast_right
|
||||
walk_fast_right
|
||||
walk_fast_right
|
||||
walk_fast_right
|
||||
walk_right
|
||||
walk_right
|
||||
walk_down
|
||||
walk_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_fast_down
|
||||
walk_down
|
||||
walk_down
|
||||
step_end
|
||||
|
||||
Route104_Movement_PlayerBoardBoat:
|
||||
walk_left
|
||||
walk_down
|
||||
walk_down
|
||||
step_end
|
||||
|
||||
Route104_Movement_PlayerExitBoat:
|
||||
walk_down
|
||||
step_end
|
||||
|
||||
Route104_Movement_PlayerMoveForBriney:
|
||||
walk_down
|
||||
walk_left
|
||||
walk_in_place_faster_right
|
||||
step_end
|
||||
|
||||
Route104_Movement_BrineyBoardBoat:
|
||||
walk_down
|
||||
walk_down
|
||||
step_end
|
||||
|
||||
Route104_Movement_BrineyExitBoat:
|
||||
walk_down
|
||||
walk_in_place_faster_left
|
||||
step_end
|
||||
|
||||
Route104_EventScript_Ivan::
|
||||
trainerbattle_single TRAINER_IVAN, Route104_Text_IvanIntro, Route104_Text_IvanDefeat
|
||||
msgbox Route104_Text_IvanPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route104_EventScript_Billy::
|
||||
trainerbattle_single TRAINER_BILLY, Route104_Text_BillyIntro, Route104_Text_BillyDefeat
|
||||
msgbox Route104_Text_BillyPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route104_EventScript_Haley::
|
||||
trainerbattle_single TRAINER_HALEY_1, Route104_Text_HaleyIntro, Route104_Text_HaleyDefeat, Route104_EventScript_TryRegisterHaleyAfterBattle
|
||||
specialvar VAR_RESULT, ShouldTryRematchBattle
|
||||
goto_if_eq VAR_RESULT, TRUE, Route104_EventScript_RematchHaley
|
||||
setvar VAR_0x8004, TRAINER_HALEY_1
|
||||
specialvar VAR_RESULT, IsTrainerRegistered
|
||||
goto_if_eq VAR_RESULT, FALSE, Route104_EventScript_TryRegisterHaley
|
||||
msgbox Route104_Text_HaleyPostBattle, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
Route104_EventScript_TryRegisterHaleyAfterBattle::
|
||||
special PlayerFaceTrainerAfterBattle
|
||||
waitmovement 0
|
||||
goto_if_set FLAG_HAS_MATCH_CALL, Route104_EventScript_RegisterHaleyAfterBattle
|
||||
release
|
||||
end
|
||||
|
||||
Route104_EventScript_RegisterHaleyAfterBattle::
|
||||
msgbox Route104_Text_HaleyRegister2, MSGBOX_DEFAULT
|
||||
register_matchcall TRAINER_HALEY_1
|
||||
release
|
||||
end
|
||||
|
||||
Route104_EventScript_TryRegisterHaley::
|
||||
goto_if_set FLAG_HAS_MATCH_CALL, Route104_EventScript_RegisterHaley
|
||||
msgbox Route104_Text_HaleyPostBattle, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
Route104_EventScript_RegisterHaley::
|
||||
msgbox Route104_Text_HaleyRegister1, MSGBOX_DEFAULT
|
||||
register_matchcall TRAINER_HALEY_1
|
||||
release
|
||||
end
|
||||
|
||||
Route104_EventScript_RematchHaley::
|
||||
trainerbattle_rematch TRAINER_HALEY_1, Route104_Text_HaleyRematchIntro, Route104_Text_HaleyRematchDefeat
|
||||
msgbox Route104_Text_HaleyPostRematch, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route104_EventScript_Winston::
|
||||
trainerbattle_single TRAINER_WINSTON_1, Route104_Text_WinstonIntro, Route104_Text_WinstonDefeat, Route104_EventScript_TryRegisterWinstonAfterBattle
|
||||
specialvar VAR_RESULT, ShouldTryRematchBattle
|
||||
goto_if_eq VAR_RESULT, TRUE, Route104_EventScript_RematchWinston
|
||||
setvar VAR_0x8004, TRAINER_WINSTON_1
|
||||
specialvar VAR_RESULT, IsTrainerRegistered
|
||||
goto_if_eq VAR_RESULT, FALSE, Route104_EventScript_TryRegisterWinston
|
||||
msgbox Route104_Text_WinstonPostBattle, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
Route104_EventScript_TryRegisterWinstonAfterBattle::
|
||||
special PlayerFaceTrainerAfterBattle
|
||||
waitmovement 0
|
||||
goto_if_set FLAG_HAS_MATCH_CALL, Route104_EventScript_RegisterWinstonAfterBattle
|
||||
release
|
||||
end
|
||||
|
||||
Route104_EventScript_RegisterWinstonAfterBattle::
|
||||
msgbox Route104_Text_WinstonRegister2, MSGBOX_DEFAULT
|
||||
register_matchcall TRAINER_WINSTON_1
|
||||
release
|
||||
end
|
||||
|
||||
Route104_EventScript_TryRegisterWinston::
|
||||
goto_if_set FLAG_HAS_MATCH_CALL, Route104_EventScript_RegisterWinston
|
||||
msgbox Route104_Text_WinstonPostBattle, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
Route104_EventScript_RegisterWinston::
|
||||
msgbox Route104_Text_WinstonRegister1, MSGBOX_DEFAULT
|
||||
register_matchcall TRAINER_WINSTON_1
|
||||
release
|
||||
end
|
||||
|
||||
Route104_EventScript_RematchWinston::
|
||||
trainerbattle_rematch TRAINER_WINSTON_1, Route104_Text_WinstonRematchIntro, Route104_Text_WinstonRematchDefeat
|
||||
msgbox Route104_Text_WinstonPostRematch, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route104_EventScript_Cindy::
|
||||
trainerbattle_single TRAINER_CINDY_1, Route104_Text_CindyIntro, Route104_Text_CindyDefeat, Route104_EventScript_TryRegisterCindyAfterBattle
|
||||
specialvar VAR_RESULT, ShouldTryRematchBattle
|
||||
goto_if_eq VAR_RESULT, TRUE, Route104_EventScript_RematchCindy
|
||||
setvar VAR_0x8004, TRAINER_CINDY_1
|
||||
specialvar VAR_RESULT, IsTrainerRegistered
|
||||
goto_if_eq VAR_RESULT, FALSE, Route104_EventScript_TryRegisterCindy
|
||||
msgbox Route104_Text_CindyPostBattle, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
Route104_EventScript_TryRegisterCindyAfterBattle::
|
||||
special PlayerFaceTrainerAfterBattle
|
||||
waitmovement 0
|
||||
goto_if_set FLAG_HAS_MATCH_CALL, Route104_EventScript_RegisterCindyAfterBattle
|
||||
release
|
||||
end
|
||||
|
||||
Route104_EventScript_RegisterCindyAfterBattle::
|
||||
msgbox Route104_Text_CindyRegister2, MSGBOX_DEFAULT
|
||||
register_matchcall TRAINER_CINDY_1
|
||||
release
|
||||
end
|
||||
|
||||
Route104_EventScript_TryRegisterCindy::
|
||||
goto_if_set FLAG_HAS_MATCH_CALL, Route104_EventScript_RegisterCindy
|
||||
msgbox Route104_Text_CindyPostBattle, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
Route104_EventScript_RegisterCindy::
|
||||
msgbox Route104_Text_CindyRegister1, MSGBOX_DEFAULT
|
||||
register_matchcall TRAINER_CINDY_1
|
||||
release
|
||||
end
|
||||
|
||||
Route104_EventScript_RematchCindy::
|
||||
trainerbattle_rematch TRAINER_CINDY_1, Route104_Text_CindyRematchIntro, Route104_Text_CindyRematchDefeat
|
||||
msgbox Route104_Text_CindyPostRematch, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route104_EventScript_Gina::
|
||||
trainerbattle_double TRAINER_GINA_AND_MIA_1, Route104_Text_GinaIntro, Route104_Text_GinaDefeat, Route104_Text_GinaNotEnoughMons
|
||||
special GetPlayerBigGuyGirlString
|
||||
msgbox Route104_Text_GinaPostBattle, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
Route104_EventScript_Mia::
|
||||
trainerbattle_double TRAINER_GINA_AND_MIA_1, Route104_Text_MiaIntro, Route104_Text_MiaDefeat, Route104_Text_MiaNotEnoughMons
|
||||
special GetPlayerBigGuyGirlString
|
||||
msgbox Route104_Text_MiaPostBattle, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
Route104_EventScript_Darian::
|
||||
trainerbattle_single TRAINER_DARIAN, Route104_Text_DarianIntro, Route104_Text_DarianDefeat
|
||||
msgbox Route104_Text_DarianPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route104_Text_BrineyLivesInSeasideCottage:
|
||||
.string "That seaside cottage is where\n"
|
||||
.string "MR. BRINEY lives.\p"
|
||||
.string "He was once a mighty sailor who never\n"
|
||||
.string "feared the sea, however stormy.$"
|
||||
|
||||
Route104_Text_WhatsItLikeAtBottomOfSea:
|
||||
.string "The sea, huh?\p"
|
||||
.string "I wonder what it's like at the bottom\n"
|
||||
.string "of the sea?$"
|
||||
|
||||
Route104_Text_ThrowBallAtWeakenedPokemon:
|
||||
.string "If you're going to throw a POKé BALL,\n"
|
||||
.string "weaken the wild POKéMON first.\p"
|
||||
.string "It will be easier to catch if it's been\n"
|
||||
.string "poisoned, burned, or lulled to sleep.$"
|
||||
|
||||
Route104_Text_OnlyThrowBallAtWildPokemon:
|
||||
.string "You're a thief if you try to steal\n"
|
||||
.string "someone else's POKéMON.\p"
|
||||
.string "You should throw POKé BALLS only at\n"
|
||||
.string "wild POKéMON.$"
|
||||
|
||||
Route104_Text_ImNotATrainer:
|
||||
.string "Oh, no, I'm not a TRAINER.\p"
|
||||
.string "But that's right, if TRAINERS lock eyes,\n"
|
||||
.string "it's a challenge to battle.\p"
|
||||
.string "If you don't want to battle, stay out\n"
|
||||
.string "of their sight.$"
|
||||
|
||||
Route104_Text_LikeFillingMouthWithSeedsTakeThis:
|
||||
.string "I like filling my mouth with seeds,\n"
|
||||
.string "then spitting them out fast!\p"
|
||||
.string "You can have this, so you try it out!\p"
|
||||
.string "Use it on a POKéMON, and it will learn\n"
|
||||
.string "a move for firing seeds rapidly.$"
|
||||
|
||||
Route104_Text_TMsAreOneTimeUse:
|
||||
.string "A word of advice!\p"
|
||||
.string "A TM, TECHNICAL MACHINE, is good only\n"
|
||||
.string "for one-time use.\p"
|
||||
.string "Once you use it, it's gone.\n"
|
||||
.string "Think twice before using it!$"
|
||||
|
||||
Route104_Text_DontNeedThisTakeIt:
|
||||
.string "This FLOWER SHOP started selling\n"
|
||||
.string "saplings recently.\p"
|
||||
.string "It made me so happy, I went overboard\n"
|
||||
.string "shopping.\p"
|
||||
.string "I don't need this WHITE HERB anymore.\n"
|
||||
.string "Would you take it, please?$"
|
||||
|
||||
Route104_Text_FlowerShopSellingSaplings:
|
||||
.string "This FLOWER SHOP started selling\n"
|
||||
.string "saplings recently.\p"
|
||||
.string "It made me so happy, I went overboard\n"
|
||||
.string "shopping. Where should I put them?$"
|
||||
|
||||
Route104_Text_MrBrineysCottage:
|
||||
.string "MR. BRINEY'S COTTAGE$"
|
||||
|
||||
Route104_Text_RouteSignPetalburg:
|
||||
.string "ROUTE 1O4\n"
|
||||
.string "{RIGHT_ARROW} PETALBURG CITY$"
|
||||
|
||||
Route104_Text_RouteSignRustboro:
|
||||
.string "ROUTE 1O4\n"
|
||||
.string "{UP_ARROW} RUSTBORO CITY$"
|
||||
|
||||
Route104_Text_PrettyPetalFlowShop:
|
||||
.string "PRETTY PETAL FLOWER SHOP$"
|
||||
|
||||
Route104_Text_TrainerTipsDoubleBattles:
|
||||
.string "TRAINER TIPS\p"
|
||||
.string "In the HOENN region there are pairs\n"
|
||||
.string "of TRAINERS who challenge others\l"
|
||||
.string "for 2-on-2 POKéMON battles called\l"
|
||||
.string "DOUBLE BATTLES.\p"
|
||||
.string "In a DOUBLE BATTLE, the TRAINER must\n"
|
||||
.string "send out two POKéMON, the one at the\l"
|
||||
.string "left of the list and the top one.\l"
|
||||
.string "Watch how POKéMON are lined up.$"
|
||||
|
||||
Route104_Text_MayWeShouldRegister:
|
||||
.string "MAY: Oh, hi, {PLAYER}{KUN}!\p"
|
||||
.string "DEVON upgraded your POKéNAV with\n"
|
||||
.string "the MATCH CALL system, huh?\p"
|
||||
.string "We should register each other so we\n"
|
||||
.string "can get in contact anytime.$"
|
||||
|
||||
Route104_Text_RegisteredMay:
|
||||
.string "{PLAYER} registered MAY\n"
|
||||
.string "in the POKéNAV.$"
|
||||
|
||||
Route104_Text_MayHowsYourPokedex:
|
||||
.string "MAY: Oh, by the way, {PLAYER}{KUN},\n"
|
||||
.string "how's your POKéDEX coming along?$"
|
||||
|
||||
Route104_Text_MayMinesDecentLetsBattle:
|
||||
.string "Mine's looking pretty decent.\n"
|
||||
.string "So…\l"
|
||||
.string "How about a little battle?$"
|
||||
|
||||
Route104_Text_MayHaventRaisedPokemon:
|
||||
.string "MAY: Oh, what's the matter?\p"
|
||||
.string "Haven't you caught or raised your\n"
|
||||
.string "POKéMON very much?\p"
|
||||
.string "That's not very good for a TRAINER!$"
|
||||
|
||||
Route104_Text_MayLetsBattle:
|
||||
.string "MAY: So, what do you think?\n"
|
||||
.string "How about a little battle here?$"
|
||||
|
||||
Route104_Text_MayIntro:
|
||||
.string "MAY: You just became a TRAINER,\n"
|
||||
.string "{PLAYER}{KUN}. I'm not going to lose!$"
|
||||
|
||||
Route104_Text_MayDefeat:
|
||||
.string "Yikes!\n"
|
||||
.string "You're better than I expected!$"
|
||||
|
||||
Route104_Text_MayPostBattle:
|
||||
.string "MAY: I can tell you've gotten pretty\n"
|
||||
.string "good with the way you handle POKéMON.\p"
|
||||
.string "But instead of only making them\n"
|
||||
.string "battle, you should be like MR. BRINEY.\p"
|
||||
.string "It's important to become friends with\n"
|
||||
.string "POKéMON, too.$"
|
||||
|
||||
Route104_Text_BrendanWeShouldRegister:
|
||||
.string "BRENDAN: Oh, hey, {PLAYER}!\p"
|
||||
.string "Cool, you had DEVON install the MATCH\n"
|
||||
.string "CALL system on your POKéNAV!\p"
|
||||
.string "Let's register each other in our\n"
|
||||
.string "POKéNAVS so we can keep in touch.$"
|
||||
|
||||
Route104_Text_RegisteredBrendan:
|
||||
.string "{PLAYER} registered BRENDAN\n"
|
||||
.string "in the POKéNAV.$"
|
||||
|
||||
Route104_Text_BrendanHowsYourPokedex:
|
||||
.string "BRENDAN: {PLAYER}, how's your POKéDEX?\n"
|
||||
.string "Have you filled in any pages yet?$"
|
||||
|
||||
Route104_Text_BrendanDoingGreatLetsBattle:
|
||||
.string "Me, I'm doing great!\p"
|
||||
.string "Want to check out how good I am with\n"
|
||||
.string "a battle?$"
|
||||
|
||||
Route104_Text_BrendanNoConfidence:
|
||||
.string "BRENDAN: What's the matter? Don't have\n"
|
||||
.string "any confidence in your POKéMON?$"
|
||||
|
||||
Route104_Text_BrendanLetsBattle:
|
||||
.string "BRENDAN: What's up?\n"
|
||||
.string "Want to have a battle with me?$"
|
||||
|
||||
Route104_Text_BrendanIntro:
|
||||
.string "BRENDAN: I know you just became\n"
|
||||
.string "a TRAINER, but I won't go easy!$"
|
||||
|
||||
Route104_Text_BrendanDefeat:
|
||||
.string "Hmm…\n"
|
||||
.string "You're pretty good.$"
|
||||
|
||||
Route104_Text_BrendanPostBattle:
|
||||
.string "BRENDAN: You've gotten pretty decent\n"
|
||||
.string "at handling POKéMON.\p"
|
||||
.string "But, you know, you shouldn't just be\n"
|
||||
.string "making POKéMON battle.\p"
|
||||
.string "Like MR. BRINEY, it's important to\n"
|
||||
.string "become friends with your POKéMON.$"
|
Reference in New Issue
Block a user