summaryrefslogtreecommitdiff
path: root/engine/evolution_animation.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/evolution_animation.asm')
-rwxr-xr-xengine/evolution_animation.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/evolution_animation.asm b/engine/evolution_animation.asm
index 049e1677b..365f4e729 100755
--- a/engine/evolution_animation.asm
+++ b/engine/evolution_animation.asm
@@ -346,15 +346,15 @@ EvolutionAnimation: ; 4e5e1
inc a
and $7
ld b, a
- ld hl, Sprites + 3 ; attributes
- ld c, 40
+ ld hl, Sprite01Attributes
+ ld c, NUM_SPRITE_OAM_STRUCTS
.loop6
ld a, [hl]
or b
- ld [hli], a
- inc hl
- inc hl
+ ld [hli], a ; attributes
+rept SPRITEOAMSTRUCT_LENGTH +- 1
inc hl
+endr
dec c
jr nz, .loop6
pop bc