aboutsummaryrefslogtreecommitdiff
path: root/src/jetpac.s
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-03-08 16:10:52 +0100
committerMiquel Sabaté Solà <mssola@mssola.com>2026-03-08 22:14:10 +0100
commit276515a1338feb72e38825dd920a23ac525d241b (patch)
tree2ab5ccbaca1c019139b907419c668751e73a11d1 /src/jetpac.s
parent0454655006afe7f83f8de2280b758fb323487e76 (diff)
downloadjetpac.nes-276515a1338feb72e38825dd920a23ac525d241b.tar.gz
jetpac.nes-276515a1338feb72e38825dd920a23ac525d241b.zip
State game over only when all players are dead
This is a bit contrary to the original game, where each player would get its own "Game over" event. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'src/jetpac.s')
-rw-r--r--src/jetpac.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jetpac.s b/src/jetpac.s
index e8d6543..4802e74 100644
--- a/src/jetpac.s
+++ b/src/jetpac.s
@@ -111,7 +111,7 @@
.endproc
.proc main
- ;; TODO: score initialization has to happen here.
+ ;; TODO: high score initialization has to happen here.
@init:
;; Disable the PPU and zero out variables which shadow PPU registers.
@@ -239,7 +239,7 @@
bit Globals::zp_flags
bmi @wait_for_render_over
- ;; Did the user want to start over?
+ ;; Can the player start over?
lda Globals::zp_tmp0
beq @main_game_loop
jmp @init