Frame 1
var savefile = SharedObject.getLocal("FearUnlimited");
_root.oldlightning = savefile.data.lightning;
_root.oldHellFire = savefile.data.HellFire;
if (savefile.data.lightning == undefined) {
_root.lightning = 0;
_root.HellFire = 0;
}
var savefile = SharedObject.getLocal("FearUnlimited");
_root.olddevilsdemise = savefile.data.devilsdemis;
if (savefile.data.devilsdemise == undefined) {
_root.devilsdemise = 0;
}
var savefile = SharedObject.getLocal("FearUnlimited");
_root.oldshotgun = savefile.data.shotgun;
_root.oldgrenade = savefile.data.grenade;
if (savefile.data.shotgun == undefined) {
_root.shotgun = 0;
_root.grenade = 0;
}
var savefile = SharedObject.getLocal("FearUnlimited");
_root.oldsubmachine = savefile.data.submachine;
if (savefile.data.submachine == undefined) {
_root.submachine = 0;
}
var savefile = SharedObject.getLocal("FearUnlimited");
_root.oldOAmission = savefile.data.OAmission;
_root.oldoverallkills = savefile.data.overallkills;
if (savefile.data.OAmission == undefined) {
_root.OAmission = 1;
_root.overallkills = 0;
}
var savefile = SharedObject.getLocal("FearUnlimited");
_root.olddeaths = savefile.data.deaths;
if (savefile.data.deaths == undefined) {
_root.deaths = 1;
}
var savefile = SharedObject.getLocal("FearUnlimited");
_root.oldlevel = savefile.data.level;
if (savefile.data.level == undefined) {
_root.level = 0;
}
var savefile = SharedObject.getLocal("FearUnlimited");
_root.oldrank1 = savefile.data.rank1;
_root.oldrank2 = savefile.data.rank2;
if (savefile.data.rank1 == undefined) {
_root.rank1 = 0;
_root.rank2 = 0;
}
var savefile = SharedObject.getLocal("FearUnlimited");
_root.oldrank3 = savefile.data.rank3;
_root.oldrank4 = savefile.data.rank4;
if (savefile.data.rank3 == undefined) {
_root.rank3 = 0;
_root.rank4 = 0;
}
var savefile = SharedObject.getLocal("FearUnlimited");
_root.oldrank5 = savefile.data.rank5;
_root.oldrank6 = savefile.data.rank6;
if (savefile.data.rank5 == undefined) {
_root.rank5 = 0;
_root.rank6 = 0;
}
var savefile = SharedObject.getLocal("FearUnlimited");
_root.oldrank7 = savefile.data.rank7;
_root.oldrank8 = savefile.data.rank8;
if (savefile.data.rank7 == undefined) {
_root.rank7 = 0;
_root.rank8 = 0;
}
var savefile = SharedObject.getLocal("FearUnlimited");
_root.oldrank9 = savefile.data.rank9;
_root.oldrank10 = savefile.data.rank10;
if (savefile.data.rank5 == undefined) {
_root.rank9 = 0;
_root.rank10 = 0;
}
var savefile = SharedObject.getLocal("FearUnlimited");
_root.oldrank11 = savefile.data.rank11;
_root.oldrank12 = savefile.data.rank12;
if (savefile.data.rank11 == undefined) {
_root.rank11 = 0;
_root.rank12 = 0;
}
var savefile = SharedObject.getLocal("FearUnlimited");
_root.oldrank13 = savefile.data.rank13;
_root.oldrank14 = savefile.data.rank14;
if (savefile.data.rank13 == undefined) {
_root.rank13 = 0;
_root.rank14 = 0;
}
var savefile = SharedObject.getLocal("FearUnlimited");
_root.oldrank15 = savefile.data.rank15;
_root.oldrank16 = savefile.data.rank16;
if (savefile.data.rank15 == undefined) {
_root.rank15 = 0;
_root.rank16 = 0;
}
var savefile = SharedObject.getLocal("FearUnlimited");
_root.oldrank17 = savefile.data.rank17;
_root.oldrank18 = savefile.data.rank18;
if (savefile.data.rank17 == undefined) {
_root.rank17 = 0;
_root.rank18 = 0;
}
var savefile = SharedObject.getLocal("FearUnlimited");
_root.oldNEWHours = savefile.data.NEWHours;
_root.oldNEWMinutes = savefile.data.NEWMinutes;
if (savefile.data.NEWHours == undefined) {
_root.NEWHours = 0;
_root.NEWMinutes = 0;
}
var savefile = SharedObject.getLocal("FearUnlimited");
_root.oldquality = savefile.data.quality;
_root.oldrumble = savefile.data.rumble;
if (savefile.data.lightning == undefined) {
_root.quality = 1;
_root.rumble = 0;
}
_quality = "High";
stop();
Stage.showMenu = false;
Instance of Symbol 56 MovieClip "screen" in Frame 1
onClipEvent (load) {
this.mission = 1;
}
onClipEvent (enterFrame) {
if (_root.OAmission == 1) {
this.percentage = 5.5;
}
if (_root.OAmission == 2) {
this.percentage = 11;
}
if (_root.OAmission == 3) {
this.percentage = 16.5;
}
if (_root.OAmission == 4) {
this.percentage = 22;
}
if (_root.OAmission == 5) {
this.percentage = 27.5;
}
if (_root.OAmission == 6) {
this.percentage = 33;
}
if (_root.OAmission == 7) {
this.percentage = 38.5;
}
if (_root.OAmission == 8) {
this.percentage = 44;
}
if (_root.OAmission == 9) {
this.percentage = 49.5;
}
if (_root.OAmission == 10) {
this.percentage = 55;
}
if (_root.OAmission == 11) {
this.percentage = 60.5;
}
if (_root.OAmission == 12) {
this.percentage = 66;
}
if (_root.OAmission == 13) {
this.percentage = 71.5;
}
if (_root.OAmission == 14) {
this.percentage = 77;
}
if (_root.OAmission == 15) {
this.percentage = 82.5;
}
if (_root.OAmission == 16) {
this.percentage = 88;
}
if (_root.OAmission == 17) {
this.percentage = 93.5;
}
if (_root.OAmission == 18) {
this.percentage = 100;
}
if (_root.OAmission >= 18) {
_root.button.gotoAndStop(3);
}
_root.missionS = this.mission;
this.HOUR = _root.NEWhours;
this.MINUTE = _root.NEWminutes;
this.killer = _root.overallkills;
this.LVL = _root.level;
}
Instance of Symbol 119 MovieClip "preloader" in Frame 1
onClipEvent (enterFrame) {
if (_root.preloaded > 0) {
this.gotoAndStop("finished");
}
}
Instance of Symbol 159 MovieClip "exit" in Frame 1
onClipEvent (enterFrame) {
if (_root.quality == 1) {
this.setting.setter.Qcheck.gotoAndStop(2);
}
if (_root.quality == 2) {
this.setting.setter.Qcheck.gotoAndStop(3);
}
if (_root.quality == 3) {
this.setting.setter.Qcheck.gotoAndStop(4);
}
if (_root.rumble > 0) {
this.setting.setter.Rcheck.gotoAndStop(6);
}
if (_root.rumble < 1) {
this.setting.setter.Rcheck.gotoAndStop(5);
}
}
Frame 2
_quality = "High";
stop();
Stage.showMenu = false;
Instance of Symbol 78 MovieClip in Frame 2
onClipEvent (load) {
this.blurr._alpha = 0;
}
onClipEvent (enterFrame) {
if (focus > 0) {
this.blurr._alpha = this.blurr._alpha + 0.5;
this.blurr._xscale = this.blurr._xscale + 0.05;
} else if (focus < 0) {
this.blurr._alpha = this.blurr._alpha - 0.9;
this.blurr._xscale = this.blurr._xscale - 0.09;
}
if (this.blurr._alpha > 40) {
focus = -1;
} else if (this.blurr._alpha < 1) {
focus = 1;
}
}
Instance of Symbol 168 MovieClip "exit" in Frame 2
onClipEvent (enterFrame) {
if (key.IsDown(32)) {
this.play();
}
}
Frame 3
if (_root.OAmission < 1) {
_root.OAmission = 1;
}
_quality = "High";
stop();
Stage.showMenu = false;
Frame 4
if (_root.quality == 1) {
_quality = "Medium";
}
if (_root.quality == 2) {
_quality = "High";
}
if (_root.quality == 3) {
_quality = "Low";
}
stop();
Stage.showMenu = false;
Instance of Symbol 594 MovieClip "player" in Frame 4
onClipEvent (load) {
goal = 13;
double = 2;
MISSIONCLEAR = 0;
die = random(3);
_root.rumble = 0;
_root.overallkills = _root.overallkills + 1;
_root.overallkills = _root.overallkills - 1;
_root.deaths = _root.deaths + 1;
_root.minutes = 0;
_root.seconds = 0;
_root.pause._visible = false;
_root.targeter._visible = false;
_root.mission = 1;
_root.score = 0;
_root.Health = (_root.level * 100) + 200;
_root.kills = 0;
gravity = 1;
Heart = 1;
swordhits = 0;
bladememory = blade;
skin = 1;
clock = 0;
ticker = 1;
damage = 0;
targeting = 0;
filler = 2;
gun = 3;
attack = 0;
friction = 0;
motion = 13;
hangtime = 1;
falling = 0;
jump = 0;
blade = 1;
hits = 0;
thrower = 1;
DEVIL = 0;
_root.DRIVE = 0;
time = 1;
powerup = 0;
_root.gauge.percent = 0;
down = 1;
quota = (2 * _root.kills) + 10;
target = 0;
target2 = 0;
comboset = 0;
combo = 0;
comboreset = 0;
}
onClipEvent (enterFrame) {
if (_root.level < 1) {
_root.level = 1;
_root.Health = 300;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 1)) {
this._xscale = -55;
this._x = this._x + (motion * 1.1);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 1;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 1)) {
this._xscale = 55;
this._x = this._x - (motion * 1.1);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 1;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 4)) {
this._xscale = -55;
this._x = this._x + (motion * 1.4);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 2.5;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 4)) {
this._xscale = 55;
this._x = this._x - (motion * 1.4);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 2.5;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 2)) {
this._xscale = -55;
this._x = this._x + (motion * 1.35);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 0.6;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 2)) {
this._xscale = 55;
this._x = this._x - (motion * 1.35);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 0.6;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 3)) {
this._xscale = -55;
this._x = this._x + (motion * 0.95);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 2;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 3)) {
this._xscale = 55;
this._x = this._x - (motion * 0.95);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 2;
}
if (falling > 60) {
falling = 60;
hangtime = 0;
}
if (_xscale > 0) {
this._x = this._x - attack;
} else if (_xscale < 0) {
this._x = this._x + attack;
}
if (((_y > 325) && (falling > 0)) && (gravity > 0)) {
this._y = 351;
falling = 0;
hangtime = 0;
jump = 0;
this.gotoAndStop(1);
}
if (((_y > 325) && (faller > 0.5)) && (gravity > 0)) {
this._y = 349.79;
faller = 0;
plundge = 0;
jump = 0;
} else if (((_y > 325) && (falling > 3)) && (gravity > 0)) {
this._y = 349.79;
falling = 0;
hangtime = 0;
this._x = this._x - attack;
}
if (attack < 0) {
attack = 0;
friction = 0;
}
if (((jump > 0) && (this._x < 10)) && (key.IsDown(37))) {
this.gotoAndPlay("wallride");
this._x = 11;
_xscale = -55;
}
if ((jump > 0) && (this._x == 11)) {
this._x = 11;
_xscale = -55;
}
if (((jump > 0) && (this._x > 790)) && (key.IsDown(39))) {
this.gotoAndPlay("wallride");
this._x = 789;
_xscale = 55;
}
if ((jump > 0) && (this._x == 789)) {
this._x = 789;
_xscale = 55;
}
if ((DEVIL > 0) && (blade == 1)) {
this.capel.gotoAndStop(2);
this.arml.gotoAndStop(2);
this.arm.gotoAndStop(2);
this.head.gotoAndStop(2);
this.cape.gotoAndStop(2);
this.body.gotoAndStop(2);
this.glow.gotoAndStop(2);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(2);
}
if ((DEVIL > 0) && (blade == 2)) {
this.capel.gotoAndStop(3);
this.arml.gotoAndStop(3);
this.arm.gotoAndStop(3);
this.head.gotoAndStop(3);
this.cape.gotoAndStop(3);
this.body.gotoAndStop(3);
this.glow.gotoAndStop(3);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(3);
}
if ((DEVIL > 0) && (blade == 3)) {
this.capel.gotoAndStop(4);
this.arml.gotoAndStop(4);
this.arm.gotoAndStop(4);
this.head.gotoAndStop(4);
this.cape.gotoAndStop(4);
this.body.gotoAndStop(4);
this.glow.gotoAndStop(4);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(4);
}
if ((DEVIL > 0) && (blade == 4)) {
this.capel.gotoAndStop(5);
this.arml.gotoAndStop(5);
this.arm.gotoAndStop(5);
this.head.gotoAndStop(5);
this.cape.gotoAndStop(5);
this.body.gotoAndStop(5);
this.glow.gotoAndStop(5);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(5);
} else if (DEVIL < 1) {
this.capel.gotoAndStop(1);
this.arml.gotoAndStop(1);
this.arm.gotoAndStop(1);
this.head.gotoAndStop(1);
this.cape.gotoAndStop(1);
this.body.gotoAndStop(1);
this.glow.gotoAndStop(1);
this.static.gotoAndStop(1);
this.power._visible = false;
}
if (this._x > 800) {
this._x = 800;
} else if (this._x < 0) {
this._x = 0;
}
if ((key.isDown(70) && (DEVIL < 1)) && (_root.gauge.percent > 25)) {
this.gotoAndPlay("devilmode");
} else if (key.isDown(70) && (DEVIL > 0)) {
this.gotoAndPlay("devilexit");
}
if ((powerup > 30) && (pause < 1)) {
_root.gauge.percent = _root.gauge.percent + 1;
powerup = 0;
}
if (_root.gauge.percent > 99) {
time = 0;
} else if (_root.gauge.percent < 99) {
time = 1;
}
if ((DEVIL > 0) && (pause < 1)) {
powerdown = powerdown + down;
}
if (powerdown > 9) {
_root.gauge.percent = _root.gauge.percent - 1;
_root.Health = _root.Health + 1;
powerdown = 0;
}
if ((DEVIL < 1) && (pause < 1)) {
powerup = powerup + time;
}
if (_root.gauge.meterX._xscale > _root.gauge.meter._xscale) {
_root.meterX._xscale = _root.meterX._xscale - 0.75;
} else if (_root.gauge.meterX._xscale < _root.gauge.meter._xscale) {
_root.meterX._xscale = _root.gauge.meter._xscale;
}
if ((_root.gauge.percent < 1) && (DEVIL > 0)) {
_root.meterX._xscale = _root.gauge.meter._xscale;
this.gotoAndPlay("devilexit");
DEVIL = 0;
_root.gauge.percent = 0;
}
if (_xscale > 0) {
this._x = this._x + damage;
} else if (_xscale < 0) {
this._x = this._x - damage;
}
if (damage < 0) {
damage = 0;
friction2 = 0;
}
if (_root.Health > _root.Healthfull) {
_root.Health = _root.Healthfull;
}
if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
swordhits = swordhits + 1;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
swordhits = swordhits + 1;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
falling = 0;
hangtime = 0;
_root.Health = _root.Health - 35;
swordhits = swordhits + 1;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
swordhits = swordhits + 1;
friction2 = 1.5;
_root.Health = _root.Health - 35;
swordhits = swordhits + 1;
}
if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x > _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
swordhits = swordhits + 1;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 25;
swordhits = swordhits + 1;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x < _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
swordhits = swordhits + 1;
friction2 = 1.5;
_root.Health = _root.Health - 25;
swordhits = swordhits + 1;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
combo = 0;
damage = 22;
jump = 0;
falling = 0;
hangtime = 0;
swordhits = swordhits + 1;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 35;
swordhits = swordhits + 1;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x < _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 35;
swordhits = swordhits + 1;
} else if ((((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
friction2 = 1.5;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
_root.Health = _root.Health - 35;
swordhits = swordhits + 1;
} else if ((((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 35;
swordhits = swordhits + 1;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits > 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 35;
swordhits = swordhits + 1;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits > 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 35;
swordhits = swordhits + 1;
}
if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
swordhits = swordhits + 1;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
swordhits = swordhits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
}
if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
swordhits = swordhits + 1;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
swordhits = swordhits + 1;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
}
if (_root.Health < 1) {
_root.Health = 0;
this.gotoAndStop("death");
_root.death = _root.death + 1;
motion = 0;
DEVIL = 0;
down = 0;
time = 0;
combo = 0;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 30;
faller = 5;
DIE = 5;
_root.gauge.percent = 0;
}
if (_root.kills > quota) {
this.quota = this.quota + (_root.kills * 2);
this.quota = this.quota + 5;
_root.levelup.play();
}
if (_root.ENEMY2.Health <= 0) {
target1 = 1;
} else if (_root.ENEMY.Health <= 0) {
target1 = 2;
} else if (((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY._x < _root.ENEMY2._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY._x > _root.ENEMY2._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _x)) && (_root.ENEMY._x < _x)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _x)) && (_root.ENEMY._x < _x)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _x)) && (_root.ENEMY._x > _x)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _x)) && (_root.ENEMY._x > _x)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
}
if (target1 == 1) {
_root.targeter._x = _root.ENEMY._x;
_root.targeter._y = _root.ENEMY._y - 46;
} else if (target1 == 2) {
_root.targeter._x = _root.ENEMY2._x;
_root.targeter._y = _root.ENEMY2._y - 46;
}
if (gun == 1) {
this.arml.gun.gotoAndStop(1);
this.arm.gun.gotoAndStop(1);
_root.pause.guns.gotoAndStop(1);
} else if (gun == 2) {
this.arml.gun.gotoAndStop(2);
this.arm.gun.gotoAndStop(2);
_root.pause.guns.gotoAndStop(2);
} else if (gun == 3) {
this.arml.gun.gotoAndStop(3);
this.arm.gun.gotoAndStop(3);
_root.pause.guns.gotoAndStop(3);
} else if (gun == 4) {
this.arml.gun.gotoAndStop(4);
this.arm.gun.gotoAndStop(4);
_root.pause.guns.gotoAndStop(4);
}
if ((key.IsDown(88) && (_root.shotgun > 0)) && (gun == 1)) {
_root.gunswitch.gotoAndStop(2);
}
if ((key.IsDown(88) && (_root.grenade > 0)) && (gun == 2)) {
_root.gunswitch.gotoAndStop(3);
}
if ((key.IsDown(88) && (_root.submachine > 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(4);
}
if ((key.IsDown(88) && (_root.grenade < 1)) && (gun == 2)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(88) && (_root.submachine < 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(88) && (_root.submachine > 0)) && (gun == 4)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.lightning > 0)) && (blade == 1)) {
_root.swordswitch.gotoAndStop(2);
}
if ((key.IsDown(90) && (_root.hellfire > 0)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(3);
}
if ((key.IsDown(90) && (_root.devilsdemise > 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(4);
}
if ((key.IsDown(90) && (_root.hellfire < 1)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.devilsdemise < 2)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.devilsdemise > 0)) && (blade == 4)) {
_root.swordswitch.gotoAndStop(1);
}
if (gun == 3) {
this.bazooka.gotoAndStop(1);
} else if (gun == 4) {
this.bazooka.gotoAndStop(2);
} else if (gun == 2) {
this.bazooka.gotoAndStop(3);
} else if (gun == 1) {
this.bazooka.gotoAndStop(4);
}
if (blade == 3) {
_root.swordloss.swords.gotoAndStop(3);
this.fire._visible = true;
this.bolt._visible = false;
_root.pause.swords.gotoAndStop(3);
this.sword.gotoAndStop(3);
this.hate._visible = false;
this.light.gotoAndStop(3);
} else if (blade == 2) {
_root.swordloss.swords.gotoAndStop(2);
_root.pause.swords.gotoAndStop(2);
this.bolt._visible = true;
this.fire._visible = false;
this.sword.gotoAndStop(2);
this.hate._visible = false;
this.light.gotoAndStop(2);
} else if (blade == 1) {
_root.swordloss.swords.gotoAndStop(1);
this.fire._visible = false;
_root.pause.swords.gotoAndStop(1);
this.bolt._visible = false;
this.hate._visible = false;
this.light.gotoAndStop(1);
this.sword.gotoAndStop(1);
} else if (blade == 4) {
_root.swordloss.swords.gotoAndStop(4);
this.light.gotoAndStop(4);
this.hate._visible = true;
_root.pause.swords.gotoAndStop(4);
this.fire._visible = false;
this.bolt._visible = false;
this.sword.gotoAndStop(4);
}
if (DEVIL > 0) {
this.arm.gun.machine.gotoAndStop(2);
}
if (DEVIL < 1) {
this.arm.gun.machine.gotoAndStop(1);
}
if (((targeting < 1) && (key.IsDown(32))) && (timing > 25)) {
_root.targeter._visible = true;
targeting = 1;
timing = 0;
filler = 1;
} else if (((targeting > 0) && (key.IsDown(32))) && (timing > 25)) {
targeting = 0;
timing = 0;
filler = 1;
_root.targeter._visible = false;
}
if (((key.IsDown(67) && (pause < 1)) && (timing > 25)) && (DIE < 1)) {
pause = 5;
timing = 0;
filler = 1;
_root.pause._visible = true;
} else if ((key.IsDown(67) && (pause > 0)) && (timing > 25)) {
pause = 0;
hangtime = 3;
_root.ENEMY2.hangtime = 3;
_root.ENEMY.hangtime = 3;
play();
_root.pause._visible = false;
_root.pause.gotoAndStop(1);
timing = 0;
filler = 1;
}
if ((pause > 0) && (_y > 270)) {
this.gotoAndStop("pauseground");
hangtime = 0;
jump = 0;
plundge = 0;
falling = 0;
faller = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if ((pause > 0) && (_y < 270)) {
this.gotoAndStop("pauseair");
hangtime = 0;
jump = 0;
plundge = 0;
falling = 0;
faller = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if (comboreset > 120) {
combo = 0;
comboset = 0;
combo = combo - 2;
}
if (combo < 1) {
_root.style.gotoAndStop(1);
combo = 0;
comboreset = 0;
} else if ((combo > 1) && (combo < 50)) {
_root.style.gotoAndStop(2);
_root.score = _root.score + 1;
} else if ((combo > 50) && (combo < 110)) {
_root.style.gotoAndStop(3);
_root.score = _root.score + 1;
} else if ((combo > 110) && (combo < 160)) {
_root.style.gotoAndStop(4);
_root.score = _root.score + 1;
} else if ((combo > 160) && (combo < 210)) {
_root.style.gotoAndStop(5);
_root.score = _root.score + 2;
} else if ((combo > 210) && (combo < 280)) {
_root.style.gotoAndStop(6);
_root.score = _root.score + 2;
} else if (combo > 280) {
_root.style.gotoAndStop(7);
_root.score = _root.score + 3;
}
if (_root.Health > 0) {
DIE = 0;
}
if (DIE > 0) {
_root.gameover.play();
hangtime = 0;
_root.pause._visible = false;
jump = 0;
falling = 0;
attack = 0;
damage = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if (skin < 2) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(1);
} else if (skin == 2) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(2);
this.arm.skin.gotoAndStop(2);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(2);
this.dead.death.arm.skin.gotoAndStop(2);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 3) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(4);
this.arm.skin.gotoAndStop(4);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(4);
this.dead.death.arm.skin.gotoAndStop(4);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(1);
} else if (skin == 4) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(2);
this.arm.skin.gotoAndStop(2);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(2);
this.dead.death.arm.skin.gotoAndStop(2);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(2);
} else if (skin == 5) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if (skin == 6) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if (skin == 7) {
this.body.skin.gotoAndStop(3);
this.arml.skin.gotoAndStop(3);
this.arm.skin.gotoAndStop(3);
this.cape._visible = true;
this.capel._visible = true;
this.cape.skin.gotoAndStop(2);
this.capel.skin.gotoAndStop(2);
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(3);
this.dead.death.arml.skin.gotoAndStop(3);
this.dead.death.arm.skin.gotoAndStop(3);
this.dead.death.cape._visible = true;
this.dead.death.cape.skin.gotoAndStop(2);
this.dead.death.capel.skin.gotoAndStop(2);
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if (skin == 8) {
this.body.skin.gotoAndStop(4);
this.arml.skin.gotoAndStop(4);
this.arm.skin.gotoAndStop(4);
this.cape._visible = true;
this.capel._visible = true;
this.cape.skin.gotoAndStop(3);
this.capel.skin.gotoAndStop(3);
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(4);
this.dead.death.arml.skin.gotoAndStop(4);
this.dead.death.arm.skin.gotoAndStop(4);
this.dead.death.cape._visible = true;
this.dead.death.cape.skin.gotoAndStop(3);
this.dead.death.capel.skin.gotoAndStop(3);
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
}
if (skin < 7) {
this.capel.skin.gotoAndStop(1);
this.head.skin.gotoAndStop(1);
this.dead.death.cape.skin.gotoAndStop(1);
this.dead.death.capel.skin.gotoAndStop(1);
}
if (clock > 27) {
_root.seconds = _root.seconds + 1;
clock = 0;
}
if (_root.seconds > 60) {
_root.Minutes = _root.Minutes + 1;
_root.seconds = 0;
}
if (_root.mission == 1) {
_root.pause.mission.gotoAndStop(1);
}
if (((key.IsDown(81) && (_root.Speedheart > 0)) && (Heart == 1)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(2);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart > 0)) && (Heart == 2)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(3);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart > 0)) && (Heart == 3)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(1);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart < 1)) && (Heart == 2)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(1);
heartchange = 0;
}
if ((((Heart == 2) && (DEVIL > 0)) && (healing > 9)) && (pause < 1)) {
_root.Health = _root.Health + 3;
_root.gauge.percent = _root.gauge.percent - 1;
healing = 0;
}
if ((((Heart == 3) && (DEVIL > 0)) && (healing > 17)) && (pause < 1)) {
_root.gauge.percent = _root.gauge.percent + 1;
_root.Health = _root.Health - 5;
healing = 0;
}
if (Heart == 1) {
_root.gauge.meter.gotoAndStop(1);
}
if (Heart == 2) {
_root.gauge.meter.gotoAndStop(2);
}
if (Heart == 3) {
_root.gauge.meter.gotoAndStop(3);
}
if (_root.kills > 13) {
_root.exit.play();
this.power._visible = false;
hangtime = 0;
DEVIL = 0;
_root.pause._visible = false;
this.stop();
jump = 0;
falling = 0;
attack = 0;
damage = 0;
motion = 0;
_root.ENEMY2.motion = 0;
_root.ENEMY.motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.SWORD.strike.gotoAndStop(1);
_root.ENEMY.SWORD.strike.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY.stop();
_root.ENEMY2.stop();
_root.ENEMY.motion = 0;
_root.ENEMY2.motion = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if (clock > 27) {
_root.OAseconds = _root.OAseconds + 1;
clock = 0;
}
if (_root.OAseconds > 60) {
_root.OAMinutes = _root.OAMinutes + 1;
_root.OAseconds = 0;
}
if (_root.kills > goal) {
MISSIONCLEAR = 20;
}
if (_root.rumble > 0) {
_root.pause.rumble.gotoAndStop(3);
} else if (_root.rumble < 1) {
_root.pause.rumble.gotoAndStop(2);
}
if ((this.core.hitTest(_root.ENEMY3.dead) && (_x < _root.ENEMY3._x)) && (shadowmode < 1)) {
damage = 35;
friction2 = 1;
this.gotoAndPlay("down");
_xscale = 55;
Health = Health - 50;
friction2 = 1;
hangtime = 0;
falling = 0;
plundge = 20;
}
if ((this.core.hitTest(_root.ENEMY3.dead) && (_x > _root.ENEMY3._x)) && (shadowmode < 1)) {
damage = 35;
friction2 = 1;
Health = Health - 50;
friction2 = 1;
hangtime = 0;
falling = 0;
plundge = 20;
this.gotoAndPlay("down");
_xscale = -55;
}
if (((((this._xscale > 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x > _root.ENEMY2._x)) && (_root.ENEMY3._y >= _root.ENEMY2._y)) {
target2 = 1;
target1 = 0;
}
if (((((this._xscale > 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x < _root.ENEMY2._x)) && (_root.ENEMY3._y >= _root.ENEMY2._y)) {
target2 = 0;
target1 = 2;
}
if (((((this._xscale < 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x > _root.ENEMY2._x)) && (_root.ENEMY3._y >= _root.ENEMY2._y)) {
target2 = 0;
target1 = 2;
}
if (((((this._xscale < 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x < _root.ENEMY2._x)) && (_root.ENEMY3._y >= _root.ENEMY2._y)) {
target2 = 1;
target1 = 0;
}
if (_root.ENEMY2.Health < 1) {
target2 = 1;
}
if (_y < -30) {
hangtime = 2;
this.gotoAndStop("plummet");
}
if (gravity == 1) {
_root.Combo.hitter = _root.Combo.hits;
_yscale = 55;
this._y = this._y + (falling * gravity);
_root.Healthfull = (_root.level * 100) + 200;
this._y = this._y - (jump * gravity);
fill = fill + 1;
heartchange = heartchange + 1;
this.shoot.gotoAndStop(random(5));
falling = falling + (hangtime * gravity);
attack = attack - friction;
clock = clock + ticker;
damage = damage - friction2;
fillerup = fillerup + 1;
faller = faller + (plundge * gravity);
_root.combo.hits = combo;
comboreset = comboreset + comboset;
this._y = this._y + (faller * gravity);
healing = healing + 1;
speder = speder + 1;
timing = timing + filler;
this._y = this._y - (wallrun * gravity);
_root.gauge.meter._xscale = _root.gauge.percent;
}
if (gravity == -1) {
_yscale = -55;
_root.Combo.hitter = _root.Combo.hits;
this._y = this._y - falling;
_root.Healthfull = (_root.level * 100) + 200;
this._y = this._y + jump;
fill = fill + 1;
heartchange = heartchange + 1;
this.shoot.gotoAndStop(random(5));
falling = falling + hangtime;
attack = attack - friction;
clock = clock + ticker;
damage = damage - friction2;
fillerup = fillerup + 1;
faller = faller + plundge;
_root.combo.hits = combo;
comboreset = comboreset + comboset;
this._y = this._y - faller;
healing = healing + 1;
speder = speder + 1;
timing = timing + filler;
this._y = this._y + wallrun;
_root.gauge.meter._xscale = _root.gauge.percent;
}
if (((_y < 70) && (falling > 0)) && (gravity < 0)) {
this._y = 70;
falling = 0;
hangtime = 0;
jump = 0;
this.gotoAndStop(1);
} else if (((_y < 70) && (faller > 0)) && (gravity < 0)) {
this._y = 70;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 0;
faller = 0;
}
if ((((gravity == -1) && (blade == 2)) && (refill < 1)) && (pause < 1)) {
timevertex = timevertex + 2;
}
if (((((gravity == -1) && (blade == 2)) && (timevertex > 400)) && (refill < 1)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
refill = 5;
this.gotoAndStop("fall");
timevertex = 400;
}
if ((refill > 0) && (pause < 1)) {
timevertex = timevertex - 1;
}
if ((gravity > 0) && (pause < 1)) {
timevertex = timevertex - 1;
}
if ((timevertex < 3) && (pause < 1)) {
refill = 0;
}
if ((blade < 2) && (_root.mission == 7)) {
gravity = -1;
}
if ((blade > 2) && (_root.mission == 7)) {
gravity = -1;
}
if ((blade == 2) && (_root.mission == 7)) {
gravity = -1;
}
if (((blade < 2) && (_root.mission > 7)) && (gravity < 0)) {
gravity = 1;
hangtime = 2;
}
if (((blade > 2) && (_root.mission > 7)) && (gravity < 0)) {
gravity = 1;
hangtime = 2;
}
if (((blade < 2) && (_root.mission < 7)) && (gravity < 0)) {
gravity = 1;
hangtime = 2;
}
if (((blade > 2) && (_root.mission < 7)) && (gravity < 0)) {
gravity = 1;
hangtime = 2;
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == 1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission < 7)) && (pause < 1)) {
gravity = -1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == -1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission < 7)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == 1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission > 7)) && (pause < 1)) {
gravity = -1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == -1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission > 7)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if ((this._y == 70) && (gravity == -1)) {
this.Staticform2._visible = true;
} else if ((this._y > 60) && (gravity == -1)) {
this.Staticform2._visible = false;
} else if (gravity == 1) {
this.Staticform2._visible = false;
}
if ((_y > 480) && (gravity < 0)) {
this.gotoAndStop("plummet");
}
if (timestop > 0) {
my_color = new Color(_root.ENEMY);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.ENEMY2);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.ENEMY3);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.BG);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.travel);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
}
if (timestop < 1) {
my_color = new Color(_root.ENEMY);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.ENEMY2);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.ENEMY3);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.BG);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.travel);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
}
if ((timestop > 0) && (pause < 1)) {
timestart = timestart + 1;
refiller = 0;
}
if ((timestop < 1) && (pause < 1)) {
refiller = refiller + 1;
}
if ((timestart > 500) && (pause < 1)) {
this.timetrigger.gotoAndStop(3);
timestop = 0;
enable = 1;
refiller = 0;
timestart = 0;
}
if (refiller > 300) {
enable = 0;
}
if ((((((blade == 3) && (key.IsDown(38))) && (key.IsDown(65))) && (DTIME > 30)) && (timestop < 1)) && (enable < 1)) {
timestop = 2;
DTIME = 0;
this.timetrigger.gotoAndStop(2);
}
if (((((blade == 3) && (key.IsDown(38))) && (key.IsDown(65))) && (DTIME > 30)) && (timestop > 1)) {
timestop = 0;
DTIME = 0;
this.timetrigger.gotoAndStop(3);
}
if ((blade < 3) && (pause < 1)) {
timestop = 0;
dropout = dropout - 1;
}
if ((blade > 3) && (pause < 1)) {
timestop = 0;
dropout = dropout - 1;
}
if (((((((blade == 4) && (key.IsDown(38))) && (key.IsDown(65))) && (PTIME > 30)) && (shadowset > 1000)) && (shadowmode < 1)) && (pause < 1)) {
this.shadowtiming.gotoAndStop(2);
shadowmode = 5;
PTIME = 0;
}
if (shadowmode > 0) {
my_color = new Color(_root.player);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_alpha = 50;
this.CORE._width = 0;
this.CORE._height = 0;
shadowexit = shadowexit + 2;
}
if ((shadowexit > 900) && (pause < 1)) {
shadowmode = 0;
PTIME = 0;
shadowset = 0;
shadowexit = 0;
this.shadowtiming.gotoAndStop(3);
}
if (shadowmode < 1) {
my_color = new Color(_root.player);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_alpha = 100;
this.CORE._width = 0;
this.CORE._height = 0;
shadowset = shadowset + 2;
}
if ((blade < 4) && (shadowmode > 0)) {
shadowmode = 0;
this.shadowtiming.gotoAndStop(3);
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (PTIME > 30)) && (shadowmode > 0)) && (pause < 1)) {
shadowmode = 0;
PTIME = 0;
this.shadowtiming.gotoAndStop(3);
}
if (shadowmode > 0) {
this.swordBox._width = 2000;
this.slashBox._width = 2000;
this.ripBox._width = 2000;
}
if (shadowmode < 1) {
this.swordBox._width = 240;
this.slashBox._width = 240;
this.ripBox._width = 240;
}
if ((key.IsDown(86) && (_root.submachine < 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(88) && (_root.submachine > 0)) && (gun == 4)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.lightning > 0)) && (blade == 1)) {
_root.swordswitch.gotoAndStop(2);
}
if ((key.IsDown(90) && (_root.hellfire > 0)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(3);
}
if ((key.IsDown(90) && (_root.devilsdemise > 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(4);
}
if ((key.IsDown(90) && (_root.hellfire < 1)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.devilsdemise < 2)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.devilsdemise > 0)) && (blade == 4)) {
_root.swordswitch.gotoAndStop(1);
}
if ((locate > 30) && (_root.locator._x > 100)) {
_root.locator._x = _root.locator._x - 10;
}
if (_root.locator._x < 101) {
_root.locator._x = _root.locator._x - 0.5;
_root.locator._alpha = _root.locator._alpha - 0.5;
}
if (locator < 30) {
_root.locator._alpha = 100;
}
if (_root.mission == 1) {
_root.locator.gotoandStop(2);
}
if (_root.mission == 2) {
_root.locator.gotoandStop(2);
}
if (_root.mission == 3) {
_root.locator.gotoandStop(2);
}
if (_root.mission == 4) {
_root.locator.gotoandStop(3);
}
if (_root.mission == 5) {
_root.locator.gotoandStop(4);
}
if ((gravity < 0) && (_y > 350)) {
this.gotoAndStop("plummet");
plundge = 2;
}
if (die == 1) {
this.dead.gotoAndStop(1);
}
if ((die == 2) && (_y > 300)) {
this.dead.gotoAndStop(2);
}
if ((die == 3) && (_y > 300)) {
this.dead.gotoAndStop(3);
}
if (_root.OAmission < 1) {
_root.OAmission = 1;
}
if ((timestart > 500) && (_root.ENEMY._y < 350)) {
_root.ENEMY.hangtime = 3;
_root.ENEMY.play();
}
if ((timestart > 500) && (_root.ENEMY2._y < 350)) {
_root.ENEMY2.hangtime = 3;
_root.ENEMY2.play();
}
if ((timestart > 500) && (_root.ENEMY3._y < 350)) {
_root.ENEMY3.hangtime = 3;
_root.ENEMY3.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY.hangtime = 3;
_root.ENEMY.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY2._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY2.hangtime = 3;
_root.ENEMY2.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY3._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY3.hangtime = 3;
_root.ENEMY3.play();
} else {
_rotation = 0;
}
locate = locate + 1;
GTIME = GTIME + 1;
PTIME = PTIME + 1;
DTIME = DTIME + 1;
}
Instance of Symbol 663 MovieClip "ENEMY" in Frame 4
onClipEvent (load) {
jump = 0;
hangtime = 0;
falling = 0;
damage = 0;
motion = 5;
Health = 0;
this.gotoAndStop("dead");
}
onClipEvent (enterFrame) {
if (falling > 60) {
falling = 60;
}
if ((_y > 353) && (falling > 0)) {
_y = 353;
falling = 0;
jump = 0;
hangtime = 0;
}
if (((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this._x = this._x + motion;
this.SWORD.gotoAndStop(1);
}
if (((_root.player._x < (_x - 70)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
this._xscale = -100;
this._x = this._x - motion;
this.SWORD.gotoAndStop(1);
}
if ((((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this.SWORD.gotoAndStop(2);
}
if (((((_xscale < 0) && (_root.player._x > (_x - 70))) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this.SWORD.gotoAndStop(2);
}
if (((((_xscale > 0) && (_root.player._x < (_x + 70))) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this.SWORD.gotoAndStop(2);
}
if (_xscale > 0) {
aim = -90;
} else if (_xscale < 0) {
aim = 90;
}
if (this.Core.hitTest(_root.player.GUNBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("shot");
damage = 7;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if (this.Core.hitTest(_root.player.GUNBOX2)) {
this.gotoAndPlay("shot");
damage = 7;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX)) {
this.gotoAndPlay("slash");
damage = 17;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 40;
_root.Combo.gotoAndPlay(2);
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (_root.player.DEVIL * 10);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX)) {
this.gotoAndPlay("slash");
damage = 20;
friction = 2;
jump = 28;
hangtime = 2;
falling = 0;
Health = Health - (50 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 80;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.STABBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("slash");
damage = 3;
friction = 1;
jump = 40;
hangtime = 2;
falling = 0;
Health = Health - (55 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 60;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if ((this.Core.hitTest(_root.player.GUNBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if (this.Core.hitTest(_root.player.GUNBOX2) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX) && (Health < 1)) {
this.gotoAndPlay("ripped");
Health = Health - (30 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 20;
_root.Combo.hits = _root.Combo.hits + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX) && (Health < 1)) {
this.gotoAndPlay("ripped");
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (50 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if ((this.Core.hitTest(_root.player.STABBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("death");
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (55 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(3);
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health > 0)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("slash");
damage = 27;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 50;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(2);
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("exploader");
damage = 27;
friction = 2;
jump = 7;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (50 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if (this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("exploader");
damage = 37;
friction = 2;
jump = 7;
hangtime = 2;
rebirth = 2;
autospawn = 0;
falling = 0;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
Health = Health - (1000 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
}
if (_xscale > 0) {
this._x = this._x - damage;
this.overkill._xscale = 100;
} else if (_xscale < 0) {
this._x = this._x + damage;
this.overkill._xscale = -100;
}
if (damage < 0) {
damage = 0;
friction = 0;
}
if (Health < -50) {
this.overkill.play();
}
if (this._x > 800) {
this._x = 800;
} else if (this._x < 0) {
this._x = 0;
}
if (autospawn > 60) {
this._y = -100;
}
if (autospawn > 120) {
Health = 700;
autospawn = 0;
rebirth = 0;
hangtime = 2;
this.gotoAndStop(1);
}
if (((autospawn > 60) && (_root.ENEMY2.Health < 1)) && (_root.ENEMY2.rebirth < 1)) {
_root.ENEMY2.rebirth = 2;
}
if ((this.core.hitTest(_root.ENEMY2.core) && (_root.ENEMY2._x > _x)) && (_root.player.target1 == 1)) {
_root.ENEMY2._x = _root.ENEMY2._x + 20;
} else if ((this.core.hitTest(_root.ENEMY2.core) && (_root.ENEMY2._x < _x)) && (_root.player.target1 == 1)) {
_root.ENEMY2._x = _root.ENEMY2._x - 20;
}
if (_root.player.timestop > 0) {
this.SWORD.strike.gotoAndStop(1);
this.SWORD.gotoAndStop(1);
}
if (this.Core.hitTest(_root.player.SWORDBOX && (_root.player.blade == 3))) {
flames = 80;
} else if (this.Core.hitTest(_root.player.RIPBOX) && (_root.player.blade == 3)) {
flames = 80;
}
if (Health > 0) {
this.fire._alpha = flames;
flames = flames - 1;
}
if (Health < 1) {
flames = 0;
}
if ((_root.player.DTIME > 20) && (_root.player.DTIME < 25)) {
hangtime = 1;
}
_y = (_y + falling);
_y = (_y - jump);
autospawn = autospawn + rebirth;
damage = damage - friction;
falling = falling + hangtime;
}
Instance of Symbol 663 MovieClip "ENEMY2" in Frame 4
onClipEvent (load) {
jump = 0;
hangtime = 0;
falling = 0;
damage = 0;
motion = 5;
Health = 0;
this.gotoAndStop("dead");
this.fire._alpha = 0;
}
onClipEvent (enterFrame) {
if (falling > 60) {
falling = 60;
}
if ((_y > 353) && (falling > 0)) {
_y = 353;
falling = 0;
jump = 0;
hangtime = 0;
}
if (((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this._x = this._x + motion;
this.SWORD.gotoAndStop(1);
}
if (((_root.player._x < (_x - 70)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
this._xscale = -100;
this._x = this._x - motion;
this.SWORD.gotoAndStop(1);
}
if ((((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this.SWORD.gotoAndStop(2);
}
if ((((_xscale < 0) && (_root.player._x > (_x - 70))) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) {
this.SWORD.gotoAndStop(2);
}
if ((((_xscale > 0) && (_root.player._x < (_x + 70))) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) {
this.SWORD.gotoAndStop(2);
}
if (_xscale > 0) {
aim = -90;
} else if (_xscale < 0) {
aim = 90;
}
if (this.Core.hitTest(_root.player.GUNBOX) && (_root.player.target1 == 2)) {
this.gotoAndPlay("shot");
damage = 7;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
}
if (this.Core.hitTest(_root.player.GUNBOX2)) {
this.gotoAndPlay("shot");
damage = 7;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX)) {
this.gotoAndPlay("slash");
damage = 17;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 40;
_root.Combo.gotoAndPlay(2);
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (_root.player.DEVIL * 10);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX)) {
this.gotoAndPlay("slash");
damage = 20;
friction = 2;
jump = 28;
hangtime = 2;
falling = 0;
Health = Health - (50 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 80;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if (this.Core.hitTest(_root.player.STABBOX) && (_root.player.target1 == 2)) {
this.gotoAndPlay("slash");
damage = 3;
friction = 1;
jump = 40;
hangtime = 2;
falling = 0;
Health = Health - (55 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 60;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if ((this.Core.hitTest(_root.player.GUNBOX) && (Health < 1)) && (_root.player.target1 == 2)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
}
if (this.Core.hitTest(_root.player.GUNBOX2) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX) && (Health < 1)) {
this.gotoAndPlay("ripped");
Health = Health - (30 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 20;
_root.Combo.hits = _root.Combo.hits + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX) && (Health < 1)) {
this.gotoAndPlay("ripped");
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (50 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if ((this.Core.hitTest(_root.player.STABBOX) && (Health < 1)) && (_root.player.target1 == 2)) {
this.gotoAndPlay("death");
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (55 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(3);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health > 0)) && (_root.player.target1 == 2)) {
this.gotoAndPlay("slash");
damage = 27;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 50;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health < 1)) && (_root.player.target1 == 2)) {
this.gotoAndPlay("exploader");
damage = 27;
friction = 2;
jump = 7;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (50 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if (this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target1 == 2)) {
this.gotoAndPlay("exploader");
damage = 37;
friction = 2;
jump = 7;
hangtime = 2;
rebirth = 2;
autospawn = 0;
falling = 0;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
Health = Health - (1000 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
}
if (_xscale > 0) {
this._x = this._x - damage;
this.overkill._xscale = 100;
} else if (_xscale < 0) {
this._x = this._x + damage;
this.overkill._xscale = -100;
}
if (damage < 0) {
damage = 0;
friction = 0;
}
if (Health < -50) {
this.overkill.play();
}
if (this._x > 800) {
this._x = 800;
} else if (this._x < 0) {
this._x = 0;
}
if (autospawn > 60) {
this._y = -100;
}
if (autospawn > 120) {
Health = 700;
autospawn = 0;
rebirth = 0;
hangtime = 2;
this.gotoAndStop(1);
}
if ((this.core.hitTest(_root.ENEMY.core) && (_root.ENEMY._x > _x)) && (_root.player.target1 == 2)) {
_root.ENEMY._x = _root.ENEMY._x + 20;
} else if ((this.core.hitTest(_root.ENEMY.core) && (_root.ENEMY._x < _x)) && (_root.player.target1 == 2)) {
_root.ENEMY._x = _root.ENEMY._x - 20;
}
if (_root.player.timestop > 0) {
this.SWORD.strike.gotoAndStop(1);
this.SWORD.gotoAndStop(1);
} else if (this.Core.hitTest(_root.player.SWORDBOX && (_root.player.blade == 3))) {
flames = 80;
} else if (this.Core.hitTest(_root.player.RIPBOX) && (_root.player.blade == 3)) {
flames = 80;
}
if (Health > 0) {
this.fire._alpha = flames;
flames = flames - 1;
}
if (Health < 1) {
flames = 0;
}
if ((_root.player.DTIME > 20) && (_root.player.DTIME < 25)) {
hangtime = 1;
}
_y = (_y + falling);
_y = (_y - jump);
autospawn = autospawn + rebirth;
damage = damage - friction;
falling = falling + hangtime;
}
Frame 5
if (_root.OAmission < 2) {
_root.OAmission = 2;
}
_quality = "High";
stop();
Stage.showMenu = false;
Instance of Symbol 986 MovieClip in Frame 5
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if (_root.killstats < _root.kills) {
_root.killstats = _root.killstats + 1;
}
if ((_root.killstats == _root.kills) && (_root.scorestats < _root.score)) {
_root.scorestats = _root.scorestats + 90;
}
if (((_root.killstats == _root.kills) && (_root.scorestats == _root.score)) && (_root.damagestats < _root.damage)) {
_root.damagestats = _root.damagestats + 5;
}
if (_root.killstats > _root.kills) {
_root.killstats = _root.kills;
}
if (_root.damagestats > _root.damage) {
_root.damagestats = _root.damage;
}
if (_root.scorestats > _root.score) {
_root.scorestats = _root.score;
}
if (key.IsDown(32)) {
_root.killstats = _root.kills;
}
if (key.IsDown(32) && (_root.killstats == _root.kills)) {
_root.scorestats = _root.score;
}
if ((key.IsDown(32) && (_root.killstats == _root.kills)) && (_root.scorestats == _root.score)) {
_root.damagestats = _root.damage;
}
if ((((_root.scorestats > 15000) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(6);
clearer = 1;
_root.rank1 = 5;
}
if (((((_root.scorestats > 14000) && (_root.scorestats < 15000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(5);
clearer = 1;
_root.rank1 = 4;
}
if (((((_root.scorestats > 13000) && (_root.scorestats < 14000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(4);
clearer = 1;
_root.rank1 = 3;
}
if (((((_root.scorestats > 10000) && (_root.scorestats < 13000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(3);
clearer = 1;
_root.rank1 = 2;
}
if ((((_root.scorestats < 10000) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(2);
clearer = 1;
_root.rank1 = 1;
}
if (_root.OAminutes < _root.minutes) {
_root.OAminutes = _root.minutes;
_root.OAseconds = _root.seconds;
}
_root.damage = _root.Healthfull - _root.Health;
_root.minutestats = _root.minutes;
_root.secondstats = _root.seconds;
}
Frame 6
_quality = "High";
stop();
Stage.showMenu = false;
Frame 7
_quality = "High";
stop();
Stage.showMenu = false;
Frame 8
if (_root.quality == 1) {
_quality = "Medium";
}
if (_root.quality == 2) {
_quality = "High";
}
if (_root.quality == 3) {
_quality = "Low";
}
stop();
Stage.showMenu = false;
Instance of Symbol 594 MovieClip "player" in Frame 8
onClipEvent (load) {
goal = 20;
MISSIONCLEAR = 0;
die = random(3);
_root.minutes = 0;
_root.seconds = 0;
_root.pause._visible = false;
_root.targeter._visible = false;
_root.mission = 2;
_root.score = 0;
_root.Health = (_root.level * 100) + 200;
_root.kills = 0;
gravity = 1;
skin = 2;
damage = 0;
clock = 0;
ticker = 1;
targeting = 0;
filler = 2;
gun = 1;
attack = 0;
friction = 0;
motion = 13;
hangtime = 1;
falling = 0;
jump = 0;
blade = 1;
hits = 0;
thrower = 1;
DEVIL = 0;
_root.DRIVE = 0;
time = 1;
powerup = 0;
_root.gauge.percent = 0;
down = 1;
quota = (2 * _root.kills) + 10;
target = 0;
target2 = 0;
comboset = 0;
combo = 0;
comboreset = 0;
}
onClipEvent (enterFrame) {
if (_root.level < 1) {
_root.level = 1;
_root.Health = 300;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 1)) {
this._xscale = -55;
this._x = this._x + (motion * 1.1);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 1;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 1)) {
this._xscale = 55;
this._x = this._x - (motion * 1.1);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 1;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 4)) {
this._xscale = -55;
this._x = this._x + (motion * 1.4);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 2.5;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 4)) {
this._xscale = 55;
this._x = this._x - (motion * 1.4);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 2.5;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 2)) {
this._xscale = -55;
this._x = this._x + (motion * 1.35);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 0.6;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 2)) {
this._xscale = 55;
this._x = this._x - (motion * 1.35);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 0.6;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 3)) {
this._xscale = -55;
this._x = this._x + (motion * 0.95);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 2;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 3)) {
this._xscale = 55;
this._x = this._x - (motion * 0.95);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 2;
}
if (falling > 60) {
falling = 60;
hangtime = 0;
}
if (_xscale > 0) {
this._x = this._x - attack;
} else if (_xscale < 0) {
this._x = this._x + attack;
}
if (((_y > 325) && (falling > 0)) && (gravity > 0)) {
this._y = 351;
falling = 0;
hangtime = 0;
jump = 0;
this.gotoAndStop(1);
}
if (((_y > 325) && (faller > 0.5)) && (gravity > 0)) {
this._y = 349.79;
faller = 0;
plundge = 0;
jump = 0;
} else if (((_y > 325) && (falling > 3)) && (gravity > 0)) {
this._y = 349.79;
falling = 0;
hangtime = 0;
this._x = this._x - attack;
}
if (attack < 0) {
attack = 0;
friction = 0;
}
if (((jump > 0) && (this._x < 10)) && (key.IsDown(37))) {
this.gotoAndPlay("wallride");
this._x = 11;
_xscale = -55;
}
if ((jump > 0) && (this._x == 11)) {
this._x = 11;
_xscale = -55;
}
if (((jump > 0) && (this._x > 790)) && (key.IsDown(39))) {
this.gotoAndPlay("wallride");
this._x = 789;
_xscale = 55;
}
if ((jump > 0) && (this._x == 789)) {
this._x = 789;
_xscale = 55;
}
if ((DEVIL > 0) && (blade == 1)) {
this.capel.gotoAndStop(2);
this.arml.gotoAndStop(2);
this.arm.gotoAndStop(2);
this.head.gotoAndStop(2);
this.cape.gotoAndStop(2);
this.body.gotoAndStop(2);
this.glow.gotoAndStop(2);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(2);
}
if ((DEVIL > 0) && (blade == 2)) {
this.capel.gotoAndStop(3);
this.arml.gotoAndStop(3);
this.arm.gotoAndStop(3);
this.head.gotoAndStop(3);
this.cape.gotoAndStop(3);
this.body.gotoAndStop(3);
this.glow.gotoAndStop(3);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(3);
}
if ((DEVIL > 0) && (blade == 3)) {
this.capel.gotoAndStop(4);
this.arml.gotoAndStop(4);
this.arm.gotoAndStop(4);
this.head.gotoAndStop(4);
this.cape.gotoAndStop(4);
this.body.gotoAndStop(4);
this.glow.gotoAndStop(4);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(4);
}
if ((DEVIL > 0) && (blade == 4)) {
this.capel.gotoAndStop(5);
this.arml.gotoAndStop(5);
this.arm.gotoAndStop(5);
this.head.gotoAndStop(5);
this.cape.gotoAndStop(5);
this.body.gotoAndStop(5);
this.glow.gotoAndStop(5);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(5);
} else if (DEVIL < 1) {
this.capel.gotoAndStop(1);
this.arml.gotoAndStop(1);
this.arm.gotoAndStop(1);
this.head.gotoAndStop(1);
this.cape.gotoAndStop(1);
this.body.gotoAndStop(1);
this.glow.gotoAndStop(1);
this.static.gotoAndStop(1);
this.power._visible = false;
}
if (this._x > 800) {
this._x = 800;
} else if (this._x < 0) {
this._x = 0;
}
if ((key.isDown(70) && (DEVIL < 1)) && (_root.gauge.percent > 25)) {
this.gotoAndPlay("devilmode");
} else if (key.isDown(70) && (DEVIL > 0)) {
this.gotoAndPlay("devilexit");
}
if ((powerup > 30) && (pause < 1)) {
_root.gauge.percent = _root.gauge.percent + 1;
powerup = 0;
}
if (_root.gauge.percent > 99) {
time = 0;
} else if (_root.gauge.percent < 99) {
time = 1;
}
if ((DEVIL > 0) && (pause < 1)) {
powerdown = powerdown + down;
}
if (powerdown > 9) {
_root.gauge.percent = _root.gauge.percent - 1;
_root.Health = _root.Health + 1;
powerdown = 0;
}
if ((DEVIL < 1) && (pause < 1)) {
powerup = powerup + time;
}
if (_root.gauge.meterX._xscale > _root.gauge.meter._xscale) {
_root.meterX._xscale = _root.meterX._xscale - 0.75;
} else if (_root.gauge.meterX._xscale < _root.gauge.meter._xscale) {
_root.meterX._xscale = _root.gauge.meter._xscale;
}
if ((_root.gauge.percent < 1) && (DEVIL > 0)) {
_root.meterX._xscale = _root.gauge.meter._xscale;
this.gotoAndPlay("devilexit");
DEVIL = 0;
_root.gauge.percent = 0;
}
if (_xscale > 0) {
this._x = this._x + damage;
} else if (_xscale < 0) {
this._x = this._x - damage;
}
if (damage < 0) {
damage = 0;
friction2 = 0;
}
if (_root.Health > _root.Healthfull) {
_root.Health = _root.Healthfull;
}
if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 35;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 35;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
falling = 0;
hangtime = 0;
_root.Health = _root.Health - 45;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 45;
}
if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x > _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 28;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 45;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x < _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 28;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 45;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
combo = 0;
damage = 33;
jump = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 55;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x < _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 33;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 55;
} else if (((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits > 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
friction2 = 1.5;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
_root.Health = _root.Health - 35;
} else if (((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits > 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 35;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits > 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 35;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits > 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 35;
}
if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
}
if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
}
if (_root.Health < 1) {
_root.Health = 0;
this.gotoAndStop("death");
_root.death = _root.death + 1;
motion = 0;
DEVIL = 0;
down = 0;
time = 0;
combo = 0;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 30;
faller = 5;
DIE = 5;
_root.gauge.percent = 0;
}
if (_root.kills > quota) {
this.quota = this.quota + (_root.kills * 2);
this.quota = this.quota + 5;
_root.levelup.play();
}
if (_root.ENEMY2.Health <= 0) {
target1 = 1;
} else if (_root.ENEMY.Health <= 0) {
target1 = 2;
} else if (((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY._x < _root.ENEMY2._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY._x > _root.ENEMY2._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _x)) && (_root.ENEMY._x < _x)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _x)) && (_root.ENEMY._x < _x)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _x)) && (_root.ENEMY._x > _x)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _x)) && (_root.ENEMY._x > _x)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
}
if (target1 == 1) {
_root.targeter._x = _root.ENEMY._x;
_root.targeter._y = _root.ENEMY._y - 46;
} else if (target1 == 2) {
_root.targeter._x = _root.ENEMY2._x;
_root.targeter._y = _root.ENEMY2._y - 46;
}
if (gun == 1) {
this.arml.gun.gotoAndStop(1);
this.arm.gun.gotoAndStop(1);
_root.pause.guns.gotoAndStop(1);
} else if (gun == 2) {
this.arml.gun.gotoAndStop(2);
this.arm.gun.gotoAndStop(2);
_root.pause.guns.gotoAndStop(2);
} else if (gun == 3) {
this.arml.gun.gotoAndStop(3);
this.arm.gun.gotoAndStop(3);
_root.pause.guns.gotoAndStop(3);
} else if (gun == 4) {
this.arml.gun.gotoAndStop(4);
this.arm.gun.gotoAndStop(4);
_root.pause.guns.gotoAndStop(4);
}
if ((key.IsDown(88) && (_root.shotgun > 0)) && (gun == 1)) {
_root.gunswitch.gotoAndStop(2);
} else if ((key.IsDown(88) && (_root.grenade > 0)) && (gun == 2)) {
_root.gunswitch.gotoAndStop(3);
} else if ((key.IsDown(88) && (_root.submachine > 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(4);
} else if ((key.IsDown(88) && (_root.grenade < 1)) && (gun == 2)) {
_root.gunswitch.gotoAndStop(1);
} else if ((key.IsDown(88) && (_root.submachine < 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(1);
} else if ((key.IsDown(88) && (_root.submachine > 0)) && (gun == 4)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.lightning > 0)) && (blade == 1)) {
_root.swordswitch.gotoAndStop(2);
} else if ((key.IsDown(90) && (_root.hellfire > 0)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(3);
} else if ((key.IsDown(90) && (_root.devilsdemise > 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(4);
} else if ((key.IsDown(90) && (_root.hellfire < 1)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(1);
} else if ((key.IsDown(90) && (_root.devilsdemise < 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(1);
} else if ((key.IsDown(90) && (_root.devilsdemise > 0)) && (blade == 4)) {
_root.swordswitch.gotoAndStop(1);
}
if (gun == 3) {
this.bazooka.gotoAndStop(1);
} else if (gun == 4) {
this.bazooka.gotoAndStop(2);
} else if (gun == 2) {
this.bazooka.gotoAndStop(3);
} else if (gun == 1) {
this.bazooka.gotoAndStop(4);
}
if (blade == 3) {
this.fire._visible = true;
this.bolt._visible = false;
_root.pause.swords.gotoAndStop(3);
this.sword.gotoAndStop(3);
this.hate._visible = false;
this.light.gotoAndStop(3);
} else if (blade == 2) {
_root.pause.swords.gotoAndStop(2);
this.bolt._visible = true;
this.fire._visible = false;
this.sword.gotoAndStop(2);
this.hate._visible = false;
this.light.gotoAndStop(2);
} else if (blade == 1) {
this.fire._visible = false;
_root.pause.swords.gotoAndStop(1);
this.bolt._visible = false;
this.hate._visible = false;
this.light.gotoAndStop(1);
this.sword.gotoAndStop(1);
} else if (blade == 4) {
this.light.gotoAndStop(4);
this.hate._visible = true;
_root.pause.swords.gotoAndStop(4);
this.fire._visible = false;
this.bolt._visible = false;
this.sword.gotoAndStop(4);
}
if (DEVIL > 0) {
this.cape._visible = true;
this.capel._visible = true;
this.arm.gun.machine.gotoAndStop(2);
}
if (DEVIL < 1) {
this.arm.gun.machine.gotoAndStop(1);
}
if (((targeting < 1) && (key.IsDown(32))) && (timing > 25)) {
_root.targeter._visible = true;
targeting = 1;
timing = 0;
filler = 1;
} else if (((targeting > 0) && (key.IsDown(32))) && (timing > 25)) {
targeting = 0;
timing = 0;
filler = 1;
_root.targeter._visible = false;
}
if (((key.IsDown(67) && (pause < 1)) && (timing > 25)) && (DIE < 1)) {
pause = 5;
timing = 0;
filler = 1;
_root.pause._visible = true;
} else if ((key.IsDown(67) && (pause > 0)) && (timing > 25)) {
pause = 0;
hangtime = 3;
_root.ENEMY2.hangtime = 3;
_root.ENEMY.hangtime = 3;
play();
_root.pause._visible = false;
_root.pause.gotoAndStop(1);
timing = 0;
filler = 1;
}
if ((pause > 0) && (_y > 270)) {
this.gotoAndStop("pauseground");
hangtime = 0;
jump = 0;
plundge = 0;
falling = 0;
faller = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if ((pause > 0) && (_y < 270)) {
this.gotoAndStop("pauseair");
hangtime = 0;
jump = 0;
plundge = 0;
falling = 0;
faller = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if (comboreset > 120) {
combo = 0;
comboset = 0;
combo = combo - 2;
}
if (combo < 1) {
_root.style.gotoAndStop(1);
combo = 0;
comboreset = 0;
} else if ((combo > 1) && (combo < 50)) {
_root.style.gotoAndStop(2);
_root.score = _root.score + 1;
} else if ((combo > 50) && (combo < 110)) {
_root.style.gotoAndStop(3);
_root.score = _root.score + 1;
} else if ((combo > 110) && (combo < 160)) {
_root.style.gotoAndStop(4);
_root.score = _root.score + 1;
} else if ((combo > 160) && (combo < 210)) {
_root.style.gotoAndStop(5);
_root.score = _root.score + 2;
} else if ((combo > 210) && (combo < 280)) {
_root.style.gotoAndStop(6);
_root.score = _root.score + 2;
} else if (combo > 280) {
_root.style.gotoAndStop(7);
_root.score = _root.score + 3;
}
if (_root.Health > 0) {
DIE = 0;
}
if (DIE > 0) {
_root.gameover.play();
hangtime = 0;
_root.pause._visible = false;
jump = 0;
falling = 0;
attack = 0;
damage = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if ((skin < 2) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 2) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(2);
this.arm.skin.gotoAndStop(2);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(2);
this.dead.death.arm.skin.gotoAndStop(2);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 3) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(4);
this.arm.skin.gotoAndStop(4);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(4);
this.dead.death.arm.skin.gotoAndStop(4);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 4) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(2);
this.arm.skin.gotoAndStop(2);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(2);
this.dead.death.arm.skin.gotoAndStop(2);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 5) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 6) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 7) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(3);
this.arml.skin.gotoAndStop(3);
this.arm.skin.gotoAndStop(3);
this.cape._visible = true;
this.capel._visible = true;
this.cape.skin.gotoAndStop(2);
this.capel.skin.gotoAndStop(2);
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(3);
this.dead.death.arml.skin.gotoAndStop(3);
this.dead.death.arm.skin.gotoAndStop(3);
this.dead.death.cape._visible = true;
this.dead.death.cape.skin.gotoAndStop(2);
this.dead.death.capel.skin.gotoAndStop(2);
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 8) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(4);
this.arml.skin.gotoAndStop(4);
this.arm.skin.gotoAndStop(4);
this.cape._visible = true;
this.capel._visible = true;
this.cape.skin.gotoAndStop(3);
this.capel.skin.gotoAndStop(3);
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(4);
this.dead.death.arml.skin.gotoAndStop(4);
this.dead.death.arm.skin.gotoAndStop(4);
this.dead.death.cape._visible = true;
this.dead.death.cape.skin.gotoAndStop(3);
this.dead.death.capel.skin.gotoAndStop(3);
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
}
if ((skin < 7) && (DEVIL < 1)) {
this.capel.skin.gotoAndStop(1);
this.head.skin.gotoAndStop(1);
this.dead.death.cape.skin.gotoAndStop(1);
this.dead.death.capel.skin.gotoAndStop(1);
}
if (clock > 27) {
_root.seconds = _root.seconds + 1;
clock = 0;
}
if (_root.seconds > 60) {
_root.Minutes = _root.Minutes + 1;
_root.seconds = 0;
}
if (_root.mission == 2) {
_root.pause.mission.gotoAndStop(2);
}
if (_root.kills > (random(10) + 20)) {
_root.exit.play();
hangtime = 0;
_root.pause._visible = false;
this.stop();
jump = 0;
falling = 0;
attack = 0;
damage = 0;
_root.ENEMY2.motion = 0;
_root.ENEMY.motion = 0;
motion = 0;
this.power._visible = false;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.SWORD.strike.gotoAndStop(1);
_root.ENEMY.SWORD.strike.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
DEVIL = 0;
}
if (((key.IsDown(81) && (_root.Speedheart > 0)) && (Heart == 1)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(2);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart > 0)) && (Heart == 2)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(3);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart > 0)) && (Heart == 3)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(1);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart < 1)) && (Heart == 2)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(1);
heartchange = 0;
}
if ((((Heart == 2) && (DEVIL > 0)) && (healing > 9)) && (pause < 1)) {
_root.Health = _root.Health + 3;
_root.gauge.percent = _root.gauge.percent - 1;
healing = 0;
}
if ((((Heart == 3) && (DEVIL > 0)) && (healing > 17)) && (pause < 1)) {
_root.gauge.percent = _root.gauge.percent + 1;
_root.Health = _root.Health - 5;
healing = 0;
}
if (Heart == 1) {
_root.gauge.meter.gotoAndStop(1);
}
if (Heart == 2) {
_root.gauge.meter.gotoAndStop(2);
}
if (Heart == 3) {
_root.gauge.meter.gotoAndStop(3);
}
if (clock > 27) {
_root.OAseconds = _root.OAseconds + 1;
clock = 0;
}
if (_root.OAseconds > 60) {
_root.OAMinutes = _root.OAMinutes + 1;
_root.OAseconds = 0;
}
if (_root.kills > goal) {
MISSIONCLEAR = 20;
}
if (_root.rumble > 0) {
_root.pause.rumble.gotoAndStop(3);
} else if (_root.rumble < 1) {
_root.pause.rumble.gotoAndStop(2);
}
if ((this.core.hitTest(_root.ENEMY3.dead) && (_x < _root.ENEMY3._x)) && (shadowmode < 1)) {
damage = 35;
friction2 = 1;
this.gotoAndPlay("down");
_xscale = 55;
Health = Health - 50;
friction2 = 1;
hangtime = 0;
falling = 0;
plundge = 20;
}
if ((this.core.hitTest(_root.ENEMY3.dead) && (_x > _root.ENEMY3._x)) && (shadowmode < 1)) {
damage = 35;
friction2 = 1;
Health = Health - 50;
friction2 = 1;
hangtime = 0;
falling = 0;
plundge = 20;
this.gotoAndPlay("down");
_xscale = -55;
}
if (((((this._xscale > 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x > _root.ENEMY2._x)) && (_root.ENEMY3._y >= _root.ENEMY2._y)) {
target2 = 1;
target1 = 0;
}
if (((((this._xscale > 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x < _root.ENEMY2._x)) && (_root.ENEMY3._y >= _root.ENEMY2._y)) {
target2 = 0;
target1 = 2;
}
if (((((this._xscale < 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x > _root.ENEMY2._x)) && (_root.ENEMY3._y >= _root.ENEMY2._y)) {
target2 = 0;
target1 = 2;
}
if (((((this._xscale < 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x < _root.ENEMY2._x)) && (_root.ENEMY3._y >= _root.ENEMY2._y)) {
target2 = 1;
target1 = 0;
}
if (_root.ENEMY2.Health < 1) {
target2 = 1;
}
if (_y < -30) {
hangtime = 2;
this.gotoAndStop("plummet");
}
if (gravity == 1) {
_root.Combo.hitter = _root.Combo.hits;
_yscale = 55;
this._y = this._y + (falling * gravity);
_root.Healthfull = (_root.level * 100) + 200;
this._y = this._y - (jump * gravity);
fill = fill + 1;
heartchange = heartchange + 1;
this.shoot.gotoAndStop(random(5));
falling = falling + (hangtime * gravity);
attack = attack - friction;
clock = clock + ticker;
damage = damage - friction2;
fillerup = fillerup + 1;
faller = faller + (plundge * gravity);
_root.combo.hits = combo;
comboreset = comboreset + comboset;
this._y = this._y + (faller * gravity);
healing = healing + 1;
speder = speder + 1;
timing = timing + filler;
this._y = this._y - (wallrun * gravity);
_root.gauge.meter._xscale = _root.gauge.percent;
}
if (gravity == -1) {
_yscale = -55;
_root.Combo.hitter = _root.Combo.hits;
this._y = this._y - falling;
_root.Healthfull = (_root.level * 100) + 200;
this._y = this._y + jump;
fill = fill + 1;
heartchange = heartchange + 1;
this.shoot.gotoAndStop(random(5));
falling = falling + hangtime;
attack = attack - friction;
clock = clock + ticker;
damage = damage - friction2;
fillerup = fillerup + 1;
faller = faller + plundge;
_root.combo.hits = combo;
comboreset = comboreset + comboset;
this._y = this._y - faller;
healing = healing + 1;
speder = speder + 1;
timing = timing + filler;
this._y = this._y + wallrun;
_root.gauge.meter._xscale = _root.gauge.percent;
}
if (((_y < 70) && (falling > 0)) && (gravity < 0)) {
this._y = 70;
falling = 0;
hangtime = 0;
jump = 0;
this.gotoAndStop(1);
} else if (((_y < 70) && (faller > 0)) && (gravity < 0)) {
this._y = 70;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 0;
faller = 0;
}
if ((((gravity == -1) && (blade == 2)) && (refill < 1)) && (pause < 1)) {
timevertex = timevertex + 2;
}
if ((((gravity == -1) && (blade == 2)) && (timevertex > 400)) && (refill < 1)) {
gravity = 1;
hangtime = 2;
refill = 5;
this.gotoAndStop("fall");
timevertex = 400;
}
if ((refill > 0) && (pause < 1)) {
timevertex = timevertex - 1;
}
if (gravity > 0) {
timevertex = timevertex - 1;
}
if (timevertex < 3) {
refill = 0;
}
if (((blade < 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if (((blade > 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if (((blade == 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if ((((blade < 2) && (_root.mission > 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade > 2) && (_root.mission > 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade < 2) && (_root.mission < 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade > 2) && (_root.mission < 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == 1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission < 7)) && (pause < 1)) {
gravity = -1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == -1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission < 7)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == 1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission > 7)) && (pause < 1)) {
gravity = -1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == -1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission > 7)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if ((this._y == 70) && (gravity == -1)) {
this.Staticform2._visible = true;
} else if ((this._y > 60) && (gravity == -1)) {
this.Staticform2._visible = false;
} else if (gravity == 1) {
this.Staticform2._visible = false;
}
if ((_y > 480) && (gravity < 0)) {
this.gotoAndStop("plummet");
}
if (timestop > 0) {
my_color = new Color(_root.ENEMY);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.ENEMY2);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.ENEMY3);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.BG);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.travel);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
}
if (timestop < 1) {
my_color = new Color(_root.ENEMY);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.ENEMY2);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.ENEMY3);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.BG);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.travel);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
}
if ((timestop > 0) && (pause < 1)) {
timestart = timestart + 1;
refiller = 0;
}
if ((timestop < 1) && (pause < 1)) {
refiller = refiller + 1;
}
if ((timestart > 500) && (pause < 1)) {
this.timetrigger.gotoAndStop(3);
timestop = 0;
enable = 1;
refiller = 0;
timestart = 0;
}
if (refiller > 300) {
enable = 0;
}
if ((((((blade == 3) && (key.IsDown(38))) && (key.IsDown(65))) && (DTIME > 30)) && (timestop < 1)) && (enable < 1)) {
timestop = 2;
DTIME = 0;
this.timetrigger.gotoAndStop(2);
}
if (((((blade == 3) && (key.IsDown(38))) && (key.IsDown(65))) && (DTIME > 30)) && (timestop > 1)) {
timestop = 0;
DTIME = 0;
this.timetrigger.gotoAndStop(3);
}
if ((blade < 3) && (pause < 1)) {
timestop = 0;
dropout = dropout - 1;
}
if ((blade > 3) && (pause < 1)) {
timestop = 0;
dropout = dropout - 1;
}
if (((((((blade == 4) && (key.IsDown(38))) && (key.IsDown(65))) && (PTIME > 30)) && (shadowset > 1000)) && (shadowmode < 1)) && (pause < 1)) {
this.shadowtiming.gotoAndStop(2);
shadowmode = 5;
PTIME = 0;
}
if (shadowmode > 0) {
my_color = new Color(_root.player);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_alpha = 50;
this.CORE._width = 0;
this.CORE._height = 0;
shadowexit = shadowexit + 2;
}
if ((shadowexit > 900) && (pause < 1)) {
shadowmode = 0;
PTIME = 0;
shadowset = 0;
shadowexit = 0;
this.shadowtiming.gotoAndStop(3);
}
if (shadowmode < 1) {
my_color = new Color(_root.player);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_alpha = 100;
this.CORE._width = 0;
this.CORE._height = 0;
shadowset = shadowset + 2;
}
if ((blade < 4) && (shadowmode > 0)) {
shadowmode = 0;
this.shadowtiming.gotoAndStop(3);
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (PTIME > 30)) && (shadowmode > 0)) && (pause < 1)) {
shadowmode = 0;
PTIME = 0;
this.shadowtiming.gotoAndStop(3);
}
if (shadowmode > 0) {
this.swordBox._width = 2000;
this.slashBox._width = 2000;
this.ripBox._width = 2000;
}
if (shadowmode < 1) {
this.swordBox._width = 240;
this.slashBox._width = 240;
this.ripBox._width = 240;
}
if ((key.IsDown(86) && (_root.submachine < 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(88) && (_root.submachine > 0)) && (gun == 4)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.lightning > 0)) && (blade == 1)) {
_root.swordswitch.gotoAndStop(2);
}
if ((key.IsDown(90) && (_root.hellfire > 0)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(3);
}
if ((key.IsDown(90) && (_root.devilsdemise > 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(4);
}
if ((key.IsDown(90) && (_root.hellfire < 1)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.devilsdemise < 2)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.devilsdemise > 0)) && (blade == 4)) {
_root.swordswitch.gotoAndStop(1);
}
if ((locate > 30) && (_root.locator._x > 100)) {
_root.locator._x = _root.locator._x - 30;
}
if (_root.locator._x < 101) {
_root.locator._x = _root.locator._x - 0.5;
}
if (_root.locator._x < 30) {
_root.locator._visible = eval (false)();
}
if (_root.mission == 1) {
_root.locator.gotoandStop(2);
}
if (_root.mission == 2) {
_root.locator.gotoandStop(2);
}
if (_root.mission == 3) {
_root.locator.gotoandStop(2);
}
if (_root.mission == 4) {
_root.locator.gotoandStop(3);
}
if (_root.mission == 5) {
_root.locator.gotoandStop(4);
}
if ((gravity < 0) && (_y > 350)) {
this.gotoAndStop("plummet");
plundge = 2;
}
if (die == 1) {
this.dead.gotoAndStop(1);
}
if ((die == 2) && (_y > 300)) {
this.dead.gotoAndStop(2);
}
if ((die == 3) && (_y > 300)) {
this.dead.gotoAndStop(3);
}
if (_root.OAmission < 2) {
_root.OAmission = 2;
}
if ((timestart > 500) && (_root.ENEMY._y < 350)) {
_root.ENEMY.hangtime = 3;
_root.ENEMY.play();
}
if ((timestart > 500) && (_root.ENEMY2._y < 350)) {
_root.ENEMY2.hangtime = 3;
_root.ENEMY2.play();
}
if ((timestart > 500) && (_root.ENEMY3._y < 350)) {
_root.ENEMY3.hangtime = 3;
_root.ENEMY3.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY.hangtime = 3;
_root.ENEMY.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY2._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY2.hangtime = 3;
_root.ENEMY2.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY3._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY3.hangtime = 3;
_root.ENEMY3.play();
} else {
_rotation = 0;
}
locate = locate + 1;
GTIME = GTIME + 1;
PTIME = PTIME + 1;
DTIME = DTIME + 1;
}
Instance of Symbol 1119 MovieClip "ENEMY2" in Frame 8
onClipEvent (load) {
jump = 0;
hangtime = 0;
falling = 0;
damage = 0;
motion = 5;
Health = 0;
this.gotoAndStop("dead");
this.fire._alpha = 0;
}
onClipEvent (enterFrame) {
if ((falling > 60) && (_root.player.MISSIONCLEAR < 1)) {
falling = 60;
}
if (((_y > 353) && (falling > 0)) && (_root.player.MISSIONCLEAR < 1)) {
_y = 353;
falling = 0;
jump = 0;
hangtime = 0;
}
if ((((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this._x = this._x + motion;
this.SWORD.gotoAndStop(1);
}
if ((((_root.player._x < (_x - 70)) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this._xscale = -100;
this._x = this._x - motion;
this.SWORD.gotoAndStop(1);
}
if ((((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this.SWORD.gotoAndStop(2);
}
if (((((_xscale < 0) && (_root.player._x > (_x - 70))) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this.SWORD.gotoAndStop(2);
}
if (((((_xscale > 0) && (_root.player._x < (_x + 70))) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this.SWORD.gotoAndStop(2);
}
if (_xscale > 0) {
aim = -90;
} else if (_xscale < 0) {
aim = 90;
}
if (this.Core.hitTest(_root.player.GUNBOX) && (_root.player.target1 == 2)) {
this.gotoAndPlay("shot");
damage = 7;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
block = block + 1;
}
if (this.Core.hitTest(_root.player.GUNBOX2)) {
this.gotoAndPlay("shot");
damage = 7;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
block = block + 1;
} else if (this.Core.hitTest(_root.player.SWORDBOX)) {
this.gotoAndPlay("slash");
damage = 17;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 40;
_root.Combo.gotoAndPlay(2);
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (_root.player.DEVIL * 10);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
block = block + 1;
} else if (this.Core.hitTest(_root.player.RIPBOX)) {
this.gotoAndPlay("slash");
damage = 20;
friction = 2;
jump = 28;
hangtime = 2;
falling = 0;
Health = Health - (50 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 80;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
block = block + 1;
} else if (this.Core.hitTest(_root.player.STABBOX) && (_root.player.target1 == 2)) {
this.gotoAndPlay("slash");
damage = 3;
friction = 1;
jump = 40;
hangtime = 2;
falling = 0;
Health = Health - (55 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 60;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
block = block + 1;
}
if ((this.Core.hitTest(_root.player.GUNBOX) && (Health < 1)) && (_root.player.target1 == 2)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
block = block + 1;
}
if (this.Core.hitTest(_root.player.GUNBOX2) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
block = block + 1;
} else if (this.Core.hitTest(_root.player.SWORDBOX) && (Health < 1)) {
this.gotoAndPlay("ripped");
Health = Health - (30 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 20;
_root.Combo.hits = _root.Combo.hits + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
block = block + 1;
} else if (this.Core.hitTest(_root.player.RIPBOX) && (Health < 1)) {
this.gotoAndPlay("ripped");
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (50 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
block = block + 1;
} else if ((this.Core.hitTest(_root.player.STABBOX) && (Health < 1)) && (_root.player.target1 == 2)) {
this.gotoAndPlay("death");
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (55 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(3);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
block = block + 1;
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health > 0)) && (_root.player.target1 == 2)) {
this.gotoAndPlay("slash");
damage = 27;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 50;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
block = block + 1;
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health < 1)) && (_root.player.target1 == 2)) {
this.gotoAndPlay("exploader");
damage = 27;
friction = 2;
jump = 7;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (50 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
block = block + 1;
} else if (this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target1 == 2)) {
this.gotoAndPlay("exploader");
damage = 37;
friction = 2;
jump = 7;
hangtime = 2;
rebirth = 2;
autospawn = 0;
falling = 0;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
Health = Health - (1000 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
}
if (_xscale > 0) {
this._x = this._x - damage;
this.overkill._xscale = 100;
} else if (_xscale < 0) {
this._x = this._x + damage;
this.overkill._xscale = -100;
}
if (damage < 0) {
damage = 0;
friction = 0;
}
if (Health < -50) {
this.overkill.play();
}
if (this._x > 800) {
this._x = 800;
} else if (this._x < 0) {
this._x = 0;
}
if (autospawn > 60) {
this._y = -100;
}
if (autospawn > 120) {
Health = 1000;
autospawn = 0;
rebirth = 0;
hangtime = 2;
block = block + 1;
this.gotoAndStop(1);
}
if ((this.core.hitTest(_root.ENEMY.core) && (_root.ENEMY._x > _x)) && (_root.player.target1 == 2)) {
_root.ENEMY._x = _root.ENEMY._x + 20;
} else if ((this.core.hitTest(_root.ENEMY.core) && (_root.ENEMY._x < _x)) && (_root.player.target1 == 2)) {
_root.ENEMY._x = _root.ENEMY._x - 20;
}
if (_root.player.timestop > 0) {
this.SWORD.strike.gotoAndStop(1);
this.SWORD.gotoAndStop(1);
}
if (this.Core.hitTest(_root.player.SWORDBOX && (_root.player.blade == 3))) {
flames = 80;
} else if (this.Core.hitTest(_root.player.RIPBOX) && (_root.player.blade == 3)) {
flames = 80;
}
if (Health > 0) {
this.fire._alpha = flames;
flames = flames - 1;
}
if (Health < 1) {
flames = 0;
}
if ((_root.player.DTIME > 20) && (_root.player.DTIME < 25)) {
hangtime = 1;
}
_y = (_y + falling);
_y = (_y - jump);
autospawn = autospawn + rebirth;
damage = damage - friction;
falling = falling + hangtime;
}
Instance of Symbol 663 MovieClip "ENEMY" in Frame 8
onClipEvent (load) {
jump = 0;
hangtime = 3;
falling = 0;
damage = 0;
motion = 5;
Health = 1000;
this.fire._alpha = 0;
}
onClipEvent (enterFrame) {
if (falling > 60) {
falling = 60;
}
if ((_y > 353) && (falling > 0)) {
_y = 353;
falling = 0;
jump = 0;
hangtime = 0;
}
if (((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this._x = this._x + motion;
this.SWORD.gotoAndStop(1);
}
if (((_root.player._x < (_x - 70)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
this._xscale = -100;
this._x = this._x - motion;
this.SWORD.gotoAndStop(1);
}
if (((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this.SWORD.gotoAndStop(2);
}
if ((((_xscale < 0) && (_root.player._x > (_x - 70))) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
this.SWORD.gotoAndStop(2);
}
if ((((_xscale > 0) && (_root.player._x < (_x + 70))) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
this.SWORD.gotoAndStop(2);
}
if (_xscale > 0) {
aim = -90;
} else if (_xscale < 0) {
aim = 90;
}
if (this.Core.hitTest(_root.player.GUNBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("shot");
damage = 7;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if (this.Core.hitTest(_root.player.GUNBOX2)) {
this.gotoAndPlay("shot");
damage = 7;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX)) {
this.gotoAndPlay("slash");
damage = 17;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 40;
_root.Combo.gotoAndPlay(2);
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (_root.player.DEVIL * 10);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX)) {
this.gotoAndPlay("slash");
damage = 20;
friction = 2;
jump = 28;
hangtime = 2;
falling = 0;
Health = Health - (50 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 80;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.STABBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("slash");
damage = 3;
friction = 1;
jump = 40;
hangtime = 2;
falling = 0;
Health = Health - (55 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 60;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if ((this.Core.hitTest(_root.player.GUNBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if (this.Core.hitTest(_root.player.GUNBOX2) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX) && (Health < 1)) {
this.gotoAndPlay("ripped");
Health = Health - (30 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.Score = _root.Score + 20;
_root.Combo.hits = _root.Combo.hits + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX) && (Health < 1)) {
this.gotoAndPlay("ripped");
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (50 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if ((this.Core.hitTest(_root.player.STABBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("death");
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (55 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.Score = _root.Score + 100;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(3);
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health > 0)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("slash");
damage = 27;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 50;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(2);
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("exploader");
damage = 27;
friction = 2;
jump = 7;
_root.kills = _root.kills + 1;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (50 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if (this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("exploader");
damage = 37;
friction = 2;
jump = 7;
hangtime = 2;
rebirth = 2;
autospawn = 0;
falling = 0;
_root.kills = _root.kills + 1;
Health = Health - (1000 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
}
if (_xscale > 0) {
this._x = this._x - damage;
this.overkill._xscale = 100;
} else if (_xscale < 0) {
this._x = this._x + damage;
this.overkill._xscale = -100;
}
if (damage < 0) {
damage = 0;
friction = 0;
}
if (Health < -50) {
this.overkill.play();
}
if (this._x > 800) {
this._x = 800;
} else if (this._x < 0) {
this._x = 0;
}
if (autospawn > 60) {
this._y = -100;
}
if (autospawn > 120) {
Health = 700;
autospawn = 0;
rebirth = 0;
hangtime = 2;
this.gotoAndStop(1);
}
if (((autospawn > 60) && (_root.ENEMY2.Health < 1)) && (_root.ENEMY2.rebirth < 1)) {
_root.ENEMY2.rebirth = 2;
}
if ((this.core.hitTest(_root.ENEMY2.core) && (_root.ENEMY2._x > _x)) && (_root.player.target1 == 1)) {
_root.ENEMY2._x = _root.ENEMY2._x + 20;
} else if ((this.core.hitTest(_root.ENEMY2.core) && (_root.ENEMY2._x < _x)) && (_root.player.target1 == 1)) {
_root.ENEMY2._x = _root.ENEMY2._x - 20;
}
if (_root.player.timestop > 0) {
this.SWORD.strike.gotoAndStop(1);
this.SWORD.gotoAndStop(1);
}
if (this.Core.hitTest(_root.player.SWORDBOX && (_root.player.blade == 3))) {
flames = 80;
} else if (this.Core.hitTest(_root.player.RIPBOX) && (_root.player.blade == 3)) {
flames = 80;
}
if (Health > 0) {
this.fire._alpha = flames;
flames = flames - 1;
}
if (Health < 1) {
flames = 0;
}
if ((_root.player.DTIME > 20) && (_root.player.DTIME < 25)) {
hangtime = 1;
}
_y = (_y + falling);
_y = (_y - jump);
autospawn = autospawn + rebirth;
damage = damage - friction;
falling = falling + hangtime;
}
Frame 9
if (_root.OAmission < 3) {
_root.OAmission = 3;
}
_quality = "High";
stop();
Stage.showMenu = false;
Instance of Symbol 986 MovieClip in Frame 9
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if (_root.killstats < _root.kills) {
_root.killstats = _root.killstats + 1;
}
if ((_root.killstats == _root.kills) && (_root.scorestats < _root.score)) {
_root.scorestats = _root.scorestats + 90;
}
if (((_root.killstats == _root.kills) && (_root.scorestats == _root.score)) && (_root.damagestats < _root.damage)) {
_root.damagestats = _root.damagestats + 5;
}
if (_root.killstats > _root.kills) {
_root.killstats = _root.kills;
}
if (_root.damagestats > _root.damage) {
_root.damagestats = _root.damage;
}
if (_root.scorestats > _root.score) {
_root.scorestats = _root.score;
}
if (key.IsDown(32)) {
_root.killstats = _root.kills;
}
if (key.IsDown(32) && (_root.killstats == _root.kills)) {
_root.scorestats = _root.score;
}
if ((key.IsDown(32) && (_root.killstats == _root.kills)) && (_root.scorestats == _root.score)) {
_root.damagestats = _root.damage;
}
if ((((_root.scorestats > 32000) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(6);
clearer = 1;
_root.rank2 = 5;
}
if (((((_root.scorestats > 30000) && (_root.scorestats < 32000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(5);
clearer = 1;
_root.rank2 = 4;
}
if (((((_root.scorestats > 27000) && (_root.scorestats < 30000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(4);
clearer = 1;
_root.rank2 = 3;
}
if (((((_root.scorestats > 16000) && (_root.scorestats < 27000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(3);
clearer = 1;
_root.rank2 = 2;
}
if ((((_root.scorestats < 16000) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(2);
clearer = 1;
_root.rank2 = 1;
}
if (_root.OAminutes < _root.minutes) {
_root.OAminutes = _root.minutes;
_root.OAseconds = _root.seconds;
}
_root.damage = _root.Healthfull - _root.Health;
_root.minutestats = _root.minutes;
_root.secondstats = _root.seconds;
}
Frame 10
_quality = "High";
stop();
Stage.showMenu = false;
Frame 11
_quality = "High";
stop();
Stage.showMenu = false;
Frame 12
if (_root.quality == 1) {
_quality = "Medium";
}
if (_root.quality == 2) {
_quality = "High";
}
if (_root.quality == 3) {
_quality = "Low";
}
stop();
Stage.showMenu = false;
Instance of Symbol 594 MovieClip "player" in Frame 12
onClipEvent (load) {
goal = 1;
MISSIONCLEAR = 0;
die = random(3);
_root.shotgun = _root.shotgun + 5;
_root.minutes = 0;
_root.seconds = 0;
_root.pause._visible = false;
_root.targeter._visible = false;
_root.mission = 3;
_root.score = 0;
_root.Health = (_root.level * 100) + 200;
_root.kills = 0;
gravity = 1;
skin = 2;
newgun = 0;
damage = 0;
clock = 0;
ticker = 1;
targeting = 0;
filler = 2;
gun = 1;
attack = 0;
friction = 0;
motion = 13;
hangtime = 1;
falling = 0;
jump = 0;
blade = 1;
hits = 0;
thrower = 1;
DEVIL = 0;
_root.DRIVE = 0;
time = 1;
powerup = 0;
_root.gauge.percent = 0;
down = 1;
quota = (2 * _root.kills) + 10;
target = 0;
target2 = 0;
comboset = 0;
combo = 0;
comboreset = 0;
}
onClipEvent (enterFrame) {
if (_root.level < 1) {
_root.level = 1;
_root.Health = 300;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 1)) {
this._xscale = -55;
this._x = this._x + (motion * 1.1);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 1;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 1)) {
this._xscale = 55;
this._x = this._x - (motion * 1.1);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 1;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 4)) {
this._xscale = -55;
this._x = this._x + (motion * 1.4);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 2.5;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 4)) {
this._xscale = 55;
this._x = this._x - (motion * 1.4);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 2.5;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 2)) {
this._xscale = -55;
this._x = this._x + (motion * 1.35);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 0.6;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 2)) {
this._xscale = 55;
this._x = this._x - (motion * 1.35);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 0.6;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 3)) {
this._xscale = -55;
this._x = this._x + (motion * 0.95);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 2;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 3)) {
this._xscale = 55;
this._x = this._x - (motion * 0.95);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 2;
}
if (falling > 60) {
falling = 60;
hangtime = 0;
}
if (_xscale > 0) {
this._x = this._x - attack;
} else if (_xscale < 0) {
this._x = this._x + attack;
}
if (((_y > 325) && (falling > 0)) && (gravity > 0)) {
this._y = 351;
falling = 0;
hangtime = 0;
jump = 0;
this.gotoAndStop(1);
}
if (((_y > 325) && (faller > 0.5)) && (gravity > 0)) {
this._y = 349.79;
faller = 0;
plundge = 0;
jump = 0;
} else if (((_y > 325) && (falling > 3)) && (gravity > 0)) {
this._y = 349.79;
falling = 0;
hangtime = 0;
this._x = this._x - attack;
}
if (attack < 0) {
attack = 0;
friction = 0;
}
if (((jump > 0) && (this._x < 10)) && (key.IsDown(37))) {
this.gotoAndPlay("wallride");
this._x = 11;
_xscale = -55;
}
if ((jump > 0) && (this._x == 11)) {
this._x = 11;
_xscale = -55;
}
if (((jump > 0) && (this._x > 790)) && (key.IsDown(39))) {
this.gotoAndPlay("wallride");
this._x = 789;
_xscale = 55;
}
if ((jump > 0) && (this._x == 789)) {
this._x = 789;
_xscale = 55;
}
if ((DEVIL > 0) && (blade == 1)) {
this.capel.gotoAndStop(2);
this.arml.gotoAndStop(2);
this.arm.gotoAndStop(2);
this.head.gotoAndStop(2);
this.cape.gotoAndStop(2);
this.body.gotoAndStop(2);
this.glow.gotoAndStop(2);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(2);
}
if ((DEVIL > 0) && (blade == 2)) {
this.capel.gotoAndStop(3);
this.arml.gotoAndStop(3);
this.arm.gotoAndStop(3);
this.head.gotoAndStop(3);
this.cape.gotoAndStop(3);
this.body.gotoAndStop(3);
this.glow.gotoAndStop(3);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(3);
}
if ((DEVIL > 0) && (blade == 3)) {
this.capel.gotoAndStop(4);
this.arml.gotoAndStop(4);
this.arm.gotoAndStop(4);
this.head.gotoAndStop(4);
this.cape.gotoAndStop(4);
this.body.gotoAndStop(4);
this.glow.gotoAndStop(4);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(4);
}
if ((DEVIL > 0) && (blade == 4)) {
this.capel.gotoAndStop(5);
this.arml.gotoAndStop(5);
this.arm.gotoAndStop(5);
this.head.gotoAndStop(5);
this.cape.gotoAndStop(5);
this.body.gotoAndStop(5);
this.glow.gotoAndStop(5);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(5);
} else if (DEVIL < 1) {
this.capel.gotoAndStop(1);
this.arml.gotoAndStop(1);
this.arm.gotoAndStop(1);
this.head.gotoAndStop(1);
this.cape.gotoAndStop(1);
this.body.gotoAndStop(1);
this.glow.gotoAndStop(1);
this.static.gotoAndStop(1);
this.power._visible = false;
}
if (this._x > 800) {
this._x = 800;
} else if (this._x < 0) {
this._x = 0;
}
if ((key.isDown(70) && (DEVIL < 1)) && (_root.gauge.percent > 25)) {
this.gotoAndPlay("devilmode");
} else if (key.isDown(70) && (DEVIL > 0)) {
this.gotoAndPlay("devilexit");
}
if ((powerup > 30) && (pause < 1)) {
_root.gauge.percent = _root.gauge.percent + 1;
powerup = 0;
}
if (_root.gauge.percent > 99) {
time = 0;
} else if (_root.gauge.percent < 99) {
time = 1;
}
if ((DEVIL > 0) && (pause < 1)) {
powerdown = powerdown + down;
}
if (powerdown > 9) {
_root.gauge.percent = _root.gauge.percent - 1;
_root.Health = _root.Health + 1;
powerdown = 0;
}
if ((DEVIL < 1) && (pause < 1)) {
powerup = powerup + time;
}
if (_root.gauge.meterX._xscale > _root.gauge.meter._xscale) {
_root.meterX._xscale = _root.meterX._xscale - 0.75;
} else if (_root.gauge.meterX._xscale < _root.gauge.meter._xscale) {
_root.meterX._xscale = _root.gauge.meter._xscale;
}
if ((_root.gauge.percent < 1) && (DEVIL > 0)) {
_root.meterX._xscale = _root.gauge.meter._xscale;
this.gotoAndPlay("devilexit");
DEVIL = 0;
_root.gauge.percent = 0;
}
if (_xscale > 0) {
this._x = this._x + damage;
} else if (_xscale < 0) {
this._x = this._x - damage;
}
if (damage < 0) {
damage = 0;
friction2 = 0;
}
if (_root.Health > _root.Healthfull) {
_root.Health = _root.Healthfull;
}
if ((((this.core.hitTest(_root.ENEMY.BURST.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 32;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 35;
} else if ((((this.core.hitTest(_root.ENEMY.BURST.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 32;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 35;
} else if ((((this.core.hitTest(_root.ENEMY.BURST.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 42;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
falling = 0;
hangtime = 0;
_root.Health = _root.Health - 45;
} else if (((((this.core.hitTest(_root.ENEMY.BURST.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits > 1)) && (_root.mission == 3)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 42;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 45;
}
if (_root.Health > _root.Healthfull) {
_root.Health = _root.Healthfull;
}
if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 32;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 35;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 32;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 35;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 42;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
falling = 0;
hangtime = 0;
_root.Health = _root.Health - 45;
} else if (((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits > 1)) && (_root.mission == 3)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 42;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 45;
}
if (((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits < 2)) && (_root.ENEMY.DEVIL > 0)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 32;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 65;
} else if (((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits < 2)) && (_root.ENEMY.DEVIL > 0)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 32;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 65;
} else if (((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits > 1)) && (_root.ENEMY.DEVIL > 0)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 42;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
falling = 0;
hangtime = 0;
_root.Health = _root.Health - 75;
} else if ((((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits > 1)) && (_root.mission == 3)) && (_root.ENEMY.DEVIL > 0)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 42;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 75;
}
if (((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits < 2)) && (_root.mission == 3)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 35;
} else if (((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits < 2)) && (_root.mission == 3)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 35;
} else if (((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits > 1)) && (_root.mission == 3)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
falling = 0;
hangtime = 0;
_root.Health = _root.Health - 45;
} else if (((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits > 1)) && (_root.mission == 3)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 45;
}
if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x > _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 28;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 45;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x < _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 28;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 45;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
combo = 0;
damage = 33;
jump = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 55;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x < _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 33;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 55;
} else if (((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits > 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
friction2 = 1.5;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
_root.Health = _root.Health - 35;
} else if (((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits > 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 35;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits > 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 35;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits > 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 35;
}
if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
}
if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
}
if (_root.Health < 1) {
_root.Health = 0;
this.gotoAndStop("death");
_root.death = _root.death + 1;
motion = 0;
_root.ENEMY._y = 345;
DEVIL = 0;
down = 0;
time = 0;
combo = 0;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 30;
faller = 5;
DIE = 5;
_root.gauge.percent = 0;
}
if (_root.kills > quota) {
this.quota = this.quota + (_root.kills * 2);
this.quota = this.quota + 5;
_root.levelup.play();
}
if (_root.ENEMY2.Health <= 0) {
target1 = 1;
} else if (_root.ENEMY.Health <= 0) {
target1 = 2;
} else if (((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY._x < _root.ENEMY2._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY._x > _root.ENEMY2._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _x)) && (_root.ENEMY._x < _x)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _x)) && (_root.ENEMY._x < _x)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _x)) && (_root.ENEMY._x > _x)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _x)) && (_root.ENEMY._x > _x)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
}
if (target1 == 1) {
_root.targeter._x = _root.ENEMY._x;
_root.targeter._y = _root.ENEMY._y - 46;
} else if (target1 == 2) {
_root.targeter._x = _root.ENEMY2._x;
_root.targeter._y = _root.ENEMY2._y - 46;
}
if (gun == 1) {
this.arml.gun.gotoAndStop(1);
this.arm.gun.gotoAndStop(1);
_root.pause.guns.gotoAndStop(1);
} else if (gun == 2) {
this.arml.gun.gotoAndStop(2);
this.arm.gun.gotoAndStop(2);
_root.pause.guns.gotoAndStop(2);
} else if (gun == 3) {
this.arml.gun.gotoAndStop(3);
this.arm.gun.gotoAndStop(3);
_root.pause.guns.gotoAndStop(3);
} else if (gun == 4) {
this.arml.gun.gotoAndStop(4);
this.arm.gun.gotoAndStop(4);
_root.pause.guns.gotoAndStop(4);
}
if ((key.IsDown(88) && (_root.shotgun > 0)) && (gun == 1)) {
_root.gunswitch.gotoAndStop(2);
} else if ((key.IsDown(88) && (_root.grenade > 0)) && (gun == 2)) {
_root.gunswitch.gotoAndStop(3);
} else if ((key.IsDown(88) && (_root.submachine > 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(4);
} else if ((key.IsDown(88) && (_root.grenade < 1)) && (gun == 2)) {
_root.gunswitch.gotoAndStop(1);
} else if ((key.IsDown(88) && (_root.submachine < 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(1);
} else if ((key.IsDown(88) && (_root.submachine > 0)) && (gun == 4)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.lightning > 0)) && (blade == 1)) {
_root.swordswitch.gotoAndStop(2);
} else if ((key.IsDown(90) && (_root.hellfire > 0)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(3);
} else if ((key.IsDown(90) && (_root.devilsdemise > 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(4);
} else if ((key.IsDown(90) && (_root.hellfire < 1)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(1);
} else if ((key.IsDown(90) && (_root.devilsdemise < 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(1);
} else if ((key.IsDown(90) && (_root.devilsdemise > 0)) && (blade == 4)) {
_root.swordswitch.gotoAndStop(1);
}
if (gun == 3) {
this.bazooka.gotoAndStop(1);
} else if (gun == 4) {
this.bazooka.gotoAndStop(2);
} else if (gun == 2) {
this.bazooka.gotoAndStop(3);
} else if (gun == 1) {
this.bazooka.gotoAndStop(4);
}
if (blade == 3) {
this.fire._visible = true;
this.bolt._visible = false;
_root.pause.swords.gotoAndStop(3);
this.sword.gotoAndStop(3);
this.hate._visible = false;
this.light.gotoAndStop(3);
} else if (blade == 2) {
_root.pause.swords.gotoAndStop(2);
this.bolt._visible = true;
this.fire._visible = false;
this.sword.gotoAndStop(2);
this.hate._visible = false;
this.light.gotoAndStop(2);
} else if (blade == 1) {
this.fire._visible = false;
_root.pause.swords.gotoAndStop(1);
this.bolt._visible = false;
this.hate._visible = false;
this.light.gotoAndStop(1);
this.sword.gotoAndStop(1);
} else if (blade == 4) {
this.light.gotoAndStop(4);
this.hate._visible = true;
_root.pause.swords.gotoAndStop(4);
this.fire._visible = false;
this.bolt._visible = false;
this.sword.gotoAndStop(4);
}
if (DEVIL > 0) {
this.arm.gun.machine.gotoAndStop(2);
this.cape._visible = true;
this.capel._visible = true;
}
if (DEVIL < 1) {
this.arm.gun.machine.gotoAndStop(1);
}
if (((targeting < 1) && (key.IsDown(32))) && (timing > 25)) {
_root.targeter._visible = true;
targeting = 1;
timing = 0;
filler = 1;
} else if (((targeting > 0) && (key.IsDown(32))) && (timing > 25)) {
targeting = 0;
timing = 0;
filler = 1;
_root.targeter._visible = false;
}
if (((key.IsDown(67) && (pause < 1)) && (timing > 25)) && (DIE < 1)) {
pause = 5;
timing = 0;
filler = 1;
_root.pause._visible = true;
} else if ((key.IsDown(67) && (pause > 0)) && (timing > 25)) {
pause = 0;
hangtime = 3;
_root.ENEMY2.hangtime = 3;
_root.ENEMY.hangtime = 3;
play();
_root.pause._visible = false;
_root.pause.gotoAndStop(1);
timing = 0;
filler = 1;
}
if ((pause > 0) && (_y > 270)) {
this.gotoAndStop("pauseground");
hangtime = 0;
jump = 0;
plundge = 0;
falling = 0;
faller = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if ((pause > 0) && (_y < 270)) {
this.gotoAndStop("pauseair");
hangtime = 0;
jump = 0;
plundge = 0;
falling = 0;
faller = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if (comboreset > 120) {
combo = 0;
comboset = 0;
combo = combo - 2;
}
if (combo < 1) {
_root.style.gotoAndStop(1);
combo = 0;
comboreset = 0;
} else if ((combo > 1) && (combo < 50)) {
_root.style.gotoAndStop(2);
_root.score = _root.score + 1;
} else if ((combo > 50) && (combo < 110)) {
_root.style.gotoAndStop(3);
_root.score = _root.score + 1;
} else if ((combo > 110) && (combo < 160)) {
_root.style.gotoAndStop(4);
_root.score = _root.score + 1;
} else if ((combo > 160) && (combo < 210)) {
_root.style.gotoAndStop(5);
_root.score = _root.score + 2;
} else if ((combo > 210) && (combo < 280)) {
_root.style.gotoAndStop(6);
_root.score = _root.score + 2;
} else if (combo > 280) {
_root.style.gotoAndStop(7);
_root.score = _root.score + 3;
}
if (_root.Health > 0) {
DIE = 0;
}
if (DIE > 0) {
_root.gameover.play();
hangtime = 0;
_root.pause._visible = false;
jump = 0;
falling = 0;
attack = 0;
damage = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if ((skin < 2) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 2) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(2);
this.arm.skin.gotoAndStop(2);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(2);
this.dead.death.arm.skin.gotoAndStop(2);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 3) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(4);
this.arm.skin.gotoAndStop(4);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(4);
this.dead.death.arm.skin.gotoAndStop(4);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 4) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(2);
this.arm.skin.gotoAndStop(2);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(2);
this.dead.death.arm.skin.gotoAndStop(2);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 5) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 6) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 7) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(3);
this.arml.skin.gotoAndStop(3);
this.arm.skin.gotoAndStop(3);
this.cape._visible = true;
this.capel._visible = true;
this.cape.skin.gotoAndStop(2);
this.capel.skin.gotoAndStop(2);
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(3);
this.dead.death.arml.skin.gotoAndStop(3);
this.dead.death.arm.skin.gotoAndStop(3);
this.dead.death.cape._visible = true;
this.dead.death.cape.skin.gotoAndStop(2);
this.dead.death.capel.skin.gotoAndStop(2);
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 8) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(4);
this.arml.skin.gotoAndStop(4);
this.arm.skin.gotoAndStop(4);
this.cape._visible = true;
this.capel._visible = true;
this.cape.skin.gotoAndStop(3);
this.capel.skin.gotoAndStop(3);
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(4);
this.dead.death.arml.skin.gotoAndStop(4);
this.dead.death.arm.skin.gotoAndStop(4);
this.dead.death.cape._visible = true;
this.dead.death.cape.skin.gotoAndStop(3);
this.dead.death.capel.skin.gotoAndStop(3);
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
}
if ((skin < 7) && (DEVIL < 1)) {
this.capel.skin.gotoAndStop(1);
this.head.skin.gotoAndStop(1);
this.dead.death.cape.skin.gotoAndStop(1);
this.dead.death.capel.skin.gotoAndStop(1);
}
if (clock > 27) {
_root.seconds = _root.seconds + 1;
clock = 0;
}
if (_root.seconds > 60) {
_root.Minutes = _root.Minutes + 1;
_root.seconds = 0;
}
if (_root.mission == 3) {
_root.pause.mission.gotoAndStop(3);
}
if (_root.kills > 0) {
_root.exit.play();
hangtime = 0;
_root.ENEMY2.motion = 0;
_root.ENEMY.motion = 0;
_root.pause._visible = false;
this.stop();
jump = 0;
falling = 0;
attack = 0;
damage = 0;
motion = 0;
this.power._visible = false;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.SWORD.strike.gotoAndStop(1);
_root.ENEMY.SWORD.strike.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
DEVIL = 0;
}
if (((key.IsDown(81) && (_root.Speedheart > 0)) && (Heart == 1)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(2);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart > 0)) && (Heart == 2)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(3);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart > 0)) && (Heart == 3)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(1);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart < 1)) && (Heart == 2)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(1);
heartchange = 0;
}
if ((((Heart == 2) && (DEVIL > 0)) && (healing > 9)) && (pause < 1)) {
_root.Health = _root.Health + 3;
_root.gauge.percent = _root.gauge.percent - 1;
healing = 0;
}
if ((((Heart == 3) && (DEVIL > 0)) && (healing > 17)) && (pause < 1)) {
_root.gauge.percent = _root.gauge.percent + 1;
_root.Health = _root.Health - 5;
healing = 0;
}
if (Heart == 1) {
_root.gauge.meter.gotoAndStop(1);
}
if (Heart == 2) {
_root.gauge.meter.gotoAndStop(2);
}
if (Heart == 3) {
_root.gauge.meter.gotoAndStop(3);
}
if (clock > 27) {
_root.OAseconds = _root.OAseconds + 1;
clock = 0;
}
if (_root.OAseconds > 60) {
_root.OAMinutes = _root.OAMinutes + 1;
_root.OAseconds = 0;
}
if (_root.kills == goal) {
MISSIONCLEAR = 20;
}
if (_root.rumble > 0) {
_root.pause.rumble.gotoAndStop(3);
} else if (_root.rumble < 1) {
_root.pause.rumble.gotoAndStop(2);
}
if ((this.core.hitTest(_root.ENEMY3.dead) && (_x < _root.ENEMY3._x)) && (shadowmode < 1)) {
damage = 35;
friction2 = 1;
friction2 = 1;
hangtime = 0;
falling = 0;
plundge = 20;
this.gotoAndPlay("down");
_xscale = 55;
Health = Health - 50;
}
if ((this.core.hitTest(_root.ENEMY3.dead) && (_x > _root.ENEMY3._x)) && (shadowmode < 1)) {
damage = 35;
friction2 = 1;
hangtime = 0;
falling = 0;
plundge = 20;
friction2 = 1;
Health = Health - 50;
this.gotoAndPlay("down");
_xscale = -55;
}
if (((((this._xscale > 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x > _root.ENEMY2._x)) && (_root.ENEMY3._y >= _root.ENEMY2._y)) {
target2 = 1;
target1 = 0;
}
if (((((this._xscale > 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x < _root.ENEMY2._x)) && (_root.ENEMY3._y >= _root.ENEMY2._y)) {
target2 = 0;
target1 = 2;
}
if (((((this._xscale < 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x > _root.ENEMY2._x)) && (_root.ENEMY3._y >= _root.ENEMY2._y)) {
target2 = 0;
target1 = 2;
}
if (((((this._xscale < 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x < _root.ENEMY2._x)) && (_root.ENEMY3._y >= _root.ENEMY2._y)) {
target2 = 1;
target1 = 0;
}
if (_root.ENEMY2.Health < 1) {
target2 = 1;
}
if (_y < -30) {
hangtime = 2;
this.gotoAndStop("plummet");
}
if (gravity == 1) {
_root.Combo.hitter = _root.Combo.hits;
_yscale = 55;
this._y = this._y + (falling * gravity);
_root.Healthfull = (_root.level * 100) + 200;
this._y = this._y - (jump * gravity);
fill = fill + 1;
heartchange = heartchange + 1;
this.shoot.gotoAndStop(random(5));
falling = falling + (hangtime * gravity);
attack = attack - friction;
clock = clock + ticker;
damage = damage - friction2;
fillerup = fillerup + 1;
faller = faller + (plundge * gravity);
_root.combo.hits = combo;
comboreset = comboreset + comboset;
this._y = this._y + (faller * gravity);
healing = healing + 1;
speder = speder + 1;
timing = timing + filler;
this._y = this._y - (wallrun * gravity);
_root.gauge.meter._xscale = _root.gauge.percent;
}
if (gravity == -1) {
_yscale = -55;
_root.Combo.hitter = _root.Combo.hits;
this._y = this._y - falling;
_root.Healthfull = (_root.level * 100) + 200;
this._y = this._y + jump;
fill = fill + 1;
heartchange = heartchange + 1;
this.shoot.gotoAndStop(random(5));
falling = falling + hangtime;
attack = attack - friction;
clock = clock + ticker;
damage = damage - friction2;
fillerup = fillerup + 1;
faller = faller + plundge;
_root.combo.hits = combo;
comboreset = comboreset + comboset;
this._y = this._y - faller;
healing = healing + 1;
speder = speder + 1;
timing = timing + filler;
this._y = this._y + wallrun;
_root.gauge.meter._xscale = _root.gauge.percent;
}
if (((_y < 70) && (falling > 0)) && (gravity < 0)) {
this._y = 70;
falling = 0;
hangtime = 0;
jump = 0;
this.gotoAndStop(1);
} else if (((_y < 70) && (faller > 0)) && (gravity < 0)) {
this._y = 70;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 0;
faller = 0;
}
if ((((gravity == -1) && (blade == 2)) && (refill < 1)) && (pause < 1)) {
timevertex = timevertex + 2;
}
if (((((gravity == -1) && (blade == 2)) && (timevertex > 400)) && (refill < 1)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
refill = 5;
this.gotoAndStop("fall");
timevertex = 400;
}
if ((refill > 0) && (pause < 1)) {
timevertex = timevertex - 1;
}
if (gravity > 0) {
timevertex = timevertex - 1;
}
if ((timevertex < 3) && (pause < 1)) {
refill = 0;
}
if (((blade < 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if (((blade > 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if (((blade == 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if ((((blade < 2) && (_root.mission > 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade > 2) && (_root.mission > 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade < 2) && (_root.mission < 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade > 2) && (_root.mission < 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == 1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission < 7)) && (pause < 1)) {
gravity = -1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == -1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission < 7)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == 1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission > 7)) && (pause < 1)) {
gravity = -1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == -1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission > 7)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if ((this._y == 70) && (gravity == -1)) {
this.Staticform2._visible = true;
} else if ((this._y > 60) && (gravity == -1)) {
this.Staticform2._visible = false;
} else if (gravity == 1) {
this.Staticform2._visible = false;
}
if ((_y > 480) && (gravity < 0)) {
this.gotoAndStop("plummet");
}
if (timestop > 0) {
my_color = new Color(_root.ENEMY);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.ENEMY2);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.ENEMY3);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.BG);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.travel);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
}
if (timestop < 1) {
my_color = new Color(_root.ENEMY);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.ENEMY2);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.ENEMY3);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.BG);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.travel);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
}
if ((timestop > 0) && (pause < 1)) {
timestart = timestart + 1;
refiller = 0;
}
if ((timestop < 1) && (pause < 1)) {
refiller = refiller + 1;
}
if ((timestart > 500) && (pause < 1)) {
this.timetrigger.gotoAndStop(3);
timestop = 0;
enable = 1;
refiller = 0;
timestart = 0;
}
if (refiller > 300) {
enable = 0;
}
if ((((((blade == 3) && (key.IsDown(38))) && (key.IsDown(65))) && (DTIME > 30)) && (timestop < 1)) && (enable < 1)) {
timestop = 2;
DTIME = 0;
this.timetrigger.gotoAndStop(2);
}
if (((((blade == 3) && (key.IsDown(38))) && (key.IsDown(65))) && (DTIME > 30)) && (timestop > 1)) {
timestop = 0;
DTIME = 0;
this.timetrigger.gotoAndStop(3);
}
if ((blade < 3) && (pause < 1)) {
timestop = 0;
dropout = dropout - 1;
}
if ((blade > 3) && (pause < 1)) {
timestop = 0;
dropout = dropout - 1;
}
if (((((((blade == 4) && (key.IsDown(38))) && (key.IsDown(65))) && (PTIME > 30)) && (shadowset > 1000)) && (shadowmode < 1)) && (pause < 1)) {
this.shadowtiming.gotoAndStop(2);
shadowmode = 5;
PTIME = 0;
}
if (shadowmode > 0) {
my_color = new Color(_root.player);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_alpha = 50;
this.CORE._width = 0;
this.CORE._height = 0;
shadowexit = shadowexit + 2;
}
if ((shadowexit > 900) && (pause < 1)) {
shadowmode = 0;
PTIME = 0;
shadowset = 0;
shadowexit = 0;
this.shadowtiming.gotoAndStop(3);
}
if (shadowmode < 1) {
my_color = new Color(_root.player);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_alpha = 100;
this.CORE._width = 0;
this.CORE._height = 0;
shadowset = shadowset + 2;
}
if ((blade < 4) && (shadowmode > 0)) {
shadowmode = 0;
this.shadowtiming.gotoAndStop(3);
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (PTIME > 30)) && (shadowmode > 0)) && (pause < 1)) {
shadowmode = 0;
PTIME = 0;
this.shadowtiming.gotoAndStop(3);
}
if (shadowmode > 0) {
this.swordBox._width = 2000;
this.slashBox._width = 2000;
this.ripBox._width = 2000;
}
if (shadowmode < 1) {
this.swordBox._width = 240;
this.slashBox._width = 240;
this.ripBox._width = 240;
}
if ((key.IsDown(86) && (_root.submachine < 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(88) && (_root.submachine > 0)) && (gun == 4)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.lightning > 0)) && (blade == 1)) {
_root.swordswitch.gotoAndStop(2);
}
if ((key.IsDown(90) && (_root.hellfire > 0)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(3);
}
if ((key.IsDown(90) && (_root.devilsdemise > 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(4);
}
if ((key.IsDown(90) && (_root.hellfire < 1)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.devilsdemise < 2)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.devilsdemise > 0)) && (blade == 4)) {
_root.swordswitch.gotoAndStop(1);
}
if ((gravity < 0) && (_y > 350)) {
this.gotoAndStop("plummet");
plundge = 2;
}
if (die == 1) {
this.dead.gotoAndStop(1);
}
if ((die == 2) && (_y > 300)) {
this.dead.gotoAndStop(2);
}
if ((die == 3) && (_y > 300)) {
this.dead.gotoAndStop(3);
}
if (_root.OAmission < 3) {
_root.OAmission = 3;
}
if ((timestart > 500) && (_root.ENEMY._y < 350)) {
_root.ENEMY.hangtime = 3;
_root.ENEMY.play();
}
if ((timestart > 500) && (_root.ENEMY2._y < 350)) {
_root.ENEMY2.hangtime = 3;
_root.ENEMY2.play();
}
if ((timestart > 500) && (_root.ENEMY3._y < 350)) {
_root.ENEMY3.hangtime = 3;
_root.ENEMY3.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY.hangtime = 3;
_root.ENEMY.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY2._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY2.hangtime = 3;
_root.ENEMY2.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY3._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY3.hangtime = 3;
_root.ENEMY3.play();
} else {
_rotation = 0;
}
GTIME = GTIME + 1;
PTIME = PTIME + 1;
DTIME = DTIME + 1;
}
Instance of Symbol 1324 MovieClip "ENEMY" in Frame 12
onClipEvent (load) {
Health = 6000;
Hangtime = 2;
jump = 0;
falling = 0;
plundge = 0;
faller = 0;
attack = 0;
damage = 0;
friction = 0;
friction2 = 0;
attacktimer = 0;
DEVILTIMER = 0;
DEVIL = 0;
this.transform._visible = false;
this.fire._alpha = 0;
}
onClipEvent (enterFrame) {
if (((_y > 345) && (falling > 5)) && (_root.Health > 0)) {
this.SWORD.gotoAndStop(1);
_y = 345;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 0;
faller = 0;
}
if ((_y > 345) && (faller > 0)) {
_y = 345;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 0;
faller = 0;
}
if (damage < 0) {
damage = 0;
friction2 = 0;
}
if (attack < 0) {
attack = 0;
friction = 0;
}
if ((((DEVILtimer > 800) && (DEVIL < 1)) && (_root.player.pause < 1)) && (_root.Health > 0)) {
DEVIL = 5;
DEVILtimer = 0;
this.transform.gotoAndStop(2);
this.transform._visible = true;
}
if ((((DEVILtimer > 800) && (DEVIL > 0)) && (_root.player.pause < 1)) && (_root.Health > 0)) {
DEVIL = 0;
DEVILtimer = 0;
this.transform.gotoAndStop(1);
this.transform._visible = true;
}
if (DEVIL > 0) {
this.SWORD.strike.head.gotoAndStop(2);
this.SWORD.strike.body.gotoAndStop(2);
this.SWORD.strike.capel.gotoAndStop(2);
this.SWORD.strike.cape.gotoAndStop(2);
this.SWORD.strike.arm.gotoAndStop(2);
this.SWORD.strike.Larm.gotoAndStop(2);
this.SWORD.strike.glow.gotoAndStop(2);
this.HURT.head.gotoAndStop(2);
this.HURT.body.gotoAndStop(2);
this.HURT.capel.gotoAndStop(2);
this.HURT.glow.gotoAndStop(2);
this.HURT.cape.gotoAndStop(2);
this.HURT.arm.gotoAndStop(2);
this.HURT.Larm.gotoAndStop(2);
}
if (DEVIL < 0) {
this.SWORD.strike.head.gotoAndStop(1);
this.SWORD.strike.body.gotoAndStop(1);
this.SWORD.strike.capel.gotoAndStop(1);
this.SWORD.strike.cape.gotoAndStop(1);
this.SWORD.strike.arm.gotoAndStop(1);
this.SWORD.strike.Larm.gotoAndStop(1);
this.SWORD.strike.glow.gotoAndStop(1);
this.HURT.head.gotoAndStop(1);
this.HURT.body.gotoAndStop(1);
this.HURT.capel.gotoAndStop(1);
this.HURT.glow.gotoAndStop(1);
this.HURT.cape.gotoAndStop(1);
this.HURT.arm.gotoAndStop(1);
this.HURT.Larm.gotoAndStop(1);
}
if ((((((_root.player._x > (_x + 50)) && (damage < 1)) && (attack < 1)) && (Health > 0)) && (_root.player.pause < 1)) && (_root.Health > 0)) {
_xscale = 80;
}
if ((((((_root.player._x < (_x - 50)) && (damage < 1)) && (attack < 1)) && (Health > 0)) && (_root.player.pause < 1)) && (_root.Health > 0)) {
_xscale = -80;
}
if (_xscale > 0) {
this._x = this._x - damage;
}
if (_xscale < 0) {
this._x = this._x + damage;
}
if ((_root.player.timestop < 1) && (_xscale < 0)) {
this._x = this._x - attack;
}
if ((_root.player.timestop < 1) && (_xscale > 0)) {
this._x = this._x + attack;
}
if (this.Core.hitTest(_root.player.GUNBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("shot");
attack = 0;
friction = 0;
attacktimer = 0;
damage = 7;
friction2 = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (1.5 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if (this.Core.hitTest(_root.player.GUNBOX2)) {
this.gotoAndPlay("shot");
attack = 0;
friction = 0;
attacktimer = 0;
damage = 7;
friction2 = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (1.5 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX)) {
this.gotoAndPlay("slash");
attack = 0;
friction = 0;
damage = 17;
attacktimer = 0;
friction2 = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (20 * _root.player.strength);
_root.Score = _root.Score + 40;
_root.Combo.gotoAndPlay(2);
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (_root.player.DEVIL * 10);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if ((this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target1 == 1)) && (Health > 1)) {
this.gotoAndPlay("shot");
attack = 0;
friction = 0;
damage = 27;
friction2 = 2;
AIattack = 40;
jump = 7;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (1000 * _root.player.strength);
} else if (this.Core.hitTest(_root.player.RIPBOX)) {
this.gotoAndPlay("slash");
attack = 0;
friction = 0;
damage = 20;
attacktimer = 0;
friction2 = 2;
jump = 28;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 80;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.STABBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("slash");
attack = 0;
friction = 0;
damage = 3;
friction2 = 1;
attacktimer = 0;
jump = 40;
hangtime = 2;
falling = 0;
Health = Health - (35 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 60;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if ((this.Core.hitTest(_root.player.GUNBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
attack = 0;
friction = 0;
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
attacktimer = 0;
_root.player.comboreset = 0;
}
if (this.Core.hitTest(_root.player.GUNBOX2) && (Health < 1)) {
this.gotoAndPlay("death");
attack = 0;
friction = 0;
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
attacktimer = 0;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX) && (Health < 1)) {
this.gotoAndPlay("death");
attack = 0;
friction = 0;
Health = Health - (30 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
attacktimer = 0;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 20;
_root.Combo.hits = _root.Combo.hits + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (_root.player.DEVIL * 10);
attack = 0;
friction = 0;
Health = Health - (50 * _root.player.strength);
autospawn = 0;
rebirth = 1;
attacktimer = 0;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if ((this.Core.hitTest(_root.player.STABBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("death");
attack = 0;
friction = 0;
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (55 * _root.player.strength);
autospawn = 0;
rebirth = 1;
attacktimer = 0;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(3);
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health > 0)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("slash");
attack = 0;
friction = 0;
damage = 27;
friction2 = 2;
jump = 7;
hangtime = 2;
attacktimer = 0;
falling = 0;
Health = Health - (20 * _root.player.strength);
_root.Score = _root.Score + 50;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(2);
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("death");
attack = 0;
friction = 0;
damage = 27;
friction2 = 2;
attacktimer = 0;
jump = 7;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (50 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if (this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("slash");
attack = 0;
friction = 0;
damage = 37;
friction2 = 2;
attacktimer = 0;
jump = 7;
hangtime = 2;
autospawn = 0;
falling = 0;
}
if (this._x > 800) {
defend = defend + 2;
this._x = 800;
} else if ((this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target1 == 1)) && (Health < 1)) {
this.gotoAndPlay("death");
attack = 0;
friction = 0;
damage = 27;
friction2 = 2;
attacktimer = 0;
jump = 7;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (50 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if (this._x < 0) {
defend = defend + 2;
this._x = 0;
}
if ((this._x > 800) && (defend > 15)) {
defend = 0;
this._x = 800;
this.BURST.strike.play();
attacktimer = 30;
} else if ((this._x < 0) && (defend > 4)) {
defend = 0;
this._x = 0;
this.BURST.strike.play();
attacktimer = 30;
}
if (_root.BHP.meter._width < _root.BHP.meter2._width) {
_root.BHP.meter2._width = _root.BHP.meter2._width - 0.05;
}
if (_root.BHP.meter._width < (_root.BHP.meter2._width - 25)) {
_root.BHP.meter2._width = _root.BHP.meter2._width - 1;
}
if (_root.BHP.meter._width < (_root.BHP.meter2._width - 40)) {
_root.BHP.meter2._width = _root.BHP.meter2._width - 2;
}
if (((((_root.player.pause < 1) && (Health > 0)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (_root.Health > 0)) {
Attacktimer = Attacktimer + 1;
DEVILTIMER = DEVILTIMER + 1;
}
if (((((attacktimer > 70) && (attacktimer < 100)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (_root.Health > 0)) {
this.SWORD.gotoAndStop(2);
}
if (((((attacktimer > 70) && (attacktimer < 75)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (_root.Health > 0)) {
attack = 50;
friction = 2;
}
if (((((attacktimer > 90) && (attacktimer < 120)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (_root.Health > 0)) {
this.SWORD.strike.gotoAndStop("end");
attack = 0;
friction = 0;
}
if ((((((attacktimer > 120) && (attacktimer < 150)) && (_y < 340)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (_root.Health > 0)) {
this.SWORD.gotoAndStop(4);
}
if ((((((attacktimer > 120) && (attacktimer < 150)) && (_y > 340)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (_root.Health > 0)) {
this.SWORD.gotoAndStop(1);
}
if (((((attacktimer > 120) && (attacktimer < 125)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (_root.Health > 0)) {
jump = 15;
hangtime = 1;
attack = 15;
friction = 1;
}
if (((((attacktimer > 150) && (attacktimer < 200)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (_root.Health > 0)) {
this.SWORD.gotoAndStop(3);
}
if (((((attacktimer > 150) && (attacktimer < 155)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (_root.Health > 0)) {
attack = 23;
friction = 2;
}
if ((_root.player.combo > 140) && (_root.player.pause < 1)) {
this.BURST.strike.play();
attacktimer = 60;
}
if (this.SWORD.strike.hitbox.hitTest(_root.player.CORE)) {
attack = 0;
friction = 0;
}
if (Health < 1) {
_y = 334;
DEVIL = 0;
attacktimer = 0;
DEVILTIMER = 0;
_root.exit.play();
}
if (_root.player.pause > 0) {
this.SWORD.gotoAndStop(1);
motion = 0;
attack = 0;
jump = 0;
damage = 0;
friction = 0;
friction2 = 0;
}
if (this.Core.hitTest(_root.player.SWORDBOX && (_root.player.blade == 3))) {
flames = 80;
} else if (this.Core.hitTest(_root.player.RIPBOX) && (_root.player.blade == 3)) {
flames = 80;
}
if (Health > 0) {
this.fire._alpha = flames;
flames = flames - 1;
}
if (Health < 1) {
flames = 0;
}
if ((_root.player.DTIME > 20) && (_root.player.DTIME < 25)) {
hangtime = 1;
}
if ((this.SWORD.strike.ripbox.hitTest(_root.player) && (_xscale > 0)) && (_root.Health > 0)) {
_root.player._xscale = 55;
_root.Health = _root.Health - 30;
_root.player.gotoAndPlay("hurt");
_root.player.plundge = 0;
_root.player.damage = 10;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.falling = 0;
_root.player.hangtime = 1;
_root.player.plundge = 0;
_root.player.combo = 0;
_root.player.jump = 50;
}
if ((this.SWORD.strike.ripbox.hitTest(_root.player) && (_xscale < 0)) && (_root.Health > 0)) {
_root.player._xscale = -55;
_root.Health = _root.Health - 30;
_root.player.gotoAndPlay("hurt");
_root.player.plundge = 0;
_root.player.damage = 10;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.jump = 50;
_root.player.falling = 0;
_root.player.hangtime = 1;
_root.player.plundge = 0;
_root.player.combo = 0;
}
this.SWORD.strike.fire._visible = false;
_root.BHP.meter._width = this.Health / 10;
Attacktimer = Attacktimer + 1;
DEVILTIMER = DEVILTIMER + 1;
this._y = this._y - jump;
this._y = this._y + falling;
this._y = this._y + faller;
falling = falling + hangtime;
faller = faller + plundge;
attack = attack - friction;
damage = damage - friction2;
this.SWORD.strike.bolt._visible = false;
this.pform._visible = false;
}
Frame 13
if (_root.OAmission < 4) {
_root.OAmission = 4;
}
_quality = "High";
stop();
Stage.showMenu = false;
Instance of Symbol 986 MovieClip in Frame 13
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if (_root.killstats < _root.kills) {
_root.killstats = _root.killstats + 1;
}
if ((_root.killstats == _root.kills) && (_root.scorestats < _root.score)) {
_root.scorestats = _root.scorestats + 90;
}
if (((_root.killstats == _root.kills) && (_root.scorestats == _root.score)) && (_root.damagestats < _root.damage)) {
_root.damagestats = _root.damagestats + 5;
}
if (_root.killstats > _root.kills) {
_root.killstats = _root.kills;
}
if (_root.damagestats > _root.damage) {
_root.damagestats = _root.damage;
}
if (_root.scorestats > _root.score) {
_root.scorestats = _root.score;
}
if (key.IsDown(32)) {
_root.killstats = _root.kills;
}
if (key.IsDown(32) && (_root.killstats == _root.kills)) {
_root.scorestats = _root.score;
}
if ((key.IsDown(32) && (_root.killstats == _root.kills)) && (_root.scorestats == _root.score)) {
_root.damagestats = _root.damage;
}
if ((((_root.scorestats > 11000) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(6);
clearer = 1;
_root.rank3 = 5;
}
if (((((_root.scorestats > 9000) && (_root.scorestats < 11000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(5);
clearer = 1;
_root.rank3 = 4;
}
if (((((_root.scorestats > 8000) && (_root.scorestats < 9000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(4);
clearer = 1;
_root.rank3 = 3;
}
if (((((_root.scorestats > 6000) && (_root.scorestats < 8000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(3);
clearer = 1;
_root.rank3 = 2;
}
if ((((_root.scorestats < 6000) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(2);
clearer = 1;
_root.rank3 = 1;
}
if (_root.OAminutes < _root.minutes) {
_root.OAminutes = _root.minutes;
_root.OAseconds = _root.seconds;
}
_root.damage = _root.Healthfull - _root.Health;
_root.minutestats = _root.minutes;
_root.secondstats = _root.seconds;
}
Frame 14
_quality = "High";
stop();
Stage.showMenu = false;
Instance of Symbol 986 MovieClip in Frame 14
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if ((ranktimer > 60) && (_root.rank1 > 4)) {
this.gotoAndStop(6);
}
if ((ranktimer > 60) && (_root.rank1 == 4)) {
this.gotoAndStop(5);
}
if ((ranktimer > 60) && (_root.rank1 == 3)) {
this.gotoAndStop(4);
}
if ((ranktimer > 60) && (_root.rank1 == 2)) {
this.gotoAndStop(3);
}
if ((ranktimer > 60) && (_root.rank1 == 1)) {
this.gotoAndStop(2);
}
ranktimer = ranktimer + 1;
}
Instance of Symbol 986 MovieClip in Frame 14
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if ((ranktimer > 90) && (_root.rank2 > 4)) {
this.gotoAndStop(6);
}
if ((ranktimer > 90) && (_root.rank2 == 4)) {
this.gotoAndStop(5);
}
if ((ranktimer > 90) && (_root.rank2 == 3)) {
this.gotoAndStop(4);
}
if ((ranktimer > 90) && (_root.rank2 == 2)) {
this.gotoAndStop(3);
}
if ((ranktimer > 90) && (_root.rank2 == 1)) {
this.gotoAndStop(2);
}
ranktimer = ranktimer + 1;
}
Instance of Symbol 986 MovieClip in Frame 14
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if ((ranktimer > 120) && (_root.rank3 > 4)) {
this.gotoAndStop(6);
}
if ((ranktimer > 120) && (_root.rank3 == 4)) {
this.gotoAndStop(5);
}
if ((ranktimer > 120) && (_root.rank3 == 3)) {
this.gotoAndStop(4);
}
if ((ranktimer > 120) && (_root.rank3 == 2)) {
this.gotoAndStop(3);
}
if ((ranktimer > 120) && (_root.rank3 == 1)) {
this.gotoAndStop(2);
}
ranktimer = ranktimer + 1;
}
Frame 15
_quality = "High";
stop();
Stage.showMenu = false;
Instance of Symbol 78 MovieClip in Frame 15
onClipEvent (load) {
this.blurr._alpha = 0;
}
onClipEvent (enterFrame) {
if (focus > 0) {
this.blurr._alpha = this.blurr._alpha + 0.5;
this.blurr._xscale = this.blurr._xscale + 0.05;
} else if (focus < 0) {
this.blurr._alpha = this.blurr._alpha - 0.9;
this.blurr._xscale = this.blurr._xscale - 0.09;
}
if (this.blurr._alpha > 40) {
focus = -1;
} else if (this.blurr._alpha < 1) {
focus = 1;
}
}
Instance of Symbol 168 MovieClip "exit" in Frame 15
onClipEvent (enterFrame) {
if (key.IsDown(32)) {
this.play();
}
}
Frame 16
_quality = "High";
stop();
Stage.showMenu = false;
Frame 17
_quality = "High";
stop();
Stage.showMenu = false;
Frame 18
if (_root.quality == 1) {
_quality = "Medium";
}
if (_root.quality == 2) {
_quality = "High";
}
if (_root.quality == 3) {
_quality = "Low";
}
stop();
Stage.showMenu = false;
Instance of Symbol 594 MovieClip "player" in Frame 18
onClipEvent (load) {
goal = 25;
MISSIONCLEAR = 0;
die = random(3);
_root.minutes = 0;
_root.seconds = 0;
_root.Speedheart = 5;
_root.pause._visible = false;
_root.targeter._visible = false;
_root.mission = 4;
_root.score = 0;
_root.Health = (_root.level * 100) + 200;
_root.kills = 0;
gravity = 1;
skin = 1;
damage = 0;
clock = 0;
ticker = 1;
targeting = 0;
filler = 2;
gun = 1;
attack = 0;
friction = 0;
motion = 13;
hangtime = 1;
falling = 0;
jump = 0;
blade = 1;
hits = 0;
thrower = 1;
DEVIL = 0;
_root.DRIVE = 0;
time = 1;
powerup = 0;
_root.gauge.percent = 0;
down = 1;
quota = (2 * _root.kills) + 10;
target = 0;
target2 = 0;
comboset = 0;
combo = 0;
comboreset = 0;
}
onClipEvent (enterFrame) {
if (_root.level < 1) {
_root.level = 1;
_root.Health = 300;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 1)) {
this._xscale = -55;
this._x = this._x + (motion * 1.1);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 1;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 1)) {
this._xscale = 55;
this._x = this._x - (motion * 1.1);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 1;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 4)) {
this._xscale = -55;
this._x = this._x + (motion * 1.4);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 2.5;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 4)) {
this._xscale = 55;
this._x = this._x - (motion * 1.4);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 2.5;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 2)) {
this._xscale = -55;
this._x = this._x + (motion * 1.35);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 0.6;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 2)) {
this._xscale = 55;
this._x = this._x - (motion * 1.35);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 0.6;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 3)) {
this._xscale = -55;
this._x = this._x + (motion * 0.95);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 2;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 3)) {
this._xscale = 55;
this._x = this._x - (motion * 0.95);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 2;
}
if (falling > 60) {
falling = 60;
hangtime = 0;
}
if (_xscale > 0) {
this._x = this._x - attack;
} else if (_xscale < 0) {
this._x = this._x + attack;
}
if (((_y > 325) && (falling > 0)) && (gravity > 0)) {
this._y = 351;
falling = 0;
hangtime = 0;
jump = 0;
this.gotoAndStop(1);
}
if (((_y > 325) && (faller > 0.5)) && (gravity > 0)) {
this._y = 349.79;
faller = 0;
plundge = 0;
jump = 0;
} else if (((_y > 325) && (falling > 3)) && (gravity > 0)) {
this._y = 349.79;
falling = 0;
hangtime = 0;
this._x = this._x - attack;
}
if (attack < 0) {
attack = 0;
friction = 0;
}
if (((jump > 0) && (this._x < 10)) && (key.IsDown(37))) {
this.gotoAndPlay("wallride");
this._x = 11;
_xscale = -55;
}
if ((jump > 0) && (this._x == 11)) {
this._x = 11;
_xscale = -55;
}
if (((jump > 0) && (this._x > 790)) && (key.IsDown(39))) {
this.gotoAndPlay("wallride");
this._x = 789;
_xscale = 55;
}
if ((jump > 0) && (this._x == 789)) {
this._x = 789;
_xscale = 55;
}
if ((DEVIL > 0) && (blade == 1)) {
this.capel.gotoAndStop(2);
this.arml.gotoAndStop(2);
this.arm.gotoAndStop(2);
this.head.gotoAndStop(2);
this.cape.gotoAndStop(2);
this.body.gotoAndStop(2);
this.glow.gotoAndStop(2);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(2);
}
if ((DEVIL > 0) && (blade == 2)) {
this.capel.gotoAndStop(3);
this.arml.gotoAndStop(3);
this.arm.gotoAndStop(3);
this.head.gotoAndStop(3);
this.cape.gotoAndStop(3);
this.body.gotoAndStop(3);
this.glow.gotoAndStop(3);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(3);
}
if ((DEVIL > 0) && (blade == 3)) {
this.capel.gotoAndStop(4);
this.arml.gotoAndStop(4);
this.arm.gotoAndStop(4);
this.head.gotoAndStop(4);
this.cape.gotoAndStop(4);
this.body.gotoAndStop(4);
this.glow.gotoAndStop(4);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(4);
}
if ((DEVIL > 0) && (blade == 4)) {
this.capel.gotoAndStop(5);
this.arml.gotoAndStop(5);
this.arm.gotoAndStop(5);
this.head.gotoAndStop(5);
this.cape.gotoAndStop(5);
this.body.gotoAndStop(5);
this.glow.gotoAndStop(5);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(5);
} else if (DEVIL < 1) {
this.capel.gotoAndStop(1);
this.arml.gotoAndStop(1);
this.arm.gotoAndStop(1);
this.head.gotoAndStop(1);
this.cape.gotoAndStop(1);
this.body.gotoAndStop(1);
this.glow.gotoAndStop(1);
this.static.gotoAndStop(1);
this.power._visible = false;
}
if (this._x > 800) {
this._x = 800;
} else if (this._x < 0) {
this._x = 0;
}
if ((key.isDown(70) && (DEVIL < 1)) && (_root.gauge.percent > 25)) {
this.gotoAndPlay("devilmode");
} else if (key.isDown(70) && (DEVIL > 0)) {
this.gotoAndPlay("devilexit");
}
if ((powerup > 30) && (pause < 1)) {
_root.gauge.percent = _root.gauge.percent + 1;
powerup = 0;
}
if (_root.gauge.percent > 99) {
time = 0;
} else if (_root.gauge.percent < 99) {
time = 1;
}
if ((DEVIL > 0) && (pause < 1)) {
powerdown = powerdown + down;
}
if (powerdown > 9) {
_root.gauge.percent = _root.gauge.percent - 1;
_root.Health = _root.Health + 1;
powerdown = 0;
}
if ((DEVIL < 1) && (pause < 1)) {
powerup = powerup + time;
}
if (_root.gauge.meterX._xscale > _root.gauge.meter._xscale) {
_root.meterX._xscale = _root.meterX._xscale - 0.75;
} else if (_root.gauge.meterX._xscale < _root.gauge.meter._xscale) {
_root.meterX._xscale = _root.gauge.meter._xscale;
}
if ((_root.gauge.percent < 1) && (DEVIL > 0)) {
_root.meterX._xscale = _root.gauge.meter._xscale;
this.gotoAndPlay("devilexit");
DEVIL = 0;
_root.gauge.percent = 0;
}
if (_xscale > 0) {
this._x = this._x + damage;
} else if (_xscale < 0) {
this._x = this._x - damage;
}
if (damage < 0) {
damage = 0;
friction2 = 0;
}
if (_root.Health > _root.Healthfull) {
_root.Health = _root.Healthfull;
}
if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 45;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 45;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
falling = 0;
hangtime = 0;
_root.Health = _root.Health - 55;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 55;
}
if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x > _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 28;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 45;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x < _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 28;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 45;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
combo = 0;
damage = 33;
jump = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 65;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x < _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 33;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 65;
} else if ((((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
friction2 = 1.5;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
_root.Health = _root.Health - 65;
} else if (((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits > 1)) && (shadowmode < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 65;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits > 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 65;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits > 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 35;
}
if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
}
if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
}
if (_root.Health < 1) {
_root.Health = 0;
this.gotoAndStop("death");
_root.death = _root.death + 1;
motion = 0;
DEVIL = 0;
down = 0;
time = 0;
combo = 0;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 30;
faller = 5;
DIE = 5;
_root.gauge.percent = 0;
}
if (_root.kills > quota) {
this.quota = this.quota + (_root.kills * 2);
this.quota = this.quota + 5;
_root.levelup.play();
}
if (_root.ENEMY2.Health <= 0) {
target1 = 1;
} else if (_root.ENEMY.Health <= 0) {
target1 = 2;
} else if (((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY._x < _root.ENEMY2._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY._x > _root.ENEMY2._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _x)) && (_root.ENEMY._x < _x)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _x)) && (_root.ENEMY._x < _x)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _x)) && (_root.ENEMY._x > _x)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _x)) && (_root.ENEMY._x > _x)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
}
if (target1 == 1) {
_root.targeter._x = _root.ENEMY._x;
_root.targeter._y = _root.ENEMY._y - 46;
} else if (target1 == 2) {
_root.targeter._x = _root.ENEMY2._x;
_root.targeter._y = _root.ENEMY2._y - 46;
}
if (gun == 1) {
this.arml.gun.gotoAndStop(1);
this.arm.gun.gotoAndStop(1);
_root.pause.guns.gotoAndStop(1);
} else if (gun == 2) {
this.arml.gun.gotoAndStop(2);
this.arm.gun.gotoAndStop(2);
_root.pause.guns.gotoAndStop(2);
} else if (gun == 3) {
this.arml.gun.gotoAndStop(3);
this.arm.gun.gotoAndStop(3);
_root.pause.guns.gotoAndStop(3);
} else if (gun == 4) {
this.arml.gun.gotoAndStop(4);
this.arm.gun.gotoAndStop(4);
_root.pause.guns.gotoAndStop(4);
}
if ((key.IsDown(88) && (_root.shotgun > 0)) && (gun == 1)) {
_root.gunswitch.gotoAndStop(2);
} else if ((key.IsDown(88) && (_root.grenade > 0)) && (gun == 2)) {
_root.gunswitch.gotoAndStop(3);
} else if ((key.IsDown(88) && (_root.submachine > 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(4);
} else if ((key.IsDown(88) && (_root.grenade < 1)) && (gun == 2)) {
_root.gunswitch.gotoAndStop(1);
} else if ((key.IsDown(88) && (_root.submachine < 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(1);
} else if ((key.IsDown(88) && (_root.submachine > 0)) && (gun == 4)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.lightning > 0)) && (blade == 1)) {
_root.swordswitch.gotoAndStop(2);
} else if ((key.IsDown(90) && (_root.hellfire > 0)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(3);
} else if ((key.IsDown(90) && (_root.devilsdemise > 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(4);
} else if ((key.IsDown(90) && (_root.hellfire < 1)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(1);
} else if ((key.IsDown(90) && (_root.devilsdemise < 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(1);
} else if ((key.IsDown(90) && (_root.devilsdemise > 0)) && (blade == 4)) {
_root.swordswitch.gotoAndStop(1);
}
if (gun == 3) {
this.bazooka.gotoAndStop(1);
} else if (gun == 4) {
this.bazooka.gotoAndStop(2);
} else if (gun == 2) {
this.bazooka.gotoAndStop(3);
} else if (gun == 1) {
this.bazooka.gotoAndStop(4);
}
if (blade == 3) {
this.fire._visible = true;
this.bolt._visible = false;
_root.pause.swords.gotoAndStop(3);
this.sword.gotoAndStop(3);
this.hate._visible = false;
this.light.gotoAndStop(3);
} else if (blade == 2) {
_root.pause.swords.gotoAndStop(2);
this.bolt._visible = true;
this.fire._visible = false;
this.sword.gotoAndStop(2);
this.hate._visible = false;
this.light.gotoAndStop(2);
} else if (blade == 1) {
this.fire._visible = false;
_root.pause.swords.gotoAndStop(1);
this.bolt._visible = false;
this.hate._visible = false;
this.light.gotoAndStop(1);
this.sword.gotoAndStop(1);
} else if (blade == 4) {
this.light.gotoAndStop(4);
this.hate._visible = true;
_root.pause.swords.gotoAndStop(4);
this.fire._visible = false;
this.bolt._visible = false;
this.sword.gotoAndStop(4);
}
if (DEVIL > 0) {
this.cape._visible = true;
this.capel._visible = true;
this.arm.gun.machine.gotoAndStop(2);
}
if (DEVIL < 1) {
this.arm.gun.machine.gotoAndStop(1);
}
if (((targeting < 1) && (key.IsDown(32))) && (timing > 25)) {
_root.targeter._visible = true;
targeting = 1;
timing = 0;
filler = 1;
} else if (((targeting > 0) && (key.IsDown(32))) && (timing > 25)) {
targeting = 0;
timing = 0;
filler = 1;
_root.targeter._visible = false;
}
if (((key.IsDown(67) && (pause < 1)) && (timing > 25)) && (DIE < 1)) {
pause = 5;
timing = 0;
filler = 1;
_root.pause._visible = true;
} else if ((key.IsDown(67) && (pause > 0)) && (timing > 25)) {
pause = 0;
hangtime = 3;
_root.ENEMY2.hangtime = 3;
_root.ENEMY.hangtime = 3;
play();
_root.pause._visible = false;
_root.pause.gotoAndStop(1);
timing = 0;
filler = 1;
}
if ((pause > 0) && (_y > 270)) {
this.gotoAndStop("pauseground");
hangtime = 0;
jump = 0;
plundge = 0;
falling = 0;
faller = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if ((pause > 0) && (_y < 270)) {
this.gotoAndStop("pauseair");
hangtime = 0;
jump = 0;
plundge = 0;
falling = 0;
faller = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if (comboreset > 120) {
combo = 0;
comboset = 0;
combo = combo - 2;
}
if (combo < 1) {
_root.style.gotoAndStop(1);
combo = 0;
comboreset = 0;
} else if ((combo > 1) && (combo < 50)) {
_root.style.gotoAndStop(2);
_root.score = _root.score + 1;
} else if ((combo > 50) && (combo < 110)) {
_root.style.gotoAndStop(3);
_root.score = _root.score + 1;
} else if ((combo > 110) && (combo < 160)) {
_root.style.gotoAndStop(4);
_root.score = _root.score + 1;
} else if ((combo > 160) && (combo < 210)) {
_root.style.gotoAndStop(5);
_root.score = _root.score + 2;
} else if ((combo > 210) && (combo < 280)) {
_root.style.gotoAndStop(6);
_root.score = _root.score + 2;
} else if (combo > 280) {
_root.style.gotoAndStop(7);
_root.score = _root.score + 3;
}
if (_root.Health > 0) {
DIE = 0;
}
if (DIE > 0) {
_root.gameover.play();
hangtime = 0;
_root.pause._visible = false;
jump = 0;
falling = 0;
attack = 0;
damage = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if ((skin < 2) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 2) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(2);
this.arm.skin.gotoAndStop(2);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(2);
this.dead.death.arm.skin.gotoAndStop(2);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 3) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(4);
this.arm.skin.gotoAndStop(4);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(4);
this.dead.death.arm.skin.gotoAndStop(4);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 4) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(2);
this.arm.skin.gotoAndStop(2);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(2);
this.dead.death.arm.skin.gotoAndStop(2);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 5) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 6) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 7) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(3);
this.arml.skin.gotoAndStop(3);
this.arm.skin.gotoAndStop(3);
this.cape._visible = true;
this.capel._visible = true;
this.cape.skin.gotoAndStop(2);
this.capel.skin.gotoAndStop(2);
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(3);
this.dead.death.arml.skin.gotoAndStop(3);
this.dead.death.arm.skin.gotoAndStop(3);
this.dead.death.cape._visible = true;
this.dead.death.cape.skin.gotoAndStop(2);
this.dead.death.capel.skin.gotoAndStop(2);
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 8) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(4);
this.arml.skin.gotoAndStop(4);
this.arm.skin.gotoAndStop(4);
this.cape._visible = true;
this.capel._visible = true;
this.cape.skin.gotoAndStop(3);
this.capel.skin.gotoAndStop(3);
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(4);
this.dead.death.arml.skin.gotoAndStop(4);
this.dead.death.arm.skin.gotoAndStop(4);
this.dead.death.cape._visible = true;
this.dead.death.cape.skin.gotoAndStop(3);
this.dead.death.capel.skin.gotoAndStop(3);
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
}
if ((skin < 7) && (DEVIL < 1)) {
this.capel.skin.gotoAndStop(1);
this.head.skin.gotoAndStop(1);
this.dead.death.cape.skin.gotoAndStop(1);
this.dead.death.capel.skin.gotoAndStop(1);
}
if (clock > 27) {
_root.seconds = _root.seconds + 1;
clock = 0;
}
if (_root.seconds > 60) {
_root.Minutes = _root.Minutes + 1;
_root.seconds = 0;
}
if (_root.mission == 4) {
_root.pause.mission.gotoAndStop(4);
}
if (_root.kills > 25) {
_root.exit.play();
hangtime = 0;
_root.pause._visible = false;
this.stop();
jump = 0;
falling = 0;
attack = 0;
damage = 0;
motion = 0;
this.power._visible = false;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.SWORD.strike.gotoAndStop(1);
_root.ENEMY.SWORD.strike.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
_root.ENEMY2.motion = 0;
_root.ENEMY.motion = 0;
DEVIL = 0;
}
if (((key.IsDown(81) && (_root.Speedheart > 0)) && (Heart == 1)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(2);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart > 0)) && (Heart == 2)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(3);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart > 0)) && (Heart == 3)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(1);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart < 1)) && (Heart == 2)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(1);
heartchange = 0;
}
if ((((Heart == 2) && (DEVIL > 0)) && (healing > 9)) && (pause < 1)) {
_root.Health = _root.Health + 3;
_root.gauge.percent = _root.gauge.percent - 1;
healing = 0;
}
if ((((Heart == 3) && (DEVIL > 0)) && (healing > 17)) && (pause < 1)) {
_root.gauge.percent = _root.gauge.percent + 1;
_root.Health = _root.Health - 5;
healing = 0;
}
if (Heart == 1) {
_root.gauge.meter.gotoAndStop(1);
}
if (Heart == 2) {
_root.gauge.meter.gotoAndStop(2);
}
if (Heart == 3) {
_root.gauge.meter.gotoAndStop(3);
}
if (clock > 27) {
_root.OAseconds = _root.OAseconds + 1;
clock = 0;
}
if (_root.OAseconds > 60) {
_root.OAMinutes = _root.OAMinutes + 1;
_root.OAseconds = 0;
}
if (_root.kills > goal) {
MISSIONCLEAR = 20;
}
if (_root.rumble > 0) {
_root.pause.rumble.gotoAndStop(3);
}
if ((this.core.hitTest(_root.ENEMY3.dead) && (_x < _root.ENEMY3._x)) && (shadowmode < 1)) {
damage = 35;
friction2 = 1;
hangtime = 0;
falling = 0;
plundge = 20;
this.gotoAndPlay("down");
_xscale = -55;
Health = Health - 60;
}
if ((this.core.hitTest(_root.ENEMY3.dead) && (_x > _root.ENEMY3._x)) && (shadowmode < 1)) {
damage = 35;
friction2 = 1;
hangtime = 0;
falling = 0;
plundge = 20;
this.gotoAndPlay("down");
_xscale = -55;
Health = Health - 60;
}
if (((((this._xscale > 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x > _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 1;
target1 = 0;
}
if (((((this._xscale > 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x < _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 0;
target1 = 2;
}
if (((((this._xscale < 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x > _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 0;
target1 = 2;
}
if (((((this._xscale < 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x < _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 1;
target1 = 0;
}
if (_root.ENEMY2.Health < 1) {
target2 = 1;
}
if (_y < -30) {
hangtime = 2;
this.gotoAndStop("plummet");
}
if (_root.rumble < 1) {
_root.pause.rumble.gotoAndStop(2);
}
if (gravity == 1) {
_root.Combo.hitter = _root.Combo.hits;
_yscale = 55;
this._y = this._y + (falling * gravity);
_root.Healthfull = (_root.level * 100) + 200;
this._y = this._y - (jump * gravity);
fill = fill + 1;
heartchange = heartchange + 1;
this.shoot.gotoAndStop(random(5));
falling = falling + (hangtime * gravity);
attack = attack - friction;
clock = clock + ticker;
damage = damage - friction2;
fillerup = fillerup + 1;
faller = faller + (plundge * gravity);
_root.combo.hits = combo;
comboreset = comboreset + comboset;
this._y = this._y + (faller * gravity);
healing = healing + 1;
speder = speder + 1;
timing = timing + filler;
this._y = this._y - (wallrun * gravity);
_root.gauge.meter._xscale = _root.gauge.percent;
}
if (gravity == -1) {
_yscale = -55;
_root.Combo.hitter = _root.Combo.hits;
this._y = this._y - falling;
_root.Healthfull = (_root.level * 100) + 200;
this._y = this._y + jump;
fill = fill + 1;
heartchange = heartchange + 1;
this.shoot.gotoAndStop(random(5));
falling = falling + hangtime;
attack = attack - friction;
clock = clock + ticker;
damage = damage - friction2;
fillerup = fillerup + 1;
faller = faller + plundge;
_root.combo.hits = combo;
comboreset = comboreset + comboset;
this._y = this._y - faller;
healing = healing + 1;
speder = speder + 1;
timing = timing + filler;
this._y = this._y + wallrun;
_root.gauge.meter._xscale = _root.gauge.percent;
}
if (((_y < 70) && (falling > 0)) && (gravity < 0)) {
this._y = 70;
falling = 0;
hangtime = 0;
jump = 0;
this.gotoAndStop(1);
} else if (((_y < 70) && (faller > 0)) && (gravity < 0)) {
this._y = 70;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 0;
faller = 0;
}
if ((((gravity == -1) && (blade == 2)) && (refill < 1)) && (pause < 1)) {
timevertex = timevertex + 2;
}
if (((((gravity == -1) && (blade == 2)) && (timevertex > 400)) && (refill < 1)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
refill = 5;
this.gotoAndStop("fall");
timevertex = 400;
}
if ((refill > 0) && (pause < 1)) {
timevertex = timevertex - 1;
}
if (gravity > 0) {
timevertex = timevertex - 1;
}
if ((timevertex < 3) && (pause < 1)) {
refill = 0;
}
if (((blade < 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if (((blade > 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if (((blade == 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if ((((blade < 2) && (_root.mission > 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade > 2) && (_root.mission > 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade < 2) && (_root.mission < 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade > 2) && (_root.mission < 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == 1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission < 7)) && (pause < 1)) {
gravity = -1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == -1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission < 7)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == 1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission > 7)) && (pause < 1)) {
gravity = -1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == -1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission > 7)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if ((this._y == 70) && (gravity == -1)) {
this.Staticform2._visible = true;
} else if ((this._y > 60) && (gravity == -1)) {
this.Staticform2._visible = false;
} else if (gravity == 1) {
this.Staticform2._visible = false;
}
if ((_y > 480) && (gravity < 0)) {
this.gotoAndStop("plummet");
}
if (timestop > 0) {
my_color = new Color(_root.ENEMY);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.ENEMY2);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.ENEMY3);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.BG);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.travel);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
}
if (timestop < 1) {
my_color = new Color(_root.ENEMY);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.ENEMY2);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.ENEMY3);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.BG);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.travel);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
}
if ((timestop > 0) && (pause < 1)) {
timestart = timestart + 1;
refiller = 0;
}
if ((timestop < 1) && (pause < 1)) {
refiller = refiller + 1;
}
if ((timestart > 500) && (pause < 1)) {
this.timetrigger.gotoAndStop(3);
timestop = 0;
enable = 1;
refiller = 0;
timestart = 0;
}
if (refiller > 300) {
enable = 0;
}
if ((((((blade == 3) && (key.IsDown(38))) && (key.IsDown(65))) && (DTIME > 30)) && (timestop < 1)) && (enable < 1)) {
timestop = 2;
DTIME = 0;
this.timetrigger.gotoAndStop(2);
}
if (((((blade == 3) && (key.IsDown(38))) && (key.IsDown(65))) && (DTIME > 30)) && (timestop > 1)) {
timestop = 0;
DTIME = 0;
this.timetrigger.gotoAndStop(3);
}
if ((blade < 3) && (pause < 1)) {
timestop = 0;
dropout = dropout - 1;
}
if ((blade > 3) && (pause < 1)) {
timestop = 0;
dropout = dropout - 1;
}
if (((((((blade == 4) && (key.IsDown(38))) && (key.IsDown(65))) && (PTIME > 30)) && (shadowset > 1000)) && (shadowmode < 1)) && (pause < 1)) {
this.shadowtiming.gotoAndStop(2);
shadowmode = 5;
PTIME = 0;
}
if (shadowmode > 0) {
my_color = new Color(_root.player);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_alpha = 50;
this.CORE._width = 0;
this.CORE._height = 0;
shadowexit = shadowexit + 2;
}
if ((shadowexit > 900) && (pause < 1)) {
shadowmode = 0;
PTIME = 0;
shadowset = 0;
shadowexit = 0;
this.shadowtiming.gotoAndStop(3);
}
if (shadowmode < 1) {
my_color = new Color(_root.player);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_alpha = 100;
this.CORE._width = 0;
this.CORE._height = 0;
shadowset = shadowset + 2;
}
if ((blade < 4) && (shadowmode > 0)) {
shadowmode = 0;
this.shadowtiming.gotoAndStop(3);
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (PTIME > 30)) && (shadowmode > 0)) && (pause < 1)) {
shadowmode = 0;
PTIME = 0;
this.shadowtiming.gotoAndStop(3);
}
if (shadowmode > 0) {
this.swordBox._width = 2000;
this.slashBox._width = 2000;
this.ripBox._width = 2000;
}
if (shadowmode < 1) {
this.swordBox._width = 240;
this.slashBox._width = 240;
this.ripBox._width = 240;
}
if ((key.IsDown(86) && (_root.submachine < 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(88) && (_root.submachine > 0)) && (gun == 4)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.lightning > 0)) && (blade == 1)) {
_root.swordswitch.gotoAndStop(2);
}
if ((key.IsDown(90) && (_root.hellfire > 0)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(3);
}
if ((key.IsDown(90) && (_root.devilsdemise > 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(4);
}
if ((key.IsDown(90) && (_root.hellfire < 1)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.devilsdemise < 2)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.devilsdemise > 0)) && (blade == 4)) {
_root.swordswitch.gotoAndStop(1);
}
if ((gravity < 0) && (_y > 350)) {
this.gotoAndStop("plummet");
plundge = 2;
}
if (die == 1) {
this.dead.gotoAndStop(1);
}
if ((die == 2) && (_y > 300)) {
this.dead.gotoAndStop(2);
}
if ((die == 3) && (_y > 300)) {
this.dead.gotoAndStop(3);
}
if (_root.OAmission < 4) {
_root.OAmission = 4;
}
if ((timestart > 500) && (_root.ENEMY._y < 350)) {
_root.ENEMY.hangtime = 3;
_root.ENEMY.play();
}
if ((timestart > 500) && (_root.ENEMY2._y < 350)) {
_root.ENEMY2.hangtime = 3;
_root.ENEMY2.play();
}
if ((timestart > 500) && (_root.ENEMY3._y < 350)) {
_root.ENEMY3.hangtime = 3;
_root.ENEMY3.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY.hangtime = 3;
_root.ENEMY.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY2._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY2.hangtime = 3;
_root.ENEMY2.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY3._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY3.hangtime = 3;
_root.ENEMY3.play();
} else {
_rotation = 0;
}
GTIME = GTIME + 1;
PTIME = PTIME + 1;
DTIME = DTIME + 1;
}
Instance of Symbol 663 MovieClip "ENEMY" in Frame 18
onClipEvent (load) {
jump = 0;
hangtime = 3;
falling = 0;
damage = 0;
motion = 5;
Health = 1000;
this.fire._alpha = 0;
}
onClipEvent (enterFrame) {
if ((falling > 60) && (_root.player.MISSIONCLEAR < 1)) {
falling = 60;
}
if ((_y > 353) && (falling > 0)) {
_y = 353;
falling = 0;
jump = 0;
hangtime = 0;
}
if (((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this._x = this._x + motion;
this.SWORD.gotoAndStop(1);
}
if (((_root.player._x < (_x - 70)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
this._xscale = -100;
this._x = this._x - motion;
this.SWORD.gotoAndStop(1);
}
if ((((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this.SWORD.gotoAndStop(2);
}
if (((((_xscale < 0) && (_root.player._x > (_x - 70))) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this.SWORD.gotoAndStop(2);
}
if (((((_xscale > 0) && (_root.player._x < (_x + 70))) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this.SWORD.gotoAndStop(2);
}
if (_xscale > 0) {
aim = -90;
} else if (_xscale < 0) {
aim = 90;
}
if (this.Core.hitTest(_root.player.GUNBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("shot");
damage = 7;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if (this.Core.hitTest(_root.player.GUNBOX2)) {
this.gotoAndPlay("shot");
damage = 7;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX)) {
this.gotoAndPlay("slash");
damage = 17;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 40;
_root.Combo.gotoAndPlay(2);
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (_root.player.DEVIL * 10);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX)) {
this.gotoAndPlay("slash");
damage = 20;
friction = 2;
jump = 28;
hangtime = 2;
falling = 0;
Health = Health - (50 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 80;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.STABBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("slash");
damage = 3;
friction = 1;
jump = 40;
hangtime = 2;
falling = 0;
Health = Health - (55 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 60;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if ((this.Core.hitTest(_root.player.GUNBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if (this.Core.hitTest(_root.player.GUNBOX2) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX) && (Health < 1)) {
this.gotoAndPlay("ripped");
Health = Health - (30 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 20;
_root.Combo.hits = _root.Combo.hits + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX) && (Health < 1)) {
this.gotoAndPlay("ripped");
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (50 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if ((this.Core.hitTest(_root.player.STABBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("death");
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (55 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(3);
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health > 0)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("slash");
damage = 27;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 50;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(2);
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("exploader");
damage = 27;
friction = 2;
jump = 7;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (50 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if (this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("exploader");
damage = 37;
friction = 2;
jump = 7;
hangtime = 2;
rebirth = 2;
autospawn = 0;
falling = 0;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
Health = Health - (1000 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
}
if (_xscale > 0) {
this._x = this._x - damage;
this.overkill._xscale = 100;
} else if (_xscale < 0) {
this._x = this._x + damage;
this.overkill._xscale = -100;
}
if (damage < 0) {
damage = 0;
friction = 0;
}
if (Health < -50) {
this.overkill.play();
}
if (this._x > 800) {
this._x = 800;
} else if (this._x < 0) {
this._x = 0;
}
if (autospawn > 60) {
this._y = -100;
}
if (autospawn > 120) {
Health = 1000;
autospawn = 0;
rebirth = 0;
hangtime = 4;
this.gotoAndStop(1);
}
if (((autospawn > 60) && (_root.ENEMY2.Health < 1)) && (_root.ENEMY2.rebirth < 1)) {
_root.ENEMY2.rebirth = 2;
}
if ((this.core.hitTest(_root.ENEMY2.core) && (_root.ENEMY2._x > _x)) && (_root.player.target1 == 1)) {
_root.ENEMY2._x = _root.ENEMY2._x + 20;
} else if ((this.core.hitTest(_root.ENEMY2.core) && (_root.ENEMY2._x < _x)) && (_root.player.target1 == 1)) {
_root.ENEMY2._x = _root.ENEMY2._x - 20;
}
if (_root.player.timestop > 0) {
this.SWORD.strike.gotoAndStop(1);
this.SWORD.gotoAndStop(1);
}
if (this.Core.hitTest(_root.player.SWORDBOX && (_root.player.blade == 3))) {
flames = 80;
}
if (this.Core.hitTest(_root.player.RIPBOX) && (_root.player.blade == 3)) {
flames = 80;
}
if (Health > 0) {
this.fire._alpha = flames;
flames = flames - 1;
}
if (Health < 1) {
flames = 0;
}
if ((_root.player.DTIME > 20) && (_root.player.DTIME < 25)) {
hangtime = 1;
}
_y = (_y + falling);
_y = (_y - jump);
autospawn = autospawn + rebirth;
damage = damage - friction;
falling = falling + hangtime;
}
Instance of Symbol 1119 MovieClip "ENEMY2" in Frame 18
onClipEvent (load) {
jump = 0;
hangtime = 0;
falling = 0;
damage = 0;
motion = 5;
Health = 0;
this.gotoAndStop("dead");
this.fire._alpha = 0;
}
onClipEvent (enterFrame) {
if ((falling > 60) && (_root.player.MISSIONCLEAR < 1)) {
falling = 60;
}
if (((_y > 353) && (falling > 0)) && (_root.player.MISSIONCLEAR < 1)) {
_y = 353;
falling = 0;
jump = 0;
hangtime = 0;
}
if ((((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this._x = this._x + motion;
this.SWORD.gotoAndStop(1);
}
if ((((_root.player._x < (_x - 70)) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this._xscale = -100;
this._x = this._x - motion;
this.SWORD.gotoAndStop(1);
}
if ((((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this.SWORD.gotoAndStop(2);
}
if (((((_xscale < 0) && (_root.player._x > (_x - 70))) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this.SWORD.gotoAndStop(2);
}
if (((((_xscale > 0) && (_root.player._x < (_x + 70))) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this.SWORD.gotoAndStop(2);
}
if (_xscale > 0) {
aim = -90;
} else if (_xscale < 0) {
aim = 90;
}
if (this.Core.hitTest(_root.player.GUNBOX) && (_root.player.target1 == 2)) {
this.gotoAndPlay("shot");
damage = 7;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
}
if (this.Core.hitTest(_root.player.GUNBOX2)) {
this.gotoAndPlay("shot");
damage = 7;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX)) {
this.gotoAndPlay("slash");
damage = 17;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 40;
_root.Combo.gotoAndPlay(2);
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (_root.player.DEVIL * 10);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX)) {
this.gotoAndPlay("slash");
damage = 20;
friction = 2;
jump = 28;
hangtime = 2;
falling = 0;
Health = Health - (50 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 80;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if (this.Core.hitTest(_root.player.STABBOX) && (_root.player.target1 == 2)) {
this.gotoAndPlay("slash");
damage = 3;
friction = 1;
jump = 40;
hangtime = 2;
falling = 0;
Health = Health - (55 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 60;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if ((this.Core.hitTest(_root.player.GUNBOX) && (Health < 1)) && (_root.player.target1 == 2)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
}
if (this.Core.hitTest(_root.player.GUNBOX2) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX) && (Health < 1)) {
this.gotoAndPlay("ripped");
Health = Health - (30 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 20;
_root.Combo.hits = _root.Combo.hits + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX) && (Health < 1)) {
this.gotoAndPlay("ripped");
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (50 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if ((this.Core.hitTest(_root.player.STABBOX) && (Health < 1)) && (_root.player.target1 == 2)) {
this.gotoAndPlay("death");
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (55 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(3);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health > 0)) && (_root.player.target1 == 2)) {
this.gotoAndPlay("slash");
damage = 27;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 50;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health < 1)) && (_root.player.target1 == 2)) {
this.gotoAndPlay("exploader");
damage = 27;
friction = 2;
jump = 7;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (50 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if (this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target1 == 2)) {
this.gotoAndPlay("exploader");
damage = 37;
friction = 2;
jump = 7;
hangtime = 2;
rebirth = 2;
autospawn = 0;
falling = 0;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
Health = Health - (1000 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
}
if (_xscale > 0) {
this._x = this._x - damage;
this.overkill._xscale = 100;
} else if (_xscale < 0) {
this._x = this._x + damage;
this.overkill._xscale = -100;
}
if (damage < 0) {
damage = 0;
friction = 0;
}
if (Health < -50) {
this.overkill.play();
}
if (this._x > 800) {
this._x = 800;
} else if (this._x < 0) {
this._x = 0;
}
if (autospawn > 60) {
this._y = -100;
}
if (autospawn > 120) {
Health = 1000;
autospawn = 0;
rebirth = 0;
hangtime = 2;
this.gotoAndStop(1);
}
if ((this.core.hitTest(_root.ENEMY.core) && (_root.ENEMY._x > _x)) && (_root.player.target1 == 2)) {
_root.ENEMY._x = _root.ENEMY._x + 20;
} else if ((this.core.hitTest(_root.ENEMY.core) && (_root.ENEMY._x < _x)) && (_root.player.target1 == 2)) {
_root.ENEMY._x = _root.ENEMY._x - 20;
}
if (_root.player.timestop > 0) {
this.SWORD.strike.gotoAndStop(1);
this.SWORD.gotoAndStop(1);
}
if (this.Core.hitTest(_root.player.SWORDBOX && (_root.player.blade == 3))) {
flames = 80;
}
if (this.Core.hitTest(_root.player.RIPBOX) && (_root.player.blade == 3)) {
flames = 80;
}
if (Health > 0) {
this.fire._alpha = flames;
flames = flames - 1;
}
if (Health < 1) {
flames = 0;
}
if ((_root.player.DTIME > 20) && (_root.player.DTIME < 25)) {
hangtime = 1;
}
_y = (_y + falling);
_y = (_y - jump);
autospawn = autospawn + rebirth;
damage = damage - friction;
falling = falling + hangtime;
}
Instance of Symbol 1406 MovieClip "ENEMY3" in Frame 18
onClipEvent (load) {
jump = 0;
hangtime = 3;
falling = 0;
damage = 0;
motion = 2;
Health = 0;
this.gotoAndStop("dead");
quota = 5;
}
onClipEvent (enterFrame) {
if ((falling > 60) && (_root.player.MISSIONCLEAR < 1)) {
falling = 60;
}
if ((_y > 353) && (falling > 0)) {
_y = 353;
falling = 0;
jump = 0;
hangtime = 0;
}
if (_xscale > 0) {
_x = (_x - damage);
}
if (_xscale < 0) {
_x = (_x - damage);
}
if (((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this._x = this._x + motion;
}
if (((_root.player._x < (_x - 70)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
this._xscale = -100;
this._x = this._x - motion;
}
if (_xscale > 0) {
aim = -90;
} else if (_xscale < 0) {
aim = 90;
}
if (this.Core.hitTest(_root.player.GUNBOX) && (_root.player.target2 == 1)) {
this.gotoAndPlay("shot");
damage = 5;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if (this.Core.hitTest(_root.player.GUNBOX2)) {
this.gotoAndPlay("shot");
damage = 5;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX)) {
this.gotoAndPlay("slash");
damage = 8;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 40;
_root.Combo.gotoAndPlay(2);
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (_root.player.DEVIL * 10);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX)) {
this.gotoAndPlay("slash");
damage = 30;
friction = 2;
jump = 15;
hangtime = 2;
falling = 0;
Health = Health - (50 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 80;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.STABBOX) && (_root.player.target2 == 1)) {
this.gotoAndPlay("slash");
damage = 8;
friction = 1;
jump = 40;
hangtime = 2;
falling = 0;
Health = Health - (55 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 60;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if ((this.Core.hitTest(_root.player.GUNBOX) && (Health < 1)) && (_root.player.target2 == 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.ENEMY.rebirth = 5;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.target1 == 2;
_root.player.comboreset = 0;
quota = quota + 3;
}
if (this.Core.hitTest(_root.player.GUNBOX2) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
autospawn = 0;
rebirth = 1;
_root.ENEMY.rebirth = 5;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.target1 == 2;
_root.player.comboset = 1;
_root.player.comboreset = 0;
quota = quota + 3;
} else if (this.Core.hitTest(_root.player.SWORDBOX) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (30 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
autospawn = 0;
rebirth = 1;
_root.ENEMY.rebirth = 5;
_root.player.target1 == 2;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 20;
_root.Combo.hits = _root.Combo.hits + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
quota = quota + 3;
} else if (this.Core.hitTest(_root.player.RIPBOX) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (_root.player.DEVIL * 10);
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
Health = Health - (50 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.player.target1 == 2;
_root.ENEMY.rebirth = 5;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
quota = quota + 3;
} else if ((this.Core.hitTest(_root.player.STABBOX) && (Health < 1)) && (_root.player.target2 == 1)) {
this.gotoAndPlay("death");
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (55 * _root.player.strength);
autospawn = 0;
_root.player.target1 == 2;
rebirth = 1;
_root.ENEMY.rebirth = 5;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(3);
quota = quota + 3;
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health > 0)) && (_root.player.target2 == 1)) {
this.gotoAndPlay("slash");
damage = 27;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 50;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(2);
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health < 1)) && (_root.player.target2 == 1)) {
this.gotoAndPlay("death");
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
_root.player.target1 == 2;
damage = 27;
friction = 2;
jump = 7;
_root.kills = _root.kills + 1;
_root.ENEMY.rebirth = 5;
_root.overallkills = _root.overallkills + 1;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (50 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
quota = quota + 3;
} else if (this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target2 == 1)) {
this.gotoAndPlay("death");
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
damage = 37;
friction = 2;
jump = 7;
hangtime = 2;
rebirth = 2;
autospawn = 0;
_root.ENEMY.rebirth = 5;
falling = 0;
_root.player.target1 == 2;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
Health = Health - (1000 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
quota = quota + 3;
}
if (this._x > 800) {
this._x = 795;
} else if (this._x < 0) {
this._x = 5;
}
if ((autospawn > 10) && (_root.ENEMY.Health < 1)) {
_root.player.target1 = 2;
}
if ((autospawn > 70) && (_root.ENEMY.Health > 0)) {
autospawn = 70;
}
if (autospawn > 65) {
this._y = -100;
}
if ((autospawn > 150) && (_root.ENEMY.Health < 1)) {
Health = 25;
autospawn = 0;
rebirth = 0;
hangtime = 2;
this.gotoAndStop(1);
_root.ENEMY.gotoAndStop("dead");
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 0;
}
if (_root.kills > quota) {
rebirth = 2;
quota = quota + 5;
}
if ((this.core.hitTest(_root.ENEMY2.core) && (_root.ENEMY2._x > _x)) && (_root.player.target2 > 0)) {
_root.ENEMY2._x = _root.ENEMY2._x + 20;
} else if ((this.core.hitTest(_root.ENEMY2.core) && (_root.ENEMY2._x < _x)) && (_root.player.target2 > 0)) {
_root.ENEMY2._x = _root.ENEMY2._x - 20;
}
if (damage < 0) {
damage = 0;
friction = 0;
}
if (this.dead.hitTest(_root.ENEMY2.Core) && (_root.ENEMY2._x < _x)) {
_root.ENEMY2.damage = 40;
_root.ENEMY2.friction = 1.5;
_root.ENEMY2.gotoAndPlay("slash");
_root.ENEMY2.jump = 30;
_root.ENEMY2.hangtime = 1.5;
_root.ENEMY2._xscale = 100;
} else if (this.dead.hitTest(_root.ENEMY2.Core) && (_root.ENEMY2._x > _x)) {
_root.ENEMY2.damage = 40;
_root.ENEMY2.friction = 1.5;
_root.ENEMY2.jump = 30;
_root.ENEMY2.hangtime = 1.5;
_root.ENEMY2.gotoAndPlay("slash");
_root.ENEMY2._xscale = -100;
}
if (_root.player.pause > 0) {
this.seed.stop();
} else if (_root.player.pause < 1) {
this.seed.play();
}
if (((Health > 0) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
timebomb = timebomb + 1;
}
if (timebomb > 150) {
this.gotoAndPlay("death");
_root.ENEMY.rebirth = 5;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 30;
_root.ENEMY.Health = 1000;
damage = 37;
_root.player.target1 == 2;
friction = 2;
jump = 7;
hangtime = 2;
rebirth = 2;
autospawn = 40;
_root.ENEMY.rebirth = 1;
falling = 0;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
Health = Health - (1000 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
quota = quota + 3;
timebomb = 0;
Health = 0;
}
if ((autospawn < 0) && (autospawn < 65)) {
_root.player.target1 == 2;
}
if (_root.player.timestop > 0) {
this.SWORD.strike.gotoAndStop(1);
}
if (_root.player.timestop > 0) {
this.seed.stop();
}
if (_root.player.timestop < 1) {
this.seed.play();
}
if ((_root.player.DTIME > 20) && (_root.player.DTIME < 25)) {
hangtime = 1;
}
_y = (_y + falling);
_y = (_y - jump);
_x = (_x + damage);
autospawn = autospawn + rebirth;
falling = falling + hangtime;
}
Frame 19
if (_root.OAmission < 5) {
_root.OAmission = 5;
}
_quality = "High";
stop();
Stage.showMenu = false;
Instance of Symbol 986 MovieClip in Frame 19
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if (_root.killstats < _root.kills) {
_root.killstats = _root.killstats + 1;
}
if ((_root.killstats == _root.kills) && (_root.scorestats < _root.score)) {
_root.scorestats = _root.scorestats + 90;
}
if (((_root.killstats == _root.kills) && (_root.scorestats == _root.score)) && (_root.damagestats < _root.damage)) {
_root.damagestats = _root.damagestats + 5;
}
if (_root.killstats > _root.kills) {
_root.killstats = _root.kills;
}
if (_root.damagestats > _root.damage) {
_root.damagestats = _root.damage;
}
if (_root.scorestats > _root.score) {
_root.scorestats = _root.score;
}
if (key.IsDown(32)) {
_root.killstats = _root.kills;
}
if (key.IsDown(32) && (_root.killstats == _root.kills)) {
_root.scorestats = _root.score;
}
if ((key.IsDown(32) && (_root.killstats == _root.kills)) && (_root.scorestats == _root.score)) {
_root.damagestats = _root.damage;
}
if ((((_root.scorestats > 31500) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(6);
clearer = 1;
_root.rank4 = 5;
}
if (((((_root.scorestats > 29000) && (_root.scorestats < 31500)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(5);
clearer = 1;
_root.rank4 = 4;
}
if (((((_root.scorestats > 27500) && (_root.scorestats < 29000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(4);
clearer = 1;
_root.rank4 = 3;
}
if (((((_root.scorestats > 23000) && (_root.scorestats < 27500)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(3);
clearer = 1;
_root.rank4 = 2;
}
if ((((_root.scorestats < 23000) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(2);
clearer = 1;
_root.rank4 = 1;
}
if (_root.OAminutes < _root.minutes) {
_root.OAminutes = _root.minutes;
_root.OAseconds = _root.seconds;
}
_root.damage = _root.Healthfull - _root.Health;
_root.minutestats = _root.minutes;
_root.secondstats = _root.seconds;
}
Frame 20
_quality = "High";
stop();
Stage.showMenu = false;
Frame 21
_quality = "High";
stop();
Stage.showMenu = false;
Frame 22
if (_root.quality == 1) {
_quality = "Medium";
}
if (_root.quality == 2) {
_quality = "High";
}
if (_root.quality == 3) {
_quality = "Low";
}
stop();
Stage.showMenu = false;
Instance of Symbol 594 MovieClip "player" in Frame 22
onClipEvent (load) {
goal = 48;
MISSIONCLEAR = 0;
die = random(3);
_root.travel._x = 0;
_root.minutes = 0;
_root.seconds = 0;
_root.Speedheart = 5;
_root.pause._visible = false;
_root.targeter._visible = false;
_root.mission = 5;
_root.score = 0;
_root.Health = (_root.level * 100) + 200;
_root.kills = 0;
gravity = 1;
skin = 1;
damage = 0;
clock = 0;
ticker = 1;
targeting = 0;
filler = 2;
gun = 1;
attack = 0;
friction = 0;
motion = 13;
hangtime = 1;
falling = 0;
jump = 0;
blade = 1;
hits = 0;
thrower = 1;
DEVIL = 0;
_root.DRIVE = 0;
time = 1;
powerup = 0;
_root.gauge.percent = 0;
down = 1;
quota = (2 * _root.kills) + 10;
target = 0;
target2 = 0;
comboset = 0;
combo = 0;
comboreset = 0;
killfill = 18;
fight = 0;
}
onClipEvent (enterFrame) {
if (_root.level < 1) {
_root.level = 1;
_root.Health = 300;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 1)) {
this._xscale = -55;
this._x = this._x + (motion * 1.1);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 1;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 1)) {
this._xscale = 55;
this._x = this._x - (motion * 1.1);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 1;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 4)) {
this._xscale = -55;
this._x = this._x + (motion * 1.4);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 2.5;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 4)) {
this._xscale = 55;
this._x = this._x - (motion * 1.4);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 2.5;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 2)) {
this._xscale = -55;
this._x = this._x + (motion * 1.35);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 0.6;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 2)) {
this._xscale = 55;
this._x = this._x - (motion * 1.35);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 0.6;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 3)) {
this._xscale = -55;
this._x = this._x + (motion * 0.95);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 2;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 3)) {
this._xscale = 55;
this._x = this._x - (motion * 0.95);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 2;
}
if (falling > 60) {
falling = 60;
hangtime = 0;
}
if (_xscale > 0) {
this._x = this._x - attack;
} else if (_xscale < 0) {
this._x = this._x + attack;
}
if (((_y > 325) && (falling > 0)) && (gravity > 0)) {
this._y = 351;
falling = 0;
hangtime = 0;
jump = 0;
this.gotoAndStop(1);
}
if (((_y > 325) && (faller > 0.5)) && (gravity > 0)) {
this._y = 349.79;
faller = 0;
plundge = 0;
jump = 0;
} else if (((_y > 325) && (falling > 3)) && (gravity > 0)) {
this._y = 349.79;
falling = 0;
hangtime = 0;
this._x = this._x - attack;
}
if (attack < 0) {
attack = 0;
friction = 0;
}
if ((((jump > 0) && (this._x < 10)) && (key.IsDown(37))) && (battle > 0)) {
this.gotoAndPlay("wallride");
this._x = 11;
_xscale = -55;
}
if ((jump > 0) && (this._x == 11)) {
this._x = 11;
_xscale = -55;
}
if ((((jump > 0) && (this._x > 790)) && (key.IsDown(39))) && (battle > 0)) {
this.gotoAndPlay("wallride");
this._x = 789;
_xscale = 55;
}
if ((jump > 0) && (this._x == 789)) {
this._x = 789;
_xscale = 55;
}
if ((DEVIL > 0) && (blade == 1)) {
this.capel.gotoAndStop(2);
this.arml.gotoAndStop(2);
this.arm.gotoAndStop(2);
this.head.gotoAndStop(2);
this.cape.gotoAndStop(2);
this.body.gotoAndStop(2);
this.glow.gotoAndStop(2);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(2);
}
if ((DEVIL > 0) && (blade == 2)) {
this.capel.gotoAndStop(3);
this.arml.gotoAndStop(3);
this.arm.gotoAndStop(3);
this.head.gotoAndStop(3);
this.cape.gotoAndStop(3);
this.body.gotoAndStop(3);
this.glow.gotoAndStop(3);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(3);
}
if ((DEVIL > 0) && (blade == 3)) {
this.capel.gotoAndStop(4);
this.arml.gotoAndStop(4);
this.arm.gotoAndStop(4);
this.head.gotoAndStop(4);
this.cape.gotoAndStop(4);
this.body.gotoAndStop(4);
this.glow.gotoAndStop(4);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(4);
}
if ((DEVIL > 0) && (blade == 4)) {
this.capel.gotoAndStop(5);
this.arml.gotoAndStop(5);
this.arm.gotoAndStop(5);
this.head.gotoAndStop(5);
this.cape.gotoAndStop(5);
this.body.gotoAndStop(5);
this.glow.gotoAndStop(5);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(5);
} else if (DEVIL < 1) {
this.capel.gotoAndStop(1);
this.arml.gotoAndStop(1);
this.arm.gotoAndStop(1);
this.head.gotoAndStop(1);
this.cape.gotoAndStop(1);
this.body.gotoAndStop(1);
this.glow.gotoAndStop(1);
this.static.gotoAndStop(1);
this.power._visible = false;
}
if (this._x > 800) {
this._x = 800;
} else if (this._x < 0) {
this._x = 0;
}
if ((key.isDown(70) && (DEVIL < 1)) && (_root.gauge.percent > 25)) {
this.gotoAndPlay("devilmode");
} else if (key.isDown(70) && (DEVIL > 0)) {
this.gotoAndPlay("devilexit");
}
if ((powerup > 30) && (pause < 1)) {
_root.gauge.percent = _root.gauge.percent + 1;
powerup = 0;
}
if (_root.gauge.percent > 99) {
time = 0;
} else if (_root.gauge.percent < 99) {
time = 1;
}
if ((DEVIL > 0) && (pause < 1)) {
powerdown = powerdown + down;
}
if (powerdown > 9) {
_root.gauge.percent = _root.gauge.percent - 1;
_root.Health = _root.Health + 1;
powerdown = 0;
}
if ((DEVIL < 1) && (pause < 1)) {
powerup = powerup + time;
}
if (_root.gauge.meterX._xscale > _root.gauge.meter._xscale) {
_root.meterX._xscale = _root.meterX._xscale - 0.75;
} else if (_root.gauge.meterX._xscale < _root.gauge.meter._xscale) {
_root.meterX._xscale = _root.gauge.meter._xscale;
}
if ((_root.gauge.percent < 1) && (DEVIL > 0)) {
_root.meterX._xscale = _root.gauge.meter._xscale;
this.gotoAndPlay("devilexit");
DEVIL = 0;
_root.gauge.percent = 0;
}
if (_xscale > 0) {
this._x = this._x + damage;
} else if (_xscale < 0) {
this._x = this._x - damage;
}
if (damage < 0) {
damage = 0;
friction2 = 0;
}
if (_root.Health > _root.Healthfull) {
_root.Health = _root.Healthfull;
}
if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 32;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 45;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 32;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 45;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 42;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
falling = 0;
hangtime = 0;
_root.Health = _root.Health - 55;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 32;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 55;
}
if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x > _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 28;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 45;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x < _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 28;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 45;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
combo = 0;
damage = 33;
jump = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 65;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x < _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 33;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 65;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits > 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
friction2 = 1.5;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
_root.Health = _root.Health - 65;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits > 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 65;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits > 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 65;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits > 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 35;
}
if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
}
if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
}
if (_root.Health < 1) {
_root.Health = 0;
this.gotoAndStop("death");
_root.death = _root.death + 1;
motion = 0;
DEVIL = 0;
down = 0;
time = 0;
combo = 0;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 30;
faller = 5;
DIE = 5;
_root.gauge.percent = 0;
}
if (_root.kills > quota) {
this.quota = this.quota + (_root.kills * 2);
this.quota = this.quota + 5;
_root.levelup.play();
}
if (_root.ENEMY2.Health <= 0) {
target1 = 1;
} else if (_root.ENEMY.Health <= 0) {
target1 = 2;
} else if (((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY._x < _root.ENEMY2._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY._x > _root.ENEMY2._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _x)) && (_root.ENEMY._x < _x)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _x)) && (_root.ENEMY._x < _x)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _x)) && (_root.ENEMY._x > _x)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _x)) && (_root.ENEMY._x > _x)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
}
if (target1 == 1) {
_root.targeter._x = _root.ENEMY._x;
_root.targeter._y = _root.ENEMY._y - 46;
} else if (target1 == 2) {
_root.targeter._x = _root.ENEMY2._x;
_root.targeter._y = _root.ENEMY2._y - 46;
}
if (gun == 1) {
this.arml.gun.gotoAndStop(1);
this.arm.gun.gotoAndStop(1);
_root.pause.guns.gotoAndStop(1);
} else if (gun == 2) {
this.arml.gun.gotoAndStop(2);
this.arm.gun.gotoAndStop(2);
_root.pause.guns.gotoAndStop(2);
} else if (gun == 3) {
this.arml.gun.gotoAndStop(3);
this.arm.gun.gotoAndStop(3);
_root.pause.guns.gotoAndStop(3);
} else if (gun == 4) {
this.arml.gun.gotoAndStop(4);
this.arm.gun.gotoAndStop(4);
_root.pause.guns.gotoAndStop(4);
}
if ((key.IsDown(88) && (_root.shotgun > 0)) && (gun == 1)) {
_root.gunswitch.gotoAndStop(2);
} else if ((key.IsDown(88) && (_root.grenade > 0)) && (gun == 2)) {
_root.gunswitch.gotoAndStop(3);
} else if ((key.IsDown(88) && (_root.submachine > 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(4);
} else if ((key.IsDown(88) && (_root.grenade < 1)) && (gun == 2)) {
_root.gunswitch.gotoAndStop(1);
} else if ((key.IsDown(88) && (_root.submachine < 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(1);
} else if ((key.IsDown(88) && (_root.submachine > 0)) && (gun == 4)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.lightning > 0)) && (blade == 1)) {
_root.swordswitch.gotoAndStop(2);
} else if ((key.IsDown(90) && (_root.hellfire > 0)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(3);
} else if ((key.IsDown(90) && (_root.devilsdemise > 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(4);
} else if ((key.IsDown(90) && (_root.hellfire < 1)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(1);
} else if ((key.IsDown(90) && (_root.devilsdemise < 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(1);
} else if ((key.IsDown(90) && (_root.devilsdemise > 0)) && (blade == 4)) {
_root.swordswitch.gotoAndStop(1);
}
if (gun == 3) {
this.bazooka.gotoAndStop(1);
} else if (gun == 4) {
this.bazooka.gotoAndStop(2);
} else if (gun == 2) {
this.bazooka.gotoAndStop(3);
} else if (gun == 1) {
this.bazooka.gotoAndStop(4);
}
if (blade == 3) {
this.fire._visible = true;
this.bolt._visible = false;
_root.pause.swords.gotoAndStop(3);
this.sword.gotoAndStop(3);
this.hate._visible = false;
this.light.gotoAndStop(3);
} else if (blade == 2) {
_root.pause.swords.gotoAndStop(2);
this.bolt._visible = true;
this.fire._visible = false;
this.sword.gotoAndStop(2);
this.hate._visible = false;
this.light.gotoAndStop(2);
} else if (blade == 1) {
this.fire._visible = false;
_root.pause.swords.gotoAndStop(1);
this.bolt._visible = false;
this.hate._visible = false;
this.light.gotoAndStop(1);
this.sword.gotoAndStop(1);
} else if (blade == 4) {
this.light.gotoAndStop(4);
this.hate._visible = true;
_root.pause.swords.gotoAndStop(4);
this.fire._visible = false;
this.bolt._visible = false;
this.sword.gotoAndStop(4);
}
if (DEVIL > 0) {
this.cape._visible = true;
this.capel._visible = true;
this.arm.gun.machine.gotoAndStop(2);
}
if (DEVIL < 1) {
this.arm.gun.machine.gotoAndStop(1);
}
if (((targeting < 1) && (key.IsDown(32))) && (timing > 25)) {
_root.targeter._visible = true;
targeting = 1;
timing = 0;
filler = 1;
} else if (((targeting > 0) && (key.IsDown(32))) && (timing > 25)) {
targeting = 0;
timing = 0;
filler = 1;
_root.targeter._visible = false;
}
if (((key.IsDown(67) && (pause < 1)) && (timing > 25)) && (DIE < 1)) {
pause = 5;
timing = 0;
filler = 1;
_root.pause._visible = true;
} else if ((key.IsDown(67) && (pause > 0)) && (timing > 25)) {
pause = 0;
hangtime = 3;
_root.ENEMY2.hangtime = 3;
_root.ENEMY.hangtime = 3;
play();
_root.pause._visible = false;
_root.pause.gotoAndStop(1);
timing = 0;
filler = 1;
}
if ((pause > 0) && (_y > 270)) {
this.gotoAndStop("pauseground");
hangtime = 0;
jump = 0;
plundge = 0;
falling = 0;
faller = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if ((pause > 0) && (_y < 270)) {
this.gotoAndStop("pauseair");
hangtime = 0;
jump = 0;
plundge = 0;
falling = 0;
faller = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if (comboreset > 120) {
combo = 0;
comboset = 0;
combo = combo - 2;
}
if (combo < 1) {
_root.style.gotoAndStop(1);
combo = 0;
comboreset = 0;
} else if ((combo > 1) && (combo < 50)) {
_root.style.gotoAndStop(2);
_root.score = _root.score + 1;
} else if ((combo > 50) && (combo < 110)) {
_root.style.gotoAndStop(3);
_root.score = _root.score + 1;
} else if ((combo > 110) && (combo < 160)) {
_root.style.gotoAndStop(4);
_root.score = _root.score + 1;
} else if ((combo > 160) && (combo < 210)) {
_root.style.gotoAndStop(5);
_root.score = _root.score + 2;
} else if ((combo > 210) && (combo < 280)) {
_root.style.gotoAndStop(6);
_root.score = _root.score + 2;
} else if (combo > 280) {
_root.style.gotoAndStop(7);
_root.score = _root.score + 3;
}
if (_root.Health > 0) {
DIE = 0;
}
if (DIE > 0) {
_root.gameover.play();
hangtime = 0;
_root.pause._visible = false;
jump = 0;
falling = 0;
attack = 0;
damage = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if ((skin < 2) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 2) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(2);
this.arm.skin.gotoAndStop(2);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(2);
this.dead.death.arm.skin.gotoAndStop(2);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 3) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(4);
this.arm.skin.gotoAndStop(4);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(4);
this.dead.death.arm.skin.gotoAndStop(4);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 4) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(2);
this.arm.skin.gotoAndStop(2);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(2);
this.dead.death.arm.skin.gotoAndStop(2);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 5) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 6) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 7) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(3);
this.arml.skin.gotoAndStop(3);
this.arm.skin.gotoAndStop(3);
this.cape._visible = true;
this.capel._visible = true;
this.cape.skin.gotoAndStop(2);
this.capel.skin.gotoAndStop(2);
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(3);
this.dead.death.arml.skin.gotoAndStop(3);
this.dead.death.arm.skin.gotoAndStop(3);
this.dead.death.cape._visible = true;
this.dead.death.cape.skin.gotoAndStop(2);
this.dead.death.capel.skin.gotoAndStop(2);
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 8) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(4);
this.arml.skin.gotoAndStop(4);
this.arm.skin.gotoAndStop(4);
this.cape._visible = true;
this.capel._visible = true;
this.cape.skin.gotoAndStop(3);
this.capel.skin.gotoAndStop(3);
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(4);
this.dead.death.arml.skin.gotoAndStop(4);
this.dead.death.arm.skin.gotoAndStop(4);
this.dead.death.cape._visible = true;
this.dead.death.cape.skin.gotoAndStop(3);
this.dead.death.capel.skin.gotoAndStop(3);
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
}
if ((skin < 7) && (DEVIL < 1)) {
this.capel.skin.gotoAndStop(1);
this.head.skin.gotoAndStop(1);
this.dead.death.cape.skin.gotoAndStop(1);
this.dead.death.capel.skin.gotoAndStop(1);
}
if (clock > 27) {
_root.seconds = _root.seconds + 1;
clock = 0;
}
if (_root.seconds > 60) {
_root.Minutes = _root.Minutes + 1;
_root.seconds = 0;
}
if (_root.mission == 5) {
_root.pause.mission.gotoAndStop(5);
}
if (_root.travel._x < -2500) {
_root.exit.play();
hangtime = 0;
_root.pause._visible = false;
this.stop();
jump = 0;
falling = 0;
attack = 0;
damage = 0;
motion = 0;
this.power._visible = false;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.SWORD.strike.gotoAndStop(1);
_root.ENEMY.SWORD.strike.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
_root.ENEMY2.motion = 0;
_root.ENEMY.motion = 0;
DEVIL = 0;
}
if (((key.IsDown(81) && (_root.Speedheart > 0)) && (Heart == 1)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(2);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart > 0)) && (Heart == 2)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(3);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart > 0)) && (Heart == 3)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(1);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart < 1)) && (Heart == 2)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(1);
heartchange = 0;
}
if ((((Heart == 2) && (DEVIL > 0)) && (healing > 9)) && (pause < 1)) {
_root.Health = _root.Health + 3;
_root.gauge.percent = _root.gauge.percent - 1;
healing = 0;
}
if ((((Heart == 3) && (DEVIL > 0)) && (healing > 17)) && (pause < 1)) {
_root.gauge.percent = _root.gauge.percent + 1;
_root.Health = _root.Health - 5;
healing = 0;
}
if (Heart == 1) {
_root.gauge.meter.gotoAndStop(1);
}
if (Heart == 2) {
_root.gauge.meter.gotoAndStop(2);
}
if (Heart == 3) {
_root.gauge.meter.gotoAndStop(3);
}
if (clock > 27) {
_root.OAseconds = _root.OAseconds + 1;
clock = 0;
}
if (_root.OAseconds > 60) {
_root.OAMinutes = _root.OAMinutes + 1;
_root.OAseconds = 0;
}
if (_root.kills > goal) {
MISSIONCLEAR = 20;
}
if (_root.rumble > 0) {
_root.pause.rumble.gotoAndStop(3);
}
if ((this.core.hitTest(_root.ENEMY3.dead) && (_x < _root.ENEMY3._x)) && (shadowmode < 1)) {
damage = 35;
friction2 = 1;
hangtime = 0;
falling = 0;
plundge = 20;
this.gotoAndPlay("down");
_xscale = -55;
Health = Health - 80;
}
if ((this.core.hitTest(_root.ENEMY3.dead) && (_x > _root.ENEMY3._x)) && (shadowmode < 1)) {
damage = 35;
friction2 = 1;
hangtime = 0;
falling = 0;
plundge = 20;
this.gotoAndPlay("down");
_xscale = -55;
Health = Health - 80;
}
if (((((this._xscale > 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x > _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 1;
target1 = 0;
}
if (((((this._xscale > 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x < _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 0;
target1 = 2;
}
if (((((this._xscale < 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x > _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 0;
target1 = 2;
}
if (((((this._xscale < 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x < _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 1;
target1 = 0;
}
if (_root.ENEMY2.Health < 1) {
target2 = 1;
}
if (_y < -30) {
hangtime = 2;
this.gotoAndStop("plummet");
}
if ((((this._x > 699) && (battle < 1)) && (_root.travel._x > -2639.85)) && (key.IsDown(39))) {
this._x = 700;
_root.travel._x = _root.travel._x - (motion * 1.1);
_root.travel._x = _root.travel._x - (DEVIL * 4);
}
if ((((this._x < 39) && (battle < 1)) && (_root.travel._x < 1)) && (key.IsDown(37))) {
this._x = 38;
_root.travel._x = _root.travel._x + (motion * 1.1);
_root.travel._x = _root.travel._x + (DEVIL * 4);
}
if (_root.travel._x > 0) {
_root.travel._x = 0;
}
if (_root.travel._x < -2639.85) {
_root.travel._x = -2639.85;
}
if (((((_root.travel._x < -850) && (_root.travel._x > -1400)) && (_root.kills < killfill)) && (battle < 1)) && (fight == 0)) {
battle = 2;
_root.music.gotoAndPlay("rock");
_root.ENEMY.rebirth = 2;
}
if ((((_root.travel._x < -850) && (_root.travel._x > -1400)) && (_root.kills > killfill)) && (battle > 0)) {
battle = 0;
killfill = killfill + 15;
_root.music.gotoAndPlay("ambient");
fight = 1;
_root.ENEMY.gotoAndPlay("death");
_root.ENEMY2.gotoAndPlay("death");
_root.ENEMY.Health = 0;
_root.ENEMY2.Health = 0;
}
if (((((_root.travel._x < -1600) && (_root.travel._x > -2400)) && (_root.kills < killfill)) && (battle < 1)) && (fight == 1)) {
battle = 2;
_root.ENEMY.rebirth = 2;
_root.music.gotoAndPlay("rock");
}
if ((((_root.travel._x < -1600) && (_root.travel._x > -2400)) && (_root.kills > killfill)) && (battle > 0)) {
battle = 0;
killfill = killfill + 5;
_root.ENEMY3.quota = 23;
_root.music.gotoAndPlay("ambient");
fight = 2;
_root.ENEMY.gotoAndPlay("death");
_root.ENEMY2.gotoAndPlay("death");
_root.ENEMY.Health = 0;
_root.ENEMY2.Health = 0;
}
if (((((_root.travel._x < -2400) && (_root.travel._x > -2900)) && (_root.kills < killfill)) && (battle < 1)) && (fight == 2)) {
battle = 2;
_root.ENEMY.rebirth = 2;
_root.music.gotoAndPlay("rock");
}
if ((((_root.travel._x < -2400) && (_root.travel._x > -2900)) && (_root.kills > killfill)) && (battle > 0)) {
battle = 0;
_root.ENEMY.gotoAndPlay("death");
_root.ENEMY2.gotoAndPlay("death");
_root.ENEMY.Health = 0;
_root.ENEMY2.Health = 0;
_root.ENEMY3.quota = 34;
_root.music.gotoAndPlay("ambient");
}
if (battle < 1) {
_root.ENEMY.autospawn = 0;
_root.ENEMY2.autospawn = 0;
_root.ENEMY3.autospawn = 0;
}
if (_root.rumble < 1) {
_root.pause.rumble.gotoAndStop(2);
}
if (gravity == 1) {
_root.Combo.hitter = _root.Combo.hits;
_yscale = 55;
this._y = this._y + (falling * gravity);
_root.Healthfull = (_root.level * 100) + 200;
this._y = this._y - (jump * gravity);
fill = fill + 1;
heartchange = heartchange + 1;
this.shoot.gotoAndStop(random(5));
falling = falling + (hangtime * gravity);
attack = attack - friction;
clock = clock + ticker;
damage = damage - friction2;
fillerup = fillerup + 1;
faller = faller + (plundge * gravity);
_root.combo.hits = combo;
comboreset = comboreset + comboset;
this._y = this._y + (faller * gravity);
healing = healing + 1;
speder = speder + 1;
timing = timing + filler;
this._y = this._y - (wallrun * gravity);
_root.gauge.meter._xscale = _root.gauge.percent;
}
if (gravity == -1) {
_yscale = -55;
_root.Combo.hitter = _root.Combo.hits;
this._y = this._y - falling;
_root.Healthfull = (_root.level * 100) + 200;
this._y = this._y + jump;
fill = fill + 1;
heartchange = heartchange + 1;
this.shoot.gotoAndStop(random(5));
falling = falling + hangtime;
attack = attack - friction;
clock = clock + ticker;
damage = damage - friction2;
fillerup = fillerup + 1;
faller = faller + plundge;
_root.combo.hits = combo;
comboreset = comboreset + comboset;
this._y = this._y - faller;
healing = healing + 1;
speder = speder + 1;
timing = timing + filler;
this._y = this._y + wallrun;
_root.gauge.meter._xscale = _root.gauge.percent;
}
if ((((_y < 70) && (falling > 0)) && (gravity < 0)) && (pause < 1)) {
this._y = 70;
falling = 0;
hangtime = 0;
jump = 0;
this.gotoAndStop(1);
} else if ((((_y < 70) && (faller > 0)) && (gravity < 0)) && (pause < 1)) {
this._y = 70;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 0;
faller = 0;
}
if ((((gravity == -1) && (blade == 2)) && (refill < 1)) && (pause < 1)) {
timevertex = timevertex + 2;
}
if (((((gravity == -1) && (blade == 2)) && (timevertex > 400)) && (refill < 1)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
refill = 5;
this.gotoAndStop("fall");
timevertex = 400;
}
if (refill > 0) {
timevertex = timevertex - 1;
}
if (gravity > 0) {
timevertex = timevertex - 1;
}
if (timevertex < 3) {
refill = 0;
}
if (((blade < 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if (((blade > 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if (((blade == 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if ((((blade < 2) && (_root.mission > 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade > 2) && (_root.mission > 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade < 2) && (_root.mission < 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade > 2) && (_root.mission < 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == 1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission < 7)) && (pause < 1)) {
gravity = -1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == -1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission < 7)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == 1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission > 7)) && (pause < 1)) {
gravity = -1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == -1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission > 7)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if ((this._y == 70) && (gravity == -1)) {
this.Staticform2._visible = true;
} else if ((this._y > 60) && (gravity == -1)) {
this.Staticform2._visible = false;
} else if (gravity == 1) {
this.Staticform2._visible = false;
}
if ((_y > 480) && (gravity < 0)) {
this.gotoAndStop("plummet");
}
if (timestop > 0) {
my_color = new Color(_root.ENEMY);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.ENEMY2);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.ENEMY3);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.BG);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.travel);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
}
if (timestop < 1) {
my_color = new Color(_root.ENEMY);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.ENEMY2);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.ENEMY3);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.BG);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.travel);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
}
if ((timestop > 0) && (pause < 1)) {
timestart = timestart + 1;
refiller = 0;
}
if ((timestop < 1) && (pause < 1)) {
refiller = refiller + 1;
}
if ((timestart > 500) && (pause < 1)) {
this.timetrigger.gotoAndStop(3);
timestop = 0;
enable = 1;
refiller = 0;
timestart = 0;
}
if (refiller > 300) {
enable = 0;
}
if ((((((blade == 3) && (key.IsDown(38))) && (key.IsDown(65))) && (DTIME > 30)) && (timestop < 1)) && (enable < 1)) {
timestop = 2;
DTIME = 0;
this.timetrigger.gotoAndStop(2);
}
if (((((blade == 3) && (key.IsDown(38))) && (key.IsDown(65))) && (DTIME > 30)) && (timestop > 1)) {
timestop = 0;
DTIME = 0;
this.timetrigger.gotoAndStop(3);
}
if ((blade < 3) && (pause < 1)) {
timestop = 0;
dropout = dropout - 1;
}
if ((blade > 3) && (pause < 1)) {
timestop = 0;
dropout = dropout - 1;
}
if (((((((blade == 4) && (key.IsDown(38))) && (key.IsDown(65))) && (PTIME > 30)) && (shadowset > 1000)) && (shadowmode < 1)) && (pause < 1)) {
this.shadowtiming.gotoAndStop(2);
shadowmode = 5;
PTIME = 0;
}
if (shadowmode > 0) {
my_color = new Color(_root.player);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_alpha = 50;
this.CORE._width = 0;
this.CORE._height = 0;
shadowexit = shadowexit + 2;
}
if ((shadowexit > 900) && (pause < 1)) {
shadowmode = 0;
PTIME = 0;
shadowset = 0;
shadowexit = 0;
this.shadowtiming.gotoAndStop(3);
}
if (shadowmode < 1) {
my_color = new Color(_root.player);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_alpha = 100;
this.CORE._width = 0;
this.CORE._height = 0;
shadowset = shadowset + 2;
}
if ((blade < 4) && (shadowmode > 0)) {
shadowmode = 0;
this.shadowtiming.gotoAndStop(3);
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (PTIME > 30)) && (shadowmode > 0)) && (pause < 1)) {
shadowmode = 0;
PTIME = 0;
this.shadowtiming.gotoAndStop(3);
}
if (shadowmode > 0) {
this.swordBox._width = 2000;
this.slashBox._width = 2000;
this.ripBox._width = 2000;
}
if (shadowmode < 1) {
this.swordBox._width = 240;
this.slashBox._width = 240;
this.ripBox._width = 240;
}
if ((key.IsDown(86) && (_root.submachine < 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(88) && (_root.submachine > 0)) && (gun == 4)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.lightning > 0)) && (blade == 1)) {
_root.swordswitch.gotoAndStop(2);
}
if ((key.IsDown(90) && (_root.hellfire > 0)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(3);
}
if ((key.IsDown(90) && (_root.devilsdemise > 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(4);
}
if ((key.IsDown(90) && (_root.hellfire < 1)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.devilsdemise < 2)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.devilsdemise > 0)) && (blade == 4)) {
_root.swordswitch.gotoAndStop(1);
}
if ((gravity < 0) && (_y > 350)) {
this.gotoAndStop("plummet");
plundge = 2;
}
if (die == 1) {
this.dead.gotoAndStop(1);
}
if ((die == 2) && (_y > 300)) {
this.dead.gotoAndStop(2);
}
if ((die == 3) && (_y > 300)) {
this.dead.gotoAndStop(3);
}
if (_root.OAmission < 5) {
_root.OAmission = 5;
}
if ((timestart > 500) && (_root.ENEMY._y < 350)) {
_root.ENEMY.hangtime = 3;
_root.ENEMY.play();
}
if ((timestart > 500) && (_root.ENEMY2._y < 350)) {
_root.ENEMY2.hangtime = 3;
_root.ENEMY2.play();
}
if ((timestart > 500) && (_root.ENEMY3._y < 350)) {
_root.ENEMY3.hangtime = 3;
_root.ENEMY3.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY.hangtime = 3;
_root.ENEMY.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY2._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY2.hangtime = 3;
_root.ENEMY2.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY3._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY3.hangtime = 3;
_root.ENEMY3.play();
} else {
_rotation = 0;
}
GTIME = GTIME + 1;
PTIME = PTIME + 1;
DTIME = DTIME + 1;
}
Instance of Symbol 1119 MovieClip "ENEMY2" in Frame 22
onClipEvent (load) {
jump = 0;
hangtime = 0;
falling = 0;
damage = 0;
motion = 5;
Health = 0;
this.gotoAndStop("dead");
this.fire._alpha = 0;
}
onClipEvent (enterFrame) {
if ((falling > 60) && (_root.player.MISSIONCLEAR < 1)) {
falling = 60;
}
if (((_y > 353) && (falling > 0)) && (_root.player.MISSIONCLEAR < 1)) {
_y = 353;
falling = 0;
jump = 0;
hangtime = 0;
}
if ((((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this._x = this._x + motion;
this.SWORD.gotoAndStop(1);
}
if ((((_root.player._x < (_x - 70)) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this._xscale = -100;
this._x = this._x - motion;
this.SWORD.gotoAndStop(1);
}
if ((((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this.SWORD.gotoAndStop(2);
}
if (((((_xscale < 0) && (_root.player._x > (_x - 70))) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this.SWORD.gotoAndStop(2);
}
if (((((_xscale > 0) && (_root.player._x < (_x + 70))) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this.SWORD.gotoAndStop(2);
}
if (_xscale > 0) {
aim = -90;
} else if (_xscale < 0) {
aim = 90;
}
if (this.Core.hitTest(_root.player.GUNBOX) && (_root.player.target1 == 2)) {
this.gotoAndPlay("shot");
damage = 7;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
}
if (this.Core.hitTest(_root.player.GUNBOX2)) {
this.gotoAndPlay("shot");
damage = 7;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX)) {
this.gotoAndPlay("slash");
damage = 17;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 40;
_root.Combo.gotoAndPlay(2);
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (_root.player.DEVIL * 10);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX)) {
this.gotoAndPlay("slash");
damage = 20;
friction = 2;
jump = 28;
hangtime = 2;
falling = 0;
Health = Health - (50 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 80;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if (this.Core.hitTest(_root.player.STABBOX) && (_root.player.target1 == 2)) {
this.gotoAndPlay("slash");
damage = 3;
friction = 1;
jump = 40;
hangtime = 2;
falling = 0;
Health = Health - (55 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 60;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if ((this.Core.hitTest(_root.player.GUNBOX) && (Health < 1)) && (_root.player.target1 == 2)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
}
if (this.Core.hitTest(_root.player.GUNBOX2) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX) && (Health < 1)) {
this.gotoAndPlay("ripped");
Health = Health - (30 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 20;
_root.Combo.hits = _root.Combo.hits + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX) && (Health < 1)) {
this.gotoAndPlay("ripped");
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (50 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if ((this.Core.hitTest(_root.player.STABBOX) && (Health < 1)) && (_root.player.target1 == 2)) {
this.gotoAndPlay("death");
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (55 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(3);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health > 0)) && (_root.player.target1 == 2)) {
this.gotoAndPlay("slash");
damage = 27;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 50;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health < 1)) && (_root.player.target1 == 2)) {
this.gotoAndPlay("exploader");
damage = 27;
friction = 2;
jump = 7;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (50 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if (this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target1 == 2)) {
this.gotoAndPlay("exploader");
damage = 37;
friction = 2;
jump = 7;
hangtime = 2;
rebirth = 2;
autospawn = 0;
falling = 0;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
Health = Health - (1000 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
}
if (_xscale > 0) {
this._x = this._x - damage;
this.overkill._xscale = 100;
} else if (_xscale < 0) {
this._x = this._x + damage;
this.overkill._xscale = -100;
}
if (damage < 0) {
damage = 0;
friction = 0;
}
if (Health < -50) {
this.overkill.play();
}
if (this._x > 800) {
this._x = 800;
} else if (this._x < 0) {
this._x = 0;
}
if (autospawn > 60) {
this._y = -100;
}
if (autospawn > 120) {
Health = 1000;
autospawn = 0;
rebirth = 0;
hangtime = 2;
this.gotoAndStop(1);
}
if ((this.core.hitTest(_root.ENEMY.core) && (_root.ENEMY._x > _x)) && (_root.player.target1 == 2)) {
_root.ENEMY._x = _root.ENEMY._x + 20;
} else if ((this.core.hitTest(_root.ENEMY.core) && (_root.ENEMY._x < _x)) && (_root.player.target1 == 2)) {
_root.ENEMY._x = _root.ENEMY._x - 20;
}
if (_root.player.timestop > 0) {
this.SWORD.strike.gotoAndStop(1);
this.SWORD.gotoAndStop(1);
}
if (this.Core.hitTest(_root.player.SWORDBOX && (_root.player.blade == 3))) {
flames = 80;
}
if (this.Core.hitTest(_root.player.RIPBOX) && (_root.player.blade == 3)) {
flames = 80;
}
if (Health > 0) {
this.fire._alpha = flames;
flames = flames - 1;
}
if (Health < 1) {
flames = 0;
}
if ((_root.player.DTIME > 20) && (_root.player.DTIME < 25)) {
hangtime = 1;
}
_y = (_y + falling);
_y = (_y - jump);
autospawn = autospawn + rebirth;
damage = damage - friction;
falling = falling + hangtime;
}
Instance of Symbol 1514 MovieClip "ENEMY" in Frame 22
onClipEvent (load) {
jump = 0;
hangtime = 3;
falling = 0;
damage = 0;
motion = 5;
Health = 0;
this.gotoAndStop("dead");
this.fire._alpha = 0;
}
onClipEvent (enterFrame) {
if ((falling > 60) && (_root.player.MISSIONCLEAR < 1)) {
falling = 60;
}
if ((_y > 353) && (falling > 0)) {
_y = 353;
falling = 0;
jump = 0;
hangtime = 0;
}
if (((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this._x = this._x + motion;
this.SWORD.gotoAndStop(1);
}
if (((_root.player._x < (_x - 70)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
this._xscale = -100;
this._x = this._x - motion;
this.SWORD.gotoAndStop(1);
}
if ((((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this.SWORD.gotoAndStop(2);
}
if (((((_xscale < 0) && (_root.player._x > (_x - 70))) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this.SWORD.gotoAndStop(2);
}
if (((((_xscale > 0) && (_root.player._x < (_x + 70))) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this.SWORD.gotoAndStop(2);
}
if (_xscale > 0) {
aim = -90;
} else if (_xscale < 0) {
aim = 90;
}
if (this.Core.hitTest(_root.player.GUNBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("shot");
damage = 7;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if (this.Core.hitTest(_root.player.GUNBOX2)) {
this.gotoAndPlay("shot");
damage = 7;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX)) {
this.gotoAndPlay("slash");
damage = 17;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 40;
_root.Combo.gotoAndPlay(2);
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (_root.player.DEVIL * 10);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX)) {
this.gotoAndPlay("slash");
damage = 20;
friction = 2;
jump = 28;
hangtime = 2;
falling = 0;
Health = Health - (50 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 80;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.STABBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("slash");
damage = 3;
friction = 1;
jump = 40;
hangtime = 2;
falling = 0;
Health = Health - (55 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 60;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if ((this.Core.hitTest(_root.player.GUNBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if (this.Core.hitTest(_root.player.GUNBOX2) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX) && (Health < 1)) {
this.gotoAndPlay("ripped");
Health = Health - (30 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 20;
_root.Combo.hits = _root.Combo.hits + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX) && (Health < 1)) {
this.gotoAndPlay("ripped");
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (50 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if ((this.Core.hitTest(_root.player.STABBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("death");
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (55 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(3);
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health > 0)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("slash");
damage = 27;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 50;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(2);
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("exploader");
damage = 27;
friction = 2;
jump = 7;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (50 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if (this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("exploader");
damage = 37;
friction = 2;
jump = 7;
hangtime = 2;
rebirth = 2;
autospawn = 0;
falling = 0;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
Health = Health - (1000 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
}
if (_xscale > 0) {
this._x = this._x - damage;
this.overkill._xscale = 100;
} else if (_xscale < 0) {
this._x = this._x + damage;
this.overkill._xscale = -100;
}
if (damage < 0) {
damage = 0;
friction = 0;
}
if (Health < -50) {
this.overkill.play();
}
if (this._x > 800) {
this._x = 800;
} else if (this._x < 0) {
this._x = 0;
}
if (autospawn > 60) {
this._y = -100;
}
if (autospawn > 120) {
Health = 1000;
autospawn = 0;
rebirth = 0;
hangtime = 4;
this.gotoAndStop(1);
}
if (((autospawn > 60) && (_root.ENEMY2.Health < 1)) && (_root.ENEMY2.rebirth < 1)) {
_root.ENEMY2.rebirth = 2;
}
if ((this.core.hitTest(_root.ENEMY2.core) && (_root.ENEMY2._x > _x)) && (_root.player.target1 == 1)) {
_root.ENEMY2._x = _root.ENEMY2._x + 20;
} else if ((this.core.hitTest(_root.ENEMY2.core) && (_root.ENEMY2._x < _x)) && (_root.player.target1 == 1)) {
_root.ENEMY2._x = _root.ENEMY2._x - 20;
}
if (_root.player.timestop > 0) {
this.SWORD.strike.gotoAndStop(1);
this.SWORD.gotoAndStop(1);
}
if (this.Core.hitTest(_root.player.SWORDBOX && (_root.player.blade == 3))) {
flames = 80;
}
if (this.Core.hitTest(_root.player.RIPBOX) && (_root.player.blade == 3)) {
flames = 80;
}
if (Health > 0) {
this.fire._alpha = flames;
flames = flames - 1;
}
if (Health < 1) {
flames = 0;
}
if ((_root.player.DTIME > 20) && (_root.player.DTIME < 25)) {
hangtime = 1;
}
_y = (_y + falling);
_y = (_y - jump);
autospawn = autospawn + rebirth;
damage = damage - friction;
falling = falling + hangtime;
}
Instance of Symbol 1406 MovieClip "ENEMY3" in Frame 22
onClipEvent (load) {
jump = 0;
hangtime = 3;
falling = 0;
damage = 0;
motion = 2;
Health = 0;
this.gotoAndStop("dead");
quota = 5;
}
onClipEvent (enterFrame) {
if ((falling > 60) && (_root.player.MISSIONCLEAR < 1)) {
falling = 60;
}
if ((_y > 353) && (falling > 0)) {
_y = 353;
falling = 0;
jump = 0;
hangtime = 0;
}
if (_xscale > 0) {
_x = (_x - damage);
}
if (_xscale < 0) {
_x = (_x - damage);
}
if (((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this._x = this._x + motion;
}
if (((_root.player._x < (_x - 70)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
this._xscale = -100;
this._x = this._x - motion;
}
if (_xscale > 0) {
aim = -90;
} else if (_xscale < 0) {
aim = 90;
}
if (this.Core.hitTest(_root.player.GUNBOX) && (_root.player.target2 == 1)) {
this.gotoAndPlay("shot");
damage = 5;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if (this.Core.hitTest(_root.player.GUNBOX2)) {
this.gotoAndPlay("shot");
damage = 5;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX)) {
this.gotoAndPlay("slash");
damage = 8;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 40;
_root.Combo.gotoAndPlay(2);
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (_root.player.DEVIL * 10);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX)) {
this.gotoAndPlay("slash");
damage = 30;
friction = 2;
jump = 15;
hangtime = 2;
falling = 0;
Health = Health - (50 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 80;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.STABBOX) && (_root.player.target2 == 1)) {
this.gotoAndPlay("slash");
damage = 8;
friction = 1;
jump = 40;
hangtime = 2;
falling = 0;
Health = Health - (55 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 60;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if ((this.Core.hitTest(_root.player.GUNBOX) && (Health < 1)) && (_root.player.target2 == 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.ENEMY.rebirth = 5;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.target1 == 2;
_root.player.comboreset = 0;
quota = quota + 3;
}
if (this.Core.hitTest(_root.player.GUNBOX2) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
autospawn = 0;
rebirth = 1;
_root.ENEMY.rebirth = 5;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.target1 == 2;
_root.player.comboset = 1;
_root.player.comboreset = 0;
quota = quota + 3;
} else if (this.Core.hitTest(_root.player.SWORDBOX) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (30 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
autospawn = 0;
rebirth = 1;
_root.ENEMY.rebirth = 5;
_root.player.target1 == 2;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 20;
_root.Combo.hits = _root.Combo.hits + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
quota = quota + 3;
} else if (this.Core.hitTest(_root.player.RIPBOX) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (_root.player.DEVIL * 10);
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
Health = Health - (50 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.player.target1 == 2;
_root.ENEMY.rebirth = 5;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
quota = quota + 3;
} else if ((this.Core.hitTest(_root.player.STABBOX) && (Health < 1)) && (_root.player.target2 == 1)) {
this.gotoAndPlay("death");
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (55 * _root.player.strength);
autospawn = 0;
_root.player.target1 == 2;
rebirth = 1;
_root.ENEMY.rebirth = 5;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(3);
quota = quota + 3;
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health > 0)) && (_root.player.target2 == 1)) {
this.gotoAndPlay("slash");
damage = 27;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 50;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(2);
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health < 1)) && (_root.player.target2 == 1)) {
this.gotoAndPlay("death");
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
_root.player.target1 == 2;
damage = 27;
friction = 2;
jump = 7;
_root.kills = _root.kills + 1;
_root.ENEMY.rebirth = 5;
_root.overallkills = _root.overallkills + 1;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (50 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
quota = quota + 3;
} else if (this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target2 == 1)) {
this.gotoAndPlay("death");
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
damage = 37;
friction = 2;
jump = 7;
hangtime = 2;
rebirth = 2;
autospawn = 0;
_root.ENEMY.rebirth = 5;
falling = 0;
_root.player.target1 == 2;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
Health = Health - (1000 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
quota = quota + 3;
}
if (this._x > 800) {
this._x = 795;
} else if (this._x < 0) {
this._x = 5;
}
if ((autospawn > 10) && (_root.ENEMY.Health < 1)) {
_root.player.target1 = 2;
}
if ((autospawn > 70) && (_root.ENEMY.Health > 0)) {
autospawn = 70;
}
if (autospawn > 65) {
this._y = -100;
}
if ((autospawn > 150) && (_root.ENEMY.Health < 1)) {
Health = 25;
autospawn = 0;
rebirth = 0;
hangtime = 2;
this.gotoAndStop(1);
_root.ENEMY.gotoAndStop("dead");
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 0;
}
if (_root.kills > quota) {
rebirth = 2;
quota = quota + 5;
}
if ((this.core.hitTest(_root.ENEMY2.core) && (_root.ENEMY2._x > _x)) && (_root.player.target2 > 0)) {
_root.ENEMY2._x = _root.ENEMY2._x + 20;
} else if ((this.core.hitTest(_root.ENEMY2.core) && (_root.ENEMY2._x < _x)) && (_root.player.target2 > 0)) {
_root.ENEMY2._x = _root.ENEMY2._x - 20;
}
if (damage < 0) {
damage = 0;
friction = 0;
}
if (this.dead.hitTest(_root.ENEMY2.Core) && (_root.ENEMY2._x < _x)) {
_root.ENEMY2.damage = 40;
_root.ENEMY2.friction = 1.5;
_root.ENEMY2.gotoAndPlay("slash");
_root.ENEMY2.jump = 30;
_root.ENEMY2.hangtime = 1.5;
_root.ENEMY2._xscale = 100;
} else if (this.dead.hitTest(_root.ENEMY2.Core) && (_root.ENEMY2._x > _x)) {
_root.ENEMY2.damage = 40;
_root.ENEMY2.friction = 1.5;
_root.ENEMY2.jump = 30;
_root.ENEMY2.hangtime = 1.5;
_root.ENEMY2.gotoAndPlay("slash");
_root.ENEMY2._xscale = -100;
}
if (_root.player.pause > 0) {
this.seed.stop();
} else if (_root.player.pause < 1) {
this.seed.play();
}
if (((Health > 0) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
timebomb = timebomb + 1;
}
if (timebomb > 150) {
this.gotoAndPlay("death");
_root.ENEMY.rebirth = 5;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 30;
_root.ENEMY.Health = 1000;
damage = 37;
_root.player.target1 == 2;
friction = 2;
jump = 7;
hangtime = 2;
rebirth = 2;
autospawn = 40;
_root.ENEMY.rebirth = 1;
falling = 0;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
Health = Health - (1000 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
quota = quota + 3;
timebomb = 0;
Health = 0;
}
if ((autospawn < 0) && (autospawn < 65)) {
_root.player.target1 == 2;
}
if (_root.player.timestop > 0) {
this.SWORD.strike.gotoAndStop(1);
this.SWORD.gotoAndStop(1);
}
if (_root.player.timestop > 0) {
this.seed.stop();
}
if (_root.player.timestop < 1) {
this.seed.play();
}
if ((_root.player.DTIME > 5) && (_root.player.DTIME < 10)) {
hangtime = 2;
}
_y = (_y + falling);
_y = (_y - jump);
_x = (_x + damage);
autospawn = autospawn + rebirth;
falling = falling + hangtime;
}
Frame 23
if (_root.OAmission < 6) {
_root.OAmission = 6;
}
_quality = "High";
stop();
Stage.showMenu = false;
Instance of Symbol 986 MovieClip in Frame 23
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if (_root.killstats < _root.kills) {
_root.killstats = _root.killstats + 1;
}
if ((_root.killstats == _root.kills) && (_root.scorestats < _root.score)) {
_root.scorestats = _root.scorestats + 90;
}
if (((_root.killstats == _root.kills) && (_root.scorestats == _root.score)) && (_root.damagestats < _root.damage)) {
_root.damagestats = _root.damagestats + 5;
}
if (_root.killstats > _root.kills) {
_root.killstats = _root.kills;
}
if (_root.damagestats > _root.damage) {
_root.damagestats = _root.damage;
}
if (_root.scorestats > _root.score) {
_root.scorestats = _root.score;
}
if (key.IsDown(32)) {
_root.killstats = _root.kills;
}
if (key.IsDown(32) && (_root.killstats == _root.kills)) {
_root.scorestats = _root.score;
}
if ((key.IsDown(32) && (_root.killstats == _root.kills)) && (_root.scorestats == _root.score)) {
_root.damagestats = _root.damage;
}
if ((((_root.scorestats > 45500) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(6);
clearer = 1;
_root.rank5 = 5;
}
if (((((_root.scorestats > 43000) && (_root.scorestats < 45500)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(5);
clearer = 1;
_root.rank5 = 4;
}
if (((((_root.scorestats > 41000) && (_root.scorestats < 43000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(4);
clearer = 1;
_root.rank5 = 3;
}
if (((((_root.scorestats > 40500) && (_root.scorestats < 43000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(3);
clearer = 1;
_root.rank5 = 2;
}
if ((((_root.scorestats < 20500) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(2);
clearer = 1;
_root.rank5 = 1;
}
if (_root.OAminutes < _root.minutes) {
_root.OAminutes = _root.minutes;
_root.OAseconds = _root.seconds;
}
_root.damage = _root.Healthfull - _root.Health;
_root.minutestats = _root.minutes;
_root.secondstats = _root.seconds;
}
Frame 24
_quality = "High";
stop();
Stage.showMenu = false;
Frame 25
_quality = "High";
stop();
Stage.showMenu = false;
Frame 26
if (_root.quality == 1) {
_quality = "Medium";
}
if (_root.quality == 2) {
_quality = "High";
}
if (_root.quality == 3) {
_quality = "Low";
}
stop();
Stage.showMenu = false;
Instance of Symbol 594 MovieClip "player" in Frame 26
onClipEvent (load) {
goal = 1;
MISSIONCLEAR = 0;
die = random(3);
_root.minutes = 0;
_root.seconds = 0;
_root.Speedheart = 5;
_root.pause._visible = false;
_root.targeter._visible = false;
_root.mission = 6;
_root.score = 0;
_root.Health = (_root.level * 100) + 200;
_root.kills = 0;
gravity = 1;
skin = 1;
damage = 0;
clock = 0;
ticker = 1;
targeting = 0;
filler = 2;
gun = 1;
attack = 0;
friction = 0;
motion = 13;
hangtime = 1;
falling = 0;
jump = 0;
blade = 1;
hits = 0;
thrower = 1;
DEVIL = 0;
_root.DRIVE = 0;
time = 1;
powerup = 0;
_root.gauge.percent = 0;
down = 1;
quota = (2 * _root.kills) + 10;
target = 0;
target2 = 0;
comboset = 0;
combo = 0;
comboreset = 0;
}
onClipEvent (enterFrame) {
if (_root.level < 1) {
_root.level = 1;
_root.Health = 300;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 1)) {
this._xscale = -55;
this._x = this._x + (motion * 1.1);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 1;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 1)) {
this._xscale = 55;
this._x = this._x - (motion * 1.1);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 1;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 4)) {
this._xscale = -55;
this._x = this._x + (motion * 1.4);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 2.5;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 4)) {
this._xscale = 55;
this._x = this._x - (motion * 1.4);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 2.5;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 2)) {
this._xscale = -55;
this._x = this._x + (motion * 1.35);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 0.6;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 2)) {
this._xscale = 55;
this._x = this._x - (motion * 1.35);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 0.6;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 3)) {
this._xscale = -55;
this._x = this._x + (motion * 0.95);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 2;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 3)) {
this._xscale = 55;
this._x = this._x - (motion * 0.95);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 2;
}
if (falling > 60) {
falling = 60;
hangtime = 0;
}
if (_xscale > 0) {
this._x = this._x - attack;
} else if (_xscale < 0) {
this._x = this._x + attack;
}
if (((_y > 325) && (falling > 0)) && (gravity > 0)) {
this._y = 351;
falling = 0;
hangtime = 0;
jump = 0;
this.gotoAndStop(1);
}
if (((_y > 325) && (faller > 0.5)) && (gravity > 0)) {
this._y = 349.79;
faller = 0;
plundge = 0;
jump = 0;
} else if (((_y > 325) && (falling > 3)) && (gravity > 0)) {
this._y = 349.79;
falling = 0;
hangtime = 0;
this._x = this._x - attack;
}
if (attack < 0) {
attack = 0;
friction = 0;
}
if (((jump > 0) && (this._x < 10)) && (key.IsDown(37))) {
this.gotoAndPlay("wallride");
this._x = 11;
_xscale = -55;
}
if ((jump > 0) && (this._x == 11)) {
this._x = 11;
_xscale = -55;
}
if (((jump > 0) && (this._x > 790)) && (key.IsDown(39))) {
this.gotoAndPlay("wallride");
this._x = 789;
_xscale = 55;
}
if ((jump > 0) && (this._x == 789)) {
this._x = 789;
_xscale = 55;
}
if ((DEVIL > 0) && (blade == 1)) {
this.capel.gotoAndStop(2);
this.arml.gotoAndStop(2);
this.arm.gotoAndStop(2);
this.head.gotoAndStop(2);
this.cape.gotoAndStop(2);
this.body.gotoAndStop(2);
this.glow.gotoAndStop(2);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(2);
}
if ((DEVIL > 0) && (blade == 2)) {
this.capel.gotoAndStop(3);
this.arml.gotoAndStop(3);
this.arm.gotoAndStop(3);
this.head.gotoAndStop(3);
this.cape.gotoAndStop(3);
this.body.gotoAndStop(3);
this.glow.gotoAndStop(3);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(3);
}
if ((DEVIL > 0) && (blade == 3)) {
this.capel.gotoAndStop(4);
this.arml.gotoAndStop(4);
this.arm.gotoAndStop(4);
this.head.gotoAndStop(4);
this.cape.gotoAndStop(4);
this.body.gotoAndStop(4);
this.glow.gotoAndStop(4);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(4);
}
if ((DEVIL > 0) && (blade == 4)) {
this.capel.gotoAndStop(5);
this.arml.gotoAndStop(5);
this.arm.gotoAndStop(5);
this.head.gotoAndStop(5);
this.cape.gotoAndStop(5);
this.body.gotoAndStop(5);
this.glow.gotoAndStop(5);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(5);
} else if (DEVIL < 1) {
this.capel.gotoAndStop(1);
this.arml.gotoAndStop(1);
this.arm.gotoAndStop(1);
this.head.gotoAndStop(1);
this.cape.gotoAndStop(1);
this.body.gotoAndStop(1);
this.glow.gotoAndStop(1);
this.static.gotoAndStop(1);
this.power._visible = false;
}
if (this._x > 800) {
this._x = 800;
} else if (this._x < 0) {
this._x = 0;
}
if ((key.isDown(70) && (DEVIL < 1)) && (_root.gauge.percent > 25)) {
this.gotoAndPlay("devilmode");
} else if (key.isDown(70) && (DEVIL > 0)) {
this.gotoAndPlay("devilexit");
}
if ((powerup > 30) && (pause < 1)) {
_root.gauge.percent = _root.gauge.percent + 1;
powerup = 0;
}
if (_root.gauge.percent > 99) {
time = 0;
} else if (_root.gauge.percent < 99) {
time = 1;
}
if ((DEVIL > 0) && (pause < 1)) {
powerdown = powerdown + down;
}
if (powerdown > 9) {
_root.gauge.percent = _root.gauge.percent - 1;
_root.Health = _root.Health + 1;
powerdown = 0;
}
if ((DEVIL < 1) && (pause < 1)) {
powerup = powerup + time;
}
if (_root.gauge.meterX._xscale > _root.gauge.meter._xscale) {
_root.meterX._xscale = _root.meterX._xscale - 0.75;
} else if (_root.gauge.meterX._xscale < _root.gauge.meter._xscale) {
_root.meterX._xscale = _root.gauge.meter._xscale;
}
if ((_root.gauge.percent < 1) && (DEVIL > 0)) {
_root.meterX._xscale = _root.gauge.meter._xscale;
this.gotoAndPlay("devilexit");
DEVIL = 0;
_root.gauge.percent = 0;
}
if (_xscale > 0) {
this._x = this._x + damage;
} else if (_xscale < 0) {
this._x = this._x - damage;
}
if (damage < 0) {
damage = 0;
friction2 = 0;
}
if (_root.Health > _root.Healthfull) {
_root.Health = _root.Healthfull;
}
if (((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits < 2)) && (shadowmode < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 45;
} else if (((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits < 2)) && (shadowmode < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 45;
} else if (((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits > 1)) && (shadowmode < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
falling = 0;
hangtime = 0;
_root.Health = _root.Health - 55;
} else if (((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits > 1)) && (shadowmode < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 55;
}
if (((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x > _x)) && (hits < 2)) && (shadowmode < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 28;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 45;
} else if (((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x < _x)) && (hits < 2)) && (shadowmode < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 28;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 45;
} else if (((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x > _x)) && (hits > 1)) && (shadowmode < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
combo = 0;
damage = 33;
jump = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 65;
} else if (((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x < _x)) && (hits > 1)) && (shadowmode < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 33;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 65;
} else if (((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits > 1)) && (shadowmode < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
friction2 = 1.5;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
_root.Health = _root.Health - 65;
} else if (((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits > 1)) && (shadowmode < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 65;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits > 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 65;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits > 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 35;
}
if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
}
if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
}
if ((this.core.hitTest(_root.ENEMY.TAIL.strike.hitbox) && (_root.ENEMY._x > _x)) && (shadowmode < 1)) {
this.gotoAndPlay("Impale");
_xscale = 55;
damage = 0;
attack = 0;
friction = 0;
friction2 = 0;
plundge = 5;
_root.Health = _root.Health - 90;
} else if ((this.core.hitTest(_root.ENEMY.TAIL.strike.hitbox) && (_root.ENEMY._x < _x)) && (shadowmode < 1)) {
this.gotoAndPlay("Impale");
_xscale = 55;
damage = 0;
attack = 0;
friction = 0;
friction2 = 0;
plundge = 5;
_root.Health = _root.Health - 90;
}
if (_root.Health < 1) {
_root.Health = 0;
this.gotoAndStop("death");
_root.death = _root.death + 1;
motion = 0;
DEVIL = 0;
down = 0;
time = 0;
combo = 0;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 30;
faller = 5;
DIE = 5;
_root.gauge.percent = 0;
}
if (_root.kills > quota) {
this.quota = this.quota + (_root.kills * 2);
this.quota = this.quota + 5;
_root.levelup.play();
}
if (_root.ENEMY2.Health <= 0) {
target1 = 1;
} else if (_root.ENEMY.Health <= 0) {
target1 = 2;
} else if (((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY._x < _root.ENEMY2._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY._x > _root.ENEMY2._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _x)) && (_root.ENEMY._x < _x)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _x)) && (_root.ENEMY._x < _x)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _x)) && (_root.ENEMY._x > _x)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _x)) && (_root.ENEMY._x > _x)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
}
if (target1 == 1) {
_root.targeter._x = _root.ENEMY._x;
_root.targeter._y = _root.ENEMY._y - 46;
} else if (target1 == 2) {
_root.targeter._x = _root.ENEMY2._x;
_root.targeter._y = _root.ENEMY2._y - 46;
}
if (gun == 1) {
this.arml.gun.gotoAndStop(1);
this.arm.gun.gotoAndStop(1);
_root.pause.guns.gotoAndStop(1);
} else if (gun == 2) {
this.arml.gun.gotoAndStop(2);
this.arm.gun.gotoAndStop(2);
_root.pause.guns.gotoAndStop(2);
} else if (gun == 3) {
this.arml.gun.gotoAndStop(3);
this.arm.gun.gotoAndStop(3);
_root.pause.guns.gotoAndStop(3);
} else if (gun == 4) {
this.arml.gun.gotoAndStop(4);
this.arm.gun.gotoAndStop(4);
_root.pause.guns.gotoAndStop(4);
}
if ((key.IsDown(88) && (_root.shotgun > 0)) && (gun == 1)) {
_root.gunswitch.gotoAndStop(2);
} else if ((key.IsDown(88) && (_root.grenade > 0)) && (gun == 2)) {
_root.gunswitch.gotoAndStop(3);
} else if ((key.IsDown(88) && (_root.submachine > 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(4);
} else if ((key.IsDown(88) && (_root.grenade < 1)) && (gun == 2)) {
_root.gunswitch.gotoAndStop(1);
} else if ((key.IsDown(88) && (_root.submachine < 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(1);
} else if ((key.IsDown(88) && (_root.submachine > 0)) && (gun == 4)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.lightning > 0)) && (blade == 1)) {
_root.swordswitch.gotoAndStop(2);
} else if ((key.IsDown(90) && (_root.hellfire > 0)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(3);
} else if ((key.IsDown(90) && (_root.devilsdemise > 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(4);
} else if ((key.IsDown(90) && (_root.hellfire < 1)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(1);
} else if ((key.IsDown(90) && (_root.devilsdemise < 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(1);
} else if ((key.IsDown(90) && (_root.devilsdemise > 0)) && (blade == 4)) {
_root.swordswitch.gotoAndStop(1);
}
if (gun == 3) {
this.bazooka.gotoAndStop(1);
} else if (gun == 4) {
this.bazooka.gotoAndStop(2);
} else if (gun == 2) {
this.bazooka.gotoAndStop(3);
} else if (gun == 1) {
this.bazooka.gotoAndStop(4);
}
if (blade == 3) {
this.fire._visible = true;
this.bolt._visible = false;
_root.pause.swords.gotoAndStop(3);
this.sword.gotoAndStop(3);
this.hate._visible = false;
this.light.gotoAndStop(3);
} else if (blade == 2) {
_root.pause.swords.gotoAndStop(2);
this.bolt._visible = true;
this.fire._visible = false;
this.sword.gotoAndStop(2);
this.hate._visible = false;
this.light.gotoAndStop(2);
} else if (blade == 1) {
this.fire._visible = false;
_root.pause.swords.gotoAndStop(1);
this.bolt._visible = false;
this.hate._visible = false;
this.light.gotoAndStop(1);
this.sword.gotoAndStop(1);
} else if (blade == 4) {
this.light.gotoAndStop(4);
this.hate._visible = true;
_root.pause.swords.gotoAndStop(4);
this.fire._visible = false;
this.bolt._visible = false;
this.sword.gotoAndStop(4);
}
if (DEVIL > 0) {
this.cape._visible = true;
this.capel._visible = true;
this.arm.gun.machine.gotoAndStop(2);
}
if (DEVIL < 1) {
this.arm.gun.machine.gotoAndStop(1);
}
if (((targeting < 1) && (key.IsDown(32))) && (timing > 25)) {
_root.targeter._visible = true;
targeting = 1;
timing = 0;
filler = 1;
} else if (((targeting > 0) && (key.IsDown(32))) && (timing > 25)) {
targeting = 0;
timing = 0;
filler = 1;
_root.targeter._visible = false;
}
if (((key.IsDown(67) && (pause < 1)) && (timing > 25)) && (DIE < 1)) {
pause = 5;
timing = 0;
filler = 1;
_root.pause._visible = true;
} else if ((key.IsDown(67) && (pause > 0)) && (timing > 25)) {
pause = 0;
hangtime = 3;
_root.ENEMY2.hangtime = 3;
_root.ENEMY.hangtime = 3;
play();
_root.pause._visible = false;
_root.pause.gotoAndStop(1);
timing = 0;
filler = 1;
}
if ((pause > 0) && (_y > 270)) {
this.gotoAndStop("pauseground");
hangtime = 0;
jump = 0;
plundge = 0;
falling = 0;
faller = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if ((pause > 0) && (_y < 270)) {
this.gotoAndStop("pauseair");
hangtime = 0;
jump = 0;
plundge = 0;
falling = 0;
faller = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if (comboreset > 120) {
combo = 0;
comboset = 0;
combo = combo - 2;
}
if (combo < 1) {
_root.style.gotoAndStop(1);
combo = 0;
comboreset = 0;
} else if ((combo > 1) && (combo < 50)) {
_root.style.gotoAndStop(2);
_root.score = _root.score + 1;
} else if ((combo > 50) && (combo < 110)) {
_root.style.gotoAndStop(3);
_root.score = _root.score + 1;
} else if ((combo > 110) && (combo < 160)) {
_root.style.gotoAndStop(4);
_root.score = _root.score + 1;
} else if ((combo > 160) && (combo < 210)) {
_root.style.gotoAndStop(5);
_root.score = _root.score + 2;
} else if ((combo > 210) && (combo < 280)) {
_root.style.gotoAndStop(6);
_root.score = _root.score + 2;
} else if (combo > 280) {
_root.style.gotoAndStop(7);
_root.score = _root.score + 3;
}
if (_root.Health > 0) {
DIE = 0;
}
if (DIE > 0) {
_root.gameover.play();
hangtime = 0;
_root.pause._visible = false;
jump = 0;
falling = 0;
attack = 0;
damage = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if ((skin < 2) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 2) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(2);
this.arm.skin.gotoAndStop(2);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(2);
this.dead.death.arm.skin.gotoAndStop(2);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 3) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(4);
this.arm.skin.gotoAndStop(4);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(4);
this.dead.death.arm.skin.gotoAndStop(4);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 4) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(2);
this.arm.skin.gotoAndStop(2);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(2);
this.dead.death.arm.skin.gotoAndStop(2);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 5) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 6) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 7) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(3);
this.arml.skin.gotoAndStop(3);
this.arm.skin.gotoAndStop(3);
this.cape._visible = true;
this.capel._visible = true;
this.cape.skin.gotoAndStop(2);
this.capel.skin.gotoAndStop(2);
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(3);
this.dead.death.arml.skin.gotoAndStop(3);
this.dead.death.arm.skin.gotoAndStop(3);
this.dead.death.cape._visible = true;
this.dead.death.cape.skin.gotoAndStop(2);
this.dead.death.capel.skin.gotoAndStop(2);
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 8) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(4);
this.arml.skin.gotoAndStop(4);
this.arm.skin.gotoAndStop(4);
this.cape._visible = true;
this.capel._visible = true;
this.cape.skin.gotoAndStop(3);
this.capel.skin.gotoAndStop(3);
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(4);
this.dead.death.arml.skin.gotoAndStop(4);
this.dead.death.arm.skin.gotoAndStop(4);
this.dead.death.cape._visible = true;
this.dead.death.cape.skin.gotoAndStop(3);
this.dead.death.capel.skin.gotoAndStop(3);
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
}
if ((skin < 7) && (DEVIL < 1)) {
this.capel.skin.gotoAndStop(1);
this.head.skin.gotoAndStop(1);
this.dead.death.cape.skin.gotoAndStop(1);
this.dead.death.capel.skin.gotoAndStop(1);
}
if (clock > 27) {
_root.seconds = _root.seconds + 1;
clock = 0;
}
if (_root.seconds > 60) {
_root.Minutes = _root.Minutes + 1;
_root.seconds = 0;
}
if (_root.mission == 6) {
_root.pause.mission.gotoAndStop(6);
}
if (_root.kills > 0) {
_root.exit.play();
hangtime = 0;
_root.pause._visible = false;
this.stop();
jump = 0;
falling = 0;
attack = 0;
damage = 0;
motion = 0;
this.power._visible = false;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.SWORD.strike.gotoAndStop(1);
_root.ENEMY.SWORD.strike.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
_root.ENEMY2.motion = 0;
_root.ENEMY.motion = 0;
DEVIL = 0;
}
if (((key.IsDown(81) && (_root.Speedheart > 0)) && (Heart == 1)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(2);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart > 0)) && (Heart == 2)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(3);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart > 0)) && (Heart == 3)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(1);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart < 1)) && (Heart == 2)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(1);
heartchange = 0;
}
if ((((Heart == 2) && (DEVIL > 0)) && (healing > 9)) && (pause < 1)) {
_root.Health = _root.Health + 3;
_root.gauge.percent = _root.gauge.percent - 1;
healing = 0;
}
if ((((Heart == 3) && (DEVIL > 0)) && (healing > 17)) && (pause < 1)) {
_root.gauge.percent = _root.gauge.percent + 1;
_root.Health = _root.Health - 5;
healing = 0;
}
if (Heart == 1) {
_root.gauge.meter.gotoAndStop(1);
}
if (Heart == 2) {
_root.gauge.meter.gotoAndStop(2);
}
if (Heart == 3) {
_root.gauge.meter.gotoAndStop(3);
}
if (clock > 27) {
_root.OAseconds = _root.OAseconds + 1;
clock = 0;
}
if (_root.OAseconds > 60) {
_root.OAMinutes = _root.OAMinutes + 1;
_root.OAseconds = 0;
}
if (_root.kills > goal) {
MISSIONCLEAR = 20;
}
if (_root.rumble > 0) {
_root.pause.rumble.gotoAndStop(3);
}
if ((this.core.hitTest(_root.ENEMY3.dead) && (_x < _root.ENEMY3._x)) && (shadowmode < 1)) {
damage = 35;
friction2 = 1;
hangtime = 0;
falling = 0;
plundge = 20;
this.gotoAndPlay("down");
_xscale = -55;
Health = Health - 60;
}
if ((this.core.hitTest(_root.ENEMY3.dead) && (_x > _root.ENEMY3._x)) && (shadowmode < 1)) {
damage = 35;
friction2 = 1;
hangtime = 0;
falling = 0;
plundge = 20;
this.gotoAndPlay("down");
_xscale = -55;
Health = Health - 60;
}
if (((((this._xscale > 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x > _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 1;
target1 = 0;
}
if (((((this._xscale > 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x < _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 0;
target1 = 2;
}
if (((((this._xscale < 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x > _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 0;
target1 = 2;
}
if (((((this._xscale < 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x < _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 1;
target1 = 0;
}
if (_root.ENEMY2.Health < 1) {
target2 = 1;
}
if (_y < -30) {
hangtime = 2;
this.gotoAndStop("plummet");
}
if (_root.rumble < 1) {
_root.pause.rumble.gotoAndStop(2);
}
if (gravity == 1) {
_root.Combo.hitter = _root.Combo.hits;
_yscale = 55;
this._y = this._y + (falling * gravity);
_root.Healthfull = (_root.level * 100) + 200;
this._y = this._y - (jump * gravity);
fill = fill + 1;
heartchange = heartchange + 1;
this.shoot.gotoAndStop(random(5));
falling = falling + (hangtime * gravity);
attack = attack - friction;
clock = clock + ticker;
damage = damage - friction2;
fillerup = fillerup + 1;
faller = faller + (plundge * gravity);
_root.combo.hits = combo;
comboreset = comboreset + comboset;
this._y = this._y + (faller * gravity);
healing = healing + 1;
speder = speder + 1;
timing = timing + filler;
this._y = this._y - (wallrun * gravity);
_root.gauge.meter._xscale = _root.gauge.percent;
}
if (gravity == -1) {
_yscale = -55;
_root.Combo.hitter = _root.Combo.hits;
this._y = this._y - falling;
_root.Healthfull = (_root.level * 100) + 200;
this._y = this._y + jump;
fill = fill + 1;
heartchange = heartchange + 1;
this.shoot.gotoAndStop(random(5));
falling = falling + hangtime;
attack = attack - friction;
clock = clock + ticker;
damage = damage - friction2;
fillerup = fillerup + 1;
faller = faller + plundge;
_root.combo.hits = combo;
comboreset = comboreset + comboset;
this._y = this._y - faller;
healing = healing + 1;
speder = speder + 1;
timing = timing + filler;
this._y = this._y + wallrun;
_root.gauge.meter._xscale = _root.gauge.percent;
}
if (((_y < 70) && (falling > 0)) && (gravity < 0)) {
this._y = 70;
falling = 0;
hangtime = 0;
jump = 0;
this.gotoAndStop(1);
} else if (((_y < 70) && (faller > 0)) && (gravity < 0)) {
this._y = 70;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 0;
faller = 0;
}
if ((((gravity == -1) && (blade == 2)) && (refill < 1)) && (pause < 1)) {
timevertex = timevertex + 2;
}
if (((((gravity == -1) && (blade == 2)) && (timevertex > 400)) && (refill < 1)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
refill = 5;
this.gotoAndStop("fall");
timevertex = 400;
}
if ((refill > 0) && (pause < 1)) {
timevertex = timevertex - 1;
}
if (gravity > 0) {
timevertex = timevertex - 1;
}
if ((timevertex < 3) && (pause < 1)) {
refill = 0;
}
if (((blade < 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if (((blade > 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if (((blade == 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if ((((blade < 2) && (_root.mission > 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade > 2) && (_root.mission > 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade < 2) && (_root.mission < 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade > 2) && (_root.mission < 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == 1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission < 7)) && (pause < 1)) {
gravity = -1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == -1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission < 7)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == 1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission > 7)) && (pause < 1)) {
gravity = -1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == -1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission > 7)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if ((this._y == 70) && (gravity == -1)) {
this.Staticform2._visible = true;
} else if ((this._y > 60) && (gravity == -1)) {
this.Staticform2._visible = false;
} else if (gravity == 1) {
this.Staticform2._visible = false;
}
if ((_y > 480) && (gravity < 0)) {
this.gotoAndStop("plummet");
}
if (timestop > 0) {
my_color = new Color(_root.ENEMY);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.ENEMY2);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.ENEMY3);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.BG);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.travel);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
}
if (timestop < 1) {
my_color = new Color(_root.ENEMY);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.ENEMY2);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.ENEMY3);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.BG);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.travel);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
}
if ((timestop > 0) && (pause < 1)) {
timestart = timestart + 1;
refiller = 0;
}
if ((timestop < 1) && (pause < 1)) {
refiller = refiller + 1;
}
if ((timestart > 500) && (pause < 1)) {
this.timetrigger.gotoAndStop(3);
timestop = 0;
enable = 1;
refiller = 0;
timestart = 0;
}
if (refiller > 300) {
enable = 0;
}
if ((((((blade == 3) && (key.IsDown(38))) && (key.IsDown(65))) && (DTIME > 30)) && (timestop < 1)) && (enable < 1)) {
timestop = 2;
DTIME = 0;
this.timetrigger.gotoAndStop(2);
}
if (((((blade == 3) && (key.IsDown(38))) && (key.IsDown(65))) && (DTIME > 30)) && (timestop > 1)) {
timestop = 0;
DTIME = 0;
this.timetrigger.gotoAndStop(3);
}
if ((blade < 3) && (pause < 1)) {
timestop = 0;
dropout = dropout - 1;
}
if ((blade > 3) && (pause < 1)) {
timestop = 0;
dropout = dropout - 1;
}
if (((((((blade == 4) && (key.IsDown(38))) && (key.IsDown(65))) && (PTIME > 30)) && (shadowset > 1000)) && (shadowmode < 1)) && (pause < 1)) {
this.shadowtiming.gotoAndStop(2);
shadowmode = 5;
PTIME = 0;
}
if (shadowmode > 0) {
my_color = new Color(_root.player);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_alpha = 50;
this.CORE._width = 0;
this.CORE._height = 0;
shadowexit = shadowexit + 2;
}
if ((shadowexit > 900) && (pause < 1)) {
shadowmode = 0;
PTIME = 0;
shadowset = 0;
shadowexit = 0;
this.shadowtiming.gotoAndStop(3);
}
if (shadowmode < 1) {
my_color = new Color(_root.player);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_alpha = 100;
this.CORE._width = 0;
this.CORE._height = 0;
shadowset = shadowset + 2;
}
if ((blade < 4) && (shadowmode > 0)) {
shadowmode = 0;
this.shadowtiming.gotoAndStop(3);
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (PTIME > 30)) && (shadowmode > 0)) && (pause < 1)) {
shadowmode = 0;
PTIME = 0;
this.shadowtiming.gotoAndStop(3);
}
if (shadowmode > 0) {
this.swordBox._width = 2000;
this.slashBox._width = 2000;
this.ripBox._width = 2000;
}
if (shadowmode < 1) {
this.swordBox._width = 240;
this.slashBox._width = 240;
this.ripBox._width = 240;
}
if ((key.IsDown(86) && (_root.submachine < 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(88) && (_root.submachine > 0)) && (gun == 4)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.lightning > 0)) && (blade == 1)) {
_root.swordswitch.gotoAndStop(2);
}
if ((key.IsDown(90) && (_root.hellfire > 0)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(3);
}
if ((key.IsDown(90) && (_root.devilsdemise > 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(4);
}
if ((key.IsDown(90) && (_root.hellfire < 1)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.devilsdemise < 2)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.devilsdemise > 0)) && (blade == 4)) {
_root.swordswitch.gotoAndStop(1);
}
if (((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits < 2)) && (shadowmode < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 45;
} else if (((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits < 2)) && (shadowmode < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 45;
} else if (((this.core.hitTest(_root.ENEMY.TAIL.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits > 1)) && (shadowmode < 1)) {
this.gotoAndPlay("impale");
_xscale = -55;
hits = 0;
damage = 0;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 0;
falling = 0;
hangtime = 0;
_root.Health = _root.Health - 80;
} else if ((this.core.hitTest(_root.ENEMY.TAIL.strike.hitbox) && (_root.ENEMY._x < _x)) && (shadowmode < 1)) {
this.gotoAndPlay("impale");
_xscale = 55;
hits = 0;
damage = 0;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 0;
_root.Health = _root.Health - 80;
}
if ((gravity < 0) && (_y > 350)) {
this.gotoAndStop("plummet");
plundge = 2;
}
if (die == 1) {
this.dead.gotoAndStop(1);
}
if ((die == 2) && (_y > 300)) {
this.dead.gotoAndStop(2);
}
if ((die == 3) && (_y > 300)) {
this.dead.gotoAndStop(3);
}
if (_root.OAmission < 6) {
_root.OAmission = 6;
}
if ((timestart > 500) && (_root.ENEMY._y < 350)) {
_root.ENEMY.hangtime = 3;
_root.ENEMY.play();
}
if ((timestart > 500) && (_root.ENEMY2._y < 350)) {
_root.ENEMY2.hangtime = 3;
_root.ENEMY2.play();
}
if ((timestart > 500) && (_root.ENEMY3._y < 350)) {
_root.ENEMY3.hangtime = 3;
_root.ENEMY3.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY.hangtime = 3;
_root.ENEMY.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY2._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY2.hangtime = 3;
_root.ENEMY2.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY3._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY3.hangtime = 3;
_root.ENEMY3.play();
} else {
_rotation = 0;
}
GTIME = GTIME + 1;
PTIME = PTIME + 1;
DTIME = DTIME + 1;
}
Instance of Symbol 1573 MovieClip "ENEMY" in Frame 26
onClipEvent (load) {
jump = 0;
hangtime = 3;
falling = 0;
damage = 0;
motion = 0.7;
Health = 9000;
this.fire._alpha = 0;
}
onClipEvent (enterFrame) {
if ((falling > 60) && (_root.player.MISSIONCLEAR < 1)) {
falling = 60;
}
if ((_y > 353) && (falling > 0)) {
_y = 353;
falling = 0;
jump = 0;
hangtime = 0;
}
if (((_root.player._x > (_x + 160)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this._x = this._x + motion;
this.SWORD.gotoAndStop(1);
}
if (((_root.player._x < (_x - 160)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
this._xscale = -100;
this._x = this._x - motion;
this.SWORD.gotoAndStop(1);
}
if ((((_root.player._x > (_x + 160)) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this.SWORD.gotoAndStop(2);
}
if (((((_xscale < 0) && (_root.player._x > (_x - 160))) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this.SWORD.gotoAndStop(2);
}
if (((((_xscale > 0) && (_root.player._x < (_x + 160))) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this.SWORD.gotoAndStop(2);
}
if (_xscale > 0) {
aim = -90;
} else if (_xscale < 0) {
aim = 90;
}
if (this.Core.hitTest(_root.player.GUNBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("shot");
damage = 2;
friction = 1;
jump = 2.4;
this.SWORD.strike.gotoAndStop(1);
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if (this.Core.hitTest(_root.player.GUNBOX2)) {
this.gotoAndPlay("shot");
damage = 2;
friction = 1;
jump = 2.4;
hangtime = 1;
this.SWORD.strike.gotoAndStop(1);
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX)) {
this.gotoAndPlay("slash");
damage = 5;
friction = 2;
jump = 2.4;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 40;
_root.Combo.gotoAndPlay(2);
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (_root.player.DEVIL * 10);
this.SWORD.strike.gotoAndStop(1);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX)) {
this.gotoAndPlay("slash");
damage = 6;
friction = 2;
jump = 3;
this.SWORD.strike.gotoAndStop(1);
hangtime = 2;
falling = 0;
Health = Health - (50 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 80;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.STABBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("slash");
damage = 3;
friction = 1;
this.SWORD.strike.gotoAndStop(1);
jump = 4;
hangtime = 2;
falling = 0;
Health = Health - (55 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 60;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if ((this.Core.hitTest(_root.player.GUNBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
this.SWORD.strike.gotoAndStop(1);
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if (this.Core.hitTest(_root.player.GUNBOX2) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
this.SWORD.strike.gotoAndStop(1);
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (30 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
this.SWORD.strike.gotoAndStop(1);
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 20;
_root.Combo.hits = _root.Combo.hits + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (50 * _root.player.strength);
autospawn = 0;
rebirth = 1;
this.SWORD.strike.gotoAndStop(1);
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if ((this.Core.hitTest(_root.player.STABBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("death");
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (55 * _root.player.strength);
autospawn = 0;
rebirth = 1;
this.SWORD.strike.gotoAndStop(1);
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(3);
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health > 0)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("slash");
damage = 27;
friction = 2;
jump = 4;
hangtime = 2;
falling = 0;
this.SWORD.strike.gotoAndStop(1);
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 50;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(2);
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("death");
damage = 27;
friction = 2;
jump = 5;
this.SWORD.strike.gotoAndStop(1);
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (50 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if (this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("slash");
attack = 0;
friction = 0;
damage = 37;
friction2 = 2;
attacktimer = 0;
jump = 7;
hangtime = 2;
autospawn = 0;
falling = 0;
}
if (this._x > 800) {
defend = defend + 2;
this._x = 800;
} else if ((this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target1 == 1)) && (Health > 1)) {
this.gotoAndPlay("shot");
attack = 0;
friction = 0;
damage = 27;
friction2 = 2;
AIattack = 40;
jump = 7;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (1000 * _root.player.strength);
this.BURST.strike.play();
} else if ((this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target1 == 1)) && (Health < 1)) {
this.gotoAndPlay("death");
attack = 0;
friction = 0;
damage = 27;
friction2 = 2;
attacktimer = 0;
jump = 7;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (50 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
}
if (_xscale > 0) {
this._x = this._x - damage;
this.overkill._xscale = 100;
} else if (_xscale < 0) {
this._x = this._x + damage;
this.overkill._xscale = -100;
}
if (damage < 0) {
damage = 0;
friction = 0;
}
if (Health < -50) {
this.overkill.play();
}
if (this._x > 800) {
this._x = 800;
} else if (this._x < 0) {
this._x = 0;
}
if (_root.player.timestop > 0) {
this.SWORD.strike.gotoAndStop(1);
this.TAIL.strike.gotoAndStop(1);
this.TAIL2.strike.gotoAndStop(1);
this.SWORD.gotoAndStop(1);
this.TAIL.gotoAndStop(1);
}
if ((((this.TAIL.strike.hitbox.hitTest(_root.player) && (_xscale > 0)) && (_root.Health > 0)) && (_root.player.pause < 1)) && (_root.player.shadowmode < 1)) {
_root.player._x = _x + 150;
_root.player._xscale = 55;
_root.player.gotoAndPlay("impale");
_root.Health = _root.Health - 30;
_root.player.gravity = 1;
_root.player.plundge = 5;
_root.player.combo = 0;
_root.player.falling = 0;
_root.player.hangtime = 0;
this.TAIL.strike.gotoAndPlay("stabbed");
}
if ((((this.TAIL.strike.hitbox.hitTest(_root.player) && (_xscale < 0)) && (_root.Health > 0)) && (_root.player.pause < 1)) && (_root.player.shadowmode < 1)) {
_root.player._x = _x - 150;
_root.player._xscale = -55;
_root.player.gotoAndPlay("impale");
_root.Health = _root.Health - 30;
_root.player.gravity = 1;
_root.player.plundge = 5;
_root.player.combo = 0;
_root.player.falling = 0;
_root.player.hangtime = 0;
this.TAIL.strike.gotoAndPlay("stabbed");
}
if (((_xscale > 0) && (_root.player._x < (_x + 130))) && (_root.player.pause < 1)) {
stabfill = stabfill + 1;
}
if (((_xscale < 0) && (_root.player._x > (_x - 130))) && (_root.player.pause < 1)) {
stabfill = stabfill + 1;
}
if (((_xscale > 0) && (_root.player._x > (_x + 300))) && (_root.player.pause < 1)) {
staberfill = staberfill + 1;
}
if (((_xscale < 0) && (_root.player._x < (_x - 300))) && (_root.player.pause < 1)) {
staberfill = staberfill + 1;
}
if (((this.TAIL.strike.whip.hitTest(_root.player.staber) && (_xscale > 0)) && (_root.player.pause < 1)) && (_root.player.shadowmode < 1)) {
_root.player._xscale = 55;
_root.Health = _root.Health - 100;
_root.player.gotoAndPlay("down");
_root.player.plundge = 5;
_root.player.damage = 35;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.plundge = 5;
_root.player.combo = 0;
_root.player.falling = 0;
_root.player.hangtime = 0;
}
if (((this.TAIL.strike.whip.hitTest(_root.player.staber) && (_xscale < 0)) && (_root.player.pause < 1)) && (_root.player.shadowmode < 1)) {
_root.player._xscale = -55;
_root.Health = _root.Health - 100;
_root.player.gotoAndPlay("down");
_root.player.plundge = 5;
_root.player.damage = 35;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.plundge = 5;
_root.player.combo = 0;
_root.player.falling = 0;
_root.player.hangtime = 0;
}
if (((stabfill > 110) && (_root.player.TimeStop < 1)) && (_root.player.pause < 1)) {
this.TAIL.gotoAndStop(2);
this.SWORD.gotoAndStop(1);
this.SWORD.strike.gotoAndStop(1);
motion = 0;
}
if ((stabfill < 111) && (_root.player.pause < 1)) {
motion = 0.7;
this.TAIL.gotoAndStop(1);
}
if (_root.Health < 1) {
motion = 0;
this.TAIL.stop();
this.TAIL.strike.stop();
this.TAIL2.stop();
this.TAIL2.strike.stop();
}
if (_root.BHP.meter._width < _root.BHP.meter2._width) {
_root.BHP.meter2._width = _root.BHP.meter2._width - 0.05;
}
if (_root.BHP.meter._width < (_root.BHP.meter2._width - 25)) {
_root.BHP.meter2._width = _root.BHP.meter2._width - 1;
}
if (_root.BHP.meter._width < (_root.BHP.meter2._width - 40)) {
_root.BHP.meter2._width = _root.BHP.meter2._width - 2;
}
if (staberfill > 150) {
this.TAIL2.gotoAndStop(2);
this.SWORD.strike.gotoAndStop(1);
}
if (staberfill > 300) {
staberfill = 0;
}
if (_root.player.pause > 0) {
this.TAIL.strike.gotoAndStop(1);
this.TAIL2.strike.gotoAndStop(1);
this.TAIL.gotoAndStop(1);
this.TAIL2.gotoAndStop(1);
this.SWORD.strike.gotoAndStop(1);
this.SWORD.gotoAndStop(1);
}
if (staberfill < 151) {
this.TAIL2.gotoAndStop(1);
}
if (((this.TAIL2.strike.hitbox.hitTest(_root.player.core) && (_xscale > 0)) && (_root.Health > 0)) && (_root.player.shadowmode < 1)) {
_root.player._xscale = 55;
_root.Health = _root.Health - 80;
_root.player.gotoAndPlay("down");
_root.player.plundge = 5;
_root.player.damage = 40;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.plundge = 5;
_root.player.falling = 0;
_root.player.hangtime = 0;
_root.player.combo = 0;
}
if (((this.TAIL2.strike.hitbox.hitTest(_root.player.core) && (_xscale < 0)) && (_root.Health > 0)) && (_root.player.shadowmode < 1)) {
_root.player._xscale = -55;
_root.Health = _root.Health - 80;
_root.player.gotoAndPlay("down");
_root.player.plundge = 5;
_root.player.damage = 40;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.plundge = 5;
_root.player.falling = 0;
_root.player.hangtime = 0;
_root.player.combo = 0;
}
if (((this.BURST.strike.hitbox.hitTest(_root.player) && (_xscale > 0)) && (_root.Health > 0)) && (stafill < 80)) {
_root.player._xscale = 55;
_root.Health = _root.Health - 50;
_root.player.gotoAndPlay("down");
_root.player.plundge = 5;
_root.player.damage = 40;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.falling = 0;
_root.player.hangtime = 0;
_root.player.plundge = 5;
_root.player.combo = 0;
}
if (((this.BURST.strike.hitbox.hitTest(_root.player) && (_xscale < 0)) && (_root.Health > 0)) && (stafill < 80)) {
_root.player._xscale = -55;
_root.Health = _root.Health - 50;
_root.player.gotoAndPlay("down");
_root.player.plundge = 5;
_root.player.damage = 40;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.falling = 0;
_root.player.hangtime = 0;
_root.player.plundge = 5;
_root.player.combo = 0;
}
if (_root.player.combo > 220) {
this.burst.strike.play();
}
if (_root.player.timestop > 0) {
this.TAIL.tailer.stop();
this.seed.stop();
this.facer.stop;
}
if (_root.player.timestop < 1) {
this.TAIL.tailer.play();
this.seed.play();
this.facer.play();
}
if (this.Core.hitTest(_root.player.SWORDBOX && (_root.player.blade == 3))) {
flames = 80;
}
if (this.Core.hitTest(_root.player.RIPBOX) && (_root.player.blade == 3)) {
flames = 80;
}
if (Health > 0) {
this.fire._alpha = flames;
flames = flames - 1;
}
if (Health < 1) {
flames = 0;
}
if ((_root.player.DTIME > 20) && (_root.player.DTIME < 25)) {
hangtime = 1;
}
_root.BHP.meter._width = Health / 15;
_y = (_y + falling);
_y = (_y - jump);
autospawn = autospawn + rebirth;
damage = damage - friction;
falling = falling + hangtime;
}
Frame 27
if (_root.OAmission < 7) {
_root.OAmission = 7;
}
_quality = "High";
stop();
Stage.showMenu = false;
Instance of Symbol 986 MovieClip in Frame 27
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if (_root.killstats < _root.kills) {
_root.killstats = _root.killstats + 1;
}
if ((_root.killstats == _root.kills) && (_root.scorestats < _root.score)) {
_root.scorestats = _root.scorestats + 90;
}
if (((_root.killstats == _root.kills) && (_root.scorestats == _root.score)) && (_root.damagestats < _root.damage)) {
_root.damagestats = _root.damagestats + 5;
}
if (_root.killstats > _root.kills) {
_root.killstats = _root.kills;
}
if (_root.damagestats > _root.damage) {
_root.damagestats = _root.damage;
}
if (_root.scorestats > _root.score) {
_root.scorestats = _root.score;
}
if (key.IsDown(32)) {
_root.killstats = _root.kills;
}
if (key.IsDown(32) && (_root.killstats == _root.kills)) {
_root.scorestats = _root.score;
}
if ((key.IsDown(32) && (_root.killstats == _root.kills)) && (_root.scorestats == _root.score)) {
_root.damagestats = _root.damage;
}
if ((((_root.scorestats > 10000) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(6);
clearer = 1;
_root.rank6 = 5;
}
if (((((_root.scorestats > 9200) && (_root.scorestats < 10000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(5);
clearer = 1;
_root.rank6 = 4;
}
if (((((_root.scorestats > 8200) && (_root.scorestats < 9200)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(4);
clearer = 1;
_root.rank6 = 3;
}
if (((((_root.scorestats > 7000) && (_root.scorestats < 8200)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(3);
clearer = 1;
_root.rank6 = 2;
}
if ((((_root.scorestats < 7000) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(2);
clearer = 1;
_root.rank6 = 1;
}
if (_root.OAminutes < _root.minutes) {
_root.OAminutes = _root.minutes;
_root.OAseconds = _root.seconds;
}
_root.damage = _root.Healthfull - _root.Health;
_root.minutestats = _root.minutes;
_root.secondstats = _root.seconds;
}
Frame 28
_quality = "High";
stop();
Stage.showMenu = false;
Frame 29
_quality = "High";
stop();
Stage.showMenu = false;
Frame 30
if (_root.quality == 1) {
_quality = "Medium";
}
if (_root.quality == 2) {
_quality = "High";
}
if (_root.quality == 3) {
_quality = "Low";
}
stop();
Stage.showMenu = false;
Instance of Symbol 594 MovieClip "player" in Frame 30
onClipEvent (load) {
goal = 1;
MISSIONCLEAR = 0;
die = random(3);
_root.minutes = 0;
_root.seconds = 0;
_root.Speedheart = 5;
_root.pause._visible = false;
_root.targeter._visible = false;
_root.mission = 7;
_root.score = 0;
_root.Health = (_root.level * 100) + 200;
_root.kills = 0;
gravity = 1;
skin = 1;
damage = 0;
clock = 0;
ticker = 1;
targeting = 0;
filler = 2;
gun = 1;
attack = 0;
friction = 0;
motion = 13;
hangtime = 1;
falling = 0;
jump = 0;
blade = 1;
hits = 0;
thrower = 1;
DEVIL = 0;
_root.DRIVE = 0;
time = 1;
powerup = 0;
_root.gauge.percent = 0;
down = 1;
quota = (2 * _root.kills) + 10;
target = 0;
target2 = 0;
comboset = 0;
combo = 0;
comboreset = 0;
}
onClipEvent (enterFrame) {
if (_root.level < 1) {
_root.level = 1;
_root.Health = 300;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 1)) {
this._xscale = -55;
this._x = this._x + (motion * 1.1);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 1;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 1)) {
this._xscale = 55;
this._x = this._x - (motion * 1.1);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 1;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 4)) {
this._xscale = -55;
this._x = this._x + (motion * 1.4);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 2.5;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 4)) {
this._xscale = 55;
this._x = this._x - (motion * 1.4);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 2.5;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 2)) {
this._xscale = -55;
this._x = this._x + (motion * 1.35);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 0.6;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 2)) {
this._xscale = 55;
this._x = this._x - (motion * 1.35);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 0.6;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 3)) {
this._xscale = -55;
this._x = this._x + (motion * 0.95);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 2;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 3)) {
this._xscale = 55;
this._x = this._x - (motion * 0.95);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 2;
}
if (falling > 60) {
falling = 60;
hangtime = 0;
}
if (_xscale > 0) {
this._x = this._x - attack;
} else if (_xscale < 0) {
this._x = this._x + attack;
}
if (((_y > 325) && (falling > 0)) && (gravity > 0)) {
this._y = 351;
falling = 0;
hangtime = 0;
jump = 0;
this.gotoAndStop(1);
}
if (((_y > 325) && (faller > 0.5)) && (gravity > 0)) {
this._y = 349.79;
faller = 0;
plundge = 0;
jump = 0;
} else if (((_y > 325) && (falling > 3)) && (gravity > 0)) {
this._y = 349.79;
falling = 0;
hangtime = 0;
this._x = this._x - attack;
}
if (attack < 0) {
attack = 0;
friction = 0;
}
if (((jump > 0) && (this._x < 10)) && (key.IsDown(37))) {
this.gotoAndPlay("wallride");
this._x = 11;
_xscale = -55;
}
if ((jump > 0) && (this._x == 11)) {
this._x = 11;
_xscale = -55;
}
if (((jump > 0) && (this._x > 790)) && (key.IsDown(39))) {
this.gotoAndPlay("wallride");
this._x = 789;
_xscale = 55;
}
if ((jump > 0) && (this._x == 789)) {
this._x = 789;
_xscale = 55;
}
if ((DEVIL > 0) && (blade == 1)) {
this.capel.gotoAndStop(2);
this.arml.gotoAndStop(2);
this.arm.gotoAndStop(2);
this.head.gotoAndStop(2);
this.cape.gotoAndStop(2);
this.body.gotoAndStop(2);
this.glow.gotoAndStop(2);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(2);
}
if ((DEVIL > 0) && (blade == 2)) {
this.capel.gotoAndStop(3);
this.arml.gotoAndStop(3);
this.arm.gotoAndStop(3);
this.head.gotoAndStop(3);
this.cape.gotoAndStop(3);
this.body.gotoAndStop(3);
this.glow.gotoAndStop(3);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(3);
}
if ((DEVIL > 0) && (blade == 3)) {
this.capel.gotoAndStop(4);
this.arml.gotoAndStop(4);
this.arm.gotoAndStop(4);
this.head.gotoAndStop(4);
this.cape.gotoAndStop(4);
this.body.gotoAndStop(4);
this.glow.gotoAndStop(4);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(4);
}
if ((DEVIL > 0) && (blade == 4)) {
this.capel.gotoAndStop(5);
this.arml.gotoAndStop(5);
this.arm.gotoAndStop(5);
this.head.gotoAndStop(5);
this.cape.gotoAndStop(5);
this.body.gotoAndStop(5);
this.glow.gotoAndStop(5);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(5);
} else if (DEVIL < 1) {
this.capel.gotoAndStop(1);
this.arml.gotoAndStop(1);
this.arm.gotoAndStop(1);
this.head.gotoAndStop(1);
this.cape.gotoAndStop(1);
this.body.gotoAndStop(1);
this.glow.gotoAndStop(1);
this.static.gotoAndStop(1);
this.power._visible = false;
}
if (this._x > 800) {
this._x = 800;
} else if (this._x < 0) {
this._x = 0;
}
if ((key.isDown(70) && (DEVIL < 1)) && (_root.gauge.percent > 25)) {
this.gotoAndPlay("devilmode");
} else if (key.isDown(70) && (DEVIL > 0)) {
this.gotoAndPlay("devilexit");
}
if ((powerup > 30) && (pause < 1)) {
_root.gauge.percent = _root.gauge.percent + 1;
powerup = 0;
}
if (_root.gauge.percent > 99) {
time = 0;
} else if (_root.gauge.percent < 99) {
time = 1;
}
if ((DEVIL > 0) && (pause < 1)) {
powerdown = powerdown + down;
}
if (powerdown > 9) {
_root.gauge.percent = _root.gauge.percent - 1;
_root.Health = _root.Health + 1;
powerdown = 0;
}
if ((DEVIL < 1) && (pause < 1)) {
powerup = powerup + time;
}
if (_root.gauge.meterX._xscale > _root.gauge.meter._xscale) {
_root.meterX._xscale = _root.meterX._xscale - 0.75;
} else if (_root.gauge.meterX._xscale < _root.gauge.meter._xscale) {
_root.meterX._xscale = _root.gauge.meter._xscale;
}
if ((_root.gauge.percent < 1) && (DEVIL > 0)) {
_root.meterX._xscale = _root.gauge.meter._xscale;
this.gotoAndPlay("devilexit");
DEVIL = 0;
_root.gauge.percent = 0;
}
if (_xscale > 0) {
this._x = this._x + damage;
} else if (_xscale < 0) {
this._x = this._x - damage;
}
if (damage < 0) {
damage = 0;
friction2 = 0;
}
if (_root.Health > _root.Healthfull) {
_root.Health = _root.Healthfull;
}
if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 45;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 45;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
falling = 0;
hangtime = 0;
_root.Health = _root.Health - 55;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 55;
}
if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x > _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 28;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 45;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x < _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 28;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 45;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
combo = 0;
damage = 33;
jump = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 65;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x < _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 33;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 65;
} else if ((((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
friction2 = 1.5;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
_root.Health = _root.Health - 65;
} else if ((((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 65;
} else if (((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits > 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 65;
} else if (((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits > 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 35;
}
if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
}
if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
}
if ((this.core.hitTest(_root.ENEMY.TAIL.strike.hitbox) && (_root.ENEMY._x > _x)) && (shadowmode < 1)) {
this.gotoAndPlay("Impale");
_xscale = 55;
damage = 0;
attack = 0;
friction = 0;
friction2 = 0;
plundge = 5;
_root.Health = _root.Health - 90;
} else if ((this.core.hitTest(_root.ENEMY.TAIL.strike.hitbox) && (_root.ENEMY._x < _x)) && (shadowmode < 1)) {
this.gotoAndPlay("Impale");
_xscale = 55;
damage = 0;
attack = 0;
friction = 0;
friction2 = 0;
plundge = 5;
_root.Health = _root.Health - 90;
}
if (_root.Health < 1) {
_root.Health = 0;
this.gotoAndStop("death");
_root.death = _root.death + 1;
motion = 0;
DEVIL = 0;
down = 0;
time = 0;
combo = 0;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 30;
faller = 5;
DIE = 5;
_root.gauge.percent = 0;
}
if (_root.kills > quota) {
this.quota = this.quota + (_root.kills * 2);
this.quota = this.quota + 5;
_root.levelup.play();
}
if (_root.ENEMY2.Health <= 0) {
target1 = 1;
} else if (_root.ENEMY.Health <= 0) {
target1 = 2;
} else if (((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY._x < _root.ENEMY2._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY._x > _root.ENEMY2._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _x)) && (_root.ENEMY._x < _x)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _x)) && (_root.ENEMY._x < _x)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _x)) && (_root.ENEMY._x > _x)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _x)) && (_root.ENEMY._x > _x)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
}
if (target1 == 1) {
_root.targeter._x = _root.ENEMY._x;
_root.targeter._y = _root.ENEMY._y - 46;
} else if (target1 == 2) {
_root.targeter._x = _root.ENEMY2._x;
_root.targeter._y = _root.ENEMY2._y - 46;
}
if (gun == 1) {
this.arml.gun.gotoAndStop(1);
this.arm.gun.gotoAndStop(1);
_root.pause.guns.gotoAndStop(1);
} else if (gun == 2) {
this.arml.gun.gotoAndStop(2);
this.arm.gun.gotoAndStop(2);
_root.pause.guns.gotoAndStop(2);
} else if (gun == 3) {
this.arml.gun.gotoAndStop(3);
this.arm.gun.gotoAndStop(3);
_root.pause.guns.gotoAndStop(3);
} else if (gun == 4) {
this.arml.gun.gotoAndStop(4);
this.arm.gun.gotoAndStop(4);
_root.pause.guns.gotoAndStop(4);
}
if ((key.IsDown(88) && (_root.shotgun > 0)) && (gun == 1)) {
_root.gunswitch.gotoAndStop(2);
} else if ((key.IsDown(88) && (_root.grenade > 0)) && (gun == 2)) {
_root.gunswitch.gotoAndStop(3);
} else if ((key.IsDown(88) && (_root.submachine > 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(4);
} else if ((key.IsDown(88) && (_root.grenade < 1)) && (gun == 2)) {
_root.gunswitch.gotoAndStop(1);
} else if ((key.IsDown(88) && (_root.submachine < 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(1);
} else if ((key.IsDown(88) && (_root.submachine > 0)) && (gun == 4)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.lightning > 0)) && (blade == 1)) {
_root.swordswitch.gotoAndStop(2);
} else if ((key.IsDown(90) && (_root.hellfire > 0)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(3);
} else if ((key.IsDown(90) && (_root.devilsdemise > 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(4);
} else if ((key.IsDown(90) && (_root.hellfire < 1)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(1);
} else if ((key.IsDown(90) && (_root.devilsdemise < 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(1);
} else if ((key.IsDown(90) && (_root.devilsdemise > 0)) && (blade == 4)) {
_root.swordswitch.gotoAndStop(1);
}
if (gun == 3) {
this.bazooka.gotoAndStop(1);
} else if (gun == 4) {
this.bazooka.gotoAndStop(2);
} else if (gun == 2) {
this.bazooka.gotoAndStop(3);
} else if (gun == 1) {
this.bazooka.gotoAndStop(4);
}
if (blade == 3) {
this.fire._visible = true;
this.bolt._visible = false;
_root.pause.swords.gotoAndStop(3);
this.sword.gotoAndStop(3);
this.hate._visible = false;
this.light.gotoAndStop(3);
} else if (blade == 2) {
_root.pause.swords.gotoAndStop(2);
this.bolt._visible = true;
this.fire._visible = false;
this.sword.gotoAndStop(2);
this.hate._visible = false;
this.light.gotoAndStop(2);
} else if (blade == 1) {
this.fire._visible = false;
_root.pause.swords.gotoAndStop(1);
this.bolt._visible = false;
this.hate._visible = false;
this.light.gotoAndStop(1);
this.sword.gotoAndStop(1);
} else if (blade == 4) {
this.light.gotoAndStop(4);
this.hate._visible = true;
_root.pause.swords.gotoAndStop(4);
this.fire._visible = false;
this.bolt._visible = false;
this.sword.gotoAndStop(4);
}
if (DEVIL > 0) {
this.cape._visible = true;
this.capel._visible = true;
this.arm.gun.machine.gotoAndStop(2);
}
if (DEVIL < 1) {
this.arm.gun.machine.gotoAndStop(1);
}
if (((targeting < 1) && (key.IsDown(32))) && (timing > 25)) {
_root.targeter._visible = true;
targeting = 1;
timing = 0;
filler = 1;
} else if (((targeting > 0) && (key.IsDown(32))) && (timing > 25)) {
targeting = 0;
timing = 0;
filler = 1;
_root.targeter._visible = false;
}
if (((key.IsDown(67) && (pause < 1)) && (timing > 25)) && (DIE < 1)) {
pause = 5;
timing = 0;
filler = 1;
_root.pause._visible = true;
} else if ((key.IsDown(67) && (pause > 0)) && (timing > 25)) {
pause = 0;
hangtime = 3;
_root.ENEMY2.hangtime = 3;
_root.ENEMY.hangtime = 3;
play();
_root.pause._visible = false;
_root.pause.gotoAndStop(1);
timing = 0;
filler = 1;
}
if ((pause > 0) && (_y > 270)) {
this.gotoAndStop("pauseground");
hangtime = 0;
jump = 0;
plundge = 0;
falling = 0;
faller = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if ((pause > 0) && (_y < 270)) {
this.gotoAndStop("pauseair");
hangtime = 0;
jump = 0;
plundge = 0;
falling = 0;
faller = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if (comboreset > 120) {
combo = 0;
comboset = 0;
combo = combo - 2;
}
if (combo < 1) {
_root.style.gotoAndStop(1);
combo = 0;
comboreset = 0;
} else if ((combo > 1) && (combo < 50)) {
_root.style.gotoAndStop(2);
_root.score = _root.score + 1;
} else if ((combo > 50) && (combo < 110)) {
_root.style.gotoAndStop(3);
_root.score = _root.score + 1;
} else if ((combo > 110) && (combo < 160)) {
_root.style.gotoAndStop(4);
_root.score = _root.score + 1;
} else if ((combo > 160) && (combo < 210)) {
_root.style.gotoAndStop(5);
_root.score = _root.score + 2;
} else if ((combo > 210) && (combo < 280)) {
_root.style.gotoAndStop(6);
_root.score = _root.score + 2;
} else if (combo > 280) {
_root.style.gotoAndStop(7);
_root.score = _root.score + 3;
}
if (_root.Health > 0) {
DIE = 0;
}
if (DIE > 0) {
_root.gameover.play();
hangtime = 0;
_root.pause._visible = false;
jump = 0;
falling = 0;
attack = 0;
damage = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if ((skin < 2) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 2) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(2);
this.arm.skin.gotoAndStop(2);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(2);
this.dead.death.arm.skin.gotoAndStop(2);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 3) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(4);
this.arm.skin.gotoAndStop(4);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(4);
this.dead.death.arm.skin.gotoAndStop(4);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 4) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(2);
this.arm.skin.gotoAndStop(2);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(2);
this.dead.death.arm.skin.gotoAndStop(2);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 5) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 6) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 7) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(3);
this.arml.skin.gotoAndStop(3);
this.arm.skin.gotoAndStop(3);
this.cape._visible = true;
this.capel._visible = true;
this.cape.skin.gotoAndStop(2);
this.capel.skin.gotoAndStop(2);
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(3);
this.dead.death.arml.skin.gotoAndStop(3);
this.dead.death.arm.skin.gotoAndStop(3);
this.dead.death.cape._visible = true;
this.dead.death.cape.skin.gotoAndStop(2);
this.dead.death.capel.skin.gotoAndStop(2);
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 8) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(4);
this.arml.skin.gotoAndStop(4);
this.arm.skin.gotoAndStop(4);
this.cape._visible = true;
this.capel._visible = true;
this.cape.skin.gotoAndStop(3);
this.capel.skin.gotoAndStop(3);
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(4);
this.dead.death.arml.skin.gotoAndStop(4);
this.dead.death.arm.skin.gotoAndStop(4);
this.dead.death.cape._visible = true;
this.dead.death.cape.skin.gotoAndStop(3);
this.dead.death.capel.skin.gotoAndStop(3);
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
}
if ((skin < 7) && (DEVIL < 1)) {
this.capel.skin.gotoAndStop(1);
this.head.skin.gotoAndStop(1);
this.dead.death.cape.skin.gotoAndStop(1);
this.dead.death.capel.skin.gotoAndStop(1);
}
if (clock > 27) {
_root.seconds = _root.seconds + 1;
clock = 0;
}
if (_root.seconds > 60) {
_root.Minutes = _root.Minutes + 1;
_root.seconds = 0;
}
if (_root.mission == 7) {
_root.pause.mission.gotoAndStop(7);
}
if (_root.kills > 0) {
_root.exit.play();
hangtime = 0;
_root.pause._visible = false;
this.stop();
jump = 0;
falling = 0;
attack = 0;
damage = 0;
motion = 0;
this.power._visible = false;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.SWORD.strike.gotoAndStop(1);
_root.ENEMY.SWORD.strike.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
_root.ENEMY2.motion = 0;
_root.ENEMY.motion = 0;
DEVIL = 0;
}
if (((key.IsDown(81) && (_root.Speedheart > 0)) && (Heart == 1)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(2);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart > 0)) && (Heart == 2)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(3);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart > 0)) && (Heart == 3)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(1);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart < 1)) && (Heart == 2)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(1);
heartchange = 0;
}
if ((((Heart == 2) && (DEVIL > 0)) && (healing > 9)) && (pause < 1)) {
_root.Health = _root.Health + 3;
_root.gauge.percent = _root.gauge.percent - 1;
healing = 0;
}
if ((((Heart == 3) && (DEVIL > 0)) && (healing > 17)) && (pause < 1)) {
_root.gauge.percent = _root.gauge.percent + 1;
_root.Health = _root.Health - 5;
healing = 0;
}
if (Heart == 1) {
_root.gauge.meter.gotoAndStop(1);
}
if (Heart == 2) {
_root.gauge.meter.gotoAndStop(2);
}
if (Heart == 3) {
_root.gauge.meter.gotoAndStop(3);
}
if (clock > 27) {
_root.OAseconds = _root.OAseconds + 1;
clock = 0;
}
if (_root.OAseconds > 60) {
_root.OAMinutes = _root.OAMinutes + 1;
_root.OAseconds = 0;
}
if (_root.kills > goal) {
MISSIONCLEAR = 20;
}
if (_root.kills > 0) {
_root.exit.play();
}
if (_root.rumble > 0) {
_root.pause.rumble.gotoAndStop(3);
}
if ((this.core.hitTest(_root.ENEMY3.dead) && (_x < _root.ENEMY3._x)) && (shadowmode < 1)) {
damage = 35;
friction2 = 1;
hangtime = 0;
falling = 0;
plundge = 20;
this.gotoAndPlay("down");
_xscale = -55;
Health = Health - 60;
}
if ((this.core.hitTest(_root.ENEMY3.dead) && (_x > _root.ENEMY3._x)) && (shadowmode < 1)) {
damage = 35;
friction2 = 1;
hangtime = 0;
falling = 0;
plundge = 20;
this.gotoAndPlay("down");
_xscale = -55;
Health = Health - 60;
}
if (((((this._xscale > 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x > _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 1;
target1 = 0;
}
if (((((this._xscale > 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x < _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 0;
target1 = 2;
}
if (((((this._xscale < 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x > _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 0;
target1 = 2;
}
if (((((this._xscale < 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x < _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 1;
target1 = 0;
}
if (_root.ENEMY2.Health < 1) {
target2 = 1;
}
if (_y < -30) {
hangtime = 2;
this.gotoAndStop("plummet");
}
if (_root.rumble < 1) {
_root.pause.rumble.gotoAndStop(2);
}
if (gravity == 1) {
_root.Combo.hitter = _root.Combo.hits;
_yscale = 55;
this._y = this._y + (falling * gravity);
_root.Healthfull = (_root.level * 100) + 200;
this._y = this._y - (jump * gravity);
fill = fill + 1;
heartchange = heartchange + 1;
this.shoot.gotoAndStop(random(5));
falling = falling + (hangtime * gravity);
attack = attack - friction;
clock = clock + ticker;
damage = damage - friction2;
fillerup = fillerup + 1;
faller = faller + (plundge * gravity);
_root.combo.hits = combo;
comboreset = comboreset + comboset;
this._y = this._y + (faller * gravity);
healing = healing + 1;
speder = speder + 1;
timing = timing + filler;
this._y = this._y - (wallrun * gravity);
_root.gauge.meter._xscale = _root.gauge.percent;
}
if (gravity == -1) {
_yscale = -55;
_root.Combo.hitter = _root.Combo.hits;
this._y = this._y - falling;
_root.Healthfull = (_root.level * 100) + 200;
this._y = this._y + jump;
fill = fill + 1;
heartchange = heartchange + 1;
this.shoot.gotoAndStop(random(5));
falling = falling + hangtime;
attack = attack - friction;
clock = clock + ticker;
damage = damage - friction2;
fillerup = fillerup + 1;
faller = faller + plundge;
_root.combo.hits = combo;
comboreset = comboreset + comboset;
this._y = this._y - faller;
healing = healing + 1;
speder = speder + 1;
timing = timing + filler;
this._y = this._y + wallrun;
_root.gauge.meter._xscale = _root.gauge.percent;
}
if (((_y < 130) && (falling > 0)) && (gravity < 0)) {
this._y = 130;
falling = 0;
hangtime = 0;
jump = 0;
this.gotoAndStop(1);
} else if (((_y < 130) && (faller > 0)) && (gravity < 0)) {
this._y = 130;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 0;
faller = 0;
}
if ((((gravity == -1) && (blade == 2)) && (refill < 1)) && (pause < 1)) {
timevertex = timevertex + 2;
}
if (((((gravity == -1) && (blade == 2)) && (timevertex > 400)) && (refill < 1)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
refill = 5;
this.gotoAndStop("fall");
timevertex = 400;
}
if ((refill > 0) && (pause < 1)) {
timevertex = timevertex - 1;
}
if (gravity > 0) {
timevertex = timevertex - 1;
}
if ((timevertex < 3) && (pause < 1)) {
refill = 0;
}
if (((blade < 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if (((blade > 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if (((blade == 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if ((((blade < 2) && (_root.mission > 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade > 2) && (_root.mission > 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade < 2) && (_root.mission < 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade > 2) && (_root.mission < 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == 1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission < 7)) && (pause < 1)) {
gravity = -1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == -1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission < 7)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == 1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission > 7)) && (pause < 1)) {
gravity = -1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == -1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission > 7)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if ((this._y == 130) && (gravity == -1)) {
this.Staticform2._visible = true;
} else if ((this._y > 120) && (gravity == -1)) {
this.Staticform2._visible = false;
} else if (gravity == 1) {
this.Staticform2._visible = false;
}
if ((_y > 400) && (gravity < 0)) {
this.gotoAndStop("plummet");
}
if (timestop > 0) {
my_color = new Color(_root.ENEMY);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.ENEMY2);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.ENEMY3);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.BG);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.travel);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
}
if (timestop < 1) {
my_color = new Color(_root.ENEMY);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.ENEMY2);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.ENEMY3);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.BG);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.travel);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
}
if ((timestop > 0) && (pause < 1)) {
timestart = timestart + 1;
refiller = 0;
}
if ((timestop < 1) && (pause < 1)) {
refiller = refiller + 1;
}
if ((timestart > 500) && (pause < 1)) {
this.timetrigger.gotoAndStop(3);
timestop = 0;
enable = 1;
refiller = 0;
timestart = 0;
}
if (refiller > 300) {
enable = 0;
}
if ((((((blade == 3) && (key.IsDown(38))) && (key.IsDown(65))) && (DTIME > 30)) && (timestop < 1)) && (enable < 1)) {
timestop = 2;
DTIME = 0;
this.timetrigger.gotoAndStop(2);
}
if (((((blade == 3) && (key.IsDown(38))) && (key.IsDown(65))) && (DTIME > 30)) && (timestop > 1)) {
timestop = 0;
DTIME = 0;
this.timetrigger.gotoAndStop(3);
}
if ((blade < 3) && (pause < 1)) {
timestop = 0;
dropout = dropout - 1;
}
if ((blade > 3) && (pause < 1)) {
timestop = 0;
dropout = dropout - 1;
}
if (((((((blade == 4) && (key.IsDown(38))) && (key.IsDown(65))) && (PTIME > 30)) && (shadowset > 1000)) && (shadowmode < 1)) && (pause < 1)) {
this.shadowtiming.gotoAndStop(2);
shadowmode = 5;
PTIME = 0;
}
if (shadowmode > 0) {
my_color = new Color(_root.player);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_alpha = 50;
this.CORE._width = 0;
this.CORE._height = 0;
shadowexit = shadowexit + 2;
}
if ((shadowexit > 900) && (pause < 1)) {
shadowmode = 0;
PTIME = 0;
shadowset = 0;
shadowexit = 0;
this.shadowtiming.gotoAndStop(3);
}
if (shadowmode < 1) {
my_color = new Color(_root.player);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_alpha = 100;
this.CORE._width = 0;
this.CORE._height = 0;
shadowset = shadowset + 2;
}
if ((blade < 4) && (shadowmode > 0)) {
shadowmode = 0;
this.shadowtiming.gotoAndStop(3);
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (PTIME > 30)) && (shadowmode > 0)) && (pause < 1)) {
shadowmode = 0;
PTIME = 0;
this.shadowtiming.gotoAndStop(3);
}
if (shadowmode > 0) {
this.swordBox._width = 2000;
this.slashBox._width = 2000;
this.ripBox._width = 2000;
}
if (shadowmode < 1) {
this.swordBox._width = 240;
this.slashBox._width = 240;
this.ripBox._width = 240;
}
if ((key.IsDown(86) && (_root.submachine < 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(88) && (_root.submachine > 0)) && (gun == 4)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.lightning > 0)) && (blade == 1)) {
_root.swordswitch.gotoAndStop(2);
}
if ((key.IsDown(90) && (_root.hellfire > 0)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(3);
}
if ((key.IsDown(90) && (_root.devilsdemise > 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(4);
}
if ((key.IsDown(90) && (_root.hellfire < 1)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.devilsdemise < 2)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.devilsdemise > 0)) && (blade == 4)) {
_root.swordswitch.gotoAndStop(1);
}
if (((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits < 2)) && (shadowmode < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 45;
} else if (((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits < 2)) && (shadowmode < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 45;
} else if (((this.core.hitTest(_root.ENEMY.TAIL.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits > 1)) && (shadowmode < 1)) {
this.gotoAndPlay("impale");
_xscale = -55;
hits = 0;
damage = 0;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 0;
falling = 0;
hangtime = 0;
_root.Health = _root.Health - 80;
} else if ((this.core.hitTest(_root.ENEMY.TAIL.strike.hitbox) && (_root.ENEMY._x < _x)) && (shadowmode < 1)) {
this.gotoAndPlay("impale");
_xscale = 55;
hits = 0;
damage = 0;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 0;
_root.Health = _root.Health - 80;
}
if (die == 1) {
this.dead.gotoAndStop(1);
}
if ((die == 2) && (_y > 300)) {
this.dead.gotoAndStop(2);
}
if ((die == 3) && (_y > 300)) {
this.dead.gotoAndStop(3);
}
if (_root.OAmission < 7) {
_root.OAmission = 7;
}
if (riser > 80) {
this.gotoAndPlay("revert");
springup = 0;
riser = 0;
}
if ((timestart > 500) && (_root.ENEMY._y < 350)) {
_root.ENEMY.hangtime = 3;
_root.ENEMY.play();
}
if ((timestart > 500) && (_root.ENEMY2._y < 350)) {
_root.ENEMY2.hangtime = 3;
_root.ENEMY2.play();
}
if ((timestart > 500) && (_root.ENEMY3._y < 350)) {
_root.ENEMY3.hangtime = 3;
_root.ENEMY3.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY.hangtime = 3;
_root.ENEMY.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY2._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY2.hangtime = 3;
_root.ENEMY2.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY3._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY3.hangtime = 3;
_root.ENEMY3.play();
} else {
_rotation = 0;
}
GTIME = GTIME + 1;
PTIME = PTIME + 1;
DTIME = DTIME + 1;
RISER = RISER + springup;
}
Instance of Symbol 1704 MovieClip "ENEMY" in Frame 30
onClipEvent (load) {
Health = 9000;
Hangtime = 2;
jump = 0;
falling = 0;
plundge = 0;
faller = 0;
attack = 0;
damage = 0;
friction = 0;
friction2 = 0;
attacktimer = 0;
DEVILTIMER = 0;
DEVIL = 0;
this.fire._alpha = 0;
this.transform._visible = false;
}
onClipEvent (enterFrame) {
if ((_y < 171) && (falling > 5)) {
this.SWORD.gotoAndStop(1);
_y = 171;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 0;
faller = 0;
}
if ((_y < 171) && (faller > 0)) {
_y = 171;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 0;
faller = 0;
}
if (damage < 0) {
damage = 0;
friction2 = 0;
}
if (attack < 0) {
attack = 0;
friction = 0;
}
if ((((DEVILtimer > 800) && (DEVIL < 1)) && (_root.player.pause < 1)) && (_root.Health > 0)) {
DEVIL = 5;
DEVILtimer = 0;
this.transform.gotoAndStop(2);
this.transform._visible = true;
}
if ((((DEVILtimer > 800) && (DEVIL > 0)) && (_root.player.pause < 1)) && (_root.Health > 0)) {
DEVIL = 0;
DEVILtimer = 0;
this.transform.gotoAndStop(1);
this.transform._visible = true;
}
if (DEVIL > 0) {
this.SWORD.strike.head.gotoAndStop(2);
this.SWORD.strike.hair._visible = false;
this.SWORD.strike.body.gotoAndStop(2);
this.SWORD.strike.capel.gotoAndStop(2);
this.SWORD.strike.cape.gotoAndStop(2);
this.SWORD.strike.arm.gotoAndStop(2);
this.SWORD.strike.arml.gotoAndStop(2);
this.SWORD.strike.glow.gotoAndStop(3);
this.SWORD.strike.blast.gotoAndStop(2);
this.HURT.hair._visible = false;
this.HURT.head.gotoAndStop(2);
this.HURT.body.gotoAndStop(2);
this.HURT.capel.gotoAndStop(2);
this.HURT.glow.gotoAndStop(3);
this.HURT.cape.gotoAndStop(2);
this.HURT.arm.gotoAndStop(2);
this.HURT.arml.gotoAndStop(2);
}
if (DEVIL < 0) {
this.SWORD.strike.hair._visible = true;
this.SWORD.strike.head.gotoAndStop(1);
this.SWORD.strike.body.gotoAndStop(1);
this.SWORD.strike.capel.gotoAndStop(1);
this.SWORD.strike.cape.gotoAndStop(1);
this.SWORD.strike.arm.gotoAndStop(1);
this.SWORD.strike.Larm.gotoAndStop(1);
this.SWORD.strike.glow.gotoAndStop(1);
this.SWORD.strike.blast.gotoAndStop(1);
this.HURT.head.gotoAndStop(1);
this.HURT.hair._visible = true;
this.HURT.body.gotoAndStop(1);
this.HURT.capel.gotoAndStop(1);
this.HURT.glow.gotoAndStop(1);
this.HURT.cape.gotoAndStop(1);
this.HURT.arm.gotoAndStop(1);
this.HURT.Larm.gotoAndStop(1);
}
if ((((((_root.player._x > (_x + 50)) && (damage < 1)) && (attack < 1)) && (Health > 0)) && (_root.player.pause < 1)) && (attacktimer < 300)) {
_xscale = 80;
}
if ((((((_root.player._x < (_x - 50)) && (damage < 1)) && (attack < 1)) && (Health > 0)) && (_root.player.pause < 1)) && (attacktimer < 300)) {
_xscale = -80;
}
if (_xscale > 0) {
this._x = this._x - damage;
}
if (_xscale < 0) {
this._x = this._x + damage;
}
if ((_root.player.timestop < 1) && (_xscale < 0)) {
this._x = this._x - attack;
}
if ((_root.player.timestop < 1) && (_xscale > 0)) {
this._x = this._x + attack;
}
if (this.Core.hitTest(_root.player.GUNBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("shot");
attack = 0;
friction = 0;
attacktimer = 0;
damage = 7;
friction2 = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (1.5 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if (this.Core.hitTest(_root.player.GUNBOX2)) {
this.gotoAndPlay("shot");
attack = 0;
friction = 0;
attacktimer = 0;
damage = 7;
friction2 = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (1.5 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX)) {
this.gotoAndPlay("slash");
attack = 0;
friction = 0;
damage = 17;
attacktimer = 0;
friction2 = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (20 * _root.player.strength);
_root.Score = _root.Score + 40;
_root.Combo.gotoAndPlay(2);
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (_root.player.DEVIL * 10);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX)) {
this.gotoAndPlay("slash");
attack = 0;
friction = 0;
damage = 20;
attacktimer = 0;
friction2 = 2;
jump = 28;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 80;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.STABBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("slash");
attack = 0;
friction = 0;
damage = 3;
friction2 = 1;
attacktimer = 0;
jump = 40;
hangtime = 2;
falling = 0;
Health = Health - (35 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 60;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if ((this.Core.hitTest(_root.player.GUNBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
attack = 0;
friction = 0;
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
attacktimer = 0;
_root.player.comboreset = 0;
}
if (this.Core.hitTest(_root.player.GUNBOX2) && (Health < 1)) {
this.gotoAndPlay("death");
attack = 0;
friction = 0;
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
attacktimer = 0;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX) && (Health < 1)) {
this.gotoAndPlay("death");
attack = 0;
friction = 0;
Health = Health - (30 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
attacktimer = 0;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 20;
_root.Combo.hits = _root.Combo.hits + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (_root.player.DEVIL * 10);
attack = 0;
friction = 0;
Health = Health - (50 * _root.player.strength);
autospawn = 0;
rebirth = 1;
attacktimer = 0;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if ((this.Core.hitTest(_root.player.STABBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("death");
attack = 0;
friction = 0;
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (55 * _root.player.strength);
autospawn = 0;
rebirth = 1;
attacktimer = 0;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(3);
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health > 0)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("slash");
attack = 0;
friction = 0;
damage = 27;
friction2 = 2;
jump = 7;
hangtime = 2;
attacktimer = 0;
falling = 0;
Health = Health - (20 * _root.player.strength);
_root.Score = _root.Score + 50;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(2);
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("death");
attack = 0;
friction = 0;
damage = 27;
friction2 = 2;
attacktimer = 0;
jump = 7;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (50 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if ((this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target1 == 1)) && (Health > 1)) {
this.gotoAndPlay("shot");
attack = 0;
friction = 0;
damage = 27;
friction2 = 2;
AIattack = 40;
jump = 7;
hangtime = 2;
falling = 0;
rebirth = 2;
this.BURST.strike.play();
Health = Health - (1000 * _root.player.strength);
} else if (this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("slash");
attack = 0;
friction = 0;
this.BURST.strike.play();
damage = 37;
friction2 = 2;
attacktimer = 0;
jump = 7;
hangtime = 2;
autospawn = 0;
falling = 0;
}
if (this._x > 800) {
defend = defend + 2;
this._x = 800;
} else if ((this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target1 == 1)) && (Health < 1)) {
this.gotoAndPlay("death");
attack = 0;
friction = 0;
damage = 27;
friction2 = 2;
attacktimer = 0;
jump = 7;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (50 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if (this._x < 0) {
defend = defend + 2;
this._x = 0;
}
if ((this._x > 800) && (defend > 15)) {
defend = 0;
this._x = 800;
this.BURST.strike.play();
attacktimer = 30;
} else if ((this._x < 0) && (defend > 4)) {
defend = 0;
this._x = 0;
this.BURST.strike.play();
attacktimer = 30;
}
if (_root.BHP.meter._width < _root.BHP.meter2._width) {
_root.BHP.meter2._width = _root.BHP.meter2._width - 0.05;
}
if (_root.BHP.meter._width < (_root.BHP.meter2._width - 25)) {
_root.BHP.meter2._width = _root.BHP.meter2._width - 1;
}
if (_root.BHP.meter._width < (_root.BHP.meter2._width - 40)) {
_root.BHP.meter2._width = _root.BHP.meter2._width - 2;
}
if ((((((((_xscale > 0) && (attacktimer < 240)) && (_root.player._x > (_x + 100))) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (damage < 1)) && (Health > 0)) && (_root.Health > 0)) {
this.SWORD.gotoAndStop("seek");
_x = (_x + 12);
}
if ((((((((_xscale > 0) && (attacktimer < 240)) && (_root.player._x < (_x + 101))) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (damage < 1)) && (Health > 0)) && (_root.Health > 0)) {
this.SWORD.gotoAndStop("attack1");
}
if ((((((((_xscale < 0) && (attacktimer < 240)) && (_root.player._x < (_x - 100))) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (damage < 1)) && (Health > 0)) && (_root.Health > 0)) {
this.SWORD.gotoAndStop("seek");
_x = (_x - 12);
}
if ((((((((_xscale < 0) && (attacktimer < 240)) && (_root.player._x > (_x - 101))) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (damage < 1)) && (Health > 0)) && (_root.Health > 0)) {
this.SWORD.gotoAndStop("attack1");
}
if (((((((attacktimer > 280) && (_xscale > 0)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (damage < 1)) && (Health > 0)) && (_root.Health > 0)) {
this.SWORD.gotoAndStop("impale");
this._x = 610;
}
if (((((((attacktimer > 280) && (_xscale < 0)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (damage < 1)) && (Health > 0)) && (_root.Health > 0)) {
this.SWORD.gotoAndStop("impale");
this._x = 130;
}
if (((attacktimer > 300) && (attacktimer < 340)) && (_root.Health > 0)) {
attacktimer = 0;
this.SWORD.gotoAndStop(1);
}
if ((((this.SWORD.strike.stabbox.hitTest(_root.player) && (_xscale > 0)) && (_root.Health > 0)) && (_root.player._y < 160)) && (_root.player.shadowmode < 1)) {
_root.player.gotoAndPlay("stabbed");
_root.player._x = this._x + 80;
_root.player._xscale = 55;
_root.player.jump = 0;
_root.player.combo = 0;
_root.player.hangtime = 0;
_root.player.falling = 0;
_root.player.faller = 4;
_root.player.plundge = 7;
_root.Health = _root.Health - 130;
_root.player.motion = 0;
this._x = 710;
attacktimer = 350;
this.SWORD.strike.gotoAndPlay("stabber");
}
if ((((this.SWORD.strike.stabbox.hitTest(_root.player) && (_xscale < 0)) && (_root.Health > 0)) && (_root.player._y < 160)) && (_root.player.shadowmode < 1)) {
_root.player.gotoAndPlay("hurt");
_root.player._x = this._x - 80;
_root.player.combo = 0;
_root.player.jump = 0;
_root.player._xscale = -55;
_root.player.hangtime = 0;
_root.player.falling = 0;
_root.player.faller = 4;
_root.Health = _root.Health - 130;
_root.player.plundge = 7;
_root.player.motion = 0;
attacktimer = 350;
this.SWORD.strike.gotoAndPlay("stabber");
}
if ((this.BURST.strike.hitbox.hitTest(_root.player.CORE) && (_xscale > 0)) && (_root.Health > 0)) {
_root.player.gotoAndPlay("down");
_root.player.jump = 0;
_root.Health = _root.Health - 60;
_root.player.hangtime = 0;
_root.player.falling = 0;
_root.player.faller = 0;
_root.player.plundge = 9;
_root.player.motion = 0;
_root.player.friction2 = 1.5;
_root.player.combo = 0;
attacktimer = 260;
}
if ((this.BURST.strike.hitbox.hitTest(_root.player.CORE) && (_xscale < 0)) && (_root.Health > 0)) {
_root.player.gotoAndPlay("down");
_root.player.jump = 0;
attacktimer = 260;
_root.Health = _root.Health - 60;
_root.player.hangtime = 0;
_root.player.falling = 0;
_root.player.faller = 0;
_root.player.Damage = 30;
_root.player.friction2 = 1.5;
_root.player.plundge = 9;
_root.player.combo = 0;
_root.player.motion = 0;
}
if (_root.player.pause > 0) {
this.SWORD.gotoAndStop(1);
motion = 0;
attack = 0;
jump = 0;
damage = 0;
friction = 0;
friction2 = 0;
}
if (((_root.player.pause < 1) && (_root.Health > 0)) && (_root.player.timestop < 1)) {
this._y = this._y + jump;
this._y = this._y - falling;
this._y = this._y - faller;
falling = falling + hangtime;
faller = faller + plundge;
attack = attack - friction;
damage = damage - friction2;
}
if (this.Core.hitTest(_root.player.SWORDBOX && (_root.player.blade == 3))) {
flames = 100;
}
if (this.Core.hitTest(_root.player.RIPBOX) && (_root.player.blade == 3)) {
flames = 100;
}
if (Health > 0) {
this.fire._alpha = flames;
flames = flames - 1;
}
if (Health < 1) {
flames = 0;
}
if (_root.player.combo > 150) {
this.BURST.strike.play();
}
if ((_root.player.DTIME > 20) && (_root.player.DTIME < 25)) {
hangtime = 1;
}
if (Health < 1) {
_y = 171;
}
_root.BHP.meter._width = this.Health / 15;
Attacktimer = Attacktimer + 1;
DEVILTIMER = DEVILTIMER + 1;
}
Frame 31
if (_root.OAmission < 8) {
_root.OAmission = 8;
}
_quality = "High";
stop();
Stage.showMenu = false;
_root.lightning = 66;
Instance of Symbol 986 MovieClip in Frame 31
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if (_root.killstats < _root.kills) {
_root.killstats = _root.killstats + 1;
}
if ((_root.killstats == _root.kills) && (_root.scorestats < _root.score)) {
_root.scorestats = _root.scorestats + 90;
}
if (((_root.killstats == _root.kills) && (_root.scorestats == _root.score)) && (_root.damagestats < _root.damage)) {
_root.damagestats = _root.damagestats + 5;
}
if (_root.killstats > _root.kills) {
_root.killstats = _root.kills;
}
if (_root.damagestats > _root.damage) {
_root.damagestats = _root.damage;
}
if (_root.scorestats > _root.score) {
_root.scorestats = _root.score;
}
if (key.IsDown(32)) {
_root.killstats = _root.kills;
}
if (key.IsDown(32) && (_root.killstats == _root.kills)) {
_root.scorestats = _root.score;
}
if ((key.IsDown(32) && (_root.killstats == _root.kills)) && (_root.scorestats == _root.score)) {
_root.damagestats = _root.damage;
}
if ((((_root.scorestats > 14000) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(6);
clearer = 1;
_root.rank7 = 5;
}
if (((((_root.scorestats > 13000) && (_root.scorestats < 14000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(5);
clearer = 1;
_root.rank7 = 4;
}
if (((((_root.scorestats > 12000) && (_root.scorestats < 13000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(4);
clearer = 1;
_root.rank7 = 3;
}
if (((((_root.scorestats > 10000) && (_root.scorestats < 12000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(3);
clearer = 1;
_root.rank7 = 2;
}
if ((((_root.scorestats < 10000) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(2);
clearer = 1;
_root.rank7 = 1;
}
if (_root.OAminutes < _root.minutes) {
_root.OAminutes = _root.minutes;
_root.OAseconds = _root.seconds;
}
_root.damage = _root.Healthfull - _root.Health;
_root.minutestats = _root.minutes;
_root.secondstats = _root.seconds;
}
Frame 32
_quality = "High";
stop();
Stage.showMenu = false;
_root.lightning = 66;
Instance of Symbol 986 MovieClip in Frame 32
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if ((ranktimer > 60) && (_root.rank4 > 4)) {
this.gotoAndStop(6);
}
if ((ranktimer > 60) && (_root.rank4 == 4)) {
this.gotoAndStop(5);
}
if ((ranktimer > 60) && (_root.rank4 == 3)) {
this.gotoAndStop(4);
}
if ((ranktimer > 60) && (_root.rank4 == 2)) {
this.gotoAndStop(3);
}
if ((ranktimer > 60) && (_root.rank4 == 1)) {
this.gotoAndStop(2);
}
ranktimer = ranktimer + 1;
}
Instance of Symbol 986 MovieClip in Frame 32
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if ((ranktimer > 90) && (_root.rank5 > 4)) {
this.gotoAndStop(6);
}
if ((ranktimer > 90) && (_root.rank5 == 4)) {
this.gotoAndStop(5);
}
if ((ranktimer > 90) && (_root.rank5 == 3)) {
this.gotoAndStop(4);
}
if ((ranktimer > 90) && (_root.rank5 == 2)) {
this.gotoAndStop(3);
}
if ((ranktimer > 90) && (_root.rank5 == 1)) {
this.gotoAndStop(2);
}
ranktimer = ranktimer + 1;
}
Instance of Symbol 986 MovieClip in Frame 32
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if ((ranktimer > 120) && (_root.rank6 > 4)) {
this.gotoAndStop(6);
}
if ((ranktimer > 120) && (_root.rank6 == 4)) {
this.gotoAndStop(5);
}
if ((ranktimer > 120) && (_root.rank6 == 3)) {
this.gotoAndStop(4);
}
if ((ranktimer > 120) && (_root.rank6 == 2)) {
this.gotoAndStop(3);
}
if ((ranktimer > 120) && (_root.rank6 == 1)) {
this.gotoAndStop(2);
}
ranktimer = ranktimer + 1;
}
Instance of Symbol 986 MovieClip in Frame 32
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if ((ranktimer > 150) && (_root.rank7 > 4)) {
this.gotoAndStop(6);
}
if ((ranktimer > 150) && (_root.rank7 == 4)) {
this.gotoAndStop(5);
}
if ((ranktimer > 150) && (_root.rank7 == 3)) {
this.gotoAndStop(4);
}
if ((ranktimer > 150) && (_root.rank7 == 2)) {
this.gotoAndStop(3);
}
if ((ranktimer > 150) && (_root.rank7 == 1)) {
this.gotoAndStop(2);
}
ranktimer = ranktimer + 1;
}
Frame 33
_quality = "High";
stop();
Stage.showMenu = false;
Instance of Symbol 168 MovieClip "exit" in Frame 33
onClipEvent (enterFrame) {
if (key.IsDown(32)) {
this.play();
}
}
Frame 34
_quality = "High";
stop();
Stage.showMenu = false;
Instance of Symbol 78 MovieClip in Frame 34
onClipEvent (load) {
this.blurr._alpha = 0;
}
onClipEvent (enterFrame) {
if (focus > 0) {
this.blurr._alpha = this.blurr._alpha + 0.5;
this.blurr._xscale = this.blurr._xscale + 0.05;
} else if (focus < 0) {
this.blurr._alpha = this.blurr._alpha - 0.9;
this.blurr._xscale = this.blurr._xscale - 0.09;
}
if (this.blurr._alpha > 40) {
focus = -1;
} else if (this.blurr._alpha < 1) {
focus = 1;
}
}
Frame 35
_quality = "High";
stop();
Stage.showMenu = false;
Frame 36
_quality = "High";
stop();
Stage.showMenu = false;
Frame 37
if (_root.quality == 1) {
_quality = "Medium";
}
if (_root.quality == 2) {
_quality = "High";
}
if (_root.quality == 3) {
_quality = "Low";
}
stop();
Stage.showMenu = false;
Instance of Symbol 594 MovieClip "player" in Frame 37
onClipEvent (load) {
goal = 50;
MISSIONCLEAR = 0;
die = random(3);
_root.travel._x = 0;
_root.minutes = 0;
_root.seconds = 0;
_root.Speedheart = 5;
_root.pause._visible = false;
_root.targeter._visible = false;
_root.mission = 8;
_root.score = 0;
_root.Health = (_root.level * 100) + 200;
_root.kills = 0;
gravity = 1;
skin = 1;
damage = 0;
clock = 0;
ticker = 1;
targeting = 0;
filler = 2;
gun = 1;
attack = 0;
friction = 0;
motion = 13;
hangtime = 1;
falling = 0;
jump = 0;
blade = 1;
hits = 0;
thrower = 1;
DEVIL = 0;
_root.DRIVE = 0;
time = 1;
powerup = 0;
_root.gauge.percent = 0;
down = 1;
quota = (2 * _root.kills) + 10;
target = 0;
target2 = 0;
comboset = 0;
combo = 0;
comboreset = 0;
killfill = 18;
fight = 0;
}
onClipEvent (enterFrame) {
if (_root.level < 1) {
_root.level = 1;
_root.Health = 300;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 1)) {
this._xscale = -55;
this._x = this._x + (motion * 1.1);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 1;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 1)) {
this._xscale = 55;
this._x = this._x - (motion * 1.1);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 1;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 4)) {
this._xscale = -55;
this._x = this._x + (motion * 1.4);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 2.5;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 4)) {
this._xscale = 55;
this._x = this._x - (motion * 1.4);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 2.5;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 2)) {
this._xscale = -55;
this._x = this._x + (motion * 1.35);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 0.6;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 2)) {
this._xscale = 55;
this._x = this._x - (motion * 1.35);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 0.6;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 3)) {
this._xscale = -55;
this._x = this._x + (motion * 0.95);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 2;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 3)) {
this._xscale = 55;
this._x = this._x - (motion * 0.95);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 2;
}
if (falling > 60) {
falling = 60;
hangtime = 0;
}
if (_xscale > 0) {
this._x = this._x - attack;
} else if (_xscale < 0) {
this._x = this._x + attack;
}
if (((_y > 325) && (falling > 0)) && (gravity > 0)) {
this._y = 351;
falling = 0;
hangtime = 0;
jump = 0;
this.gotoAndStop(1);
}
if (((_y > 325) && (faller > 0.5)) && (gravity > 0)) {
this._y = 349.79;
faller = 0;
plundge = 0;
jump = 0;
} else if (((_y > 325) && (falling > 3)) && (gravity > 0)) {
this._y = 349.79;
falling = 0;
hangtime = 0;
this._x = this._x - attack;
}
if (attack < 0) {
attack = 0;
friction = 0;
}
if ((((jump > 0) && (this._x < 10)) && (key.IsDown(37))) && (battle > 0)) {
this.gotoAndPlay("wallride");
this._x = 11;
_xscale = -55;
}
if ((jump > 0) && (this._x == 11)) {
this._x = 11;
_xscale = -55;
}
if ((((jump > 0) && (this._x > 790)) && (key.IsDown(39))) && (battle > 0)) {
this.gotoAndPlay("wallride");
this._x = 789;
_xscale = 55;
}
if ((jump > 0) && (this._x == 789)) {
this._x = 789;
_xscale = 55;
}
if ((DEVIL > 0) && (blade == 1)) {
this.capel.gotoAndStop(2);
this.arml.gotoAndStop(2);
this.arm.gotoAndStop(2);
this.head.gotoAndStop(2);
this.cape.gotoAndStop(2);
this.body.gotoAndStop(2);
this.glow.gotoAndStop(2);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(2);
}
if ((DEVIL > 0) && (blade == 2)) {
this.capel.gotoAndStop(3);
this.arml.gotoAndStop(3);
this.arm.gotoAndStop(3);
this.head.gotoAndStop(3);
this.cape.gotoAndStop(3);
this.body.gotoAndStop(3);
this.glow.gotoAndStop(3);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(3);
}
if ((DEVIL > 0) && (blade == 3)) {
this.capel.gotoAndStop(4);
this.arml.gotoAndStop(4);
this.arm.gotoAndStop(4);
this.head.gotoAndStop(4);
this.cape.gotoAndStop(4);
this.body.gotoAndStop(4);
this.glow.gotoAndStop(4);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(4);
}
if ((DEVIL > 0) && (blade == 4)) {
this.capel.gotoAndStop(5);
this.arml.gotoAndStop(5);
this.arm.gotoAndStop(5);
this.head.gotoAndStop(5);
this.cape.gotoAndStop(5);
this.body.gotoAndStop(5);
this.glow.gotoAndStop(5);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(5);
} else if (DEVIL < 1) {
this.capel.gotoAndStop(1);
this.arml.gotoAndStop(1);
this.arm.gotoAndStop(1);
this.head.gotoAndStop(1);
this.cape.gotoAndStop(1);
this.body.gotoAndStop(1);
this.glow.gotoAndStop(1);
this.static.gotoAndStop(1);
this.power._visible = false;
}
if (this._x > 800) {
this._x = 800;
} else if (this._x < 0) {
this._x = 0;
}
if ((key.isDown(70) && (DEVIL < 1)) && (_root.gauge.percent > 25)) {
this.gotoAndPlay("devilmode");
} else if (key.isDown(70) && (DEVIL > 0)) {
this.gotoAndPlay("devilexit");
}
if ((powerup > 30) && (pause < 1)) {
_root.gauge.percent = _root.gauge.percent + 1;
powerup = 0;
}
if (_root.gauge.percent > 99) {
time = 0;
} else if (_root.gauge.percent < 99) {
time = 1;
}
if ((DEVIL > 0) && (pause < 1)) {
powerdown = powerdown + down;
}
if (powerdown > 9) {
_root.gauge.percent = _root.gauge.percent - 1;
_root.Health = _root.Health + 1;
powerdown = 0;
}
if ((DEVIL < 1) && (pause < 1)) {
powerup = powerup + time;
}
if (_root.gauge.meterX._xscale > _root.gauge.meter._xscale) {
_root.meterX._xscale = _root.meterX._xscale - 0.75;
} else if (_root.gauge.meterX._xscale < _root.gauge.meter._xscale) {
_root.meterX._xscale = _root.gauge.meter._xscale;
}
if ((_root.gauge.percent < 1) && (DEVIL > 0)) {
_root.meterX._xscale = _root.gauge.meter._xscale;
this.gotoAndPlay("devilexit");
DEVIL = 0;
_root.gauge.percent = 0;
}
if (_xscale > 0) {
this._x = this._x + damage;
} else if (_xscale < 0) {
this._x = this._x - damage;
}
if (damage < 0) {
damage = 0;
friction2 = 0;
}
if (_root.Health > _root.Healthfull) {
_root.Health = _root.Healthfull;
}
if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 32;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 50;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 32;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 50;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 42;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
falling = 0;
hangtime = 0;
_root.Health = _root.Health - 70;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 32;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 70;
}
if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x > _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 28;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 50;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x < _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 28;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 50;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
combo = 0;
damage = 33;
jump = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 70;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x < _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 33;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 70;
} else if (((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits > 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
friction2 = 1.5;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
_root.Health = _root.Health - 65;
} else if (((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits > 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 65;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits > 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 65;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits > 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 35;
}
if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
}
if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
}
if (_root.Health < 1) {
_root.Health = 0;
this.gotoAndStop("death");
_root.death = _root.death + 1;
motion = 0;
DEVIL = 0;
down = 0;
time = 0;
combo = 0;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 30;
faller = 5;
DIE = 5;
_root.gauge.percent = 0;
}
if (_root.kills > quota) {
this.quota = this.quota + (_root.kills * 2);
this.quota = this.quota + 5;
_root.levelup.play();
}
if (_root.ENEMY2.Health <= 0) {
target1 = 1;
} else if (_root.ENEMY.Health <= 0) {
target1 = 2;
} else if (((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY._x < _root.ENEMY2._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY._x > _root.ENEMY2._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _x)) && (_root.ENEMY._x < _x)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _x)) && (_root.ENEMY._x < _x)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _x)) && (_root.ENEMY._x > _x)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _x)) && (_root.ENEMY._x > _x)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
}
if (target1 == 1) {
_root.targeter._x = _root.ENEMY._x;
_root.targeter._y = _root.ENEMY._y - 46;
} else if (target1 == 2) {
_root.targeter._x = _root.ENEMY2._x;
_root.targeter._y = _root.ENEMY2._y - 46;
}
if (gun == 1) {
this.arml.gun.gotoAndStop(1);
this.arm.gun.gotoAndStop(1);
_root.pause.guns.gotoAndStop(1);
} else if (gun == 2) {
this.arml.gun.gotoAndStop(2);
this.arm.gun.gotoAndStop(2);
_root.pause.guns.gotoAndStop(2);
} else if (gun == 3) {
this.arml.gun.gotoAndStop(3);
this.arm.gun.gotoAndStop(3);
_root.pause.guns.gotoAndStop(3);
} else if (gun == 4) {
this.arml.gun.gotoAndStop(4);
this.arm.gun.gotoAndStop(4);
_root.pause.guns.gotoAndStop(4);
}
if ((key.IsDown(88) && (_root.shotgun > 0)) && (gun == 1)) {
_root.gunswitch.gotoAndStop(2);
} else if ((key.IsDown(88) && (_root.grenade > 0)) && (gun == 2)) {
_root.gunswitch.gotoAndStop(3);
} else if ((key.IsDown(88) && (_root.submachine > 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(4);
} else if ((key.IsDown(88) && (_root.grenade < 1)) && (gun == 2)) {
_root.gunswitch.gotoAndStop(1);
} else if ((key.IsDown(88) && (_root.submachine < 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(1);
} else if ((key.IsDown(88) && (_root.submachine > 0)) && (gun == 4)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.lightning > 0)) && (blade == 1)) {
_root.swordswitch.gotoAndStop(2);
} else if ((key.IsDown(90) && (_root.hellfire > 0)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(3);
} else if ((key.IsDown(90) && (_root.devilsdemise > 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(4);
} else if ((key.IsDown(90) && (_root.hellfire < 1)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(1);
} else if ((key.IsDown(90) && (_root.devilsdemise < 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(1);
} else if ((key.IsDown(90) && (_root.devilsdemise > 0)) && (blade == 4)) {
_root.swordswitch.gotoAndStop(1);
}
if (gun == 3) {
this.bazooka.gotoAndStop(1);
} else if (gun == 4) {
this.bazooka.gotoAndStop(2);
} else if (gun == 2) {
this.bazooka.gotoAndStop(3);
} else if (gun == 1) {
this.bazooka.gotoAndStop(4);
}
if (blade == 3) {
this.fire._visible = true;
this.bolt._visible = false;
_root.pause.swords.gotoAndStop(3);
this.sword.gotoAndStop(3);
this.hate._visible = false;
this.light.gotoAndStop(3);
} else if (blade == 2) {
_root.pause.swords.gotoAndStop(2);
this.bolt._visible = true;
this.fire._visible = false;
this.sword.gotoAndStop(2);
this.hate._visible = false;
this.light.gotoAndStop(2);
} else if (blade == 1) {
this.fire._visible = false;
_root.pause.swords.gotoAndStop(1);
this.bolt._visible = false;
this.hate._visible = false;
this.light.gotoAndStop(1);
this.sword.gotoAndStop(1);
} else if (blade == 4) {
this.light.gotoAndStop(4);
this.hate._visible = true;
_root.pause.swords.gotoAndStop(4);
this.fire._visible = false;
this.bolt._visible = false;
this.sword.gotoAndStop(4);
}
if (DEVIL > 0) {
this.cape._visible = true;
this.capel._visible = true;
this.arm.gun.machine.gotoAndStop(2);
}
if (DEVIL < 1) {
this.arm.gun.machine.gotoAndStop(1);
}
if (((targeting < 1) && (key.IsDown(32))) && (timing > 25)) {
_root.targeter._visible = true;
targeting = 1;
timing = 0;
filler = 1;
} else if (((targeting > 0) && (key.IsDown(32))) && (timing > 25)) {
targeting = 0;
timing = 0;
filler = 1;
_root.targeter._visible = false;
}
if (((key.IsDown(67) && (pause < 1)) && (timing > 25)) && (DIE < 1)) {
pause = 5;
timing = 0;
filler = 1;
_root.pause._visible = true;
} else if ((key.IsDown(67) && (pause > 0)) && (timing > 25)) {
pause = 0;
hangtime = 3;
_root.ENEMY2.hangtime = 3;
_root.ENEMY.hangtime = 3;
play();
_root.pause._visible = false;
_root.pause.gotoAndStop(1);
timing = 0;
filler = 1;
}
if ((pause > 0) && (_y > 270)) {
this.gotoAndStop("pauseground");
hangtime = 0;
jump = 0;
plundge = 0;
falling = 0;
faller = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if ((pause > 0) && (_y < 270)) {
this.gotoAndStop("pauseair");
hangtime = 0;
jump = 0;
plundge = 0;
falling = 0;
faller = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if (comboreset > 120) {
combo = 0;
comboset = 0;
combo = combo - 2;
}
if (combo < 1) {
_root.style.gotoAndStop(1);
combo = 0;
comboreset = 0;
} else if ((combo > 1) && (combo < 50)) {
_root.style.gotoAndStop(2);
_root.score = _root.score + 1;
} else if ((combo > 50) && (combo < 110)) {
_root.style.gotoAndStop(3);
_root.score = _root.score + 1;
} else if ((combo > 110) && (combo < 160)) {
_root.style.gotoAndStop(4);
_root.score = _root.score + 1;
} else if ((combo > 160) && (combo < 210)) {
_root.style.gotoAndStop(5);
_root.score = _root.score + 2;
} else if ((combo > 210) && (combo < 280)) {
_root.style.gotoAndStop(6);
_root.score = _root.score + 2;
} else if (combo > 280) {
_root.style.gotoAndStop(7);
_root.score = _root.score + 3;
}
if (_root.Health > 0) {
DIE = 0;
}
if (DIE > 0) {
_root.gameover.play();
hangtime = 0;
_root.pause._visible = false;
jump = 0;
falling = 0;
attack = 0;
damage = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if ((skin < 2) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 2) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(2);
this.arm.skin.gotoAndStop(2);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(2);
this.dead.death.arm.skin.gotoAndStop(2);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 3) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(4);
this.arm.skin.gotoAndStop(4);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(4);
this.dead.death.arm.skin.gotoAndStop(4);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 4) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(2);
this.arm.skin.gotoAndStop(2);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(2);
this.dead.death.arm.skin.gotoAndStop(2);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 5) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 6) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 7) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(3);
this.arml.skin.gotoAndStop(3);
this.arm.skin.gotoAndStop(3);
this.cape._visible = true;
this.capel._visible = true;
this.cape.skin.gotoAndStop(2);
this.capel.skin.gotoAndStop(2);
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(3);
this.dead.death.arml.skin.gotoAndStop(3);
this.dead.death.arm.skin.gotoAndStop(3);
this.dead.death.cape._visible = true;
this.dead.death.cape.skin.gotoAndStop(2);
this.dead.death.capel.skin.gotoAndStop(2);
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 8) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(4);
this.arml.skin.gotoAndStop(4);
this.arm.skin.gotoAndStop(4);
this.cape._visible = true;
this.capel._visible = true;
this.cape.skin.gotoAndStop(3);
this.capel.skin.gotoAndStop(3);
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(4);
this.dead.death.arml.skin.gotoAndStop(4);
this.dead.death.arm.skin.gotoAndStop(4);
this.dead.death.cape._visible = true;
this.dead.death.cape.skin.gotoAndStop(3);
this.dead.death.capel.skin.gotoAndStop(3);
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
}
if ((skin < 7) && (DEVIL < 1)) {
this.capel.skin.gotoAndStop(1);
this.head.skin.gotoAndStop(1);
this.dead.death.cape.skin.gotoAndStop(1);
this.dead.death.capel.skin.gotoAndStop(1);
}
if (clock > 27) {
_root.seconds = _root.seconds + 1;
clock = 0;
}
if (_root.seconds > 60) {
_root.Minutes = _root.Minutes + 1;
_root.seconds = 0;
}
if (_root.mission == 8) {
_root.pause.mission.gotoAndStop(8);
}
if (_root.travel._x < -2500) {
_root.exit.play();
hangtime = 0;
_root.pause._visible = false;
this.stop();
jump = 0;
falling = 0;
attack = 0;
damage = 0;
motion = 0;
this.power._visible = false;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.SWORD.strike.gotoAndStop(1);
_root.ENEMY.SWORD.strike.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
_root.ENEMY2.motion = 0;
_root.ENEMY.motion = 0;
DEVIL = 0;
}
if (((key.IsDown(81) && (_root.Speedheart > 0)) && (Heart == 1)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(2);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart > 0)) && (Heart == 2)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(3);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart > 0)) && (Heart == 3)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(1);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart < 1)) && (Heart == 2)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(1);
heartchange = 0;
}
if ((((Heart == 2) && (DEVIL > 0)) && (healing > 9)) && (pause < 1)) {
_root.Health = _root.Health + 3;
_root.gauge.percent = _root.gauge.percent - 1;
healing = 0;
}
if ((((Heart == 3) && (DEVIL > 0)) && (healing > 17)) && (pause < 1)) {
_root.gauge.percent = _root.gauge.percent + 1;
_root.Health = _root.Health - 5;
healing = 0;
}
if (Heart == 1) {
_root.gauge.meter.gotoAndStop(1);
}
if (Heart == 2) {
_root.gauge.meter.gotoAndStop(2);
}
if (Heart == 3) {
_root.gauge.meter.gotoAndStop(3);
}
if (clock > 27) {
_root.OAseconds = _root.OAseconds + 1;
clock = 0;
}
if (_root.OAseconds > 60) {
_root.OAMinutes = _root.OAMinutes + 1;
_root.OAseconds = 0;
}
if (_root.kills > goal) {
MISSIONCLEAR = 20;
}
if (_root.rumble > 0) {
_root.pause.rumble.gotoAndStop(3);
}
if ((this.core.hitTest(_root.ENEMY3.dead) && (_x < _root.ENEMY3._x)) && (shadowmode < 1)) {
damage = 35;
friction2 = 1;
hangtime = 0;
falling = 0;
plundge = 20;
this.gotoAndPlay("down");
_xscale = -55;
Health = Health - 80;
}
if ((this.core.hitTest(_root.ENEMY3.dead) && (_x > _root.ENEMY3._x)) && (shadowmode < 1)) {
damage = 35;
friction2 = 1;
hangtime = 0;
falling = 0;
plundge = 20;
this.gotoAndPlay("down");
_xscale = -55;
Health = Health - 80;
}
if (((((this._xscale > 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x > _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 1;
target1 = 0;
}
if (((((this._xscale > 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x < _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 0;
target1 = 2;
}
if (((((this._xscale < 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x > _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 0;
target1 = 2;
}
if (((((this._xscale < 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x < _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 1;
target1 = 0;
}
if (_root.ENEMY2.Health < 1) {
target2 = 1;
}
if (_y < -30) {
hangtime = 2;
this.gotoAndStop("plummet");
}
if ((((this._x > 699) && (battle < 1)) && (_root.travel._x > -2639.85)) && (key.IsDown(39))) {
this._x = 700;
_root.travel._x = _root.travel._x - (motion * 1.1);
_root.travel._x = _root.travel._x - (DEVIL * 4);
}
if ((((this._x < 39) && (battle < 1)) && (_root.travel._x < 1)) && (key.IsDown(37))) {
this._x = 38;
_root.travel._x = _root.travel._x + (motion * 1.1);
_root.travel._x = _root.travel._x + (DEVIL * 4);
}
if (_root.travel._x > 0) {
_root.travel._x = 0;
}
if (_root.travel._x < -2639.85) {
_root.travel._x = -2639.85;
}
if (((((_root.travel._x < -850) && (_root.travel._x > -1400)) && (_root.kills < killfill)) && (battle < 1)) && (fight == 0)) {
battle = 2;
_root.music.gotoAndPlay("rock");
_root.ENEMY.rebirth = 2;
}
if ((((_root.travel._x < -850) && (_root.travel._x > -1400)) && (_root.kills > killfill)) && (battle > 0)) {
battle = 0;
killfill = killfill + 15;
_root.music.gotoAndPlay("ambient");
fight = 1;
_root.ENEMY.gotoAndPlay("death");
_root.ENEMY2.gotoAndPlay("death");
_root.ENEMY.Health = 0;
_root.ENEMY2.Health = 0;
}
if (((((_root.travel._x < -1600) && (_root.travel._x > -2400)) && (_root.kills < killfill)) && (battle < 1)) && (fight == 1)) {
battle = 2;
_root.ENEMY.rebirth = 2;
_root.music.gotoAndPlay("rock");
}
if ((((_root.travel._x < -1600) && (_root.travel._x > -2400)) && (_root.kills > killfill)) && (battle > 0)) {
battle = 0;
killfill = killfill + 5;
_root.ENEMY3.quota = 23;
_root.music.gotoAndPlay("ambient");
fight = 2;
_root.ENEMY.gotoAndPlay("death");
_root.ENEMY2.gotoAndPlay("death");
_root.ENEMY.Health = 0;
_root.ENEMY2.Health = 0;
}
if (((((_root.travel._x < -2400) && (_root.travel._x > -2900)) && (_root.kills < killfill)) && (battle < 1)) && (fight == 2)) {
battle = 2;
_root.ENEMY.rebirth = 2;
_root.music.gotoAndPlay("rock");
}
if ((((_root.travel._x < -2400) && (_root.travel._x > -2900)) && (_root.kills > killfill)) && (battle > 0)) {
battle = 0;
_root.ENEMY.gotoAndPlay("death");
_root.ENEMY2.gotoAndPlay("death");
_root.ENEMY.Health = 0;
_root.ENEMY2.Health = 0;
_root.ENEMY3.quota = 34;
_root.music.gotoAndPlay("ambient");
}
if (battle < 1) {
_root.ENEMY.autospawn = 0;
_root.ENEMY2.autospawn = 0;
_root.ENEMY3.autospawn = 0;
}
if (_root.rumble < 1) {
_root.pause.rumble.gotoAndStop(2);
}
if (gravity == 1) {
_root.Combo.hitter = _root.Combo.hits;
_yscale = 55;
this._y = this._y + (falling * gravity);
_root.Healthfull = (_root.level * 100) + 200;
this._y = this._y - (jump * gravity);
fill = fill + 1;
heartchange = heartchange + 1;
this.shoot.gotoAndStop(random(5));
falling = falling + (hangtime * gravity);
attack = attack - friction;
clock = clock + ticker;
damage = damage - friction2;
fillerup = fillerup + 1;
faller = faller + (plundge * gravity);
_root.combo.hits = combo;
comboreset = comboreset + comboset;
this._y = this._y + (faller * gravity);
healing = healing + 1;
speder = speder + 1;
timing = timing + filler;
this._y = this._y - (wallrun * gravity);
_root.gauge.meter._xscale = _root.gauge.percent;
}
if (gravity == -1) {
_yscale = -55;
_root.Combo.hitter = _root.Combo.hits;
this._y = this._y - falling;
_root.Healthfull = (_root.level * 100) + 200;
this._y = this._y + jump;
fill = fill + 1;
heartchange = heartchange + 1;
this.shoot.gotoAndStop(random(5));
falling = falling + hangtime;
attack = attack - friction;
clock = clock + ticker;
damage = damage - friction2;
fillerup = fillerup + 1;
faller = faller + plundge;
_root.combo.hits = combo;
comboreset = comboreset + comboset;
this._y = this._y - faller;
healing = healing + 1;
speder = speder + 1;
timing = timing + filler;
this._y = this._y + wallrun;
_root.gauge.meter._xscale = _root.gauge.percent;
}
if ((((_y < 70) && (falling > 0)) && (gravity < 0)) && (pause < 1)) {
this._y = 70;
falling = 0;
hangtime = 0;
jump = 0;
this.gotoAndStop(1);
} else if ((((_y < 70) && (faller > 0)) && (gravity < 0)) && (pause < 1)) {
this._y = 70;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 0;
faller = 0;
}
if ((((gravity == -1) && (blade == 2)) && (refill < 1)) && (pause < 1)) {
timevertex = timevertex + 2;
}
if (((((gravity == -1) && (blade == 2)) && (timevertex > 400)) && (refill < 1)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
refill = 5;
this.gotoAndStop("fall");
timevertex = 400;
}
if (refill > 0) {
timevertex = timevertex - 1;
}
if (gravity > 0) {
timevertex = timevertex - 1;
}
if (timevertex < 3) {
refill = 0;
}
if (((blade < 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if (((blade > 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if (((blade == 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if ((((blade < 2) && (_root.mission > 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade > 2) && (_root.mission > 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade < 2) && (_root.mission < 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade > 2) && (_root.mission < 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == 1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission < 7)) && (pause < 1)) {
gravity = -1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == -1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission < 7)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == 1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission > 7)) && (pause < 1)) {
gravity = -1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == -1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission > 7)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if ((this._y == 70) && (gravity == -1)) {
this.Staticform2._visible = true;
} else if ((this._y > 60) && (gravity == -1)) {
this.Staticform2._visible = false;
} else if (gravity == 1) {
this.Staticform2._visible = false;
}
if ((_y > 480) && (gravity < 0)) {
this.gotoAndStop("plummet");
}
if (timestop > 0) {
my_color = new Color(_root.ENEMY);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.ENEMY2);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.ENEMY3);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.BG);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.travel);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
}
if (timestop < 1) {
my_color = new Color(_root.ENEMY);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.ENEMY2);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.ENEMY3);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.BG);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.travel);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
}
if ((timestop > 0) && (pause < 1)) {
timestart = timestart + 1;
refiller = 0;
}
if ((timestop < 1) && (pause < 1)) {
refiller = refiller + 1;
}
if ((timestart > 500) && (pause < 1)) {
this.timetrigger.gotoAndStop(3);
timestop = 0;
enable = 1;
refiller = 0;
timestart = 0;
}
if (refiller > 300) {
enable = 0;
}
if ((((((blade == 3) && (key.IsDown(38))) && (key.IsDown(65))) && (DTIME > 30)) && (timestop < 1)) && (enable < 1)) {
timestop = 2;
DTIME = 0;
this.timetrigger.gotoAndStop(2);
}
if (((((blade == 3) && (key.IsDown(38))) && (key.IsDown(65))) && (DTIME > 30)) && (timestop > 1)) {
timestop = 0;
DTIME = 0;
this.timetrigger.gotoAndStop(3);
}
if ((blade < 3) && (pause < 1)) {
timestop = 0;
dropout = dropout - 1;
}
if ((blade > 3) && (pause < 1)) {
timestop = 0;
dropout = dropout - 1;
}
if (((((((blade == 4) && (key.IsDown(38))) && (key.IsDown(65))) && (PTIME > 30)) && (shadowset > 1000)) && (shadowmode < 1)) && (pause < 1)) {
this.shadowtiming.gotoAndStop(2);
shadowmode = 5;
PTIME = 0;
}
if (shadowmode > 0) {
my_color = new Color(_root.player);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_alpha = 50;
this.CORE._width = 0;
this.CORE._height = 0;
shadowexit = shadowexit + 2;
}
if ((shadowexit > 900) && (pause < 1)) {
shadowmode = 0;
PTIME = 0;
shadowset = 0;
shadowexit = 0;
this.shadowtiming.gotoAndStop(3);
}
if (shadowmode < 1) {
my_color = new Color(_root.player);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_alpha = 100;
this.CORE._width = 0;
this.CORE._height = 0;
shadowset = shadowset + 2;
}
if ((blade < 4) && (shadowmode > 0)) {
shadowmode = 0;
this.shadowtiming.gotoAndStop(3);
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (PTIME > 30)) && (shadowmode > 0)) && (pause < 1)) {
shadowmode = 0;
PTIME = 0;
this.shadowtiming.gotoAndStop(3);
}
if (shadowmode > 0) {
this.swordBox._width = 2000;
this.slashBox._width = 2000;
this.ripBox._width = 2000;
}
if (shadowmode < 1) {
this.swordBox._width = 240;
this.slashBox._width = 240;
this.ripBox._width = 240;
}
if ((key.IsDown(86) && (_root.submachine < 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(88) && (_root.submachine > 0)) && (gun == 4)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.lightning > 0)) && (blade == 1)) {
_root.swordswitch.gotoAndStop(2);
}
if ((key.IsDown(90) && (_root.hellfire > 0)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(3);
}
if ((key.IsDown(90) && (_root.devilsdemise > 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(4);
}
if ((key.IsDown(90) && (_root.hellfire < 1)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.devilsdemise < 2)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.devilsdemise > 0)) && (blade == 4)) {
_root.swordswitch.gotoAndStop(1);
}
if ((gravity < 0) && (_y > 350)) {
this.gotoAndStop("plummet");
plundge = 2;
}
if (die == 1) {
this.dead.gotoAndStop(1);
}
if ((die == 2) && (_y > 300)) {
this.dead.gotoAndStop(2);
}
if ((die == 3) && (_y > 300)) {
this.dead.gotoAndStop(3);
}
if (_root.OAmission < 8) {
_root.OAmission = 8;
}
if (riser > 80) {
this.gotoAndPlay("revert");
springup = 0;
riser = 0;
}
if ((timestart > 500) && (_root.ENEMY._y < 350)) {
_root.ENEMY.hangtime = 3;
_root.ENEMY.play();
}
if ((timestart > 500) && (_root.ENEMY2._y < 350)) {
_root.ENEMY2.hangtime = 3;
_root.ENEMY2.play();
}
if ((timestart > 500) && (_root.ENEMY3._y < 350)) {
_root.ENEMY3.hangtime = 3;
_root.ENEMY3.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY.hangtime = 3;
_root.ENEMY.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY2._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY2.hangtime = 3;
_root.ENEMY2.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY3._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY3.hangtime = 3;
_root.ENEMY3.play();
} else {
_rotation = 0;
}
GTIME = GTIME + 1;
PTIME = PTIME + 1;
DTIME = DTIME + 1;
RISER = RISER + springup;
}
Instance of Symbol 1119 MovieClip "ENEMY2" in Frame 37
onClipEvent (load) {
jump = 0;
hangtime = 0;
falling = 0;
damage = 0;
motion = 5;
Health = 0;
this.gotoAndStop("dead");
SPAWN = 0;
this.fire._alpha = 0;
}
onClipEvent (enterFrame) {
if ((falling > 60) && (_root.player.MISSIONCLEAR < 1)) {
falling = 60;
}
if (((_y > 353) && (falling > 0)) && (_root.player.MISSIONCLEAR < 1)) {
_y = 353;
falling = 0;
jump = 0;
hangtime = 0;
}
if ((((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this._x = this._x + motion;
this.SWORD.gotoAndStop(1);
}
if ((((_root.player._x < (_x - 70)) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this._xscale = -100;
this._x = this._x - motion;
this.SWORD.gotoAndStop(1);
}
if ((((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this.SWORD.gotoAndStop(2);
}
if (((((_xscale < 0) && (_root.player._x > (_x - 70))) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this.SWORD.gotoAndStop(2);
}
if (((((_xscale > 0) && (_root.player._x < (_x + 70))) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this.SWORD.gotoAndStop(2);
}
if (_xscale > 0) {
aim = -90;
} else if (_xscale < 0) {
aim = 90;
}
if (this.Core.hitTest(_root.player.GUNBOX) && (_root.player.target1 == 2)) {
this.gotoAndPlay("shot");
damage = 7;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
}
if (this.Core.hitTest(_root.player.GUNBOX2)) {
this.gotoAndPlay("shot");
damage = 7;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX)) {
this.gotoAndPlay("slash");
damage = 17;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 40;
_root.Combo.gotoAndPlay(2);
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (_root.player.DEVIL * 10);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX)) {
this.gotoAndPlay("slash");
damage = 20;
friction = 2;
jump = 28;
hangtime = 2;
falling = 0;
Health = Health - (50 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 80;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if (this.Core.hitTest(_root.player.STABBOX) && (_root.player.target1 == 2)) {
this.gotoAndPlay("slash");
damage = 3;
friction = 1;
jump = 40;
hangtime = 2;
falling = 0;
Health = Health - (55 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 60;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if ((this.Core.hitTest(_root.player.GUNBOX) && (Health < 1)) && (_root.player.target1 == 2)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
}
if (this.Core.hitTest(_root.player.GUNBOX2) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX) && (Health < 1)) {
this.gotoAndPlay("ripped");
Health = Health - (30 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 20;
_root.Combo.hits = _root.Combo.hits + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX) && (Health < 1)) {
this.gotoAndPlay("ripped");
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (50 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if ((this.Core.hitTest(_root.player.STABBOX) && (Health < 1)) && (_root.player.target1 == 2)) {
this.gotoAndPlay("death");
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (55 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(3);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health > 0)) && (_root.player.target1 == 2)) {
this.gotoAndPlay("slash");
damage = 27;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 50;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health < 1)) && (_root.player.target1 == 2)) {
this.gotoAndPlay("exploader");
damage = 27;
friction = 2;
jump = 7;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (50 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if (this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target1 == 2)) {
this.gotoAndPlay("exploader");
damage = 37;
friction = 2;
jump = 7;
hangtime = 2;
rebirth = 2;
autospawn = 0;
falling = 0;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
Health = Health - (1000 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
}
if (_xscale > 0) {
this._x = this._x - damage;
this.overkill._xscale = 100;
} else if (_xscale < 0) {
this._x = this._x + damage;
this.overkill._xscale = -100;
}
if (damage < 0) {
damage = 0;
friction = 0;
}
if (Health < -50) {
this.overkill.play();
}
if (this._x > 800) {
this._x = 800;
} else if (this._x < 0) {
this._x = 0;
}
if (autospawn > 60) {
this._y = -100;
}
if ((autospawn > 120) && (SPAWN < 2)) {
Health = 1500;
autospawn = 0;
rebirth = 0;
hangtime = 2;
SPAWN = SPAWN + 1;
this.gotoAndStop(1);
}
if ((autospawn > 120) && (SPAWN > 1)) {
Health = 1200;
autospawn = 0;
rebirth = 0;
hangtime = 2;
SPAWN = 0;
this.gotoAndStop(1);
}
if ((this.core.hitTest(_root.ENEMY.core) && (_root.ENEMY._x > _x)) && (_root.player.target1 == 2)) {
_root.ENEMY._x = _root.ENEMY._x + 20;
} else if ((this.core.hitTest(_root.ENEMY.core) && (_root.ENEMY._x < _x)) && (_root.player.target1 == 2)) {
_root.ENEMY._x = _root.ENEMY._x - 20;
}
if (_root.player.timestop > 0) {
this.SWORD.strike.gotoAndStop(1);
this.SWORD.gotoAndStop(1);
}
if ((((this.carcus.blood.TAIL.strike.whip.hitTest(_root.player.staber) && (_xscale > 0)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (_root.player.shadowmode < 1)) {
_root.player._xscale = 55;
_root.Health = _root.Health - 100;
_root.player.gotoAndPlay("down");
_root.player.plundge = 5;
_root.player.damage = 35;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.plundge = 5;
_root.player.combo = 0;
_root.player.falling = 0;
_root.player.hangtime = 0;
}
if ((((this.carcus.blood.TAIL.strike.whip.hitTest(_root.player.staber) && (_xscale < 0)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (_root.player.shadowmode < 1)) {
_root.player._xscale = -55;
_root.Health = _root.Health - 100;
_root.player.gotoAndPlay("down");
_root.player.plundge = 5;
_root.player.damage = 35;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.plundge = 5;
_root.player.combo = 0;
_root.player.falling = 0;
_root.player.hangtime = 0;
}
if (((((this.carcus.blood.TAIL.strike.hitbox.hitTest(_root.player.core) && (_xscale > 0)) && (_root.Health > 0)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (_root.player.shadowmode < 1)) {
_root.player._x = _x + 100;
_root.player._xscale = 55;
_root.player.gotoAndPlay("impale");
_root.Health = _root.Health - 30;
_root.player.gravity = 1;
_root.player.plundge = 5;
_root.player.combo = 0;
this.carcus.blood.TAIL.strike.hitbox.gotoAndPlay("stabber");
_root.player.falling = 0;
_root.player.hangtime = 0;
_root.player.damage = 0;
_root.player.friction = 0;
_root.player.attack = 0;
_root.player.friction2 = 0;
motion = 0;
}
if (((((this.carcus.blood.TAIL.strike.hitbox.hitTest(_root.player.core) && (_xscale < 0)) && (_root.Health > 0)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (_root.player.shadowmode < 1)) {
_root.player._x = _x - 100;
_root.player._xscale = -55;
_root.player.gotoAndPlay("impale");
_root.Health = _root.Health - 30;
_root.player.gravity = 1;
_root.player.plundge = 5;
_root.player.combo = 0;
_root.player.falling = 0;
_root.player.hangtime = 0;
_root.player.damage = 0;
_root.player.friction = 0;
_root.player.attack = 0;
_root.player.friction2 = 0;
this.carcus.blood.TAIL.strike.gotoAndPlay("stabber");
motion = 0;
}
if (((Health < 600) && (SPAWN > 0)) && (_root.player.timestop < 1)) {
this.carcus.gotoAndStop(2);
}
if ((((_xscale > 0) && (_root.player._x < (_x + 130))) && (_root.player.pause < 1)) && (SPAWN > 0)) {
stabfill = stabfill + 1;
}
if ((((_xscale < 0) && (_root.player._x > (_x - 130))) && (_root.player.pause < 1)) && (SPAWN > 0)) {
stabfill = stabfill + 1;
}
if ((stabfill > 130) && (_y > 340)) {
this.carcus.blood.TAIL.gotoAndStop(2);
this.SWORD.strike.gotoAndStop(1);
}
if (stabfill < 130) {
this.carcus.blood.TAIL.gotoAndStop(1);
}
if (_root.player.timestop > 0) {
this.carcus.blood.TAIL.strike.stop();
}
if (_root.player.timestop < 1) {
this.carcus.blood.TAIL.strike.play();
}
if (this.Core.hitTest(_root.player.SWORDBOX && (_root.player.blade == 3))) {
flames = 80;
}
if (this.Core.hitTest(_root.player.RIPBOX) && (_root.player.blade == 3)) {
flames = 80;
}
if (Health > 0) {
this.fire._alpha = flames;
flames = flames - 1;
}
if (Health < 1) {
flames = 0;
}
if ((_root.player.DTIME > 20) && (_root.player.DTIME < 25)) {
hangtime = 1;
}
_y = (_y + falling);
_y = (_y - jump);
autospawn = autospawn + rebirth;
damage = damage - friction;
falling = falling + hangtime;
}
Instance of Symbol 1514 MovieClip "ENEMY" in Frame 37
onClipEvent (load) {
jump = 0;
hangtime = 3;
falling = 0;
damage = 0;
motion = 5;
Health = 1500;
this.gotoAndStop("dead");
SPAWN = 0;
this.fire._alpha = 0;
}
onClipEvent (enterFrame) {
if ((falling > 60) && (_root.player.MISSIONCLEAR < 1)) {
falling = 60;
}
if ((_y > 353) && (falling > 0)) {
_y = 353;
falling = 0;
jump = 0;
hangtime = 0;
}
if (((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this._x = this._x + motion;
this.SWORD.gotoAndStop(1);
}
if (((_root.player._x < (_x - 70)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
this._xscale = -100;
this._x = this._x - motion;
this.SWORD.gotoAndStop(1);
}
if ((((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this.SWORD.gotoAndStop(2);
}
if (((((_xscale < 0) && (_root.player._x > (_x - 70))) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this.SWORD.gotoAndStop(2);
}
if (((((_xscale > 0) && (_root.player._x < (_x + 70))) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this.SWORD.gotoAndStop(2);
}
if (_xscale > 0) {
aim = -90;
} else if (_xscale < 0) {
aim = 90;
}
if (this.Core.hitTest(_root.player.GUNBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("shot");
damage = 7;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if (this.Core.hitTest(_root.player.GUNBOX2)) {
this.gotoAndPlay("shot");
damage = 7;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX)) {
this.gotoAndPlay("slash");
damage = 17;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 40;
_root.Combo.gotoAndPlay(2);
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (_root.player.DEVIL * 10);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX)) {
this.gotoAndPlay("slash");
damage = 20;
friction = 2;
jump = 28;
hangtime = 2;
falling = 0;
Health = Health - (50 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 80;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.STABBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("slash");
damage = 3;
friction = 1;
jump = 40;
hangtime = 2;
falling = 0;
Health = Health - (55 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 60;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if ((this.Core.hitTest(_root.player.GUNBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if (this.Core.hitTest(_root.player.GUNBOX2) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX) && (Health < 1)) {
this.gotoAndPlay("ripped");
Health = Health - (30 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 20;
_root.Combo.hits = _root.Combo.hits + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX) && (Health < 1)) {
this.gotoAndPlay("ripped");
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (50 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if ((this.Core.hitTest(_root.player.STABBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("death");
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (55 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(3);
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health > 0)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("slash");
damage = 27;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 50;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(2);
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("exploader");
damage = 27;
friction = 2;
jump = 7;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (50 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if (this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("exploader");
damage = 37;
friction = 2;
jump = 7;
hangtime = 2;
rebirth = 2;
autospawn = 0;
falling = 0;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
Health = Health - (1000 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
}
if (_xscale > 0) {
this._x = this._x - damage;
this.overkill._xscale = 100;
} else if (_xscale < 0) {
this._x = this._x + damage;
this.overkill._xscale = -100;
}
if (damage < 0) {
damage = 0;
friction = 0;
}
if (Health < -50) {
this.overkill.play();
}
if (this._x > 800) {
this._x = 800;
} else if (this._x < 0) {
this._x = 0;
}
if (autospawn > 60) {
this._y = -100;
}
if (autospawn > 120) {
Health = 1200;
autospawn = 0;
rebirth = 0;
hangtime = 4;
SPAWN = SPAWN + 1;
gotoAndStop (1);
}
if ((autospawn > 120) && (_root.ENEMY2.Health < 1)) {
_root.ENEMY2.rebirth = 2;
this.gotoAndStop(1);
}
if (((autospawn > 60) && (_root.ENEMY2.Health < 1)) && (_root.ENEMY2.rebirth < 1)) {
_root.ENEMY2.rebirth = 2;
}
if (((this.core.hitTest(_root.ENEMY2.core) && (_root.ENEMY2._x > _x)) && (_root.player.target1 == 1)) && (_root.player.shadowmode < 1)) {
_root.ENEMY2._x = _root.ENEMY2._x + 20;
} else if (((this.core.hitTest(_root.ENEMY2.core) && (_root.ENEMY2._x < _x)) && (_root.player.target1 == 1)) && (_root.player.shadowmode < 1)) {
_root.ENEMY2._x = _root.ENEMY2._x - 20;
}
if (_root.player.timestop > 0) {
this.SWORD.strike.gotoAndStop(1);
this.SWORD.gotoAndStop(1);
}
if ((Health < 400) && (SPAWN > 1)) {
this.BUG.gotoAndStop(2);
}
if ((((this.BUG.strike.hitbox.hitTest(_root.player.core) && (_xscale > 0)) && (_root.Health > 0)) && (_root.player.timestop < 1)) && (_root.player.shadowmode < 1)) {
_root.player._xscale = 55;
_root.Health = _root.Health - 140;
_root.player.gotoAndPlay("down");
_root.player.plundge = 5;
_root.player.damage = 40;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.plundge = 5;
_root.player.falling = 0;
_root.player.hangtime = 0;
_root.player.combo = 0;
SPAWN = 0;
}
if ((((this.BUG.strike.hitbox.hitTest(_root.player.core) && (_xscale < 0)) && (_root.Health > 0)) && (_root.player.timestop < 1)) && (_root.player.shadowmode < 1)) {
_root.player._xscale = -55;
_root.Health = _root.Health - 140;
_root.player.gotoAndPlay("down");
_root.player.plundge = 5;
_root.player.damage = 40;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.plundge = 5;
_root.player.falling = 0;
_root.player.hangtime = 0;
_root.player.combo = 0;
SPAWN = 0;
}
if (_root.player.timestop > 0) {
this.BUG.strike.stop();
}
if (_root.player.timestop < 1) {
this.BUG.strike.play();
}
if (this.Core.hitTest(_root.player.SWORDBOX && (_root.player.blade == 3))) {
flames = 80;
}
if (this.Core.hitTest(_root.player.RIPBOX) && (_root.player.blade == 3)) {
flames = 80;
}
if (Health > 0) {
this.fire._alpha = flames;
flames = flames - 1;
}
if (Health < 1) {
flames = 0;
}
if ((_root.player.DTIME > 20) && (_root.player.DTIME < 25)) {
hangtime = 1;
}
_y = (_y + falling);
_y = (_y - jump);
autospawn = autospawn + rebirth;
damage = damage - friction;
falling = falling + hangtime;
}
Instance of Symbol 1406 MovieClip "ENEMY3" in Frame 37
onClipEvent (load) {
jump = 0;
hangtime = 3;
falling = 0;
damage = 0;
motion = 2;
Health = 0;
this.gotoAndStop("dead");
quota = 5;
}
onClipEvent (enterFrame) {
if ((falling > 60) && (_root.player.MISSIONCLEAR < 1)) {
falling = 60;
}
if ((_y > 353) && (falling > 0)) {
_y = 353;
falling = 0;
jump = 0;
hangtime = 0;
}
if (_xscale > 0) {
_x = (_x - damage);
}
if (_xscale < 0) {
_x = (_x - damage);
}
if (((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this._x = this._x + motion;
}
if (((_root.player._x < (_x - 70)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
this._xscale = -100;
this._x = this._x - motion;
}
if (_xscale > 0) {
aim = -90;
} else if (_xscale < 0) {
aim = 90;
}
if (this.Core.hitTest(_root.player.GUNBOX) && (_root.player.target2 == 1)) {
this.gotoAndPlay("shot");
damage = 5;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if (this.Core.hitTest(_root.player.GUNBOX2)) {
this.gotoAndPlay("shot");
damage = 5;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX)) {
this.gotoAndPlay("slash");
damage = 8;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 40;
_root.Combo.gotoAndPlay(2);
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (_root.player.DEVIL * 10);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX)) {
this.gotoAndPlay("slash");
damage = 30;
friction = 2;
jump = 15;
hangtime = 2;
falling = 0;
Health = Health - (50 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 80;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.STABBOX) && (_root.player.target2 == 1)) {
this.gotoAndPlay("slash");
damage = 8;
friction = 1;
jump = 40;
hangtime = 2;
falling = 0;
Health = Health - (55 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 60;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if ((this.Core.hitTest(_root.player.GUNBOX) && (Health < 1)) && (_root.player.target2 == 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.ENEMY.rebirth = 5;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.target1 == 2;
_root.player.comboreset = 0;
quota = quota + 3;
}
if (this.Core.hitTest(_root.player.GUNBOX2) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
autospawn = 0;
rebirth = 1;
_root.ENEMY.rebirth = 5;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.target1 == 2;
_root.player.comboset = 1;
_root.player.comboreset = 0;
quota = quota + 3;
} else if (this.Core.hitTest(_root.player.SWORDBOX) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (30 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
autospawn = 0;
rebirth = 1;
_root.ENEMY.rebirth = 5;
_root.player.target1 == 2;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 20;
_root.Combo.hits = _root.Combo.hits + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
quota = quota + 3;
} else if (this.Core.hitTest(_root.player.RIPBOX) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (_root.player.DEVIL * 10);
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
Health = Health - (50 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.player.target1 == 2;
_root.ENEMY.rebirth = 5;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
quota = quota + 3;
} else if ((this.Core.hitTest(_root.player.STABBOX) && (Health < 1)) && (_root.player.target2 == 1)) {
this.gotoAndPlay("death");
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (55 * _root.player.strength);
autospawn = 0;
_root.player.target1 == 2;
rebirth = 1;
_root.ENEMY.rebirth = 5;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(3);
quota = quota + 3;
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health > 0)) && (_root.player.target2 == 1)) {
this.gotoAndPlay("slash");
damage = 27;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 50;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(2);
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health < 1)) && (_root.player.target2 == 1)) {
this.gotoAndPlay("death");
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
_root.player.target1 == 2;
damage = 27;
friction = 2;
jump = 7;
_root.kills = _root.kills + 1;
_root.ENEMY.rebirth = 5;
_root.overallkills = _root.overallkills + 1;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (50 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
quota = quota + 3;
} else if (this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target2 == 1)) {
this.gotoAndPlay("death");
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
damage = 37;
friction = 2;
jump = 7;
hangtime = 2;
rebirth = 2;
autospawn = 0;
_root.ENEMY.rebirth = 5;
falling = 0;
_root.player.target1 == 2;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
Health = Health - (1000 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
quota = quota + 3;
}
if (this._x > 800) {
this._x = 795;
} else if (this._x < 0) {
this._x = 5;
}
if ((autospawn > 10) && (_root.ENEMY.Health < 1)) {
_root.player.target1 = 2;
}
if ((autospawn > 70) && (_root.ENEMY.Health > 0)) {
autospawn = 70;
}
if (autospawn > 65) {
this._y = -100;
}
if ((autospawn > 150) && (_root.ENEMY.Health < 1)) {
Health = 25;
autospawn = 0;
rebirth = 0;
hangtime = 2;
this.gotoAndStop(1);
_root.ENEMY.gotoAndStop("dead");
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 0;
}
if (_root.kills > quota) {
rebirth = 2;
quota = quota + 5;
}
if ((this.core.hitTest(_root.ENEMY2.core) && (_root.ENEMY2._x > _x)) && (_root.player.target2 > 0)) {
_root.ENEMY2._x = _root.ENEMY2._x + 20;
} else if ((this.core.hitTest(_root.ENEMY2.core) && (_root.ENEMY2._x < _x)) && (_root.player.target2 > 0)) {
_root.ENEMY2._x = _root.ENEMY2._x - 20;
}
if (damage < 0) {
damage = 0;
friction = 0;
}
if (this.dead.hitTest(_root.ENEMY2.Core) && (_root.ENEMY2._x < _x)) {
_root.ENEMY2.damage = 40;
_root.ENEMY2.friction = 1.5;
_root.ENEMY2.gotoAndPlay("slash");
_root.ENEMY2.jump = 30;
_root.ENEMY2.hangtime = 1.5;
_root.ENEMY2._xscale = 100;
} else if (this.dead.hitTest(_root.ENEMY2.Core) && (_root.ENEMY2._x > _x)) {
_root.ENEMY2.damage = 40;
_root.ENEMY2.friction = 1.5;
_root.ENEMY2.jump = 30;
_root.ENEMY2.hangtime = 1.5;
_root.ENEMY2.gotoAndPlay("slash");
_root.ENEMY2._xscale = -100;
}
if (_root.player.pause > 0) {
this.seed.stop();
} else if (_root.player.pause < 1) {
this.seed.play();
}
if (((Health > 0) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
timebomb = timebomb + 1;
}
if (timebomb > 150) {
this.gotoAndPlay("death");
_root.ENEMY.rebirth = 5;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 30;
_root.ENEMY.Health = 1000;
damage = 37;
_root.player.target1 == 2;
friction = 2;
jump = 7;
hangtime = 2;
rebirth = 2;
autospawn = 40;
_root.ENEMY.rebirth = 1;
falling = 0;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
Health = Health - (1000 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
quota = quota + 3;
timebomb = 0;
Health = 0;
}
if ((autospawn < 0) && (autospawn < 65)) {
_root.player.target1 == 2;
}
if (_root.player.timestop > 0) {
this.SWORD.strike.gotoAndStop(1);
this.SWORD.gotoAndStop(1);
}
if (_root.player.timestop > 0) {
this.seed.stop();
}
if (_root.player.timestop < 1) {
this.seed.play();
}
if ((_root.player.DTIME > 20) && (_root.player.DTIME < 25)) {
hangtime = 1;
}
_y = (_y + falling);
_y = (_y - jump);
_x = (_x + damage);
autospawn = autospawn + rebirth;
falling = falling + hangtime;
}
Frame 38
if (_root.OAmission < 9) {
_root.OAmission = 9;
}
_quality = "High";
stop();
Stage.showMenu = false;
Instance of Symbol 986 MovieClip in Frame 38
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if (_root.killstats < _root.kills) {
_root.killstats = _root.killstats + 1;
}
if ((_root.killstats == _root.kills) && (_root.scorestats < _root.score)) {
_root.scorestats = _root.scorestats + 90;
}
if (((_root.killstats == _root.kills) && (_root.scorestats == _root.score)) && (_root.damagestats < _root.damage)) {
_root.damagestats = _root.damagestats + 5;
}
if (_root.killstats > _root.kills) {
_root.killstats = _root.kills;
}
if (_root.damagestats > _root.damage) {
_root.damagestats = _root.damage;
}
if (_root.scorestats > _root.score) {
_root.scorestats = _root.score;
}
if (key.IsDown(32)) {
_root.killstats = _root.kills;
}
if (key.IsDown(32) && (_root.killstats == _root.kills)) {
_root.scorestats = _root.score;
}
if ((key.IsDown(32) && (_root.killstats == _root.kills)) && (_root.scorestats == _root.score)) {
_root.damagestats = _root.damage;
}
if ((((_root.scorestats > 56000) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(6);
clearer = 1;
_root.rank8 = 5;
}
if (((((_root.scorestats > 55000) && (_root.scorestats < 56000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(5);
clearer = 1;
_root.rank8 = 4;
}
if (((((_root.scorestats > 53500) && (_root.scorestats < 55000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(4);
clearer = 1;
_root.rank8 = 3;
}
if (((((_root.scorestats > 51200) && (_root.scorestats < 53500)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(3);
clearer = 1;
_root.rank8 = 2;
}
if ((((_root.scorestats < 51200) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(2);
clearer = 1;
_root.rank8 = 1;
}
if (_root.OAminutes < _root.minutes) {
_root.OAminutes = _root.minutes;
_root.OAseconds = _root.seconds;
}
_root.damage = _root.Healthfull - _root.Health;
_root.minutestats = _root.minutes;
_root.secondstats = _root.seconds;
}
Frame 39
_quality = "High";
stop();
Stage.showMenu = false;
Frame 40
_quality = "High";
stop();
Stage.showMenu = false;
_root.grenade = _root.grenade + 6;
Frame 41
if (_root.quality == 1) {
_quality = "Medium";
}
if (_root.quality == 2) {
_quality = "High";
}
if (_root.quality == 3) {
_quality = "Low";
}
stop();
Stage.showMenu = false;
Instance of Symbol 594 MovieClip "player" in Frame 41
onClipEvent (load) {
goal = 1;
MISSIONCLEAR = 0;
die = random(3);
_root.minutes = 0;
_root.seconds = 0;
_root.Speedheart = 5;
_root.pause._visible = false;
_root.targeter._visible = false;
_root.mission = 9;
_root.score = 0;
_root.Health = (_root.level * 100) + 200;
_root.kills = 0;
gravity = 1;
skin = 1;
damage = 0;
clock = 0;
ticker = 1;
targeting = 0;
filler = 2;
gun = 1;
attack = 0;
friction = 0;
motion = 13;
hangtime = 1;
falling = 0;
jump = 0;
blade = 1;
hits = 0;
thrower = 1;
DEVIL = 0;
_root.DRIVE = 0;
time = 1;
powerup = 0;
_root.gauge.percent = 0;
down = 1;
quota = (2 * _root.kills) + 10;
target = 0;
target2 = 0;
comboset = 0;
combo = 0;
comboreset = 0;
}
onClipEvent (enterFrame) {
if (_root.level < 1) {
_root.level = 1;
_root.Health = 300;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 1)) {
this._xscale = -55;
this._x = this._x + (motion * 1.1);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 1;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 1)) {
this._xscale = 55;
this._x = this._x - (motion * 1.1);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 1;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 4)) {
this._xscale = -55;
this._x = this._x + (motion * 1.4);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 2.5;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 4)) {
this._xscale = 55;
this._x = this._x - (motion * 1.4);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 2.5;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 2)) {
this._xscale = -55;
this._x = this._x + (motion * 1.35);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 0.6;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 2)) {
this._xscale = 55;
this._x = this._x - (motion * 1.35);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 0.6;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 3)) {
this._xscale = -55;
this._x = this._x + (motion * 0.95);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 2;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 3)) {
this._xscale = 55;
this._x = this._x - (motion * 0.95);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 2;
}
if (falling > 60) {
falling = 60;
hangtime = 0;
}
if (_xscale > 0) {
this._x = this._x - attack;
} else if (_xscale < 0) {
this._x = this._x + attack;
}
if (((_y > 325) && (falling > 0)) && (gravity > 0)) {
this._y = 351;
falling = 0;
hangtime = 0;
jump = 0;
this.gotoAndStop(1);
}
if (((_y > 325) && (faller > 0.5)) && (gravity > 0)) {
this._y = 349.79;
faller = 0;
plundge = 0;
jump = 0;
} else if (((_y > 325) && (falling > 3)) && (gravity > 0)) {
this._y = 349.79;
falling = 0;
hangtime = 0;
this._x = this._x - attack;
}
if (attack < 0) {
attack = 0;
friction = 0;
}
if (((jump > 0) && (this._x < 10)) && (key.IsDown(37))) {
this.gotoAndPlay("wallride");
this._x = 11;
_xscale = -55;
}
if ((jump > 0) && (this._x == 11)) {
this._x = 11;
_xscale = -55;
}
if (((jump > 0) && (this._x > 790)) && (key.IsDown(39))) {
this.gotoAndPlay("wallride");
this._x = 789;
_xscale = 55;
}
if ((jump > 0) && (this._x == 789)) {
this._x = 789;
_xscale = 55;
}
if ((DEVIL > 0) && (blade == 1)) {
this.capel.gotoAndStop(2);
this.arml.gotoAndStop(2);
this.arm.gotoAndStop(2);
this.head.gotoAndStop(2);
this.cape.gotoAndStop(2);
this.body.gotoAndStop(2);
this.glow.gotoAndStop(2);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(2);
}
if ((DEVIL > 0) && (blade == 2)) {
this.capel.gotoAndStop(3);
this.arml.gotoAndStop(3);
this.arm.gotoAndStop(3);
this.head.gotoAndStop(3);
this.cape.gotoAndStop(3);
this.body.gotoAndStop(3);
this.glow.gotoAndStop(3);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(3);
}
if ((DEVIL > 0) && (blade == 3)) {
this.capel.gotoAndStop(4);
this.arml.gotoAndStop(4);
this.arm.gotoAndStop(4);
this.head.gotoAndStop(4);
this.cape.gotoAndStop(4);
this.body.gotoAndStop(4);
this.glow.gotoAndStop(4);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(4);
}
if ((DEVIL > 0) && (blade == 4)) {
this.capel.gotoAndStop(5);
this.arml.gotoAndStop(5);
this.arm.gotoAndStop(5);
this.head.gotoAndStop(5);
this.cape.gotoAndStop(5);
this.body.gotoAndStop(5);
this.glow.gotoAndStop(5);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(5);
} else if (DEVIL < 1) {
this.capel.gotoAndStop(1);
this.arml.gotoAndStop(1);
this.arm.gotoAndStop(1);
this.head.gotoAndStop(1);
this.cape.gotoAndStop(1);
this.body.gotoAndStop(1);
this.glow.gotoAndStop(1);
this.static.gotoAndStop(1);
this.power._visible = false;
}
if (this._x > 800) {
this._x = 800;
} else if (this._x < 0) {
this._x = 0;
}
if ((key.isDown(70) && (DEVIL < 1)) && (_root.gauge.percent > 25)) {
this.gotoAndPlay("devilmode");
} else if (key.isDown(70) && (DEVIL > 0)) {
this.gotoAndPlay("devilexit");
}
if ((powerup > 30) && (pause < 1)) {
_root.gauge.percent = _root.gauge.percent + 1;
powerup = 0;
}
if (_root.gauge.percent > 99) {
time = 0;
} else if (_root.gauge.percent < 99) {
time = 1;
}
if ((DEVIL > 0) && (pause < 1)) {
powerdown = powerdown + down;
}
if (powerdown > 9) {
_root.gauge.percent = _root.gauge.percent - 1;
_root.Health = _root.Health + 1;
powerdown = 0;
}
if ((DEVIL < 1) && (pause < 1)) {
powerup = powerup + time;
}
if (_root.gauge.meterX._xscale > _root.gauge.meter._xscale) {
_root.meterX._xscale = _root.meterX._xscale - 0.75;
} else if (_root.gauge.meterX._xscale < _root.gauge.meter._xscale) {
_root.meterX._xscale = _root.gauge.meter._xscale;
}
if ((_root.gauge.percent < 1) && (DEVIL > 0)) {
_root.meterX._xscale = _root.gauge.meter._xscale;
this.gotoAndPlay("devilexit");
DEVIL = 0;
_root.gauge.percent = 0;
}
if (_xscale > 0) {
this._x = this._x + damage;
} else if (_xscale < 0) {
this._x = this._x - damage;
}
if (damage < 0) {
damage = 0;
friction2 = 0;
}
if (_root.Health > _root.Healthfull) {
_root.Health = _root.Healthfull;
}
if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = hits + 1;
damage = 52;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 55;
falling = 0;
hangtime = 0;
plundge = 5;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = hits + 1;
damage = 52;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 55;
falling = 0;
hangtime = 0;
plundge = 5;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 42;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
falling = 0;
hangtime = 0;
_root.Health = _root.Health - 85;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 42;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 85;
}
if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x > _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 28;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 45;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x < _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 28;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 45;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
combo = 0;
damage = 33;
jump = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 65;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x < _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 33;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 65;
} else if ((((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
friction2 = 1.5;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
_root.Health = _root.Health - 65;
} else if ((((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 65;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits > 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 65;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits > 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 35;
}
if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
}
if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
}
if ((this.core.hitTest(_root.ENEMY.TAIL.strike.hitbox) && (_root.ENEMY._x > _x)) && (shadowmode < 1)) {
this.gotoAndPlay("Impale");
_xscale = 55;
damage = 0;
attack = 0;
friction = 0;
friction2 = 0;
plundge = 5;
_root.Health = _root.Health - 90;
} else if ((this.core.hitTest(_root.ENEMY.TAIL.strike.hitbox) && (_root.ENEMY._x < _x)) && (shadowmode < 1)) {
this.gotoAndPlay("Impale");
_xscale = 55;
damage = 0;
attack = 0;
friction = 0;
friction2 = 0;
plundge = 5;
_root.Health = _root.Health - 90;
}
if (_root.Health < 1) {
_root.Health = 0;
this.gotoAndStop("death");
_root.death = _root.death + 1;
motion = 0;
DEVIL = 0;
down = 0;
time = 0;
combo = 0;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 30;
faller = 5;
DIE = 5;
_root.gauge.percent = 0;
}
if (_root.kills > quota) {
this.quota = this.quota + (_root.kills * 2);
this.quota = this.quota + 5;
_root.levelup.play();
}
if (_root.ENEMY2.Health <= 0) {
target1 = 1;
} else if (_root.ENEMY.Health <= 0) {
target1 = 2;
} else if (((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY._x < _root.ENEMY2._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY._x > _root.ENEMY2._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _x)) && (_root.ENEMY._x < _x)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _x)) && (_root.ENEMY._x < _x)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _x)) && (_root.ENEMY._x > _x)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _x)) && (_root.ENEMY._x > _x)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
}
if (target1 == 1) {
_root.targeter._x = _root.ENEMY._x;
_root.targeter._y = _root.ENEMY._y - 46;
} else if (target1 == 2) {
_root.targeter._x = _root.ENEMY2._x;
_root.targeter._y = _root.ENEMY2._y - 46;
}
if (gun == 1) {
this.arml.gun.gotoAndStop(1);
this.arm.gun.gotoAndStop(1);
_root.pause.guns.gotoAndStop(1);
} else if (gun == 2) {
this.arml.gun.gotoAndStop(2);
this.arm.gun.gotoAndStop(2);
_root.pause.guns.gotoAndStop(2);
} else if (gun == 3) {
this.arml.gun.gotoAndStop(3);
this.arm.gun.gotoAndStop(3);
_root.pause.guns.gotoAndStop(3);
} else if (gun == 4) {
this.arml.gun.gotoAndStop(4);
this.arm.gun.gotoAndStop(4);
_root.pause.guns.gotoAndStop(4);
}
if ((key.IsDown(88) && (_root.shotgun > 0)) && (gun == 1)) {
_root.gunswitch.gotoAndStop(2);
} else if ((key.IsDown(88) && (_root.grenade > 0)) && (gun == 2)) {
_root.gunswitch.gotoAndStop(3);
} else if ((key.IsDown(88) && (_root.submachine > 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(4);
} else if ((key.IsDown(88) && (_root.grenade < 1)) && (gun == 2)) {
_root.gunswitch.gotoAndStop(1);
} else if ((key.IsDown(88) && (_root.submachine < 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(1);
} else if ((key.IsDown(88) && (_root.submachine > 0)) && (gun == 4)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.lightning > 0)) && (blade == 1)) {
_root.swordswitch.gotoAndStop(2);
} else if ((key.IsDown(90) && (_root.hellfire > 0)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(3);
} else if ((key.IsDown(90) && (_root.devilsdemise > 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(4);
} else if ((key.IsDown(90) && (_root.hellfire < 1)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(1);
} else if ((key.IsDown(90) && (_root.devilsdemise < 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(1);
} else if ((key.IsDown(90) && (_root.devilsdemise > 0)) && (blade == 4)) {
_root.swordswitch.gotoAndStop(1);
}
if (gun == 3) {
this.bazooka.gotoAndStop(1);
} else if (gun == 4) {
this.bazooka.gotoAndStop(2);
} else if (gun == 2) {
this.bazooka.gotoAndStop(3);
} else if (gun == 1) {
this.bazooka.gotoAndStop(4);
}
if (blade == 3) {
this.fire._visible = true;
this.bolt._visible = false;
_root.pause.swords.gotoAndStop(3);
this.sword.gotoAndStop(3);
this.hate._visible = false;
this.light.gotoAndStop(3);
} else if (blade == 2) {
_root.pause.swords.gotoAndStop(2);
this.bolt._visible = true;
this.fire._visible = false;
this.sword.gotoAndStop(2);
this.hate._visible = false;
this.light.gotoAndStop(2);
} else if (blade == 1) {
this.fire._visible = false;
_root.pause.swords.gotoAndStop(1);
this.bolt._visible = false;
this.hate._visible = false;
this.light.gotoAndStop(1);
this.sword.gotoAndStop(1);
} else if (blade == 4) {
this.light.gotoAndStop(4);
this.hate._visible = true;
_root.pause.swords.gotoAndStop(4);
this.fire._visible = false;
this.bolt._visible = false;
this.sword.gotoAndStop(4);
}
if (DEVIL > 0) {
this.cape._visible = true;
this.capel._visible = true;
this.arm.gun.machine.gotoAndStop(2);
}
if (DEVIL < 1) {
this.arm.gun.machine.gotoAndStop(1);
}
if (((targeting < 1) && (key.IsDown(32))) && (timing > 25)) {
_root.targeter._visible = true;
targeting = 1;
timing = 0;
filler = 1;
} else if (((targeting > 0) && (key.IsDown(32))) && (timing > 25)) {
targeting = 0;
timing = 0;
filler = 1;
_root.targeter._visible = false;
}
if (((key.IsDown(67) && (pause < 1)) && (timing > 25)) && (DIE < 1)) {
pause = 5;
timing = 0;
filler = 1;
_root.pause._visible = true;
} else if ((key.IsDown(67) && (pause > 0)) && (timing > 25)) {
pause = 0;
hangtime = 3;
_root.ENEMY2.hangtime = 3;
_root.ENEMY.hangtime = 3;
play();
_root.pause._visible = false;
_root.pause.gotoAndStop(1);
timing = 0;
filler = 1;
}
if ((pause > 0) && (_y > 270)) {
this.gotoAndStop("pauseground");
hangtime = 0;
jump = 0;
plundge = 0;
falling = 0;
faller = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if ((pause > 0) && (_y < 270)) {
this.gotoAndStop("pauseair");
hangtime = 0;
jump = 0;
plundge = 0;
falling = 0;
faller = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if (comboreset > 120) {
combo = 0;
comboset = 0;
combo = combo - 2;
}
if (combo < 1) {
_root.style.gotoAndStop(1);
combo = 0;
comboreset = 0;
} else if ((combo > 1) && (combo < 50)) {
_root.style.gotoAndStop(2);
_root.score = _root.score + 1;
} else if ((combo > 50) && (combo < 110)) {
_root.style.gotoAndStop(3);
_root.score = _root.score + 1;
} else if ((combo > 110) && (combo < 160)) {
_root.style.gotoAndStop(4);
_root.score = _root.score + 1;
} else if ((combo > 160) && (combo < 210)) {
_root.style.gotoAndStop(5);
_root.score = _root.score + 2;
} else if ((combo > 210) && (combo < 280)) {
_root.style.gotoAndStop(6);
_root.score = _root.score + 2;
} else if (combo > 280) {
_root.style.gotoAndStop(7);
_root.score = _root.score + 3;
}
if (_root.Health > 0) {
DIE = 0;
}
if (DIE > 0) {
_root.gameover.play();
hangtime = 0;
_root.pause._visible = false;
jump = 0;
falling = 0;
attack = 0;
damage = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if ((skin < 2) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 2) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(2);
this.arm.skin.gotoAndStop(2);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(2);
this.dead.death.arm.skin.gotoAndStop(2);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 3) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(4);
this.arm.skin.gotoAndStop(4);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(4);
this.dead.death.arm.skin.gotoAndStop(4);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 4) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(2);
this.arm.skin.gotoAndStop(2);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(2);
this.dead.death.arm.skin.gotoAndStop(2);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 5) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 6) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 7) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(3);
this.arml.skin.gotoAndStop(3);
this.arm.skin.gotoAndStop(3);
this.cape._visible = true;
this.capel._visible = true;
this.cape.skin.gotoAndStop(2);
this.capel.skin.gotoAndStop(2);
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(3);
this.dead.death.arml.skin.gotoAndStop(3);
this.dead.death.arm.skin.gotoAndStop(3);
this.dead.death.cape._visible = true;
this.dead.death.cape.skin.gotoAndStop(2);
this.dead.death.capel.skin.gotoAndStop(2);
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 8) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(4);
this.arml.skin.gotoAndStop(4);
this.arm.skin.gotoAndStop(4);
this.cape._visible = true;
this.capel._visible = true;
this.cape.skin.gotoAndStop(3);
this.capel.skin.gotoAndStop(3);
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(4);
this.dead.death.arml.skin.gotoAndStop(4);
this.dead.death.arm.skin.gotoAndStop(4);
this.dead.death.cape._visible = true;
this.dead.death.cape.skin.gotoAndStop(3);
this.dead.death.capel.skin.gotoAndStop(3);
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
}
if ((skin < 7) && (DEVIL < 1)) {
this.capel.skin.gotoAndStop(1);
this.head.skin.gotoAndStop(1);
this.dead.death.cape.skin.gotoAndStop(1);
this.dead.death.capel.skin.gotoAndStop(1);
}
if (clock > 27) {
_root.seconds = _root.seconds + 1;
clock = 0;
}
if (_root.seconds > 60) {
_root.Minutes = _root.Minutes + 1;
_root.seconds = 0;
}
if (_root.mission == 9) {
_root.pause.mission.gotoAndStop(9);
}
if (_root.kills > 0) {
_root.exit.play();
hangtime = 0;
_root.pause._visible = false;
this.stop();
jump = 0;
falling = 0;
attack = 0;
damage = 0;
motion = 0;
this.power._visible = false;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.SWORD.strike.gotoAndStop(1);
_root.ENEMY.SWORD.strike.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
_root.ENEMY2.motion = 0;
_root.ENEMY.motion = 0;
DEVIL = 0;
}
if (((key.IsDown(81) && (_root.Speedheart > 0)) && (Heart == 1)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(2);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart > 0)) && (Heart == 2)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(3);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart > 0)) && (Heart == 3)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(1);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart < 1)) && (Heart == 2)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(1);
heartchange = 0;
}
if ((((Heart == 2) && (DEVIL > 0)) && (healing > 9)) && (pause < 1)) {
_root.Health = _root.Health + 3;
_root.gauge.percent = _root.gauge.percent - 1;
healing = 0;
}
if ((((Heart == 3) && (DEVIL > 0)) && (healing > 17)) && (pause < 1)) {
_root.gauge.percent = _root.gauge.percent + 1;
_root.Health = _root.Health - 5;
healing = 0;
}
if (Heart == 1) {
_root.gauge.meter.gotoAndStop(1);
}
if (Heart == 2) {
_root.gauge.meter.gotoAndStop(2);
}
if (Heart == 3) {
_root.gauge.meter.gotoAndStop(3);
}
if (clock > 27) {
_root.OAseconds = _root.OAseconds + 1;
clock = 0;
}
if (_root.OAseconds > 60) {
_root.OAMinutes = _root.OAMinutes + 1;
_root.OAseconds = 0;
}
if (_root.kills > goal) {
MISSIONCLEAR = 20;
}
if (_root.rumble > 0) {
_root.pause.rumble.gotoAndStop(3);
}
if ((this.core.hitTest(_root.ENEMY3.dead) && (_x < _root.ENEMY3._x)) && (shadowmode < 1)) {
damage = 35;
friction2 = 1;
hangtime = 0;
falling = 0;
plundge = 20;
this.gotoAndPlay("down");
_xscale = -55;
Health = Health - 60;
}
if ((this.core.hitTest(_root.ENEMY3.dead) && (_x > _root.ENEMY3._x)) && (shadowmode < 1)) {
damage = 35;
friction2 = 1;
hangtime = 0;
falling = 0;
plundge = 20;
this.gotoAndPlay("down");
_xscale = -55;
Health = Health - 60;
}
if (((((this._xscale > 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x > _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 1;
target1 = 0;
}
if (((((this._xscale > 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x < _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 0;
target1 = 2;
}
if (((((this._xscale < 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x > _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 0;
target1 = 2;
}
if (((((this._xscale < 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x < _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 1;
target1 = 0;
}
if (_root.ENEMY2.Health < 1) {
target2 = 1;
}
if (_y < -30) {
hangtime = 2;
this.gotoAndStop("plummet");
}
if (_root.rumble < 1) {
_root.pause.rumble.gotoAndStop(2);
}
if (gravity == 1) {
_root.Combo.hitter = _root.Combo.hits;
_yscale = 55;
this._y = this._y + (falling * gravity);
_root.Healthfull = (_root.level * 100) + 200;
this._y = this._y - (jump * gravity);
fill = fill + 1;
heartchange = heartchange + 1;
this.shoot.gotoAndStop(random(5));
falling = falling + (hangtime * gravity);
attack = attack - friction;
clock = clock + ticker;
damage = damage - friction2;
fillerup = fillerup + 1;
faller = faller + (plundge * gravity);
_root.combo.hits = combo;
comboreset = comboreset + comboset;
this._y = this._y + (faller * gravity);
healing = healing + 1;
speder = speder + 1;
timing = timing + filler;
this._y = this._y - (wallrun * gravity);
_root.gauge.meter._xscale = _root.gauge.percent;
}
if (gravity == -1) {
_yscale = -55;
_root.Combo.hitter = _root.Combo.hits;
this._y = this._y - falling;
_root.Healthfull = (_root.level * 100) + 200;
this._y = this._y + jump;
fill = fill + 1;
heartchange = heartchange + 1;
this.shoot.gotoAndStop(random(5));
falling = falling + hangtime;
attack = attack - friction;
clock = clock + ticker;
damage = damage - friction2;
fillerup = fillerup + 1;
faller = faller + plundge;
_root.combo.hits = combo;
comboreset = comboreset + comboset;
this._y = this._y - faller;
healing = healing + 1;
speder = speder + 1;
timing = timing + filler;
this._y = this._y + wallrun;
_root.gauge.meter._xscale = _root.gauge.percent;
}
if (((_y < 70) && (falling > 0)) && (gravity < 0)) {
this._y = 70;
falling = 0;
hangtime = 0;
jump = 0;
this.gotoAndStop(1);
} else if (((_y < 70) && (faller > 0)) && (gravity < 0)) {
this._y = 70;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 0;
faller = 0;
}
if ((((gravity == -1) && (blade == 2)) && (refill < 1)) && (pause < 1)) {
timevertex = timevertex + 2;
}
if (((((gravity == -1) && (blade == 2)) && (timevertex > 400)) && (refill < 1)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
refill = 5;
this.gotoAndStop("fall");
timevertex = 400;
}
if ((refill > 0) && (pause < 1)) {
timevertex = timevertex - 1;
}
if (gravity > 0) {
timevertex = timevertex - 1;
}
if ((timevertex < 3) && (pause < 1)) {
refill = 0;
}
if (((blade < 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if (((blade > 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if (((blade == 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if ((((blade < 2) && (_root.mission > 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade > 2) && (_root.mission > 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade < 2) && (_root.mission < 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade > 2) && (_root.mission < 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == 1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission < 7)) && (pause < 1)) {
gravity = -1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == -1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission < 7)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == 1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission > 7)) && (pause < 1)) {
gravity = -1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == -1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission > 7)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if ((this._y == 70) && (gravity == -1)) {
this.Staticform2._visible = true;
} else if ((this._y > 60) && (gravity == -1)) {
this.Staticform2._visible = false;
} else if (gravity == 1) {
this.Staticform2._visible = false;
}
if ((_y > 480) && (gravity < 0)) {
this.gotoAndStop("plummet");
}
if (timestop > 0) {
my_color = new Color(_root.ENEMY);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.ENEMY2);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.ENEMY3);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.BG);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.travel);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
}
if (timestop < 1) {
my_color = new Color(_root.ENEMY);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.ENEMY2);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.ENEMY3);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.BG);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.travel);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
}
if ((timestop > 0) && (pause < 1)) {
timestart = timestart + 1;
refiller = 0;
}
if ((timestop < 1) && (pause < 1)) {
refiller = refiller + 1;
}
if ((timestart > 500) && (pause < 1)) {
this.timetrigger.gotoAndStop(3);
timestop = 0;
enable = 1;
refiller = 0;
timestart = 0;
}
if (refiller > 300) {
enable = 0;
}
if ((((((blade == 3) && (key.IsDown(38))) && (key.IsDown(65))) && (DTIME > 30)) && (timestop < 1)) && (enable < 1)) {
timestop = 2;
DTIME = 0;
this.timetrigger.gotoAndStop(2);
}
if (((((blade == 3) && (key.IsDown(38))) && (key.IsDown(65))) && (DTIME > 30)) && (timestop > 1)) {
timestop = 0;
DTIME = 0;
this.timetrigger.gotoAndStop(3);
}
if ((blade < 3) && (pause < 1)) {
timestop = 0;
dropout = dropout - 1;
}
if ((blade > 3) && (pause < 1)) {
timestop = 0;
dropout = dropout - 1;
}
if (((((((blade == 4) && (key.IsDown(38))) && (key.IsDown(65))) && (PTIME > 30)) && (shadowset > 1000)) && (shadowmode < 1)) && (pause < 1)) {
this.shadowtiming.gotoAndStop(2);
shadowmode = 5;
PTIME = 0;
}
if (shadowmode > 0) {
my_color = new Color(_root.player);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_alpha = 50;
this.CORE._width = 0;
this.CORE._height = 0;
shadowexit = shadowexit + 2;
}
if ((shadowexit > 900) && (pause < 1)) {
shadowmode = 0;
PTIME = 0;
shadowset = 0;
shadowexit = 0;
this.shadowtiming.gotoAndStop(3);
}
if (shadowmode < 1) {
my_color = new Color(_root.player);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_alpha = 100;
this.CORE._width = 0;
this.CORE._height = 0;
shadowset = shadowset + 2;
}
if ((blade < 4) && (shadowmode > 0)) {
shadowmode = 0;
this.shadowtiming.gotoAndStop(3);
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (PTIME > 30)) && (shadowmode > 0)) && (pause < 1)) {
shadowmode = 0;
PTIME = 0;
this.shadowtiming.gotoAndStop(3);
}
if (shadowmode > 0) {
this.swordBox._width = 2000;
this.slashBox._width = 2000;
this.ripBox._width = 2000;
}
if (shadowmode < 1) {
this.swordBox._width = 240;
this.slashBox._width = 240;
this.ripBox._width = 240;
}
if ((key.IsDown(86) && (_root.submachine < 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(88) && (_root.submachine > 0)) && (gun == 4)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.lightning > 0)) && (blade == 1)) {
_root.swordswitch.gotoAndStop(2);
}
if ((key.IsDown(90) && (_root.hellfire > 0)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(3);
}
if ((key.IsDown(90) && (_root.devilsdemise > 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(4);
}
if ((key.IsDown(90) && (_root.hellfire < 1)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.devilsdemise < 2)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.devilsdemise > 0)) && (blade == 4)) {
_root.swordswitch.gotoAndStop(1);
}
if (((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits < 2)) && (shadowmode < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 45;
} else if (((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits < 2)) && (shadowmode < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 45;
} else if (((this.core.hitTest(_root.ENEMY.TAIL.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits > 1)) && (shadowmode < 1)) {
this.gotoAndPlay("impale");
_xscale = -55;
hits = 0;
damage = 0;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 0;
falling = 0;
hangtime = 0;
_root.Health = _root.Health - 80;
} else if ((this.core.hitTest(_root.ENEMY.TAIL.strike.hitbox) && (_root.ENEMY._x < _x)) && (shadowmode < 1)) {
this.gotoAndPlay("impale");
_xscale = 55;
hits = 0;
damage = 0;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 0;
_root.Health = _root.Health - 80;
}
if ((gravity < 0) && (_y > 350)) {
this.gotoAndStop("plummet");
plundge = 2;
}
if (die == 1) {
this.dead.gotoAndStop(1);
}
if ((die == 2) && (_y > 300)) {
this.dead.gotoAndStop(2);
}
if ((die == 3) && (_y > 300)) {
this.dead.gotoAndStop(3);
}
if (_root.OAmission < 9) {
_root.OAmission = 9;
}
if ((_root.ENEMY.DEAD > 0) && (_root.ENEMY._xscale > 0)) {
this._x = this._x + 1.5;
}
if ((_root.ENEMY.DEAD > 0) && (_root.ENEMY._xscale < 0)) {
this._x = this._x - 1.5;
}
if ((timestart > 500) && (_root.ENEMY._y < 350)) {
_root.ENEMY.hangtime = 3;
_root.ENEMY.play();
}
if ((timestart > 500) && (_root.ENEMY2._y < 350)) {
_root.ENEMY2.hangtime = 3;
_root.ENEMY2.play();
}
if ((timestart > 500) && (_root.ENEMY3._y < 350)) {
_root.ENEMY3.hangtime = 3;
_root.ENEMY3.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY.hangtime = 3;
_root.ENEMY.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY2._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY2.hangtime = 3;
_root.ENEMY2.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY3._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY3.hangtime = 3;
_root.ENEMY3.play();
} else {
_rotation = 0;
}
GTIME = GTIME + 1;
PTIME = PTIME + 1;
DTIME = DTIME + 1;
}
Instance of Symbol 1871 MovieClip "ENEMY" in Frame 41
onClipEvent (load) {
jump = 0;
hangtime = 3;
falling = 0;
damage = 0;
motion = 0;
Health = 24000;
DEAD = 0;
this.fire._alpha = 0;
}
onClipEvent (enterFrame) {
if ((falling > 60) && (_root.player.MISSIONCLEAR < 1)) {
falling = 60;
}
if (_root.player._x > (_x + 100)) {
_xscale = 100;
}
if (_root.player._x < (_x - 100)) {
_xscale = -100;
}
if ((_y > 353) && (falling > 0)) {
_y = 353;
falling = 0;
jump = 0;
hangtime = 0;
}
if (this.Core.hitTest(_root.player.GUNBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("shot");
damage = 2;
friction = 1;
AIattack = 40;
AIattacker = 40;
jump = 2.4;
this.SWORD.strike.gotoAndStop(1);
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if (this.Core.hitTest(_root.player.GUNBOX2)) {
this.gotoAndPlay("shot");
damage = 2;
friction = 1;
AIattack = 40;
AIattacker = 40;
jump = 2.4;
hangtime = 1;
this.SWORD.strike.gotoAndStop(1);
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX)) {
this.gotoAndPlay("slash");
damage = 5;
friction = 2;
AIattack = 40;
AIattacker = 40;
jump = 2.4;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 40;
_root.Combo.gotoAndPlay(2);
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (_root.player.DEVIL * 10);
this.SWORD.strike.gotoAndStop(1);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX)) {
this.gotoAndPlay("slash");
damage = 6;
friction = 2;
AIattacker = 40;
jump = 3;
this.SWORD.strike.gotoAndStop(1);
hangtime = 2;
falling = 0;
Health = Health - (50 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 80;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
AIattack = 40;
} else if (this.Core.hitTest(_root.player.STABBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("slash");
damage = 3;
friction = 1;
this.SWORD.strike.gotoAndStop(1);
jump = 4;
hangtime = 2;
AIattacker = 40;
falling = 0;
AIattack = 40;
Health = Health - (55 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 60;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if ((this.Core.hitTest(_root.player.GUNBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.player.timestop = 0;
DEAD = 5;
this.SWORD.strike.gotoAndStop(1);
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if (this.Core.hitTest(_root.player.GUNBOX2) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.player.timestop = 0;
DEAD = 5;
this.SWORD.strike.gotoAndStop(1);
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (30 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
_root.player.timestop = 0;
rebirth = 1;
DEAD = 5;
this.SWORD.strike.gotoAndStop(1);
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 20;
_root.Combo.hits = _root.Combo.hits + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (50 * _root.player.strength);
autospawn = 0;
_root.player.timestop = 0;
rebirth = 1;
DEAD = 5;
this.SWORD.strike.gotoAndStop(1);
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if ((this.Core.hitTest(_root.player.STABBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("death");
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (55 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.player.timestop = 0;
DEAD = 5;
this.SWORD.strike.gotoAndStop(1);
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(3);
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health > 0)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("slash");
damage = 27;
AIattacker = 40;
AIattack = 40;
friction = 2;
jump = 4;
hangtime = 2;
falling = 0;
this.SWORD.strike.gotoAndStop(1);
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 50;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(2);
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("death");
damage = 27;
friction = 2;
jump = 5;
_root.player.timestop = 0;
DEAD = 5;
this.SWORD.strike.gotoAndStop(1);
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (50 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if (this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("slash");
attack = 0;
AIattacker = 40;
friction = 0;
damage = 37;
AIattack = 40;
friction2 = 2;
attacktimer = 0;
jump = 7;
hangtime = 2;
autospawn = 0;
falling = 0;
}
if (this._x > 800) {
defend = defend + 2;
this._x = 800;
} else if ((this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target1 == 1)) && (Health < 1)) {
this.gotoAndPlay("death");
attack = 0;
friction = 0;
_root.player.timestop = 0;
damage = 27;
friction2 = 2;
DEAD = 5;
attacktimer = 0;
jump = 7;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (50 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if ((this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target1 == 1)) && (Health > 1)) {
this.gotoAndPlay("shot");
attack = 0;
friction = 0;
damage = 27;
friction2 = 2;
this.BURST.strike.play();
_root.player.combo = 150;
AIattack = 65;
jump = 7;
hangtime = 2;
falling = 0;
AIattacker = 40;
rebirth = 2;
Health = Health - (1000 * _root.player.strength);
}
if (_xscale > 0) {
this._x = this._x - damage;
this.overkill._xscale = 100;
} else if (_xscale < 0) {
this._x = this._x + damage;
this.overkill._xscale = -100;
}
if (damage < 0) {
damage = 0;
friction = 0;
}
if (Health < -50) {
this.overkill.play();
}
if (this._x > 800) {
this._x = 800;
} else if (this._x < 0) {
this._x = 0;
}
if (_root.player.timestop > 0) {
this.SWORD.strike.gotoAndStop(1);
this.TAIL.strike.gotoAndStop(1);
this.TAIL2.strike.gotoAndStop(1);
this.SWORD.gotoAndStop(1);
this.TAIL.gotoAndStop(1);
}
if (_root.BHP.meter._width < _root.BHP.meter2._width) {
_root.BHP.meter2._width = _root.BHP.meter2._width - 0.05;
}
if (_root.BHP.meter._width < (_root.BHP.meter2._width - 25)) {
_root.BHP.meter2._width = _root.BHP.meter2._width - 1;
}
if (_root.BHP.meter._width < (_root.BHP.meter2._width - 40)) {
_root.BHP.meter2._width = _root.BHP.meter2._width - 2;
}
if (((this.BURST.strike.hitbox.hitTest(_root.player) && (_xscale > 0)) && (_root.Health > 0)) && (stafill < 80)) {
_root.player._xscale = 55;
_root.Health = _root.Health - 50;
_root.player.gotoAndPlay("down");
_root.player.plundge = 5;
_root.player.damage = 40;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.falling = 0;
_root.player.hangtime = 0;
_root.player.plundge = 5;
_root.player.combo = 0;
}
if (((this.BURST.strike.hitbox.hitTest(_root.player) && (_xscale < 0)) && (_root.Health > 0)) && (stafill < 80)) {
_root.player._xscale = -55;
_root.Health = _root.Health - 50;
_root.player.gotoAndPlay("down");
_root.player.plundge = 5;
_root.player.damage = 40;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.falling = 0;
_root.player.hangtime = 0;
_root.player.plundge = 5;
_root.player.combo = 0;
}
if (_root.player.combo > 220) {
this.burst.strike.play();
}
if ((((_root.player.pause < 1) && (_root.player.timestop < 1)) && (_root.kills < 1)) && (_root.Health > 0)) {
AIattacker = AIattacker + 1;
}
if ((AIattacker > 70) && (AIattacker < 75)) {
this.SWORD.gotoAndStop("attack");
}
if ((AIattacker > 120) && (AIattcker < 125)) {
this.SWORD.gotoAndStop("attack2");
}
if (AIattacker > 170) {
this.SWORD.gotoAndStop(1);
AIattacker = 50;
}
if ((_root.player.pause < 1) && (_root.player.timestop < 1)) {
this.SWORD.strike.play();
}
if (attack < 0) {
attack = 0;
friction2 = 0;
}
if (_root.player.combo > 140) {
this.BURST.strike.play();
}
if ((_root.player.timestop < 1) && (_xscale > 0)) {
this._x = this._x + attack;
}
if ((_root.player.timestop < 1) && (_xscale < 0)) {
this._x = this._x - attack;
}
if (this.Core.hitTest(_root.player.SWORDBOX && (_root.player.blade == 3))) {
flames = 80;
}
if (this.Core.hitTest(_root.player.RIPBOX) && (_root.player.blade == 3)) {
flames = 80;
}
if (Health > 0) {
this.fire._alpha = flames;
flames = flames - 1;
}
if (Health < 1) {
flames = 0;
}
if ((_root.player.DTIME > 20) && (_root.player.DTIME < 25)) {
hangtime = 1;
}
_root.BHP.meter._width = Health / 40;
_y = (_y + falling);
_y = (_y - jump);
damage = damage - friction;
attack = attack - friction2;
autospawn = autospawn + rebirth;
falling = falling + hangtime;
}
Frame 42
if (_root.OAmission < 10) {
_root.OAmission = 10;
}
_quality = "High";
stop();
Stage.showMenu = false;
Instance of Symbol 986 MovieClip in Frame 42
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if (_root.killstats < _root.kills) {
_root.killstats = _root.killstats + 1;
}
if ((_root.killstats == _root.kills) && (_root.scorestats < _root.score)) {
_root.scorestats = _root.scorestats + 90;
}
if (((_root.killstats == _root.kills) && (_root.scorestats == _root.score)) && (_root.damagestats < _root.damage)) {
_root.damagestats = _root.damagestats + 5;
}
if (_root.killstats > _root.kills) {
_root.killstats = _root.kills;
}
if (_root.damagestats > _root.damage) {
_root.damagestats = _root.damage;
}
if (_root.scorestats > _root.score) {
_root.scorestats = _root.score;
}
if (key.IsDown(32)) {
_root.killstats = _root.kills;
}
if (key.IsDown(32) && (_root.killstats == _root.kills)) {
_root.scorestats = _root.score;
}
if ((key.IsDown(32) && (_root.killstats == _root.kills)) && (_root.scorestats == _root.score)) {
_root.damagestats = _root.damage;
}
if ((((_root.scorestats > 33000) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(6);
clearer = 1;
_root.rank9 = 5;
}
if (((((_root.scorestats > 31000) && (_root.scorestats < 33000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(5);
clearer = 1;
_root.rank9 = 4;
}
if (((((_root.scorestats > 29000) && (_root.scorestats < 31000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(4);
clearer = 1;
_root.rank9 = 3;
}
if (((((_root.scorestats > 27000) && (_root.scorestats < 29000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(3);
clearer = 1;
_root.rank9 = 2;
}
if ((((_root.scorestats < 27000) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(2);
clearer = 1;
_root.rank9 = 1;
}
if (_root.OAminutes < _root.minutes) {
_root.OAminutes = _root.minutes;
_root.OAseconds = _root.seconds;
}
_root.damage = _root.Healthfull - _root.Health;
_root.minutestats = _root.minutes;
_root.secondstats = _root.seconds;
}
Frame 43
_quality = "High";
stop();
Stage.showMenu = false;
Frame 44
_quality = "High";
stop();
Stage.showMenu = false;
Frame 45
if (_root.quality == 1) {
_quality = "Medium";
}
if (_root.quality == 2) {
_quality = "High";
}
if (_root.quality == 3) {
_quality = "Low";
}
stop();
Stage.showMenu = false;
Instance of Symbol 594 MovieClip "player" in Frame 45
onClipEvent (load) {
goal = 50;
MISSIONCLEAR = 0;
die = random(3);
_root.travel._x = 0;
_root.minutes = 0;
_root.seconds = 0;
_root.Speedheart = 5;
_root.pause._visible = false;
_root.targeter._visible = false;
_root.mission = 10;
_root.score = 0;
_root.Health = (_root.level * 100) + 200;
_root.kills = 0;
gravity = 1;
skin = 1;
damage = 0;
clock = 0;
ticker = 1;
targeting = 0;
filler = 2;
gun = 1;
attack = 0;
friction = 0;
motion = 13;
hangtime = 1;
falling = 0;
jump = 0;
blade = 1;
hits = 0;
thrower = 1;
DEVIL = 0;
_root.DRIVE = 0;
time = 1;
powerup = 0;
_root.gauge.percent = 0;
down = 1;
quota = (2 * _root.kills) + 10;
target = 0;
target2 = 0;
comboset = 0;
combo = 0;
comboreset = 0;
killfill = 18;
fight = 0;
}
onClipEvent (enterFrame) {
if (_root.level < 1) {
_root.level = 1;
_root.Health = 300;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 1)) {
this._xscale = -55;
this._x = this._x + (motion * 1.1);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 1;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 1)) {
this._xscale = 55;
this._x = this._x - (motion * 1.1);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 1;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 4)) {
this._xscale = -55;
this._x = this._x + (motion * 1.4);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 2.5;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 4)) {
this._xscale = 55;
this._x = this._x - (motion * 1.4);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 2.5;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 2)) {
this._xscale = -55;
this._x = this._x + (motion * 1.35);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 0.6;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 2)) {
this._xscale = 55;
this._x = this._x - (motion * 1.35);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 0.6;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 3)) {
this._xscale = -55;
this._x = this._x + (motion * 0.95);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 2;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 3)) {
this._xscale = 55;
this._x = this._x - (motion * 0.95);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 2;
}
if (falling > 60) {
falling = 60;
hangtime = 0;
}
if (_xscale > 0) {
this._x = this._x - attack;
} else if (_xscale < 0) {
this._x = this._x + attack;
}
if (((_y > 325) && (falling > 0)) && (gravity > 0)) {
this._y = 351;
falling = 0;
hangtime = 0;
jump = 0;
this.gotoAndStop(1);
}
if (((_y > 325) && (faller > 0.5)) && (gravity > 0)) {
this._y = 349.79;
faller = 0;
plundge = 0;
jump = 0;
} else if (((_y > 325) && (falling > 3)) && (gravity > 0)) {
this._y = 349.79;
falling = 0;
hangtime = 0;
this._x = this._x - attack;
}
if (attack < 0) {
attack = 0;
friction = 0;
}
if ((((jump > 0) && (this._x < 10)) && (key.IsDown(37))) && (battle > 0)) {
this.gotoAndPlay("wallride");
this._x = 11;
_xscale = -55;
}
if ((jump > 0) && (this._x == 11)) {
this._x = 11;
_xscale = -55;
}
if ((((jump > 0) && (this._x > 790)) && (key.IsDown(39))) && (battle > 0)) {
this.gotoAndPlay("wallride");
this._x = 789;
_xscale = 55;
}
if ((jump > 0) && (this._x == 789)) {
this._x = 789;
_xscale = 55;
}
if ((DEVIL > 0) && (blade == 1)) {
this.capel.gotoAndStop(2);
this.arml.gotoAndStop(2);
this.arm.gotoAndStop(2);
this.head.gotoAndStop(2);
this.cape.gotoAndStop(2);
this.body.gotoAndStop(2);
this.glow.gotoAndStop(2);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(2);
}
if ((DEVIL > 0) && (blade == 2)) {
this.capel.gotoAndStop(3);
this.arml.gotoAndStop(3);
this.arm.gotoAndStop(3);
this.head.gotoAndStop(3);
this.cape.gotoAndStop(3);
this.body.gotoAndStop(3);
this.glow.gotoAndStop(3);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(3);
}
if ((DEVIL > 0) && (blade == 3)) {
this.capel.gotoAndStop(4);
this.arml.gotoAndStop(4);
this.arm.gotoAndStop(4);
this.head.gotoAndStop(4);
this.cape.gotoAndStop(4);
this.body.gotoAndStop(4);
this.glow.gotoAndStop(4);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(4);
}
if ((DEVIL > 0) && (blade == 4)) {
this.capel.gotoAndStop(5);
this.arml.gotoAndStop(5);
this.arm.gotoAndStop(5);
this.head.gotoAndStop(5);
this.cape.gotoAndStop(5);
this.body.gotoAndStop(5);
this.glow.gotoAndStop(5);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(5);
} else if (DEVIL < 1) {
this.capel.gotoAndStop(1);
this.arml.gotoAndStop(1);
this.arm.gotoAndStop(1);
this.head.gotoAndStop(1);
this.cape.gotoAndStop(1);
this.body.gotoAndStop(1);
this.glow.gotoAndStop(1);
this.static.gotoAndStop(1);
this.power._visible = false;
}
if (this._x > 800) {
this._x = 800;
} else if (this._x < 0) {
this._x = 0;
}
if ((key.isDown(70) && (DEVIL < 1)) && (_root.gauge.percent > 25)) {
this.gotoAndPlay("devilmode");
} else if (key.isDown(70) && (DEVIL > 0)) {
this.gotoAndPlay("devilexit");
}
if ((powerup > 30) && (pause < 1)) {
_root.gauge.percent = _root.gauge.percent + 1;
powerup = 0;
}
if (_root.gauge.percent > 99) {
time = 0;
} else if (_root.gauge.percent < 99) {
time = 1;
}
if ((DEVIL > 0) && (pause < 1)) {
powerdown = powerdown + down;
}
if (powerdown > 9) {
_root.gauge.percent = _root.gauge.percent - 1;
_root.Health = _root.Health + 1;
powerdown = 0;
}
if ((DEVIL < 1) && (pause < 1)) {
powerup = powerup + time;
}
if (_root.gauge.meterX._xscale > _root.gauge.meter._xscale) {
_root.meterX._xscale = _root.meterX._xscale - 0.75;
} else if (_root.gauge.meterX._xscale < _root.gauge.meter._xscale) {
_root.meterX._xscale = _root.gauge.meter._xscale;
}
if ((_root.gauge.percent < 1) && (DEVIL > 0)) {
_root.meterX._xscale = _root.gauge.meter._xscale;
this.gotoAndPlay("devilexit");
DEVIL = 0;
_root.gauge.percent = 0;
}
if (_xscale > 0) {
this._x = this._x + damage;
} else if (_xscale < 0) {
this._x = this._x - damage;
}
if (damage < 0) {
damage = 0;
friction2 = 0;
}
if (_root.Health > _root.Healthfull) {
_root.Health = _root.Healthfull;
}
if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 32;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 50;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 32;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 50;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 42;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
falling = 0;
hangtime = 0;
_root.Health = _root.Health - 70;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 32;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 70;
}
if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x > _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 28;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 50;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x < _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 28;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 50;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
combo = 0;
damage = 33;
jump = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 70;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x < _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 33;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 70;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits > 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
friction2 = 1.5;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
_root.Health = _root.Health - 65;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits > 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 65;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits > 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 65;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits > 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 35;
}
if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
}
if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
}
if (_root.Health < 1) {
_root.Health = 0;
this.gotoAndStop("death");
_root.death = _root.death + 1;
motion = 0;
DEVIL = 0;
down = 0;
time = 0;
combo = 0;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 30;
faller = 5;
DIE = 5;
_root.gauge.percent = 0;
}
if (_root.kills > quota) {
this.quota = this.quota + (_root.kills * 2);
this.quota = this.quota + 5;
_root.levelup.play();
}
if (_root.ENEMY2.Health <= 0) {
target1 = 1;
} else if (_root.ENEMY.Health <= 0) {
target1 = 2;
} else if (((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY._x < _root.ENEMY2._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY._x > _root.ENEMY2._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _x)) && (_root.ENEMY._x < _x)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _x)) && (_root.ENEMY._x < _x)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _x)) && (_root.ENEMY._x > _x)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _x)) && (_root.ENEMY._x > _x)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
}
if (target1 == 1) {
_root.targeter._x = _root.ENEMY._x;
_root.targeter._y = _root.ENEMY._y - 46;
} else if (target1 == 2) {
_root.targeter._x = _root.ENEMY2._x;
_root.targeter._y = _root.ENEMY2._y - 46;
}
if (gun == 1) {
this.arml.gun.gotoAndStop(1);
this.arm.gun.gotoAndStop(1);
_root.pause.guns.gotoAndStop(1);
} else if (gun == 2) {
this.arml.gun.gotoAndStop(2);
this.arm.gun.gotoAndStop(2);
_root.pause.guns.gotoAndStop(2);
} else if (gun == 3) {
this.arml.gun.gotoAndStop(3);
this.arm.gun.gotoAndStop(3);
_root.pause.guns.gotoAndStop(3);
} else if (gun == 4) {
this.arml.gun.gotoAndStop(4);
this.arm.gun.gotoAndStop(4);
_root.pause.guns.gotoAndStop(4);
}
if ((key.IsDown(88) && (_root.shotgun > 0)) && (gun == 1)) {
_root.gunswitch.gotoAndStop(2);
} else if ((key.IsDown(88) && (_root.grenade > 0)) && (gun == 2)) {
_root.gunswitch.gotoAndStop(3);
} else if ((key.IsDown(88) && (_root.submachine > 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(4);
} else if ((key.IsDown(88) && (_root.grenade < 1)) && (gun == 2)) {
_root.gunswitch.gotoAndStop(1);
} else if ((key.IsDown(88) && (_root.submachine < 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(1);
} else if ((key.IsDown(88) && (_root.submachine > 0)) && (gun == 4)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.lightning > 0)) && (blade == 1)) {
_root.swordswitch.gotoAndStop(2);
} else if ((key.IsDown(90) && (_root.hellfire > 0)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(3);
} else if ((key.IsDown(90) && (_root.devilsdemise > 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(4);
} else if ((key.IsDown(90) && (_root.hellfire < 1)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(1);
} else if ((key.IsDown(90) && (_root.devilsdemise < 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(1);
} else if ((key.IsDown(90) && (_root.devilsdemise > 0)) && (blade == 4)) {
_root.swordswitch.gotoAndStop(1);
}
if (gun == 3) {
this.bazooka.gotoAndStop(1);
} else if (gun == 4) {
this.bazooka.gotoAndStop(2);
} else if (gun == 2) {
this.bazooka.gotoAndStop(3);
} else if (gun == 1) {
this.bazooka.gotoAndStop(4);
}
if (blade == 3) {
this.fire._visible = true;
this.bolt._visible = false;
_root.pause.swords.gotoAndStop(3);
this.sword.gotoAndStop(3);
this.hate._visible = false;
this.light.gotoAndStop(3);
} else if (blade == 2) {
_root.pause.swords.gotoAndStop(2);
this.bolt._visible = true;
this.fire._visible = false;
this.sword.gotoAndStop(2);
this.hate._visible = false;
this.light.gotoAndStop(2);
} else if (blade == 1) {
this.fire._visible = false;
_root.pause.swords.gotoAndStop(1);
this.bolt._visible = false;
this.hate._visible = false;
this.light.gotoAndStop(1);
this.sword.gotoAndStop(1);
} else if (blade == 4) {
this.light.gotoAndStop(4);
this.hate._visible = true;
_root.pause.swords.gotoAndStop(4);
this.fire._visible = false;
this.bolt._visible = false;
this.sword.gotoAndStop(4);
}
if (DEVIL > 0) {
this.cape._visible = true;
this.capel._visible = true;
this.arm.gun.machine.gotoAndStop(2);
}
if (DEVIL < 1) {
this.arm.gun.machine.gotoAndStop(1);
}
if (((targeting < 1) && (key.IsDown(32))) && (timing > 25)) {
_root.targeter._visible = true;
targeting = 1;
timing = 0;
filler = 1;
} else if (((targeting > 0) && (key.IsDown(32))) && (timing > 25)) {
targeting = 0;
timing = 0;
filler = 1;
_root.targeter._visible = false;
}
if (((key.IsDown(67) && (pause < 1)) && (timing > 25)) && (DIE < 1)) {
pause = 5;
timing = 0;
filler = 1;
_root.pause._visible = true;
} else if ((key.IsDown(67) && (pause > 0)) && (timing > 25)) {
pause = 0;
hangtime = 3;
_root.ENEMY2.hangtime = 3;
_root.ENEMY.hangtime = 3;
play();
_root.pause._visible = false;
_root.pause.gotoAndStop(1);
timing = 0;
filler = 1;
}
if ((pause > 0) && (_y > 270)) {
this.gotoAndStop("pauseground");
hangtime = 0;
jump = 0;
plundge = 0;
falling = 0;
faller = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if ((pause > 0) && (_y < 270)) {
this.gotoAndStop("pauseair");
hangtime = 0;
jump = 0;
plundge = 0;
falling = 0;
faller = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if (comboreset > 120) {
combo = 0;
comboset = 0;
combo = combo - 2;
}
if (combo < 1) {
_root.style.gotoAndStop(1);
combo = 0;
comboreset = 0;
} else if ((combo > 1) && (combo < 50)) {
_root.style.gotoAndStop(2);
_root.score = _root.score + 1;
} else if ((combo > 50) && (combo < 110)) {
_root.style.gotoAndStop(3);
_root.score = _root.score + 1;
} else if ((combo > 110) && (combo < 160)) {
_root.style.gotoAndStop(4);
_root.score = _root.score + 1;
} else if ((combo > 160) && (combo < 210)) {
_root.style.gotoAndStop(5);
_root.score = _root.score + 2;
} else if ((combo > 210) && (combo < 280)) {
_root.style.gotoAndStop(6);
_root.score = _root.score + 2;
} else if (combo > 280) {
_root.style.gotoAndStop(7);
_root.score = _root.score + 3;
}
if (_root.Health > 0) {
DIE = 0;
}
if (DIE > 0) {
_root.gameover.play();
hangtime = 0;
_root.pause._visible = false;
jump = 0;
falling = 0;
attack = 0;
damage = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if ((skin < 2) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 2) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(2);
this.arm.skin.gotoAndStop(2);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(2);
this.dead.death.arm.skin.gotoAndStop(2);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 3) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(4);
this.arm.skin.gotoAndStop(4);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(4);
this.dead.death.arm.skin.gotoAndStop(4);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 4) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape.skin.gotoAndStop(2);
this.capel.skin.gotoAndStop(2);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.capel.skin.gotoAndStop(2);
this.dead.death.cape.skin.gotoAndStop(2);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 5) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 6) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 7) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(3);
this.arml.skin.gotoAndStop(3);
this.arm.skin.gotoAndStop(3);
this.cape._visible = true;
this.capel._visible = true;
this.cape.skin.gotoAndStop(2);
this.capel.skin.gotoAndStop(2);
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(3);
this.dead.death.arml.skin.gotoAndStop(3);
this.dead.death.arm.skin.gotoAndStop(3);
this.dead.death.cape._visible = true;
this.dead.death.cape.skin.gotoAndStop(2);
this.dead.death.capel.skin.gotoAndStop(2);
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 8) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(4);
this.arml.skin.gotoAndStop(4);
this.arm.skin.gotoAndStop(4);
this.cape._visible = true;
this.capel._visible = true;
this.cape.skin.gotoAndStop(3);
this.capel.skin.gotoAndStop(3);
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(4);
this.dead.death.arml.skin.gotoAndStop(4);
this.dead.death.arm.skin.gotoAndStop(4);
this.dead.death.cape._visible = true;
this.dead.death.cape.skin.gotoAndStop(3);
this.dead.death.capel.skin.gotoAndStop(3);
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
}
if ((skin < 7) && (DEVIL < 1)) {
this.capel.skin.gotoAndStop(1);
this.head.skin.gotoAndStop(1);
this.dead.death.cape.skin.gotoAndStop(1);
this.dead.death.capel.skin.gotoAndStop(1);
}
if (clock > 27) {
_root.seconds = _root.seconds + 1;
clock = 0;
}
if (_root.seconds > 60) {
_root.Minutes = _root.Minutes + 1;
_root.seconds = 0;
}
if (_root.mission == 10) {
_root.pause.mission.gotoAndStop(10);
}
if (_root.travel._x < -2500) {
_root.exit.play();
hangtime = 0;
_root.pause._visible = false;
this.stop();
jump = 0;
falling = 0;
attack = 0;
damage = 0;
motion = 0;
this.power._visible = false;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.SWORD.strike.gotoAndStop(1);
_root.ENEMY.SWORD.strike.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
_root.ENEMY2.motion = 0;
_root.ENEMY.motion = 0;
DEVIL = 0;
}
if (((key.IsDown(81) && (_root.Speedheart > 0)) && (Heart == 1)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(2);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart > 0)) && (Heart == 2)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(3);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart > 0)) && (Heart == 3)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(1);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart < 1)) && (Heart == 2)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(1);
heartchange = 0;
}
if ((((Heart == 2) && (DEVIL > 0)) && (healing > 9)) && (pause < 1)) {
_root.Health = _root.Health + 3;
_root.gauge.percent = _root.gauge.percent - 1;
healing = 0;
}
if ((((Heart == 3) && (DEVIL > 0)) && (healing > 17)) && (pause < 1)) {
_root.gauge.percent = _root.gauge.percent + 1;
_root.Health = _root.Health - 5;
healing = 0;
}
if (Heart == 1) {
_root.gauge.meter.gotoAndStop(1);
}
if (Heart == 2) {
_root.gauge.meter.gotoAndStop(2);
}
if (Heart == 3) {
_root.gauge.meter.gotoAndStop(3);
}
if (clock > 27) {
_root.OAseconds = _root.OAseconds + 1;
clock = 0;
}
if (_root.OAseconds > 60) {
_root.OAMinutes = _root.OAMinutes + 1;
_root.OAseconds = 0;
}
if (_root.kills > goal) {
MISSIONCLEAR = 20;
}
if (_root.rumble > 0) {
_root.pause.rumble.gotoAndStop(3);
}
if ((this.core.hitTest(_root.ENEMY3.dead) && (_x < _root.ENEMY3._x)) && (shadowmode < 1)) {
damage = 35;
friction2 = 1;
hangtime = 0;
falling = 0;
plundge = 20;
this.gotoAndPlay("down");
_xscale = -55;
Health = Health - 80;
}
if ((this.core.hitTest(_root.ENEMY3.dead) && (_x > _root.ENEMY3._x)) && (shadowmode < 1)) {
damage = 35;
friction2 = 1;
hangtime = 0;
falling = 0;
plundge = 20;
this.gotoAndPlay("down");
_xscale = -55;
Health = Health - 80;
}
if (((((this._xscale > 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x > _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 1;
target1 = 0;
}
if (((((this._xscale > 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x < _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 0;
target1 = 2;
}
if (((((this._xscale < 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x > _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 0;
target1 = 2;
}
if (((((this._xscale < 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x < _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 1;
target1 = 0;
}
if (_root.ENEMY2.Health < 1) {
target2 = 1;
}
if (_y < -30) {
hangtime = 2;
this.gotoAndStop("plummet");
}
if ((((this._x > 699) && (battle < 1)) && (_root.travel._x > -2639.85)) && (key.IsDown(39))) {
this._x = 700;
_root.travel._x = _root.travel._x - (motion * 1.1);
_root.travel._x = _root.travel._x - (DEVIL * 4);
}
if ((((this._x < 39) && (battle < 1)) && (_root.travel._x < 1)) && (key.IsDown(37))) {
this._x = 38;
_root.travel._x = _root.travel._x + (motion * 1.1);
_root.travel._x = _root.travel._x + (DEVIL * 4);
}
if (_root.travel._x > 0) {
_root.travel._x = 0;
}
if (_root.travel._x < -2639.85) {
_root.travel._x = -2639.85;
}
if (((((_root.travel._x < -850) && (_root.travel._x > -1400)) && (_root.kills < killfill)) && (battle < 1)) && (fight == 0)) {
battle = 2;
_root.music.gotoAndPlay("rock");
_root.ENEMY.rebirth = 2;
}
if ((((_root.travel._x < -850) && (_root.travel._x > -1400)) && (_root.kills > killfill)) && (battle > 0)) {
battle = 0;
killfill = killfill + 15;
_root.music.gotoAndPlay("ambient");
fight = 1;
_root.ENEMY.gotoAndPlay("death");
_root.ENEMY2.gotoAndPlay("death");
_root.ENEMY.Health = 0;
_root.ENEMY2.Health = 0;
}
if (((((_root.travel._x < -1600) && (_root.travel._x > -2400)) && (_root.kills < killfill)) && (battle < 1)) && (fight == 1)) {
battle = 2;
_root.ENEMY.rebirth = 2;
_root.music.gotoAndPlay("rock");
}
if ((((_root.travel._x < -1600) && (_root.travel._x > -2400)) && (_root.kills > killfill)) && (battle > 0)) {
battle = 0;
killfill = killfill + 5;
_root.ENEMY3.quota = 23;
_root.music.gotoAndPlay("ambient");
fight = 2;
_root.ENEMY.gotoAndPlay("death");
_root.ENEMY2.gotoAndPlay("death");
_root.ENEMY.Health = 0;
_root.ENEMY2.Health = 0;
}
if (((((_root.travel._x < -2400) && (_root.travel._x > -2900)) && (_root.kills < killfill)) && (battle < 1)) && (fight == 2)) {
battle = 2;
_root.ENEMY.rebirth = 2;
_root.music.gotoAndPlay("rock");
}
if ((((_root.travel._x < -2400) && (_root.travel._x > -2900)) && (_root.kills > killfill)) && (battle > 0)) {
battle = 0;
_root.ENEMY.gotoAndPlay("death");
_root.ENEMY2.gotoAndPlay("death");
_root.ENEMY.Health = 0;
_root.ENEMY2.Health = 0;
_root.ENEMY3.quota = 34;
_root.music.gotoAndPlay("ambient");
}
if (battle < 1) {
_root.ENEMY.autospawn = 0;
_root.ENEMY2.autospawn = 0;
_root.ENEMY3.autospawn = 0;
}
if (_root.rumble < 1) {
_root.pause.rumble.gotoAndStop(2);
}
if (gravity == 1) {
_root.Combo.hitter = _root.Combo.hits;
_yscale = 55;
this._y = this._y + (falling * gravity);
_root.Healthfull = (_root.level * 100) + 200;
this._y = this._y - (jump * gravity);
fill = fill + 1;
heartchange = heartchange + 1;
this.shoot.gotoAndStop(random(5));
falling = falling + (hangtime * gravity);
attack = attack - friction;
clock = clock + ticker;
damage = damage - friction2;
fillerup = fillerup + 1;
faller = faller + (plundge * gravity);
_root.combo.hits = combo;
comboreset = comboreset + comboset;
this._y = this._y + (faller * gravity);
healing = healing + 1;
speder = speder + 1;
timing = timing + filler;
this._y = this._y - (wallrun * gravity);
_root.gauge.meter._xscale = _root.gauge.percent;
}
if (gravity == -1) {
_yscale = -55;
_root.Combo.hitter = _root.Combo.hits;
this._y = this._y - falling;
_root.Healthfull = (_root.level * 100) + 200;
this._y = this._y + jump;
fill = fill + 1;
heartchange = heartchange + 1;
this.shoot.gotoAndStop(random(5));
falling = falling + hangtime;
attack = attack - friction;
clock = clock + ticker;
damage = damage - friction2;
fillerup = fillerup + 1;
faller = faller + plundge;
_root.combo.hits = combo;
comboreset = comboreset + comboset;
this._y = this._y - faller;
healing = healing + 1;
speder = speder + 1;
timing = timing + filler;
this._y = this._y + wallrun;
_root.gauge.meter._xscale = _root.gauge.percent;
}
if ((((_y < 70) && (falling > 0)) && (gravity < 0)) && (pause < 1)) {
this._y = 70;
falling = 0;
hangtime = 0;
jump = 0;
this.gotoAndStop(1);
} else if ((((_y < 70) && (faller > 0)) && (gravity < 0)) && (pause < 1)) {
this._y = 70;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 0;
faller = 0;
}
if ((((gravity == -1) && (blade == 2)) && (refill < 1)) && (pause < 1)) {
timevertex = timevertex + 2;
}
if (((((gravity == -1) && (blade == 2)) && (timevertex > 400)) && (refill < 1)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
refill = 5;
this.gotoAndStop("fall");
timevertex = 400;
}
if (refill > 0) {
timevertex = timevertex - 1;
}
if (gravity > 0) {
timevertex = timevertex - 1;
}
if (timevertex < 3) {
refill = 0;
}
if (((blade < 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if (((blade > 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if (((blade == 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if ((((blade < 2) && (_root.mission > 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade > 2) && (_root.mission > 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade < 2) && (_root.mission < 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade > 2) && (_root.mission < 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == 1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission < 7)) && (pause < 1)) {
gravity = -1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == -1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission < 7)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == 1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission > 7)) && (pause < 1)) {
gravity = -1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == -1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission > 7)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if ((this._y == 70) && (gravity == -1)) {
this.Staticform2._visible = true;
} else if ((this._y > 60) && (gravity == -1)) {
this.Staticform2._visible = false;
} else if (gravity == 1) {
this.Staticform2._visible = false;
}
if ((_y > 480) && (gravity < 0)) {
this.gotoAndStop("plummet");
}
if (timestop > 0) {
my_color = new Color(_root.ENEMY);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.ENEMY2);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.ENEMY3);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.BG);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.travel);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
}
if (timestop < 1) {
my_color = new Color(_root.ENEMY);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.ENEMY2);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.ENEMY3);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.BG);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.travel);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
}
if ((timestop > 0) && (pause < 1)) {
timestart = timestart + 1;
refiller = 0;
}
if ((timestop < 1) && (pause < 1)) {
refiller = refiller + 1;
}
if ((timestart > 500) && (pause < 1)) {
this.timetrigger.gotoAndStop(3);
timestop = 0;
enable = 1;
refiller = 0;
timestart = 0;
}
if (refiller > 300) {
enable = 0;
}
if ((((((blade == 3) && (key.IsDown(38))) && (key.IsDown(65))) && (DTIME > 30)) && (timestop < 1)) && (enable < 1)) {
timestop = 2;
DTIME = 0;
this.timetrigger.gotoAndStop(2);
}
if (((((blade == 3) && (key.IsDown(38))) && (key.IsDown(65))) && (DTIME > 30)) && (timestop > 1)) {
timestop = 0;
DTIME = 0;
this.timetrigger.gotoAndStop(3);
}
if ((blade < 3) && (pause < 1)) {
timestop = 0;
dropout = dropout - 1;
}
if ((blade > 3) && (pause < 1)) {
timestop = 0;
dropout = dropout - 1;
}
if (((((((blade == 4) && (key.IsDown(38))) && (key.IsDown(65))) && (PTIME > 30)) && (shadowset > 1000)) && (shadowmode < 1)) && (pause < 1)) {
this.shadowtiming.gotoAndStop(2);
shadowmode = 5;
PTIME = 0;
}
if (shadowmode > 0) {
my_color = new Color(_root.player);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_alpha = 50;
this.CORE._width = 0;
this.CORE._height = 0;
shadowexit = shadowexit + 2;
}
if ((shadowexit > 900) && (pause < 1)) {
shadowmode = 0;
PTIME = 0;
shadowset = 0;
shadowexit = 0;
this.shadowtiming.gotoAndStop(3);
}
if (shadowmode < 1) {
my_color = new Color(_root.player);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_alpha = 100;
this.CORE._width = 0;
this.CORE._height = 0;
shadowset = shadowset + 2;
}
if ((blade < 4) && (shadowmode > 0)) {
shadowmode = 0;
this.shadowtiming.gotoAndStop(3);
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (PTIME > 30)) && (shadowmode > 0)) && (pause < 1)) {
shadowmode = 0;
PTIME = 0;
this.shadowtiming.gotoAndStop(3);
}
if (shadowmode > 0) {
this.swordBox._width = 2000;
this.slashBox._width = 2000;
this.ripBox._width = 2000;
}
if (shadowmode < 1) {
this.swordBox._width = 240;
this.slashBox._width = 240;
this.ripBox._width = 240;
}
if ((key.IsDown(86) && (_root.submachine < 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(88) && (_root.submachine > 0)) && (gun == 4)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.lightning > 0)) && (blade == 1)) {
_root.swordswitch.gotoAndStop(2);
}
if ((key.IsDown(90) && (_root.hellfire > 0)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(3);
}
if ((key.IsDown(90) && (_root.devilsdemise > 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(4);
}
if ((key.IsDown(90) && (_root.hellfire < 1)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.devilsdemise < 2)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.devilsdemise > 0)) && (blade == 4)) {
_root.swordswitch.gotoAndStop(1);
}
if ((gravity < 0) && (_y > 350)) {
this.gotoAndStop("plummet");
plundge = 2;
}
if (die == 1) {
this.dead.gotoAndStop(1);
}
if ((die == 2) && (_y > 300)) {
this.dead.gotoAndStop(2);
}
if ((die == 3) && (_y > 300)) {
this.dead.gotoAndStop(3);
}
if (_root.OAmission < 8) {
_root.OAmission = 8;
}
if (riser > 80) {
this.gotoAndPlay("revert");
springup = 0;
riser = 0;
}
if ((timestart > 500) && (_root.ENEMY._y < 350)) {
_root.ENEMY.hangtime = 3;
}
if ((timestart > 500) && (_root.ENEMY2._y < 350)) {
_root.ENEMY2.hangtime = 3;
}
if ((timestart > 500) && (_root.ENEMY3._y < 350)) {
_root.ENEMY3.hangtime = 3;
}
if (((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY._y < 350)) && (timestop > 0)) {
_root.ENEMY.hangtime = 3;
}
if (((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY2._y < 350)) && (timestop > 0)) {
_root.ENEMY2.hangtime = 3;
}
if (((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY3._y < 350)) && (timestop > 0)) {
_root.ENEMY3.hangtime = 3;
}
if ((timestart > 500) && (_root.ENEMY._y < 350)) {
_root.ENEMY.hangtime = 3;
_root.ENEMY.play();
}
if ((timestart > 500) && (_root.ENEMY2._y < 350)) {
_root.ENEMY2.hangtime = 3;
_root.ENEMY2.play();
}
if ((timestart > 500) && (_root.ENEMY3._y < 350)) {
_root.ENEMY3.hangtime = 3;
_root.ENEMY3.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY.hangtime = 3;
_root.ENEMY.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY2._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY2.hangtime = 3;
_root.ENEMY2.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY3._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY3.hangtime = 3;
_root.ENEMY3.play();
} else {
_rotation = 0;
}
GTIME = GTIME + 1;
PTIME = PTIME + 1;
DTIME = DTIME + 1;
RISER = RISER + springup;
}
Instance of Symbol 1514 MovieClip "ENEMY" in Frame 45
onClipEvent (load) {
jump = 0;
hangtime = 3;
falling = 0;
damage = 0;
motion = 5;
Health = 1500;
this.gotoAndStop("dead");
SPAWN = 0;
this.fire._alpha = 0;
}
onClipEvent (enterFrame) {
if ((falling > 60) && (_root.player.MISSIONCLEAR < 1)) {
falling = 60;
}
if ((_y > 353) && (falling > 0)) {
_y = 353;
falling = 0;
jump = 0;
hangtime = 0;
}
if (((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this._x = this._x + motion;
this.SWORD.gotoAndStop(1);
}
if (((_root.player._x < (_x - 70)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
this._xscale = -100;
this._x = this._x - motion;
this.SWORD.gotoAndStop(1);
}
if ((((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this.SWORD.gotoAndStop(2);
}
if (((((_xscale < 0) && (_root.player._x > (_x - 70))) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this.SWORD.gotoAndStop(2);
}
if (((((_xscale > 0) && (_root.player._x < (_x + 70))) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this.SWORD.gotoAndStop(2);
}
if (_xscale > 0) {
aim = -90;
} else if (_xscale < 0) {
aim = 90;
}
if (this.Core.hitTest(_root.player.GUNBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("shot");
damage = 7;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if (this.Core.hitTest(_root.player.GUNBOX2)) {
this.gotoAndPlay("shot");
damage = 7;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX)) {
this.gotoAndPlay("slash");
damage = 17;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 40;
_root.Combo.gotoAndPlay(2);
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (_root.player.DEVIL * 10);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX)) {
this.gotoAndPlay("slash");
damage = 20;
friction = 2;
jump = 28;
hangtime = 2;
falling = 0;
Health = Health - (50 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 80;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.STABBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("slash");
damage = 3;
friction = 1;
jump = 40;
hangtime = 2;
falling = 0;
Health = Health - (55 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 60;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if ((this.Core.hitTest(_root.player.GUNBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if (this.Core.hitTest(_root.player.GUNBOX2) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX) && (Health < 1)) {
this.gotoAndPlay("ripped");
Health = Health - (30 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 20;
_root.Combo.hits = _root.Combo.hits + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX) && (Health < 1)) {
this.gotoAndPlay("ripped");
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (50 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if ((this.Core.hitTest(_root.player.STABBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("death");
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (55 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(3);
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health > 0)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("slash");
damage = 27;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 50;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(2);
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("exploader");
damage = 27;
friction = 2;
jump = 7;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (50 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if (this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("exploader");
damage = 37;
friction = 2;
jump = 7;
hangtime = 2;
rebirth = 2;
autospawn = 0;
falling = 0;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
Health = Health - (1000 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
}
if (_xscale > 0) {
this._x = this._x - damage;
this.overkill._xscale = 100;
} else if (_xscale < 0) {
this._x = this._x + damage;
this.overkill._xscale = -100;
}
if (damage < 0) {
damage = 0;
friction = 0;
}
if (Health < -50) {
this.overkill.play();
}
if (this._x > 800) {
this._x = 800;
} else if (this._x < 0) {
this._x = 0;
}
if (autospawn > 60) {
this._y = -100;
}
if (autospawn > 120) {
Health = 1200;
autospawn = 0;
rebirth = 0;
hangtime = 4;
SPAWN = SPAWN + 1;
gotoAndStop (1);
}
if ((autospawn > 120) && (_root.ENEMY2.Health < 1)) {
_root.ENEMY2.rebirth = 2;
this.gotoAndStop(1);
}
if (((autospawn > 60) && (_root.ENEMY2.Health < 1)) && (_root.ENEMY2.rebirth < 1)) {
_root.ENEMY2.rebirth = 2;
}
if ((this.core.hitTest(_root.ENEMY2.core) && (_root.ENEMY2._x > _x)) && (_root.player.target1 == 1)) {
_root.ENEMY2._x = _root.ENEMY2._x + 20;
} else if ((this.core.hitTest(_root.ENEMY2.core) && (_root.ENEMY2._x < _x)) && (_root.player.target1 == 1)) {
_root.ENEMY2._x = _root.ENEMY2._x - 20;
}
if (_root.player.timestop > 0) {
this.SWORD.strike.gotoAndStop(1);
this.SWORD.gotoAndStop(1);
}
if ((Health < 400) && (SPAWN > 1)) {
this.BUG.gotoAndStop(2);
}
if ((((this.BUG.strike.hitbox.hitTest(_root.player.core) && (_xscale > 0)) && (_root.Health > 0)) && (_root.player.timestop < 1)) && (_root.player.shadowmode < 1)) {
_root.player._xscale = 55;
_root.Health = _root.Health - 140;
_root.player.gotoAndPlay("down");
_root.player.plundge = 5;
_root.player.damage = 40;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.plundge = 5;
_root.player.falling = 0;
_root.player.hangtime = 0;
_root.player.combo = 0;
SPAWN = 0;
}
if ((((this.BUG.strike.hitbox.hitTest(_root.player.core) && (_xscale < 0)) && (_root.Health > 0)) && (_root.player.timestop < 1)) && (_root.player.shadowmode < 1)) {
_root.player._xscale = -55;
_root.Health = _root.Health - 140;
_root.player.gotoAndPlay("down");
_root.player.plundge = 5;
_root.player.damage = 40;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.plundge = 5;
_root.player.falling = 0;
_root.player.hangtime = 0;
_root.player.combo = 0;
SPAWN = 0;
}
if ((Health < 600) && (SPAWN > 0)) {
this.carcus.gotoAndStop(2);
this.carcus2.gotoAndStop(2);
}
if ((((_xscale > 0) && (_root.player._x < (_x + 130))) && (_root.player.pause < 1)) && (SPAWN > 0)) {
stabfill = stabfill + 1;
}
if ((((_xscale < 0) && (_root.player._x > (_x - 130))) && (_root.player.pause < 1)) && (SPAWN > 0)) {
stabfill = stabfill + 1;
}
if (_root.player.timestop > 0) {
this.BUG.strike.stop();
this.carcus.demon.stop();
}
if (_root.player.timestop < 1) {
this.BUG.strike.play();
this.carcus.demon.play();
}
if (this.Core.hitTest(_root.player.SWORDBOX && (_root.player.blade == 3))) {
flames = 80;
}
if (this.Core.hitTest(_root.player.RIPBOX) && (_root.player.blade == 3)) {
flames = 80;
}
if (Health > 0) {
this.fire._alpha = flames;
flames = flames - 1;
}
if (Health < 1) {
flames = 0;
}
if ((_root.player.DTIME > 20) && (_root.player.DTIME < 25)) {
hangtime = 1;
}
_y = (_y + falling);
_y = (_y - jump);
autospawn = autospawn + rebirth;
damage = damage - friction;
falling = falling + hangtime;
}
Instance of Symbol 1406 MovieClip "ENEMY3" in Frame 45
onClipEvent (load) {
jump = 0;
hangtime = 3;
falling = 0;
damage = 0;
motion = 2;
Health = 0;
this.gotoAndStop("dead");
quota = 5;
}
onClipEvent (enterFrame) {
if ((falling > 60) && (_root.player.MISSIONCLEAR < 1)) {
falling = 60;
}
if ((_y > 353) && (falling > 0)) {
_y = 353;
falling = 0;
jump = 0;
hangtime = 0;
}
if (_xscale > 0) {
_x = (_x - damage);
}
if (_xscale < 0) {
_x = (_x - damage);
}
if (((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this._x = this._x + motion;
}
if (((_root.player._x < (_x - 70)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
this._xscale = -100;
this._x = this._x - motion;
}
if (_xscale > 0) {
aim = -90;
} else if (_xscale < 0) {
aim = 90;
}
if (this.Core.hitTest(_root.player.GUNBOX) && (_root.player.target2 == 1)) {
this.gotoAndPlay("shot");
damage = 5;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if (this.Core.hitTest(_root.player.GUNBOX2)) {
this.gotoAndPlay("shot");
damage = 5;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX)) {
this.gotoAndPlay("slash");
damage = 8;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 40;
_root.Combo.gotoAndPlay(2);
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (_root.player.DEVIL * 10);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX)) {
this.gotoAndPlay("slash");
damage = 30;
friction = 2;
jump = 15;
hangtime = 2;
falling = 0;
Health = Health - (50 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 80;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.STABBOX) && (_root.player.target2 == 1)) {
this.gotoAndPlay("slash");
damage = 8;
friction = 1;
jump = 40;
hangtime = 2;
falling = 0;
Health = Health - (55 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 60;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if ((this.Core.hitTest(_root.player.GUNBOX) && (Health < 1)) && (_root.player.target2 == 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.ENEMY.rebirth = 5;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.target1 == 2;
_root.player.comboreset = 0;
quota = quota + 3;
}
if (this.Core.hitTest(_root.player.GUNBOX2) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
autospawn = 0;
rebirth = 1;
_root.ENEMY.rebirth = 5;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.target1 == 2;
_root.player.comboset = 1;
_root.player.comboreset = 0;
quota = quota + 3;
} else if (this.Core.hitTest(_root.player.SWORDBOX) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (30 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
autospawn = 0;
rebirth = 1;
_root.ENEMY.rebirth = 5;
_root.player.target1 == 2;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 20;
_root.Combo.hits = _root.Combo.hits + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
quota = quota + 3;
} else if (this.Core.hitTest(_root.player.RIPBOX) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (_root.player.DEVIL * 10);
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
Health = Health - (50 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.player.target1 == 2;
_root.ENEMY.rebirth = 5;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
quota = quota + 3;
} else if ((this.Core.hitTest(_root.player.STABBOX) && (Health < 1)) && (_root.player.target2 == 1)) {
this.gotoAndPlay("death");
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (55 * _root.player.strength);
autospawn = 0;
_root.player.target1 == 2;
rebirth = 1;
_root.ENEMY.rebirth = 5;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(3);
quota = quota + 3;
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health > 0)) && (_root.player.target2 == 1)) {
this.gotoAndPlay("slash");
damage = 27;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 50;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(2);
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health < 1)) && (_root.player.target2 == 1)) {
this.gotoAndPlay("death");
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
_root.player.target1 == 2;
damage = 27;
friction = 2;
jump = 7;
_root.kills = _root.kills + 1;
_root.ENEMY.rebirth = 5;
_root.overallkills = _root.overallkills + 1;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (50 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
quota = quota + 3;
} else if (this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target2 == 1)) {
this.gotoAndPlay("death");
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
damage = 37;
friction = 2;
jump = 7;
hangtime = 2;
rebirth = 2;
autospawn = 0;
_root.ENEMY.rebirth = 5;
falling = 0;
_root.player.target1 == 2;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
Health = Health - (1000 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
quota = quota + 3;
}
if (this._x > 800) {
this._x = 795;
} else if (this._x < 0) {
this._x = 5;
}
if ((autospawn > 10) && (_root.ENEMY.Health < 1)) {
_root.player.target1 = 2;
}
if ((autospawn > 70) && (_root.ENEMY.Health > 0)) {
autospawn = 70;
}
if (autospawn > 65) {
this._y = -100;
}
if ((autospawn > 150) && (_root.ENEMY.Health < 1)) {
Health = 25;
autospawn = 0;
rebirth = 0;
hangtime = 2;
this.gotoAndStop(1);
_root.ENEMY.gotoAndStop("dead");
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 0;
}
if (_root.kills > quota) {
rebirth = 2;
quota = quota + 5;
}
if ((this.core.hitTest(_root.ENEMY2.core) && (_root.ENEMY2._x > _x)) && (_root.player.target2 > 0)) {
_root.ENEMY2._x = _root.ENEMY2._x + 20;
} else if ((this.core.hitTest(_root.ENEMY2.core) && (_root.ENEMY2._x < _x)) && (_root.player.target2 > 0)) {
_root.ENEMY2._x = _root.ENEMY2._x - 20;
}
if (damage < 0) {
damage = 0;
friction = 0;
}
if (this.dead.hitTest(_root.ENEMY2.Core) && (_root.ENEMY2._x < _x)) {
_root.ENEMY2.damage = 40;
_root.ENEMY2.friction = 1.5;
_root.ENEMY2.gotoAndPlay("slash");
_root.ENEMY2.jump = 30;
_root.ENEMY2.hangtime = 1.5;
_root.ENEMY2._xscale = 100;
} else if (this.dead.hitTest(_root.ENEMY2.Core) && (_root.ENEMY2._x > _x)) {
_root.ENEMY2.damage = 40;
_root.ENEMY2.friction = 1.5;
_root.ENEMY2.jump = 30;
_root.ENEMY2.hangtime = 1.5;
_root.ENEMY2.gotoAndPlay("slash");
_root.ENEMY2._xscale = -100;
}
if (_root.player.pause > 0) {
this.seed.stop();
} else if (_root.player.pause < 1) {
this.seed.play();
}
if (((Health > 0) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
timebomb = timebomb + 1;
}
if (timebomb > 150) {
this.gotoAndPlay("death");
_root.ENEMY.rebirth = 5;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 30;
_root.ENEMY.Health = 1000;
damage = 37;
_root.player.target1 == 2;
friction = 2;
jump = 7;
hangtime = 2;
rebirth = 2;
autospawn = 40;
_root.ENEMY.rebirth = 1;
falling = 0;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
Health = Health - (1000 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
quota = quota + 3;
timebomb = 0;
Health = 0;
}
if ((autospawn < 0) && (autospawn < 65)) {
_root.player.target1 == 2;
}
if (_root.player.timestop > 0) {
this.SWORD.strike.gotoAndStop(1);
this.SWORD.gotoAndStop(1);
}
if (_root.player.timestop > 0) {
this.seed.stop();
}
if (_root.player.timestop < 1) {
this.seed.play();
}
if ((_root.player.DTIME > 20) && (_root.player.DTIME < 25)) {
hangtime = 1;
}
_y = (_y + falling);
_y = (_y - jump);
_x = (_x + damage);
autospawn = autospawn + rebirth;
falling = falling + hangtime;
}
Instance of Symbol 1119 MovieClip "ENEMY2" in Frame 45
onClipEvent (load) {
jump = 0;
hangtime = 0;
falling = 0;
damage = 0;
motion = 5;
Health = 0;
this.gotoAndStop("dead");
SPAWN = 0;
this.fire._alpha = 0;
}
onClipEvent (enterFrame) {
if ((falling > 60) && (_root.player.MISSIONCLEAR < 1)) {
falling = 60;
}
if (((_y > 353) && (falling > 0)) && (_root.player.MISSIONCLEAR < 1)) {
_y = 353;
falling = 0;
jump = 0;
hangtime = 0;
}
if ((((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this._x = this._x + motion;
this.SWORD.gotoAndStop(1);
}
if ((((_root.player._x < (_x - 70)) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this._xscale = -100;
this._x = this._x - motion;
this.SWORD.gotoAndStop(1);
}
if ((((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this.SWORD.gotoAndStop(2);
}
if (((((_xscale < 0) && (_root.player._x > (_x - 70))) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this.SWORD.gotoAndStop(2);
}
if (((((_xscale > 0) && (_root.player._x < (_x + 70))) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this.SWORD.gotoAndStop(2);
}
if (_xscale > 0) {
aim = -90;
} else if (_xscale < 0) {
aim = 90;
}
if (this.Core.hitTest(_root.player.GUNBOX) && (_root.player.target1 == 2)) {
this.gotoAndPlay("shot");
damage = 7;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
}
if (this.Core.hitTest(_root.player.GUNBOX2)) {
this.gotoAndPlay("shot");
damage = 7;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX)) {
this.gotoAndPlay("slash");
damage = 17;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 40;
_root.Combo.gotoAndPlay(2);
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (_root.player.DEVIL * 10);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX)) {
this.gotoAndPlay("slash");
damage = 20;
friction = 2;
jump = 28;
hangtime = 2;
falling = 0;
Health = Health - (50 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 80;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if (this.Core.hitTest(_root.player.STABBOX) && (_root.player.target1 == 2)) {
this.gotoAndPlay("slash");
damage = 3;
friction = 1;
jump = 40;
hangtime = 2;
falling = 0;
Health = Health - (55 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 60;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if ((this.Core.hitTest(_root.player.GUNBOX) && (Health < 1)) && (_root.player.target1 == 2)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
}
if (this.Core.hitTest(_root.player.GUNBOX2) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX) && (Health < 1)) {
this.gotoAndPlay("ripped");
Health = Health - (30 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 20;
_root.Combo.hits = _root.Combo.hits + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX) && (Health < 1)) {
this.gotoAndPlay("ripped");
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (50 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if ((this.Core.hitTest(_root.player.STABBOX) && (Health < 1)) && (_root.player.target1 == 2)) {
this.gotoAndPlay("death");
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (55 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(3);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health > 0)) && (_root.player.target1 == 2)) {
this.gotoAndPlay("slash");
damage = 27;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 50;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health < 1)) && (_root.player.target1 == 2)) {
this.gotoAndPlay("exploader");
damage = 27;
friction = 2;
jump = 7;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (50 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if (this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target1 == 2)) {
this.gotoAndPlay("exploader");
damage = 37;
friction = 2;
jump = 7;
hangtime = 2;
rebirth = 2;
autospawn = 0;
falling = 0;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
Health = Health - (1000 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
}
if (_xscale > 0) {
this._x = this._x - damage;
this.overkill._xscale = 100;
} else if (_xscale < 0) {
this._x = this._x + damage;
this.overkill._xscale = -100;
}
if (damage < 0) {
damage = 0;
friction = 0;
}
if (Health < -50) {
this.overkill.play();
}
if (this._x > 800) {
this._x = 800;
} else if (this._x < 0) {
this._x = 0;
}
if (autospawn > 60) {
this._y = -100;
}
if ((autospawn > 120) && (SPAWN < 2)) {
Health = 1500;
autospawn = 0;
rebirth = 0;
hangtime = 2;
SPAWN = SPAWN + 1;
this.gotoAndStop(1);
}
if ((autospawn > 120) && (SPAWN > 1)) {
Health = 1200;
autospawn = 0;
rebirth = 0;
hangtime = 2;
SPAWN = 0;
this.gotoAndStop(1);
}
if ((this.core.hitTest(_root.ENEMY.core) && (_root.ENEMY._x > _x)) && (_root.player.target1 == 2)) {
_root.ENEMY._x = _root.ENEMY._x + 20;
} else if ((this.core.hitTest(_root.ENEMY.core) && (_root.ENEMY._x < _x)) && (_root.player.target1 == 2)) {
_root.ENEMY._x = _root.ENEMY._x - 20;
}
if (_root.player.timestop > 0) {
this.SWORD.strike.gotoAndStop(1);
this.SWORD.gotoAndStop(1);
}
if ((((this.carcus.blood.TAIL.strike.whip.hitTest(_root.player.staber) && (_xscale > 0)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (_root.player.shadowmode < 1)) {
_root.player._xscale = 55;
_root.Health = _root.Health - 100;
_root.player.gotoAndPlay("down");
_root.player.plundge = 5;
_root.player.damage = 35;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.plundge = 5;
_root.player.combo = 0;
_root.player.falling = 0;
_root.player.hangtime = 0;
}
if ((((this.carcus.blood.TAIL.strike.whip.hitTest(_root.player.staber) && (_xscale < 0)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (_root.player.shadowmode < 1)) {
_root.player._xscale = -55;
_root.Health = _root.Health - 100;
_root.player.gotoAndPlay("down");
_root.player.plundge = 5;
_root.player.damage = 35;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.plundge = 5;
_root.player.combo = 0;
_root.player.falling = 0;
_root.player.hangtime = 0;
}
if (((((this.carcus.blood.TAIL.strike.hitbox.hitTest(_root.player.core) && (_xscale > 0)) && (_root.Health > 0)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (_root.player.shadowmode < 1)) {
_root.player._x = _x + 100;
_root.player._xscale = 55;
_root.player.gotoAndPlay("impale");
_root.Health = _root.Health - 30;
_root.player.gravity = 1;
_root.player.plundge = 5;
_root.player.combo = 0;
this.carcus.blood.TAIL.strike.hitbox.gotoAndPlay("stabber");
_root.player.falling = 0;
_root.player.hangtime = 0;
_root.player.damage = 0;
_root.player.friction = 0;
_root.player.attack = 0;
_root.player.friction2 = 0;
motion = 0;
}
if (((((this.carcus.blood.TAIL.strike.hitbox.hitTest(_root.player.core) && (_xscale < 0)) && (_root.Health > 0)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (_root.player.shadowmode < 1)) {
_root.player._x = _x - 100;
_root.player._xscale = -55;
_root.player.gotoAndPlay("impale");
_root.Health = _root.Health - 30;
_root.player.gravity = 1;
_root.player.plundge = 5;
_root.player.combo = 0;
_root.player.falling = 0;
_root.player.hangtime = 0;
_root.player.damage = 0;
_root.player.friction = 0;
_root.player.attack = 0;
_root.player.friction2 = 0;
this.carcus.blood.TAIL.strike.gotoAndPlay("stabber");
motion = 0;
}
if (((Health < 600) && (SPAWN > 0)) && (_root.player.timestop < 1)) {
this.carcus.gotoAndStop(2);
}
if ((((_xscale > 0) && (_root.player._x < (_x + 130))) && (_root.player.pause < 1)) && (SPAWN > 0)) {
stabfill = stabfill + 1;
}
if ((((_xscale < 0) && (_root.player._x > (_x - 130))) && (_root.player.pause < 1)) && (SPAWN > 0)) {
stabfill = stabfill + 1;
}
if ((stabfill > 130) && (_y > 340)) {
this.carcus.blood.TAIL.gotoAndStop(2);
this.SWORD.strike.gotoAndStop(1);
}
if (stabfill < 130) {
this.carcus.blood.TAIL.gotoAndStop(1);
}
if (_root.player.timestop > 0) {
this.carcus.blood.TAIL.strike.stop();
}
if (_root.player.timestop < 1) {
this.carcus.blood.TAIL.strike.play();
}
if (this.Core.hitTest(_root.player.SWORDBOX && (_root.player.blade == 3))) {
flames = 80;
}
if (this.Core.hitTest(_root.player.RIPBOX) && (_root.player.blade == 3)) {
flames = 80;
}
if (Health > 0) {
this.fire._alpha = flames;
flames = flames - 1;
}
if (Health < 1) {
flames = 0;
}
if ((_root.player.DTIME > 20) && (_root.player.DTIME < 25)) {
hangtime = 1;
}
_y = (_y + falling);
_y = (_y - jump);
autospawn = autospawn + rebirth;
damage = damage - friction;
falling = falling + hangtime;
}
Frame 46
if (_root.OAmission < 11) {
_root.OAmission = 11;
}
_quality = "High";
stop();
Stage.showMenu = false;
Instance of Symbol 986 MovieClip in Frame 46
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if (_root.killstats < _root.kills) {
_root.killstats = _root.killstats + 1;
}
if ((_root.killstats == _root.kills) && (_root.scorestats < _root.score)) {
_root.scorestats = _root.scorestats + 90;
}
if (((_root.killstats == _root.kills) && (_root.scorestats == _root.score)) && (_root.damagestats < _root.damage)) {
_root.damagestats = _root.damagestats + 5;
}
if (_root.killstats > _root.kills) {
_root.killstats = _root.kills;
}
if (_root.damagestats > _root.damage) {
_root.damagestats = _root.damage;
}
if (_root.scorestats > _root.score) {
_root.scorestats = _root.score;
}
if (key.IsDown(32)) {
_root.killstats = _root.kills;
}
if (key.IsDown(32) && (_root.killstats == _root.kills)) {
_root.scorestats = _root.score;
}
if ((key.IsDown(32) && (_root.killstats == _root.kills)) && (_root.scorestats == _root.score)) {
_root.damagestats = _root.damage;
}
if ((((_root.scorestats > 30000) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(6);
clearer = 1;
_root.rank10 = 5;
}
if (((((_root.scorestats > 27000) && (_root.scorestats < 30000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(5);
clearer = 1;
_root.rank10 = 4;
}
if (((((_root.scorestats > 24000) && (_root.scorestats < 27000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(4);
clearer = 1;
_root.rank10 = 3;
}
if (((((_root.scorestats > 21000) && (_root.scorestats < 24000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(3);
clearer = 1;
_root.rank10 = 2;
}
if ((((_root.scorestats < 21000) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(2);
clearer = 1;
_root.rank10 = 1;
}
if (_root.OAminutes < _root.minutes) {
_root.OAminutes = _root.minutes;
_root.OAseconds = _root.seconds;
}
_root.damage = _root.Healthfull - _root.Health;
_root.minutestats = _root.minutes;
_root.secondstats = _root.seconds;
}
Frame 47
_quality = "High";
stop();
Stage.showMenu = false;
Frame 48
_quality = "High";
stop();
Stage.showMenu = false;
Frame 49
if (_root.quality == 1) {
_quality = "Medium";
}
if (_root.quality == 2) {
_quality = "High";
}
if (_root.quality == 3) {
_quality = "Low";
}
stop();
Stage.showMenu = false;
Instance of Symbol 594 MovieClip "player" in Frame 49
onClipEvent (load) {
goal = 1;
MISSIONCLEAR = 0;
die = random(3);
_root.minutes = 0;
_root.seconds = 0;
_root.Speedheart = 5;
_root.pause._visible = false;
_root.targeter._visible = false;
_root.mission = 11;
_root.score = 0;
_root.Health = (_root.level * 100) + 200;
_root.kills = 0;
gravity = 1;
skin = 4;
damage = 0;
clock = 0;
ticker = 1;
targeting = 0;
filler = 2;
gun = 1;
attack = 0;
friction = 0;
motion = 13;
hangtime = 1;
falling = 0;
jump = 0;
blade = 1;
hits = 0;
thrower = 1;
DEVIL = 0;
_root.DRIVE = 0;
time = 1;
powerup = 0;
_root.gauge.percent = 0;
down = 1;
quota = (2 * _root.kills) + 10;
target = 0;
target2 = 0;
comboset = 0;
combo = 0;
comboreset = 0;
}
onClipEvent (enterFrame) {
if (_root.level < 1) {
_root.level = 1;
_root.Health = 300;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 1)) {
this._xscale = -55;
this._x = this._x + (motion * 1.1);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 1;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 1)) {
this._xscale = 55;
this._x = this._x - (motion * 1.1);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 1;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 4)) {
this._xscale = -55;
this._x = this._x + (motion * 1.4);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 2.5;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 4)) {
this._xscale = 55;
this._x = this._x - (motion * 1.4);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 2.5;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 2)) {
this._xscale = -55;
this._x = this._x + (motion * 1.35);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 0.6;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 2)) {
this._xscale = 55;
this._x = this._x - (motion * 1.35);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 0.6;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 3)) {
this._xscale = -55;
this._x = this._x + (motion * 0.95);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 2;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 3)) {
this._xscale = 55;
this._x = this._x - (motion * 0.95);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 2;
}
if (falling > 60) {
falling = 60;
hangtime = 0;
}
if (_xscale > 0) {
this._x = this._x - attack;
} else if (_xscale < 0) {
this._x = this._x + attack;
}
if (((_y > 325) && (falling > 0)) && (gravity > 0)) {
this._y = 351;
falling = 0;
hangtime = 0;
jump = 0;
this.gotoAndStop(1);
}
if (((_y > 325) && (faller > 0.5)) && (gravity > 0)) {
this._y = 349.79;
faller = 0;
plundge = 0;
jump = 0;
} else if (((_y > 325) && (falling > 3)) && (gravity > 0)) {
this._y = 349.79;
falling = 0;
hangtime = 0;
this._x = this._x - attack;
}
if (attack < 0) {
attack = 0;
friction = 0;
}
if (((jump > 0) && (this._x < 10)) && (key.IsDown(37))) {
this.gotoAndPlay("wallride");
this._x = 11;
_xscale = -55;
}
if ((jump > 0) && (this._x == 11)) {
this._x = 11;
_xscale = -55;
}
if (((jump > 0) && (this._x > 790)) && (key.IsDown(39))) {
this.gotoAndPlay("wallride");
this._x = 789;
_xscale = 55;
}
if ((jump > 0) && (this._x == 789)) {
this._x = 789;
_xscale = 55;
}
if ((DEVIL > 0) && (blade == 1)) {
this.capel.gotoAndStop(2);
this.arml.gotoAndStop(2);
this.arm.gotoAndStop(2);
this.head.gotoAndStop(2);
this.cape.gotoAndStop(2);
this.body.gotoAndStop(2);
this.glow.gotoAndStop(2);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(2);
}
if ((DEVIL > 0) && (blade == 2)) {
this.capel.gotoAndStop(3);
this.arml.gotoAndStop(3);
this.arm.gotoAndStop(3);
this.head.gotoAndStop(3);
this.cape.gotoAndStop(3);
this.body.gotoAndStop(3);
this.glow.gotoAndStop(3);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(3);
}
if ((DEVIL > 0) && (blade == 3)) {
this.capel.gotoAndStop(4);
this.arml.gotoAndStop(4);
this.arm.gotoAndStop(4);
this.head.gotoAndStop(4);
this.cape.gotoAndStop(4);
this.body.gotoAndStop(4);
this.glow.gotoAndStop(4);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(4);
}
if ((DEVIL > 0) && (blade == 4)) {
this.capel.gotoAndStop(5);
this.arml.gotoAndStop(5);
this.arm.gotoAndStop(5);
this.head.gotoAndStop(5);
this.cape.gotoAndStop(5);
this.body.gotoAndStop(5);
this.glow.gotoAndStop(5);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(5);
} else if (DEVIL < 1) {
this.capel.gotoAndStop(1);
this.arml.gotoAndStop(1);
this.arm.gotoAndStop(1);
this.head.gotoAndStop(1);
this.cape.gotoAndStop(1);
this.body.gotoAndStop(1);
this.glow.gotoAndStop(1);
this.static.gotoAndStop(1);
this.power._visible = false;
}
if (this._x > 800) {
this._x = 800;
} else if (this._x < 0) {
this._x = 0;
}
if ((key.isDown(70) && (DEVIL < 1)) && (_root.gauge.percent > 25)) {
this.gotoAndPlay("devilmode");
} else if (key.isDown(70) && (DEVIL > 0)) {
this.gotoAndPlay("devilexit");
}
if ((powerup > 30) && (pause < 1)) {
_root.gauge.percent = _root.gauge.percent + 1;
powerup = 0;
}
if (_root.gauge.percent > 99) {
time = 0;
} else if (_root.gauge.percent < 99) {
time = 1;
}
if ((DEVIL > 0) && (pause < 1)) {
powerdown = powerdown + down;
}
if (powerdown > 9) {
_root.gauge.percent = _root.gauge.percent - 1;
_root.Health = _root.Health + 1;
powerdown = 0;
}
if ((DEVIL < 1) && (pause < 1)) {
powerup = powerup + time;
}
if (_root.gauge.meterX._xscale > _root.gauge.meter._xscale) {
_root.meterX._xscale = _root.meterX._xscale - 0.75;
} else if (_root.gauge.meterX._xscale < _root.gauge.meter._xscale) {
_root.meterX._xscale = _root.gauge.meter._xscale;
}
if ((_root.gauge.percent < 1) && (DEVIL > 0)) {
_root.meterX._xscale = _root.gauge.meter._xscale;
this.gotoAndPlay("devilexit");
DEVIL = 0;
_root.gauge.percent = 0;
}
if (_xscale > 0) {
this._x = this._x + damage;
} else if (_xscale < 0) {
this._x = this._x - damage;
}
if (damage < 0) {
damage = 0;
friction2 = 0;
}
if (_root.Health > _root.Healthfull) {
_root.Health = _root.Healthfull;
}
if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 55;
falling = 0;
hangtime = 0;
plundge = 5;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 55;
falling = 0;
hangtime = 0;
plundge = 5;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
falling = 0;
hangtime = 0;
_root.Health = _root.Health - 85;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 85;
}
if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x > _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 28;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 45;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x < _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 28;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 45;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
combo = 0;
damage = 33;
jump = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 65;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x < _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 33;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 65;
} else if ((((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
friction2 = 1.5;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
_root.Health = _root.Health - 65;
} else if ((((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 65;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits > 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 65;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits > 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 35;
}
if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
}
if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
}
if ((this.core.hitTest(_root.ENEMY.TAIL.strike.hitbox) && (_root.ENEMY._x > _x)) && (shadowmode < 1)) {
this.gotoAndPlay("Impale");
_xscale = 55;
damage = 0;
attack = 0;
friction = 0;
friction2 = 0;
plundge = 5;
_root.Health = _root.Health - 90;
} else if ((this.core.hitTest(_root.ENEMY.TAIL.strike.hitbox) && (_root.ENEMY._x < _x)) && (shadowmode < 1)) {
this.gotoAndPlay("Impale");
_xscale = 55;
damage = 0;
attack = 0;
friction = 0;
friction2 = 0;
plundge = 5;
_root.Health = _root.Health - 90;
}
if (_root.Health < 1) {
_root.Health = 0;
this.gotoAndStop("death");
_root.death = _root.death + 1;
motion = 0;
DEVIL = 0;
down = 0;
time = 0;
combo = 0;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 30;
faller = 5;
DIE = 5;
_root.gauge.percent = 0;
}
if (_root.kills > quota) {
this.quota = this.quota + (_root.kills * 2);
this.quota = this.quota + 5;
_root.levelup.play();
}
if (_root.ENEMY2.Health <= 0) {
target1 = 1;
} else if (_root.ENEMY.Health <= 0) {
target1 = 2;
} else if (((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY._x < _root.ENEMY2._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY._x > _root.ENEMY2._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _x)) && (_root.ENEMY._x < _x)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _x)) && (_root.ENEMY._x < _x)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _x)) && (_root.ENEMY._x > _x)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _x)) && (_root.ENEMY._x > _x)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
}
if (target1 == 1) {
_root.targeter._x = _root.ENEMY._x;
_root.targeter._y = _root.ENEMY._y - 46;
} else if (target1 == 2) {
_root.targeter._x = _root.ENEMY2._x;
_root.targeter._y = _root.ENEMY2._y - 46;
}
if (gun == 1) {
this.arml.gun.gotoAndStop(1);
this.arm.gun.gotoAndStop(1);
_root.pause.guns.gotoAndStop(1);
} else if (gun == 2) {
this.arml.gun.gotoAndStop(2);
this.arm.gun.gotoAndStop(2);
_root.pause.guns.gotoAndStop(2);
} else if (gun == 3) {
this.arml.gun.gotoAndStop(3);
this.arm.gun.gotoAndStop(3);
_root.pause.guns.gotoAndStop(3);
} else if (gun == 4) {
this.arml.gun.gotoAndStop(4);
this.arm.gun.gotoAndStop(4);
_root.pause.guns.gotoAndStop(4);
}
if ((key.IsDown(88) && (_root.shotgun > 0)) && (gun == 1)) {
_root.gunswitch.gotoAndStop(2);
} else if ((key.IsDown(88) && (_root.grenade > 0)) && (gun == 2)) {
_root.gunswitch.gotoAndStop(3);
} else if ((key.IsDown(88) && (_root.submachine > 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(4);
} else if ((key.IsDown(88) && (_root.grenade < 1)) && (gun == 2)) {
_root.gunswitch.gotoAndStop(1);
} else if ((key.IsDown(88) && (_root.submachine < 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(1);
} else if ((key.IsDown(88) && (_root.submachine > 0)) && (gun == 4)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.lightning > 0)) && (blade == 1)) {
_root.swordswitch.gotoAndStop(2);
} else if ((key.IsDown(90) && (_root.hellfire > 0)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(3);
} else if ((key.IsDown(90) && (_root.devilsdemise > 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(4);
} else if ((key.IsDown(90) && (_root.hellfire < 1)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(1);
} else if ((key.IsDown(90) && (_root.devilsdemise < 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(1);
} else if ((key.IsDown(90) && (_root.devilsdemise > 0)) && (blade == 4)) {
_root.swordswitch.gotoAndStop(1);
}
if (gun == 3) {
this.bazooka.gotoAndStop(1);
} else if (gun == 4) {
this.bazooka.gotoAndStop(2);
} else if (gun == 2) {
this.bazooka.gotoAndStop(3);
} else if (gun == 1) {
this.bazooka.gotoAndStop(4);
}
if (blade == 3) {
this.fire._visible = true;
this.bolt._visible = false;
_root.pause.swords.gotoAndStop(3);
this.sword.gotoAndStop(3);
this.hate._visible = false;
this.light.gotoAndStop(3);
} else if (blade == 2) {
_root.pause.swords.gotoAndStop(2);
this.bolt._visible = true;
this.fire._visible = false;
this.sword.gotoAndStop(2);
this.hate._visible = false;
this.light.gotoAndStop(2);
} else if (blade == 1) {
this.fire._visible = false;
_root.pause.swords.gotoAndStop(1);
this.bolt._visible = false;
this.hate._visible = false;
this.light.gotoAndStop(1);
this.sword.gotoAndStop(1);
} else if (blade == 4) {
this.light.gotoAndStop(4);
this.hate._visible = true;
_root.pause.swords.gotoAndStop(4);
this.fire._visible = false;
this.bolt._visible = false;
this.sword.gotoAndStop(4);
}
if (DEVIL > 0) {
this.cape._visible = true;
this.capel._visible = true;
this.arm.gun.machine.gotoAndStop(2);
}
if (DEVIL < 1) {
this.arm.gun.machine.gotoAndStop(1);
}
if (((targeting < 1) && (key.IsDown(32))) && (timing > 25)) {
_root.targeter._visible = true;
targeting = 1;
timing = 0;
filler = 1;
} else if (((targeting > 0) && (key.IsDown(32))) && (timing > 25)) {
targeting = 0;
timing = 0;
filler = 1;
_root.targeter._visible = false;
}
if (((key.IsDown(67) && (pause < 1)) && (timing > 25)) && (DIE < 1)) {
pause = 5;
timing = 0;
filler = 1;
_root.pause._visible = true;
} else if ((key.IsDown(67) && (pause > 0)) && (timing > 25)) {
pause = 0;
hangtime = 3;
_root.ENEMY2.hangtime = 3;
_root.ENEMY.hangtime = 3;
play();
_root.pause._visible = false;
_root.pause.gotoAndStop(1);
timing = 0;
filler = 1;
}
if ((pause > 0) && (_y > 270)) {
this.gotoAndStop("pauseground");
hangtime = 0;
jump = 0;
plundge = 0;
falling = 0;
faller = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if ((pause > 0) && (_y < 270)) {
this.gotoAndStop("pauseair");
hangtime = 0;
jump = 0;
plundge = 0;
falling = 0;
faller = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if (comboreset > 120) {
combo = 0;
comboset = 0;
combo = combo - 2;
}
if (combo < 1) {
_root.style.gotoAndStop(1);
combo = 0;
comboreset = 0;
} else if ((combo > 1) && (combo < 50)) {
_root.style.gotoAndStop(2);
_root.score = _root.score + 1;
} else if ((combo > 50) && (combo < 110)) {
_root.style.gotoAndStop(3);
_root.score = _root.score + 1;
} else if ((combo > 110) && (combo < 160)) {
_root.style.gotoAndStop(4);
_root.score = _root.score + 1;
} else if ((combo > 160) && (combo < 210)) {
_root.style.gotoAndStop(5);
_root.score = _root.score + 2;
} else if ((combo > 210) && (combo < 280)) {
_root.style.gotoAndStop(6);
_root.score = _root.score + 2;
} else if (combo > 280) {
_root.style.gotoAndStop(7);
_root.score = _root.score + 3;
}
if (_root.Health > 0) {
DIE = 0;
}
if (DIE > 0) {
_root.gameover.play();
hangtime = 0;
_root.pause._visible = false;
jump = 0;
falling = 0;
attack = 0;
damage = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if ((skin < 2) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 2) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(2);
this.arm.skin.gotoAndStop(2);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(2);
this.dead.death.arm.skin.gotoAndStop(2);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 3) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(4);
this.arm.skin.gotoAndStop(4);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(4);
this.dead.death.arm.skin.gotoAndStop(4);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 4) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape.skin.gotoAndStop(2);
this.capel.skin.gotoAndStop(2);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.capel.skin.gotoAndStop(2);
this.dead.death.cape.skin.gotoAndStop(2);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 5) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 6) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 7) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(3);
this.arml.skin.gotoAndStop(3);
this.arm.skin.gotoAndStop(3);
this.cape._visible = true;
this.capel._visible = true;
this.cape.skin.gotoAndStop(2);
this.capel.skin.gotoAndStop(2);
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(3);
this.dead.death.arml.skin.gotoAndStop(3);
this.dead.death.arm.skin.gotoAndStop(3);
this.dead.death.cape._visible = true;
this.dead.death.cape.skin.gotoAndStop(2);
this.dead.death.capel.skin.gotoAndStop(2);
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 8) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(4);
this.arml.skin.gotoAndStop(4);
this.arm.skin.gotoAndStop(4);
this.cape._visible = true;
this.capel._visible = true;
this.cape.skin.gotoAndStop(3);
this.capel.skin.gotoAndStop(3);
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(4);
this.dead.death.arml.skin.gotoAndStop(4);
this.dead.death.arm.skin.gotoAndStop(4);
this.dead.death.cape._visible = true;
this.dead.death.cape.skin.gotoAndStop(3);
this.dead.death.capel.skin.gotoAndStop(3);
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
}
if ((skin < 7) && (DEVIL < 1)) {
this.capel.skin.gotoAndStop(1);
this.head.skin.gotoAndStop(1);
this.dead.death.cape.skin.gotoAndStop(1);
this.dead.death.capel.skin.gotoAndStop(1);
}
if (clock > 27) {
_root.seconds = _root.seconds + 1;
clock = 0;
}
if (_root.seconds > 60) {
_root.Minutes = _root.Minutes + 1;
_root.seconds = 0;
}
if (_root.mission == 11) {
_root.pause.mission.gotoAndStop(11);
}
if (_root.kills > 0) {
_root.exit.play();
hangtime = 0;
_root.pause._visible = false;
this.stop();
jump = 0;
falling = 0;
attack = 0;
damage = 0;
motion = 0;
this.power._visible = false;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.SWORD.strike.gotoAndStop(1);
_root.ENEMY.SWORD.strike.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
_root.ENEMY2.motion = 0;
_root.ENEMY.motion = 0;
DEVIL = 0;
}
if (((key.IsDown(81) && (_root.Speedheart > 0)) && (Heart == 1)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(2);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart > 0)) && (Heart == 2)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(3);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart > 0)) && (Heart == 3)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(1);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart < 1)) && (Heart == 2)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(1);
heartchange = 0;
}
if ((((Heart == 2) && (DEVIL > 0)) && (healing > 9)) && (pause < 1)) {
_root.Health = _root.Health + 3;
_root.gauge.percent = _root.gauge.percent - 1;
healing = 0;
}
if ((((Heart == 3) && (DEVIL > 0)) && (healing > 17)) && (pause < 1)) {
_root.gauge.percent = _root.gauge.percent + 1;
_root.Health = _root.Health - 5;
healing = 0;
}
if (Heart == 1) {
_root.gauge.meter.gotoAndStop(1);
}
if (Heart == 2) {
_root.gauge.meter.gotoAndStop(2);
}
if (Heart == 3) {
_root.gauge.meter.gotoAndStop(3);
}
if (clock > 27) {
_root.OAseconds = _root.OAseconds + 1;
clock = 0;
}
if (_root.OAseconds > 60) {
_root.OAMinutes = _root.OAMinutes + 1;
_root.OAseconds = 0;
}
if (_root.kills > goal) {
MISSIONCLEAR = 20;
}
if (_root.rumble > 0) {
_root.pause.rumble.gotoAndStop(3);
}
if ((this.core.hitTest(_root.ENEMY3.dead) && (_x < _root.ENEMY3._x)) && (shadowmode < 1)) {
damage = 35;
friction2 = 1;
hangtime = 0;
falling = 0;
plundge = 20;
this.gotoAndPlay("down");
_xscale = -55;
Health = Health - 60;
}
if ((this.core.hitTest(_root.ENEMY3.dead) && (_x > _root.ENEMY3._x)) && (shadowmode < 1)) {
damage = 35;
friction2 = 1;
hangtime = 0;
falling = 0;
plundge = 20;
this.gotoAndPlay("down");
_xscale = -55;
Health = Health - 60;
}
if (((((this._xscale > 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x > _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 1;
target1 = 0;
}
if (((((this._xscale > 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x < _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 0;
target1 = 2;
}
if (((((this._xscale < 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x > _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 0;
target1 = 2;
}
if (((((this._xscale < 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x < _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 1;
target1 = 0;
}
if (_root.ENEMY2.Health < 1) {
target2 = 1;
}
if (_y < -30) {
hangtime = 2;
this.gotoAndStop("plummet");
}
if (_root.rumble < 1) {
_root.pause.rumble.gotoAndStop(2);
}
if (gravity == 1) {
_root.Combo.hitter = _root.Combo.hits;
_yscale = 55;
this._y = this._y + (falling * gravity);
_root.Healthfull = (_root.level * 100) + 200;
this._y = this._y - (jump * gravity);
fill = fill + 1;
heartchange = heartchange + 1;
this.shoot.gotoAndStop(random(5));
falling = falling + (hangtime * gravity);
attack = attack - friction;
clock = clock + ticker;
damage = damage - friction2;
fillerup = fillerup + 1;
faller = faller + (plundge * gravity);
_root.combo.hits = combo;
comboreset = comboreset + comboset;
this._y = this._y + (faller * gravity);
healing = healing + 1;
speder = speder + 1;
timing = timing + filler;
this._y = this._y - (wallrun * gravity);
_root.gauge.meter._xscale = _root.gauge.percent;
}
if (gravity == -1) {
_yscale = -55;
_root.Combo.hitter = _root.Combo.hits;
this._y = this._y - falling;
_root.Healthfull = (_root.level * 100) + 200;
this._y = this._y + jump;
fill = fill + 1;
heartchange = heartchange + 1;
this.shoot.gotoAndStop(random(5));
falling = falling + hangtime;
attack = attack - friction;
clock = clock + ticker;
damage = damage - friction2;
fillerup = fillerup + 1;
faller = faller + plundge;
_root.combo.hits = combo;
comboreset = comboreset + comboset;
this._y = this._y - faller;
healing = healing + 1;
speder = speder + 1;
timing = timing + filler;
this._y = this._y + wallrun;
_root.gauge.meter._xscale = _root.gauge.percent;
}
if (((_y < 70) && (falling > 0)) && (gravity < 0)) {
this._y = 70;
falling = 0;
hangtime = 0;
jump = 0;
this.gotoAndStop(1);
} else if (((_y < 70) && (faller > 0)) && (gravity < 0)) {
this._y = 70;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 0;
faller = 0;
}
if ((((gravity == -1) && (blade == 2)) && (refill < 1)) && (pause < 1)) {
timevertex = timevertex + 2;
}
if (((((gravity == -1) && (blade == 2)) && (timevertex > 400)) && (refill < 1)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
refill = 5;
this.gotoAndStop("fall");
timevertex = 400;
}
if ((refill > 0) && (pause < 1)) {
timevertex = timevertex - 1;
}
if (gravity > 0) {
timevertex = timevertex - 1;
}
if ((timevertex < 3) && (pause < 1)) {
refill = 0;
}
if (((blade < 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if (((blade > 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if (((blade == 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if ((((blade < 2) && (_root.mission > 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade > 2) && (_root.mission > 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade < 2) && (_root.mission < 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade > 2) && (_root.mission < 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == 1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission < 7)) && (pause < 1)) {
gravity = -1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == -1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission < 7)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == 1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission > 7)) && (pause < 1)) {
gravity = -1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == -1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission > 7)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if ((this._y == 70) && (gravity == -1)) {
this.Staticform2._visible = true;
} else if ((this._y > 60) && (gravity == -1)) {
this.Staticform2._visible = false;
} else if (gravity == 1) {
this.Staticform2._visible = false;
}
if ((_y > 480) && (gravity < 0)) {
this.gotoAndStop("plummet");
}
if (timestop > 0) {
my_color = new Color(_root.ENEMY);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.ENEMY2);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.ENEMY3);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.BG);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.travel);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
}
if ((timestop < 1) && (_root.ENEMY.timingstop < 1)) {
my_color = new Color(_root.ENEMY);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.ENEMY2);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.ENEMY3);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.BG);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.travel);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
}
if ((timestop > 0) && (pause < 1)) {
timestart = timestart + 1;
refiller = 0;
}
if ((timestop < 1) && (pause < 1)) {
refiller = refiller + 1;
}
if ((timestart > 500) && (pause < 1)) {
this.timetrigger.gotoAndStop(3);
timestop = 0;
enable = 1;
refiller = 0;
timestart = 0;
}
if (refiller > 300) {
enable = 0;
}
if ((((((blade == 3) && (key.IsDown(38))) && (key.IsDown(65))) && (DTIME > 30)) && (timestop < 1)) && (enable < 1)) {
timestop = 2;
DTIME = 0;
this.timetrigger.gotoAndStop(2);
}
if (((((blade == 3) && (key.IsDown(38))) && (key.IsDown(65))) && (DTIME > 30)) && (timestop > 1)) {
timestop = 0;
DTIME = 0;
this.timetrigger.gotoAndStop(3);
}
if ((blade < 3) && (pause < 1)) {
timestop = 0;
dropout = dropout - 1;
}
if ((blade > 3) && (pause < 1)) {
timestop = 0;
dropout = dropout - 1;
}
if (((((((blade == 4) && (key.IsDown(38))) && (key.IsDown(65))) && (PTIME > 30)) && (shadowset > 1000)) && (shadowmode < 1)) && (pause < 1)) {
this.shadowtiming.gotoAndStop(2);
shadowmode = 5;
PTIME = 0;
}
if (shadowmode > 0) {
my_color = new Color(_root.player);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_alpha = 50;
this.CORE._width = 0;
this.CORE._height = 0;
shadowexit = shadowexit + 2;
}
if ((shadowexit > 900) && (pause < 1)) {
shadowmode = 0;
PTIME = 0;
shadowset = 0;
shadowexit = 0;
this.shadowtiming.gotoAndStop(3);
}
if ((shadowmode < 1) && (_root.ENEMY.timingstop < 1)) {
my_color = new Color(_root.player);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_alpha = 100;
this.CORE._width = 0;
this.CORE._height = 0;
shadowset = shadowset + 2;
}
if ((blade < 4) && (shadowmode > 0)) {
shadowmode = 0;
this.shadowtiming.gotoAndStop(3);
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (PTIME > 30)) && (shadowmode > 0)) && (pause < 1)) {
shadowmode = 0;
PTIME = 0;
this.shadowtiming.gotoAndStop(3);
}
if (shadowmode > 0) {
this.swordBox._width = 2000;
this.slashBox._width = 2000;
this.ripBox._width = 2000;
}
if (shadowmode < 1) {
this.swordBox._width = 240;
this.slashBox._width = 240;
this.ripBox._width = 240;
}
if ((key.IsDown(86) && (_root.submachine < 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(88) && (_root.submachine > 0)) && (gun == 4)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.lightning > 0)) && (blade == 1)) {
_root.swordswitch.gotoAndStop(2);
}
if ((key.IsDown(90) && (_root.hellfire > 0)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(3);
}
if ((key.IsDown(90) && (_root.devilsdemise > 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(4);
}
if ((key.IsDown(90) && (_root.hellfire < 1)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.devilsdemise < 2)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.devilsdemise > 0)) && (blade == 4)) {
_root.swordswitch.gotoAndStop(1);
}
if (((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits < 2)) && (shadowmode < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 45;
} else if (((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits < 2)) && (shadowmode < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 45;
} else if (((this.core.hitTest(_root.ENEMY.TAIL.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits > 1)) && (shadowmode < 1)) {
this.gotoAndPlay("impale");
_xscale = -55;
hits = 0;
damage = 0;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 0;
falling = 0;
hangtime = 0;
_root.Health = _root.Health - 80;
} else if ((this.core.hitTest(_root.ENEMY.TAIL.strike.hitbox) && (_root.ENEMY._x < _x)) && (shadowmode < 1)) {
this.gotoAndPlay("impale");
_xscale = 55;
hits = 0;
damage = 0;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 0;
_root.Health = _root.Health - 80;
}
if ((gravity < 0) && (_y > 350)) {
this.gotoAndStop("plummet");
plundge = 2;
}
if (die == 1) {
this.dead.gotoAndStop(1);
}
if ((die == 2) && (_y > 300)) {
this.dead.gotoAndStop(2);
}
if ((die == 3) && (_y > 300)) {
this.dead.gotoAndStop(3);
}
if (_root.OAmission < 9) {
_root.OAmission = 9;
}
if ((_root.ENEMY.DEAD > 0) && (_root.ENEMY._xscale > 0)) {
this._x = this._x + 1.5;
}
if ((_root.ENEMY.DEAD > 0) && (_root.ENEMY._xscale < 0)) {
this._x = this._x - 1.5;
}
if ((timestart > 500) && (_root.ENEMY._y < 350)) {
_root.ENEMY.hangtime = 3;
_root.ENEMY.play();
}
if ((timestart > 500) && (_root.ENEMY2._y < 350)) {
_root.ENEMY2.hangtime = 3;
_root.ENEMY2.play();
}
if ((timestart > 500) && (_root.ENEMY3._y < 350)) {
_root.ENEMY3.hangtime = 3;
_root.ENEMY3.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY.hangtime = 3;
_root.ENEMY.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY2._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY2.hangtime = 3;
_root.ENEMY2.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY3._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY3.hangtime = 3;
_root.ENEMY3.play();
} else {
_rotation = 0;
}
GTIME = GTIME + 1;
PTIME = PTIME + 1;
DTIME = DTIME + 1;
}
Instance of Symbol 2020 MovieClip "ENEMY" in Frame 49
onClipEvent (load) {
Health = 10000;
Hangtime = 2;
jump = 0;
falling = 0;
plundge = 0;
faller = 0;
attack = 0;
damage = 0;
friction = 0;
friction2 = 0;
attacktimer = 0;
DEVILTIMER = 0;
DEVIL = 0;
timingstop = 0;
this.transform._visible = false;
this.fire._alpha = 0;
}
onClipEvent (enterFrame) {
if (((_y > 345) && (falling > 5)) && (_root.Health > 0)) {
this.SWORD.gotoAndStop(1);
_y = 345;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 0;
faller = 0;
}
if ((_y > 345) && (faller > 0)) {
_y = 345;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 0;
faller = 0;
}
if (damage < 0) {
damage = 0;
friction2 = 0;
}
if (attack < 0) {
attack = 0;
friction = 0;
}
if ((((DEVILtimer > 800) && (DEVIL < 1)) && (_root.player.pause < 1)) && (_root.Health > 0)) {
DEVIL = 5;
DEVILtimer = 0;
this.transform.gotoAndStop(2);
this.transform._visible = true;
}
if ((((DEVILtimer > 800) && (DEVIL > 0)) && (_root.player.pause < 1)) && (_root.Health > 0)) {
DEVIL = 0;
DEVILtimer = 0;
this.transform.gotoAndStop(1);
this.transform._visible = true;
}
if (DEVIL > 0) {
this.SWORD.strike.head.gotoAndStop(2);
this.SWORD.strike.body.gotoAndStop(2);
this.SWORD.strike.capel._visible = false;
this.SWORD.strike.cape._visible = false;
this.SWORD.strike.pigtails._visible = false;
this.SWORD.strike.pigtailsl._visible = false;
this.SWORD.strike.arm.gotoAndStop(2);
this.SWORD.strike.Larm.gotoAndStop(2);
this.SWORD.strike.glow.gotoAndStop(4);
this.HURT.head.gotoAndStop(2);
this.HURT.body.gotoAndStop(2);
this.HURT.capel.gotoAndStop(2);
this.HURT.glow.gotoAndStop(4);
this.HURT.strike.capel._visible = false;
this.HURT.cape._visible = false;
this.HURT.pigtails._visible = false;
this.HURT.pigtailsl._visible = false;
this.HURT.cape.gotoAndStop(2);
this.HURT.arm.gotoAndStop(2);
this.HURT.Larm.gotoAndStop(2);
}
if (DEVIL < 0) {
this.SWORD.strike.head.gotoAndStop(1);
this.SWORD.strike.body.gotoAndStop(1);
this.SWORD.strike.capel.gotoAndStop(1);
this.SWORD.strike.cape.gotoAndStop(1);
this.SWORD.strike.capel._visible = true;
this.SWORD.strike.cape._visible = true;
this.SWORD.strike.pigtails._visible = true;
this.SWORD.strike.pigtailsl._visible = true;
this.SWORD.strike.arm.gotoAndStop(1);
this.SWORD.strike.Larm.gotoAndStop(1);
this.SWORD.strike.glow.gotoAndStop(1);
this.HURT.head.gotoAndStop(1);
this.HURT.body.gotoAndStop(1);
this.HURT.capel.gotoAndStop(1);
this.HURT.capel._visible = true;
this.HURT.cape._visible = true;
this.HURT.pigtails._visible = true;
this.HURT.pigtailsl._visible = true;
this.HURT.glow.gotoAndStop(1);
this.HURT.cape.gotoAndStop(1);
this.HURT.arm.gotoAndStop(1);
this.HURT.Larm.gotoAndStop(1);
}
if ((((((_root.player._x > (_x + 50)) && (damage < 1)) && (attack < 1)) && (Health > 0)) && (_root.player.pause < 1)) && (_root.Health > 0)) {
_xscale = 80;
}
if ((((((_root.player._x < (_x - 50)) && (damage < 1)) && (attack < 1)) && (Health > 0)) && (_root.player.pause < 1)) && (_root.Health > 0)) {
_xscale = -80;
}
if (_xscale > 0) {
this._x = this._x - damage;
}
if (_xscale < 0) {
this._x = this._x + damage;
}
if ((_root.player.timestop < 1) && (_xscale < 0)) {
this._x = this._x - attack;
}
if ((_root.player.timestop < 1) && (_xscale > 0)) {
this._x = this._x + attack;
}
if ((this.Core.hitTest(_root.player.GUNBOX) && (_root.player.target1 == 1)) && (timingstop < 1)) {
this.gotoAndPlay("shot");
attack = 0;
friction = 0;
attacktimer = 0;
damage = 7;
friction2 = 1;
jump = 2.4;
hangtime = 1;
attacker = 41;
falling = 3;
Health = Health - (1.5 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if (this.Core.hitTest(_root.player.GUNBOX2) && (timingstop < 1)) {
this.gotoAndPlay("shot");
attack = 0;
friction = 0;
attacktimer = 0;
damage = 7;
friction2 = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
attacker = 41;
Health = Health - (1.5 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX) && (timingstop < 1)) {
this.gotoAndPlay("slash");
attack = 0;
friction = 0;
damage = 17;
attacktimer = 0;
friction2 = 2;
attacker = 41;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (20 * _root.player.strength);
_root.Score = _root.Score + 40;
_root.Combo.gotoAndPlay(2);
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (_root.player.DEVIL * 10);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (((this.Core.hitTest(_root.player.BOOMBOX) && (timingstop < 1)) && (_root.player.target1 == 1)) && (Health > 1)) {
this.gotoAndPlay("shot");
attack = 0;
friction = 0;
damage = 27;
friction2 = 2;
AIattack = 40;
jump = 7;
hangtime = 2;
attacker = 41;
falling = 0;
rebirth = 2;
Health = Health - (1000 * _root.player.strength);
} else if (this.Core.hitTest(_root.player.RIPBOX) && (timingstop < 1)) {
this.gotoAndPlay("slash");
attack = 0;
attacker = 41;
friction = 0;
damage = 20;
attacktimer = 0;
friction2 = 2;
jump = 28;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 80;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if ((this.Core.hitTest(_root.player.STABBOX) && (_root.player.target1 == 1)) && (timingstop < 1)) {
this.gotoAndPlay("slash");
attack = 0;
friction = 0;
damage = 3;
attacker = 41;
friction2 = 1;
attacktimer = 0;
jump = 40;
hangtime = 2;
falling = 0;
Health = Health - (35 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 60;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if (((this.Core.hitTest(_root.player.GUNBOX) && (timingstop < 1)) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
attack = 0;
friction = 0;
attacker = 41;
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
attacktimer = 0;
_root.player.comboreset = 0;
}
if ((this.Core.hitTest(_root.player.GUNBOX2) && (timingstop < 1)) && (Health < 1)) {
this.gotoAndPlay("death");
attack = 0;
friction = 0;
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
attacktimer = 0;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if ((this.Core.hitTest(_root.player.SWORDBOX) && (timingstop < 1)) && (Health < 1)) {
this.gotoAndPlay("death");
attack = 0;
friction = 0;
Health = Health - (30 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
attacktimer = 0;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 20;
_root.Combo.hits = _root.Combo.hits + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if ((this.Core.hitTest(_root.player.RIPBOX) && (timingstop < 1)) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (_root.player.DEVIL * 10);
attack = 0;
friction = 0;
Health = Health - (50 * _root.player.strength);
autospawn = 0;
rebirth = 1;
attacktimer = 0;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (((this.Core.hitTest(_root.player.STABBOX) && (timingstop < 1)) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("death");
attack = 0;
friction = 0;
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (55 * _root.player.strength);
autospawn = 0;
rebirth = 1;
attacktimer = 0;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(3);
} else if (((this.Core.hitTest(_root.player.SHOTBOX) && (timingstop < 1)) && (Health > 0)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("slash");
attack = 0;
friction = 0;
damage = 27;
friction2 = 2;
jump = 7;
hangtime = 2;
attacktimer = 0;
falling = 0;
Health = Health - (20 * _root.player.strength);
_root.Score = _root.Score + 50;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(2);
} else if (((this.Core.hitTest(_root.player.SHOTBOX) && (timingstop < 1)) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("death");
attack = 0;
friction = 0;
damage = 27;
friction2 = 2;
attacktimer = 0;
jump = 7;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (50 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if ((this.Core.hitTest(_root.player.BOOMBOX) && (timingstop < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("slash");
attack = 0;
friction = 0;
damage = 37;
friction2 = 2;
attacktimer = 0;
jump = 7;
hangtime = 2;
autospawn = 0;
falling = 0;
} else if (((this.Core.hitTest(_root.player.BOOMBOX) && (timingstop < 1)) && (_root.player.target1 == 1)) && (Health < 1)) {
this.gotoAndPlay("death");
attack = 0;
friction = 0;
damage = 27;
friction2 = 2;
attacktimer = 0;
jump = 7;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (50 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
}
if (_root.BHP.meter._width < _root.BHP.meter2._width) {
_root.BHP.meter2._width = _root.BHP.meter2._width - 0.05;
}
if (_root.BHP.meter._width < (_root.BHP.meter2._width - 25)) {
_root.BHP.meter2._width = _root.BHP.meter2._width - 1;
}
if (_root.BHP.meter._width < (_root.BHP.meter2._width - 40)) {
_root.BHP.meter2._width = _root.BHP.meter2._width - 2;
}
if ((_root.player.combo > 140) && (_root.player.pause < 1)) {
this.BURST.strike.play();
attacker = attacker + 400;
}
if (Health < 1) {
_y = 334;
DEVIL = 0;
attacktimer = 0;
DEVILTIMER = 0;
_root.exit.play();
}
if (_root.player.pause > 0) {
this.SWORD.gotoAndStop(1);
motion = 0;
attack = 0;
jump = 0;
damage = 0;
friction = 0;
friction2 = 0;
}
if (_root.player.pause < 1) {
this._y = this._y - jump;
this._y = this._y + falling;
this._y = this._y + faller;
falling = falling + hangtime;
faller = faller + plundge;
attack = attack - friction;
damage = damage - friction2;
}
if ((this.BURST.strike.hitbox.hitTest(_root.player) && (_xscale > 0)) && (_root.Health > 0)) {
_root.player._xscale = 55;
_root.Health = _root.Health - 100;
_root.player.gotoAndPlay("down");
_root.player.plundge = 5;
_root.player.damage = 30;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.falling = 0;
_root.player.hangtime = 0;
_root.player.plundge = 5;
_root.player.combo = 0;
}
if ((this.BURST.strike.hitbox.hitTest(_root.player) && (_xscale < 0)) && (_root.Health > 0)) {
_root.player._xscale = -55;
_root.Health = _root.Health - 100;
_root.player.gotoAndPlay("down");
_root.player.plundge = 5;
_root.player.damage = 30;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.falling = 0;
_root.player.hangtime = 0;
_root.player.plundge = 5;
_root.player.combo = 0;
}
if (this.SWORD.chaoscontrol.hitTest(_root.Player) && (_root.player._y > 340)) {
this.SWORD.gotoAndStop("chaoscontrol");
_root.player.motion = 0;
_root.player.attack = 0;
_root.player.plundge = 5;
_root.player.faller = 5;
_root.player.hangtime = 0;
_root.player.falling = 0;
_root.player.friction = 0;
timingstop = 5;
timer = 5;
}
if (timingstop > 0) {
my_color = new Color(_root.BG);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
my_color = new Color(_root.Player);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
}
if (((timingstop < 1) && (_root.player.timestop < 1)) && (_root.player.shadowmode < 1)) {
my_color = new Color(_root.BG);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
my_color = new Color(_root.Player);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
}
if (((((_root.player.timestop < 1) && (_root.player.pause < 1)) && (_root.Health > 0)) && (_x > 10)) && (_x < 790)) {
attacker = attacker + 1;
}
if ((attacker > 70) && (attacker < 75)) {
this.SWORD.gotoAndStop(2);
}
if ((attacker > 130) && (attacker < 135)) {
this.SWORD.gotoAndStop("timer");
}
if ((attacker > 200) && (attacker < 300)) {
attacker = 400;
}
if ((attack > 300) && (attack < 305)) {
this.SWORD.gotoAndStop("chaoscontrol");
}
if (timerevert > 0) {
timefill = timefill + 1;
}
if (timefill > 250) {
timerevert = 0;
timefill = 0;
timingstop = 0;
attacker = 50;
_root.player.motion = 13;
this.SWORD.gotoAndStop("revert");
}
if (timingstop > 0) {
_root.player.motion = 0;
timerevert = 5;
}
if ((attacker > 310) && (attacker < 380)) {
attacker = 0;
}
if ((attacker > 400) && (attacker < 410)) {
this.SWORD.gotoAndStop("blitz");
}
if ((this.SWORD.strike.devastate.hitTest(_root.player) && (_xscale > 0)) && (_root.Health > 0)) {
_root.player._xscale = 55;
_root.Health = _root.Health - 65;
_root.player.gotoAndPlay("down");
_root.player.plundge = 5;
_root.player.damage = 30;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.falling = 0;
_root.player.hangtime = 0;
_root.player.plundge = 5;
_root.player.combo = 0;
}
if ((this.SWORD.strike.devastate.hitTest(_root.player) && (_xscale < 0)) && (_root.Health > 0)) {
_root.player._xscale = -55;
_root.Health = _root.Health - 65;
_root.player.gotoAndPlay("down");
_root.player.plundge = 5;
_root.player.damage = 30;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.falling = 0;
_root.player.hangtime = 0;
_root.player.plundge = 5;
_root.player.combo = 0;
}
if (this._x > 790) {
this._x = 791;
this.SWORD.gotoAndStop(2);
}
if (this._x < 10) {
this._x = 9;
this.SWORD.gotoAndStop(2);
}
if ((this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target1 == 1)) && (Health > 1)) {
this.gotoAndPlay("shot");
attack = 0;
friction = 0;
damage = 27;
friction2 = 2;
this.BURST.strike.play();
_root.player.combo = 150;
AIattack = 65;
jump = 7;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (1000 * _root.player.strength);
}
if (this.Core.hitTest(_root.player.SWORDBOX && (_root.player.blade == 3))) {
flames = 80;
}
if (this.Core.hitTest(_root.player.RIPBOX) && (_root.player.blade == 3)) {
flames = 80;
}
if (Health > 0) {
this.fire._alpha = flames;
flames = flames - 1;
}
if (Health < 1) {
flames = 0;
}
if (timingstop < 1) {
timer = 0;
}
if ((_root.player.DTIME > 20) && (_root.player.DTIME < 25)) {
hangtime = 1;
}
_root.BHP.meter._width = this.Health / 16.66666;
DEVILTIMER = DEVILTIMER + 1;
_root.attackermeter = this.attacker;
}
Frame 50
_quality = "High";
stop();
Stage.showMenu = false;
Instance of Symbol 986 MovieClip in Frame 50
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if (_root.killstats < _root.kills) {
_root.killstats = _root.killstats + 1;
}
if ((_root.killstats == _root.kills) && (_root.scorestats < _root.score)) {
_root.scorestats = _root.scorestats + 90;
}
if (((_root.killstats == _root.kills) && (_root.scorestats == _root.score)) && (_root.damagestats < _root.damage)) {
_root.damagestats = _root.damagestats + 5;
}
if (_root.killstats > _root.kills) {
_root.killstats = _root.kills;
}
if (_root.damagestats > _root.damage) {
_root.damagestats = _root.damage;
}
if (_root.scorestats > _root.score) {
_root.scorestats = _root.score;
}
if (key.IsDown(32)) {
_root.killstats = _root.kills;
}
if (key.IsDown(32) && (_root.killstats == _root.kills)) {
_root.scorestats = _root.score;
}
if ((key.IsDown(32) && (_root.killstats == _root.kills)) && (_root.scorestats == _root.score)) {
_root.damagestats = _root.damage;
}
if ((((_root.scorestats > 24000) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(6);
clearer = 1;
_root.rank11 = 5;
}
if (((((_root.scorestats > 20000) && (_root.scorestats < 24000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(5);
clearer = 1;
_root.rank11 = 4;
}
if (((((_root.scorestats > 18000) && (_root.scorestats < 20000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(4);
clearer = 1;
_root.rank11 = 3;
}
if (((((_root.scorestats > 15000) && (_root.scorestats < 18000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(3);
clearer = 1;
_root.rank11 = 2;
}
if ((((_root.scorestats < 15000) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(2);
clearer = 1;
_root.rank11 = 1;
}
if (_root.OAminutes < _root.minutes) {
_root.OAminutes = _root.minutes;
_root.OAseconds = _root.seconds;
}
_root.damage = _root.Healthfull - _root.Health;
_root.minutestats = _root.minutes;
_root.secondstats = _root.seconds;
}
Frame 51
_quality = "High";
stop();
Stage.showMenu = false;
Instance of Symbol 986 MovieClip in Frame 51
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if ((ranktimer > 60) && (_root.rank8 > 4)) {
this.gotoAndStop(6);
}
if ((ranktimer > 60) && (_root.rank8 == 4)) {
this.gotoAndStop(5);
}
if ((ranktimer > 60) && (_root.rank8 == 3)) {
this.gotoAndStop(4);
}
if ((ranktimer > 60) && (_root.rank8 == 2)) {
this.gotoAndStop(3);
}
if ((ranktimer > 60) && (_root.rank8 == 1)) {
this.gotoAndStop(2);
}
ranktimer = ranktimer + 1;
}
Instance of Symbol 986 MovieClip in Frame 51
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if ((ranktimer > 90) && (_root.rank9 > 4)) {
this.gotoAndStop(6);
}
if ((ranktimer > 90) && (_root.rank9 == 4)) {
this.gotoAndStop(5);
}
if ((ranktimer > 90) && (_root.rank9 == 3)) {
this.gotoAndStop(4);
}
if ((ranktimer > 90) && (_root.rank9 == 2)) {
this.gotoAndStop(3);
}
if ((ranktimer > 90) && (_root.rank9 == 1)) {
this.gotoAndStop(2);
}
ranktimer = ranktimer + 1;
}
Instance of Symbol 986 MovieClip in Frame 51
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if ((ranktimer > 120) && (_root.rank10 > 4)) {
this.gotoAndStop(6);
}
if ((ranktimer > 120) && (_root.rank10 == 4)) {
this.gotoAndStop(5);
}
if ((ranktimer > 120) && (_root.rank10 == 3)) {
this.gotoAndStop(4);
}
if ((ranktimer > 120) && (_root.rank10 == 2)) {
this.gotoAndStop(3);
}
if ((ranktimer > 120) && (_root.rank10 == 1)) {
this.gotoAndStop(2);
}
ranktimer = ranktimer + 1;
}
Instance of Symbol 986 MovieClip in Frame 51
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if ((ranktimer > 150) && (_root.rank11 > 4)) {
this.gotoAndStop(6);
}
if ((ranktimer > 150) && (_root.rank11 == 4)) {
this.gotoAndStop(5);
}
if ((ranktimer > 150) && (_root.rank11 == 3)) {
this.gotoAndStop(4);
}
if ((ranktimer > 150) && (_root.rank11 == 2)) {
this.gotoAndStop(3);
}
if ((ranktimer > 150) && (_root.rank11 == 1)) {
this.gotoAndStop(2);
}
ranktimer = ranktimer + 1;
}
Instance of Symbol 168 MovieClip "exit" in Frame 51
onClipEvent (enterFrame) {
if (key.IsDown(32)) {
this.play();
}
}
Frame 52
if (_root.OAmission < 12) {
_root.OAmission = 12;
}
_quality = "High";
_root.HellFire = _root.HellFire + 6;
stop();
Stage.showMenu = false;
Frame 53
_quality = "High";
stop();
Stage.showMenu = false;
Instance of Symbol 78 MovieClip in Frame 53
onClipEvent (load) {
this.blurr._alpha = 0;
}
onClipEvent (enterFrame) {
if (focus > 0) {
this.blurr._alpha = this.blurr._alpha + 0.5;
this.blurr._xscale = this.blurr._xscale + 0.05;
} else if (focus < 0) {
this.blurr._alpha = this.blurr._alpha - 0.9;
this.blurr._xscale = this.blurr._xscale - 0.09;
}
if (this.blurr._alpha > 40) {
focus = -1;
} else if (this.blurr._alpha < 1) {
focus = 1;
}
}
Frame 54
_quality = "High";
stop();
Stage.showMenu = false;
Frame 55
_quality = "High";
stop();
Stage.showMenu = false;
Frame 56
if (_root.quality == 1) {
_quality = "Medium";
}
if (_root.quality == 2) {
_quality = "High";
}
if (_root.quality == 3) {
_quality = "Low";
}
stop();
Stage.showMenu = false;
Instance of Symbol 594 MovieClip "player" in Frame 56
onClipEvent (load) {
goal = 50;
MISSIONCLEAR = 0;
die = random(3);
_root.travel._x = 0;
_root.minutes = 0;
_root.seconds = 0;
_root.Speedheart = 5;
_root.pause._visible = false;
_root.targeter._visible = false;
_root.mission = 12;
_root.score = 0;
_root.Health = (_root.level * 100) + 200;
_root.kills = 0;
gravity = 1;
skin = 3;
damage = 0;
clock = 0;
ticker = 1;
targeting = 0;
filler = 2;
gun = 1;
attack = 0;
friction = 0;
motion = 13;
hangtime = 1;
falling = 0;
jump = 0;
blade = 1;
hits = 0;
thrower = 1;
DEVIL = 0;
_root.DRIVE = 0;
time = 1;
powerup = 0;
_root.gauge.percent = 0;
down = 1;
quota = (2 * _root.kills) + 10;
target = 0;
target2 = 0;
comboset = 0;
combo = 0;
comboreset = 0;
killfill = 18;
fight = 0;
}
onClipEvent (enterFrame) {
if (_root.level < 1) {
_root.level = 1;
_root.Health = 300;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 1)) {
this._xscale = -55;
this._x = this._x + (motion * 1.1);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 1;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 1)) {
this._xscale = 55;
this._x = this._x - (motion * 1.1);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 1;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 4)) {
this._xscale = -55;
this._x = this._x + (motion * 1.4);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 2.5;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 4)) {
this._xscale = 55;
this._x = this._x - (motion * 1.4);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 2.5;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 2)) {
this._xscale = -55;
this._x = this._x + (motion * 1.35);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 0.6;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 2)) {
this._xscale = 55;
this._x = this._x - (motion * 1.35);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 0.6;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 3)) {
this._xscale = -55;
this._x = this._x + (motion * 0.95);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 2;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 3)) {
this._xscale = 55;
this._x = this._x - (motion * 0.95);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 2;
}
if (falling > 60) {
falling = 60;
hangtime = 0;
}
if (_xscale > 0) {
this._x = this._x - attack;
} else if (_xscale < 0) {
this._x = this._x + attack;
}
if (((_y > 325) && (falling > 0)) && (gravity > 0)) {
this._y = 351;
falling = 0;
hangtime = 0;
jump = 0;
this.gotoAndStop(1);
}
if (((_y > 325) && (faller > 0.5)) && (gravity > 0)) {
this._y = 349.79;
faller = 0;
plundge = 0;
jump = 0;
} else if (((_y > 325) && (falling > 3)) && (gravity > 0)) {
this._y = 349.79;
falling = 0;
hangtime = 0;
this._x = this._x - attack;
}
if (attack < 0) {
attack = 0;
friction = 0;
}
if ((((jump > 0) && (this._x < 10)) && (key.IsDown(37))) && (battle > 0)) {
this.gotoAndPlay("wallride");
this._x = 11;
_xscale = -55;
}
if ((jump > 0) && (this._x == 11)) {
this._x = 11;
_xscale = -55;
}
if ((((jump > 0) && (this._x > 790)) && (key.IsDown(39))) && (battle > 0)) {
this.gotoAndPlay("wallride");
this._x = 789;
_xscale = 55;
}
if ((jump > 0) && (this._x == 789)) {
this._x = 789;
_xscale = 55;
}
if ((DEVIL > 0) && (blade == 1)) {
this.capel.gotoAndStop(2);
this.arml.gotoAndStop(2);
this.arm.gotoAndStop(2);
this.head.gotoAndStop(2);
this.cape.gotoAndStop(2);
this.body.gotoAndStop(2);
this.glow.gotoAndStop(2);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(2);
}
if ((DEVIL > 0) && (blade == 2)) {
this.capel.gotoAndStop(3);
this.arml.gotoAndStop(3);
this.arm.gotoAndStop(3);
this.head.gotoAndStop(3);
this.cape.gotoAndStop(3);
this.body.gotoAndStop(3);
this.glow.gotoAndStop(3);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(3);
}
if ((DEVIL > 0) && (blade == 3)) {
this.capel.gotoAndStop(4);
this.arml.gotoAndStop(4);
this.arm.gotoAndStop(4);
this.head.gotoAndStop(4);
this.cape.gotoAndStop(4);
this.body.gotoAndStop(4);
this.glow.gotoAndStop(4);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(4);
}
if ((DEVIL > 0) && (blade == 4)) {
this.capel.gotoAndStop(5);
this.arml.gotoAndStop(5);
this.arm.gotoAndStop(5);
this.head.gotoAndStop(5);
this.cape.gotoAndStop(5);
this.body.gotoAndStop(5);
this.glow.gotoAndStop(5);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(5);
} else if (DEVIL < 1) {
this.capel.gotoAndStop(1);
this.arml.gotoAndStop(1);
this.arm.gotoAndStop(1);
this.head.gotoAndStop(1);
this.cape.gotoAndStop(1);
this.body.gotoAndStop(1);
this.glow.gotoAndStop(1);
this.static.gotoAndStop(1);
this.power._visible = false;
}
if (this._x > 800) {
this._x = 800;
} else if (this._x < 0) {
this._x = 0;
}
if ((key.isDown(70) && (DEVIL < 1)) && (_root.gauge.percent > 25)) {
this.gotoAndPlay("devilmode");
} else if (key.isDown(70) && (DEVIL > 0)) {
this.gotoAndPlay("devilexit");
}
if ((powerup > 30) && (pause < 1)) {
_root.gauge.percent = _root.gauge.percent + 1;
powerup = 0;
}
if (_root.gauge.percent > 99) {
time = 0;
} else if (_root.gauge.percent < 99) {
time = 1;
}
if ((DEVIL > 0) && (pause < 1)) {
powerdown = powerdown + down;
}
if (powerdown > 9) {
_root.gauge.percent = _root.gauge.percent - 1;
_root.Health = _root.Health + 1;
powerdown = 0;
}
if ((DEVIL < 1) && (pause < 1)) {
powerup = powerup + time;
}
if (_root.gauge.meterX._xscale > _root.gauge.meter._xscale) {
_root.meterX._xscale = _root.meterX._xscale - 0.75;
} else if (_root.gauge.meterX._xscale < _root.gauge.meter._xscale) {
_root.meterX._xscale = _root.gauge.meter._xscale;
}
if ((_root.gauge.percent < 1) && (DEVIL > 0)) {
_root.meterX._xscale = _root.gauge.meter._xscale;
this.gotoAndPlay("devilexit");
DEVIL = 0;
_root.gauge.percent = 0;
}
if (_xscale > 0) {
this._x = this._x + damage;
} else if (_xscale < 0) {
this._x = this._x - damage;
}
if (damage < 0) {
damage = 0;
friction2 = 0;
}
if (_root.Health > _root.Healthfull) {
_root.Health = _root.Healthfull;
}
if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 32;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 50;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 32;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 50;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 42;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
falling = 0;
hangtime = 0;
_root.Health = _root.Health - 70;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 32;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 70;
}
if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x > _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 28;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 50;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x < _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 28;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 50;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
combo = 0;
damage = 33;
jump = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 70;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x < _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 33;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 70;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits > 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
friction2 = 1.5;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
_root.Health = _root.Health - 65;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits > 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 65;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits > 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 65;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits > 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 35;
}
if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
}
if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
}
if (_root.Health < 1) {
_root.Health = 0;
this.gotoAndStop("death");
_root.death = _root.death + 1;
motion = 0;
DEVIL = 0;
down = 0;
time = 0;
combo = 0;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 30;
faller = 5;
DIE = 5;
_root.gauge.percent = 0;
}
if (_root.kills > quota) {
this.quota = this.quota + (_root.kills * 2);
this.quota = this.quota + 5;
_root.levelup.play();
}
if (_root.ENEMY2.Health <= 0) {
target1 = 1;
} else if (_root.ENEMY.Health <= 0) {
target1 = 2;
} else if (((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY._x < _root.ENEMY2._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY._x > _root.ENEMY2._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _x)) && (_root.ENEMY._x < _x)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _x)) && (_root.ENEMY._x < _x)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _x)) && (_root.ENEMY._x > _x)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _x)) && (_root.ENEMY._x > _x)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
}
if (target1 == 1) {
_root.targeter._x = _root.ENEMY._x;
_root.targeter._y = _root.ENEMY._y - 46;
} else if (target1 == 2) {
_root.targeter._x = _root.ENEMY2._x;
_root.targeter._y = _root.ENEMY2._y - 46;
}
if (gun == 1) {
this.arml.gun.gotoAndStop(1);
this.arm.gun.gotoAndStop(1);
_root.pause.guns.gotoAndStop(1);
} else if (gun == 2) {
this.arml.gun.gotoAndStop(2);
this.arm.gun.gotoAndStop(2);
_root.pause.guns.gotoAndStop(2);
} else if (gun == 3) {
this.arml.gun.gotoAndStop(3);
this.arm.gun.gotoAndStop(3);
_root.pause.guns.gotoAndStop(3);
} else if (gun == 4) {
this.arml.gun.gotoAndStop(4);
this.arm.gun.gotoAndStop(4);
_root.pause.guns.gotoAndStop(4);
}
if ((key.IsDown(88) && (_root.shotgun > 0)) && (gun == 1)) {
_root.gunswitch.gotoAndStop(2);
} else if ((key.IsDown(88) && (_root.grenade > 0)) && (gun == 2)) {
_root.gunswitch.gotoAndStop(3);
} else if ((key.IsDown(88) && (_root.submachine > 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(4);
} else if ((key.IsDown(88) && (_root.grenade < 1)) && (gun == 2)) {
_root.gunswitch.gotoAndStop(1);
} else if ((key.IsDown(88) && (_root.submachine < 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(1);
} else if ((key.IsDown(88) && (_root.submachine > 0)) && (gun == 4)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.lightning > 0)) && (blade == 1)) {
_root.swordswitch.gotoAndStop(2);
} else if ((key.IsDown(90) && (_root.hellfire > 0)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(3);
} else if ((key.IsDown(90) && (_root.devilsdemise > 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(4);
} else if ((key.IsDown(90) && (_root.hellfire < 1)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(1);
} else if ((key.IsDown(90) && (_root.devilsdemise < 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(1);
} else if ((key.IsDown(90) && (_root.devilsdemise > 0)) && (blade == 4)) {
_root.swordswitch.gotoAndStop(1);
}
if (gun == 3) {
this.bazooka.gotoAndStop(1);
} else if (gun == 4) {
this.bazooka.gotoAndStop(2);
} else if (gun == 2) {
this.bazooka.gotoAndStop(3);
} else if (gun == 1) {
this.bazooka.gotoAndStop(4);
}
if (blade == 3) {
this.fire._visible = true;
this.bolt._visible = false;
_root.pause.swords.gotoAndStop(3);
this.sword.gotoAndStop(3);
this.hate._visible = false;
this.light.gotoAndStop(3);
} else if (blade == 2) {
_root.pause.swords.gotoAndStop(2);
this.bolt._visible = true;
this.fire._visible = false;
this.sword.gotoAndStop(2);
this.hate._visible = false;
this.light.gotoAndStop(2);
} else if (blade == 1) {
this.fire._visible = false;
_root.pause.swords.gotoAndStop(1);
this.bolt._visible = false;
this.hate._visible = false;
this.light.gotoAndStop(1);
this.sword.gotoAndStop(1);
} else if (blade == 4) {
this.light.gotoAndStop(4);
this.hate._visible = true;
_root.pause.swords.gotoAndStop(4);
this.fire._visible = false;
this.bolt._visible = false;
this.sword.gotoAndStop(4);
}
if (DEVIL > 0) {
this.cape._visible = true;
this.capel._visible = true;
this.arm.gun.machine.gotoAndStop(2);
}
if (DEVIL < 1) {
this.arm.gun.machine.gotoAndStop(1);
}
if (((targeting < 1) && (key.IsDown(32))) && (timing > 25)) {
_root.targeter._visible = true;
targeting = 1;
timing = 0;
filler = 1;
} else if (((targeting > 0) && (key.IsDown(32))) && (timing > 25)) {
targeting = 0;
timing = 0;
filler = 1;
_root.targeter._visible = false;
}
if (((key.IsDown(67) && (pause < 1)) && (timing > 25)) && (DIE < 1)) {
pause = 5;
timing = 0;
filler = 1;
_root.pause._visible = true;
} else if ((key.IsDown(67) && (pause > 0)) && (timing > 25)) {
pause = 0;
hangtime = 3;
_root.ENEMY2.hangtime = 3;
_root.ENEMY.hangtime = 3;
play();
_root.pause._visible = false;
_root.pause.gotoAndStop(1);
timing = 0;
filler = 1;
}
if ((pause > 0) && (_y > 270)) {
this.gotoAndStop("pauseground");
hangtime = 0;
jump = 0;
plundge = 0;
falling = 0;
faller = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if ((pause > 0) && (_y < 270)) {
this.gotoAndStop("pauseair");
hangtime = 0;
jump = 0;
plundge = 0;
falling = 0;
faller = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if (comboreset > 120) {
combo = 0;
comboset = 0;
combo = combo - 2;
}
if (combo < 1) {
_root.style.gotoAndStop(1);
combo = 0;
comboreset = 0;
} else if ((combo > 1) && (combo < 50)) {
_root.style.gotoAndStop(2);
_root.score = _root.score + 1;
} else if ((combo > 50) && (combo < 110)) {
_root.style.gotoAndStop(3);
_root.score = _root.score + 1;
} else if ((combo > 110) && (combo < 160)) {
_root.style.gotoAndStop(4);
_root.score = _root.score + 1;
} else if ((combo > 160) && (combo < 210)) {
_root.style.gotoAndStop(5);
_root.score = _root.score + 2;
} else if ((combo > 210) && (combo < 280)) {
_root.style.gotoAndStop(6);
_root.score = _root.score + 2;
} else if (combo > 280) {
_root.style.gotoAndStop(7);
_root.score = _root.score + 3;
}
if (_root.Health > 0) {
DIE = 0;
}
if (DIE > 0) {
_root.gameover.play();
hangtime = 0;
_root.pause._visible = false;
jump = 0;
falling = 0;
attack = 0;
damage = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if ((skin < 2) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 2) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(2);
this.arm.skin.gotoAndStop(2);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(2);
this.dead.death.arm.skin.gotoAndStop(2);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 3) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(4);
this.arm.skin.gotoAndStop(4);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(4);
this.dead.death.arm.skin.gotoAndStop(4);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 4) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape.skin.gotoAndStop(2);
this.capel.skin.gotoAndStop(2);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.capel.skin.gotoAndStop(2);
this.dead.death.cape.skin.gotoAndStop(2);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 5) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 6) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 7) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(3);
this.arml.skin.gotoAndStop(3);
this.arm.skin.gotoAndStop(3);
this.cape._visible = true;
this.capel._visible = true;
this.cape.skin.gotoAndStop(2);
this.capel.skin.gotoAndStop(2);
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(3);
this.dead.death.arml.skin.gotoAndStop(3);
this.dead.death.arm.skin.gotoAndStop(3);
this.dead.death.cape._visible = true;
this.dead.death.cape.skin.gotoAndStop(2);
this.dead.death.capel.skin.gotoAndStop(2);
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 8) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(4);
this.arml.skin.gotoAndStop(4);
this.arm.skin.gotoAndStop(4);
this.cape._visible = true;
this.capel._visible = true;
this.cape.skin.gotoAndStop(3);
this.capel.skin.gotoAndStop(3);
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(4);
this.dead.death.arml.skin.gotoAndStop(4);
this.dead.death.arm.skin.gotoAndStop(4);
this.dead.death.cape._visible = true;
this.dead.death.cape.skin.gotoAndStop(3);
this.dead.death.capel.skin.gotoAndStop(3);
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
}
if ((skin < 7) && (DEVIL < 1)) {
this.capel.skin.gotoAndStop(1);
this.head.skin.gotoAndStop(1);
this.dead.death.cape.skin.gotoAndStop(1);
this.dead.death.capel.skin.gotoAndStop(1);
}
if (clock > 27) {
_root.seconds = _root.seconds + 1;
clock = 0;
}
if (_root.seconds > 60) {
_root.Minutes = _root.Minutes + 1;
_root.seconds = 0;
}
if (_root.mission == 12) {
_root.pause.mission.gotoAndStop(12);
}
if (_root.travel._x < -2500) {
_root.exit.play();
hangtime = 0;
_root.pause._visible = false;
this.stop();
jump = 0;
falling = 0;
attack = 0;
damage = 0;
motion = 0;
this.power._visible = false;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.SWORD.strike.gotoAndStop(1);
_root.ENEMY.SWORD.strike.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
_root.ENEMY2.motion = 0;
_root.ENEMY.motion = 0;
DEVIL = 0;
}
if (((key.IsDown(81) && (_root.Speedheart > 0)) && (Heart == 1)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(2);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart > 0)) && (Heart == 2)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(3);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart > 0)) && (Heart == 3)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(1);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart < 1)) && (Heart == 2)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(1);
heartchange = 0;
}
if ((((Heart == 2) && (DEVIL > 0)) && (healing > 9)) && (pause < 1)) {
_root.Health = _root.Health + 3;
_root.gauge.percent = _root.gauge.percent - 1;
healing = 0;
}
if ((((Heart == 3) && (DEVIL > 0)) && (healing > 17)) && (pause < 1)) {
_root.gauge.percent = _root.gauge.percent + 1;
_root.Health = _root.Health - 5;
healing = 0;
}
if (Heart == 1) {
_root.gauge.meter.gotoAndStop(1);
}
if (Heart == 2) {
_root.gauge.meter.gotoAndStop(2);
}
if (Heart == 3) {
_root.gauge.meter.gotoAndStop(3);
}
if (clock > 27) {
_root.OAseconds = _root.OAseconds + 1;
clock = 0;
}
if (_root.OAseconds > 60) {
_root.OAMinutes = _root.OAMinutes + 1;
_root.OAseconds = 0;
}
if (_root.kills > goal) {
MISSIONCLEAR = 20;
}
if (_root.rumble > 0) {
_root.pause.rumble.gotoAndStop(3);
}
if ((this.core.hitTest(_root.ENEMY3.dead) && (_x < _root.ENEMY3._x)) && (shadowmode < 1)) {
damage = 35;
friction2 = 1;
hangtime = 0;
falling = 0;
plundge = 20;
this.gotoAndPlay("down");
_xscale = -55;
Health = Health - 80;
}
if ((this.core.hitTest(_root.ENEMY3.dead) && (_x > _root.ENEMY3._x)) && (shadowmode < 1)) {
damage = 35;
friction2 = 1;
hangtime = 0;
falling = 0;
plundge = 20;
this.gotoAndPlay("down");
_xscale = -55;
Health = Health - 80;
}
if (((((this._xscale > 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x > _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 1;
target1 = 0;
}
if (((((this._xscale > 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x < _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 0;
target1 = 2;
}
if (((((this._xscale < 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x > _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 0;
target1 = 2;
}
if (((((this._xscale < 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x < _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 1;
target1 = 0;
}
if (_root.ENEMY2.Health < 1) {
target2 = 1;
}
if (_y < -30) {
hangtime = 2;
this.gotoAndStop("plummet");
}
if ((((this._x > 699) && (battle < 1)) && (_root.travel._x > -2639.85)) && (key.IsDown(39))) {
this._x = 700;
_root.travel._x = _root.travel._x - (motion * 1.1);
_root.travel._x = _root.travel._x - (DEVIL * 4);
}
if ((((this._x < 39) && (battle < 1)) && (_root.travel._x < 1)) && (key.IsDown(37))) {
this._x = 38;
_root.travel._x = _root.travel._x + (motion * 1.1);
_root.travel._x = _root.travel._x + (DEVIL * 4);
}
if (_root.travel._x > 0) {
_root.travel._x = 0;
}
if (_root.travel._x < -2639.85) {
_root.travel._x = -2639.85;
}
if (((((_root.travel._x < -850) && (_root.travel._x > -1400)) && (_root.kills < killfill)) && (battle < 1)) && (fight == 0)) {
battle = 2;
_root.music.gotoAndPlay("rock");
_root.ENEMY.rebirth = 2;
}
if ((((_root.travel._x < -850) && (_root.travel._x > -1400)) && (_root.kills > killfill)) && (battle > 0)) {
battle = 0;
killfill = killfill + 15;
_root.music.gotoAndPlay("ambient");
fight = 1;
_root.ENEMY.gotoAndPlay("death");
_root.ENEMY2.gotoAndPlay("death");
_root.ENEMY.Health = 0;
_root.ENEMY2.Health = 0;
}
if (((((_root.travel._x < -1600) && (_root.travel._x > -2400)) && (_root.kills < killfill)) && (battle < 1)) && (fight == 1)) {
battle = 2;
_root.ENEMY.rebirth = 2;
_root.music.gotoAndPlay("rock");
}
if ((((_root.travel._x < -1600) && (_root.travel._x > -2400)) && (_root.kills > killfill)) && (battle > 0)) {
battle = 0;
killfill = killfill + 5;
_root.ENEMY3.quota = 23;
_root.music.gotoAndPlay("ambient");
fight = 2;
_root.ENEMY.gotoAndPlay("death");
_root.ENEMY2.gotoAndPlay("death");
_root.ENEMY.Health = 0;
_root.ENEMY2.Health = 0;
}
if (((((_root.travel._x < -2400) && (_root.travel._x > -2900)) && (_root.kills < killfill)) && (battle < 1)) && (fight == 2)) {
battle = 2;
_root.ENEMY.rebirth = 2;
_root.music.gotoAndPlay("rock");
}
if ((((_root.travel._x < -2400) && (_root.travel._x > -2900)) && (_root.kills > killfill)) && (battle > 0)) {
battle = 0;
_root.ENEMY.gotoAndPlay("death");
_root.ENEMY2.gotoAndPlay("death");
_root.ENEMY.Health = 0;
_root.ENEMY2.Health = 0;
_root.ENEMY3.quota = 34;
_root.music.gotoAndPlay("ambient");
}
if (battle < 1) {
_root.ENEMY.autospawn = 0;
_root.ENEMY2.autospawn = 0;
_root.ENEMY3.autospawn = 0;
}
if (_root.rumble < 1) {
_root.pause.rumble.gotoAndStop(2);
}
if (gravity == 1) {
_root.Combo.hitter = _root.Combo.hits;
_yscale = 55;
this._y = this._y + (falling * gravity);
_root.Healthfull = (_root.level * 100) + 200;
this._y = this._y - (jump * gravity);
fill = fill + 1;
heartchange = heartchange + 1;
this.shoot.gotoAndStop(random(5));
falling = falling + (hangtime * gravity);
attack = attack - friction;
clock = clock + ticker;
damage = damage - friction2;
fillerup = fillerup + 1;
faller = faller + (plundge * gravity);
_root.combo.hits = combo;
comboreset = comboreset + comboset;
this._y = this._y + (faller * gravity);
healing = healing + 1;
speder = speder + 1;
timing = timing + filler;
this._y = this._y - (wallrun * gravity);
_root.gauge.meter._xscale = _root.gauge.percent;
}
if (gravity == -1) {
_yscale = -55;
_root.Combo.hitter = _root.Combo.hits;
this._y = this._y - falling;
_root.Healthfull = (_root.level * 100) + 200;
this._y = this._y + jump;
fill = fill + 1;
heartchange = heartchange + 1;
this.shoot.gotoAndStop(random(5));
falling = falling + hangtime;
attack = attack - friction;
clock = clock + ticker;
damage = damage - friction2;
fillerup = fillerup + 1;
faller = faller + plundge;
_root.combo.hits = combo;
comboreset = comboreset + comboset;
this._y = this._y - faller;
healing = healing + 1;
speder = speder + 1;
timing = timing + filler;
this._y = this._y + wallrun;
_root.gauge.meter._xscale = _root.gauge.percent;
}
if ((((_y < 70) && (falling > 0)) && (gravity < 0)) && (pause < 1)) {
this._y = 70;
falling = 0;
hangtime = 0;
jump = 0;
this.gotoAndStop(1);
} else if ((((_y < 70) && (faller > 0)) && (gravity < 0)) && (pause < 1)) {
this._y = 70;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 0;
faller = 0;
}
if ((((gravity == -1) && (blade == 2)) && (refill < 1)) && (pause < 1)) {
timevertex = timevertex + 2;
}
if (((((gravity == -1) && (blade == 2)) && (timevertex > 400)) && (refill < 1)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
refill = 5;
this.gotoAndStop("fall");
timevertex = 400;
}
if (refill > 0) {
timevertex = timevertex - 1;
}
if (gravity > 0) {
timevertex = timevertex - 1;
}
if (timevertex < 3) {
refill = 0;
}
if (((blade < 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if (((blade > 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if (((blade == 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if ((((blade < 2) && (_root.mission > 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade > 2) && (_root.mission > 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade < 2) && (_root.mission < 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade > 2) && (_root.mission < 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == 1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission < 7)) && (pause < 1)) {
gravity = -1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == -1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission < 7)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == 1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission > 7)) && (pause < 1)) {
gravity = -1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == -1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission > 7)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if ((this._y == 70) && (gravity == -1)) {
this.Staticform2._visible = true;
} else if ((this._y > 60) && (gravity == -1)) {
this.Staticform2._visible = false;
} else if (gravity == 1) {
this.Staticform2._visible = false;
}
if ((_y > 480) && (gravity < 0)) {
this.gotoAndStop("plummet");
}
if (timestop > 0) {
my_color = new Color(_root.ENEMY);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.ENEMY2);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.ENEMY3);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.BG);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.travel);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
}
if (timestop < 1) {
my_color = new Color(_root.ENEMY);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.ENEMY2);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.ENEMY3);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.BG);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.travel);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
}
if ((timestop > 0) && (pause < 1)) {
timestart = timestart + 1;
refiller = 0;
}
if ((timestop < 1) && (pause < 1)) {
refiller = refiller + 1;
}
if ((timestart > 500) && (pause < 1)) {
this.timetrigger.gotoAndStop(3);
timestop = 0;
enable = 1;
refiller = 0;
timestart = 0;
}
if (refiller > 300) {
enable = 0;
}
if ((((((blade == 3) && (key.IsDown(38))) && (key.IsDown(65))) && (DTIME > 30)) && (timestop < 1)) && (enable < 1)) {
timestop = 2;
DTIME = 0;
this.timetrigger.gotoAndStop(2);
}
if (((((blade == 3) && (key.IsDown(38))) && (key.IsDown(65))) && (DTIME > 30)) && (timestop > 1)) {
timestop = 0;
DTIME = 0;
this.timetrigger.gotoAndStop(3);
}
if ((blade < 3) && (pause < 1)) {
timestop = 0;
dropout = dropout - 1;
}
if ((blade > 3) && (pause < 1)) {
timestop = 0;
dropout = dropout - 1;
}
if (((((((blade == 4) && (key.IsDown(38))) && (key.IsDown(65))) && (PTIME > 30)) && (shadowset > 1000)) && (shadowmode < 1)) && (pause < 1)) {
this.shadowtiming.gotoAndStop(2);
shadowmode = 5;
PTIME = 0;
}
if (shadowmode > 0) {
my_color = new Color(_root.player);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_alpha = 50;
this.CORE._width = 0;
this.CORE._height = 0;
shadowexit = shadowexit + 2;
}
if ((shadowexit > 900) && (pause < 1)) {
shadowmode = 0;
PTIME = 0;
shadowset = 0;
shadowexit = 0;
this.shadowtiming.gotoAndStop(3);
}
if (shadowmode < 1) {
my_color = new Color(_root.player);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_alpha = 100;
this.CORE._width = 0;
this.CORE._height = 0;
shadowset = shadowset + 2;
}
if ((blade < 4) && (shadowmode > 0)) {
shadowmode = 0;
this.shadowtiming.gotoAndStop(3);
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (PTIME > 30)) && (shadowmode > 0)) && (pause < 1)) {
shadowmode = 0;
PTIME = 0;
this.shadowtiming.gotoAndStop(3);
}
if (shadowmode > 0) {
this.swordBox._width = 2000;
this.slashBox._width = 2000;
this.ripBox._width = 2000;
}
if (shadowmode < 1) {
this.swordBox._width = 240;
this.slashBox._width = 240;
this.ripBox._width = 240;
}
if ((key.IsDown(86) && (_root.submachine < 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(88) && (_root.submachine > 0)) && (gun == 4)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.lightning > 0)) && (blade == 1)) {
_root.swordswitch.gotoAndStop(2);
}
if ((key.IsDown(90) && (_root.hellfire > 0)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(3);
}
if ((key.IsDown(90) && (_root.devilsdemise > 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(4);
}
if ((key.IsDown(90) && (_root.hellfire < 1)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.devilsdemise < 2)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.devilsdemise > 0)) && (blade == 4)) {
_root.swordswitch.gotoAndStop(1);
}
if ((gravity < 0) && (_y > 350)) {
this.gotoAndStop("plummet");
plundge = 2;
}
if (die == 1) {
this.dead.gotoAndStop(1);
}
if ((die == 2) && (_y > 300)) {
this.dead.gotoAndStop(2);
}
if ((die == 3) && (_y > 300)) {
this.dead.gotoAndStop(3);
}
if (_root.OAmission < 8) {
_root.OAmission = 8;
}
if (riser > 80) {
this.gotoAndPlay("revert");
springup = 0;
riser = 0;
}
if ((timestart > 500) && (_root.ENEMY._y < 350)) {
_root.ENEMY.hangtime = 3;
_root.ENEMY.play();
}
if ((timestart > 500) && (_root.ENEMY2._y < 350)) {
_root.ENEMY2.hangtime = 3;
_root.ENEMY2.play();
}
if ((timestart > 500) && (_root.ENEMY3._y < 350)) {
_root.ENEMY3.hangtime = 3;
_root.ENEMY3.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY.hangtime = 3;
_root.ENEMY.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY2._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY2.hangtime = 3;
_root.ENEMY2.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY3._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY3.hangtime = 3;
_root.ENEMY3.play();
} else {
_rotation = 0;
}
GTIME = GTIME + 1;
PTIME = PTIME + 1;
DTIME = DTIME + 1;
RISER = RISER + springup;
}
Instance of Symbol 1514 MovieClip "ENEMY" in Frame 56
onClipEvent (load) {
jump = 0;
hangtime = 3;
falling = 0;
damage = 0;
motion = 5;
Health = 1500;
this.gotoAndStop("dead");
SPAWN = 0;
this.fire._alpha = 0;
}
onClipEvent (enterFrame) {
if ((falling > 60) && (_root.player.MISSIONCLEAR < 1)) {
falling = 60;
}
if ((_y > 353) && (falling > 0)) {
_y = 353;
falling = 0;
jump = 0;
hangtime = 0;
}
if (((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this._x = this._x + motion;
this.SWORD.gotoAndStop(1);
}
if (((_root.player._x < (_x - 70)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
this._xscale = -100;
this._x = this._x - motion;
this.SWORD.gotoAndStop(1);
}
if ((((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this.SWORD.gotoAndStop(2);
}
if (((((_xscale < 0) && (_root.player._x > (_x - 70))) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this.SWORD.gotoAndStop(2);
}
if (((((_xscale > 0) && (_root.player._x < (_x + 70))) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this.SWORD.gotoAndStop(2);
}
if (_xscale > 0) {
aim = -90;
} else if (_xscale < 0) {
aim = 90;
}
if (this.Core.hitTest(_root.player.GUNBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("shot");
damage = 7;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if (this.Core.hitTest(_root.player.GUNBOX2)) {
this.gotoAndPlay("shot");
damage = 7;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX)) {
this.gotoAndPlay("slash");
damage = 17;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 40;
_root.Combo.gotoAndPlay(2);
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (_root.player.DEVIL * 10);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX)) {
this.gotoAndPlay("slash");
damage = 20;
friction = 2;
jump = 28;
hangtime = 2;
falling = 0;
Health = Health - (50 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 80;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.STABBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("slash");
damage = 3;
friction = 1;
jump = 40;
hangtime = 2;
falling = 0;
Health = Health - (55 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 60;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if ((this.Core.hitTest(_root.player.GUNBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if (this.Core.hitTest(_root.player.GUNBOX2) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX) && (Health < 1)) {
this.gotoAndPlay("ripped");
Health = Health - (30 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 20;
_root.Combo.hits = _root.Combo.hits + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX) && (Health < 1)) {
this.gotoAndPlay("ripped");
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (50 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if ((this.Core.hitTest(_root.player.STABBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("death");
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (55 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(3);
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health > 0)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("slash");
damage = 27;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 50;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(2);
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("exploader");
damage = 27;
friction = 2;
jump = 7;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (50 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if (this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("exploader");
damage = 37;
friction = 2;
jump = 7;
hangtime = 2;
rebirth = 2;
autospawn = 0;
falling = 0;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
Health = Health - (1000 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
}
if (_xscale > 0) {
this._x = this._x - damage;
this.overkill._xscale = 100;
} else if (_xscale < 0) {
this._x = this._x + damage;
this.overkill._xscale = -100;
}
if (damage < 0) {
damage = 0;
friction = 0;
}
if (Health < -50) {
this.overkill.play();
}
if (this._x > 800) {
this._x = 800;
} else if (this._x < 0) {
this._x = 0;
}
if (autospawn > 60) {
this._y = -100;
}
if (autospawn > 120) {
Health = 1200;
autospawn = 0;
rebirth = 0;
hangtime = 4;
SPAWN = SPAWN + 1;
gotoAndStop (1);
}
if ((autospawn > 120) && (_root.ENEMY2.Health < 1)) {
_root.ENEMY2.rebirth = 2;
this.gotoAndStop(1);
}
if (((autospawn > 60) && (_root.ENEMY2.Health < 1)) && (_root.ENEMY2.rebirth < 1)) {
_root.ENEMY2.rebirth = 2;
}
if ((this.core.hitTest(_root.ENEMY2.core) && (_root.ENEMY2._x > _x)) && (_root.player.target1 == 1)) {
_root.ENEMY2._x = _root.ENEMY2._x + 20;
} else if ((this.core.hitTest(_root.ENEMY2.core) && (_root.ENEMY2._x < _x)) && (_root.player.target1 == 1)) {
_root.ENEMY2._x = _root.ENEMY2._x - 20;
}
if (_root.player.timestop > 0) {
this.SWORD.strike.gotoAndStop(1);
this.SWORD.gotoAndStop(1);
}
if ((Health < 400) && (SPAWN > 1)) {
this.BUG.gotoAndStop(2);
}
if ((((this.BUG.strike.hitbox.hitTest(_root.player.core) && (_xscale > 0)) && (_root.Health > 0)) && (_root.player.timestop < 1)) && (_root.player.shadowmode < 1)) {
_root.player._xscale = 55;
_root.Health = _root.Health - 140;
_root.player.gotoAndPlay("down");
_root.player.plundge = 5;
_root.player.damage = 40;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.plundge = 5;
_root.player.falling = 0;
_root.player.hangtime = 0;
_root.player.combo = 0;
SPAWN = 0;
}
if ((((this.BUG.strike.hitbox.hitTest(_root.player.core) && (_xscale < 0)) && (_root.Health > 0)) && (_root.player.timestop < 1)) && (_root.player.shadowmode < 1)) {
_root.player._xscale = -55;
_root.Health = _root.Health - 140;
_root.player.gotoAndPlay("down");
_root.player.plundge = 5;
_root.player.damage = 40;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.plundge = 5;
_root.player.falling = 0;
_root.player.hangtime = 0;
_root.player.combo = 0;
SPAWN = 0;
}
if ((Health < 600) && (SPAWN > 0)) {
this.carcus.gotoAndStop(2);
this.carcus2.gotoAndStop(2);
}
if ((((_xscale > 0) && (_root.player._x < (_x + 130))) && (_root.player.pause < 1)) && (SPAWN > 0)) {
stabfill = stabfill + 1;
}
if ((((_xscale < 0) && (_root.player._x > (_x - 130))) && (_root.player.pause < 1)) && (SPAWN > 0)) {
stabfill = stabfill + 1;
}
if (_root.player.timestop > 0) {
this.BUG.strike.stop();
this.carcus.demon.stop();
}
if (_root.player.timestop < 1) {
this.BUG.strike.play();
this.carcus.demon.play();
}
if (_root.player.pause > 0) {
this.BUG.strike.gotoAndStop(1);
}
if (this.Core.hitTest(_root.player.SWORDBOX && (_root.player.blade == 3))) {
flames = 80;
}
if (this.Core.hitTest(_root.player.RIPBOX) && (_root.player.blade == 3)) {
flames = 80;
}
if (Health > 0) {
this.fire._alpha = flames;
flames = flames - 1;
}
if ((_root.player.DTIME > 20) && (_root.player.DTIME < 25)) {
hangtime = 1;
}
if (Health < 1) {
flames = 0;
}
_y = (_y + falling);
_y = (_y - jump);
autospawn = autospawn + rebirth;
damage = damage - friction;
falling = falling + hangtime;
}
Instance of Symbol 1406 MovieClip "ENEMY3" in Frame 56
onClipEvent (load) {
jump = 0;
hangtime = 3;
falling = 0;
damage = 0;
motion = 2;
Health = 0;
this.gotoAndStop("dead");
quota = 5;
}
onClipEvent (enterFrame) {
if ((falling > 60) && (_root.player.MISSIONCLEAR < 1)) {
falling = 60;
}
if ((_y > 353) && (falling > 0)) {
_y = 353;
falling = 0;
jump = 0;
hangtime = 0;
}
if (_xscale > 0) {
_x = (_x - damage);
}
if (_xscale < 0) {
_x = (_x - damage);
}
if (((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this._x = this._x + motion;
}
if (((_root.player._x < (_x - 70)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
this._xscale = -100;
this._x = this._x - motion;
}
if (_xscale > 0) {
aim = -90;
} else if (_xscale < 0) {
aim = 90;
}
if (this.Core.hitTest(_root.player.GUNBOX) && (_root.player.target2 == 1)) {
this.gotoAndPlay("shot");
damage = 5;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if (this.Core.hitTest(_root.player.GUNBOX2)) {
this.gotoAndPlay("shot");
damage = 5;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX)) {
this.gotoAndPlay("slash");
damage = 8;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 40;
_root.Combo.gotoAndPlay(2);
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (_root.player.DEVIL * 10);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX)) {
this.gotoAndPlay("slash");
damage = 30;
friction = 2;
jump = 15;
hangtime = 2;
falling = 0;
Health = Health - (50 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 80;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.STABBOX) && (_root.player.target2 == 1)) {
this.gotoAndPlay("slash");
damage = 8;
friction = 1;
jump = 40;
hangtime = 2;
falling = 0;
Health = Health - (55 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 60;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if ((this.Core.hitTest(_root.player.GUNBOX) && (Health < 1)) && (_root.player.target2 == 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.ENEMY.rebirth = 5;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.target1 == 2;
_root.player.comboreset = 0;
quota = quota + 3;
}
if (this.Core.hitTest(_root.player.GUNBOX2) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
autospawn = 0;
rebirth = 1;
_root.ENEMY.rebirth = 5;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.target1 == 2;
_root.player.comboset = 1;
_root.player.comboreset = 0;
quota = quota + 3;
} else if (this.Core.hitTest(_root.player.SWORDBOX) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (30 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
autospawn = 0;
rebirth = 1;
_root.ENEMY.rebirth = 5;
_root.player.target1 == 2;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 20;
_root.Combo.hits = _root.Combo.hits + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
quota = quota + 3;
} else if (this.Core.hitTest(_root.player.RIPBOX) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (_root.player.DEVIL * 10);
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
Health = Health - (50 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.player.target1 == 2;
_root.ENEMY.rebirth = 5;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
quota = quota + 3;
} else if ((this.Core.hitTest(_root.player.STABBOX) && (Health < 1)) && (_root.player.target2 == 1)) {
this.gotoAndPlay("death");
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (55 * _root.player.strength);
autospawn = 0;
_root.player.target1 == 2;
rebirth = 1;
_root.ENEMY.rebirth = 5;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(3);
quota = quota + 3;
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health > 0)) && (_root.player.target2 == 1)) {
this.gotoAndPlay("slash");
damage = 27;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 50;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(2);
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health < 1)) && (_root.player.target2 == 1)) {
this.gotoAndPlay("death");
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
_root.player.target1 == 2;
damage = 27;
friction = 2;
jump = 7;
_root.kills = _root.kills + 1;
_root.ENEMY.rebirth = 5;
_root.overallkills = _root.overallkills + 1;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (50 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
quota = quota + 3;
} else if (this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target2 == 1)) {
this.gotoAndPlay("death");
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
damage = 37;
friction = 2;
jump = 7;
hangtime = 2;
rebirth = 2;
autospawn = 0;
_root.ENEMY.rebirth = 5;
falling = 0;
_root.player.target1 == 2;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
Health = Health - (1000 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
quota = quota + 3;
}
if (this._x > 800) {
this._x = 795;
} else if (this._x < 0) {
this._x = 5;
}
if ((autospawn > 10) && (_root.ENEMY.Health < 1)) {
_root.player.target1 = 2;
}
if ((autospawn > 70) && (_root.ENEMY.Health > 0)) {
autospawn = 70;
}
if (autospawn > 65) {
this._y = -100;
}
if ((autospawn > 150) && (_root.ENEMY.Health < 1)) {
Health = 25;
autospawn = 0;
rebirth = 0;
hangtime = 2;
this.gotoAndStop(1);
_root.ENEMY.gotoAndStop("dead");
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 0;
}
if (_root.kills > quota) {
rebirth = 2;
quota = quota + 5;
}
if ((this.core.hitTest(_root.ENEMY2.core) && (_root.ENEMY2._x > _x)) && (_root.player.target2 > 0)) {
_root.ENEMY2._x = _root.ENEMY2._x + 20;
} else if ((this.core.hitTest(_root.ENEMY2.core) && (_root.ENEMY2._x < _x)) && (_root.player.target2 > 0)) {
_root.ENEMY2._x = _root.ENEMY2._x - 20;
}
if (damage < 0) {
damage = 0;
friction = 0;
}
if (this.dead.hitTest(_root.ENEMY2.Core) && (_root.ENEMY2._x < _x)) {
_root.ENEMY2.damage = 40;
_root.ENEMY2.friction = 1.5;
_root.ENEMY2.gotoAndPlay("slash");
_root.ENEMY2.jump = 30;
_root.ENEMY2.hangtime = 1.5;
_root.ENEMY2._xscale = 100;
} else if (this.dead.hitTest(_root.ENEMY2.Core) && (_root.ENEMY2._x > _x)) {
_root.ENEMY2.damage = 40;
_root.ENEMY2.friction = 1.5;
_root.ENEMY2.jump = 30;
_root.ENEMY2.hangtime = 1.5;
_root.ENEMY2.gotoAndPlay("slash");
_root.ENEMY2._xscale = -100;
}
if (_root.player.pause > 0) {
this.seed.stop();
} else if (_root.player.pause < 1) {
this.seed.play();
}
if (((Health > 0) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
timebomb = timebomb + 1;
}
if (timebomb > 150) {
this.gotoAndPlay("death");
_root.ENEMY.rebirth = 5;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 30;
_root.ENEMY.Health = 1000;
damage = 37;
_root.player.target1 == 2;
friction = 2;
jump = 7;
hangtime = 2;
rebirth = 2;
autospawn = 40;
_root.ENEMY.rebirth = 1;
falling = 0;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
Health = Health - (1000 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
quota = quota + 3;
timebomb = 0;
Health = 0;
}
if ((autospawn < 0) && (autospawn < 65)) {
_root.player.target1 == 2;
}
if (_root.player.timestop > 0) {
this.SWORD.strike.gotoAndStop(1);
this.SWORD.gotoAndStop(1);
}
if ((_root.player.DTIME > 5) && (_root.player.DTIME < 10)) {
hangtime = 2;
}
if (_root.player.timestop > 0) {
this.seed.stop();
}
if (_root.player.timestop < 1) {
this.seed.play();
}
if ((_root.player.DTIME > 20) && (_root.player.DTIME < 25)) {
hangtime = 1;
}
_y = (_y + falling);
_y = (_y - jump);
_x = (_x + damage);
autospawn = autospawn + rebirth;
falling = falling + hangtime;
}
Instance of Symbol 1119 MovieClip "ENEMY2" in Frame 56
onClipEvent (load) {
jump = 0;
hangtime = 0;
falling = 0;
damage = 0;
motion = 5;
Health = 0;
this.gotoAndStop("dead");
SPAWN = 0;
this.fire._alpha = 0;
}
onClipEvent (enterFrame) {
if ((falling > 60) && (_root.player.MISSIONCLEAR < 1)) {
falling = 60;
}
if (((_y > 353) && (falling > 0)) && (_root.player.MISSIONCLEAR < 1)) {
_y = 353;
falling = 0;
jump = 0;
hangtime = 0;
}
if ((((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this._x = this._x + motion;
this.SWORD.gotoAndStop(1);
}
if ((((_root.player._x < (_x - 70)) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this._xscale = -100;
this._x = this._x - motion;
this.SWORD.gotoAndStop(1);
}
if ((((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this.SWORD.gotoAndStop(2);
}
if (((((_xscale < 0) && (_root.player._x > (_x - 70))) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this.SWORD.gotoAndStop(2);
}
if (((((_xscale > 0) && (_root.player._x < (_x + 70))) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this.SWORD.gotoAndStop(2);
}
if (_xscale > 0) {
aim = -90;
} else if (_xscale < 0) {
aim = 90;
}
if (this.Core.hitTest(_root.player.GUNBOX) && (_root.player.target1 == 2)) {
this.gotoAndPlay("shot");
damage = 7;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
}
if (this.Core.hitTest(_root.player.GUNBOX2)) {
this.gotoAndPlay("shot");
damage = 7;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX)) {
this.gotoAndPlay("slash");
damage = 17;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 40;
_root.Combo.gotoAndPlay(2);
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (_root.player.DEVIL * 10);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX)) {
this.gotoAndPlay("slash");
damage = 20;
friction = 2;
jump = 28;
hangtime = 2;
falling = 0;
Health = Health - (50 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 80;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if (this.Core.hitTest(_root.player.STABBOX) && (_root.player.target1 == 2)) {
this.gotoAndPlay("slash");
damage = 3;
friction = 1;
jump = 40;
hangtime = 2;
falling = 0;
Health = Health - (55 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 60;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if ((this.Core.hitTest(_root.player.GUNBOX) && (Health < 1)) && (_root.player.target1 == 2)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
}
if (this.Core.hitTest(_root.player.GUNBOX2) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX) && (Health < 1)) {
this.gotoAndPlay("ripped");
Health = Health - (30 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 20;
_root.Combo.hits = _root.Combo.hits + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX) && (Health < 1)) {
this.gotoAndPlay("ripped");
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (50 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if ((this.Core.hitTest(_root.player.STABBOX) && (Health < 1)) && (_root.player.target1 == 2)) {
this.gotoAndPlay("death");
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (55 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(3);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health > 0)) && (_root.player.target1 == 2)) {
this.gotoAndPlay("slash");
damage = 27;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 50;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health < 1)) && (_root.player.target1 == 2)) {
this.gotoAndPlay("exploader");
damage = 27;
friction = 2;
jump = 7;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (50 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if (this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target1 == 2)) {
this.gotoAndPlay("exploader");
damage = 37;
friction = 2;
jump = 7;
hangtime = 2;
rebirth = 2;
autospawn = 0;
falling = 0;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
Health = Health - (1000 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
}
if (_xscale > 0) {
this._x = this._x - damage;
this.overkill._xscale = 100;
} else if (_xscale < 0) {
this._x = this._x + damage;
this.overkill._xscale = -100;
}
if (damage < 0) {
damage = 0;
friction = 0;
}
if (Health < -50) {
this.overkill.play();
}
if (this._x > 800) {
this._x = 800;
} else if (this._x < 0) {
this._x = 0;
}
if (autospawn > 60) {
this._y = -100;
}
if ((autospawn > 120) && (SPAWN < 2)) {
Health = 1500;
autospawn = 0;
rebirth = 0;
hangtime = 2;
SPAWN = SPAWN + 1;
this.gotoAndStop(1);
}
if ((autospawn > 120) && (SPAWN > 1)) {
Health = 1200;
autospawn = 0;
rebirth = 0;
hangtime = 2;
SPAWN = 0;
this.gotoAndStop(1);
}
if ((this.core.hitTest(_root.ENEMY.core) && (_root.ENEMY._x > _x)) && (_root.player.target1 == 2)) {
_root.ENEMY._x = _root.ENEMY._x + 20;
} else if ((this.core.hitTest(_root.ENEMY.core) && (_root.ENEMY._x < _x)) && (_root.player.target1 == 2)) {
_root.ENEMY._x = _root.ENEMY._x - 20;
}
if (_root.player.timestop > 0) {
this.SWORD.strike.gotoAndStop(1);
this.SWORD.gotoAndStop(1);
}
if ((((this.carcus.blood.TAIL.strike.whip.hitTest(_root.player.staber) && (_xscale > 0)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (_root.player.shadowmode < 1)) {
_root.player._xscale = 55;
_root.Health = _root.Health - 100;
_root.player.gotoAndPlay("down");
_root.player.plundge = 5;
_root.player.damage = 35;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.plundge = 5;
_root.player.combo = 0;
_root.player.falling = 0;
_root.player.hangtime = 0;
}
if ((((this.carcus.blood.TAIL.strike.whip.hitTest(_root.player.staber) && (_xscale < 0)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (_root.player.shadowmode < 1)) {
_root.player._xscale = -55;
_root.Health = _root.Health - 100;
_root.player.gotoAndPlay("down");
_root.player.plundge = 5;
_root.player.damage = 35;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.plundge = 5;
_root.player.combo = 0;
_root.player.falling = 0;
_root.player.hangtime = 0;
}
if (((((this.carcus.blood.TAIL.strike.hitbox.hitTest(_root.player.core) && (_xscale > 0)) && (_root.Health > 0)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (_root.player.shadowmode < 1)) {
_root.player._x = _x + 100;
_root.player._xscale = 55;
_root.player.gotoAndPlay("impale");
_root.Health = _root.Health - 30;
_root.player.gravity = 1;
_root.player.plundge = 5;
_root.player.combo = 0;
this.carcus.blood.TAIL.strike.hitbox.gotoAndPlay("stabber");
_root.player.falling = 0;
_root.player.hangtime = 0;
_root.player.damage = 0;
_root.player.friction = 0;
_root.player.attack = 0;
_root.player.friction2 = 0;
motion = 0;
}
if (((((this.carcus.blood.TAIL.strike.hitbox.hitTest(_root.player.core) && (_xscale < 0)) && (_root.Health > 0)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (_root.player.shadowmode < 1)) {
_root.player._x = _x - 100;
_root.player._xscale = -55;
_root.player.gotoAndPlay("impale");
_root.Health = _root.Health - 30;
_root.player.gravity = 1;
_root.player.plundge = 5;
_root.player.combo = 0;
_root.player.falling = 0;
_root.player.hangtime = 0;
_root.player.damage = 0;
_root.player.friction = 0;
_root.player.attack = 0;
_root.player.friction2 = 0;
this.carcus.blood.TAIL.strike.gotoAndPlay("stabber");
motion = 0;
}
if (((Health < 600) && (SPAWN > 0)) && (_root.player.timestop < 1)) {
this.carcus.gotoAndStop(2);
}
if ((((_xscale > 0) && (_root.player._x < (_x + 130))) && (_root.player.pause < 1)) && (SPAWN > 0)) {
stabfill = stabfill + 1;
}
if ((((_xscale < 0) && (_root.player._x > (_x - 130))) && (_root.player.pause < 1)) && (SPAWN > 0)) {
stabfill = stabfill + 1;
}
if ((stabfill > 130) && (_y > 340)) {
this.carcus.blood.TAIL.gotoAndStop(2);
this.SWORD.strike.gotoAndStop(1);
}
if (stabfill < 130) {
this.carcus.blood.TAIL.gotoAndStop(1);
}
if (_root.player.timestop > 0) {
this.carcus.blood.TAIL.strike.stop();
}
if (_root.player.timestop < 1) {
this.carcus.blood.TAIL.strike.play();
}
if (this.Core.hitTest(_root.player.SWORDBOX && (_root.player.blade == 3))) {
flames = 80;
}
if (this.Core.hitTest(_root.player.RIPBOX) && (_root.player.blade == 3)) {
flames = 80;
}
if (Health > 0) {
this.fire._alpha = flames;
flames = flames - 1;
}
if ((_root.player.DTIME > 20) && (_root.player.DTIME < 25)) {
hangtime = 1;
}
if (Health < 1) {
flames = 0;
}
_y = (_y + falling);
_y = (_y - jump);
autospawn = autospawn + rebirth;
damage = damage - friction;
falling = falling + hangtime;
}
Frame 57
if (_root.OAmission < 13) {
_root.OAmission = 13;
}
_quality = "High";
_root.submachine = _root.submachine + 50;
stop();
Stage.showMenu = false;
Instance of Symbol 986 MovieClip in Frame 57
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if (_root.killstats < _root.kills) {
_root.killstats = _root.killstats + 1;
}
if ((_root.killstats == _root.kills) && (_root.scorestats < _root.score)) {
_root.scorestats = _root.scorestats + 90;
}
if (((_root.killstats == _root.kills) && (_root.scorestats == _root.score)) && (_root.damagestats < _root.damage)) {
_root.damagestats = _root.damagestats + 5;
}
if (_root.killstats > _root.kills) {
_root.killstats = _root.kills;
}
if (_root.damagestats > _root.damage) {
_root.damagestats = _root.damage;
}
if (_root.scorestats > _root.score) {
_root.scorestats = _root.score;
}
if (key.IsDown(32)) {
_root.killstats = _root.kills;
}
if (key.IsDown(32) && (_root.killstats == _root.kills)) {
_root.scorestats = _root.score;
}
if ((key.IsDown(32) && (_root.killstats == _root.kills)) && (_root.scorestats == _root.score)) {
_root.damagestats = _root.damage;
}
if ((((_root.scorestats > 45000) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(6);
clearer = 1;
_root.rank12 = 5;
}
if (((((_root.scorestats > 43000) && (_root.scorestats < 40000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(5);
clearer = 1;
_root.rank12 = 4;
}
if (((((_root.scorestats > 37000) && (_root.scorestats < 34000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(4);
clearer = 1;
_root.rank12 = 3;
}
if (((((_root.scorestats > 34000) && (_root.scorestats < 30000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(3);
clearer = 1;
_root.rank12 = 2;
}
if ((((_root.scorestats < 30000) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(2);
clearer = 1;
_root.rank12 = 1;
}
if (_root.OAminutes < _root.minutes) {
_root.OAminutes = _root.minutes;
_root.OAseconds = _root.seconds;
}
_root.damage = _root.Healthfull - _root.Health;
_root.minutestats = _root.minutes;
_root.secondstats = _root.seconds;
}
Frame 58
_quality = "High";
stop();
Stage.showMenu = false;
Frame 59
_quality = "High";
stop();
Stage.showMenu = false;
Frame 60
if (_root.quality == 1) {
_quality = "Medium";
}
if (_root.quality == 2) {
_quality = "High";
}
if (_root.quality == 3) {
_quality = "Low";
}
stop();
Stage.showMenu = false;
Instance of Symbol 594 MovieClip "player" in Frame 60
onClipEvent (load) {
goal = 60;
MISSIONCLEAR = 0;
die = random(3);
_root.minutes = 0;
_root.seconds = 0;
_root.Speedheart = 5;
_root.pause._visible = false;
_root.targeter._visible = false;
_root.mission = 13;
_root.score = 0;
_root.Health = (_root.level * 100) + 200;
_root.kills = 0;
gravity = 1;
skin = 3;
damage = 0;
clock = 0;
ticker = 1;
targeting = 0;
filler = 2;
gun = 1;
attack = 0;
friction = 0;
motion = 13;
hangtime = 1;
falling = 0;
jump = 0;
blade = 1;
hits = 0;
thrower = 1;
DEVIL = 0;
_root.DRIVE = 0;
time = 1;
powerup = 0;
_root.gauge.percent = 0;
down = 1;
quota = (2 * _root.kills) + 10;
target = 0;
target2 = 0;
comboset = 0;
combo = 0;
comboreset = 0;
}
onClipEvent (enterFrame) {
if (_root.level < 1) {
_root.level = 1;
_root.Health = 300;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 1)) {
this._xscale = -55;
this._x = this._x + (motion * 1.1);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 1;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 1)) {
this._xscale = 55;
this._x = this._x - (motion * 1.1);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 1;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 4)) {
this._xscale = -55;
this._x = this._x + (motion * 1.4);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 2.5;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 4)) {
this._xscale = 55;
this._x = this._x - (motion * 1.4);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 2.5;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 2)) {
this._xscale = -55;
this._x = this._x + (motion * 1.35);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 0.6;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 2)) {
this._xscale = 55;
this._x = this._x - (motion * 1.35);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 0.6;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 3)) {
this._xscale = -55;
this._x = this._x + (motion * 0.95);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 2;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 3)) {
this._xscale = 55;
this._x = this._x - (motion * 0.95);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 2;
}
if (falling > 60) {
falling = 60;
hangtime = 0;
}
if (_xscale > 0) {
this._x = this._x - attack;
} else if (_xscale < 0) {
this._x = this._x + attack;
}
if (((_y > 325) && (falling > 0)) && (gravity > 0)) {
this._y = 351;
falling = 0;
hangtime = 0;
jump = 0;
this.gotoAndStop(1);
}
if (((_y > 325) && (faller > 0.5)) && (gravity > 0)) {
this._y = 349.79;
faller = 0;
plundge = 0;
jump = 0;
} else if (((_y > 325) && (falling > 3)) && (gravity > 0)) {
this._y = 349.79;
falling = 0;
hangtime = 0;
this._x = this._x - attack;
}
if (attack < 0) {
attack = 0;
friction = 0;
}
if (((jump > 0) && (this._x < 10)) && (key.IsDown(37))) {
this.gotoAndPlay("wallride");
this._x = 11;
_xscale = -55;
}
if ((jump > 0) && (this._x == 11)) {
this._x = 11;
_xscale = -55;
}
if (((jump > 0) && (this._x > 790)) && (key.IsDown(39))) {
this.gotoAndPlay("wallride");
this._x = 789;
_xscale = 55;
}
if ((jump > 0) && (this._x == 789)) {
this._x = 789;
_xscale = 55;
}
if ((DEVIL > 0) && (blade == 1)) {
this.capel.gotoAndStop(2);
this.arml.gotoAndStop(2);
this.arm.gotoAndStop(2);
this.head.gotoAndStop(2);
this.cape.gotoAndStop(2);
this.body.gotoAndStop(2);
this.glow.gotoAndStop(2);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(2);
}
if ((DEVIL > 0) && (blade == 2)) {
this.capel.gotoAndStop(3);
this.arml.gotoAndStop(3);
this.arm.gotoAndStop(3);
this.head.gotoAndStop(3);
this.cape.gotoAndStop(3);
this.body.gotoAndStop(3);
this.glow.gotoAndStop(3);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(3);
}
if ((DEVIL > 0) && (blade == 3)) {
this.capel.gotoAndStop(4);
this.arml.gotoAndStop(4);
this.arm.gotoAndStop(4);
this.head.gotoAndStop(4);
this.cape.gotoAndStop(4);
this.body.gotoAndStop(4);
this.glow.gotoAndStop(4);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(4);
}
if ((DEVIL > 0) && (blade == 4)) {
this.capel.gotoAndStop(5);
this.arml.gotoAndStop(5);
this.arm.gotoAndStop(5);
this.head.gotoAndStop(5);
this.cape.gotoAndStop(5);
this.body.gotoAndStop(5);
this.glow.gotoAndStop(5);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(5);
} else if (DEVIL < 1) {
this.capel.gotoAndStop(1);
this.arml.gotoAndStop(1);
this.arm.gotoAndStop(1);
this.head.gotoAndStop(1);
this.cape.gotoAndStop(1);
this.body.gotoAndStop(1);
this.glow.gotoAndStop(1);
this.static.gotoAndStop(1);
this.power._visible = false;
}
if (this._x > 800) {
this._x = 800;
} else if (this._x < 0) {
this._x = 0;
}
if ((key.isDown(70) && (DEVIL < 1)) && (_root.gauge.percent > 25)) {
this.gotoAndPlay("devilmode");
} else if (key.isDown(70) && (DEVIL > 0)) {
this.gotoAndPlay("devilexit");
}
if ((powerup > 30) && (pause < 1)) {
_root.gauge.percent = _root.gauge.percent + 1;
powerup = 0;
}
if (_root.gauge.percent > 99) {
time = 0;
} else if (_root.gauge.percent < 99) {
time = 1;
}
if ((DEVIL > 0) && (pause < 1)) {
powerdown = powerdown + down;
}
if (powerdown > 9) {
_root.gauge.percent = _root.gauge.percent - 1;
_root.Health = _root.Health + 1;
powerdown = 0;
}
if ((DEVIL < 1) && (pause < 1)) {
powerup = powerup + time;
}
if (_root.gauge.meterX._xscale > _root.gauge.meter._xscale) {
_root.meterX._xscale = _root.meterX._xscale - 0.75;
} else if (_root.gauge.meterX._xscale < _root.gauge.meter._xscale) {
_root.meterX._xscale = _root.gauge.meter._xscale;
}
if ((_root.gauge.percent < 1) && (DEVIL > 0)) {
_root.meterX._xscale = _root.gauge.meter._xscale;
this.gotoAndPlay("devilexit");
DEVIL = 0;
_root.gauge.percent = 0;
}
if (_xscale > 0) {
this._x = this._x + damage;
} else if (_xscale < 0) {
this._x = this._x - damage;
}
if (damage < 0) {
damage = 0;
friction2 = 0;
}
if (_root.Health > _root.Healthfull) {
_root.Health = _root.Healthfull;
}
if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 95;
falling = 0;
hangtime = 0;
plundge = 5;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 95;
falling = 0;
hangtime = 0;
plundge = 5;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
falling = 0;
hangtime = 0;
_root.Health = _root.Health - 125;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 125;
}
if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x > _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 28;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 95;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x < _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 28;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 95;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
combo = 0;
damage = 33;
jump = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 155;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x < _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 33;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 155;
} else if ((((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
friction2 = 1.5;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
_root.Health = _root.Health - 155;
} else if ((((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 155;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits > 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 65;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits > 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 35;
}
if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
}
if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
}
if ((this.core.hitTest(_root.ENEMY.TAIL.strike.hitbox) && (_root.ENEMY._x > _x)) && (shadowmode < 1)) {
this.gotoAndPlay("Impale");
_xscale = 55;
damage = 0;
attack = 0;
friction = 0;
friction2 = 0;
plundge = 5;
_root.Health = _root.Health - 90;
} else if ((this.core.hitTest(_root.ENEMY.TAIL.strike.hitbox) && (_root.ENEMY._x < _x)) && (shadowmode < 1)) {
this.gotoAndPlay("Impale");
_xscale = 55;
damage = 0;
attack = 0;
friction = 0;
friction2 = 0;
plundge = 5;
_root.Health = _root.Health - 90;
}
if (_root.Health < 1) {
_root.Health = 0;
this.gotoAndStop("death");
_root.death = _root.death + 1;
motion = 0;
DEVIL = 0;
down = 0;
time = 0;
combo = 0;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 30;
faller = 5;
DIE = 5;
_root.gauge.percent = 0;
}
if (_root.kills > quota) {
this.quota = this.quota + (_root.kills * 2);
this.quota = this.quota + 5;
_root.levelup.play();
}
if (_root.ENEMY2.Health <= 0) {
target1 = 1;
} else if (_root.ENEMY.Health <= 0) {
target1 = 2;
} else if (((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY._x < _root.ENEMY2._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY._x > _root.ENEMY2._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _x)) && (_root.ENEMY._x < _x)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _x)) && (_root.ENEMY._x < _x)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _x)) && (_root.ENEMY._x > _x)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _x)) && (_root.ENEMY._x > _x)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
}
if (target1 == 1) {
_root.targeter._x = _root.ENEMY._x;
_root.targeter._y = _root.ENEMY._y - 46;
} else if (target1 == 2) {
_root.targeter._x = _root.ENEMY2._x;
_root.targeter._y = _root.ENEMY2._y - 46;
}
if (gun == 1) {
this.arml.gun.gotoAndStop(1);
this.arm.gun.gotoAndStop(1);
_root.pause.guns.gotoAndStop(1);
} else if (gun == 2) {
this.arml.gun.gotoAndStop(2);
this.arm.gun.gotoAndStop(2);
_root.pause.guns.gotoAndStop(2);
} else if (gun == 3) {
this.arml.gun.gotoAndStop(3);
this.arm.gun.gotoAndStop(3);
_root.pause.guns.gotoAndStop(3);
} else if (gun == 4) {
this.arml.gun.gotoAndStop(4);
this.arm.gun.gotoAndStop(4);
_root.pause.guns.gotoAndStop(4);
}
if ((key.IsDown(88) && (_root.shotgun > 0)) && (gun == 1)) {
_root.gunswitch.gotoAndStop(2);
} else if ((key.IsDown(88) && (_root.grenade > 0)) && (gun == 2)) {
_root.gunswitch.gotoAndStop(3);
} else if ((key.IsDown(88) && (_root.submachine > 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(4);
} else if ((key.IsDown(88) && (_root.grenade < 1)) && (gun == 2)) {
_root.gunswitch.gotoAndStop(1);
} else if ((key.IsDown(88) && (_root.submachine < 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(1);
} else if ((key.IsDown(88) && (_root.submachine > 0)) && (gun == 4)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.lightning > 0)) && (blade == 1)) {
_root.swordswitch.gotoAndStop(2);
} else if ((key.IsDown(90) && (_root.hellfire > 0)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(3);
} else if ((key.IsDown(90) && (_root.devilsdemise > 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(4);
} else if ((key.IsDown(90) && (_root.hellfire < 1)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(1);
} else if ((key.IsDown(90) && (_root.devilsdemise < 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(1);
} else if ((key.IsDown(90) && (_root.devilsdemise > 0)) && (blade == 4)) {
_root.swordswitch.gotoAndStop(1);
}
if (gun == 3) {
this.bazooka.gotoAndStop(1);
} else if (gun == 4) {
this.bazooka.gotoAndStop(2);
} else if (gun == 2) {
this.bazooka.gotoAndStop(3);
} else if (gun == 1) {
this.bazooka.gotoAndStop(4);
}
if (blade == 3) {
this.fire._visible = true;
this.bolt._visible = false;
_root.pause.swords.gotoAndStop(3);
this.sword.gotoAndStop(3);
this.hate._visible = false;
this.light.gotoAndStop(3);
} else if (blade == 2) {
_root.pause.swords.gotoAndStop(2);
this.bolt._visible = true;
this.fire._visible = false;
this.sword.gotoAndStop(2);
this.hate._visible = false;
this.light.gotoAndStop(2);
} else if (blade == 1) {
this.fire._visible = false;
_root.pause.swords.gotoAndStop(1);
this.bolt._visible = false;
this.hate._visible = false;
this.light.gotoAndStop(1);
this.sword.gotoAndStop(1);
} else if (blade == 4) {
this.light.gotoAndStop(4);
this.hate._visible = true;
_root.pause.swords.gotoAndStop(4);
this.fire._visible = false;
this.bolt._visible = false;
this.sword.gotoAndStop(4);
}
if (DEVIL > 0) {
this.cape._visible = true;
this.capel._visible = true;
this.arm.gun.machine.gotoAndStop(2);
}
if (DEVIL < 1) {
this.arm.gun.machine.gotoAndStop(1);
}
if (((targeting < 1) && (key.IsDown(32))) && (timing > 25)) {
_root.targeter._visible = true;
targeting = 1;
timing = 0;
filler = 1;
} else if (((targeting > 0) && (key.IsDown(32))) && (timing > 25)) {
targeting = 0;
timing = 0;
filler = 1;
_root.targeter._visible = false;
}
if (((key.IsDown(67) && (pause < 1)) && (timing > 25)) && (DIE < 1)) {
pause = 5;
timing = 0;
filler = 1;
_root.pause._visible = true;
} else if ((key.IsDown(67) && (pause > 0)) && (timing > 25)) {
pause = 0;
hangtime = 3;
_root.ENEMY2.hangtime = 3;
_root.ENEMY.hangtime = 3;
play();
_root.pause._visible = false;
_root.pause.gotoAndStop(1);
timing = 0;
filler = 1;
}
if ((pause > 0) && (_y > 270)) {
this.gotoAndStop("pauseground");
hangtime = 0;
jump = 0;
plundge = 0;
falling = 0;
faller = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if ((pause > 0) && (_y < 270)) {
this.gotoAndStop("pauseair");
hangtime = 0;
jump = 0;
plundge = 0;
falling = 0;
faller = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if (comboreset > 120) {
combo = 0;
comboset = 0;
combo = combo - 2;
}
if (combo < 1) {
_root.style.gotoAndStop(1);
combo = 0;
comboreset = 0;
} else if ((combo > 1) && (combo < 50)) {
_root.style.gotoAndStop(2);
_root.score = _root.score + 1;
} else if ((combo > 50) && (combo < 110)) {
_root.style.gotoAndStop(3);
_root.score = _root.score + 1;
} else if ((combo > 110) && (combo < 160)) {
_root.style.gotoAndStop(4);
_root.score = _root.score + 1;
} else if ((combo > 160) && (combo < 210)) {
_root.style.gotoAndStop(5);
_root.score = _root.score + 2;
} else if ((combo > 210) && (combo < 280)) {
_root.style.gotoAndStop(6);
_root.score = _root.score + 2;
} else if (combo > 280) {
_root.style.gotoAndStop(7);
_root.score = _root.score + 3;
}
if (_root.Health > 0) {
DIE = 0;
}
if (DIE > 0) {
_root.gameover.play();
hangtime = 0;
_root.pause._visible = false;
jump = 0;
falling = 0;
attack = 0;
damage = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if ((skin < 2) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 2) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(2);
this.arm.skin.gotoAndStop(2);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(2);
this.dead.death.arm.skin.gotoAndStop(2);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 3) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(4);
this.arm.skin.gotoAndStop(4);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(4);
this.dead.death.arm.skin.gotoAndStop(4);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 4) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape.skin.gotoAndStop(2);
this.capel.skin.gotoAndStop(2);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.capel.skin.gotoAndStop(2);
this.dead.death.cape.skin.gotoAndStop(2);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 5) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 6) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 7) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(3);
this.arml.skin.gotoAndStop(3);
this.arm.skin.gotoAndStop(3);
this.cape._visible = true;
this.capel._visible = true;
this.cape.skin.gotoAndStop(2);
this.capel.skin.gotoAndStop(2);
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(3);
this.dead.death.arml.skin.gotoAndStop(3);
this.dead.death.arm.skin.gotoAndStop(3);
this.dead.death.cape._visible = true;
this.dead.death.cape.skin.gotoAndStop(2);
this.dead.death.capel.skin.gotoAndStop(2);
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 8) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(4);
this.arml.skin.gotoAndStop(4);
this.arm.skin.gotoAndStop(4);
this.cape._visible = true;
this.capel._visible = true;
this.cape.skin.gotoAndStop(3);
this.capel.skin.gotoAndStop(3);
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(4);
this.dead.death.arml.skin.gotoAndStop(4);
this.dead.death.arm.skin.gotoAndStop(4);
this.dead.death.cape._visible = true;
this.dead.death.cape.skin.gotoAndStop(3);
this.dead.death.capel.skin.gotoAndStop(3);
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
}
if ((skin < 7) && (DEVIL < 1)) {
this.capel.skin.gotoAndStop(1);
this.head.skin.gotoAndStop(1);
this.dead.death.cape.skin.gotoAndStop(1);
this.dead.death.capel.skin.gotoAndStop(1);
}
if (clock > 27) {
_root.seconds = _root.seconds + 1;
clock = 0;
}
if (_root.seconds > 60) {
_root.Minutes = _root.Minutes + 1;
_root.seconds = 0;
}
if (_root.mission == 13) {
_root.pause.mission.gotoAndStop(13);
}
if (_root.kills > 50) {
_root.exit.play();
hangtime = 0;
_root.pause._visible = false;
this.stop();
jump = 0;
falling = 0;
attack = 0;
damage = 0;
motion = 0;
this.power._visible = false;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.SWORD.strike.gotoAndStop(1);
_root.ENEMY.SWORD.strike.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
_root.ENEMY2.motion = 0;
_root.ENEMY.motion = 0;
DEVIL = 0;
}
if (((key.IsDown(81) && (_root.Speedheart > 0)) && (Heart == 1)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(2);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart > 0)) && (Heart == 2)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(3);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart > 0)) && (Heart == 3)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(1);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart < 1)) && (Heart == 2)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(1);
heartchange = 0;
}
if ((((Heart == 2) && (DEVIL > 0)) && (healing > 9)) && (pause < 1)) {
_root.Health = _root.Health + 3;
_root.gauge.percent = _root.gauge.percent - 1;
healing = 0;
}
if ((((Heart == 3) && (DEVIL > 0)) && (healing > 17)) && (pause < 1)) {
_root.gauge.percent = _root.gauge.percent + 1;
_root.Health = _root.Health - 5;
healing = 0;
}
if (Heart == 1) {
_root.gauge.meter.gotoAndStop(1);
}
if (Heart == 2) {
_root.gauge.meter.gotoAndStop(2);
}
if (Heart == 3) {
_root.gauge.meter.gotoAndStop(3);
}
if (clock > 27) {
_root.OAseconds = _root.OAseconds + 1;
clock = 0;
}
if (_root.OAseconds > 60) {
_root.OAMinutes = _root.OAMinutes + 1;
_root.OAseconds = 0;
}
if (_root.kills > goal) {
MISSIONCLEAR = 20;
}
if (_root.rumble > 0) {
_root.pause.rumble.gotoAndStop(3);
}
if ((this.core.hitTest(_root.ENEMY3.dead) && (_x < _root.ENEMY3._x)) && (shadowmode < 1)) {
damage = 35;
friction2 = 1;
hangtime = 0;
falling = 0;
plundge = 20;
this.gotoAndPlay("down");
_xscale = -55;
Health = Health - 60;
}
if ((this.core.hitTest(_root.ENEMY3.dead) && (_x > _root.ENEMY3._x)) && (shadowmode < 1)) {
damage = 35;
friction2 = 1;
hangtime = 0;
falling = 0;
plundge = 20;
this.gotoAndPlay("down");
_xscale = -55;
Health = Health - 60;
}
if (((((this._xscale > 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x > _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 1;
target1 = 0;
}
if (((((this._xscale > 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x < _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 0;
target1 = 2;
}
if (((((this._xscale < 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x > _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 0;
target1 = 2;
}
if (((((this._xscale < 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x < _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 1;
target1 = 0;
}
if (_root.ENEMY2.Health < 1) {
target2 = 1;
}
if (_y < -30) {
hangtime = 2;
this.gotoAndStop("plummet");
}
if (_root.rumble < 1) {
_root.pause.rumble.gotoAndStop(2);
}
if (gravity == 1) {
_root.Combo.hitter = _root.Combo.hits;
_yscale = 55;
this._y = this._y + (falling * gravity);
_root.Healthfull = (_root.level * 100) + 200;
this._y = this._y - (jump * gravity);
fill = fill + 1;
heartchange = heartchange + 1;
this.shoot.gotoAndStop(random(5));
falling = falling + (hangtime * gravity);
attack = attack - friction;
clock = clock + ticker;
damage = damage - friction2;
fillerup = fillerup + 1;
faller = faller + (plundge * gravity);
_root.combo.hits = combo;
comboreset = comboreset + comboset;
this._y = this._y + (faller * gravity);
healing = healing + 1;
speder = speder + 1;
timing = timing + filler;
this._y = this._y - (wallrun * gravity);
_root.gauge.meter._xscale = _root.gauge.percent;
}
if (gravity == -1) {
_yscale = -55;
_root.Combo.hitter = _root.Combo.hits;
this._y = this._y - falling;
_root.Healthfull = (_root.level * 100) + 200;
this._y = this._y + jump;
fill = fill + 1;
heartchange = heartchange + 1;
this.shoot.gotoAndStop(random(5));
falling = falling + hangtime;
attack = attack - friction;
clock = clock + ticker;
damage = damage - friction2;
fillerup = fillerup + 1;
faller = faller + plundge;
_root.combo.hits = combo;
comboreset = comboreset + comboset;
this._y = this._y - faller;
healing = healing + 1;
speder = speder + 1;
timing = timing + filler;
this._y = this._y + wallrun;
_root.gauge.meter._xscale = _root.gauge.percent;
}
if (((_y < 70) && (falling > 0)) && (gravity < 0)) {
this._y = 70;
falling = 0;
hangtime = 0;
jump = 0;
this.gotoAndStop(1);
} else if (((_y < 70) && (faller > 0)) && (gravity < 0)) {
this._y = 70;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 0;
faller = 0;
}
if ((((gravity == -1) && (blade == 2)) && (refill < 1)) && (pause < 1)) {
timevertex = timevertex + 2;
}
if (((((gravity == -1) && (blade == 2)) && (timevertex > 400)) && (refill < 1)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
refill = 5;
this.gotoAndStop("fall");
timevertex = 400;
}
if ((refill > 0) && (pause < 1)) {
timevertex = timevertex - 1;
}
if (gravity > 0) {
timevertex = timevertex - 1;
}
if ((timevertex < 3) && (pause < 1)) {
refill = 0;
}
if (((blade < 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if (((blade > 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if (((blade == 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if ((((blade < 2) && (_root.mission > 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade > 2) && (_root.mission > 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade < 2) && (_root.mission < 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade > 2) && (_root.mission < 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == 1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission < 7)) && (pause < 1)) {
gravity = -1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == -1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission < 7)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == 1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission > 7)) && (pause < 1)) {
gravity = -1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == -1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission > 7)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if ((this._y == 70) && (gravity == -1)) {
this.Staticform2._visible = true;
} else if ((this._y > 60) && (gravity == -1)) {
this.Staticform2._visible = false;
} else if (gravity == 1) {
this.Staticform2._visible = false;
}
if ((_y > 480) && (gravity < 0)) {
this.gotoAndStop("plummet");
}
if (timestop > 0) {
my_color = new Color(_root.ENEMY);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.ENEMY2);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.ENEMY3);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.BG);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.travel);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
}
if ((timestop < 1) && (_root.ENEMY.timingstop < 1)) {
my_color = new Color(_root.ENEMY);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.ENEMY2);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.ENEMY3);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.BG);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.travel);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
}
if ((timestop > 0) && (pause < 1)) {
timestart = timestart + 1;
refiller = 0;
}
if ((timestop < 1) && (pause < 1)) {
refiller = refiller + 1;
}
if ((timestart > 500) && (pause < 1)) {
this.timetrigger.gotoAndStop(3);
timestop = 0;
enable = 1;
refiller = 0;
timestart = 0;
}
if (refiller > 300) {
enable = 0;
}
if ((((((blade == 3) && (key.IsDown(38))) && (key.IsDown(65))) && (DTIME > 30)) && (timestop < 1)) && (enable < 1)) {
timestop = 2;
DTIME = 0;
this.timetrigger.gotoAndStop(2);
}
if (((((blade == 3) && (key.IsDown(38))) && (key.IsDown(65))) && (DTIME > 30)) && (timestop > 1)) {
timestop = 0;
DTIME = 0;
this.timetrigger.gotoAndStop(3);
}
if ((blade < 3) && (pause < 1)) {
timestop = 0;
dropout = dropout - 1;
}
if ((blade > 3) && (pause < 1)) {
timestop = 0;
dropout = dropout - 1;
}
if (((((((blade == 4) && (key.IsDown(38))) && (key.IsDown(65))) && (PTIME > 30)) && (shadowset > 1000)) && (shadowmode < 1)) && (pause < 1)) {
this.shadowtiming.gotoAndStop(2);
shadowmode = 5;
PTIME = 0;
}
if (shadowmode > 0) {
my_color = new Color(_root.player);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_alpha = 50;
this.CORE._width = 0;
this.CORE._height = 0;
shadowexit = shadowexit + 2;
}
if ((shadowexit > 900) && (pause < 1)) {
shadowmode = 0;
PTIME = 0;
shadowset = 0;
shadowexit = 0;
this.shadowtiming.gotoAndStop(3);
}
if ((shadowmode < 1) && (_root.ENEMY.timingstop < 1)) {
my_color = new Color(_root.player);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_alpha = 100;
this.CORE._width = 0;
this.CORE._height = 0;
shadowset = shadowset + 2;
}
if ((blade < 4) && (shadowmode > 0)) {
shadowmode = 0;
this.shadowtiming.gotoAndStop(3);
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (PTIME > 30)) && (shadowmode > 0)) && (pause < 1)) {
shadowmode = 0;
PTIME = 0;
this.shadowtiming.gotoAndStop(3);
}
if (shadowmode > 0) {
this.swordBox._width = 2000;
this.slashBox._width = 2000;
this.ripBox._width = 2000;
}
if (shadowmode < 1) {
this.swordBox._width = 240;
this.slashBox._width = 240;
this.ripBox._width = 240;
}
if ((key.IsDown(86) && (_root.submachine < 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(88) && (_root.submachine > 0)) && (gun == 4)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.lightning > 0)) && (blade == 1)) {
_root.swordswitch.gotoAndStop(2);
}
if ((key.IsDown(90) && (_root.hellfire > 0)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(3);
}
if ((key.IsDown(90) && (_root.devilsdemise > 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(4);
}
if ((key.IsDown(90) && (_root.hellfire < 1)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.devilsdemise < 2)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.devilsdemise > 0)) && (blade == 4)) {
_root.swordswitch.gotoAndStop(1);
}
if (((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits < 2)) && (shadowmode < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 45;
} else if (((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits < 2)) && (shadowmode < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 45;
} else if (((this.core.hitTest(_root.ENEMY.TAIL.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits > 1)) && (shadowmode < 1)) {
this.gotoAndPlay("impale");
_xscale = -55;
hits = 0;
damage = 0;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 0;
falling = 0;
hangtime = 0;
_root.Health = _root.Health - 80;
} else if ((this.core.hitTest(_root.ENEMY.TAIL.strike.hitbox) && (_root.ENEMY._x < _x)) && (shadowmode < 1)) {
this.gotoAndPlay("impale");
_xscale = 55;
hits = 0;
damage = 0;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 0;
_root.Health = _root.Health - 80;
}
if ((gravity < 0) && (_y > 350)) {
this.gotoAndStop("plummet");
plundge = 2;
}
if (die == 1) {
this.dead.gotoAndStop(1);
}
if ((die == 2) && (_y > 300)) {
this.dead.gotoAndStop(2);
}
if ((die == 3) && (_y > 300)) {
this.dead.gotoAndStop(3);
}
if (_root.OAmission < 9) {
_root.OAmission = 9;
}
if ((_root.ENEMY.DEAD > 0) && (_root.ENEMY._xscale > 0)) {
this._x = this._x + 1.5;
}
if ((_root.ENEMY.DEAD > 0) && (_root.ENEMY._xscale < 0)) {
this._x = this._x - 1.5;
}
if ((timestart > 500) && (_root.ENEMY._y < 350)) {
_root.ENEMY.hangtime = 3;
_root.ENEMY.play();
}
if ((timestart > 500) && (_root.ENEMY2._y < 350)) {
_root.ENEMY2.hangtime = 3;
_root.ENEMY2.play();
}
if ((timestart > 500) && (_root.ENEMY3._y < 350)) {
_root.ENEMY3.hangtime = 3;
_root.ENEMY3.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY.hangtime = 3;
_root.ENEMY.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY2._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY2.hangtime = 3;
_root.ENEMY2.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY3._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY3.hangtime = 3;
_root.ENEMY3.play();
} else {
_rotation = 0;
}
GTIME = GTIME + 1;
PTIME = PTIME + 1;
DTIME = DTIME + 1;
}
Instance of Symbol 1514 MovieClip "ENEMY" in Frame 60
onClipEvent (load) {
jump = 0;
hangtime = 4;
falling = 0;
damage = 0;
motion = 5;
Health = 1500;
SPAWN = 0;
this.fire._alpha = 0;
}
onClipEvent (enterFrame) {
if ((falling > 60) && (_root.player.MISSIONCLEAR < 1)) {
falling = 60;
}
if ((_y > 353) && (falling > 0)) {
_y = 353;
falling = 0;
jump = 0;
hangtime = 0;
}
if (((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this._x = this._x + motion;
this.SWORD.gotoAndStop(1);
}
if (((_root.player._x < (_x - 70)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
this._xscale = -100;
this._x = this._x - motion;
this.SWORD.gotoAndStop(1);
}
if ((((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this.SWORD.gotoAndStop(2);
}
if (((((_xscale < 0) && (_root.player._x > (_x - 70))) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this.SWORD.gotoAndStop(2);
}
if (((((_xscale > 0) && (_root.player._x < (_x + 70))) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this.SWORD.gotoAndStop(2);
}
if (_xscale > 0) {
aim = -90;
} else if (_xscale < 0) {
aim = 90;
}
if (this.Core.hitTest(_root.player.GUNBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("shot");
damage = 7;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if (this.Core.hitTest(_root.player.GUNBOX2)) {
this.gotoAndPlay("shot");
damage = 7;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX)) {
this.gotoAndPlay("slash");
damage = 17;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 40;
_root.Combo.gotoAndPlay(2);
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (_root.player.DEVIL * 10);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX)) {
this.gotoAndPlay("slash");
damage = 20;
friction = 2;
jump = 28;
hangtime = 2;
falling = 0;
Health = Health - (50 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 80;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.STABBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("slash");
damage = 3;
friction = 1;
jump = 40;
hangtime = 2;
falling = 0;
Health = Health - (55 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 60;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if ((this.Core.hitTest(_root.player.GUNBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if (this.Core.hitTest(_root.player.GUNBOX2) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX) && (Health < 1)) {
this.gotoAndPlay("ripped");
Health = Health - (30 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 20;
_root.Combo.hits = _root.Combo.hits + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX) && (Health < 1)) {
this.gotoAndPlay("ripped");
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (50 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if ((this.Core.hitTest(_root.player.STABBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("death");
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (55 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(3);
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health > 0)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("slash");
damage = 27;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 50;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(2);
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("exploader");
damage = 27;
friction = 2;
jump = 7;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (50 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if (this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("exploader");
damage = 37;
friction = 2;
jump = 7;
hangtime = 2;
rebirth = 2;
autospawn = 0;
falling = 0;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
Health = Health - (1000 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
}
if (_xscale > 0) {
this._x = this._x - damage;
this.overkill._xscale = 100;
} else if (_xscale < 0) {
this._x = this._x + damage;
this.overkill._xscale = -100;
}
if (damage < 0) {
damage = 0;
friction = 0;
}
if (Health < -50) {
this.overkill.play();
}
if (this._x > 800) {
this._x = 800;
} else if (this._x < 0) {
this._x = 0;
}
if (autospawn > 60) {
this._y = -100;
}
if (autospawn > 120) {
Health = 1200;
autospawn = 0;
rebirth = 0;
hangtime = 4;
SPAWN = SPAWN + 1;
gotoAndStop (1);
}
if ((autospawn > 120) && (_root.ENEMY2.Health < 1)) {
_root.ENEMY2.rebirth = 2;
this.gotoAndStop(1);
}
if (((autospawn > 60) && (_root.ENEMY2.Health < 1)) && (_root.ENEMY2.rebirth < 1)) {
_root.ENEMY2.rebirth = 2;
}
if ((this.core.hitTest(_root.ENEMY2.core) && (_root.ENEMY2._x > _x)) && (_root.player.target1 == 1)) {
_root.ENEMY2._x = _root.ENEMY2._x + 20;
} else if ((this.core.hitTest(_root.ENEMY2.core) && (_root.ENEMY2._x < _x)) && (_root.player.target1 == 1)) {
_root.ENEMY2._x = _root.ENEMY2._x - 20;
}
if (_root.player.timestop > 0) {
this.SWORD.strike.gotoAndStop(1);
this.SWORD.gotoAndStop(1);
}
if ((Health < 400) && (SPAWN > 1)) {
this.BUG.gotoAndStop(2);
}
if ((((this.BUG.strike.hitbox.hitTest(_root.player.core) && (_xscale > 0)) && (_root.Health > 0)) && (_root.player.timestop < 1)) && (_root.player.shadowmode < 1)) {
_root.player._xscale = 55;
_root.Health = _root.Health - 140;
_root.player.gotoAndPlay("down");
_root.player.plundge = 5;
_root.player.damage = 20;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.plundge = 5;
_root.player.falling = 0;
_root.player.hangtime = 0;
_root.player.combo = 0;
SPAWN = 0;
}
if ((((this.BUG.strike.hitbox.hitTest(_root.player.core) && (_xscale < 0)) && (_root.Health > 0)) && (_root.player.timestop < 1)) && (_root.player.shadowmode < 1)) {
_root.player._xscale = -55;
_root.Health = _root.Health - 140;
_root.player.gotoAndPlay("down");
_root.player.plundge = 5;
_root.player.damage = 20;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.plundge = 5;
_root.player.falling = 0;
_root.player.hangtime = 0;
_root.player.combo = 0;
SPAWN = 0;
}
if ((Health < 600) && (SPAWN > 0)) {
this.carcus.gotoAndStop(2);
this.carcus2.gotoAndStop(2);
}
if ((((_xscale > 0) && (_root.player._x < (_x + 130))) && (_root.player.pause < 1)) && (SPAWN > 0)) {
stabfill = stabfill + 1;
}
if ((((_xscale < 0) && (_root.player._x > (_x - 130))) && (_root.player.pause < 1)) && (SPAWN > 0)) {
stabfill = stabfill + 1;
}
if (_root.player.timestop > 0) {
this.BUG.strike.stop();
this.carcus.demon.stop();
}
if (_root.player.timestop < 1) {
this.BUG.strike.play();
this.carcus.demon.play();
}
if (_root.player.pause > 0) {
this.BUG.strike.gotoAndStop(1);
}
if (this.Core.hitTest(_root.player.SWORDBOX && (_root.player.blade == 3))) {
flames = 80;
}
if (this.Core.hitTest(_root.player.RIPBOX) && (_root.player.blade == 3)) {
flames = 80;
}
if (Health > 0) {
this.fire._alpha = flames;
flames = flames - 1;
}
if (Health < 1) {
flames = 0;
}
if ((_root.player.DTIME > 20) && (_root.player.DTIME < 25)) {
hangtime = 1;
}
_y = (_y + falling);
_y = (_y - jump);
autospawn = autospawn + rebirth;
damage = damage - friction;
falling = falling + hangtime;
}
Instance of Symbol 1406 MovieClip "ENEMY3" in Frame 60
onClipEvent (load) {
jump = 0;
hangtime = 3;
falling = 0;
damage = 0;
motion = 2;
Health = 0;
this.gotoAndStop("dead");
quota = 5;
}
onClipEvent (enterFrame) {
if ((falling > 60) && (_root.player.MISSIONCLEAR < 1)) {
falling = 60;
}
if ((_y > 353) && (falling > 0)) {
_y = 353;
falling = 0;
jump = 0;
hangtime = 0;
}
if (_xscale > 0) {
_x = (_x - damage);
}
if (_xscale < 0) {
_x = (_x - damage);
}
if (((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this._x = this._x + motion;
}
if (((_root.player._x < (_x - 70)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
this._xscale = -100;
this._x = this._x - motion;
}
if (_xscale > 0) {
aim = -90;
} else if (_xscale < 0) {
aim = 90;
}
if (this.Core.hitTest(_root.player.GUNBOX) && (_root.player.target2 == 1)) {
this.gotoAndPlay("shot");
damage = 5;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if (this.Core.hitTest(_root.player.GUNBOX2)) {
this.gotoAndPlay("shot");
damage = 5;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX)) {
this.gotoAndPlay("slash");
damage = 8;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 40;
_root.Combo.gotoAndPlay(2);
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (_root.player.DEVIL * 10);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX)) {
this.gotoAndPlay("slash");
damage = 30;
friction = 2;
jump = 15;
hangtime = 2;
falling = 0;
Health = Health - (50 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 80;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.STABBOX) && (_root.player.target2 == 1)) {
this.gotoAndPlay("slash");
damage = 8;
friction = 1;
jump = 40;
hangtime = 2;
falling = 0;
Health = Health - (55 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 60;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if ((this.Core.hitTest(_root.player.GUNBOX) && (Health < 1)) && (_root.player.target2 == 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.ENEMY.rebirth = 5;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.target1 == 2;
_root.player.comboreset = 0;
quota = quota + 3;
}
if (this.Core.hitTest(_root.player.GUNBOX2) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
autospawn = 0;
rebirth = 1;
_root.ENEMY.rebirth = 5;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.target1 == 2;
_root.player.comboset = 1;
_root.player.comboreset = 0;
quota = quota + 3;
} else if (this.Core.hitTest(_root.player.SWORDBOX) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (30 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
autospawn = 0;
rebirth = 1;
_root.ENEMY.rebirth = 5;
_root.player.target1 == 2;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 20;
_root.Combo.hits = _root.Combo.hits + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
quota = quota + 3;
} else if (this.Core.hitTest(_root.player.RIPBOX) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (_root.player.DEVIL * 10);
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
Health = Health - (50 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.player.target1 == 2;
_root.ENEMY.rebirth = 5;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
quota = quota + 3;
} else if ((this.Core.hitTest(_root.player.STABBOX) && (Health < 1)) && (_root.player.target2 == 1)) {
this.gotoAndPlay("death");
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (55 * _root.player.strength);
autospawn = 0;
_root.player.target1 == 2;
rebirth = 1;
_root.ENEMY.rebirth = 5;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(3);
quota = quota + 3;
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health > 0)) && (_root.player.target2 == 1)) {
this.gotoAndPlay("slash");
damage = 27;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 50;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(2);
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health < 1)) && (_root.player.target2 == 1)) {
this.gotoAndPlay("death");
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
_root.player.target1 == 2;
damage = 27;
friction = 2;
jump = 7;
_root.kills = _root.kills + 1;
_root.ENEMY.rebirth = 5;
_root.overallkills = _root.overallkills + 1;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (50 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
quota = quota + 3;
} else if (this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target2 == 1)) {
this.gotoAndPlay("death");
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
damage = 37;
friction = 2;
jump = 7;
hangtime = 2;
rebirth = 2;
autospawn = 0;
_root.ENEMY.rebirth = 5;
falling = 0;
_root.player.target1 == 2;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
Health = Health - (1000 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
quota = quota + 3;
}
if (this._x > 800) {
this._x = 795;
} else if (this._x < 0) {
this._x = 5;
}
if ((autospawn > 10) && (_root.ENEMY.Health < 1)) {
_root.player.target1 = 2;
}
if ((autospawn > 70) && (_root.ENEMY.Health > 0)) {
autospawn = 70;
}
if (autospawn > 65) {
this._y = -100;
}
if ((autospawn > 150) && (_root.ENEMY.Health < 1)) {
Health = 25;
autospawn = 0;
rebirth = 0;
hangtime = 2;
this.gotoAndStop(1);
_root.ENEMY.gotoAndStop("dead");
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 0;
}
if (_root.kills > quota) {
rebirth = 2;
quota = quota + 5;
}
if ((this.core.hitTest(_root.ENEMY2.core) && (_root.ENEMY2._x > _x)) && (_root.player.target2 > 0)) {
_root.ENEMY2._x = _root.ENEMY2._x + 20;
} else if ((this.core.hitTest(_root.ENEMY2.core) && (_root.ENEMY2._x < _x)) && (_root.player.target2 > 0)) {
_root.ENEMY2._x = _root.ENEMY2._x - 20;
}
if (damage < 0) {
damage = 0;
friction = 0;
}
if (this.dead.hitTest(_root.ENEMY2.Core) && (_root.ENEMY2._x < _x)) {
_root.ENEMY2.damage = 40;
_root.ENEMY2.friction = 1.5;
_root.ENEMY2.gotoAndPlay("slash");
_root.ENEMY2.jump = 30;
_root.ENEMY2.hangtime = 1.5;
_root.ENEMY2._xscale = 100;
} else if (this.dead.hitTest(_root.ENEMY2.Core) && (_root.ENEMY2._x > _x)) {
_root.ENEMY2.damage = 40;
_root.ENEMY2.friction = 1.5;
_root.ENEMY2.jump = 30;
_root.ENEMY2.hangtime = 1.5;
_root.ENEMY2.gotoAndPlay("slash");
_root.ENEMY2._xscale = -100;
}
if (_root.player.pause > 0) {
this.seed.stop();
} else if (_root.player.pause < 1) {
this.seed.play();
}
if (((Health > 0) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
timebomb = timebomb + 1;
}
if (timebomb > 150) {
this.gotoAndPlay("death");
_root.ENEMY.rebirth = 5;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 30;
_root.ENEMY.Health = 1000;
damage = 37;
_root.player.target1 == 2;
friction = 2;
jump = 7;
hangtime = 2;
rebirth = 2;
autospawn = 40;
_root.ENEMY.rebirth = 1;
falling = 0;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
Health = Health - (1000 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
quota = quota + 3;
timebomb = 0;
Health = 0;
}
if ((autospawn < 0) && (autospawn < 65)) {
_root.player.target1 == 2;
}
if (_root.player.timestop > 0) {
this.SWORD.strike.gotoAndStop(1);
this.SWORD.gotoAndStop(1);
}
if (_root.player.timestop > 0) {
this.seed.stop();
}
if (_root.player.timestop < 1) {
this.seed.play();
}
if ((_root.player.DTIME > 20) && (_root.player.DTIME < 25)) {
hangtime = 1;
}
_y = (_y + falling);
_y = (_y - jump);
_x = (_x + damage);
autospawn = autospawn + rebirth;
falling = falling + hangtime;
}
Instance of Symbol 1119 MovieClip "ENEMY2" in Frame 60
onClipEvent (load) {
jump = 0;
hangtime = 0;
falling = 0;
damage = 0;
motion = 5;
Health = 0;
this.gotoAndStop("dead");
SPAWN = 0;
this.fire._alpha = 0;
}
onClipEvent (enterFrame) {
if ((falling > 60) && (_root.player.MISSIONCLEAR < 1)) {
falling = 60;
}
if (((_y > 353) && (falling > 0)) && (_root.player.MISSIONCLEAR < 1)) {
_y = 353;
falling = 0;
jump = 0;
hangtime = 0;
}
if ((((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this._x = this._x + motion;
this.SWORD.gotoAndStop(1);
}
if ((((_root.player._x < (_x - 70)) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this._xscale = -100;
this._x = this._x - motion;
this.SWORD.gotoAndStop(1);
}
if ((((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this.SWORD.gotoAndStop(2);
}
if (((((_xscale < 0) && (_root.player._x > (_x - 70))) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this.SWORD.gotoAndStop(2);
}
if (((((_xscale > 0) && (_root.player._x < (_x + 70))) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this.SWORD.gotoAndStop(2);
}
if (_xscale > 0) {
aim = -90;
} else if (_xscale < 0) {
aim = 90;
}
if (this.Core.hitTest(_root.player.GUNBOX) && (_root.player.target1 == 2)) {
this.gotoAndPlay("shot");
damage = 7;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
}
if (this.Core.hitTest(_root.player.GUNBOX2)) {
this.gotoAndPlay("shot");
damage = 7;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX)) {
this.gotoAndPlay("slash");
damage = 17;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 40;
_root.Combo.gotoAndPlay(2);
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (_root.player.DEVIL * 10);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX)) {
this.gotoAndPlay("slash");
damage = 20;
friction = 2;
jump = 28;
hangtime = 2;
falling = 0;
Health = Health - (50 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 80;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if (this.Core.hitTest(_root.player.STABBOX) && (_root.player.target1 == 2)) {
this.gotoAndPlay("slash");
damage = 3;
friction = 1;
jump = 40;
hangtime = 2;
falling = 0;
Health = Health - (55 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 60;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if ((this.Core.hitTest(_root.player.GUNBOX) && (Health < 1)) && (_root.player.target1 == 2)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
}
if (this.Core.hitTest(_root.player.GUNBOX2) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX) && (Health < 1)) {
this.gotoAndPlay("ripped");
Health = Health - (30 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 20;
_root.Combo.hits = _root.Combo.hits + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX) && (Health < 1)) {
this.gotoAndPlay("ripped");
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (50 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if ((this.Core.hitTest(_root.player.STABBOX) && (Health < 1)) && (_root.player.target1 == 2)) {
this.gotoAndPlay("death");
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (55 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(3);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health > 0)) && (_root.player.target1 == 2)) {
this.gotoAndPlay("slash");
damage = 27;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 50;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health < 1)) && (_root.player.target1 == 2)) {
this.gotoAndPlay("exploader");
damage = 27;
friction = 2;
jump = 7;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (50 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if (this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target1 == 2)) {
this.gotoAndPlay("exploader");
damage = 37;
friction = 2;
jump = 7;
hangtime = 2;
rebirth = 2;
autospawn = 0;
falling = 0;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
Health = Health - (1000 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
}
if (_xscale > 0) {
this._x = this._x - damage;
this.overkill._xscale = 100;
} else if (_xscale < 0) {
this._x = this._x + damage;
this.overkill._xscale = -100;
}
if (damage < 0) {
damage = 0;
friction = 0;
}
if (Health < -50) {
this.overkill.play();
}
if (this._x > 800) {
this._x = 800;
} else if (this._x < 0) {
this._x = 0;
}
if (autospawn > 60) {
this._y = -100;
}
if ((autospawn > 120) && (SPAWN < 2)) {
Health = 1500;
autospawn = 0;
rebirth = 0;
hangtime = 2;
SPAWN = SPAWN + 1;
this.gotoAndStop(1);
}
if ((autospawn > 120) && (SPAWN > 1)) {
Health = 1200;
autospawn = 0;
rebirth = 0;
hangtime = 2;
SPAWN = 0;
this.gotoAndStop(1);
}
if ((this.core.hitTest(_root.ENEMY.core) && (_root.ENEMY._x > _x)) && (_root.player.target1 == 2)) {
_root.ENEMY._x = _root.ENEMY._x + 20;
} else if ((this.core.hitTest(_root.ENEMY.core) && (_root.ENEMY._x < _x)) && (_root.player.target1 == 2)) {
_root.ENEMY._x = _root.ENEMY._x - 20;
}
if (_root.player.timestop > 0) {
this.SWORD.strike.gotoAndStop(1);
this.SWORD.gotoAndStop(1);
}
if ((((this.carcus.blood.TAIL.strike.whip.hitTest(_root.player.staber) && (_xscale > 0)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (_root.player.shadowmode < 1)) {
_root.player._xscale = 55;
_root.Health = _root.Health - 100;
_root.player.gotoAndPlay("down");
_root.player.plundge = 5;
_root.player.damage = 35;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.plundge = 5;
_root.player.combo = 0;
_root.player.falling = 0;
_root.player.hangtime = 0;
}
if ((((this.carcus.blood.TAIL.strike.whip.hitTest(_root.player.staber) && (_xscale < 0)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (_root.player.shadowmode < 1)) {
_root.player._xscale = -55;
_root.Health = _root.Health - 100;
_root.player.gotoAndPlay("down");
_root.player.plundge = 5;
_root.player.damage = 35;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.plundge = 5;
_root.player.combo = 0;
_root.player.falling = 0;
_root.player.hangtime = 0;
}
if (((((this.carcus.blood.TAIL.strike.hitbox.hitTest(_root.player.core) && (_xscale > 0)) && (_root.Health > 0)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (_root.player.shadowmode < 1)) {
_root.player._x = _x + 100;
_root.player._xscale = 55;
_root.player.gotoAndPlay("impale");
_root.Health = _root.Health - 70;
_root.player.gravity = 1;
_root.player.plundge = 5;
_root.player.combo = 0;
this.carcus.blood.TAIL.strike.hitbox.gotoAndPlay("stabber");
_root.player.falling = 0;
_root.player.hangtime = 0;
_root.player.damage = 0;
_root.player.friction = 0;
_root.player.attack = 0;
_root.player.friction2 = 0;
motion = 0;
}
if (((((this.carcus.blood.TAIL.strike.hitbox.hitTest(_root.player.core) && (_xscale < 0)) && (_root.Health > 0)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (_root.player.shadowmode < 1)) {
_root.player._x = _x - 100;
_root.player._xscale = -55;
_root.player.gotoAndPlay("impale");
_root.Health = _root.Health - 70;
_root.player.gravity = 1;
_root.player.plundge = 5;
_root.player.combo = 0;
_root.player.falling = 0;
_root.player.hangtime = 0;
_root.player.damage = 0;
_root.player.friction = 0;
_root.player.attack = 0;
_root.player.friction2 = 0;
this.carcus.blood.TAIL.strike.gotoAndPlay("stabber");
motion = 0;
}
if (((Health < 600) && (SPAWN > 0)) && (_root.player.timestop < 1)) {
this.carcus.gotoAndStop(2);
}
if ((((_xscale > 0) && (_root.player._x < (_x + 130))) && (_root.player.pause < 1)) && (SPAWN > 0)) {
stabfill = stabfill + 1;
}
if ((((_xscale < 0) && (_root.player._x > (_x - 130))) && (_root.player.pause < 1)) && (SPAWN > 0)) {
stabfill = stabfill + 1;
}
if ((stabfill > 130) && (_y > 340)) {
this.carcus.blood.TAIL.gotoAndStop(2);
this.SWORD.strike.gotoAndStop(1);
}
if (stabfill < 130) {
this.carcus.blood.TAIL.gotoAndStop(1);
}
if (_root.player.timestop > 0) {
this.carcus.blood.TAIL.strike.stop();
}
if (_root.player.timestop < 1) {
this.carcus.blood.TAIL.strike.play();
}
if (this.Core.hitTest(_root.player.SWORDBOX && (_root.player.blade == 3))) {
flames = 80;
}
if (this.Core.hitTest(_root.player.RIPBOX) && (_root.player.blade == 3)) {
flames = 80;
}
if (Health > 0) {
this.fire._alpha = flames;
flames = flames - 1;
}
if (Health < 1) {
flames = 0;
}
if ((_root.player.DTIME > 20) && (_root.player.DTIME < 25)) {
hangtime = 1;
}
_y = (_y + falling);
_y = (_y - jump);
autospawn = autospawn + rebirth;
damage = damage - friction;
falling = falling + hangtime;
}
Frame 61
if (_root.OAmission < 14) {
_root.OAmission = 14;
}
_quality = "High";
stop();
Stage.showMenu = false;
Instance of Symbol 986 MovieClip in Frame 61
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if (_root.killstats < _root.kills) {
_root.killstats = _root.killstats + 1;
}
if ((_root.killstats == _root.kills) && (_root.scorestats < _root.score)) {
_root.scorestats = _root.scorestats + 90;
}
if (((_root.killstats == _root.kills) && (_root.scorestats == _root.score)) && (_root.damagestats < _root.damage)) {
_root.damagestats = _root.damagestats + 5;
}
if (_root.killstats > _root.kills) {
_root.killstats = _root.kills;
}
if (_root.damagestats > _root.damage) {
_root.damagestats = _root.damage;
}
if (_root.scorestats > _root.score) {
_root.scorestats = _root.score;
}
if (key.IsDown(32)) {
_root.killstats = _root.kills;
}
if (key.IsDown(32) && (_root.killstats == _root.kills)) {
_root.scorestats = _root.score;
}
if ((key.IsDown(32) && (_root.killstats == _root.kills)) && (_root.scorestats == _root.score)) {
_root.damagestats = _root.damage;
}
if ((((_root.scorestats > 58000) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(6);
clearer = 1;
_root.rank13 = 5;
}
if (((((_root.scorestats > 55000) && (_root.scorestats < 58000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(5);
clearer = 1;
_root.rank13 = 4;
}
if (((((_root.scorestats > 51000) && (_root.scorestats < 55000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(4);
clearer = 1;
_root.rank13 = 3;
}
if (((((_root.scorestats > 47000) && (_root.scorestats < 51000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(3);
clearer = 1;
_root.rank13 = 2;
}
if ((((_root.scorestats < 47000) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(2);
clearer = 1;
_root.rank13 = 1;
}
if (_root.OAminutes < _root.minutes) {
_root.OAminutes = _root.minutes;
_root.OAseconds = _root.seconds;
}
_root.damage = _root.Healthfull - _root.Health;
_root.minutestats = _root.minutes;
_root.secondstats = _root.seconds;
}
Frame 62
_quality = "High";
stop();
Stage.showMenu = false;
Frame 63
_quality = "High";
stop();
Stage.showMenu = false;
Frame 64
if (_root.quality == 1) {
_quality = "Medium";
}
if (_root.quality == 2) {
_quality = "High";
}
if (_root.quality == 3) {
_quality = "Low";
}
stop();
Stage.showMenu = false;
_root.EndureHeart = _root.EndureHeart + 50;
Instance of Symbol 594 MovieClip "player" in Frame 64
onClipEvent (load) {
goal = 105;
MISSIONCLEAR = 0;
die = random(3);
_root.travel._x = 0;
_root.minutes = 0;
_root.seconds = 0;
_root.Speedheart = 5;
_root.pause._visible = false;
_root.targeter._visible = false;
_root.mission = 14;
_root.score = 0;
_root.Health = (_root.level * 100) + 200;
_root.kills = 0;
gravity = 1;
skin = 3;
damage = 0;
clock = 0;
ticker = 1;
targeting = 0;
filler = 2;
gun = 1;
attack = 0;
friction = 0;
motion = 13;
hangtime = 1;
falling = 0;
jump = 0;
blade = 1;
hits = 0;
thrower = 1;
DEVIL = 1.5;
_root.DRIVE = 0;
time = 1;
powerup = 0;
down = 1;
quota = (2 * _root.kills) + 10;
target = 0;
target2 = 0;
comboset = 0;
combo = 0;
comboreset = 0;
killfill = 32;
fight = 0;
sequence = 0;
}
onClipEvent (enterFrame) {
if (_root.level < 1) {
_root.level = 1;
_root.Health = 300;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 1)) {
this._xscale = -55;
this._x = this._x + (motion * 1.1);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 1;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 1)) {
this._xscale = 55;
this._x = this._x - (motion * 1.1);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 1;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 4)) {
this._xscale = -55;
this._x = this._x + (motion * 1.4);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 2.5;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 4)) {
this._xscale = 55;
this._x = this._x - (motion * 1.4);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 2.5;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 2)) {
this._xscale = -55;
this._x = this._x + (motion * 1.35);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 0.6;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 2)) {
this._xscale = 55;
this._x = this._x - (motion * 1.35);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 0.6;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 3)) {
this._xscale = -55;
this._x = this._x + (motion * 0.95);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 2;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 3)) {
this._xscale = 55;
this._x = this._x - (motion * 0.95);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 2;
}
if (falling > 60) {
falling = 60;
hangtime = 0;
}
if (_xscale > 0) {
this._x = this._x - attack;
} else if (_xscale < 0) {
this._x = this._x + attack;
}
if (((_y > 325) && (falling > 0)) && (gravity > 0)) {
this._y = 351;
falling = 0;
hangtime = 0;
jump = 0;
this.gotoAndStop(1);
}
if (((_y > 325) && (faller > 0.5)) && (gravity > 0)) {
this._y = 349.79;
faller = 0;
plundge = 0;
jump = 0;
} else if (((_y > 325) && (falling > 3)) && (gravity > 0)) {
this._y = 349.79;
falling = 0;
hangtime = 0;
this._x = this._x - attack;
}
if (attack < 0) {
attack = 0;
friction = 0;
}
if ((((jump > 0) && (this._x < 10)) && (key.IsDown(37))) && (battle > 0)) {
this.gotoAndPlay("wallride");
this._x = 11;
_xscale = -55;
}
if ((jump > 0) && (this._x == 11)) {
this._x = 11;
_xscale = -55;
}
if ((((jump > 0) && (this._x > 790)) && (key.IsDown(39))) && (battle > 0)) {
this.gotoAndPlay("wallride");
this._x = 789;
_xscale = 55;
}
if ((jump > 0) && (this._x == 789)) {
this._x = 789;
_xscale = 55;
}
if ((DEVIL > 0) && (blade == 1)) {
this.capel.gotoAndStop(2);
this.arml.gotoAndStop(2);
this.arm.gotoAndStop(2);
this.head.gotoAndStop(2);
this.cape.gotoAndStop(2);
this.body.gotoAndStop(2);
this.glow.gotoAndStop(2);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(2);
}
if ((DEVIL > 0) && (blade == 2)) {
this.capel.gotoAndStop(3);
this.arml.gotoAndStop(3);
this.arm.gotoAndStop(3);
this.head.gotoAndStop(3);
this.cape.gotoAndStop(3);
this.body.gotoAndStop(3);
this.glow.gotoAndStop(3);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(3);
}
if ((DEVIL > 0) && (blade == 3)) {
this.capel.gotoAndStop(4);
this.arml.gotoAndStop(4);
this.arm.gotoAndStop(4);
this.head.gotoAndStop(4);
this.cape.gotoAndStop(4);
this.body.gotoAndStop(4);
this.glow.gotoAndStop(4);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(4);
}
if ((DEVIL > 0) && (blade == 4)) {
this.capel.gotoAndStop(5);
this.arml.gotoAndStop(5);
this.arm.gotoAndStop(5);
this.head.gotoAndStop(5);
this.cape.gotoAndStop(5);
this.body.gotoAndStop(5);
this.glow.gotoAndStop(5);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(5);
} else if (DEVIL < 1) {
this.capel.gotoAndStop(1);
this.arml.gotoAndStop(1);
this.arm.gotoAndStop(1);
this.head.gotoAndStop(1);
this.cape.gotoAndStop(1);
this.body.gotoAndStop(1);
this.glow.gotoAndStop(1);
this.static.gotoAndStop(1);
this.power._visible = false;
}
if (this._x > 800) {
this._x = 800;
} else if (this._x < 0) {
this._x = 0;
}
if ((powerup > 30) && (pause < 1)) {
_root.gauge.percent = _root.gauge.percent + 1;
powerup = 0;
}
if (_root.gauge.percent > 99) {
time = 0;
} else if (_root.gauge.percent < 99) {
time = 1;
}
if ((DEVIL > 0) && (pause < 1)) {
powerdown = powerdown + down;
}
if (powerdown > 9) {
powerdown = 0;
}
if ((DEVIL < 1) && (pause < 1)) {
powerup = powerup + time;
}
if (_root.gauge.meterX._xscale > _root.gauge.meter._xscale) {
_root.meterX._xscale = _root.meterX._xscale - 0.75;
} else if (_root.gauge.meterX._xscale < _root.gauge.meter._xscale) {
_root.meterX._xscale = _root.gauge.meter._xscale;
}
if ((_root.gauge.percent < 1) && (DEVIL > 0)) {
_root.meterX._xscale = _root.gauge.meter._xscale;
this.gotoAndPlay("devilexit");
DEVIL = 0;
_root.gauge.percent = 0;
}
if (_xscale > 0) {
this._x = this._x + damage;
} else if (_xscale < 0) {
this._x = this._x - damage;
}
if (damage < 0) {
damage = 0;
friction2 = 0;
}
if (_root.Health > _root.Healthfull) {
_root.Health = _root.Healthfull;
}
if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 32;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 50;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 32;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 50;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 42;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
falling = 0;
hangtime = 0;
_root.Health = _root.Health - 70;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 32;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 70;
}
if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x > _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 28;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 50;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x < _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 28;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 50;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
combo = 0;
damage = 33;
jump = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 70;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x < _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 33;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 70;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits > 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
friction2 = 1.5;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
_root.Health = _root.Health - 65;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits > 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 65;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits > 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 65;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits > 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 35;
}
if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
}
if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
}
if (_root.Health < 1) {
_root.Health = 0;
this.gotoAndStop("death");
_root.death = _root.death + 1;
motion = 0;
DEVIL = 0;
down = 0;
time = 0;
combo = 0;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 30;
faller = 5;
DIE = 5;
_root.gauge.percent = 0;
}
if (_root.kills > quota) {
this.quota = this.quota + (_root.kills * 2);
this.quota = this.quota + 5;
_root.levelup.play();
}
if (_root.ENEMY2.Health <= 0) {
target1 = 1;
} else if (_root.ENEMY.Health <= 0) {
target1 = 2;
} else if (((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY._x < _root.ENEMY2._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY._x > _root.ENEMY2._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _x)) && (_root.ENEMY._x < _x)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _x)) && (_root.ENEMY._x < _x)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _x)) && (_root.ENEMY._x > _x)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _x)) && (_root.ENEMY._x > _x)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
}
if (target1 == 1) {
_root.targeter._x = _root.ENEMY._x;
_root.targeter._y = _root.ENEMY._y - 46;
} else if (target1 == 2) {
_root.targeter._x = _root.ENEMY2._x;
_root.targeter._y = _root.ENEMY2._y - 46;
}
if (gun == 1) {
this.arml.gun.gotoAndStop(1);
this.arm.gun.gotoAndStop(1);
_root.pause.guns.gotoAndStop(1);
} else if (gun == 2) {
this.arml.gun.gotoAndStop(2);
this.arm.gun.gotoAndStop(2);
_root.pause.guns.gotoAndStop(2);
} else if (gun == 3) {
this.arml.gun.gotoAndStop(3);
this.arm.gun.gotoAndStop(3);
_root.pause.guns.gotoAndStop(3);
} else if (gun == 4) {
this.arml.gun.gotoAndStop(4);
this.arm.gun.gotoAndStop(4);
_root.pause.guns.gotoAndStop(4);
}
if ((key.IsDown(88) && (_root.shotgun > 0)) && (gun == 1)) {
_root.gunswitch.gotoAndStop(2);
} else if ((key.IsDown(88) && (_root.grenade > 0)) && (gun == 2)) {
_root.gunswitch.gotoAndStop(3);
} else if ((key.IsDown(88) && (_root.submachine > 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(4);
} else if ((key.IsDown(88) && (_root.grenade < 1)) && (gun == 2)) {
_root.gunswitch.gotoAndStop(1);
} else if ((key.IsDown(88) && (_root.submachine < 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(1);
} else if ((key.IsDown(88) && (_root.submachine > 0)) && (gun == 4)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.lightning > 0)) && (blade == 1)) {
_root.swordswitch.gotoAndStop(2);
} else if ((key.IsDown(90) && (_root.hellfire > 0)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(3);
} else if ((key.IsDown(90) && (_root.devilsdemise > 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(4);
} else if ((key.IsDown(90) && (_root.hellfire < 1)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(1);
} else if ((key.IsDown(90) && (_root.devilsdemise < 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(1);
} else if ((key.IsDown(90) && (_root.devilsdemise > 0)) && (blade == 4)) {
_root.swordswitch.gotoAndStop(1);
}
if (gun == 3) {
this.bazooka.gotoAndStop(1);
} else if (gun == 4) {
this.bazooka.gotoAndStop(2);
} else if (gun == 2) {
this.bazooka.gotoAndStop(3);
} else if (gun == 1) {
this.bazooka.gotoAndStop(4);
}
if (blade == 3) {
this.fire._visible = true;
this.bolt._visible = false;
_root.pause.swords.gotoAndStop(3);
this.sword.gotoAndStop(3);
this.hate._visible = false;
this.light.gotoAndStop(3);
} else if (blade == 2) {
_root.pause.swords.gotoAndStop(2);
this.bolt._visible = true;
this.fire._visible = false;
this.sword.gotoAndStop(2);
this.hate._visible = false;
this.light.gotoAndStop(2);
} else if (blade == 1) {
this.fire._visible = false;
_root.pause.swords.gotoAndStop(1);
this.bolt._visible = false;
this.hate._visible = false;
this.light.gotoAndStop(1);
this.sword.gotoAndStop(1);
} else if (blade == 4) {
this.light.gotoAndStop(4);
this.hate._visible = true;
_root.pause.swords.gotoAndStop(4);
this.fire._visible = false;
this.bolt._visible = false;
this.sword.gotoAndStop(4);
}
if (DEVIL > 0) {
this.cape._visible = true;
this.capel._visible = true;
this.arm.gun.machine.gotoAndStop(2);
}
if (DEVIL < 1) {
this.arm.gun.machine.gotoAndStop(1);
}
if (((targeting < 1) && (key.IsDown(32))) && (timing > 25)) {
_root.targeter._visible = true;
targeting = 1;
timing = 0;
filler = 1;
} else if (((targeting > 0) && (key.IsDown(32))) && (timing > 25)) {
targeting = 0;
timing = 0;
filler = 1;
_root.targeter._visible = false;
}
if (((key.IsDown(67) && (pause < 1)) && (timing > 25)) && (DIE < 1)) {
pause = 5;
timing = 0;
filler = 1;
_root.pause._visible = true;
} else if ((key.IsDown(67) && (pause > 0)) && (timing > 25)) {
pause = 0;
hangtime = 3;
_root.ENEMY2.hangtime = 3;
_root.ENEMY.hangtime = 3;
play();
_root.pause._visible = false;
_root.pause.gotoAndStop(1);
timing = 0;
filler = 1;
}
if ((pause > 0) && (_y > 270)) {
this.gotoAndStop("pauseground");
hangtime = 0;
jump = 0;
plundge = 0;
falling = 0;
faller = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if ((pause > 0) && (_y < 270)) {
this.gotoAndStop("pauseair");
hangtime = 0;
jump = 0;
plundge = 0;
falling = 0;
faller = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if (comboreset > 120) {
combo = 0;
comboset = 0;
combo = combo - 2;
}
if (combo < 1) {
_root.style.gotoAndStop(1);
combo = 0;
comboreset = 0;
} else if ((combo > 1) && (combo < 50)) {
_root.style.gotoAndStop(2);
_root.score = _root.score + 1;
} else if ((combo > 50) && (combo < 110)) {
_root.style.gotoAndStop(3);
_root.score = _root.score + 1;
} else if ((combo > 110) && (combo < 160)) {
_root.style.gotoAndStop(4);
_root.score = _root.score + 1;
} else if ((combo > 160) && (combo < 210)) {
_root.style.gotoAndStop(5);
_root.score = _root.score + 2;
} else if ((combo > 210) && (combo < 280)) {
_root.style.gotoAndStop(6);
_root.score = _root.score + 2;
} else if (combo > 280) {
_root.style.gotoAndStop(7);
_root.score = _root.score + 3;
}
if (_root.Health > 0) {
DIE = 0;
}
if (DIE > 0) {
_root.gameover.play();
hangtime = 0;
_root.pause._visible = false;
jump = 0;
falling = 0;
attack = 0;
damage = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if ((skin < 2) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 2) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(2);
this.arm.skin.gotoAndStop(2);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(2);
this.dead.death.arm.skin.gotoAndStop(2);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 3) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(4);
this.arm.skin.gotoAndStop(4);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(4);
this.dead.death.arm.skin.gotoAndStop(4);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 4) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape.skin.gotoAndStop(2);
this.capel.skin.gotoAndStop(2);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.capel.skin.gotoAndStop(2);
this.dead.death.cape.skin.gotoAndStop(2);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 5) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 6) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 7) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(3);
this.arml.skin.gotoAndStop(3);
this.arm.skin.gotoAndStop(3);
this.cape._visible = true;
this.capel._visible = true;
this.cape.skin.gotoAndStop(2);
this.capel.skin.gotoAndStop(2);
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(3);
this.dead.death.arml.skin.gotoAndStop(3);
this.dead.death.arm.skin.gotoAndStop(3);
this.dead.death.cape._visible = true;
this.dead.death.cape.skin.gotoAndStop(2);
this.dead.death.capel.skin.gotoAndStop(2);
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 8) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(4);
this.arml.skin.gotoAndStop(4);
this.arm.skin.gotoAndStop(4);
this.cape._visible = true;
this.capel._visible = true;
this.cape.skin.gotoAndStop(3);
this.capel.skin.gotoAndStop(3);
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(4);
this.dead.death.arml.skin.gotoAndStop(4);
this.dead.death.arm.skin.gotoAndStop(4);
this.dead.death.cape._visible = true;
this.dead.death.cape.skin.gotoAndStop(3);
this.dead.death.capel.skin.gotoAndStop(3);
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
}
if ((skin < 7) && (DEVIL < 1)) {
this.capel.skin.gotoAndStop(1);
this.head.skin.gotoAndStop(1);
this.dead.death.cape.skin.gotoAndStop(1);
this.dead.death.capel.skin.gotoAndStop(1);
}
if (clock > 27) {
_root.seconds = _root.seconds + 1;
clock = 0;
}
if (_root.seconds > 60) {
_root.Minutes = _root.Minutes + 1;
_root.seconds = 0;
}
if (_root.mission == 14) {
_root.pause.mission.gotoAndStop(14);
}
if (_root.travel._x < -2500) {
_root.exit.play();
hangtime = 0;
_root.pause._visible = false;
this.stop();
jump = 0;
falling = 0;
attack = 0;
damage = 0;
motion = 0;
this.power._visible = false;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.SWORD.strike.gotoAndStop(1);
_root.ENEMY.SWORD.strike.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
_root.ENEMY2.motion = 0;
_root.ENEMY.motion = 0;
DEVIL = 0;
}
if (Heart == 1) {
_root.gauge.meter.gotoAndStop(1);
}
if (Heart == 2) {
_root.gauge.meter.gotoAndStop(2);
}
if (Heart == 3) {
_root.gauge.meter.gotoAndStop(3);
}
if (clock > 27) {
_root.OAseconds = _root.OAseconds + 1;
clock = 0;
}
if (_root.OAseconds > 60) {
_root.OAMinutes = _root.OAMinutes + 1;
_root.OAseconds = 0;
}
if (_root.kills > goal) {
MISSIONCLEAR = 20;
}
if (_root.rumble > 0) {
_root.pause.rumble.gotoAndStop(3);
}
if ((this.core.hitTest(_root.ENEMY3.dead) && (_x < _root.ENEMY3._x)) && (shadowmode < 1)) {
damage = 35;
friction2 = 1;
hangtime = 0;
falling = 0;
plundge = 20;
this.gotoAndPlay("down");
_xscale = -55;
Health = Health - 80;
}
if ((this.core.hitTest(_root.ENEMY3.dead) && (_x > _root.ENEMY3._x)) && (shadowmode < 1)) {
damage = 35;
friction2 = 1;
hangtime = 0;
falling = 0;
plundge = 20;
this.gotoAndPlay("down");
_xscale = -55;
Health = Health - 80;
}
if (((((this._xscale > 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x > _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 1;
target1 = 0;
}
if (((((this._xscale > 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x < _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 0;
target1 = 2;
}
if (((((this._xscale < 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x > _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 0;
target1 = 2;
}
if (((((this._xscale < 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x < _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 1;
target1 = 0;
}
if (_root.ENEMY2.Health < 1) {
target2 = 1;
}
if (_y < -30) {
hangtime = 2;
this.gotoAndStop("plummet");
}
if ((((this._x > 699) && (battle < 1)) && (_root.travel._x > -2639.85)) && (key.IsDown(39))) {
this._x = 700;
_root.travel._x = _root.travel._x - (motion * 1.1);
_root.travel._x = _root.travel._x - (DEVIL * 4);
}
if ((((this._x < 39) && (battle < 1)) && (_root.travel._x < 1)) && (key.IsDown(37))) {
this._x = 38;
_root.travel._x = _root.travel._x + (motion * 1.1);
_root.travel._x = _root.travel._x + (DEVIL * 4);
}
if (_root.travel._x > 0) {
_root.travel._x = 0;
}
if (_root.travel._x < -2639.85) {
_root.travel._x = -2639.85;
}
if (((((_root.travel._x < -850) && (_root.travel._x > -1400)) && (_root.kills < killfill)) && (battle < 1)) && (fight == 0)) {
battle = 2;
_root.music.gotoAndPlay("rock");
_root.ENEMY.rebirth = 2;
}
if ((((_root.travel._x < -850) && (_root.travel._x > -1400)) && (_root.kills > killfill)) && (battle > 0)) {
battle = 0;
killfill = killfill + 30;
_root.music.gotoAndPlay("ambient");
fight = 1;
_root.ENEMY.gotoAndPlay("death");
_root.ENEMY2.gotoAndPlay("death");
_root.ENEMY.Health = 0;
_root.ENEMY2.Health = 0;
}
if (((((_root.travel._x < -1600) && (_root.travel._x > -2400)) && (_root.kills < killfill)) && (battle < 1)) && (fight == 1)) {
battle = 2;
_root.ENEMY.rebirth = 2;
_root.music.gotoAndPlay("rock");
}
if ((((_root.travel._x < -1600) && (_root.travel._x > -2400)) && (_root.kills > killfill)) && (battle > 0)) {
battle = 0;
killfill = killfill + 35;
_root.ENEMY3.quota = 23;
_root.music.gotoAndPlay("ambient");
fight = 2;
_root.ENEMY.gotoAndPlay("death");
_root.ENEMY2.gotoAndPlay("death");
_root.ENEMY.Health = 0;
_root.ENEMY2.Health = 0;
}
if (((((_root.travel._x < -2400) && (_root.travel._x > -2900)) && (_root.kills < killfill)) && (battle < 1)) && (fight == 2)) {
battle = 2;
_root.ENEMY.rebirth = 2;
_root.music.gotoAndPlay("rock");
}
if ((((_root.travel._x < -2400) && (_root.travel._x > -2900)) && (_root.kills > killfill)) && (battle > 0)) {
battle = 0;
_root.ENEMY.gotoAndPlay("death");
_root.ENEMY2.gotoAndPlay("death");
_root.ENEMY.Health = 0;
_root.ENEMY2.Health = 0;
_root.ENEMY3.quota = 34;
_root.music.gotoAndPlay("ambient");
sequence = 1;
}
if (battle < 1) {
_root.ENEMY.autospawn = 0;
_root.ENEMY2.autospawn = 0;
_root.ENEMY3.autospawn = 0;
}
if (_root.rumble < 1) {
_root.pause.rumble.gotoAndStop(2);
}
if (gravity == 1) {
_root.Combo.hitter = _root.Combo.hits;
_yscale = 55;
this._y = this._y + (falling * gravity);
_root.Healthfull = (_root.level * 100) + 200;
this._y = this._y - (jump * gravity);
fill = fill + 1;
heartchange = heartchange + 1;
this.shoot.gotoAndStop(random(5));
falling = falling + (hangtime * gravity);
attack = attack - friction;
clock = clock + ticker;
damage = damage - friction2;
fillerup = fillerup + 1;
faller = faller + (plundge * gravity);
_root.combo.hits = combo;
comboreset = comboreset + comboset;
this._y = this._y + (faller * gravity);
healing = healing + 1;
speder = speder + 1;
timing = timing + filler;
this._y = this._y - (wallrun * gravity);
_root.gauge.meter._xscale = _root.gauge.percent;
}
if (gravity == -1) {
_yscale = -55;
_root.Combo.hitter = _root.Combo.hits;
this._y = this._y - falling;
_root.Healthfull = (_root.level * 100) + 200;
this._y = this._y + jump;
fill = fill + 1;
heartchange = heartchange + 1;
this.shoot.gotoAndStop(random(5));
falling = falling + hangtime;
attack = attack - friction;
clock = clock + ticker;
damage = damage - friction2;
fillerup = fillerup + 1;
faller = faller + plundge;
_root.combo.hits = combo;
comboreset = comboreset + comboset;
this._y = this._y - faller;
healing = healing + 1;
speder = speder + 1;
timing = timing + filler;
this._y = this._y + wallrun;
_root.gauge.meter._xscale = _root.gauge.percent;
}
if ((((_y < 70) && (falling > 0)) && (gravity < 0)) && (pause < 1)) {
this._y = 70;
falling = 0;
hangtime = 0;
jump = 0;
this.gotoAndStop(1);
} else if ((((_y < 70) && (faller > 0)) && (gravity < 0)) && (pause < 1)) {
this._y = 70;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 0;
faller = 0;
}
if ((((gravity == -1) && (blade == 2)) && (refill < 1)) && (pause < 1)) {
timevertex = timevertex + 2;
}
if (((((gravity == -1) && (blade == 2)) && (timevertex > 400)) && (refill < 1)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
refill = 5;
this.gotoAndStop("fall");
timevertex = 400;
}
if (refill > 0) {
timevertex = timevertex - 1;
}
if (gravity > 0) {
timevertex = timevertex - 1;
}
if (timevertex < 3) {
refill = 0;
}
if (((blade < 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if (((blade > 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if (((blade == 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if ((((blade < 2) && (_root.mission > 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade > 2) && (_root.mission > 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade < 2) && (_root.mission < 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade > 2) && (_root.mission < 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == 1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission < 7)) && (pause < 1)) {
gravity = -1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == -1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission < 7)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == 1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission > 7)) && (pause < 1)) {
gravity = -1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == -1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission > 7)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if ((this._y == 70) && (gravity == -1)) {
this.Staticform2._visible = true;
} else if ((this._y > 60) && (gravity == -1)) {
this.Staticform2._visible = false;
} else if (gravity == 1) {
this.Staticform2._visible = false;
}
if ((_y > 480) && (gravity < 0)) {
this.gotoAndStop("plummet");
}
if (timestop > 0) {
my_color = new Color(_root.ENEMY);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.ENEMY2);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.ENEMY3);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.BG);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.travel);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
}
if (timestop < 1) {
my_color = new Color(_root.ENEMY);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.ENEMY2);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.ENEMY3);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.BG);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.travel);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
}
if ((timestop > 0) && (pause < 1)) {
timestart = timestart + 1;
refiller = 0;
}
if ((timestop < 1) && (pause < 1)) {
refiller = refiller + 1;
}
if ((timestart > 500) && (pause < 1)) {
this.timetrigger.gotoAndStop(3);
timestop = 0;
enable = 1;
refiller = 0;
timestart = 0;
}
if (refiller > 300) {
enable = 0;
}
if ((((((blade == 3) && (key.IsDown(38))) && (key.IsDown(65))) && (DTIME > 30)) && (timestop < 1)) && (enable < 1)) {
timestop = 2;
DTIME = 0;
this.timetrigger.gotoAndStop(2);
}
if (((((blade == 3) && (key.IsDown(38))) && (key.IsDown(65))) && (DTIME > 30)) && (timestop > 1)) {
timestop = 0;
DTIME = 0;
this.timetrigger.gotoAndStop(3);
}
if ((blade < 3) && (pause < 1)) {
timestop = 0;
dropout = dropout - 1;
}
if ((blade > 3) && (pause < 1)) {
timestop = 0;
dropout = dropout - 1;
}
if (((((((blade == 4) && (key.IsDown(38))) && (key.IsDown(65))) && (PTIME > 30)) && (shadowset > 1000)) && (shadowmode < 1)) && (pause < 1)) {
this.shadowtiming.gotoAndStop(2);
shadowmode = 5;
PTIME = 0;
}
if (shadowmode > 0) {
my_color = new Color(_root.player);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_alpha = 50;
this.CORE._width = 0;
this.CORE._height = 0;
shadowexit = shadowexit + 2;
}
if ((shadowexit > 900) && (pause < 1)) {
shadowmode = 0;
PTIME = 0;
shadowset = 0;
shadowexit = 0;
this.shadowtiming.gotoAndStop(3);
}
if (shadowmode < 1) {
my_color = new Color(_root.player);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_alpha = 100;
this.CORE._width = 0;
this.CORE._height = 0;
shadowset = shadowset + 2;
}
if ((blade < 4) && (shadowmode > 0)) {
shadowmode = 0;
this.shadowtiming.gotoAndStop(3);
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (PTIME > 30)) && (shadowmode > 0)) && (pause < 1)) {
shadowmode = 0;
PTIME = 0;
this.shadowtiming.gotoAndStop(3);
}
if (shadowmode > 0) {
this.swordBox._width = 2000;
this.slashBox._width = 2000;
this.ripBox._width = 2000;
}
if (shadowmode < 1) {
this.swordBox._width = 240;
this.slashBox._width = 240;
this.ripBox._width = 240;
}
if ((key.IsDown(86) && (_root.submachine < 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(88) && (_root.submachine > 0)) && (gun == 4)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.lightning > 0)) && (blade == 1)) {
_root.swordswitch.gotoAndStop(2);
}
if ((key.IsDown(90) && (_root.hellfire > 0)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(3);
}
if ((key.IsDown(90) && (_root.devilsdemise > 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(4);
}
if ((key.IsDown(90) && (_root.hellfire < 1)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.devilsdemise < 2)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.devilsdemise > 0)) && (blade == 4)) {
_root.swordswitch.gotoAndStop(1);
}
if ((gravity < 0) && (_y > 350)) {
this.gotoAndStop("plummet");
plundge = 2;
}
if (die == 1) {
this.dead.gotoAndStop(1);
}
if ((die == 2) && (_y > 300)) {
this.dead.gotoAndStop(2);
}
if ((die == 3) && (_y > 300)) {
this.dead.gotoAndStop(3);
}
if (_root.OAmission < 8) {
_root.OAmission = 8;
}
if (riser > 80) {
this.gotoAndPlay("revert");
springup = 0;
riser = 0;
}
if ((killhealth > 30) && (pause < 1)) {
_root.Health = _root.Health - 1;
killhealth = 0;
}
if ((missionclearer > 3) && (missionclearer < 5)) {
this.gotoAndPlay("onnenfound");
_root.ENEMY.Health = 0;
_root.ENEMY2.Health = 0;
_root.ENEMY3.Health = 0;
_root.ENEMY.gotoAndPlay("death");
_root.ENEMY2.gotoAndPlay("death");
_root.ENEMY3.gotoAndPlay("death");
}
if (blasterZ > 0) {
my_color = new Color(_root.travel);
myColorTransform = {ra:100, rb:-30, ga:-100, gb:0, ba:-100, bb:0};
my_color.setTransform(myColorTransform);
}
if ((timestart > 500) && (_root.ENEMY._y < 350)) {
_root.ENEMY.hangtime = 3;
_root.ENEMY.play();
}
if ((timestart > 500) && (_root.ENEMY2._y < 350)) {
_root.ENEMY2.hangtime = 3;
_root.ENEMY2.play();
}
if ((timestart > 500) && (_root.ENEMY3._y < 350)) {
_root.ENEMY3.hangtime = 3;
_root.ENEMY3.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY.hangtime = 3;
_root.ENEMY.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY2._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY2.hangtime = 3;
_root.ENEMY2.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY3._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY3.hangtime = 3;
_root.ENEMY3.play();
} else {
_rotation = 0;
}
GTIME = GTIME + 1;
PTIME = PTIME + 1;
DTIME = DTIME + 1;
killhealth = killhealth + 1;
RISER = RISER + springup;
_root.Heartswitch.gotoAndStop(3);
_root.gauge.percent = 100;
missionclearer = missionclearer + sequence;
}
Instance of Symbol 1514 MovieClip "ENEMY" in Frame 64
onClipEvent (load) {
jump = 0;
hangtime = 3;
falling = 0;
damage = 0;
motion = 5;
Health = 1500;
this.gotoAndStop("dead");
SPAWN = 0;
this.fire._alpha = 0;
}
onClipEvent (enterFrame) {
if ((falling > 60) && (_root.player.MISSIONCLEAR < 1)) {
falling = 60;
}
if ((_y > 353) && (falling > 0)) {
_y = 353;
falling = 0;
jump = 0;
hangtime = 0;
}
if (((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this._x = this._x + motion;
this.SWORD.gotoAndStop(1);
}
if (((_root.player._x < (_x - 70)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
this._xscale = -100;
this._x = this._x - motion;
this.SWORD.gotoAndStop(1);
}
if ((((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this.SWORD.gotoAndStop(2);
}
if (((((_xscale < 0) && (_root.player._x > (_x - 70))) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this.SWORD.gotoAndStop(2);
}
if (((((_xscale > 0) && (_root.player._x < (_x + 70))) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this.SWORD.gotoAndStop(2);
}
if (_xscale > 0) {
aim = -90;
} else if (_xscale < 0) {
aim = 90;
}
if (this.Core.hitTest(_root.player.GUNBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("shot");
damage = 7;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if (this.Core.hitTest(_root.player.GUNBOX2)) {
this.gotoAndPlay("shot");
damage = 7;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX)) {
this.gotoAndPlay("slash");
damage = 17;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 40;
_root.Combo.gotoAndPlay(2);
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (_root.player.DEVIL * 10);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX)) {
this.gotoAndPlay("slash");
damage = 20;
friction = 2;
jump = 28;
hangtime = 2;
falling = 0;
Health = Health - (50 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 80;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.STABBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("slash");
damage = 3;
friction = 1;
jump = 40;
hangtime = 2;
falling = 0;
Health = Health - (55 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 60;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if ((this.Core.hitTest(_root.player.GUNBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if (this.Core.hitTest(_root.player.GUNBOX2) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX) && (Health < 1)) {
this.gotoAndPlay("ripped");
Health = Health - (30 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 20;
_root.Combo.hits = _root.Combo.hits + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX) && (Health < 1)) {
this.gotoAndPlay("ripped");
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (50 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if ((this.Core.hitTest(_root.player.STABBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("death");
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (55 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(3);
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health > 0)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("slash");
damage = 27;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 50;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(2);
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("exploader");
damage = 27;
friction = 2;
jump = 7;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (50 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if (this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("exploader");
damage = 37;
friction = 2;
jump = 7;
hangtime = 2;
rebirth = 2;
autospawn = 0;
falling = 0;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
Health = Health - (1000 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
}
if (_xscale > 0) {
this._x = this._x - damage;
this.overkill._xscale = 100;
} else if (_xscale < 0) {
this._x = this._x + damage;
this.overkill._xscale = -100;
}
if (damage < 0) {
damage = 0;
friction = 0;
}
if (Health < -50) {
this.overkill.play();
}
if (this._x > 800) {
this._x = 800;
} else if (this._x < 0) {
this._x = 0;
}
if (autospawn > 60) {
this._y = -100;
}
if (autospawn > 120) {
Health = 1200;
autospawn = 0;
rebirth = 0;
hangtime = 4;
SPAWN = SPAWN + 1;
gotoAndStop (1);
}
if ((autospawn > 120) && (_root.ENEMY2.Health < 1)) {
_root.ENEMY2.rebirth = 2;
this.gotoAndStop(1);
}
if (((autospawn > 60) && (_root.ENEMY2.Health < 1)) && (_root.ENEMY2.rebirth < 1)) {
_root.ENEMY2.rebirth = 2;
}
if ((this.core.hitTest(_root.ENEMY2.core) && (_root.ENEMY2._x > _x)) && (_root.player.target1 == 1)) {
_root.ENEMY2._x = _root.ENEMY2._x + 20;
} else if ((this.core.hitTest(_root.ENEMY2.core) && (_root.ENEMY2._x < _x)) && (_root.player.target1 == 1)) {
_root.ENEMY2._x = _root.ENEMY2._x - 20;
}
if (_root.player.timestop > 0) {
this.SWORD.strike.gotoAndStop(1);
this.SWORD.gotoAndStop(1);
}
if ((Health < 400) && (SPAWN > 1)) {
this.BUG.gotoAndStop(2);
}
if ((((this.BUG.strike.hitbox.hitTest(_root.player.core) && (_xscale > 0)) && (_root.Health > 0)) && (_root.player.timestop < 1)) && (_root.player.shadowmode < 1)) {
_root.player._xscale = 55;
_root.Health = _root.Health - 140;
_root.player.gotoAndPlay("down");
_root.player.plundge = 5;
_root.player.damage = 40;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.plundge = 5;
_root.player.falling = 0;
_root.player.hangtime = 0;
_root.player.combo = 0;
SPAWN = 0;
}
if ((((this.BUG.strike.hitbox.hitTest(_root.player.core) && (_xscale < 0)) && (_root.Health > 0)) && (_root.player.timestop < 1)) && (_root.player.shadowmode < 1)) {
_root.player._xscale = -55;
_root.Health = _root.Health - 140;
_root.player.gotoAndPlay("down");
_root.player.plundge = 5;
_root.player.damage = 40;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.plundge = 5;
_root.player.falling = 0;
_root.player.hangtime = 0;
_root.player.combo = 0;
SPAWN = 0;
}
if ((Health < 600) && (SPAWN > 0)) {
this.carcus.gotoAndStop(2);
this.carcus2.gotoAndStop(2);
}
if ((((_xscale > 0) && (_root.player._x < (_x + 130))) && (_root.player.pause < 1)) && (SPAWN > 0)) {
stabfill = stabfill + 1;
}
if ((((_xscale < 0) && (_root.player._x > (_x - 130))) && (_root.player.pause < 1)) && (SPAWN > 0)) {
stabfill = stabfill + 1;
}
if (_root.player.timestop > 0) {
this.BUG.strike.stop();
this.carcus.demon.stop();
}
if (_root.player.pause > 0) {
this.BUG.strike.gotoAndStop(1);
}
if (_root.player.timestop < 1) {
this.BUG.strike.play();
this.carcus.demon.play();
}
if (this.Core.hitTest(_root.player.SWORDBOX && (_root.player.blade == 3))) {
flames = 80;
}
if (this.Core.hitTest(_root.player.RIPBOX) && (_root.player.blade == 3)) {
flames = 80;
}
if (Health > 0) {
this.fire._alpha = flames;
flames = flames - 1;
}
if (Health < 1) {
flames = 0;
}
if ((_root.player.DTIME > 20) && (_root.player.DTIME < 25)) {
hangtime = 1;
}
_y = (_y + falling);
_y = (_y - jump);
autospawn = autospawn + rebirth;
damage = damage - friction;
falling = falling + hangtime;
}
Instance of Symbol 1406 MovieClip "ENEMY3" in Frame 64
onClipEvent (load) {
jump = 0;
hangtime = 3;
falling = 0;
damage = 0;
motion = 2;
Health = 0;
this.gotoAndStop("dead");
quota = 5;
}
onClipEvent (enterFrame) {
if ((falling > 60) && (_root.player.MISSIONCLEAR < 1)) {
falling = 60;
}
if ((_y > 353) && (falling > 0)) {
_y = 353;
falling = 0;
jump = 0;
hangtime = 0;
}
if (_xscale > 0) {
_x = (_x - damage);
}
if (_xscale < 0) {
_x = (_x - damage);
}
if (((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this._x = this._x + motion;
}
if (((_root.player._x < (_x - 70)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) {
this._xscale = -100;
this._x = this._x - motion;
}
if (_xscale > 0) {
aim = -90;
} else if (_xscale < 0) {
aim = 90;
}
if (this.Core.hitTest(_root.player.GUNBOX) && (_root.player.target2 == 1)) {
this.gotoAndPlay("shot");
damage = 5;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if (this.Core.hitTest(_root.player.GUNBOX2)) {
this.gotoAndPlay("shot");
damage = 5;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX)) {
this.gotoAndPlay("slash");
damage = 8;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 40;
_root.Combo.gotoAndPlay(2);
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (_root.player.DEVIL * 10);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX)) {
this.gotoAndPlay("slash");
damage = 30;
friction = 2;
jump = 15;
hangtime = 2;
falling = 0;
Health = Health - (50 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 80;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.STABBOX) && (_root.player.target2 == 1)) {
this.gotoAndPlay("slash");
damage = 8;
friction = 1;
jump = 40;
hangtime = 2;
falling = 0;
Health = Health - (55 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 60;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if ((this.Core.hitTest(_root.player.GUNBOX) && (Health < 1)) && (_root.player.target2 == 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.ENEMY.rebirth = 5;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.target1 == 2;
_root.player.comboreset = 0;
quota = quota + 3;
}
if (this.Core.hitTest(_root.player.GUNBOX2) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
autospawn = 0;
rebirth = 1;
_root.ENEMY.rebirth = 5;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.target1 == 2;
_root.player.comboset = 1;
_root.player.comboreset = 0;
quota = quota + 3;
} else if (this.Core.hitTest(_root.player.SWORDBOX) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (30 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
autospawn = 0;
rebirth = 1;
_root.ENEMY.rebirth = 5;
_root.player.target1 == 2;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 20;
_root.Combo.hits = _root.Combo.hits + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
quota = quota + 3;
} else if (this.Core.hitTest(_root.player.RIPBOX) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (_root.player.DEVIL * 10);
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
Health = Health - (50 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.player.target1 == 2;
_root.ENEMY.rebirth = 5;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
quota = quota + 3;
} else if ((this.Core.hitTest(_root.player.STABBOX) && (Health < 1)) && (_root.player.target2 == 1)) {
this.gotoAndPlay("death");
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (55 * _root.player.strength);
autospawn = 0;
_root.player.target1 == 2;
rebirth = 1;
_root.ENEMY.rebirth = 5;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(3);
quota = quota + 3;
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health > 0)) && (_root.player.target2 == 1)) {
this.gotoAndPlay("slash");
damage = 27;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 50;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(2);
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health < 1)) && (_root.player.target2 == 1)) {
this.gotoAndPlay("death");
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
_root.player.target1 == 2;
damage = 27;
friction = 2;
jump = 7;
_root.kills = _root.kills + 1;
_root.ENEMY.rebirth = 5;
_root.overallkills = _root.overallkills + 1;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (50 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
quota = quota + 3;
} else if (this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target2 == 1)) {
this.gotoAndPlay("death");
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 1000;
damage = 37;
friction = 2;
jump = 7;
hangtime = 2;
rebirth = 2;
autospawn = 0;
_root.ENEMY.rebirth = 5;
falling = 0;
_root.player.target1 == 2;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
Health = Health - (1000 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
quota = quota + 3;
}
if (this._x > 800) {
this._x = 795;
} else if (this._x < 0) {
this._x = 5;
}
if ((autospawn > 10) && (_root.ENEMY.Health < 1)) {
_root.player.target1 = 2;
}
if ((autospawn > 70) && (_root.ENEMY.Health > 0)) {
autospawn = 70;
}
if (autospawn > 65) {
this._y = -100;
}
if ((autospawn > 150) && (_root.ENEMY.Health < 1)) {
Health = 25;
autospawn = 0;
rebirth = 0;
hangtime = 2;
this.gotoAndStop(1);
_root.ENEMY.gotoAndStop("dead");
_root.ENEMY.rebirth = 0;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 0;
_root.ENEMY.Health = 0;
}
if (_root.kills > quota) {
rebirth = 2;
quota = quota + 5;
}
if ((this.core.hitTest(_root.ENEMY2.core) && (_root.ENEMY2._x > _x)) && (_root.player.target2 > 0)) {
_root.ENEMY2._x = _root.ENEMY2._x + 20;
} else if ((this.core.hitTest(_root.ENEMY2.core) && (_root.ENEMY2._x < _x)) && (_root.player.target2 > 0)) {
_root.ENEMY2._x = _root.ENEMY2._x - 20;
}
if (damage < 0) {
damage = 0;
friction = 0;
}
if (this.dead.hitTest(_root.ENEMY2.Core) && (_root.ENEMY2._x < _x)) {
_root.ENEMY2.damage = 40;
_root.ENEMY2.friction = 1.5;
_root.ENEMY2.gotoAndPlay("slash");
_root.ENEMY2.jump = 30;
_root.ENEMY2.hangtime = 1.5;
_root.ENEMY2._xscale = 100;
} else if (this.dead.hitTest(_root.ENEMY2.Core) && (_root.ENEMY2._x > _x)) {
_root.ENEMY2.damage = 40;
_root.ENEMY2.friction = 1.5;
_root.ENEMY2.jump = 30;
_root.ENEMY2.hangtime = 1.5;
_root.ENEMY2.gotoAndPlay("slash");
_root.ENEMY2._xscale = -100;
}
if (_root.player.pause > 0) {
this.seed.stop();
} else if (_root.player.pause < 1) {
this.seed.play();
}
if ((((Health > 0) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (_root.kills < 99)) {
timebomb = timebomb + 1;
}
if (timebomb > 150) {
this.gotoAndPlay("death");
_root.ENEMY.rebirth = 5;
_root.ENEMY._y = -100;
_root.ENEMY.autospawn = 30;
_root.ENEMY.Health = 1000;
damage = 37;
_root.player.target1 == 2;
friction = 2;
jump = 7;
hangtime = 2;
rebirth = 2;
autospawn = 40;
_root.ENEMY.rebirth = 1;
falling = 0;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
Health = Health - (1000 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
quota = quota + 3;
timebomb = 0;
Health = 0;
}
if ((autospawn < 0) && (autospawn < 65)) {
_root.player.target1 == 2;
}
if (_root.player.timestop > 0) {
this.SWORD.strike.gotoAndStop(1);
this.SWORD.gotoAndStop(1);
}
if (_root.player.timestop > 0) {
this.seed.stop();
}
if (_root.player.timestop < 1) {
this.seed.play();
}
if ((_root.player.DTIME > 20) && (_root.player.DTIME < 25)) {
hangtime = 1;
}
_y = (_y + falling);
_y = (_y - jump);
_x = (_x + damage);
autospawn = autospawn + rebirth;
falling = falling + hangtime;
}
Instance of Symbol 1119 MovieClip "ENEMY2" in Frame 64
onClipEvent (load) {
jump = 0;
hangtime = 0;
falling = 0;
damage = 0;
motion = 5;
Health = 0;
this.gotoAndStop("dead");
SPAWN = 0;
this.fire._alpha = 0;
}
onClipEvent (enterFrame) {
if ((falling > 60) && (_root.player.MISSIONCLEAR < 1)) {
falling = 60;
}
if (((_y > 353) && (falling > 0)) && (_root.player.MISSIONCLEAR < 1)) {
_y = 353;
falling = 0;
jump = 0;
hangtime = 0;
}
if ((((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this._x = this._x + motion;
this.SWORD.gotoAndStop(1);
}
if ((((_root.player._x < (_x - 70)) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this._xscale = -100;
this._x = this._x - motion;
this.SWORD.gotoAndStop(1);
}
if ((((_root.player._x > (_x + 70)) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this._xscale = 100;
this.SWORD.gotoAndStop(2);
}
if (((((_xscale < 0) && (_root.player._x > (_x - 70))) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this.SWORD.gotoAndStop(2);
}
if (((((_xscale > 0) && (_root.player._x < (_x + 70))) && (_root.player.pause < 1)) && (_root.player.MISSIONCLEAR < 1)) && (_root.player.timestop < 1)) {
this.SWORD.gotoAndStop(2);
}
if (_xscale > 0) {
aim = -90;
} else if (_xscale < 0) {
aim = 90;
}
if (this.Core.hitTest(_root.player.GUNBOX) && (_root.player.target1 == 2)) {
this.gotoAndPlay("shot");
damage = 7;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
}
if (this.Core.hitTest(_root.player.GUNBOX2)) {
this.gotoAndPlay("shot");
damage = 7;
friction = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (4 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX)) {
this.gotoAndPlay("slash");
damage = 17;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 40;
_root.Combo.gotoAndPlay(2);
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (_root.player.DEVIL * 10);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX)) {
this.gotoAndPlay("slash");
damage = 20;
friction = 2;
jump = 28;
hangtime = 2;
falling = 0;
Health = Health - (50 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 80;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if (this.Core.hitTest(_root.player.STABBOX) && (_root.player.target1 == 2)) {
this.gotoAndPlay("slash");
damage = 3;
friction = 1;
jump = 40;
hangtime = 2;
falling = 0;
Health = Health - (55 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 60;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if ((this.Core.hitTest(_root.player.GUNBOX) && (Health < 1)) && (_root.player.target1 == 2)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
}
if (this.Core.hitTest(_root.player.GUNBOX2) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX) && (Health < 1)) {
this.gotoAndPlay("ripped");
Health = Health - (30 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 20;
_root.Combo.hits = _root.Combo.hits + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX) && (Health < 1)) {
this.gotoAndPlay("ripped");
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (50 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if ((this.Core.hitTest(_root.player.STABBOX) && (Health < 1)) && (_root.player.target1 == 2)) {
this.gotoAndPlay("death");
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (55 * _root.player.strength);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(3);
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health > 0)) && (_root.player.target1 == 2)) {
this.gotoAndPlay("slash");
damage = 27;
friction = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
_root.Score = _root.Score + 50;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health < 1)) && (_root.player.target1 == 2)) {
this.gotoAndPlay("exploader");
damage = 27;
friction = 2;
jump = 7;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (50 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if (this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target1 == 2)) {
this.gotoAndPlay("exploader");
damage = 37;
friction = 2;
jump = 7;
hangtime = 2;
rebirth = 2;
autospawn = 0;
falling = 0;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
Health = Health - (1000 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
}
if (_xscale > 0) {
this._x = this._x - damage;
this.overkill._xscale = 100;
} else if (_xscale < 0) {
this._x = this._x + damage;
this.overkill._xscale = -100;
}
if (damage < 0) {
damage = 0;
friction = 0;
}
if (Health < -50) {
this.overkill.play();
}
if (this._x > 800) {
this._x = 800;
} else if (this._x < 0) {
this._x = 0;
}
if (autospawn > 60) {
this._y = -100;
}
if ((autospawn > 120) && (SPAWN < 2)) {
Health = 1500;
autospawn = 0;
rebirth = 0;
hangtime = 2;
SPAWN = SPAWN + 1;
this.gotoAndStop(1);
}
if ((autospawn > 120) && (SPAWN > 1)) {
Health = 1200;
autospawn = 0;
rebirth = 0;
hangtime = 2;
SPAWN = 0;
this.gotoAndStop(1);
}
if ((this.core.hitTest(_root.ENEMY.core) && (_root.ENEMY._x > _x)) && (_root.player.target1 == 2)) {
_root.ENEMY._x = _root.ENEMY._x + 20;
} else if ((this.core.hitTest(_root.ENEMY.core) && (_root.ENEMY._x < _x)) && (_root.player.target1 == 2)) {
_root.ENEMY._x = _root.ENEMY._x - 20;
}
if (_root.player.timestop > 0) {
this.SWORD.strike.gotoAndStop(1);
this.SWORD.gotoAndStop(1);
}
if ((((this.carcus.blood.TAIL.strike.whip.hitTest(_root.player.staber) && (_xscale > 0)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (_root.player.shadowmode < 1)) {
_root.player._xscale = 55;
_root.Health = _root.Health - 100;
_root.player.gotoAndPlay("down");
_root.player.plundge = 5;
_root.player.damage = 35;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.plundge = 5;
_root.player.combo = 0;
_root.player.falling = 0;
_root.player.hangtime = 0;
}
if ((((this.carcus.blood.TAIL.strike.whip.hitTest(_root.player.staber) && (_xscale < 0)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (_root.player.shadowmode < 1)) {
_root.player._xscale = -55;
_root.Health = _root.Health - 100;
_root.player.gotoAndPlay("down");
_root.player.plundge = 5;
_root.player.damage = 35;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.plundge = 5;
_root.player.combo = 0;
_root.player.falling = 0;
_root.player.hangtime = 0;
}
if (((((this.carcus.blood.TAIL.strike.hitbox.hitTest(_root.player.core) && (_xscale > 0)) && (_root.Health > 0)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (_root.player.shadowmode < 1)) {
_root.player._x = _x + 100;
_root.player._xscale = 55;
_root.player.gotoAndPlay("impale");
_root.Health = _root.Health - 30;
_root.player.gravity = 1;
_root.player.plundge = 5;
_root.player.combo = 0;
this.carcus.blood.TAIL.strike.hitbox.gotoAndPlay("stabber");
_root.player.falling = 0;
_root.player.hangtime = 0;
_root.player.damage = 0;
_root.player.friction = 0;
_root.player.attack = 0;
_root.player.friction2 = 0;
motion = 0;
}
if (((((this.carcus.blood.TAIL.strike.hitbox.hitTest(_root.player.core) && (_xscale < 0)) && (_root.Health > 0)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (_root.player.shadowmode < 1)) {
_root.player._x = _x - 100;
_root.player._xscale = -55;
_root.player.gotoAndPlay("impale");
_root.Health = _root.Health - 30;
_root.player.gravity = 1;
_root.player.plundge = 5;
_root.player.combo = 0;
_root.player.falling = 0;
_root.player.hangtime = 0;
_root.player.damage = 0;
_root.player.friction = 0;
_root.player.attack = 0;
_root.player.friction2 = 0;
this.carcus.blood.TAIL.strike.gotoAndPlay("stabber");
motion = 0;
}
if (((Health < 600) && (SPAWN > 0)) && (_root.player.timestop < 1)) {
this.carcus.gotoAndStop(2);
}
if ((((_xscale > 0) && (_root.player._x < (_x + 130))) && (_root.player.pause < 1)) && (SPAWN > 0)) {
stabfill = stabfill + 1;
}
if ((((_xscale < 0) && (_root.player._x > (_x - 130))) && (_root.player.pause < 1)) && (SPAWN > 0)) {
stabfill = stabfill + 1;
}
if ((stabfill > 130) && (_y > 340)) {
this.carcus.blood.TAIL.gotoAndStop(2);
this.SWORD.strike.gotoAndStop(1);
}
if (stabfill < 130) {
this.carcus.blood.TAIL.gotoAndStop(1);
}
if (_root.player.timestop > 0) {
this.carcus.blood.TAIL.strike.stop();
}
if (_root.player.timestop < 1) {
this.carcus.blood.TAIL.strike.play();
}
if (this.Core.hitTest(_root.player.SWORDBOX && (_root.player.blade == 3))) {
flames = 80;
}
if (this.Core.hitTest(_root.player.RIPBOX) && (_root.player.blade == 3)) {
flames = 80;
}
if (Health > 0) {
this.fire._alpha = flames;
flames = flames - 1;
}
if (Health < 1) {
flames = 0;
}
if ((_root.player.DTIME > 20) && (_root.player.DTIME < 25)) {
hangtime = 1;
}
_y = (_y + falling);
_y = (_y - jump);
autospawn = autospawn + rebirth;
damage = damage - friction;
falling = falling + hangtime;
}
Frame 65
if (_root.OAmission < 15) {
_root.OAmission = 15;
}
_quality = "High";
stop();
Stage.showMenu = false;
Instance of Symbol 986 MovieClip in Frame 65
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if (_root.killstats < _root.kills) {
_root.killstats = _root.killstats + 1;
}
if ((_root.killstats == _root.kills) && (_root.scorestats < _root.score)) {
_root.scorestats = _root.scorestats + 90;
}
if (((_root.killstats == _root.kills) && (_root.scorestats == _root.score)) && (_root.damagestats < _root.damage)) {
_root.damagestats = _root.damagestats + 5;
}
if (_root.killstats > _root.kills) {
_root.killstats = _root.kills;
}
if (_root.damagestats > _root.damage) {
_root.damagestats = _root.damage;
}
if (_root.scorestats > _root.score) {
_root.scorestats = _root.score;
}
if (key.IsDown(32)) {
_root.killstats = _root.kills;
}
if (key.IsDown(32) && (_root.killstats == _root.kills)) {
_root.scorestats = _root.score;
}
if ((key.IsDown(32) && (_root.killstats == _root.kills)) && (_root.scorestats == _root.score)) {
_root.damagestats = _root.damage;
}
if ((((_root.scorestats > 63000) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(6);
clearer = 1;
_root.rank14 = 5;
}
if (((((_root.scorestats > 60000) && (_root.scorestats < 63000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(5);
clearer = 1;
_root.rank14 = 4;
}
if (((((_root.scorestats > 55000) && (_root.scorestats < 60000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(4);
clearer = 1;
_root.rank14 = 3;
}
if (((((_root.scorestats > 51000) && (_root.scorestats < 48000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(3);
clearer = 1;
_root.rank14 = 2;
}
if ((((_root.scorestats < 44000) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(2);
clearer = 1;
_root.rank14 = 1;
}
if (_root.OAminutes < _root.minutes) {
_root.OAminutes = _root.minutes;
_root.OAseconds = _root.seconds;
}
_root.damage = _root.Healthfull - _root.Health;
_root.minutestats = _root.minutes;
_root.secondstats = _root.seconds;
}
Frame 66
_quality = "High";
stop();
Stage.showMenu = false;
Frame 67
_quality = "High";
stop();
Stage.showMenu = false;
Frame 68
if (_root.quality == 1) {
_quality = "Medium";
}
if (_root.quality == 2) {
_quality = "High";
}
if (_root.quality == 3) {
_quality = "Low";
}
stop();
Stage.showMenu = false;
Instance of Symbol 594 MovieClip "player" in Frame 68
onClipEvent (load) {
goal = 2;
MISSIONCLEAR = 0;
die = random(3);
_root.minutes = 0;
_root.seconds = 0;
_root.Speedheart = 5;
_root.pause._visible = false;
_root.targeter._visible = false;
_root.mission = 15;
_root.score = 0;
_root.Health = (_root.level * 100) + 200;
_root.kills = 0;
gravity = 1;
skin = 3;
damage = 0;
clock = 0;
ticker = 1;
targeting = 0;
filler = 2;
gun = 1;
attack = 0;
friction = 0;
motion = 13;
hangtime = 1;
falling = 0;
jump = 0;
blade = 1;
hits = 0;
thrower = 1;
DEVIL = 0;
_root.DRIVE = 0;
time = 1;
powerup = 0;
_root.gauge.percent = 0;
down = 1;
quota = (2 * _root.kills) + 10;
target = 0;
target2 = 0;
comboset = 0;
combo = 0;
comboreset = 0;
}
onClipEvent (enterFrame) {
if (_root.level < 1) {
_root.level = 1;
_root.Health = 300;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 1)) {
this._xscale = -55;
this._x = this._x + (motion * 1.1);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 1;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 1)) {
this._xscale = 55;
this._x = this._x - (motion * 1.1);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 1;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 4)) {
this._xscale = -55;
this._x = this._x + (motion * 1.4);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 2.5;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 4)) {
this._xscale = 55;
this._x = this._x - (motion * 1.4);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 2.5;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 2)) {
this._xscale = -55;
this._x = this._x + (motion * 1.35);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 0.6;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 2)) {
this._xscale = 55;
this._x = this._x - (motion * 1.35);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 0.6;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 3)) {
this._xscale = -55;
this._x = this._x + (motion * 0.95);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 2;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 3)) {
this._xscale = 55;
this._x = this._x - (motion * 0.95);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 2;
}
if (falling > 60) {
falling = 60;
hangtime = 0;
}
if (_xscale > 0) {
this._x = this._x - attack;
} else if (_xscale < 0) {
this._x = this._x + attack;
}
if (((_y > 325) && (falling > 0)) && (gravity > 0)) {
this._y = 351;
falling = 0;
hangtime = 0;
jump = 0;
this.gotoAndStop(1);
}
if (((_y > 325) && (faller > 0.5)) && (gravity > 0)) {
this._y = 349.79;
faller = 0;
plundge = 0;
jump = 0;
} else if (((_y > 325) && (falling > 3)) && (gravity > 0)) {
this._y = 349.79;
falling = 0;
hangtime = 0;
this._x = this._x - attack;
}
if (attack < 0) {
attack = 0;
friction = 0;
}
if (((jump > 0) && (this._x < 10)) && (key.IsDown(37))) {
this.gotoAndPlay("wallride");
this._x = 11;
_xscale = -55;
}
if ((jump > 0) && (this._x == 11)) {
this._x = 11;
_xscale = -55;
}
if (((jump > 0) && (this._x > 790)) && (key.IsDown(39))) {
this.gotoAndPlay("wallride");
this._x = 789;
_xscale = 55;
}
if ((jump > 0) && (this._x == 789)) {
this._x = 789;
_xscale = 55;
}
if ((DEVIL > 0) && (blade == 1)) {
this.capel.gotoAndStop(2);
this.arml.gotoAndStop(2);
this.arm.gotoAndStop(2);
this.head.gotoAndStop(2);
this.cape.gotoAndStop(2);
this.body.gotoAndStop(2);
this.glow.gotoAndStop(2);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(2);
}
if ((DEVIL > 0) && (blade == 2)) {
this.capel.gotoAndStop(3);
this.arml.gotoAndStop(3);
this.arm.gotoAndStop(3);
this.head.gotoAndStop(3);
this.cape.gotoAndStop(3);
this.body.gotoAndStop(3);
this.glow.gotoAndStop(3);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(3);
}
if ((DEVIL > 0) && (blade == 3)) {
this.capel.gotoAndStop(4);
this.arml.gotoAndStop(4);
this.arm.gotoAndStop(4);
this.head.gotoAndStop(4);
this.cape.gotoAndStop(4);
this.body.gotoAndStop(4);
this.glow.gotoAndStop(4);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(4);
}
if ((DEVIL > 0) && (blade == 4)) {
this.capel.gotoAndStop(5);
this.arml.gotoAndStop(5);
this.arm.gotoAndStop(5);
this.head.gotoAndStop(5);
this.cape.gotoAndStop(5);
this.body.gotoAndStop(5);
this.glow.gotoAndStop(5);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(5);
} else if (DEVIL < 1) {
this.capel.gotoAndStop(1);
this.arml.gotoAndStop(1);
this.arm.gotoAndStop(1);
this.head.gotoAndStop(1);
this.cape.gotoAndStop(1);
this.body.gotoAndStop(1);
this.glow.gotoAndStop(1);
this.static.gotoAndStop(1);
this.power._visible = false;
}
if (this._x > 800) {
this._x = 800;
} else if (this._x < 0) {
this._x = 0;
}
if ((key.isDown(70) && (DEVIL < 1)) && (_root.gauge.percent > 25)) {
this.gotoAndPlay("devilmode");
} else if (key.isDown(70) && (DEVIL > 0)) {
this.gotoAndPlay("devilexit");
}
if ((powerup > 30) && (pause < 1)) {
_root.gauge.percent = _root.gauge.percent + 1;
powerup = 0;
}
if (_root.gauge.percent > 99) {
time = 0;
} else if (_root.gauge.percent < 99) {
time = 1;
}
if ((DEVIL > 0) && (pause < 1)) {
powerdown = powerdown + down;
}
if (powerdown > 9) {
_root.gauge.percent = _root.gauge.percent - 1;
_root.Health = _root.Health + 1;
powerdown = 0;
}
if ((DEVIL < 1) && (pause < 1)) {
powerup = powerup + time;
}
if (_root.gauge.meterX._xscale > _root.gauge.meter._xscale) {
_root.meterX._xscale = _root.meterX._xscale - 0.75;
} else if (_root.gauge.meterX._xscale < _root.gauge.meter._xscale) {
_root.meterX._xscale = _root.gauge.meter._xscale;
}
if ((_root.gauge.percent < 1) && (DEVIL > 0)) {
_root.meterX._xscale = _root.gauge.meter._xscale;
this.gotoAndPlay("devilexit");
DEVIL = 0;
_root.gauge.percent = 0;
}
if (_xscale > 0) {
this._x = this._x + damage;
} else if (_xscale < 0) {
this._x = this._x - damage;
}
if (damage < 0) {
damage = 0;
friction2 = 0;
}
if (_root.Health > _root.Healthfull) {
_root.Health = _root.Healthfull;
}
if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 95;
falling = 0;
hangtime = 0;
plundge = 5;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 95;
falling = 0;
hangtime = 0;
plundge = 5;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
falling = 0;
hangtime = 0;
_root.Health = _root.Health - 125;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 125;
}
if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x > _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 28;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 95;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x < _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 28;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 95;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
combo = 0;
damage = 33;
jump = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 155;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x < _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 33;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 155;
} else if ((((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
friction2 = 1.5;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
_root.Health = _root.Health - 155;
} else if ((((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 155;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits > 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 65;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits > 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 35;
}
if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
}
if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
}
if ((this.core.hitTest(_root.ENEMY.TAIL.strike.hitbox) && (_root.ENEMY._x > _x)) && (shadowmode < 1)) {
this.gotoAndPlay("Impale");
_xscale = 55;
damage = 0;
attack = 0;
friction = 0;
friction2 = 0;
plundge = 5;
_root.Health = _root.Health - 90;
} else if ((this.core.hitTest(_root.ENEMY.TAIL.strike.hitbox) && (_root.ENEMY._x < _x)) && (shadowmode < 1)) {
this.gotoAndPlay("Impale");
_xscale = 55;
damage = 0;
attack = 0;
friction = 0;
friction2 = 0;
plundge = 5;
_root.Health = _root.Health - 90;
}
if (_root.Health < 1) {
_root.Health = 0;
this.gotoAndStop("death");
_root.death = _root.death + 1;
motion = 0;
DEVIL = 0;
down = 0;
time = 0;
combo = 0;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 30;
faller = 5;
DIE = 5;
_root.gauge.percent = 0;
}
if (_root.kills > quota) {
this.quota = this.quota + (_root.kills * 2);
this.quota = this.quota + 5;
_root.levelup.play();
}
if (_root.ENEMY2.Health <= 0) {
target1 = 1;
} else if (_root.ENEMY.Health <= 0) {
target1 = 2;
} else if (((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY._x < _root.ENEMY2._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY._x > _root.ENEMY2._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _x)) && (_root.ENEMY._x < _x)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _x)) && (_root.ENEMY._x < _x)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _x)) && (_root.ENEMY._x > _x)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _x)) && (_root.ENEMY._x > _x)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
}
if (target1 == 1) {
_root.targeter._x = _root.ENEMY._x;
_root.targeter._y = _root.ENEMY._y - 46;
} else if (target1 == 2) {
_root.targeter._x = _root.ENEMY2._x;
_root.targeter._y = _root.ENEMY2._y - 46;
}
if (gun == 1) {
this.arml.gun.gotoAndStop(1);
this.arm.gun.gotoAndStop(1);
_root.pause.guns.gotoAndStop(1);
} else if (gun == 2) {
this.arml.gun.gotoAndStop(2);
this.arm.gun.gotoAndStop(2);
_root.pause.guns.gotoAndStop(2);
} else if (gun == 3) {
this.arml.gun.gotoAndStop(3);
this.arm.gun.gotoAndStop(3);
_root.pause.guns.gotoAndStop(3);
} else if (gun == 4) {
this.arml.gun.gotoAndStop(4);
this.arm.gun.gotoAndStop(4);
_root.pause.guns.gotoAndStop(4);
}
if ((key.IsDown(88) && (_root.shotgun > 0)) && (gun == 1)) {
_root.gunswitch.gotoAndStop(2);
} else if ((key.IsDown(88) && (_root.grenade > 0)) && (gun == 2)) {
_root.gunswitch.gotoAndStop(3);
} else if ((key.IsDown(88) && (_root.submachine > 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(4);
} else if ((key.IsDown(88) && (_root.grenade < 1)) && (gun == 2)) {
_root.gunswitch.gotoAndStop(1);
} else if ((key.IsDown(88) && (_root.submachine < 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(1);
} else if ((key.IsDown(88) && (_root.submachine > 0)) && (gun == 4)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.lightning > 0)) && (blade == 1)) {
_root.swordswitch.gotoAndStop(2);
} else if ((key.IsDown(90) && (_root.hellfire > 0)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(3);
} else if ((key.IsDown(90) && (_root.devilsdemise > 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(4);
} else if ((key.IsDown(90) && (_root.hellfire < 1)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(1);
} else if ((key.IsDown(90) && (_root.devilsdemise < 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(1);
} else if ((key.IsDown(90) && (_root.devilsdemise > 0)) && (blade == 4)) {
_root.swordswitch.gotoAndStop(1);
}
if (gun == 3) {
this.bazooka.gotoAndStop(1);
} else if (gun == 4) {
this.bazooka.gotoAndStop(2);
} else if (gun == 2) {
this.bazooka.gotoAndStop(3);
} else if (gun == 1) {
this.bazooka.gotoAndStop(4);
}
if (blade == 3) {
this.fire._visible = true;
this.bolt._visible = false;
_root.pause.swords.gotoAndStop(3);
this.sword.gotoAndStop(3);
this.hate._visible = false;
this.light.gotoAndStop(3);
} else if (blade == 2) {
_root.pause.swords.gotoAndStop(2);
this.bolt._visible = true;
this.fire._visible = false;
this.sword.gotoAndStop(2);
this.hate._visible = false;
this.light.gotoAndStop(2);
} else if (blade == 1) {
this.fire._visible = false;
_root.pause.swords.gotoAndStop(1);
this.bolt._visible = false;
this.hate._visible = false;
this.light.gotoAndStop(1);
this.sword.gotoAndStop(1);
} else if (blade == 4) {
this.light.gotoAndStop(4);
this.hate._visible = true;
_root.pause.swords.gotoAndStop(4);
this.fire._visible = false;
this.bolt._visible = false;
this.sword.gotoAndStop(4);
}
if (DEVIL > 0) {
this.cape._visible = true;
this.capel._visible = true;
this.arm.gun.machine.gotoAndStop(2);
}
if (DEVIL < 1) {
this.arm.gun.machine.gotoAndStop(1);
}
if (((targeting < 1) && (key.IsDown(32))) && (timing > 25)) {
_root.targeter._visible = true;
targeting = 1;
timing = 0;
filler = 1;
} else if (((targeting > 0) && (key.IsDown(32))) && (timing > 25)) {
targeting = 0;
timing = 0;
filler = 1;
_root.targeter._visible = false;
}
if (((key.IsDown(67) && (pause < 1)) && (timing > 25)) && (DIE < 1)) {
pause = 5;
timing = 0;
filler = 1;
_root.pause._visible = true;
} else if ((key.IsDown(67) && (pause > 0)) && (timing > 25)) {
pause = 0;
hangtime = 3;
_root.ENEMY2.hangtime = 3;
_root.ENEMY.hangtime = 3;
play();
_root.pause._visible = false;
_root.pause.gotoAndStop(1);
timing = 0;
filler = 1;
}
if ((pause > 0) && (_y > 270)) {
this.gotoAndStop("pauseground");
hangtime = 0;
jump = 0;
plundge = 0;
falling = 0;
faller = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if ((pause > 0) && (_y < 270)) {
this.gotoAndStop("pauseair");
hangtime = 0;
jump = 0;
plundge = 0;
falling = 0;
faller = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if (comboreset > 120) {
combo = 0;
comboset = 0;
combo = combo - 2;
}
if (combo < 1) {
_root.style.gotoAndStop(1);
combo = 0;
comboreset = 0;
} else if ((combo > 1) && (combo < 50)) {
_root.style.gotoAndStop(2);
_root.score = _root.score + 1;
} else if ((combo > 50) && (combo < 110)) {
_root.style.gotoAndStop(3);
_root.score = _root.score + 1;
} else if ((combo > 110) && (combo < 160)) {
_root.style.gotoAndStop(4);
_root.score = _root.score + 1;
} else if ((combo > 160) && (combo < 210)) {
_root.style.gotoAndStop(5);
_root.score = _root.score + 2;
} else if ((combo > 210) && (combo < 280)) {
_root.style.gotoAndStop(6);
_root.score = _root.score + 2;
} else if (combo > 280) {
_root.style.gotoAndStop(7);
_root.score = _root.score + 3;
}
if (_root.Health > 0) {
DIE = 0;
}
if (DIE > 0) {
_root.gameover.play();
hangtime = 0;
_root.pause._visible = false;
jump = 0;
falling = 0;
attack = 0;
damage = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if ((skin < 2) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 2) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(2);
this.arm.skin.gotoAndStop(2);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(2);
this.dead.death.arm.skin.gotoAndStop(2);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 3) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(4);
this.arm.skin.gotoAndStop(4);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(4);
this.dead.death.arm.skin.gotoAndStop(4);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 4) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape.skin.gotoAndStop(2);
this.capel.skin.gotoAndStop(2);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.capel.skin.gotoAndStop(2);
this.dead.death.cape.skin.gotoAndStop(2);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 5) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 6) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 7) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(3);
this.arml.skin.gotoAndStop(3);
this.arm.skin.gotoAndStop(3);
this.cape._visible = true;
this.capel._visible = true;
this.cape.skin.gotoAndStop(2);
this.capel.skin.gotoAndStop(2);
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(3);
this.dead.death.arml.skin.gotoAndStop(3);
this.dead.death.arm.skin.gotoAndStop(3);
this.dead.death.cape._visible = true;
this.dead.death.cape.skin.gotoAndStop(2);
this.dead.death.capel.skin.gotoAndStop(2);
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 8) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(4);
this.arml.skin.gotoAndStop(4);
this.arm.skin.gotoAndStop(4);
this.cape._visible = true;
this.capel._visible = true;
this.cape.skin.gotoAndStop(3);
this.capel.skin.gotoAndStop(3);
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(4);
this.dead.death.arml.skin.gotoAndStop(4);
this.dead.death.arm.skin.gotoAndStop(4);
this.dead.death.cape._visible = true;
this.dead.death.cape.skin.gotoAndStop(3);
this.dead.death.capel.skin.gotoAndStop(3);
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
}
if ((skin < 7) && (DEVIL < 1)) {
this.capel.skin.gotoAndStop(1);
this.head.skin.gotoAndStop(1);
this.dead.death.cape.skin.gotoAndStop(1);
this.dead.death.capel.skin.gotoAndStop(1);
}
if (clock > 27) {
_root.seconds = _root.seconds + 1;
clock = 0;
}
if (_root.seconds > 60) {
_root.Minutes = _root.Minutes + 1;
_root.seconds = 0;
}
if (_root.mission == 15) {
_root.pause.mission.gotoAndStop(15);
}
if (_root.kills > 1) {
_root.exit.play();
hangtime = 0;
_root.pause._visible = false;
this.stop();
jump = 0;
falling = 0;
attack = 0;
damage = 0;
motion = 0;
this.power._visible = false;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.SWORD.strike.gotoAndStop(1);
_root.ENEMY.SWORD.strike.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
_root.ENEMY2.motion = 0;
_root.ENEMY.motion = 0;
DEVIL = 0;
}
if (((key.IsDown(81) && (_root.Speedheart > 0)) && (Heart == 1)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(2);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart > 0)) && (Heart == 2)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(3);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart > 0)) && (Heart == 3)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(1);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart < 1)) && (Heart == 2)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(1);
heartchange = 0;
}
if ((((Heart == 2) && (DEVIL > 0)) && (healing > 9)) && (pause < 1)) {
_root.Health = _root.Health + 3;
_root.gauge.percent = _root.gauge.percent - 1;
healing = 0;
}
if ((((Heart == 3) && (DEVIL > 0)) && (healing > 17)) && (pause < 1)) {
_root.gauge.percent = _root.gauge.percent + 1;
_root.Health = _root.Health - 5;
healing = 0;
}
if (Heart == 1) {
_root.gauge.meter.gotoAndStop(1);
}
if (Heart == 2) {
_root.gauge.meter.gotoAndStop(2);
}
if (Heart == 3) {
_root.gauge.meter.gotoAndStop(3);
}
if (clock > 27) {
_root.OAseconds = _root.OAseconds + 1;
clock = 0;
}
if (_root.OAseconds > 60) {
_root.OAMinutes = _root.OAMinutes + 1;
_root.OAseconds = 0;
}
if (_root.kills > goal) {
MISSIONCLEAR = 20;
}
if (_root.rumble > 0) {
_root.pause.rumble.gotoAndStop(3);
}
if ((this.core.hitTest(_root.ENEMY3.dead) && (_x < _root.ENEMY3._x)) && (shadowmode < 1)) {
damage = 35;
friction2 = 1;
hangtime = 0;
falling = 0;
plundge = 20;
this.gotoAndPlay("down");
_xscale = -55;
Health = Health - 60;
}
if ((this.core.hitTest(_root.ENEMY3.dead) && (_x > _root.ENEMY3._x)) && (shadowmode < 1)) {
damage = 35;
friction2 = 1;
hangtime = 0;
falling = 0;
plundge = 20;
this.gotoAndPlay("down");
_xscale = -55;
Health = Health - 60;
}
if (((((this._xscale > 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x > _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 1;
target1 = 0;
}
if (((((this._xscale > 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x < _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 0;
target1 = 2;
}
if (((((this._xscale < 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x > _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 0;
target1 = 2;
}
if (((((this._xscale < 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x < _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 1;
target1 = 0;
}
if (_root.ENEMY2.Health < 1) {
target2 = 1;
}
if (_y < -30) {
hangtime = 2;
this.gotoAndStop("plummet");
}
if (_root.rumble < 1) {
_root.pause.rumble.gotoAndStop(2);
}
if (gravity == 1) {
_root.Combo.hitter = _root.Combo.hits;
_yscale = 55;
this._y = this._y + (falling * gravity);
_root.Healthfull = (_root.level * 100) + 200;
this._y = this._y - (jump * gravity);
fill = fill + 1;
heartchange = heartchange + 1;
this.shoot.gotoAndStop(random(5));
falling = falling + (hangtime * gravity);
attack = attack - friction;
clock = clock + ticker;
damage = damage - friction2;
fillerup = fillerup + 1;
faller = faller + (plundge * gravity);
_root.combo.hits = combo;
comboreset = comboreset + comboset;
this._y = this._y + (faller * gravity);
healing = healing + 1;
speder = speder + 1;
timing = timing + filler;
this._y = this._y - (wallrun * gravity);
_root.gauge.meter._xscale = _root.gauge.percent;
}
if (gravity == -1) {
_yscale = -55;
_root.Combo.hitter = _root.Combo.hits;
this._y = this._y - falling;
_root.Healthfull = (_root.level * 100) + 200;
this._y = this._y + jump;
fill = fill + 1;
heartchange = heartchange + 1;
this.shoot.gotoAndStop(random(5));
falling = falling + hangtime;
attack = attack - friction;
clock = clock + ticker;
damage = damage - friction2;
fillerup = fillerup + 1;
faller = faller + plundge;
_root.combo.hits = combo;
comboreset = comboreset + comboset;
this._y = this._y - faller;
healing = healing + 1;
speder = speder + 1;
timing = timing + filler;
this._y = this._y + wallrun;
_root.gauge.meter._xscale = _root.gauge.percent;
}
if (((_y < 70) && (falling > 0)) && (gravity < 0)) {
this._y = 70;
falling = 0;
hangtime = 0;
jump = 0;
this.gotoAndStop(1);
} else if (((_y < 70) && (faller > 0)) && (gravity < 0)) {
this._y = 70;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 0;
faller = 0;
}
if ((((gravity == -1) && (blade == 2)) && (refill < 1)) && (pause < 1)) {
timevertex = timevertex + 2;
}
if (((((gravity == -1) && (blade == 2)) && (timevertex > 400)) && (refill < 1)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
refill = 5;
this.gotoAndStop("fall");
timevertex = 400;
}
if ((refill > 0) && (pause < 1)) {
timevertex = timevertex - 1;
}
if (gravity > 0) {
timevertex = timevertex - 1;
}
if ((timevertex < 3) && (pause < 1)) {
refill = 0;
}
if (((blade < 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if (((blade > 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if (((blade == 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if ((((blade < 2) && (_root.mission > 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade > 2) && (_root.mission > 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade < 2) && (_root.mission < 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade > 2) && (_root.mission < 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == 1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission < 7)) && (pause < 1)) {
gravity = -1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == -1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission < 7)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == 1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission > 7)) && (pause < 1)) {
gravity = -1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == -1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission > 7)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if ((this._y == 70) && (gravity == -1)) {
this.Staticform2._visible = true;
} else if ((this._y > 60) && (gravity == -1)) {
this.Staticform2._visible = false;
} else if (gravity == 1) {
this.Staticform2._visible = false;
}
if ((_y > 480) && (gravity < 0)) {
this.gotoAndStop("plummet");
}
if (timestop > 0) {
my_color = new Color(_root.ENEMY);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.ENEMY2);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.ENEMY3);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.BG);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.travel);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
}
if ((timestop < 1) && (_root.ENEMY.blaster < 70)) {
my_color = new Color(_root.blast);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.blast.stop();
}
if ((timestop < 1) && (_root.ENEMY.blaster > 70)) {
my_color = new Color(_root.blast);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.blast.play();
}
if ((timestop > 1) && (_root.ENEMY.blaster > 70)) {
my_color = new Color(_root.blast);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.blast.stop();
}
if ((timestop < 1) && (_root.ENEMY.timingstop < 1)) {
my_color = new Color(_root.ENEMY);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.ENEMY2);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.ENEMY3);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.BG);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.travel);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
}
if ((timestop > 0) && (pause < 1)) {
timestart = timestart + 1;
refiller = 0;
}
if ((timestop < 1) && (pause < 1)) {
refiller = refiller + 1;
}
if ((timestart > 500) && (pause < 1)) {
this.timetrigger.gotoAndStop(3);
timestop = 0;
enable = 1;
refiller = 0;
timestart = 0;
}
if (refiller > 300) {
enable = 0;
}
if ((((((blade == 3) && (key.IsDown(38))) && (key.IsDown(65))) && (DTIME > 30)) && (timestop < 1)) && (enable < 1)) {
timestop = 2;
DTIME = 0;
this.timetrigger.gotoAndStop(2);
}
if (((((blade == 3) && (key.IsDown(38))) && (key.IsDown(65))) && (DTIME > 30)) && (timestop > 1)) {
timestop = 0;
DTIME = 0;
this.timetrigger.gotoAndStop(3);
}
if ((blade < 3) && (pause < 1)) {
timestop = 0;
dropout = dropout - 1;
}
if ((blade > 3) && (pause < 1)) {
timestop = 0;
dropout = dropout - 1;
}
if (((((((blade == 4) && (key.IsDown(38))) && (key.IsDown(65))) && (PTIME > 30)) && (shadowset > 1000)) && (shadowmode < 1)) && (pause < 1)) {
this.shadowtiming.gotoAndStop(2);
shadowmode = 5;
PTIME = 0;
}
if (shadowmode > 0) {
my_color = new Color(_root.player);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_alpha = 50;
this.CORE._width = 0;
this.CORE._height = 0;
shadowexit = shadowexit + 2;
}
if ((shadowexit > 900) && (pause < 1)) {
shadowmode = 0;
PTIME = 0;
shadowset = 0;
shadowexit = 0;
this.shadowtiming.gotoAndStop(3);
}
if ((shadowmode < 1) && (_root.ENEMY.timingstop < 1)) {
my_color = new Color(_root.player);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_alpha = 100;
this.CORE._width = 0;
this.CORE._height = 0;
shadowset = shadowset + 2;
}
if ((blade < 4) && (shadowmode > 0)) {
shadowmode = 0;
this.shadowtiming.gotoAndStop(3);
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (PTIME > 30)) && (shadowmode > 0)) && (pause < 1)) {
shadowmode = 0;
PTIME = 0;
this.shadowtiming.gotoAndStop(3);
}
if (shadowmode > 0) {
this.swordBox._width = 2000;
this.slashBox._width = 2000;
this.ripBox._width = 2000;
}
if (shadowmode < 1) {
this.swordBox._width = 240;
this.slashBox._width = 240;
this.ripBox._width = 240;
}
if ((key.IsDown(86) && (_root.submachine < 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(88) && (_root.submachine > 0)) && (gun == 4)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.lightning > 0)) && (blade == 1)) {
_root.swordswitch.gotoAndStop(2);
}
if ((key.IsDown(90) && (_root.hellfire > 0)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(3);
}
if ((key.IsDown(90) && (_root.devilsdemise > 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(4);
}
if ((key.IsDown(90) && (_root.hellfire < 1)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.devilsdemise < 2)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.devilsdemise > 0)) && (blade == 4)) {
_root.swordswitch.gotoAndStop(1);
}
if (((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits < 2)) && (shadowmode < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 45;
} else if (((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits < 2)) && (shadowmode < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 45;
} else if (((this.core.hitTest(_root.ENEMY.TAIL.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits > 1)) && (shadowmode < 1)) {
this.gotoAndPlay("impale");
_xscale = -55;
hits = 0;
damage = 0;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 0;
falling = 0;
hangtime = 0;
_root.Health = _root.Health - 80;
} else if ((this.core.hitTest(_root.ENEMY.TAIL.strike.hitbox) && (_root.ENEMY._x < _x)) && (shadowmode < 1)) {
this.gotoAndPlay("impale");
_xscale = 55;
hits = 0;
damage = 0;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 0;
_root.Health = _root.Health - 80;
}
if ((gravity < 0) && (_y > 350)) {
this.gotoAndStop("plummet");
plundge = 2;
}
if (die == 1) {
this.dead.gotoAndStop(1);
}
if ((die == 2) && (_y > 300)) {
this.dead.gotoAndStop(2);
}
if ((die == 3) && (_y > 300)) {
this.dead.gotoAndStop(3);
}
if (_root.OAmission < 9) {
_root.OAmission = 9;
}
if ((_root.ENEMY.DEAD > 0) && (_root.ENEMY._xscale > 0)) {
this._x = this._x + 1.5;
}
if ((_root.ENEMY.DEAD > 0) && (_root.ENEMY._xscale < 0)) {
this._x = this._x - 1.5;
}
if ((timestart > 500) && (_root.ENEMY._y < 350)) {
_root.ENEMY.hangtime = 3;
_root.ENEMY.play();
}
if ((timestart > 500) && (_root.ENEMY2._y < 350)) {
_root.ENEMY2.hangtime = 3;
_root.ENEMY2.play();
}
if ((timestart > 500) && (_root.ENEMY3._y < 350)) {
_root.ENEMY3.hangtime = 3;
_root.ENEMY3.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY.hangtime = 3;
_root.ENEMY.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY2._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY2.hangtime = 3;
_root.ENEMY2.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY3._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY3.hangtime = 3;
_root.ENEMY3.play();
} else {
_rotation = 0;
}
GTIME = GTIME + 1;
PTIME = PTIME + 1;
DTIME = DTIME + 1;
}
Instance of Symbol 2239 MovieClip "ENEMY" in Frame 68
onClipEvent (load) {
Health = 24000;
Hangtime = 2;
jump = 0;
falling = 0;
plundge = 0;
faller = 0;
filler = 0;
attack = 0;
damage = 0;
friction = 0;
friction2 = 0;
attacktimer = 0;
DEVILTIMER = 0;
DEVIL = 0;
this.transform._visible = false;
this.fire._alpha = 0;
}
onClipEvent (enterFrame) {
if (((_y > 345) && (falling > 5)) && (_root.Health > 0)) {
this.SWORD.gotoAndStop(1);
_y = 345;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 0;
faller = 0;
}
if ((_y > 345) && (faller > 0)) {
_y = 345;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 0;
faller = 0;
}
if (damage < 0) {
damage = 0;
friction2 = 0;
}
if (attack < 0) {
attack = 0;
friction = 0;
}
if ((((DEVILtimer > 800) && (DEVIL < 1)) && (_root.player.pause < 1)) && (_root.Health > 0)) {
DEVIL = 5;
DEVILtimer = 0;
this.transform.gotoAndStop(2);
this.transform._visible = true;
}
if ((((DEVILtimer > 800) && (DEVIL > 0)) && (_root.player.pause < 1)) && (_root.Health > 0)) {
DEVIL = 0;
DEVILtimer = 0;
this.transform.gotoAndStop(1);
this.transform._visible = true;
}
if (DEVIL > 0) {
this.SWORD.strike.head.gotoAndStop(5);
this.SWORD.strike.hair._visible = false;
this.SWORD.strike.body.gotoAndStop(5);
this.SWORD.strike.capel.gotoAndStop(5);
this.SWORD.strike.cape.gotoAndStop(5);
this.SWORD.strike.arm.gotoAndStop(5);
this.SWORD.strike.arml.gotoAndStop(5);
this.SWORD.strike.glow.gotoAndStop(5);
this.SWORD.strike.blast.gotoAndStop(5);
this.SWORD.strike.runner.head.gotoAndStop(5);
this.SWORD.strike.runner.hair._visible = false;
this.SWORD.strike.runner.body.gotoAndStop(5);
this.SWORD.strike.runner.capel.gotoAndStop(5);
this.SWORD.strike.runner.cape.gotoAndStop(5);
this.SWORD.strike.runner.arm.gotoAndStop(5);
this.SWORD.strike.runner.arml.gotoAndStop(5);
this.SWORD.strike.runner.glow.gotoAndStop(5);
this.SWORD.strike.runner.blast.gotoAndStop(5);
this.HURT.hair._visible = false;
this.HURT.head.gotoAndStop(5);
this.HURT.body.gotoAndStop(5);
this.HURT.capel.gotoAndStop(5);
this.HURT.glow.gotoAndStop(5);
this.HURT.cape.gotoAndStop(5);
this.HURT.arm.gotoAndStop(5);
this.HURT.arml.gotoAndStop(5);
}
if (DEVIL < 0) {
this.SWORD.strike.hair._visible = true;
this.SWORD.strike.head.gotoAndStop(1);
this.SWORD.strike.body.gotoAndStop(1);
this.SWORD.strike.capel.gotoAndStop(1);
this.SWORD.strike.cape.gotoAndStop(1);
this.SWORD.strike.arm.gotoAndStop(1);
this.SWORD.strike.Larm.gotoAndStop(1);
this.SWORD.strike.glow.gotoAndStop(1);
this.SWORD.strike.blast.gotoAndStop(1);
this.HURT.head.gotoAndStop(1);
this.HURT.hair._visible = true;
this.HURT.body.gotoAndStop(1);
this.HURT.capel.gotoAndStop(1);
this.HURT.glow.gotoAndStop(1);
this.HURT.cape.gotoAndStop(1);
this.HURT.arm.gotoAndStop(1);
this.HURT.Larm.gotoAndStop(1);
}
if ((((((_root.player._x > (_x + 50)) && (damage < 1)) && (attack < 1)) && (Health > 0)) && (_root.player.pause < 1)) && (attacktimer < 300)) {
_xscale = 80;
}
if ((((((_root.player._x < (_x - 50)) && (damage < 1)) && (attack < 1)) && (Health > 0)) && (_root.player.pause < 1)) && (attacktimer < 300)) {
_xscale = -80;
}
if (_xscale > 0) {
this._x = this._x - damage;
}
if (_xscale < 0) {
this._x = this._x + damage;
}
if ((_root.player.timestop < 1) && (_xscale < 0)) {
this._x = this._x - attack;
}
if ((_root.player.timestop < 1) && (_xscale > 0)) {
this._x = this._x + attack;
}
if (this.Core.hitTest(_root.player.GUNBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("shot");
attack = 0;
friction = 0;
attacktimer = 0;
damage = 7;
friction2 = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
attacker = 270;
Health = Health - (1.5 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if (this.Core.hitTest(_root.player.GUNBOX2)) {
this.gotoAndPlay("shot");
attack = 0;
friction = 0;
attacker = 270;
attacktimer = 0;
damage = 7;
friction2 = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (1.5 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX)) {
this.gotoAndPlay("slash");
attack = 0;
friction = 0;
damage = 17;
attacker = 270;
attacktimer = 0;
friction2 = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (20 * _root.player.strength);
_root.Score = _root.Score + 40;
_root.Combo.gotoAndPlay(2);
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (_root.player.DEVIL * 10);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX)) {
this.gotoAndPlay("slash");
attack = 0;
friction = 0;
attacker = 270;
damage = 20;
attacktimer = 0;
friction2 = 2;
jump = 28;
hangtime = 2;
falling = 0;
attacker = 270;
Health = Health - (30 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 80;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.STABBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("slash");
attack = 0;
friction = 0;
attacker = 270;
damage = 3;
friction2 = 1;
attacktimer = 0;
jump = 40;
hangtime = 2;
falling = 0;
Health = Health - (35 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 60;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if ((this.Core.hitTest(_root.player.GUNBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
attack = 0;
friction = 0;
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
attacktimer = 0;
_root.player.comboreset = 0;
}
if (this.Core.hitTest(_root.player.GUNBOX2) && (Health < 1)) {
this.gotoAndPlay("death");
attack = 0;
friction = 0;
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
attacktimer = 0;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX) && (Health < 1)) {
this.gotoAndPlay("death");
attack = 0;
friction = 0;
Health = Health - (30 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
attacktimer = 0;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 20;
_root.Combo.hits = _root.Combo.hits + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (_root.player.DEVIL * 10);
attack = 0;
friction = 0;
Health = Health - (50 * _root.player.strength);
autospawn = 0;
rebirth = 1;
attacktimer = 0;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if ((this.Core.hitTest(_root.player.STABBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("death");
attack = 0;
friction = 0;
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (55 * _root.player.strength);
autospawn = 0;
rebirth = 1;
attacktimer = 0;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(3);
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health > 0)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("slash");
attack = 0;
friction = 0;
damage = 27;
friction2 = 2;
jump = 7;
hangtime = 2;
attacktimer = 0;
falling = 0;
Health = Health - (20 * _root.player.strength);
_root.Score = _root.Score + 50;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(2);
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("death");
attack = 0;
friction = 0;
damage = 27;
friction2 = 2;
attacktimer = 0;
jump = 7;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (50 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if ((this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target1 == 1)) && (Health > 1)) {
this.gotoAndPlay("shot");
attack = 0;
friction = 0;
damage = 27;
friction2 = 2;
AIattack = 40;
jump = 7;
hangtime = 2;
falling = 0;
rebirth = 2;
this.BURST.strike.play();
Health = Health - (1000 * _root.player.strength);
} else if (this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("slash");
attack = 0;
friction = 0;
this.BURST.strike.play();
damage = 37;
friction2 = 2;
attacktimer = 0;
jump = 7;
hangtime = 2;
autospawn = 0;
falling = 0;
_root.player.combo = 150;
}
if (this._x > 800) {
defend = defend + 2;
this._x = 800;
} else if (this._x < 0) {
defend = defend + 2;
this._x = 0;
}
if ((this._x > 800) && (defend > 15)) {
defend = 0;
this._x = 800;
this.BURST.strike.play();
attacktimer = 30;
} else if ((this._x < 0) && (defend > 4)) {
defend = 0;
this._x = 0;
this.BURST.strike.play();
attacktimer = 30;
}
if (_root.BHP.meter._width < _root.BHP.meter2._width) {
_root.BHP.meter2._width = _root.BHP.meter2._width - 0.05;
}
if (_root.BHP.meter._width < (_root.BHP.meter2._width - 25)) {
_root.BHP.meter2._width = _root.BHP.meter2._width - 1;
}
if (_root.BHP.meter._width < (_root.BHP.meter2._width - 40)) {
_root.BHP.meter2._width = _root.BHP.meter2._width - 2;
this.SWORD.strike.gotoAndPlay("stabber");
}
if ((this.BURST.strike.hitbox.hitTest(_root.player.CORE) && (_xscale > 0)) && (_root.Health > 0)) {
_root.player.gotoAndPlay("down");
_root.player.jump = 0;
_root.Health = _root.Health - 70;
_root.player.hangtime = 0;
_root.player.falling = 0;
_root.player.faller = 0;
_root.player.plundge = 9;
_root.player.motion = 0;
_root.player.friction2 = 1.5;
_root.player.combo = 0;
attacktimer = 260;
}
if ((this.BURST.strike.hitbox.hitTest(_root.player.CORE) && (_xscale < 0)) && (_root.Health > 0)) {
_root.player.gotoAndPlay("down");
_root.player.jump = 0;
attacktimer = 260;
_root.Health = _root.Health - 70;
_root.player.hangtime = 0;
_root.player.falling = 0;
_root.player.faller = 0;
_root.player.Damage = 30;
_root.player.friction2 = 1.5;
_root.player.plundge = 9;
_root.player.combo = 0;
_root.player.motion = 0;
}
if (_root.player.pause > 0) {
this.SWORD.gotoAndStop(1);
motion = 0;
attack = 0;
jump = 0;
damage = 0;
friction = 0;
friction2 = 0;
}
if ((((((((attacker < 300) && (_xscale > 0)) && (_root.player._x > (_x + 120))) && (_root.player.timestop < 1)) && (_root.player.pause < 1)) && (attack < 1)) && (damage < 1)) && (Health > 0)) {
this.SWORD.gotoAndStop("chace");
_x = (_x + 14);
}
if ((((((((attacker < 300) && (_xscale < 0)) && (_root.player._x < (_x - 120))) && (_root.player.timestop < 1)) && (_root.player.pause < 1)) && (attack < 1)) && (damage < 1)) && (Health > 0)) {
this.SWORD.gotoAndStop("chace");
_x = (_x - 14);
}
if (((((attacker < 300) && (_xscale > 0)) && (_root.player._x < (_x + 120))) && (_root.player.timestop < 1)) && (_root.player.pause < 1)) {
this.SWORD.gotoAndStop("attack");
}
if (((((attacker < 300) && (_xscale < 0)) && (_root.player._x > (_x - 120))) && (_root.player.timestop < 1)) && (_root.player.pause < 1)) {
this.SWORD.gotoAndStop("attack");
}
if ((attacker > 300) && (attacker < 305)) {
this.SWORD.gotoAndStop("ranged");
filler = 1;
}
if ((attacker > 300) && (attacker < 500)) {
filler = 1;
}
if (attacker > 500) {
this.SWORD.gotoAndStop("ranged");
filler = 0;
}
if (blaster > 45) {
_root.blast.play();
}
if (blaster < 35) {
_root.blast._x = _root.player._x;
_root.blast._y = _root.player._y;
}
if ((((_root.blast.hitbox.hitTest(_root.player.core) && (_root.player._x > _root.blast._x)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (_root.player.shadowmode < 1)) {
_root.player.gotoAndPlay("down");
_root.player.jump = 0;
attacktimer = 260;
_root.Health = _root.Health - 50;
_root.player.hangtime = 0;
_root.player._xscale = 55;
_root.player.falling = 0;
_root.player.faller = 0;
_root.player.Damage = 30;
_root.player.friction2 = 1.5;
_root.player.plundge = 9;
_root.player.combo = 0;
_root.player.motion = 0;
}
if ((((_root.blast.hitbox.hitTest(_root.player.core) && (_root.player._x < _root.blast._x)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (_root.player.shadowmode < 1)) {
_root.player.gotoAndPlay("down");
_root.player.jump = 0;
attacktimer = 260;
_root.Health = _root.Health - 50;
_root.player.hangtime = 0;
_root.player._xscale = -55;
_root.player.falling = 0;
_root.player.faller = 0;
_root.player.Damage = 30;
_root.player.friction2 = 1.5;
_root.player.plundge = 9;
_root.player.combo = 0;
_root.player.motion = 0;
}
if (_root.player.timestop > 0) {
this.SWORD.strike.stop();
this.SWORD.strike.runner.stop();
}
if (_root.player.timestop < 1) {
this.SWORD.strike.play();
this.SWORD.strike.runner.play();
}
if (attacker > 500) {
attacker = 0;
}
if ((_x < 20) && (attack > 0)) {
_xscale = 80;
}
if ((_x > 780) && (attack > 0)) {
_xscale = -80;
}
if (_root.Health < 1) {
this.SWORD.gotoAndStop(1);
attacker = 0;
filler = 0;
blaster = 0;
_root.player.timestop = 0;
}
if (Health < 1) {
this.SWORD.gotoAndStop(1);
attacker = 0;
filler = 0;
blaster = 0;
_root.player.stop();
_root.player.motion = 0;
_root.player.jump = 0;
_root.player.plundge = 0;
_root.player.faller = 0;
_root.player.hangtime = 0;
_root.player.falling = 0;
_root.player.attack = 0;
_root.player.damage = 0;
_root.player.friction = 0;
_root.player.friction2 = 0;
_root.blast.gotoAndStop(1);
_root.player.timestop = 0;
}
if (_root.player.pause > 0) {
_root.blast.stop();
}
if ((_root.player.pause < 1) && (blaster > 40)) {
_root.blast.play();
}
if (_root.player.pause < 1) {
blaster = blaster + filler;
}
if (((_root.player.pause < 1) && (_root.Health > 0)) && (_root.player.timestop < 1)) {
attacker = attacker + 1;
}
if (this.Core.hitTest(_root.player.SWORDBOX && (_root.player.blade == 3))) {
flames = 80;
}
if (this.Core.hitTest(_root.player.RIPBOX) && (_root.player.blade == 3)) {
flames = 80;
}
if (Health > 0) {
this.fire._alpha = flames;
flames = flames - 1;
}
if (Health < 1) {
flames = 0;
}
if (_root.player.combo > 150) {
this.BURST.strike.play();
}
if ((_root.player.DTIME > 20) && (_root.player.DTIME < 25)) {
hangtime = 1;
}
_root.BHP.meter._width = this.Health / 40;
Attacktimer = Attacktimer + 1;
DEVILTIMER = DEVILTIMER + 1;
this._y = this._y - jump;
this._y = this._y + falling;
this._y = this._y + faller;
falling = falling + hangtime;
faller = faller + plundge;
attack = attack - friction;
damage = damage - friction2;
}
Frame 69
if (_root.OAmission < 16) {
_root.OAmission = 16;
}
_quality = "High";
_root.DevilsDemise = _root.DevilsDemise + 50;
stop();
Stage.showMenu = false;
Instance of Symbol 986 MovieClip in Frame 69
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if (_root.killstats < _root.kills) {
_root.killstats = _root.killstats + 1;
}
if ((_root.killstats == _root.kills) && (_root.scorestats < _root.score)) {
_root.scorestats = _root.scorestats + 90;
}
if (((_root.killstats == _root.kills) && (_root.scorestats == _root.score)) && (_root.damagestats < _root.damage)) {
_root.damagestats = _root.damagestats + 5;
}
if (_root.killstats > _root.kills) {
_root.killstats = _root.kills;
}
if (_root.damagestats > _root.damage) {
_root.damagestats = _root.damage;
}
if (_root.scorestats > _root.score) {
_root.scorestats = _root.score;
}
if (key.IsDown(32)) {
_root.killstats = _root.kills;
}
if (key.IsDown(32) && (_root.killstats == _root.kills)) {
_root.scorestats = _root.score;
}
if ((key.IsDown(32) && (_root.killstats == _root.kills)) && (_root.scorestats == _root.score)) {
_root.damagestats = _root.damage;
}
if ((((_root.scorestats > 37000) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(6);
clearer = 1;
_root.rank15 = 5;
}
if (((((_root.scorestats > 33000) && (_root.scorestats < 37000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(5);
clearer = 1;
_root.rank15 = 4;
}
if (((((_root.scorestats > 29000) && (_root.scorestats < 33000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(4);
clearer = 1;
_root.rank15 = 3;
}
if (((((_root.scorestats > 25000) && (_root.scorestats < 29000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(3);
clearer = 1;
_root.rank15 = 2;
}
if ((((_root.scorestats < 25000) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(2);
clearer = 1;
_root.rank15 = 1;
}
if (_root.OAminutes < _root.minutes) {
_root.OAminutes = _root.minutes;
_root.OAseconds = _root.seconds;
}
_root.damage = _root.Healthfull - _root.Health;
_root.minutestats = _root.minutes;
_root.secondstats = _root.seconds;
}
Frame 70
_quality = "High";
_root.DevilsDemise = _root.DevilsDemise + 50;
stop();
Stage.showMenu = false;
Instance of Symbol 986 MovieClip in Frame 70
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if ((ranktimer > 60) && (_root.rank12 > 4)) {
this.gotoAndStop(6);
}
if ((ranktimer > 60) && (_root.rank12 == 4)) {
this.gotoAndStop(5);
}
if ((ranktimer > 60) && (_root.rank12 == 3)) {
this.gotoAndStop(4);
}
if ((ranktimer > 60) && (_root.rank12 == 2)) {
this.gotoAndStop(3);
}
if ((ranktimer > 60) && (_root.rank12 == 1)) {
this.gotoAndStop(2);
}
ranktimer = ranktimer + 1;
}
Instance of Symbol 986 MovieClip in Frame 70
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if ((ranktimer > 90) && (_root.rank13 > 4)) {
this.gotoAndStop(6);
}
if ((ranktimer > 90) && (_root.rank13 == 4)) {
this.gotoAndStop(5);
}
if ((ranktimer > 90) && (_root.rank13 == 3)) {
this.gotoAndStop(4);
}
if ((ranktimer > 90) && (_root.rank13 == 2)) {
this.gotoAndStop(3);
}
if ((ranktimer > 90) && (_root.rank13 == 1)) {
this.gotoAndStop(2);
}
ranktimer = ranktimer + 1;
}
Instance of Symbol 986 MovieClip in Frame 70
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if ((ranktimer > 120) && (_root.rank14 > 4)) {
this.gotoAndStop(6);
}
if ((ranktimer > 120) && (_root.rank14 == 4)) {
this.gotoAndStop(5);
}
if ((ranktimer > 120) && (_root.rank14 == 3)) {
this.gotoAndStop(4);
}
if ((ranktimer > 120) && (_root.rank14 == 2)) {
this.gotoAndStop(3);
}
if ((ranktimer > 120) && (_root.rank14 == 1)) {
this.gotoAndStop(2);
}
ranktimer = ranktimer + 1;
}
Instance of Symbol 986 MovieClip in Frame 70
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if ((ranktimer > 150) && (_root.rank15 > 4)) {
this.gotoAndStop(6);
}
if ((ranktimer > 150) && (_root.rank15 == 4)) {
this.gotoAndStop(5);
}
if ((ranktimer > 150) && (_root.rank15 == 3)) {
this.gotoAndStop(4);
}
if ((ranktimer > 150) && (_root.rank15 == 2)) {
this.gotoAndStop(3);
}
if ((ranktimer > 150) && (_root.rank15 == 1)) {
this.gotoAndStop(2);
}
ranktimer = ranktimer + 1;
}
Frame 71
_quality = "High";
_root.DevilsDemise = _root.DevilsDemise + 50;
stop();
Stage.showMenu = false;
Instance of Symbol 168 MovieClip "exit" in Frame 71
onClipEvent (enterFrame) {
if (key.IsDown(32)) {
this.play();
}
}
Frame 72
_quality = "High";
_root.DevilsDemise = _root.DevilsDemise + 50;
stop();
Stage.showMenu = false;
Instance of Symbol 78 MovieClip in Frame 72
onClipEvent (load) {
this.blurr._alpha = 0;
}
onClipEvent (enterFrame) {
if (focus > 0) {
this.blurr._alpha = this.blurr._alpha + 0.5;
this.blurr._xscale = this.blurr._xscale + 0.05;
} else if (focus < 0) {
this.blurr._alpha = this.blurr._alpha - 0.9;
this.blurr._xscale = this.blurr._xscale - 0.09;
}
if (this.blurr._alpha > 40) {
focus = -1;
} else if (this.blurr._alpha < 1) {
focus = 1;
}
}
Frame 73
_quality = "High";
_root.DevilsDemise = _root.DevilsDemise + 50;
stop();
Stage.showMenu = false;
Frame 74
_quality = "High";
_root.DevilsDemise = _root.DevilsDemise + 50;
stop();
Stage.showMenu = false;
Frame 75
if (_root.quality == 1) {
_quality = "Medium";
}
if (_root.quality == 2) {
_quality = "High";
}
if (_root.quality == 3) {
_quality = "Low";
}
stop();
Stage.showMenu = false;
Instance of Symbol 594 MovieClip "player" in Frame 75
onClipEvent (load) {
goal = 1;
MISSIONCLEAR = 0;
die = random(3);
_root.minutes = 0;
_root.seconds = 0;
_root.Speedheart = 5;
_root.pause._visible = false;
_root.targeter._visible = false;
_root.mission = 16;
_root.score = 0;
_root.Health = (_root.level * 100) + 200;
_root.kills = 0;
gravity = 1;
skin = 3;
damage = 0;
clock = 0;
ticker = 1;
targeting = 0;
filler = 2;
gun = 1;
attack = 0;
friction = 0;
motion = 13;
hangtime = 1;
falling = 0;
jump = 0;
blade = 1;
hits = 0;
thrower = 1;
DEVIL = 0;
_root.DRIVE = 0;
time = 1;
powerup = 0;
_root.gauge.percent = 0;
down = 1;
quota = (2 * _root.kills) + 10;
target = 0;
target2 = 0;
comboset = 0;
combo = 0;
comboreset = 0;
}
onClipEvent (enterFrame) {
if (_root.level < 1) {
_root.level = 1;
_root.Health = 300;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 1)) {
this._xscale = -55;
this._x = this._x + (motion * 1.1);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 1;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 1)) {
this._xscale = 55;
this._x = this._x - (motion * 1.1);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 1;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 4)) {
this._xscale = -55;
this._x = this._x + (motion * 1.4);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 2.5;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 4)) {
this._xscale = 55;
this._x = this._x - (motion * 1.4);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 2.5;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 2)) {
this._xscale = -55;
this._x = this._x + (motion * 1.35);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 0.6;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 2)) {
this._xscale = 55;
this._x = this._x - (motion * 1.35);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 0.6;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 3)) {
this._xscale = -55;
this._x = this._x + (motion * 0.95);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 2;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 3)) {
this._xscale = 55;
this._x = this._x - (motion * 0.95);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 2;
}
if (falling > 60) {
falling = 60;
hangtime = 0;
}
if (_xscale > 0) {
this._x = this._x - attack;
} else if (_xscale < 0) {
this._x = this._x + attack;
}
if (((_y > 325) && (falling > 0)) && (gravity > 0)) {
this._y = 351;
falling = 0;
hangtime = 0;
jump = 0;
this.gotoAndStop(1);
}
if (((_y > 325) && (faller > 0.5)) && (gravity > 0)) {
this._y = 349.79;
faller = 0;
plundge = 0;
jump = 0;
} else if (((_y > 325) && (falling > 3)) && (gravity > 0)) {
this._y = 349.79;
falling = 0;
hangtime = 0;
this._x = this._x - attack;
}
if (attack < 0) {
attack = 0;
friction = 0;
}
if (((jump > 0) && (this._x < 10)) && (key.IsDown(37))) {
this.gotoAndPlay("wallride");
this._x = 11;
_xscale = -55;
}
if ((jump > 0) && (this._x == 11)) {
this._x = 11;
_xscale = -55;
}
if (((jump > 0) && (this._x > 790)) && (key.IsDown(39))) {
this.gotoAndPlay("wallride");
this._x = 789;
_xscale = 55;
}
if ((jump > 0) && (this._x == 789)) {
this._x = 789;
_xscale = 55;
}
if ((DEVIL > 0) && (blade == 1)) {
this.capel.gotoAndStop(2);
this.arml.gotoAndStop(2);
this.arm.gotoAndStop(2);
this.head.gotoAndStop(2);
this.cape.gotoAndStop(2);
this.body.gotoAndStop(2);
this.glow.gotoAndStop(2);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(2);
}
if ((DEVIL > 0) && (blade == 2)) {
this.capel.gotoAndStop(3);
this.arml.gotoAndStop(3);
this.arm.gotoAndStop(3);
this.head.gotoAndStop(3);
this.cape.gotoAndStop(3);
this.body.gotoAndStop(3);
this.glow.gotoAndStop(3);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(3);
}
if ((DEVIL > 0) && (blade == 3)) {
this.capel.gotoAndStop(4);
this.arml.gotoAndStop(4);
this.arm.gotoAndStop(4);
this.head.gotoAndStop(4);
this.cape.gotoAndStop(4);
this.body.gotoAndStop(4);
this.glow.gotoAndStop(4);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(4);
}
if ((DEVIL > 0) && (blade == 4)) {
this.capel.gotoAndStop(5);
this.arml.gotoAndStop(5);
this.arm.gotoAndStop(5);
this.head.gotoAndStop(5);
this.cape.gotoAndStop(5);
this.body.gotoAndStop(5);
this.glow.gotoAndStop(5);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(5);
} else if (DEVIL < 1) {
this.capel.gotoAndStop(1);
this.arml.gotoAndStop(1);
this.arm.gotoAndStop(1);
this.head.gotoAndStop(1);
this.cape.gotoAndStop(1);
this.body.gotoAndStop(1);
this.glow.gotoAndStop(1);
this.static.gotoAndStop(1);
this.power._visible = false;
}
if (this._x > 800) {
this._x = 800;
} else if (this._x < 0) {
this._x = 0;
}
if ((key.isDown(70) && (DEVIL < 1)) && (_root.gauge.percent > 25)) {
this.gotoAndPlay("devilmode");
} else if (key.isDown(70) && (DEVIL > 0)) {
this.gotoAndPlay("devilexit");
}
if ((powerup > 30) && (pause < 1)) {
_root.gauge.percent = _root.gauge.percent + 1;
powerup = 0;
}
if (_root.gauge.percent > 99) {
time = 0;
} else if (_root.gauge.percent < 99) {
time = 1;
}
if ((DEVIL > 0) && (pause < 1)) {
powerdown = powerdown + down;
}
if (powerdown > 9) {
_root.gauge.percent = _root.gauge.percent - 1;
_root.Health = _root.Health + 1;
powerdown = 0;
}
if ((DEVIL < 1) && (pause < 1)) {
powerup = powerup + time;
}
if (_root.gauge.meterX._xscale > _root.gauge.meter._xscale) {
_root.meterX._xscale = _root.meterX._xscale - 0.75;
} else if (_root.gauge.meterX._xscale < _root.gauge.meter._xscale) {
_root.meterX._xscale = _root.gauge.meter._xscale;
}
if ((_root.gauge.percent < 1) && (DEVIL > 0)) {
_root.meterX._xscale = _root.gauge.meter._xscale;
this.gotoAndPlay("devilexit");
DEVIL = 0;
_root.gauge.percent = 0;
}
if (_xscale > 0) {
this._x = this._x + damage;
} else if (_xscale < 0) {
this._x = this._x - damage;
}
if (damage < 0) {
damage = 0;
friction2 = 0;
}
if (_root.Health > _root.Healthfull) {
_root.Health = _root.Healthfull;
}
if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 95;
falling = 0;
hangtime = 0;
plundge = 5;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 95;
falling = 0;
hangtime = 0;
plundge = 5;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
falling = 0;
hangtime = 0;
_root.Health = _root.Health - 125;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 125;
}
if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x > _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 28;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 95;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x < _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 28;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 95;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
combo = 0;
damage = 33;
jump = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 155;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x < _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 33;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 155;
} else if ((((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
friction2 = 1.5;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
_root.Health = _root.Health - 155;
} else if ((((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 155;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits > 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 65;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits > 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 35;
}
if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
}
if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
}
if ((this.core.hitTest(_root.ENEMY.TAIL.strike.hitbox) && (_root.ENEMY._x > _x)) && (shadowmode < 1)) {
this.gotoAndPlay("Impale");
_xscale = 55;
damage = 0;
attack = 0;
friction = 0;
friction2 = 0;
plundge = 5;
_root.Health = _root.Health - 90;
} else if ((this.core.hitTest(_root.ENEMY.TAIL.strike.hitbox) && (_root.ENEMY._x < _x)) && (shadowmode < 1)) {
this.gotoAndPlay("Impale");
_xscale = 55;
damage = 0;
attack = 0;
friction = 0;
friction2 = 0;
plundge = 5;
_root.Health = _root.Health - 90;
}
if (_root.Health < 1) {
_root.Health = 0;
this.gotoAndStop("death");
_root.death = _root.death + 1;
motion = 0;
DEVIL = 0;
down = 0;
time = 0;
combo = 0;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 30;
faller = 5;
DIE = 5;
_root.gauge.percent = 0;
}
if (_root.kills > quota) {
this.quota = this.quota + (_root.kills * 2);
this.quota = this.quota + 5;
_root.levelup.play();
}
if (_root.ENEMY2.Health <= 0) {
target1 = 1;
} else if (_root.ENEMY.Health <= 0) {
target1 = 2;
} else if (((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY._x < _root.ENEMY2._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY._x > _root.ENEMY2._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _x)) && (_root.ENEMY._x < _x)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _x)) && (_root.ENEMY._x < _x)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _x)) && (_root.ENEMY._x > _x)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _x)) && (_root.ENEMY._x > _x)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
}
if (target1 == 1) {
_root.targeter._x = _root.ENEMY._x;
_root.targeter._y = _root.ENEMY._y - 46;
} else if (target1 == 2) {
_root.targeter._x = _root.ENEMY2._x;
_root.targeter._y = _root.ENEMY2._y - 46;
}
if (gun == 1) {
this.arml.gun.gotoAndStop(1);
this.arm.gun.gotoAndStop(1);
_root.pause.guns.gotoAndStop(1);
} else if (gun == 2) {
this.arml.gun.gotoAndStop(2);
this.arm.gun.gotoAndStop(2);
_root.pause.guns.gotoAndStop(2);
} else if (gun == 3) {
this.arml.gun.gotoAndStop(3);
this.arm.gun.gotoAndStop(3);
_root.pause.guns.gotoAndStop(3);
} else if (gun == 4) {
this.arml.gun.gotoAndStop(4);
this.arm.gun.gotoAndStop(4);
_root.pause.guns.gotoAndStop(4);
}
if ((key.IsDown(88) && (_root.shotgun > 0)) && (gun == 1)) {
_root.gunswitch.gotoAndStop(2);
} else if ((key.IsDown(88) && (_root.grenade > 0)) && (gun == 2)) {
_root.gunswitch.gotoAndStop(3);
} else if ((key.IsDown(88) && (_root.submachine > 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(4);
} else if ((key.IsDown(88) && (_root.grenade < 1)) && (gun == 2)) {
_root.gunswitch.gotoAndStop(1);
} else if ((key.IsDown(88) && (_root.submachine < 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(1);
} else if ((key.IsDown(88) && (_root.submachine > 0)) && (gun == 4)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.lightning > 0)) && (blade == 1)) {
_root.swordswitch.gotoAndStop(2);
} else if ((key.IsDown(90) && (_root.hellfire > 0)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(3);
} else if ((key.IsDown(90) && (_root.devilsdemise > 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(4);
} else if ((key.IsDown(90) && (_root.hellfire < 1)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(1);
} else if ((key.IsDown(90) && (_root.devilsdemise < 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(1);
} else if ((key.IsDown(90) && (_root.devilsdemise > 0)) && (blade == 4)) {
_root.swordswitch.gotoAndStop(1);
}
if (gun == 3) {
this.bazooka.gotoAndStop(1);
} else if (gun == 4) {
this.bazooka.gotoAndStop(2);
} else if (gun == 2) {
this.bazooka.gotoAndStop(3);
} else if (gun == 1) {
this.bazooka.gotoAndStop(4);
}
if (blade == 3) {
this.fire._visible = true;
this.bolt._visible = false;
_root.pause.swords.gotoAndStop(3);
this.sword.gotoAndStop(3);
this.hate._visible = false;
this.light.gotoAndStop(3);
} else if (blade == 2) {
_root.pause.swords.gotoAndStop(2);
this.bolt._visible = true;
this.fire._visible = false;
this.sword.gotoAndStop(2);
this.hate._visible = false;
this.light.gotoAndStop(2);
} else if (blade == 1) {
this.fire._visible = false;
_root.pause.swords.gotoAndStop(1);
this.bolt._visible = false;
this.hate._visible = false;
this.light.gotoAndStop(1);
this.sword.gotoAndStop(1);
} else if (blade == 4) {
this.light.gotoAndStop(4);
this.hate._visible = true;
_root.pause.swords.gotoAndStop(4);
this.fire._visible = false;
this.bolt._visible = false;
this.sword.gotoAndStop(4);
}
if (DEVIL > 0) {
this.cape._visible = true;
this.capel._visible = true;
this.arm.gun.machine.gotoAndStop(2);
}
if (DEVIL < 1) {
this.arm.gun.machine.gotoAndStop(1);
}
if (((targeting < 1) && (key.IsDown(32))) && (timing > 25)) {
_root.targeter._visible = true;
targeting = 1;
timing = 0;
filler = 1;
} else if (((targeting > 0) && (key.IsDown(32))) && (timing > 25)) {
targeting = 0;
timing = 0;
filler = 1;
_root.targeter._visible = false;
}
if (((key.IsDown(67) && (pause < 1)) && (timing > 25)) && (DIE < 1)) {
pause = 5;
timing = 0;
filler = 1;
_root.pause._visible = true;
} else if ((key.IsDown(67) && (pause > 0)) && (timing > 25)) {
pause = 0;
hangtime = 3;
_root.ENEMY2.hangtime = 3;
_root.ENEMY.hangtime = 3;
play();
_root.pause._visible = false;
_root.pause.gotoAndStop(1);
timing = 0;
filler = 1;
}
if ((pause > 0) && (_y > 270)) {
this.gotoAndStop("pauseground");
hangtime = 0;
jump = 0;
plundge = 0;
falling = 0;
faller = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if ((pause > 0) && (_y < 270)) {
this.gotoAndStop("pauseair");
hangtime = 0;
jump = 0;
plundge = 0;
falling = 0;
faller = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if (comboreset > 120) {
combo = 0;
comboset = 0;
combo = combo - 2;
}
if (combo < 1) {
_root.style.gotoAndStop(1);
combo = 0;
comboreset = 0;
} else if ((combo > 1) && (combo < 50)) {
_root.style.gotoAndStop(2);
_root.score = _root.score + 1;
} else if ((combo > 50) && (combo < 110)) {
_root.style.gotoAndStop(3);
_root.score = _root.score + 1;
} else if ((combo > 110) && (combo < 160)) {
_root.style.gotoAndStop(4);
_root.score = _root.score + 1;
} else if ((combo > 160) && (combo < 210)) {
_root.style.gotoAndStop(5);
_root.score = _root.score + 2;
} else if ((combo > 210) && (combo < 280)) {
_root.style.gotoAndStop(6);
_root.score = _root.score + 2;
} else if (combo > 280) {
_root.style.gotoAndStop(7);
_root.score = _root.score + 3;
}
if (_root.Health > 0) {
DIE = 0;
}
if (DIE > 0) {
_root.gameover.play();
hangtime = 0;
_root.pause._visible = false;
jump = 0;
falling = 0;
attack = 0;
damage = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if ((skin < 2) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 2) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(2);
this.arm.skin.gotoAndStop(2);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(2);
this.dead.death.arm.skin.gotoAndStop(2);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 3) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(4);
this.arm.skin.gotoAndStop(4);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(4);
this.dead.death.arm.skin.gotoAndStop(4);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 4) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape.skin.gotoAndStop(2);
this.capel.skin.gotoAndStop(2);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.capel.skin.gotoAndStop(2);
this.dead.death.cape.skin.gotoAndStop(2);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 5) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 6) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 7) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(3);
this.arml.skin.gotoAndStop(3);
this.arm.skin.gotoAndStop(3);
this.cape._visible = true;
this.capel._visible = true;
this.cape.skin.gotoAndStop(2);
this.capel.skin.gotoAndStop(2);
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(3);
this.dead.death.arml.skin.gotoAndStop(3);
this.dead.death.arm.skin.gotoAndStop(3);
this.dead.death.cape._visible = true;
this.dead.death.cape.skin.gotoAndStop(2);
this.dead.death.capel.skin.gotoAndStop(2);
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 8) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(4);
this.arml.skin.gotoAndStop(4);
this.arm.skin.gotoAndStop(4);
this.cape._visible = true;
this.capel._visible = true;
this.cape.skin.gotoAndStop(3);
this.capel.skin.gotoAndStop(3);
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(4);
this.dead.death.arml.skin.gotoAndStop(4);
this.dead.death.arm.skin.gotoAndStop(4);
this.dead.death.cape._visible = true;
this.dead.death.cape.skin.gotoAndStop(3);
this.dead.death.capel.skin.gotoAndStop(3);
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
}
if ((skin < 7) && (DEVIL < 1)) {
this.capel.skin.gotoAndStop(1);
this.head.skin.gotoAndStop(1);
this.dead.death.cape.skin.gotoAndStop(1);
this.dead.death.capel.skin.gotoAndStop(1);
}
if (clock > 27) {
_root.seconds = _root.seconds + 1;
clock = 0;
}
if (_root.seconds > 60) {
_root.Minutes = _root.Minutes + 1;
_root.seconds = 0;
}
if (_root.mission == 16) {
_root.pause.mission.gotoAndStop(16);
}
if (_root.kills > 1) {
_root.exit.play();
hangtime = 0;
_root.pause._visible = false;
this.stop();
jump = 0;
falling = 0;
attack = 0;
damage = 0;
motion = 0;
this.power._visible = false;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.SWORD.strike.gotoAndStop(1);
_root.ENEMY.SWORD.strike.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
_root.ENEMY2.motion = 0;
_root.ENEMY.motion = 0;
DEVIL = 0;
}
if (((key.IsDown(81) && (_root.Speedheart > 0)) && (Heart == 1)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(2);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart > 0)) && (Heart == 2)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(3);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart > 0)) && (Heart == 3)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(1);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart < 1)) && (Heart == 2)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(1);
heartchange = 0;
}
if ((((Heart == 2) && (DEVIL > 0)) && (healing > 9)) && (pause < 1)) {
_root.Health = _root.Health + 3;
_root.gauge.percent = _root.gauge.percent - 1;
healing = 0;
}
if ((((Heart == 3) && (DEVIL > 0)) && (healing > 17)) && (pause < 1)) {
_root.gauge.percent = _root.gauge.percent + 1;
_root.Health = _root.Health - 5;
healing = 0;
}
if (Heart == 1) {
_root.gauge.meter.gotoAndStop(1);
}
if (Heart == 2) {
_root.gauge.meter.gotoAndStop(2);
}
if (Heart == 3) {
_root.gauge.meter.gotoAndStop(3);
}
if (clock > 27) {
_root.OAseconds = _root.OAseconds + 1;
clock = 0;
}
if (_root.OAseconds > 60) {
_root.OAMinutes = _root.OAMinutes + 1;
_root.OAseconds = 0;
}
if (_root.kills > goal) {
MISSIONCLEAR = 20;
}
if (_root.rumble > 0) {
_root.pause.rumble.gotoAndStop(3);
}
if ((this.core.hitTest(_root.ENEMY3.dead) && (_x < _root.ENEMY3._x)) && (shadowmode < 1)) {
damage = 35;
friction2 = 1;
hangtime = 0;
falling = 0;
plundge = 20;
this.gotoAndPlay("down");
_xscale = -55;
Health = Health - 60;
}
if ((this.core.hitTest(_root.ENEMY3.dead) && (_x > _root.ENEMY3._x)) && (shadowmode < 1)) {
damage = 35;
friction2 = 1;
hangtime = 0;
falling = 0;
plundge = 20;
this.gotoAndPlay("down");
_xscale = -55;
Health = Health - 60;
}
if (((((this._xscale > 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x > _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 1;
target1 = 0;
}
if (((((this._xscale > 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x < _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 0;
target1 = 2;
}
if (((((this._xscale < 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x > _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 0;
target1 = 2;
}
if (((((this._xscale < 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x < _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 1;
target1 = 0;
}
if (_root.ENEMY2.Health < 1) {
target2 = 1;
}
if (_y < -30) {
hangtime = 2;
this.gotoAndStop("plummet");
}
if (_root.rumble < 1) {
_root.pause.rumble.gotoAndStop(2);
}
if (gravity == 1) {
_root.Combo.hitter = _root.Combo.hits;
_yscale = 55;
this._y = this._y + (falling * gravity);
_root.Healthfull = (_root.level * 100) + 200;
this._y = this._y - (jump * gravity);
fill = fill + 1;
heartchange = heartchange + 1;
this.shoot.gotoAndStop(random(5));
falling = falling + (hangtime * gravity);
attack = attack - friction;
clock = clock + ticker;
damage = damage - friction2;
fillerup = fillerup + 1;
faller = faller + (plundge * gravity);
_root.combo.hits = combo;
comboreset = comboreset + comboset;
this._y = this._y + (faller * gravity);
healing = healing + 1;
speder = speder + 1;
timing = timing + filler;
this._y = this._y - (wallrun * gravity);
_root.gauge.meter._xscale = _root.gauge.percent;
}
if (gravity == -1) {
_yscale = -55;
_root.Combo.hitter = _root.Combo.hits;
this._y = this._y - falling;
_root.Healthfull = (_root.level * 100) + 200;
this._y = this._y + jump;
fill = fill + 1;
heartchange = heartchange + 1;
this.shoot.gotoAndStop(random(5));
falling = falling + hangtime;
attack = attack - friction;
clock = clock + ticker;
damage = damage - friction2;
fillerup = fillerup + 1;
faller = faller + plundge;
_root.combo.hits = combo;
comboreset = comboreset + comboset;
this._y = this._y - faller;
healing = healing + 1;
speder = speder + 1;
timing = timing + filler;
this._y = this._y + wallrun;
_root.gauge.meter._xscale = _root.gauge.percent;
}
if (((_y < 70) && (falling > 0)) && (gravity < 0)) {
this._y = 70;
falling = 0;
hangtime = 0;
jump = 0;
this.gotoAndStop(1);
} else if (((_y < 70) && (faller > 0)) && (gravity < 0)) {
this._y = 70;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 0;
faller = 0;
}
if ((((gravity == -1) && (blade == 2)) && (refill < 1)) && (pause < 1)) {
timevertex = timevertex + 2;
}
if (((((gravity == -1) && (blade == 2)) && (timevertex > 400)) && (refill < 1)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
refill = 5;
this.gotoAndStop("fall");
timevertex = 400;
}
if ((refill > 0) && (pause < 1)) {
timevertex = timevertex - 1;
}
if (gravity > 0) {
timevertex = timevertex - 1;
}
if ((timevertex < 3) && (pause < 1)) {
refill = 0;
}
if (((blade < 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if (((blade > 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if (((blade == 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if ((((blade < 2) && (_root.mission > 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade > 2) && (_root.mission > 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade < 2) && (_root.mission < 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade > 2) && (_root.mission < 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == 1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission < 7)) && (pause < 1)) {
gravity = -1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == -1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission < 7)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == 1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission > 7)) && (pause < 1)) {
gravity = -1;
hangtime = 2;
GTIME = 0;
_root.ENEMY.hangtime = 3;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == -1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission > 7)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
GTIME = 0;
_root.ENEMY.hangtime = 3;
this.gotoAndStop("fall");
}
if ((this._y == 70) && (gravity == -1)) {
this.Staticform2._visible = true;
} else if ((this._y > 60) && (gravity == -1)) {
this.Staticform2._visible = false;
} else if (gravity == 1) {
this.Staticform2._visible = false;
}
if ((_y > 480) && (gravity < 0)) {
this.gotoAndStop("plummet");
}
if (timestop > 0) {
my_color = new Color(_root.ENEMY);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.ENEMY2);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.ENEMY3);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.BG);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.travel);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
}
if ((timestop < 1) && (_root.ENEMY.blaster < 70)) {
my_color = new Color(_root.blast);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.blast.stop();
}
if ((timestop < 1) && (_root.ENEMY.blaster > 70)) {
my_color = new Color(_root.blast);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.blast.play();
}
if ((timestop > 1) && (_root.ENEMY.blaster > 70)) {
my_color = new Color(_root.blast);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.blast.stop();
}
if ((timestop < 1) && (_root.ENEMY.timingstop < 1)) {
my_color = new Color(_root.ENEMY);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.ENEMY2);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.ENEMY3);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.BG);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.travel);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
}
if ((timestop > 0) && (pause < 1)) {
timestart = timestart + 1;
refiller = 0;
}
if ((timestop < 1) && (pause < 1)) {
refiller = refiller + 1;
}
if ((timestart > 500) && (pause < 1)) {
this.timetrigger.gotoAndStop(3);
timestop = 0;
enable = 1;
refiller = 0;
timestart = 0;
}
if (refiller > 300) {
enable = 0;
}
if ((((((blade == 3) && (key.IsDown(38))) && (key.IsDown(65))) && (DTIME > 30)) && (timestop < 1)) && (enable < 1)) {
timestop = 2;
DTIME = 0;
this.timetrigger.gotoAndStop(2);
}
if (((((blade == 3) && (key.IsDown(38))) && (key.IsDown(65))) && (DTIME > 30)) && (timestop > 1)) {
timestop = 0;
DTIME = 0;
this.timetrigger.gotoAndStop(3);
}
if ((blade < 3) && (pause < 1)) {
timestop = 0;
dropout = dropout - 1;
}
if ((blade > 3) && (pause < 1)) {
timestop = 0;
dropout = dropout - 1;
}
if (((((((blade == 4) && (key.IsDown(38))) && (key.IsDown(65))) && (PTIME > 30)) && (shadowset > 1000)) && (shadowmode < 1)) && (pause < 1)) {
this.shadowtiming.gotoAndStop(2);
shadowmode = 5;
PTIME = 0;
}
if (shadowmode > 0) {
my_color = new Color(_root.player);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_alpha = 50;
this.CORE._width = 0;
this.CORE._height = 0;
shadowexit = shadowexit + 2;
}
if ((shadowexit > 900) && (pause < 1)) {
shadowmode = 0;
PTIME = 0;
shadowset = 0;
shadowexit = 0;
this.shadowtiming.gotoAndStop(3);
}
if ((shadowmode < 1) && (_root.ENEMY.timingstop < 1)) {
my_color = new Color(_root.player);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_alpha = 100;
this.CORE._width = 0;
this.CORE._height = 0;
shadowset = shadowset + 2;
}
if ((blade < 4) && (shadowmode > 0)) {
shadowmode = 0;
this.shadowtiming.gotoAndStop(3);
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (PTIME > 30)) && (shadowmode > 0)) && (pause < 1)) {
shadowmode = 0;
PTIME = 0;
this.shadowtiming.gotoAndStop(3);
}
if (shadowmode > 0) {
this.swordBox._width = 2000;
this.slashBox._width = 2000;
this.ripBox._width = 2000;
}
if (shadowmode < 1) {
this.swordBox._width = 240;
this.slashBox._width = 240;
this.ripBox._width = 240;
}
if ((key.IsDown(86) && (_root.submachine < 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(88) && (_root.submachine > 0)) && (gun == 4)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.lightning > 0)) && (blade == 1)) {
_root.swordswitch.gotoAndStop(2);
}
if ((key.IsDown(90) && (_root.hellfire > 0)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(3);
}
if ((key.IsDown(90) && (_root.devilsdemise > 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(4);
}
if ((key.IsDown(90) && (_root.hellfire < 1)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.devilsdemise < 2)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.devilsdemise > 0)) && (blade == 4)) {
_root.swordswitch.gotoAndStop(1);
}
if (((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits < 2)) && (shadowmode < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 45;
} else if (((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits < 2)) && (shadowmode < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 45;
} else if (((this.core.hitTest(_root.ENEMY.TAIL.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits > 1)) && (shadowmode < 1)) {
this.gotoAndPlay("impale");
_xscale = -55;
hits = 0;
damage = 0;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 0;
falling = 0;
hangtime = 0;
_root.Health = _root.Health - 80;
} else if ((this.core.hitTest(_root.ENEMY.TAIL.strike.hitbox) && (_root.ENEMY._x < _x)) && (shadowmode < 1)) {
this.gotoAndPlay("impale");
_xscale = 55;
hits = 0;
damage = 0;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 0;
_root.Health = _root.Health - 80;
}
if ((gravity < 0) && (_y > 350)) {
this.gotoAndStop("plummet");
plundge = 2;
}
if (die == 1) {
this.dead.gotoAndStop(1);
}
if ((die == 2) && (_y > 300)) {
this.dead.gotoAndStop(2);
}
if ((die == 3) && (_y > 300)) {
this.dead.gotoAndStop(3);
}
if (_root.OAmission < 9) {
_root.OAmission = 9;
}
if ((_root.ENEMY.DEAD > 0) && (_root.ENEMY._xscale > 0)) {
this._x = this._x + 1.5;
}
if ((_root.ENEMY.DEAD > 0) && (_root.ENEMY._xscale < 0)) {
this._x = this._x - 1.5;
}
if ((timestart > 500) && (_root.ENEMY._y < 350)) {
_root.ENEMY.hangtime = 3;
_root.ENEMY.play();
}
if ((timestart > 500) && (_root.ENEMY2._y < 350)) {
_root.ENEMY2.hangtime = 3;
_root.ENEMY2.play();
}
if ((timestart > 500) && (_root.ENEMY3._y < 350)) {
_root.ENEMY3.hangtime = 3;
_root.ENEMY3.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY.hangtime = 3;
_root.ENEMY.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY2._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY2.hangtime = 3;
_root.ENEMY2.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY3._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY3.hangtime = 3;
_root.ENEMY3.play();
} else {
_rotation = 0;
}
GTIME = GTIME + 1;
PTIME = PTIME + 1;
DTIME = DTIME + 1;
}
Instance of Symbol 1324 MovieClip "ENEMY" in Frame 75
onClipEvent (load) {
Health = 30000;
Hangtime = 2;
jump = 0;
falling = 0;
plundge = 0;
faller = 0;
attack = 0;
damage = 0;
friction = 0;
friction2 = 0;
attacktimer = 0;
DEVILTIMER = 0;
DEVIL = 0;
gravity = 1;
this.transform._visible = false;
this.fire._alpha = 0;
}
onClipEvent (enterFrame) {
if (damage < 0) {
damage = 0;
friction2 = 0;
}
if (attack < 0) {
attack = 0;
friction = 0;
}
if ((((DEVILtimer > 800) && (DEVIL < 1)) && (_root.player.pause < 1)) && (_root.Health > 0)) {
DEVIL = 5;
DEVILtimer = 0;
this.transform.gotoAndStop(2);
this.transform._visible = true;
}
if ((((DEVILtimer > 800) && (DEVIL > 0)) && (_root.player.pause < 1)) && (_root.Health > 0)) {
DEVIL = 0;
DEVILtimer = 0;
this.transform.gotoAndStop(1);
this.transform._visible = true;
}
if (DEVIL > 0) {
this.SWORD.strike.head.gotoAndStop(2);
this.SWORD.strike.body.gotoAndStop(2);
this.SWORD.strike.capel.gotoAndStop(2);
this.SWORD.strike.cape.gotoAndStop(2);
this.SWORD.strike.arm.gotoAndStop(2);
this.SWORD.strike.Larm.gotoAndStop(2);
this.SWORD.strike.glow.gotoAndStop(2);
this.HURT.head.gotoAndStop(2);
this.HURT.body.gotoAndStop(2);
this.HURT.capel.gotoAndStop(2);
this.HURT.glow.gotoAndStop(2);
this.HURT.cape.gotoAndStop(2);
this.HURT.arm.gotoAndStop(2);
this.HURT.Larm.gotoAndStop(2);
}
if (DEVIL < 0) {
this.SWORD.strike.head.gotoAndStop(1);
this.SWORD.strike.body.gotoAndStop(1);
this.SWORD.strike.capel.gotoAndStop(1);
this.SWORD.strike.cape.gotoAndStop(1);
this.SWORD.strike.arm.gotoAndStop(1);
this.SWORD.strike.Larm.gotoAndStop(1);
this.SWORD.strike.glow.gotoAndStop(1);
this.HURT.head.gotoAndStop(1);
this.HURT.body.gotoAndStop(1);
this.HURT.capel.gotoAndStop(1);
this.HURT.glow.gotoAndStop(1);
this.HURT.cape.gotoAndStop(1);
this.HURT.arm.gotoAndStop(1);
this.HURT.Larm.gotoAndStop(1);
}
if ((((((_root.player._x > (_x + 50)) && (damage < 1)) && (attack < 1)) && (Health > 0)) && (_root.player.pause < 1)) && (_root.Health > 0)) {
_xscale = 80;
}
if ((((((_root.player._x < (_x - 50)) && (damage < 1)) && (attack < 1)) && (Health > 0)) && (_root.player.pause < 1)) && (_root.Health > 0)) {
_xscale = -80;
}
if (_xscale > 0) {
this._x = this._x - damage;
}
if (_xscale < 0) {
this._x = this._x + damage;
}
if ((_root.player.timestop < 1) && (_xscale < 0)) {
this._x = this._x - attack;
}
if ((_root.player.timestop < 1) && (_xscale > 0)) {
this._x = this._x + attack;
}
if (this.Core.hitTest(_root.player.GUNBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("shot");
attack = 0;
friction = 0;
attacktimer = 50;
damage = 7;
friction2 = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (1.5 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if (this.Core.hitTest(_root.player.GUNBOX2)) {
this.gotoAndPlay("shot");
attack = 0;
friction = 0;
attacktimer = 50;
damage = 7;
friction2 = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (1.5 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX)) {
this.gotoAndPlay("slash");
attack = 0;
friction = 0;
damage = 17;
attacktimer = 50;
friction2 = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (20 * _root.player.strength);
_root.Score = _root.Score + 40;
_root.Combo.gotoAndPlay(2);
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (_root.player.DEVIL * 10);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if ((this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target1 == 1)) && (Health > 1)) {
this.gotoAndPlay("shot");
attack = 0;
friction = 0;
damage = 27;
friction2 = 2;
AIattack = 40;
attacktimer = 50;
jump = 7;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (1000 * _root.player.strength);
} else if (this.Core.hitTest(_root.player.RIPBOX)) {
this.gotoAndPlay("slash");
attack = 0;
friction = 0;
damage = 20;
attacktimer = 50;
friction2 = 2;
jump = 28;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 80;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.STABBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("slash");
attack = 0;
friction = 0;
damage = 3;
friction2 = 1;
attacktimer = 50;
jump = 40;
hangtime = 2;
falling = 0;
Health = Health - (35 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 60;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if ((this.Core.hitTest(_root.player.GUNBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("death");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
attack = 0;
friction = 0;
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
attacktimer = 50;
_root.player.comboreset = 0;
}
if (this.Core.hitTest(_root.player.GUNBOX2) && (Health < 1)) {
this.gotoAndPlay("death");
attack = 0;
friction = 0;
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
attacktimer = 50;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX) && (Health < 1)) {
this.gotoAndPlay("death");
attack = 0;
friction = 0;
Health = Health - (30 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
attacktimer = 50;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 20;
_root.Combo.hits = _root.Combo.hits + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.RIPBOX) && (Health < 1)) {
this.gotoAndPlay("death");
Health = Health - (_root.player.DEVIL * 10);
attack = 0;
friction = 0;
Health = Health - (50 * _root.player.strength);
autospawn = 0;
rebirth = 1;
attacktimer = 50;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if ((this.Core.hitTest(_root.player.STABBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("death");
attack = 0;
friction = 0;
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (55 * _root.player.strength);
autospawn = 0;
rebirth = 1;
attacktimer = 50;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(3);
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health > 0)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("slash");
attack = 0;
friction = 0;
damage = 27;
friction2 = 2;
jump = 7;
hangtime = 2;
attacktimer = 50;
falling = 0;
Health = Health - (20 * _root.player.strength);
_root.Score = _root.Score + 50;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(2);
} else if ((this.Core.hitTest(_root.player.SHOTBOX) && (Health < 1)) && (_root.player.target1 == 1)) {
this.gotoAndPlay("death");
attack = 0;
friction = 0;
damage = 27;
friction2 = 2;
attacktimer = 50;
jump = 7;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (50 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if (this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target1 == 1)) {
this.gotoAndPlay("slash");
attack = 0;
friction = 0;
damage = 37;
friction2 = 2;
attacktimer = 50;
jump = 7;
hangtime = 2;
autospawn = 0;
falling = 0;
}
if (this._x > 800) {
defend = defend + 2;
this._x = 800;
} else if ((this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target1 == 1)) && (Health < 1)) {
this.gotoAndPlay("death");
attack = 0;
friction = 0;
damage = 27;
friction2 = 2;
attacktimer = 0;
jump = 7;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (50 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if (this._x < 0) {
defend = defend + 2;
this._x = 0;
}
if ((this._x > 800) && (defend > 15)) {
defend = 0;
this._x = 800;
this.BURST.strike.play();
attacktimer = 30;
} else if ((this._x < 0) && (defend > 4)) {
defend = 0;
this._x = 0;
this.BURST.strike.play();
attacktimer = 30;
}
if (_root.BHP.meter._width < _root.BHP.meter2._width) {
_root.BHP.meter2._width = _root.BHP.meter2._width - 0.05;
}
if (_root.BHP.meter._width < (_root.BHP.meter2._width - 25)) {
_root.BHP.meter2._width = _root.BHP.meter2._width - 1;
}
if (_root.BHP.meter._width < (_root.BHP.meter2._width - 40)) {
_root.BHP.meter2._width = _root.BHP.meter2._width - 2;
}
if ((_root.player.combo > 140) && (_root.player.pause < 1)) {
this.BURST.strike.play();
attacktimer = 60;
}
if (this.SWORD.strike.hitbox.hitTest(_root.player.CORE)) {
attack = 0;
friction = 0;
}
if (Health < 1) {
_y = 334;
DEVIL = 0;
attacktimer = 0;
DEVILTIMER = 0;
_root.exit.play();
}
if (_root.player.pause > 0) {
this.SWORD.gotoAndStop(1);
motion = 0;
attack = 0;
jump = 0;
damage = 0;
friction = 0;
friction2 = 0;
}
if (this.Core.hitTest(_root.player.SWORDBOX && (_root.player.blade == 3))) {
flames = 80;
} else if (this.Core.hitTest(_root.player.RIPBOX) && (_root.player.blade == 3)) {
flames = 80;
}
if (Health > 0) {
this.fire._alpha = flames;
flames = flames - 1;
}
if (Health < 1) {
flames = 0;
}
if ((_root.player.DTIME > 20) && (_root.player.DTIME < 25)) {
hangtime = 1;
}
if (((_root.player.timestop < 1) && (_root.player.pause < 1)) && (_root.Health > 1)) {
Attacktimer = Attacktimer + 1;
}
if ((Attacktimer > 55) && (Attacktimer < 58)) {
this.SWORD.gotoAndStop("combo");
}
if ((Attacktimer > 180) && (Attacktimer < 182)) {
this.SWORD.gotoAndStop("attack1");
attack = 40;
friction = 1.5;
}
if ((Attacktimer > 200) && (Attacktimer < 202)) {
this.SWORD.gotoAndStop("upperstrike");
attack = 20;
friction = 2;
jump = 30;
hangtime = 2.5;
}
if ((attacktimer > 225) && (attacktimer < 227)) {
this.SWORD.gotoAndStop("energyblast");
hangtime = 6;
attack = 23;
friction = 1.5;
}
if (attacktimer > 260) {
attacktimer = 50;
}
if (((blaster < 30) && (_root.Health > 0)) && (_root.player.pause < 1)) {
_root.blast._x = _root.player._x;
_root.blast._y = _root.player._y;
}
if ((((blaster > 35) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (_root.Health > 0)) {
_root.blast.play;
}
if (_root.player.pause > 0) {
_root.blast.stop();
}
if ((((_root.blast.hitbox.hitTest(_root.player.core) && (_root.player._x > _root.blast._x)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (_root.player.shadowmode < 1)) {
_root.player.gotoAndPlay("down");
_root.player.jump = 0;
attacktimer = 260;
_root.Health = _root.Health - 80;
_root.player.hangtime = 0;
_root.player._xscale = 55;
_root.player.falling = 0;
_root.player.faller = 0;
_root.player.Damage = 30;
_root.player.friction2 = 1.5;
_root.player.plundge = 9;
_root.player.combo = 0;
_root.player.motion = 0;
}
if ((((_root.blast.hitbox.hitTest(_root.player.core) && (_root.player._x < _root.blast._x)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (_root.player.shadowmode < 1)) {
_root.player.gotoAndPlay("down");
_root.player.jump = 0;
attacktimer = 260;
_root.Health = _root.Health - 80;
_root.player.hangtime = 0;
_root.player._xscale = -55;
_root.player.falling = 0;
_root.player.faller = 0;
_root.player.Damage = 30;
_root.player.friction2 = 1.5;
_root.player.plundge = 9;
_root.player.combo = 0;
_root.player.motion = 0;
}
if (_root.player.timestop > 0) {
this.SWORD.strike.stop();
this.SWORD.strike.runner.stop();
}
if (_root.player.timestop < 1) {
this.SWORD.strike.play();
this.SWORD.strike.runner.play();
}
if ((this.BURST.strike.hitbox.hitTest(_root.player) && (_xscale > 0)) && (_root.Health > 0)) {
_root.player._xscale = 55;
_root.Health = _root.Health - 100;
_root.player.gotoAndPlay("down");
_root.player.plundge = 5;
_root.player.damage = 30;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.falling = 0;
_root.player.hangtime = 0;
_root.player.plundge = 5;
_root.player.combo = 0;
}
if ((this.BURST.strike.hitbox.hitTest(_root.player) && (_xscale < 0)) && (_root.Health > 0)) {
_root.player._xscale = -55;
_root.Health = _root.Health - 100;
_root.player.gotoAndPlay("down");
_root.player.plundge = 5;
_root.player.damage = 30;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.falling = 0;
_root.player.hangtime = 0;
_root.player.plundge = 5;
_root.player.combo = 0;
}
if (((this.SWORD.strike.ripbox.hitTest(_root.player) && (_xscale > 0)) && (_root.Health > 0)) && (_root.player.shadowmode < 1)) {
_root.player._xscale = 55;
_root.Health = _root.Health - 100;
_root.player.gotoAndPlay("hurt");
_root.player.plundge = 0;
_root.player.damage = 10;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.falling = 0;
_root.player.hangtime = 1;
_root.player.plundge = 0;
_root.player.combo = 0;
_root.player.jump = 50;
}
if (((this.SWORD.strike.ripbox.hitTest(_root.player) && (_xscale < 0)) && (_root.Health > 0)) && (_root.player.shadowmode < 1)) {
_root.player._xscale = -55;
_root.Health = _root.Health - 100;
_root.player.gotoAndPlay("hurt");
_root.player.plundge = 0;
_root.player.damage = 10;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.jump = 50;
_root.player.falling = 0;
_root.player.hangtime = 1;
_root.player.plundge = 0;
_root.player.combo = 0;
}
if (_root.player.gravity > 0) {
this._y = this._y - jump;
this._y = this._y + falling;
this._y = this._y + faller;
this.pform._visible = false;
_yscale = 80;
}
if ((((_y > 345) && (falling > 5)) && (_root.Health > 0)) && (_root.player.gravity > 0)) {
this.SWORD.gotoAndStop(1);
_y = 345;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 0;
faller = 0;
}
if (((_y > 345) && (faller > 0)) && (_root.player.gravity > 0)) {
_y = 345;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 0;
faller = 0;
}
if (_root.player.gravity < 0) {
this._y = this._y + jump;
_yscale = -80;
this._y = this._y - falling;
this._y = this._y - faller;
}
if ((((_y < 71) && (falling > 5)) && (_root.Health > 0)) && (_root.player.gravity < 0)) {
this.SWORD.gotoAndStop(1);
_y = 91;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 0;
faller = 0;
}
if (((_y < 91) && (faller > 0)) && (_root.player.gravity < 0)) {
_y = 91;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 0;
faller = 0;
}
if ((_y < 80) && (_root.player.gravity < 0)) {
this.pform._visible = true;
}
if (Health < 1) {
this.SWORD.gotoAndStop(1);
attacker = 0;
filler = 0;
blaster = 0;
_root.player.stop();
_root.player.motion = 0;
_root.player.jump = 0;
_root.player.plundge = 0;
_root.player.faller = 0;
_root.player.hangtime = 0;
_root.player.falling = 0;
_root.player.attack = 0;
_root.player.damage = 0;
_root.player.friction = 0;
_root.player.friction2 = 0;
_root.blast.gotoAndStop(1);
_root.player.timestop = 0;
}
if ((_root.player.GTIME > 5) && (_root.player.DTIME < 7)) {
hangtime = 1;
}
this.SWORD.strike.fire._visible = false;
_root.BHP.meter._width = this.Health / 50;
DEVILTIMER = DEVILTIMER + 1;
falling = falling + hangtime;
faller = faller + plundge;
attack = attack - friction;
damage = damage - friction2;
blaster = blaster + 1;
}
Frame 76
if (_root.OAmission < 17) {
_root.OAmission = 17;
}
_quality = "High";
stop();
Stage.showMenu = false;
Instance of Symbol 986 MovieClip in Frame 76
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if (_root.killstats < _root.kills) {
_root.killstats = _root.killstats + 1;
}
if ((_root.killstats == _root.kills) && (_root.scorestats < _root.score)) {
_root.scorestats = _root.scorestats + 90;
}
if (((_root.killstats == _root.kills) && (_root.scorestats == _root.score)) && (_root.damagestats < _root.damage)) {
_root.damagestats = _root.damagestats + 5;
}
if (_root.killstats > _root.kills) {
_root.killstats = _root.kills;
}
if (_root.damagestats > _root.damage) {
_root.damagestats = _root.damage;
}
if (_root.scorestats > _root.score) {
_root.scorestats = _root.score;
}
if (key.IsDown(32)) {
_root.killstats = _root.kills;
}
if (key.IsDown(32) && (_root.killstats == _root.kills)) {
_root.scorestats = _root.score;
}
if ((key.IsDown(32) && (_root.killstats == _root.kills)) && (_root.scorestats == _root.score)) {
_root.damagestats = _root.damage;
}
if ((((_root.scorestats > 32000) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(6);
clearer = 1;
_root.rank16 = 5;
}
if (((((_root.scorestats > 30000) && (_root.scorestats < 32000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(5);
clearer = 1;
_root.rank16 = 4;
}
if (((((_root.scorestats > 26000) && (_root.scorestats < 30000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(4);
clearer = 1;
_root.rank16 = 3;
}
if (((((_root.scorestats > 22000) && (_root.scorestats < 26000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(3);
clearer = 1;
_root.rank16 = 2;
}
if ((((_root.scorestats < 18000) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(2);
clearer = 1;
_root.rank16 = 1;
}
if (_root.OAminutes < _root.minutes) {
_root.OAminutes = _root.minutes;
_root.OAseconds = _root.seconds;
}
_root.damage = _root.Healthfull - _root.Health;
_root.minutestats = _root.minutes;
_root.secondstats = _root.seconds;
}
Frame 77
_quality = "High";
stop();
Stage.showMenu = false;
Frame 78
_quality = "High";
stop();
Stage.showMenu = false;
Frame 79
if (_root.quality == 1) {
_quality = "Medium";
}
if (_root.quality == 2) {
_quality = "High";
}
if (_root.quality == 3) {
_quality = "Low";
}
stop();
Stage.showMenu = false;
Instance of Symbol 594 MovieClip "player" in Frame 79
onClipEvent (load) {
goal = 1;
MISSIONCLEAR = 0;
die = random(3);
_root.minutes = 0;
_root.seconds = 0;
_root.Speedheart = 5;
_root.pause._visible = false;
_root.targeter._visible = false;
_root.mission = 17;
_root.score = 0;
_root.Health = (_root.level * 100) + 200;
_root.kills = 0;
gravity = 1;
skin = 3;
damage = 0;
clock = 0;
ticker = 1;
targeting = 0;
filler = 2;
gun = 1;
attack = 0;
friction = 0;
motion = 13;
hangtime = 1;
falling = 0;
jump = 0;
blade = 1;
hits = 0;
thrower = 1;
DEVIL = 0;
_root.DRIVE = 0;
time = 1;
powerup = 0;
_root.gauge.percent = 0;
down = 1;
quota = (2 * _root.kills) + 10;
target = 0;
target2 = 0;
comboset = 0;
combo = 0;
comboreset = 0;
}
onClipEvent (enterFrame) {
if (_root.level < 1) {
_root.level = 1;
_root.Health = 300;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 1)) {
this._xscale = -55;
this._x = this._x + (motion * 1.1);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 1;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 1)) {
this._xscale = 55;
this._x = this._x - (motion * 1.1);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 1;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 4)) {
this._xscale = -55;
this._x = this._x + (motion * 1.4);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 2.5;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 4)) {
this._xscale = 55;
this._x = this._x - (motion * 1.4);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 2.5;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 2)) {
this._xscale = -55;
this._x = this._x + (motion * 1.35);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 0.6;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 2)) {
this._xscale = 55;
this._x = this._x - (motion * 1.35);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 0.6;
}
if ((((key.IsDown(39) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 3)) {
this._xscale = -55;
this._x = this._x + (motion * 0.95);
this._x = this._x + (DEVIL * 4);
this.play();
strength = 2;
} else if ((((key.IsDown(37) && (damage == 0)) && (attack == 0)) && (motion > 0)) && (blade == 3)) {
this._xscale = 55;
this._x = this._x - (motion * 0.95);
this._x = this._x - (DEVIL * 4);
this.play();
strength = 2;
}
if (falling > 60) {
falling = 60;
hangtime = 0;
}
if (_xscale > 0) {
this._x = this._x - attack;
} else if (_xscale < 0) {
this._x = this._x + attack;
}
if (((_y > 325) && (falling > 0)) && (gravity > 0)) {
this._y = 351;
falling = 0;
hangtime = 0;
jump = 0;
this.gotoAndStop(1);
}
if (((_y > 325) && (faller > 0.5)) && (gravity > 0)) {
this._y = 349.79;
faller = 0;
plundge = 0;
jump = 0;
} else if (((_y > 325) && (falling > 3)) && (gravity > 0)) {
this._y = 349.79;
falling = 0;
hangtime = 0;
this._x = this._x - attack;
}
if (attack < 0) {
attack = 0;
friction = 0;
}
if (((jump > 0) && (this._x < 10)) && (key.IsDown(37))) {
this.gotoAndPlay("wallride");
this._x = 11;
_xscale = -55;
}
if ((jump > 0) && (this._x == 11)) {
this._x = 11;
_xscale = -55;
}
if (((jump > 0) && (this._x > 790)) && (key.IsDown(39))) {
this.gotoAndPlay("wallride");
this._x = 789;
_xscale = 55;
}
if ((jump > 0) && (this._x == 789)) {
this._x = 789;
_xscale = 55;
}
if ((DEVIL > 0) && (blade == 1)) {
this.capel.gotoAndStop(2);
this.arml.gotoAndStop(2);
this.arm.gotoAndStop(2);
this.head.gotoAndStop(2);
this.cape.gotoAndStop(2);
this.body.gotoAndStop(2);
this.glow.gotoAndStop(2);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(2);
}
if ((DEVIL > 0) && (blade == 2)) {
this.capel.gotoAndStop(3);
this.arml.gotoAndStop(3);
this.arm.gotoAndStop(3);
this.head.gotoAndStop(3);
this.cape.gotoAndStop(3);
this.body.gotoAndStop(3);
this.glow.gotoAndStop(3);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(3);
}
if ((DEVIL > 0) && (blade == 3)) {
this.capel.gotoAndStop(4);
this.arml.gotoAndStop(4);
this.arm.gotoAndStop(4);
this.head.gotoAndStop(4);
this.cape.gotoAndStop(4);
this.body.gotoAndStop(4);
this.glow.gotoAndStop(4);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(4);
}
if ((DEVIL > 0) && (blade == 4)) {
this.capel.gotoAndStop(5);
this.arml.gotoAndStop(5);
this.arm.gotoAndStop(5);
this.head.gotoAndStop(5);
this.cape.gotoAndStop(5);
this.body.gotoAndStop(5);
this.glow.gotoAndStop(5);
this.static.gotoAndStop(2);
this.power._visible = true;
this.power.gotoAndStop(5);
} else if (DEVIL < 1) {
this.capel.gotoAndStop(1);
this.arml.gotoAndStop(1);
this.arm.gotoAndStop(1);
this.head.gotoAndStop(1);
this.cape.gotoAndStop(1);
this.body.gotoAndStop(1);
this.glow.gotoAndStop(1);
this.static.gotoAndStop(1);
this.power._visible = false;
}
if (this._x > 800) {
this._x = 800;
} else if (this._x < 0) {
this._x = 0;
}
if ((key.isDown(70) && (DEVIL < 1)) && (_root.gauge.percent > 25)) {
this.gotoAndPlay("devilmode");
} else if (key.isDown(70) && (DEVIL > 0)) {
this.gotoAndPlay("devilexit");
}
if ((powerup > 30) && (pause < 1)) {
_root.gauge.percent = _root.gauge.percent + 1;
powerup = 0;
}
if (_root.gauge.percent > 99) {
time = 0;
} else if (_root.gauge.percent < 99) {
time = 1;
}
if ((DEVIL > 0) && (pause < 1)) {
powerdown = powerdown + down;
}
if (powerdown > 9) {
_root.gauge.percent = _root.gauge.percent - 1;
_root.Health = _root.Health + 1;
powerdown = 0;
}
if ((DEVIL < 1) && (pause < 1)) {
powerup = powerup + time;
}
if (_root.gauge.meterX._xscale > _root.gauge.meter._xscale) {
_root.meterX._xscale = _root.meterX._xscale - 0.75;
} else if (_root.gauge.meterX._xscale < _root.gauge.meter._xscale) {
_root.meterX._xscale = _root.gauge.meter._xscale;
}
if ((_root.gauge.percent < 1) && (DEVIL > 0)) {
_root.meterX._xscale = _root.gauge.meter._xscale;
this.gotoAndPlay("devilexit");
DEVIL = 0;
_root.gauge.percent = 0;
}
if (_xscale > 0) {
this._x = this._x + damage;
} else if (_xscale < 0) {
this._x = this._x - damage;
}
if (damage < 0) {
damage = 0;
friction2 = 0;
}
if (_root.Health > _root.Healthfull) {
_root.Health = _root.Healthfull;
}
if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 35;
falling = 0;
hangtime = 0;
plundge = 5;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 35;
falling = 0;
hangtime = 0;
plundge = 5;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
falling = 0;
hangtime = 0;
_root.Health = _root.Health - 65;
} else if ((((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 65;
}
if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x > _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 28;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 95;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x < _x)) && (hits < 2)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 28;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 95;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
combo = 0;
damage = 33;
jump = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 155;
} else if ((((this.core.hitTest(_root.ENEMY2.SWORD.strike.hitbox) && (_root.ENEMY2._x < _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 33;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 155;
} else if ((((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
friction2 = 1.5;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
_root.Health = _root.Health - 155;
} else if ((((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits > 1)) && (shadowmode < 1)) && (timestop < 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 155;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits > 1)) {
this.gotoAndPlay("down");
_xscale = -55;
hits = 0;
damage = 22;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 65;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits > 1)) {
this.gotoAndPlay("down");
_xscale = 55;
hits = 0;
damage = 22;
jump = 0;
falling = 0;
combo = 0;
hangtime = 0;
plundge = 5;
friction2 = 1.5;
_root.Health = _root.Health - 35;
}
if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
}
if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x > _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
} else if ((this.core.hitTest(_root.ENEMY3.SWORD2.strike.hitbox) && (_root.ENEMY3._x < _x)) && (hits < 2)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 25;
}
if ((this.core.hitTest(_root.ENEMY.TAIL.strike.hitbox) && (_root.ENEMY._x > _x)) && (shadowmode < 1)) {
this.gotoAndPlay("Impale");
_xscale = 55;
damage = 0;
attack = 0;
friction = 0;
friction2 = 0;
plundge = 5;
_root.Health = _root.Health - 90;
} else if ((this.core.hitTest(_root.ENEMY.TAIL.strike.hitbox) && (_root.ENEMY._x < _x)) && (shadowmode < 1)) {
this.gotoAndPlay("Impale");
_xscale = 55;
damage = 0;
attack = 0;
friction = 0;
friction2 = 0;
plundge = 5;
_root.Health = _root.Health - 90;
}
if (_root.Health < 1) {
_root.Health = 0;
this.gotoAndStop("death");
_root.death = _root.death + 1;
motion = 0;
DEVIL = 0;
down = 0;
time = 0;
combo = 0;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 30;
faller = 5;
DIE = 5;
_root.gauge.percent = 0;
}
if (_root.kills > quota) {
this.quota = this.quota + (_root.kills * 2);
this.quota = this.quota + 5;
_root.levelup.play();
}
if (_root.ENEMY2.Health <= 0) {
target1 = 1;
} else if (_root.ENEMY.Health <= 0) {
target1 = 2;
} else if (((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY._x < _root.ENEMY2._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY._x > _root.ENEMY2._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _x)) && (_root.ENEMY._x < _x)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale > 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x < _x)) && (_root.ENEMY._x < _x)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
} else if (((((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _x)) && (_root.ENEMY._x > _x)) && (_root.ENEMY2._x < _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 2;
} else if (((((((_xscale < 0) && (_root.ENEMY.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY2._x > _x)) && (_root.ENEMY._x > _x)) && (_root.ENEMY2._x > _root.ENEMY._x)) && (_root.ENEMY._y == _root.ENEMY2._y)) {
target1 = 1;
}
if (target1 == 1) {
_root.targeter._x = _root.ENEMY._x;
_root.targeter._y = _root.ENEMY._y - 46;
} else if (target1 == 2) {
_root.targeter._x = _root.ENEMY2._x;
_root.targeter._y = _root.ENEMY2._y - 46;
}
if (gun == 1) {
this.arml.gun.gotoAndStop(1);
this.arm.gun.gotoAndStop(1);
_root.pause.guns.gotoAndStop(1);
} else if (gun == 2) {
this.arml.gun.gotoAndStop(2);
this.arm.gun.gotoAndStop(2);
_root.pause.guns.gotoAndStop(2);
} else if (gun == 3) {
this.arml.gun.gotoAndStop(3);
this.arm.gun.gotoAndStop(3);
_root.pause.guns.gotoAndStop(3);
} else if (gun == 4) {
this.arml.gun.gotoAndStop(4);
this.arm.gun.gotoAndStop(4);
_root.pause.guns.gotoAndStop(4);
}
if ((key.IsDown(88) && (_root.shotgun > 0)) && (gun == 1)) {
_root.gunswitch.gotoAndStop(2);
} else if ((key.IsDown(88) && (_root.grenade > 0)) && (gun == 2)) {
_root.gunswitch.gotoAndStop(3);
} else if ((key.IsDown(88) && (_root.submachine > 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(4);
} else if ((key.IsDown(88) && (_root.grenade < 1)) && (gun == 2)) {
_root.gunswitch.gotoAndStop(1);
} else if ((key.IsDown(88) && (_root.submachine < 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(1);
} else if ((key.IsDown(88) && (_root.submachine > 0)) && (gun == 4)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.lightning > 0)) && (blade == 1)) {
_root.swordswitch.gotoAndStop(2);
} else if ((key.IsDown(90) && (_root.hellfire > 0)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(3);
} else if ((key.IsDown(90) && (_root.devilsdemise > 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(4);
} else if ((key.IsDown(90) && (_root.hellfire < 1)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(1);
} else if ((key.IsDown(90) && (_root.devilsdemise < 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(1);
} else if ((key.IsDown(90) && (_root.devilsdemise > 0)) && (blade == 4)) {
_root.swordswitch.gotoAndStop(1);
}
if (gun == 3) {
this.bazooka.gotoAndStop(1);
} else if (gun == 4) {
this.bazooka.gotoAndStop(2);
} else if (gun == 2) {
this.bazooka.gotoAndStop(3);
} else if (gun == 1) {
this.bazooka.gotoAndStop(4);
}
if (blade == 3) {
this.fire._visible = true;
this.bolt._visible = false;
_root.pause.swords.gotoAndStop(3);
this.sword.gotoAndStop(3);
this.hate._visible = false;
this.light.gotoAndStop(3);
} else if (blade == 2) {
_root.pause.swords.gotoAndStop(2);
this.bolt._visible = true;
this.fire._visible = false;
this.sword.gotoAndStop(2);
this.hate._visible = false;
this.light.gotoAndStop(2);
} else if (blade == 1) {
this.fire._visible = false;
_root.pause.swords.gotoAndStop(1);
this.bolt._visible = false;
this.hate._visible = false;
this.light.gotoAndStop(1);
this.sword.gotoAndStop(1);
} else if (blade == 4) {
this.light.gotoAndStop(4);
this.hate._visible = true;
_root.pause.swords.gotoAndStop(4);
this.fire._visible = false;
this.bolt._visible = false;
this.sword.gotoAndStop(4);
}
if (DEVIL > 0) {
this.cape._visible = true;
this.capel._visible = true;
this.arm.gun.machine.gotoAndStop(2);
}
if (DEVIL < 1) {
this.arm.gun.machine.gotoAndStop(1);
}
if (((targeting < 1) && (key.IsDown(32))) && (timing > 25)) {
_root.targeter._visible = true;
targeting = 1;
timing = 0;
filler = 1;
} else if (((targeting > 0) && (key.IsDown(32))) && (timing > 25)) {
targeting = 0;
timing = 0;
filler = 1;
_root.targeter._visible = false;
}
if (((key.IsDown(67) && (pause < 1)) && (timing > 25)) && (DIE < 1)) {
pause = 5;
timing = 0;
filler = 1;
_root.pause._visible = true;
} else if ((key.IsDown(67) && (pause > 0)) && (timing > 25)) {
pause = 0;
hangtime = 3;
_root.ENEMY2.hangtime = 3;
_root.ENEMY.hangtime = 3;
play();
_root.pause._visible = false;
_root.pause.gotoAndStop(1);
timing = 0;
filler = 1;
}
if ((pause > 0) && (_y > 270)) {
this.gotoAndStop("pauseground");
hangtime = 0;
jump = 0;
plundge = 0;
falling = 0;
faller = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if ((pause > 0) && (_y < 270)) {
this.gotoAndStop("pauseair");
hangtime = 0;
jump = 0;
plundge = 0;
falling = 0;
faller = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if (comboreset > 120) {
combo = 0;
comboset = 0;
combo = combo - 2;
}
if (combo < 1) {
_root.style.gotoAndStop(1);
combo = 0;
comboreset = 0;
} else if ((combo > 1) && (combo < 50)) {
_root.style.gotoAndStop(2);
_root.score = _root.score + 1;
} else if ((combo > 50) && (combo < 110)) {
_root.style.gotoAndStop(3);
_root.score = _root.score + 1;
} else if ((combo > 110) && (combo < 160)) {
_root.style.gotoAndStop(4);
_root.score = _root.score + 1;
} else if ((combo > 160) && (combo < 210)) {
_root.style.gotoAndStop(5);
_root.score = _root.score + 2;
} else if ((combo > 210) && (combo < 280)) {
_root.style.gotoAndStop(6);
_root.score = _root.score + 2;
} else if (combo > 280) {
_root.style.gotoAndStop(7);
_root.score = _root.score + 3;
}
if (_root.Health > 0) {
DIE = 0;
}
if (DIE > 0) {
_root.gameover.play();
hangtime = 0;
_root.pause._visible = false;
jump = 0;
falling = 0;
attack = 0;
damage = 0;
motion = 0;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
}
if ((skin < 2) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 2) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(2);
this.arm.skin.gotoAndStop(2);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(2);
this.dead.death.arm.skin.gotoAndStop(2);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 3) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(4);
this.arm.skin.gotoAndStop(4);
this.cape._visible = false;
this.capel._visible = false;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(4);
this.dead.death.arm.skin.gotoAndStop(4);
this.dead.death.cape._visible = false;
this.dead.death.capel._visible = false;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 4) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape.skin.gotoAndStop(2);
this.capel.skin.gotoAndStop(2);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(1);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.capel.skin.gotoAndStop(2);
this.dead.death.cape.skin.gotoAndStop(2);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(1);
} else if ((skin == 5) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(1);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(1);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 6) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(2);
this.arml.skin.gotoAndStop(1);
this.arm.skin.gotoAndStop(1);
this.cape._visible = true;
this.capel._visible = true;
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(2);
this.dead.death.arml.skin.gotoAndStop(1);
this.dead.death.arm.skin.gotoAndStop(1);
this.dead.death.cape._visible = true;
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 7) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(3);
this.arml.skin.gotoAndStop(3);
this.arm.skin.gotoAndStop(3);
this.cape._visible = true;
this.capel._visible = true;
this.cape.skin.gotoAndStop(2);
this.capel.skin.gotoAndStop(2);
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(3);
this.dead.death.arml.skin.gotoAndStop(3);
this.dead.death.arm.skin.gotoAndStop(3);
this.dead.death.cape._visible = true;
this.dead.death.cape.skin.gotoAndStop(2);
this.dead.death.capel.skin.gotoAndStop(2);
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
} else if ((skin == 8) && (DEVIL < 1)) {
this.body.skin.gotoAndStop(4);
this.arml.skin.gotoAndStop(4);
this.arm.skin.gotoAndStop(4);
this.cape._visible = true;
this.capel._visible = true;
this.cape.skin.gotoAndStop(3);
this.capel.skin.gotoAndStop(3);
this.head.skin.gotoAndStop(2);
this.dead.death.body.skin.gotoAndStop(4);
this.dead.death.arml.skin.gotoAndStop(4);
this.dead.death.arm.skin.gotoAndStop(4);
this.dead.death.cape._visible = true;
this.dead.death.cape.skin.gotoAndStop(3);
this.dead.death.capel.skin.gotoAndStop(3);
this.dead.death.capel._visible = true;
this.dead.death.head.skin.gotoAndStop(2);
}
if ((skin < 7) && (DEVIL < 1)) {
this.capel.skin.gotoAndStop(1);
this.head.skin.gotoAndStop(1);
this.dead.death.cape.skin.gotoAndStop(1);
this.dead.death.capel.skin.gotoAndStop(1);
}
if (clock > 27) {
_root.seconds = _root.seconds + 1;
clock = 0;
}
if (_root.seconds > 60) {
_root.Minutes = _root.Minutes + 1;
_root.seconds = 0;
}
if (_root.mission == 17) {
_root.pause.mission.gotoAndStop(17);
}
if (_root.kills > 1) {
_root.exit.play();
hangtime = 0;
_root.pause._visible = false;
this.stop();
jump = 0;
falling = 0;
attack = 0;
damage = 0;
motion = 0;
this.power._visible = false;
_root.ENEMY2.SWORD.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY2.SWORD.strike.gotoAndStop(1);
_root.ENEMY.SWORD.strike.gotoAndStop(1);
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY.hangtime = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
_root.ENEMY2.motion = 0;
_root.ENEMY.motion = 0;
DEVIL = 0;
}
if (((key.IsDown(81) && (_root.Speedheart > 0)) && (Heart == 1)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(2);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart > 0)) && (Heart == 2)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(3);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart > 0)) && (Heart == 3)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(1);
heartchange = 0;
} else if (((key.IsDown(81) && (_root.EndureHeart < 1)) && (Heart == 2)) && (heartchange > 30)) {
_root.Heartswitch.gotoAndStop(1);
heartchange = 0;
}
if ((((Heart == 2) && (DEVIL > 0)) && (healing > 9)) && (pause < 1)) {
_root.Health = _root.Health + 3;
_root.gauge.percent = _root.gauge.percent - 1;
healing = 0;
}
if ((((Heart == 3) && (DEVIL > 0)) && (healing > 17)) && (pause < 1)) {
_root.gauge.percent = _root.gauge.percent + 1;
_root.Health = _root.Health - 5;
healing = 0;
}
if (Heart == 1) {
_root.gauge.meter.gotoAndStop(1);
}
if (Heart == 2) {
_root.gauge.meter.gotoAndStop(2);
}
if (Heart == 3) {
_root.gauge.meter.gotoAndStop(3);
}
if (clock > 27) {
_root.OAseconds = _root.OAseconds + 1;
clock = 0;
}
if (_root.OAseconds > 60) {
_root.OAMinutes = _root.OAMinutes + 1;
_root.OAseconds = 0;
}
if (_root.kills > goal) {
MISSIONCLEAR = 20;
}
if (_root.rumble > 0) {
_root.pause.rumble.gotoAndStop(3);
}
if ((this.core.hitTest(_root.ENEMY3.dead) && (_x < _root.ENEMY3._x)) && (shadowmode < 1)) {
damage = 35;
friction2 = 1;
hangtime = 0;
falling = 0;
plundge = 20;
this.gotoAndPlay("down");
_xscale = -55;
Health = Health - 60;
}
if ((this.core.hitTest(_root.ENEMY3.dead) && (_x > _root.ENEMY3._x)) && (shadowmode < 1)) {
damage = 35;
friction2 = 1;
hangtime = 0;
falling = 0;
plundge = 20;
this.gotoAndPlay("down");
_xscale = -55;
Health = Health - 60;
}
if (((((this._xscale > 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x > _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 1;
target1 = 0;
}
if (((((this._xscale > 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x < _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 0;
target1 = 2;
}
if (((((this._xscale < 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x > _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 0;
target1 = 2;
}
if (((((this._xscale < 0) && (_root.ENEMY3.Health > 0)) && (_root.ENEMY2.Health > 0)) && (_root.ENEMY3._x < _root.ENEMY2._x)) && (_root.ENEMY3._y == _root.ENEMY2._y)) {
target2 = 1;
target1 = 0;
}
if (_root.ENEMY2.Health < 1) {
target2 = 1;
}
if (_y < -30) {
hangtime = 2;
this.gotoAndStop("plummet");
}
if (_root.rumble < 1) {
_root.pause.rumble.gotoAndStop(2);
}
if (gravity == 1) {
_root.Combo.hitter = _root.Combo.hits;
_yscale = 55;
this._y = this._y + (falling * gravity);
_root.Healthfull = (_root.level * 100) + 200;
this._y = this._y - (jump * gravity);
fill = fill + 1;
heartchange = heartchange + 1;
this.shoot.gotoAndStop(random(5));
falling = falling + (hangtime * gravity);
attack = attack - friction;
clock = clock + ticker;
damage = damage - friction2;
fillerup = fillerup + 1;
faller = faller + (plundge * gravity);
_root.combo.hits = combo;
comboreset = comboreset + comboset;
this._y = this._y + (faller * gravity);
healing = healing + 1;
speder = speder + 1;
timing = timing + filler;
this._y = this._y - (wallrun * gravity);
_root.gauge.meter._xscale = _root.gauge.percent;
}
if (gravity == -1) {
_yscale = -55;
_root.Combo.hitter = _root.Combo.hits;
this._y = this._y - falling;
_root.Healthfull = (_root.level * 100) + 200;
this._y = this._y + jump;
fill = fill + 1;
heartchange = heartchange + 1;
this.shoot.gotoAndStop(random(5));
falling = falling + hangtime;
attack = attack - friction;
clock = clock + ticker;
damage = damage - friction2;
fillerup = fillerup + 1;
faller = faller + plundge;
_root.combo.hits = combo;
comboreset = comboreset + comboset;
this._y = this._y - faller;
healing = healing + 1;
speder = speder + 1;
timing = timing + filler;
this._y = this._y + wallrun;
_root.gauge.meter._xscale = _root.gauge.percent;
}
if (((_y < 70) && (falling > 0)) && (gravity < 0)) {
this._y = 70;
falling = 0;
hangtime = 0;
jump = 0;
this.gotoAndStop(1);
} else if (((_y < 70) && (faller > 0)) && (gravity < 0)) {
this._y = 70;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 0;
faller = 0;
}
if ((((gravity == -1) && (blade == 2)) && (refill < 1)) && (pause < 1)) {
timevertex = timevertex + 2;
}
if (((((gravity == -1) && (blade == 2)) && (timevertex > 400)) && (refill < 1)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
refill = 5;
this.gotoAndStop("fall");
timevertex = 400;
}
if ((refill > 0) && (pause < 1)) {
timevertex = timevertex - 1;
}
if (gravity > 0) {
timevertex = timevertex - 1;
}
if ((timevertex < 3) && (pause < 1)) {
refill = 0;
}
if (((blade < 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if (((blade > 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if (((blade == 2) && (_root.mission == 7)) && (pause < 1)) {
gravity = -1;
}
if ((((blade < 2) && (_root.mission > 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade > 2) && (_root.mission > 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade < 2) && (_root.mission < 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if ((((blade > 2) && (_root.mission < 7)) && (gravity < 0)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == 1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission < 7)) && (pause < 1)) {
gravity = -1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == -1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission < 7)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
GTIME = 0;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == 1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission > 7)) && (pause < 1)) {
gravity = -1;
hangtime = 2;
GTIME = 0;
_root.ENEMY.hangtime = 3;
this.gotoAndStop("fall");
}
if (((((((key.IsDown(65) && (key.IsDown(38))) && (gravity == -1)) && (refill < 1)) && (GTIME > 30)) && (blade == 2)) && (_root.mission > 7)) && (pause < 1)) {
gravity = 1;
hangtime = 2;
GTIME = 0;
_root.ENEMY.hangtime = 3;
this.gotoAndStop("fall");
}
if ((this._y == 70) && (gravity == -1)) {
this.Staticform2._visible = true;
} else if ((this._y > 60) && (gravity == -1)) {
this.Staticform2._visible = false;
} else if (gravity == 1) {
this.Staticform2._visible = false;
}
if ((_y > 480) && (gravity < 0)) {
this.gotoAndStop("plummet");
}
if (timestop > 0) {
my_color = new Color(_root.ENEMY);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.ENEMY2);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.ENEMY3);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.BG);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
my_color = new Color(_root.travel);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.stop();
_root.ENEMY2.SWORD.strike.stop();
_root.ENEMY3.SWORD.strike.stop();
}
if ((timestop < 1) && (_root.ENEMY.blaster < 70)) {
my_color = new Color(_root.blast);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.blast.stop();
}
if ((timestop < 1) && (_root.ENEMY.blaster > 70)) {
my_color = new Color(_root.blast);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.blast.play();
}
if ((timestop > 1) && (_root.ENEMY.blaster > 70)) {
my_color = new Color(_root.blast);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_root.blast.stop();
}
if ((timestop < 1) && (_root.ENEMY.timingstop < 1)) {
my_color = new Color(_root.ENEMY);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.ENEMY2);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.ENEMY3);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.BG);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
my_color = new Color(_root.travel);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_root.ENEMY.SWORD.strike.play();
_root.ENEMY2.SWORD.strike.play();
_root.ENEMY3.SWORD.strike.play();
}
if ((timestop > 0) && (pause < 1)) {
timestart = timestart + 1;
refiller = 0;
}
if ((timestop < 1) && (pause < 1)) {
refiller = refiller + 1;
}
if ((timestart > 500) && (pause < 1)) {
this.timetrigger.gotoAndStop(3);
timestop = 0;
enable = 1;
refiller = 0;
timestart = 0;
}
if (refiller > 300) {
enable = 0;
}
if ((((((blade == 3) && (key.IsDown(38))) && (key.IsDown(65))) && (DTIME > 30)) && (timestop < 1)) && (enable < 1)) {
timestop = 2;
DTIME = 0;
this.timetrigger.gotoAndStop(2);
}
if (((((blade == 3) && (key.IsDown(38))) && (key.IsDown(65))) && (DTIME > 30)) && (timestop > 1)) {
timestop = 0;
DTIME = 0;
this.timetrigger.gotoAndStop(3);
}
if ((blade < 3) && (pause < 1)) {
timestop = 0;
dropout = dropout - 1;
}
if ((blade > 3) && (pause < 1)) {
timestop = 0;
dropout = dropout - 1;
}
if (((((((blade == 4) && (key.IsDown(38))) && (key.IsDown(65))) && (PTIME > 30)) && (shadowset > 1000)) && (shadowmode < 1)) && (pause < 1)) {
this.shadowtiming.gotoAndStop(2);
shadowmode = 5;
PTIME = 0;
}
if (shadowmode > 0) {
my_color = new Color(_root.player);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_alpha = 50;
this.CORE._width = 0;
this.CORE._height = 0;
shadowexit = shadowexit + 2;
}
if ((shadowexit > 900) && (pause < 1)) {
shadowmode = 0;
PTIME = 0;
shadowset = 0;
shadowexit = 0;
this.shadowtiming.gotoAndStop(3);
}
if ((shadowmode < 1) && (_root.ENEMY.timingstop < 1)) {
my_color = new Color(_root.player);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_alpha = 100;
this.CORE._width = 0;
this.CORE._height = 0;
shadowset = shadowset + 2;
}
if ((blade < 4) && (shadowmode > 0)) {
shadowmode = 0;
this.shadowtiming.gotoAndStop(3);
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (PTIME > 30)) && (shadowmode > 0)) && (pause < 1)) {
shadowmode = 0;
PTIME = 0;
this.shadowtiming.gotoAndStop(3);
}
if (shadowmode > 0) {
this.swordBox._width = 2000;
this.slashBox._width = 2000;
this.ripBox._width = 2000;
}
if (shadowmode < 1) {
this.swordBox._width = 240;
this.slashBox._width = 240;
this.ripBox._width = 240;
}
if ((key.IsDown(86) && (_root.submachine < 1)) && (gun == 3)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(88) && (_root.submachine > 0)) && (gun == 4)) {
_root.gunswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.lightning > 0)) && (blade == 1)) {
_root.swordswitch.gotoAndStop(2);
}
if ((key.IsDown(90) && (_root.hellfire > 0)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(3);
}
if ((key.IsDown(90) && (_root.devilsdemise > 1)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(4);
}
if ((key.IsDown(90) && (_root.hellfire < 1)) && (blade == 2)) {
_root.swordswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.devilsdemise < 2)) && (blade == 3)) {
_root.swordswitch.gotoAndStop(1);
}
if ((key.IsDown(90) && (_root.devilsdemise > 0)) && (blade == 4)) {
_root.swordswitch.gotoAndStop(1);
}
if (((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits < 2)) && (shadowmode < 1)) {
this.gotoAndPlay("hurt");
_xscale = -55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 45;
} else if (((this.core.hitTest(_root.ENEMY.SWORD.strike.hitbox) && (_root.ENEMY._x < _x)) && (hits < 2)) && (shadowmode < 1)) {
this.gotoAndPlay("hurt");
_xscale = 55;
hits = hits + 1;
damage = 22;
combo = 0;
friction2 = 1.5;
_root.Health = _root.Health - 45;
} else if (((this.core.hitTest(_root.ENEMY.TAIL.strike.hitbox) && (_root.ENEMY._x > _x)) && (hits > 1)) && (shadowmode < 1)) {
this.gotoAndPlay("impale");
_xscale = -55;
hits = 0;
damage = 0;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 0;
falling = 0;
hangtime = 0;
_root.Health = _root.Health - 80;
} else if ((this.core.hitTest(_root.ENEMY.TAIL.strike.hitbox) && (_root.ENEMY._x < _x)) && (shadowmode < 1)) {
this.gotoAndPlay("impale");
_xscale = 55;
hits = 0;
damage = 0;
jump = 0;
combo = 0;
falling = 0;
hangtime = 0;
plundge = 5;
friction2 = 0;
_root.Health = _root.Health - 80;
}
if ((gravity < 0) && (_y > 350)) {
this.gotoAndStop("plummet");
plundge = 2;
}
if (die == 1) {
this.dead.gotoAndStop(1);
}
if ((die == 2) && (_y > 300)) {
this.dead.gotoAndStop(2);
}
if ((die == 3) && (_y > 300)) {
this.dead.gotoAndStop(3);
}
if (_root.OAmission < 9) {
_root.OAmission = 9;
}
if ((_root.ENEMY.DEAD > 0) && (_root.ENEMY._xscale > 0)) {
this._x = this._x + 1.5;
}
if ((_root.ENEMY.DEAD > 0) && (_root.ENEMY._xscale < 0)) {
this._x = this._x - 1.5;
}
if ((timestart > 500) && (_root.ENEMY._y < 350)) {
_root.ENEMY.hangtime = 3;
_root.ENEMY.play();
}
if ((timestart > 500) && (_root.ENEMY2._y < 350)) {
_root.ENEMY2.hangtime = 3;
_root.ENEMY2.play();
}
if ((timestart > 500) && (_root.ENEMY3._y < 350)) {
_root.ENEMY3.hangtime = 3;
_root.ENEMY3.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY.hangtime = 3;
_root.ENEMY.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY2._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY2.hangtime = 3;
_root.ENEMY2.play();
}
if ((((key.IsDown(38) && (key.IsDown(65))) && (_root.ENEMY3._y < 350)) && (timestop > 0)) && (DTIME > 30)) {
_root.ENEMY3.hangtime = 3;
_root.ENEMY3.play();
} else {
_rotation = 0;
}
GTIME = GTIME + 1;
PTIME = PTIME + 1;
DTIME = DTIME + 1;
}
Instance of Symbol 1324 MovieClip "ENEMY" in Frame 79
onClipEvent (load) {
Health = 30000;
Hangtime = 2;
jump = 0;
falling = 0;
plundge = 0;
faller = 0;
attack = 0;
damage = 0;
friction = 0;
friction2 = 0;
shadowmode = 0;
attacktimer = 0;
DEVILTIMER = 0;
DEVIL = 0;
gravity = 1;
this.transform._visible = false;
this.fire._alpha = 0;
}
onClipEvent (enterFrame) {
if (damage < 0) {
damage = 0;
friction2 = 0;
}
if (attack < 0) {
attack = 0;
friction = 0;
}
if ((((DEVILtimer > 800) && (DEVIL < 1)) && (_root.player.pause < 1)) && (_root.Health > 0)) {
DEVIL = 5;
DEVILtimer = 0;
this.transform.gotoAndStop(2);
this.transform._visible = true;
}
if ((((DEVILtimer > 800) && (DEVIL > 0)) && (_root.player.pause < 1)) && (_root.Health > 0)) {
DEVIL = 0;
DEVILtimer = 0;
this.transform.gotoAndStop(1);
this.transform._visible = true;
}
if (DEVIL > 0) {
this.SWORD.strike.head.gotoAndStop(2);
this.SWORD.strike.body.gotoAndStop(2);
this.SWORD.strike.capel.gotoAndStop(2);
this.SWORD.strike.cape.gotoAndStop(2);
this.SWORD.strike.arm.gotoAndStop(2);
this.SWORD.strike.Larm.gotoAndStop(2);
this.SWORD.strike.glow.gotoAndStop(2);
this.HURT.head.gotoAndStop(2);
this.HURT.body.gotoAndStop(2);
this.HURT.capel.gotoAndStop(2);
this.HURT.glow.gotoAndStop(2);
this.HURT.cape.gotoAndStop(2);
this.HURT.arm.gotoAndStop(2);
this.HURT.Larm.gotoAndStop(2);
}
if (DEVIL < 0) {
this.SWORD.strike.head.gotoAndStop(1);
this.SWORD.strike.body.gotoAndStop(1);
this.SWORD.strike.capel.gotoAndStop(1);
this.SWORD.strike.cape.gotoAndStop(1);
this.SWORD.strike.arm.gotoAndStop(1);
this.SWORD.strike.Larm.gotoAndStop(1);
this.SWORD.strike.glow.gotoAndStop(1);
this.HURT.head.gotoAndStop(1);
this.HURT.body.gotoAndStop(1);
this.HURT.capel.gotoAndStop(1);
this.HURT.glow.gotoAndStop(1);
this.HURT.cape.gotoAndStop(1);
this.HURT.arm.gotoAndStop(1);
this.HURT.Larm.gotoAndStop(1);
}
if ((((((_root.player._x > (_x + 50)) && (damage < 1)) && (attack < 1)) && (Health > 0)) && (_root.player.pause < 1)) && (_root.Health > 0)) {
_xscale = 80;
}
if ((((((_root.player._x < (_x - 50)) && (damage < 1)) && (attack < 1)) && (Health > 0)) && (_root.player.pause < 1)) && (_root.Health > 0)) {
_xscale = -80;
}
if (_xscale > 0) {
this._x = this._x - damage;
}
if (_xscale < 0) {
this._x = this._x + damage;
}
if ((_root.player.timestop < 1) && (_xscale < 0)) {
this._x = this._x - attack;
}
if ((_root.player.timestop < 1) && (_xscale > 0)) {
this._x = this._x + attack;
}
if ((this.Core.hitTest(_root.player.GUNBOX) && (_root.player.target1 == 1)) && (shadower < 1)) {
this.gotoAndPlay("shot");
attack = 0;
friction = 0;
attacktimer = 50;
damage = 7;
friction2 = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (1.5 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if (this.Core.hitTest(_root.player.GUNBOX2) && (shadower < 1)) {
this.gotoAndPlay("shot");
attack = 0;
friction = 0;
attacktimer = 50;
damage = 7;
friction2 = 1;
jump = 2.4;
hangtime = 1;
falling = 3;
Health = Health - (1.5 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 3);
_root.Score = _root.Score + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (this.Core.hitTest(_root.player.SWORDBOX) && (shadower < 1)) {
this.gotoAndPlay("slash");
attack = 0;
friction = 0;
damage = 17;
attacktimer = 50;
friction2 = 2;
jump = 7;
hangtime = 2;
falling = 0;
Health = Health - (20 * _root.player.strength);
_root.Score = _root.Score + 40;
_root.Combo.gotoAndPlay(2);
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (_root.player.DEVIL * 10);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (((this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target1 == 1)) && (Health > 1)) && (shadower < 1)) {
this.gotoAndPlay("shot");
attack = 0;
friction = 0;
damage = 27;
friction2 = 2;
AIattack = 40;
attacktimer = 50;
jump = 7;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (1000 * _root.player.strength);
} else if (this.Core.hitTest(_root.player.RIPBOX) && (shadower < 1)) {
this.gotoAndPlay("slash");
attack = 0;
friction = 0;
damage = 20;
attacktimer = 50;
friction2 = 2;
jump = 28;
hangtime = 2;
falling = 0;
Health = Health - (30 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 80;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if ((this.Core.hitTest(_root.player.STABBOX) && (_root.player.target1 == 1)) && (shadower < 1)) {
this.gotoAndPlay("slash");
attack = 0;
friction = 0;
damage = 3;
friction2 = 1;
attacktimer = 50;
jump = 40;
hangtime = 2;
falling = 0;
Health = Health - (35 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 20);
_root.Score = _root.Score + 60;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
}
if (((this.Core.hitTest(_root.player.GUNBOX) && (Health < 1)) && (_root.player.target1 == 1)) && (shadower < 1)) {
this.gotoAndPlay("death2");
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
attack = 0;
friction = 0;
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
attacktimer = 50;
_root.player.comboreset = 0;
}
if ((this.Core.hitTest(_root.player.GUNBOX2) && (Health < 1)) && (shadower < 1)) {
this.gotoAndPlay("death2");
attack = 0;
friction = 0;
Health = Health - (2 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
attacktimer = 50;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if ((this.Core.hitTest(_root.player.SWORDBOX) && (Health < 1)) && (shadower < 1)) {
this.gotoAndPlay("death2");
attack = 0;
friction = 0;
Health = Health - (30 * _root.player.strength);
Health = Health - (_root.player.DEVIL * 10);
autospawn = 0;
rebirth = 1;
_root.kills = _root.kills + 1;
attacktimer = 50;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 20;
_root.Combo.hits = _root.Combo.hits + 1;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if ((this.Core.hitTest(_root.player.RIPBOX) && (Health < 1)) && (shadower < 1)) {
this.gotoAndPlay("death2");
Health = Health - (_root.player.DEVIL * 10);
attack = 0;
friction = 0;
Health = Health - (50 * _root.player.strength);
autospawn = 0;
rebirth = 1;
attacktimer = 50;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 200;
_root.Combo.gotoAndPlay(2);
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
} else if (((this.Core.hitTest(_root.player.STABBOX) && (Health < 1)) && (_root.player.target1 == 1)) && (shadower < 1)) {
this.gotoAndPlay("death2");
attack = 0;
friction = 0;
Health = Health - (_root.player.DEVIL * 10);
Health = Health - (55 * _root.player.strength);
autospawn = 0;
rebirth = 1;
attacktimer = 50;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
_root.Score = _root.Score + 100;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(3);
} else if (((this.Core.hitTest(_root.player.SHOTBOX) && (Health > 0)) && (_root.player.target1 == 1)) && (shadower < 1)) {
this.gotoAndPlay("slash");
attack = 0;
friction = 0;
damage = 27;
friction2 = 2;
jump = 7;
hangtime = 2;
attacktimer = 50;
falling = 0;
Health = Health - (20 * _root.player.strength);
_root.Score = _root.Score + 50;
_root.player.combo = _root.player.combo + 1;
_root.player.comboset = 1;
_root.player.comboreset = 0;
_root.Combo.gotoAndPlay(2);
} else if (((this.Core.hitTest(_root.player.SHOTBOX) && (Health < 1)) && (_root.player.target1 == 1)) && (shadower < 1)) {
this.gotoAndPlay("death2");
attack = 0;
friction = 0;
damage = 27;
friction2 = 2;
attacktimer = 50;
jump = 7;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (50 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if ((this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target1 == 1)) && (shadower < 1)) {
this.gotoAndPlay("slash");
attack = 0;
friction = 0;
damage = 37;
friction2 = 2;
attacktimer = 50;
jump = 7;
hangtime = 2;
autospawn = 0;
falling = 0;
_root.player.combo = 150;
}
if (this._x > 800) {
defend = defend + 2;
this._x = 800;
} else if (((this.Core.hitTest(_root.player.BOOMBOX) && (_root.player.target1 == 1)) && (Health < 1)) && (shadower < 1)) {
this.gotoAndPlay("death2");
attack = 0;
friction = 0;
damage = 27;
friction2 = 2;
attacktimer = 0;
jump = 7;
_root.kills = _root.kills + 1;
_root.overallkills = _root.overallkills + 1;
hangtime = 2;
falling = 0;
rebirth = 2;
Health = Health - (50 * _root.player.strength);
_root.Score = _root.Score + 200;
_root.player.combo = _root.player.combo + 1;
_root.player.comboreset = 0;
_root.player.comboset = 1;
} else if (this._x < 0) {
defend = defend + 2;
this._x = 0;
}
if ((this._x > 800) && (defend > 15)) {
defend = 0;
this._x = 800;
this.BURST.strike.play();
attacktimer = 30;
} else if ((this._x < 0) && (defend > 4)) {
defend = 0;
this._x = 0;
this.BURST.strike.play();
attacktimer = 30;
}
if (_root.BHP.meter._width < _root.BHP.meter2._width) {
_root.BHP.meter2._width = _root.BHP.meter2._width - 0.05;
}
if (_root.BHP.meter._width < (_root.BHP.meter2._width - 25)) {
_root.BHP.meter2._width = _root.BHP.meter2._width - 1;
}
if (_root.BHP.meter._width < (_root.BHP.meter2._width - 40)) {
_root.BHP.meter2._width = _root.BHP.meter2._width - 2;
}
if ((_root.player.combo > 140) && (_root.player.pause < 1)) {
this.BURST.strike.play();
attacktimer = 60;
}
if (this.SWORD.strike.hitbox.hitTest(_root.player.CORE)) {
attack = 0;
friction = 0;
}
if (Health < 1) {
_y = 334;
DEVIL = 0;
attacktimer = 0;
DEVILTIMER = 0;
_root.exit.play();
}
if (_root.player.pause > 0) {
this.SWORD.gotoAndStop(1);
motion = 0;
attack = 0;
jump = 0;
damage = 0;
friction = 0;
friction2 = 0;
}
if (this.Core.hitTest(_root.player.SWORDBOX && (_root.player.blade == 3))) {
flames = 80;
} else if (this.Core.hitTest(_root.player.RIPBOX) && (_root.player.blade == 3)) {
flames = 80;
}
if (Health > 0) {
this.fire._alpha = flames;
flames = flames - 1;
}
if (Health < 1) {
flames = 0;
}
if ((_root.player.DTIME > 20) && (_root.player.DTIME < 25)) {
hangtime = 1;
}
if (((_root.player.timestop < 1) && (_root.player.pause < 1)) && (_root.Health > 1)) {
Attacktimer = Attacktimer + 1;
Staberfill = Staberfill + 1;
}
if ((Attacktimer > 55) && (Attacktimer < 57)) {
this.SWORD.gotoAndStop("combo");
}
if ((Attacktimer > 180) && (Attacktimer < 181)) {
this.SWORD.gotoAndStop("attack1");
attack = 40;
friction = 1.5;
}
if ((Attacktimer > 200) && (Attacktimer < 201)) {
this.SWORD.gotoAndStop("upperstrike");
attack = 20;
friction = 2;
jump = 30;
hangtime = 2.5;
}
if ((attacktimer > 225) && (attacktimer < 226)) {
this.SWORD.gotoAndStop("energyblast");
hangtime = 6;
attack = 23;
friction = 1.5;
}
if (attacktimer > 260) {
attacktimer = 50;
}
if (((blaster < 30) && (_root.Health > 0)) && (_root.player.pause < 1)) {
_root.blast._x = _root.player._x;
_root.blast._y = _root.player._y;
}
if ((((blaster > 35) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (_root.Health > 0)) {
_root.blast.play;
}
if (_root.player.pause > 0) {
_root.blast.stop();
}
if ((((_root.blast.hitbox.hitTest(_root.player.core) && (_root.player._x > _root.blast._x)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (_root.player.shadowmode < 1)) {
_root.player.gotoAndPlay("down");
_root.player.jump = 0;
attacktimer = 260;
_root.Health = _root.Health - 80;
_root.player.hangtime = 0;
_root.player._xscale = 55;
_root.player.falling = 0;
_root.player.faller = 0;
_root.player.Damage = 30;
_root.player.friction2 = 1.5;
_root.player.plundge = 9;
_root.player.combo = 0;
_root.player.motion = 0;
}
if ((((_root.blast.hitbox.hitTest(_root.player.core) && (_root.player._x < _root.blast._x)) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (_root.player.shadowmode < 1)) {
_root.player.gotoAndPlay("down");
_root.player.jump = 0;
attacktimer = 260;
_root.Health = _root.Health - 80;
_root.player.hangtime = 0;
_root.player._xscale = -55;
_root.player.falling = 0;
_root.player.faller = 0;
_root.player.Damage = 30;
_root.player.friction2 = 1.5;
_root.player.plundge = 9;
_root.player.combo = 0;
_root.player.motion = 0;
}
if (_root.player.timestop > 0) {
this.SWORD.strike.stop();
this.SWORD.strike.runner.stop();
}
if (_root.player.timestop < 1) {
this.SWORD.strike.play();
this.SWORD.strike.runner.play();
}
if ((this.BURST.strike.hitbox.hitTest(_root.player) && (_xscale > 0)) && (_root.Health > 0)) {
_root.player._xscale = 55;
_root.Health = _root.Health - 200;
_root.player.gotoAndPlay("down");
_root.player.plundge = 5;
_root.player.damage = 30;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.falling = 0;
_root.player.hangtime = 0;
_root.player.plundge = 5;
_root.player.combo = 0;
}
if ((this.BURST.strike.hitbox.hitTest(_root.player) && (_xscale < 0)) && (_root.Health > 0)) {
_root.player._xscale = -55;
_root.Health = _root.Health - 200;
_root.player.gotoAndPlay("down");
_root.player.plundge = 5;
_root.player.damage = 30;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.falling = 0;
_root.player.hangtime = 0;
_root.player.plundge = 5;
_root.player.combo = 0;
}
if (((this.SWORD.strike.ripbox.hitTest(_root.player) && (_xscale > 0)) && (_root.Health > 0)) && (_root.player.shadowmode < 1)) {
_root.player._xscale = 55;
_root.Health = _root.Health - 50;
_root.player.gotoAndPlay("hurt");
_root.player.plundge = 0;
_root.player.damage = 10;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.falling = 0;
_root.player.hangtime = 1;
_root.player.plundge = 0;
_root.player.combo = 0;
_root.player.jump = 50;
}
if (((this.SWORD.strike.ripbox.hitTest(_root.player) && (_xscale < 0)) && (_root.Health > 0)) && (_root.player.shadowmode < 1)) {
_root.player._xscale = -55;
_root.Health = _root.Health - 50;
_root.player.gotoAndPlay("hurt");
_root.player.plundge = 0;
_root.player.damage = 10;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.jump = 50;
_root.player.falling = 0;
_root.player.hangtime = 1;
_root.player.plundge = 0;
_root.player.combo = 0;
}
if (_root.player.gravity > 0) {
this._y = this._y - jump;
this._y = this._y + falling;
this._y = this._y + faller;
this.pform._visible = false;
_yscale = 80;
}
if ((((_y > 345) && (falling > 5)) && (_root.Health > 0)) && (_root.player.gravity > 0)) {
this.SWORD.gotoAndStop(1);
_y = 345;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 0;
faller = 0;
}
if (((_y > 345) && (faller > 0)) && (_root.player.gravity > 0)) {
_y = 345;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 0;
faller = 0;
}
if (_root.player.gravity < 0) {
this._y = this._y + jump;
_yscale = -80;
this._y = this._y - falling;
this._y = this._y - faller;
}
if ((((_y < 71) && (falling > 5)) && (_root.Health > 0)) && (_root.player.gravity < 0)) {
this.SWORD.gotoAndStop(1);
_y = 91;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 0;
faller = 0;
}
if (((_y < 91) && (faller > 0)) && (_root.player.gravity < 0)) {
_y = 91;
falling = 0;
hangtime = 0;
jump = 0;
plundge = 0;
faller = 0;
}
if ((_y < 80) && (_root.player.gravity < 0)) {
this.pform._visible = true;
}
if (((_root.player.timestop < 1) && (_root.player.pause < 1)) && (_root.Health > 0)) {
phantom = phantom + 1;
}
if ((phantom > 500) && (phantom < 505)) {
this.phantomattack.gotoAndPlay("enter");
}
if ((phantom > 500) && (phantom < 850)) {
shadowmode = 5;
}
if (phantom > 850) {
phantom = 0;
this.phantomattack.gotoAndPlay("exit");
shadowmode = 0;
}
if (phantom < 500) {
shadowmode = 0;
}
if (shadowmode > 0) {
my_color = new Color(this.SWORD);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
this.SWORD._alpha = 50;
my_color = new Color(this.HURT);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
this.HURT._alpha = 50;
my_color = new Color(this.TAIL2);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_alpha = 50;
my_color = new Color(this.transform);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_alpha = 100;
my_color = new Color(this.Pform);
myColorTransform = {ra:-100, rb:-250, ga:-100, gb:130, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
_alpha = 100;
}
if (shadowmode < 1) {
my_color = new Color(this.SWORD);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
this.SWORD._alpha = 100;
my_color = new Color(this.transform);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_alpha = 100;
my_color = new Color(this.Pform);
myColorTransform = {ra:100, rb:250, ga:100, gb:-130, ba:100, bb:-250};
my_color.setTransform(myColorTransform);
_alpha = 100;
my_color = new Color(this.HURT);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
this.HURT._alpha = 100;
my_color = new Color(this.TAIL2);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
_alpha = 100;
}
if (_root.player.timestop > 0) {
shadower = 0;
}
if ((shadowmode > 0) && (_root.player.timestop < 1)) {
shadower = 2;
}
if (shadowmode < 1) {
shadower = 0;
}
if (Health < 1) {
this.SWORD.gotoAndStop(1);
attacker = 0;
filler = 0;
blaster = 0;
shadowmode = 0;
shadower = 0;
phantom = 0;
_root.player.stop();
_root.player.motion = 0;
_root.player.jump = 0;
_root.player.plundge = 0;
_root.player.faller = 0;
_root.player.hangtime = 0;
_root.player.falling = 0;
_root.player.attack = 0;
_root.player.damage = 0;
_root.player.friction = 0;
_root.player.friction2 = 0;
_root.blast.gotoAndStop(1);
_root.player.timestop = 0;
}
if ((_root.player.GTIME > 5) && (_root.player.DTIME < 7)) {
hangtime = 1;
}
if (staberfill > 300) {
this.TAIL2.gotoAndStop(2);
}
if (staberfill > 500) {
staberfill = 0;
}
if (_root.player.pause > 0) {
this.TAIL.strike.gotoAndStop(1);
this.TAIL2.strike.gotoAndStop(1);
this.TAIL.gotoAndStop(1);
this.TAIL2.gotoAndStop(1);
this.SWORD.strike.gotoAndStop(1);
this.SWORD.gotoAndStop(1);
}
if (staberfill < 300) {
this.TAIL2.gotoAndStop(1);
}
if ((((this.TAIL2.strike.hitbox.hitTest(_root.player.core) && (_xscale > 0)) && (_root.Health > 0)) && (_root.player.shadowmode < 1)) && (_root.player.timestop < 1)) {
_root.player._xscale = 55;
_root.Health = _root.Health - 50;
_root.player.gotoAndPlay("down");
_root.player.plundge = 5;
_root.player.damage = 40;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.plundge = 5;
_root.player.falling = 0;
_root.player.hangtime = 0;
_root.player.combo = 0;
}
if ((((this.TAIL2.strike.hitbox.hitTest(_root.player.core) && (_xscale < 0)) && (_root.Health > 0)) && (_root.player.shadowmode < 1)) && (_root.player.timestop < 1)) {
_root.player._xscale = -55;
_root.Health = _root.Health - 50;
_root.player.gotoAndPlay("down");
_root.player.plundge = 5;
_root.player.damage = 40;
_root.player.friction2 = 1.5;
_root.player.gravity = 1;
_root.player.plundge = 5;
_root.player.falling = 0;
_root.player.hangtime = 0;
_root.player.combo = 0;
}
if (_root.player.timestop > 0) {
this.TAIL2.strike.stop();
}
if (_root.player.pause > 0) {
this.TAIL2.strike.stop();
}
if (_root.player.timestop < 1) {
this.TAIL2.strike.play();
}
if ((((blaster > 35) && (_root.player.pause < 1)) && (_root.player.timestop < 1)) && (_root.Health > 0)) {
_root.blast.play;
}
if (_root.player.pause > 0) {
_root.blast.stop();
}
this.SWORD.strike.fire._visible = false;
_root.BHP.meter._width = this.Health / 50;
this.SWORD.strike.head.skin.gotoAndStop(2);
this.SWORD.strike.arm.skin.gotoAndStop(2);
this.SWORD.strike.larm.skin.gotoAndStop(2);
this.SWORD.strike.lcape.skin.gotoAndStop(2);
this.SWORD.strike.cape.skin.gotoAndStop(2);
this.HURT.head.skin.gotoAndStop(2);
this.HURT.arm.skin.gotoAndStop(2);
this.HURT.larm.skin.gotoAndStop(2);
this.HURT.lcape.skin.gotoAndStop(2);
this.HURT.cape.skin.gotoAndStop(2);
DEVILTIMER = DEVILTIMER + 1;
falling = falling + hangtime;
faller = faller + plundge;
attack = attack - friction;
damage = damage - friction2;
blaster = blaster + 1;
}
Frame 80
if (_root.OAmission < 18) {
_root.OAmission = 18;
}
_quality = "High";
stop();
Stage.showMenu = false;
Instance of Symbol 986 MovieClip in Frame 80
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if (_root.killstats < _root.kills) {
_root.killstats = _root.killstats + 1;
}
if ((_root.killstats == _root.kills) && (_root.scorestats < _root.score)) {
_root.scorestats = _root.scorestats + 90;
}
if (((_root.killstats == _root.kills) && (_root.scorestats == _root.score)) && (_root.damagestats < _root.damage)) {
_root.damagestats = _root.damagestats + 5;
}
if (_root.killstats > _root.kills) {
_root.killstats = _root.kills;
}
if (_root.damagestats > _root.damage) {
_root.damagestats = _root.damage;
}
if (_root.scorestats > _root.score) {
_root.scorestats = _root.score;
}
if (key.IsDown(32)) {
_root.killstats = _root.kills;
}
if (key.IsDown(32) && (_root.killstats == _root.kills)) {
_root.scorestats = _root.score;
}
if ((key.IsDown(32) && (_root.killstats == _root.kills)) && (_root.scorestats == _root.score)) {
_root.damagestats = _root.damage;
}
if ((((_root.scorestats > 30000) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(6);
clearer = 1;
_root.rank17 = 5;
}
if (((((_root.scorestats > 27000) && (_root.scorestats < 30000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(5);
clearer = 1;
_root.rank17 = 4;
}
if (((((_root.scorestats > 24000) && (_root.scorestats < 27000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(4);
clearer = 1;
_root.rank17 = 3;
}
if (((((_root.scorestats > 20000) && (_root.scorestats < 24000)) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(3);
clearer = 1;
_root.rank17 = 2;
}
if ((((_root.scorestats < 20000) && (_root.scorestats == _root.score)) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
this.gotoAndStop(2);
clearer = 1;
_root.rank17 = 1;
}
if (_root.OAminutes < _root.minutes) {
_root.OAminutes = _root.minutes;
_root.OAseconds = _root.seconds;
}
_root.damage = _root.Healthfull - _root.Health;
_root.minutestats = _root.minutes;
_root.secondstats = _root.seconds;
}
Frame 81
_quality = "High";
stop();
Stage.showMenu = false;
Frame 82
_quality = "High";
stop();
Stage.showMenu = false;
Frame 83
_quality = "High";
stop();
Stage.showMenu = false;
Instance of Symbol 986 MovieClip in Frame 83
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if (_root.rank1 > 4) {
this.gotoAndStop(6);
}
if (_root.rank1 == 4) {
this.gotoAndStop(5);
}
if (_root.rank1 == 3) {
this.gotoAndStop(4);
}
if (_root.rank1 == 2) {
this.gotoAndStop(3);
}
if (_root.rank1 == 1) {
this.gotoAndStop(2);
}
ranktimer = ranktimer + 1;
}
Instance of Symbol 986 MovieClip in Frame 83
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if (_root.rank2 > 4) {
this.gotoAndStop(6);
}
if (_root.rank2 == 4) {
this.gotoAndStop(5);
}
if (_root.rank2 == 3) {
this.gotoAndStop(4);
}
if (_root.rank2 == 2) {
this.gotoAndStop(3);
}
if (_root.rank2 == 1) {
this.gotoAndStop(2);
}
ranktimer = ranktimer + 1;
}
Instance of Symbol 986 MovieClip in Frame 83
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if (_root.rank3 > 4) {
this.gotoAndStop(6);
}
if (_root.rank3 == 4) {
this.gotoAndStop(5);
}
if (_root.rank3 == 3) {
this.gotoAndStop(4);
}
if (_root.rank3 == 2) {
this.gotoAndStop(3);
}
if (_root.rank3 == 1) {
this.gotoAndStop(2);
}
ranktimer = ranktimer + 1;
}
Instance of Symbol 986 MovieClip in Frame 83
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if (_root.rank4 > 4) {
this.gotoAndStop(6);
}
if (_root.rank4 == 4) {
this.gotoAndStop(5);
}
if (_root.rank4 == 3) {
this.gotoAndStop(4);
}
if (_root.rank4 == 2) {
this.gotoAndStop(3);
}
if (_root.rank4 == 1) {
this.gotoAndStop(2);
}
ranktimer = ranktimer + 1;
}
Instance of Symbol 986 MovieClip in Frame 83
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if (_root.rank5 > 4) {
this.gotoAndStop(6);
}
if (_root.rank5 == 4) {
this.gotoAndStop(5);
}
if (_root.rank5 == 3) {
this.gotoAndStop(4);
}
if (_root.rank5 == 2) {
this.gotoAndStop(3);
}
if (_root.rank5 == 1) {
this.gotoAndStop(2);
}
ranktimer = ranktimer + 1;
}
Instance of Symbol 986 MovieClip in Frame 83
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if (_root.rank6 > 4) {
this.gotoAndStop(6);
}
if (_root.rank6 == 4) {
this.gotoAndStop(5);
}
if (_root.rank6 == 3) {
this.gotoAndStop(4);
}
if (_root.rank6 == 2) {
this.gotoAndStop(3);
}
if (_root.rank6 == 1) {
this.gotoAndStop(2);
}
ranktimer = ranktimer + 1;
}
Instance of Symbol 986 MovieClip in Frame 83
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if (_root.rank7 > 4) {
this.gotoAndStop(6);
}
if (_root.rank7 == 4) {
this.gotoAndStop(5);
}
if (_root.rank7 == 3) {
this.gotoAndStop(4);
}
if (_root.rank7 == 2) {
this.gotoAndStop(3);
}
if (_root.rank7 == 1) {
this.gotoAndStop(2);
}
ranktimer = ranktimer + 1;
}
Instance of Symbol 986 MovieClip in Frame 83
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if (_root.rank8 > 4) {
this.gotoAndStop(6);
}
if (_root.rank8 == 4) {
this.gotoAndStop(5);
}
if (_root.rank8 == 3) {
this.gotoAndStop(4);
}
if (_root.rank8 == 2) {
this.gotoAndStop(3);
}
if (_root.rank8 == 1) {
this.gotoAndStop(2);
}
ranktimer = ranktimer + 1;
}
Instance of Symbol 986 MovieClip in Frame 83
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if (_root.rank9 > 4) {
this.gotoAndStop(6);
}
if (_root.rank9 == 4) {
this.gotoAndStop(5);
}
if (_root.rank9 == 3) {
this.gotoAndStop(4);
}
if (_root.rank9 == 2) {
this.gotoAndStop(3);
}
if (_root.rank9 == 1) {
this.gotoAndStop(2);
}
ranktimer = ranktimer + 1;
}
Instance of Symbol 986 MovieClip in Frame 83
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if (_root.rank10 > 4) {
this.gotoAndStop(6);
}
if (_root.rank10 == 4) {
this.gotoAndStop(5);
}
if (_root.rank10 == 3) {
this.gotoAndStop(4);
}
if (_root.rank10 == 2) {
this.gotoAndStop(3);
}
if (_root.rank10 == 1) {
this.gotoAndStop(2);
}
ranktimer = ranktimer + 1;
}
Instance of Symbol 986 MovieClip in Frame 83
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if (_root.rank11 > 4) {
this.gotoAndStop(6);
}
if (_root.rank11 == 4) {
this.gotoAndStop(5);
}
if (_root.rank11 == 3) {
this.gotoAndStop(4);
}
if (_root.rank11 == 2) {
this.gotoAndStop(3);
}
if (_root.rank11 == 1) {
this.gotoAndStop(2);
}
ranktimer = ranktimer + 1;
}
Instance of Symbol 986 MovieClip in Frame 83
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if (_root.rank12 > 4) {
this.gotoAndStop(6);
}
if (_root.rank12 == 4) {
this.gotoAndStop(5);
}
if (_root.rank12 == 3) {
this.gotoAndStop(4);
}
if (_root.rank12 == 2) {
this.gotoAndStop(3);
}
if (_root.rank12 == 1) {
this.gotoAndStop(2);
}
ranktimer = ranktimer + 1;
}
Instance of Symbol 986 MovieClip in Frame 83
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if (_root.rank13 > 4) {
this.gotoAndStop(6);
}
if (_root.rank13 == 4) {
this.gotoAndStop(5);
}
if (_root.rank13 == 3) {
this.gotoAndStop(4);
}
if (_root.rank13 == 2) {
this.gotoAndStop(3);
}
if (_root.rank13 == 1) {
this.gotoAndStop(2);
}
ranktimer = ranktimer + 1;
}
Instance of Symbol 986 MovieClip in Frame 83
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if (_root.rank14 > 4) {
this.gotoAndStop(6);
}
if (_root.rank14 == 4) {
this.gotoAndStop(5);
}
if (_root.rank14 == 3) {
this.gotoAndStop(4);
}
if (_root.rank14 == 2) {
this.gotoAndStop(3);
}
if (_root.rank14 == 1) {
this.gotoAndStop(2);
}
ranktimer = ranktimer + 1;
}
Instance of Symbol 986 MovieClip in Frame 83
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if (_root.rank15 > 4) {
this.gotoAndStop(6);
}
if (_root.rank15 == 4) {
this.gotoAndStop(5);
}
if (_root.rank15 == 3) {
this.gotoAndStop(4);
}
if (_root.rank15 == 2) {
this.gotoAndStop(3);
}
if (_root.rank15 == 1) {
this.gotoAndStop(2);
}
ranktimer = ranktimer + 1;
}
Instance of Symbol 986 MovieClip in Frame 83
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if (_root.rank16 > 4) {
this.gotoAndStop(6);
}
if (_root.rank16 == 4) {
this.gotoAndStop(5);
}
if (_root.rank16 == 3) {
this.gotoAndStop(4);
}
if (_root.rank16 == 2) {
this.gotoAndStop(3);
}
if (_root.rank16 == 1) {
this.gotoAndStop(2);
}
ranktimer = ranktimer + 1;
}
Instance of Symbol 986 MovieClip in Frame 83
onClipEvent (load) {
_root.killstats = 0;
_root.scorestats = 0;
_root.damagestats = 0;
_root.minutestats = 0;
_root.secondstats = 0;
}
onClipEvent (enterFrame) {
if (_root.rank17 > 4) {
this.gotoAndStop(6);
}
if (_root.rank17 == 4) {
this.gotoAndStop(5);
}
if (_root.rank17 == 3) {
this.gotoAndStop(4);
}
if (_root.rank17 == 2) {
this.gotoAndStop(3);
}
if (_root.rank17 == 1) {
this.gotoAndStop(2);
}
ranktimer = ranktimer + 1;
}
Symbol 11 Button
on (release) {
_root.exit.play();
}
Symbol 12 Button
on (release) {
_root.screen.gotoAndStop(2);
}
Symbol 16 Button
on (release) {
_root.exit2.gotoAndPlay("totalranks");
}
Symbol 18 MovieClip Frame 2
stop();
Symbol 18 MovieClip Frame 3
stop();
Symbol 29 Button
on (release) {
var savefile = SharedObject.getLocal("FearUnlimited");
if (savefile.data.lightning == undefined) {
_root.lightning = 0;
_root.HellFire = 0;
} else {
_root.lightning = savefile.data.lightning;
_root.HellFire = savefile.data.HellFire;
}
}
on (release) {
var savefile = SharedObject.getLocal("FearUnlimited");
if (savefile.data.devilsdemise == undefined) {
_root.devilsdemise = 0;
} else {
_root.devilsdemise = savefile.data.devilsdemise;
}
}
on (release) {
var savefile = SharedObject.getLocal("FearUnlimited");
if (savefile.data.shotgun == undefined) {
_root.shotgun = 0;
_root.grenade = 0;
} else {
_root.shotgun = savefile.data.shotgun;
_root.grenade = savefile.data.grenade;
}
}
on (release) {
var savefile = SharedObject.getLocal("FearUnlimited");
if (savefile.data.submachine == undefined) {
_root.submachine = 0;
} else {
_root.submachine = savefile.data.submachine;
}
}
on (release) {
var savefile = SharedObject.getLocal("FearUnlimited");
if (savefile.data.OAmission == undefined) {
_root.OAmission = 0;
_root.overallkills = 0;
} else {
_root.OAmission = savefile.data.OAmission;
_root.overallkills = savefile.data.overallkills;
}
}
on (release) {
var savefile = SharedObject.getLocal("FearUnlimited");
if (savefile.data.level == undefined) {
_root.level = 0;
} else {
_root.level = savefile.data.level;
}
}
on (release) {
var savefile = SharedObject.getLocal("FearUnlimited");
if (savefile.data.deaths == undefined) {
_root.deaths = 0;
} else {
_root.deaths = savefile.data.deaths;
}
}
on (release) {
var savefile = SharedObject.getLocal("FearUnlimited");
if (savefile.data.rank1 == undefined) {
_root.rank1 = 0;
_root.rank2 = 0;
} else {
_root.rank1 = savefile.data.rank1;
_root.rank2 = savefile.data.rank2;
}
}
on (release) {
var savefile = SharedObject.getLocal("FearUnlimited");
if (savefile.data.rank3 == undefined) {
_root.rank3 = 0;
_root.rank4 = 0;
} else {
_root.rank3 = savefile.data.rank3;
_root.rank4 = savefile.data.rank4;
}
}
on (release) {
var savefile = SharedObject.getLocal("FearUnlimited");
if (savefile.data.rank5 == undefined) {
_root.rank5 = 0;
_root.rank6 = 0;
} else {
_root.rank5 = savefile.data.rank5;
_root.rank6 = savefile.data.rank6;
}
}
on (release) {
var savefile = SharedObject.getLocal("FearUnlimited");
if (savefile.data.rank7 == undefined) {
_root.rank7 = 0;
_root.rank8 = 0;
} else {
_root.rank7 = savefile.data.rank7;
_root.rank8 = savefile.data.rank8;
}
}
on (release) {
var savefile = SharedObject.getLocal("FearUnlimited");
if (savefile.data.rank9 == undefined) {
_root.rank9 = 0;
_root.rank10 = 0;
} else {
_root.rank9 = savefile.data.rank9;
_root.rank10 = savefile.data.rank10;
}
}
on (release) {
var savefile = SharedObject.getLocal("FearUnlimited");
if (savefile.data.rank11 == undefined) {
_root.rank11 = 0;
_root.rank12 = 0;
} else {
_root.rank11 = savefile.data.rank11;
_root.rank12 = savefile.data.rank12;
}
}
on (release) {
var savefile = SharedObject.getLocal("FearUnlimited");
if (savefile.data.rank12 == undefined) {
_root.rank12 = 0;
_root.rank13 = 0;
} else {
_root.rank12 = savefile.data.rank12;
_root.rank13 = savefile.data.rank13;
}
}
on (release) {
var savefile = SharedObject.getLocal("FearUnlimited");
if (savefile.data.rank14 == undefined) {
_root.rank14 = 0;
_root.rank15 = 0;
} else {
_root.rank14 = savefile.data.rank14;
_root.rank15 = savefile.data.rank15;
}
}
on (release) {
var savefile = SharedObject.getLocal("FearUnlimited");
if (savefile.data.rank16 == undefined) {
_root.rank16 = 0;
_root.rank17 = 0;
} else {
_root.rank16 = savefile.data.rank16;
_root.rank17 = savefile.data.rank17;
}
}
on (release) {
var savefile = SharedObject.getLocal("FearUnlimited");
if (savefile.data.rank18 == undefined) {
_root.rank18 = 0;
_root.rank19 = 0;
} else {
_root.rank18 = savefile.data.rank18;
_root.rank19 = savefile.data.rank19;
}
}
on (release) {
var savefile = SharedObject.getLocal("FearUnlimited");
if (savefile.data.Speedheart == undefined) {
_root.Speedheart = 0;
_root.Endureheart = 0;
} else {
_root.Speedheart = savefile.data.Speedheart;
_root.Endureheart = savefile.data.Endureheart;
}
}
on (release) {
var savefile = SharedObject.getLocal("FearUnlimited");
if (savefile.data.NEWHours == undefined) {
_root.NEWHours = 0;
_root.NEWMinutes = 0;
} else {
_root.NEWHours = savefile.data.NEWHours;
_root.NEWMinutes = savefile.data.NEWMinutes;
}
}
on (release) {
var savefile = SharedObject.getLocal("FearUnlimited");
if (savefile.data.seconds == undefined) {
_root.seconds = 0;
} else {
_root.seconds = savefile.data.seconds;
}
}
on (release) {
var savefile = SharedObject.getLocal("FearUnlimited");
if (savefile.data.quality == undefined) {
_root.quality = 1;
_root.rumble = 0;
} else {
_root.quality = savefile.data.quality;
_root.rumble = savefile.data.rumble;
}
}
on (release) {
_root.screen.NL.play();
}
Symbol 33 Button
on (release) {
_root.exit2.play();
}
Symbol 39 MovieClip Frame 1
stop();
Symbol 39 MovieClip Frame 73
if (_root.OAmission < 18) {
_root.screen.mission = _root.OAmission;
}
if (_root.OAmission >= 18) {
_root.screen.mission = _root.OAmission - 1;
}
Symbol 48 Button
on (release) {
if ((_root.screen.mission < _root.OAmission) && (_root.OAmission < 18)) {
_root.screen.mission = _root.screen.mission + 1;
}
}
on (release) {
if ((_root.screen.mission < 17) && (_root.OAmission >= 18)) {
_root.screen.mission = _root.screen.mission + 1;
}
}
Symbol 49 Button
on (release) {
if (_root.screen.mission > 1) {
_root.screen.mission = _root.screen.mission - 1;
}
}
Symbol 56 MovieClip Frame 1
stop();
Symbol 56 MovieClip Frame 2
stop();
Symbol 70 Button
on (release) {
getURL ("http://www.ArmorGames.com");
}
Symbol 93 Button
on (release) {
getURL ("http://www.dizimz.net/", "_blank");
}
Symbol 97 Button
on (release) {
_quality = "High";
}
Symbol 100 Button
on (release) {
_quality = "Medium";
}
Symbol 103 Button
on (release) {
_quality = "Low";
}
Symbol 119 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
gotoAndStop (3);
}
tellTarget ("/exit") {
gotoAndStop (1);
};
Symbol 119 MovieClip Frame 2
gotoAndPlay (1);
tellTarget ("/exit") {
gotoAndStop (1);
};
Symbol 119 MovieClip Frame 3
play();
Symbol 119 MovieClip Frame 4
play();
Symbol 119 MovieClip Frame 44
stop();
Symbol 132 Button
on (release) {
_root.quality = 3;
}
Symbol 133 Button
on (release) {
_root.quality = 1;
}
Symbol 134 Button
on (release) {
_root.quality = 2;
}
Symbol 135 Button
on (release) {
_root.rumble = 5;
}
Symbol 136 Button
on (release) {
_root.rumble = 0;
}
Symbol 137 Button
on (release) {
_root.exit.play();
}
Symbol 144 Button
on (release) {
_root.exit.gotoAndStop(1);
}
Symbol 151 MovieClip Frame 2
stop();
Symbol 151 MovieClip Frame 3
stop();
Symbol 151 MovieClip Frame 4
stop();
Symbol 151 MovieClip Frame 5
stop();
Symbol 151 MovieClip Frame 6
stop();
Symbol 153 MovieClip Frame 30
stop();
Symbol 159 MovieClip Frame 1
stop();
Symbol 159 MovieClip Frame 44
stop();
Symbol 159 MovieClip Frame 45
stopAllSounds();
Symbol 159 MovieClip Frame 105
_root.enter.play();
Symbol 159 MovieClip Frame 106
stopAllSounds();
_root.enter.play();
Symbol 159 MovieClip Frame 107
_root.play();
Symbol 163 MovieClip Frame 1
stop();
Symbol 163 MovieClip Frame 34
stopAllSounds();
Symbol 163 MovieClip Frame 35
if (_root.missionS <= 1) {
_root.gotoAndPlay("MI1");
}
if (_root.missionS == 2) {
_root.gotoAndPlay("MI2");
}
if (_root.missionS == 3) {
_root.gotoAndPlay("MI3");
}
if (_root.missionS == 4) {
_root.gotoAndPlay("MI4");
}
if (_root.missionS == 5) {
_root.gotoAndPlay("MI5");
}
if (_root.missionS == 6) {
_root.gotoAndPlay("MI6");
}
if (_root.missionS == 7) {
_root.gotoAndPlay("MI7");
}
if (_root.missionS == 8) {
_root.gotoAndPlay("MI8");
}
if (_root.missionS == 9) {
_root.gotoAndPlay("MI9");
}
if (_root.missionS == 10) {
_root.gotoAndPlay("MI10");
}
if (_root.missionS == 11) {
_root.gotoAndPlay("MI11");
}
if (_root.missionS == 12) {
_root.gotoAndPlay("MI12");
}
if (_root.missionS == 13) {
_root.gotoAndPlay("MI13");
}
if (_root.missionS == 14) {
_root.gotoAndPlay("MI14");
}
if (_root.missionS == 15) {
_root.gotoAndPlay("MI15");
}
if (_root.missionS == 16) {
_root.gotoAndPlay("MI16");
}
if (_root.missionS == 17) {
_root.gotoAndPlay("MI17");
}
if (_root.missionS == 18) {
_root.gotoAndPlay("MI18");
}
if (_root.missionS == 19) {
_root.gotoAndPlay("MI19");
}
Symbol 163 MovieClip Frame 36
gotoAndStop (1);
Symbol 163 MovieClip Frame 52
stopAllSounds();
Symbol 163 MovieClip Frame 53
_root.gotoAndStop("totalranks");
Symbol 163 MovieClip Frame 54
_root.gotoAndStop("totalranks");
Symbol 163 MovieClip Frame 55
gotoAndStop (1);
Symbol 163 MovieClip Frame 88
stopAllSounds();
Symbol 163 MovieClip Frame 89
_root.gotoAndStop("extra");
Symbol 163 MovieClip Frame 90
_root.gotoAndStop("extra");
Symbol 163 MovieClip Frame 91
gotoAndStop (1);
Symbol 168 MovieClip Frame 1
stop();
Symbol 168 MovieClip Frame 33
_root.enter.play();
Symbol 168 MovieClip Frame 34
stopAllSounds();
_root.enter.play();
Symbol 168 MovieClip Frame 35
_root.play();
Symbol 171 MovieClip Frame 65
stop();
Symbol 175 MovieClip Frame 1
stopAllSounds();
Symbol 175 MovieClip Frame 2
stopAllSounds();
Symbol 175 MovieClip Frame 29
stop();
Symbol 178 Button
on (release) {
_root.exit.play();
}
Symbol 186 MovieClip Frame 1
stop();
Symbol 186 MovieClip Frame 2
stopAllSounds();
Symbol 186 MovieClip Frame 73
_root.enter.play();
Symbol 186 MovieClip Frame 74
_root.enter.play();
Symbol 186 MovieClip Frame 75
_root.play();
Symbol 194 MovieClip Frame 30
gotoAndPlay (3);
Symbol 194 MovieClip Frame 31
gotoAndPlay (3);
Symbol 198 MovieClip Frame 1
stop();
Symbol 198 MovieClip Frame 2
stop();
Symbol 198 MovieClip Frame 3
stop();
Symbol 198 MovieClip Frame 4
stop();
Symbol 198 MovieClip Frame 5
stop();
Symbol 206 MovieClip Frame 1
stop();
Symbol 206 MovieClip Frame 2
stop();
Symbol 206 MovieClip Frame 3
stop();
Symbol 206 MovieClip Frame 4
stop();
Symbol 226 MovieClip Frame 1
stop();
Symbol 226 MovieClip Frame 2
stop();
Symbol 226 MovieClip Frame 3
stop();
Symbol 226 MovieClip Frame 4
stop();
Symbol 230 MovieClip Frame 1
stop();
Symbol 230 MovieClip Frame 2
stop();
Symbol 230 MovieClip Frame 3
stop();
Symbol 232 MovieClip Frame 1
stop();
Symbol 232 MovieClip Frame 2
stop();
Symbol 232 MovieClip Frame 3
stop();
Symbol 232 MovieClip Frame 4
stop();
Symbol 232 MovieClip Frame 5
stop();
Symbol 237 MovieClip Frame 1
stop();
Symbol 237 MovieClip Frame 2
stop();
Symbol 237 MovieClip Frame 3
stop();
Symbol 237 MovieClip Frame 4
stop();
Symbol 242 MovieClip Frame 1
stop();
Symbol 242 MovieClip Frame 2
stop();
Symbol 242 MovieClip Frame 3
stop();
Symbol 242 MovieClip Frame 4
stop();
Symbol 242 MovieClip Frame 5
stop();
Symbol 245 MovieClip Frame 1
stop();
Symbol 245 MovieClip Frame 2
stop();
Symbol 250 MovieClip Frame 1
stop();
Symbol 250 MovieClip Frame 2
stop();
Symbol 250 MovieClip Frame 3
stop();
Symbol 250 MovieClip Frame 4
stop();
Symbol 250 MovieClip Frame 5
stop();
Symbol 254 MovieClip Frame 1
stop();
Symbol 254 MovieClip Frame 2
stop();
Symbol 254 MovieClip Frame 3
stop();
Symbol 259 MovieClip Frame 1
stop();
Symbol 259 MovieClip Frame 2
stop();
Symbol 259 MovieClip Frame 3
stop();
Symbol 259 MovieClip Frame 4
stop();
Symbol 259 MovieClip Frame 5
stop();
Symbol 264 MovieClip Frame 1
stop();
Symbol 264 MovieClip Frame 2
stop();
Symbol 264 MovieClip Frame 3
stop();
Symbol 264 MovieClip Frame 4
stop();
Symbol 269 MovieClip Frame 1
stop();
Symbol 269 MovieClip Frame 2
stop();
Symbol 269 MovieClip Frame 3
stop();
Symbol 269 MovieClip Frame 4
stop();
Symbol 269 MovieClip Frame 5
stop();
Symbol 276 MovieClip Frame 22
stop();
Symbol 280 MovieClip Frame 6
stop();
Symbol 281 MovieClip Frame 1
stop();
Symbol 281 MovieClip Frame 2
stop();
_root.ENEMY.HURT.stop();
_root.ENEMY.hangtime = 0;
_root.ENEMY.damage = 0;
_root.ENEMY.friction = 0;
_root.ENEMY.attack = 0;
_root.ENEMY.friction2 = 0;
_root.ENEMY.falling = 0;
_root.ENEMY.jump = 0;
_root.ENEMY.faller = 0;
_root.ENEMY.plundge = 0;
_root.ENEMY2.hangtime = 0;
_root.ENEMY2.damage = 0;
_root.ENEMY2.friction = 0;
_root.ENEMY2.attack = 0;
_root.ENEMY2.friction2 = 0;
_root.ENEMY2.falling = 0;
_root.ENEMY2.jump = 0;
_root.ENEMY2.faller = 0;
_root.ENEMY2.plundge = 0;
_root.ENEMY3.hangtime = 0;
_root.ENEMY3.damage = 0;
_root.ENEMY3.friction = 0;
_root.ENEMY3.attack = 0;
_root.ENEMY3.friction2 = 0;
_root.ENEMY3.falling = 0;
_root.ENEMY3.jump = 0;
_root.ENEMY3.faller = 0;
_root.ENEMY3.plundge = 0;
_root.ENEMY.stop();
_root.ENEMY2.stop();
_root.ENEMY3.stop();
Symbol 281 MovieClip Frame 3
stop();
Symbol 282 MovieClip Frame 1
stop();
Symbol 282 MovieClip Frame 2
stop();
Symbol 282 MovieClip Frame 3
stop();
Symbol 287 MovieClip Frame 1
stop();
Symbol 287 MovieClip Frame 2
stop();
Symbol 287 MovieClip Frame 3
stop();
Symbol 287 MovieClip Frame 4
stop();
Symbol 292 MovieClip Frame 1
stop();
Symbol 292 MovieClip Frame 2
stop();
Symbol 292 MovieClip Frame 3
stop();
Symbol 292 MovieClip Frame 4
stop();
Symbol 292 MovieClip Frame 5
stop();
Symbol 297 MovieClip Frame 1
stop();
Symbol 297 MovieClip Frame 2
stop();
Symbol 297 MovieClip Frame 3
stop();
Symbol 297 MovieClip Frame 4
stop();
Symbol 302 MovieClip Frame 1
stop();
Symbol 302 MovieClip Frame 2
stop();
Symbol 302 MovieClip Frame 3
stop();
Symbol 302 MovieClip Frame 4
stop();
Symbol 302 MovieClip Frame 5
stop();
Symbol 307 MovieClip Frame 1
stop();
Symbol 307 MovieClip Frame 2
stop();
Symbol 307 MovieClip Frame 3
stop();
Symbol 307 MovieClip Frame 4
stop();
Symbol 312 MovieClip Frame 1
stop();
Symbol 312 MovieClip Frame 2
stop();
Symbol 312 MovieClip Frame 3
stop();
Symbol 312 MovieClip Frame 4
stop();
Symbol 312 MovieClip Frame 5
stop();
Symbol 318 MovieClip Frame 1
stop();
Symbol 318 MovieClip Frame 2
stop();
Symbol 318 MovieClip Frame 3
stop();
Symbol 318 MovieClip Frame 4
stop();
Symbol 323 MovieClip Frame 1
stop();
Symbol 323 MovieClip Frame 2
stop();
Symbol 323 MovieClip Frame 3
stop();
Symbol 323 MovieClip Frame 4
stop();
Symbol 323 MovieClip Frame 5
stop();
Symbol 328 MovieClip Frame 1
stop();
Symbol 328 MovieClip Frame 2
stop();
Symbol 328 MovieClip Frame 3
stop();
Symbol 328 MovieClip Frame 4
stop();
Symbol 332 MovieClip Frame 1
stop();
Symbol 332 MovieClip Frame 2
stop();
Symbol 333 MovieClip Frame 1
stop();
Symbol 333 MovieClip Frame 2
stop();
Symbol 333 MovieClip Frame 3
stop();
Symbol 333 MovieClip Frame 4
stop();
Symbol 337 MovieClip Frame 1
stop();
Symbol 337 MovieClip Frame 2
stop();
Symbol 337 MovieClip Frame 3
stop();
Symbol 337 MovieClip Frame 4
stop();
Symbol 342 MovieClip Frame 1
stop();
Symbol 342 MovieClip Frame 2
stop();
Symbol 342 MovieClip Frame 3
stop();
Symbol 342 MovieClip Frame 4
stop();
Symbol 347 MovieClip Frame 1
stop();
Symbol 347 MovieClip Frame 2
stop();
Symbol 347 MovieClip Frame 3
stop();
Symbol 347 MovieClip Frame 4
stop();
Symbol 347 MovieClip Frame 5
stop();
Symbol 355 MovieClip Frame 1
stop();
Symbol 355 MovieClip Frame 2
stop();
Symbol 355 MovieClip Frame 3
stop();
Symbol 355 MovieClip Frame 4
stop();
Symbol 355 MovieClip Frame 5
stop();
Symbol 363 MovieClip Frame 1
stop();
Symbol 363 MovieClip Frame 2
stop();
Symbol 363 MovieClip Frame 3
stop();
Symbol 363 MovieClip Frame 4
stop();
Symbol 368 MovieClip Frame 1
stop();
Symbol 368 MovieClip Frame 2
stop();
Symbol 368 MovieClip Frame 3
stop();
Symbol 368 MovieClip Frame 4
stop();
Symbol 368 MovieClip Frame 5
stop();
Symbol 372 MovieClip Frame 1
stop();
Symbol 372 MovieClip Frame 2
stop();
Symbol 372 MovieClip Frame 3
stop();
Symbol 374 MovieClip Frame 1
stop();
Symbol 374 MovieClip Frame 2
stop();
Symbol 374 MovieClip Frame 3
stop();
Symbol 374 MovieClip Frame 4
stop();
Symbol 374 MovieClip Frame 5
stop();
Symbol 379 MovieClip Frame 1
stop();
Symbol 379 MovieClip Frame 2
stop();
Symbol 379 MovieClip Frame 3
stop();
Symbol 379 MovieClip Frame 4
stop();
Symbol 384 MovieClip Frame 1
stop();
Symbol 384 MovieClip Frame 2
stop();
Symbol 384 MovieClip Frame 3
stop();
Symbol 384 MovieClip Frame 4
stop();
Symbol 384 MovieClip Frame 5
stop();
Symbol 397 MovieClip Frame 1
stop();
Symbol 397 MovieClip Frame 2
stop();
Symbol 397 MovieClip Frame 3
stop();
Symbol 397 MovieClip Frame 4
stop();
Symbol 397 MovieClip Frame 5
stop();
Symbol 422 MovieClip Frame 1
stop();
Symbol 422 MovieClip Frame 2
stop();
Symbol 422 MovieClip Frame 3
stop();
Symbol 422 MovieClip Frame 4
stop();
Symbol 422 MovieClip Frame 5
stop();
Symbol 445 MovieClip Frame 1
stop();
Symbol 445 MovieClip Frame 2
stop();
Symbol 445 MovieClip Frame 3
stop();
Symbol 445 MovieClip Frame 4
stop();
Symbol 445 MovieClip Frame 5
stop();
Symbol 466 MovieClip Frame 1
stop();
Symbol 466 MovieClip Frame 2
stop();
Symbol 466 MovieClip Frame 3
stop();
Symbol 466 MovieClip Frame 4
stop();
Symbol 494 MovieClip Frame 1
_root.player.motion = 0;
_root.player.falling = 0;
_root.player.damage = 24;
_root.player.friction2 = 2;
_root.player.hangtime = 0;
Symbol 494 MovieClip Frame 48
stop();
Symbol 521 MovieClip Frame 1
stop();
Symbol 521 MovieClip Frame 2
stop();
Symbol 550 MovieClip Frame 1
stop();
Symbol 550 MovieClip Frame 2
stop();
Symbol 550 MovieClip Frame 3
stop();
Symbol 550 MovieClip Frame 4
stop();
Symbol 550 MovieClip Frame 5
stop();
Symbol 594 MovieClip Frame 1
stop();
_root.player.motion = 16;
_root.player.taunt = 1;
if (_root.ENEMY.timer > 0) {
stop();
}
_root._y = 0;
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 1
onClipEvent (enterFrame) {
if (key.IsDown(40) && (key.IsDown(65))) {
_root.player.gotoAndPlay("evade");
}
if (key.IsDown(40)) {
_root.player.gotoAndPlay("defensive");
}
if ((key.IsDown(40) && (key.IsDown(68))) && (_root.player)) {
_root.player.gotoAndPlay("special1");
} else if (key.IsDown(65)) {
_root.player.gotoAndPlay("jump");
} else if (key.IsDown(38) && (key.IsDown(68))) {
_root.player.gotoAndPlay("liftoff");
} else if ((key.IsDown(40) && (key.IsDown(83))) && (_root.player.gun == 1)) {
_root.player.gotoAndPlay("twosometime");
} else if ((key.IsDown(38) && (key.IsDown(83))) && (_root.player.gun == 1)) {
_root.player.gotoAndPlay("upwardshot");
} else if (key.IsDown(68)) {
_root.player.gotoAndPlay("attack1");
} else if (key.IsDown(83) && (_root.player.gun == 1)) {
_root.player.gotoAndPlay("shoot");
} else if (key.IsDown(32) && (_root.player.taunt < 2)) {
_root.player.gotoAndPlay("taunt");
gotoAndPlay (1);
} else if (key.IsDown(32) && (_root.player.taunt >= 2)) {
_root.player.gotoAndPlay("taunt2");
gotoAndPlay (1);
}
}
onClipEvent (enterFrame) {
if (key.IsDown(40) && (key.IsDown(65))) {
_root.player2.gotoAndPlay("evade");
}
if (key.IsDown(40)) {
_root.player2.gotoAndPlay("defensive");
}
if ((key.IsDown(40) && (key.IsDown(68))) && (_root.player)) {
_root.player2.gotoAndPlay("special1");
} else if (key.IsDown(65)) {
_root.player2.gotoAndPlay("jump");
} else if (key.IsDown(38) && (key.IsDown(68))) {
_root.player2.gotoAndPlay("liftoff");
} else if ((key.IsDown(40) && (key.IsDown(83))) && (_root.player.gun == 1)) {
_root.player2.gotoAndPlay("twosometime");
} else if ((key.IsDown(38) && (key.IsDown(83))) && (_root.player.gun == 1)) {
_root.player2.gotoAndPlay("upwardshot");
} else if (key.IsDown(68)) {
_root.player.gotoAndPlay("attack1");
} else if (key.IsDown(83) && (_root.player.gun == 1)) {
_root.player2.gotoAndPlay("shoot");
} else if (key.IsDown(69)) {
_root.player2.gotoAndPlay("taunt");
gotoAndPlay (1);
if (_root.Health < (_root.Healthfull / 3)) {
gotoAndStop (761);
}
}
}
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 1
onClipEvent (enterFrame) {
if (key.IsDown(83) && (_root.player.gun == 2)) {
_root.player.gotoAndPlay("shotgun");
} else if ((key.IsDown(83) && (key.IsDown(40))) && (_root.player.gun == 2)) {
_root.player.gotoAndPlay("fireworks");
}
if (key.IsDown(83) && (_root.player.gun == 4)) {
_root.player.gotoAndPlay("machinegun");
}
}
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 1
onClipEvent (enterFrame) {
if (key.IsDown(83) && (_root.player.gun == 3)) {
_root.player.gotoAndPlay("grenade");
} else if ((key.IsDown(83) && (key.IsDown(40))) && (_root.player.gun == 2)) {
_root.player.gotoAndPlay("fireworks");
}
}
Symbol 594 MovieClip Frame 2
if (_root.ENEMY.timer > 0) {
stop();
}
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 2
onClipEvent (enterFrame) {
if (key.IsDown(65)) {
_root.player.gotoAndPlay("jump");
} else if (key.IsDown(38) && (key.IsDown(68))) {
_root.player.gotoAndPlay("liftoff");
} else if ((key.IsDown(40) && (key.IsDown(83))) && (_root.player.gun == 1)) {
_root.player.gotoAndPlay("twosometime");
} else if ((key.IsDown(38) && (key.IsDown(83))) && (_root.player.gun == 1)) {
_root.player.gotoAndPlay("upwardshot");
} else if (key.IsDown(68)) {
_root.player.gotoAndPlay("attack1");
} else if (key.IsDown(83) && (_root.player.gun == 1)) {
_root.player.gotoAndPlay("shoot");
}
if (key.IsDown(39)) {
_root.player.play();
} else if (key.IsDown(37)) {
_root.player.play();
} else {
_root.player.gotoAndStop(1);
}
}
onClipEvent (keyUp) {
_root.player.gotoAndStop(1);
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (key.IsDown(65)) {
_root.player2.gotoAndPlay("jump");
} else if (key.IsDown(38) && (key.IsDown(68))) {
_root.player2.gotoAndPlay("liftoff");
} else if ((key.IsDown(40) && (key.IsDown(83))) && (_root.player.gun == 1)) {
_root.player2.gotoAndPlay("twosometime");
} else if ((key.IsDown(38) && (key.IsDown(83))) && (_root.player.gun == 1)) {
_root.player2.gotoAndPlay("upwardshot");
} else if (key.IsDown(68)) {
_root.player2.gotoAndPlay("attack1");
} else if (key.IsDown(83) && (_root.player.gun == 1)) {
_root.player2.gotoAndPlay("shoot");
}
if (key.IsDown(39)) {
_root.player.play();
} else if (key.IsDown(37)) {
_root.player2.play();
} else {
_root.player2.gotoAndStop(1);
}
}
onClipEvent (keyUp) {
_root.player.gotoAndStop(1);
gotoAndStop (1);
}
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 2
onClipEvent (enterFrame) {
if (key.IsDown(83) && (_root.player.gun == 2)) {
_root.player.gotoAndPlay("shotgun");
} else if ((key.IsDown(83) && (key.IsDown(40))) && (_root.player.gun == 2)) {
_root.player.gotoAndPlay("fireworks");
}
if (key.IsDown(83) && (_root.player.gun == 4)) {
_root.player.gotoAndPlay("machinegun");
}
}
Symbol 594 MovieClip Frame 3
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 17
gotoAndPlay (2);
Symbol 594 MovieClip Frame 18
_root.player.motion = 0;
_root.player.falling = 0;
_root._y = 0;
Symbol 594 MovieClip Frame 19
_root.player.motion = 0;
_root.player.falling = 0;
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 20
_root.player.jump = 27;
_root.player.hangtime = 1.5;
_root.player.motion = 11;
if (_root.ENEMY.timer > 0) {
stop();
}
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 20
onClipEvent (enterFrame) {
if (key.IsDown(65)) {
_root.player.gotoAndPlay("airhike");
}
if (key.IsDown(40) && (key.IsDown(68))) {
_root.player.gotoAndPlay("dropATTACK");
gotoAndPlay (621);
} else if (key.IsDown(68)) {
_root.player.gotoAndPlay("aerialrave");
} else if ((key.IsDown(40) && (key.IsDown(83))) && (_root.player.gun == 1)) {
_root.player.gotoAndPlay("rainstorm");
} else if (key.IsDown(83) && (_root.player.gun == 1)) {
_root.player.gotoAndPlay("skyshot");
}
}
onClipEvent (enterFrame) {
if (key.IsDown(65)) {
_root.player2.gotoAndPlay("airhike");
}
if (key.IsDown(40) && (key.IsDown(68))) {
_root.player2.gotoAndPlay("dropATTACK");
gotoAndPlay (621);
} else if (key.IsDown(68)) {
_root.player2.gotoAndPlay("aerialrave");
} else if ((key.IsDown(40) && (key.IsDown(83))) && (_root.player.gun == 1)) {
_root.player2.gotoAndPlay("rainstorm");
} else if (key.IsDown(83) && (_root.player.gun == 1)) {
_root.player2.gotoAndPlay("skyshot");
}
}
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 20
onClipEvent (enterFrame) {
if (key.IsDown(83) && (_root.player.gun == 2)) {
_root.player.gotoAndPlay("shotgunair");
}
if (key.IsDown(83) && (_root.player.gun == 4)) {
_root.player.gotoAndPlay("machineair");
}
}
Symbol 594 MovieClip Frame 21
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 22
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 23
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 24
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 25
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 26
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 27
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 28
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 29
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 30
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 31
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 32
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 33
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 34
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 35
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 36
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 37
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 38
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 39
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 40
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 41
_root.player.hangtime = 1.5;
_root.player.motion = 11;
_root.player2.hangtime = 1.5;
_root.player2.motion = 11;
if (_root.ENEMY.timer > 0) {
stop();
}
_root._y = 0;
Symbol 594 MovieClip Frame 42
stop();
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 43
prevFrame();
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 44
_root.player.motion = 0;
play();
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 44
onClipEvent (enterFrame) {
if (key.IsDown(40) && (key.IsDown(65))) {
_root.player.gotoAndPlay("evade");
}
if (key.IsDown(68)) {
_root.player.gotoAndPlay("attack");
} else if ((key.IsDown(40) && (key.IsDown(83))) && (_root.player.gun == 1)) {
_root.player.gotoAndPlay("twosometime");
} else if ((key.IsDown(38) && (key.IsDown(83))) && (_root.player.gun == 1)) {
_root.player.gotoAndPlay("upwardshot");
}
if ((_root.player._y < 270) && (_root.player.gravity > 0)) {
_root.player.gotoAndPlay("SkyShot");
}
if ((_root.player._y > 270) && (_root.player.gravity < 0)) {
_root.player.gotoAndPlay("SkyShot");
}
if ((((_root.player.target1 == 1) && (_root.ENEMY._y < 250)) && (_root.ENEMY.Health > 0)) && (_root.player.gravity > 0)) {
_root.player.gotoAndPlay("shootup");
}
if ((((_root.player.target1 == 2) && (_root.ENEMY2._y < 250)) && (_root.ENEMY2.Health > 0)) && (_root.player.gravity > 0)) {
_root.player.gotoAndPlay("shootup");
}
if ((((_root.player.target1 == 1) && (_root.ENEMY._y > 250)) && (_root.ENEMY.Health > 0)) && (_root.player.gravity < 0)) {
_root.player.gotoAndPlay("shootup");
}
if ((((_root.player.target1 == 2) && (_root.ENEMY2._y > 250)) && (_root.ENEMY2.Health > 0)) && (_root.player.gravity < 0)) {
_root.player.gotoAndPlay("shootup");
}
}
onClipEvent (keyUp) {
if (_root.ENEMY.timer < 1) {
_root.player.gotoAndStop(1);
gotoAndStop (1);
}
}
onClipEvent (enterFrame) {
if (key.IsDown(40) && (key.IsDown(65))) {
_root.player2.gotoAndPlay("evade");
}
if (key.IsDown(68)) {
_root.player2.gotoAndPlay("attack");
} else if ((key.IsDown(40) && (key.IsDown(83))) && (_root.player2.gun == 1)) {
_root.player2.gotoAndPlay("twosometime");
} else if ((key.IsDown(38) && (key.IsDown(83))) && (_root.player2.gun == 1)) {
_root.player2.gotoAndPlay("upwardshot");
}
if ((_root.player2._y < 270) && (_root.player.gravity > 0)) {
_root.player2.gotoAndPlay("SkyShot");
}
if ((_root.player2._y > 270) && (_root.player.gravity < 0)) {
_root.player2.gotoAndPlay("SkyShot");
}
if ((((_root.player2.target1 == 1) && (_root.ENEMY._y < 250)) && (_root.ENEMY.Health > 0)) && (_root.player.gravity > 0)) {
_root.player2.gotoAndPlay("shootup");
}
if ((((_root.player2.target1 == 2) && (_root.ENEMY2._y < 250)) && (_root.ENEMY2.Health > 0)) && (_root.player.gravity > 0)) {
_root.player2.gotoAndPlay("shootup");
}
if ((((_root.player2.target1 == 1) && (_root.ENEMY._y > 250)) && (_root.ENEMY.Health > 0)) && (_root.player.gravity < 0)) {
_root.player2.gotoAndPlay("shootup");
}
if ((((_root.player2.target1 == 2) && (_root.ENEMY2._y > 250)) && (_root.ENEMY2.Health > 0)) && (_root.player.gravity < 0)) {
_root.player2.gotoAndPlay("shootup");
}
}
onClipEvent (keyUp) {
_root.player2.gotoAndStop(1);
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 45
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 46
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 47
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0;
}
Symbol 594 MovieClip Frame 48
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 49
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 50
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 51
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 52
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0;
}
Symbol 594 MovieClip Frame 53
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 54
gotoAndPlay (44);
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 55
play();
if (_root.player.jump > 4) {
_root.player.jump = 3;
_root.player.motion = 0;
}
_root.player.falling = 0;
_root.player.hangtime = 0.3;
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 56
_root.player.motion = 0;
play();
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 56
onClipEvent (enterFrame) {
if ((key.IsDown(40) && (key.IsDown(83))) && (_root.player.gun == 1)) {
_root.player.gotoAndPlay("rainstorm");
}
if ((_root.player._y > 349) && (_root.player.gravity > 0)) {
_root.player._y = 351;
falling = 0;
hangtime = 0;
jump = 0;
_root.player.gotoAndStop(1);
}
}
onClipEvent (keyUp) {
if (_root.ENEMY.timer < 1) {
_root.player.gotoAndStop("fall");
gotoAndStop (41);
}
}
onClipEvent (enterFrame) {
if ((key.IsDown(40) && (key.IsDown(83))) && (_root.player2.gun == 1)) {
_root.player2.gotoAndPlay("rainstorm");
}
if (_root.player2._y > 349) {
_root.player2._y = 351;
falling = 0;
hangtime = 0;
jump = 0;
_root.player2.gotoAndStop(1);
}
}
onClipEvent (keyUp) {
_root.player2.gotoAndStop("fall");
gotoAndStop (41);
}
Symbol 594 MovieClip Frame 57
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0;
}
Symbol 594 MovieClip Frame 58
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 59
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 60
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 61
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 62
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 63
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0;
}
Symbol 594 MovieClip Frame 64
gotoAndPlay (56);
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 65
if (_root.player.jump > 4) {
_root.player.jump = 3;
_root.player.motion = 0;
}
_root.player.falling = 0;
_root.player.hangtime = 0.3;
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 66
_root.player._y = _root.player._y - 1;
play();
_root.player.attack = 1;
_root.player.friction = 0.5;
_root.player.motion = 0;
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 66
onClipEvent (enterFrame) {
if ((_root.player._y > 349) && (_root.player.gravity > 0)) {
_root.player._y = 351;
falling = 0;
hangtime = 0;
jump = 0;
_root.player.gotoAndStop(1);
}
}
onClipEvent (keyUp) {
if (_root.ENEMY.timer < 1) {
_root.player.gotoAndStop("fall");
gotoAndStop (41);
}
}
onClipEvent (enterFrame) {
if (_root.player2._y > 349) {
_root.player2._y = 351;
falling = 0;
hangtime = 0;
jump = 0;
_root.player2.gotoAndStop(1);
}
}
onClipEvent (keyUp) {
_root.player2.gotoAndStop("fall");
gotoAndStop (41);
}
Symbol 594 MovieClip Frame 67
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 68
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 69
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0;
}
Symbol 594 MovieClip Frame 70
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 71
_root.player._y = _root.player._y - 1;
_root.player.attack = 1;
_root.player.friction = 0.5;
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 72
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 73
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 74
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0;
}
Symbol 594 MovieClip Frame 75
gotoAndPlay (66);
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 76
_root.player.motion = 0;
_root.player.falling = 0;
play();
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 76
onClipEvent (enterFrame) {
if (key.IsDown(68)) {
_root.player.gotoAndPlay("attack");
}
}
onClipEvent (keyUp) {
if (_root.ENEMY.timer < 1) {
_root.player.gotoAndStop(1);
gotoAndStop (1);
}
}
onClipEvent (enterFrame) {
if (key.IsDown(68)) {
_root.player2.gotoAndPlay("attack");
}
}
onClipEvent (keyUp) {
_root.player2.gotoAndStop(1);
}
Symbol 594 MovieClip Frame 77
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 78
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 79
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0;
}
Symbol 594 MovieClip Frame 80
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 81
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 82
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 83
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 84
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0;
}
Symbol 594 MovieClip Frame 85
gotoAndPlay (76);
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 86
_root.player.motion = 0;
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 87
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 88
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 89
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0;
}
Symbol 594 MovieClip Frame 90
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 91
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 92
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 93
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 94
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0;
}
Symbol 594 MovieClip Frame 95
gotoAndPlay (86);
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 96
_root.player.motion = 0;
_root.player.attack = 8;
_root.player.friction = 1.2;
if (_root.ENEMY.timer > 0) {
stop();
}
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 96
onClipEvent (enterFrame) {
if (key.IsDown(40) && (key.IsDown(65))) {
_root.player.gotoAndPlay("evade");
} else if (key.IsDown(65)) {
_root.player.gotoAndPlay("jump");
}
}
onClipEvent (enterFrame) {
if (key.IsDown(40) && (key.IsDown(65))) {
_root.player2.gotoAndPlay("evade");
} else if (key.IsDown(65)) {
_root.player2.gotoAndPlay("jump");
}
}
Symbol 594 MovieClip Frame 97
_root.player.motion = 0;
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 98
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 99
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 100
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 101
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 102
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 103
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 104
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 104
onClipEvent (enterFrame) {
if (key.IsDown(40) && (key.IsDown(65))) {
_root.player.gotoAndPlay("evade");
} else if (key.IsDown(65)) {
_root.player.gotoAndPlay("jump");
} else if (key.IsDown(68)) {
_root.player.gotoAndPlay("attack2");
} else if (key.IsDown(38) && (key.IsDown(68))) {
_root.player.gotoAndPlay("liftoff");
} else if (key.IsDown(40) && (key.IsDown(68))) {
_root.player.gotoAndPlay("stab");
} else if (key.IsDown(83) && (_root.player.gun == 1)) {
_root.player.gotoAndPlay("shoot");
} else if ((_root.player._xscale > 0) && (key.IsDown(39))) {
_root.player.gotoAndPlay(1);
} else if ((_root.player._xscale < 0) && (key.IsDown(37))) {
_root.player.gotoAndPlay(1);
}
}
onClipEvent (enterFrame) {
if (key.IsDown(40) && (key.IsDown(65))) {
_root.player2.gotoAndPlay("evade");
} else if (key.IsDown(65)) {
_root.player2.gotoAndPlay("jump");
} else if (key.IsDown(68)) {
_root.player2.gotoAndPlay("attack2");
} else if (key.IsDown(38) && (key.IsDown(68))) {
_root.player2.gotoAndPlay("liftoff");
} else if (key.IsDown(40) && (key.IsDown(68))) {
_root.player2.gotoAndPlay("stab");
} else if (key.IsDown(83) && (_root.player.gun == 1)) {
_root.player2.gotoAndPlay("shoot");
} else if ((_root.player._xscale > 0) && (key.IsDown(39))) {
_root.player2.gotoAndPlay(1);
} else if ((_root.player._xscale < 0) && (key.IsDown(37))) {
_root.player2.gotoAndPlay(1);
}
}
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 104
onClipEvent (enterFrame) {
if (key.IsDown(83) && (_root.player.gun == 2)) {
_root.player.gotoAndPlay("shotgun");
} else if ((key.IsDown(83) && (key.IsDown(40))) && (_root.player.gun == 2)) {
_root.player.gotoAndPlay("fireworks");
}
if (key.IsDown(83) && (_root.player.gun == 4)) {
_root.player.gotoAndPlay("machinegun");
}
}
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 104
onClipEvent (enterFrame) {
if (key.IsDown(83) && (_root.player.gun == 3)) {
_root.player.gotoAndPlay("grenade");
} else if ((key.IsDown(83) && (key.IsDown(40))) && (_root.player.gun == 2)) {
_root.player.gotoAndPlay("fireworks");
}
}
onClipEvent (enterFrame) {
if (key.IsDown(83) && (_root.player2.gun == 3)) {
_root.player2.gotoAndPlay("grenade");
} else if ((key.IsDown(83) && (key.IsDown(40))) && (_root.player.gun == 2)) {
_root.player.gotoAndPlay("fireworks");
}
}
Symbol 594 MovieClip Frame 105
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = 0;
}
Symbol 594 MovieClip Frame 106
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 107
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 108
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 109
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 110
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 111
gotoAndStop (1);
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 112
_root.player.motion = 0;
_root.player.attack = 8;
_root.player.friction = 1.2;
if (_root.ENEMY.timer > 0) {
stop();
}
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 112
onClipEvent (enterFrame) {
if (key.IsDown(40) && (key.IsDown(65))) {
_root.player.gotoAndPlay("evade");
} else if (key.IsDown(65)) {
_root.player.gotoAndPlay("jump");
}
}
onClipEvent (enterFrame) {
if (key.IsDown(40) && (key.IsDown(65))) {
_root.player2.gotoAndPlay("evade");
} else if (key.IsDown(65)) {
_root.player2.gotoAndPlay("jump");
}
}
Symbol 594 MovieClip Frame 113
_root.player.motion = 0;
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 114
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 115
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 116
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 117
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 118
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 119
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 120
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = 0;
}
Symbol 594 MovieClip Frame 121
if (_root.ENEMY.timer > 0) {
stop();
}
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 121
onClipEvent (enterFrame) {
if (key.IsDown(40) && (key.IsDown(65))) {
_root.player.gotoAndPlay("evade");
} else if (key.IsDown(65)) {
_root.player.gotoAndPlay("jump");
} else if (key.IsDown(68)) {
_root.player.gotoAndPlay("attack1");
} else if (key.IsDown(38) && (key.IsDown(68))) {
_root.player.gotoAndPlay("liftoff");
} else if (key.IsDown(40) && (key.IsDown(68))) {
_root.player.gotoAndPlay("stab");
} else if (key.IsDown(83) && (_root.player.gun == 1)) {
_root.player.gotoAndPlay("shoot");
} else if ((_root.player._xscale > 0) && (key.IsDown(39))) {
_root.player.gotoAndPlay(1);
} else if ((_root.player._xscale < 0) && (key.IsDown(37))) {
_root.player.gotoAndPlay(1);
}
}
onClipEvent (enterFrame) {
if (key.IsDown(40) && (key.IsDown(65))) {
_root.player2.gotoAndPlay("evade");
} else if (key.IsDown(65)) {
_root.player2.gotoAndPlay("jump");
} else if (key.IsDown(68)) {
_root.player2.gotoAndPlay("attack1");
} else if (key.IsDown(38) && (key.IsDown(68))) {
_root.player2.gotoAndPlay("liftoff");
} else if (key.IsDown(40) && (key.IsDown(68))) {
_root.player2.gotoAndPlay("stab");
} else if (key.IsDown(83) && (_root.player2.gun == 1)) {
_root.player2.gotoAndPlay("shoot");
} else if ((_root.player2._xscale > 0) && (key.IsDown(39))) {
_root.player2.gotoAndPlay(1);
} else if ((_root.player._xscale < 0) && (key.IsDown(37))) {
_root.player2.gotoAndPlay(1);
}
}
Symbol 594 MovieClip Frame 122
if (_root.ENEMY.timer > 0) {
stop();
}
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 122
onClipEvent (enterFrame) {
if (key.IsDown(83) && (_root.player.gun == 2)) {
_root.player.gotoAndPlay("shotgun");
} else if ((key.IsDown(83) && (key.IsDown(40))) && (_root.player.gun == 2)) {
_root.player.gotoAndPlay("fireworks");
}
if (key.IsDown(83) && (_root.player.gun == 4)) {
_root.player.gotoAndPlay("machinegun");
}
}
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 122
onClipEvent (enterFrame) {
if (key.IsDown(83) && (_root.player.gun == 3)) {
_root.player.gotoAndPlay("grenade");
} else if ((key.IsDown(83) && (key.IsDown(40))) && (_root.player.gun == 2)) {
_root.player.gotoAndPlay("fireworks");
}
}
onClipEvent (enterFrame) {
if (key.IsDown(83) && (_root.player2.gun == 3)) {
_root.player2.gotoAndPlay("grenade");
} else if ((key.IsDown(83) && (key.IsDown(40))) && (_root.player.gun == 2)) {
_root.player.gotoAndPlay("fireworks");
}
}
Symbol 594 MovieClip Frame 123
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 124
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 125
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 126
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 127
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 128
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 129
gotoAndStop (1);
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 130
_root.player.motion = 0;
if (_root.ENEMY.timer > 0) {
stop();
}
_root._y = 0;
Symbol 594 MovieClip Frame 131
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 132
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 133
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 134
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 135
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 136
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 137
_root.player.motion = 0;
_root.player.attack = 20;
_root.player.friction = 3;
_root.player.jump = 27;
_root.player.hangtime = 1.5;
_root.player.motion = 0;
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 138
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 139
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 140
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 140
onClipEvent (enterFrame) {
if (key.IsDown(40) && (key.IsDown(68))) {
_root.player.gotoAndPlay("dropATTACK");
gotoAndPlay (621);
} else if (key.IsDown(68)) {
_root.player.gotoAndPlay("aerialrave");
} else if ((key.IsDown(40) && (key.IsDown(68))) && (_root.player.gun == 1)) {
_root.player.gotoAndPlay("rainstorm");
} else if (key.IsDown(83) && (_root.player.gun == 1)) {
_root.player.gotoAndPlay("skyshot");
} else if ((_root.player._xscale > 0) && (key.IsDown(39))) {
_root.player.gotoAndPlay("fall");
} else if ((_root.player._xscale < 0) && (key.IsDown(37))) {
_root.player.gotoAndPlay("fall");
}
}
onClipEvent (enterFrame) {
if (key.IsDown(40) && (key.IsDown(68))) {
_root.player2.gotoAndPlay("dropATTACK");
gotoAndPlay (621);
} else if (key.IsDown(68)) {
_root.player2.gotoAndPlay("aerialrave");
} else if ((key.IsDown(40) && (key.IsDown(68))) && (_root.player2.gun == 1)) {
_root.player2.gotoAndPlay("rainstorm");
} else if (key.IsDown(83) && (_root.player2.gun == 1)) {
_root.player2.gotoAndPlay("skyshot");
} else if ((_root.player2._xscale > 0) && (key.IsDown(39))) {
_root.player2.gotoAndPlay("fall");
} else if ((_root.player2._xscale < 0) && (key.IsDown(37))) {
_root.player2.gotoAndPlay("fall");
}
}
Symbol 594 MovieClip Frame 141
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 141
onClipEvent (enterFrame) {
if (key.IsDown(83) && (_root.player.gun == 2)) {
_root.player.gotoAndPlay("shotgunair");
}
if (key.IsDown(83) && (_root.player.gun == 4)) {
_root.player.gotoAndPlay("machineair");
}
}
Symbol 594 MovieClip Frame 142
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 143
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 144
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 145
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = 0;
}
Symbol 594 MovieClip Frame 146
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 147
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 148
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 149
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 150
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 151
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 152
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 153
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 154
gotoAndPlay (41);
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 155
_root.player.motion = 0;
_root.player.attack = 7;
_root.player.friction = 1.2;
_root.player.jump = 4;
_root.player.hangtime = 1.2;
_root.player.falling = 0;
play();
if (_root.ENEMY.timer > 0) {
stop();
}
_root._y = 0;
Symbol 594 MovieClip Frame 156
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 157
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 158
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 159
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 160
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 161
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 162
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 162
onClipEvent (enterFrame) {
if (key.IsDown(40) && (key.IsDown(68))) {
_root.player.gotoAndPlay("dropATTACK");
gotoAndPlay (621);
} else if (key.IsDown(68)) {
_root.player.gotoAndPlay("aerialrave2");
} else if ((key.IsDown(40) && (key.IsDown(68))) && (_root.player.gun == 1)) {
_root.player.gotoAndPlay("rainstorm");
} else if (key.IsDown(83) && (_root.player.gun == 1)) {
_root.player.gotoAndPlay("skyshot");
}
}
onClipEvent (enterFrame) {
if (key.IsDown(40) && (key.IsDown(68))) {
_root.player2.gotoAndPlay("dropATTACK");
gotoAndPlay (621);
} else if (key.IsDown(68)) {
_root.player2.gotoAndPlay("aerialrave2");
} else if ((key.IsDown(40) && (key.IsDown(68))) && (_root.player2.gun == 1)) {
_root.player2.gotoAndPlay("rainstorm");
} else if (key.IsDown(83) && (_root.player2.gun == 1)) {
_root.player2.gotoAndPlay("skyshot");
}
}
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 162
onClipEvent (enterFrame) {
if (key.IsDown(83) && (_root.player.gun == 2)) {
_root.player.gotoAndPlay("shotgunair");
}
if (key.IsDown(83) && (_root.player.gun == 4)) {
_root.player.gotoAndPlay("machineair");
}
}
Symbol 594 MovieClip Frame 163
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = 0;
}
Symbol 594 MovieClip Frame 164
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 165
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 166
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 167
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 168
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 169
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 170
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 171
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 172
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 173
gotoAndPlay (41);
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 174
_root.player.motion = 0;
_root.player.attack = 7;
_root.player.friction = 1.2;
_root.player.jump = 4;
_root.player.hangtime = 1.2;
_root.player.falling = 0;
play();
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 175
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 176
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 177
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 178
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 179
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 180
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 181
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 181
onClipEvent (enterFrame) {
if (key.IsDown(40) && (key.IsDown(68))) {
_root.player.gotoAndPlay("dropATTACK");
gotoAndPlay (621);
} else if (key.IsDown(68)) {
_root.player.gotoAndPlay("aerialrave");
} else if ((key.IsDown(40) && (key.IsDown(68))) && (_root.player.gun == 1)) {
_root.player.gotoAndPlay("rainstorm");
} else if (key.IsDown(83) && (_root.player.gun == 1)) {
_root.player.gotoAndPlay("skyshot");
}
}
onClipEvent (enterFrame) {
if (key.IsDown(40) && (key.IsDown(68))) {
_root.player2.gotoAndPlay("dropATTACK");
gotoAndPlay (621);
} else if (key.IsDown(68)) {
_root.player2.gotoAndPlay("aerialrave");
} else if ((key.IsDown(40) && (key.IsDown(68))) && (_root.player2.gun == 1)) {
_root.player2.gotoAndPlay("rainstorm");
} else if (key.IsDown(83) && (_root.player2.gun == 1)) {
_root.player2.gotoAndPlay("skyshot");
}
}
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 181
onClipEvent (enterFrame) {
if (key.IsDown(83) && (_root.player.gun == 2)) {
_root.player.gotoAndPlay("shotgunair");
}
if (key.IsDown(83) && (_root.player.gun == 4)) {
_root.player.gotoAndPlay("machineair");
}
}
Symbol 594 MovieClip Frame 182
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = 0;
}
Symbol 594 MovieClip Frame 183
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 184
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 185
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 186
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 187
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 188
if (_root.ENEMY.timer > 0) {
stop();
}
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 188
onClipEvent (enterFrame) {
if (key.IsDown(68)) {
_root.player.gotoAndPlay("aerialrave");
} else if ((key.IsDown(40) && (key.IsDown(68))) && (_root.player.gun == 1)) {
_root.player.gotoAndPlay("rainstorm");
} else if (key.IsDown(83) && (_root.player.gun == 1)) {
_root.player.gotoAndPlay("skyshot");
}
}
onClipEvent (enterFrame) {
if (key.IsDown(68)) {
_root.player2.gotoAndPlay("aerialrave");
} else if ((key.IsDown(40) && (key.IsDown(68))) && (_root.player2.gun == 1)) {
_root.player2.gotoAndPlay("rainstorm");
} else if (key.IsDown(83) && (_root.player2.gun == 1)) {
_root.player2.gotoAndPlay("skyshot");
}
}
Symbol 594 MovieClip Frame 189
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 190
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 191
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 192
gotoAndPlay (41);
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 193
_root.player.hangtime = 1.5;
_root.player.falling = 5;
_root.player.jump = 1;
if (_root.ENEMY.timer > 0) {
stop();
}
_root._y = 0;
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 193
onClipEvent (enterFrame) {
if (key.IsDown(68)) {
_root.player.gotoAndPlay("wallhike");
} else if (key.IsDown(65)) {
_root.player.gotoAndPlay("wallhike");
} else if (key.IsDown(83)) {
_root.player.gotoAndPlay("wallhike");
}
}
onClipEvent (enterFrame) {
if (key.IsDown(68)) {
_root.player2.gotoAndPlay("wallhike");
} else if (key.IsDown(65)) {
_root.player2.gotoAndPlay("wallhike");
} else if (key.IsDown(83)) {
_root.player2.gotoAndPlay("wallhike");
}
}
Symbol 594 MovieClip Frame 194
_root.player.motion = 0;
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 195
_root.player.motion = 0;
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 196
_root.player.motion = 0;
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 197
_root.player.motion = 0;
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 198
_root.player.motion = 0;
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 199
_root.player.motion = 0;
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 200
_root.player.motion = 0;
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 201
_root.player.motion = 0;
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 202
_root.player.motion = 0;
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 203
_root.player.motion = 0;
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 204
_root.player.motion = 0;
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 205
_root.player.motion = 0;
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 206
gotoAndPlay (41);
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 207
_root.player.jump = 20;
_root.player.attack = 30;
_root.player.friction = 2;
_root.player.hangtime = 2;
_root.player.falling = 1;
if (_root.ENEMY.timer > 0) {
stop();
}
_root._y = 0;
Symbol 594 MovieClip Frame 208
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 209
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 210
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 211
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 212
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 213
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 214
if (_root.ENEMY.timer > 0) {
stop();
}
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 214
onClipEvent (enterFrame) {
if (key.IsDown(68)) {
_root.player.gotoAndPlay("aerialrave");
} else if (key.IsDown(40) && (key.IsDown(68))) {
_root.player.gotoAndPlay("dropsmash");
} else if ((key.IsDown(40) && (key.IsDown(83))) && (_root.player.gun == 1)) {
_root.player.gotoAndPlay("rainstorm");
} else if (key.IsDown(83) && (_root.player.gun == 1)) {
_root.player.gotoAndPlay("skyshot");
}
}
onClipEvent (enterFrame) {
if (key.IsDown(68)) {
_root.player2.gotoAndPlay("aerialrave");
} else if (key.IsDown(40) && (key.IsDown(68))) {
_root.player2.gotoAndPlay("dropsmash");
} else if ((key.IsDown(40) && (key.IsDown(83))) && (_root.player2.gun == 1)) {
_root.player2.gotoAndPlay("rainstorm");
} else if (key.IsDown(83) && (_root.player2.gun == 1)) {
_root.player2.gotoAndPlay("skyshot");
}
}
Symbol 594 MovieClip Frame 215
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 216
if (_root.ENEMY.timer > 0) {
stop();
}
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 216
onClipEvent (enterFrame) {
if (key.IsDown(83) && (_root.player.gun == 2)) {
_root.player.gotoAndPlay("shotgunair");
}
}
Symbol 594 MovieClip Frame 217
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 218
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 219
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 220
stop();
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 221
prevFrame();
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 222
_root.player.motion = 0;
_root.player.falling = 0;
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 223
if (_root.ENEMY.timer > 0) {
stop();
}
_root._y = 0;
Symbol 594 MovieClip Frame 224
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 225
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 226
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 227
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 228
_root.player.DEVIL = 1;
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 229
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 230
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 231
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 232
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 233
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 234
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 235
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 236
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 237
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 238
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 239
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 240
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 241
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 242
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 243
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 244
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 245
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 246
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 247
_root.player.motion = 0;
_root.player.hangtime = 2;
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 248
gotoAndStop (1);
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 249
if (_root.ENEMY.timer > 0) {
stop();
}
_root._y = 0;
Symbol 594 MovieClip Frame 250
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 251
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 252
_root.player.DEVIL = 0;
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 253
_root.player.motion = 0;
_root.player.hangtime = 2;
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 254
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 255
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 256
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 257
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 258
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 259
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 260
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 261
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 262
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 263
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 264
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 265
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 266
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 267
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 268
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 269
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 270
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 271
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 272
gotoAndStop (1);
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 273
_root.player.jump = 0;
_root.player.motion = 0;
play();
if (_root.ENEMY.timer > 0) {
stop();
}
_root._y = 0;
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 273
onClipEvent (keyUp) {
if (_root.ENEMY.timer < 1) {
_root.player.play();
}
}
onClipEvent (keyUp) {
_root.player2.play();
}
Symbol 594 MovieClip Frame 274
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 275
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 276
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 277
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 278
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 279
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 280
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 281
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 282
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 283
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 284
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 285
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 286
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 287
_root.player.hangtime = 2;
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 288
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 289
gotoAndStop (1);
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 290
_root.player.motion = 0;
play();
_root.player.springup = 0;
if (_root.ENEMY.timer > 0) {
stop();
}
_root._y = 0;
Symbol 594 MovieClip Frame 291
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 292
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 293
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 294
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 295
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 296
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 297
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 298
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 299
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 300
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 301
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 302
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 303
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 304
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 305
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = 0;
}
Symbol 594 MovieClip Frame 306
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 307
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 308
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 309
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 310
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 311
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 312
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 313
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 314
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 315
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 316
stop();
_root.player.springup = 0;
if (_root.ENEMY.timer > 0) {
stop();
}
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 316
onClipEvent (enterFrame) {
if (key.IsDown(65)) {
_root.player.play();
} else if (key.IsDown(68)) {
_root.player.play();
} else if (key.IsDown(83)) {
_root.player.play();
}
}
onClipEvent (enterFrame) {
if (key.IsDown(65)) {
_root.player2.play();
} else if (key.IsDown(68)) {
_root.player2.play();
} else if (key.IsDown(83)) {
_root.player2.play();
}
}
Symbol 594 MovieClip Frame 317
play();
if (_root.ENEMY.timer > 0) {
stop();
}
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 317
onClipEvent (keyUp) {
if (_root.ENEMY.timer < 1) {
_root.player.play();
}
}
onClipEvent (keyUp) {
_root.player2.play();
}
Symbol 594 MovieClip Frame 318
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 319
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 320
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 321
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 322
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 323
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 324
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 325
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 326
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 327
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 328
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 329
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 330
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 331
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 332
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 333
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 334
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 335
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 336
_root.player.jump = 12;
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 337
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 338
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 339
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 340
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 341
_root.player.hangtime = 0.5;
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 342
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 343
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 344
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 345
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 346
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 347
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 348
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 349
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 350
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 351
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 352
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 353
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 354
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 355
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 356
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 357
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 358
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 359
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 360
gotoAndPlay (41);
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 361
stop();
_root.player.motion = 0;
if (_root.ENEMY.timer > 0) {
stop();
}
_root._y = 0;
Symbol 594 MovieClip Frame 362
_root.player.motion = 0;
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 363
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 364
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 365
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 366
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 367
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 368
_root.player.motion = 0;
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 369
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 370
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 371
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 372
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0;
}
Symbol 594 MovieClip Frame 373
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 374
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 375
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 376
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 377
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 378
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 379
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 380
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 381
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 382
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 383
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 384
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 385
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 386
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 387
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 388
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 389
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 390
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 391
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 392
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 393
gotoAndStop (1);
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 394
if (_root.player.jump > 7) {
_root.player.jump = 6;
_root.player.hangtime = 0.4;
_root.player.motion = 0;
_root.player.falling = 0;
}
play();
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
_root._y = 0;
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 394
onClipEvent (enterFrame) {
if ((_root.player._y > 349) && (_root.player.gravity > 0)) {
_root.player._y = 351;
falling = 0;
hangtime = 0;
jump = 0;
_root.player.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((_root.player2._y > 349) && (_root.player2.gravity > 0)) {
_root.player2._y = 351;
falling = 0;
hangtime = 0;
jump = 0;
_root.player2.gotoAndStop(1);
}
}
Symbol 594 MovieClip Frame 395
_root.player.motion = 0;
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 396
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 397
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 398
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 399
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 400
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 401
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 402
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 403
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 404
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0;
}
Symbol 594 MovieClip Frame 405
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 406
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 407
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 408
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 409
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 410
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 411
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 412
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 413
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 414
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 415
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 416
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 417
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 418
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 419
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 420
gotoAndStop (41);
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 421
_root.player.motion = 0;
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
_root._y = 0;
Symbol 594 MovieClip Frame 422
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 423
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 424
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 425
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 426
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 427
_root.player.motion = 0;
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 428
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 429
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 430
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0;
}
Symbol 594 MovieClip Frame 431
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 432
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 433
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 434
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 435
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 436
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 437
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 438
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 439
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 440
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 441
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 442
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 443
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 444
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 445
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 446
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 447
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 448
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 449
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 450
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 451
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 452
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 453
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 454
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 455
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 456
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 457
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 458
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 459
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 460
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 461
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 462
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 463
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 464
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 465
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 466
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 467
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 468
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 469
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 470
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 471
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 472
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 473
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 473
onClipEvent (enterFrame) {
if (key.IsDown(40) && (key.IsDown(65))) {
_root.player.gotoAndPlay("evade");
} else if (key.IsDown(65)) {
_root.player.gotoAndPlay("jump");
} else if (key.IsDown(38) && (key.IsDown(68))) {
_root.player.gotoAndPlay("liftoff");
} else if ((key.IsDown(40) && (key.IsDown(83))) && (_root.player.gun == 1)) {
_root.player.gotoAndPlay("twosometime");
} else if ((key.IsDown(38) && (key.IsDown(83))) && (_root.player.gun == 1)) {
_root.player.gotoAndPlay("upwardshot");
} else if (key.IsDown(68)) {
_root.player.gotoAndPlay("attack1");
} else if (key.IsDown(83) && (_root.player.gun == 1)) {
_root.player.gotoAndPlay("shoot");
}
}
onClipEvent (enterFrame) {
if (key.IsDown(40) && (key.IsDown(65))) {
_root.player2.gotoAndPlay("evade");
} else if (key.IsDown(65)) {
_root.player2.gotoAndPlay("jump");
} else if (key.IsDown(38) && (key.IsDown(68))) {
_root.player2.gotoAndPlay("liftoff");
} else if ((key.IsDown(40) && (key.IsDown(83))) && (_root.player2.gun == 1)) {
_root.player2.gotoAndPlay("twosometime");
} else if ((key.IsDown(38) && (key.IsDown(83))) && (_root.player2.gun == 1)) {
_root.player2.gotoAndPlay("upwardshot");
} else if (key.IsDown(68)) {
_root.player2.gotoAndPlay("attack1");
} else if (key.IsDown(83) && (_root.player2.gun == 1)) {
_root.player2.gotoAndPlay("shoot");
}
}
Symbol 594 MovieClip Frame 474
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 475
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 476
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 477
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 478
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 479
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 480
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 481
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 482
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 483
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 484
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 485
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 486
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 487
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 488
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 489
gotoAndStop (1);
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 3) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 490
_root.player.motion = 0;
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 4) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 490
onClipEvent (enterFrame) {
if (key.IsDown(68)) {
_root.player.gotoAndPlay("attack");
}
if (((_root.player.target1 == 1) && (_root.ENEMY._y < 250)) && (_root.ENEMY.Health > 0)) {
_root.player.gotoAndPlay("machineup");
}
if (((_root.player.target1 == 2) && (_root.ENEMY2._y < 250)) && (_root.ENEMY2.Health > 0)) {
_root.player.gotoAndPlay("machineup");
} else if ((key.IsDown(40) && (key.IsDown(83))) && (_root.player.gun == 1)) {
_root.player.gotoAndPlay("twosometime");
} else if ((key.IsDown(38) && (key.IsDown(83))) && (_root.player.gun == 1)) {
_root.player.gotoAndPlay("upwardshot");
}
}
onClipEvent (keyUp) {
if (_root.ENEMY.timer < 1) {
_root.player.gotoAndStop(1);
gotoAndStop (1);
}
}
onClipEvent (enterFrame) {
if (key.IsDown(68)) {
_root.player2.gotoAndPlay("attack");
}
if (((_root.player2.target1 == 1) && (_root.ENEMY._y < 250)) && (_root.ENEMY.Health > 0)) {
_root.player2.gotoAndPlay("machineup");
}
if (((_root.player.target1 == 2) && (_root.ENEMY2._y < 250)) && (_root.ENEMY2.Health > 0)) {
_root.player2.gotoAndPlay("machineup");
} else if ((key.IsDown(40) && (key.IsDown(83))) && (_root.player2.gun == 1)) {
_root.player2.gotoAndPlay("twosometime");
} else if ((key.IsDown(38) && (key.IsDown(83))) && (_root.player2.gun == 1)) {
_root.player2.gotoAndPlay("upwardshot");
}
}
onClipEvent (keyUp) {
_root.player.gotoAndStop(1);
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 491
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 4) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 492
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 4) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 493
gotoAndPlay (490);
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 4) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0;
}
Symbol 594 MovieClip Frame 494
if (_root.player.jump > 5) {
_root.player.jump = 4;
_root.player.hangtime = 0.4;
_root.player.motion = 0;
_root.player.falling = 0;
}
play();
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 4) {
gotoAndStop (1);
}
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 494
onClipEvent (enterFrame) {
if (_root.player._y > 349) {
_root.player._y = 351;
falling = 0;
hangtime = 0;
jump = 0;
_root.player.gotoAndStop(1);
}
}
onClipEvent (keyUp) {
if (_root.ENEMY.timer < 1) {
_root.player.gotoAndStop("fall");
gotoAndStop (41);
}
}
onClipEvent (enterFrame) {
if (_root.player2._y > 349) {
_root.player2._y = 351;
falling = 0;
hangtime = 0;
jump = 0;
_root.player2.gotoAndStop(1);
}
}
onClipEvent (keyUp) {
_root.player2.gotoAndStop("fall");
gotoAndStop (41);
}
Symbol 594 MovieClip Frame 495
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 4) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 496
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 4) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 497
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 4) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 498
gotoAndPlay (495);
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 4) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0;
}
Symbol 594 MovieClip Frame 499
_root._y = 0;
Symbol 594 MovieClip Frame 504
gotoAndStop (1);
Symbol 594 MovieClip Frame 505
_root._y = 0;
Symbol 594 MovieClip Frame 506
if (_root.ENEMY.Health > 0) {
_root.ENEMY.hangtime = 3;
}
if (_root.ENEMY2.Health > 0) {
_root.ENEMY2.hangtime = 3;
}
Symbol 594 MovieClip Frame 507
if (_root.ENEMY.Health > 0) {
_root.ENEMY.hangtime = 3;
}
if (_root.ENEMY2.Health > 0) {
_root.ENEMY2.hangtime = 3;
}
Symbol 594 MovieClip Frame 510
gotoAndStop (41);
Symbol 594 MovieClip Frame 511
_root.player.motion = 0;
_root.player.falling = 0;
if (_root.ENEMY.timer > 0) {
stop();
}
_root._y = 0;
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 511
onClipEvent (enterFrame) {
if (key.IsDown(83) && (_root.player.gun == 3)) {
_root.player.gotoAndPlay("grenade");
} else if ((key.IsDown(83) && (key.IsDown(40))) && (_root.player.gun == 2)) {
_root.player.gotoAndPlay("fireworks");
}
}
Symbol 594 MovieClip Frame 512
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 513
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 514
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 515
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 516
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 517
_root.player.jump = 15;
_root.player.hangtime = 0;
_root.player.motion = 0;
_root.player.damage = 29;
_root.player.friction2 = 1;
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 518
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 519
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 520
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 521
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 522
_root.player.hangtime = 1;
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 523
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 524
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 525
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 526
if (_root.ENEMY.timer > 0) {
stop();
}
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 526
onClipEvent (enterFrame) {
if (key.IsDown(68)) {
_root.player.gotoAndPlay("aerialrave");
} else if (key.IsDown(40) && (key.IsDown(68))) {
_root.player.gotoAndPlay("dropsmash");
} else if ((key.IsDown(40) && (key.IsDown(83))) && (_root.player.gun == 1)) {
_root.player.gotoAndPlay("rainstorm");
} else if (key.IsDown(83) && (_root.player.gun == 1)) {
_root.player.gotoAndPlay("skyshot");
}
}
onClipEvent (enterFrame) {
if (key.IsDown(68)) {
_root.player2.gotoAndPlay("aerialrave");
} else if (key.IsDown(40) && (key.IsDown(68))) {
_root.player2.gotoAndPlay("dropsmash");
} else if ((key.IsDown(40) && (key.IsDown(83))) && (_root.player2.gun == 1)) {
_root.player2.gotoAndPlay("rainstorm");
} else if (key.IsDown(83) && (_root.player2.gun == 1)) {
_root.player2.gotoAndPlay("skyshot");
}
}
Symbol 594 MovieClip Frame 527
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 528
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 529
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 530
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 531
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 532
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 533
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 534
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 535
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 536
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 537
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 538
if (_root.ENEMY.timer > 0) {
stop();
}
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 538
onClipEvent (enterFrame) {
if (key.IsDown(83) && (_root.player.gun == 2)) {
_root.player.gotoAndPlay("shotgunair");
}
if (key.IsDown(83) && (_root.player.gun == 4)) {
_root.player.gotoAndPlay("machineair");
}
}
Symbol 594 MovieClip Frame 539
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 540
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 541
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 542
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 543
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 544
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 545
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 546
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 547
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 548
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 549
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 550
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 551
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 552
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 553
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 554
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 555
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 556
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 557
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 558
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 559
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 560
gotoAndPlay (41);
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 561
_root.player.motion = 0;
_root.player.attack = 13;
_root.player.friction = 1.2;
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 562
_root.player.motion = 0;
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 563
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 564
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 564
onClipEvent (enterFrame) {
if (key.IsDown(40) && (key.IsDown(65))) {
_root.player.gotoAndPlay("evade");
} else if (key.IsDown(65)) {
_root.player.gotoAndPlay("jump");
}
}
onClipEvent (enterFrame) {
if (key.IsDown(40) && (key.IsDown(65))) {
_root.player2.gotoAndPlay("evade");
} else if (key.IsDown(65)) {
_root.player2.gotoAndPlay("jump");
}
}
Symbol 594 MovieClip Frame 565
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 566
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 567
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 568
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = 0;
}
Symbol 594 MovieClip Frame 569
if (_root.ENEMY.timer > 0) {
stop();
}
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 569
onClipEvent (enterFrame) {
if (key.IsDown(40) && (key.IsDown(65))) {
_root.player.gotoAndPlay("evade");
}
if (key.IsDown(83) && (_root.player.gun == 1)) {
_root.player.gotoAndPlay("shootup");
gotoAndPlay (578);
}
if (key.IsDown(83) && (_root.player.gun == 2)) {
_root.player.gotoAndPlay("shotgunup");
gotoAndPlay (1);
}
if (key.IsDown(83) && (_root.player.gun == 4)) {
_root.player.gotoAndPlay("machineup");
gotoAndPlay (1);
} else if (key.IsDown(65)) {
_root.player.gotoAndPlay("jump");
}
}
onClipEvent (enterFrame) {
if (key.IsDown(40) && (key.IsDown(65))) {
_root.player2.gotoAndPlay("evade");
}
if (key.IsDown(83) && (_root.player.gun == 1)) {
_root.player2.gotoAndPlay("shootup");
gotoAndPlay (578);
}
if (key.IsDown(83) && (_root.player2.gun == 2)) {
_root.player2.gotoAndPlay("shotgunup");
gotoAndPlay (1);
}
if (key.IsDown(83) && (_root.player2.gun == 4)) {
_root.player2.gotoAndPlay("machineup");
gotoAndPlay (1);
} else if (key.IsDown(65)) {
_root.player2.gotoAndPlay("jump");
}
}
Symbol 594 MovieClip Frame 570
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 571
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 572
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 573
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 574
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 575
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 576
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 577
gotoAndStop (1);
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 578
_root.player.motion = 0;
play();
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 578
onClipEvent (enterFrame) {
if (key.IsDown(40) && (key.IsDown(65))) {
_root.player.gotoAndPlay("evade");
}
if (key.IsDown(68)) {
_root.player.gotoAndPlay("attack");
} else if ((key.IsDown(40) && (key.IsDown(83))) && (_root.player.gun == 1)) {
_root.player.gotoAndPlay("twosometime");
}
if (((_root.player.target1 == 1) && (_root.ENEMY._y > 250)) && (_root.player.gravity > 0)) {
_root.player.gotoAndPlay("shoot");
}
if (((_root.player.target1 == 2) && (_root.ENEMY2._y > 250)) && (_root.player.gravity > 0)) {
_root.player.gotoAndPlay("shoot");
}
if (((_root.player.target1 == 1) && (_root.ENEMY._y < 250)) && (_root.player.gravity < 0)) {
_root.player.gotoAndPlay("shoot");
}
if (((_root.player.target1 == 2) && (_root.ENEMY2._y < 250)) && (_root.player.gravity < 0)) {
_root.player.gotoAndPlay("shoot");
}
}
onClipEvent (keyUp) {
if (_root.ENEMY.timer < 1) {
_root.player.gotoAndStop(1);
gotoAndStop (1);
}
}
onClipEvent (enterFrame) {
if (key.IsDown(40) && (key.IsDown(65))) {
_root.player.gotoAndPlay("evade");
}
if (key.IsDown(68)) {
_root.player2.gotoAndPlay("attack");
} else if ((key.IsDown(40) && (key.IsDown(83))) && (_root.player.gun == 1)) {
_root.player2.gotoAndPlay("twosometime");
}
if (((_root.player2.target1 == 1) && (_root.ENEMY._y > 250)) && (_root.player.gravity > 0)) {
_root.player2.gotoAndPlay("shoot");
}
if (((_root.player2.target1 == 2) && (_root.ENEMY2._y > 250)) && (_root.player.gravity > 0)) {
_root.player2.gotoAndPlay("shoot");
}
if (((_root.player2.target1 == 1) && (_root.ENEMY._y < 250)) && (_root.player.gravity < 0)) {
_root.player2.gotoAndPlay("shoot");
}
if (((_root.player2.target1 == 2) && (_root.ENEMY2._y < 250)) && (_root.player.gravity < 0)) {
_root.player2.gotoAndPlay("shoot");
}
}
onClipEvent (keyUp) {
_root.player2.gotoAndStop(1);
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 579
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 580
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 581
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 582
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0;
}
Symbol 594 MovieClip Frame 583
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 584
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 585
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 586
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 587
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0;
}
Symbol 594 MovieClip Frame 588
gotoAndPlay (578);
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 1) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 589
_root.player.motion = 0;
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
_root._y = 0;
Symbol 594 MovieClip Frame 590
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 591
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 592
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 593
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 594
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 595
_root.player.motion = 0;
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 596
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 597
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 598
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
if (_root.rumble > 0) {
_root._y = 0;
}
Symbol 594 MovieClip Frame 599
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 600
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 601
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 602
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 603
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 604
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 605
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 606
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 607
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 608
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 609
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 610
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 611
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 612
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 613
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 614
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 615
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 616
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 617
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 618
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 619
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 620
gotoAndStop (1);
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.player.gun != 2) {
gotoAndStop (1);
}
Symbol 594 MovieClip Frame 621
_root.player.falling = 0;
_root.player.jump = 0;
_root.player.hangtime = 0;
_root.player.plundge = 30;
_root.player.motion = 0;
if (_root.ENEMY.timer > 0) {
stop();
}
_root._y = 0;
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 621
onClipEvent (enterFrame) {
play();
_root.player.play();
}
onClipEvent (enterFrame) {
play();
_root.player2.play();
}
Symbol 594 MovieClip Frame 622
play();
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 623
play();
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 624
play();
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 625
play();
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 626
play();
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 627
play();
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 628
play();
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 594 MovieClip Frame 629
play();
if (_root.ENEMY.timer > 0) {
stop();
}
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 594 MovieClip Frame 630
play();
if (_root.ENEMY.timer > 0) {
stop();
}
_root._y = 0;
Symbol 594 MovieClip Frame 631
play();
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 632
play();
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 633
play();
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 634
play();
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 635
play();
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 636
gotoAndStop (1);
play();
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 637
_root.player.jump = 27;
_root.player.hangtime = 1.5;
_root.player.motion = 11;
_root.player.hangtime = 1.5;
_root.player.motion = 11;
_root.player2.hangtime = 1.5;
_root.player2.motion = 11;
if (_root.ENEMY.timer > 0) {
stop();
}
_root._y = 0;
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 637
onClipEvent (enterFrame) {
if (key.IsDown(83) && (_root.player.gun == 2)) {
_root.player.gotoAndPlay("shotgunair");
}
if (key.IsDown(83) && (_root.player.gun == 4)) {
_root.player.gotoAndPlay("machineair");
}
}
Symbol 594 MovieClip Frame 638
stop();
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 639
prevFrame();
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 640
_root.player.motion = 0;
_root.player.damage = 0;
_root.player.friction2 = 0;
_root.player.springup = 1;
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 641
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 642
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 643
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 644
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 645
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 646
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 647
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 648
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 649
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 650
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 651
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 652
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 653
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 654
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 655
if (_root.ENEMY.timer > 0) {
stop();
}
stop();
Symbol 594 MovieClip Frame 656
if (_root.ENEMY.timer > 0) {
stop();
}
prevFrame();
Symbol 594 MovieClip Frame 657
if (_root.ENEMY.timer > 0) {
stop();
}
prevFrame();
Symbol 594 MovieClip Frame 658
if (_root.ENEMY.timer > 0) {
stop();
}
_root.player.motion = 0;
_root.player.damage = 0;
_root.player.friction2 = 0;
Symbol 594 MovieClip Frame 659
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 660
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 661
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 662
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 663
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 664
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 665
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 666
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 667
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 668
if (_root.ENEMY.timer > 0) {
stop();
}
_root.player.motion = 0;
_root.player.damage = 0;
_root.player.friction2 = 0;
Symbol 594 MovieClip Frame 669
if (_root.ENEMY.timer > 0) {
stop();
}
stop();
Symbol 594 MovieClip Frame 670
if (_root.ENEMY.timer > 0) {
stop();
}
stop();
Symbol 594 MovieClip Frame 671
if (_root.ENEMY.timer > 0) {
stop();
}
stop();
Symbol 594 MovieClip Frame 672
if (_root.ENEMY.timer > 0) {
stop();
}
stop();
Symbol 594 MovieClip Frame 673
if (_root.ENEMY.timer > 0) {
stop();
}
stop();
Symbol 594 MovieClip Frame 674
if (_root.ENEMY.timer > 0) {
stop();
}
prevFrame();
Symbol 594 MovieClip Frame 675
if (_root.ENEMY.timer > 0) {
stop();
}
prevFrame();
Symbol 594 MovieClip Frame 676
if (_root.ENEMY.timer > 0) {
stop();
}
_root.player.motion = 0;
_root.player.damage = 0;
_root.player.friction2 = 0;
stop();
Symbol 594 MovieClip Frame 677
_root.player.attack = 0;
_root.player.motion = 0;
_root.player.damage = 0;
_root.player.friction = 0;
_root.player.friction2 = 0;
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 678
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 679
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 680
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 681
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 682
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 683
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 684
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 685
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 686
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 687
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 688
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 689
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 690
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 691
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 692
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 693
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 694
gotoAndPlay (677);
if (_root.ENEMY.timer > 0) {
stop();
}
Symbol 594 MovieClip Frame 695
stopAllSounds();
Symbol 594 MovieClip Frame 696
_root.ENEMY.timingstop = 5;
_root.player.timestop = 0;
_root.player.motion = 0;
play();
_root.player.springup = 0;
_root.player.hangtime = 0;
_root.player.falling = 0;
_root.player.jump = 0;
_root.player.DEVIL = 0;
_root.player.plundge = 5;
Symbol 594 MovieClip Frame 697
_root.player.blasterZ = 5;
_root.player.timestop = 0;
_root.player._xscale = -55;
Symbol 594 MovieClip Frame 698
_root.player._xscale = -55;
Symbol 594 MovieClip Frame 699
_root.player._xscale = -55;
Symbol 594 MovieClip Frame 759
_root.exitepic.play();
Symbol 594 MovieClip Frame 760
stop();
stop();
_root.player.springup = 0;
Symbol 594 MovieClip Frame 761
stop();
_root.player.motion = 16;
_root.player.taunt = 1;
_root._y = 0;
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 761
onClipEvent (enterFrame) {
if (key.IsDown(40) && (key.IsDown(65))) {
_root.player.gotoAndPlay("evade");
}
if (key.IsDown(40)) {
_root.player.gotoAndPlay("defensive");
}
if ((key.IsDown(40) && (key.IsDown(68))) && (_root.player)) {
_root.player.gotoAndPlay("special1");
} else if (key.IsDown(65)) {
_root.player.gotoAndPlay("jump");
} else if (key.IsDown(38) && (key.IsDown(68))) {
_root.player.gotoAndPlay("liftoff");
} else if ((key.IsDown(40) && (key.IsDown(83))) && (_root.player.gun == 1)) {
_root.player.gotoAndPlay("twosometime");
} else if ((key.IsDown(38) && (key.IsDown(83))) && (_root.player.gun == 1)) {
_root.player.gotoAndPlay("upwardshot");
} else if (key.IsDown(68)) {
_root.player.gotoAndPlay("attack1");
} else if (key.IsDown(83) && (_root.player.gun == 1)) {
_root.player.gotoAndPlay("shoot");
} else if (key.IsDown(32) && (_root.player.taunt < 2)) {
_root.player.gotoAndPlay("taunt");
gotoAndPlay (1);
} else if (key.IsDown(32) && (_root.player.taunt >= 2)) {
_root.player.gotoAndPlay("taunt2");
gotoAndPlay (1);
}
}
onClipEvent (enterFrame) {
if (key.IsDown(40) && (key.IsDown(65))) {
_root.player2.gotoAndPlay("evade");
}
if (key.IsDown(40)) {
_root.player2.gotoAndPlay("defensive");
}
if ((key.IsDown(40) && (key.IsDown(68))) && (_root.player)) {
_root.player2.gotoAndPlay("special1");
} else if (key.IsDown(65)) {
_root.player2.gotoAndPlay("jump");
} else if (key.IsDown(38) && (key.IsDown(68))) {
_root.player2.gotoAndPlay("liftoff");
} else if ((key.IsDown(40) && (key.IsDown(83))) && (_root.player.gun == 1)) {
_root.player2.gotoAndPlay("twosometime");
} else if ((key.IsDown(38) && (key.IsDown(83))) && (_root.player.gun == 1)) {
_root.player2.gotoAndPlay("upwardshot");
} else if (key.IsDown(68)) {
_root.player.gotoAndPlay("attack1");
} else if (key.IsDown(83) && (_root.player.gun == 1)) {
_root.player2.gotoAndPlay("shoot");
} else if (key.IsDown(69)) {
_root.player2.gotoAndPlay("taunt");
gotoAndPlay (1);
if (_root.Health > (_root.Healthfull / 3)) {
gotoAndStop (1);
}
}
}
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 761
onClipEvent (enterFrame) {
if (key.IsDown(83) && (_root.player.gun == 2)) {
_root.player.gotoAndPlay("shotgun");
} else if ((key.IsDown(83) && (key.IsDown(40))) && (_root.player.gun == 2)) {
_root.player.gotoAndPlay("fireworks");
}
if (key.IsDown(83) && (_root.player.gun == 4)) {
_root.player.gotoAndPlay("machinegun");
}
}
Instance of Symbol 271 MovieClip in Symbol 594 MovieClip Frame 761
onClipEvent (enterFrame) {
if (key.IsDown(83) && (_root.player.gun == 3)) {
_root.player.gotoAndPlay("grenade");
} else if ((key.IsDown(83) && (key.IsDown(40))) && (_root.player.gun == 2)) {
_root.player.gotoAndPlay("fireworks");
}
}
Symbol 617 MovieClip Frame 1
stop();
Symbol 617 MovieClip Frame 2
stop();
Symbol 624 MovieClip Frame 1
stop();
Symbol 663 MovieClip Frame 1
stop();
Symbol 663 MovieClip Frame 2
_root.player.combo = _root.player.combo + 1;
Symbol 663 MovieClip Frame 11
gotoAndStop (1);
Symbol 663 MovieClip Frame 19
gotoAndStop (1);
Symbol 663 MovieClip Frame 40
gotoAndStop (81);
Symbol 663 MovieClip Frame 80
gotoAndStop (81);
Symbol 663 MovieClip Frame 81
stop();
Symbol 663 MovieClip Frame 104
gotoAndStop (81);
Symbol 683 MovieClip Frame 1
stop();
Symbol 683 MovieClip Frame 2
stop();
Symbol 683 MovieClip Frame 3
stop();
Symbol 690 MovieClip Frame 27
stop();
Symbol 694 MovieClip Frame 30
stop();
Symbol 698 MovieClip Frame 30
stop();
Symbol 699 MovieClip Frame 1
stop();
_root.player.Heart = 1;
Symbol 699 MovieClip Frame 2
stop();
_root.player.Heart = 2;
Symbol 699 MovieClip Frame 3
stop();
_root.player.Heart = 3;
Symbol 703 MovieClip Frame 1
stop();
Symbol 703 MovieClip Frame 2
_root.level = _root.level + 1;
Symbol 720 MovieClip Frame 7
_root.player.blade = 1;
Symbol 720 MovieClip Frame 26
stop();
_root.player.blade = 1;
Symbol 724 MovieClip Frame 6
_root.player.blade = 2;
Symbol 724 MovieClip Frame 26
stop();
_root.player.blade = 2;
Symbol 728 MovieClip Frame 7
_root.player.blade = 3;
Symbol 728 MovieClip Frame 26
stop();
_root.player.blade = 3;
Symbol 732 MovieClip Frame 7
_root.player.blade = 4;
Symbol 732 MovieClip Frame 26
stop();
_root.player.blade = 4;
Symbol 733 MovieClip Frame 1
stop();
Symbol 733 MovieClip Frame 2
stop();
Symbol 733 MovieClip Frame 3
stop();
Symbol 733 MovieClip Frame 4
stop();
Symbol 738 MovieClip Frame 6
_root.player.gun = 1;
Symbol 738 MovieClip Frame 23
stop();
Symbol 742 MovieClip Frame 6
_root.player.gun = 2;
Symbol 742 MovieClip Frame 26
_root.player.gun = 2;
Symbol 742 MovieClip Frame 27
stop();
Symbol 746 MovieClip Frame 6
_root.player.gun = 3;
Symbol 746 MovieClip Frame 30
_root.player.gun = 3;
Symbol 746 MovieClip Frame 31
stop();
Symbol 750 MovieClip Frame 6
_root.player.gun = 4;
Symbol 750 MovieClip Frame 30
_root.player.gun = 4;
Symbol 750 MovieClip Frame 31
stop();
Symbol 751 MovieClip Frame 1
stop();
Symbol 751 MovieClip Frame 2
stop();
Symbol 751 MovieClip Frame 3
stop();
Symbol 751 MovieClip Frame 4
stop();
Symbol 758 MovieClip Frame 1
stop();
Symbol 758 MovieClip Frame 2
stop();
Symbol 758 MovieClip Frame 3
stop();
Symbol 758 MovieClip Frame 4
stop();
Symbol 758 MovieClip Frame 5
stop();
Symbol 758 MovieClip Frame 6
stop();
Symbol 758 MovieClip Frame 7
stop();
Symbol 764 Button
on (release) {
play();
}
Symbol 781 MovieClip Frame 1
stop();
Symbol 781 MovieClip Frame 2
stop();
Symbol 781 MovieClip Frame 3
stop();
Symbol 781 MovieClip Frame 4
stop();
Symbol 781 MovieClip Frame 5
stop();
Symbol 781 MovieClip Frame 6
stop();
Symbol 781 MovieClip Frame 7
stop();
Symbol 781 MovieClip Frame 8
stop();
Symbol 781 MovieClip Frame 9
stop();
Symbol 781 MovieClip Frame 10
stop();
Symbol 781 MovieClip Frame 11
stop();
Symbol 781 MovieClip Frame 12
stop();
Symbol 781 MovieClip Frame 13
stop();
Symbol 781 MovieClip Frame 14
stopAllSounds();
Symbol 781 MovieClip Frame 15
stop();
_root.ENEMY.hangtime = 2;
_root.ENEMY.gotoAndStop(1);
_root.ENEMY.Health = 500;
Symbol 795 Button
on (release) {
if (_root.mission == 1) {
_root.gotoAndPlay(3);
}
}
on (release) {
if (_root.mission == 2) {
_root.gotoAndPlay(7);
}
}
on (release) {
if (_root.mission == 3) {
_root.gotoAndPlay(11);
}
}
on (release) {
if (_root.mission == 4) {
_root.gotoAndPlay(17);
}
}
on (release) {
if (_root.mission == 5) {
_root.gotoAndPlay(21);
}
}
on (release) {
if (_root.mission == 6) {
_root.gotoAndPlay(25);
}
}
on (release) {
if (_root.mission == 7) {
_root.gotoAndPlay(29);
}
}
on (release) {
if (_root.mission == 8) {
_root.gotoAndPlay(36);
}
}
on (release) {
if (_root.mission == 9) {
_root.gotoAndPlay(40);
}
}
on (release) {
if (_root.mission == 10) {
_root.gotoAndPlay(44);
}
}
on (release) {
if (_root.mission == 11) {
_root.gotoAndPlay(48);
}
}
on (release) {
if (_root.mission == 12) {
_root.gotoAndPlay(55);
}
}
on (release) {
if (_root.mission == 13) {
_root.gotoAndPlay(59);
}
}
on (release) {
if (_root.mission == 14) {
_root.gotoAndPlay(63);
}
}
on (release) {
if (_root.mission == 15) {
_root.gotoAndPlay(67);
}
}
on (release) {
if (_root.mission == 16) {
_root.gotoAndPlay(74);
}
}
on (release) {
if (_root.mission == 17) {
_root.gotoAndPlay(78);
}
}
on (release) {
if (_root.mission == 18) {
_root.gotoAndPlay(82);
}
}
Symbol 796 Button
on (release) {
_root.gotoAndStop(1);
}
Symbol 797 MovieClip Frame 1
stop();
Symbol 797 MovieClip Frame 4
stopAllSounds();
_root.deaths = _root.deaths + 1;
Symbol 797 MovieClip Frame 104
stopAllSounds();
Symbol 797 MovieClip Frame 105
_quality = "High";
Symbol 797 MovieClip Frame 106
_quality = "High";
Symbol 797 MovieClip Frame 130
stop();
Symbol 797 MovieClip Frame 131
gotoAndStop (130);
Symbol 797 MovieClip Frame 132
gotoAndStop (130);
Symbol 797 MovieClip Frame 133
gotoAndStop (130);
Symbol 800 MovieClip Frame 1
stop();
Symbol 800 MovieClip Frame 2
stop();
Symbol 800 MovieClip Frame 3
stop();
Symbol 800 MovieClip Frame 4
stop();
Symbol 801 MovieClip Frame 1
stop();
Symbol 801 MovieClip Frame 2
stop();
Symbol 801 MovieClip Frame 3
stop();
Symbol 801 MovieClip Frame 4
stop();
Symbol 841 MovieClip Frame 1
stop();
Symbol 841 MovieClip Frame 2
stop();
Symbol 841 MovieClip Frame 3
stop();
Symbol 841 MovieClip Frame 4
stop();
Symbol 841 MovieClip Frame 5
stop();
Symbol 841 MovieClip Frame 6
stop();
Symbol 841 MovieClip Frame 7
stop();
Symbol 841 MovieClip Frame 8
stop();
Symbol 841 MovieClip Frame 9
stop();
Symbol 841 MovieClip Frame 10
stop();
Symbol 841 MovieClip Frame 11
stop();
Symbol 841 MovieClip Frame 12
stop();
Symbol 841 MovieClip Frame 13
stop();
Symbol 841 MovieClip Frame 14
stop();
Symbol 841 MovieClip Frame 15
stop();
Symbol 841 MovieClip Frame 16
stop();
Symbol 841 MovieClip Frame 17
stop();
Symbol 841 MovieClip Frame 18
stop();
Symbol 842 Button
on (release) {
gotoAndStop (2);
}
Symbol 843 Button
on (release) {
gotoAndStop (3);
}
Symbol 854 Button
on (rollOver) {
_root.pause.Item.gotoAndStop(1);
}
Symbol 855 Button
on (rollOver) {
if (_root.lightning > 0) {
_root.pause.Item.gotoAndStop(2);
} else {
_root.pause.Item.gotoAndStop(12);
}
}
Symbol 856 Button
on (rollOver) {
if (_root.HellFire > 0) {
_root.pause.Item.gotoAndStop(3);
} else {
_root.pause.Item.gotoAndStop(12);
}
}
Symbol 857 Button
on (rollOver) {
if (_root.DevilsDemise > 0) {
_root.pause.Item.gotoAndStop(4);
} else {
_root.pause.Item.gotoAndStop(12);
}
}
Symbol 858 Button
on (rollOver) {
_root.pause.Item.gotoAndStop(5);
}
Symbol 859 Button
on (rollOver) {
if (_root.ShotGun > 0) {
_root.pause.Item.gotoAndStop(6);
} else {
_root.pause.Item.gotoAndStop(12);
}
}
Symbol 860 Button
on (rollOver) {
if (_root.Grenade > 0) {
_root.pause.Item.gotoAndStop(7);
} else {
_root.pause.Item.gotoAndStop(12);
}
}
Symbol 861 Button
on (rollOver) {
if (_root.Submachine > 0) {
_root.pause.Item.gotoAndStop(8);
} else {
_root.pause.Item.gotoAndStop(12);
}
}
Symbol 862 Button
on (rollOver) {
_root.pause.Item.gotoAndStop(9);
}
Symbol 863 Button
on (rollOver) {
if (_root.SpeedHeart > 0) {
_root.pause.Item.gotoAndStop(10);
} else {
_root.pause.Item.gotoAndStop(12);
}
}
Symbol 864 Button
on (rollOver) {
if (_root.EndureHeart > 0) {
_root.pause.Item.gotoAndStop(11);
} else {
_root.pause.Item.gotoAndStop(12);
}
}
Symbol 937 MovieClip Frame 1
stop();
Symbol 937 MovieClip Frame 2
stop();
Symbol 937 MovieClip Frame 3
stop();
Symbol 937 MovieClip Frame 4
stop();
Symbol 937 MovieClip Frame 5
stop();
Symbol 937 MovieClip Frame 6
stop();
Symbol 937 MovieClip Frame 7
stop();
Symbol 937 MovieClip Frame 8
stop();
Symbol 937 MovieClip Frame 9
stop();
Symbol 937 MovieClip Frame 10
stop();
Symbol 937 MovieClip Frame 11
stop();
Symbol 937 MovieClip Frame 12
stop();
Symbol 938 Button
on (release) {
gotoAndStop (1);
}
Symbol 944 Button
on (release) {
if (_root.rumble > 0) {
_root.rumble = 0;
} else if (_root.rumble < 1) {
_root.rumble = 5;
}
}
Symbol 945 Button
on (release) {
_quality = "High";
_root.quality = 2;
}
Symbol 946 Button
on (release) {
_quality = "Medium";
_root.quality = 1;
}
Symbol 947 Button
on (release) {
_quality = "Low";
_root.quality = 3;
}
Symbol 948 MovieClip Frame 2
stop();
Symbol 948 MovieClip Frame 3
stop();
Symbol 951 MovieClip Frame 1
stop();
Symbol 951 MovieClip Frame 2
stop();
Symbol 951 MovieClip Frame 3
stop();
Instance of Symbol 78 MovieClip in Symbol 951 MovieClip Frame 3
onClipEvent (load) {
this.blurr._alpha = 0;
}
onClipEvent (enterFrame) {
if (focus > 0) {
this.blurr._alpha = this.blurr._alpha + 0.5;
this.blurr._xscale = this.blurr._xscale + 0.05;
} else if (focus < 0) {
this.blurr._alpha = this.blurr._alpha - 0.9;
this.blurr._xscale = this.blurr._xscale - 0.09;
}
if (this.blurr._alpha > 40) {
focus = -1;
} else if (this.blurr._alpha < 1) {
focus = 1;
}
}
Symbol 955 MovieClip Frame 1
stop();
Symbol 955 MovieClip Frame 2
stopAllSounds();
Symbol 955 MovieClip Frame 66
_root.play();
Symbol 958 Button
on (release) {
if (((_root.scorestats == _root.score) && (_root.killstats == _root.kills)) && (_root.damagestats == _root.damage)) {
_root.exit.play();
}
}
Symbol 976 MovieClip Frame 8
stop();
Symbol 986 MovieClip Frame 1
stop();
Symbol 986 MovieClip Frame 2
stop();
Symbol 986 MovieClip Frame 3
stop();
Symbol 986 MovieClip Frame 4
stop();
Symbol 986 MovieClip Frame 5
stop();
Symbol 986 MovieClip Frame 6
stop();
Symbol 990 Button
on (press) {
savefile.data.lightning = _root.lightning;
savefile.data.HellFire = _root.HellFire;
savefile.flush();
}
on (press) {
savefile.data.devilsdemise = _root.devilsdemise;
savefile.data.shotgun = _root.shotgun;
savefile.flush();
}
on (press) {
savefile.data.grenade = _root.grenade;
savefile.data.submachine = _root.submachine;
savefile.flush();
}
on (press) {
savefile.data.OAmission = _root.OAmission;
savefile.data.overallkills = _root.overallkills;
savefile.flush();
}
on (press) {
savefile.data.deaths = _root.deaths;
savefile.data.level = _root.level;
savefile.flush();
}
on (press) {
savefile.data.rank1 = _root.rank1;
savefile.data.rank2 = _root.rank2;
savefile.flush();
}
on (press) {
savefile.data.rank3 = _root.rank3;
savefile.data.rank4 = _root.rank4;
savefile.flush();
}
on (press) {
savefile.data.rank5 = _root.rank5;
savefile.data.rank6 = _root.rank6;
savefile.flush();
}
on (press) {
savefile.data.rank7 = _root.rank7;
savefile.data.rank8 = _root.rank8;
savefile.flush();
}
on (press) {
savefile.data.rank9 = _root.rank9;
savefile.data.rank10 = _root.rank10;
savefile.flush();
}
on (press) {
savefile.data.rank11 = _root.rank11;
savefile.data.rank12 = _root.rank12;
savefile.flush();
}
on (press) {
savefile.data.rank13 = _root.rank13;
savefile.data.rank14 = _root.rank14;
savefile.flush();
}
on (press) {
savefile.data.rank15 = _root.rank15;
savefile.data.rank16 = _root.rank16;
savefile.flush();
}
on (press) {
savefile.data.rank17 = _root.rank17;
savefile.data.rank18 = _root.rank18;
savefile.flush();
}
on (press) {
savefile.data.rank19 = _root.rank19;
savefile.flush();
}
on (press) {
savefile.data.Speedheart = _root.Speedheart;
savefile.data.Endureheart = _root.Endureheart;
savefile.flush();
}
on (press) {
savefile.data.NEWHours = _root.NEWHours;
savefile.data.NEWMinutes = _root.NEWMinutes;
savefile.flush();
}
on (press) {
savefile.data.quality = _root.quality;
savefile.data.rumble = _root.rumble;
savefile.flush();
}
on (press) {
_root.NS.play();
}
Symbol 995 MovieClip Frame 1
stop();
Symbol 1031 MovieClip Frame 1
stop();
Symbol 1031 MovieClip Frame 2
stop();
Symbol 1063 MovieClip Frame 12
gotoAndPlay (95);
Symbol 1063 MovieClip Frame 13
gotoAndPlay (95);
Symbol 1063 MovieClip Frame 20
_root.ENEMY2.motion = 0;
_root.ENEMY.motion = 0;
Symbol 1063 MovieClip Frame 112
_root.ENEMY.stabfill = 0;
_root.ENEMY2.stabfill = 0;
_root.ENEMY2.motion = 5;
_root.ENEMY.motion = 5;
Symbol 1063 MovieClip Frame 113
_root.ENEMY.stabfill = 0;
_root.ENEMY2.stabfill = 0;
_root.ENEMY2.motion = 5;
_root.ENEMY.motion = 5;
Symbol 1063 MovieClip Frame 114
_root.ENEMY.stabfill = 0;
_root.ENEMY2.stabfill = 0;
_root.ENEMY2.motion = 5;
_root.ENEMY.motion = 5;
Symbol 1063 MovieClip Frame 115
_root.ENEMY.stabfill = 0;
_root.ENEMY2.stabfill = 0;
_root.ENEMY2.motion = 5;
_root.ENEMY.motion = 5;
Symbol 1064 MovieClip Frame 1
stop();
Symbol 1064 MovieClip Frame 2
stop();
Symbol 1078 MovieClip Frame 12
stop();
Symbol 1079 MovieClip Frame 1
stop();
Symbol 1079 MovieClip Frame 2
stop();
Symbol 1099 MovieClip Frame 1
stop();
Symbol 1099 MovieClip Frame 2
stop();
Symbol 1119 MovieClip Frame 1
stop();
_root._y = 0;
Symbol 1119 MovieClip Frame 2
_root.player.combo = _root.player.combo + 1;
Symbol 1119 MovieClip Frame 11
gotoAndStop (1);
Symbol 1119 MovieClip Frame 19
gotoAndStop (1);
Symbol 1119 MovieClip Frame 40
gotoAndStop (81);
Symbol 1119 MovieClip Frame 80
gotoAndStop (81);
Symbol 1119 MovieClip Frame 81
stop();
Symbol 1119 MovieClip Frame 110
gotoAndStop (81);
Symbol 1119 MovieClip Frame 111
_root._y = -0.75;
Symbol 1119 MovieClip Frame 112
_root._y = 0.75;
Symbol 1119 MovieClip Frame 113
_root._y = -0.75;
Symbol 1119 MovieClip Frame 114
_root._y = 0.75;
Symbol 1119 MovieClip Frame 115
_root._y = -0.75;
Symbol 1119 MovieClip Frame 116
_root._y = 0;
Symbol 1119 MovieClip Frame 130
gotoAndStop (1);
Symbol 1158 MovieClip Frame 1
stop();
Symbol 1158 MovieClip Frame 2
stop();
Symbol 1162 MovieClip Frame 1
stop();
Symbol 1162 MovieClip Frame 2
stop();
Symbol 1162 MovieClip Frame 3
stop();
Symbol 1164 MovieClip Frame 1
stop();
Symbol 1164 MovieClip Frame 2
stop();
Symbol 1167 MovieClip Frame 1
stop();
Symbol 1167 MovieClip Frame 2
stop();
Symbol 1167 MovieClip Frame 3
stop();
Symbol 1169 MovieClip Frame 1
stop();
Symbol 1169 MovieClip Frame 2
stop();
Symbol 1172 MovieClip Frame 1
stop();
Symbol 1172 MovieClip Frame 2
stop();
Symbol 1172 MovieClip Frame 3
stop();
Symbol 1174 MovieClip Frame 1
stop();
Symbol 1174 MovieClip Frame 2
stop();
Symbol 1178 MovieClip Frame 1
stop();
Symbol 1178 MovieClip Frame 2
stop();
Symbol 1178 MovieClip Frame 3
stop();
Symbol 1180 MovieClip Frame 1
stop();
Symbol 1180 MovieClip Frame 2
stop();
Symbol 1184 MovieClip Frame 1
stop();
Symbol 1184 MovieClip Frame 2
stop();
Symbol 1184 MovieClip Frame 3
stop();
Symbol 1186 MovieClip Frame 1
stop();
Symbol 1186 MovieClip Frame 2
stop();
Symbol 1190 MovieClip Frame 1
stop();
Symbol 1190 MovieClip Frame 2
stop();
Symbol 1190 MovieClip Frame 3
stop();
Symbol 1192 MovieClip Frame 1
stop();
Symbol 1192 MovieClip Frame 2
stop();
Symbol 1214 MovieClip Frame 13
if (_root.mission == 16) {
_root.ENEMY.attacktimer = 200;
}
Symbol 1214 MovieClip Frame 14
stop();
Symbol 1214 MovieClip Frame 15
stop();
_root.ENEMY.gotoAndStop(1);
Symbol 1226 MovieClip Frame 14
_root.ENEMY.attacktimer = -50;
Symbol 1226 MovieClip Frame 15
_root.ENEMY.gotoAndStop(1);
stop();
stop();
Symbol 1229 MovieClip Frame 1
stop();
Symbol 1229 MovieClip Frame 2
stop();
Symbol 1229 MovieClip Frame 3
stop();
Symbol 1231 MovieClip Frame 1
stop();
Symbol 1231 MovieClip Frame 2
stop();
Symbol 1246 MovieClip Frame 14
if (_root.mission == 16) {
_root.ENEMY.attacktimer = 225;
}
Symbol 1246 MovieClip Frame 15
_root.ENEMY.gotoAndStop(1);
stop();
Symbol 1283 MovieClip Frame 17
_root.ENEMY.attack = 30;
_root.ENEMY.friction = 2.5;
Symbol 1283 MovieClip Frame 31
_root.ENEMY.attack = 30;
_root.ENEMY.friction = 2.5;
Symbol 1283 MovieClip Frame 43
_root.ENEMY.attack = 30;
_root.ENEMY.friction = 2.5;
Symbol 1283 MovieClip Frame 58
_root.ENEMY.attack = 30;
_root.ENEMY.friction = 2.5;
Symbol 1283 MovieClip Frame 81
stop();
_root.ENEMY.gotoAndStop(1);
Symbol 1284 MovieClip Frame 1
stop();
Symbol 1284 MovieClip Frame 2
stop();
Symbol 1284 MovieClip Frame 3
stop();
Symbol 1284 MovieClip Frame 4
stop();
Symbol 1284 MovieClip Frame 5
stop();
Symbol 1285 MovieClip Frame 28
stop();
stop();
Symbol 1286 MovieClip Frame 30
stop();
Symbol 1287 MovieClip Frame 1
stop();
Symbol 1287 MovieClip Frame 2
stop();
Symbol 1292 MovieClip Frame 1
stop();
Symbol 1292 MovieClip Frame 26
gotoAndStop (1);
Symbol 1292 MovieClip Frame 49
gotoAndStop (1);
Symbol 1295 MovieClip Frame 1
stop();
Symbol 1312 MovieClip Frame 32
stop();
Symbol 1321 MovieClip Frame 1
stopAllSounds();
stopAllSounds();
_root.player.gotoAndStop("scared");
_root.player.gravity = 1;
_root.player.falling = 0;
_root.player.motion = 0;
_root.player.hangtime = 0;
_root.player.plundge = 3;
Symbol 1321 MovieClip Frame 2
stopAllSounds();
stopAllSounds();
_root.player.gotoAndStop("scared");
_root.player.gravity = 1;
_root.player.falling = 0;
_root.player.motion = 0;
_root.player.hangtime = 0;
_root.player.plundge = 3;
Symbol 1321 MovieClip Frame 3
stopAllSounds();
stopAllSounds();
_root.player.gotoAndStop("scared");
_root.player.gravity = 1;
_root.player.falling = 0;
_root.player.motion = 0;
_root.player.hangtime = 0;
_root.player.plundge = 3;
Symbol 1321 MovieClip Frame 4
stopAllSounds();
Symbol 1321 MovieClip Frame 208
_root.exitepic.play();
Symbol 1324 MovieClip Frame 1
stop();
Symbol 1324 MovieClip Frame 2
_root.player.combo = _root.player.combo + 1;
Symbol 1324 MovieClip Frame 21
gotoAndStop (1);
Symbol 1324 MovieClip Frame 30
gotoAndStop (1);
Symbol 1324 MovieClip Frame 45
stop();
Symbol 1324 MovieClip Frame 79
stop();
Symbol 1324 MovieClip Frame 113
stop();
Symbol 1345 Button
on (release) {
_root.exit.play();
}
Symbol 1406 MovieClip Frame 1
stop();
Symbol 1406 MovieClip Frame 2
_root.player.combo = _root.player.combo + 1;
Symbol 1406 MovieClip Frame 11
gotoAndStop (1);
Symbol 1406 MovieClip Frame 19
gotoAndStop (1);
Symbol 1406 MovieClip Frame 25
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 1406 MovieClip Frame 26
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 1406 MovieClip Frame 27
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 1406 MovieClip Frame 28
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 1406 MovieClip Frame 29
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 1406 MovieClip Frame 30
if (_root.rumble > 0) {
_root._y = -0.5;
}
Symbol 1406 MovieClip Frame 31
if (_root.rumble > 0) {
_root._y = 0.5;
}
Symbol 1406 MovieClip Frame 32
if (_root.rumble > 0) {
_root._y = 0;
}
Symbol 1406 MovieClip Frame 35
gotoAndStop (38);
Symbol 1439 MovieClip Frame 1
stopAllSounds();
Symbol 1439 MovieClip Frame 2
stop();
Symbol 1439 MovieClip Frame 7
stopAllSounds();
Symbol 1439 MovieClip Frame 70
stop();
Symbol 1452 MovieClip Frame 1
stop();
Symbol 1452 MovieClip Frame 2
stop();
Symbol 1470 MovieClip Frame 70
gotoAndPlay (40);
Symbol 1471 MovieClip Frame 1
stop();
Symbol 1471 MovieClip Frame 2
stop();
Symbol 1488 MovieClip Frame 1
stop();
Symbol 1488 MovieClip Frame 2
stop();
Symbol 1493 MovieClip Frame 1
stop();
Symbol 1493 MovieClip Frame 2
stop();
Symbol 1514 MovieClip Frame 1
stop();
Symbol 1514 MovieClip Frame 2
_root.player.combo = _root.player.combo + 1;
Symbol 1514 MovieClip Frame 11
gotoAndStop (1);
Symbol 1514 MovieClip Frame 19
gotoAndStop (1);
Symbol 1514 MovieClip Frame 40
gotoAndStop (81);
Symbol 1514 MovieClip Frame 80
gotoAndStop (81);
Symbol 1514 MovieClip Frame 81
stop();
Symbol 1514 MovieClip Frame 104
gotoAndStop (81);
Symbol 1573 MovieClip Frame 1
stop();
Symbol 1573 MovieClip Frame 2
_root.player.combo = _root.player.combo + 1;
Symbol 1573 MovieClip Frame 11
gotoAndStop (1);
Symbol 1573 MovieClip Frame 19
gotoAndStop (1);
Symbol 1573 MovieClip Frame 69
gotoAndStop (70);
Symbol 1573 MovieClip Frame 70
stop();
Symbol 1615 MovieClip Frame 1
stop();
Symbol 1615 MovieClip Frame 2
stop();
Symbol 1620 MovieClip Frame 1
stop();
Symbol 1620 MovieClip Frame 2
stop();
Symbol 1623 MovieClip Frame 1
stop();
Symbol 1623 MovieClip Frame 2
stop();
Symbol 1626 MovieClip Frame 1
stop();
Symbol 1626 MovieClip Frame 2
stop();
Symbol 1632 MovieClip Frame 1
stop();
Symbol 1632 MovieClip Frame 2
stop();
Symbol 1636 MovieClip Frame 1
stop();
Symbol 1636 MovieClip Frame 2
stop();
Symbol 1655 MovieClip Frame 12
_root.ENEMY.attack = 25;
_root.ENEMY.friction = 1.5;
Symbol 1655 MovieClip Frame 29
_root.ENEMY.attack = 25;
_root.ENEMY.friction = 1.5;
Symbol 1655 MovieClip Frame 49
_root.ENEMY.attack = 25;
_root.ENEMY.friction = 1.5;
Symbol 1661 MovieClip Frame 1
stop();
Symbol 1661 MovieClip Frame 2
stop();
Symbol 1676 MovieClip Frame 10
_root.ENEMY.attacktimer = 320;
Symbol 1676 MovieClip Frame 11
_root.ENEMY.attacktimer = 320;
Symbol 1676 MovieClip Frame 30
_root.player.gotoAndPlay("hooked");
Symbol 1676 MovieClip Frame 104
_root.ENEMY.attacktimer = 300;
Symbol 1677 MovieClip Frame 1
stop();
Symbol 1677 MovieClip Frame 2
stop();
Symbol 1677 MovieClip Frame 3
stop();
Symbol 1677 MovieClip Frame 4
stop();
Symbol 1703 MovieClip Frame 39
stop();
Symbol 1704 MovieClip Frame 1
stop();
Symbol 1704 MovieClip Frame 2
_root.player.combo = _root.player.combo + 1;
Symbol 1704 MovieClip Frame 13
gotoAndStop (1);
Symbol 1704 MovieClip Frame 22
gotoAndStop (1);
Symbol 1704 MovieClip Frame 37
stop();
Symbol 1770 MovieClip Frame 1
stopAllSounds();
Symbol 1770 MovieClip Frame 2
stop();
Symbol 1770 MovieClip Frame 7
stopAllSounds();
Symbol 1770 MovieClip Frame 70
stop();
Symbol 1818 MovieClip Frame 1
_root.ENEMY.attack = 18;
_root.ENEMY.friction2 = 1.5;
Symbol 1818 MovieClip Frame 20
stop();
Symbol 1818 MovieClip Frame 21
prevFrame();
Symbol 1818 MovieClip Frame 22
prevFrame();
Symbol 1818 MovieClip Frame 23
prevFrame();
Symbol 1830 MovieClip Frame 1
_root.ENEMY.attack = 18;
_root.ENEMY.friction2 = 1.5;
Symbol 1830 MovieClip Frame 20
stop();
Symbol 1830 MovieClip Frame 21
prevFrame();
Symbol 1830 MovieClip Frame 22
prevFrame();
Symbol 1830 MovieClip Frame 23
prevFrame();
Symbol 1841 MovieClip Frame 14
_root.ENEMY.attack = 30;
_root.ENEMY.friction2 = 1.5;
Symbol 1841 MovieClip Frame 29
stop();
Symbol 1841 MovieClip Frame 30
prevFrame();
Symbol 1841 MovieClip Frame 31
prevFrame();
Symbol 1841 MovieClip Frame 32
prevFrame();
Symbol 1842 MovieClip Frame 1
stop();
Symbol 1842 MovieClip Frame 2
stop();
Symbol 1842 MovieClip Frame 3
stop();
Symbol 1842 MovieClip Frame 4
stop();
Symbol 1870 MovieClip Frame 1
stopAllSounds();
_root.player.gotoAndStop("scared");
_root.player.gravity = 1;
_root.player.falling = 0;
_root.player.motion = 0;
_root.player.hangtime = 0;
_root.player.plundge = 3;
Symbol 1870 MovieClip Frame 2
stopAllSounds();
_root.player.gotoAndStop("scared");
_root.player.gravity = 1;
_root.player.falling = 0;
_root.player.motion = 0;
_root.player.hangtime = 0;
_root.player.plundge = 3;
Symbol 1870 MovieClip Frame 3
stopAllSounds();
_root.player.gotoAndStop("scared");
_root.player.gravity = 1;
_root.player.falling = 0;
_root.player.motion = 0;
_root.player.hangtime = 0;
_root.player.plundge = 3;
Symbol 1870 MovieClip Frame 475
_root.exitepic.play();
Symbol 1870 MovieClip Frame 503
stop();
Symbol 1871 MovieClip Frame 1
stop();
Symbol 1871 MovieClip Frame 2
_root.player.combo = _root.player.combo + 1;
Symbol 1871 MovieClip Frame 21
gotoAndStop (1);
Symbol 1871 MovieClip Frame 30
gotoAndStop (1);
Symbol 1871 MovieClip Frame 45
stop();
Symbol 1882 MovieClip Frame 1
stop();
Symbol 1882 MovieClip Frame 320
stop();
_root.play();
Symbol 1911 MovieClip Frame 1
stopAllSounds();
Symbol 1911 MovieClip Frame 2
stop();
Symbol 1911 MovieClip Frame 7
stopAllSounds();
Symbol 1911 MovieClip Frame 70
stop();
Symbol 1949 MovieClip Frame 1
stop();
Symbol 1949 MovieClip Frame 2
stop();
Symbol 1954 MovieClip Frame 1
stop();
Symbol 1954 MovieClip Frame 2
stop();
Symbol 1957 MovieClip Frame 1
stop();
Symbol 1957 MovieClip Frame 2
stop();
Symbol 1960 MovieClip Frame 1
stop();
Symbol 1960 MovieClip Frame 2
stop();
Symbol 1964 MovieClip Frame 1
stop();
Symbol 1964 MovieClip Frame 2
stop();
Symbol 1983 MovieClip Frame 2
_root.ENEMY.attack = 20;
_root.ENEMY.friction = 1.5;
Symbol 1983 MovieClip Frame 19
_root.ENEMY.attack = 20;
_root.ENEMY.friction = 1.5;
Symbol 1983 MovieClip Frame 36
_root.ENEMY.attack = 20;
_root.ENEMY.friction = 1.5;
Symbol 1983 MovieClip Frame 52
stop();
Symbol 1990 MovieClip Frame 1
if (_root.ENEMY.timingstop > 0) {
stop();
}
if (_root.ENEMY.timingstop < 2) {
play();
}
Symbol 1990 MovieClip Frame 2
_root.ENEMY.timestop = 5;
Symbol 1990 MovieClip Frame 3
_root.ENEMY.timingstop = 30;
_root.ENEMY.timerevert = 5;
Symbol 1990 MovieClip Frame 4
_root.ENEMY.timingstop = 30;
_root.ENEMY.timerevert = 5;
Symbol 1990 MovieClip Frame 5
_root.ENEMY.attacker = 70;
_root.ENEMY.timingstop = 30;
_root.ENEMY.timerevert = 5;
Symbol 1990 MovieClip Frame 6
_root.ENEMY.attacker = 70;
_root.ENEMY.timestop = 30;
Symbol 1990 MovieClip Frame 7
_root.ENEMY.attacker = 70;
_root.ENEMY.timestop = 30;
Symbol 1990 MovieClip Frame 8
stop();
_root.ENEMY.attacker = 70;
stop();
_root.ENEMY.attacker = 70;
Symbol 1993 MovieClip Frame 1
_root.ENEMY.timingstop = 0;
_root.ENEMY.timerevert = 0;
Symbol 1993 MovieClip Frame 2
_root.ENEMY.timingstop = 0;
_root.ENEMY.timerevert = 0;
Symbol 1993 MovieClip Frame 3
_root.ENEMY.timingstop = 0;
_root.ENEMY.timerevert = 0;
Symbol 1993 MovieClip Frame 4
_root.ENEMY.attacker = 0;
_root.ENEMY.timingstop = 0;
_root.ENEMY.timerevert = 0;
Symbol 1993 MovieClip Frame 5
_root.ENEMY.attacker = 0;
_root.ENEMY.timingstop = 0;
_root.ENEMY.timerevert = 0;
Symbol 1993 MovieClip Frame 6
_root.ENEMY.attacker = 0;
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY.timingstop = 0;
_root.ENEMY.timerevert = 0;
Symbol 1993 MovieClip Frame 38
_root.ENEMY.attacker = 0;
_root.ENEMY.timingstop = 0;
_root.ENEMY.timerevert = 0;
Symbol 1998 MovieClip Frame 21
_root.ENEMY.timingstop = 5;
_root.ENEMY.attack = 20;
_root.ENEMY.friction = 2;
Symbol 1998 MovieClip Frame 24
_root.ENEMY.timingstop = 0;
Symbol 1998 MovieClip Frame 25
_root.ENEMY.timingstop = 5;
Symbol 1998 MovieClip Frame 28
_root.ENEMY.timingstop = 0;
_root.ENEMY.timer = 5;
_root.player.motion = 13;
_root.player.play();
Symbol 1998 MovieClip Frame 29
_root.ENEMY.timingstop = 0;
_root.ENEMY.timingstop = 0;
_root.ENEMY.timer = 5;
_root.player.motion = 13;
_root.player.play();
Symbol 1998 MovieClip Frame 30
_root.ENEMY.timingstop = 0;
_root.ENEMY.timingstop = 0;
_root.ENEMY.timer = 5;
_root.player.motion = 13;
_root.player.play();
Symbol 1998 MovieClip Frame 32
_root.ENEMY.attacker = 0;
_root.ENEMY.timingstop = 0;
_root.ENEMY.timer = 5;
_root.player.motion = 13;
_root.player.play();
Symbol 1998 MovieClip Frame 33
_root.ENEMY.attacker = 0;
_root.ENEMY.timingstop = 0;
_root.ENEMY.timer = 5;
_root.player.motion = 13;
_root.player.play();
Symbol 1998 MovieClip Frame 34
_root.ENEMY.attacker = 0;
Symbol 1998 MovieClip Frame 35
_root.ENEMY.SWORD.gotoAndStop(1);
Symbol 1998 MovieClip Frame 53
_root.ENEMY.attacker = 0;
Symbol 1999 MovieClip Frame 1
stop();
Symbol 1999 MovieClip Frame 2
stop();
Symbol 1999 MovieClip Frame 3
stop();
Symbol 1999 MovieClip Frame 4
stop();
Symbol 1999 MovieClip Frame 5
stop();
Symbol 1999 MovieClip Frame 6
stop();
Symbol 2020 MovieClip Frame 1
stop();
Symbol 2020 MovieClip Frame 2
_root.player.combo = _root.player.combo + 1;
Symbol 2020 MovieClip Frame 21
gotoAndStop (1);
Symbol 2020 MovieClip Frame 30
gotoAndStop (1);
Symbol 2020 MovieClip Frame 31
_root.player.gotoAndPlay("down");
_root.player.motion = 0;
_root.player.hangtime = 0;
_root.player.falling = 0;
_root.player.plundge = 6;
_root.player.gravity = 1;
_root.player.attack = 0;
_root.player.friction = 0;
_root.player.damage = 25;
_root.player.friction2 = 1.5;
Symbol 2020 MovieClip Frame 45
stop();
Symbol 2077 MovieClip Frame 1
stopAllSounds();
Symbol 2077 MovieClip Frame 2
stop();
Symbol 2077 MovieClip Frame 7
stopAllSounds();
Symbol 2077 MovieClip Frame 70
stop();
Symbol 2185 MovieClip Frame 1
stop();
Symbol 2185 MovieClip Frame 19
_root.ENEMY.timingstop = 5;
Symbol 2185 MovieClip Frame 21
my_color = new Color(_root.BG);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
my_color = new Color(_root.Player);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
Symbol 2185 MovieClip Frame 23
my_color = new Color(_root.BG);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
my_color = new Color(_root.Player);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
Symbol 2185 MovieClip Frame 25
my_color = new Color(_root.BG);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
my_color = new Color(_root.Player);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
Symbol 2185 MovieClip Frame 27
my_color = new Color(_root.BG);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
my_color = new Color(_root.Player);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
Symbol 2185 MovieClip Frame 29
my_color = new Color(_root.BG);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
my_color = new Color(_root.Player);
myColorTransform = {ra:-100, rb:250, ga:-100, gb:250, ba:-100, bb:250};
my_color.setTransform(myColorTransform);
Symbol 2185 MovieClip Frame 30
my_color = new Color(_root.BG);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
my_color = new Color(_root.Player);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
Symbol 2185 MovieClip Frame 33
my_color = new Color(_root.BG);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
my_color = new Color(_root.Player);
myColorTransform = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0};
my_color.setTransform(myColorTransform);
Symbol 2185 MovieClip Frame 34
_root.ENEMY.timingstop = 5;
Symbol 2185 MovieClip Frame 35
_root.ENEMY.timingstop = 5;
Symbol 2185 MovieClip Frame 36
_root.ENEMY.timingstop = 0;
Symbol 2185 MovieClip Frame 37
_root.ENEMY.timingstop = 0;
Symbol 2185 MovieClip Frame 38
_root.ENEMY.timingstop = 0;
Symbol 2185 MovieClip Frame 39
_root.ENEMY.blaster = 0;
Symbol 2210 MovieClip Frame 1
_root.ENEMY.attack = 15;
_root.ENEMY.friction = 2;
Symbol 2210 MovieClip Frame 25
_root.ENEMY.attack = 15;
_root.ENEMY.friction = 2;
Symbol 2210 MovieClip Frame 50
_root.ENEMY.attack = 15;
_root.ENEMY.friction = 2;
Symbol 2210 MovieClip Frame 74
_root.ENEMY.attack = 15;
_root.ENEMY.friction = 2;
Symbol 2213 MovieClip Frame 1
_root.ENEMY.filler = 1;
Symbol 2215 MovieClip Frame 1
stop();
Symbol 2215 MovieClip Frame 2
stop();
Symbol 2215 MovieClip Frame 3
stop();
Symbol 2215 MovieClip Frame 4
stop();
Symbol 2215 MovieClip Frame 5
stop();
Symbol 2237 MovieClip Frame 95
stop();
_root.exitepic.play();
Symbol 2239 MovieClip Frame 1
stop();
Symbol 2239 MovieClip Frame 2
_root.player.combo = _root.player.combo + 1;
Symbol 2239 MovieClip Frame 21
gotoAndStop (1);
Symbol 2239 MovieClip Frame 30
gotoAndStop (1);
Symbol 2239 MovieClip Frame 45
stop();
Symbol 2304 MovieClip Frame 48
stop();
Symbol 2341 MovieClip Frame 48
stop();
Symbol 2350 MovieClip Frame 1
stop();
Symbol 2350 MovieClip Frame 283
stop();
_root.play();
Symbol 2376 Button
on (release) {
gotoAndPlay (2730);
}
Symbol 2378 MovieClip Frame 2730
play();
Symbol 2378 MovieClip Frame 2733
stopAllSounds();
Symbol 2378 MovieClip Frame 2734
stop();
_root.play();
Symbol 2381 MovieClip Frame 1
stopAllSounds();
Symbol 2381 MovieClip Frame 3
stop();