mirror of
https://github.com/kwsch/PKHeX
synced 2025-02-17 05:48:44 +00:00
Like move validation, evolutions are the earliest thing we wish to traverse when determining what encounters may have originated the current Pokémon. To determine the permitted species-form-levels a Pokémon could originate with, we must devolve a Pokémon by traveling down-generation to origin. Once we have an encounter, we can then evolve it to the current species, traversing upwards from origin to the current format.
13 lines
191 B
C#
13 lines
191 B
C#
namespace PKHeX.Core;
|
|
|
|
public enum EvolutionCheckResult
|
|
{
|
|
Valid = 0,
|
|
InsufficientLevel,
|
|
BadGender,
|
|
BadForm,
|
|
WrongEC,
|
|
VisitVersion,
|
|
LowContestStat,
|
|
Untraded,
|
|
}
|