Prev: 25677 Up: Map Next: 25770
25715: Sound Effects
Used by the routine at 25850.
25715 LD C,15 C=15.
25717 LD A,C
25718 RRCA
25719 RRCA
25720 RRCA
25721 AND %00000111 Keep only bits 0-2.
25723 CPL
25724 DAA
25725 LD D,A
25726 CALL PlaySquareWave Call PlaySquareWave.
25729 DEC C
25730 JR NZ,25717
25732 RET Return.
This entry point is used by the routine at 25850.
25733 LD A,(24089)
25736 AND 127
25738 OR 48
25740 LD (25749),A
25743 LD C,32
25745 LD A,C
25746 XOR 15
25748 AND 31
25750 LD D,A
25751 CALL PlaySquareWave Call PlaySquareWave.
25754 DEC C
25755 JR NZ,25745
25757 RET Return.
This entry point is used by the routine at 27288.
25758 LD C,16
25760 LD A,C
25761 RRCA
25762 LD D,A
25763 CALL PlaySquareWave Call PlaySquareWave.
25766 DEC C
25767 JR NZ,25760
25769 RET
Prev: 25677 Up: Map Next: 25770