// creator  : weidu.exe (version 23100)
// argument : MAZZY25P.DLG
// game		 : .
// source	 : ./DATA/25DIALOG.BIF
// dialog	 : ./DIALOG.TLK
// dialogF  : (none)

BEGIN ~MAZZY25P~

IF ~Global("KickedOut","LOCALS",0)~ THEN BEGIN 0 // from:
  SAY #65560 /* ~Have you decided I am needed elsewhere?  I would prefer to stay with the group, if at all possible.~ [MAZZ2519] */
  IF ~~ THEN REPLY #65562 /* ~Yes, stay with the group for now.~ */ DO ~SetGlobal("KickedOut","LOCALS",0)
JoinParty()~ EXIT
  IF ~AreaCheck("AR4500")~ THEN REPLY #65563 /* ~Just wait here for awhile.~ */ DO ~SetGlobal("KickedOut","LOCALS",1)
MoveToPointNoInterrupt([2308.1264])
Face(6)~ GOTO 1
  IF ~!AreaCheck("AR4500")
!AreaCheck("AR4000")
!AreaCheck("AR6200")~ THEN REPLY #65564 /* ~I will send you back to the pocket plane... wait there.~ */ DO ~SetGlobal("KickedOut","LOCALS",1)
CreateVisualEffectObject("SPDIMNDR",Myself)
Wait(2)
MoveBetweenAreas("AR4500",[2308.1264],6)
~ EXIT
  IF ~!AreaCheck("AR4500")
!AreaCheck("AR4000")
!AreaCheck("AR6200")~ THEN REPLY #70970 /* ~Just wait here for awhile.~ */ DO ~SetGlobal("KickedOut","LOCALS",1)~ GOTO 1
END

IF ~~ THEN BEGIN 1 // from: 0.3 0.1
  SAY #65566 /* ~Truly?  If I am not needed, I would almost prefer to return to Trademeet.  Seeing as home is so far away, however, it seems I am left with little choice.~ */
  IF ~~ THEN EXIT
END

IF ~Global("KickedOut","LOCALS",1)~ THEN BEGIN 2 // from:
  SAY #65567 /* ~It is good to see you again, my friend.  Is it time to leave?~ [MAZZ2520] */
  IF ~~ THEN REPLY #65568 /* ~Yes, let's go.~ */ DO ~SetGlobal("KickedOut","LOCALS",0)
JoinParty()~ EXIT
  IF ~~ THEN REPLY #65569 /* ~No, wait here awhile longer.~ */ GOTO 3
END

IF ~~ THEN BEGIN 3 // from: 2.1
  SAY #65570 /* ~As you wish, although I must say I'm not one for standing around.~ */
  IF ~~ THEN EXIT
END
