mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-05 21:17:14 -05:00
Show secret training for gen6->7 transfers
only training bag is removed on transfer
This commit is contained in:
parent
775d68e88f
commit
2b0aa6e73d
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user