BEGIN ~ignati~

IF ~NumTimesTalkedTo(0)~ THEN BEGIN 0
  SAY @17068
  IF ~~ THEN REPLY @17069 GOTO 1
  IF ~ReactionGT(LastTalkedToBy,NEUTRAL_UPPER)~ THEN REPLY @17070 GOTO 2
  IF ~ReactionGT(LastTalkedToBy,HOSTILE_UPPER)
ReactionLT(LastTalkedToBy,FRIENDLY_LOWER)~ THEN REPLY @17078 GOTO 3
  IF ~ReactionLT(LastTalkedToBy,NEUTRAL_LOWER)~ THEN REPLY @17079 GOTO 4
END

IF ~~ THEN BEGIN 1
  SAY @17071
  IF ~~ THEN REPLY @17072 GOTO 5
  IF ~~ THEN REPLY @17073 GOTO 6
  IF ~ReactionGT(LastTalkedToBy,NEUTRAL_UPPER)~ THEN REPLY @17074 GOTO 2
  IF ~ReactionGT(LastTalkedToBy,HOSTILE_UPPER)
ReactionLT(LastTalkedToBy,FRIENDLY_LOWER)~ THEN REPLY @17080 GOTO 3
  IF ~ReactionLT(LastTalkedToBy,NEUTRAL_LOWER)~ THEN REPLY @17081 GOTO 4
END

IF ~~ THEN BEGIN 2
  SAY @17075
  IF ~PartyGoldGT(149)~ THEN REPLY @17076 DO ~TakePartyGold(150)
GiveItem("MISC78",LastTalkedToBy)~ GOTO 8
  IF ~~ THEN REPLY @17077 GOTO 7
END

IF ~~ THEN BEGIN 3
  SAY @17082
  IF ~~ THEN REPLY @17084 GOTO 7
  IF ~PartyGoldGT(199)~ THEN REPLY @17083 DO ~TakePartyGold(200)
GiveItem("MISC78",LastTalkedToBy)~ GOTO 8
END

IF ~~ THEN BEGIN 4
  SAY @17085
  IF ~PartyGoldGT(249)~ THEN REPLY @17086 DO ~TakePartyGold(250)
GiveItem("MISC78",LastTalkedToBy)~ GOTO 8
  IF ~~ THEN REPLY @17087 GOTO 7
END

IF ~~ THEN BEGIN 5
  SAY @17088
  IF ~ReactionGT(LastTalkedToBy,NEUTRAL_UPPER)~ THEN REPLY @17089 GOTO 2
  IF ~ReactionGT(LastTalkedToBy,HOSTILE_UPPER)
ReactionLT(LastTalkedToBy,FRIENDLY_LOWER)~ THEN REPLY @17090 GOTO 3
  IF ~ReactionLT(LastTalkedToBy,NEUTRAL_LOWER)~ THEN REPLY @17091 GOTO 4
  IF ~~ THEN REPLY @17092 GOTO 6
END

IF ~~ THEN BEGIN 6
  SAY @17093
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 7
  SAY @17094
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 8
  SAY @17095
  IF ~~ THEN EXIT
END

IF ~False()~ THEN BEGIN 9
  SAY @17096
  IF ~~ THEN DO ~EscapeArea()~ EXIT
END

IF ~~ THEN BEGIN 10
  SAY @17097
  IF ~~ THEN REPLY @17098 GOTO 7
  IF ~ReactionGT(LastTalkedToBy,NEUTRAL_UPPER)~ THEN REPLY @17099 GOTO 2
  IF ~ReactionGT(LastTalkedToBy,HOSTILE_UPPER)
ReactionLT(LastTalkedToBy,FRIENDLY_LOWER)~ THEN REPLY @17100 GOTO 3
  IF ~ReactionLT(LastTalkedToBy,NEUTRAL_LOWER)~ THEN REPLY @17101 GOTO 4
END

IF ~True()~ THEN BEGIN 11
  SAY @17319
  IF ~~ THEN EXIT
END
