Frame 1
bytes_loaded = Math.round(this.getBytesLoaded());
bytes_total = Math.round(this.getBytesTotal());
getPercent = bytes_loaded / bytes_total;
this.loadBar._height = getPercent * 400;
this.loadText = Math.round(getPercent * 100) + "%";
if (bytes_loaded == bytes_total) {
this.gotoAndPlay(3);
}
Frame 2
this.gotoAndPlay(1);
Frame 3
stop();
Frame 4
stop();
_root.elud = 2;
Frame 5
taustaMuusika = new Sound(this);
taustaMuusika.attachSound("taustaMusa");
taustaMuusika.start(0, 9999);
sihik.startDrag("true");
Mouse.hide();
stop();
function funcThatLLWorkOnMouseMove() {
x = this._xmouse;
y = this._ymouse * -1;
angle = Math.atan(y / x) / (Math.PI/180);
if (x < 0) {
angle = angle + 180;
}
if ((x >= 0) && (y < 0)) {
angle = angle + 360;
}
angletext = angle;
_root.hero.kasi._rotation = angle * -1;
_root.hero.kasi2._rotation = angle * -1;
_root.hero.head._rotation = angle * -1;
updateAfterEvent();
}
var obj = new Object();
obj.onMouseMove = function () {
if (_xmouse > _root.hero._x) {
_root.hero._xscale = 100;
}
if (_xmouse < _root.hero._x) {
_root.hero._xscale = -100;
}
};
Mouse.addListener(obj);
m4a1Olemas = false;
ak47Olemas = false;
uzisdOlemas = false;
steyraugOlemas = false;
railgunOlemas = false;
deOlemas = false;
m3superOlemas = false;
_root.raildeath = false;
_root.inf.de = 7;
_root.inf.desalved = 12;
_root.inf.kasikas = 7;
_root.inf.kasikassalved = 8;
_root.inf.m3super90salved = 3;
_root.inf.m3super90 = 7;
_root.inf.ak47salved = 1;
_root.inf.ak47 = 1;
score = 0;
score1 = 0;
score2 = 0;
score3 = 0;
score4 = 0;
score5 = 0;
salved = 20;
enemyNo = 15;
heroSpeed = 3;
enemySpeed = 0;
speed_y = 15;
hits = 0;
hits2 = 0;
var jump = 15;
var grav = 0;
_root.userIsShooting = false;
var keyListener = new Object();
keyListener.onKeyDown = function () {
key = Key.getCode();
};
keyListener.onKeyUp = function () {
_root.hero.gotoAndStop("stand");
};
Key.addListener(keyListener);
_root.hero.onEnterFrame = function () {
if ((score == 60) && (this.hit.hitTest(_root.taust.laine2))) {
_root.taust.gotoAndStop(2);
}
if ((score == 120) && (this.hit.hitTest(_root.taust.laine3))) {
_root.taust.gotoAndStop(3);
}
if ((score == 200) && (this.hit.hitTest(_root.taust.laine4))) {
_root.taust.gotoAndStop(4);
}
if ((score == 280) && (this.hit.hitTest(_root.taust.laine5))) {
_root.gotoAndStop("nextLevel");
taustaMuusika.stop();
}
if (this.hit.hitTest(_root.taust.uus_de)) {
_root.taust.uus_de.gotoAndStop(2);
deOlemas = true;
}
if (this.hit.hitTest(_root.taust.sein)) {
_root.taust._x = _root.taust._x - 1;
heroSpeed = 0;
} else if (this.hit.hitTest(_root.taust.sein2)) {
_root.taust._x = _root.taust._x + 1;
heroSpeed = 0;
} else {
heroSpeed = 3;
}
if ((!_root.taust.floor.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y - (grav--);
}
if (jumping) {
this._y = this._y - (jump--);
}
while (_root.taust.floor.hitTest(this._x, this._y, true) && (jump <= 0)) {
this._y--;
jumping = (grav = 0);
}
if (Key.isDown(68)) {
_root.taust._x = _root.taust._x - heroSpeed;
this.gotoAndStop("run");
_root.hero.head.gotoAndStop(1);
}
if (Key.isDown(65)) {
_root.taust._x = _root.taust._x + heroSpeed;
this.gotoAndStop("run");
_root.hero.head.gotoAndStop(1);
}
if (Key.isDown(49)) {
inf.gotoAndStop(1);
this.kasi2.relvad.gotoAndStop(1);
}
if ((deOlemas == true) && (Key.isDown(50))) {
inf.gotoAndStop(3);
this.kasi2.relvad.gotoAndStop(3);
}
if (Key.isDown(87) && (!jumping)) {
this.gotoAndStop("jump");
jumping = (jump = 15);
}
};
onEnterFrame = function () {
_root.surnud = false;
i = 0;
while (i < enemyNo) {
_root.taust["Enemy" + i].blody._alpha = 0;
if (((_root.surnud == false) && (_root.energia._xscale > 0)) && (_root.hero.hit.hitTest(_root.taust["Enemy" + i]))) {
_root.energia._xscale = _root.energia._xscale - 0.5;
} else if (_root.energia._xscale == 0) {
_root.inf.gotoAndStop("deadman");
Mouse.removeListener(_root.obj);
delete _root.hero.onEnterFrame;
delete _root.inf.onMouseDown;
speed = 0;
Key.removeListener(keyListener);
delete onEnterFrame;
_root.hero._y = 300;
_root.hero.gotoAndStop("dead");
_root.hero.die.onEnterFrame = function () {
_root.hero.die.kasi2.relvad._alpha = 0;
taustaMuusika.stop();
};
}
hit = false;
hit2 = false;
for (e in _root.hero.kasi2.relvad.beretta.shoot) {
point = new Object();
point.x = _root.hero.kasi2.relvad.beretta.shoot[e]._x;
point.y = _root.hero.kasi2.relvad.beretta.shoot[e]._y;
_root.hero.kasi2.relvad.beretta.shoot.localToGlobal(point);
if (_root.taust["Enemy" + i].bodyshot.hitTest(point.x, point.y, true)) {
hit = true;
}
if (_root.taust["Enemy" + i].headshot.hitTest(point.x, point.y, true)) {
hit2 = true;
}
}
if (hit) {
headShot = new Sound(this);
headShot.attachSound("headHit");
headShot.start();
_root.sihik.gotoAndPlay(2);
hits++;
_root.taust["Enemy" + i].bodyhit.gotoAndPlay(1);
_root.hero.kasi2.relvad.beretta.shoot.gotoAndStop(1);
}
if (hit2) {
headShot = new Sound(this);
headShot.attachSound("headHit");
headShot.start();
_root.sihik.gotoAndPlay(2);
hits2++;
_root.taust["Enemy" + i].headhit.gotoAndPlay(1);
_root.hero.kasi2.relvad.beretta.shoot.gotoAndStop(1);
}
if ((hit && (_root.inf._currentframe == 8)) || (hit2 && (_root.inf._currentframe == 8))) {
_root.raildeath = true;
trace("hello");
}
if ((hits == 6) || (_root.raildeath == true)) {
_root.surnud = true;
score = score + 20;
hits = 0;
hits2 = 0;
_root.taust["Enemy" + i].gotoAndStop(3);
_root.raildeath = false;
}
if ((hits2 == 4) || (_root.raildeath == true)) {
_root.surnud = true;
score = score + 20;
hits = 0;
hits2 = 0;
_root.taust["Enemy" + i].gotoAndStop(4);
_root.raildeath = false;
}
i++;
}
};
_root.hero.onMouseMove = funcThatLLWorkOnMouseMove;
Frame 6
score2 = 0;
taustaMuusika = new Sound(this);
taustaMuusika.attachSound("taustaMusa");
taustaMuusika.start(0, 9999);
sihik.startDrag("true");
Mouse.hide();
stop();
function funcThatLLWorkOnMouseMove() {
x = this._xmouse;
y = this._ymouse * -1;
angle = Math.atan(y / x) / (Math.PI/180);
if (x < 0) {
angle = angle + 180;
}
if ((x >= 0) && (y < 0)) {
angle = angle + 360;
}
angletext = angle;
_root.hero.kasi._rotation = angle * -1;
_root.hero.kasi2._rotation = angle * -1;
_root.hero.head._rotation = angle * -1;
updateAfterEvent();
}
Key.removeListener(keyListener);
Mouse.removeListener(_root.obj);
var obj = new Object();
obj.onMouseMove = function () {
if (_xmouse > _root.hero._x) {
_root.hero._xscale = 100;
}
if (_xmouse < _root.hero._x) {
_root.hero._xscale = -100;
}
};
Mouse.addListener(obj);
m4a1Olemas = false;
ak47Olemas = false;
uzisdOlemas = false;
steyraugOlemas = false;
railgunOlemas = false;
deOlemas = true;
m3superOlemas = false;
_root.inf.de = 7;
_root.inf.desalved = 12;
_root.inf.kasikas = 7;
_root.inf.kasikassalved = 8;
_root.inf.m3super90salved = 3;
_root.inf.m3super90 = 7;
_root.inf.ak47salved = 1;
_root.inf.ak47 = 1;
score = 280;
score2 = 0;
salved = 20;
enemyNo2 = 19;
heroSpeed = 3;
enemySpeed = 0;
speed_y = 15;
hits = 0;
hits2 = 0;
var jump = 15;
var grav = 0;
_root.userIsShooting = false;
var keyListener = new Object();
keyListener.onKeyDown = function () {
key = Key.getCode();
};
keyListener.onKeyUp = function () {
_root.hero.gotoAndStop("stand");
};
Key.addListener(keyListener);
_root.hero.onEnterFrame = function () {
if ((score2 == 80) && (this.hit.hitTest(_root.taust.laine6))) {
_root.taust.gotoAndStop(2);
}
if ((score2 == 160) && (this.hit.hitTest(_root.taust.laine7))) {
_root.taust.gotoAndStop(3);
}
if ((score2 == 260) && (this.hit.hitTest(_root.taust.laine8))) {
_root.taust.gotoAndStop(4);
}
if ((score2 == 360) && (this.hit.hitTest(_root.taust.laine9))) {
_root.gotoAndStop("nextLevel");
taustaMuusika.stop();
}
if (this.hit.hitTest(_root.taust.uus_m3super)) {
_root.taust.uus_m3super.gotoAndStop(2);
m3superOlemas = true;
}
if (this.hit.hitTest(_root.taust.uus_ak47)) {
_root.taust.uus_ak47.gotoAndStop(2);
ak47Olemas = true;
}
if (this.hit.hitTest(_root.taust.sein)) {
_root.taust._x = _root.taust._x - 1;
heroSpeed = 0;
} else if (this.hit.hitTest(_root.taust.sein2)) {
_root.taust._x = _root.taust._x + 1;
heroSpeed = 0;
} else {
heroSpeed = 3;
}
if ((!_root.taust.floor.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y - (grav--);
}
if (jumping) {
this._y = this._y - (jump--);
}
while (_root.taust.floor.hitTest(this._x, this._y, true) && (jump <= 0)) {
this._y--;
jumping = (grav = 0);
}
if (Key.isDown(68)) {
_root.taust._x = _root.taust._x - heroSpeed;
this.gotoAndStop("run");
_root.hero.head.gotoAndStop(1);
}
if (Key.isDown(65)) {
_root.taust._x = _root.taust._x + heroSpeed;
this.gotoAndStop("run");
_root.hero.head.gotoAndStop(1);
}
if (Key.isDown(49)) {
inf.gotoAndStop(1);
this.kasi2.relvad.gotoAndStop(1);
}
if ((deOlemas == true) && (Key.isDown(50))) {
inf.gotoAndStop(3);
this.kasi2.relvad.gotoAndStop(3);
}
if ((m3superOlemas == true) && (Key.isDown(51))) {
inf.gotoAndStop(6);
this.kasi2.relvad.gotoAndStop(6);
}
if ((ak47Olemas == true) && (Key.isDown(52))) {
inf.gotoAndStop(2);
this.kasi2.relvad.gotoAndStop(2);
}
if (Key.isDown(87) && (!jumping)) {
this.gotoAndStop("jump");
jumping = (jump = 15);
}
};
onEnterFrame = function () {
_root.surnud = false;
j = 0;
while (j < enemyNo2) {
_root.taust["Enemy" + j].blody._alpha = 0;
if (((_root.surnud == false) && (_root.energia._xscale > 0)) && (_root.hero.hit.hitTest(_root.taust["Enemy" + j]))) {
_root.energia._xscale = _root.energia._xscale - 0.5;
} else if (_root.energia._xscale == 0) {
_root.inf.gotoAndStop("deadman");
Mouse.removeListener(_root.obj);
delete _root.hero.onEnterFrame;
delete _root.inf.onMouseDown;
speed = 0;
Key.removeListener(keyListener);
delete onEnterFrame;
_root.hero._y = 300;
_root.hero.gotoAndStop("dead");
_root.hero.die.onEnterFrame = function () {
_root.hero.die.kasi2.relvad._alpha = 0;
taustaMuusika.stop();
};
}
hit = false;
hit2 = false;
for (e in _root.hero.kasi2.relvad.beretta.shoot) {
point = new Object();
point.x = _root.hero.kasi2.relvad.beretta.shoot[e]._x;
point.y = _root.hero.kasi2.relvad.beretta.shoot[e]._y;
_root.hero.kasi2.relvad.beretta.shoot.localToGlobal(point);
if (_root.taust["Enemy" + j].bodyshot.hitTest(point.x, point.y, true)) {
hit = true;
}
if (_root.taust["Enemy" + j].headshot.hitTest(point.x, point.y, true)) {
hit2 = true;
}
}
if (hit) {
headShot = new Sound(this);
headShot.attachSound("headHit");
headShot.start();
_root.sihik.gotoAndPlay(2);
hits++;
_root.taust["Enemy" + j].bodyhit.gotoAndPlay(1);
_root.hero.kasi2.relvad.beretta.shoot.gotoAndStop(1);
}
if (hit2) {
headShot = new Sound(this);
headShot.attachSound("headHit");
headShot.start();
_root.sihik.gotoAndPlay(2);
hits2++;
_root.taust["Enemy" + j].headhit.gotoAndPlay(1);
_root.hero.kasi2.relvad.beretta.shoot.gotoAndStop(1);
}
if ((hit && (_root.inf._currentframe == 8)) || (hit2 && (_root.inf._currentframe == 8))) {
_root.raildeath = true;
}
if ((hits == 6) || (_root.raildeath == true)) {
_root.surnud = true;
score2 = score2 + 20;
score = score + 20;
hits = 0;
hits2 = 0;
_root.taust["Enemy" + j].gotoAndStop(3);
_root.raildeath = false;
}
if ((hits2 == 4) || (_root.raildeath == true)) {
_root.surnud = true;
score2 = score2 + 20;
score = score + 20;
hits = 0;
hits2 = 0;
_root.taust["Enemy" + j].gotoAndStop(4);
_root.raildeath = false;
}
j++;
}
};
_root.hero.onMouseMove = funcThatLLWorkOnMouseMove;
Frame 7
score2 = 360;
score3 = 0;
taustaMuusika = new Sound(this);
taustaMuusika.attachSound("taustaMusa");
taustaMuusika.start(0, 9999);
sihik.startDrag("true");
Mouse.hide();
stop();
function funcThatLLWorkOnMouseMove() {
x = this._xmouse;
y = this._ymouse * -1;
angle = Math.atan(y / x) / (Math.PI/180);
if (x < 0) {
angle = angle + 180;
}
if ((x >= 0) && (y < 0)) {
angle = angle + 360;
}
angletext = angle;
_root.hero.kasi._rotation = angle * -1;
_root.hero.kasi2._rotation = angle * -1;
_root.hero.head._rotation = angle * -1;
updateAfterEvent();
}
Key.removeListener(keyListener);
Mouse.removeListener(_root.obj);
var obj = new Object();
obj.onMouseMove = function () {
if (_xmouse > _root.hero._x) {
_root.hero._xscale = 100;
}
if (_xmouse < _root.hero._x) {
_root.hero._xscale = -100;
}
};
Mouse.addListener(obj);
m4a1Olemas = false;
ak47Olemas = true;
uzisdOlemas = false;
steyraugOlemas = false;
railgunOlemas = false;
deOlemas = true;
m3superOlemas = true;
_root.inf.de = 7;
_root.inf.desalved = 12;
_root.inf.kasikas = 7;
_root.inf.kasikassalved = 8;
_root.inf.m3super90salved = 3;
_root.inf.m3super90 = 7;
_root.inf.ak47salved = 5;
_root.inf.ak47 = 5;
_root.inf.uzisilentsalved = 5;
_root.inf.uzisilent = 5;
_root.inf.saugsalved = 5;
_root.inf.saug = 5;
score = 360;
score3 = 0;
salved = 20;
enemyNo3 = 24;
heroSpeed = 3;
enemySpeed = 0;
speed_y = 15;
hits = 0;
hits2 = 0;
var jump = 15;
var grav = 0;
_root.userIsShooting = false;
var keyListener = new Object();
keyListener.onKeyDown = function () {
key = Key.getCode();
};
keyListener.onKeyUp = function () {
_root.hero.gotoAndStop("stand");
};
Key.addListener(keyListener);
_root.hero.onEnterFrame = function () {
if ((score3 == 100) && (this.hit.hitTest(_root.taust.laine10))) {
_root.taust.gotoAndStop(2);
}
if ((score3 == 200) && (this.hit.hitTest(_root.taust.laine11))) {
_root.taust.gotoAndStop(3);
}
if ((score3 == 320) && (this.hit.hitTest(_root.taust.laine12))) {
_root.taust.gotoAndStop(4);
}
if ((score3 == 440) && (this.hit.hitTest(_root.taust.laine13))) {
_root.gotoAndStop("nextLevel");
taustaMuusika.stop();
}
if (this.hit.hitTest(_root.taust.uus_uzisd)) {
_root.taust.uus_uzisd.gotoAndStop(2);
uzisdOlemas = true;
}
if (this.hit.hitTest(_root.taust.uus_steyraug)) {
_root.taust.uus_steyraug.gotoAndStop(2);
steyraugOlemas = true;
}
if (this.hit.hitTest(_root.taust.sein)) {
_root.taust._x = _root.taust._x - 1;
heroSpeed = 0;
} else if (this.hit.hitTest(_root.taust.sein2)) {
_root.taust._x = _root.taust._x + 1;
heroSpeed = 0;
} else {
heroSpeed = 3;
}
if ((!_root.taust.floor.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y - (grav--);
}
if (jumping) {
this._y = this._y - (jump--);
}
while (_root.taust.floor.hitTest(this._x, this._y, true) && (jump <= 0)) {
this._y--;
jumping = (grav = 0);
}
if (Key.isDown(68)) {
_root.taust._x = _root.taust._x - heroSpeed;
this.gotoAndStop("run");
_root.hero.head.gotoAndStop(1);
}
if (Key.isDown(65)) {
_root.taust._x = _root.taust._x + heroSpeed;
this.gotoAndStop("run");
_root.hero.head.gotoAndStop(1);
}
if (Key.isDown(49)) {
inf.gotoAndStop(1);
this.kasi2.relvad.gotoAndStop(1);
}
if ((deOlemas == true) && (Key.isDown(50))) {
inf.gotoAndStop(3);
this.kasi2.relvad.gotoAndStop(3);
}
if ((m3superOlemas == true) && (Key.isDown(51))) {
inf.gotoAndStop(6);
this.kasi2.relvad.gotoAndStop(6);
}
if ((ak47Olemas == true) && (Key.isDown(52))) {
inf.gotoAndStop(2);
this.kasi2.relvad.gotoAndStop(2);
}
if ((uzisdOlemas == true) && (Key.isDown(53))) {
inf.gotoAndStop(4);
this.kasi2.relvad.gotoAndStop(4);
}
if ((steyraugOlemas == true) && (Key.isDown(54))) {
inf.gotoAndStop(7);
this.kasi2.relvad.gotoAndStop(7);
}
if (Key.isDown(87) && (!jumping)) {
this.gotoAndStop("jump");
jumping = (jump = 15);
}
};
onEnterFrame = function () {
_root.surnud = false;
k = 0;
while (k < enemyNo3) {
_root.taust["Enemy" + k].blody._alpha = 0;
if (((_root.surnud == false) && (_root.energia._xscale > 0)) && (_root.hero.hit.hitTest(_root.taust["Enemy" + k]))) {
_root.energia._xscale = _root.energia._xscale - 1;
} else if (_root.energia._xscale == 0) {
_root.inf.gotoAndStop("deadman");
Mouse.removeListener(_root.obj);
delete _root.hero.onEnterFrame;
delete _root.inf.onMouseDown;
speed = 0;
Key.removeListener(keyListener);
delete onEnterFrame;
_root.hero._y = 300;
_root.hero.gotoAndStop("dead");
_root.hero.die.onEnterFrame = function () {
_root.hero.die.kasi2.relvad._alpha = 0;
taustaMuusika.stop();
};
}
hit = false;
hit2 = false;
for (e in _root.hero.kasi2.relvad.beretta.shoot) {
point = new Object();
point.x = _root.hero.kasi2.relvad.beretta.shoot[e]._x;
point.y = _root.hero.kasi2.relvad.beretta.shoot[e]._y;
_root.hero.kasi2.relvad.beretta.shoot.localToGlobal(point);
if (_root.taust["Enemy" + k].bodyshot.hitTest(point.x, point.y, true)) {
hit = true;
}
if (_root.taust["Enemy" + k].headshot.hitTest(point.x, point.y, true)) {
hit2 = true;
}
}
if (hit) {
headShot = new Sound(this);
headShot.attachSound("headHit");
headShot.start();
_root.sihik.gotoAndPlay(2);
hits++;
_root.taust["Enemy" + k].bodyhit.gotoAndPlay(1);
_root.hero.kasi2.relvad.beretta.shoot.gotoAndStop(1);
}
if (hit2) {
headShot = new Sound(this);
headShot.attachSound("headHit");
headShot.start();
_root.sihik.gotoAndPlay(2);
hits2++;
_root.taust["Enemy" + k].headhit.gotoAndPlay(1);
_root.hero.kasi2.relvad.beretta.shoot.gotoAndStop(1);
}
if ((hit && (_root.inf._currentframe == 8)) || (hit2 && (_root.inf._currentframe == 8))) {
_root.raildeath = true;
}
if ((hits == 6) || (_root.raildeath == true)) {
_root.surnud = true;
score3 = score3 + 20;
score = score + 20;
hits = 0;
hits2 = 0;
_root.taust["Enemy" + k].gotoAndStop(3);
_root.raildeath = false;
}
if ((hits2 == 4) || (_root.raildeath == true)) {
_root.surnud = true;
score3 = score3 + 20;
score = score + 20;
hits = 0;
hits2 = 0;
_root.taust["Enemy" + k].gotoAndStop(4);
_root.raildeath = false;
}
k++;
}
};
_root.hero.onMouseMove = funcThatLLWorkOnMouseMove;
Frame 8
score3 = 440;
score4 = 0;
taustaMuusika = new Sound(this);
taustaMuusika.attachSound("taustaMusa");
taustaMuusika.start(0, 9999);
sihik.startDrag("true");
Mouse.hide();
stop();
function funcThatLLWorkOnMouseMove() {
x = this._xmouse;
y = this._ymouse * -1;
angle = Math.atan(y / x) / (Math.PI/180);
if (x < 0) {
angle = angle + 180;
}
if ((x >= 0) && (y < 0)) {
angle = angle + 360;
}
angletext = angle;
_root.hero.kasi._rotation = angle * -1;
_root.hero.kasi2._rotation = angle * -1;
_root.hero.head._rotation = angle * -1;
updateAfterEvent();
}
Key.removeListener(keyListener);
Mouse.removeListener(_root.obj);
var obj = new Object();
obj.onMouseMove = function () {
if (_xmouse > _root.hero._x) {
_root.hero._xscale = 100;
}
if (_xmouse < _root.hero._x) {
_root.hero._xscale = -100;
}
};
Mouse.addListener(obj);
m4a1Olemas = false;
ak47Olemas = true;
uzisdOlemas = true;
steyraugOlemas = true;
railgunOlemas = false;
deOlemas = true;
m3superOlemas = true;
_root.inf.de = 7;
_root.inf.desalved = 12;
_root.inf.kasikas = 7;
_root.inf.kasikassalved = 8;
_root.inf.m3super90salved = 3;
_root.inf.m3super90 = 7;
_root.inf.ak47salved = 5;
_root.inf.ak47 = 5;
_root.inf.uzisilentsalved = 5;
_root.inf.uzisilent = 5;
_root.inf.saugsalved = 5;
_root.inf.saug = 5;
_root.inf.m4a1 = 5;
_root.inf.m4a1salved = 5;
_root.inf.rail = 5;
_root.inf.railsalved = 5;
score = 440;
score4 = 0;
salved = 20;
enemyNo4 = 27;
heroSpeed = 3;
enemySpeed = 0;
speed_y = 15;
hits = 0;
hits2 = 0;
var jump = 15;
var grav = 0;
_root.userIsShooting = false;
var keyListener = new Object();
keyListener.onKeyDown = function () {
key = Key.getCode();
};
keyListener.onKeyUp = function () {
_root.hero.gotoAndStop("stand");
};
Key.addListener(keyListener);
_root.hero.onEnterFrame = function () {
if ((score4 == 120) && (this.hit.hitTest(_root.taust.laine14))) {
_root.taust.gotoAndStop(2);
}
if ((score4 == 240) && (this.hit.hitTest(_root.taust.laine15))) {
_root.taust.gotoAndStop(3);
}
if ((score4 == 380) && (this.hit.hitTest(_root.taust.laine16))) {
_root.taust.gotoAndStop(4);
}
if ((score4 == 520) && (this.hit.hitTest(_root.taust.laine17))) {
_root.gotoAndStop("nextLevel");
taustaMuusika.stop();
}
if (this.hit.hitTest(_root.taust.uus_m4a1)) {
_root.taust.uus_m4a1.gotoAndStop(2);
m4a1Olemas = true;
}
if (this.hit.hitTest(_root.taust.uus_railgun)) {
_root.taust.uus_railgun.gotoAndStop(2);
railgunOlemas = true;
}
if (this.hit.hitTest(_root.taust.sein)) {
_root.taust._x = _root.taust._x - 1;
heroSpeed = 0;
} else if (this.hit.hitTest(_root.taust.sein2)) {
_root.taust._x = _root.taust._x + 1;
heroSpeed = 0;
} else {
heroSpeed = 3;
}
if ((!_root.taust.floor.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y - (grav--);
}
if (jumping) {
this._y = this._y - (jump--);
}
while (_root.taust.floor.hitTest(this._x, this._y, true) && (jump <= 0)) {
this._y--;
jumping = (grav = 0);
}
if (Key.isDown(68)) {
_root.taust._x = _root.taust._x - heroSpeed;
this.gotoAndStop("run");
_root.hero.head.gotoAndStop(1);
}
if (Key.isDown(65)) {
_root.taust._x = _root.taust._x + heroSpeed;
this.gotoAndStop("run");
_root.hero.head.gotoAndStop(1);
}
if (Key.isDown(49)) {
inf.gotoAndStop(1);
this.kasi2.relvad.gotoAndStop(1);
}
if ((deOlemas == true) && (Key.isDown(50))) {
inf.gotoAndStop(3);
this.kasi2.relvad.gotoAndStop(3);
}
if ((m3superOlemas == true) && (Key.isDown(51))) {
inf.gotoAndStop(6);
this.kasi2.relvad.gotoAndStop(6);
}
if ((ak47Olemas == true) && (Key.isDown(52))) {
inf.gotoAndStop(2);
this.kasi2.relvad.gotoAndStop(2);
}
if ((uzisdOlemas == true) && (Key.isDown(53))) {
inf.gotoAndStop(4);
this.kasi2.relvad.gotoAndStop(4);
}
if ((steyraugOlemas == true) && (Key.isDown(54))) {
inf.gotoAndStop(7);
this.kasi2.relvad.gotoAndStop(7);
}
if ((m4a1Olemas == true) && (Key.isDown(55))) {
inf.gotoAndStop(5);
this.kasi2.relvad.gotoAndStop(5);
}
if ((railgunOlemas == true) && (Key.isDown(56))) {
inf.gotoAndStop(8);
this.kasi2.relvad.gotoAndStop(8);
}
if (Key.isDown(87) && (!jumping)) {
this.gotoAndStop("jump");
jumping = (jump = 15);
}
};
onEnterFrame = function () {
_root.surnud = false;
l = 0;
while (l < enemyNo4) {
_root.taust["Enemy" + l].blody._alpha = 0;
if (((_root.surnud == false) && (_root.energia._xscale > 0)) && (_root.hero.hit.hitTest(_root.taust["Enemy" + l]))) {
_root.energia._xscale = _root.energia._xscale - 1;
} else if (_root.energia._xscale == 0) {
_root.inf.gotoAndStop("deadman");
Mouse.removeListener(_root.obj);
delete _root.hero.onEnterFrame;
delete _root.inf.onMouseDown;
speed = 0;
Key.removeListener(keyListener);
delete onEnterFrame;
_root.hero._y = 300;
_root.hero.gotoAndStop("dead");
_root.hero.die.onEnterFrame = function () {
_root.hero.die.kasi2.relvad._alpha = 0;
taustaMuusika.stop();
};
}
hit = false;
hit2 = false;
for (e in _root.hero.kasi2.relvad.beretta.shoot) {
point = new Object();
point.x = _root.hero.kasi2.relvad.beretta.shoot[e]._x;
point.y = _root.hero.kasi2.relvad.beretta.shoot[e]._y;
_root.hero.kasi2.relvad.beretta.shoot.localToGlobal(point);
if (_root.taust["Enemy" + l].bodyshot.hitTest(point.x, point.y, true)) {
hit = true;
}
if (_root.taust["Enemy" + l].headshot.hitTest(point.x, point.y, true)) {
hit2 = true;
}
}
if (hit) {
headShot = new Sound(this);
headShot.attachSound("headHit");
headShot.start();
_root.sihik.gotoAndPlay(2);
hits++;
_root.taust["Enemy" + l].bodyhit.gotoAndPlay(1);
_root.hero.kasi2.relvad.beretta.shoot.gotoAndStop(1);
}
if (hit2) {
headShot = new Sound(this);
headShot.attachSound("headHit");
headShot.start();
_root.sihik.gotoAndPlay(2);
hits2++;
_root.taust["Enemy" + l].headhit.gotoAndPlay(1);
_root.hero.kasi2.relvad.beretta.shoot.gotoAndStop(1);
}
if ((hit && (_root.inf._currentframe == 8)) || (hit2 && (_root.inf._currentframe == 8))) {
_root.raildeath = true;
}
if ((hits == 6) || (_root.raildeath == true)) {
_root.surnud = true;
score4 = score4 + 20;
score = score + 20;
hits = 0;
hits2 = 0;
_root.taust["Enemy" + l].gotoAndStop(3);
_root.raildeath = false;
}
if ((hits2 == 4) || (_root.raildeath == true)) {
_root.surnud = true;
score4 = score4 + 20;
score = score + 20;
hits = 0;
hits2 = 0;
_root.taust["Enemy" + l].gotoAndStop(4);
_root.raildeath = false;
}
l++;
}
};
_root.hero.onMouseMove = funcThatLLWorkOnMouseMove;
Frame 9
score4 = 520;
score5 = 0;
taustaMuusika = new Sound(this);
taustaMuusika.attachSound("taustaMusa");
taustaMuusika.start(0, 9999);
sihik.startDrag("true");
Mouse.hide();
stop();
function funcThatLLWorkOnMouseMove() {
x = this._xmouse;
y = this._ymouse * -1;
angle = Math.atan(y / x) / (Math.PI/180);
if (x < 0) {
angle = angle + 180;
}
if ((x >= 0) && (y < 0)) {
angle = angle + 360;
}
angletext = angle;
_root.hero.kasi._rotation = angle * -1;
_root.hero.kasi2._rotation = angle * -1;
_root.hero.head._rotation = angle * -1;
updateAfterEvent();
}
Key.removeListener(keyListener);
Mouse.removeListener(_root.obj);
var obj = new Object();
obj.onMouseMove = function () {
if (_xmouse > _root.hero._x) {
_root.hero._xscale = 100;
}
if (_xmouse < _root.hero._x) {
_root.hero._xscale = -100;
}
};
Mouse.addListener(obj);
m4a1Olemas = true;
ak47Olemas = true;
uzisdOlemas = true;
steyraugOlemas = true;
railgunOlemas = true;
deOlemas = true;
m3superOlemas = true;
_root.inf.de = 7;
_root.inf.desalved = 12;
_root.inf.kasikas = 7;
_root.inf.kasikassalved = 8;
_root.inf.m3super90salved = 3;
_root.inf.m3super90 = 7;
_root.inf.ak47salved = 5;
_root.inf.ak47 = 5;
_root.inf.uzisilentsalved = 5;
_root.inf.uzisilent = 5;
_root.inf.saugsalved = 5;
_root.inf.saug = 5;
_root.inf.m4a1 = 5;
_root.inf.m4a1salved = 5;
_root.inf.rail = 5;
_root.inf.railsalved = 5;
score = 520;
score5 = 0;
salved = 20;
enemyNo5 = 18;
heroSpeed = 3;
enemySpeed = 0;
speed_y = 15;
hits = 0;
hits2 = 0;
elukasSaiReilida = 0;
elukasHits = 0;
var jump = 15;
var grav = 0;
_root.userIsShooting = false;
var keyListener = new Object();
keyListener.onKeyDown = function () {
key = Key.getCode();
};
keyListener.onKeyUp = function () {
_root.hero.gotoAndStop("stand");
};
Key.addListener(keyListener);
_root.hero.onEnterFrame = function () {
if ((score5 == 160) && (this.hit.hitTest(_root.taust.laine14))) {
_root.taust.gotoAndStop(2);
}
if ((score5 == 320) && (this.hit.hitTest(_root.taust.laine15))) {
_root.taust.gotoAndStop(3);
}
if ((_root.elukaSsurnud == true) && (this.hit.hitTest(_root.taust.laine16))) {
_root.gotoAndStop("tehtud");
taustaMuusika.stop();
}
if (this.hit.hitTest(_root.taust.sein)) {
_root.taust._x = _root.taust._x - 1;
heroSpeed = 0;
} else if (this.hit.hitTest(_root.taust.sein2)) {
_root.taust._x = _root.taust._x + 1;
heroSpeed = 0;
} else {
heroSpeed = 3;
}
if ((!_root.taust.floor.hitTest(this._x, this._y, true)) && (!jumping)) {
this._y = this._y - (grav--);
}
if (jumping) {
this._y = this._y - (jump--);
}
while (_root.taust.floor.hitTest(this._x, this._y, true) && (jump <= 0)) {
this._y--;
jumping = (grav = 0);
}
if (Key.isDown(68)) {
_root.taust._x = _root.taust._x - heroSpeed;
this.gotoAndStop("run");
_root.hero.head.gotoAndStop(1);
}
if (Key.isDown(65)) {
_root.taust._x = _root.taust._x + heroSpeed;
this.gotoAndStop("run");
_root.hero.head.gotoAndStop(1);
}
if (Key.isDown(49)) {
inf.gotoAndStop(1);
this.kasi2.relvad.gotoAndStop(1);
}
if ((deOlemas == true) && (Key.isDown(50))) {
inf.gotoAndStop(3);
this.kasi2.relvad.gotoAndStop(3);
}
if ((m3superOlemas == true) && (Key.isDown(51))) {
inf.gotoAndStop(6);
this.kasi2.relvad.gotoAndStop(6);
}
if ((ak47Olemas == true) && (Key.isDown(52))) {
inf.gotoAndStop(2);
this.kasi2.relvad.gotoAndStop(2);
}
if ((uzisdOlemas == true) && (Key.isDown(53))) {
inf.gotoAndStop(4);
this.kasi2.relvad.gotoAndStop(4);
}
if ((steyraugOlemas == true) && (Key.isDown(54))) {
inf.gotoAndStop(7);
this.kasi2.relvad.gotoAndStop(7);
}
if ((m4a1Olemas == true) && (Key.isDown(55))) {
inf.gotoAndStop(5);
this.kasi2.relvad.gotoAndStop(5);
}
if ((railgunOlemas == true) && (Key.isDown(56))) {
inf.gotoAndStop(8);
this.kasi2.relvad.gotoAndStop(8);
}
if (Key.isDown(87) && (!jumping)) {
this.gotoAndStop("jump");
jumping = (jump = 15);
}
};
onEnterFrame = function () {
if (((_root.surnud == false) && (_root.energia._xscale > 0)) && (_root.hero.hit.hitTest(_root.taust.elukas))) {
_root.energia._xscale = _root.energia._xscale - 1;
} else if (_root.energia._xscale == 0) {
_root.inf.gotoAndStop("deadman");
Mouse.removeListener(_root.obj);
delete _root.hero.onEnterFrame;
delete _root.inf.onMouseDown;
speed = 0;
Key.removeListener(keyListener);
delete onEnterFrame;
_root.hero._y = 300;
_root.hero.gotoAndStop("dead");
_root.hero.die.onEnterFrame = function () {
_root.hero.die.kasi2.relvad._alpha = 0;
taustaMuusika.stop();
};
}
_root.surnud = false;
m = 0;
while (m < enemyNo5) {
_root.taust["Enemy" + m].blody._alpha = 0;
if (((_root.surnud == false) && (_root.energia._xscale > 0)) && (_root.hero.hit.hitTest(_root.taust["Enemy" + m]))) {
_root.energia._xscale = _root.energia._xscale - 1;
} else if (_root.energia._xscale == 0) {
_root.inf.gotoAndStop("deadman");
Mouse.removeListener(_root.obj);
delete _root.hero.onEnterFrame;
delete _root.inf.onMouseDown;
speed = 0;
Key.removeListener(keyListener);
delete onEnterFrame;
_root.hero._y = 300;
_root.hero.gotoAndStop("dead");
_root.hero.die.onEnterFrame = function () {
_root.hero.die.kasi2.relvad._alpha = 0;
taustaMuusika.stop();
};
}
elukasHit = false;
hit = false;
hit2 = false;
for (e in _root.hero.kasi2.relvad.beretta.shoot) {
point = new Object();
point.x = _root.hero.kasi2.relvad.beretta.shoot[e]._x;
point.y = _root.hero.kasi2.relvad.beretta.shoot[e]._y;
_root.hero.kasi2.relvad.beretta.shoot.localToGlobal(point);
if (_root.taust.elukas.bodyshot.hitTest(point.x, point.y, true)) {
elukasHit = true;
}
if (_root.taust["Enemy" + m].bodyshot.hitTest(point.x, point.y, true)) {
hit = true;
}
if (_root.taust["Enemy" + m].headshot.hitTest(point.x, point.y, true)) {
hit2 = true;
}
}
if (hit) {
headShot = new Sound(this);
headShot.attachSound("headHit");
headShot.start();
_root.sihik.gotoAndPlay(2);
hits++;
_root.taust["Enemy" + m].bodyhit.gotoAndPlay(1);
_root.hero.kasi2.relvad.beretta.shoot.gotoAndStop(1);
}
if (hit2) {
headShot = new Sound(this);
headShot.attachSound("headHit");
headShot.start();
_root.sihik.gotoAndPlay(2);
hits2++;
_root.taust["Enemy" + m].headhit.gotoAndPlay(1);
_root.hero.kasi2.relvad.beretta.shoot.gotoAndStop(1);
}
if ((hit && (_root.inf._currentframe == 8)) || (hit2 && (_root.inf._currentframe == 8))) {
_root.raildeath = true;
}
if (elukasHit) {
headShot = new Sound(this);
headShot.attachSound("headHit");
headShot.start();
_root.sihik.gotoAndPlay(2);
elukasHits++;
_root.taust["Enemy" + m].bodyhit.gotoAndPlay(1);
_root.hero.kasi2.relvad.beretta.shoot.gotoAndStop(1);
}
if (elukasHit && (_root.inf._currentframe == 8)) {
elukasSaiReilida++;
}
if ((hits == 6) || (_root.raildeath == true)) {
_root.surnud = true;
score5 = score5 + 20;
score = score + 20;
hits = 0;
hits2 = 0;
_root.taust["Enemy" + m].gotoAndStop(3);
_root.raildeath = false;
}
if ((elukasHits == 200) || (elukasSaiReilida == 33)) {
_root.elukaSsurnud = true;
_root.taust.elukas.gotoAndStop(3);
}
if ((hits2 == 4) || (_root.raildeath == true)) {
_root.surnud = true;
score5 = score5 + 20;
score = score + 20;
hits = 0;
hits2 = 0;
_root.taust["Enemy" + m].gotoAndStop(4);
_root.raildeath = false;
}
m++;
}
};
_root.hero.onMouseMove = funcThatLLWorkOnMouseMove;
Frame 22
sihik.startDrag("false");
Mouse.show();
Frame 23
sihik.startDrag("false");
Mouse.show();
Frame 24
sihik.startDrag("false");
Mouse.show();
Frame 25
sihik.startDrag("false");
Mouse.show();
Frame 26
sihik.startDrag("false");
Mouse.show();
Symbol 3 MovieClip [blood] Frame 11
stop();
Symbol 6 MovieClip [hylss] Frame 20
stop();
Symbol 9 MovieClip [kest] Frame 1
stop();
Symbol 17 Button
on (release) {
getURL ("http://www.zumgames.com", _blank);
}
Symbol 50 Button
on (release) {
getURL ("http://www.zumgames.com", _blank);
}
Symbol 74 MovieClip Frame 215
_root.gotoAndStop("kohal");
stop();
Symbol 76 Button
on (release) {
getURL ("http://www.zumgames.com", _blank);
}
Symbol 80 MovieClip [taustaMuss] Frame 1
stop();
Symbol 88 Button
on (press) {
gotoAndStop ("level1");
}
Symbol 93 Button
on (release) {
gotoAndStop ("6petus");
}
Symbol 99 Button
on (release) {
getURL ("http://www.zumgames.com", _blank);
}
Symbol 125 MovieClip Frame 1
stop();
Symbol 127 MovieClip Frame 1
stop();
Symbol 135 MovieClip Frame 22
stop();
Symbol 160 MovieClip Frame 29
stop();
Symbol 161 MovieClip Frame 1
stop();
Symbol 163 MovieClip Frame 1
stop();
Symbol 170 MovieClip Frame 1
stop();
Symbol 172 MovieClip Frame 1
stop();
Symbol 184 MovieClip Frame 1
stop();
Instance of Symbol 161 MovieClip "Enemy2" in Symbol 184 MovieClip Frame 1
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 163 MovieClip in Symbol 184 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.energia._xscale < 100) && (_root.hero.hit.hitTest(this))) {
hetkeEnergia = 100 - _root.energia._xscale;
_root.energia._xscale = _root.energia._xscale + hetkeEnergia;
this.gotoAndStop(2);
}
}
Instance of Symbol 163 MovieClip in Symbol 184 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.energia._xscale < 100) && (_root.hero.hit.hitTest(this))) {
hetkeEnergia = 100 - _root.energia._xscale;
_root.energia._xscale = _root.energia._xscale + hetkeEnergia;
this.gotoAndStop(2);
}
}
Instance of Symbol 172 MovieClip in Symbol 184 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.hero.hit.hitTest(this)) {
_root.inf.ak47salved = _root.inf.ak47salved + 3;
_root.inf.kasikassalved = _root.inf.kasikassalved + 3;
this.gotoAndStop(2);
}
}
Instance of Symbol 161 MovieClip "Enemy3" in Symbol 184 MovieClip Frame 1
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 161 MovieClip "Enemy1" in Symbol 184 MovieClip Frame 1
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 161 MovieClip "Enemy6" in Symbol 184 MovieClip Frame 2
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 161 MovieClip "Enemy4" in Symbol 184 MovieClip Frame 2
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 161 MovieClip "Enemy5" in Symbol 184 MovieClip Frame 2
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 161 MovieClip "Enemy10" in Symbol 184 MovieClip Frame 3
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 161 MovieClip "Enemy8" in Symbol 184 MovieClip Frame 3
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 161 MovieClip "Enemy9" in Symbol 184 MovieClip Frame 3
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 161 MovieClip "Enemy7" in Symbol 184 MovieClip Frame 3
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 161 MovieClip "Enemy13" in Symbol 184 MovieClip Frame 4
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 161 MovieClip "Enemy11" in Symbol 184 MovieClip Frame 4
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 161 MovieClip "Enemy14" in Symbol 184 MovieClip Frame 4
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 161 MovieClip "Enemy12" in Symbol 184 MovieClip Frame 4
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Symbol 194 MovieClip Frame 15
gotoAndPlay (1);
Symbol 200 MovieClip Frame 1
stop();
Symbol 204 MovieClip Frame 1
stop();
Symbol 204 MovieClip Frame 3
_root.inf.kasikas--;
Symbol 211 MovieClip Frame 1
stop();
Symbol 211 MovieClip Frame 3
_root.inf.ak47--;
Symbol 217 MovieClip Frame 1
stop();
Symbol 217 MovieClip Frame 3
_root.inf.de--;
Symbol 222 MovieClip Frame 1
stop();
Symbol 222 MovieClip Frame 3
_root.inf.uzisilent--;
Symbol 228 MovieClip Frame 1
stop();
Symbol 228 MovieClip Frame 3
_root.inf.m4a1--;
Symbol 233 MovieClip Frame 1
stop();
Symbol 238 MovieClip Frame 1
stop();
Symbol 238 MovieClip Frame 3
_root.inf.m3super90--;
Symbol 243 MovieClip Frame 1
stop();
Symbol 243 MovieClip Frame 3
_root.inf.saug--;
Symbol 247 MovieClip Frame 1
stop();
Symbol 253 MovieClip Frame 1
stop();
Symbol 253 MovieClip Frame 3
_root.inf.rail--;
Symbol 254 MovieClip Frame 1
stop();
Symbol 259 MovieClip Frame 1
stop();
Symbol 282 MovieClip Frame 1
_root.lubatud = true;
stop();
Symbol 282 MovieClip Frame 4
gotoAndStop (1);
Symbol 282 MovieClip Frame 5
_root.lubatud = false;
Symbol 282 MovieClip Frame 18
gotoAndStop (1);
Symbol 285 MovieClip Frame 15
gotoAndPlay (1);
Symbol 287 MovieClip Frame 20
gotoAndPlay (1);
Symbol 288 MovieClip Frame 9
stop();
Symbol 290 MovieClip Frame 132
_root.elud = _root.elud - 1;
onEnterFrame = function () {
if (_root.elud > 0) {
_root.gotoAndStop("l2bi");
} else if (_root.elud == 0) {
_root.gotoAndStop("gameover");
}
};
stop();
Symbol 291 MovieClip Frame 1
stop();
Symbol 298 MovieClip Frame 1
stop();
Symbol 323 MovieClip Frame 1
timer1 = 0;
shooting1 = false;
this.onMouseDown = function () {
shooting1 = true;
};
this.onMouseUp = function () {
shooting1 = false;
};
this.onEnterFrame = function () {
if (((_root.inf.kasikas == 0) && (_root.inf.kasikassalved > 0)) && (Key.isDown(82))) {
_root.hero.kasi.gotoAndPlay("reload");
_root.inf.kasikas = _root.inf.kasikas + 7;
_root.inf.kasikassalved--;
_root.inf.tyhi1.gotoAndStop(1);
}
if (shooting1) {
if ((_root.inf.label = ("usp" && (_root.inf.kasikas > 0)) && (timer1 == 0))) {
_root.hero.kasi2.relvad.beretta.shoot.gotoAndPlay(1);
_root.hero.kasi.gotoAndPlay(1);
_root.hero.kasi2.gotoAndPlay(1);
_root.hero.kasi2.relvad.beretta.gotoAndPlay(1);
_root.hero.tagasilook.gotoAndPlay(16);
_root.hero.head.gotoAndPlay(16);
timer1 = 8;
} else if ((_root.inf.kasikas == 0) && (_root.inf.kasikassalved > 0)) {
_root.inf.tyhi1.gotoAndStop(2);
shooting1 = false;
}
}
if (timer1 > 0) {
timer1--;
}
};
stop();
Symbol 323 MovieClip Frame 2
timer2 = 0;
shooting2 = false;
this.onMouseDown = function () {
shooting2 = true;
};
this.onMouseUp = function () {
shooting2 = false;
};
this.onEnterFrame = function () {
if ((((_root.lubatud == true) && (_root.inf.ak47 == 0)) && (_root.inf.ak47salved > 0)) && (Key.isDown(82))) {
_root.hero.kasi.gotoAndPlay("reload");
}
if (_root.hero.kasi._currentframe == _root.hero.kasi._totalframes) {
_root.inf.ak47 = _root.inf.ak47 + 30;
_root.inf.ak47salved--;
_root.inf.tyhi2.gotoAndStop(1);
}
if (shooting2) {
if ((_root.inf.label = ("ak" && (_root.inf.ak47 > 0)) && (timer2 == 0))) {
_root.hero.kasi2.relvad.beretta.shoot.gotoAndPlay(1);
_root.hero.kasi.gotoAndPlay(1);
_root.hero.kasi2.gotoAndPlay(1);
_root.hero.kasi2.relvad.beretta.gotoAndPlay(1);
_root.hero.tagasilook.gotoAndPlay(16);
_root.hero.head.gotoAndPlay(16);
timer2 = 3;
} else if ((_root.inf.ak47 == 0) && (_root.inf.ak47salved > 0)) {
_root.inf.tyhi2.gotoAndStop(2);
shooting2 = false;
}
}
if (timer2 > 0) {
timer2--;
}
};
Symbol 323 MovieClip Frame 3
timer3 = 0;
shooting3 = false;
this.onMouseDown = function () {
shooting3 = true;
};
this.onMouseUp = function () {
shooting3 = false;
};
this.onEnterFrame = function () {
if ((((_root.lubatud == true) && (_root.inf.de == 0)) && (_root.inf.desalved > 0)) && (Key.isDown(82))) {
_root.hero.kasi.gotoAndPlay("reload");
}
if (_root.hero.kasi._currentframe == _root.hero.kasi._totalframes) {
_root.inf.de = _root.inf.de + 7;
_root.inf.desalved--;
_root.inf.tyhi3.gotoAndStop(1);
}
if (shooting3) {
if ((_root.inf.label = ("de" && (_root.inf.de > 0)) && (timer3 == 0))) {
_root.hero.kasi2.relvad.beretta.shoot.gotoAndPlay(1);
_root.hero.kasi.gotoAndPlay(1);
_root.hero.kasi2.gotoAndPlay(1);
_root.hero.kasi2.relvad.beretta.gotoAndPlay(1);
_root.hero.tagasilook.gotoAndPlay(16);
_root.hero.head.gotoAndPlay(16);
timer3 = 8;
} else if ((_root.inf.de == 0) && (_root.inf.desalved > 0)) {
_root.inf.tyhi3.gotoAndStop(2);
}
}
if (timer3 > 0) {
timer3--;
}
};
Symbol 323 MovieClip Frame 4
timer4 = 0;
shooting4 = false;
this.onMouseDown = function () {
shooting4 = true;
};
this.onMouseUp = function () {
shooting4 = false;
};
this.onEnterFrame = function () {
if ((((_root.lubatud == true) && (_root.inf.uzisilent == 0)) && (_root.inf.uzisilentsalved > 0)) && (Key.isDown(82))) {
_root.hero.kasi.gotoAndPlay("reload");
}
if (_root.hero.kasi._currentframe == _root.hero.kasi._totalframes) {
_root.inf.uzisilent = _root.inf.uzisilent + 20;
_root.inf.uzisilentsalved--;
_root.inf.tyhi4.gotoAndStop(1);
}
if (shooting4) {
if ((_root.inf.label = ("uzisd" && (_root.inf.uzisilent > 0)) && (timer4 == 0))) {
_root.hero.kasi2.relvad.beretta.shoot.gotoAndPlay(1);
_root.hero.kasi.gotoAndPlay(1);
_root.hero.kasi2.gotoAndPlay(1);
_root.hero.kasi2.relvad.beretta.gotoAndPlay(1);
_root.hero.tagasilook.gotoAndPlay(16);
_root.hero.head.gotoAndPlay(16);
timer4 = 3;
} else if ((_root.inf.uzisilent == 0) && (_root.inf.uzisilentsalved > 0)) {
_root.inf.tyhi4.gotoAndStop(2);
}
}
if (timer4 > 0) {
timer4--;
}
};
Symbol 323 MovieClip Frame 5
timer5 = 0;
shooting5 = false;
this.onMouseDown = function () {
shooting5 = true;
};
this.onMouseUp = function () {
shooting5 = false;
};
this.onEnterFrame = function () {
if ((((_root.lubatud == true) && (_root.inf.m4a1 == 0)) && (_root.inf.m4a1salved > 0)) && (Key.isDown(82))) {
_root.hero.kasi.gotoAndPlay("reload");
}
if (_root.hero.kasi._currentframe == _root.hero.kasi._totalframes) {
_root.inf.m4a1 = _root.inf.m4a1 + 30;
_root.inf.m4a1salved--;
_root.inf.tyhi5.gotoAndStop(1);
}
if (shooting5) {
if ((_root.inf.label = ("m4" && (_root.inf.m4a1 > 0)) && (timer5 == 0))) {
_root.hero.kasi2.relvad.beretta.shoot.gotoAndPlay(1);
_root.hero.kasi.gotoAndPlay(1);
_root.hero.kasi2.gotoAndPlay(1);
_root.hero.kasi2.relvad.beretta.gotoAndPlay(1);
_root.hero.tagasilook.gotoAndPlay(16);
_root.hero.head.gotoAndPlay(16);
timer5 = 3;
} else if ((_root.inf.m4a1 == 0) && (_root.inf.m4a1salved > 0)) {
_root.inf.tyhi5.gotoAndStop(2);
}
}
if (timer5 > 0) {
timer5--;
}
};
Symbol 323 MovieClip Frame 6
timer6 = 0;
shooting6 = false;
this.onMouseDown = function () {
shooting6 = true;
};
this.onMouseUp = function () {
shooting6 = false;
};
this.onEnterFrame = function () {
if ((((_root.lubatud == true) && (_root.inf.m3super90 == 0)) && (_root.inf.m3super90salved > 0)) && (Key.isDown(82))) {
_root.hero.kasi.gotoAndPlay("reload");
}
if (_root.hero.kasi._currentframe == _root.hero.kasi._totalframes) {
_root.inf.m3super90 = _root.inf.m3super90 + 8;
_root.inf.m3super90salved--;
_root.inf.tyhi6.gotoAndStop(1);
}
if (shooting6) {
if ((_root.inf.label = ("m3" && (_root.inf.m3super90 > 0)) && (timer6 == 0))) {
_root.hero.kasi2.relvad.beretta.shoot.gotoAndPlay(1);
_root.hero.kasi.gotoAndPlay(1);
_root.hero.kasi2.gotoAndPlay(1);
_root.hero.kasi2.relvad.beretta.gotoAndPlay(1);
_root.hero.tagasilook.gotoAndPlay(16);
_root.hero.head.gotoAndPlay(16);
timer6 = 20;
} else if ((_root.inf.m3super90 == 0) && (_root.inf.m3super90salved > 0)) {
_root.inf.tyhi6.gotoAndStop(2);
shooting6 = false;
}
}
if (timer6 > 0) {
timer6--;
}
};
Symbol 323 MovieClip Frame 7
timer7 = 0;
shooting7 = false;
this.onMouseDown = function () {
shooting7 = true;
};
this.onMouseUp = function () {
shooting7 = false;
};
this.onEnterFrame = function () {
if ((((_root.lubatud == true) && (_root.inf.saug == 0)) && (_root.inf.saugsalved > 0)) && (Key.isDown(82))) {
_root.hero.kasi.gotoAndPlay("reload");
}
if (_root.hero.kasi._currentframe == _root.hero.kasi._totalframes) {
_root.inf.saug = _root.inf.saug + 30;
_root.inf.saugsalved--;
_root.inf.tyhi7.gotoAndStop(1);
}
if (shooting7) {
if ((_root.inf.label = ("m4" && (_root.inf.saug > 0)) && (timer7 == 0))) {
_root.hero.kasi2.relvad.beretta.shoot.gotoAndPlay(1);
_root.hero.kasi.gotoAndPlay(1);
_root.hero.kasi2.gotoAndPlay(1);
_root.hero.kasi2.relvad.beretta.gotoAndPlay(1);
_root.hero.tagasilook.gotoAndPlay(16);
_root.hero.head.gotoAndPlay(16);
timer7 = 3;
} else if ((_root.inf.saug == 0) && (_root.inf.saugsalved > 0)) {
_root.inf.tyhi7.gotoAndStop(2);
}
}
if (timer7 > 0) {
timer7--;
}
};
Symbol 323 MovieClip Frame 8
timer8 = 0;
shooting8 = false;
this.onMouseDown = function () {
shooting8 = true;
};
this.onMouseUp = function () {
shooting8 = false;
};
this.onEnterFrame = function () {
if ((((_root.lubatud == true) && (_root.inf.rail == 0)) && (_root.inf.railsalved > 0)) && (Key.isDown(82))) {
_root.hero.kasi.gotoAndPlay("reload");
}
if (_root.hero.kasi._currentframe == _root.hero.kasi._totalframes) {
_root.inf.rail = _root.inf.rail + 10;
_root.inf.railsalved--;
_root.inf.tyhi8.gotoAndStop(1);
}
if (shooting8) {
if ((_root.inf.label = ("railgun" && (_root.inf.rail > 0)) && (timer8 == 0))) {
_root.hero.kasi2.relvad.beretta.shoot.gotoAndPlay(1);
_root.hero.kasi.gotoAndPlay(1);
_root.hero.kasi2.gotoAndPlay(1);
_root.hero.kasi2.relvad.beretta.gotoAndPlay(1);
_root.hero.tagasilook.gotoAndPlay(16);
_root.hero.head.gotoAndPlay(16);
timer8 = 25;
} else if ((_root.inf.rail == 0) && (_root.inf.railsalved > 0)) {
_root.inf.tyhi8.gotoAndStop(2);
}
}
if (timer8 > 0) {
timer8--;
}
};
Symbol 332 MovieClip Frame 1
stop();
Symbol 372 MovieClip Frame 1
stop();
Symbol 374 MovieClip Frame 1
stop();
Symbol 393 MovieClip Frame 32
stop();
Symbol 411 MovieClip Frame 31
stop();
Symbol 412 MovieClip Frame 1
stop();
Symbol 418 MovieClip Frame 1
stop();
Symbol 427 MovieClip Frame 1
stop();
Symbol 430 MovieClip Frame 1
stop();
Instance of Symbol 412 MovieClip "Enemy2" in Symbol 430 MovieClip Frame 1
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 412 MovieClip "Enemy3" in Symbol 430 MovieClip Frame 1
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 412 MovieClip "Enemy1" in Symbol 430 MovieClip Frame 1
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 412 MovieClip "Enemy4" in Symbol 430 MovieClip Frame 1
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 163 MovieClip in Symbol 430 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.energia._xscale < 100) && (_root.hero.hit.hitTest(this))) {
hetkeEnergia = 100 - _root.energia._xscale;
_root.energia._xscale = _root.energia._xscale + hetkeEnergia;
this.gotoAndStop(2);
}
}
Instance of Symbol 163 MovieClip in Symbol 430 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.energia._xscale < 100) && (_root.hero.hit.hitTest(this))) {
hetkeEnergia = 100 - _root.energia._xscale;
_root.energia._xscale = _root.energia._xscale + hetkeEnergia;
this.gotoAndStop(2);
}
}
Instance of Symbol 172 MovieClip in Symbol 430 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.hero.hit.hitTest(this)) {
_root.inf.kasikassalved = _root.inf.kasikassalved + 3;
_root.inf.desalved = _root.inf.desalved + 2;
_root.inf.kasikassalved = _root.inf.kasikassalved + 8;
_root.inf.m3super90salved = _root.inf.m3super90salved + 3;
_root.inf.ak47salved = _root.inf.ak47salved + 3;
this.gotoAndStop(2);
}
}
Instance of Symbol 412 MovieClip "Enemy5" in Symbol 430 MovieClip Frame 2
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 412 MovieClip "Enemy8" in Symbol 430 MovieClip Frame 2
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 412 MovieClip "Enemy6" in Symbol 430 MovieClip Frame 2
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 412 MovieClip "Enemy7" in Symbol 430 MovieClip Frame 2
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 412 MovieClip "Enemy10" in Symbol 430 MovieClip Frame 3
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 412 MovieClip "Enemy12" in Symbol 430 MovieClip Frame 3
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 412 MovieClip "Enemy9" in Symbol 430 MovieClip Frame 3
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 412 MovieClip "Enemy11" in Symbol 430 MovieClip Frame 3
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 412 MovieClip "Enemy13" in Symbol 430 MovieClip Frame 3
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Symbol 430 MovieClip Frame 4
stop();
Instance of Symbol 412 MovieClip "Enemy15" in Symbol 430 MovieClip Frame 4
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 412 MovieClip "Enemy17" in Symbol 430 MovieClip Frame 4
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 412 MovieClip "Enemy14" in Symbol 430 MovieClip Frame 4
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 412 MovieClip "Enemy16" in Symbol 430 MovieClip Frame 4
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 412 MovieClip "Enemy18" in Symbol 430 MovieClip Frame 4
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Symbol 445 MovieClip Frame 1
stop();
Symbol 451 MovieClip Frame 1
stop();
Symbol 491 MovieClip Frame 42
stop();
Symbol 492 MovieClip Frame 1
stop();
Symbol 495 MovieClip Frame 1
stop();
Instance of Symbol 163 MovieClip in Symbol 495 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.energia._xscale < 100) && (_root.hero.hit.hitTest(this))) {
hetkeEnergia = 100 - _root.energia._xscale;
_root.energia._xscale = _root.energia._xscale + hetkeEnergia;
this.gotoAndStop(2);
}
}
Instance of Symbol 163 MovieClip in Symbol 495 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.energia._xscale < 100) && (_root.hero.hit.hitTest(this))) {
hetkeEnergia = 100 - _root.energia._xscale;
_root.energia._xscale = _root.energia._xscale + hetkeEnergia;
this.gotoAndStop(2);
}
}
Instance of Symbol 172 MovieClip in Symbol 495 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.hero.hit.hitTest(this)) {
_root.inf.kasikassalved = _root.inf.kasikassalved + 3;
_root.inf.desalved = _root.inf.desalved + 2;
_root.inf.kasikassalved = _root.inf.kasikassalved + 8;
_root.inf.m3super90salved = _root.inf.m3super90salved + 3;
_root.inf.ak47salved = _root.inf.ak47salved + 3;
_root.inf.uzisilentsalved = _root.inf.uzisilentsalved + 5;
_root.inf.saugsalved = _root.inf.saugsalved + 5;
this.gotoAndStop(2);
}
}
Instance of Symbol 492 MovieClip "Enemy1" in Symbol 495 MovieClip Frame 1
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 492 MovieClip "Enemy2" in Symbol 495 MovieClip Frame 1
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 492 MovieClip "Enemy3" in Symbol 495 MovieClip Frame 1
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 492 MovieClip "Enemy4" in Symbol 495 MovieClip Frame 1
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 492 MovieClip "Enemy5" in Symbol 495 MovieClip Frame 1
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 492 MovieClip "Enemy8" in Symbol 495 MovieClip Frame 2
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 492 MovieClip "Enemy10" in Symbol 495 MovieClip Frame 2
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 492 MovieClip "Enemy6" in Symbol 495 MovieClip Frame 2
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 492 MovieClip "Enemy7" in Symbol 495 MovieClip Frame 2
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 492 MovieClip "Enemy9" in Symbol 495 MovieClip Frame 2
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 492 MovieClip "Enemy12" in Symbol 495 MovieClip Frame 3
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 492 MovieClip "Enemy14" in Symbol 495 MovieClip Frame 3
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 492 MovieClip "Enemy15" in Symbol 495 MovieClip Frame 3
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 492 MovieClip "Enemy11" in Symbol 495 MovieClip Frame 3
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 492 MovieClip "Enemy13" in Symbol 495 MovieClip Frame 3
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 492 MovieClip "Enemy16" in Symbol 495 MovieClip Frame 3
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Symbol 495 MovieClip Frame 4
stop();
Instance of Symbol 492 MovieClip "Enemy18" in Symbol 495 MovieClip Frame 4
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 492 MovieClip "Enemy20" in Symbol 495 MovieClip Frame 4
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 492 MovieClip "Enemy21" in Symbol 495 MovieClip Frame 4
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 492 MovieClip "Enemy17" in Symbol 495 MovieClip Frame 4
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 492 MovieClip "Enemy19" in Symbol 495 MovieClip Frame 4
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 492 MovieClip "Enemy22" in Symbol 495 MovieClip Frame 4
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Symbol 520 MovieClip Frame 1
stop();
Symbol 522 MovieClip Frame 1
stop();
Symbol 527 MovieClip Frame 57
stop();
Symbol 546 MovieClip Frame 48
stop();
Symbol 547 MovieClip Frame 1
stop();
Symbol 556 MovieClip Frame 1
stop();
Symbol 562 MovieClip Frame 1
stop();
Symbol 565 MovieClip Frame 1
stop();
Instance of Symbol 547 MovieClip "Enemy2" in Symbol 565 MovieClip Frame 1
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 547 MovieClip "Enemy4" in Symbol 565 MovieClip Frame 1
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 547 MovieClip "Enemy6" in Symbol 565 MovieClip Frame 1
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 163 MovieClip in Symbol 565 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.energia._xscale < 100) && (_root.hero.hit.hitTest(this))) {
hetkeEnergia = 100 - _root.energia._xscale;
_root.energia._xscale = _root.energia._xscale + hetkeEnergia;
this.gotoAndStop(2);
}
}
Instance of Symbol 163 MovieClip in Symbol 565 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.energia._xscale < 100) && (_root.hero.hit.hitTest(this))) {
hetkeEnergia = 100 - _root.energia._xscale;
_root.energia._xscale = _root.energia._xscale + hetkeEnergia;
this.gotoAndStop(2);
}
}
Instance of Symbol 172 MovieClip in Symbol 565 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.hero.hit.hitTest(this)) {
_root.inf.kasikassalved = _root.inf.kasikassalved + 3;
_root.inf.desalved = _root.inf.desalved + 2;
_root.inf.kasikassalved = _root.inf.kasikassalved + 8;
_root.inf.m3super90salved = _root.inf.m3super90salved + 3;
_root.inf.ak47salved = _root.inf.ak47salved + 3;
_root.inf.uzisilentsalved = _root.inf.uzisilentsalved + 5;
_root.inf.saugsalved = _root.inf.saugsalved + 5;
_root.inf.m4a1salved = _root.inf.m4a1salved + 5;
_root.inf.railsalved = _root.inf.railsalved + 5;
this.gotoAndStop(2);
}
}
Instance of Symbol 547 MovieClip "Enemy1" in Symbol 565 MovieClip Frame 1
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 547 MovieClip "Enemy3" in Symbol 565 MovieClip Frame 1
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 547 MovieClip "Enemy5" in Symbol 565 MovieClip Frame 1
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 547 MovieClip "Enemy8" in Symbol 565 MovieClip Frame 2
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 547 MovieClip "Enemy10" in Symbol 565 MovieClip Frame 2
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 547 MovieClip "Enemy11" in Symbol 565 MovieClip Frame 2
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 547 MovieClip "Enemy7" in Symbol 565 MovieClip Frame 2
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 547 MovieClip "Enemy9" in Symbol 565 MovieClip Frame 2
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 547 MovieClip "Enemy12" in Symbol 565 MovieClip Frame 2
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 547 MovieClip "Enemy14" in Symbol 565 MovieClip Frame 3
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 547 MovieClip "Enemy16" in Symbol 565 MovieClip Frame 3
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 547 MovieClip "Enemy17" in Symbol 565 MovieClip Frame 3
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 547 MovieClip "Enemy13" in Symbol 565 MovieClip Frame 3
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 547 MovieClip "Enemy15" in Symbol 565 MovieClip Frame 3
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 547 MovieClip "Enemy18" in Symbol 565 MovieClip Frame 3
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 547 MovieClip "Enemy19" in Symbol 565 MovieClip Frame 3
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Symbol 565 MovieClip Frame 4
stop();
Instance of Symbol 547 MovieClip "Enemy22" in Symbol 565 MovieClip Frame 4
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 547 MovieClip "Enemy21" in Symbol 565 MovieClip Frame 4
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 547 MovieClip "Enemy24" in Symbol 565 MovieClip Frame 4
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 547 MovieClip "Enemy20" in Symbol 565 MovieClip Frame 4
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 547 MovieClip "Enemy23" in Symbol 565 MovieClip Frame 4
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 547 MovieClip "Enemy25" in Symbol 565 MovieClip Frame 4
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 547 MovieClip "Enemy26" in Symbol 565 MovieClip Frame 4
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Symbol 597 MovieClip Frame 18
stop();
Symbol 598 MovieClip Frame 1
stop();
Symbol 599 MovieClip Frame 1
stop();
Instance of Symbol 492 MovieClip "Enemy4" in Symbol 599 MovieClip Frame 1
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 547 MovieClip "Enemy2" in Symbol 599 MovieClip Frame 1
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 161 MovieClip "Enemy6" in Symbol 599 MovieClip Frame 1
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 412 MovieClip "Enemy3" in Symbol 599 MovieClip Frame 1
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 163 MovieClip in Symbol 599 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.energia._xscale < 100) && (_root.hero.hit.hitTest(this))) {
hetkeEnergia = 100 - _root.energia._xscale;
_root.energia._xscale = _root.energia._xscale + hetkeEnergia;
this.gotoAndStop(2);
}
}
Instance of Symbol 163 MovieClip in Symbol 599 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.energia._xscale < 100) && (_root.hero.hit.hitTest(this))) {
hetkeEnergia = 100 - _root.energia._xscale;
_root.energia._xscale = _root.energia._xscale + hetkeEnergia;
this.gotoAndStop(2);
}
}
Instance of Symbol 172 MovieClip in Symbol 599 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.hero.hit.hitTest(this)) {
_root.inf.kasikassalved = _root.inf.kasikassalved + 3;
_root.inf.desalved = _root.inf.desalved + 2;
_root.inf.kasikassalved = _root.inf.kasikassalved + 8;
_root.inf.m3super90salved = _root.inf.m3super90salved + 3;
_root.inf.ak47salved = _root.inf.ak47salved + 3;
_root.inf.uzisilentsalved = _root.inf.uzisilentsalved + 5;
_root.inf.saugsalved = _root.inf.saugsalved + 5;
_root.inf.m4a1salved = _root.inf.m4a1salved + 5;
_root.inf.railsalved = _root.inf.railsalved + 5;
this.gotoAndStop(2);
}
}
Instance of Symbol 492 MovieClip "Enemy7" in Symbol 599 MovieClip Frame 1
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 161 MovieClip "Enemy1" in Symbol 599 MovieClip Frame 1
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 412 MovieClip "Enemy5" in Symbol 599 MovieClip Frame 1
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 547 MovieClip "Enemy8" in Symbol 599 MovieClip Frame 1
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 492 MovieClip "Enemy11" in Symbol 599 MovieClip Frame 2
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 547 MovieClip "Enemy12" in Symbol 599 MovieClip Frame 2
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 161 MovieClip "Enemy9" in Symbol 599 MovieClip Frame 2
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 412 MovieClip "Enemy10" in Symbol 599 MovieClip Frame 2
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 492 MovieClip "Enemy13" in Symbol 599 MovieClip Frame 2
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 161 MovieClip "Enemy14" in Symbol 599 MovieClip Frame 2
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 412 MovieClip "Enemy16" in Symbol 599 MovieClip Frame 2
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Instance of Symbol 547 MovieClip "Enemy15" in Symbol 599 MovieClip Frame 2
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 2;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 2;
this._xscale = -100;
}
}
Symbol 599 MovieClip Frame 3
stop();
Instance of Symbol 598 MovieClip "elukas" in Symbol 599 MovieClip Frame 3
onClipEvent (enterFrame) {
mypoint = new Object();
mypoint.x = this.enemyhit._x;
mypoint.y = this.enemyhit._y;
localToGlobal(mypoint);
if (mypoint.x > _root.hero._x) {
this._x = this._x - 4;
this._xscale = 100;
} else if (mypoint.x < _root.hero._x) {
this._x = this._x + 4;
this._xscale = -100;
}
}
Symbol 608 Button
on (press) {
if (score == 280) {
gotoAndStop ("level2");
}
if (score2 == 360) {
gotoAndStop ("level3");
}
if (score3 == 440) {
gotoAndStop ("level4");
}
if (score4 == 520) {
gotoAndStop ("level5");
}
}
Symbol 613 Button
on (release) {
getURL ("http://www.zumgames.com", _blank);
}
Symbol 619 Button
on (release) {
if (score < 280) {
_root.gotoAndStop("level1");
} else if (score2 < 360) {
_root.gotoAndStop("level2");
taustaMuusika.start(0, 9999);
} else if (score3 < 440) {
_root.gotoAndStop("level3");
taustaMuusika.start(0, 9999);
} else if (score4 < 520) {
_root.gotoAndStop("level4");
taustaMuusika.start(0, 9999);
} else if (score5 < 500) {
_root.gotoAndStop("level5");
taustaMuusika.start(0, 9999);
}
}
Symbol 626 Button
on (release) {
_root.gotoAndStop(4);
}