// IF
 // InParty("c6bodhi")
 // // !Dead("c6bodhi")
  // !BeenInParty("Valen")
  // Global("BodhiStronghold","GLOBAL",1)
  // Global("BodhiStrongholdCutScene","GLOBAL",0)
 // THEN
 // RESPONSE #100
   // StartCutScene("cutbst2")
  // SetGlobal("BodhiStrongholdCutScene","GLOBAL",1)
 // END
 
 // IF
 // InParty("c6bodhi")
 // // !Dead("c6bodhi")
  // BeenInParty("Valen")
  // Global("BodhiStronghold","GLOBAL",1)
  // Global("BodhiStrongholdCutScene","GLOBAL",0)
 // THEN
 // RESPONSE #100
   // StartCutScene("cutbst3")
  // SetGlobal("BodhiStrongholdCutScene","GLOBAL",1)
 // END
 
 
 IF 
     Global("Entered","AR0808",1)
     Global("GirlsSpawn","AR0808",0)
	 Delay(2)
	      Global("GirlsSpawn","AR0808",0)
THEN 
   RESPONSE #100
   SetGlobal("GirlsSpawn","AR0808",1)
   CreateCreature("C6DEL",[1081.751],SE) // Del
     ActionOverride("C6DEL",SetDialog(""))
	        ActionOverride("C6DEL",ChangeAIScript("",CLASS))	
	     ActionOverride("C6DEL",ChangeAIScript("",OVERRIDE))	
		    ActionOverride("C6DEL",ChangeAIScript("",RACE))
  ActionOverride("C6DEL",Enemy())	


	CreateCreature("PPPARIS",[1075.585],SE) // Parisa
	   ActionOverride("PPPARIS",SetDialog(""))	
      ActionOverride("PPPARIS",ChangeAIScript("",CLASS))	
	     ActionOverride("PPPARIS",ChangeAIScript("",OVERRIDE))	
		    ActionOverride("PPPARIS",ChangeAIScript("",RACE))	
   ActionOverride("PPPARIS",ChangeAIScript("",GENERAL))	
    ActionOverride("PPPARIS",Enemy())	

	
	CreateCreature("ULVARYL",[1120.541],S) // Ulvaryl
   ChangeEnemyAlly("ULVARYL",ENEMY)	
   ActionOverride("ULVARYL",SetDialog(""))	
      ActionOverride("ULVARYL",ChangeAIScript("",CLASS))	
	     ActionOverride("ULVARYL",ChangeAIScript("",OVERRIDE))	
		    ActionOverride("ULVARYL",ChangeAIScript("",RACE))	
       ActionOverride("ULVARYL",Enemy())	
 
 CreateCreature("COHNTA",[1234.530],S) //Cohn
   ChangeEnemyAlly("COHNTA",ENEMY)	
   ActionOverride("COHNTA",SetDialog(""))	
END 
  
 
IF
  !BeenInParty("valen")
  Global("Coffin1","AR0808",1)
  OR(3)
  	!Dead("C6Valen")
	!Dead("C6Tanov")
	!Dead("C6Harei")
  THEN RESPONSE #100
  SetGlobal("Coffin1","AR0808",0)
//  Continue()
  END
 
IF
  !BeenInParty("valen")
  Global("Coffin1","AR0808",0)
    Dead("C6Valen")
	Dead("C6Tanov")
	Dead("C6Harei")
  THEN RESPONSE #100
  SetGlobal("Coffin1","AR0808",1)
 // Continue()
  END
 
 
IF
  BeenInParty("valen")
  Global("Coffin1","AR0808",1)
  OR(3)
  //	!Dead("C6Valen")
	!Dead("C6Tanov")
	!Dead("C6Harei")
  THEN RESPONSE #100
  SetGlobal("Coffin1","AR0808",0)
//  Continue()
  END
 
IF
  BeenInParty("valen")
  Global("Coffin1","AR0808",0)
   // Dead("C6Valen")
	Dead("C6Tanov")
	Dead("C6Harei")
  THEN RESPONSE #100
  SetGlobal("Coffin1","AR0808",1)
 // Continue()
  END
 
 
 
IF
  Global("Coffin2","AR0808",1)
  OR(3)
  	!Dead("C6Salia")
	!Dead("C6Mere")
	!Dead("c6del")
  THEN RESPONSE #100
  SetGlobal("Coffin2","AR0808",0)
 // Continue()
  END
 
IF
  Global("Coffin2","AR0808",0)
    Dead("C6Salia")
	Dead("C6Mere")
	Dead("c6del")
  THEN RESPONSE #100
  SetGlobal("Coffin2","AR0808",1)
//  Continue()
  END
 

 
 IF
  Global("Coffin3","AR0808",1)
  OR(3)
  	!Dead("PPPARIS")
	!Dead("ULVARYL")
	!Dead("COHNTA")
  THEN RESPONSE #100
  SetGlobal("Coffin3","AR0808",0)
 // Continue()
  END
 
IF
  Global("Coffin3","AR0808",0)
    Dead("PPPARIS")
	Dead("ULVARYL")
	Dead("COHNTA")
  THEN RESPONSE #100
  SetGlobal("Coffin3","AR0808",1)
 // Continue()
  END
 

 IF
	Global("BodhiDoor","AR0808",0)
	THEN
RESPONSE #100	
  SetGlobal("BodhiDoor","AR0808",3)
END

 IF
    BeenInParty("valen")
	//Dead("C6Valen")
	Dead("C6Tanov")
	Dead("C6Harei")
	Dead("C6Salia")
	Dead("C6Mere")
    Dead("C6DEL")
	Dead("PPPARIS")
	Dead("ULVARYL")
	Dead("COHNTA")	
	Global("BodhiDoor","AR0808",3)
THEN
	RESPONSE #100
		SetGlobal("BodhiDoor","AR0808",1)
		Unlock("DOOR01")
		OpenDoor("DOOR01")
		DisplayString(Myself,54875) // ou.<CHARNAME>, you're late. We've started without you!I'd expected more from vampires. I've barely broken a sweat. 'Tis, hungry work, D
END


 IF
    !BeenInParty("valen")
	Dead("C6Valen")
	Dead("C6Tanov")
	Dead("C6Harei")
	Dead("C6Salia")
	Dead("C6Mere")
    Dead("C6DEL")
	Dead("PPPARIS")
	Dead("ULVARYL")
	Dead("COHNTA")	
	Global("BodhiDoor","AR0808",3)
THEN
	RESPONSE #100
		SetGlobal("BodhiDoor","AR0808",1)
		Unlock("DOOR01")
		OpenDoor("DOOR01")
		DisplayString(Myself,54875) // ou.<CHARNAME>, you're late. We've started without you!I'd expected more from vampires. I've barely broken a sweat. 'Tis, hungry work, D
END



