61383 |
LD A,(IY+5) |
61386 |
SUB 8 |
61388 |
CP 224 |
61390 |
JR C,61394 |
61392 |
LD A,224 |
61394 |
SRL A |
61396 |
SRL A |
61398 |
SRL A |
61400 |
LD E,A |
61401 |
LD D,23 |
61403 |
LD HL,32534 |
61406 |
CALL Switch_DrawSprite_Functions |
61409 |
LD A,(IY+10) |
61412 |
ADD A,4 |
61414 |
CP 160 |
61416 |
JR C,61420 |
61418 |
LD A,160 |
61420 |
LD (IY+10),A |
61423 |
CALL 33198 |
61426 |
LD A,(IY+10) |
61429 |
CP 160 |
61431 |
JR NZ,61409 |
61433 |
LD (IY+0),0 |
61437 |
LD A,(IY-60) |
61440 |
OR A |
61441 |
CALL NZ,33236 |
61444 |
LD A,240 |
61446 |
LD (61629),A |
61449 |
LD HL,61623 |
61452 |
CALL Clear_PlayArea |
61455 |
CALL DrawRoom_Loop |
61458 |
LD (IY+5),218 |
61462 |
LD (IY+10),60 |
61466 |
LD A,(IY+10) |
61469 |
CP 152 |
61471 |
JR Z,61478 |
61473 |
ADD A,4 |
61475 |
LD (IY+10),A |
61478 |
CALL 61090 |
61481 |
CALL 61527 |
61484 |
CALL 61632 |
61487 |
CALL WriteSprite_ShadowBuffer |
61490 |
CALL ShadowBufferToScreen |
61493 |
LD A,(IY+5) |
61496 |
OR A |
61497 |
JR NZ,61466 |
61499 |
LD (IY+15),31 |
61503 |
LD (IY+5),240 |
61507 |
JP 61069 |
61510 |
NOP |
61511 |
EXX |
61512 |
XOR 1 |
61514 |
LD (61510),A |
61517 |
LD DE,35064 |
61520 |
LD BC,192 |
61523 |
CALL 33251 |
61526 |
RET |
61527 |
LD A,(61510) |
61530 |
OR A |
61531 |
CALL NZ,61511 |
61534 |
LD HL,(61629) |
61537 |
LD H,152 |
61539 |
LD A,48 |
61541 |
LD (43064),HL |
61544 |
CALL 43168 |
61547 |
LD H,168 |
61549 |
LD (43064),HL |
61552 |
LD A,(62368) |
61555 |
XOR 2 |
61557 |
LD (62368),A |
61560 |
CALL 43168 |
61563 |
LD A,12 |
61565 |
LD (62062),A |
61568 |
CALL 58153 |
61571 |
LD A,(IY+10) |
61574 |
CP 152 |
61576 |
RET NZ |
61577 |
LD HL,61629 |
61580 |
LD A,(HL) |
61581 |
SUB (IY+5) |
61584 |
SUB 1 |
61586 |
CP 254 |
61588 |
JR NC,61594 |
61590 |
LD A,(HL) |
61591 |
SUB 2 |
61593 |
LD (HL),A |
61594 |
LD A,(HL) |
61595 |
SUB (IY+5) |
61598 |
SUB 12 |
61600 |
CP 224 |
61602 |
JR C,61614 |
61604 |
INC (HL) |
61605 |
LD A,(61668) |
61608 |
INC A |
61609 |
CP 5 |
61611 |
RET Z |
61612 |
JR 61619 |
61614 |
LD A,(61668) |
61617 |
DEC A |
61618 |
RET Z |
61619 |
LD (61668),A |
61622 |
RET |
61623 |
ADD A,B |
61624 |
RLCA |
61625 |
LD (HL),L |
61626 |
INC BC |
61627 |
LD A,A |
61628 |
NOP |
61629 |
RET P |
61630 |
INC B |
61631 |
NOP |
61632 |
LD A,(IY+10) |
61635 |
CP 152 |
61637 |
RET NZ |
61638 |
CALL Controls_Left |
61641 |
LD C,A |
61642 |
CALL Controls_Right |
61645 |
LD B,A |
61646 |
LD A,(61631) |
61649 |
OR A |
61650 |
JR NZ,61659 |
61652 |
LD A,B |
61653 |
OR A |
61654 |
JR NZ,61691 |
61656 |
LD A,C |
61657 |
JR 61664 |
61659 |
LD A,C |
61660 |
OR A |
61661 |
JR NZ,61691 |
61663 |
LD A,B |
61664 |
OR A |
61665 |
JR Z,61691 |
61667 |
LD A,5 |
61669 |
LD (61630),A |
61672 |
LD A,(61631) |
61675 |
XOR 1 |
61677 |
LD (61631),A |
61680 |
LD (IY+60),255 |
61684 |
LD (IY+65),255 |
61688 |
JP 45704 |
61691 |
LD HL,61630 |
61694 |
LD A,(HL) |
61695 |
OR A |
61696 |
RET Z |
61697 |
DEC (HL) |
61698 |
JR 61680 |