From 0c5af85cc0cb9bb39a3a72548e735b92daf0a28f Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Wed, 4 Mar 2026 22:53:35 +0100 Subject: Add collision with the player MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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à --- include/globals.s | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'include/globals.s') 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. -- cgit v1.2.3