41544: Action: Tie
ActionTie |
41544 |
LD A,(46824) |
|
41547 |
CP 18 |
|
41549 |
JR Z,ActionTie_3 |
|
41551 |
LD A,(46825) |
|
41554 |
CP 18 |
|
41556 |
JP NZ,40822 |
|
41559 |
LD IX,(46856) |
|
41563 |
BIT 1,(IX+7) |
|
41567 |
JP NZ,40822 |
|
41570 |
CALL ObjectCount |
|
41573 |
CP 0 |
|
41575 |
LD HL,45181 |
|
41578 |
JP NZ,PrintMsg |
|
41581 |
BIT 3,(IX+7) |
|
41585 |
JR NZ,ActionTie_0 |
|
41587 |
BIT 6,(IX+7) |
|
41591 |
JP NZ,40822 |
ActionTie_0 |
41594 |
CALL 40260 |
|
41597 |
LD IY,(46858) |
|
41601 |
CALL 40056 |
|
41604 |
LD A,(46825) |
|
41607 |
LD (IX+1),A |
|
41610 |
JR C,ActionTie_1 |
|
41612 |
SUB A |
|
41613 |
LD (46842),A |
|
41616 |
CALL Action_Pickup |
|
41619 |
LD A,(46843) |
|
41622 |
CP 0 |
|
41624 |
LD A,1 |
|
41626 |
LD (46842),A |
|
41629 |
LD (46843),A |
|
41632 |
JR Z,ActionTie_2 |
ActionTie_1 |
41634 |
LD A,(46826) |
|
41637 |
LD (IY+1),A |
|
41640 |
RET |
ActionTie_2 |
41641 |
LD (IY+1),255 |
|
41645 |
RET |
ActionTie_3 |
41646 |
LD HL,41544 |
|
41649 |
JP 40778 |