From 329953d54d3d07b517dcff391a40229acd89bd59 Mon Sep 17 00:00:00 2001 From: Astatin Date: Fri, 7 Mar 2025 18:07:40 +0900 Subject: Add floor counter + a lot of little bug fixes --- entity/fox.gbasm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'entity/fox.gbasm') diff --git a/entity/fox.gbasm b/entity/fox.gbasm index 5e225ec..89df17e 100644 --- a/entity/fox.gbasm +++ b/entity/fox.gbasm @@ -149,9 +149,10 @@ Fox_Turn: JR Z, =.End_movement.end CALL =Laser_sight_check - LD A, E - CP $00 - JR Z, =.laser_sight_check_fail + LD A, D + AND $07 + CP E + JR NZ, =.laser_sight_check_fail CALL =Laser_Enemy_Attack -- cgit v1.2.3-70-g09d2