diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2020-01-14 21:27:45 -0500 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2020-01-15 16:00:45 -0500 |
commit | 04d176334ad590d3462e3c1eb75c1313705ae183 (patch) | |
tree | 865ca807901bf57e63523b19f2d535c7ef391f89 /src/item_pc.c | |
parent | 2f81b4a204d051aeb88580dc63381011ec49fcbb (diff) |
Document some Quest Log
Diffstat (limited to 'src/item_pc.c')
-rw-r--r-- | src/item_pc.c | 3 |
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); |