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

BEGIN ~_NEXLIT~

IF ~True()
~ THEN BEGIN 0 // from:
  SAY #76705 /* ~You monster!! You kill us when we do nothin' to you. Well, Ursa kill you. Ursa protect us because Ursa kind.~ */
  IF ~~ THEN DO ~CreateCreature("_URSA",[3557.2061],0)
ActionOverride("ursa",Attack("nexlit"))
~ EXIT
  IF ~Global("X#NEXLIT0","GLOBAL",0)
InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#NEXLIT0","GLOBAL",1)~ GOTO 1
  IF ~Global("X#NEXLIT0","GLOBAL",0)
InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#NEXLIT0","GLOBAL",1)~ EXTERN ~_VICONJ~ 245
  IF ~Global("X#NEXLIT0","GLOBAL",0)
InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#NEXLIT0","GLOBAL",1)~ GOTO 3
  IF ~Global("X#NEXLIT0","GLOBAL",0)
InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#NEXLIT0","GLOBAL",1)~ EXTERN ~_KIVANJ~ 410
END

IF ~~ THEN BEGIN 1 // from: 0.1
  SAY #103713 /* ~Ursa kill you!~ */
  IF ~~ THEN DO ~CreateCreature("_URSA",[3557.2061],0)
ActionOverride("ursa",Attack("nexlit"))
~ EXIT
END

IF ~~ THEN BEGIN 2 // from:
  SAY #103713 /* ~Ursa kill you!~ */
  IF ~~ THEN DO ~CreateCreature("_URSA",[3557.2061],0)
ActionOverride("ursa",Attack("nexlit"))
~ EXIT
END

IF ~~ THEN BEGIN 3 // from: 0.3
  SAY #103711 /* ~It's too late. Too many have died. Ursa will kill you for that!~ */
  IF ~~ THEN DO ~CreateCreature("_URSA",[3557.2061],0)
ActionOverride("ursa",Attack("nexlit"))
~ EXIT
  IF ~  InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN GOTO 4
  IF ~  InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN EXTERN ~_VICONJ~ 246
END

IF ~~ THEN BEGIN 4 // from: 3.1
  SAY #103713 /* ~Ursa kill you!~ */
  IF ~~ THEN DO ~CreateCreature("_URSA",[3557.2061],0)
ActionOverride("ursa",Attack("nexlit"))
~ EXIT
END

IF ~~ THEN BEGIN 5 // from: _KIVANJ:410.3
  SAY #103711 /* ~It's too late. Too many have died. Ursa will kill you for that!~ */
  IF ~~ THEN DO ~CreateCreature("_URSA",[3557.2061],0)
ActionOverride("ursa",Attack("nexlit"))
~ EXIT
  IF ~  InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN GOTO 6
  IF ~  InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN EXTERN ~_VICONJ~ 247
END

IF ~~ THEN BEGIN 6 // from: 5.1 _KIVANJ:410.1
  SAY #103713 /* ~Ursa kill you!~ */
  IF ~~ THEN DO ~CreateCreature("_URSA",[3557.2061],0)
ActionOverride("ursa",Attack("nexlit"))
~ EXIT
END
