mirror of
https://github.com/pret/pokefirered.git
synced 2026-10-02 14:00:42 -05:00
fix lvl display when using xp candy
This commit is contained in:
@@ -5488,7 +5488,11 @@ static void CB2_ReturnToPartyMenuWhileLearningMove(void)
|
||||
gPartyMenu.action = PARTY_ACTION_CHOOSE_MON;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (sFinalLevel != 0)
|
||||
SetMonData(&gPlayerParty[gPartyMenu.slotId], MON_DATA_LEVEL, &sFinalLevel); // to avoid displaying incorrect level
|
||||
InitPartyMenu(PARTY_MENU_TYPE_FIELD, PARTY_LAYOUT_SINGLE, PARTY_ACTION_CHOOSE_MON, TRUE, PARTY_MSG_NONE, Task_ReturnToPartyMenuWhileLearningMove, gPartyMenu.exitCallback);
|
||||
}
|
||||
}
|
||||
|
||||
static void Task_ReturnToPartyMenuWhileLearningMove(u8 taskId)
|
||||
|
||||
Reference in New Issue
Block a user