Actor VexedNemesisRemilia : NemesisRemilia
{
//Creator: Fluffy + Nolram for extra edits
//Origin: Infinity Gods
//Sprite: HAX5 - XRE9, ZRE1 - ZRE9
//Title: "Vexed Nemesis Remilia"
Speed 7
FloatSpeed 7
Health 90000
ActiveSound "nemesisremilia/idle"
SeeSound "nemesisremilia/sight"
PainSound ""
Species "NemesisRemilia"
PainChance "Denied1", 255
PainChance "Denied2", 255
PainChance "Denied3", 255
Painchance "PlayerPyro", 100
DamageFactor "Mainyu", 0.0
DamageFactor "RST", 0.0
DamageFactor "HFCyb3r", 0.0
DamageFactor "C0mm4nder", 0.0
DamageFactor "PlayerDTRG", 0.05
DamageFactor "PlayerPyro", 0.2
DamageFactor "PlayerDBFG", 0.0
DamageFactor "PlayerDBFG2", 0.0
DamageFactor "TrueLegendaryDamage", 0.275
DamageFactor "TrueLegendaryPlayer", 0.275
DamageFactor 0.4
Obituary "%o stood no chance against \c[w2]Vexed\c- \c[v9]Nemesis \c[p1]Remilia's\c- divine powers."
HitObituary "%o's was blasted to bits by \c[w2]Vexed\c- \c[v9]Nemesis \c[p1]Remilia's\c- knuckles."
Tag "\c[w2]Vexed Nemesis Remilia\c-"
+FLOATBOB
-MISSILEMORE
-MISSILEEVENMORE
+NEVERFAST
MinMissileChance 2000
var int user_concealed;
var int user_denied;
var int user_buffed;
var int user_resistant;
var int user_vexedupgrade;
var int user_mastertid;
var int user_fusion;
var int user_cooldown;
var int user_down;
var int user_Healinglimit;
var int user_CheckPower;
States
{
  Spawn:
    TNT1 A 0 NoDelay A_JumpIf(ACS_NamedExecuteWithResult("Disable2hu") == 1, "Remove")
	TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult("TrueLegendaryRuneSpawnCheck") == 2,2)
	TNT1 A 0 A_Jump(164,2)
	TNT1 A 0 A_SetUserVar("user_vexedupgrade",1)
	TNT1 A 0 ACS_NamedExecuteAlways("NMAuraSpawner",0)
	TNT1 A 0 ThrustThingZ(0,2,0,1)
	TNT1 A 0 A_SetInvulnerable
	TNT1 A 0 A_SetUserVar(user_mastertid,ACS_NamedExecuteWithResult("Hem_GetTID"))
	TNT1 A 0 Thing_ChangeTid(0,user_mastertid)
	TNT1 A 0 A_SpawnItemEx("RemiliaOrbitCube1",0,0,0,0,0,0,0,SXF_SETMASTER,0,user_mastertid)
	TNT1 A 0 A_SpawnItemEx("RemiliaOrbitCube2",0,0,0,0,0,0,120,SXF_SETMASTER,0,user_mastertid)
	TNT1 A 0 A_SpawnItemEx("RemiliaOrbitCube3",0,0,0,0,0,0,240,SXF_SETMASTER,0,user_mastertid)
	HAX5 ABC 4 A_Look
	TNT1 A 0 A_PlaySound("wings/flap")
	HAX5 DEFGH 4 A_Look
	TNT1 A 0 A_Stop
	TNT1 A 0 A_Jump(128,"Idle")
  Spawnloop:
    HAX5 ABC 4 A_Look //Ex(LOF_FULLVOLSEESOUND,0,0,0,360,"See")
	TNT1 A 0 A_PlaySound("wings/flap")
	HAX5 DEFGH 4 A_Look
    Loop
  Idle:
	TNT1 A 0 A_SetShootable
	TNT1 A 0 A_SetTranslucent(1)
	TNT1 A 0 A_NoGravity
	TNT1 A 0 A_ChangeFlag(FLOATBOB,0)
    TNT1 A 0 A_ChangeFlag(NODAMAGE,0)
	TNT1 A 0 A_ChangeFlag(NOPAIN,0)
	TNT1 A 0 A_ChangeFlag(FRIGHTENED,0)
  IdleLoop:
    HAX5 AAAA 1 A_Wander
	TNT1 A 0 A_Look
	HAX5 BBBB 1 A_Wander
	TNT1 A 0 A_Look
	HAX5 CCCC 1 A_Wander
	TNT1 A 0 A_PlaySound("wings/flap")
	TNT1 A 0 A_Look
	HAX5 DDDD 1 A_Wander
	TNT1 A 0 A_Look
	HAX5 EEEE 1 A_Wander
	TNT1 A 0 A_Look
	HAX5 FFFF 1 A_Wander
	TNT1 A 0 A_Look
	HAX5 GGGG 1 A_Wander
	TNT1 A 0 A_Look
	HAX5 HHHH 1 A_Wander
	TNT1 A 0 A_Look
	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, 0)
	TNT1 A 0
	Stop
  See:
    TNT1 A 0 A_ChangeFlag(FLOATBOB,0)
    TNT1 A 0 A_ChangeFlag(NODAMAGE,0)
	TNT1 A 0 A_ChangeFlag(NOPAIN,0)
	TNT1 A 0 A_ChangeFlag(FRIGHTENED,0)
	TNT1 A 0 A_ChangeFlag(NOBLOCKMONST,0)
	TNT1 A 0 A_ChangeFlag(SLIDESONWALLS,0)
	TNT1 A 0 A_JumpIf(user_CheckPower == 1,2)
	TNT1 A 0 A_Jump(256,"CheckPower")
	TNT1 A 0 A_NoGravity
	TNT1 A 0 A_SetShootable
	TNT1 A 0 A_UnSetInvulnerable
	TNT1 A 0 A_ChangeFlag(FLOAT,1)
	TNT1 A 0 A_Stop
	TNT1 A 0 A_SetTranslucent(1)
  SeeLoop:
    TNT1 A 0 A_JumpIf(user_music == 1,4)
	TNT1 A 0 ACS_NamedExecuteAlways("InfinityMusic",0,1763,1011)
	TNT1 A 0 ACS_NamedExecuteAlways("NRSky",0)
	TNT1 A 0 A_SetUserVar("user_music",1)
    TNT1 A 0 A_Jump(30,"Teleport","AltTeleport")
    HAX5 AA 1 A_Chase("Melee","")
	HAX5 AA 1 A_Chase
    HAX5 BB 1 A_Chase("Melee","")
	HAX5 BB 1 A_Chase
	TNT1 A 0 A_CheckSight(1)
	Goto Strafing2
	HAX5 CC 1 A_Chase("Melee","")
	HAX5 CC 1 A_Chase
	TNT1 A 0 A_PlaySound("wings/flap")
	HAX5 DD 1 A_Chase("Melee","")
	HAX5 DD 1 A_Chase
	TNT1 A 0 A_CheckSight(1)
	Goto Strafing3
	HAX5 EE 1 A_Chase("Melee","")
	HAX5 EE 1 A_Chase
	HAX5 FF 1 A_Chase("Melee","")
	HAX5 FF 1 A_Chase
	TNT1 A 0 A_CheckSight(1)
	Goto Strafing4
	HAX5 GG 1 A_Chase("Melee","")
	HAX5 GG 1 A_Chase
	HAX5 HH 1 A_Chase("Melee","")
	HAX5 HH 1 A_Chase
	TNT1 A 0 A_CheckSight(1)
	Goto Strafing
	TNT1 A 0 A_Jump(30,"Teleport","AltTeleport")
	Loop
  Strafing:
    HAX5 AAA 1 A_Chase("Melee","")
	TNT1 A 0 A_Jump(75,3)
	HAX5 A 1 A_Chase("Melee","Missile",CHF_FASTCHASE)
	TNT1 A 0 A_Jump(256,2)
	HAX5 A 1 A_Chase
    HAX5 BBB 1 A_Chase("Melee","")
	TNT1 A 0 A_Jump(75,3)
	HAX5 B 1 A_Chase("Melee","Missile",CHF_FASTCHASE)
	TNT1 A 0 A_Jump(256,2)
	HAX5 B 1 A_Chase
  Strafing2:
	HAX5 CCC 1 A_Chase("Melee","")
	TNT1 A 0 A_Jump(75,3)
	HAX5 C 1 A_Chase("Melee","Missile",CHF_FASTCHASE)
	TNT1 A 0 A_Jump(256,2)
	HAX5 C 1 A_Chase
	TNT1 A 0 A_PlaySound("wings/flap")
	HAX5 DDD 1 A_Chase("Melee","")
	TNT1 A 0 A_Jump(75,3)
	HAX5 D 1 A_Chase("Melee","Missile",CHF_FASTCHASE)
	TNT1 A 0 A_Jump(256,2)
	HAX5 D 1 A_Chase
  Strafing3:
	HAX5 EEE 1 A_Chase("Melee","")
	TNT1 A 0 A_Jump(75,3)
	HAX5 E 1 A_Chase("Melee","Missile",CHF_FASTCHASE)
	TNT1 A 0 A_Jump(256,2)
	HAX5 E 1 A_Chase
	HAX5 FFF 1 A_Chase("Melee","")
	TNT1 A 0 A_Jump(75,3)
	HAX5 F 1 A_Chase("Melee","Missile",CHF_FASTCHASE)
	TNT1 A 0 A_Jump(256,2)
	HAX5 F 1 A_Chase
  Strafing4:
	HAX5 GGG 1 A_Chase("Melee","")
	TNT1 A 0 A_Jump(75,3)
	HAX5 G 1 A_Chase("Melee","Missile",CHF_FASTCHASE)
	TNT1 A 0 A_Jump(256,2)
	HAX5 G 1 A_Chase
	HAX5 HHH 1 A_Chase("Melee","")
	TNT1 A 0 A_Jump(75,3)
	HAX5 H 1 A_Chase("Melee","Missile",CHF_FASTCHASE)
	TNT1 A 0 A_Jump(256,2)
	HAX5 H 1 A_Chase
	Goto See
  CheckPower:
	   TNT1 A 0 A_SetUserVar("user_CheckPower",1)
       TNT1 A 0 A_JumpIfInTargetInventory("NexusStrength",1,"CheckPower2")
       Goto See
   CheckPower2:
       TNT1 A 0 A_JumpIfInTargetInventory("TerminatorDamage2",1,"FinalTruePower")
       Goto TruePower
   TruePower:
       //TNT1 A 0 A_GiveInventory("GodFinalBattleResistanceGiver",1)  is already too powerful to need
	   TNT1 A 0 A_GiveInventory("Health",10000)
       Goto See
   FinalTruePower:
       TNT1 A 0 A_GiveInventory("GodFinalBattleResistanceGiver",1)
	   TNT1 A 0 A_GiveInventory("Health",20000)
       Goto See
  Teleport:
    HAX5 H 1 A_UnSetShootable
	TNT1 A 0 A_Stop
	TNT1 A 0 ACS_NamedExecuteAlways("NMTripleSpeed",0)
	TNT1 A 0 A_SpawnItemEx("PatriarchTeleport",0,0,35)
	TNT1 A 0 A_SetTranslucent(1,1)
	HAX5 HIJKLM 2
	HAX5 MMMM 1 A_FadeOut(0.4,0)
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	TNT1 A 0 A_SpawnItemEx("PatriarchTeleport",0,0,35)
	HAX5 MMMM 1 A_FadeIn(0.4)
	HAX5 MLKJIH 2
	TNT1 A 0 A_SetTranslucent(1,0)
	HAX5 H 1 A_SetShootable
	Goto See
  AltTeleportAfraid:
	TNT1 A 0 A_ChangeFlag(FRIGHTENED,1)
  AltTeleport:
    HAX5 H 1 A_UnSetShootable
	TNT1 A 0 A_Stop
	TNT1 A 0 ACS_NamedExecuteAlways("NMTripleSpeed",0)
	TNT1 A 0 A_SpawnItemEx("PatriarchTeleport",0,0,35)
	TNT1 A 0 ACS_NamedExecuteAlways("FadeCubes",0)
	TNT1 A 0 ACS_NamedExecuteAlways("HideEffects",0)
	TNT1 A 0 A_SetTranslucent(1,1)
	HAX5 ABCDEFGH 2
	HAX5 GFED 1 A_FadeOut(0.4,0)
	TNT1 A 0 A_SetUserVar("user_concealed",1)
	TNT1 A 0 A_SetUserVar("user_teleloop",random(0,100))
  AltTeleportLoop:
    TNT1 A 0 A_JumpIf(user_teleloop >= 300,"AltTeleportEnd")	 
	TNT1 A 0 A_SetUserVar("user_teleloop",user_teleloop+1)
	TNT1 AAA 0 A_Chase("AltTeleportEnd","",CHF_NOPLAYACTIVE)
	XRE0 A 1 A_Chase("AltTeleportEnd","",CHF_NOPLAYACTIVE)
	Loop
  AltTeleportEnd:
    TNT1 A 0 A_ChangeFlag(FRIGHTENED,0)
	TNT1 A 0 A_SetUserVar("user_concealed",0)
	TNT1 A 0 ACS_NamedExecuteAlways("ShowEffects",0)
	HAX5 M 1 A_SpawnItemEx("PatriarchTeleport",0,0,35)
	TNT1 A 0 A_SpawnItemEx("RemiliaOrbitCube1",0,0,0,0,0,0,0,SXF_SETMASTER,0,user_mastertid)
	TNT1 A 0 A_SpawnItemEx("RemiliaOrbitCube2",0,0,0,0,0,0,120,SXF_SETMASTER,0,user_mastertid)
	TNT1 A 0 A_SpawnItemEx("RemiliaOrbitCube3",0,0,0,0,0,0,240,SXF_SETMASTER,0,user_mastertid)
	HAX5 GFED 1 A_FadeIn(0.4)
	HAX5 ABCDEFGH 2
	TNT1 A 0 A_SetTranslucent(1,0)
	HAX5 H 1 A_SetShootable
	Goto See
  Missile:
	TNT1 A 0 A_Jump(22,"Healing")
    TNT1 A 0 A_Jump(255,"Lasers","Dodge","MeleeThrust","VexedSuperBallShot","VexedBallsSpam","VexedPunchs","ZenAlt","LightningStorm","DBFGAbsorbtionAttack","VexedChaosLightningBalls","SupremeVexedBlast","SuperZamasuNuke","VexedDavastatorBallsLaunch","VexedBFG9500BallsSpam","VexedDarkMatterSpam","VexedStrongBalls")
	Goto MeleeThrust
  ActivateDebuff:
    TNT1 A 0 A_FaceTarget
    TNT1 A 0 A_SetInvulnerable
	HAX6 A 10 A_ChangeFlag(NOPAIN,1)
	TNT1 A 0 A_PlaySound("nemesisremilia/startdebuff",CHAN_BODY,1.0,0,ATTN_NONE)
	TNT1 A 0 A_SetUserVar(user_missile,0)
  DebuffPrepare:
    TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	HAX6 BBB 1 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_JumpIf(user_missile >= 12,2)
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	Loop
	TNT1 A 0 A_UnSetInvulnerable
	TNT1 A 0 A_ChangeFlag(NOPAIN,0)
	TNT1 A 0 A_SetUserVar(user_missile,0)
  DebuffDetectLoop:
    HAX6 BBB 1 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	HAX6 BBB 1 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	HAX6 BBB 1 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	HAX6 BBB 1 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_Chase("","",CHF_NOPLAYACTIVE|CHF_DONTMOVE)
	HAX6 BBB 1 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_JumpIfTargetInLOS("GiveDebuff")
	HAX6 BBB 1 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	HAX6 BBB 1 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	HAX6 BBB 1 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	HAX6 BBB 1 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_Chase("","",CHF_NOPLAYACTIVE|CHF_DONTMOVE)
	HAX6 BBB 1 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_JumpIf(user_missile >= 5,"DebuffCancel")
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	TNT1 A 0 A_JumpIfTargetInLOS("GiveDebuff")
	TNT1 A 0 A_GiveToTarget("NDefilerMindfuckHeart")
	Loop
  DebuffCancel:
    TNT1 A 0 A_UnSetInvulnerable
	HAX6 P 10 A_ChangeFlag(NOPAIN,0)
	Goto See
  VexedSuperBallShot:
    HAX0 ABCDE 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
    HAX0 FGF 10 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	HAX0 F 1 Bright A_CustomMissile("NemesisGuruBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
    HAX0 GFG 10 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	HAX0 F 1 Bright A_CustomMissile("NemesisGuruBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	HAX0 GFG 10 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	Goto See
  VexedBallsSpam:
    HAX0 ABCDE 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_Recoil(-30)
    HAX0 FGF 10 Bright A_CustomMissile("MiniNemesisBFGBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	HAX0 GFG 10 Bright A_CustomMissile("MiniNemesisBFGBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	HAX0 FGF 10 Bright A_CustomMissile("MiniNemesisBFGBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	HAX0 GFG 10 Bright A_CustomMissile("MiniNemesisBFGBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	HAX0 FGF 10 Bright A_CustomMissile("MiniNemesisBFGBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	HAX0 FGF 10 Bright A_CustomMissile("MiniNemesisBFGBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	HAX0 GFG 10 Bright A_CustomMissile("MiniNemesisBFGBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	Goto See
  ZenAlt:
    DSMT E 0 A_SetReflectiveInvulnerable
	TNT1 A 0 A_ChangeFlag("NOPAIN",1)
    TNT1 A 0 A_PlaySound("ZENUP3",1,1.0,0,ATTN_NONE)
    HAX9 ABCDEFGF 5 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_Playsound("ZENUP",6,1.0,0,ATTN_NONE)
    TNT1 AAAAAAAAA 0 A_SpawnItemEx("UnmakerParticleSpawner",8,0,28,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION|SXF_TRANSFERPITCH,160)
	TNT1 A 0 A_CustomMissile("VexedCardinalAltNemUnmakerBall",0,0,0)
	TNT1 A 0 A_CustomMissile("VexedCardinalAltNemUnmakerBall",0,0,45)
	TNT1 A 0 A_CustomMissile("VexedCardinalAltNemUnmakerBall",0,0,90)
	TNT1 A 0 A_CustomMissile("VexedCardinalAltNemUnmakerBall",0,0,135)
	TNT1 A 0 A_CustomMissile("VexedCardinalAltNemUnmakerBall",0,0,180)
	TNT1 A 0 A_CustomMissile("VexedCardinalAltNemUnmakerBall",0,0,225)
	TNT1 A 0 A_CustomMissile("VexedCardinalAltNemUnmakerBall",0,0,270)
	TNT1 A 0 A_CustomMissile("VexedCardinalAltNemUnmakerBall",0,0,315)
	TNT1 A 0 Radius_Quake(40,10,0,40,0)
	HAX9 FG 7
	HAX9 FGF 10
	DSMT B 0 A_UnSetReflectiveInvulnerable
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	HAX9 DC 5
	Goto See
  LightningStorm:
    DSMT E 0 A_SetReflectiveInvulnerable
	TNT1 A 0 A_ChangeFlag("NOPAIN",1)
	TNT1 A 0 A_GiveInventory("GodsFullImunityGiver2",1)
    HAX9 ABCDEFG 2 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_CustomMissile("NemesisLightningBolt",30,0,random(0,360))
	HAX9 FGF 2 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
    TNT1 A 0 A_SpawnItemEx("NemesisLightning2",Random(1250,-1250),Random(1250,-1250),-1000,0,0,0,SXF_NOCHECKPOSITION,0)
	HAX9 GFG 2 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_CustomMissile("NemesisLightningBolt",30,0,random(0,360))
	HAX9 FGF 2 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
    TNT1 A 0 A_CustomMissile("NemesisLightningBolt",30,0,random(0,360))
	HAX9 GFG 2 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_CustomMissile("NemesisLightningBolt",30,0,random(0,360))
	HAX9 FGF 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
    TNT1 A 0 A_CustomMissile("NemesisLightningBolt",30,0,random(0,360))
	HAX9 GFG 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItemEx("NemesisLightning2",Random(1250,-1250),Random(1250,-1250),-1000,0,0,0,SXF_NOCHECKPOSITION,0)
	HAX9 FGF 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
    TNT1 A 0 A_CustomMissile("NemesisLightningBolt",30,0,random(0,360))
	HAX9 GFG 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_CustomMissile("NemesisLightningBolt",30,0,random(0,360))
	HAX9 FGF 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
    TNT1 A 0 A_CustomMissile("NemesisLightningBolt",30,0,random(0,360))
	HAX9 GFG 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItemEx("NemesisLightning2",Random(1250,-1250),Random(1250,-1250),-1000,0,0,0,SXF_NOCHECKPOSITION,0)
	HAX9 FGF 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
    TNT1 A 0 A_CustomMissile("NemesisLightningBolt",30,0,random(0,360))
	HAX9 GFG 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_CustomMissile("NemesisLightningBolt",30,0,random(0,360))
	HAX9 FGF 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
    TNT1 A 0 A_CustomMissile("NemesisLightningBolt",30,0,random(0,360))
	HAX9 GFG 1 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	HAX9 FGF 1 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
    TNT1 A 0 A_SpawnItemEx("NemesisLightning2",Random(1250,-1250),Random(1250,-1250),-1000,0,0,0,SXF_NOCHECKPOSITION,0)
	HAX9 GFG 1 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_CustomMissile("NemesisLightningBolt",30,0,random(0,360))
	HAX9 FGF 1 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
    TNT1 A 0 A_CustomMissile("NemesisLightningBolt",30,0,random(0,360))
	HAX9 GFG 1 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	HAX9 FGF 1 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
    TNT1 A 0 A_CustomMissile("NemesisLightningBolt",30,0,random(0,360))
	HAX9 GFG 1 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItemEx("NemesisLightning2",Random(1250,-1250),Random(1250,-1250),-1000,0,0,0,SXF_NOCHECKPOSITION,0)
	HAX9 FGF 1 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
    TNT1 A 0 A_CustomMissile("NemesisLightningBolt",30,0,random(0,360))
	HAX9 GFG 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	HAX9 FG 3
	HAX9 FGF 4
	DSMT B 0 A_UnSetReflectiveInvulnerable
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	HAX9 DC 5
	Goto See
   VexedPunchs:
    HAX5 ABC 7 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
    HAX4 ABC 5 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_Recoil(-40)
    TNT1 A 0 A_CustomMissile ("MiniNemesisBFGBall",52,0,0)
    TNT1 A 0 A_CustomMissile ("MiniNemesisBFGBall",52,0,8)
    TNT1 A 0 A_CustomMissile ("MiniNemesisBFGBall",52,0,-8)
	HAX4 DE 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	HAX4 EFG 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_CustomMissile ("MiniNemesisBFGBall",52,0,0)
    TNT1 A 0 A_CustomMissile ("MiniNemesisBFGBall",52,0,8)
    TNT1 A 0 A_CustomMissile ("MiniNemesisBFGBall",52,0,-8)
	HAX4 HI 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	HAX4 JKL 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	HAX5 ABC 7 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
    HAX4 ABC 5 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
    TNT1 A 0 A_CustomMissile ("MiniNemesisBFGBall",52,0,0)
    TNT1 A 0 A_CustomMissile ("MiniNemesisBFGBall",52,0,8)
    TNT1 A 0 A_CustomMissile ("MiniNemesisBFGBall",52,0,-8)
	HAX4 DE 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	HAX4 EFG 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_CustomMissile ("MiniNemesisBFGBall",52,0,0)
    TNT1 A 0 A_CustomMissile ("MiniNemesisBFGBall",52,0,8)
    TNT1 A 0 A_CustomMissile ("MiniNemesisBFGBall",52,0,-8)
	HAX4 HI 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	HAX4 JKL 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	Goto See 
  VexedChaosLightningBalls:
    HAX0 ABCDE 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
    HAX0 FGF 2 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_ChangeFlag("NOPAIN",1)
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 GF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 GF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 GF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
    HAX0 F 5 Bright A_CustomMissile("VHellsmithLightningProj",64,0,0)
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 GF 2 Bright A_FaceTarget
	TNT1 A 0 A_Recoil(-20)
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 GF 2 Bright A_FaceTarget
	HAX0 F 5 Bright A_CustomMissile("VHellsmithLightningProj",64,0,0)
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 GF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 GF 2 Bright A_FaceTarget
	HAX0 F 5 Bright A_CustomMissile("VHellsmithLightningProj",64,0,0)
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 GF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 GF 2 Bright A_FaceTarget
	HAX0 F 5 Bright A_CustomMissile("VHellsmithLightningProj",64,0,0)
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 FGF 2 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	Goto See
  SupremeVexedBlast:
    HAX0 ABCDE 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
    HAX0 FGF 2 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	TNT1 A 0 A_ChangeFlag("NOPAIN",1)
	HAX0 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 GF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Arcradimus/BFGCharge",7)
	TNT1 A 0 A_PlaySound("nemesisremilia/bigballaura",6)
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 GF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisLightning2",Random(1250,-1250),Random(1250,-1250),-1000,0,0,0,SXF_NOCHECKPOSITION,0)
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 GF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 GF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 GF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 GF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 GF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisLightning2",Random(1250,-1250),Random(1250,-1250),-1000,0,0,0,SXF_NOCHECKPOSITION,0)
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 GF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 GF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 GF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 GF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisLightning2",Random(1250,-1250),Random(1250,-1250),-1000,0,0,0,SXF_NOCHECKPOSITION,0)
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 GF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 GF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 GF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	HAX0 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Nemesis/FireBall",5,1.0,0,ATTN_NONE)
	HAX0 F 5 Bright A_CustomMissile("VexedNemesisAltBallMonster",64,0,0)
	HAX0 FGF 5 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	HAX0 GFG 5 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	Goto See
  SuperZamasuNuke:
    DSMT E 0 A_SetReflectiveInvulnerable
	TNT1 A 0 A_ChangeFlag("NOPAIN",1)
    HAX9 ABCDEFG 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 BRIGHT A_SpawnItemEx("ZamasuCyberFinalAttack",0,-50,300)
	TNT1 A 0 A_CustomMissile("NemesisLightningBolt",30,0,random(0,360))
	HAX9 FGF 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
    TNT1 A 0 A_SpawnItemEx("NemesisLightning2",Random(1250,-1250),Random(1250,-1250),-1000,0,0,0,SXF_NOCHECKPOSITION,0)
	HAX9 GFG 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_CustomMissile("NemesisLightningBolt",30,0,random(0,360))
	HAX9 FGF 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
    TNT1 A 0 A_CustomMissile("NemesisLightningBolt",30,0,random(0,360))
	HAX9 GFG 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_CustomMissile("NemesisLightningBolt",30,0,random(0,360))
	HAX9 FGF 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	HAX9 GFG 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItemEx("NemesisLightning2",Random(1250,-1250),Random(1250,-1250),-1000,0,0,0,SXF_NOCHECKPOSITION,0)
	HAX9 FGF 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	HAX9 GFG 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_CustomMissile("NemesisLightningBolt",30,0,random(0,360))
	HAX9 FGF 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	HAX9 GFG 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItemEx("NemesisLightning2",Random(1250,-1250),Random(1250,-1250),-1000,0,0,0,SXF_NOCHECKPOSITION,0)
	HAX9 FGF 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
    TNT1 A 0 A_CustomMissile("NemesisLightningBolt",30,0,random(0,360))
	HAX9 GFG 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_CustomMissile("NemesisLightningBolt",30,0,random(0,360))
	HAX9 FGF 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	HAX9 GFG 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	HAX9 FGF 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
    TNT1 A 0 A_SpawnItemEx("NemesisLightning2",Random(1250,-1250),Random(1250,-1250),-1000,0,0,0,SXF_NOCHECKPOSITION,0)
	HAX9 GFG 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_CustomMissile("NemesisLightningBolt",30,0,random(0,360))
	HAX9 FGF 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
    TNT1 A 0 A_CustomMissile("NemesisLightningBolt",30,0,random(0,360))
	HAX9 GFG 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	HAX9 FGF 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	HAX9 GFG 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItemEx("NemesisLightning2",Random(1250,-1250),Random(1250,-1250),-1000,0,0,0,SXF_NOCHECKPOSITION,0)
	HAX9 FGF 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
    TNT1 A 0 A_CustomMissile("NemesisLightningBolt",30,0,random(0,360))
	HAX9 GFG 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)//
	HAX9 FGF 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	HAX9 GFG 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItemEx("NemesisLightning2",Random(1250,-1250),Random(1250,-1250),-1000,0,0,0,SXF_NOCHECKPOSITION,0)
	HAX9 FGF 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
    TNT1 A 0 A_CustomMissile("NemesisLightningBolt",30,0,random(0,360))
	HAX9 GFG 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_CustomMissile("NemesisLightningBolt",30,0,random(0,360))
	HAX9 FGF 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	HAX9 GFG 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	HAX9 FGF 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
    TNT1 A 0 A_SpawnItemEx("NemesisLightning2",Random(1250,-1250),Random(1250,-1250),-1000,0,0,0,SXF_NOCHECKPOSITION,0)
	HAX9 GFG 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_CustomMissile("NemesisLightningBolt",30,0,random(0,360))
	HAX9 FGF 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
    TNT1 A 0 A_CustomMissile("NemesisLightningBolt",30,0,random(0,360))
	HAX9 GFG 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	HAX9 FGF 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	HAX9 GFG 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_PlaySound("Nemesis/FireBall",5,1.0,0,ATTN_NONE)
	HAX0 F 5 Bright A_CustomMissile("ZamasuCyberFinalBall",64,0,0)
	HAX0 FGF 5
	DSMT B 0 A_UnSetReflectiveInvulnerable
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	HAX0 GFG 5
	Goto See
  VexedDavastatorBallsLaunch:
    HAX5 ABC 10 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
    HAX4 ABC 10 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
    TNT1 A 0 A_CustomMissile ("VexedGeneralRDevastatorBall",52,0,0)
	HAX4 DE 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	HAX4 EFG 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_CustomMissile ("VexedGeneralRDevastatorBall",52,0,0)
	HAX4 HI 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	HAX4 JKL 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	HAX5 ABC 7 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
    HAX4 ABC 5 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
    TNT1 A 0 A_CustomMissile ("VexedGeneralRDevastatorBall",52,0,0)
	HAX4 DE 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	HAX4 EFG 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_CustomMissile ("VexedGeneralRDevastatorBall",52,0,0)
	HAX4 HI 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	HAX4 JKL 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	Goto See 
  VexedBFG9500BallsSpam:
    HAX0 ABCDE 5 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
    HAX0 FGF 5 Bright A_CustomMissile("NemesisCyberBFG9500Ball",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	HAX0 GFG 5 Bright A_CustomMissile("NemesisCyberBFG9500Ball",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	HAX0 FGF 5 Bright A_CustomMissile("NemesisCyberBFG9500Ball",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	HAX0 GFG 5 Bright A_CustomMissile("NemesisCyberBFG9500Ball",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	HAX0 FGF 5 Bright A_CustomMissile("NemesisCyberBFG9500Ball",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	HAX0 FGF 5 Bright A_CustomMissile("NemesisCyberBFG9500Ball",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	HAX0 GFG 5 Bright A_CustomMissile("NemesisCyberBFG9500Ball",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	Goto See
  VexedDarkMatterSpam:
    HAX0 ABCDE 5 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
    HAX0 FGF 1 Bright A_CustomMissile("VexedArchonDarkMatter",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	HAX0 GFG 1 Bright A_CustomMissile("VexedArchonDarkMatter",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	HAX0 FGF 1 Bright A_CustomMissile("VexedArchonDarkMatter",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	HAX0 GFG 1 Bright A_CustomMissile("VexedArchonDarkMatter",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	HAX0 FGF 1 Bright A_CustomMissile("VexedArchonDarkMatter",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	HAX0 FGF 1 Bright A_CustomMissile("VexedArchonDarkMatter",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	HAX0 GFG 1 Bright A_CustomMissile("VexedArchonDarkMatter",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	HAX0 GFG 1 Bright A_CustomMissile("VexedArchonDarkMatter",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	HAX0 FGF 1 Bright A_CustomMissile("VexedArchonDarkMatter",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	HAX0 FGF 1 Bright A_CustomMissile("VexedArchonDarkMatter",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	HAX0 GFG 1 Bright A_CustomMissile("VexedArchonDarkMatter",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	HAX0 GFG 1 Bright A_CustomMissile("VexedArchonDarkMatter",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	HAX0 FGF 1 Bright A_CustomMissile("VexedArchonDarkMatter",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	HAX0 FGF 1 Bright A_CustomMissile("VexedArchonDarkMatter",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	HAX0 GFG 1 Bright A_CustomMissile("VexedArchonDarkMatter",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	Goto See
  VexedStrongBalls:
    HAX0 ABCDE 5 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
    HAX0 FGF 6 Bright A_CustomMissile("VHellsmithStrongBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	HAX0 GFG 6 Bright A_CustomMissile("VHellsmithStrongBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	HAX0 FGF 6 Bright A_CustomMissile("VHellsmithStrongBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	HAX0 GFG 6 Bright A_CustomMissile("VHellsmithStrongBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	HAX0 FGF 6 Bright A_CustomMissile("VHellsmithStrongBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	HAX0 FGF 5 Bright A_CustomMissile("VHellsmithStrongBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	HAX0 GFG 5 Bright A_CustomMissile("VHellsmithStrongBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	HAX0 FGF 5 Bright A_CustomMissile("VHellsmithStrongBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	HAX0 GFG 5 Bright A_CustomMissile("VHellsmithStrongBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	Goto See
  GiveDebuff:
    TNT1 A 0 A_SetInvulnerable
	TNT1 A 0 A_ChangeFlag(NOPAIN,1)
	TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
    HAX6 CCCCC 1 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	TNT1 A 0 Radius_Quake(6,40,0,24,0)
    TNT1 A 0 A_PlaySound("nemesisremilia/detect",7,1.0,0,ATTN_NONE)
	TNT1 A 0 A_FaceTarget(45)
	TNT1 A 0 A_SpawnItemEx("NRDebuffEffect",0,0,35,2)
	TNT1 A 0 A_SetUserVar(user_missile,0)
  GiveDebuffLoop:
    HAX6 DDD 1 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_JumpIf(user_missile >= 10,2)
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	Loop
	TNT1 A 0 A_GiveToTarget("NRemDebuff")
	HAX6 EEE 1 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	HAX6 FFF 1 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	HAX6 GGGGG 1 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	HAX6 HHHHH 1 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_PlaySound("monster/ambientfire",5,1.0,1)
	TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SetUserVar(user_missile,0)
  GiveDebuffLoop2:
    HAX6 IIIII 1 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	HAX6 JJJJJ 1 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	HAX6 KKKKK 1 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_JumpIf(user_missile >= 3,2)
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	Loop
	HAX6 LM 5
	TNT1 A 0 A_StopSound(5)
	TNT1 A 0 A_UnSetInvulnerable
	HAX6 N 17 A_ChangeFlag(NOPAIN,0)
	HAX6 O 30
	Goto See
  ActivateBuff:
    TNT1 A 0 A_FaceTarget
    TNT1 A 0 A_SetInvulnerable
    TNT1 A 0 A_ChangeFlag(NOPAIN,1)
    TNT1 A 0 A_PlaySound("nemesisremilia/buffup",7)
    TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	HAX8 AAA 1 Bright A_SpawnItemEx("ArmorParticleWhite",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	HAX8 AA 1 Bright A_SpawnItemEx("ArmorParticleWhite",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	HAX8 BBB 1 Bright A_SpawnItemEx("ArmorParticleWhite",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	HAX8 BB 1 Bright A_SpawnItemEx("ArmorParticleWhite",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	HAX8 CCC 1 Bright A_SpawnItemEx("ArmorParticleWhite",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	HAX8 CC 1 Bright A_SpawnItemEx("ArmorParticleWhite",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	HAX8 DDD 1 Bright A_SpawnItemEx("ArmorParticleWhite",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	HAX8 DD 1 Bright A_SpawnItemEx("ArmorParticleWhite",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SetUserVar(user_missile,0)
  ActivateBuffloop:
	TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	HAX8 EE 1 Bright A_SpawnItemEx("ArmorParticleWhite",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	HAX8 EE 1 Bright A_SpawnItemEx("ArmorParticleWhite",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	HAX8 FF 1 Bright A_SpawnItemEx("ArmorParticleWhite",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	HAX8 FF 1 Bright A_SpawnItemEx("ArmorParticleWhite",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	HAX8 GG 1 Bright A_SpawnItemEx("ArmorParticleWhite",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	HAX8 GG 1 Bright A_SpawnItemEx("ArmorParticleWhite",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_JumpIf(user_missile >= 1,2)
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	Loop
    TNT1 A 0 A_FaceTarget
	TNT1 A 0 A_Jump(255,"HealBuff","ProtectionBuff","SpeedBuff")
	Goto See
  HealBuff:
	TNT1 A 0 A_PlaySound("nemesisremilia/heal",CHAN_ITEM,1.0,0,ATTN_NONE)
	TNT1 A 0 A_SpawnItemEx("NMRecoveryEffect")
	TNT1 A 0 ACS_NamedExecuteAlways("NMNemesisBuff",0,1)
	TNT1 A 0 A_SpawnItemEx("NMSparkleSpawner",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION|SXF_SETMASTER,0,user_mastertid)
	TNT1 A 0 A_SetUserVar(user_missile,0)
	Goto FinishBuff
  ProtectionBuff:
    TNT1 A 0 A_PlaySound("nemesisremilia/protection",CHAN_ITEM,1.0,0,ATTN_NONE)
	TNT1 A 0 A_SpawnItemEx("NMGlitterSpawner")
	TNT1 A 0 ACS_NamedExecuteAlways("NMNemesisBuff",0,2)
	TNT1 A 0 A_SpawnItemEx("NMConstantWhiteShield",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION|SXF_SETMASTER,0,user_mastertid)
	TNT1 A 0 A_SetUserVar(user_missile,0)
	Goto FinishBuff
  SpeedBuff:
    TNT1 A 0 A_PlaySound("nemesisremilia/speed",CHAN_ITEM,1.0,0,ATTN_NONE)
	TNT1 A 0 A_SpawnItemEx("NemesisRemiliaBuffLightning")
	TNT1 A 0 ACS_NamedExecuteAlways("NMNemesisBuff",0,3)
	TNT1 A 0 A_SpawnItemEx("NemesisRemiliaSpeedRing",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION|SXF_SETMASTER,0,user_mastertid)
	TNT1 A 0 A_SetUserVar(user_missile,0)
	Goto FinishBuff	
  FinishBuff:
	TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	HAX8 EE 1 Bright A_SpawnItemEx("ArmorParticleWhite",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	HAX8 EE 1 Bright A_SpawnItemEx("ArmorParticleWhite",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	HAX8 FF 1 Bright A_SpawnItemEx("ArmorParticleWhite",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	HAX8 FF 1 Bright A_SpawnItemEx("ArmorParticleWhite",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	HAX8 GG 1 Bright A_SpawnItemEx("ArmorParticleWhite",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	HAX8 GG 1 Bright A_SpawnItemEx("ArmorParticleWhite",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_JumpIf(user_missile >= 2,2)
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	Loop
	TNT1 A 0 A_UnSetInvulnerable
    TNT1 A 0 A_ChangeFlag(NOPAIN,0)
	HAX8 HCBA 6
	Goto See
  Dodge:
    HAX5 A 1 A_FaceTarget
	TNT1 A 0 A_PlaySound("elite/charge",6)
	TNT1 A 0 A_SetUserVar(user_missile,0)
    TNT1 A 0 A_jump(128,"DodgeRight")
	TNT1 A 0 ThrustThing(angle*256/360+192, 20, 0, 0)
	Goto ContinueDodgeLoop
  DodgeRight:
	TNT1 A 0 ThrustThing(angle*256/360+64, 20, 0, 0)
  ContinueDodgeLoop:
    HAX5 A 2 A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner3",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	TNT1 AAAAA 0 A_SpawnItemEx("VexedAuraStar",Random(-12,12),Random(-12,12),Random(30,50),Random(-2,2),Random(-2,2),Random(-2,2),Random(-20,20),0,128)
	TNT1 A 0 A_JumpIf(user_missile >= 20,2)
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+random(1,5))
	Loop
  Attack:
    HAX5 A 1 A_FaceTarget
	TNT1 A 0 A_CheckSight("See")
	TNT1 A 0 A_PlaySound("Glyph/Start",CHAN_BODY)
	HAX0 ABCDE 4 Bright A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SetUserVar(user_missile,0)
	TNT1 A 0 A_Jump(128,"DarkestMatter","BigBalls","PortalProjectiles","WhiteProjectile","SkullShot")
  Normal:
	HAX0 FFFGGGFFFGGGFFFGGGFFFGGGFFF 1 Bright A_CustomMissile("MainyuHornRodFX",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	Goto See
  SkullShot:
    HAX0 FGFGFGFGFFGFGFGFGF 3 Bright A_CustomMissile("NemesisExileSkullShot",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	Goto See
  WhiteProjectile:
    TNT1 A 0 A_PlayWeaponSound("Mainyu/Sword")
	TNT1 A 0 A_CustomMissile("MainyuSwordProjectile",30)
	HAX0 FFF 5 Bright A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	HAX0 F 15
	Goto See
  PortalProjectiles:
    TNT1 A 0 A_Jump(92,"PortalProjectileBig")
	HAX0 FFFGGGFFFGGGFFFGGG 1 Bright A_CustomMissile("MainyuPortalProjectile",30,0,random(-15,15),CMF_OFFSETPITCH,random(-4,4))
	TNT1 A 0 A_JumpIf(user_missile >= 4,"See")
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	Goto PortalProjectiles+1
  PortalProjectileBig:
    HAX0 FFGG 4 Bright A_CustomMissile("MainyuPortalProjectileBig",30,0,random(-25,25),CMF_OFFSETPITCH,random(-4,4))
	TNT1 A 0 A_JumpIf(user_missile >= 4,"See")
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	Loop
  DarkestMatter:
    HAX0 FGF 10 Bright A_CustomMissile("ActualDarkMatter",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	TNT1 A 0 A_CheckSight("See")
	HAX0 GFG 10 Bright A_CustomMissile("ActualDarkMatter",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	Goto See
  BigBalls:
    HAX0 FGF 10 Bright A_CustomMissile("NemesisCyberBigBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	TNT1 A 0 A_CheckSight("See")
	HAX0 GFG 10 Bright A_CustomMissile("NemesisCyberBigBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	Goto See
  MeleeThrustInsane:
    TNT1 A 0 A_ChangeFlag(NOPAIN,1)
  MeleeThrust:
    TNT1 A 0 A_JumpIf(user_cooldown == 1,"Dodge")
    TNT1 A 0 A_ChangeFlag(NOBLOCKMONST,1)
	TNT1 A 0 A_ChangeFlag(SLIDESONWALLS,1)
	TNT1 A 0 A_SetUserVar(user_missile,1)
    TNT1 A 0 A_PlaySound("elite/charge",6)
	TNT1 A 0 A_FaceTarget
	HAX4 A 1 Bright A_Skullattack(user_missile)
	TNT1 A 0 A_SpawnItemEx("NemesisRemiliaChargeGhost",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
  MeleeThrustLoop:
    TNT1 A 0 A_JumpIf(user_missile >= 200,"See")
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+2)
    TNT1 A 0 A_FaceTarget
	HAX4 A 1 Bright A_Skullattack(user_missile) //honestly this is kinda cursed
	TNT1 AAAAA 0 A_SpawnItemEx("VexedAuraStar",Random(-12,12),Random(-12,12),Random(30,50),Random(-2,2),Random(-2,2),Random(-2,2),Random(-20,20),0,128)
	TNT1 A 0 A_SpawnItemEx("NemesisRemiliaChargeGhost",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	TNT1 A 0 A_CheckSight("See")
	Loop
  ChargeMelee2:
    TNT1 A 0 A_ChangeFlag(SLIDESONWALLS,1)
    TNT1 A 0 A_PlaySound("elite/charge",6)
	TNT1 A 0 A_FaceTarget
	TNT1 A 0 ThrustThingZ(0,20,1,1)
	TNT1 A 0 A_Recoil(-80)
	Goto Melee+2
  ChargeMelee:
    TNT1 A 0 A_ChangeFlag(SLIDESONWALLS,1)
	TNT1 A 0 A_PlaySound("elite/charge",6)
	TNT1 A 0 A_FaceTarget
	TNT1 A 0 ThrustThingZ(0,20,1,1)
	TNT1 A 0 A_Recoil(-80)
  Melee:
    TNT1 A 0 A_JumpIf(user_cooldown == 1,"Dodge")
    TNT1 A 0 A_ChangeFlag(NOPAIN,0)
	TNT1 A 0 A_ChangeFlag(FLOATBOB,0)
	TNT1 A 0 A_ChangeFlag(NOBLOCKMONST,0)
	TNT1 A 0 A_UnSetInvulnerable
    HAX4 B 7 Fast A_PlaySound("nemesisremilia/whoosh",7)
	TNT1 A 0 A_CustomMeleeAttack(random(110,250),"nemesisremilia/punch","none","NemesisRemilia")
	HAX4 CDEFG 3 Fast
	TNT1 A 0 A_JumpIfCloser(300,"Melee2")
	Goto See
  Melee2:
	TNT1 A 0 A_FaceTarget
	TNT1 A 0 ThrustThingZ(0,5,1,1)
	TNT1 A 0 A_Recoil(-40)
	HAX4 H 5 Fast A_PlaySound("nemesisremilia/whoosh",7)
	TNT1 A 0 A_FaceTarget
	TNT1 A 0 ThrustThingZ(0,5,1,1)
	HAX4 I 2 Fast A_Recoil(-40)
	HAX4 J 7 Fast A_CustomMeleeAttack(random(110,250),"nemesisremilia/punch","none","NemesisRemilia")
	HAX4 K 6 Fast
	TNT1 A 0 A_CheckSight("See")
	TNT1 A 0 A_Jump(80,"SuperMelee2")
    TNT1 A 0 A_JumpIfCloser(300,"ContinueMelee2")
  ContinueMelee:
    TNT1 A 0 A_FaceTarget
	TNT1 A 0 ThrustThingZ(0,5,1,1)
	TNT1 A 0 A_Recoil(-40)
	HAX4 H 5 Fast A_PlaySound("nemesisremilia/whoosh",7)
	TNT1 A 0 A_FaceTarget
	TNT1 A 0 ThrustThingZ(0,5,1,1)
	HAX4 I 2 Fast A_Recoil(-40)
	HAX4 J 7 Fast A_CustomMeleeAttack(random(110,250),"nemesisremilia/punch","none","NemesisRemilia")
	HAX4 K 6 Fast
	TNT1 A 0 A_CheckSight("See")
    TNT1 A 0 A_Jump(80,"SuperMelee2")
    TNT1 A 0 A_JumpIfCloser(300,"ContinueMelee2")
	Goto See
  ContinueMelee2:
    TNT1 A 0 A_FaceTarget
	TNT1 A 0 ThrustThingZ(0,5,1,1)
	TNT1 A 0 A_Recoil(-40)
    HAX4 B 7 Fast A_PlaySound("nemesisremilia/whoosh",7)
	TNT1 A 0 A_FaceTarget
	TNT1 A 0 ThrustThingZ(0,5,1,1)
	TNT1 A 0 A_Recoil(-40)
	TNT1 A 0 A_CustomMeleeAttack(random(110,250),"nemesisremilia/punch","none","NemesisRemilia")
	HAX4 CDEFG 3 Fast
	TNT1 A 0 A_CheckSight("See")
	TNT1 A 0 A_Jump(80,"SuperMelee")
	TNT1 A 0 A_JumpIfCloser(300,"ContinueMelee")
	Goto See
  SuperMelee:
    TNT1 A 0 A_FaceTarget
	TNT1 A 0 ThrustThingZ(0,5,1,1)
	TNT1 A 0 A_Recoil(-40)
	HAX4 H 5 Fast A_PlaySound("nemesisremilia/whoosh",7)
	TNT1 A 0 A_FaceTarget
	TNT1 A 0 ThrustThingZ(0,5,1,1)
	HAX4 I 2 Fast A_Recoil(-40)
	TNT1 A 0 A_SpawnItemEx("NemesisRemiliaHitEffect",0,0,35)
	HAX4 J 7 Fast A_VileAttack("nemesisremilia/bigpunch",Random(150,350),0,100,random(3,4),"NemesisRemilia")
	HAX4 K 15 Fast
	TNT1 A 0 A_ChangeFlag(SLIDESONWALLS,0)
	TNT1 A 0 ACS_NamedExecuteAlways("NRAttackCooldown",0,10)
	Goto See
  SuperMelee2:
    TNT1 A 0 A_FaceTarget
	TNT1 A 0 ThrustThingZ(0,5,1,1)
	TNT1 A 0 A_Recoil(-40)
    HAX4 B 7 Fast A_PlaySound("nemesisremilia/whoosh",7)
	TNT1 A 0 A_FaceTarget
	TNT1 A 0 ThrustThingZ(0,5,1,1)
	TNT1 A 0 A_Recoil(-40)
	TNT1 A 0 A_VileAttack("nemesisremilia/bigpunch",Random(150,350),0,100,random(3,4),"NemesisRemilia")
	TNT1 A 0 A_SpawnItemEx("NemesisRemiliaHitEffect",0,0,35)
	HAX4 CDEFG 3 Fast
	TNT1 A 0 A_ChangeFlag(SLIDESONWALLS,0)
	TNT1 A 0 ACS_NamedExecuteAlways("NRAttackCooldown",0,10)
	Goto See
  Lasers:
	TNT1 A 0 A_PlaySound("MReimu/Cast1")
	TNT1 A 0 A_SpawnItemEx("NemesisRemiliaCastEffect1")
	HAX0 ABCDE 4 Bright
	TNT1 A 0 A_SetUserVar(user_missile,0)
	TNT1 A 0 A_Playsound("superlaser",7,1,0,ATTN_NONE)
	HAX0 F 2 A_CustomMissile("NemesisRemiliaRailLaser",38,0,user_missile)
  LaserLoop:
	TNT1 A 0 A_JumpIf(user_missile >= 360,"See")
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+10)
	TNT1 A 0 A_CustomMissile("NemesisRemiliaRailLaser",38,0,user_missile*-1)
	HAX0 F 2 Bright A_CustomMissile("NemesisRemiliaRailLaser",38,0,user_missile)
	Loop
  ChargeAttack:
    //TNT1 A 0 A_SetInvulnerable
    TNT1 A 0 A_ChangeFlag(NOPAIN,1)
    HAX0 AB 5
	TNT1 A 0 A_SetUserVar(user_missile,0)
	TNT1 A 0 Radius_Quake(5,60,0,24,0)
	TNT1 A 0 A_PlaySound("nemesisremilia/buffup",7)
  ChargeLoop:
    TNT1 A 0 A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	HAX0 CCC 1 Bright A_SpawnItemEx("ArmorParticleWhite",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_JumpIf(user_missile >= 13,2)
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	Loop
	//TNT1 A 0 A_UnSetInvulnerable
    TNT1 A 0 A_ChangeFlag(NOPAIN,0)
	HAX0 DE 5 Bright A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_Jump(90,"NemesisBFG")
  MiniNemesisBFG:
	TNT1 A 0 A_FaceTarget
	TNT1 A 0 A_PlaySound("FantasyStaff/Fire2",7,1.0,0,0.2)
    TNT1 A 0 A_PlaySound("FantasyStaff/Meltdown",6,1.0,0,0.2)
	TNT1 A 0 A_CustomMissile("MiniNemesisBFGBall",38,0,-90)
	TNT1 A 0 A_CustomMissile("MiniNemesisBFGBall",38,0,90)
	TNT1 A 0 A_CustomMissile("MiniNemesisBFGBall",38,0,-45)
	TNT1 A 0 A_CustomMissile("MiniNemesisBFGBall",38,0,45)
	TNT1 A 0 A_CustomMissile("MiniNemesisBFGBall",38,0,0)
	HAX0 FFFFFFF 5 Bright A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_FaceTarget
	TNT1 A 0 A_PlaySound("FantasyStaff/Fire2",7,1.0,0,0.2)
    TNT1 A 0 A_PlaySound("FantasyStaff/Meltdown",6,1.0,0,0.2)
	TNT1 A 0 A_CustomMissile("MiniNemesisBFGBall",38,0,-30)
	TNT1 A 0 A_CustomMissile("MiniNemesisBFGBall",38,0,30)
	TNT1 A 0 A_CustomMissile("MiniNemesisBFGBall",38,0,-15)
	TNT1 A 0 A_CustomMissile("MiniNemesisBFGBall",38,0,15)
	TNT1 A 0 A_CustomMissile("MiniNemesisBFGBall",38,0,0)
	HAX0 FFFFFF 5 Bright A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	Goto See
  NemesisBFG:
    TNT1 A 0 A_PlaySound("NemesisBFG/Fire",1)
    TNT1 A 0 A_CustomMissile("NemesisGuruBall",30,0,0)
	HAX0 FFFFFFF 5 Bright A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	Goto See
  Nuke:
    TNT1 A 0 A_JumpIf(user_fusion > 0,"Attack")
	HAX9 A 1 Bright A_Stop
	TNT1 A 0 A_SetInvulnerable
    TNT1 A 0 A_ChangeFlag(NOPAIN,1)
	TNT1 A 0 ACS_NamedExecuteAlways("FadeCubes",0)
	TNT1 A 0 A_SetUserVar(user_missile,0)
	TNT1 A 0 A_PlaySound("nemesisremilia/attack",2,1.0,FALSE,ATTN_NONE)
    HAX9 AAAAAA 1 Bright A_SpawnItemEx("NemesisRemiliaParticle",random(60,80),0,random(0,64),frandom(-3,-1),0,0,random(0,360))
	TNT1 A 0 A_PlaySound("Arcradimus/BFGCharge",7)
	TNT1 A 0 A_PlaySound("nemesisremilia/bigballaura",6)
	TNT1 A 0 A_SpawnItemEx("NemesisRemiliaBallChargingWarp",0,0,0,0,0,0,0,SXF_SETMASTER,0,user_mastertid)
	HAX9 BBBBBB 1 Bright A_SpawnItemEx("NemesisRemiliaParticle",random(60,80),0,random(0,64),frandom(-3,-1),0,0,random(0,360))
	HAX9 CCCCCC 1 Bright A_SpawnItemEx("NemesisRemiliaParticle",random(60,80),0,random(0,64),frandom(-3,-1),0,0,random(0,360))
	HAX9 DDDDDD 1 Bright A_SpawnItemEx("NemesisRemiliaParticle",random(60,80),0,random(0,64),frandom(-3,-1),0,0,random(0,360))
  NukeChargeLoop:
	HAX9 EEEEEE 1 Bright A_SpawnItemEx("NemesisRemiliaParticle",random(60,80),0,random(0,64),frandom(-3,-1),0,0,random(0,360))
	TNT1 A 0 A_SpawnItemEX("NemesisRemiliaLightning",Random(-600,600),Random(-600,600),0,0,0,0,0,0,192)
	HAX9 FFFFFF 1 Bright A_SpawnItemEx("NemesisRemiliaParticle",random(60,80),0,random(0,64),frandom(-3,-1),0,0,random(0,360))
	TNT1 A 0 A_SpawnItemEX("NemesisRemiliaLightning",Random(-600,600),Random(-600,600),0,0,0,0,0,0,192)
	HAX9 GGGGGG 1 Bright A_SpawnItemEx("NemesisRemiliaParticle",random(60,80),0,random(0,64),frandom(-3,-1),0,0,random(0,360))
	TNT1 A 0 A_SpawnItemEX("NemesisRemiliaLightning",Random(-600,600),Random(-600,600),0,0,0,0,0,0,192)
	TNT1 A 0 A_JumpIf(user_missile >= 100,2)
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+10)
	Loop
	HAX9 HIJ 6 Bright
	HAX9 K 9
	TNT1 A 0 Radius_Quake(6,34,0,24,0)
	TNT1 A 0 ACS_NamedExecuteAlways("FadeBall",0)
	TNT1 A 0 A_CustomMissile("NemesisRemiliaBall",120,0,0,0)
	HAX9 LMN 3 Bright
	TNT1 A 0 A_SetUserVar("user_fusion",user_fusion+30)
	TNT1 A 0 ACS_NamedExecuteAlways("FusionCooldownTimer",0)
	HAX9 O 10 Bright
	TNT1 A 0 A_UnSetInvulnerable
	TNT1 A 0 A_ChangeFlag(NOPAIN,0)
	TNT1 A 0 A_SpawnItemEx("RemiliaOrbitCube1",0,0,0,0,0,0,0,SXF_SETMASTER,0,user_mastertid)
	TNT1 A 0 A_SpawnItemEx("RemiliaOrbitCube2",0,0,0,0,0,0,120,SXF_SETMASTER,0,user_mastertid)
	TNT1 A 0 A_SpawnItemEx("RemiliaOrbitCube3",0,0,0,0,0,0,240,SXF_SETMASTER,0,user_mastertid)
	HAX9 PQR 8
	Goto See
  Elementalist:
	TNT1 A 0 A_FaceTarget
    TNT1 A 0 A_SetInvulnerable
    TNT1 A 0 A_ChangeFlag(NOPAIN,1)
    TNT1 A 0 A_Jump(255,"CallHFCyber","CallHeresiarch","CallCerebralCommander","CallCorruptedCardinal")
	Goto See
  CallHFCyber:
    CRE3 A 1 A_Stop
	CRE3 A 6 A_PlaySound("nemesisremilia/attack",2,1.0,FALSE,ATTN_NONE)
	CRE3 B 6 A_PlaySound("nemesisremilia/firecharge",7)
	CRE3 CC 4 Bright A_SpawnItem("NMRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("HFCGhost1",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION|SXF_SETMASTER,0,user_mastertid)
	TNT1 A 0 Radius_Quake(5,60,0,24,0)
	CRE3 CCCCCCCCCCCCCCCCC 4 Bright A_SpawnItem("NMRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_JumpIf(user_resistant == 1,2)
    TNT1 A 0 A_Jump(60,"Denied1")
	TNT1 A 0 A_UnSetInvulnerable
    TNT1 A 0 A_ChangeFlag(NOPAIN,0)
	TNT1 A 0 A_Jump(128,"FireDodge")
	CRE3 DD 3 Bright A_SpawnItem("NMRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("OrangeParticleSpawner",0,0,30,0,0,0,0,0,128)
	CRE3 EE 3 Bright A_SpawnItem("NMRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SetUserVar(user_missile,0)
	TNT1 A 0 A_Jump(255,"PyroShot","ForgottenOnes","FireRandom")
	Goto See
  CallHeresiarch:
    YRE3 A 1 A_Stop
	YRE3 A 6 A_PlaySound("nemesisremilia/attack",2,1.0,FALSE,ATTN_NONE)
	TNT1 A 0 A_PlayWeaponSound("nemesisremilia/magiccharge")
	YRE3 B 6 A_PlaySound("nemesisremilia/firecharge",7)
	YRE3 CC 4 Bright A_SpawnItem("NMPurpleRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("HereGhost1",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION|SXF_SETMASTER,0,user_mastertid)
	TNT1 A 0 Radius_Quake(5,60,0,24,0)
	YRE3 CCCCCCCCCCCCCCCCC 4 Bright A_SpawnItem("NMPurpleRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_JumpIf(user_resistant == 1,2)
    TNT1 A 0 A_Jump(60,"Denied2")
	TNT1 A 0 A_UnSetInvulnerable
    TNT1 A 0 A_ChangeFlag(NOPAIN,0)
	TNT1 A 0 A_Jump(128,"MagicDodge")
	YRE3 DDEE 3 Bright A_SpawnItem("NMPurpleRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SetUserVar(user_missile,0)
	TNT1 A 0 A_Jump(255,"BouncyComets","DarkMatter","MagicLaser","Nemesis")
	Goto See
  CallCerebralCommander:
    YRE3 A 1 A_Stop
	YRE3 A 6 A_PlaySound("nemesisremilia/attack",2,1.0,FALSE,ATTN_NONE)
	TNT1 A 0 A_PlayWeaponSound("nemesisremilia/magiccharge")
	YRE3 B 6 A_PlaySound("nemesisremilia/firecharge",7)
	YRE3 CC 4 Bright A_SpawnItem("NMPurpleRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("CerebralGhost1",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION|SXF_SETMASTER,0,user_mastertid)
	TNT1 A 0 Radius_Quake(5,60,0,24,0)
	YRE3 CCCCCCCCCCCCCCCCC 4 Bright A_SpawnItem("NMPurpleRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_JumpIf(user_resistant == 1,2)
    TNT1 A 0 A_Jump(60,"Denied3")
	TNT1 A 0 A_UnSetInvulnerable
    TNT1 A 0 A_ChangeFlag(NOPAIN,0)
	TNT1 A 0 A_Jump(128,"MagicDodge2")
	YRE3 DDEE 3 Bright A_SpawnItem("NMPurpleRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SetUserVar(user_missile,0)
	TNT1 A 0 A_Jump(255,"SummonManipulator","Antimatter","PurpleDBFGTeleportSpam","PurplePyroShot")
	Goto See
  CallCorruptedCardinal:
    ZRE3 A 1 A_Stop
	ZRE3 A 6 Bright A_PlaySound("nemesisremilia/attack",2,1.0,FALSE,ATTN_NONE)
	ZRE3 B 6 Bright A_PlaySound("nemesisremilia/dbfgcharge",7)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	ZRE3 CC 1 Bright A_SpawnItemEx("ArmorParticleBlue",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	ZRE3 CC 1 Bright A_SpawnItemEx("ArmorParticleBlue",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	ZRE3 CC 1 Bright A_SpawnItemEx("ArmorParticleBlue",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	ZRE3 CC 1 Bright A_SpawnItemEx("ArmorParticleBlue",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItemEx("CorCardGhost1",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION|SXF_SETMASTER,0,user_mastertid)
	TNT1 A 0 Radius_Quake(5,60,0,24,0)
	TNT1 A 0 A_SetUserVar(user_missile,0)
  CorruptedChargeLoop:
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	ZRE3 CC 1 Bright A_SpawnItemEx("ArmorParticleBlue",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_JumpIf(user_missile >= 29,2)
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	Loop
    TNT1 A 0 A_Jump(60,"Denied4")
	TNT1 A 0 A_UnSetInvulnerable
	TNT1 A 0 A_ChangeFlag(NOPAIN,0)
	TNT1 A 0 A_Jump(128,"BlueDodge")
    ZRE3 DDD 1 Bright A_SpawnItemEx("ArmorParticleBlue",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	ZRE3 DDD 1 Bright A_SpawnItemEx("ArmorParticleBlue",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	ZRE3 EEE 1 Bright A_SpawnItemEx("ArmorParticleBlue",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	ZRE3 EEE 1 Bright A_SpawnItemEx("ArmorParticleBlue",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SetUserVar(user_missile,0)
	TNT1 A 0 A_Jump(255,"DBFG","DBFG10kBalls","BlueLaser")
	Goto See
  Denied1:
    TNT1 A 0 A_SpawnItemEx("HFCGhost2",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION|SXF_SETMASTER,0,user_mastertid)
	TNT1 A 0 A_SetUserVar(user_denied,user_denied+1)
	CRE3 CCCCCC 4 Bright A_SpawnItem("NMRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_UnSetInvulnerable
    TNT1 A 0 A_ChangeFlag(NOPAIN,0)
	CRE3 CCCCCCCCCCCCC 4 Bright A_SpawnItem("NMRageFlameSpawner",0,0,0,0)
	Goto See
  Denied2:
    TNT1 A 0 A_FaceTarget
    TNT1 A 0 A_SpawnItemEx("HereGhost2",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION|SXF_SETMASTER,0,user_mastertid)
	TNT1 A 0 A_SetUserVar(user_denied,user_denied+1)
	YRE3 CCCCCCCC 4 Bright A_SpawnItem("NMPurpleRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_UnSetInvulnerable
    TNT1 A 0 A_ChangeFlag(NOPAIN,0)
	YRE3 CCCCCCCCCCCCC 4 Bright A_SpawnItem("NMPurpleRageFlameSpawner",0,0,0,0)
	Goto See
  Denied3:
    TNT1 A 0 A_SpawnItemEx("CerebralGhost2",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION|SXF_SETMASTER,0,user_mastertid)
	TNT1 A 0 A_SetUserVar(user_denied,user_denied+1)
	YRE3 CCCCCCCCC 4 Bright A_SpawnItem("NMPurpleRageFlameSpawner",0,0,0,0)
	YRE3 C 1 Bright A_UnSetShootable
	HAX5 I 1 A_Playsound("nemesisremilia/pain", 2, 1.0, 0, ATTN_NONE)
	TNT1 A 0 ACS_NamedExecuteAlways("FadeCubes",0)
	TNT1 A 0 ACS_NamedExecuteAlways("HideEffects",0)
	TNT1 A 0 A_SetUserVar("user_concealed",1)
	TNT1 A 0 ACS_NamedExecuteAlways("NMTripleSpeed",0)
	HAX5 IIIIIIII 1 A_FadeOut(0.2,0)
	TNT1 A 0 A_StopSound(2)
	TNT1 A 0 A_ChangeFlag(FRIGHTENED,1)
	TNT1 A 0 A_SetUserVar("user_teleloop",random(0,150))
  VoidLoop:
	TNT1 A 1 A_Chase("","",CHF_NOPLAYACTIVE)
	TNT1 A 0 A_JumpIf(user_teleloop >= 300,2)	 
	TNT1 A 0 A_SetUserVar("user_teleloop",user_teleloop+1)
	Loop
	TNT1 A 0 A_ChangeFlag(NOPAIN,0)
	TNT1 A 0 A_ChangeFlag(FRIGHTENED,0)
	HAX5 I 13 A_SpawnItemEx("CerebralGhost3",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION|SXF_SETMASTER)
	TNT1 A 0 A_UnSetInvulnerable
	TNT1 A 0 A_SetShootable
	TNT1 A 0 A_SetUserVar("user_concealed",0)
	TNT1 A 0 ACS_NamedExecuteAlways("ShowEffects",0)
	HAX5 I 100
	TNT1 A 0 A_SetTranslucent(1)
	TNT1 A 0 A_SpawnItemEx("RemiliaOrbitCube1",0,0,0,0,0,0,0,SXF_SETMASTER,0,user_mastertid)
	TNT1 A 0 A_SpawnItemEx("RemiliaOrbitCube2",0,0,0,0,0,0,120,SXF_SETMASTER,0,user_mastertid)
	TNT1 A 0 A_SpawnItemEx("RemiliaOrbitCube3",0,0,0,0,0,0,240,SXF_SETMASTER,0,user_mastertid)
	Goto See
  Denied4:
    TNT1 A 0 A_FaceTarget
    TNT1 A 0 A_SpawnItemEx("CorCardGhost2",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION|SXF_SETMASTER,0,user_mastertid)
	TNT1 A 0 A_SetUserVar(user_denied,user_denied+1)
	ZRE3 CCCCCCCCCCCCCCCCC 4 Bright A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_UnSetInvulnerable
    TNT1 A 0 A_ChangeFlag(NOPAIN,0)
	ZRE3 CCCCCCCCCCCCC 4 Bright A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	Goto See
  BlueDodge:
	TNT1 A 0 A_PlaySound("elite/charge",6)
	TNT1 A 0 A_SetUserVar(user_missile,0)
	TNT1 A 0 A_FaceTarget
    TNT1 A 0 A_jump(128,3)
	TNT1 A 0 ThrustThing(angle*256/360+192, 20, 0, 0)
	TNT1 A 0 A_jump(255,2)
    TNT1 A 0 ThrustThing(angle*256/360+64, 20, 0, 0)
  BlueDodgeLoop:
    ZRE3 C 1 Bright A_SpawnItemEx("ArmorParticleBlue",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner3",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	TNT1 A 0 A_JumpIf(user_missile >= 12,2)
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+random(1,3))
	Loop
	ZRE3 DDD 1 Bright A_SpawnItemEx("ArmorParticleBlue",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	ZRE3 DDD 1 Bright A_SpawnItemEx("ArmorParticleBlue",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	ZRE3 EEE 1 Bright A_SpawnItemEx("ArmorParticleBlue",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	ZRE3 EEE 1 Bright A_SpawnItemEx("ArmorParticleBlue",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SetUserVar(user_missile,0)
	TNT1 A 0 A_Jump(255,"DBFG","DBFG10kBalls","BlueLaser")
	Goto See
  FireDodge:
	TNT1 A 0 A_PlaySound("elite/charge",6)
	TNT1 A 0 A_SetUserVar(user_missile,0)
	TNT1 A 0 A_FaceTarget
    TNT1 A 0 A_jump(128,3)
	TNT1 A 0 ThrustThing(angle*256/360+192, 20, 0, 0)
	TNT1 A 0 A_jump(255,2)
    TNT1 A 0 ThrustThing(angle*256/360+64, 20, 0, 0)
  FireDodgeLoop:
    CRE3 C 1 Bright A_SpawnItem("NMRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner3",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	TNT1 A 0 A_SpawnItemEx("OrangeParticleSpawner",0,0,30,0,0,0,0,0,128)
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+random(1,3))
	TNT1 A 0 A_JumpIf(user_missile >= 12,1)
	Loop
	CRE3 DD 3 Bright A_SpawnItem("NMRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("OrangeParticleSpawner",0,0,30,0,0,0,0,0,128)
	CRE3 EE 3 Bright A_SpawnItem("NMRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SetUserVar(user_missile,0)
	TNT1 A 0 A_Jump(255,"PyroShot","ForgottenOnes","FireRandom")
	Goto See
  MagicDodge:
	TNT1 A 0 A_PlaySound("elite/charge",6)
	TNT1 A 0 A_SetUserVar(user_missile,0)
	TNT1 A 0 A_FaceTarget
    TNT1 A 0 A_jump(128,3)
	TNT1 A 0 ThrustThing(angle*256/360+192, 20, 0, 0)
	TNT1 A 0 A_jump(255,2)
    TNT1 A 0 ThrustThing(angle*256/360+64, 20, 0, 0)
  MagicDodgeLoop:
    YRE3 C 1 Bright A_SpawnItem("NMPurpleRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner3",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	TNT1 A 0 A_SpawnItemEx("PurpleParticleSpawner",0,0,30,0,0,0,0,0,128)
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+random(1,3))
	TNT1 A 0 A_JumpIf(user_missile >= 12,1)
	Loop
	YRE3 DD 3 Bright A_SpawnItem("NMPurpleRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("PurpleParticleSpawner",0,0,30,0,0,0,0,0,128)
	YRE3 EE 3 Bright A_SpawnItem("NMPurpleRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SetUserVar(user_missile,0)
	TNT1 A 0 A_Jump(255,"BouncyComets","DarkMatter","MagicLaser","Nemesis")
	Goto See
  MagicDodge2:
	TNT1 A 0 A_PlaySound("elite/charge",6)
	TNT1 A 0 A_SetUserVar(user_missile,0)
	TNT1 A 0 A_FaceTarget
    TNT1 A 0 A_jump(128,3)
	TNT1 A 0 ThrustThing(angle*256/360+192, 20, 0, 0)
	TNT1 A 0 A_jump(255,2)
    TNT1 A 0 ThrustThing(angle*256/360+64, 20, 0, 0)
  MagicDodgeLoop:
    YRE3 C 1 Bright A_SpawnItem("NMPurpleRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner3",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	TNT1 A 0 A_SpawnItemEx("PurpleParticleSpawner",0,0,30,0,0,0,0,0,128)
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+random(1,3))
	TNT1 A 0 A_JumpIf(user_missile >= 12,1)
	Loop
	YRE3 DD 3 Bright A_SpawnItem("NMPurpleRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("PurpleParticleSpawner",0,0,30,0,0,0,0,0,128)
	YRE3 EE 3 Bright A_SpawnItem("NMPurpleRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SetUserVar(user_missile,0)
	TNT1 A 0 A_Jump(255,"SummonManipulator","Antimatter","PurpleDBFGTeleportSpam","PurplePyroShot")
	Goto See
  DBFG:
    ZRE3 F 1 Bright A_CustomMissile("T3DBFGBall",30,0,0)
	TNT1 A 0 A_PlayWeaponSound("Weapons/dbfgfire")
	ZRE3 FFFFFFFFFFF 2 Bright A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_JumpIf(user_missile >= 6,"See")
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+random(1,2))
	TNT1 AAAAAAAAAAAA 0 A_SpawnItemEx("BlueCardLineSpawner")
	ZRE3 A 0 A_Stop
	ZRE3 F 2 Bright A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	ZRE3 A 0 A_FadeOut(0.4,0)
	ZRE3 F 2 Bright A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	ZRE3 A 0 A_FadeOut(0.4,0)
	ZRE3 F 2 Bright A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	ZRE3 A 0 A_FadeOut(0.4,0)
	ZRE3 F 2 Bright A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	ZRE3 F 1 Bright A_UnSetShootable
	TNT1 A 0 ACS_NamedExecuteAlways("NMTripleSpeed",0)
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	ZRE3 F 1 Bright A_faceTarget
	TNT1 AAAAAAAAAAAA 0 A_SpawnItemEx("BlueCardLineSpawner")
	ZRE3 A 0 A_SetTranslucent(1)
	TNT1 A 0 A_Jump(128,3)
	TNT1 A 0 ThrustThing(angle*256/360+192, 40, 0, 0)
	TNT1 A 0 A_Jump(256,2)
	TNT1 A 0 ThrustThing(angle*256/360+64, 40, 0, 0)
	ZRE3 F 1 Bright A_SetShootable
	TNT1 A 0 A_CheckSight("See")
	ZRE3 FFF 2 Bright A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	Loop
  DBFG10kBalls:
    TNT1 A 0 A_Jump(128,"DBFG10kBallsSpam")
    TNT1 A 0 A_CustomMissile("T3DBFG10KBall",30,0,0)
	TNT1 A 0 A_CustomMissile("T3DBFG10KBall",30,0,-45)
	TNT1 A 0 A_CustomMissile("T3DBFG10KBall",30,0,45)
	ZRE3 F 1 Bright A_PlaySound("Weapons/dbfgfire2")
	ZRE3 FFFFFFFFFF 3 Bright A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	Goto See
  DBFG10kBallsSpam:
    TNT1 A 0 A_CustomMissile("T3DBFG10KBall",30,0,0)
	ZRE3 F 1 Bright A_PlaySound("Weapons/dbfgfire2")
  DBFG10kBallsSpamLoop:
    ZRE3 F 1 Bright A_UnSetShootable
	TNT1 A 0 ACS_NamedExecuteAlways("NMTripleSpeed",0)
	TNT1 AAAAAAAAAAAA 0 A_SpawnItemEx("BlueCardLineSpawner")
	TNT1 A 0 A_SetUserVar("user_concealed",1)
	TNT1 A 0 ACS_NamedExecuteAlways("FadeCubes",0)
    ZRE3 FFFFFFFFFFF 1 Bright A_FadeOut(0.1,0)
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	ZRE3 F 20
	ZRE3 F 1 A_PlayWeaponSound("boss/teleport")
	TNT1 AAAAAAAAAAAA 0 A_SpawnItemEx("BlueCardLineSpawner")
	TNT1 A 0 A_SpawnItemEx("RemiliaOrbitCube1",0,0,0,0,0,0,0,SXF_SETMASTER,0,user_mastertid)
	TNT1 A 0 A_SpawnItemEx("RemiliaOrbitCube2",0,0,0,0,0,0,120,SXF_SETMASTER,0,user_mastertid)
	TNT1 A 0 A_SpawnItemEx("RemiliaOrbitCube3",0,0,0,0,0,0,240,SXF_SETMASTER,0,user_mastertid)
	TNT1 A 0 A_SetUserVar("user_concealed",0)
	ZRE3 FFFFFFFFFFF 1 Bright A_FadeIn(0.1)
	TNT1 A 0 A_SetShootable
	TNT1 A 0 A_CheckSight("See")
	ZRE3 F 1 Bright A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_CustomMissile("T3DBFG10KBall2",30,0,0)
	ZRE3 F 1 Bright A_PlaySound("Weapons/dbfgfire2")
	TNT1 A 0 A_JumpIf(user_missile >= 6,"See")
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+random(1,2))
	Loop
  BlueLaser:
	TNT1 A 0 A_SpawnItemEx("CorCardGhost3",0,0,0,0,0,0,0,SXF_SETMASTER,0,user_mastertid)
  BlueLaserLoop:
	TNT1 A 0 A_JumpIf(user_missile >= 24,"See")
	TNT1 A 0 A_SetUserVar("user_missile",user_missile+1)
	TNT1 A 0 A_PlaySound("Laser/Beam",CHAN_NOPAUSE)
	TNT1 A 0 A_CustomMissile("LaserBeam",116,6,0,0)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	ZRE3 F 2 Bright A_CustomMissile("LaserBeam",116,-6,0,0)
	TNT1 A 0 A_CustomMissile("LaserBeam",116,6,0,0)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	ZRE3 F 2 Bright A_CustomMissile("LaserBeam",116,-6,0,0)
	Loop
  SummonManipulator:
    TNT1 A 0 A_Stop
    YRE3 F 1 Bright A_FaceTarget
    TNT1 A 0 A_SpawnItem("NMPurpleRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_CustomMissile("CommanderPulse",29)
	TNT1 A 0 A_SpawnItemEx("PurpleParticleSpawner",0,0,30)
	YRE3 F 3 Bright A_SpawnItemEx("Manipulator",0,0,0,0,0,0,random(-300,300),SXF_NOCHECKPOSITION|SXF_SETMASTER)
	YRE3 GGG 3 Bright A_SpawnItem("NMPurpleRageFlameSpawner",0,0,0,0)
	Goto See
  Antimatter:
	YRE3 F 1 Bright A_SpawnItem("NMPurpleRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("PurpleParticleSpawner",0,0,30,0,0,0,0,0,128)
    TNT1 A 0 A_JumpIf(user_missile >= 40,"See")
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
    TNT1 A 0 A_Jump(255,1,2)
	YRE3 F 1 Bright A_CustomMissile("CommanderAntiMatterMissile",30,0,random(-8,8),CMF_OFFSETPITCH,frandom(-4,4))
	Goto Antimatter
	YRE3 F 1 Bright A_CustomMissile("CommanderPlasmaBlast",30,0,random(-8,8),CMF_OFFSETPITCH,frandom(-4,4))
	Goto Antimatter
  PurpleDBFGTeleportSpam:
	YRE3 F 1 Bright A_CustomMissile("PurpleDBFGBall",30,0,0)
	TNT1 A 0 A_PlayWeaponSound("Weapons/dbfgfire")
	YRE3 FFFFFFFFFFF 2 Bright A_SpawnItem("NMPurpleRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_JumpIf(user_missile >= 6,"See")
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+random(1,2))
	TNT1 A 0 A_SpawnItemEx("ManpTeleportFXSpawner",0,0,35)
	YRE3 A 0 A_Stop
	YRE3 F 2 Bright A_SpawnItem("NMPurpleRageFlameSpawner",0,0,0,0)
	YRE3 A 0 A_FadeOut(0.4,0)
	YRE3 F 2 Bright A_SpawnItem("NMPurpleRageFlameSpawner",0,0,0,0)
	YRE3 A 0 A_FadeOut(0.4,0)
	YRE3 F 2 Bright A_SpawnItem("NMPurpleRageFlameSpawner",0,0,0,0)
	YRE3 A 0 A_FadeOut(0.4,0)
	YRE3 F 2 Bright A_SpawnItem("NMPurpleRageFlameSpawner",0,0,0,0)
	YRE3 F 1 Bright A_UnSetShootable
	TNT1 A 0 ACS_NamedExecuteAlways("NMTripleSpeed",0)
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	YRE3 F 1 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("ManpTeleportFXSpawner",0,0,35)
	YRE3 A 0 A_SetTranslucent(1)
	TNT1 A 0 A_Jump(128,3)
	TNT1 A 0 ThrustThing(angle*256/360+192, 40, 0, 0)
	TNT1 A 0 A_Jump(256,2)
	TNT1 A 0 ThrustThing(angle*256/360+64, 40, 0, 0)
	YRE3 F 1 Bright A_SetShootable
	TNT1 A 0 A_CheckSight("See")
	YRE3 FFF 2 Bright A_SpawnItem("NMPurpleRageFlameSpawner",0,0,0,0)
	Loop
  PurplePyroShot:
	TNT1 A 0 A_CustomMissile("PatriarchCommanderPyroShot",30,0,0)
	TNT1 A 0 A_PlayWeaponSound("nemesisremilia/pyro")
	TNT1 A 0 A_SpawnItemEx("PurpleParticleSpawner",0,0,30,0,0,0,0,0,128)
	YRE3 FF 3 Bright A_SpawnItem("NMPurpleRageFlameSpawner",0,0,0,0)
	YRE3 GGGG 3 Bright A_SpawnItem("NMPurpleRageFlameSpawner",0,0,0,0)
    TNT1 A 0 A_CustomMissile("PatriarchCommanderPyroShot",30,0,0)
	TNT1 A 0 A_PlayWeaponSound("nemesisremilia/pyro")
	TNT1 A 0 A_SpawnItemEx("PurpleParticleSpawner",0,0,30,0,0,0,0,0,128)
	YRE3 FF 3 Bright A_SpawnItem("NMPurpleRageFlameSpawner",0,0,0,0)
	YRE3 GGGG 3 Bright A_SpawnItem("NMPurpleRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_CustomMissile("PatriarchCommanderPyroShot",30,0,0)
	TNT1 A 0 A_PlayWeaponSound("nemesisremilia/pyro")
	TNT1 A 0 A_SpawnItemEx("PurpleParticleSpawner",0,0,30,0,0,0,0,0,128)
	YRE3 FF 3 Bright A_SpawnItem("NMPurpleRageFlameSpawner",0,0,0,0)
	YRE3 GGGG 3 Bright A_SpawnItem("NMPurpleRageFlameSpawner",0,0,0,0)
	Goto See
  Nemesis:
    TNT1 A 0 A_PlaySound("Nemesis/FireBall",6,1.0,0,ATTN_NONE)
	TNT1 A 0 A_CustomMissile("NemesisAltBallMonster",30,0,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("PurpleParticleSpawner",0,0,30,0,0,0,0,0,128)
	YRE3 FG 5
	Goto See
  MagicLaser:
    YRE3 F 1 Bright A_CustomMissile("HeresiarchLaserBeam",30,0,0,CMF_TRACKOWNER|CMF_CHECKTARGETDEAD)
	YRE3 F 1 Bright A_SpawnItem("NMPurpleRageFlameSpawner",0,0,0,0)
    TNT1 A 0 A_JumpIf(user_missile >= 35,"See")
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	Loop
  DarkMatter:
	YRE3 F 1 Bright A_SpawnItem("NMPurpleRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("PurpleParticleSpawner",0,0,30,0,0,0,0,0,128)
    TNT1 A 0 A_JumpIf(user_missile >= 60,"See")
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
    TNT1 A 0 A_Jump(255,1,2)
	YRE3 F 1 Bright A_CustomMissile("HeresiarchDarkMatter",30,0,random(-8,8),CMF_OFFSETPITCH,frandom(-4,4))
	Goto DarkMatter
	YRE3 F 1 Bright A_CustomMissile("HeresiarchDarkMatterHoming",30,0,random(-8,8),CMF_OFFSETPITCH,frandom(-4,4))
	Goto DarkMatter
  BouncyComets:
	TNT1 AA 0 A_CustomMissile("ArcradimusSeekerComet",30,0,random(-8,8),CMF_TRACKOWNER|CMF_OFFSETPITCH,frandom(-2.0,2.0))
	TNT1 A 0 A_SpawnItemEx("PurpleParticleSpawner",0,0,30,0,0,0,0,0,128)
	YRE3 FFF 1 Bright A_SpawnItem("NMPurpleRageFlameSpawner",0,0,0,0)
	TNT1 AA 0 A_CustomMissile("ArcradimusSeekerComet",30,0,random(-8,8),CMF_TRACKOWNER|CMF_OFFSETPITCH,frandom(-2.0,2.0))
	TNT1 A 0 A_SpawnItemEx("PurpleParticleSpawner",0,0,30,0,0,0,0,0,128)
	YRE3 GGG 1 Bright A_SpawnItem("NMPurpleRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_JumpIf(user_missile >= 16,"See")
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	Loop
  PyroShot:
	TNT1 A 0 A_CustomMissile("RSTPyroShot",30,0,0)
	TNT1 A 0 A_PlayWeaponSound("nemesisremilia/pyro")
	TNT1 A 0 A_SpawnItemEx("OrangeParticleSpawner",0,0,30,0,0,0,0,0,128)
	CRE3 FF 3 Bright A_SpawnItem("NMRageFlameSpawner",0,0,0,0)
	CRE3 GGGG 3 Bright A_SpawnItem("NMRageFlameSpawner",0,0,0,0)
    TNT1 A 0 A_CustomMissile("RSTPyroShot",30,0,0)
	TNT1 A 0 A_PlayWeaponSound("nemesisremilia/pyro")
	TNT1 A 0 A_SpawnItemEx("OrangeParticleSpawner",0,0,30,0,0,0,0,0,128)
	CRE3 FF 3 Bright A_SpawnItem("NMRageFlameSpawner",0,0,0,0)
	CRE3 GGGG 3 Bright A_SpawnItem("NMRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_CustomMissile("RSTPyroShot",30,0,0)
	TNT1 A 0 A_PlayWeaponSound("nemesisremilia/pyro")
	TNT1 A 0 A_SpawnItemEx("OrangeParticleSpawner",0,0,30,0,0,0,0,0,128)
	CRE3 FF 3 Bright A_SpawnItem("NMRageFlameSpawner",0,0,0,0)
	CRE3 GGGG 3 Bright A_SpawnItem("NMRageFlameSpawner",0,0,0,0)
	Goto See
  ForgottenOnes:
    TNT1 A 0 A_CustomMissile("ForgottenOneBomb",30,0,random(-8,8),CMF_OFFSETPITCH,frandom(-4,4))
    CRE3 F 3 Bright A_SpawnItem("NMRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("OrangeParticleSpawner",0,0,30,0,0,0,0,0,128)
	TNT1 A 0 A_JumpIf(user_missile >= 40,2)
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	Loop
    TNT1 A 0 A_CustomMissile("PyroShot",30,0,0)
	TNT1 A 0 A_PlayWeaponSound("nemesisremilia/pyro")
	TNT1 A 0 A_SpawnItemEx("OrangeParticleSpawner",0,0,30,0,0,0,0,0,128)
	CRE3 FF 3 Bright A_SpawnItem("NMRageFlameSpawner",0,0,0,0)
	Goto See
  FireRandom:
	CRE3 F 1 Bright A_SpawnItem("NMRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("OrangeParticleSpawner",0,0,30,0,0,0,0,0,128)
    TNT1 A 0 A_JumpIf(user_missile >= 80,"See")
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
    TNT1 A 0 A_Jump(255,1,2,3,4,5)
	CRE3 F 1 Bright A_CustomMissile("LavaBall",30,0,random(-8,8),CMF_OFFSETPITCH,frandom(-4,4)) //,30,0,0)
	Goto FireRandom
	CRE3 F 1 Bright A_CustomMissile("HFCyberFireBalls",30,0,random(-8,8),CMF_OFFSETPITCH,frandom(-4,4))
	Goto FireRandom
	CRE3 F 1 Bright A_CustomMissile("IComet",30,0,random(-8,8),CMF_OFFSETPITCH,frandom(-4,4))
	Goto FireRandom
	CRE3 F 1 Bright A_CustomMissile("CyberSeekingComet",30,0,random(-8,8),CMF_OFFSETPITCH,frandom(-4,4))
	Goto FireRandom
	CRE3 F 1 Bright A_CustomMissile("HFCyberMiniFireBall",30,0,random(-8,8),CMF_OFFSETPITCH,frandom(-4,4))
	Goto FireRandom
  Pain.PlayerPyro:
    //vexedjump
	TNT1 A 0 ThrustThing(angle*256/128,random(30,40))
	TNT1 A 0 A_JumpIf(user_resistant == 1,"pain")
    TNT1 A 0 ThrustThingZ(0,35,0,0)
	Goto StartFall
  Pain.Denied3:
    HAX5 IIIIIIII 0 A_FadeIn(0.2)
	TNT1 A 0 ThrustThing(Random(0,360),random(60,90))
	Goto StartFall
  Pain.Denied2:
    TNT1 A 0 ThrustThingZ(0,35,0,0)
	TNT1 A 0 ThrustThing(angle*256/360,random(30,40))
    Goto StartFall
  Pain.Denied1:
    TNT1 A 0 ThrustThingZ(0,35,0,0)
	TNT1 A 0 ThrustThing(Random(0,360),random(15,20))
  StartFall:
    TNT1 A 0 A_ChangeFlag(NOPAIN,1)
	TNT1 A 0 A_ChangeFlag(NOGRAVITY,0)
	TNT1 A 0 A_ChangeFlag(FLOAT,0)
	TNT1 A 0 A_ChangeFlag(NOBLOCKMONST,1)
    TNT1 A 0 A_ChangeFlag(SLIDESONWALLS,1)
    HAX5 I 4 A_Playsound("nemesisremilia/pain", 2, 1.0, 0, ATTN_NONE)
	TNT1 A 0 ACS_NamedExecuteAlways("DestroyCubes",0)
	TNT1 A 0 ACS_NamedExecuteAlways("HideEffects",0)
	HAX5 KKKKKKKKKK 1 A_SpawnItemEx("VexedAuraStar",Random(-12,12),Random(-12,12),Random(30,50),Random(-2,2),Random(-2,2),Random(-2,2),Random(-20,20),0,64)
	TNT1 A 0 ACS_NamedExecuteAlways("CheckVelocityForNM",0,1)
  FallLoop:
	HAX5 K 1 A_SpawnItemEx("VexedAuraStar",Random(-12,12),Random(-12,12),Random(30,50),Random(-2,2),Random(-2,2),Random(-2,2),Random(-20,20),0,64)
	Wait
  FallX2:
    TNT1 A 0 ThrustThingZ(0,frandom(35,45),0,0)
	TNT1 A 0 A_PlaySound("nemesisremilia/bodyfall",7)
	HAX5 OOOOOOOOOO 1 A_SpawnItemEx("VexedAuraStar",Random(-12,12),Random(-12,12),Random(30,50),Random(-2,2),Random(-2,2),Random(-2,2),Random(-20,20),0,64)
	TNT1 A 0 ACS_NamedExecuteAlways("CheckVelocityForNM",0,2)
  FallX2Loop:
    TNT1 A 0 A_SetUserVar("user_down",1)
	HAX5 O 1 A_SpawnItemEx("VexedAuraStar",Random(-12,12),Random(-12,12),Random(30,50),Random(-2,2),Random(-2,2),Random(-2,2),Random(-20,20),0,64)
	Wait
  FinishFall:
    TNT1 A 0 A_ChangeFlag(SLIDESONWALLS,0)
    HAX5 P 75 A_PlaySound("nemesisremilia/bodyfall",7)
  Resurrect:
	TNT1 A 0 A_ChangeFlag(NOGRAVITY,1)
	TNT1 A 0 A_ChangeFlag(FLOAT,1)
	TNT1 A 0 A_ChangeFlag(NOBLOCKMONST,0)
	TNT1 A 0 ThrustThingZ(0,6,0,0)
	TNT1 A 0 A_SpawnItemEx("NemesisRemiliaResurrect")
	TNT1 A 0 A_PlaySound("nemesisremilia/stand",7,1.0,0,ATTN_NONE)
	TNT1 A 0 ACS_NamedExecuteAlways("ShowEffects",0)
	TNT1 A 0 A_SetInvulnerable
	TNT1 A 0 A_SetUserVar("user_down",0)
	HAX5 RRRRRRRRRRRRRRRRRRRR 1 A_SpawnItemEx("NemesisRemiliaParticle",Random(-2,2),Random(-2,2),Random(-2,2),Random(-6,6),Random(-6,6),Random(6,12),Random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("RemiliaOrbitCube1",0,0,0,0,0,0,0,SXF_SETMASTER,0,user_mastertid)
	TNT1 A 0 A_SpawnItemEx("RemiliaOrbitCube2",0,0,0,0,0,0,120,SXF_SETMASTER,0,user_mastertid)
	TNT1 A 0 A_SpawnItemEx("RemiliaOrbitCube3",0,0,0,0,0,0,240,SXF_SETMASTER,0,user_mastertid)
	HAX5 SSSSSSSSSSSSTTTTT 1 A_SpawnItemEx("NemesisRemiliaParticle",Random(-2,2),Random(-2,2),Random(-2,2),Random(-6,6),Random(-6,6),Frandom(2,4),Random(0,360),0,32)
	HAX5 T 7
	HAX5 U 12
	TNT1 A 0 A_ChangeFlag(NOPAIN,0)
	TNT1 A 0 A_UnSetInvulnerable
	Goto See
  Pain.PlayerDBFG10K2:
  Pain.DBFG10K2:
  Pain.DBFG:
  Pain.PlayerDBFG:
  Pain.DBFG2:
  Pain.PlayerDBFG210K:
  Pain.DBFG210K:
  Pain.DBFG2Splash:
  Pain.PlayerDBFG2:
    TNT1 A 0 A_Jump(256,"DBFGHealing")
    TNT1 A 0 A_ChangeFlag(NOBLOCKMONST,0)
	TNT1 A 0 ACS_NamedExecuteAlways("FadeCalls",0)
    TNT1 A 0 A_JumpIf(user_buffed == 1,"AltDBFGPain")
    TNT1 A 0 A_ChangeFlag(NOPAIN,1)
	TNT1 A 0 A_SetInvulnerable
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("nemesisremilia/buffup",7)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	TNT1 A 0 Radius_Quake(5,90,0,24,0)
	HAX9 SSS 1 Bright A_SpawnItemEx("ArmorParticleBlue",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	HAX9 SS 1 Bright A_SpawnItemEx("ArmorParticleBlue",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	HAX9 TTT 1 Bright A_SpawnItemEx("ArmorParticleBlue",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	HAX9 TT 1 Bright A_SpawnItemEx("ArmorParticleBlue",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	HAX9 UUU 1 Bright A_SpawnItemEx("ArmorParticleBlue",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	HAX9 UU 1 Bright A_SpawnItemEx("ArmorParticleBlue",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SetUserVar(user_missile,0)
  Absorbloop:
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	TNT1 A 0 Healthing(Random(10,50))
	HAX9 VV 1 Bright A_SpawnItemEx("ArmorParticleBlue",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	TNT1 A 0 Healthing(Random(10,50))
	HAX9 VV 1 Bright A_SpawnItemEx("ArmorParticleBlue",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	TNT1 A 0 Healthing(Random(10,50))
	HAX9 WW 1 Bright A_SpawnItemEx("ArmorParticleBlue",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	TNT1 A 0 Healthing(Random(10,50))
	HAX9 WW 1 Bright A_SpawnItemEx("ArmorParticleBlue",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	TNT1 A 0 Healthing(Random(10,50))
	HAX9 "XX" 1 Bright A_SpawnItemEx("ArmorParticleBlue",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	TNT1 A 0 Healthing(Random(10,50))
	HAX9 "XX" 1 Bright A_SpawnItemEx("ArmorParticleBlue",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_JumpIf(user_missile >= 2,2)
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	Loop
    TNT1 A 0 A_SpawnItemEx("NMBlueBuffEffect",0,0,35)
	TNT1 A 0 A_SpawnItemEx("NMConstantBlueShield",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION|SXF_SETMASTER,0,user_mastertid)
	TNT1 A 0 A_PlaySound("nemesisremilia/bluebuff",CHAN_ITEM,1.0,0,ATTN_NONE)
	TNT1 A 0 ACS_NamedExecuteAlways("NMBlueBuff",0)
  Absorb2Loop:
    TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	HAX9 VV 1 Bright A_SpawnItemEx("ArmorParticleBlue",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	HAX9 VV 1 Bright A_SpawnItemEx("ArmorParticleBlue",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	HAX9 WW 1 Bright A_SpawnItemEx("ArmorParticleBlue",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	HAX9 WW 1 Bright A_SpawnItemEx("ArmorParticleBlue",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	HAX9 "XX" 1 Bright A_SpawnItemEx("ArmorParticleBlue",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	HAX9 "XX" 1 Bright A_SpawnItemEx("ArmorParticleBlue",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_JumpIf(user_missile >= 7,2)
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	Loop
	HAX9 UTS 4 Bright
	TNT1 A 0 A_UnSetInvulnerable
	TNT1 A 0 A_ChangeFlag(NOPAIN,0)
	Goto See
  AltDBFGPain:
	TNT1 A 0 A_ChangeFlag(NOPAIN,1)
	TNT1 A 0 A_JumpIf(user_cooldown == 1,2)
	TNT1 A 0 A_JumpIfCloser(350,"ChargeMelee2")
	TNT1 A 0 A_Jump(256,"Teleport","AltTeleport","MeleeThrustInsane")
	Goto See
  Pain.Melee:
	//TNT1 A 0 A_JumpIf(user_mode == 1,"PainMelee.vexed")
	TNT1 A 0 A_ChangeFlag(NOPAIN,1)
	TNT1 A 0 ACS_NamedExecuteAlways("FadeCalls",0)
	TNT1 A 0 A_Jump(192,"SuperMelee")
	Goto Missile
  DBFGAbsorbtionAttack:
    TNT1 A 0 A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
    HAX0 ABCDE 3 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 AAAAAAAA 0 A_SpawnItemEx("BlueSentLineSpawner")
	HAX0 GFG 5 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 AAAAAAAA 0 A_SpawnItemEx("BlueSentLineSpawner")
    HAX0 FGF 5 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 AAAAAAAA 0 A_SpawnItemEx("BlueSentLineSpawner")
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	HAX0 F 1 Bright A_CustomMissile("T3DBFG10KBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
    HAX0 GFG 5 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 AAAAAAAA 0 A_SpawnItemEx("BlueSentLineSpawner")
	TNT1 A 0 A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	HAX0 GFG 5 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 AAAAAAAA 0 A_SpawnItemEx("BlueSentLineSpawner")
	TNT1 A 0 A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	HAX0 F 1 Bright A_CustomMissile("T3DBFG10KBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	TNT1 A 0 A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
    HAX0 FGF 5 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 AAAAAAAA 0 A_SpawnItemEx("BlueSentLineSpawner")
	TNT1 A 0 A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	HAX0 FGF 5 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 AAAAAAAA 0 A_SpawnItemEx("BlueSentLineSpawner")
	TNT1 A 0 A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	HAX0 F 1 Bright A_CustomMissile("CorruptedLegCardiBLGSuperLightningBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	HAX0 GFG 5 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 AAAAAAAA 0 A_SpawnItemEx("BlueSentLineSpawner")
	TNT1 A 0 A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	HAX0 GFG 5 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 AAAAAAAA 0 A_SpawnItemEx("BlueSentLineSpawner")
	TNT1 A 0 A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	HAX0 F 1 Bright A_CustomMissile("CorruptedLegCardiBLGSuperLightningBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	TNT1 AAAAAAAA 0 A_SpawnItemEx("BlueSentLineSpawner")
	TNT1 A 0 A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	HAX0 FGF 5 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 AAAAAAAA 0 A_SpawnItemEx("BlueSentLineSpawner")
	TNT1 A 0 A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	HAX0 F 1 Bright A_CustomMissile("CorruptedLegCardiBLGSuperLightningBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	HAX0 GFG 5 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 AAAAAAAA 0 A_SpawnItemEx("BlueSentLineSpawner")
	TNT1 A 0 A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	HAX0 GFG 5 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 AAAAAAAA 0 A_SpawnItemEx("BlueSentLineSpawner")
	TNT1 A 0 A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	HAX0 F 1 Bright A_CustomMissile("CorruptedLegCardiBLGSuperLightningBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	HAX0 GFG 5 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 AAAAAAAA 0 A_SpawnItemEx("BlueSentLineSpawner")
	TNT1 A 0 A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	HAX0 F 1 Bright A_CustomMissile("T3DBFGBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	HAX0 GFG 10 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 AAAAAAAA 0 A_SpawnItemEx("BlueSentLineSpawner")
	Goto See
  Pain:
    TNT1 A 0 A_ChangeFlag(NOBLOCKMONST,0)
	TNT1 A 0 ACS_NamedExecuteAlways("FadeCalls",0)
	TNT1 A 0 A_Jump(16,"PainMissile")
    HAX5 I 4 A_Playsound("nemesisremilia/pain", 2, 1.0, 0, ATTN_NONE)
	HAX5 J 4
	TNT1 A 0 A_Jump (16,"Healing")
    Goto See
  PainMissile:
    TNT1 A 0 A_ChangeFlag(NOPAIN,1)
	HAX5 I 4 A_Playsound("nemesisremilia/pain", 2, 1.0, 0, ATTN_NONE)
	HAX5 J 4
	TNT1 A 0 A_Jump (16,"Healing")
	Goto Missile
   Healing:
    TNT1 A 0 A_JumpIf(user_Healinglimit >= 6,"See")
	TNT1 A 0 A_SetUserVar(user_Healinglimit,user_Healinglimit+1)
    HAX9 E 0 A_SetReflectiveInvulnerable
	TNT1 A 0 A_ChangeFlag("NOPAIN",1)
	TNT1 A 0 A_GiveInventory("GodsFullImunityGiver2",1)
    HAX9 ABCDEFG 7 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_PlaySound("nemesisremilia/buffup",7)
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner3",0,0,0,0)
	TNT1 A 0 A_GiveInventory("Health",750)
	HAX9 FGF 7 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner3",0,0,0,0)
	TNT1 A 0 A_GiveInventory("Health",750)
	HAX9 GFG 7 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner3",0,0,0,0)
	TNT1 A 0 A_GiveInventory("Health",750)
	HAX9 FGF 7 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner3",0,0,0,0)
	TNT1 A 0 A_GiveInventory("Health",750)
	HAX9 GFG 7 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner3",0,0,0,0)
	TNT1 A 0 A_GiveInventory("Health",750)
	HAX9 FGF 7 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 A 0 A_GiveInventory("Health",750)
	HAX9 FG 7
	HAX9 FGF 10
	DSMT B 0 A_UnSetReflectiveInvulnerable
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	HAX9 DC 5
	Goto See
   DBFGHealing:
    DSMT E 0 A_SetReflectiveInvulnerable
	TNT1 A 0 A_ChangeFlag("NOPAIN",1)
	TNT1 A 0 A_GiveInventory("GodsFullImunityGiver2",1)
	TNT1 AAAAAAAA 0 A_SpawnItemEx("BlueSentLineSpawner")
    HAX9 ABCDEFG 7 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 AAAAAAAA 0 A_SpawnItemEx("BlueSentLineSpawner")
	TNT1 A 0 A_SpawnItemEx("NMBlueBuffEffect",0,0,35)
	TNT1 A 0 A_PlaySound("nemesisremilia/bluebuff",CHAN_ITEM,1.0,0,ATTN_NONE)
	TNT1 A 0 A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_GiveInventory("Health",1250)
	HAX9 FGF 7 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 AAAAAAAA 0 A_SpawnItemEx("BlueSentLineSpawner")
	TNT1 A 0 A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_GiveInventory("Health",1250)
	HAX9 GFG 7 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 AAAAAAAA 0 A_SpawnItemEx("BlueSentLineSpawner")
	TNT1 A 0 A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_GiveInventory("Health",1250)
	HAX9 FGF 7 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 AAAAAAAA 0 A_SpawnItemEx("BlueSentLineSpawner")
	TNT1 A 0 A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_GiveInventory("Health",1250)
	HAX9 GFG 7 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 AAAAAAAA 0 A_SpawnItemEx("BlueSentLineSpawner")
	TNT1 A 0 A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_GiveInventory("Health",1250)
	HAX9 FGF 7 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 AAAAAAAA 0 A_SpawnItemEx("BlueSentLineSpawner")
	TNT1 A 0 A_GiveInventory("Health",1250)
	HAX9 GFG 7 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 AAAAAAAA 0 A_SpawnItemEx("BlueSentLineSpawner")
	TNT1 A 0 A_SpawnItem("TrueLegendaryCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("NMBlueRageFlameSpawner",0,0,0,0)
	TNT1 A 0 A_GiveInventory("Health",1250)
	HAX9 FGF 7 Bright A_SpawnItemEx("VexedAuraStar",Random(-2,2),Random(-2,2),Random(20,30),Random(-4,4),Random(-4,4),Random(-4,4),Random(-360,360),0,32)
	TNT1 AAAAAAAA 0 A_SpawnItemEx("BlueSentLineSpawner")
	TNT1 A 0 A_GiveInventory("Health",1250)
	HAX9 FG 7
	HAX9 FGF 10
	DSMT B 0 A_UnSetReflectiveInvulnerable
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	HAX9 DC 5
	TNT1 A 0 A_Jump(150,"DBFGAbsorbtionAttack")
	Goto See
  Death:
    TNT1 A 0 ACS_NamedExecuteAlways("NMDestroyed",0)
	TNT1 A 0 A_KillChildren
	TNT1 A 0 A_StopSound(5)
	TNT1 A 0 A_ChangeFlag(FLOAT,0)
	TNT1 A 0 A_ChangeFlag(NOBLOCKMONST,0)
	TNT1 A 0 A_ChangeFlag(SOLID,0)
	TNT1 A 0 A_SetTranslucent(1)
	TNT1 A 0 A_JumpIf(user_down == 1,"Downfall")
	TNT1 A 0 ACS_NamedExecuteAlways("CheckVelocityForNM",0,3)
	TNT1 A 0 A_Playsound("nemesisremilia/pain",CHAN_VOICE,1.0,0,ATTN_NONE)
	HAX5 IIIIIII 1 Bright A_SpawnItemEx("VexedAuraStar",Random(-12,12),Random(-12,12),Random(30,50),Random(-2,2),Random(-2,2),Random(-2,2),Random(-20,20),0,64)
	HAX5 J 1 Bright A_SpawnItemEx("VexedAuraStar",Random(-12,12),Random(-12,12),Random(30,50),Random(-2,2),Random(-2,2),Random(-2,2),Random(-20,20),0,64)
	Wait
  Downfall:
    HAX5 P 1 Bright A_Stop
	Goto Death2+4
  Death2:
    HAX5 R 25 Bright A_PlaySound("nemesisremilia/bodyfall",CHAN_BODY)
	TNT1 A 0 A_Playsound("nemesisremilia/death",CHAN_VOICE,1.0,0,ATTN_NONE)
	TNT1 A 0 ACS_NamedExecuteAlways("NRDarkness",0)
	HAX5 J 230 Bright A_Playsound("nemesisremilia/thunderstorm",7,1.0,0,ATTN_NONE)
	TNT1 A 0 A_Quake(5,350,0,1000,"")
	TNT1 A 0 A_PlaySound("brain/spit",6,1.0,0,ATTN_NONE)
	TNT1 A 0 A_CustomMissile("NemPentaLine3",0,0,-72,2)
    TNT1 A 0 A_CustomMissile("NemPentaLine3",0,0,-144,2)
    TNT1 A 0 A_CustomMissile("NemPentaLine3",0,0,-216,2)
    TNT1 A 0 A_CustomMissile("NemPentaLine3",0,0,-288,2)
    TNT1 A 0 A_CustomMissile("NemPentaLine3",0,0,0,2)
	TNT1 A 0 ThrustThingZ(0,3,0,0)
	TNT1 A 0 A_Playsound("VexedPatriarch/Death2",CHAN_BODY,1.0,0,ATTN_NONE)
	TNT1 A 0 A_ChangeFlag(NOGRAVITY,1)
	TNT1 A 0 A_SetUserVar(user_missile,0)
  DeathLoop:
	HAX5 K 1 Bright A_SpawnItemEx("NRSkullEffect",Random(10,20),Random(10,20),Random(20,30),Random(1,2),Random(1,2),Random(2,4),Random(0,360),0,168)
	TNT1 A 0 A_Jump(10,"DeathLightning")
	TNT1 A 0 A_SpawnItem("NRItemRandomizer")
	TNT1 A 0 A_SpawnItemEX("NemesisRemiliaLightning2",Random(-1200,1200),Random(-1200,1200),-1000,0,0,0,0,0,230) //NemesisRemiliaLightning
	TNT1 A 0 A_JumpIf(user_missile >= 180,"ActualDeath")
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	Loop
  DeathLightning:
    TNT1 A 0 A_SetUserVar(user_effects,0)
	TNT1 A 0 A_Playsound("nemesisremilia/zap",CHAN_WEAPON,1.0,0,ATTN_NONE)
  DeathLightningLoop:
	TNT1 A 0 A_Jump(255,1,27)
	HAX5 L 1 Bright A_SpawnItemEx("NRSkullEffect",Random(10,20),Random(10,20),Random(20,30),Random(1,2),Random(1,2),Random(2,4),Random(0,360),0,168)
	TNT1 A 0 A_SpawnItem("NRItemRandomizer")
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	TNT1 A 0 A_SpawnItemEX("NemesisRemiliaLightning",Random(-1200,1200),Random(-1200,1200),-1000,0,0,0,0,0,250)
	HAX5 L 1 Bright A_SpawnItemEx("NRSkullEffect",Random(10,20),Random(10,20),Random(20,30),Random(1,2),Random(1,2),Random(2,4),Random(0,360),0,168)
	TNT1 A 0 A_SpawnItem("NRItemRandomizer")
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	TNT1 A 0 A_SpawnItemEX("NemesisRemiliaLightning",Random(-1200,1200),Random(-1200,1200),-1000,0,0,0,0,0,250)
	HAX5 L 1 Bright A_SpawnItemEx("NRSkullEffect",Random(10,20),Random(10,20),Random(20,30),Random(1,2),Random(1,2),Random(2,4),Random(0,360),0,168)
	TNT1 A 0 A_SpawnItem("NRItemRandomizer")
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	TNT1 A 0 A_SpawnItemEX("NemesisRemiliaLightning",Random(-1200,1200),Random(-1200,1200),-1000,0,0,0,0,0,250)
	HAX5 L 1 Bright A_SpawnItemEx("NRSkullEffect",Random(10,20),Random(10,20),Random(20,30),Random(1,2),Random(1,2),Random(2,4),Random(0,360),0,168)
	TNT1 A 0 A_SpawnItem("NRItemRandomizer")
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	TNT1 A 0 A_SpawnItemEX("NemesisRemiliaLightning",Random(-1200,1200),Random(-1200,1200),-1000,0,0,0,0,0,250)
	HAX5 L 1 Bright A_SpawnItemEx("NRSkullEffect",Random(10,20),Random(10,20),Random(20,30),Random(1,2),Random(1,2),Random(2,4),Random(0,360),0,168)
	TNT1 A 0 A_SpawnItem("NRItemRandomizer")
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	TNT1 A 0 A_SpawnItemEX("NemesisRemiliaLightning",Random(-1200,1200),Random(-1200,1200),-1000,0,0,0,0,0,250)
	HAX5 L 1 Bright A_SpawnItemEx("NRSkullEffect",Random(10,20),Random(10,20),Random(20,30),Random(1,2),Random(1,2),Random(2,4),Random(0,360),0,168)
	TNT1 A 0 A_SpawnItem("NRItemRandomizer")
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	TNT1 A 0 A_SpawnItemEX("NemesisRemiliaLightning",Random(-1200,1200),Random(-1200,1200),-1000,0,0,0,0,0,250)
	TNT1 A 0 A_JumpIf(user_effects >= 3,"DeathLoop")
	TNT1 A 0 A_SetUserVar(user_effects,user_effects+1)
	Loop
	HAX5 M 1 Bright A_SpawnItemEx("NRSkullEffect",Random(10,20),Random(10,20),Random(20,30),Random(1,2),Random(1,2),Random(2,4),Random(0,360),0,168)
	TNT1 A 0 A_SpawnItem("NRItemRandomizer")
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	TNT1 A 0 A_SpawnItemEX("NemesisRemiliaLightning",Random(-1200,1200),Random(-1200,1200),-1000,0,0,0,0,0,250)
	HAX5 M 1 Bright A_SpawnItemEx("NRSkullEffect",Random(10,20),Random(10,20),Random(20,30),Random(1,2),Random(1,2),Random(2,4),Random(0,360),0,168)
	TNT1 A 0 A_SpawnItem("NRItemRandomizer")
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	TNT1 A 0 A_SpawnItemEX("NemesisRemiliaLightning",Random(-1200,1200),Random(-1200,1200),-1000,0,0,0,0,0,250)
	HAX5 M 1 Bright A_SpawnItemEx("NRSkullEffect",Random(10,20),Random(10,20),Random(20,30),Random(1,2),Random(1,2),Random(2,4),Random(0,360),0,168)
	TNT1 A 0 A_SpawnItem("NRItemRandomizer")
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	TNT1 A 0 A_SpawnItemEX("NemesisRemiliaLightning",Random(-1200,1200),Random(-1200,1200),-1000,0,0,0,0,0,250)
	HAX5 M 1 Bright A_SpawnItemEx("NRSkullEffect",Random(10,20),Random(10,20),Random(20,30),Random(1,2),Random(1,2),Random(2,4),Random(0,360),0,168)
	TNT1 A 0 A_SpawnItem("NRItemRandomizer")
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	TNT1 A 0 A_SpawnItemEX("NemesisRemiliaLightning",Random(-1200,1200),Random(-1200,1200),-1000,0,0,0,0,0,250)
	HAX5 M 1 Bright A_SpawnItemEx("NRSkullEffect",Random(10,20),Random(10,20),Random(20,30),Random(1,2),Random(1,2),Random(2,4),Random(0,360),0,168)
	TNT1 A 0 A_SpawnItem("NRItemRandomizer")
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	TNT1 A 0 A_SpawnItemEX("NemesisRemiliaLightning",Random(-1200,1200),Random(-1200,1200),-1000,0,0,0,0,0,250)
	HAX5 M 1 Bright A_SpawnItemEx("NRSkullEffect",Random(10,20),Random(10,20),Random(20,30),Random(1,2),Random(1,2),Random(2,4),Random(0,360),0,168)
	TNT1 A 0 A_SpawnItem("NRItemRandomizer")
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	TNT1 A 0 A_SpawnItemEX("NemesisRemiliaLightning",Random(-1200,1200),Random(-1200,1200),-1000,0,0,0,0,0,250)
	TNT1 A 0 A_JumpIf(user_effects >= 3,"DeathLoop")
	TNT1 A 0 A_SetUserVar(user_effects,user_effects+1)
	Loop
  ActualDeath:
	TNT1 A 0 A_ChangeFlag(NOGRAVITY,0)
	HAX5 OOOOOOOOOO 1 Bright A_SpawnItemEx("VexedAuraStar",Random(-12,12),Random(-12,12),Random(30,50),Random(-2,2),Random(-2,2),Random(-2,2),Random(-20,20),0,64)
	TNT1 A 0 ACS_NamedExecuteAlways("CheckVelocityForNM",0,4)
	HAX5 O 1 Bright A_SpawnItemEx("VexedAuraStar",Random(-12,12),Random(-12,12),Random(30,50),Random(-2,2),Random(-2,2),Random(-2,2),Random(-20,20),0,64)
	Wait
  DeadForReal:
	HAX5 P 35 Bright A_PlaySound("nemesisremilia/bodyfall",7)
	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,0)
	HAX5 P 300 Bright
  Ascension:
    TNT1 A 0 A_ChangeFlag(NOGRAVITY,1)
	TNT1 A 0 ThrustThingZ(0,1.3,0,0)
	TNT1 A 0 A_PlaySound("nemesisremilia/starsaura",CHAN_VOICE)
	TNT1 A 0 A_SetUserVar(user_missile,0)
  AscensionLoop:
	HAX5 Q 1 Bright A_SpawnItemEx("VexedAuraStar",Random(20,30),Random(20,30),Random(20,30),0,0,Random(2,4),Random(-360,360),0,92)
	TNT1 A 0 A_SpawnItemEx("NMGlitter",Random(20,30),Random(20,30),Random(20,30),0,0,0,Random(-360,360),0,192)
	TNT1 A 0 A_FadeOut(0.001,0)
	TNT1 A 0 A_JumpIf(user_missile >= 100,2)
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	Loop
  AscensionLoopX2:
    TNT1 A 0 A_SetTranslucent(0.9,1)
	HAX5 Q 1 Bright A_SpawnItemEx("VexedAuraStar",Random(20,30),Random(20,30),Random(20,30),0,0,Random(2,4),Random(-360,360),0,92)
	TNT1 A 0 A_SpawnItemEx("NMGlitter",Random(20,30),Random(20,30),Random(10,30),0,0,0,Random(-360,360),0,192)
	TNT1 A 0 A_FadeOut(0.001,0)
	TNT1 A 0 A_JumpIf(user_missile >= 200,2)
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	Goto AscensionLoopX2+1
  AscensionLoopX3:
	HAX5 Q 1 Bright A_SpawnItemEx("VexedAuraStar",Random(20,30),Random(20,30),Random(20,30),0,0,Random(2,4),Random(-360,360),0,92)
	TNT1 A 0 A_SpawnItemEx("NMGlitter",Random(20,30),Random(20,30),Random(10,30),0,0,0,Random(-360,360),0,192)
	TNT1 A 0 A_FadeOut(0.001,0)
	TNT1 A 0 A_JumpIf(user_missile >= 300,2)
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	Loop
  AscensionLoopX4:
	HAX5 Q 1 Bright A_SpawnItemEx("VexedAuraStar",Random(20,30),Random(20,30),Random(20,30),0,0,Random(2,4),Random(-360,360),0,92)
	TNT1 A 0 A_SpawnItemEx("NMGlitter",Random(20,30),Random(20,30),Random(10,30),0,0,0,Random(-360,360),0,192)
	TNT1 A 0 A_FadeOut(0.001,0)
	TNT1 A 0 A_JumpIf(user_missile >= 350,2)
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	Loop
	//TNT1 A 0 A_SpawnItemEx("NRDeathExplosionSpawner") //vexed?
	TNT1 A 0 A_PlaySound("nemesisremilia/starexplosion",CHAN_VOICE,1.0,0,ATTN_NONE)
	TNT1 A 0 A_Quake(4,90,0,3000)
	TNT1 A 0 A_SpawnItemEx("NRDeathExplosion2",0,0,15)
	TNT1 A 0 A_SpawnItemEx("SubliminationSword",0,0,8)
	TNT1 A 0 A_SpawnItemEx("NemesisMegaSphere",0,0,8,random(0,8),random(0,8),2,random(0,360),0,128)
	TNT1 AA 0 A_SpawnItemEx("DemonicChalice",0,0,8,random(0,8),random(0,8),2,random(0,360),0,0)
	TNT1 AA 0 A_SpawnItemEx("SkullOfPower",0,0,8,random(0,8),random(0,8),2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("Terminator",0,0,8,random(0,8),random(0,8),2,random(0,360),0,235)
	TNT1 A 0 A_SpawnItemEx("LegendaryInvulnerabilitySphere",0,0,64,random(1,8),0,2,random(0,360),0,64)
	TNT1 A 0 A_SpawnItemEx("LegendaryRune",0,0,64,random(1,8),0,2,random(0,360),0,64)
	TNT1 A 0 A_SpawnItemEx("LegendaryRune",0,0,64,random(1,8),0,2,random(0,360),0,64)
	TNT1 A 0 A_SpawnItemEx("SignetOfNecromancy",0,0,8,random(0,8),random(0,8),2,random(0,360),0,200)
	TNT1 A 0 A_SpawnItemEx("NemesisBehemothCannon",0,0,8,random(0,8),random(0,8),2,random(0,360),0,55) //You cannot hide secrets from me, HC!!!!!!!
	TNT1 A 0 A_SpawnItemEx("VexedNemesisUltraSphere",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("DivineContract",0,0,8,random(0,8),random(0,8),2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("DivineBeacon",0,0,8,random(0,8),random(0,8),2,random(0,360),0,0)
	HAX5 X 1 Bright A_KillMaster
	HAX5 XXXXXX 1 Bright A_FadeOut(0.2,0)
	HAX5 X 60
	Stop
  Null:
	TNT1 A 0 ACS_NamedExecuteAlways("NMDestroyed",0,1,tid)
	TNT1 A 0 A_KillChildren
	TNT1 A 1
	Stop
}
}