Actor Misty : PlayerPawn
{
	Health 150
	RenderStyle Translucent
	Alpha 0.2
	Scale 0.12
	Mass 700
	Painchance 64
	BloodColor "Gray"
	Species "Ghoul"
	Player.ForwardMove 0.9
	Player.SideMove 0.8
	Player.MaxHealth 150
	Player.JumpZ 12
	Player.DisplayName "Misty"
	Player.CrouchSprite "MIST"
	Player.ScoreIcon "MISTYST"
	Player.SoundClass "Misty"
	Player.ColorRange 112, 127
	Player.StartItem "MistyHands"
	Player.StartItem "MistAmmo", 50
	Player.StartItem "IsGhoul", 1
	Damagefactor "Bluefire", 0.0
	Damagefactor "AntiAirBolt", 0.5
	Damagefactor "IlluPewpewRifle", 1.1
    Damagefactor "RevyRifleBullet", 1.2
	DamageFactor "Plasma", 0.8
    DamageFactor "normal", 0.8
	DamageFactor "ChexWarrior", 0.8
	Damagefactor "minion", 0.0
	Damagefactor "ZombieIce", 0.0
    Damagefactor "ZombiePoison", 0.0
	Damagefactor "ZombieSlaps", 0.0
	Damagefactor "Tenebra", 0.0
	Damagefactor "Judgement", 0.0
	LimitedToTeam 1
	+NOICEDEATH
	+NOSKIN
	+QUICKTORETALIATE
	States
	{
	Spawn:
		MIST A 0 A_SetTranslucent(1.0)
		MIST A 0 Setplayerproperty(0,0,4)
	    TNT1 A 0 A_ChangeFlag("SHOOTABLE", TRUE)
		MIST A 0 A_JumpIfInventory("AriaInfluence",10,"Dancing")
		TNT1 A 0 A_JumpIfInventory("GwenGoddessStack",100,"GwenGoddessDeath")
		MIST A 0 A_JumpIfInventory("GhoulDisableTrigger",15,"DisableTheGhoul")
		MIST A 1 A_StopSoundEx("body")
		Loop
	See:
		MIST A 0 A_SetTranslucent(1.0)
		MIST A 0 A_JumpIfHealthLower(75,"INeedHealingSee")
		MIST A 0 A_ChangeFlag("SHOOTABLE", TRUE)
		MIST A 0 A_PlaySoundEx("MistyActive","Body",1,0)
		MIST A 4 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_JumpIfInventory("AriaInfluence",10,"Dancing")
		TNT1 A 0 A_JumpIfInventory("GwenGoddessStack",100,"GwenGoddessDeath")
		MIST A 0 A_JumpIfInventory("GhoulDisableTrigger",15,"DisableTheGhoul")
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 4 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_JumpIfInventory("AriaInfluence",10,"Dancing")
		TNT1 A 0 A_JumpIfInventory("GwenGoddessStack",100,"GwenGoddessDeath")
		MIST A 0 A_JumpIfInventory("GhoulDisableTrigger",15,"DisableTheGhoul")
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 4 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_JumpIfInventory("AriaInfluence",10,"Dancing")
		TNT1 A 0 A_JumpIfInventory("GwenGoddessStack",100,"GwenGoddessDeath")
		MIST A 0 A_JumpIfInventory("GhoulDisableTrigger",15,"DisableTheGhoul")
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 4 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_JumpIfInventory("AriaInfluence",10,"Dancing")
		TNT1 A 0 A_JumpIfInventory("GwenGoddessStack",100,"GwenGoddessDeath")
		MIST A 0 A_JumpIfInventory("GhoulDisableTrigger",15,"DisableTheGhoul")
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 4 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_JumpIfInventory("AriaInfluence",10,"Dancing")
		TNT1 A 0 A_JumpIfInventory("GwenGoddessStack",100,"GwenGoddessDeath")
		MIST A 0 A_JumpIfInventory("GhoulDisableTrigger",15,"DisableTheGhoul")
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 4 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_JumpIfInventory("AriaInfluence",10,"Dancing")
		TNT1 A 0 A_JumpIfInventory("GwenGoddessStack",100,"GwenGoddessDeath")
		MIST A 0 A_JumpIfInventory("GhoulDisableTrigger",15,"DisableTheGhoul")
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 4 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_JumpIfInventory("AriaInfluence",10,"Dancing")
		TNT1 A 0 A_JumpIfInventory("GwenGoddessStack",100,"GwenGoddessDeath")
		MIST A 0 A_JumpIfInventory("GhoulDisableTrigger",15,"DisableTheGhoul")
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 4 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_JumpIfInventory("AriaInfluence",10,"Dancing")
		TNT1 A 0 A_JumpIfInventory("GwenGoddessStack",100,"GwenGoddessDeath")
		MIST A 0 A_JumpIfInventory("GhoulDisableTrigger",15,"DisableTheGhoul")
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 4 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_JumpIfInventory("AriaInfluence",10,"Dancing")
		TNT1 A 0 A_JumpIfInventory("GwenGoddessStack",100,"GwenGoddessDeath")
		MIST A 0 A_JumpIfInventory("GhoulDisableTrigger",15,"DisableTheGhoul")
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 4 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_JumpIfInventory("AriaInfluence",10,"Dancing")
		TNT1 A 0 A_JumpIfInventory("GwenGoddessStack",100,"GwenGoddessDeath")
		MIST A 0 A_JumpIfInventory("GhoulDisableTrigger",15,"DisableTheGhoul")
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 4 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_JumpIfInventory("AriaInfluence",10,"Dancing")
		TNT1 A 0 A_JumpIfInventory("GwenGoddessStack",100,"GwenGoddessDeath")
		MIST A 0 A_JumpIfInventory("GhoulDisableTrigger",15,"DisableTheGhoul")
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 4 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_JumpIfInventory("AriaInfluence",10,"Dancing")
		TNT1 A 0 A_JumpIfInventory("GwenGoddessStack",100,"GwenGoddessDeath")
		MIST A 0 A_JumpIfInventory("GhoulDisableTrigger",15,"DisableTheGhoul")
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 4 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_JumpIfInventory("AriaInfluence",10,"Dancing")
		TNT1 A 0 A_JumpIfInventory("GwenGoddessStack",100,"GwenGoddessDeath")
		MIST A 0 A_JumpIfInventory("GhoulDisableTrigger",15,"DisableTheGhoul")
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 4 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_JumpIfInventory("AriaInfluence",10,"Dancing")
		TNT1 A 0 A_JumpIfInventory("GwenGoddessStack",100,"GwenGoddessDeath")
		MIST A 0 A_JumpIfInventory("GhoulDisableTrigger",15,"DisableTheGhoul")
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 4 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_JumpIfInventory("AriaInfluence",10,"Dancing")
		TNT1 A 0 A_JumpIfInventory("GwenGoddessStack",100,"GwenGoddessDeath")
		MIST A 0 A_JumpIfInventory("GhoulDisableTrigger",15,"DisableTheGhoul")
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 4 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_JumpIfInventory("AriaInfluence",10,"Dancing")
		TNT1 A 0 A_JumpIfInventory("GwenGoddessStack",100,"GwenGoddessDeath")
		MIST A 0 A_JumpIfInventory("GhoulDisableTrigger",15,"DisableTheGhoul")
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		Loop
	INeedHealingSee:
		MIST A 0 A_SetTranslucent(1.0)
		MIST A 0 A_ChangeFlag("SHOOTABLE", TRUE)
		MIST A 0 A_PlaySoundEx("MistyActive","Body",1,0)
		MIST A 4 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_JumpIfInventory("AriaInfluence",10,"Dancing")
		TNT1 A 0 A_JumpIfInventory("GwenGoddessStack",100,"GwenGoddessDeath")
		MIST A 0 A_JumpIfInventory("GhoulDisableTrigger",15,"DisableTheGhoul")
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 4 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_SpawnItemEx("GhoulINeedHealingTrail",random(-20,20),random(-20,20),0,0,0,10)
		MIST A 0 A_SpawnItemEx("64GhoulINeedHealingTrail",random(-20,20),random(-20,20),0,0,0,10)
		MIST A 0 A_JumpIfInventory("AriaInfluence",10,"Dancing")
		TNT1 A 0 A_JumpIfInventory("GwenGoddessStack",100,"GwenGoddessDeath")
		MIST A 0 A_JumpIfInventory("GhoulDisableTrigger",15,"DisableTheGhoul")
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 4 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_JumpIfInventory("AriaInfluence",10,"Dancing")
		TNT1 A 0 A_JumpIfInventory("GwenGoddessStack",100,"GwenGoddessDeath")
		MIST A 0 A_JumpIfInventory("GhoulDisableTrigger",15,"DisableTheGhoul")
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 4 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_SpawnItemEx("GhoulINeedHealingTrail",random(-20,20),random(-20,20),0,0,0,10)
		MIST A 0 A_SpawnItemEx("64GhoulINeedHealingTrail",random(-20,20),random(-20,20),0,0,0,10)
		MIST A 0 A_JumpIfInventory("AriaInfluence",10,"Dancing")
		TNT1 A 0 A_JumpIfInventory("GwenGoddessStack",100,"GwenGoddessDeath")
		MIST A 0 A_JumpIfInventory("GhoulDisableTrigger",15,"DisableTheGhoul")
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 4 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_JumpIfInventory("AriaInfluence",10,"Dancing")
		TNT1 A 0 A_JumpIfInventory("GwenGoddessStack",100,"GwenGoddessDeath")
		MIST A 0 A_JumpIfInventory("GhoulDisableTrigger",15,"DisableTheGhoul")
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 4 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_SpawnItemEx("GhoulINeedHealingTrail",random(-20,20),random(-20,20),0,0,0,10)
		MIST A 0 A_SpawnItemEx("64GhoulINeedHealingTrail",random(-20,20),random(-20,20),0,0,0,10)
		MIST A 0 A_JumpIfInventory("AriaInfluence",10,"Dancing")
		TNT1 A 0 A_JumpIfInventory("GwenGoddessStack",100,"GwenGoddessDeath")
		MIST A 0 A_JumpIfInventory("GhoulDisableTrigger",15,"DisableTheGhoul")
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 4 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_JumpIfInventory("AriaInfluence",10,"Dancing")
		TNT1 A 0 A_JumpIfInventory("GwenGoddessStack",100,"GwenGoddessDeath")
		MIST A 0 A_JumpIfInventory("GhoulDisableTrigger",15,"DisableTheGhoul")
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 4 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_SpawnItemEx("GhoulINeedHealingTrail",random(-20,20),random(-20,20),0,0,0,10)
		MIST A 0 A_SpawnItemEx("64GhoulINeedHealingTrail",random(-20,20),random(-20,20),0,0,0,10)
		MIST A 0 A_JumpIfInventory("AriaInfluence",10,"Dancing")
		TNT1 A 0 A_JumpIfInventory("GwenGoddessStack",100,"GwenGoddessDeath")
		MIST A 0 A_JumpIfInventory("GhoulDisableTrigger",15,"DisableTheGhoul")
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 4 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_JumpIfInventory("AriaInfluence",10,"Dancing")
		TNT1 A 0 A_JumpIfInventory("GwenGoddessStack",100,"GwenGoddessDeath")
		MIST A 0 A_JumpIfInventory("GhoulDisableTrigger",15,"DisableTheGhoul")
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 4 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_SpawnItemEx("GhoulINeedHealingTrail",random(-20,20),random(-20,20),0,0,0,10)
		MIST A 0 A_SpawnItemEx("64GhoulINeedHealingTrail",random(-20,20),random(-20,20),0,0,0,10)
		MIST A 0 A_JumpIfInventory("AriaInfluence",10,"Dancing")
		TNT1 A 0 A_JumpIfInventory("GwenGoddessStack",100,"GwenGoddessDeath")
		MIST A 0 A_JumpIfInventory("GhoulDisableTrigger",15,"DisableTheGhoul")
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 4 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_JumpIfInventory("AriaInfluence",10,"Dancing")
		TNT1 A 0 A_JumpIfInventory("GwenGoddessStack",100,"GwenGoddessDeath")
		MIST A 0 A_JumpIfInventory("GhoulDisableTrigger",15,"DisableTheGhoul")
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 4 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_SpawnItemEx("GhoulINeedHealingTrail",random(-20,20),random(-20,20),0,0,0,10)
		MIST A 0 A_SpawnItemEx("64GhoulINeedHealingTrail",random(-20,20),random(-20,20),0,0,0,10)
		MIST A 0 A_JumpIfInventory("AriaInfluence",10,"Dancing")
		TNT1 A 0 A_JumpIfInventory("GwenGoddessStack",100,"GwenGoddessDeath")
		MIST A 0 A_JumpIfInventory("GhoulDisableTrigger",15,"DisableTheGhoul")
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 4 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_JumpIfInventory("AriaInfluence",10,"Dancing")
		TNT1 A 0 A_JumpIfInventory("GwenGoddessStack",100,"GwenGoddessDeath")
		MIST A 0 A_JumpIfInventory("GhoulDisableTrigger",15,"DisableTheGhoul")
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 4 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_SpawnItemEx("GhoulINeedHealingTrail",random(-20,20),random(-20,20),0,0,0,10)
		MIST A 0 A_SpawnItemEx("64GhoulINeedHealingTrail",random(-20,20),random(-20,20),0,0,0,10)
		TNT1 A 0 A_JumpIfInventory("GwenGoddessStack",100,"GwenGoddessDeath")
		MIST A 0 A_JumpIfInventory("AriaInfluence",10,"Dancing")
		MIST A 0 A_JumpIfInventory("GhoulDisableTrigger",15,"DisableTheGhoul")
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 4 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_JumpIfInventory("AriaInfluence",10,"Dancing")
		TNT1 A 0 A_JumpIfInventory("GwenGoddessStack",100,"GwenGoddessDeath")
		MIST A 0 A_JumpIfInventory("GhoulDisableTrigger",15,"DisableTheGhoul")
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 4 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_SpawnItemEx("GhoulINeedHealingTrail",random(-20,20),random(-20,20),0,0,0,10)
		MIST A 0 A_SpawnItemEx("64GhoulINeedHealingTrail",random(-20,20),random(-20,20),0,0,0,10)
		MIST A 0 A_JumpIfInventory("AriaInfluence",10,"Dancing")
		TNT1 A 0 A_JumpIfInventory("GwenGoddessStack",100,"GwenGoddessDeath")
		MIST A 0 A_JumpIfInventory("GhoulDisableTrigger",15,"DisableTheGhoul")
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		MIST A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		Goto Spawn
	Dancing:
		MIST A 0 A_Changeflag("shootable",true)
		MIST A 0 A_TakeInventory("GhoulDisableTrigger",15)
		MIST A 0 A_TakeInventory("AriaInfluence",10)
		MIST A 0 Setplayerproperty(0,1,4)
		MIST AAAAAAAAAAAAAAAAA 1 A_SetTranslucent(1.0,0)
		MIST A 0 ThrustThingZ(0,20,0,0)
		MIST A 0 ThrustThing(angle*random(0,224), 10, 0, 0)
		MIST A 0 A_TakeInventory("GhoulDisableTrigger",15)
		MIST A 0 A_TakeInventory("AriaInfluence",10)
		MIST AAAAAAAAAAAAAAAAA 1 A_SetTranslucent(1.0,0)
		MIST A 0 ThrustThingZ(0,20,0,0)
		MIST A 0 ThrustThing(angle*random(0,224), 10, 0, 0)
		MIST A 0 A_TakeInventory("GhoulDisableTrigger",15)
		MIST A 0 A_TakeInventory("AriaInfluence",10)
		MIST AAAAAAAAAAAAAAAAA 1 A_SetTranslucent(1.0,0)
		MIST A 0 ThrustThingZ(0,20,0,0)
		MIST A 0 ThrustThing(angle*random(0,224), 10, 0, 0)
		MIST A 0 A_TakeInventory("GhoulDisableTrigger",15)
		MIST A 0 A_TakeInventory("AriaInfluence",10)
		MIST AAAAAAAAAAAAAAAAA 1 A_SetTranslucent(1.0,0)
		MIST A 0 ThrustThingZ(0,20,0,0)
		MIST A 0 ThrustThing(angle*random(0,224), 10, 0, 0)
		MIST A 0 A_TakeInventory("GhoulDisableTrigger",15)
		MIST A 0 A_TakeInventory("AriaInfluence",10)
		MIST AAAAAAAAAAAAAAAAA 1 A_SetTranslucent(1.0,0)
		MIST A 0 ThrustThingZ(0,20,0,0)
		MIST A 0 ThrustThing(angle*random(0,224), 10, 0, 0)
		MIST A 0 A_TakeInventory("GhoulDisableTrigger",15)
		MIST A 0 A_TakeInventory("AriaInfluence",10)
		MIST AAAAAAAAAAAAAAAAA 1 A_SetTranslucent(1.0,0)
		MIST A 0 ThrustThingZ(0,20,0,0)
		MIST A 0 ThrustThing(angle*random(0,224), 10, 0, 0)
		MIST A 1 Setplayerproperty(0,0,4)
		MIST A 0 A_TakeInventory("GhoulDisableTrigger",15)
		MIST A 0 A_TakeInventory("AriaInfluence",10)
		Goto Spawn
	DisableTheGhoul:
		MIST A 0 A_Changeflag("shootable",false)
		MIST A 0 A_Changeflag("shootable",false)
		MIST A 0 Setplayerproperty(0,1,4)
		MIST A 0 A_TakeInventory("GhoulDisableTrigger",15)
		MIST A 90 Bright A_SetTranslucent(1.0,0)
		MIST A 0 A_TakeInventory("GhoulDisableTrigger",15)
		MIST A 0 A_Changeflag("shootable",true)
		MIST A 0 A_Changeflag("shootable",true)
		MIST A 0 Setplayerproperty(0,0,4)
		MIST A 0 Setplayerproperty(0,0,4)
		MIST A 0 A_TakeInventory("GhoulDisableTrigger",15)
		Goto Spawn
	Missile:
		MIST B 0 A_ChangeFlag("SHOOTABLE", TRUE)
		MIST B 4
		TNT1 A 0 A_JumpIfInventory("GwenGoddessStack",100,"GwenGoddessDeath")
		MIST CDCDCDCDCDCDCDCDCD 2
		TNT1 A 0 A_JumpIfInventory("GwenGoddessStack",100,"GwenGoddessDeath")
		MIST B 4
		MIST B 0 A_ChangeFlag("SHOOTABLE", TRUE)
		goto Spawn
	Pain:
		MIST A 0 Setplayerproperty(0,0,4)
		MIST A 0 SetPlayerProperty(0,0,0)
		MIST A 0 A_Pain
		MIST A 0 A_SetTranslucent(0.4)
		MIST A 0 A_GiveInventory("MistAmmo",1)
		MIST A 0 A_CustomMissile("MistySmokeCover", 2, 0, random(0, 360))
		MIST A 0 A_CustomMissile("TrailSmoke2", 2, 0, random(0, 360))
		MIST A 0 A_CustomMissile("MistySmokeCover", 2, 0, random(0, 360))
		MIST A 0 A_CustomMissile("TrailSmoke2", 2, 0, random(0, 360))
		TNT1 A 0 A_JumpIfInventory("GwenGoddessStack",100,"GwenGoddessDeath")
		MIST A 21
		TNT1 A 0 A_JumpIfInventory("GwenGoddessStack",100,"GwenGoddessDeath")
		MIST A 21
		TNT1 A 0 A_JumpIfInventory("GwenGoddessStack",100,"GwenGoddessDeath")
		MIST A 0 A_SetTranslucent(1.0)
		Goto Spawn
	Death.LoWangVampiric:
	TNT1 A 0 A_GiveToTarget("SWLoWangBloody",1)
	TNT1 A 0 A_JumpIfInventory("BloodCurseItem",1,"Death",AAPTR_TARGET)
	TNT1 A 0 A_GiveToTarget("Health",20)
	Goto Death
	Pain.Vivi:
	MIST A 0 A_SetPitch(pitch - 3.0)
	MIST A 0 A_SetAngle(angle + (random(-50,50)/10))
	Goto Pain
	Pain.ViviMine:
	MIST A 0 ThrustThingZ(0,70,0,0)
	Goto Pain
	Death.DoomChainSaw:
	TNT1 A 0 A_GiveToTarget("cell",50)
	TNT1 A 0 A_GiveToTarget("RocketAmmo",5)
	TNT1 A 0 A_GiveToTarget("clip1",50)
	TNT1 A 0 A_GiveToTarget("Shell",10)
	Goto Death
	Death.D64Pistol:
	TNT1 A 0 A_GiveToTarget("D64UnmakerUpgrades",1)
	TNT1 A 0 A_GiveToTarget("Cell",75)
	TNT1 A 0 A_GiveToTarget("D64KilledCount",1)
	Goto DeathAnimAlt
	Death.Plasma:
	TNT1 A 0 A_GiveToTarget("CyborgFuel",25)
	Goto DeathAnim
	Death.Telefrag:
	Goto Death.UnmakerLaser
	Death.SkarletPistolDrain:
	TNT1 A 0 A_JumpIfInventory("BloodCurseItem",1,"Death",AAPTR_TARGET)
	TNT1 A 0 A_GiveToTarget("Health",50)
	Goto Death
	Death.SkarletVampiric:
	TNT1 A 0 A_JumpIfInventory("BloodCurseItem",1,"Death",AAPTR_TARGET)
	TNT1 A 0 A_GiveToTarget("Health",60)
	Goto Death
	Pain.GwenPlasma2:
		TNT1 A 0 A_JumpIfInventory("GwenGoddessStack",100,"GwenGoddessDeath")
		MIST A 0 Setplayerproperty(0,0,4)
		MIST A 0 A_Pain
		MIST A 20 Setplayerproperty(0,1,0)
		MIST A 2 Setplayerproperty(0,0,0)
		Goto Spawn
	GwenGoddessDeath:
		TNT1 A 0 SetPlayerProperty(0,1,4)
		TNT1 A 0 A_SetTranslucent (1.0, 0)
		TNT1 A 0 A_SpawnItemEx("GwenTimeImplosionRing")
		TNT1 A 0 A_Playsound("Gwen/DivineExplosionSound",6,1,0,ATTN_NONE)
		MIST A 24 SetPlayerProperty(0,1,4)
		TNT1 A 0 A_SpawnItemEx("GwenTimeExplosionRingDamageFX")
		TNT1 A 0 A_SpawnItemEx("GwenTimeExplosionRingDamage")
		TNT1 A 0 A_SpawnItemEx("GwenTimeExplosionRing")
		TNT1 A 0 A_SpawnItemEx("GwenTimeExplosionRingX")
		TNT1 A 0 A_SpawnItemEx("GwenThunderFX")
		TNT1 A 0 A_SpawnItemEx("GwenGoddessStateEXP")
		TNT1 AAAAAAAAAAAAAAAAAAAAAAAA 0 A_SpawnItemEx("GwenThunderFX_Spark2", 0, 0, 8, 0.01 * Random(-300, 300), 0.01 * Random(-300, 300), 0.01 * Random(0, 600), 0, 128, 0)
		TNT1 AAAAAAAAAAAAAAAAAAAAAAAA 0 A_SpawnItemEx("GwenThunderFX_Spark2", 0, 0, 8, 0.01 * Random(-300, 300), 0.01 * Random(-300, 300), 0.01 * Random(0, 600), 0, 128, 0)
		TNT1 AAAAAAAAAAAAAAAAAAAAAAAA 0 A_SpawnItemEx("GwenThunderFX_Spark2", 0, 0, 8, 0.01 * Random(-300, 300), 0.01 * Random(-300, 300), 0.01 * Random(0, 600), 0, 128, 0)
		TNT1 AAAAAAAAAAAAAAAAAAAAAAAA 0 A_SpawnItemEx("GwenThunderFX_Spark2", 0, 0, 8, 0.01 * Random(-300, 300), 0.01 * Random(-300, 300), 0.01 * Random(0, 600), 0, 128, 0)
		TNT1 AAAAAAAAAAAAAAAAAAAAAAAA 0 A_SpawnItemEx("GwenThunderFX_Spark2", 0, 0, 8, 0.01 * Random(-300, 300), 0.01 * Random(-300, 300), 0.01 * Random(0, 600), 0, 128, 0)
		TNT1 AAAAAAAAAAAAAAAAAAAAAAAA 0 A_SpawnItemEx("GwenThunderFX_Spark2", 0, 0, 8, 0.01 * Random(-300, 300), 0.01 * Random(-300, 300), 0.01 * Random(0, 600), 0, 128, 0)
		TNT1 AAAAAAAAAAAA 0 A_SpawnItemEx("KNThunderFX_Smoke", 0, 0, 0, 0.01 * Random(-125, 125), 0.01 * Random(-125, 125), 0.01 * Random(25, 245), 0, 128, 0)
		TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_SpawnItemEx("GwenThunderFX_Spark", 0, 0, 8, 0.01 * Random(-300, 300), 0.01 * Random(-300, 300), 0.01 * Random(0, 600), 0, 128, 0)
		TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_SpawnItemEx("GwenThunderFX_Spark", 0, 0, 8, 0.01 * Random(-300, 300), 0.01 * Random(-300, 300), 0.01 * Random(0, 600), 0, 128, 0)
		TNT1 A 0 DamageThing(100000)
		Goto Death
	Death:
	DeathAnim:
		TNT1 A 0 A_GiveToTarget("KillBeep",1)
		TNT1 A 0 A_SpawnItemEx("AdditionalGhoulDeathVFX")
		MIST A 0 A_TakeInventory("KilledCount",999)
		MIST A 0 A_GiveToTarget("KilledMe",1)
		MIST A 0 A_GiveToTarget("KilledMisty",1)
		MIST A 0 A_GiveInventory("GhoulAmmo",1)
		MIST A 0 A_Stop
		MIST A 0 A_StopSoundEx("Body")
		MIST A 1 A_Fall
		MIST A 0 A_PlaySoundEx("MistyDie","Body")
		MIST A 1 A_CustomMissile("TrailSmoke2", 0, 0, 0)
		MIST A 0 A_CustomMissile("TrailSmoke2", 0, 0, 45)
		MIST A 0 A_CustomMissile("TrailSmoke2", 0, 0, -45)
		MIST A 0 A_CustomMissile("TrailSmoke2", 0, 0, 90)
		MIST A 0 A_CustomMissile("TrailSmoke2", 0, 0, -90)
		MIST A 0 A_CustomMissile("TrailSmoke2", 0, 0, 135)
		MIST A 0 A_CustomMissile("TrailSmoke2", 0, 0, -135)
		MIST A 0 A_CustomMissile("TrailSmoke2", 0, 0, 180)
		MIST A 10
		TNT1 AAAAAAAAAAAA 4 A_CustomMissile("ArchvileFirex2", 0, 0, random(0,360), 0)
		TNT1 A -1
		Stop
	DeathAnimAlt:
		TNT1 A 0 A_GiveToTarget("KillIndicator",1)
		TNT1 A 0 A_SpawnItemEx("AdditionalGhoulDeathVFX")
		MIST A 0 A_TakeInventory("KilledCount",999)
		MIST A 0 A_GiveToTarget("KilledMe",1)
		MIST A 0 A_GiveToTarget("KilledMisty",1)
		MIST A 0 A_GiveInventory("GhoulAmmo",1)
		MIST A 0 A_Stop
		MIST A 0 A_StopSoundEx("Body")
		MIST A 1 A_Fall
		MIST A 0 A_PlaySoundEx("MistyDie","Body")
		MIST A 1 A_CustomMissile("TrailSmoke2", 0, 0, 0)
		MIST A 0 A_CustomMissile("TrailSmoke2", 0, 0, 45)
		MIST A 0 A_CustomMissile("TrailSmoke2", 0, 0, -45)
		MIST A 0 A_CustomMissile("TrailSmoke2", 0, 0, 90)
		MIST A 0 A_CustomMissile("TrailSmoke2", 0, 0, -90)
		MIST A 0 A_CustomMissile("TrailSmoke2", 0, 0, 135)
		MIST A 0 A_CustomMissile("TrailSmoke2", 0, 0, -135)
		MIST A 0 A_CustomMissile("TrailSmoke2", 0, 0, 180)
		MIST A 10
		TNT1 AAAAAAAAAAAA 4 A_CustomMissile("ArchvileFirex2", 0, 0, random(0,360), 0)
		TNT1 A -1
		Stop
	Death.ChexWarrior:
		MIST A 0 A_GiveToTarget("KillIndicator",1)
		MIST A 0 A_TakeInventory("KilledCount",999)
		MIST A 0 A_GiveToTarget("KilledMe",1)
		MIST A 0 A_GiveToTarget("KilledMisty",1)
		MIST A 0 A_GiveInventory("GhoulAmmo",1)
		MIST A 0 A_StopSoundEx("Body")
		MIST A 0 A_SpawnItemEx("ChexCereal",0,0,32,random(2,3),momy,random(8,12),random(-180,180))
		MIST A 0 A_GiveToTarget("ChexArmorBonus",25)
		MIST A 0 A_GiveToTarget("ChexBoop",1)
		MIST A 0 A_Stop
		MIST A 0 A_NoGravity
		MIST A 0 A_ChangeFlag("DONTGIB",1)
		MIST A 0 A_PlaySoundEx("Teleport/Chex",7)
		MIST A 0 A_PlaySoundEx("MistyPain", "Body")
		MIST A 3 A_SpawnItem("BigZorch")
		MIST A 3 A_SetTranslucent(0.9,0)
		MIST A 0 A_Scream
		MIST A 3 A_SetTranslucent(0.8,0)
		MIST A 0 A_NoBlocking
		MIST A 3 A_SetTranslucent(0.7,0)
		MIST A 3 A_SetTranslucent(0.6,0)
		MIST A 3 A_SetTranslucent(0.5,0)
		MIST A 3 A_SetTranslucent(0.4,0)
		MIST A 3 A_SetTranslucent(0.3,0)
		MIST A 3 A_SetTranslucent(0.2,0)
		MIST A 3 A_SetTranslucent(0.1,0) 
		TNT1 A 1 A_SetTranslucent(1,0)
		TNT1 A -1
		Stop
	Death.CarolineDamage:
		NULL A 0 A_SpawnItemEx("CarolineHeart",0,0,32,random(2,3),momy,random(8,12),random(-180,180))
		Goto Death.UnmakerLaser
	Death.MapGibber:
		TNT1 A 0 A_PlaySound("car/hit",chan_auto)
	Death.MapGibber2:
	Death.UnmakerLaser:
		TNT1 A 0 A_GiveToTarget("KillBeep",1)
		TNT1 A 0 A_SpawnItemEx("AdditionalGhoulDeathVFX")
		TNT1 A 0 A_TakeInventory("KilledCount",999)
		TNT1 A 0 A_GiveToTarget("KilledMe",1)
		TNT1 A 0 A_GiveToTarget("KilledMisty",1)
		MIST A 0 A_CustomMissile("TrailSmoke2", 0, 0, 0)
		MIST A 0 A_CustomMissile("TrailSmoke2", 0, 0, 45)
		MIST A 0 A_CustomMissile("TrailSmoke2", 0, 0, -45)
		MIST A 0 A_CustomMissile("TrailSmoke2", 0, 0, 90)
		MIST A 0 A_CustomMissile("TrailSmoke2", 0, 0, -90)
		MIST A 0 A_CustomMissile("TrailSmoke2", 0, 0, 135)
		MIST A 0 A_CustomMissile("TrailSmoke2", 0, 0, -135)
		MIST A 0 A_CustomMissile("TrailSmoke2", 0, 0, 180)
		TNT1 A 1
		TNT1 A 0 A_NoBlocking
		TNT1 A 0 A_Gravity
		NULL A 1 A_SpawnItemEx("SoulGIBBER", 0, 0, 0, 0, 0, 0, 0, 160, 0)
		NULL A -1
		Stop
	Death.MarineShotgun:
	MIST A 0 A_GiveToTarget("grenadeammo",1)
	MIST A 0 A_GiveToTarget("shell",3)
	MIST A 0 A_GiveToTarget("clip1",20)
	Goto DeathAnim
	Death.Marinemachinegun:
	MIST A 0 A_GiveToTarget("grenadeammo",1)
	MIST A 0 A_GiveToTarget("shell",3)
	MIST A 0 A_GiveToTarget("clip1",20)
	Goto Deathanim
	Death.Marinepistol:
	MIST A 0 A_GiveToTarget("grenadeammo",1)
	MIST A 0 A_GiveToTarget("shell",3)
	MIST A 0 A_GiveToTarget("clip1",20)
	Goto Deathanim
	Death.CrapPlasma:
		MIST A 0 A_GiveToTarget("Unlock9",1)
		Goto DeathAnim
	Death.Grenade:
		MIST A 0 A_GiveToTarget("KilledG",1)
		Goto DeathAnim
	Death.Ice2:
		MIST A 0 A_GiveToTarget("KilledIce2",1)
		Goto DeathAnim
	Death.Fire2:
		MIST A 0 A_GiveToTarget("KilledFire2",1)
		Goto DeathAnim
	Death.Railgun:
		MIST A 0 A_GiveToTarget("KilledLightning",1)
		Goto DeathAnim
	Death.GhostTrap:
		MIST A 0 A_GiveToTarget("KilledG",1)
		Goto DeathAnim
	Death.AltFire2:
		MIST A 0 A_GiveToTarget("KilledAltFire2",1)
		Goto Death.Fire2
	Death.AltIce2:
		MIST A 0 A_GiveToTarget("KilledAltIce2",1)
		Goto Death.Ice2
	Death.AltGrenade:
		MIST A 0 A_GiveToTarget("KilledAltG",1)
		Goto Death.Grenade
	Death.Fire3:
		MIST A 0 A_GiveToTarget("KilledFire3",1)
		Goto DeathAnim
	Death.Ice3:
		MIST A 0 A_GiveToTarget("KilledIce3",1)
		Goto DeathAnim
	Death.Grenade2:
		MIST A 0 A_GiveToTarget("KilledG2",1)
		Goto DeathAnim
	Pain.Drainer:
		MIST A 0 A_GiveToTarget("Health",10)
		Goto Pain
	Death.ChexWarriorPistol:
	Death.ChexWarriorChainsaw:
	Goto Death.ChexWarrior
	Death.RenegadeBullets:
	Death.RenegadeFire:
	Death.ArtilleryDamage:
		TNT1 A 0 A_GiveToTarget("RenegadeKillItem",1)
		Goto DeathAnimAlt
	Death.CalebDynamite:
		TNT1 A 0 A_GiveToTarget("KilledG",1)
	Death.CalebShotgun:
	Death.CalebRevolver:
		TNT1 A 0 A_GiveToTarget("Health",20)
		TNT1 A 0 A_SpawnItemEx("CalebHeart",0,0,32,random(2,3),momy,random(8,12),random(-180,180))
		TNT1 A 0 A_GiveToTarget("CalebHeartbeat",1)
		Goto DeathAnimAlt
	Pain.EngineerSaw:
	Pain.Ghosttrap:
	Pain.GBFire:
	Pain.Misty:
	Pain.GBSaw:
	Pain.GBString:
	Pain.GBNuke:
	Pain.Ice2:
	Pain.Ice:
	Pain.ElecStorm:
	Pain.AltFire2:
	Pain.AltIce2:
	Pain.Fire2:
	Pain.Doggo:
	Pain.LaraArrow:
	Pain.Wind2:
	Pain.Grenade:
	Pain.Grenade2:
	Pain.TemplarLightningRain:
	Pain.CarolineDamage:
	Pain.ChexWarrior:
	Pain.InariPlasma:
	Pain.Plasma:
	Pain.FlameProtect:
	Pain.DutchShotgun:
	Pain.KarenExplo:
	Pain.Sentinel:
	Pain.Divine:
	Pain.GwenPlasma3:
	Pain.MacheteSlicerino:
	Pain.AntiAirbolt:
	Pain.MechPewPews:
	Pain.RainbowNado:
		TNT1 A 0 ACS_NamedExecuteAlways("ChangeActivator",0)
		Goto Pain
	}
}

