Frame 1
fscommand ("allowscale", false);
fscommand ("wmode", "Window");
fscommand ("showmenu", false);
stop();
var tot_bytes;
var uze_bytes;
var percents = 0;
var bool = false;
play_button._visible = false;
tot_bytes = _root.getBytesTotal();
_root.onEnterFrame = function () {
uze_bytes = _root.getBytesLoaded();
percents = (uze_bytes / tot_bytes) * 100;
if (uze_bytes >= tot_bytes) {
_root.onEnterFrame = function () {
};
gotoAndPlay (2);
}
};
Instance of Symbol 10 MovieClip "strelka1" in Frame 1
onClipEvent (enterFrame) {
_root.strelka1._rotation = _root.percents + ((Math.random() - 0.5) * 7);
}
Frame 13
stop();
Frame 15
function main_voron() {
Mouse.hide();
time_bomb--;
counter--;
time_to_kill--;
time_to_bonus--;
speed_bullets = 2 * t_speed;
if (counter == 0) {
counter = t_level + Math.round(Math.random() * 10);
targets[top] = _root.stage.attachMovie("vorona", "vorona" + top, top + 10);
targets[top]._x = (Math.random() * 270) + 20;
targets[top]._y = 40 + (Math.random() * 5);
top++;
}
if (time_bomb == 0) {
_root.bomb._x = 50 + (Math.random() * 200);
_root.bomb._y = 50 + (Math.random() * 200);
_root.bomb._visible = true;
_root.bomb.play();
time_bomb = t_level * 20;
}
var _local3 = top - 100;
while (_local3 <= top) {
targets[_local3]._y = targets[_local3]._y + (t_speed + Math.random());
_local3++;
}
if (_root.time_to_kill == 0) {
_root.time_to_kill = (_root.t_level * 2) + Math.round(Math.random() * 2);
if (_root.targets[_root.top - 1]._visible) {
_root.bullets[_root.top_bullets] = _root.bullets_stage.attachMovie("bullet", "bullet" + _root.top_bullets, _root.top_bullets + 10);
_root.bullets[_root.top_bullets]._x = _root.targets[_root.top - 1]._x;
_root.bullets[_root.top_bullets]._y = _root.targets[_root.top - 1]._y + 16;
_root.top_bullets++;
}
}
_local3 = top_bullets - 20;
while (_local3 <= top_bullets) {
bullets[_local3]._y = bullets[_local3]._y + (speed_bullets + Math.random());
_local3++;
}
if (_root.time_to_bonus == 0) {
_root.time_to_bonus = (_root.t_level + 2) * 24;
_root.bonus._x = (Math.random() * 250) + 25;
_root.bonus._y = 40;
_root.bonus._visible = true;
}
if (_root.bonus._visible) {
_root.bonus._y = _root.bonus._y + _root.speed_bullets;
}
if (!_root.dead) {
if ((Key.isDown(38) && (!_root.invisible)) && (_root.bonus_num > 0)) {
_root.bonus_num--;
_root.bonus_tablo.gotoAndStop(_root.bonus_num + 1);
_root.invisible = true;
_root.babuwka._alpha = 50;
}
if (_root.invisible) {
_root.invisible_counter--;
if (_root.invisible_counter == 0) {
_root.invisible = false;
_root.invisible_counter = 72;
_root.babuwka._alpha = 100;
}
}
_local3 = _root.top_bullets - 30;
while (_local3 <= _root.top_bullets) {
if (_root.babuwka.hitTest(_root.bullets[_local3]._x, _root.bullets[_local3]._y, true) && (!_root.invisible)) {
_root.bomb._visible = false;
_root.onEnterFrame = null;
_root.game_over._visible = true;
var _local2 = _root.top_bullets - 30;
while (_local2 <= _root.top_bullets) {
_root.bullets[_local2].unloadMovie();
_local2++;
}
_local3 = _root.top - 50;
while (_local3 <= _root.top) {
_root.targets[_local3].unloadMovie();
_local3++;
}
_root.bomb._visible = false;
_root.bonus._visible = false;
_root.dead = true;
_root.babuwka.gotoAndPlay("explode");
}
_local3++;
}
_root.ammo_reg--;
_root.ammo_list.gotoAndStop(_root.ammo);
if ((_root.ammo_reg <= 0) && (_root.ammo < 10)) {
_root.ammo++;
_root.ammo_reg = _root.t_level;
}
_root.babuwka._rotation = -57.2957795130823 * Math.atan((_root.pritsel._x - _root.babuwka._x) / (_root.pritsel._y - _root.babuwka._y));
if (Key.isDown(37)) {
_root.speed = _root.speed - (_root.uskor / 10);
} else if (Key.isDown(39)) {
_root.speed = _root.speed + (_root.uskor / 10);
} else {
_root.speed = _root.speed / 2;
}
if ((_root.ready_to && (_root.fire)) && (_root.ammo > 0)) {
_root.sound_1.start();
_root.ammo--;
_root.ammo_list.gotoAndStop(_root.ammo);
if (_root.bomb.hitTest(_root._xmouse, _root._ymouse, true) && (_root.bomb._currentframe < 61)) {
_root.bomb.gotoAndPlay("die");
}
_root.targets[top - 100].unloadMovie();
_local3 = _root.top - 100;
while (_local3 <= _root.top) {
if (_root.targets[_local3].hitTest(_root._xmouse, _root._ymouse, true)) {
if (_root.targets[_local3]._currentframe < 17) {
_root.scores++;
if (_root.scores == 5) {
_root.t_speed = 1.5;
_root.t_level = 15;
_root.play_frame = 8;
}
if (_root.scores == 15) {
_root.t_speed = 2;
_root.t_level = 13;
}
if (_root.scores == 25) {
_root.t_speed = 2.3;
_root.t_level = 10;
}
if (_root.scores == 45) {
_root.t_speed = 2.5;
_root.t_level = 9;
}
if (_root.scores == 80) {
_root.t_speed = 3;
_root.t_level = 7;
_root.play_frame = 14;
}
if (_root.scores == 100) {
_root.t_speed = 6;
_root.t_level = 5;
}
if (_root.scores == 150) {
_root.t_speed = 8;
_root.t_level = 3;
}
if (_root.scores == 200) {
_root.t_speed = 10;
_root.t_level = 1;
}
_root.scores_box.text = _root.scores;
_root.targets[_local3].gotoAndPlay("die");
_local3 = _local3 + 100;
}
}
_local3++;
}
_root.ready_to = false;
_root.babuwka.gotoAndPlay(_root.play_frame);
}
if (((_root.babuwka.hitTest(_root.bonus) && (_root.bonus._currentframe == 1)) && (_root.bonus._visible)) && (_root.bonus._y > 200)) {
_root.bonus.gotoAndPlay(2);
if (_root.bonus_num < 3) {
_root.bonus_num++;
_root.bonus_tablo.nextFrame();
}
_root.bonus_text.play();
}
if (_root.speed > _root.max_speed) {
_root.speed = _root.max_speed;
}
if (_root.speed < _root.min_speed) {
_root.speed = _root.min_speed;
}
if ((_root.babuwka._x > 20) && (_root.speed < 0)) {
_root.babuwka._x = _root.babuwka._x + (_root.speed / 2);
}
if ((_root.babuwka._x < 280) && (_root.speed > 0)) {
_root.babuwka._x = _root.babuwka._x + (_root.speed / 2);
}
if ((_root.babuwka._x <= 20) || (_root.babuwka._x >= 280)) {
_root.speed = 0;
}
}
_local3 = _root.top - 50;
while (_local3 <= _root.top) {
if (_root.targets[_local3].hitTest(_root.stena)) {
_root.onEnterFrame = null;
_root.game_over._visible = true;
var _local2 = _root.top_bullets - 30;
while (_local2 <= _root.top_bullets) {
_root.bullets[_local2].unloadMovie();
_local2++;
}
_local3 = _root.top - 50;
while (_local3 <= _root.top) {
_root.targets[_local3].unloadMovie();
_local3++;
}
_root.bomb._visible = false;
_root.bonus._visible = false;
_root.dead = true;
_root.babuwka.gotoAndPlay("explode");
}
_local3++;
}
_local3 = _root.top_bullets - 30;
while (_local3 <= _root.top_bullets) {
if (_root.bullets[_local3].hitTest(_root.stena)) {
_root.bullets[_local3].unloadMovie();
}
_local3++;
}
if (_root.stena.hitTest(_root.bonus)) {
_root.bonus._visible = false;
_root.bonus._x = -100;
}
}
stop();
Mouse.hide();
Mouse.addListener(_root.babuwka);
Mouse.addListener(_root.linker);
var sound_0 = new Sound("c4");
_root.sound_0.setVolume(100);
var sound_1 = new Sound();
sound_1.attachSound("deagle-2");
_root.sound_1.setVolume(10);
var sound_3 = new Sound("deagle-2");
_root.sound_3.setVolume(10);
_root.pritsel.startDrag(true, 0, 0, 300, 290);
_root.test_vorona._visible = false;
_root.bomb._visible = false;
var ammo = 10;
_root.ammo_list.gotoAndStop(_root.ammo);
var dead = false;
var zanovo_active = false;
var time_bomb = 168;
var fire = false;
var play_frame = 2;
var is_paused = false;
var speed = 0;
var uskor = 5;
var max_speed = 12;
var min_speed = (-max_speed);
var ready_to = true;
_root.game_over._visible = false;
_root.scores_box.text = "0";
var targets = new Array();
var t_level = 24;
var t_speed = 1;
var counter = t_level;
var top = 1;
var scores = 0;
var ammo_reg = t_level;
var time_to_kill = (t_level * 2);
var bullets = new Array();
var top_bullets = 1;
var speed_bullets = 3;
_root.bonus._visible = false;
var bonus_num = 0;
var time_to_bonus = 24;
var bonus_make = false;
var invisible = false;
var invisible_counter = 240;
_root.bonus.gotoAndStop(bonus_num + 1);
_root.babuwka.krug._visible = false;
Mouse.addListener(_root.zanovo);
_root.onEnterFrame = main_voron;
Instance of Symbol 92 MovieClip "babuwka" in Frame 15
onClipEvent (mouseDown) {
_root.fire = true;
}
onClipEvent (mouseUp) {
_root.fire = false;
}
Instance of Symbol 94 MovieClip "stena" in Frame 15
onClipEvent (enterFrame) {
}
Instance of ? "zanovo" in Frame 15
onClipEvent (mouseDown) {
if (this.hitTest(_root.pritsel)) {
_root.time_to_bonus = 24 * (t_level + 2);
_root.bonus._visible = false;
_root.bonus._x = -100;
_root.babuwka._alpha = 100;
_root.invisible = false;
_root.invisible_counter = 72;
_root.bonus_num = 0;
_root.bonus_tablo.gotoAndStop(1);
var i = (_root.top_bullets - 30);
while (i <= _root.top_bullets) {
_root.bullets[i].unloadMovie();
i++;
}
var i = (_root.top - 50);
while (i <= _root.top) {
_root.targets[i].unloadMovie();
i++;
}
_root.dead = false;
_root.game_over._visible = false;
_root.top = 1;
_root.t_level = 24;
_root.t_speed = 1;
_root.ammo = 10;
_root.ammo_list.gotoAndStop(_root.ammo);
_root.onEnterFrame = _root.main_voron;
_root.time_bomb = 168;
_root.scores = 0;
_root.scores_box.text = _root.scores;
_root.ready_to = true;
_root.fire = false;
_root.top_bullets = 1;
_root.time_to_kill = _root.t_level * 2;
_root.babuwka.gotoAndStop(2);
_root.play_frame = 2;
_root.bonus._visible = false;
_root.bonus_num = 0;
_root.time_to_bonus = 24;
_root.bonus_make = false;
_root.invisible = false;
_root.invisible_counter = 240;
_root.bonus.gotoAndStop(bonus_num + 1);
_root.babuwka.krug._visible = false;
_root.onEnterFrame = _root.main_voron;
this.gotoAndPlay(2);
}
if ((_root.pritsel.hitTest(_root.bonus_tablo) && (!_root.invisible)) && (_root.bonus_num > 0)) {
_root.bonus_num--;
_root.bonus_tablo.gotoAndStop(_root.bonus_num + 1);
_root.invisible = true;
_root.babuwka._alpha = 50;
}
}
Instance of Symbol 119 MovieClip "linker" in Frame 15
onClipEvent (mouseDown) {
if (this.hitTest(_root.pritsel)) {
_root.linker.gotoAndPlay(2);
getURL ("http://www.gamefalls.com", "_blank");
}
}
Instance of Symbol 130 MovieClip "pritsel" in Frame 15
/* no clip actions */
Symbol 25 Button
on (release) {
gotoAndStop (15);
}
Symbol 28 MovieClip Frame 1
stop();
Symbol 41 MovieClip Frame 56
_root.bomb._visible = false;
_root.bomb._x = -100;
gotoAndStop (1);
Symbol 41 MovieClip Frame 57
var i = (_root.top - 100);
while (i <= _root.top) {
if (_root.targets[i]._currentframe < 17) {
_root.scores++;
_root.scores_box.text = _root.scores;
_root.targets[i].gotoAndPlay("die");
if (_root.scores == 5) {
_root.t_speed = 1.5;
_root.t_level = 15;
_root.play_frame = 8;
}
if (_root.scores == 15) {
_root.t_speed = 2;
_root.t_level = 13;
}
if (_root.scores == 25) {
_root.t_speed = 2.3;
_root.t_level = 10;
}
if (_root.scores == 45) {
_root.t_speed = 2.5;
_root.t_level = 9;
}
if (_root.scores == 80) {
_root.t_speed = 3;
_root.t_level = 7;
_root.play_frame = 14;
}
if (_root.scores == 100) {
_root.t_speed = 4;
_root.t_level = 5;
}
if (_root.scores == 150) {
_root.t_speed = 6;
_root.t_level = 4;
}
if (_root.scores == 200) {
_root.t_speed = 8;
_root.t_level = 3;
}
}
i++;
}
this._rotation = this._rotation + (Math.random() * 360);
Symbol 41 MovieClip Frame 61
_root.bomb._visible = false;
_root.bomb._x = -100;
gotoAndStop (1);
Symbol 64 MovieClip [vorona] Frame 16
gotoAndPlay (1);
Symbol 64 MovieClip [vorona] Frame 17
var temp1;
var temp2;
temp1 = getProperty(this._target, _x);
temp2 = getProperty(this._target, _y);
this._rotation = -57.2957795130823 * Math.atan((_root.babuwka._x - temp1) / (_root.babuwka._y - temp2));
Symbol 64 MovieClip [vorona] Frame 22
this._visible = false;
this.removeMovieClip();
Symbol 67 MovieClip Frame 1
stop();
Symbol 67 MovieClip Frame 2
stop();
Symbol 67 MovieClip Frame 3
stop();
Symbol 67 MovieClip Frame 4
stop();
Symbol 92 MovieClip Frame 1
stop();
Symbol 92 MovieClip Frame 2
Symbol 92 MovieClip Frame 6
_root.ready_to = true;
gotoAndStop (2);
Symbol 92 MovieClip Frame 7
stop();
Symbol 92 MovieClip Frame 9
_root.sound_1.start(0);
Symbol 92 MovieClip Frame 12
_root.ready_to = true;
gotoAndStop (8);
Symbol 92 MovieClip Frame 13
stop();
Symbol 92 MovieClip Frame 16
_root.ready_to = true;
gotoAndStop (14);
Symbol 92 MovieClip Frame 21
stop();
Symbol 134 Button
on (release) {
gname = "airshooterXec";
gscore = _root.scores;
getURL ("index.php?act=Arcade&do=newscore", "_self", "POST");
}
Symbol 114 MovieClip Frame 1
stop();
Symbol 119 MovieClip Frame 1
stop();
Symbol 126 MovieClip Frame 1
stop();
Symbol 126 MovieClip Frame 5
this._visible = false;
Symbol 128 MovieClip Frame 1
stop();