summaryrefslogtreecommitdiff
path: root/src/money.c
diff options
context:
space:
mode:
authorDiegoisawesome <diego@domoreaweso.me>2017-10-12 02:06:19 -0500
committerDiegoisawesome <diego@domoreaweso.me>2017-10-12 02:06:19 -0500
commitf1b6358047dff266db01545d4a5927047e6756df (patch)
tree3905d3988e4c47acc33bbd984002d9fb767ac8ab /src/money.c
parent8914645231c9301579ed39bdd9200ad50e5296d0 (diff)
Port/decomp scrcmd
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)