From 4796bc70b45a5136921f4b2fd6f892020486ce4f Mon Sep 17 00:00:00 2001 From: Scyrous <74797764+Scyrous@users.noreply.github.com> Date: Thu, 1 Aug 2024 17:38:21 +0200 Subject: [PATCH] Added minor Yak Attack fix --- Make-Move-Relearner-Teach-Egg-Moves-With-A-Flag.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Make-Move-Relearner-Teach-Egg-Moves-With-A-Flag.md b/Make-Move-Relearner-Teach-Egg-Moves-With-A-Flag.md index 532fa23..9d0c615 100644 --- a/Make-Move-Relearner-Teach-Egg-Moves-With-A-Flag.md +++ b/Make-Move-Relearner-Teach-Egg-Moves-With-A-Flag.md @@ -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)