From 666ba485679ef2d150799cbf289bd4bc2a296dde Mon Sep 17 00:00:00 2001 From: frutescens Date: Tue, 17 Sep 2024 09:02:46 -0700 Subject: [PATCH] fix challenge condition --- src/data/challenge.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data/challenge.ts b/src/data/challenge.ts index 77ef9721917..c6443d91f70 100644 --- a/src/data/challenge.ts +++ b/src/data/challenge.ts @@ -789,7 +789,7 @@ export class SmeargleChallenge extends Challenge { } applyPokemonInBattle(pokemon: Pokemon, valid: Utils.BooleanHolder): boolean { - if (pokemon.species.speciesId !== Species.SMEARGLE || pokemon.isFusion()) { + if ((pokemon.species.speciesId !== Species.SMEARGLE || pokemon.isFusion()) && pokemon.isPlayer()) { valid.value = false; return true; }