Skip to content

Commit

Permalink
fix standard egg pokeball
Browse files Browse the repository at this point in the history
check was aborting too early
  • Loading branch information
kwsch committed Nov 13, 2016
1 parent 2c45e49 commit 2da82de
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions PKHeX/Legality/Checks.cs
Expand Up @@ -772,6 +772,8 @@ private void verifyBall()
{ AddLine(Severity.Invalid, "Master Ball on egg origin.", CheckIdentifier.Ball); return; }
if (pkm.Ball == 0x10) // Cherish Ball
{ AddLine(Severity.Invalid, "Cherish Ball on non-event.", CheckIdentifier.Ball); return; }
if (pkm.Ball == 0x04) // Poké Ball
{ AddLine(Severity.Valid, "Standard Poké Ball.", CheckIdentifier.Ball); return; }

switch (pkm.GenNumber)
{
Expand Down

0 comments on commit 2da82de

Please sign in to comment.