actor WilyBusterSpecial1 : BaseMM8BDMWep
{
Weapon.AmmoUse 28
Weapon.AmmoGive 224
Weapon.SlotNumber 1
Weapon.SlotPriority 0
scale 2.0
Obituary "%o was destroyed by %k's Wily Buster."
Inventory.Pickupmessage "You got the Wily Buster!"
weapon.ammotype "WilyAmmo"
weapon.ammotype2 "WilyAmmo2"
inventory.icon "WILICON1"
tag "Wily Buster Proto"
States
{
Spawn:
WIIC C 1
stop
Ready:
SXH5 O 0 ACS_ExecuteAlways(998,0,10005)
SXH5 O 1 A_WeaponReady
Goto Ready+1
Deselect:
TNT1 AAAAAAAAAAAAAAAAAAAAAA 0 A_Lower
SXH5 O 1 A_Lower
Loop
Select:
TNT1 AAAAAAAAAAAAAAAAAAAAAA 0 A_Raise
SXH5 O 1 A_Raise
Loop
Fire:
SXH5 O 0 A_JumpIfNoAmmo("NoAmmo")
SXH5 O 0 A_GiveInventory("WilyAmmoStop",1)
SXH5 O 0 A_PlaySoundEx("weapon/mbuster","Weapon")
SXH5 O 0 A_FireCustomMissile("WilyShotSpecial1",0,0,0,0,0)
SXH5 PQ 1
SXH5 PO 1
SXH5 O 0 A_PlaySoundEx("weapon/mbuster","Weapon")
SXH5 O 0 A_FireCustomMissile("WilyShotSpecial1",frandom(-0.95,0.95),0,1,0,0,frandom(-0.95,0.95))
SXH5 PQ 1
SXH5 PO 1
SXH5 O 0 A_PlaySoundEx("weapon/mbuster","Weapon")
SXH5 O 0 A_FireCustomMissile("WilyShotSpecial1",frandom(-0.95,0.95),0,1,4,0,frandom(-0.95,0.95))
SXH5 PQ 1
SXH5 PO 1
SXH5 O 0 A_PlaySoundEx("weapon/mbuster","Weapon")
SXH5 O 0 A_FireCustomMissile("WilyShotSpecial1",frandom(-0.95,0.95),0,1,4,0,frandom(-0.95,0.95))
SXH5 PQ 1
SXH5 PO 1
SXH5 O 0 A_PlaySoundEx("weapon/mbuster","Weapon")
SXH5 O 0 A_FireCustomMissile("WilyShotSpecial1",frandom(-0.95,0.95),0,1,4,0,frandom(-0.95,0.95))
SXH5 PQ 1
SXH5 PO 1
SXH5 O 0 A_PlaySoundEx("weapon/mbuster","Weapon")
SXH5 O 0 A_FireCustomMissile("WilyShotSpecial1",frandom(-0.95,0.95),1,1,4,0,frandom(-0.95,0.95))
SXH5 PQ 1
SXH5 O 16
SXH5 O 0 A_TakeInventory("WilyAmmoStop",1)
SXH5 O 0 A_Refire
goto Ready+1
Altfire:
SXH5 O 0 A_JumpIfInventory("WilyAmmo2",224,1)
goto NoAmmo
SXH5 O 0 A_GiveInventory("WilyAmmoStop",1)
SXH5 O 0 A_TakeInventory("WilyAmmo2",224)
SXH5 O 0 A_PlaySoundEx("weapon/wrapfire","Weapon")
SXH5 O 0 A_FireCustomMissile("WilyToxinBomb",0,0,0)
SXH5 PPPQQQQQQQQQ 2
SXH5 P 11
SXH5 O 0 A_TakeInventory("WilyAmmoStop",1)
Goto Ready+1
NoAmmo:
SXH5 O 1
Goto Ready+1
}
}

