diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2020-01-13 22:35:09 -0500 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2020-01-13 22:35:09 -0500 |
commit | a5d8b98fde96a5a38dac13472d7964e5e8872cce (patch) | |
tree | 2906af9d415a948827d4c29fbbc02475cab0588d /src/coins.c | |
parent | 8c560386edeecf0b40b4c9f58ceaac50f4f22397 (diff) |
Sync macros to have Give/Take Add/Remove unity
Diffstat (limited to 'src/coins.c')
-rw-r--r-- | src/coins.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/coins.c b/src/coins.c index 2eaa31b2c..0f1828a96 100644 --- a/src/coins.c +++ b/src/coins.c @@ -19,7 +19,7 @@ void SetCoins(u16 coinAmount) gSaveBlock1Ptr->coins = coinAmount ^ gSaveBlock2Ptr->encryptionKey; } -bool8 GiveCoins(u16 toAdd) +bool8 AddCoins(u16 toAdd) { u16 coins = GetCoins(); if (coins >= MAX_COINS) @@ -39,7 +39,7 @@ bool8 GiveCoins(u16 toAdd) return TRUE; } -bool8 TakeCoins(u16 toSub) +bool8 RemoveCoins(u16 toSub) { u16 coins = GetCoins(); if (coins >= toSub) |