From 0ecc36c83a6bf3ecfee45e9f62afc3ebfb97b024 Mon Sep 17 00:00:00 2001 From: Narishma-gb <194818981+Narishma-gb@users.noreply.github.com> Date: Wed, 9 Apr 2025 05:17:32 +0200 Subject: Use constants in `PrintBCDNumber` calls (#503) --- home/list_menu.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'home') diff --git a/home/list_menu.asm b/home/list_menu.asm index 646e7b7f..aae7caad 100644 --- a/home/list_menu.asm +++ b/home/list_menu.asm @@ -295,7 +295,7 @@ DisplayChooseQuantityMenu:: ld de, SpacesBetweenQuantityAndPriceText call PlaceString ld de, hMoney ; total price - ld c, $a3 + ld c, 3 | LEADING_ZEROES | MONEY_SIGN call PrintBCDNumber hlcoord 9, 10 .printQuantity @@ -420,7 +420,7 @@ PrintListMenuEntries:: pop hl ld bc, SCREEN_WIDTH + 5 ; 1 row down and 5 columns right add hl, bc - ld c, $a3 ; no leading zeroes, right-aligned, print currency symbol, 3 bytes + ld c, 3 | LEADING_ZEROES | MONEY_SIGN call PrintBCDNumber .skipPrintingItemPrice ld a, [wListMenuID] -- cgit v1.3.1-sl0p