Prev: C34D Up: Map Next: C3AA
C39D: A note for the ending, a little lower each time
Used by the routine at ENDING_VILLAIN.
Played by the update routine of the ending's pictures (ENDING_VILLAIN), which resets EFFECT_TIME when a picture has finished. EFFECT_TIME counts up one each time and the pitch is it plus 64: twelve waves, lower as the count grows. The same bytes as Pentagram's pause beep, put to another use; Nightshade's pause (PAUSE) is silent.
ENDING_BEEP C39D LD HL,EFFECT_TIME one more on the count; the pitch 64 on from it
C3A0 INC (HL)
C3A1 LD A,(HL)
C3A2 ADD A,$40
C3A4 LD B,A
C3A5 LD C,$0C twelve waves
C3A7 JP BEEP
Prev: C34D Up: Map Next: C3AA