aboutsummaryrefslogtreecommitdiffstats
path: root/home/print_num.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2025-11-12 15:44:07 -0500
committerGitHub <noreply@github.com>2025-11-12 15:44:07 -0500
commit5943b96cf6d5eda52df2ad689af0ac251e4e0841 (patch)
tree1e90b28cfce0c0876ad7f9886fb2ad405478fd39 /home/print_num.asm
parentUse the same tools/make_patch.c as Gen 2 (diff)
downloadpokeyellow-5943b96cf6d5eda52df2ad689af0ac251e4e0841.tar.gz
pokeyellow-5943b96cf6d5eda52df2ad689af0ac251e4e0841.tar.xz
pokeyellow-5943b96cf6d5eda52df2ad689af0ac251e4e0841.zip
Use features of RGBDS 1.0.0 (#537)
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 ef202239..32fae363 100644
--- a/home/print_num.asm
+++ b/home/print_num.asm
@@ -107,14 +107,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
@@ -191,7 +191,7 @@ ENDM
or c
jr z, .PrintLeadingZero
- ld a, "0"
+ ld a, '0'
add c
ld [hl], a
ldh [hPastLeadingZeros], a
@@ -200,7 +200,7 @@ ENDM
.PrintLeadingZero:
bit BIT_LEADING_ZEROES, d
ret z
- ld [hl], "0"
+ ld [hl], '0'
ret
.NextDigit: