42199: Routine at A4D7
42199 |
LD A,(38659) |
42202 |
CP (IX+1) |
42205 |
JR NZ,42131 |
42207 |
LD A,23 |
42209 |
LD (38573),A |
42212 |
CALL StoreEntity |
42215 |
LD A,(38658) |
42218 |
SUB 16 |
42220 |
CP 32 |
42222 |
JR NC,42150 |
42224 |
LD BC,12296 |
42227 |
LD A,(38661) |
42230 |
SUB (IX+3) |
42233 |
JR Z,42246 |
42235 |
LD A,C |
42236 |
JR NC,42240 |
42238 |
NEG |
42240 |
ADD A,(IX+6) |
42243 |
CALL 45008 |
42246 |
LD (IX+6),A |
42249 |
LD A,(38662) |
42252 |
CP (IX+4) |
42255 |
JR Z,42268 |
42257 |
LD A,C |
42258 |
JR NC,42262 |
42260 |
NEG |
42262 |
ADD A,(IX+7) |
42265 |
CALL 45008 |
42268 |
LD (IX+7),A |
42271 |
CALL 42179 |
42274 |
CALL 42059 |
42277 |
BIT 0,B |
42279 |
JR NZ,42309 |
42281 |
BIT 1,B |
42283 |
JR NZ,42314 |
42285 |
LD BC,5911 |
42288 |
CALL 47132 |
42291 |
LD (IX+3),E |
42294 |
LD (IX+4),D |
42297 |
LD BC,4883 |
42300 |
CALL 43830 |
42303 |
JP NC,44381 |
42306 |
JP 42150 |