From f77a8ecfbd545ec2013d060888cdf443564da064 Mon Sep 17 00:00:00 2001 From: Kurt Date: Thu, 10 Jun 2021 23:29:03 -0700 Subject: [PATCH] Fix comment wasn't sync'd :( --- PKHeX.Core/PKM/Searching/SearchUtil.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PKHeX.Core/PKM/Searching/SearchUtil.cs b/PKHeX.Core/PKM/Searching/SearchUtil.cs index 3977936e9..1f3667f80 100644 --- a/PKHeX.Core/PKM/Searching/SearchUtil.cs +++ b/PKHeX.Core/PKM/Searching/SearchUtil.cs @@ -57,7 +57,7 @@ public static IEnumerable FilterByLevel(IEnumerable res, SearchCompari public static IEnumerable FilterByEVs(IEnumerable res, int option) => option switch { 1 => res.Where(pk => pk.EVTotal == 0), // None (0) - 2 => res.Where(pk => pk.EVTotal is (not 0) and < 128), // Some (127-0) + 2 => res.Where(pk => pk.EVTotal is (not 0) and < 128), // Some (127-1) 3 => res.Where(pk => pk.EVTotal is >= 128 and < 508), // Half (128-507) 4 => res.Where(pk => pk.EVTotal >= 508), // Full (508+) _ => res