summaryrefslogtreecommitdiff
path: root/home/print_level.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2020-02-23 14:16:26 -0500
committerGitHub <noreply@github.com>2020-02-23 14:16:26 -0500
commitef1c4c5a813595841a2c81105ca0c06e5ea85db0 (patch)
treee5d59ac8f5a649ba4add7f7a3fa64c09ecfbc6b5 /home/print_level.asm
parent9a927c1b3efa2eca886f346a4fcca0eb57278faf (diff)
parent813d0aa73a16ababcf257d4df57ff3b69879b011 (diff)
Merge pull request #687 from mid-kid/master
Small home/ reorganization
Diffstat (limited to 'home/print_level.asm')
-rw-r--r--home/print_level.asm28
1 files changed, 0 insertions, 28 deletions
diff --git a/home/print_level.asm b/home/print_level.asm
deleted file mode 100644
index bdd11aabb..000000000
--- a/home/print_level.asm
+++ /dev/null
@@ -1,28 +0,0 @@
-PrintLevel::
-; Print wTempMonLevel at hl
-
- ld a, [wTempMonLevel]
- ld [hl], "<LV>"
- inc hl
-
-; How many digits?
- ld c, 2
- cp 100 ; This is distinct from MAX_LEVEL.
- jr c, Print8BitNumLeftAlign
-
-; 3-digit numbers overwrite the :L.
- dec hl
- inc c
- jr Print8BitNumLeftAlign
-
-PrintLevel_Force3Digits::
-; Print :L and all 3 digits
- ld [hl], "<LV>"
- inc hl
- ld c, 3
-
-Print8BitNumLeftAlign::
- ld [wDeciramBuffer], a
- ld de, wDeciramBuffer
- ld b, PRINTNUM_LEFTALIGN | 1
- jp PrintNum