Prev: CA34 Up: Map Next: CA84
CA5E: Scripts several characters share
What they do when attacked, captured or given something.
ON_ATTACK_WITH -- The reaction to ATTACK WITH: ATTACK WITH, ATTACK WITH, RUN, Go to ON_ATTACK_WITH.
ON_ATTACK_WITH CA5E DEFB $54,$0F ATTACK WITH (an order cannot interrupt it)
CA60 DEFW HIDEOUS_TROLL_C If it is refused: HIDEOUS_TROLL_C
CA62 DEFB $54,$0F ATTACK WITH (an order cannot interrupt it)
CA64 DEFW HIDEOUS_TROLL_D If it is refused: HIDEOUS_TROLL_D
CA66 DEFB $44,$24 RUN (an order cannot interrupt it)
CA68 DEFB $0E Go to ON_ATTACK_WITH
CA69 DEFW ON_ATTACK_WITH
HIDEOUS_TROLL_C -- Where a jump or a refusal goes on: FOLLOW, Go to ON_ATTACK_WITH.
HIDEOUS_TROLL_C CA6B DEFB $54,$27 FOLLOW (an order cannot interrupt it)
CA6D DEFW HIDEOUS_TROLL_D If it is refused: HIDEOUS_TROLL_D
CA6F DEFB $0E Go to ON_ATTACK_WITH
CA70 DEFW ON_ATTACK_WITH
HIDEOUS_TROLL_D -- Where a jump or a refusal goes on: Back to its first script.
HIDEOUS_TROLL_D CA72 DEFB $07 Back to its first script
GANDALF_ON_CAPTURE -- The reaction to CAPTURE: GO THROUGH, RUN, Back to its first script.
GANDALF_ON_CAPTURE CA73 DEFB $14,$1E GO THROUGH
CA75 DEFW HIDEOUS_TROLL_E If it is refused: HIDEOUS_TROLL_E
CA77 DEFB $04,$24 RUN
CA79 DEFB $07 Back to its first script
HIDEOUS_TROLL_E -- Where a jump or a refusal goes on: Pause: nothing this turn, Go to GANDALF_ON_CAPTURE.
HIDEOUS_TROLL_E CA7A DEFB $04,$FF Pause: nothing this turn
CA7C DEFB $0E Go to GANDALF_ON_CAPTURE
CA7D DEFW GANDALF_ON_CAPTURE
ON_GIVE_TO -- The reaction to GIVE TO: GIVEN_SOMETHING, Back to its first script.
ON_GIVE_TO CA7F DEFB $03 Call GIVEN_SOMETHING
CA80 DEFW GIVEN_SOMETHING
CA82 DEFB $00 Not used
CA83 DEFB $07 Back to its first script
Prev: CA34 Up: Map Next: CA84