diff options
author | libjet <libj3t@gmail.com> | 2020-03-15 00:51:21 +0000 |
---|---|---|
committer | libjet <libj3t@gmail.com> | 2020-03-15 00:51:21 +0000 |
commit | e81df1886affec6bf47405065ee39837990f2cfa (patch) | |
tree | d6498780441cc7538a630c77e7f992db33ffe000 /home/print_level.asm | |
parent | 76216e6ce5de8a78cfd9312eb08dbb127b4d34d0 (diff) |
Merge files into pokemon.asm, battle.asm and menu.asm
Diffstat (limited to 'home/print_level.asm')
-rwxr-xr-x | home/print_level.asm | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/home/print_level.asm b/home/print_level.asm deleted file mode 100755 index 9a7258ed..00000000 --- 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, Print8BitNumRightAlign - -; 3-digit numbers overwrite the :L. - dec hl - inc c - jr Print8BitNumRightAlign - -PrintLevel_Force3Digits:: -; Print :L and all 3 digits - ld [hl], "<LV>" - inc hl - ld c, 3 - -Print8BitNumRightAlign:: - ld [wDeciramBuffer], a - ld de, wDeciramBuffer - ld b, PRINTNUM_LEFTALIGN | 1 - jp PrintNum
\ No newline at end of file |