![]() |
Routines |
| Prev: 41957 | Up: Map | Next: 41967 |
|
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 | 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 |