Added minor Yak Attack fix

Scyrous 2024-08-01 17:38:21 +02:00
parent f33395863e
commit 4796bc70b4
1 changed files with 1 additions and 3 deletions

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