Simplify landmark alpha move match check

This commit is contained in:
Kurt 2022-02-09 16:17:44 -08:00
parent aca0e48510
commit 04856122b7

View file

@ -83,10 +83,8 @@ public sealed record EncounterSlot8a : EncounterSlot, IAlpha
var alphaMove = pa.AlphaMove;
bool hasAlphaMove = alphaMove != 0;
if (!pa.IsAlpha)
if (!pa.IsAlpha || Type is SlotType.Landmark)
return !hasAlphaMove ? EncounterMatchRating.Match : EncounterMatchRating.DeferredErrors;
if (Type is SlotType.Landmark && hasAlphaMove)
return EncounterMatchRating.DeferredErrors;
var pi = PersonalTable.LA.GetFormEntry(Species, Form);
var tutors = pi.SpecialTutors[0];