mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-08-28 14:11:08 -05:00
@@ -406,6 +406,7 @@ class BattleTextParser {
|
||||
return line1 + template;
|
||||
}
|
||||
if (kwArgs.from) {
|
||||
line1 = this.maybeAbility(kwArgs.from, pokemon) + line1;
|
||||
const template = this.template('changeAbility', kwArgs.from);
|
||||
return line1 + template.replace('[POKEMON]', this.pokemon(pokemon)).replace('[ABILITY]', this.effect(ability)).replace('[SOURCE]', this.pokemon(kwArgs.of));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user