From 63ef73de3bdd698ab250407354e24a6de7c9ef20 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Solà Date: Wed, 25 Mar 2026 22:40:48 +0100 Subject: Update scores on screen MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Miquel Sabaté Solà --- src/items.s | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/items.s') 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 -- cgit v1.2.3