Prev: C96B Up: Map Next: CA6F
C98F: Routine at C98F
Used by the routines at C96B and CA6F.
C98F LD HL,$565A
C992 LD B,$48
This entry point is used by the routine at C3FB.
C994 PUSH BC
C995 PUSH HL
C996 LD (HL),$AA
C998 INC HL
C999 LD (HL),$FF
C99B INC HL
C99C LD (HL),$E7
C99E INC HL
C99F LD (HL),$FF
C9A1 INC HL
C9A2 LD (HL),$55
C9A4 POP HL
C9A5 CALL $BE0E
C9A8 POP BC
C9A9 DJNZ $C994
C9AB LD ($5B92),HL
C9AE LD A,$13
C9B0 LD ($5B94),A
C9B3 RET
This entry point is used by the routines at BC74 and BDE4.
C9B4 LD A,$13
C9B6 LD ($5B94),A
This entry point is used by the routine at CA6F.
C9B9 LD HL,($5B92)
C9BC CALL $BDE4
C9BF LD ($5B92),HL
C9C2 LD (HL),$00
C9C4 INC HL
C9C5 LD (HL),$00
C9C7 INC HL
C9C8 LD (HL),$00
C9CA INC HL
C9CB LD (HL),$00
C9CD INC HL
C9CE LD (HL),$00
C9D0 LD A,($5B95)
C9D3 DEC A
C9D4 LD ($5B95),A
C9D7 RET
This entry point is used by the routine at BC74.
C9D8 CALL $67E8
C9DB JP $C289
This entry point is used by the routines at BF85 and CA6F.
C9DE LD HL,($5B92)
C9E1 CALL $BDE4
This entry point is used by the routine at CA6F.
C9E4 LD ($5B92),HL
C9E7 LD (HL),$00
C9E9 INC HL
C9EA LD (HL),$00
C9EC INC HL
C9ED LD (HL),$00
C9EF INC HL
C9F0 LD (HL),$00
C9F2 INC HL
C9F3 LD (HL),$00
C9F5 LD HL,($5B8E)
C9F8 INC HL
C9F9 LD ($5B8E),HL
C9FC CALL $C865
C9FF LD A,($5B95)
CA02 DEC A
CA03 LD ($5B95),A
CA06 RET Z
CA07 CALL $CA14
CA0A LD HL,($5B99)
CA0D INC HL
CA0E LD ($5B99),HL
CA11 JP $C9DE
CA14 LD DE,$000A
CA17 LD H,$00
CA19 OR $01
CA1B LD L,A
CA1C CALL $03B5
CA1F RET
This entry point is used by the routines at BC74, C3FB and CA6F.
CA20 CALL $67E8
CA23 CALL $C33E
CA26 RET
This entry point is used by the routine at CA6F.
CA27 LD HL,($5B96)
CA2A LD DE,$FF14
CA2D LD B,$04
CA2F PUSH BC
CA30 PUSH HL
CA31 PUSH DE
CA32 LD A,($5B98)
CA35 LD C,A
CA36 LD A,$08
CA38 CALL $BDB7
CA3B LD DE,$0008
CA3E POP HL
CA3F ADD HL,DE
CA40 PUSH HL
CA41 POP DE
CA42 POP HL
CA43 INC HL
CA44 POP BC
CA45 DJNZ $CA2F
CA47 LD HL,($5B96)
CA4A LD B,$08
CA4C CALL $BDE4
CA4F DJNZ $CA4C
CA51 LD DE,$FF34
CA54 LD B,$04
CA56 PUSH BC
CA57 PUSH HL
CA58 PUSH DE
CA59 LD A,($5B98)
CA5C LD C,A
CA5D LD A,$08
CA5F CALL $BDB7
CA62 LD DE,$0008
CA65 POP HL
CA66 ADD HL,DE
CA67 PUSH HL
CA68 POP DE
CA69 POP HL
This entry point is used by the routine at CA6F.
CA6A INC HL
CA6B POP BC
CA6C DJNZ $CA56
CA6E RET
Prev: C96B Up: Map Next: CA6F