A2B3: Action:
Action_c |
A2B3 |
CALL _a140 |
|
A2B6 |
LD A,($5BFB) |
|
A2B9 |
LD (IX+$18),A |
|
A2BC |
LD HL,(Actor_CurrentPtr) |
|
A2BF |
LD DE,$0005 |
|
A2C2 |
ADD HL,DE |
|
A2C3 |
EX DE,HL |
|
A2C4 |
LD HL,(Temp_DirCompass) |
|
A2C7 |
LD H,$00 |
|
A2C9 |
ADD HL,HL |
|
A2CA |
ADD HL,HL |
|
A2CB |
LD BC,Exit_coords |
|
A2CE |
ADD HL,BC |
|
A2CF |
LD BC,$0004 |
|
A2D2 |
LDIR |
|
A2D4 |
INC (IX+$16) |
|
A2D7 |
LD B,(IX+$18) |
|
A2DA |
LD HL,Room_MainData |
|
A2DD |
LD D,$00 |
Action_c_0 |
A2DF |
LD E,(HL) |
|
A2E0 |
ADD HL,DE |
|
A2E1 |
DJNZ Action_c_0 |
|
A2E3 |
INC HL |
|
A2E4 |
LD A,(HL) |
|
A2E5 |
RRA |
|
A2E6 |
RRA |
|
A2E7 |
RRA |
|
A2E8 |
RRA |
|
A2E9 |
AND $0F |
|
A2EB |
INC A |
|
A2EC |
LD (IX+$0F),A |