aboutsummaryrefslogtreecommitdiffstats
path: root/home/print_num.asm
diff options
context:
space:
mode:
authorNarishma-gb <194818981+Narishma-gb@users.noreply.github.com>2025-12-15 21:14:17 +0100
committerGitHub <noreply@github.com>2025-12-15 15:14:17 -0500
commite9d3324bc06faa7de3b7a35d1f9429e610e8a761 (patch)
tree63efb83577bf37c03aea14c8f29ca473676eb0d6 /home/print_num.asm
parentClarify how the order of map constants matters for the Town Map (#553) (diff)
downloadpokeyellow-e9d3324bc06faa7de3b7a35d1f9429e610e8a761.tar.gz
pokeyellow-e9d3324bc06faa7de3b7a35d1f9429e610e8a761.tar.xz
pokeyellow-e9d3324bc06faa7de3b7a35d1f9429e610e8a761.zip
Comment more unreferenced local labels (#550)
Diffstat (limited to 'home/print_num.asm')
-rw-r--r--home/print_num.asm17
1 files changed, 11 insertions, 6 deletions
diff --git a/home/print_num.asm b/home/print_num.asm
index 32fae363..8027a764 100644
--- a/home/print_num.asm
+++ b/home/print_num.asm
@@ -82,11 +82,16 @@ MACRO print_digit
call .NextDigit
ENDM
-.millions print_digit 1000000
-.hundred_thousands print_digit 100000
-.ten_thousands print_digit 10000
-.thousands print_digit 1000
-.hundreds print_digit 100
+; millions
+ print_digit 1000000
+.hundred_thousands
+ print_digit 100000
+.ten_thousands
+ print_digit 10000
+.thousands
+ print_digit 1000
+.hundreds
+ print_digit 100
.tens
ld c, 0
@@ -113,7 +118,7 @@ ENDM
.next
call .NextDigit
-.ones
+; ones
ld a, '0'
add b
ld [hli], a