Actually detect level instead of always returning 100

This commit is contained in:
SciresM 2014-12-17 11:27:34 -08:00
parent e1c75a9c8a
commit 3289ec640b

View file

@ -227,6 +227,7 @@ namespace PKHeX
exp = getEXP(100, species);
return tl;
}
levelxp = (uint)table.Rows[tl][growth + 1];
// when calcexp exceeds our exp, we exit loop
}
if (levelxp == exp) // Matches level threshold