This commit is contained in:
Lylian 2024-08-26 19:12:05 +02:00
parent 9c4703136c
commit c24359c641

View File

@ -1950,6 +1950,9 @@ export class PostSummonMessageAbAttr extends PostSummonAbAttr {
}
}
/**
* Removes illusions when a Pokemon is summoned.
*/
export class PostSummonRemoveIllusionAbAttr extends PostSummonAbAttr {
applyPostSummon(pokemon: Pokemon, passive: boolean, simulated: boolean, args: any[]): boolean {
pokemon.scene.getField(true).map(pokemon => {