diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-04-19 16:31:37 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-04-19 16:31:37 -0400 |
commit | 316fa4b69558a1930a1a1ae44a40221a1ddd4f26 (patch) | |
tree | 4706eaec78ee5706e16e944eba4abfe1e7316168 /engine/gfx | |
parent | 35219230960f0dc85c0cb6a5723877b247609e46 (diff) |
Use rgbds 0.5.0
Diffstat (limited to 'engine/gfx')
-rw-r--r-- | engine/gfx/pic_animation.asm | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/engine/gfx/pic_animation.asm b/engine/gfx/pic_animation.asm index d3a176f29..c3ac84b1c 100644 --- a/engine/gfx/pic_animation.asm +++ b/engine/gfx/pic_animation.asm @@ -534,14 +534,10 @@ PokeAnim_CopyBitmaskToBuffer: .Sizes: db 4, 5, 7 poke_anim_box: MACRO -y = 7 -rept \1 -x = 7 - \1 -rept \1 - db x + y -x = x + 1 +for y, 1, \1 + 1 +for x, 7 - \1, 7 + db y * 7 + x endr -y = y + 7 endr ENDM |