Prev: 46659 Up: Map Next: 46724
46698: Routine at B66A
Used by the routine at StartGame.
Self-modifying code.
46698 LD (46713),HL Write HL to *46713.
46701 LD IX,39632 IX=39632.
46705 LD B,11 B=11 (counter).
46707 PUSH BC Stash BC on the stack.
46708 LD A,(IX+0) A=*IX+0.
46711 ADD A,A A+=A.
Modified from 46698.
46712 CALL NZ,46712 Call 46712 not zero.
46715 LD DE,22 IX+=0022.
46718 ADD IX,DE
46720 POP BC Restore BC from the stack.
46721 DJNZ 46707 Decrease counter by one and loop back to 46707 until counter is zero.
46723 RET Return.
Prev: 46659 Up: Map Next: 46724