// creator  : weidu.exe (version 23600)
// argument : NEERAP.DLG
// game     : .
// source   : ./DATA/DIALOG.BIF
// dialog   : lang\en_us/dialog.tlk
// dialogF  : (none)

BEGIN ~NEERAP~

IF ~  !InParty("NEERA")
Global("NEERAPARTY","GLOBAL",1)
~ THEN BEGIN 0 // from:
  SAY #28125 /* ~Seriously? After all we've been through, <CHARNAME>? Obviously I had the wrong idea about our friendship. When you're ready to apologize, you can find me at the Friendly Arm Inn.~ [NEX1] */
  IF ~  !AreaCheck("AR2301")
~ THEN REPLY #28126 /* ~Perhaps we'll meet again, Neera.~ */ DO ~SetGlobal("KickedOut","LOCALS",1)
SetGlobal("NEERAPARTY","GLOBAL",0)
LeaveParty()
EscapeAreaMove("AR2301",755,390,SW)
~ EXIT
  IF ~  AreaCheck("AR2301")
~ THEN REPLY #28126 /* ~Perhaps we'll meet again, Neera.~ */ DO ~SetGlobal("KickedOut","LOCALS",1)
SetGlobal("NEERAPARTY","GLOBAL",0)
LeaveParty()
MoveToPoint([755.390])
~ EXIT
  IF ~~ THEN REPLY #28127 /* ~Since you put it that way, maybe I've made a mistake. Please stay with us, Neera.~ */ DO ~JoinParty()
~ EXIT
END

IF ~  !InParty("NEERA")
~ THEN BEGIN 1 // from:
  SAY #28128 /* ~Oh, so now you come back, after making me walk all the way here by myself? Well, I'll just have you know that it'll take more than a... oh, who am I kidding? I don't want to run into any more of those Red Wizards by myself. You will let me join you, won't you? Please?~ [NEY1] */
  IF ~~ THEN REPLY #28129 /* ~That's why I'm here, Neera. Please join us.~ */ GOTO 2
  IF ~~ THEN REPLY #28130 /* ~Sorry, Neera. I'm just passing through.~ */ GOTO 3
END

IF ~~ THEN BEGIN 2 // from: 1.0
  SAY #28131 /* ~Yes! I knew you'd come around.~ [NEY2] */
  IF ~  GlobalGT("NEERA_PLOT","GLOBAL",0)
~ THEN DO ~SetGlobal("KickedOut","LOCALS",0)
SetGlobal("NEERAPARTY","GLOBAL",1)
SetDialogue("NEERAJ")
ActionOverride("NEERA",ChangeAIScript("NEERA",OVERRIDE))
JoinParty()
~ EXIT
  IF ~  Global("NEERA_PLOT","GLOBAL",0)
~ THEN DO ~SetGlobal("KickedOut","LOCALS",0)
SetGlobal("NEERAPARTY","GLOBAL",1)
SetDialogue("NEERAJ")
ActionOverride("NEERA",ChangeAIScript("NEERA",OVERRIDE))
SetGlobalTimer("NEERATIMER","GLOBAL",ONE_DAY)
JoinParty()
~ EXIT
END

IF ~~ THEN BEGIN 3 // from: 1.1
  SAY #28132 /* ~Typical! And I thought wild magic was unreliable.~ [NEY3] */
  IF ~~ THEN EXIT
END
