aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-04-05 22:36:01 +0200
committerMiquel Sabaté Solà <mssola@mssola.com>2026-04-05 22:36:01 +0200
commit193231c11e89bdec2e027a1ea6822281df2bf6bf (patch)
treeb417ba4c12c90a4789a939722ed2d5fa8b0492b6
parenta9b64a7138a7a7ecc08822b5c75cf406b2b76274 (diff)
downloadjetpac.nes-193231c11e89bdec2e027a1ea6822281df2bf6bf.tar.gz
jetpac.nes-193231c11e89bdec2e027a1ea6822281df2bf6bf.zip
Let SUSE's coin to appear at stage 16
We want every shuttle kind to appear at least once before rewarding the player with the coin. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
-rw-r--r--CHANGELOG.md2
-rw-r--r--src/items.s2
2 files changed, 2 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 11057c3..f0fbde8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -24,7 +24,7 @@ adapted to the reality of the NES/Famicom. This means:
hard to do and probably not worth it. In the end: different machine, different
rules. Hence, bullets are handled in a similar way as other games for the
NES/Famicom, even if it's not particularly close to the original.
-- As an homage to Donkey Kong 64, you can **collect a coin** after completing 8
+- As an homage to Donkey Kong 64, you can **collect a coin** after completing 16
stages. This coin features a chameleon as a reference to SUSE, since I
originally bootstrapped this project during [Hackweek
23](https://hackweek.opensuse.org/projects/port-the-jetpac-game-to-the-nes).
diff --git a/src/items.s b/src/items.s
index 86d9b2b..fb6514d 100644
--- a/src/items.s
+++ b/src/items.s
@@ -215,7 +215,7 @@
;; If we have finished the game once, and we have not collected the
;; SUSE's coin yet, let it be.
lda Globals::zp_level
- cmp #8
+ cmp #16
bne @invalidate_third
lda Items::zp_state
and #$04