41160: Routine at A0C8
41160 |
PUSH BC |
41161 |
PUSH DE |
41162 |
PUSH IY |
41164 |
PUSH IX |
41166 |
CALL 41134 |
41169 |
ADD IX,BC |
41171 |
PUSH IX |
41173 |
POP IY |
41175 |
SUB A |
41176 |
CP (IY+1) |
41179 |
JR Z,41235 |
41181 |
LD A,(IY+1) |
41184 |
CALL LocateObject |
41187 |
BIT 7,(IX+7) |
41191 |
JR Z,41235 |
41193 |
LD DE,8 |
41196 |
ADD IX,DE |
41198 |
PUSH IX |
41200 |
LD A,(IY+0) |
41203 |
CALL 41146 |
41206 |
CP 9 |
41208 |
JR C,41220 |
41210 |
LD DE,1973 |
41213 |
JR Z,41226 |
41215 |
LD DE,2091 |
41218 |
JR 41226 |
41220 |
LD HL,44567 |
41223 |
CALL PrintMsg |
41226 |
CALL PrintToken |
41229 |
LD HL,45075 |
41232 |
CALL PrintMsg |
41235 |
ADD IY,BC |
41237 |
LD A,255 |
41239 |
CP (IY+0) |
41242 |
JP NZ,41175 |
41245 |
POP IX |
41247 |
POP IY |
41249 |
POP DE |
41250 |
POP BC |
41251 |
RET |