ACTOR ZamasuGeneralRoasterock : NemesisGeneralRoasterock
{
//Creator: Eshkere_Jason
//Origin: Divine Infinity
//Sprite: ZGRS
//Title: "Zamasu General Roasterock"
Health 16000
radius 20
height 56
Speed 23
DamageFactor 0.4
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
DamageFactor "PlayerNemesisPlasma", 0.0
DamageFactor "Explosion", 0.2 //0.4
DamageFactor "PlayerDTRG", 0.5
DamageFactor "DTRailgun", 0.5
DamageFactor "Player",0.1
DamageFactor "Legendary",0.0
DamageFactor "SuperWeapon", 0.75
DamageFactor "LegendaryPlayer", 0.0
DamageFactor "LegendaryGuruPlayer", 0.0
DamageFactor "PlayerDevBall", 0.65
DamageFactor "PlayerDevTracer", 0.15
DamageFactor "PowerDoubleDamage", 0.35
DamageFactor "PlayerBHole", 0.025
DamageFactor "PlayerDBFG", 0.015
DamageFactor "PlayerDBFG2", 0.015
DamageFactor "BFG10K", 0.65
DamageFactor "BFG9500Ball", 0.1
DamageFactor "CustomSpray", 0.1
DamageFactor "BFGSplash", 0.5
DamageFactor "BFGSpray", 0.1
DamageFactor "PDTBFG", 0.5
DamageFactor "PDTBFGTracer", 0.5
DamageFactor "PlayerDTBFGRailgunSlug", 0.5
DamageFactor "PDTPuff", 0.5
DamageFactor "SatanGuard", 0.0
DamageFactor "Moloch", 0.0
DamageFactor "ZombieDev", 0.0
DamageFactor "Terminator", 0.0
DamageFactor "Legendary1", 0.0
DamageFactor "LegendaryGuru", 0.0
DamageFactor "UltimateLegendary", 0.0
DamageFactor "Cybers", 0.0
DamageFactor "Hell", 0.0
DamageFactor "Commander", 0.0
DamageFactor "NobleComet", 0.0
DamageFactor "Baby15K", 0.0
DamageFactor "Cyber10K", 0.0
DamageFactor "DemolisherEx", 0.0
DamageFactor "DarkDemoEx", 0.0
DamageFactor "CerChainguns", 0.0
DamageFactor "CerEnergyBall", 0.0
DamageFactor "HellComet", 0.0
DamageFactor "HFCyber", 0.0
DamageFactor "DBFG2", 0.1
DamageFactor "DBFG10K2", 0.1
DamageFactor "DBFGSplash2", 0.1
DamageFactor "LegMind", 0.0
DropItem "Nemesis BFG", 256
DropItem "Demon Tech BFG10K", 96, 1
DropItem "NemesisRuneSpawnerTier4", 256, 1
DropItem "NemesisRuneSpawnerTier4", 256, 1
DropItem "Nemesis Plasmatic Cannon", 200, 1
DropItem "NemesisSuperSphere" 215
DropItem "NemesisHealthBonusMax", 256, 64
DropItem "NemesisArmorBonus64", 256
DropItem "NemesisHealthBonusMax", 256, 64
DropItem "NemesisArmorBonus64", 256
DropItem "NemesisHealthBonusMax", 256, 64
DropItem "NemesisArmorBonus64", 256
DropItem "NemesisHealthBonusMax", 256, 64
DropItem "NemesisArmorBonus64", 256
DropItem "LegendaryRune" 70 1
DropItem "Backpack", 190, 1
DropItem "Backpack", 190, 1
DropItem "AmpGoggles", 190, 1
DropItem "SkullOfPower", 72, 1
DropItem "SkullOfPower", 72, 1
DropItem "DemonicChalice", 72, 1
DropItem "DemonicChalice", 72, 1
SeeSound "roaster/sight"
PainSound "roaster/pain"
DeathSound "roaster/death"
ActiveSound "roaster/idle"
AttackSound "roaster/fire"
Tag "\c[s5]Zamasu General Roasterock\c-"
var int user_missile;
var int user_10K2;
var int user_painspam;
var int user_traps;
var int user_drone;
Obituary "%o let \cI Zamasu General Roasterock \c-get %h."
States
{
  Spawn:
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
    ZGRS A 10 A_look
  See:
    TNT1 A 0 A_JumpIf(user_music == 1,3)
	TNT1 A 0 ACS_NamedExecuteAlways("InfinityMusic",0,1794,915)
	TNT1 A 0 A_SetUserVar("user_music",1)
	ZGRS AABB 1 A_Chase
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("RoasterStep",0,0,0,0)
	ZGRS CCDD 1 A_Chase
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("RoasterStep",0,0,0,0)
	Loop
  Idle:
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	ZGRS A 0 A_LookEx(0,0,2048,2048,100)
	TNT1 A 0 A_SpawnItem("RoasterStepQuiet",0,0,0,0)
	ZGRS AAAABBBB 2 A_Wander
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	ZGRS A 0 A_LookEx(0,0,2048,2048,100)
	TNT1 A 0 A_SpawnItem("RoasterStepQuiet",0,0,0,0)
	ZGRS CCCCDDDD 2 A_Wander
	Loop
  Strafing:
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	ZGRS A 0 A_SpawnItem("RoasterStep",0,0,0,0)
	TNT1 A 0 A_Chase("","Missile",CHF_DONTMOVE)
	ZGRS AABB 3 A_GiveInventory("CommandoStrafing",1)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	ZGRS C 0 A_SpawnItem("RoasterStep",0,0,0,0)
	TNT1 A 0 A_Chase("","Missile",CHF_DONTMOVE)
    ZGRS CCDD 3 A_GiveInventory("CommandoStrafing",1)
	Goto See	
  Sprint:
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("RoasterStep",0,0,0,0)
	ZGRS AAAABBBB 1 A_Chase
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("RoasterStep",0,0,0,0)
	ZGRS CCCCDDDD 1 A_Chase
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("RoasterStep",0,0,0,0)
	ZGRS AAAABBBB 1 A_Chase
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("RoasterStep",0,0,0,0)
	ZGRS CCCCDDDD 1 A_Chase
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("RoasterStep",0,0,0,0)
	ZGRS AAAABBBB 1 A_Chase
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("RoasterStep",0,0,0,0)
	ZGRS CCCCDDDD 1 A_Chase
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("RoasterStep",0,0,0,0)
	ZGRS AAAABBBB 1 A_Chase
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("RoasterStep",0,0,0,0)
	ZGRS CCCCDDDD 1 A_Chase
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("RoasterStep",0,0,0,0)
	ZGRS AAAABBBB 1 A_Chase
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("RoasterStep",0,0,0,0)
	ZGRS CCCCDDDD 1 A_Chase
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("RoasterStep",0,0,0,0)
	ZGRS AAAABBBB 1 A_Chase
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("RoasterStep",0,0,0,0)
	ZGRS CCCCDDDD 1 A_Chase
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	Goto See
  Pause:
	TNT1 A 0 A_PlaySoundEx("roaster/stop","SoundSlot6")
	ZGRS G 10
	Goto See
  Missile:
    TNT1 A 0 A_Jump(10,"MegaAttack","Rage")
	TNT1 A 0 A_Jump(20,"MLGRocket3","MLGRocket4")
    TNT1 A 0 A_Jump(30,"BFG9K","MLGRocket2")
	TNT1 A 0 A_Jump(40,"Vexed10kAttack","Trap","Drone")
	TNT1 A 0 A_Jump(150,"Cannon","Chaingun","LegMissile","ShoulderMissile","DTBFG10K","Devastator","FireBalls","EDTBFG10KBall","EBFG9500Ball","MLGRocket")
  Cannon:
	ZGRS E 10 A_FaceTarget
	ZGRS E 5 A_FaceTarget
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	ZGRS F 4 Bright A_CustomMissile("NemesisCyberHomingRocket",28,10,Random(4, -4))
	ZGRS E 5 A_FaceTarget
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	ZGRS F 4 Bright A_CustomMissile("NemesisCyberHomingRocket",28,10,Random(4, -4))
	ZGRS E 5 A_FaceTarget
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	ZGRS F 4 Bright A_CustomMissile("NemesisCyberHomingRocket",28,10,Random(4, -4))
	ZGRS E 5 A_FaceTarget
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	ZGRS F 4 Bright A_CustomMissile("NemesisCyberHomingRocket",28,10,Random(4, -4))
	ZGRS E 5 A_FaceTarget
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	ZGRS F 4 Bright A_CustomMissile("NemesisCyberHomingRocket",28,10,Random(4, -4))
	ZGRS E 5 A_FaceTarget
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	ZGRS F 4 Bright A_CustomMissile("NemesisCyberHomingRocket",28,10,Random(4, -4))
	ZGRS E 5 A_FaceTarget
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	ZGRS F 4 Bright A_CustomMissile("NemesisCyberHomingRocket",28,10,Random(4, -4))
	ZGRS E 5 A_FaceTarget
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	ZGRS F 4 Bright A_CustomMissile("NemesisCyberHomingRocket",28,10,Random(4, -4))
	ZGRS E 5 A_FaceTarget
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	ZGRS F 4 Bright A_CustomMissile("NemesisCyberHomingRocket",28,10,Random(4, -4))
	ZGRS E 5 A_FaceTarget
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	ZGRS F 4 Bright A_CustomMissile("NemesisCyberHomingRocket",28,10,Random(4, -4))
	ZGRS E 5 A_FaceTarget
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	ZGRS F 4 Bright A_CustomMissile("NemesisCyberHomingRocket",28,10,Random(4, -4))
	ZGRS E 5 A_FaceTarget
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	ZGRS F 4 Bright A_CustomMissile("NemesisCyberHomingRocket",28,10,Random(4, -4))
	ZGRS E 5 A_FaceTarget
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	ZGRS F 4 Bright A_CustomMissile("NemesisCyberHomingRocket",28,10,Random(4, -4))
	ZGRS E 5 A_FaceTarget
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	ZGRS F 4 Bright A_CustomMissile("NemesisCyberHomingRocket",28,10,Random(4, -4))
	ZGRS E 5 A_FaceTarget
	TNT1 A 0 A_Jump(150,"Cannon","Chaingun","LegMissile","ShoulderMissile","DTBFG10K","Devastator","FireBalls","EDTBFG10KBall","MLGRocket","EBFG9500Ball","MegaAttack","BFG9K","MLGRocket2","MLGRocket3","MLGRocket4")
	Goto See
  MLGRocket:
	TNT1 A 0 A_ChangeFlag("NOPAIN",1)
	ZGRS G 0 A_JumpIf(ceilingz-floorz<=100,"DTBFG10K")
	ZGRS E 10 A_FaceTarget
	ZGRS E 5 A_FaceTarget
	ZGRS F 4 Bright A_CustomMissile("RSTRocketJump",-10,10,0)
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	TNT1 A 0 ThrustThingZ(0,35,0,0)
    TNT1 A 0 ThrustThing(angle*256/360,random(30,40))
	ZGRS F 0 A_PlaySound ("Cardinal/9k")
	ZGRS EEEEE 2 Bright A_FaceTarget
	ZGRS FF 2 Bright A_FaceTarget
	ZGRS F 2 Bright A_CustomMissile("VexedGeneralRDevastatorBall")
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	TNT1 A 0 A_Jump(150,"Cannon","Chaingun","LegMissile","ShoulderMissile","DTBFG10K","Devastator","FireBalls","EDTBFG10KBall","MLGRocket","EBFG9500Ball","MegaAttack","BFG9K","MLGRocket2","MLGRocket3","MLGRocket4")
	Goto See
  MLGRocket2:
	TNT1 A 0 A_ChangeFlag("NOPAIN",1)
	ZGRS G 0 A_JumpIf(ceilingz-floorz<=100,"Devastator")
	ZGRS E 10 A_FaceTarget
	ZGRS E 5 A_FaceTarget
	ZGRS F 4 Bright A_CustomMissile("RSTRocketJump",-10,10,0)
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	TNT1 A 0 ThrustThingZ(0,35,0,0)
    TNT1 A 0 ThrustThing(angle*256/360,random(30,40))
	ZGRS F 0 A_PlaySound ("devastator/fire")
	ZGRS EEEEE 2 Bright A_FaceTarget
	ZGRS FF 2 Bright A_FaceTarget
	ZGRS F 2 Bright A_CustomMissile("VexedGeneralRDevastatorBall")
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	TNT1 A 0 A_Jump(150,"Cannon","Chaingun","LegMissile","ShoulderMissile","DTBFG10K","Devastator","FireBalls","EDTBFG10KBall","MLGRocket","EBFG9500Ball","MegaAttack","BFG9K","MLGRocket2","MLGRocket3","MLGRocket4")
	Goto See
  MLGRocket3:
	TNT1 A 0 A_ChangeFlag("NOPAIN",1)
	ZGRS G 0 A_JumpIf(ceilingz-floorz<=100,"Devastator")
	ZGRS E 10 A_FaceTarget
	ZGRS E 5 A_FaceTarget
	ZGRS F 4 Bright A_CustomMissile("RSTRocketJump",-10,10,0)
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	TNT1 A 0 ThrustThingZ(0,35,0,0)
    TNT1 A 0 ThrustThing(angle*256/360,random(30,40))
	ZGRS F 0 A_PlaySound ("devastator/fire")
	ZGRS EEEEE 2 Bright A_FaceTarget
	ZGRS FF 2 Bright A_FaceTarget
	ZGRS F 2 Bright A_CustomMissile("VexedGeneralRDevastatorBall")
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	TNT1 A 0 A_Jump(150,"Cannon","Chaingun","LegMissile","ShoulderMissile","DTBFG10K","Devastator","FireBalls","EDTBFG10KBall","MLGRocket","EBFG9500Ball","MegaAttack","BFG9K","MLGRocket2","MLGRocket3","MLGRocket4")
	Goto See
  MLGRocket4:
	TNT1 A 0 A_ChangeFlag("NOPAIN",1)
	ZGRS G 0 A_JumpIf(ceilingz-floorz<=100,"Devastator")
	ZGRS E 10 A_FaceTarget
	ZGRS E 5 A_FaceTarget
	ZGRS F 4 Bright A_CustomMissile("RSTRocketJump",-10,10,0)
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	TNT1 A 0 ThrustThingZ(0,35,0,0)
    TNT1 A 0 ThrustThing(angle*256/360,random(30,40))
	ZGRS F 0 A_PlaySound ("devastator/fire")
	ZGRS EEEEE 2 Bright A_FaceTarget
	ZGRS FF 2 Bright A_FaceTarget
	ZGRS F 2 Bright A_CustomMissile("VexedGeneralRDevastatorBall")
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	TNT1 A 0 A_Jump(150,"Cannon","Chaingun","LegMissile","ShoulderMissile","DTBFG10K","Devastator","FireBalls","EDTBFG10KBall","MLGRocket","EBFG9500Ball","MegaAttack","BFG9K","MLGRocket2","MLGRocket3","MLGRocket4")
	Goto See
  DTBFG10K:
    ZGRS F 0 A_PlaySound ("NemesisBFG/Fire")
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	TNT1 A 0 A_ChangeFlag("NOPAIN",1)
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	ZGRS EE 2 Bright A_FaceTarget
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	ZGRS EE 2 Bright A_FaceTarget
	ZGRS F 2 Bright A_CustomMissile("NemesisGuruBall")
	ZGRS F 0 A_PlaySound ("NemesisBFG/Fire")
	ZGRS EE 2 Bright A_FaceTarget
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	ZGRS EEE 2 Bright A_FaceTarget
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	ZGRS E 2 Bright A_FaceTarget
	ZGRS FF 2 Bright A_FaceTarget
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	ZGRS FFFF 2 Bright A_FaceTarget
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	ZGRS F 2 Bright A_CustomMissile("NemesisGuruBall")
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	TNT1 A 0 A_Jump(150,"Cannon","Chaingun","LegMissile","ShoulderMissile","DTBFG10K","Devastator","FireBalls","EDTBFG10KBall","MLGRocket","EBFG9500Ball","MegaAttack","BFG9K","MLGRocket2","MLGRocket3","MLGRocket4")
	ZGRS E 35
    goto See
  Devastator:
    ZGRS E 0 A_FaceTarget
    ZGRS 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)
    ZGRS E 2 Bright A_FaceTarget
    Loop
  Charged:
	ZGRS FF 2 Bright A_Facetarget
    ZGRS F 0 A_PlaySound ("devastator/fire")
    ZGRS F 10 Bright A_CustomMissile("NemImpDevastatorBall")
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	TNT1 A 0 A_Jump(150,"Cannon","Chaingun","LegMissile","ShoulderMissile","DTBFG10K","Devastator","FireBalls","EDTBFG10KBall","MLGRocket","EBFG9500Ball","MegaAttack","BFG9K","MLGRocket2","MLGRocket3","MLGRocket4")
    ZGRS E 35
    goto See
  Chaingun:
    TNT1 A 0 A_ChangeFlag("NOPAIN",1)
	ZGRS E 0 A_PlaySoundEx("roaster/start","SoundSlot6")
	ZGRS GGGGGGGGGG 3 A_FaceTarget
	ZGRS E 0 A_PlaySoundEx("roaster/loop","SoundSlot6",true)
	Goto ChainLoop
  ChainLoop:
    ZGRS G 0 A_JumpIfInventory("RoasterChainTimer",40,"ChainEnd")
	ZGRS E 0 A_PlayWeaponSound("NemesisCannon/Mode2")
	TNT1 A 0 A_CustomMissile("NemesisZombieCannonLaser",Random(30,34),-10,Random(5,-5),0)
    ZGRS H 1 Bright
	ZGRS E 0 A_PlayWeaponSound("NemesisCannon/Mode2")
	TNT1 A 0 A_CustomMissile("NemesisZombieCannonLaser",Random(30,34),-10,Random(5,-5),0)
    ZGRS H 1 Bright
	ZGRS G 1 A_GiveInventory("RoasterChainTimer",1)
	TNT1 A 0 A_StopSoundEx("Roaster")
    ZGRS G 0 A_MonsterRefire(10, "ChainEnd")
    Loop
  ChainEnd:
    TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	ZGRS E 0 A_PlaySoundEx("roaster/stop","SoundSlot6")
	ZGRS G 0 A_TakeInventory("RoasterChainTimer",40)
	TNT1 A 0 A_Jump(150,"Cannon","Chaingun","LegMissile","ShoulderMissile","DTBFG10K","Devastator","FireBalls","EDTBFG10KBall","MLGRocket","EBFG9500Ball","MegaAttack","BFG9K","MLGRocket2","MLGRocket3","MLGRocket4")
	ZGRS G 10
	Goto See
  LegMissile:
	ZGRS E 0 A_PlaySoundEx("roaster/prep","SoundSlot6")
	ZGRS IIIIIIIIII 3 A_FaceTarget
	ZGRS J 0 A_PlayWeaponSound("NemesisCannon/BigLaser")
    ZGRS J 5 Bright A_CustomMissile("NemesisZombieCannonIonBeam",12,-10)
	ZGRS I 3 A_FaceTarget
	ZGRS J 0 A_PlayWeaponSound("NemesisCannon/BigLaser")
    ZGRS J 5 Bright A_CustomMissile("NemesisZombieCannonIonBeam",12,-10)
	ZGRS I 3 A_FaceTarget
	ZGRS J 0 A_PlayWeaponSound("NemesisCannon/BigLaser")
    ZGRS J 5 Bright A_CustomMissile("NemesisZombieCannonIonBeam",12,-10)
	ZGRS I 3 A_FaceTarget
	ZGRS J 0 A_PlayWeaponSound("NemesisCannon/BigLaser")
    ZGRS J 5 Bright A_CustomMissile("NemesisZombieCannonIonBeam",12,-10)
	ZGRS I 3 A_FaceTarget
	ZGRS J 0 A_PlayWeaponSound("NemesisCannon/BigLaser")
    ZGRS J 5 Bright A_CustomMissile("NemesisZombieCannonIonBeam",12,-10)
	ZGRS I 3 A_FaceTarget
	ZGRS J 0 A_PlayWeaponSound("NemesisCannon/BigLaser")
    ZGRS J 5 Bright A_CustomMissile("NemesisZombieCannonIonBeam",12,-10)
	ZGRS I 3 A_FaceTarget
	ZGRS J 0 A_PlayWeaponSound("NemesisCannon/BigLaser")
    ZGRS J 5 Bright A_CustomMissile("NemesisZombieCannonIonBeam",12,-10)
	ZGRS I 3 A_FaceTarget
	TNT1 A 0 A_Jump(150,"Cannon","Chaingun","LegMissile","ShoulderMissile","DTBFG10K","Devastator","FireBalls","EDTBFG10KBall","MLGRocket","EBFG9500Ball","MegaAttack","BFG9K","MLGRocket2","MLGRocket3","MLGRocket4")
	ZGRS I 14
    Goto See
  ShoulderMissile:
	ZGRS E 0 A_PlaySoundEx("roaster/prep","SoundSlot6")
	ZGRS IIIIIIIIII 3 A_FaceTarget
	ZGRS J 0 A_PlaySound("LegCannon/Fire", CHAN_WEAPON)
    ZGRS K 2 bright A_CustomMissile("NemDoomSlayerCannonBall",62,20)
	ZGRS I 3 A_FaceTarget
	ZGRS J 0 A_PlaySound("LegCannon/Fire", CHAN_WEAPON)
    ZGRS K 2 bright A_CustomMissile("NemDoomSlayerCannonBall",62,20)
	ZGRS I 3 A_FaceTarget
	ZGRS J 0 A_PlaySound("LegCannon/Fire", CHAN_WEAPON)
    ZGRS K 2 bright A_CustomMissile("NemDoomSlayerCannonBall",62,20)
	ZGRS I 3 A_FaceTarget
	ZGRS J 0 A_PlaySound("LegCannon/Fire", CHAN_WEAPON)
    ZGRS K 2 bright A_CustomMissile("NemDoomSlayerCannonBall",62,20)
	ZGRS I 3 A_FaceTarget
	ZGRS J 0 A_PlaySound("LegCannon/Fire", CHAN_WEAPON)
    ZGRS K 2 bright A_CustomMissile("NemDoomSlayerCannonBall",62,20)
	ZGRS I 3 A_FaceTarget
	ZGRS J 0 A_PlaySound("LegCannon/Fire", CHAN_WEAPON)
    ZGRS K 2 bright A_CustomMissile("NemDoomSlayerCannonBall",62,20)
	ZGRS I 3 A_FaceTarget
	TNT1 A 0 A_Jump(150,"Cannon","Chaingun","LegMissile","ShoulderMissile","DTBFG10K","Devastator","FireBalls","EDTBFG10KBall","MLGRocket","EBFG9500Ball","MegaAttack","BFG9K","MLGRocket2","MLGRocket3","MLGRocket4")
	ZGRS I 14
    Goto See
  MegaAttack:
	ZGRS L 0 A_PlaySound("roaster/pain")
	ZGRS LLLLLL 4 A_FaceTarget
	ZGRS J 0 A_PlaySound("roaster/javelin", CHAN_WEAPON)
	ZGRS J 0 A_PlaySoundEx("roaster/leg", "SoundSlot6")
	ZGRS J 0 A_PlaySoundEx("roaster/shoulder", "SoundSlot5")
	ZGRS L 0 A_CustomMissile("NemesisNobleRailLaser",62,20)
	ZGRS L 0 A_CustomMissile("NemesisZombieCannonIonBeam",12,-10)
	ZGRS L 0 A_CustomMissile("NemesisZombieCannonIonBeam",12,-10)
	ZGRS L 0 A_CustomMissile("MiniNemesisBFGBall",28,10)
	ZGRS L 0 A_CustomMissile("NemesisSentientBFG9500Ball",28,-10)
	ZGRS L 0 A_CustomMissile("NemesisSentientBFG9500Ball",28,10)
	ZGRS F 2 Bright A_CustomMissile("NemesisGuruBall")
    ZGRS M 2 bright
	TNT1 A 0 A_Jump(150,"Cannon","Chaingun","LegMissile","ShoulderMissile","DTBFG10K","Devastator","FireBalls","EDTBFG10KBall","MLGRocket","EBFG9500Ball","MegaAttack","BFG9K","MLGRocket2","MLGRocket3","MLGRocket4")
	ZGRS L 14
    Goto See
  FireBalls:
	ZGRS E 20 A_FaceTarget
	ZGRS E 5 A_FaceTarget
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
	ZGRS F 4 Bright A_CustomMissile("NemesisNobleRailLaser",28,10,Random(4, -4))
	ZGRS E 5 A_FaceTarget
	TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
	ZGRS F 4 Bright A_CustomMissile("NemesisNobleRailLaser",28,10,Random(4, -4))
	ZGRS E 5 A_FaceTarget
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
	ZGRS F 4 Bright A_CustomMissile("NemesisNobleRailLaser",28,10,Random(4, -4))
	ZGRS E 5 A_FaceTarget
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
	ZGRS F 4 Bright A_CustomMissile("NemesisNobleRailLaser",28,10,Random(4, -4))
	ZGRS E 5 A_FaceTarget
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
	ZGRS F 4 Bright A_CustomMissile("NemesisNobleRailLaser",28,10,Random(4, -4))
	ZGRS E 5 A_FaceTarget
	TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
	ZGRS F 4 Bright A_CustomMissile("NemesisNobleRailLaser",28,10,Random(4, -4))
	ZGRS E 5 A_FaceTarget
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
	ZGRS F 4 Bright A_CustomMissile("NemesisNobleRailLaser",28,10,Random(4, -4))
	TNT1 A 0 A_Jump(150,"Cannon","Chaingun","LegMissile","ShoulderMissile","DTBFG10K","Devastator","FireBalls","EDTBFG10KBall","MLGRocket","EBFG9500Ball","MegaAttack","BFG9K","MLGRocket2","MLGRocket3","MLGRocket4")
	Goto See
  EDTBFG10KBall:
	TNT1 A 0 A_PlaySound("MreimuBall/Cast")
	ZGRS E 5 A_FaceTarget
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	ZGRS F 4 Bright A_CustomMissile("MiniNemesisBFGBall",28,10,Random(4,-4))
	ZGRS E 5 A_FaceTarget
	ZGRS F 4 Bright A_CustomMissile("MiniNemesisBFGBall",28,10,Random(4,-4))
	ZGRS E 5 A_FaceTarget
	ZGRS F 4 Bright A_CustomMissile("MiniNemesisBFGBall",28,10,Random(4,-4))
	ZGRS E 5 A_FaceTarget
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	TNT1 A 0 A_Jump(150,"Cannon","Chaingun","LegMissile","ShoulderMissile","DTBFG10K","Devastator","FireBalls","EDTBFG10KBall","MLGRocket","EBFG9500Ball","MegaAttack","BFG9K","MLGRocket2","MLGRocket3","MLGRocket4")
	Goto See
 Vexed10kAttack:
	TNT1 A 0 A_PlaySound("weapons/charge15k")
	ZGRS GGGG 6 A_FaceTarget
  BFG10KLoop:
    TNT1 A 0 A_JumpIf(user_missile >= 24,"BFG10KEnd")
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	ZGRS H 3 A_CustomMissile("Nemesis10kProjectile",Random(30,34),-10,Random(5,-5),0)	
	ZGRS E 3 A_FaceTarget
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
    Loop
  BFG10KEnd:
    TNT1 A 0 A_Jump(128,"BFG10K2","BFG10KPause")
	TNT1 A 0 A_SetUserVar(user_missile,0)
	TNT1 A 0 A_SetUserVar(user_10K2,0)
	TNT1 A 0 A_SetUserVar(user_painspam,0)
    ZGRS E 20 A_PlaySound("weapons/bfg15kcooldown",CHAN_AUTO)
	Goto See
  BFG10KPause:
    TNT1 A 0 A_JumpIf(user_missile >= 117,"BFG10KEnd")
	TNT1 A 0 A_JumpIfTargetInLOS("BFG10K2")
	ZGRS H 4 A_SpawnItem("NemesisHellionSmokeSpawner")
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	Loop
  BFG10K2:
    TNT1 A 0 A_JumpIf(user_10K2 >= 60,"BFG10KEnd")
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	ZGRS H 1 A_CustomMissile("Nemesis10kProjectile",Random(30,34),-10,Random(5,-5),0)	
	ZGRS E 1 A_FaceTarget
	TNT1 A 0 A_SetUserVar(user_10K2,user_10K2+1)
    Loop
   BFG9K:
    ZGRS L 0 A_PlaySound("roaster/See7")
	TNT1 A 0 A_ChangeFlag("NOPAIN",1)
	ZGRS E 5 A_FaceTarget
	ZGRS E 5 A_FaceTarget
	ZGRS E 5 A_FaceTarget
	ZGRS E 5 A_FaceTarget 
	TNT1 A 0 A_PlaySound("weapons/bfgf")
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
    ZGRS F 4 Bright A_CustomMissile("NemesisSentientBFG9500Ball",28,10, -20)
	ZGRS F 4 Bright A_CustomMissile("NemesisSentientBFG9500Ball",28,10, -10)
	ZGRS F 4 Bright A_CustomMissile("NemesisSentientBFG9500Ball",28,10, 0)
	ZGRS F 4 Bright A_CustomMissile("NemesisSentientBFG9500Ball",28,10, 10)
	ZGRS F 4 Bright A_CustomMissile("NemesisSentientBFG9500Ball",28,10, 20)
	ZGRS F 4 Bright A_CustomMissile("NemesisSentientBFG9500Ball",28,10, 30)
	TNT1 A 0 A_PlaySound("weapons/dtech10ksteam")
	ZGRS EEE 20 Bright A_SpawnItemEx("NemesisHellionSmokeSpawner",28,10,0)
	TNT1 A 0 A_Jump(150,"Cannon","Chaingun","LegMissile","ShoulderMissile","DTBFG10K","Devastator","FireBalls","EDTBFG10KBall","MLGRocket","EBFG9500Ball","MegaAttack","BFG9K","MLGRocket2")
    Goto See
  EBFG9500Ball:
	ZGRS E 10 A_FaceTarget
	ZGRS E 5 A_FaceTarget
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	ZGRS F 4 Bright A_CustomMissile("NemesisSentientBFG9500Ball",28,10,Random(4,-4))
	ZGRS E 5 A_FaceTarget
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	ZGRS F 4 Bright A_CustomMissile("NemesisSentientBFG9500Ball",28,10,Random(4,-4))
	ZGRS E 5 A_FaceTarget
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	ZGRS F 4 Bright A_CustomMissile("NemesisSentientBFG9500Ball",28,10,Random(4,-4))
	ZGRS E 5 A_FaceTarget
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	ZGRS F 4 Bright A_CustomMissile("NemesisSentientBFG9500Ball",28,10,Random(4,-4))
	ZGRS E 5 A_FaceTarget
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	ZGRS F 4 Bright A_CustomMissile("NemesisSentientBFG9500Ball",28,10,Random(4,-4))
	ZGRS E 5 A_FaceTarget
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	ZGRS F 4 Bright A_CustomMissile("NemesisSentientBFG9500Ball",28,10,Random(4,-4))
	ZGRS E 5 A_FaceTarget
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	ZGRS F 4 Bright A_CustomMissile("NemesisSentientBFG9500Ball",28,10,Random(4,-4))
	ZGRS E 5 A_FaceTarget
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	ZGRS F 4 Bright A_CustomMissile("NemesisSentientBFG9500Ball",28,10,Random(4,-4))
	ZGRS E 5 A_FaceTarget
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	ZGRS F 4 Bright A_CustomMissile("NemesisSentientBFG9500Ball",28,10,Random(4,-4))
	ZGRS E 5 A_FaceTarget
	ZGRS E 0 A_GiveInventory("CommandoStrafing",1)
	ZGRS F 4 Bright A_CustomMissile("NemesisSentientBFG9500Ball",28,10,Random(4,-4))
	ZGRS E 5 A_FaceTarget
	TNT1 A 0 A_Jump(150,"Cannon","Chaingun","LegMissile","ShoulderMissile","DTBFG10K","Devastator","FireBalls","EDTBFG10KBall","EBFG9500Ball","MLGRocket","MegaAttack","BFG9K","MLGRocket2")
	Goto See
  Rage:
	TNT1 A 0 A_SetTranslucent(1)
	TNT1 A 0 A_PlaySound("roaster/idle",7,1.0,0,ATTN_NONE)
	ZGRS EEEEEEEE 2 Bright A_GiveInventory("CommandoStrafing",1)
	TNT1 A 0 A_SetUserVar("user_missile",0)
  RageLoop:
	TNT1 A 0 A_JumpIf(user_missile >= 20,"See")	 
	TNT1 A 0 A_SetUserVar("user_missile",user_missile+1)
	ZGRS E 1 Bright A_GiveInventory("CommandoStrafing",1)
	TNT1 AA 0 A_GiveInventory("CommandoStrafing",1)
	ZGRS E 0 A_PlaySound("NemesisCannon/Laser",7)
	TNT1 A 0 A_CustomMissile("NemesisZombieCannonLaser",32,0,random(-6,6))
	TNT1 AA 0 A_GiveInventory("CommandoStrafing",1)
	ZGRS E 0 A_PlaySound("NemesisCannon/Laser",7)
	TNT1 A 0 A_CustomMissile("NemesisZombieCannonLaser",32,0,random(-6,6))
	TNT1 AA 0 A_GiveInventory("CommandoStrafing",1)
	ZGRS E 0 A_PlaySound("NemesisCannon/Laser",7)
	TNT1 A 0 A_CustomMissile("NemesisZombieCannonLaser",32,0,random(-6,6))
	TNT1 AA 0 A_GiveInventory("CommandoStrafing",1)
	ZGRS E 0 A_PlaySound("NemesisCannon/Laser",7)
	TNT1 A 0 A_CustomMissile("NemesisZombieCannonLaser",32,0,random(-6,6))
	TNT1 AA 0 A_GiveInventory("CommandoStrafing",1)
	ZGRS E 0 A_PlaySound("NemesisCannon/Laser",7)
	TNT1 A 0 A_CustomMissile("NemesisZombieCannonLaser",32,0,random(-6,6))
	TNT1 AA 0 A_GiveInventory("CommandoStrafing",1)
	ZGRS E 0 A_PlaySound("NemesisCannon/Laser",7)
	TNT1 A 0 A_CustomMissile("NemesisZombieCannonLaser",32,0,random(-6,6))
	TNT1 AA 0 A_GiveInventory("CommandoStrafing",1)
	ZGRS E 0 A_PlaySound("NemesisCannon/Laser",7)
	TNT1 A 0 A_CustomMissile("NemesisZombieCannonLaser",32,0,random(-6,6))
	ZGRS F 0 A_PlaySound ("devastator/fire")
	ZGRS F 2 Bright A_CustomMissile("NemImpDevastatorBall")
	TNT1 A 0 A_Jump(80,"MidRageTeleport")
	Loop
  MidRageTeleport:
	ZGRS E 1 Bright A_UnSetShootable
	TNT1 AAAA 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	ZGRS E 1 Bright A_FadeOut(0.1,0)
	TNT1 AA 0 A_GiveInventory("CommandoStrafing",1)
	ZGRS EEE 1 Bright A_FadeOut(0.3,0)
	ZGRS E 2 Bright
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	ZGRS E 1 Bright A_PlayWeaponSound("boss/teleport")
	TNT1 AAAA 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	ZGRS EEE 1 Bright A_FadeIn(0.3)
	TNT1 AA 0 A_GiveInventory("CommandoStrafing",1)
	ZGRS E 1 Bright A_FadeIn(0.1)
	ZGRS E 1 Bright A_SetShootable
	Goto RageLoop
  Trap:
    TNT1 A 0 A_JumpIf(user_traps >= 3,"Missile")
  	ZGRS C 0 A_SetInvulnerable
	ZGRS C 0 A_PlaySound("roaster/idle")
    ZGRS CCCCCCCCCCCCCCC 2 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner",random(-24,24),random(-24,24),-30)
	TNT1 A 0 A_SetUserVar("user_traps",user_traps+1)
	ZGRS CCCCCCCCCCC 8 A_SpawnItemEx("ELBSTrapMine",0,Random(26,32),Random(6,9),0,0,0,Random(0,359),32)
	ZGRS C 0 A_UnSetInvulnerable
	Goto See	
  Drone:
    TNT1 A 0 A_JumpIf(user_drone >= 1,"Trap")
  	ZGRS C 0 A_SetInvulnerable
	ZGRS C 0 A_PlaySound("roaster/idle")
    ZGRS CCCCCCCCCCCCCCC 2 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner",random(-24,24),random(-24,24),-30)
	TNT1 A 0 A_SetUserVar("user_drone",user_drone+1)
	TNT1 A 0 A_SpawnItemEx("TeleportFog",-30)
	ZGRS C 0 A_SpawnItemEx("ELBSHealEffectsSpawner",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION|SXF_SETMASTER)
	ZGRS C 0 A_SpawnItemEx("ELBSSurveyor",-30,0,0,0,0,0,0,SXF_NOCHECKPOSITION|SXF_SETMASTER)
	ZGRS CCCCCCCCCCCC 2 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner",random(-24,24),random(-24,24),-30)
	ZGRS C 0 A_UnSetInvulnerable
	Goto See	
  Dodge:
	ZGRS A 1 A_FaceTarget
	ZGRS E 0 ThrustThingZ(0, 20, 0, 0)
	ZGRS A 0 A_Jump(256, "DodgeRight", "DodgeLeft")
  DodgeLeft:
	ZGRS E 0 ThrustThing(angle*256/360+192, 15, 0, 0)
	Goto Sprint
  DodgeRight:
	ZGRS E 0 ThrustThing(angle*256/360+64, 15, 0, 0)
	Goto Sprint
  Pain:
    TNT1 A 0 A_Jump(100,"PainMissile")
    ZGRS N 5 A_Pain
    Goto See
  PainMissile:
    ZGRS 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:
	ZGRS A 0 A_NoBlocking
    ZGRS A 0 A_Scream
	ZGRS OPQRST 6 A_SpawnItemEx("NemesisGibbedGenerator",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,150)
	TNT1 A 0 A_SpawnItemEx("ArmorRegenerator",0,0,64,random(1,8),0,2,random(0,360),0,200)
	TNT1 A 0 A_PlaySoundEx("roaster/stop","SoundSlot6")
	TNT1 A 0 A_SpawnItem("NemesisDeathBall",0,0,0,0)
	ZGRS U 100 A_SpawnItemEx("ZamasuBeaconGeneralRoasterock")
	TNT1 A 0 A_JumpIfInTargetInventory("NemesisFragmentToken",1,3)
	TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult("NemesisFragment") == 0,2)
	TNT1 A 0 A_SpawnItemEx("NemesisFragmentSpawner",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION,192)
	ZGRS U -1
    Stop
  }
}

