mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-18 17:34:20 +01:00
add TM constant use
This commit is contained in:
parent
64d4eed63b
commit
44fae5a688
@ -2389,7 +2389,7 @@ u8 CanPartyPokemonLearnTMTutor(struct Pokemon *mon, u16 item, u8 tutor)
|
||||
return CANNOT_LEARN_MOVE_IS_EGG;
|
||||
if (item >= ITEM_TM01_FOCUS_PUNCH)
|
||||
{
|
||||
if (CanMonLearnTMHM(mon, item - 33))
|
||||
if (CanMonLearnTMHM(mon, item - ITEM_TM01_FOCUS_PUNCH))
|
||||
move = ItemIdToBattleMoveId(item);
|
||||
else
|
||||
return CANNOT_LEARN_MOVE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user