Frame 1
stop();
_quality = "MEDIUM";
Instance of Symbol 43 MovieClip in Frame 1
on (press) {
getURL ("http://games.cublo.com", "_blank");
}
Frame 2
function kill() {
cry = true;
keyb = false;
}
function setscore(points) {
score = score + points;
}
function newlevel() {
delayed = true;
barra.gotoAndStop(1);
level++;
gainlife++;
if (gainlife > 2) {
gainlife = 0;
lives++;
}
fondo.nextFrame();
menubox.time.gotoAndStop(1);
pickups = 4 + level;
fondo._x = fondo.x;
fondo._y = fondo.y;
for (n in allfloating) {
allfloating[n].gotoAndStop(2);
allfloating[n].gotoAndStop(1);
allfloating[n]._x = fondo._x + allfloating[n].x;
allfloating[n]._y = fondo._y + allfloating[n].y;
allfloating[n].swapDepths(allfloating[n]._y);
}
n = 1;
while (n <= 7) {
if (level < n) {
eval ("bomb" + n).gotoAndStop(3);
}
n++;
}
if (level <= 3) {
muchcomputers = level;
}
n = 0;
while (n < 5) {
if (n < muchcomputers) {
eval ("c" + n).mode = "chase";
eval ("c" + n)._y = (eval ("c" + n).y = eval ("home" + n).y);
eval ("c" + n)._x = (eval ("c" + n).x = eval ("home" + n).x);
eval ("c" + n).gotoAndStop(1);
eval ("c" + n).mode = "stand";
eval ("c" + n)._visible = true;
eval ("c" + n).swapDepths(eval ("c" + n)._y);
} else {
eval ("c" + n)._visible = false;
}
n++;
}
ghost = (cry = (winner = false));
saddam._yscale = (saddam._xscale = 100);
panning = 1;
saddam._x = (jfloor._x = startingpoint._x);
saddam._y = (jfloor._y = startingpoint._y);
saddamface = "back";
saddam.gotoAndStop(saddamface);
saddam.anim.gotoAndStop(1);
saddam._alpha = 100;
saddam.onEnterFrame = function () {
if (panning == 1) {
panning = 2;
} else if (panning <= 69) {
panning++;
} else if (panning == 70) {
panning = 71;
keyb = true;
} else if (delayed) {
if ((((Key.isDown(32) or Key.isDown(38)) or Key.isDown(40)) or Key.isDown(37)) or Key.isDown(39)) {
delayed = false;
soundtrack.start(0, 9999);
menubox.time.gotoAndPlay(2);
}
} else if (!paused) {
menubox.time.nextFrame();
walking = false;
if (keyb) {
if (Key.isDown(38)) {
if (jfloor._y > 80) {
yvel = yvel - 1;
walking = true;
saddamface = "back";
} else {
yvel = 0;
}
}
if (Key.isDown(40)) {
yvel = yvel + 1;
walking = true;
saddamface = "front";
}
if (Key.isDown(37)) {
xvel = xvel - 1.8;
walking = true;
saddamface = "left";
}
if (Key.isDown(39)) {
xvel = xvel + 1.8;
walking = true;
saddamface = "right";
}
}
if (((Key.isDown(32) or forcejump) and (!jumping)) and (!attacking)) {
forcejump = false;
if (!cry) {
if (_root.pickups > 0) {
playsound("corcho", 100);
jumping = true;
jumpto = 9 + canguro;
jface = "j" + saddamface;
yvel = yvel * 0.8;
xvel = xvel * 0.8;
} else {
playsound("catch", 100);
attacking = true;
jumping = false;
jumpto = 7;
jface = "a" + saddamface;
yvel = 0.9;
xvel = xvel * 3;
}
}
}
if (attacking) {
saddamface = jface;
jvel = jvel - jumpto;
jumpto = jumpto - 1;
jvel = jvel * 0.7;
if (jumpto == 0) {
yvel = 0;
}
if ((saddam._y + jvel) > jfloor._y) {
attacking = false;
saddam._y = jfloor._y;
jvel = 0;
saddamface = saddamface.substr(1);
}
}
if (jumping) {
walking = false;
saddamface = jface;
jvel = jvel - jumpto;
jumpto = jumpto - 1;
jvel = jvel * 0.7;
if (forcefire) {
xvel = xvel + ((fool._x - jfloor._x) / 30);
}
if ((jumpto == 0) and forcefire) {
yvel = 0;
tempforce = Math.abs(Math.round(fool._y - jfloor._y));
transmission.powerbar.gotoAndStop(tempforce);
fooling = true;
}
if ((saddam._y + jvel) > jfloor._y) {
jumping = false;
saddam._y = jfloor._y;
jvel = 0;
saddamface = saddamface.substr(1);
}
}
xvel = xvel * 0.8;
jfloor._x = (saddam._x = saddam._x + xvel);
fondo._x = fondo._x - (xvel / 6);
if (fondo._x > 0) {
fondo._x = 0;
} else if ((fondo._x + fondo._width) < 600) {
fondo._x = 600 - fondo._width;
}
if (saddam._x > 600) {
saddam._x = (jfloor._x = 600);
} else if (saddam._x < 0) {
saddam._x = (jfloor._x = 0);
}
yvel = yvel * 0.8;
saddam._y = saddam._y + (yvel + jvel);
fondo._y = fondo._y - (yvel / 6);
if (fondo._y > 0) {
fondo._y = 0;
} else if ((fondo._y + fondo._height) < 395) {
fondo._y = 395 - fondo._height;
}
if (jumping) {
jfloor._y = jfloor._y + (yvel * 1.4);
} else {
jfloor._y = jfloor._y + yvel;
}
jfloor._alpha = (jfloor._xscale = (jfloor._yscale = 100 + ((saddam._y - jfloor._y) / 4)));
if (jfloor._y > 395) {
saddam._y = (jfloor._y = 395);
} else if (jfloor._y < 80) {
jfloor._y = 80;
}
saddam.swapDepths(jfloor._y + 4);
if (walking) {
saddam.anim.play();
} else {
saddam.anim.gotoAndStop(1);
}
for (n in allfloating) {
allfloating[n]._x = fondo._x + allfloating[n].x;
allfloating[n]._y = fondo._y + allfloating[n].y;
allfloating[n].swapDepths(allfloating[n]._y);
}
if (!winner) {
n = 0;
while (n < muchcomputers) {
if (eval ("c" + n).mode == "stand") {
eval ("c" + n)._x = fondo._x + eval ("c" + n).x;
eval ("c" + n)._y = fondo._y + eval ("c" + n).y;
eval ("c" + n).face = "stand" + eval ("c" + n).face;
} else if (eval ("c" + n).mode == "chase") {
if (cry) {
eval ("c" + n).target = eval ("home" + n);
} else {
eval ("c" + n).target = saddam;
}
x = eval ("c" + n).target._x - eval ("c" + n)._x;
y = eval ("c" + n).target._y - eval ("c" + n)._y;
h = Math.sqrt((x * x) + (y * y));
eval ("c" + n).sen = y / h;
eval ("c" + n).cos = x / h;
eval ("c" + n)._x = eval ("c" + n)._x + (4 * eval ("c" + n).cos);
eval ("c" + n)._y = eval ("c" + n)._y + (4 * eval ("c" + n).sen);
if (eval ("c" + n).target._x < eval ("c" + n)._x) {
eval ("c" + n).face = "left";
} else {
eval ("c" + n).face = "right";
}
eval ("c" + n).gotoAndStop(eval ("c" + n).face);
if (jfloor.hitTest(eval ("c" + n).shoes)) {
eval ("c" + n).mode = "tackle";
eval ("c" + n).gotoAndStop("tackle" + eval ("c" + n).face);
}
if (eval ("c" + n).target == eval ("home" + n)) {
if (eval ("c" + n).hitTest(eval ("home" + n))) {
eval ("c" + n).mode = "tackle";
eval ("c" + n).gotoAndStop("tackle" + eval ("c" + n).face);
}
}
}
eval ("c" + n).swapDepths(eval ("c" + n)._y);
n++;
}
}
if (cry) {
saddam.swapDepths(50);
jfloor._visible = false;
saddamface = "cry";
}
if (!winner) {
if (pickups <= 0) {
if (jfloor.hitTest(barra.winarea)) {
soundtrack.stop();
winner = true;
showscore = score;
keyb = false;
menubox.noise.play();
}
}
} else if (winner) {
saddamface = "winner";
n = 0;
while (n < muchcomputers) {
eval ("c" + n).mode == "stand";
eval ("c" + n).face = "stand" + eval ("c" + n).face;
n++;
}
}
saddam.gotoAndStop(saddamface);
}
};
}
function playsound(which, vol) {
snd.attachSound(which);
snd.setVolume(vol);
snd.start();
}
function spawn() {
jfloor._visible = true;
if (lives > 0) {
lives--;
xvel = (yvel = 0);
computertarget = "saddam";
keyb = true;
saddam.swapDepths(saddam._y);
forcejump = true;
saddamface = "right";
cry = false;
saddam.stars.gotoAndPlay(2);
menubox.time.gotoAndPlay(2);
} else {
stopAllSounds();
saddam.gotoAndStop(1);
menubox.gotoAndStop("back");
n = 1;
while (n <= 7) {
eval ("bomb" + n).gotoAndStop(3);
n++;
}
saddam.onEnterFrame = null;
}
}
function pause() {
paused = true;
menubox.time.stop();
}
function unpause() {
paused = false;
}
stop();
vol = new Sound();
fondo.x = fondo._x;
fondo.y = fondo._y;
saddamface = "front";
soundtrack = new Sound(fondo);
soundtrack.attachSound("soundtrack");
muchcomputers = 5;
showscore = (score = 0);
barra.y = barra._y - fondo._y;
barra.x = barra._x - fondo._x;
n = 0;
while (n < muchcomputers) {
eval ("c" + n).y = (eval ("home" + n).y = eval ("home" + n)._y - fondo._y);
eval ("c" + n).x = (eval ("home" + n).x = eval ("home" + n)._x - fondo._x);
eval ("c" + n)._visible = false;
n++;
}
allfloating = new Array();
n = 1;
while (n <= 7) {
allfloating.push(eval ("bomb" + n));
eval ("bomb" + n).gotoAndStop(3);
n++;
}
allfloating.push(barra);
allfloating.push(pickup);
snd = new Sound(saddam);
Symbol 7 MovieClip [ball] Frame 1
stop();
Symbol 38 MovieClip Frame 1
stop();
Symbol 43 MovieClip Frame 1
_root.stop();
Instance of Symbol 41 MovieClip "bar" in Symbol 43 MovieClip Frame 136
onClipEvent (load) {
this.onEnterFrame = function () {
var _local1 = _root;
porcentaje = (_local1.getBytesLoaded() * 100) / _local1.getBytesTotal();
gotoAndStop(Math.ceil(_currentframe + ((porcentaje - _currentframe) / 5)));
c = 0;
if ((_currentframe == 100) and (_local1.getBytesLoaded() == _local1.getBytesTotal())) {
_parent.play();
}
};
}
Symbol 43 MovieClip Frame 167
stop();
Symbol 43 MovieClip Frame 181
_root.play();
stop();
Symbol 47 MovieClip Frame 1
stop();
Symbol 51 MovieClip Frame 1
stop();
_root.back.gotoAndStop(_currentframe);
Symbol 51 MovieClip Frame 2
stop();
_root.back.gotoAndStop(_currentframe);
Symbol 51 MovieClip Frame 3
stop();
_root.back.gotoAndStop(_currentframe);
Symbol 51 MovieClip Frame 4
stop();
_root.back.gotoAndStop(_currentframe);
Symbol 51 MovieClip Frame 5
gotoAndStop (2);
Symbol 52 MovieClip Frame 1
stop();
Symbol 58 MovieClip Frame 1
stop();
Symbol 58 MovieClip Frame 21
gotoAndPlay (2);
Symbol 61 MovieClip Frame 1
this.onEnterFrame = function () {
var _local1 = _root;
if (this.hitTest(_local1.jfloor) and (!_local1.jumping)) {
_local1.forcejump = (_local1.picked = true);
if ((--_local1.pickups) > 0) {
_local1.msg = _local1.pickups + " LEFT!";
} else {
_local1.msg = "LEVEL CLEARED";
_local1.saddam.anger.play();
_local1.barra.play();
}
_local1.setscore(10 + Math.round((365 - _local1.menubox.time._currentframe) / 36));
_local1.menubox.time.gotoAndPlay(2);
_local1.saddam.msgdisplayer.play();
_parent._parent.gotoAndStop(2);
}
};
Symbol 62 MovieClip Frame 1
_parent.x = (random(450) + 100) - _root.fondo._x;
_parent.y = ((random(200) + 200) - (_parent.x / 4)) - _root.fondo._y;
_parent._x = _parent.x + _root.fondo._x;
_parent._y = _parent.y + _root.fondo._y;
Symbol 62 MovieClip Frame 15
stop();
Symbol 64 MovieClip Frame 35
if (_root.pickups > 0) {
_parent.gotoAndStop(1);
}
stop();
Symbol 65 MovieClip Frame 1
stop();
Symbol 71 MovieClip Frame 1
this.onEnterFrame = function () {
var _local1 = _root;
if (this.hitTest(_local1.jfloor)) {
if (_local1.jumping) {
_parent._parent.gotoAndStop(2);
} else if (!_local1.ghost) {
_local1.kill();
_parent._parent.gotoAndStop(2);
}
}
};
Symbol 72 MovieClip Frame 1
_parent.x = (random(450) + 100) - _root.fondo._x;
_parent.y = ((random(200) + 200) - (_parent.x / 4)) - _root.fondo._y;
_parent._x = _parent.x + _root.fondo._x;
_parent._y = _parent.y + _root.fondo._y;
gotoAndPlay(random(80));
Symbol 72 MovieClip Frame 282
_parent.gotoAndStop(2);
Symbol 74 MovieClip Frame 1
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
n = 0;
while (n < _local1.muchcomputers) {
if (_local2.hitTest(_local1["c" + n].shoes)) {
_local1["c" + n].mode = "knocked";
_local1["c" + n].knocked = true;
_local1["c" + n].gotoAndStop("tackle" + _local1["c" + n].face);
}
n++;
}
if (((!_local1.jumping) and (!_local1.ghost)) and (!_local1.cry)) {
if (_local2.hitTest(_local1.jfloor)) {
_local1.kill();
}
}
};
Symbol 76 MovieClip Frame 68
_parent.gotoAndStop(1);
Symbol 77 MovieClip Frame 1
stop();
Symbol 84 MovieClip Frame 1
gotoAndPlay(random(40));
Symbol 86 MovieClip Frame 20
if (random(2) == 0) {
_parent.mode = "chase";
}
Symbol 92 MovieClip Frame 1
gotoAndPlay(random(_totalframes));
Symbol 92 MovieClip Frame 25
if (random(20) == 0) {
_parent.mode = "tackle";
_parent.gotoAndStop("tackle" + _parent.face);
}
gotoAndPlay (2);
Symbol 93 MovieClip Frame 1
this.onEnterFrame = function () {
var _local1 = _root;
if (((!_local1.ghost) and (!_local1.jumping)) and (!_parent.knocked)) {
if (this.hitTest(_local1.saddam.shoes) and _local1.jfloor.hitTest(_parent._parent.shoes)) {
_local1.kill();
}
}
};
Symbol 96 MovieClip Frame 1
gotoAndPlay(random(10));
Symbol 97 MovieClip Frame 1
if (!_parent._parent.knocked) {
_visible = false;
}
Symbol 98 MovieClip Frame 1
xvel = _parent.cos * 10;
yvel = _parent.sen * 10;
this.onEnterFrame = function () {
xvel = xvel * 0.9;
yvel = yvel * 0.9;
_parent._x = _parent._x + (xvel - (_root.xvel / 6));
_parent._y = _parent._y + (yvel - (_root.yvel / 6));
};
if (_root.jumping) {
_root.msg = "NICE MOVE! ";
_root.saddam.msgdisplayer.play();
}
Symbol 98 MovieClip Frame 22
if (!_root.cry) {
_root.setscore(random(20) + 5);
}
if (!_parent.knocked) {
gotoAndPlay(random(100) + _currentframe);
}
Symbol 98 MovieClip Frame 131
_parent.y = _parent._y - _root.fondo._y;
_parent.x = _parent._x - _root.fondo._x;
_parent.knocked = false;
_parent.mode = "stand";
_parent.gotoAndStop("stand" + _parent.face);
Symbol 99 MovieClip Frame 1
stop();
mode = "stand";
knocked = false;
Symbol 99 MovieClip Frame 10
stop();
mode = "stand";
knocked = false;
Symbol 99 MovieClip Frame 20
stop();
Symbol 99 MovieClip Frame 30
stop();
Symbol 99 MovieClip Frame 40
stop();
Symbol 99 MovieClip Frame 50
stop();
Symbol 117 MovieClip Frame 24
gotoAndPlay (2);
Symbol 119 MovieClip Frame 1
gotoAndStop(random(_totalframes) + 2);
Symbol 120 MovieClip Frame 1
stop();
Symbol 120 MovieClip Frame 2
_root.ghost = true;
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = _parent;
if (_local2._visible) {
_local2._visible = false;
} else {
_local2._visible = true;
}
n = 0;
while (n < muchcomputers) {
if (_local2.hitTest(_local1["c" + n])) {
_local1["c" + n].mode == "tackle";
_local1["c" + n].gotoAndStop("tackle" + _local1["c" + n].face);
}
n++;
}
};
Symbol 120 MovieClip Frame 46
_root.ghost = false;
this.onEnterFrame = null;
Symbol 123 MovieClip Frame 1
stop();
Symbol 124 MovieClip Frame 1
if (_root.pickups > 0) {
stop();
}
Symbol 125 MovieClip Frame 1
if (!_root.picked) {
stop();
}
_root.picked = false;
Symbol 125 MovieClip Frame 2
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = _parent;
n = 0;
while (n < muchcomputers) {
if (_local2.hitTest(_local1["c" + n])) {
_local1["c" + n].mode == "tackle";
_local1["c" + n].gotoAndStop("tackle" + _local1["c" + n].face);
}
n++;
}
};
Symbol 125 MovieClip Frame 20
this.onEnterFrame = null;
Symbol 128 MovieClip Frame 1
stop();
Symbol 131 MovieClip Frame 1
this.onEnterFrame = function () {
var _local1 = _root;
n = 0;
while (n < _local1.muchcomputers) {
if (hurt.hitTest(_local1["c" + n]) and (!_local1["c" + n].knocked)) {
_local1["c" + n].cos = _local1["c" + n].cos * -1;
_local1["c" + n].cos;
_local1["c" + n].sen = _local1["c" + n].sen * -1;
_local1["c" + n].mode = "tackle";
_local1["c" + n].gotoAndStop("tackle" + _local1["c" + n].face);
_local1["c" + n].knocked = true;
star.play();
_local1.setscore(random(50) + 5);
}
n++;
}
};
Symbol 134 MovieClip Frame 1
_root.jfloor._y = (_parent._y = _parent._y - 80);
Symbol 134 MovieClip Frame 80
_root.jfloor._y = (_parent._y = _parent._y + 80);
_root.spawn();
Symbol 136 MovieClip Frame 1
stop();
Symbol 136 MovieClip Frame 62
stop();
Symbol 140 MovieClip Frame 1
this.swapDepths(998);
stop();
Symbol 140 MovieClip Frame 2
this.onEnterFrame = function () {
var _local1 = _root;
if (_local1.seconds > 0) {
_local1.seconds--;
_local1.score = _local1.score + Math.round((10 * _local1.level) / 2);
_local1.transmission.scorebox.gotoAndPlay(2);
_local1.transmission.timebox.gotoAndPlay(2);
if (_local1.seconds < 10) {
_local1.showseconds = "0" + _local1.seconds;
} else {
_local1.showseconds = _local1.seconds;
}
_local1.showtime = (_local1.showseconds + ":") + _local1.showmilliseconds;
} else {
_local1.showtime = "00:00";
_local1.score = _local1.score + Math.round(_local1.level / 2);
delete this.onEnterFrame;
}
};
_root.keyb = false;
_root.saddamface = "jfront";
Symbol 140 MovieClip Frame 108
_root.transmission.play();
Symbol 146 Button
on (press) {
gotoAndStop ("game");
_root.fondo.gotoAndStop(1);
_parent.lives = 3;
_parent.level = 0;
_parent.gainlife = 0;
_parent.showscore = (score = 0);
_parent.newlevel();
}
Symbol 164 MovieClip Frame 1
stop();
Symbol 164 MovieClip Frame 365
_root.kill();
Symbol 188 Button
on (press) {
_root.vol.setVolume(0);
play();
}
Symbol 191 Button
on (press) {
_root.vol.setVolume(100);
play();
}
Symbol 192 MovieClip Frame 1
stop();
Symbol 192 MovieClip Frame 2
stop();
Symbol 194 Button
on (press) {
vol = _root.vol.getVolume();
_root.pause();
play();
}
Symbol 195 Button
on (press) {
_root.vol.setVolume(vol);
_root.unpause();
play();
}
Symbol 197 MovieClip Frame 1
stop();
Symbol 197 MovieClip Frame 2
stop();
Symbol 198 MovieClip Frame 1
txt = "LEVEL " + _root.level;
stopAllSounds();
Symbol 198 MovieClip Frame 52
stop();
Symbol 198 MovieClip Frame 53
stopAllSounds();
Symbol 198 MovieClip Frame 106
trace(_root.lives);
_root.newlevel();
Symbol 199 MovieClip Frame 1
this.swapDepths(1000);
stop();
Symbol 199 MovieClip Frame 10
this.swapDepths(1000);
stop();
Symbol 199 MovieClip Frame 20
this.swapDepths(1000);
stop();