diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2026-03-08 16:10:52 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2026-03-08 22:14:10 +0100 |
| commit | 276515a1338feb72e38825dd920a23ac525d241b (patch) | |
| tree | 2ab5ccbaca1c019139b907419c668751e73a11d1 /src/over.s | |
| parent | 0454655006afe7f83f8de2280b758fb323487e76 (diff) | |
| download | jetpac.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.s | 14 |
1 files changed, 4 insertions, 10 deletions
@@ -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 |
