summaryrefslogtreecommitdiff
path: root/home/print_level.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2019-11-04 19:40:58 -0500
committerGitHub <noreply@github.com>2019-11-04 19:40:58 -0500
commit9ebe549347aa16ae3f10d3261242bb1e7bbb6ca6 (patch)
tree521a897c2da997534abd6f6adc1625968bc4603a /home/print_level.asm
parentc9563d5c5e8e3612ac40d70d6f6f5e03ba231f16 (diff)
parentd076159745e688bd58f1e512c4e0fcdd942161e9 (diff)
Merge pull request #654 from Rangi42/master
Miscellaneous cleanup issues
Diffstat (limited to 'home/print_level.asm')
-rw-r--r--home/print_level.asm8
1 files changed, 4 insertions, 4 deletions
diff --git a/home/print_level.asm b/home/print_level.asm
index d10b8f8a1..bdd11aabb 100644
--- a/home/print_level.asm
+++ b/home/print_level.asm
@@ -8,12 +8,12 @@ PrintLevel::
; How many digits?
ld c, 2
cp 100 ; This is distinct from MAX_LEVEL.
- jr c, Print8BitNumRightAlign
+ jr c, Print8BitNumLeftAlign
; 3-digit numbers overwrite the :L.
dec hl
inc c
- jr Print8BitNumRightAlign
+ jr Print8BitNumLeftAlign
PrintLevel_Force3Digits::
; Print :L and all 3 digits
@@ -21,8 +21,8 @@ PrintLevel_Force3Digits::
inc hl
ld c, 3
-Print8BitNumRightAlign::
+Print8BitNumLeftAlign::
ld [wDeciramBuffer], a
ld de, wDeciramBuffer
- ld b, PRINTNUM_RIGHTALIGN | 1
+ ld b, PRINTNUM_LEFTALIGN | 1
jp PrintNum