aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-03-04 22:53:35 +0100
committerMiquel Sabaté Solà <mssola@mssola.com>2026-03-04 22:53:35 +0100
commit0c5af85cc0cb9bb39a3a72548e735b92daf0a28f (patch)
tree0879318ea266ae1c756529645a3e8fefbd059824 /include
parent196f2ac744fa8e0b6ce2da555e01178d04bfb322 (diff)
downloadjetpac.nes-0c5af85cc0cb9bb39a3a72548e735b92daf0a28f.tar.gz
jetpac.nes-0c5af85cc0cb9bb39a3a72548e735b92daf0a28f.zip
Add collision with the player
This allows for explosions to run after making the player to disappear, and it re-runs the entering scene timer. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'include')
-rw-r--r--include/globals.s11
1 files changed, 6 insertions, 5 deletions
diff --git a/include/globals.s b/include/globals.s
index 0b702b2..ca85d33 100644
--- a/include/globals.s
+++ b/include/globals.s
@@ -30,11 +30,12 @@
;; | Bit | Short name | Meaning when set |
;; |-----+------------+-------------------------------------------------------------|
;; | 7 | render | Game logic is over, block main code until NMI code is over. |
- ;; | 6 | ppu | PPU registers have to be touched |
- ;; | 5-4 | - | Unused |
- ;; | 3 | paused | Game is in pause state |
- ;; | 2 | title over | We are transitioning from title to game |
- ;; | 1-0 | game | 0: title; 1: game; 2: game over, 3: game over (coin) |
+ ;; | 6 | ppu | PPU registers have to be touched. |
+ ;; | 5 | - | Unused. |
+ ;; | 4 | dead | Player has just died. |
+ ;; | 3 | paused | Game is in pause state. |
+ ;; | 2 | title over | We are transitioning from title to game. |
+ ;; | 1-0 | game | 0: title; 1: game; 2: game over, 3: game over (coin). |
zp_flags = $20
;; Current level of the game.