mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-02 15:53:11 -05:00
No message for use of Rest (#1184)
This commit is contained in:
@@ -481,6 +481,10 @@ class BattleTextParser {
|
||||
case '-status': {
|
||||
const [, pokemon, status] = args;
|
||||
const line1 = this.maybeAbility(kwArgs.from, kwArgs.of || pokemon);
|
||||
if (this.effectId(kwArgs.from) === 'rest') {
|
||||
const template = this.template('startFromRest', status);
|
||||
return line1 + template.replace('[POKEMON]', this.pokemon(pokemon));
|
||||
}
|
||||
const template = this.template('start', status);
|
||||
return line1 + template.replace('[POKEMON]', this.pokemon(pokemon));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user