actor WilyBusterSpecial2 : BaseMM8BDMWep
{
Weapon.AmmoUse 56
Weapon.AmmoGive 224
Weapon.SlotNumber 2
Weapon.SlotPriority 0
scale 2.0
Obituary "%o was destroyed by %k's Wily Buster."
Inventory.Pickupmessage "You got the Wily Buster!"
weapon.ammotype "WilyAmmo"
weapon.ammotype2 "WilyAmmo2"

inventory.icon "WILICON2"
tag "Wily Buster Alpha"
States
{
Spawn:
WIIC C 1
stop
Ready:
SXH5 O 0 ACS_ExecuteAlways(998,0,10005)
SXH5 O 1 A_WeaponReady
Goto Ready+1

Deselect:
TNT1 AAAAAAAAAAAAAAAAAAAAAA 0 A_Lower
SXH5 O 1 A_Lower
Loop
Select:
TNT1 AAAAAAAAAAAAAAAAAAAAAA 0 A_Raise
SXH5 O 1 A_Raise
Loop
Fire:
SXH5 O 0 A_JumpIfNoAmmo("NoAmmo")
SXH5 O 0 A_TakeInventory("WilyAmmo",56,TIF_NOTAKEINFINITE)
SXH5 O 0 A_GiveInventory("WilyAmmoStop",1)
SXH5 O 0 A_PlaySoundEx("Wily/Shotgun","Weapon")
SXH5 O 0 A_PlaySoundEx("Wily/Shotgun2","Item")
SXH5 OOOOOOOOOOOOOOO 0 A_FireCustomMissile("WilyShotSpecial2",random(-3.5,3.5),0,1,4,0,random(-3.5,3.5))
SXH5 PQ 5
SXH5 O 17
SXH5 O 0 A_TakeInventory("WilyAmmoStop",1)
SXH5 O 0 A_Refire
goto Ready+1
Altfire:
SXH5 O 0 A_JumpIfInventory("WilyAmmo2",224,1)
goto NoAmmo
SXH5 O 0 A_GiveInventory("WilyAmmoStop",1)
SXH5 O 0 A_TakeInventory("WilyAmmo2",224)
SXH5 O 0 A_PlaySoundEx("weapon/wrapfire","Weapon")
SXH5 O 0 A_FireCustomMissile("WilyToxinBomb",0,0,0)
SXH5 PPPQQQQQQQQQ 2
SXH5 P 11
SXH5 O 0 A_TakeInventory("WilyAmmoStop",1)
Goto Ready+1

NoAmmo:
SXH5 O 1
Goto Ready+1
}
}

actor WilyBusterSpecial3 : BaseMM8BDMWep
{
Weapon.AmmoUse 32
Weapon.SlotNumber 3
Weapon.SlotPriority 0
Weapon.AmmoGive 224
scale 2.0
Obituary "%o was destroyed by %k's Wily Buster NEO"
Inventory.Pickupmessage "You got the Wily Buster NEO!"
weapon.ammotype "WilyAmmo"
weapon.ammotype2 "WilyAmmo2"

inventory.icon "WILICON3"
tag "Wily Buster    NEO "//tag "Wily Buster NEO + Incineration Cannon"
States
{
Spawn:
WIIC C 1
stop
Ready:
SXH5 O 0 ACS_ExecuteAlways(998,0,10005)
SXH5 O 1 A_WeaponReady
Goto Ready+1

Deselect:
TNT1 AAAAAAAAAAAAAAAAAAAAAA 0 A_Lower
SXH5 O 1 A_Lower
Loop
Select:
TNT1 AAAAAAAAAAAAAAAAAAAAAA 0 A_Raise
SXH5 O 1 A_Raise
Loop
Fire:
SXH5 O 0 A_JumpIfNoAmmo("NoAmmo")
SXH5 O 0 A_GiveInventory("WilyAmmoStop",1)
SXH5 O 0 A_PlaySoundEx("weapon/coilexplode","Weapon")
SXH5 O 0 A_FireCustomMissile("WilyShotSpecial3",0,12,8,4)
SXH5 PQ 5
SXH5 O 14
SXH5 O 0 A_TakeInventory("WilyAmmoStop",1)
SXH5 O 0 A_Refire
goto Ready+1
Altfire:
SXH5 O 0 A_JumpIfInventory("WilyAmmo2",224,1)
goto NoAmmo
SXH5 O 0 A_GiveInventory("WilyAmmoStop",1)
SXH5 O 0 A_TakeInventory("WilyAmmo2",224)
SXH5 O 0 A_PlaySoundEx("weapon/wrapfire","Weapon")
SXH5 O 0 A_FireCustomMissile("WilyToxinBomb",0,0,0)
SXH5 PPPQQQQQQQQQ 2
SXH5 P 11
SXH5 O 0 A_TakeInventory("WilyAmmoStop",1)
Goto Ready+1

NoAmmo:
SXH5 O 1
Goto Ready+1
}
}

