summaryrefslogtreecommitdiff
path: root/macros/text.asm
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2015-01-20 00:01:23 -0800
committeryenatch <yenatch@gmail.com>2015-01-20 00:01:23 -0800
commit8583cc4724144e255d61a2c7ed7dd70036bcdb6e (patch)
tree0d6c0dd45f981d35ceb1a0b2c8ec9562da0c0f3f /macros/text.asm
parentd8cf44a87e4da0e53ab44c487b865817b496a048 (diff)
Stop using the preprocessor.
Diffstat (limited to 'macros/text.asm')
-rw-r--r--macros/text.asm65
1 files changed, 65 insertions, 0 deletions
diff --git a/macros/text.asm b/macros/text.asm
new file mode 100644
index 000000000..ae49d8fbb
--- /dev/null
+++ b/macros/text.asm
@@ -0,0 +1,65 @@
+text_from_ram: macro
+ db 1
+ dw \1
+ endm
+
+text_dunno1: macro
+ db 5
+ endm
+
+text_waitbutton: macro
+ db 6
+ endm
+
+text_dunno2: macro
+ db 7
+ endm
+
+start_asm: macro
+ db 8
+ endm
+
+deciram: macro
+ db 9
+ dw \1
+ db \2
+ endm
+
+interpret_data: macro
+ db 10
+ endm
+
+sound0: macro
+ db 11
+ endm
+
+limited_interpret_data: macro
+ db 12
+ db \1
+ endm
+
+sound0x0F: macro
+ db $f
+ endm
+
+sound0x02: macro
+ db $10
+ endm
+
+sound0x0A: macro
+ db $11
+ endm
+
+sound0x2C: macro
+ db $13
+ endm
+
+current_day: macro
+ db $15
+ endm
+
+text_jump: macro
+ db $16
+ dw \1
+ db BANK(\1)
+ endm