summaryrefslogtreecommitdiff
path: root/macros.asm
diff options
context:
space:
mode:
Diffstat (limited to 'macros.asm')
-rw-r--r--macros.asm10
1 files changed, 10 insertions, 0 deletions
diff --git a/macros.asm b/macros.asm
index 1d23392fa..5129e2960 100644
--- a/macros.asm
+++ b/macros.asm
@@ -211,3 +211,13 @@ endr
ENDM
palettes EQUS "* 8"
+
+ldpixel: MACRO
+if _NARG == 5
+ lb \1, \2 * 8 + \4, \3 * 8 + \5
+else
+ lb \1, \2 * 8, \3 * 8
+endc
+ endm
+
+depixel EQUS "ldpixel de,"