Add if (obtained & CTRL) skip to FillDex

Satisfies https://projectpokemon.org/forums/showthread.php?48120
This commit is contained in:
Kaphotics
2016-02-05 22:11:34 -08:00
parent 64d29e3278
commit 9facabd945
2 changed files with 2 additions and 0 deletions

View File

@@ -280,6 +280,7 @@ private void B_FillDex_Click(object sender, EventArgs e)
for (int i = 0; i < CB_Species.Items.Count; i++)
{
CB_Species.SelectedIndex = i;
if (ModifierKeys == Keys.Control && CHK_P1.Checked) continue;
B_GiveAll.PerformClick();
}

View File

@@ -307,6 +307,7 @@ private void B_FillDex_Click(object sender, EventArgs e)
for (int i = 0; i < CB_Species.Items.Count; i++)
{
CB_Species.SelectedIndex = i;
if (ModifierKeys == Keys.Control && (CHK_P1.Checked || CHK_F1.Checked)) continue;
B_GiveAll.PerformClick();
}