mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-06 05:27:14 -05:00
Fix no alpha move bypass for alphas
https://projectpokemon.org/home/forums/topic/57375-pkhex-new-update-legality-errors-contribution-page/?do=findComment&comment=273294
This commit is contained in:
parent
c59b0947f0
commit
80eac48a49
|
|
@ -85,7 +85,7 @@ private EncounterMatchRating GetAlphaMoveCompatibility(PKM pkm)
|
|||
bool hasAlphaMove = alphaMove != 0;
|
||||
if (!pa.IsAlpha)
|
||||
return !hasAlphaMove ? EncounterMatchRating.Match : EncounterMatchRating.DeferredErrors;
|
||||
if (Type is SlotType.Landmark == hasAlphaMove)
|
||||
if (Type is SlotType.Landmark && hasAlphaMove)
|
||||
return EncounterMatchRating.DeferredErrors;
|
||||
|
||||
var pi = PersonalTable.LA.GetFormEntry(Species, Form);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user