TX_NUM -> TX_DECIMAL

This commit is contained in:
mid-kid 2020-08-03 22:56:33 +02:00
parent 2d2a7dec7d
commit 6f30d79620
3 changed files with 6 additions and 6 deletions

View File

@ -696,7 +696,7 @@ TextCommands::
dw TextCommand_PROMPT_BUTTON ; TX_PROMPT_BUTTON dw TextCommand_PROMPT_BUTTON ; TX_PROMPT_BUTTON
dw TextCommand_SCROLL ; TX_SCROLL dw TextCommand_SCROLL ; TX_SCROLL
dw TextCommand_START_ASM ; TX_START_ASM dw TextCommand_START_ASM ; TX_START_ASM
dw TextCommand_NUM ; TX_NUM dw TextCommand_DECIMAL ; TX_DECIMAL
dw TextCommand_PAUSE ; TX_PAUSE dw TextCommand_PAUSE ; TX_PAUSE
dw TextCommand_SOUND ; TX_SOUND_DEX_FANFARE_50_79 dw TextCommand_SOUND ; TX_SOUND_DEX_FANFARE_50_79
dw TextCommand_DOTS ; TX_DOTS dw TextCommand_DOTS ; TX_DOTS
@ -849,8 +849,8 @@ TextCommand_START_ASM::
ld [hl], a ld [hl], a
ret ret
TextCommand_NUM:: TextCommand_DECIMAL::
; print a number ; print a decimal number
ld a, [hli] ld a, [hli]
ld e, a ld e, a
ld a, [hli] ld a, [hli]

View File

@ -89,7 +89,7 @@ hPrintNumBuffer:: ds 10
NEXTU NEXTU
; miscellaneous ; miscellaneous
ds 9 ds 9
hMGStatusFlags:: db hMGStatusFlags:: db
ENDU ENDU

View File

@ -61,9 +61,9 @@ text_asm: MACRO
db TX_START_ASM db TX_START_ASM
ENDM ENDM
const TX_NUM ; $09 const TX_DECIMAL ; $09
text_decimal: MACRO text_decimal: MACRO
db TX_NUM db TX_DECIMAL
dw \1 ; address dw \1 ; address
dn \2, \3 ; bytes, digits dn \2, \3 ; bytes, digits
ENDM ENDM