From c775495e1f1d36c3f1c29bf1c7f1636db5039ee9 Mon Sep 17 00:00:00 2001 From: ImperialSympathizer Date: Sat, 20 Jul 2024 19:00:29 -0400 Subject: [PATCH] add dialogue bug fixes --- .../mystery-encounters/encounters/fight-or-flight-encounter.ts | 2 -- src/locales/en/mystery-encounters/fight-or-flight-dialogue.ts | 1 - 2 files changed, 3 deletions(-) diff --git a/src/data/mystery-encounters/encounters/fight-or-flight-encounter.ts b/src/data/mystery-encounters/encounters/fight-or-flight-encounter.ts index 3ed7be334ff..7675b204b50 100644 --- a/src/data/mystery-encounters/encounters/fight-or-flight-encounter.ts +++ b/src/data/mystery-encounters/encounters/fight-or-flight-encounter.ts @@ -104,10 +104,8 @@ export const FightOrFlightEncounter: IMysteryEncounter = const primaryPokemon = encounter.options[1].primaryPokemon; if (primaryPokemon) { // Use primaryPokemon to execute the thievery - encounter.options[1].dialogue.buttonLabel = `${namespace}:option:2:label_special`; encounter.options[1].dialogue.buttonTooltip = `${namespace}:option:2:tooltip_special`; } else { - encounter.options[1].dialogue.buttonLabel = `${namespace}:option:2:label`; encounter.options[1].dialogue.buttonTooltip = `${namespace}:option:2:tooltip`; } diff --git a/src/locales/en/mystery-encounters/fight-or-flight-dialogue.ts b/src/locales/en/mystery-encounters/fight-or-flight-dialogue.ts index 6d7f8ee5d61..a7b8b03aab5 100644 --- a/src/locales/en/mystery-encounters/fight-or-flight-dialogue.ts +++ b/src/locales/en/mystery-encounters/fight-or-flight-dialogue.ts @@ -11,7 +11,6 @@ export const fightOrFlightDialogue = { }, 2: { label: "Steal the item", - label_special: "{{option2PrimaryName}} can help", tooltip: "@[SUMMARY_GREEN]{(35%) Steal Item}\n@[SUMMARY_BLUE]{(65%) Harder Battle}", tooltip_special: "(+) {{option2PrimaryName}} uses {{option2PrimaryMove}}", good_result: `.@d{32}.@d{32}.@d{32}