actor "Striker-12" : RGUWeapon
{
  obituary "%k smacked %o over with the Striker-12."
  inventory.pickupmessage "You got the Striker-12 semi-auto shotgun. Please the crowd."
  //attacksound "spas/fire"
  weapon.selectionorder 9
  weapon.ammotype "StrikerClip"
  weapon.ammouse 1
  weapon.ammogive 0
  weapon.ammotype2 "StrikerAmmo"
  weapon.ammouse2 0
  weapon.ammogive2 0
  states
  {
  Ready:
    M4CA C 0 A_JumpIfInventory("AltFireHeld",1,"PostReloadAlt")
    GRNA L 0 A_TakeInventory("weapondropper",2)
    STKA A 0 A_PlaySoundEx("weapon/draw","SoundSlot5")
    STKA BCDE 2 A_WeaponReady(WRF_NOPRIMARY|WRF_ALLOWZOOM)
	STKA FGHIJKLMN 2 A_WeaponReady(WRF_ALLOWZOOM)
    STKA O 0 A_JumpIfNoAmmo("Reload")
	W18A J 0 A_JumpIfInventory("weapondropper",1,"DropWeapon")
    STKA O 0 A_JumpIfInventory("Aiming",1,5)
    STKA O 0 A_JumpIfInventory("Reloading",1,"Reload")
    STKA O 0 A_JumpIfInventory("ThrowingGrenade",1,"FragGrenade")
    STKA O 0 A_JumpIfInventory("KnifeAttack",1,"KnifeAttack")
    STKA O 1 A_WeaponReady(WRF_ALLOWRELOAD|WRF_ALLOWZOOM)
    Goto Ready+17
    STKC F 0 A_JumpIfInventory("Reloading",1,"Reload")
  ReadyAim:
    STKC F 0 A_JumpIfInventory("ThrowingGrenade",1,"FragGrenade")
    STKC F 0 A_JumpIfInventory("KnifeAttack",1,"KnifeAttack")
	W18A I 0 A_JumpIfInventory("weapondropper",1,"AltFire3")
    STKC F 1 A_WeaponReady(WRF_NOBOB|WRF_ALLOWRELOAD|WRF_ALLOWZOOM)
    Goto Ready+23
  Deselect:
    STKA O 0 A_PlaySoundEx("weapon/down","SoundSlot5")
    STKA O 0 A_TakeInventory("Aiming",1)
    STKA O 0 A_TakeInventory("Reloading",1)
    STKA O 0 A_TakeInventory("ReloadingShot",1)
    STKA O 0 ACS_NamedExecuteAlways("RefSpeed",0,0,0,0)
    STKA O 0 A_ZoomFactor(1.0)
    STKA O 0 A_Lower
    STKA O 1 A_Lower
    Goto Deselect+6
  Select:
    STKA A 0
    STKA A 0 A_TakeInventory("ReloadingShot",1)
    STKA A 0 A_Raise
    Goto Select+2
  Fire:
    STKA O 0 A_JumpIfInventory("ReloadingShot",1,"ReloadEndStop")
    STKA O 0 A_JumpIfInventory("Aiming",1,"FireAim")
    STKA O 1 A_JumpIfNoAmmo("ReloadStart")
    STKB B 0 A_JumpIfInventory("Perk3_SteadyAim",1,"Fire_SteadyAim")
    STKB A 0 A_PlayWeaponSound("striker/fire")
    STKB AA 0 A_FireCustomMissile("WeaponSmokePuffShotgun",0,0,7,0)
    STKB A 0 A_FireCustomMissile("WeaponSmokePuff_ShotMuzzle",0,0,7,0)
    STKB AAAAA 0 BRIGHT A_FireCustomMissile("HHCBSTRIKER1", frandom(-7.00,7.00), 0, 0, 4, 0, frandom(-6.00,6.00))
    STKB AAAAAAA 0 BRIGHT A_FireCustomMissile("HHCBSTRIKER2", frandom(-7.00,7.00), 0, 0, 4, 0, frandom(-6.00,6.00))
    STKB A 1 BRIGHT A_FireCustomMissile("HHCBSTRIKER2", frandom(-7.00,7.00), 1, 0, 4, 0, frandom(-6.00,6.00))
	STKB A 0 A_SpawnItemEx("ShellCasing",Cos(Pitch)*30,-2,25-(Sin(Pitch)*25),Cos(Pitch)*FRandom(2,4),FRandom(3,6),-Sin(Pitch)*FRandom(3,6),0,SXF_NOCHECKPOSITION|SXF_TRANSFERPITCH)
    STKB A 0 BRIGHT ACS_NamedExecuteAlways("RefKick",0,0,0,0)
    SPSB A 0 A_JumpIfNoAmmo("FireEmpty")
    STKB BC 1 BRIGHT A_GunFlash
    STKB DE 1 A_WeaponReady(WRF_NOBOB|WRF_ALLOWZOOM)
    STKB FG 1 A_WeaponReady(WRF_NOBOB|WRF_ALLOWZOOM)
    STKB A 0 A_JumpIfInventory("StrikerAmmo",1,1)
    Goto Ready+17
    STKB A 0 A_JumpIfNoAmmo("ReloadStart")
    Goto Ready+17
  FireAim:
    STKC F 1 A_JumpIfNoAmmo("ReloadStart")
    STKD A 0 A_PlayWeaponSound("striker/fire")
    STKD AA 0 A_FireCustomMissile("WeaponSmokePuffShotgun",0,0,0,1)
    STKD A 0 A_FireCustomMissile("WeaponSmokePuff_ShotMuzzle",0,0,0,1)
    STKD AAAAA 0 BRIGHT A_FireCustomMissile("HHCBSTRIKER1", frandom(-2.00,2.00), 0, 0, 4, 0, frandom(-2.00,2.00))
    STKD AAAAAAA 0 BRIGHT A_FireCustomMissile("HHCBSTRIKER2", frandom(-2.00,2.00), 0, 0, 4, 0, frandom(-2.00,2.00))
    STKD A 1 BRIGHT A_FireCustomMissile("HHCBSTRIKER2", frandom(-2.00,2.00), 1, 0, 4, 0, frandom(-2.00,2.00))
	STKD A 0 A_SpawnItemEx("ShellCasing",Cos(Pitch)*30,-2,32-(Sin(Pitch)*25),Cos(Pitch)*FRandom(2,4),FRandom(3,6),-Sin(Pitch)*FRandom(3,6),0,SXF_NOCHECKPOSITION|SXF_TRANSFERPITCH)
    STKD A 0 BRIGHT ACS_NamedExecuteAlways("RefKick",0,0,0,0)
    SPSB A 0 A_JumpIfNoAmmo("FireAimEmpty")
    STKD BC 1 BRIGHT A_GunFlash
    STKD DE 1 A_WeaponReady(WRF_NOBOB|WRF_ALLOWZOOM)
    STKD FG 1 A_WeaponReady(WRF_NOBOB|WRF_ALLOWZOOM)
    STKD A 0 A_JumpIfInventory("StrikerAmmo",1,1)
    Goto Ready+23
    STKD A 0 A_JumpIfNoAmmo("ReloadStart")
    Goto Ready+23
  FireEmpty:
    STKB BC 1 BRIGHT A_GunFlash
    STKB DE 1
    STKB FG 1
    STKB A 0 A_JumpIfInventory("StrikerAmmo",1,1)
    Goto Ready+17
    STKB A 0 A_JumpIfNoAmmo("ReloadStart")
    Goto Ready+17
  FireAimEmpty:
    STKD BC 1 BRIGHT A_GunFlash
    STKD DE 1
    STKD FG 1
    STKD A 0 A_JumpIfInventory("StrikerAmmo",1,1)
    Goto Ready+17
    STKD A 0 A_JumpIfNoAmmo("ReloadStart")
    Goto Ready+17
  Reload: //AltFire:
    VECC A 0 A_JumpIfInventory("StrikerClip",12,2)
    VECC A 0 A_JumpIfInventory("StrikerAmmo",1,"ReloadStart")
    VECC A 0 A_TakeInventory("Reloading",1)
    VECC A 0 A_JumpIfInventory("Aiming",1,"ReadyAim")
    Goto Ready+20
  ReloadStart:
    STKE A 0 A_JumpIfInventory("StrikerClip",7,2)
    STKE A 0 ACS_NamedExecuteAlways("RefSpeak",0,4,0,0)
    STKE A 0 A_JumpIfInventory("Aiming",1,"ReloadStartAim")
    STKE A 0 A_JumpIfInventory("Perk1_SOH",1,"ReloadStart_SOH")
    STKE A 0 A_GiveInventory("ReloadingShot",1)
    STKE A 3 A_PlaySoundEx("striker/up","SoundSlot5")
    STKE BC 3 A_JumpIfInventory("KnifeAttack",1,"KnifeAttack")
    STKE DE 3 A_WeaponReady(WRF_NOBOB|WRF_NOFIRE)
    Goto ReloadAmmo
  ReloadAmmo:
    STKE X 0 A_JumpIfInventory("StrikerClip",12,"ReloadEnd")
    STKE X 0 A_JumpIfInventory("StrikerAmmo",1,1)
    Goto ReloadEnd
    STKE OF 3 A_JumpIfInventory("KnifeAttack",1,"KnifeAttack")
    STKE G 0 A_GiveInventory("StrikerClip",1)
    STKE G 0 A_TakeInventory("StrikerAmmo",1)
    STKE G 3 A_PlaySoundEx("striker/insert","SoundSlot6")
    STKE HIJ 3
    STKE KLMN 3 A_WeaponReady(WRF_NOBOB|WRF_ALLOWZOOM)
    Goto ReloadAmmo
  ReloadEndStop:
    STKE O 0 A_JumpIfInventory("Perk1_SOH",1,"ReloadEnd_SOH")
  ReloadEnd:
    STKE O 0 A_PlaySoundEx("striker/down","SoundSlot6")
    STKE OPQ 3 A_WeaponReady(WRF_NOBOB|WRF_NOFIRE)
    STKE RS 3 A_JumpIfInventory("KnifeAttack",1,"KnifeAttack")
    STKE S 0 A_TakeInventory("ReloadingShot",1)
    STKE S 0 A_TakeInventory("Reloading",1)
	M4CA C 0 A_JumpIfInventory("AltFireHeld",1,"PostReloadAlt")
    Goto Ready+17
  Zoom:
  PostReloadAlt:
    STKC F 0 A_ZoomFactor(1.2)
    STKC E 0 A_GiveInventory("Aiming",1)
	STKC A 0 ACS_NamedExecuteAlways("RefSpeed",0,0,0,0)
    STKC ABCDEF 1
    Goto AltHold
  ReloadBreak:
    STKC F 0 A_ZoomFactor(1.0)
    STKC FE 1
    STKC E 0 A_TakeInventory("Aiming",1)
    STKC DCBA 1
    STKC A 0 ACS_NamedExecuteAlways("RefSpeed",0,0,0,0)
	STKC F 0 A_ClearReFire
    Goto Reload
  ClearRefire:
    STKC F 1 A_ClearReFire
	Goto AltHold
  FireAimAltHold:
    "####" "#" 0 A_JumpIfInventory("StrikerClip",1,1)
	Goto ReloadBreak
    STKD A 0 A_PlayWeaponSound("striker/fire")
	BM4E Q 0 A_TakeInventory("StrikerClip",1)
    STKD AA 0 A_FireCustomMissile("WeaponSmokePuffShotgun",0,0,0,1)
    STKD A 0 A_FireCustomMissile("WeaponSmokePuff_ShotMuzzle",0,0,0,1)
    STKD AAAAA 0 BRIGHT A_FireCustomMissile("HHCBSTRIKER1", frandom(-2.00,2.00), 0, 0, 4, 0, frandom(-2.00,2.00))
    STKD AAAAAAA 0 BRIGHT A_FireCustomMissile("HHCBSTRIKER2", frandom(-2.00,2.00), 0, 0, 4, 0, frandom(-2.00,2.00))
    STKD A 1 BRIGHT A_FireCustomMissile("HHCBSTRIKER2", frandom(-2.00,2.00), 1, 0, 4, 0, frandom(-2.00,2.00))
	STKD A 0 A_SpawnItemEx("ShellCasing",Cos(Pitch)*30,-2,32-(Sin(Pitch)*25),Cos(Pitch)*FRandom(2,4),FRandom(3,6),-Sin(Pitch)*FRandom(3,6),0,SXF_NOCHECKPOSITION|SXF_TRANSFERPITCH)
    STKD A 0 BRIGHT ACS_NamedExecuteAlways("RefKick",0,0,0,0)
    STKD BCD 1 BRIGHT A_GunFlash
    "####" "#" 0 A_JumpIfInventory("StrikerClip",1,1)
	Goto ReloadBreak
	TNT1 A 0
    Goto AltHold
  AltHold:
    A12C C 0 A_JumpIfInventory("FireHeld",1,"ClearRefire")
    STKC F 1 A_WeaponReady(WRF_NOBOB|WRF_ALLOWRELOAD|WRF_ALLOWZOOM)
	A12C C 0 A_JumpIfInventory("FireHeld",1,"FireAimAltHold")
	A12C C 0 A_JumpIfInventory("Reloading",1,"ReloadBreak")
	U45A L 0 A_JumpIfInventory("ThrowingGrenade",1,"FragGrenade")
    U45A L 0 A_JumpIfInventory("KnifeAttack",1,"KnifeAttack")
	G18A I 0 A_JumpIfInventory("weapondropper",1,"AltFire3")
	A12C F 0 A_Refire("AltHold")
	A12C C 0 A_JumpIfInventory("Aiming",1,"AltFire2")
	Goto Ready+23
  AltFire:
    GRNA L 0 A_TakeInventory("weapondropper",2)
    STKC A 0 A_JumpIfInventory("ReloadingShot",1,"ReloadEnd")
	M4CA C 0 A_JumpIfInventory("AltFireHeld",1,"AltHold")
    STKC A 0 A_JumpIfInventory("Aiming",1,"AltFire2")
    STKC A 0 A_ZoomFactor(1.2)
    STKC AB 1
    STKC B 0 A_GiveInventory("Aiming",1)
    STKC CDEF 1
    STKC F 0 ACS_NamedExecuteAlways("RefSpeed",0,0,0,0)
	A12C F 0 A_Refire("AltHold")
    Goto Ready+23
  AltFire2:
    STKC F 0 A_ZoomFactor(1.0)
    STKC FE 1
    STKC E 0 A_TakeInventory("Aiming",1)
    STKC DCBA 1
    STKC A 0 ACS_NamedExecuteAlways("RefSpeed",0,0,0,0)
    Goto Ready+17
  AltFire3:
    STKC F 0 A_ZoomFactor(1.0)
    STKC FE 1
    STKC E 0 A_TakeInventory("Aiming",1)
    STKC DCBA 1
    STKC A 0 ACS_NamedExecuteAlways("RefSpeed",0,0,0,0)
	goto DropWeapon
  ReloadStartAim:
    STKC F 0 A_ZoomFactor(1.0)
    STKC FE 1
    STKC E 0 A_TakeInventory("Aiming",1)
    STKC DCBA 1
    STKC A 0 ACS_NamedExecuteAlways("RefSpeed",0,0,0,0)
    Goto ReloadStart+3
  Flash:
    TNT1 A 2 bright A_Light1
    TNT1 A 0 bright A_Light0
    stop
  Spawn:
    WEP2 A 0
    WEP2 A 0 A_SpawnItem("StrikerDrop")
    stop
  Fire_SteadyAim:
    STKB A 0 A_PlayWeaponSound("striker/fire")
    STKB AA 0 A_FireCustomMissile("WeaponSmokePuffShotgun",0,0,7,0)
    STKB A 0 A_FireCustomMissile("WeaponSmokePuff_ShotMuzzle",0,0,7,0)
    STKB AAAAA 0 BRIGHT A_FireCustomMissile("HHCBSTRIKER1", frandom(-6.00,6.00), 0, 0, 4, 0, frandom(-5.00,5.00))
    STKB AAAAAAA 0 BRIGHT A_FireCustomMissile("HHCBSTRIKER2", frandom(-6.00,6.00), 0, 0, 4, 0, frandom(-5.00,5.00))
    STKB A 1 BRIGHT A_FireCustomMissile("HHCBSTRIKER2", frandom(-6.00,6.00), 1, 0, 4, 0, frandom(-5.00,5.00))
	STKB A 0 A_SpawnItemEx("ShellCasing",Cos(Pitch)*30,-2,25-(Sin(Pitch)*25),Cos(Pitch)*FRandom(2,4),FRandom(3,6),-Sin(Pitch)*FRandom(3,6),0,SXF_NOCHECKPOSITION|SXF_TRANSFERPITCH)
    STKB A 0 BRIGHT ACS_NamedExecuteAlways("RefKick",0,0,0,0)
    SPSB A 0 A_JumpIfNoAmmo("FireEmpty")
    STKB BC 1 BRIGHT A_GunFlash
    STKB DE 1 A_WeaponReady(WRF_NOBOB|WRF_ALLOWZOOM)
    STKB FG 1 A_WeaponReady(WRF_NOBOB|WRF_ALLOWZOOM)
    STKB A 0 A_JumpIfInventory("StrikerAmmo",1,1)
    Goto Ready+17
    STKB A 0 A_JumpIfNoAmmo("ReloadStart")
    Goto Ready+17
  ReloadStart_SOH:
    STKE A 0 A_GiveInventory("ReloadingShot",1)
    STKE A 2 A_PlaySoundEx("striker/up","SoundSlot5")
    STKE BC 2 A_JumpIfInventory("KnifeAttack",1,"KnifeAttack")
    STKE DE 2 A_WeaponReady(WRF_NOBOB|WRF_NOFIRE)
    Goto ReloadAmmo_SOH
  ReloadAmmo_SOH:
    STKE X 0 A_JumpIfInventory("StrikerClip",12,"ReloadEnd_SOH")
    STKE X 0 A_JumpIfInventory("StrikerAmmo",1,1)
    Goto ReloadEnd_SOH
    STKE OF 2 A_JumpIfInventory("KnifeAttack",1,"KnifeAttack")
    STKE G 0 A_GiveInventory("StrikerClip",1)
    STKE G 0 A_TakeInventory("StrikerAmmo",1)
    STKE G 2 A_PlaySoundEx("striker/insert","SoundSlot6")
    STKE HIJ 2
    STKE KLMN 2 A_WeaponReady(WRF_NOBOB|WRF_ALLOWZOOM)
    Goto ReloadAmmo_SOH
  ReloadEnd_SOH:
    STKE O 0 A_PlaySoundEx("striker/down","SoundSlot6")
    STKE OPQ 2 A_WeaponReady(WRF_NOBOB|WRF_NOFIRE)
    STKE RS 2 A_JumpIfInventory("KnifeAttack",1,"KnifeAttack")
    STKE S 0 A_TakeInventory("ReloadingShot",1)
    STKE S 0 A_TakeInventory("Reloading",1)
	M4CA C 0 A_JumpIfInventory("AltFireHeld",1,"PostReloadAlt")
    Goto Ready+17
  FragGrenade:
    U45F A 0 ACS_NamedExecuteAlways("RefSpeak",0,1,0,0)
    U45F A 0 A_ZoomFactor(1.0)
    U45A L 0 A_TakeInventory("Aiming",1)
    U45A L 0 A_TakeInventory("Reloading",1)
    U45A L 0 A_TakeInventory("ReloadingShot",1)
    U45F A 0 ACS_NamedExecuteAlways("RefSpeed",0,0,0,0)
	M4CA J 0 A_JumpIfInventory("ThrowingStun",1,"StunGrenade")
	M4CA J 0 A_JumpIfInventory("ThrowingIncd",1,"IncGrenade")
    U45A L 0 A_JumpIfInventory("Perk1_SOH_Pro",1,"FragGrenade_SOH")
    GRNA ABC 2
    GRNA D 2 A_PlaySound("grenade/pinpull")
    GRNA EFGH 2
    TNT1 A 15
    TNT1 A 0 A_PlaySound("grenade/throw")
    GRNA A 0 A_PlaySoundEx("us/grenades","Voice")
    GRNA IJK 2
    GRNA L 0 A_TakeInventory("GrenadeAmmo",1)
    GRNA L 0 A_TakeInventory("ThrowingGrenade",1)
    U45A L 0 A_TakeInventory("Aiming",1)
    GRNA L 0 A_TakeInventory("KnifeAttack",1)
    GRNA L 2 A_FireCustomMissile("FragGrenade",frandom(-2.00,2.00),0,0,16,0,frandom(-1.50,1.50))
    GRNA MN 2
	M4CA C 0 A_JumpIfInventory("AltFireHeld",1,"PostReloadAlt")
    Goto Ready+3
  FragGrenade_SOH:
    GRNA ABC 1
    GRNA D 1 A_PlaySound("grenade/pinpull")
    GRNA EFGH 1
    TNT1 A 10
    TNT1 A 0 A_PlaySound("grenade/throw")
    GRNA A 0 A_PlaySoundEx("us/grenades","Voice")
    GRNA IJK 1
    GRNA L 0 A_TakeInventory("GrenadeAmmo",1)
    GRNA L 0 A_TakeInventory("ThrowingGrenade",1)
    U45A L 0 A_TakeInventory("Aiming",1)
    GRNA L 0 A_TakeInventory("KnifeAttack",1)
    GRNA L 1 A_FireCustomMissile("FragGrenade",frandom(-2.00,2.00),0,0,16,0,frandom(-1.50,1.50))
    GRNA MN 1
	M4CA C 0 A_JumpIfInventory("AltFireHeld",1,"PostReloadAlt")
    Goto Ready+3
  KnifeAttack:
    GRNA L 0 A_TakeInventory("weapondropper",2)
    U45F A 0 A_ZoomFactor(1.0)
    U45A L 0 A_JumpIfInventory("ThrowingGrenade",1,"FragGrenade")
    U45A L 0 A_TakeInventory("Aiming",1)
    U45A L 0 A_TakeInventory("Reloading",1)
    U45A L 0 A_TakeInventory("ReloadingShot",1)
    U45F A 0 ACS_NamedExecuteAlways("RefSpeed",0,0,0,0)
    U45A L 0 A_JumpIfInventory("Perk1_SOH_Pro",1,"KnifeAttack_SOH")
    U45C A 0 A_JumpIfInventory("Perk3_Commando",1,"KnifeAttack_Commando")
    KNFA A 0 ACS_NamedExecuteAlways("RefSlash",0,0,0,0)
    KNFA AB 1
    KNFA B 0 A_PlaySound("knife/swing")
    KNFA C 1 A_CustomPunch(102,1,0,"KnifePuff",104)
    KNFA DEFGHIJKL 1
    TNT1 A 20
    GRNA L 0 A_TakeInventory("ThrowingGrenade",1)
    GRNA L 0 A_TakeInventory("KnifeAttack",1)
	M4CA C 0 A_JumpIfInventory("AltFireHeld",1,"PostReloadAlt")
    Goto Ready+3
  KnifeAttack_Commando:
    KNFA A 0 ACS_NamedExecuteAlways("RefSlash",0,0,0,0)
    KNFA AB 1
    KNFA B 0 A_PlaySound("knife/swing")
    KNFA C 1 A_CustomPunch(102,1,0,"KnifePuff",160)
    KNFA DEFGHIJKL 1
    TNT1 A 20
    GRNA L 0 A_TakeInventory("ThrowingGrenade",1)
    GRNA L 0 A_TakeInventory("KnifeAttack",1)
	M4CA C 0 A_JumpIfInventory("AltFireHeld",1,"PostReloadAlt")
    Goto Ready+3
  KnifeAttack_SOH:
    U45C A 0 A_JumpIfInventory("Perk3_Commando",1,"KnifeAttack_SOH_Commando")
    KNFA A 0 ACS_NamedExecuteAlways("RefSlash",0,0,0,0)
    KNFA AB 1
    KNFA B 0 A_PlaySound("knife/swing")
    KNFA C 1 A_CustomPunch(102,1,0,"KnifePuff",104)
    KNFA DEFGHIJKL 1
    TNT1 A 10
    GRNA L 0 A_TakeInventory("ThrowingGrenade",1)
    GRNA L 0 A_TakeInventory("KnifeAttack",1)
	M4CA C 0 A_JumpIfInventory("AltFireHeld",1,"PostReloadAlt")
    Goto Ready+3
  KnifeAttack_SOH_Commando:
    KNFA A 0 ACS_NamedExecuteAlways("RefSlash",0,0,0,0)
    KNFA AB 1
    KNFA B 0 A_PlaySound("knife/swing")
    KNFA C 1 A_CustomPunch(102,1,0,"KnifePuff",160)
    KNFA DEFGHIJKL 1
    TNT1 A 10
    GRNA L 0 A_TakeInventory("ThrowingGrenade",1)
    GRNA L 0 A_TakeInventory("KnifeAttack",1)
	M4CA C 0 A_JumpIfInventory("AltFireHeld",1,"PostReloadAlt")
    Goto Ready+3
  StunGrenade:
    U45A L 0 A_JumpIfInventory("Perk1_SOH_Pro",1,"StunGrenade_SOH")
    GRNA ABC 2
    GRNA D 2 A_PlaySound("grenade/pinpull")
    GRNA EFGH 2
    TNT1 A 15
    TNT1 A 0 A_PlaySound("grenade/throw")
    GRNA A 0 A_PlaySoundEx("us/grenades","Voice")
    GRNA IJK 2
    GRNA L 0 A_TakeInventory("StunAmmo",1)
    GRNA L 0 A_TakeInventory("ThrowingGrenade",1)
	GRNA L 0 A_TakeInventory("ThrowingStun",1)
	GRNA L 0 A_TakeInventory("ThrowingIncd",1)
    U45A L 0 A_TakeInventory("Aiming",1)
    GRNA L 0 A_TakeInventory("KnifeAttack",1)
    GRNA L 2 A_FireCustomMissile("StunGrenade",frandom(-2.00,2.00),0,0,16,0,frandom(-1.50,1.50))
    GRNA MN 2
	M4CA C 0 A_JumpIfInventory("AltFireHeld",1,"PostReloadAlt")
    Goto Ready+3
  IncGrenade:
    U45A L 0 A_JumpIfInventory("Perk1_SOH_Pro",1,"IncGrenade_SOH")
    GRNA ABC 2
    GRNA D 2 A_PlaySound("grenade/pinpull")
    GRNA EFGH 2
    TNT1 A 15
    TNT1 A 0 A_PlaySound("grenade/throw")
    GRNA A 0 A_PlaySoundEx("us/grenades","Voice")
    GRNA IJK 2
    GRNA L 0 A_TakeInventory("IncdAmmo",1)
    GRNA L 0 A_TakeInventory("ThrowingGrenade",1)
	GRNA L 0 A_TakeInventory("ThrowingStun",1)
	GRNA L 0 A_TakeInventory("ThrowingIncd",1)
    U45A L 0 A_TakeInventory("Aiming",1)
    GRNA L 0 A_TakeInventory("KnifeAttack",1)
    GRNA L 2 A_FireCustomMissile("IncGrenade",frandom(-2.00,2.00),0,0,16,0,frandom(-1.50,1.50))
    GRNA MN 2
	M4CA C 0 A_JumpIfInventory("AltFireHeld",1,"PostReloadAlt")
    Goto Ready+3
  StunGrenade_SOH:
    GRNA ABC 1
    GRNA D 1 A_PlaySound("grenade/pinpull")
    GRNA EFGH 1
    TNT1 A 10
    TNT1 A 0 A_PlaySound("grenade/throw")
    GRNA A 0 A_PlaySoundEx("us/grenades","Voice")
    GRNA IJK 1
    GRNA L 0 A_TakeInventory("StunAmmo",1)
    GRNA L 0 A_TakeInventory("ThrowingGrenade",1)
	GRNA L 0 A_TakeInventory("ThrowingStun",1)
	GRNA L 0 A_TakeInventory("ThrowingIncd",1)
    U45A L 0 A_TakeInventory("Aiming",1)
    GRNA L 0 A_TakeInventory("KnifeAttack",1)
    GRNA L 1 A_FireCustomMissile("StunGrenade",frandom(-2.00,2.00),0,0,16,0,frandom(-1.50,1.50))
    GRNA MN 1
	M4CA C 0 A_JumpIfInventory("AltFireHeld",1,"PostReloadAlt")
    Goto Ready+3
  IncGrenade_SOH:
    GRNA ABC 1
    GRNA D 1 A_PlaySound("grenade/pinpull")
    GRNA EFGH 1
    TNT1 A 10
    TNT1 A 0 A_PlaySound("grenade/throw")
    GRNA A 0 A_PlaySoundEx("us/grenades","Voice")
    GRNA IJK 1
    GRNA L 0 A_TakeInventory("IncdAmmo",1)
    GRNA L 0 A_TakeInventory("ThrowingGrenade",1)
	GRNA L 0 A_TakeInventory("ThrowingStun",1)
	GRNA L 0 A_TakeInventory("ThrowingIncd",1)
    U45A L 0 A_TakeInventory("Aiming",1)
    GRNA L 0 A_TakeInventory("KnifeAttack",1)
    GRNA L 1 A_FireCustomMissile("IncGrenade",frandom(-2.00,2.00),0,0,16,0,frandom(-1.50,1.50))
    GRNA MN 1
	M4CA C 0 A_JumpIfInventory("AltFireHeld",1,"PostReloadAlt")
    Goto Ready+3
  DropWeapon:
    STKA NMLKJIHGFEDCB 2 A_WeaponReady(WRF_NOPRIMARY)
	STKA A 2 A_JumpIfInventory("KnifeAttack",1,"KnifeAttack")
	M4CC F 0 A_JumpIfInventory("weapondropper",2,"ThrowWeapon")
    KNFA A 0 ACS_NamedExecuteAlways("RefDropW",0,0,0,0)
	GRNA L 0 A_TakeInventory("weapondropper",1)
	M4CB A 0 A_FireCustomMissile("StrikerDropped",0,0,7,2)
	stop
  ThrowWeapon:
    GRNA IKMN 1
	KNFA B 0 A_PlaySound("knife/swing")
    KNFA A 0 ACS_NamedExecuteAlways("RefDropW",0,0,0,0)
	GRNA L 0 A_TakeInventory("weapondropper",2)
	M4CB A 0 A_FireCustomMissile("StrikerThrown",0,0,7,2)
	stop
  }
}
actor StrikerClip : Ammo
{
    inventory.icon "CLIPA0"
    inventory.amount 0
    inventory.maxamount 12
    ammo.backpackamount 0
    ammo.backpackmaxamount 12
    +IGNORESKILL
}
actor "Striker-12 Ex Mags" : "Striker-12"
{
  obituary "%k smacked %o over with the Striker-12."
  inventory.pickupmessage "You got the Striker-12 semi-auto shotgun. Please the crowd."
  //attacksound "spas/fire"
  weapon.selectionorder 9
  weapon.ammotype "StrikerClip2"
  weapon.ammouse 1
  weapon.ammogive 0
  weapon.ammotype2 "StrikerAmmo"
  weapon.ammouse2 0
  weapon.ammogive2 0
  states
  {
  Ready:
    M4CA C 0 A_JumpIfInventory("AltFireHeld",1,"PostReloadAlt")
    GRNA L 0 A_TakeInventory("weapondropper",2)
    STKA A 0 A_PlaySoundEx("weapon/draw","SoundSlot5")
    STKA BCDEF 2 A_WeaponReady(WRF_NOPRIMARY|WRF_ALLOWZOOM)
	STKA GHIJKLMN 2 A_WeaponReady(WRF_ALLOWZOOM)
    STKA O 0 A_JumpIfNoAmmo("Reload")
	W18A J 0 A_JumpIfInventory("weapondropper",1,"DropWeapon")
    STKA O 0 A_JumpIfInventory("Aiming",1,5)
    STKA O 0 A_JumpIfInventory("Reloading",1,"Reload")
    STKA O 0 A_JumpIfInventory("ThrowingGrenade",1,"FragGrenade")
    STKA O 0 A_JumpIfInventory("KnifeAttack",1,"KnifeAttack")
    STKA O 1 A_WeaponReady(WRF_ALLOWRELOAD|WRF_ALLOWZOOM)
    Goto Ready+17
    STKC F 0 A_JumpIfInventory("Reloading",1,"Reload")
  ReadyAim:
    STKC F 0 A_JumpIfInventory("ThrowingGrenade",1,"FragGrenade")
    STKC F 0 A_JumpIfInventory("KnifeAttack",1,"KnifeAttack")
	W18A I 0 A_JumpIfInventory("weapondropper",1,"AltFire3")
    STKC F 1 A_WeaponReady(WRF_NOBOB|WRF_ALLOWRELOAD|WRF_ALLOWZOOM)
    Goto Ready+23
  Reload: //AltFire:
    VECC A 0 A_JumpIfInventory("StrikerClip2",18,2)
    VECC A 0 A_JumpIfInventory("StrikerAmmo",1,"ReloadStart")
    VECC A 0 A_TakeInventory("Reloading",1)
    VECC A 0 A_JumpIfInventory("Aiming",1,"ReadyAim")
    Goto Ready+20
  ReloadStart:
    STKE A 0 A_JumpIfInventory("StrikerClip2",10,2)
    STKE A 0 ACS_NamedExecuteAlways("RefSpeak",0,4,0,0)
    STKE A 0 A_JumpIfInventory("Aiming",1,"ReloadStartAim")
    STKE A 0 A_JumpIfInventory("Perk1_SOH",1,"ReloadStart_SOH")
    STKE A 0 A_GiveInventory("ReloadingShot",1)
    STKE A 3 A_PlaySoundEx("striker/up","SoundSlot5")
    STKE BC 3 A_JumpIfInventory("KnifeAttack",1,"KnifeAttack")
    STKE DE 3 A_WeaponReady(WRF_NOBOB|WRF_NOFIRE)
    Goto ReloadAmmo
  ReloadAmmo:
    STKE X 0 A_JumpIfInventory("StrikerClip2",18,"ReloadEnd")
    STKE X 0 A_JumpIfInventory("StrikerAmmo",1,1)
    Goto ReloadEnd
    STKE F 3 A_JumpIfInventory("KnifeAttack",1,"KnifeAttack")
    STKE G 0 A_GiveInventory("StrikerClip2",1)
    STKE G 0 A_TakeInventory("StrikerAmmo",1)
    STKE G 3 A_PlaySoundEx("striker/insert","SoundSlot6")
    STKE HIJ 3
    STKE KLMN 3 A_WeaponReady(WRF_NOBOB|WRF_ALLOWZOOM)
    Goto ReloadAmmo
  ReloadEndStop:
    STKE O 0 A_JumpIfInventory("Perk1_SOH",1,"ReloadEnd_SOH")
  ReloadEnd:
    STKE O 0 A_PlaySoundEx("striker/down","SoundSlot6")
    STKE OPQ 3 A_WeaponReady(WRF_NOBOB|WRF_NOFIRE)
    STKE RS 3 A_JumpIfInventory("KnifeAttack",1,"KnifeAttack")
    STKE S 0 A_TakeInventory("ReloadingShot",1)
    STKE S 0 A_TakeInventory("Reloading",1)
	M4CA C 0 A_JumpIfInventory("AltFireHeld",1,"PostReloadAlt")
    Goto Ready+17
  ReloadStartAim:
    STKC F 0 A_ZoomFactor(1.0)
    STKC FE 1
    STKC E 0 A_TakeInventory("Aiming",1)
    STKC DCBA 1
    STKC A 0 ACS_NamedExecuteAlways("RefSpeed",0,0,0,0)
    Goto ReloadStart+3
  ReloadStart_SOH:
    STKE A 0 A_GiveInventory("ReloadingShot",1)
    STKE A 2 A_PlaySoundEx("striker/up","SoundSlot5")
    STKE BC 2 A_JumpIfInventory("KnifeAttack",1,"KnifeAttack")
    STKE DE 2 A_WeaponReady(WRF_NOBOB|WRF_NOFIRE)
    Goto ReloadAmmo_SOH
  ReloadAmmo_SOH:
    STKE X 0 A_JumpIfInventory("StrikerClip2",18,"ReloadEnd_SOH")
    STKE X 0 A_JumpIfInventory("StrikerAmmo",1,1)
    Goto ReloadEnd_SOH
    STKE F 2 A_JumpIfInventory("KnifeAttack",1,"KnifeAttack")
    STKE G 0 A_GiveInventory("StrikerClip2",1)
    STKE G 0 A_TakeInventory("StrikerAmmo",1)
    STKE G 2 A_PlaySoundEx("striker/insert","SoundSlot6")
    STKE HIJ 2
    STKE KLMN 2 A_WeaponReady(WRF_NOBOB|WRF_ALLOWZOOM)
    Goto ReloadAmmo_SOH
  ReloadEnd_SOH:
    STKE O 0 A_PlaySoundEx("striker/down","SoundSlot6")
    STKE OPQ 2 A_WeaponReady(WRF_NOBOB|WRF_NOFIRE)
    STKE RS 2 A_JumpIfInventory("KnifeAttack",1,"KnifeAttack")
    STKE S 0 A_TakeInventory("ReloadingShot",1)
    STKE S 0 A_TakeInventory("Reloading",1)
	M4CA C 0 A_JumpIfInventory("AltFireHeld",1,"PostReloadAlt")
    Goto Ready+17
  FireAimAltHold:
    "####" "#" 0 A_JumpIfInventory("StrikerClip2",1,1)
	Goto ReloadBreak
    STKD A 0 A_PlayWeaponSound("striker/fire")
	BM4E Q 0 A_TakeInventory("StrikerClip2",1)
    STKD AA 0 A_FireCustomMissile("WeaponSmokePuffShotgun",0,0,0,1)
    STKD A 0 A_FireCustomMissile("WeaponSmokePuff_ShotMuzzle",0,0,0,1)
    STKD AAAAA 0 BRIGHT A_FireCustomMissile("HHCBSTRIKER1", frandom(-2.00,2.00), 0, 0, 4, 0, frandom(-2.00,2.00))
    STKD AAAAAAA 0 BRIGHT A_FireCustomMissile("HHCBSTRIKER2", frandom(-2.00,2.00), 0, 0, 4, 0, frandom(-2.00,2.00))
    STKD A 1 BRIGHT A_FireCustomMissile("HHCBSTRIKER2", frandom(-2.00,2.00), 1, 0, 4, 0, frandom(-2.00,2.00))
	STKD A 0 A_SpawnItemEx("ShellCasing",Cos(Pitch)*30,-2,32-(Sin(Pitch)*25),Cos(Pitch)*FRandom(2,4),FRandom(3,6),-Sin(Pitch)*FRandom(3,6),0,SXF_NOCHECKPOSITION|SXF_TRANSFERPITCH)
    STKD A 0 BRIGHT ACS_NamedExecuteAlways("RefKick",0,0,0,0)
    STKD BCD 1 BRIGHT A_GunFlash
    "####" "#" 0 A_JumpIfInventory("StrikerClip2",1,1)
	Goto ReloadBreak
	TNT1 A 0
    Goto AltHold
  }
}

