From b85d7c65f35e93534a871ed34b1950daf59ab189 Mon Sep 17 00:00:00 2001 From: dannye Date: Fri, 17 Jul 2015 11:20:35 -0500 Subject: Enumerate map constants closes https://github.com/iimarckus/pokered/issues/86 --- macros.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'macros.asm') diff --git a/macros.asm b/macros.asm index bf1b8a89..6a693a0b 100644 --- a/macros.asm +++ b/macros.asm @@ -130,7 +130,7 @@ IMAP: MACRO ; imap mapid_less_than,x-coordinate,y-coordinate,textpointer ; nybble: y-coordinate ; nybble: x-coordinate ; word : pointer to map name - db \1 + db \1 + 1 db \2 + \3 << 4 dw \4 ENDM -- cgit v1.3.1-sl0p