diff options
author | Astatin <[email protected]> | 2025-02-17 16:27:28 +0900 |
---|---|---|
committer | Astatin <[email protected]> | 2025-02-17 16:27:28 +0900 |
commit | 7dea55ee87dd028daba7c85b82ee55e6b08bf533 (patch) | |
tree | c90b1208201a983cefd1f16778a9f287e5bbbeb0 /entity | |
parent | c1ac8f71285f25c2b3baad3f65f91942867076c7 (diff) |
update health display on death + change direction with B+arrows
Diffstat (limited to 'entity')
-rw-r--r-- | entity/bunny.gbasm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/entity/bunny.gbasm b/entity/bunny.gbasm index c9bd141..4b9bba7 100644 --- a/entity/bunny.gbasm +++ b/entity/bunny.gbasm @@ -72,12 +72,17 @@ Move_Bunny: SET 3, A LD $mem_map_loading_flags, A + LD A, $mem_button_action + BIT 1, A + JR NZ, =.Start_action_or_movement.cancel_movement + LD A, D CALL =Get_Position_After_Move CALL =Is_Collisionable CALL =Carve_Entity_Collision_Map CP $00 JR Z, =.Start_action_or_movement.not_collision + .Start_action_or_movement.cancel_movement: RES 3, D LD A, $mem_map_loading_flags |