summaryrefslogtreecommitdiff
path: root/constants.asm
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2012-01-17 01:33:46 -0600
committerBryan Bishop <kanzure@gmail.com>2012-01-17 01:33:46 -0600
commitf01ad092a54893344157ad6d275febaa7d8d124c (patch)
treeb02a646becc0d3be6ffccd4898d7c8f4a1e44031 /constants.asm
parent5f7bb0da7269ba8b89c42f22d635f8e403976fbf (diff)
TX_RAM for text engine command $1 in pretty_text
hg-commit-id: e4f95976fef8
Diffstat (limited to 'constants.asm')
-rw-r--r--constants.asm8
1 files changed, 8 insertions, 0 deletions
diff --git a/constants.asm b/constants.asm
index cc34ecbf..79ecdd94 100644
--- a/constants.asm
+++ b/constants.asm
@@ -79,6 +79,14 @@ TX_FAR: MACRO
db BANK(\1)
ENDM
+; text engine command $1
+TX_RAM: MACRO
+; prints text to screen
+; \1: RAM address to read from
+ db $1
+ dw \1
+ ENDM
+
; wram locations
W_AICOUNT EQU $CCDF ; number of times remaining that AI action can occur