summaryrefslogtreecommitdiff
path: root/engine/evolution_animation.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/evolution_animation.asm')
-rwxr-xr-xengine/evolution_animation.asm14
1 files changed, 7 insertions, 7 deletions
diff --git a/engine/evolution_animation.asm b/engine/evolution_animation.asm
index 1fa55c10a..365f4e729 100755
--- a/engine/evolution_animation.asm
+++ b/engine/evolution_animation.asm
@@ -122,7 +122,7 @@ EvolutionAnimation: ; 4e5e1
hlcoord 7, 2
ld d, $0
ld e, ANIM_MON_EVOLVE
- predef AnimateFrontpic
+ predef Predef_AnimateFrontpic
pop af
ld [CurPartySpecies], a
@@ -168,7 +168,7 @@ EvolutionAnimation: ; 4e5e1
ld a, $1
ld [wBoxAlignment], a
ld de, vTiles2
- predef GetAnimatedFrontpicPredef
+ predef Predef_GetAnimatedFrontpic
xor a
ld [wBoxAlignment], a
ret
@@ -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