BEGIN ~teven~

IF WEIGHT #2 ~NumTimesTalkedTo(0)
Global("JoinedBandits","GLOBAL",0)~ THEN BEGIN 0
  SAY @1194
  IF ~~ THEN REPLY @1195 GOTO 1
  IF ~~ THEN REPLY @1196 GOTO 3
  IF ~~ THEN REPLY @1197 GOTO 2
END

IF ~~ THEN BEGIN 1
  SAY @1198
  IF ~~ THEN DO ~Shout(1)
Enemy()~ UNSOLVED_JOURNAL @310401 EXIT
END

IF ~~ THEN BEGIN 2
  SAY @1199
  IF ~~ THEN DO ~TakePartyGold(1000000)
Shout(2)
EscapeArea()~ JOURNAL @310402 EXIT
END

IF ~~ THEN BEGIN 3
  SAY @1200
  IF ~CheckStatLT(LastTalkedToBy,10,STR)~ THEN REPLY @1201 UNSOLVED_JOURNAL @310403 GOTO 4
  IF ~~ THEN REPLY @1202 GOTO 6
  IF ~~ THEN REPLY @1203 GOTO 7
  IF ~false()~ THEN REPLY @1204 GOTO 8
  IF ~CheckStatGT(LastTalkedToBy,14,STR)~ THEN REPLY @1926 GOTO 5
  IF ~true()~ THEN REPLY @1927 GOTO 9
END

IF ~~ THEN BEGIN 4
  SAY @1205
  IF ~~ THEN REPLY @1928 GOTO 1
  IF ~~ THEN REPLY @1929 GOTO 2
END

IF ~~ THEN BEGIN 5
  SAY @1206
  IF ~~ THEN DO ~AddexperienceParty(400)
SetGlobal("JoinedBandits","GLOBAL",1)
ClearAllActions()
StartCutSceneMode()
StartCutScene("Bancut02")~ UNSOLVED_JOURNAL @310404 EXIT
END

IF ~~ THEN BEGIN 6
  SAY @1207
  IF ~~ THEN DO ~Shout(1)
Enemy()~ UNSOLVED_JOURNAL @310405 EXIT
END

IF ~~ THEN BEGIN 7
  SAY @1208
  IF ~~ THEN REPLY @1930 GOTO 1
  IF ~~ THEN REPLY @1931 GOTO 2
END

IF ~~ THEN BEGIN 8
  SAY @1209
  IF ~~ THEN REPLY @1932 GOTO 1
  IF ~~ THEN REPLY @1933 GOTO 2
END

IF ~~ THEN BEGIN 9
  SAY @1210
  IF ~~ THEN DO ~SetGlobal("JoinedBandits","GLOBAL",4)
ClearAllActions()
StartCutSceneMode()
StartCutScene("Bancut02")~ UNSOLVED_JOURNAL @310404 EXIT
END

IF ~~ THEN BEGIN 10
  SAY @1219
  IF ~~ THEN DO ~Shout(1)
Enemy()~ EXIT
END

IF ~~ THEN BEGIN 11
  SAY @1220
  IF ~~ THEN DO ~Shout(1)
Enemy()~ UNSOLVED_JOURNAL @310401 EXIT
END

IF ~~ THEN BEGIN 12
  SAY @1221
  IF ~~ THEN DO ~SetGlobal("JoinedBandits","GLOBAL",4)
ClearAllActions()
StartCutSceneMode()
StartCutScene("Bancut02")~ EXTERN ~BANDCT~ 0
END

IF ~~ THEN BEGIN 13
  SAY @1222
  IF ~~ THEN EXTERN ~BANDCT~ 1
END

IF ~~ THEN BEGIN 14
  SAY @1223
  IF ~~ THEN EXTERN ~BANDCT~ 3
END

IF ~~ THEN BEGIN 15
  SAY @1224
  IF ~~ THEN EXTERN ~BGTAZOK~ 15
END

IF ~~ THEN BEGIN 16
  SAY @1225
  IF ~~ THEN EXTERN ~BGTAZOK~ 18
END

IF ~~ THEN BEGIN 17
  SAY @1226
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~StateCheck(Myself,STATE_CHARMED)~ THEN BEGIN 18
  SAY @5791
  IF ~~ THEN UNSOLVED_JOURNAL @310406 EXIT
END

IF ~~ THEN BEGIN 19
  SAY @8937
  IF ~~ THEN EXIT
END
