mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-27 14:30:56 +00:00
Update manaphy ability check again
57250823a8
covered it for format>=6, in 4/5 the abilitynumber is derived from
PIDAbility
Closes #2052
This commit is contained in:
parent
01323c0ee8
commit
8a83b9bde8
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ namespace PKHeX.Core
|
|||
|
||||
var pkm = data.pkm;
|
||||
if (data.EncounterMatch is PGT) // Ranger Manaphy
|
||||
return pkm.AbilityNumber == 1 ? VALID : GetInvalid(V110);
|
||||
return (pkm.Format >= 6 ? (pkm.AbilityNumber == 1) : (pkm.AbilityNumber < 4)) ? VALID : GetInvalid(V110);
|
||||
|
||||
int abilNumber = pkm.AbilityNumber;
|
||||
if (cardtype == 4) // 1/2/H
|
||||
|
|
Loading…
Reference in a new issue