IF
  OR(2)
    Global("TCElmoHelped","TC0081",10)
    Global("TCElmoHelped","TC0081",15)
  Global("TCMyStatus","LOCALS",0)
THEN
  RESPONSE #100
    SetGlobal("TCMyStatus","LOCALS",1)
    Wait(2)
    StartDialogNoSet([PC])
END

IF
  GlobalGT("TCElmoHelped","TC0081",19)
  Global("TCMyStatus","LOCALS",0)
THEN
  RESPONSE #100
    SetGlobal("TCMyStatus","LOCALS",2)
    Wait(2)
    StartDialogNoSet([PC])
END

IF
  Global("TCMyStatus","LOCALS",3)
THEN
  RESPONSE #100
    StartDialogue("TCSLAVE1",[PC])
END

IF
  Global("TCMyStatus","LOCALS",4)
  Detect(Player1)
  !InParty(Myself)
  !Detect([ENEMY])
  !See("Tran0080")
THEN
  RESPONSE #100
    Formation(Player1,[-5.-5])
END

IF
  Global("TCMyStatus","LOCALS",4)
  Detect(Player1)
  !InParty(Myself)
  Detect([ENEMY])
  !See("Tran0080")
THEN
  RESPONSE #100
    RunAwayFrom(Lastseenby(Myself),40)
END

IF
  Global("TCMyStatus","LOCALS",4)
  See("Tran0080")
THEN
  RESPONSE #100
    MoveToObject("Tran0080")
    SetGlobal("TCMyStatus","LOCALS",5)
    StartDialogNoSet([PC])
END

