summaryrefslogtreecommitdiff
path: root/include/text.inc
diff options
context:
space:
mode:
Diffstat (limited to 'include/text.inc')
-rw-r--r--include/text.inc20
1 files changed, 2 insertions, 18 deletions
diff --git a/include/text.inc b/include/text.inc
index 9de853a..77044e7 100644
--- a/include/text.inc
+++ b/include/text.inc
@@ -1,21 +1,5 @@
INCLUDE "charmap.inc"
-; Outputs each character of each argument as a 16-bit word
-; (dw "string" does not do this: https://github.com/gbdev/rgbds/issues/568)
-text: macro
-_arg = 1
- rept _NARG
-_WS EQUS \1
-_len = STRLEN("{_WS}")
-_i = 1
- rept _len
- dw STRSUB("{_WS}", _i, 1)
-_i = _i + 1
- endr
- PURGE _WS
- shift
-_arg = _arg + 1
- endr
-endm
-line EQUS "dw TX_LF\n text"
+text EQUS "dw"
+line EQUS "dw TX_LF,"
done EQUS "dw TX_END"