Sync macros to have Give/Take Add/Remove unity
This commit is contained in:
+2
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user