aboutsummaryrefslogtreecommitdiff
path: root/src/player.s
diff options
context:
space:
mode:
authorMiquel Sabaté Solà <mssola@mssola.com>2026-03-11 23:44:13 +0100
committerMiquel Sabaté Solà <mssola@mssola.com>2026-03-11 23:44:13 +0100
commit9ae51a4c210b8f01718e21eda592c498715a642b (patch)
tree90867f95c133b8c4383a9559075b73b77b92c98b /src/player.s
parenta0ef7b9c4d341de3f3f518626c40576e45cbf244 (diff)
downloadjetpac.nes-9ae51a4c210b8f01718e21eda592c498715a642b.tar.gz
jetpac.nes-9ae51a4c210b8f01718e21eda592c498715a642b.zip
Initial implementation for items
This now only supports the appearance of shuttle parts and the fact that the player can collect them at a very specific order and drop them so to stack up the final shuttle. This is of course just the skeleton and there's a bunch of TODO's left. Signed-off-by: Miquel Sabaté Solà <mssola@mssola.com>
Diffstat (limited to 'src/player.s')
-rw-r--r--src/player.s2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/player.s b/src/player.s
index 08f7872..48b0bb0 100644
--- a/src/player.s
+++ b/src/player.s
@@ -841,6 +841,8 @@
dec Player::zp_lifes, x
bne @nmi_update
+ ;; TODO: if it was grabbing an item, turn it into 'falling' state.
+
;; If this poor guy is over, then mark it in the multiplayer bitmap.
cpx #0
bne @player_2_over