aboutsummaryrefslogtreecommitdiffstats
path: root/home/list_menu.asm
diff options
context:
space:
mode:
authorNarishma-gb <194818981+Narishma-gb@users.noreply.github.com>2025-04-09 05:17:32 +0200
committerGitHub <noreply@github.com>2025-04-08 22:17:32 -0500
commit0ecc36c83a6bf3ecfee45e9f62afc3ebfb97b024 (patch)
tree6c1e5dce8609e33aed4311d8cc1f4b4ebcc73357 /home/list_menu.asm
parentFurther improve NPC trade labels and comments (#493) (diff)
downloadpokeyellow-0ecc36c83a6bf3ecfee45e9f62afc3ebfb97b024.tar.gz
pokeyellow-0ecc36c83a6bf3ecfee45e9f62afc3ebfb97b024.tar.xz
pokeyellow-0ecc36c83a6bf3ecfee45e9f62afc3ebfb97b024.zip
Use constants in `PrintBCDNumber` calls (#503)
Diffstat (limited to 'home/list_menu.asm')
-rw-r--r--home/list_menu.asm4
1 files changed, 2 insertions, 2 deletions
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]