From c70d690e9ab77840d0a70e459d11a97b0defe4fa Mon Sep 17 00:00:00 2001 From: javierhimura Date: Mon, 27 Mar 2017 23:11:16 +0200 Subject: [PATCH] Return fr/lg level up moves for gen 3 pokemon --- PKHeX/Legality/Core.cs | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/PKHeX/Legality/Core.cs b/PKHeX/Legality/Core.cs index bbf10a5a5..e0a093f59 100644 --- a/PKHeX/Legality/Core.cs +++ b/PKHeX/Legality/Core.cs @@ -2410,9 +2410,14 @@ private static IEnumerable getMoves(PKM pkm, int species, int lvl, int form case 3: r.AddRange(LevelUpE[index].getMoves(lvl)); break; } } - else //Add only emerald moves, all the gen 3 level up tables are equal except deoxys level up tables + else + { + // Emerald level up table are equals to R/S level up tables r.AddRange(LevelUpE[index].getMoves(lvl)); - + // fire red and leaf green are equals between each other but different than RSE + // Do not use FR Levelup table. It have 67 moves for charmander but Leaf Green moves table is correct + r.AddRange(LevelUpLG[index].getMoves(lvl)); + } } if (Machine) {