Actor INFZamasuGeneralRoasterock : ZamasuGeneralRoasterock
{
Tag "\c[s5]Zamasu General Roasterock\c-"
States
{
  Spawn:
    TNT1 A 0 A_Jump(160,"Remove")
    TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult("RuneTier3SpawnCheck") == 2,1)
	Goto Remove
  Idle:
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	ZGRS A 10 Bright A_Look
	Loop
  Remove:
	TNT1 A 1
	TNT1 A 0 A_SpawnItemEx("Chaingunner",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION)
	TNT1 A 0 A_ChangeFlag("COUNTKILL", FALSE)
	TNT1 A 0
	Stop
	}
}

Actor ZamasuBeaconGeneralRoasterock : ActiveFormerBeacon
{
  +NOTIMEFREEZE
  States
  {
  Spawn:
    NBEC A 105
    TNT1 A 0 A_SpawnItemEx("TeleportFog")
    TNT1 A 0 A_SpawnItemEx("ZamasuZombie",0,0,8,0,0,0,0,1)
    NBEC A 105
    TNT1 A 0 A_SpawnItemEx("TeleportFog")
    TNT1 A 0 A_SpawnItemEx("ZamasuAssaultCaptain",0,0,8,0,0,0,0,1)
    NBEC A 105
    TNT1 A 0 A_SpawnItemEx("TeleportFog")
    TNT1 A 0 A_SpawnItemEx("ZamasuCommando",0,0,8,0,0,0,0,1)
    NBEC A 105
    TNT1 A 1 A_SpawnItemEx("TeleportFog")
    stop
  }
}

