mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-26 22:10:21 +00:00
Simplify landmark alpha move match check
This commit is contained in:
parent
aca0e48510
commit
04856122b7
1 changed files with 1 additions and 3 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue