BEGIN 7XTIAX
IF ~NumTimesTalkedTo(0)~ THEN BEGIN TIAXBegin
SAY @0
=
@1 
=
@2
=
@3
IF ~~ THEN REPLY @4 GOTO TIAX3
IF ~~ THEN REPLY @5 GOTO TIAX3
IF ~~ THEN REPLY @6 GOTO TIAX2
IF ~~ THEN REPLY @7 GOTO TIAX1
IF ~~ THEN REPLY @8 GOTO TIAX2
IF ~~ THEN REPLY @9 GOTO TIAX2-a
END

IF ~~ THEN BEGIN TIAX2-a
SAY @10
=
@11
IF ~~ THEN REPLY @12 GOTO TIAX3 
IF ~~ THEN REPLY @13 GOTO TIAX3 
IF ~~ THEN REPLY @14 GOTO TIAX3
IF ~~ THEN REPLY @15 GOTO TIAX3
END



IF ~~ THEN BEGIN TIAX2
SAY @16
IF ~~ THEN REPLY @12 GOTO TIAX3 
IF ~~ THEN REPLY @13 GOTO TIAX3 
IF ~~ THEN REPLY @14 GOTO TIAX3
IF ~~ THEN REPLY @15 GOTO TIAX3
END

IF ~~ THEN BEGIN TIAX1
SAY @17
IF ~~ THEN REPLY @12 GOTO TIAX3
IF ~~ THEN REPLY @13 GOTO TIAX3 
IF ~~ THEN REPLY @14 GOTO TIAX3
IF ~~ THEN REPLY @15 GOTO TIAX3
END

IF ~~ THEN BEGIN TIAX-NO
SAY @18
=
@19
IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN TIAX3
SAY @20
=
@21
=
@22
=
@23
=
@24
=
@25
=
@26
=
@27
=
@28
=
@29
IF ~~ THEN REPLY @30 GOTO JOIN1
IF ~~ THEN REPLY @31 GOTO JOIN1
IF ~~ THEN REPLY @32 GOTO JOIN1
IF ~~ THEN REPLY @33 GOTO TIAX-NO
IF ~~ THEN REPLY @34 GOTO TIAX-NO
END



IF ~~ THEN BEGIN JOIN1
SAY @35
=
@36
=
@37
IF ~~ THEN DO ~SetGlobal("TIAXInParty","LOCALS",1)
JoinParty()~ EXIT
END

IF ~NumTimesTalkedToGT(0)
!InParty("TIAX")~ THEN BEGIN TIAX00x08
SAY @38
=
@39
IF ~~ THEN GOTO TIAX3
END


BEGIN ~7XTIAXP~

IF ~Global("TIAXInParty","LOCALS",1)~ THEN BEGIN KickOutTIAX
SAY @40	
=
@41
IF ~~ THEN REPLY @42 GOTO OUT2
IF ~~ THEN REPLY @43 DO ~JoinParty()~ EXIT
IF ~~ THEN REPLY @44 GOTO OUT1
END


IF ~Global("TIAXInParty","LOCALS",2)
!InParty("7XTIAX")~ THEN BEGIN RejoinTIAX
SAY @45
=
@46
IF ~~ THEN REPLY @47 EXIT
IF ~~ THEN REPLY @48 GOTO JOIN2
END


 
IF ~~ THEN BEGIN OUT2
SAY @49
=
@50
IF ~~ THEN DO ~SetGlobal("TIAXInParty","LOCALS",2)~ EXIT
END

IF ~~ THEN BEGIN OUT1
SAY @51
=
@52
=
@53
IF ~~ THEN DO ~SetGlobal("TIAXInParty","LOCALS",0)EscapeAreaMove("AR0607",668,439,3)~
EXIT
END

IF ~Global("TIAXInParty","LOCALS",0)
!InParty("7XTIAX")~ THEN BEGIN RejoinTIAX
SAY @45
=
@54
IF ~~ THEN REPLY @55 EXIT
IF ~~ THEN REPLY @56 GOTO JOIN2
END

IF ~~ THEN BEGIN JOIN2
SAY @57
IF ~~ THEN DO ~SetGlobal("TIAXInParty","LOCALS",1)
JoinParty()~ EXIT
END