From 9cbebcc76902eda31e7d5ff2b5f3bf39c86b10d3 Mon Sep 17 00:00:00 2001 From: Kurt Date: Sat, 31 Jan 2015 10:36:31 -0800 Subject: [PATCH] Cleanup --- pk3DS/Subforms/RSWE.cs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pk3DS/Subforms/RSWE.cs b/pk3DS/Subforms/RSWE.cs index f7ad13c..6572e67 100644 --- a/pk3DS/Subforms/RSWE.cs +++ b/pk3DS/Subforms/RSWE.cs @@ -568,10 +568,6 @@ private void B_Save_Click(object sender, EventArgs e) Array.Copy(encdata, 0x0, decStorage, ENOfs, 0xF4); //copy encounter tables to EN 2pack storage File.WriteAllBytes(this.encdatapaths[1], decStorage); } - } - private void getRandomList() // Prevent DexNav Crashing - { - } private int getRandomSlot(int[] arr) { @@ -600,7 +596,7 @@ private void B_Randomize_Click(object sender, EventArgs e) { if (spec[slot].SelectedIndex != 0) { - int species = getRandomSlot(RandomList); + int species = RandomList[rnd32() % 18]; spec[slot].SelectedIndex = species; if (species == 666 || species == 665 || species == 664) // Vivillon