actor RaThorMinionWeapon : MegaBuster
{
tag "Obey"
Weapon.AmmoUse 0
Weapon.AmmoGive 0
Weapon.SlotNumber 2
Obituary "$OB_RAMINION"
+INVENTORY.UNDROPPABLE
+WEAPON.AMMO_OPTIONAL
Scale 2.0

States
{
Spawn:
TNT1 A 0
stop
Ready:
SXH3 E 0 ACS_ExecuteAlways(998,0,508)
SXH3 E 0 A_Changeflag("MTHRUSPECIES",0)
SXH3 E 0 A_Changeflag("THRUSPECIES",0)
SXH3 E 0 A_Changeflag("DONTHARMSPECIES",0)
SXH3 E 0 A_SpawnItemEx("BTWIMRIGHTHERE")
SXH3 E 0 ACS_NamedExecuteAlways("core_flyplayer",0,0,0)
SXH3 E 0 ACS_NamedExecuteAlways("core_freezeplayer",0,0,0)
SXH3 E 0  ACS_ExecuteAlways(191,0,APROP_Speed,1,1)
PROC J 0 ACS_ExecuteAlways(191,0,APROP_JumpZ,10,1)

PROC J 0 SetPlayerProperty(0,0,0)
TNT1 A 0 SetPlayerProperty(0,0,4)
SXH3 E 0 ACS_ExecuteAlways(808,0)
SXH1 A 0 ACS_ExecuteAlways(991,0,508)
SXH3 E 1 A_WeaponReady(WRF_NOSWITCH)
Goto Ready+12
Deselect:
TNT1 AAAAAAAAAAAAAAAAAAAAAA 0 A_Lower
SXH3 E 1 A_Lower
loop
Select:
TNT1 AAAAAAAAAAAAAAAAAAAAAA 0 A_Raise
SXH3 E 1 A_Raise
Loop
Altfire:
Fire:
SXH3 E 1 Offset(0,40)
SXH3 E 1 Offset(0,80)
//TNT1 F 1 Offset(311, 127)
//SXH3 F 1 Offset(284, 116)
SXH3 F 1 Offset(227, 96)
//SXH3 F 1 Offset(161, 71)
SXH3 F 0 A_PlaySoundEx("weapon/napalm","Weapon")
SXH3 F 0 A_FireCustomMissile("MinionFist",0,1,0,0)
SXH3 F 1 Offset(161, 71)
SXH3 F 0 A_Quake(2,14,0,8,"none")
SXH3 G 1 Offset(103, 78)
//SXH3 G 1 Offset(89, 100)
SXH3 G 1 Offset(76, 123)
//SXH3 G 1 Offset(69, 148)
SXH3 G 1 Offset(63, 178)
TNT1 A 4 A_WeaponReady(WRF_NOFIRE|WRF_NOSWITCH)
TNT1 A 30
SXH3 E 2 Offset(0,80)
SXH3 E 2 Offset(0,40)
goto Ready+8

NoAmmo:
SXH3 E 1 ACS_Execute(979,0)
SXH3 E 0 A_Refire
goto Ready+8
}
}

actor MinionFist : SaxtonFist
{
Obituary "$OB_RAMINION"
Radius 10
damage (30)
Height 25
scale 2.5
reactiontime 2
Translation "198:198=3:3","192:192=163:163"
States
{
Spawn:
F_PR BB 1 A_Countdown
wait
XDeath:
TNT1 R 0 A_Stop
F_PR A 2
F_PR B 2
F_PR CC 2
stop
}
}

actor MinionResistances : PowerProtection
{
Powerup.Duration 0x7FFFFFFF
damagefactor "instagib", 0.0
damagefactor "BossInstagib", 0.0
damagefactor "HyperStormH", 0.0
damagefactor "HyperStormHJump", 0.0
damagefactor "MegaWaterS", 0.0
damagefactor "BusterRodG", 0.0
damagefactor "BusterRodGFire", 0.0
damagefactor "BusterRodGIce", 0.0
damagefactor "BusterRodGElec", 0.0
damagefactor "ShunGokuSatsuFateOthers", 0.0
damagefactor "MorshuFire", 0.0
damagefactor "ContagiousBurningMorshu", 0.0
damagefactor "CaveStory", 0.0
damagefactor "BlackHole", 0.0
damagefactor "MinionSH", 0.0
damagefactor "Torchic", 0.0
damagefactor "RebirthDynamo", 0.0
damagefactor "WilyFire", 0.0
damagefactor "TopSpin", 0.40 // 0.5 ; 0.38
damagefactor "FlashBomb", 0.35 // 0.70
damagefactor "GravityHold", 0.65
damagefactor "AtomicFire3", 0.65
damagefactor "WindStorm", 0.7
damagefactor "ThorMinion", 0.0
damagefactor "BassCrescentKick", 0.25

}

actor ForceHypnoWeapon : CustomInventory
{
states
{
Pickup:
TNT1 A 0
TNT1 A 0 A_SelectWeapon("RaThorMinionWeapon")
stop
}
}