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 (360 < qdeg) {
qdeg = qdeg - 360;
}
temp = qdeg * (Math.PI/180);
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 * 57.2957795130823;
return(temp);
};
Color.prototype.setBrightness = function (bright) {
var percent = (100 - Math.abs(bright));
var offset = 0;
if (0 < bright) {
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) {
if (0.5 < Math.random()) {
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] eq target) {
n = i;
found = 1;
}
i = i + 1;
}
eval (arr).splice(n, 1);
};
Movieclip.prototype.checkhit = function (target) {
if (!/:inv) {
var i = 1;
while (3 >= i) {
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 (3 >= i) {
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) {
tellTarget ("/stat/i" add /stat/:energy) {
gotoAndStop (2);
};
Set("/stat/:energy", /:energy);
} else if (/stat/:energy < /:energy) {
Set("/stat/:energy", /:energy);
tellTarget ("/stat/i" add /:energy) {
gotoAndPlay ("new");
};
}
};
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 , this._x);
setProperty("/e" add /:e, _y , this._y);
} else {
setProperty("/e" add /:e, _x , x);
setProperty("/e" add /:e, _y , y);
}
Set("/:e", /:e + 1);
if (520 < /:e) {
Set("/:e", 500);
}
if (((!/:countingdown) and (!/:voice)) and (50 < random(100))) {
_root.voshoot.gotoAndPlay(2);
}
};
Movieclip.prototype.endclear = function () {
stopAllSounds();
var i = 0;
while (99 >= i) {
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 (5 >= icon) {
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)) {
Set("/:mx", -1);
} else if (key.isdown(key.right)) {
Set("/:mx", 1);
}
if (key.isdown(key.up)) {
Set("/:my", -1);
} else if (key.isdown(key.down)) {
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 48 Button
on (release) {
gotoAndPlay (7);
}
Symbol 49 MovieClip Frame 16
stop();
Symbol 56 Button
on (release) {
gotoAndStop (17);
}
Symbol 60 Button
on (release) {
_root.gotoAndPlay("lev1start");
}
Symbol 85 MovieClip Frame 1
wid = getProperty("pic", _width);
duplicateMovieClip ("pic", "pic2", 2);
setProperty("pic2", _x , getProperty("pic", _x) + wid);
xl = _x;
pos = _x;
Symbol 85 MovieClip Frame 2
pos = (pos - /:speed) - 3;
if (pos < (xl - wid)) {
pos = pos + wid;
}
if (Number(xl) < Number(pos)) {
pos = pos - wid;
}
_x = pos;
Symbol 85 MovieClip Frame 3
prevFrame();
play();
Symbol 88 MovieClip Frame 1
stop();
Symbol 88 MovieClip Frame 6
_root.zbonus.gotoAndPlay(2);
Symbol 88 MovieClip Frame 30
gotoAndStop (1);
Symbol 89 MovieClip Frame 1
stop();
Symbol 89 MovieClip Frame 6
_root.zbonus.gotoAndPlay(2);
Symbol 89 MovieClip Frame 30
gotoAndStop (1);
Symbol 101 MovieClip Frame 1
stop();
Symbol 101 MovieClip Frame 7
gotoAndStop (1);
Symbol 102 MovieClip Frame 2
c = c - 1;
if (0 >= c) {
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 (10 >= /:totalsec) {
Set("/:countingdown", 1);
_root.zzalarm.start();
d.gotoAndPlay(2);
}
}
}
Symbol 102 MovieClip Frame 3
prevFrame();
play();
Symbol 104 MovieClip Frame 1
gotoAndStop(/:level);
Symbol 107 MovieClip Frame 1
stop();
Symbol 107 MovieClip Frame 3
d = d + 1;
if (d < 75) {
prevFrame();
play();
}
Symbol 107 MovieClip Frame 13
_root.levelinfo.gotoAndPlay(2);
stop();
Symbol 115 MovieClip Frame 1
stop();
Symbol 119 MovieClip Frame 25
gotoAndPlay (1);
Symbol 123 MovieClip Frame 19
stop();
Symbol 124 MovieClip Frame 1
stop();
Symbol 124 MovieClip Frame 11
g._visible = 1;
Symbol 124 MovieClip Frame 21
g._visible = 0;
Symbol 124 MovieClip Frame 22
g._visible = 1;
Symbol 124 MovieClip Frame 23
g._visible = 0;
Symbol 124 MovieClip Frame 24
g._visible = 1;
Symbol 124 MovieClip Frame 25
g._visible = 0;
Symbol 124 MovieClip Frame 26
g._visible = 1;
Symbol 124 MovieClip Frame 27
g._visible = 0;
Symbol 124 MovieClip Frame 28
g._visible = 1;
Symbol 124 MovieClip Frame 29
g._visible = 0;
Symbol 124 MovieClip Frame 30
g._visible = 1;
Symbol 124 MovieClip Frame 31
g._visible = 0;
Symbol 124 MovieClip Frame 32
g._visible = 1;
Symbol 124 MovieClip Frame 33
g._visible = 0;
Symbol 124 MovieClip Frame 34
g._visible = 1;
Symbol 124 MovieClip Frame 35
g._visible = 0;
Symbol 124 MovieClip Frame 36
g._visible = 1;
Symbol 124 MovieClip Frame 37
if (_name eq "g") {
stop();
} else {
gotoAndPlay (1);
}
Symbol 136 MovieClip Frame 1
if (_name eq "q") {
gotoAndStop (4);
} else {
xs = 0.5 + (random(10) / 10);
}
Symbol 136 MovieClip Frame 2
_x = (_x + xs);
Symbol 136 MovieClip Frame 3
prevFrame();
play();
Symbol 136 MovieClip Frame 4
stop();
Symbol 137 MovieClip Frame 1
max = /:level;
if (25 < max) {
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 147 MovieClip Frame 2
sc = 100 + random(6);
_root._xscale = sc;
_root._yscale = sc;
_root._x = -4 + random(8);
_root._y = -4 + random(8);
Symbol 147 MovieClip Frame 3
prevFrame();
play();
Symbol 150 MovieClip Frame 18
gotoAndPlay (1);
Symbol 154 MovieClip Frame 101
stop();
Symbol 158 MovieClip Frame 1
now = int(getTimer() / 1000);
_parent.stop();
Symbol 158 MovieClip Frame 3
if ((int(getTimer() / 1000) - now) < _name) {
prevFrame();
play();
} else {
_parent.play();
}
Symbol 159 MovieClip Frame 1
_x = 880;
stop();
Symbol 159 MovieClip Frame 3
_x = (_x - /:speed);
if (_x < 216) {
_x = 216;
Set("/:speed", 0);
gotoAndPlay (5);
}
Symbol 159 MovieClip Frame 4
prevFrame();
play();
Symbol 159 MovieClip Frame 5
i = 0;
while (50 >= i) {
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 159 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 159 MovieClip Frame 187
_root.gotoAndPlay("nextl");
stop();
Symbol 164 MovieClip Frame 1
lev = /:level;
if (lev < 10) {
lev = "0" + lev;
}
Symbol 166 MovieClip Frame 1
stop();
Symbol 166 MovieClip Frame 15
Set("/:voice", 1);
if (1 < /:level) {
_root.vostart.gotoAndPlay(2);
} else {
_root.voswim.gotoAndPlay(2);
}
Symbol 166 MovieClip Frame 61
stop();
Symbol 169 MovieClip Frame 1
gotoAndStop (4);
Symbol 169 MovieClip Frame 2
if (/:inv) {
_x = getProperty("/g", _x);
_y = getProperty("/g", _y);
if (/:inv < 50) {
if (_visible) {
this._visible = 0;
} else {
this._visible = 1;
}
}
} else {
gotoAndStop (4);
}
Symbol 169 MovieClip Frame 3
prevFrame();
play();
Symbol 169 MovieClip Frame 4
_x = 500;
this._visible = 1;
stop();
Symbol 173 MovieClip Frame 1
wid = getProperty("pic", _width);
duplicateMovieClip ("pic", "pic2", 2);
setProperty("pic2", _x , Number(getProperty("pic", _x)) + Number(wid));
xl = _x;
pos = _x;
Symbol 173 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;
Symbol 173 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 181 MovieClip Frame 1
_x = 500;
if ((substring(_name, 1, 4)) eq "wall") {
gotoAndStop (4);
}
Symbol 181 MovieClip Frame 2
_x = (_x - /:speed);
checkhitnoshield(this.w.w);
Symbol 181 MovieClip Frame 3
if (-70 < _x) {
prevFrame();
play();
}
Symbol 181 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 182 MovieClip Frame 1
_x = 500;
if ((substring(_name, 1, 4)) eq "wall") {
gotoAndStop (4);
}
Symbol 182 MovieClip Frame 2
_x = (_x - /:speed);
checkhitnoshield(this.w.w);
Symbol 182 MovieClip Frame 3
if (-70 < _x) {
prevFrame();
play();
}
Symbol 182 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 188 MovieClip Frame 1
if (!a) {
gotoAndPlay(1 + random(_totalframes));
a = 1;
}
Symbol 189 MovieClip Frame 1
if (!a) {
gotoAndPlay(1 + random(_totalframes));
a = 1;
}
Symbol 192 MovieClip Frame 1
_x = 550;
energy = 15;
if ((substring(_name, 1, 9)) eq "tentacles") {
gotoAndStop (4);
}
Symbol 192 MovieClip Frame 2
_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);
}
}
}
Symbol 192 MovieClip Frame 3
if (-100 < _x) {
prevFrame();
play();
}
Symbol 192 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 196 MovieClip Frame 1
_x = 580;
if ((substring(_name, 1, 4)) eq "claw") {
gotoAndStop (4);
}
Symbol 196 MovieClip Frame 2
_x = (_x - /:speed);
checkhit(this);
c._rotation = c._rotation - 2;
Symbol 196 MovieClip Frame 3
if (-150 < _x) {
prevFrame();
play();
}
Symbol 196 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 217 MovieClip Frame 1
gotoAndStop(../:type);
Symbol 218 MovieClip Frame 1
if (_name eq "terrain") {
_x = 800;
gotoAndStop (5);
}
Symbol 218 MovieClip Frame 2
_x = 432;
adding(_name, "/:terra");
Symbol 218 MovieClip Frame 3
_x = (_x - /:speed);
checkterrain(this.t.m);
Symbol 218 MovieClip Frame 4
if ((-_width) < _x) {
prevFrame();
play();
} else {
removing(_name, "/:terra");
}
Symbol 218 MovieClip Frame 5
removeMovieClip("");
stop();
Symbol 227 MovieClip Frame 36
Set("../:cek", 1);
Symbol 227 MovieClip Frame 97
Set("../:cek", 0);
Symbol 228 MovieClip Frame 1
_x = 500;
wid = 26;
hei = 185;
if (_name eq "geyser") {
gotoAndStop (4);
}
Symbol 228 MovieClip Frame 2
_x = (_x - /:speed);
if (cek) {
if (!/:inv) {
i = 1;
while (3 >= i) {
px = eval ("/:px" add i);
py = eval ("/:py" add i);
if (((((_x - wid) < px) and (px < (_x + wid))) and ((_y - hei) < py)) and (py < _y)) {
Set("/:hit", 1);
}
i = i + 1;
}
}
}
Symbol 228 MovieClip Frame 3
if (-70 < _x) {
prevFrame();
play();
}
Symbol 228 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 235 MovieClip Frame 1
gotoAndStop(1 + Number(random(_totalframes)));
Symbol 236 MovieClip Frame 1
_x = 500;
if ((substring(_name, 1, 5)) eq "spike") {
gotoAndStop (4);
}
Symbol 236 MovieClip Frame 2
_x = (_x - /:speed);
checkhitnoshield(this);
Symbol 236 MovieClip Frame 3
if (-70 < _x) {
prevFrame();
play();
}
Symbol 236 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 238 MovieClip Frame 25
gotoAndPlay (1);
Symbol 244 MovieClip Frame 1
_x = 470;
energy = 1;
if (_name eq "mine") {
gotoAndStop (7);
}
Symbol 244 MovieClip Frame 2
_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 + (0.1 * random(50));
if (random(100) < 75) {
ang = 120 + random(120);
} else {
ang = random(360);
}
if ((90 < ang) and (ang < 270)) {
speedx = speed * math.cos(rad(ang));
} else {
speedx = (speed + /: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, _y , _y);
Set("/:b", /:b + 1);
if (450 < /:b) {
Set("/:b", 400);
}
i = i + 1;
}
gotoAndPlay (7);
}
Symbol 244 MovieClip Frame 3
if (-40 < _x) {
prevFrame();
play();
}
Symbol 244 MovieClip Frame 7
removeMovieClip("");
stop();
Symbol 252 MovieClip Frame 1
gotoAndStop(1 + random(_totalframes));
Symbol 253 MovieClip Frame 1
_rotation = random(360);
_xscale = (70 + random(100));
_yscale = (70 + random(100));
_x = (-30 + random(60));
_y = (-30 + random(60));
Symbol 253 MovieClip Frame 16
removeMovieClip("../");
stop();
Symbol 254 MovieClip Frame 1
stop();
Symbol 254 MovieClip Frame 5
gotoAndStop (1);
Symbol 254 MovieClip Frame 6
i = 1;
while (3 >= i) {
duplicateMovieClip ("p", "p" & i, n);
i = i + 1;
n = n + 1;
}
Symbol 254 MovieClip Frame 7
f = f + 1;
if (f < 3) {
prevFrame();
play();
}
Symbol 254 MovieClip Frame 26
removeMovieClip("");
stop();
Symbol 255 MovieClip Frame 1
energy = 8;
Symbol 255 MovieClip Frame 2
checkhitnoshield(this.p.p);
hit = checkweaponhit(this);
if (hit) {
p.gotoandplay(2);
hit = 0;
energy = energy - 1;
if (0 >= energy) {
Set("/:score", /:score + (2 * /:point));
_root.zzstonewall.start();
updatestat();
p.gotoandplay("exp");
stop();
}
}
Symbol 255 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 (3 >= i) {
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 259 MovieClip Frame 1
energy = 12;
Symbol 259 MovieClip Frame 2
checkhitnoshield(this.p.p);
hit = checkweaponhit(this);
if (hit) {
p.gotoandplay(2);
hit = 0;
energy = energy - 1;
if (0 >= energy) {
Set("/:score", /:score + (2 * /:point));
_root.zzstonewall.start();
updatestat();
p.gotoandplay("exp");
stop();
}
}
Symbol 259 MovieClip Frame 4
gotoAndPlay (2);
Symbol 260 MovieClip Frame 2
stop();
Symbol 261 MovieClip Frame 1
_x = 470;
if (_name eq "stonewall") {
gotoAndStop (4);
}
Symbol 261 MovieClip Frame 2
_x = (_x - /:speed);
Symbol 261 MovieClip Frame 3
if (-40 < _x) {
prevFrame();
play();
}
Symbol 261 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 270 MovieClip Frame 1
_x = (470 + random(80));
_y = (/:ymin + random(220));
ysp = 1.5;
if (50 < random(100)) {
yspeed = -ysp;
} else {
yspeed = ysp;
}
xspeed = -(random(20) / 10);
if (_name eq "jelly") {
gotoAndStop (4);
}
Symbol 270 MovieClip Frame 2
_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;
checkhit(this);
hit = checkweaponhit(this);
if (hit) {
hit = 0;
explode(1);
gotoAndPlay (4);
}
Symbol 270 MovieClip Frame 3
if (-16 < _x) {
prevFrame();
play();
}
Symbol 270 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 279 MovieClip Frame 1
if (!a) {
a = 1;
gotoAndPlay(1 + random(60));
}
Symbol 280 MovieClip Frame 1
_x = (460 + (random(10) * 10));
speed = 2;
energy = 1;
if (_name eq "winged") {
gotoAndStop (4);
}
Symbol 280 MovieClip Frame 2
_x = ((_x - /:speed) + speed);
checkhit(this);
hit = checkweaponhit(this);
if (hit == 1) {
hit = 0;
energy = energy - 1;
if (0 >= energy) {
explode(1, _x, _y + getProperty("w.w", _y));
gotoAndPlay (4);
}
}
d = d + 1;
if ((/:bulletdelay < d) and (_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, _y , _y + getProperty("w.w", _y));
Set(("/b" add /:b) add "/:xs", -8);
Set("/:b", /:b + 1);
if (450 < /:b) {
Set("/:b", 400);
}
}
Symbol 280 MovieClip Frame 3
if (-30 < _x) {
prevFrame();
play();
}
Symbol 280 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 285 MovieClip Frame 1
if (432 < _x) {
_x = 460;
_y = (100 + random(100));
}
xspeed = random(20) / 10;
speed = 1 + (random(20) / 10);
ny = 100;
if (_y < ny) {
yspeed = speed;
} else {
yspeed = -speed;
}
if (50 < random(100)) {
setProperty("a", _xscale , -100);
}
if (_name eq "amoe") {
gotoAndStop (4);
}
Symbol 285 MovieClip Frame 2
_x = ((_x - /:speed) + xspeed);
_y = (_y + yspeed);
if (yspeed < 0) {
if (_y < ny) {
ny = /:ymin + random(250);
if (_y < ny) {
yspeed = speed;
} else {
yspeed = -speed;
}
}
} else if (ny < _y) {
ny = /:ymin + random(250);
if (_y < ny) {
yspeed = speed;
} else {
yspeed = -speed;
}
}
checkhit(this);
hit = checkweaponhit(this);
if (hit) {
hit = 0;
explode(0);
sc = 0.7 * _xscale;
if (40 < sc) {
i = 1;
while (i < 3) {
duplicateMovieClip ("", "a" add /:b, /:b);
setProperty("/a" add /:b, _xscale , sc);
setProperty("/a" add /:b, _yscale , sc);
setProperty("/a" add /:b, _x , _x);
setProperty("/a" add /:b, _y , _y);
Set("/:b", /:b + 1);
if (450 < /:b) {
Set("/:b", 400);
}
i = i + 1;
}
}
gotoAndPlay (4);
}
Symbol 285 MovieClip Frame 3
if (-40 < _x) {
prevFrame();
play();
}
Symbol 285 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 287 MovieClip Frame 46
removeMovieClip("");
stop();
Symbol 288 MovieClip Frame 1
i = 1;
Symbol 288 MovieClip Frame 2
duplicateMovieClip ("b", "b" add i, i);
setProperty("b" add i, _rotation , random(10));
setProperty("b" add i, _xscale , 50 + Number(random(50)));
if (50 < Number(random(100))) {
setProperty("b" add i, _yscale , -100);
}
setProperty("b" add i, _x , random(10));
setProperty("b" add i, _y , random(6));
i = Number(i) + 1;
gotoAndPlay(Number(_currentframe) + Number(random(3)));
Symbol 288 MovieClip Frame 5
gotoAndPlay (2);
Symbol 290 MovieClip Frame 1
_x = 500;
_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 eq "sub") {
gotoAndStop (4);
}
Symbol 290 MovieClip Frame 2
_x = ((_x - /:speed) + xspeed);
_y = (_y + yspeed);
if (yspeed < 0) {
if (_y < ny) {
ny = /:ymin + random(200);
if (_y < ny) {
yspeed = speed;
} else {
yspeed = -speed;
}
}
} else if (ny < _y) {
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 (0 >= energy) {
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, _y , _y + 5);
Set("/:m", /:m + 1);
if (620 < /:m) {
Set("/:m", 600);
}
}
Symbol 290 MovieClip Frame 3
if (-120 < _x) {
prevFrame();
play();
}
Symbol 290 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 293 MovieClip Frame 1
if (_name eq "missile") {
gotoAndStop (4);
} else {
_root.zzmissile.start();
}
Symbol 293 MovieClip Frame 2
_x = ((_x - /:speed) + /:missilespeed);
if (_x < -20) {
removeMovieClip("");
stop();
}
checkhit2(this.m);
Symbol 293 MovieClip Frame 3
prevFrame();
play();
Symbol 293 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 294 MovieClip Frame 1
if (_name eq "laser") {
gotoAndStop (4);
}
Symbol 294 MovieClip Frame 2
_x = (_x + /:laserspeed);
_y = (_y + yspeed);
Symbol 294 MovieClip Frame 3
if (_x < 450) {
prevFrame();
play();
} else {
removing(_name, "/:ename");
}
Symbol 294 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 296 MovieClip Frame 40
gotoAndPlay (1);
Symbol 297 MovieClip Frame 1
if (_name eq "bullet") {
gotoAndStop (4);
}
Symbol 297 MovieClip Frame 2
this._x = this._x + xs;
this._y = this._y + ys;
checkhit2(this.z);
Symbol 297 MovieClip Frame 3
if ((((0 < _x) and (_x < 432)) and (0 < _y)) and (_y < 330)) {
prevFrame();
play();
}
Symbol 297 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 299 MovieClip Frame 11
stop();
Symbol 301 MovieClip Frame 13
removeMovieClip("");
stop();
Symbol 302 MovieClip Frame 1
i = 1;
Symbol 302 MovieClip Frame 2
_root.zzexplosion.start();
Symbol 302 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, _y , Number(-5) + Number(random(10)));
ska = 50 + random(../:tot * 20);
if (50 < random(100)) {
setProperty("c" add i, _xscale , -ska);
} else {
setProperty("c" add i, _xscale , ska);
}
setProperty("c" add i, _yscale , ska);
i = i + 1;
}
Symbol 302 MovieClip Frame 6
if (i < ../:tot) {
gotoAndPlay (3);
} else {
stop();
}
Symbol 302 MovieClip Frame 7
removeMovieClip("");
stop();
Symbol 303 MovieClip Frame 1
if ((_x < 10) or (_name eq "explosion")) {
gotoAndStop (4);
}
Symbol 303 MovieClip Frame 2
_x = (_x - /:speed);
if (_x < -100) {
gotoAndPlay (4);
}
Symbol 303 MovieClip Frame 3
prevFrame();
play();
Symbol 303 MovieClip Frame 4
stop();
Symbol 307 MovieClip Frame 1
if (_name eq "bullet3") {
gotoAndStop (4);
}
Symbol 307 MovieClip Frame 2
this._x = this._x + xs;
this._y = this._y + ys;
checkhit2(this.z);
Symbol 307 MovieClip Frame 3
if ((((0 < _x) and (_x < 500)) and (0 < _y)) and (_y < 330)) {
prevFrame();
play();
}
Symbol 307 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 308 MovieClip Frame 1
if (_name eq "bullet4") {
gotoAndStop (4);
}
Symbol 308 MovieClip Frame 2
this._x = this._x + xs;
checkhit2(this.z);
Symbol 308 MovieClip Frame 3
if ((((-20 < _x) and (_x < 432)) and (0 < _y)) and (_y < 330)) {
prevFrame();
play();
}
Symbol 308 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 312 MovieClip Frame 1
stop();
Symbol 312 MovieClip Frame 9
gotoAndStop (1);
Symbol 316 MovieClip Frame 1
stop();
Symbol 316 MovieClip Frame 7
stop();
Symbol 319 MovieClip Frame 1
_x = 500;
energy = 5;
if (_name eq "cannon") {
gotoAndStop (7);
}
Symbol 319 MovieClip Frame 2
_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) / Math.PI;
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 + /:speed) * math.cos(rad(ang));
} else {
speedx = /:bulletspeed * math.cos(rad(ang));
}
speedy = /:bulletspeed * math.sin(rad(ang));
setProperty("/b" add /:b, _x , (_x + getProperty("g", _x)) + cx);
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 (450 < /:b) {
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 (0 >= energy) {
explode(3);
gotoAndPlay (4);
}
}
Symbol 319 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 319 MovieClip Frame 7
stop();
Symbol 322 MovieClip Frame 1
gotoAndStop(../../:type);
Symbol 323 MovieClip Frame 30
gotoAndPlay (1);
Symbol 324 MovieClip Frame 1
_x = 470;
_y = (90 + random(100));
xspeed = -1;
type = /:bonustype;
if (_name eq "bonus") {
gotoAndStop (7);
}
Symbol 324 MovieClip Frame 2
_x = ((_x - /:speed) + xspeed);
if (_x < -40) {
gotoAndStop (7);
}
hit = checkbonusgot(this);
if (hit) {
if (type == 1) {
Set("/:weapon", 2);
} else if (type == 2) {
Set("/:inv", /:invbonusdelay);
_root.shield.gotoAndPlay(2);
} else if (type == 3) {
Set("/:xspeed", /:xbonusspeed);
Set("/:yspeed", /:ybonusspeed);
}
Set("/:score", /:score + (5 * /:point));
updatestat();
_root.zzbonus.start();
gotoAndPlay (7);
}
Symbol 324 MovieClip Frame 3
prevFrame();
play();
Symbol 324 MovieClip Frame 7
removeMovieClip("");
stop();
Symbol 325 MovieClip Frame 1
_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)) eq "ver") {
gotoAndStop (4);
}
Symbol 325 MovieClip Frame 2
_x = ((_x - /:speed) + xspeed);
if (xspeed < 0) {
if (_x < nx) {
_x = nx;
nx = /:xmax - random(100);
xspeed = speed;
}
} else if (nx < _x) {
_x = nx;
if (de < 0) {
nx = -100;
} else {
nx = /:xmin + random(100);
}
xspeed = -2 * 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 (0 >= energy) {
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);
Set(("/b" add /:b) add "/:xs", 0);
if (_y < 150) {
Set(("/b" add /:b) add "/:ys", 3);
setProperty("/b" add /:b, _y , _y + 24);
} else {
Set(("/b" add /:b) add "/:ys", -3);
setProperty("/b" add /:b, _y , _y - 24);
}
Set("/:b", /:b + 1);
if (450 < /:b) {
Set("/:b", 400);
}
}
Symbol 325 MovieClip Frame 3
if (-50 < _x) {
prevFrame();
play();
}
Symbol 325 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 326 Button
on (keyPress "<Space>") {
if (((!/:hit) and (!/:finish)) and /: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, _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, _x , getProperty("/g", _x) + adx);
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, _x , getProperty("/g", _x) + adx);
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, _x , getProperty("/g", _x) + adx);
setProperty("l" add /:l, _y , (getProperty("/g", _y) - 2) + ady);
Set("/:l", /:l + 1);
if (340 < /:l) {
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, _x , getProperty("/g", _x) + adx);
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 eq "m") {
startDrag ("", true);
}
Symbol 327 MovieClip Frame 2
if (/:control eq "m") {
Set("/:my", 0);
if ((getProperty("/g", _y) + 10) < _y) {
Set("/:my", 1);
} else if (_y < (getProperty("/g", _y) - 10)) {
Set("/:my", -1);
}
Set("/:mx", 0);
if ((getProperty("/g", _x) + 10) < _x) {
Set("/:mx", 1);
} else if (_x < (getProperty("/g", _x) - 20)) {
Set("/:mx", -1);
}
}
if (/:my == 1) {
ny = getProperty("/g", _y) + /:yspeed;
if (/:ymax < ny) {
ny = /:ymax;
Set("/:my", 0);
}
} else if (/:my == -1) {
ny = getProperty("/g", _y) - /:yspeed;
if (ny < /:ymin) {
ny = /:ymin;
Set("/:my", 0);
}
}
if (/:mx == 1) {
nx = getProperty("/g", _x) + /:xspeed;
if (/:xmax < nx) {
nx = /:xmax;
Set("/:mx", 0);
}
} else if (/:mx == -1) {
nx = getProperty("/g", _x) - (1.5 * /:xspeed);
if (nx < /:xmin) {
nx = /:xmin;
Set("/:mx", 0);
}
}
call("tel");
call("pos");
vd = vd + 1;
if ((!/:countingdown) and (70 < vd)) {
if ((!/:voice) and (60 < random(100))) {
_root.voswim.gotoAndPlay(2);
}
vd = 0;
}
bt2 = bt2 - 1;
if (bt2 < 0) {
if (showbubble) {
showbubble = 0;
bt2 = 30 + random(10);
} else {
showbubble = 1;
bt2 = 40 + random(10);
}
}
bt = bt - 1;
if (showbubble and (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 (4550 < /:db) {
Set("/:db", 4500);
}
}
Symbol 327 MovieClip Frame 3
if (/:hit and (!/:inv)) {
gotoAndPlay (6);
} else if (/:finished) {
gotoAndPlay (1);
} else {
prevFrame();
play();
}
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 (0 < d) {
prevFrame();
play();
} else {
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", _y , ny);
Set("/:energy", /:energy - 1);
updatestat();
if (!/:energy) {
_root.gotoandplay("end");
} else {
gotoAndPlay (2);
}
}
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 and (!/:blinking)) {
nx = getProperty("/g", _x) - /:speed;
ny = getProperty("/g", _y);
}
setProperty("/g", _x , nx);
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);
Symbol 328 MovieClip Frame 3
blink = blink - 1;
if (getProperty("/g", _visible)) {
setProperty("/g", _visible , 0);
} else {
setProperty("/g", _visible , 1);
}
Symbol 328 MovieClip Frame 4
if (0 < blink) {
prevFrame();
play();
} else {
setProperty("/g", _visible , 1);
Set("/:blinking", 0);
stop();
}
Symbol 330 MovieClip Frame 46
removeMovieClip("");
stop();
Symbol 332 MovieClip Frame 1
stop();
Symbol 332 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 (0 < d) {
prevFrame();
play();
}
Symbol 333 MovieClip Frame 6
no = no + 1;
Set("/:no", no);
if (length(/:track) >= /:no) {
item = "";
quan = 1;
terraindown = 0;
it = substring(/:track, no, 1);
if (it eq "c") {
item = "cannon";
} else if (it eq "j") {
item = "jelly";
quan = (1 + /:difficul) + random(2);
} else if (it eq "e") {
item = "winged";
quan = 2 + /:difficul;
} else if (it eq "a") {
item = "amoe";
quan = (1 + /:difficul) + random(2);
} else if (it eq "s") {
item = "spike1";
} else if (it eq "l") {
item = "stonewall";
} else if (it eq "S") {
item = "spike2";
} else if (it eq "m") {
item = "mine";
} else if (it eq "x") {
item = "claw";
} else if (it eq "X") {
item = "claw2";
} else if (it eq "k") {
item = "sub";
} else if (it eq "v") {
item = "ver";
} else if (it eq "V") {
item = "ver2";
} else if (it eq "t") {
item = "tentacles";
} else if (it eq "T") {
item = "tentacles2";
} else if (it eq "w") {
item = "wall1";
} else if (it eq "W") {
item = "wall2";
} else if (it eq "g") {
item = "geyser";
} else if (it eq "F") {
item = "";
_root.failed2.gotoAndPlay(2);
} else if (it eq "b") {
item = "bonus";
bno = bno + 1;
Set("/:bno", bno);
Set("/:bonustype", substring(/:bo, bno, 1));
} else if (((((it eq "0") or (it eq "1")) or (it eq "2")) or (it eq "3")) or (it eq "4")) {
item = "terrain";
ttype = 1 + Number(it);
} else if ((((((it eq "5") or (it eq "6")) or (it eq "7")) or (it eq "8")) or (it eq "9")) or (it eq "0")) {
item = "terrain";
terraindown = 1;
ttype = Number(it) - 4;
}
if (item ne "") {
while (0 < quan) {
if (item eq "terrain") {
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, _yscale , -100);
}
Set("/:t", /:t + 1);
if (90 < /:t) {
Set("/:t", 80);
}
} else {
duplicateMovieClip ("/" add item, "s" add /:s, /:s);
Set("/:s", /:s + 1);
if (180 < /:s) {
Set("/:s", 100);
}
}
quan = quan - 1;
}
}
gotoAndPlay (2);
} else {
stop();
}
Symbol 339 MovieClip Frame 1
no = -1;
stop();
Symbol 339 MovieClip Frame 2
Set("/:voice", 1);
no = no + 1;
if (4 < no) {
no = 0;
}
gotoAndPlay("v" + no);
Symbol 339 MovieClip Frame 145
Set("/:voice", 0);
stop();
Symbol 339 MovieClip Frame 210
Set("/:voice", 0);
stop();
Symbol 339 MovieClip Frame 307
Set("/:voice", 0);
stop();
Symbol 339 MovieClip Frame 381
Set("/:voice", 0);
stop();
Symbol 339 MovieClip Frame 429
Set("/:voice", 0);
stop();
Symbol 343 MovieClip Frame 1
stop();
Symbol 343 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 343 MovieClip Frame 117
Set("/:voice", 0);
stop();
Symbol 343 MovieClip Frame 190
Set("/:voice", 0);
stop();
Symbol 343 MovieClip Frame 253
Set("/:voice", 0);
stop();
Symbol 352 MovieClip Frame 1
stop();
Symbol 352 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 352 MovieClip Frame 88
Set("/:voice", 0);
stop();
Symbol 352 MovieClip Frame 127
Set("/:voice", 0);
stop();
Symbol 352 MovieClip Frame 188
Set("/:voice", 0);
stop();
Symbol 352 MovieClip Frame 249
Set("/:voice", 0);
stop();
Symbol 352 MovieClip Frame 292
Set("/:voice", 0);
stop();
Symbol 352 MovieClip Frame 348
Set("/:voice", 0);
stop();
Symbol 352 MovieClip Frame 391
Set("/:voice", 0);
stop();
Symbol 352 MovieClip Frame 434
Set("/:voice", 0);
stop();
Symbol 360 MovieClip Frame 1
stop();
Symbol 360 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 360 MovieClip Frame 55
Set("/:voice", 0);
stop();
Symbol 360 MovieClip Frame 134
Set("/:voice", 0);
stop();
Symbol 360 MovieClip Frame 229
Set("/:voice", 0);
stop();
Symbol 360 MovieClip Frame 292
Set("/:voice", 0);
stop();
Symbol 360 MovieClip Frame 323
Set("/:voice", 0);
stop();
Symbol 360 MovieClip Frame 363
Set("/:voice", 0);
stop();
Symbol 360 MovieClip Frame 447
Set("/:voice", 0);
stop();
Symbol 366 MovieClip Frame 1
gotoAndStop(1 + random(_totalframes));
Symbol 367 MovieClip Frame 1
ys = 1 + random(2);
rs = -10 + random(20);
Symbol 367 MovieClip Frame 2
_y = (_y + ys);
_rotation = (_rotation + rs);
Symbol 367 MovieClip Frame 3
if (_y < 0) {
prevFrame();
play();
}
Symbol 367 MovieClip Frame 4
removeMovieClip("");
stop();
Symbol 368 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 (50 < random(100)) {
xs = -xs;
}
eval ("b" + bb)._xscale = xs;
eval ("b" + bb)._yscale = 10 + random(150);
i++;
}
Symbol 370 MovieClip Frame 1
gotoAndPlay(1 + random(20));
Symbol 370 MovieClip Frame 277
removeMovieClip("");
stop();
Symbol 371 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 (50 < random(100)) {
xs = -xs;
}
eval ("b" + bb)._xscale = xs;
eval ("b" + bb)._yscale = 100 + random(150);
i++;
}
Symbol 372 MovieClip Frame 2
stop();
Symbol 389 MovieClip Frame 1
gotoAndStop(../:rating);
Symbol 391 MovieClip Frame 1
if (/:level < 2) {
stop();
}
Symbol 391 MovieClip Frame 14
stop();
Symbol 392 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 393 MovieClip Frame 43
stop();