mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-10-01 22:01:41 -05:00
Gen IV: Fix Toxic Spikes interaction with Safeguard
This commit is contained in:
@@ -1193,9 +1193,9 @@ exports.BattleMovedex = {
|
||||
if (pokemon.volatiles['substitute']) {
|
||||
return;
|
||||
} else if (this.effectData.layers >= 2) {
|
||||
pokemon.trySetStatus('tox');
|
||||
pokemon.trySetStatus('tox', pokemon.side.foe.active[0]);
|
||||
} else {
|
||||
pokemon.trySetStatus('psn');
|
||||
pokemon.trySetStatus('psn', pokemon.side.foe.active[0]);
|
||||
}
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user