ACTOR TK2Talon : Weapon
{
  Weapon.Kickback 100
  scale 0.1
  Inventory.PickupMessage "Talon"
  Obituary  "%o was sliced and diced weakly by %k."
  	Inventory.PickupSound "Turok2/Items/PickupWeapon"
		Inventory.Icon "T1A5T0"
		+WEAPON.MELEEWEAPON
		  +INVENTORY.UNDROPPABLE
  States
  {
  Spawn:
    TBA1 X -1
    Loop
  Ready:
    TW01 A 2 
    TW01 B 2
    TW01 C 2
    TW01 D 2
    TW01 E 2
    TW01 F 2
	TW01 GHIJ 2
    TW01 J -1 A_WeaponReady
    Goto Ready+7
  Deselect:
    TW03 A 2
    TW03 BCDEFGH 2
    TW03 Y 0 A_Lower
    wait
  Select: 
    TW01 A 0 A_Raise 
    Loop  
  Fire: 
    TW01 A 0 A_Jump(128,"FireAlt")
	TW01 A 0 A_JumpIfInventory("PowerStrength",1,"SwingPower")
    TW01 K 2
    TW01 L 2 
    TW01 M 2
    TW01 N 2
		TNT1 A 0 A_PlaySound ("Turok2/Weapons/Talonattack","Weapon")
    TW01 OPQRS 2
    TW01 T 2 A_CustomPunch(12, FALSE, 0, "TK2HitPuff")
    TW01 U 2
    TW01 V 2
    TW01 X 2
	TW01 Y 2
	TW01 Z 2
	TW02 A 2
	TW02 B 2
    Goto Ready+9
	FireAlt:
    TW01 A 0 A_Jump(128,"FireAlt2")
	TW01 A 0 A_JumpIfInventory("PowerStrength",1,"SwingPower")
	TW02 GHIJ 2
	TNT1 A 0 A_PlaySound ("Turok2/Weapons/Talonattack","Weapon")
	TW02 KLM 2
	TW02 N 2 A_CustomPunch(12, FALSE, 0, "TK2HitPuff")
	TW02 OPQRSTUVXYZ 2
	TW03 A 2
    Goto Ready+9
	FireAlt2:
	TW01 A 0 A_JumpIfInventory("PowerStrength",1,"SwingPower")
	TW87 ABCDE 2
	TNT1 A 0 A_PlaySound ("Turok2/Weapons/Talonattack","Weapon")
	TW87 FG 2
	TW87 H 2 A_CustomPunch(12, FALSE, 0, "TK2HitPuff")
	TW87 IJKLMNOPQRSTUVX 2
    Goto Ready+9
	 SwingPower:
    TW01 A 0 A_Jump(128,"SwingPower2")
    TW01 K 1
    TW01 L 1
    TW01 M 1
    TW01 N 1
	TNT1 A 0 A_PlaySound ("Turok2/Weapons/Talonattack","Weapon")
    TW01 OPQRS 1
    TW01 T 1 A_CustomPunch(24, FALSE, 0, "TK2HitPuff")
    TW01 U 1
    TW01 V 1
    TW01 X 1
	TW01 Y 1
	TW01 Z 1
	TW02 A 1
	TW02 B 1
    Goto Ready+9
	 SwingPower2:
	   TW01 A 0 A_Jump(128,"SwingPower3")
	TW02 GHIJ 1
	TNT1 A 0 A_PlaySound ("Turok2/Weapons/Talonattack","Weapon")
	TW02 KLM 1
	TW02 N 1 A_CustomPunch(24, FALSE, 0, "TK2HitPuff")
	TW02 OPQRSTUVXYZ 1
	TW03 A 1
    Goto Ready+9
	SwingPower3:
	TW87 ABCDE 2
	TNT1 A 0 A_PlaySound ("Turok2/Weapons/Talonattack","Weapon")
	TW87 FG 1
	TW87 H 1 A_CustomPunch(24, FALSE, 0, "TK2HitPuff")
	TW87 IJKLMNOPQRSTUVX 1
    Goto Ready+9
  }
}

ACTOR TK2HitPuff
{
  +NOBLOCKMAP
  +NOGRAVITY
  +PUFFONACTORS // this is necessary for it to still make sound on enemies
  activesound ""
  attacksound "melee/wall" // what sound it makes when you hit a wall with it
  seesound "Turok2/Weapons/ClawsHit" // what sound it makes when you beat somebody up with it
  states
  {
  Spawn:
    TNT1 A 0
    TNT1 A 1
    stop
  Crash:
     TNT1 A 0
     TNT1 A 1
     stop
  Melee:
     TNT1 A 0
     TNT1 A 1
     stop
  }
}