From e609081892d7d34abe5db5816aba03da28f5e278 Mon Sep 17 00:00:00 2001 From: Kurt Date: Wed, 12 Mar 2025 00:57:11 -0500 Subject: [PATCH] cxd: fix enc->pk3 with criteria IVs set not sure why this unroll was in there... now works as intended. --- PKHeX.Core/Legality/RNG/CXD/MethodCXD.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/PKHeX.Core/Legality/RNG/CXD/MethodCXD.cs b/PKHeX.Core/Legality/RNG/CXD/MethodCXD.cs index d3ef44450..e6f2d0e72 100644 --- a/PKHeX.Core/Legality/RNG/CXD/MethodCXD.cs +++ b/PKHeX.Core/Legality/RNG/CXD/MethodCXD.cs @@ -31,8 +31,7 @@ public static class MethodCXD if (criteria.IsSpecifiedGender() && !criteria.IsSatisfiedGender(EntityGender.GetFromPIDAndRatio(pid, gr))) continue; - var origin = XDRNG.Prev(seed); - var pidiv = new PIDIV(PIDType.CXD, origin); + var pidiv = new PIDIV(PIDType.CXD, seed); var result = LockFinder.IsAllShadowLockValid(enc, pidiv, pk); if (!result) continue;