summaryrefslogtreecommitdiff
path: root/src/field/money.c
diff options
context:
space:
mode:
authorcamthesaxman <cameronghall@cox.net>2018-01-08 23:16:13 -0600
committercamthesaxman <cameronghall@cox.net>2018-01-08 23:16:13 -0600
commit6d16dba22e9ea2b40bf684f7549b73a583d143f6 (patch)
tree6502fb0b748b810ac586a999b7961c2355d8355a /src/field/money.c
parentc4c885504729b56c00aa245aea6e284a1b6a1719 (diff)
re-label some window and text code
Diffstat (limited to 'src/field/money.c')
-rw-r--r--src/field/money.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/field/money.c b/src/field/money.c
index d0f0ab1f6..4ab4de51c 100644
--- a/src/field/money.c
+++ b/src/field/money.c
@@ -143,7 +143,7 @@ void PrintMoneyAmount(u32 amount, u8 size, u8 x, u8 y)
if (stringWidth >= (size + 1) * 8)
{
- MenuPrint(buffer, x, y);
+ Menu_PrintText(buffer, x, y);
}
else
{
@@ -275,7 +275,7 @@ void UpdateMoneyWindow(u32 amount, u8 x, u8 y)
void OpenMoneyWindow(u32 amount, u8 x, u8 y)
{
- MenuDrawTextWindow(x, y, x + 13, y + 3);
+ Menu_DrawStdWindowFrame(x, y, x + 13, y + 3);
UpdateMoneyWindow(amount, x, y);
LoadCompressedObjectPic(gUnknown_083CF584);
@@ -288,7 +288,7 @@ void CloseMoneyWindow(u8 x, u8 y)
{
DestroySpriteAndFreeResources(&gSprites[gUnknown_02038734]);
FreeSpritePaletteByTag(SPRITE_TAG_MONEY);
- MenuZeroFillWindowRect(x, y, x + 13, y + 3);
+ Menu_EraseWindowRect(x, y, x + 13, y + 3);
}
bool8 HasEnoughMoneyFor(void)