Prev: 46173 Up: Map Next: 46183
46178: Play Sound From Y Position
Plays the tone for an object that is moving north or south, with a pitch taken from its Y coordinate.
Input
IX Address of the object
Use the Y coordinate as the pitch source.
PlaySoundFromYPosition 46178 LD A,(IX+2) Fetch the Y coordinate of the object.
46181 JR PlaySoundFromHeight_PlaySoundFromValue Jump to PlaySoundFromHeight_PlaySoundFromValue.
Prev: 46173 Up: Map Next: 46183