diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2026-03-13 22:33:38 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2026-03-13 22:33:38 +0100 |
| commit | cf3a0c963225068b6e3269f50e240950607a5c6b (patch) | |
| tree | 3921181239a665fdf21d402cdc7e791ae427f6da /src/driver.s | |
| parent | 3501f8fdee3a6d43f5e837e5499e759053c0fda9 (diff) | |
| download | jetpac.nes-cf3a0c963225068b6e3269f50e240950607a5c6b.tar.gz jetpac.nes-cf3a0c963225068b6e3269f50e240950607a5c6b.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.s | 3 |
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. |
