IVs and Fateful Encounter

This commit is contained in:
Kurt
2015-11-26 19:14:41 -08:00
parent d2103a96b3
commit 864c5bfd65

View File

@@ -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;