Prev: B467 Up: Map Next: B47D
B472: Sound: changing between man and werewolf
Used by the routine at transform_step.
A warble of 16 to 40 single waves, the number set by which of the four transformation frames is showing, each at a pitch scrambled from the step count with an XOR.
Input
IX the object, types 92 to 95
sound_transform B472 LD A,(IX+$00) C = 16, 24, 32 or 40 steps
B475 RLCA
B476 RLCA
B477 RLCA
B478 AND $18
B47A ADD A,$10
B47C LD C,A
Prev: B467 Up: Map Next: B47D