diff options
author | Remy Oukaour <remy.oukaour@gmail.com> | 2017-12-26 19:27:56 -0500 |
---|---|---|
committer | Remy Oukaour <remy.oukaour@gmail.com> | 2017-12-26 19:27:56 -0500 |
commit | 9bc680bd6dde9bbd1c4dcd13d74f42732ea4bc7e (patch) | |
tree | 8bd444cf363af403fbed2355111593e5b23becd3 /engine/sprites.asm | |
parent | 35a3a19fda87d95e829aa99bf1b6cf18a839c1a6 (diff) |
Battle animation data is like sprite animation data
Diffstat (limited to 'engine/sprites.asm')
-rwxr-xr-x | engine/sprites.asm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/sprites.asm b/engine/sprites.asm index b52c9642b..4a33eb5cf 100755 --- a/engine/sprites.asm +++ b/engine/sprites.asm @@ -444,9 +444,9 @@ GetSpriteAnimFrame: ; 8d132 inc [hl] call .GetPointer ; load pointer from SpriteAnimFrameData ld a, [hli] - cp -2 + cp dorestart_command jr z, .restart - cp -1 + cp endanim_command jr z, .repeat_last push af |