summaryrefslogtreecommitdiff
path: root/engine/evolution_animation.asm
diff options
context:
space:
mode:
Diffstat (limited to 'engine/evolution_animation.asm')
-rwxr-xr-xengine/evolution_animation.asm16
1 files changed, 8 insertions, 8 deletions
diff --git a/engine/evolution_animation.asm b/engine/evolution_animation.asm
index 1fa55c10a..2e6e82e25 100755
--- a/engine/evolution_animation.asm
+++ b/engine/evolution_animation.asm
@@ -80,7 +80,7 @@ EvolutionAnimation: ; 4e5e1
jr c, .skip_cry
ld a, [wEvolutionOldSpecies]
- call PlayCry
+ call PlayMonCry
.skip_cry
ld de, MUSIC_EVOLUTION
@@ -148,7 +148,7 @@ EvolutionAnimation: ; 4e5e1
ret c
ld a, [PlayerHPPal]
- call PlayCry
+ call PlayMonCry
ret
; 4e703
@@ -168,7 +168,7 @@ EvolutionAnimation: ; 4e5e1
ld a, $1
ld [wBoxAlignment], a
ld de, vTiles2
- predef GetAnimatedFrontpicPredef
+ 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