mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-09-09 09:37:09 -05:00
Merge pull request #119 from Eskuero/patch-3
Fix third gen balls on second gen starters with HA
This commit is contained in:
@@ -553,6 +553,8 @@ private LegalityCheck verifyBall()
|
||||
{
|
||||
if (Legal.Ban_Gen3Ball.Contains(pk6.Species))
|
||||
return new LegalityCheck(Severity.Invalid, "Unobtainable capture for Gen4 Ball.");
|
||||
if (pk6.AbilityNumber == 4 && 152 <= pk6.Species && pk6.Species <= 160)
|
||||
return new LegalityCheck(Severity.Invalid, "Ball not possible for species with hidden ability.");
|
||||
|
||||
return new LegalityCheck(Severity.Valid, "Obtainable capture for Gen4 Ball.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user