Add important meow iteration

This commit is contained in:
blondie7575 2023-07-06 11:03:41 -07:00
parent 2b5e7a29f0
commit 1977553b83

View File

@ -386,11 +386,7 @@ renderAnimationPos:
renderShootAnimation: renderShootAnimation:
SAVE_AXY SAVE_AXY
; Play meow sound jsr playIterativeMeowSound
phy
ldy #SOUND_MEOW1
jsr playSound
ply
PLAYERPTR_Y PLAYERPTR_Y
@ -480,3 +476,28 @@ treatsStr:
pstring "$ " pstring "$ "
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; playIterativeMeowSound
;
playIterativeMeowSound:
phy
ldy meowDex
jsr playSound
iny
iny
cpy #SOUND_MEOW4
bcc playIterativeMeowSoundDone
beq playIterativeMeowSoundDone
ldy #SOUND_MEOW1
playIterativeMeowSoundDone:
sty meowDex
ply
rts
meowDex:
.word SOUND_MEOW1