summaryrefslogtreecommitdiff
path: root/src/coins.c
diff options
context:
space:
mode:
authorhuderlem <huderlem@gmail.com>2020-01-13 19:33:47 -0600
committerGitHub <noreply@github.com>2020-01-13 19:33:47 -0600
commit6d6c57f3832c14aadd07b9d39c658c838fcd42cf (patch)
treeeb87fc3634991f5ce401b25dfca9968ee5c36f69 /src/coins.c
parentfa5816915d2a089549bfae3851c36336eae35d43 (diff)
parent96720db08319d8f69d7864e186722d13dc9ceb05 (diff)
Merge pull request #953 from GriffinRichards/sync-script
Port some macro/script fixes from pokefirered
Diffstat (limited to 'src/coins.c')
-rw-r--r--src/coins.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coins.c b/src/coins.c
index 1b9656abd..302817f8d 100644
--- a/src/coins.c
+++ b/src/coins.c
@@ -48,7 +48,7 @@ void SetCoins(u16 coinAmount)
gSaveBlock1Ptr->coins = coinAmount ^ gSaveBlock2Ptr->encryptionKey;
}
-bool8 GiveCoins(u16 toAdd)
+bool8 AddCoins(u16 toAdd)
{
u16 newAmount;
u16 ownedCoins = GetCoins();
@@ -70,7 +70,7 @@ bool8 GiveCoins(u16 toAdd)
return TRUE;
}
-bool8 TakeCoins(u16 toSub)
+bool8 RemoveCoins(u16 toSub)
{
u16 ownedCoins = GetCoins();
if (ownedCoins >= toSub)