actor WilyShotSpecial1 : MegaShot
{
+HITTRACER
Obituary "%o was destroyed by %k's Wily Buster Proto."
Speed 48
//+RIPPER // Ripping would be ragefeeding, that's not the class's goal
damagetype "Buster"
Damage (14) // (6) // (21.5)
radius 24
height 24
scale 2.5 // 2.5
States
{
Spawn:
TNT1 A 2
SXH5 RSTU 3
goto Spawn+1
Crash:
TNT1 A 0 A_CheckFlag("INVULNERABLE","Death",AAPTR_TRACER) //Don't want to fuck with invincible related stuff.
TNT1 A 0 A_JumpIfInventory("Survivor",1,"Death",AAPTR_TRACER)
TNT1 A 0 A_JumpIfInventory("BAWS",1,1,AAPTR_TRACER)
goto Death
TNT1 A 0 A_JumpIfInTargetInventory("PowerStrength",1,"Strength")
TNT1 A 0 A_GiveToTarget("WilyAmmo2",14)
goto Death

Strength:
TNT1 A 0 A_GiveToTarget("WilyAmmo2",28)
goto Death

Death:
TNT1 A 0
stop
}
}

actor WilyShotSpecial2 : MegaShot
{
+HITTRACER
Obituary "%o was destroyed by %k's Wily Buster Alpha."
Speed 10
//+RIPPER // Ripping would be ragefeeding, that's not the class's goal
damagetype "Buster"
Damage (7) // (6) // (21.5)
radius 8
height 8
scale 1.2 // 2.5
	translation "198:198=250:250", "192:192=32:32"
States
{
Spawn:
TNT1 A 0
TNT1 A 1
SXH5 RSTU 2 A_Scalevelocity(1.3)
SXH5 RSTU 2
Spawn2:
SXH5 RSTU 3 A_Scalevelocity(1.1)
loop
Crash:
TNT1 A 0 A_CheckFlag("INVULNERABLE","Death",AAPTR_TRACER) //Don't want to fuck with invincible related stuff.
TNT1 A 0 A_JumpIfInventory("Survivor",1,"Death",AAPTR_TRACER)
TNT1 A 0 A_JumpIfInventory("BAWS",1,"GiveAmmo",AAPTR_TRACER)
TNT1 A 0 A_SetScale(1.75,1.75)
MXP1 ABCDE 2 
stop
GiveAmmo:
TNT1 A 0 A_JumpIfInTargetInventory("PowerStrength",1,"Strength")
TNT1 A 0 A_GiveToTarget("WilyAmmo2",7)
TNT1 A 0 A_SetScale(1.75,1.75)
MXP1 ABCDE 2 
stop

Strength:
TNT1 A 0 A_GiveToTarget("WilyAmmo2",14)
TNT1 A 0 A_SetScale(1.75,1.75)
MXP1 ABCDE 2 
stop
Death:
TNT1 A 0
stop
}
}

actor WilyShotSpecial3 : MegaShot
{
+HITTRACER
Obituary "%o was destroyed by %k's Wily Buster NEO."
Speed 28
//+RIPPER // Ripping would be ragefeeding, that's not the class's goal
damagetype "StunBuster"
Damage (24) // (6) // (21.5)
radius 24
height 24
scale 2.5 // 2.5
States
{
Spawn:
TNT1 A 2
WISS ST 3
goto Spawn+1
Crash:
TNT1 A 0 A_CheckFlag("INVULNERABLE","Death",AAPTR_TRACER) //Don't want to fuck with invincible related stuff.
TNT1 A 0 A_JumpIfInventory("Survivor",1,"XDeath",AAPTR_TRACER)
TNT1 A 0 A_JumpIfInventory("BAWS",1,1,AAPTR_TRACER)
goto XDeath
TNT1 A 0 A_JumpIfInTargetInventory("PowerStrength",1,"Strength")
TNT1 A 0 A_GiveToTarget("WilyAmmo2",44)
goto XDeath
Strength:
TNT1 A 0 A_GiveToTarget("WilyAmmo2",88)
goto XDeath
XDeath:
TNT1 F 0 A_PlaySoundEx("weapon/pharaoh2","Weapon")
TNT1 A 0 A_Explode(20,80,0,0,40)
WEXP ABCDEFGH 2
Death:
TNT1 A 0
stop
}
}

actor WilyBombToxins
{
PROJECTILE
scale 2.5
+NOINTERACTION
+NOGRAVITY
+RIPPER
Speed 5
+MISSILE
renderstyle translucent
alpha 0.8
height 54
radius 54
Obituary "%o failed to endure %k's Toxic Bowl."
damagetype "WilyGas" 
damage (0) //(2)//(12)
states
{

	Spawn:
	SHAB RRRSSSTTT 1 //A_Explode(2, 54, 0)
	Fadeout:
	SHAB RRRSSSTTT 1 A_FadeOut(0.06)
	stop
}
}

