mirror of
https://github.com/kwsch/PKHeX.git
synced 2026-05-16 00:52:41 -05:00
Fix for VC2
This commit is contained in:
parent
3a830ca682
commit
85e25dad5c
|
|
@ -833,7 +833,7 @@ internal static DexLevel[][] getEvolutionChainsAllGens(PKM pkm, object Encounter
|
|||
|
||||
int currengenlevel = pkm.CurrentLevel;
|
||||
int maxgen = (pkm.Format <= 2) ? 2 : pkm.Format;
|
||||
int mingen = (pkm.Format <= 2) ? 1 : pkm.GenNumber;
|
||||
int mingen = (pkm.VC2 || pkm.Format <= 2) ? 1 : pkm.GenNumber;
|
||||
//Iterate generations backwards because level will be decreased from current level in each generation
|
||||
for (int gen = maxgen; gen >= mingen; gen--)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user