From 39db4a9ab2dcd6f3de2bb13fe3dcb2f30784ab35 Mon Sep 17 00:00:00 2001 From: Lukas Krickl Date: Sun, 8 Dec 2024 09:47:27 +0100 Subject: [PATCH] Added basic calls to clear animation memory whenever null actors update --- BUGS.md | 4 ++++ src/actor.s | 1 + src/player.s | 1 + 3 files changed, 6 insertions(+) create mode 100644 BUGS.md diff --git a/BUGS.md b/BUGS.md new file mode 100644 index 0000000..8dcf942 --- /dev/null +++ b/BUGS.md @@ -0,0 +1,4 @@ +# Known Bugs + +- When enemies move off-screen they get stuck + It appears that the finish turn code is not called correctly at this point diff --git a/src/actor.s b/src/actor.s index edb48bd..977fd48 100644 --- a/src/actor.s +++ b/src/actor.s @@ -113,6 +113,7 @@ actor_update_null: ; actor_end_turn turn_finish + call anim_clear jp who_next ; bat actor diff --git a/src/player.s b/src/player.s index c3772a1..2e53370 100644 --- a/src/player.s +++ b/src/player.s @@ -96,6 +96,7 @@ player_update: cp a, 0 jp nz, @skip_input call who_next ; next actor's turn + call anim_clear jp nz, @skip_input @no_anim: -- 2.30.2