actor StrikerClip2 : Ammo
{
    inventory.icon "CLIPA0"
    inventory.amount 0
    inventory.maxamount 18
    ammo.backpackamount 0
    ammo.backpackmaxamount 18
    +IGNORESKILL
}
actor StrikerExMags : Inventory
{
    inventory.amount 0
    inventory.maxamount 1
}
actor "Striker-12 Grip" : "Striker-12"
{
  obituary "%k smacked %o over with the Striker-12."
  inventory.pickupmessage "You got the Striker-12 semi-auto shotgun. Please the crowd."
  //attacksound "spas/fire"
  weapon.selectionorder 9
  weapon.ammotype "StrikerClip"
  weapon.ammouse 1
  weapon.ammogive 0
  weapon.ammotype2 "StrikerAmmo"
  weapon.ammouse2 0
  weapon.ammogive2 0
  states
  {
  Fire:
    STKA O 0 A_JumpIfInventory("ReloadingShot",1,"ReloadEndStop")
    STKA O 0 A_JumpIfInventory("Aiming",1,"FireAim")
    STKA O 1 A_JumpIfNoAmmo("ReloadStart")
    STKB B 0 A_JumpIfInventory("Perk3_SteadyAim",1,"Fire_SteadyAim")
    STKB A 0 A_PlayWeaponSound("striker/fire")
    STKB AA 0 A_FireCustomMissile("WeaponSmokePuffShotgun",0,0,7,0)
    STKB A 0 A_FireCustomMissile("WeaponSmokePuff_ShotMuzzle",0,0,7,0)
    STKB AAAAA 0 BRIGHT A_FireCustomMissile("HHCBSTRIKER1G", frandom(-4.00,4.00), 0, 0, 4, 0, frandom(-4.00,4.00))
    STKB AAAAAAA 0 BRIGHT A_FireCustomMissile("HHCBSTRIKER2G", frandom(-4.00,4.00), 0, 0, 4, 0, frandom(-4.00,4.00))
    STKB A 1 BRIGHT A_FireCustomMissile("HHCBSTRIKER2G", frandom(-4.00,4.00), 1, 0, 4, 0, frandom(-4.00,4.00))
	STKB A 0 A_SpawnItemEx("ShellCasing",Cos(Pitch)*30,-2,25-(Sin(Pitch)*25),Cos(Pitch)*FRandom(2,4),FRandom(3,6),-Sin(Pitch)*FRandom(3,6),0,SXF_NOCHECKPOSITION|SXF_TRANSFERPITCH)
    STKB A 0 BRIGHT ACS_NamedExecuteAlways("RefKick",0,0,0,0)
    SPSB A 0 A_JumpIfNoAmmo("FireEmpty")
    STKB BC 1 BRIGHT A_GunFlash
    STKB DE 1 A_WeaponReady(WRF_NOBOB|WRF_ALLOWZOOM)
    STKB FG 1 A_WeaponReady(WRF_NOBOB|WRF_ALLOWZOOM)
    STKB A 0 A_JumpIfInventory("StrikerAmmo",1,1)
    Goto Ready+17
    STKB A 0 A_JumpIfNoAmmo("ReloadStart")
    Goto Ready+17
  FireAim:
    STKC F 1 A_JumpIfNoAmmo("ReloadStart")
    STKD A 0 A_PlayWeaponSound("striker/fire")
    STKD AA 0 A_FireCustomMissile("WeaponSmokePuffShotgun",0,0,0,1)
    STKD A 0 A_FireCustomMissile("WeaponSmokePuff_ShotMuzzle",0,0,0,1)
    STKD AAAAA 0 BRIGHT A_FireCustomMissile("HHCBSTRIKER1G", frandom(-1.50,1.50), 0, 0, 4, 0, frandom(-1.50,1.50))
    STKD AAAAAAA 0 BRIGHT A_FireCustomMissile("HHCBSTRIKER2G", frandom(-1.50,1.50), 0, 0, 4, 0, frandom(-1.50,1.50))
    STKD A 1 BRIGHT A_FireCustomMissile("HHCBSTRIKER2G", frandom(-1.50,1.50), 1, 0, 4, 0, frandom(-1.50,1.50))
	STKD G 0 A_SpawnItemEx("ShellCasing",Cos(Pitch)*30,-2,32-(Sin(Pitch)*25),Cos(Pitch)*FRandom(2,4),FRandom(3,6),-Sin(Pitch)*FRandom(3,6),0,SXF_NOCHECKPOSITION|SXF_TRANSFERPITCH)
    STKD A 0 BRIGHT ACS_NamedExecuteAlways("RefKick",0,0,0,0)
    SPSB A 0 A_JumpIfNoAmmo("FireAimEmpty")
    STKD BC 1 BRIGHT A_GunFlash
    STKD DE 1 A_WeaponReady(WRF_NOBOB|WRF_ALLOWZOOM)
    STKD FG 1 A_WeaponReady(WRF_NOBOB|WRF_ALLOWZOOM)
    STKD A 0 A_JumpIfInventory("StrikerAmmo",1,1)
    Goto Ready+23
    STKD A 0 A_JumpIfNoAmmo("ReloadStart")
    Goto Ready+23
  Fire_SteadyAim:
    STKB A 0 A_PlayWeaponSound("striker/fire")
    STKB AA 0 A_FireCustomMissile("WeaponSmokePuffShotgun",0,0,7,0)
    STKB A 0 A_FireCustomMissile("WeaponSmokePuff_ShotMuzzle",0,0,7,0)
    STKB AAAAA 0 BRIGHT A_FireCustomMissile("HHCBSTRIKER1G", frandom(-3.30,3.30), 0, 0, 4, 0, frandom(-3.30,3.30))
    STKB AAAAAAA 0 BRIGHT A_FireCustomMissile("HHCBSTRIKER2G", frandom(-3.30,3.30), 0, 0, 4, 0, frandom(-3.30,3.30))
    STKB A 1 BRIGHT A_FireCustomMissile("HHCBSTRIKER2G", frandom(-3.30,3.30), 1, 0, 4, 0, frandom(-3.30,3.30))
	STKB A 0 A_SpawnItemEx("ShellCasing",Cos(Pitch)*30,-2,25-(Sin(Pitch)*25),Cos(Pitch)*FRandom(2,4),FRandom(3,6),-Sin(Pitch)*FRandom(3,6),0,SXF_NOCHECKPOSITION|SXF_TRANSFERPITCH)
    STKB A 0 BRIGHT ACS_NamedExecuteAlways("RefKick",0,0,0,0)
    SPSB A 0 A_JumpIfNoAmmo("FireEmpty")
    STKB BC 1 BRIGHT A_GunFlash
    STKB DE 1 A_WeaponReady(WRF_NOBOB|WRF_ALLOWZOOM)
    STKB FG 1 A_WeaponReady(WRF_NOBOB|WRF_ALLOWZOOM)
    STKB A 0 A_JumpIfInventory("StrikerAmmo",1,1)
    Goto Ready+17
    STKB A 0 A_JumpIfNoAmmo("ReloadStart")
    Goto Ready+17
  FireAimAltHold:
    "####" "#" 0 A_JumpIfInventory("StrikerClip",1,1)
	Goto ReloadBreak
    STKD A 0 A_PlayWeaponSound("striker/fire")
	BM4E Q 0 A_TakeInventory("StrikerClip",1)
    STKD AA 0 A_FireCustomMissile("WeaponSmokePuffShotgun",0,0,0,1)
    STKD A 0 A_FireCustomMissile("WeaponSmokePuff_ShotMuzzle",0,0,0,1)
    STKD AAAAA 0 BRIGHT A_FireCustomMissile("HHCBSTRIKER1G", frandom(-1.50,1.50), 0, 0, 4, 0, frandom(-1.50,1.50))
    STKD AAAAAAA 0 BRIGHT A_FireCustomMissile("HHCBSTRIKER2G", frandom(-1.50,1.50), 0, 0, 4, 0, frandom(-1.50,1.50))
    STKD A 1 BRIGHT A_FireCustomMissile("HHCBSTRIKER2G", frandom(-1.50,1.50), 1, 0, 4, 0, frandom(-1.50,1.50))
	STKD G 0 A_SpawnItemEx("ShellCasing",Cos(Pitch)*30,-2,32-(Sin(Pitch)*25),Cos(Pitch)*FRandom(2,4),FRandom(3,6),-Sin(Pitch)*FRandom(3,6),0,SXF_NOCHECKPOSITION|SXF_TRANSFERPITCH)
    STKD A 0 BRIGHT ACS_NamedExecuteAlways("RefKick",0,0,0,0)
    STKD BCD 1 BRIGHT A_GunFlash
    "####" "#" 0 A_JumpIfInventory("StrikerClip",1,1)
	Goto ReloadBreak
	TNT1 A 0
    Goto AltHold
  }
}
actor StrikerGrip : Inventory
{
    inventory.amount 0
    inventory.maxamount 1
}
actor "Striker-12 Dragon" : "Striker-12"
{
  obituary "%k grilled %o with the Striker-12."
  inventory.pickupmessage "You got the Striker-12 semi-auto shotgun. Please the crowd."
  //attacksound "spas/fire"
  weapon.selectionorder 9
  weapon.ammotype "StrikerClip"
  weapon.ammouse 1
  weapon.ammogive 0
  weapon.ammotype2 "StrikerAmmo"
  weapon.ammouse2 0
  weapon.ammogive2 0
  states
  {
  Fire:
    STKA O 0 A_JumpIfInventory("ReloadingShot",1,"ReloadEndStop")
    STKA O 0 A_JumpIfInventory("Aiming",1,"FireAim")
    STKA O 1 A_JumpIfNoAmmo("ReloadStart")
    STKB A 0 A_PlayWeaponSound("striker/fire")
    STKB A 0 A_PlaySound("dragon/fire")
    STKB AA 0 A_FireCustomMissile("WeaponSmokePuffShotgun",0,0,7,0)
    STKB AA 0 A_FireCustomMissile("FlameThrowerFireLight3",frandom(-9.00,11.00),0,7,random(-3,3),0,frandom(-9.00,10.00))
    STKB AAAA 0 A_FireCustomMissile("FlameThrowerFireLight",frandom(-10.00,12.00),0,7,random(-4,4),0,frandom(-10.00,11.00))
    STKB AAA 0 A_FireCustomMissile("FlameThrowerFireLight2",frandom(-10.00,12.00),0,7,random(-4,4),0,frandom(-10.00,11.00))
    STKB A 0 A_FireCustomMissile("WeaponSmokePuff_ShotMuzzle",0,0,7,0)
    STKB AAA 0 BRIGHT A_FireCustomMissile("HHCBSTRIKER1D", frandom(-7.00,7.00), 0, 0, 4, 0, frandom(-6.00,6.00))
    STKB AA 0 BRIGHT A_FireCustomMissile("HHCBSTRIKER2D", frandom(-7.00,7.00), 0, 0, 4, 0, frandom(-6.00,6.00))
    STKB A 1 BRIGHT A_FireCustomMissile("HHCBSTRIKER2D", frandom(-7.00,7.00), 1, 0, 4, 0, frandom(-6.00,6.00))
	STKB A 0 A_SpawnItemEx("OrangeShellCasing",Cos(Pitch)*30,-2,25-(Sin(Pitch)*25),Cos(Pitch)*FRandom(2,4),FRandom(3,6),-Sin(Pitch)*FRandom(3,6),0,SXF_NOCHECKPOSITION|SXF_TRANSFERPITCH)
    STKB A 0 BRIGHT ACS_NamedExecuteAlways("RefKick",0,0,0,0)
    SPSB A 0 A_JumpIfNoAmmo("FireEmpty")
    STKB A 0 A_JumpIfInventory("CoopCheck",1,"FireCoopCont")
  FireCont:
    STKB BC 1 BRIGHT A_GunFlash
    STKB D 1
    STKB E 1 A_WeaponReady(WRF_NOBOB|WRF_ALLOWZOOM)
    STKB FG 1 A_WeaponReady(WRF_NOBOB|WRF_ALLOWZOOM)
    STKB A 0 A_JumpIfInventory("StrikerAmmo",1,1)
    Goto Ready+17
    STKB A 0 A_JumpIfNoAmmo("ReloadStart")
    Goto Ready+17
  FireCoopCont:
    STKB BC 1 BRIGHT A_GunFlash
    STKB DE 1 A_WeaponReady(WRF_NOBOB|WRF_ALLOWZOOM)
    STKB FG 1 A_WeaponReady(WRF_NOBOB|WRF_ALLOWZOOM)
    STKB A 0 A_JumpIfInventory("StrikerAmmo",1,1)
    Goto Ready+17
    STKB A 0 A_JumpIfNoAmmo("ReloadStart")
    Goto Ready+17
  FireAim:
    STKC F 1 A_JumpIfNoAmmo("ReloadStart")
    STKD A 0 A_PlayWeaponSound("striker/fire")
    STKD A 0 A_PlaySound("dragon/fire")
    STKD AA 0 A_FireCustomMissile("WeaponSmokePuffShotgun",0,0,0,1)
    STKD AA 0 A_FireCustomMissile("FlameThrowerFireLight3",frandom(-8.00,8.00),0,0,random(-2,4),0,frandom(-7.00,8.00))
    STKD AAAA 0 A_FireCustomMissile("FlameThrowerFireLight",frandom(-9.00,9.00),0,0,random(-3,5),0,frandom(-8.00,9.00))
    STKD AAA 0 A_FireCustomMissile("FlameThrowerFireLight2",frandom(-9.00,9.00),0,0,random(-3,5),0,frandom(-8.00,9.00))
    STKD A 0 A_FireCustomMissile("WeaponSmokePuff_ShotMuzzle",0,0,0,1)
    STKD AAA 0 BRIGHT A_FireCustomMissile("HHCBSTRIKER1D", frandom(-4.00,4.00), 0, 0, 4, 0, frandom(-4.00,4.00))
    STKD AA 0 BRIGHT A_FireCustomMissile("HHCBSTRIKER2D", frandom(-4.00,4.00), 0, 0, 4, 0, frandom(-4.00,4.00))
    STKD A 1 BRIGHT A_FireCustomMissile("HHCBSTRIKER2D", frandom(-4.00,4.00), 1, 0, 4, 0, frandom(-4.00,4.00))
	STKD A 0 A_SpawnItemEx("OrangeShellCasing",Cos(Pitch)*30,-2,32-(Sin(Pitch)*25),Cos(Pitch)*FRandom(2,4),FRandom(3,6),-Sin(Pitch)*FRandom(3,6),0,SXF_NOCHECKPOSITION|SXF_TRANSFERPITCH)
    STKD A 0 BRIGHT ACS_NamedExecuteAlways("RefKick",0,0,0,0)
    SPSB A 0 A_JumpIfNoAmmo("FireAimEmpty")
    STKD A 0 A_JumpIfInventory("CoopCheck",1,"FireAimCoopCont")
  FireAimCont:
    STKD BC 1 BRIGHT A_GunFlash
    STKD D 1
    STKD E 1 A_WeaponReady(WRF_NOBOB|WRF_ALLOWZOOM)
    STKD FG 1 A_WeaponReady(WRF_NOBOB|WRF_ALLOWZOOM)
    STKD A 0 A_JumpIfInventory("StrikerAmmo",1,1)
    Goto Ready+23
    STKD A 0 A_JumpIfNoAmmo("ReloadStart")
    Goto Ready+23
  FireAimCoopCont:
    STKD BC 1 BRIGHT A_GunFlash
    STKD DE 1 A_WeaponReady(WRF_NOBOB|WRF_ALLOWZOOM)
    STKD FG 1 A_WeaponReady(WRF_NOBOB|WRF_ALLOWZOOM)
    STKD A 0 A_JumpIfInventory("StrikerAmmo",1,1)
    Goto Ready+23
    STKD A 0 A_JumpIfNoAmmo("ReloadStart")
    Goto Ready+23
  FireAimAltHold:
    "####" "#" 0 A_JumpIfInventory("StrikerClip",1,1)
	Goto ReloadBreak
    STKD A 0 A_PlayWeaponSound("striker/fire")
	BM4E Q 0 A_TakeInventory("StrikerClip",1)
    STKD A 0 A_PlaySound("dragon/fire")
    STKD AA 0 A_FireCustomMissile("WeaponSmokePuffShotgun",0,0,0,1)
    STKD AA 0 A_FireCustomMissile("FlameThrowerFireLight3",frandom(-8.00,8.00),0,0,random(-2,4),0,frandom(-7.00,8.00))
    STKD AAAA 0 A_FireCustomMissile("FlameThrowerFireLight",frandom(-9.00,9.00),0,0,random(-3,5),0,frandom(-8.00,9.00))
    STKD AAA 0 A_FireCustomMissile("FlameThrowerFireLight2",frandom(-9.00,9.00),0,0,random(-3,5),0,frandom(-8.00,9.00))
    STKD A 0 A_FireCustomMissile("WeaponSmokePuff_ShotMuzzle",0,0,0,1)
    STKD AAA 0 BRIGHT A_FireCustomMissile("HHCBSTRIKER1D", frandom(-4.00,4.00), 0, 0, 4, 0, frandom(-4.00,4.00))
    STKD AA 0 BRIGHT A_FireCustomMissile("HHCBSTRIKER2D", frandom(-4.00,4.00), 0, 0, 4, 0, frandom(-4.00,4.00))
    STKD A 1 BRIGHT A_FireCustomMissile("HHCBSTRIKER2D", frandom(-4.00,4.00), 1, 0, 4, 0, frandom(-4.00,4.00))
	STKD A 0 A_SpawnItemEx("OrangeShellCasing",Cos(Pitch)*30,-2,32-(Sin(Pitch)*25),Cos(Pitch)*FRandom(2,4),FRandom(3,6),-Sin(Pitch)*FRandom(3,6),0,SXF_NOCHECKPOSITION|SXF_TRANSFERPITCH)
    STKD A 0 BRIGHT ACS_NamedExecuteAlways("RefKick",0,0,0,0)
    STKD BCD 1 BRIGHT A_GunFlash
	"####" "#" 0 A_JumpIfInventory("StrikerClip",1,1)
	Goto ReloadBreak
	TNT1 A 0
    Goto AltHold
  }
}
actor StrikerDragon : Inventory
{
    inventory.amount 0
    inventory.maxamount 1
}
actor StrikerPickup : CustomInventory
{
  inventory.pickupmessage "You got the Striker-12 semi-auto shotgun. Please the crowd."
  inventory.pickupsound "spas/pump"
  +INVENTORY.AUTOACTIVATE
  //inventory.respawntics 70
  scale 0.12
  States
  {
  Spawn:
    WEP2 A -1
    stop
  Pickup:
    WEP2 A 0
    WEP2 A 0 A_JumpIf((ACS_NamedExecuteWithResult("RefCheckVar",0,0,0)) == 1, "PickupStay")
    WEP2 A 0 A_JumpIfInventory("Striker-12",1,"AmmoPickup") // If the player already has this weapon, they get more ammo for it
    WEP2 A 0 A_JumpIfInventory("Striker-12 Ex Mags",1,"AmmoPickup")
    WEP2 A 0 A_JumpIfInventory("Striker-12 Grip",1,"AmmoPickup")
    WEP2 A 0 A_JumpIfInventory("Striker-12 Dragon",1,"AmmoPickup")
    WEP2 A 0 A_JumpIfInventory("Perk1_OneManArmy",1,"OneManArmy")
    WEP2 A 0 A_JumpIfInventory("MaxWeaponsFilled",76,"FailPickup2")
	WEP2 A 0 A_GiveInventory("MaxWeaponsFilled",25)
    WEP2 A 0 ACS_NamedExecuteWithResult("RefPickU",27,0,0)
    stop
  PickupStay:
    WEP2 A 0
    WEP2 A 0 A_JumpIfInventory("Striker-12",1,"FailPickup") // If the player already has this weapon, they get more ammo for it
    WEP2 A 0 A_JumpIfInventory("Striker-12 Ex Mags",1,"FailPickup")
    WEP2 A 0 A_JumpIfInventory("Striker-12 Grip",1,"FailPickup")
    WEP2 A 0 A_JumpIfInventory("Striker-12 Dragon",1,"FailPickup")
    WEP2 A 0 A_JumpIfInventory("Perk1_OneManArmy",1,"OneManArmy")
    WEP2 A 0 A_JumpIfInventory("MaxWeaponsFilled",76,"FailPickup2")
	WEP2 A 0 A_GiveInventory("MaxWeaponsFilled",25)
    WEP2 A 0 ACS_NamedExecuteWithResult("RefPickU",27,0,0)
    WEP2 A 0 ACS_NamedExecuteWithResult("RefPickC",27,0,0)
    WEP2 A 0 A_PlaySound("spas/pump")
    fail
  AmmoPickup:
    WEP2 A 0
    WEP2 A 0 A_JumpIfInventory("StrikerAmmo",0,"FailPickup")
    WEP2 A 0 A_GiveInventory("StrikerAmmo",12)
    stop
  OneManArmy:
    WEP2 A 0
	WEP2 A 0 A_JumpIfInventory("MaxWeaponsFilled",113,"FailPickup2")
	WEP2 A 0 A_GiveInventory("MaxWeaponsFilled",25)
	WEP2 A 0 ACS_NamedExecuteWithResult("RefPickU",27,0,0)
	stop
  FailPickup:
    WEP2 A 1
    fail
  FailPickup2:
    WEP2 A 1
    WEP2 A 0 ACS_NamedExecuteAlways("RefSlots",0,16,0,0)
    fail
  }
}

