Routines |
Prev: 55444 | Up: Map | Next: 55707 |
Used by the routine at StartGame.
|
||||
55678 | LD HL,57968 | HL=57968. | ||
55681 | LD D,1 | D=1. | ||
55683 | LD B,4 | B=4. | ||
55685 | PUSH BC | Stash BC on the stack. | ||
55686 | LD B,5 | B=5. | ||
55688 | LD A,(HL) | Jump to 55705 if *HL is not equal to D. | ||
55689 | CP D | |||
55690 | JR NZ,55705 | |||
55692 | INC HL | Increment HL by one. | ||
55693 | INC D | Increment D by one. | ||
55694 | DJNZ 55688 | Decrease counter by one and loop back to 55688 until counter is zero. | ||
55696 | INC HL | Increment HL by two. | ||
55697 | INC HL | |||
55698 | POP BC | Restore BC from the stack. | ||
55699 | DJNZ 55685 | Decrease counter by one and loop back to 55685 until counter is zero. | ||
55701 | POP BC | Restore BC from the stack. | ||
55702 | JP 55444 | Jump to 55444. | ||
55705 | POP BC | Restore BC from the stack. | ||
55706 | RET | Return. |
Prev: 55444 | Up: Map | Next: 55707 |