From 9d430a72db5c8987366b83dc7b11e4ed7f34d3ab Mon Sep 17 00:00:00 2001 From: Eduardo Quezada D'Ottone Date: Sun, 15 Sep 2019 19:56:53 -0300 Subject: [PATCH] =?UTF-8?q?It=20doesn't=20check=20for=20Pok=C3=A9mon=20lev?= =?UTF-8?q?el=20using=20the=20same=20parameter=20as=20regionMapSectionId.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pokemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pokemon.c b/src/pokemon.c index 5994bea2ce..619351e5ba 100644 --- a/src/pokemon.c +++ b/src/pokemon.c @@ -5785,7 +5785,7 @@ u16 GetEvolutionTargetSpecies(struct Pokemon *mon, u8 type, u16 evolutionItem) targetSpecies = gEvolutionTable[species][i].targetSpecies; break; case EVO_MAP: - if (gEvolutionTable[species][i].param <= level && gMapHeader.regionMapSectionId == gEvolutionTable[species][i].param) + if (gMapHeader.regionMapSectionId == gEvolutionTable[species][i].param) targetSpecies = gEvolutionTable[species][i].targetSpecies; break; }