ACTOR VexedNemesisBloodMage : LegendaryNecromancer 30117 
{
//Creator: Nemesiscaptain(uwu)and Makarov
//Origin: Infinity Gods
//Sprite:VNB1 
//Title: "VexedNemesisBloodMage"
Monster
Health 3400
PainChance 20
BloodColor "Black"
Speed 30
Scale 0.90
Radius 20 
Height 56 
Mass 320 
+FLOORCLIP
+DONTHURTSPECIES
+FLOAT
+BOSS
+NOGRAVITY
DamageFactor 0.5
DamageFactor "Explosion", 0.0001
DamageFactor "PlayerDTRG", 0.0001
DamageFactor "DTRailgun", 0.0001
DamageFactor "PDTPuff", 0.0001
DamageFactor "RailG", 0.0001
DamageFactor "PyroShot", 0.0001
DamageFactor "PlayerPyro", 0.0001
DamageFactor "PlayerBHole", 0.025
DamageFactor "PlayerDBFG", 0.015
DamageFactor "PlayerDBFG2", 0.015
BloodColor "Black"
Species "cacodemon"
DropItem "NemesisHealthBonusMax", 256, 32
DropItem "NemesisArmorBonus32", 256
DropItem "NemesisHealthBonusMax", 256, 32
DropItem "NemesisArmorBonus32", 256
DropItem "VexedNemesisArmor", 115, 1
DropItem "MysteriousBeacon" 80 1
DropItem "OccultSpellbook" 256
DropItem "LegAmmoSphere", 128, 1
DropItem "NemesisRuneSpawnerTier3", 128, 1
DropItem "VexedNemesisSphere", 100, 1
DropItem "DemonicChalice", 40, 1
DropItem "Nemesis Rifle", 200
DropItem "NemesisPowerSphere" 105 1
DropItem "LegTimeFreezeSphere" 100 1
DropItem "NemesisSoulSphere" 120 1
DropItem "NemesisorVexedPowerShard" 85 1
DropItem "BigDustMana" 256 100
DropItem "BigDustMana" 128 100
DropItem "NemesisDemonicEnergy" 128 100
DropItem "NemesisDemonicEnergy" 128 100
SeeSound "nemesisbloodmage/sight" 
PainSound "nemesisbloodmage/pain" 
DeathSound "" 
ActiveSound "nemesisbloodmage/active"
Obituary "%o was drained dry by the crimson sorcery of the VexedNemesisBloodMage."
Tag "\c[w2]VexedNemesisBloodMage\c-"
var int user_music;
var int user_missile;
States
{
  Spawn:
	   VNB1 A 10 Bright A_Look
	   TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	   Loop 
   See: 
       TNT1 A 0 A_JumpIf(user_music == 1,3)
	   TNT1 A 0 ACS_NamedExecuteAlways("InfinityMusic",0,6757)
	   TNT1 A 0 A_SetUserVar("user_music",1)
	   TNT1 A 0 A_JumpIfInventory("MarineKilled",1,"Taunt")
       VNB1 AAA 2 Bright A_FastChase
	   TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	   VNB1 BBB 2 Bright A_FastChase
	   TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
       VNB1 A 0 A_Jump(80,1)
	   VNB1 A 0 A_Jump(30,"Teleport")
	   VNB1 A 0 A_Jump(96,"Rush")
	   VNB1 A 0 A_Jump(60,"Dodge")
       Loop
   Taunt:
	   TNT1 AAA 0 A_StopSound(CHAN_VOICE)
	   VNB1 A 1 A_PlaySound("nemesisbloodmage/taunt",CHAN_VOICE,1.0,0,ATTN_NONE)
	   TNT1 A 0 A_TakeInventory("MarineKilled",1)
	   Goto See
   Teleport:
	VNB1 A 1 A_UnSetShootable
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("BH/Fire",0,1.0,0,0.4)
	TNT1 A 0 A_SpawnItemEx("PatriarchTeleport",0,0,40)
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	TNT1 A 0 A_SpawnItemEx("PatriarchTeleport",0,0,40)
    VNB1 A 1 A_SetShootable
   Dodge:
	   VNB1 A 0
	   VNB1 A 0 ThrustThing(angle*256/360+random(0,360),30,0,0)
	   VNB1 A 5 Bright 
	   Goto See
   Rush:
	   TNT1 A 0 A_Chase
	   TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	   VNB1 A 1 Bright A_Playsound("monster/blur")
	   TNT1 A 0 A_SpawnItemEx("VexedNecromancerFX")
	   VNB1 A 1 Bright A_Chase
	   TNT1 A 0 A_SpawnItemEx("VexedNecromancerFX")
	   VNB1 A 1 Bright A_Chase
	   TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	   TNT1 A 0 A_SpawnItemEx("VexedNecromancerFX")
	   VNB1 A 1 Bright A_Chase
	   TNT1 A 0 A_SpawnItemEx("VexedNecromancerFX")
	   VNB1 A 1 Bright A_Chase
	   TNT1 A 0 A_SpawnItemEx("VexedNecromancerFX")
	   VNB1 A 1 Bright A_Chase
	   TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	   TNT1 A 0 A_SpawnItemEx("VexedNecromancerFX")
	   VNB1 A 1 Bright A_Chase
	   TNT1 A 0 A_SpawnItemEx("VexedNecromancerFX")
	   VNB1 B 1 Bright A_Chase
	   TNT1 A 0 A_SpawnItemEx("VexedNecromancerFX")
	   VNB1 B 1 Bright A_Chase
	   TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	   TNT1 A 0 A_SpawnItemEx("VexedNecromancerFX")
	   VNB1 B 1 Bright A_Chase
	   TNT1 A 0 A_SpawnItemEx("VexedNecromancerFX")
	   VNB1 B 1 Bright A_Chase
	   TNT1 A 0 A_SpawnItemEx("VexedNecromancerFX")
	   VNB1 B 1 Bright A_Chase
	   TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	   TNT1 A 0 A_SpawnItemEx("VexedNecromancerFX")
	   VNB1 A 1 Bright A_Chase
	   TNT1 A 0 A_SpawnItemEx("VexedNecromancerFX")
	   VNB1 A 1 Bright A_Chase
	   TNT1 A 0 A_SpawnItemEx("VexedNecromancerFX")
	   VNB1 A 1 Bright A_Chase
	   TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	   TNT1 A 0 A_SpawnItemEx("VexedNecromancerFX")
	   VNB1 A 1 Bright A_Chase
	   TNT1 A 0 A_SpawnItemEx("VexedNecromancerFX")
	   VNB1 A 1 Bright A_Chase
	   TNT1 A 0 A_SpawnItemEx("VexedNecromancerFX")
	   VNB1 A 1 Bright A_Chase
	   TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	   TNT1 A 0 A_SpawnItemEx("VexedNecromancerFX")
	   VNB1 A 1 Bright A_Chase
	   TNT1 A 0 A_SpawnItemEx("VexedNecromancerFX")
	   VNB1 B 1 Bright A_Chase
	   TNT1 A 0 A_SpawnItemEx("VexedNecromancerFX")
	   VNB1 B 1 Bright A_Chase
	   TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	   TNT1 A 0 A_SpawnItemEx("VexedNecromancerFX")
	   VNB1 B 1 Bright A_Chase
	   TNT1 A 0 A_SpawnItemEx("VexedNecromancerFX")
	   VNB1 B 1 Bright A_Chase
	   TNT1 A 0 A_SpawnItemEx("VexedNecromancerFX")
	   VNB1 B 1 Bright A_Chase
	   TNT1 A 0 A_SpawnItemEx("VexedNecromancerFX")
       Goto See
   Missile:
	   TNT1 A 0 A_Jump(100,"NemesisShots", "HellStaff")
       TNT1 A 0 A_Jump(70,"NemesisSpreadShots","NemesisLightningBall","VexedLightning", "NecroBFGBalls")
       TNT1 A 0 A_Jump(10,"Resurrection")
       Goto See
   NemesisSpreadShots:
	   VNB1 A 1 Bright A_FaceTarget
       TNT1 A 0 A_ChangeFlag("NOPAIN",1)
       TNT1 A 0 A_PlaySound("bloodm/disat1",7)
	   TNT1 A 0 A_PlaySound("nemesisbloodmage/attack",CHAN_VOICE,1.0,0,ATTN_NONE)
       VNB1 CCCCCCCCCC 2 Bright A_FaceTarget
       VNB1 C 2 Bright A_PlaySound("lrball3/charge",CHAN_WEAPON)
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)	
       VNB1 C 0 A_UnSetInvulnerable  
       VNB1 C 10 Bright A_FaceTarget
       TNT1 A 0 A_ChangeFlag("NOPAIN",0)
       VNB1 C 10 A_FaceTarget
       VNB1 CCCC 5 Bright A_FaceTarget
       VNB1 D 0 Bright A_CustomMissile("VexedNemesisCyberRailLaser",36,0,-4,0)
       VNB1 D 0 Bright A_CustomMissile("VexedNemesisCyberRailLaser",36,0,4,0)
       VNB1 D 0 Bright A_CustomMissile("VexedNemesisCyberRailLaser",36,0,-8,0)
       VNB1 D 0 Bright A_CustomMissile("VexedNemesisCyberRailLaser",36,0,8,0)
       VNB1 D 8 Bright A_CustomMissile("VexedNemesisCyberRailLaser",36,0,0,0)
	   TNT1 A 0 A_JumpIfInventory("MarineKilled",1,"Taunt")
       VNB1 CC 5 Bright A_FaceTarget
       VNB1 D 0 Bright A_CustomMissile("VexedNemesisCyberRailLaser",36,0,-4,0)
       VNB1 D 0 Bright A_CustomMissile("VexedNemesisCyberRailLaser",36,0,4,0)
       VNB1 D 0 Bright A_CustomMissile("VexedNemesisCyberRailLaser",36,0,-8,0)
       VNB1 D 0 Bright A_CustomMissile("VexedNemesisCyberRailLaser",36,0,8,0)
       VNB1 D 8 Bright A_CustomMissile("VexedNemesisCyberRailLaser",36,0,0,0)
	   TNT1 A 0 A_JumpIfInventory("MarineKilled",1,"Taunt")
	   VNB1 CC 5 Bright A_FaceTarget
       VNB1 D 0 Bright A_CustomMissile("VexedNemesisCyberRailLaser",36,0,-4,0)
       VNB1 D 0 Bright A_CustomMissile("VexedNemesisCyberRailLaser",36,0,4,0)
       VNB1 D 0 Bright A_CustomMissile("VexedNemesisCyberRailLaser",36,0,-8,0)
       VNB1 D 0 Bright A_CustomMissile("VexedNemesisCyberRailLaser",36,0,8,0)
       VNB1 D 8 Bright A_CustomMissile("VexedNemesisCyberRailLaser",36,0,0,0)
	   Goto See
   NemesisShots:
       VNB1 C 8 Bright A_FaceTarget
	   VNB1 C 5 Bright A_FaceTarget
	   VNB1 D 6 Bright A_CustomMissile("NemesisNecroShot",36,0,0,0)
	   TNT1 A 0 A_FaceTarget
	   VNB1 D 6 Bright A_CustomMissile("NemesisNecroShot",36,0,0,0)
	   TNT1 A 0 A_FaceTarget
	   VNB1 D 6 Bright A_CustomMissile("NemesisNecroShot",36,0,0,0)
	   TNT1 A 0 A_FaceTarget	   
	   VNB1 D 6 Bright A_CustomMissile("NemesisNecroShot",36,0,0,0)
	   TNT1 A 0 A_FaceTarget	   
	   VNB1 D 6 Bright A_CustomMissile("NemesisNecroShot",36,0,0,0)
	   TNT1 A 0 A_FaceTarget	   
	   VNB1 D 6 Bright A_CustomMissile("NemesisNecroShot",36,0,0,0)
	   TNT1 A 0 A_FaceTarget
	   VNB1 D 6 Bright A_CustomMissile("NemesisNecroShot",36,0,0,0)
	   TNT1 A 0 A_FaceTarget
	   VNB1 D 6 Bright A_CustomMissile("NemesisNecroShot",36,0,0,0)
	   TNT1 A 0 A_FaceTarget
	   VNB1 D 6 Bright A_CustomMissile("NemesisNecroShot",36,0,0,0)
	   TNT1 A 0 A_FaceTarget
	   VNB1 D 6 Bright A_CustomMissile("NemesisNecroShot",36,0,0,0)
	   TNT1 A 0 A_JumpIfInventory("MarineKilled",1,"Taunt")
	   TNT1 A 0 A_FaceTarget
	   TNT1 A 0 A_Jump(40,"NemesisShots","Missile")
	   Goto See
   HellStaff:
	   VNB1 CC 5 Bright A_FaceTarget
	   VNB1 DDD 5 Bright A_CustomMissile("DefilerHellStaffBall",random(22,27),0,random(-10,10))
	   TNT1 A 0 A_FaceTarget
	   VNB1 DDD 5 Bright A_CustomMissile("NemesisBehemothCannonLaser",random(22,27),0,random(-10,10))
	   TNT1 A 0 A_FaceTarget
	   VNB1 DDD 5 Bright A_CustomMissile("DefilerHellStaffBall",random(22,27),0,random(-10,10))
	   TNT1 A 0 A_Jump(40,"HellStaff","Missile")
   VexedLightning:
       TNT1 A 0 A_PlaySound("nemesisbloodmage/attack",CHAN_VOICE,1.0,0,ATTN_NONE)
	   TNT1 A 0 A_ChangeFlag("NOPAIN",1)
	   VNB1 C 10 Bright A_PlaySound("exile/voidstart")
	   VNB1 D 8 Bright A_VileTarget("NemeNecromancerVileFire")
	   VNB1 DDDDDDDDDDDDDD 8 Bright A_FaceTarget
	   TNT1 A 0 A_PlaySound("exile/voidend")
	   VNB1 D 8 Bright
	   TNT1 A 0 A_JumpIfInventory("MarineKilled",1,"Taunt")
	   VNB1 C 20 Bright
	   TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	   Goto See
   LightningBall:
	TNT1 A 0 A_PlaySound("bloodm/disat1",7)
	TNT1 A 0 A_PlaySound("nemesisbloodmage/attack",CHAN_VOICE,1.0,0,ATTN_NONE)
    TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",41,0,43)
	TNT1 A 0 A_SpawnItemEx("NDefilerWhiteSmokeSpawner")
	VNB1 E 4 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",41,0,43)
	TNT1 A 0 A_SpawnItemEx("NDefilerWhiteSmokeSpawner")
	VNB1 E 4 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",41,0,43)
	TNT1 A 0 A_SpawnItemEx("NDefilerWhiteSmokeSpawner")
	VNB1 E 4 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",41,0,43)
	TNT1 A 0 A_SpawnItemEx("NDefilerWhiteSmokeSpawner")
	VNB1 E 4 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",41,0,43)
	TNT1 A 0 A_SpawnItemEx("NDefilerWhiteSmokeSpawner")
	VNB1 E 4 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",41,0,43)
	TNT1 A 0 A_SpawnItemEx("NDefilerWhiteSmokeSpawner")
	VNB1 E 4 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",41,0,43)
	TNT1 A 0 A_SpawnItemEx("NDefilerWhiteSmokeSpawner")
	VNB1 F 4 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",41,0,43)
	TNT1 A 0 A_SpawnItemEx("NDefilerWhiteSmokeSpawner")
	VNB1 F 4 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",41,0,43)
	TNT1 A 0 A_SpawnItemEx("NDefilerWhiteSmokeSpawner")
	VNB1 F 4 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",41,0,43)
	TNT1 A 0 A_SpawnItemEx("NDefilerWhiteSmokeSpawner")
	VNB1 F 4 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",41,0,43)
	TNT1 A 0 A_SpawnItemEx("NDefilerWhiteSmokeSpawner")
	VNB1 F 4 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",41,0,43)
	TNT1 A 0 A_SpawnItemEx("NDefilerWhiteSmokeSpawner")
	VNB1 F 4 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerWhiteSmokeSpawner")
    VNB1 F 30 Bright A_CustomMissile("DefilerLightningProj",41)
   Goto See
   NecroBFGBalls:
	   VNB1 A 1 Bright A_FaceTarget
       TNT1 A 0 A_ChangeFlag("NOPAIN",1)
       TNT1 A 0 A_SetInvulnerable
       TNT1 A 0 A_PlaySound("bloodm/disat2",7)
	   TNT1 A 0 A_PlaySound("nemesisbloodmage/attack",CHAN_VOICE,1.0,0,ATTN_NONE)
       VNB1 CCCCCCCCCC 2 Bright A_FaceTarget
       VNB1 C 2 Bright A_PlaySound("lrball3/charge",CHAN_WEAPON)
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)  
       TNT1 A 0 A_FaceTarget
       VNB1 C 2 Bright A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)	
       VNB1 C 0 A_UnSetInvulnerable  
       VNB1 C 10 Bright A_FaceTarget
       TNT1 A 0 A_ChangeFlag("NOPAIN",0)
       VNB1 C 10 A_FaceTarget
       VNB1 CCCC 5 Bright A_FaceTarget
       VNB1 F 5 Bright A_CustomMissile("VexedNemesisCyberMiniBFGBall",58,-26)
       VNB1 CC 5 Bright A_FaceTarget
       VNB1 F 5 Bright A_CustomMissile("VexedNemesisCyberMiniBFGBall",58,-26)
	   TNT1 A 0 A_JumpIfInventory("MarineKilled",1,"Taunt")
	   VNB1 CC 5 Bright A_FaceTarget
       VNB1 F 5 Bright A_CustomMissile("VexedNemesisCyberMiniBFGBall",58,-26)
	   TNT1 A 0 A_JumpIfInventory("MarineKilled",1,"Taunt")
	   TNT1 A 0 A_Jump(40,"NemesisSpreadShots","NecroBFGBalls")
	   Goto See
   Resurrection:
       TNT1 A 0 A_ChangeFlag("NOPAIN",1)
       TNT1 A 0 A_PlaySound("nemesisbloodmage/resvoice",CHAN_VOICE,1.0,0,ATTN_NONE)
	   TNT1 A 0 A_PlaySound("nemesisbloodmage/resbuildup",6,1.0,0,ATTN_NONE)
   	   VNB1 C 80 Bright
       TNT1 A 0 A_SetInvulnerable
	   TNT1 A 0 A_Quake(7,540,0,3000,"")
	   TNT1 A 0 A_CustomMissile("NemesisPentaLine1",0,0,-72,2)
       TNT1 A 0 A_CustomMissile("NemesisPentaLine1",0,0,-144,2)
       TNT1 A 0 A_CustomMissile("NemesisPentaLine1",0,0,-216,2)
       TNT1 A 0 A_CustomMissile("NemesisPentaLine1",0,0,-288,2)
       TNT1 A 0 A_CustomMissile("NemesisPentaLine1",0,0,0,2)
	   TNT1 A 0 A_SpawnItemEx("NemesisNecromancerResEffectSpawner")
	   TNT1 A 0 A_PlaySound("nemesisbloodmage/resfinish",7,1.0,0,ATTN_NONE)
	   VNB1 C 120 Bright
	   TNT1 A 0 A_JumpIfInventory("MarineKilled",1,"Taunt")
	   TNT1 A 0 A_CustomMissile("HeresiarchDeathResurrect",0,0,0,CMF_AIMDIRECTION|CMF_TRACKOWNER,90)
	   Goto Teleport
   Pain: 
	   TNT1 A 0 A_Jump(35,"Teleport")
	   VNB1 C 4 Bright A_Pain 
	   TNT1 A 0 A_Jump(128,"Missile")
	   Goto See 
   Death: 
	   VNB1 G 2 Bright
	   VNB1 G 8 Bright A_PlaySound("nemesisbloodmage/death",CHAN_VOICE,1.0,0,ATTN_NONE) 
	   VNB1 GGGGGGGGGGGGGGGGGGGGGG 6 Bright A_SpawnItemEx("WhiteNemesisKaboom",random(-32,32),random(-40,40),random(16,48),random(-4,4),random(-4,4),random(0,4),0,SXF_TRANSFERPOINTERS)
	   TNT1 A 0 A_PlaySound("nemesisbloodmage/death2",7,1,0,ATTN_NONE)
	   TNT1 A 0 A_SpawnItemEx("BloodMageLightning")
	   TNT1 A 0 A_Explode(100,200,1)
	   TNT1 A 0 Radius_Quake(5,15,0,20,0)
	   TNT1 A 0 A_SpawnItemEx("NemesisGibbedGenerator") 
	   TNT1 A 0 A_SpawnItemEx("DefilerLightningExplode",random(0,20),0,random(20,50),random(2,6),0,random(-4,4),random(0,360))
	   TNT1 A 0 A_SpawnItemEx("DefilerLightningExplode",random(0,20),0,random(20,50),random(2,6),0,random(-4,4),random(0,360))
	   TNT1 A 0 A_SpawnItemEx("DefilerLightningExplode",random(0,20),0,random(20,50),random(2,6),0,random(-4,4),random(0,360))
	   VNB1 H 5 Bright
	   VNB1 I 5 Bright
	   VNB1 J 5 Bright A_NoBlocking 
	   VNB1 KLM 5 Bright
	   VNB1 NO 5 Bright
	   VNB1 O 60 Bright
	   VNB1 OOOOOOOOOOO 5 A_SpawnItemEx("NemesisHollow",random(35,140),0,0,0,0,0,random(0,360))
	   TNT1 A 0 A_Jump(100,"MoreStuff")
	   VNB1 O -1
  MoreStuff:
       VNB1 O 100
	   TNT1 A 0 A_SpawnItem("HellionSmokeAttack")
	   VNB1 OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO 1 A_SpawnItem("NemesisCYNItemRandomizer")
	   VNB1 OOOOOOOOOOOOOOOOOOOOOOOOOOOOOO 1 A_SpawnItem("NemesisCYNItemRandomizer")
       VNB1 O 1 A_SpawnItem("NemesisHKSuperItemRandomizer")
	   VNB1 O -1
	   Stop
   }
}

ACTOR VexedNecromancerFX : LegNecromancerFX
{
Scale 0.90
States
{
 Spawn:
   TNT1 A 0
   TNT1 A 0 A_JumpIf(ACS_ExecuteWithResult(304) == 1, "Toaster")
   TNT1 A 3
   VNB1 A 5 A_FadeOut(0.10)
   Goto Spawn+3
   }
}