actor FrozenWind8
{
PROJECTILE
Damage (4)
Speed 21
Radius 12
renderstyle add
damagetype "minion"
Obituary "%o was lost in %k's mist."
alpha 0.8
scale 2.0
Height 20
+DOOMBOUNCE
+BLOODLESSIMPACT
States
{
Spawn:
PLSS J 5 A_FadeOut(0.05)
PLSS J 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
PLSS K 5 A_FadeOut(0.05)
PLSS J 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
PLSS L 5 A_FadeOut(0.05)
PLSS J 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
PLSS M 5 A_FadeOut(0.05)
PLSS J 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
PLSS N 5 A_FadeOut(0.05)
PLSS J 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
PLSS O 5 A_FadeOut(0.05)
PLSS J 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
PLSS P 5 A_FadeOut(0.05)
PLSS J 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
PLSS Q 5 A_FadeOut(0.05)
PLSS J 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
PLSS R 5 A_FadeOut(0.05)
PLSS J 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
PLSS S 5 A_FadeOut(0.05)
PLSS J 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
PLSS T 5 A_FadeOut(0.05)
PLSS J 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
PLSS U 5 A_FadeOut(0.05)
PLSS J 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
PLSS V 5 A_FadeOut(0.05)
PLSS J 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
PLSS W 5 A_FadeOut(0.05)
PLSS J 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
PLSS X 5 A_FadeOut(0.05)
PLSS J 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
stop
Death:
PLSS X 0
stop
}
}

