From 4bfa0e6110fb36517a57a1b99d35d18f77acd54b Mon Sep 17 00:00:00 2001 From: Frederico Santos Date: Sat, 27 Jul 2024 01:30:04 +0100 Subject: [PATCH] Update src/data/arena-tag.ts Co-authored-by: sirzento --- src/data/arena-tag.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/arena-tag.ts b/src/data/arena-tag.ts index 2676826ff634..d678f36c802a 100644 --- a/src/data/arena-tag.ts +++ b/src/data/arena-tag.ts @@ -677,7 +677,7 @@ class StickyWebTag extends ArenaTrapTag { const cancelled = new Utils.BooleanHolder(false); applyAbAttrs(ProtectStatAbAttr, pokemon, cancelled); if (!cancelled.value) { - pokemon.scene.queueMessage(`The opposing ${getPokemonNameWithAffix(pokemon)} was caught in a sticky web!`); + pokemon.scene.queueMessage(`The opposing ${pokemon.getNameToRender()} was caught in a sticky web!`); const statLevels = new Utils.NumberHolder(-1); pokemon.scene.unshiftPhase(new StatChangePhase(pokemon.scene, pokemon.getBattlerIndex(), false, [BattleStat.SPD], statLevels.value)); }