mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-16 17:18:00 +00:00
f8346eb7e1
* Fix issue #1200 Minimum level for evolution moves in generation 7 is 2 thanks to the move reminder, also the evolution could be trigger at the minimum level and not the next level, except when the minimum level is the met level * Gen 2 VC Speculation, it wont have Move Reminder because the only gen 2 move reminder was in Pokemon Stadium 2 * Missing variable * Fix update generation 2 level moves
20 lines
719 B
C#
20 lines
719 B
C#
using System.Collections.Generic;
|
|
using System.Linq;
|
|
|
|
namespace PKHeX.Core
|
|
{
|
|
public class ValidEncounterMoves
|
|
{
|
|
public int EncounterSpecies { get; set; }
|
|
public DexLevel[][] EvolutionChains { get; set; }
|
|
public List<int>[] validLevelUpMoves { get; set; } = Empty;
|
|
public List<int>[] validTMHMMoves { get; set; } = Empty;
|
|
public List<int>[] validTutorMoves { get; set; } = Empty;
|
|
public int[] Relearn = new int[0];
|
|
public int minLvlG1 { get; set; }
|
|
public int minLvlG2 { get; set; }
|
|
|
|
private const int EmptyCount = 7;
|
|
public static readonly List<int>[] Empty = new int[EmptyCount].Select(z => new List<int>()).ToArray();
|
|
}
|
|
}
|