From 3289ec640b44ca0f6848e3e495e64d178525b913 Mon Sep 17 00:00:00 2001 From: SciresM Date: Wed, 17 Dec 2014 11:27:34 -0800 Subject: [PATCH] Actually detect level instead of always returning 100 --- Misc/PKX.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/Misc/PKX.cs b/Misc/PKX.cs index 8b67df64a..14e7fc74a 100644 --- a/Misc/PKX.cs +++ b/Misc/PKX.cs @@ -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