Frame 1
fscommand ("allowscale", 0);
duplicateMovieClip ("fr", "frame", 5100);
Frame 3
percent = Math.floor((getBytesLoaded() / getBytesTotal()) * 100);
if (percent < 100) {
prevFrame();
play();
}
Frame 4
stop();
Frame 7
Array.prototype.randomize = function () {
return(this.sort(function (a, b) {
return(((Math.floor(Math.random() * 2) == 0) ? 1 : -1));
}));
};
Array.prototype.copy = function () {
return(this.slice());
};
Movieclip.prototype.rad = function (qdeg) {
var temp;
if (qdeg < 0) {
qdeg = qdeg + 360;
}
if (qdeg > 360) {
qdeg = qdeg - 360;
}
temp = qdeg * 1;
return(temp);
};
Movieclip.prototype.deg = function (qrad) {
var temp;
if (qrad < 0) {
qrad = qrad + (2 * math.pi);
}
if ((2 * math.pi) < qrad) {
qrad = qrad - (2 * math.pi);
}
temp = qrad * 5;
return(temp);
};
Color.prototype.setBrightness = function (bright) {
var percent = (100 - Math.abs(bright));
var offset = 0;
if (bright > 0) {
offset = 256 * (bright / 100);
}
var trans = new Object();
trans.ra = (trans.ga = (trans.ba = percent));
trans.rb = (trans.gb = (trans.bb = offset));
this.setTransform(trans);
};
Movieclip.prototype.setBrightness = function (bright) {
if (bright == undefined) {
(Math.random() > 5);// not popped
if (!0) {
var bright = ((-Math.random()) * 100);
} else {
var bright = (Math.random() * 100);
}
}
var c = new Color(this);
c.setBrightness(bright);
this.brvalue = bright;
};
Movieclip.prototype.ReduceBright = function () {
if (this.brvalue) {
this.brvalue = this.brvalue - 25;
setBrightness(this.brvalue);
}
};
Movieclip.prototype.adding = function (target, arr) {
eval (arr).push(target);
};
Movieclip.prototype.removing = function (target, arr) {
var found = 0;
var i = 0;
var n = 0;
while (!found) {
if (eval (arr)[i] == target) {
n = i;
found = 1;
}
i = i + 1;
}
eval (arr).splice(n, 1);
};
Movieclip.prototype.checkhit = function (target) {
if (!/:inv) {
var i = 1;
while (i <= 3) {
if (eval (target).hitTest(eval ("/:px" add i), eval ("/:py" add i), 1)) {
Set("/:hit", 1);
}
i = i + 1;
}
}
};
Movieclip.prototype.checkhit2 = function (target) {
if (!/:inv) {
if (eval (target).hitTest("/g/z")) {
Set("/:hit", 1);
}
}
};
Movieclip.prototype.checkhitnoshield = function (target) {
if (!/:blinking) {
var i = 1;
while (i <= 3) {
if (eval (target).hitTest(eval ("/:px" add i), eval ("/:py" add i), 1)) {
Set("/:hit", 1);
Set("/:inv", 0);
}
i = i + 1;
}
}
};
Movieclip.prototype.checkbonusgot = function (target) {
var hit = 0;
if (eval (target).hitTest("/g/z")) {
hit = 1;
}
return(hit);
};
Movieclip.prototype.checkweaponhit = function (target) {
var px1;
var px2;
var py;
var tname;
var ret = 0;
var hit = 0;
var i = 0;
while (/:ename.length >= i) {
tname = "/" add /:ename[i];
px1 = getProperty(tname, _x);
px2 = getProperty(tname, _x) - 30;
py = getProperty(tname, _y);
if (eval (target).hitTest(px1, py, 1)) {
hit = 1;
ret = 1;
}
if (eval (target).hitTest(px2, py, 1)) {
hit = 1;
ret = 1;
}
if (hit) {
removeMovieClip(tname);
removing(/:ename[i], "/:ename");
hit = 0;
}
i = i + 1;
}
return(ret);
};
Movieclip.prototype.checkterrain = function (nx, ny) {
var ter;
var hit = 0;
var i = 0;
if (/:terra.length) {
while (/:terra.length >= i) {
ter = ("/" add /:terra[i]) add "/t/m";
if (eval (ter).hitTest(nx, ny, 1)) {
hit = 1;
}
i = i + 1;
}
}
return(hit);
};
Movieclip.prototype.updatestat = function () {
Set("/stat/:score", /:score);
if (/:energy >= /stat/:energy) {
if (/stat/:energy < /:energy) {
Set("/stat/:energy", /:energy);
tellTarget ("/stat/i" add /:energy) {
gotoAndPlay ("new");
};
}
} else {
tellTarget ("/stat/i" add /stat/:energy) {
gotoAndStop (2);
};
Set("/stat/:energy", /:energy);
}
};
Movieclip.prototype.explode = function (tot, x, y) {
Set("/:score", /:score + (tot * /:point));
updatestat();
duplicateMovieClip ("/explosion", "e" add /:e, /:e);
Set(("/e" add /:e) add "/:tot", tot);
if (x) {
setProperty("/e" add /:e, _x , x);
setProperty("/e" add /:e, _x, x);
setProperty("/e" add /:e, _y , y);
setProperty("/e" add /:e, _y, y);
} else {
setProperty("/e" add /:e, _x , this._x);
setProperty("/e" add /:e, _x, this._x);
setProperty("/e" add /:e, _y , this._y);
setProperty("/e" add /:e, _y, this._y);
}
Set("/:e", /:e + 1);
if (/:e > 520) {
Set("/:e", 500);
}
if (((!/:countingdown) && (!/:voice)) && (random(100) > 50)) {
_root.voshoot.gotoAndPlay(2);
}
};
Movieclip.prototype.endclear = function () {
stopAllSounds();
var i = 0;
while (i <= 99) {
removeMovieClip("/t" add (80 + i));
removeMovieClip("/s" add (100 + i));
removeMovieClip("/a" add (400 + i));
removeMovieClip("/b" add (400 + i));
removeMovieClip("/e" add (500 + i));
removeMovieClip("/m" add (600 + i));
removeMovieClip("/l" add (300 + i));
i = i + 1;
}
removeMovieClip("/mist2");
removeMovieClip("/stat");
removeMovieClip("/levelinfo");
removeMovieClip("/levelcong");
removeMovieClip("/g");
removeMovieClip("/failed2");
removeMovieClip("/shield");
};
Movieclip.prototype.nextlevel = function () {
Set("/:level", /:level + 1);
Set("/:energy", /:energy + 1);
if (/:energymax < /:energy) {
Set("/:energy", /:energymax);
}
endclear();
_root.levelinfo.gotoandplay(2);
_root.gotoAndPlay("start");
};
Frame 12
stop();
Frame 17
stop();
Frame 21
level = 1;
energymax = 5;
energy = energymax;
score = 0;
gotoAndPlay (29);
Frame 29
duplicateMovieClip ("failed", "failed2", 5010);
duplicateMovieClip ("mist", "mist2", 5009);
duplicateMovieClip ("sta", "stat", 5008);
duplicateMovieClip ("levelinf", "levelinfo", 5007);
duplicateMovieClip ("levelcon", "levelcong", 5006);
duplicateMovieClip ("shiel", "shield", 5003);
duplicateMovieClip ("g2", "g", 5004);
Frame 30
tr1 = "sjjSbj3-s5c2jS-cjjSj-Sjje-jj8-0jsj-s-j9jj-jjSbS1-e-essjj0jecj-F";
bo1 = "321";
tr2 = "jjsjebS7-36jjjScSc4j-3ejjjewjbSjeWjsjsW8jjj1b8e-scScejj6jjjsm-F";
bo2 = "321";
tr3 = "2gjj0gb-jeg3jsj-Se-WjW-5bjjj0s-sjj6k7-SjSj16mg-jj1-g-c-g-ecgj-F";
bo3 = "321";
tr4 = "eSjsb-jjljjlsj5jk-Wmbjcjc4j-jjSgjjllmxjjXjjx9--ebe--cjsm0-mkj-F";
bo4 = "321";
tr5 = "jj5a1bjs-Sjc-jl-l0a-6mesjjj--3abWjwjWj-aw--X--X-jX4-acb-gjmae-F";
bo5 = "321";
tr6 = "vs-8asbjljl6mj-0ggggSb-a-e26--jv---V-j-c--t-teT-t-80mtbT4acej-F";
bo6 = "321";
no = 0;
bno = 0;
totlevel = 6;
difficul = math.floor((level - 1) / totlevel);
difficulmax = 4;
if (difficulmax < difficul) {
difficul = difficulmax;
}
bulletdelaynormal = 30;
bulletdelay = bulletdelaynormal - (difficul * 3);
if (bulletdelay < 15) {
bulletdelay = 15;
}
nextn = level - (math.floor((level - 1) / totlevel) * totlevel);
track = eval ("tr" add nextn);
bo = eval ("bo" add nextn);
finish = 0;
spacingdelay = 35;
onesec = 25;
totalsec = 11 + math.floor((length(track) * (spacingdelay + 3)) / onesec);
ymin = 40;
ymax = 290;
xmin = 40;
xmax = 400;
blinking = 0;
blinkdelay = 60;
invhitdelay = 60;
invbonusdelay = 400;
inv = 0;
xnormalspeed = 4;
ynormalspeed = 4;
xspeed = xnormalspeed;
yspeed = ynormalspeed;
xbonusspeed = 7;
ybonusspeed = 7;
speed = 3;
bulletspeed = 3;
missilespeed = -5;
laserspeed = 20;
submissiledelay = 25;
movingdelay = 200;
control = "k";
var ename = new Array();
var terra = new Array();
t = 80;
s = 100;
b = 400;
e = 500;
m = 600;
l = 300;
db = 4500;
weapon = 1;
lasermin = 300;
lasermax = 340;
hit = 0;
voice = 0;
jarak = 35;
point = 10;
countingdown = 0;
levelinfo.gotoandplay(2);
zloop.gotoandplay(2);
Set("/stat/:energy", energy);
var icon = (energy + 1);
while (icon <= 5) {
eval ("/stat/i" + icon)._visible = 0;
icon = icon + 1;
}
updatestat();
zzlaser = new sound();
zzmissile = new sound();
zzhit = new sound();
zzexplosion = new sound();
zzbonus = new sound();
zzstonewall = new sound();
zzcannon = new sound();
zzdodge = new sound();
zzalarm = new sound();
zzlaser.attachSound("zlaser");
zzmissile.attachSound("zmissile");
zzhit.attachSound("zhit");
zzexplosion.attachSound("zexplosion");
zzbonus.attachSound("zbonus");
zzstonewall.attachSound("zwallbum");
zzcannon.attachSound("zcannon");
zzdodge.attachSound("zdodge");
zzalarm.attachSound("zalarm");
zvoshoot = new sound(voshoot);
zvoswim = new sound(voswim);
zloop.gotoAndPlay(2);
stop();
Instance of Symbol 327 MovieClip "drag" in Frame 30
onClipEvent (enterFrame) {
Set("/:mx", 0);
Set("/:my", 0);
if (!key.isdown(key.left)) {
if (key.isdown(key.right)) {
Set("/:mx", 1);
}
} else {
Set("/:mx", -1);
}
if (!key.isdown(key.up)) {
if (key.isdown(key.down)) {
Set("/:my", 1);
}
} else {
Set("/:my", -1);
}
if (!key.isdown(key.SPACE)) {
Set("/:canshot", 1);
}
}
Instance of Symbol 329 MovieClip "invlaunch" in Frame 30
onClipEvent (enterFrame) {
if (/:inv) {
Set("/:inv", /:inv - 1);
if (!/:inv) {
test = checkterrain(getProperty("/g", _x), getProperty("/g", _y));
if (test) {
Set("/:hit", 1);
}
}
}
}
Frame 32
prevFrame();
Frame 33
nextlevel();
Frame 38
endclear();
stop();
Symbol 41 Button
on (release) {
gotoAndPlay (7);
}
Symbol 46 MovieClip Frame 16
stop();
Symbol 51 Button
on (release) {
gotoAndStop (17);
}
Symbol 57 Button
on (release) {
_root.gotoAndPlay("lev1start");
}
Symbol 79 MovieClip Frame 1
wid = getProperty("pic", _width);
duplicateMovieClip ("pic", "pic2", 2);
setProperty("pic2", _x , getProperty("pic", _x) + wid);
setProperty("pic2", _x, getProperty("pic", _x) + wid);
xl = _x;
pos = _x;
Symbol 79 MovieClip Frame 2
pos = (pos - /:speed) - 3;
if (pos < (xl - wid)) {
pos = pos + wid;
}
if (Number(xl) < Number(pos)) {
pos = pos - wid;
}
_x = pos;
setProperty("", _x, pos);
Symbol 79 MovieClip Frame 3
prevFrame();
play();
Symbol 84 MovieClip Frame 1
stop();
Symbol 84 MovieClip Frame 6
_root.zbonus.gotoAndPlay(2);
Symbol 84 MovieClip Frame 30
gotoAndStop (1);
Symbol 87 MovieClip Frame 1
stop();
Symbol 87 MovieClip Frame 6
_root.zbonus.gotoAndPlay(2);
Symbol 87 MovieClip Frame 30
gotoAndStop (1);
Symbol 92 MovieClip Frame 1
stop();
Symbol 92 MovieClip Frame 7
gotoAndStop (1);
Symbol 83 MovieClip Frame 2
c = c - 1;
if (c <= 0) {
c = /:onesec;
Set("/:totalsec", /:totalsec - 1);
if (/:totalsec >= 0) {
min = math.floor(/:totalsec / 60);
sec = /:totalsec - (min * 60);
if (min < 10) {
min = "0" + min;
}
if (sec < 10) {
sec = "0" + sec;
}
d.d.min = min;
d.d.sec = sec;
if (/:totalsec <= 10) {
Set("/:countingdown", 1);
_root.zzalarm.start();
d.gotoAndPlay(2);
}
}
}
Symbol 83 MovieClip Frame 3
prevFrame();
play();
Symbol 103 MovieClip Frame 1
gotoAndStop(/:level);
Symbol 100 MovieClip Frame 1
stop();
Symbol 100 MovieClip Frame 3
d = d + 1;
if (d < 75) {
prevFrame();
play();
}
Symbol 100 MovieClip Frame 13
_root.levelinfo.gotoAndPlay(2);
stop();
Symbol 114 MovieClip Frame 1
stop();
Symbol 108 MovieClip Frame 25
gotoAndPlay (1);
Symbol 119 MovieClip Frame 19
stop();
Symbol 105 MovieClip Frame 1
stop();
Symbol 105 MovieClip Frame 11
g._visible = 1;
Symbol 105 MovieClip Frame 21
g._visible = 0;
Symbol 105 MovieClip Frame 22
g._visible = 1;
Symbol 105 MovieClip Frame 23
g._visible = 0;
Symbol 105 MovieClip Frame 24
g._visible = 1;
Symbol 105 MovieClip Frame 25
g._visible = 0;
Symbol 105 MovieClip Frame 26
g._visible = 1;
Symbol 105 MovieClip Frame 27
g._visible = 0;
Symbol 105 MovieClip Frame 28
g._visible = 1;
Symbol 105 MovieClip Frame 29
g._visible = 0;
Symbol 105 MovieClip Frame 30
g._visible = 1;
Symbol 105 MovieClip Frame 31
g._visible = 0;
Symbol 105 MovieClip Frame 32
g._visible = 1;
Symbol 105 MovieClip Frame 33
g._visible = 0;
Symbol 105 MovieClip Frame 34
g._visible = 1;
Symbol 105 MovieClip Frame 35
g._visible = 0;
Symbol 105 MovieClip Frame 36
g._visible = 1;
Symbol 105 MovieClip Frame 37
if (_name != "g") {
gotoAndPlay (1);
} else {
stop();
}
Symbol 135 MovieClip Frame 1
if (_name != "q") {
xs = 5;
0 + (random(10) / 10);
} else {
gotoAndStop (4);
}
Symbol 135 MovieClip Frame 2
_x = (_x + xs);
setProperty("", _x, _x + xs);
Symbol 135 MovieClip Frame 3
prevFrame();
play();
Symbol 135 MovieClip Frame 4
stop();
Symbol 134 MovieClip Frame 1
max = /:level;
if (max > 25) {
max = 25;
}
var i = 1;
while (i < max) {
duplicateMovieClip ("q", "q" + i, i);
this["q" + i]._x = q._x - random(50);
this["q" + i]._y = q._y + random(70);
i++;
}
stop();
Symbol 144 MovieClip Frame 2
sc = 100 + random(6);
_root._xscale = sc;
_root._yscale = sc;
_root._x = -4 + random(8);
_root._y = -4 + random(8);
Symbol 144 MovieClip Frame 3
prevFrame();
play();
Symbol 149 MovieClip Frame 18
gotoAndPlay (1);
Symbol 150 MovieClip Frame 101
stop();
Symbol 156 MovieClip Frame 1
now = int(getTimer() / 1000);
_parent.stop();
Symbol 156 MovieClip Frame 3
if ((int(getTimer() / 1000) - now) >= _name) {
_parent.play();
} else {
prevFrame();
play();
}
Symbol 122 MovieClip Frame 1
_x = 880;
setProperty("", _x, 880);
stop();
Symbol 122 MovieClip Frame 3
_x = (_x - /:speed);
setProperty("", _x, _x - /:speed);
if (_x < 216) {
_x = 216;
setProperty("", _x, 216);
Set("/:speed", 0);
gotoAndPlay (5);
}
Symbol 122 MovieClip Frame 4
prevFrame();
play();
Symbol 122 MovieClip Frame 5
i = 0;
while (i <= 50) {
if ((substring(_name, 2, 3)) != (100 + i)) {
removeMovieClip("/s" add (100 + i));
}
removeMovieClip("/b" add (400 + i));
removeMovieClip("/e" add (500 + i));
removeMovieClip("/m" add (600 + i));
removeMovieClip("/l" add (300 + i));
i = i + 1;
}
Set("/:finish", 1);
_root.drag.gotoAndStop("stop");
stopAllSounds();
Symbol 122 MovieClip Frame 136
_root._xscale = 100;
_root._yscale = 100;
_root._x = 0;
_root._y = 0;
var i = 1;
while (i < /:level) {
removeMovieClip("q" + i);
i++;
}
Symbol 122 MovieClip Frame 187
_root.gotoAndPlay("nextl");
stop();
Symbol 159 MovieClip Frame 1
lev = /:level;
if (lev < 10) {
lev = "0" + lev;
}
Symbol 157 MovieClip Frame 1
stop();
Symbol 157 MovieClip Frame 15
Set("/:voice", 1);
if (/:level <= 1) {
_root.voswim.gotoAndPlay(2);
} else {
_root.vostart.gotoAndPlay(2);
}
Symbol 157 MovieClip Frame 61
stop();
Symbol 164 MovieClip Frame 1
gotoAndStop (4);
Symbol 164 MovieClip Frame 2
if (!/:inv) {
gotoAndStop (4);
} else {
_x = getProperty("/g", _x);
setProperty("", _x, getProperty("/g", _x));
_y = getProperty("/g", _y);
setProperty("", _y, getProperty("/g", _y));
if (/:inv < 50) {
if (!_visible) {
this._visible = 1;
} else {
this._visible = 0;
}
}
}
Symbol 164 MovieClip Frame 3
prevFrame();
play();
Symbol 164 MovieClip Frame 4
_x = 500;
setProperty("", _x, 500);
this._visible = 1;
stop();
Symbol 167 MovieClip Frame 1
wid = getProperty("pic", _width);
duplicateMovieClip ("pic", "pic2", 2);
setProperty("pic2", _x , Number(getProperty("pic", _x)) + Number(wid));
setProperty("pic2", _x, Number(getProperty("pic", _x)) + Number(wid));
xl = _x;
pos = _x;
Symbol 167 MovieClip Frame 2
pos = pos - /:speed;
if (Number(pos) < Number(xl - wid)) {
pos = Number(pos) + Number(wid);
}
if (Number(xl) < Number(pos)) {
pos = pos - wid;
}
_x = pos;
setProperty("", _x, pos);
Symbol 167 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 171 MovieClip Frame 1
_x = 500;
setProperty("", _x, 500);
if ((substring(_name, 1, 4)) == "wall") {
gotoAndStop (4);
}
Symbol 171 MovieClip Frame 2
_x = (_x - /:speed);
setProperty("", _x, _x - /:speed);
checkhitnoshield(this.w.w);
Symbol 171 MovieClip Frame 3
if (_x > -70) {
prevFrame();
play();
}
Symbol 171 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 180 MovieClip Frame 1
_x = 500;
setProperty("", _x, 500);
if ((substring(_name, 1, 4)) == "wall") {
gotoAndStop (4);
}
Symbol 180 MovieClip Frame 2
_x = (_x - /:speed);
setProperty("", _x, _x - /:speed);
checkhitnoshield(this.w.w);
Symbol 180 MovieClip Frame 3
if (_x > -70) {
prevFrame();
play();
}
Symbol 180 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 184 MovieClip Frame 1
if (!a) {
gotoAndPlay(1 + random(_totalframes));
a = 1;
}
Symbol 183 MovieClip Frame 1
if (!a) {
gotoAndPlay(1 + random(_totalframes));
a = 1;
}
Symbol 181 MovieClip Frame 1
_x = 550;
setProperty("", _x, 550);
energy = 15;
if ((substring(_name, 1, 9)) == "tentacles") {
gotoAndStop (4);
}
Symbol 181 MovieClip Frame 2
_x = (_x - /:speed);
setProperty("", _x, _x - /:speed);
if (!nomore) {
checkhit(this);
hit = checkweaponhit(this);
tellTarget ("t") {
reducebright();
};
if (hit) {
energy = energy - 1;
tellTarget ("t") {
setBrightness(100);
};
if (!energy) {
hit = 0;
explode(5);
nomore = 1;
setProperty("t", _visible , 0);
setProperty("t", _visible, 0);
}
}
}
Symbol 181 MovieClip Frame 3
if (_x > -100) {
prevFrame();
play();
}
Symbol 181 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 191 MovieClip Frame 1
_x = 580;
setProperty("", _x, 580);
if ((substring(_name, 1, 4)) == "claw") {
gotoAndStop (4);
}
Symbol 191 MovieClip Frame 2
_x = (_x - /:speed);
setProperty("", _x, _x - /:speed);
checkhit(this);
c._rotation = c._rotation - 2;
Symbol 191 MovieClip Frame 3
if (_x > -150) {
prevFrame();
play();
}
Symbol 191 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 196 MovieClip Frame 1
gotoAndStop(../:type);
Symbol 195 MovieClip Frame 1
if (_name == "terrain") {
_x = 800;
setProperty("", _x, 800);
gotoAndStop (5);
}
Symbol 195 MovieClip Frame 2
_x = 432;
setProperty("", _x, 432);
adding(_name, "/:terra");
Symbol 195 MovieClip Frame 3
_x = (_x - /:speed);
setProperty("", _x, _x - /:speed);
checkterrain(this.t.m);
Symbol 195 MovieClip Frame 4
if (_x <= (-_width)) {
removing(_name, "/:terra");
} else {
prevFrame();
play();
}
Symbol 195 MovieClip Frame 5
removeMovieClip("");
stop();
Symbol 218 MovieClip Frame 36
Set("../:cek", 1);
Symbol 218 MovieClip Frame 97
Set("../:cek", 0);
Symbol 217 MovieClip Frame 1
_x = 500;
setProperty("", _x, 500);
wid = 26;
hei = 185;
if (_name == "geyser") {
gotoAndStop (4);
}
Symbol 217 MovieClip Frame 2
_x = (_x - /:speed);
setProperty("", _x, _x - /:speed);
if (cek) {
if (!/:inv) {
i = 1;
while (i <= 3) {
px = eval ("/:px" add i);
py = eval ("/:py" add i);
if (((((_x - wid) < px) && (px < (_x + wid))) && ((_y - hei) < py)) && (py < _y)) {
Set("/:hit", 1);
}
i = i + 1;
}
}
}
Symbol 217 MovieClip Frame 3
if (_x > -70) {
prevFrame();
play();
}
Symbol 217 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 229 MovieClip Frame 1
gotoAndStop(1 + Number(random(_totalframes)));
Symbol 228 MovieClip Frame 1
_x = 500;
setProperty("", _x, 500);
if ((substring(_name, 1, 5)) == "spike") {
gotoAndStop (4);
}
Symbol 228 MovieClip Frame 2
_x = (_x - /:speed);
setProperty("", _x, _x - /:speed);
checkhitnoshield(this);
Symbol 228 MovieClip Frame 3
if (_x > -70) {
prevFrame();
play();
}
Symbol 228 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 238 MovieClip Frame 25
gotoAndPlay (1);
Symbol 236 MovieClip Frame 1
_x = 470;
setProperty("", _x, 470);
energy = 1;
if (_name == "mine") {
gotoAndStop (7);
}
Symbol 236 MovieClip Frame 2
_x = (_x - /:speed);
setProperty("", _x, _x - /:speed);
checkhit(this);
hit = checkweaponhit(this);
if (hit) {
hit = 0;
explode(3);
spx = new array(0, 2, 2, 2, 0, -2 - /:speed, -2 - /:speed, -2 - /:speed);
spy = new array(-2, -2, 0, 2, 2, 2, 0, -2);
i = 0;
while (i < 20) {
duplicateMovieClip ("/bullet3", "b" add /:b, /:b);
speed = 4 + 1;
0 * random(50);
if (random(100) >= 75) {
ang = random(360);
} else {
ang = 120 + random(120);
}
if (!((ang > 90) && (ang < 270))) {
speedx = (speed + /:speed) * math.cos(rad(ang));
} else {
speedx = speed * math.cos(rad(ang));
}
speedy = speed * math.sin(rad(ang));
Set(("/b" add /:b) add "/:xs", speedx);
Set(("/b" add /:b) add "/:ys", speedy);
setProperty("/b" add /:b, _x , _x);
setProperty("/b" add /:b, _x, _x);
setProperty("/b" add /:b, _y , _y);
setProperty("/b" add /:b, _y, _y);
Set("/:b", /:b + 1);
if (/:b > 450) {
Set("/:b", 400);
}
i = i + 1;
}
gotoAndPlay (7);
}
Symbol 236 MovieClip Frame 3
if (_x > -40) {
prevFrame();
play();
}
Symbol 236 MovieClip Frame 7
removeMovieClip("");
stop();
Symbol 251 MovieClip Frame 1
gotoAndStop(1 + random(_totalframes));
Symbol 250 MovieClip Frame 1
_rotation = random(360);
setProperty("", _rotation, random(360));
_xscale = (70 + random(100));
setProperty("", _xscale, 70 + random(100));
_yscale = (70 + random(100));
setProperty("", _yscale, 70 + random(100));
_x = (-30 + random(60));
setProperty("", _x, -30 + random(60));
_y = (-30 + random(60));
setProperty("", _y, -30 + random(60));
Symbol 250 MovieClip Frame 16
removeMovieClip("../");
stop();
Symbol 247 MovieClip Frame 1
stop();
Symbol 247 MovieClip Frame 5
gotoAndStop (1);
Symbol 247 MovieClip Frame 6
i = 1;
while (i <= 3) {
duplicateMovieClip ("p", "p" & i, n);
i = i + 1;
n = n + 1;
}
Symbol 247 MovieClip Frame 7
f = f + 1;
if (f < 3) {
prevFrame();
play();
}
Symbol 247 MovieClip Frame 26
removeMovieClip("");
stop();
Symbol 246 MovieClip Frame 1
energy = 8;
Symbol 246 MovieClip Frame 2
checkhitnoshield(this.p.p);
hit = checkweaponhit(this);
if (hit) {
p.gotoandplay(2);
hit = 0;
energy = energy - 1;
if (energy <= 0) {
Set("/:score", /:score + (2 * /:point));
_root.zzstonewall.start();
updatestat();
p.gotoandplay("exp");
stop();
}
}
Symbol 246 MovieClip Frame 4
gotoAndPlay (2);
Symbol 258 MovieClip Frame 1
stop();
Symbol 258 MovieClip Frame 5
gotoAndStop (1);
Symbol 258 MovieClip Frame 6
i = 1;
while (i <= 3) {
duplicateMovieClip ("p", "p" & i, n);
i = i + 1;
n = n + 1;
}
Symbol 258 MovieClip Frame 7
f = f + 1;
if (f < 3) {
prevFrame();
play();
}
Symbol 258 MovieClip Frame 26
removeMovieClip("");
stop();
Symbol 257 MovieClip Frame 1
energy = 12;
Symbol 257 MovieClip Frame 2
checkhitnoshield(this.p.p);
hit = checkweaponhit(this);
if (hit) {
p.gotoandplay(2);
hit = 0;
energy = energy - 1;
if (energy <= 0) {
Set("/:score", /:score + (2 * /:point));
_root.zzstonewall.start();
updatestat();
p.gotoandplay("exp");
stop();
}
}
Symbol 257 MovieClip Frame 4
gotoAndPlay (2);
Symbol 245 MovieClip Frame 2
stop();
Symbol 244 MovieClip Frame 1
_x = 470;
setProperty("", _x, 470);
if (_name == "stonewall") {
gotoAndStop (4);
}
Symbol 244 MovieClip Frame 2
_x = (_x - /:speed);
setProperty("", _x, _x - /:speed);
Symbol 244 MovieClip Frame 3
if (_x > -40) {
prevFrame();
play();
}
Symbol 244 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 261 MovieClip Frame 1
_x = (470 + random(80));
setProperty("", _x, 470 + random(80));
_y = (/:ymin + random(220));
setProperty("", _y, /:ymin + random(220));
ysp = 1;
if (random(100) <= 50) {
yspeed = ysp;
} else {
yspeed = -ysp;
}
xspeed = (-random(20)) / 10;
if (_name == "jelly") {
gotoAndStop (4);
}
Symbol 261 MovieClip Frame 2
_x = ((_x - /:speed) + xspeed);
setProperty("", _x, (_x - /:speed) + xspeed);
y = _y + yspeed;
if (y < (/:ymin + 30)) {
yspeed = ysp;
y = _y;
}
if ((/:ymax - 50) < y) {
yspeed = -ysp;
y = _y;
}
_y = y;
setProperty("", _y, y);
checkhit(this);
hit = checkweaponhit(this);
if (hit) {
hit = 0;
explode(1);
gotoAndPlay (4);
}
Symbol 261 MovieClip Frame 3
if (_x > -16) {
prevFrame();
play();
}
Symbol 261 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 271 MovieClip Frame 1
if (!a) {
a = 1;
gotoAndPlay(1 + random(60));
}
Symbol 270 MovieClip Frame 1
_x = (460 + (random(10) * 10));
setProperty("", _x, 460 + (random(10) * 10));
speed = 2;
energy = 1;
if (_name == "winged") {
gotoAndStop (4);
}
Symbol 270 MovieClip Frame 2
_x = ((_x - /:speed) + speed);
setProperty("", _x, (_x - /:speed) + speed);
checkhit(this);
hit = checkweaponhit(this);
if (hit == 1) {
hit = 0;
energy = energy - 1;
if (energy <= 0) {
explode(1, _x, _y + getProperty("w.w", _y));
gotoAndPlay (4);
}
}
d = d + 1;
if ((/:bulletdelay < d) && (_x < 432)) {
d = random(10);
duplicateMovieClip ("/bullet4", "b" add /:b, /:b);
_root.zzcannon.start();
setProperty("/b" add /:b, _x , _x - 12);
setProperty("/b" add /:b, _x, _x - 12);
setProperty("/b" add /:b, _y , _y + getProperty("w.w", _y));
setProperty("/b" add /:b, _y, _y + getProperty("w.w", _y));
Set(("/b" add /:b) add "/:xs", -8);
Set("/:b", /:b + 1);
if (/:b > 450) {
Set("/:b", 400);
}
}
Symbol 270 MovieClip Frame 3
if (_x > -30) {
prevFrame();
play();
}
Symbol 270 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 280 MovieClip Frame 1
if (_x > 432) {
_x = 460;
setProperty("", _x, 460);
_y = (100 + random(100));
setProperty("", _y, 100 + random(100));
}
xspeed = random(20) / 10;
speed = 1 + (random(20) / 10);
ny = 100;
if (_y >= ny) {
yspeed = -speed;
} else {
yspeed = speed;
}
if (random(100) > 50) {
setProperty("a", _xscale , -100);
setProperty("a", _xscale, -100);
}
if (_name == "amoe") {
gotoAndStop (4);
}
Symbol 280 MovieClip Frame 2
_x = ((_x - /:speed) + xspeed);
setProperty("", _x, (_x - /:speed) + xspeed);
_y = (_y + yspeed);
setProperty("", _y, _y + yspeed);
if (yspeed >= 0) {
if (ny < _y) {
ny = /:ymin + random(250);
if (_y >= ny) {
yspeed = -speed;
} else {
yspeed = speed;
}
}
} else if (_y < ny) {
ny = /:ymin + random(250);
if (_y >= ny) {
yspeed = -speed;
} else {
yspeed = speed;
}
}
checkhit(this);
hit = checkweaponhit(this);
if (hit) {
hit = 0;
explode(0);
sc = 7;
0 * _xscale;
if (sc > 40) {
i = 1;
while (i < 3) {
duplicateMovieClip ("", "a" add /:b, /:b);
setProperty("/a" add /:b, _xscale , sc);
setProperty("/a" add /:b, _xscale, sc);
setProperty("/a" add /:b, _yscale , sc);
setProperty("/a" add /:b, _yscale, sc);
setProperty("/a" add /:b, _x , _x);
setProperty("/a" add /:b, _x, _x);
setProperty("/a" add /:b, _y , _y);
setProperty("/a" add /:b, _y, _y);
Set("/:b", /:b + 1);
if (/:b > 450) {
Set("/:b", 400);
}
i = i + 1;
}
}
gotoAndPlay (4);
}
Symbol 280 MovieClip Frame 3
if (_x > -40) {
prevFrame();
play();
}
Symbol 280 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 287 MovieClip Frame 46
removeMovieClip("");
stop();
Symbol 286 MovieClip Frame 1
i = 1;
Symbol 286 MovieClip Frame 2
duplicateMovieClip ("b", "b" add i, i);
setProperty("b" add i, _rotation , random(10));
setProperty("b" add i, _rotation, random(10));
setProperty("b" add i, _xscale , 50 + Number(random(50)));
setProperty("b" add i, _xscale, 50 + Number(random(50)));
if (Number(random(100)) > 50) {
setProperty("b" add i, _yscale , -100);
setProperty("b" add i, _yscale, -100);
}
setProperty("b" add i, _x , random(10));
setProperty("b" add i, _x, random(10));
setProperty("b" add i, _y , random(6));
setProperty("b" add i, _y, random(6));
i = Number(i) + 1;
gotoAndPlay(Number(_currentframe) + Number(random(3)));
Symbol 286 MovieClip Frame 5
gotoAndPlay (2);
Symbol 285 MovieClip Frame 1
_x = 500;
setProperty("", _x, 500);
_y = (100 + random(100));
setProperty("", _y, 100 + random(100));
xspeed = 1 + (random(10) / 10);
speed = 3;
energy = 10;
d = /:submissiledelay;
ny = 100;
if (_y >= ny) {
yspeed = -speed;
} else {
yspeed = speed;
}
if (_name == "sub") {
gotoAndStop (4);
}
Symbol 285 MovieClip Frame 2
_x = ((_x - /:speed) + xspeed);
setProperty("", _x, (_x - /:speed) + xspeed);
_y = (_y + yspeed);
setProperty("", _y, _y + yspeed);
if (yspeed >= 0) {
if (ny < _y) {
ny = /:ymin + random(200);
if (_y >= ny) {
yspeed = -speed;
} else {
yspeed = speed;
}
}
} else if (_y < ny) {
ny = /:ymin + random(200);
if (_y >= ny) {
yspeed = -speed;
} else {
yspeed = speed;
}
}
checkhit(this.s);
hit = checkweaponhit(this.s);
reducebright();
if (hit) {
setBrightness(100);
hit = 0;
energy = energy - 1;
if (energy <= 0) {
explode(5);
gotoAndPlay (4);
}
}
d = d + 1;
if (/:submissiledelay < d) {
d = random(10);
duplicateMovieClip ("/missile", "m" add /:m, /:m);
setProperty("/m" add /:m, _x , _x);
setProperty("/m" add /:m, _x, _x);
setProperty("/m" add /:m, _y , _y + 5);
setProperty("/m" add /:m, _y, _y + 5);
Set("/:m", /:m + 1);
if (/:m > 620) {
Set("/:m", 600);
}
}
Symbol 285 MovieClip Frame 3
if (_x > -120) {
prevFrame();
play();
}
Symbol 285 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 290 MovieClip Frame 1
if (_name != "missile") {
_root.zzmissile.start();
} else {
gotoAndStop (4);
}
Symbol 290 MovieClip Frame 2
_x = ((_x - /:speed) + /:missilespeed);
setProperty("", _x, (_x - /:speed) + /:missilespeed);
if (_x < -20) {
removeMovieClip("");
stop();
}
checkhit2(this.m);
Symbol 290 MovieClip Frame 3
prevFrame();
play();
Symbol 290 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 293 MovieClip Frame 1
if (_name == "laser") {
gotoAndStop (4);
}
Symbol 293 MovieClip Frame 2
_x = (_x + /:laserspeed);
setProperty("", _x, _x + /:laserspeed);
_y = (_y + yspeed);
setProperty("", _y, _y + yspeed);
Symbol 293 MovieClip Frame 3
if (_x >= 450) {
removing(_name, "/:ename");
} else {
prevFrame();
play();
}
Symbol 293 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 295 MovieClip Frame 40
gotoAndPlay (1);
Symbol 294 MovieClip Frame 1
if (_name == "bullet") {
gotoAndStop (4);
}
Symbol 294 MovieClip Frame 2
this._x = this._x + xs;
this._y = this._y + ys;
checkhit2(this.z);
Symbol 294 MovieClip Frame 3
if ((((_x > 0) && (_x < 432)) && (_y > 0)) && (_y < 330)) {
prevFrame();
play();
}
Symbol 294 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 299 MovieClip Frame 11
stop();
Symbol 301 MovieClip Frame 13
removeMovieClip("");
stop();
Symbol 298 MovieClip Frame 1
i = 1;
Symbol 298 MovieClip Frame 2
_root.zzexplosion.start();
Symbol 298 MovieClip Frame 3
if (../:tot) {
duplicateMovieClip ("c", "c" add i, i);
setProperty("c" add i, _x , Number(-20) + Number(random(40)));
setProperty("c" add i, _x, Number(-20) + Number(random(40)));
setProperty("c" add i, _y , Number(-5) + Number(random(10)));
setProperty("c" add i, _y, Number(-5) + Number(random(10)));
ska = 50 + random(../:tot * 20);
if (random(100) <= 50) {
setProperty("c" add i, _xscale , ska);
setProperty("c" add i, _xscale, ska);
} else {
setProperty("c" add i, _xscale , -ska);
setProperty("c" add i, _xscale, -ska);
}
setProperty("c" add i, _yscale , ska);
setProperty("c" add i, _yscale, ska);
i = i + 1;
}
Symbol 298 MovieClip Frame 6
if (i >= ../:tot) {
stop();
} else {
gotoAndPlay (3);
}
Symbol 298 MovieClip Frame 7
removeMovieClip("");
stop();
Symbol 297 MovieClip Frame 1
if ((_x < 10) || (_name == "explosion")) {
gotoAndStop (4);
}
Symbol 297 MovieClip Frame 2
_x = (_x - /:speed);
setProperty("", _x, _x - /:speed);
if (_x < -100) {
gotoAndPlay (4);
}
Symbol 297 MovieClip Frame 3
prevFrame();
play();
Symbol 297 MovieClip Frame 4
stop();
Symbol 303 MovieClip Frame 1
if (_name == "bullet3") {
gotoAndStop (4);
}
Symbol 303 MovieClip Frame 2
this._x = this._x + xs;
this._y = this._y + ys;
checkhit2(this.z);
Symbol 303 MovieClip Frame 3
if ((((_x > 0) && (_x < 500)) && (_y > 0)) && (_y < 330)) {
prevFrame();
play();
}
Symbol 303 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 307 MovieClip Frame 1
if (_name == "bullet4") {
gotoAndStop (4);
}
Symbol 307 MovieClip Frame 2
this._x = this._x + xs;
checkhit2(this.z);
Symbol 307 MovieClip Frame 3
if ((((_x > -20) && (_x < 432)) && (_y > 0)) && (_y < 330)) {
prevFrame();
play();
}
Symbol 307 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 311 MovieClip Frame 1
stop();
Symbol 311 MovieClip Frame 9
gotoAndStop (1);
Symbol 318 MovieClip Frame 1
stop();
Symbol 318 MovieClip Frame 7
stop();
Symbol 308 MovieClip Frame 1
_x = 500;
setProperty("", _x, 500);
energy = 5;
if (_name == "cannon") {
gotoAndStop (7);
}
Symbol 308 MovieClip Frame 2
_x = (_x - /:speed);
setProperty("", _x, _x - /:speed);
if (Number(_x) < Number(-70)) {
removeMovieClip("");
stop();
}
this.difx = getProperty("/g", _x) - (_x + getProperty("g", _x));
this.dify = getProperty("/g", _y) - (_y + getProperty("g", _y));
ang = Math.atan2(this.dify, this.difx);
ang = (ang * 180) / 3;
g.g._rotation = ang;
d = d + 1;
if (/:bulletdelay < d) {
d = 1;
duplicateMovieClip ("/bullet", "b" add /:b, /:b);
cx = /:jarak * math.cos(rad(ang));
cy = /:jarak * math.sin(rad(ang));
if (cx >= 0) {
speedx = /:bulletspeed * math.cos(rad(ang));
} else {
speedx = (/:bulletspeed + /:speed) * math.cos(rad(ang));
}
speedy = /:bulletspeed * math.sin(rad(ang));
setProperty("/b" add /:b, _x , (_x + getProperty("g", _x)) + cx);
setProperty("/b" add /:b, _x, (_x + getProperty("g", _x)) + cx);
setProperty("/b" add /:b, _y , (_y + getProperty("g", _y)) + cy);
setProperty("/b" add /:b, _y, (_y + getProperty("g", _y)) + cy);
Set(("/b" add /:b) add "/:xs", speedx);
Set(("/b" add /:b) add "/:ys", speedy);
Set("/:b", /:b + 1);
if (/:b > 450) {
Set("/:b", 400);
}
}
if (d == (/:bulletdelay - 6)) {
g.g.g.gotoAndPlay(2);
}
checkhit(this.g.w);
hit = checkweaponhit(this.g.w);
if (hit) {
g.wa.gotoandplay(2);
hit = 0;
energy = energy - 1;
if (energy <= 0) {
explode(3);
gotoAndPlay (4);
}
}
Symbol 308 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 308 MovieClip Frame 7
stop();
Symbol 324 MovieClip Frame 1
gotoAndStop(../../:type);
Symbol 321 MovieClip Frame 30
gotoAndPlay (1);
Symbol 320 MovieClip Frame 1
_x = 470;
setProperty("", _x, 470);
_y = (90 + random(100));
setProperty("", _y, 90 + random(100));
xspeed = -1;
type = /:bonustype;
if (_name == "bonus") {
gotoAndStop (7);
}
Symbol 320 MovieClip Frame 2
_x = ((_x - /:speed) + xspeed);
setProperty("", _x, (_x - /:speed) + xspeed);
if (_x < -40) {
gotoAndStop (7);
}
hit = checkbonusgot(this);
if (hit) {
if (type != 1) {
if (type != 2) {
if (type == 3) {
Set("/:xspeed", /:xbonusspeed);
Set("/:yspeed", /:ybonusspeed);
}
} else {
Set("/:inv", /:invbonusdelay);
_root.shield.gotoAndPlay(2);
}
} else {
Set("/:weapon", 2);
}
Set("/:score", /:score + (5 * /:point));
updatestat();
_root.zzbonus.start();
gotoAndPlay (7);
}
Symbol 320 MovieClip Frame 3
prevFrame();
play();
Symbol 320 MovieClip Frame 7
removeMovieClip("");
stop();
Symbol 325 MovieClip Frame 1
_x = 480;
setProperty("", _x, 480);
speed = 5;
energy = 7;
d = /:submissiledelay;
de = /:movingdelay;
nx = 100;
if (_x >= nx) {
xspeed = -speed;
} else {
xspeed = speed;
}
if ((substring(_name, 1, 3)) == "ver") {
gotoAndStop (4);
}
Symbol 325 MovieClip Frame 2
_x = ((_x - /:speed) + xspeed);
setProperty("", _x, (_x - /:speed) + xspeed);
if (xspeed >= 0) {
if (nx < _x) {
_x = nx;
setProperty("", _x, nx);
if (de >= 0) {
nx = /:xmin + random(100);
} else {
nx = -100;
}
xspeed = -2 * speed;
}
} else if (_x < nx) {
_x = nx;
setProperty("", _x, nx);
nx = /:xmax - random(100);
xspeed = speed;
}
if (speed) {
w1._rotation = w1._rotation - 30;
w2._rotation = w2._rotation - 30;
} else {
w1._rotation = w1._rotation + 30;
w2._rotation = w2._rotation + 30;
}
de = de - 1;
checkhit(this);
hit = checkweaponhit(this);
reducebright();
if (hit == 1) {
setBrightness(100);
hit = 0;
energy = energy - 1;
if (energy <= 0) {
explode(3);
gotoAndPlay (4);
}
}
d = d + 1;
if (/:bulletdelay < d) {
d = random(10);
duplicateMovieClip ("/bullet", "b" add /:b, /:b);
_root.zzdodge.start();
setProperty("/b" add /:b, _x , _x);
setProperty("/b" add /:b, _x, _x);
Set(("/b" add /:b) add "/:xs", 0);
if (_y >= 150) {
Set(("/b" add /:b) add "/:ys", -3);
setProperty("/b" add /:b, _y , _y - 24);
setProperty("/b" add /:b, _y, _y - 24);
} else {
Set(("/b" add /:b) add "/:ys", 3);
setProperty("/b" add /:b, _y , _y + 24);
setProperty("/b" add /:b, _y, _y + 24);
}
Set("/:b", /:b + 1);
if (/:b > 450) {
Set("/:b", 400);
}
}
Symbol 325 MovieClip Frame 3
if (_x > -50) {
prevFrame();
play();
}
Symbol 325 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 326 Button
on (keyPress "<Space>") {
if (((!/:hit) && (!/:finish)) && (/:canshot)) {
Set("/:canshot", 0);
zzlaser.start();
adx = 60;
ady = 3;
tellTarget ("/g/g/h") {
gotoAndPlay (2);
};
duplicateMovieClip ("laser", "l" add /:l, /:l);
adding("l" add /:l, "/:ename");
Set(("l" add /:l) add "/:yspeed", 0);
setProperty("l" add /:l, _x , getProperty("/g", _x) + adx);
setProperty("l" add /:l, _x, getProperty("/g", _x) + adx);
setProperty("l" add /:l, _y , getProperty("/g", _y) + ady);
setProperty("l" add /:l, _y, getProperty("/g", _y) + ady);
Set("/:l", /:l + 1);
if (/:lasermax < /:l) {
Set("/:l", /:lasermin);
}
if (weapon >= 2) {
duplicateMovieClip ("laser", "l" add /:l, /:l);
adding("l" add /:l, "/:ename");
Set(("l" add /:l) add "/:yspeed", -2);
setProperty("l" add /:l, _rotation , -2);
setProperty("l" add /:l, _rotation, -2);
setProperty("l" add /:l, _x , getProperty("/g", _x) + adx);
setProperty("l" add /:l, _x, getProperty("/g", _x) + adx);
setProperty("l" add /:l, _y , (getProperty("/g", _y) - 1) + ady);
setProperty("l" add /:l, _y, (getProperty("/g", _y) - 1) + ady);
Set("/:l", /:l + 1);
if (/:lasermax < /:l) {
Set("/:l", /:lasermin);
}
duplicateMovieClip ("laser", "l" add /:l, /:l);
adding("l" add /:l, "/:ename");
Set(("l" add /:l) add "/:yspeed", 2);
setProperty("l" add /:l, _rotation , 2);
setProperty("l" add /:l, _rotation, 2);
setProperty("l" add /:l, _x , getProperty("/g", _x) + adx);
setProperty("l" add /:l, _x, getProperty("/g", _x) + adx);
setProperty("l" add /:l, _y , (getProperty("/g", _y) + 1) + ady);
setProperty("l" add /:l, _y, (getProperty("/g", _y) + 1) + ady);
Set("/:l", /:l + 1);
if (/:lasermax < /:l) {
Set("/:l", /:lasermin);
}
}
if (weapon >= 3) {
duplicateMovieClip ("laser", "l" add /:l, /:l);
adding("l" add /:l, "/:ename");
Set(("l" add /:l) add "/:yspeed", -4);
setProperty("l" add /:l, _rotation , -5);
setProperty("l" add /:l, _rotation, -5);
setProperty("l" add /:l, _x , getProperty("/g", _x) + adx);
setProperty("l" add /:l, _x, getProperty("/g", _x) + adx);
setProperty("l" add /:l, _y , (getProperty("/g", _y) - 2) + ady);
setProperty("l" add /:l, _y, (getProperty("/g", _y) - 2) + ady);
Set("/:l", /:l + 1);
if (/:l > 340) {
Set("/:l", 300);
}
duplicateMovieClip ("laser", "l" add /:l, /:l);
adding("l" add /:l, "/:ename");
Set(("l" add /:l) add "/:yspeed", 4);
setProperty("l" add /:l, _rotation , 5);
setProperty("l" add /:l, _rotation, 5);
setProperty("l" add /:l, _x , getProperty("/g", _x) + adx);
setProperty("l" add /:l, _x, getProperty("/g", _x) + adx);
setProperty("l" add /:l, _y , (getProperty("/g", _y) + 2) + ady);
setProperty("l" add /:l, _y, (getProperty("/g", _y) + 2) + ady);
Set("/:l", /:l + 1);
if (/:lasermax < /:l) {
Set("/:l", /:lasermin);
}
}
}
}
Symbol 327 MovieClip Frame 1
if (/:control == "m") {
startDrag ("", true);
}
Symbol 327 MovieClip Frame 2
if (/:control == "m") {
Set("/:my", 0);
if ((getProperty("/g", _y) + 10) >= _y) {
if (_y < (getProperty("/g", _y) - 10)) {
Set("/:my", -1);
}
} else {
Set("/:my", 1);
}
Set("/:mx", 0);
if ((getProperty("/g", _x) + 10) >= _x) {
if (_x < (getProperty("/g", _x) - 20)) {
Set("/:mx", -1);
}
} else {
Set("/:mx", 1);
}
}
if (/:my != 1) {
if (/:my == -1) {
ny = getProperty("/g", _y) - /:yspeed;
if (ny < /:ymin) {
ny = /:ymin;
Set("/:my", 0);
}
}
} else {
ny = getProperty("/g", _y) + /:yspeed;
if (/:ymax < ny) {
ny = /:ymax;
Set("/:my", 0);
}
}
if (/:mx != 1) {
if (/:mx == -1) {
nx = getProperty("/g", _x) - 1;
500000 * /:xspeed;
if (nx < /:xmin) {
nx = /:xmin;
Set("/:mx", 0);
}
}
} else {
nx = getProperty("/g", _x) + /:xspeed;
if (/:xmax < nx) {
nx = /:xmax;
Set("/:mx", 0);
}
}
call("tel");
call("pos");
vd = vd + 1;
if ((!/:countingdown) && (vd > 70)) {
if ((!/:voice) && (random(100) > 60)) {
_root.voswim.gotoAndPlay(2);
}
vd = 0;
}
bt2 = bt2 - 1;
if (bt2 < 0) {
if (!showbubble) {
showbubble = 1;
bt2 = 40 + random(10);
} else {
showbubble = 0;
bt2 = 30 + random(10);
}
}
bt = bt - 1;
if (showbubble && (bt < 0)) {
bt = random(4);
duplicateMovieClip ("/diverbubble", "db" + /:db, /:db);
_root["db" + /:db]._x = (getProperty("/g", _x) + 10) + random(10);
_root["db" + /:db]._y = getProperty("/g", _y) - 5;
_root["db" + /:db]._rotation = -10 + random(20);
Set("/:db", /:db + 1);
if (/:db > 4550) {
Set("/:db", 4500);
}
}
Symbol 327 MovieClip Frame 3
if (!(/:hit && (!/:inv))) {
if (!/:finished) {
prevFrame();
play();
} else {
gotoAndPlay (1);
}
} else {
gotoAndPlay (6);
}
Symbol 327 MovieClip Frame 6
d = 30;
tellTarget ("/g") {
gotoAndPlay ("hit");
};
_root.zvoshoot.stop();
_root.zvoswim.stop();
_root.vohit.gotoAndPlay(2);
Symbol 327 MovieClip Frame 7
d = d - 1;
Symbol 327 MovieClip Frame 8
if (d <= 0) {
Set("/:hit", 0);
Set("/:inv", /:invhitdelay);
_root.blink.gotoandplay(2);
_root.shield.gotoAndstop("s");
nx = 80;
ny = 150;
tellTarget ("/g") {
gotoAndStop (1);
};
setProperty("/g", _x , nx);
setProperty("/g", _x, nx);
setProperty("/g", _y , ny);
setProperty("/g", _y, ny);
Set("/:energy", /:energy - 1);
updatestat();
if (/:energy) {
gotoAndPlay (2);
} else {
_root.gotoandplay("end");
}
} else {
prevFrame();
play();
}
Symbol 327 MovieClip Frame 14
Set("/:px1", getProperty("/g", _x) + 15);
Set("/:py1", getProperty("/g", _y) - 8);
Set("/:px2", getProperty("/g", _x) + 15);
Set("/:py2", getProperty("/g", _y) + 7);
Set("/:px3", getProperty("/g", _x) - 20);
Set("/:py3", getProperty("/g", _y));
Symbol 327 MovieClip Frame 18
test = checkterrain(nx, ny);
if (test && (!/:blinking)) {
nx = getProperty("/g", _x) - /:speed;
ny = getProperty("/g", _y);
}
setProperty("/g", _x , nx);
setProperty("/g", _x, nx);
setProperty("/g", _y , ny);
setProperty("/g", _y, ny);
if (getProperty("/g", _x) < -20) {
Set("/:hit", 1);
gotoAndPlay (6);
}
Symbol 327 MovieClip Frame 22
stop();
Symbol 328 MovieClip Frame 1
stop();
Symbol 328 MovieClip Frame 2
Set("/:blinking", 1);
blink = /:blinkdelay;
setProperty("/g", _visible , 0);
setProperty("/g", _visible, 0);
Symbol 328 MovieClip Frame 3
blink = blink - 1;
if (!getProperty("/g", _visible)) {
setProperty("/g", _visible , 1);
setProperty("/g", _visible, 1);
} else {
setProperty("/g", _visible , 0);
setProperty("/g", _visible, 0);
}
Symbol 328 MovieClip Frame 4
if (blink <= 0) {
setProperty("/g", _visible , 1);
setProperty("/g", _visible, 1);
Set("/:blinking", 0);
stop();
} else {
prevFrame();
play();
}
Symbol 330 MovieClip Frame 46
removeMovieClip("");
stop();
Symbol 331 MovieClip Frame 1
stop();
Symbol 331 MovieClip Frame 4
stop();
Symbol 333 MovieClip Frame 1
no = /:no;
bno = /:bno;
Symbol 333 MovieClip Frame 2
d = /:spacingdelay;
Symbol 333 MovieClip Frame 3
d = d - 1;
Symbol 333 MovieClip Frame 4
if (d > 0) {
prevFrame();
play();
}
Symbol 333 MovieClip Frame 6
no = no + 1;
Set("/:no", no);
if (length(/:track) < /:no) {
stop();
} else {
item = "";
quan = 1;
terraindown = 0;
it = substring(/:track, no, 1);
if (it != "c") {
if (it != "j") {
if (it != "e") {
if (it != "a") {
if (it != "s") {
if (it != "l") {
if (it != "S") {
if (it != "m") {
if (it != "x") {
if (it != "X") {
if (it != "k") {
if (it != "v") {
if (it != "V") {
if (it != "t") {
if (it != "T") {
if (it != "w") {
if (it != "W") {
if (it != "g") {
if (it != "F") {
if (it != "b") {
if (!(((((it == "0") || (it == "1")) || (it == "2")) || (it == "3")) || (it == "4"))) {
if ((((((it == "5") || (it == "6")) || (it == "7")) || (it == "8")) || (it == "9")) || (it == "0")) {
item = "terrain";
terraindown = 1;
ttype = Number(it) - 4;
}
} else {
item = "terrain";
ttype = 1 + Number(it);
}
} else {
item = "bonus";
bno = bno + 1;
Set("/:bno", bno);
Set("/:bonustype", substring(/:bo, bno, 1));
}
} else {
item = "";
_root.failed2.gotoAndPlay(2);
}
} else {
item = "geyser";
}
} else {
item = "wall2";
}
} else {
item = "wall1";
}
} else {
item = "tentacles2";
}
} else {
item = "tentacles";
}
} else {
item = "ver2";
}
} else {
item = "ver";
}
} else {
item = "sub";
}
} else {
item = "claw2";
}
} else {
item = "claw";
}
} else {
item = "mine";
}
} else {
item = "spike2";
}
} else {
item = "stonewall";
}
} else {
item = "spike1";
}
} else {
item = "amoe";
quan = (1 + /:difficul) + random(2);
}
} else {
item = "winged";
quan = 2 + /:difficul;
}
} else {
item = "jelly";
quan = (1 + /:difficul) + random(2);
}
} else {
item = "cannon";
}
if (item != "") {
while (quan > 0) {
if (item != "terrain") {
duplicateMovieClip ("/" add item, "s" add /:s, /:s);
Set("/:s", /:s + 1);
if (/:s > 180) {
Set("/:s", 100);
}
} else {
duplicateMovieClip ("/" add item, "t" add /:t, /:t);
Set(("/t" add /:t) add "/:type", ttype);
if (terraindown) {
setProperty("/t" add /:t, _y , 330);
setProperty("/t" add /:t, _y, 330);
setProperty("/t" add /:t, _yscale , -100);
setProperty("/t" add /:t, _yscale, -100);
}
Set("/:t", /:t + 1);
if (/:t > 90) {
Set("/:t", 80);
}
}
quan = quan - 1;
}
}
gotoAndPlay (2);
}
Symbol 334 MovieClip Frame 1
no = -1;
stop();
Symbol 334 MovieClip Frame 2
Set("/:voice", 1);
no = no + 1;
if (no > 4) {
no = 0;
}
gotoAndPlay("v" + no);
Symbol 334 MovieClip Frame 145
Set("/:voice", 0);
stop();
Symbol 334 MovieClip Frame 210
Set("/:voice", 0);
stop();
Symbol 334 MovieClip Frame 307
Set("/:voice", 0);
stop();
Symbol 334 MovieClip Frame 381
Set("/:voice", 0);
stop();
Symbol 334 MovieClip Frame 429
Set("/:voice", 0);
stop();
Symbol 340 MovieClip Frame 1
stop();
Symbol 340 MovieClip Frame 2
Set("/:voice", 1);
if (!ran.length) {
all = [0, 1, 2];
ran = all.copy();
ran.randomize();
}
popped = ran.pop();
gotoAndPlay("v" + popped);
Symbol 340 MovieClip Frame 117
Set("/:voice", 0);
stop();
Symbol 340 MovieClip Frame 190
Set("/:voice", 0);
stop();
Symbol 340 MovieClip Frame 253
Set("/:voice", 0);
stop();
Symbol 344 MovieClip Frame 1
stop();
Symbol 344 MovieClip Frame 2
Set("/:voice", 1);
if (!ran.length) {
all = [0, 1, 2, 3, 4, 5, 6, 7];
ran = all.copy();
ran.randomize();
}
popped = ran.pop();
gotoAndPlay("v" + popped);
Symbol 344 MovieClip Frame 88
Set("/:voice", 0);
stop();
Symbol 344 MovieClip Frame 127
Set("/:voice", 0);
stop();
Symbol 344 MovieClip Frame 188
Set("/:voice", 0);
stop();
Symbol 344 MovieClip Frame 249
Set("/:voice", 0);
stop();
Symbol 344 MovieClip Frame 292
Set("/:voice", 0);
stop();
Symbol 344 MovieClip Frame 348
Set("/:voice", 0);
stop();
Symbol 344 MovieClip Frame 391
Set("/:voice", 0);
stop();
Symbol 344 MovieClip Frame 434
Set("/:voice", 0);
stop();
Symbol 353 MovieClip Frame 1
stop();
Symbol 353 MovieClip Frame 2
Set("/:voice", 1);
if (!ran.length) {
all = [0, 1, 2, 3, 4, 5, 6];
ran = all.copy();
ran.randomize();
}
popped = ran.pop();
gotoAndPlay("v" + popped);
Symbol 353 MovieClip Frame 55
Set("/:voice", 0);
stop();
Symbol 353 MovieClip Frame 134
Set("/:voice", 0);
stop();
Symbol 353 MovieClip Frame 229
Set("/:voice", 0);
stop();
Symbol 353 MovieClip Frame 292
Set("/:voice", 0);
stop();
Symbol 353 MovieClip Frame 323
Set("/:voice", 0);
stop();
Symbol 353 MovieClip Frame 363
Set("/:voice", 0);
stop();
Symbol 353 MovieClip Frame 447
Set("/:voice", 0);
stop();
Symbol 364 MovieClip Frame 1
gotoAndStop(1 + random(_totalframes));
Symbol 363 MovieClip Frame 1
ys = 1 + random(2);
rs = -10 + random(20);
Symbol 363 MovieClip Frame 2
_y = (_y + ys);
setProperty("", _y, _y + ys);
_rotation = (_rotation + rs);
setProperty("", _rotation, _rotation + rs);
Symbol 363 MovieClip Frame 3
if (_y < 0) {
prevFrame();
play();
}
Symbol 363 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 362 MovieClip Frame 1
var i = 1;
while (i < 100) {
bb = bb + 1;
duplicateMovieClip ("b", "b" + bb, bb);
eval ("b" + bb)._x = random(420);
eval ("b" + bb)._y = -random(400);
xs = 10 + random(150);
if (random(100) > 50) {
xs = -xs;
}
eval ("b" + bb)._xscale = xs;
eval ("b" + bb)._yscale = 10 + random(150);
i++;
}
Symbol 371 MovieClip Frame 1
gotoAndPlay(1 + random(20));
Symbol 371 MovieClip Frame 277
removeMovieClip("");
stop();
Symbol 370 MovieClip Frame 1
var i = 1;
while (i < 100) {
bb = bb + 1;
duplicateMovieClip ("b", "b" + bb, bb);
eval ("b" + bb)._x = random(80);
eval ("b" + bb)._y = (-random(250)) + random(20);
eval ("b" + bb)._alpha = 50 + random(50);
xs = 100 + random(100);
if (random(100) > 50) {
xs = -xs;
}
eval ("b" + bb)._xscale = xs;
eval ("b" + bb)._yscale = 100 + random(150);
i++;
}
Symbol 361 MovieClip Frame 2
stop();
Symbol 376 Button
on (release) {
sendscore = new LoadVars();
sendscore.gname = "sealab2021Th";
sendscore.gscore = score;
sendscore.send("index.php?act=Arcade&do=newscore", "_self", "POST");
_root._visible = false;
_root.enabled = false;
}
Symbol 382 MovieClip Frame 1
gotoAndStop(../:rating);
Symbol 393 MovieClip Frame 1
if (/:level < 2) {
stop();
}
Symbol 393 MovieClip Frame 14
stop();
Symbol 373 MovieClip Frame 1
score = /:score;
ratingscore = [500, 750, 1500, 3000, 5500, 8000, 12000, 15000, 20000];
rating = 1;
var i = 0;
while (i < ratingscore.length) {
if (ratingscore[i] < /:score) {
rating = i + 2;
}
i++;
}
Symbol 395 MovieClip Frame 43
stop();