Prev: 35026 Up: Map Next: 35094
35034: Routine at 88DA
Used by the routine at GameStart.
35034 LD IY,35026 IY=35026.
35038 LD DE,57500 DE=57500.
35041 LD B,4 Set a counter of 4.
35043 PUSH BC Stash the counter on the stack.
35044 LD L,(IY+0) Load the address from IY into HL.
35047 LD H,(IY+1)
35050 INC IY Move the pointer in IY to the next address.
35052 INC IY
35054 LD A,H Jump to 35090 if the address in HL is zero.
35055 OR L
35056 JR Z,35090
35058 PUSH HL IX=HL (using the stack).
35059 POP IX
35061 LD A,(IX+0)
35064 CP 255
35066 JR Z,35090
35068 LD A,(IX+10)
35071 AND 128
35073 JR Z,35083
35075 PUSH IX
35077 POP HL
35078 LD BC,12
35081 LDIR
35083 LD BC,12
35086 ADD IX,BC
35088 JR 35061
35090 POP BC Restore BC from the stack.
35091 DJNZ 35043 Decrease counter by one and loop back to 35043 until counter is zero.
35093 RET Return.
Prev: 35026 Up: Map Next: 35094