actor Knightman : ClassBase
{
Player.ScoreIcon "C_06D0X"
player.displayname "Knightman"
player.soundclass "knightmanc"
player.startitem "KnightCrushBoss"
player.startitem "KnightmanAmmo", 28
player.forwardmove 0.65, 0.65
player.sidemove 0.57, 0.57
player.jumpz 12
RadiusDamageFactor 0.6
//to counteract the radiusdamagefactor
damagefactor "FlashStopper", 1.3
damagefactor "TimeStop", 1.3
damagefactor "TimeSlow", 1.15
damagefactor "CentaurShock", 1.15
damagefactor "BrightB", 1.3
damagefactor "GravityB1", 1.3


player.startitem "YamatoSpearWeakness2", 1

player.startitem "NeedleCannonWeakness", 1
player.startitem "QuickBoomerangWeakness", 1
player.startitem "YamatoSpearWeakness", 1
player.startitem "SpreadDrillWeakness", 1
States
{
Spawn:
KNIM A 0
KNIM B 1 A_JumpIfInventory("KnightFlag",1,"MissileH")
KNIM A 1 A_JumpIfInventory("KnightFlag",1,"MissileH")
Goto Spawn+2
See:
KNIM BBBBBCCCCCDDDDDEEEEE 1 A_JumpIfInventory("KnightFlag",1,"MissileH")
Goto Spawn
Missile:
KNIM F 5
KNIM GGGG 1 A_JumpIfInventory("KnightFlag",1,"MissileH")
KNIM F 5
goto Spawn
MissileH:
KNIM G 1
goto Missile+1
ClassPain:
KNIM H 0
goto PainContinue
DeathFix:
KNIM H 0
goto DeathContinue
ClassDeath:
KNIM H 1
goto MegaDeathEnd
}
}
