aboutsummaryrefslogtreecommitdiffstats
path: root/home/print_num.asm
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2025-11-12 17:56:10 -0600
committerdannye <33dannye@gmail.com>2025-11-12 17:56:10 -0600
commit324ae167d15ae4eef3cda411e10201661e57d88d (patch)
tree86c2b73ce1262f12c1b3eb82874e8572e80e583f /home/print_num.asm
parentSeparate surfing Pikachu graphics from audio engine code (diff)
parentUse features of RGBDS 1.0.0 (#537) (diff)
downloadpokeyellow-324ae167d15ae4eef3cda411e10201661e57d88d.tar.gz
pokeyellow-324ae167d15ae4eef3cda411e10201661e57d88d.tar.xz
pokeyellow-324ae167d15ae4eef3cda411e10201661e57d88d.zip
Merge branch 'master' of https://github.com/pret/pokered
Diffstat (limited to 'home/print_num.asm')
-rw-r--r--home/print_num.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/home/print_num.asm b/home/print_num.asm
index 4872d859..e0af0a4e 100644
--- a/home/print_num.asm
+++ b/home/print_num.asm
@@ -118,14 +118,14 @@ ENDM
call .PrintLeadingZero
jr .next
.past
- ld a, "0"
+ ld a, '0'
add c
ld [hl], a
.next
call .NextDigit
.ones
- ld a, "0"
+ ld a, '0'
add b
ld [hli], a
pop de
@@ -202,7 +202,7 @@ ENDM
or c
jr z, .PrintLeadingZero
- ld a, "0"
+ ld a, '0'
add c
ld [hl], a
ldh [hPastLeadingZeros], a
@@ -211,7 +211,7 @@ ENDM
.PrintLeadingZero:
bit BIT_LEADING_ZEROES, d
ret z
- ld [hl], "0"
+ ld [hl], '0'
ret
.NextDigit: