mirror of https://github.com/pret/pokeemerald.git
Added minor Yak Attack fix
parent
f33395863e
commit
4796bc70b4
|
@ -189,9 +189,7 @@ 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