mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-06-02 22:08:36 -05:00
Remove Torment volatile when Dynamaxing
This commit is contained in:
parent
bd262b726c
commit
795ce777ec
|
|
@ -727,6 +727,10 @@ let BattleStatuses = {
|
|||
onStart(pokemon) {
|
||||
pokemon.removeVolatile('substitute');
|
||||
if (pokemon.illusion) this.singleEvent('End', this.dex.getAbility('Illusion'), pokemon.abilityData, pokemon);
|
||||
if (pokemon.volatiles['torment']) {
|
||||
delete pokemon.volatiles['torment'];
|
||||
this.add('-end', pokemon, 'Torment', '[silent]');
|
||||
}
|
||||
this.add('-start', pokemon, 'Dynamax');
|
||||
if (pokemon.canGigantamax) this.add('-formechange', pokemon, pokemon.canGigantamax);
|
||||
if (pokemon.species === 'Shedinja') return;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user