Update pokemon.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
Bertie690 2025-04-29 23:15:08 -04:00 committed by GitHub
parent ffa51715f3
commit 9c85e977ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4952,7 +4952,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
/**
* Find and remove all {@linkcode BattlerTag}s matching the given function.
* @param tagFilter a function dictating which tags to remove
*/
*/
findAndRemoveTags(tagFilter: (tag: BattlerTag) => boolean): void {
const tags = this.summonData.tags;
const tagsToRemove = tags.filter(t => tagFilter(t));