Gen IV: Fix Toxic Spikes interaction with Safeguard

This commit is contained in:
Marty-D
2016-03-10 11:25:44 -05:00
parent 56da976d87
commit f567c1ec90

View File

@@ -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]);
}
},
},