diff --git a/pk3DS/Subforms/Gen6/StarterEditor6.cs b/pk3DS/Subforms/Gen6/StarterEditor6.cs index ec2dce7..c1816de 100644 --- a/pk3DS/Subforms/Gen6/StarterEditor6.cs +++ b/pk3DS/Subforms/Gen6/StarterEditor6.cs @@ -10,11 +10,7 @@ public StarterEditor6() { specieslist[0] = "---"; Array.Resize(ref specieslist, Main.Config.MaxSpeciesID); - - string[] personalList = Directory.GetFiles("personal"); - var personal = new byte[personalList.Length][]; - for (int i = 0; i < personalList.Length; i++) - personal[i] = File.ReadAllBytes("personal" + Path.DirectorySeparatorChar + i.ToString("000") + ".bin"); + if (!File.Exists(CROPath)) { Util.Error("CRO does not exist! Closing.", CROPath); diff --git a/pk3DS/Subforms/Gen7/MegaEvoEditor7.cs b/pk3DS/Subforms/Gen7/MegaEvoEditor7.cs index aa5486b..bface9e 100644 --- a/pk3DS/Subforms/Gen7/MegaEvoEditor7.cs +++ b/pk3DS/Subforms/Gen7/MegaEvoEditor7.cs @@ -15,7 +15,6 @@ public partial class MegaEvoEditor7 : Form private readonly string[] types = Main.getText(TextName.Types); private readonly string[] specieslist = Main.getText(TextName.SpeciesNames); private readonly string[] itemlist = Main.getText(TextName.ItemNames); - private readonly byte[] personalData = File.ReadAllBytes(Directory.GetFiles("personal").Last()); private readonly GroupBox[] groupbox_spec; private readonly ComboBox[] forme_spec; private readonly ComboBox[] item_spec;