Routines |
Prev: 680D | Up: Map | Next: 6834 |
Used by the routine at Handler_LaserBeam.
|
||||
SoundsLaserBeam | 681E | LD C,$08 | ||
SoundsLaserBeam_0 | 6820 | LD B,C | ||
SoundsLaserBeam_1 | 6821 | DJNZ SoundsLaserBeam_1 | Decrease B by one, and loop back to SoundsLaserBeam_1 until zero | |
6823 | LD A,$10 | |||
6825 | OUT ($FE),A | |||
6827 | LD B,C | |||
SoundsLaserBeam_2 | 6828 | DJNZ SoundsLaserBeam_2 | Decrease B by one, and loop back to SoundsLaserBeam_2 until zero | |
682A | XOR A | |||
682B | OUT ($FE),A | |||
682D | INC C | |||
682E | LD A,C | |||
682F | CP $38 | |||
6831 | JR NZ,SoundsLaserBeam_0 | |||
6833 | RET | Return. |
Prev: 680D | Up: Map | Next: 6834 |