actor WilyGasProtection : PowerProtection
{
Powerup.duration 3
damagefactor "WilyGas", 0.0
}

actor WilyCombustFX : GeminiTrail
{
translation "192:192=229:229", "198:198=42:42"
renderstyle "Translucent"
alpha 0.75
scale 2.5
States
{
Spawn:
TNT1 A 0
BOMB CDEFGHIJKLMN 1
BOMB OPQR 1 
stop
}
}

actor WilyToxinBomb
{
Obituary "%o failed to endure %k's Toxic Bowl."
damagetype "WilyGas"
Translation "41:41=239:239"
PROJECTILE
-NOGRAVITY
+HEXENBOUNCE
+CANBOUNCEWATER
bouncefactor 0.6
wallbouncefactor 0.25
-BOUNCEONACTORS
+BOUNCEONWALLS
+BOUNCEONCEILINGS
-BOUNCEONFLOORS
bouncecount 100
Damage (10)
Speed 25
scale 2.5
Gravity 1.2
var int user_theta;
reactiontime 40
States
{
Spawn:
WBOM A 0
WBOM A 0 ThrustThingZ(0,30,0,1)
goto Spawn2
Spawn2:
WBOM A 2
loop
Death:
TNT1 A 0 A_Stop
BOMB A 0 A_PlaySoundEx("weapon/cfire", "Weapon")
BOMB A 0 A_Explode(35, 140, 0)
TNT1 A 0 A_PlaySoundEx("weapon/crashland","Body")
TNT1 A 0 A_ChangeFlag("NOGRAVITY",1)
TNT1 A 0 A_SpawnItemEx("WilyCombustFX",0,0,0)
TNT1 A 0 A_Changeflag("FLOORHUGGER",1)
TNT1 A 0 A_SpawnItemEx("WilyCircleMarkSpawner",0,0,0)
TNT1 A 15
Death4:
TNT1 A 0 A_SpawnItemEx("WilyCircleMarkSpawner2",0,0,0)
TNT1 EEE 0 A_SpawnItemEx("WilyBombToxins",random(-256,256),random(-256,256),random(0,256))
TNT1 A 3 A_Explode(5,256,0,0,256)
TNT1 A 0 A_SetAngle(angle - 3)
TNT1 A 0 A_GiveInventory("CutterFlag",1)
TNT1 A 0 A_JumpifInventory("CutterFlag",30,"DeathX")
loop
DeathX:
TNT1 A 0
stop
}
}

actor WilyToxinBombMarkCircle
{
PROJECTILE
Translation "204:204=250:250", "195:195=239:239", "192:192=250:250", "198:198=239:239"
+FLOORHUGGER
+FORCEXYBILLBOARD
+THRUACTORS
+NOCLIP
Radius 2
Height 2
Speed 0
Scale 2.5
States
{
Spawn: //Recoil method fucks up online because zandro is retarded
COPZ V 0
//COPZ VVVV 1 A_Recoil(47)
COPZ V 3 A_ScaleVelocity(2.2)
COPZ VVVZVZVZVZ 1 A_Stop
Death:
TNT1 A 0
stop
}
}

actor WilyToxinBombMarkCircle2
{
PROJECTILE
Translation "204:204=250:250", "195:195=239:239", "192:192=250:250", "198:198=239:239"
+FLOORHUGGER
+FORCEXYBILLBOARD
+THRUACTORS
+NOCLIP
Radius 2
Height 2
Speed 0
Scale 2.5
States
{
Spawn:
COPZ V 0
COPZ VVV 1 A_ScaleVelocity(2.2)
Death:
TNT1 A 0
stop
}
}

