summaryrefslogtreecommitdiff
path: root/src/item_pc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/item_pc.c')
-rw-r--r--src/item_pc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/item_pc.c b/src/item_pc.c
index 3e0c50b60..217acc829 100644
--- a/src/item_pc.c
+++ b/src/item_pc.c
@@ -27,6 +27,7 @@
#include "task.h"
#include "text_window.h"
#include "constants/items.h"
+#include "constants/quest_log.h"
#include "constants/songs.h"
struct ItemPcResources
@@ -901,7 +902,7 @@ static void ItemPc_DoWithdraw(u8 taskId)
if (AddBagItem(itemId, data[8]) == TRUE)
{
- ItemUse_SetQuestLogEvent(29, NULL, itemId, 0xFFFF);
+ ItemUse_SetQuestLogEvent(QL_EVENT_WITHDREW_ITEM_PC, NULL, itemId, 0xFFFF);
CopyItemName(itemId, gStringVar1);
ConvertIntToDecimalStringN(gStringVar2, data[8], STR_CONV_MODE_LEFT_ALIGN, 3);
StringExpandPlaceholders(gStringVar4, gText_WithdrewQuantItem);