Routines

28952: Add to score and make sound of mouse being caught


Used by routine at 31573

A 10

28952 CDB573 CALL 29621 Add 100 to score and print it
28955 2E03 LD L,3 Three squeaks
28957 3E04 LD A,4 Set the squeak parameters
28959 01121A LD BC,6674
28962 1606 LD D,6
28964 CD8C74 CALL 29836 Squeak once
28967 163C LD D,60
28969 1B DEC DE
28970 7A LD A,D
28971 B3 OR E
28972 20FB JR NZ,28969
28974 2D DEC L
28975 20EC JR NZ,28957 Jump back until all 3 squeaks have been done
28977 C9 RET