mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-24 13:03:06 +00:00
Add Apricorn & Hidden Ability check
Thanks Eskuero!
This commit is contained in:
parent
f728608216
commit
908ff709c6
1 changed files with 3 additions and 0 deletions
|
@ -403,6 +403,9 @@ namespace PKHeX
|
|||
? new LegalityCheck(Severity.Invalid, "Non-Pokéball on Male-Only egg.")
|
||||
: new LegalityCheck(Severity.Valid, "Pokéball on Male-Only egg.");
|
||||
|
||||
if (pk6.AbilityNumber == 4 && 0x10 < pk6.Ball && pk6.Ball < 0x18) // Apricorn Ball
|
||||
return new LegalityCheck(Severity.Invalid, "Apricorn Ball with Hidden Ability.");
|
||||
|
||||
if (pk6.Species > 650 && pk6.Species != 700) // Sylveon
|
||||
return !Legal.WildPokeballs.Contains(pk6.Ball)
|
||||
? new LegalityCheck(Severity.Invalid, "Unobtainable ball for Kalos origin.")
|
||||
|
|
Loading…
Reference in a new issue