Prev: C24D Up: Map Next: C263
C25C: Sounds: Play Square Wave
Used by the routines at 974A, Sounds_Brick_Normal, Sounds_Brick_Metal, C16F, C17A, C18C, C1A8, C1CF, C200 and C21D.
Input
D Duration
Sounds_PlaySquareWave_Loop C25C CALL Sounds_SquareWave Call Sounds_SquareWave.
C25F DEC D Decrease D by one.
C260 JR NZ,Sounds_PlaySquareWave_Loop Jump to Sounds_PlaySquareWave_Loop until D is zero.
C262 RET Return.
Prev: C24D Up: Map Next: C263