Prev: C435 Up: Map Next: C463
C455: A monster appearing: a note pitched by its graphic
Used by the routine at APPEARING_UPDATE.
Six waves, the half-wave count the complement of the graphic turned right three bits, the top three kept: $E0, $C0, $A0 and $80 for graphics 128-131, so the note rises as the monster appears (APPEARING_UPDATE). Pentagram has these bytes left over as data.
Input
IX the record
APPEAR_SOUND C455 LD A,(IX+$00) the pitch from the graphic
C458 CPL
C459 RRCA
C45A RRCA
C45B RRCA
C45C AND $E0
C45E LD B,A
C45F LD C,$06 six waves
C461 JR BEEP
Prev: C435 Up: Map Next: C463