Frame 1
stop();
Frame 3
stop();
Frame 12
function createBeaners(count) {
var i;
e = i + 1;
f = i + count;
i = 1;
while (count >= i) {
_root.attachMovie("Pepe" + n, "beaner" + i, i);
_root.attachMovie("Pepe" + nn, "puto" + e, e);
_root.attachMovie("Pepe" + nnn, "puta" + f, f);
i++;
}
}
function changeCursor(movieclip) {
Mouse.hide();
_root.attachMovie(movieclip, "customCursor", 9999);
_root.customCursor.startDrag(true);
}
function calculateRandom(min, max) {
return(Math.floor(Math.random() * ((max + 1) - min)) + min);
}
function playSound(max, x, soundID) {
var soundobject;
soundobject = new Sound();
soundobject.attachSound(soundID);
if (x < 0) {
x = 0;
} else if (max < x) {
x = max;
}
soundobject.setPan(((x - (max / 2)) * 100) / (max / 2));
soundobject.start();
}
n = 1;
nn = 2;
nnn = 6;
level = 0;
hit = 0;
score = 0;
miss = 0;
final = 0;
boundsObj = border.getBounds(_root);
left = boundsObj.xMin;
right = boundsObj.xMax;
top = boundsObj.yMin;
bottom = boundsObj.yMax;
zeroRef = 100;
maxRef = bottom;
changeCursor("crosshairs");
attachMovie("borderSign", "sign", 800);
Frame 14
if (hit == level) {
if (level < 3) {
level++;
}
hit = 0;
createBeaners(level);
}
prevFrame();
play();
n = Math.round(random(7) + 1);
nn = n + 1;
nnn = Math.round(random(7) + 1);
if (5 < n) {
n = 5;
}
if (6 < nnn) {
nnn = 4;
}
count++;
sign.score2 = _root.score;
sign.miss2 = _root.miss;
balance = _root.sign.score2 - _root.sign.miss2;
if (balance >= 88) {
_root.gotoAndStop(15);
}
Frame 15
stop();
removeMovieClip("sign");
removeMovieClip("poncho" + e);
removeMovieClip("hefe" + e);
removeMovieClip("puto" + e);
removeMovieClip("puta" + f);
removeMovieClip("beaner1");
removeMovieClip("beaner2");
extro.final = _root.score;
if (extro.final >= 88) {
extro.gotoAndStop(5);
}
if ((extro.final >= 70) and (87 >= extro.final)) {
extro.gotoAndStop(4);
}
if ((extro.final >= 51) and (69 >= extro.final)) {
extro.gotoAndStop(3);
}
if (50 >= extro.final) {
extro.gotoAndStop(2);
}
Symbol 30 MovieClip [Pepe6] Frame 1
stop();
Instance of Symbol 26 MovieClip in Symbol 30 MovieClip [Pepe6] Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea)) {
soundobject.stop();
_root.playSound(640, _parent._x, "ohno");
_root.score++;
_parent.gotoAndPlay("hit");
}
}
onClipEvent (load) {
_parent._x = _root.calculateRandom(-1000, -50) + 20;
_parent._y = _root.calculateRandom(50, 140);
scale = (_parent._y / 500) * 100;
_parent._xscale = scale;
_parent._yscale = scale;
xStep = scale * 4;
yStep = 8;
soundobject = new Sound(this);
soundobject.attachSound("scamper");
soundobject.setPan(-100);
soundobject.start(0, 999);
}
onClipEvent (enterFrame) {
if (balance >= 88) {
removeMovieClip(this);
}
scale = (_parent._y / 500) * 100;
_parent._alpha = scale * 5;
_parent.swapDepths(scale);
_parent._x = _parent._x + xstep;
_parent._y = _parent._y + (Math.sin(_parent._x / 20) * ystep);
if ((_parent._x < -30) and (xstep < 0)) {
xstep = -(xstep - (xstep / 16));
ystep = -(ystep - (ystep / 16));
_parent._xscale = scale;
_parent._yscale = scale;
} else if ((750 < _parent._x) and (0 < xstep)) {
_parent._x = _root.calculateRandom(-1000, -50) + 25;
_parent._y = _root.calculateRandom(_parent._y + 10, _parent._y + 50);
xstep = -(xstep - (xstep / 16));
ystep = -(ystep - (ystep / 16));
_root.miss = _root.miss - 4;
}
if (_parent._x < 0) {
x = 0;
} else if (640 < _parent._x) {
x = 640;
} else {
x = _parent._x;
}
soundobject.setPan(((x - 320) * 100) / 320);
}
Symbol 30 MovieClip [Pepe6] Frame 4
_root.score++;
Symbol 30 MovieClip [Pepe6] Frame 6
_root.score++;
Symbol 30 MovieClip [Pepe6] Frame 8
_root.score++;
Symbol 30 MovieClip [Pepe6] Frame 16
removeMovieClip("");
_root.hit++;
Symbol 32 MovieClip [Pepe5] Frame 1
stop();
Instance of Symbol 31 MovieClip in Symbol 32 MovieClip [Pepe5] Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea)) {
soundobject.stop();
_root.playSound(640, _parent._x, "ohno");
_root.score++;
_parent.gotoAndPlay("hit");
}
}
onClipEvent (load) {
_parent._x = _root.calculateRandom(-1000, -50) + 20;
_parent._y = _root.calculateRandom(50, 160);
scale = (_parent._y / 500) * 100;
_parent._xscale = scale;
_parent._yscale = scale;
xStep = scale * 5;
yStep = 8;
soundobject = new Sound(this);
soundobject.attachSound("scamper");
soundobject.setPan(-100);
soundobject.start(0, 999);
}
onClipEvent (enterFrame) {
if (balance >= 88) {
removeMovieClip(this);
}
scale = (_parent._y / 500) * 100;
_parent._alpha = scale * 4;
_parent.swapDepths(scale);
_parent._x = _parent._x + xstep;
_parent._y = _parent._y + (Math.sin(_parent._x / 20) * ystep);
if ((_parent._x < -30) and (xstep < 0)) {
xstep = -(xstep - (xstep / 16));
ystep = -(ystep - (ystep / 16));
_parent._xscale = scale;
_parent._yscale = scale;
} else if ((750 < _parent._x) and (0 < xstep)) {
_root.miss = _root.miss - 4;
_parent._x = _root.calculateRandom(-1000, -50) + 25;
_parent._y = _root.calculateRandom(_parent._y + 10, _parent._y + 50);
xstep = -(xstep - (xstep / 16));
ystep = -(ystep - (ystep / 16));
_root.miss = _root.miss - 4;
}
if (_parent._x < 0) {
x = 0;
} else if (640 < _parent._x) {
x = 640;
} else {
x = _parent._x;
}
soundobject.setPan(((x - 320) * 100) / 320);
}
Symbol 32 MovieClip [Pepe5] Frame 4
_root.score++;
Symbol 32 MovieClip [Pepe5] Frame 6
_root.score++;
Symbol 32 MovieClip [Pepe5] Frame 8
_root.score++;
Symbol 32 MovieClip [Pepe5] Frame 16
removeMovieClip("");
_root.hit++;
Symbol 41 MovieClip [Pepe3] Frame 1
stop();
Instance of Symbol 39 MovieClip in Symbol 41 MovieClip [Pepe3] Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea)) {
soundobject.stop();
_root.playSound(640, _parent._x, "pepeScream");
_root.score++;
_parent.gotoAndPlay("hit");
}
}
onClipEvent (load) {
_parent._x = _root.calculateRandom(-1000, -50) + 20;
_parent._y = _root.calculateRandom(50, 150);
scale = (_parent._y / 500) * 100;
_parent._xscale = scale;
_parent._yscale = scale;
xStep = scale * 3;
yStep = 8;
soundobject = new Sound(this);
soundobject.attachSound("scamper");
soundobject.setPan(-100);
soundobject.start(0, 999);
}
onClipEvent (enterFrame) {
if (balance >= 88) {
removeMovieClip(this);
}
scale = (_parent._y / 500) * 100;
_parent._alpha = scale * 5;
_parent.swapDepths(scale);
_parent._x = _parent._x + xstep;
_parent._y = _parent._y + (Math.sin(_parent._x / 20) * ystep);
if ((_parent._x < -30) and (xstep < 0)) {
xstep = -(xstep - (xstep / 16));
ystep = -(ystep - (ystep / 16));
_parent._xscale = scale;
_parent._yscale = scale;
} else if ((750 < _parent._x) and (0 < xstep)) {
_parent._x = _root.calculateRandom(-1000, -50) + 25;
_parent._y = _root.calculateRandom(_parent._y + 10, _parent._y + 50);
xstep = -(xstep - (xstep / 16));
ystep = -(ystep - (ystep / 16));
_root.playSound(640, _parent._x, "shrill");
_root.miss--;
}
if (_parent._x < 0) {
x = 0;
} else if (640 < _parent._x) {
x = 640;
} else {
x = _parent._x;
}
soundobject.setPan(((x - 320) * 100) / 320);
}
Symbol 41 MovieClip [Pepe3] Frame 16
removeMovieClip("");
_root.hit++;
Symbol 43 MovieClip [Pepe2] Frame 1
stop();
Instance of Symbol 42 MovieClip in Symbol 43 MovieClip [Pepe2] Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea)) {
soundobject.stop();
_root.playSound(640, _parent._x, "pepeScream");
_root.score++;
_parent.gotoAndPlay("hit");
}
}
onClipEvent (load) {
_parent._x = _root.calculateRandom(-1000, -50) + 20;
_parent._y = _root.calculateRandom(50, 200);
scale = (_parent._y / 500) * 100;
_parent._xscale = scale;
_parent._yscale = scale;
xStep = scale * 2;
yStep = 8;
soundobject = new Sound(this);
soundobject.attachSound("scamper");
soundobject.setPan(-100);
soundobject.start(0, 999);
}
onClipEvent (enterFrame) {
if (balance >= 88) {
removeMovieClip(this);
}
scale = (_parent._y / 500) * 100;
_parent._alpha = scale * 4;
_parent.swapDepths(scale);
_parent._x = _parent._x + xstep;
_parent._y = _parent._y + (Math.sin(_parent._x / 20) * ystep);
if ((_parent._x < -30) and (xstep < 0)) {
xstep = -(xstep - (xstep / 16));
ystep = -(ystep - (ystep / 16));
_parent._xscale = scale;
_parent._yscale = scale;
} else if ((750 < _parent._x) and (0 < xstep)) {
_parent._x = _root.calculateRandom(-1000, -50) + 25;
_parent._y = _root.calculateRandom(_parent._y + 10, _parent._y + 50);
xstep = -(xstep - (xstep / 16));
ystep = -(ystep - (ystep / 16));
_root.playSound(640, _parent._x, "shrill");
_root.miss--;
}
if (_parent._x < 0) {
x = 0;
} else if (640 < _parent._x) {
x = 640;
} else {
x = _parent._x;
}
soundobject.setPan(((x - 320) * 100) / 320);
}
Symbol 43 MovieClip [Pepe2] Frame 16
removeMovieClip("");
_root.hit++;
Symbol 139 MovieClip [Pepe4] Frame 1
stop();
Instance of Symbol 137 MovieClip in Symbol 139 MovieClip [Pepe4] Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea)) {
soundobject.stop();
_root.playSound(640, _parent._x, "scream");
_root.score++;
_parent.gotoAndPlay("hit");
}
}
onClipEvent (load) {
_parent._x = _root.calculateRandom(-1000, -50) + 20;
_parent._y = _root.calculateRandom(50, 150);
scale = (_parent._y / 500) * 100;
_parent._xscale = scale;
_parent._yscale = scale;
xStep = scale * 4;
yStep = 8;
soundobject = new Sound(this);
soundobject.attachSound("scamper");
soundobject.setPan(-100);
soundobject.start(0, 999);
}
onClipEvent (enterFrame) {
if (balance >= 88) {
removeMovieClip(this);
}
scale = (_parent._y / 500) * 100;
_parent._alpha = scale * 5;
_parent.swapDepths(scale);
_parent._x = _parent._x + xstep;
_parent._y = _parent._y + (Math.sin(_parent._x / 20) * ystep);
if ((_parent._x < -30) and (xstep < 0)) {
xstep = -(xstep - (xstep / 16));
ystep = -(ystep - (ystep / 16));
_parent._xscale = scale;
_parent._yscale = scale;
} else if ((750 < _parent._x) and (0 < xstep)) {
_parent._x = _root.calculateRandom(-1000, -50) + 25;
_parent._y = _root.calculateRandom(_parent._y + 10, _parent._y + 50);
xstep = -(xstep - (xstep / 16));
ystep = -(ystep - (ystep / 16));
_root.playSound(640, _parent._x, "shrill");
_root.miss--;
}
if (_parent._x < 0) {
x = 0;
} else if (640 < _parent._x) {
x = 640;
} else {
x = _parent._x;
}
soundobject.setPan(((x - 320) * 100) / 320);
}
Symbol 139 MovieClip [Pepe4] Frame 16
removeMovieClip("");
_root.hit++;
Symbol 141 MovieClip [Pepe1] Frame 1
stop();
Instance of Symbol 140 MovieClip in Symbol 141 MovieClip [Pepe1] Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root.customCursor.hitarea)) {
soundobject.stop();
_root.playSound(640, _parent._x, "scream");
_root.score++;
_parent.gotoAndPlay("hit");
_root.attachMovie("Pepe" + nn, "hefe" + e, 2);
}
}
onClipEvent (load) {
_parent._x = _root.calculateRandom(-1000, -50) + 20;
_parent._y = _root.calculateRandom(60, 200);
scale = (_parent._y / 500) * 100;
_parent._xscale = scale;
_parent._yscale = scale;
xStep = scale * 3;
yStep = 8;
soundobject = new Sound(this);
soundobject.attachSound("scamper");
soundobject.setPan(-100);
soundobject.start(0, 999);
}
onClipEvent (enterFrame) {
if (balance >= 88) {
removeMovieClip(this);
}
scale = (_parent._y / 500) * 100;
_parent._alpha = scale * 4;
_parent.swapDepths(scale);
_parent._x = _parent._x + xstep;
_parent._y = _parent._y + (Math.sin(_parent._x / 20) * ystep);
if ((_parent._x < -30) and (xstep < 0)) {
xstep = -(xstep - (xstep / 16));
ystep = -(ystep - (ystep / 16));
_parent._xscale = scale;
_parent._yscale = scale;
} else if ((750 < _parent._x) and (0 < xstep)) {
_parent._x = _root.calculateRandom(-1000, -50) + 25;
_parent._y = _root.calculateRandom(_parent._y + 10, _parent._y + 50);
xstep = -(xstep - (xstep / 16));
ystep = -(ystep - (ystep / 16));
_root.playSound(640, _parent._x, "shrill");
_root.miss--;
}
if (_parent._x < 0) {
x = 0;
} else if (640 < _parent._x) {
x = 640;
} else {
x = _parent._x;
}
soundobject.setPan(((x - 320) * 100) / 320);
}
Symbol 141 MovieClip [Pepe1] Frame 16
removeMovieClip("");
_root.hit++;
Instance of Symbol 144 MovieClip "hitarea" in Symbol 145 MovieClip [crossHairs] Frame 1
onClipEvent (mouseDown) {
soundobject.stop();
_root.playSound(640, _parent._x, "bang");
}
onClipEvent (mouseUp) {
soundobject.stop();
_root.playSound(640, _parent._x, "pump");
}
Instance of Symbol 158 MovieClip in Symbol 159 MovieClip Frame 1
onClipEvent (load) {
var Frame_Start = _parent.Frame_Start;
if (Frame_Start eq "_totalframes") {
Frame_Start = _parent._parent._totalFrames;
} else {
Frame_Start = int(Frame_Start);
}
}
onClipEvent (enterFrame) {
if (_parent._parent._framesloaded >= _parent._parent._totalFrames) {
_parent._parent.gotoAndStop(3);
}
}
Symbol 162 Button
on (release) {
play();
}
Symbol 175 MovieClip Frame 1
stop();
Symbol 175 MovieClip Frame 2
stopAllSounds();
_root.playSound(640, this._x, "roach");
Symbol 175 MovieClip Frame 3
stopAllSounds();
_root.playSound(640, this._x, "roach");
Symbol 175 MovieClip Frame 4
stopAllSounds();
Symbol 175 MovieClip Frame 5
stopAllSounds();
Symbol 177 Button
on (release) {
gotoAndPlay (4);
}