ACTOR ZamasuDroneBomb
{
Radius 20
Height 56
Health 2000
Mass 8000
Species "BabySpiders"
Scale 1.8
DamageType "Baby15K"
DamageFactor "Baby15K", 0.0
Obituary "%o wasn't aware that an Enraged Legendary Baby Sentient could construct Nuclear weapons."
+SHOOTABLE
+THRUSPECIES
+NORADIUSDMG
+LOOKALLAROUND
+AMBUSH
+NOBLOOD
+NOTIMEFREEZE
var int user_timer;
states
{
  Spawn:
    TNT1 A 0 A_SpawnItemEx("EnragedHellionSmokeSpawner",random(-24,24),random(-24,24),0)
    ZEBL AAAAA 4 Bright A_Look
    Loop
  See:
	ZEBL AABBCC 3 A_SpawnItemEx("EnragedHellionSmokeSpawner",random(-24,24),random(-24,24),0)
  CountDown:
    TNT1 A 0 A_JumpIf(user_timer >= 4,"Explode")
	TNT1 A 0 A_PlaySound("EnragedBabySentient/NukeSiren",0,1,0,ATTN_NONE)
	ZEBL CCCC 8 A_SpawnItemEx("EnragedHellionSmokeSpawner",random(-24,24),random(-24,24),0)
	TNT1 A 0 A_SetUserVar(user_timer,user_timer+3)
	Loop
  Explode:
    ZEBL CCBBAAAAA 3 A_SpawnItemEx("EnragedHellionSmokeSpawner",random(-24,24),random(-24,24),0)
	TNT1 A 0 A_PlaySoundEx("legendary/strike","Voice",0,2)
    TNT1 A 0 A_Explode(6582,2056)
    TNT1 A 0 A_SpawnItemEx("ELegendaryStrikeN")
  Death:
	TNT1 A 0 A_ScreamAndUnblock
	TNT1 A 0 A_PlayWeaponSound("weapons/rocklx")
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_SpawnItemEx("EnragedLightningSpark",0,0,0,random(1,10),0,random(1,10),random(0,359),129)
	TNT1 AAAAAAA 0 A_CustomMissile("EKaboomLN", 0, 0, random(0,360), 2, random(0,360))
	TNT1 AAA 0 A_CustomMissile("LegendarySmokeFX4", 0, 0, random(0,360), 2, random(0,360))
	TNT1 A 0
    Stop
  }
}

