Prev: 35731 Up: Map Next: 35782
35739: Play hiss-type sound
Used by the routines at 55115 and 55138.
35739 CALL 35819
35742 EX AF,AF'
35743 LD H,0
35745 LD BC,128
35748 EX AF,AF'
35749 OUT (254),A
35751 XOR 16
35753 EX AF,AF'
35754 LD L,0
35756 LD D,L
35757 LD E,H
35758 AND A
35759 SBC HL,DE
35761 SBC HL,DE
35763 LD DE,254
35766 ADD HL,DE
35767 LD A,L
35768 SUB H
35769 JR C,35772
35771 DEC A
35772 LD H,A
35773 DEC A
35774 JR NZ,35773
35776 DEC BC
35777 LD A,B
35778 OR C
35779 JR NZ,35748
35781 RET
Prev: 35731 Up: Map Next: 35782