mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-01 23:32:02 -05:00
Allow status to be cured silently (#759)
This commit is contained in:
@@ -4135,7 +4135,9 @@ var Battle = (function () {
|
||||
var ofpoke = this.getPokemon(kwargs.of);
|
||||
poke.status = '';
|
||||
|
||||
if (effect.id) switch (effect.id) {
|
||||
if (kwargs.silent) {
|
||||
// do nothing
|
||||
} else if (effect.id) switch (effect.id) {
|
||||
case 'psychoshift':
|
||||
actions += '' + poke.getName() + ' moved its status onto ' + ofpoke.getLowerName() + '!';
|
||||
this.resultAnim(poke, 'Cured', 'good');
|
||||
|
||||
Reference in New Issue
Block a user