diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2018-02-02 22:55:38 -0500 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2018-02-02 22:55:38 -0500 |
commit | e32e5212af3783f530af884852570d8003e69486 (patch) | |
tree | 895ce2f17a0354bf4beef7818434495b9d60f237 /macros/scripts | |
parent | 45373ec601e5af5bc2be7a72b8556e4311efdc05 (diff) |
use "x + -1" not "x +- 1"
(TODO: use "x - 1" once rgbds allows it)
Diffstat (limited to 'macros/scripts')
-rw-r--r-- | macros/scripts/gfx_anims.asm | 2 |
1 files changed, 1 insertions, 1 deletions
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 |