aboutsummaryrefslogtreecommitdiff
path: root/src/over.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/over.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/over.s')
-rw-r--r--src/over.s14
1 files changed, 4 insertions, 10 deletions
diff --git a/src/over.s b/src/over.s
index a2a0f9f..6d8ed8d 100644
--- a/src/over.s
+++ b/src/over.s
@@ -147,15 +147,13 @@
rts
.endproc
- ;; Render the regular "Game over player X" screen.
- ;;
- ;; TODO: multiplayer support.
+ ;; Render the regular "Game over" screen.
.proc render_regular_game_over
;; Set the position.
bit PPU::m_status
ldx #$29
stx PPU::m_address
- ldx #$67
+ ldx #$6C
stx PPU::m_address
;; And just iterate over the "message" until we reach the end of string
@@ -186,11 +184,7 @@
message:
;; "GAME "
.byte $21, $1B, $27, $1F, $00
- ;; "OVER "
- .byte $29, $30, $1F, $2C, $00
- ;; "PLAYER "
- .byte $2A, $26, $1B, $33, $1F, $2C, $00
- ;; "1"
- .byte $11, $FF
+ ;; "OVER"
+ .byte $29, $30, $1F, $2C, $FF
.endproc
.endscope