Prev: 46666 Up: Map Next: 46676
46671: Play Sound From Y Position
Used by the routine at HandleBlockMovingNorthSouth.
Plays a short sound whose pitch depends on the y position of the object (see PlaySoundFromHeight_PlaySoundFromValue).
Input
IX The address of the object
Use the y position as the pitch source.
PlaySoundFromYPosition 46671 LD A,(IX+2) Fetch the y position.
46674 JR PlaySoundFromHeight_PlaySoundFromValue Jump to PlaySoundFromHeight_PlaySoundFromValue.
Prev: 46666 Up: Map Next: 46676