Actor TrailSmoke : Frozenwind8
{
	Damage (2)
	Speed 2
	Radius 12
	RenderStyle Normal
	Damagetype "minion"
	Obituary "%o was lost in %k's mist."
	Alpha 0.9
	Scale 0.8
	visibletoteam 0
	States
	{
	Spawn:
		TNT1 A 2	
		SMIS A 0 A_Recoil(1)
		SMIS A 6 A_FadeOut(0.05)
		SMIS A 0 A_Recoil(1)
		SMIS A 6 A_FadeOut(0.05)
		SMIS A 0 A_Recoil(1)
		SMIS A 6 A_FadeOut(0.05)
		SMIS A 0 A_Recoil(1)
		SMIS A 6 A_FadeOut(0.05)
		SMIS A 6 A_FadeOut(0.05)
		SMIS A 6 A_FadeOut(0.05)
		SMIS A 6 A_FadeOut(0.05)
		SMIS A 6 A_FadeOut(0.05)
		SMIS A 6 A_FadeOut(0.05)
		SMIS A 6 A_FadeOut(0.05)
		SMIS A 6 A_FadeOut(0.05)
		Stop
	XDeath:
		TNT1 A 0 A_GiveToTarget("HitBeep",1)
		Goto Death
	Death:
		SMIS A 0
		Stop
	}
}

