64580: Routine at FC44
64580 |
PUSH AF |
64581 |
LD A,(64339) |
64584 |
LD D,A |
64585 |
POP AF |
64586 |
CALL 64615 |
64589 |
CP 255 |
64591 |
JR Z,64636 |
64593 |
CP 192 |
64595 |
JP Z,64697 |
64598 |
LD B,4 |
64600 |
LD C,E |
64601 |
RLA |
64602 |
RLA |
64603 |
RLA |
64604 |
RLA |
64605 |
RLA |
64606 |
CALL C,64636 |
64609 |
CALL NC,PlayThemeTune_7 |
64612 |
DJNZ 64605 |
64614 |
RET |
64615 |
PUSH AF |
64616 |
LD A,(64349) |
64619 |
CPL |
64620 |
LD B,A |
64621 |
LD C,A |
64622 |
ADD A,1 |
64624 |
SRA A |
64626 |
SRA A |
64628 |
LD E,A |
64629 |
CP 0 |
64631 |
JR NZ,64634 |
64633 |
INC E |
64634 |
POP AF |
64635 |
RET |
64636 |
PUSH AF |
64637 |
PUSH HL |
64638 |
PUSH BC |
64639 |
LD A,(64340) |
64642 |
LD B,0 |
64644 |
LD HL,1000 |
64647 |
RRC D |
64649 |
JP NC,64683 |
64652 |
INC HL |
64653 |
BIT 0,(HL) |
64655 |
JP Z,64679 |
64658 |
SET 4,A |
64660 |
XOR 131 |
64662 |
XOR 131 |
64664 |
OUT (254),A |
64666 |
NOP |
64667 |
DEC B |
64668 |
JP NZ,64647 |
64671 |
DEC C |
64672 |
JP NZ,64647 |
64675 |
POP BC |
64676 |
POP HL |
64677 |
POP AF |
64678 |
RET |
64679 |
RES 4,A |
64681 |
JR 64664 |
64683 |
SCF |
64684 |
JP NC,0 |
64687 |
JP NC,0 |
64690 |
JP NC,0 |
64693 |
NOP |
64694 |
NOP |
64695 |
JR 64666 |
64697 |
LD E,B |
64698 |
LD D,0 |
64700 |
LD HL,64753 |
64703 |
ADC HL,DE |
64705 |
LD A,(HL) |
64706 |
LD B,A |
64707 |
LD HL,3 |
64710 |
PUSH BC |
64711 |
LD DE,1 |
64714 |
PUSH HL |
64715 |
CALL 64728 |
64718 |
POP HL |
64719 |
LD DE,255 |
64722 |
ADC HL,DE |
64724 |
POP BC |
64725 |
DJNZ 64710 |
64727 |
RET |
64728 |
LD A,L |
64729 |
SRL L |
64731 |
SRL L |
64733 |
CPL |
64734 |
AND 3 |
64736 |
LD C,A |
64737 |
LD B,0 |
64739 |
LD IX,977 |
64743 |
ADD IX,BC |
64745 |
LD A,(64340) |
64748 |
CALL 980 |
64751 |
DI |
64752 |
RET |