ACTOR "Pain" : Moloch //Either a piece of art or the worst enemy you'll encounter in this addon
//Rumor has it that this guy can survive an mdk attack
{
//Creator: Fluffy (Based on GDWolf's Gatekeeper Of Pain)
//Origin: Nexus Infinity
//Sprite: GATE
//Title: "Gatekeeper Of Pain"
Health 666666
Mass 0x7FFFFFFF
Radius 40
Height 110
Speed 25
Painchance 40
bloodcolor "Black"
DropItem "NemesisHealthBonusMax", 256, 64
DropItem "NemesisArmorBonus64", 256
DropItem "NemesisHealthBonusMax", 256, 64
DropItem "NemesisArmorBonus64", 256
DropItem "LegDemonRune", 80, 1
DropItem "NemesisRuneSpawnerTier4", 256, 1
DropItem "NemesisRuneSpawnerTier4", 256, 1
DropItem "NemesisRuneSpawnerTier4", 256, 1
DropItem "NemesisRuneSpawnerTier4", 256, 1
DropItem "DemonicChalice", 256, 2
DropItem "SkullOfPower", 256, 2
DropItem "NemesisGreaterDemonicEnergy", 256
DropItem "NemesisGreaterDemonicEnergy", 256
DropItem "NemesisGreaterDemonicEnergy", 256
DropItem "NemesisGreaterDemonicEnergy", 256
DropItem "NemesisShell", 256
DropItem "NemesisShellBox", 130
DropItem "Nemesis Rifle", 200
DropItem "Nemesis Plasmatic Cannon", 200
DropItem "Nemesis Assault Shotgun", 200
DropItem "Nemesis Sawed-Off Shotgun", 200
DropItem "Nemesis BFG", 256
DropItem "TrueLegendaryRune" 64 1
DropItem "TarmidhesRune" 64 1
DropItem "Zamasu Plasmatic Cannon", 120, 1
DropItem "BFS", 240, 1
DamageFactor "UltimateLegendary", 0.0
DamageFactor "Legendary", 0.0
DamageFactor "PlayerNemesisPlasma", 0.0
DamageFactor "Explosion", 0.001
DamageFactor "DTRailgun", 0.4
DamageFactor "PDTPuff", 0.4
DamageFactor "RailG", 0.3
DamageFactor "T3rm", 0.0
Species "Cybers"
+FULLVOLACTIVE
+DONTHURTSPECIES
SeeSound "thepain/sight"
PainSound ""
DeathSound "thepain/death"
ActiveSound "thepain/active"
Obituary "%o embraced pain by the Gatekeeper Of Pain, painfully!."
Tag "\c[g3]Gatekeeper Of Pain\c-"
var int user_summon;
var int user_missile;
States
{
  Spawn:
	GATE C 10 Bright A_Look
    TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
    GATE D 10 Bright A_Look
    TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	Loop
  Remove:
	TNT1 A 1
	TNT1 A 0 A_SpawnItemEx("Cyberdemon",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION)
	TNT1 A 0 A_ChangeFlag("COUNTKILL", FALSE)
	TNT1 A 0
	Stop
  Idle:
	GATE AAAA 2 Bright A_Wander
	GATE A 1 Bright A_Look
	TNT1 A 0 A_SpawnItemEx("MolochStep",0,0,5,0,0,-20)
	GATE BBBB 2 Bright A_Wander
	GATE B 1 Bright A_Look
	GATE CCCC 2 Bright A_Wander
	GATE C 1 Bright A_Look
	TNT1 A 0 A_SpawnItemEx("MolochStep",0,0,5,0,0,-20)
	GATE DDDD 2 Bright A_Wander
	GATE D 1 Bright A_Look
	TNT1 A 0 A_SetAngle(angle+22.5)
	Loop
  See:
    TNT1 A 0 A_JumpIf(user_music == 1,4)
	TNT1 A 0 ACS_NamedExecuteAlways("StartMonsterMusic",0,2048)
	TNT1 A 0 ACS_NamedExecuteAlways("NemesisCardSky",0,2)
	TNT1 A 0 A_SetUserVar("user_music",1)
    TNT1 A 0 A_JumpIf(user_summon >= 1,2)
	TNT1 A 0 A_JumpIfHealthLower(333333,"Summon")
    TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE AA 2 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE AA 2 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("MolochStep",0,0,5,0,0,-20)
    TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE BB 2 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE BB 2 Bright A_Chase
    TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE CC 2 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE CC 2 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("MolochStep",0,0,5,0,0,-20)
    TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE DD 2 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE DD 2 Bright A_Chase
	Loop
  Teleport:
	NASG A 1 Bright A_UnSetShootable
	TNT1 AAAA 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	NASG AAAAAAAAAA 1 Bright A_FadeOut(0.1,0)
	NASG A 2 Bright
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	NASG A 1 Bright A_PlayWeaponSound("boss/teleport")
	TNT1 AAAA 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	NASG AAAAAAAAAA 1 Bright A_FadeIn(0.1)
	NASG A 1 Bright A_SetShootable
	Goto See
  Melee:
  Missile:
	TNT1 A 0 A_Jump(128,"Missile1","Missile2","Missile3","Missile4","Missile5","Missile6","Missile7","Missile8","FinaleFLAAAASH")
  Missile1:
	GATE E 2 Bright A_Facetarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE G 2 Bright A_CustomMissile("NBehemothComet",45,15,frandom(-2.0,2.0),CMF_TRACKOWNER)
	GATE E 2 Bright A_Facetarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE G 2 Bright A_CustomMissile("NBehemothComet",45,15,frandom(-2.0,2.0),CMF_TRACKOWNER)
	GATE E 2 Bright A_Facetarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE G 2 Bright A_CustomMissile("NBehemothComet",45,15,frandom(-2.0,2.0),CMF_TRACKOWNER)
	GATE E 2 Bright A_Facetarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE G 2 Bright A_CustomMissile("NBehemothComet",45,15,frandom(-2.0,2.0),CMF_TRACKOWNER)
	GATE E 2 Bright A_Facetarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE G 2 Bright A_CustomMissile("NBehemothComet",45,15,frandom(-2.0,2.0),CMF_TRACKOWNER)
	GATE E 2 Bright A_Facetarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE G 2 Bright A_CustomMissile("NBehemothComet",45,15,frandom(-2.0,2.0),CMF_TRACKOWNER)
	TNT1 A 0 A_JumpIf(user_summon >= 1,2)
	TNT1 A 0 A_JumpIfHealthLower(333333,"Summon")
	NULL A 0 A_Jump (102,"Missile2","Missile3","Missile4","Missile5","Missile6","Missile7","Missile8","FinaleFLAAAASH")
	Goto See
  Missile2:
	TNT1 A 0 A_PlaySound("weapons/charge15k")
	TNT1 A 0 A_SetUserVar("user_missile",0)
	GATE E 9 Bright A_FaceTarget
  Missile2Loop:
    TNT1 A 0 A_JumpIf(user_missile >= 35, "Missile2End")
    TNT1 A 0 A_SetUserVar("user_missile", user_missile+1)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	//GATE E 0 A_CustomMissile("Nemesis10kProjectile", 48, 32,  4, -8)	
	GATE G 1 Bright A_CustomMissile("Nemesis10kProjectile",45,15,frandom(-2.0,2.0),CMF_TRACKOWNER)
	GATE E 1 Bright A_FaceTarget
	Loop
  Missile2End:
	GATE E 10 Bright A_PlaySound("weapons/bfg15kcooldown",CHAN_AUTO)
	TNT1 A 0 A_JumpIf(user_summon >= 1,2)
	TNT1 A 0 A_JumpIfHealthLower(333333,"Summon")
	NULL A 0 A_Jump (95,"Missile3","Missile4","Missile5","Missile6","Missile7","Missile8","FinaleFLAAAASH")
	Goto See
  Missile3:
	GATE EEEEEE 4 Bright A_FaceTarget 
	GATE G 2 Bright A_FaceTarget 
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySoundEX("weapons/PCNNF",CHAN_WEAPON)
    GATE G 2 Bright A_CustomMissile("MiniNemesisBFGBall",45,15,frandom(-2.0,2.0),CMF_TRACKOWNER)
	GATE G 2 Bright A_FaceTarget 
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySoundEX("weapons/PCNNF",CHAN_WEAPON)
    GATE G 2 Bright A_CustomMissile("MiniNemesisBFGBall",45,15,frandom(-2.0,2.0),CMF_TRACKOWNER)
	GATE G 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySoundEX("weapons/PCNNF",CHAN_WEAPON)
    GATE G 2 Bright A_CustomMissile("MiniNemesisBFGBall",45,15,frandom(-2.0,2.0),CMF_TRACKOWNER)
	GATE G 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySoundEX("weapons/PCNNF",CHAN_WEAPON)
    GATE G 2 Bright A_CustomMissile("MiniNemesisBFGBall",45,15,frandom(-2.0,2.0),CMF_TRACKOWNER)
	GATE G 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySoundEX("weapons/PCNNF",CHAN_WEAPON)
    GATE G 2 Bright A_CustomMissile("MiniNemesisBFGBall",45,15,frandom(-2.0,2.0),CMF_TRACKOWNER)
	GATE G 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySoundEX("weapons/PCNNF",CHAN_WEAPON)
    GATE G 2 Bright A_CustomMissile("MiniNemesisBFGBall",45,15,frandom(-2.0,2.0),CMF_TRACKOWNER)
	TNT1 A 0 A_PlaySound("weapons/dtech10ksteam")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE EEEEEE 5 Bright A_SpawnItemEx("LegendaryCannonSmoke", 10, 12, 50, Random(2, 6), 0, Random(1, 3), Random(80, 90), 128)
	TNT1 A 0 A_JumpIf(user_summon >= 1,2)
	TNT1 A 0 A_JumpIfHealthLower(333333,"Summon")
	TNT1 A 0 A_Jump(120,"Missile4","Missile5","Missile6","Missile7","Missile8","FinaleFLAAAASH")
    Goto See
  Missile4:
    TNT1 A 0 A_SetUserVar(user_missile,0)
	GATE E 3 Bright A_FaceTarget
  Missile4Loop:
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE G 0 A_CustomMissile("NemesisExileSkullShot", 48, 0, 0)
	GATE G 0 A_CustomMissile("NemesisExileSkullShot", 48, 32,  -4, 16)
	GATE G 0 A_CustomMissile("NemesisExileSkullShot", 48, 32,  4, -8)
	GATE G 0 A_CustomMissile("NemesisExileSkullShot", 48, 32,  -4, 8)
	GATE G 3 Bright A_CustomMissile("NemesisExileSkullShot", 48, 32,  4, -16)
	GATE E 3 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE G 0 A_CustomMissile("NemesisSoulHellStaffBall", 48, 0, 0)
	GATE G 0 A_CustomMissile("NemesisSoulHellStaffBall", 48, 32,  -4, 16)
	GATE G 0 A_CustomMissile("NemesisSoulHellStaffBall", 48, 32,  4, -8)
	GATE G 0 A_CustomMissile("NemesisSoulHellStaffBall", 48, 32,  -4, 8)
	GATE G 3 Bright A_CustomMissile("NemesisSoulHellStaffBall", 48, 32,  4, -16)
	GATE E 3 Bright A_FaceTarget
	TNT1 A 0 A_JumpIf(user_missile >= 10,2)
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	Loop	
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE G 0 A_CustomMissile("NemesisExileSkullShot", 48, 0, 0)
	GATE G 0 A_CustomMissile("NemesisExileSkullShot", 48, 32,  -4, 16)
	GATE G 0 A_CustomMissile("NemesisExileSkullShot", 48, 32,  4, -8)
	GATE G 0 A_CustomMissile("NemesisExileSkullShot", 48, 32,  -4, 8)
	GATE G 3 Bright A_CustomMissile("NemesisExileSkullShot", 48, 32,  4, -16)
	GATE E 3 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE G 0 A_CustomMissile("NemesisSoulHellStaffBall", 48, 0, 0)
	GATE G 0 A_CustomMissile("NemesisSoulHellStaffBall", 48, 32,  -4, 16)
	GATE G 0 A_CustomMissile("NemesisSoulHellStaffBall", 48, 32,  4, -8)
	GATE G 0 A_CustomMissile("NemesisSoulHellStaffBall", 48, 32,  -4, 8)
	GATE G 3 Bright A_CustomMissile("NemesisSoulHellStaffBall", 48, 32,  4, -16)
	TNT1 A 0 A_JumpIf(user_summon >= 1,2)
	TNT1 A 0 A_JumpIfHealthLower(333333,"Summon")
	NULL A 0 A_Jump(110,"Missile1","Missile2","Missile3","Missile4","Missile5","Missile6","Missile7","Missile8","FinaleFLAAAASH")
	Goto See
  Missile5:
	GATE E 0 A_FaceTarget
    GATE EEEE 2 Bright A_SpawnItemEx("NemesisCyberFlameSpawner")
	GATE E 0 A_FaceTarget
    GATE EEEE 2 Bright A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_PlayWeaponSound("star/load1")
	GATE E 0 A_FaceTarget
    GATE EEEE 2 Bright A_SpawnItemEx("NemesisCyberFlameSpawner")
	GATE E 0 A_FaceTarget
    GATE EEEE 2 Bright A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_PlayWeaponSound("star/load2")
	GATE E 0 A_FaceTarget
    GATE EEEE 2 Bright A_SpawnItemEx("NemesisCyberFlameSpawner")
	GATE E 0 A_FaceTarget
    GATE EEEE 2 Bright A_SpawnItemEx("NemesisCyberFlameSpawner") 
	GATE E 0 A_FaceTarget
    GATE EEEE 2 Bright A_SpawnItemEx("NemesisCyberFlameSpawner")
	GATE E 0 A_FaceTarget
	TNT1 A 0 A_PlayWeaponSound("star/load3")
    GATE EEEE 2 Bright A_SpawnItemEx("NemesisCyberFlameSpawner")
	GATE E 0 A_FaceTarget
    GATE EEEE 2 Bright A_SpawnItemEx("NemesisCyberFlameSpawner")  	   
	GATE E 0 A_FaceTarget
	GATE G 0 A_PlayWeaponSound("star/fire")
	GATE G 7 Bright A_CustomMissile("NemesisGuruBall",45,15,frandom(-2.0,2.0),CMF_TRACKOWNER)
	GATE E 8 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE G 0 A_PlayWeaponSound("star/fire")
	GATE G 7 Bright A_CustomMissile("NemesisGuruBall",45,15,frandom(-2.0,2.0),CMF_TRACKOWNER)
	GATE E 8 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE G 0 A_PlayWeaponSound("star/fire")
	GATE G 7 Bright A_CustomMissile("NemesisGuruBall",45,15,frandom(-2.0,2.0),CMF_TRACKOWNER)
	GATE E 8 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE G 0 A_PlayWeaponSound("star/fire")
	GATE G 1 Bright A_CustomMissile("NemesisGuruBall",45,15,frandom(-2.0,2.0),CMF_TRACKOWNER)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_JumpIf(user_summon >= 1,2)
	TNT1 A 0 A_JumpIfHealthLower(333333,"Summon")
    NULL A 0 A_Jump(115,"Missile1","Missile2","Missile3","Missile4","Missile5","Missile6","Missile7","Missile8","FinaleFLAAAASH","Lightning")
	Goto See
  Missile6:
	TNT1 A 0 A_PlaySound("weapons/charge15k")
	GATE E 18 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE E 6 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	GATE G 3 Bright A_CustomMissile("Nemesis10kProjectile",45,15,frandom(-2.0,2.0),CMF_TRACKOWNER)	
	GATE E 4 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	GATE G 3 Bright A_CustomMissile("NemImpDevastatorBall",45,15,frandom(-2.0,2.0),CMF_TRACKOWNER)	
	GATE E 4 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	GATE G 3 Bright A_CustomMissile("NBehemothBFG9500Ball",45,15,frandom(-2.0,2.0),CMF_TRACKOWNER)
	GATE E 4 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	GATE G 3 Bright A_CustomMissile("Nemesis10kProjectile",45,15,frandom(-2.0,2.0),CMF_TRACKOWNER)
	GATE E 4 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	GATE G 3 Bright A_CustomMissile("NemImpDevastatorBall",45,15,frandom(-2.0,2.0),CMF_TRACKOWNER)
	GATE E 3 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	GATE G 3 Bright A_CustomMissile("ActualDarkMatter",45,15,frandom(-2.0,2.0),CMF_TRACKOWNER)
	GATE E 3 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	GATE G 3 Bright A_CustomMissile("Nemesis10kProjectile",45,15,frandom(-2.0,2.0),CMF_TRACKOWNER)
	GATE E 3 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	GATE G 3 Bright A_CustomMissile("NemImpDevastatorBall",45,15,frandom(-2.0,2.0),CMF_TRACKOWNER)
	GATE E 3 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	GATE G 3 Bright A_CustomMissile("ActualDarkMatter",45,15,frandom(-2.0,2.0),CMF_TRACKOWNER)
	GATE E 3 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	GATE G 3 Bright A_CustomMissile("Nemesis10kProjectile",45,15,frandom(-2.0,2.0),CMF_TRACKOWNER)
	GATE E 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	GATE G 3 Bright A_CustomMissile("NemImpDevastatorBall",45,15,frandom(-2.0,2.0),CMF_TRACKOWNER)
	GATE E 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	GATE G 3 Bright A_CustomMissile("ActualDarkMatter",45,15,frandom(-2.0,2.0),CMF_TRACKOWNER)
	GATE E 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	GATE G 3 Bright A_CustomMissile("Nemesis10kProjectile",45,15,frandom(-2.0,2.0),CMF_TRACKOWNER)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	GATE G 3 Bright A_CustomMissile("NemImpDevastatorBall",45,15,frandom(-2.0,2.0),CMF_TRACKOWNER)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	GATE G 3 Bright A_CustomMissile("ActualDarkMatter",45,15,frandom(-2.0,2.0),CMF_TRACKOWNER)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	GATE G 3 Bright A_CustomMissile("Nemesis10kProjectile",45,15,frandom(-2.0,2.0),CMF_TRACKOWNER)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	GATE G 3 Bright A_CustomMissile("NemImpDevastatorBall",45,15,frandom(-2.0,2.0),CMF_TRACKOWNER)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	GATE G 3 Bright A_CustomMissile("ActualDarkMatter",45,15,frandom(-2.0,2.0),CMF_TRACKOWNER)
	GATE E 20 Bright A_PlaySound("weapons/bfg15kcooldown",CHAN_AUTO)
	TNT1 A 0 A_JumpIf(user_summon >= 1,2)
	TNT1 A 0 A_JumpIfHealthLower(333333,"Summon")
	NULL A 0 A_Jump(140,"Missile1","Missile2","Missile3","Missile4","Missile5","Missile6","Missile7","Missile8","FinaleFLAAAASH")
	Goto See
  Missile7:
	GATE E 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 0, 0)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 32,  4, -8)
	GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 32,  -4, 8)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 32,  -4, 16)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 32,  4, -16)
	GATE G 3 Bright A_CustomMissile("NemImpDevastatorBall", 86, 12,  15, -35)
	GATE G 3 Bright A_CustomMissile("NBehemothBFG9500Ball", 86, -12,  15, 35)
	GATE E 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 0, 0)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 32,  4, -8)
	GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 32,  -4, 8)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 32,  -4, 16)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 32,  4, -16)
	GATE G 3 Bright A_CustomMissile("NemImpDevastatorBall", 86, 12,  15, -35)
	GATE G 3 Bright A_CustomMissile("NBehemothBFG9500Ball", 86, -12,  15, 35)
	GATE E 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 0, 0)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 32,  4, -8)
	GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 32,  -4, 8)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 32,  -4, 16)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 32,  4, -16)
	GATE G 3 Bright A_CustomMissile("NemImpDevastatorBall", 86, 12,  15, -35)
	GATE G 3 Bright A_CustomMissile("NBehemothBFG9500Ball", 86, -12,  15, 35)
	GATE E 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 0, 0)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 32,  4, -8)
	GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 32,  -4, 8)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 32,  -4, 16)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 32,  4, -16)
	GATE G 3 Bright A_CustomMissile("NemImpDevastatorBall", 86, 12,  15, -35)
	GATE G 3 Bright A_CustomMissile("ActualDarkMatter", 86, -12,  15, 35)
	GATE E 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 0, 0)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 32,  4, -8)
	GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 32,  -4, 8)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 32,  -4, 16)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 32,  4, -16)
	GATE G 3 Bright A_CustomMissile("NemImpDevastatorBall", 86, 12,  15, -35)
	GATE G 3 Bright A_CustomMissile("NBehemothBFG9500Ball", 86, -12,  15, 35)
	GATE E 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 0, 0)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 32,  4, -8)
	GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 32,  -4, 8)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 32,  -4, 16)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 32,  4, -16)
	GATE G 3 Bright A_CustomMissile("NemImpDevastatorBall", 86, 12,  15, -35)
	GATE G 3 Bright A_CustomMissile("ActualDarkMatter", 86, -12,  15, 35)
	GATE E 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 0, 0)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 32,  4, -8)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 32,  -4, 8)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 32,  -4, 16)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 32,  4, -16)
	GATE G 3 Bright A_CustomMissile("NemImpDevastatorBall", 86, 12,  15, -35)
	GATE G 3 Bright A_CustomMissile("NBehemothBFG9500Ball", 86, -12,  15, 35)
	GATE E 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 0, 0)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 32,  4, -8)
	GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 32,  -4, 8)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 32,  -4, 16)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 32,  4, -16)
	GATE G 3 Bright A_CustomMissile("NemImpDevastatorBall", 86, 12,  15, -35)
	GATE G 3 Bright A_CustomMissile("ActualDarkMatter", 86, -12,  15, 35)
	GATE E 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 0, 0)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 32,  4, -8)
	GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 32,  -4, 8)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 32,  -4, 16)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 32,  4, -16)
	GATE G 3 Bright A_CustomMissile("NemImpDevastatorBall", 86, 12,  15, -35)
	GATE G 3 Bright A_CustomMissile("NBehemothBFG9500Ball", 86, -12,  15, 35)
	GATE E 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 0, 0)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 32,  4, -8)
	GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 32,  -4, 8)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 32,  -4, 16)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 32,  4, -16)
	GATE G 3 Bright A_CustomMissile("NemImpDevastatorBall", 86, 12,  15, -35)
	GATE G 3 Bright A_CustomMissile("ActualDarkMatter", 86, -12,  15, 35)
	GATE E 10 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE E 10 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE E 10 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE E 10 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE E 10 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE E 10 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE E 10 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE E 10 Bright A_FaceTarget
	TNT1 A 0 A_JumpIf(user_summon >= 1,2)
	TNT1 A 0 A_JumpIfHealthLower(333333,"Summon")
	NULL A 0 A_Jump(160,"Missile1","Missile2","Missile3","Missile4","Missile5","Missile6","Missile7","Missile8","FinaleFLAAAASH")
	Goto See
  Missile8:
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
    GATE E 0 A_CustomMissile("NemesisRevCannonProj", 48, 32,  4, -8)	
	GATE G 1 Bright A_CustomMissile("NemesisRevCannonProj", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
    GATE E 0 A_CustomMissile("NemesisRevCannonProj", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonProj", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
    GATE E 0 A_CustomMissile("NemesisRevCannonProj", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonProj", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
    GATE E 0 A_CustomMissile("NemesisRevCannonProj", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonProj", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
    GATE E 0 A_CustomMissile("NemesisRevCannonProj", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonProj", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
    GATE E 0 A_CustomMissile("NemesisRevCannonProj", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonProj", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
	GATE E 0 A_CustomMissile("NemesisRevCannonProj", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonProj", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
    GATE E 0 A_CustomMissile("NemesisRevCannonProj", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonProj", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
    GATE E 0 A_CustomMissile("NemesisRevCannonProj", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonProj", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
    GATE E 0 A_CustomMissile("NemesisRevCannonProj", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonProj", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
    GATE E 0 A_CustomMissile("NemesisRevCannonProj", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonProj", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
    GATE E 0 A_CustomMissile("NemesisRevCannonProj", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonProj", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
    GATE E 0 A_CustomMissile("NemesisRevCannonProj", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonProj", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
    GATE E 0 A_CustomMissile("NemesisRevCannonProj", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonProj", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
	GATE E 0 A_CustomMissile("NemesisRevCannonProj", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonProj", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
    GATE E 0 A_CustomMissile("NemesisRevCannonProj", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonProj", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
    GATE E 0 A_CustomMissile("NemesisRevCannonProj", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonProj", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
    GATE E 0 A_CustomMissile("NemesisRevCannonProj", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonProj", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
    GATE E 0 A_CustomMissile("NemesisRevCannonProj", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonProj", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
    GATE E 0 A_CustomMissile("NemesisRevCannonProj", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonProj", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
    GATE E 0 A_CustomMissile("NemesisRevCannonProj", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonProj", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
    GATE E 0 A_CustomMissile("NemesisRevCannonProj", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonProj", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
    GATE E 0 A_CustomMissile("NemesisRevCannonProj", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonProj", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
    GATE E 0 A_CustomMissile("NemesisRevCannonProj", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonProj", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
    GATE E 0 A_CustomMissile("NemesisRevCannonProj", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonProj", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
    GATE E 0 A_CustomMissile("NemesisRevCannonProj", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonProj", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
    GATE E 0 A_CustomMissile("NemesisRevCannonProj", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonProj", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
    GATE E 0 A_CustomMissile("NemesisRevCannonProj", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonProj", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
    GATE E 0 A_CustomMissile("NemesisRevCannonProj", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonProj", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
	GATE E 0 A_CustomMissile("NemesisRevCannonProj", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonProj", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
    GATE E 0 A_CustomMissile("NemesisRevCannonProj", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonProj", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
    GATE E 0 A_CustomMissile("NemesisRevCannonProj", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonProj", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
    GATE E 0 A_CustomMissile("NemesisRevCannonProj", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonProj", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
    GATE E 0 A_CustomMissile("NemesisRevCannonProj", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonProj", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
    GATE E 0 A_CustomMissile("NemesisRevCannonProj", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonProj", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
    GATE E 0 A_CustomMissile("NemesisRevCannonProj", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonProj", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
    GATE E 0 A_CustomMissile("NemesisRevCannonProj", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonProj", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
    GATE E 0 A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
    GATE E 0 A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
    GATE E 0 A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
	GATE E 0 A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
    GATE E 0 A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("NemesisCannon/Fire",7)
    GATE E 0 A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  -4, 8)
	GATE E 3 A_FaceTarget
	TNT1 A 0 A_JumpIf(user_summon >= 1,2)
	TNT1 A 0 A_JumpIfHealthLower(333333,"Summon")
	NULL A 0 A_Jump(170,"Missile1","Missile2","Missile3","Missile4","Missile5","Missile6","Missile7","Missile8","FinaleFLAAAASH","Lightning")
    Goto See
  FinaleFLAAAASH:
	GATE E 3 Bright A_FaceTarget
	TNT1 A 0 A_ChangeFlag("NOPAIN",1)
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 0, 0)
    GATE E 0 A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  -4, 8)
	GATE G 3 Bright A_CustomMissile("NemImpDevastatorBall", 48, 0, 0)
	GATE G 3 Bright A_CustomMissile("Nemesis10kProjectile", 48, 0, 0)
	GATE G 3 Bright A_CustomMissile("NBehemothBFG9500Ball", 48, 0, 0)
	GATE E 5 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
    GATE E 0 A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisZombieCannonLaser", 48, 32,  -4, 8)
	GATE G 2 Bright A_CustomMissile("NBehemothComet", 48, 0, 0)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 0, 0)
	GATE E 5 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
    GATE E 0 A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  -4, 8)
	GATE G 1 Bright A_CustomMissile("MiniNemesisBFGBall", 48, 0, 0)
	GATE G 3 Bright A_CustomMissile("NemImpDevastatorBall", 48, 0, 0)
	GATE E 5 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
    GATE E 0 A_CustomMissile("NemesisZombieCannonLaser", 48, 32,  4, -8)	
	GATE G 1 Bright A_CustomMissile("NemesisZombieCannonLaser", 48, 32,  -4, 8)
	GATE G 0 A_CustomMissile("NemesisSoulHellStaffBall", 48, 0, 0)
	GATE G 3 Bright A_CustomMissile("ActualDarkMatter", 48, 0, 0)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 0, 0)
	GATE E 5 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
    GATE E 0 A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  4, -8)
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  -4, 8)
	GATE E 5 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySoundEX("weapons/PCNNF",CHAN_WEAPON)
    GATE G 2 Bright A_CustomMissile("MiniNemesisBFGBall", 48, 0, 0)
	GATE G 2 Bright A_CustomMissile("NBehemothComet", 48, 0, 0)
	GATE G 0 A_CustomMissile("NemesisSoulHellStaffBall", 48, 32,  -4, 16)
	GATE E 5 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
    GATE E 0 A_CustomMissile("NemesisZombieCannonLaser", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisZombieCannonLaser", 48, 32,  -4, 8)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 0, 0)
	GATE G 3 Bright A_CustomMissile("NBehemothBFG9500Ball", 48, 0, 0)
	GATE G 3 Bright A_CustomMissile("NemImpDevastatorBall", 48, 0, 0)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 0, 0)
	GATE E 5 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
    GATE E 0 A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  -4, 8)
	GATE E 5 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	GATE G 3 Bright A_CustomMissile("Nemesis10kProjectile", 48, 0, 0)
	GATE G 1 Bright A_CustomMissile("MiniNemesisBFGBall", 48, 0, 0)
	GATE G 0 A_CustomMissile("NemesisSoulHellStaffBall", 48, 32,  4, -8)
	GATE E 5 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
    GATE E 0 A_CustomMissile("NemesisZombieCannonLaser", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisZombieCannonLaser", 48, 32,  -4, 8)
	GATE G 3 Bright A_CustomMissile("ActualDarkMatter", 48, 0, 0)
	GATE G 6 Bright A_CustomMissile("ZamasuCyberFinalBall", 48, 17, 0)
	GATE E 5 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySoundEX("weapons/PCNNF",CHAN_WEAPON)
	GATE G 2 Bright A_CustomMissile("NBehemothComet", 48, 0, 0)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 0, 0)
	GATE E 5 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
    GATE E 0 A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  -4, 8)
	GATE G 3 Bright A_CustomMissile("NemImpDevastatorBall", 48, 0, 0)
    GATE G 2 Bright A_CustomMissile("MiniNemesisBFGBall", 48, 0, 0)
	GATE G 3 Bright A_CustomMissile("NBehemothBFG9500Ball", 48, 0, 0)
	GATE E 5 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
    GATE E 0 A_CustomMissile("NemesisZombieCannonLaser", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisZombieCannonLaser", 48, 32,  -4, 8)
	GATE G 2 Bright A_CustomMissile("NBehemothComet", 48, 0, 0)
	GATE G 0 A_CustomMissile("NemesisSoulHellStaffBall", 48, 32,  -4, 8)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 0, 0)
	GATE G 3 Bright A_CustomMissile("NemImpDevastatorBall", 48, 0, 0)
	GATE E 5 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE E 0 A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  -4, 8)
	GATE G 3 Bright A_CustomMissile("ActualDarkMatter", 48, 0, 0)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 0, 0)
	GATE G 1 Bright A_CustomMissile("MiniNemesisBFGBall", 48, 0, 0)
	GATE G 3 Bright A_CustomMissile("NemesisSoulHellStaffBall", 48, 32,  4, -16)
	GATE E 5 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
    GATE E 0 A_CustomMissile("NemesisZombieCannonLaser", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisZombieCannonLaser", 48, 32,  -4, 8)
	GATE G 1 Bright A_CustomMissile("MiniNemesisBFGBall", 48, 0, 0)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 0, 0)
	GATE G 2 Bright A_CustomMissile("NBehemothComet", 48, 0, 0)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 0, 0)
	GATE G 3 Bright A_CustomMissile("NemImpDevastatorBall", 48, 0, 0)
	GATE E 5 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
    GATE E 0 A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  -4, 8)
	GATE G 3 Bright A_CustomMissile("NBehemothBFG9500Ball", 48, 0, 0)
	GATE E 5 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	GATE G 3 Bright A_CustomMissile("Nemesis10kProjectile", 48, 0, 0)
	GATE E 5 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
    GATE E 0 A_CustomMissile("NemesisZombieCannonLaser", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisZombieCannonLaser", 48, 32,  -4, 8)
	GATE E 5 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySoundEX("weapons/PCNNF",CHAN_WEAPON)
    GATE G 2 Bright A_CustomMissile("MiniNemesisBFGBall", 48, 0, 0)
	GATE G 3 Bright A_CustomMissile("ActualDarkMatter", 48, 0, 0)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 0, 0)
	GATE G 3 Bright A_CustomMissile("NemImpDevastatorBall", 48, 0, 0)
	GATE E 5 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
    GATE E 0 A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  -4, 8)
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 0, 0)
	GATE G 3 Bright A_CustomMissile("NemImpDevastatorBall", 48, 0, 0)
	GATE E 5 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
    GATE E 0 A_CustomMissile("NemesisZombieCannonLaser", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisZombieCannonLaser", 48, 32,  -4, 8)
	GATE G 3 Bright A_CustomMissile("NBehemothBFG9500Ball", 48, 0, 0)
	GATE G 3 Bright A_CustomMissile("Nemesis10kProjectile", 48, 0, 0)
	GATE G 2 Bright A_CustomMissile("NBehemothComet", 48, 0, 0)
	GATE E 5 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
    GATE E 0 A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  -4, 8)
	GATE E 5 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySoundEX("weapons/PCNNF",CHAN_WEAPON)
    GATE G 2 Bright A_CustomMissile("MiniNemesisBFGBall", 48, 0, 0)
	GATE G 6 Bright A_CustomMissile("ZamasuCyberFinalBall", 48, 17, 0)
	GATE G 0 A_CustomMissile("NemesisExileSkullShot", 48, 0, 0)
	GATE E 5 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
    GATE E 0 A_CustomMissile("NemesisZombieCannonLaser", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisZombieCannonLaser", 48, 32,  -4, 8)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 0, 0)
	GATE G 3 Bright A_CustomMissile("NemImpDevastatorBall", 48, 0, 0)
	GATE E 5 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
    GATE E 0 A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  -4, 8)
	GATE E 5 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	GATE G 2 Bright A_CustomMissile("NBehemothComet", 48, 0, 0)
	GATE G 3 Bright A_CustomMissile("ActualDarkMatter", 48, 0, 0)
	GATE G 3 Bright A_CustomMissile("Nemesis10kProjectile", 48, 0, 0)
	GATE E 5 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySoundEX("weapons/PCNNF",CHAN_WEAPON)
    GATE E 0 A_CustomMissile("NemesisZombieCannonLaser", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisZombieCannonLaser", 48, 32,  -4, 8)
	GATE G 3 Bright A_CustomMissile("NemImpDevastatorBall", 48, 0, 0)
    GATE G 2 Bright A_CustomMissile("MiniNemesisBFGBall", 48, 0, 0)
	GATE G 0 A_CustomMissile("NemesisExileSkullShot", 48, 32,  -4, 16)
	GATE E 5 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
    GATE E 0 A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  -4, 8)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 0, 0)
	GATE G 3 Bright A_CustomMissile("NBehemothBFG9500Ball", 48, 0, 0)
	GATE G 2 Bright A_CustomMissile("NBehemothComet", 48, 0, 0)
	GATE E 5 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
    GATE E 0 A_CustomMissile("NemesisZombieCannonLaser", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisZombieCannonLaser", 48, 32,  -4, 8)
	GATE G 3 Bright A_CustomMissile("NemImpDevastatorBall", 48, 0, 0)
	GATE G 3 Bright A_CustomMissile("Nemesis10kProjectile", 48, 0, 0)
	GATE G 0 A_CustomMissile("NemesisExileSkullShot", 48, 32,  4, -8)
	GATE E 5 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySoundEX("weapons/PCNNF",CHAN_WEAPON)
    GATE E 0 A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  -4, 8)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 0, 0)
    GATE G 2 Bright A_CustomMissile("MiniNemesisBFGBall", 48, 0, 0)
	GATE G 0 A_CustomMissile("NemesisExileSkullShot", 48, 32,  -4, 8)
	GATE G 3 Bright A_CustomMissile("ActualDarkMatter", 48, 0, 0)
	GATE G 2 Bright A_CustomMissile("NBehemothComet", 48, 0, 0)
	GATE E 0 A_CustomMissile("NemesisZombieCannonLaser", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisZombieCannonLaser", 48, 32,  -4, 8)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 0, 0)
	GATE G 3 Bright A_CustomMissile("NemImpDevastatorBall", 48, 0, 0)
	GATE E 5 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
    GATE E 0 A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  -4, 8)
	GATE G 3 Bright A_CustomMissile("Nemesis10kProjectile", 48, 0, 0)
	GATE G 3 Bright A_CustomMissile("NBehemothBFG9500Ball", 48, 0, 0)
	GATE G 3 Bright A_CustomMissile("NemesisExileSkullShot", 48, 32,  4, -16)
	GATE E 5 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySoundEX("weapons/PCNNF",CHAN_WEAPON)
    GATE E 0 A_CustomMissile("NemesisZombieCannonLaser", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisZombieCannonLaser", 48, 32,  -4, 8)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 0, 0)
    GATE G 2 Bright A_CustomMissile("MiniNemesisBFGBall", 48, 0, 0)
	GATE G 3 Bright A_CustomMissile("ActualDarkMatter", 48, 0, 0)
    GATE E 0 A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  -4, 8)
	GATE G 2 Bright A_CustomMissile("NBehemothComet", 48, 0, 0)
	GATE G 3 Bright A_CustomMissile("NemImpDevastatorBall", 48, 0, 0)
    GATE E 0 A_CustomMissile("NemesisZombieCannonLaser", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisZombieCannonLaser", 48, 32,  -4, 8)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 0, 0)
	GATE E 5 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	GATE G 3 Bright A_CustomMissile("Nemesis10kProjectile", 48, 0, 0)
	GATE G 3 Bright A_CustomMissile("NBehemothBFG9500Ball", 48, 0, 0)
	GATE E 0 A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisRevCannonIonBeam", 48, 32,  -4, 8)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 0, 0)
	GATE G 2 Bright A_CustomMissile("NBehemothComet", 48, 0, 0)
	GATE G 3 Bright A_CustomMissile("NemImpDevastatorBall", 48, 0, 0)
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
    GATE E 0 A_CustomMissile("NemesisZombieCannonLaser", 48, 32,  4, -8)	
    GATE G 1 Bright A_CustomMissile("NemesisZombieCannonLaser", 48, 32,  -4, 8)
    GATE G 1 Bright A_CustomMissile("NemesisCyberRailLaser", 48, 0, 0)
	TNT1 A 0 A_JumpIf(user_summon >= 1,2)
	TNT1 A 0 A_JumpIfHealthLower(333333,"Summon")
	GATE E 1 Bright A_FaceTarget
	TNT1 A 0 A_Jump(128,"Lightning")
	Goto See
  Lightning:
    TNT1 A 0 A_ChangeFlag("NOPAIN",1)
	GATE H 3 Bright A_PlaySound("thepain/sight",5,1.0,0,ATTN_NONE)
	TNT1 A 0 Radius_Quake(7, 165, 0, 140, 0)
	GATE H 36 Bright
	GATE H 4 Bright A_SpawnItemEX("PainLightning",Random(-1200,1200),Random(-1200,1200))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_CustomMissile("NemesisTormentorDeathEffect",0,0,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("PainLightning",Random(-1200,1200),Random(-1200,1200))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_CustomMissile("NemesisTormentorDeathEffect",0,0,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("PainLightning",Random(-1200,1200),Random(-1200,1200))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_CustomMissile("NemesisTormentorDeathEffect",0,0,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("PainLightning",Random(-1200,1200),Random(-1200,1200))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_CustomMissile("NemesisTormentorDeathEffect",0,0,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("PainLightning",Random(-1200,1200),Random(-1200,1200))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_CustomMissile("NemesisTormentorDeathEffect",0,0,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("PainLightning",Random(-1200,1200),Random(-1200,1200))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_CustomMissile("NemesisTormentorDeathEffect",0,0,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("PainLightning",Random(-1200,1200),Random(-1200,1200))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_CustomMissile("NemesisTormentorDeathEffect",0,0,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("PainLightning",Random(-1200,1200),Random(-1200,1200))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_CustomMissile("NemesisTormentorDeathEffect",0,0,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("PainLightning",Random(-1200,1200),Random(-1200,1200))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_CustomMissile("NemesisTormentorDeathEffect",0,0,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("PainLightning",Random(-1200,1200),Random(-1200,1200))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_CustomMissile("NemesisTormentorDeathEffect",0,0,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("PainLightning",Random(-1200,1200),Random(-1200,1200))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_CustomMissile("NemesisTormentorDeathEffect",0,0,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("PainLightning",Random(-1200,1200),Random(-1200,1200))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_CustomMissile("NemesisTormentorDeathEffect",0,0,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("PainLightning",Random(-1200,1200),Random(-1200,1200))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_CustomMissile("NemesisTormentorDeathEffect",0,0,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("PainLightning",Random(-1200,1200),Random(-1200,1200))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_CustomMissile("NemesisTormentorDeathEffect",0,0,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_JumpIf(user_summon >= 1,2)
	TNT1 A 0 A_JumpIfHealthLower(333333,"Summon")
	GATE H 4 Bright A_SpawnItemEX("PainLightning",Random(-1200,1200),Random(-1200,1200))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_CustomMissile("NemesisTormentorDeathEffect",0,0,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("PainLightning",Random(-1200,1200),Random(-1200,1200))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_CustomMissile("NemesisTormentorDeathEffect",0,0,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("PainLightning",Random(-1200,1200),Random(-1200,1200))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_CustomMissile("NemesisTormentorDeathEffect",0,0,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("PainLightning",Random(-1200,1200),Random(-1200,1200))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_CustomMissile("NemesisTormentorDeathEffect",0,0,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_CustomMissile("NemesisTormentorDeathEffect",0,0,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_SpawnItemEX("PainLightning",Random(-1200,1200),Random(-1200,1200))
	TNT1 A 0 A_JumpIf(user_summon >= 1,2)
	TNT1 A 0 A_JumpIfHealthLower(333333,"Summon")
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEX("PainLightning",Random(-1200,1200),Random(-1200,1200))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_SpawnItemEX("PainLightning",Random(-1200,1200),Random(-1200,1200))
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEX("PainLightning",Random(-1200,1200),Random(-1200,1200))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	GATE H 4 Bright
	Goto See	   
  Summon:
    GATE H 1 Bright A_ChangeFlag("Invulnerable",1)
	TNT1 A 0 A_ChangeFlag("NOPAIN",1)
	GATE H 3 Bright A_PlaySound("thepain/sight",5,1.0,0,ATTN_NONE)
	TNT1 A 0 A_ChangeFlag("Reflective",1)
	GATE H 0 A_PlaySoundEx("brain/spit",7,0,2)
	TNT1 A 0 Radius_Quake(7, 165, 0, 140, 0)
	GATE H 0 A_CustomMissile("NemPentaLine3",0,0,-72,2)
    GATE H 0 A_CustomMissile("NemPentaLine3",0,0,-144,2)
    GATE H 0 A_CustomMissile("NemPentaLine3",0,0,-216,2)
    GATE H 0 A_CustomMissile("NemPentaLine3",0,0,-288,2)
    GATE H 0 A_CustomMissile("NemPentaLine3",0,0,0,2)
	GATE H 36 Bright
	GATE H 4 Bright A_SpawnItemEX("DefilerStormBoltSpawner",Random(-680,680),Random(-680,680))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("DefilerStormBoltSpawner",Random(-680,680),Random(-680,680))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("DefilerStormBoltSpawner",Random(-680,680),Random(-680,680))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("DefilerStormBoltSpawner",Random(-680,680),Random(-680,680))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("DefilerStormBoltSpawner",Random(-680,680),Random(-680,680))
	TNT1 A 0 A_SpawnItemEX("PainLightning",Random(-1200,1200),Random(-1200,1200))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("DefilerStormBoltSpawner",Random(-680,680),Random(-680,680))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("DefilerStormBoltSpawner",Random(-680,680),Random(-680,680))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("DefilerStormBoltSpawner",Random(-680,680),Random(-680,680))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("DefilerStormBoltSpawner",Random(-680,680),Random(-680,680))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("DefilerStormBoltSpawner",Random(-680,680),Random(-680,680))
	TNT1 A 0 A_SpawnItemEX("PainLightning",Random(-1200,1200),Random(-1200,1200))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("DefilerStormBoltSpawner",Random(-680,680),Random(-680,680))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("DefilerStormBoltSpawner",Random(-680,680),Random(-680,680))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("DefilerStormBoltSpawner",Random(-680,680),Random(-680,680))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_SpawnItemEX("PainLightning",Random(-1200,1200),Random(-1200,1200))
	GATE H 4 Bright A_SpawnItemEX("DefilerStormBoltSpawner",Random(-680,680),Random(-680,680))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("DefilerStormBoltSpawner",Random(-680,680),Random(-680,680))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("DefilerStormBoltSpawner",Random(-680,680),Random(-680,680))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("DefilerStormBoltSpawner",Random(-680,680),Random(-680,680))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_SpawnItemEX("PainLightning",Random(-1200,1200),Random(-1200,1200))
	GATE H 4 Bright A_SpawnItemEX("DefilerStormBoltSpawner",Random(-680,680),Random(-680,680))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("DefilerStormBoltSpawner",Random(-680,680),Random(-680,680))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("DefilerStormBoltSpawner",Random(-680,680),Random(-680,680))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("DefilerStormBoltSpawner",Random(-680,680),Random(-680,680))
	TNT1 A 0 A_SpawnItemEX("PainLightning",Random(-1200,1200),Random(-1200,1200))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("DefilerStormBoltSpawner",Random(-680,680),Random(-680,680))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("DefilerStormBoltSpawner",Random(-680,680),Random(-680,680))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("DefilerStormBoltSpawner",Random(-680,680),Random(-680,680))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("DefilerStormBoltSpawner",Random(-680,680),Random(-680,680))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_SpawnItemEX("PainLightning",Random(-1200,1200),Random(-1200,1200))
	GATE H 4 Bright A_SpawnItemEX("DefilerStormBoltSpawner",Random(-680,680),Random(-680,680))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("DefilerStormBoltSpawner",Random(-680,680),Random(-680,680))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("DefilerStormBoltSpawner",Random(-680,680),Random(-680,680))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("DefilerStormBoltSpawner",Random(-680,680),Random(-680,680))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("DefilerStormBoltSpawner",Random(-680,680),Random(-680,680))
	TNT1 A 0 A_SpawnItemEX("PainLightning",Random(-1200,1200),Random(-1200,1200))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("DefilerStormBoltSpawner",Random(-680,680),Random(-680,680))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("DefilerStormBoltSpawner",Random(-680,680),Random(-680,680))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("DefilerStormBoltSpawner",Random(-680,680),Random(-680,680))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("DefilerStormBoltSpawner",Random(-680,680),Random(-680,680))
	TNT1 A 0 A_SpawnItemEX("PainLightning",Random(-1200,1200),Random(-1200,1200))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("DefilerStormBoltSpawner",Random(-680,680),Random(-680,680))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("DefilerStormBoltSpawner",Random(-680,680),Random(-680,680))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEX("DefilerStormBoltSpawner",Random(-680,680),Random(-680,680))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 2 Bright A_SpawnItemEx("ThePainTrain",0,random(20,300),10,10,0,0,random(20,300),SXF_SETMASTER|SXF_NOCHECKPOSITION)
	GATE H 2 Bright A_SpawnItemEx("ThePainTrain",0,random(20,300),10,10,0,0,random(20,300),SXF_SETMASTER|SXF_NOCHECKPOSITION)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 2 Bright A_SpawnItemEx("ThePainTrain",0,random(20,300),10,10,0,0,random(20,300),SXF_SETMASTER|SXF_NOCHECKPOSITION)
	GATE H 2 Bright A_SpawnItemEx("ThePainTrain",0,random(20,300),10,10,0,0,random(20,300),SXF_SETMASTER|SXF_NOCHECKPOSITION)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 2 Bright A_SpawnItemEx("ThePainTrain",0,random(20,300),10,10,0,0,random(20,300),SXF_SETMASTER|SXF_NOCHECKPOSITION)
	GATE H 2 Bright A_SpawnItemEx("ThePainTrain",0,random(20,300),10,10,0,0,random(20,300),SXF_SETMASTER|SXF_NOCHECKPOSITION)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 2 Bright A_SpawnItemEx("ThePainTrain",0,random(20,300),10,10,0,0,random(20,300),SXF_SETMASTER|SXF_NOCHECKPOSITION)
	GATE H 2 Bright A_SpawnItemEx("ThePainTrain",0,random(20,300),10,10,0,0,random(20,300),SXF_SETMASTER|SXF_NOCHECKPOSITION)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 2 Bright A_SpawnItemEx("ThePainTrain",0,random(20,300),10,10,0,0,random(20,300),SXF_SETMASTER|SXF_NOCHECKPOSITION)
	GATE H 2 Bright A_SpawnItemEx("ThePainTrain",0,random(20,300),10,10,0,0,random(20,300),SXF_SETMASTER|SXF_NOCHECKPOSITION)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright A_SpawnItemEx("ThePainTrain",0,random(20,300),10,10,0,0,random(20,300),SXF_SETMASTER|SXF_NOCHECKPOSITION)
	TNT1 A 0 A_AlertMonsters(0,AMF_EMITFROMTARGET)
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_SpawnItemEX("PainLightning",Random(-1200,1200),Random(-1200,1200))
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEX("PainLightning",Random(-1200,1200),Random(-1200,1200))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	TNT1 A 0 A_SpawnItemEX("PainLightning",Random(-1200,1200),Random(-1200,1200))
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEX("PainLightning",Random(-1200,1200),Random(-1200,1200))
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,64)
	GATE H 4 Bright
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	TNT1 A 0 A_SetUserVar("user_summon",1)
	TNT1 A 0 A_ChangeFlag("Invulnerable",0)
	TNT1 A 0 A_ChangeFlag("Reflective",0)
	Goto See
  Pain:
    //TNT1 A 0 A_ChangeFlag("NOPAIN",1)
	TNT1 A 0 A_Jump(130,"Missile")
	TNT1 A 0 A_Jump(25,"Teleport")
	Goto See
  Death:
	TNT1 A 0
	GATE J 1 Bright A_ScreamAndUnblock
	GATE J 1 Bright A_KillChildren
	GATE J 1 Bright
	TNT1 A 0 A_SpawnItemEx("ZamasuimpDeathEffect",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION,0)
	GATE JJJJJJJJJJJJJJJJJJ 2 Bright A_CustomMissile("NemesisTormentorDeathEffect",0,0,0,CMF_TRACKOWNER)
	GATE KKKKKKKKKKKKKKKKKK 2 Bright A_CustomMissile("NemesisTormentorDeathEffect",0,0,0,CMF_TRACKOWNER)
	GATE LLLLLLLLLLLLLLLLLL 2 Bright A_CustomMissile("NemesisTormentorDeathEffect",0,0,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("ZamasuimpDeathEffect",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION,0)
	GATE MMMMMMMMMMMMMMMMMM 2 Bright A_CustomMissile("NemesisTormentorDeathEffect",0,0,0,CMF_TRACKOWNER)
	GATE NNNNNNNNNNNNNNNNNNNNNN 2 Bright A_CustomMissile("NemesisTormentorDeathEffect",0,0,0,CMF_TRACKOWNER)
	GATE OOOOOOOOOOOOOOOOOOOOOOOOOO 2 Bright A_CustomMissile("NemesisTormentorDeathEffect",0,0,0,CMF_TRACKOWNER)
	GATE PQ 10 Bright
	TNT1 A 0 A_SpawnItem("ZamasuNuke",0,0,0,0)
	TNT1 A 0 ACS_NamedExecuteAlways("SetDefaultSky")
	GATE R 140
    TNT1 A 0 A_SpawnItemEx("NemesisArmorSphere",0,0,8,random(1,8),0,2,random(0,360),0)
	TNT1 A 0 A_SpawnItemEx("NemesisArmor",0,0,8,random(1,8),0,2,random(0,360),0)
	TNT1 A 0 A_SpawnItemEx("NemesisOmegaSphere",0,0,8,random(1,8),0,2,random(0,360),0)
	TNT1 A 0 A_SpawnItemEx("UnbelieveabilitySphere",0,0,8,random(1,8),0,2,random(0,360),0)
	TNT1 A 0 A_SpawnItemEx("TerminatorItem",0,0,8,random(1,8),0,2,random(0,360),0)
	TNT1 A 0 A_SpawnItemEx("NuclearMissileBox",0,0,8,random(0,8),0,2,random(0,360),0)
	TNT1 A 0 A_SpawnItemEx("Stingray",0,0,8,random(1,8),0,2,random(0,360),0)
	TNT1 A 0 A_SpawnItemEx("BFG2704",0,0,8,random(1,8),0,2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("ArmageddonCannon",0,0,8,random(0,8),0,2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("ZEN",0,0,8,random(1,8),0,2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("CynetikStrikerCannon",0,0,8,random(1,8),0,2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("SignetOfNecromancy",0,0,8,random(0,8),random(0,8),2,random(0,360),0,50)
	TNT1 A 0 A_SpawnItemEx("Jetpack",0,0,64,random(0,8),0,2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("ArmorRegenerator",0,0,64,random(0,8),0,2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("NemesisBehemothCannon",0,0,8,random(0,8),random(0,8),2,random(0,360),0,55)
	TNT1 A 0 A_SpawnItemEx("Deathwind",0,0,8,random(0,8),random(0,8),2,random(0,360),0,100)
	TNT1 A 0 A_SpawnItemEx("ZamasuStrongSphere",0,0,8,random(0,8),random(0,8),2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("UpgradedVexedNemesisArmor",0,0,8,random(0,8),random(0,8),2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("VexedNemesisPowerShard",0,0,8,random(0,8),random(0,8),2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("BeastSoulSphere",0,0,8,random(0,8),random(0,8),2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("ZamasuRune",0,0,12,random(0,8),random(0,8),2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("NemesisTimeFreezeSphere",0,0,12,random(0,8),random(0,8),2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("NemesisAmmoSphere",0,0,12,random(0,8),random(0,8),2,random(0,360),0,0)
	TNT1 A 0 A_BossDeath
	TNT1 A 0 A_KillMaster
	GATE R 63000 CanRaise
	"####" "#" 5 A_FadeOut(0.1,1)
	Wait
	}
}

Actor PainLightning : NemesisLightning2
{
Damagetype "Legendary"
States
{
  Spawn:
	TNT1 A 0
	TNT1 A 0 A_PlaySoundEx("thepain/light",7)    
	TNT1 A 0 Radius_Quake(175,8,512,1024,0)
	TNT1 AAA 0 A_CustomMissile("NemesisLightningBolt",30,0,random(0,360),2)
	TNT1 A 0 A_Explode(150,300)
	TNT1 AAA 0 A_CustomMissile("SmokeFX3",0,0,random(0,360),2,random(0,360))
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_SpawnItemEx("WhiteLightningSpark",0,0,0,random(1,10),0,random(1,10),random(0,359),0,129)
	DV10 ABCBCAB 3 Bright
	Stop
    }     
}

ACTOR ThePainTrain
{
Radius 24
Height 8
Speed 17
Monster
-SHOOTABLE
-COUNTKILL
-SOLID
var int user_limit;
States
{
   Spawn:
    TNT1 A 0
	TNT1 A 0 A_SetAngle(random(0,359))
	TNT1 A 1 A_Recoil(-40)
	TNT1 A 0 A_JumpIf(user_limit > 3,"Death")
	TNT1 A 0 A_SetUserVar("user_limit",user_limit+1)
	TNT1 A 1 A_Recoil(-4)
	TNT1 A 2 A_Jump(48,"Death")
    Goto Spawn+3
   Death:
    TNT1 A 0 A_SpawnItemEx("NemesisTeleportExplode")
    TNT1 A 5 A_SpawnItemEx("ThePainBros")
	TNT1 A 1 A_Fall
	Stop
	}
}

ACTOR ThePainBros : RandomSpawner
{
DropItem "NemesisZombie", 256, 10
DropItem "NemesisImp", 256, 10
DropItem "NemesisAssaultCaptain", 256, 10
DropItem "NemesisStealthTrooper", 256, 10
DropItem "NemesisCommando", 256, 10
DropItem "NemesisHellKnight", 256, 7
DropItem "NemesisRevenant", 256, 7
DropItem "NemesisFiend", 256, 7
DropItem "NemesisDefiler", 256, 7
DropItem "NemesisBehemoth", 256, 3
DropItem "NemesisChainsawZombie", 256, 3
DropItem "NemesisCyberNoble", 256, 3
DropItem "NemesisTormentor", 256, 3
DropItem "NemesisBabySentient", 256, 2
DropItem "NemesisExile", 256, 2
}