Combined Code
frame 1 {
function itemHandler1(obj, item) {
getURL('http://www.logopresents.com/afd', '_blank');
}
function itemHandler2(obj, item) {
getURL('http://newgrounds.com', '_blank');
}
function itemHandler3(obj, item) {}
function itemHandler4(obj, item) {
_quality = 'LOW';
}
function itemHandler5(obj, item) {
_quality = 'MEDIUM';
}
function itemHandler6(obj, item) {
_quality = 'HIGH';
}
function itemHandler7(obj, item) {
_quality = 'BEST';
}
function itemHandler8(obj, item) {}
function itemHandler0(obj, item) {
getURL('http://www.fetuseater.xmgfree.com/index.php', '_blank');
}
_quality = 'BEST';
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
item1 = new ContextMenuItem('All Fads Die Forums', itemHandler1);
myMenu.customItems.push(item1);
item2 = new ContextMenuItem(' Go To Newgrounds', itemHandler2);
myMenu.customItems.push(item2);
item3 = new ContextMenuItem('------------------------------------', itemHandler3);
myMenu.customItems.push(item3);
item4 = new ContextMenuItem('Low Quality', itemHandler4);
myMenu.customItems.push(item4);
item5 = new ContextMenuItem('Medium Quality', itemHandler5);
myMenu.customItems.push(item5);
item6 = new ContextMenuItem('High Quality', itemHandler6);
myMenu.customItems.push(item6);
item7 = new ContextMenuItem('Best Quality', itemHandler7);
myMenu.customItems.push(item7);
item8 = new ContextMenuItem('-----------------------------------', itemHandler8);
myMenu.customItems.push(item8);
item0 = new ContextMenuItem('Right Click Menu By FetusEater', itemHandler0);
myMenu.customItems.push(item0);
_root.menu = myMenu;
stop();
}
movieClip 6 {
}
movieClip 9 {
}
movieClip 11 {
}
movieClip 13 {
}
movieClip 15 {
}
movieClip 17 {
}
movieClip 19 {
}
movieClip 21 {
}
movieClip 23 {
}
movieClip 25 {
}
movieClip 27 {
}
movieClip 30 {
}
movieClip 32 {
}
button 38 {
on (release) {
_root.gotoAndStop(2);
}
}
button 40 {
on (release) {
_root.gotoAndStop(4);
}
}
movieClip 41 {
frame 1 {
_root.stop();
allkbs = Math.round(_root.getBytesLoaded() / 1024) + ' / ' + Math.round(_root.getBytesTotal() / 1024) + ' KB';
pertotal = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
perleft = 100 - Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (pertotal >= 30) {
gotoAndPlay(3);
}
}
instance bar of movieClip 30 {
onClipEvent (enterFrame) {
this._height = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) * 2;
}
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
pertotal = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (pertotal == 100) {
gotoAndPlay(5);
}
}
frame 4 {
gotoAndPlay(3);
}
frame 5 {
stop();
}
frame 6 {
gotoAndPlay(5);
}
}
frame 2 {
stop();
}
movieClip 44 {
}
button 45 {
on (release) {
_root.gotoAndStop(3);
}
}
frame 3 {
stop();
}
movieClip 53 {
frame 19 {
stop();
}
}
movieClip 55 {
}
movieClip 64 {
frame 8 {
gotoAndPlay(1);
}
}
movieClip 67 {
}
movieClip 74 {
frame 6 {
stop();
}
frame 6 {
stop();
}
}
movieClip 75 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
frame 6 {
stop();
}
}
instance synj of movieClip 75 {
onClipEvent (load) {
speed = 17;
stop();
direct = 1;
wall = 0;
dead = 0;
_root.maintimer = 0;
_root.deadtimer = 0;
_root.highscore = 0;
}
onClipEvent (enterFrame) {
if (dead == 1) {
++_root.deadtimer;
if (_root.maintimer > _root.highscore) {
_root.highscore = _root.maintimer;
}
} else {
if (dead == 0) {
++_root.maintimer;
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(spikept)) {
dead = 1;
if (direct == 1 and dead == 1) {
gotoAndStop(5);
}
if (direct == 2 and dead == 1) {
gotoAndStop(6);
}
}
if (dead == 0) {
if (Key.isDown(39)) {
if (this.hitTest(_root.wall2)) {
wall = 1;
} else {
wall = 0;
}
if (wall == 0) {
_x = _x + speed;
}
this.gotoAndStop(1);
direct = 1;
} else {
if (Key.isDown(37)) {
if (this.hitTest(_root.wall1)) {
wall = 1;
} else {
wall = 0;
}
if (wall == 0) {
_x = _x - speed;
}
this.gotoAndStop(2);
direct = 2;
} else {
if (direct == 1) {
this.gotoAndStop(3);
} else {
if (direct == 2) {
this.gotoAndStop(4);
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.wall1) or this.hitTest(_root.wall2)) {
wall = 1;
} else {
wall = 0;
}
}
}
movieClip 80 {
}
button 82 {
on (release) {
_root.checker = 1;
_root.youdead.gotoAndStop(1);
_root.crusher.gotoAndPlay(2);
_root.button1.gotoAndStop(1);
}
}
movieClip 83 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 87 {
}
movieClip 111 {
frame 1 {
stop();
}
frame 1 {
stop();
}
}
button 117 {
on (release) {
clearInterval(aaa);
clearInterval(aab);
clearInterval(aac);
clearInterval(aad);
clearInterval(aae);
clearInterval(aaf);
clearInterval(aag);
clearInterval(aah);
clearInterval(aai);
clearInterval(aaj);
clearInterval(aak);
_root.maintimer = 0;
_root.deadtimer = 0;
_root.youdead.gotoAndStop(1);
_root.checker = 2;
_root.crusher.gotoAndStop(1);
_root.gotoAndPlay(4);
}
}
button 122 {
on (release) {
_root.maintimer = 0;
_root.deadtimer = 0;
_root.synj.dead = 0;
_root.synj.gotoAndStop(1);
_root.youdead.gotoAndStop(1);
_root.checker = 2;
_root.button1.gotoAndStop(2);
_root.crusher.gotoAndStop(1);
}
}
movieClip 123 {
instance of movieClip 111 {
onClipEvent (load) {
aak = setInterval(function () {
play();
}, Math.round(Math.random() * 25000));
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.synj.spot)) {
_root.synj.dead = 1;
_root.synj.gotoAndStop(5);
}
}
onClipEvent (unload) {
clearInterval(aak);
}
}
instance of movieClip 111 {
onClipEvent (load) {
aaj = setInterval(function () {
play();
}, Math.round(Math.random() * 30000));
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.synj.spot)) {
_root.synj.dead = 1;
_root.synj.gotoAndStop(5);
}
}
onClipEvent (unload) {
clearInterval(aaj);
}
}
instance of movieClip 111 {
onClipEvent (load) {
aai = setInterval(function () {
play();
}, Math.round(Math.random() * 30000));
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.synj.spot)) {
_root.synj.dead = 1;
_root.synj.gotoAndStop(5);
}
}
onClipEvent (unload) {
clearInterval(aai);
}
}
instance of movieClip 111 {
onClipEvent (load) {
aah = setInterval(function () {
play();
}, Math.round(Math.random() * 30000));
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.synj.spot)) {
_root.synj.dead = 1;
_root.synj.gotoAndStop(5);
}
}
onClipEvent (unload) {
clearInterval(aah);
}
}
instance of movieClip 111 {
onClipEvent (load) {
aag = setInterval(function () {
play();
}, Math.round(Math.random() * 28000));
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.synj.spot)) {
_root.synj.dead = 1;
_root.synj.gotoAndStop(5);
}
}
onClipEvent (unload) {
clearInterval(aag);
}
}
instance of movieClip 111 {
onClipEvent (load) {
aaf = setInterval(function () {
play();
}, Math.round(Math.random() * 30000));
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.synj.spot)) {
_root.synj.dead = 1;
_root.synj.gotoAndStop(5);
}
}
onClipEvent (unload) {
clearInterval(aaf);
}
}
instance of movieClip 111 {
onClipEvent (load) {
aae = setInterval(function () {
play();
}, Math.round(Math.random() * 28000));
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.synj.spot)) {
_root.synj.dead = 1;
_root.synj.gotoAndStop(5);
}
}
onClipEvent (unload) {
clearInterval(aae);
}
}
instance of movieClip 111 {
onClipEvent (load) {
aad = setInterval(function () {
play();
}, Math.round(Math.random() * 30000));
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.synj.spot)) {
_root.synj.dead = 1;
_root.synj.gotoAndStop(5);
}
}
onClipEvent (unload) {
clearInterval(aad);
}
}
instance of movieClip 111 {
onClipEvent (load) {
aac = setInterval(function () {
play();
}, Math.round(Math.random() * 30000));
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.synj.spot)) {
_root.synj.dead = 1;
_root.synj.gotoAndStop(5);
}
}
onClipEvent (unload) {
clearInterval(aac);
}
}
instance of movieClip 111 {
onClipEvent (load) {
aab = setInterval(function () {
play();
}, Math.round(Math.random() * 30000));
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.synj.spot)) {
_root.synj.dead = 1;
_root.synj.gotoAndStop(5);
}
}
onClipEvent (unload) {
clearInterval(aab);
}
}
instance of movieClip 111 {
onClipEvent (load) {
aaa = setInterval(function () {
play();
}, Math.round(Math.random() * 25000));
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.synj.spot)) {
_root.synj.dead = 1;
_root.synj.gotoAndStop(5);
}
}
onClipEvent (unload) {
clearInterval(aaa);
}
}
}
button 126 {
on (release) {
_root.maintimer = 0;
_root.deadtimer = 0;
_root.youdead.gotoAndStop(1);
_root.checker = 2;
_root.crusher.gotoAndStop(1);
_root.gotoAndStop(4);
}
}
movieClip 127 {
frame 1 {
stop();
}
frame 37 {
}
frame 38 {
stop();
}
}
instance crusher of movieClip 127 {
onClipEvent (load) {
_root.checker = 0;
}
onClipEvent (enterFrame) {
if (_root.checker == 0) {
if (Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100) == 100) {
this.gotoAndPlay(2);
_root.checker = 1;
}
}
}
}
button 140 {
on (release) {
_root.maintimer = 0;
_root.deadtimer = 0;
_root.synj.dead = 0;
_root.synj.gotoAndStop(1);
_root.youdead.gotoAndStop(1);
}
}
movieClip 141 {
frame 1 {
stop();
}
frame 9 {
stop();
}
}
instance youdead of movieClip 141 {
onClipEvent (enterFrame) {
if (!(_root.checker eq 1)) {
if (_root.deadtimer == 30) {
this.gotoAndPlay(2);
}
}
}
}
movieClip 151 {
frame 1 {
pertotal = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (pertotal == 100) {
gotoAndStop(9);
}
}
frame 8 {
gotoAndPlay(1);
}
frame 9 {
stop();
}
}
frame 4 {
play();
}
frame 4 {
stopAllSounds();
}
frame 35 {
stop();
}
movieClip 153 {
}
button 155 {
on (release) {
gotoAndPlay(36);
}
}
button 157 {
on (release) {
gotoAndPlay(141);
}
}
button 158 {
on (release) {
gotoAndPlay(239);
}
}
button 159 {
on (release) {
gotoAndPlay(319);
}
}
button 160 {
on (release) {
gotoAndPlay(550);
}
}
button 165 {
on (release) {
getURL('http://www.logopresents.com/AFD.asp', _blank);
}
}
movieClip 167 {
}
movieClip 168 {
}
movieClip 170 {
}
movieClip 171 {
}
frame 36 {
stopAllSounds();
}
movieClip 175 {
}
button 177 {
on (release) {
gotoAndPlay(4);
}
}
movieClip 179 {
}
movieClip 180 {
}
frame 140 {
gotoAndPlay(745);
}
frame 141 {
stopAllSounds();
}
frame 238 {
gotoAndPlay(660);
}
frame 239 {
stopAllSounds();
}
frame 318 {
gotoAndPlay(1800);
}
frame 319 {
stopAllSounds();
}
frame 549 {
gotoAndPlay(2462);
}
frame 550 {
stopAllSounds();
}
frame 659 {
gotoAndPlay(709);
}
button 193 {
on (release) {
gotoAndPlay(698);
}
}
button 194 {
on (release) {
gotoAndPlay(699);
}
}
button 200 {
on (release) {
gotoAndPlay(700);
}
}
button 201 {
on (release) {
gotoAndPlay(701);
}
}
button 206 {
on (release) {
gotoAndPlay(702);
}
}
button 207 {
on (release) {
gotoAndPlay(703);
}
}
button 212 {
on (release) {
gotoAndPlay(704);
}
}
button 213 {
on (release) {
gotoAndPlay(705);
}
}
button 218 {
on (release) {
gotoAndPlay(706);
}
}
button 221 {
on (release) {
gotoAndPlay(707);
}
}
frame 696 {
stopAllSounds();
}
frame 697 {
stop();
}
movieClip 225 {
}
frame 698 {
stop();
}
movieClip 236 {
}
button 238 {
on (release) {
gotoAndPlay(696);
}
}
frame 699 {
stop();
}
movieClip 241 {
}
frame 700 {
stop();
}
movieClip 296 {
}
frame 701 {
stop();
}
movieClip 299 {
}
movieClip 313 {
}
frame 702 {
stop();
}
frame 703 {
stop();
}
frame 704 {
stop();
}
movieClip 342 {
}
movieClip 386 {
}
frame 705 {
stop();
}
movieClip 389 {
}
movieClip 394 {
}
movieClip 398 {
}
movieClip 402 {
}
movieClip 403 {
}
frame 706 {
stop();
}
frame 707 {
stop();
}
button 414 {
on (release) {
getURL('http://www.fetuseater.co.nr/', '_blank');
}
}
frame 708 {
stopAllSounds();
}
button 416 {
on (release) {
stopAllSounds();
gotoAndPlay(2606);
}
}
button 418 {
on (release) {
stopAllSounds();
gotoAndPlay(3541);
}
}
button 419 {
on (release) {
stopAllSounds();
gotoAndPlay(5105);
}
}
button 420 {
on (release) {
stopAllSounds();
gotoAndPlay(5811);
}
}
button 421 {
on (release) {
stopAllSounds();
gotoAndPlay(6307);
}
}
button 422 {
on (release) {
stopAllSounds();
gotoAndPlay(6429);
}
}
button 423 {
on (release) {
stopAllSounds();
gotoAndPlay(7545);
}
}
frame 743 {
stopAllSounds();
}
frame 744 {
stop();
}
movieClip 434 {
}
frame 745 {
stopAllSounds();
}
movieClip 436 {
}
movieClip 469 {
}
movieClip 527 {
}
movieClip 529 {
}
movieClip 683 {
}
frame 1799 {
gotoAndPlay(4);
}
frame 1800 {
stop();
clearInterval(quitID);
_root.player.gotoAndStop(1);
}
frame 1800 {
stopAllSounds();
}
button 691 {
on (release) {
play();
}
}
movieClip 694 {
}
movieClip 700 {
frame 1 {
stop();
}
frame 17 {
_root.gotoAndPlay('YOULOSTGAME');
stop();
}
}
instance player of movieClip 700 {
onClipEvent (load) {
function shoot() {
++lasercounter;
_root.Laser.duplicateMovieClip('Laser' + laserLevel, laserLevel);
_root['Laser' + laserLevel]._visible = true;
++laserLevel;
if (laserLevel > maxLasers) {
laserLevel = 1;
}
}
clearInterval(quitID);
_root.Laser._visible = false;
lasercounter = 1;
maxLasers = 5;
laserLevel = 1;
acceleration = 5;
speedF = 0;
speedL = 0;
speedR = 0;
speedB = 0;
maxSpeed = 15;
}
onClipEvent (enterFrame) {
if (Key.isDown(39) && _x < 560 && speedR < maxSpeed) {
speedR += acceleration;
}
if (Key.isDown(37) && _x > 41 && speedL < maxSpeed) {
speedL += acceleration;
}
if (Key.isDown(38) && _y > 65 && speedF < maxSpeed) {
speedF += acceleration;
}
if (Key.isDown(40) && _y < 470 && speedB < maxSpeed) {
speedB += acceleration;
}
if (Key.isDown(88) && laserCounter <= maxLasers && quitID <= 0) {
++lasercounter;
_root.Laser.duplicateMovieClip('Laser' + laserLevel, laserLevel);
_root['Laser' + laserLevel]._visible = true;
++laserLevel;
if (laserLevel > maxLasers) {
laserLevel = 1;
}
_root.mcSound.gotoAndPlay(2);
quitID = setInterval(shoot, 270);
}
if (!Key.isDown(88)) {
clearInterval(quitID);
quitID = 0;
}
if (this.hitTest(_root.ennemy.Lock)) {
_root.health -= 10;
_root.ennemy.play();
}
if (this.hitTest(_root.ennemy2.Clock)) {
_root.health -= 10;
_root.ennemy2.play();
}
if (this.hitTest(_root.ennemy3.Glock)) {
_root.health -= 10;
_root.ennemy3.play();
}
if (this.hitTest(_root.ennemy4.Barney)) {
_root.health -= 10;
_root.ennemy4.play();
}
if (this.hitTest(_root.ennemy5.SS)) {
_root.health -= 10;
_root.ennemy5.play();
}
if (speedF > 0) {
speedF -= 3;
} else {
speedF = 0;
}
if (speedR > 0) {
speedR -= 3;
} else {
speedR = 0;
}
if (speedB > 0) {
speedB -= 3;
} else {
speedB = 0;
}
if (speedL > 0) {
speedL -= 3;
} else {
speedL = 0;
}
_y = _y - speedF;
_x = _x + speedR;
_x = _x - speedL;
_y = _y + speedB;
}
}
movieClip 704 {
}
movieClip 705 {
}
movieClip 707 {
}
movieClip 709 {
}
movieClip 711 {
}
movieClip 714 {
}
button 715 {
on (release) {
gotoAndPlay(4);
}
}
frame 1802 {
_root.player._x = 285;
_root.player._y = 455;
_root.player.gotoAndStop(1);
rol = 0;
_root.health = 50;
_root.score = 0;
}
movieClip 717 {
}
movieClip 718 {
}
movieClip 736 {
frame 43 {
stop();
}
}
instance Laser of movieClip 736 {
onClipEvent (load) {
laserspeed = 20;
rol1 = _root.rol;
++currLaser;
this._y = _root.player._y - 25;
this._x = _root.player._x;
}
onClipEvent (enterFrame) {
this._y -= laserspeed;
if (this._y < 0) {
this.removeMovieClip();
--currLaser;
}
if (this.hitTest(_root.ennemy)) {
with (_root.ennemy) {
play();
}
this.removeMovieClip();
}
if (this.hitTest(_root.ennemy2)) {
with (_root.ennemy2) {
play();
}
this.removeMovieClip();
}
if (this.hitTest(_root.ennemy3)) {
with (_root.ennemy3) {
play();
}
this.removeMovieClip();
}
if (this.hitTest(_root.ennemy4)) {
with (_root.ennemy4) {
play();
}
this.removeMovieClip();
}
if (this.hitTest(_root.ennemy5)) {
with (_root.ennemy5) {
play();
}
this.removeMovieClip();
}
if (this.hitTest(_root.sbc)) {
with (_root.juice) {
gotoAndPlay(1);
_visible = 1;
}
_root.sbx.health -= 10;
this.removeMovieClip();
}
}
}
movieClip 740 {
}
instance of movieClip 740 {
onClipEvent (enterFrame) {
lolhaha = _root.score;
if (_root.health < 1) {
_root.player.play();
stop();
}
}
}
frame 1810 {
rol = 0;
_root.health = 50;
_root.score = 0;
}
movieClip 744 {
frame 1 {
stop();
}
frame 7 {
i = 0;
while (i < 500) {
++_root.score;
++i;
}
reset();
}
}
instance ennemy of movieClip 744 {
onClipEvent (load) {
function reset() {
this._x = random(600);
this._y = -20;
ennemySpeed = random(7) + 5;
ennemyRotation = random(15);
}
reset();
}
onClipEvent (enterFrame) {
this._y += ennemySpeed;
this._rotation -= ennemyRotation;
if (this._y > 500) {
reset();
}
}
}
movieClip 748 {
frame 1 {
stop();
}
frame 7 {
i = 0;
while (i < 500) {
++_root.score;
++i;
}
reset();
}
}
instance ennemy3 of movieClip 748 {
onClipEvent (load) {
function reset() {
this._x = random(600);
this._y = -20;
ennemySpeed = random(7) + 5;
ennemyRotation = random(15);
}
reset();
}
onClipEvent (enterFrame) {
this._y += ennemySpeed;
this._rotation -= ennemyRotation;
if (this._y > 500) {
reset();
}
}
}
movieClip 752 {
frame 1 {
stop();
}
instance Clock of movieClip 705 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.Laser)) {
play();
}
}
}
frame 7 {
i = 0;
while (i < 500) {
++_root.score;
++i;
}
reset();
}
}
instance ennemy2 of movieClip 752 {
onClipEvent (load) {
function reset() {
this._x = random(600);
this._y = -20;
ennemySpeed = random(7) + 3;
ennemyRotation = random(15);
}
reset();
}
onClipEvent (enterFrame) {
this._y += ennemySpeed;
this._rotation -= ennemyRotation;
if (this._y > 500) {
reset();
}
}
}
movieClip 756 {
frame 1 {
stop();
}
frame 7 {
i = 0;
while (i < 500) {
++_root.score;
++i;
}
reset();
}
}
instance ennemy4 of movieClip 756 {
onClipEvent (load) {
function reset() {
this._x = random(600);
this._y = -20;
ennemySpeed = random(7) + 5;
ennemyRotation = random(15);
}
reset();
}
onClipEvent (enterFrame) {
this._y += ennemySpeed;
this._rotation -= ennemyRotation;
if (this._y > 500) {
reset();
}
}
}
movieClip 760 {
frame 1 {
stop();
}
instance SS of movieClip 714 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.Laser)) {
play();
}
}
}
frame 7 {
i = 0;
while (i < 500) {
++_root.score;
++i;
}
reset();
}
}
instance ennemy5 of movieClip 760 {
onClipEvent (load) {
function reset() {
this._x = random(600);
this._y = -20;
ennemySpeed = random(7) + 5;
ennemyRotation = random(15);
}
reset();
}
onClipEvent (enterFrame) {
this._y += ennemySpeed;
this._rotation -= ennemyRotation;
if (this._y > 500) {
reset();
}
}
}
frame 2403 {
_root.sbc.lolid = 0;
_root.juice.visible = false;
with (_root.juice) {
_visible = 0;
}
}
movieClip 793 {
}
movieClip 794 {
frame 12 {
_visible = false;
}
}
movieClip 797 {
}
movieClip 798 {
frame 1 {
stop();
}
}
movieClip 800 {
frame 1 {
++lolid;
}
frame 41 {
duplicateMovieClip(_root.FL1, 'FL' + lolid, lolid);
with (_root.FL1) {
removeMovieClip();
}
}
}
instance Laser of movieClip 736 {
onClipEvent (load) {
laserspeed = 20;
rol1 = _root.rol;
++currLaser;
this._y = _root.player._y - 25;
this._x = _root.player._x;
}
onClipEvent (enterFrame) {
this._y -= laserspeed;
if (this._y < 0) {
this.removeMovieClip();
--currLaser;
}
if (this.hitTest(_root.ennemy)) {
with (_root.ennemy) {
play();
}
this.removeMovieClip();
}
if (this.hitTest(_root.ennemy2)) {
with (_root.ennemy2) {
play();
}
this.removeMovieClip();
}
if (this.hitTest(_root.ennemy3)) {
with (_root.ennemy3) {
play();
}
this.removeMovieClip();
}
if (this.hitTest(_root.ennemy4)) {
with (_root.ennemy4) {
play();
}
this.removeMovieClip();
}
if (this.hitTest(_root.sbc)) {
with (_root.sbc.painzor) {
gotoAndPlay(1);
}
_root.sbc.health -= 10;
this.removeMovieClip();
}
}
}
instance player of movieClip 700 {
onClipEvent (load) {
function shoot() {
++lasercounter;
_root.Laser.duplicateMovieClip('Laser' + laserLevel, laserLevel);
_root['Laser' + laserLevel]._visible = true;
++laserLevel;
if (laserLevel > maxLasers) {
laserLevel = 1;
}
}
_root.Laser._visible = false;
lasercounter = 1;
maxLasers = 5;
laserLevel = 1;
acceleration = 5;
speedF = 0;
speedL = 0;
speedR = 0;
speedB = 0;
maxSpeed = 15;
}
onClipEvent (enterFrame) {
if (Key.isDown(39) && _x < 560 && speedR < maxSpeed) {
speedR += acceleration;
}
if (Key.isDown(37) && _x > 41 && speedL < maxSpeed) {
speedL += acceleration;
}
if (Key.isDown(38) && _y > 65 && speedF < maxSpeed) {
speedF += acceleration;
}
if (Key.isDown(40) && _y < 470 && speedB < maxSpeed) {
speedB += acceleration;
}
if (Key.isDown(88) && laserCounter <= maxLasers && quitID <= 0) {
++lasercounter;
_root.Laser.duplicateMovieClip('Laser' + laserLevel, laserLevel);
_root['Laser' + laserLevel]._visible = true;
++laserLevel;
if (laserLevel > maxLasers) {
laserLevel = 1;
}
_root.mcSound.gotoAndPlay(2);
quitID = setInterval(shoot, 270);
}
if (!Key.isDown(88)) {
clearInterval(quitID);
quitID = 0;
}
if (this.hitTest(_root.ennemy.Lock)) {
_root.health -= 10;
_root.ennemy.play();
}
if (this.hitTest(_root.ennemy2.Clock)) {
_root.health -= 10;
_root.ennemy2.play();
}
if (this.hitTest(_root.ennemy3.Glock)) {
_root.health -= 10;
_root.ennemy3.play();
}
if (this.hitTest(_root.ennemy4.Barney)) {
_root.health -= 10;
_root.ennemy4.play();
}
if (speedF > 0) {
speedF -= 3;
} else {
speedF = 0;
}
if (speedR > 0) {
speedR -= 3;
} else {
speedR = 0;
}
if (speedB > 0) {
speedB -= 3;
} else {
speedB = 0;
}
if (speedL > 0) {
speedL -= 3;
} else {
speedL = 0;
}
_y = _y - speedF;
_x = _x + speedR;
_x = _x - speedL;
_y = _y + speedB;
}
}
movieClip 807 {
}
movieClip 809 {
}
movieClip 810 {
instance killerexp of movieClip 809 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.health -= 7;
this.removeMovieClip;
}
}
}
frame 40 {
this.removeMovieClip();
}
frame 41 {
this._x = _root.sbc._x;
this._y = _root.sbc._y;
}
}
instance FL1 of movieClip 810 {
onClipEvent (load) {
_x = _root.sbc._x;
_y = _root.sbc._y;
}
onClipEvent (enterFrame) {
this._x -= (this._x - _root.player._x) / 20;
this._y -= (this._y - _root.player._y) / 20;
}
}
movieClip 813 {
frame 1 {
health = 350;
}
frame 2 {
++lolid;
if (health < 0) {
gotoAndPlay(43);
}
}
frame 3 {
if (health < 0) {
gotoAndPlay(43);
}
}
frame 42 {
duplicateMovieClip(_root.FL1, 'FL' + lolid, lolid);
with (_root.FL1) {
removeMovieClip();
}
gotoAndPlay(2);
}
frame 44 {
_root.gotoAndPlay('YOUWINGAME');
}
}
instance sbc of movieClip 813 {
onClipEvent (enterFrame) {
Xd = _root.player._x - _x;
Yd = _root.player._y - _y;
radAngle = Math.atan2(Yd, Xd);
_rotation = int(radAngle * 360 / 6.283185307179586 + 90);
porm = random(2);
if (porm == 0) {
if (this._x < 500) {
this._x += random(2);
}
} else {
if (this._x > 0) {
this._x -= random(2);
}
}
updateAfterEvent();
}
}
movieClip 815 {
}
movieClip 818 {
}
frame 2412 {
_root.health1.health2 = _root.sbc.health;
lives9 = _root.health1.health2;
lives1 = (lives9 / 350) * 100;
eval(_root.health1.bar)._xscale = lives1;
if (_root.score > 0) {
_root.score -= 10;
}
gotoAndPlay(2411);
if (_root.sbc.health < 1) {
_root.gotoAndPlay('YOUWINGAME');
}
if (_root.health < 1) {
_root.health = 0;
_root.player.play();
stop();
}
}
frame 2413 {
if (_root.score > 0) {
_root.score = int(_root.score / 3);
}
}
frame 2439 {
stop();
}
button 826 {
on (release) {
gotoAndPlay(1800);
}
}
frame 2459 {
stop();
}
frame 2462 {
stopAllSounds();
}
movieClip 841 {
}
button 845 {
on (release) {
play();
}
}
button 849 {
on (release) {
stop();
}
}
button 853 {
on (release) {
_quality = 'HIGH';
}
}
button 857 {
on (release) {
_quality = 'MEDIUM';
}
}
button 861 {
on (release) {
_quality = 'LOW';
}
}
movieClip 863 {
}
movieClip 865 {
}
movieClip 867 {
}
movieClip 879 {
}
movieClip 881 {
}
movieClip 882 {
}
movieClip 885 {
}
movieClip 886 {
}
movieClip 890 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 892 {
}
movieClip 894 {
}
movieClip 906 {
}
instance of movieClip 890 {
onClipEvent (enterFrame) {
gotoAndPlay(2463);
}
}
instance of movieClip 890 {
onClipEvent (load) {
gotoAndStop(2462);
}
}
instance of movieClip 890 {
onClipEvent (enterFrame) {
gotoAndStop(2462);
}
}
movieClip 922 {
}
frame 2731 {
eval(caindo)._visible = 0;
}
movieClip 925 {
}
movieClip 927 {
}
movieClip 929 {
}
movieClip 931 {
}
movieClip 943 {
}
movieClip 946 {
}
frame 2737 {
eval(teto)._visible = 0;
}
movieClip 959 {
}
movieClip 961 {
}
movieClip 968 {
}
movieClip 970 {
}
instance of movieClip 968 {
}
frame 2747 {
eval(poeira)._visible = 0;
}
movieClip 978 {
}
instance of movieClip 968 {
onClipEvent (enterFrame) {
gotoAndStop(2462);
}
}
instance of movieClip 970 {
onClipEvent (enterFrame) {
gotoAndStop(2462);
}
}
movieClip 980 {
}
instance of movieClip 968 {
onClipEvent (enterFrame) {
gotoAndStop(2462);
}
}
instance of movieClip 970 {
onClipEvent (enterFrame) {
gotoAndStop(2462);
}
}
instance of movieClip 968 {
onClipEvent (enterFrame) {
gotoAndStop(2462);
}
}
instance of movieClip 970 {
onClipEvent (enterFrame) {
gotoAndStop(2462);
}
}
instance of movieClip 968 {
onClipEvent (enterFrame) {
gotoAndStop(2462);
}
}
instance of movieClip 970 {
onClipEvent (enterFrame) {
gotoAndStop(2462);
}
}
frame 2767 {
eval(poeira)._visible = 1;
}
frame 2767 {
eval(caindo)._visible = 1;
}
frame 2767 {
eval(teto)._visible = 1;
}
frame 2768 {
_quality = 'MEDIUM';
}
frame 2790 {
_quality = 'HIGH';
}
movieClip 999 {
}
movieClip 1001 {
}
movieClip 1017 {
}
movieClip 1019 {
}
movieClip 1032 {
}
movieClip 1045 {
}
movieClip 1047 {
}
movieClip 1052 {
}
movieClip 1055 {
}
movieClip 1058 {
}
movieClip 1062 {
}
movieClip 1069 {
}
movieClip 1089 {
}
movieClip 1092 {
}
movieClip 1110 {
}
movieClip 1113 {
}
movieClip 1116 {
}
movieClip 1118 {
}
movieClip 1135 {
}
movieClip 1141 {
}
movieClip 1143 {
}
movieClip 1147 {
}
movieClip 1153 {
}
movieClip 1173 {
}
instance of movieClip 970 {
onClipEvent (enterFrame) {
stop();
}
}
movieClip 1187 {
}
movieClip 1190 {
}
movieClip 1192 {
}
movieClip 1195 {
}
movieClip 1197 {
}
movieClip 1199 {
}
movieClip 1201 {
}
movieClip 1203 {
}
movieClip 1210 {
}
movieClip 1212 {
}
movieClip 1216 {
}
movieClip 1219 {
}
movieClip 1222 {
}
movieClip 1226 {
}
movieClip 1228 {
}
movieClip 1260 {
}
movieClip 1324 {
}
movieClip 1325 {
}
movieClip 1339 {
}
movieClip 1341 {
}
movieClip 1365 {
}
movieClip 1369 {
}
movieClip 1375 {
}
movieClip 1377 {
}
movieClip 1379 {
}
movieClip 1381 {
}
movieClip 1383 {
}
movieClip 1387 {
}
movieClip 1391 {
}
movieClip 1393 {
}
movieClip 1402 {
}
movieClip 1404 {
}
movieClip 1406 {
}
movieClip 1408 {
}
movieClip 1410 {
}
movieClip 1412 {
}
movieClip 1559 {
frame 1 {
stop();
}
}
movieClip 1562 {
}
movieClip 1564 {
}
movieClip 1664 {
}
movieClip 1671 {
}
movieClip 1678 {
}
movieClip 1703 {
}
movieClip 1750 {
}
movieClip 1762 {
}
movieClip 1799 {
}
movieClip 1801 {
}
movieClip 1803 {
}
movieClip 1805 {
}
movieClip 1807 {
}
movieClip 1812 {
}
movieClip 1815 {
}
movieClip 1819 {
}
movieClip 1826 {
}
movieClip 1832 {
}
movieClip 1835 {
}
movieClip 1837 {
}
movieClip 1839 {
}
movieClip 1841 {
}
movieClip 1843 {
}
movieClip 1845 {
}
movieClip 1847 {
}
movieClip 1856 {
}
movieClip 1873 {
}
movieClip 1874 {
}
movieClip 1877 {
}
movieClip 1878 {
}
movieClip 1882 {
}
movieClip 1884 {
}
movieClip 1894 {
}
movieClip 1911 {
}
movieClip 1929 {
}
movieClip 1930 {
}
movieClip 1934 {
}
movieClip 1960 {
}
movieClip 1966 {
}
movieClip 1969 {
}
movieClip 1975 {
}
movieClip 1980 {
}
movieClip 1982 {
}
movieClip 2146 {
}
movieClip 2230 {
}
movieClip 2409 {
}
movieClip 2410 {
}
movieClip 2463 {
}
movieClip 2516 {
}
movieClip 2577 {
}
movieClip 2578 {
}
movieClip 2579 {
}
movieClip 2593 {
}
movieClip 2610 {
}
movieClip 2629 {
}
movieClip 2640 {
}
movieClip 2705 {
}
movieClip 2727 {
}
movieClip 2735 {
}
movieClip 2736 {
}
movieClip 2771 {
}
movieClip 2805 {
}
movieClip 2827 {
}
movieClip 2843 {
}
movieClip 2844 {
}
movieClip 2860 {
}
movieClip 2865 {
}
movieClip 2871 {
}
movieClip 2872 {
}
movieClip 2887 {
}
movieClip 2888 {
}
movieClip 2889 {
}
movieClip 2904 {
}
movieClip 3002 {
}
movieClip 3004 {
}
movieClip 3014 {
}
movieClip 3020 {
}
movieClip 3023 {
}
movieClip 3040 {
}
movieClip 3041 {
}
movieClip 3047 {
}
movieClip 3049 {
}
movieClip 3052 {
}
movieClip 3115 {
}
movieClip 3116 {
}
movieClip 3124 {
}
movieClip 3127 {
}
movieClip 3152 {
}
movieClip 3181 {
}
movieClip 3193 {
}
movieClip 3194 {
}
movieClip 3201 {
}
movieClip 3271 {
}
movieClip 3272 {
}
movieClip 3282 {
}
movieClip 3349 {
}
movieClip 3364 {
}
movieClip 3368 {
}
movieClip 3372 {
}
movieClip 3373 {
}
movieClip 3452 {
}
movieClip 3453 {
}
movieClip 3454 {
}
movieClip 3463 {
}
movieClip 3568 {
}
movieClip 3569 {
}
movieClip 3589 {
}
movieClip 3591 {
}
movieClip 3594 {
}
movieClip 3596 {
frame 1 {
}
}
movieClip 3597 {
frame 1 {
i = 1;
max = 60;
x = fire._x;
}
frame 2 {
}
frame 3 {
}
}
movieClip 3604 {
}
movieClip 3651 {
}
movieClip 3652 {
}
movieClip 3657 {
}
movieClip 3658 {
}
movieClip 3660 {
}
movieClip 3661 {
}
movieClip 3667 {
frame 5 {
stop();
}
}
movieClip 3668 {
}
movieClip 3672 {
}
movieClip 3673 {
}
movieClip 3679 {
}
movieClip 3685 {
}
movieClip 3686 {
}
movieClip 3687 {
}
movieClip 3689 {
}
movieClip 3690 {
}
movieClip 3696 {
}
movieClip 3721 {
}
movieClip 3723 {
}
movieClip 3738 {
}
movieClip 3739 {
}
movieClip 3741 {
}
movieClip 3751 {
}
movieClip 3753 {
}
movieClip 3755 {
}
movieClip 3756 {
}
movieClip 3758 {
}
movieClip 3760 {
}
movieClip 3762 {
}
movieClip 3764 {
}
movieClip 3765 {
}
movieClip 3768 {
}
movieClip 3769 {
}
movieClip 3770 {
}
movieClip 3771 {
}
movieClip 3772 {
}
movieClip 3773 {
}
movieClip 3783 {
}
movieClip 3787 {
}
movieClip 3803 {
}
movieClip 3816 {
}
movieClip 3817 {
}
movieClip 3818 {
frame 17 {
stop();
}
}
movieClip 3820 {
}
movieClip 3839 {
}
movieClip 3857 {
}
movieClip 3860 {
}
movieClip 3964 {
}
movieClip 3966 {
}
movieClip 3968 {
}
movieClip 3971 {
}
movieClip 3973 {
}
movieClip 4002 {
}
movieClip 4012 {
}
movieClip 4177 {
}
movieClip 4194 {
}
movieClip 4216 {
}
movieClip 4218 {
}
movieClip 4220 {
}
movieClip 4222 {
}
movieClip 4224 {
}
movieClip 4233 {
}
movieClip 4235 {
}
movieClip 4237 {
}
movieClip 4343 {
}
movieClip 4345 {
}
movieClip 4347 {
}
movieClip 4355 {
}
movieClip 4379 {
}
movieClip 4381 {
frame 1 {
function camControl() {
parentColor.setTransform(camColor.getTransform());
var v4 = sX / this._width;
var v3 = sY / this._height;
_parent._x = cX - this._x * v4;
_parent._y = cY - this._y * v3;
_parent._xscale = 100 * v4;
_parent._yscale = 100 * v3;
}
function resetStage() {
var v2 = {'ra': 100, 'rb': 0, 'ga': 100, 'gb': 0, 'ba': 100, 'bb': 0, 'aa': 100, 'ab': 0};
parentColor.setTransform(v2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = 'exactFit';
var cX = Stage.width / 2;
var cY = Stage.height / 2;
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
}
}
movieClip 4385 {
}
movieClip 4387 {
}
movieClip 4394 {
}
movieClip 4396 {
}
movieClip 4398 {
}
movieClip 4402 {
}
movieClip 4407 {
}
movieClip 4411 {
}
movieClip 4416 {
}
movieClip 4418 {
}
movieClip 4420 {
}
movieClip 4423 {
}
movieClip 4424 {
}
movieClip 4426 {
}
movieClip 4427 {
}
movieClip 4436 {
}
movieClip 4439 {
}
movieClip 4440 {
}
movieClip 4443 {
}
movieClip 4449 {
}
movieClip 4451 {
}
movieClip 4452 {
}
movieClip 4453 {
}
movieClip 4457 {
}
movieClip 4459 {
}
movieClip 4464 {
}
movieClip 4518 {
}
movieClip 4538 {
}
frame 9348 {
gotoAndPlay(4);
}