From 908b2565faadc7efbfce7d9afb2bbb89188ae2df Mon Sep 17 00:00:00 2001 From: mid-kid Date: Mon, 3 Aug 2020 22:56:33 +0200 Subject: TX_NUM -> TX_DECIMAL --- home/text.asm | 6 +++--- hram.asm | 2 +- macros/scripts/text.asm | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/home/text.asm b/home/text.asm index f21b940c..f7ce3395 100644 --- a/home/text.asm +++ b/home/text.asm @@ -612,7 +612,7 @@ TextCommands:: dw TextCommand_PROMPT_BUTTON ; TX_PROMPT_BUTTON dw TextCommand_SCROLL ; TX_SCROLL dw TextCommand_START_ASM ; TX_START_ASM - dw TextCommand_NUM ; TX_NUM + dw TextCommand_DECIMAL ; TX_DECIMAL dw TextCommand_PAUSE ; TX_PAUSE dw TextCommand_SOUND ; TX_SOUND_DEX_FANFARE_50_79 dw TextCommand_DOTS ; TX_DOTS @@ -756,8 +756,8 @@ TextCommand_START_ASM:: ; run assembly code jp hl -TextCommand_NUM:: -; print a number +TextCommand_DECIMAL:: +; print a decimal number ld a, [hli] ld e, a ld a, [hli] diff --git a/hram.asm b/hram.asm index 2b3c07f2..edc9599c 100644 --- a/hram.asm +++ b/hram.asm @@ -86,7 +86,7 @@ hPrintNumBuffer:: ds 10 NEXTU ; miscellaneous - ds 9 + ds 9 hMGStatusFlags:: db ENDU diff --git a/macros/scripts/text.asm b/macros/scripts/text.asm index 2622cee5..f45b7fd1 100644 --- a/macros/scripts/text.asm +++ b/macros/scripts/text.asm @@ -61,9 +61,9 @@ text_asm: MACRO db TX_START_ASM ENDM - const TX_NUM ; $09 + const TX_DECIMAL ; $09 text_decimal: MACRO - db TX_NUM + db TX_DECIMAL dw \1 ; address dn \2, \3 ; bytes, digits ENDM -- cgit v1.2.3