Skip to content

Commit

Permalink
IVs and Fateful Encounter
Browse files Browse the repository at this point in the history
  • Loading branch information
kwsch committed Nov 27, 2015
1 parent d2103a9 commit 864c5bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Misc/WC6.cs
Expand Up @@ -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
{
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 864c5bf

Please sign in to comment.