PlaceAmuletPieces |
41557 |
LD IX,38910 |
|
41561 |
LD A,(38549) |
|
41564 |
AND %00000111 |
|
41566 |
LD L,A |
|
41567 |
LD H,0 |
|
41569 |
ADD HL,HL |
|
41570 |
ADD HL,HL |
|
41571 |
LD BC,41629 |
|
41574 |
ADD HL,BC |
|
41575 |
EX DE,HL |
|
41576 |
LD B,4 |
PlaceAmuletPieces_Loop |
41578 |
PUSH BC |
|
41579 |
LD A,B |
|
41580 |
ADD A,143 |
|
41582 |
LD (IX+0),A |
|
41585 |
LD A,(DE) |
|
41586 |
INC DE |
|
41587 |
LD (IX+1),A |
|
41590 |
LD L,A |
|
41591 |
LD H,0 |
|
41593 |
LD BC,24678 |
|
41596 |
ADD HL,BC |
|
41597 |
LD L,(HL) |
|
41598 |
LD H,0 |
|
41600 |
ADD HL,HL |
|
41601 |
ADD HL,HL |
|
41602 |
ADD HL,HL |
|
41603 |
LD BC,56428 |
|
41606 |
ADD HL,BC |
|
41607 |
LD A,(HL) |
|
41608 |
INC HL |
|
41609 |
LD (IX+3),A |
|
41612 |
LD A,(HL) |
|
41613 |
LD (IX+4),A |
|
41616 |
LD (IX+5),70 |
|
41620 |
LD BC,12 |
|
41623 |
ADD IX,BC |
|
41625 |
POP BC |
|
41626 |
DJNZ PlaceAmuletPieces_Loop |
|
41628 |
RET |
Initialisation_Amulet |
41629 |
DEFB 67,145,77,203,157,172,45,38 |
|
41637 |
DEFB 225,115,68,45,53,195,77,169 |
|
41645 |
DEFB 138,77,225,82,67,88,57,231 |
|
41653 |
DEFB 89,167,226,145,38,53,203,163 |