Prev: C455 Up: Map Next: C471
C463: The knight appearing: a note that rises
Used by the routine at UPDATE_KNIGHT.
Eight waves, the half-wave count the complement of ARRIVING, which climbs by two a turn while he appears (UPDATE_KNIGHT): the note rises with it. BEEP, the rest, plays C waves at one pitch for most of the sounds here. The same code as the second half of Pentagram's unused beeps, which pitch it from a spare byte.
Input
B (at BEEP) the half-wave count
C (at BEEP) the number of waves
ARRIVE_SOUND C463 LD A,(ARRIVING) the pitch from ARRIVING; eight waves
C466 CPL
C467 LD B,A
C468 LD C,$08
This entry point is used by the routines at BLIP_BY_TURN, ENDING_BEEP, EFFECT_NOTE, FOOTSTEP, PUFF_SOUND and APPEAR_SOUND.
BEEP C46A CALL CLICK BEEP: C waves at half-wave count B
C46D DEC C
C46E JR NZ,BEEP
C470 RET
Prev: C455 Up: Map Next: C471