Actor TrailSmoke2
{
	Height 1
	Radius 1
	Speed 12
	RenderStyle Translucent
	visibletoteam 0
	Alpha 0.6
	Scale 2.0
	PROJECTILE
	-NOGRAVITY
	+NOCLIP
	+CLIENTSIDEONLY
	
	States
	{
	Spawn:
		SMIS A 100
		SMIS AAAAAAAAAA 5 A_Fadeout(0.1)
	}
}

Actor MistyHands : SjasHands
{
	Weapon.AmmoType2 "MistAmmo"
	Weapon.AmmoGive2 50
	Weapon.AmmoUse2 1
	Inventory.Icon "MISTYATT"
	Obituary "%k dropped a loud shout on %o." 
	+WEAPON.NOAUTOAIM
	+WEAPON.MELEEWEAPON
	+WEAPON.ALT_AMMO_OPTIONAL
	+INVENTORY.UNDROPPABLE
	States
	{
	Ready:
		4IST A 0 A_TakeInventory("KilledM",999)
		4IST AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 2 A_WeaponReady
		4IST A 0 A_GiveInventory("MistAmmo",1)
		Loop
	Deselect:
		4IST A 1 A_Lower
		Loop
	Select:
		4IST A 1 A_Raise
		Goto Select
	Fire:
		4IST B 0 ACS_ExecuteAlways(999,0)
		4IST B 0 A_PlayWeaponSound("MistyAttack")
		4IST B 1 A_FireCustomMissile("MistyAttack", 0, 0 ,0)
		4IST C 1
		4IST BCBCBCBCBC 1
		4IST BCBCBCBCBC 1
		4IST BCBCBCBCBC 1
		4IST BCBCBCBCBC 1
		4IST BC 1
		4IST A 0 ACS_ExecuteAlways(998,0)
		4IST A 14
		Goto Ready
	AltFire:
		4IST A 0 A_JumpIfNoAmmo("Ready")
		4IST BCBCBCBC 1
		4IST B 0 A_PlaySoundEx("KEOVHEAT","weapon")
		4IST B 0 A_FireCustomMissile("MistySmoke")
		4IST BCBC 2
		4IST B 0 A_ReFire
		4IST A 20
		Goto Ready
	}
}

