From cd6239c20ac7ce261c619767a6fa961352a8339a Mon Sep 17 00:00:00 2001 From: Scyrous <74797764+Scyrous@users.noreply.github.com> Date: Sun, 11 Aug 2024 15:55:44 +0200 Subject: [PATCH] Reverted fix, incorrectly caused eggs to show up as ABLE --- Make-Move-Relearner-Teach-Egg-Moves-With-A-Flag.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 9d0c615..532fa23 100644 --- a/Make-Move-Relearner-Teach-Egg-Moves-With-A-Flag.md +++ b/Make-Move-Relearner-Teach-Egg-Moves-With-A-Flag.md @@ -189,7 +189,9 @@ u8 GetNumberOfRelearnableMoves(struct Pokemon *mon) + if (FlagGet(FLAG_EGG_MOVES_TUTOR)) + { + numEggMoves = GetEggMoves(mon, eggMoves); -+ return numEggMoves; ++ ++ if (numEggMoves == 0) ++ return 0; + } + if (species == SPECIES_EGG)