Actor VexedNemesisRemilia : NemesisRemilia
{
//Creator: Fluffy + Nolram for extra edits
//Origin: Infinity Gods
//Sprite: XRE1 - 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-"
Translation "0:255=%[0.00,0.00,0.00]:[1.80,1.80,1.80]"
+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)
	XRE1 ABC 4 A_Look
	TNT1 A 0 A_PlaySound("wings/flap")
	XRE1 DEFGH 4 A_Look
	TNT1 A 0 A_Stop
	TNT1 A 0 A_Jump(128,"Idle")
  Spawnloop:
    XRE1 ABC 4 A_Look //Ex(LOF_FULLVOLSEESOUND,0,0,0,360,"See")
	TNT1 A 0 A_PlaySound("wings/flap")
	XRE1 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:
    XRE1 AAAA 1 A_Wander
	TNT1 A 0 A_Look
	XRE1 BBBB 1 A_Wander
	TNT1 A 0 A_Look
	XRE1 CCCC 1 A_Wander
	TNT1 A 0 A_PlaySound("wings/flap")
	TNT1 A 0 A_Look
	XRE1 DDDD 1 A_Wander
	TNT1 A 0 A_Look
	XRE1 EEEE 1 A_Wander
	TNT1 A 0 A_Look
	XRE1 FFFF 1 A_Wander
	TNT1 A 0 A_Look
	XRE1 GGGG 1 A_Wander
	TNT1 A 0 A_Look
	XRE1 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")
    XRE1 AA 1 A_Chase("Melee","")
	XRE1 AA 1 A_Chase
    XRE1 BB 1 A_Chase("Melee","")
	XRE1 BB 1 A_Chase
	TNT1 A 0 A_CheckSight(1)
	Goto Strafing2
	XRE1 CC 1 A_Chase("Melee","")
	XRE1 CC 1 A_Chase
	TNT1 A 0 A_PlaySound("wings/flap")
	XRE1 DD 1 A_Chase("Melee","")
	XRE1 DD 1 A_Chase
	TNT1 A 0 A_CheckSight(1)
	Goto Strafing3
	XRE1 EE 1 A_Chase("Melee","")
	XRE1 EE 1 A_Chase
	XRE1 FF 1 A_Chase("Melee","")
	XRE1 FF 1 A_Chase
	TNT1 A 0 A_CheckSight(1)
	Goto Strafing4
	XRE1 GG 1 A_Chase("Melee","")
	XRE1 GG 1 A_Chase
	XRE1 HH 1 A_Chase("Melee","")
	XRE1 HH 1 A_Chase
	TNT1 A 0 A_CheckSight(1)
	Goto Strafing
	TNT1 A 0 A_Jump(30,"Teleport","AltTeleport")
	Loop
  Strafing:
    XRE1 AAA 1 A_Chase("Melee","")
	TNT1 A 0 A_Jump(75,3)
	XRE1 A 1 A_Chase("Melee","Missile",CHF_FASTCHASE)
	TNT1 A 0 A_Jump(256,2)
	XRE1 A 1 A_Chase
    XRE1 BBB 1 A_Chase("Melee","")
	TNT1 A 0 A_Jump(75,3)
	XRE1 B 1 A_Chase("Melee","Missile",CHF_FASTCHASE)
	TNT1 A 0 A_Jump(256,2)
	XRE1 B 1 A_Chase
  Strafing2:
	XRE1 CCC 1 A_Chase("Melee","")
	TNT1 A 0 A_Jump(75,3)
	XRE1 C 1 A_Chase("Melee","Missile",CHF_FASTCHASE)
	TNT1 A 0 A_Jump(256,2)
	XRE1 C 1 A_Chase
	TNT1 A 0 A_PlaySound("wings/flap")
	XRE1 DDD 1 A_Chase("Melee","")
	TNT1 A 0 A_Jump(75,3)
	XRE1 D 1 A_Chase("Melee","Missile",CHF_FASTCHASE)
	TNT1 A 0 A_Jump(256,2)
	XRE1 D 1 A_Chase
  Strafing3:
	XRE1 EEE 1 A_Chase("Melee","")
	TNT1 A 0 A_Jump(75,3)
	XRE1 E 1 A_Chase("Melee","Missile",CHF_FASTCHASE)
	TNT1 A 0 A_Jump(256,2)
	XRE1 E 1 A_Chase
	XRE1 FFF 1 A_Chase("Melee","")
	TNT1 A 0 A_Jump(75,3)
	XRE1 F 1 A_Chase("Melee","Missile",CHF_FASTCHASE)
	TNT1 A 0 A_Jump(256,2)
	XRE1 F 1 A_Chase
  Strafing4:
	XRE1 GGG 1 A_Chase("Melee","")
	TNT1 A 0 A_Jump(75,3)
	XRE1 G 1 A_Chase("Melee","Missile",CHF_FASTCHASE)
	TNT1 A 0 A_Jump(256,2)
	XRE1 G 1 A_Chase
	XRE1 HHH 1 A_Chase("Melee","")
	TNT1 A 0 A_Jump(75,3)
	XRE1 H 1 A_Chase("Melee","Missile",CHF_FASTCHASE)
	TNT1 A 0 A_Jump(256,2)
	XRE1 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:
    XRE3 H 1 A_UnSetShootable
	TNT1 A 0 A_Stop
	TNT1 A 0 ACS_NamedExecuteAlways("NMTripleSpeed",0)
	TNT1 A 0 A_SpawnItemEx("NemesisRemiliaTeleportEffect",0,0,35)
	TNT1 A 0 A_SetTranslucent(1,1)
	XRE3 HIJKLM 2
	XRE3 MMMM 1 A_FadeOut(0.4,0)
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	TNT1 A 0 A_SpawnItemEx("NemesisRemiliaTeleportEnd",0,0,35)
	XRE3 MMMM 1 A_FadeIn(0.4)
	XRE3 MLKJIH 2
	TNT1 A 0 A_SetTranslucent(1,0)
	XRE3 H 1 A_SetShootable
	Goto See
  AltTeleportAfraid:
	TNT1 A 0 A_ChangeFlag(FRIGHTENED,1)
  AltTeleport:
    XRE3 H 1 A_UnSetShootable
	TNT1 A 0 A_Stop
	TNT1 A 0 ACS_NamedExecuteAlways("NMTripleSpeed",0)
	TNT1 A 0 A_SpawnItemEx("NemesisRemiliaTeleportEffect",0,0,35)
	TNT1 A 0 ACS_NamedExecuteAlways("FadeCubes",0)
	TNT1 A 0 ACS_NamedExecuteAlways("HideEffects",0)
	TNT1 A 0 A_SetTranslucent(1,1)
	XRE3 HIJKLM 2
	XRE3 MMMM 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)
	XRE3 M 1 A_SpawnItemEx("NemesisRemiliaTeleportEnd",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)
	XRE3 MMMM 1 A_FadeIn(0.4)
	XRE3 MLKJIH 2
	TNT1 A 0 A_SetTranslucent(1,0)
	XRE3 H 1 A_SetShootable
	Goto See
  Missile:
	TNT1 A 0 A_Jump(50,"Elementalist")
	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
	XRE4 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)
	XRE4 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:
    XRE4 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)
	XRE4 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)
	XRE4 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)
	XRE4 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)
	XRE4 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")
	XRE4 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)
	XRE4 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)
	XRE4 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)
	XRE4 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)
	XRE4 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
	XRE4 P 10 A_ChangeFlag(NOPAIN,0)
	Goto See
  VexedSuperBallShot:
    XRE3 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)
    XRE3 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)
	XRE3 F 1 Bright A_CustomMissile("NemesisGuruBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
    XRE3 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)
	XRE3 F 1 Bright A_CustomMissile("NemesisGuruBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	XRE3 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:
    XRE3 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)
    XRE3 FGF 10 Bright A_CustomMissile("MiniNemesisBFGBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	XRE3 GFG 10 Bright A_CustomMissile("MiniNemesisBFGBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	XRE3 FGF 10 Bright A_CustomMissile("MiniNemesisBFGBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	XRE3 GFG 10 Bright A_CustomMissile("MiniNemesisBFGBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	XRE3 FGF 10 Bright A_CustomMissile("MiniNemesisBFGBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	XRE3 FGF 10 Bright A_CustomMissile("MiniNemesisBFGBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	XRE3 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)
    XRE2 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)
	XRE2 FG 7
	XRE2 FGF 10
	DSMT B 0 A_UnSetReflectiveInvulnerable
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	XRE2 DC 5
	Goto See
  LightningStorm:
    DSMT E 0 A_SetReflectiveInvulnerable
	TNT1 A 0 A_ChangeFlag("NOPAIN",1)
	TNT1 A 0 A_GiveInventory("GodsFullImunityGiver2",1)
    XRE2 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))
	XRE2 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)
	XRE2 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))
	XRE2 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))
	XRE2 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))
	XRE2 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))
	XRE2 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)
	XRE2 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))
	XRE2 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))
	XRE2 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))
	XRE2 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)
	XRE2 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))
	XRE2 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))
	XRE2 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))
	XRE2 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)
	XRE2 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)
	XRE2 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))
	XRE2 FG 3
	XRE2 FGF 4
	DSMT B 0 A_UnSetReflectiveInvulnerable
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	XRE2 DC 5
	Goto See
   VexedPunchs:
    XRE1 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)
    XRE5 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)
	TNT1 A 0 A_Recoil(-40)
	XRE5 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)
	XRE5 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)
	XRE5 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)
	XRE5 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)
	XRE1 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)
    XRE5 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)
	XRE5 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)
	XRE5 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)
	XRE5 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)
	XRE5 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:
    XRE3 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)
    XRE3 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")
	XRE3 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 GF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 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")
	XRE3 GF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 GF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
    XRE3 F 5 Bright A_CustomMissile("VHellsmithLightningProj",64,0,0)
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 GF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 GF 2 Bright A_FaceTarget
	XRE3 F 5 Bright A_CustomMissile("VHellsmithLightningProj",64,0,0)
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 GF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 GF 2 Bright A_FaceTarget
	XRE3 F 5 Bright A_CustomMissile("VHellsmithLightningProj",64,0,0)
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 GF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 GF 2 Bright A_FaceTarget
	XRE3 F 5 Bright A_CustomMissile("VHellsmithLightningProj",64,0,0)
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 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:
    XRE3 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)
    XRE3 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)
	XRE3 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 GF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 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")
	XRE3 GF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 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")
	XRE3 GF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 GF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 GF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 GF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 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")
	XRE3 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 GF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 GF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 GF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 GF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 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")
	XRE3 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 GF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 GF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 GF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NDefilerLightingFX",64,0,45)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	XRE3 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")
	XRE3 FG 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Nemesis/FireBall",5,1.0,0,ATTN_NONE)
	XRE3 F 5 Bright A_CustomMissile("VexedNemesisAltBallMonster",64,0,0)
	XRE3 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)
	XRE3 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:
    TNT1 A 0 A_SetReflectiveInvulnerable
	TNT1 A 0 A_ChangeFlag("NOPAIN",1)
    XRE2 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))
	XRE2 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)
	XRE2 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))
	XRE2 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))
	XRE2 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))
	XRE2 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)
	XRE2 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)
	XRE2 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)
	XRE2 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))
	XRE2 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)
	XRE2 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)
	XRE2 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))
	XRE2 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))
	XRE2 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)
	XRE2 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)
	XRE2 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)
	XRE2 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))
	XRE2 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))
	XRE2 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)
	XRE2 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)
	XRE2 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)
	XRE2 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))
	XRE2 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)//
	XRE2 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)
	XRE2 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)
	XRE2 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))
	XRE2 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))
	XRE2 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)
	XRE2 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)
	XRE2 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)
	XRE2 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))
	XRE2 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))
	XRE2 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)
	XRE2 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)
	XRE2 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)
	XRE3 F 5 Bright A_CustomMissile("ZamasuCyberFinalBall",64,0,0)
	XRE3 FGF 5
	DSMT B 0 A_UnSetReflectiveInvulnerable
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	XRE3 GFG 5
	Goto See
  VexedDavastatorBallsLaunch:
    XRE1 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)
    XRE5 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)
	XRE5 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)
	XRE5 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)
	XRE5 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)
	XRE5 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)
	XRE1 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)
    XRE5 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)
	XRE5 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)
	XRE5 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)
	XRE5 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)
	XRE5 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:
    XRE3 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)
    XRE3 FGF 5 Bright A_CustomMissile("NemesisCyberBFG9500Ball",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	XRE3 GFG 5 Bright A_CustomMissile("NemesisCyberBFG9500Ball",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	XRE3 FGF 5 Bright A_CustomMissile("NemesisCyberBFG9500Ball",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	XRE3 GFG 5 Bright A_CustomMissile("NemesisCyberBFG9500Ball",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	XRE3 FGF 5 Bright A_CustomMissile("NemesisCyberBFG9500Ball",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	XRE3 FGF 5 Bright A_CustomMissile("NemesisCyberBFG9500Ball",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	XRE3 GFG 5 Bright A_CustomMissile("NemesisCyberBFG9500Ball",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	Goto See
  VexedDarkMatterSpam:
    XRE3 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)
    XRE3 FGF 1 Bright A_CustomMissile("VexedArchonDarkMatter",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	XRE3 GFG 1 Bright A_CustomMissile("VexedArchonDarkMatter",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	XRE3 FGF 1 Bright A_CustomMissile("VexedArchonDarkMatter",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	XRE3 GFG 1 Bright A_CustomMissile("VexedArchonDarkMatter",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	XRE3 FGF 1 Bright A_CustomMissile("VexedArchonDarkMatter",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	XRE3 FGF 1 Bright A_CustomMissile("VexedArchonDarkMatter",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	XRE3 GFG 1 Bright A_CustomMissile("VexedArchonDarkMatter",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	XRE3 GFG 1 Bright A_CustomMissile("VexedArchonDarkMatter",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	XRE3 FGF 1 Bright A_CustomMissile("VexedArchonDarkMatter",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	XRE3 FGF 1 Bright A_CustomMissile("VexedArchonDarkMatter",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	XRE3 GFG 1 Bright A_CustomMissile("VexedArchonDarkMatter",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	XRE3 GFG 1 Bright A_CustomMissile("VexedArchonDarkMatter",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	XRE3 FGF 1 Bright A_CustomMissile("VexedArchonDarkMatter",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	XRE3 FGF 1 Bright A_CustomMissile("VexedArchonDarkMatter",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	XRE3 GFG 1 Bright A_CustomMissile("VexedArchonDarkMatter",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	Goto See
  VexedStrongBalls:
    XRE3 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)
    XRE3 FGF 6 Bright A_CustomMissile("VHellsmithStrongBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	XRE3 GFG 6 Bright A_CustomMissile("VHellsmithStrongBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	XRE3 FGF 6 Bright A_CustomMissile("VHellsmithStrongBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	XRE3 GFG 6 Bright A_CustomMissile("VHellsmithStrongBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	XRE3 FGF 6 Bright A_CustomMissile("VHellsmithStrongBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	XRE3 FGF 5 Bright A_CustomMissile("VHellsmithStrongBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	XRE3 GFG 5 Bright A_CustomMissile("VHellsmithStrongBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	XRE3 FGF 5 Bright A_CustomMissile("VHellsmithStrongBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	XRE3 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)
    XRE4 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:
    XRE4 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")
	XRE4 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)
	XRE4 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)
	XRE4 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)
	XRE4 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:
    XRE4 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)
	XRE4 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)
	XRE4 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
	XRE4 LM 5
	TNT1 A 0 A_StopSound(5)
	TNT1 A 0 A_UnSetInvulnerable
	XRE4 N 17 A_ChangeFlag(NOPAIN,0)
	XRE4 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)
	XRE7 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)
	XRE7 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)
	XRE7 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)
	XRE7 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)
	XRE7 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)
	XRE7 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)
	XRE7 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)
	XRE7 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)
	XRE7 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)
	XRE7 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)
	XRE7 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)
	XRE7 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)
	XRE7 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)
	XRE7 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)
	XRE7 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)
	XRE7 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)
	XRE7 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)
	XRE7 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)
	XRE7 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)
	XRE7 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)
	XRE7 HCBA 6
	Goto See
  Dodge:
    XRE1 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:
    XRE1 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:
    XRE1 A 1 A_FaceTarget
	TNT1 A 0 A_CheckSight("See")
	TNT1 A 0 A_PlaySound("Glyph/Start",CHAN_BODY)
	XRE3 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:
	XRE3 FFFGGGFFFGGGFFFGGGFFFGGGFFF 1 Bright A_CustomMissile("MainyuHornRodFX",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	Goto See
  SkullShot:
    XRE3 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)
	XRE3 FFF 5 Bright A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	XRE3 F 15
	Goto See
  PortalProjectiles:
    TNT1 A 0 A_Jump(92,"PortalProjectileBig")
	XRE3 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:
    XRE3 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:
    XRE3 FGF 10 Bright A_CustomMissile("ActualDarkMatter",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	TNT1 A 0 A_CheckSight("See")
	XRE3 GFG 10 Bright A_CustomMissile("ActualDarkMatter",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	Goto See
  BigBalls:
    XRE3 FGF 10 Bright A_CustomMissile("NemesisCyberBigBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	TNT1 A 0 A_CheckSight("See")
	XRE3 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
	XRE5 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
	XRE5 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
    XRE5 B 7 Fast A_PlaySound("nemesisremilia/whoosh",7)
	TNT1 A 0 A_CustomMeleeAttack(random(110,250),"nemesisremilia/punch","none","NemesisRemilia")
	XRE5 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)
	XRE5 H 5 Fast A_PlaySound("nemesisremilia/whoosh",7)
	TNT1 A 0 A_FaceTarget
	TNT1 A 0 ThrustThingZ(0,5,1,1)
	XRE5 I 2 Fast A_Recoil(-40)
	XRE5 J 7 Fast A_CustomMeleeAttack(random(110,250),"nemesisremilia/punch","none","NemesisRemilia")
	XRE5 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)
	XRE5 H 5 Fast A_PlaySound("nemesisremilia/whoosh",7)
	TNT1 A 0 A_FaceTarget
	TNT1 A 0 ThrustThingZ(0,5,1,1)
	XRE5 I 2 Fast A_Recoil(-40)
	XRE5 J 7 Fast A_CustomMeleeAttack(random(110,250),"nemesisremilia/punch","none","NemesisRemilia")
	XRE5 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)
    XRE5 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")
	XRE5 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)
	XRE5 H 5 Fast A_PlaySound("nemesisremilia/whoosh",7)
	TNT1 A 0 A_FaceTarget
	TNT1 A 0 ThrustThingZ(0,5,1,1)
	XRE5 I 2 Fast A_Recoil(-40)
	TNT1 A 0 A_SpawnItemEx("NemesisRemiliaHitEffect",0,0,35)
	XRE5 J 7 Fast A_VileAttack("nemesisremilia/bigpunch",Random(150,350),0,100,random(3,4),"NemesisRemilia")
	XRE5 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)
    XRE5 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)
	XRE5 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")
	XRE3 ABCDE 4 Bright
	TNT1 A 0 A_SetUserVar(user_missile,0)
	TNT1 A 0 A_Playsound("superlaser",7,1,0,ATTN_NONE)
	XRE3 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)
	XRE3 F 2 Bright A_CustomMissile("NemesisRemiliaRailLaser",38,0,user_missile)
	Loop
  ChargeAttack:
    //TNT1 A 0 A_SetInvulnerable
    TNT1 A 0 A_ChangeFlag(NOPAIN,1)
    XRE3 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)
	XRE3 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)
	XRE3 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)
	XRE3 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)
	XRE3 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)
	XRE3 FFFFFFF 5 Bright A_SpawnItem("WhiteRageFlameSpawner",0,0,0,0)
	Goto See
  Nuke:
    TNT1 A 0 A_JumpIf(user_fusion > 0,"Attack")
	XRE2 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)
    XRE2 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)
	XRE2 BBBBBB 1 Bright A_SpawnItemEx("NemesisRemiliaParticle",random(60,80),0,random(0,64),frandom(-3,-1),0,0,random(0,360))
	XRE2 CCCCCC 1 Bright A_SpawnItemEx("NemesisRemiliaParticle",random(60,80),0,random(0,64),frandom(-3,-1),0,0,random(0,360))
	XRE2 DDDDDD 1 Bright A_SpawnItemEx("NemesisRemiliaParticle",random(60,80),0,random(0,64),frandom(-3,-1),0,0,random(0,360))
  NukeChargeLoop:
	XRE2 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)
	XRE2 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)
	XRE2 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
	XRE2 HIJ 6 Bright
	XRE2 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)
	XRE2 LMN 3 Bright
	TNT1 A 0 A_SetUserVar("user_fusion",user_fusion+30)
	TNT1 A 0 ACS_NamedExecuteAlways("FusionCooldownTimer",0)
	XRE2 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)
	XRE2 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
	XRE1 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)
	XRE1 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)
	XRE1 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)
	XRE1 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:
    XRE1 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)
    XRE1 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)
	XRE1 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:
	XRE1 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)
	XRE1 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)
	XRE1 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)
    XRE1 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)
	XRE1 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)
	XRE1 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)
	XRE1 T 7
	XRE1 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)
	XRE2 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)
	XRE2 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)
	XRE2 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)
	XRE2 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)
	XRE2 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)
	XRE2 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))
	XRE2 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))
	XRE2 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))
	XRE2 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))
	XRE2 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))
	XRE2 "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))
	XRE2 "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)
	XRE2 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)
	XRE2 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)
	XRE2 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)
	XRE2 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)
	XRE2 "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)
	XRE2 "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
	XRE2 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)
    XRE3 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")
	XRE3 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")
    XRE3 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)
	XRE3 F 1 Bright A_CustomMissile("T3DBFG10KBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
    XRE3 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)
	XRE3 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)
	XRE3 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)
    XRE3 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)
	XRE3 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)
	XRE3 F 1 Bright A_CustomMissile("CorruptedLegCardiBLGSuperLightningBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	XRE3 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)
	XRE3 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)
	XRE3 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)
	XRE3 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)
	XRE3 F 1 Bright A_CustomMissile("CorruptedLegCardiBLGSuperLightningBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	XRE3 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)
	XRE3 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)
	XRE3 F 1 Bright A_CustomMissile("CorruptedLegCardiBLGSuperLightningBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	XRE3 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)
	XRE3 F 1 Bright A_CustomMissile("T3DBFGBall",30,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-1,1))
	XRE3 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")
    XRE1 I 4 A_Playsound("nemesisremilia/pain", 2, 1.0, 0, ATTN_NONE)
	XRE1 J 4
	TNT1 A 0 A_Jump (16,"Healing")
    Goto See
  PainMissile:
    TNT1 A 0 A_ChangeFlag(NOPAIN,1)
	XRE1 I 4 A_Playsound("nemesisremilia/pain", 2, 1.0, 0, ATTN_NONE)
	XRE1 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)	
    TNT1 A 0 A_SetReflectiveInvulnerable
	TNT1 A 0 A_ChangeFlag("NOPAIN",1)
	TNT1 A 0 A_GiveInventory("GodsFullImunityGiver2",1)
    XRE2 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)
	XRE2 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)
	XRE2 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)
	XRE2 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)
	XRE2 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)
	XRE2 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)
	XRE2 FG 7
	XRE2 FGF 10
	DSMT B 0 A_UnSetReflectiveInvulnerable
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	XRE2 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")
    XRE2 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)
	XRE2 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)
	XRE2 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)
	XRE2 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)
	XRE2 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)
	XRE2 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)
	XRE2 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)
	XRE2 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)
	XRE2 FG 7
	XRE2 FGF 10
	DSMT B 0 A_UnSetReflectiveInvulnerable
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	XRE2 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)
	XRE1 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)
	XRE1 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:
    XRE1 P 1 Bright A_Stop
	Goto Death2+4
  Death2:
    XRE1 Y 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)
	XRE1 Y 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:
	XRE1 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)
	XRE1 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)
	XRE1 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)
	XRE1 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)
	XRE1 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)
	XRE1 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)
	XRE1 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
	XRE1 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)
	XRE1 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)
	XRE1 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)
	XRE1 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)
	XRE1 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)
	XRE1 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)
	XRE1 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)
	XRE1 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:
	XRE1 Q 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)
	XRE1 Q 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:
	XRE1 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)
	XRE1 V 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:
	XRE1 W 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:
	XRE1 X 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)
	TNT1 A 0 A_SpawnItemEx("VexedNemesisRune",0,0,8,random(0,8),random(0,8),2,random(0,360),0,100)
	XRE1 X 1 Bright A_KillMaster
	XRE1 XXXXXX 1 Bright A_FadeOut(0.2,0)
	XRE1 X 60
	Stop
  Null:
	TNT1 A 0 ACS_NamedExecuteAlways("NMDestroyed",0,1,tid)
	TNT1 A 0 A_KillChildren
	TNT1 A 1
	Stop
}
}