From 13e7f7907961215b7dd74ab3fa13d7432bc4bb2c Mon Sep 17 00:00:00 2001 From: ImperialSympathizer Date: Fri, 23 Aug 2024 17:22:22 -0400 Subject: [PATCH] small change to teleporting hijinks dialogue --- .../encounters/teleporting-hijinks-encounter.ts | 3 ++- .../en/mystery-encounters/teleporting-hijinks-dialogue.ts | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/data/mystery-encounters/encounters/teleporting-hijinks-encounter.ts b/src/data/mystery-encounters/encounters/teleporting-hijinks-encounter.ts index e4bc8b499bb..346a736fbe9 100644 --- a/src/data/mystery-encounters/encounters/teleporting-hijinks-encounter.ts +++ b/src/data/mystery-encounters/encounters/teleporting-hijinks-encounter.ts @@ -25,6 +25,7 @@ const namespace = "mysteryEncounter:teleportingHijinks"; const MONEY_COST_MULTIPLIER = 2.5; const BIOME_CANDIDATES = [Biome.SPACE, Biome.FAIRY_CAVE, Biome.LABORATORY, Biome.ISLAND]; +const MACHINE_INTERFACING_TYPES = [Type.ELECTRIC, Type.FLYING]; /** * Teleporting Hijinks encounter. @@ -92,7 +93,7 @@ export const TeleportingHijinksEncounter: MysteryEncounter = .withOption( MysteryEncounterOptionBuilder .newOptionWithMode(MysteryEncounterOptionMode.DISABLED_OR_SPECIAL) - .withPokemonTypeRequirement([Type.ELECTRIC, Type.STEEL], true, 1) // Must have Steel or Electric type + .withPokemonTypeRequirement(MACHINE_INTERFACING_TYPES, true, 1) // Must have Steel or Electric type .withDialogue({ buttonLabel: `${namespace}.option.2.label`, buttonTooltip: `${namespace}.option.2.tooltip`, diff --git a/src/locales/en/mystery-encounters/teleporting-hijinks-dialogue.ts b/src/locales/en/mystery-encounters/teleporting-hijinks-dialogue.ts index 2cf13e21882..4a6c1fc7b08 100644 --- a/src/locales/en/mystery-encounters/teleporting-hijinks-dialogue.ts +++ b/src/locales/en/mystery-encounters/teleporting-hijinks-dialogue.ts @@ -13,7 +13,7 @@ export const teleportingHijinksDialogue = { label: "A Pokémon Helps", tooltip: "(-) {{option2PrimaryName}} Helps\n(+) {{option2PrimaryName}} gains EXP\n(?) Teleport to New Biome", disabled_tooltip: "You need a Steel or Electric Type Pokémon to choose this", - selected: `{{option2PrimaryName}} uses its typing and overloads the machine! + selected: `{{option2PrimaryName}}'s Type allows it to bypass the machine's paywall! $The capsule opens, and you step inside...` }, 3: {