aboutsummaryrefslogtreecommitdiff
path: root/src/driver.s
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-03-11 23:39:58 +0100
committerMiquel Sabaté Solà <mssola@mssola.com>2026-03-11 23:39:58 +0100
commit8b0531660a8ac0320b8ed7f4bd724ba6dfc333a6 (patch)
tree44ca2c7196c8d39d00dcf838108d9137e54f5470 /src/driver.s
parent2b13fb8abd0616db67e94e5cfa29b2e0dadfb27b (diff)
downloadjetpac.nes-8b0531660a8ac0320b8ed7f4bd724ba6dfc333a6.tar.gz
jetpac.nes-8b0531660a8ac0320b8ed7f4bd724ba6dfc333a6.zip
Fix a slight misalignment when spreading out bullets
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'src/driver.s')
-rw-r--r--src/driver.s1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/driver.s b/src/driver.s
index 3d9eb53..903c2da 100644
--- a/src/driver.s
+++ b/src/driver.s
@@ -151,6 +151,7 @@
bne @enemies_reset_loop
;; Invalidate all bullets.
+ ldx #0
ldy #Bullets::BULLETS_POOL_CAPACITY
@bullets_reset_loop:
sta Bullets::zp_pool_base, x