// creator  : weidu.exe (version 23600)
// argument : CHLOE.DLG
// game     : .
// source   : ./override/CHLOE.DLG
// dialog   : lang\en_us/dialog.tlk
// dialogF  : (none)

BEGIN ~CHLOE~

IF ~  True()
~ THEN BEGIN 0 // from:
  SAY #19375 /* ~<CHARNAME>! <CHARNAME>! Someone in the Jovial Juggler gave me a gold piece to come find you!~ */
  IF ~  !Global("MetVai","GLOBAL",1)
~ THEN REPLY #19376 /* ~Slow down, breathless child! Who is tossing money about in hopes of finding me?~ */ GOTO 1
  IF ~  !Global("MetVai","GLOBAL",1)
~ THEN REPLY #19383 /* ~How do you know my name, child?~ */ GOTO 2
  IF ~  !Global("MetVai","GLOBAL",1)
~ THEN REPLY #19388 /* ~The Jovial Juggler. Where is that?~ */ GOTO 3
  IF ~  Global("MetVai","GLOBAL",1)
~ THEN REPLY #32156 /* ~Take a moment, child. I think I know who you are talking about. Do you mean Officer Vai? We have already spoken with her.~ */ GOTO 5
END

IF ~~ THEN BEGIN 1 // from: 3.0 2.0 0.0
  SAY #19389 /* ~Her name's Officer Vai and she's with the Flaming Fist. And you needn't worry, she's real nice!~ */
  IF ~~ THEN REPLY #19390 /* ~By the way, how did you know my name?~ */ GOTO 2
  IF ~~ THEN REPLY #19391 /* ~She's in the Jovial Juggler, you said? Where is that?~ */ GOTO 3
  IF ~~ THEN REPLY #19409 /* ~Thank you, child. You have earned your gold piece. I will go to the Jovial Juggler and meet with Officer Vai shortly.~ */ GOTO 4
  IF ~Global("X#SharTeelChloe","GLOBAL",0)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#SharTeelChloe","GLOBAL",1)~ EXTERN ~SHARTJ~ 92
END

IF ~~ THEN BEGIN 2 // from: 3.1 1.0 0.1
  SAY #19410 /* ~Why, everyone here is talking about you. You're the ones who saved the Nashkel mines! My momma says that even though we don't like those folks from Amn, there's no reason anyone should have to suffer so...~ */
  IF ~~ THEN REPLY #19411 /* ~Well, that's us, I guess. You've got a good eye. Now who is this person that wants so much to see us?~ */ GOTO 1
  IF ~~ THEN REPLY #19414 /* ~I suppose you're right, little one. Now, this person who sent you, they're in the Jovial Juggler... Could you tell me where that is?~ */ GOTO 3
  IF ~~ THEN REPLY #19416 /* ~Thank you, child. You have earned your gold piece. I will go to the Jovial Juggler and meet with your benefactor as soon as I am able.~ */ GOTO 4
  IF ~Global("X#ImoenChloe","GLOBAL",0)
InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#ImoenChloe","GLOBAL",1)~ EXTERN ~IMOEN2~ 176
END

IF ~~ THEN BEGIN 3 // from: 2.1 1.1 0.2
  SAY #19419 /* ~The Jovial Juggler Inn and Festhall! It's in the southeast part of town. Just look for a sign out front with a jester on it...~ */
  IF ~~ THEN REPLY #19421 /* ~And tell me, who waits there for me? Should I be afraid?~ */ GOTO 1
  IF ~~ THEN REPLY #19433 /* ~How do you know that I'm the one this person is looking for?~ */ GOTO 2
  IF ~~ THEN REPLY #19434 /* ~Very well, I shall seek out the sign with the jester on it and meet your friend within.~ */ GOTO 4
END

IF ~~ THEN BEGIN 4 // from: 3.2 2.2 1.2
  SAY #19435 /* ~Good! You folks are real nice. Momma says the Sword Coast needs some real heroes, these days... Tymora be with you, okay?~ */
  IF ~~ THEN DO ~EscapeArea()
~ UNSOLVED_JOURNAL #26913 /* ~Officer Vai
A girl named Chloe told us that someone named Officer Vai is waiting to speak with us at the Jovial Juggler in Beregost.~ */ EXIT
  IF ~Global("X#XANCHLOE","GLOBAL",0)
InParty("xan")
InMyArea("xan")
!StateCheck("xan",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#XANCHLOE","GLOBAL",1)~ EXTERN ~XANJ~ 152
END

IF ~~ THEN BEGIN 5 // from: 0.3
  SAY #32157 /* ~Yeah. She is really nice, isn't she? Well, I better go before Momma starts to worry. Tymora be with you, okay?~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 6 // from:
  SAY #46420 /* ~Bye!~ */
  IF ~~ THEN DO ~EscapeArea()
~ UNSOLVED_JOURNAL #26913 /* ~Officer Vai
A girl named Chloe told us that someone named Officer Vai is waiting to speak with us at the Jovial Juggler in Beregost.~ */ EXIT
END
