Added missing FONT_* labels in ItemUseOutOfBattle_ExpShare (#3291)

This commit is contained in:
LOuroboros 2023-09-10 11:52:50 -03:00 committed by GitHub
parent 75d06bb599
commit e75ed112d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -211,7 +211,7 @@ void ItemUseOutOfBattle_ExpShare(u8 taskId)
if (!gTasks[taskId].data[2]) // to account for pressing select in the overworld if (!gTasks[taskId].data[2]) // to account for pressing select in the overworld
DisplayItemMessageOnField(taskId, gText_ExpShareOff, Task_CloseCantUseKeyItemMessage); DisplayItemMessageOnField(taskId, gText_ExpShareOff, Task_CloseCantUseKeyItemMessage);
else else
DisplayItemMessage(taskId, 1, gText_ExpShareOff, CloseItemMessage); DisplayItemMessage(taskId, FONT_NORMAL, gText_ExpShareOff, CloseItemMessage);
} }
else else
{ {
@ -219,7 +219,7 @@ void ItemUseOutOfBattle_ExpShare(u8 taskId)
if (!gTasks[taskId].data[2]) // to account for pressing select in the overworld if (!gTasks[taskId].data[2]) // to account for pressing select in the overworld
DisplayItemMessageOnField(taskId, gText_ExpShareOn, Task_CloseCantUseKeyItemMessage); DisplayItemMessageOnField(taskId, gText_ExpShareOn, Task_CloseCantUseKeyItemMessage);
else else
DisplayItemMessage(taskId, 1, gText_ExpShareOn, CloseItemMessage); DisplayItemMessage(taskId, FONT_NORMAL, gText_ExpShareOn, CloseItemMessage);
} }
FlagToggle(I_EXP_SHARE_FLAG); FlagToggle(I_EXP_SHARE_FLAG);
#else #else