Fix lock when teaching a TM/HM after learning a move by level up.

This commit is contained in:
kaisermg5 2022-10-25 18:48:06 -03:00
parent 6363e61043
commit 2cd0a0f862

View File

@ -4928,6 +4928,7 @@ void ItemUseCB_TMHM(u8 taskId, TaskFunc task)
u16 move = ItemIdToBattleMoveId(item);
gPartyMenu.data1 = move;
gPartyMenu.learnMoveState = 0;
PlaySE(SE_SELECT);
mon = &gPlayerParty[gPartyMenu.slotId];