ACTOR TK3Spear : Weapon
{
  Weapon.Kickback 100
  scale 0.4
  Inventory.PickupMessage "Spear"
  Obituary  "%k speared %o's ass."
  inventory.Icon "TKA5S0"
  Weapon.SelectionOrder 9999
  	Inventory.PickupSound "Turok3/Items/PickupWeapon"
		+WEAPON.WIMPY_WEAPON
	+WEAPON.MELEEWEAPON
	+INVENTORY.UNDROPPABLE
	tag "Spear"
  States
  {
  Spawn:
    TKA3 Y -1
    Loop
  Ready:
    TK49 A 2 
    TK49 B 2
    TK49 C 2
    TK49 D 2
    TK49 E 2
    TK49 F 2
    TK49 GHIJK 2
    TK49 K -1 A_WeaponReady
    Goto Ready+9
  Deselect:
    TK49 A 0 A_Lower
    wait
  Select: 
    TK49 A 0 A_Raise 
    Loop  
  Fire: 
   TK01 A 0 A_Jump(128,"FireAlt")
     TK01 A 0 A_JumpIfInventory("PowerStrength",1,"SwingPower")
  TNT1 A 0 A_PlaySound ("Turok3/Weapons/Spear","Weapon")
    TK49 M 1
    TK49 N 1 
    TK49 O 1 
    TK49 P 1
    TK49 Q 1
	TK49 R 1 A_CustomPunch(10, false, 0, "TK3HitPuff")
	TK49 S 1
	TK49 TUVXYZ 1
	TK49 K 12
    Goto Ready+10
	  FireAlt: 
   TK01 A 0 A_Jump(128,"FireAlt")
     TK01 A 0 A_JumpIfInventory("PowerStrength",1,"SwingPower")
  TNT1 A 0 A_PlaySound ("Turok3/Weapons/Spear","Weapon")
    TK53 ABCDE 1
	TK53 F 1 A_CustomPunch(10, false, 0, "TK3HitPuff")
	TK53 GHIJKLMN 1
	TK49 K 12
    Goto Ready+10
	
	Swingpower: 
   TK01 A 0 A_Jump(128,"Swingpower2")
  TNT1 A 0 A_PlaySound ("Turok3/Weapons/Spear","Weapon")
    TK49 M 1
    TK49 N 1
    TK49 O 1 
    TK49 P 1
    TK49 Q 1
	TK49 R 1 A_CustomPunch(20, FALSE, 0, "TK3HitPuff")
	TK49 S 1
	TK49 TUVXYZ 1
    Goto Ready+10
	SwingPower2: 
  TNT1 A 0 A_PlaySound ("Turok3/Weapons/Spear","Weapon")
    TK53 ABCDE 1
	TK53 F 1 A_CustomPunch(20, FALSE, 0, "TK3HitPuff")
	TK53 GHIJKLMN 1
    Goto Ready+10
	
  }
}