Frame 1
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);
}
fscommand (showmenu, false);
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
__com_mochibot__("71da31ef", this, 10301, true);
if (PercentLoaded < 100) {
bar._xscale = PercentLoaded;
} else {
urlStart = _url.indexOf("://") + 3;
urlEnd = _url.indexOf("/", urlStart);
domain = _url.substring(urlStart, urlEnd);
LastDot = domain.lastIndexOf(".") - 1;
pfixEnd = domain.lastIndexOf(".", LastDot) + 1;
domain = domain.substring(pfixEnd, domain.length);
var musicplay = true;
var musicplaying = false;
var playingambient = 1;
gotoAndPlay (3);
}
Frame 2
gotoAndPlay (1);
Frame 3
function itemHandler1(obj, item) {
getURL ("http://www.voltgames.com", _blank);
}
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
item1 = new ContextMenuItem("Visit Volt Games", itemHandler1);
myMenu.customItems.push(item1);
_root.menu = myMenu;
Frame 33
MochiAd.showInterLevelAd({id:"e04a09007e5f159d", res:"800x600"});
Frame 168
gotoAndPlay ("menuintro");
Frame 178
if ((musicplay == true) && (musicplaying == false)) {
music.gotoAndPlay(2);
musicplaying = true;
}
stop();
Instance of Symbol 377 MovieClip in Frame 208
on (release) {
getURL ("http://www.fissiongames.com", "_blank");
}
Frame 218
if (musicplaying == false) {
button_btn1._visible = false;
} else {
button_btn2._visible = false;
}
if (playingambient == 0) {
button_btn11._visible = false;
} else {
button_btn12._visible = false;
}
stop();
Instance of Symbol 403 MovieClip "m" in Frame 218
onClipEvent (enterFrame) {
if (_root._quality eq "MEDIUM") {
_root.m.gotoAndStop(2);
} else {
_root.m.gotoAndStop(1);
}
}
Instance of Symbol 404 MovieClip "h" in Frame 218
onClipEvent (enterFrame) {
if (_root._quality eq "HIGH") {
_root.h.gotoAndStop(2);
} else {
_root.h.gotoAndStop(1);
}
}
Instance of Symbol 407 MovieClip "l" in Frame 218
onClipEvent (enterFrame) {
if (_root._quality eq "LOW") {
_root.l.gotoAndStop(2);
} else {
_root.l.gotoAndStop(1);
}
}
Frame 228
function initGame() {
if (playingambient == 0) {
ambient.gotoAndStop(1);
stopAllSounds();
} else {
ambient.gotoAndPlay(2);
}
}
function movePersons() {
for (var _local2 in pajarracos.people) {
per = _root.pajarracos.people[_local2];
if (per.tipo == 1) {
if (per.muerto == true) {
} else {
per._x = per._x - ((3 * per._xscale) / 100);
}
} else if (per.tipo == 2) {
if (per.muerto == true) {
} else {
per._x = per._x - ((3 * per._xscale) / 100);
}
} else if (per.tipo == 3) {
pir = per.person3;
if (pir._currentframe == 1) {
per._x = per._x - ((55.5 * per._xscale) / 100);
}
} else if (per.tipo == 5) {
pir = per.person5;
if (pir._currentframe == 1) {
per._x = per._x - ((55.5 * per._xscale) / 100);
}
} else if (per.tipo == 4) {
if (per.muerto == true) {
} else {
per._x = per._x - ((3 * per._xscale) / 100);
}
}
if (per._x < -50) {
per.removeMovieClip();
}
}
}
function newBird(typen) {
if (eval ("timeSinceLastBird" + typen) > 20) {
if (Math.random() < 0.1) {
switch (typen) {
case 1 :
tempy = (Math.random() * 100) + 50;
tempx = 820;
clip = "birdsAr";
signo = -8;
break;
case 4 :
tempy = (Math.random() * 100) + 50;
tempx = 820;
clip = "parrotsAr";
signo = -vel;
break;
case 3 :
tempy = (Math.random() * 100) + 50;
tempx = -20;
clip = "birdsAl";
signo = 8;
break;
case 2 :
tempy = (Math.random() * 100) + 50;
tempx = -20;
clip = "parrotsAl";
signo = vel;
}
lastBird++;
pajarracos.birds.attachMovie(clip, "bird" + lastBird, lastBird, {_x:tempx, _y:tempy, hit:false, thing:typen, sign:signo});
f = int(Math.random() * _root.pajarracos.birds["bird" + lastBird]._totalframes);
_root.pajarracos.birds["bird" + lastBird].gotoAndStop(f);
_root["timeSinceLastBird" + typen] = 0;
}
}
_root["timeSinceLastBird" + typen]++;
}
function moveBirds() {
var _local2;
for (_local2 in _root.pajarracos.birds) {
pato = _root.pajarracos.birds[_local2];
pato._x = pato._x + pato.sign;
if ((pato._x < -100) || (pato._x > 900)) {
pato.removeMovieClip();
}
}
}
function aimStraw() {
dx = _xmouse - straw._x;
dy = _ymouse - straw._y;
if (_ymouse > 560) {
_root.cursor._visible = false;
Mouse.show();
} else {
_root.cursor._visible = true;
Mouse.hide();
strawRadians = Math.atan2(dy, dx);
strawDegrees = (360 * strawRadians) / (Math.PI*2);
straw._rotation = strawDegrees;
}
}
function newPerson() {
if (timeSinceLastPerson > 180) {
if (Math.random() < 0.1) {
lastPerson++;
pajarracos.people.attachMovie("persons", "person" + lastPerson, lastPerson, {_x:810, _y:370, muerto:false});
f5 = int((Math.random() * pajarracos.people["person" + lastPerson]._totalframes) + 1);
pajarracos.people["person" + lastPerson].tipo = f5;
pajarracos.people["person" + lastPerson].gotoAndStop(f5);
timeSinceLastPerson = 0;
}
}
timeSinceLastPerson++;
}
function startGame() {
_root.initGame();
_root.pajarracos.createEmptyMovieClip("birds", 2);
_root.pajarracos.createEmptyMovieClip("people", 1);
_root.prevscore = _root.score;
_root.scorito = _root.prevscore;
_root.prevscore = _root.score;
score = _root.score;
shotsLeft = 20;
_root.prevlevel = _root.level;
level = _root.level;
_root.showScore = "$ " + score;
_root.showlevel = "Current level " + level;
_root.showShotsLeft = shotsLeft;
_root.timer3 = 0;
Mouse.hide();
}
function removeAllThings() {
Mouse.show();
onEnterFrame = function () {
};
Mouse.show();
pajarracos.birds.removeMovieClip();
pajarracos.people.removeMovieClip();
}
var muertos = 0;
var timer = 0;
var timer2 = 0;
var asesino = false;
var timeSinceLastBird1 = 0;
var timeSinceLastBird2 = 0;
var timeSinceLastBird3 = 0;
var timeSinceLastBird4 = 0;
var timeSinceLastParrot = 0;
var timeSinceLastPerson = 160;
var lastBird = 0;
var lastPerson = 0;
var sco1 = -2;
var sco2 = 5;
var sco3 = -2;
var sco4 = 5;
var i;
random = Math.random;
startGame();
onEnterFrame = function () {
i = 1;
while (i < 5) {
_root.newBird(i);
i++;
}
_root.moveBirds();
_root.aimStraw();
_root.newPerson();
_root.movePersons();
_root.cursor._x = _root._xmouse;
_root.cursor._y = _root._ymouse;
_root.timer3++;
if ((shotsLeft < 1) or (_root.timer3 >= 3000)) {
_root.score = score;
_root.timer2 = _root.timer2 + 1;
if (_root.asesino == 1) {
_root.removeAllThings();
_root.gotoAndPlay("police");
} else if (_root.timer2 >= 3) {
if ((_root.score - _root.scorito) > 50) {
_root.removeAllThings();
_root.gotoAndStop("EndW");
} else {
_root.removeAllThings();
_root.gotoAndStop("EndL");
}
}
}
};
stop();
Instance of Symbol 443 MovieClip in Frame 228
onClipEvent (enterFrame) {
if (_root.asesino == true) {
_root.timer++;
if (_root.timer >= 40) {
_root.removeAll();
_root.gotoAndPlay("police");
}
}
}
Instance of Symbol 446 MovieClip in Frame 228
onClipEvent (mouseDown) {
_root.shotsLeft--;
var i;
_root.cursor.gotoAndPlay("blast");
x = _root._root.cursor._x;
y = _root._root.cursor._y;
i = 1;
while (i < 5) {
if (_root["light" + i].hitTest(x, y, false)) {
if (_root["light" + i].exploding != true) {
_root.score = _root.score - 10;
_root["light" + i].exploding = true;
_root["light" + i].gotoAndPlay("lampost-exploding");
}
}
i++;
}
for (var i in _root.pajarracos.birds) {
pato = _root.pajarracos.birds[i];
if (pato.hitTest(_root.cursor) && (pato.hit == false)) {
pato.hit = true;
_root.score = _root.score + _root["sco" + pato.thing];
pato.gotoAndPlay("plumas");
}
}
for (var i in _root.pajarracos.people) {
pato = _root.pajarracos.people[i];
if (pato.hitTest(_root.cursor) && (pato.muerto == false)) {
pato.muerto = true;
tip = pato.tipo;
_root.asesino = 1;
switch (tip) {
case 1 :
pato.person1.gotoAndStop("hit1");
break;
case 2 :
pato.person2.gotoAndStop("hit2");
break;
case 3 :
pato.person3.gotoAndStop("hit3");
break;
case 4 :
pato.person4.gotoAndStop("hit4");
break;
case 5 :
pato.person5.gotoAndStop("hit5");
}
_root["muerto" + muertos] = i;
}
}
_root.showScore = "$ " + _root.score;
_root.showlevel = "Current level " + level;
_root.showShotsLeft = _root.shotsLeft;
}
onClipEvent (unload) {
}
Frame 229
function initGame() {
if (playingambient == 0) {
ambient.gotoAndStop(1);
stopAllSounds();
} else {
ambient.gotoAndPlay(2);
}
}
function movePersons() {
for (var _local2 in pajarracos.people) {
per = _root.pajarracos.people[_local2];
if (per.tipo == 1) {
if (per.muerto == true) {
} else {
per._x = per._x - ((3 * per._xscale) / 100);
}
} else if (per.tipo == 2) {
if (per.muerto == true) {
} else {
per._x = per._x - ((3 * per._xscale) / 100);
}
} else if (per.tipo == 3) {
pir = per.person3;
if (pir._currentframe == 1) {
per._x = per._x - ((55.5 * per._xscale) / 100);
}
} else if (per.tipo == 5) {
pir = per.person5;
if (pir._currentframe == 1) {
per._x = per._x - ((55.5 * per._xscale) / 100);
}
} else if (per.tipo == 4) {
if (per.muerto == true) {
} else {
per._x = per._x - ((3 * per._xscale) / 100);
}
}
if (per._x < -50) {
per.removeMovieClip();
}
}
}
function newBird(typen) {
if (eval ("timeSinceLastBird" + typen) > 20) {
if (Math.random() < 0.1) {
switch (typen) {
case 1 :
tempy = (Math.random() * 100) + 50;
tempx = 820;
clip = "birdsAr";
signo = -8;
break;
case 4 :
tempy = (Math.random() * 100) + 50;
tempx = 820;
clip = "parrotsAr";
signo = -vel;
break;
case 3 :
tempy = (Math.random() * 100) + 50;
tempx = -20;
clip = "birdsAl";
signo = 8;
break;
case 2 :
tempy = (Math.random() * 100) + 50;
tempx = -20;
clip = "parrotsAl";
signo = vel;
}
lastBird++;
pajarracos.birds.attachMovie(clip, "bird" + lastBird, lastBird, {_x:tempx, _y:tempy, hit:false, thing:typen, sign:signo});
f = int(Math.random() * _root.pajarracos.birds["bird" + lastBird]._totalframes);
_root.pajarracos.birds["bird" + lastBird].gotoAndStop(f);
_root["timeSinceLastBird" + typen] = 0;
}
}
_root["timeSinceLastBird" + typen]++;
}
function moveBirds() {
var _local2;
for (_local2 in _root.pajarracos.birds) {
pato = _root.pajarracos.birds[_local2];
pato._x = pato._x + pato.sign;
if ((pato._x < -100) || (pato._x > 900)) {
pato.removeMovieClip();
}
}
}
function aimStraw() {
dx = _xmouse - straw._x;
dy = _ymouse - straw._y;
if (_ymouse > 560) {
_root.cursor._visible = false;
Mouse.show();
} else {
_root.cursor._visible = true;
Mouse.hide();
strawRadians = Math.atan2(dy, dx);
strawDegrees = (360 * strawRadians) / (Math.PI*2);
straw._rotation = strawDegrees;
}
}
function newPerson() {
if (timeSinceLastPerson > 180) {
if (Math.random() < 0.1) {
lastPerson++;
pajarracos.people.attachMovie("persons", "person" + lastPerson, lastPerson, {_x:810, _y:330, muerto:false, _xscale:200, _yscale:200});
f5 = int((Math.random() * pajarracos.people["person" + lastPerson]._totalframes) + 1);
pajarracos.people["person" + lastPerson].tipo = f5;
pajarracos.people["person" + lastPerson].gotoAndStop(f5);
timeSinceLastPerson = 0;
}
}
timeSinceLastPerson++;
}
function startGame() {
_root.initGame();
_root.pajarracos.createEmptyMovieClip("birds", 2);
_root.pajarracos.createEmptyMovieClip("people", 1);
_root.prevscore = _root.score;
_root.scorito = _root.prevscore;
_root.prevscore = _root.score;
score = _root.score;
shotsLeft = 20;
_root.prevlevel = _root.level;
level = _root.level;
_root.showScore = "$ " + score;
_root.showlevel = "Current level " + _root.level;
_root.showShotsLeft = shotsLeft;
_root.timer3 = 0;
Mouse.hide();
}
function removeAllThings() {
Mouse.show();
onEnterFrame = function () {
};
Mouse.show();
pajarracos.birds.removeMovieClip();
pajarracos.people.removeMovieClip();
}
var muertos = 0;
var timer = 0;
var timer2 = 0;
var asesino = false;
var timeSinceLastBird1 = 0;
var timeSinceLastBird2 = 0;
var timeSinceLastBird3 = 0;
var timeSinceLastBird4 = 0;
var timeSinceLastParrot = 0;
var timeSinceLastPerson = 160;
var lastBird = 0;
var lastPerson = 0;
var sco1 = -2;
var sco2 = 5;
var sco3 = -2;
var sco4 = 5;
var i;
random = Math.random;
startGame();
onEnterFrame = function () {
i = 1;
while (i < 5) {
_root.newBird(i);
i++;
}
_root.moveBirds();
_root.aimStraw();
_root.newPerson();
_root.movePersons();
_root.cursor._x = _root._xmouse;
_root.cursor._y = _root._ymouse;
_root.timer3++;
if ((shotsLeft < 1) or (_root.timer3 >= 3000)) {
_root.score = score;
_root.timer2 = _root.timer2 + 1;
if (_root.asesino == 1) {
_root.removeAllThings();
_root.gotoAndPlay("police");
} else if (_root.timer2 >= 3) {
if ((_root.score - _root.scorito) > 50) {
_root.removeAllThings();
_root.gotoAndStop("EndW");
} else {
_root.removeAllThings();
_root.gotoAndStop("EndL");
}
}
}
};
stop();
Instance of Symbol 443 MovieClip in Frame 229
onClipEvent (enterFrame) {
if (_root.asesino == true) {
_root.timer++;
if (_root.timer >= 40) {
_root.removeAll();
_root.gotoAndPlay("police");
}
}
}
Instance of Symbol 446 MovieClip in Frame 229
onClipEvent (mouseDown) {
_root.shotsLeft--;
var i;
_root.cursor.gotoAndPlay("blast");
x = _root._root.cursor._x;
y = _root._root.cursor._y;
i = 1;
while (i < 5) {
if (_root["light" + i].hitTest(x, y, false)) {
if (_root["light" + i].exploding != true) {
_root.score = _root.score - 10;
_root["light" + i].exploding = true;
_root["light" + i].gotoAndPlay("lampost-exploding");
}
}
i++;
}
for (var i in _root.pajarracos.birds) {
pato = _root.pajarracos.birds[i];
if (pato.hitTest(_root.cursor) && (pato.hit == false)) {
pato.hit = true;
_root.score = _root.score + _root["sco" + pato.thing];
pato.gotoAndPlay("plumas");
}
}
for (var i in _root.pajarracos.people) {
pato = _root.pajarracos.people[i];
if (pato.hitTest(_root.cursor) && (pato.muerto == false)) {
pato.muerto = true;
tip = pato.tipo;
_root.asesino = 1;
switch (tip) {
case 1 :
pato.person1.gotoAndStop("hit1");
break;
case 2 :
pato.person2.gotoAndStop("hit2");
break;
case 3 :
pato.person3.gotoAndStop("hit3");
break;
case 4 :
pato.person4.gotoAndStop("hit4");
break;
case 5 :
pato.person5.gotoAndStop("hit5");
}
_root["muerto" + muertos] = i;
}
}
_root.showScore = "$ " + _root.score;
_root.showlevel = "Current level " + _root.level;
_root.showShotsLeft = _root.shotsLeft;
}
Frame 230
function initGame() {
if (playingambient == 0) {
ambient.gotoAndStop(1);
stopAllSounds();
} else {
ambient.gotoAndPlay(2);
}
}
function newBird(typen) {
if (((eval ("timeSinceLastBird" + typen) > 20) && (typen != 7)) || (timeSinceLastBird7 > 100)) {
if (Math.random() < 0.1) {
switch (typen) {
case 1 :
tempy = (Math.random() * 100) + 50;
tempx = 820;
clip = "birdsAr";
signo = -8;
break;
case 4 :
tempy = (Math.random() * 100) + 50;
tempx = 820;
clip = "parrotsAr";
signo = -vel;
break;
case 3 :
tempy = (Math.random() * 100) + 50;
tempx = -20;
clip = "birdsAl";
signo = 8;
break;
case 2 :
tempy = (Math.random() * 100) + 50;
tempx = -20;
clip = "parrotsAl";
signo = vel;
break;
case 5 :
tempy = (Math.random() * 100) + 50;
tempx = 820;
clip = "flyingducksAr";
signo = -8;
break;
case 6 :
tempy = (Math.random() * 100) + 50;
tempx = -20;
clip = "flyingducksAl";
signo = 8;
break;
case 7 :
tempy = (Math.random() * 50) + 400;
tempx = 820;
clip = "ducks";
signo = -2;
}
lastBird++;
pajarracos.birds.attachMovie(clip, "bird" + lastBird, lastBird, {_x:tempx, _y:tempy, hit:false, thing:typen, sign:signo});
f = int(Math.random() * _root.pajarracos.birds["bird" + lastBird]._totalframes);
_root.pajarracos.birds["bird" + lastBird].gotoAndStop(f);
_root["timeSinceLastBird" + typen] = 0;
}
}
_root["timeSinceLastBird" + typen]++;
}
function moveBirds() {
var _local2;
for (_local2 in _root.pajarracos.birds) {
pato = _root.pajarracos.birds[_local2];
pato._x = pato._x + pato.sign;
if ((pato._x < -100) || (pato._x > 900)) {
pato.removeMovieClip();
}
}
}
function aimStraw() {
dx = _xmouse - straw._x;
dy = _ymouse - straw._y;
if (_ymouse > 560) {
_root.cursor._visible = false;
Mouse.show();
} else {
_root.cursor._visible = true;
Mouse.hide();
strawRadians = Math.atan2(dy, dx);
strawDegrees = (360 * strawRadians) / (Math.PI*2);
straw._rotation = strawDegrees;
}
}
function startGame() {
_root.initGame();
_root.pajarracos.createEmptyMovieClip("birds", 2);
_root.pajarracos.createEmptyMovieClip("ducks", 1);
_root.prevscore = _root.score;
_root.scorito = _root.prevscore;
_root.prevscore = _root.score;
score = _root.score;
shotsLeft = 20;
_root.prevlevel = _root.level;
level = _root.level;
_root.showScore = "$ " + score;
_root.showlevel = "Current level " + level;
_root.showShotsLeft = shotsLeft;
_root.timer3 = 0;
Mouse.hide();
}
function removeAllThings() {
Mouse.show();
onEnterFrame = function () {
};
Mouse.show();
pajarracos.birds.removeMovieClip();
pajarracos.ducks.removeMovieClip();
}
var muertos = 0;
var timer = 0;
var timer2 = 0;
var asesino = false;
var timeSinceLastBird1 = 0;
var timeSinceLastBird2 = 0;
var timeSinceLastBird3 = 0;
var timeSinceLastBird4 = 0;
var timeSinceLastBird5 = 0;
var timeSinceLastBird6 = 0;
var timeSinceLastBird7 = 0;
var timeSinceLastParrot = 0;
var timeSinceLastPerson = 160;
var lastBird = 0;
var lastPerson = 0;
var sco1 = -2;
var sco2 = 5;
var sco3 = -2;
var sco4 = 5;
var sco5 = -2;
var sco6 = -2;
var sco7 = -2;
var i;
random = Math.random;
startGame();
onEnterFrame = function () {
i = 1;
while (i < 8) {
_root.newBird(i);
i++;
}
_root.moveBirds();
_root.aimStraw();
_root.cursor._x = _root._xmouse;
_root.cursor._y = _root._ymouse;
_root.timer3++;
if ((shotsLeft < 1) or (_root.timer3 >= 3000)) {
_root.score = score;
_root.timer2 = _root.timer2 + 1;
if (_root.asesino == 1) {
_root.removeAllThings();
_root.gotoAndPlay("police");
} else if (_root.timer2 >= 3) {
if ((_root.score - _root.scorito) > 50) {
_root.removeAllThings();
_root.gotoAndStop("EndW");
} else {
_root.removeAllThings();
_root.gotoAndStop("EndL");
}
}
}
};
stop();
Instance of Symbol 443 MovieClip in Frame 230
onClipEvent (enterFrame) {
if (_root.asesino == true) {
_root.timer++;
if (_root.timer >= 40) {
_root.removeAll();
_root.gotoAndPlay("police");
}
}
}
Instance of Symbol 446 MovieClip in Frame 230
onClipEvent (mouseDown) {
_root.shotsLeft--;
var i;
_root.cursor.gotoAndPlay("blast");
x = _root._root.cursor._x;
y = _root._root.cursor._y;
i = 1;
while (i < 5) {
if (_root["light" + i].hitTest(x, y, false)) {
if (_root["light" + i].exploding != true) {
_root.score = _root.score - 10;
_root["light" + i].exploding = true;
_root["light" + i].gotoAndPlay("lampost-exploding");
}
}
i++;
}
for (var i in _root.pajarracos.birds) {
pato = _root.pajarracos.birds[i];
if (pato.hitTest(_root.cursor) && (pato.hit == false)) {
pato.hit = true;
_root.score = _root.score + _root["sco" + pato.thing];
pato.gotoAndPlay("plumas");
}
}
for (var i in _root.pajarracos.people) {
pato = _root.pajarracos.people[i];
if (pato.hitTest(_root.cursor) && (pato.muerto == false)) {
pato.muerto = true;
tip = pato.tipo;
_root.asesino = 1;
switch (tip) {
case 1 :
pato.person1.gotoAndStop("hit1");
break;
case 2 :
pato.person2.gotoAndStop("hit2");
break;
case 3 :
pato.person3.gotoAndStop("hit3");
break;
case 4 :
pato.person4.gotoAndStop("hit4");
break;
case 5 :
pato.person5.gotoAndStop("hit5");
}
_root["muerto" + muertos] = i;
}
}
_root.showScore = "$ " + _root.score;
_root.showlevel = "Current level " + level;
_root.showShotsLeft = _root.shotsLeft;
}
onClipEvent (unload) {
}
Frame 231
function initGame() {
if (playingambient == 0) {
ambient.gotoAndStop(1);
stopAllSounds();
} else {
ambient.gotoAndPlay(2);
}
}
function movePersons() {
for (var _local2 in pajarracos.people) {
per = _root.pajarracos.people[_local2];
if (per.tipo == 1) {
if (per.muerto == true) {
} else {
per._x = per._x - ((3 * per._xscale) / 100);
}
} else if (per.tipo == 2) {
if (per.muerto == true) {
} else {
per._x = per._x - ((3 * per._xscale) / 100);
}
} else if (per.tipo == 3) {
pir = per.person3;
if (pir._currentframe == 1) {
per._x = per._x - ((55.5 * per._xscale) / 100);
}
} else if (per.tipo == 5) {
pir = per.person5;
if (pir._currentframe == 1) {
per._x = per._x - ((55.5 * per._xscale) / 100);
}
} else if (per.tipo == 4) {
if (per.muerto == true) {
} else {
per._x = per._x - ((3 * per._xscale) / 100);
}
}
if (per._x < -50) {
per.removeMovieClip();
}
}
}
function newBird(typen) {
if (eval ("timeSinceLastBird" + typen) > 20) {
if (Math.random() < 0.1) {
switch (typen) {
case 1 :
tempy = (Math.random() * 100) + 50;
tempx = 820;
clip = "birdsAr";
signo = -8;
break;
case 4 :
tempy = (Math.random() * 100) + 50;
tempx = 820;
clip = "parrotsAr";
signo = -vel;
break;
case 3 :
tempy = (Math.random() * 100) + 50;
tempx = -20;
clip = "birdsAl";
signo = 8;
break;
case 2 :
tempy = (Math.random() * 100) + 50;
tempx = -20;
clip = "parrotsAl";
signo = vel;
}
lastBird++;
pajarracos.birds.attachMovie(clip, "bird" + lastBird, lastBird, {_x:tempx, _y:tempy, hit:false, thing:typen, sign:signo});
f = int(Math.random() * _root.pajarracos.birds["bird" + lastBird]._totalframes);
_root.pajarracos.birds["bird" + lastBird].gotoAndStop(f);
_root["timeSinceLastBird" + typen] = 0;
}
}
_root["timeSinceLastBird" + typen]++;
}
function moveBirds() {
var _local2;
for (_local2 in _root.pajarracos.birds) {
pato = _root.pajarracos.birds[_local2];
pato._x = pato._x + pato.sign;
if ((pato._x < -100) || (pato._x > 900)) {
pato.removeMovieClip();
}
}
}
function aimStraw() {
dx = _xmouse - straw._x;
dy = _ymouse - straw._y;
if (_ymouse > 560) {
_root.cursor._visible = false;
Mouse.show();
} else {
_root.cursor._visible = true;
Mouse.hide();
strawRadians = Math.atan2(dy, dx);
strawDegrees = (360 * strawRadians) / (Math.PI*2);
straw._rotation = strawDegrees;
}
}
function newPerson() {
if (timeSinceLastPerson > 180) {
if (Math.random() < 0.1) {
lastPerson++;
pajarracos.people.attachMovie("persons", "person" + lastPerson, lastPerson, {_x:810, _y:493, muerto:false, _xscale:120, _yscale:120});
f5 = int((Math.random() * pajarracos.people["person" + lastPerson]._totalframes) + 1);
pajarracos.people["person" + lastPerson].tipo = f5;
pajarracos.people["person" + lastPerson].gotoAndStop(f5);
timeSinceLastPerson = 0;
}
}
timeSinceLastPerson++;
}
function startGame() {
_root.initGame();
_root.pajarracos.createEmptyMovieClip("birds", 2);
_root.pajarracos.createEmptyMovieClip("people", 1);
_root.prevscore = _root.score;
_root.scorito = _root.prevscore;
_root.prevscore = _root.score;
score = _root.score;
shotsLeft = 20;
_root.prevlevel = _root.level;
level = _root.level;
_root.showScore = "$ " + score;
_root.showlevel = "Current level " + level;
_root.showShotsLeft = shotsLeft;
_root.timer3 = 0;
Mouse.hide();
}
function removeAllThings() {
Mouse.show();
onEnterFrame = function () {
};
Mouse.show();
pajarracos.birds.removeMovieClip();
pajarracos.people.removeMovieClip();
}
var muertos = 0;
var timer = 0;
var timer2 = 0;
var asesino = false;
var timeSinceLastBird1 = 0;
var timeSinceLastBird2 = 0;
var timeSinceLastBird3 = 0;
var timeSinceLastBird4 = 0;
var timeSinceLastParrot = 0;
var timeSinceLastPerson = 160;
var lastBird = 0;
var lastPerson = 0;
var sco1 = -2;
var sco2 = 5;
var sco3 = -2;
var sco4 = 5;
var i;
random = Math.random;
startGame();
onEnterFrame = function () {
i = 1;
while (i < 5) {
_root.newBird(i);
i++;
}
_root.moveBirds();
_root.aimStraw();
_root.newPerson();
_root.movePersons();
_root.cursor._x = _root._xmouse;
_root.cursor._y = _root._ymouse;
_root.timer3++;
if ((shotsLeft < 1) or (_root.timer3 >= 3000)) {
_root.score = score;
_root.timer2 = _root.timer2 + 1;
if (_root.asesino == 1) {
_root.removeAllThings();
_root.gotoAndPlay("police");
} else if (_root.timer2 >= 3) {
if ((_root.score - scorito) > 50) {
_root.removeAllThings();
_root.gotoAndStop("EndW");
} else {
_root.removeAllThings();
_root.gotoAndStop("EndL");
}
}
}
};
stop();
Instance of Symbol 443 MovieClip in Frame 231
onClipEvent (enterFrame) {
if (_root.asesino == true) {
_root.timer++;
if (_root.timer >= 40) {
_root.removeAll();
_root.gotoAndPlay("police");
}
}
}
Instance of Symbol 446 MovieClip in Frame 231
onClipEvent (mouseDown) {
_root.shotsLeft--;
var i;
_root.cursor.gotoAndPlay("blast");
x = _root._root.cursor._x;
y = _root._root.cursor._y;
i = 1;
while (i < 5) {
if (_root["light" + i].hitTest(x, y, false)) {
if (_root["light" + i].exploding != true) {
_root.score = _root.score - 10;
_root["light" + i].exploding = true;
_root["light" + i].gotoAndPlay("lampost-exploding");
}
}
i++;
}
for (var i in _root.pajarracos.birds) {
pato = _root.pajarracos.birds[i];
if (pato.hitTest(_root.cursor) && (pato.hit == false)) {
pato.hit = true;
_root.score = _root.score + _root["sco" + pato.thing];
pato.gotoAndPlay("plumas");
}
}
for (var i in _root.pajarracos.people) {
pato = _root.pajarracos.people[i];
if (pato.hitTest(_root.cursor) && (pato.muerto == false)) {
pato.muerto = true;
tip = pato.tipo;
_root.asesino = 1;
switch (tip) {
case 1 :
pato.person1.gotoAndStop("hit1");
break;
case 2 :
pato.person2.gotoAndStop("hit2");
break;
case 3 :
pato.person3.gotoAndStop("hit3");
break;
case 4 :
pato.person4.gotoAndStop("hit4");
break;
case 5 :
pato.person5.gotoAndStop("hit5");
}
_root["muerto" + muertos] = i;
}
}
_root.showScore = "$ " + _root.score;
_root.showlevel = "Current level " + level;
_root.showShotsLeft = _root.shotsLeft;
}
onClipEvent (unload) {
}
Frame 232
function initGame() {
if (playingambient == 0) {
ambient.gotoAndStop(1);
stopAllSounds();
} else {
ambient.gotoAndPlay(2);
}
}
function movePersons() {
for (var _local2 in pajarracos.people) {
per = _root.pajarracos.people[_local2];
if (per.tipo == 1) {
if (per.muerto == true) {
} else {
per._x = per._x - ((3 * per._xscale) / 100);
}
} else if (per.tipo == 2) {
if (per.muerto == true) {
} else {
per._x = per._x - ((3 * per._xscale) / 100);
}
} else if (per.tipo == 3) {
pir = per.person3;
if (pir._currentframe == 1) {
per._x = per._x - ((55.5 * per._xscale) / 100);
}
} else if (per.tipo == 5) {
pir = per.person5;
if (pir._currentframe == 1) {
per._x = per._x - ((55.5 * per._xscale) / 100);
}
} else if (per.tipo == 4) {
if (per.muerto == true) {
} else {
per._x = per._x - ((3 * per._xscale) / 100);
}
}
if (per._x < -50) {
per.removeMovieClip();
}
}
}
function newBird(typen) {
if (eval ("timeSinceLastBird" + typen) > 20) {
if (Math.random() < 0.1) {
switch (typen) {
case 1 :
tempy = (Math.random() * 100) + 50;
tempx = 820;
clip = "birdsAr";
signo = -8;
break;
case 4 :
tempy = (Math.random() * 100) + 50;
tempx = 820;
clip = "parrotsAr";
signo = -vel;
break;
case 3 :
tempy = (Math.random() * 100) + 50;
tempx = -20;
clip = "birdsAl";
signo = 8;
break;
case 2 :
tempy = (Math.random() * 100) + 50;
tempx = -20;
clip = "parrotsAl";
signo = vel;
}
lastBird++;
pajarracos.birds.attachMovie(clip, "bird" + lastBird, lastBird, {_x:tempx, _y:tempy, hit:false, thing:typen, sign:signo});
f = int(Math.random() * _root.pajarracos.birds["bird" + lastBird]._totalframes);
_root.pajarracos.birds["bird" + lastBird].gotoAndStop(f);
_root["timeSinceLastBird" + typen] = 0;
}
}
_root["timeSinceLastBird" + typen]++;
}
function moveBirds() {
var _local2;
for (_local2 in _root.pajarracos.birds) {
pato = _root.pajarracos.birds[_local2];
pato._x = pato._x + pato.sign;
if ((pato._x < -100) || (pato._x > 900)) {
pato.removeMovieClip();
}
}
}
function aimStraw() {
dx = _xmouse - straw._x;
dy = _ymouse - straw._y;
if (_ymouse > 560) {
_root.cursor._visible = false;
Mouse.show();
} else {
_root.cursor._visible = true;
Mouse.hide();
strawRadians = Math.atan2(dy, dx);
strawDegrees = (360 * strawRadians) / (Math.PI*2);
straw._rotation = strawDegrees;
}
}
function newPerson() {
if (timeSinceLastPerson > 180) {
if (Math.random() < 0.1) {
lastPerson++;
pajarracos.people.attachMovie("persons", "person" + lastPerson, lastPerson, {_x:810, _y:312, muerto:false});
f5 = int((Math.random() * pajarracos.people["person" + lastPerson]._totalframes) + 1);
pajarracos.people["person" + lastPerson].tipo = f5;
pajarracos.people["person" + lastPerson].gotoAndStop(f5);
timeSinceLastPerson = 0;
}
}
timeSinceLastPerson++;
}
function startGame() {
_root.initGame();
_root.pajarracos.createEmptyMovieClip("birds", 2);
_root.pajarracos.createEmptyMovieClip("people", 1);
_root.prevscore = _root.score;
_root.scorito = _root.prevscore;
_root.prevscore = _root.score;
score = _root.score;
shotsLeft = 20;
_root.prevlevel = _root.level;
level = _root.level;
_root.showScore = "$ " + score;
_root.showlevel = "Current level " + level;
_root.showShotsLeft = shotsLeft;
_root.timer3 = 0;
Mouse.hide();
}
function removeAllThings() {
Mouse.show();
onEnterFrame = function () {
};
Mouse.show();
pajarracos.birds.removeMovieClip();
pajarracos.people.removeMovieClip();
}
var muertos = 0;
var timer = 0;
var timer2 = 0;
var asesino = false;
var timeSinceLastBird1 = 0;
var timeSinceLastBird2 = 0;
var timeSinceLastBird3 = 0;
var timeSinceLastBird4 = 0;
var timeSinceLastParrot = 0;
var timeSinceLastPerson = 160;
var lastBird = 0;
var lastPerson = 0;
var sco1 = -2;
var sco2 = 5;
var sco3 = -2;
var sco4 = 5;
var i;
random = Math.random;
startGame();
onEnterFrame = function () {
i = 1;
while (i < 5) {
_root.newBird(i);
i++;
}
_root.moveBirds();
_root.aimStraw();
_root.newPerson();
_root.movePersons();
_root.cursor._x = _root._xmouse;
_root.cursor._y = _root._ymouse;
_root.timer3++;
if ((shotsLeft < 1) or (_root.timer3 >= 3000)) {
_root.score = score;
_root.timer2 = _root.timer2 + 1;
if (_root.asesino == 1) {
_root.removeAllThings();
_root.gotoAndPlay("police");
} else if (_root.timer2 >= 3) {
if ((_root.score - scorito) > 50) {
_root.removeAllThings();
_root.gotoAndStop("EndW");
} else {
_root.removeAllThings();
_root.gotoAndStop("EndL");
}
}
}
};
stop();
Instance of Symbol 443 MovieClip in Frame 232
onClipEvent (enterFrame) {
if (_root.asesino == true) {
_root.timer++;
if (_root.timer >= 40) {
_root.removeAll();
_root.gotoAndPlay("police");
}
}
}
Instance of Symbol 446 MovieClip in Frame 232
onClipEvent (mouseDown) {
_root.shotsLeft--;
var i;
_root.cursor.gotoAndPlay("blast");
x = _root._root.cursor._x;
y = _root._root.cursor._y;
i = 1;
while (i < 5) {
if (_root["light" + i].hitTest(x, y, false)) {
if (_root["light" + i].exploding != true) {
_root.score = _root.score - 10;
_root["light" + i].exploding = true;
_root["light" + i].gotoAndPlay("lampost-exploding");
}
}
i++;
}
for (var i in _root.pajarracos.birds) {
pato = _root.pajarracos.birds[i];
if (pato.hitTest(_root.cursor) && (pato.hit == false)) {
pato.hit = true;
_root.score = _root.score + _root["sco" + pato.thing];
pato.gotoAndPlay("plumas");
}
}
for (var i in _root.pajarracos.people) {
pato = _root.pajarracos.people[i];
if (pato.hitTest(_root.cursor) && (pato.muerto == false)) {
pato.muerto = true;
tip = pato.tipo;
_root.asesino = 1;
switch (tip) {
case 1 :
pato.person1.gotoAndStop("hit1");
break;
case 2 :
pato.person2.gotoAndStop("hit2");
break;
case 3 :
pato.person3.gotoAndStop("hit3");
break;
case 4 :
pato.person4.gotoAndStop("hit4");
break;
case 5 :
pato.person5.gotoAndStop("hit5");
}
_root["muerto" + muertos] = i;
}
}
_root.showScore = "$ " + _root.score;
_root.showlevel = "Current level " + level;
_root.showShotsLeft = _root.shotsLeft;
}
onClipEvent (unload) {
}
Frame 233
stopAllSounds();
showlevel = "Current Level: " + _root.level;
_root.showScore = "$ " + int(score);
stop();
Frame 234
stop();
Frame 235
stopAllSounds();
stop();
Frame 236
showlevel = "Current Level: " + _root.level;
Frame 237
stopAllSounds();
onEnterFrame = function () {
Mouse.show();
};
Frame 383
Mouse.show();
stop();
onEnterFrame = function () {
};
Symbol 25 MovieClip [plumas] Frame 12
stop();
Symbol 37 MovieClip [plumas-] Frame 12
stop();
Symbol 52 Button
on (release) {
getURL ("http://www.voltgames.com/index.php?ref=3", _blank);
}
Symbol 79 MovieClip Frame 1
if (!first) {
first = true;
gotoAndPlay(Math.floor(Math.random() * _totalframes));
}
Symbol 82 Button
on (release) {
getURL ("http://www.voltgames.com/index.php?ref=3", _blank);
}
Symbol 662 MovieClip [__Packages.MochiAd] Frame 0
class MochiAd
{
function MochiAd () {
}
static function getVersion() {
return("2.1");
}
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.play();
}};
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.play();
}};
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++;
}
}
return(_local4);
}
}
Symbol 120 MovieClip Frame 1
if (!first) {
first = true;
gotoAndPlay(Math.floor(Math.random() * _totalframes));
}
Symbol 122 Button
on (release) {
gotoAndPlay ("menuintro2");
}
Symbol 154 Button
on (release) {
gotoAndPlay ("menuintro2");
}
Symbol 155 MovieClip Frame 20
stop();
Symbol 162 Button
on (release) {
getURL ("http://www.fissiongames.com", "_blank");
}
Symbol 169 Button
on (release) {
musicplaying = false;
stopAllSounds();
_root.level = 1;
_root.score = 200;
_root.scorito = 200;
_root.vel = 7;
gotoAndStop ("mission1");
}
Symbol 173 Button
on (release) {
gotoAndStop ("instructions1");
}
Symbol 177 Button
on (release) {
gotoAndStop ("options");
}
Symbol 181 Button
on (release) {
gotoAndStop ("credits");
}
Symbol 185 Button
on (release) {
getURL ("http://www.voltgames.com/index.php?ref=3", _blank);
}
Symbol 204 MovieClip [hit1] Frame 7
stop();
Symbol 205 MovieClip Frame 14
gotoAndPlay (1);
Symbol 205 MovieClip Frame 15
stop();
Symbol 224 MovieClip [hit2] Frame 7
stop();
Symbol 225 MovieClip Frame 14
gotoAndPlay (1);
Symbol 225 MovieClip Frame 15
stop();
Symbol 241 MovieClip [hit3] Frame 9
stop();
Symbol 242 MovieClip Frame 14
gotoAndPlay (1);
Symbol 242 MovieClip Frame 15
stop();
Symbol 263 MovieClip [hit4] Frame 7
stop();
Symbol 264 MovieClip Frame 14
gotoAndPlay (1);
Symbol 280 MovieClip [hit5] Frame 9
stop();
Symbol 281 MovieClip Frame 14
gotoAndPlay (1);
Symbol 282 MovieClip [Persons] Frame 1
stop();
Symbol 282 MovieClip [Persons] Frame 2
stop();
Symbol 282 MovieClip [Persons] Frame 3
stop();
Symbol 282 MovieClip [Persons] Frame 4
stop();
Symbol 282 MovieClip [Persons] Frame 5
stop();
Symbol 284 MovieClip [ParrotsAl] Frame 1
stop();
stop();
Symbol 284 MovieClip [ParrotsAl] Frame 2
stop();
stop();
Symbol 285 MovieClip [ParrotsAr] Frame 1
stop();
stop();
Symbol 285 MovieClip [ParrotsAr] Frame 2
stop();
stop();
Symbol 304 MovieClip [ducks] Frame 1
stop();
stop();
Symbol 304 MovieClip [ducks] Frame 2
stop();
stop();
Symbol 304 MovieClip [ducks] Frame 3
stop();
stop();
Symbol 304 MovieClip [ducks] Frame 4
stop();
stop();
Symbol 309 MovieClip [flyingducksAl] Frame 1
stop();
stop();
Symbol 309 MovieClip [flyingducksAl] Frame 2
stop();
stop();
Symbol 310 MovieClip [flyingducksAr] Frame 1
stop();
stop();
Symbol 310 MovieClip [flyingducksAr] Frame 2
stop();
stop();
Symbol 319 MovieClip [birdsAl] Frame 1
stop();
stop();
Symbol 319 MovieClip [birdsAl] Frame 2
stop();
stop();
Symbol 319 MovieClip [birdsAl] Frame 3
stop();
stop();
Symbol 320 MovieClip [birdsAr] Frame 1
stop();
stop();
Symbol 320 MovieClip [birdsAr] Frame 2
stop();
stop();
Symbol 320 MovieClip [birdsAr] Frame 3
stop();
stop();
Symbol 326 MovieClip [Cursor] Frame 1
stop();
Symbol 333 MovieClip [lamppost_exploding] Frame 1
stop();
Symbol 333 MovieClip [lamppost_exploding] Frame 7
stop();
Symbol 342 MovieClip Frame 1
stop();
Symbol 342 MovieClip Frame 482
trace("boo");
gotoAndPlay (2);
Symbol 342 MovieClip Frame 483
stop();
Symbol 354 Button
on (release) {
gotoAndStop ("instructions2");
}
Symbol 358 Button
on (release) {
gotoAndStop ("menuintro2");
}
Symbol 368 Button
on (release) {
gotoAndStop ("instructions1");
}
Symbol 369 Button
on (release) {
gotoAndStop ("menuintro2");
}
Symbol 370 Button
on (release) {
gotoAndStop ("menuintro2");
}
Symbol 383 Button
on (release) {
_quality = "low";
}
Symbol 384 Button
on (release) {
_quality = "medium";
}
Symbol 385 Button
on (release) {
_quality = "high";
}
Symbol 387 Button
on (release) {
musicplay = true;
musicplaying = true;
music.gotoAndPlay(2);
button_btn1._visible = true;
button_btn2._visible = false;
}
Symbol 388 Button
on (release) {
playingambient = 1;
button_btn11._visible = true;
button_btn12._visible = false;
}
Symbol 389 Button
on (release) {
gotoAndStop ("menuintro2");
}
Symbol 403 MovieClip Frame 1
stop();
Symbol 403 MovieClip Frame 2
stop();
Symbol 404 MovieClip Frame 1
stop();
Symbol 404 MovieClip Frame 2
stop();
Symbol 405 Button
on (release) {
musicplay = false;
musicplaying = false;
music.gotoAndStop(1);
stopAllSounds();
button_btn1._visible = false;
button_btn2._visible = true;
}
Symbol 407 MovieClip Frame 1
stop();
Symbol 407 MovieClip Frame 2
stop();
Symbol 408 Button
on (release) {
playingambient = 0;
button_btn11._visible = false;
button_btn12._visible = true;
}
Symbol 437 Button
on (release) {
stopAllSounds();
_root.removeAllThings();
_root.gotoAndPlay("menuintro2");
}
Symbol 440 MovieClip Frame 1
stop();
Symbol 440 MovieClip Frame 572
gotoAndPlay (2);
Symbol 440 MovieClip Frame 573
stop();
Symbol 495 Button
on (release) {
getURL ("http://www.voltgames.com/index.php?ref=3", "_blank");
}
Symbol 496 Button
on (release) {
stopAllSounds();
_root.gotoAndPlay("menuintro2");
}
Symbol 507 MovieClip Frame 17
stop();
Symbol 512 Button
on (release) {
_root.level = _root.level + 1;
vel = vel + 1;
rest = _root.level % 5;
if (rest == 1) {
gotoAndStop (228);
} else if (rest == 2) {
gotoAndStop (229);
} else if (rest == 3) {
gotoAndStop (230);
} else if (rest == 4) {
gotoAndStop (231);
} else if (rest == 0) {
gotoAndStop (232);
}
}
Symbol 546 MovieClip Frame 1
stop();
Symbol 546 MovieClip Frame 2
_root.level = level + 1;
vel = vel + 1;
rest = level % 5;
if (rest == 1) {
gotoAndPlay ("mission1");
} else if (rest == 2) {
gotoAndPlay ("mission2");
} else if (rest == 3) {
gotoAndPlay ("mission3");
} else if (rest == 4) {
gotoAndPlay ("mission4");
} else if (rest == 0) {
gotoAndPlay ("mission5");
}
stop();
Symbol 546 MovieClip Frame 36
_root.gotoAndStop("End1invest");
stop();
Symbol 552 Button
on (release) {
_root.invest.gotoAndPlay("invertir");
}
Symbol 560 Button
on (release) {
_root.prevcore = _root.score;
score = _root.score;
investmoney = _root.investmoney;
sobra = score - investmoney;
if (sobra < 0) {
_root.letrero1.gotoAndPlay("letrero01");
stop();
} else {
if (investmoney > 0) {
a = random(2);
coef = (2 * a) * investmoney;
score = sobra + coef;
} else {
score = _root.score;
}
_root.showScore = "$ " + int(score);
_root.gotoAndPlay("End1bis");
}
investmoney = " ";
}
Symbol 564 Button
on (release) {
_root.letrero1.gotoAndPlay("letrero00");
}
Symbol 565 MovieClip Frame 1
stop();
Symbol 565 MovieClip Frame 2
stop();
Symbol 569 Button
on (release) {
_root.prevcore = _root.score;
score = _root.score;
investmoney = _root.investmoney;
sobra = score - investmoney;
if (sobra < 0) {
_root.letrero1.gotoAndPlay("letrero01");
stop();
} else {
if (investmoney > 0) {
a = investmoney / 10;
score = score + a;
} else {
score = _root.score;
}
_root.showScore = "$ " + int(score);
_root.gotoAndPlay("End1bis");
}
investmoney = " ";
}
Symbol 575 Button
on (release) {
_root.prevcore = _root.score;
score = _root.score;
investmoney = _root.investmoney;
sobra = score - investmoney;
if (sobra < 0) {
_root.letrero1.gotoAndPlay("letrero01");
stop();
} else {
if (investmoney > 0) {
a = 5 * investmoney;
coef = Math.floor(Math.random() * a);
score = sobra + coef;
} else {
score = _root.score;
}
_root.showScore = "$ " + int(score);
_root.gotoAndPlay("End1bis");
}
investmoney = " ";
}
Symbol 595 MovieClip Frame 1
stopAllSounds();
Symbol 595 MovieClip Frame 8
stop();
Symbol 637 MovieClip Frame 14
stop();
Symbol 659 Button
on (release) {
stopAllSounds();
_root.prevscore = _root.score;
_root.score = _root.score - 1000;
_root.prevlevel = _root.level;
level = _root.level;
rest = level % 5;
if (_root.score < 0) {
_root.letrero1.gotoAndPlay("letrero01");
stop();
} else if (rest == 1) {
gotoAndStop (228);
} else if (rest == 2) {
gotoAndStop (229);
} else if (rest == 3) {
gotoAndStop (230);
} else if (rest == 4) {
gotoAndStop (231);
} else if (rest == 0) {
gotoAndStop (232);
}
}