From 6684ec96eabb140cebb8845dcb93973c30246064 Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Sat, 7 May 2022 22:46:40 -0400 Subject: [PATCH] Fixed dex showing incorrect moves when using PE and BE --- src/pokedex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pokedex.c b/src/pokedex.c index 4b881d094f..0588d1ce7b 100644 --- a/src/pokedex.c +++ b/src/pokedex.c @@ -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; }