mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-09-14 14:45:17 -05:00
IVs and Fateful Encounter
This commit is contained in:
@@ -261,8 +261,8 @@ public PK6 convertToPK6(SAV6 SAV)
|
||||
RIB4_3 = RIB0_2, // National Champ Ribbon
|
||||
RIB4_4 = RIB1_0, // World Champ Ribbon
|
||||
|
||||
// Memories
|
||||
OT_Friendship = PKX.getBaseFriendship(Species),
|
||||
FatefulEncounter = true,
|
||||
};
|
||||
if (pk.CurrentHandler == 0) // OT
|
||||
{
|
||||
@@ -301,7 +301,7 @@ public PK6 convertToPK6(SAV6 SAV)
|
||||
finalIVs[i] = IVs[i];
|
||||
break;
|
||||
} // more than 3 definable IVs and not enough flawless IVs
|
||||
} while (IVs.Count(r => r > 31) < 3 && finalIVs.Count(r => r == 31) < 3);
|
||||
} while (IVs.Count(r => r > 31) > 3 && finalIVs.Count(r => r == 31) < 3);
|
||||
pk.IVs = finalIVs;
|
||||
|
||||
int av = 0;
|
||||
|
||||
Reference in New Issue
Block a user