aboutsummaryrefslogtreecommitdiff
path: root/src/items.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/items.s')
-rw-r--r--src/items.s9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/items.s b/src/items.s
index d8d1391..1e8a111 100644
--- a/src/items.s
+++ b/src/items.s
@@ -591,6 +591,9 @@
;; Increase the number of collected items.
inc Items::zp_collected
+ ;; Make the "item drop" sound
+ SOUND_ITEM_DROP
+
;; Now we unset the 'S' bit, which is unconditionally true regardless of
;; the collection state. That being said, if we still need to collect
;; more fuel tanks (the rocket has all its parts and we have not filled
@@ -679,6 +682,9 @@
@set_modes:
sta Items::zp_pool_base, x
+ ;; Make the sound for grabbing an item.
+ SOUND_ITEM_PICKUP
+
;; Mark the player's to be already grabbing an item.
lda Items::zp_state
ora #$80
@@ -988,6 +994,9 @@
ADD_ITEM_SCORE
ldx Globals::zp_tmp2
+ ;; Make the sound for item pickup.
+ SOUND_ITEM_PICKUP
+
rts
.endproc