diff --git a/PKHeX.WinForms/Controls/PKM Editor/PKMEditor.cs b/PKHeX.WinForms/Controls/PKM Editor/PKMEditor.cs index 6ba9c34f0..91e80e39b 100644 --- a/PKHeX.WinForms/Controls/PKM Editor/PKMEditor.cs +++ b/PKHeX.WinForms/Controls/PKM Editor/PKMEditor.cs @@ -1427,7 +1427,9 @@ private void UpdateShiny(bool PID) CommonEdits.SetShiny(Entity, ModifierKeys == Keys.Shift); TB_PID.Text = Entity.PID.ToString("X8"); - if (Entity.GenNumber < 6 && TB_EC.Visible) + int gen = Entity.GenNumber; + bool pre3DS = 1 <= gen && gen < 6; + if (pre3DS && TB_EC.Visible) TB_EC.Text = TB_PID.Text; } else