Actor MistAmmo : Ammo
{
	Inventory.Amount 3
	Inventory.MaxAmount 3
	+INVENTORY.IGNORESKILL
	States
	{
	Spawn:
		TNT1 A -1
		Stop
	}
}

Actor MistyAttack : SjasAttack
{
	States
	{
	Spawn:
		TNT1 A 0
		TNT1 A 1 A_Explode(90, 180, 0)
		Stop
	}
}

Actor MistySmoke
{

	Damage (10)
	Speed 21
	Radius 10
	RenderStyle Translucent
	DamageType "Misty"
	Obituary "%o was lost in %k's mist."
	Alpha 0.6
	Scale 0.8
	Height 10
	reactiontime 3
	PROJECTILE
	-NOGRAVITY
    gravity 0.1
	+DOOMBOUNCE
	+BOUNCEONACTORS
	+BLOODLESSIMPACT
	States
	{
	Spawn:
		SMIS A 2 
		SMIS A 1 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		SMIS A 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
		SMIS A 2 
		SMIS A 1 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		SMIS A 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
		SMIS A 2 
		SMIS A 1 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		SMIS A 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
		SMIS A 2 
		SMIS A 1 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		SMIS A 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
		SMIS A 2 
		SMIS A 1 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		SMIS A 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
		SMIS A 2 
		SMIS A 1 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		SMIS A 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
		SMIS A 2
		SMIS A 1 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		SMIS A 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
		SMIS A 2 
		SMIS A 1 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		SMIS A 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
		SMIS A 2 
		SMIS A 1 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		SMIS A 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
		SMIS A 2
		SMIS A 1 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		SMIS A 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
		SMIS A 2
		SMIS A 1 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		SMIS A 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
		SMIS A 2
		SMIS A 1 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		SMIS A 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
		SMIS A 2 
		SMIS A 1 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		SMIS A 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
		SMIS A 2 
		SMIS A 1 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		SMIS A 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
		SMIS A 2
		SMIS A 1 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		SMIS A 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
		SMIS A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		SMIS A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		SMIS A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		SMIS A 0 A_SpawnItemEx("TrailSmoke",0,0,0,0,0,0,Random(120,240),0,0)
		SMIS A 0 A_Countdown
		loop
	XDeath:
		TNT1 A 0 A_GiveToTarget("HitBeep",1)
		Goto Death
	Death:
		SMIS X 0
		Stop
	}
}

