mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-10-01 02:16:50 -05:00
Change minimum logic
0-5 -> add pk has a max scroll of 0 not 1
This commit is contained in:
@@ -219,7 +219,7 @@ private void clickSet(object sender, EventArgs e)
|
||||
slotColor = Properties.Resources.slotSet;
|
||||
if ((SCR_Box.Maximum+1)*6 < Results.Count)
|
||||
SCR_Box.Maximum += 1;
|
||||
SCR_Box.Value = Math.Max(1, SCR_Box.Maximum - PKXBOXES.Length/6 + 1);
|
||||
SCR_Box.Value = Math.Max(0, SCR_Box.Maximum - PKXBOXES.Length/6 + 1);
|
||||
FillPKXBoxes(SCR_Box.Value);
|
||||
Util.Alert("Added Pokémon from tabs to database.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user