shithub: pokecrystal

Download patch

ref: 6f30d79620e0fb1f5f96310e76230facac122c07
parent: 2d2a7dec7d8bea0c456e4598f73c24e4b5635c24
author: mid-kid <esteve.varela@gmail.com>
date: Mon Aug 3 18:56:33 EDT 2020

TX_NUM -> TX_DECIMAL

--- a/home/text.asm
+++ b/home/text.asm
@@ -696,7 +696,7 @@
 	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
@@ -849,8 +849,8 @@
 	ld [hl], a
 	ret
 
-TextCommand_NUM::
-; print a number
+TextCommand_DECIMAL::
+; print a decimal number
 	ld a, [hli]
 	ld e, a
 	ld a, [hli]
--- a/hram.asm
+++ b/hram.asm
@@ -89,7 +89,7 @@
 
 NEXTU
 ; miscellaneous
-    ds 9
+	ds 9
 hMGStatusFlags:: db
 ENDU
 
--- a/macros/scripts/text.asm
+++ b/macros/scripts/text.asm
@@ -61,9 +61,9 @@
 	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