Skip to content

Commit

Permalink
fixed honey use altering tiles (#4703)
Browse files Browse the repository at this point in the history
  • Loading branch information
cawtds authored Jun 2, 2024
1 parent ad8576d commit 658b437
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/item_use.c
Original file line number Diff line number Diff line change
Expand Up @@ -1422,7 +1422,9 @@ void Task_UseHoneyOnField(u8 taskId)
static void ItemUseOnFieldCB_Honey(u8 taskId)
{
Overworld_ResetStateAfterDigEscRope();
RemoveUsedItem();
RemoveBagItem(gSpecialVar_ItemId, 1);
CopyItemName(gSpecialVar_ItemId, gStringVar2);
StringExpandPlaceholders(gStringVar4, gText_PlayerUsedVar2);
gTasks[taskId].data[0] = 0;
DisplayItemMessageOnField(taskId, gStringVar4, Task_UseHoneyOnField);
}
Expand Down

0 comments on commit 658b437

Please sign in to comment.