diff options
author | entrpntr <entrpntr@gmail.com> | 2020-06-10 11:03:58 -0400 |
---|---|---|
committer | entrpntr <entrpntr@gmail.com> | 2020-06-10 11:33:55 -0400 |
commit | 11f01dbcd8013d24750d10874d12bc0c534ac7e9 (patch) | |
tree | 8eb5865802fc5f2357332b44915e2da43bb81bcc /engine/gfx/sprite_anims.asm | |
parent | 07183b5d2c1aa712da707d54e16deb65780be9e4 (diff) |
Slowly getting there.
Diffstat (limited to 'engine/gfx/sprite_anims.asm')
-rw-r--r-- | engine/gfx/sprite_anims.asm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/gfx/sprite_anims.asm b/engine/gfx/sprite_anims.asm index a6e717e8..e9d63d44 100644 --- a/engine/gfx/sprite_anims.asm +++ b/engine/gfx/sprite_anims.asm @@ -309,8 +309,8 @@ DoAnimFrame: .asm_8d602 call DeinitializeSprite - ld a, $1 - ld [wBattleMonLevel], a + ld a, 1 + ld [wcb19], a ret .Function8d60b @@ -392,7 +392,7 @@ DoAnimFrame: dw .Function8d680 .Function8d673 - ld a, [wBattleMonLevel] + ld a, [wcb19] and a ret z call .IncrementJumptableIndex @@ -479,7 +479,7 @@ DoAnimFrame: .asm_8d6e9 ld a, 1 - ld [wBattleMonLevel], a + ld [wcb19], a call .IncrementJumptableIndex ret @@ -562,7 +562,7 @@ DoAnimFrame: jr z, .asm_8d761 dec [hl] dec [hl] - ld a, [wBattleMonLevel] + ld a, [wcb19] and a ret nz dec [hl] |