From 473c23a727fdec1656db43e421bf65474a23cd67 Mon Sep 17 00:00:00 2001 From: xCrystal Date: Tue, 25 Jul 2023 18:24:38 +0200 Subject: [PATCH] Remove unnecessary event and engine flags (#1) --- constants/engine_flags.asm | 64 +- constants/event_flags.asm | 1396 +-------------------------------- data/events/engine_flags.asm | 64 +- data/maps/landmarks.asm | 2 +- engine/events/std_scripts.asm | 180 ----- engine/overworld/time.asm | 12 - engine/pokegear/pokegear.asm | 20 +- engine/pokemon/breeding.asm | 9 - maps/Level1_Map1.asm | 8 +- ram/wram.asm | 6 - 10 files changed, 37 insertions(+), 1724 deletions(-) diff --git a/constants/engine_flags.asm b/constants/engine_flags.asm index 55697a72a..306354564 100644 --- a/constants/engine_flags.asm +++ b/constants/engine_flags.asm @@ -97,66 +97,14 @@ ; wCelebiEvent const ENGINE_FOREST_IS_RESTLESS ; wDailyRematchFlags - const ENGINE_JACK_READY_FOR_REMATCH - const ENGINE_HUEY_READY_FOR_REMATCH - const ENGINE_GAVEN_READY_FOR_REMATCH - const ENGINE_BETH_READY_FOR_REMATCH - const ENGINE_JOSE_READY_FOR_REMATCH - const ENGINE_REENA_READY_FOR_REMATCH - const ENGINE_JOEY_READY_FOR_REMATCH - const ENGINE_WADE_READY_FOR_REMATCH - const ENGINE_RALPH_READY_FOR_REMATCH - const ENGINE_LIZ_READY_FOR_REMATCH - const ENGINE_ANTHONY_READY_FOR_REMATCH - const ENGINE_TODD_READY_FOR_REMATCH - const ENGINE_GINA_READY_FOR_REMATCH - const ENGINE_ARNIE_READY_FOR_REMATCH - const ENGINE_ALAN_READY_FOR_REMATCH - const ENGINE_DANA_READY_FOR_REMATCH - const ENGINE_CHAD_READY_FOR_REMATCH - const ENGINE_TULLY_READY_FOR_REMATCH - const ENGINE_BRENT_READY_FOR_REMATCH - const ENGINE_TIFFANY_READY_FOR_REMATCH - const ENGINE_VANCE_READY_FOR_REMATCH - const ENGINE_WILTON_READY_FOR_REMATCH - const ENGINE_PARRY_READY_FOR_REMATCH - const ENGINE_ERIN_READY_FOR_REMATCH + ; const ENGINE_JACK_READY_FOR_REMATCH + ; const ENGINE_HUEY_READY_FOR_REMATCH ; wDailyPhoneItemFlags - const ENGINE_BEVERLY_HAS_NUGGET - const ENGINE_JOSE_HAS_STAR_PIECE - const ENGINE_WADE_HAS_ITEM - const ENGINE_GINA_HAS_LEAF_STONE - const ENGINE_ALAN_HAS_FIRE_STONE - const ENGINE_DANA_HAS_THUNDERSTONE - const ENGINE_DEREK_HAS_NUGGET - const ENGINE_TULLY_HAS_WATER_STONE - const ENGINE_TIFFANY_HAS_PINK_BOW - const ENGINE_WILTON_HAS_ITEM + ; const ENGINE_BEVERLY_HAS_NUGGET + ; const ENGINE_JOSE_HAS_STAR_PIECE ; wDailyPhoneTimeOfDayFlags - const ENGINE_JACK_MONDAY_MORNING - const ENGINE_HUEY_WEDNESDAY_NIGHT - const ENGINE_GAVEN_THURSDAY_MORNING - const ENGINE_BETH_FRIDAY_AFTERNOON - const ENGINE_JOSE_SATURDAY_NIGHT - const ENGINE_REENA_SUNDAY_MORNING - const ENGINE_JOEY_MONDAY_AFTERNOON - const ENGINE_WADE_TUESDAY_NIGHT - const ENGINE_RALPH_WEDNESDAY_MORNING - const ENGINE_LIZ_THURSDAY_AFTERNOON - const ENGINE_ANTHONY_FRIDAY_NIGHT - const ENGINE_TODD_SATURDAY_MORNING - const ENGINE_GINA_SUNDAY_AFTERNOON - const ENGINE_ARNIE_TUESDAY_MORNING - const ENGINE_ALAN_WEDNESDAY_AFTERNOON - const ENGINE_DANA_THURSDAY_NIGHT - const ENGINE_CHAD_FRIDAY_MORNING - const ENGINE_TULLY_SUNDAY_NIGHT - const ENGINE_BRENT_MONDAY_MORNING - const ENGINE_TIFFANY_TUESDAY_AFTERNOON - const ENGINE_VANCE_WEDNESDAY_NIGHT - const ENGINE_WILTON_THURSDAY_MORNING - const ENGINE_PARRY_FRIDAY_AFTERNOON - const ENGINE_ERIN_SATURDAY_NIGHT + ; const ENGINE_JACK_MONDAY_MORNING + ; const ENGINE_HUEY_WEDNESDAY_NIGHT ; wPlayerSpriteSetupFlags const ENGINE_KRIS_IN_CABLE_CLUB ; wSwarmFlags diff --git a/constants/event_flags.asm b/constants/event_flags.asm index 1a17badd9..5e8bdc429 100644 --- a/constants/event_flags.asm +++ b/constants/event_flags.asm @@ -10,346 +10,9 @@ const EVENT_TEMPORARY_UNTIL_MAP_RELOAD_6 const EVENT_TEMPORARY_UNTIL_MAP_RELOAD_7 const EVENT_TEMPORARY_UNTIL_MAP_RELOAD_8 -; Johto Gym Leader TM gifts - const EVENT_GOT_TM31_MUD_SLAP - const EVENT_GOT_TM49_FURY_CUTTER - const EVENT_GOT_TM01_DYNAMICPUNCH - const EVENT_GOT_TM45_ATTRACT - const EVENT_GOT_TM30_SHADOW_BALL - const EVENT_GOT_TM23_IRON_TAIL - const EVENT_GOT_TM16_ICY_WIND - const EVENT_GOT_TM24_DRAGONBREATH -; HMs (EVENT_GOT_HM07_WATERFALL is with the Johto itemballs) - const EVENT_GOT_HM01_CUT - const EVENT_GOT_HM02_FLY - const EVENT_GOT_HM03_SURF - const EVENT_GOT_HM04_STRENGTH - const EVENT_GOT_HM05_FLASH - const EVENT_GOT_HM06_WHIRLPOOL - const_skip ; unused -; Rods - const EVENT_GOT_OLD_ROD - const EVENT_GOT_GOOD_ROD - const EVENT_GOT_SUPER_ROD -; Johto story events - const EVENT_GOT_A_POKEMON_FROM_ELM - const EVENT_GOT_CYNDAQUIL_FROM_ELM - const EVENT_GOT_TOTODILE_FROM_ELM - const EVENT_GOT_CHIKORITA_FROM_ELM - const EVENT_GOT_MYSTERY_EGG_FROM_MR_POKEMON - const EVENT_GAVE_MYSTERY_EGG_TO_ELM - const EVENT_JASMINE_RETURNED_TO_GYM - const EVENT_CLEARED_RADIO_TOWER - const EVENT_CLEARED_ROCKET_HIDEOUT - const EVENT_GOT_SECRETPOTION_FROM_PHARMACY - const EVENT_GOT_SS_TICKET_FROM_ELM - const EVENT_USED_THE_CARD_KEY_IN_THE_RADIO_TOWER - const EVENT_REFUSED_TO_HELP_LANCE_AT_LAKE_OF_RAGE - const EVENT_GOT_BERRY_FROM_ROUTE_30_HOUSE - const EVENT_MADE_WHITNEY_CRY - const EVENT_HERDED_FARFETCHD - const EVENT_FOUGHT_SUDOWOODO - const EVENT_CLEARED_SLOWPOKE_WELL - const EVENT_REFUSED_TO_TAKE_EGG_FROM_ELMS_AIDE - const EVENT_GOT_TOGEPI_EGG_FROM_ELMS_AIDE - const EVENT_MADE_UNOWN_APPEAR_IN_RUINS - const EVENT_FAST_SHIP_DESTINATION_OLIVINE - const EVENT_FAST_SHIP_FIRST_TIME - const EVENT_FAST_SHIP_HAS_ARRIVED - const EVENT_FAST_SHIP_FOUND_GIRL - const EVENT_FAST_SHIP_LAZY_SAILOR - const EVENT_FAST_SHIP_INFORMED_ABOUT_LAZY_SAILOR - const EVENT_KURT_GAVE_YOU_LURE_BALL + const EVENT_INITIALIZED_EVENTS - const EVENT_JASMINE_EXPLAINED_AMPHYS_SICKNESS - const EVENT_LAKE_OF_RAGE_EXPLAINED_WEIRD_MAGIKARP - const EVENT_LAKE_OF_RAGE_ASKED_FOR_MAGIKARP - const EVENT_LAKE_OF_RAGE_ELIXIR_ON_STANDBY - const_skip ; unused - const_skip ; unused - const EVENT_HEALED_MOOMOO - const EVENT_GOT_TM13_SNORE_FROM_MOOMOO_FARM - const EVENT_TALKED_TO_FARMER_ABOUT_MOOMOO - const EVENT_TALKED_TO_MOM_AFTER_MYSTERY_EGG_QUEST - const EVENT_DUDE_TALKED_TO_YOU - const EVENT_LEARNED_TO_CATCH_POKEMON - const EVENT_ELM_CALLED_ABOUT_STOLEN_POKEMON - const EVENT_BEAT_ELITE_FOUR - const EVENT_GOT_SHUCKIE - const EVENT_MANIA_TOOK_SHUCKIE_OR_LET_YOU_KEEP_HIM - const EVENT_GOT_SUNNY_DAY_FROM_RADIO_TOWER - const EVENT_GOT_PINK_BOW_FROM_MARY - const EVENT_USED_BASEMENT_KEY - const EVENT_RECEIVED_CARD_KEY - const EVENT_GOT_TM08_ROCK_SMASH - const EVENT_LANCE_HEALED_YOU_IN_TEAM_ROCKET_BASE - const EVENT_GOT_MYSTIC_WATER_IN_CHERRYGROVE - const EVENT_GOT_TM05_ROAR - const EVENT_GOT_EEVEE - const EVENT_GOT_KENYA - const EVENT_GAVE_KENYA - const EVENT_GOT_HP_UP_FROM_RANDY - const EVENT_GOT_TM50_NIGHTMARE - const EVENT_TOGEPI_HATCHED - const EVENT_SHOWED_TOGEPI_TO_ELM - const EVENT_GOT_EVERSTONE_FROM_ELM - const EVENT_GOT_QUICK_CLAW - const EVENT_GOT_TM10_HIDDEN_POWER - const EVENT_GOT_TM36_SLUDGE_BOMB - const EVENT_GOT_ITEMFINDER - const EVENT_GOT_BICYCLE - const EVENT_GOT_SQUIRTBOTTLE - const EVENT_GOT_MIRACLE_SEED_IN_ROUTE_32 - const EVENT_GOT_CHARCOAL_IN_CHARCOAL_KILN - const EVENT_GOT_TM02_HEADBUTT - const EVENT_DECIDED_TO_HELP_LANCE - const EVENT_GOT_TYROGUE_FROM_KIYO - const EVENT_MET_FRIEDA_OF_FRIDAY - const EVENT_GOT_POISON_BARB_FROM_FRIEDA - const EVENT_MET_TUSCANY_OF_TUESDAY - const EVENT_GOT_PINK_BOW_FROM_TUSCANY - const EVENT_MET_ARTHUR_OF_THURSDAY - const EVENT_GOT_HARD_STONE_FROM_ARTHUR - const EVENT_MET_SUNNY_OF_SUNDAY - const EVENT_GOT_MAGNET_FROM_SUNNY - const EVENT_MET_WESLEY_OF_WEDNESDAY - const EVENT_GOT_BLACKBELT_FROM_WESLEY - const EVENT_MET_SANTOS_OF_SATURDAY - const EVENT_GOT_SPELL_TAG_FROM_SANTOS - const EVENT_MET_MONICA_OF_MONDAY - const EVENT_GOT_SHARP_BEAK_FROM_MONICA - const EVENT_GOT_SOFT_SAND_FROM_KATE - const EVENT_GOT_METAL_COAT_FROM_GRANDPA_ON_SS_AQUA - const EVENT_GOT_BLACKGLASSES_IN_DARK_CAVE - const EVENT_GOT_KINGS_ROCK_IN_SLOWPOKE_WELL - const EVENT_GOT_TM47_STEEL_WING - const EVENT_GOT_TM37_SANDSTORM - const EVENT_FIRST_TIME_BANKING_WITH_MOM - const EVENT_TOLD_ELM_ABOUT_TOGEPI_OVER_THE_PHONE - const EVENT_GOT_CLEAR_BELL - const EVENT_GOT_SILVER_WING - const EVENT_GOT_TM12_SWEET_SCENT - const EVENT_RELEASED_THE_BEASTS - const EVENT_GOT_MASTER_BALL_FROM_ELM -; Johto hidden items - const EVENT_TIN_TOWER_4F_HIDDEN_MAX_POTION - const EVENT_TIN_TOWER_5F_HIDDEN_FULL_RESTORE - const EVENT_TIN_TOWER_5F_HIDDEN_CARBOS - const EVENT_BURNED_TOWER_1F_HIDDEN_ETHER - const_skip ; unused in Crystal - const_skip ; unused in Crystal - const_skip ; unused in Crystal - const EVENT_NATIONAL_PARK_HIDDEN_FULL_HEAL - const EVENT_OLIVINE_LIGHTHOUSE_5F_HIDDEN_HYPER_POTION - const EVENT_TEAM_ROCKET_BASE_B1F_HIDDEN_REVIVE - const EVENT_TEAM_ROCKET_BASE_B2F_HIDDEN_FULL_HEAL - const EVENT_ILEX_FOREST_HIDDEN_ETHER - const EVENT_ILEX_FOREST_HIDDEN_SUPER_POTION - const EVENT_ILEX_FOREST_HIDDEN_FULL_HEAL - const EVENT_GOLDENROD_UNDERGROUND_HIDDEN_PARLYZ_HEAL - const EVENT_GOLDENROD_UNDERGROUND_HIDDEN_SUPER_POTION - const EVENT_GOLDENROD_UNDERGROUND_HIDDEN_ANTIDOTE - const EVENT_GOLDENROD_UNDERGROUND_SWITCH_ROOM_ENTRANCES_HIDDEN_MAX_POTION - const EVENT_GOLDENROD_UNDERGROUND_SWITCH_ROOM_ENTRANCES_HIDDEN_REVIVE - const EVENT_MOUNT_MORTAR_1F_OUTSIDE_HIDDEN_HYPER_POTION - const EVENT_MOUNT_MORTAR_1F_INSIDE_HIDDEN_MAX_REPEL - const EVENT_MOUNT_MORTAR_2F_INSIDE_HIDDEN_FULL_RESTORE - const EVENT_MOUNT_MORTAR_B1F_HIDDEN_MAX_REVIVE - const EVENT_ICE_PATH_B1F_HIDDEN_MAX_POTION - const EVENT_ICE_PATH_B2F_MAHOGANY_SIDE_HIDDEN_CARBOS - const EVENT_ICE_PATH_B2F_BLACKTHORN_SIDE_HIDDEN_ICE_HEAL - const EVENT_WHIRL_ISLAND_B1F_HIDDEN_RARE_CANDY - const EVENT_WHIRL_ISLAND_B1F_HIDDEN_ULTRA_BALL - const EVENT_WHIRL_ISLAND_B1F_HIDDEN_FULL_RESTORE - const EVENT_SILVER_CAVE_ROOM_1_HIDDEN_DIRE_HIT - const EVENT_SILVER_CAVE_ROOM_1_HIDDEN_ULTRA_BALL - const EVENT_SILVER_CAVE_ROOM_2_HIDDEN_MAX_POTION - const EVENT_DARK_CAVE_VIOLET_ENTRANCE_HIDDEN_ELIXER - const EVENT_VICTORY_ROAD_HIDDEN_MAX_POTION - const EVENT_VICTORY_ROAD_HIDDEN_FULL_HEAL - const EVENT_DRAGONS_DEN_B1F_HIDDEN_REVIVE - const EVENT_DRAGONS_DEN_B1F_HIDDEN_MAX_POTION - const EVENT_DRAGONS_DEN_B1F_HIDDEN_MAX_ELIXER - const EVENT_ROUTE_28_HIDDEN_RARE_CANDY - const EVENT_ROUTE_30_HIDDEN_POTION - const EVENT_ROUTE_32_HIDDEN_GREAT_BALL - const EVENT_ROUTE_32_HIDDEN_SUPER_POTION - const EVENT_ROUTE_34_HIDDEN_RARE_CANDY - const EVENT_ROUTE_34_HIDDEN_SUPER_POTION - const EVENT_ROUTE_37_HIDDEN_ETHER - const EVENT_ROUTE_39_HIDDEN_NUGGET - const EVENT_ROUTE_40_HIDDEN_HYPER_POTION - const EVENT_ROUTE_41_HIDDEN_MAX_ETHER - const EVENT_ROUTE_42_HIDDEN_MAX_POTION - const EVENT_ROUTE_44_HIDDEN_ELIXER - const EVENT_ROUTE_45_HIDDEN_PP_UP - const EVENT_VIOLET_CITY_HIDDEN_HYPER_POTION - const EVENT_AZALEA_TOWN_HIDDEN_FULL_HEAL - const EVENT_CIANWOOD_CITY_HIDDEN_REVIVE - const EVENT_CIANWOOD_CITY_HIDDEN_MAX_ETHER - const EVENT_ECRUTEAK_CITY_HIDDEN_HYPER_POTION - const EVENT_LAKE_OF_RAGE_HIDDEN_FULL_RESTORE - const EVENT_LAKE_OF_RAGE_HIDDEN_RARE_CANDY - const EVENT_LAKE_OF_RAGE_HIDDEN_MAX_POTION - const EVENT_SILVER_CAVE_OUTSIDE_HIDDEN_FULL_RESTORE -; Crystal-exclusive events in Johto - const EVENT_MET_FLORIA - const EVENT_TALKED_TO_FLORIA_AT_FLOWER_SHOP - const EVENT_BUGGING_KURT_TOO_MUCH - const EVENT_TALKED_TO_RUINS_COWARD - const EVENT_GOT_DRATINI - const EVENT_CAN_GIVE_GS_BALL_TO_KURT - const EVENT_GAVE_GS_BALL_TO_KURT - const EVENT_FOREST_IS_RESTLESS - const EVENT_ANSWERED_DRAGON_MASTER_QUIZ_WRONG -; Unused: next 6 events - const_next 200 -; Kanto story events - const EVENT_GOT_NUGGET_FROM_GUY - const EVENT_RETURNED_MACHINE_PART - const EVENT_MET_MANAGER_AT_POWER_PLANT - const EVENT_MET_ROCKET_GRUNT_AT_CERULEAN_GYM - const EVENT_MET_REDS_MOM - const EVENT_RESTORED_POWER_TO_KANTO - const EVENT_GOT_COINS_FROM_GAMBLER_AT_CELADON - const EVENT_MET_COPYCAT_FOUND_OUT_ABOUT_LOST_ITEM - const EVENT_RETURNED_LOST_ITEM_TO_COPYCAT - const EVENT_GOT_PASS_FROM_COPYCAT - const EVENT_GOT_LOST_ITEM_FROM_FAN_CLUB - const EVENT_LISTENED_TO_FAN_CLUB_PRESIDENT_BUT_BAG_WAS_FULL - const EVENT_LISTENED_TO_FAN_CLUB_PRESIDENT - const EVENT_TALKED_TO_SEAFOAM_GYM_GUIDE_ONCE - const EVENT_ENABLE_DIPLOMA_PRINTING - const EVENT_CINNABAR_ROCKS_CLEARED - const EVENT_CLEARED_NUGGET_BRIDGE - const EVENT_TALKED_TO_WARDENS_GRANDDAUGHTER - const EVENT_GOT_TM03_CURSE - const EVENT_GOT_CLEANSE_TAG - const EVENT_GOT_TM19_GIGA_DRAIN - const EVENT_GOT_TM06_TOXIC - const EVENT_GOT_UP_GRADE - const EVENT_GOT_TM07_ZAP_CANNON - const EVENT_GOT_TM42_DREAM_EATER - const EVENT_TALKED_TO_OAK_IN_KANTO - const EVENT_GOT_HP_UP_FROM_VERMILION_GUY - const EVENT_GOT_TM29_PSYCHIC -; Kanto hidden items - const EVENT_DIGLETTS_CAVE_HIDDEN_MAX_REVIVE - const EVENT_UNDERGROUND_PATH_HIDDEN_FULL_RESTORE - const EVENT_UNDERGROUND_PATH_HIDDEN_X_SPECIAL - const EVENT_ROCK_TUNNEL_1F_HIDDEN_X_ACCURACY - const EVENT_ROCK_TUNNEL_1F_HIDDEN_X_DEFEND - const EVENT_ROCK_TUNNEL_B1F_HIDDEN_MAX_POTION - const EVENT_OLIVINE_PORT_HIDDEN_PROTEIN - const EVENT_VERMILION_PORT_HIDDEN_IRON - const EVENT_MOUNT_MOON_SQUARE_HIDDEN_MOON_STONE - const EVENT_ROUTE_2_HIDDEN_MAX_ETHER - const EVENT_ROUTE_2_HIDDEN_FULL_HEAL - const EVENT_ROUTE_2_HIDDEN_FULL_RESTORE - const EVENT_ROUTE_2_HIDDEN_REVIVE - const EVENT_ROUTE_4_HIDDEN_ULTRA_BALL - const EVENT_ROUTE_9_HIDDEN_ETHER - const EVENT_ROUTE_12_HIDDEN_ELIXER - const EVENT_ROUTE_13_HIDDEN_CALCIUM - const EVENT_ROUTE_11_HIDDEN_REVIVE - const EVENT_ROUTE_17_HIDDEN_MAX_ETHER - const EVENT_ROUTE_17_HIDDEN_MAX_ELIXER - const EVENT_ROUTE_25_HIDDEN_POTION - const EVENT_FOUND_LEFTOVERS_IN_CELADON_CAFE - const EVENT_FOUND_BERSERK_GENE_IN_CERULEAN_CITY - const EVENT_FOUND_MACHINE_PART_IN_CERULEAN_GYM - const EVENT_VERMILION_CITY_HIDDEN_FULL_HEAL - const EVENT_CELADON_CITY_HIDDEN_PP_UP - const EVENT_CINNABAR_ISLAND_HIDDEN_RARE_CANDY - const EVENT_BURNED_TOWER_1F_HIDDEN_ULTRA_BALL - const EVENT_GINA_GAVE_LEAF_STONE - const EVENT_ALAN_GAVE_FIRE_STONE - const EVENT_DANA_GAVE_THUNDERSTONE - const EVENT_TULLY_GAVE_WATER_STONE - const EVENT_TIFFANY_GAVE_PINK_BOW -; Unused: next 339 events - - const_next 600 -; Kurt Apricorn events - const EVENT_GAVE_KURT_RED_APRICORN - const EVENT_GAVE_KURT_BLU_APRICORN - const EVENT_GAVE_KURT_YLW_APRICORN - const EVENT_GAVE_KURT_GRN_APRICORN - const EVENT_GAVE_KURT_WHT_APRICORN - const EVENT_GAVE_KURT_BLK_APRICORN - const EVENT_GAVE_KURT_PNK_APRICORN -; Phone events - const EVENT_JACK_ASKED_FOR_PHONE_NUMBER - const_skip ; unused in Crystal - const EVENT_BEVERLY_ASKED_FOR_PHONE_NUMBER - const_skip ; unused in Crystal - const EVENT_HUEY_ASKED_FOR_PHONE_NUMBER - const_skip ; unused in Crystal - const EVENT_GOT_PROTEIN_FROM_HUEY - const EVENT_GOT_HP_UP_FROM_JOEY - const EVENT_GOT_CARBOS_FROM_VANCE - const EVENT_GOT_IRON_FROM_PARRY - const EVENT_GOT_CALCIUM_FROM_ERIN - const EVENT_KENJI_ON_BREAK - const EVENT_GAVEN_ASKED_FOR_PHONE_NUMBER - const_skip ; unused in Crystal - const EVENT_BETH_ASKED_FOR_PHONE_NUMBER - const_skip ; unused in Crystal - const EVENT_JOSE_ASKED_FOR_PHONE_NUMBER - const_skip ; unused in Crystal - const EVENT_REENA_ASKED_FOR_PHONE_NUMBER - const_skip ; unused in Crystal - const EVENT_JOEY_ASKED_FOR_PHONE_NUMBER - const_skip ; unused in Crystal - const EVENT_WADE_ASKED_FOR_PHONE_NUMBER - const_skip ; unused in Crystal - const EVENT_RALPH_ASKED_FOR_PHONE_NUMBER - const_skip ; unused in Crystal - const EVENT_LIZ_ASKED_FOR_PHONE_NUMBER - const_skip ; unused in Crystal - const EVENT_ANTHONY_ASKED_FOR_PHONE_NUMBER - const_skip ; unused in Crystal - const EVENT_TODD_ASKED_FOR_PHONE_NUMBER - const_skip ; unused in Crystal - const EVENT_GINA_ASKED_FOR_PHONE_NUMBER - const_skip ; unused in Crystal - const EVENT_IRWIN_ASKED_FOR_PHONE_NUMBER - const_skip ; unused in Crystal - const EVENT_ARNIE_ASKED_FOR_PHONE_NUMBER - const_skip ; unused in Crystal - const EVENT_ALAN_ASKED_FOR_PHONE_NUMBER - const_skip ; unused in Crystal - const_skip ; unused - const_skip ; unused - const EVENT_DANA_ASKED_FOR_PHONE_NUMBER - const_skip ; unused in Crystal - const EVENT_CHAD_ASKED_FOR_PHONE_NUMBER - const_skip ; unused in Crystal - const EVENT_DEREK_ASKED_FOR_PHONE_NUMBER - const_skip ; unused in Crystal - const EVENT_TULLY_ASKED_FOR_PHONE_NUMBER - const_skip ; unused in Crystal - const EVENT_BRENT_ASKED_FOR_PHONE_NUMBER - const_skip ; unused - const EVENT_TIFFANY_ASKED_FOR_PHONE_NUMBER - const_skip ; unused in Crystal - const EVENT_VANCE_ASKED_FOR_PHONE_NUMBER - const_skip ; unused in Crystal - const EVENT_WILTON_ASKED_FOR_PHONE_NUMBER - const_skip ; unused in Crystal - const EVENT_KENJI_ASKED_FOR_PHONE_NUMBER - const_skip ; unused in Crystal - const EVENT_PARRY_ASKED_FOR_PHONE_NUMBER - const_skip ; unused in Crystal - const EVENT_ERIN_ASKED_FOR_PHONE_NUMBER - const EVENT_BUENA_OFFERED_HER_PHONE_NUMBER_NO_BLUE_CARD - const_skip ; unused -; Ruins of Alph puzzles - const EVENT_SOLVED_HO_OH_PUZZLE - const EVENT_SOLVED_KABUTO_PUZZLE - const EVENT_SOLVED_OMANYTE_PUZZLE - const EVENT_SOLVED_AERODACTYL_PUZZLE ; Decorations const EVENT_DECO_BED_1 const EVENT_DECO_BED_2 @@ -397,874 +60,12 @@ const EVENT_DECO_BIG_SNORLAX_DOLL const EVENT_DECO_BIG_ONIX_DOLL const EVENT_DECO_BIG_LAPRAS_DOLL -; More Johto story events - const EVENT_WARPED_FROM_ROUTE_35_NATIONAL_PARK_GATE - const EVENT_SWITCH_1 - const EVENT_SWITCH_2 - const EVENT_SWITCH_3 - const EVENT_EMERGENCY_SWITCH - const EVENT_SWITCH_4 - const EVENT_SWITCH_5 - const EVENT_SWITCH_6 - const EVENT_SWITCH_7 - const EVENT_SWITCH_8 - const EVENT_SWITCH_9 - const EVENT_SWITCH_10 - const EVENT_SWITCH_11 - const EVENT_SWITCH_12 - const EVENT_SWITCH_13 - const EVENT_SWITCH_14 - const EVENT_UNCOVERED_STAIRCASE_IN_MAHOGANY_MART - const EVENT_TURNED_OFF_SECURITY_CAMERAS - const EVENT_SECURITY_CAMERA_1 - const EVENT_SECURITY_CAMERA_2 - const EVENT_SECURITY_CAMERA_3 - const EVENT_SECURITY_CAMERA_4 - const EVENT_SECURITY_CAMERA_5 - const EVENT_EXPLODING_TRAP_1 - const EVENT_EXPLODING_TRAP_2 - const EVENT_EXPLODING_TRAP_3 - const EVENT_EXPLODING_TRAP_4 - const EVENT_EXPLODING_TRAP_5 - const EVENT_EXPLODING_TRAP_6 - const EVENT_EXPLODING_TRAP_7 - const EVENT_EXPLODING_TRAP_8 - const EVENT_EXPLODING_TRAP_9 - const EVENT_EXPLODING_TRAP_10 - const EVENT_EXPLODING_TRAP_11 - const EVENT_EXPLODING_TRAP_12 - const EVENT_EXPLODING_TRAP_13 - const EVENT_EXPLODING_TRAP_14 - const EVENT_EXPLODING_TRAP_15 - const EVENT_EXPLODING_TRAP_16 - const EVENT_EXPLODING_TRAP_17 - const EVENT_EXPLODING_TRAP_18 - const EVENT_EXPLODING_TRAP_19 - const EVENT_EXPLODING_TRAP_20 - const EVENT_EXPLODING_TRAP_21 - const EVENT_EXPLODING_TRAP_22 - const EVENT_LEARNED_HAIL_GIOVANNI - const EVENT_OPENED_DOOR_TO_ROCKET_HIDEOUT_TRANSMITTER - const EVENT_LEARNED_SLOWPOKETAIL - const EVENT_LEARNED_RATICATE_TAIL - const EVENT_OPENED_DOOR_TO_GIOVANNIS_OFFICE - const EVENT_GOLDENROD_DEPT_STORE_B1F_LAYOUT_1 - const EVENT_GOLDENROD_DEPT_STORE_B1F_LAYOUT_2 - const EVENT_GOLDENROD_DEPT_STORE_B1F_LAYOUT_3 - const EVENT_GOLDENROD_UNDERGROUND_WAREHOUSE_BLOCKED_OFF - const EVENT_LEFT_MONS_WITH_CONTEST_OFFICER - const EVENT_WILLS_ROOM_ENTRANCE_CLOSED - const EVENT_WILLS_ROOM_EXIT_OPEN - const EVENT_KOGAS_ROOM_ENTRANCE_CLOSED - const EVENT_KOGAS_ROOM_EXIT_OPEN - const EVENT_BRUNOS_ROOM_ENTRANCE_CLOSED - const EVENT_BRUNOS_ROOM_EXIT_OPEN - const EVENT_KARENS_ROOM_ENTRANCE_CLOSED - const EVENT_KARENS_ROOM_EXIT_OPEN - const EVENT_LANCES_ROOM_ENTRANCE_CLOSED - const EVENT_LANCES_ROOM_EXIT_OPEN - const EVENT_CONTEST_OFFICER_HAS_SUN_STONE - const EVENT_CONTEST_OFFICER_HAS_EVERSTONE - const EVENT_CONTEST_OFFICER_HAS_GOLD_BERRY - const EVENT_CONTEST_OFFICER_HAS_BERRY - const EVENT_FOUGHT_HO_OH - const EVENT_FOUGHT_LUGIA - const EVENT_BEAT_RIVAL_IN_MT_MOON - const EVENT_MET_BILLS_GRANDPA - const EVENT_SHOWED_LICKITUNG_TO_BILLS_GRANDPA - const EVENT_SHOWED_ODDISH_TO_BILLS_GRANDPA - const EVENT_SHOWED_STARYU_TO_BILLS_GRANDPA - const EVENT_SHOWED_GROWLITHE_VULPIX_TO_BILLS_GRANDPA - const EVENT_SHOWED_PICHU_TO_BILLS_GRANDPA - const EVENT_GOT_EVERSTONE_FROM_BILLS_GRANDPA - const EVENT_GOT_LEAF_STONE_FROM_BILLS_GRANDPA - const EVENT_GOT_WATER_STONE_FROM_BILLS_GRANDPA - const EVENT_GOT_FIRE_STONE_FROM_BILLS_GRANDPA - const EVENT_GOT_THUNDERSTONE_FROM_BILLS_GRANDPA - const EVENT_LISTENED_TO_INITIAL_RADIO -; More Crystal-exclusive events in Johto - const EVENT_WALL_OPENED_IN_HO_OH_CHAMBER - const EVENT_WALL_OPENED_IN_KABUTO_CHAMBER - const EVENT_WALL_OPENED_IN_OMANYTE_CHAMBER - const EVENT_WALL_OPENED_IN_AERODACTYL_CHAMBER - const EVENT_WELCOMED_TO_POKECOM_CENTER - const EVENT_WADE_HAS_BERRY - const EVENT_WADE_HAS_PSNCUREBERRY - const EVENT_WADE_HAS_PRZCUREBERRY - const EVENT_WADE_HAS_BITTER_BERRY - const EVENT_WILTON_HAS_ULTRA_BALL - const EVENT_WILTON_HAS_GREAT_BALL - const EVENT_WILTON_HAS_POKE_BALL - const EVENT_HOLE_IN_BURNED_TOWER - const EVENT_FOUGHT_EUSINE - const EVENT_KOJI_ALLOWS_YOU_PASSAGE_TO_TIN_TOWER - const EVENT_FOUGHT_SUICUNE - const EVENT_GOT_RAINBOW_WING - const EVENT_HUEY_PROTEIN - const EVENT_JOEY_HP_UP - const EVENT_VANCE_CARBOS - const EVENT_PARRY_IRON - const EVENT_ERIN_CALCIUM - const EVENT_BUENA_OFFERED_HER_PHONE_NUMBER - const EVENT_MET_BUENA - const EVENT_GOT_ODD_EGG - const_skip ; unused - const EVENT_GOT_GS_BALL_FROM_POKECOM_CENTER -; Unused: next 167 events + const EVENT_PLAYERS_HOUSE_2F_CONSOLE + const EVENT_PLAYERS_HOUSE_2F_DOLL_1 + const EVENT_PLAYERS_HOUSE_2F_DOLL_2 + const EVENT_PLAYERS_HOUSE_2F_BIG_DOLL - const_next 1000 -; Trainer flags -; Swimmer F - const EVENT_BEAT_SWIMMERF_ELAINE - const EVENT_BEAT_SWIMMERF_PAULA - const EVENT_BEAT_SWIMMERF_KAYLEE - const EVENT_BEAT_SWIMMERF_SUSIE - const EVENT_BEAT_SWIMMERF_DENISE - const EVENT_BEAT_SWIMMERF_KARA - const EVENT_BEAT_SWIMMERF_WENDY - const EVENT_BEAT_SWIMMERF_LISA - const EVENT_BEAT_SWIMMERF_JILL - const EVENT_BEAT_SWIMMERF_MARY - const EVENT_BEAT_SWIMMERF_KATIE - const EVENT_BEAT_SWIMMERF_DAWN - const EVENT_BEAT_SWIMMERF_TARA - const EVENT_BEAT_SWIMMERF_NICOLE - const EVENT_BEAT_SWIMMERF_LORI - const EVENT_BEAT_SWIMMERF_JODY - const EVENT_BEAT_SWIMMERF_NIKKI - const EVENT_BEAT_SWIMMERF_DIANA - const EVENT_BEAT_SWIMMERF_BRIANA -; Bird Keeper - const EVENT_BEAT_BIRD_KEEPER_ROD - const EVENT_BEAT_BIRD_KEEPER_ABE - const EVENT_BEAT_BIRD_KEEPER_BRYAN - const EVENT_BEAT_BIRD_KEEPER_THEO - const EVENT_BEAT_BIRD_KEEPER_TOBY - const EVENT_BEAT_BIRD_KEEPER_DENIS - const EVENT_BEAT_BIRD_KEEPER_VANCE - const EVENT_BEAT_BIRD_KEEPER_HANK - const EVENT_BEAT_BIRD_KEEPER_ROY - const EVENT_BEAT_BIRD_KEEPER_BORIS - const EVENT_BEAT_BIRD_KEEPER_BOB - const EVENT_BEAT_BIRD_KEEPER_JOSE - const EVENT_BEAT_BIRD_KEEPER_PETER - const EVENT_BEAT_BIRD_KEEPER_JOSE2 - const EVENT_BEAT_BIRD_KEEPER_PERRY - const EVENT_BEAT_BIRD_KEEPER_BRET - const EVENT_BEAT_BIRD_KEEPER_JOSE3 - const EVENT_BEAT_BIRD_KEEPER_VANCE2 - const EVENT_BEAT_BIRD_KEEPER_VANCE3 -; Boarder - const EVENT_BEAT_BOARDER_RONALD - const EVENT_BEAT_BOARDER_BRAD - const EVENT_BEAT_BOARDER_DOUGLAS -; Sage - const EVENT_BEAT_SAGE_CHOW - const EVENT_BEAT_SAGE_NICO - const EVENT_BEAT_SAGE_JIN - const EVENT_BEAT_SAGE_TROY - const EVENT_BEAT_SAGE_JEFFREY - const EVENT_BEAT_SAGE_PING - const EVENT_BEAT_SAGE_EDMOND - const EVENT_BEAT_SAGE_NEAL - const EVENT_BEAT_SAGE_LI -; Camper - const EVENT_BEAT_CAMPER_ROLAND - const EVENT_BEAT_CAMPER_TODD - const EVENT_BEAT_CAMPER_IVAN - const EVENT_BEAT_CAMPER_ELLIOT - const EVENT_BEAT_CAMPER_BARRY - const EVENT_BEAT_CAMPER_LLOYD - const EVENT_BEAT_CAMPER_DEAN - const EVENT_BEAT_CAMPER_SID - const EVENT_BEAT_CAMPER_HERVEY - const EVENT_BEAT_CAMPER_DALE - const EVENT_BEAT_CAMPER_TED - const EVENT_BEAT_CAMPER_TODD2 - const EVENT_BEAT_CAMPER_TODD3 - const EVENT_BEAT_CAMPER_THOMAS - const EVENT_BEAT_CAMPER_LEROY - const EVENT_BEAT_CAMPER_DAVID - const EVENT_BEAT_CAMPER_JOHN - const EVENT_BEAT_CAMPER_JERRY - const EVENT_BEAT_CAMPER_SPENCER -; Burglar - const EVENT_BEAT_BURGLAR_DUNCAN - const EVENT_BEAT_BURGLAR_EDDIE - const EVENT_BEAT_BURGLAR_COREY - const_skip ; unused -; Biker - const EVENT_BEAT_BIKER_BENNY - const EVENT_BEAT_BIKER_KAZU - const EVENT_BEAT_BIKER_DWAYNE - const EVENT_BEAT_BIKER_HARRIS - const EVENT_BEAT_BIKER_ZEKE - const EVENT_BEAT_BIKER_CHARLES - const EVENT_BEAT_BIKER_RILEY - const EVENT_BEAT_BIKER_JOEL - const EVENT_BEAT_BIKER_GLENN -; Psychic - const EVENT_BEAT_PSYCHIC_NATHAN - const EVENT_BEAT_PSYCHIC_FRANKLIN - const EVENT_BEAT_PSYCHIC_HERMAN - const EVENT_BEAT_PSYCHIC_FIDEL - const EVENT_BEAT_PSYCHIC_GREG - const EVENT_BEAT_PSYCHIC_NORMAN - const EVENT_BEAT_PSYCHIC_MARK - const EVENT_BEAT_PSYCHIC_PHIL - const EVENT_BEAT_PSYCHIC_RICHARD - const EVENT_BEAT_PSYCHIC_GILBERT - const EVENT_BEAT_PSYCHIC_JARED - const EVENT_BEAT_PSYCHIC_RODNEY -; Firebreather - const EVENT_BEAT_FIREBREATHER_OTIS - const EVENT_BEAT_FIREBREATHER_DICK - const EVENT_BEAT_FIREBREATHER_NED - const EVENT_BEAT_FIREBREATHER_BURT - const EVENT_BEAT_FIREBREATHER_BILL - const EVENT_BEAT_FIREBREATHER_WALT - const EVENT_BEAT_FIREBREATHER_RAY - const EVENT_BEAT_FIREBREATHER_LYLE -; Fisher - const EVENT_BEAT_FISHER_JUSTIN - const EVENT_BEAT_FISHER_RALPH - const EVENT_BEAT_FISHER_ARNOLD - const EVENT_BEAT_FISHER_KYLE - const EVENT_BEAT_FISHER_HENRY - const EVENT_BEAT_FISHER_MARVIN - const EVENT_BEAT_FISHER_TULLY - const EVENT_BEAT_FISHER_ANDRE - const EVENT_BEAT_FISHER_RAYMOND - const EVENT_BEAT_FISHER_WILTON - const EVENT_BEAT_FISHER_EDGAR - const EVENT_BEAT_FISHER_JONAH - const EVENT_BEAT_FISHER_MARTIN - const EVENT_BEAT_FISHER_STEPHEN - const EVENT_BEAT_FISHER_BARNEY - const EVENT_BEAT_FISHER_RALPH2 - const EVENT_BEAT_FISHER_RALPH3 - const EVENT_BEAT_FISHER_TULLY2 - const EVENT_BEAT_FISHER_TULLY3 - const EVENT_BEAT_FISHER_WILTON2 - const EVENT_BEAT_FISHER_SCOTT - const EVENT_BEAT_FISHER_WILTON3 -; Twins - const EVENT_BEAT_TWINS_AMY_AND_MAY - const EVENT_BEAT_TWINS_ANN_AND_ANNE - const EVENT_BEAT_TWINS_ANN_AND_ANNE2 - const EVENT_BEAT_TWINS_AMY_AND_MAY2 - const EVENT_BEAT_TWINS_JO_AND_ZOE - const EVENT_BEAT_TWINS_JO_AND_ZOE2 - const EVENT_BEAT_TWINS_MEG_AND_PEG - const EVENT_BEAT_TWINS_MEG_AND_PEG2 -; Schoolboy - const EVENT_BEAT_SCHOOLBOY_JACK - const EVENT_BEAT_SCHOOLBOY_KIP - const EVENT_BEAT_SCHOOLBOY_ALAN - const EVENT_BEAT_SCHOOLBOY_JOHNNY - const EVENT_BEAT_SCHOOLBOY_DANNY - const EVENT_BEAT_SCHOOLBOY_TOMMY - const EVENT_BEAT_SCHOOLBOY_DUDLEY - const EVENT_BEAT_SCHOOLBOY_JOE - const EVENT_BEAT_SCHOOLBOY_BILLY - const EVENT_BEAT_SCHOOLBOY_CHAD - const EVENT_BEAT_SCHOOLBOY_NATE - const EVENT_BEAT_SCHOOLBOY_RICKY - const EVENT_BEAT_SCHOOLBOY_JACK2 - const EVENT_BEAT_SCHOOLBOY_JACK3 - const EVENT_BEAT_SCHOOLBOY_ALAN2 - const EVENT_BEAT_SCHOOLBOY_ALAN3 - const EVENT_BEAT_SCHOOLBOY_CHAD2 - const EVENT_BEAT_SCHOOLBOY_CHAD3 -; Picnicker - const EVENT_BEAT_PICNICKER_LIZ - const EVENT_BEAT_PICNICKER_GINA - const EVENT_BEAT_PICNICKER_BROOKE - const EVENT_BEAT_PICNICKER_KIM - const EVENT_BEAT_PICNICKER_CINDY - const EVENT_BEAT_PICNICKER_HOPE - const EVENT_BEAT_PICNICKER_SHARON - const EVENT_BEAT_PICNICKER_DEBRA - const EVENT_BEAT_PICNICKER_GINA2 - const EVENT_BEAT_PICNICKER_ERIN - const EVENT_BEAT_PICNICKER_LIZ2 - const EVENT_BEAT_PICNICKER_LIZ3 - const EVENT_BEAT_PICNICKER_HEIDI - const EVENT_BEAT_PICNICKER_EDNA - const EVENT_BEAT_PICNICKER_GINA3 - const EVENT_BEAT_PICNICKER_TIFFANY2 - const EVENT_BEAT_PICNICKER_TIFFANY3 - const EVENT_BEAT_PICNICKER_ERIN2 - const EVENT_BEAT_PICNICKER_TANYA - const EVENT_BEAT_PICNICKER_TIFFANY - const EVENT_BEAT_PICNICKER_ERIN3 -; Guitarist - const EVENT_BEAT_GUITARIST_CLYDE - const EVENT_BEAT_GUITARIST_VINCENT -; Juggler - const EVENT_BEAT_JUGGLER_IRWIN - const EVENT_BEAT_JUGGLER_FRITZ - const EVENT_BEAT_JUGGLER_HORTON - const EVENT_BEAT_JUGGLER_IRWIN2 - const EVENT_BEAT_JUGGLER_IRWIN3 -; Gentleman - const EVENT_BEAT_GENTLEMAN_PRESTON - const EVENT_BEAT_GENTLEMAN_EDWARD - const EVENT_BEAT_GENTLEMAN_GREGORY - const EVENT_BEAT_GENTLEMAN_VIRGIL - const EVENT_BEAT_GENTLEMAN_ALFRED -; Scientist - const EVENT_BEAT_SCIENTIST_ROSS - const EVENT_BEAT_SCIENTIST_MITCH - const EVENT_BEAT_SCIENTIST_JED - const EVENT_BEAT_SCIENTIST_MARC - const EVENT_BEAT_SCIENTIST_RICH -; Blackbelt - const EVENT_BEAT_BLACKBELT_KENJI2 - const EVENT_BEAT_BLACKBELT_YOSHI - const EVENT_BEAT_BLACKBELT_KENJI3 - const EVENT_BEAT_BLACKBELT_LAO - const EVENT_BEAT_BLACKBELT_NOB - const EVENT_BEAT_BLACKBELT_KIYO - const EVENT_BEAT_BLACKBELT_LUNG - const EVENT_BEAT_BLACKBELT_KENJI - const EVENT_BEAT_BLACKBELT_WAI -; Beauty - const EVENT_BEAT_BEAUTY_VICTORIA - const EVENT_BEAT_BEAUTY_SAMANTHA - const EVENT_BEAT_BEAUTY_JULIE - const EVENT_BEAT_BEAUTY_JACLYN - const EVENT_BEAT_BEAUTY_BRENDA - const EVENT_BEAT_BEAUTY_CASSIE - const EVENT_BEAT_BEAUTY_CAROLINE - const EVENT_BEAT_BEAUTY_CARLENE - const EVENT_BEAT_BEAUTY_JESSICA - const EVENT_BEAT_BEAUTY_RACHAEL - const EVENT_BEAT_BEAUTY_ANGELICA - const EVENT_BEAT_BEAUTY_KENDRA - const EVENT_BEAT_BEAUTY_VERONICA - const EVENT_BEAT_BEAUTY_JULIA - const EVENT_BEAT_BEAUTY_THERESA - const EVENT_BEAT_BEAUTY_VALERIE -; Johto Gym Leaders - const EVENT_BEAT_FALKNER - const EVENT_BEAT_BUGSY - const EVENT_BEAT_WHITNEY - const EVENT_BEAT_MORTY - const EVENT_BEAT_JASMINE - const EVENT_BEAT_CHUCK - const EVENT_BEAT_PRYCE - const EVENT_BEAT_CLAIR -; Kanto Gym Leaders - const EVENT_BEAT_BROCK - const EVENT_BEAT_MISTY - const EVENT_BEAT_LTSURGE - const EVENT_BEAT_ERIKA - const EVENT_BEAT_JANINE - const EVENT_BEAT_SABRINA - const EVENT_BEAT_BLAINE - const EVENT_BEAT_BLUE -; PokefanM - const EVENT_BEAT_POKEFANM_WILLIAM - const EVENT_BEAT_POKEFANM_DEREK - const EVENT_BEAT_POKEFANM_ROBERT - const EVENT_BEAT_POKEFANM_JOSHUA - const EVENT_BEAT_POKEFANM_CARTER - const EVENT_BEAT_POKEFANM_TREVOR - const EVENT_BEAT_POKEFANM_BRANDON - const EVENT_BEAT_POKEFANM_JEREMY - const EVENT_BEAT_POKEFANM_COLIN - const EVENT_BEAT_POKEFANM_DEREK2 - const EVENT_BEAT_POKEFANM_DEREK3 - const EVENT_BEAT_POKEFANM_ALEX -; PokefanF - const EVENT_BEAT_POKEFANF_BEVERLY - const EVENT_BEAT_POKEFANF_RUTH - const EVENT_BEAT_POKEFANF_BEVERLY2 - const EVENT_BEAT_POKEFANF_BEVERLY3 - const EVENT_BEAT_POKEFANF_GEORGIA -; Kimono Girl - const_skip ; unused - const EVENT_BEAT_KIMONO_GIRL_NAOKO - const EVENT_BEAT_KIMONO_GIRL_SAYO - const EVENT_BEAT_KIMONO_GIRL_ZUKI - const EVENT_BEAT_KIMONO_GIRL_KUNI - const EVENT_BEAT_KIMONO_GIRL_MIKI -; Pokemaniac - const EVENT_BEAT_POKEMANIAC_LARRY - const EVENT_BEAT_POKEMANIAC_ANDREW - const EVENT_BEAT_POKEMANIAC_CALVIN - const EVENT_BEAT_POKEMANIAC_SHANE - const EVENT_BEAT_POKEMANIAC_BEN - const EVENT_BEAT_POKEMANIAC_BRENT - const EVENT_BEAT_POKEMANIAC_RON - const EVENT_BEAT_POKEMANIAC_ETHAN - const EVENT_BEAT_POKEMANIAC_BRENT2 - const EVENT_BEAT_POKEMANIAC_BRENT3 - const EVENT_BEAT_POKEMANIAC_ISSAC - const EVENT_BEAT_POKEMANIAC_DONALD - const EVENT_BEAT_POKEMANIAC_ZACH -; GruntM - const EVENT_BEAT_ROCKET_GRUNTM_1 - const EVENT_BEAT_ROCKET_GRUNTM_2 - const EVENT_BEAT_ROCKET_GRUNTM_3 - const EVENT_BEAT_ROCKET_GRUNTM_4 - const EVENT_BEAT_ROCKET_GRUNTM_5 - const EVENT_BEAT_ROCKET_GRUNTM_6 - const EVENT_BEAT_ROCKET_GRUNTM_7 - const EVENT_BEAT_ROCKET_GRUNTM_8 - const EVENT_BEAT_ROCKET_GRUNTM_9 - const EVENT_BEAT_ROCKET_GRUNTM_10 - const EVENT_BEAT_ROCKET_GRUNTM_11 - const EVENT_BEAT_ROCKET_GRUNTM_12 - const EVENT_BEAT_ROCKET_GRUNTM_13 - const EVENT_BEAT_ROCKET_GRUNTM_14 - const EVENT_BEAT_ROCKET_GRUNTM_15 - const EVENT_BEAT_ROCKET_GRUNTM_16 - const EVENT_BEAT_ROCKET_GRUNTM_17 - const EVENT_BEAT_ROCKET_GRUNTM_18 - const EVENT_BEAT_ROCKET_GRUNTM_19 - const EVENT_BEAT_ROCKET_GRUNTM_20 - const EVENT_BEAT_ROCKET_GRUNTM_21 - const EVENT_BEAT_ROCKET_GRUNTM_22 - const EVENT_BEAT_ROCKET_GRUNTM_23 - const EVENT_BEAT_ROCKET_GRUNTM_24 - const EVENT_BEAT_ROCKET_GRUNTM_25 - const EVENT_BEAT_ROCKET_GRUNTM_26 - const EVENT_BEAT_ROCKET_GRUNTM_27 - const EVENT_BEAT_ROCKET_GRUNTM_28 - const EVENT_BEAT_ROCKET_GRUNTM_29 - const EVENT_BEAT_ROCKET_GRUNTM_30 - const EVENT_BEAT_ROCKET_GRUNTM_31 -; GruntF - const EVENT_BEAT_ROCKET_GRUNTF_1 - const EVENT_BEAT_ROCKET_GRUNTF_2 - const EVENT_BEAT_ROCKET_GRUNTF_3 - const EVENT_BEAT_ROCKET_GRUNTF_4 - const EVENT_BEAT_ROCKET_GRUNTF_5 -; Lass - const EVENT_BEAT_LASS_CARRIE - const EVENT_BEAT_LASS_BRIDGET - const EVENT_BEAT_LASS_ALICE - const EVENT_BEAT_LASS_KRISE - const EVENT_BEAT_LASS_CONNIE - const EVENT_BEAT_LASS_LINDA - const EVENT_BEAT_LASS_LAURA - const EVENT_BEAT_LASS_SHANNON - const EVENT_BEAT_LASS_MICHELLE - const EVENT_BEAT_LASS_DANA - const EVENT_BEAT_LASS_ELLEN - const EVENT_BEAT_LASS_CONNIE2 - const EVENT_BEAT_LASS_CONNIE3 - const EVENT_BEAT_LASS_DANA2 - const EVENT_BEAT_LASS_DANA3 -; Hiker - const EVENT_BEAT_HIKER_ANTHONY2 - const EVENT_BEAT_HIKER_RUSSELL - const EVENT_BEAT_HIKER_PHILLIP - const EVENT_BEAT_HIKER_LEONARD - const EVENT_BEAT_HIKER_ANTHONY - const EVENT_BEAT_HIKER_BENJAMIN - const EVENT_BEAT_HIKER_ERIK - const EVENT_BEAT_HIKER_MICHAEL - const EVENT_BEAT_HIKER_PARRY - const EVENT_BEAT_HIKER_TIMOTHY - const EVENT_BEAT_HIKER_BAILEY - const EVENT_BEAT_HIKER_ANTHONY3 - const EVENT_BEAT_HIKER_TIM - const EVENT_BEAT_HIKER_NOLAND - const EVENT_BEAT_HIKER_SIDNEY - const EVENT_BEAT_HIKER_KENNY - const EVENT_BEAT_HIKER_JIM - const EVENT_BEAT_HIKER_DANIEL - const EVENT_BEAT_HIKER_PARRY2 - const EVENT_BEAT_HIKER_PARRY3 -; Bug Catcher - const EVENT_BEAT_BUG_CATCHER_DON - const EVENT_BEAT_BUG_CATCHER_ROB - const EVENT_BEAT_BUG_CATCHER_ED - const EVENT_BEAT_BUG_CATCHER_WADE - const EVENT_BEAT_BUG_CATCHER_BENNY - const EVENT_BEAT_BUG_CATCHER_AL - const EVENT_BEAT_BUG_CATCHER_JOSH - const EVENT_BEAT_BUG_CATCHER_ARNIE - const EVENT_BEAT_BUG_CATCHER_KEN - const EVENT_BEAT_BUG_CATCHER_WADE2 - const EVENT_BEAT_BUG_CATCHER_WADE3 - const EVENT_BEAT_BUG_CATCHER_DOUG - const EVENT_BEAT_BUG_CATCHER_ARNIE2 - const EVENT_BEAT_BUG_CATCHER_ARNIE3 -; Officer - const EVENT_BEAT_OFFICER_KEITH - const EVENT_BEAT_OFFICER_DIRK -; CooltrainerM - const EVENT_BEAT_COOLTRAINERM_NICK - const EVENT_BEAT_COOLTRAINERM_AARON - const EVENT_BEAT_COOLTRAINERM_PAUL - const EVENT_BEAT_COOLTRAINERM_CODY - const EVENT_BEAT_COOLTRAINERM_MIKE - const EVENT_BEAT_COOLTRAINERM_GAVEN2 - const EVENT_BEAT_COOLTRAINERM_GAVEN3 - const EVENT_BEAT_COOLTRAINERM_RYAN - const EVENT_BEAT_COOLTRAINERM_JAKE - const EVENT_BEAT_COOLTRAINERM_GAVEN - const EVENT_BEAT_COOLTRAINERM_BLAKE - const EVENT_BEAT_COOLTRAINERM_BRIAN - const EVENT_BEAT_COOLTRAINERM_ERICK - const EVENT_BEAT_COOLTRAINERM_ANDY - const EVENT_BEAT_COOLTRAINERM_TYLER - const EVENT_BEAT_COOLTRAINERM_SEAN - const EVENT_BEAT_COOLTRAINERM_KEVIN - const EVENT_BEAT_COOLTRAINERM_STEVE - const EVENT_BEAT_COOLTRAINERM_ALLEN -; CooltrainerF - const EVENT_BEAT_COOLTRAINERF_GWEN - const EVENT_BEAT_COOLTRAINERF_LOIS - const EVENT_BEAT_COOLTRAINERF_FRAN - const EVENT_BEAT_COOLTRAINERF_LOLA - const EVENT_BEAT_COOLTRAINERF_KATE - const EVENT_BEAT_COOLTRAINERF_IRENE - const EVENT_BEAT_COOLTRAINERF_KELLY - const EVENT_BEAT_COOLTRAINERF_JOYCE - const EVENT_BEAT_COOLTRAINERF_BETH - const EVENT_BEAT_COOLTRAINERF_REENA - const EVENT_BEAT_COOLTRAINERF_MEGAN - const EVENT_BEAT_COOLTRAINERF_BETH2 - const EVENT_BEAT_COOLTRAINERF_CAROL - const EVENT_BEAT_COOLTRAINERF_QUINN - const EVENT_BEAT_COOLTRAINERF_EMMA - const EVENT_BEAT_COOLTRAINERF_CYBIL - const EVENT_BEAT_COOLTRAINERF_JENN - const EVENT_BEAT_COOLTRAINERF_BETH3 - const EVENT_BEAT_COOLTRAINERF_REENA2 - const EVENT_BEAT_COOLTRAINERF_REENA3 -; ExecutiveF - const EVENT_BEAT_ROCKET_EXECUTIVEF_1 - const EVENT_BEAT_ROCKET_EXECUTIVEF_2 -; ExecutiveM - const EVENT_BEAT_ROCKET_EXECUTIVEM_1 - const EVENT_BEAT_ROCKET_EXECUTIVEM_2 - const EVENT_BEAT_ROCKET_EXECUTIVEM_3 - const EVENT_BEAT_ROCKET_EXECUTIVEM_4 -; Sailor - const EVENT_BEAT_SAILOR_EUGENE - const EVENT_BEAT_SAILOR_HUEY - const EVENT_BEAT_SAILOR_TERRELL - const EVENT_BEAT_SAILOR_KENT - const EVENT_BEAT_SAILOR_ERNEST - const EVENT_BEAT_SAILOR_JEFF - const EVENT_BEAT_SAILOR_GARRETT - const EVENT_BEAT_SAILOR_KENNETH - const EVENT_BEAT_SAILOR_STANLY - const EVENT_BEAT_SAILOR_HARRY - const EVENT_BEAT_SAILOR_HUEY2 - const EVENT_BEAT_SAILOR_HUEY3 -; Super Nerd - const EVENT_BEAT_SUPER_NERD_STAN - const EVENT_BEAT_SUPER_NERD_ERIC - const EVENT_BEAT_SUPER_NERD_GREGG - const EVENT_BEAT_SUPER_NERD_JAY - const EVENT_BEAY_SUPER_NERD_DAVE - const EVENT_BEAT_SUPER_NERD_SAM - const EVENT_BEAT_SUPER_NERD_TOM - const EVENT_BEAT_SUPER_NERD_PAT - const EVENT_BEAT_SUPER_NERD_SHAWN - const EVENT_BEAT_SUPER_NERD_TERU -; Medium - const EVENT_BEAT_MEDIUM_MARTHA - const EVENT_BEAT_MEDIUM_GRACE - const EVENT_BEAT_MEDIUM_BETHANY - const EVENT_BEAT_MEDIUM_MARGRET - const EVENT_BEAT_MEDIUM_ETHEL - const EVENT_BEAT_MEDIUM_REBECCA - const EVENT_BEAT_MEDIUM_DORIS -; Skier - const EVENT_BEAT_SKIER_ROXANNE - const EVENT_BEAT_SKIER_CLARISSA -; SwimmerM - const EVENT_BEAT_SWIMMERM_HAROLD - const EVENT_BEAT_SWIMMERM_SIMON - const EVENT_BEAT_SWIMMERM_RANDALL - const EVENT_BEAT_SWIMMERM_CHARLIE - const EVENT_BEAT_SWIMMERM_GEORGE - const EVENT_BEAT_SWIMMERM_BERKE - const EVENT_BEAT_SWIMMERM_KIRK - const EVENT_BEAT_SWIMMERM_MATHEW - const EVENT_BEAT_SWIMMERM_HAL - const EVENT_BEAT_SWIMMERM_PATON - const EVENT_BEAT_SWIMMERM_DARYL - const EVENT_BEAT_SWIMMERM_WALTER - const EVENT_BEAT_SWIMMERM_TONY - const EVENT_BEAT_SWIMMERM_JEROME - const EVENT_BEAT_SWIMMERM_TUCKER - const EVENT_BEAT_SWIMMERM_RICK - const EVENT_BEAT_SWIMMERM_CAMERON - const EVENT_BEAT_SWIMMERM_SETH - const EVENT_BEAT_SWIMMERM_JAMES - const EVENT_BEAT_SWIMMERM_LEWIS - const EVENT_BEAT_SWIMMERM_PARKER -; Youngster - const EVENT_BEAT_YOUNGSTER_JOEY - const EVENT_BEAT_YOUNGSTER_MIKEY - const EVENT_BEAT_YOUNGSTER_ALBERT - const EVENT_BEAT_YOUNGSTER_GORDON - const EVENT_BEAT_YOUNGSTER_SAMUEL - const EVENT_BEAT_YOUNGSTER_IAN - const EVENT_BEAT_YOUNGSTER_JOEY2 - const EVENT_BEAT_YOUNGSTER_JOEY3 - const EVENT_BEAT_YOUNGSTER_WARREN - const EVENT_BEAT_YOUNGSTER_JIMMY - const EVENT_BEAT_YOUNGSTER_OWEN - const EVENT_BEAT_YOUNGSTER_JASON -; Teacher - const EVENT_BEAT_TEACHER_COLETTE - const EVENT_BEAT_TEACHER_HILLARY - const EVENT_BEAT_TEACHER_SHIRLEY -; Elite Four and Champion - const EVENT_BEAT_ELITE_4_WILL - const EVENT_BEAT_ELITE_4_KOGA - const EVENT_BEAT_ELITE_4_BRUNO - const EVENT_BEAT_ELITE_4_KAREN - const EVENT_BEAT_CHAMPION_LANCE -; Crystal-exclusive trainer flags - const EVENT_BEAT_COOLTRAINERM_DARIN - const EVENT_BEAT_COOLTRAINERF_CARA - const EVENT_BEAT_TWINS_LEA_AND_PIA - const EVENT_BEAT_BUG_CATCHER_WAYNE - const EVENT_BEAT_BEAUTY_OLIVIA - const EVENT_BEAT_POKEFANF_JAIME - const EVENT_BEAT_CAMPER_QUENTIN - const EVENT_BEAT_POKEMANIAC_MILLER - const EVENT_BEAT_SUPER_NERD_HUGH - const EVENT_BEAT_SUPER_NERD_MARKUS - const EVENT_BEAT_POKEFANM_REX - const EVENT_BEAT_POKEFANM_ALLAN - const EVENT_BEAT_SAGE_GAKU - const EVENT_BEAT_SAGE_MASA - const EVENT_BEAT_SAGE_KOJI -; Unused: next 116 events - - const_next 1600 -; Sprite visibility flags -; When these events are cleared, the sprite becomes visible; when set, the sprite is hidden. -; The map script command macros `disappear` and `appear` set/clear these flags and immediately apply the effect on visibility. -; The map script command macros `setevent` and `clearevent` set/clear these flags, and their effects will be seen when the map is reloaded. -; Johto itemballs - const EVENT_CYNDAQUIL_POKEBALL_IN_ELMS_LAB - const EVENT_TOTODILE_POKEBALL_IN_ELMS_LAB - const EVENT_CHIKORITA_POKEBALL_IN_ELMS_LAB - const EVENT_VIOLET_CITY_PP_UP - const EVENT_VIOLET_CITY_RARE_CANDY - const EVENT_LAKE_OF_RAGE_ELIXER - const EVENT_LAKE_OF_RAGE_TM_DETECT - const EVENT_SPROUT_TOWER_1F_PARLYZ_HEAL - const EVENT_SPROUT_TOWER_2F_X_ACCURACY - const EVENT_SPROUT_TOWER_3F_POTION - const EVENT_SPROUT_TOWER_3F_ESCAPE_ROPE - const EVENT_TIN_TOWER_3F_FULL_HEAL - const EVENT_TIN_TOWER_4F_ULTRA_BALL - const EVENT_TIN_TOWER_4F_PP_UP - const EVENT_TIN_TOWER_4F_ESCAPE_ROPE - const EVENT_TIN_TOWER_5F_RARE_CANDY - const EVENT_TIN_TOWER_7F_MAX_REVIVE - const EVENT_TIN_TOWER_8F_NUGGET - const EVENT_TIN_TOWER_8F_MAX_ELIXER - const EVENT_TIN_TOWER_8F_FULL_RESTORE - const EVENT_TEAM_ROCKET_BASE_B3F_ULTRA_BALL - const EVENT_GOLDENROD_UNDERGROUND_WAREHOUSE_ULTRA_BALL - const EVENT_BURNED_TOWER_1F_HP_UP - const EVENT_BURNED_TOWER_B1F_TM_ENDURE - const EVENT_NATIONAL_PARK_PARLYZ_HEAL - const EVENT_NATIONAL_PARK_TM_DIG - const EVENT_UNION_CAVE_1F_GREAT_BALL - const EVENT_UNION_CAVE_1F_X_ATTACK - const EVENT_UNION_CAVE_1F_POTION - const EVENT_UNION_CAVE_1F_AWAKENING - const EVENT_UNION_CAVE_B1F_TM_SWIFT - const EVENT_UNION_CAVE_B1F_X_DEFEND - const EVENT_UNION_CAVE_B2F_ELIXER - const EVENT_UNION_CAVE_B2F_HYPER_POTION - const EVENT_SLOWPOKE_WELL_B1F_SUPER_POTION - const EVENT_SLOWPOKE_WELL_B2F_TM_RAIN_DANCE - const EVENT_OLIVINE_LIGHTHOUSE_3F_ETHER - const EVENT_OLIVINE_LIGHTHOUSE_5F_RARE_CANDY - const EVENT_OLIVINE_LIGHTHOUSE_5F_SUPER_REPEL - const EVENT_OLIVINE_LIGHTHOUSE_5F_TM_SWAGGER - const EVENT_OLIVINE_LIGHTHOUSE_6F_SUPER_POTION - const EVENT_TEAM_ROCKET_BASE_B1F_HYPER_POTION - const EVENT_TEAM_ROCKET_BASE_B1F_NUGGET - const EVENT_TEAM_ROCKET_BASE_B1F_GUARD_SPEC - const EVENT_TEAM_ROCKET_BASE_B2F_TM_THIEF - const EVENT_TEAM_ROCKET_BASE_B3F_PROTEIN - const EVENT_TEAM_ROCKET_BASE_B3F_X_SPECIAL - const EVENT_TEAM_ROCKET_BASE_B3F_FULL_HEAL - const EVENT_TEAM_ROCKET_BASE_B3F_ICE_HEAL - const EVENT_ILEX_FOREST_REVIVE - const EVENT_GOLDENROD_UNDERGROUND_COIN_CASE - const EVENT_GOLDENROD_UNDERGROUND_SWITCH_ROOM_ENTRANCES_SMOKE_BALL - const EVENT_GOLDENROD_UNDERGROUND_SWITCH_ROOM_ENTRANCES_FULL_HEAL - const EVENT_GOLDENROD_DEPT_STORE_B1F_ETHER - const EVENT_GOLDENROD_DEPT_STORE_B1F_AMULET_COIN - const EVENT_GOLDENROD_DEPT_STORE_B1F_BURN_HEAL - const EVENT_GOLDENROD_DEPT_STORE_B1F_ULTRA_BALL - const EVENT_GOLDENROD_UNDERGROUND_WAREHOUSE_MAX_ETHER - const EVENT_GOLDENROD_UNDERGROUND_WAREHOUSE_TM_SLEEP_TALK - const EVENT_MOUNT_MORTAR_1F_OUTSIDE_ETHER - const EVENT_MOUNT_MORTAR_1F_OUTSIDE_REVIVE - const EVENT_MOUNT_MORTAR_1F_INSIDE_ESCAPE_ROPE - const EVENT_MOUNT_MORTAR_1F_INSIDE_MAX_REVIVE - const EVENT_MOUNT_MORTAR_1F_INSIDE_HYPER_POTION - const EVENT_MOUNT_MORTAR_2F_INSIDE_MAX_POTION - const EVENT_MOUNT_MORTAR_2F_INSIDE_RARE_CANDY - const EVENT_MOUNT_MORTAR_2F_INSIDE_TM_DEFENSE_CURL - const EVENT_MOUNT_MORTAR_2F_INSIDE_DRAGON_SCALE - const EVENT_MOUNT_MORTAR_2F_INSIDE_ELIXER - const EVENT_MOUNT_MORTAR_2F_INSIDE_ESCAPE_ROPE - const EVENT_MOUNT_MORTAR_B1F_HYPER_POTION - const EVENT_MOUNT_MORTAR_B1F_CARBOS - const EVENT_GOT_HM07_WATERFALL - const EVENT_ICE_PATH_1F_PP_UP - const EVENT_ICE_PATH_B1F_IRON - const EVENT_ICE_PATH_B2F_MAHOGANY_SIDE_FULL_HEAL - const EVENT_ICE_PATH_B2F_MAHOGANY_SIDE_MAX_POTION - const EVENT_ICE_PATH_B2F_BLACKTHORN_SIDE_TM_REST - const EVENT_ICE_PATH_B3F_NEVERMELTICE - const EVENT_WHIRL_ISLAND_NE_ULTRA_BALL - const EVENT_WHIRL_ISLAND_SW_ULTRA_BALL - const EVENT_WHIRL_ISLAND_B1F_FULL_RESTORE - const EVENT_WHIRL_ISLAND_B1F_CARBOS - const EVENT_WHIRL_ISLAND_B1F_CALCIUM - const EVENT_WHIRL_ISLAND_B1F_NUGGET - const EVENT_WHIRL_ISLAND_B1F_ESCAPE_ROPE - const EVENT_WHIRL_ISLAND_B2F_FULL_RESTORE - const EVENT_WHIRL_ISLAND_B2F_MAX_REVIVE - const EVENT_WHIRL_ISLAND_B2F_MAX_ELIXER - const EVENT_SILVER_CAVE_ROOM_1_MAX_ELIXER - const EVENT_SILVER_CAVE_ROOM_1_PROTEIN - const EVENT_SILVER_CAVE_ROOM_1_ESCAPE_ROPE - const EVENT_SILVER_CAVE_ITEM_ROOMS_MAX_REVIVE - const EVENT_SILVER_CAVE_ITEM_ROOMS_FULL_RESTORE - const EVENT_DARK_CAVE_VIOLET_ENTRANCE_POTION - const EVENT_DARK_CAVE_VIOLET_ENTRANCE_FULL_HEAL - const EVENT_DARK_CAVE_VIOLET_ENTRANCE_HYPER_POTION - const EVENT_DARK_CAVE_BLACKTHORN_ENTRANCE_REVIVE - const EVENT_DARK_CAVE_BLACKTHORN_ENTRANCE_TM_SNORE - const EVENT_VICTORY_ROAD_TM_EARTHQUAKE - const EVENT_VICTORY_ROAD_MAX_REVIVE - const EVENT_VICTORY_ROAD_FULL_RESTORE - const EVENT_VICTORY_ROAD_FULL_HEAL - const EVENT_VICTORY_ROAD_HP_UP - const EVENT_DRAGONS_DEN_B1F_DRAGON_FANG - const EVENT_TOHJO_FALLS_MOON_STONE - const EVENT_ROUTE_26_MAX_ELIXER - const EVENT_ROUTE_27_TM_SOLARBEAM - const EVENT_ROUTE_27_RARE_CANDY - const EVENT_ROUTE_29_POTION - const EVENT_ROUTE_31_POTION - const EVENT_ROUTE_31_POKE_BALL - const EVENT_ROUTE_32_GREAT_BALL - const EVENT_ROUTE_32_REPEL - const EVENT_ROUTE_35_TM_ROLLOUT - const EVENT_ROUTE_42_ULTRA_BALL - const EVENT_ROUTE_42_SUPER_POTION - const EVENT_ROUTE_43_MAX_ETHER - const EVENT_ROUTE_44_MAX_REVIVE - const EVENT_ROUTE_44_ULTRA_BALL - const EVENT_ROUTE_45_NUGGET - const EVENT_ROUTE_45_REVIVE - const EVENT_ROUTE_45_ELIXER - const EVENT_ROUTE_45_MAX_POTION - const EVENT_ROUTE_46_X_SPEED -; Johto people - const EVENT_RIVAL_NEW_BARK_TOWN - const EVENT_RIVAL_CHERRYGROVE_CITY - const EVENT_RIVAL_AZALEA_TOWN - const EVENT_RIVAL_TEAM_ROCKET_BASE - const EVENT_RIVAL_GOLDENROD_UNDERGROUND - const EVENT_RIVAL_VICTORY_ROAD - const EVENT_RIVAL_OLIVINE_CITY - const EVENT_RIVAL_SPROUT_TOWER - const EVENT_RIVAL_BURNED_TOWER - const EVENT_RIVAL_DRAGONS_DEN - const EVENT_PLAYERS_HOUSE_MOM_1 - const EVENT_PLAYERS_HOUSE_MOM_2 - const EVENT_MR_POKEMONS_HOUSE_OAK - const EVENT_VIOLET_CITY_EARL - const EVENT_EARLS_ACADEMY_EARL - const EVENT_GOLDENROD_CITY_ROCKET_SCOUT - const EVENT_GOLDENROD_CITY_ROCKET_TAKEOVER - const EVENT_RADIO_TOWER_ROCKET_TAKEOVER - const EVENT_GOLDENROD_CITY_CIVILIANS - const EVENT_RADIO_TOWER_CIVILIANS_AFTER - const EVENT_RADIO_TOWER_BLACKBELT_BLOCKS_STAIRS - const EVENT_OLIVINE_LIGHTHOUSE_JASMINE - const EVENT_OLIVINE_GYM_JASMINE - const EVENT_LAKE_OF_RAGE_LANCE - const EVENT_MAHOGANY_MART_LANCE_AND_DRAGONITE - const EVENT_TEAM_ROCKET_BASE_B2F_LANCE - const EVENT_TEAM_ROCKET_BASE_B3F_LANCE_PASSWORDS - const EVENT_DRAGONS_DEN_CLAIR - const EVENT_TEAM_ROCKET_BASE_SECURITY_GRUNTS - const EVENT_TEAM_ROCKET_BASE_POPULATION - const EVENT_TEAM_ROCKET_BASE_B3F_EXECUTIVE - const EVENT_ROUTE_43_GATE_ROCKETS - const EVENT_TEAM_ROCKET_BASE_B2F_EXECUTIVE - const EVENT_TEAM_ROCKET_BASE_B2F_GRUNT_WITH_EXECUTIVE - const EVENT_TEAM_ROCKET_BASE_B2F_DRAGONITE - const EVENT_TEAM_ROCKET_BASE_B2F_ELECTRODE_1 - const EVENT_TEAM_ROCKET_BASE_B2F_ELECTRODE_2 - const EVENT_TEAM_ROCKET_BASE_B2F_ELECTRODE_3 - const EVENT_BLACKTHORN_CITY_SUPER_NERD_BLOCKS_GYM - const EVENT_BLACKTHORN_CITY_SUPER_NERD_DOES_NOT_BLOCK_GYM - const EVENT_DAY_CARE_MAN_IN_DAY_CARE - const EVENT_DAY_CARE_MAN_ON_ROUTE_34 - const EVENT_DAY_CARE_MON_1 - const EVENT_DAY_CARE_MON_2 - const EVENT_ILEX_FOREST_FARFETCHD - const EVENT_ROUTE_34_ILEX_FOREST_GATE_TEACHER_BEHIND_COUNTER - const EVENT_ROUTE_34_ILEX_FOREST_GATE_LASS - const EVENT_ROUTE_34_ILEX_FOREST_GATE_TEACHER_IN_WALKWAY - const EVENT_ILEX_FOREST_LASS - const EVENT_COPYCAT_1 - const EVENT_COPYCAT_2 - const EVENT_GOLDENROD_SALE_OFF - const EVENT_GOLDENROD_SALE_ON - const_skip ; unused in Crystal - const EVENT_ILEX_FOREST_APPRENTICE - const EVENT_ILEX_FOREST_CHARCOAL_MASTER - const EVENT_CHARCOAL_KILN_FARFETCH_D - const EVENT_CHARCOAL_KILN_APPRENTICE - const EVENT_CHARCOAL_KILN_BOSS - const EVENT_ROUTE_36_SUDOWOODO - const EVENT_AZALEA_TOWN_SLOWPOKES - const EVENT_AZALEA_TOWN_SLOWPOKETAIL_ROCKET - const EVENT_SLOWPOKE_WELL_SLOWPOKES - const EVENT_SLOWPOKE_WELL_ROCKETS - const EVENT_KURTS_HOUSE_SLOWPOKE - const EVENT_GUIDE_GENT_IN_HIS_HOUSE - const EVENT_GUIDE_GENT_VISIBLE_IN_CHERRYGROVE - const EVENT_ELMS_AIDE_IN_VIOLET_POKEMON_CENTER - const EVENT_ELMS_AIDE_IN_LAB - const EVENT_COP_IN_ELMS_LAB - const EVENT_RUINS_OF_ALPH_OUTSIDE_SCIENTIST - const EVENT_RUINS_OF_ALPH_RESEARCH_CENTER_SCIENTIST - const EVENT_RUINS_OF_ALPH_INNER_CHAMBER_TOURISTS - const EVENT_BOULDER_IN_BLACKTHORN_GYM_1 - const EVENT_BOULDER_IN_BLACKTHORN_GYM_2 - const EVENT_BOULDER_IN_BLACKTHORN_GYM_3 - const EVENT_BOULDER_IN_ICE_PATH_1 - const EVENT_BOULDER_IN_ICE_PATH_2 - const EVENT_BOULDER_IN_ICE_PATH_3 - const EVENT_BOULDER_IN_ICE_PATH_4 - const EVENT_BOULDER_IN_ICE_PATH_1A - const EVENT_BOULDER_IN_ICE_PATH_2A - const EVENT_BOULDER_IN_ICE_PATH_3A - const EVENT_BOULDER_IN_ICE_PATH_4A - const EVENT_MYSTERY_GIFT_DELIVERY_GUY - const EVENT_MET_BILL - const EVENT_ECRUTEAK_POKE_CENTER_BILL - const EVENT_ROUTE_30_BATTLE - const EVENT_ROUTE_30_YOUNGSTER_JOEY +; Bug catching contest const EVENT_BUG_CATCHING_CONTESTANT_1A const EVENT_BUG_CATCHING_CONTESTANT_2A const EVENT_BUG_CATCHING_CONTESTANT_3A @@ -1285,181 +86,16 @@ const EVENT_BUG_CATCHING_CONTESTANT_8B const EVENT_BUG_CATCHING_CONTESTANT_9B const EVENT_BUG_CATCHING_CONTESTANT_10B - const EVENT_OLIVINE_PORT_SAILOR_AT_GANGWAY - const EVENT_VERMILION_PORT_SAILOR_AT_GANGWAY - const EVENT_FAST_SHIP_1F_GENTLEMAN - const EVENT_FAST_SHIP_CABINS_NNW_NNE_NE_SAILOR - const EVENT_FAST_SHIP_B1F_SAILOR_LEFT - const EVENT_FAST_SHIP_B1F_SAILOR_RIGHT - const EVENT_FAST_SHIP_CABINS_SE_SSE_GENTLEMAN - const EVENT_FAST_SHIP_CABINS_SE_SSE_CAPTAINS_CABIN_TWIN_1 - const EVENT_FAST_SHIP_CABINS_SE_SSE_CAPTAINS_CABIN_TWIN_2 - const EVENT_OLIVINE_PORT_PASSAGE_POKEFAN_M - const EVENT_ROUTE_35_NATIONAL_PARK_GATE_YOUNGSTER - const EVENT_LAKE_OF_RAGE_CIVILIANS - const EVENT_MAHOGANY_MART_OWNERS - const EVENT_OLIVINE_PORT_SPRITES_BEFORE_HALL_OF_FAME - const EVENT_OLIVINE_PORT_SPRITES_AFTER_HALL_OF_FAME - const EVENT_FAST_SHIP_PASSENGERS_FIRST_TRIP - const EVENT_FAST_SHIP_PASSENGERS_EASTBOUND - const EVENT_FAST_SHIP_PASSENGERS_WESTBOUND - const EVENT_TIN_TOWER_ROOF_HO_OH - const EVENT_WHIRL_ISLAND_LUGIA_CHAMBER_LUGIA - const EVENT_KURTS_HOUSE_KURT_1 - const EVENT_KURTS_HOUSE_KURT_2 - const EVENT_SLOWPOKE_WELL_KURT - const EVENT_PLAYERS_HOUSE_2F_CONSOLE - const EVENT_PLAYERS_HOUSE_2F_DOLL_1 - const EVENT_PLAYERS_HOUSE_2F_DOLL_2 - const EVENT_PLAYERS_HOUSE_2F_BIG_DOLL - const EVENT_ROUTE_35_NATIONAL_PARK_GATE_OFFICER_CONTEST_DAY - const EVENT_ROUTE_35_NATIONAL_PARK_GATE_OFFICER_NOT_CONTEST_DAY - const EVENT_ROUTE_36_NATIONAL_PARK_GATE_OFFICER_CONTEST_DAY - const EVENT_ROUTE_36_NATIONAL_PARK_GATE_OFFICER_NOT_CONTEST_DAY - const EVENT_GOLDENROD_TRAIN_STATION_GENTLEMAN - const EVENT_BURNED_TOWER_B1F_BEASTS_1 - const EVENT_BURNED_TOWER_B1F_BEASTS_2 - const EVENT_BLACKTHORN_CITY_GRAMPS_BLOCKS_DRAGONS_DEN - const EVENT_BLACKTHORN_CITY_GRAMPS_NOT_BLOCKING_DRAGONS_DEN - const EVENT_RUINS_OF_ALPH_KABUTO_CHAMBER_RECEPTIONIST - const EVENT_OPENED_MT_SILVER - const EVENT_FOUGHT_SNORLAX - const EVENT_LAKE_OF_RAGE_RED_GYARADOS - const EVENT_GOLDENROD_UNDERGROUND_GRANNY - const EVENT_GOLDENROD_UNDERGROUND_GRAMPS - const EVENT_GOLDENROD_UNDERGROUND_OLDER_HAIRCUT_BROTHER - const EVENT_GOLDENROD_UNDERGROUND_YOUNGER_HAIRCUT_BROTHER - const EVENT_MAHOGANY_TOWN_POKEFAN_M_BLOCKS_EAST - const EVENT_MAHOGANY_TOWN_POKEFAN_M_BLOCKS_GYM - const EVENT_ROUTE_32_FRIEDA_OF_FRIDAY - const EVENT_ROUTE_29_TUSCANY_OF_TUESDAY - const EVENT_ROUTE_36_ARTHUR_OF_THURSDAY - const EVENT_ROUTE_37_SUNNY_OF_SUNDAY - const EVENT_LAKE_OF_RAGE_WESLEY_OF_WEDNESDAY - const EVENT_BLACKTHORN_CITY_SANTOS_OF_SATURDAY - const EVENT_ROUTE_40_MONICA_OF_MONDAY - const EVENT_LANCES_ROOM_OAK_AND_MARY - const EVENT_UNION_CAVE_B2F_LAPRAS - const EVENT_TEAM_ROCKET_DISBANDED - const EVENT_RED_IN_MT_SILVER - const EVENT_GOLDENROD_DEPT_STORE_5F_HAPPINESS_EVENT_LADY - const EVENT_BURNED_TOWER_MORTY - const EVENT_BURNED_TOWER_1F_EUSINE - const EVENT_RANG_CLEAR_BELL_1 - const EVENT_RANG_CLEAR_BELL_2 - const EVENT_FLORIA_AT_FLOWER_SHOP - const EVENT_FLORIA_AT_SUDOWOODO - const EVENT_GOLDENROD_CITY_MOVE_TUTOR - const EVENT_GOLDENROD_GAME_CORNER_MOVE_TUTOR -; Unused: next 0 events -; (In pokegold the previous 4 event flags were not defined, -; but in pokecrystal the 'const_next 1900' is redundant.) + const EVENT_CONTEST_OFFICER_HAS_SUN_STONE + const EVENT_CONTEST_OFFICER_HAS_EVERSTONE + const EVENT_CONTEST_OFFICER_HAS_GOLD_BERRY + const EVENT_CONTEST_OFFICER_HAS_BERRY + const EVENT_LEFT_MONS_WITH_CONTEST_OFFICER - const_next 1900 -; Kanto people - const EVENT_ROUTE_24_ROCKET - const EVENT_CERULEAN_GYM_ROCKET - const EVENT_ROUTE_25_MISTY_BOYFRIEND - const EVENT_TRAINERS_IN_CERULEAN_GYM - const EVENT_VERMILION_CITY_SNORLAX - const EVENT_ROUTE_5_6_POKEFAN_M_BLOCKS_UNDERGROUND_PATH - const EVENT_SAFFRON_TRAIN_STATION_POPULATION - const EVENT_COPYCATS_HOUSE_2F_DOLL - const EVENT_VERMILION_FAN_CLUB_DOLL - const EVENT_BLUE_IN_CINNABAR - const EVENT_VIRIDIAN_GYM_BLUE - const EVENT_SEAFOAM_GYM_GYM_GUIDE - const EVENT_MT_MOON_SQUARE_ROCK - const EVENT_MT_MOON_SQUARE_CLEFAIRY - const EVENT_MT_MOON_RIVAL - const EVENT_INDIGO_PLATEAU_POKECENTER_RIVAL - const EVENT_TELEPORT_GUY -; Kanto itemballs - const EVENT_PICKED_UP_FOCUS_BAND - const EVENT_ROCK_TUNNEL_1F_ELIXER - const EVENT_ROCK_TUNNEL_1F_TM_STEEL_WING - const EVENT_ROCK_TUNNEL_B1F_IRON - const EVENT_ROCK_TUNNEL_B1F_PP_UP - const EVENT_ROCK_TUNNEL_B1F_REVIVE - const EVENT_ROUTE_2_DIRE_HIT - const EVENT_ROUTE_2_MAX_POTION - const EVENT_ROUTE_2_CARBOS - const EVENT_ROUTE_2_ELIXER - const EVENT_ROUTE_4_HP_UP - const EVENT_ROUTE_12_CALCIUM - const EVENT_ROUTE_12_NUGGET - const EVENT_ROUTE_15_PP_UP - const EVENT_ROUTE_25_PROTEIN -; New to Crystal - const EVENT_KURTS_HOUSE_GRANDDAUGHTER_1 - const EVENT_KURTS_HOUSE_GRANDDAUGHTER_2 - const EVENT_RUINS_OF_ALPH_OUTSIDE_TOURIST_FISHER - const EVENT_RUINS_OF_ALPH_OUTSIDE_TOURIST_YOUNGSTERS - const EVENT_DRAGON_SHRINE_CLAIR - const EVENT_BATTLE_TOWER_BATTLE_ROOM_YOUNGSTER - const EVENT_PLAYERS_HOUSE_1F_NEIGHBOR - const EVENT_PLAYERS_NEIGHBORS_HOUSE_NEIGHBOR - const EVENT_PICKED_UP_GOLD_BERRY_FROM_HO_OH_ITEM_ROOM - const EVENT_PICKED_UP_MYSTERYBERRY_FROM_HO_OH_ITEM_ROOM - const EVENT_PICKED_UP_REVIVAL_HERB_FROM_HO_OH_ITEM_ROOM - const EVENT_PICKED_UP_CHARCOAL_FROM_HO_OH_ITEM_ROOM - const EVENT_PICKED_UP_BERRY_FROM_KABUTO_ITEM_ROOM - const EVENT_PICKED_UP_PSNCUREBERRY_FROM_KABUTO_ITEM_ROOM - const EVENT_PICKED_UP_HEAL_POWDER_FROM_KABUTO_ITEM_ROOM - const EVENT_PICKED_UP_ENERGYPOWDER_FROM_KABUTO_ITEM_ROOM - const EVENT_PICKED_UP_MYSTERYBERRY_FROM_OMANYTE_ITEM_ROOM - const EVENT_PICKED_UP_MYSTIC_WATER_FROM_OMANYTE_ITEM_ROOM - const EVENT_PICKED_UP_STARDUST_FROM_OMANYTE_ITEM_ROOM - const EVENT_PICKED_UP_STAR_PIECE_FROM_OMANYTE_ITEM_ROOM - const EVENT_PICKED_UP_GOLD_BERRY_FROM_AERODACTYL_ITEM_ROOM - const EVENT_PICKED_UP_MOON_STONE_FROM_AERODACTYL_ITEM_ROOM - const EVENT_PICKED_UP_HEAL_POWDER_FROM_AERODACTYL_ITEM_ROOM - const EVENT_PICKED_UP_ENERGY_ROOT_FROM_AERODACTYL_ITEM_ROOM - const EVENT_AZALEA_TOWN_KURT - const EVENT_ILEX_FOREST_KURT - const EVENT_MOUNT_MORTAR_1F_INSIDE_MAX_POTION - const EVENT_MOUNT_MORTAR_1F_INSIDE_NUGGET - const EVENT_ECRUTEAK_GYM_GRAMPS - const EVENT_ECRUTEAK_CITY_GRAMPS - const EVENT_EUSINE_IN_BURNED_TOWER - const EVENT_WISE_TRIOS_ROOM_WISE_TRIO_1 - const EVENT_WISE_TRIOS_ROOM_WISE_TRIO_2 - const EVENT_CIANWOOD_CITY_EUSINE - const EVENT_SAW_SUICUNE_AT_CIANWOOD_CITY - const EVENT_SAW_SUICUNE_ON_ROUTE_42 - const EVENT_SAW_SUICUNE_ON_ROUTE_36 - const EVENT_ECRUTEAK_TIN_TOWER_ENTRANCE_WANDERING_SAGE - const EVENT_TIN_TOWER_1F_SUICUNE - const EVENT_TIN_TOWER_1F_ENTEI - const EVENT_TIN_TOWER_1F_RAIKOU - const EVENT_TIN_TOWER_1F_EUSINE - const EVENT_TIN_TOWER_1F_WISE_TRIO_1 - const EVENT_SET_WHEN_FOUGHT_HO_OH - const EVENT_ROUTE_30_ANTIDOTE - const EVENT_ILEX_FOREST_X_ATTACK - const EVENT_ILEX_FOREST_ANTIDOTE - const EVENT_ILEX_FOREST_ETHER - const EVENT_ROUTE_34_NUGGET - const EVENT_ROUTE_44_MAX_REPEL - const EVENT_ICE_PATH_1F_PROTEIN - const EVENT_DRAGONS_DEN_B1F_CALCIUM - const EVENT_DRAGONS_DEN_B1F_MAX_ELIXER - const EVENT_SILVER_CAVE_ROOM_1_ULTRA_BALL - const EVENT_SILVER_CAVE_ROOM_2_CALCIUM - const EVENT_SILVER_CAVE_ROOM_2_ULTRA_BALL - const EVENT_SILVER_CAVE_ROOM_2_PP_UP - const EVENT_TIN_TOWER_1F_WISE_TRIO_2 - const EVENT_TIN_TOWER_6F_MAX_POTION - const EVENT_TIN_TOWER_9F_HP_UP - const EVENT_MOUNT_MORTAR_1F_INSIDE_IRON - const EVENT_MOUNT_MORTAR_1F_INSIDE_ULTRA_BALL - const EVENT_MOUNT_MORTAR_B1F_FULL_RESTORE - const EVENT_MOUNT_MORTAR_B1F_MAX_ETHER - const EVENT_MOUNT_MORTAR_B1F_PP_UP - const EVENT_RADIO_TOWER_5F_ULTRA_BALL - const EVENT_DARK_CAVE_VIOLET_ENTRANCE_DIRE_HIT - const EVENT_BATTLE_TOWER_OPEN_CIVILIANS -; Unused: next 48 events +; Chambers + const EVENT_WALL_OPENED_IN_HO_OH_CHAMBER + const EVENT_WALL_OPENED_IN_KABUTO_CHAMBER + const EVENT_WALL_OPENED_IN_OMANYTE_CHAMBER + const EVENT_WALL_OPENED_IN_AERODACTYL_CHAMBER - const_next 2048 DEF NUM_EVENTS EQU const_value ; 800 diff --git a/data/events/engine_flags.asm b/data/events/engine_flags.asm index 52722d806..62b8f8aa1 100644 --- a/data/events/engine_flags.asm +++ b/data/events/engine_flags.asm @@ -108,66 +108,14 @@ EngineFlags: engine_flag wCelebiEvent, CELEBIEVENT_FOREST_IS_RESTLESS_F ; rematches - engine_flag wDailyRematchFlags, 0 ; jack - engine_flag wDailyRematchFlags, 1 ; huey - engine_flag wDailyRematchFlags, 2 ; gaven - engine_flag wDailyRematchFlags, 3 ; beth - engine_flag wDailyRematchFlags, 4 ; jose - engine_flag wDailyRematchFlags, 5 ; reena - engine_flag wDailyRematchFlags, 6 ; joey - engine_flag wDailyRematchFlags, 7 ; wade - engine_flag wDailyRematchFlags, 8 ; ralph - engine_flag wDailyRematchFlags, 9 ; liz - engine_flag wDailyRematchFlags, 10 ; anthony - engine_flag wDailyRematchFlags, 11 ; todd - engine_flag wDailyRematchFlags, 12 ; gina - engine_flag wDailyRematchFlags, 13 ; arnie - engine_flag wDailyRematchFlags, 14 ; alan - engine_flag wDailyRematchFlags, 15 ; dana - engine_flag wDailyRematchFlags, 16 ; chad - engine_flag wDailyRematchFlags, 17 ; tully - engine_flag wDailyRematchFlags, 18 ; brent - engine_flag wDailyRematchFlags, 19 ; tiffany - engine_flag wDailyRematchFlags, 20 ; vance - engine_flag wDailyRematchFlags, 21 ; wilton - engine_flag wDailyRematchFlags, 22 ; parry - engine_flag wDailyRematchFlags, 23 ; erin + ; engine_flag wDailyRematchFlags, 0 ; jack + ; engine_flag wDailyRematchFlags, 1 ; huey - engine_flag wDailyPhoneItemFlags, 0 ; beverly has nugget - engine_flag wDailyPhoneItemFlags, 1 ; jose has star piece - engine_flag wDailyPhoneItemFlags, 2 ; wade has item (see EVENT_WADE_HAS_*** in constants/event_flags.asm) - engine_flag wDailyPhoneItemFlags, 3 ; gina has leaf stone - engine_flag wDailyPhoneItemFlags, 4 ; alan has fire stone - engine_flag wDailyPhoneItemFlags, 5 ; liz has thunderstone - engine_flag wDailyPhoneItemFlags, 6 ; derek has nugget - engine_flag wDailyPhoneItemFlags, 7 ; tully has water stone - engine_flag wDailyPhoneItemFlags, 8 ; tiffany has pink bow - engine_flag wDailyPhoneItemFlags, 9 ; wilton has item (see EVENT_WILTON_HAS_*** in constants/event_flags.asm) + ; engine_flag wDailyPhoneItemFlags, 0 ; beverly has nugget + ; engine_flag wDailyPhoneItemFlags, 1 ; jose has star piece - engine_flag wDailyPhoneTimeOfDayFlags, 0 ; jack - engine_flag wDailyPhoneTimeOfDayFlags, 1 ; huey - engine_flag wDailyPhoneTimeOfDayFlags, 2 ; gaven - engine_flag wDailyPhoneTimeOfDayFlags, 3 ; beth - engine_flag wDailyPhoneTimeOfDayFlags, 4 ; jose - engine_flag wDailyPhoneTimeOfDayFlags, 5 ; reena - engine_flag wDailyPhoneTimeOfDayFlags, 6 ; joey - engine_flag wDailyPhoneTimeOfDayFlags, 7 ; wade - engine_flag wDailyPhoneTimeOfDayFlags, 8 ; ralph - engine_flag wDailyPhoneTimeOfDayFlags, 9 ; liz - engine_flag wDailyPhoneTimeOfDayFlags, 10 ; anthony - engine_flag wDailyPhoneTimeOfDayFlags, 11 ; todd - engine_flag wDailyPhoneTimeOfDayFlags, 12 ; gina - engine_flag wDailyPhoneTimeOfDayFlags, 13 ; arnie - engine_flag wDailyPhoneTimeOfDayFlags, 14 ; alan - engine_flag wDailyPhoneTimeOfDayFlags, 15 ; dana - engine_flag wDailyPhoneTimeOfDayFlags, 16 ; chad - engine_flag wDailyPhoneTimeOfDayFlags, 17 ; tully - engine_flag wDailyPhoneTimeOfDayFlags, 18 ; brent - engine_flag wDailyPhoneTimeOfDayFlags, 19 ; tiffany - engine_flag wDailyPhoneTimeOfDayFlags, 20 ; vance - engine_flag wDailyPhoneTimeOfDayFlags, 21 ; wilton - engine_flag wDailyPhoneTimeOfDayFlags, 22 ; parry - engine_flag wDailyPhoneTimeOfDayFlags, 23 ; erin + ; engine_flag wDailyPhoneTimeOfDayFlags, 0 ; jack + ; engine_flag wDailyPhoneTimeOfDayFlags, 1 ; huey engine_flag wPlayerSpriteSetupFlags, PLAYERSPRITESETUP_FEMALE_TO_MALE_F diff --git a/data/maps/landmarks.asm b/data/maps/landmarks.asm index 96a71739b..f5f98f686 100644 --- a/data/maps/landmarks.asm +++ b/data/maps/landmarks.asm @@ -11,5 +11,5 @@ Landmarks: landmark 140, 100, Level1LandmarkName assert_table_length NUM_LANDMARKS -Level1LandmarkName: db "LEVEL 1@" SpecialLandmarkName: db "SPECIAL@" +Level1LandmarkName: db "LEVEL 1@" diff --git a/engine/events/std_scripts.asm b/engine/events/std_scripts.asm index 82fccfa9a..beb6eba36 100644 --- a/engine/events/std_scripts.asm +++ b/engine/events/std_scripts.asm @@ -58,8 +58,6 @@ StdScripts:: add_stdscript HappinessCheckScript PokecenterNurseScript: -; EVENT_WELCOMED_TO_POKECOM_CENTER is never set - opentext checktime MORN iftrue .morn @@ -70,42 +68,21 @@ PokecenterNurseScript: sjump .ok .morn - checkevent EVENT_WELCOMED_TO_POKECOM_CENTER - iftrue .morn_comcenter farwritetext NurseMornText promptbutton sjump .ok -.morn_comcenter - farwritetext PokeComNurseMornText - promptbutton - sjump .ok .day - checkevent EVENT_WELCOMED_TO_POKECOM_CENTER - iftrue .day_comcenter farwritetext NurseDayText promptbutton sjump .ok -.day_comcenter - farwritetext PokeComNurseDayText - promptbutton - sjump .ok .nite - checkevent EVENT_WELCOMED_TO_POKECOM_CENTER - iftrue .nite_comcenter farwritetext NurseNiteText promptbutton sjump .ok -.nite_comcenter - farwritetext PokeComNurseNiteText - promptbutton - sjump .ok .ok - ; only do this once - clearevent EVENT_WELCOMED_TO_POKECOM_CENTER - farwritetext NurseAskHealText yesorno iffalse .done @@ -147,20 +124,9 @@ PokecenterNurseScript: end .pokerus - ; already cleared earlier in the script - checkevent EVENT_WELCOMED_TO_POKECOM_CENTER - iftrue .pokerus_comcenter farwritetext NursePokerusText waitbutton closetext - sjump .pokerus_done - -.pokerus_comcenter - farwritetext PokeComNursePokerusText - waitbutton - closetext - -.pokerus_done setflag ENGINE_CAUGHT_POKERUS end @@ -289,29 +255,18 @@ DayToTextScript: db "SATURDAY@" GoldenrodRocketsScript: - clearevent EVENT_GOLDENROD_CITY_ROCKET_TAKEOVER end RadioTowerRocketsScript: - setflag ENGINE_ROCKETS_IN_RADIO_TOWER - setevent EVENT_GOLDENROD_CITY_CIVILIANS - setevent EVENT_RADIO_TOWER_BLACKBELT_BLOCKS_STAIRS - clearevent EVENT_RADIO_TOWER_ROCKET_TAKEOVER - clearevent EVENT_USED_THE_CARD_KEY_IN_THE_RADIO_TOWER - setevent EVENT_MAHOGANY_TOWN_POKEFAN_M_BLOCKS_EAST end BugContestResultsWarpScript: special ClearBGPalettes scall BugContestResults_CopyContestantsToResults - setevent EVENT_ROUTE_36_NATIONAL_PARK_GATE_OFFICER_CONTEST_DAY - clearevent EVENT_ROUTE_36_NATIONAL_PARK_GATE_OFFICER_NOT_CONTEST_DAY - setevent EVENT_WARPED_FROM_ROUTE_35_NATIONAL_PARK_GATE applymovement PLAYER, Movement_ContestResults_WalkAfterWarp BugContestResultsScript: clearflag ENGINE_BUG_CONTEST_TIMER - clearevent EVENT_WARPED_FROM_ROUTE_35_NATIONAL_PARK_GATE clearevent EVENT_CONTEST_OFFICER_HAS_SUN_STONE clearevent EVENT_CONTEST_OFFICER_HAS_EVERSTONE clearevent EVENT_CONTEST_OFFICER_HAS_GOLD_BERRY @@ -471,141 +426,6 @@ BugContestResults_CopyContestantsToResults: end InitializeEventsScript: - setevent EVENT_EARLS_ACADEMY_EARL - setevent EVENT_RADIO_TOWER_ROCKET_TAKEOVER - setevent EVENT_GOLDENROD_CITY_ROCKET_TAKEOVER - setevent EVENT_RADIO_TOWER_CIVILIANS_AFTER - setevent EVENT_ILEX_FOREST_APPRENTICE - setevent EVENT_ILEX_FOREST_FARFETCHD - setevent EVENT_ILEX_FOREST_CHARCOAL_MASTER - setevent EVENT_MAHOGANY_MART_LANCE_AND_DRAGONITE - setevent EVENT_TEAM_ROCKET_BASE_B2F_GRUNT_WITH_EXECUTIVE - setevent EVENT_TEAM_ROCKET_BASE_B2F_EXECUTIVE - setevent EVENT_TEAM_ROCKET_BASE_B2F_DRAGONITE - setevent EVENT_RIVAL_TEAM_ROCKET_BASE - setevent EVENT_BLACKTHORN_CITY_SUPER_NERD_DOES_NOT_BLOCK_GYM - setevent EVENT_USED_THE_CARD_KEY_IN_THE_RADIO_TOWER - setevent EVENT_RIVAL_CHERRYGROVE_CITY - setevent EVENT_RIVAL_AZALEA_TOWN - setevent EVENT_RIVAL_GOLDENROD_UNDERGROUND - setevent EVENT_AZALEA_TOWN_SLOWPOKES - setevent EVENT_KURTS_HOUSE_SLOWPOKE - setevent EVENT_GUIDE_GENT_VISIBLE_IN_CHERRYGROVE - setevent EVENT_ELMS_AIDE_IN_VIOLET_POKEMON_CENTER - setevent EVENT_COP_IN_ELMS_LAB - setevent EVENT_RUINS_OF_ALPH_OUTSIDE_SCIENTIST - setevent EVENT_RUINS_OF_ALPH_RESEARCH_CENTER_SCIENTIST - setevent EVENT_BOULDER_IN_ICE_PATH_1A - setevent EVENT_BOULDER_IN_ICE_PATH_2A - setevent EVENT_BOULDER_IN_ICE_PATH_3A - setevent EVENT_BOULDER_IN_ICE_PATH_4A - setevent EVENT_ROUTE_30_YOUNGSTER_JOEY - setevent EVENT_BUG_CATCHING_CONTESTANT_1A - setevent EVENT_BUG_CATCHING_CONTESTANT_2A - setevent EVENT_BUG_CATCHING_CONTESTANT_3A - setevent EVENT_BUG_CATCHING_CONTESTANT_4A - setevent EVENT_BUG_CATCHING_CONTESTANT_5A - setevent EVENT_BUG_CATCHING_CONTESTANT_6A - setevent EVENT_BUG_CATCHING_CONTESTANT_7A - setevent EVENT_BUG_CATCHING_CONTESTANT_8A - setevent EVENT_BUG_CATCHING_CONTESTANT_9A - setevent EVENT_BUG_CATCHING_CONTESTANT_10A - setevent EVENT_BUG_CATCHING_CONTESTANT_1B - setevent EVENT_BUG_CATCHING_CONTESTANT_2B - setevent EVENT_BUG_CATCHING_CONTESTANT_3B - setevent EVENT_BUG_CATCHING_CONTESTANT_4B - setevent EVENT_BUG_CATCHING_CONTESTANT_5B - setevent EVENT_BUG_CATCHING_CONTESTANT_6B - setevent EVENT_BUG_CATCHING_CONTESTANT_7B - setevent EVENT_BUG_CATCHING_CONTESTANT_8B - setevent EVENT_BUG_CATCHING_CONTESTANT_9B - setevent EVENT_BUG_CATCHING_CONTESTANT_10B - setevent EVENT_FAST_SHIP_1F_GENTLEMAN - setevent EVENT_FAST_SHIP_B1F_SAILOR_RIGHT - setevent EVENT_FAST_SHIP_CABINS_NNW_NNE_NE_SAILOR - setevent EVENT_LAKE_OF_RAGE_CIVILIANS - setevent EVENT_MAHOGANY_MART_OWNERS - setevent EVENT_TIN_TOWER_ROOF_HO_OH - setevent EVENT_WHIRL_ISLAND_LUGIA_CHAMBER_LUGIA - setevent EVENT_PLAYERS_HOUSE_2F_CONSOLE - setevent EVENT_PLAYERS_HOUSE_2F_DOLL_1 - setevent EVENT_PLAYERS_HOUSE_2F_DOLL_2 - setevent EVENT_PLAYERS_HOUSE_2F_BIG_DOLL - setevent EVENT_DECO_BED_1 - setevent EVENT_DECO_POSTER_1 - setevent EVENT_GOLDENROD_TRAIN_STATION_GENTLEMAN - setevent EVENT_OLIVINE_GYM_JASMINE - setevent EVENT_BLACKTHORN_CITY_GRAMPS_NOT_BLOCKING_DRAGONS_DEN - setevent EVENT_MET_BILL - setevent EVENT_ECRUTEAK_POKE_CENTER_BILL - setevent EVENT_MYSTERY_GIFT_DELIVERY_GUY - setevent EVENT_LAKE_OF_RAGE_LANCE - setevent EVENT_GOLDENROD_DEPT_STORE_B1F_LAYOUT_1 - setevent EVENT_GOLDENROD_UNDERGROUND_WAREHOUSE_BLOCKED_OFF - setevent EVENT_DRAGONS_DEN_CLAIR - setevent EVENT_RIVAL_OLIVINE_CITY - setevent EVENT_RIVAL_VICTORY_ROAD - setevent EVENT_RIVAL_DRAGONS_DEN - setevent EVENT_LANCES_ROOM_OAK_AND_MARY - setevent EVENT_FAST_SHIP_CABINS_SE_SSE_CAPTAINS_CABIN_TWIN_1 - setevent EVENT_BURNED_TOWER_B1F_BEASTS_1 - setevent EVENT_RED_IN_MT_SILVER - setevent EVENT_OLIVINE_PORT_SPRITES_AFTER_HALL_OF_FAME - setevent EVENT_FAST_SHIP_PASSENGERS_EASTBOUND - setevent EVENT_FAST_SHIP_PASSENGERS_WESTBOUND - setevent EVENT_OLIVINE_PORT_PASSAGE_POKEFAN_M - setevent EVENT_KURTS_HOUSE_KURT_2 - setevent EVENT_KURTS_HOUSE_GRANDDAUGHTER_2 - setevent EVENT_RANG_CLEAR_BELL_1 - setevent EVENT_FLORIA_AT_FLOWER_SHOP - setevent EVENT_FLORIA_AT_SUDOWOODO - setevent EVENT_GOLDENROD_CITY_MOVE_TUTOR - setevent EVENT_RUINS_OF_ALPH_OUTSIDE_TOURIST_FISHER - setevent EVENT_RUINS_OF_ALPH_OUTSIDE_TOURIST_YOUNGSTERS - setevent EVENT_DRAGON_SHRINE_CLAIR - setevent EVENT_BATTLE_TOWER_BATTLE_ROOM_YOUNGSTER - setevent EVENT_PLAYERS_NEIGHBORS_HOUSE_NEIGHBOR - setevent EVENT_AZALEA_TOWN_KURT - setevent EVENT_AZALEA_TOWN_KURT - setevent EVENT_ILEX_FOREST_KURT - setevent EVENT_ROUTE_34_ILEX_FOREST_GATE_TEACHER_IN_WALKWAY - setevent EVENT_ILEX_FOREST_LASS - setevent EVENT_GOLDENROD_SALE_OFF - setevent EVENT_ECRUTEAK_CITY_GRAMPS - setevent EVENT_EUSINE_IN_BURNED_TOWER - setevent EVENT_PLAYERS_HOUSE_MOM_2 - setevent EVENT_WISE_TRIOS_ROOM_WISE_TRIO_2 - setevent EVENT_CIANWOOD_CITY_EUSINE - setevent EVENT_TIN_TOWER_1F_EUSINE - setevent EVENT_TIN_TOWER_1F_WISE_TRIO_1 - setevent EVENT_TIN_TOWER_1F_WISE_TRIO_2 - setevent EVENT_SET_WHEN_FOUGHT_HO_OH - setevent EVENT_SAW_SUICUNE_ON_ROUTE_36 - setevent EVENT_SAW_SUICUNE_ON_ROUTE_42 - setevent EVENT_SAW_SUICUNE_AT_CIANWOOD_CITY - setevent EVENT_BATTLE_TOWER_OPEN_CIVILIANS - setflag ENGINE_ROCKET_SIGNAL_ON_CH20 - setflag ENGINE_ROCKETS_IN_MAHOGANY - variablesprite SPRITE_WEIRD_TREE, SPRITE_SUDOWOODO - variablesprite SPRITE_OLIVINE_RIVAL, SPRITE_RIVAL - variablesprite SPRITE_AZALEA_ROCKET, SPRITE_ROCKET - variablesprite SPRITE_FUCHSIA_GYM_1, SPRITE_JANINE - variablesprite SPRITE_FUCHSIA_GYM_2, SPRITE_JANINE - variablesprite SPRITE_FUCHSIA_GYM_3, SPRITE_JANINE - variablesprite SPRITE_FUCHSIA_GYM_4, SPRITE_JANINE - variablesprite SPRITE_COPYCAT, SPRITE_LASS - variablesprite SPRITE_JANINE_IMPERSONATOR, SPRITE_LASS - setevent EVENT_FOUND_MACHINE_PART_IN_CERULEAN_GYM - setevent EVENT_CERULEAN_GYM_ROCKET - setevent EVENT_ROUTE_24_ROCKET - setevent EVENT_ROUTE_25_MISTY_BOYFRIEND - setevent EVENT_TRAINERS_IN_CERULEAN_GYM - setevent EVENT_COPYCATS_HOUSE_2F_DOLL - setevent EVENT_VIRIDIAN_GYM_BLUE - setevent EVENT_SEAFOAM_GYM_GYM_GUIDE - setevent EVENT_MT_MOON_SQUARE_CLEFAIRY - setevent EVENT_SAFFRON_TRAIN_STATION_POPULATION - setevent EVENT_INDIGO_PLATEAU_POKECENTER_RIVAL setevent EVENT_INITIALIZED_EVENTS endcallback diff --git a/engine/overworld/time.asm b/engine/overworld/time.asm index 79b9e5359..837a4dc28 100644 --- a/engine/overworld/time.asm +++ b/engine/overworld/time.asm @@ -110,18 +110,6 @@ CheckDailyResetTimer:: ld [hli], a ; wDailyFlags2 ld [hli], a ; wSwarmFlags ld [hl], a ; wSwarmFlags + 1 - ld hl, wDailyRematchFlags -rept 4 - ld [hli], a -endr - ld hl, wDailyPhoneItemFlags -rept 4 - ld [hli], a -endr - ld hl, wDailyPhoneTimeOfDayFlags -rept 4 - ld [hli], a -endr ld hl, wKenjiBreakTimer ld a, [hl] and a diff --git a/engine/pokegear/pokegear.asm b/engine/pokegear/pokegear.asm index 68cb06117..b944243b3 100644 --- a/engine/pokegear/pokegear.asm +++ b/engine/pokegear/pokegear.asm @@ -520,12 +520,13 @@ PokegearMap_Init: ret PokegearMap_KantoMap: - call TownMap_GetKantoLandmarkLimits + ld d, NUM_LANDMARKS - 1 + ld e, LANDMARK_LEVEL_1 jr PokegearMap_ContinueMap PokegearMap_JohtoMap: - ld d, LANDMARK_SPECIAL - ld e, LANDMARK_SPECIAL + ld d, NUM_LANDMARKS - 1 + ld e, LANDMARK_LEVEL_1 PokegearMap_ContinueMap: ld hl, hJoyLast ld a, [hl] @@ -683,19 +684,6 @@ PokegearMap_UpdateCursorPosition: ld [hl], d ret -TownMap_GetKantoLandmarkLimits: - ld a, [wStatusFlags] - bit STATUSFLAGS_HALL_OF_FAME_F, a - jr z, .not_hof - ld d, LANDMARK_SPECIAL - ld e, LANDMARK_SPECIAL - ret - -.not_hof - ld d, LANDMARK_SPECIAL - ld e, LANDMARK_SPECIAL - ret - PokegearRadio_Init: call InitPokegearTilemap depixel 4, 10, 4, 4 diff --git a/engine/pokemon/breeding.asm b/engine/pokemon/breeding.asm index e138befae..de3a61edb 100644 --- a/engine/pokemon/breeding.asm +++ b/engine/pokemon/breeding.asm @@ -235,15 +235,6 @@ HatchEggs: dec a call SetSeenAndCaughtMon - ld a, [wCurPartySpecies] - cp TOGEPI - jr nz, .nottogepi - ; set the event flag for hatching togepi - ld de, EVENT_TOGEPI_HATCHED - ld b, SET_FLAG - call EventFlagAction -.nottogepi - pop de ld a, [wCurPartySpecies] diff --git a/maps/Level1_Map1.asm b/maps/Level1_Map1.asm index d738aa63e..e75d3c7da 100755 --- a/maps/Level1_Map1.asm +++ b/maps/Level1_Map1.asm @@ -81,7 +81,7 @@ Level1_Map1_MapEvents: bg_event 6, 0, BGEVENT_IFSET, PlayersHousePosterScript def_object_events - object_event 4, 2, SPRITE_CONSOLE, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, PlayersHouseGameConsoleScript, EVENT_PLAYERS_HOUSE_2F_CONSOLE - object_event 4, 4, SPRITE_DOLL_1, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, PlayersHouseDoll1Script, EVENT_PLAYERS_HOUSE_2F_DOLL_1 - object_event 5, 4, SPRITE_DOLL_2, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, PlayersHouseDoll2Script, EVENT_PLAYERS_HOUSE_2F_DOLL_2 - object_event 0, 1, SPRITE_BIG_DOLL, SPRITEMOVEDATA_BIGDOLL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, PlayersHouseBigDollScript, EVENT_PLAYERS_HOUSE_2F_BIG_DOLL \ No newline at end of file + object_event 4, 2, SPRITE_CONSOLE, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, PlayersHouseGameConsoleScript, -1 + object_event 4, 4, SPRITE_DOLL_1, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, PlayersHouseDoll1Script, -1 + object_event 5, 4, SPRITE_DOLL_2, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, PlayersHouseDoll2Script, -1 + object_event 0, 1, SPRITE_BIG_DOLL, SPRITEMOVEDATA_BIGDOLL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, PlayersHouseBigDollScript, -1 \ No newline at end of file diff --git a/ram/wram.asm b/ram/wram.asm index e990ff5b8..60ee85585 100644 --- a/ram/wram.asm +++ b/ram/wram.asm @@ -2628,15 +2628,9 @@ wdc41:: ds 1 wdc42:: ds 8 wBuenasPassword:: db wBlueCardBalance:: db -wDailyRematchFlags:: ds 4 -wDailyPhoneItemFlags:: ds 4 -wDailyPhoneTimeOfDayFlags:: ds 4 wKenjiBreakTimer:: ds 2 ; Kenji wYanmaMapGroup:: db wYanmaMapNumber:: db -wPlayerMonSelection:: ds 3 -wdc5f:: db -wdc60:: db ds 18