Skip to content

Commit

Permalink
fix the relearn move boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
architdate committed Jul 3, 2018
1 parent 23dd87c commit 6f6d34d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AutoLegalityMod/APILegality.cs
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ public static void SetMovesEVsItems(PKM pk, ShowdownSet SSet)
pk.CurrentFriendship = SSet.Friendship;
pk.ApplyHeldItem(SSet.HeldItem, SSet.Format);
var legal = new LegalityAnalysis(pk);
if (legal.Parsed && CheckInvalidRelearn(legal.Info.Relearn) && !pk.WasEvent)
if (legal.Parsed && !CheckInvalidRelearn(legal.Info.Relearn) && !pk.WasEvent)
pk.RelearnMoves = pk.GetSuggestedRelearnMoves(legal);
}

Expand Down

0 comments on commit 6f6d34d

Please sign in to comment.