Prev: 48311 Up: Map Next: 48456
48397: Routine at BD0D
Used by the routine at StartGame.
48397 LD IX,49876 IX=49876.
48401 LD B,2 B=2 (counter).
48403 PUSH BC Stash BC on the stack.
48404 PUSH IX Stash IX on the stack.
48406 CALL 48420 Call 48420.
48409 POP IX Restore IX from the stack.
48411 LD BC,13 BC=0013.
48414 ADD IX,BC IX+=BC.
48416 POP BC Restore BC from the stack.
48417 DJNZ 48403 Decrease counter by one and loop back to 48403 until counter is zero.
48419 RET Return.
48420 CALL 49187 Call 49187.
This entry point is used by the routine at 46481.
48423 LD A,(IX+0) A=*IX+0.
48426 CP 23 Return if A is higher than 23.
48428 RET NC
48429 CALL 49470 Call 49470.
48432 LD DE,64 DE=0064.
48435 LD B,(IX+3) B=*IX+3.
48438 BIT 0,(IX+7) Jump to 48450 if bit 0 of *IX+7 is set.
48442 JR NZ,48450
48444 RES 6,(HL) Reset bit 6 of *HL.
48446 ADD HL,DE HL+=DE.
48447 DJNZ 48444 Decrease counter by one and loop back to 48444 until counter is zero.
48449 RET Return.
48450 SET 6,(HL) Set bit 6 of *HL.
48452 ADD HL,DE HL+=DE.
48453 DJNZ 48450 Decrease counter by one and loop back to 48450 until counter is zero.
48455 RET Return.
Prev: 48311 Up: Map Next: 48456