Prev: A3E5 Up: Map Next: A3EF
A3E8: 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 A3E8 LD HL,$EAA0 Point HL at the sound entity at PlayerWeapon_Sound.
A3EB LD (HL),B Write the sound handler to the first byte.
A3EC INC HL Move to the second byte.
A3ED LD (HL),C Write the count to the second byte.
A3EE RET Return.
Prev: A3E5 Up: Map Next: A3EF