From a7b3344c6d58f14f609b4c74737c0d732d6041c3 Mon Sep 17 00:00:00 2001 From: innerthunder <168692175+innerthunder@users.noreply.github.com> Date: Sat, 14 Sep 2024 05:21:31 -0700 Subject: [PATCH] Fix missing key in "No Effect" message (#4244) --- src/field/pokemon.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/field/pokemon.ts b/src/field/pokemon.ts index 8a305f36d73..43a7090bff5 100644 --- a/src/field/pokemon.ts +++ b/src/field/pokemon.ts @@ -2615,7 +2615,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container { if (result === HitResult.IMMUNE) { this.scene.queueMessage(i18next.t("battle:hitResultImmune", { pokemonName: getPokemonNameWithAffix(this) })); } else { - this.scene.queueMessage(i18next.t("battle:hitResultNoEffect")); + this.scene.queueMessage(i18next.t("battle:hitResultNoEffect", { pokemonName: getPokemonNameWithAffix(this) })); } } return result;