Actor "Legendary Karasawa" : Weapon 18709
{
//$Category Weapons/BFG20K
//$Sprite LSWPA0
//$Title "Legendary Karasawa"
+INVENTORY.UNDROPPABLE
Scale 0.72
Weapon.SelectionOrder 6001
Weapon.PreferredSkin "LifeLeecher-Marine"
Weapon.AmmoGive1 35
Weapon.AmmoGive2 35
Weapon.AmmoUse1 2
Weapon.AmmoUse2 25
Weapon.AmmoType1 "LDemonAmmo"
Weapon.AmmoType2 "LDemonAmmo"
Inventory.PickupSound "Weapons/KarasawaCharge"
Inventory.PickupMessage "Legendary Karasawa Rifle"
Obituary "%o was turned into potato salad by %k."
Tag "Legendary Karasawa"
Weapon.UpSound "Weapons/KarasawaCharge"
states
  {
  Spawn:
    LSWP A -1
    loop
  Select:
    LSAW A 1 A_Raise
	LSAW A 0 A_Raise
    loop
  Deselect:
    LSAW A 1 A_Lower
	LSAW A 0 A_Lower
    loop
  Ready:
    LSAW A 0 A_PlaySound("Weapons/KarasawaIdle",0,1.0,0)
    LSAW ABCB 4 A_WeaponReady
    loop
  Fire:
    LSAW DE 3 Bright A_Light1
  Hold:
    LSAW F 2 Bright A_Light2
    LSAW A 0 A_PlaySound("HavocShots",0,0.4,0)
    TNT1 A 0 A_Jump(200,2)
    TNT1 A 0 A_Jump(256,2)
    TNT1 AA 0 A_FireCustomMissile ("LegendaryKarasawaBall")
    LSAW E 3 Bright A_Light1
    LSAW E 1 Bright A_Refire
    LSAW DCBBB 3 Bright A_Light0
    GoTo Ready
   AltFire:
    TNT1 A 0
	TNT1 A 0 A_PlayWeaponSound("Weapons/KarasawaCharge")
    LSAW DDDE 2 Bright A_Light1
	LSAW F 2 Bright A_Light2
	TNT1 A 0 A_PlaySound("monsters/newfireshoot",0,1.0,0)
	LSAW G 4 Bright A_FireCustomMissile("LegendaryKarasawaBlade",0,1,0,0)
	LSAW H 3 A_Light1
	LSAW I 4 A_Light0
	LSAW B 10
	GoTo Ready
  }
}
ACTOR LegendaryKarasawaBall
{
   Radius 8
   Height 8
   Speed 37
   Damage 55
   Damagetype "Legendary"
   SpawnID 250
   Scale 1.0
   PROJECTILE
   RENDERSTYLE ADD
   DECAL DoomImpScorch
   ALPHA 0.95
   SeeSound "monsters/newfireshoot"
   DeathSound "monsters/newfireexplode"
   Species "Player"
   +NOTIMEFREEZE
   +FRIENDLY
   +DONTHARMSPECIES
   +THRUSPECIES
   States
   {
   Spawn: 
      LFB2 A 1 Bright A_SpawnItemEx("LegFiendBall2Trail",0,0,0,0,0,0,0,128)
      LFB2 A 1 Bright A_SpawnItemEx("LegFiendBall2Trail",0,0,0,0,0,0,0,128)
      Loop
   Death:
	  TNT1 A 0
	  TNT1 A 0 A_Explode(32,64,0)
	  TNT1 A 0 A_SpawnItemEx("LegendaryBlueParticleSpawner", 0, 0, 0, 0, 0, 0, 0, 128) 
	  TNT1 AAA 0 A_CustomMissile("LegendaryKaboom6", 0, 0, random(0,360), 2, random(0,360))
	  TNT1 AAA 0 A_CustomMissile("LegendarySmokeFX4", 0, 0, random(0,360), 2, random(0,360))
      LFB2 C 5 Bright A_Explode(8,32,0)
      LFB2 DE 5 Bright
      stop
   }
}

Actor LegendaryKarasawaBlade
{
  Radius 4
  Height 6
  Speed 80
  Damage 150
  Renderstyle Add
  Alpha 0.75
  SeeSound "lfball1/shot"
  DeathSound "lfball1/exp" 
  PROJECTILE
  Damagetype "Legendary"
  DECAL PlasmaLightning1
  +RIPPER
  +HEXENBOUNCE
  +NOTIMEFREEZE
  BounceCount 6
  States
  {
  Spawn:
    TNT1 A 0
    LFB1 ABCDEFGHABCDEFGH 2 Bright A_SpawnItemEx("LegFiendBallTrail",0,0,0,0,0,0,0,128)
	Loop
  Death:
	TNT1 A 0
	TNT1 A 0 A_SpawnItemEx("LegendaryBlueParticleSpawner", 0, 0, 0, 0, 0, 0, 0, 128) 
	TNT1 AAA 0 A_CustomMissile("LegendaryKaboom6", 0, 0, random(0,360), 2, random(0,360))
	TNT1 AAA 0 A_CustomMissile("LegendarySmokeFX4", 0, 0, random(0,360), 2, random(0,360))
    LFB1 IJK 4 Bright A_FadeOut(0.10)
    Stop
  }
}