private void B_Save_Click(object sender, EventArgs e) { SetEntry(); Dex.WriteToSAV(SAV); Origin.SetData(SAV.Data, 0); Close(); }
private void B_Save_Click(object sender, EventArgs e) { setEntry(); Dex.WriteToSAV(SAV); // Return back to the parent savefile Array.Copy(SAV.Data, Main.SAV.Data, SAV.Data.Length); Main.SAV.Edited = true; Close(); }