Re-arrange move/form assignment (#333)

This commit is contained in:
Matt 2018-05-03 17:25:00 -04:00 committed by Kurt
parent 54fef2c686
commit 63600a2a35

View File

@ -629,14 +629,14 @@ private void B_RandAll_Click(object sender, EventArgs e)
if (CHK_ForceFullyEvolved.Checked && t.Level >= NUD_ForceFullyEvolved.Value && !FinalEvo.Contains(t.Species))
t.Species = FinalEvo[randFinalEvo()];
t.Form = Randomizer.GetRandomForme(t.Species, CHK_AllowMega.Checked, true, Main.SpeciesStat);
t.Gender = 0; // random
t.Nature = 0; // random
if (CHK_Metronome.Checked)
t.RelearnMoves = new[] { 118, 0, 0, 0 };
else
t.RelearnMoves = move.GetCurrentMoves(t.Species, t.Form, t.Level, 4);
t.Form = Randomizer.GetRandomForme(t.Species, CHK_AllowMega.Checked, true, Main.SpeciesStat);
t.Gender = 0; // random
t.Nature = 0; // random
}
foreach (EncounterTrade7 t in Trades)
{