summaryrefslogtreecommitdiff
path: root/src/shop.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-07-20 18:03:49 -0400
committerGitHub <noreply@github.com>2020-07-20 18:03:49 -0400
commit4dc2ba23f617f0b53a8f4d95e82a71580a808c91 (patch)
tree9522877c5990fcc3877e985f0d1c228a1c42593d /src/shop.c
parentc6b4319b682807d714f88857f16287770b483db8 (diff)
parentaeeff84462973b267e62031a945603d96afed716 (diff)
Merge branch 'master' into constants-mapdatasize
Diffstat (limited to 'src/shop.c')
-rw-r--r--src/shop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shop.c b/src/shop.c
index 3e399f0da..75d83d132 100644
--- a/src/shop.c
+++ b/src/shop.c
@@ -691,7 +691,7 @@ static void Task_DoItemPurchase(u8 taskId)
}
else // a normal mart is only type 0, so types 1 and 2 are decoration marts.
{
- if (GiveDecoration(gMartInfo.itemList[gMartInfo.choicesAbove + gMartInfo.cursor]))
+ if (AddDecoration(gMartInfo.itemList[gMartInfo.choicesAbove + gMartInfo.cursor]))
{
if (gMartInfo.martType == MART_TYPE_1)
DisplayItemMessageOnField(taskId, gOtherText_HereYouGo2, Shop_DoItemTransaction, 0xC3E1);