From 2b0aa6e73dfd0b0409b8f2e99f98c4bc32752f1b Mon Sep 17 00:00:00 2001 From: Kurt Date: Mon, 2 Jan 2017 22:18:23 -0800 Subject: [PATCH] Show secret training for gen6->7 transfers only training bag is removed on transfer --- PKHeX/Subforms/PKM Editors/SuperTrainingEditor.cs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/PKHeX/Subforms/PKM Editors/SuperTrainingEditor.cs b/PKHeX/Subforms/PKM Editors/SuperTrainingEditor.cs index 820dc6912..0919e5bb2 100644 --- a/PKHeX/Subforms/PKM Editors/SuperTrainingEditor.cs +++ b/PKHeX/Subforms/PKM Editors/SuperTrainingEditor.cs @@ -24,6 +24,11 @@ public SuperTrainingEditor() TLP_SuperTrain.ResumeLayout(); TLP_DistSuperTrain.ResumeLayout(); + CHK_SecretUnlocked.Checked = pkm.SecretSuperTrainingUnlocked; + CHK_SecretComplete.Checked = pkm.SecretSuperTrainingComplete; + if (!CHK_SecretUnlocked.Checked) // force update to disable checkboxes + CHK_Secret_CheckedChanged(null, null); + if (pkm is PK6) { CB_Bag.Items.Clear(); @@ -32,10 +37,6 @@ public SuperTrainingEditor() CB_Bag.Items.Add(Main.GameStrings.trainingbags[i]); PK6 pk6 = (PK6) pkm; - CHK_SecretUnlocked.Checked = pk6.SecretSuperTrainingUnlocked; - CHK_SecretComplete.Checked = pk6.SecretSuperTrainingComplete; - if (!CHK_SecretUnlocked.Checked) // force update to disable checkboxes - CHK_Secret_CheckedChanged(null, null); CB_Bag.SelectedIndex = pk6.TrainingBag; NUD_BagHits.Value = pk6.TrainingBagHits; }