Revert "Uncap max box ID for gen6 not-XY saves"

This reverts commit 9869335151.
This commit is contained in:
Kurt 2017-08-26 08:41:18 -07:00
parent b9a9b6db32
commit 5b0e431347

View file

@ -63,7 +63,7 @@ namespace PKHeX.WinForms
} }
CB_Unlocked.Items.Clear(); CB_Unlocked.Items.Clear();
int max = SAV.BoxCount; int max = SAV.BoxCount;
if (SAV.Generation == 6 && SAV.XY) if (SAV.Generation == 6)
max -= 1; // cover legendary captured unlocks final box, not governed by BoxesUnlocked max -= 1; // cover legendary captured unlocks final box, not governed by BoxesUnlocked
for (int i = 0; i <= max; i++) for (int i = 0; i <= max; i++)
CB_Unlocked.Items.Add(i); CB_Unlocked.Items.Add(i);