Frame 1
musMC.gotoAndPlay(1);
stop();
Frame 2
stop();
Frame 3
function GeneralUborka() {
i = 0;
while (i < doyArray.length) {
this["balloon" + doyArray[i]].removeMovieClip();
this["FlyDragon" + doyArray[i]].removeMovieClip();
i++;
}
i = 0;
while (i < arrDragon.length) {
this["OgonChik" + arrDragon[i]].removeMovieClip();
this["Boonus" + arrDragon[i]].removeMovieClip();
i++;
}
i = 0;
while (i < aPuls.length) {
this["bullets" + aPuls[i]].removeMovieClip();
this["TankPs" + aPuls[i]].removeMovieClip();
this["Boonus" + arrDragon[i]].removeMovieClip();
i++;
}
this.Stvol.removeMovieClip();
this.TANK.removeMovieClip();
this.LineLifeTank.removeMovieClip();
this.Life.removeMovieClip();
this.FlyDragon.removeMovieClip();
this.kat.removeMovieClip();
var _local3 = 20;
var _local2 = 0;
doyArray = [];
arrDragon = [];
aPuls = [];
}
function NextLevel() {
i = 0;
while (i < doyArray.length) {
this["balloon" + doyArray[i]].removeMovieClip();
this["FlyDragon" + doyArray[i]].removeMovieClip();
i++;
}
i = 0;
while (i < arrDragon.length) {
this["OgonChik" + arrDragon[i]].removeMovieClip();
this["Boonus" + arrDragon[i]].removeMovieClip();
i++;
}
i = 0;
while (i < aPuls.length) {
this["TankPs" + aPuls[i]].removeMovieClip();
this["bullets" + aPuls[i]].removeMovieClip();
this["Boonus" + arrDragon[i]].removeMovieClip();
i++;
}
level++;
if (level == 7) {
GeneralUborka();
gotoAndPlay (4);
win.start();
_root.WinOrLost = "win";
Gamepause = true;
}
this.FlyDragon.removeMovieClip();
this.Stvol.removeMovieClip();
this.Life.removeMovieClip();
this.TANK.removeMovieClip();
this.LineLifeTank.removeMovieClip();
this.kat.removeMovieClip();
if (level <= 6) {
newLvl.start();
this.attachMovie("Mains", "Mains", 600, {_x:250, _y:200});
}
Sec = Sec + 60;
nextDogTime = 0;
VragLife = VragLife + 20;
doyArray = [];
arrDragon = [];
aPuls = [];
}
function ciraceTest(object, _xKoor, _ykoor, Predel) {
if (Math.floor(Math.sqrt(((object._x - _xKoor) * (object._x - _xKoor)) + ((object._y - _yKoor) * (object._y - _yKoor)))) <= Predel) {
return(true);
}
return(false);
}
function Createdbullet(type) {
var _local9 = 0;
var _local10 = 50;
switch (type) {
case 0 :
Skin = "bullet";
ZadergkaCC = 25;
Damages = 10;
Speeds = 20;
pistols.start();
RukO.fireMc.gotoAndPlay(1);
break;
case 1 :
Skin = "bullet";
_local9 = 2;
shotgun.start();
ZadergkaCC = 20;
Damages = 10;
Speeds = 10;
RukO.fireMc.gotoAndPlay(2);
break;
case 2 :
Skin = "bullet";
uzi.start();
ZadergkaCC = 5;
Damages = 20;
RukO.fireMc.gotoAndPlay(3);
Speeds = 15;
break;
case 3 :
Skin = "firemc";
ZadergkaCC = 1;
Damages = 20;
Speeds = 15;
fireGun.start();
}
var _local8 = (Math.cos(((this.RukO._rotation + 90) * Math.PI) / 180) * _local10) + this.RukO._x;
var _local7 = (Math.sin(((this.RukO._rotation + 90) * Math.PI) / 180) * _local10) + this.RukO._y;
attachMovie(Skin, "bullets" + lPuls, lPuls, {_x:_local8, _y:_local7, _rotation:this.RukO._rotation - 180, Damage:Damages, Speed:Speeds});
aPuls.push(lPuls++);
o = 0;
while (o < _local9) {
attachMovie("bullet", "bullets" + lPuls, lPuls, {_x:_local8, _y:_local7, _rotation:(this.RukO._rotation - 180) - (Math.floor(Math.random() * -8) + 8), Damage:Damages, Speed:Speeds});
aPuls.push(lPuls++);
o++;
}
}
function CreatedTbullet() {
var _local4 = (Math.cos((this.Stvol._rotation * Math.PI) / 180) * 100) + this.Stvol._x;
var _local3 = (Math.sin((this.Stvol._rotation * Math.PI) / 180) * 100) + this.Stvol._y;
this.Stvol.dulo.play();
rocket.start();
_root.attachMovie("TankP", "TankPs" + lPuls, lPuls, {_x:_local4, _y:_local3, _rotation:this.Stvol._rotation + 90, Damage:1, Speed:1});
aPuls.push(lPuls++);
}
function CreateKat() {
var _local4;
var _local3;
if (level != 6) {
var _local2 = Math.floor(Math.random() * 2) + 1;
} else {
var _local2 = 2;
}
switch (Math.floor(Math.random() * 3)) {
case 0 :
_local3 = 330;
LevelTravel = 20;
break;
case 1 :
_local3 = 395;
LevelTravel = 10;
break;
case 2 :
_local3 = 458;
LevelTravel = 0;
}
switch (Math.floor(Math.random() * 2)) {
case 0 :
_local4 = -30;
break;
case 1 :
_local4 = 670;
var _local2 = -_local2;
}
this.attachMovie("kat", "kat", nextDog, {_x:_local4, _y:_local3, mSpeed:_local2});
if (_local2 < 0) {
this.kat._xscale = -100;
}
nextDog++;
if (nextDog > 200) {
nextDog = 20;
}
}
function CreatePtichka() {
var _local3;
var _local4 = 70;
var _local2 = 2;
switch (Math.floor(Math.random() * 2)) {
case 0 :
_local3 = -30;
break;
case 1 :
_local3 = 560;
_local2 = -_local2;
}
this.attachMovie("FlyDragon", "FlyDragon", nextDog, {_x:_local3, _y:_local4, mSpeed:_local2, Kill:false, sLife:VragLife + 50});
if (_local2 < 0) {
this.FlyDragon._xscale = -100;
}
nextDog++;
if (nextDog > 200) {
nextDog = 20;
}
}
function CreatedBalloon() {
var _local5;
var _local3;
var _local2 = Math.floor(Math.random() * 3) + MinSpeed;
var _local6 = Math.floor(Math.random() * 500) + 20;
var _local4 = 0;
switch (Math.floor(Math.random() * 3)) {
case 0 :
_local3 = 300;
_local4 = 20;
break;
case 1 :
_local3 = 365;
_local4 = 10;
break;
case 2 :
_local3 = 428;
_local4 = 0;
}
switch (Math.floor(Math.random() * 2)) {
case 0 :
_local5 = -30;
break;
case 1 :
_local5 = 560;
_local2 = _local2 * -1;
}
this.attachMovie("balloon", "balloon" + nextDog, nextDog, {_x:_local5, _y:_local3, mSpeed:_local2, Faer:_local6, TimePause:0, Kill:false, sLife:VragLife});
if (Boolean(this["balloon" + nextDog])) {
}
if (_local2 > 0) {
this["balloon" + nextDog]._xscale = -100;
}
doyArray.push(nextDog++);
if (nextDog > 200) {
nextDog = 20;
}
}
function createdFierBalloon(CrObject) {
if (this["balloon" + doyArray[i]]._xscale == -100) {
this.attachMovie("OgonChik", "OgonChik" + numDragon, numDragon, {_x:CrObject._x, _y:CrObject._y});
}
if (this["balloon" + doyArray[i]]._xscale == 100) {
this.attachMovie("OgonChik", "OgonChik" + numDragon, numDragon, {_x:CrObject._x - 20, _y:CrObject._y});
}
arrDragon.push(numDragon++);
if (numDragon > 600) {
numDragon = 501;
}
}
function CreatedBonus() {
var _local3 = Math.floor(Math.random() * 100);
var _local2;
if (_local3 <= 50) {
_local2 = 0;
} else if (_local3 <= 60) {
_local2 = 1;
} else if (_local3 <= 70) {
_local2 = 2;
} else if (_local3 <= 90) {
_local2 = 3;
} else if (_local3 <= 100) {
_local2 = 4;
}
this.attachMovie("Boonus", "Boonus" + numDragon, numDragon, {_x:this.kat._x, _y:this.kat._y, Type:_local2});
this["Boonus" + numDragon].gotoAndStop(_local2 + 1);
arrDragon.push(numDragon++);
if (numDragon > 600) {
numDragon = 501;
}
}
stop();
var lives = 3;
var level = 1;
var MinSpeed = 1;
var Sec = 61;
var Gamepause = true;
var nextDogTime = 20;
var nextDog = 0;
var doyArray = [];
var score = 0;
var numDragon = 501;
var arrDragon = [];
var TimeFaer = 0;
var ArmorArray = [9999, 0, 0, 0];
var TypeSt = 0;
var myau = new Sound();
myau.attachSound("myau");
var newLvl = new Sound();
newLvl.attachSound("newLvl");
var pistols = new Sound();
pistols.attachSound("pistols");
var crash = new Sound();
crash.attachSound("crash");
var fireGun = new Sound();
fireGun.attachSound("ogon");
var shotgun = new Sound();
shotgun.attachSound("shotgun");
var uzi = new Sound();
uzi.attachSound("uzi");
var bounisSound = new Sound();
bounisSound.attachSound("bonus");
var lost = new Sound();
lost.attachSound("lost");
var win = new Sound();
win.attachSound("win");
var rocket = new Sound();
rocket.attachSound("rocket");
var HardArray = [[0.01, 0], [0.013, 0], [0.016, 0], [0.02, 0], [0.023, 0], [0.026, 0], [0.03, 0], [0.033, 0], [0.033, 0], [0.04, 0]];
var t = 0;
var speed = 0;
var Nimf = undefined;
var FierCC = false;
var ZadergkaCC = 0;
this.onMouseDown = function () {
FierCC = true;
};
this.onMouseUp = function () {
FierCC = false;
};
this.onEnterFrame = function () {
if (lives <= 0) {
lost.start();
_root.WinOrLost = "lost";
gotoAndStop (4);
Gamepause = true;
i = 0;
while (i < doyArray.length) {
this["balloon" + doyArray[i]].removeMovieClip();
this["FlyDragon" + doyArray[i]].removeMovieClip();
i++;
}
i = 0;
while (i < arrDragon.length) {
this["OgonChik" + arrDragon[i]].removeMovieClip();
this["Boonus" + arrDragon[i]].removeMovieClip();
i++;
}
i = 0;
while (i < aPuls.length) {
this["TankPs" + aPuls[i]].removeMovieClip();
this["bullets" + aPuls[i]].removeMovieClip();
this["Boonus" + arrDragon[i]].removeMovieClip();
i++;
}
this.FlyDragon.removeMovieClip();
this.Stvol.removeMovieClip();
this.TANK.removeMovieClip();
this.LineLifeTank.removeMovieClip();
this.kat.removeMovieClip();
}
if (getTimer() == 2000) {
}
TypeStGarf.gotoAndStop(TypeSt + 1);
RukO.gotoAndStop(TypeSt + 1);
if (!Gamepause) {
if (FierCC) {
if (ZadergkaCC <= 0) {
if (ArmorArray[TypeSt] > 0) {
Createdbullet(TypeSt);
if (ArmorArray[TypeSt] != 9999) {
ArmorArray[TypeSt]--;
}
} else {
TypeSt--;
}
} else {
ZadergkaCC--;
TypeStGarf.zade.gotoAndPlay(ZadergkaCC);
}
} else {
ZadergkaCC--;
TypeStGarf.zade.gotoAndPlay(ZadergkaCC);
}
if (level != 6) {
if ((Math.random() < 0.001) && (!Boolean(this.FlyDragon))) {
CreatePtichka();
}
}
if ((Math.random() < 0.003) && (!Boolean(this.kat))) {
CreateKat();
}
if (level == 6) {
if (Boolean(this.TANK)) {
this.Stvol._x = this.TANK._x;
this.Stvol._y = this.TANK._y - 10;
this.LineLifeTank._x = this.TANK._x;
this.LineLifeTank._y = this.TANK._y;
this.TANK._x = this.TANK._x + this.TANK.mSpeed;
this.LineLifeTank.ln._width = Math.floor(203 / (1000 / (1 * this.TANK.sLife)));
this.Stvol._rotation = ((Math.atan2(this.Stvol._y - this.cat._y, this.Stvol._x - this.cat._x) * 180) / Math.PI) + 180;
if (this.TANK.mSpeed < 0) {
}
if (!this.TANK.Kill) {
if (this.TANK._x < -40) {
this.TANK.mSpeed = 4;
}
if (this.TANK._x > 580) {
this.TANK.mSpeed = -4;
}
if (this.TANK.TimePause <= 0) {
CreatedTbullet();
this.TANK.TimePause = 40;
} else {
this.TANK.TimePause--;
}
} else if (this.TANK.TimePause <= 0) {
this.attachMovie("boom", "boom", 400, {_x:this.TANK._x, _y:this.TANK._y});
this.TANK.TimePause = 40;
trace("over");
lost.start;
NextLevel();
} else {
this.TANK.TimePause--;
}
} else {
this.attachMovie("Stvol", "Stvol", nextDog++, {_x:654.65, _y:382.35});
this.Stvol._width = 100;
this.Stvol._height = 20.15;
this.Stvol._rotation = -90;
this.Stvol.dulo.stop();
this.attachMovie("Tank", "TANK", nextDog++, {_x:654.65, _y:382.35, mSpeed:-4, TimePause:10, Kill:false, sLife:1000});
this.attachMovie("LineLifeTank", "LineLifeTank", nextDog++, {_x:654.65, _y:382.35});
}
}
this.RukO._x = this.cat._x;
this.RukO._y = this.cat._y - 30;
this.RukO._rotation = ((Math.atan2(this.RukO._y - _ymouse, this.RukO._x - _xmouse) * 180) / Math.PI) + 90;
if (this.RukO._rotation > 106) {
this.RukO._rotation = 106;
}
if (this.RukO._rotation < -106) {
this.RukO._rotation = -106;
}
if (((Math.random() < HardArray[level - 1][0]) && (doyArray.length < 6)) && (level != 6)) {
CreatedBalloon();
}
if (Key.isDown(39)) {
speed = speed + 0.2;
}
if (Key.isDown(37)) {
speed = speed - 0.2;
}
cat._y = (Math.sin((t = t + 0.15)) * 4) + 150;
if (cat._x >= 560) {
if (level != 6) {
cat._x = -20;
} else {
cat._x = cat._x - 2;
}
}
if (cat._x < -20) {
if (level != 6) {
cat._x = 560;
} else {
cat._x = cat._x + 2;
}
}
if (speed > 2) {
speed = 2;
}
if (speed < -2) {
speed = -2;
}
cat._x = cat._x + speed;
i = 0;
while (i < aPuls.length) {
if (Boolean(this["bullets" + aPuls[i]])) {
this["bullets" + aPuls[i]]._x = this["bullets" + aPuls[i]]._x + (Math.cos(((this["bullets" + aPuls[i]]._rotation - 90) * Math.PI) / 180) * this["bullets" + aPuls[i]].Speed);
this["bullets" + aPuls[i]]._y = this["bullets" + aPuls[i]]._y + (Math.sin(((this["bullets" + aPuls[i]]._rotation - 90) * Math.PI) / 180) * this["bullets" + aPuls[i]].Speed);
c = 0;
while (c < doyArray.length) {
if ((!this["balloon" + doyArray[c]].Kill) && (this["balloon" + doyArray[c]].hitTest(this["bullets" + aPuls[i]]._x, this["bullets" + aPuls[i]]._y, true))) {
this["balloon" + doyArray[c]].sLife = this["balloon" + doyArray[c]].sLife - this["bullets" + aPuls[i]].Damage;
if (this["balloon" + doyArray[c]].sLife <= 0) {
this["balloon" + doyArray[c]].Kill = true;
this["balloon" + doyArray[c]].TimePause = 20;
score = score + 10;
}
_root.attachMovie("Blood", "Blood", 800, {_x:this["bullets" + aPuls[i]]._x, _y:this["bullets" + aPuls[i]]._y, _rotation:this["bullets" + aPuls[i]]._rotation - 180});
this["bullets" + aPuls[i]].removeMovieClip();
aPuls.splice(i, 1);
}
c++;
}
if (this.FlyDragon.hitTest(this["bullets" + aPuls[i]]._x, this["bullets" + aPuls[i]]._y, true)) {
this.FlyDragon.sLife = this.FlyDragon.sLife - this["bullets" + aPuls[i]].Damage;
_root.attachMovie("Blood", "Blood", 800, {_x:this["bullets" + aPuls[i]]._x, _y:this["bullets" + aPuls[i]]._y, _rotation:this["bullets" + aPuls[i]]._rotation - 180});
this["bullets" + aPuls[i]].removeMovieClip();
aPuls.splice(i, 1);
if (this.FlyDragon.sLife <= 0) {
this.FlyDragon.Kill = true;
}
}
if (this.TANK.hitTest(this["bullets" + aPuls[i]]._x, this["bullets" + aPuls[i]]._y, true)) {
this.TANK.sLife = this.TANK.sLife - this["bullets" + aPuls[i]].Damage;
this.attachMovie("TPils", "TPils", 800, {_x:this["bullets" + aPuls[i]]._x, _y:this["bullets" + aPuls[i]]._y});
this["bullets" + aPuls[i]].removeMovieClip();
aPuls.splice(i, 1);
if (this.TANK.sLife <= 0) {
this.TANK.Kill = true;
}
}
if (this["bullets" + aPuls[i]]._y > 550) {
this["bullets" + aPuls[i]].removeMovieClip();
aPuls.splice(i, 1);
}
if (this["bullets" + aPuls[i]]._y < 0) {
this["bullets" + aPuls[i]].removeMovieClip();
aPuls.splice(i, 1);
}
}
if (Boolean(this["TankPs" + aPuls[i]])) {
this["TankPs" + aPuls[i]]._x = this["TankPs" + aPuls[i]]._x + (Math.cos(((this["TankPs" + aPuls[i]]._rotation - 90) * Math.PI) / 180) * 3);
this["TankPs" + aPuls[i]]._y = this["TankPs" + aPuls[i]]._y + (Math.sin(((this["TankPs" + aPuls[i]]._rotation - 90) * Math.PI) / 180) * 3);
if (this["TankPs" + aPuls[i]]._y < 40) {
this.attachMovie("boom", "boom" + aPuls[i], aPuls[i], {_x:this["TankPs" + aPuls[i]]._x, _y:this["TankPs" + aPuls[i]]._y});
this["TankPs" + aPuls[i]].removeMovieClip();
crash.start();
aPuls.splice(i, 1);
}
if (this.cat.hitTest(this["TankPs" + aPuls[i]]._x, this["TankPs" + aPuls[i]]._y, true)) {
this.attachMovie("boom", "boom" + aPuls[i], aPuls[i], {_x:this["TankPs" + aPuls[i]]._x, _y:this["TankPs" + aPuls[i]]._y});
lives--;
cat.head.play();
this["TankPs" + aPuls[i]].removeMovieClip();
aPuls.splice(i, 1);
}
}
i++;
}
var _local3 = false;
i = 0;
while (i < doyArray.length) {
if (!this["balloon" + doyArray[i]].Kill) {
if (this["balloon" + doyArray[i]].hitTest(_xmouse, _ymouse, false)) {
_local3 = true;
if (Nimf != doyArray[i]) {
this.attachMovie("Life", "Life", 601, {_x:this["balloon" + doyArray[i]]._x, _y:this["balloon" + doyArray[i]]._y, _alpha:0});
Nimf = doyArray[i];
} else {
this.Life._x = this["balloon" + doyArray[i]]._x;
this.Life._y = this["balloon" + doyArray[i]]._y;
this.Life.lines._width = Math.floor(60 / (VragLife / ((VragLife / VragLife) * this["balloon" + doyArray[i]].sLife)));
if (this.Life._alpha <= 90) {
this.Life._alpha = this.Life._alpha + 10;
}
}
}
if ((this["balloon" + doyArray[i]].Faer != undefined) && (Math.abs(this["balloon" + doyArray[i]]._x - this["balloon" + doyArray[i]].Faer) <= 5)) {
this["balloon" + doyArray[i]].drag.head.play();
createdFierBalloon(this["balloon" + doyArray[i]]);
this["balloon" + doyArray[i]].TimePause = 20;
this["balloon" + doyArray[i]].Faer = undefined;
}
if (this["balloon" + doyArray[i]].TimePause <= 0) {
this["balloon" + doyArray[i]]._x = this["balloon" + doyArray[i]]._x + this["balloon" + doyArray[i]].mSpeed;
} else {
this["balloon" + doyArray[i]].TimePause--;
}
} else {
this["balloon" + doyArray[i]].gotoAndStop(2);
if (this["balloon" + doyArray[i]].TimePause > 0) {
this["balloon" + doyArray[i]].TimePause--;
} else {
this["balloon" + doyArray[i]]._alpha = this["balloon" + doyArray[i]]._alpha - 10;
}
if (this["balloon" + doyArray[i]]._alpha <= 10) {
this["balloon" + doyArray[i]].removeMovieClip();
doyArray.splice(i, 1);
}
}
if (this["balloon" + doyArray[i]]._x < -30) {
this["balloon" + doyArray[i]].removeMovieClip();
doyArray.splice(i, 1);
}
if (this["balloon" + doyArray[i]]._x > 560) {
this["balloon" + doyArray[i]].removeMovieClip();
doyArray.splice(i, 1);
}
if (!_local3) {
this.Life.removeMovieClip();
Nimf = undefined;
}
i++;
}
}
if (Boolean(this.kat)) {
this.kat._x = this.kat._x + this.kat.mSpeed;
if (Math.random() < HardArray[level - 1][0]) {
CreatedBonus();
}
if (this.kat._x < -100) {
this.kat.removeMovieClip();
}
if (this.kat._x > 600) {
this.kat.removeMovieClip();
}
}
if (Boolean(this.FlyDragon)) {
this.FlyDragon._x = this.FlyDragon._x + this.FlyDragon.mSpeed;
if (this.FlyDragon.mSpeed == undefined) {
this.FlyDragon.mSpeed = 1;
}
if (!this.FlyDragon.Kill) {
if (cat.hitTest(this.FlyDragon)) {
cat.head.play();
if (cat.head._currentframe == 17) {
lives = 0;
}
}
}
if (this.FlyDragon._x < -100) {
this.FlyDragon.removeMovieClip();
}
if (this.FlyDragon._x > 600) {
this.FlyDragon.removeMovieClip();
}
if (this.FlyDragon._y > 600) {
this.FlyDragon.removeMovieClip();
}
if (this.FlyDragon.Kill) {
this.FlyDragon._y = this.FlyDragon._y + 5;
this.FlyDragon.play();
if (this.FlyDragon._currentframe == 15) {
this.FlyDragon.gotoAndStop(15);
}
}
}
i = 0;
while (i < arrDragon.length) {
this["OgonChik" + arrDragon[i]]._y = this["OgonChik" + arrDragon[i]]._y - 4;
this["Boonus" + arrDragon[i]]._y = this["Boonus" + arrDragon[i]]._y - 4;
if (cat.hitTest(this["OgonChik" + arrDragon[i]]._x, this["OgonChik" + arrDragon[i]]._y, true)) {
lives--;
cat.head.play();
this["OgonChik" + arrDragon[i]].removeMovieClip();
arrDragon.splice(i, 1);
}
if (this["OgonChik" + arrDragon[i]]._y < 0) {
this["OgonChik" + arrDragon[i]].removeMovieClip();
arrDragon.splice(i, 1);
}
if (cat.hitTest(this["Boonus" + arrDragon[i]]._x, this["Boonus" + arrDragon[i]]._y, true)) {
switch (this["Boonus" + arrDragon[i]].Type) {
case 0 :
score = score + 200;
bounisSound.start();
break;
case 1 :
lives = lives + 3;
bounisSound.start();
if (lives >= 3) {
lives = 3;
}
break;
case 2 :
ArmorArray[1] = ArmorArray[1] + 20;
bounisSound.start();
if (TypeSt < 1) {
TypeSt = 1;
}
break;
case 3 :
ArmorArray[2] = ArmorArray[2] + 40;
bounisSound.start();
if (TypeSt < 2) {
TypeSt = 2;
}
break;
case 4 :
ArmorArray[3] = ArmorArray[3] + 60;
bounisSound.start();
if (TypeSt >= 3) {
break;
}
TypeSt = 3;
}
this["Boonus" + arrDragon[i]].removeMovieClip();
arrDragon.splice(i, 1);
}
if (this["Boonus" + arrDragon[i]]._y < 0) {
this["Boonus" + arrDragon[i]].removeMovieClip();
arrDragon.splice(i, 1);
}
i++;
}
NumBul.text = ArmorArray[TypeSt];
if (NumBul.text == "9999") {
NumBul.text = "";
}
if ((getTimer() - TimeFaer) > 2000) {
Zriad = true;
TimeFaer = 0;
}
if (!Boolean(this.Mains)) {
LevelTimes = (Sec = Sec - 0.035);
LevelTime = int(LevelTimes);
if (int(LevelTimes) == 60) {
mcwait.gotoAndPlay(2);
}
if (LevelTimes > 60) {
LevelTime = 60;
}
if (LevelTime <= 0) {
NextLevel();
}
} else {
Gamepause = true;
}
};
var aPuls = [];
var lPuls = 700;
var Zriad = true;
var Skin;
var VragLife = 30;
var numDragon = 21;
var arrDragon = [];
Frame 4
musMC.gotoAndPlay(2);
stop();
Music.stop();
this.onEnterFrame = function () {
if (_root.WinOrLost == "win") {
gowMC.gotoAndPlay(2);
}
if (_root.WinOrLost == "lost") {
gowMC.gotoAndPlay(1);
}
};
Symbol 20 MovieClip Frame 1
stop();
Symbol 31 MovieClip Frame 12
gotoAndPlay (1);
Symbol 55 MovieClip [FlyDragon] Frame 1
stop();
Symbol 55 MovieClip [FlyDragon] Frame 15
stop();
Symbol 58 MovieClip Frame 1
play();
Symbol 58 MovieClip Frame 30
this.removeMovieClip();
Symbol 59 MovieClip Frame 1
fire._visible = true;
lev = 3;
this.onEnterFrame = function () {
var _local2 = 0;
while (_local2 < 2) {
lev++;
if (lev > 1000) {
lev = 0;
}
d = fire.duplicateMovieClip("f" + lev, lev + 2000);
d2 = fire.duplicateMovieClip("f2" + lev, lev);
d2._y = (d._y = d._y + ((Math.random() * 6) - 3));
d._alpha = (Math.random() * 50) + 50;
d2._xscale = (d2._yscale = (d._xscale = (d._yscale = (Math.random() * 50) + 70)));
var _local3 = new Color(d2);
var _local1 = _local3.getTransform();
_local1.ab = (_local1.gb = 255);
_local3.setTransform(_local1);
_local2++;
}
};
Symbol 70 MovieClip Frame 1
stop();
Symbol 73 MovieClip Frame 1
stop();
Symbol 73 MovieClip Frame 10
stop();
Symbol 73 MovieClip Frame 20
gotoAndStop (1);
Symbol 73 MovieClip Frame 21
_parent.gotoAndPlay(2);
Symbol 74 MovieClip [Mains] Frame 1
this.Buts.onPress = function () {
_root.Mains.removeMovieClip();
};
Symbol 101 MovieClip Frame 1
stop();
Symbol 101 MovieClip Frame 26
stop();
Symbol 117 MovieClip Frame 44
stop();
Symbol 118 MovieClip [balloon] Frame 1
stop();
Symbol 118 MovieClip [balloon] Frame 2
stop();
Symbol 131 MovieClip [Blood] Frame 15
this.removeMovieClip();
Symbol 135 MovieClip Frame 1
play();
Symbol 135 MovieClip Frame 12
this.removeMovieClip();
Symbol 156 MovieClip [TPils] Frame 13
this.removeMovieClip();
Symbol 178 MovieClip [boom] Frame 22
this.removeMovieClip();
Symbol 196 MovieClip Frame 1
stop();
Symbol 196 MovieClip Frame 10
stop();
Symbol 196 MovieClip Frame 20
gotoAndStop (1);
Symbol 196 MovieClip Frame 21
_parent._parent.gotoAndPlay(2);
Symbol 199 MovieClip Frame 1
stop();
Symbol 199 MovieClip Frame 10
stop();
Symbol 199 MovieClip Frame 20
gotoAndStop (1);
Symbol 199 MovieClip Frame 21
_parent.gotoAndPlay(2);
Symbol 202 MovieClip Frame 1
stop();
Symbol 202 MovieClip Frame 10
stop();
Symbol 202 MovieClip Frame 20
gotoAndStop (1);
Symbol 208 Button
on (release) {
_parent.play();
}
Symbol 210 MovieClip Frame 10
stop();
Symbol 210 MovieClip Frame 20
stop();
_parent.gotoAndPlay(1);
Symbol 211 Button
on (release) {
gotoAndPlay (2);
}
Symbol 212 MovieClip Frame 1
stop();
Instance of Symbol 196 MovieClip in Symbol 212 MovieClip Frame 1
on (release) {
this.gotoAndPlay(21);
}
on (rollOver) {
this.play();
}
on (rollOut) {
this.gotoAndPlay(11);
}
Instance of Symbol 199 MovieClip "btnOptions" in Symbol 212 MovieClip Frame 1
on (release) {
this.gotoAndPlay(21);
}
on (rollOver) {
this.play();
}
on (rollOut) {
this.gotoAndPlay(11);
}
Instance of Symbol 202 MovieClip "btnMoreGames" in Symbol 212 MovieClip Frame 1
on (release) {
getURL ("http://www.arcadegameplace.com", "_blank");
}
on (rollOver) {
this.play();
}
on (rollOut) {
this.gotoAndPlay(11);
}
Symbol 212 MovieClip Frame 2
stop();
Symbol 212 MovieClip Frame 3
stop();
Instance of Symbol 199 MovieClip in Symbol 212 MovieClip Frame 3
on (release) {
gotoAndStop (3);
}
Instance of Symbol 202 MovieClip in Symbol 212 MovieClip Frame 3
on (release) {
getURL ("http://www.arcadegameplace.com", "_blank");
}
Symbol 215 MovieClip Frame 1
stop();
Symbol 215 MovieClip Frame 2
stop();
Symbol 218 MovieClip Frame 10
stop();
_parent.play();
play();
Symbol 218 MovieClip Frame 20
stop();
Symbol 228 MovieClip Frame 1
stop();
Symbol 233 MovieClip Frame 1
stop();
Symbol 235 MovieClip Frame 1
stop();
Symbol 235 MovieClip Frame 2
stop();
Symbol 235 MovieClip Frame 3
stop();
Symbol 235 MovieClip Frame 4
stop();
Symbol 248 MovieClip Frame 1
stop();
Symbol 261 MovieClip Frame 1
stop();
Symbol 261 MovieClip Frame 10
stop();
k = 0;
onEnterFrame = function () {
k = k + 1;
if (k == 50) {
gotoAndPlay (11);
}
};
Symbol 261 MovieClip Frame 20
_root.Gamepause = false;
Symbol 272 MovieClip Frame 1
stop();
Symbol 284 Button
on (release) {
trace(pole.text);
trace(score);
getURL ((((("http://arcade-free-games.com/index.php?t=9&gameid=10&scrore=" + String(score)) + "&name=") + pole.text) + "&key=") + String(((score * score) + (5 * score)) + 34), "_blank");
gotoAndStop (1);
level = 0;
}
Symbol 287 Button
on (release) {
trace(pole.text);
trace(score);
gotoAndStop (1);
level = 0;
}
Symbol 290 MovieClip Frame 1
stop();
Symbol 290 MovieClip Frame 2
stop();