diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2020-04-23 17:20:34 -0400 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2020-04-23 17:59:25 -0400 |
commit | 71094356313801bf20191f3db1efa0decd3c3dcb (patch) | |
tree | 18c501d04a21f88c5f4d59f764883e326710ca39 /src/coins.c | |
parent | 3bd2094141da60be175f237fa34889469f77f187 (diff) |
Sync event macros
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 2c217e635..273322161 100644 --- a/src/coins.c +++ b/src/coins.c @@ -54,7 +54,7 @@ u16 GetCoins(void) return gSaveBlock1.coins; } -bool8 GiveCoins(u16 coins) +bool8 AddCoins(u16 coins) { u32 newCoins; @@ -72,7 +72,7 @@ bool8 GiveCoins(u16 coins) return TRUE; } -bool8 TakeCoins(u16 coins) +bool8 RemoveCoins(u16 coins) { if (GetCoins() >= coins) { |