mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-15 16:48:01 +00:00
Add heavy ball permissions for USUM
heavy ball now works in USUM
This commit is contained in:
parent
5d90e9dc53
commit
e6c68a8fc9
1 changed files with 1 additions and 1 deletions
|
@ -1170,7 +1170,7 @@ namespace PKHeX.Core
|
|||
return;
|
||||
}
|
||||
|
||||
if (pkm.Ball == 0x14 && pkm.Gen7) // Heavy Ball
|
||||
if (pkm.Ball == 0x14 && !Info.EncounterMatch.EggEncounter && pkm.SM) // Heavy Ball
|
||||
{
|
||||
var lineage = Legal.GetLineage(pkm);
|
||||
if (lineage.Any(e => Legal.AlolanCaptureNoHeavyBall.Contains(e)))
|
||||
|
|
Loading…
Reference in a new issue