// creator  : weidu.exe (version 23100)
// argument : MINSCP.DLG
// game		 : .
// source	 : ./override/MINSCP.DLG
// dialog	 : ./DIALOG.TLK
// dialogF  : (none)

BEGIN ~MINSCP~
//////////////////////////////////////////////////
// WARNING: this file contains non-trivial WEIGHTs
//////////////////////////////////////////////////

IF ~~ THEN BEGIN 0 // from: 8.0
  SAY #3076 /* ~Minsc and Boo and you! There can be no greater a team in all the Realms!~ */
  IF ~~ THEN DO ~JoinParty()~ EXIT
END

IF WEIGHT #1 /* Triggers after states #: 9 even though they appear after this state */
~Global("KickedOut","LOCALS",1)
~ THEN BEGIN 1 // from:
  SAY #22083 /* ~Where goes the stench of evil, so goes the cleansing wind of Minsc and Boo!~ [MINSC88] */
  IF ~~ THEN GOTO 2
END

IF ~~ THEN BEGIN 2 // from: 1.0
  SAY #22084 /* ~Stand your course, armored louts, and state your business in this place! Wait, I know of you!~ */
  IF ~~ THEN GOTO 3
END

IF ~~ THEN BEGIN 3 // from: 2.0
  SAY #22085 /* ~Oh happy day! You have come to collect Minsc and Boo and together we shall put our collective boots to our enemies!~ */
  IF ~~ THEN REPLY #22086 /* ~I don't need your help at the moment.~ */ GOTO 4
  IF ~~ THEN REPLY #22087 /* ~We would love to have you in our party, Minsc.~ */ GOTO 5
END

IF ~~ THEN BEGIN 4 // from: 3.0
  SAY #22088 /* ~Now look what you have done; Boo is all ruffled.  Improve your manner and I shall think upon joining you later.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 5 // from: 3.1
  SAY #22089 /* ~Minsc and Boo and you! There can be no greater a team in all the Realms!~ */
  IF ~~ THEN DO ~SetGlobal("KickedOut","LOCALS",0)
JoinParty()
~ EXIT
END

IF WEIGHT #2 /* Triggers after states #: 9 even though they appear after this state */
~HappinessLT(Myself,-290)
~ THEN BEGIN 6 // from:
  SAY #23324 /* ~You have descended to the depths of evil while I watched, and I am at fault for letting it get so far! With our ties severed, I will be free to exact the proper justice!  Boo will have your eyes when next we meet!~ [MINSC89] */
  IF ~~ THEN DO ~SetGlobal("KickedOut","LOCALS",1)
EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 7 // from: 8.1
  SAY #23327 /* ~Boo does not like goodbyes, but I know we will meet again. Until then, I will seek the small and fuzzy to console Boo.  Where do you want to meet up again?~ */
  IF ~!AreaCheck("AR0601")
!AreaCheck("AR0602")
!AreaCheck("AR0603")
!AreaCheck("AR0410")
!AreaCheck("AR0411")
!AreaCheck("AR0412")
!AreaCheck("AR0413")
!AreaCheck("AR0414")
!AreaCheck("AR1512")
!AreaCheck("AR1513")
!AreaCheck("AR1514")
!AreaCheck("AR1515")
!AreaCheck("AR1516")
!AreaCheck("AR1501")
!AreaCheck("AR1502")
!AreaCheck("AR1503")
!AreaCheck("AR1504")
!AreaCheck("AR1505")
!AreaCheck("AR1506")
!AreaCheck("AR1507")
!AreaCheck("AR1508")
!AreaCheck("AR1509")
!AreaCheck("AR1510")
!AreaCheck("AR1511")
!AreaCheck("AR2100")
!AreaCheck("AR2101")
!AreaCheck("AR2102")
!AreaCheck("AR2200")
!AreaCheck("AR2202")
!AreaCheck("AR2203")
!AreaCheck("AR2204")
!AreaCheck("AR2205")
!AreaCheck("AR2206")
!AreaCheck("AR2207")
!AreaCheck("AR2208")
!AreaCheck("AR2209")
!AreaCheck("AR2210")
!AreaCheck("AR2300")
!AreaCheck("AR2400")
!AreaCheck("AR2401")
!AreaCheck("AR2402")
!AreaCheck("AR2900")
!AreaCheck("AR2901")
!AreaCheck("AR2902")
!AreaCheck("AR2903")
!AreaCheck("AR2904")
!AreaCheck("AR2905")
!AreaCheck("AR2906")
~ THEN REPLY #49704 /* ~Go to the Copper Coronet.  We will meet you there if we need your services again.~ */ DO ~SetGlobal("KickedOut","LOCALS",1)
EscapeAreaMove("AR0406",1178,1386,0)
~ EXIT
  IF ~!AreaCheck("AR0301")
!AreaCheck("AR0302")
!AreaCheck("AR0303")
!AreaCheck("AR0304")
!AreaCheck("AR0305")
!AreaCheck("AR0306")
!AreaCheck("AR0307")
!AreaCheck("AR0509")
!AreaCheck("AR0510")
!AreaCheck("AR0511")
!AreaCheck("AR1102")
!AreaCheck("AR1107")
!AreaCheck("AR0801")
!AreaCheck("AR0803")
!AreaCheck("AR1300")
!AreaCheck("AR1301")
!AreaCheck("AR1302")
!AreaCheck("AR1303")
!AreaCheck("AR0601")
!AreaCheck("AR0602")
!AreaCheck("AR0603")
!AreaCheck("AR0604")
!AreaCheck("AR0605")
!AreaCheck("AR0606")
!InWatchersKeep()
~ THEN REPLY #49706 /* ~Wait right here.  We'll come back later if we need your help.~ */ DO ~SetGlobal("KickedOut","LOCALS",1)~ EXIT
  IF ~OR(3)
AreaCheck("AR0601")
AreaCheck("AR0602")
AreaCheck("AR0603")~ THEN REPLY #61159 /* ~I don't know. If you can, try and wait at a major tavern or inn.~ */ DO ~SetGlobal("KickedOut","LOCALS",1)
EscapeAreaMove("AR0406",1178,1386,0)
~ EXIT
END

IF WEIGHT #3 /* Triggers after states #: 9 even though they appear after this state */
~True()
~ THEN BEGIN 8 // from:
  SAY #47174 /* ~Boo needs to know, did you want us to remain with the group?~ [MINSC90] */
  IF ~~ THEN REPLY #47175 /* ~Yes, Minsc. Don't go anywhere.~ */ GOTO 0
  IF ~~ THEN REPLY #47176 /* ~No, I think you should go.~ */ GOTO 7
END

IF WEIGHT #0 ~Global("MinscCharmed","AR0602",1)
~ THEN BEGIN 9 // from:
  SAY #59897 /* ~(Minsc is charmed by the dryads and will not speak to you. You shall have to agree to help them if you want Minsc back.)~ */
  IF ~~ THEN EXIT
END
