summaryrefslogtreecommitdiff
path: root/src/shop.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-07-20 18:02:50 -0400
committerGitHub <noreply@github.com>2020-07-20 18:02:50 -0400
commitaeeff84462973b267e62031a945603d96afed716 (patch)
tree046ce2a73b467844e95a490b1cfa9cdda5e5f4df /src/shop.c
parentd3bfb6cfc63f9f64295cbd864f98df9cf4c643b4 (diff)
parentf0bf1e641cb8532611c97354beaf46afaca7c417 (diff)
Merge pull request #780 from GriffinRichards/sync-scripts
Sync some scripts with pokeemerald
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);