Prev: 57348 Up: Map Next: 57706
57570: Routine at E0E2
Used by the routine at 62526.
57570 LD L,A L=A.
57571 LD (57707),HL Write HL to *57707.
57574 LD A,(59233) A=*Tile_SpacesToMove.
57577 RRCA RRCA.
57578 RRCA
57579 LD (57709),A Write A to *57709.
57582 CALL 57586 Call 57586.
57585 RET Return.
57586 LD HL,(57707) HL=*57707.
57589 LD A,71 Write 71 to *57758.
57591 LD (57758),A
57594 LD A,0 Write 0 to *57760.
57596 LD (57760),A
57599 LD B,2 B=2.
57601 PUSH BC Stash BC on the stack.
57602 LD B,2 B=2.
57604 HALT Halt operation (suspend CPU until the next interrupt).
57605 PUSH BC Stash BC on the stack.
57606 LD A,(57709) B=*57709.
57609 LD B,A
57610 LD A,5 A=5-B.
57612 SUB B
57613 CP 4 Jump to 57621 if A is not equal to 4.
57615 JR NZ,57621
57617 HALT Halt operation (suspend CPU until the next interrupt).
57618 HALT Halt operation (suspend CPU until the next interrupt).
57619 RLCA RLCA.
57620 RLCA
57621 RLCA
57622 RLCA
57623 RLCA
57624 INC A Increment A by one.
57625 LD (57706),A Write A to *57706.
57628 PUSH BC Stash BC on the stack.
57629 LD A,(IX+0) A=*IX+0.
57632 ADD A,H A+=H.
57633 LD B,A B=A.
57634 LD A,(IX+1) A=*IX+1.
57637 ADD A,L A+=L.
57638 LD C,A C=A.
57639 CALL 57817 Call 57817.
57642 LD A,(IX+2) A=*IX+2.
57645 ADD A,H A+=H.
57646 LD B,A B=A.
57647 LD A,(IX+3) A=*IX+3.
57650 ADD A,L A+=L.
57651 LD C,A C=A.
57652 CALL 57817 Call 57817.
57655 LD A,(IX+4) A=*IX+4.
57658 ADD A,H A+=H.
57659 LD B,A B=A.
57660 LD A,(IX+5) A=*IX+5.
57663 ADD A,L A+=L.
57664 LD C,A C=A.
57665 CALL 57817 Call 57817.
57668 POP BC Restore BC from the stack.
57669 DJNZ 57628 Decrease counter by one and loop back to 57628 until counter is zero.
57671 LD A,71 Write 71 to *57758.
57673 LD (57758),A
57676 LD A,8 Write 8 to *57760.
57678 LD (57760),A
57681 LD HL,(57707) HL=*57707.
57684 POP BC Restore BC from the stack.
57685 DJNZ 57605 Decrease counter by one and loop back to 57605 until counter is zero.
57687 LD A,0 Write 0 to *57760.
57689 LD (57760),A
57692 LD BC,6 IX+=0006.
57695 ADD IX,BC
57697 LD A,69 Write 69 to *57758.
57699 LD (57758),A
57702 POP BC Restore BC from the stack.
57703 DJNZ 57601 Decrease counter by one and loop back to 57601 until counter is zero.
57705 RET Return.
Prev: 57348 Up: Map Next: 57706