actor StrikerDrop : StrikerPickup
{
  States
  {
  Spawn:
    WEP2 A -1
    stop
  Pickup:
    WEP2 A 0
    WEP2 A 0 A_JumpIfInventory("Striker-12",1,"AmmoPickup") // If the player already has this weapon, they get more ammo for it
    WEP2 A 0 A_JumpIfInventory("Striker-12 Ex Mags",1,"AmmoPickup")
    WEP2 A 0 A_JumpIfInventory("Striker-12 Grip",1,"AmmoPickup")
    WEP2 A 0 A_JumpIfInventory("Striker-12 Dragon",1,"AmmoPickup")
    WEP2 A 0 A_JumpIfInventory("Perk1_OneManArmy",1,"OneManArmy")
    WEP2 A 0 A_JumpIfInventory("MaxWeaponsFilled",76,"FailPickup2")
	WEP2 A 0 A_GiveInventory("MaxWeaponsFilled",25)
    WEP2 A 0 ACS_NamedExecuteWithResult("RefPickU",27,0,0)
    stop
  }
}

actor StrikerDrop2 : StrikerDrop
{
  States
  {
  Spawn:
    WEP2 A -1
    stop
  Pickup:
    WEP2 A 0
    WEP2 A 0 A_JumpIfInventory("Striker-12",1,"AmmoPickup") // If the player already has this weapon, they get more ammo for it
    WEP2 A 0 A_JumpIfInventory("Striker-12 Ex Mags",1,"AmmoPickup")
    WEP2 A 0 A_JumpIfInventory("Striker-12 Grip",1,"AmmoPickup")
    WEP2 A 0 A_JumpIfInventory("Striker-12 Dragon",1,"AmmoPickup")
    WEP2 A 0 A_JumpIfInventory("Perk1_OneManArmy",1,"OneManArmy")
    WEP2 A 0 A_JumpIfInventory("MaxWeaponsFilled",76,"FailPickup2")
	WEP2 A 0 A_GiveInventory("MaxWeaponsFilled",25)
    WEP2 A 0 ACS_NamedExecuteWithResult("RefPickU",27,0,0)
    stop
  AmmoPickup:
    WEP2 A 0
    stop
  }
}

