diff options
author | mid-kid <esteve.varela@gmail.com> | 2020-09-14 02:17:09 +0200 |
---|---|---|
committer | mid-kid <esteve.varela@gmail.com> | 2020-09-14 02:17:09 +0200 |
commit | 401686c037845bac8980a541a79725a6b2ddcdfb (patch) | |
tree | 8b610e003654ccd1151ca95be50702f8cdf02efc /include/text.inc | |
parent | db61ac9f37cfd2c048fa0d975e81cc176971898c (diff) | |
parent | 24efa227b1f3934660d29ab5c930ec167079f5f1 (diff) |
Merge branch 'master' of github.com:mid-kid/pokepicross
Diffstat (limited to 'include/text.inc')
-rw-r--r-- | include/text.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/text.inc b/include/text.inc index bb76453..b293fd5 100644 --- a/include/text.inc +++ b/include/text.inc @@ -1,5 +1,7 @@ INCLUDE "charmap.inc" +; Outputs each character of each argument as a 16-bit word +; (dw "string" does not do this: https://github.com/rednex/rgbds/issues/568) text: macro _arg = 1 rept _NARG @@ -7,7 +9,7 @@ _WS EQUS \1 _len = STRLEN("{_WS}") _i = 1 rept _len - dw STRSUB("{_WS}", _i, 1) + dw STRSUB("{_WS}", _i, 1) _i = _i + 1 endr PURGE _WS |