summaryrefslogtreecommitdiff
path: root/src/money.c
diff options
context:
space:
mode:
authorU-User-PC\User <golemgalvanize@github.com>2017-10-18 19:28:36 -0400
committerU-User-PC\User <golemgalvanize@github.com>2017-10-18 19:28:36 -0400
commitd4532c70cb03962d38517fef2d723f81a9b27c1b (patch)
tree70220c06025360d7089011f5d80239b61ac183af /src/money.c
parent11f9a27640a9f921c6dc1858261d9a609a6599ca (diff)
parent0f0ba1e28c5c14bb93d403fd2df4a2d89e057a65 (diff)
fix merge conflicts
Diffstat (limited to 'src/money.c')
-rw-r--r--src/money.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/money.c b/src/money.c
index 65a45b158..98f25a42a 100644
--- a/src/money.c
+++ b/src/money.c
@@ -110,7 +110,7 @@ void AddMoney(u32* moneyPtr, u32 toAdd)
SetMoney(moneyPtr, toSet);
}
-void SubtractMoney(u32* moneyPtr, u32 toSub)
+void RemoveMoney(u32* moneyPtr, u32 toSub)
{
u32 toSet = GetMoney(moneyPtr);
@@ -130,7 +130,7 @@ bool8 IsEnoughForCostInVar0x8005(void)
void SubtractMoneyFromVar0x8005(void)
{
- SubtractMoney(&gSaveBlock1Ptr->money, gSpecialVar_0x8005);
+ RemoveMoney(&gSaveBlock1Ptr->money, gSpecialVar_0x8005);
}
void PrintMoneyAmountInMoneyBox(u8 windowId, int amount, u8 speed)