summaryrefslogtreecommitdiff
path: root/engine/gfx/pic_animation.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-03-21 14:01:05 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-03-21 14:01:05 -0400
commit6a6ba10315baf4b0092c6d952a2f0cb502b6ac8e (patch)
tree5a32545646f9214cd7674320495cc3e8c6929875 /engine/gfx/pic_animation.asm
parent5a5f5ececdde2c4c62bdee649d8b1d3edba96fed (diff)
rgbds supports 'X - 1' instead of 'X + -1'
Diffstat (limited to 'engine/gfx/pic_animation.asm')
-rw-r--r--engine/gfx/pic_animation.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/gfx/pic_animation.asm b/engine/gfx/pic_animation.asm
index 8eff13ad1..fda39e5c6 100644
--- a/engine/gfx/pic_animation.asm
+++ b/engine/gfx/pic_animation.asm
@@ -538,7 +538,7 @@ PokeAnim_CopyBitmaskToBuffer:
poke_anim_box: MACRO
y = 7
rept \1
-x = 7 + -\1
+x = 7 - \1
rept \1
db x + y
x = x + 1