This commit is contained in:
Bertie690 2025-07-25 19:42:11 -04:00
parent a1c718322f
commit c36394b781

View File

@ -926,6 +926,10 @@ class ToxicSpikesTag extends ArenaTrapTag {
return false; return false;
} }
if (simulated) {
return true;
}
// poison types will neutralize toxic spikes // poison types will neutralize toxic spikes
if (pokemon.isOfType(PokemonType.POISON)) { if (pokemon.isOfType(PokemonType.POISON)) {
this.#neutralized = true; this.#neutralized = true;
@ -944,6 +948,7 @@ class ToxicSpikesTag extends ArenaTrapTag {
return false; return false;
} }
// TODO: pass quiet to the function
return pokemon.trySetStatus( return pokemon.trySetStatus(
this.layers === 1 ? StatusEffect.POISON : StatusEffect.TOXIC, this.layers === 1 ? StatusEffect.POISON : StatusEffect.TOXIC,
null, null,