Frame 1
stop();
Stage.ShowMenu = eval (false)();
_root.ammunition._visible = false;
_root.Health._visible = false;
Instance of Symbol 110 MovieClip "ammunition" in Frame 1
onClipEvent (load) {
this.level1 = 1;
this.level2 = 1;
this.level3 = 1;
this.level4 = 1;
_root.Health.swordlevel = 1;
_root.Health.armor = 1;
}
onClipEvent (enterFrame) {
_root.gunlevel = this.level1;
_root.gunlevel2 = this.level2;
_root.gunlevel3 = this.level3;
_root.gunlevel4 = this.level4;
_root.Swordlevel = _root.Health.SwordLevel;
_root.armorlevel = _root.Health.armor;
}
Frame 2
stop();
Stage.ShowMenu = eval (false)();
_root.ammunition._visible = true;
_root.Health._visible = true;
Frame 3
stop();
Stage.ShowMenu = eval (false)();
_root.ammunition._visible = true;
_root.Health._visible = true;
Instance of Symbol 203 MovieClip "player" in Frame 3
onClipEvent (load) {
falling = 10;
jump = 0;
hangtime = 2;
aim = 1;
damage = 0;
friction = 0;
motion = 8;
_root.score = 0;
_root.ammunition.AMMO1 = 150;
_root.ammunition.AMMO2 = 250;
_root.ammunition.AMMO3 = 60;
_root.ammunition.AMMO4 = 350;
_root.ammunition.AMMO5 = 10;
_root.kills = 0;
_root.power = 0;
_root.Health.vitality = 300 + (100 * _root.Health.armor);
_root.Health.VPFULL = 300 + (100 * _root.Health.armor);
}
onClipEvent (enterFrame) {
if (falling > 30) {
falling == 30;
jump == 0;
}
this._y = this._y - jump;
this._y = this._y + falling;
falling = falling + hangtime;
damage = damage - friction;
this.power._alpha = _root.power;
}
onClipEvent (enterFrame) {
if ((this._y > 360) && (falling > 2)) {
falling = 0;
hangtime = 0;
jump = 0;
this._y = 355;
}
if (damage < 0) {
damage = 0;
friction = 0;
}
}
onClipEvent (enterFrame) {
if (key.IsDown(38) && (jump == 0)) {
jump = 30;
hangtime = 2;
}
}
onClipEvent (enterFrame) {
if (key.IsDown(39) && (_root.Health.vitality > 0)) {
this._x = this._x + motion;
_xscale = 100;
_root.guns._xscale = 100;
aim = 1;
this.play();
} else if (key.IsDown(37) && (_root.Health.vitality > 0)) {
this._x = this._x - motion;
_xscale = -100;
aim = -1;
_root.guns._xscale = -100;
this.play();
}
if (key.IsDown(17) && (_root.Health.vitality > 0)) {
_root.ammunition.play();
} else if (key.IsDown(40) && (_root.Health.vitality > 0)) {
this.gotoAndPlay("sword");
_root.power = _root.power + 1.5;
}
}
onClipEvent (enterFrame) {
if (aim > 0) {
_root.guns._x = this._x + 10;
_root.guns._y = this._y;
} else if (aim < 0) {
_root.guns._x = this._x - 10;
_root.guns._y = this._y;
}
}
onClipEvent (mouseDown) {
_root.guns.GUN.play();
_root.guns.GUN2.play();
_root.guns.GUN3.play();
_root.guns.GUN4.play();
_root.guns.GUN5.play();
}
onClipEvent (mouseMove) {
_root.guns.sword.play();
}
onClipEvent (enterFrame) {
if (_root.ammunition.AMMO1 == 0) {
_root.ammunition.AMMO1 = 0;
_root.guns.GUN.gotoAndStop("disable");
} else if (_root.ammunition.AMMO2 == 0) {
_root.ammunition.AMMO2 = 0;
_root.guns.GUN2.gotoAndStop("disable");
} else if (_root.ammunition.AMMO3 == 0) {
_root.ammunition.AMMO3 = 0;
_root.guns.GUN3.gotoAndStop("disable");
} else if (_root.ammunition.AMMO4 == 0) {
_root.ammunition.AMMO4 = 0;
_root.guns.GUN4.gotoAndStop("disable");
} else if (_root.ammunition.AMMO5 == 0) {
_root.ammunition.AMMO5 = 0;
_root.guns.GUN5.gotoAndStop("disable");
}
}
onClipEvent (enterFrame) {
if (_root.Health.swordlevel == 1) {
_root.ammunition.sword.gotoAndStop(1);
this.sword.gotoAndStop(1);
_root.Health.sword.gotoAndStop(1);
} else if (_root.meter.swordlevel == 2) {
_root.ammunition.sword.gotoAndStop(2);
this.sword.gotoAndStop(2);
_root.Health.sword.gotoAndStop(2);
} else if (_root.meter.swordlevel == 3) {
_root.ammunition.sword.gotoAndStop(3);
this.sword.gotoAndStop(3);
_root.Health.sword.gotoAndStop(3);
} else if (_root.meter.swordlevel == 4) {
_root.ammunition.sword.gotoAndStop(4);
this.sword.gotoAndStop(4);
_root.Health.sword.gotoAndStop(4);
} else if (_root.meter.swordlevel == 5) {
_root.ammunition.sword.gotoAndStop(5);
this.sword.gotoAndStop(5);
_root.Health.sword.gotoAndStop(5);
}
if (_root.Health.vitality < 0) {
this.gotoAndStop("dead");
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ENEMY.SWORD.blade.hitBox)) {
this.gotoAndPlay("hurt");
damage = 15;
friction = 2;
motion = 0;
_root.Health.vitality = _root.Health.vitality - 40;
_root.Health.vitality = _root.Health.vitality - (_root.date * 20);
}
if (_root.ENEMY._x > _x) {
this._x = this._x - damage;
} else if (_root.ENEMY._x < _x) {
this._x = this._x + damage;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ENEMY.GUN.shoot.hitBox)) {
this.gotoAndPlay("hurt");
jump = 8;
hangtime = 1;
damage = 2;
friction = 1;
_root.Health.vitality = _root.Health.vitality - 1;
_root.Health.vitality = _root.Health.vitality - _root.date;
}
if (_root.ENEMY._x > _x) {
this._x = this._x - damage;
} else if (_root.ENEMY._x < _x) {
this._x = this._x + damage;
motion = 0;
}
if (_root.Health.vitality < 1) {
this.motion = 0;
this.gotoAndStop("dead");
_root.Health.vitality = 0;
_y = 355;
_root.guns._visible = false;
_root.ENEMY.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY.GUN.gotoAndStop(1);
motion = 0;
}
if (damage < 0) {
damage = 0;
}
if (damage == 0) {
motion = 8;
}
if (_root.kills == 1) {
_root.tutorial.gotoAndStop(2);
}
if (_root.kills == 2) {
_root.tutorial.gotoAndStop(3);
}
if (_root.kills == 3) {
_root.tutorial.gotoAndStop(4);
}
if (_root.kills > 3) {
_root.tutorial.gotoAndStop(5);
_root.tutorial._visible = false;
}
if (_root.kills > 10) {
_root.tutorial.gotoAndStop(6);
_root.tutorial._visible = false;
}
if (this._x > 595) {
this._x = 594;
} else if (this._x < 5) {
this._x = 4;
}
}
onClipEvent (keyUp) {
_root.pause._visible = false;
}
Instance of Symbol 219 MovieClip "Guns" in Frame 3
onClipEvent (enterFrame) {
_root.ANGLE._visible = false;
ANGLE_x = int(_root.ANGLE._x - this._x);
ANGLE_y = int(_root.ANGLE._y - this._y);
if ((ANGLE_x > 0) && (ANGLE_y > 0)) {
quadrante = Number(4);
}
if ((ANGLE_x < 0) && (ANGLE_y > 0)) {
quadrante = Number(1);
}
if ((ANGLE_x < 0) && (ANGLE_y < 0)) {
quadrante = Number(2);
}
if ((ANGLE_x > 0) && (ANGLE_y < 0)) {
quadrante = Number(3);
}
abs_x = Math.abs(ANGLE_x);
abs_y = Math.abs(ANGLE_y);
tg = abs_y / abs_x;
_root.navy2 = (Math.atan(tg) * Number(180)) / Math.PI;
if (quadrante == 1) {
ANGLE = Number(90) - Number(_root.navy2);
}
if (quadrante == 2) {
ANGLE = Number(90) + Number(_root.navy2);
}
if (quadrante == 3) {
ANGLE = Number(270) - Number(_root.navy2);
}
if (quadrante == 4) {
ANGLE = Number(270) + Number(_root.navy2);
}
setProperty(_navy, _rotation , ANGLE);
}
Instance of Symbol 221 MovieClip "ANGLE" in Frame 3
onClipEvent (load) {
startDrag ("", true);
}
Instance of Symbol 322 MovieClip "ENEMY" in Frame 3
onClipEvent (load) {
falling = 10;
jump = 0;
hangtime = 2;
aim = 1;
damage = 0;
blast = 0;
friction = 0;
Health = (_root.date * 200) + 200;
autospawn = 0;
rebirth = 0;
HELL = _root.power * 2;
}
onClipEvent (enterFrame) {
if (falling > 30) {
falling == 30;
}
this._y = this._y + falling;
falling = falling + hangtime;
this._y = this._y - blast;
damage = damage - friction;
this.core._visible = false;
}
onClipEvent (enterFrame) {
if ((this._y > 370) && (falling > 2)) {
falling = 0;
hangtime = 0;
blast = 0;
_rotation = 0;
this._y = 365;
}
if (this._y > 345) {
_rotation = 0;
}
}
onClipEvent (enterFrame) {
if (_root.player._x > (_x + 80)) {
this._x = this._x + 4;
this.SWORD.gotoAndStop(2);
this._xscale = -100;
}
if (_root.player._x > (_x + 130)) {
this._x = this._x - 2;
this.GUN.gotoAndStop(2);
this.SWORD.gotoAndStop(1);
this._xscale = -100;
} else if (_root.player._x > _x) {
this.SWORD.gotoAndStop(2);
this.GUN.gotoAndStop(1);
}
if (_root.player._x > _x) {
this._x = this._x - damage;
this._rotation = this._rotation + (damage / 5);
}
}
onClipEvent (enterFrame) {
if (_root.player._x < (_x - 80)) {
this._x = this._x - 4;
this.SWORD.gotoAndStop(2);
this._xscale = 100;
}
if (_root.player._x < (_x - 130)) {
this._x = this._x + 2;
this.GUN.gotoAndStop(2);
this.SWORD.gotoAndStop(1);
this._xscale = 100;
} else if (_root.player._x < _x) {
this.SWORD.gotoAndStop(2);
this.GUN.gotoAndStop(1);
}
if (_root.player._x < _x) {
this._x = this._x + damage;
this._rotation = this._rotation - (damage / 5);
}
}
onClipEvent (enterFrame) {
if (this.core.hitTest(_root.guns.GUN.hitbox)) {
this.gotoAndPlay("shot");
blast = 0;
hangtime = 2;
damage = 10;
falling = 0;
friction = 3;
Health = Health - (20 * _root.ammunition.level1);
_root.score = _root.score + 20;
_root.cash = _root.cash + 10;
} else if (this.core.hitTest(_root.guns.GUN2.hitbox)) {
this.gotoAndPlay("shot");
blast = 3;
hangtime = 1;
damage = 4;
falling = 0;
friction = 1;
Health = Health - (20 * _root.ammunition.level2);
_root.score = _root.score + 20;
_root.cash = _root.cash + 10;
} else if (this.core.hitTest(_root.guns.GUN3.hitbox)) {
this.gotoAndPlay("bam");
blast = 0;
hangtime = 2;
damage = 10;
falling = 0;
friction = 1;
Health = Health - (100 * _root.ammunition.level3);
_root.score = _root.score + 50;
_root.cash = _root.cash + 50;
} else if (this.core.hitTest(_root.guns.GUN4.hitbox)) {
this.gotoAndPlay("shot");
blast = 3;
hangtime = 1;
damage = 4;
falling = 0;
friction = 1;
Health = Health - (8 * _root.ammunition.level4);
_root.score = _root.score + 1;
_root.cash = _root.cash + 1;
} else if (this.core.hitTest(_root.guns.GUN5.hitbox)) {
this.gotoAndPlay("shot");
hangtime = 2;
Health = Health - (8 * _root.ammunition.level4);
_root.score = _root.score + 300;
_root.cash = _root.cash + 500;
autospawn = 0;
_root.kills = _root.kills + 1;
rebirth = 2;
Health = Health - 3000;
this.gotoAndPlay("death3");
} else if (this.core.hitTest(_root.player.hitbox)) {
this.gotoAndPlay("shot");
hangtime = 2;
damage = 0.7 * _root.power;
falling = 2;
friction = 0.05 * _root.power;
Health = Health - (HELL * _root.Health.swordlevel);
_root.score = _root.score + 200;
_root.cash = _root.cash + 100;
}
if (damage < 0) {
damage = 0;
friction = 0;
} else if (this.core.hitTest(_root.player.hitbox) && (Health < 0)) {
this.gotoAndPlay("death1");
hangtime = 4;
autospawn = 0;
rebirth = 2;
_root.score = _root.score + 1100;
_root.kills = _root.kills + 1;
_root.cash = _root.cash + 200;
} else if (this.core.hitTest(_root.guns.GUN4.hitbox) && (Health < 0)) {
this.gotoAndPlay("death2");
hangtime = 4;
autospawn = 0;
rebirth = 2;
_root.score = _root.score + 500;
_root.kills = _root.kills + 1;
_root.cash = _root.cash + 100;
} else if (this.core.hitTest(_root.guns.GUN3.hitbox) && (Health < 0)) {
this.gotoAndPlay("death3");
hangtime = 4;
autospawn = 0;
rebirth = 2;
_root.score = _root.score + 1000;
_root.kills = _root.kills + 1;
_root.cash = _root.cash + 200;
} else if (this.core.hitTest(_root.guns.GUN2.hitbox) && (Health < 0)) {
this.gotoAndPlay("death2");
hangtime = 4;
autospawn = 0;
rebirth = 2;
_root.score = _root.score + 500;
_root.kills = _root.kills + 1;
_root.cash = _root.cash + 100;
} else if (this.core.hitTest(_root.guns.GUN.hitbox) && (Health < 0)) {
this.gotoAndPlay("death2");
hangtime = 4;
autospawn = 0;
rebirth = 2;
_root.score = _root.score + 500;
_root.kills = _root.kills + 1;
_root.cash = _root.cash + 100;
}
if (autospawn > 150) {
this.Health = (_root.date * 200) + 200;
autospawn = 0;
rebirth = 0;
hangtime = 3;
this.gotoAndStop(1);
}
autospawn = autospawn + rebirth;
}
onClipEvent (enterFrame) {
if (autospawn > 100) {
_y = -100;
}
_root.Auto = this.Autospawn;
_root.Healther = this.Health;
HELL = _root.power * 2;
}
onClipEvent (enterFrame) {
if (this._x > 701) {
this._x = 700;
} else if (this._x < -141) {
this._x = -140;
}
_root.overkill._x = _x;
_root.overkill._y = _y;
if (Health < -40) {
_root.overkill.play();
} else {
_root.overkill.gotoAndStop(1);
}
}
Frame 4
stop();
Stage.ShowMenu = eval (false)();
Frame 5
stop();
Stage.ShowMenu = eval (false)();
Instance of Symbol 396 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (key.IsDown(32)) {
_root.exit.play();
}
}
Frame 6
stop();
Stage.ShowMenu = eval (false)();
Instance of Symbol 203 MovieClip "player" in Frame 6
onClipEvent (load) {
falling = 10;
jump = 0;
hangtime = 2;
aim = 1;
damage = 0;
friction = 0;
motion = 8;
_root.ammunition.AMMO1 = 150;
_root.ammunition.AMMO2 = 250;
_root.ammunition.AMMO3 = 60;
_root.ammunition.AMMO4 = 350;
_root.ammunition.AMMO5 = 10;
_root.date = _root.date + 1;
_root.power = 0;
_root.Health.vitality = 300 + (100 * _root.Health.armor);
_root.Health.VPFULL = 300 + (100 * _root.Health.armor);
}
onClipEvent (enterFrame) {
if (falling > 30) {
falling == 30;
jump == 0;
}
this._y = this._y - jump;
this._y = this._y + falling;
falling = falling + hangtime;
damage = damage - friction;
this.power._alpha = _root.power;
}
onClipEvent (enterFrame) {
if ((this._y > 360) && (falling > 2)) {
falling = 0;
hangtime = 0;
jump = 0;
this._y = 355;
}
if (damage < 0) {
damage = 0;
friction = 0;
}
}
onClipEvent (enterFrame) {
if (key.IsDown(38) && (jump == 0)) {
jump = 30;
hangtime = 2;
}
}
onClipEvent (enterFrame) {
if (key.IsDown(39) && (_root.Health.vitality > 0)) {
this._x = this._x + motion;
_xscale = 100;
_root.guns._xscale = 100;
aim = 1;
this.play();
} else if (key.IsDown(37) && (_root.Health.vitality > 0)) {
this._x = this._x - motion;
_xscale = -100;
aim = -1;
_root.guns._xscale = -100;
this.play();
}
if (key.IsDown(17) && (_root.Health.vitality > 0)) {
_root.ammunition.play();
} else if (key.IsDown(40) && (_root.Health.vitality > 0)) {
this.gotoAndPlay("sword");
_root.power = _root.power + 1.5;
} else if (key.IsDown(16) && (_root.Health.vitality > 0)) {
_root.playlist.play();
}
}
onClipEvent (enterFrame) {
if (aim > 0) {
_root.guns._x = this._x + 10;
_root.guns._y = this._y;
} else if (aim < 0) {
_root.guns._x = this._x - 10;
_root.guns._y = this._y;
}
}
onClipEvent (mouseDown) {
_root.guns.GUN.play();
_root.guns.GUN2.play();
_root.guns.GUN3.play();
_root.guns.GUN4.play();
_root.guns.GUN5.play();
}
onClipEvent (mouseMove) {
_root.guns.sword.play();
}
onClipEvent (enterFrame) {
if (_root.ammunition.AMMO1 == 0) {
_root.ammunition.AMMO1 = 0;
_root.guns.GUN.gotoAndStop("disable");
} else if (_root.ammunition.AMMO2 == 0) {
_root.ammunition.AMMO2 = 0;
_root.guns.GUN2.gotoAndStop("disable");
} else if (_root.ammunition.AMMO3 == 0) {
_root.ammunition.AMMO3 = 0;
_root.guns.GUN3.gotoAndStop("disable");
} else if (_root.ammunition.AMMO4 == 0) {
_root.ammunition.AMMO4 = 0;
_root.guns.GUN4.gotoAndStop("disable");
} else if (_root.ammunition.AMMO5 == 0) {
_root.ammunition.AMMO5 = 0;
_root.guns.GUN5.gotoAndStop("disable");
}
}
onClipEvent (enterFrame) {
if (_root.Health.swordlevel == 1) {
_root.ammunition.sword.gotoAndStop(1);
this.sword.gotoAndStop(1);
_root.Health.sword.gotoAndStop(1);
} else if (_root.meter.swordlevel == 2) {
_root.ammunition.sword.gotoAndStop(2);
this.sword.gotoAndStop(2);
_root.Health.sword.gotoAndStop(2);
} else if (_root.meter.swordlevel == 3) {
_root.ammunition.sword.gotoAndStop(3);
this.sword.gotoAndStop(3);
_root.Health.sword.gotoAndStop(3);
} else if (_root.meter.swordlevel == 4) {
_root.ammunition.sword.gotoAndStop(4);
this.sword.gotoAndStop(4);
_root.Health.sword.gotoAndStop(4);
} else if (_root.meter.swordlevel == 5) {
_root.ammunition.sword.gotoAndStop(5);
this.sword.gotoAndStop(5);
_root.Health.sword.gotoAndStop(5);
}
if (_root.Health.vitality < 0) {
this.gotoAndStop("dead");
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ENEMY.SWORD.blade.hitBox)) {
this.gotoAndPlay("hurt");
damage = 15;
friction = 2;
motion = 0;
_root.Health.vitality = _root.Health.vitality - 40;
}
if (_root.ENEMY._x > _x) {
this._x = this._x - damage;
} else if (_root.ENEMY._x < _x) {
this._x = this._x + damage;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ENEMY.GUN.shoot.hitBox)) {
this.gotoAndPlay("hurt");
jump = 8;
hangtime = 1;
damage = 2;
friction = 1;
_root.Health.vitality = _root.Health.vitality - 1;
}
if (_root.ENEMY._x > _x) {
this._x = this._x - damage;
} else if (_root.ENEMY._x < _x) {
this._x = this._x + damage;
motion = 0;
}
if (_root.Health.vitality < 1) {
this.motion = 0;
this.gotoAndStop("dead");
_root.Health.vitality = 0;
_y = 355;
_root.guns._visible = false;
_root.ENEMY.gotoAndStop(1);
_root.ENEMY.SWORD.gotoAndStop(1);
_root.ENEMY.GUN.gotoAndStop(1);
motion = 0;
}
if (damage < 0) {
damage = 0;
}
if (damage == 0) {
motion = 8;
}
if (_root.kills == 1) {
_root.tutorial.gotoAndStop(2);
}
if (_root.kills == 2) {
_root.tutorial.gotoAndStop(3);
}
if (_root.kills == 3) {
_root.tutorial.gotoAndStop(4);
}
if (_root.kills > 3) {
_root.tutorial.gotoAndStop(5);
_root.tutorial._visible = false;
}
if (_root.kills > 10) {
_root.tutorial.gotoAndStop(6);
_root.tutorial._visible = false;
}
if (this._x > 595) {
this._x = 594;
} else if (this._x < 5) {
this._x = 4;
}
}
onClipEvent (keyUp) {
_root.pause._visible = false;
}
Instance of Symbol 219 MovieClip "Guns" in Frame 6
onClipEvent (enterFrame) {
_root.ANGLE._visible = false;
ANGLE_x = int(_root.ANGLE._x - this._x);
ANGLE_y = int(_root.ANGLE._y - this._y);
if ((ANGLE_x > 0) && (ANGLE_y > 0)) {
quadrante = Number(4);
}
if ((ANGLE_x < 0) && (ANGLE_y > 0)) {
quadrante = Number(1);
}
if ((ANGLE_x < 0) && (ANGLE_y < 0)) {
quadrante = Number(2);
}
if ((ANGLE_x > 0) && (ANGLE_y < 0)) {
quadrante = Number(3);
}
abs_x = Math.abs(ANGLE_x);
abs_y = Math.abs(ANGLE_y);
tg = abs_y / abs_x;
_root.navy2 = (Math.atan(tg) * Number(180)) / Math.PI;
if (quadrante == 1) {
ANGLE = Number(90) - Number(_root.navy2);
}
if (quadrante == 2) {
ANGLE = Number(90) + Number(_root.navy2);
}
if (quadrante == 3) {
ANGLE = Number(270) - Number(_root.navy2);
}
if (quadrante == 4) {
ANGLE = Number(270) + Number(_root.navy2);
}
setProperty(_navy, _rotation , ANGLE);
}
Instance of Symbol 221 MovieClip "ANGLE" in Frame 6
onClipEvent (load) {
startDrag ("", true);
}
Instance of Symbol 322 MovieClip "ENEMY" in Frame 6
onClipEvent (load) {
falling = 10;
jump = 0;
hangtime = 2;
aim = 1;
damage = 0;
blast = 0;
friction = 0;
Health = (_root.date * 200) + 200;
autospawn = 0;
rebirth = 0;
HELL = _root.power * 2;
}
onClipEvent (enterFrame) {
if (falling > 30) {
falling == 30;
}
this._y = this._y + falling;
falling = falling + hangtime;
this._y = this._y - blast;
damage = damage - friction;
this.core._visible = false;
}
onClipEvent (enterFrame) {
if ((this._y > 370) && (falling > 2)) {
falling = 0;
hangtime = 0;
blast = 0;
_rotation = 0;
this._y = 365;
}
if (this._y > 345) {
_rotation = 0;
}
}
onClipEvent (enterFrame) {
if (_root.player._x > (_x + 80)) {
this._x = this._x + 4;
this.SWORD.gotoAndStop(2);
this._xscale = -100;
}
if (_root.player._x > (_x + 130)) {
this._x = this._x - 2;
this.GUN.gotoAndStop(2);
this.SWORD.gotoAndStop(1);
this._xscale = -100;
} else if (_root.player._x > _x) {
this.SWORD.gotoAndStop(2);
this.GUN.gotoAndStop(1);
}
if (_root.player._x > _x) {
this._x = this._x - damage;
this._rotation = this._rotation + (damage / 5);
}
}
onClipEvent (enterFrame) {
if (_root.player._x < (_x - 80)) {
this._x = this._x - 4;
this.SWORD.gotoAndStop(2);
this._xscale = 100;
}
if (_root.player._x < (_x - 130)) {
this._x = this._x + 2;
this.GUN.gotoAndStop(2);
this.SWORD.gotoAndStop(1);
this._xscale = 100;
} else if (_root.player._x < _x) {
this.SWORD.gotoAndStop(2);
this.GUN.gotoAndStop(1);
}
if (_root.player._x < _x) {
this._x = this._x + damage;
this._rotation = this._rotation - (damage / 5);
}
}
onClipEvent (enterFrame) {
if (this.core.hitTest(_root.guns.GUN.hitbox)) {
this.gotoAndPlay("shot");
blast = 0;
hangtime = 2;
damage = 10;
falling = 0;
friction = 3;
Health = Health - (20 * _root.ammunition.level1);
_root.score = _root.score + 20;
_root.cash = _root.cash + 10;
} else if (this.core.hitTest(_root.guns.GUN2.hitbox)) {
this.gotoAndPlay("shot");
blast = 3;
hangtime = 1;
damage = 4;
falling = 0;
friction = 1;
Health = Health - (20 * _root.ammunition.level2);
_root.score = _root.score + 20;
_root.cash = _root.cash + 10;
} else if (this.core.hitTest(_root.guns.GUN3.hitbox)) {
this.gotoAndPlay("bam");
blast = 0;
hangtime = 2;
damage = 10;
falling = 0;
friction = 1;
Health = Health - (100 * _root.ammunition.level3);
_root.score = _root.score + 50;
_root.cash = _root.cash + 50;
} else if (this.core.hitTest(_root.guns.GUN4.hitbox)) {
this.gotoAndPlay("shot");
blast = 3;
hangtime = 1;
damage = 4;
falling = 0;
friction = 1;
Health = Health - (8 * _root.ammunition.level4);
_root.score = _root.score + 1;
_root.cash = _root.cash + 1;
} else if (this.core.hitTest(_root.guns.GUN5.hitbox)) {
this.gotoAndPlay("shot");
hangtime = 2;
Health = Health - (8 * _root.ammunition.level4);
_root.score = _root.score + 300;
_root.cash = _root.cash + 500;
autospawn = 0;
_root.kills = _root.kills + 1;
rebirth = 2;
Health = Health - 3000;
this.gotoAndPlay("death3");
} else if (this.core.hitTest(_root.player.hitbox)) {
this.gotoAndPlay("shot");
hangtime = 2;
damage = 0.7 * _root.power;
falling = 2;
friction = 0.05 * _root.power;
Health = Health - (HELL * _root.Health.swordlevel);
_root.score = _root.score + 200;
_root.cash = _root.cash + 100;
}
if (damage < 0) {
damage = 0;
friction = 0;
} else if (this.core.hitTest(_root.player.hitbox) && (Health < 0)) {
this.gotoAndPlay("death1");
hangtime = 4;
autospawn = 0;
rebirth = 2;
_root.score = _root.score + 1100;
_root.kills = _root.kills + 1;
_root.cash = _root.cash + 200;
} else if (this.core.hitTest(_root.guns.GUN4.hitbox) && (Health < 0)) {
this.gotoAndPlay("death2");
hangtime = 4;
autospawn = 0;
rebirth = 2;
_root.score = _root.score + 500;
_root.kills = _root.kills + 1;
_root.cash = _root.cash + 100;
} else if (this.core.hitTest(_root.guns.GUN3.hitbox) && (Health < 0)) {
this.gotoAndPlay("death3");
hangtime = 4;
autospawn = 0;
rebirth = 2;
_root.score = _root.score + 1000;
_root.kills = _root.kills + 1;
_root.cash = _root.cash + 200;
} else if (this.core.hitTest(_root.guns.GUN2.hitbox) && (Health < 0)) {
this.gotoAndPlay("death2");
hangtime = 4;
autospawn = 0;
rebirth = 2;
_root.score = _root.score + 500;
_root.kills = _root.kills + 1;
_root.cash = _root.cash + 100;
} else if (this.core.hitTest(_root.guns.GUN.hitbox) && (Health < 0)) {
this.gotoAndPlay("death2");
hangtime = 4;
autospawn = 0;
rebirth = 2;
_root.score = _root.score + 500;
_root.kills = _root.kills + 1;
_root.cash = _root.cash + 100;
}
if (autospawn > 150) {
this.Health = (_root.date * 200) + 200;
autospawn = 0;
rebirth = 0;
hangtime = 3;
this.gotoAndStop(1);
}
autospawn = autospawn + rebirth;
}
onClipEvent (enterFrame) {
if (autospawn > 100) {
_y = -100;
}
_root.Auto = this.Autospawn;
_root.Healther = this.Health;
HELL = _root.power * 2;
}
onClipEvent (enterFrame) {
if (this._x > 701) {
this._x = 700;
} else if (this._x < -141) {
this._x = -140;
}
_root.overkill._x = _x;
_root.overkill._y = _y;
if (Health < -40) {
_root.overkill.play();
} else {
_root.overkill.gotoAndStop(1);
}
}
Frame 7
stop();
Stage.ShowMenu = eval (false)();
Frame 8
stop();
Stage.ShowMenu = eval (false)();
Frame 9
gotoAndStop (6);
stop();
Stage.ShowMenu = eval (false)();
Frame 10
stop();
Stage.ShowMenu = eval (false)();
Instance of Symbol 451 MovieClip in Frame 10
onClipEvent (enterFrame) {
if (key.IsDown(13)) {
_root.exit.play();
}
}
Symbol 7 Button
on (release) {
_quality = "Low";
}
Symbol 8 Button
on (release) {
_quality = "Medium";
}
Symbol 9 Button
on (release) {
_quality = "High";
}
Symbol 22 MovieClip Frame 1
stop();
Symbol 22 MovieClip Frame 2
_root.ammunition.AMMO2 = _root.ammunition.AMMO2 - 1;
Symbol 22 MovieClip Frame 3
gotoAndStop (1);
gotoAndStop (1);
Symbol 64 Button
on (release) {
getURL ("http://www.ArmorGames.com");
}
Symbol 71 Button
on (release) {
getURL ("http://www.dizimz.net/", "_blank");
}
Symbol 76 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
} else {
gotoAndPlay (3);
}
Symbol 76 MovieClip Frame 2
gotoAndPlay (1);
Symbol 76 MovieClip Frame 90
stop();
Instance of Symbol 75 MovieClip in Symbol 76 MovieClip Frame 90
onClipEvent (enterFrame) {
if (key.IsDown(32)) {
_root.play();
}
}
Symbol 110 MovieClip Frame 1
stop();
Instance of Symbol 15 MovieClip "sword" in Symbol 110 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.guns.gotoAndStop(1);
}
Symbol 110 MovieClip Frame 6
stop();
Instance of Symbol 15 MovieClip "sword" in Symbol 110 MovieClip Frame 6
onClipEvent (enterFrame) {
_root.guns.gotoAndStop(2);
}
Symbol 110 MovieClip Frame 11
stop();
Instance of Symbol 15 MovieClip "sword" in Symbol 110 MovieClip Frame 11
onClipEvent (enterFrame) {
_root.guns.gotoAndStop(3);
}
Symbol 110 MovieClip Frame 16
stop();
Instance of Symbol 15 MovieClip "sword" in Symbol 110 MovieClip Frame 16
onClipEvent (enterFrame) {
_root.guns.gotoAndStop(4);
}
Symbol 110 MovieClip Frame 22
stop();
Instance of Symbol 15 MovieClip "sword" in Symbol 110 MovieClip Frame 22
onClipEvent (enterFrame) {
_root.guns.gotoAndStop(5);
}
Symbol 131 MovieClip Frame 1
stop();
Symbol 134 MovieClip Frame 1
stop();
Symbol 134 MovieClip Frame 35
stopAllSounds();
Symbol 134 MovieClip Frame 36
_root.play();
Symbol 148 Button
on (release) {
getURL ("http://www.gamesofgondor.com/", "_blank");
}
Symbol 175 MovieClip Frame 1
stopAllSounds();
Symbol 175 MovieClip Frame 224
stop();
_root.play();
Symbol 202 MovieClip Frame 49
_root.death.play();
Symbol 202 MovieClip Frame 50
stop();
Symbol 203 MovieClip Frame 2
_root.power = 0;
Symbol 203 MovieClip Frame 20
gotoAndPlay (2);
Symbol 203 MovieClip Frame 31
_root.power = 0;
Symbol 203 MovieClip Frame 32
gotoAndPlay (2);
Symbol 203 MovieClip Frame 39
gotoAndPlay (2);
Symbol 203 MovieClip Frame 40
stop();
Symbol 208 MovieClip Frame 1
stop();
Symbol 208 MovieClip Frame 2
_root.ammunition.AMMO1 = _root.ammunition.AMMO1 - 1;
Symbol 208 MovieClip Frame 8
gotoAndStop (1);
Symbol 211 MovieClip Frame 1
stop();
Symbol 211 MovieClip Frame 2
_root.ammunition.AMMO3 = _root.ammunition.AMMO3 - 1;
Symbol 211 MovieClip Frame 19
gotoAndStop (1);
Symbol 215 MovieClip Frame 1
stop();
Symbol 215 MovieClip Frame 2
_root.ammunition.AMMO4 = _root.ammunition.AMMO4 - 1;
Symbol 215 MovieClip Frame 3
gotoAndStop (1);
Symbol 218 MovieClip Frame 1
stop();
Symbol 218 MovieClip Frame 2
_root.ammunition.AMMO5 = _root.ammunition.AMMO5 - 1;
Symbol 218 MovieClip Frame 28
gotoAndStop (1);
Symbol 219 MovieClip Frame 1
stop();
Symbol 219 MovieClip Frame 2
stop();
Symbol 219 MovieClip Frame 3
stop();
Symbol 219 MovieClip Frame 4
stop();
Symbol 219 MovieClip Frame 5
stop();
Symbol 236 MovieClip Frame 1
stop();
Symbol 236 MovieClip Frame 2
stop();
Symbol 266 MovieClip Frame 1
stop();
Symbol 266 MovieClip Frame 2
stop();
Symbol 322 MovieClip Frame 1
stop();
Symbol 322 MovieClip Frame 6
gotoAndStop (1);
Symbol 322 MovieClip Frame 29
gotoAndStop (1);
Symbol 322 MovieClip Frame 73
gotoAndStop (149);
stop();
Symbol 322 MovieClip Frame 118
gotoAndStop (149);
stop();
Symbol 322 MovieClip Frame 148
gotoAndStop (149);
stop();
Symbol 322 MovieClip Frame 149
stop();
Symbol 325 MovieClip Frame 1
stop();
Symbol 338 MovieClip Frame 1
stop();
Symbol 338 MovieClip Frame 2
stop();
Symbol 338 MovieClip Frame 3
stop();
Symbol 338 MovieClip Frame 4
stop();
Symbol 338 MovieClip Frame 5
stop();
Symbol 338 MovieClip Frame 6
stop();
_root.exit.play();
Symbol 341 MovieClip Frame 25
stop();
Symbol 348 MovieClip Frame 1
stop();
Symbol 348 MovieClip Frame 2
stopAllSounds();
Symbol 348 MovieClip Frame 150
stop();
_root.gotoAndStop("result");
Symbol 355 MovieClip Frame 1
stopAllSounds();
Symbol 355 MovieClip Frame 2
stop();
Symbol 386 Button
on (release) {
if (_root.cash > _root.UPGRADE1) {
_root.cashsound.play();
_root.ammunition.level1 = _root.ammunition.level1 + 1;
_root.cash = _root.cash - UPGRADE1;
_root.UPGRADE1 = _root.UPGRADE1 * 2;
}
}
Symbol 387 Button
on (release) {
if (_root.cash > _root.UPGRADE2) {
_root.cashsound.play();
_root.ammunition.level2 = _root.ammunition.level2 + 1;
_root.cash = _root.cash - UPGRADE2;
_root.UPGRADE2 = _root.UPGRADE2 * 2;
}
}
Symbol 388 Button
on (release) {
if (_root.cash > _root.UPGRADE3) {
_root.cashsound.play();
_root.ammunition.level3 = _root.ammunition.level3 + 1;
_root.cash = _root.cash - UPGRADE3;
_root.UPGRADE3 = _root.UPGRADE3 * 2;
}
}
Symbol 389 Button
on (release) {
if (_root.cash > _root.UPGRADE4) {
_root.cashsound.play();
_root.ammunition.level4 = _root.ammunition.level4 + 1;
_root.cash = _root.cash - UPGRADE4;
_root.UPGRADE4 = _root.UPGRADE4 * 2;
}
}
Symbol 390 Button
on (release) {
if (_root.cash > _root.UPGRADE6) {
_root.cashsound.play();
_root.Health.armor = _root.Health.armor + 1;
_root.cash = _root.cash - UPGRADE6;
_root.UPGRADE6 = _root.UPGRADE6 * 2;
_root.Health.VPfull = _root.Health.VPfull + 100;
_root.Health.vitality = _root.Health.vitality + 100;
}
}
Symbol 391 Button
on (release) {
if (_root.cash > _root.UPGRADE5) {
_root.cashsound.play();
_root.Health.Swordlevel = _root.Health.Swordlevel + 1;
_root.cash = _root.cash - UPGRADE5;
_root.UPGRADE5 = _root.UPGRADE5 * 2;
}
}
Symbol 392 Button
on (release) {
getURL ("http://www.dizimz.net/", "_blank");
}
on (keyPress "<Space>") {
_root.exit.play();
}
Symbol 399 MovieClip Frame 51
stop();
Symbol 408 MovieClip Frame 3145
stop();
_root.exit.play();
Symbol 422 MovieClip Frame 1
stop();
Symbol 422 MovieClip Frame 2
stopAllSounds();
Symbol 422 MovieClip Frame 6
stop();
Symbol 422 MovieClip Frame 7
stopAllSounds();
Symbol 422 MovieClip Frame 11
stop();
Symbol 422 MovieClip Frame 12
stopAllSounds();
Symbol 422 MovieClip Frame 16
stop();
Symbol 422 MovieClip Frame 17
stopAllSounds();
Symbol 422 MovieClip Frame 21
stop();
Symbol 422 MovieClip Frame 22
stopAllSounds();
Symbol 427 MovieClip Frame 45
stop();
_root.play();
Symbol 459 Button
on (release) {
var sendvars = new LoadVars();
sendvars.pname = _root.name;
sendvars.pkills = _root.kills;
sendvars.pscore = _root.Score;
sendvars.send("http://www.phrozenflame.com/games/urbanwizard/postscore.php", "_self", "GET");
}
Symbol 463 MovieClip Frame 1
stopAllSounds();
Symbol 463 MovieClip Frame 2
stopAllSounds();
Symbol 463 MovieClip Frame 3
stopAllSounds();
Symbol 463 MovieClip Frame 4
stopAllSounds();
Symbol 463 MovieClip Frame 31
stop();