Frame 2
total = this.getBytesTotal();
A = ((this.getBytesLoaded() / total) * 1.9) * 100;
percent = int(A) add "%";
setProperty("_root.bar", _xscale , int(A));
ifFrameLoaded (39) {
gotoAndStop (5);
}
Frame 3
gotoAndPlay (2);
Frame 4
Frame 5
stop();
Set("button1/label:text", "P l a y N o w");
Set("button2/label:text", "B a c k g r o u n d");
Set("button3/label:text", "H i g h S c o r e s");
Set("button4/label:text", "C r e d i t s");
Set("button5/label:text", "M o r e G a m e s");
button1 = "Game";
button2 = "Background";
button3 = "HighScore";
button4 = "credits";
button5 = "MoreGames";
unloadMovieNum (1);
_quality = "high";
loadMovieNum ("sounds.swf", 1);
Frame 6
gotoAndStop(/:target);
Frame 7
Set("button6/label:text", "B A C K");
button6 = "Menu";
Frame 8
gotoAndStop(/:target);
Frame 9
stop();
Set("button6/label:text", "B A C K");
button6 = "Menu";
Set("button1/label:text", "P l a y N o w");
button1 = "Game";
Frame 10
gotoAndStop (5);
Frame 11
getURL ("javascript:spawnWindow('http://www.sayinteractive.com/scripts/setScore2.asp','Ablast','toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=400,height=450')");
gotoAndStop (5);
stop();
Frame 12
unloadMovieNum (1);
gotoAndStop(/:target);
Frame 13
stopAllSounds();
stop();
_quality = "medium";
Frame 14
gotoAndPlay (15);
Frame 15
empval = 0;
s0 = 0;
s1 = 0.01745;
s2 = 0.0349;
s3 = 0.05234;
s4 = 0.06976;
s5 = 0.08716;
s6 = 0.10453;
s7 = 0.12187;
s8 = 0.1392;
s9 = 0.15643;
s10 = 0.1736;
s11 = 0.1908;
s12 = 0.2079;
s13 = 0.225;
s14 = 0.2419;
s15 = 0.2588;
s16 = 0.2756;
s17 = 0.2924;
s18 = 0.309;
s19 = 0.3256;
s20 = 0.342;
s21 = 0.3584;
s22 = 0.3746;
s23 = 0.3907;
s24 = 0.4067;
s25 = 0.4226;
s26 = 0.4384;
s27 = 0.454;
s28 = 0.4695;
s29 = 0.4848;
s30 = 0.5;
s31 = 0.515;
s32 = 0.5299;
s33 = 0.5446;
s34 = 0.5592;
s35 = 0.5736;
s36 = 0.5878;
s37 = 0.6018;
s38 = 0.6157;
s39 = 0.6293;
s40 = 0.6428;
s41 = 0.6561;
s42 = 0.6691;
s43 = 0.682;
s44 = 0.6947;
s45 = 0.7071;
s46 = 0.7193;
s47 = 0.7314;
s48 = 0.7431;
s49 = 0.7547;
s50 = 0.766;
s51 = 0.7771;
s52 = 0.788;
s53 = 0.7986;
s54 = 0.809;
s55 = 0.8192;
s56 = 0.829;
s57 = 0.8387;
s58 = 0.848;
s59 = 0.8572;
s60 = 0.866;
s61 = 0.8746;
s62 = 0.8829;
s63 = 0.891;
s64 = 0.8988;
s65 = 0.9063;
s66 = 0.9135;
s67 = 0.9205;
s68 = 0.9272;
s69 = 0.9336;
s70 = 0.9397;
s71 = 0.9455;
s72 = 0.9511;
s73 = 0.9563;
s74 = 0.9613;
s75 = 0.9659;
s76 = 0.9703;
s77 = 0.9744;
s78 = 0.9781;
s79 = 0.9816;
s80 = 0.9848;
s81 = 0.9877;
s82 = 0.9903;
s83 = 0.9925;
s84 = 0.9945;
s85 = 0.9962;
s86 = 0.9976;
s87 = 0.9986;
s88 = 0.9994;
s89 = 0.9998;
s90 = 1;
Set("/:score", 0);
Set("/:invincible", 0);
Set("/sound:music", 2);
if (_root.levelcode == "wave17") {
Set("/:score", _root.levelscore);
gotoAndStop (52);
}
Frame 16
stop();
Set("/:boss", 0);
Set("/:dead", 0);
Set("/:bullets", 0);
Set("/:asteroid", 0);
Set("/:marginW", getProperty("/badguy", _width) / 2);
Set("/:marginH", getProperty("/badguy", _height));
Set("/:fire", 1);
Set("/:nextwave", "wave2");
Set("/:number", 1);
Set("/:last", 6);
Set("/:badguys", 0);
Set("/:plus", 0);
Set("/:total", 6);
Set("/:startX", 0);
Set("/:startY", 0);
Set("/:shoot", 0);
Set("/:value", 100);
Set("/:sector", 1);
Instance of Symbol 238 MovieClip "bossemp" in Frame 16
onClipEvent (enterFrame) {
setProperty(this, _x , getProperty("/boss/boss", _x) - 170);
setProperty(this, _y , getProperty("/boss/boss", _y) + 100);
}
Frame 18
Set("/:nextwave", "wave3");
Set("/:number", 1);
Set("/:last", 6);
Set("/:badguys", 0);
Set("/:total", 6);
Set("/:shoot", 0);
Frame 20
Set("/:nextwave", "wave4");
Set("/:number", 1);
Set("/:last", 6);
Set("/:badguys", 0);
Set("/:total", 6);
Set("/:plus", 6);
Set("/:shoot", 0);
Frame 22
Set("/:nextwave", "wave5");
Set("/:number", 1);
Set("/:last", 6);
Set("/:badguys", 0);
Set("/:plus", 0);
Set("/:total", 6);
Set("/:startX", 0);
Set("/:startY", 0);
Set("/:shoot", 0);
Set("/:value", 200);
Frame 24
Set("/:nextwave", "wave6");
Set("/:number", 1);
Set("/:last", 6);
Set("/:badguys", 0);
Set("/:total", 6);
Set("/:shoot", 0);
Frame 26
Set("/:nextwave", "wave7");
Set("/:number", 1);
Set("/:last", 6);
Set("/:badguys", 0);
Set("/:plus", 0);
Set("/:total", 6);
Set("/:shoot", 1);
Frame 28
Set("/:nextwave", "wave8");
Set("/:number", 1);
Set("/:last", 6);
Set("/:badguys", 0);
Set("/:total", 6);
Set("/:shoot", 1);
Set("/:value", 300);
Frame 30
Set("/:kamX1", 50);
Set("/:kamX2", 170);
Set("/:kamX3", 290);
Set("/:kamX4", 410);
Set("/:kamX5", 530);
Set("/:kamX6", 650);
Set("/:kamR1", -10);
Set("/:kamR2", -5);
Set("/:kamR3", 0);
Set("/:kamR4", 0);
Set("/:kamR5", 5);
Set("/:kamR6", 10);
Set("/:kamY1", 0);
Set("/:kamY2", 0);
Set("/:kamY3", 0);
Set("/:kamY4", 0);
Set("/:kamY5", 0);
Set("/:kamY6", 0);
Set("/:nextwave", "wave9");
Set("/:number", 1);
Set("/:last", 6);
Set("/:badguys", 0);
Set("/:plus", 0);
Set("/:total", 6);
Set("/:value", 500);
Frame 32
Set("/:nextwave", "wave10");
Set("/:number", 1);
Set("/:last", 6);
Set("/:badguys", 0);
Set("/:plus", 0);
Set("/:total", 6);
Set("/:startX", 0);
Set("/:startY", 0);
Set("/:shoot", 1);
Frame 34
Set("/:nextwave", "wave11");
Set("/:number", 1);
Set("/:last", 6);
Set("/:badguys", 0);
Set("/:total", 6);
Set("/:shoot", 1);
Set("/:value", 300);
Frame 36
Set("/:nextwave", "wave12");
Set("/:number", 1);
Set("/:last", 6);
Set("/:badguys", 0);
Set("/:total", 6);
Set("/:plus", 6);
Set("/:shoot", 1);
Frame 38
Set("/:kamX1", 50);
Set("/:kamX2", 170);
Set("/:kamX3", 290);
Set("/:kamX4", 410);
Set("/:kamX5", 530);
Set("/:kamX6", 650);
Set("/:kamR1", 0);
Set("/:kamR2", 0);
Set("/:kamR3", 0);
Set("/:kamR4", 0);
Set("/:kamR5", 0);
Set("/:kamR6", 0);
Set("/:kamY1", -50);
Set("/:kamY2", -25);
Set("/:kamY3", 0);
Set("/:kamY4", 0);
Set("/:kamY5", -25);
Set("/:kamY6", -50);
Set("/:nextwave", "wave13");
Set("/:number", 1);
Set("/:last", 6);
Set("/:badguys", 0);
Set("/:plus", 0);
Set("/:total", 6);
Set("/:value", 500);
Frame 40
Set("/:kamX1", 350);
Set("/:kamX2", 175);
Set("/:kamX3", 525);
Set("/:kamX4", 85);
Set("/:kamX5", 615);
Set("/:kamR1", 0);
Set("/:kamR2", 0);
Set("/:kamR3", 0);
Set("/:kamR4", 0);
Set("/:kamR5", 0);
Set("/:kamY1", 0);
Set("/:kamY2", -25);
Set("/:kamY3", -75);
Set("/:kamY4", -125);
Set("/:kamY5", -125);
Set("/:nextwave", "wave14");
Set("/:asteroid", 1);
Set("/:number", 1);
Set("/:last", 5);
Set("/:badguys", 0);
Set("/:plus", 0);
Set("/:value", 0);
Frame 42
Set("/:asteroid", 0);
Set("/:nextwave", "goBoss");
Set("/:number", 1);
Set("/:last", 2);
Set("/:badguys", 0);
Set("/:total", 2);
Set("/:plus", 0);
Set("/:shoot", 1);
Set("/:value", 600);
Frame 44
Set("/:nextwave", "wave15");
Frame 46
stop();
Set("/:boss", 1);
Set("/:last", 3);
Set("/:badguys", 3);
Set("/:nextwave", "wave16");
Set("/:badguy1", 30);
Set("/:badguy2", 30);
Set("/:badguy3", 80);
Set("/:value", 1000);
Frame 48
Set("/:boss", 0);
Set("/:bullets", 0);
Set("/:nextwave", "wave17");
Frame 50
Set("/:nextwave", "wave18");
_level1.gotoAndStop("sectorclear");
Mouse.show();
Frame 52
_level1.gotoAndPlay("sectorclearstop");
sound.gotoAndPlay(4);
Set("/:sector", 2);
Set("/:kamX1", 50);
Set("/:kamX2", 575);
Set("/:kamX3", 300);
Set("/:kamX4", 225);
Set("/:kamX5", 360);
Set("/:kamX6", 100);
Set("/:kamX7", 270);
Set("/:kamX8", 430);
Set("/:kamR1", 0);
Set("/:kamR2", 0);
Set("/:kamR3", 0);
Set("/:kamR4", 0);
Set("/:kamR5", 0);
Set("/:kamR6", 0);
Set("/:kamR7", 0);
Set("/:kamR8", 0);
Set("/:kamY1", -random(300));
Set("/:kamY2", -random(300));
Set("/:kamY3", -random(300));
Set("/:kamY4", -random(300));
Set("/:kamY5", -random(300));
Set("/:kamY6", -random(300));
Set("/:kamY7", -random(300));
Set("/:kamY8", -random(300));
Set("/:nextwave", "wave19");
Set("/:asteroid", 1);
Set("/:number", 1);
Set("/:last", 8);
Set("/:badguys", 0);
Set("/:plus", 0);
Set("/:value", 0);
Frame 54
Set("/:asteroid", 0);
Set("/:nextwave", "wave20");
Set("/:number", 1);
Set("/:last", 3);
Set("/:badguys", 0);
Set("/:plus", 0);
Set("/:total", 3);
Set("/:shoot", 1);
Set("/:value", 600);
Frame 56
Set("/:asteroid", 0);
Set("/:nextwave", "wave21");
Set("/:number", 1);
Set("/:last", 3);
Set("/:badguys", 0);
Set("/:plus", 0);
Set("/:total", 3);
Set("/:shoot", 1);
Set("/:value", 600);
Frame 58
Set("/:asteroid", 0);
Set("/:nextwave", "wave22");
Set("/:number", 1);
Set("/:last", 4);
Set("/:badguys", 0);
Set("/:plus", 0);
Set("/:shoot", 1);
Set("/:value", 600);
Set("/:swap", 1);
Frame 60
Set("/:sector", 2);
Set("/:kamX1", 50);
Set("/:kamX2", 575);
Set("/:kamX3", 300);
Set("/:kamX4", 225);
Set("/:kamX5", 360);
Set("/:kamX6", 100);
Set("/:kamX7", 270);
Set("/:kamX8", 430);
Set("/:kamR1", 0);
Set("/:kamR2", 0);
Set("/:kamR3", 0);
Set("/:kamR4", 0);
Set("/:kamR5", 0);
Set("/:kamR6", 0);
Set("/:kamR7", 0);
Set("/:kamR8", 0);
Set("/:kamY1", -random(300));
Set("/:kamY2", -random(300));
Set("/:kamY3", -random(300));
Set("/:kamY4", -random(300));
Set("/:kamY5", -random(300));
Set("/:kamY6", -random(300));
Set("/:kamY7", -random(300));
Set("/:kamY8", -random(300));
Set("/:nextwave", "wave23");
Set("/:asteroid", 1);
Set("/:number", 1);
Set("/:last", 8);
Set("/:badguys", 0);
Set("/:plus", 0);
Set("/:value", 0);
Frame 62
Set("/:nextwave", "wave24");
Set("/:number", 1);
Set("/:last", 6);
Set("/:badguys", 0);
Set("/:plus", 0);
Set("/:total", 6);
Set("/:shoot", 1);
Set("/:asteroid", 0);
Frame 64
Set("/:nextwave", "wave25");
Set("/:kamX1", -400);
Set("/:kamX2", -300);
Set("/:kamX3", -200);
Set("/:kamX4", -100);
Set("/:kamX5", 0);
Set("/:kamX6", 100);
Set("/:kamR1", -40);
Set("/:kamR2", -40);
Set("/:kamR3", -40);
Set("/:kamR4", -40);
Set("/:kamR5", -40);
Set("/:kamR6", -40);
Set("/:kamY1", 30);
Set("/:kamY2", 25);
Set("/:kamY3", 20);
Set("/:kamY4", 15);
Set("/:kamY5", 10);
Set("/:kamY6", 5);
Set("/:number", 1);
Set("/:last", 6);
Set("/:badguys", 0);
Set("/:plus", 0);
Set("/:total", 6);
Set("/:value", 500);
Frame 66
Set("/:nextwave", "wave26");
Set("/:kamX1", 1100);
Set("/:kamX2", 1000);
Set("/:kamX3", 900);
Set("/:kamX4", 800);
Set("/:kamX5", 700);
Set("/:kamX6", 600);
Set("/:kamR1", 40);
Set("/:kamR2", 40);
Set("/:kamR3", 40);
Set("/:kamR4", 40);
Set("/:kamR5", 40);
Set("/:kamR6", 40);
Set("/:kamY1", 30);
Set("/:kamY2", 25);
Set("/:kamY3", 20);
Set("/:kamY4", 15);
Set("/:kamY5", 10);
Set("/:kamY6", 5);
Set("/:number", 1);
Set("/:last", 6);
Set("/:badguys", 0);
Set("/:plus", 0);
Set("/:total", 6);
Set("/:value", 500);
Frame 68
Set("/:nextwave", "wave27");
Set("/:number", 1);
Set("/:last", 10);
Set("/:badguys", 0);
Set("/:shoot", 0);
Set("/:plus", 10);
Set("/:value", 400);
_level1.gotoAndPlay("bugs");
Frame 70
_level1.gotoAndPlay("bugsstop");
Set("/:sector", 2);
Set("/:kamX1", 50);
Set("/:kamX2", 625);
Set("/:kamX3", 350);
Set("/:kamX4", 250);
Set("/:kamX5", 460);
Set("/:kamX6", 125);
Set("/:kamX7", 270);
Set("/:kamX8", 530);
Set("/:kamR1", 0);
Set("/:kamR2", 0);
Set("/:kamR3", 0);
Set("/:kamR4", 0);
Set("/:kamR5", 0);
Set("/:kamR6", 0);
Set("/:kamR7", 0);
Set("/:kamR8", 0);
Set("/:kamY1", -random(300));
Set("/:kamY2", -random(300));
Set("/:kamY3", -random(300));
Set("/:kamY4", -random(300));
Set("/:kamY5", -random(300));
Set("/:kamY6", -random(300));
Set("/:kamY7", -random(300));
Set("/:kamY8", -random(300));
Set("/:nextwave", "wave28");
Set("/:asteroid", 1);
Set("/:number", 1);
Set("/:last", 8);
Set("/:badguys", 0);
Set("/:plus", 0);
Set("/:value", 0);
Frame 72
Set("/:asteroid", 0);
Set("/:nextwave", "wave29");
Set("/:number", 1);
Set("/:number2", 4);
Set("/:last", 9);
Set("/:last1", 3);
Set("/:last2", 6);
Set("/:badguys", 0);
Set("/:plus", 0);
Set("/:shoot", 1);
Set("/:value", 600);
Frame 74
Set("/:nextwave", "wave30");
Set("/:kamX1", 800);
Set("/:kamX2", -100);
Set("/:kamX3", -100);
Set("/:kamX4", 800);
Set("/:kamX5", 800);
Set("/:kamX6", -100);
Set("/:kamR1", 90);
Set("/:kamR2", -90);
Set("/:kamR3", -90);
Set("/:kamR4", 90);
Set("/:kamR5", 90);
Set("/:kamR6", -90);
Set("/:kamY1", 300);
Set("/:kamY2", 375);
Set("/:kamY3", 450);
Set("/:kamY4", 525);
Set("/:kamY5", 600);
Set("/:kamY6", 675);
Set("/:number", 1);
Set("/:last", 6);
Set("/:badguys", 0);
Set("/:plus", 0);
Set("/:total", 6);
Set("/:value", 500);
Frame 76
_level1.gotoAndPlay("bugs");
Set("/:nextwave", "wave31");
Set("/:number", 1);
Set("/:last", 10);
Set("/:badguys", 0);
Set("/:shoot", 0);
Set("/:plus", 10);
Set("/:value", 400);
Frame 78
_level1.gotoAndPlay("bugsstop");
stop();
Set("/:boss", 1);
Set("/:last", 3);
Set("/:badguys", 3);
Set("/:nextwave", "wave32");
Set("/:badguy1", 50);
Set("/:badguy2", 50);
Set("/:badguy3", 100);
Set("/:value", 2000);
Frame 80
Set("/:boss", 0);
Set("/:bullets", 0);
Set("/:nextwave", "wave33");
Frame 82
Set("/:asteroid", 0);
Set("/:nextwave", "wave34");
_level1.gotoAndStop("sectorclear");
Frame 84
_level1.gotoAndPlay("sectorclearstop");
sound.gotoAndPlay(4);
Set("/:asteroid", 0);
Set("/:sector", 3);
Set("/:nextwave", "wave35");
Set("/:number", 1);
Set("/:last", 10);
Set("/:badguys", 0);
Set("/:shoot", 0);
Set("/:plus", 10);
Set("/:value", 600);
_level1.gotoAndPlay("bugs");
Frame 86
_level1.gotoAndPlay("bugsstop");
Set("/:nextwave", "wave36");
Set("/:number", 1);
Set("/:last", 3);
Set("/:badguys", 0);
Set("/:total", 3);
Set("/:plus", 0);
Set("/:shoot", 1);
Set("/:value", 800);
Frame 88
_level1.gotoAndPlay("bugs");
Set("/:sector", 3);
Set("/:nextwave", "wave37");
Set("/:number", 1);
Set("/:last", 10);
Set("/:badguys", 0);
Set("/:shoot", 0);
Set("/:plus", 10);
Set("/:value", 600);
Frame 90
_level1.gotoAndPlay("bugsstop");
Set("/:sector", 2);
Set("/:kamX1", 50);
Set("/:kamX2", 625);
Set("/:kamX3", 350);
Set("/:kamX4", 250);
Set("/:kamX5", 460);
Set("/:kamX6", 125);
Set("/:kamX7", 270);
Set("/:kamX8", 530);
Set("/:kamR1", 0);
Set("/:kamR2", 0);
Set("/:kamR3", 0);
Set("/:kamR4", 0);
Set("/:kamR5", 0);
Set("/:kamR6", 0);
Set("/:kamR7", 0);
Set("/:kamR8", 0);
Set("/:kamY1", -random(300));
Set("/:kamY2", -random(300));
Set("/:kamY3", -random(300));
Set("/:kamY4", -random(300));
Set("/:kamY5", -random(300));
Set("/:kamY6", -random(300));
Set("/:kamY7", -random(300));
Set("/:kamY8", -random(300));
Set("/:nextwave", "wave38");
Set("/:asteroid", 1);
Set("/:number", 1);
Set("/:last", 8);
Set("/:badguys", 0);
Set("/:plus", 0);
Set("/:value", 0);
Frame 92
Set("/:asteroid", 0);
Set("/:nextwave", "wave39");
Set("/:number", 1);
Set("/:number2", 4);
Set("/:last", 9);
Set("/:last1", 3);
Set("/:last2", 6);
Set("/:badguys", 0);
Set("/:plus", 0);
Set("/:shoot", 1);
Set("/:value", 600);
Frame 94
_level1.gotoAndPlay("bugsstop");
Set("/:sector", 3);
Set("/:nextwave", "wave40");
Set("/:number", 1);
Set("/:last", 10);
Set("/:badguys", 0);
Set("/:shoot", 0);
Set("/:plus", 10);
Set("/:value", 600);
Frame 96
Set("/:sector", 2);
Set("/:kamX1", 50);
Set("/:kamX2", 625);
Set("/:kamX3", 350);
Set("/:kamX4", 250);
Set("/:kamX5", 460);
Set("/:kamX6", 125);
Set("/:kamX7", 270);
Set("/:kamX8", 530);
Set("/:kamR1", 0);
Set("/:kamR2", 0);
Set("/:kamR3", 0);
Set("/:kamR4", 0);
Set("/:kamR5", 0);
Set("/:kamR6", 0);
Set("/:kamR7", 0);
Set("/:kamR8", 0);
Set("/:kamY1", -random(300));
Set("/:kamY2", -random(300));
Set("/:kamY3", -random(300));
Set("/:kamY4", -random(300));
Set("/:kamY5", -random(300));
Set("/:kamY6", -random(300));
Set("/:kamY7", -random(300));
Set("/:kamY8", -random(300));
Set("/:nextwave", "wave41");
Set("/:asteroid", 1);
Set("/:number", 1);
Set("/:last", 8);
Set("/:badguys", 0);
Set("/:plus", 0);
Set("/:value", 0);
Frame 98
Set("/:asteroid", 0);
Set("/:nextwave", "wave42");
Set("/:kamX1", -200);
Set("/:kamX2", 900);
Set("/:kamX3", 800);
Set("/:kamX4", -100);
Set("/:kamX5", 530);
Set("/:kamX6", 300);
Set("/:kamR1", -40);
Set("/:kamR2", -220);
Set("/:kamR3", 90);
Set("/:kamR4", -90);
Set("/:kamR5", -10);
Set("/:kamR6", -180);
Set("/:kamY1", 20);
Set("/:kamY2", 780);
Set("/:kamY3", 400);
Set("/:kamY4", 675);
Set("/:kamY5", 0);
Set("/:kamY6", 800);
Set("/:number", 1);
Set("/:last", 6);
Set("/:badguys", 0);
Set("/:plus", 0);
Set("/:total", 6);
Set("/:value", 500);
Frame 100
Set("/:nextwave", "wave43");
Set("/:kamX1", 350);
Set("/:kamX2", 350);
Set("/:kamX3", 0);
Set("/:kamX4", 700);
Set("/:kamX5", 800);
Set("/:kamX6", -100);
Set("/:kamR1", 0);
Set("/:kamR2", 180);
Set("/:kamR3", -40);
Set("/:kamR4", 40);
Set("/:kamR5", 90);
Set("/:kamR6", -90);
Set("/:kamY1", 0);
Set("/:kamY2", 800);
Set("/:kamY3", 0);
Set("/:kamY4", 0);
Set("/:kamY5", 350);
Set("/:kamY6", 350);
Set("/:number", 1);
Set("/:last", 6);
Set("/:badguys", 0);
Set("/:plus", 0);
Set("/:total", 6);
Set("/:value", 500);
Frame 102
Set("/:nextwave", "wave44");
Set("/:number", 1);
Set("/:last", 3);
Set("/:badguys", 0);
Set("/:total", 3);
Set("/:plus", 0);
Set("/:shoot", 1);
Set("/:value", 800);
Frame 104
Set("/:asteroid", 0);
Set("/:nextwave", "wave45");
Set("/:number", 1);
Set("/:number2", 5);
Set("/:last", 9);
Set("/:last1", 4);
Set("/:last2", 6);
Set("/:badguys", 0);
Set("/:plus", 0);
Set("/:shoot", 1);
Set("/:value", 600);
Frame 106
_level1.gotoAndPlay("bugs");
Set("/:nextwave", "wave46");
Set("/:number", 1);
Set("/:last", 10);
Set("/:badguys", 0);
Set("/:shoot", 0);
Set("/:plus", 10);
Set("/:value", 600);
Frame 108
_level1.gotoAndPlay("bugsstop");
Set("/:nextwave", "wave47");
Set("/:number", 1);
Set("/:last", 6);
Set("/:badguys", 0);
Set("/:shoot", 1);
Set("/:plus", 10);
Set("/:value", 600);
Frame 110
Set("/:asteroid", 0);
Set("/:nextwave", "wave48");
Set("/:number", 1);
Set("/:number2", 4);
Set("/:last", 6);
Set("/:last1", 3);
Set("/:last2", 6);
Set("/:badguys", 0);
Set("/:plus", 0);
Set("/:shoot", 1);
Set("/:value", 600);
Frame 112
stop();
Set("/:boss", 1);
Set("/:last", 6);
Set("/:badguys", 6);
Set("/:nextwave", "gameOver");
Set("/:badguy1", 50);
Set("/:badguy2", 50);
Set("/:badguy3", 100);
Set("/:badguy4", 10);
Set("/:badguy5", 50);
Set("/:badguy6", 100);
Set("/:value", 4000);
Frame 113
stop();
Mouse.show();
Set("/:gameOver", 1);
button6 = "Next";
_level1.gotoAndPlay("zapstop");
_level1.gotoAndPlay("bugstop");
_level1.gotoAndPlay("uzistop");
Frame 115
stopAllSounds();
gotoAndStop (5);
Symbol 19 Button
on (rollOver) {
gotoAndPlay (2);
}
on (rollOut, dragOut) {
gotoAndPlay (8);
}
on (press) {
Set("/:target", name);
tellTarget ("/") {
nextFrame();
};
}
Symbol 21 MovieClip Frame 1
name = eval ("/:" add _name);
stop();
Symbol 21 MovieClip Frame 7
stop();
Symbol 112 Button
on (release) {
getURL ("http://www.sayinteractive.com", "_blank");
}
Symbol 118 MovieClip Frame 45
stop();
tellTarget ("/") {
nextFrame();
};
Symbol 120 Button
on (keyPress "[") {
if (Key.isDown(Key.LEFT)) {
Set("/:sector", 2);
gotoAndStop (50);
}
}
Symbol 130 MovieClip Frame 1
if (this._name eq "background") {
duplicateMovieClip ("", "background2", 300000);
}
Symbol 136 Button
on (keyPress "m") {
if (music == 0) {
music = 1;
} else {
music = 0;
}
stopAllSounds();
gotoAndStop("music" add music);
}
Symbol 145 MovieClip Frame 1
stop();
Symbol 145 MovieClip Frame 3
stopAllSounds();
Symbol 145 MovieClip Frame 5
gotoAndStop (1);
Symbol 145 MovieClip Frame 7
stopAllSounds();
Symbol 145 MovieClip Frame 9
gotoAndStop (1);
Symbol 145 MovieClip Frame 11
gotoAndStop (1);
Symbol 145 MovieClip Frame 13
gotoAndStop (1);
Symbol 145 MovieClip Frame 15
gotoAndStop (1);
Symbol 145 MovieClip Frame 17
gotoAndStop (1);
Symbol 145 MovieClip Frame 19
gotoAndStop (1);
Symbol 145 MovieClip Frame 21
gotoAndStop (1);
Symbol 145 MovieClip Frame 23
gotoAndStop (1);
Symbol 146 MovieClip Frame 1
stop();
_quality = "medium";
Symbol 146 MovieClip Frame 2
stop();
_quality = "low";
Symbol 146 MovieClip Frame 3
gotoAndStop (1);
Symbol 161 MovieClip Frame 1
stop();
Symbol 161 MovieClip Frame 3
tellTarget ("../") {
stop();
};
Symbol 161 MovieClip Frame 11
stop();
removeMovieClip("../");
Symbol 162 MovieClip Frame 1
if (../:shot == 1) {
stop();
}
Symbol 162 MovieClip Frame 2
Set("/:status", _root.mouse.ship.area.hitTest(("/badguy" add ../:ID) add "/watch"));
if (/:status == true) {
if (/:invincible != 1) {
if (/:shields == 1) {
tellTarget ("/shieldmon") {
nextFrame();
};
tellTarget ("/mouse/ship/shields/shield") {
gotoAndPlay ("hit");
};
} else {
tellTarget ("/mouse/ship/explode") {
gotoAndStop (2);
};
tellTarget ("/healthmon") {
nextFrame();
};
}
}
Set("/:badguy" add ../:ID, 0);
Set("/:badguys", /:badguys - 1);
Set("../:shot", 1);
tellTarget ("../") {
stop();
};
tellTarget ("../watch") {
gotoAndPlay ("explode");
};
}
Symbol 163 MovieClip Frame 1
if ((/:shoot != 1) or (../:shot == 1)) {
stop();
}
Symbol 163 MovieClip Frame 8
number = random(50000) + 200000;
scr_ctr_x = getProperty("../watch", _x);
scr_ctr_y = getProperty("../watch", _y);
mouse_x = (getProperty("/mouse/ship", _x) - scr_ctr_x) - (getProperty("../watch", _x) - scr_ctr_x);
mouse_y = (getProperty("/mouse/ship", _y) - scr_ctr_y) - (getProperty("../watch", _y) - scr_ctr_y);
input = (mouse_x * mouse_x) + (mouse_y * mouse_y);
hyp = Math.sqrt(input);
sin_theta = mouse_y / hyp;
if (sin_theta < 0) {
sin_theta = sin_theta + (sin_theta * -2);
}
angle = 0;
do {
angle = angle + 1;
} while (eval ("/:s" add angle) < sin_theta);
if ((mouse_x >= 0) and (mouse_y < 0)) {
angle = angle;
}
if ((mouse_x < 0) and (mouse_y < 0)) {
angle = (90 - angle) + 90;
}
if ((mouse_x < 0) and (mouse_y >= 0)) {
angle = angle + 180;
}
if ((mouse_x >= 0) and (mouse_y >= 0)) {
angle = (90 - angle) + 270;
}
duplicateMovieClip ("/bullete", "bullet" + number, number);
rotate = (-angle) + 90;
setProperty("/bullet" add number, _x , getProperty("../watch", _x));
setProperty("/bullet" add number, _y , getProperty("../watch", _y));
setProperty("/bullet" add number, _rotation , rotate);
tellTarget ("/sound") {
gotoAndStop ("enemyZap");
};
Symbol 163 MovieClip Frame 30
gotoAndPlay (1);
Symbol 164 MovieClip Frame 1
if (this._name eq "badguy") {
gotoAndPlay (101);
} else if (this._name eq "badguyd") {
stop();
}
health = 1;
Symbol 164 MovieClip Frame 100
Set("/:" add this._name, 0);
Set("/:badguys", /:badguys - 1);
removeMovieClip("");
Symbol 164 MovieClip Frame 101
if (/:last >= /:number) {
duplicateMovieClip ("/badguy", "badguy" + /:number, /:number);
Set(("/badguy" add /:number) add ":ID", /:number);
Set("/:badguy" add /:number, 1);
setProperty("/badguy" add /:number, _x , /:startX);
setProperty("/badguy" add /:number, _y , /:startY);
Set("/:number", /:number + 1);
Set("/:badguys", /:badguys + 1);
}
if (/:badguys < 1) {
tellTarget ("/") {
gotoAndStop(/:nextwave);
};
}
Symbol 164 MovieClip Frame 106
gotoAndPlay (101);
Symbol 167 MovieClip Frame 1
stop();
Symbol 167 MovieClip Frame 4
tellTarget ("/sound") {
gotoAndStop ("explode");
};
Symbol 167 MovieClip Frame 13
Set("/:bullets", /:bullets - 1);
removeMovieClip("../");
Symbol 168 MovieClip Frame 1
if (this._name eq "bullet") {
stop();
} else {
if (OK == 1) {
setProperty(me, _x , startX);
setProperty(me, _y , startY - 30);
OK = 0;
}
setProperty(me, _y , _y - 25);
if (_y < -50) {
removeMovieClip("");
Set("/:bullets", /:bullets - 1);
}
}
Symbol 168 MovieClip Frame 2
setProperty(me, _y , _y - 25);
count = 0;
flag = 0;
flag2 = 0;
if (/:asteroid == 1) {
do {
count = count + 1;
flag = this.hitTest(("/badguy" add count) add "/watch");
if ((flag == true) and (eval ("/:badguy" add count) == 1)) {
stop();
tellTarget (shot) {
gotoAndPlay ("explode");
};
flag = 0;
}
} while (/:last >= count);
} else if (/:boss == 1) {
do {
count = count + 1;
flag = this.hitTest("/boss/boss/badguy" add count);
if ((flag == true) and (0 < eval ("/:badguy" add count))) {
stop();
Set("/:badguy" add count, eval ("/:badguy" add count) - 1);
if (eval ("/:badguy" add count) < 1) {
tellTarget ("/boss/boss/badguy" add count) {
gotoAndPlay ("explode");
};
Set("/:score", /:score + /:value);
}
tellTarget (shot) {
gotoAndPlay ("explode");
};
flag = 0;
}
} while (/:last >= count);
} else {
do {
count = count + 1;
flag = this.hitTest(("/badguy" add count) add "/watch");
if ((flag == true) and (eval ("/:badguy" add count) == 1)) {
Set(("/badguy" add count) add ":health", eval (("/badguy" add count) add ":health") - 1);
if (eval (("/badguy" add count) add ":health") == 0) {
Set(("/badguy" add count) add ":shot", 1);
Set("/:badguy" add count, 0);
Set("/:badguys", /:badguys - 1);
tellTarget ("/badguy" add count) {
stop();
};
tellTarget (("/badguy" add count) add "/watch") {
gotoAndPlay ("explode");
};
flag2 = 1;
Set("/:score", /:score + /:value);
} else {
stop();
tellTarget (shot) {
gotoAndPlay ("explode");
};
}
flag = 0;
}
} while (/:last >= count);
}
if (flag2 == 1) {
flag2 = 0;
Set("/:bullets", /:bullets - 1);
removeMovieClip("");
}
Symbol 170 MovieClip Frame 1
stop();
Symbol 170 MovieClip Frame 10
stop();
removeMovieClip("/:" add getProperty("../../", _name));
Symbol 171 MovieClip Frame 1
if (../:myname eq "bullete") {
stop();
}
Symbol 171 MovieClip Frame 2
Set("/:status", this.hitTest(_root.mouse.ship.area));
if (/:status == true) {
if (/:invincible != 1) {
if (/:shields == 1) {
tellTarget ("/shieldmon") {
nextFrame();
};
tellTarget ("/mouse/ship/shields/shield") {
gotoAndPlay ("hit");
};
} else {
tellTarget ("/healthmon") {
nextFrame();
};
tellTarget ("/mouse/ship/explode") {
gotoAndStop (2);
};
}
stop();
tellTarget ("../") {
stop();
};
removeMovieClip("/:" add getProperty("../", _name));
} else {
stop();
tellTarget ("../") {
stop();
};
tellTarget ("shot") {
gotoAndPlay ("explode");
};
}
}
gotoAndPlay (1);
Symbol 171 MovieClip Frame 3
if (thisCount != 1) {
xspeed = getProperty("../", _x) - getProperty("/mouse/ship", _x);
yspeed = getProperty("../", _y) - getProperty("/mouse/ship", _y);
thisCount = 1;
}
setProperty("../", _x , getProperty("../", _x) - (xspeed / 20));
setProperty("../", _y , getProperty("../", _y) - (yspeed / 20));
Symbol 171 MovieClip Frame 4
setProperty("../", _x , getProperty("this", _x));
prevY = getProperty("this", _y);
setProperty("../", _rotation , 0);
newY = getProperty("this", _y);
setProperty("../", _y , getProperty("../", _y) - (newY - prevY));
scr_ctr_x = getProperty("this", _x);
scr_ctr_y = getProperty("this", _y);
mouse_x = (getProperty("/mouse/ship", _x) - scr_ctr_x) - (getProperty("../", _x) - scr_ctr_x);
mouse_y = (getProperty("/mouse/ship", _y) - scr_ctr_y) - (getProperty("../", _y) - scr_ctr_y);
input = (mouse_x * mouse_x) + (mouse_y * mouse_y);
hyp = Math.sqrt(input);
sin_theta = mouse_y / hyp;
if (sin_theta < 0) {
sin_theta = sin_theta + (sin_theta * -2);
}
angle = 0;
do {
angle = angle + 1;
} while (eval ("/:s" add angle) < sin_theta);
if ((mouse_x >= 0) and (mouse_y < 0)) {
angle = angle;
}
if ((mouse_x < 0) and (mouse_y < 0)) {
angle = (90 - angle) + 90;
}
if ((mouse_x < 0) and (mouse_y >= 0)) {
angle = angle + 180;
}
if ((mouse_x >= 0) and (mouse_y >= 0)) {
angle = (90 - angle) + 270;
}
rotate = (-angle) + 90;
setProperty("../", _rotation , rotate);
Symbol 171 MovieClip Frame 5
if (../:myname eq "bullete") {
stop();
} else {
call("point");
}
Symbol 171 MovieClip Frame 6
Set("/:status", this.hitTest(_root.mouse.ship.area));
if (/:status == true) {
if (/:invincible != 1) {
if (/:shields == 1) {
tellTarget ("/shieldmon") {
nextFrame();
};
tellTarget ("/mouse/ship/shields/shield") {
gotoAndPlay ("hit");
};
} else {
tellTarget ("/healthmon") {
nextFrame();
};
tellTarget ("/mouse/ship/explode") {
gotoAndStop (2);
};
}
stop();
tellTarget ("../") {
stop();
};
removeMovieClip("/:" add getProperty("../", _name));
} else {
stop();
tellTarget ("../") {
stop();
};
tellTarget ("shot") {
gotoAndPlay ("explode");
};
}
}
call("point");
gotoAndPlay (1);
Symbol 172 MovieClip Frame 1
if (this._name eq "bullete") {
stop();
}
Symbol 172 MovieClip Frame 2
myname = this._name;
Symbol 172 MovieClip Frame 46
removeMovieClip("");
Symbol 175 Button
on (release) {
if (/:bullets < 6) {
Set("/:bulletID", random(50000) + 50000);
Set("/:bullets", /:bullets + 1);
duplicateMovieClip ("/bullet", "bullet" add /:bulletID, /:bulletID);
Set(("/bullet" add /:bulletID) add ":startY", getProperty("/mouse/ship", _y));
Set(("/bullet" add /:bulletID) add ":startX", getProperty("/mouse/ship", _x));
Set(("/bullet" add /:bulletID) add ":OK", 1);
tellTarget ("/sound") {
gotoAndStop ("fire");
};
if (/:fire == 2) {
tellTarget (("/bullet" add /:bulletID) add "/shot") {
gotoAndStop ("dual");
};
}
}
}
on (keyPress "q") {
_root.quality.play();
}
on (keyPress "<Space>") {
if (/:special == 1) {
Set("/:bulletID", random(50000) + 50000);
duplicateMovieClip ("/bulletSpecial", "bullet" add /:bulletID, /:bulletID);
Set(("/bullet" add /:bulletID) add ":startY", getProperty("/mouse/ship", _y));
Set(("/bullet" add /:bulletID) add ":startX", getProperty("/mouse/ship", _x));
tellTarget ("/sound") {
gotoAndStop ("laser");
};
tellTarget ("/special") {
nextFrame();
};
}
}
Symbol 176 MovieClip Frame 1
Set("/:bulletID", 0);
Symbol 190 MovieClip Frame 1
stop();
Symbol 195 MovieClip Frame 1
Symbol 197 MovieClip Frame 1
Symbol 198 MovieClip Frame 1
stop();
Symbol 199 MovieClip Frame 1
stop();
Symbol 199 MovieClip Frame 7
gotoAndStop (1);
Symbol 200 MovieClip Frame 1
stop();
Set("/:shields", 0);
Symbol 200 MovieClip Frame 2
Set("/:shields", 1);
Symbol 201 MovieClip Frame 1
stop();
Symbol 201 MovieClip Frame 300
Set("/:invincible", 0);
gotoAndStop (1);
Symbol 202 MovieClip Frame 10
if (/:dead == 1) {
tellTarget ("/") {
_level1.gotoAndPlay("laugh");
gotoAndStop ("gameOver");
};
} else {
tellTarget ("../") {
gotoAndStop (1);
};
}
Symbol 203 MovieClip Frame 1
stop();
Symbol 203 MovieClip Frame 2
stop();
Symbol 224 MovieClip Frame 1
stop();
Symbol 229 MovieClip Frame 1
stop();
Symbol 233 MovieClip Frame 1
Mouse.hide();
startDrag ("cursor", true, 10, 100, 690, 750);
Symbol 233 MovieClip Frame 2
xspeed = ship.xdif2;
yspeed = getProperty("cursor", _y) - getProperty("ship", _y);
setProperty("ship", _x , getProperty("ship", _x) + xspeed);
setProperty("ship", _y , getProperty("ship", _y) + (yspeed / 4));
if (90 < Number(xspeed)) {
xspeed = 90;
} else if (xspeed < -90) {
xspeed = -90;
}
Instance of Symbol 229 MovieClip "ship" in Symbol 233 MovieClip Frame 2
onClipEvent (load) {
function tilt() {
xdif2 = xdif / xturn;
if ((xdif < 90) and (-90 < xdif)) {
frame = int(xdif + 90);
}
this.gotoAndStop(frame);
_root.flames = math.round((ydif + 500) / 20);
firemc.gotoAndStop(_root.flames);
}
xturn = 5;
}
onClipEvent (enterFrame) {
shipx = this._x;
locatex = _parent.cursor._x;
shipy = this._y;
locatey = _parent.cursor._y;
xdif = locatex - shipx;
ydif = locatey - shipy;
tilt();
}
Symbol 233 MovieClip Frame 3
gotoAndPlay (2);
Symbol 234 Button
on (keyPress "i") {
if (Key.isDown(Key.LEFT)) {
Set("/:invincible", 1);
}
}
on (keyPress "o") {
Set("/:invincible", 0);
}
on (keyPress "]") {
if (Key.isDown(Key.LEFT)) {
gotoAndStop(/:nextwave +14);
}
}
on (keyPress "w") {
if (Key.isDown(Key.LEFT)) {
_root.empval = _root.empval + 1;
}
}
on (keyPress "e") {
if (/:special == 1) {
setProperty("/emp", _y , getProperty("/mouse/ship", _y));
setProperty("/emp", _x , getProperty("/mouse/ship", _x));
tellTarget ("/emp/emp2") {
play();
};
tellTarget ("/special") {
nextFrame();
};
}
}
on (keyPress "p") {
if (Key.isDown(Key.LEFT)) {
tellTarget ("/special") {
gotoAndStop (2);
};
}
}
on (keyPress "h") {
if (Key.isDown(Key.LEFT)) {
tellTarget ("/healthmon") {
gotoAndStop (2);
};
}
}
on (keyPress "s") {
if (Key.isDown(Key.LEFT)) {
tellTarget ("/shieldmon") {
gotoAndStop (2);
};
}
}
Symbol 236 MovieClip Frame 1
stop();
Symbol 236 MovieClip Frame 2
_level1.gotoAndStop("emp");
Symbol 237 MovieClip Frame 2
count = 0;
flag = 0;
flag2 = 0;
if (/:asteroid == 1) {
do {
count = count + 1;
flag = this.hitTest(("/badguy" add count) add "/watch");
if ((flag == true) and (eval ("/:badguy" add count) == 1)) {
stop();
tellTarget (shot) {
gotoAndPlay ("explode");
};
flag = 0;
}
} while (/:last >= count);
} else if (/:boss == 1) {
do {
count = count + 1;
flag = this.hitTest("/boss/boss/badguy" add count);
if ((flag == true) and (0 < eval ("/:badguy" add count))) {
stop();
Set("/:badguy" add count, eval ("/:badguy" add count) - 1);
if (eval ("/:badguy" add count) < 1) {
tellTarget ("/boss/boss/badguy" add count) {
gotoAndPlay ("explode");
};
Set("/:score", /:score + /:value);
}
tellTarget (shot) {
gotoAndPlay ("explode");
};
flag = 0;
}
} while (/:last >= count);
} else {
do {
count = count + 1;
flag = this.hitTest(("/badguy" add count) add "/watch");
if ((flag == true) and (eval ("/:badguy" add count) == 1)) {
Set(("/badguy" add count) add ":health", eval (("/badguy" add count) add ":health") - 1);
if (eval (("/badguy" add count) add ":health") == 0) {
Set(("/badguy" add count) add ":shot", 1);
Set("/:badguy" add count, 0);
Set("/:badguys", /:badguys - 1);
tellTarget ("/badguy" add count) {
stop();
};
tellTarget (("/badguy" add count) add "/watch") {
gotoAndPlay ("explode");
};
flag2 = 1;
Set("/:score", /:score + /:value);
} else {
stop();
tellTarget (shot) {
gotoAndPlay ("explode");
};
}
flag = 0;
}
} while (/:last >= count);
}
if (flag2 == 1) {
flag2 = 0;
Set("/:bullets", /:bullets - 1);
}
Symbol 238 MovieClip Frame 2
Set("/:status", this.hitTest(_root.mouse.ship.area));
if (/:status == true) {
if (/:invincible != 1) {
if (/:shields == 1) {
tellTarget ("/shieldmon") {
nextFrame();
};
tellTarget ("/mouse/ship/shields/shield") {
gotoAndPlay ("hit");
};
} else {
tellTarget ("/healthmon") {
nextFrame();
};
tellTarget ("/mouse/ship/explode") {
gotoAndStop (2);
};
}
stop();
tellTarget ("../") {
stop();
};
removeMovieClip("/:" add getProperty("../", _name));
} else {
stop();
tellTarget ("../") {
stop();
};
tellTarget ("shot") {
gotoAndPlay ("explode");
};
}
}
gotoAndPlay (1);
Symbol 243 MovieClip Frame 1
if (this._name eq "health") {
duplicateMovieClip ("", "healthmon", 300001);
}
Symbol 243 MovieClip Frame 2
stop();
Symbol 243 MovieClip Frame 12
count = 1;
do {
if (eval ("/:badguy" add count) == 1) {
removeMovieClip("/badguy" add count);
}
count = count + 1;
} while (/:last >= count);
Set("/:dead", 1);
Symbol 243 MovieClip Frame 13
count = 1;
do {
if (eval ("/:badguy" add count) == 1) {
removeMovieClip("/badguy" add count);
}
count = count + 1;
} while (/:last >= count);
Set("/:dead", 1);
Symbol 243 MovieClip Frame 14
count = 1;
do {
if (eval ("/:badguy" add count) == 1) {
removeMovieClip("/badguy" add count);
}
count = count + 1;
} while (/:last >= count);
Set("/:dead", 1);
Symbol 243 MovieClip Frame 15
count = 1;
do {
if (eval ("/:badguy" add count) == 1) {
removeMovieClip("/badguy" add count);
}
count = count + 1;
} while (/:last >= count);
Set("/:dead", 1);
Symbol 243 MovieClip Frame 16
count = 1;
do {
if (eval ("/:badguy" add count) == 1) {
removeMovieClip("/badguy" add count);
}
count = count + 1;
} while (/:last >= count);
Set("/:dead", 1);
Symbol 243 MovieClip Frame 17
count = 1;
do {
if (eval ("/:badguy" add count) == 1) {
removeMovieClip("/badguy" add count);
}
count = count + 1;
} while (/:last >= count);
Set("/:dead", 1);
Symbol 243 MovieClip Frame 18
count = 1;
do {
if (eval ("/:badguy" add count) == 1) {
removeMovieClip("/badguy" add count);
}
count = count + 1;
} while (/:last >= count);
Set("/:dead", 1);
Symbol 243 MovieClip Frame 19
count = 1;
do {
if (eval ("/:badguy" add count) == 1) {
removeMovieClip("/badguy" add count);
}
count = count + 1;
} while (/:last >= count);
Set("/:dead", 1);
Symbol 243 MovieClip Frame 20
count = 1;
do {
if (eval ("/:badguy" add count) == 1) {
removeMovieClip("/badguy" add count);
}
count = count + 1;
} while (/:last >= count);
Set("/:dead", 1);
Symbol 243 MovieClip Frame 21
count = 1;
do {
if (eval ("/:badguy" add count) == 1) {
removeMovieClip("/badguy" add count);
}
count = count + 1;
} while (/:last >= count);
Set("/:dead", 1);
Symbol 247 MovieClip Frame 1
if (this._name eq "special2") {
duplicateMovieClip ("", "special", 300003);
}
Set("/:special", 0);
stop();
Symbol 247 MovieClip Frame 2
stop();
Set("/:special", 1);
Symbol 247 MovieClip Frame 7
gotoAndStop (1);
Symbol 250 MovieClip Frame 20
removeMovieClip("../../");
Symbol 252 MovieClip Frame 1
stop();
Symbol 252 MovieClip Frame 4
tellTarget ("/sound") {
gotoAndStop ("explode");
};
Symbol 252 MovieClip Frame 13
Set("/:bullets", /:bullets - 1);
removeMovieClip("../");
Symbol 253 MovieClip Frame 1
if (getProperty("this", _name) eq "bulletSpecial") {
stop();
} else if (OK != 1) {
setProperty(this, _x , startX);
setProperty(this, _y , startY - 30);
OK = 1;
}
Symbol 253 MovieClip Frame 2
count = 0;
flag = 0;
flag2 = 0;
if (/:boss == 1) {
do {
count = count + 1;
flag = this.hitTest("/boss/boss/badguy" add count);
if ((flag == true) and (0 < eval ("/:badguy" add count))) {
stop();
Set("/:badguy" add count, eval ("/:badguy" add count) - 10);
if (eval ("/:badguy" add count) < 1) {
tellTarget ("/boss/boss/badguy" add count) {
gotoAndPlay ("explode");
};
Set("/:score", /:score + /:value);
}
flag = 0;
}
} while (/:last >= count);
} else {
do {
count = count + 1;
flag = this.hitTest(("/badguy" add count) add "/watch");
if ((flag == true) and (eval ("/:badguy" add count) == 1)) {
Set(("/badguy" add count) add ":health", eval (("/badguy" add count) add ":health") - 10);
if (0 >= eval (("/badguy" add count) add ":health")) {
Set(("/badguy" add count) add ":shot", 1);
Set("/:badguy" add count, 0);
Set("/:badguys", /:badguys - 1);
tellTarget ("/badguy" add count) {
stop();
};
tellTarget (("/badguy" add count) add "/watch") {
gotoAndPlay ("explode");
};
flag2 = 1;
Set("/:score", /:score + /:value);
}
flag = 0;
}
} while (/:last >= count);
}
Symbol 257 MovieClip Frame 1
stop();
if (this._name eq "shield") {
duplicateMovieClip ("", "shieldmon", 300002);
}
tellTarget ("/mouse/ship/shields") {
gotoAndStop (1);
};
Set("/:shieldgone", 1);
Set("/:shields", 0);
Symbol 257 MovieClip Frame 2
Set("/:shieldgone", 0);
Set("/:shields", 1);
tellTarget ("/mouse/ship/shields") {
gotoAndStop (2);
};
stop();
Symbol 257 MovieClip Frame 7
tellTarget ("/mouse/ship/shields") {
gotoAndStop (1);
};
gotoAndStop (1);
Symbol 258 MovieClip Frame 1
if (this._name eq "badguyb") {
gotoAndPlay (101);
} else if (this._name eq "badguyc") {
stop();
}
health = 1;
Symbol 258 MovieClip Frame 100
Set("/:" add this._name, 0);
Set("/:badguys", /:badguys - 1);
removeMovieClip("");
Symbol 258 MovieClip Frame 101
if (/:last >= /:number) {
duplicateMovieClip ("/badguyb", "badguy" + /:number, /:number);
Set(("/badguy" add /:number) add ":ID", /:number);
Set("/:badguy" add /:number, 1);
setProperty("/badguy" add /:number, _x , /:startX);
setProperty("/badguy" add /:number, _y , /:startY);
Set("/:number", /:number + 1);
Set("/:badguys", /:badguys + 1);
}
if (/:badguys < 1) {
tellTarget ("/") {
gotoAndStop(/:nextwave);
};
}
Symbol 258 MovieClip Frame 106
gotoAndPlay (101);
Symbol 259 MovieClip Frame 1
if (/:last >= /:number) {
if (swap == 1) {
duplicateMovieClip ("/badguyc", "badguy" + /:number, /:number);
swap = 0;
} else {
swap = 1;
duplicateMovieClip ("/badguyd", "badguy" + /:number, /:number);
}
Set(("/badguy" add /:number) add ":ID", /:number);
Set("/:badguy" add /:number, 1);
setProperty("/badguy" add /:number, _x , 0);
setProperty("/badguy" add /:number, _y , 0);
Set("/:number", /:number + 1);
Set("/:badguys", /:badguys + 1);
}
if (/:badguys < 1) {
tellTarget ("/") {
gotoAndStop(/:nextwave);
};
}
Symbol 259 MovieClip Frame 4
gotoAndPlay (1);
Symbol 262 MovieClip Frame 1
if (check != 1) {
_x = (random(580) + 20);
_y = (-random(100));
check = 1;
}
_y = (this._y + 5);
Symbol 262 MovieClip Frame 2
_y = (this._y + 5);
if (this.hitTest(_root.mouse.ship.area) == true) {
tellTarget ("/shieldmon") {
gotoAndStop (2);
};
tellTarget ("/sound") {
gotoAndStop ("powerup");
};
_x = -500;
stop();
}
Symbol 263 MovieClip Frame 1
if (this._name eq "badguy") {
gotoAndPlay (72);
} else if (this._name eq "badguyd") {
stop();
}
health = 1;
Symbol 263 MovieClip Frame 71
Set("/:" add this._name, 0);
Set("/:badguys", /:badguys - 1);
removeMovieClip("");
Symbol 263 MovieClip Frame 72
if (/:last >= /:number) {
duplicateMovieClip ("/badguy", "badguy" + /:number, /:number);
Set(("/badguy" add /:number) add ":ID", /:number);
Set("/:badguy" add /:number, 1);
setProperty("/badguy" add /:number, _x , /:startX);
setProperty("/badguy" add /:number, _y , /:startY);
Set("/:number", /:number + 1);
Set("/:badguys", /:badguys + 1);
}
if (/:badguys < 1) {
tellTarget ("/") {
gotoAndStop(/:nextwave);
};
}
Symbol 263 MovieClip Frame 75
gotoAndPlay (72);
Symbol 264 MovieClip Frame 1
if (this._name eq "badguyb") {
gotoAndPlay (72);
} else if (this._name eq "badguyc") {
stop();
}
health = 1;
Symbol 264 MovieClip Frame 71
Set("/:" add this._name, 0);
Set("/:badguys", /:badguys - 1);
removeMovieClip("");
Symbol 264 MovieClip Frame 72
if (/:last >= /:number) {
duplicateMovieClip ("/badguyb", "badguy" + /:number, /:number);
Set(("/badguy" add /:number) add ":ID", /:number);
Set("/:badguy" add /:number, 1);
setProperty("/badguy" add /:number, _x , /:startX);
setProperty("/badguy" add /:number, _y , /:startY);
Set("/:number", /:number + 1);
Set("/:badguys", /:badguys + 1);
}
if (/:badguys < 1) {
tellTarget ("/") {
gotoAndStop(/:nextwave);
};
}
Symbol 264 MovieClip Frame 75
gotoAndPlay (72);
Symbol 265 MovieClip Frame 1
if (this._name eq "badguy") {
gotoAndPlay (101);
} else if (this._name eq "badguyd") {
stop();
}
health = 1;
Symbol 265 MovieClip Frame 100
Set("/:" add this._name, 0);
Set("/:badguys", /:badguys - 1);
removeMovieClip("");
Symbol 265 MovieClip Frame 101
if (/:last >= /:number) {
duplicateMovieClip ("/badguy", "badguy" + /:number, /:number);
Set(("/badguy" add /:number) add ":ID", /:number);
Set("/:badguy" add /:number, 1);
setProperty("/badguy" add /:number, _x , /:startX);
setProperty("/badguy" add /:number, _y , /:startY);
Set("/:number", /:number + 1);
Set("/:badguys", /:badguys + 1);
}
if (/:badguys < 1) {
tellTarget ("/") {
gotoAndStop(/:nextwave);
};
}
Symbol 265 MovieClip Frame 110
gotoAndPlay (101);
Symbol 266 MovieClip Frame 1
if (this._name eq "badguyb") {
gotoAndPlay (101);
} else if (this._name eq "badguyc") {
stop();
}
health = 1;
Symbol 266 MovieClip Frame 100
Set("/:" add this._name, 0);
Set("/:badguys", /:badguys - 1);
removeMovieClip("");
Symbol 266 MovieClip Frame 101
if (/:last >= /:number) {
duplicateMovieClip ("/badguyb", "badguy" + /:number, /:number);
Set(("/badguy" add /:number) add ":ID", /:number);
Set("/:badguy" add /:number, 1);
setProperty("/badguy" add /:number, _x , /:startX);
setProperty("/badguy" add /:number, _y , /:startY);
Set("/:number", /:number + 1);
Set("/:badguys", /:badguys + 1);
}
if (/:badguys < 1) {
tellTarget ("/") {
gotoAndStop(/:nextwave);
};
}
Symbol 266 MovieClip Frame 110
gotoAndPlay (101);
Symbol 276 MovieClip Frame 1
stop();
Symbol 276 MovieClip Frame 3
tellTarget ("../") {
stop();
};
Symbol 276 MovieClip Frame 10
stop();
removeMovieClip("../");
Symbol 278 MovieClip Frame 1
if (this._name eq "badguy") {
gotoAndPlay (74);
} else {
stop();
}
health = 1;
Symbol 278 MovieClip Frame 73
Set("/:" add this._name, 0);
Set("/:badguys", /:badguys - 1);
removeMovieClip("");
Symbol 278 MovieClip Frame 74
if (/:last >= /:number) {
duplicateMovieClip ("/badguy", "badguy" + /:number, /:number);
Set(("/badguy" add /:number) add ":ID", /:number);
Set("/:badguy" add /:number, 1);
setProperty("/badguy" add /:number, _y , eval ("/:kamY" add /:number));
setProperty("/badguy" add /:number, _x , eval ("/:kamX" add /:number));
setProperty("/badguy" add /:number, _rotation , eval ("/:kamR" add /:number));
Set("/:number", /:number + 1);
Set("/:badguys", /:badguys + 1);
} else if (go != 1) {
go = 1;
do {
tellTarget ("/badguy" add go) {
play();
};
go = go + 1;
} while (6 >= go);
go = 1;
}
if (/:badguys < 1) {
tellTarget ("/") {
gotoAndStop(/:nextwave);
};
}
Symbol 278 MovieClip Frame 76
gotoAndPlay (74);
Symbol 280 MovieClip Frame 1
if (check != 1) {
_x = (random(580) + 20);
_y = (-random(100));
check = 1;
}
_y = (this._y + 5);
Symbol 280 MovieClip Frame 2
_y = (this._y + 5);
if (this.hitTest(_root.mouse.ship.area) == true) {
Set("/:fire", 2);
_x = -500;
tellTarget ("/sound") {
gotoAndStop ("powerup");
};
stop();
}
Symbol 281 MovieClip Frame 1
if (this._name eq "badguy") {
gotoAndPlay (72);
} else if (this._name eq "badguyc") {
stop();
}
health = 1;
Symbol 281 MovieClip Frame 71
Set("/:" add this._name, 0);
Set("/:badguys", /:badguys - 1);
removeMovieClip("");
Symbol 281 MovieClip Frame 72
if (/:last >= /:number) {
duplicateMovieClip ("/badguy", "badguy" + /:number, /:number);
Set(("/badguy" add /:number) add ":ID", /:number);
Set("/:badguy" add /:number, 1);
setProperty("/badguy" add /:number, _x , /:startX);
setProperty("/badguy" add /:number, _y , /:startY);
Set("/:number", /:number + 1);
Set("/:badguys", /:badguys + 1);
}
if (/:badguys < 1) {
tellTarget ("/") {
gotoAndStop(/:nextwave);
};
}
Symbol 281 MovieClip Frame 79
gotoAndPlay (72);
Symbol 282 MovieClip Frame 1
if (this._name eq "badguyb") {
gotoAndPlay (72);
} else if (this._name eq "badguyd") {
stop();
}
health = 1;
Symbol 282 MovieClip Frame 71
Set("/:" add this._name, 0);
Set("/:badguys", /:badguys - 1);
removeMovieClip("");
Symbol 282 MovieClip Frame 72
if (/:last >= /:number) {
duplicateMovieClip ("/badguyb", "badguy" + /:number, /:number);
Set(("/badguy" add /:number) add ":ID", /:number);
Set("/:badguy" add /:number, 1);
setProperty("/badguy" add /:number, _x , /:startX);
setProperty("/badguy" add /:number, _y , /:startY);
Set("/:number", /:number + 1);
Set("/:badguys", /:badguys + 1);
}
if (/:badguys < 1) {
tellTarget ("/") {
gotoAndStop(/:nextwave);
};
}
Symbol 282 MovieClip Frame 79
gotoAndPlay (72);
Symbol 285 MovieClip Frame 1
if (check != 1) {
_x = (random(580) + 20);
_y = (-random(150));
check = 1;
}
_y = (this._y + 5);
Symbol 285 MovieClip Frame 2
_y = (this._y + 5);
if (this.hitTest(_root.mouse.ship.area) == true) {
tellTarget ("/healthmon") {
gotoAndStop (2);
};
tellTarget ("/sound") {
gotoAndStop ("powerup");
};
_x = -500;
stop();
}
Symbol 289 MovieClip Frame 1
stop();
Symbol 289 MovieClip Frame 3
tellTarget ("../") {
stop();
};
Symbol 289 MovieClip Frame 10
stop();
removeMovieClip("../");
Symbol 290 MovieClip Frame 1
if (this._name eq "badguy") {
gotoAndPlay (74);
}
Symbol 290 MovieClip Frame 73
Set("/:" add this._name, 0);
Set("/:badguys", /:badguys - 1);
removeMovieClip("");
Symbol 290 MovieClip Frame 74
if (/:last >= /:number) {
duplicateMovieClip ("/badguy", "badguy" + /:number, /:number);
Set(("/badguy" add /:number) add ":ID", /:number);
Set("/:badguy" add /:number, 1);
setProperty("/badguy" add /:number, _y , eval ("/:kamY" add /:number));
setProperty("/badguy" add /:number, _x , eval ("/:kamX" add /:number));
setProperty("/badguy" add /:number, _rotation , eval ("/:kamR" add /:number));
Set("/:number", /:number + 1);
Set("/:badguys", /:badguys + 1);
}
if (/:badguys < 1) {
tellTarget ("/") {
gotoAndStop(/:nextwave);
};
}
Symbol 290 MovieClip Frame 80
gotoAndPlay (74);
Symbol 301 MovieClip Frame 1
stop();
Symbol 301 MovieClip Frame 3
tellTarget ("../") {
stop();
};
Symbol 301 MovieClip Frame 10
stop();
removeMovieClip("../");
Symbol 303 MovieClip Frame 1
if ((/:shoot != 1) or (../:shot == 1)) {
stop();
}
Symbol 303 MovieClip Frame 5
number = random(50000) + 200000;
scr_ctr_x = getProperty("../watch", _x);
scr_ctr_y = getProperty("../watch", _y);
mouse_x = (getProperty("/mouse/ship", _x) - scr_ctr_x) - (getProperty("../watch", _x) - scr_ctr_x);
mouse_y = (getProperty("/mouse/ship", _y) - scr_ctr_y) - (getProperty("../watch", _y) - scr_ctr_y);
input = (mouse_x * mouse_x) + (mouse_y * mouse_y);
hyp = Math.sqrt(input);
sin_theta = mouse_y / hyp;
if (sin_theta < 0) {
sin_theta = sin_theta + (sin_theta * -2);
}
angle = 0;
do {
angle = angle + 1;
} while (eval ("/:s" add angle) < sin_theta);
if ((mouse_x >= 0) and (mouse_y < 0)) {
angle = angle;
}
if ((mouse_x < 0) and (mouse_y < 0)) {
angle = (90 - angle) + 90;
}
if ((mouse_x < 0) and (mouse_y >= 0)) {
angle = angle + 180;
}
if ((mouse_x >= 0) and (mouse_y >= 0)) {
angle = (90 - angle) + 270;
}
duplicateMovieClip ("/bullete", "bullet" + number, number);
rotate = (-angle) + 90;
setProperty("/bullet" add number, _x , getProperty("../watch", _x) - 30);
setProperty("/bullet" add number, _y , getProperty("../watch", _y) + 35);
setProperty("/bullet" add number, _rotation , rotate);
Symbol 303 MovieClip Frame 25
number = random(50000) + 200000;
scr_ctr_x = getProperty("../watch", _x);
scr_ctr_y = getProperty("../watch", _y);
mouse_x = (getProperty("/mouse/ship", _x) - scr_ctr_x) - (getProperty("../watch", _x) - scr_ctr_x);
mouse_y = (getProperty("/mouse/ship", _y) - scr_ctr_y) - (getProperty("../watch", _y) - scr_ctr_y);
input = (mouse_x * mouse_x) + (mouse_y * mouse_y);
hyp = Math.sqrt(input);
sin_theta = mouse_y / hyp;
if (sin_theta < 0) {
sin_theta = sin_theta + (sin_theta * -2);
}
angle = 0;
do {
angle = angle + 1;
} while (eval ("/:s" add angle) < sin_theta);
if ((mouse_x >= 0) and (mouse_y < 0)) {
angle = angle;
}
if ((mouse_x < 0) and (mouse_y < 0)) {
angle = (90 - angle) + 90;
}
if ((mouse_x < 0) and (mouse_y >= 0)) {
angle = angle + 180;
}
if ((mouse_x >= 0) and (mouse_y >= 0)) {
angle = (90 - angle) + 270;
}
duplicateMovieClip ("/bullete", "bullet" + number, number);
rotate = (-angle) + 90;
setProperty("/bullet" add number, _x , getProperty("../watch", _x) + 30);
setProperty("/bullet" add number, _y , getProperty("../watch", _y) + 35);
setProperty("/bullet" add number, _rotation , rotate);
Symbol 303 MovieClip Frame 45
gotoAndPlay (1);
Symbol 305 MovieClip Frame 1
if (this._name eq "badguyd") {
stop();
}
health = 3;
Symbol 305 MovieClip Frame 200
Set("/:" add this._name, 0);
Set("/:badguys", /:badguys - 1);
removeMovieClip("");
Symbol 306 MovieClip Frame 1
if (this._name eq "badguyc") {
stop();
}
health = 3;
Symbol 306 MovieClip Frame 200
Set("/:" add this._name, 0);
Set("/:badguys", /:badguys - 1);
removeMovieClip("");
Symbol 307 MovieClip Frame 1
stop();
tellTarget ("/") {
gotoAndStop(/:nextwave);
};
Symbol 314 MovieClip Frame 1
name = getProperty("../", _name);
Set("/:status", _parent.hittest("/mouse/ship/area"));
if (/:status == true) {
if (/:invincible != 1) {
if (/:shields == 1) {
tellTarget ("/shieldmon") {
nextFrame();
};
tellTarget ("/mouse/ship/shields/shield") {
gotoAndPlay ("hit");
};
} else {
tellTarget ("/mouse/ship/explode") {
gotoAndStop (2);
};
tellTarget ("/healthmon") {
nextFrame();
};
}
}
}
Symbol 320 MovieClip Frame 2
number = random(500) + 1;
duplicateMovieClip ("/bullete", "bullet" add number, number);
if (this._name eq "badguy1") {
plus = -100;
} else {
plus = 100;
}
setProperty("/bullet" add number, _x , getProperty("/boss/boss", _x) + plus);
setProperty("/bullet" add number, _y , getProperty("/boss/boss", _y) + 100);
Symbol 320 MovieClip Frame 20
if (0 < eval ("/:" add this._name)) {
gotoAndPlay (1);
}
Symbol 320 MovieClip Frame 34
stop();
Symbol 331 MovieClip Frame 1
stop();
Symbol 331 MovieClip Frame 3
number = random(500) + 1;
duplicateMovieClip ("/bullete2", "bullet" add number, number);
if (this._name eq "leftlauncher") {
plus = 50;
rotation = 135;
} else {
plus = -50;
rotation = 225;
}
setProperty("/bullet" add number, _x , getProperty("/boss/boss", _x) + plus);
setProperty("/bullet" add number, _y , getProperty("/boss/boss", _y) + 50);
setProperty("/bullet" add number, _rotation , rotation);
Symbol 331 MovieClip Frame 10
gotoAndStop (1);
Symbol 333 MovieClip Frame 1
stop();
Symbol 333 MovieClip Frame 4
if (0 < /:badguy2) {
tellTarget ("../badguy2") {
gotoAndPlay ("explode");
};
}
if (0 < /:badguy1) {
tellTarget ("../badguy1") {
gotoAndPlay ("explode");
};
}
tellTarget ("../") {
gotoAndPlay ("explode");
};
stop();
Symbol 342 MovieClip Frame 1
status = this.hitTest(_root.mouse.ship.area);
if (status == true) {
if (getProperty("/healthmon", _currentframe) >= 7) {
tellTarget ("/healthmon") {
gotoAndStop ("dead");
};
} else {
tellTarget ("/healthmon") {
gotoAndStop(getProperty("/healthmon", _currentframe) + 4);
};
}
tellTarget ("/mouse/ship/explode") {
gotoAndStop (2);
};
tellTarget ("/shieldmon") {
gotoAndStop (1);
};
stop();
}
Symbol 344 MovieClip Frame 10
stop();
Symbol 345 MovieClip Frame 10
stop();
Symbol 346 MovieClip Frame 36
if (/:badguy3 < 20) {
gotoAndPlay (67);
} else if (/:strike != 1) {
gotoAndPlay (1);
} else {
tellTarget ("/boss") {
stop();
};
Set("/:strike", 0);
}
Symbol 346 MovieClip Frame 66
tellTarget ("/boss") {
play();
};
gotoAndPlay (1);
Symbol 346 MovieClip Frame 98
stop();
Symbol 348 MovieClip Frame 1
stop();
Symbol 348 MovieClip Frame 2
Set("/:bossX", getProperty("/boss/boss", _x));
Set("/:bossY", getProperty("/boss/boss", _y));
tellTarget ("/boss") {
stop();
};
Symbol 348 MovieClip Frame 25
stop();
tellTarget ("/") {
gotoAndStop(/:nextwave);
};
Symbol 350 MovieClip Frame 1
tellTarget ("boss.badguy1") {
gotoAndStop (1);
};
tellTarget ("boss.badguy2") {
gotoAndStop (1);
};
Symbol 350 MovieClip Frame 59
tellTarget ("boss.badguy1") {
gotoAndPlay (2);
};
Symbol 350 MovieClip Frame 70
tellTarget ("boss.badguy2") {
gotoAndPlay (2);
};
Symbol 350 MovieClip Frame 96
tellTarget ("boss.badguy3.leftlauncher") {
gotoAndPlay ("fire");
};
tellTarget ("boss.badguy3.rightlauncher") {
gotoAndPlay ("fire");
};
Symbol 350 MovieClip Frame 104
Set("/:strike", 1);
Symbol 350 MovieClip Frame 121
tellTarget ("boss.badguy3.leftlauncher") {
gotoAndPlay ("fire");
};
tellTarget ("boss.badguy3.rightlauncher") {
gotoAndPlay ("fire");
};
Symbol 350 MovieClip Frame 152
check = 1;
if (0 < /:badguy1) {
check = 0;
}
if (0 < /:badguy2) {
check = 0;
}
if (0 < /:badguy3) {
check = 0;
}
if (check == 1) {
stop();
} else {
gotoAndPlay (71);
}
Symbol 351 MovieClip Frame 1
if (this._name eq "bullete") {
stop();
}
Symbol 351 MovieClip Frame 2
myname = this._name;
Symbol 351 MovieClip Frame 36
removeMovieClip("");
Symbol 353 MovieClip Frame 1
if (check != 1) {
_x = /:bossX;
_y = /:bossY;
check = 1;
}
if (chipGo == 1) {
_y = (this._y + 5);
if (800 < this._y) {
stop();
tellTarget ("/") {
gotoAndStop(/:nextwave);
};
chipGo = 0;
stop();
}
} else {
count = count + 1;
if (count == 100) {
chipGo = 1;
}
}
Symbol 353 MovieClip Frame 2
if (chipGo == 1) {
_y = (this._y + 5);
}
if (this.hitTest(_root.mouse.ship.area) == true) {
_level1.gotoAndStop("chip");
stop();
tellTarget ("/healthmon") {
gotoAndStop (2);
};
tellTarget ("/shieldmon") {
gotoAndStop (2);
};
tellTarget ("/sound") {
gotoAndStop ("powerup");
};
tellTarget ("/mouse/ship") {
play();
};
_x = -500;
tellTarget ("/") {
gotoAndStop(/:nextwave);
};
}
if (800 < this._y) {
stop();
tellTarget ("/") {
gotoAndStop(/:nextwave);
};
}
Symbol 362 MovieClip Frame 117
tellTarget ("/") {
gotoAndStop(/:nextwave);
};
Symbol 363 Button
on (keyPress "[") {
if (Key.isDown(Key.LEFT)) {
Set("/:sector", 3);
_level1.gotoAndPlay("sectorclearstop");
_level1.gotoAndPlay("bugsstop");
gotoAndStop (82);
}
}
Symbol 364 MovieClip Frame 1
health = 3;
if (this._name eq "badguy") {
gotoAndPlay (201);
}
Symbol 364 MovieClip Frame 200
Set("/:" add this._name, 0);
Set("/:badguys", /:badguys - 1);
removeMovieClip("");
Symbol 364 MovieClip Frame 201
if (/:last >= /:number) {
duplicateMovieClip ("/badguy", "badguy" + /:number, /:number);
Set(("/badguy" add /:number) add ":ID", /:number);
Set("/:badguy" add /:number, 1);
setProperty("/badguy" add /:number, _x , /:startX);
setProperty("/badguy" add /:number, _y , /:startY);
Set("/:number", /:number + 1);
Set("/:badguys", /:badguys + 1);
}
if (/:badguys < 1) {
tellTarget ("/") {
gotoAndStop(/:nextwave);
};
}
Symbol 364 MovieClip Frame 210
gotoAndPlay (201);
Symbol 365 MovieClip Frame 1
health = 3;
if (this._name eq "badguy") {
gotoAndPlay (201);
}
Symbol 365 MovieClip Frame 200
Set("/:" add this._name, 0);
Set("/:badguys", /:badguys - 1);
removeMovieClip("");
Symbol 365 MovieClip Frame 201
if (/:last >= /:number) {
duplicateMovieClip ("/badguy", "badguy" + /:number, /:number);
Set(("/badguy" add /:number) add ":ID", /:number);
Set("/:badguy" add /:number, 1);
setProperty("/badguy" add /:number, _x , /:startX);
setProperty("/badguy" add /:number, _y , /:startY);
Set("/:number", /:number + 1);
Set("/:badguys", /:badguys + 1);
}
if (/:badguys < 1) {
tellTarget ("/") {
gotoAndStop(/:nextwave);
};
}
Symbol 365 MovieClip Frame 210
gotoAndPlay (201);
Symbol 366 MovieClip Frame 1
if (this._name eq "badguyd") {
stop();
}
health = 3;
Symbol 366 MovieClip Frame 124
Set("/:" add this._name, 0);
Set("/:badguys", /:badguys - 1);
removeMovieClip("");
Symbol 367 MovieClip Frame 1
if (this._name eq "badguyc") {
stop();
}
health = 3;
Symbol 367 MovieClip Frame 89
Set("/:" add this._name, 0);
Set("/:badguys", /:badguys - 1);
removeMovieClip("");
Symbol 369 MovieClip Frame 1
if (check != 1) {
_x = (random(580) + 20);
_y = (-random(150));
check = 1;
}
_y = (this._y + 5);
Symbol 369 MovieClip Frame 2
_y = (this._y + 5);
if (this.hitTest(_root.mouse.ship.area) == true) {
tellTarget ("/special") {
gotoAndStop (2);
};
tellTarget ("/sound") {
gotoAndStop ("powerup");
};
_x = -500;
stop();
}
Symbol 370 MovieClip Frame 1
if (this._name eq "badguy") {
gotoAndPlay (117);
} else if (this._name eq "badguyc") {
stop();
}
health = 1;
Symbol 370 MovieClip Frame 116
Set("/:" add this._name, 0);
Set("/:badguys", /:badguys - 1);
removeMovieClip("");
Symbol 370 MovieClip Frame 117
if (6 >= /:number) {
duplicateMovieClip ("/badguy", "badguy" + /:number, /:number);
Set(("/badguy" add /:number) add ":ID", /:number);
Set("/:badguy" add /:number, 1);
setProperty("/badguy" add /:number, _x , /:startX);
setProperty("/badguy" add /:number, _y , /:startY);
Set("/:number", /:number + 1);
Set("/:badguys", /:badguys + 1);
}
if (/:badguys < 1) {
tellTarget ("/") {
gotoAndStop(/:nextwave);
};
}
Symbol 370 MovieClip Frame 124
gotoAndPlay (117);
Symbol 371 MovieClip Frame 1
if (this._name eq "badguy") {
gotoAndPlay (52);
} else {
stop();
}
health = 1;
Symbol 371 MovieClip Frame 51
Set("/:" add this._name, 0);
Set("/:badguys", /:badguys - 1);
removeMovieClip("");
Symbol 371 MovieClip Frame 52
if (6 >= /:number) {
duplicateMovieClip ("/badguy", "badguy" + /:number, /:number);
Set(("/badguy" add /:number) add ":ID", /:number);
Set("/:badguy" add /:number, 1);
setProperty("/badguy" add /:number, _y , eval ("/:kamY" add /:number));
setProperty("/badguy" add /:number, _x , eval ("/:kamX" add /:number));
setProperty("/badguy" add /:number, _rotation , eval ("/:kamR" add /:number));
Set("/:number", /:number + 1);
Set("/:badguys", /:badguys + 1);
} else if (go != 1) {
go = 1;
do {
tellTarget ("/badguy" add go) {
play();
};
go = go + 1;
} while (6 >= go);
go = 1;
}
if (/:badguys < 1) {
tellTarget ("/") {
gotoAndStop(/:nextwave);
};
}
Symbol 371 MovieClip Frame 54
gotoAndPlay (52);
Symbol 373 MovieClip Frame 1
if (first != 1) {
gotoAndPlay(random(17) + 1);
first = 1;
}
Symbol 377 MovieClip Frame 1
stop();
Symbol 377 MovieClip Frame 3
tellTarget ("../") {
stop();
};
Symbol 377 MovieClip Frame 10
stop();
removeMovieClip("../");
Symbol 378 MovieClip Frame 1
if (this._name eq "badguy") {
gotoAndPlay (1);
} else if (this._name eq "badguyd") {
stop();
}
health = 1;
Symbol 378 MovieClip Frame 83
Set("/:" add this._name, 0);
Set("/:badguys", /:badguys - 1);
removeMovieClip("");
Symbol 379 MovieClip Frame 1
if (this._name eq "badguy") {
gotoAndPlay (1);
} else if (this._name eq "badguyc") {
stop();
}
health = 1;
Symbol 379 MovieClip Frame 83
Set("/:" add this._name, 0);
Set("/:badguys", /:badguys - 1);
removeMovieClip("");
Symbol 380 MovieClip Frame 1
if (/:last >= /:number) {
if (swap == 1) {
duplicateMovieClip ("/badguyc", "badguy" + /:number, /:number);
swap = 0;
} else {
swap = 1;
duplicateMovieClip ("/badguyd", "badguy" + /:number, /:number);
}
Set(("/badguy" add /:number) add ":ID", /:number);
Set("/:badguy" add /:number, 1);
setProperty("/badguy" add /:number, _x , 0);
setProperty("/badguy" add /:number, _y , 0);
Set("/:number", /:number + 1);
Set("/:badguys", /:badguys + 1);
}
if (/:badguys < 1) {
tellTarget ("/") {
gotoAndStop(/:nextwave);
};
}
Symbol 380 MovieClip Frame 2
gotoAndPlay (1);
Symbol 382 MovieClip Frame 1
if (check != 1) {
_x = (random(580) + 20);
_y = (-random(150));
check = 1;
}
_y = (this._y + 5);
Symbol 382 MovieClip Frame 2
_y = (this._y + 5);
if (this.hitTest(_root.mouse.ship.area) == true) {
tellTarget ("/sound") {
gotoAndStop ("powerup");
};
Set("/:invincible", 1);
tellTarget ("/mouse/ship/invincible") {
gotoAndPlay (2);
};
_x = -500;
stop();
}
Symbol 383 MovieClip Frame 1
health = 2;
if (this._name eq "badguyd") {
gotoAndPlay (147);
}
Symbol 383 MovieClip Frame 146
Set("/:" add this._name, 0);
Set("/:badguys", /:badguys - 1);
removeMovieClip("");
Symbol 383 MovieClip Frame 147
if (/:last2 >= /:number2) {
duplicateMovieClip ("/badguyd", "badguy" + /:number2, /:number2);
Set(("/badguy" add /:number2) add ":ID", /:number2);
Set("/:badguy" add /:number2, 1);
setProperty("/badguy" add /:number2, _x , /:startX);
setProperty("/badguy" add /:number2, _y , /:startY);
Set("/:number2", /:number2 + 1);
Set("/:badguys", /:badguys + 1);
}
if (/:badguys < 1) {
tellTarget ("/") {
gotoAndStop(/:nextwave);
};
}
Symbol 383 MovieClip Frame 157
gotoAndPlay (147);
Symbol 384 MovieClip Frame 1
health = 3;
if (this._name eq "badguyc") {
gotoAndPlay (101);
}
Symbol 384 MovieClip Frame 100
Set("/:" add this._name, 0);
Set("/:badguys", /:badguys - 1);
removeMovieClip("");
Symbol 384 MovieClip Frame 101
if (/:last1 >= /:number) {
duplicateMovieClip ("/badguyc", "badguy" + /:number, /:number);
Set(("/badguy" add /:number) add ":ID", /:number);
Set("/:badguy" add /:number, 1);
setProperty("/badguy" add /:number, _x , /:startX);
setProperty("/badguy" add /:number, _y , /:startY);
Set("/:number", /:number + 1);
Set("/:badguys", /:badguys + 1);
}
if (/:badguys < 1) {
tellTarget ("/") {
gotoAndStop(/:nextwave);
};
}
Symbol 384 MovieClip Frame 110
gotoAndPlay (101);
Symbol 385 MovieClip Frame 1
if (this._name eq "badguy") {
gotoAndPlay (1);
} else if (this._name eq "badguyd") {
stop();
}
health = 1;
Symbol 385 MovieClip Frame 105
Set("/:" add this._name, 0);
Set("/:badguys", /:badguys - 1);
removeMovieClip("");
Symbol 386 MovieClip Frame 1
if (this._name eq "badguy") {
gotoAndPlay (1);
} else if (this._name eq "badguyc") {
stop();
}
health = 1;
Symbol 386 MovieClip Frame 201
Set("/:" add this._name, 0);
Set("/:badguys", /:badguys - 1);
removeMovieClip("");
Symbol 390 MovieClip Frame 1
stop();
Symbol 390 MovieClip Frame 21
gotoAndStop (1);
Symbol 401 MovieClip Frame 1
if (/boss:stop != 1) {
stop();
}
Symbol 401 MovieClip Frame 42
count = 0;
Symbol 401 MovieClip Frame 43
count = count + 1;
if (count == 40) {
gotoAndPlay (49);
}
Symbol 401 MovieClip Frame 48
gotoAndPlay (43);
Symbol 401 MovieClip Frame 74
tellTarget ("../beam") {
gotoAndPlay (1);
};
Symbol 401 MovieClip Frame 112
count = 0;
Symbol 401 MovieClip Frame 113
count = count + 1;
if (count == 40) {
gotoAndPlay (1);
}
Symbol 401 MovieClip Frame 118
gotoAndPlay (113);
Symbol 402 MovieClip Frame 1
stop();
Symbol 402 MovieClip Frame 2
tellTarget ("boss") {
stop();
};
Symbol 402 MovieClip Frame 4
if (0 < /:badguy2) {
tellTarget ("../badguy2") {
gotoAndPlay ("explode");
};
}
if (0 < /:badguy1) {
tellTarget ("../badguy1") {
gotoAndPlay ("explode");
};
}
tellTarget ("../") {
gotoAndPlay ("explode");
};
stop();
Symbol 408 MovieClip Frame 1
number = random(100000) + 100000;
duplicateMovieClip ("/bullete", "bullet" add number, number);
if (getProperty("../../../", _name) eq "badguy1") {
setProperty("/bullet" add number, _x , (getProperty("/boss/boss", _x) + getProperty("../../", _x)) + getProperty("../", _x));
} else {
setProperty("/bullet" add number, _x , getProperty("/boss/boss", _x) - (getProperty("../../", _x) + getProperty("../", _x)));
}
setProperty("/bullet" add number, _y , getProperty("/boss/boss", _y) + 130);
Symbol 412 MovieClip Frame 1
number = random(100000) + 200000;
duplicateMovieClip ("/bullete2", "bullet" add number, number);
if (getProperty("../../", _name) eq "badguy1") {
setProperty("/bullet" add number, _x , getProperty("/boss/boss", _x) + getProperty("../", _x));
setProperty("/bullet" add number, _rotation , this._rotation + 180);
} else {
setProperty("/bullet" add number, _x , getProperty("/boss/boss", _x) - getProperty("../", _x));
setProperty("/bullet" add number, _rotation , -(this._rotation + 180));
}
setProperty("/bullet" add number, _y , getProperty("/boss/boss", _y) + getProperty("../", _y));
Symbol 414 MovieClip Frame 1
number = random(100000) + 200000;
duplicateMovieClip ("/bullete2", "bullet" add number, number);
if (getProperty("../../", _name) eq "badguy1") {
setProperty("/bullet" add number, _x , getProperty("/boss/boss", _x) + getProperty("../", _x));
setProperty("/bullet" add number, _rotation , this._rotation + 180);
} else {
setProperty("/bullet" add number, _x , getProperty("/boss/boss", _x) - getProperty("../", _x));
setProperty("/bullet" add number, _rotation , -(this._rotation + 180));
}
setProperty("/bullet" add number, _y , getProperty("/boss/boss", _y) + getProperty("../", _y));
Symbol 415 MovieClip Frame 1
if (check != 1) {
check = 1;
if (getProperty("../", _name) eq "badguy1") {
gotoAndPlay (55);
}
}
Symbol 416 MovieClip Frame 1
stop();
Symbol 416 MovieClip Frame 15
stop();
Symbol 417 MovieClip Frame 1
stop();
Symbol 417 MovieClip Frame 2
Set("/:bossX", getProperty("/boss/boss", _x));
Set("/:bossY", getProperty("/boss/boss", _y));
tellTarget ("/boss") {
stop();
};
Symbol 417 MovieClip Frame 25
stop();
tellTarget ("/") {
gotoAndStop(/:nextwave);
};
Symbol 418 MovieClip Frame 70
stop = 1;
tellTarget ("boss.badguy3.boss") {
gotoAndPlay (2);
};
Symbol 418 MovieClip Frame 164
gotoAndPlay (71);
Symbol 419 MovieClip Frame 1
if (this._name eq "bullete") {
stop();
}
Symbol 419 MovieClip Frame 2
myname = this._name;
Symbol 419 MovieClip Frame 36
removeMovieClip("");
Symbol 420 Button
on (keyPress "[") {
if (Key.isDown(Key.LEFT)) {
_level1.gotoAndPlay("bugsstop");
_level1.gotoAndPlay("sectorclearstop");
gotoAndStop (110);
}
}
Symbol 421 MovieClip Frame 1
if (this._name eq "badguy") {
gotoAndPlay (1);
} else if (this._name eq "badguyd") {
stop();
}
health = 1;
Symbol 421 MovieClip Frame 103
Set("/:" add this._name, 0);
Set("/:badguys", /:badguys - 1);
removeMovieClip("");
Symbol 422 MovieClip Frame 1
if (this._name eq "badguy") {
gotoAndPlay (1);
} else if (this._name eq "badguyc") {
stop();
}
health = 1;
Symbol 422 MovieClip Frame 105
Set("/:" add this._name, 0);
Set("/:badguys", /:badguys - 1);
removeMovieClip("");
Symbol 423 MovieClip Frame 1
if (/:last >= /:number) {
if (swap == 1) {
duplicateMovieClip ("/badguyc", "badguy" + /:number, /:number);
swap = 0;
} else {
swap = 1;
duplicateMovieClip ("/badguyd", "badguy" + /:number, /:number);
}
Set(("/badguy" add /:number) add ":ID", /:number);
Set("/:badguy" add /:number, 1);
setProperty("/badguy" add /:number, _x , 0);
setProperty("/badguy" add /:number, _y , 0);
Set("/:number", /:number + 1);
Set("/:badguys", /:badguys + 1);
}
if (/:badguys < 1) {
tellTarget ("/") {
gotoAndStop(/:nextwave);
};
}
Symbol 423 MovieClip Frame 4
gotoAndPlay (1);
Symbol 428 MovieClip Frame 1
stop();
Symbol 428 MovieClip Frame 61
gotoAndStop (1);
Symbol 433 MovieClip Frame 1
stop();
Symbol 433 MovieClip Frame 3
tellTarget ("../") {
stop();
};
Symbol 433 MovieClip Frame 10
stop();
removeMovieClip("../");
Symbol 434 MovieClip Frame 1
if ((/:shoot != 1) or (../:shot == 1)) {
stop();
}
if (firstTime != 1) {
firstTime = 1;
gotoAndPlay(random(25) + 2);
}
Symbol 434 MovieClip Frame 5
number = random(50000) + 200000;
scr_ctr_x = getProperty("../watch", _x);
scr_ctr_y = getProperty("../watch", _y);
mouse_x = (getProperty("/mouse/ship", _x) - scr_ctr_x) - (getProperty("../watch", _x) - scr_ctr_x);
mouse_y = (getProperty("/mouse/ship", _y) - scr_ctr_y) - (getProperty("../watch", _y) - scr_ctr_y);
input = (mouse_x * mouse_x) + (mouse_y * mouse_y);
hyp = Math.sqrt(input);
sin_theta = mouse_y / hyp;
if (sin_theta < 0) {
sin_theta = sin_theta + (sin_theta * -2);
}
angle = 0;
do {
angle = angle + 1;
} while (eval ("/:s" add angle) < sin_theta);
if ((mouse_x >= 0) and (mouse_y < 0)) {
angle = angle;
}
if ((mouse_x < 0) and (mouse_y < 0)) {
angle = (90 - angle) + 90;
}
if ((mouse_x < 0) and (mouse_y >= 0)) {
angle = angle + 180;
}
if ((mouse_x >= 0) and (mouse_y >= 0)) {
angle = (90 - angle) + 270;
}
duplicateMovieClip ("/bullete", "bullet" + number, number);
rotate = (-angle) + 90;
setProperty("/bullet" add number, _x , getProperty("../watch", _x));
setProperty("/bullet" add number, _y , getProperty("../watch", _y));
setProperty("/bullet" add number, _rotation , rotate);
Symbol 434 MovieClip Frame 25
gotoAndPlay (1);
Symbol 435 MovieClip Frame 1
health = 10;
if (this._name eq "badguy") {
gotoAndPlay (115);
}
Symbol 435 MovieClip Frame 2
if (this._name eq "badguy1") {
randNum = random(50) + 150;
} else if (this._name eq "badguy2") {
randNum = random(50) + 350;
} else if (this._name eq "badguy3") {
randNum = random(50) + 550;
}
setProperty("watch", _x , randNum);
setProperty("watch", _y , random(300) + 200);
scr_ctr_x = getProperty("watch", _x);
scr_ctr_y = getProperty("watch", _y);
mouse_x = (getProperty("/mouse/ship", _x) - scr_ctr_x) - (getProperty("watch", _x) - scr_ctr_x);
mouse_y = (getProperty("/mouse/ship", _y) - scr_ctr_y) - (getProperty("watch", _y) - scr_ctr_y);
input = (mouse_x * mouse_x) + (mouse_y * mouse_y);
hyp = Math.sqrt(input);
sin_theta = mouse_y / hyp;
if (sin_theta < 0) {
sin_theta = sin_theta + (sin_theta * -2);
}
angle = 0;
do {
angle = angle + 1;
} while (eval ("/:s" add angle) < sin_theta);
if ((mouse_x >= 0) and (mouse_y < 0)) {
angle = angle;
}
if ((mouse_x < 0) and (mouse_y < 0)) {
angle = (90 - angle) + 90;
}
if ((mouse_x < 0) and (mouse_y >= 0)) {
angle = angle + 180;
}
if ((mouse_x >= 0) and (mouse_y >= 0)) {
angle = (90 - angle) + 270;
}
rotate = (-angle) + 90;
setProperty("watch", _rotation , rotate - 180);
Symbol 435 MovieClip Frame 5
tellTarget ("watch/hawk") {
play();
};
Symbol 435 MovieClip Frame 95
gotoAndPlay(random(10) + 97);
Symbol 435 MovieClip Frame 110
gotoAndPlay (2);
Symbol 435 MovieClip Frame 115
if (/:last >= /:number) {
duplicateMovieClip ("/badguy", "badguy" + /:number, /:number);
Set(("/badguy" add /:number) add ":ID", /:number);
Set("/:badguy" add /:number, 1);
setProperty("/badguy" add /:number, _x , /:startX);
setProperty("/badguy" add /:number, _y , /:startY);
Set("/:number", /:number + 1);
Set("/:badguys", /:badguys + 1);
}
if (/:badguys < 1) {
tellTarget ("/") {
gotoAndStop(/:nextwave);
};
}
Symbol 435 MovieClip Frame 122
gotoAndPlay (115);
Symbol 436 MovieClip Frame 1
if (this._name eq "bullete") {
stop();
}
Symbol 436 MovieClip Frame 2
myname = this._name;
Symbol 436 MovieClip Frame 25
removeMovieClip("");
Symbol 437 MovieClip Frame 1
if (this._name eq "badguy") {
gotoAndPlay (1);
} else if (this._name eq "badguyd") {
stop();
}
health = 1;
Symbol 437 MovieClip Frame 158
Set("/:" add this._name, 0);
Set("/:badguys", /:badguys - 1);
removeMovieClip("");
Symbol 438 MovieClip Frame 1
if (this._name eq "badguy") {
gotoAndPlay (1);
} else if (this._name eq "badguyc") {
stop();
}
health = 1;
Symbol 438 MovieClip Frame 105
Set("/:" add this._name, 0);
Set("/:badguys", /:badguys - 1);
removeMovieClip("");
Symbol 439 MovieClip Frame 1
if (/:last >= /:number) {
if (swap == 1) {
duplicateMovieClip ("/badguyc", "badguy" + /:number, /:number);
swap = 0;
} else {
swap = 1;
duplicateMovieClip ("/badguyd", "badguy" + /:number, /:number);
}
Set(("/badguy" add /:number) add ":ID", /:number);
Set("/:badguy" add /:number, 1);
setProperty("/badguy" add /:number, _x , 0);
setProperty("/badguy" add /:number, _y , 0);
Set("/:number", /:number + 1);
Set("/:badguys", /:badguys + 1);
}
if (/:badguys < 1) {
tellTarget ("/") {
gotoAndStop(/:nextwave);
};
}
Symbol 439 MovieClip Frame 4
gotoAndPlay (1);
Symbol 440 MovieClip Frame 1
if (this._name eq "badguyc") {
stop();
}
count = 1;
health = 1;
Symbol 440 MovieClip Frame 69
if (3 < count) {
Set("/:" add this._name, 0);
Set("/:badguys", /:badguys - 1);
removeMovieClip("");
} else {
count = count + 1;
gotoAndPlay (2);
}
Symbol 441 MovieClip Frame 1
if (this._name eq "badguyd") {
stop();
}
count = 1;
health = 1;
Symbol 441 MovieClip Frame 53
if (3 < count) {
Set("/:" add this._name, 0);
Set("/:badguys", /:badguys - 1);
removeMovieClip("");
} else {
count = count + 1;
gotoAndPlay (2);
}
Symbol 442 MovieClip Frame 2
if (/:last >= /:number) {
if (swap == 1) {
duplicateMovieClip ("/badguyc", "badguy" + /:number, /:number);
swap = 0;
} else {
swap = 1;
duplicateMovieClip ("/badguyd", "badguy" + /:number, /:number);
}
Set(("/badguy" add /:number) add ":ID", /:number);
Set("/:badguy" add /:number, 1);
setProperty("/badguy" add /:number, _y , eval ("/:kamY" add /:number));
setProperty("/badguy" add /:number, _x , eval ("/:kamX" add /:number));
setProperty("/badguy" add /:number, _rotation , eval ("/:kamR" add /:number));
Set("/:number", /:number + 1);
Set("/:badguys", /:badguys + 1);
}
if (/:badguys < 1) {
tellTarget ("/") {
gotoAndStop(/:nextwave);
};
}
Symbol 442 MovieClip Frame 7
gotoAndPlay (2);
Symbol 443 MovieClip Frame 1
health = 3;
if (this._name eq "badguyc") {
gotoAndPlay (135);
}
Symbol 443 MovieClip Frame 134
Set("/:" add this._name, 0);
Set("/:badguys", /:badguys - 1);
removeMovieClip("");
Symbol 443 MovieClip Frame 135
if (/:last1 >= /:number) {
duplicateMovieClip ("/badguyc", "badguy" + /:number, /:number);
Set(("/badguy" add /:number) add ":ID", /:number);
Set("/:badguy" add /:number, 1);
setProperty("/badguy" add /:number, _x , /:startX);
setProperty("/badguy" add /:number, _y , /:startY);
Set("/:number", /:number + 1);
Set("/:badguys", /:badguys + 1);
}
if (/:badguys < 1) {
tellTarget ("/") {
gotoAndStop(/:nextwave);
};
}
Symbol 443 MovieClip Frame 147
gotoAndPlay (135);
Symbol 444 MovieClip Frame 1
if (this._name eq "badguyb") {
gotoAndPlay (109);
}
health = 2;
Symbol 444 MovieClip Frame 108
Set("/:" add this._name, 0);
Set("/:badguys", /:badguys - 1);
removeMovieClip("");
Symbol 444 MovieClip Frame 109
if (/:last >= /:number) {
duplicateMovieClip ("/badguyb", "badguy" + /:number, /:number);
Set(("/badguy" add /:number) add ":ID", /:number);
Set("/:badguy" add /:number, 1);
setProperty("/badguy" add /:number, _x , /:startX);
setProperty("/badguy" add /:number, _y , /:startY);
Set("/:number", /:number + 1);
Set("/:badguys", /:badguys + 1);
}
if (/:badguys < 1) {
tellTarget ("/") {
gotoAndStop(/:nextwave);
};
}
Symbol 444 MovieClip Frame 118
gotoAndPlay (109);
Symbol 446 MovieClip Frame 1
if (this._name eq "badguy") {
gotoAndPlay (37);
} else {
stop();
}
health = 1;
Symbol 446 MovieClip Frame 36
Set("/:" add this._name, 0);
Set("/:badguys", /:badguys - 1);
removeMovieClip("");
Symbol 446 MovieClip Frame 37
if (6 >= /:number) {
duplicateMovieClip ("/badguy", "badguy" + /:number, /:number);
Set(("/badguy" add /:number) add ":ID", /:number);
Set("/:badguy" add /:number, 1);
setProperty("/badguy" add /:number, _y , eval ("/:kamY" add /:number));
setProperty("/badguy" add /:number, _x , eval ("/:kamX" add /:number));
setProperty("/badguy" add /:number, _rotation , eval ("/:kamR" add /:number));
Set("/:number", /:number + 1);
Set("/:badguys", /:badguys + 1);
} else if (go != 1) {
go = 1;
do {
tellTarget ("/badguy" add go) {
play();
};
go = go + 1;
} while (6 >= go);
go = 1;
}
if (/:badguys < 1) {
tellTarget ("/") {
gotoAndStop(/:nextwave);
};
}
Symbol 446 MovieClip Frame 38
gotoAndPlay (37);
Symbol 447 MovieClip Frame 1
health = 3;
if (this._name eq "badguyc") {
gotoAndPlay (253);
}
Symbol 447 MovieClip Frame 252
Set("/:" add this._name, 0);
Set("/:badguys", /:badguys - 1);
removeMovieClip("");
Symbol 447 MovieClip Frame 253
if (/:last1 >= /:number) {
duplicateMovieClip ("/badguyc", "badguy" + /:number, /:number);
Set(("/badguy" add /:number) add ":ID", /:number);
Set("/:badguy" add /:number, 1);
setProperty("/badguy" add /:number, _x , /:startX);
setProperty("/badguy" add /:number, _y , /:startY);
Set("/:number", /:number + 1);
Set("/:badguys", /:badguys + 1);
}
if (/:badguys < 1) {
tellTarget ("/") {
gotoAndStop(/:nextwave);
};
}
Symbol 447 MovieClip Frame 265
gotoAndPlay (253);
Symbol 448 MovieClip Frame 1
health = 10;
if (this._name eq "badguyd") {
gotoAndPlay (115);
}
Symbol 448 MovieClip Frame 2
if (this._name eq "badguy5") {
randNum = random(50) + 150;
} else if (this._name eq "badguy6") {
randNum = random(50) + 550;
}
setProperty("watch", _x , randNum);
setProperty("watch", _y , random(200) + 100);
scr_ctr_x = getProperty("watch", _x);
scr_ctr_y = getProperty("watch", _y);
mouse_x = (getProperty("/mouse/ship", _x) - scr_ctr_x) - (getProperty("watch", _x) - scr_ctr_x);
mouse_y = (getProperty("/mouse/ship", _y) - scr_ctr_y) - (getProperty("watch", _y) - scr_ctr_y);
input = (mouse_x * mouse_x) + (mouse_y * mouse_y);
hyp = Math.sqrt(input);
sin_theta = mouse_y / hyp;
if (sin_theta < 0) {
sin_theta = sin_theta + (sin_theta * -2);
}
angle = 0;
do {
angle = angle + 1;
} while (eval ("/:s" add angle) < sin_theta);
if ((mouse_x >= 0) and (mouse_y < 0)) {
angle = angle;
}
if ((mouse_x < 0) and (mouse_y < 0)) {
angle = (90 - angle) + 90;
}
if ((mouse_x < 0) and (mouse_y >= 0)) {
angle = angle + 180;
}
if ((mouse_x >= 0) and (mouse_y >= 0)) {
angle = (90 - angle) + 270;
}
rotate = (-angle) + 90;
setProperty("watch", _rotation , rotate - 180);
Symbol 448 MovieClip Frame 5
tellTarget ("watch/hawk") {
play();
};
Symbol 448 MovieClip Frame 95
gotoAndPlay(random(10) + 97);
Symbol 448 MovieClip Frame 110
gotoAndPlay (2);
Symbol 448 MovieClip Frame 115
if (/:last2 >= /:number2) {
duplicateMovieClip ("/badguyd", "badguy" + /:number2, /:number2);
Set(("/badguy" add /:number2) add ":ID", /:number2);
Set("/:badguy" add /:number2, 1);
setProperty("/badguy" add /:number2, _x , /:startX);
setProperty("/badguy" add /:number2, _y , /:startY);
Set("/:number2", /:number2 + 1);
Set("/:badguys", /:badguys + 1);
}
if (/:badguys < 1) {
tellTarget ("/") {
gotoAndStop(/:nextwave);
};
}
Symbol 448 MovieClip Frame 122
gotoAndPlay (115);
Symbol 449 MovieClip Frame 1
if (this._name eq "badguy") {
gotoAndPlay (1);
} else if (this._name eq "badguyd") {
stop();
}
health = 1;
Symbol 449 MovieClip Frame 129
Set("/:" add this._name, 0);
Set("/:badguys", /:badguys - 1);
removeMovieClip("");
Symbol 450 MovieClip Frame 1
if (this._name eq "badguy") {
gotoAndPlay (1);
} else if (this._name eq "badguyc") {
stop();
}
health = 1;
Symbol 450 MovieClip Frame 105
Set("/:" add this._name, 0);
Set("/:badguys", /:badguys - 1);
removeMovieClip("");
Symbol 451 MovieClip Frame 1
if (this._name eq "badguy") {
gotoAndPlay (72);
} else if (this._name eq "badguyc") {
stop();
}
health = 1;
Symbol 451 MovieClip Frame 71
Set("/:" add this._name, 0);
Set("/:badguys", /:badguys - 1);
removeMovieClip("");
Symbol 451 MovieClip Frame 72
if (/:last >= /:number) {
duplicateMovieClip ("/badguy", "badguy" + /:number, /:number);
Set(("/badguy" add /:number) add ":ID", /:number);
Set("/:badguy" add /:number, 1);
setProperty("/badguy" add /:number, _x , /:startX);
setProperty("/badguy" add /:number, _y , /:startY);
Set("/:number", /:number + 1);
Set("/:badguys", /:badguys + 1);
}
if (/:badguys < 1) {
tellTarget ("/") {
gotoAndStop(/:nextwave);
};
}
Symbol 451 MovieClip Frame 79
gotoAndPlay (72);
Symbol 452 MovieClip Frame 1
if (this._name eq "badguyb") {
gotoAndPlay (72);
} else if (this._name eq "badguyd") {
stop();
}
health = 1;
Symbol 452 MovieClip Frame 71
Set("/:" add this._name, 0);
Set("/:badguys", /:badguys - 1);
removeMovieClip("");
Symbol 452 MovieClip Frame 72
if (/:last >= /:number) {
duplicateMovieClip ("/badguyb", "badguy" + /:number, /:number);
Set(("/badguy" add /:number) add ":ID", /:number);
Set("/:badguy" add /:number, 1);
setProperty("/badguy" add /:number, _x , /:startX);
setProperty("/badguy" add /:number, _y , /:startY);
Set("/:number", /:number + 1);
Set("/:badguys", /:badguys + 1);
}
if (/:badguys < 1) {
tellTarget ("/") {
gotoAndStop(/:nextwave);
};
}
Symbol 452 MovieClip Frame 79
gotoAndPlay (72);
Symbol 453 MovieClip Frame 1
health = 5;
if (this._name eq "badguyc") {
gotoAndPlay (196);
}
Symbol 453 MovieClip Frame 195
Set("/:" add this._name, 0);
Set("/:badguys", /:badguys - 1);
removeMovieClip("");
Symbol 453 MovieClip Frame 196
if (/:last1 >= /:number) {
duplicateMovieClip ("/badguyc", "badguy" + /:number, /:number);
Set(("/badguy" add /:number) add ":ID", /:number);
Set("/:badguy" add /:number, 1);
setProperty("/badguy" add /:number, _x , /:startX);
setProperty("/badguy" add /:number, _y , /:startY);
Set("/:number", /:number + 1);
Set("/:badguys", /:badguys + 1);
}
if (/:badguys < 1) {
tellTarget ("/") {
gotoAndStop(/:nextwave);
};
}
Symbol 453 MovieClip Frame 208
gotoAndPlay (196);
Symbol 454 MovieClip Frame 1
health = 10;
if (this._name eq "badguyd") {
gotoAndPlay (115);
}
Symbol 454 MovieClip Frame 2
if (this._name eq "badguy4") {
randNum = random(50) + 150;
} else if (this._name eq "badguy5") {
randNum = random(50) + 350;
} else if (this._name eq "badguy6") {
randNum = random(50) + 550;
}
setProperty("watch", _x , randNum);
setProperty("watch", _y , random(300) + 100);
scr_ctr_x = getProperty("watch", _x);
scr_ctr_y = getProperty("watch", _y);
mouse_x = (getProperty("/mouse/ship", _x) - scr_ctr_x) - (getProperty("watch", _x) - scr_ctr_x);
mouse_y = (getProperty("/mouse/ship", _y) - scr_ctr_y) - (getProperty("watch", _y) - scr_ctr_y);
input = (mouse_x * mouse_x) + (mouse_y * mouse_y);
hyp = Math.sqrt(input);
sin_theta = mouse_y / hyp;
if (sin_theta < 0) {
sin_theta = sin_theta + (sin_theta * -2);
}
angle = 0;
do {
angle = angle + 1;
} while (eval ("/:s" add angle) < sin_theta);
if ((mouse_x >= 0) and (mouse_y < 0)) {
angle = angle;
}
if ((mouse_x < 0) and (mouse_y < 0)) {
angle = (90 - angle) + 90;
}
if ((mouse_x < 0) and (mouse_y >= 0)) {
angle = angle + 180;
}
if ((mouse_x >= 0) and (mouse_y >= 0)) {
angle = (90 - angle) + 270;
}
rotate = (-angle) + 90;
setProperty("watch", _rotation , rotate - 180);
Symbol 454 MovieClip Frame 5
tellTarget ("watch/hawk") {
play();
};
Symbol 454 MovieClip Frame 95
gotoAndPlay(random(10) + 97);
Symbol 454 MovieClip Frame 110
gotoAndPlay (2);
Symbol 454 MovieClip Frame 115
if (/:last2 >= /:number2) {
duplicateMovieClip ("/badguyd", "badguy" + /:number2, /:number2);
Set(("/badguy" add /:number2) add ":ID", /:number2);
Set("/:badguy" add /:number2, 1);
setProperty("/badguy" add /:number2, _x , /:startX);
setProperty("/badguy" add /:number2, _y , /:startY);
Set("/:number2", /:number2 + 1);
Set("/:badguys", /:badguys + 1);
}
if (/:badguys < 1) {
tellTarget ("/") {
gotoAndStop(/:nextwave);
};
}
Symbol 454 MovieClip Frame 122
gotoAndPlay (115);
Symbol 460 MovieClip Frame 1
number = random(100000) + 100000;
duplicateMovieClip ("/bullete", "bullet" add number, number);
if (getProperty("../../../", _name) eq "badguy1") {
setProperty("/bullet" add number, _x , getProperty("/boss/boss", _x) + getProperty("../", _x));
} else {
setProperty("/bullet" add number, _x , getProperty("/boss/boss", _x) - getProperty("../", _x));
}
setProperty("/bullet" add number, _y , getProperty("/boss/boss", _y) + 10);
setProperty("/bullet" add number, _rotation , this._rotation);
Symbol 460 MovieClip Frame 3
gotoAndPlay (1);
Symbol 460 MovieClip Frame 17
stop();
Symbol 461 MovieClip Frame 22
_level1.gotoAndPlay("uzi");
Symbol 461 MovieClip Frame 29
_level1.gotoAndPlay("uzistop");
Symbol 461 MovieClip Frame 117
_level1.gotoAndPlay("uzi");
Symbol 461 MovieClip Frame 131
_level1.gotoAndPlay("uzistop");
Symbol 463 MovieClip Frame 1
stop();
Symbol 463 MovieClip Frame 2
tellTarget ("boss") {
stop();
};
Symbol 463 MovieClip Frame 4
if (0 < /:badguy2) {
tellTarget ("../badguy2") {
gotoAndPlay ("explode");
};
}
if (0 < /:badguy1) {
tellTarget ("../badguy1") {
gotoAndPlay ("explode");
};
}
tellTarget ("../") {
gotoAndPlay ("explode");
};
stop();
Symbol 470 MovieClip Frame 1
stop();
Symbol 470 MovieClip Frame 2
stop();
Symbol 470 MovieClip Frame 7
gotoAndPlay (2);
Symbol 479 MovieClip Frame 1
stop();
Symbol 479 MovieClip Frame 2
_parent._parent.gotoAndPlay(71);
Symbol 479 MovieClip Frame 63
_parent.megagunlaser.gotoAndStop(2);
_level1.gotoAndPlay("zap");
Symbol 479 MovieClip Frame 91
_parent.megagunlaser.gotoAndStop(1);
_level1.gotoAndPlay("zapstop");
Symbol 484 MovieClip Frame 1
if (check != 1) {
check = 1;
if (getProperty("../", _name) eq "badguy1") {
gotoAndPlay (55);
}
}
Symbol 485 MovieClip Frame 1
stop();
Symbol 485 MovieClip Frame 15
stop();
Symbol 490 MovieClip Frame 1
if (check != 1) {
check = 1;
if (getProperty("../", _name) eq "badguy1") {
gotoAndPlay (55);
}
}
Symbol 490 MovieClip Frame 2
if (_root.plasma != "true") {
gotoAndPlay (1);
}
Symbol 490 MovieClip Frame 5
function spray2() {
number = random(100000) + 100000;
duplicateMovieClip ("/pulse", "pulse2" add number, number);
if (getProperty("../../../", _name) eq "badguy1") {
setProperty("/pulse2" add number, _x , getProperty("/boss/boss", _x));
} else {
setProperty("/pulse2" add number, _x , getProperty("/boss/boss", _x) - 180);
}
setProperty("/pulse2" add number, _y , getProperty("/boss/boss", _y) + 100);
}
spray2();
Symbol 490 MovieClip Frame 12
spray2();
Symbol 490 MovieClip Frame 20
spray2();
Symbol 491 MovieClip Frame 1
stop();
Symbol 491 MovieClip Frame 15
stop();
Symbol 493 MovieClip Frame 1
play();
name = getProperty("../", _name);
Set("/:status", _parent.hittest("/mouse/ship/area"));
if (/:status == true) {
if (/:invincible != 1) {
if (/:shields == 1) {
tellTarget ("/shieldmon") {
nextFrame();
};
tellTarget ("/mouse/ship/shields/shield") {
gotoAndPlay ("hit");
};
} else {
_parent.stop();
gotoAndPlay (3);
tellTarget ("/mouse/ship/explode") {
gotoAndStop (2);
};
tellTarget ("/healthmon") {
nextFrame();
};
}
}
}
Symbol 493 MovieClip Frame 2
gotoAndPlay (1);
Symbol 493 MovieClip Frame 3
tellTarget ("/sound") {
gotoAndStop ("explode");
};
Symbol 493 MovieClip Frame 11
_parent.gotoAndStop(1);
Symbol 494 MovieClip Frame 1
stop();
Symbol 494 MovieClip Frame 20
_root.missile.gotoAndPlay(1);
gotoAndStop (1);
Symbol 508 MovieClip Frame 22
_parent.bomb.gotoAndPlay(2);
Symbol 509 MovieClip Frame 1
stop();
Symbol 509 MovieClip Frame 2
Set("/:bossX", getProperty("/boss/boss", _x));
Set("/:bossY", getProperty("/boss/boss", _y));
tellTarget ("/boss") {
stop();
};
Symbol 509 MovieClip Frame 25
stop();
tellTarget ("/") {
gotoAndStop(/:nextwave);
};
Symbol 510 MovieClip Frame 1
tellTarget ("boss.badguy1") {
};
tellTarget ("boss.badguy2") {
};
Symbol 510 MovieClip Frame 55
tellTarget ("boss.badguy1") {
};
Symbol 510 MovieClip Frame 68
count = 0;
Symbol 510 MovieClip Frame 70
stop = 1;
tellTarget ("boss.badguy3.boss") {
gotoAndPlay (2);
};
Symbol 510 MovieClip Frame 71
count = count + 1;
if (count == 3) {
stop();
boss.megagun.gotoAndPlay(2);
count = 0;
}
_root.plasma = "true";
Symbol 510 MovieClip Frame 145
Symbol 510 MovieClip Frame 152
tellTarget ("boss.badguy3.leftlauncher") {
};
tellTarget ("boss.badguy3.rightlauncher") {
};
Symbol 510 MovieClip Frame 169
tellTarget ("boss.badguy1") {
};
Symbol 510 MovieClip Frame 183
gotoAndPlay (71);
Symbol 511 MovieClip Frame 1
stop();
Symbol 511 MovieClip Frame 56
gotoAndStop (1);
Symbol 512 MovieClip Frame 1
if ((this._name eq "bulletspraye") or "bulletspraya") {
stop();
}
Symbol 512 MovieClip Frame 2
myname = this._name;
Symbol 512 MovieClip Frame 21
removeMovieClip("");
Symbol 514 MovieClip Frame 30
gotoAndPlay (1);
Symbol 514 MovieClip Frame 39
stop();
removeMovieClip("/:" add getProperty("../../", _name));
Symbol 515 MovieClip Frame 1
if (../:myname eq "bullete") {
stop();
}
Symbol 515 MovieClip Frame 2
Set("/:status", this.hitTest(_root.mouse.ship.area));
if (/:status == true) {
if (/:invincible != 1) {
if (/:shields == 1) {
tellTarget ("/shieldmon") {
nextFrame();
};
tellTarget ("/mouse/ship/shields/shield") {
gotoAndPlay ("hit");
};
} else {
tellTarget ("/healthmon") {
nextFrame();
};
tellTarget ("/mouse/ship/explode") {
gotoAndStop (2);
};
}
stop();
tellTarget ("../") {
stop();
};
removeMovieClip("/:" add getProperty("../", _name));
} else {
stop();
tellTarget ("../") {
stop();
};
tellTarget ("shot") {
gotoAndPlay ("explode");
};
}
}
gotoAndPlay (1);
Symbol 515 MovieClip Frame 3
if (thisCount != 1) {
xspeed = getProperty("../", _x) - getProperty("/mouse/ship", _x);
yspeed = getProperty("../", _y) - getProperty("/mouse/ship", _y);
thisCount = 1;
}
setProperty("../", _x , getProperty("../", _x) - (xspeed / 20));
setProperty("../", _y , getProperty("../", _y) - (yspeed / 20));
Symbol 515 MovieClip Frame 4
setProperty("../", _x , getProperty("this", _x));
prevY = getProperty("this", _y);
setProperty("../", _rotation , 0);
newY = getProperty("this", _y);
setProperty("../", _y , getProperty("../", _y) - (newY - prevY));
scr_ctr_x = getProperty("this", _x);
scr_ctr_y = getProperty("this", _y);
mouse_x = (getProperty("/mouse/ship", _x) - scr_ctr_x) - (getProperty("../", _x) - scr_ctr_x);
mouse_y = (getProperty("/mouse/ship", _y) - scr_ctr_y) - (getProperty("../", _y) - scr_ctr_y);
input = (mouse_x * mouse_x) + (mouse_y * mouse_y);
hyp = Math.sqrt(input);
sin_theta = mouse_y / hyp;
if (sin_theta < 0) {
sin_theta = sin_theta + (sin_theta * -2);
}
angle = 0;
do {
angle = angle + 1;
} while (eval ("/:s" add angle) < sin_theta);
if ((mouse_x >= 0) and (mouse_y < 0)) {
angle = angle;
}
if ((mouse_x < 0) and (mouse_y < 0)) {
angle = (90 - angle) + 90;
}
if ((mouse_x < 0) and (mouse_y >= 0)) {
angle = angle + 180;
}
if ((mouse_x >= 0) and (mouse_y >= 0)) {
angle = (90 - angle) + 270;
}
rotate = (-angle) + 90;
setProperty("../", _rotation , rotate);
Symbol 515 MovieClip Frame 5
if (../:myname eq "bullete") {
stop();
} else {
call("point");
}
Symbol 515 MovieClip Frame 6
Set("/:status", this.hitTest(_root.mouse.ship.area));
if (/:status == true) {
if (/:invincible != 1) {
if (/:shields == 1) {
tellTarget ("/shieldmon") {
nextFrame();
};
tellTarget ("/mouse/ship/shields/shield") {
gotoAndPlay ("hit");
};
} else {
tellTarget ("/healthmon") {
nextFrame();
};
tellTarget ("/mouse/ship/explode") {
gotoAndStop (2);
};
}
stop();
tellTarget ("../") {
stop();
};
removeMovieClip("/:" add getProperty("../", _name));
} else {
stop();
tellTarget ("../") {
stop();
};
tellTarget ("shot") {
gotoAndPlay ("explode");
};
}
}
call("point");
gotoAndPlay (1);
Symbol 516 MovieClip Frame 1
if (this._name eq "pulse") {
stop();
}
Symbol 516 MovieClip Frame 2
myname = this._name;
Symbol 516 MovieClip Frame 18
removeMovieClip("");
Symbol 520 MovieClip Frame 1
Set("button6/label:text", "S U B M I T");
Symbol 528 MovieClip Frame 185
stop();
Symbol 529 MovieClip Frame 2
ranNumber = random(1000000);
score = /:score;
name = /:name;
if (name eq "") {
name = "Anonymous";
}
getURL (((("javascript:spawnWindow('http://www.sayinteractive.com/scripts/setScore2.asp?score=" + score) + "&name=") + name) + "','Ablast','toolbar=no,location=no,status=no,menubar=no,scrollbars=no,resizable=no,width=400,height=450')");
tellTarget ("/") {
nextFrame();
};