mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-09 04:24:36 -05:00
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:
parent
c118dc4dae
commit
69896a3a04
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user