Only disallow catchrate enc if !tradeback

Closes #3501
This commit is contained in:
Kurt
2022-05-30 00:50:35 -07:00
parent ba19efb793
commit af2ac169e1

View File

@@ -126,7 +126,7 @@ private static bool VerifySecondaryChecks(PKM pkm, LegalInfo info, PeekEnumerato
return false;
}
}
else if (pkm is PK1 pk1)
else if (pkm is PK1 pk1 && !ParseSettings.AllowGen1Tradeback)
{
if (!Array.TrueForAll(info.Moves, z => z.Generation is 1) && !PK1.IsCatchRateHeldItem(pk1.Catch_Rate))
return false;