Frame 1
fscommand ("trapallkeys", 1);
fscommand ("allowscale", 0);
Stage.showMenu = false;
duplicateMovieClip ("fr", "frame", 100010);
_global.r = this;
Frame 2
var loadAmount = _totalframes;
onEnterFrame = function () {
if (_framesloaded == loadAmount) {
delete onEnterFrame;
gotoAndPlay (17);
} else {
loaded = Math.round(getBytesLoaded() / 1024);
total = Math.round(getBytesTotal() / 1024);
percent = Math.round((loaded / total) * 100);
}
};
stop();
Frame 10
movieclip.prototype.make = function (tipe, x, s) {
var y = -250;
if ((tipe == 2) or (tipe == 8)) {
lsh.attachMovie("ob" + tipe, "e" + r.ed, r.ed);
var it = lsh["e" + r.ed];
it.no = 1 + random(r.logtypes);
it._x = x;
it._y = y;
r.ed++;
if (r.ghosting and (tipe == 2)) {
map.attachMovie("obmask", "e" + r.ed, r.ed - 2000);
var it2 = map["e" + r.ed];
it2.no = it.no;
it2._x = x;
it2._y = y;
r.ed++;
}
} else {
map.attachMovie("ob" + tipe, "e" + r.ed, r.ed);
var it = map["e" + r.ed];
r.lastmx = x;
it._x = x;
it._y = y;
it.ska = s;
r.ed++;
}
if (tipe == 1) {
msh.attachMovie("meteorsh", "e" + r.ed, r.ed);
var it2 = msh["e" + r.ed];
it2._x = it._x;
it2._y = it._y + 100;
it.sh = it2;
}
};
movieclip.prototype.make3random = function () {
var x = (138 + random(340));
r.meteorlist.push({x:x, s:60 + random(40), d:r.edelay});
if (r.edelay <= 52) {
probinsertmeteor(x);
}
var x = (138 + random(340));
r.meteorlist.push({x:x, s:60 + random(40), d:r.edelay});
if (r.edelay <= 40) {
probinsertmeteor(x);
}
var x = (138 + random(340));
r.meteorlist.push({x:x, s:60 + random(40), d:r.edelay});
if (r.edelay <= 30) {
probinsertmeteor(x);
}
r.meteorlist[r.meteorlist.length - 1].d = Math.floor(1.6 * r.edelay);
};
movieclip.prototype.probinsertmeteor = function (avoidx) {
if (random(100) > 50) {
r.meteorlist[r.meteorlist.length - 1].d = 5 + random(5);
if (avoidx < 300) {
var x = (350 + random(100));
} else {
var x = (250 - random(100));
}
r.meteorlist.push({x:x, s:60 + random(40), d:r.edelay});
}
};
movieclip.prototype.cekmaxlotsum = function () {
var div = (r.meteorlist.length - Math.floor(r.maxlotsum));
if (div > 0) {
var i = 0;
while (i < div) {
r.meteorlist.shift();
i++;
}
}
};
MovieClip.prototype.showgot = function (sk, x, y) {
map.attachMovie("got", "got" + r.ed, r.ed);
map["got" + r.ed]._x = x;
map["got" + r.ed]._y = y;
map["got" + r.ed].sk = sk;
r.ed++;
};
movieclip.prototype.blinkplayer = function (delay) {
var t = this;
t.createEmptyMovieClip("blink", 1099);
t.c = new color(t);
t.c.setBrightness(30);
t.blink.d = delay;
t.blink.onEnterFrame = function () {
t._visible = !t._visible;
t.blink.d--;
if (!t.blink.d) {
t.c.resetcolor();
t._visible = 1;
delete t.blink.onEnterFrame;
}
};
};
movieclip.prototype.cekhitp = function () {
if (r.mode != 3) {
if (!r.inv) {
if (this.z.hittest(p.z)) {
r.hit = 1;
}
}
}
};
movieclip.prototype.cekhitm = function () {
var i = 0;
while (i < r.all.length) {
if (this.z.hittest(r.all[i].z)) {
r.all[i].die = 1;
this.die = 1;
return;
}
i++;
}
};
movieclip.prototype.attack = function () {
if (r.fire >= r.fireless) {
r.attacking = r.attackdelay;
p.gotoAndStop("attack");
map.attachMovie("fireball", "fireball" + r.fd, r.fd);
var it = map["fireball" + r.fd];
it._x = p._x;
it._y = p._y - 80;
r.fd++;
r.fire = Math.max(0, r.fire - r.fireless);
r.zfireball.start();
}
};
movieclip.prototype.change = function (no) {
r.attachMovie("transform", "transform", r.trd);
p.gotoAndStop("run" + no);
r.energybar.icon.gotoAndPlay(2);
r.mode = no;
r.nochange = 5;
r.attacking = 0;
};
movieclip.prototype.ceklimits = function () {
r.nx = Math.max(r.nx, r.xmin);
r.nx = Math.min(r.nx, r.xmax);
r.ny = Math.max(r.ny, r.ymin);
r.ny = Math.min(r.ny, r.ymax);
};
Array.prototype.removeElement = function (i) {
if (i == null) {
i = 0;
}
var r = this[i];
var j = i;
while (j < (this.length - 1)) {
this[j] = this[j + 1];
j++;
}
this.pop();
return(r);
};
Array.prototype.removeValue = function (a) {
var i = 0;
while (i < this.length) {
if (a == this[i]) {
this.removeElement(i);
}
i++;
}
};
Array.prototype.randomize = function () {
return(this.sort(function (a, b) {
return(((Math.floor(Math.random() * 2) == 0) ? 1 : -1));
}));
};
Array.prototype.copy = Array.prototype.slice;
Movieclip.prototype.fadescreen = function (speed) {
if (!speed) {
var speed = 5;
}
_root.createEmptyMovieClip("dark", 100001);
var d = _root.dark;
with (d) {
lineStyle(1, 0, 100);
beginfill(0, 100);
moveto(-5000, -5000);
lineto(5000, -5000);
lineto(5000, 5000);
lineto(-5000, 5000);
endfill();
d.onEnterFrame = function () {
_alpha = _alpha - speed;
if (_alpha <= 0) {
removeMovieClip("");
stop();
}
};
}
};
Movieclip.prototype.fadescreengoto = function (speed, labl) {
if (!speed) {
var speed = 5;
}
_root.createEmptyMovieClip("dark", 100001);
var d = _root.dark;
with (d) {
_alpha = 0;
lineStyle(1, 0, 100);
beginfill(0, 100);
moveto(-5000, -5000);
lineto(5000, -5000);
lineto(5000, 5000);
lineto(-5000, 5000);
endfill();
d.onEnterFrame = function () {
_alpha = _alpha + speed;
if (_alpha >= 100) {
_alpha = 100;
_parent.gotoAndPlay(labl);
removeMovieClip("");
stop();
}
};
}
};
Movieclip.prototype.findang = function (dx, dy) {
return(deg(math.atan2(dy, dx)));
};
Movieclip.prototype.rad = function (qdeg) {
return(qdeg * (Math.PI/180));
};
Movieclip.prototype.deg = function (qrad) {
return(qrad * 57.2957795130823);
};
Color.prototype.setBrightness = function (value) {
this.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0});
var trans = this.getTransform();
var percent = (Math.abs(value) / 100);
var brightnessColor = ((value > 0) ? 255 : 0);
with (trans) {
ra = ra - (ra * percent);
ga = ga - (ga * percent);
ba = ba - (ba * percent);
rb = rb + ((brightnessColor - rb) * percent);
gb = gb + ((brightnessColor - gb) * percent);
bb = bb + ((brightnessColor - bb) * percent);
}
this.setTransform(trans);
};
Color.prototype.setTint = function (col, percent, resetMode) {
if (isNaN(col) || (isNaN(percent))) {
return(undefined);
}
col = ((col <= 0) ? 0 : (((col >= 16777215) ? 16777215 : (Math.round(col)))));
percent = ((percent <= 0) ? 0 : (((percent >= 100) ? 1 : (percent / 100))));
if ((resetMode == undefined) || ((resetMode != true) && (resetMode != false))) {
resetMode = true;
}
var trans = this.getTransform();
if (resetMode) {
with (trans) {
ra = (ga = (ba = 100));
rb = (gb = (bb = 0));
}
}
with (trans) {
ra = ra - (ra * percent);
ga = ga - (ga * percent);
ba = ba - (ba * percent);
rb = rb + ((((col & 16711680) >> 16) - rb) * percent);
gb = gb + ((((col & 65280) >> 8) - gb) * percent);
bb = bb + (((col & 255) - bb) * percent);
}
this.setTransform(trans);
};
Color.prototype.resetcolor = function () {
this.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0});
};
movieclip.prototype.wait = function (delay) {
this.createEmptyMovieClip("wdl", 55555);
this.wdl.delay = delay;
this.wdl.onenterframe = function () {
this.delay--;
if (!this.delay) {
delete this.onenterframe;
this._parent.play();
this.removeMovieClip();
}
};
this.stop();
};
MovieClip.prototype.savecookie = function (vari, value) {
var so = SharedObject.getLocal("b3ncookie", "/");
so.data[vari] = value;
so.flush();
};
MovieClip.prototype.loadcookie = function (vari) {
var so = SharedObject.getLocal("b3ncookie", "/");
if (so.data[vari] != null) {
return(so.data[vari]);
}
return(false);
};
Frame 17
call("pro");
fadescreen(10);
stopAllSounds();
stop();
Frame 24
fadescreen(10);
stop();
Frame 31
function keyp() {
r.key1 = {at:Key.isDown(38), ba:Key.isDown(40), ki:Key.isDown(37), ka:Key.isDown(39), sp:Key.isDown(32), z:Key.isDown(90), x:Key.isDown(88)};
}
var fakeVar = new Date().getTime();
loadMovieNum ("tracker.swf?" + fakeVar, 98000);
_global.m = this.map;
_global.p = map.ben;
_global.sh = map.sh;
_global.msh = map.msh;
_global.lsh = map.lsh;
delete onEnterFrame;
stopAllSounds();
call("pro");
fadescreen(10);
totallotsa = 2;
lotsa1 = [{x:302, s:59, d:3}, {x:162, s:59, d:25}, {x:231, s:59, d:5}, {x:369, s:59, d:22}, {x:360, s:59, d:3}, {x:200, s:59, d:10}, {x:283, s:59, d:50}];
lotsa2 = [{x:331, s:59, d:3}, {x:460, s:59, d:22}, {x:402, s:59, d:3}, {x:300, s:59, d:25}, {x:460, s:59, d:3}, {x:300, s:59, d:50}];
totalchain = 14;
chain1 = [{x:174, s:60, d:6}, {x:423, s:79, d:7}, {x:382, s:69, d:5}, {x:280, s:128, d:50}];
chain2 = [{x:287, s:59, d:15}, {x:433, s:110, d:15}, {x:312, s:100, d:15}, {x:185, s:69, d:10}, {x:370, s:79, d:50}];
chain3 = [{x:200, s:60, d:15}, {x:320, s:120, d:15}, {x:140, s:80, d:10}, {x:300, s:100, d:20}, {x:250, s:120, d:50}];
chain4 = [{x:216, s:59, d:8}, {x:350, s:119, d:15}, {x:282, s:84, d:50}];
chain5 = [{x:400, s:59, d:2}, {x:120, s:70, d:14}, {x:274, s:140, d:50}];
chain6 = [{x:390, s:75, d:5}, {x:274, s:100, d:14}, {x:137, s:59, d:50}];
chain7 = [{x:423, s:59, d:5}, {x:170, s:59, d:5}, {x:317, s:128, d:50}];
chain8 = [{x:426, s:60, d:6}, {x:177, s:79, d:7}, {x:218, s:69, d:5}, {x:320, s:128, d:50}];
chain9 = [{x:313, s:59, d:15}, {x:167, s:110, d:15}, {x:288, s:100, d:15}, {x:415, s:69, d:10}, {x:230, s:79, d:50}];
chain10 = [{x:400, s:60, d:15}, {x:280, s:120, d:15}, {x:460, s:80, d:10}, {x:300, s:100, d:20}, {x:350, s:120, d:50}];
chain11 = [{x:384, s:59, d:8}, {x:250, s:119, d:15}, {x:318, s:84, d:50}];
chain12 = [{x:200, s:59, d:2}, {x:480, s:70, d:14}, {x:326, s:140, d:50}];
chain13 = [{x:210, s:75, d:5}, {x:326, s:100, d:14}, {x:463, s:59, d:50}];
chain14 = [{x:177, s:59, d:5}, {x:430, s:59, d:5}, {x:283, s:128, d:50}];
pattern = [0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 1];
var i = 0;
while (i < 10) {
pattern.push(0, 1, 2, 0, 2, 1, 0, 0, 1, 2, 1, 0, 1, 1, 0, 2, 2, 0, 1, 2, 1, 2, 0, 2, 1);
i++;
}
maxlotsum = 2;
meteorlist = [];
mspeedmax = 12;
mspeed = 5.5;
edelay = 55;
edelaymin = 25;
d = 10;
d2 = (ldelay = 10);
ldelaymin = 3;
r.bd = (r.bonusdelay = 15);
bgspeed = 4;
fspeed = -15;
attackdelay = 7;
xsmin = (xs = 10);
xsmax = 25;
ys = 10;
shake = 1;
ghosting = 1;
lastmx = 0;
logtypes = 4;
meteorradius = 60;
ang = 0;
nil = 100;
chainscore = [0, 500, 1000, 1500, 2000, 2500, 3000];
xmin = 130;
xmax = 470;
ymin = 200;
ymax = 390;
mode = 1;
finish = 0;
finishdelay = 25;
energymax = 100;
energy = energymax;
energyless = 20;
firemax = 100;
fire = firemax;
fireless = 8;
nochange = 0;
attacking = 0;
inv = 0;
invhitdelay = 40;
all = [];
trd = 100;
shaked = 110;
fd = 2000;
ed = 10000;
item = [1, 1, 2, 2, 3, 4];
itemran = [];
finish = 0;
win = 0;
timepass = 0;
ld = (level = 400);
r.createEmptyMovieClip("sfx", 60001);
allsfx = ["zhit", "zbonus", "zcrash", "zexplode", "zfireball", "ztransform"];
var i = 0;
while (i < allsfx.length) {
r[allsfx[i]] = new sound(sfx);
r[allsfx[i]].attachsound(allsfx[i]);
i++;
}
r.createEmptyMovieClip("sfx2", 60002);
r.zloop = new sound(sfx2);
r.zloop.attachsound("zloop");
r.zloop.setVolume(100);
r.zloop.start(0, 99999);
r.key1 = {at:false, ba:false, ki:false, ka:false};
keyobj = new Object();
keyobj.onKeyDown = keyp;
keyobj.onKeyUp = keyp;
Key.addListener(keyobj);
onEnterFrame = function () {
r.d--;
if (!r.d) {
if (!r.meteorlist.length) {
var temp = r.pattern.shift();
if (temp == 0) {
make3random();
} else if (temp == 1) {
r.meteorlist = r.meteorlist.concat(r["lotsa" + (1 + random(r.totallotsa))]);
cekmaxlotsum();
} else if (temp == 2) {
r.meteorlist = r.meteorlist.concat(r["chain" + (1 + random(r.totalchain))]);
cekmaxlotsum();
}
r.pattern.push(2 + random(2));
r.bd--;
}
var pat = r.meteorlist.shift();
make(1, pat.x, pat.s);
r.d = pat.d;
r.d2--;
r.bd--;
if (r.d2 <= 0) {
r.d2 = Math.floor(r.ldelay) + random(3);
make(2, 300);
r.d = r.d + 80;
} else if (r.bd <= 0) {
r.bonusdelay++;
r.bd = r.bonusdelay + random(3);
make(8, 128 + random(360));
r.d = r.d + 60;
}
}
if (r.fire < r.firemax) {
r.fire = r.fire + 0.5;
}
if (r.inv > 0) {
r.inv--;
}
if (r.nochange > 0) {
r.nochange--;
}
ld--;
if (!ld) {
ld = level;
r.ldelay = Math.max(r.ldelaymin, r.ldelay - 0.1);
r.edelay = Math.max(r.edelaymin, r.edelay - 3);
r.maxlotsum = r.maxlotsum + 0.3;
if (r.edelay <= 30) {
r.mspeed = Math.min(r.mspeedmax, r.mspeed + 0.05);
} else {
r.mspeed = Math.min(r.mspeedmax, r.mspeed + 0.02);
}
}
if (r.finish) {
r.finishdelay--;
if (!r.finishdelay) {
gotoAndPlay (38);
}
}
};
stop();
Frame 37
prevFrame();
stop();
Frame 38
delete onEnterFrame;
fadescreen(8);
r.transform.removeMovieClip();
r._x = (r._y = 0);
oldang = loadcookie("ang");
if (!oldang) {
savecookie("ang", r.ang);
stop();
} else {
if (r.ang > oldang) {
savecookie("ang", r.ang);
}
gotoAndStop (43);
}
Frame 43
stop();
Symbol 1 MovieClip [shakescreen] Frame 1
d = 8;
rcl = new color(r);
temp = 1;
onEnterFrame = function () {
temp = !temp;
if (temp) {
rcl.setTint(16718362, 50);
} else {
rcl.resetcolor();
}
r._x = -3 + random(6);
r._y = -1 + random(2);
d--;
if (!d) {
r._x = (r._y = 0);
rcl.resetcolor();
delete onEnterFrame;
this.removeMovieClip();
}
};
stop();
Symbol 2 MovieClip [fadeout] Frame 1
vs = 5;
vol = r.zloop.getVolume();
if (vol > 0) {
onenterframe = function () {
vol = vol - vs;
if (vs > 0.5) {
vs = 0.95 * vs;
}
r.zloop.setVolume(vol);
if (vol <= 0) {
r.zloop.stop();
delete onenterframe;
}
};
}
Symbol 7 MovieClip Frame 1
onenterframe = function () {
_xscale = _parent.percent;
};
stop();
Symbol 14 MovieClip Frame 1
stop();
Symbol 16 MovieClip Frame 1
_visible = 0;
Symbol 29 MovieClip Frame 1
if (!_parent._parent.cno) {
_parent._parent.cno = 1 + random(_totalframes);
}
gotoAndStop(_parent._parent.cno);
Symbol 30 MovieClip Frame 1
if (random(100) > 50) {
m._rotation = -random(20);
ro = 0.5;
} else {
m._rotation = random(20);
ro = -0.5;
}
onEnterFrame = function () {
m._rotation = m._rotation + ro;
_parent.mro = m._rotation;
};
Symbol 36 MovieClip Frame 10
stop();
Symbol 57 MovieClip Frame 22
stop();
Symbol 58 MovieClip Frame 1
mcolor = new color(m);
if (_parent.mro) {
m._rotation = _parent.mro;
}
onEnterFrame = function () {
if (fire._alpha > 0) {
fire._alpha = fire._alpha - 7;
}
mcolor.setbrightness(br);
if (br > -50) {
br = br - 2;
}
};
Symbol 60 MovieClip Frame 1
ska = 100;
targetska = 300;
d = 10;
myhalfradius = _width / 2;
var pr = _parent;
ceknow = 1;
onEnterFrame = function () {
ska = targetska + ((ska - targetska) / 1.2);
_yscale = ska;
_xscale = ska;
ceknow = !ceknow;
if (ceknow) {
if (ska > 220) {
var i = 0;
while (i < r.all.length) {
var it = r.all[i];
if (it._y > -50) {
if ((it.die + it.cras) == 0) {
var dy = Math.abs(pr._y - it._y);
if (dy < 200) {
var dx = Math.abs(pr._x - it._x);
var sumrad = (((pr.ska / 100) * (_width / 2)) + it.halfradius);
if ((dx < sumrad) or (dy < sumrad)) {
if (((dx * dx) + (dy * dy)) < (sumrad * sumrad)) {
it.die = 1;
it.ringstep = pr.ringstep + 1;
}
}
}
}
}
i++;
}
}
}
d--;
if (d < 5) {
_alpha = (_alpha - 20);
if (_alpha <= 0) {
delete onEnterFrame;
this.removeMovieClip();
}
}
};
stop();
Symbol 81 MovieClip Frame 22
stop();
Symbol 85 MovieClip Frame 1
gotoAndStop(1 + random(_totalframes));
Symbol 86 MovieClip Frame 1
speed = -4 - (random(40) / 10);
if (random(100) > 30) {
m._xscale = 25 + random(30);
m._yscale = 25 + random(30);
} else {
m._xscale = 80 + random(60);
m._yscale = 80 + random(60);
}
d = 12;
rotate = random(180);
xs = speed * Math.cos(rad(rotate));
ys = speed * Math.sin(rad(rotate));
ro = 3 + random(40);
if (random(100) > 50) {
ro = -ro;
}
ys = ys - random(7);
m._x = xs * 8;
m._y = ys * 8;
grav = ((-speed) / 8) + (random(10) / 10);
onEnterFrame = function () {
m._x = m._x + xs;
m._y = m._y + ys;
m._rotation = m._rotation + ro;
ys = ys + grav;
d--;
if (d < 8) {
_alpha = (_alpha - 15);
if (_alpha <= 0) {
delete onEnterFrame;
this.removeMovieClip();
}
}
};
stop();
Symbol 87 MovieClip Frame 1
n = 1;
ska = _parent._parent._xscale;
if (_parent._parent.ringstep) {
if (ska <= 75) {
total = 1;
} else if ((ska > 75) and (ska <= 100)) {
total = 2;
} else {
total = 3;
}
} else {
total = 3;
}
onEnterFrame = function () {
if (total) {
var i = 0;
while (i < 2) {
m.duplicateMovieClip("m" + n, n);
n++;
i++;
}
total--;
if (!total) {
delete onEnterFrame;
}
}
};
stop();
Symbol 89 MovieClip [ob1] Frame 1
r.all.push(this);
die = 0;
cras = 0;
ys = r.mspeed;
if (!ska) {
ska = (12 - random(6)) * 10;
}
halfradius = Math.floor((ska / 100) * (r.meteorradius / 2));
_yscale = ((sh._xscale = (sh._yscale = ska)));
_xscale = ((sh._xscale = (sh._yscale = ska)));
max = 300;
ringstep = 0;
onEnterFrame = function () {
_y = (_y + ys);
sh._y = sh._y + (0.85 * ys);
if (sh._y < _y) {
sh._y = _y;
}
if (_y > 150) {
cekhitp();
}
if (die) {
delete onEnterFrame;
gotoAndPlay (13);
} else if (_y > max) {
delete onEnterFrame;
gotoAndPlay (6);
}
};
stop();
Symbol 89 MovieClip [ob1] Frame 6
r.zcrash.start();
cras = 1;
ys = ys / 2;
d = 50;
br = -10;
r.energy = r.energy - (r.energyless / 2);
p.blinkplayer(10);
r.attachMovie("shakescreen", "shakescreen", r.shaked);
onEnterFrame = function () {
_y = (_y + ys);
sh._y = _y;
ys = Math.max(r.bgspeed, ys * 0.97);
cekhitp();
d--;
if (!d) {
r.all.removevalue(this);
sh.removeMovieClip();
this.removeMovieClip();
}
};
stop();
Symbol 89 MovieClip [ob1] Frame 13
r.all.removevalue(this);
r.zexplode.start();
sh.removeMovieClip();
_y = (_y - 30);
r.ang = r.ang + r.nil;
if (ringstep) {
showgot(r.chainscore[ringstep], _x, _y);
}
d = 20;
onEnterFrame = function () {
_y = (_y + r.bgspeed);
d--;
if (!d) {
r.all.removevalue(this);
this.removeMovieClip();
}
};
stop();
Symbol 98 MovieClip Frame 1
stop();
Symbol 100 MovieClip Frame 1
_visible = 0;
Symbol 111 MovieClip [fireball] Frame 1
die = 0;
onEnterFrame = function () {
_y = (_y + r.fspeed);
if (_y > -20) {
cekhitm();
}
if (die or (_y < -30)) {
this.removeMovieClip();
}
};
stop();
Symbol 113 MovieClip Frame 1
_visible = 0;
Symbol 124 MovieClip Frame 1
gotoAndStop(_parent.no);
Symbol 125 MovieClip [ob2] Frame 1
onEnterFrame = function () {
cekhitp();
_y = (_y + r.bgspeed);
if (_y > 450) {
this.removeMovieClip();
}
};
stop();
Symbol 127 MovieClip [slicesh] Frame 1
a = 25 - random(5);
onEnterFrame = function () {
_alpha = (_alpha - a);
if (_alpha <= 0) {
delete onEnterFrame;
this.removeMovieClip();
}
};
stop();
Symbol 130 MovieClip Frame 14
stop();
Symbol 131 MovieClip [transform] Frame 1
rot = [0, 30, 60, 90, 120, 150, 180, 210, 240, 270, 300, 330];
rot.randomize();
n = 1;
d = 15;
_x = p._x;
_y = (p._y - 30);
r.ztransform.start();
onEnterFrame = function () {
_rotation = (_rotation + 5);
_x = p._x;
_y = (p._y - 30);
if (n < 10) {
this.attachMovie("slicesh", "a" + n, n);
var it = this["a" + n];
it._rotation = rot.pop();
it._xscale = 10 + random(90);
it._yscale = 60 + random(60);
n++;
this.attachMovie("slicesh", "a" + n, n);
var it = this["a" + n];
it._rotation = rot.pop();
it._xscale = 10 + random(90);
it._yscale = 60 + random(60);
n++;
}
d--;
if (!d) {
this.removeMovieClip();
}
};
stop();
Symbol 132 MovieClip Frame 1
_visible = 0;
Symbol 139 MovieClip Frame 2
d = 15 + random(10);
onEnterFrame = function () {
d--;
if (!d) {
delete onEnterFrame;
play();
}
};
stop();
Symbol 141 MovieClip [ob8] Frame 1
onEnterFrame = function () {
if (this.z.hittest(p.z)) {
r.energy = r.energymax;
r.zbonus.start();
this.removeMovieClip();
} else {
_y = (_y + r.bgspeed);
if (_y > 430) {
this.removeMovieClip();
}
}
};
stop();
Symbol 144 MovieClip [got] Frame 1
r.ang = r.ang + sk;
st = (step = 3);
onEnterFrame = function () {
st--;
if (!st) {
st = step;
_visible = (!_visible);
}
};
Symbol 144 MovieClip [got] Frame 32
onEnterFrame = function () {
_alpha = (_alpha - 25);
};
Symbol 144 MovieClip [got] Frame 36
this.removeMovieClip();
stop();
Symbol 149 MovieClip Frame 1
gotoAndStop(_parent.no);
Symbol 150 MovieClip [obmask] Frame 1
onEnterFrame = function () {
if (r.mode == 3) {
_visible = 1;
} else {
_visible = 0;
}
_y = (_y + r.bgspeed);
if (_y > 450) {
this.removeMovieClip();
}
};
stop();
Symbol 159 Button
on (release) {
gotoAndPlay (24);
}
Symbol 189 MovieClip Frame 1
stop();
Symbol 200 MovieClip Frame 1
stop();
Symbol 210 Button
on (release) {
gotoAndPlay (31);
}
Symbol 215 MovieClip Frame 1
duplicateMovieClip ("pic", "pic2", 2);
hei = pic._height;
pic2._y = hei;
starty = _y;
onenterframe = function () {
ny = _y + r.bgspeed;
if (ny > starty) {
ny = ny - hei;
}
_y = ny;
};
Symbol 219 MovieClip Frame 1
_visible = 0;
Symbol 242 MovieClip Frame 13
gotoAndPlay (1);
Symbol 243 MovieClip Frame 1
_visible = 0;
Symbol 274 MovieClip Frame 15
gotoAndPlay (1);
Symbol 314 MovieClip Frame 8
stop();
Symbol 315 MovieClip Frame 1
stop();
Symbol 318 MovieClip Frame 1
r.nx = p._x;
r.ny = p._y;
onenterframe = function () {
if (r.hit) {
delete onenterframe;
gotoAndPlay (5);
} else {
if (r.key1.ki) {
r.nx = r.nx - r.xs;
r.xs = r.xs + 4;
if (r.xs > r.xsmax) {
r.xs = r.xsmax;
}
} else if (r.key1.ka) {
r.nx = r.nx + r.xs;
r.xs = r.xs + 4;
if (r.xs > r.xsmax) {
r.xs = r.xsmax;
}
} else {
r.xs = r.xsmin;
}
if (r.key1.at) {
r.ny = r.ny - r.ys;
} else if (r.key1.ba) {
r.ny = r.ny + r.ys;
}
ceklimits();
p._x = (sh._x = r.nx + ((p._x - r.nx) / 1.4));
p._y = (sh._y = r.ny + ((p._y - r.ny) / 1.4));
if (!r.nochange) {
if (r.key1.z) {
if (r.mode != 2) {
change(2);
}
} else if (r.key1.x) {
if (r.mode != 3) {
change(3);
}
}
}
if (r.key1.sp) {
if ((r.mode == 2) and (!r.attacking)) {
attack();
}
}
if (r.attacking > 0) {
r.attacking--;
if (r.attacking == 2) {
p.gotoAndStop("run2");
}
}
}
};
stop();
Symbol 318 MovieClip Frame 5
d = 5;
r.inv = r.invhitdelay;
p.blinkplayer(r.invhitdelay - 10);
r.energy = r.energy - r.energyless;
r.zhit.start();
onEnterFrame = function () {
r.ny = r.ny + 10;
ceklimits();
p._y = r.ny;
d--;
if (!d) {
r.hit = 0;
gotoAndPlay (1);
}
};
stop();
Symbol 321 MovieClip Frame 1
accel = 0.7;
convert = 0.5;
enow = r.energy;
onEnterFrame = function () {
if (r.energy <= 0) {
r.energy = 0;
r.finish = 1;
}
xs1 = (xs1 * accel) + ((r.fire - bar1._xscale) * convert);
bar1._xscale = bar1._xscale + xs1;
xs2 = (xs2 * accel) + ((r.energy - bar2._xscale) * convert);
bar2._xscale = bar2._xscale + xs2;
if (enow != r.energy) {
enow = r.energy;
outline.gotoAndPlay(2);
}
};
stop();
Symbol 325 Button
on (release) {
r.zloop.setVolume(0);
r.zhit.setVolume(0);
gotoAndStop (2);
}
Symbol 328 Button
on (release) {
r.zloop.setVolume(100);
r.zhit.setVolume(100);
gotoAndStop (1);
}
Symbol 331 MovieClip Frame 1
stop();
Symbol 332 MovieClip Frame 1
onenterframe = function () {
if (Key.isDown(66)) {
if (Key.isDown(78)) {
r.energy = r.energymax;
}
}
};
stop();
Symbol 347 Button
on (release) {
gotoAndPlay (17);
}