public void hardReset(SaveFile SAV = null)
        {
            SaveFile CURRSAV = new SAVEditor().SAV;

            if (SAV != null)
            {
                CURRSAV = SAV;
            }
            else
            {
                CurrentSAV        = new PKHeX.WinForms.Controls.SAVEditor();
                CurrentSAV.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                          | System.Windows.Forms.AnchorStyles.Right)));
                CurrentSAV.Location = new System.Drawing.Point(292, 26);
                CurrentSAV.Name     = "C_SAV";
                CurrentSAV.Size     = new System.Drawing.Size(310, 326);
                CurrentSAV.TabIndex = 104;
                CURRSAV             = CurrentSAV.SAV;
            }
            if (CURRSAV.USUM || CURRSAV.SM)
            {
                if (TryLoadPKM(new ConstData().resetpk7, "", "pk7", CURRSAV))
                {
                    return;
                }
            }
            else if (CURRSAV.ORAS || CURRSAV.XY)
            {
                if (TryLoadPKM(new ConstData().resetpk6, "", "pk6", CURRSAV))
                {
                    return;
                }
            }
        }
        public void hardReset()
        {
            var assembly     = Assembly.GetExecutingAssembly();
            var resourceName = "PKHeX.WinForms.AutoLegality.Resources.byte.reset.pk7";

            System.IO.Stream       stream  = assembly.GetManifestResourceStream(resourceName);
            System.IO.StreamReader filestr = new System.IO.StreamReader(stream);
            System.IO.MemoryStream ms      = new System.IO.MemoryStream();
            stream.CopyTo(ms);
            byte[] pk7reset = ms.ToArray();
            CurrentSAV        = new PKHeX.WinForms.Controls.SAVEditor();
            CurrentSAV.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
                                                                      | System.Windows.Forms.AnchorStyles.Right)));
            CurrentSAV.Location = new System.Drawing.Point(292, 26);
            CurrentSAV.Name     = "C_SAV";
            CurrentSAV.Size     = new System.Drawing.Size(310, 326);
            CurrentSAV.TabIndex = 104;
            if (TryLoadPKM(pk7reset, "", "pk7", CurrentSAV.SAV))
            {
                return;
            }
        }