From d79ca8eae51424e705c053753bc4682d5e76a147 Mon Sep 17 00:00:00 2001 From: The Immortal Date: Wed, 12 Aug 2020 15:22:37 +0400 Subject: [PATCH] Don't show EVs warning for level 1 Pokemon --- sim/team-validator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sim/team-validator.ts b/sim/team-validator.ts index dee1b35abc0c..50cfd327426b 100644 --- a/sim/team-validator.ts +++ b/sim/team-validator.ts @@ -897,7 +897,7 @@ export class TeamValidator { for (const stat in set.evs) totalEV += set.evs[stat as 'hp']; if (!this.format.debug) { - if ((allowEVs || allowAVs) && totalEV === 0) { + if (set.level > 1 && (allowEVs || allowAVs) && totalEV === 0) { problems.push(`${name} has exactly 0 EVs - did you forget to EV it? (If this was intentional, add exactly 1 to one of your EVs, which won't change its stats but will tell us that it wasn't a mistake).`); } else if (allowEVs && !capEVs && [508, 510].includes(totalEV)) { problems.push(`${name} has exactly 510 EVs, but this format does not restrict you to 510 EVs: you can max out every EV (If this was intentional, add exactly 1 to one of your EVs, which won't change its stats but will tell us that it wasn't a mistake).`);