summaryrefslogtreecommitdiff
path: root/macros/coords.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2020-07-16 17:00:57 -0400
committerGitHub <noreply@github.com>2020-07-16 17:00:57 -0400
commitd44c7c305c3f94b59e3e2c008408779836a0020a (patch)
tree2cdc51be4a22992701038b959d6c964e9ee8fc58 /macros/coords.asm
parentb9a113a9f4712771e37313a4c8a76f7ef23cebb2 (diff)
parent7306c1dc2dca5666a5276a6758d1a64e1ddeae20 (diff)
Merge pull request #277 from Rangi42/master
Miscellaneous constant and label updates
Diffstat (limited to 'macros/coords.asm')
-rw-r--r--macros/coords.asm5
1 files changed, 5 insertions, 0 deletions
diff --git a/macros/coords.asm b/macros/coords.asm
index 7cbbca3d..6b16e7f7 100644
--- a/macros/coords.asm
+++ b/macros/coords.asm
@@ -83,3 +83,8 @@ lda_coord: MACRO
ld a, [(\2) * SCREEN_WIDTH + (\1) + wTileMap]
ENDC
ENDM
+
+dbmapcoord: MACRO
+; x, y
+ db \2, \1
+ENDM