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:
SAVE_AXY
; Play meow sound
phy
ldy #SOUND_MEOW1
jsr playSound
ply
jsr playIterativeMeowSound
PLAYERPTR_Y
@ -480,3 +476,28 @@ treatsStr:
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