![]() |
Routines |
| Prev: A3E5 | Up: Map | Next: A3EF |
|
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.
|
||||||||||
| 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 |