Fix friendship reverting

changing how the code worked ;)
This commit is contained in:
Kurt 2014-11-16 08:13:52 -08:00
parent 9145578597
commit 068becc050

View file

@ -3233,7 +3233,7 @@ namespace PKHeX
if (!CHK_Nicknamed.Checked) if (!CHK_Nicknamed.Checked)
updateNickname(null, null); updateNickname(null, null);
TB_Friendship.Text = ((int)PKX.Friendship().Rows[Util.getIndex(CB_Species)][1]).ToString(); TB_Friendship.Text = PKX.getBaseFriendship(Util.getIndex(CB_Species)).ToString();
if (CB_EggLocation.SelectedIndex == 0) if (CB_EggLocation.SelectedIndex == 0)
{ {