From e32e5212af3783f530af884852570d8003e69486 Mon Sep 17 00:00:00 2001 From: Rangi Date: Fri, 2 Feb 2018 22:55:38 -0500 Subject: use "x + -1" not "x +- 1" (TODO: use "x - 1" once rgbds allows it) --- macros/scripts/gfx_anims.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'macros/scripts/gfx_anims.asm') diff --git a/macros/scripts/gfx_anims.asm b/macros/scripts/gfx_anims.asm index 943a000a9..8f33512ec 100644 --- a/macros/scripts/gfx_anims.asm +++ b/macros/scripts/gfx_anims.asm @@ -4,7 +4,7 @@ frame: MACRO db \1 x = \2 if _NARG > 2 -rept _NARG +- 2 +rept _NARG + -2 x = x | (1 << (\3 + 1)) shift endr -- cgit v1.2.3