This commit is contained in:
Kurt
2015-01-31 10:36:31 -08:00
parent fad2f6bd57
commit 9cbebcc769

View File

@@ -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