ACTOR EnragedLegendaryGeneralRoasterock : LegendaryGeneralRoasterock
{
//Creator: Dr. Sticky
//Origin: Nexus Infinity
//Sprite: ELRR
//Title: "Enraged Legendary General Roasterock"  
Health 5500
Mass 450
Speed 15
PainChance 8
MinMissileChance 80
BloodColor "Red"
DamageFactor "PlayerFireSword", 0.8
DamageFactor "Ice", 0.0
DamageFactor "FreezerBurn", 0.0
DamageFactor "SoapOpera", 0.0 
DamageFactor "ZombieDev", 0.0
DamageFactor "RST", 0.0
DamageFactor 0.5
DamageFactor "BFGSplash", 0.15
DamageFactor "BFGSpray", 0.15
DamageFactor "Explosion", 0.60
DamageFactor "Bullet", 0.3
DamageFactor "ZombieDemonTech", 0.0
DamageFactor "ZombieRocket", 0.0
DamageFactor "Railg", 0.5
DamageFactor "BFG10K", 0.40
DamageFactor "LACGrenade", 0.0
DamageFactor "LegendaryZombie", 0.0
DamageFactor "GeneralTracer", 0.0
DamageFactor "PDTBFG", 0.01
DamageFactor "PDTBFGTracer", 0.01
DamageFactor "Legendary", 0.0
DamageFactor "LegendaryGuru", 0.0
DamageFactor "LegendaryGuruPlayer", 0.3
DamageFactor "LegendaryPlayer", 0.0 //0.3
DamageFactor "PlayerDevBall", 0.005
DamageFactor "PlayerDevBall2", 0.005
DamageFactor "PlayerDTBFGRailgunSlug", 0.005
DamageFactor "PlayerDevTracer", 0.005
DamageFactor "PlayerDTRG", 0.3
DamageFactor "DBFG10K2", 0.65
DamageFactor "PlayerDBFG10K2", 0.65
DamageFactor "DBFG2", 0.65
DamageFactor "PlayerDBFG2", 0.65
DamageFactor "PyroShot", 0.0
DamageFactor "PlayerPyro", 0.0
DamageFactor "PDTPuff", 0.0
//if infight
DamageFactor "Cyber10K", 0.0
DamageFactor "CerChainguns", 0.0	
DamageFactor "CerEnergyBall", 0.0
DamageFactor "DemolisherEx", 0.0
DamageFactor "DarkDemoEx", 0.0
DamageFactor "Legendary1", 0.0 // Leg Imp
DamageFactor "VileFires", 0.0
DamageFactor "NobleComet", 0.0
DamageFactor "BeheComet", 0.0
DropItem "EnragedLegendaryRune", 55, 1
DropItem "LegendaryRune", 45, 1
DropItem "Legendary Demon Tech Devastator", 150, 1
DropItem "Enraged Legendary Plasmatic Cannon" 180, 1
DropItem "ReforcedEnragedLegendaryArmor" 140, 1
DropItem "LegAmmoSphere" 100, 1
DropItem "LegendaryPowerSphere" 90, 1
DropItem "Demon Tech BFG10K", 96, 1
DropItem "Backpack", 190, 1
DropItem "AmpGoggles", 190, 1
DropItem "SkullOfPower", 72, 1
DropItem "DemonicChalice", 72, 1
DropItem "SuperChargedWeaponEnhancerModuleGiver" 256
Tag "\c[m6]Enraged\c- \c[z3]Legendary General Roasterock\c-"
Obituary "%o let \cI Enraged Legendary General Roasterock \c-get %h."
States
{
  Spawn:
	TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner",0,0,0,0)
    ELRR A 10 A_look
	TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner",0,0,0,0)
	ELRR "Z" 10 A_look
	TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner",0,0,0,0)
	Loop
  See:
	TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner",0,0,0,0)
    TNT1 A 0 A_JumpIf(user_music == 1,3)
	TNT1 A 0 ACS_NamedExecuteAlways("StartMonsterMusic",0,2098)
	TNT1 A 0 A_SetUserVar("user_music",1)
	TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("RoasterStep",0,0,0,0)
	ELRR AABB 1 A_Chase
	TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("RoasterStep",0,0,0,0)
	ELRR CCDD 1 A_Chase
	ELRR AABB 1 A_Chase
	TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("RoasterStep",0,0,0,0)
	ELRR CCDD 1 A_Chase
	ELRR AABB 1 A_Chase
	TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("RoasterStep",0,0,0,0)
	ELRR CCDD 1 A_Chase
	Loop
  Idle:
	TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner",0,0,0,0)
	ELRR A 0 A_LookEx(0,0,2048,2048,100)
	TNT1 A 0 A_SpawnItem("RoasterStepQuiet",0,0,0,0)
	ELRR AAAABBBB 2 A_Wander
	TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner",0,0,0,0)
	ELRR A 0 A_LookEx(0,0,2048,2048,100)
	TNT1 A 0 A_SpawnItem("RoasterStepQuiet",0,0,0,0)
	ELRR CCCCDDDD 2 A_Wander
	Loop
  Strafing:
	TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner",0,0,0,0)
	ELRR A 0 A_SpawnItem("RoasterStep",0,0,0,0)
	TNT1 A 0 A_Chase("","Missile",CHF_DONTMOVE)
	ELRR AABB 3 A_GiveInventory("CommandoStrafing",1)
	TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner",0,0,0,0)
	ELRR C 0 A_SpawnItem("RoasterStep",0,0,0,0)
	TNT1 A 0 A_Chase("","Missile",CHF_DONTMOVE)
    ELRR CCDD 3 A_GiveInventory("CommandoStrafing",1)
	Goto See	
  Sprint:
	TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("RoasterStep",0,0,0,0)
	ELRR AAAABBBB 1 A_Chase
	TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("RoasterStep",0,0,0,0)
	ELRR CCCCDDDD 1 A_Chase
	TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("RoasterStep",0,0,0,0)
	ELRR AAAABBBB 1 A_Chase
	TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("RoasterStep",0,0,0,0)
	ELRR CCCCDDDD 1 A_Chase
	TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("RoasterStep",0,0,0,0)
	ELRR AAAABBBB 1 A_Chase
	TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("RoasterStep",0,0,0,0)
	ELRR CCCCDDDD 1 A_Chase
	TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("RoasterStep",0,0,0,0)
	ELRR AAAABBBB 1 A_Chase
	TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("RoasterStep",0,0,0,0)
	ELRR CCCCDDDD 1 A_Chase
	TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("RoasterStep",0,0,0,0)
	ELRR AAAABBBB 1 A_Chase
	TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("RoasterStep",0,0,0,0)
	ELRR CCCCDDDD 1 A_Chase
	TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("RoasterStep",0,0,0,0)
	ELRR AAAABBBB 1 A_Chase
	TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("RoasterStep",0,0,0,0)
	ELRR CCCCDDDD 1 A_Chase
	TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner",0,0,0,0)
	Goto See
	Pause:
	TNT1 A 0 A_PlaySoundEx("roaster/stop","SoundSlot6")
	ELRR G 10
	Goto See
  Missile:
    TNT1 A 0 A_Jump(10,"MegaAttack")
    TNT1 A 0 A_Jump(30,"PyroCannon","MLGRocket2")
	TNT1 A 0 A_Jump(150,"Cannon","Chaingun","LegMissile","ShoulderMissile","DTBFG10K","Devastator","FireBalls","EDTBFG10KBall","EBFG9500Ball","MLGRocket")
  Cannon:
	ELRR E 10 A_FaceTarget
	ELRR E 5 A_FaceTarget
	ELRR E 0 A_GiveInventory("CommandoStrafing",1)
	ELRR F 4 Bright A_CustomMissile("EnragedHomingRocket",28,10,Random(4, -4))
	ELRR E 5 A_FaceTarget
	ELRR E 0 A_GiveInventory("CommandoStrafing",1)
	ELRR F 4 Bright A_CustomMissile("EnragedHomingRocket",28,10,Random(4, -4))
	ELRR E 5 A_FaceTarget
	ELRR E 0 A_GiveInventory("CommandoStrafing",1)
	ELRR F 4 Bright A_CustomMissile("EnragedHomingRocket",28,10,Random(4, -4))
	ELRR E 5 A_FaceTarget
	ELRR E 0 A_GiveInventory("CommandoStrafing",1)
	ELRR F 4 Bright A_CustomMissile("EnragedHomingRocket",28,10,Random(4, -4))
	ELRR E 5 A_FaceTarget
	ELRR E 0 A_GiveInventory("CommandoStrafing",1)
	ELRR F 4 Bright A_CustomMissile("EnragedHomingRocket",28,10,Random(4, -4))
	ELRR E 5 A_FaceTarget
	ELRR E 0 A_GiveInventory("CommandoStrafing",1)
	ELRR F 4 Bright A_CustomMissile("EnragedHomingRocket",28,10,Random(4, -4))
	ELRR E 5 A_FaceTarget
	ELRR E 0 A_GiveInventory("CommandoStrafing",1)
	ELRR F 4 Bright A_CustomMissile("EnragedHomingRocket",28,10,Random(4, -4))
	ELRR E 5 A_FaceTarget
	ELRR E 0 A_GiveInventory("CommandoStrafing",1)
	ELRR F 4 Bright A_CustomMissile("EnragedHomingRocket",28,10,Random(4, -4))
	ELRR E 5 A_FaceTarget
	ELRR E 0 A_GiveInventory("CommandoStrafing",1)
	ELRR F 4 Bright A_CustomMissile("EnragedHomingRocket",28,10,Random(4, -4))
	TNT1 A 0 A_Jump(150,"Cannon","Chaingun","LegMissile","ShoulderMissile","DTBFG10K","Devastator","FireBalls","EDTBFG10KBall","MLGRocket","EBFG9500Ball","MegaAttack","PyroCannon","MLGRocket2")
	Goto See
  MLGRocket:
	TNT1 A 0 A_ChangeFlag("NOPAIN",1)
	ELRR G 0 A_JumpIf(ceilingz-floorz<=100,"DTBFG10K")
	ELRR E 10 A_FaceTarget
	ELRR E 5 A_FaceTarget
	ELRR F 4 Bright A_CustomMissile("RSTRocketJump",-10,10,0)
	ELRR E 0 A_GiveInventory("CommandoStrafing",1)
	NULL A 0 ThrustThingZ(0,70,0,1)
	ELRR F 0 A_PlaySound ("Cardinal/9k")
	ELRR EEEEE 2 Bright A_FaceTarget
	ELRR FF 2 Bright A_FaceTarget
	ELRR F 2 Bright A_CustomMissile("EnragedCyberDevastatorBall")
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	TNT1 A 0 A_Jump(150,"Cannon","Chaingun","LegMissile","ShoulderMissile","DTBFG10K","Devastator","FireBalls","EDTBFG10KBall","MLGRocket","EBFG9500Ball","MegaAttack","PyroCannon","MLGRocket2")
	Goto See
  MLGRocket2:
	TNT1 A 0 A_ChangeFlag("NOPAIN",1)
	ELRR G 0 A_JumpIf(ceilingz-floorz<=100,"Devastator")
	ELRR E 10 A_FaceTarget
	ELRR E 5 A_FaceTarget
	ELRR F 4 Bright A_CustomMissile("RSTRocketJump",-10,10,0)
	ELRR E 0 A_GiveInventory("CommandoStrafing",1)
	NULL A 0 ThrustThingZ(0,70,0,1)
	ELRR F 0 A_PlaySound ("devastator/fire")
	ELRR EEEEE 2 Bright A_FaceTarget
	ELRR FF 2 Bright A_FaceTarget
	ELRR F 2 Bright A_CustomMissile("EnragedCyberDevastatorBall")
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	TNT1 A 0 A_Jump(150,"Cannon","Chaingun","LegMissile","ShoulderMissile","DTBFG10K","Devastator","FireBalls","EDTBFG10KBall","MLGRocket","EBFG9500Ball","MegaAttack","PyroCannon","MLGRocket2")
	Goto See
  DTBFG10K:
    ELRR F 0 A_PlaySound ("Cardinal/9k")
	ELRR E 0 A_GiveInventory("CommandoStrafing",1)
	TNT1 A 0 A_ChangeFlag("NOPAIN",1)
	ELRR E 0 A_GiveInventory("CommandoStrafing",1)
	ELRR EE 2 Bright A_FaceTarget
	ELRR E 0 A_GiveInventory("CommandoStrafing",1)
	ELRR EEEE 2 Bright A_FaceTarget
	ELRR E 0 A_GiveInventory("CommandoStrafing",1)
	ELRR EEE 2 Bright A_FaceTarget
	ELRR E 0 A_GiveInventory("CommandoStrafing",1)
	ELRR E 2 Bright A_FaceTarget
	ELRR FF 2 Bright A_FaceTarget
	ELRR E 0 A_GiveInventory("CommandoStrafing",1)
	ELRR FFFF 2 Bright A_FaceTarget
	ELRR E 0 A_GiveInventory("CommandoStrafing",1)
	ELRR F 2 Bright A_CustomMissile("EnragedCyberDevastatorBall")
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	TNT1 A 0 A_Jump(150,"Cannon","Chaingun","LegMissile","ShoulderMissile","DTBFG10K","Devastator","FireBalls","EDTBFG10KBall","MLGRocket","EBFG9500Ball","MegaAttack","PyroCannon","MLGRocket2")
	ELRR E 35
    goto See
  Devastator:
    ELRR E 0 A_FaceTarget
    ELRR E 0 A_PlaySound ("devastator/charge")
	TNT1 A 0 A_ChangeFlag("NOPAIN",1)
	TNT1 A 0 A_SetUserVar("user_missile", 0)
  DevCharge:
    TNT1 A 0 A_JumpIf(user_missile > 20,"Charged")
	TNT1 A 0 A_SetUserVar("user_missile",user_missile+1)
    ELRR E 2 Bright A_FaceTarget
    Loop
  Charged:
	ELRR F 2 Bright A_Facetarget
	ELRR F 2 Bright A_Facetarget
    ELRR F 0 A_PlaySound ("devastator/fire")
    ELRR F 10 Bright A_CustomMissile("EnragedCyberGuruBall")
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	TNT1 A 0 A_Jump(150,"Cannon","Chaingun","LegMissile","ShoulderMissile","DTBFG10K","Devastator","FireBalls","EDTBFG10KBall","MLGRocket","EBFG9500Ball","MegaAttack","PyroCannon","MLGRocket2")
    ELRR E 35
    goto See
  Chaingun:
    TNT1 A 0 A_ChangeFlag("NOPAIN",1)
	ELRR E 0 A_PlaySoundEx("roaster/start","SoundSlot6")
	ELRR GGGGGGGGGG 3 A_FaceTarget
	ELRR E 0 A_PlaySoundEx("roaster/loop","SoundSlot6",true)
	Goto ChainLoop
  ChainLoop:
    ELRR G 0 A_JumpIfInventory("RoasterChainTimer",40,"ChainEnd")
	TNT1 A 0 A_CustomMissile("LegendaryRedTracer",Random(30,34),-10,Random(5,-5),0)
	TNT1 A 0 A_SpawnItemEx("ELegRifleCasing", 12, 6, 36, Random(2, 6), 0, Random(1, 3), Random(80, 90), 128)
	ELRR H 0 A_CustomBulletAttack(5.5, 5.5, 1, random(4,8)*3, "RSTBulletPuff", 0, CBAF_NORANDOM)
    ELRR H 1 Bright
	TNT1 A 0 A_CustomMissile("LegendaryRedTracer",Random(30,34),-10,Random(5,-5),0)
	TNT1 A 0 A_SpawnItemEx("ELegRifleCasing", 12, 6, 36, Random(2, 6), 0, Random(1, 3), Random(80, 90), 128)
	ELRR H 0 A_CustomBulletAttack(5.5, 5.5, 1, random(4,8)*3, "RSTBulletPuff", 0, CBAF_NORANDOM)
    ELRR H 1 Bright
	ELRR G 1 A_GiveInventory("RoasterChainTimer",1)
	TNT1 A 0 A_StopSoundEx("Roaster")
    ELRR G 0 A_MonsterRefire(10, "ChainEnd")
    Loop
  ChainEnd:
    TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	ELRR E 0 A_PlaySoundEx("roaster/stop","SoundSlot6")
	ELRR G 0 A_TakeInventory("RoasterChainTimer",40)
	TNT1 A 0 A_Jump(150,"Cannon","Chaingun","LegMissile","ShoulderMissile","DTBFG10K","Devastator","FireBalls","EDTBFG10KBall","MLGRocket","EBFG9500Ball","MegaAttack","PyroCannon","MLGRocket2")
	ELRR G 10
	Goto See
  LegMissile:
	ELRR E 0 A_PlaySoundEx("roaster/prep","SoundSlot6")
	ELRR IIIIIIIIII 3 A_FaceTarget
	ELRR J 0 A_PlayWeaponSound("lrball3/shot")
    ELRR J 5 Bright A_CustomMissile("ELegDoomguyCannonBomb2",12,-10)
	ELRR I 3 A_FaceTarget
	ELRR J 0 A_PlayWeaponSound("lrball3/shot")
    ELRR J 5 Bright A_CustomMissile("ELegDoomguyCannonBall",12,-10)
	ELRR I 3 A_FaceTarget
	ELRR J 0 A_PlayWeaponSound("lrball3/shot")
    ELRR J 5 Bright A_CustomMissile("ELegDoomguyCannonBomb2",12,-10)
	TNT1 A 0 A_Jump(150,"Cannon","Chaingun","LegMissile","ShoulderMissile","DTBFG10K","Devastator","FireBalls","EDTBFG10KBall","MLGRocket","EBFG9500Ball","MegaAttack","PyroCannon","MLGRocket2")
	ELRR I 14
    Goto See
  ShoulderMissile:
	ELRR E 0 A_PlaySoundEx("roaster/prep","SoundSlot6")
	ELRR IIIIIIIIII 3 A_FaceTarget
	ELRR J 0 A_PlaySound("roaster/shoulder", CHAN_WEAPON)
    ELRR K 2 bright A_CustomMissile("ELegRevRailgunProj",62,20)
	ELRR I 3 A_FaceTarget
	ELRR J 0 A_PlaySound("roaster/shoulder", CHAN_WEAPON)
    ELRR K 2 bright A_CustomMissile("ELegRevRailgunProj",62,20)
	ELRR I 3 A_FaceTarget
	ELRR J 0 A_PlaySound("roaster/shoulder", CHAN_WEAPON)
    ELRR K 2 bright A_CustomMissile("ELegRevRailgunProj",62,20)
	ELRR I 3 A_FaceTarget
	ELRR J 0 A_PlaySound("roaster/shoulder", CHAN_WEAPON)
    ELRR K 2 bright A_CustomMissile("ELegRevRailgunProj",62,20)
	TNT1 A 0 A_Jump(150,"Cannon","Chaingun","LegMissile","ShoulderMissile","DTBFG10K","Devastator","FireBalls","EDTBFG10KBall","MLGRocket","EBFG9500Ball","MegaAttack","PyroCannon","MLGRocket2")
	ELRR I 14
    Goto See
  MegaAttack:
	ELRR L 0 A_PlaySound("roaster/pain")
	ELRR LLLLLL 4 A_FaceTarget
	ELRR J 0 A_PlaySound("roaster/javelin", CHAN_WEAPON)
	ELRR J 0 A_PlaySoundEx("roaster/leg", "SoundSlot6")
	ELRR J 0 A_PlaySoundEx("roaster/shoulder", "SoundSlot5")
	ELRR L 0 A_CustomMissile("ELegRevRailgunProj",62,20)
	ELRR L 0 A_CustomMissile("ELegDoomguyCannonBomb2",12,-10)
	ELRR L 0 A_CustomMissile("ELegDoomguyCannonBomb2",12,-10)
	ELRR L 0 A_CustomMissile("EnragedCardinalDTBFG10KBall",28,10)
	ELRR L 0 A_CustomMissile("LegendaryRSTPyroShot",28,10)
	ELRR L 0 A_CustomMissile("LegendaryRSTPyroShot",28,10)
    ELRR M 2 bright
	TNT1 A 0 A_Jump(150,"Cannon","Chaingun","LegMissile","ShoulderMissile","DTBFG10K","Devastator","FireBalls","EDTBFG10KBall","MLGRocket","EBFG9500Ball","MegaAttack","PyroCannon","MLGRocket2")
	ELRR L 14
    Goto See
  FireBalls:
	ELRR E 20 A_FaceTarget
	ELRR E 5 A_FaceTarget
	ELRR E 0 A_GiveInventory("CommandoStrafing",1)
	ELRR F 4 Bright A_CustomMissile("LegCommandoRedStar",28,10,Random(4, -4))
	ELRR E 5 A_FaceTarget
	ELRR F 4 Bright A_CustomMissile("LegCommandoRedStar",28,10,Random(4, -4))
	ELRR E 5 A_FaceTarget
	ELRR E 0 A_GiveInventory("CommandoStrafing",1)
	ELRR F 4 Bright A_CustomMissile("LegCommandoRedStar",28,10,Random(4, -4))
	ELRR E 5 A_FaceTarget
	ELRR E 0 A_GiveInventory("CommandoStrafing",1)
	ELRR F 4 Bright A_CustomMissile("LegCommandoRedStar",28,10,Random(4, -4))
	ELRR E 5 A_FaceTarget
	ELRR E 0 A_GiveInventory("CommandoStrafing",1)
	ELRR F 4 Bright A_CustomMissile("LegCommandoRedStar",28,10,Random(4, -4))
	ELRR E 5 A_FaceTarget
	ELRR F 4 Bright A_CustomMissile("LegCommandoRedStar",28,10,Random(4, -4))
	ELRR E 5 A_FaceTarget
	ELRR E 0 A_GiveInventory("CommandoStrafing",1)
	ELRR F 4 Bright A_CustomMissile("LegCommandoRedStar",28,10,Random(4, -4))
	TNT1 A 0 A_Jump(150,"Cannon","Chaingun","LegMissile","ShoulderMissile","DTBFG10K","Devastator","FireBalls","EDTBFG10KBall","MLGRocket","EBFG9500Ball","MegaAttack","PyroCannon","MLGRocket2")
	Goto See
  EDTBFG10KBall:
	TNT1 A 0 A_PlaySound("MreimuBall/Cast")
	ELRR E 5 A_FaceTarget
	ELRR E 0 A_GiveInventory("CommandoStrafing",1)
	ELRR F 4 Bright A_CustomMissile("EnragedCardinalDTBFG10KBall",28,10,Random(4,-4))
	ELRR E 5 A_FaceTarget
	ELRR F 4 Bright A_CustomMissile("EnragedCardinalDTBFG10KBall",28,10,Random(4,-4))
	ELRR E 5 A_FaceTarget
	ELRR F 4 Bright A_CustomMissile("EnragedCardinalDTBFG10KBall",28,10,Random(4,-4))
	ELRR E 5 A_FaceTarget
	ELRR E 0 A_GiveInventory("CommandoStrafing",1)
	TNT1 A 0 A_Jump(150,"Cannon","Chaingun","LegMissile","ShoulderMissile","DTBFG10K","Devastator","FireBalls","EDTBFG10KBall","MLGRocket","EBFG9500Ball","MegaAttack","PyroCannon","MLGRocket2")
	Goto See
   PyroCannon:
    ELRR L 0 A_PlaySound("roaster/See7")
	TNT1 A 0 A_ChangeFlag("NOPAIN",1)
	ELRR E 5 A_FaceTarget
	ELRR E 5 A_FaceTarget
	ELRR E 5 A_FaceTarget
	ELRR E 5 A_FaceTarget 
	TNT1 A 0 A_PlaySound("weapons/PCNNF")
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
    ELRR F 4 Bright A_CustomMissile("LegendaryRSTPyroShot",28,10, 0)
	TNT1 A 0 A_PlaySound("weapons/dtech10ksteam")
	ELRR EEE 20 Bright A_SpawnItemEx("EnragedHellionSmokeSpawner",28,10,0)
	TNT1 A 0 A_Jump(150,"Cannon","Chaingun","LegMissile","ShoulderMissile","DTBFG10K","Devastator","FireBalls","EDTBFG10KBall","MLGRocket","EBFG9500Ball","MegaAttack","PyroCannon","MLGRocket2")
    Goto See
  EBFG9500Ball:
	ELRR E 10 A_FaceTarget
	ELRR E 5 A_FaceTarget
	ELRR E 0 A_GiveInventory("CommandoStrafing",1)
	ELRR F 4 Bright A_CustomMissile("ELegCyberBFG9500Ball",28,10,Random(4,-4))
	ELRR E 5 A_FaceTarget
	ELRR E 0 A_GiveInventory("CommandoStrafing",1)
	ELRR F 4 Bright A_CustomMissile("ELegCyberBFG9500Ball",28,10,Random(4,-4))
	ELRR E 5 A_FaceTarget
	ELRR E 0 A_GiveInventory("CommandoStrafing",1)
	ELRR F 4 Bright A_CustomMissile("ELegCyberBFG9500Ball",28,10,Random(4,-4))
	ELRR E 5 A_FaceTarget
	ELRR E 0 A_GiveInventory("CommandoStrafing",1)
	ELRR F 4 Bright A_CustomMissile("ELegCyberBFG9500Ball",28,10,Random(4,-4))
	ELRR E 5 A_FaceTarget
	ELRR E 0 A_GiveInventory("CommandoStrafing",1)
	ELRR F 4 Bright A_CustomMissile("ELegCyberBFG9500Ball",28,10,Random(4,-4))
	TNT1 A 0 A_Jump(150,"Cannon","Chaingun","LegMissile","ShoulderMissile","DTBFG10K","Devastator","FireBalls","EDTBFG10KBall","EBFG9500Ball","MLGRocket","MegaAttack","PyroCannon","MLGRocket2")
	Goto See
  Dodge:
	ELRR A 1 A_FaceTarget
	ELRR E 0 ThrustThingZ(0, 20, 0, 0)
	ELRR A 0 A_Jump(256, "DodgeRight", "DodgeLeft")
  DodgeLeft:
	ELRR E 0 ThrustThing(angle*256/360+192, 15, 0, 0)
	Goto Sprint
  DodgeRight:
	ELRR E 0 ThrustThing(angle*256/360+64, 15, 0, 0)
	Goto Sprint
  Pain:
    TNT1 A 0 A_Jump(100,"PainMissile")
    ELRR N 5 A_Pain
    Goto See
  PainMissile:
    ELRR N 5 A_Pain
    Goto Missile
  Pain.PlayerDBFG10K2:
    TNT1 A 0 A_Jump(256,"Dodge")
	Goto See
  Pain.DBFG10K2:
    TNT1 A 0 A_Jump(256,"Dodge")
	Goto See
  Pain.DBFG:
    TNT1 A 0 A_Jump(256,"Dodge")
	Goto See
  Pain.PlayerDBFG:
    TNT1 A 0 A_Jump(256,"Dodge")
	Goto See
  Pain.DBFG2:
    TNT1 A 0 A_Jump(256,"Dodge")
	Goto See
  Pain.PlayerDBFG210K:
    TNT1 A 0 A_Jump(256,"Dodge")
	Goto See
  Pain.DBFG210K:
    TNT1 A 0 A_Jump(256,"Dodge")
	Goto See
  Pain.DBFG2Splash:
    TNT1 A 0 A_Jump(256,"Dodge")
	Goto See
  Death:
    TNT1 A 0
	ELRR A 0 A_NoBlocking
    ELRR A 0 A_Scream
	ELRR OPQRSTU 6 A_SpawnItemEx("EnragedGibbedGenerator",0,0,0,0,0,0,0,128,0)
	TNT1 A 0 A_SpawnItemEx("Jetpack",0,0,64,random(1,8),0,2,random(0,360),0,200)
	TNT1 A 0 A_SpawnItemEx("ArmorRegenerator",0,0,64,random(1,8),0,2,random(0,360),0,250)
	ELRR E 0 A_PlaySoundEx("roaster/stop","SoundSlot6")
	TNT1 A 0 A_SpawnItem("EnragedDeathBallMedium",0,0,0,0)
	ELRR U -1
    Stop
  }
}