actor HHCBSTRIKER1 : HHBullet
{
  damage (random(12,14))
  Speed 200
  decal none
  damagetype "Shotgungib"
  -NOEXTREMEDEATH
  states
  {
  Spawn:
    TNT1 A 1
    TNT1 A 1 A_ScaleVelocity(0.6)
    stop
  Death:
    TNT1 A 0 A_SpawnItemEx("ImpactSmokePuff_2", 0, 0, 0, 0, 0, 0, 0, 128, 0)
    TNT1 A 5 A_PlaySound("generic/ricochet")
    stop
  XDeath:
    TNT1 A 0 A_GiveToTarget("HitIndicator",1)//
    TNT1 A 5 A_PlaySound("generic/ricochets")
    stop
  Crash:
    TNT1 A 0 A_GiveToTarget("HitIndicator",1)//
	TNT1 A 0 A_Jump(48,2)
    TNT1 A 0 A_SpawnItemEx("ImpactSmokePuff_3", 0, 0, 0, 0, 0, 0, 0, 128, 0)
    TNT1 A 5 A_PlaySound("generic/ricochet")
    stop
  }
}
actor HHCBSTRIKER2 : HHCBSTRIKER1
{
  damage (random(12,14))
  Speed 200
  decal ShotChip
  damagetype "Shotgun"
  +NOEXTREMEDEATH
  states
  {
  Spawn:
    TNT1 A 7
    stop
  Death:
    TNT1 A 0 A_SpawnItemEx("ImpactSmokePuff_2", 0, 0, 0, 0, 0, 0, 0, 128, 0)
    TNT1 A 5 A_PlaySound("generic/ricochet")
    stop
  XDeath:
	//TNT1 A 0 A_Jump(176,2)
    TNT1 A 0 A_GiveToTarget("HitIndicator",1)
    TNT1 A 5 A_PlaySound("generic/ricochets")
    stop
  Crash:
	//TNT1 A 0 A_Jump(176,2)
    TNT1 A 0 A_GiveToTarget("HitIndicator",1)
	TNT1 A 0 A_Jump(48,2)
    TNT1 A 0 A_SpawnItemEx("ImpactSmokePuff_3", 0, 0, 0, 0, 0, 0, 0, 128, 0)
    TNT1 A 5 A_PlaySound("generic/ricochet")
    stop
  }
}

