diff --git a/pk3DS/Subforms/Gen6/PersonalEditor6.cs b/pk3DS/Subforms/Gen6/PersonalEditor6.cs index 0b6f95c..a681253 100644 --- a/pk3DS/Subforms/Gen6/PersonalEditor6.cs +++ b/pk3DS/Subforms/Gen6/PersonalEditor6.cs @@ -359,6 +359,7 @@ private void B_Randomize_Click(object sender, EventArgs e) AllowWonderGuard = CHK_WGuard.Checked }; rnd.Execute(); + Main.SpeciesStat.Select(z => z.Write()).ToArray().CopyTo(files, 0); readEntry(); WinFormsUtil.Alert("All relevant Pokémon Personal Entries have been randomized!"); diff --git a/pk3DS/Subforms/Gen7/PersonalEditor7.cs b/pk3DS/Subforms/Gen7/PersonalEditor7.cs index b720ecf..1c5f629 100644 --- a/pk3DS/Subforms/Gen7/PersonalEditor7.cs +++ b/pk3DS/Subforms/Gen7/PersonalEditor7.cs @@ -311,6 +311,7 @@ private void B_Randomize_Click(object sender, EventArgs e) AllowWonderGuard = CHK_WGuard.Checked }; rnd.Execute(); + Main.SpeciesStat.Select(z => z.Write()).ToArray().CopyTo(files, 0); readEntry(); WinFormsUtil.Alert("All relevant Pokémon Personal Entries have been randomized!");