6E89: Routine at 6E89
6E89 |
LD A,($5B33) |
6E8C |
DEC A |
6E8D |
RET NZ |
6E8E |
XOR A |
6E8F |
LD C,$2D |
6E91 |
LD HL,($5B31) |
6E94 |
CALL $6114 |
6E97 |
RET |
6E98 |
PUSH HL |
6E99 |
CALL $60F6 |
6E9C |
LD A,(DE) |
6E9D |
CP $2D |
6E9F |
JR Z,$6EE5 |
6EA1 |
CP $2F |
6EA3 |
JR Z,$6EE5 |
6EA5 |
CP $2B |
6EA7 |
JR Z,$6EF8 |
6EA9 |
CP $29 |
6EAB |
JP Z,$6F39 |
6EAE |
CP $2C |
6EB0 |
JR Z,$6EF8 |
6EB2 |
CP $79 |
6EB4 |
JR Z,$6EF8 |
6EB6 |
CP $24 |
6EB8 |
JR Z,$6EF8 |
6EBA |
CP $2A |
6EBC |
JR Z,$6EFB |
6EBE |
LD DE,($5B20) |
6EC2 |
POP HL |
6EC3 |
PUSH HL |
6EC4 |
OR A |
6EC5 |
SBC HL,DE |
6EC7 |
JR Z,$6EF0 |
6EC9 |
POP HL |
6ECA |
PUSH HL |
6ECB |
INC E |
6ECC |
OR A |
6ECD |
SBC HL,DE |
6ECF |
JR Z,$6EF0 |
6ED1 |
POP HL |
6ED2 |
LD A,($5B00) |
6ED5 |
CP $05 |
6ED7 |
LD A,$23 |
6ED9 |
JR NC,$6EDD |
6EDB |
LD A,$0A |
6EDD |
CALL $6F63 |
6EE0 |
CALL $6C5E |
6EE3 |
XOR A |
6EE4 |
RET |
6EE5 |
POP HL |
6EE6 |
LD A,C |
6EE7 |
LD C,$29 |
6EE9 |
CALL $6114 |
6EEC |
LD A,$01 |
6EEE |
OR A |
6EEF |
RET |