summaryrefslogtreecommitdiff
path: root/src/money.c
diff options
context:
space:
mode:
authorjiangzhengwenjz <jiangzhengwenjzw@qq.com>2019-07-09 14:07:19 +0800
committerjiangzhengwenjz <jiangzhengwenjzw@qq.com>2019-07-13 05:26:18 +0800
commite0e81c5fbe6a0c0bdcbb5a1de5e16dfb1ffdc091 (patch)
treeb0805ce04611816310a9fbbd5784ab7741aab6e3 /src/money.c
parent09b94d8b342bb29f962bb3c23fb4267877df710e (diff)
finished menu (1 failed attempt)
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 ffaba2e29..616b448e1 100644
--- a/src/money.c
+++ b/src/money.c
@@ -109,7 +109,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);
AddTextPrinterParameterized(windowId, 2, gUnknown_8419CE7, 0, 0, 0xFF, 0);
PrintMoneyAmountInMoneyBox(windowId, amount, 0);
}
@@ -134,7 +134,7 @@ void DrawMoneyBox(int amount, u8 x, u8 y)
void HideMoneyBox(void)
{
- ClearMenuWindow(sMoneyBoxWindowId, FALSE);
+ ClearStdWindowAndFrameToTransparent(sMoneyBoxWindowId, FALSE);
CopyWindowToVram(sMoneyBoxWindowId, 2);
RemoveWindow(sMoneyBoxWindowId);
}