[Move] Add Taunt Removal Message #5407

This commit is contained in:
Dean 2025-02-24 08:46:54 -08:00 committed by GitHub
parent 9fb654ce73
commit 5996f8c6eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 6 additions and 0 deletions

View File

@ -2752,6 +2752,12 @@ export class TauntTag extends MoveRestrictionBattlerTag {
globalScene.queueMessage(i18next.t("battlerTags:tauntOnAdd", { pokemonNameWithAffix: getPokemonNameWithAffix(pokemon) }), 1500);
}
public override onRemove(pokemon: Pokemon): void {
super.onRemove(pokemon);
globalScene.queueMessage(i18next.t("battlerTags:tauntOnRemove", { pokemonNameWithAffix: getPokemonNameWithAffix(pokemon) }));
}
/**
* Checks if a move is a status move and determines its restriction status on that basis
* @param {Moves} move the move under investigation