Prev: 75F6 Up: Map Next: 76EC
75FA: Routine at 75FA
Used by the routines at 770B and 7733.
75FA BIT 1,E
75FC JR Z,$7614
75FE LD A,($B706)
7601 AND A
7602 JR NZ,$7614
7604 LD A,($B6DE)
7607 CP $C0
7609 JR NZ,$760E
760B CP D
760C JR Z,$75EC
760E CALL $75F1
7611 JP Z,$792F
This entry point is used by the routine at 7574.
7614 LD A,($B719)
7617 DEC A
7618 JR NZ,$761E
761A SET 7,(IY+$01)
761E LD HL,$B706
7621 DEC A
7622 LD A,D
7623 JR NZ,$7629
7625 CP $A0
7627 JR Z,$762A
7629 INC (HL)
762A CALL $7893
762D CP $A0
762F JP Z,$75A0
7632 LD A,($B71A)
7635 AND A
7636 JR Z,$7682
7638 PUSH DE
7639 LD E,A
763A LD D,$00
763C LD HL,$B9C8
763F ADD HL,DE
7640 PUSH IY
7642 LD IY,$B9B0
7646 LD A,(IY+$08)
7649 OR (IY+$09)
764C LD DE,$B9B8
764F JR Z,$7668
7651 LD A,(IY+$08)
7654 CP (HL)
7655 JR NZ,$765F
7657 LD A,(IY+$09)
765A INC HL
765B CP (HL)
765C DEC HL
765D JR Z,$7668
765F LD A,(IY+$12)
7662 OR (IY+$13)
7665 LD DE,$B9C2
7668 POP IY
766A JR NZ,$7681
766C EX DE,HL
766D LD B,$03
766F LD A,(HL)
7670 INC HL
7671 OR (HL)
7672 DEC HL
7673 JR NZ,$7677
7675 LD A,(DE)
7676 LD (HL),A
7677 INC HL
7678 INC DE
7679 JR NZ,$767D
767B LD A,(DE)
767C LD (HL),A
767D INC HL
767E INC DE
767F DJNZ $766F
7681 POP DE
7682 PUSH IY
7684 LD IY,$B9E0
7688 LD A,($B706)
768B LD B,A
768C PUSH BC
768D CALL $7892
7690 LD A,B
7691 AND A
7692 JR Z,$76A4
7694 CALL $7892
7697 LD A,(IY+$01)
769A AND $7F
769C OR (IY+$00)
769F CALL Z,$78B7
76A2 JR $7690
76A4 POP BC
76A5 POP IY
76A7 PUSH IY
76A9 CALL $788C
76AC LD A,B
76AD AND A
76AE JP Z,$76DE
76B1 CALL $788C
76B4 LD A,(IY+$12)
76B7 OR (IY+$13)
76BA JR NZ,$76AC
76BC LD A,(IY+$00)
76BF CP (IX+$00)
76C2 JR NZ,$76AC
76C4 LD A,(IY+$01)
76C7 CP (IX+$01)
76CA JR NZ,$76AC
76CC LD A,(IX+$0E)
76CF OR (IX+$0F)
76D2 JR Z,$76AC
76D4 EXX
76D5 LD DE,$000E
76D8 CALL $78EA
76DB JP $76AC
76DE POP IY
76E0 LD A,($B705)
76E3 AND A
76E4 RET Z
76E5 CALL $75F1
76E8 RET Z
76E9 JP $75A0
Prev: 75F6 Up: Map Next: 76EC