actor WilyCircleMarkSpawner
{
PROJECTILE
+FLOORHUGGER
+THRUACTORS
+NOCLIP
Radius 2
Height 2
Speed 0
Scale 2.5
States
{
Spawn: 
TNT1 A 0
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,0)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,3)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,6)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,9)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,12)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,15)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,18)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,21)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,24)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,27)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,30)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,33)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,36)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,39)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,42)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,45)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,48)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,51)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,54)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,57)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,60)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,63)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,66)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,69)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,72)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,75)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,78)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,81)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,84)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,87)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,90)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,93)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,96)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,99)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,102)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,105)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,108)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,111)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,114)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,117)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,120)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,123)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,126)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,129)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,132)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,135)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,138)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,141)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,144)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,147)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,150)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,153)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,156)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,159)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,162)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,165)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,168)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,171)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,174)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,177)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,180)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,183)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,186)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,189)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,192)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,195)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,198)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,201)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,204)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,207)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,210)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,213)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,216)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,219)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,222)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,225)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,228)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,231)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,234)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,237)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,240)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,243)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,246)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,249)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,252)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,255)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,258)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,261)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,264)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,267)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,270)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,273)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,276)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,279)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,282)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,285)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,288)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,291)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,294)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,297)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,300)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,303)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,306)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,309)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,312)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,315)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,318)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,321)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,324)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,327)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,330)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,333)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,336)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,339)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,342)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,345)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,348)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,351)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,354)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,357)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle",0,0,0,30,0,0,360)
Death:
TNT1 A 0
stop
}
}


actor WilyCircleMarkSpawner2
{
PROJECTILE
+FLOORHUGGER
+THRUACTORS
+NOCLIP
Radius 2
Height 2
Speed 0
Scale 2.5
States
{
Spawn: 
TNT1 A 0
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle2",256,0,0,0,0,0,0)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle2",256,0,0,0,0,0,12)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle2",256,0,0,0,0,0,24)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle2",256,0,0,0,0,0,36)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle2",256,0,0,0,0,0,48)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle2",256,0,0,0,0,0,60)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle2",256,0,0,0,0,0,72)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle2",256,0,0,0,0,0,84)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle2",256,0,0,0,0,0,96)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle2",256,0,0,0,0,0,108)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle2",256,0,0,0,0,0,120)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle2",256,0,0,0,0,0,132)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle2",256,0,0,0,0,0,144)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle2",256,0,0,0,0,0,156)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle2",256,0,0,0,0,0,168)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle2",256,0,0,0,0,0,180)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle2",256,0,0,0,0,0,192)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle2",256,0,0,0,0,0,204)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle2",256,0,0,0,0,0,216)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle2",256,0,0,0,0,0,228)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle2",256,0,0,0,0,0,240)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle2",256,0,0,0,0,0,252)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle2",256,0,0,0,0,0,264)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle2",256,0,0,0,0,0,276)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle2",256,0,0,0,0,0,288)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle2",256,0,0,0,0,0,300)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle2",256,0,0,0,0,0,312)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle2",256,0,0,0,0,0,324)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle2",256,0,0,0,0,0,336)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle2",256,0,0,0,0,0,348)
TNT1 A 0 A_SpawnItemEx("WilyToxinBombMarkCircle2",256,0,0,0,0,0,360)
Death:
TNT1 A 0
stop
}
}

actor WilyAmmo : Ammo
{
inventory.amount 1
inventory.maxamount 224
+INVENTORY.IGNORESKILL
}
actor WilyAmmo2 : Ammo
{
inventory.amount 1
inventory.maxamount 224
+INVENTORY.IGNORESKILL
}
actor WilyAmmoStop : OnceC {}

actor WilyAmmoGiveSH replaces WilyAmmoGive
{
PROJECTILE
+NOINTERACTION
+DONTBLAST
states
{
Spawn:
TNT1 A 0
NormalCharge:
TNT1 A 1
TNT1 A 0 A_JumpIfInTargetInventory("WilyAmmoStop",1,"NormalCharge")
TNT1 A 0 A_JumpIfInTargetInventory("BAWS", 1, "NoDouble")
TNT1 A 0 A_JumpIfInTargetInventory("IsDead", 1, "NoDouble")
TNT1 A 0 A_JumpIfInTargetInventory("WilyAmmo", 224, "Charge2")
TNT1 A 0 A_GiveToTarget("WilyAmmo", 1)
loop
Charge2:
TNT1 A 1
TNT1 A 0 A_JumpIfInTargetInventory("WilyAmmoStop",1,"NormalCharge")
TNT1 A 0 A_JumpIfInTargetInventory("BAWS", 1, "NoDouble")
TNT1 A 0 A_JumpIfInTargetInventory("IsDead", 1, "NoDouble")
TNT1 A 0 //A_GiveToTarget("WilyAmmo2", 1)
TNT1 A 0 A_JumpIfInTargetInventory("WilyAmmo", 224, "Charge2")
goto NormalCharge
Death:
TNT1 A 0
stop
NoDouble:
TNT1 A 0
stop}}