Skip to content

Commit

Permalink
Update src/data/arena-tag.ts
Browse files Browse the repository at this point in the history
Co-authored-by: sirzento <[email protected]>
  • Loading branch information
f-fsantos and sirzento authored Jul 27, 2024
1 parent af82f47 commit 4bfa0e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/data/arena-tag.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
Expand Down

0 comments on commit 4bfa0e6

Please sign in to comment.