Frame 1
MochiAd.showPreGameAd({id:"0c1cbdd41b6ed1b6", res:"350x300", background:13167595, color:8643819, outline:5673391, no_bg:true});
stop();
Frame 2
tempo = 0;
stop();
onEnterFrame = function () {
tempo++;
if (tempo >= 70) {
_root.gotoAndStop(3);
}
};
Frame 3
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("c5d39591", this, 10301, true);
Instance of Symbol 20 MovieClip "t" in Frame 3
onClipEvent (load) {
temp = 0;
papel = 0;
score = 0;
sound = 100;
ba = new Sound();
ba.attachSound("ba");
ba.setVolume(sound);
ba.start(0, 999);
teclam = 1;
_root.kongregateServices.connect();
}
onClipEvent (enterFrame) {
Stage.showMenu = false;
if (Key.isDown(77)) {
if (teclam == 1) {
if (sound == 100) {
sound = 0;
} else {
sound = 100;
}
ba.setVolume(sound);
}
}
if (Key.isDown(77)) {
teclam = 0;
} else {
teclam = 1;
}
tempo2 = Math.round(temp / 60);
score = Math.round(2500 + ((papel * 3) - (tempo2 * 1)));
if (score < 0) {
score = 0;
}
}
Frame 4
tempo = 0;
onEnterFrame = function () {
tempo++;
if (tempo >= 100) {
_root.gotoAndStop(5);
}
};
Frame 6
onEnterFrame = function () {
if (_root.sparta.hitTest(casa)) {
_root.gotoAndStop(7);
}
};
Instance of Symbol 37 MovieClip "paper4" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (_root.sparta.hitTest(this)) {
this._alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 39 MovieClip "tiro" in Frame 6
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
_width = _height;
if (_alpha > 0) {
if (dir == 1) {
this._x = this._x + 7;
}
if (dir == 2) {
this._x = this._x - 7;
}
_rotation = (_rotation + 10);
_alpha = (_alpha - 5);
_height = (_height + 6);
_width = _height;
_root.sparta.tem = 0;
if (_root.chao.hitTest(_x, _y, true)) {
_alpha = 0;
}
} else {
_height = 8;
_height = 8;
if (_root.sparta.ga >= 15) {
_root.sparta.tem = 1;
}
}
}
}
Instance of Symbol 37 MovieClip "paper" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper1" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (_root.sparta.hitTest(this)) {
this._alpha = 0;
this.removeMovieClip();
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper2" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (_root.sparta.hitTest(this)) {
this._alpha = 0;
this.removeMovieClip();
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 44 MovieClip "rock2" in Frame 6
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_root.sparta.poded = 0;
} else {
_root.sparta.poded = 1;
}
if (_root.tiro.hitTest(this)) {
cont = 2;
_root.po1.duplicateMovieClip("ba" + cont, cont, cont);
_root["ba" + cont]._y = _y;
_root["ba" + cont]._x = _x;
_root.sparta.poded = 1;
_root.tiro._alpha = 0;
_alpha = 0;
}
}
}
}
Instance of Symbol 37 MovieClip "paper5" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (_root.sparta.hitTest(this)) {
this._alpha = 0;
this.removeMovieClip();
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper6" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (_root.sparta.hitTest(this)) {
this._alpha = 0;
this.removeMovieClip();
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper7" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (_root.sparta.hitTest(this)) {
this._alpha = 0;
this.removeMovieClip();
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 46 MovieClip "cp1" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (_root.sparta.hitTest(this)) {
this._alpha = 50;
_root.sparta.cp = 1;
this.removeMovieClip();
}
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
Instance of Symbol 51 MovieClip "s4" in Frame 6
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
distanciax = _root.sparta._x - _root["cp" + _root.sparta.cp]._x;
distanciay = _root.sparta._y - _root["cp" + _root.sparta.cp]._y;
_root.sparta._x = _root["cp" + _root.sparta.cp]._x;
_root.sparta._y = _root["cp" + _root.sparta.cp]._y;
_root._x = _root._x + distanciax;
_root._y = _root._y + distanciay;
}
}
}
}
Instance of Symbol 53 MovieClip "s5" in Frame 6
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
distanciax = _root.sparta._x - _root["cp" + _root.sparta.cp]._x;
distanciay = _root.sparta._y - _root["cp" + _root.sparta.cp]._y;
_root.sparta._x = _root["cp" + _root.sparta.cp]._x;
_root.sparta._y = _root["cp" + _root.sparta.cp]._y;
_root._x = _root._x + distanciax;
_root._y = _root._y + distanciay;
}
}
}
}
Instance of Symbol 55 MovieClip "spi2" in Frame 6
onClipEvent (load) {
mv = 7;
mve = 0;
sp = 8;
pausa = 30;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (_root.tiro.hitTest(this)) {
_root.tiro._alpha = 0;
}
if (_root.sparta.hitTest(this)) {
distanciax = _root.sparta._x - _root["cp" + _root.sparta.cp]._x;
distanciay = _root.sparta._y - _root["cp" + _root.sparta.cp]._y;
_root.sparta._x = _root["cp" + _root.sparta.cp]._x;
_root.sparta._y = _root["cp" + _root.sparta.cp]._y;
_root._x = _root._x + distanciax;
_root._y = _root._y + distanciay;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv = mv - 1;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 6) {
_y = (_y + (sp / 2));
mv = mv + 0.5;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 30) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 55 MovieClip "spi" in Frame 6
onClipEvent (load) {
mv = 6;
mve = 0;
sp = 10;
pausa = 30;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (_root.tiro.hitTest(this)) {
_root.tiro._alpha = 0;
}
if (_root.sparta.hitTest(this)) {
distanciax = _root.sparta._x - _root["cp" + _root.sparta.cp]._x;
distanciay = _root.sparta._y - _root["cp" + _root.sparta.cp]._y;
_root.sparta._x = _root["cp" + _root.sparta.cp]._x;
_root.sparta._y = _root["cp" + _root.sparta.cp]._y;
_root._x = _root._x + distanciax;
_root._y = _root._y + distanciay;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv = mv - 1;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 6) {
_y = (_y + (sp / 2));
mv = mv + 0.5;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 30) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper18" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper8" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (_root.sparta.hitTest(this)) {
this._alpha = 0;
this.removeMovieClip();
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper8a" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (_root.sparta.hitTest(this)) {
this._alpha = 0;
this.removeMovieClip();
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper9" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (_root.sparta.hitTest(this)) {
this._alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper10" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper11" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper12" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper13" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper14" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper15" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper16" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper17" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 63 MovieClip "spike2" in Frame 6
onClipEvent (load) {
mv = 20;
mve = 0;
sp = 4;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (_root.tiro.hitTest(this)) {
_root.tiro._alpha = 0;
}
if (_root.sparta.hitTest(this)) {
distanciax = _root.sparta._x - _root["cp" + _root.sparta.cp]._x;
distanciay = _root.sparta._y - _root["cp" + _root.sparta.cp]._y;
_root.sparta._x = _root["cp" + _root.sparta.cp]._x;
_root.sparta._y = _root["cp" + _root.sparta.cp]._y;
_root._x = _root._x + distanciax;
_root._y = _root._y + distanciay;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 20) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 10) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 63 MovieClip "spike3" in Frame 6
onClipEvent (load) {
mv = 20;
mve = 0;
sp = 4;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (_root.tiro.hitTest(this)) {
_root.tiro._alpha = 0;
}
if (_root.sparta.hitTest(this)) {
distanciax = _root.sparta._x - _root["cp" + _root.sparta.cp]._x;
distanciay = _root.sparta._y - _root["cp" + _root.sparta.cp]._y;
_root.sparta._x = _root["cp" + _root.sparta.cp]._x;
_root.sparta._y = _root["cp" + _root.sparta.cp]._y;
_root._x = _root._x + distanciax;
_root._y = _root._y + distanciay;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 20) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 10) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 46 MovieClip "cp2" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (_root.sparta.hitTest(this)) {
this._alpha = 50;
_root.sparta.cp = 2;
this.removeMovieClip();
}
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
Instance of Symbol 37 MovieClip "paper20" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper21" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper22" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper23" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper25" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper27" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper27a" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper28" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper29" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper30" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper31" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper32" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 70 MovieClip "spike" in Frame 6
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
distanciax = _root.sparta._x - _root["cp" + _root.sparta.cp]._x;
distanciay = _root.sparta._y - _root["cp" + _root.sparta.cp]._y;
_root.sparta._x = _root["cp" + _root.sparta.cp]._x;
_root.sparta._y = _root["cp" + _root.sparta.cp]._y;
_root._x = _root._x + distanciax;
_root._y = _root._y + distanciay;
}
}
}
}
Instance of Symbol 37 MovieClip "paper50a2" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper50a3" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper50a4" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 72 MovieClip "s6" in Frame 6
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
distanciax = _root.sparta._x - _root["cp" + _root.sparta.cp]._x;
distanciay = _root.sparta._y - _root["cp" + _root.sparta.cp]._y;
_root.sparta._x = _root["cp" + _root.sparta.cp]._x;
_root.sparta._y = _root["cp" + _root.sparta.cp]._y;
_root._x = _root._x + distanciax;
_root._y = _root._y + distanciay;
}
}
}
}
Instance of Symbol 77 MovieClip "esfer" in Frame 6
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (_root.bigra.vi > 0) {
if (_root.sparta.cp == 7) {
if (_root.sparta.pa == 0) {
if (_alpha > 0) {
if (ac == 1) {
_rotation = (_rotation + 5);
dist_x = _root.sparta._x - this._x;
dist_y = _root.sparta._y - this._y;
distance2 = Math.sqrt((dist_x * dist_x) + (dist_y * dist_y));
angle2 = Math.atan2(dist_y, dist_x);
speed2 = distance2 / (distance2 / 4);
xspeed2 = speed2 * Math.cos(angle2);
yspeed2 = speed2 * Math.sin(angle2);
this._x = this._x + xspeed2;
this._y = this._y + yspeed2;
if (_root.tiro.hitTest(this)) {
if (_root.tiro._alpha > 0) {
this._alpha = 0;
cont = 2;
_root.po1.duplicateMovieClip("ba1" + cont, cont, cont);
_root["ba1" + cont]._y = _y;
_root["ba1" + cont]._x = _x;
_root.tiro._alpha = 0;
this.removeMovieClip();
}
}
if (_root.chao.hitTest(_x, _y, true)) {
_alpha = 0;
cont = 2;
_root.po1.duplicateMovieClip("ba1" + cont, cont, cont);
_root["ba1" + cont]._y = _y;
_root["ba1" + cont]._x = _x;
this.removeMovieClip();
}
if (_root.sparta.hitTest(this)) {
_alpha = 0;
cont = 2;
_root.po1.duplicateMovieClip("ba1" + cont, cont, cont);
_root["ba1" + cont]._y = _y;
_root["ba1" + cont]._x = _x;
distanciax = _root.sparta._x - _root["cp" + _root.sparta.cp]._x;
distanciay = _root.sparta._y - _root["cp" + _root.sparta.cp]._y;
_root.sparta._x = _root["cp" + _root.sparta.cp]._x;
_root.sparta._y = _root["cp" + _root.sparta.cp]._y;
_root._x = _root._x + distanciax;
_root._y = _root._y + distanciay;
this.removeMovieClip();
}
}
}
}
}
} else {
_alpha = 0;
cont = 23;
_root.po1.duplicateMovieClip("ba1" + cont, cont, cont);
_root["ba1" + cont]._y = _y;
_root["ba1" + cont]._x = _x;
this.removeMovieClip();
}
}
Instance of Symbol 37 MovieClip "paper33" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper34" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper32a" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper33a" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper34a" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 46 MovieClip "cp3" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (_root.sparta.hitTest(this)) {
this._alpha = 50;
_root.sparta.cp = 3;
this.removeMovieClip();
}
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
Instance of Symbol 37 MovieClip "paper40" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper41" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper42b" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 87 MovieClip "smas" in Frame 6
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (this.hitTest(_root.kil)) {
_root.sparta.ys = _root.sparta.ys + -55;
cont = 2;
_root.po1.duplicateMovieClip("ba" + cont, cont, cont);
_root["ba" + cont]._y = _y;
_root["ba" + cont]._x = _x;
this._alpha = 0;
} else if (_root.sparta.hitTest(this)) {
_root.sparta.xs = _root.sparta.xs * -1;
}
}
}
}
Instance of Symbol 46 MovieClip "cp4" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (_root.sparta.hitTest(this)) {
this._alpha = 50;
_root.sparta.cp = 4;
this.removeMovieClip();
}
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
Instance of Symbol 90 MovieClip "sppike4" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 12;
pausa = 40;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (_root.tiro.hitTest(this)) {
_root.tiro._alpha = 0;
}
if (_root.sparta.hitTest(this)) {
distanciax = _root.sparta._x - _root["cp" + _root.sparta.cp]._x;
distanciay = _root.sparta._y - _root["cp" + _root.sparta.cp]._y;
_root.sparta._x = _root["cp" + _root.sparta.cp]._x;
_root.sparta._y = _root["cp" + _root.sparta.cp]._y;
_root._x = _root._x + distanciax;
_root._y = _root._y + distanciay;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - (sp / 2));
mv = mv - 0.5;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa = pausa - 3;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 40) {
pausa = pausa + 3;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 46 MovieClip "cp5" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (_root.sparta.hitTest(this)) {
this._alpha = 50;
_root.sparta.cp = 5;
this.removeMovieClip();
}
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
Instance of Symbol 37 MovieClip "paper42" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper43" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper45" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper42a" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper43a" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper44a" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper42b" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper43b" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper44b" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper46" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper47" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper48" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper49" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper47b" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 87 MovieClip "smas2" in Frame 6
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (this.hitTest(_root.kil)) {
_root.sparta.ys = _root.sparta.ys + -55;
this._alpha = 0;
cont = 2;
_root.po1.duplicateMovieClip("ba" + cont, cont, cont);
_root["ba" + cont]._y = _y;
_root["ba" + cont]._x = _x;
} else if (_root.sparta.hitTest(this)) {
_root.sparta.xs = _root.sparta.xs * -1;
}
}
}
}
Instance of Symbol 37 MovieClip "paper50a" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 87 MovieClip "smas2b" in Frame 6
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (this.hitTest(_root.kil)) {
_root.sparta.ys = _root.sparta.ys + -55;
this._alpha = 0;
cont = 2;
_root.po1.duplicateMovieClip("ba" + cont, cont, cont);
_root["ba" + cont]._y = _y;
_root["ba" + cont]._x = _x;
} else if (_root.sparta.hitTest(this)) {
_root.sparta.xs = _root.sparta.xs * -1;
}
}
}
}
Instance of Symbol 87 MovieClip "smas2c" in Frame 6
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (this.hitTest(_root.kil)) {
_root.sparta.ys = _root.sparta.ys + -55;
this._alpha = 0;
cont = 2;
_root.po1.duplicateMovieClip("ba" + cont, cont, cont);
_root["ba" + cont]._y = _y;
_root["ba" + cont]._x = _x;
} else if (_root.sparta.hitTest(this)) {
_root.sparta.xs = _root.sparta.xs * -1;
}
}
}
}
Instance of Symbol 87 MovieClip "smas22" in Frame 6
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (this.hitTest(_root.kil)) {
_root.sparta.ys = _root.sparta.ys + -55;
this._alpha = 0;
cont = 2;
_root.po1.duplicateMovieClip("ba" + cont, cont, cont);
_root["ba" + cont]._y = _y;
_root["ba" + cont]._x = _x;
} else if (_root.sparta.hitTest(this)) {
_root.sparta.xs = _root.sparta.xs * -1;
}
}
}
}
Instance of Symbol 87 MovieClip "smas2a2" in Frame 6
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (this.hitTest(_root.kil)) {
_root.sparta.ys = _root.sparta.ys + -55;
this._alpha = 0;
cont = 2;
_root.po1.duplicateMovieClip("ba" + cont, cont, cont);
_root["ba" + cont]._y = _y;
_root["ba" + cont]._x = _x;
} else if (_root.sparta.hitTest(this)) {
_root.sparta.xs = _root.sparta.xs * -1;
}
}
}
}
Instance of Symbol 87 MovieClip "smas2b2" in Frame 6
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (this.hitTest(_root.kil)) {
_root.sparta.ys = _root.sparta.ys + -55;
this._alpha = 0;
cont = 2;
_root.po1.duplicateMovieClip("ba" + cont, cont, cont);
_root["ba" + cont]._y = _y;
_root["ba" + cont]._x = _x;
} else if (_root.sparta.hitTest(this)) {
_root.sparta.xs = _root.sparta.xs * -1;
}
}
}
}
Instance of Symbol 87 MovieClip "smas2c2" in Frame 6
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (this.hitTest(_root.kil)) {
_root.sparta.ys = _root.sparta.ys + -55;
this._alpha = 0;
cont = 2;
_root.po1.duplicateMovieClip("ba" + cont, cont, cont);
_root["ba" + cont]._y = _y;
_root["ba" + cont]._x = _x;
} else if (_root.sparta.hitTest(this)) {
_root.sparta.xs = _root.sparta.xs * -1;
}
}
}
}
Instance of Symbol 87 MovieClip "smas2d2" in Frame 6
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (this.hitTest(_root.kil)) {
_root.sparta.ys = _root.sparta.ys + -55;
this._alpha = 0;
cont = 2;
_root.po1.duplicateMovieClip("ba" + cont, cont, cont);
_root["ba" + cont]._y = _y;
_root["ba" + cont]._x = _x;
} else if (_root.sparta.hitTest(this)) {
_root.sparta.xs = _root.sparta.xs * -1;
}
}
}
}
Instance of Symbol 92 MovieClip "reff3" in Frame 6
onClipEvent (load) {
pot = 110;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (this.hitTest(_root.kil)) {
_root.sparta.ys = -pot;
} else if (_root.sparta.hitTest(this)) {
_root.sparta.xs = _root.sparta.xs * -1;
_root.sparta.ys = 0;
}
}
}
}
Instance of Symbol 37 MovieClip "paper50" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper51" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper51" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper50a" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper51a" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper502" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper512" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper509" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper51a2" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper502b" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper512b" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper50a2b" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper51a2b" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 46 MovieClip "cp6" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.9;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (_root.sparta.hitTest(this)) {
this._alpha = 50;
_root.sparta.cp = 6;
this.removeMovieClip();
}
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
Instance of Symbol 95 MovieClip "espet" in Frame 6
onClipEvent (load) {
mv = 6;
mve = 0;
sp = 14;
pausa = 30;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (_root.tiro.hitTest(this)) {
_root.tiro._alpha = 0;
}
if (_root.sparta.hitTest(this)) {
distanciax = _root.sparta._x - _root["cp" + _root.sparta.cp]._x;
distanciay = _root.sparta._y - _root["cp" + _root.sparta.cp]._y;
_root.sparta._x = _root["cp" + _root.sparta.cp]._x;
_root.sparta._y = _root["cp" + _root.sparta.cp]._y;
_root._x = _root._x + distanciax;
_root._y = _root._y + distanciay;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv = mv - 1;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 6) {
_y = (_y + sp);
mv = mv + 1;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 10) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 95 MovieClip "espet2" in Frame 6
onClipEvent (load) {
mv = 6;
mve = 0;
sp = 12;
pausa = 30;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (_root.tiro.hitTest(this)) {
_root.tiro._alpha = 0;
}
if (_root.sparta.hitTest(this)) {
distanciax = _root.sparta._x - _root["cp" + _root.sparta.cp]._x;
distanciay = _root.sparta._y - _root["cp" + _root.sparta.cp]._y;
_root.sparta._x = _root["cp" + _root.sparta.cp]._x;
_root.sparta._y = _root["cp" + _root.sparta.cp]._y;
_root._x = _root._x + distanciax;
_root._y = _root._y + distanciay;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv = mv - 1;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 6) {
_y = (_y + sp);
mv = mv + 1;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 8) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 95 MovieClip "espet3" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 16;
pausa = 30;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (_root.tiro.hitTest(this)) {
_root.tiro._alpha = 0;
}
if (_root.sparta.hitTest(this)) {
distanciax = _root.sparta._x - _root["cp" + _root.sparta.cp]._x;
distanciay = _root.sparta._y - _root["cp" + _root.sparta.cp]._y;
_root.sparta._x = _root["cp" + _root.sparta.cp]._x;
_root.sparta._y = _root["cp" + _root.sparta.cp]._y;
_root._x = _root._x + distanciax;
_root._y = _root._y + distanciay;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv = mv - 1;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv = mv + 1;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 4) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 100 MovieClip "ra2" in Frame 6
onClipEvent (load) {
mv = 40;
mve = 0;
sp = 4;
pi = 1;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (_root.tiro.hitTest(this)) {
this._alpha = 0;
_root.po1.duplicateMovieClip("ba" + cont, cont, cont);
_root["ba" + cont]._y = _y;
_root["ba" + cont]._x = _x;
_root.tiro._alpha = 0;
}
if (this.hitTest(_root.kil)) {
_root.sparta.ys = -60;
cont = 2;
_root.po1.duplicateMovieClip("ba" + cont, cont, cont);
_root["ba" + cont]._y = _y;
_root["ba" + cont]._x = _x;
this._alpha = 0;
} else if (_root.sparta.hitTest(this)) {
po = 1;
distanciax = _root.sparta._x - _root["cp" + _root.sparta.cp]._x;
distanciay = _root.sparta._y - _root["cp" + _root.sparta.cp]._y;
_root.sparta._x = _root["cp" + _root.sparta.cp]._x;
_root.sparta._y = _root["cp" + _root.sparta.cp]._y;
_root._x = _root._x + distanciax;
_root._y = _root._y + distanciay;
}
if (mve == 0) {
if (mv > 0) {
gotoAndStop (1);
_x = (_x - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 40) {
_x = (_x + sp);
gotoAndStop (2);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 10) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 100 MovieClip "ra3" in Frame 6
onClipEvent (load) {
mv = 40;
mve = 0;
sp = 7;
pi = 1;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (_root.tiro.hitTest(this)) {
this._alpha = 0;
_root.po1.duplicateMovieClip("ba" + cont, cont, cont);
_root["ba" + cont]._y = _y;
_root["ba" + cont]._x = _x;
_root.tiro._alpha = 0;
}
if (this.hitTest(_root.kil)) {
_root.sparta.ys = -60;
this._alpha = 0;
cont = 2;
_root.po1.duplicateMovieClip("ba" + cont, cont, cont);
_root["ba" + cont]._y = _y;
_root["ba" + cont]._x = _x;
} else if (_root.sparta.hitTest(this)) {
po = 1;
distanciax = _root.sparta._x - _root["cp" + _root.sparta.cp]._x;
distanciay = _root.sparta._y - _root["cp" + _root.sparta.cp]._y;
_root.sparta._x = _root["cp" + _root.sparta.cp]._x;
_root.sparta._y = _root["cp" + _root.sparta.cp]._y;
_root._x = _root._x + distanciax;
_root._y = _root._y + distanciay;
}
if (mve == 0) {
if (mv > 0) {
gotoAndStop (1);
_x = (_x - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 40) {
_x = (_x + sp);
gotoAndStop (2);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 10) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper504" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper513" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "paper51a3" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 27 MovieClip "po1" in Frame 6
onClipEvent (load) {
_alpha = 100;
_height = 23;
_width = 26;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha > 0) {
_height = (_height + 0.5);
_width = (_width + 0.5);
_alpha = (_alpha - 10);
}
}
}
Instance of Symbol 100 MovieClip "ra" in Frame 6
onClipEvent (load) {
mv = 40;
mve = 0;
sp = 6;
pi = 1;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (_root.tiro.hitTest(this)) {
this._alpha = 0;
_root.tiro._alpha = 0;
_root.po1.duplicateMovieClip("ba" + cont, cont, cont);
_root["ba" + cont]._y = _y;
_root["ba" + cont]._x = _x;
}
if (this.hitTest(_root.kil)) {
cont = 2;
_root.po1.duplicateMovieClip("ba" + cont, cont, cont);
_root["ba" + cont]._y = _y;
_root["ba" + cont]._x = _x;
_root.sparta.ys = -60;
this._alpha = 0;
} else if (_root.sparta.hitTest(this)) {
po = 1;
distanciax = _root.sparta._x - _root["cp" + _root.sparta.cp]._x;
distanciay = _root.sparta._y - _root["cp" + _root.sparta.cp]._y;
_root.sparta._x = _root["cp" + _root.sparta.cp]._x;
_root.sparta._y = _root["cp" + _root.sparta.cp]._y;
_root._x = _root._x + distanciax;
_root._y = _root._y + distanciay;
}
if (mve == 0) {
if (mv > 0) {
gotoAndStop (1);
_x = (_x - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 40) {
_x = (_x + sp);
gotoAndStop (2);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 10) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 107 MovieClip "bigra" in Frame 6
onClipEvent (load) {
pi = 0;
vi = 8;
temp = 0;
cont = 0;
}
onClipEvent (enterFrame) {
_root.hp.a._width = (vi / 8) * 84;
if (vi == 0) {
_root.hp._alpha = 0;
}
if (_root.sparta.cp == 7) {
if (vi <= 0) {
cont10 = 5;
_root.esfer._alpha = 0;
_root.lock.ac = 1;
_alpha = 0;
}
if (_root.sparta.pa == 0) {
if (vi > 0) {
temp++;
if (temp > (35 + (vi * 3))) {
cont++;
_root.esfer.duplicateMovieClip("es" + cont, cont, cont);
_root["es" + cont]._y = _y + Math.floor(Math.random(100) * 50);
_root["es" + cont]._x = _x - Math.floor(Math.random(100) * 50);
_root["es" + cont].ac = 1;
temp = 0;
}
if (pi > 0) {
_alpha = 10;
pi--;
stop();
} else {
play();
_alpha = 100;
}
if (_root.tiro.hitTest(this)) {
if (_root.tiro._alpha > 0) {
_root.tiro._alpha = 0;
vi--;
pi = 3;
}
}
}
}
}
}
Instance of Symbol 46 MovieClip "cp7" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.9;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (_root.sparta.hitTest(this)) {
this._alpha = 50;
_root.sparta.cp = 7;
this.removeMovieClip();
}
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
Instance of Symbol 37 MovieClip "papel10" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "papel11" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "papel12" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 115 MovieClip "sparta" in Frame 6
onClipEvent (load) {
ys = 0;
xs = 0;
v = 3;
ch = 0;
gravi = 0;
up = 1;
space = 1;
dir = 2;
time = 0;
gotoAndStop (2);
papel = 0;
pa = 0;
p = 1;
mover = 1;
cp = 1;
poder = 1;
poded = 1;
_root.kil._width = _width - 1;
_root.kil._x = _x;
_root.kil._y = _y + (_height / 2);
_root.kil._alpha = 0;
_root.timebox._x = _x - 188;
_root.timebox._y = _y - 163;
ga = 15;
_root.t.temp = -1;
_root._x = 0;
_root._y = 0;
}
onClipEvent (enterFrame) {
if (ga < 15) {
ga++;
}
_root.t.papel = papel;
if (p == 1) {
if (Key.isDown(80)) {
p = 0;
if (pa == 0) {
pa = 1;
} else {
pa = 0;
}
}
}
if (Key.isDown(80)) {
p = 0;
} else {
p = 1;
}
if (pa == 1) {
_root.telapa._alpha = 100;
_root.telapa._x = _x;
_root.telapa._y = _y;
} else {
_root.telapa._y = 428.9;
_root.telapa._alpha = 0;
}
if (pa == 0) {
_root.t.temp = _root.t.temp + 2.4;
if ((_root.chao.hitTest((_x - (_width / 2)) + 4, _y - (_height / 2), true) or _root.chao.hitTest((_x + (_width / 2)) - 4, _y - (_height / 2), true)) or _root.chao.hitTest(_x, (_y - (_height / 2)) - 5, true)) {
_root._y = _root._y + (ys / 2);
this._y = this._y - (ys / 2);
}
if (tem == 1) {
_root.timebox.timebox.text = ((("Papers: " + papel) + " Time: ") + _root.t.tempo2) + " Fart: Yes!";
}
if (tem == 0) {
_root.timebox.timebox.text = ((("Papers: " + papel) + " Time: ") + _root.t.tempo2) + " Fart: No!";
}
if (_root.chao.hitTest(_x - (_width / 2), (_y + (_height / 2)) - 12, true)) {
} else if (poder == 1) {
if (Key.isDown(37)) {
gotoAndStop (1);
if (ch == 2) {
this.a.play();
} else {
this.a.gotoAndStop(3);
}
_x = (_x - (v + 1));
_root._x = _root._x + (v + 1);
dir = 1;
}
}
if (_root.chao.hitTest(_x + (_width / 2), (_y + (_height / 2)) - 12, true)) {
} else if (poded == 1) {
if (Key.isDown(39)) {
_x = (_x + (v + 1));
this.a.play();
_root._x = _root._x - (v + 1);
gotoAndStop (2);
if (ch == 2) {
this.a.play();
} else {
this.a.gotoAndStop(3);
}
dir = 2;
}
}
if (Key.isDown(32)) {
if (tem == 1) {
if (space == 1) {
cont++;
if (dir == 1) {
_root.tiro._x = _x + (_width / 2);
}
if (dir == 2) {
_root.tiro._x = _x - (_width / 2);
}
_root.tiro._y = _y + (_height / 5);
_root.tiro._alpha = 100;
_root.tiro._rotation = 0;
_root.tiro.dir = dir;
_root.sparta.ga = 0;
}
}
}
if (Key.isDown(32)) {
space = 0;
} else {
space = 1;
}
xs = xs * 0.6;
ys = ys * 0.7;
if ((_root.chao.hitTest((_x - (_width / 2)) + 5, _y + (_height / 2), true) or _root.chao.hitTest((_x + (_width / 2)) - 5, _y + (_height / 2), true)) or _root.chao.hitTest(_x, _y + (_height / 2), true)) {
if (ch < 2) {
ch = 2;
this.a.gotoAndStop(1);
}
_root._y = _root._y - ys;
this._y = this._y + ys;
gravi = 0;
savex = Math.round(_x);
savey = Math.round(_y);
if (Key.isDown(38)) {
ys = ys + ((-v) * 12);
ch = 1;
up = 0;
gravi = 4;
} else {
ys = 0;
}
} else {
this.a.gotoAndStop(3);
if (gravi == 0) {
gravi = 5;
}
if (gravi <= 8) {
if (Key.isDown(40)) {
gravi = gravi + 0.3;
} else {
gravi = gravi + 0.2;
}
}
if (Key.isDown(38)) {
if (up == 1) {
if (ch >= 1) {
ys = ys + ((-v) * 15);
ch = ch - 1;
up = 0;
}
}
}
if (_root.esca.hitTest(_x, _y, true)) {
ch = 2;
if ((_root.chao.hitTest(_x - (_width / 2), (_y - (_height / 2)) - 5, true) or _root.chao.hitTest(_x + (_width / 2), (_y - (_height / 2)) - 5, true)) or _root.chao.hitTest(_x, (_y - (_height / 2)) - 5, true)) {
_root._y = _root._y - 4;
this._y = this._y + 4;
}
if (Key.isDown(38)) {
_y = (_y - v);
_root._y = _root._y + v;
} else if (Key.isDown(40)) {
_y = (_y + v);
_root._y = _root._y - v;
}
} else {
veloy = (ys / 2) + gravi;
_root._y = _root._y - veloy;
this._y = this._y + veloy;
}
if (Key.isDown(38)) {
up = 0;
} else {
up = 1;
}
}
_root.timebox._x = _x - 170;
_root.timebox._y = _y - 138;
_root.kil._x = _x;
_root.kil._y = _y + (_height / 2);
}
}
Instance of Symbol 122 MovieClip "lock" in Frame 6
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (ac == 1) {
cont = 20;
_root.po1.duplicateMovieClip("ba1" + cont, cont, cont);
_root["ba1" + cont]._y = _y;
_root["ba1" + cont]._x = _x;
_alpha = 0;
}
if (_root.sparta.hitTest(this)) {
_root.sparta.poded = 0;
} else {
_root.sparta.poded = 1;
}
if (_root.tiro.hitTest(this)) {
if (_root.tiro._alpha > 0) {
_root.tiro._alpha = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "pppppp" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "papppe" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "papel9645" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 37 MovieClip "papel6845" in Frame 6
onClipEvent (load) {
mv = 10;
mve = 0;
sp = 0.5;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (_alpha == 100) {
if (_root.sparta.hitTest(this)) {
_alpha = 0;
_root.sparta.papel++;
}
if (mve == 0) {
if (mv > 0) {
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 10) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 2) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Frame 7
_x = 0;
_y = 0;
Frame 9
_root.kongregateStats.submit("Points", _root.t.score);
scshow = 0;
NonobaAPI.SubmitScore("points", _root.t.score, function (response) {
switch (response) {
case NonobaAPI.SUCCESS :
trace("The score was submitted successfully");
break;
case NonobaAPI.NOT_LOGGED_IN :
trace("The user is not logged in");
break;
case NonobaAPI.ERROR :
trace("An error occurred.");
}
});
NonobaAPI.AwardAchievement("bath", function (response, count) {
switch (response) {
case NonobaAPI.SUCCESS :
trace("The achievement was successfully awarded.");
trace(("It has been awarded " + count) + " times.");
break;
case NonobaAPI.NOT_LOGGED_IN :
trace("The user is not logged in.");
break;
case NonobaAPI.ERROR :
trace("An error occurred.");
}
});
if (_root.t.score > 2500) {
NonobaAPI.AwardAchievement("fart", function (response, count) {
switch (response) {
case NonobaAPI.SUCCESS :
trace("The achievement was successfully awarded.");
trace(("It has been awarded " + count) + " times.");
break;
case NonobaAPI.NOT_LOGGED_IN :
trace("The user is not logged in.");
break;
case NonobaAPI.ERROR :
trace("An error occurred.");
}
});
}
onEnterFrame = function () {
if (scshow < _root.t.score) {
scshow = scshow + ((_root.t.score - scshow) / 3);
}
if (scshow > _root.t.score) {
scshow = _root.t.score;
}
if ((_root.t.score - scshow) <= 10) {
scshow = _root.t.score;
}
scshow = Math.round(scshow);
_root.pbox.text = scshow + " Points";
};
Instance of Symbol 25 MovieClip in Frame 9
on (release) {
stage = 1;
_root.gotoAndPlay(2);
}
Symbol 4 MovieClip Frame 1
Symbol 132 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd
{
function MochiAd () {
}
static function getVersion() {
return("2.2");
}
static function showPreGameAd(options) {
var _local27 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.gotoAndStop(2);
}};
options = _parseOptions(options, _local27);
var clip = options.clip;
var _local23 = 11000;
var _local26 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local14 = _getRes(options);
var _local4 = _local14[0];
var _local13 = _local14[1];
mc._x = _local4 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local4 * -0.5;
chk._y = _local13 * -0.5;
var _local7 = chk.createEmptyMovieClip("_mochiad_bar", 4);
_local7._x = 10;
_local7._y = _local13 - 20;
var _local22 = options.color;
delete options.color;
var _local19 = options.background;
delete options.background;
var _local24 = options.outline;
delete options.outline;
var _local5 = _local7.createEmptyMovieClip("_outline", 1);
_local5.beginFill(_local19);
_local5.moveTo(0, 0);
_local5.lineTo(_local4 - 20, 0);
_local5.lineTo(_local4 - 20, 10);
_local5.lineTo(0, 10);
_local5.lineTo(0, 0);
_local5.endFill();
var _local3 = _local7.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local22);
_local3.moveTo(0, 0);
_local3.lineTo(_local4 - 20, 0);
_local3.lineTo(_local4 - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var _local6 = _local7.createEmptyMovieClip("_outline", 3);
_local6.lineStyle(0, _local24, 100);
_local6.moveTo(0, 0);
_local6.lineTo(_local4 - 20, 0);
_local6.lineTo(_local4 - 20, 10);
_local6.lineTo(0, 10);
_local6.lineTo(0, 0);
chk.ad_msec = _local23;
chk.ad_timeout = _local26;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = function (width, height) {
};
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local12 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local10 = (100 * _local8) / _local4;
var _local11 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local2 = Math.min(100, Math.min(_local10 || 0, _local11));
_local2 = Math.max(this.last_pcnt, _local2);
this.last_pcnt = _local2;
_local9._xscale = _local2;
if (!chk.showing) {
var _local7 = _local12.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local5 > chk.ad_timeout) {
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showInterLevelAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.stop();
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = function (width, height) {
};
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showTimedAd(options) {
showInterLevelAd(options);
}
static function showPreloaderAd(options) {
showPreGameAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function _loadCommunicator(options) {
var _local26 = {clip:_root, com_server:"http://x.mochiads.com/com/1/", method:"loadCommunicator", depth:10337, id:"_UNKNOWN_"};
options = _parseOptions(options, _local26);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local18 = options.clip;
var _local20 = "_mochiad_com_" + options.id;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local18[_local20]) {
return(_local18[_local20].lc);
}
var _local21 = options.com_server + options.id;
_allowDomains(_local21);
delete options.id;
delete options.com_server;
var _local25 = options.depth;
delete options.depth;
var _local17 = _local18.createEmptyMovieClip(_local20, _local25);
var _local11 = _local17.createEmptyMovieClip("_mochiad_com", 1);
for (var _local15 in options) {
_local11[_local15] = options[_local15];
}
var _local6 = new LocalConnection();
var _local16 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local6.mc = _local17;
_local6.name = _local16;
_local6.allowDomain = function (d) {
return(true);
};
_local6.allowInsecureDomain = _local6.allowDomain;
_local6.connect(_local16);
_local17.lc = _local6;
_local11.lc = _local16;
_local6._id = 0;
_local6._queue = [];
_local6.rpcResult = function (cb_arg) {
var _local8 = parseInt(cb_arg);
var _local4 = this._callbacks[_local8];
if (!_local4) {
return(undefined);
}
delete this._callbacks[_local8];
var _local5 = [];
var _local3 = 2;
while (_local3 < _local4.length) {
_local5.push(_local4[_local3]);
_local3++;
}
_local3 = 1;
while (_local3 < arguments.length) {
_local5.push(arguments[_local3]);
_local3++;
}
var _local6 = _local4[1];
var _local7 = _local4[0];
if (_local7 && (typeof(_local6) == "string")) {
_local6 = _local7[_local6];
}
if (_local6) {
_local6.apply(_local7, _local5);
}
};
_local6._didConnect = function (endpoint) {
this._endpoint = endpoint;
var _local4 = this._queue;
delete this._queue;
var _local5 = this.doSend;
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2];
_local5.apply(this, _local3);
_local2++;
}
};
_local6.doSend = function (args, cbobj, cbfn) {
if (this._endpoint == null) {
var _local4 = [];
var _local3 = 0;
while (_local3 < arguments.length) {
_local4.push(arguments[_local3]);
_local3++;
}
this._queue.push(_local4);
return(undefined);
}
this._id = this._id + 1;
var _local5 = this._id;
if ((cbfn === undefined) || (cbfn === null)) {
cbfn = cbobj;
}
this._callbacks[_local5] = [cbobj, cbfn];
var _local7 = new LocalConnection();
var _local9 = _local7.send(this._endpoint, "rpc", _local5, args);
};
_local6._callbacks = {};
_local6._callbacks[0] = [_local6, "_didConnect"];
_local11.st = getTimer();
_local11.loadMovie(_local21 + ".swf", "POST");
return(_local6);
}
static function fetchHighScores(options, callbackObj, callbackMethod) {
var _local1 = _loadCommunicator({id:options.id});
if (!_local1) {
return(false);
}
var _local4 = ["fetchHighScores", options];
_local1.doSend(["fetchHighScores", options], callbackObj, callbackMethod);
return(true);
}
static function sendHighScore(options, callbackObj, callbackMethod) {
var _local1 = _loadCommunicator({id:options.id});
if (!_local1) {
return(false);
}
var _local4 = ["sendHighScore", options];
_local1.doSend(["sendHighScore", options], callbackObj, callbackMethod);
return(true);
}
static function load(options) {
var _local13 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local13);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local9 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local9._mochiad_loaded) {
return(null);
}
var _local12 = options.depth;
delete options.depth;
var _local6 = _local9.createEmptyMovieClip("_mochiad", _local12);
var _local11 = _getRes(options);
options.res = (_local11[0] + "x") + _local11[1];
options.server = options.server + options.id;
delete options.id;
_local9._mochiad_loaded = true;
var _local4 = _local6.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local7 in options) {
_local4[_local7] = options[_local7];
}
var _local10 = _local4.server;
delete _local4.server;
var _local14 = _allowDomains(_local10);
_local6.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new LocalConnection();
var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = _local6;
_local5.name = _local8;
_local5.hostname = _local14;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local8);
_local6.lc = _local5;
_local4.lc = _local8;
_local4.st = getTimer();
_local4.loadMovie(_local10 + ".swf", "POST");
return(_local6);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
if (_local4.id == "test") {
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
}
return(_local4);
}
}
Symbol 133 MovieClip [__Packages.mx.utils.Delegate] Frame 0
class mx.utils.Delegate extends Object
{
var func;
function Delegate (f) {
super();
func = f;
}
static function create(obj, func) {
var _local2 = function () {
var _local2 = arguments.callee.target;
var _local3 = arguments.callee.func;
return(_local3.apply(_local2, arguments));
};
_local2.target = obj;
_local2.func = func;
return(_local2);
}
function createDelegate(obj) {
return(create(obj, func));
}
}
Symbol 11 MovieClip Frame 70
stop();
Symbol 18 Button
on (release) {
_root.gotoAndStop(4);
}
Symbol 25 MovieClip Frame 1
stop();
Symbol 32 Button
on (release) {
_root.gotoAndStop(6);
}
Symbol 70 MovieClip Frame 1
stop();
Instance of Symbol 81 MovieClip in Symbol 82 MovieClip Frame 1
onClipEvent (load) {
mv = 35;
mve = 0;
sp = 4;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (_root.tiro.hitTest(this)) {
_root.tiro._alpha = 0;
}
if (mve == 0) {
if (mv > 0) {
if (_root.kil.hitTest(this)) {
_root.sparta._y = _root.sparta._y - (sp * 1.5);
_root._y = _root._y + (sp * 1.5);
_root.kil._y = _root.kil._y - (sp * 1.5);
}
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 35) {
_y = (_y + sp);
mv++;
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 10) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 81 MovieClip "z" in Symbol 83 MovieClip Frame 1
onClipEvent (load) {
mv = 35;
mve = 0;
sp = 4;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (_root.tiro.hitTest(this)) {
_root.tiro._alpha = 0;
}
if (mve == 0) {
if (mv > 0) {
if (_root.kil.hitTest(this)) {
_root.sparta._x = _root.sparta._x - sp;
_root._x = _root._x + sp;
_root.kil._x = _root.kil._x - sp;
}
_x = (_x - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 35) {
_x = (_x + sp);
mv++;
if (_root.kil.hitTest(this)) {
_root.sparta._x = _root.sparta._x + sp;
_root._x = _root._x - sp;
_root.kil._x = _root.kil._x + sp;
}
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 10) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 81 MovieClip "z2" in Symbol 83 MovieClip Frame 1
onClipEvent (load) {
mv = 25;
mve = 0;
sp = 4;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (_root.tiro.hitTest(this)) {
_root.tiro._alpha = 0;
}
if (mve == 0) {
if (mv > 0) {
if (_root.kil.hitTest(this)) {
_root.sparta._x = _root.sparta._x - sp;
_root._x = _root._x + sp;
_root.kil._x = _root.kil._x - sp;
}
_x = (_x - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 35) {
_x = (_x + sp);
mv++;
if (_root.kil.hitTest(this)) {
_root.sparta._x = _root.sparta._x + sp;
_root._x = _root._x - sp;
_root.kil._x = _root.kil._x + sp;
}
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 10) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 81 MovieClip "z3" in Symbol 83 MovieClip Frame 1
onClipEvent (load) {
mv = 15;
mve = 0;
sp = 4;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (_root.tiro.hitTest(this)) {
_root.tiro._alpha = 0;
}
if (mve == 0) {
if (mv > 0) {
if (_root.kil.hitTest(this)) {
_root.sparta._x = _root.sparta._x - sp;
_root._x = _root._x + sp;
_root.kil._x = _root.kil._x - sp;
}
_x = (_x - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 35) {
_x = (_x + sp);
mv++;
if (_root.kil.hitTest(this)) {
_root.sparta._x = _root.sparta._x + sp;
_root._x = _root._x - sp;
_root.kil._x = _root.kil._x + sp;
}
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 10) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Instance of Symbol 81 MovieClip "z4" in Symbol 83 MovieClip Frame 1
onClipEvent (load) {
mv = 35;
mve = 0;
sp = 4;
}
onClipEvent (enterFrame) {
if (_root.sparta.pa == 0) {
if (this._alpha == 100) {
if (_root.tiro.hitTest(this)) {
_root.tiro._alpha = 0;
}
if (mve == 0) {
if (mv > 0) {
if (_root.kil.hitTest(this)) {
_root.sparta._x = _root.sparta._x - sp;
_root._x = _root._x + sp;
_root.kil._x = _root.kil._x - sp;
_root.sparta._y = _root.sparta._y - sp;
_root._y = _root._y + sp;
_root.kil._y = _root.kil._y - sp;
}
_x = (_x - sp);
_y = (_y - sp);
mv--;
} else {
mve = 3;
}
}
if (mve == 3) {
if (pausa > 0) {
pausa--;
} else {
mve = 1;
}
}
if (mve == 1) {
if (mv < 35) {
_x = (_x + sp);
_y = (_y + sp);
mv++;
if (_root.kil.hitTest(this)) {
_root.sparta._x = _root.sparta._x + sp;
_root._x = _root._x - sp;
_root.kil._x = _root.kil._x + sp;
_root.sparta._y = _root.sparta._y + sp;
_root._y = _root._y - sp;
_root.kil._y = _root.kil._y + sp;
}
} else {
mve = 4;
}
}
if (mve == 4) {
if (pausa < 10) {
pausa++;
} else {
mve = 0;
}
}
}
}
}
Symbol 99 MovieClip Frame 10
gotoAndPlay (1);
Symbol 100 MovieClip Frame 1
stop();
Symbol 100 MovieClip Frame 2
stop();
Symbol 107 MovieClip Frame 1
stop();
Symbol 115 MovieClip Frame 1
stop();
Symbol 115 MovieClip Frame 2
stop();
Symbol 123 MovieClip Frame 17
stop();
_root.gotoAndStop(8);
Symbol 124 MovieClip Frame 116
_root.gotoAndStop(9);
stop();
Symbol 131 Button
on (release) {
_root.gotoAndStop(3);
}