Actor MistySmokeCover
{

	Damage (0)
	Speed 21
	Radius 10
	RenderStyle Translucent
	DamageType "Misty"
	Obituary "%o was lost in %k's mist."
	Alpha 0.6
	Scale 0.8
	Height 10
	reactiontime 6
	visibletoteam 0
	PROJECTILE
	-NOGRAVITY
    gravity 0.1
	+DOOMBOUNCE
	+BOUNCEONACTORS
	+BLOODLESSIMPACT
	+CLIENTSIDEONLY
	States
	{
	Spawn:
		SMIS A 2 
		SMIS A 1 A_SpawnItemEx("TrailSmokeCover",0,0,0,0,0,0,Random(120,240),0,0)
		SMIS A 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
		SMIS A 2 
		SMIS A 1 A_SpawnItemEx("TrailSmokeCover",0,0,0,0,0,0,Random(120,240),0,0)
		SMIS A 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
		SMIS A 2 
		SMIS A 1 A_SpawnItemEx("TrailSmokeCover",0,0,0,0,0,0,Random(120,240),0,0)
		SMIS A 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
		SMIS A 2 
		SMIS A 1 A_SpawnItemEx("TrailSmokeCover",0,0,0,0,0,0,Random(120,240),0,0)
		SMIS A 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
		SMIS A 2 
		SMIS A 1 A_SpawnItemEx("TrailSmokeCover",0,0,0,0,0,0,Random(120,240),0,0)
		SMIS A 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
		SMIS A 2 
		SMIS A 1 A_SpawnItemEx("TrailSmokeCover",0,0,0,0,0,0,Random(120,240),0,0)
		SMIS A 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
		SMIS A 2
		SMIS A 1 A_SpawnItemEx("TrailSmokeCover",0,0,0,0,0,0,Random(120,240),0,0)
		SMIS A 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
		SMIS A 2 
		SMIS A 1 A_SpawnItemEx("TrailSmokeCover",0,0,0,0,0,0,Random(120,240),0,0)
		SMIS A 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
		SMIS A 2 
		SMIS A 1 A_SpawnItemEx("TrailSmokeCover",0,0,0,0,0,0,Random(120,240),0,0)
		SMIS A 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
		SMIS A 2
		SMIS A 1 A_SpawnItemEx("TrailSmokeCover",0,0,0,0,0,0,Random(120,240),0,0)
		SMIS A 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
		SMIS A 2
		SMIS A 1 A_SpawnItemEx("TrailSmokeCover",0,0,0,0,0,0,Random(120,240),0,0)
		SMIS A 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
		SMIS A 2
		SMIS A 1 A_SpawnItemEx("TrailSmokeCover",0,0,0,0,0,0,Random(120,240),0,0)
		SMIS A 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
		SMIS A 2 
		SMIS A 1 A_SpawnItemEx("TrailSmokeCover",0,0,0,0,0,0,Random(120,240),0,0)
		SMIS A 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
		SMIS A 2 
		SMIS A 1 A_SpawnItemEx("TrailSmokeCover",0,0,0,0,0,0,Random(120,240),0,0)
		SMIS A 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
		SMIS A 2
		SMIS A 1 A_SpawnItemEx("TrailSmokeCover",0,0,0,0,0,0,Random(120,240),0,0)
		SMIS A 0 A_JumpIfInTargetInventory("GhoulAmmo",1,"Death")
		SMIS A 0 A_SpawnItemEx("TrailSmokeCover",0,0,0,0,0,0,Random(120,240),0,0)
		SMIS A 0 A_SpawnItemEx("TrailSmokeCover",0,0,0,0,0,0,Random(120,240),0,0)
		SMIS A 0 A_SpawnItemEx("TrailSmokeCover",0,0,0,0,0,0,Random(120,240),0,0)
		SMIS A 0 A_SpawnItemEx("TrailSmokeCover",0,0,0,0,0,0,Random(120,240),0,0)
		SMIS A 0 A_Countdown
		loop
	Death:
		SMIS X 0
		Stop
	}
}

Actor TrailSmokeCover : Frozenwind8
{
	Damage (0)
	Speed 2
	Radius 12
	RenderStyle Normal
	Damagetype "minion"
	Obituary "%o was lost in %k's mist."
	Alpha 0.9
	Scale 0.8
	visibletoteam 0
	+CLIENTSIDEONLY
	States
	{
	Spawn:
		TNT1 A 2	
		SMIS A 0 A_Recoil(1)
		SMIS A 9 A_FadeOut(0.05)
		SMIS A 0 A_Recoil(1)
		SMIS A 9 A_FadeOut(0.05)
		SMIS A 0 A_Recoil(1)
		SMIS A 9 A_FadeOut(0.05)
		SMIS A 0 A_Recoil(1)
		SMIS A 9 A_FadeOut(0.05)
		SMIS A 9 A_FadeOut(0.05)
		SMIS A 9 A_FadeOut(0.05)
		SMIS A 9 A_FadeOut(0.05)
		SMIS A 9 A_FadeOut(0.05)
		SMIS A 9 A_FadeOut(0.05)
		SMIS A 9 A_FadeOut(0.05)
		SMIS A 9 A_FadeOut(0.05)
		Stop
	Death:
		SMIS A 0
		Stop
	}
}