From 9facabd945ea62c3e686758fc3d5226924aa1370 Mon Sep 17 00:00:00 2001 From: Kaphotics Date: Fri, 5 Feb 2016 22:11:34 -0800 Subject: [PATCH] Add if (obtained & CTRL) skip to FillDex Satisfies https://projectpokemon.org/forums/showthread.php?48120 --- SAV/SAV_PokedexORAS.cs | 1 + SAV/SAV_PokedexXY.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/SAV/SAV_PokedexORAS.cs b/SAV/SAV_PokedexORAS.cs index 373aa8d52..b5b844399 100644 --- a/SAV/SAV_PokedexORAS.cs +++ b/SAV/SAV_PokedexORAS.cs @@ -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(); } diff --git a/SAV/SAV_PokedexXY.cs b/SAV/SAV_PokedexXY.cs index cc0cbe536..23adc9fd9 100644 --- a/SAV/SAV_PokedexXY.cs +++ b/SAV/SAV_PokedexXY.cs @@ -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(); }