Frame 1
stop();
Frame 2
stop();
shot = new Sound();
shot.attachSound("gunshot");
shot.setVolume(65);
boom = new Sound();
boom.attachSound("booms");
bonus = new Sound();
bonus.attachSound("bonussound");
health = new Sound();
health.attachSound("powerup");
_root.totalshots = 0;
_root.totalhits = 0;
_root.level = 5;
Instance of Symbol 48 MovieClip "apple1" in Frame 2
onClipEvent (enterFrame) {
if (_root.nothit1 == true) {
this._y = this._y + _root.level;
}
if ((this._y > 500) && (_root.nothit1 == true)) {
this._x = random(600) + 25;
_root.die.start();
_root.lives.play();
this._y = 0;
}
if (this._x < 25) {
this._x = this._x + random(20);
}
if (this._x > 575) {
this._x = (this._x + random(20)) - 20;
}
}
Instance of Symbol 50 MovieClip "apple2" in Frame 2
onClipEvent (enterFrame) {
if (_root.nothit2 == true) {
this._y = this._y + _root.level;
}
if ((this._y > 550) && (_root.nothit2 == true)) {
this._x = random(600) + 25;
_root.die.start();
_root.lives.play();
this._y = 0;
}
if (this._x < 25) {
this._x = this._x + random(20);
}
if (this._x > 575) {
this._x = (this._x + random(20)) - 20;
}
}
Instance of Symbol 56 MovieClip "apple3" in Frame 2
onClipEvent (enterFrame) {
_root.accuracy = ("APROVEITAMENTO: " + Math.round((_root.totalhits / _root.totalshots) * 100)) + "%";
if ((_root.count > 1000) && (_root.grand1 == true)) {
_root.level = _root.level + 5;
_root.grand1 = false;
_root.grand2 = true;
_root.levelnum = "N\u00CDVEL = 1";
}
if ((_root.count > 2000) && (_root.grand2 == true)) {
_root.level = _root.level + 3;
_root.grand2 = false;
_root.grand3 = true;
_root.levelnum = "N\u00CDVEL = 2";
}
if ((_root.count > 3000) && (_root.grand3 == true)) {
_root.level = _root.level + 3;
_root.grand3 = false;
_root.levelnum = "N\u00CDVEL = 3";
}
if (_root.count > 3500) {
_root.play();
}
if (_root.nothit3 == true) {
this._y = this._y + _root.level;
}
if ((this._y > 550) && (_root.nothit3 == true)) {
this._x = random(600) + 25;
this._y = -300;
}
if (this._x < 25) {
this._x = this._x + random(20);
}
if (this._x > 575) {
this._x = (this._x + random(20)) - 20;
}
}
Instance of Symbol 62 MovieClip "crosshair" in Frame 2
onClipEvent (load) {
Mouse.hide();
_root.crosshair.startDrag(true);
_root.count = 0;
_root.score = "" + count;
_root.grand1 = true;
_root.grand2 = false;
_root.grand3 = false;
_root.levelnum = "N\u00CDVEL = 0";
}
Frame 3
stop();
Mouse.Show();
Symbol 10 Button
on (release) {
gotoAndPlay (2);
}
Symbol 40 MovieClip Frame 626
tellTarget (_root) {
gotoAndPlay ("fimalvo");
};
Symbol 42 Button
on (press) {
shot.start();
_root.totalshots++;
}
Symbol 44 Button
on (press) {
_root.count = _root.count + 15;
_root.totalshots++;
_root.totalhits++;
_root.apple1._y = _root.apple1._y + -20;
play();
_root.boom.start();
}
Symbol 48 MovieClip Frame 1
stop();
_root.nothit1 = true;
Symbol 48 MovieClip Frame 2
_root.apple1._y = _root.apple1._y + -30;
Symbol 48 MovieClip Frame 3
_root.apple1._y = _root.apple1._y + -30;
Symbol 48 MovieClip Frame 4
_root.apple1._y = _root.apple1._y + -30;
Symbol 48 MovieClip Frame 5
stop();
_root.nothit1 = false;
_root.apple1._y = 0;
_root.apple1._x = random(550) + 25;
gotoAndStop (1);
Symbol 49 Button
on (press) {
_root.count = _root.count + 15;
_root.totalshots++;
_root.totalhits++;
play();
_root.boom.start();
}
Symbol 50 MovieClip Frame 1
stop();
_root.nothit2 = true;
Symbol 50 MovieClip Frame 2
_root.apple2._y = _root.apple2._y + -30;
Symbol 50 MovieClip Frame 3
_root.apple2._y = _root.apple2._y + -30;
Symbol 50 MovieClip Frame 4
_root.apple2._y = _root.apple2._y + -30;
Symbol 50 MovieClip Frame 5
stop();
_root.nothit2 = true;
_root.apple2._y = 0;
_root.apple2._x = random(550) + 25;
gotoAndStop (1);
Symbol 52 Button
on (press) {
_root.count = _root.count + 100;
_root.totalshots++;
_root.totalhits++;
_root.nothit3 = false;
_root.apple3._y = _root.apple3._y + -20;
_root.bonus.start();
play();
}
Symbol 56 MovieClip Frame 1
stop();
_root.nothit3 = true;
Symbol 56 MovieClip Frame 2
_root.apple3._y = _root.apple3._y + -30;
Symbol 56 MovieClip Frame 3
_root.apple3._y = _root.apple3._y + -30;
Symbol 56 MovieClip Frame 4
_root.apple3._y = _root.apple3._y + -30;
Symbol 56 MovieClip Frame 5
stop();
_root.nothit3 = true;
_root.apple3._y = -300;
_root.apple3._x = random(550) + 25;
gotoAndStop (1);
Symbol 60 MovieClip Frame 1960
gotoAndPlay (1);
Symbol 71 Button
on (release) {
Mouse.Show();
gotoAndStop (1);
}