From 297aeb2d44b4fcabd2471b9caf3c17ee060a5b9f Mon Sep 17 00:00:00 2001 From: PCG <75729017+PCG06@users.noreply.github.com> Date: Mon, 15 Dec 2025 08:08:17 +0530 Subject: [PATCH] Small fix that prevented TM relearner if `P_ENABLE_ALL_TM_MOVES` was `TRUE` (#8525) --- src/pokemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pokemon.c b/src/pokemon.c index b33b2363ef..2f237cba6f 100644 --- a/src/pokemon.c +++ b/src/pokemon.c @@ -6042,7 +6042,7 @@ bool32 HasRelearnerTMMoves(struct Pokemon *mon) if (move == MOVE_NONE) continue; - if (!P_ENABLE_ALL_TM_MOVES || !CheckBagHasItem(item, 1)) + if (!P_ENABLE_ALL_TM_MOVES && !CheckBagHasItem(item, 1)) continue; if (!CanLearnTeachableMove(species, move))