import from github
This commit is contained in:
920
data/maps/Route119/map.json
Normal file
920
data/maps/Route119/map.json
Normal file
@ -0,0 +1,920 @@
|
||||
{
|
||||
"id": "MAP_ROUTE119",
|
||||
"name": "Route119",
|
||||
"layout": "LAYOUT_ROUTE119",
|
||||
"music": "MUS_ROUTE119",
|
||||
"region_map_section": "MAPSEC_ROUTE_119",
|
||||
"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": -40,
|
||||
"map": "MAP_ROUTE118"
|
||||
},
|
||||
{
|
||||
"direction": "right",
|
||||
"offset": 0,
|
||||
"map": "MAP_FORTREE_CITY"
|
||||
}
|
||||
],
|
||||
"object_events": [
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_BERRY_TREE",
|
||||
"x": 24,
|
||||
"y": 5,
|
||||
"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_119_POMEG_1",
|
||||
"script": "BerryTreeScript",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_BERRY_TREE",
|
||||
"x": 25,
|
||||
"y": 5,
|
||||
"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_119_POMEG_2",
|
||||
"script": "BerryTreeScript",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_BERRY_TREE",
|
||||
"x": 26,
|
||||
"y": 5,
|
||||
"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_119_POMEG_3",
|
||||
"script": "BerryTreeScript",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_BUG_CATCHER",
|
||||
"x": 12,
|
||||
"y": 123,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_COPY_PLAYER_IN_GRASS",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "1",
|
||||
"script": "Route119_EventScript_Greg",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_MANIAC",
|
||||
"x": 26,
|
||||
"y": 123,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_COPY_PLAYER_OPPOSITE_IN_GRASS",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "1",
|
||||
"script": "Route119_EventScript_Taylor",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_MANIAC",
|
||||
"x": 5,
|
||||
"y": 125,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_COPY_PLAYER_CLOCKWISE_IN_GRASS",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "1",
|
||||
"script": "Route119_EventScript_Donald",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_CAMPER",
|
||||
"x": 7,
|
||||
"y": 74,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN_AND_RIGHT",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "3",
|
||||
"script": "Route119_EventScript_Jackson",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_MANIAC",
|
||||
"x": 28,
|
||||
"y": 116,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_COPY_PLAYER_OPPOSITE_IN_GRASS",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "1",
|
||||
"script": "Route119_EventScript_Brent",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_PICNICKER",
|
||||
"x": 35,
|
||||
"y": 83,
|
||||
"elevation": 4,
|
||||
"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": "2",
|
||||
"script": "Route119_EventScript_Catherine",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_BUG_CATCHER",
|
||||
"x": 34,
|
||||
"y": 122,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_COPY_PLAYER_COUNTERCLOCKWISE_IN_GRASS",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "1",
|
||||
"script": "Route119_EventScript_Doug",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_BUG_CATCHER",
|
||||
"x": 17,
|
||||
"y": 128,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_COPY_PLAYER_COUNTERCLOCKWISE_IN_GRASS",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "1",
|
||||
"script": "Route119_EventScript_Kent",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_NINJA_BOY",
|
||||
"x": 28,
|
||||
"y": 14,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_TREE_DISGUISE",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "1",
|
||||
"script": "Route119_EventScript_Yasu",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_NINJA_BOY",
|
||||
"x": 19,
|
||||
"y": 49,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_MOUNTAIN_DISGUISE",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "3",
|
||||
"script": "Route119_EventScript_Takashi",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_MAN_5",
|
||||
"x": 10,
|
||||
"y": 50,
|
||||
"elevation": 4,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
|
||||
"movement_range_x": 0,
|
||||
"movement_range_y": 0,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "3",
|
||||
"script": "Route119_EventScript_Hugh",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_MAN_5",
|
||||
"x": 8,
|
||||
"y": 63,
|
||||
"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": "5",
|
||||
"script": "Route119_EventScript_Phil",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_VAR_0",
|
||||
"x": 25,
|
||||
"y": 32,
|
||||
"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_119_RIVAL"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
|
||||
"x": 12,
|
||||
"y": 121,
|
||||
"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": "Route119_EventScript_ItemSuperRepel",
|
||||
"flag": "FLAG_ITEM_ROUTE_119_SUPER_REPEL"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
|
||||
"x": 4,
|
||||
"y": 96,
|
||||
"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": "Route119_EventScript_ItemZinc",
|
||||
"flag": "FLAG_ITEM_ROUTE_119_ZINC"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
|
||||
"x": 29,
|
||||
"y": 53,
|
||||
"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": "Route119_EventScript_ItemElixir",
|
||||
"flag": "FLAG_ITEM_ROUTE_119_ELIXIR_1"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
|
||||
"x": 25,
|
||||
"y": 76,
|
||||
"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": "Route119_EventScript_ItemLeafStone",
|
||||
"flag": "FLAG_ITEM_ROUTE_119_LEAF_STONE"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
|
||||
"x": 8,
|
||||
"y": 18,
|
||||
"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": "Route119_EventScript_ItemRareCandy",
|
||||
"flag": "FLAG_ITEM_ROUTE_119_RARE_CANDY"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
|
||||
"x": 33,
|
||||
"y": 117,
|
||||
"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": "Route119_EventScript_ItemHyperPotion",
|
||||
"flag": "FLAG_ITEM_ROUTE_119_HYPER_POTION_1"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_AQUA_MEMBER_M",
|
||||
"x": 13,
|
||||
"y": 33,
|
||||
"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": "Route119_EventScript_BridgeAquaGrunt1",
|
||||
"flag": "FLAG_HIDE_ROUTE_119_TEAM_AQUA"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_AQUA_MEMBER_M",
|
||||
"x": 13,
|
||||
"y": 34,
|
||||
"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": "Route119_EventScript_BridgeAquaGrunt2",
|
||||
"flag": "FLAG_HIDE_ROUTE_119_TEAM_AQUA"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_VAR_3",
|
||||
"x": 17,
|
||||
"y": 33,
|
||||
"elevation": 4,
|
||||
"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_119_RIVAL_ON_BIKE"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_BOY_3",
|
||||
"x": 31,
|
||||
"y": 109,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "Route119_EventScript_Boy1",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_BERRY_TREE",
|
||||
"x": 8,
|
||||
"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_119_HONDEW_1",
|
||||
"script": "BerryTreeScript",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_BERRY_TREE",
|
||||
"x": 9,
|
||||
"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_119_HONDEW_2",
|
||||
"script": "BerryTreeScript",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_BERRY_TREE",
|
||||
"x": 29,
|
||||
"y": 90,
|
||||
"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_119_SITRUS",
|
||||
"script": "BerryTreeScript",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_BERRY_TREE",
|
||||
"x": 30,
|
||||
"y": 90,
|
||||
"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_119_LEPPA",
|
||||
"script": "BerryTreeScript",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_CYCLING_TRIATHLETE_M",
|
||||
"x": 19,
|
||||
"y": 133,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_WANDER_LEFT_AND_RIGHT",
|
||||
"movement_range_x": 2,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "Route119_EventScript_CyclingTriathleteM",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
|
||||
"x": 3,
|
||||
"y": 56,
|
||||
"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": "Route119_EventScript_ItemHyperPotion2",
|
||||
"flag": "FLAG_ITEM_ROUTE_119_HYPER_POTION_2"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_BOY_2",
|
||||
"x": 35,
|
||||
"y": 93,
|
||||
"elevation": 4,
|
||||
"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": "Route119_EventScript_Boy2",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_NINJA_BOY",
|
||||
"x": 29,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_TREE_DISGUISE",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "3",
|
||||
"script": "Route119_EventScript_Hideo",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_KECLEON",
|
||||
"x": 31,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_INVISIBLE",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "Route119_EventScript_Kecleon1",
|
||||
"flag": "FLAG_HIDE_ROUTE_119_KECLEON_1"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_KECLEON",
|
||||
"x": 25,
|
||||
"y": 15,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_INVISIBLE",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NONE",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "Route119_EventScript_Kecleon2",
|
||||
"flag": "FLAG_HIDE_ROUTE_119_KECLEON_2"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_FISHERMAN",
|
||||
"x": 13,
|
||||
"y": 104,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "0",
|
||||
"script": "Route119_EventScript_Chris",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_WOMAN_2",
|
||||
"x": 8,
|
||||
"y": 68,
|
||||
"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": "5",
|
||||
"script": "Route119_EventScript_Rachel",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_MAN_5",
|
||||
"x": 16,
|
||||
"y": 52,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_RIGHT",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "3",
|
||||
"script": "Route119_EventScript_Dayton",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_MAN_5",
|
||||
"x": 32,
|
||||
"y": 15,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_LEFT",
|
||||
"movement_range_x": 1,
|
||||
"movement_range_y": 1,
|
||||
"trainer_type": "TRAINER_TYPE_NORMAL",
|
||||
"trainer_sight_or_berry_tree_id": "4",
|
||||
"script": "Route119_EventScript_Fabian",
|
||||
"flag": "0"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
|
||||
"x": 19,
|
||||
"y": 5,
|
||||
"elevation": 4,
|
||||
"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": "Route119_EventScript_ItemNugget",
|
||||
"flag": "FLAG_ITEM_ROUTE_119_NUGGET"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_ITEM_BALL",
|
||||
"x": 24,
|
||||
"y": 42,
|
||||
"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": "Route119_EventScript_ItemElixir2",
|
||||
"flag": "FLAG_ITEM_ROUTE_119_ELIXIR_2"
|
||||
},
|
||||
{
|
||||
"graphics_id": "OBJ_EVENT_GFX_SCOTT",
|
||||
"x": 28,
|
||||
"y": 25,
|
||||
"elevation": 3,
|
||||
"movement_type": "MOVEMENT_TYPE_FACE_DOWN",
|
||||
"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_119_SCOTT"
|
||||
}
|
||||
],
|
||||
"warp_events": [
|
||||
{
|
||||
"x": 6,
|
||||
"y": 32,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_ROUTE119_WEATHER_INSTITUTE_1F",
|
||||
"dest_warp_id": 0
|
||||
},
|
||||
{
|
||||
"x": 33,
|
||||
"y": 109,
|
||||
"elevation": 0,
|
||||
"dest_map": "MAP_ROUTE119_HOUSE",
|
||||
"dest_warp_id": 0
|
||||
}
|
||||
],
|
||||
"coord_events": [
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 25,
|
||||
"y": 31,
|
||||
"elevation": 0,
|
||||
"var": "VAR_ROUTE119_STATE",
|
||||
"var_value": "0",
|
||||
"script": "Route119_EventScript_RivalTrigger1"
|
||||
},
|
||||
{
|
||||
"type": "trigger",
|
||||
"x": 26,
|
||||
"y": 31,
|
||||
"elevation": 0,
|
||||
"var": "VAR_ROUTE119_STATE",
|
||||
"var_value": "0",
|
||||
"script": "Route119_EventScript_RivalTrigger2"
|
||||
},
|
||||
{
|
||||
"type": "weather",
|
||||
"x": 29,
|
||||
"y": 13,
|
||||
"elevation": 3,
|
||||
"weather": "COORD_EVENT_WEATHER_ROUTE119_CYCLE"
|
||||
},
|
||||
{
|
||||
"type": "weather",
|
||||
"x": 30,
|
||||
"y": 13,
|
||||
"elevation": 3,
|
||||
"weather": "COORD_EVENT_WEATHER_ROUTE119_CYCLE"
|
||||
},
|
||||
{
|
||||
"type": "weather",
|
||||
"x": 31,
|
||||
"y": 13,
|
||||
"elevation": 3,
|
||||
"weather": "COORD_EVENT_WEATHER_ROUTE119_CYCLE"
|
||||
},
|
||||
{
|
||||
"type": "weather",
|
||||
"x": 32,
|
||||
"y": 13,
|
||||
"elevation": 3,
|
||||
"weather": "COORD_EVENT_WEATHER_ROUTE119_CYCLE"
|
||||
},
|
||||
{
|
||||
"type": "weather",
|
||||
"x": 15,
|
||||
"y": 133,
|
||||
"elevation": 3,
|
||||
"weather": "COORD_EVENT_WEATHER_ROUTE119_CYCLE"
|
||||
},
|
||||
{
|
||||
"type": "weather",
|
||||
"x": 16,
|
||||
"y": 132,
|
||||
"elevation": 3,
|
||||
"weather": "COORD_EVENT_WEATHER_ROUTE119_CYCLE"
|
||||
},
|
||||
{
|
||||
"type": "weather",
|
||||
"x": 17,
|
||||
"y": 131,
|
||||
"elevation": 3,
|
||||
"weather": "COORD_EVENT_WEATHER_ROUTE119_CYCLE"
|
||||
},
|
||||
{
|
||||
"type": "weather",
|
||||
"x": 18,
|
||||
"y": 130,
|
||||
"elevation": 3,
|
||||
"weather": "COORD_EVENT_WEATHER_ROUTE119_CYCLE"
|
||||
},
|
||||
{
|
||||
"type": "weather",
|
||||
"x": 19,
|
||||
"y": 131,
|
||||
"elevation": 3,
|
||||
"weather": "COORD_EVENT_WEATHER_ROUTE119_CYCLE"
|
||||
},
|
||||
{
|
||||
"type": "weather",
|
||||
"x": 20,
|
||||
"y": 132,
|
||||
"elevation": 3,
|
||||
"weather": "COORD_EVENT_WEATHER_ROUTE119_CYCLE"
|
||||
},
|
||||
{
|
||||
"type": "weather",
|
||||
"x": 21,
|
||||
"y": 133,
|
||||
"elevation": 3,
|
||||
"weather": "COORD_EVENT_WEATHER_ROUTE119_CYCLE"
|
||||
},
|
||||
{
|
||||
"type": "weather",
|
||||
"x": 36,
|
||||
"y": 6,
|
||||
"elevation": 3,
|
||||
"weather": "COORD_EVENT_WEATHER_SUNNY"
|
||||
},
|
||||
{
|
||||
"type": "weather",
|
||||
"x": 36,
|
||||
"y": 7,
|
||||
"elevation": 3,
|
||||
"weather": "COORD_EVENT_WEATHER_SUNNY"
|
||||
},
|
||||
{
|
||||
"type": "weather",
|
||||
"x": 35,
|
||||
"y": 8,
|
||||
"elevation": 3,
|
||||
"weather": "COORD_EVENT_WEATHER_SUNNY"
|
||||
},
|
||||
{
|
||||
"type": "weather",
|
||||
"x": 35,
|
||||
"y": 9,
|
||||
"elevation": 3,
|
||||
"weather": "COORD_EVENT_WEATHER_SUNNY"
|
||||
},
|
||||
{
|
||||
"type": "weather",
|
||||
"x": 16,
|
||||
"y": 137,
|
||||
"elevation": 3,
|
||||
"weather": "COORD_EVENT_WEATHER_SUNNY"
|
||||
},
|
||||
{
|
||||
"type": "weather",
|
||||
"x": 17,
|
||||
"y": 137,
|
||||
"elevation": 3,
|
||||
"weather": "COORD_EVENT_WEATHER_SUNNY"
|
||||
},
|
||||
{
|
||||
"type": "weather",
|
||||
"x": 18,
|
||||
"y": 137,
|
||||
"elevation": 3,
|
||||
"weather": "COORD_EVENT_WEATHER_SUNNY"
|
||||
},
|
||||
{
|
||||
"type": "weather",
|
||||
"x": 19,
|
||||
"y": 137,
|
||||
"elevation": 3,
|
||||
"weather": "COORD_EVENT_WEATHER_SUNNY"
|
||||
},
|
||||
{
|
||||
"type": "weather",
|
||||
"x": 20,
|
||||
"y": 137,
|
||||
"elevation": 3,
|
||||
"weather": "COORD_EVENT_WEATHER_SUNNY"
|
||||
},
|
||||
{
|
||||
"type": "weather",
|
||||
"x": 34,
|
||||
"y": 13,
|
||||
"elevation": 3,
|
||||
"weather": "COORD_EVENT_WEATHER_ROUTE119_CYCLE"
|
||||
}
|
||||
],
|
||||
"bg_events": [
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 9,
|
||||
"y": 33,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "Route119_EventScript_WeatherInstituteSign"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 27,
|
||||
"y": 19,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "Route119_EventScript_RouteSignFortree"
|
||||
},
|
||||
{
|
||||
"type": "secret_base",
|
||||
"x": 5,
|
||||
"y": 2,
|
||||
"elevation": 0,
|
||||
"secret_base_id": "SECRET_BASE_SHRUB1_1"
|
||||
},
|
||||
{
|
||||
"type": "secret_base",
|
||||
"x": 4,
|
||||
"y": 89,
|
||||
"elevation": 0,
|
||||
"secret_base_id": "SECRET_BASE_SHRUB1_2"
|
||||
},
|
||||
{
|
||||
"type": "secret_base",
|
||||
"x": 5,
|
||||
"y": 15,
|
||||
"elevation": 0,
|
||||
"secret_base_id": "SECRET_BASE_SHRUB2_1"
|
||||
},
|
||||
{
|
||||
"type": "secret_base",
|
||||
"x": 7,
|
||||
"y": 101,
|
||||
"elevation": 3,
|
||||
"secret_base_id": "SECRET_BASE_SHRUB2_2"
|
||||
},
|
||||
{
|
||||
"type": "secret_base",
|
||||
"x": 34,
|
||||
"y": 24,
|
||||
"elevation": 3,
|
||||
"secret_base_id": "SECRET_BASE_SHRUB3_1"
|
||||
},
|
||||
{
|
||||
"type": "secret_base",
|
||||
"x": 31,
|
||||
"y": 73,
|
||||
"elevation": 3,
|
||||
"secret_base_id": "SECRET_BASE_SHRUB4_1"
|
||||
},
|
||||
{
|
||||
"type": "secret_base",
|
||||
"x": 16,
|
||||
"y": 81,
|
||||
"elevation": 0,
|
||||
"secret_base_id": "SECRET_BASE_BLUE_CAVE3_3"
|
||||
},
|
||||
{
|
||||
"type": "secret_base",
|
||||
"x": 16,
|
||||
"y": 28,
|
||||
"elevation": 0,
|
||||
"secret_base_id": "SECRET_BASE_BLUE_CAVE4_3"
|
||||
},
|
||||
{
|
||||
"type": "hidden_item",
|
||||
"x": 17,
|
||||
"y": 82,
|
||||
"elevation": 3,
|
||||
"item": "ITEM_CALCIUM",
|
||||
"flag": "FLAG_HIDDEN_ITEM_ROUTE_119_CALCIUM"
|
||||
},
|
||||
{
|
||||
"type": "hidden_item",
|
||||
"x": 38,
|
||||
"y": 63,
|
||||
"elevation": 3,
|
||||
"item": "ITEM_ULTRA_BALL",
|
||||
"flag": "FLAG_HIDDEN_ITEM_ROUTE_119_ULTRA_BALL"
|
||||
},
|
||||
{
|
||||
"type": "secret_base",
|
||||
"x": 26,
|
||||
"y": 81,
|
||||
"elevation": 0,
|
||||
"secret_base_id": "SECRET_BASE_RED_CAVE3_3"
|
||||
},
|
||||
{
|
||||
"type": "secret_base",
|
||||
"x": 19,
|
||||
"y": 76,
|
||||
"elevation": 0,
|
||||
"secret_base_id": "SECRET_BASE_TREE2_3"
|
||||
},
|
||||
{
|
||||
"type": "secret_base",
|
||||
"x": 18,
|
||||
"y": 76,
|
||||
"elevation": 0,
|
||||
"secret_base_id": "SECRET_BASE_TREE4_3"
|
||||
},
|
||||
{
|
||||
"type": "secret_base",
|
||||
"x": 4,
|
||||
"y": 15,
|
||||
"elevation": 0,
|
||||
"secret_base_id": "SECRET_BASE_SHRUB3_3"
|
||||
},
|
||||
{
|
||||
"type": "secret_base",
|
||||
"x": 6,
|
||||
"y": 2,
|
||||
"elevation": 0,
|
||||
"secret_base_id": "SECRET_BASE_SHRUB4_3"
|
||||
},
|
||||
{
|
||||
"type": "hidden_item",
|
||||
"x": 26,
|
||||
"y": 120,
|
||||
"elevation": 3,
|
||||
"item": "ITEM_FULL_HEAL",
|
||||
"flag": "FLAG_HIDDEN_ITEM_ROUTE_119_FULL_HEAL"
|
||||
},
|
||||
{
|
||||
"type": "hidden_item",
|
||||
"x": 20,
|
||||
"y": 29,
|
||||
"elevation": 3,
|
||||
"item": "ITEM_MAX_ETHER",
|
||||
"flag": "FLAG_HIDDEN_ITEM_ROUTE_119_MAX_ETHER"
|
||||
},
|
||||
{
|
||||
"type": "sign",
|
||||
"x": 28,
|
||||
"y": 9,
|
||||
"elevation": 0,
|
||||
"player_facing_dir": "BG_EVENT_PLAYER_FACING_ANY",
|
||||
"script": "Route119_EventScript_TrainerTipsDecoration"
|
||||
}
|
||||
]
|
||||
}
|
614
data/maps/Route119/scripts.inc
Normal file
614
data/maps/Route119/scripts.inc
Normal file
@ -0,0 +1,614 @@
|
||||
.set LOCALID_RIVAL, 16
|
||||
.set LOCALID_RIVAL_ON_BIKE, 25
|
||||
.set LOCALID_SCOTT, 43
|
||||
|
||||
Route119_MapScripts::
|
||||
map_script MAP_SCRIPT_ON_RESUME, Route119_OnResume
|
||||
map_script MAP_SCRIPT_ON_TRANSITION, Route119_OnTransition
|
||||
.byte 0
|
||||
|
||||
Route119_OnResume:
|
||||
call_if_set FLAG_SYS_CTRL_OBJ_DELETE, Route119_EventScript_TryRemoveKecleon
|
||||
end
|
||||
|
||||
Route119_EventScript_TryRemoveKecleon::
|
||||
specialvar VAR_RESULT, GetBattleOutcome
|
||||
goto_if_ne VAR_RESULT, B_OUTCOME_CAUGHT, Common_EventScript_NopReturn
|
||||
removeobject VAR_LAST_TALKED
|
||||
return
|
||||
|
||||
Route119_OnTransition:
|
||||
call Common_EventScript_SetupRivalGfxId
|
||||
call Common_EventScript_SetupRivalOnBikeGfxId
|
||||
call_if_eq VAR_WEATHER_INSTITUTE_STATE, 1, Route119_EventScript_MoveInstituteWorkersDownstairs
|
||||
special SetRoute119Weather
|
||||
end
|
||||
|
||||
Route119_EventScript_MoveInstituteWorkersDownstairs::
|
||||
setflag FLAG_HIDE_WEATHER_INSTITUTE_2F_WORKERS
|
||||
clearflag FLAG_HIDE_WEATHER_INSTITUTE_1F_WORKERS
|
||||
setvar VAR_WEATHER_INSTITUTE_STATE, 2
|
||||
return
|
||||
|
||||
Route119_EventScript_RivalTrigger1::
|
||||
setvar VAR_TEMP_1, 1
|
||||
goto Route119_EventScript_RivalEncounter
|
||||
end
|
||||
|
||||
Route119_EventScript_RivalTrigger2::
|
||||
setvar VAR_TEMP_1, 2
|
||||
goto Route119_EventScript_RivalEncounter
|
||||
end
|
||||
|
||||
Route119_EventScript_RivalEncounter::
|
||||
lockall
|
||||
addobject LOCALID_RIVAL_ON_BIKE
|
||||
checkplayergender
|
||||
call_if_eq VAR_RESULT, MALE, Route119_EventScript_PlayMayMusic
|
||||
call_if_eq VAR_RESULT, FEMALE, Route119_EventScript_PlayBrendanMusic
|
||||
delay 65
|
||||
call_if_eq VAR_TEMP_1, 1, Route119_EventScript_RivalEnter1
|
||||
call_if_eq VAR_TEMP_1, 2, Route119_EventScript_RivalEnter2
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Common_Movement_WalkInPlaceFasterDown
|
||||
waitmovement 0
|
||||
delay 30
|
||||
call_if_eq VAR_TEMP_1, 1, Route119_EventScript_SetRivalPos1
|
||||
call_if_eq VAR_TEMP_1, 2, Route119_EventScript_SetRivalPos2
|
||||
removeobject LOCALID_RIVAL_ON_BIKE
|
||||
addobject LOCALID_RIVAL
|
||||
delay 30
|
||||
checkplayergender
|
||||
goto_if_eq VAR_RESULT, MALE, Route119_EventScript_BattleMay
|
||||
goto_if_eq VAR_RESULT, FEMALE, Route119_EventScript_BattleBrendan
|
||||
releaseall
|
||||
end
|
||||
|
||||
Route119_EventScript_PlayMayMusic::
|
||||
playbgm MUS_ENCOUNTER_MAY, TRUE
|
||||
return
|
||||
|
||||
Route119_EventScript_PlayBrendanMusic::
|
||||
playbgm MUS_ENCOUNTER_BRENDAN, TRUE
|
||||
return
|
||||
|
||||
Route119_EventScript_BattleMay::
|
||||
msgbox Route119_Text_MayIntro, MSGBOX_DEFAULT
|
||||
switch VAR_STARTER_MON
|
||||
case 0, Route119_EventScript_BattleMayTreecko
|
||||
case 1, Route119_EventScript_BattleMayTorchic
|
||||
case 2, Route119_EventScript_BattleMayMudkip
|
||||
end
|
||||
|
||||
Route119_EventScript_BattleMayTreecko::
|
||||
trainerbattle_no_intro TRAINER_MAY_ROUTE_119_TREECKO, Route119_Text_MayDefeat
|
||||
goto Route119_EventScript_DefeatedMay
|
||||
end
|
||||
|
||||
Route119_EventScript_BattleMayTorchic::
|
||||
trainerbattle_no_intro TRAINER_MAY_ROUTE_119_TORCHIC, Route119_Text_MayDefeat
|
||||
goto Route119_EventScript_DefeatedMay
|
||||
end
|
||||
|
||||
Route119_EventScript_BattleMayMudkip::
|
||||
trainerbattle_no_intro TRAINER_MAY_ROUTE_119_MUDKIP, Route119_Text_MayDefeat
|
||||
goto Route119_EventScript_DefeatedMay
|
||||
end
|
||||
|
||||
Route119_EventScript_DefeatedMay::
|
||||
msgbox Route119_Text_MayPresentForYou, MSGBOX_DEFAULT
|
||||
call Route119_EventScript_GiveFlyHM
|
||||
msgbox Route119_Text_MayExplainFly, MSGBOX_DEFAULT
|
||||
goto Route119_EventScript_RivalExitScottArrive
|
||||
end
|
||||
|
||||
Route119_EventScript_BattleBrendan::
|
||||
msgbox Route119_Text_BrendanIntro, MSGBOX_DEFAULT
|
||||
switch VAR_STARTER_MON
|
||||
case 0, Route119_EventScript_BattleBrendanTreecko
|
||||
case 1, Route119_EventScript_BattleBrendanTorchic
|
||||
case 2, Route119_EventScript_BattleBrendanMudkip
|
||||
end
|
||||
|
||||
Route119_EventScript_BattleBrendanTreecko::
|
||||
trainerbattle_no_intro TRAINER_BRENDAN_ROUTE_119_TREECKO, Route119_Text_BrendanDefeat
|
||||
goto Route119_EventScript_DefeatedBrendan
|
||||
end
|
||||
|
||||
Route119_EventScript_BattleBrendanTorchic::
|
||||
trainerbattle_no_intro TRAINER_BRENDAN_ROUTE_119_TORCHIC, Route119_Text_BrendanDefeat
|
||||
goto Route119_EventScript_DefeatedBrendan
|
||||
end
|
||||
|
||||
Route119_EventScript_BattleBrendanMudkip::
|
||||
trainerbattle_no_intro TRAINER_BRENDAN_ROUTE_119_MUDKIP, Route119_Text_BrendanDefeat
|
||||
goto Route119_EventScript_DefeatedBrendan
|
||||
end
|
||||
|
||||
Route119_EventScript_DefeatedBrendan::
|
||||
msgbox Route119_Text_BrendanIllGiveYouThis, MSGBOX_DEFAULT
|
||||
call Route119_EventScript_GiveFlyHM
|
||||
msgbox Route119_Text_BrendanExplainFly, MSGBOX_DEFAULT
|
||||
goto Route119_EventScript_RivalExitScottArrive
|
||||
end
|
||||
|
||||
Route119_EventScript_GiveFlyHM::
|
||||
giveitem ITEM_HM02
|
||||
setflag FLAG_RECEIVED_HM02
|
||||
return
|
||||
|
||||
Route119_EventScript_RivalExitScottArrive::
|
||||
closemessage
|
||||
call_if_eq VAR_TEMP_1, 1, Route119_EventScript_SetRivalPos1
|
||||
call_if_eq VAR_TEMP_1, 2, Route119_EventScript_SetRivalPos2
|
||||
removeobject LOCALID_RIVAL
|
||||
addobject LOCALID_RIVAL_ON_BIKE
|
||||
delay 30
|
||||
call_if_eq VAR_TEMP_1, 1, Route119_EventScript_RivalExit1
|
||||
call_if_eq VAR_TEMP_1, 2, Route119_EventScript_RivalExit2
|
||||
removeobject LOCALID_RIVAL_ON_BIKE
|
||||
setvar VAR_ROUTE119_STATE, 1
|
||||
savebgm MUS_DUMMY
|
||||
fadedefaultbgm
|
||||
delay 60
|
||||
call_if_eq VAR_TEMP_1, 1, Route119_EventScript_SetScottPos1
|
||||
call_if_eq VAR_TEMP_1, 2, Route119_EventScript_SetScottPos2
|
||||
addobject LOCALID_SCOTT
|
||||
applymovement LOCALID_SCOTT, Route119_Movement_ScottEnter
|
||||
waitmovement 0
|
||||
addvar VAR_SCOTT_STATE, 1
|
||||
msgbox Route119_Text_ScottWayToGoBeSeeingYou, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
call_if_eq VAR_TEMP_1, 1, Route119_EventScript_ScottExit1
|
||||
call_if_eq VAR_TEMP_1, 2, Route119_EventScript_ScottExit2
|
||||
removeobject LOCALID_SCOTT
|
||||
releaseall
|
||||
end
|
||||
|
||||
Route119_EventScript_SetScottPos1::
|
||||
setobjectxyperm LOCALID_SCOTT, 27, 25
|
||||
return
|
||||
|
||||
Route119_EventScript_SetScottPos2::
|
||||
setobjectxyperm LOCALID_SCOTT, 28, 25
|
||||
return
|
||||
|
||||
Route119_EventScript_ScottExit1::
|
||||
applymovement LOCALID_SCOTT, Route119_Movement_ScottExit1
|
||||
waitmovement 0
|
||||
return
|
||||
|
||||
Route119_EventScript_ScottExit2::
|
||||
applymovement LOCALID_SCOTT, Route119_Movement_ScottExit2
|
||||
waitmovement 0
|
||||
return
|
||||
|
||||
Route119_EventScript_RivalEnter1::
|
||||
applymovement LOCALID_RIVAL_ON_BIKE, Route119_Movement_RivalEnter1
|
||||
waitmovement 0
|
||||
return
|
||||
|
||||
Route119_EventScript_RivalEnter2::
|
||||
applymovement LOCALID_RIVAL_ON_BIKE, Route119_Movement_RivalEnter2
|
||||
waitmovement 0
|
||||
return
|
||||
|
||||
Route119_EventScript_RivalExit1::
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Route119_Movement_PlayerWatchRivalExit1
|
||||
applymovement LOCALID_RIVAL_ON_BIKE, Route119_Movement_RivalExit1
|
||||
waitmovement 0
|
||||
return
|
||||
|
||||
Route119_EventScript_RivalExit2::
|
||||
applymovement OBJ_EVENT_ID_PLAYER, Route119_Movement_PlayerWatchRivalExit2
|
||||
applymovement LOCALID_RIVAL_ON_BIKE, Route119_Movement_RivalExit2
|
||||
waitmovement 0
|
||||
return
|
||||
|
||||
Route119_EventScript_SetRivalPos1::
|
||||
setobjectxyperm LOCALID_RIVAL, 25, 32
|
||||
setobjectxyperm LOCALID_RIVAL_ON_BIKE, 25, 32
|
||||
return
|
||||
|
||||
Route119_EventScript_SetRivalPos2::
|
||||
setobjectxyperm LOCALID_RIVAL, 26, 32
|
||||
setobjectxyperm LOCALID_RIVAL_ON_BIKE, 26, 32
|
||||
return
|
||||
|
||||
Route119_Movement_PlayerWatchRivalExit1:
|
||||
delay_16
|
||||
walk_in_place_faster_right
|
||||
delay_8
|
||||
walk_in_place_faster_up
|
||||
step_end
|
||||
|
||||
Route119_Movement_PlayerWatchRivalExit2:
|
||||
delay_16
|
||||
walk_in_place_faster_left
|
||||
delay_8
|
||||
walk_in_place_faster_up
|
||||
step_end
|
||||
|
||||
Route119_Movement_RivalEnter1:
|
||||
walk_fast_right
|
||||
walk_fast_right
|
||||
walk_fast_right
|
||||
walk_fast_right
|
||||
walk_fast_right
|
||||
walk_fast_right
|
||||
walk_fast_right
|
||||
walk_fast_right
|
||||
walk_fast_up
|
||||
step_end
|
||||
|
||||
Route119_Movement_RivalEnter2:
|
||||
walk_fast_right
|
||||
walk_fast_right
|
||||
walk_fast_right
|
||||
walk_fast_right
|
||||
walk_fast_right
|
||||
walk_fast_right
|
||||
walk_fast_right
|
||||
walk_fast_right
|
||||
walk_fast_right
|
||||
walk_fast_up
|
||||
step_end
|
||||
|
||||
Route119_Movement_RivalExit1:
|
||||
walk_fast_right
|
||||
walk_fast_up
|
||||
walk_fast_up
|
||||
walk_fast_up
|
||||
walk_fast_right
|
||||
walk_fast_up
|
||||
walk_fast_up
|
||||
walk_fast_up
|
||||
walk_fast_up
|
||||
step_end
|
||||
|
||||
Route119_Movement_RivalExit2:
|
||||
walk_fast_left
|
||||
walk_fast_up
|
||||
walk_fast_up
|
||||
walk_fast_up
|
||||
walk_fast_right
|
||||
walk_fast_right
|
||||
walk_fast_up
|
||||
walk_fast_up
|
||||
walk_fast_up
|
||||
walk_fast_up
|
||||
step_end
|
||||
|
||||
Route119_Movement_ScottEnter:
|
||||
walk_down
|
||||
walk_down
|
||||
walk_down
|
||||
walk_down
|
||||
walk_left
|
||||
walk_left
|
||||
walk_down
|
||||
step_end
|
||||
|
||||
Route119_Movement_ScottExit1:
|
||||
walk_up
|
||||
walk_right
|
||||
walk_right
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
Route119_Movement_ScottExit2:
|
||||
walk_up
|
||||
walk_right
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
walk_up
|
||||
step_end
|
||||
|
||||
Route119_EventScript_CyclingTriathleteM::
|
||||
msgbox Route119_Text_TallGrassSnaresBikeTires, MSGBOX_NPC
|
||||
end
|
||||
|
||||
Route119_EventScript_RouteSignFortree::
|
||||
msgbox Route119_Text_RouteSignFortree, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
Route119_EventScript_WeatherInstituteSign::
|
||||
msgbox Route119_Text_WeatherInstitute, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
Route119_EventScript_Brent::
|
||||
trainerbattle_single TRAINER_BRENT, Route119_Text_BrentIntro, Route119_Text_BrentDefeat
|
||||
msgbox Route119_Text_BrentPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route119_EventScript_Donald::
|
||||
trainerbattle_single TRAINER_DONALD, Route119_Text_DonaldIntro, Route119_Text_DonaldDefeat
|
||||
msgbox Route119_Text_DonaldPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route119_EventScript_Taylor::
|
||||
trainerbattle_single TRAINER_TAYLOR, Route119_Text_TaylorIntro, Route119_Text_TaylorDefeat
|
||||
msgbox Route119_Text_TaylorPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route119_EventScript_Doug::
|
||||
trainerbattle_single TRAINER_DOUG, Route119_Text_DougIntro, Route119_Text_DougDefeat
|
||||
msgbox Route119_Text_DougPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route119_EventScript_Greg::
|
||||
trainerbattle_single TRAINER_GREG, Route119_Text_GregIntro, Route119_Text_GregDefeat
|
||||
msgbox Route119_Text_GregPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route119_EventScript_Kent::
|
||||
trainerbattle_single TRAINER_KENT, Route119_Text_KentIntro, Route119_Text_KentDefeat
|
||||
msgbox Route119_Text_KentPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route119_EventScript_Jackson::
|
||||
trainerbattle_single TRAINER_JACKSON_1, Route119_Text_JacksonIntro, Route119_Text_JacksonDefeat, Route119_EventScript_RegisterJackson
|
||||
specialvar VAR_RESULT, ShouldTryRematchBattle
|
||||
goto_if_eq VAR_RESULT, TRUE, Route119_EventScript_RematchJackson
|
||||
msgbox Route119_Text_JacksonPostBattle, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
Route119_EventScript_RegisterJackson::
|
||||
special PlayerFaceTrainerAfterBattle
|
||||
waitmovement 0
|
||||
msgbox Route119_Text_JacksonRegister, MSGBOX_DEFAULT
|
||||
register_matchcall TRAINER_JACKSON_1
|
||||
release
|
||||
end
|
||||
|
||||
Route119_EventScript_RematchJackson::
|
||||
trainerbattle_rematch TRAINER_JACKSON_1, Route119_Text_JacksonRematchIntro, Route119_Text_JacksonRematchDefeat
|
||||
msgbox Route119_Text_JacksonPostRematch, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route119_EventScript_Catherine::
|
||||
trainerbattle_single TRAINER_CATHERINE_1, Route119_Text_CatherineIntro, Route119_Text_CatherineDefeat, Route119_EventScript_RegisterCatherine
|
||||
specialvar VAR_RESULT, ShouldTryRematchBattle
|
||||
goto_if_eq VAR_RESULT, TRUE, Route119_EventScript_RematchCatherine
|
||||
msgbox Route119_Text_CatherinePostBattle, MSGBOX_DEFAULT
|
||||
release
|
||||
end
|
||||
|
||||
Route119_EventScript_RegisterCatherine::
|
||||
special PlayerFaceTrainerAfterBattle
|
||||
waitmovement 0
|
||||
msgbox Route119_Text_CatherineRegister, MSGBOX_DEFAULT
|
||||
register_matchcall TRAINER_CATHERINE_1
|
||||
release
|
||||
end
|
||||
|
||||
Route119_EventScript_RematchCatherine::
|
||||
trainerbattle_rematch TRAINER_CATHERINE_1, Route119_Text_CatherineRematchIntro, Route119_Text_CatherineRematchDefeat
|
||||
msgbox Route119_Text_CatherinePostRematch, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route119_EventScript_Hugh::
|
||||
trainerbattle_single TRAINER_HUGH, Route119_Text_HughIntro, Route119_Text_HughDefeat
|
||||
msgbox Route119_Text_HughPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route119_EventScript_Phil::
|
||||
trainerbattle_single TRAINER_PHIL, Route119_Text_PhilIntro, Route119_Text_PhilDefeat
|
||||
msgbox Route119_Text_PhilPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route119_EventScript_Yasu::
|
||||
trainerbattle_single TRAINER_YASU, Route119_Text_YasuIntro, Route119_Text_YasuDefeat
|
||||
msgbox Route119_Text_YasuPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route119_EventScript_Takashi::
|
||||
trainerbattle_single TRAINER_TAKASHI, Route119_Text_TakashiIntro, Route119_Text_TakashiDefeat
|
||||
msgbox Route119_Text_TakashiPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route119_EventScript_Hideo::
|
||||
trainerbattle_single TRAINER_HIDEO, Route119_Text_HideoIntro, Route119_Text_HideoDefeat
|
||||
msgbox Route119_Text_HideoPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route119_EventScript_Chris::
|
||||
trainerbattle_single TRAINER_CHRIS, Route119_Text_ChrisIntro, Route119_Text_ChrisDefeat
|
||||
msgbox Route119_Text_ChrisPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route119_EventScript_Fabian::
|
||||
trainerbattle_single TRAINER_FABIAN, Route119_Text_FabianIntro, Route119_Text_FabianDefeat
|
||||
msgbox Route119_Text_FabianPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route119_EventScript_Dayton::
|
||||
trainerbattle_single TRAINER_DAYTON, Route119_Text_DaytonIntro, Route119_Text_DaytonDefeat
|
||||
msgbox Route119_Text_DaytonPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route119_EventScript_Rachel::
|
||||
trainerbattle_single TRAINER_RACHEL, Route119_Text_RachelIntro, Route119_Text_RachelDefeat
|
||||
msgbox Route119_Text_RachelPostBattle, MSGBOX_AUTOCLOSE
|
||||
end
|
||||
|
||||
Route119_EventScript_BridgeAquaGrunt1::
|
||||
lock
|
||||
faceplayer
|
||||
msgbox Route119_Text_StayAwayFromWeatherInstitute, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
applymovement VAR_LAST_TALKED, Common_Movement_FaceOriginalDirection
|
||||
waitmovement 0
|
||||
release
|
||||
end
|
||||
|
||||
Route119_EventScript_BridgeAquaGrunt2::
|
||||
lock
|
||||
faceplayer
|
||||
msgbox Route119_Text_DontGoNearWeatherInstitute, MSGBOX_DEFAULT
|
||||
closemessage
|
||||
applymovement VAR_LAST_TALKED, Common_Movement_FaceOriginalDirection
|
||||
waitmovement 0
|
||||
release
|
||||
end
|
||||
|
||||
Route119_EventScript_Boy1::
|
||||
msgbox Route119_Text_ThoughtFlyByCatchingBirdMons, MSGBOX_NPC
|
||||
end
|
||||
|
||||
Route119_EventScript_Boy2::
|
||||
msgbox Route119_Text_CanYourMonMakeSecretBase, MSGBOX_NPC
|
||||
end
|
||||
|
||||
Route119_EventScript_TrainerTipsDecoration::
|
||||
msgbox Route119_Text_TrainerTipsDecoration, MSGBOX_SIGN
|
||||
end
|
||||
|
||||
Route119_EventScript_ScottWonAtFortreeGymCall::
|
||||
lockall
|
||||
pokenavcall Route119_Text_ScottYouWonAtFortreeGym
|
||||
waitmessage
|
||||
clearflag FLAG_SCOTT_CALL_FORTREE_GYM
|
||||
addvar VAR_SCOTT_STATE, 1
|
||||
releaseall
|
||||
end
|
||||
|
||||
Route119_Text_MayIntro:
|
||||
.string "MAY: {PLAYER}{KUN}!\n"
|
||||
.string "Where were you? I was looking for you!\p"
|
||||
.string "How much stronger have you gotten?\n"
|
||||
.string "Let me check for you!\p"
|
||||
.string "Ready with your POKéMON?\n"
|
||||
.string "Of course you are! Go!$"
|
||||
|
||||
Route119_Text_MayDefeat:
|
||||
.string "Achah!\n"
|
||||
.string "{PLAYER}{KUN}, you're strong!\p"
|
||||
.string "I was worried that you might be\n"
|
||||
.string "struggling with your training.$"
|
||||
|
||||
Route119_Text_MayPresentForYou:
|
||||
.string "MAY: But I had absolutely nothing to\n"
|
||||
.string "worry about! Keep it up!\p"
|
||||
.string "And, here! I have a present for you.$"
|
||||
|
||||
Route119_Text_MayExplainFly:
|
||||
.string "MAY: Use FLY, and your POKéMON will\n"
|
||||
.string "instantly carry you to any town you've\l"
|
||||
.string "already visited.\p"
|
||||
.string "But, to use FLY, you have to get\n"
|
||||
.string "the GYM BADGE from FORTREE CITY.\l"
|
||||
.string "That's important, so don't forget.\p"
|
||||
.string "You should FLY home and visit\n"
|
||||
.string "LITTLEROOT for a change.\p"
|
||||
.string "I bet your mom's worried about you,\n"
|
||||
.string "{PLAYER}{KUN}.\p"
|
||||
.string "Well, let's meet again somewhere!$"
|
||||
|
||||
Route119_Text_BrendanIntro:
|
||||
.string "BRENDAN: {PLAYER}! So this is where\n"
|
||||
.string "you've been looking for POKéMON?\p"
|
||||
.string "Let me see how good you got.\n"
|
||||
.string "I'll test you!\p"
|
||||
.string "Now!\n"
|
||||
.string "It's a battle, so battle!$"
|
||||
|
||||
Route119_Text_BrendanDefeat:
|
||||
.string "Hmm…\n"
|
||||
.string "You've gotten pretty darn decent.$"
|
||||
|
||||
Route119_Text_BrendanIllGiveYouThis:
|
||||
.string "BRENDAN: I'd say you're good enough\n"
|
||||
.string "to search for POKéMON anywhere.\p"
|
||||
.string "Here, I'll give you this.\n"
|
||||
.string "Try it out.$"
|
||||
|
||||
Route119_Text_BrendanExplainFly:
|
||||
.string "BRENDAN: Use FLY, and your POKéMON\n"
|
||||
.string "instantly carries you to any town\l"
|
||||
.string "you've already visited.\p"
|
||||
.string "But you need the FORTREE GYM BADGE \n"
|
||||
.string "to do that.\p"
|
||||
.string "Anyway, I have to move along.$"
|
||||
|
||||
Route119_Text_ScottWayToGoBeSeeingYou:
|
||||
.string "SCOTT: Hahahah!\n"
|
||||
.string "Way to go, {PLAYER}{KUN}!\p"
|
||||
.string "I just passed by a TRAINER riding\n"
|
||||
.string "a BIKE.\p"
|
||||
.string "You just beat that TRAINER, didn't you?\n"
|
||||
.string "It was pretty obvious that you did.\p"
|
||||
.string "The kid looked really upset with\n"
|
||||
.string "a face all red from anger.\p"
|
||||
.string "I sure seem to run into you often.\n"
|
||||
.string "Are you off to FORTREE GYM next?\p"
|
||||
.string "I expect that you'll do well at the GYM.\n"
|
||||
.string "Well, I'll be seeing you!$"
|
||||
|
||||
|
||||
Route119_Text_ScottYouWonAtFortreeGym:
|
||||
.string "… … … … … …\n"
|
||||
.string "… … … … … Beep!\p"
|
||||
.string "SCOTT: Hiya, {PLAYER}{KUN}, it's me!\p"
|
||||
.string "Just as I thought, you won at\n"
|
||||
.string "the FORTREE GYM.\p"
|
||||
.string "Your strength…\n"
|
||||
.string "Perhaps you really are the TRAINER\l"
|
||||
.string "that I've been searching for.\p"
|
||||
.string "Remember, you have a fan in me.\n"
|
||||
.string "I'll be cheering from the sidelines.\l"
|
||||
.string "Keep up the great work!\p"
|
||||
.string "… … … … … …\n"
|
||||
.string "… … … … … Click!$"
|
||||
|
||||
Route119_Text_StayAwayFromWeatherInstitute:
|
||||
.string "We're standing lookout here.\p"
|
||||
.string "Hey, you! Stay away from the WEATHER\n"
|
||||
.string "INSTITUTE. It's not safe.$"
|
||||
|
||||
Route119_Text_DontGoNearWeatherInstitute:
|
||||
.string "Lookout duty is surprisingly boring.\p"
|
||||
.string "Hey, you! Please don't go near the\n"
|
||||
.string "WEATHER INSTITUTE.$"
|
||||
|
||||
Route119_Text_ThoughtFlyByCatchingBirdMons:
|
||||
.string "I thought you FLY by catching a whole\n"
|
||||
.string "flock of BIRD POKéMON, and then\l"
|
||||
.string "hanging on to them somehow.\p"
|
||||
.string "But it turns out there's an HM move\n"
|
||||
.string "called FLY!\p"
|
||||
.string "I wish I'd known about that a long\n"
|
||||
.string "time ago…$"
|
||||
|
||||
Route119_Text_TallGrassSnaresBikeTires:
|
||||
.string "Tch…\n"
|
||||
.string "It's a no-go…\p"
|
||||
.string "The tall grass snares BIKE tires.\n"
|
||||
.string "There's no way you can cycle here.$"
|
||||
|
||||
Route119_Text_CanYourMonMakeSecretBase:
|
||||
.string "Can your POKéMON use its SECRET POWER\n"
|
||||
.string "on a big pile of grass and make a\l"
|
||||
.string "SECRET BASE?$"
|
||||
|
||||
Route119_Text_RouteSignFortree:
|
||||
.string "ROUTE 119\n"
|
||||
.string "{RIGHT_ARROW} FORTREE CITY$"
|
||||
|
||||
Route119_Text_WeatherInstitute:
|
||||
.string "WEATHER INSTITUTE$"
|
||||
|
||||
Route119_Text_TrainerTipsDecoration:
|
||||
.string "TRAINER TIPS\p"
|
||||
.string "Up to sixteen decorations and\n"
|
||||
.string "furniture items can be placed in\l"
|
||||
.string "a SECRET BASE.\p"
|
||||
.string "Pick your favorite items and create\n"
|
||||
.string "your very own SECRET BASE exactly the\l"
|
||||
.string "way you want.$"
|
Reference in New Issue
Block a user