Reverted fix, incorrectly caused eggs to show up as ABLE

Scyrous 2024-08-11 15:55:44 +02:00
parent 996e091a3e
commit cd6239c20a
1 changed files with 3 additions and 1 deletions

@ -189,7 +189,9 @@ u8 GetNumberOfRelearnableMoves(struct Pokemon *mon)
+ if (FlagGet(FLAG_EGG_MOVES_TUTOR)) + if (FlagGet(FLAG_EGG_MOVES_TUTOR))
+ { + {
+ numEggMoves = GetEggMoves(mon, eggMoves); + numEggMoves = GetEggMoves(mon, eggMoves);
+ return numEggMoves; +
+ if (numEggMoves == 0)
+ return 0;
+ } + }
+ +
if (species == SPECIES_EGG) if (species == SPECIES_EGG)