Prev: B64F Up: Map Next: B65F
B654: A note pitched by an object's position
Used by the routine at SPARKLE_END_PLACE.
The pitch follows the sum of U, V and Z, so it changes whichever way the object moves. Knight Lore's sound_pitch_from_xyz.
Input
IX the object
BEEP_BY_UVZ B654 LD A,(IX+$01) U + V + Z, then as BEEP_BY_Z
B657 ADD A,(IX+$02)
B65A ADD A,(IX+$03)
B65D JR BEEP_BY_A
Prev: B64F Up: Map Next: B65F