![]() |
Routines |
| Prev: 46267 | Up: Map | Next: 46317 |
|
Used by the routines at PlayPitchFromTable, PlaySparkleSound, PlayBumpSound, PlaySoundFromHeight_PlaySoundFromValue, PlayRandomNoise, PlayLowBeep and PlayMiddleBeep.
Plays a tone made of a number of cycles with the same pitch.
|
||||||||||
| PlayWaveSequence | 46310 | CALL PlaySquareWave | Play a single cycle of the tone. | |||||||
| 46313 | DEC C | Decrease the cycle counter and loop back to PlayWaveSequence until all of the cycles have been played. | ||||||||
| 46314 | JR NZ,PlayWaveSequence | |||||||||
| 46316 | RET | Return. | ||||||||
|
View the equivalent code in;
|
||||||||||
| Prev: 46267 | Up: Map | Next: 46317 |