summaryrefslogtreecommitdiff
path: root/src/money.c
diff options
context:
space:
mode:
authorPhlosioneer <mattmdrr2@gmail.com>2019-02-11 00:05:20 -0500
committerPhlosioneer <mattmdrr2@gmail.com>2019-02-11 00:34:50 -0500
commitd979ac3bf3924051de8bb4154e8398083535eabb (patch)
tree9fbdace0b39e7ce58289720ea556817d7479a204 /src/money.c
parent6f1d2b870c1426e7f405f3b3bc4ff2b9edb380e1 (diff)
Document main_menu state machine, name window constants
The new names for the constants (and newly named functions) give a much better understanding of what the window system is trying to do.
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 faf830637..33dffdc75 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, 0);
+ FillWindowPixelBuffer(sMoneyBoxWindowId, PIXEL_BUFFER_TRANSPARENT);
PutWindowTilemap(sMoneyBoxWindowId);
CopyWindowToVram(sMoneyBoxWindowId, 1);
PrintMoneyAmountInMoneyBoxWithBorder(sMoneyBoxWindowId, 0x214, 14, amount);