Prev: AF4F Up: Map Next: AF5F
AF57: Play Bullet Sound
Used by the routine at HandleMenuBullet.
Plays a short tone which gets lower as a menu bullet moves to the right.
Input
IX The address of the menu entry
PlayBulletSound AF57 LD A,(IX+$01) Fetch the horizontal position of the bullet.
AF5A SUB $40 Subtract 40.
AF5C LD B,A Use it as the length of a pulse.
AF5D LD C,$04 Set the number of pulses.
Continue on to PlayWaveSequence.
Prev: AF4F Up: Map Next: AF5F