mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-11-16 19:47:35 +01:00
Merge pull request #2413 from kaisermg5/fix_tmhm_lock
Fix lock when teaching a TM/HM after learning a move by level up.
This commit is contained in:
commit
93dd8786ee
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user