mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-28 00:15:06 -05:00
@@ -16,9 +16,7 @@ public class BK4 : PKM // Big Endian 4th Generation PKM File
|
||||
|
||||
public override byte[] DecryptedBoxData => EncryptedBoxData;
|
||||
|
||||
public override string Extension => "bk4";
|
||||
|
||||
public override bool Valid => ChecksumValid || (Sanity != 0 && Species <= 493); // What does Sanity do?
|
||||
public override bool Valid => ChecksumValid || Sanity == 0 && Species <= 493;
|
||||
|
||||
public BK4(byte[] decryptedData = null, string ident = null)
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@ public abstract class PKM
|
||||
public static readonly string[] Extensions = PKX.getPKMExtensions();
|
||||
public abstract int SIZE_PARTY { get; }
|
||||
public abstract int SIZE_STORED { get; }
|
||||
public virtual string Extension => "pk" + Format;
|
||||
public string Extension => GetType().Name.ToLower();
|
||||
public abstract PersonalInfo PersonalInfo { get; }
|
||||
|
||||
// Internal Attributes set on creation
|
||||
|
||||
@@ -53,7 +53,7 @@ private void addButton(string name, string path)
|
||||
|
||||
private static IEnumerable<CustomFolderPath> getUserPaths()
|
||||
{
|
||||
const string loc = "savpaths.txt";
|
||||
string loc = Path.Combine(Main.WorkingDirectory, "savpaths.txt");
|
||||
|
||||
if (!File.Exists(loc))
|
||||
yield break;
|
||||
|
||||
Reference in New Issue
Block a user