actor Enker : SturdyClassBase
{
Player.ScoreIcon "C_0KA0X"
player.startitem "SturdyHealthBar"
player.displayname "Enker"
player.soundclass "enkerc"
player.forwardmove 0.94, 0.94
player.sidemove 0.92, 0.92
player.startitem "MirrorBusterBoss"
player.startitem "MirrorCharge", 11

player.startitem "BalladeCrackerWeakness2", 1

player.startitem "HyperBombWeakness", 1
player.startitem "CrashBombWeakness", 1
player.startitem "DrillBombWeakness", 1
player.startitem "NapalmBombWeakness", 1
player.startitem "DangerWrapWeakness", 1
player.startitem "FlashBombWeakness", 1
player.startitem "RemoteMineWeakness", 1
player.startitem "LaserTridentWeakness", 1
player.startitem "BalladeCrackerWeakness", 1
States
{
Spawn:
ENKR A 0
ENKR B 1
ENKR A 1
Goto Spawn+2
See:
ENKR BCDE 5
Goto Spawn
Missile:
ENKR F 1 A_JumpIfInventory("EnkerAbsorbCount",1,"EnkerClassAbsorb")
ENKR F 0 A_JumpIfInventory("EnkerAbsorbCount",1,"EnkerClassAbsorb")
ENKR F 9
goto Spawn
AmmoGet:
ENKR Y 0 A_PlaySoundEx("weapon/mirrorabsorb","Voice")
//ENKR Y 0 A_GiveInventory("MirrorCharge",7)
ENKR Y 0 ACS_ExecuteAlways(648,0,12)
ENKR Y 0 A_Jump(256,"EnkerClassAbsorb")
EnkerClassAbsorb:
ENKR Y 2
ENKR Y 2 A_JumpIfInventory("EnkerAbsorbCount",1,"EnkerClassAbsorb")
goto Spawn
ClassPain:
ENKR H 0 A_GiveInventory("MirrorCharge",3)
ENKR H 0 A_JumpIfInventory("EnkerAbsorbCount",1,"AmmoGet")
goto PainContinue
DeathFix:
ENKR H 0
goto DeathContinue
ClassDeath:
ENKR H 1
goto MegaDeathEnd
}
}