summaryrefslogtreecommitdiff
path: root/src/trader.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2020-04-23 17:20:34 -0400
committerGriffinR <griffin.g.richards@gmail.com>2020-04-23 17:59:25 -0400
commit71094356313801bf20191f3db1efa0decd3c3dcb (patch)
tree18c501d04a21f88c5f4d59f764883e326710ca39 /src/trader.c
parent3bd2094141da60be175f237fa34889469f77f187 (diff)
Sync event macros
Diffstat (limited to 'src/trader.c')
-rw-r--r--src/trader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/trader.c b/src/trader.c
index f8606d499..5403f53eb 100644
--- a/src/trader.c
+++ b/src/trader.c
@@ -249,7 +249,7 @@ void ScrSpecial_TraderDoDecorationTrade(void)
struct MauvilleManTrader *trader = &gSaveBlock1.mauvilleMan.trader;
RemoveDecorationFromInventory(gSpecialVar_0x8006);
- GiveDecoration(gSpecialVar_0x8004);
+ AddDecoration(gSpecialVar_0x8004);
StringCopy(trader->unk5[gSpecialVar_0x8005], gSaveBlock2.playerName);
trader->unk1[gSpecialVar_0x8005] = gSpecialVar_0x8006;
sub_810993C();