From 20295da9123a3acb34d4d62d26cd97ddfccfa49e Mon Sep 17 00:00:00 2001 From: Lylian Date: Mon, 19 Aug 2024 22:43:31 +0200 Subject: [PATCH] nit --- src/data/ability.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/data/ability.ts b/src/data/ability.ts index c4f761b0332..0ee7b0b6893 100755 --- a/src/data/ability.ts +++ b/src/data/ability.ts @@ -2259,10 +2259,8 @@ export class PostSummonTransformAbAttr extends PostSummonAbAttr { let target: Pokemon = targets[0]; if (targets.length > 1) { pokemon.scene.executeWithSeedOffset(() => target = Utils.randSeedItem(targets), pokemon.scene.currentBattle.waveIndex); - } else if (targets.length === 1) { - target = targets[0]; } else { - return false; + target = targets[0]; } if (target.battleData.illusion.active) {