41356: Routine at A18C
41356 |
LD A,(IX+1) |
41359 |
CP 136 |
41361 |
JR NZ,41375 |
41363 |
LD A,(IX+4) |
41366 |
CP 128 |
41368 |
JR NC,41375 |
41370 |
INC SP |
41371 |
INC SP |
41372 |
JP GameComplete |
41375 |
BIT 7,(IX+11) |
41379 |
RET Z |
41380 |
RES 7,(IX+11) |
41384 |
JP 41479 |
41387 |
LD A,(38659) |
41390 |
CP (IX+1) |
41393 |
RET NZ |
41394 |
LD BC,3084 |
41397 |
LD A,(38547) |
41400 |
AND %00000001 |
41402 |
JR NZ,41415 |
41404 |
LD A,(IX+5) |
41407 |
INC A |
41408 |
AND %00000011 |
41410 |
OR %01000100 |
41412 |
LD (IX+5),A |
41415 |
CALL 43777 |
41418 |
JP NC,41754 |
41421 |
LD A,(38669) |
41424 |
OR 128 |
41426 |
LD C,A |
41427 |
LD A,(IX+0) |
41430 |
SUB 144 |
41432 |
JR Z,41459 |
41434 |
DEC A |
41435 |
JR Z,41463 |
41437 |
DEC A |
41438 |
JR Z,41467 |
41440 |
SET 3,C |
41442 |
LD A,C |
41443 |
LD (38669),A |
41446 |
CALL DrawEntity |
41449 |
LD (IX+0),0 |
41453 |
LD BC,29952 |
41456 |
JP AddPointsToScore |
41459 |
SET 0,C |
41461 |
JR 41442 |
41463 |
SET 1,C |
41465 |
JR 41442 |
41467 |
SET 2,C |
41469 |
JR 41442 |