diff options
author | Astatin <[email protected]> | 2025-03-07 18:07:40 +0900 |
---|---|---|
committer | Astatin <[email protected]> | 2025-03-07 18:07:40 +0900 |
commit | 329953d54d3d07b517dcff391a40229acd89bd59 (patch) | |
tree | 811917d6b3284cb696fb2a943e7062039b5f0e42 /entity/fox.gbasm | |
parent | 3649b73eca599701db818dbbf470b1b17e660083 (diff) |
Add floor counter + a lot of little bug fixes
Diffstat (limited to 'entity/fox.gbasm')
-rw-r--r-- | entity/fox.gbasm | 7 |
1 files changed, 4 insertions, 3 deletions
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 |