aboutsummaryrefslogtreecommitdiff
path: root/src/jetpac.s
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-03-20 09:54:25 +0100
committerMiquel Sabaté Solà <mssola@mssola.com>2026-03-20 12:48:17 +0100
commit8f7b8ce3335404badc276445d899372839cdde71 (patch)
treec5422f80bc9e13f927965bfa655dd29d6bec5942 /src/jetpac.s
parent01f92b866eb4610b8d12008ea3389ac56052d20a (diff)
downloadjetpac.nes-8f7b8ce3335404badc276445d899372839cdde71.tar.gz
jetpac.nes-8f7b8ce3335404badc276445d899372839cdde71.zip
Add support for the SUSE coin
This is a coin that appears after going through a first cycle of levels and that allows the player to get a different game over screen than usual. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'src/jetpac.s')
-rw-r--r--src/jetpac.s1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/jetpac.s b/src/jetpac.s
index 2d397ac..f6a53a9 100644
--- a/src/jetpac.s
+++ b/src/jetpac.s
@@ -129,6 +129,7 @@
sta Joypad::zp_buttons
sta Joypad::zp_prev
sta Player::zp_state
+ sta Items::zp_state
;; Initialize the level. We allow the build system to pass its own value for
;; this in `LEVEL`, just in case we want to debug the enemy of a specific