Fix Escape Rope Message when on gen 8 mechanics

This commit is contained in:
SomeLoserThatCantPickOriginalUsernames 2022-08-26 17:47:45 -07:00
parent bee36edd9c
commit bd81841c30

View File

@ -922,6 +922,9 @@ static void ItemUseOnFieldCB_EscapeRope(u8 taskId)
Overworld_ResetStateAfterDigEscRope();
#if I_KEY_ESCAPE_ROPE < GEN_8
RemoveUsedItem();
#else
CopyItemName(gSpecialVar_ItemId, gStringVar2);
StringExpandPlaceholders(gStringVar4, gText_PlayerUsedVar2);
#endif
gTasks[taskId].data[0] = 0;
DisplayItemMessageOnField(taskId, gStringVar4, Task_UseDigEscapeRopeOnField);