Prev: 41957 Up: Map Next: 41967
41960: Queue Sound
Used by the routines at SoundsEntry and SoundsEating.
Sets up the sound entity at PlayerWeapon_Sound, so that its handler is called on each pass of the main loop to play the notes of the sound one by one.
Input
B The sound handler (the first byte of the entity)
C The count of notes (the second byte of the entity)
QueueSound 41960 LD HL,60064 Point HL at the sound entity at PlayerWeapon_Sound.
41963 LD (HL),B Write the sound handler to the first byte.
41964 INC HL Move to the second byte.
41965 LD (HL),C Write the count to the second byte.
41966 RET Return.
Prev: 41957 Up: Map Next: 41967