B3B6: Routine at B3B6
B3B6 |
PUSH HL |
B3B7 |
LD A,L |
B3B8 |
LD ($B410),A |
B3BB |
LD A,$42 |
B3BD |
LD ($B418),A |
B3C0 |
LD A,L |
B3C1 |
LD DE,$00C8 |
B3C4 |
CALL $A875 |
B3C7 |
CP (IX+$00) |
B3CA |
JR NC,$B3DA |
B3CC |
LD A,$42 |
B3CE |
LD ($B419),A |
B3D1 |
LD A,$FF |
B3D3 |
LD ($B412),A |
B3D6 |
LD A,$32 |
B3D8 |
JR $B3F4 |
B3DA |
CP (IX+$01) |
B3DD |
JR NC,$B3E8 |
B3DF |
LD A,$42 |
B3E1 |
LD ($B419),A |
B3E4 |
LD A,$19 |
B3E6 |
JR $B3F4 |
B3E8 |
LD DE,$0013 |
B3EB |
LD A,$53 |
B3ED |
LD ($B419),A |
B3F0 |
CALL $A875 |
B3F3 |
INC A |
B3F4 |
LD ($B40C),A |
B3F7 |
LD ($B411),A |
B3FA |
POP HL |
B3FB |
LD D,$00 |
B3FD |
LD E,A |
B3FE |
AND A |
B3FF |
SBC HL,DE |
B401 |
RET |