Required move count: ignore evo/relearn

This commit is contained in:
Kurt 2025-11-16 15:07:03 -06:00
parent af3f7f770b
commit b0dfe2f57f

View File

@ -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]);