actor TLBSstandalone : TrueLegendaryBabySentient
{
  health 2750
  DropItem "BossLifeEssence" 256 
  DropItem "BossArmorBonusMax" 256 
  DropItem "LegendaryArmor" 110 
  DropItem "LegendaryRune" 110 
  DropItem "LDemonAmmoBox" 256 
  DropItem "LDemonAmmo" 256 
  DropItem "Legendary Plasmatic Cannon" 180 
  DropItem "LegAmmoSphere" 80
  DropItem "LegendaryBulletBox" 256
  DropItem "LegendaryLMGBulletMag" 252 
  DropItem "Legendary Light Machine Gun" 200 
  DropItem "Legendary Assault Shotgun" 202
  DropItem "LegendaryShell" 256 
  DropItem "LegendaryShellBox" 130
  DropItem "LegendarySphere" 128 
  DropItem "LegendaryUltrasphere" 128
  DropItem "Legendary Plasmatic Rifle" 128 
  DropItem "LegDemonRune" 128 
  DropItem "True Legendary Plasmatic Cannon" 40
  DropItem "True Legendary Railgun" 50
  DropItem "TrueLegendaryCellPack" 100 
  DropItem "TrueLegendaryCell" 100 
  DropItem "LegTimeFreezeSphere" 128
  DropItem "Legendary Demon Tech Devastator" 25
  DropItem "TrueLegendaryBFGUpgrade" 150 
  DropItem "Legendary Fusion Cannon" 2
  DropItem "LegendaryQuadShotgun" 50
  -nodropoff
  var int user_music;
  Tag "\c[l5]True\c- \c[z3]Legendary Baby Sentient\c-"
  states
  {
  See:
    TNT1 A 0 A_JumpIf(user_script == 1,3)
    TNT1 A 0 ACS_NamedExecuteAlways("SpawnFireOnActor2", 0, 5)
    TNT1 A 0 A_SetUserVar("user_script",1)
	TNT1 A 0 A_JumpIf(user_music == 1,3)
	TNT1 A 0 ACS_NamedExecuteAlways("StartMonsterMusic",0,2045)
	TNT1 A 0 A_SetUserVar("user_music",1)
    TNT1 A 0 A_ChangeFlag("NOPAIN",0)
    TBBS A 0 A_UnSetInvulnerable
	TBBS AAA 0 A_SpawnItemEx("BHellionSmokeSpawner",random(-24,24),random(-24,24),0)
	TBBS AB 2 Bright A_Chase
	TBBS A 0 A_JumpIfCloser(300, "LegendaryASGMinigun")
	TBBS A 0 A_JumpIfCloser(200, "GoAway")
	TNT1 A 0 A_Jump(60, "Dodge")
	TNT1 A 0 A_Jump(45, "Teleport")
	TNT1 A 0 A_Jump(15,"Evade")
    Loop
  }
}

ACTOR GhoulST : Ghoul
{
DamageFactor 0.85
Species "Imps"
DamageFactor "ImpComet", 0.0
DamageFactor "Cyber10K", 0.5
DamageFactor "PDTBFG", 0.6
DamageFactor "PDTBFGTracer", 0.9
DropItem "BossLifeEssence" 256
DropItem "BossArmorBonusMax" 256
DropItem "BarbatosCannon", 60, 1
tag "\c[green]Poisonous Abomination\c-"
+MISSILEEVENMORE
States
  {
  Spawn:
    TNT1 A 0
  Idle:
    GHUL A 10 A_Look 
    Loop
   }
}

ACTOR GhorulST : Ghorul
{
Tag "\c[m9]Ghorul\c-"
+COUNTKILL
}

ACTOR RejectedST : Rejected
{
Species "Imps"
Tag "\c[m9]Rejected\c-"
+COUNTKILL
}

