diff options
| author | Miquel Sabaté Solà <mssola@mssola.com> | 2026-03-25 22:40:48 +0100 |
|---|---|---|
| committer | Miquel Sabaté Solà <mssola@mssola.com> | 2026-03-25 22:40:48 +0100 |
| commit | 63ef73de3bdd698ab250407354e24a6de7c9ef20 (patch) | |
| tree | 5caa3f3a37ea32af6f0d4e0ae42ad3fa2b455c55 /src/items.s | |
| parent | ccf320971efe9b11f7b7722b2ee2642a10303203 (diff) | |
| download | jetpac.nes-63ef73de3bdd.tar.gz jetpac.nes-63ef73de3bdd.zip | |
Update scores on screen
Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'src/items.s')
| -rw-r--r-- | src/items.s | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/items.s b/src/items.s index 12f551f..084bd1b 100644 --- a/src/items.s +++ b/src/items.s @@ -521,6 +521,14 @@ lsr sta Items::zp_current_tiles + 1, x + ;; Account for this on the player's score. + ;; + ;; NOTE: this is in opposition as to how it was handled in the original + ;; game where the score was accounted on part/tank pickup, not + ;; dropping. I find this more reliable and easier to code, and in the + ;; end it's the same. + ADD_PART_FUEL_SCORE + jmp @next ;;; @@ -966,7 +974,8 @@ lda #$FF sta Items::zp_pool_base, x - ;; TODO: score + ;; Account for this on the player's score. + ADD_ITEM_SCORE rts .endproc |
