Prev: A313 Up: Map Next: A325
A317: Handler: Reset Laser Beam Slots
Used by the routines at A1AA, LevelNew and B52E.
See 9DC6 for the handler which actions "searching" for a free slot.
Handler_ResetLaserBeamSlots A317 LD HL,$6000 HL=Laser_Param_1.
A31A LD DE,$0018 DE=0018.
A31D LD B,$04 B=04 (counter).
ResetLaserBeamSlots_Loop A31F LD (HL),$00 Write 00 to HL.
A321 ADD HL,DE HL=HL+DE.
A322 DJNZ ResetLaserBeamSlots_Loop Decrease counter by one and loop back to ResetLaserBeamSlots_Loop until counter is zero.
A324 RET Return.
Prev: A313 Up: Map Next: A325