diff --git a/src/data/berry.ts b/src/data/berry.ts index 12ce146a8dc..2c298b4909f 100644 --- a/src/data/berry.ts +++ b/src/data/berry.ts @@ -40,7 +40,7 @@ export function getBerryPredicate(berryType: BerryType): BerryPredicate { case BerryType.LUM: return (pokemon: Pokemon) => !!pokemon.status || !!pokemon.getTag(BattlerTagType.CONFUSED); case BerryType.ENIGMA: - return (pokemon: Pokemon) => !!pokemon.turnData.attacksReceived.filter(a => a.result === HitResult.SUPER_EFFECTIVE).length; + return (pokemon: Pokemon) => !!pokemon.turnData.attacksReceived.filter(a => a.result === HitResult.SUPER_EFFECTIVE).length && !(pokemon.scene.getCurrentPhase() instanceof TurnEndPhase); case BerryType.LIECHI: case BerryType.GANLON: case BerryType.PETAYA: