actor JetMissileWep_NormalBar : NormalBar{args 218, 43}
actor JetMissileWep : BaseMM8BDMWep
{
Weapon.AmmoUse 4
Weapon.AmmoGive 28
Weapon.SlotNumber 2
Obituary "$OB_JETMISSILERC"
Inventory.Pickupmessage "$PU_JETMISSILERC" 
Tag "$TAG_JETMISSILERC"
weapon.ammotype "JetMissileAmmo"
inventory.icon "JTMSICON"
Scale 2.0
States
{
SpawnLoop: 
RCJI I 1
loop
Ready: 
JMSW A 0
JMSW A 0 ACS_NamedExecuteWithResult("core_weaponcolor",COLOR_JETMISSILERC) 
JMSW A 1 A_WeaponReady
Goto Ready+2
ReadyC: Goto Ready+2
Deselect: 
JMSW A 0
goto DeselectSwap
Select: 
JMSW A 0
goto SelectSwap
Fire: 
JMSW A 0 A_JumpIfNoAmmo("NoAmmo") 
JMSW A 0 A_PlaySoundEx("weapon/rokkojetmissile","Weapon")
JMSW A 0 A_FireCustomMissile("W_JetMissile",0,1,8,0)
JMSW BC 2
JMSW A 16
Goto Ready+2 
NoAmmo: 
JMSW A 1 ACS_NamedExecute("core_noammo",0)
Goto Ready+2

}
}

actor JetMissileAmmo : Ammo 
{
inventory.amount 1
inventory.maxamount 28
+INVENTORY.IGNORESKILL
}

actor W_JetMissile : BasicProjectile
{
translation "223:223=43:43"
Obituary "$OB_JETMISSILERC"
PROJECTILE
+SEEKERMISSILE
//+SCREENSEEKER
Radius 12
Height 12
scale 2.5
speed 20
damage (CallACS("vile_cbm_damage",18))
damagetype "JetMissile"
ReactionTime 20
States
{
Spawn:
TNT1 A 0
JMRK A 0 A_ScaleVelocity(2.0)
JMRK A 0 A_SpawnItemEx("BoxartRocketTrail",-2)
JMRK AABB 1 A_SeekerMissile (6, 9, SMF_LOOK|SMF_PRECISE, 100, 10)
JMRK A 0 A_SpawnItemEx("BoxartRocketTrail",-2)
JMRK AABB 1 A_SeekerMissile (6, 9, SMF_LOOK|SMF_PRECISE, 100, 10)
JMRK A 0 A_SpawnItemEx("BoxartRocketTrail",-2)
JMRK AABB 1 A_SeekerMissile (6, 9, SMF_LOOK|SMF_PRECISE, 100, 10)
JMRK A 0 A_SpawnItemEx("BoxartRocketTrail",-2)
JMRK AABB 1 A_SeekerMissile (6, 9, SMF_LOOK|SMF_PRECISE, 100, 10)
JMRK A 0 A_SpawnItemEx("BoxartRocketTrail",-2)
JMRK AABB 1 A_SeekerMissile (6, 9, SMF_LOOK|SMF_PRECISE, 100, 10)
JMRK A 0 A_SpawnItemEx("BoxartRocketTrail",-2)
JMRK AABB 1 A_SeekerMissile (6, 9, SMF_LOOK|SMF_PRECISE, 100, 10)
loopit:
JMRK AB 2 
loop
Death:
TNT1 A 0 A_ChangeFlag("NOINTERACTION",1)
MMFX BCDE 2 A_Stop
stop
}
}
