aboutsummaryrefslogtreecommitdiff
path: root/src/driver.s
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-03-13 22:33:38 +0100
committerMiquel Sabaté Solà <mssola@mssola.com>2026-03-13 22:33:38 +0100
commitcf3a0c963225068b6e3269f50e240950607a5c6b (patch)
tree3921181239a665fdf21d402cdc7e791ae427f6da /src/driver.s
parent3501f8fdee3a6d43f5e837e5499e759053c0fda9 (diff)
downloadjetpac.nes-cf3a0c963225.tar.gz
jetpac.nes-cf3a0c963225.zip
Implement falling items
Every now and then an item will fall and, as in the original game, a fuel tank will be delivered whenever needed. There are still some things left out for later changes, like picking up items mid-air, or background effects for the rocket being filled with fuel. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'src/driver.s')
-rw-r--r--src/driver.s3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/driver.s b/src/driver.s
index 421dd69..448efa2 100644
--- a/src/driver.s
+++ b/src/driver.s
@@ -125,7 +125,8 @@
sta Player::zp_state
;; Prepare the items for the scene.
- jsr Items::prepare_scene
+ jsr Items::prepare_background_scene
+ jsr Items::init_level
;; Mark the state of the game as "game". That is, the player has
;; started. Also set the `ppu` flag and unset the `title over` one.