From 7445441edfb298f40cc186976f3721f4e1be81bd Mon Sep 17 00:00:00 2001 From: pikalaxalt Date: Sat, 4 Jun 2016 09:03:51 -0400 Subject: Pikachu pics; town map entries --- macros.asm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'macros.asm') diff --git a/macros.asm b/macros.asm index 6e1ebc9d..b0c38140 100644 --- a/macros.asm +++ b/macros.asm @@ -239,7 +239,7 @@ EMAP: MACRO ; emap x-coordinate,y-coordinate,textpointer ; nybble: y-coordinate ; nybble: x-coordinate ; word : pointer to map name - db (\1 + (\2 << 4)) + dn \2, \1 dw \3 ENDM @@ -251,7 +251,7 @@ IMAP: MACRO ; imap mapid_less_than,x-coordinate,y-coordinate,textpointer ; nybble: x-coordinate ; word : pointer to map name db \1 + 1 - db \2 + \3 << 4 + dn \3, \2 dw \4 ENDM -- cgit v1.3.1-sl0p