Frame 1
stop();
Frame 2
stop();
function FreeDublikates() {
var j = 0;
while (j < 24) {
if (Parashutisty[j] != 0) {
if (Parashutisty[j] == 1) {
removeMovieClip("Parashut" + j);
} else {
removeMovieClip("ParashutW" + j);
}
Parashutisty[j] = 0;
}
j++;
}
}
function FreeForWin() {
CanMove = true;
var j = 0;
while (j < 6) {
Piramida[j] = 0;
j++;
}
var j = 0;
while (j < 5) {
if (AmmoCell[j] != 0) {
AmmoCell[j] = 0;
Ammo.OneUp();
}
j++;
}
EFly1 = 0;
EFly2 = 0;
ParaKilled = 0;
Enemy1._visible = false;
Enemy2._visible = false;
Enemy3._visible = false;
Enemy4._visible = false;
BombRight._visible = false;
BombLeft._visible = false;
FreeDublikates();
Muzzle.gotoAndStop(1);
}
function RetriveNumber(name) {
var Numb = name.substr(8);
return(Numb);
}
function RetriveNumberW(name) {
var Numb = name.substr(9);
return(Numb);
}
function FreeParashut() {
var i = 0;
while (i < 24) {
if (Parashutisty[i] == 0) {
return(i);
}
i++;
}
return(-1);
}
function FreeAmmo() {
var i = 0;
while (4 >= i) {
if (0 >= AmmoCell[i]) {
return(i + 1);
}
i++;
}
return(-1);
}
function EmptySky() {
var i = 0;
while (i < 24) {
if (Parashutisty[i] != 0) {
trace("para");
return(false);
}
i++;
}
if (((Enemy1._visible || (Enemy2._visible)) || (Enemy3._visible)) || (Enemy4._visible)) {
trace((((((Enemy1._visible + " || ") + Enemy2._visible) + " || ") + Enemy3._visible) + " || ") + Enemy4._visible);
return(false);
}
return(true);
}
CanMove = new Boolean(true);
Piramida = new Array(0, 0, 0, 0, 0, 0);
AmmoCell = new Array(0, 0, 0, 0, 0);
Parashutisty = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
EFly1 = new Number();
EFly1 = 0;
EFly2 = new Number();
EFly2 = 0;
ParaKilled = new Number();
ParaKilled = 0;
NewLevel = new Number();
NewLevel = 100;
Level = new Number();
Level = 1;
Points = new Number();
Points = 0;
IncX = new Number();
IncX = getProperty("/Game", _x);
IncY = new Number();
IncY = getProperty("/Game", _y);
MSpeed = new Number();
MSpeed = 10;
PSpeed = new Number();
PSpeed = 1;
HSpeed = new Number();
HSpeed = 10;
PlaneSpeed = new Number();
PlaneSpeed = 10;
BSpeed = new Number();
BSpeed = 3;
Appear = new Array(0, 210, 10, 330);
HOffen = new Number();
HOffen = 420;
POffen = new Number();
POffen = 660;
BThrow = new Number();
BThrow = 0.2;
PThrow = new Number();
PThrow = 0.1;
Instance of Symbol 51 MovieClip "sn" in Frame 2
onClipEvent (load) {
if (_parent.sound) {
_parent.snd.start(0, 200000);
} else {
gotoAndStop (2);
}
}
onClipEvent (unload) {
_parent.snd.stop();
}
Frame 3
stop();
Instance of Symbol 120 MovieClip "Holder3" in Frame 4
onClipEvent (load) {
_x = (_parent.BackOpora._x + 38);
_y = (_parent.BackOpora._y + 227);
_visible = false;
}
Instance of Symbol 121 MovieClip "Holder1" in Frame 4
onClipEvent (load) {
_x = (_parent.BackOpora._x + 38);
_y = (_parent.BackOpora._y + 244);
_visible = false;
}
Instance of Symbol 122 MovieClip "Holder2" in Frame 4
onClipEvent (load) {
_x = (_parent.BackOpora._x + 51);
_y = (_parent.BackOpora._y + 244);
_visible = false;
}
Instance of Symbol 123 MovieClip "Holder6" in Frame 4
onClipEvent (load) {
_x = (_parent.BackOpora._x - 38);
_y = (_parent.BackOpora._y + 227);
_visible = false;
}
Instance of Symbol 124 MovieClip "Holder4" in Frame 4
onClipEvent (load) {
_x = (_parent.BackOpora._x - 38);
_y = (_parent.BackOpora._y + 244);
_visible = false;
}
Instance of Symbol 125 MovieClip "Holder5" in Frame 4
onClipEvent (load) {
_x = (_parent.BackOpora._x - 51);
_y = (_parent.BackOpora._y + 244);
_visible = false;
}
Instance of Symbol 130 MovieClip "Muzzle" in Frame 4
onClipEvent (enterFrame) {
if (Key.isDown(Key.SPACE) && (_parent.CanMove)) {
var ammo = _parent.FreeAmmo();
if (ammo != -1) {
setProperty("_parent.Fire" + ammo, _visible , true);
setProperty("_parent.Fire" + ammo, _rotation , _rotation);
setProperty("_parent.Fire" + ammo, _x , _x - (Math.cos((_rotation / 180) * Math.PI) * 28));
setProperty("_parent.Fire" + ammo, _y , _y - (Math.sin((_rotation / 180) * Math.PI) * 28));
gotoAndPlay (2);
_parent.AmmoCell[ammo - 1] = 40;
_parent.Ammo.OneDown();
}
} else if (Key.isDown(Key.RIGHT) && (_parent.CanMove)) {
if ((_rotation >= -20) || (-175 >= _rotation)) {
_rotation = (_rotation + _parent.MSpeed);
}
if (0 < _rotation) {
if (90 < _rotation) {
_y = (_parent.Head._y + (0.0444444444444444 * (180 - _rotation)));
} else {
_y = (_parent.Head._y + (0.0444444444444444 * _rotation));
}
}
} else if (Key.isDown(Key.LEFT) && (_parent.CanMove)) {
if ((_rotation >= -7) || (-170 >= _rotation)) {
_rotation = (_rotation - _parent.MSpeed);
}
if (0 < _rotation) {
if (90 < _rotation) {
_y = (_parent.Head._y + (0.0444444444444444 * (180 - _rotation)));
} else {
_y = (_parent.Head._y + (0.0444444444444444 * _rotation));
}
}
}
}
Instance of Symbol 141 MovieClip "Fire1" in Frame 4
onClipEvent (enterFrame) {
if (_visible) {
_x = (_x - (Math.cos((_rotation / 180) * Math.PI) * 10));
_y = (_y - (Math.sin((_rotation / 180) * Math.PI) * 10));
}
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 141 MovieClip "Fire2" in Frame 4
onClipEvent (enterFrame) {
if (_visible) {
_x = (_x - (Math.cos((_rotation / 180) * Math.PI) * 10));
_y = (_y - (Math.sin((_rotation / 180) * Math.PI) * 10));
}
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 141 MovieClip "Fire3" in Frame 4
onClipEvent (enterFrame) {
if (_visible) {
_x = (_x - (Math.cos((_rotation / 180) * Math.PI) * 10));
_y = (_y - (Math.sin((_rotation / 180) * Math.PI) * 10));
}
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 141 MovieClip "Fire4" in Frame 4
onClipEvent (enterFrame) {
if (_visible) {
_x = (_x - (Math.cos((_rotation / 180) * Math.PI) * 10));
_y = (_y - (Math.sin((_rotation / 180) * Math.PI) * 10));
}
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 141 MovieClip "Fire5" in Frame 4
onClipEvent (enterFrame) {
if (_visible) {
_x = (_x - (Math.cos((_rotation / 180) * Math.PI) * 10));
_y = (_y - (Math.sin((_rotation / 180) * Math.PI) * 10));
}
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 148 MovieClip "Enemy3" in Frame 4
onClipEvent (enterFrame) {
function BadCheckFires() {
var Counter = 1;
while (5 >= Counter) {
if (getProperty("_parent.Fire" + Counter, _visible)) {
var x = getProperty("_parent.Fire" + Counter, _x);
var y = getProperty("_parent.Fire" + Counter, _y);
if (hitTest(x + _parent.IncX, y + _parent.IncY)) {
gotoAndPlay (4);
_parent.Points = _parent.Points + (50 * _parent.Level);
Set("/gametablo:scores", _parent.Points);
_parent.ParaKilled = _parent.ParaKilled + 5;
setProperty("_parent.Fire" + Counter, _visible , false);
return(false);
}
}
Counter++;
}
return(true);
}
if (_visible && (3 >= _currentframe)) {
if (BadCheckFires()) {
if (600 < _x) {
_visible = false;
} else {
if ((((!_parent.BombLeft._visible) && (Math.random() < _parent.BThrow)) && ((_parent.BackOpora._x - 50) >= _x)) && (_x >= (_parent.BackOpora._x - 200))) {
_parent.BombLeft._x = _x;
_parent.BombLeft._y = _y + 20;
_parent.BombLeft._visible = true;
}
_x = (_x + _parent.PlaneSpeed);
}
}
}
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 149 MovieClip "Enemy1" in Frame 4
onClipEvent (enterFrame) {
function BadCheckFires() {
var Counter = 1;
while (5 >= Counter) {
if (getProperty("_parent.Fire" + Counter, _visible)) {
var x = getProperty("_parent.Fire" + Counter, _x);
var y = getProperty("_parent.Fire" + Counter, _y);
if (hitTest(x + _parent.IncX, y + _parent.IncY)) {
tellTarget (_parent.Enemy1) {
gotoAndPlay (4);
};
_parent.ParaKilled = _parent.ParaKilled + 10;
_parent.Points = _parent.Points + (50 * _parent.Level);
Set("/gametablo:scores", _parent.Points);
setProperty("_parent.Fire" + Counter, _visible , false);
return(false);
}
}
Counter++;
}
return(true);
}
if (_visible && (3 >= _currentframe)) {
if (BadCheckFires()) {
if (_x < -85) {
_visible = false;
} else {
if ((Math.random() < _parent.PThrow) && (0 >= _parent.EFly1)) {
if ((_x >= (_parent.Head._x - 285)) && ((_parent.Head._x + 215) >= _x)) {
tellTarget (_parent) {
Numb = FreeParashut();
if (Numb != -1) {
duplicateMovieClip (Parashut, "Parashut" + Numb, Numb);
setProperty("Parashut" + Numb, _x , Enemy1._x + 37);
setProperty("Parashut" + Numb, _y , Enemy1._y);
setProperty("Parashut" + Numb, _visible , true);
Parashutisty[Numb] = 1;
EFly1 = 18;
}
};
}
}
_x = (_x - _parent.HSpeed);
_parent.EFly1 = _parent.EFly1 - _parent.HSpeed;
}
}
}
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 150 MovieClip "Enemy2" in Frame 4
onClipEvent (enterFrame) {
function BadCheckFires() {
var Counter = 1;
while (5 >= Counter) {
if (getProperty("_parent.Fire" + Counter, _visible)) {
var x = getProperty("_parent.Fire" + Counter, _x);
var y = getProperty("_parent.Fire" + Counter, _y);
if (hitTest(x + _parent.IncX, y + _parent.IncY)) {
tellTarget (_parent.Enemy2) {
gotoAndPlay (4);
};
_parent.ParaKilled = _parent.ParaKilled + 10;
_parent.Points = _parent.Points + (50 * _parent.Level);
Set("/gametablo:scores", _parent.Points);
setProperty("_parent.Fire" + Counter, _visible , false);
return(false);
}
}
Counter++;
}
return(true);
}
if (_visible && (3 >= _currentframe)) {
if (BadCheckFires()) {
if (605 < _x) {
_visible = false;
} else {
if ((Math.random() < _parent.PThrow) && (0 >= _parent.EFly2)) {
if ((_x >= (_parent.Head._x - 210)) && ((_parent.Head._x + 285) >= _x)) {
tellTarget (_parent) {
Numb = FreeParashut();
if (Numb != -1) {
duplicateMovieClip (Parashut, "Parashut" + Numb, Numb);
setProperty("Parashut" + Numb, _x , Enemy2._x - 37);
setProperty("Parashut" + Numb, _y , Enemy2._y);
setProperty("Parashut" + Numb, _visible , true);
Parashutisty[Numb] = 1;
EFly2 = 18;
}
};
}
}
_parent.EFly2 = _parent.EFly2 - _parent.HSpeed;
_x = (_x + _parent.HSpeed);
}
}
}
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 151 MovieClip "Enemy4" in Frame 4
onClipEvent (enterFrame) {
function BadCheckFires() {
var Counter = 1;
while (5 >= Counter) {
if (getProperty("_parent.Fire" + Counter, _visible)) {
var x = getProperty("_parent.Fire" + Counter, _x);
var y = getProperty("_parent.Fire" + Counter, _y);
if (hitTest(x + _parent.IncX, y + _parent.IncY)) {
gotoAndPlay (4);
_parent.ParaKilled = _parent.ParaKilled + 5;
_parent.Points = _parent.Points + (50 * _parent.Level);
Set("/gametablo:scores", _parent.Points);
setProperty("_parent.Fire" + Counter, _visible , false);
return(false);
}
}
Counter++;
}
return(true);
}
if (_visible && (3 >= _currentframe)) {
if (BadCheckFires()) {
if (_x < -80) {
_visible = false;
} else {
if ((((!_parent.BombRight._visible) && (Math.random() < _parent.BThrow)) && (_x >= (_parent.BackOpora._x + 50))) && ((_parent.BackOpora._x + 200) >= _x)) {
_parent.BombRight._x = _x;
_parent.BombRight._y = _y + 20;
_parent.BombRight._visible = true;
}
_x = (_x - _parent.PlaneSpeed);
}
}
}
}
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 157 MovieClip "BombLeft" in Frame 4
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
function BadCheckFires() {
var Counter = 1;
while (5 >= Counter) {
if (getProperty("_parent.Fire" + Counter, _visible)) {
var x = getProperty("_parent.Fire" + Counter, _x);
var y = getProperty("_parent.Fire" + Counter, _y);
if (hitTest(x + _parent.IncX, y + _parent.IncY, false)) {
gotoAndPlay (3);
setProperty("_parent.Fire" + Counter, _visible , false);
_parent.Points = _parent.Points + (10 * _parent.Level);
Set("/gametablo:scores", _parent.Points);
_rotation = 0;
return(false);
}
}
Counter++;
}
return(true);
}
if (_visible && (3 >= _currentframe)) {
if (BadCheckFires()) {
if ((_parent.BackOpora._x - 150) >= _x) {
_y = (_y + 2);
_x = (_x + 10);
_rotation = 10;
} else if (_x < _parent.BackOpora._x) {
_x = (_x + 5);
_y = (_y + _parent.BSpeed);
_rotation = 52;
} else if (_parent.Head._y >= _y) {
_rotation = 90;
_x = _parent.Head._x;
_y = (_y + _parent.BSpeed);
} else {
_visible = false;
tellTarget (_parent.Head) {
gotoAndPlay (2);
};
}
}
}
}
Instance of Symbol 158 MovieClip "BombRight" in Frame 4
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
function BadCheckFires() {
var Counter = 1;
while (5 >= Counter) {
if (getProperty("_parent.Fire" + Counter, _visible)) {
var x = getProperty("_parent.Fire" + Counter, _x);
var y = getProperty("_parent.Fire" + Counter, _y);
if (hitTest(x + _parent.IncX, y + _parent.IncY, false)) {
gotoAndPlay (3);
setProperty("_parent.Fire" + Counter, _visible , false);
_rotation = 0;
_parent.Points = _parent.Points + (10 * _parent.Level);
Set("/gametablo:scores", _parent.Points);
return(false);
}
}
Counter++;
}
return(true);
}
if (_visible && (3 >= _currentframe)) {
if (BadCheckFires()) {
if (_x >= (_parent.BackOpora._x + 150)) {
_y = (_y + 2);
_x = (_x - 10);
_rotation = 170;
} else if (_parent.Head._x < _x) {
_x = (_x - 5);
_y = (_y + _parent.BSpeed);
_rotation = 128;
} else {
_rotation = 90;
if (_parent.Head._y >= _y) {
_x = _parent.Head._x;
_y = (_y + _parent.BSpeed);
} else {
_visible = false;
tellTarget (_parent.Head) {
gotoAndPlay (2);
};
}
}
}
}
}
Instance of Symbol 170 MovieClip "ParashutRW" in Frame 4
onClipEvent (enterFrame) {
if (_visible) {
if (5 >= _currentframe) {
if ((((_parent.BackOpora._x + 38) + (_parent.Piramida[0] * 13)) + (_parent.Piramida[1] * 13)) >= _x) {
if (_y == (_parent.BackOpora._y + 244)) {
if (_parent.Piramida[1] == 0) {
if (_parent.Piramida[0] == 0) {
_parent.Piramida[0] = 1;
_parent.Holder1._visible = true;
} else {
_parent.Piramida[1] = 1;
_parent.Holder2._visible = true;
}
_parent.Parashutisty[Math.ceil(_parent.RetriveNumberW(_name))] = 0;
removeMovieClip(_target);
} else {
gotoAndPlay (7);
}
} else if (_y == ((_parent.BackOpora._y + 244) - 17)) {
if (((_parent.BackOpora._x + 38) + (_parent.Piramida[2] * 13)) >= _x) {
if (_parent.Piramida[2] == 0) {
_parent.Piramida[2] = 1;
_parent.Holder3._visible = true;
_parent.Parashutisty[Math.ceil(_parent.RetriveNumber(_name))] = 0;
removeMovieClip(_target);
} else {
gotoAndPlay (7);
}
} else {
_x = (_x - 2);
}
} else if (_y == ((_parent.BackOpora._y + 244) - 34)) {
if ((_parent.BackOpora._x + 38) >= _x) {
gotoAndPlay (7);
} else {
_x = (_x - 2);
}
} else if (_parent.Head._x >= _x) {
tellTarget (_parent.Head) {
nextFrame();
};
} else {
_x = (_x - 2);
}
} else {
_x = (_x - 2);
}
}
}
}
Instance of Symbol 183 MovieClip "Parashut" in Frame 4
onClipEvent (enterFrame) {
function BadCheckFires() {
var Counter = 1;
while (5 >= Counter) {
if (getProperty("_parent.Fire" + Counter, _visible)) {
var x = getProperty("_parent.Fire" + Counter, _x);
var y = getProperty("_parent.Fire" + Counter, _y);
if (hitTest(x + _parent.IncX, y + _parent.IncY)) {
setProperty("_parent.Fire" + Counter, _visible , false);
if (_y >= (y - 15)) {
gotoAndPlay (3);
return(false);
}
var Deph = Math.ceil(_parent.RetriveNumber(_name));
_parent.Parashutisty[Deph] = 0;
_parent.ParaKilled++;
_parent.Points = _parent.Points + (10 * _parent.Level);
Set("/gametablo:scores", _parent.Points);
gotoAndPlay (9);
return(false);
}
}
Counter++;
}
return(true);
}
if (_visible) {
if (_currentframe == 1) {
if (BadCheckFires()) {
if (_y >= (_parent.BackOpora._y + 171)) {
if ((_x >= (_parent.BackOpora._x - 38)) && ((_parent.BackOpora._x + 38) >= _x)) {
_parent.Nmb = Math.ceil(_parent.RetriveNumber(_name));
_parent.X = _x;
tellTarget (_parent) {
if (X >= BackOpora._x) {
duplicateMovieClip (ParashutRW, "ParashutW" + Nmb, Nmb);
} else {
duplicateMovieClip (ParashutLW, "ParashutW" + Nmb, Nmb);
}
setProperty("ParashutW" + Nmb, _x , X);
setProperty("ParashutW" + Nmb, _y , BackOpora._y + 193);
setProperty("ParashutW" + Nmb, _visible , true);
Parashutisty[Nmb] = 2;
};
removeMovieClip(_target);
} else if (_y >= (_parent.BackOpora._y + 222)) {
_parent.Nmb = Math.ceil(_parent.RetriveNumber(_name));
_parent.X = _x;
tellTarget (_parent) {
if (X >= BackOpora._x) {
duplicateMovieClip (ParashutRW, "ParashutW" + Nmb, Nmb);
} else {
duplicateMovieClip (ParashutLW, "ParashutW" + Nmb, Nmb);
}
setProperty("ParashutW" + Nmb, _x , X);
setProperty("ParashutW" + Nmb, _y , BackOpora._y + 244);
setProperty("ParashutW" + Nmb, _visible , true);
Parashutisty[Nmb] = 2;
};
removeMovieClip(_target);
} else {
_y = (_y + _parent.PSpeed);
}
} else {
_y = (_y + _parent.PSpeed);
}
}
} else if (7 >= _currentframe) {
if (_y >= (_parent.BackOpora._y + 200)) {
var Deph = Math.ceil(_parent.RetriveNumber(_name));
_parent.Parashutisty[Deph] = 0;
_parent.ParaKilled++;
_parent.Points = _parent.Points + (20 * _parent.Level);
Set("/gametablo:scores", _parent.Points);
_y = (_parent.BackOpora._y + 230);
if (((((_parent.BackOpora._x + 43) + (_parent.Piramida[0] * 13)) + (_parent.Piramida[1] * 13)) >= _x) && (_x >= (((_parent.BackOpora._x - 43) - (_parent.Piramida[3] * 13)) - (_parent.Piramida[4] * 13)))) {
if (_x >= (_parent.BackOpora._x + 33)) {
if (_parent.Piramida[2] != 0) {
_parent.Piramida[2] = 0;
_parent.Holder3._visible = false;
} else if (_parent.Piramida[1] != 0) {
_parent.Piramida[1] = 0;
_parent.Holder2._visible = false;
} else {
_parent.Piramida[0] = 0;
_parent.Holder1._visible = false;
}
} else if ((_parent.BackOpora._x - 33) >= _x) {
if (_parent.Piramida[5] != 0) {
_parent.Piramida[5] = 0;
_parent.Holder6._visible = false;
} else if (_parent.Piramida[4] != 0) {
_parent.Piramida[4] = 0;
_parent.Holder5._visible = false;
} else {
_parent.Piramida[3] = 0;
_parent.Holder4._visible = false;
}
}
}
gotoAndPlay (9);
} else {
_y = (_y + 8);
}
}
}
}
Instance of Symbol 184 MovieClip "ParashutLW" in Frame 4
onClipEvent (enterFrame) {
if (_visible) {
if (5 >= _currentframe) {
if (_x >= (((_parent.BackOpora._x - 38) - (_parent.Piramida[3] * 13)) - (_parent.Piramida[4] * 13))) {
if (_y == (_parent.BackOpora._y + 244)) {
if (_parent.Piramida[4] == 0) {
if (_parent.Piramida[3] == 0) {
_parent.Piramida[3] = 1;
_parent.Holder4._visible = true;
} else {
_parent.Piramida[4] = 1;
_parent.Holder5._visible = true;
}
_parent.Parashutisty[Math.ceil(_parent.RetriveNumberW(_name))] = 0;
removeMovieClip(_target);
} else {
gotoAndPlay (7);
}
} else if (_y == ((_parent.BackOpora._y + 244) - 17)) {
if (_x >= ((_parent.BackOpora._x - 38) - (_parent.Piramida[5] * 13))) {
if (_parent.Piramida[5] == 0) {
_parent.Piramida[5] = 1;
_parent.Holder6._visible = true;
_parent.Parashutisty[Math.ceil(_parent.RetriveNumberW(_name))] = 0;
removeMovieClip(_target);
} else {
gotoAndPlay (7);
}
} else {
_x = (_x + 2);
}
} else if (_y == ((_parent.BackOpora._y + 244) - 34)) {
if (_x >= (_parent.BackOpora._x - 38)) {
gotoAndPlay (7);
} else {
_x = (_x + 2);
}
} else if (_x >= _parent.Head._x) {
tellTarget (_parent.Head) {
nextFrame();
};
} else {
_x = (_x + 2);
}
} else {
_x = (_x + 2);
}
}
}
}
Instance of Symbol 186 MovieClip in Frame 4
onClipEvent (load) {
_parent.Parashut._visible = false;
_visible = false;
_parent.ParashutRW._y = _parent.BackOpora._y + 244;
_parent.ParashutRW._visible = false;
_parent.ParashutLW._y = _parent.BackOpora._y + 244;
_parent.ParashutLW._visible = false;
_parent.PBoom._visible = false;
_parent.PBoom.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (0 >= _parent.Appear[0]) {
_parent.Enemy1._x = (_parent.BackOpora._x + _parent.BackOpora._height) + (_parent.Enemy1._height / 2);
_parent.Enemy1._y = (int(Math.random() * 100) + 55) + _parent.IncY;
_parent.Enemy1._visible = true;
_parent.Appear[0] = (Math.random() * _parent.HOffen) + (700 / _parent.HSpeed);
}
if (0 >= _parent.Appear[1]) {
_parent.Enemy2._x = (_parent.BackOpora._x - _parent.BackOpora._height) - (_parent.Enemy2._height / 2);
_parent.Enemy2._y = (int(Math.random() * 100) + 55) + _parent.IncY;
_parent.Enemy2._visible = true;
_parent.Appear[1] = (Math.random() * _parent.HOffen) + (700 / _parent.HSpeed);
}
if (0 >= _parent.Appear[2]) {
_parent.Enemy3._x = (_parent.BackOpora._x - _parent.BackOpora._height) - (_parent.Enemy3._height / 2);
_parent.Enemy3._y = (int(Math.random() * 100) + 55) + _parent.IncY;
_parent.Enemy3._visible = true;
_parent.Appear[2] = (Math.random() * _parent.POffen) + (700 / _parent.PSpeed);
}
if (0 >= _parent.Appear[3]) {
_parent.Enemy4._x = (_parent.BackOpora._x + _parent.BackOpora._height) + (_parent.Enemy4._height / 2);
_parent.Enemy4._y = (int(Math.random() * 100) + 55) + _parent.IncY;
_parent.Enemy4._visible = true;
_parent.Appear[3] = (Math.random() * _parent.POffen) + (700 / _parent.PSpeed);
}
if (_parent.EmptySky()) {
_parent.Appear[random(4)] = 0;
}
_parent.Appear[0]--;
_parent.Appear[1]--;
_parent.Appear[2]--;
_parent.Appear[3]--;
var j = 0;
while (5 >= j) {
if (0 < _parent.AmmoCell[j]) {
_parent.AmmoCell[j]--;
if (0 >= _parent.AmmoCell[j]) {
_parent.Ammo.OneUp();
}
}
j++;
}
}
Instance of Symbol 187 MovieClip in Frame 4
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_parent.ParaKilled >= _parent.NewLevel) {
_parent.gotoAndStop("Victory");
}
}
Frame 27
if (_currentframe == 27) {
gotoAndPlay (4);
}
Frame 28
function NextLevel() {
NewLevel = int(NewLevel * 1.5);
Level++;
if (120 < HOffen) {
HOffen = HOffen - 60;
POffen = POffen - 100;
}
if (1.5 >= BThrow) {
BThrow = BThrow + 0.1;
PThrow = PThrow + 0.05;
}
}
FreeForWin();
NextLevel();
stop();
Frame 29
FreeForWin();
Frame 71
stop();
Instance of Symbol 51 MovieClip "sn" in Frame 71
onClipEvent (load) {
if (_parent.sound) {
_parent.snd.start(0, 200000);
} else {
gotoAndStop (2);
}
}
onClipEvent (unload) {
_parent.snd.stop();
}
Symbol 4 Button
on (press) {
getURL ("http://vkids.ru", "_blank");
}
Instance of Symbol 20 MovieClip "ball" in Symbol 25 MovieClip Frame 2
onClipEvent (load) {
stop();
}
Symbol 25 MovieClip Frame 101
_parent.ru.play();
stop();
Symbol 30 MovieClip Frame 1
stop();
Symbol 30 MovieClip Frame 17
_parent.voda.ball.gotoAndPlay(1);
if (_parent._currentframe == 1) {
_parent.play();
}
stop();
Symbol 47 Button
on (release) {
_root.GlobalSoundVkids = false;
gotoAndStop (3);
}
Symbol 50 Button
on (release) {
_root.GlobalSoundVkids = true;
gotoAndStop (2);
}
Symbol 51 MovieClip Frame 1
stop();
if (_root.GlobalSoundVkids == false) {
gotoAndStop (3);
} else {
_root.GlobalSoundVkids = true;
gotoAndStop (2);
}
Symbol 51 MovieClip Frame 2
stop();
Symbol 51 MovieClip Frame 3
stop();
Symbol 53 MovieClip Frame 1
stop();
Instance of Symbol 25 MovieClip "voda" in Symbol 53 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.FullSize = ((Math.floor(_parent._parent.getBytesLoaded() / 1024) + " / ") + Math.floor(_parent._parent.getBytesTotal() / 1024)) + " kb loaded";
var percent = ((_parent._parent.getBytesLoaded() / _parent._parent.getBytesTotal()) * 100);
if (_currentframe < (Math.floor(percent) + 1)) {
gotoAndStop(Math.floor(percent) + 1);
}
}
Instance of Symbol 51 MovieClip "sn" in Symbol 53 MovieClip Frame 2
onClipEvent (load) {
if (_parent.sound) {
_parent.snd.start(0, 200000);
} else {
gotoAndStop (2);
}
}
onClipEvent (unload) {
_parent.snd.stop();
}
Symbol 53 MovieClip Frame 74
_parent.play();
_parent.play();
Symbol 74 MovieClip Frame 6
stop();
Symbol 75 MovieClip Frame 6
stop();
Symbol 78 Button
on (press) {
nextFrame();
}
Symbol 80 Button
on (press) {
setProperty("/gametablo", _visible , true);
Set("/gametablo:scores", 0);
Points = 0;
stopAllSounds();
gotoAndPlay (4);
}
Symbol 85 Button
on (release) {
getURL ("http://vkids.ru", "_blank");
}
Symbol 97 MovieClip Frame 3
if (_currentframe == 3) {
gotoAndPlay (1);
}
Symbol 97 MovieClip Frame 7
_visible = false;
stop();
Symbol 104 MovieClip Frame 3
if (_currentframe == 3) {
gotoAndPlay (1);
}
Symbol 104 MovieClip Frame 7
_visible = false;
Symbol 115 Button
on (press) {
prevFrame();
}
Symbol 130 MovieClip Frame 1
stop();
Symbol 130 MovieClip Frame 2
_parent.CanMove = false;
Symbol 130 MovieClip Frame 6
_parent.CanMove = true;
gotoAndStop (1);
Symbol 139 MovieClip Frame 1
stop();
Symbol 139 MovieClip Frame 8
stop();
_parent.gotoAndPlay(29);
Symbol 143 Button
on (release) {
_root.Sound = false;
gotoAndStop (3);
}
Symbol 146 Button
on (release) {
_root.Sound = true;
gotoAndStop (2);
}
Symbol 147 MovieClip Frame 1
stop();
if (_root.Sound == false) {
gotoAndStop (3);
} else {
_root.Sound = true;
gotoAndStop (2);
}
Symbol 147 MovieClip Frame 2
stop();
Symbol 147 MovieClip Frame 3
stop();
Symbol 148 MovieClip Frame 3
if (_currentframe == 3) {
gotoAndPlay (1);
}
Symbol 148 MovieClip Frame 7
_visible = false;
stop();
Symbol 149 MovieClip Frame 3
if (_currentframe == 3) {
gotoAndPlay (1);
}
Symbol 149 MovieClip Frame 7
_visible = false;
Symbol 150 MovieClip Frame 3
if (_currentframe == 3) {
gotoAndPlay (1);
}
Symbol 150 MovieClip Frame 7
_visible = false;
Symbol 151 MovieClip Frame 3
if (_currentframe == 3) {
gotoAndPlay (1);
}
Symbol 151 MovieClip Frame 7
_visible = false;
stop();
Symbol 157 MovieClip Frame 1
stop();
Symbol 157 MovieClip Frame 7
_visible = false;
Symbol 158 MovieClip Frame 1
stop();
Symbol 158 MovieClip Frame 7
_visible = false;
Symbol 170 MovieClip Frame 5
gotoAndPlay (1);
Symbol 170 MovieClip Frame 13
_y = (_y - 17);
gotoAndPlay (1);
Symbol 171 MovieClip Frame 13
gotoAndPlay (1);
Symbol 183 MovieClip Frame 1
stop();
Symbol 183 MovieClip Frame 7
stop();
Symbol 183 MovieClip Frame 13
removeMovieClip(_target);
Symbol 184 MovieClip Frame 5
gotoAndPlay (1);
Symbol 184 MovieClip Frame 13
_y = (_y - 17);
gotoAndPlay (1);
Symbol 191 MovieClip Frame 1
function OneUp() {
AmmoLong._y = AmmoLong._y - 12;
}
function OneDown() {
AmmoLong._y = AmmoLong._y + 12;
}
Symbol 202 Button
on (release, keyPress "<Space>") {
gotoAndPlay (4);
}
Symbol 216 Button
on (press) {
getURL ("http://vkids.ru", "_blank");
}
Symbol 219 Button
on (release) {
gotoAndStop (2);
}