actor MegamanS : SaxtonHaleSurvivor replaces Megaman
{
player.soundclass "CopyWep"
player.displayname "Megaman" // CopyWep
player.damagescreencolor "cyan"
//player.startitem "MedicControlSummonNORMAL"
player.startitem "MegaArm"
player.startitem "IsMegaManFlag"
player.startitem "BusterAmmo", 3
player.startitem "EnergyBalancer", 1
player.startitem "SaxtonHaleOfficialWeaponsPack"
States
{
Spawn:
PLY1 A 0
PLY1 B 1
PLY1 A 1 A_JumpIfInventory("InvisibleSection", 1, "NinjaTelefragger")
Goto Spawn+2
See:
PLY1 BCDE 5
Goto Spawn
Missile:
PLY1 F 5
PLY1 G 4
goto Spawn
NinjaTelefragger:
PLY1 X 2 A_SetTranslucent(0.01)
PLY1 X 1 A_JumpIfInventory("InvisibleSection", 1, "NinjaTelefragger")
PLY1 X 1 A_SetTranslucent(1.00)
goto Spawn
PainElbowSpawn:
PLY1 H 0 A_SetTranslucent(1.0)
goto Spawn
SurvivorPain:
PLY1 H 0 ACS_NamedExecuteWithResult("core_decdmg_begin")
PLY1 HHHHHHHHHH 2 A_SpawnItem("PainFX",0,3)
goto Spawn
SurvivorDeathGFX:
PLY1 H 20
PLY1 H 0 A_Jump(256, "SurvivorDeathEnd")
goto SurvivorDeathEnd
SMMClotheslineDeath:
PLY1 H 35 A_GiveInventory("BogusFatality", 1)
goto SMMClotheslineDeath2
PainElbowContinue:
PLY1 H 2
goto PainElbowCheck

CrunchFinish:
PLY1 H 35 A_GiveInventory("BogusFatality", 1)
PLY1 H 0 A_ChangeFlag("NOGRAVITY", 0)
PLY1 H 0 A_TakeInventory("BogusFatality", 999)
PLY1 H 0 ThrustThingZ(0, 170, 0, 0)
PLY1 H 20 A_Recoil(7)
goto DeathEndSequence

GoukiContinueComboStop:
PLY1 HHHHHHHH 1 A_Stop
goto Pain

Pain.ShunGokuSatsu:
PLY1 H 3 ACS_ExecuteAlways(401, 0, 18)
PLY1 H 14 A_PlaySoundEx("TomahawkTalbain/TotemSamaDestroyed", "Body")
PLY1 H 0 //A_StopSound(CHAN_BODY)
PLY1 H 30 A_TakeInventory("GoukiGoHadokenZone", 999)
goto Pain
GoHadokenStop:
PLY1 HHHHHHHHH 1 A_Stop
goto GoHadokenEnd
ShunGokuSatsuFrame:
PLY1 H 20
goto ShunGokuSatsuEnd


InstantDeathState:
PLY1 Z 1 SetPlayerProperty(0,0,4)
PLY1 Z 0 A_Jump(256, "InstantDeathFinish")
goto InstantDeathFinish

ElbowPuffPuff:
PLY1 H 35 A_GiveInventory("BogusFatality", 1)
PLY1 H 0 A_ChangeFlag("NOGRAVITY", 0)
PLY1 H 0 A_TakeInventory("BogusFatality", 999)
PLY1 H 8 A_Recoil(20)
goto DeathEndSequence
Ice:
PLY1 H 0
goto IceContinue
NoKillSummonsDrain:
PLY1 H 20
PLY1 H 0 A_Jump(256, "NoKillSummonsDrainAgain")
goto NoKillSummonsDrainAgain
SlenderRape:
PLY1 HHHHHHHHH 10 A_FadeOut (0.1)
goto DeathEndSequence+2
TheEnd:
PLY1 G 4
loop
WalkForward: 
PLY1 BBBBBCCCCCDDDDDEEEEE 1 A_Recoil(-0.8)
loop
CreditWalk: 
PLY1 BCDE 8
loop
CreditRun:
PLY1 BCDE 5
loop
DozerCarry:
PLY1 BBBBCCCCDDDDEEEEBBBBCCCCDDDDBBBBCCCCDDDD 1 A_Recoil(-1)
PLY1 F 10 A_Stop
PLY1 F -1
stop
DozerThrow:
PLY1 F 0 A_ChangeFlag("THRUACTORS",1)
PLY1 F 20 ThrustThingZ(0, 60, 0, 1)
PLY1 G 20
PLY1 A -1
stop
EndlessPain:
PLY1 H -1
stop
}
}

