summaryrefslogtreecommitdiff
path: root/src/money.c
diff options
context:
space:
mode:
authorPhlosioneer <mattmdrr2@gmail.com>2019-02-22 01:40:11 -0500
committerPhlosioneer <mattmdrr2@gmail.com>2019-02-22 01:40:11 -0500
commit44e92ce2596981c8d42b70922e5ae84d6b321ab1 (patch)
treecdbe34972f5cbce52f0446243c0262c0b7bf11a0 /src/money.c
parent199863f21f41b3a51d9a6302ca7c3c2864ee1c17 (diff)
Give window drawing functions better names
Diffstat (limited to 'src/money.c')
-rw-r--r--src/money.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/money.c b/src/money.c
index 1b5e298f0..e7ae6080c 100644
--- a/src/money.c
+++ b/src/money.c
@@ -154,7 +154,7 @@ void PrintMoneyAmount(u8 windowId, u8 x, u8 y, int amount, u8 speed)
void PrintMoneyAmountInMoneyBoxWithBorder(u8 windowId, u16 tileStart, u8 pallete, int amount)
{
- SetWindowBorderStyle(windowId, FALSE, tileStart, pallete);
+ DrawStdFrameWithCustomTileAndPalette(windowId, FALSE, tileStart, pallete);
PrintMoneyAmountInMoneyBox(windowId, amount, 0);
}
@@ -179,7 +179,7 @@ void DrawMoneyBox(int amount, u8 x, u8 y)
void HideMoneyBox(void)
{
RemoveMoneyLabelObject();
- sub_8198070(sMoneyBoxWindowId, FALSE);
+ ClearStdWindowAndFrameToTransparent(sMoneyBoxWindowId, FALSE);
CopyWindowToVram(sMoneyBoxWindowId, 2);
RemoveWindow(sMoneyBoxWindowId);
}