ACTOR ZamasuDrone
{
Health 1500
Speed 28
Radius 20
Height 58
Monster
Species "BabySpiders"
SeeSound "drone/sight"
ActiveSound "drone/active"
DeathSound "drone/death"
DamageFactor "Baby15K", 0.0
Tag "\c[s5]Zamasu Surveyor\c-"
Obituary "%o was blindsided by an Enraged Legendary Baby Sentient's Surveyor."
+NOBLOOD
+NOPAIN
+DONTFALL
+NOGRAVITY
+FLOAT
+FLOATBOB
+MISSILEMORE
+MISSILEEVENMORE
+NOTIMEFREEZE
-COUNTKILL
States
{
  Idle:
	ZARB A 4 Bright A_Look
	Loop
  Spawn:
  See:
    ZARB AAAAAAAAAA 2 Bright A_Chase   
	TNT1 A 0 A_DamageMaster(-5)
    Loop
  Missile:
    ZARB AA 3 Bright A_FaceTarget
    ZARB B 0 A_CustomMissile("ELBSEnergyBolt",5,10,0)	
    ZARB A 5 Bright A_CustomMissile("ELBSEnergyBolt",5,-10,0)
	ZARB A 4 Bright A_FaceTarget
    Goto See
  Death:
	TNT1 A 0 A_KillSiblings
	TNT1 A 0 A_ScreamAndUnblock
	TNT1 A 0 A_PlayWeaponSound("weapons/rocklx")
	TNT1 A 0 A_SpawnItemEx("EnragedParticleSpawner", 0, 0, 0, 0, 0, 0, 0, 128) 
	TNT1 AAA 0 A_CustomMissile("EKaboomLN", 0, 0, random(0,360), 2, random(0,360))
	TNT1 AAA 0 A_CustomMissile("LegendarySmokeFX4", 0, 0, random(0,360), 2, random(0,360))
	TNT1 A 0
    Stop
    }
}