mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-01 15:27:15 -05:00
fix unown bade check
! =
This commit is contained in:
@@ -151,7 +151,7 @@ private static bool getLCRNGUnownMatch(uint top, uint bot, uint[] IVs, out PIDIV
|
||||
|
||||
var E = RNG.LCRNG.Next(D);
|
||||
var ivE = E >> 16 & 0x7FFF;
|
||||
if (iv2 != ivE) // BADE
|
||||
if (iv2 == ivE) // BADE
|
||||
{
|
||||
pidiv = new PIDIV {OriginSeed = seed, RNG = RNG.LCRNG, Type = PIDType.Method_2_Unown};
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user