Small fix that prevented TM relearner if P_ENABLE_ALL_TM_MOVES was TRUE (#8525)
This commit is contained in:
parent
68aa18d0cb
commit
297aeb2d44
@ -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))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user