From 6018e112337b27de964c78c3cfd3bc4d3e83c1f7 Mon Sep 17 00:00:00 2001 From: Dean <69436131+emdeann@users.noreply.github.com> Date: Sat, 2 Aug 2025 16:55:41 -0700 Subject: [PATCH] Use message directly instead of as key in tag --- src/data/arena-tag.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/data/arena-tag.ts b/src/data/arena-tag.ts index 88e31fdfb78..079878b1300 100644 --- a/src/data/arena-tag.ts +++ b/src/data/arena-tag.ts @@ -1556,8 +1556,8 @@ interface PendingHealEffect { readonly moveId: MoveId; /** If `true`, also restores the target's PP when the effect activates. */ readonly restorePP: boolean; - /** The `i18n` key for the message to display when the effect activates */ - readonly healMessageKey: string; + /** The message to display when the effect activates */ + readonly healMessage: string; } /** @@ -1627,7 +1627,7 @@ export class PendingHealTag extends ArenaTag { const healEffect = targetEffects?.find(effect => this.canApply(effect, pokemon)); if (targetEffects && healEffect) { - const { sourceId, moveId, restorePP, healMessageKey } = healEffect; + const { sourceId, moveId, restorePP, healMessage } = healEffect; const sourcePokemon = globalScene.getPokemonById(sourceId); if (!sourcePokemon) { console.warn(`Source of pending ${allMoves[moveId].name} effect is undefined!`); @@ -1640,7 +1640,7 @@ export class PendingHealTag extends ArenaTag { "PokemonHealPhase", targetIndex, pokemon.getMaxHp(), - i18next.t(healMessageKey, { pokemonName: getPokemonNameWithAffix(sourcePokemon) }), + healMessage, true, false, false,