2017-09-07 17:45:32 +00:00
|
|
|
#ifndef GUARD_MONEY_H
|
|
|
|
#define GUARD_MONEY_H
|
|
|
|
|
2017-09-08 22:45:25 +00:00
|
|
|
u32 GetMoney(u32* moneyPtr);
|
2017-09-07 17:45:32 +00:00
|
|
|
void SetMoney(u32* moneyPtr, u32 newValue);
|
2017-09-08 22:45:25 +00:00
|
|
|
bool8 IsEnoughMoney(u32* moneyPtr, u32 cost);
|
|
|
|
void AddMoney(u32* moneyPtr, u32 toAdd);
|
2017-10-12 07:06:19 +00:00
|
|
|
void RemoveMoney(u32* moneyPtr, u32 toSub);
|
2017-09-28 22:11:42 +00:00
|
|
|
bool8 IsEnoughForCostInVar0x8005(void);
|
|
|
|
void SubtractMoneyFromVar0x8005(void);
|
|
|
|
void PrintMoneyAmountInMoneyBox(u8 windowId, int amount, u8 speed);
|
|
|
|
void PrintMoneyAmount(u8 windowId, u8 x, u8 y, int amount, u8 speed);
|
|
|
|
void PrintMoneyAmountInMoneyBoxWithBorder(u8 windowId, u16 tileStart, u8 pallete, int amount);
|
|
|
|
void ChangeAmountInMoneyBox(int amount);
|
|
|
|
void DrawMoneyBox(int amount, u8 x, u8 y);
|
|
|
|
void HideMoneyBox(void);
|
|
|
|
void AddMoneyLabelObject(u16 x, u16 y);
|
|
|
|
void RemoveMoneyLabelObject(void);
|
2017-09-07 17:45:32 +00:00
|
|
|
|
|
|
|
#endif // GUARD_MONEY_H
|