actor HHCBSTRIKER1G : HHCBSTRIKER1
{
  damage (random(12,18))
  Speed 240
}
actor HHCBSTRIKER2G : HHCBSTRIKER2
{
  damage (random(12,18))
  Speed 240
}

actor HHCBSTRIKER1D : HHBullet
{
  damage (random(10,14))
  Speed 200
  decal none
  +FORCERADIUSDMG
  damagetype "Dragon"
  states
  {
  Spawn:
    TNT1 A 2
    stop
  Death:
    TNT1 A 0 A_SpawnItemEx("FireballPuff", 0, 0, 0, 0, 0, 0, 0, 128, 0)
    TNT1 A 0 A_PlaySound("generic/ricochet")
    TNT1 AA 12 A_Explode(2,32,0)
    stop
  XDeath:
	//TNT1 A 0 A_Jump(144,2)
    TNT1 A 0 A_GiveToTarget("HitIndicator",1)
    TNT1 A 0 A_SpawnItemEx("FireballPuff", 0, 0, 0, 0, 0, 0, 0, 128, 0)
	TNT1 A 0 A_Jump(32,2)
    TNT1 A 0 A_PlaySound("generic/ricochets")
    TNT1 AA 12 A_Explode(2,32,0)
    stop
  Crash:
	//TNT1 A 0 A_Jump(144,2)
    TNT1 A 0 A_GiveToTarget("HitIndicator",1)
    TNT1 A 0 A_SpawnItemEx("FireballPuff", 0, 0, 0, 0, 0, 0, 0, 128, 0)
    TNT1 A 0 A_PlaySound("generic/ricochet")
    TNT1 AA 12 A_Explode(2,32,0)
    stop
  }
}
actor HHCBSTRIKER2D : HHCBSTRIKER1D
{
  damage (random(10,18))
  Speed 200
  decal none
  +FORCERADIUSDMG
  damagetype "Dragon"
  states
  {
  Spawn:
    TNT1 A 2
    TNT1 A 2 A_ScaleVelocity(0.75)
    TNT1 A 1
    stop
  Death:
    TNT1 A 0 A_SpawnItemEx("FireballPuff", 0, 0, 0, 0, 0, 0, 0, 128, 0)
    TNT1 A 0 A_PlaySound("generic/ricochet")
    TNT1 AA 12 A_Explode(2,32,0)
    stop
  XDeath:
	//TNT1 A 0 A_Jump(144,2)
    TNT1 A 0 A_GiveToTarget("HitIndicator",1)
    TNT1 A 0 A_SpawnItemEx("FireballPuff", 0, 0, 0, 0, 0, 0, 0, 128, 0)
	TNT1 A 0 A_Jump(32,2)
    TNT1 A 0 A_PlaySound("generic/ricochets")
    TNT1 AA 12 A_Explode(2,32,0)
    stop
  Crash:
	//TNT1 A 0 A_Jump(144,2)
    TNT1 A 0 A_GiveToTarget("HitIndicator",1)
    TNT1 A 0 A_SpawnItemEx("FireballPuff", 0, 0, 0, 0, 0, 0, 0, 128, 0)
    TNT1 A 0 A_PlaySound("generic/ricochet")
    TNT1 AA 12 A_Explode(2,32,0)
    stop
  }
}