diff options
author | Astatin <[email protected]> | 2025-08-23 12:55:01 +0200 |
---|---|---|
committer | Astatin <[email protected]> | 2025-08-23 12:55:01 +0200 |
commit | 619aeddb8a9f955ab51cecad62540255880187e0 (patch) | |
tree | 8ae2cabd7e721f1772aefc0cac1189838bebaec2 | |
parent | 76be4685a3270ba15a14439ef8265aa82efd8218 (diff) |
Fix bunny animation not reset after loading animation
-rw-r--r-- | modes/dungeon.gbasm | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/modes/dungeon.gbasm b/modes/dungeon.gbasm index b747375..a06a13f 100644 --- a/modes/dungeon.gbasm +++ b/modes/dungeon.gbasm @@ -44,10 +44,13 @@ Update_Animation_Steps: CALL =Update_VBlank_Handler .end: - LD A, $mem_bunny_health + + LD A, $mem_moving_animation_step CP $00 RET NZ - LD A, $mem_moving_animation_step + LD A, $00 + LD $mem_bunny_animation, A + LD A, $mem_bunny_health CP $00 RET NZ |