Skip to content

Commit

Permalink
Ban bred HA voltorb in beast ball
Browse files Browse the repository at this point in the history
  • Loading branch information
kwsch committed Feb 9, 2020
1 parent 4656978 commit b94430a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion PKHeX.Core/Legality/Verifiers/BallVerifier.cs
Expand Up @@ -234,8 +234,10 @@ private CheckResult VerifyBallEggGen7(LegalityAnalysis data)

if (ball == Beast)
{
if (species == (int)Species.Mew && pkm.AltForm == 3 && pkm.AbilityNumber == 4)
if (species == (int)Species.Flabébé && pkm.AltForm == 3 && pkm.AbilityNumber == 4)
return GetInvalid(LBallAbility); // Can't obtain Flabébé-Blue with Hidden Ability in wild
if (species == (int)Species.Voltorb && pkm.AbilityNumber == 4)
return GetInvalid(LBallAbility); // Can't obtain with Hidden Ability in wild (can only breed with Ditto)
if (((int)Species.Pikipek <= species && species <= (int)Species.Kommoo) || (Legal.AlolanCaptureOffspring.Contains(species) && !Legal.PastGenAlolanNativesUncapturable.Contains(species)))
return GetValid(LBallSpeciesPass);
if (Legal.PastGenAlolanScans.Contains(species))
Expand Down

0 comments on commit b94430a

Please sign in to comment.