mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-03-21 17:48:28 -05:00
Required move count: ignore evo/relearn
This commit is contained in:
parent
af3f7f770b
commit
b0dfe2f57f
|
|
@ -82,7 +82,10 @@ public void SetEncounterMoves(byte level, Span<ushort> moves, int ctr = 0)
|
|||
{
|
||||
for (int i = 0; i < Moves.Length; i++)
|
||||
{
|
||||
if (Levels[i] > level)
|
||||
var req = Levels[i];
|
||||
if (req < 1) // Evolution or Relearn-menu-only moves
|
||||
continue;
|
||||
if (req > level)
|
||||
break;
|
||||
|
||||
AddMoveShiftLater(moves, ref ctr, Moves[i]);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user