This commit is contained in:
Kurt 2017-11-06 17:12:59 -08:00
parent f206fb60c5
commit 4a6ea19a31
2 changed files with 2 additions and 2 deletions

View file

@ -170,8 +170,7 @@ namespace PKHeX.Core
return _pk;
byte[] ekdata = new byte[PKX.SIZE_4PARTY];
Array.Copy(Data, 8, ekdata, 0, ekdata.Length);
bool empty = ekdata.SequenceEqual(new byte[ekdata.Length]);
return _pk = new PK4(empty || BitConverter.ToUInt32(ekdata, 0x64) == 0 ? ekdata : PKX.DecryptArray45(ekdata));
return _pk = new PK4(ekdata);
}
set
{

View file

@ -1412,6 +1412,7 @@
//
this.CB_Format.Anchor = System.Windows.Forms.AnchorStyles.Left;
this.CB_Format.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
this.CB_Format.DropDownWidth = 100;
this.CB_Format.FormattingEnabled = true;
this.CB_Format.Items.AddRange(new object[] {
"Any",