Prev: 40611 Up: Map Next: 40639
40631: Play Rising Sweep
Used by the routine at CollectItem.
Plays a sweep of clicks which get shorter, so the pitch rises.
PlayRisingSweep 40631 LD B,255 Start the sweep with a length of 255.
PlayRisingSweep_Click 40633 CALL PlayClick Play a click.
40636 DJNZ PlayRisingSweep_Click Shorten the length and jump back until the sweep has finished.
40638 RET Return.
Prev: 40611 Up: Map Next: 40639