summaryrefslogtreecommitdiff
path: root/macros.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2015-02-04 01:10:59 -0800
committeryenatch <yenatch@gmail.com>2015-02-04 01:10:59 -0800
commita0e2b8270f6fa49d117db089923f4e77b000d314 (patch)
treecc9cfa3c78f986984236fb7796a9b229ad28a1a6 /macros.asm
parent36436bbf41a7884efc5f1661bc9fbca20038d0bc (diff)
Mobile phrases and tons of related data.
Diffstat (limited to 'macros.asm')
-rw-r--r--macros.asm8
1 files changed, 8 insertions, 0 deletions
diff --git a/macros.asm b/macros.asm
index 9bf001464..fadece74e 100644
--- a/macros.asm
+++ b/macros.asm
@@ -139,3 +139,11 @@ x = 0
x = x + (\1) * $40000
endr
ENDM
+
+
+bcd: MACRO
+ rept _NARG
+ dn ((\1) % 100) / 10, (\1) % 10
+ shift
+ endr
+ENDM