actor IsMegaManFlag : Once {}


actor DustCrusherSH replaces DustCrusher
{
PROJECTILE
Radius 10
Height 10
scale 2.5
damage (47)
speed 35
damagetype "DustCrusher"
Obituary "$OB_DUSTCRUSHER"
States
{
Spawn:
DUST A 4
loop
Crash:
XDeath:
TNT1 B 0 A_PlaySoundEx("weapon/junkshield","Weapon")
TNT1 A 6 A_SpawnItemEx("ExplosionEffect1")
TNT1 A 0 A_SpawnItemEx("DustBit1C",0,0,0,28,0,0,45)
TNT1 A 0 A_SpawnItemEx("DustBit2C",0,0,0,28,0,0,-45)
TNT1 A 0 A_SpawnItemEx("DustBit3C",0,0,0,28,0,0,225)
TNT1 A 0 A_SpawnItemEx("DustBit4C",0,0,0,28,0,0,-225)
stop
Death:
TNT1 B 0 A_PlaySoundEx("weapon/junkshield","Weapon")
TNT1 A 6 A_SpawnItemEx("ExplosionEffect1")
MMFX A 0 A_SpawnItemEx("DustBit1",0,0,0,28,0,0,45)
MMFX A 0 A_SpawnItemEx("DustBit2",0,0,0,28,0,0,-45)
MMFX A 0 A_SpawnItemEx("DustBit3",0,0,0,28,0,0,225)
MMFX A 0 A_SpawnItemEx("DustBit4",0,0,0,28,0,0,-225)
stop
}
}



actor CrystalEyeSH replaces CrystalEye // : MaceFX1
{
PROJECTILE
+FORCEXYBILLBOARD
Damage (67)
Height 16
+BRIGHT
Radius 16
damagetype "CrystalEye"
Obituary "$OB_CRYSTALEYE"
//+FLOORHUGGER
+EXPLODEONWATER
Scale 2.5
speed 28
States
{
Spawn:
CRYE ABCDEAA 4
loop
Death:
TNT1 A 0 A_PlaySoundEx("weapon/jewelfire", "weapon")
TNT1 A 0 A_SpawnItemEx("CrystalEyeBit",-8,0,0,28,0,12,45)
TNT1 A 0 A_SpawnItemEx("CrystalEyeBit",-8,0,0,28,0,12,-45)
TNT1 A 0 A_SpawnItemEx("CrystalEyeBit",-8,0,0,28,0,-12,45)
TNT1 A 0 A_SpawnItemEx("CrystalEyeBit",-8,0,0,28,0,-12,-45)
TNT1 A 0 A_SpawnItemEx("CrystalEyeBit",-8,0,0,28,0,12,225)
TNT1 A 0 A_SpawnItemEx("CrystalEyeBit",-8,0,0,28,0,12,-225)
TNT1 A 0 A_SpawnItemEx("CrystalEyeBit",-8,0,0,28,0,-12,225)
TNT1 A 1 A_SpawnItemEx("CrystalEyeBit",-8,0,0,28,0,-12,-225)
XDeath:
TNT1 A 0
stop
}
}

