mirror of
https://github.com/kwsch/PKHeX
synced 2025-02-17 05:48:44 +00:00
Update EncounterMovesetGenerator.cs
This commit is contained in:
parent
80c0d73e18
commit
624c65b937
1 changed files with 2 additions and 1 deletions
|
@ -282,7 +282,8 @@ namespace PKHeX.Core
|
|||
yield return enc;
|
||||
}
|
||||
|
||||
if (pk.GenNumber > 2)
|
||||
int gen = pk.GenNumber;
|
||||
if ((uint)gen >= 3)
|
||||
yield break;
|
||||
|
||||
var gifts = EncounterStaticGenerator.GetPossibleGBGifts(pk, chain);
|
||||
|
|
Loading…
Add table
Reference in a new issue