Frame 1
function doSomething() {
_quality = "HIGH";
}
function doSomething2() {
_quality = "MEDIUM";
}
function doSomething3() {
_quality = "LOW";
}
stop();
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;
Instance of Symbol 61 MovieClip in Frame 1
onClipEvent (load) {
loaded = false;
}
onClipEvent (enterFrame) {
_root.percent = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (_root.percent >= 100) {
if (!loaded) {
this.gotoAndPlay(100);
loaded = true;
}
}
if (!loaded) {
this.gotoAndStop(_root.percent);
}
}
Instance of Symbol 66 MovieClip in Frame 1
on (release) {
getURL ("http://www.crazymonkeygames.com", "_blank");
}
Frame 2
stop();
Instance of Symbol 94 MovieClip in Frame 2
on (release) {
getURL ("http://www.crazymonkeygames.com", "_blank");
}
Frame 3
stop();
Instance of Symbol 262 MovieClip in Frame 3
on (release) {
getURL ("http://www.thebackalleys.com", "_blank");
}
Frame 4
stop();
Instance of Symbol 278 MovieClip in Frame 4
on (release) {
getURL ("http://www.corkysurprise.com", "_blank");
}
Instance of Symbol 330 MovieClip "controls" in Frame 5
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 336 MovieClip "flames" in Frame 5
onClipEvent (load) {
done = false;
if (_root.hellMode) {
done = true;
}
}
onClipEvent (enterFrame) {
if (_root.hellMode) {
if (!done) {
this.gotoAndPlay(2);
done = true;
}
}
}
Frame 29
stop();
Frame 94
stop();
Frame 164
_root.round = 1;
_root.humanScore = 0;
_root.cpuScore = 0;
Frame 364
if (_root.Mode == "1p") {
_root.gotoAndStop("game1p");
}
if (_root.Mode == "2p") {
_root.gotoAndStop("game2p");
}
Frame 365
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 = 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 = "MEDIUM";
}
}
}
};
Instance of Symbol 404 MovieClip "bg" in Frame 365
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 404 MovieClip "nbg" in Frame 365
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 563 MovieClip "jeeves" in Frame 365
onClipEvent (load) {
function move(direction, style) {
if (_currentframe == 6) {
return(undefined);
}
if (_currentframe == 8) {
return(undefined);
}
if (style == "run") {
if (((!attacking) or (_currentframe == 7)) or (_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) or (_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 or (!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) and 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);
yspeed = 0;
}
}
if ((((((!(_currentframe === 5)) and (!(_currentframe === 6))) and (!(_currentframe === 7))) and (!(_currentframe === 8))) and (!(_currentframe === 9))) and (!(_currentframe === 10))) {
attacking = false;
}
if ((_currentframe == 3) or (_currentframe == 8)) {
running = true;
} else {
running = false;
}
if (this.hitTest(_root.nbg)) {
if ((_currentframe == 2) or (_currentframe == 7)) {
_x = (_x - walkSpeed);
}
if ((_currentframe == 3) or (_currentframe == 8)) {
_x = (_x - runSpeed);
}
if ((((_currentframe == 4) or (_currentframe == 5)) or (_currentframe == 9)) or (_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 586 MovieClip "enemy" in Frame 365
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) or (distance <= (-runBarrior))) {
this.gotoAndStop(3);
}
if ((distance < walkBarrior) and (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) and (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);
yspeed = 0;
}
}
if (_currentframe == 6) {
attacking = true;
} else {
attacking = false;
}
if ((_currentframe == 4) or (_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") and (distanceX < 20)) and (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 604 MovieClip in Frame 365
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = _root.ball._x;
if (_root.ball._y < -50) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 606 MovieClip in Frame 365
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 608 MovieClip in Frame 365
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 610 MovieClip in Frame 365
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 = "left";
}
}
Instance of Symbol 622 MovieClip "hotSpot" in Frame 365
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 624 MovieClip "hotSpotJump" in Frame 365
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = (_root.enemy._x - 20);
_y = (_root.enemy._y - 130);
}
Instance of Symbol 626 MovieClip "predict" in Frame 365
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 628 MovieClip "cam" in Frame 365
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 630 MovieClip in Frame 365
onClipEvent (load) {
time = 0;
}
onClipEvent (enterFrame) {
if (!_root.ball.alive) {
time++;
if (time > 70) {
_root.blurSound.start();
_root.reset();
time = "L";
}
}
}
Instance of Symbol 336 MovieClip in Frame 365
onClipEvent (load) {
done = false;
if (_root.hellMode) {
done = true;
}
}
onClipEvent (enterFrame) {
if (_root.hellMode) {
if (!done) {
this.gotoAndPlay(2);
done = true;
}
}
}
Frame 366
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 404 MovieClip "bg" in Frame 366
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 404 MovieClip "nbg" in Frame 366
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 563 MovieClip "jeeves" in Frame 366
onClipEvent (load) {
function move(direction, style) {
if (_currentframe == 6) {
return(undefined);
}
if (_currentframe == 8) {
return(undefined);
}
if (style == "run") {
if (((!attacking) or (_currentframe == 7)) or (_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) or (_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 or (!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) and 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);
yspeed = 0;
}
}
if ((((((!(_currentframe === 5)) and (!(_currentframe === 6))) and (!(_currentframe === 7))) and (!(_currentframe === 8))) and (!(_currentframe === 9))) and (!(_currentframe === 10))) {
attacking = false;
}
if ((_currentframe == 3) or (_currentframe == 8)) {
running = true;
} else {
running = false;
}
if (this.hitTest(_root.nbg)) {
if ((_currentframe == 2) or (_currentframe == 7)) {
_x = (_x - walkSpeed);
}
if ((_currentframe == 3) or (_currentframe == 8)) {
_x = (_x - runSpeed);
}
if ((((_currentframe == 4) or (_currentframe == 5)) or (_currentframe == 9)) or (_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() == 13) {
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 604 MovieClip in Frame 366
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
_x = _root.ball._x;
if (_root.ball._y < -50) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 631 MovieClip "jeeves2p" in Frame 366
onClipEvent (load) {
function move(direction, style) {
if (_currentframe == 6) {
return(undefined);
}
if (_currentframe == 8) {
return(undefined);
}
if (style == "run") {
if (((!attacking) or (_currentframe == 7)) or (_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) or (_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 or (!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) and 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);
yspeed = 0;
}
}
if ((((((!(_currentframe === 5)) and (!(_currentframe === 6))) and (!(_currentframe === 7))) and (!(_currentframe === 8))) and (!(_currentframe === 9))) and (!(_currentframe === 10))) {
attacking = false;
}
if ((_currentframe == 3) or (_currentframe == 8)) {
running = true;
} else {
running = false;
}
if (this.hitTest(_root.nbg)) {
if ((_currentframe == 2) or (_currentframe == 7)) {
_x = (_x + walkSpeed);
}
if ((_currentframe == 3) or (_currentframe == 8)) {
_x = (_x + runSpeed);
}
if ((((_currentframe == 4) or (_currentframe == 5)) or (_currentframe == 9)) or (_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() == 49) {
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 626 MovieClip "predict" in Frame 366
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 628 MovieClip "cam" in Frame 366
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 630 MovieClip in Frame 366
onClipEvent (load) {
time = 0;
}
onClipEvent (enterFrame) {
if (!_root.ball.alive) {
time++;
if (time > 70) {
_root.blurSound.start();
_root.reset();
time = "L";
}
}
}
Instance of Symbol 336 MovieClip in Frame 366
onClipEvent (load) {
done = false;
if (_root.hellMode) {
done = true;
}
}
onClipEvent (enterFrame) {
if (_root.hellMode) {
if (!done) {
this.gotoAndPlay(2);
done = true;
}
}
}
Frame 367
stop();
Frame 368
stop();
Symbol 24 MovieClip [blur] Frame 1
stop();
Symbol 24 MovieClip [blur] Frame 5
_root.round++;
Symbol 24 MovieClip [blur] Frame 6
if (_root.humanScore >= 5) {
stopAllSounds();
_root.gotoAndStop("1PWin");
}
if (_root.cpuScore >= 5) {
stopAllSounds();
_root.gotoAndStop("2PWin");
}
_root.gotoAndPlay("reset");
Symbol 24 MovieClip [blur] Frame 9
gotoAndStop (1);
Symbol 60 MovieClip Frame 58
stop();
Instance of Symbol 59 MovieClip in Symbol 60 MovieClip Frame 58
on (release) {
stopAllSounds();
_root.gotoAndStop("logos");
}
Symbol 61 MovieClip Frame 1
mozart = new Sound();
mozart.attachSound("mozart");
mozart.start(0, 999);
Symbol 61 MovieClip Frame 130
stop();
Symbol 94 MovieClip Frame 115
_root.play();
Symbol 262 MovieClip Frame 1
_root.stop();
Symbol 262 MovieClip Frame 211
_root.play();
Symbol 278 MovieClip Frame 104
_root.createEmptyMovieClip("menumusic", 5000);
mozart = new Sound(_root.menumusic);
mozart.attachSound("mozart");
mozart.start(0, 999);
_root.play();
Symbol 284 MovieClip Frame 1
stop();
if (_root.hellMode) {
gotoAndStop (2);
}
this.onEnterFrame = function () {
if (_root.hellMode) {
gotoAndStop (2);
}
};
Symbol 287 Button
on (release) {
_root.hellMode = true;
}
Symbol 290 MovieClip Frame 1
stop();
if (_root.hellMode) {
gotoAndStop (2);
}
this.onEnterFrame = function () {
if (_root.hellMode) {
gotoAndStop (2);
}
};
Symbol 290 MovieClip Frame 2
stop();
Symbol 293 Button
on (release) {
_root.gotoAndPlay("menu");
}
Symbol 311 MovieClip Frame 1
stop();
if (_root.hellMode) {
gotoAndStop (2);
}
this.onEnterFrame = function () {
if (_root.hellMode) {
gotoAndStop (2);
}
};
Symbol 311 MovieClip Frame 2
stop();
Symbol 315 MovieClip Frame 1
stop();
if (_root.hellMode) {
gotoAndStop (2);
}
this.onEnterFrame = function () {
if (_root.hellMode) {
gotoAndStop (2);
}
};
Symbol 315 MovieClip Frame 2
stop();
Symbol 317 MovieClip Frame 1
stop();
Instance of Symbol 329 MovieClip in Symbol 330 MovieClip Frame 1
on (release) {
if (_parent._visible) {
_root.gotoAndPlay("play");
_parent._visible = false;
}
}
Symbol 336 MovieClip Frame 1
stop();
Symbol 336 MovieClip Frame 2
hh = new Sound(_root.gamemusicMC);
hh.stop();
gamemusicm = new Sound(this);
gamemusicm.attachSound("hellmusic");
gamemusicm.start(0, 9999);
Symbol 343 Button
on (release) {
gotoAndPlay ("play");
}
Symbol 347 Button
on (release) {
gotoAndPlay ("play");
}
Symbol 348 Button
on (release) {
gotoAndPlay ("howto");
}
Symbol 349 Button
on (release) {
getURL ("http://www.crazymonkeygames.com", "_BLANK");
}
Symbol 350 Button
on (release) {
_root.Mode = "2p";
_root.controls._visible = true;
}
Symbol 351 Button
on (release) {
_root.Mode = "1p";
gotoAndPlay ("play");
}
Symbol 390 MovieClip Frame 9
m = new Sound(_root.menumusic);
m.stop();
Symbol 390 MovieClip Frame 10
if (!_root.hellMode) {
_root.createEmptyMovieClip("gamemusicMC", 6000);
gamemusic = new Sound(_root.gamemusicMC);
gamemusic.attachSound("gamemusic");
gamemusic.start();
}
this.onEnterFrame = function () {
if (_root.hellMode) {
this.gamemusic.stop();
}
if (_root.hellMode) {
m = new Sound(_root.menumusic);
m.stop();
}
};
Symbol 390 MovieClip Frame 160
stop();
Symbol 391 MovieClip Frame 155
if (_root.Mode == "1p") {
_root.gotoAndStop("game1p");
}
if (_root.Mode == "2p") {
_root.gotoAndStop("game2p");
}
if (_root.Mode == undefined) {
_root.Mode = "1p";
_root.gotoAndStop("game1p");
}
Symbol 428 MovieClip Frame 7
_root.footstep.start();
Symbol 428 MovieClip Frame 9
with (_parent) {
if (active) {
findPos();
}
}
Symbol 428 MovieClip Frame 15
_root.footstep.start();
Symbol 428 MovieClip Frame 18
with (_parent) {
if (active) {
findPos();
}
}
Symbol 452 MovieClip Frame 3
_root.footstep.start();
Symbol 452 MovieClip Frame 9
with (_parent) {
if (active) {
findPos();
}
}
Symbol 452 MovieClip Frame 13
_root.footstep.start();
Symbol 452 MovieClip Frame 16
with (_parent) {
if (active) {
findPos();
}
}
Instance of Symbol 471 MovieClip in Symbol 472 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 480 MovieClip Frame 4
num = random(3) + 1;
word = "swoosh" + num;
_root[word].start();
Symbol 480 MovieClip Frame 12
_parent.attacking = false;
_parent.gotoAndStop(1);
Symbol 506 MovieClip Frame 5
num = random(3) + 1;
word = "swoosh" + num;
_root[word].start();
Symbol 506 MovieClip Frame 18
_parent.gotoAndStop(2);
Symbol 530 MovieClip Frame 5
num = random(3) + 1;
word = "swoosh" + num;
_root[word].start();
Symbol 530 MovieClip Frame 16
if (_parent._xscale == _parent.xScale) {
_parent.Double = 2;
}
if (_parent._xscale == (-_parent.xScale)) {
_parent.DoubleB = 2;
}
_parent.attacking = false;
_parent.gotoAndStop(3);
Symbol 544 MovieClip Frame 5
num = random(3) + 1;
word = "swoosh" + num;
_root[word].start();
Symbol 544 MovieClip Frame 16
_parent.gotoAndStop(4);
Symbol 562 MovieClip Frame 5
num = random(3) + 1;
word = "swoosh" + num;
_root[word].start();
Symbol 562 MovieClip Frame 16
_parent.attacking = false;
_parent.gotoAndStop(5);
Symbol 563 MovieClip Frame 1
stop();
Symbol 563 MovieClip Frame 2
stop();
Instance of Symbol 428 MovieClip in Symbol 563 MovieClip Frame 2
onClipEvent (enterFrame) {
if (!(Key.isDown(39) or Key.isDown(37))) {
_parent.gotoAndStop(1);
}
}
Symbol 563 MovieClip Frame 3
stop();
Instance of Symbol 452 MovieClip in Symbol 563 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 563 MovieClip Frame 4
stop();
Instance of Symbol 461 MovieClip in Symbol 563 MovieClip Frame 4
onClipEvent (load) {
waited = 0;
}
onClipEvent (enterFrame) {
waited++;
if (waited > 5) {
with (_parent) {
if (onfloor) {
gotoAndStop(1);
}
}
}
}
Symbol 563 MovieClip Frame 5
stop();
Instance of Symbol 468 MovieClip in Symbol 563 MovieClip Frame 5
onClipEvent (load) {
waited = 0;
}
onClipEvent (enterFrame) {
waited++;
if (waited > 5) {
with (_parent) {
if (onfloor) {
gotoAndStop(1);
}
}
}
}
Symbol 563 MovieClip Frame 6
stop();
Symbol 563 MovieClip Frame 7
stop();
Instance of Symbol 506 MovieClip in Symbol 563 MovieClip Frame 7
onClipEvent (enterFrame) {
with (_parent) {
if (_xscale == xScale) {
_x = _x + walkSpeed;
}
if (_xscale == (-xScale)) {
_x = _x - walkSpeed;
}
}
}
Symbol 563 MovieClip Frame 8
stop();
Instance of Symbol 530 MovieClip in Symbol 563 MovieClip Frame 8
onClipEvent (enterFrame) {
with (_parent) {
if (_xscale == xScale) {
_x = _x + runSpeed;
}
if (_xscale == (-xScale)) {
_x = _x - runSpeed;
}
}
}
Symbol 563 MovieClip Frame 9
stop();
Instance of Symbol 544 MovieClip in Symbol 563 MovieClip Frame 9
onClipEvent (load) {
waited = 0;
}
onClipEvent (enterFrame) {
waited++;
if (waited > 5) {
with (_parent) {
if (onfloor) {
gotoAndStop(1);
}
}
}
}
Symbol 563 MovieClip Frame 10
stop();
Instance of Symbol 562 MovieClip in Symbol 563 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 571 MovieClip Frame 4
num = random(3) + 1;
word = "swoosh" + num;
_root[word].start();
Symbol 571 MovieClip Frame 12
_parent.attacking = false;
_parent.gotoAndStop(1);
Symbol 585 MovieClip Frame 5
num = random(3) + 1;
word = "swoosh" + num;
_root[word].start();
Symbol 585 MovieClip Frame 16
_parent.gotoAndStop(4);
Symbol 586 MovieClip Frame 1
stop();
Instance of Symbol 402 MovieClip in Symbol 586 MovieClip Frame 1
onClipEvent (enterFrame) {
with (_parent) {
if (active) {
findPos();
}
}
}
Symbol 586 MovieClip Frame 2
stop();
Instance of Symbol 428 MovieClip in Symbol 586 MovieClip Frame 2
onClipEvent (enterFrame) {
with (_parent) {
if (direction == "right") {
_x = _x + walkSpeed;
_xscale = xScale;
}
if (direction == "left") {
_x = _x - walkSpeed;
_xscale = -xScale;
}
}
}
Symbol 586 MovieClip Frame 3
stop();
Instance of Symbol 452 MovieClip in Symbol 586 MovieClip Frame 3
onClipEvent (enterFrame) {
with (_parent) {
if (direction == "right") {
_x = _x + runSpeed;
_xscale = xScale;
}
if (direction == "left") {
_x = _x - runSpeed;
_xscale = -xScale;
}
}
}
Symbol 586 MovieClip Frame 4
stop();
Instance of Symbol 461 MovieClip in Symbol 586 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 586 MovieClip Frame 5
stop();
Symbol 586 MovieClip Frame 6
stop();
Symbol 586 MovieClip Frame 7
stop();
Instance of Symbol 585 MovieClip in Symbol 586 MovieClip Frame 7
onClipEvent (load) {
waited = 0;
}
onClipEvent (enterFrame) {
waited++;
if (waited > 5) {
with (_parent) {
if (onfloor) {
busy = false;
gotoAndStop(1);
}
}
}
}
Symbol 600 MovieClip Frame 12
stop();
Symbol 601 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) / Math.PI);
vx = Math.sin(Angle * (Math.PI/180)) * reactionForceX;
vy = (-Math.cos(Angle * (Math.PI/180))) * 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) / Math.PI);
vx = Math.sin(Angle * (Math.PI/180)) * reactionForceX;
vy = (-Math.cos(Angle * (Math.PI/180))) * 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) / Math.PI);
if (Angle == 180) {
c = random(2);
if (c == 0) {
Angle = 181;
}
if (c == 1) {
Angle = 179;
}
}
vx = Math.sin(Angle * (Math.PI/180)) * 10;
vy = (-Math.cos(Angle * (Math.PI/180))) * 10;
}
vx = 0;
vy = 0;
gravity = 0.5;
reactionForceX = 15;
reactionForceY = 20;
time = 0;
alive = true;
_root.attention = this;
Symbol 601 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 601 MovieClip Frame 3
gotoAndPlay(_currentframe - 1);
Symbol 601 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 613 MovieClip in Symbol 614 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.roundText = "ROUND " + _root.round;
}
Symbol 614 MovieClip Frame 12
word = "Sound" + _root.round;
_root[word].start();
Instance of Symbol 613 MovieClip in Symbol 614 MovieClip Frame 24
onClipEvent (enterFrame) {
_root.roundText = "ROUND " + _root.round;
}
Symbol 614 MovieClip Frame 61
stop();
_root.go = true;
Instance of Symbol 616 MovieClip in Symbol 617 MovieClip Frame 1
onClipEvent (load) {
if (_root.humanScore >= 1) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.humanScore >= 1) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 616 MovieClip in Symbol 617 MovieClip Frame 1
onClipEvent (load) {
if (_root.humanScore >= 2) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.humanScore >= 2) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 616 MovieClip in Symbol 617 MovieClip Frame 1
onClipEvent (load) {
if (_root.humanScore >= 3) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.humanScore >= 3) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 616 MovieClip in Symbol 617 MovieClip Frame 1
onClipEvent (load) {
if (_root.humanScore >= 4) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.humanScore >= 4) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 616 MovieClip in Symbol 617 MovieClip Frame 1
onClipEvent (load) {
if (_root.humanScore >= 5) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.humanScore >= 5) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 616 MovieClip in Symbol 618 MovieClip Frame 1
onClipEvent (load) {
if (_root.cpuScore >= 1) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.cpuScore >= 1) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 616 MovieClip in Symbol 618 MovieClip Frame 1
onClipEvent (load) {
if (_root.cpuScore >= 2) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.cpuScore >= 2) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 616 MovieClip in Symbol 618 MovieClip Frame 1
onClipEvent (load) {
if (_root.cpuScore >= 3) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.cpuScore >= 3) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 616 MovieClip in Symbol 618 MovieClip Frame 1
onClipEvent (load) {
if (_root.cpuScore >= 4) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.cpuScore >= 4) {
_visible = true;
} else {
_visible = false;
}
}
Instance of Symbol 616 MovieClip in Symbol 618 MovieClip Frame 1
onClipEvent (load) {
if (_root.cpuScore >= 5) {
_visible = true;
} else {
_visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.cpuScore >= 5) {
_visible = true;
} else {
_visible = false;
}
}
Symbol 622 MovieClip Frame 1
stop();
Symbol 622 MovieClip Frame 2
stop();
Symbol 622 MovieClip Frame 3
stop();
Symbol 628 MovieClip Frame 1
_alpha = 0;
Symbol 631 MovieClip Frame 1
stop();
Symbol 631 MovieClip Frame 2
stop();
Instance of Symbol 428 MovieClip in Symbol 631 MovieClip Frame 2
onClipEvent (enterFrame) {
if (!(Key.isDown(68) or Key.isDown(65))) {
_parent.gotoAndStop(1);
}
}
Symbol 631 MovieClip Frame 3
stop();
Instance of Symbol 452 MovieClip in Symbol 631 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 631 MovieClip Frame 4
stop();
Instance of Symbol 461 MovieClip in Symbol 631 MovieClip Frame 4
onClipEvent (load) {
waited = 0;
}
onClipEvent (enterFrame) {
waited++;
if (waited > 5) {
with (_parent) {
if (onfloor) {
gotoAndStop(1);
}
}
}
}
Symbol 631 MovieClip Frame 5
stop();
Instance of Symbol 468 MovieClip in Symbol 631 MovieClip Frame 5
onClipEvent (load) {
waited = 0;
}
onClipEvent (enterFrame) {
waited++;
if (waited > 5) {
with (_parent) {
if (onfloor) {
gotoAndStop(1);
}
}
}
}
Symbol 631 MovieClip Frame 6
stop();
Symbol 631 MovieClip Frame 7
stop();
Instance of Symbol 506 MovieClip in Symbol 631 MovieClip Frame 7
onClipEvent (enterFrame) {
with (_parent) {
if (_xscale == xScale) {
_x = _x + walkSpeed;
}
if (_xscale == (-xScale)) {
_x = _x - walkSpeed;
}
}
}
Symbol 631 MovieClip Frame 8
stop();
Instance of Symbol 530 MovieClip in Symbol 631 MovieClip Frame 8
onClipEvent (enterFrame) {
with (_parent) {
if (_xscale == xScale) {
_x = _x + runSpeed;
}
if (_xscale == (-xScale)) {
_x = _x - runSpeed;
}
}
}
Symbol 631 MovieClip Frame 9
stop();
Instance of Symbol 544 MovieClip in Symbol 631 MovieClip Frame 9
onClipEvent (load) {
waited = 0;
}
onClipEvent (enterFrame) {
waited++;
if (waited > 5) {
with (_parent) {
if (onfloor) {
gotoAndStop(1);
}
}
}
}
Symbol 631 MovieClip Frame 10
stop();
Instance of Symbol 562 MovieClip in Symbol 631 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 639 MovieClip Frame 1
_root.stop();
Symbol 639 MovieClip Frame 176
if (!_root.hellMode) {
stopAllSounds();
mozart = new Sound(_root.menumusic);
mozart.attachSound("mozart");
mozart.start(0, 999);
}
if (_root.hellMode) {
gamemusicm = new Sound(this);
gamemusicm.attachSound("hellmusic");
gamemusicm.start(0, 9999);
}
_root.gotoAndPlay("menu");
Symbol 641 MovieClip Frame 1
_root.stop();
Symbol 641 MovieClip Frame 176
if (!_root.hellMode) {
stopAllSounds();
mozart = new Sound(_root.menumusic);
mozart.attachSound("mozart");
mozart.start(0, 999);
}
if (_root.hellMode) {
gamemusicm = new Sound(this);
gamemusicm.attachSound("hellmusic");
gamemusicm.start(0, 9999);
}
_root.gotoAndPlay("menu");