mirror of
https://github.com/kwsch/pk3DS.git
synced 2026-08-22 09:46:07 -05:00
@@ -153,7 +153,9 @@ private void B_Randomize_Click(object sender, EventArgs e)
|
||||
int ctr = 0;
|
||||
Util.Shuffle(validItems);
|
||||
|
||||
for (int i = 0; i < CB_Location.Items.Count; i++)
|
||||
bool specialOnly = DialogResult.Yes == Util.Prompt(MessageBoxButtons.YesNo, "Randomize only special marts?", "Will leave regular necessities intact.");
|
||||
int start = specialOnly ? 9 : 0;
|
||||
for (int i = start; i < CB_Location.Items.Count; i++)
|
||||
{
|
||||
CB_Location.SelectedIndex = i;
|
||||
for (int r = 0; r < dgv.Rows.Count; r++)
|
||||
|
||||
@@ -167,7 +167,9 @@ private void B_Randomize_Click(object sender, EventArgs e)
|
||||
int ctr = 0;
|
||||
Util.Shuffle(validItems);
|
||||
|
||||
for (int i = 0; i < CB_Location.Items.Count; i++)
|
||||
bool specialOnly = DialogResult.Yes == Util.Prompt(MessageBoxButtons.YesNo, "Randomize only special marts?", "Will leave regular necessities intact.");
|
||||
int start = specialOnly ? 8 : 0;
|
||||
for (int i = start; i < CB_Location.Items.Count; i++)
|
||||
{
|
||||
CB_Location.SelectedIndex = i;
|
||||
for (int r = 0; r < dgv.Rows.Count; r++)
|
||||
|
||||
Reference in New Issue
Block a user