actor KingClass : CustWepClassBase
{
Player.ScoreIcon "C_0BG0X"
player.displayname "King"
player.soundclass "kingc"

player.maxhealth 1150
health 1150
player.jumpz 10
player.forwardmove 0.73, 0.73
player.sidemove 0.71, 0.71

player.startitem "CBM_BaseFlagPack"

player.startitem "King_W"
player.startitem "King_W2"
player.startitem "DinnerAmmo",125

player.weaponslot 1, "King_W"
player.weaponslot 2, "King_W2"


player.startitem "LightningBoltWeakness"

+NOSKIN
States
{
Spawn:
KING A 0
KING B 1
KING A 2002
KING W 1
Goto Spawn+3
See:
KING BCDE 5
Goto Spawn
Missile:
KING F 0 A_JumpIfInventory("VivifyCycle1",1,"MissileSpin1")
KING F 0 A_JumpIfInventory("VivifyFlag1",1,"MissileWiggle")
KING FG 5
goto Spawn
MissileSpin1:
KING P 0 A_JumpIfInventory("VivifyCycle1",2,"MissileSpin2")
KING P 3 A_GiveInventory("VivifyCycle1",1)
KING OP 3
KING OP 4
goto Spawn
MissileSpin2:
KING O 3 A_TakeInventory("VivifyCycle1",1)
KING PO 3
KING PO 4
goto Spawn
MissileWiggle:
KING OP 1
KING O 0 A_JumpIfInventory("VivifyFlag1",1,"MissileWiggle")
KING OP 1
KING O 0 A_JumpIfInventory("VivifyFlag1",1,"MissileWiggle")
KING OP 1
goto Spawn

ClassPain:
KING H 0
goto MegamanPain
ClassDeath:
KING H 0
goto MegamanDeath
}
}