Prev: 42523 Up: Map Next: 42616
42544: Routine at A630
Used by the routines at 40562 and 43757.
42544 LD A,(38659)
42547 CP (IX+1)
42550 RET Z
42551 LD B,A
42552 RRCA
42553 RRCA
42554 RRCA
42555 RRCA
42556 AND %00001111 Keep only bits 0-4.
42558 LD C,A
42559 LD A,(IX+1)
42562 RRCA
42563 RRCA
42564 RRCA
42565 RRCA
42566 AND 15
42568 SUB C
42569 JP P,42574
42572 NEG
42574 CP 2
42576 RET C
42577 LD A,(38549)
42580 AND 1
42582 JR NZ,42616
42584 LD A,B
42585 SUB 16
This entry point is used by the routine at 42616.
42587 JR C,42621
This entry point is used by the routine at 42621.
42589 AND 252
42591 LD C,A
42592 LD A,(IX+1)
42595 AND 3
42597 OR C
42598 CP B
42599 RET Z
42600 LD (IX+1),A
42603 CALL HandlerOrchidPosition
42606 LD A,(HL)
42607 LD (IX+3),A
42610 INC HL
42611 LD A,(HL)
42612 LD (IX+4),A
42615 RET
Prev: 42523 Up: Map Next: 42616