diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2026-03-20 15:17:30 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2026-03-20 15:17:30 +0100 |
| commit | f0ad3efa6969f121538e946719eb7c3704339f35 (patch) | |
| tree | b904848617601396535ebbcb4a357f9f2c027d91 /src/driver.s | |
| parent | 606bd95503e3c3caf61c90f48271c41651bdc937 (diff) | |
| download | jetpac.nes-f0ad3efa6969f121538e946719eb7c3704339f35.tar.gz jetpac.nes-f0ad3efa6969f121538e946719eb7c3704339f35.zip | |
Set the proper "game over" flag
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'src/driver.s')
| -rw-r--r-- | src/driver.s | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/driver.s b/src/driver.s index bfa6294..f328a68 100644 --- a/src/driver.s +++ b/src/driver.s @@ -329,8 +329,10 @@ sta Globals::zp_flags lda Items::zp_state and #$04 - beq @invalidate_items - inc Globals::zp_flags + bne @invalidate_items + lda Globals::zp_flags + and #$FE + sta Globals::zp_flags @invalidate_items: ;; Invalidate items, which were skipped on move_sprites_out() on purpose |
