mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-08-28 07:36:19 -05:00
@@ -126,6 +126,11 @@ private static bool VerifySecondaryChecks(PKM pkm, LegalInfo info, PeekEnumerato
|
||||
return false;
|
||||
}
|
||||
}
|
||||
else if (pkm is PK1 pk1)
|
||||
{
|
||||
if (info.Moves.Any(z => z.Generation is not 1) && !PK1.IsCatchRateHeldItem(pk1.Catch_Rate))
|
||||
return false;
|
||||
}
|
||||
|
||||
info.Parse.Add(evo);
|
||||
return true;
|
||||
|
||||
@@ -80,7 +80,7 @@ public override PKM Clone()
|
||||
public override int Stat_SPD { get => Stat_SPC; set { } }
|
||||
#endregion
|
||||
|
||||
private static bool IsCatchRateHeldItem(int rate) => ParseSettings.AllowGen1Tradeback && Array.IndexOf(Legal.HeldItems_GSC, (ushort)rate) >= 0;
|
||||
public static bool IsCatchRateHeldItem(int rate) => ParseSettings.AllowGen1Tradeback && Array.IndexOf(Legal.HeldItems_GSC, (ushort)rate) >= 0;
|
||||
|
||||
private static bool IsCatchRatePreEvolutionRate(int baseSpecies, int finalSpecies, int rate)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user