![]() |
Routines |
| Prev: 48971 | Up: Map | Next: 49012 |
|
Used by the routines at HandlerFlyingSabreman, PlayOrchidFlashBeep, PlayFlameSound, PlayExplosionSound, PlayAppearingSound, PlayHighTone, PlayLowTone, PlayAmuletPieceSound and PlayFootstepSound.
Plays a number of cycles of a square wave, one after the other.
|
||||||||||
| PlayWaveSequence | 49005 | CALL PlaySquareWave | Play a cycle of the wave. | |||||||
| 49008 | DEC C | Decrease the repeat counter by one and loop back to PlayWaveSequence until all of the cycles have been played. | ||||||||
| 49009 | JR NZ,PlayWaveSequence | |||||||||
| 49011 | RET | Return. | ||||||||
|
View the equivalent code in;
|
||||||||||
| Prev: 48971 | Up: Map | Next: 49012 |