ACTOR TarmidhesHosavo //The biggest of all dickrail shooters has returned
{
//Creator: GDWolf
//Origin: Complex Very Strong Monsters
//Sprite: TRMH
//Title: "Tarmidhes Hosavo"
Monster
Health 60000
Radius 40
Height 110
Speed 26
Mass 0x7FFFFFFF
PainChance 20
Scale 0.15
DropItem "HandGrenadeAmmo" 235 2
DropItem "MineAmmo" 235 2
DropItem "Backpack" 198 1
DropItem "NemesisDemonicEnergy" 250
DropItem "NemesisGreaterDemonicEnergy" 200
DropItem "NemesisAmmoSphere" 256 1
DropItem "NemesisTimeFreezeSphere" 256 1
DropItem "VexedNemesisTerminatorArmor" 180 1
DropItem "Tarmidhes Plasmatic Cannon" 180 1
DropItem "RuneOfTheNemesisHorde" 64 1
DropItem "NemesisPowerShard" 50 1
DamageFactor 0.45
DamageFactor "PDTBFG", 0.20
DamageFactor "PDTBFGTracer", 0.20
DamageFactor "PlayerDeTRMHBall", 0.120
DamageFactor "PlayerDeTRMHBall2", 0.120
DamageFactor "PlayerDTBFGRailgunSlug", 0.120
DamageFactor "PlayerDeTRMHTracer", 0.120
DamageFactor "Legendary", 0.0
DamageFactor "LegendaryPlayer", 0.0
DamageFactor "LegendaryGuru", 0.0
DamageFactor "LegendaryGuruPlayer", 0.3
DamageFactor "LACGrenade", 0.0
DamageFactor "LegendaryZombie", 0.0
DamageFactor "GeneralTracer", 0.0
DamageFactor "DBFG10K2", 0.65
DamageFactor "PlayerDBFG10K2", 0.65
DamageFactor "DBFG2", 0.65
DamageFactor "PlayerDBFG2", 0.65
DamageFactor "PlayerDTRG", 0.5
SeeSound "tlcyb/demand"
AttackSound "Null"
PainSound "Arcradimus/Pain"
DeathSound "legsoul/explode2"
ActiveSound "TrueLegBaby/Act"
AttackSound "Null"
Tag "\c[g8]Tarmidhes Hosavo\c-"
Obituary "%o was turned into a b***don by Tarmidhes Hosavo."
+NOTIMEFREEZE
+BOSS
+BOSSDEATH
+FLOORCLIP
+MISSILEMORE
+MISSILEEVENMORE
+QUICKTORETALIATE
+NOICEDEATH
+NODROPOFF
+DONTGIB
+NOTARGET
+NORADIUSDMG
+FORCERADIUSDMG
+NOFEAR
+NOBLOOD
var int user_music;
var int user_missile;
var int user_protection;
var int user_protected;
States
{
  Spawn:
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
    TRMH A 10 Bright A_Look
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 10 Bright A_Look
    Loop
  See:
    TNT1 A 0 A_JumpIf(user_music == 1,3)
	TNT1 A 0 ACS_NamedExecuteAlways("StartMonsterMusic",0,2016)
	TNT1 A 0 A_SetUserVar("user_music",1)
    TRMH AAAA 3 Bright A_Chase
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
    TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH AAAA 3 Bright A_Chase
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 0 A_Jump(80,"Rush")
    TRMH A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
    Loop
  Rush:
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("TarmidhesHosavoGhost",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	TRMH A 1 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("TarmidhesHosavoGhost",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	TRMH A 1 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("TarmidhesHosavoGhost",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	TRMH A 1 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("TarmidhesHosavoGhost",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	TRMH A 1 Bright A_Chase
    TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("TarmidhesHosavoGhost",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	TRMH A 1 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("TarmidhesHosavoGhost",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	TRMH A 1 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("TarmidhesHosavoGhost",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	TRMH A 1 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("TarmidhesHosavoGhost",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	TRMH A 1 Bright A_Chase
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_Jump(84,"See")
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	Loop	
  Missile:
    TNT1 A 0 A_SetShootable
    TNT1 A 0 A_UnsetInvulnerable
    TNT1 A 0 A_SetTranslucent(1)
    TNT1 A 0 A_Jump(88,"TarmidhesKiBlastBeam","BEAMBEAMBEAM","ChargerLegProj")
  TarmidhesKiBlastBeam:
    TNT1 A 0 A_SetUserVar(user_missile,0)
	TNT1 A 0 A_PlaySound("tlcyb/laugh2", CHAN_AUTO, 1.0, False, ATTN_NONE)
	TRMH A 30 Bright A_FaceTarget
	TNT1 A 0 A_SetInvulnerable
	TNT1 A 0 A_ChangeFlag("NOPAIN",1)
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
  KiBlastBeamLoop:
	TNT1 A 0 A_FaceTarget
	TRMH A 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_JumpIf(user_missile >= 46,2)
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	Loop
	TRMH A 4 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("ultimate/fire", CHAN_AUTO, 1.0, False, ATTN_NONE)
	TNT1 A 0 A_FaceTarget
	TRMH EEEEEEEEEEEEEEEE 4 Bright A_CustomMissile("TrueLegendaryLaserBeam",105,0,0,0)
	TNT1 A 0 A_FaceTarget
	TNT1 A 0 A_SetShootable
	TNT1 A 0 A_UnsetInvulnerable
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	TRMH E 10 Bright A_FaceTarget
	TRMH A 90 Bright A_FaceTarget
	TRMH A 20 Bright A_FaceTarget
	TNT1 A 0 A_Jump(77,"ChargerLegProj","BEAMBEAMBEAM")
	Goto See
  BEAMBEAMBEAM:
    //TNT1 A 0 A_Changeflag(reflective,1)
	TNT1 A 0 A_SetReflective
    TNT1 A 0 A_PlaySound("weapons/rgcharge")
    TRMH EE 4 Bright A_FaceTarget
	TRMH A 8 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("lrball3/shot")
    TRMH E 9 Bright A_CustomMissile("TrueLegendaryCyberRail",58,-26,Random(-2,4))
    TRMH A 5 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("lrball3/shot")
    TRMH E 9 Bright A_CustomMissile("LegCyberBlueStar",58,-26,Random(-2,4))
    TRMH A 5 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("lrball3/shot")
	TRMH E 7 Bright A_CustomMissile("TrueLegendaryCyberRail",58,-26,Random(-2,4))
	TRMH A 3 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("lrball3/shot")
    TRMH E 5 Bright A_CustomMissile("TLegCyberBFG9500Ball",58,-26,Random(-2,4))
	TRMH A 4 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("lrball3/shot")
    TRMH E 4 Bright A_CustomMissile("LegCyberBlueStar",58,-26,Random(-2,4))
	TRMH A 4 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("lrball3/shot")
    TRMH E 4 Bright A_CustomMissile("TrueLegendaryCyberRail",58,-26,Random(-2,4))
	TRMH A 4 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("lrball3/shot")
    TRMH E 4 Bright A_CustomMissile("LegCyberBlueStar",58,-26,Random(-2,4))
	TRMH A 4 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("lrball3/shot")
    TRMH E 4 Bright A_CustomMissile("TrueLegendaryCyberRail",58,-26,Random(-2,4))
	TRMH A 3 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("lrball3/shot")
    TRMH E 3 Bright A_CustomMissile("TLegCyberBFG9500Ball",58,-26,Random(-2,4))
	TRMH A 3 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("lrball3/shot")
    TRMH E 3 Bright A_CustomMissile("TrueLegendaryCyberRail",58,-26,Random(-2,4))
	TRMH A 3 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("lrball3/shot")
    TRMH E 3 Bright A_CustomMissile("LegCyberBlueStar",58,-26,Random(-2,4))
	TRMH A 3 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("lrball3/shot")
    TRMH E 3 Bright A_CustomMissile("TLegendaryCyberBFG15KBall",58,-26,Random(-2,4))
	TRMH A 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("lrball3/shot")
    TRMH E 2 Bright A_CustomMissile("TrueLegendaryCyberRail",58,-26,Random(-2,4))
	TRMH A 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("lrball3/shot")
	TRMH E 2 Bright A_CustomMissile("LegCyberBlueStar",58,-26,Random(-2,4))
	TRMH A 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("lrball3/shot")
    TRMH E 2 Bright A_CustomMissile("TLegCyberBFG9500Ball",58,-26,Random(-2,4))
    TRMH A 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("lrball3/shot")
    TRMH E 2 Bright A_CustomMissile("TLegendaryCyberBFG15KBall",58,-26,Random(-2,4))
	TRMH A 1 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("lrball3/shot")
    TRMH E 1 Bright A_CustomMissile("TrueLegendaryCyberRail",58,-26,Random(-2,4))
	TRMH A 1 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("lrball3/shot")
    TRMH E 1 Bright A_CustomMissile("LegCyberBlueStar",58,-26,Random(-2,4))
	TRMH A 1 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("lrball3/shot")
    TRMH E 1 Bright A_CustomMissile("TrueLegendaryCyberRail",58,-26,Random(-2,4))
	//TNT1 A 0 A_Changeflag(reflective,0)
	TNT1 A 0 A_UnSetReflective
	TNT1 A 0 A_Jump(66,"BEAMBEAMBEAM")
	Goto See
  ChargerLegProj:
    TNT1 A 0 A_SetTranslucent(1)
	TRMH AAAA 5 Bright A_PlaySound("tlcyb/laugh3", CHAN_AUTO, 1.0, False, ATTN_NONE)
    //TRMH A 0 A_ChangeFlag (INVULNERABLE, 1)
	TNT1 A 0 A_SetInvulnerable
	TNT1 A 0 A_ChangeFlag("NOPAIN",1)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
    TRMH A 5 BRIGHT A_SpawnItemEx("TarmidhesFinalAttack", 0, 0, 300)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
    TRMH A 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
    TRMH E 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
    TRMH E 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
    TRMH E 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH E 5 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
    TRMH E 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
    TRMH E 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
    TRMH A 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TRMH E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
    TRMH E 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
    TRMH A 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TRMH E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
    TRMH E 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
    TRMH A 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TRMH E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
    TRMH E 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
    TRMH A 25 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
    TRMH A 2 Bright A_PlaySound ("pcannon/explode")
    //TRMH A 1 Bright A_ChangeFlag (INVULNERABLE, 0)
	TNT1 A 0 A_unSetInvulnerable
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
    TRMH AEEE 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
    TRMH A 5 Bright A_CustomMissile ("TarmidhesHosavoFinalBall", 100, 0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TRMH A 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
    Goto see
  Death:
    TNT1 A 0 A_StopSound(6)
	TRMH HHHHHHHIIIIIIJJJJJJJKKKKKKKLLLLLLMMMMNNNNOOOPPPPQQQRRRRSSSSTTTTUUUVVVWW 3 Bright   
	TNT1 A 0 A_SpawnItem("LegendaryNuke",0,0,0,0)	
	TNT1 A 0 A_SpawnItem("LegendaryNuke2",0,0,0,0)	
	TNT1 A 0 A_SpawnItem("nuke",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("SignetOfNecromancy",0,0,8,random(0,8),random(0,8),2,random(0,360),0,100)
    TRMH T 3 A_XScream
    TRMH U 3 A_Fall
	TNT1 A 0 A_BossDeath
    TRMH TRMH 3 
    TRMH W -1 
	Stop
  }
}

ACTOR TarmidhesHosavoGhost
{
Scale 1.1
Radius 20
Height 56
Speed 0
Alpha 0.7
PROJECTILE
RENDERSTYLE Translucent
+CLIENTSIDEONLY
+NOTIMEFREEZE
States
{
Spawn:
    TNT1 A 0
    TNT1 A 0 A_JumpIf(ACS_ExecuteWithResult(304) == 1, "Toaster")
Fade:
    TNT1 A 1
    TRMH A 2 A_FadeOut(0.10)
    Goto Fade+1
Toaster:
    TNT1 A 0
    Stop
    }
}

actor TarmidhesFinalAttack
{
  obituary "%o was annihilated."
  radius 0
  height 0
  speed 0
  damage 0
  renderstyle Add
  scale 0.75
  alpha 0.25
  PROJECTILE
  +NOTIMEFREEZE
  states
  {
  Spawn:
    BBAL AAAA 8 bright A_SpawnItemEx("LegendaryUltraBombFluxShockwave",0,0,0,10,0,0,0,0,0)
    goto Death
  Death:
    BBAL A 4 A_SpawnItemEx("TarmidhesFinalAttack2")
    stop
  }
}

actor TarmidhesFinalAttack2
{
  obituary "%o was annihilated."
  radius 0
  height 0
  speed 0
  damage 0
  renderstyle Add
  scale 1.25
  alpha 0.35
  PROJECTILE
  +NOTIMEFREEZE
  states
  {
  Spawn:
    BBAL AAAA 9 bright A_SpawnItemEx("LegendaryUltraBombFluxShockwave",0,0,0,10,0,0,0,0,0)
    goto Death
  Death:
    BBAL A 4 A_SpawnItemEx("TarmidhesFinalAttack3",0,0,0)
    stop
  }
}

actor TarmidhesFinalAttack3
{
  obituary "%o was annihilated."
  radius 0
  height 0
  speed 0
  damage 0
  renderstyle Add
  scale 1.75
  alpha 0.45
  PROJECTILE
  +NOTIMEFREEZE
  states
  {
  Spawn:
    BBAL AAAA 9 bright A_SpawnItemEx("LegendaryUltraBombFluxShockwave",0,0,0,10,0,0,0,0,0)
    goto Death
  Death:
    BBAL A 4 A_SpawnItemEx("TarmidhesFinalAttack4") 
    stop
  }
}

actor TarmidhesFinalAttack4
{
  obituary "%o was annihilated."
  radius 0
  height 0
  speed 0
  damage 0
  renderstyle Add
  scale 2.25
  alpha 0.55
  PROJECTILE
  +NOTIMEFREEZE
  states
  {
  Spawn:
    BBAL AAAA 9 bright A_SpawnItemEx("LegendaryUltraBombFluxShockwave",0,0,0,10,0,0,0,0,0)
    goto Death
  Death:
    BBAL A 4 A_SpawnItemEx("TarmidhesFinalAttack5") 
    stop
  }
}

actor TarmidhesFinalAttack5
{
  obituary "%o was annihilated."
  radius 0
  height 0
  speed 0
  damage 0
  renderstyle Add
  scale 2.75
  alpha 0.65
  PROJECTILE
  +NOTIMEFREEZE
  states
  {
  Spawn:
    BBAL AAAA 10 bright A_SpawnItemEx("LegendaryUltraBombFluxShockwave",0,0,0,10,0,0,0,0,0)
    goto Death
  Death:
    BBAL A 4 A_SpawnItemEx("TarmidhesFinalAttack6") 
    stop
  }
}

actor TarmidhesFinalAttack6
{
  obituary "%o was annihilated."
  radius 0
  height 0
  speed 0
  damage 0
  renderstyle Add
  scale 3.25
  alpha 0.75
  deathsound "Gateway/Hell"
  PROJECTILE
  DamageType "Legendary"
  +NOTIMEFREEZE
  states
  {
  Spawn:
    BBAL AAAA 11 bright A_SpawnItemEx("LegendaryUltraBombFluxShockwave",0,0,0,10,0,0,0,0,0)
    goto Death
  Death:
    BBAL A 4 A_SpawnItemEx("TarmidhesFinalAttack7")
    stop
  }
}

actor TarmidhesFinalAttack7
{
  obituary "%o was annihilated."
  radius 0
  height 0
  speed 0
  damage 0
  renderstyle Add
  scale 4.00
  alpha 0.85
  deathsound "Gateway/Hell"
  PROJECTILE
  DamageType "Legendary"
  +NOTIMEFREEZE
  states
  {
  Spawn:
    BBAL AAAA 11 bright A_SpawnItemEx("LegendaryUltraBombFluxShockwave",0,0,0,10,0,0,0,0,0)
    goto Death
  Death:
    BBAL A 4 A_SpawnItemEx("TarmidhesFinalAttack8") 
    stop
  }
}

actor TarmidhesFinalAttack8
{
  obituary "%o was annihilated."
  radius 0
  height 0
  speed 0
  damage 0
  renderstyle Add
  scale 4.75
  alpha 0.95
  deathsound "Gateway/Hell"
  PROJECTILE
  DamageType "Legendary"
  +NOTIMEFREEZE
  states
  {
  Spawn:
    BBAL AAAA 12 bright A_SpawnItemEx("LegendaryUltraBombFluxShockwave",0,0,0,10,0,0,0,0,0)
    goto Death
  Death:
    BBAL A 4 A_SpawnItemEx("TarmidhesFinalAttack9")
    stop
  }
}

actor TarmidhesFinalAttack9
{
  obituary "%o was annihilated."
  radius 0
  height 0
  speed 0
  damage 0
  renderstyle Add
  scale 5.50
  alpha 0.95
  deathsound "Gateway/Hell"
  PROJECTILE
  DamageType "Legendary"
  +NOTIMEFREEZE
  states
  {
  Spawn:
    BBAL AAAA 12 bright A_SpawnItemEx("LegendaryUltraBombFluxShockwave",0,0,0,10,0,0,0,0,0)
    goto Death
  Death:
    BBAL A 4 A_SpawnItemEx("TarmidhesFinalAttack10")
    stop
  }
}

actor TarmidhesFinalAttack10
{
  obituary "%o was annihilated."
  radius 0
  height 0
  speed 0
  damage 0
  renderstyle Add
  scale 5.50
  Alpha 1.0
  deathsound "Gateway/Hell"
  PROJECTILE
  DamageType "Legendary"
  +NOTIMEFREEZE
  states
  {
  Spawn:
    BBAL B 10 BRIGHT A_SpawnItemEx("LegendaryUltraBombFluxShockwave",0,0,0,10,0,0,0,0,0)
    BBAL AAAAAAAAAAAAAAAA 8 bright
    goto Death
  Death:
    BBAL B 4 BRIGHT
    stop
  }
}

ACTOR TarmidhesHosavoFinalBall
{
  radius 100
  height 100
  Speed 15
  DamageType "UltimateLegendary"
  Damage 10000000
  Projectile
  RenderStyle Add
  +FORCERADIUSDMG
  +SKYEXPLODE
  +FOILINVUL
  +EXTREMEDEATH
  +RIPPER
  +BLOODLESSIMPACT
  //+DONTBLAST
  -RANDOMIZE
  +NOTIMEFREEZE
  Scale 5.50
  Alpha 1.0
  MissileType "ArcLesserProjectileTrail"
  SeeSound "Arcradimus/BFGFire"
  States
  {
  Spawn:
    // Gold
	TNT1 A 0
	TNT1 A 0 A_Explode(600,192,0,1)
	TNT1 A 0 A_SpawnItemEx("LegCardiBombTrail",5,0,0,0,0,0,0,0,0)
    TNT1 A 0 A_Jump(224, 2)
	TNT1 A 0 A_SpawnItemEx("LegendaryUltraBombFluxShockwave",0,0,0,10,0,0,0,0,0)
    TNT1 A 0 A_Jump(16, 2)
    TNT1 A 0 A_SpawnItemEx("ArcBallLightningBolt4",Random(6,-6),Random(6,-6),Random(16,8),0,0,0,0,128)
    TNT1 A 0 A_SpawnItemEx("LCABFGTrailParticleGold",Random(-12,12),Random(-12,12),Random(12,22),Random(-2,2),Random(-2,2),Random(-2,2),Random(-20,20),128)
	BBAL D 1 Bright
    TNT1 A 0 A_SpawnItemEx("LCABFGTrailParticleGold",Random(-12,12),Random(-12,12),Random(12,22),Random(-2,2),Random(-2,2),Random(-2,2),Random(-20,20),128)
	BBAL D 1 Bright
    // Blue
	//TNT1 A 0 A_PlaySound("Weapons/GuruFly",5,1.0,1)
	TNT1 A 0 A_Explode(600,192,0,1)
	TNT1 A 0 A_SpawnItemEx("LegCardiBombTrail",5,0,0,0,0,0,0,0,0)
    TNT1 A 0 A_Jump(224, 2)
	TNT1 A 0 A_SpawnItemEx("LegendaryUltraBombFluxShockwave",0,0,0,10,0,0,0,0,0)
    TNT1 A 0 A_Jump(16, 2)
    TNT1 A 0 A_SpawnItemEx("ArcBallLightningBolt4",Random(6,-6),Random(6,-6),Random(16,8),0,0,0,0,128)
    TNT1 A 0 A_SpawnItemEx("LCABFGTrailParticleBlue",Random(-12,12),Random(-12,12),Random(12,22),Random(-2,2),Random(-2,2),Random(-2,2),Random(-20,20),128)
	BBAL B 1 Bright
    TNT1 A 0 A_SpawnItemEx("LCABFGTrailParticleBlue",Random(-12,12),Random(-12,12),Random(12,22),Random(-2,2),Random(-2,2),Random(-2,2),Random(-20,20),128)
	BBAL B 1 Bright
    // Gold
	//TNT1 A 0 A_PlaySound("Weapons/GuruFly",5,1.0,1)
	TNT1 A 0 A_Explode(600,192,0,1)
	TNT1 A 0 A_SpawnItemEx("LegCardiBombTrail",5,0,0,0,0,0,0,0,0)
    TNT1 A 0 A_Jump(224, 2)
	TNT1 A 0 A_SpawnItemEx("LegendaryUltraBombFluxShockwave",0,0,0,10,0,0,0,0,0)
    TNT1 A 0 A_Jump(16, 2)
    TNT1 A 0 A_SpawnItemEx("ArcBallLightningBolt4",Random(6,-6),Random(6,-6),Random(16,8),0,0,0,0,128)
    TNT1 A 0 A_SpawnItemEx("LCABFGTrailParticleGold",Random(-12,12),Random(-12,12),Random(12,22),Random(-2,2),Random(-2,2),Random(-2,2),Random(-20,20),128)
	BBAL D 1 Bright
    TNT1 A 0 A_SpawnItemEx("LCABFGTrailParticleGold",Random(-12,12),Random(-12,12),Random(12,22),Random(-2,2),Random(-2,2),Random(-2,2),Random(-20,20),128)
	BBAL D 1 Bright
     // Blue
	//TNT1 A 0 A_PlaySound("Weapons/GuruFly",5,1.0,1)
	TNT1 A 0 A_Explode(600,192,0,1)
	TNT1 A 0 A_SpawnItemEx("LegCardiBombTrail",5,0,0,0,0,0,0,0,0)
    TNT1 A 0 A_Jump(224, 2)
	TNT1 A 0 A_SpawnItemEx("LegendaryUltraBombFluxShockwave",0,0,0,10,0,0,0,0,0)
    TNT1 A 0 A_Jump(16, 2)
    TNT1 A 0 A_SpawnItemEx("ArcBallLightningBolt4",Random(6,-6),Random(6,-6),Random(16,8),0,0,0,0,128)
    TNT1 A 0 A_SpawnItemEx("LCABFGTrailParticleBlue",Random(-12,12),Random(-12,12),Random(12,22),Random(-2,2),Random(-2,2),Random(-2,2),Random(-20,20),128)
	BBAL B 1 Bright
    TNT1 A 0 A_SpawnItemEx("LCABFGTrailParticleBlue",Random(-12,12),Random(-12,12),Random(12,22),Random(-2,2),Random(-2,2),Random(-2,2),Random(-20,20),128)
	BBAL B 1 Bright
    // Gold
	//TNT1 A 0 A_PlaySound("Weapons/GuruFly",5,1.0,1)
	TNT1 A 0 A_Explode(600,192,0,1)
	TNT1 A 0 A_SpawnItemEx("LegCardiBombTrail",5,0,0,0,0,0,0,0,0)
    TNT1 A 0 A_Jump(224, 2)
	TNT1 A 0 A_SpawnItemEx("LegendaryUltraBombFluxShockwave",0,0,0,10,0,0,0,0,0)
    TNT1 A 0 A_Jump(16, 2)
    TNT1 A 0 A_SpawnItemEx("ArcBallLightningBolt4",Random(6,-6),Random(6,-6),Random(16,8),0,0,0,0,128)
    TNT1 A 0 A_SpawnItemEx("LCABFGTrailParticleGold",Random(-12,12),Random(-12,12),Random(12,22),Random(-2,2),Random(-2,2),Random(-2,2),Random(-20,20),128)
	BBAL D 1 Bright
    TNT1 A 0 A_SpawnItemEx("LCABFGTrailParticleGold",Random(-12,12),Random(-12,12),Random(12,22),Random(-2,2),Random(-2,2),Random(-2,2),Random(-20,20),128)
	BBAL D 1 Bright
	Loop
  Death:
	TNT1 A 0
	TNT1 A 0 A_StopSound(5)
	TNT1 A 0 A_SpawnItem("LegendaryNuke")
	TNT1 A 0 A_Explode(10000000,1000,0,1)
	TNT1 A 0 A_BFGSpray("ArcSpray",15,20)
	TNT1 A 0 A_SpawnItemEx("ArcStruckGlowX",0,0,10,0,0,0,0,128,0)
	TNT1 A 0 A_SpawnItemEx("ArcStruckGlowY",0,0,10,0,0,0,0,128,0)
	Stop
  }
}