Actor INFNewSpiderMastermind : NewSpiderMastermind Replaces NewSpiderMastermind
{
  Health 3000
  Speed 12
  PainChance 5
  Radius 65
  Mass 2500
  Species "Spiders"
  DamageFactor "DemolisherEx", 0.0
  DamageFactor "DarkDemoEx", 0.0
  DamageFactor "CerChainguns", 0.0  
  DamageFactor "CerEnergyBall", 0.0
  DamageFactor "Hell", 0.0 
  DamageFactor "Legendary", 0.75
  DamageFactor "BFGSplash", 0.5
  DamageFactor "PDTBFG", 0.5
  DamageFactor "PDTBFGTracer", 0.5
  //DamageFactor "MechStep", 0.0
  DropItem "BossLifeEssence", 128
  DropItem "BossArmorBonusMax", 128
  DropItem "RapidShotgun", 86
  DropItem "NewShellBox", 128
  Dropitem "NewShell", 128
  Dropitem "NewShell", 128
  Dropitem "NewShell", 128
  //DamageFactor 0.75
  //RadiusDamageFactor 0.5
  MaxStepHeight 32
  MaxDropOffHeight 32
  +DONTHARMSPECIES
  +MISSILEEVENMORE
  +QUICKTORETALIATE
  //+NOFEAR
  AttackSound ""
  PainSound "monsters/darkmasterpain"
  Obituary "%o stood in awe of the Spider Mastermind."
  Tag "\ccSpider Mastermind\c-"
  States
  {
  Spawn:
    SPID A 10 A_Look
    Loop
  See:
    SPID A 2 A_Metal
    SPID ABB 2 A_Chase
    SPID C 2 A_Metal
    SPID CDD 2 A_Chase
    SPID E 2 A_Metal
    SPID EFF 2 A_Chase
    Loop
  Missile:
    TNT1 A 0 A_PlaySound("monsters/darkmasterwind")
	SPID AAA 4 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("ShellCasing", 10, 12, 40, Random(2, 6), 0, Random(1, 3), Random(80, 90), 128)
	TNT1 A 0 A_PlaySound("weapons/12gaugefire")
	TNT1 A 0 A_CustomMissile("MonsterTracer3",Random(24,34),0,Random(4,-4),0)
	SPID G 3 Bright A_CustomBulletAttack(12.5,0,5,random(1,5)*3,"HellBulletPuff",0,CBAF_NORANDOM)
    TNT1 A 0 A_SpawnItemEx("ShellCasing", 10, -12, 40, Random(2, 6), 0, Random(1, 3), Random(-80, -90), 128)
	TNT1 A 0 A_PlaySound("weapons/12gaugefire")
	TNT1 A 0 A_CustomMissile("MonsterTracer3",Random(24,34),0,Random(4,-4),0)
	SPID H 4 Bright A_CustomBulletAttack(12.5,0,5,random(1,5)*3,"HellBulletPuff",0,CBAF_NORANDOM)
	TNT1 A 0 A_StopSoundEx("Weapon")	
	TNT1 A 0 A_Jump(3,"See")
    TNT1 A 0 A_SpidRefire
	Goto Missile+4
  Pain:
    SPID I 3
    SPID I 3 A_Pain
    Goto See
 Death:
	TNT1 A 0 A_Scream
	SPID I 20 A_Fall
	TNT1 AA 0 A_SpawnItemEx("GibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)	
	TNT1 AAA 0 A_CustomMissile("BigRedBloodCloud", random(10,80), 0, random(0,360), 2, random(0,360))	
	SPID JJJJJ 2 Bright A_CustomMissile("Kaboom", random(10,60), random(30,-30), random(0,360), 2, random(0,360))
	TNT1 AA 0 A_SpawnItemEx("GibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)	
	TNT1 AAA 0 A_CustomMissile("BigRedBloodCloud", random(10,80), 0, random(0,360), 2, random(0,360))	
	SPID KKKKK 2 Bright A_CustomMissile("Kaboom", random(10,60), random(30,-30), random(0,360), 2, random(0,360))
	TNT1 AA 0 A_SpawnItemEx("GibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)	
	TNT1 AAA 0 A_CustomMissile("BigRedBloodCloud", random(10,80), 0, random(0,360), 2, random(0,360))
	SPID LLLLL 2 Bright A_CustomMissile("Kaboom", random(10,60), random(30,-30), random(0,360), 2, random(0,360))
	TNT1 AA 0 A_SpawnItemEx("GibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)	
	TNT1 AAA 0 A_CustomMissile("BigRedBloodCloud", random(10,80), 0, random(0,360), 2, random(0,360))
	SPID MMMMM 2 Bright A_CustomMissile("Kaboom", random(10,60), random(30,-30), random(0,360), 2, random(0,360))
	TNT1 AA 0 A_SpawnItemEx("GibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)	
	TNT1 AAA 0 A_CustomMissile("BigRedBloodCloud", random(10,80), 0, random(0,360), 2, random(0,360))
	SPID NNNNN 2 Bright A_CustomMissile("Kaboom", random(10,60), random(30,-30), random(0,360), 2, random(0,360))
	TNT1 AA 0 A_SpawnItemEx("GibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)	
	TNT1 AAA 0 A_CustomMissile("BigRedBloodCloud", random(10,80), 0, random(0,360), 2, random(0,360))
	SPID OOOOO 2 Bright A_CustomMissile("Kaboom", random(10,60), random(30,-30), random(0,360), 2, random(0,360))
	TNT1 AA 0 A_SpawnItemEx("GibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)	
	TNT1 AAA 0 A_CustomMissile("BigRedBloodCloud", random(10,80), 0, random(0,360), 2, random(0,360))
	SPID PPPPP 2 Bright A_CustomMissile("Kaboom", random(10,60), random(30,-30), random(0,360), 2, random(0,360))		
	TNT1 AAAA 0 A_SpawnItemEx("GibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)
	TNT1 AAAAAA 0 A_CustomMissile("BigRedBloodCloud", random(10,80), 0, random(0,360), 2, random(0,360))
	TNT1 AAAAAAAA 0 A_CustomMissile("SmokeFX3", random(10,60), random(30,-30), random(0,360), 2, random(0,360))	
	SPID QR 5
	SPID S -1 A_KillMaster
	Stop	
  }
}

Actor Arachnophyte : INFNewSpiderMastermind
{
	FloatSpeed 12
	Scale 1.1
	Health 3200
	+FLOAT
	+NOGRAVITY
	+NOFEAR
	-FLOORCLIP
    Obituary "%o was perforated by the Arachnophyte."
	Tag "\ccArachnophyte\c-"
    States
    {
Spawn: 
	TNT1 A 0 A_SpawnItem("SentientFireSpawner",0,0,0,0)
	APIT A 2 Bright A_Look
	TNT1 A 0 A_SpawnItem("SentientFireSpawner",0,0,0,0)
	APIT B 2 Bright A_Look
	Loop
See:
	TNT1 A 0 A_SpawnItem("SentientFireSpawner",0,0,0,0)
	APIT A 2 Bright A_Chase
	TNT1 A 0 A_SpawnItem("SentientFireSpawner",0,0,0,0)
	APIT B 2 Bright A_Chase
	TNT1 A 0 A_Jump(26,"Evade")	
	Loop
Evade:
	TNT1 A 0 A_Jump(128,19)
	TNT1 A 0 ThrustThing(Angle*256/360+64,20,0,0)
	TNT1 A 0 A_SpawnItem("SentientFireSpawner2",0,0,0,0)
	APIT A 2 Bright A_Chase
	TNT1 A 0 A_SpawnItem("SentientFireSpawner2",0,0,0,0)
	APIT B 2 Bright A_Chase
	TNT1 A 0 A_SpawnItem("SentientFireSpawner2",0,0,0,0)
	APIT A 2 Bright A_Chase
	TNT1 A 0 A_SpawnItem("SentientFireSpawner2",0,0,0,0)
	APIT B 2 Bright A_Chase
	TNT1 A 0 A_SpawnItem("SentientFireSpawner2",0,0,0,0)
	APIT A 2 Bright A_Chase
	TNT1 A 0 A_SpawnItem("SentientFireSpawner2",0,0,0,0)
	APIT B 2 Bright A_Chase
	TNT1 A 0 A_SpawnItem("SentientFireSpawner2",0,0,0,0)
	APIT A 2 Bright A_Chase
	TNT1 A 0 A_SpawnItem("SentientFireSpawner2",0,0,0,0)
	APIT B 2 Bright A_Chase
	TNT1 A 0 A_Stop
	Goto See
	TNT1 A 0 ThrustThing(Angle*256/360+192,20,0,0)
	TNT1 A 0 A_SpawnItem("SentientFireSpawner2",0,0,0,0)
	APIT A 2 Bright A_Chase
	TNT1 A 0 A_SpawnItem("SentientFireSpawner2",0,0,0,0)
	APIT B 2 Bright A_Chase
	TNT1 A 0 A_SpawnItem("SentientFireSpawner2",0,0,0,0)
	APIT A 2 Bright A_Chase
	TNT1 A 0 A_SpawnItem("SentientFireSpawner2",0,0,0,0)
	APIT B 2 Bright A_Chase
	TNT1 A 0 A_SpawnItem("SentientFireSpawner2",0,0,0,0)
	APIT A 2 Bright A_Chase
	TNT1 A 0 A_SpawnItem("SentientFireSpawner2",0,0,0,0)
	APIT B 2 Bright A_Chase
	TNT1 A 0 A_SpawnItem("SentientFireSpawner2",0,0,0,0)
	APIT A 2 Bright A_Chase
	TNT1 A 0 A_SpawnItem("SentientFireSpawner2",0,0,0,0)
	APIT B 2 Bright A_Chase
	TNT1 A 0 A_Stop
	Goto See
Missile:
    TNT1 A 0 A_PlaySound("monsters/darkmasterwind")
	TNT1 A 0 A_SpawnItem("SentientFireSpawner",0,0,0,0)
	APIT A 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("SentientFireSpawner",0,0,0,0)
	APIT A 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("SentientFireSpawner",0,0,0,0)
	APIT A 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("SentientFireSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("ShellCasing", 10, 12, 40, Random(2, 6), 0, Random(1, 3), Random(80, 90), 128)
	TNT1 A 0 A_PlaySound("weapons/12gaugefire")
	TNT1 A 0 A_CustomMissile("MonsterTracer3",Random(24,34),0,Random(4,-4),0)
	APIT C 3 Bright A_CustomBulletAttack(12.5,0,5,random(1,5)*3,"HellBulletPuff",0,CBAF_NORANDOM)
	TNT1 A 0 A_SpawnItem("SentientFireSpawner",0,0,0,0)	
    TNT1 A 0 A_SpawnItemEx("ShellCasing", 10, -12, 40, Random(2, 6), 0, Random(1, 3), Random(-80, -90), 128)
	TNT1 A 0 A_PlaySound("weapons/12gaugefire")
	TNT1 A 0 A_CustomMissile("MonsterTracer3",Random(24,34),0,Random(4,-4),0)
	APIT D 4 Bright A_CustomBulletAttack(12.5,0,5,random(1,5)*3,"HellBulletPuff",0,CBAF_NORANDOM)
	TNT1 A 0 A_StopSoundEx("Weapon")	
	TNT1 A 0 A_Jump(3,"See")
    TNT1 A 0 A_SpidRefire
	Goto Missile+7	
Pain:
	TNT1 A 0 A_SpawnItem("SentientFireSpawner",0,0,0,0)
	APIT A 3 Bright
	TNT1 A 0 A_SpawnItem("SentientFireSpawner",0,0,0,0)
	APIT A 3 Bright A_Pain	
	Goto See	
Death:
	TNT1 A 0 A_Scream
	APIT E 20 A_Fall
    TNT1 AA 0 A_SpawnItemEx("GibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)	
	TNT1 AAA 0 A_CustomMissile("BigRedBloodCloud", random(10,80), 0, random(0,360), 2, random(0,360))	
	APIT FFFFF 2 Bright A_CustomMissile("Kaboom", random(10,60), random(30,-30), random(0,360), 2, random(0,360))
    TNT1 AA 0 A_SpawnItemEx("GibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)	
	TNT1 AAA 0 A_CustomMissile("BigRedBloodCloud", random(10,80), 0, random(0,360), 2, random(0,360))	
    APIT GGGGG 2 Bright A_CustomMissile("Kaboom", random(10,60), random(30,-30), random(0,360), 2, random(0,360))
    TNT1 AA 0 A_SpawnItemEx("GibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)	
	TNT1 AAA 0 A_CustomMissile("BigRedBloodCloud", random(10,80), 0, random(0,360), 2, random(0,360))
    APIT HHHHH 2 Bright A_CustomMissile("Kaboom", random(10,60), random(30,-30), random(0,360), 2, random(0,360))
    TNT1 AA 0 A_SpawnItemEx("GibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)	
	TNT1 AAA 0 A_CustomMissile("BigRedBloodCloud", random(10,80), 0, random(0,360), 2, random(0,360))
    APIT IIIII 2 Bright A_CustomMissile("Kaboom", random(10,60), random(30,-30), random(0,360), 2, random(0,360))
    TNT1 AAAA 0 A_SpawnItemEx("GibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)
	TNT1 AAAAAA 0 A_CustomMissile("BigRedBloodCloud", random(10,80), 0, random(0,360), 2, random(0,360))
	TNT1 AAAAAAAA 0 A_CustomMissile("SmokeFX3", random(10,60), random(30,-30), random(0,360), 2, random(0,360))	
	APIT J 5
	TNT1 A -1 A_KillMaster
	Stop		
    }
}