BEGIN ~BHCLERI1~

IF ~True()
~ THEN BEGIN 0
  SAY @1
  IF ~~ THEN REPLY @2 GOTO 1
  IF ~~ THEN REPLY @3 GOTO 2
  IF ~~ THEN REPLY @4 GOTO 3
  IF ~GlobalLT("BHAcolyteSpokeOfHarper","GLOBAL",1)
~ THEN REPLY @5 GOTO 4
  IF ~AreaCheck("BH2001")
~ THEN REPLY @6 GOTO 9
  IF ~AreaCheck("BH2001")
~ THEN REPLY @7 GOTO 11
END

IF ~~ THEN BEGIN 1
  SAY @8
  IF ~~ THEN DO ~StartStore("BHCleri1",LastTalkedToBy(Myself))
~ EXIT
END

IF ~~ THEN BEGIN 2
  SAY @9
  IF ~~ THEN REPLY @10 GOTO 1
  IF ~~ THEN REPLY @11 GOTO 3
END

IF ~~ THEN BEGIN 3
  SAY @12
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 4
  SAY @13
  IF ~~ THEN REPLY @14 GOTO 5
END

IF ~~ THEN BEGIN 5
  SAY @15
  IF ~~ THEN REPLY @16 GOTO 6
END

IF ~~ THEN BEGIN 6
  SAY @17
  IF ~~ THEN REPLY @18 GOTO 7
END

IF ~~ THEN BEGIN 7
  SAY @19
  IF ~~ THEN REPLY @20 GOTO 8
END

IF ~~ THEN BEGIN 8
  SAY @21
  IF ~~ THEN DO ~SetGlobal("BHAcolyteSpokeOfHarper","GLOBAL",1)
RandomWalk()
~ EXIT
END

IF ~~ THEN BEGIN 9
  SAY @22
  IF ~~ THEN REPLY @23 EXIT
  IF ~~ THEN REPLY @24 GOTO 10
END

IF ~~ THEN BEGIN 10
  SAY @25
  IF ~IfValidForPartyDialogue("Jaheira")
~ THEN EXTERN ~_JAHEIJ~ CLERICJAHE
  IF ~~ THEN REPLY @26 EXIT
END

IF ~~ THEN BEGIN 11
  SAY @27
  IF ~PartyHasItem("BHOSPREM")
~ THEN REPLY @28 GOTO 12
  IF ~~ THEN REPLY @29 EXIT
END

IF ~~ THEN BEGIN 12
  SAY @30
  IF ~~ THEN REPLY @32 JOURNAL @31 EXIT
END

APPEND ~_JAHEIJ~

IF ~~ THEN BEGIN CLERICJAHE
  SAY @33
  IF ~~ THEN EXIT
END

END

