summaryrefslogtreecommitdiff
path: root/src/money.c
diff options
context:
space:
mode:
authorPhlosioneer <mattmdrr2@gmail.com>2019-02-21 23:27:12 -0500
committerPhlosioneer <mattmdrr2@gmail.com>2019-02-21 23:27:12 -0500
commitc96f8751cddf1a203bd5f310683ea35bf9cb8db2 (patch)
treec0fae4e818129e04176a56876d75149ce4b70a94 /src/money.c
parent399d646e3fb24c8b4532267a4ab7aee4d2aaee92 (diff)
Improve window palette macros
Diffstat (limited to 'src/money.c')
-rw-r--r--src/money.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/money.c b/src/money.c
index 33dffdc75..1b5e298f0 100644
--- a/src/money.c
+++ b/src/money.c
@@ -169,7 +169,7 @@ void DrawMoneyBox(int amount, u8 x, u8 y)
SetWindowTemplateFields(&template, 0, x + 1, y + 1, 10, 2, 15, 8);
sMoneyBoxWindowId = AddWindow(&template);
- FillWindowPixelBuffer(sMoneyBoxWindowId, PIXEL_BUFFER_TRANSPARENT);
+ FillWindowPixelBuffer(sMoneyBoxWindowId, PALETTE_NUM_TO_FILL_VALUE(0));
PutWindowTilemap(sMoneyBoxWindowId);
CopyWindowToVram(sMoneyBoxWindowId, 1);
PrintMoneyAmountInMoneyBoxWithBorder(sMoneyBoxWindowId, 0x214, 14, amount);