mirror of https://github.com/pret/pokeemerald.git
Reverted fix, incorrectly caused eggs to show up as ABLE
parent
996e091a3e
commit
cd6239c20a
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue