mirror of
https://github.com/kwsch/PKHeX
synced 2024-11-27 14:30:56 +00:00
Actually detect level instead of always returning 100
This commit is contained in:
parent
e1c75a9c8a
commit
3289ec640b
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue