![]() |
Routines |
| Prev: 26815 | Up: Map | Next: 26832 |
|
Used by the routine at TestCharlieCollision.
The sound effects are played by an actor which lives in the slot at SoundEffectActor. This copies the template for the effect into the slot, and the handler then plays it a bit at a time. Eight bytes are always copied, so the bytes of a template which are beyond the ones used are really the code which follows it.
|
||||
| StartRisingSweep | 26820 | LD HL,26832 | Point HL at the template for the rising sweep. | |
|
This entry point is used by the routines at StartFallingNotes, StartRisingNotes, StartWarble and StartFallingSlide.
|
||||
| StartSoundEffect | 26823 | LD DE,24397 | Point DE at the sound effect actor (SoundEffectActor). | |
| 26826 | LD BC,8 | Set the number of bytes to copy to 8. | ||
| 26829 | LDIR | Copy the template to the sound effect actor. | ||
| 26831 | RET | Return. | ||
| Prev: 26815 | Up: Map | Next: 26832 |