Routines |
Prev: 29584 | Up: Map | Next: 29622 |
Used by the routine at InitialiseNewLevel.
|
||||
29590 | LD HL,64071 | HL=64071. | ||
29593 | LD B,80 | B=80. | ||
29595 | LD A,(HL) | A=*HL. | ||
29596 | DEC L | Decrease L by two. | ||
29597 | DEC L | |||
29598 | SUB 154 | A-=154. | ||
29600 | SUB 5 | A-=5. | ||
29602 | JR NC,29600 | Jump to 29600 if {} is higher. | ||
29604 | ADD A,6 | A+=6. | ||
29606 | CP 5 | Jump to 29615 if A is equal to 5. | ||
29608 | JR Z,29615 | |||
29610 | ADD A,A | A+=A. | ||
29611 | ADD A,A | A+=A. | ||
29612 | DEC A | Decrease A by one. | ||
29613 | ADD A,(HL) | A+=*HL. | ||
29614 | LD (HL),A | Write A to *HL. | ||
29615 | LD DE,10 | DE=0010. | ||
29618 | ADD HL,DE | HL+=DE. | ||
29619 | DJNZ 29595 | Decrease counter by one and loop back to 29595 until counter is zero. | ||
29621 | RET | Return. |
Prev: 29584 | Up: Map | Next: 29622 |