Frame 1
percent_loaded = 1;
total_frames = 15;
value = 26;
LOADED_FRAME = 3;
Frame 2
if (Number(percent_loaded) >= 100) {
gotoAndPlay (5);
}
Frame 3
ifFrameLoaded (LOADED_FRAME) {
percent_loaded = int((LOADED_FRAME * 100) / total_frames);
LOADED_FRAME = Number(LOADED_FRAME) + 1;
setProperty("/BAR", _xscale , percent_loaded * value);
}
Frame 4
gotoAndPlay (2);
Frame 5
function doSomething() {
_quality = "HIGH";
}
function doSomething2() {
_quality = "MEDIUM";
}
function doSomething3() {
_quality = "LOW";
}
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned = new ContextMenuItem("High", doSomething);
Functioned2 = new ContextMenuItem("Medium", doSomething2);
Functioned3 = new ContextMenuItem("Low", doSomething3);
MENU.customItems.push(Functioned);
MENU.customItems.push(Functioned2);
MENU.customItems.push(Functioned3);
_root.menu = MENU;
Frame 6
stop();
Instance of Symbol 103 MovieClip "controls" in Frame 6
onClipEvent (load) {
_visible = false;
}
Frame 7
stop();
Frame 11
_root.round = 1;
_root.humanScore = 0;
_root.cpuScore = 0;
Frame 12
if (_root.Mode == "1p") {
_root.gotoAndStop("game1p");
}
if (_root.Mode == "2p") {
_root.gotoAndStop("game2p");
}
Frame 13
function loadSounds() {
temaloop1 = new Sound();
temaloop1.attachSound("temaloop1");
footstep = new Sound();
footstep.attachSound("footstep");
smash = new Sound();
smash.attachSound("smash");
hit = new Sound();
hit.attachSound("hit");
swoosh1 = new Sound();
swoosh1.attachSound("swoosh1");
swoosh2 = new Sound();
swoosh2.attachSound("swoosh2");
swoosh3 = new Sound();
swoosh3.attachSound("swoosh3");
p1_score = new Sound();
p1_score.attachSound("p1_score");
p2_score = new Sound();
p2_score.attachSound("p2_score");
lame_clap = new Sound();
lame_clap.attachSound("lame_clap");
blurSound = new Sound();
blurSound.attachSound("metal_door_huge");
Sound1 = new Sound();
Sound1.attachSound("round_1");
Sound2 = new Sound();
Sound2.attachSound("round_2");
Sound3 = new Sound();
Sound3.attachSound("round_3");
Sound4 = new Sound();
Sound4.attachSound("round_4");
Sound5 = new Sound();
Sound5.attachSound("round_5");
Sound6 = new Sound();
Sound6.attachSound("round_6");
Sound7 = new Sound();
Sound7.attachSound("round_7");
Sound8 = new Sound();
Sound8.attachSound("round_8");
Sound9 = new Sound();
Sound9.attachSound("round_9");
}
function addHumanPoint() {
_root.humanScore++;
p1_score.start();
}
function addCPUPoint() {
_root.cpuScore++;
p2_score.start();
}
function reset() {
blur.play();
}
stop();
_root.TwoPlayer = false;
_root.go = false;
loadSounds();
mt = 0;
var lTime = 0;
var frameCount = 0;
lol.onEnterFrame = function () {
timesf = getTimer();
frameCount++;
if ((getTimer() - lTime) >= 1000) {
lTime = getTimer();
_root.fps = frameCount;
frameCount = 0;
}
mt++;
if (mt > 30) {
if (_root.fps < 28) {
if (_quality == "HIGH") {
_quality = "HIGH";
}
}
}
};
Instance of Symbol 210 MovieClip "bg" in Frame 13
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 210 MovieClip "nbg" in Frame 13
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 173 MovieClip "suelo" in Frame 13
onClipEvent (load) {
_visible = true;
}
onClipEvent (enterFrame) {
_x = (_root.net._x - 1150);
_y = (_root.net._y - 20);
}
Instance of Symbol 308 MovieClip "jeeves" in Frame 13
onClipEvent (load) {
function move(direction, style) {
if (_currentframe == 6) {
return(undefined);
}
if (_currentframe == 8) {
return(undefined);
}
if (style == "run") {
if (((!attacking) || (_currentframe == 7)) || (_currentframe == 8)) {
if (direction == "right") {
_x = (_x + runSpeed);
TapTimer = tapSensitivity - 1;
} else if (direction == "left") {
_x = (_x - runSpeed);
TapTimerB = tapSensitivity - 1;
}
if (!attacking) {
if (onfloor) {
this.gotoAndStop(3);
}
if (!onfloor) {
this.gotoAndStop(5);
}
}
}
return(undefined);
}
if (style == "walk") {
if (running) {
return(undefined);
}
if ((!attacking) || (_currentframe == 6)) {
if (direction == "left") {
_x = (_x - walkSpeed);
}
if (direction == "right") {
_x = (_x + walkSpeed);
}
if (!attacking) {
if (onfloor) {
this.gotoAndStop(2);
}
if (!onfloor) {
this.gotoAndStop(5);
}
}
}
}
}
function attack(type) {
attacking = true;
if (type == "idle") {
this.gotoAndStop(6);
}
if (type == "walk") {
this.gotoAndStop(7);
}
if (type == "run") {
this.gotoAndStop(8);
}
if (type == "jumpUp") {
this.gotoAndStop(9);
}
if (type == "jumpSide") {
this.gotoAndStop(10);
}
}
function jump(amount) {
yspeed = amount;
jumping = true;
this.gotoAndStop(4);
}
type = "human";
running = false;
attacking = false;
xScale = _xscale;
runSpeed = 12;
walkSpeed = 6;
Double = 0;
TapTimer = 0;
DoubleB = 0;
TapTimerB = 0;
tapSensitivity = 4;
gravity = 1;
yspeed = 0;
jumping = false;
onfloor = false;
busy = false;
doneJump = false;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
if (TapTimer > 0) {
TapTimer--;
}
if (TapTimerB > 0) {
TapTimerB--;
}
if (Key.isDown(39) && (Double > 0)) {
if (!(_currentframe === 6)) {
_xscale = xScale;
}
move("right", "run");
} else if (Key.isDown(37) && (DoubleB > 0)) {
if (running || (!Key.isDown(39))) {
if (!(_currentframe === 6)) {
_xscale = (-xScale);
}
move("left", "run");
}
}
if (!running) {
if (Key.isDown(39) && (Double < 1)) {
if (!(_currentframe === 6)) {
_xscale = xScale;
}
move("right", "walk");
TapTimer = tapSensitivity;
} else if (Key.isDown(37) && (DoubleB < 1)) {
if (!(_currentframe === 6)) {
_xscale = (-xScale);
}
move("left", "walk");
TapTimerB = tapSensitivity;
}
}
if (Key.isDown(38) && (onfloor)) {
jump(-18);
}
if ((TapTimer < tapSensitivity) && (TapTimer > 0)) {
Double = 1;
} else {
Double = 0;
}
if ((TapTimerB < tapSensitivity) && (TapTimerB > 0)) {
DoubleB = 1;
} else {
DoubleB = 0;
}
_y = (_y + yspeed);
if (!onfloor) {
yspeed = yspeed + gravity;
}
if (_root.bg.hitTest(_x, _y + 5, true)) {
onfloor = true;
} else {
onfloor = false;
}
if (yspeed >= 0) {
while (_root.bg.hitTest(_x, _y, true)) {
_y = (_y-1);
_y = (_y-1);
yspeed = 0;
}
}
if ((((((!(_currentframe === 5)) && (!(_currentframe === 6))) && (!(_currentframe === 7))) && (!(_currentframe === 8))) && (!(_currentframe === 9))) && (!(_currentframe === 10))) {
attacking = false;
}
if ((_currentframe == 3) || (_currentframe == 8)) {
running = true;
} else {
running = false;
}
if (this.hitTest(_root.nbg)) {
if ((_currentframe == 2) || (_currentframe == 7)) {
_x = (_x - walkSpeed);
}
if ((_currentframe == 3) || (_currentframe == 8)) {
_x = (_x - runSpeed);
}
if ((((_currentframe == 4) || (_currentframe == 5)) || (_currentframe == 9)) || (_currentframe == 10)) {
if (Double < 1) {
_x = (_x - walkSpeed);
}
if (Double > 0) {
_x = (_x - runSpeed);
}
}
}
}
onClipEvent (keyUp) {
if (_root.paused) {
return(undefined);
}
if (!attacking) {
if (Key.getCode() == 39) {
if (onfloor) {
this.gotoAndStop(1);
}
if (!onfloor) {
this.gotoAndStop(4);
}
}
if (Key.getCode() == 37) {
if (onfloor) {
this.gotoAndStop(1);
}
if (!onfloor) {
this.gotoAndStop(4);
}
}
}
}
onClipEvent (keyDown) {
if (Key.getCode() == 32) {
if (_root.paused) {
return(undefined);
}
if (_currentframe == 1) {
attack("idle");
}
if (_currentframe == 2) {
attack("walk");
}
if (_currentframe == 3) {
attack("run");
}
if (_currentframe == 4) {
attack("jumpUp");
}
if (_currentframe == 5) {
attack("jumpSide");
}
}
}
Instance of Symbol 309 MovieClip "enemy" in Frame 13
onClipEvent (load) {
function jump(amount) {
_xscale = (-xScale);
busy = true;
yspeed = amount;
jumping = true;
this.gotoAndStop(4);
doneJump = true;
}
function findPos() {
if (inrange) {
return(undefined);
}
total = (((_x - _root.predict._x) * (_x - _root.predict._x)) + ((_y - _y) - _root.predict._y)) + ((_y - _y) - _root.predict._y);
if (total < 1) {
total = 1;
}
distance = Math.sqrt(total);
if (_root.ball._x > _x) {
distance = -distance;
}
distanceX = _x - _root.predict._x;
if (distanceX < 0) {
if (!attacking) {
direction = "right";
}
}
if (distanceX > 0) {
direction = "left";
}
if (!active) {
return(undefined);
}
if (!inrange) {
sbye = false;
if ((distance >= runBarrior) || (distance <= (-runBarrior))) {
this.gotoAndStop(3);
}
if ((distance < walkBarrior) && (distance > (-walkBarrior))) {
this.gotoAndStop(2);
}
}
}
function standbye() {
if (onfloor) {
if (_root.hotSpot.hitTest(_root.ball._x, _root.ball._y, true)) {
_xscale = (-xScale);
this.gotoAndStop(6);
attacking = true;
return(undefined);
}
}
if (jumping) {
return(undefined);
}
this.gotoAndStop(1);
inrange = true;
sbye = true;
_xscale = (-xScale);
}
function checkForAttack() {
if (_root.ball.alive == false) {
return(undefined);
}
myDis = Math.round(_x - _root.ball._x);
if (onfloor) {
if (_root.hotSpot.hitTest(_root.ball._x, _root.ball._y, true)) {
_xscale = (-xScale);
this.gotoAndStop(6);
attacking = true;
}
}
chance = random(8);
yDis = _y - _root.ball._y;
if (chance == 5) {
if (yDis > 370) {
if ((myDis > 0) && (myDis < 100)) {
if (_root.ball._x > -3) {
if (_currentframe == 1) {
attacking = true;
jump(-18);
}
}
}
}
}
}
type = "cpu";
sbye = false;
xScale = _xscale;
runSpeed = 15;
walkSpeed = 6;
gap = 40;
runBarrior = 50;
walkBarrior = runBarrior;
gravity = 1;
yspeed = 0;
jumping = false;
onfloor = false;
busy = false;
attacking = false;
if (_root.predict._x >= _root.net._x) {
active = true;
} else {
active = false;
}
findPos();
}
onClipEvent (enterFrame) {
_y = (_y + yspeed);
if (!onfloor) {
yspeed = yspeed + gravity;
}
if (_root.bg.hitTest(_x, _y + 5, true)) {
onfloor = true;
} else {
onfloor = false;
}
if (yspeed >= 0) {
while (_root.bg.hitTest(_x, _y, true)) {
_y = (_y-1);
_y = (_y-1);
yspeed = 0;
}
}
if (_currentframe == 6) {
attacking = true;
} else {
attacking = false;
}
if ((_currentframe == 4) || (_currentframe == 7)) {
busy = true;
} else {
busy = false;
}
if (distance > 230) {
runSpeed = 14;
}
if (distance <= 230) {
runSpeed = 12;
}
if (active) {
checkForAttack();
}
if (_root.ball.alive == false) {
this.gotoAndStop(1);
active = false;
return(undefined);
}
total = (((_x - _root.predict._x) * (_x - _root.predict._x)) + ((_y - _y) - _root.predict._y)) + ((_y - _y) - _root.predict._y);
if (total < 1) {
total = 1;
}
distance = Math.sqrt(total);
if (_root.ball._x > _x) {
distance = -distance;
}
distanceX = _x - _root.predict._x;
if (_root.predict._x >= _root.net._x) {
active = true;
} else {
this.gotoAndStop(1);
direction = "idle";
doneJump = false;
active = false;
}
_root.m = Math.round(distance);
if (busy) {
return(undefined);
}
if (attacking == false) {
if (sbye == false) {
if (direction == "right") {
_xscale = xScale;
}
if (direction == "left") {
_xscale = (-xScale);
}
if (direction == "idle") {
_xscale = (-xScale);
}
}
}
if (((direction == "left") && (distanceX < 20)) && (distanceX > -20)) {
standbye();
} else {
inrange = false;
}
if (_x < (_root.net._x + _root.net._width)) {
_x = (_root.net._x + _root.net._width);
if (!attacking) {
this.gotoAndStop(1);
}
}
}
Instance of Symbol 312 MovieClip "flecha" in Frame 13
onClipEvent (load) {
if (_root.ball._y >= 100) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
_x = _root.ball._x;
if (_root.ball._y >= 100) {
_visible = false;
} else {
_visible = true;
}
}
Instance of Symbol 345 MovieClip in Frame 13
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = _root.enemy._x;
_y = (_root.enemy._y - _height);
if (this.hitTest(_root.ball._x, _root.ball._y, true)) {
_root.enemy.hotspot = "middle";
}
}
Instance of Symbol 347 MovieClip in Frame 13
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = ((_root.enemy._x + (_width / 2)) + 30);
_y = (_root.enemy._y - _height);
if (this.hitTest(_root.ball._x, _root.ball._y, true)) {
_root.enemy.hotspot = "right";
}
}
Instance of Symbol 363 MovieClip "lol" in Frame 13
/* no clip actions */
Instance of Symbol 378 MovieClip "hotSpot" in Frame 13
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.enemy._x - 20);
if (_root.enemy.hotspot == "left") {
this.gotoAndStop(1);
}
if (_root.enemy.hotspot == "middle") {
this.gotoAndStop(2);
}
if (_root.enemy.hotspot == "right") {
this.gotoAndStop(3);
}
}
Instance of Symbol 380 MovieClip "hotSpotJump" in Frame 13
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.enemy._x - 20);
_y = (_root.enemy._y - 130);
}
Instance of Symbol 382 MovieClip "predict" in Frame 13
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
x = _root.ball._x;
y = _root.ball._y - 400;
vx = -_root.ball.vx;
_x = (x + ((y * vx) * -0.05));
}
Instance of Symbol 384 MovieClip "cam" in Frame 13
onClipEvent (load) {
MotionX = 8;
MotionY = 200;
scrollTarget = new Array();
scrollTarget = ["jeeves", "enemy", "ball", "net", "nbg", "bg", "scenary", "hotSpot", "hotSpotJump"];
}
onClipEvent (enterFrame) {
distanceX = Math.round(_x - _root.attention._x);
for (i in scrollTarget) {
_parent[scrollTarget[i]]._x = _parent[scrollTarget[i]]._x + (distanceX / MotionX);
}
}
Instance of Symbol 386 MovieClip in Frame 13
onClipEvent (load) {
time = 0;
}
onClipEvent (enterFrame) {
if (!_root.ball.alive) {
time++;
if (time > 70) {
_root.blurSound.start();
_root.reset();
time = "L";
}
}
}
Instance of Symbol 393 MovieClip in Frame 13
onClipEvent (load) {
done = false;
if (_root.hellMode) {
done = true;
}
}
onClipEvent (enterFrame) {
if (_root.hellMode) {
if (!done) {
this.gotoAndPlay(2);
done = true;
}
}
}
Frame 14
function loadSounds() {
footstep = new Sound();
footstep.attachSound("footstep");
smash = new Sound();
smash.attachSound("smash");
hit = new Sound();
hit.attachSound("hit");
swoosh1 = new Sound();
swoosh1.attachSound("swoosh1");
swoosh2 = new Sound();
swoosh2.attachSound("swoosh2");
swoosh3 = new Sound();
swoosh3.attachSound("swoosh3");
p1_score = new Sound();
p1_score.attachSound("p1_score");
p2_score = new Sound();
p2_score.attachSound("p2_score");
lame_clap = new Sound();
lame_clap.attachSound("lame_clap");
blurSound = new Sound();
blurSound.attachSound("metal_door_huge");
Sound1 = new Sound();
Sound1.attachSound("round_1");
Sound2 = new Sound();
Sound2.attachSound("round_2");
Sound3 = new Sound();
Sound3.attachSound("round_3");
Sound4 = new Sound();
Sound4.attachSound("round_4");
Sound5 = new Sound();
Sound5.attachSound("round_5");
Sound6 = new Sound();
Sound6.attachSound("round_6");
Sound7 = new Sound();
Sound7.attachSound("round_7");
Sound8 = new Sound();
Sound8.attachSound("round_8");
Sound9 = new Sound();
Sound9.attachSound("round_9");
}
function addHumanPoint() {
_root.humanScore++;
p1_score.start();
}
function addCPUPoint() {
_root.cpuScore++;
p2_score.start();
}
function reset() {
blur.play();
}
stop();
_root.TwoPlayer = true;
_root.go = false;
loadSounds();
mt = 0;
var lTime = 0;
var frameCount = 0;
lol.onEnterFrame = function () {
timesf = getTimer();
frameCount++;
if ((getTimer() - lTime) >= 1000) {
lTime = getTimer();
_root.fps = frameCount;
frameCount = 0;
}
mt++;
if (mt > 30) {
if (_root.fps < 28) {
if (_quality == "HIGH") {
_quality = "MEDIUM";
}
}
}
};
Instance of Symbol 308 MovieClip "jeeves" in Frame 14
onClipEvent (load) {
function move(direction, style) {
if (_currentframe == 6) {
return(undefined);
}
if (_currentframe == 8) {
return(undefined);
}
if (style == "run") {
if (((!attacking) || (_currentframe == 7)) || (_currentframe == 8)) {
if (direction == "right") {
_x = (_x + runSpeed);
TapTimer = tapSensitivity - 1;
} else if (direction == "left") {
_x = (_x - runSpeed);
TapTimerB = tapSensitivity - 1;
}
if (!attacking) {
if (onfloor) {
this.gotoAndStop(3);
}
if (!onfloor) {
this.gotoAndStop(5);
}
}
}
return(undefined);
}
if (style == "walk") {
if (running) {
return(undefined);
}
if ((!attacking) || (_currentframe == 6)) {
if (direction == "left") {
_x = (_x - walkSpeed);
}
if (direction == "right") {
_x = (_x + walkSpeed);
}
if (!attacking) {
if (onfloor) {
this.gotoAndStop(2);
}
if (!onfloor) {
this.gotoAndStop(5);
}
}
}
}
}
function attack(type) {
attacking = true;
if (type == "idle") {
this.gotoAndStop(6);
}
if (type == "walk") {
this.gotoAndStop(7);
}
if (type == "run") {
this.gotoAndStop(8);
}
if (type == "jumpUp") {
this.gotoAndStop(9);
}
if (type == "jumpSide") {
this.gotoAndStop(10);
}
}
function jump(amount) {
yspeed = amount;
jumping = true;
this.gotoAndStop(4);
}
type = "human";
running = false;
attacking = false;
xScale = _xscale;
runSpeed = 12;
walkSpeed = 6;
Double = 0;
TapTimer = 0;
DoubleB = 0;
TapTimerB = 0;
tapSensitivity = 4;
gravity = 1;
yspeed = 0;
jumping = false;
onfloor = false;
busy = false;
doneJump = false;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
if (TapTimer > 0) {
TapTimer--;
}
if (TapTimerB > 0) {
TapTimerB--;
}
if (Key.isDown(39) && (Double > 0)) {
if (!(_currentframe === 6)) {
_xscale = xScale;
}
move("right", "run");
} else if (Key.isDown(37) && (DoubleB > 0)) {
if (running || (!Key.isDown(39))) {
if (!(_currentframe === 6)) {
_xscale = (-xScale);
}
move("left", "run");
}
}
if (!running) {
if (Key.isDown(39) && (Double < 1)) {
if (!(_currentframe === 6)) {
_xscale = xScale;
}
move("right", "walk");
TapTimer = tapSensitivity;
} else if (Key.isDown(37) && (DoubleB < 1)) {
if (!(_currentframe === 6)) {
_xscale = (-xScale);
}
move("left", "walk");
TapTimerB = tapSensitivity;
}
}
if (Key.isDown(38) && (onfloor)) {
jump(-18);
}
if ((TapTimer < tapSensitivity) && (TapTimer > 0)) {
Double = 1;
} else {
Double = 0;
}
if ((TapTimerB < tapSensitivity) && (TapTimerB > 0)) {
DoubleB = 1;
} else {
DoubleB = 0;
}
_y = (_y + yspeed);
if (!onfloor) {
yspeed = yspeed + gravity;
}
if (_root.bg.hitTest(_x, _y + 5, true)) {
onfloor = true;
} else {
onfloor = false;
}
if (yspeed >= 0) {
while (_root.bg.hitTest(_x, _y, true)) {
_y = (_y-1);
_y = (_y-1);
yspeed = 0;
}
}
if ((((((!(_currentframe === 5)) && (!(_currentframe === 6))) && (!(_currentframe === 7))) && (!(_currentframe === 8))) && (!(_currentframe === 9))) && (!(_currentframe === 10))) {
attacking = false;
}
if ((_currentframe == 3) || (_currentframe == 8)) {
running = true;
} else {
running = false;
}
if (this.hitTest(_root.nbg)) {
if ((_currentframe == 2) || (_currentframe == 7)) {
_x = (_x - walkSpeed);
}
if ((_currentframe == 3) || (_currentframe == 8)) {
_x = (_x - runSpeed);
}
if ((((_currentframe == 4) || (_currentframe == 5)) || (_currentframe == 9)) || (_currentframe == 10)) {
if (Double < 1) {
_x = (_x - walkSpeed);
}
if (Double > 0) {
_x = (_x - runSpeed);
}
}
}
}
onClipEvent (keyUp) {
if (_root.paused) {
return(undefined);
}
if (!attacking) {
if (Key.getCode() == 39) {
if (onfloor) {
this.gotoAndStop(1);
}
if (!onfloor) {
this.gotoAndStop(4);
}
}
if (Key.getCode() == 37) {
if (onfloor) {
this.gotoAndStop(1);
}
if (!onfloor) {
this.gotoAndStop(4);
}
}
}
}
onClipEvent (keyDown) {
if (Key.getCode() == 32) {
if (_root.paused) {
return(undefined);
}
if (_currentframe == 1) {
attack("idle");
}
if (_currentframe == 2) {
attack("walk");
}
if (_currentframe == 3) {
attack("run");
}
if (_currentframe == 4) {
attack("jumpUp");
}
if (_currentframe == 5) {
attack("jumpSide");
}
}
}
Instance of Symbol 395 MovieClip "jeeves2p" in Frame 14
onClipEvent (load) {
function move(direction, style) {
if (_currentframe == 6) {
return(undefined);
}
if (_currentframe == 8) {
return(undefined);
}
if (style == "run") {
if (((!attacking) || (_currentframe == 7)) || (_currentframe == 8)) {
if (direction == "right") {
_x = (_x + runSpeed);
TapTimer = tapSensitivity - 1;
} else if (direction == "left") {
_x = (_x - runSpeed);
TapTimerB = tapSensitivity - 1;
}
if (!attacking) {
if (onfloor) {
this.gotoAndStop(3);
}
if (!onfloor) {
this.gotoAndStop(5);
}
}
}
return(undefined);
}
if (style == "walk") {
if (running) {
return(undefined);
}
if ((!attacking) || (_currentframe == 6)) {
if (direction == "left") {
_x = (_x - walkSpeed);
}
if (direction == "right") {
_x = (_x + walkSpeed);
}
if (!attacking) {
if (onfloor) {
this.gotoAndStop(2);
}
if (!onfloor) {
this.gotoAndStop(5);
}
}
}
}
}
function attack(type) {
attacking = true;
if (type == "idle") {
this.gotoAndStop(6);
}
if (type == "walk") {
this.gotoAndStop(7);
}
if (type == "run") {
this.gotoAndStop(8);
}
if (type == "jumpUp") {
this.gotoAndStop(9);
}
if (type == "jumpSide") {
this.gotoAndStop(10);
}
}
function jump(amount) {
yspeed = amount;
jumping = true;
this.gotoAndStop(4);
}
type = "cpu";
running = false;
attacking = false;
xScale = _xscale;
_xscale = (-xScale);
runSpeed = 12;
walkSpeed = 6;
Double = 0;
TapTimer = 0;
DoubleB = 0;
TapTimerB = 0;
tapSensitivity = 4;
gravity = 1;
yspeed = 0;
jumping = false;
onfloor = false;
busy = false;
doneJump = false;
}
onClipEvent (enterFrame) {
if (_root.paused) {
return(undefined);
}
if (TapTimer > 0) {
TapTimer--;
}
if (TapTimerB > 0) {
TapTimerB--;
}
if (Key.isDown(68) && (Double > 0)) {
if (!(_currentframe === 6)) {
_xscale = xScale;
}
move("right", "run");
} else if (Key.isDown(65) && (DoubleB > 0)) {
if (running || (!Key.isDown(68))) {
if (!(_currentframe === 6)) {
_xscale = (-xScale);
}
move("left", "run");
}
}
if (!running) {
if (Key.isDown(68) && (Double < 1)) {
if (!(_currentframe === 6)) {
_xscale = xScale;
}
move("right", "walk");
TapTimer = tapSensitivity;
} else if (Key.isDown(65) && (DoubleB < 1)) {
if (!(_currentframe === 6)) {
_xscale = (-xScale);
}
move("left", "walk");
TapTimerB = tapSensitivity;
}
}
if (Key.isDown(87) && (onfloor)) {
jump(-18);
}
if ((TapTimer < tapSensitivity) && (TapTimer > 0)) {
Double = 1;
} else {
Double = 0;
}
if ((TapTimerB < tapSensitivity) && (TapTimerB > 0)) {
DoubleB = 1;
} else {
DoubleB = 0;
}
_y = (_y + yspeed);
if (!onfloor) {
yspeed = yspeed + gravity;
}
if (_root.bg.hitTest(_x, _y + 5, true)) {
onfloor = true;
} else {
onfloor = false;
}
if (yspeed >= 0) {
while (_root.bg.hitTest(_x, _y, true)) {
_y = (_y-1);
_y = (_y-1);
yspeed = 0;
}
}
if ((((((!(_currentframe === 5)) && (!(_currentframe === 6))) && (!(_currentframe === 7))) && (!(_currentframe === 8))) && (!(_currentframe === 9))) && (!(_currentframe === 10))) {
attacking = false;
}
if ((_currentframe == 3) || (_currentframe == 8)) {
running = true;
} else {
running = false;
}
if (this.hitTest(_root.nbg)) {
if ((_currentframe == 2) || (_currentframe == 7)) {
_x = (_x + walkSpeed);
}
if ((_currentframe == 3) || (_currentframe == 8)) {
_x = (_x + runSpeed);
}
if ((((_currentframe == 4) || (_currentframe == 5)) || (_currentframe == 9)) || (_currentframe == 10)) {
if (Double < 1) {
_x = (_x + walkSpeed);
}
if (Double > 0) {
_x = (_x + runSpeed);
}
}
}
}
onClipEvent (keyUp) {
if (_root.paused) {
return(undefined);
}
if (!attacking) {
if (Key.getCode() == 68) {
if (onfloor) {
this.gotoAndStop(1);
}
if (!onfloor) {
this.gotoAndStop(4);
}
}
if (Key.getCode() == 65) {
if (onfloor) {
this.gotoAndStop(1);
}
if (!onfloor) {
this.gotoAndStop(4);
}
}
}
}
onClipEvent (keyDown) {
if (Key.getCode() == 69) {
if (_root.paused) {
return(undefined);
}
if (_currentframe == 1) {
attack("idle");
}
if (_currentframe == 2) {
attack("walk");
}
if (_currentframe == 3) {
attack("run");
}
if (_currentframe == 4) {
attack("jumpUp");
}
if (_currentframe == 5) {
attack("jumpSide");
}
}
}
Instance of Symbol 382 MovieClip "predict" in Frame 14
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
x = _root.ball._x;
y = _root.ball._y - 400;
vx = -_root.ball.vx;
_x = (x + ((y * vx) * -0.05));
}
Instance of Symbol 384 MovieClip "cam" in Frame 14
onClipEvent (load) {
MotionX = 8;
MotionY = 200;
scrollTarget = new Array();
scrollTarget = ["jeeves", "jeeves2p", "ball", "net", "nbg", "bg", "scenary", "hotSpot", "hotSpotJump"];
}
onClipEvent (enterFrame) {
distanceX = Math.round(_x - _root.attention._x);
for (i in scrollTarget) {
_parent[scrollTarget[i]]._x = _parent[scrollTarget[i]]._x + (distanceX / MotionX);
}
}
Instance of Symbol 386 MovieClip in Frame 14
onClipEvent (load) {
time = 0;
}
onClipEvent (enterFrame) {
if (!_root.ball.alive) {
time++;
if (time > 70) {
_root.blurSound.start();
_root.reset();
time = "L";
}
}
}
Frame 15
stop();
Frame 16
stop();
Symbol 23 MovieClip [blur] Frame 1
stop();
Symbol 23 MovieClip [blur] Frame 5
_root.round++;
Symbol 23 MovieClip [blur] Frame 6
if (_root.humanScore >= 5) {
stopAllSounds();
_root.gotoAndStop("1PWin");
}
if (_root.cpuScore >= 5) {
stopAllSounds();
_root.gotoAndStop("2PWin");
}
_root.gotoAndPlay("reset");
Symbol 23 MovieClip [blur] Frame 9
gotoAndStop (1);
Symbol 92 MovieClip Frame 1
stop();
Instance of Symbol 102 MovieClip in Symbol 103 MovieClip Frame 1
on (release) {
if (_parent._visible) {
_root.gotoAndPlay("play");
_parent._visible = false;
}
}
Symbol 109 Button
on (release) {
_root.Mode = "1p";
gotoAndPlay ("play");
}
Symbol 114 Button
on (release) {
_root.controles.gotoAndPlay("dos");
}
Symbol 118 Button
on (release) {
_root.Mode = "2p";
gotoAndPlay ("play");
}
Symbol 122 Button
on (release) {
_root.creditos.gotoAndPlay("dos");
}
Symbol 125 Button
on (press) {
getURL ("http://www.minijuegos.com", "_blank");
}
Symbol 128 Button
on (press) {
getURL ("http://www.minijuegos.com", "_blank");
}
Symbol 141 Button
on (press) {
getURL ("mailto:vidajuegos@gmail.com");
}
Symbol 144 Button
on (press) {
getURL ("http://www.minijuegos.com", "_blank");
}
Symbol 150 Button
on (release) {
gotoAndStop ("uno");
}
Symbol 151 MovieClip Frame 1
stop();
Symbol 151 MovieClip Frame 2
fxmenus = new Sound();
fxmenus.attachSound("fxmenus");
fxmenus.start(0, 1);
Symbol 151 MovieClip Frame 12
stop();
Symbol 161 Button
on (release) {
gotoAndStop ("uno");
}
Symbol 162 MovieClip Frame 1
stop();
Symbol 162 MovieClip Frame 2
fxmenus = new Sound();
fxmenus.attachSound("fxmenus");
fxmenus.start(0, 1);
Symbol 162 MovieClip Frame 12
stop();
Symbol 183 Button
on (release) {
_root.gotoAndPlay("menu");
}
Symbol 194 MovieClip Frame 1
stop();
if (_root.hellMode) {
gotoAndStop (2);
}
this.onEnterFrame = function () {
if (_root.hellMode) {
gotoAndStop (2);
}
};
Symbol 194 MovieClip Frame 2
stop();
Symbol 218 MovieClip Frame 2
_root.footstep.start();
Symbol 218 MovieClip Frame 4
with (_parent) {
if (active) {
findPos();
}
}
Symbol 224 MovieClip Frame 2
_root.footstep.start();
Symbol 224 MovieClip Frame 4
with (_parent) {
if (active) {
findPos();
}
}
Instance of Symbol 236 MovieClip in Symbol 237 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
if (_parent._parent._parent.type == "human") {
_root.HumanHitArea = this;
}
if (_parent._parent._parent.type == "cpu") {
_root.EnemyHitArea = this;
}
}
Symbol 248 MovieClip Frame 4
num = random(3) + 1;
word = "swoosh" + num;
_root[word].start();
Symbol 248 MovieClip Frame 12
_parent.attacking = false;
_parent.gotoAndStop(1);
Symbol 270 MovieClip Frame 5
num = random(3) + 1;
word = "swoosh" + num;
_root[word].start();
Symbol 270 MovieClip Frame 18
_parent.gotoAndStop(2);
Symbol 285 MovieClip Frame 5
num = random(3) + 1;
word = "swoosh" + num;
_root[word].start();
Symbol 285 MovieClip Frame 17
if (_parent._xscale == _parent.xScale) {
_parent.Double = 2;
}
if (_parent._xscale == (-_parent.xScale)) {
_parent.DoubleB = 2;
}
_parent.attacking = false;
_parent.gotoAndStop(3);
Symbol 296 MovieClip Frame 5
num = random(3) + 1;
word = "swoosh" + num;
_root[word].start();
Symbol 296 MovieClip Frame 12
_parent.gotoAndStop(4);
Symbol 307 MovieClip Frame 5
num = random(3) + 1;
word = "swoosh" + num;
_root[word].start();
Symbol 307 MovieClip Frame 12
_parent.gotoAndStop(4);
Symbol 308 MovieClip Frame 1
stop();
Symbol 308 MovieClip Frame 2
stop();
Instance of Symbol 218 MovieClip in Symbol 308 MovieClip Frame 2
onClipEvent (enterFrame) {
if (!(Key.isDown(39) || (Key.isDown(37)))) {
_parent.gotoAndStop(1);
}
}
Symbol 308 MovieClip Frame 3
stop();
Instance of Symbol 224 MovieClip in Symbol 308 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_parent._xscale == _parent.xScale) {
if (!Key.isDown(39)) {
_parent.gotoAndStop(1);
}
}
if (_parent._xscale == (-_parent.xScale)) {
if (!Key.isDown(37)) {
_parent.gotoAndStop(1);
}
}
}
Symbol 308 MovieClip Frame 4
stop();
Instance of Symbol 228 MovieClip in Symbol 308 MovieClip Frame 4
onClipEvent (load) {
waited = 0;
}
onClipEvent (enterFrame) {
waited++;
if (waited > 5) {
with (_parent) {
if (onfloor) {
gotoAndStop(1);
}
}
}
}
Symbol 308 MovieClip Frame 5
stop();
Instance of Symbol 232 MovieClip in Symbol 308 MovieClip Frame 5
onClipEvent (load) {
waited = 0;
}
onClipEvent (enterFrame) {
waited++;
if (waited > 5) {
with (_parent) {
if (onfloor) {
gotoAndStop(1);
}
}
}
}
Symbol 308 MovieClip Frame 6
stop();
Symbol 308 MovieClip Frame 7
stop();
Instance of Symbol 270 MovieClip in Symbol 308 MovieClip Frame 7
onClipEvent (enterFrame) {
with (_parent) {
if (_xscale == xScale) {
_x = _x + walkSpeed;
}
if (_xscale == (-xScale)) {
_x = _x - walkSpeed;
}
}
}
Symbol 308 MovieClip Frame 8
stop();
Instance of Symbol 285 MovieClip in Symbol 308 MovieClip Frame 8
onClipEvent (enterFrame) {
with (_parent) {
if (_xscale == xScale) {
_x = _x + runSpeed;
}
if (_xscale == (-xScale)) {
_x = _x - runSpeed;
}
}
}
Symbol 308 MovieClip Frame 9
stop();
Instance of Symbol 296 MovieClip in Symbol 308 MovieClip Frame 9
onClipEvent (load) {
waited = 0;
}
onClipEvent (enterFrame) {
waited++;
if (waited > 5) {
with (_parent) {
if (onfloor) {
gotoAndStop(1);
}
}
}
}
Symbol 308 MovieClip Frame 10
stop();
Instance of Symbol 307 MovieClip in Symbol 308 MovieClip Frame 10
onClipEvent (load) {
waited = 0;
}
onClipEvent (enterFrame) {
waited++;
if (waited > 5) {
with (_parent) {
if (onfloor) {
gotoAndStop(1);
}
}
}
}
onClipEvent (enterFrame) {
with (_parent) {
if (_xscale == xScale) {
_x = _x + walkSpeed;
}
if (_xscale == (-xScale)) {
_x = _x - walkSpeed;
}
}
}
Symbol 309 MovieClip Frame 1
stop();
Instance of Symbol 91 MovieClip in Symbol 309 MovieClip Frame 1
onClipEvent (enterFrame) {
with (_parent) {
if (active) {
findPos();
}
}
}
Symbol 309 MovieClip Frame 2
stop();
Instance of Symbol 218 MovieClip in Symbol 309 MovieClip Frame 2
onClipEvent (enterFrame) {
with (_parent) {
if (direction == "right") {
_x = _x + walkSpeed;
_xscale = xScale;
}
if (direction == "left") {
_x = _x - walkSpeed;
_xscale = -xScale;
}
}
}
Symbol 309 MovieClip Frame 3
stop();
Instance of Symbol 224 MovieClip in Symbol 309 MovieClip Frame 3
onClipEvent (enterFrame) {
with (_parent) {
if (direction == "right") {
_x = _x + runSpeed;
_xscale = xScale;
}
if (direction == "left") {
_x = _x - runSpeed;
_xscale = -xScale;
}
}
}
Symbol 309 MovieClip Frame 4
stop();
Instance of Symbol 228 MovieClip in Symbol 309 MovieClip Frame 4
onClipEvent (load) {
waited = 0;
}
onClipEvent (enterFrame) {
if (_root.ball.hitTest(_root.hotSpotJump)) {
_parent.gotoAndStop(7);
}
waited++;
if (waited > 5) {
with (_parent) {
if (onfloor) {
busy = false;
gotoAndStop(1);
}
}
}
}
Symbol 309 MovieClip Frame 5
stop();
Instance of Symbol 232 MovieClip in Symbol 309 MovieClip Frame 5
onClipEvent (load) {
waited = 0;
}
onClipEvent (enterFrame) {
waited++;
if (waited > 5) {
with (_parent) {
if (onfloor) {
gotoAndStop(1);
}
}
}
}
Symbol 309 MovieClip Frame 6
stop();
Symbol 309 MovieClip Frame 7
stop();
Instance of Symbol 270 MovieClip in Symbol 309 MovieClip Frame 7
onClipEvent (load) {
waited = 0;
}
onClipEvent (enterFrame) {
waited++;
if (waited > 5) {
with (_parent) {
if (onfloor) {
busy = false;
gotoAndStop(1);
}
}
}
}
Symbol 342 MovieClip Frame 12
stop();
Symbol 343 MovieClip Frame 1
function react() {
deltaX = (_x - _root.jeeves._x) + 30;
deltaY = (_y - _root.jeeves._y) + (_root.jeeves._height / 2);
angle = -Math.atan2(deltaX, deltaY);
Angle = Math.round((angle * 180) / 3.141593);
vx = Math.sin(Angle * 0.01745329) * reactionForceX;
vy = (-Math.cos(Angle * 0.01745329)) * reactionForceY;
}
function cpuReact() {
deltaX = (_x - _root.enemy._x) - random(40);
deltaY = (_y - _root.enemy._y) + (_root.enemy._height / 2);
if (_root.TwoPlayer) {
deltaX = (_x - _root.jeeves2p._x) - random(40);
deltaY = (_y - _root.jeeves2p._y) + (_root.jeeves2p._height / 2);
}
angle = -Math.atan2(deltaX, deltaY);
Angle = Math.round((angle * 180) / 3.141593);
vx = Math.sin(Angle * 0.01745329) * reactionForceX;
vy = (-Math.cos(Angle * 0.01745329)) * reactionForceY;
_root.enemy.drawRand();
}
function netReact() {
deltaX = _x - _root.net._x;
deltaY = _y - _root.net._y;
angle = -Math.atan2(deltaX, deltaY);
Angle = Math.round((angle * 180) / 3.141593);
if (Angle == 180) {
c = random(2);
if (c == 0) {
Angle = 181;
}
if (c == 1) {
Angle = 179;
}
}
vx = Math.sin(Angle * 0.01745329) * 10;
vy = (-Math.cos(Angle * 0.01745329)) * 10;
}
vx = 0;
vy = 0;
gravity = 0.5;
reactionForceX = 15;
reactionForceY = 20;
time = 0;
alive = true;
_root.attention = this;
Symbol 343 MovieClip Frame 2
if (!_root.go) {
return(undefined);
}
vy = vy - gravity;
vx = vx - 0.001;
_y = (_y - vy);
_x = (_x - vx);
if (this.hitTest(_root.HumanHitArea)) {
if (time == 0) {
_root.hit.start();
time = 1;
count = true;
}
react();
}
if (this.hitTest(_root.EnemyHitArea)) {
if (time == 0) {
_root.hit.start();
time = 1;
count = true;
}
cpuReact();
}
if (this.hitTest(_root.net)) {
netReact();
}
if (this.hitTest(_root.bg)) {
gotoAndStop (4);
}
_rotation = (_rotation - (vx * 1.5));
if (count) {
time++;
if (time > 5) {
time = 0;
count = false;
}
}
Symbol 343 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 343 MovieClip Frame 4
function detectScrewUp() {
if (_x > _root.net._x) {
screwUp = "cpu";
}
if (_x < _root.net._x) {
screwUp = "human";
}
if (screwUp == "cpu") {
_root.addHumanPoint();
}
if (screwUp == "human") {
_root.addCPUPoint();
}
}
_root.smash.start();
_root.lame_clap.start();
vx = 0;
vy = 0;
_rotation = 0;
alive = false;
_y = (_root.bg._y - 70);
detectScrewUp();
Instance of Symbol 349 MovieClip in Symbol 350 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.roundText = "ROUND " + _root.round;
}
Symbol 350 MovieClip Frame 12
word = "Sound" + _root.round;
_root[word].start();
Symbol 350 MovieClip Frame 61
stop();
_root.go = true;
Symbol 354 MovieClip Frame 1
stop();
Symbol 354 MovieClip Frame 2
stop();
Symbol 356 MovieClip Frame 1
stop();
Symbol 356 MovieClip Frame 2
stop();
Symbol 358 MovieClip Frame 1
stop();
Symbol 358 MovieClip Frame 2
stop();
Symbol 359 MovieClip Frame 1
stop();
Symbol 359 MovieClip Frame 2
stop();
Symbol 362 MovieClip Frame 1
stop();
Symbol 362 MovieClip Frame 2
stop();
Instance of Symbol 354 MovieClip in Symbol 363 MovieClip Frame 1
onClipEvent (load) {
if (_root.humanScore >= 1) {
this.gotoAndPlay("dos");
} else {
this.gotoAndPlay("uno");
}
}
onClipEvent (enterFrame) {
if (_root.humanScore >= 1) {
this.gotoAndPlay("dos");
} else {
this.gotoAndPlay("uno");
}
}
Instance of Symbol 356 MovieClip in Symbol 363 MovieClip Frame 1
onClipEvent (load) {
if (_root.humanScore >= 2) {
this.gotoAndPlay("dos");
} else {
this.gotoAndPlay("uno");
}
}
onClipEvent (enterFrame) {
if (_root.humanScore >= 2) {
this.gotoAndPlay("dos");
} else {
this.gotoAndPlay("uno");
}
}
Instance of Symbol 358 MovieClip in Symbol 363 MovieClip Frame 1
onClipEvent (load) {
if (_root.humanScore >= 3) {
this.gotoAndPlay("dos");
} else {
this.gotoAndPlay("uno");
}
}
onClipEvent (enterFrame) {
if (_root.humanScore >= 3) {
this.gotoAndPlay("dos");
} else {
this.gotoAndPlay("uno");
}
}
Instance of Symbol 359 MovieClip in Symbol 363 MovieClip Frame 1
onClipEvent (load) {
if (_root.humanScore >= 4) {
this.gotoAndPlay("dos");
} else {
this.gotoAndPlay("uno");
}
}
onClipEvent (enterFrame) {
if (_root.humanScore >= 4) {
this.gotoAndPlay("dos");
} else {
this.gotoAndPlay("uno");
}
}
Instance of Symbol 362 MovieClip in Symbol 363 MovieClip Frame 1
onClipEvent (load) {
if (_root.humanScore >= 5) {
this.gotoAndPlay("dos");
} else {
this.gotoAndPlay("uno");
}
}
onClipEvent (enterFrame) {
if (_root.humanScore >= 5) {
this.gotoAndPlay("dos");
} else {
this.gotoAndPlay("uno");
}
}
Symbol 365 MovieClip Frame 1
stop();
Instance of Symbol 352 MovieClip in Symbol 365 MovieClip Frame 1
onClipEvent (load) {
if (_root.humanScore >= 5) {
this.gotoAndPlay("dos");
} else {
this.gotoAndPlay("uno");
}
}
onClipEvent (enterFrame) {
if (_root.humanScore >= 5) {
this.gotoAndPlay("dos");
} else {
this.gotoAndPlay("uno");
}
}
Symbol 365 MovieClip Frame 2
stop();
Symbol 367 MovieClip Frame 1
stop();
Instance of Symbol 352 MovieClip in Symbol 367 MovieClip Frame 1
onClipEvent (load) {
if (_root.humanScore >= 5) {
this.gotoAndPlay("dos");
} else {
this.gotoAndPlay("uno");
}
}
onClipEvent (enterFrame) {
if (_root.humanScore >= 5) {
this.gotoAndPlay("dos");
} else {
this.gotoAndPlay("uno");
}
}
Symbol 367 MovieClip Frame 2
stop();
Symbol 369 MovieClip Frame 1
stop();
Instance of Symbol 352 MovieClip in Symbol 369 MovieClip Frame 1
onClipEvent (load) {
if (_root.humanScore >= 5) {
this.gotoAndPlay("dos");
} else {
this.gotoAndPlay("uno");
}
}
onClipEvent (enterFrame) {
if (_root.humanScore >= 5) {
this.gotoAndPlay("dos");
} else {
this.gotoAndPlay("uno");
}
}
Symbol 369 MovieClip Frame 2
stop();
Symbol 371 MovieClip Frame 1
stop();
Instance of Symbol 352 MovieClip in Symbol 371 MovieClip Frame 1
onClipEvent (load) {
if (_root.humanScore >= 5) {
this.gotoAndPlay("dos");
} else {
this.gotoAndPlay("uno");
}
}
onClipEvent (enterFrame) {
if (_root.humanScore >= 5) {
this.gotoAndPlay("dos");
} else {
this.gotoAndPlay("uno");
}
}
Symbol 371 MovieClip Frame 2
stop();
Symbol 373 MovieClip Frame 1
stop();
Instance of Symbol 352 MovieClip in Symbol 373 MovieClip Frame 1
onClipEvent (load) {
if (_root.humanScore >= 5) {
this.gotoAndPlay("dos");
} else {
this.gotoAndPlay("uno");
}
}
onClipEvent (enterFrame) {
if (_root.humanScore >= 5) {
this.gotoAndPlay("dos");
} else {
this.gotoAndPlay("uno");
}
}
Symbol 373 MovieClip Frame 2
stop();
Instance of Symbol 365 MovieClip in Symbol 374 MovieClip Frame 1
onClipEvent (load) {
if (_root.cpuScore >= 1) {
this.gotoAndPlay("dos");
} else {
this.gotoAndPlay("uno");
}
}
onClipEvent (enterFrame) {
if (_root.cpuScore >= 1) {
this.gotoAndPlay("dos");
} else {
this.gotoAndPlay("uno");
}
}
Instance of Symbol 367 MovieClip in Symbol 374 MovieClip Frame 1
onClipEvent (load) {
if (_root.cpuScore >= 2) {
this.gotoAndPlay("dos");
} else {
this.gotoAndPlay("uno");
}
}
onClipEvent (enterFrame) {
if (_root.cpuScore >= 2) {
this.gotoAndPlay("dos");
} else {
this.gotoAndPlay("uno");
}
}
Instance of Symbol 369 MovieClip in Symbol 374 MovieClip Frame 1
onClipEvent (load) {
if (_root.cpuScore >= 3) {
this.gotoAndPlay("dos");
} else {
this.gotoAndPlay("uno");
}
}
onClipEvent (enterFrame) {
if (_root.cpuScore >= 3) {
this.gotoAndPlay("dos");
} else {
this.gotoAndPlay("uno");
}
}
Instance of Symbol 371 MovieClip in Symbol 374 MovieClip Frame 1
onClipEvent (load) {
if (_root.cpuScore >= 4) {
this.gotoAndPlay("dos");
} else {
this.gotoAndPlay("uno");
}
}
onClipEvent (enterFrame) {
if (_root.cpuScore >= 4) {
this.gotoAndPlay("dos");
} else {
this.gotoAndPlay("uno");
}
}
Instance of Symbol 373 MovieClip in Symbol 374 MovieClip Frame 1
onClipEvent (load) {
if (_root.cpuScore >= 5) {
this.gotoAndPlay("dos");
} else {
this.gotoAndPlay("uno");
}
}
onClipEvent (enterFrame) {
if (_root.cpuScore >= 5) {
this.gotoAndPlay("dos");
} else {
this.gotoAndPlay("uno");
}
}
Symbol 378 MovieClip Frame 1
stop();
Symbol 378 MovieClip Frame 2
stop();
Symbol 378 MovieClip Frame 3
stop();
Symbol 384 MovieClip Frame 1
_alpha = 0;
Symbol 393 MovieClip Frame 1
stop();
Symbol 393 MovieClip Frame 2
hh = new Sound(_root.gamemusicMC);
hh.stop();
gamemusicm = new Sound(this);
gamemusicm.attachSound("hellmusic");
gamemusicm.start(0, 9999);
Symbol 395 MovieClip Frame 1
stop();
Symbol 395 MovieClip Frame 2
stop();
Instance of Symbol 218 MovieClip in Symbol 395 MovieClip Frame 2
onClipEvent (enterFrame) {
if (!(Key.isDown(68) || (Key.isDown(65)))) {
_parent.gotoAndStop(1);
}
}
Symbol 395 MovieClip Frame 3
stop();
Instance of Symbol 224 MovieClip in Symbol 395 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_parent._xscale == _parent.xScale) {
if (!Key.isDown(68)) {
_parent.gotoAndStop(1);
}
}
if (_parent._xscale == (-_parent.xScale)) {
if (!Key.isDown(65)) {
_parent.gotoAndStop(1);
}
}
}
Symbol 395 MovieClip Frame 4
stop();
Instance of Symbol 228 MovieClip in Symbol 395 MovieClip Frame 4
onClipEvent (load) {
waited = 0;
}
onClipEvent (enterFrame) {
waited++;
if (waited > 5) {
with (_parent) {
if (onfloor) {
gotoAndStop(1);
}
}
}
}
Symbol 395 MovieClip Frame 5
stop();
Instance of Symbol 232 MovieClip in Symbol 395 MovieClip Frame 5
onClipEvent (load) {
waited = 0;
}
onClipEvent (enterFrame) {
waited++;
if (waited > 5) {
with (_parent) {
if (onfloor) {
gotoAndStop(1);
}
}
}
}
Symbol 395 MovieClip Frame 6
stop();
Symbol 395 MovieClip Frame 7
stop();
Instance of Symbol 270 MovieClip in Symbol 395 MovieClip Frame 7
onClipEvent (enterFrame) {
with (_parent) {
if (_xscale == xScale) {
_x = _x + walkSpeed;
}
if (_xscale == (-xScale)) {
_x = _x - walkSpeed;
}
}
}
Symbol 395 MovieClip Frame 8
stop();
Instance of Symbol 285 MovieClip in Symbol 395 MovieClip Frame 8
onClipEvent (enterFrame) {
with (_parent) {
if (_xscale == xScale) {
_x = _x + runSpeed;
}
if (_xscale == (-xScale)) {
_x = _x - runSpeed;
}
}
}
Symbol 395 MovieClip Frame 9
stop();
Instance of Symbol 296 MovieClip in Symbol 395 MovieClip Frame 9
onClipEvent (load) {
waited = 0;
}
onClipEvent (enterFrame) {
waited++;
if (waited > 5) {
with (_parent) {
if (onfloor) {
gotoAndStop(1);
}
}
}
}
Symbol 395 MovieClip Frame 10
stop();
Instance of Symbol 307 MovieClip in Symbol 395 MovieClip Frame 10
onClipEvent (load) {
waited = 0;
}
onClipEvent (enterFrame) {
waited++;
if (waited > 5) {
with (_parent) {
if (onfloor) {
gotoAndStop(1);
}
}
}
}
onClipEvent (enterFrame) {
with (_parent) {
if (_xscale == xScale) {
_x = _x + walkSpeed;
}
if (_xscale == (-xScale)) {
_x = _x - walkSpeed;
}
}
}
Symbol 451 MovieClip Frame 1
_root.stop();
Symbol 451 MovieClip Frame 176
stopAllSounds();
_root.gotoAndPlay("menu");
Symbol 489 MovieClip Frame 1
_root.stop();
stopAllSounds();
Symbol 489 MovieClip Frame 176
stopAllSounds();
_root.gotoAndPlay("menu");