Frame 1
stop();
Instance of Symbol 6 MovieClip in Frame 1
onClipEvent (enterFrame) {
stage.showMenu = false;
_root.b_loaded = _root.getBytesLoaded();
_root.b_total = _root.getBytesTotal();
_root.percent = Math.round((_root.b_loaded / _root.b_total) * 100);
this._width = _root.percent * 18;
if (_root.percent >= 10) {
_root.play();
}
}
Instance of Symbol 12 MovieClip "overlay" in Frame 1
onClipEvent (load) {
this.swapDepths(16000);
}
Frame 2
stop();
Instance of Symbol 6 MovieClip in Frame 2
onClipEvent (enterFrame) {
_root.b_loaded = _root.getBytesLoaded();
_root.b_total = _root.getBytesTotal();
_root.percent = Math.round((_root.b_loaded / _root.b_total) * 100);
this._width = _root.percent * 1.8;
if (_root.percent == 100) {
_root.play();
}
}
Frame 3
_root.xfile = "http://www.eviludy.net/server/highscores/scores.php";
Frame 41
stop();
Frame 42
function newVars() {
_root.bought = 0;
_root.price1 = 800;
_root.price2 = 250;
_root.price3 = 1600;
_root.totalscore = 0;
_root.levelnumb = 1;
_root.maxShooter = 15;
_root.weaponUp = 1;
_root.score = 0;
_root.enemy_type_1_speed = 1;
_root.enemy_type_1_speedb = 2;
_root.enemy_type_1_health = 2;
_root.enemy_type_2_speed = 1;
_root.enemy_type_2_speedb = 3;
_root.enemy_type_2_health = 5;
_root.enemy_type_3_speed = 1;
_root.enemy_type_3_speedb = 4;
_root.enemy_type_3_health = 9;
_root.totalhealth = 200;
_root.maxhealth = 200;
_root.bullets2 = 0;
_root.weapon2 = false;
_root.bullets3 = 0;
_root.weapon3 = false;
_root.bullets4 = 0;
_root.weapon4 = false;
_root.bullets5 = 0;
_root.weapon5 = false;
_root.bullets6 = 0;
_root.weapon6 = false;
_root.bullets7 = 0;
_root.weapon7 = false;
_root.bullets8 = 0;
_root.weapon8 = false;
_root.bullets9 = 0;
_root.weapon9 = false;
}
stop();
_root.framer4 = false;
_root.curbullets = 0;
_root.score = 0;
_root.actionx = 1;
_root.dadskjrgkjldsv = false;
Instance of Symbol 179 MovieClip in Frame 42
onClipEvent (load) {
if (_root.axiony == 8) {
this.gotoAndStop(2);
}
}
Instance of Symbol 12 MovieClip "overlay" in Frame 42
onClipEvent (load) {
this.swapDepths(16000);
}
Instance of Symbol 182 MovieClip in Frame 42
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
Mouse.hide();
}
onClipEvent (mouseDown) {
this.gotoAndStop(2);
}
onClipEvent (mouseUp) {
this.gotoAndStop(1);
}
onClipEvent (load) {
this.swapDepths(16001);
}
onClipEvent (enterFrame) {
function button1(obj, item) {
_root.weaponUp = 1;
}
function button2(obj, item) {
_root.weaponUp = 2;
}
function button3(obj, item) {
_root.weaponUp = 3;
}
function button4(obj, item) {
_root.weaponUp = 4;
}
function button5(obj, item) {
_root.weaponUp = 5;
}
function button6(obj, item) {
_root.weaponUp = 6;
}
function button7(obj, item) {
_root.weaponUp = 7;
}
function button8(obj, item) {
_root.weaponUp = 8;
}
function button9(obj, item) {
_root.weaponUp = 9;
}
function button10(obj, item) {
_root._quality = "HIGH";
}
function button11(obj, item) {
_root._quality = "MEDIUM";
}
function button12(obj, item) {
_root._quality = "LOW";
}
function button13(obj, item) {
getURL ("http://www.eviludy.net", "_blank");
}
function button14(obj, item) {
getURL ("http://www.armorgames.com/", "_blank");
}
cm = new ContextMenu();
cm.hideBuiltInItems();
cm.customItems.push(new ContextMenuItem("Weapon 1", button1));
cm.customItems.push(new ContextMenuItem("Weapon 2", button2));
cm.customItems.push(new ContextMenuItem("Weapon 3", button3));
cm.customItems.push(new ContextMenuItem("Weapon 4", button4));
cm.customItems.push(new ContextMenuItem("Weapon 5", button5));
cm.customItems.push(new ContextMenuItem("Weapon 6", button6));
cm.customItems.push(new ContextMenuItem("Weapon 7", button7));
cm.customItems.push(new ContextMenuItem("Weapon 8", button8));
cm.customItems.push(new ContextMenuItem("Weapon 9", button9));
cm.customItems.push(new ContextMenuItem("High Quality", button10));
cm.customItems.push(new ContextMenuItem("Medium Quality", button11));
cm.customItems.push(new ContextMenuItem("Low Quality", button12));
cm.customItems.push(new ContextMenuItem("Lots of fun Stuff!", button13));
cm.customItems.push(new ContextMenuItem("Play more Games!", button14));
cm.customItems[9].separatorBefore = true;
cm.customItems[12].separatorBefore = true;
if (_root.weapon2 == true) {
cm.customItems[1].enabled = true;
} else if (_root.weapon2 == false) {
cm.customItems[1].enabled = false;
}
if (_root.weapon3 == true) {
cm.customItems[2].enabled = true;
} else if (_root.weapon3 == false) {
cm.customItems[2].enabled = false;
}
if (_root.weapon4 == true) {
cm.customItems[3].enabled = true;
} else if (_root.weapon4 == false) {
cm.customItems[3].enabled = false;
}
if (_root.weapon5 == true) {
cm.customItems[4].enabled = true;
} else if (_root.weapon5 == false) {
cm.customItems[4].enabled = false;
}
if (_root.weapon6 == true) {
cm.customItems[5].enabled = true;
} else if (_root.weapon6 == false) {
cm.customItems[5].enabled = false;
}
if (_root.weapon7 == true) {
cm.customItems[6].enabled = true;
} else if (_root.weapon7 == false) {
cm.customItems[6].enabled = false;
}
if (_root.weapon8 == true) {
cm.customItems[7].enabled = true;
} else if (_root.weapon8 == false) {
cm.customItems[7].enabled = false;
}
if (_root.weapon9 == true) {
cm.customItems[8].enabled = true;
} else if (_root.weapon9 == false) {
cm.customItems[8].enabled = false;
}
_root.menu = cm;
}
Frame 43
function shoot() {
if (_root.weaponUp == 2) {
_root.bullets2--;
}
if (_root.weaponUp == 3) {
_root.bullets3--;
}
if (_root.weaponUp == 4) {
_root.bullets4--;
}
if (_root.weaponUp == 5) {
_root.bullets5--;
}
if (_root.weaponUp == 6) {
_root.bullets6--;
}
if (_root.weaponUp == 7) {
_root.bullets7--;
}
if (_root.weaponUp == 8) {
_root.bullets8--;
}
if (_root.weaponUp == 9) {
_root.bullets9--;
}
duplicateMovieClip ("kogel", "kogel" + _root.a, _root.a);
_root["kogel" + _root.a]._x = _root.chopper._x;
_root["kogel" + _root.a]._y = _root.chopper._y + 12;
_root["kogel" + _root.a]._xscale = _root.chopper._xscale;
_root["kogel" + _root.a]._rotation = _root.chopper._rotation;
_root["kogel" + _root.a].weaponUp = _root.weaponUp;
_root.a++;
}
stop();
_root.framer4 = false;
_root.dadskjrgkjldsv = true;
_root.shielder = 0;
_root.a = 0;
_root._quality = "MEDIUM";
_root.maxShooter = 15;
_root.weaponUp = 1;
_root.shields = false;
_root.score = 0;
_root.enemy_type_1_speed = 1.5;
_root.enemy_type_1_speedb = 2.5;
_root.enemy_type_1_health = 2;
_root.mini_killed = 0;
_root.enemy_type_2_speed = 2;
_root.enemy_type_2_speedb = 3.5;
_root.enemy_type_2_health = 5;
_root.medi_killed = 0;
_root.enemy_type_3_speed = 2.5;
_root.enemy_type_3_speedb = 5;
_root.enemy_type_3_health = 7;
_root.mega_killed = 0;
_root.totalhealth = 200;
_root.maxhealth = 200;
_root.dont_pick_it_up = 1;
_root.bullets2 = 0;
_root.weapon2 = false;
_root.bullets3 = 0;
_root.weapon3 = false;
_root.bullets4 = 0;
_root.weapon4 = false;
_root.bullets5 = 0;
_root.weapon5 = false;
_root.bullets6 = 0;
_root.weapon6 = false;
_root.bullets7 = 0;
_root.weapon7 = false;
_root.bullets8 = 0;
_root.weapon8 = false;
_root.bullets9 = 0;
_root.weapon9 = false;
Instance of Symbol 267 MovieClip "chopper" in Frame 43
onClipEvent (load) {
dead = false;
bg_er = 0;
bg_ir = 0;
pausecounting = false;
pausecount = 0;
chopdirection = 0;
i = 1;
o = 1;
accelleration = 0.2;
gravitation = 0.2;
savage = 2;
shooter = 0;
shootcount = false;
_root.pausegame = false;
}
onClipEvent (load) {
this.swapDepths(15998);
}
onClipEvent (enterFrame) {
if (dead == true) {
_alpha = (_alpha - 2);
if (_alpha < 2) {
_root.lister = 2;
this._visible = false;
_root.actionx = 22;
stopAllSounds();
_alpha = 100;
_root.nextFrame();
}
if (_root.dadskjrgkjldsv == false) {
this.removeMovieClip();
}
}
if ((_root.pausegame == false) && (dead == false)) {
if (_root.shielder > 0) {
_root.shielder--;
}
if (_root.totalhealth < 1) {
dead = true;
}
if (_root.shielder == 0) {
_root.shields = false;
}
if ((Key.isDown(32) && (shooter == 0)) && (shootcount == false)) {
_root.shoot();
shoot = new Sound();
shoot.attachSound("shoot");
shoot.start(0, 0);
shootcount = true;
}
if (shootcount == true) {
shooter++;
if (shooter == _root.maxShooter) {
shooter = 0;
shootcount = false;
}
}
if (_y > 275) {
_y = 275;
}
if (_y < 75) {
_y = 75;
}
if (savage == 2) {
if ((_rotation > 0) && (chopdirection == 1)) {
_rotation = (_rotation-1);
}
if ((_rotation < 0) && (chopdirection == 2)) {
_rotation = (_rotation+1);
}
if (o > 1) {
xar = accelleration * (o / 4);
_y = (_y - xar);
o = o - 0.5;
if (_y < 100) {
_y = (_y + xar);
_root.backgroundclip._y = _root.backgroundclip._y - xar;
bg_ir = bg_ir - xar;
if (bg_ir > 320) {
_y = (_y - xar);
bg_ir = bg_ir - xar;
_root.backgroundclip._y = _root.backgroundclip._y + xar;
o = 1;
}
}
}
if (o == 1) {
yar = gravitation * i;
_y = (_y + yar);
i = i + 0.5;
if (_y > 250) {
_y = (_y - yar);
_root.backgroundclip._y = _root.backgroundclip._y - yar;
bg_ir = bg_ir - yar;
if (bg_ir <= 0) {
bg_ir = bg_ir + yar;
i = i - 0.5;
_y = (_y + yar);
_root.backgroundclip._y = _root.backgroundclip._y + yar;
}
}
}
} else if (savage == 1) {
if (i > 1) {
yar = gravitation * (i / 3);
_y = (_y + yar);
i = i - 0.5;
if (_y > 250) {
_y = (_y - yar);
_root.backgroundclip._y = _root.backgroundclip._y - yar;
bg_ir = bg_ir - yar;
if (bg_ir <= 0) {
_y = (_y + yar);
bg_ir = bg_ir + yar;
_root.backgroundclip._y = _root.backgroundclip._y + yar;
i = 1;
}
}
}
if (i == 1) {
xar = accelleration * o;
_y = (_y - xar);
o = o + 0.5;
if (_y < 100) {
_y = (_y + xar);
_root.backgroundclip._y = _root.backgroundclip._y + xar;
bg_ir = bg_ir + xar;
if (bg_ir > 320) {
bg_ir = bg_ir - xar;
o = o - 0.5;
_y = (_y - xar);
_root.backgroundclip._y = _root.backgroundclip._y - xar;
}
}
}
}
if (distance > 0) {
if (chopdirection == 1) {
if ((_rotation < 25) && (savage == 1)) {
this._rotation++;
}
subtractor = distance / 10;
_x = (_x + subtractor);
if ((_x > 500) && (bg_er < 600)) {
_x = (_x - subtractor);
poofx = poofx - subtractor;
_root.backgroundclip._x = _root.backgroundclip._x - (subtractor * 2);
bg_er = bg_er + (subtractor * 2);
}
if (x > 610) {
_x = (_x - addor);
poofx = poofx - addor;
}
distance = poofx - _x;
}
if (chopdirection == 2) {
if ((_rotation > -25) && (savage == 1)) {
this._rotation--;
}
addor = distance / 10;
_x = (_x - addor);
if ((_x < 150) && (bg_er > -600)) {
_x = (_x + addor);
poofx = poofx + addor;
_root.backgroundclip._x = _root.backgroundclip._x + (addor * 2);
bg_er = bg_er - (addor * 2);
}
if (x < 40) {
_x = (_x + addor);
poofx = poofx + addor;
}
distance = _x - poofx;
}
}
if ((_root.bullets2 < 1) && (_root.weaponUp == 2)) {
_root.weaponUp = 1;
}
if ((_root.bullets3 < 1) && (_root.weaponUp == 3)) {
_root.weaponUp = 3;
}
if ((_root.bullets4 < 1) && (_root.weaponUp == 4)) {
_root.weaponUp = 4;
}
if ((_root.bullets5 < 1) && (_root.weaponUp == 5)) {
_root.weaponUp = 5;
}
if ((_root.bullets6 < 1) && (_root.weaponUp == 6)) {
_root.weaponUp = 6;
}
if ((_root.bullets7 < 1) && (_root.weaponUp == 7)) {
_root.weaponUp = 7;
}
if ((_root.bullets8 < 1) && (_root.weaponUp == 8)) {
_root.weaponUp = 8;
}
if ((_root.bullets9 < 1) && (_root.weaponUp == 9)) {
_root.weaponUp = 9;
}
}
if (Key.isDown(80) && (pausecount == 0)) {
pausecounting = true;
if (_root.pausegame == false) {
_root.pausegame = true;
} else if (_root.pausegame == true) {
_root.pausegame = false;
}
}
if (pausecounting == true) {
pausecount++;
}
if (pausecount == 30) {
pausecount = 0;
pausecounting = false;
}
_root.bg_er = bg_er;
_root.bg_ir = bg_ir;
}
onClipEvent (mouseDown) {
if (_root.pausegame == false) {
savage = 1;
poofx = _root._xmouse;
if (_root._xmouse > _x) {
_xscale = 100;
distance = _root._xmouse - _x;
chopdirection = 1;
} else if (_root._xmouse < _x) {
_xscale = -100;
distance = _x - _root._xmouse;
chopdirection = 2;
}
}
}
onClipEvent (mouseUp) {
if (_root.pausegame == false) {
savage = 2;
}
}
Instance of Symbol 278 MovieClip "kogel" in Frame 43
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
this.gotoAndStop(weaponUp);
if (_xscale == 100) {
this._x = this._x + 20;
this._y = this._y + ((_rotation / 10) * 4.5);
}
if (_xscale == -100) {
this._x = this._x - 20;
this._y = this._y - ((_rotation / 10) * 4.5);
}
if (!this.hitTest(_root.backgroundclip)) {
this.removeMovieClip();
}
if (_root.weaponUp == 1) {
_root.curbullets = 0;
} else if (_root.weaponUp == 2) {
_root.curbullets = _root.bullets2;
} else if (_root.weaponUp == 3) {
_root.curbullets = _root.bullets3;
} else if (_root.weaponUp == 4) {
_root.curbullets = _root.bullets4;
} else if (_root.weaponUp == 5) {
_root.curbullets = _root.bullets5;
} else if (_root.weaponUp == 6) {
_root.curbullets = _root.bullets6;
} else if (_root.weaponUp == 7) {
_root.curbullets = _root.bullets7;
} else if (_root.weaponUp == 8) {
_root.curbullets = _root.bullets8;
} else if (_root.weaponUp == 9) {
_root.curbullets = _root.bullets9;
}
if ((_root.weaponUp > 1) && (_root.curbullets < 1)) {
_root.weaponUp = 1;
}
}
}
Instance of Symbol 281 MovieClip in Frame 43
onClipEvent (load) {
teh_count_l0rd = 0;
teh_count_l1rd = 0;
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
teh_count_l0rd++;
if ((((((((((teh_count_l0rd == 4200) || (teh_count_l0rd == 8400)) || (teh_count_l0rd == 12600)) || (teh_count_l0rd == 16800)) || (teh_count_l0rd == 21000)) || (teh_count_l0rd == 25200)) || (teh_count_l0rd == 29400)) || (teh_count_l0rd == 33600)) || (teh_count_l0rd == 37800)) || (teh_count_l0rd == 42000)) {
lolblink = "HEALTH UPGRADE";
upgrade = new Sound();
upgrade.attachSound("upgrade");
upgrade.start(0, 0);
_visible = true;
_root.maxhealth = _root.maxhealth + 5;
teh_count_l1rd++;
}
if ((((teh_count_l0rd == 10500) || (teh_count_l0rd == 31500)) || (teh_count_l0rd == 52500)) || (teh_count_l0rd == 73500)) {
lolblink = "SHOOTING UPGRADE";
upgrade = new Sound();
upgrade.attachSound("upgrade");
upgrade.start(0, 0);
_visible = true;
_root.maxShooter = _root.maxShooter - 2;
teh_count_l1rd++;
}
if (((teh_count_l0rd == 21000) || (teh_count_l0rd == 63000)) || (teh_count_l0rd == 105000)) {
lolblink = "HEALTH UPGRADE";
upgrade = new Sound();
upgrade.attachSound("upgrade");
upgrade.start(0, 0);
_visible = true;
_root.chopper.accelleration = _root.chopper.accelleration + 0.01;
teh_count_l1rd++;
}
if (teh_count_l1rd > 0) {
teh_count_l1rd++;
if (teh_count_l1rd == 140) {
teh_count_l1rd = 0;
_visible = false;
}
}
}
}
Instance of Symbol 285 MovieClip in Frame 43
onClipEvent (enterFrame) {
if (_root.pausegame == true) {
this._visible = true;
} else if (_root.pausegame == false) {
this._visible = false;
}
}
onClipEvent (load) {
if (_root.pausegame == true) {
this._visible = true;
} else if (_root.pausegame == false) {
this._visible = false;
}
}
onClipEvent (load) {
this.swapDepths(15999);
}
Instance of Symbol 302 MovieClip "overlay" in Frame 43
onClipEvent (load) {
this.swapDepths(16000);
}
onClipEvent (enterFrame) {
if (_root.dadskjrgkjldsv == false) {
this._visible = false;
}
}
Frame 44
function newVars() {
_root.bought = 0;
_root.price1 = 800;
_root.price2 = 250;
_root.price3 = 1600;
_root.totalscore = 0;
_root.levelnumb = 1;
_root.maxShooter = 15;
_root.weaponUp = 1;
_root.score = 0;
_root.enemy_type_1_speed = 1;
_root.enemy_type_1_speedb = 2;
_root.enemy_type_1_health = 2;
_root.enemy_type_2_speed = 1;
_root.enemy_type_2_speedb = 3;
_root.enemy_type_2_health = 5;
_root.enemy_type_3_speed = 1;
_root.enemy_type_3_speedb = 4;
_root.enemy_type_3_health = 9;
_root.totalhealth = 200;
_root.maxhealth = 200;
_root.bullets2 = 0;
_root.weapon2 = false;
_root.bullets3 = 0;
_root.weapon3 = false;
_root.bullets4 = 0;
_root.weapon4 = false;
_root.bullets5 = 0;
_root.weapon5 = false;
_root.bullets6 = 0;
_root.weapon6 = false;
_root.bullets7 = 0;
_root.weapon7 = false;
_root.bullets8 = 0;
_root.weapon8 = false;
_root.bullets9 = 0;
_root.weapon9 = false;
}
_root.dadskjrgkjldsv = false;
_root.axiony = 0;
_root.framer4 = false;
Instance of Symbol 356 MovieClip in Frame 44
onClipEvent (load) {
if (_root.actionx == 3) {
this.gotoAndStop(2);
}
if (_root.actionx == 22) {
this.gotoAndStop(1);
}
}
Instance of Symbol 12 MovieClip "overlay" in Frame 44
onClipEvent (load) {
this.swapDepths(16000);
}
Frame 45
function duplicate1enemy() {
_root.enmduplication++;
_root.enemy1.duplicateMovieClip("enemy1" + _root.enmduplication, _root.enmduplication + 4000);
_root["enemy1" + _root.enmduplication]._x = 680;
_root["enemy1" + _root.enmduplication]._y = (Math.random() * 300) + 25;
}
function duplicate2enemy() {
_root.enmduplication++;
_root.enemy2.duplicateMovieClip("enemy1" + _root.enmduplication, _root.enmduplication + 4000);
_root["enemy1" + _root.enmduplication]._x = 680;
_root["enemy1" + _root.enmduplication]._y = (Math.random() * 300) + 25;
}
function duplicate3enemy() {
_root.enmduplication++;
_root.enemy3.duplicateMovieClip("enemy1" + _root.enmduplication, _root.enmduplication + 4000);
_root["enemy1" + _root.enmduplication]._x = 680;
_root["enemy1" + _root.enmduplication]._y = (Math.random() * 300) + 25;
}
_root.enmduplication = 0;
_root.level_complete = false;
_root.enemy_type_1_speed = 1;
_root.enemy_type_1_speedb = 7;
_root.enemy_type_1_health = 2;
_root.enemy_type_2_speed = 1;
_root.enemy_type_2_speedb = 8;
_root.enemy_type_2_health = 5;
_root.enemy_type_3_speed = 1;
_root.enemy_type_3_speedb = 9;
_root.enemy_type_3_health = 7;
function shoot() {
if (_root.weaponUp == 2) {
_root.bullets2--;
}
if (_root.weaponUp == 3) {
_root.bullets3--;
}
if (_root.weaponUp == 4) {
_root.bullets4--;
}
if (_root.weaponUp == 5) {
_root.bullets5--;
}
if (_root.weaponUp == 6) {
_root.bullets6--;
}
if (_root.weaponUp == 7) {
_root.bullets7--;
}
if (_root.weaponUp == 8) {
_root.bullets8--;
}
if (_root.weaponUp == 9) {
_root.bullets9--;
}
duplicateMovieClip ("kogel", "kogel" + _root.a, _root.a);
_root["kogel" + _root.a]._x = _root.chopper._x;
_root["kogel" + _root.a]._y = _root.chopper._y + 12;
_root["kogel" + _root.a]._xscale = _root.chopper._xscale;
_root["kogel" + _root.a]._rotation = _root.chopper._rotation;
_root["kogel" + _root.a].weaponUp = _root.weaponUp;
_root.a++;
}
stop();
_root.dadskjrgkjldsv = true;
_root.shielder = 0;
_root.a = 0;
_root.framer4 = true;
_root.killsA = 0;
_root.killsB = 0;
_root.killsC = 0;
_root.shields = false;
_root.mini_killed = 0;
_root.medi_killed = 0;
_root.mega_killed = 0;
_root.dont_pick_it_up = 1;
Instance of Symbol 365 MovieClip "enemy1" in Frame 45
onClipEvent (load) {
speed = _root.enemy_type_1_speed;
speedb = _root.enemy_type_1_speedb;
health = _root.enemy_type_1_health;
dead = false;
dead2 = false;
}
onClipEvent (enterFrame) {
if (dead2 == true) {
this.removeMovieClip();
}
if (_root.level_complete == true) {
this.gotoAndStop(3);
}
if (_root.framer4 == false) {
this.removeMovieClip();
}
if ((_root.pausegame == false) && (dead == false)) {
if (this.hitTest(_root.backgroundclip.comet.inside.inside)) {
this.gotoAndStop(3);
}
if (_x < -200) {
_root.killsA++;
dead = true;
this.removeMovieClip();
}
xvalueinroot = _x;
yvalueinroot = _y;
difference = _root.chopper._x - xvalueinroot;
if (_root.chopper._y > yvalueinroot) {
_y = (_y + speed);
} else if (_root.chopper._y < yvalueinroot) {
_y = (_y - speed);
}
if (xvalueinroot < _root.chopper._x) {
_x = (_x - speedb);
}
maxima = _root.chopper._y + 30;
minima = _root.chopper._y - 30;
if (difference > 0) {
if (difference > 140) {
disc = true;
} else {
disc = false;
if ((yvalueinroot > minima) && (yvalueinroot < maxima)) {
this.kebeng._visible = true;
this.kebeng.play();
}
}
} else if (difference < 0) {
if (difference < -140) {
disc = true;
_x = (_x - speedb);
} else {
disc = false;
if ((yvalueinroot > minima) && (yvalueinroot < maxima)) {
this.kebeng._visible = true;
this.kebeng.play();
}
}
}
i = 0;
while (i < (_root.a + 1)) {
if (this.hitTest(_root["kogel" + i])) {
if ((_root.chopper._xscale == -100) && (xvalueinroot <= _root.chopper._x)) {
this.gotoAndStop(2);
bullethit = i;
} else if ((_root.chopper._xscale == 100) && (xvalueinroot > _root.chopper._x)) {
this.gotoAndStop(2);
bullethit = i;
}
}
i++;
}
}
}
Instance of Symbol 370 MovieClip "enemy2" in Frame 45
onClipEvent (load) {
speed = _root.enemy_type_2_speed;
speedb = _root.enemy_type_2_speedb;
health = _root.enemy_type_2_health;
dead = false;
dead2 = false;
}
onClipEvent (enterFrame) {
if (dead2 == true) {
this.removeMovieClip();
}
if (_root.framer4 == false) {
this.removeMovieClip();
}
if (_root.level_complete == true) {
this.gotoAndStop(3);
}
if ((_root.pausegame == false) && (dead == false)) {
xvalueinroot = _x;
yvalueinroot = _y;
difference = _root.chopper._x - xvalueinroot;
if (this.hitTest(_root.backgroundclip.comet.inside.inside)) {
this.gotoAndStop(3);
}
if (_x < -200) {
_root.killsB++;
dead = true;
this.removeMovieClip();
}
if (_root.chopper._y > yvalueinroot) {
_y = (_y + speed);
} else if (_root.chopper._y < yvalueinroot) {
_y = (_y - speed);
}
if (xvalueinroot < _root.chopper._x) {
_x = (_x - speedb);
}
maxima = _root.chopper._y + 80;
minima = _root.chopper._y - 80;
if (difference > 0) {
if (difference > 200) {
disc = true;
} else {
disc = false;
if ((yvalueinroot > minima) && (yvalueinroot < maxima)) {
this.kebeng._visible = true;
this.kebeng.play();
}
}
} else if (difference < 0) {
if (difference < -200) {
disc = true;
_x = (_x - speedb);
} else {
disc = false;
if ((yvalueinroot > minima) && (yvalueinroot < maxima)) {
this.kebeng._visible = true;
this.kebeng.play();
}
}
}
i = 0;
while (i < (_root.a + 1)) {
if (this.hitTest(_root["kogel" + i])) {
if ((_root.chopper._xscale == -100) && (xvalueinroot <= _root.chopper._x)) {
this.gotoAndStop(2);
bullethit = i;
} else if ((_root.chopper._xscale == 100) && (xvalueinroot > _root.chopper._x)) {
this.gotoAndStop(2);
bullethit = i;
}
}
i++;
}
}
}
Instance of Symbol 375 MovieClip "enemy3" in Frame 45
onClipEvent (load) {
speed = _root.enemy_type_3_speed;
speedb = _root.enemy_type_3_speedb;
health = _root.enemy_type_3_health;
dead = false;
dead2 = false;
}
onClipEvent (enterFrame) {
if (dead2 == true) {
this.removeMovieClip();
}
if (_root.framer4 == false) {
this.removeMovieClip();
}
if (_root.level_complete == true) {
this.gotoAndStop(3);
}
if ((_root.pausegame == false) && (dead == false)) {
xvalueinroot = _x;
yvalueinroot = _y;
difference = _root.chopper._x - xvalueinroot;
if (this.hitTest(_root.backgroundclip.comet.inside.inside)) {
this.gotoAndStop(3);
}
if (_x < -200) {
_root.killsC++;
dead = true;
this.removeMovieClip();
}
if (_root.chopper._y > yvalueinroot) {
_y = (_y + speed);
} else if (_root.chopper._y < yvalueinroot) {
_y = (_y - speed);
}
if (xvalueinroot < _root.chopper._x) {
_x = (_x - speedb);
}
maxima = _root.chopper._y + 80;
minima = _root.chopper._y - 80;
if (difference > 0) {
if (difference > 200) {
disc = true;
} else {
disc = false;
if ((yvalueinroot > minima) && (yvalueinroot < maxima)) {
this.kebeng._visible = true;
this.kebeng.play();
}
}
} else if (difference < 0) {
if (difference < -200) {
disc = true;
_x = (_x - speedb);
} else {
disc = false;
if ((yvalueinroot > minima) && (yvalueinroot < maxima)) {
this.kebeng._visible = true;
this.kebeng.play();
}
}
}
i = 0;
while (i < (_root.a + 1)) {
if (this.hitTest(_root["kogel" + i])) {
if ((_root.chopper._xscale == -100) && (xvalueinroot <= _root.chopper._x)) {
this.gotoAndStop(2);
bullethit = i;
} else if ((_root.chopper._xscale == 100) && (xvalueinroot > _root.chopper._x)) {
this.gotoAndStop(2);
bullethit = i;
}
}
i++;
}
}
}
Instance of Symbol 200 MovieClip "pickup1" in Frame 45
onClipEvent (enterFrame) {
if (_root.level_complete == true) {
this.removeMovieClip();
}
if (_root.framer4 == false) {
this.removeMovieClip();
}
}
Instance of Symbol 152 MovieClip "pickup2" in Frame 45
onClipEvent (enterFrame) {
if (_root.level_complete == true) {
this.removeMovieClip();
}
if (_root.framer4 == false) {
this.removeMovieClip();
}
}
Instance of Symbol 211 MovieClip "pickup3" in Frame 45
onClipEvent (enterFrame) {
if (_root.level_complete == true) {
this.removeMovieClip();
}
if (_root.framer4 == false) {
this.removeMovieClip();
}
}
Instance of Symbol 213 MovieClip "pickup4" in Frame 45
onClipEvent (enterFrame) {
if (_root.level_complete == true) {
this.removeMovieClip();
}
if (_root.framer4 == false) {
this.removeMovieClip();
}
}
Instance of Symbol 215 MovieClip "pickup5" in Frame 45
onClipEvent (enterFrame) {
if (_root.level_complete == true) {
this.removeMovieClip();
}
if (_root.framer4 == false) {
this.removeMovieClip();
}
}
Instance of Symbol 158 MovieClip "pickup6" in Frame 45
onClipEvent (enterFrame) {
if (_root.level_complete == true) {
this.removeMovieClip();
}
if (_root.framer4 == false) {
this.removeMovieClip();
}
}
Instance of Symbol 164 MovieClip "pickup7" in Frame 45
onClipEvent (enterFrame) {
if (_root.level_complete == true) {
this.removeMovieClip();
}
if (_root.framer4 == false) {
this.removeMovieClip();
}
}
Instance of Symbol 170 MovieClip "pickup8" in Frame 45
onClipEvent (enterFrame) {
if (_root.level_complete == true) {
this.removeMovieClip();
}
if (_root.framer4 == false) {
this.removeMovieClip();
}
}
Instance of Symbol 125 MovieClip "pickup9" in Frame 45
onClipEvent (enterFrame) {
if (_root.level_complete == true) {
this.removeMovieClip();
}
if (_root.framer4 == false) {
this.removeMovieClip();
}
}
Instance of Symbol 129 MovieClip "pickup10" in Frame 45
onClipEvent (enterFrame) {
if (_root.level_complete == true) {
this.removeMovieClip();
}
if (_root.framer4 == false) {
this.removeMovieClip();
}
}
Instance of Symbol 230 MovieClip "pickup11" in Frame 45
onClipEvent (enterFrame) {
if (_root.level_complete == true) {
this.removeMovieClip();
}
if (_root.framer4 == false) {
this.removeMovieClip();
}
}
Instance of Symbol 236 MovieClip "pickup12" in Frame 45
onClipEvent (enterFrame) {
if (_root.level_complete == true) {
this.removeMovieClip();
}
if (_root.framer4 == false) {
this.removeMovieClip();
}
}
Instance of Symbol 242 MovieClip "pickup13" in Frame 45
onClipEvent (enterFrame) {
if (_root.level_complete == true) {
this.removeMovieClip();
}
if (_root.framer4 == false) {
this.removeMovieClip();
}
}
Instance of Symbol 248 MovieClip "pickup14" in Frame 45
onClipEvent (enterFrame) {
if (_root.level_complete == true) {
this.removeMovieClip();
}
if (_root.framer4 == false) {
this.removeMovieClip();
}
}
Instance of Symbol 137 MovieClip "pickup15" in Frame 45
onClipEvent (enterFrame) {
if (_root.level_complete == true) {
this.removeMovieClip();
}
if (_root.framer4 == false) {
this.removeMovieClip();
}
}
Instance of Symbol 145 MovieClip "pickup16" in Frame 45
onClipEvent (enterFrame) {
if (_root.level_complete == true) {
this.removeMovieClip();
}
if (_root.framer4 == false) {
this.removeMovieClip();
}
}
Instance of Symbol 250 MovieClip "pickup17" in Frame 45
onClipEvent (enterFrame) {
if (_root.level_complete == true) {
this.removeMovieClip();
}
if (_root.framer4 == false) {
this.removeMovieClip();
}
}
Instance of Symbol 252 MovieClip "pickup18" in Frame 45
onClipEvent (enterFrame) {
if (_root.level_complete == true) {
this.removeMovieClip();
}
if (_root.framer4 == false) {
this.removeMovieClip();
}
}
Instance of Symbol 267 MovieClip "chopper" in Frame 45
onClipEvent (load) {
dead = false;
pausecounting = false;
pausecount = 0;
chopdirection = 0;
i = 1;
o = 1;
accelleration = 0.15;
gravitation = 0.15;
savage = 2;
shooter = 0;
shootcount = false;
_root.pausegame = false;
}
onClipEvent (load) {
this.swapDepths(15998);
}
onClipEvent (enterFrame) {
if (_root.level_complete == false) {
if (dead == true) {
_alpha = (_alpha - 2);
if (_alpha < 2) {
_root.lister = 1;
this._visible = false;
_root.actionx = 22;
stopAllSounds();
i = 0;
while (i < 16010) {
_root.removeMovieClip(i);
removeMovieClip(i);
i++;
}
this._visible = false;
_alpha = 100;
_root.prevFrame();
}
if (_root.dadskjrgkjldsv == false) {
this.removeMovieClip();
}
}
if ((_root.pausegame == false) && (dead == false)) {
if (_root.shielder > 0) {
_root.shielder--;
}
if (_y > 275) {
_y = 275;
}
if (_y < 75) {
_y = 75;
}
if (Key.isDown(38)) {
_y = (_y - 5);
}
if (Key.isDown(40)) {
_y = (_y + 5);
}
if (_x < 20) {
_x = 20;
}
if ((_x > 650) && (_root.level_complete == false)) {
_x = 650;
}
if (_root.totalhealth < 1) {
dead = true;
}
if (_root.shielder == 0) {
_root.shields = false;
}
if ((Key.isDown(32) && (shooter == 0)) && (shootcount == false)) {
_root.shoot();
shoot = new Sound();
shoot.attachSound("shoot");
shoot.start(0, 0);
shootcount = true;
}
if (shootcount == true) {
shooter++;
if (shooter == _root.maxShooter) {
shooter = 0;
shootcount = false;
}
}
if ((!Key.isDown(39)) && (!Key.isDown(37))) {
if ((_rotation > 0) && (r == 1)) {
_rotation = (_rotation-1);
}
if ((_rotation < 0) && (r == 2)) {
_rotation = (_rotation+1);
}
}
if (Key.isDown(39)) {
if (_rotation < 15) {
this._rotation++;
}
r = 1;
_x = (_x + 9);
}
if (Key.isDown(37)) {
if (_rotation > -15) {
this._rotation--;
}
r = 2;
_x = (_x - 9);
}
if ((_root.bullets2 < 1) && (_root.weaponUp == 2)) {
_root.weaponUp = 1;
}
if ((_root.bullets3 < 1) && (_root.weaponUp == 3)) {
_root.weaponUp = 3;
}
if ((_root.bullets4 < 1) && (_root.weaponUp == 4)) {
_root.weaponUp = 4;
}
if ((_root.bullets5 < 1) && (_root.weaponUp == 5)) {
_root.weaponUp = 5;
}
if ((_root.bullets6 < 1) && (_root.weaponUp == 6)) {
_root.weaponUp = 6;
}
if ((_root.bullets7 < 1) && (_root.weaponUp == 7)) {
_root.weaponUp = 7;
}
if ((_root.bullets8 < 1) && (_root.weaponUp == 8)) {
_root.weaponUp = 8;
}
if ((_root.bullets9 < 1) && (_root.weaponUp == 9)) {
_root.weaponUp = 9;
}
}
if (Key.isDown(80) && (pausecount == 0)) {
pausecounting = true;
if (_root.pausegame == false) {
_root.pausegame = true;
} else if (_root.pausegame == true) {
_root.pausegame = false;
}
}
if (pausecounting == true) {
pausecount++;
}
if (pausecount == 30) {
pausecount = 0;
pausecounting = false;
}
_root.bg_er = bg_er;
_root.bg_ir = bg_ir;
}
if (_root.level_complete == true) {
if (_x < 710) {
_x = (_x + 8);
} else if (_x >= 710) {
i = 0;
while (i < 16002) {
removeMovieClip(i);
_root.removeMovieClip(i);
i++;
}
_x = -70;
_root.level_complete = false;
_root.gotoAndStop(_root._currentframe + 1);
this.removeMovieClip();
}
}
}
Instance of Symbol 278 MovieClip "kogel" in Frame 45
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
this.gotoAndStop(weaponUp);
if (_xscale == 100) {
this._x = this._x + 20;
this._y = this._y + ((_rotation / 10) * 4.5);
}
if (_xscale == -100) {
this._x = this._x - 20;
this._y = this._y - ((_rotation / 10) * 4.5);
}
if (!this.hitTest(_root.backgroundclip)) {
this.removeMovieClip();
}
if (_root.weaponUp == 1) {
_root.curbullets = 0;
} else if (_root.weaponUp == 2) {
_root.curbullets = _root.bullets2;
} else if (_root.weaponUp == 3) {
_root.curbullets = _root.bullets3;
} else if (_root.weaponUp == 4) {
_root.curbullets = _root.bullets4;
} else if (_root.weaponUp == 5) {
_root.curbullets = _root.bullets5;
} else if (_root.weaponUp == 6) {
_root.curbullets = _root.bullets6;
} else if (_root.weaponUp == 7) {
_root.curbullets = _root.bullets7;
} else if (_root.weaponUp == 8) {
_root.curbullets = _root.bullets8;
} else if (_root.weaponUp == 9) {
_root.curbullets = _root.bullets9;
}
if ((_root.weaponUp > 1) && (_root.curbullets < 1)) {
_root.weaponUp = 1;
}
}
}
Instance of Symbol 377 MovieClip "xx" in Frame 45
onClipEvent (load) {
a1 = _root.levelnumb * 4;
b1 = Math.pow(_root.levelnumb, 2);
c1 = 2;
num1 = (a1 + b1) + c1;
num1 = Math.floor(num1);
if (num1 < 0) {
num1 = 0;
}
a2 = _root.levelnumb - 2;
b2 = Math.pow(_root.levelnumb, 2);
c2 = 4;
num2 = (a2 + b2) - c2;
num2 = Math.floor(num2);
if (num2 < 0) {
num2 = 0;
}
a3 = (_root.levelnumb - _root.levelnumb) - _root.levelnumb;
b3 = Math.pow(_root.levelnumb, 2);
c3 = 3;
num3 = a3 + (b3 / c3);
num3 = Math.floor(num3);
if (num3 < 0) {
num3 = 0;
}
trace(num1);
trace(num2);
trace(num3);
number1 = num1 + 1;
number2 = num2 + 1;
number3 = num3 + 1;
amounter1 = 130 - (_root.levelnumb * 4);
amounter2 = 195 - (_root.levelnumb * 3);
amounter3 = 270 - (_root.levelnumb * 2);
if (amounter1 < 30) {
amounter1 = 30;
}
if (amounter2 < 40) {
amounter2 = 40;
}
if (amounter3 < 50) {
amounter3 = 50;
}
drx1 = amounter1;
drx2 = amounter2;
drx3 = amounter3;
counter = 0;
counter2 = 0;
counter3 = 0;
}
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
counter++;
counter2++;
counter3++;
if ((((((num1 == 0) && (num2 == 0)) && (num3 == 0)) && (_root.killsA >= number1)) && (_root.killsB >= number2)) && (_root.killsC >= number3)) {
_root.level_complete = true;
}
if ((counter == drx1) && (num1 > 0)) {
_root.duplicate1enemy();
num1--;
counter = 0;
}
if ((counter2 == drx2) && (num2 > 0)) {
_root.duplicate2enemy();
num2--;
counter2 = 0;
}
if ((counter3 == drx3) && (num3 > 0)) {
_root.duplicate3enemy();
num3--;
counter3 = 0;
}
}
}
Instance of Symbol 285 MovieClip in Frame 45
onClipEvent (enterFrame) {
if (_root.pausegame == true) {
this._visible = true;
} else if (_root.pausegame == false) {
this._visible = false;
}
}
onClipEvent (load) {
if (_root.pausegame == true) {
this._visible = true;
} else if (_root.pausegame == false) {
this._visible = false;
}
}
onClipEvent (load) {
this.swapDepths(15999);
}
Instance of Symbol 302 MovieClip "overlay" in Frame 45
onClipEvent (load) {
this.swapDepths(16000);
}
onClipEvent (enterFrame) {
if (_root.dadskjrgkjldsv == false) {
this._visible = false;
}
}
Frame 46
_root.totalscore = _root.score + _root.bought;
_root.levelnumb++;
stop();
_root.framer4 = false;
stopAllSounds();
Frame 47
_root.framer4 = false;
Instance of Symbol 254 MovieClip "comet" in Frame 47
onClipEvent (load) {
this.stop();
}
onClipEvent (enterFrame) {
sdr = Math.random() * 2500;
sdr = Math.round(sdr);
if (sdr == 500) {
this.play();
_x = (Math.random() * 1900);
}
}
Symbol 20 Button
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Symbol 27 MovieClip Frame 130
_root.play();
_root.play();
Symbol 36 Button
on (release) {
stopAllSounds();
_root.newVars();
_root.gotoAndStop(47);
}
Symbol 40 Button
on (release) {
gotoAndStop (2);
}
Symbol 43 Button
on (release) {
_root.actionx = 3;
stopAllSounds();
_root.gotoAndStop(44);
}
Symbol 46 Button
on (release) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 49 Button
on (release) {
getURL ("http://www.armorgames.com/download.html", "_blank");
}
Symbol 52 Button
on (release) {
stopAllSounds();
_root.nextFrame();
}
Symbol 64 Button
on (release) {
nextFrame();
}
Symbol 71 MovieClip Frame 1
heli = new Sound();
heli.attachSound("heli");
heli.start(0, 0);
Instance of Symbol 67 MovieClip in Symbol 72 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
this.play();
} else if (_root.pausegame == true) {
this.stop();
}
}
Instance of Symbol 71 MovieClip in Symbol 72 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
this.play();
} else if (_root.pausegame == true) {
this.stop();
}
}
Symbol 124 MovieClip Frame 26
stop();
_parent._visible = false;
_parent.removeMovieClip();
Symbol 125 MovieClip Frame 1
stop();
Instance of Symbol 120 MovieClip in Symbol 125 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.chopper.center)) {
_root.shielder = _root.shielder + 140;
if (_root.shielder > 700) {
_root.shielder = 700;
}
go_to = (700 - _root.shielder) + 1;
_root.overlay.shieldBar.gotoAndStop(go_to);
_root.overlay.shieldBar.play();
_root.shields = true;
_parent.gotoAndStop(2);
}
}
Symbol 125 MovieClip Frame 2
upgrade = new Sound();
upgrade.attachSound("upgrade");
upgrade.start(0, 0);
Symbol 128 MovieClip Frame 26
stop();
_parent._visible = false;
_parent.removeMovieClip();
Symbol 129 MovieClip Frame 1
stop();
Instance of Symbol 127 MovieClip in Symbol 129 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.chopper.center)) {
_root.shielder = _root.shielder + 280;
if (_root.shielder > 700) {
_root.shielder = 700;
}
go_to = (700 - _root.shielder) + 1;
_root.overlay.shieldBar.gotoAndStop(go_to);
_root.overlay.shieldBar.play();
_root.shields = true;
_parent.gotoAndStop(2);
}
}
Symbol 129 MovieClip Frame 2
upgrade = new Sound();
upgrade.attachSound("upgrade");
upgrade.start(0, 0);
Symbol 136 MovieClip Frame 26
stop();
_parent._visible = false;
_parent.removeMovieClip();
Symbol 137 MovieClip Frame 1
stop();
Instance of Symbol 135 MovieClip in Symbol 137 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.chopper.center)) {
_root.shielder = _root.shielder + 560;
if (_root.shielder > 700) {
_root.shielder = 700;
}
go_to = (700 - _root.shielder) + 1;
_root.overlay.shieldBar.gotoAndStop(go_to);
_root.overlay.shieldBar.play();
_root.shields = true;
_parent.gotoAndStop(2);
}
}
Symbol 137 MovieClip Frame 2
upgrade = new Sound();
upgrade.attachSound("upgrade");
upgrade.start(0, 0);
Symbol 144 MovieClip Frame 26
stop();
_parent._visible = false;
_parent.removeMovieClip();
Symbol 145 MovieClip Frame 1
stop();
Instance of Symbol 143 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.chopper.center)) {
_root.shielder = _root.shielder + 700;
if (_root.shielder > 700) {
_root.shielder = 700;
}
go_to = (700 - _root.shielder) + 1;
_root.overlay.shieldBar.gotoAndStop(go_to);
_root.overlay.shieldBar.play();
_root.shields = true;
_parent.gotoAndStop(2);
}
}
Symbol 145 MovieClip Frame 2
upgrade = new Sound();
upgrade.attachSound("upgrade");
upgrade.start(0, 0);
Symbol 151 MovieClip Frame 26
stop();
_parent._visible = false;
_parent.removeMovieClip();
Symbol 152 MovieClip Frame 1
stop();
Instance of Symbol 150 MovieClip in Symbol 152 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.chopper.center)) {
_root.bullets2 = _root.bullets2 + 25;
if (_root.bullets2 > 250) {
_root.bullets2 = 250;
}
_root.weapon2 = true;
_root.weaponUp = 2;
_parent.gotoAndStop(2);
}
}
Symbol 152 MovieClip Frame 2
upgrade = new Sound();
upgrade.attachSound("upgrade");
upgrade.start(0, 0);
Symbol 157 MovieClip Frame 26
stop();
_parent._visible = false;
_parent.removeMovieClip();
Symbol 158 MovieClip Frame 1
stop();
Instance of Symbol 156 MovieClip in Symbol 158 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.chopper.center)) {
_root.bullets3 = _root.bullets3 + 20;
if (_root.bullets3 > 250) {
_root.bullets3 = 250;
}
_root.weapon3 = true;
_root.weaponUp = 3;
_parent.gotoAndStop(2);
}
}
Symbol 158 MovieClip Frame 2
upgrade = new Sound();
upgrade.attachSound("upgrade");
upgrade.start(0, 0);
Symbol 163 MovieClip Frame 26
stop();
_parent._visible = false;
_parent.removeMovieClip();
Symbol 164 MovieClip Frame 1
stop();
Instance of Symbol 162 MovieClip in Symbol 164 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.chopper.center)) {
_root.bullets4 = _root.bullets4 + 20;
if (_root.bullets4 > 250) {
_root.bullets4 = 250;
}
_root.weapon4 = true;
_root.weaponUp = 4;
_parent.gotoAndStop(2);
}
}
Symbol 164 MovieClip Frame 2
upgrade = new Sound();
upgrade.attachSound("upgrade");
upgrade.start(0, 0);
Symbol 169 MovieClip Frame 26
stop();
_parent._visible = false;
_parent.removeMovieClip();
Symbol 170 MovieClip Frame 1
stop();
Instance of Symbol 168 MovieClip in Symbol 170 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.chopper.center)) {
_root.bullets5 = _root.bullets5 + 20;
if (_root.bullets5 > 250) {
_root.bullets5 = 250;
}
_root.weapon5 = true;
_root.weaponUp = 5;
_parent.gotoAndStop(2);
}
}
Symbol 170 MovieClip Frame 2
upgrade = new Sound();
upgrade.attachSound("upgrade");
upgrade.start(0, 0);
Symbol 177 Button
on (release) {
gotoAndStop (2);
}
Symbol 179 MovieClip Frame 1
stop();
Instance of Symbol 67 MovieClip in Symbol 179 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
this.play();
} else if (_root.pausegame == true) {
this.stop();
}
}
Instance of Symbol 79 MovieClip in Symbol 179 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
this.play();
} else if (_root.pausegame == true) {
this.stop();
}
}
Instance of Symbol 67 MovieClip in Symbol 179 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
this.play();
} else if (_root.pausegame == true) {
this.stop();
}
}
Instance of Symbol 79 MovieClip in Symbol 179 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
this.play();
} else if (_root.pausegame == true) {
this.stop();
}
}
Instance of Symbol 67 MovieClip in Symbol 179 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
this.play();
} else if (_root.pausegame == true) {
this.stop();
}
}
Instance of Symbol 79 MovieClip in Symbol 179 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
this.play();
} else if (_root.pausegame == true) {
this.stop();
}
}
Instance of Symbol 87 MovieClip in Symbol 179 MovieClip Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.chopper.center)) {
_root.totalhealth = _root.totalhealth + 5;
if (_root.totalhealth > _root.maxhealth) {
_root.totalhealth = _root.maxhealth;
}
_parent.gotoAndStop(2);
}
}
Instance of Symbol 90 MovieClip in Symbol 179 MovieClip Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.chopper.center)) {
_root.totalhealth = _root.totalhealth + 15;
if (_root.totalhealth > _root.maxhealth) {
_root.totalhealth = _root.maxhealth;
}
_parent.gotoAndStop(2);
}
}
Instance of Symbol 96 MovieClip in Symbol 179 MovieClip Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.chopper.center)) {
_root.totalhealth = _root.totalhealth + 25;
if (_root.totalhealth > _root.maxhealth) {
_root.totalhealth = _root.maxhealth;
}
_parent.gotoAndStop(2);
}
}
Instance of Symbol 98 MovieClip in Symbol 179 MovieClip Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.chopper.center)) {
_root.totalhealth = _root.totalhealth + 40;
if (_root.totalhealth > _root.maxhealth) {
_root.totalhealth = _root.maxhealth;
}
_parent.gotoAndStop(2);
}
}
Instance of Symbol 104 MovieClip in Symbol 179 MovieClip Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.chopper.center)) {
_root.totalhealth = _root.totalhealth + 50;
if (_root.totalhealth > _root.maxhealth) {
_root.totalhealth = _root.maxhealth;
}
_parent.gotoAndStop(2);
}
}
Instance of Symbol 106 MovieClip in Symbol 179 MovieClip Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.chopper.center)) {
_root.totalhealth = _root.totalhealth + 100;
if (_root.totalhealth > _root.maxhealth) {
_root.totalhealth = _root.maxhealth;
}
_parent.gotoAndStop(2);
}
}
Symbol 182 MovieClip Frame 1
stop();
Symbol 190 MovieClip Frame 1
stop();
Instance of Symbol 186 MovieClip in Symbol 190 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 186 MovieClip in Symbol 190 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.chopper.center) && (_visible == true)) {
if (_root.shields == false) {
_root.totalhealth = _root.totalhealth - 2;
_visible = false;
}
}
}
Symbol 190 MovieClip Frame 25
_visible = false;
Instance of Symbol 67 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
this.play();
} else if (_root.pausegame == true) {
this.stop();
}
}
Instance of Symbol 79 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
this.play();
} else if (_root.pausegame == true) {
this.stop();
}
}
Symbol 193 MovieClip Frame 2
_parent.health = _parent.health - _root["kogel" + _parent.bullethit].weaponUp;
if (_parent.health <= 0) {
_parent.gotoAndStop(3);
}
Symbol 193 MovieClip Frame 6
_root["kogel" + _parent.bullethit].removeMovieClip();
Symbol 193 MovieClip Frame 20
_parent.gotoAndStop(1);
Symbol 197 MovieClip Frame 39
_parent.dead = false;
_root.mini_killed++;
lolwtf = Math.random() * 10;
lolwtf = Math.round(lolwtf);
finder = Math.round((Math.random() * 100) + 1);
if (finder < 13) {
_root.backgroundclip.pickup1.duplicateMovieClip("da_pickup" + _root.dont_pick_it_up, 10 + _root.dont_pick_it_up, _root.backgroundclip);
_root.backgroundclip["da_pickup" + _root.dont_pick_it_up]._y = _parent._y;
_root.backgroundclip["da_pickup" + _root.dont_pick_it_up]._x = _parent._x;
_root.dont_pick_it_up++;
} else if ((finder > 12) && (finder < 21)) {
_root.backgroundclip.pickup2.duplicateMovieClip("da_pickup" + _root.dont_pick_it_up, 10 + _root.dont_pick_it_up, _root.backgroundclip);
_root.backgroundclip["da_pickup" + _root.dont_pick_it_up]._y = _parent._y;
_root.backgroundclip["da_pickup" + _root.dont_pick_it_up]._x = _parent._x;
_root.dont_pick_it_up++;
}
if (lolwtf > 5) {
_parent._x = 2155;
_parent._y = 320;
} else {
_parent._x = -280;
_parent._y = 320;
}
if ((((((_root.mini_killed == 15) || (_root.mini_killed == 30)) || (_root.mini_killed == 45)) || (_root.mini_killed == 60)) || (_root.mini_killed == 75)) || (_root.mini_killed == 90)) {
_root.enemy_type_1_health++;
}
if (((((((((((((((_root.mini_killed == 1) || (_root.mini_killed == 4)) || (_root.mini_killed == 10)) || (_root.mini_killed == 20)) || (_root.mini_killed == 30)) || (_root.mini_killed == 40)) || (_root.mini_killed == 50)) || (_root.mini_killed == 60)) || (_root.mini_killed == 70)) || (_root.mini_killed == 100)) || (_root.mini_killed == 120)) || (_root.mini_killed == 150)) || (_root.mini_killed == 170)) || (_root.mini_killed == 190)) || (_root.mini_killed == 230)) {
_parent.duplicateMovieClip("da_hui" + _root.mini_killed, 1000 + _root.mini_killed, _root.backgroundclip);
lolwtfx = Math.random() * 10;
lolwtfx = Math.round(lolwtfx);
if (lolwtfx > 5) {
if (_parent.dazang == 1) {
} else if (_parent.dazang == 2) {
_root.backgroundclip["da_hui" + _root.mini_killed]._yscale = -100;
}
_root.backgroundclip["da_hui" + _root.mini_killed]._x = 2355;
_root.backgroundclip["da_hui" + _root.mini_killed]._y = 410;
_root.backgroundclip["da_hui" + _root.mini_killed]._rotation = 0;
} else {
if (_parent.dazang == 1) {
} else if (_parent.dazang == 2) {
_root.backgroundclip["da_hui" + _root.mini_killed]._yscale = -100;
}
_root.backgroundclip["da_hui" + _root.mini_killed]._x = -480;
_root.backgroundclip["da_hui" + _root.mini_killed]._y = 410;
_root.backgroundclip["da_hui" + _root.mini_killed]._rotation = 0;
}
}
_parent.speedb = _root.enemy_type_1_speedb;
_parent.speed = _root.enemy_type_1_speed;
_parent.health = (health = _root.enemy_type_1_health);
_parent.gotoAndStop(1);
_parent._visible = false;
_parent.removeMovieClip();
stop();
Symbol 198 MovieClip Frame 1
stop();
Instance of Symbol 190 MovieClip "kebeng" in Symbol 198 MovieClip Frame 1
onClipEvent (load) {
this.stop();
this._visible = false;
}
Instance of Symbol 193 MovieClip in Symbol 198 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
this.play();
} else if (_root.pausegame == true) {
this.stop();
}
}
Symbol 198 MovieClip Frame 3
dead = true;
_root.score = _root.score + 5;
_root.score = _root.score + _root.enemy_type_1_health;
Symbol 199 MovieClip Frame 26
stop();
_parent._visible = false;
_parent.removeMovieClip();
Symbol 200 MovieClip Frame 1
stop();
Instance of Symbol 87 MovieClip in Symbol 200 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.chopper.center)) {
_root.totalhealth = _root.totalhealth + 5;
if (_root.totalhealth > _root.maxhealth) {
_root.totalhealth = _root.maxhealth;
}
_parent.gotoAndStop(2);
}
}
Symbol 200 MovieClip Frame 2
upgrade = new Sound();
upgrade.attachSound("upgrade");
upgrade.start(0, 0);
Symbol 204 MovieClip Frame 1
stop();
Instance of Symbol 186 MovieClip in Symbol 204 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 186 MovieClip in Symbol 204 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.chopper.center) && (_visible == true)) {
if (_root.shields == false) {
_root.totalhealth = _root.totalhealth - 6;
_visible = false;
}
}
}
Symbol 204 MovieClip Frame 32
_visible = false;
Instance of Symbol 67 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
this.play();
} else if (_root.pausegame == true) {
this.stop();
}
}
Instance of Symbol 79 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
this.play();
} else if (_root.pausegame == true) {
this.stop();
}
}
Symbol 207 MovieClip Frame 2
_parent.health = _parent.health - _root["kogel" + _parent.bullethit].weaponUp;
if (_parent.health <= 0) {
_parent.gotoAndStop(3);
}
Symbol 207 MovieClip Frame 6
_root["kogel" + _parent.bullethit].removeMovieClip();
Symbol 207 MovieClip Frame 20
_parent.gotoAndStop(1);
Symbol 208 MovieClip Frame 39
_parent.dead = false;
_root.medi_killed++;
lolwtf = Math.random() * 10;
lolwtf = Math.round(lolwtf);
finder = Math.round((Math.random() * 100) + 1);
if (finder < 6) {
_root.backgroundclip.pickup3.duplicateMovieClip("da_pickup" + _root.dont_pick_it_up, 10 + _root.dont_pick_it_up, _root.backgroundclip);
_root.backgroundclip["da_pickup" + _root.dont_pick_it_up]._y = _parent._y;
_root.backgroundclip["da_pickup" + _root.dont_pick_it_up]._x = _parent._x;
_root.dont_pick_it_up++;
} else if ((finder > 5) && (finder < 11)) {
_root.backgroundclip.pickup4.duplicateMovieClip("da_pickup" + _root.dont_pick_it_up, 10 + _root.dont_pick_it_up, _root.backgroundclip);
_root.backgroundclip["da_pickup" + _root.dont_pick_it_up]._y = _parent._y;
_root.backgroundclip["da_pickup" + _root.dont_pick_it_up]._x = _parent._x;
_root.dont_pick_it_up++;
} else if ((finder > 10) && (finder < 16)) {
_root.backgroundclip.pickup5.duplicateMovieClip("da_pickup" + _root.dont_pick_it_up, 10 + _root.dont_pick_it_up, _root.backgroundclip);
_root.backgroundclip["da_pickup" + _root.dont_pick_it_up]._y = _parent._y;
_root.backgroundclip["da_pickup" + _root.dont_pick_it_up]._x = _parent._x;
_root.dont_pick_it_up++;
} else if ((finder > 15) && (finder < 21)) {
_root.backgroundclip.pickup6.duplicateMovieClip("da_pickup" + _root.dont_pick_it_up, 10 + _root.dont_pick_it_up, _root.backgroundclip);
_root.backgroundclip["da_pickup" + _root.dont_pick_it_up]._y = _parent._y;
_root.backgroundclip["da_pickup" + _root.dont_pick_it_up]._x = _parent._x;
_root.dont_pick_it_up++;
} else if ((finder > 20) && (finder < 26)) {
_root.backgroundclip.pickup7.duplicateMovieClip("da_pickup" + _root.dont_pick_it_up, 10 + _root.dont_pick_it_up, _root.backgroundclip);
_root.backgroundclip["da_pickup" + _root.dont_pick_it_up]._y = _parent._y;
_root.backgroundclip["da_pickup" + _root.dont_pick_it_up]._x = _parent._x;
_root.dont_pick_it_up++;
} else if ((finder > 25) && (finder < 31)) {
_root.backgroundclip.pickup8.duplicateMovieClip("da_pickup" + _root.dont_pick_it_up, 10 + _root.dont_pick_it_up, _root.backgroundclip);
_root.backgroundclip["da_pickup" + _root.dont_pick_it_up]._y = _parent._y;
_root.backgroundclip["da_pickup" + _root.dont_pick_it_up]._x = _parent._x;
_root.dont_pick_it_up++;
} else if ((finder > 30) && (finder < 36)) {
_root.backgroundclip.pickup9.duplicateMovieClip("da_pickup" + _root.dont_pick_it_up, 10 + _root.dont_pick_it_up, _root.backgroundclip);
_root.backgroundclip["da_pickup" + _root.dont_pick_it_up]._y = _parent._y;
_root.backgroundclip["da_pickup" + _root.dont_pick_it_up]._x = _parent._x;
_root.dont_pick_it_up++;
} else if ((finder > 35) && (finder < 41)) {
_root.backgroundclip.pickup10.duplicateMovieClip("da_pickup" + _root.dont_pick_it_up, 10 + _root.dont_pick_it_up, _root.backgroundclip);
_root.backgroundclip["da_pickup" + _root.dont_pick_it_up]._y = _parent._y;
_root.backgroundclip["da_pickup" + _root.dont_pick_it_up]._x = _parent._x;
_root.dont_pick_it_up++;
}
if (lolwtf > 5) {
if (_parent.dazang == 1) {
} else if (_parent.dazang == 2) {
_root.backgroundclip["da_hui" + _root.mini_killed]._yscale = -100;
}
_parent._x = 2155;
_parent._y = 320;
} else {
if (_parent.dazang == 1) {
} else if (_parent.dazang == 2) {
_root.backgroundclip["da_hui" + _root.mini_killed]._yscale = -100;
}
_parent._x = -280;
_parent._y = 320;
}
if ((((((_root.medi_killed == 30) || (_root.medi_killed == 45)) || (_root.medi_killed == 60)) || (_root.medi_killed == 75)) || (_root.medi_killed == 90)) || (_root.medi_killed == 105)) {
_root.enemy_type_2_health++;
}
if (((((((((((((((_root.medi_killed == 5) || (_root.medi_killed == 25)) || (_root.medi_killed == 50)) || (_root.medi_killed == 75)) || (_root.medi_killed == 100)) || (_root.medi_killed == 125)) || (_root.medi_killed == 150)) || (_root.medi_killed == 175)) || (_root.medi_killed == 200)) || (_root.medi_killed == 225)) || (_root.medi_killed == 250)) || (_root.medi_killed == 275)) || (_root.medi_killed == 300)) || (_root.medi_killed == 325)) || (_root.medi_killed == 350)) {
_parent.duplicateMovieClip("da_huix" + _root.medi_killed, 2000 + _root.medi_killed, _root.backgroundclip);
lolwtfx = Math.random() * 10;
lolwtfx = Math.round(lolwtfx);
if (lolwtfx > 5) {
_root.backgroundclip["da_huix" + _root.medi_killed]._x = 2880 + (_root.medi_killed * 100);
_root.backgroundclip["da_huix" + _root.medi_killed]._y = 450;
_root.backgroundclip["da_huix" + _root.medi_killed]._rotation = 0;
} else {
_root.backgroundclip["da_huix" + _root.medi_killed]._x = -1005 - (_root.medi_killed * 100);
_root.backgroundclip["da_huix" + _root.medi_killed]._y = 450;
_root.backgroundclip["da_huix" + _root.medi_killed]._rotation = 0;
}
}
_parent.speedb = _root.enemy_type_2_speedb;
_parent.speed = _root.enemy_type_2_speed;
_parent.health = _root.enemy_type_2_health;
_parent.gotoAndStop(1);
_parent._visible = false;
_parent.removeMovieClip();
stop();
Symbol 209 MovieClip Frame 1
stop();
Instance of Symbol 204 MovieClip "kebeng" in Symbol 209 MovieClip Frame 1
onClipEvent (load) {
this.stop();
this._visible = false;
}
Instance of Symbol 207 MovieClip in Symbol 209 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
this.play();
} else if (_root.pausegame == true) {
this.stop();
}
}
Symbol 209 MovieClip Frame 3
dead = true;
_root.score = _root.score + 10;
_root.score = _root.score + _root.enemy_type_2_health;
Symbol 210 MovieClip Frame 26
stop();
_parent._visible = false;
_parent.removeMovieClip();
Symbol 211 MovieClip Frame 1
stop();
Instance of Symbol 90 MovieClip in Symbol 211 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.chopper.center)) {
_root.totalhealth = _root.totalhealth + 15;
if (_root.totalhealth > _root.maxhealth) {
_root.totalhealth = _root.maxhealth;
}
_parent.gotoAndStop(2);
}
}
Symbol 211 MovieClip Frame 2
upgrade = new Sound();
upgrade.attachSound("upgrade");
upgrade.start(0, 0);
Symbol 212 MovieClip Frame 26
stop();
_parent._visible = false;
_parent.removeMovieClip();
Symbol 213 MovieClip Frame 1
stop();
Instance of Symbol 96 MovieClip in Symbol 213 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.chopper.center)) {
_root.totalhealth = _root.totalhealth + 25;
if (_root.totalhealth > _root.maxhealth) {
_root.totalhealth = _root.maxhealth;
}
_parent.gotoAndStop(2);
}
}
Symbol 213 MovieClip Frame 2
upgrade = new Sound();
upgrade.attachSound("upgrade");
upgrade.start(0, 0);
Symbol 214 MovieClip Frame 26
stop();
_parent._visible = false;
_parent.removeMovieClip();
Symbol 215 MovieClip Frame 1
stop();
Instance of Symbol 98 MovieClip in Symbol 215 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.chopper.center)) {
_root.totalhealth = _root.totalhealth + 40;
if (_root.totalhealth > _root.maxhealth) {
_root.totalhealth = _root.maxhealth;
}
_parent.gotoAndStop(2);
}
}
Symbol 215 MovieClip Frame 2
upgrade = new Sound();
upgrade.attachSound("upgrade");
upgrade.start(0, 0);
Symbol 219 MovieClip Frame 1
stop();
Instance of Symbol 186 MovieClip in Symbol 219 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 186 MovieClip in Symbol 219 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.chopper.center) && (_visible == true)) {
if (_root.shields == false) {
_root.totalhealth = _root.totalhealth - 10;
_visible = false;
}
}
}
Symbol 219 MovieClip Frame 32
_visible = false;
Instance of Symbol 67 MovieClip in Symbol 221 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
this.play();
} else if (_root.pausegame == true) {
this.stop();
}
}
Instance of Symbol 79 MovieClip in Symbol 221 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
this.play();
} else if (_root.pausegame == true) {
this.stop();
}
}
Symbol 222 MovieClip Frame 2
_parent.health = _parent.health - _root["kogel" + _parent.bullethit].weaponUp;
if (_parent.health <= 0) {
_parent.gotoAndStop(3);
}
Symbol 222 MovieClip Frame 6
_root["kogel" + _parent.bullethit].removeMovieClip();
Symbol 222 MovieClip Frame 16
_parent.gotoAndStop(1);
Symbol 223 MovieClip Frame 39
_parent.dead = false;
_root.mega_killed++;
lolwtf = Math.random() * 10;
lolwtf = Math.round(lolwtf);
finder = Math.round((Math.random() * 100) + 1);
if (finder < 11) {
_root.backgroundclip.pickup11.duplicateMovieClip("da_pickup" + _root.dont_pick_it_up, 10 + _root.dont_pick_it_up, _root.backgroundclip);
_root.backgroundclip["da_pickup" + _root.dont_pick_it_up]._y = _parent._y;
_root.backgroundclip["da_pickup" + _root.dont_pick_it_up]._x = _parent._x;
_root.dont_pick_it_up++;
} else if ((finder > 10) && (finder < 21)) {
_root.backgroundclip.pickup12.duplicateMovieClip("da_pickup" + _root.dont_pick_it_up, 10 + _root.dont_pick_it_up, _root.backgroundclip);
_root.backgroundclip["da_pickup" + _root.dont_pick_it_up]._y = _parent._y;
_root.backgroundclip["da_pickup" + _root.dont_pick_it_up]._x = _parent._x;
_root.dont_pick_it_up++;
} else if ((finder > 20) && (finder < 31)) {
_root.backgroundclip.pickup13.duplicateMovieClip("da_pickup" + _root.dont_pick_it_up, 10 + _root.dont_pick_it_up, _root.backgroundclip);
_root.backgroundclip["da_pickup" + _root.dont_pick_it_up]._y = _parent._y;
_root.backgroundclip["da_pickup" + _root.dont_pick_it_up]._x = _parent._x;
_root.dont_pick_it_up++;
} else if ((finder > 30) && (finder < 41)) {
_root.backgroundclip.pickup14.duplicateMovieClip("da_pickup" + _root.dont_pick_it_up, 10 + _root.dont_pick_it_up, _root.backgroundclip);
_root.backgroundclip["da_pickup" + _root.dont_pick_it_up]._y = _parent._y;
_root.backgroundclip["da_pickup" + _root.dont_pick_it_up]._x = _parent._x;
_root.dont_pick_it_up++;
} else if ((finder > 40) && (finder < 51)) {
_root.backgroundclip.pickup15.duplicateMovieClip("da_pickup" + _root.dont_pick_it_up, 10 + _root.dont_pick_it_up, _root.backgroundclip);
_root.backgroundclip["da_pickup" + _root.dont_pick_it_up]._y = _parent._y;
_root.backgroundclip["da_pickup" + _root.dont_pick_it_up]._x = _parent._x;
_root.dont_pick_it_up++;
} else if ((finder > 50) && (finder < 61)) {
_root.backgroundclip.pickup16.duplicateMovieClip("da_pickup" + _root.dont_pick_it_up, 10 + _root.dont_pick_it_up, _root.backgroundclip);
_root.backgroundclip["da_pickup" + _root.dont_pick_it_up]._y = _parent._y;
_root.backgroundclip["da_pickup" + _root.dont_pick_it_up]._x = _parent._x;
_root.dont_pick_it_up++;
} else if ((finder > 60) && (finder < 71)) {
_root.backgroundclip.pickup17.duplicateMovieClip("da_pickup" + _root.dont_pick_it_up, 10 + _root.dont_pick_it_up, _root.backgroundclip);
_root.backgroundclip["da_pickup" + _root.dont_pick_it_up]._y = _parent._y;
_root.backgroundclip["da_pickup" + _root.dont_pick_it_up]._x = _parent._x;
_root.dont_pick_it_up++;
} else if ((finder > 70) && (finder < 81)) {
_root.backgroundclip.pickup18.duplicateMovieClip("da_pickup" + _root.dont_pick_it_up, 10 + _root.dont_pick_it_up, _root.backgroundclip);
_root.backgroundclip["da_pickup" + _root.dont_pick_it_up]._y = _parent._y;
_root.backgroundclip["da_pickup" + _root.dont_pick_it_up]._x = _parent._x;
_root.dont_pick_it_up++;
} else if ((finder > 80) && (finder < 91)) {
_root.backgroundclip.pickup17.duplicateMovieClip("da_pickup" + _root.dont_pick_it_up, 10 + _root.dont_pick_it_up, _root.backgroundclip);
_root.backgroundclip["da_pickup" + _root.dont_pick_it_up]._y = _parent._y;
_root.backgroundclip["da_pickup" + _root.dont_pick_it_up]._x = _parent._x;
_root.dont_pick_it_up++;
}
if (lolwtf > 5) {
if (_parent.dazang == 1) {
} else if (_parent.dazang == 2) {
_root.backgroundclip["da_hui" + _root.mini_killed]._yscale = -100;
}
_parent._x = 4955;
_parent._y = 320;
} else {
if (_parent.dazang == 1) {
} else if (_parent.dazang == 2) {
_root.backgroundclip["da_hui" + _root.mini_killed]._yscale = -100;
}
_parent._x = -3080;
_parent._y = 320;
}
if ((((((_root.mega_killed == 100) || (_root.mega_killed == 200)) || (_root.mega_killed == 300)) || (_root.mega_killed == 400)) || (_root.mega_killed == 500)) || (_root.mega_killed == 600)) {
_root.enemy_type_3_health++;
}
if ((((((((((_root.mega_killed == 10) || (_root.mega_killed == 40)) || (_root.mega_killed == 80)) || (_root.mega_killed == 120)) || (_root.mega_killed == 200)) || (_root.mega_killed == 280)) || (_root.mega_killed == 360)) || (_root.mega_killed == 440)) || (_root.mega_killed == 520)) || (_root.mega_killed == 600)) {
_parent.duplicateMovieClip("da_huix" + _root.mega_killed, 4000 + _root.mega_killed, _root.backgroundclip);
lolwtfx = Math.random() * 10;
lolwtfx = Math.round(lolwtfx);
if (lolwtfx > 5) {
_root.backgroundclip["da_huix" + _root.mega_killed]._x = 4955 + (_root.mega_killed * 100);
_root.backgroundclip["da_huix" + _root.mega_killed]._y = 320;
_root.backgroundclip["da_huix" + _root.mega_killed]._rotation = 0;
} else {
_root.backgroundclip["da_huix" + _root.mega_killed]._x = -3080 - (_root.mega_killed * 100);
_root.backgroundclip["da_huix" + _root.mega_killed]._y = 320;
_root.backgroundclip["da_huix" + _root.mega_killed]._rotation = 0;
}
}
_parent.speedb = _root.enemy_type_3_speedb;
_parent.speed = _root.enemy_type_3_speed;
_parent.health = _root.enemy_type_3_health;
_parent.gotoAndStop(1);
_parent._visible = false;
_parent.removeMovieClip();
stop();
Symbol 224 MovieClip Frame 1
stop();
Instance of Symbol 219 MovieClip "kebeng" in Symbol 224 MovieClip Frame 1
onClipEvent (load) {
this.stop();
this._visible = false;
}
Instance of Symbol 222 MovieClip in Symbol 224 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
this.play();
} else if (_root.pausegame == true) {
this.stop();
}
}
Symbol 224 MovieClip Frame 3
dead = true;
_root.score = _root.score + 20;
_root.score = _root.score + _root.enemy_type_3_health;
Symbol 229 MovieClip Frame 26
stop();
_parent._visible = false;
_parent.removeMovieClip();
Symbol 230 MovieClip Frame 1
stop();
Instance of Symbol 228 MovieClip in Symbol 230 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.chopper.center)) {
_root.bullets6 = _root.bullets6 + 15;
if (_root.bullets6 > 250) {
_root.bullets6 = 250;
}
_root.weapon6 = true;
_root.weaponUp = 6;
_parent.gotoAndStop(2);
}
}
Symbol 230 MovieClip Frame 2
upgrade = new Sound();
upgrade.attachSound("upgrade");
upgrade.start(0, 0);
Symbol 235 MovieClip Frame 26
stop();
_parent._visible = false;
_parent.removeMovieClip();
Symbol 236 MovieClip Frame 1
stop();
Instance of Symbol 234 MovieClip in Symbol 236 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.chopper.center)) {
_root.bullets7 = _root.bullets7 + 15;
if (_root.bullets7 > 250) {
_root.bullets7 = 250;
}
_root.weapon7 = true;
_root.weaponUp = 7;
_parent.gotoAndStop(2);
}
}
Symbol 236 MovieClip Frame 2
upgrade = new Sound();
upgrade.attachSound("upgrade");
upgrade.start(0, 0);
Symbol 241 MovieClip Frame 26
stop();
_parent._visible = false;
_parent.removeMovieClip();
Symbol 242 MovieClip Frame 1
stop();
Instance of Symbol 240 MovieClip in Symbol 242 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.chopper.center)) {
_root.bullets8 = _root.bullets8 + 15;
if (_root.bullets8 > 250) {
_root.bullets8 = 250;
}
_root.weapon8 = true;
_root.weaponUp = 8;
_parent.gotoAndStop(2);
}
}
Symbol 242 MovieClip Frame 2
upgrade = new Sound();
upgrade.attachSound("upgrade");
upgrade.start(0, 0);
Symbol 247 MovieClip Frame 26
stop();
_parent._visible = false;
_parent.removeMovieClip();
Symbol 248 MovieClip Frame 1
stop();
Instance of Symbol 246 MovieClip in Symbol 248 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.chopper.center)) {
_root.bullets9 = _root.bullets9 + 15;
if (_root.bullets9 > 250) {
_root.bullets9 = 250;
}
_root.weapon9 = true;
_root.weaponUp = 9;
_parent.gotoAndStop(2);
}
}
Symbol 248 MovieClip Frame 2
upgrade = new Sound();
upgrade.attachSound("upgrade");
upgrade.start(0, 0);
Symbol 249 MovieClip Frame 26
stop();
_parent._visible = false;
_parent.removeMovieClip();
Symbol 250 MovieClip Frame 1
stop();
Instance of Symbol 104 MovieClip in Symbol 250 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.chopper.center)) {
_root.totalhealth = _root.totalhealth + 50;
if (_root.totalhealth > _root.maxhealth) {
_root.totalhealth = _root.maxhealth;
}
_parent.gotoAndStop(2);
}
}
Symbol 250 MovieClip Frame 2
upgrade = new Sound();
upgrade.attachSound("upgrade");
upgrade.start(0, 0);
Symbol 251 MovieClip Frame 26
stop();
_parent._visible = false;
_parent.removeMovieClip();
Symbol 252 MovieClip Frame 1
stop();
Instance of Symbol 106 MovieClip in Symbol 252 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.chopper.center)) {
_root.totalhealth = _root.totalhealth + 100;
if (_root.totalhealth > _root.maxhealth) {
_root.totalhealth = _root.maxhealth;
}
_parent.gotoAndStop(2);
}
}
Symbol 252 MovieClip Frame 2
upgrade = new Sound();
upgrade.attachSound("upgrade");
upgrade.start(0, 0);
Symbol 254 MovieClip Frame 1
stop();
Instance of Symbol 253 MovieClip "inside" in Symbol 254 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
_parent.play();
} else {
_parent.stop();
}
}
Instance of Symbol 198 MovieClip in Symbol 255 MovieClip Frame 1
onClipEvent (load) {
speed = _root.enemy_type_1_speed;
speedb = _root.enemy_type_1_speedb;
health = _root.enemy_type_1_health;
dead = false;
}
onClipEvent (enterFrame) {
if ((_root.pausegame == false) && (dead == false)) {
if (this.hitTest(_root.backgroundclip.comet.inside.inside)) {
this.gotoAndStop(3);
}
xvalueinroot = _x + _parent._x;
yvalueinroot = _y + _parent._y;
difference = _root.chopper._x - xvalueinroot;
if (xvalueinroot <= _root.chopper._x) {
dazang = 1;
_xscale = 100;
} else {
dazang = 2;
_xscale = -100;
}
if (_root.chopper._y > yvalueinroot) {
_y = (_y + speed);
} else if (_root.chopper._y < yvalueinroot) {
_y = (_y - speed);
}
maxima = _root.chopper._y + 30;
minima = _root.chopper._y - 30;
if (difference > 0) {
if (difference > 140) {
disc = true;
_x = (_x + speedb);
} else {
disc = false;
if (_rotation > 0) {
_rotation = (_rotation-1);
}
if (_rotation < 0) {
_rotation = (_rotation+1);
}
if ((yvalueinroot > minima) && (yvalueinroot < maxima)) {
this.kebeng._visible = true;
this.kebeng.play();
}
}
if ((_rotation < 15) && (disc == true)) {
_rotation = (_rotation+1);
}
} else if (difference < 0) {
if (difference < -140) {
disc = true;
_x = (_x - speedb);
} else {
disc = false;
if (_rotation > 0) {
_rotation = (_rotation-1);
}
if (_rotation < 0) {
_rotation = (_rotation+1);
}
if ((yvalueinroot > minima) && (yvalueinroot < maxima)) {
this.kebeng._visible = true;
this.kebeng.play();
}
}
if ((_rotation > -15) && (disc == true)) {
_rotation = (_rotation-1);
}
}
i = 0;
while (i < (_root.a + 1)) {
if (this.hitTest(_root["kogel" + i])) {
if ((_root.chopper._xscale == -100) && (xvalueinroot <= _root.chopper._x)) {
this.gotoAndStop(2);
bullethit = i;
} else if ((_root.chopper._xscale == 100) && (xvalueinroot > _root.chopper._x)) {
this.gotoAndStop(2);
bullethit = i;
}
}
i++;
}
}
}
Instance of Symbol 209 MovieClip in Symbol 255 MovieClip Frame 1
onClipEvent (load) {
speed = _root.enemy_type_2_speed;
speedb = _root.enemy_type_2_speedb;
health = _root.enemy_type_2_health;
dead = false;
}
onClipEvent (enterFrame) {
if (((_root.pausegame == false) && (dead == false)) && (_root.mini_killed > 9)) {
xvalueinroot = _x + _parent._x;
yvalueinroot = _y + _parent._y;
difference = _root.chopper._x - xvalueinroot;
if (this.hitTest(_root.backgroundclip.comet.inside.inside)) {
this.gotoAndStop(3);
}
if (xvalueinroot <= _root.chopper._x) {
dazang = 1;
_xscale = 100;
} else {
dazang = 2;
_xscale = -100;
}
if (_root.chopper._y > yvalueinroot) {
_y = (_y + speed);
} else if (_root.chopper._y < yvalueinroot) {
_y = (_y - speed);
}
maxima = _root.chopper._y + 80;
minima = _root.chopper._y - 80;
if (difference > 0) {
if (difference > 200) {
disc = true;
_x = (_x + speedb);
} else {
disc = false;
if (_rotation > 0) {
_rotation = (_rotation-1);
}
if (_rotation < 0) {
_rotation = (_rotation+1);
}
if ((yvalueinroot > minima) && (yvalueinroot < maxima)) {
this.kebeng._visible = true;
this.kebeng.play();
}
}
if ((_rotation < 15) && (disc == true)) {
_rotation = (_rotation+1);
}
} else if (difference < 0) {
if (difference < -200) {
disc = true;
_x = (_x - speedb);
} else {
disc = false;
if (_rotation > 0) {
_rotation = (_rotation-1);
}
if (_rotation < 0) {
_rotation = (_rotation+1);
}
if ((yvalueinroot > minima) && (yvalueinroot < maxima)) {
this.kebeng._visible = true;
this.kebeng.play();
}
}
if ((_rotation > -15) && (disc == true)) {
_rotation = (_rotation-1);
}
}
i = 0;
while (i < (_root.a + 1)) {
if (this.hitTest(_root["kogel" + i])) {
if ((_root.chopper._xscale == -100) && (xvalueinroot <= _root.chopper._x)) {
this.gotoAndStop(2);
bullethit = i;
} else if ((_root.chopper._xscale == 100) && (xvalueinroot > _root.chopper._x)) {
this.gotoAndStop(2);
bullethit = i;
}
}
i++;
}
}
}
Instance of Symbol 224 MovieClip in Symbol 255 MovieClip Frame 1
onClipEvent (load) {
speed = _root.enemy_type_3_speed;
speedb = _root.enemy_type_3_speedb;
health = _root.enemy_type_3_health;
dead = false;
}
onClipEvent (enterFrame) {
if (((_root.pausegame == false) && (dead == false)) && (_root.mini_killed > 39)) {
xvalueinroot = _x + _parent._x;
yvalueinroot = _y + _parent._y;
difference = _root.chopper._x - xvalueinroot;
if (this.hitTest(_root.backgroundclip.comet.inside.inside)) {
this.gotoAndStop(3);
}
if (xvalueinroot <= _root.chopper._x) {
dazang = 1;
_xscale = 100;
} else {
dazang = 2;
_xscale = -100;
}
if (_root.chopper._y > yvalueinroot) {
_y = (_y + speed);
} else if (_root.chopper._y < yvalueinroot) {
_y = (_y - speed);
}
maxima = _root.chopper._y + 80;
minima = _root.chopper._y - 80;
if (difference > 0) {
if (difference > 200) {
disc = true;
_x = (_x + speedb);
} else {
disc = false;
if (_rotation > 0) {
_rotation = (_rotation-1);
}
if (_rotation < 0) {
_rotation = (_rotation+1);
}
if ((yvalueinroot > minima) && (yvalueinroot < maxima)) {
this.kebeng._visible = true;
this.kebeng.play();
}
}
if ((_rotation < 15) && (disc == true)) {
_rotation = (_rotation+1);
}
} else if (difference < 0) {
if (difference < -200) {
disc = true;
_x = (_x - speedb);
} else {
disc = false;
if (_rotation > 0) {
_rotation = (_rotation-1);
}
if (_rotation < 0) {
_rotation = (_rotation+1);
}
if ((yvalueinroot > minima) && (yvalueinroot < maxima)) {
this.kebeng._visible = true;
this.kebeng.play();
}
}
if ((_rotation > -15) && (disc == true)) {
_rotation = (_rotation-1);
}
}
i = 0;
while (i < (_root.a + 1)) {
if (this.hitTest(_root["kogel" + i])) {
if ((_root.chopper._xscale == -100) && (xvalueinroot <= _root.chopper._x)) {
this.gotoAndStop(2);
bullethit = i;
} else if ((_root.chopper._xscale == 100) && (xvalueinroot > _root.chopper._x)) {
this.gotoAndStop(2);
bullethit = i;
}
}
i++;
}
}
}
Instance of Symbol 254 MovieClip "comet" in Symbol 255 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
onClipEvent (enterFrame) {
sdr = Math.random() * 2500;
sdr = Math.round(sdr);
if (sdr == 500) {
this.play();
_x = (Math.random() * 1900);
}
}
Instance of Symbol 258 MovieClip "center" in Symbol 267 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
counter = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.backgroundclip.comet.inside.inside) && (counter == 0)) {
if (_root.shields == true) {
_root.shields = false;
_root.shielder = 0;
} else {
onPers = _root.totalhealth / 100;
seventyfive = onPers * 75;
seventyfive = Math.round(seventyfive);
if (seventyfive < 3) {
seventyfive = 0;
}
_root.totalhealth = _root.totalhealth - seventyfive;
}
counter++;
}
if (counter > 0) {
counter++;
if (counter == 25) {
counter = 0;
}
}
}
Instance of Symbol 266 MovieClip in Symbol 267 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
this.play();
if (_root.shields == true) {
this._visible = true;
} else if (_root.shields == false) {
this._visible = false;
}
} else {
this.stop();
}
}
onClipEvent (load) {
if (_root.pausegame == false) {
this.play();
if (_root.shields == true) {
this._visible = true;
} else if (_root.shields == false) {
this._visible = false;
}
} else {
this.stop();
}
}
Symbol 298 MovieClip Frame 700
_root.shields == false;
stop();
Symbol 298 MovieClip Frame 701
prevFrame();
Instance of Symbol 290 MovieClip in Symbol 302 MovieClip Frame 1
onClipEvent (enterFrame) {
_width = ((_root.totalhealth / _root.maxhealth) * 200);
}
Instance of Symbol 298 MovieClip "shieldBar" in Symbol 302 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(700);
}
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
this.play();
} else {
this.stop();
}
}
Symbol 305 Button
on (release) {
_root.axiony = 8;
stopAllSounds();
_root.gotoAndStop(42);
}
Symbol 306 Button
on (release) {
_root.dadskjrgkjldsv = true;
_root.totalhealth = 200;
stopAllSounds();
_root.prevFrame();
}
Symbol 315 Button
on (release) {
if (_root.lister == 2) {
gotoAndStop (3);
} else if (_root.lister == 1) {
gotoAndStop (4);
}
}
Symbol 351 Button
on (release) {
gotoAndStop (5);
}
Symbol 354 Button
on (release) {
gotoAndStop (2);
}
Symbol 356 MovieClip Frame 1
stop();
if (_root.lister == 1) {
_root.score = _root.score + _root.bought;
addr = _root.levelnumb * 1000;
_root.score = _root.score + addr;
}
Symbol 356 MovieClip Frame 2
scoretable.filename = "scores/lord_of_the_copters_game.sco";
scoretable.scoresize = 10;
scoretable.action = "INSERT";
scoretable.viewtype = "FLASH";
scoretable.winname = "none";
scoretable.winscore = 0;
System.security.allowDomain("eviludy.net");
scoretable.loadVariables(_root.xfile, "GET");
Symbol 356 MovieClip Frame 3
scoretable.filename = "scores/lord_of_the_copters_game.sco";
scoretable.scoresize = 10;
scoretable.action = "INSERT";
scoretable.viewtype = "FLASH";
scoretable.winname = _root.scorename;
scoretable.winscore = _root.score;
System.security.allowDomain("eviludy.net");
scoretable.loadVariables(_root.xfile, "GET");
Symbol 356 MovieClip Frame 4
scoretable.filename = "scores/lord_of_the_copters_game_num2.sco";
scoretable.scoresize = 10;
scoretable.action = "INSERT";
scoretable.viewtype = "FLASH";
scoretable.winname = _root.scorename;
scoretable.winscore = _root.score;
System.security.allowDomain("eviludy.net");
scoretable.loadVariables(_root.xfile, "GET");
Symbol 356 MovieClip Frame 5
scoretable.filename = "scores/lord_of_the_copters_game_num2.sco";
scoretable.scoresize = 10;
scoretable.action = "INSERT";
scoretable.viewtype = "FLASH";
scoretable.winname = "none";
scoretable.winscore = 0;
System.security.allowDomain("eviludy.net");
scoretable.loadVariables(_root.xfile, "GET");
Instance of Symbol 359 MovieClip in Symbol 360 MovieClip Frame 1
onClipEvent (load) {
tyr = 0;
maxtyr = 260;
startx = _x;
}
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
tyr++;
_x = (_x - 5);
if (tyr == maxtyr) {
_x = startx;
tyr = 0;
}
}
}
Instance of Symbol 67 MovieClip in Symbol 362 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
this.play();
} else if (_root.pausegame == true) {
this.stop();
}
}
Instance of Symbol 79 MovieClip in Symbol 362 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
this.play();
} else if (_root.pausegame == true) {
this.stop();
}
}
Symbol 363 MovieClip Frame 2
_parent.health = _parent.health - _root["kogel" + _parent.bullethit].weaponUp;
if (_parent.health <= 0) {
_parent.gotoAndStop(3);
}
Symbol 363 MovieClip Frame 6
_root["kogel" + _parent.bullethit].removeMovieClip();
Symbol 363 MovieClip Frame 20
_parent.gotoAndStop(1);
Symbol 364 MovieClip Frame 39
_parent.dead2 = false;
_root.mini_killed++;
lolwtf = Math.random() * 10;
lolwtf = Math.round(lolwtf);
finder = Math.round((Math.random() * 100) + 1);
if (finder < 13) {
_root.pickup1.duplicateMovieClip("da_pickup" + _root.dont_pick_it_up, 10 + _root.dont_pick_it_up, _root.backgroundclip);
_root["da_pickup" + _root.dont_pick_it_up]._y = _parent._y;
_root["da_pickup" + _root.dont_pick_it_up]._x = _parent._x;
_root.dont_pick_it_up++;
} else if ((finder > 12) && (finder < 21)) {
_root.pickup2.duplicateMovieClip("da_pickup" + _root.dont_pick_it_up, 10 + _root.dont_pick_it_up, _root.backgroundclip);
_root["da_pickup" + _root.dont_pick_it_up]._y = _parent._y;
_root["da_pickup" + _root.dont_pick_it_up]._x = _parent._x;
_root.dont_pick_it_up++;
}
if (lolwtf > 5) {
_parent._x = 2155;
_parent._y = 320;
} else {
_parent._x = -280;
_parent._y = 320;
}
if ((((((_root.mini_killed == 15) || (_root.mini_killed == 30)) || (_root.mini_killed == 45)) || (_root.mini_killed == 60)) || (_root.mini_killed == 75)) || (_root.mini_killed == 90)) {
_root.enemy_type_1_health++;
}
_parent.speedb = _root.enemy_type_1_speedb;
_parent.speed = _root.enemy_type_1_speed;
_parent.health = (health = _root.enemy_type_1_health);
_parent.gotoAndStop(1);
_parent._visible = false;
_parent.removeMovieClip();
stop();
Symbol 365 MovieClip Frame 1
stop();
Instance of Symbol 190 MovieClip "kebeng" in Symbol 365 MovieClip Frame 1
onClipEvent (load) {
this.stop();
this._visible = false;
}
Instance of Symbol 363 MovieClip in Symbol 365 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
this.play();
} else if (_root.pausegame == true) {
this.stop();
}
}
Symbol 365 MovieClip Frame 3
dead = true;
_root.score = _root.score + 5;
_root.score = _root.score + _root.enemy_type_1_health;
_root.killsA++;
Instance of Symbol 67 MovieClip in Symbol 367 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
this.play();
} else if (_root.pausegame == true) {
this.stop();
}
}
Instance of Symbol 79 MovieClip in Symbol 367 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
this.play();
} else if (_root.pausegame == true) {
this.stop();
}
}
Symbol 368 MovieClip Frame 2
_parent.health = _parent.health - _root["kogel" + _parent.bullethit].weaponUp;
if (_parent.health <= 0) {
_parent.gotoAndStop(3);
}
Symbol 368 MovieClip Frame 6
_root["kogel" + _parent.bullethit].removeMovieClip();
Symbol 368 MovieClip Frame 20
_parent.gotoAndStop(1);
Symbol 369 MovieClip Frame 39
_parent.dead2 = false;
_root.medi_killed++;
lolwtf = Math.random() * 10;
lolwtf = Math.round(lolwtf);
finder = Math.round((Math.random() * 100) + 1);
if (finder < 6) {
_root.pickup3.duplicateMovieClip("da_pickup" + _root.dont_pick_it_up, 10 + _root.dont_pick_it_up, _root.backgroundclip);
_root["da_pickup" + _root.dont_pick_it_up]._y = _parent._y;
_root["da_pickup" + _root.dont_pick_it_up]._x = _parent._x;
_root.dont_pick_it_up++;
} else if ((finder > 5) && (finder < 11)) {
_root.pickup4.duplicateMovieClip("da_pickup" + _root.dont_pick_it_up, 10 + _root.dont_pick_it_up, _root.backgroundclip);
_root["da_pickup" + _root.dont_pick_it_up]._y = _parent._y;
_root["da_pickup" + _root.dont_pick_it_up]._x = _parent._x;
_root.dont_pick_it_up++;
} else if ((finder > 10) && (finder < 16)) {
_root.pickup5.duplicateMovieClip("da_pickup" + _root.dont_pick_it_up, 10 + _root.dont_pick_it_up, _root.backgroundclip);
_root["da_pickup" + _root.dont_pick_it_up]._y = _parent._y;
_root["da_pickup" + _root.dont_pick_it_up]._x = _parent._x;
_root.dont_pick_it_up++;
} else if ((finder > 15) && (finder < 21)) {
_root.pickup6.duplicateMovieClip("da_pickup" + _root.dont_pick_it_up, 10 + _root.dont_pick_it_up, _root.backgroundclip);
_root["da_pickup" + _root.dont_pick_it_up]._y = _parent._y;
_root["da_pickup" + _root.dont_pick_it_up]._x = _parent._x;
_root.dont_pick_it_up++;
} else if ((finder > 20) && (finder < 26)) {
_root.pickup7.duplicateMovieClip("da_pickup" + _root.dont_pick_it_up, 10 + _root.dont_pick_it_up, _root.backgroundclip);
_root["da_pickup" + _root.dont_pick_it_up]._y = _parent._y;
_root["da_pickup" + _root.dont_pick_it_up]._x = _parent._x;
_root.dont_pick_it_up++;
} else if ((finder > 25) && (finder < 31)) {
_root.pickup8.duplicateMovieClip("da_pickup" + _root.dont_pick_it_up, 10 + _root.dont_pick_it_up, _root.backgroundclip);
_root["da_pickup" + _root.dont_pick_it_up]._y = _parent._y;
_root["da_pickup" + _root.dont_pick_it_up]._x = _parent._x;
_root.dont_pick_it_up++;
} else if ((finder > 30) && (finder < 36)) {
_root.pickup9.duplicateMovieClip("da_pickup" + _root.dont_pick_it_up, 10 + _root.dont_pick_it_up, _root.backgroundclip);
_root["da_pickup" + _root.dont_pick_it_up]._y = _parent._y;
_root["da_pickup" + _root.dont_pick_it_up]._x = _parent._x;
_root.dont_pick_it_up++;
} else if ((finder > 35) && (finder < 41)) {
_root.pickup10.duplicateMovieClip("da_pickup" + _root.dont_pick_it_up, 10 + _root.dont_pick_it_up, _root.backgroundclip);
_root["da_pickup" + _root.dont_pick_it_up]._y = _parent._y;
_root["da_pickup" + _root.dont_pick_it_up]._x = _parent._x;
_root.dont_pick_it_up++;
}
if (lolwtf > 5) {
if (_parent.dazang == 1) {
} else if (_parent.dazang == 2) {
_root.backgroundclip["da_hui" + _root.mini_killed]._yscale = -100;
}
_parent._x = 2155;
_parent._y = 320;
} else {
if (_parent.dazang == 1) {
} else if (_parent.dazang == 2) {
_root.backgroundclip["da_hui" + _root.mini_killed]._yscale = -100;
}
_parent._x = -280;
_parent._y = 320;
}
if ((((((_root.medi_killed == 30) || (_root.medi_killed == 45)) || (_root.medi_killed == 60)) || (_root.medi_killed == 75)) || (_root.medi_killed == 90)) || (_root.medi_killed == 105)) {
_root.enemy_type_2_health++;
}
_parent.speedb = _root.enemy_type_2_speedb;
_parent.speed = _root.enemy_type_2_speed;
_parent.health = _root.enemy_type_2_health;
_parent.gotoAndStop(1);
_parent._visible = false;
_parent.removeMovieClip();
stop();
Symbol 370 MovieClip Frame 1
stop();
Instance of Symbol 204 MovieClip "kebeng" in Symbol 370 MovieClip Frame 1
onClipEvent (load) {
this.stop();
this._visible = false;
}
Instance of Symbol 368 MovieClip in Symbol 370 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
this.play();
} else if (_root.pausegame == true) {
this.stop();
}
}
Symbol 370 MovieClip Frame 3
dead = true;
_root.score = _root.score + 10;
_root.score = _root.score + _root.enemy_type_2_health;
_root.killsB++;
Instance of Symbol 67 MovieClip in Symbol 372 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
this.play();
} else if (_root.pausegame == true) {
this.stop();
}
}
Instance of Symbol 79 MovieClip in Symbol 372 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
this.play();
} else if (_root.pausegame == true) {
this.stop();
}
}
Symbol 373 MovieClip Frame 2
_parent.health = _parent.health - _root["kogel" + _parent.bullethit].weaponUp;
if (_parent.health <= 0) {
_parent.gotoAndStop(3);
}
Symbol 373 MovieClip Frame 6
_root["kogel" + _parent.bullethit].removeMovieClip();
Symbol 373 MovieClip Frame 16
_parent.gotoAndStop(1);
Symbol 374 MovieClip Frame 39
_parent.dead2 = false;
_root.mega_killed++;
lolwtf = Math.random() * 10;
lolwtf = Math.round(lolwtf);
finder = Math.round((Math.random() * 100) + 1);
if (finder < 11) {
_root.pickup11.duplicateMovieClip("da_pickup" + _root.dont_pick_it_up, 10 + _root.dont_pick_it_up, _root.backgroundclip);
_root["da_pickup" + _root.dont_pick_it_up]._y = _parent._y;
_root["da_pickup" + _root.dont_pick_it_up]._x = _parent._x;
_root.dont_pick_it_up++;
} else if ((finder > 10) && (finder < 21)) {
_root.pickup12.duplicateMovieClip("da_pickup" + _root.dont_pick_it_up, 10 + _root.dont_pick_it_up, _root.backgroundclip);
_root["da_pickup" + _root.dont_pick_it_up]._y = _parent._y;
_root["da_pickup" + _root.dont_pick_it_up]._x = _parent._x;
_root.dont_pick_it_up++;
} else if ((finder > 20) && (finder < 31)) {
_root.pickup13.duplicateMovieClip("da_pickup" + _root.dont_pick_it_up, 10 + _root.dont_pick_it_up, _root.backgroundclip);
_root["da_pickup" + _root.dont_pick_it_up]._y = _parent._y;
_root["da_pickup" + _root.dont_pick_it_up]._x = _parent._x;
_root.dont_pick_it_up++;
} else if ((finder > 30) && (finder < 41)) {
_root.pickup14.duplicateMovieClip("da_pickup" + _root.dont_pick_it_up, 10 + _root.dont_pick_it_up, _root.backgroundclip);
_root["da_pickup" + _root.dont_pick_it_up]._y = _parent._y;
_root["da_pickup" + _root.dont_pick_it_up]._x = _parent._x;
_root.dont_pick_it_up++;
} else if ((finder > 40) && (finder < 51)) {
_root.pickup15.duplicateMovieClip("da_pickup" + _root.dont_pick_it_up, 10 + _root.dont_pick_it_up, _root.backgroundclip);
_root["da_pickup" + _root.dont_pick_it_up]._y = _parent._y;
_root["da_pickup" + _root.dont_pick_it_up]._x = _parent._x;
_root.dont_pick_it_up++;
} else if ((finder > 50) && (finder < 61)) {
_root.pickup16.duplicateMovieClip("da_pickup" + _root.dont_pick_it_up, 10 + _root.dont_pick_it_up, _root.backgroundclip);
_root["da_pickup" + _root.dont_pick_it_up]._y = _parent._y;
_root["da_pickup" + _root.dont_pick_it_up]._x = _parent._x;
_root.dont_pick_it_up++;
} else if ((finder > 60) && (finder < 71)) {
_root.pickup17.duplicateMovieClip("da_pickup" + _root.dont_pick_it_up, 10 + _root.dont_pick_it_up, _root.backgroundclip);
_root["da_pickup" + _root.dont_pick_it_up]._y = _parent._y;
_root["da_pickup" + _root.dont_pick_it_up]._x = _parent._x;
_root.dont_pick_it_up++;
} else if ((finder > 70) && (finder < 81)) {
_root.pickup18.duplicateMovieClip("da_pickup" + _root.dont_pick_it_up, 10 + _root.dont_pick_it_up, _root.backgroundclip);
_root["da_pickup" + _root.dont_pick_it_up]._y = _parent._y;
_root["da_pickup" + _root.dont_pick_it_up]._x = _parent._x;
_root.dont_pick_it_up++;
} else if ((finder > 80) && (finder < 91)) {
_root.pickup17.duplicateMovieClip("da_pickup" + _root.dont_pick_it_up, 10 + _root.dont_pick_it_up, _root.backgroundclip);
_root["da_pickup" + _root.dont_pick_it_up]._y = _parent._y;
_root["da_pickup" + _root.dont_pick_it_up]._x = _parent._x;
_root.dont_pick_it_up++;
}
if (lolwtf > 5) {
if (_parent.dazang == 1) {
} else if (_parent.dazang == 2) {
_root.backgroundclip["da_hui" + _root.mini_killed]._yscale = -100;
}
_parent._x = 4955;
_parent._y = 320;
} else {
if (_parent.dazang == 1) {
} else if (_parent.dazang == 2) {
_root.backgroundclip["da_hui" + _root.mini_killed]._yscale = -100;
}
_parent._x = -3080;
_parent._y = 320;
}
if ((((((_root.mega_killed == 100) || (_root.mega_killed == 200)) || (_root.mega_killed == 300)) || (_root.mega_killed == 400)) || (_root.mega_killed == 500)) || (_root.mega_killed == 600)) {
_root.enemy_type_3_health++;
}
_parent.speedb = _root.enemy_type_3_speedb;
_parent.speed = _root.enemy_type_3_speed;
_parent.health = _root.enemy_type_3_health;
_parent.gotoAndStop(1);
_parent._visible = false;
_parent.removeMovieClip();
stop();
Symbol 375 MovieClip Frame 1
stop();
Instance of Symbol 219 MovieClip "kebeng" in Symbol 375 MovieClip Frame 1
onClipEvent (load) {
this.stop();
this._visible = false;
}
Instance of Symbol 373 MovieClip in Symbol 375 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.pausegame == false) {
this.play();
} else if (_root.pausegame == true) {
this.stop();
}
}
Symbol 375 MovieClip Frame 3
dead = true;
_root.score = _root.score + 20;
_root.score = _root.score + _root.enemy_type_3_health;
_root.killsC++;
Symbol 382 Button
on (release) {
nextFrame();
}
Symbol 389 Button
on (release) {
if (_root.score >= _root.price1) {
_root.bought = _root.bought + _root.price1;
_root.score = _root.score - _root.price1;
_root.maxhealth = _root.maxhealth + 25;
_root.price1 = _root.price1 * 2;
upgrade = new Sound();
upgrade.attachSound("upgrade");
upgrade.start(0, 0);
} else {
shoot = new Sound();
shoot.attachSound("shoot");
shoot.start(0, 0);
}
}
Symbol 392 Button
on (release) {
if (_root.score >= _root.price2) {
_root.bought = _root.bought + _root.price2;
_root.score = _root.score - _root.price2;
_root.totalhealth = _root.maxhealth;
_root.price2 = _root.price2 + 10;
upgrade = new Sound();
upgrade.attachSound("upgrade");
upgrade.start(0, 0);
} else {
shoot = new Sound();
shoot.attachSound("shoot");
shoot.start(0, 0);
}
}
Symbol 395 Button
on (release) {
if ((_root.score >= _root.price3) && (_root.maxShooter > 5)) {
_root.bought = _root.bought + _root.price3;
_root.score = _root.score - _root.price3;
_root.maxShooter--;
_root.price3 = _root.price3 * 2.5;
_root.price3 = Math.ceil(_root.price3);
upgrade = new Sound();
upgrade.attachSound("upgrade");
upgrade.start(0, 0);
} else {
shoot = new Sound();
shoot.attachSound("shoot");
shoot.start(0, 0);
}
}
Symbol 403 MovieClip Frame 70
_root.gotoAndStop(_root._currentframe - 2);