Hide gen1 second daycare slot

is duplicate with first
the slot is properly hidden but then set visible when the preview is
loaded for it. im sure the set-visible was a very old design decision
This commit is contained in:
Kurt 2018-01-16 19:31:50 -08:00
parent c118dc4dae
commit 69896a3a04

View File

@ -350,7 +350,6 @@ private void GetSlotFiller(int offset, PictureBox pb)
// 00s present in slot.
pb.Image = null;
pb.BackColor = Color.Transparent;
pb.Visible = true;
return;
}
PKM p = SAV.GetStoredSlot(offset);
@ -359,14 +358,12 @@ private void GetSlotFiller(int offset, PictureBox pb)
// Bad Egg present in slot.
pb.Image = null;
pb.BackColor = Color.Red;
pb.Visible = true;
return;
}
int slot = GetSlot(pb);
pb.Image = GetSprite(p, slot);
pb.BackColor = Color.Transparent;
pb.Visible = true;
}
private void ClickBoxSort(object sender, EventArgs e)