// creator  : weidu.exe (version 23600)
// argument : NEXLIT.DLG
// game     : .
// source   : ./override/NEXLIT.DLG
// dialog   : lang\en_us/dialog.tlk
// dialogF  : (none)

BEGIN ~NEXLIT~

IF ~  True()
~ THEN BEGIN 0 // from:
  SAY #17169 /* ~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],S)
ActionOverride("Ursa",Attack("Nexlit"))
Enemy()
~ 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~ 253
  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~ 415
END

IF ~~ THEN BEGIN 1 // from: 0.1
  SAY #50404 /* ~Ursa kill you!~ */
  IF ~~ THEN DO ~CreateCreature("URSA",[3557.2061],S)
ActionOverride("Ursa",Attack("Nexlit"))
Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 2 // from:
  SAY #50404 /* ~Ursa kill you!~ */
  IF ~~ THEN DO ~CreateCreature("URSA",[3557.2061],S)
ActionOverride("Ursa",Attack("Nexlit"))
Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 3 // from: 0.3
  SAY #50402 /* ~It's too late. Too many have died. Ursa will kill you for that!~ */
  IF ~~ THEN DO ~CreateCreature("URSA",[3557.2061],S)
ActionOverride("Ursa",Attack("Nexlit"))
Enemy()
~ 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~ 254
END

IF ~~ THEN BEGIN 4 // from: 3.1
  SAY #50404 /* ~Ursa kill you!~ */
  IF ~~ THEN DO ~CreateCreature("URSA",[3557.2061],S)
ActionOverride("Ursa",Attack("Nexlit"))
Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 5 // from:
  SAY #50402 /* ~It's too late. Too many have died. Ursa will kill you for that!~ */
  IF ~~ THEN DO ~CreateCreature("URSA",[3557.2061],S)
ActionOverride("Ursa",Attack("Nexlit"))
Enemy()
~ 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~ 255
END

IF ~~ THEN BEGIN 6 // from: 5.1
  SAY #50404 /* ~Ursa kill you!~ */
  IF ~~ THEN DO ~CreateCreature("URSA",[3557.2061],S)
ActionOverride("Ursa",Attack("Nexlit"))
Enemy()
~ EXIT
END
