![]() |
Routines |
| Prev: B4BB | Up: Map | Next: B4ED |
|
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 | B4E6 | CALL PlaySquareWave | Play a single cycle of the tone. | |||||||
| B4E9 | DEC C | Decrease the cycle counter and loop back to PlayWaveSequence until all of the cycles have been played. | ||||||||
| B4EA | JR NZ,PlayWaveSequence | |||||||||
| B4EC | RET | Return. | ||||||||
|
View the equivalent code in;
|
||||||||||
| Prev: B4BB | Up: Map | Next: B4ED |