Prev: A1AA Up: Map Next: A30A
A2F5: Routine at A2F5
Used by the routines at A1AA, LevelNew and B52E.
A2F5 LD HL,$6009 HL=6009.
A2F8 LD BC,$0718 BC=0718.
A2FB LD DE,$0011 DE=0011.
A2FE PUSH BC Stash BC on the stack.
A2FF LD (HL),$00 Write 00 to HL.
A301 INC HL Increment HL by one.
A302 DJNZ $A2FF
A304 ADD HL,DE HL+=DE.
A305 POP BC Restore BC from the stack.
A306 DEC C Decrease C by one.
A307 JR NZ,$A2FE Jump back to A2FE until C is zero.
A309 RET Return.
Prev: A1AA Up: Map Next: A30A