From 7e49304d0c1843db10a90181a4ec79484d78134b Mon Sep 17 00:00:00 2001 From: Dean Date: Mon, 10 Mar 2025 17:29:30 -0700 Subject: [PATCH] Update PostDefendTypeChangeAbAttr to use PokemonType --- src/data/ability.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/ability.ts b/src/data/ability.ts index 649354e0bee..c9aaeddd593 100644 --- a/src/data/ability.ts +++ b/src/data/ability.ts @@ -917,7 +917,7 @@ export class PostDefendApplyBattlerTagAbAttr extends PostDefendAbAttr { } export class PostDefendTypeChangeAbAttr extends PostDefendAbAttr { - private type: Type; + private type: PokemonType; override canApplyPostDefend(pokemon: Pokemon, passive: boolean, simulated: boolean, attacker: Pokemon, move: Move, hitResult: HitResult, args: any[]): boolean { this.type = attacker.getMoveType(move);