ACTOR CrowMAC10 : DravenWeaponBase
{
  	Weapon.AmmoType "Clip"
  	Weapon.AmmoGive 50
  	Weapon.AmmoUse 1
  	+WEAPON.NOALERT
  	+FloorClip
  	weapon.bobstyle inversesmooth
    weapon.bobspeed 2.0
  	weapon.bobrangex 0.75
  	weapon.bobrangey 0.75
  	Inventory.Pickupmessage "You got the MAC-10!"
	inventory.pickupsound "misc/w_pkup"
	Obituary "%o ate %k's bullets."
	Weapon.UpSound "Weapon/switch"
	+WEAPON.NOAUTOAIM
	+FORCEXYBILLBOARD
	+weapon.noautoaim
	+weapon.noautofire
	Weapon.SelectionOrder 700
	Tag "MAC-10 Submachinegun"
	States
	{
	Ready:
		EDM1 A 1 A_WeaponReady(WRF_ALLOWZOOM|WRF_ALLOWRELOAD)
		Loop
	Fire:
		EDM1 A 1
		TNT1 A 0 A_GunFlash
		TNT1 A 0 A_AlertMonsters
		TNT1 A 0 A_SetPitch(pitch-1)
		TNT1 A 0 A_FireCustomMissile("PistolCaseSpawn",5,0,12,-14)
		TNT1 A 0 A_PlayWeaponSound("mac10/fire")
		EDM1 B 1 Bright A_FireBullets(5,5,1,20,"CrowMachinePuff")
		TNT1 A 0 A_SetPitch(pitch+1)
		EDM1 CD 1
		TNT1 A 0 A_Refire
		Goto Ready
	Select:
		EDM1 A 1 A_Raise
		EDM1 AA 0 A_Raise
		Loop
	Deselect:
		EDM1 A 1 A_Lower
		EDM1 AA 0 A_Lower
		Loop
	Spawn:
		MC10 A -1
		Loop
	KickFlash:
		EDM1 A 19
		stop
	}
}
ACTOR CrowDualMAC10 : CrowMAC10
{
	States
	{
	Ready:
		EDM2 A 1 A_WeaponReady(WRF_ALLOWZOOM|WRF_ALLOWRELOAD)
		Loop
	Fire:
		TNT1 A 0 A_GunFlash
		TNT1 A 0 A_AlertMonsters
		TNT1 A 0 A_SetPitch(pitch-1)
		PI2G A 0 A_FireCustomMissile("PistolCaseSpawn",5,0,10,4)
		TNT1 A 0 A_PlayWeaponSound("mac10/fire")
		EDM2 B 1 Bright A_FireBullets(10,8,1,27,"CrowMachinePuff")
		TNT1 A 0 A_SetPitch(pitch+1)
		EDM2 CD 1
		TNT1 A 0 A_Refire("Fire2")
		Goto Ready
	Fire2:
		TNT1 A 0 A_GunFlash
		TNT1 A 0 A_AlertMonsters
		TNT1 A 0 A_SetPitch(pitch-1)
		PI2G A 0 A_FireCustomMissile("PistolCaseSpawn",5,0,-10,-4)
		TNT1 A 0 A_PlayWeaponSound("mac10/fire")
		EDM2 E 1 Bright A_FireBullets(10,8,1,27,"CrowMachinePuff")
		TNT1 A 0 A_SetPitch(pitch+1)
		EDM2 FG 1
		TNT1 A 0 A_Refire("Fire")
		Goto Ready
	Select:
		EDM2 A 1 A_Raise
		EDM2 AA 0 A_Raise
		Loop
	Deselect:
		EDM2 A 1 A_Lower
		EDM2 AA 0 A_Lower
		Loop
	Spawn:
		MC10 A -1
		Loop
	KickFlash:
		EDM2 A 19
		stop
	}
}