diff options
author | YamaArashi <YamaArashi@users.noreply.github.com> | 2017-01-17 08:11:32 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-17 08:11:32 -0800 |
commit | 90c7299e519783fe1e22d9ec8d3351d08bda65f6 (patch) | |
tree | b24d8bdcd6809c5465c6aa18f6d3109af2aad915 /src/coins.c | |
parent | 4f9aab81ffdfedc84dfeafb88b4248dc6c7c2068 (diff) | |
parent | 46cf490edd4fd5971d3a3511516beb0910e33c32 (diff) |
Merge pull request #193 from marijnvdwerf/clean/cleanup-1
Clean up various things
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 ad4f5fc34..18b11a9d9 100644 --- a/src/coins.c +++ b/src/coins.c @@ -29,7 +29,7 @@ void PrintCoins(s32 a, u8 b, u8 c, u8 d) u8 *ptr; u8 r1; u8 foo; - + ConvertIntToDecimalString(string, a); r1 = (b * 6 + 0x21 - 8 * (b + 2)); c = c - r1 / 8; @@ -58,7 +58,7 @@ u16 GetCoins(void) bool8 GiveCoins(u16 coins) { u32 newCoins; - + if(GetCoins() >= MAX_COINS) return FALSE; newCoins = coins + gSaveBlock1.coins; |