summaryrefslogtreecommitdiff
path: root/event
diff options
context:
space:
mode:
authormid-kid <esteve.varela@gmail.com>2017-11-29 20:24:19 +0100
committermid-kid <esteve.varela@gmail.com>2017-11-29 20:24:19 +0100
commit2cc2f057e8a4429cc328d9f1fe578142e82cfc49 (patch)
tree4e7a32f2b809f5458cbfa6b068fbaa8e3e49e5c6 /event
parente39c8afbf269d5ce4bfe4b780c1bdfe973d956df (diff)
Fix some SPRITE_ANIM_FRAMESET_ constants
Thanks to @roukaour for the fixes.
Diffstat (limited to 'event')
-rwxr-xr-xevent/celebi.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/event/celebi.asm b/event/celebi.asm
index 05f26fe2e..7c8646ec7 100755
--- a/event/celebi.asm
+++ b/event/celebi.asm
@@ -214,14 +214,14 @@ UpdateCelebiPosition: ; 49aa2 (12:5aa2)
jr nc, .left
ld hl, SPRITEANIMSTRUCT_FRAMESET_ID
add hl, bc
- ld a, $41
+ ld a, SPRITE_ANIM_FRAMESET_CELEBI_RIGHT
call ReinitSpriteAnimFrame
jr .done
.left
ld hl, SPRITEANIMSTRUCT_FRAMESET_ID
add hl, bc
- ld a, $40
+ ld a, SPRITE_ANIM_FRAMESET_CELEBI_LEFT
call ReinitSpriteAnimFrame
.done
ret
@@ -231,7 +231,7 @@ UpdateCelebiPosition: ; 49aa2 (12:5aa2)
pop af
ld hl, SPRITEANIMSTRUCT_FRAMESET_ID
add hl, bc
- ld a, $40
+ ld a, SPRITE_ANIM_FRAMESET_CELEBI_LEFT
call ReinitSpriteAnimFrame
ret