summaryrefslogtreecommitdiff
path: root/home.asm
diff options
context:
space:
mode:
authorlibjet <libj3t@gmail.com>2020-02-19 23:35:57 +0000
committerlibjet <libj3t@gmail.com>2020-02-19 23:35:57 +0000
commitc2e849aaa2ee59da43984c3d02acf0d60b011ddd (patch)
tree2de6f34a46b268ec7618e1c8e0e109a2da5891ff /home.asm
parentd1bc3af431cc1203599f0e9bc0c3bd5aa7393a35 (diff)
Add home/print_level.asm
Diffstat (limited to 'home.asm')
-rw-r--r--home.asm22
1 files changed, 1 insertions, 21 deletions
diff --git a/home.asm b/home.asm
index 283a0e5d..fa5c96cf 100644
--- a/home.asm
+++ b/home.asm
@@ -262,27 +262,7 @@ INCLUDE "home/stone_queue.asm"
INCLUDE "home/trainers.asm"
INCLUDE "home/mon_stats.asm"
INCLUDE "home/cry.asm"
-
-PrintLevel:: ; 3a50
- ld a, [wTempMonLevel]
- ld [hl], $6e
- inc hl
- ld c, $2
- cp MAX_LEVEL
- jr c, Print8BitNumRightAlign
- dec hl
- inc c
- jr Print8BitNumRightAlign
-
-PrintLevel_Force3Digits::
- ld [hl], $6e
- inc hl
- ld c, $3
-Print8BitNumRightAlign::
- ld [wd151], a
- ld de, wd151
- ld b, PRINTNUM_RIGHTALIGN | 1
- jp PrintNum
+INCLUDE "home/print_level.asm"
Function3a70::
ld hl, wd149