Fixed dex showing incorrect moves when using PE and BE

This commit is contained in:
Eduardo Quezada 2022-05-07 22:46:40 -04:00
parent 599153bed4
commit 6684ec96ea

View file

@ -5277,7 +5277,7 @@ bool8 SpeciesCanLearnLvlUpMove(u16 species, u16 move) //Move search PokedexPlus
#if defined (BATTLE_ENGINE) || defined (POKEMON_EXPANSION)
for (j = 0; j < MAX_LEVEL_UP_MOVES && gLevelUpLearnsets[species][j].move != LEVEL_UP_END; j++)
{
if (move == (gLevelUpLearnsets[species][j].move & LEVEL_UP_MOVE_ID))
if (move == (gLevelUpLearnsets[species][j].move))
{
return TRUE;
}