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

BEGIN ~YOSHP~

IF ~Global("KickedOut","LOCALS",1)
~ THEN BEGIN 0 // from:
  SAY #22206 /* ~It is good to see you again! Have you need of my services, because I am ready to travel if you do. This place is dulling to the senses.~ [YOSHIM63] */
  IF ~~ THEN REPLY #22268 /* ~Yes, we have missed your company.~ */ GOTO 1
  IF ~~ THEN REPLY #22269 /* ~No, not just yet.~ */ GOTO 2
END

IF ~~ THEN BEGIN 1 // from: 5.0 0.0
  SAY #22270 /* ~That is gratifying. Let us go then, and see what waits down the road.~ */
  IF ~~ THEN DO ~SetGlobal("KickedOut","LOCALS",0)
JoinParty()
~ EXIT
END

IF ~~ THEN BEGIN 2 // from: 0.1
  SAY #22272 /* ~Very well then, though I find this place a bit trying on my nerves. I'll probably be waiting here if you change your mind.~ */
  IF ~~ THEN EXIT
END

IF ~HappinessLT(Myself,-290)
~ THEN BEGIN 3 // from:
  SAY #23420 /* ~I regret that our pairing could not have been more fruitful, but I must express great distaste for the way this group is led. I take my leave, and I doubt we shall meet again.~ [YOSHIM64] */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~Global("KickedOut","LOCALS",0)
~ THEN BEGIN 4 // from: 5.1
  SAY #23422 /* ~I do not wish to end our pairing before our tasks are done, but perhaps a rest is in order.  Are you sure you want to go separate paths?~ [YOSHIM65] */
  IF ~~ THEN REPLY #48524 /* ~We don't need your services right now.  Sorry Yoshimo.~ */ GOTO 6
  IF ~~ THEN REPLY #48523 /* ~No, I don't want you to leave just yet, Yoshimo.~ */ DO ~JoinParty()
~ EXIT
END

IF ~~ THEN BEGIN 5 // from:
  SAY #48347 /* ~Are we to continue our travels together?~ */
  IF ~~ THEN REPLY #48348 /* ~Yes, let's go.~ */ GOTO 1
  IF ~~ THEN REPLY #48349 /* ~No, we should split up for now.~ */ GOTO 4
END

IF ~~ THEN BEGIN 6 // from: 4.0
  SAY #49709 /* ~Where do you want to meet if we are to adventure again together?~ */
  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 #49710 /* ~Go to the Copper Coronet.  If we need to find you, we'll meet you there.~ */ DO ~SetGlobal("KickedOut","LOCALS",1)
EscapeAreaMove("AR0406",1368,1922,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 #49712 /* ~Wait here.  If we need your services we'll be back.~ */ DO ~SetGlobal("KickedOut","LOCALS",1)~ EXIT
  IF ~OR(3)
AreaCheck("AR0601")
AreaCheck("AR0602")
AreaCheck("AR0603")~ THEN REPLY #61160 /* ~Perhaps at a major inn or tavern? Somewhere we are sure to go.~ */ DO ~SetGlobal("KickedOut","LOCALS",1)
EscapeAreaMove("AR0406",1368,1922,0)
~ EXIT
END
