Frame 1
stop();
_root.level_num = 1;
Frame 2
stop();
_root.level_num = 1;
Instance of Symbol 52 MovieClip in Frame 2
onClipEvent (load) {
_root.go = false;
_root.olderkeypressed = "right";
_root.enemyolderkeypressed = "right";
_root.speed = 1;
_root.enemyspeed = 1;
_root.counter = 0;
_root.enemycounter = 0;
}
onClipEvent (enterFrame) {
if (_root.go == true) {
_root.counter = int(_root.counter) + 1;
_root.enemycounter = int(_root.enemycounter) + 1;
if (_root.speed < 0) {
_root.speed = 0;
}
if (_root.enemyspeed < 0) {
_root.enemyspeed = 0;
}
}
}
Instance of Symbol 58 MovieClip "speed_chart" in Frame 2
onClipEvent (enterFrame) {
if (_root.speed < 30) {
setProperty(this, _xscale , 0.03 + (_root.speed / 10));
setProperty(this, _x , 43.8 + (_root.speed / 10));
}
}
onClipEvent (load) {
setProperty(this, _x , 43.8);
}
Frame 3
_root.level_num = 2;
_root.speed = 0;
if (_root.showme == "win") {
gotoAndStop (18);
}
if (_root.showme == "lose") {
gotoAndStop (19);
}
Frame 4
_root.level_num = 2;
_root.speed = 0;
Frame 5
_root.level_num = 3;
_root.speed = 0;
if (_root.showme == "win") {
gotoAndStop (18);
}
if (_root.showme == "lose") {
gotoAndStop (19);
}
Frame 6
_root.level_num = 3;
_root.speed = 0;
Frame 7
_root.level_num = 4;
_root.speed = 0;
if (_root.showme == "win") {
gotoAndStop (18);
}
if (_root.showme == "lose") {
gotoAndStop (19);
}
Frame 8
_root.level_num = 4;
_root.speed = 0;
Frame 9
_root.level_num = 5;
if (_root.showme == "win") {
gotoAndStop (18);
}
if (_root.showme == "lose") {
gotoAndStop (19);
}
Frame 10
_root.level_num = 5;
_root.speed = 0;
Frame 11
_root.level_num = 6;
if (_root.showme == "win") {
gotoAndStop (18);
}
if (_root.showme == "lose") {
gotoAndStop (19);
}
Frame 12
_root.level_num = 6;
_root.speed = 0;
Frame 13
_root.level_num = 7;
if (_root.showme == "win") {
gotoAndStop (18);
}
if (_root.showme == "lose") {
gotoAndStop (19);
}
Frame 14
_root.level_num = 7;
_root.speed = 0;
Frame 15
_root.level_num = 8;
if (_root.showme == "win") {
gotoAndStop (18);
}
if (_root.showme == "lose") {
gotoAndStop (19);
}
Frame 16
_root.level_num = 8;
_root.speed = 0;
Frame 17
_root.level_num = 9;
if (_root.showme == "win") {
gotoAndStop (18);
}
if (_root.showme == "lose") {
gotoAndStop (19);
}
Frame 18
stop();
Frame 19
stop();
Frame 20
if (_root.computerscore < _root.playerscore) {
res = "Well done! You beat the computer!";
} else if (_root.playerscore == _root.computerscore) {
res = "It was a draw! Why not try again!";
} else {
res = "Bad luck! The computer beat you. Why not give it another go!";
}
Symbol 34 Button
on (release) {
getURL ("http://www.matmi.com");
}
Symbol 44 Button
on (release) {
tellTarget ("../") {
gotoAndPlay (1);
};
}
Symbol 46 MovieClip Frame 1
total = Math.round(getBytesTotal() / 1024);
Symbol 46 MovieClip Frame 2
loadtext = ("Loading " add total) add " Kb";
Symbol 46 MovieClip Frame 9
var loadAmount = _totalframes;
if (_framesloaded == loadAmount) {
stop();
gotoAndStop (11);
} else {
loaded = Math.round(getBytesLoaded() / 1024);
total = Math.round(getBytesTotal() / 1024);
gotoAndPlay (2);
}
Symbol 46 MovieClip Frame 10
nextFrame();
Symbol 46 MovieClip Frame 11
stop();
Symbol 77 MovieClip Frame 9
stop();
_root.go = true;
Symbol 78 MovieClip Frame 55
stop();
Symbol 105 MovieClip Frame 1
stop();
Symbol 105 MovieClip Frame 2
stop();
Symbol 105 MovieClip Frame 3
stop();
Symbol 105 MovieClip Frame 4
stop();
Symbol 105 MovieClip Frame 5
stop();
Symbol 105 MovieClip Frame 6
stop();
Symbol 105 MovieClip Frame 7
stop();
Symbol 105 MovieClip Frame 8
stop();
Symbol 105 MovieClip Frame 9
stop();
Symbol 105 MovieClip Frame 10
stop();
Symbol 105 MovieClip Frame 11
stop();
Symbol 105 MovieClip Frame 12
stop();
Symbol 105 MovieClip Frame 13
stop();
Symbol 105 MovieClip Frame 14
stop();
Symbol 105 MovieClip Frame 15
stop();
Symbol 105 MovieClip Frame 16
stop();
Symbol 105 MovieClip Frame 17
stop();
Symbol 105 MovieClip Frame 18
stop();
Symbol 105 MovieClip Frame 19
stop();
gotoAndPlay (1);
Symbol 105 MovieClip Frame 29
gotoAndPlay (1);
_root.playerjumping = false;
Symbol 128 MovieClip Frame 1
stop();
Symbol 128 MovieClip Frame 2
stop();
Symbol 128 MovieClip Frame 3
stop();
Symbol 128 MovieClip Frame 4
stop();
Symbol 128 MovieClip Frame 5
stop();
Symbol 128 MovieClip Frame 6
stop();
Symbol 128 MovieClip Frame 7
stop();
Symbol 128 MovieClip Frame 8
stop();
Symbol 128 MovieClip Frame 9
stop();
Symbol 128 MovieClip Frame 10
stop();
Symbol 128 MovieClip Frame 11
stop();
Symbol 128 MovieClip Frame 12
stop();
Symbol 128 MovieClip Frame 13
stop();
Symbol 128 MovieClip Frame 14
stop();
Symbol 128 MovieClip Frame 15
stop();
Symbol 128 MovieClip Frame 16
stop();
Symbol 128 MovieClip Frame 17
stop();
Symbol 128 MovieClip Frame 18
stop();
Symbol 128 MovieClip Frame 19
gotoAndPlay (1);
Symbol 128 MovieClip Frame 31
gotoAndPlay (1);
_root.computerjumping = false;
Instance of Symbol 80 MovieClip "win" in Symbol 129 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hittest("../player")) {
playerfinished = true;
if (foundwinner == false) {
playerwon = true;
foundwinner = true;
}
}
if (hittest("../computer")) {
computerfinished = true;
if (foundwinner == false) {
foundwinner = true;
compwon = true;
}
}
if ((computerfinished == true) and (playerfinished == true)) {
if (playerwon == true) {
_root.showme = "win";
tellTarget ("../../") {
gotoAndPlay (2);
};
_root.playerscore = int(_root.playerscore) + 1;
} else {
_root.showme = "lose";
tellTarget ("../../") {
gotoAndPlay (2);
};
_root.computerscore = int(_root.computerscore) + 1;
}
computerfinished = false;
compwon = false;
playerwon = false;
playerfinished = false;
foundwinner = false;
}
}
onClipEvent (load) {
computerfinished = false;
_root.showme = "nothing";
compwon = false;
playerwon = false;
foundwinner = false;
playerfinished = false;
}
Instance of Symbol 105 MovieClip "player" in Symbol 129 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.go == true) {
if ((_root.olderkeypressed == "right") and Key.isDown(90)) {
_root.olderkeypressed = "left";
tellTarget ("") {
nextFrame();
};
_root.speed = int(_root.speed) + 1;
} else if ((_root.olderkeypressed == "left") and Key.isDown(88)) {
_root.olderkeypressed = "right";
tellTarget ("") {
nextFrame();
};
_root.speed = int(_root.speed) + 1;
}
setProperty(this, _x , getProperty(this, _x) + _root.speed);
if (2 < _root.counter) {
_root.speed = int(_root.speed) - 1;
_root.counter = 0;
}
if (Key.isDown(90) and Key.isDown(88)) {
_root.speed = int(_root.speed) - 0.25;
}
}
}
onClipEvent (load) {
_root.speed = 0;
_root.enemyspeed = 0;
}
Instance of Symbol 128 MovieClip "computer" in Symbol 129 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.go == true) {
if ((_root.enemyolderkeypressed == "right") and (random(2) == 1)) {
_root.enemyolderkeypressed = "left";
_root.enemyspeed = int(_root.enemyspeed) + 1;
} else if ((_root.enemyolderkeypressed == "left") and (random(2) == 1)) {
_root.enemyolderkeypressed = "right";
_root.enemyspeed = int(_root.enemyspeed) + 1;
}
setProperty(this, _x , getProperty(this, _x) + _root.enemyspeed);
if (2 < _root.enemycounter) {
_root.enemyspeed = int(_root.enemyspeed) - 1;
_root.enemycounter = 0;
}
}
}
Symbol 134 MovieClip Frame 55
stop();
Symbol 135 MovieClip Frame 1
stop();
Symbol 135 MovieClip Frame 2
stop();
Symbol 135 MovieClip Frame 3
stop();
Symbol 135 MovieClip Frame 4
stop();
Symbol 135 MovieClip Frame 5
stop();
Symbol 135 MovieClip Frame 6
stop();
Symbol 135 MovieClip Frame 7
stop();
Symbol 135 MovieClip Frame 8
stop();
Symbol 135 MovieClip Frame 9
stop();
Symbol 135 MovieClip Frame 10
stop();
Symbol 135 MovieClip Frame 11
stop();
Symbol 135 MovieClip Frame 12
stop();
Symbol 135 MovieClip Frame 13
stop();
Symbol 135 MovieClip Frame 14
stop();
Symbol 135 MovieClip Frame 15
stop();
Symbol 135 MovieClip Frame 16
stop();
Symbol 135 MovieClip Frame 17
stop();
Symbol 135 MovieClip Frame 18
stop();
Symbol 135 MovieClip Frame 19
stop();
gotoAndPlay (1);
Symbol 135 MovieClip Frame 29
gotoAndPlay (1);
_root.playerjumping = false;
Symbol 136 MovieClip Frame 1
stop();
Symbol 136 MovieClip Frame 2
stop();
Symbol 136 MovieClip Frame 3
stop();
Symbol 136 MovieClip Frame 4
stop();
Symbol 136 MovieClip Frame 5
stop();
Symbol 136 MovieClip Frame 6
stop();
Symbol 136 MovieClip Frame 7
stop();
Symbol 136 MovieClip Frame 8
stop();
Symbol 136 MovieClip Frame 9
stop();
Symbol 136 MovieClip Frame 10
stop();
Symbol 136 MovieClip Frame 11
stop();
Symbol 136 MovieClip Frame 12
stop();
Symbol 136 MovieClip Frame 13
stop();
Symbol 136 MovieClip Frame 14
stop();
Symbol 136 MovieClip Frame 15
stop();
Symbol 136 MovieClip Frame 16
stop();
Symbol 136 MovieClip Frame 17
stop();
Symbol 136 MovieClip Frame 18
stop();
Symbol 136 MovieClip Frame 19
gotoAndPlay (1);
Symbol 136 MovieClip Frame 31
gotoAndPlay (1);
_root.computerjumping = false;
Instance of Symbol 131 MovieClip "fence" in Symbol 139 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hittest("../player") and (_root.playerjumping == false)) {
_root.speed = 1;
}
if (hittest("../computer") and (_root.computerjumping == false)) {
_root.enemyspeed = 1;
}
}
Instance of Symbol 133 MovieClip "win" in Symbol 139 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hittest("../player")) {
playerfinished = true;
if (foundwinner == false) {
playerwon = true;
foundwinner = true;
}
}
if (hittest("../computer")) {
computerfinished = true;
if (foundwinner == false) {
foundwinner = true;
compwon = true;
}
}
if ((computerfinished == true) and (playerfinished == true)) {
if (playerwon == true) {
_root.showme = "win";
tellTarget ("../../") {
gotoAndPlay (4);
};
_root.playerscore = int(_root.playerscore) + 1;
} else {
_root.showme = "lose";
tellTarget ("../../") {
gotoAndPlay (4);
};
_root.computerscore = int(_root.computerscore) + 1;
}
computerfinished = false;
compwon = false;
playerwon = false;
playerfinished = false;
foundwinner = false;
}
}
onClipEvent (load) {
computerfinished = false;
_root.showme = "nothing";
compwon = false;
playerwon = false;
foundwinner = false;
playerfinished = false;
}
Instance of Symbol 135 MovieClip "player" in Symbol 139 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.go == true) {
if ((_root.olderkeypressed == "right") and Key.isDown(90)) {
_root.olderkeypressed = "left";
tellTarget ("") {
nextFrame();
};
_root.speed = int(_root.speed) + 1;
} else if ((_root.olderkeypressed == "left") and Key.isDown(88)) {
_root.olderkeypressed = "right";
tellTarget ("") {
nextFrame();
};
_root.speed = int(_root.speed) + 1;
}
setProperty(this, _x , getProperty(this, _x) + _root.speed);
if (2 < _root.counter) {
_root.speed = int(_root.speed) - 1;
_root.counter = 0;
}
if (Key.isDown(32) and (_root.playerjumping == false)) {
_root.playerjumping = true;
tellTarget ("../player") {
gotoAndPlay (20);
};
}
if (Key.isDown(90) and Key.isDown(88)) {
_root.speed = int(_root.speed) - 0.25;
}
}
}
onClipEvent (load) {
_root.playerjumping = false;
}
Instance of Symbol 136 MovieClip "computer" in Symbol 139 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.go == true) {
if ((_root.enemyolderkeypressed == "right") and (random(2) == 1)) {
_root.enemyolderkeypressed = "left";
_root.enemyspeed = int(_root.enemyspeed) + 1;
} else if ((_root.enemyolderkeypressed == "left") and (random(2) == 1)) {
_root.enemyolderkeypressed = "right";
_root.enemyspeed = int(_root.enemyspeed) + 1;
}
setProperty(this, _x , getProperty(this, _x) + _root.enemyspeed);
if (2 < _root.enemycounter) {
_root.enemyspeed = int(_root.enemyspeed) - 1;
_root.enemycounter = 0;
}
}
}
onClipEvent (load) {
_root.computerjumping = false;
}
Instance of Symbol 138 MovieClip "computerwatcher" in Symbol 139 MovieClip Frame 1
onClipEvent (load) {
notdoneyet = true;
}
onClipEvent (enterFrame) {
if (hittest("../computer") and (notdoneyet == true)) {
notdoneyet = false;
x = random(10);
if (int(x) < 9) {
_root.computerjumping = true;
tellTarget ("../computer") {
gotoAndPlay (20);
};
}
}
}
Symbol 142 MovieClip Frame 1
stop();
Symbol 142 MovieClip Frame 2
stop();
Symbol 142 MovieClip Frame 3
stop();
Symbol 142 MovieClip Frame 4
stop();
Symbol 142 MovieClip Frame 5
stop();
Symbol 142 MovieClip Frame 6
stop();
Symbol 142 MovieClip Frame 7
stop();
Symbol 142 MovieClip Frame 8
stop();
Symbol 142 MovieClip Frame 9
stop();
Symbol 142 MovieClip Frame 10
stop();
Symbol 142 MovieClip Frame 11
stop();
Symbol 142 MovieClip Frame 12
stop();
Symbol 142 MovieClip Frame 13
stop();
Symbol 142 MovieClip Frame 14
stop();
Symbol 142 MovieClip Frame 15
stop();
Symbol 142 MovieClip Frame 16
stop();
Symbol 142 MovieClip Frame 17
stop();
Symbol 142 MovieClip Frame 18
stop();
Symbol 142 MovieClip Frame 19
stop();
gotoAndPlay (1);
Symbol 142 MovieClip Frame 29
gotoAndPlay (1);
_root.playerjumping = false;
Instance of Symbol 131 MovieClip "fence2" in Symbol 143 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hittest("../player") and (_root.playerjumping == false)) {
_root.speed = 1;
}
if (hittest("../computer") and (_root.computerjumping == false)) {
_root.enemyspeed = 1;
}
}
Instance of Symbol 131 MovieClip "fence3" in Symbol 143 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hittest("../player") and (_root.playerjumping == false)) {
_root.speed = 1;
}
if (hittest("../computer") and (_root.computerjumping == false)) {
_root.enemyspeed = 1;
}
}
Instance of Symbol 140 MovieClip "computerwatcher3" in Symbol 143 MovieClip Frame 1
onClipEvent (load) {
notdoneyet = true;
}
onClipEvent (enterFrame) {
if (hittest("../computer") and (notdoneyet == true)) {
notdoneyet = false;
x = random(10);
if (int(x) < 9) {
_root.computerjumping = true;
tellTarget ("../computer") {
gotoAndPlay (20);
};
}
}
}
Instance of Symbol 141 MovieClip "win" in Symbol 143 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hittest("../player")) {
playerfinished = true;
if (foundwinner == false) {
playerwon = true;
foundwinner = true;
}
}
if (hittest("../computer")) {
computerfinished = true;
if (foundwinner == false) {
foundwinner = true;
compwon = true;
}
}
if ((computerfinished == true) and (playerfinished == true)) {
if (playerwon == true) {
_root.showme = "win";
tellTarget ("../../") {
gotoAndPlay (6);
};
_root.playerscore = int(_root.playerscore) + 1;
} else {
_root.showme = "lose";
tellTarget ("../../") {
gotoAndPlay (6);
};
_root.computerscore = int(_root.computerscore) + 1;
}
computerfinished = false;
compwon = false;
playerwon = false;
playerfinished = false;
foundwinner = false;
}
}
onClipEvent (load) {
computerfinished = false;
_root.showme = "nothing";
compwon = false;
playerwon = false;
foundwinner = false;
playerfinished = false;
}
Instance of Symbol 142 MovieClip "player" in Symbol 143 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.go == true) {
if ((_root.olderkeypressed == "right") and Key.isDown(90)) {
_root.olderkeypressed = "left";
tellTarget ("") {
nextFrame();
};
_root.speed = int(_root.speed) + 1;
} else if ((_root.olderkeypressed == "left") and Key.isDown(88)) {
_root.olderkeypressed = "right";
tellTarget ("") {
nextFrame();
};
_root.speed = int(_root.speed) + 1;
}
setProperty(this, _x , getProperty(this, _x) + _root.speed);
if (2 < _root.counter) {
_root.speed = int(_root.speed) - 1;
_root.counter = 0;
}
if (Key.isDown(32) and (_root.playerjumping == false)) {
_root.playerjumping = true;
tellTarget ("../player") {
gotoAndPlay (20);
};
}
if (Key.isDown(90) and Key.isDown(88)) {
_root.speed = int(_root.speed) - 0.25;
}
}
}
onClipEvent (load) {
_root.playerjumping = false;
}
Instance of Symbol 136 MovieClip "computer" in Symbol 143 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.go == true) {
if ((_root.enemyolderkeypressed == "right") and (random(2) == 1)) {
_root.enemyolderkeypressed = "left";
_root.enemyspeed = int(_root.enemyspeed) + 1;
} else if ((_root.enemyolderkeypressed == "left") and (random(2) == 1)) {
_root.enemyolderkeypressed = "right";
_root.enemyspeed = int(_root.enemyspeed) + 1;
}
setProperty(this, _x , getProperty(this, _x) + _root.enemyspeed);
if (2 < _root.enemycounter) {
_root.enemyspeed = int(_root.enemyspeed) - 1;
_root.enemycounter = 0;
}
}
}
onClipEvent (load) {
_root.computerjumping = false;
}
Instance of Symbol 140 MovieClip "computerwatcher2" in Symbol 143 MovieClip Frame 1
onClipEvent (load) {
notdoneyet = true;
}
onClipEvent (enterFrame) {
if (hittest("../computer") and (notdoneyet == true)) {
notdoneyet = false;
x = random(10);
if (int(x) < 9) {
_root.computerjumping = true;
tellTarget ("../computer") {
gotoAndPlay (20);
};
}
}
}
Symbol 147 MovieClip Frame 1
stop();
Symbol 147 MovieClip Frame 2
stop();
Symbol 147 MovieClip Frame 3
stop();
Symbol 147 MovieClip Frame 4
stop();
Symbol 147 MovieClip Frame 5
stop();
Symbol 147 MovieClip Frame 6
stop();
Symbol 147 MovieClip Frame 7
stop();
Symbol 147 MovieClip Frame 8
stop();
Symbol 147 MovieClip Frame 9
stop();
Symbol 147 MovieClip Frame 10
stop();
Symbol 147 MovieClip Frame 11
stop();
Symbol 147 MovieClip Frame 12
stop();
Symbol 147 MovieClip Frame 13
stop();
Symbol 147 MovieClip Frame 14
stop();
Symbol 147 MovieClip Frame 15
stop();
Symbol 147 MovieClip Frame 16
stop();
Symbol 147 MovieClip Frame 17
stop();
Symbol 147 MovieClip Frame 18
stop();
Symbol 147 MovieClip Frame 19
stop();
gotoAndPlay (1);
Symbol 147 MovieClip Frame 29
gotoAndPlay (1);
_root.playerjumping = false;
Instance of Symbol 145 MovieClip "pool1" in Symbol 149 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hittest("../player") and (_root.playerjumping == false)) {
_root.speed = 1;
}
if (hittest("../computer") and (_root.computerjumping == false)) {
_root.enemyspeed = 1;
}
}
Instance of Symbol 131 MovieClip "fence5" in Symbol 149 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hittest("../player") and (_root.playerjumping == false)) {
_root.speed = 1;
}
if (hittest("../computer") and (_root.computerjumping == false)) {
_root.enemyspeed = 1;
}
}
Instance of Symbol 146 MovieClip "win" in Symbol 149 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hittest("../player")) {
playerfinished = true;
if (foundwinner == false) {
playerwon = true;
foundwinner = true;
}
}
if (hittest("../computer")) {
computerfinished = true;
if (foundwinner == false) {
foundwinner = true;
compwon = true;
}
}
if ((computerfinished == true) and (playerfinished == true)) {
if (playerwon == true) {
_root.showme = "win";
tellTarget ("../../") {
gotoAndPlay (8);
};
_root.playerscore = int(_root.playerscore) + 1;
} else {
_root.showme = "lose";
tellTarget ("../../") {
gotoAndPlay (8);
};
_root.computerscore = int(_root.computerscore) + 1;
}
computerfinished = false;
compwon = false;
playerwon = false;
playerfinished = false;
foundwinner = false;
}
}
onClipEvent (load) {
computerfinished = false;
_root.showme = "nothing";
compwon = false;
playerwon = false;
foundwinner = false;
playerfinished = false;
}
Instance of Symbol 147 MovieClip "player" in Symbol 149 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.go == true) {
if ((_root.olderkeypressed == "right") and Key.isDown(90)) {
_root.olderkeypressed = "left";
tellTarget ("") {
nextFrame();
};
_root.speed = int(_root.speed) + 1;
} else if ((_root.olderkeypressed == "left") and Key.isDown(88)) {
_root.olderkeypressed = "right";
tellTarget ("") {
nextFrame();
};
_root.speed = int(_root.speed) + 1;
}
setProperty(this, _x , getProperty(this, _x) + _root.speed);
if (2 < _root.counter) {
_root.speed = int(_root.speed) - 1;
_root.counter = 0;
}
if (Key.isDown(32) and (_root.playerjumping == false)) {
_root.playerjumping = true;
tellTarget ("../player") {
gotoAndPlay (20);
};
}
if (Key.isDown(90) and Key.isDown(88)) {
_root.speed = int(_root.speed) - 0.25;
}
}
}
onClipEvent (load) {
_root.playerjumping = false;
}
Instance of Symbol 136 MovieClip "computer" in Symbol 149 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.go == true) {
if ((_root.enemyolderkeypressed == "right") and (random(2) == 1)) {
_root.enemyolderkeypressed = "left";
_root.enemyspeed = int(_root.enemyspeed) + 1;
} else if ((_root.enemyolderkeypressed == "left") and (random(2) == 1)) {
_root.enemyolderkeypressed = "right";
_root.enemyspeed = int(_root.enemyspeed) + 1;
}
setProperty(this, _x , getProperty(this, _x) + _root.enemyspeed);
if (2 < _root.enemycounter) {
_root.enemyspeed = int(_root.enemyspeed) - 1;
_root.enemycounter = 0;
}
}
}
onClipEvent (load) {
_root.computerjumping = false;
}
Instance of Symbol 148 MovieClip "computerwatcher4" in Symbol 149 MovieClip Frame 1
onClipEvent (load) {
notdoneyet = true;
}
onClipEvent (enterFrame) {
if (hittest("../computer") and (notdoneyet == true)) {
notdoneyet = false;
x = random(10);
if (int(x) < 9) {
_root.computerjumping = true;
tellTarget ("../computer") {
gotoAndPlay (20);
};
}
}
}
Symbol 155 MovieClip Frame 1
stop();
Symbol 155 MovieClip Frame 2
stop();
Symbol 155 MovieClip Frame 3
stop();
Symbol 155 MovieClip Frame 4
stop();
Symbol 155 MovieClip Frame 5
stop();
Symbol 155 MovieClip Frame 6
stop();
Symbol 155 MovieClip Frame 7
stop();
Symbol 155 MovieClip Frame 8
stop();
Symbol 155 MovieClip Frame 9
stop();
Symbol 155 MovieClip Frame 10
stop();
Symbol 155 MovieClip Frame 11
stop();
Symbol 155 MovieClip Frame 12
stop();
Symbol 155 MovieClip Frame 13
stop();
Symbol 155 MovieClip Frame 14
stop();
Symbol 155 MovieClip Frame 15
stop();
Symbol 155 MovieClip Frame 16
stop();
Symbol 155 MovieClip Frame 17
stop();
Symbol 155 MovieClip Frame 18
stop();
Symbol 155 MovieClip Frame 19
stop();
gotoAndPlay (1);
Symbol 155 MovieClip Frame 29
gotoAndPlay (1);
_root.playerjumping = false;
Instance of Symbol 152 MovieClip "bush" in Symbol 156 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hittest("../player") and (_root.playerjumping == false)) {
_root.speed = 1;
}
if (hittest("../computer") and (_root.computerjumping == false)) {
_root.enemyspeed = 1;
}
}
Instance of Symbol 152 MovieClip "bush2" in Symbol 156 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hittest("../player") and (_root.playerjumping == false)) {
_root.speed = 1;
}
if (hittest("../computer") and (_root.computerjumping == false)) {
_root.enemyspeed = 1;
}
}
Instance of Symbol 131 MovieClip "fence5" in Symbol 156 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hittest("../player") and (_root.playerjumping == false)) {
_root.speed = 1;
}
if (hittest("../computer") and (_root.computerjumping == false)) {
_root.enemyspeed = 1;
}
}
Instance of Symbol 153 MovieClip "win" in Symbol 156 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hittest("../player")) {
playerfinished = true;
if (foundwinner == false) {
playerwon = true;
foundwinner = true;
}
}
if (hittest("../computer")) {
computerfinished = true;
if (foundwinner == false) {
foundwinner = true;
compwon = true;
}
}
if ((computerfinished == true) and (playerfinished == true)) {
if (playerwon == true) {
_root.showme = "win";
tellTarget ("../../") {
gotoAndPlay (10);
};
_root.playerscore = int(_root.playerscore) + 1;
} else {
_root.showme = "lose";
tellTarget ("../../") {
gotoAndPlay (10);
};
_root.computerscore = int(_root.computerscore) + 1;
}
computerfinished = false;
compwon = false;
playerwon = false;
playerfinished = false;
foundwinner = false;
}
}
onClipEvent (load) {
computerfinished = false;
_root.showme = "nothing";
compwon = false;
playerwon = false;
foundwinner = false;
playerfinished = false;
}
Instance of Symbol 154 MovieClip "computerwatcher5" in Symbol 156 MovieClip Frame 1
onClipEvent (load) {
notdoneyet = true;
}
onClipEvent (enterFrame) {
if (hittest("../computer") and (notdoneyet == true)) {
notdoneyet = false;
x = random(10);
if (int(x) < 9) {
_root.computerjumping = true;
tellTarget ("../computer") {
gotoAndPlay (20);
};
}
}
}
Instance of Symbol 154 MovieClip "computerwatcher6" in Symbol 156 MovieClip Frame 1
onClipEvent (load) {
notdoneyet = true;
}
onClipEvent (enterFrame) {
if (hittest("../computer") and (notdoneyet == true)) {
notdoneyet = false;
x = random(10);
if (int(x) < 9) {
_root.computerjumping = true;
tellTarget ("../computer") {
gotoAndPlay (20);
};
}
}
}
Instance of Symbol 154 MovieClip "computerwatcher7" in Symbol 156 MovieClip Frame 1
onClipEvent (load) {
notdoneyet = true;
}
onClipEvent (enterFrame) {
if (hittest("../computer") and (notdoneyet == true)) {
notdoneyet = false;
x = random(10);
if (int(x) < 9) {
_root.computerjumping = true;
tellTarget ("../computer") {
gotoAndPlay (20);
};
}
}
}
Instance of Symbol 155 MovieClip "player" in Symbol 156 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.go == true) {
if ((_root.olderkeypressed == "right") and Key.isDown(90)) {
_root.olderkeypressed = "left";
tellTarget ("") {
nextFrame();
};
_root.speed = int(_root.speed) + 1;
} else if ((_root.olderkeypressed == "left") and Key.isDown(88)) {
_root.olderkeypressed = "right";
tellTarget ("") {
nextFrame();
};
_root.speed = int(_root.speed) + 1;
}
setProperty(this, _x , getProperty(this, _x) + _root.speed);
if (2 < _root.counter) {
_root.speed = int(_root.speed) - 1;
_root.counter = 0;
}
if (Key.isDown(32) and (_root.playerjumping == false)) {
_root.playerjumping = true;
tellTarget ("../player") {
gotoAndPlay (20);
};
}
if (Key.isDown(90) and Key.isDown(88)) {
_root.speed = int(_root.speed) - 0.25;
}
}
}
onClipEvent (load) {
_root.playerjumping = false;
}
Instance of Symbol 136 MovieClip "computer" in Symbol 156 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.go == true) {
if ((_root.enemyolderkeypressed == "right") and (random(2) == 1)) {
_root.enemyolderkeypressed = "left";
_root.enemyspeed = int(_root.enemyspeed) + 1;
} else if ((_root.enemyolderkeypressed == "left") and (random(2) == 1)) {
_root.enemyolderkeypressed = "right";
_root.enemyspeed = int(_root.enemyspeed) + 1;
}
setProperty(this, _x , getProperty(this, _x) + _root.enemyspeed);
if (2 < _root.enemycounter) {
_root.enemyspeed = int(_root.enemyspeed) - 1;
_root.enemycounter = 0;
}
}
}
onClipEvent (load) {
_root.computerjumping = false;
}
Symbol 159 MovieClip Frame 1
stop();
Symbol 159 MovieClip Frame 2
stop();
Symbol 159 MovieClip Frame 3
stop();
Symbol 159 MovieClip Frame 4
stop();
Symbol 159 MovieClip Frame 5
stop();
Symbol 159 MovieClip Frame 6
stop();
Symbol 159 MovieClip Frame 7
stop();
Symbol 159 MovieClip Frame 8
stop();
Symbol 159 MovieClip Frame 9
stop();
Symbol 159 MovieClip Frame 10
stop();
Symbol 159 MovieClip Frame 11
stop();
Symbol 159 MovieClip Frame 12
stop();
Symbol 159 MovieClip Frame 13
stop();
Symbol 159 MovieClip Frame 14
stop();
Symbol 159 MovieClip Frame 15
stop();
Symbol 159 MovieClip Frame 16
stop();
Symbol 159 MovieClip Frame 17
stop();
Symbol 159 MovieClip Frame 18
stop();
Symbol 159 MovieClip Frame 19
stop();
gotoAndPlay (1);
Symbol 159 MovieClip Frame 29
gotoAndPlay (1);
_root.playerjumping = false;
Instance of Symbol 152 MovieClip "bush3" in Symbol 161 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hittest("../player") and (_root.playerjumping == false)) {
_root.speed = 1;
}
if (hittest("../computer") and (_root.computerjumping == false)) {
_root.enemyspeed = 1;
}
}
Instance of Symbol 145 MovieClip "pool2" in Symbol 161 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hittest("../player") and (_root.playerjumping == false)) {
_root.speed = 1;
}
if (hittest("../computer") and (_root.computerjumping == false)) {
_root.enemyspeed = 1;
}
}
Instance of Symbol 152 MovieClip "bush5" in Symbol 161 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hittest("../player") and (_root.playerjumping == false)) {
_root.speed = 1;
}
if (hittest("../computer") and (_root.computerjumping == false)) {
_root.enemyspeed = 1;
}
}
Instance of Symbol 131 MovieClip "fence7" in Symbol 161 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hittest("../player") and (_root.playerjumping == false)) {
_root.speed = 1;
}
if (hittest("../computer") and (_root.computerjumping == false)) {
_root.enemyspeed = 1;
}
}
Instance of Symbol 158 MovieClip "win" in Symbol 161 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hittest("../player")) {
playerfinished = true;
if (foundwinner == false) {
playerwon = true;
foundwinner = true;
}
}
if (hittest("../computer")) {
computerfinished = true;
if (foundwinner == false) {
foundwinner = true;
compwon = true;
}
}
if ((computerfinished == true) and (playerfinished == true)) {
if (playerwon == true) {
_root.showme = "win";
tellTarget ("../../") {
gotoAndPlay (12);
};
_root.playerscore = int(_root.playerscore) + 1;
} else {
_root.showme = "lose";
tellTarget ("../../") {
gotoAndPlay (12);
};
_root.computerscore = int(_root.computerscore) + 1;
}
computerfinished = false;
compwon = false;
playerwon = false;
playerfinished = false;
foundwinner = false;
}
}
onClipEvent (load) {
computerfinished = false;
_root.showme = "nothing";
compwon = false;
playerwon = false;
foundwinner = false;
playerfinished = false;
}
Instance of Symbol 159 MovieClip "player" in Symbol 161 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.go == true) {
if ((_root.olderkeypressed == "right") and Key.isDown(90)) {
_root.olderkeypressed = "left";
tellTarget ("") {
nextFrame();
};
_root.speed = int(_root.speed) + 1;
} else if ((_root.olderkeypressed == "left") and Key.isDown(88)) {
_root.olderkeypressed = "right";
tellTarget ("") {
nextFrame();
};
_root.speed = int(_root.speed) + 1;
}
setProperty(this, _x , getProperty(this, _x) + _root.speed);
if (2 < _root.counter) {
_root.speed = int(_root.speed) - 1;
_root.counter = 0;
}
if (Key.isDown(32) and (_root.playerjumping == false)) {
_root.playerjumping = true;
tellTarget ("../player") {
gotoAndPlay (20);
};
}
if (Key.isDown(90) and Key.isDown(88)) {
_root.speed = int(_root.speed) - 0.25;
}
}
}
onClipEvent (load) {
_root.playerjumping = false;
}
Instance of Symbol 136 MovieClip "computer" in Symbol 161 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.go == true) {
if ((_root.enemyolderkeypressed == "right") and (random(2) == 1)) {
_root.enemyolderkeypressed = "left";
_root.enemyspeed = int(_root.enemyspeed) + 1;
} else if ((_root.enemyolderkeypressed == "left") and (random(2) == 1)) {
_root.enemyolderkeypressed = "right";
_root.enemyspeed = int(_root.enemyspeed) + 1;
}
setProperty(this, _x , getProperty(this, _x) + _root.enemyspeed);
if (2 < _root.enemycounter) {
_root.enemyspeed = int(_root.enemyspeed) - 1;
_root.enemycounter = 0;
}
}
}
onClipEvent (load) {
_root.computerjumping = false;
}
Instance of Symbol 160 MovieClip "computerwatcher10" in Symbol 161 MovieClip Frame 1
onClipEvent (load) {
notdoneyet = true;
}
onClipEvent (enterFrame) {
if (hittest("../computer") and (notdoneyet == true)) {
notdoneyet = false;
x = random(10);
if (int(x) < 9) {
_root.computerjumping = true;
tellTarget ("../computer") {
gotoAndPlay (20);
};
}
}
}
Instance of Symbol 160 MovieClip "computerwatcher11" in Symbol 161 MovieClip Frame 1
onClipEvent (load) {
notdoneyet = true;
}
onClipEvent (enterFrame) {
if (hittest("../computer") and (notdoneyet == true)) {
notdoneyet = false;
x = random(10);
if (int(x) < 9) {
_root.computerjumping = true;
tellTarget ("../computer") {
gotoAndPlay (20);
};
}
}
}
Instance of Symbol 160 MovieClip "computerwatcher12" in Symbol 161 MovieClip Frame 1
onClipEvent (load) {
notdoneyet = true;
}
onClipEvent (enterFrame) {
if (hittest("../computer") and (notdoneyet == true)) {
notdoneyet = false;
x = random(10);
if (int(x) < 9) {
_root.computerjumping = true;
tellTarget ("../computer") {
gotoAndPlay (20);
};
}
}
}
Symbol 164 MovieClip Frame 1
stop();
Symbol 164 MovieClip Frame 2
stop();
Symbol 164 MovieClip Frame 3
stop();
Symbol 164 MovieClip Frame 4
stop();
Symbol 164 MovieClip Frame 5
stop();
Symbol 164 MovieClip Frame 6
stop();
Symbol 164 MovieClip Frame 7
stop();
Symbol 164 MovieClip Frame 8
stop();
Symbol 164 MovieClip Frame 9
stop();
Symbol 164 MovieClip Frame 10
stop();
Symbol 164 MovieClip Frame 11
stop();
Symbol 164 MovieClip Frame 12
stop();
Symbol 164 MovieClip Frame 13
stop();
Symbol 164 MovieClip Frame 14
stop();
Symbol 164 MovieClip Frame 15
stop();
Symbol 164 MovieClip Frame 16
stop();
Symbol 164 MovieClip Frame 17
stop();
Symbol 164 MovieClip Frame 18
stop();
Symbol 164 MovieClip Frame 19
stop();
gotoAndPlay (1);
Symbol 164 MovieClip Frame 29
gotoAndPlay (1);
_root.playerjumping = false;
Instance of Symbol 145 MovieClip "pool5" in Symbol 166 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hittest("../player") and (_root.playerjumping == false)) {
_root.speed = 1;
}
if (hittest("../computer") and (_root.computerjumping == false)) {
_root.enemyspeed = 1;
}
}
Instance of Symbol 131 MovieClip "fence10" in Symbol 166 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hittest("../player") and (_root.playerjumping == false)) {
_root.speed = 1;
}
if (hittest("../computer") and (_root.computerjumping == false)) {
_root.enemyspeed = 1;
}
}
Instance of Symbol 131 MovieClip "fence11" in Symbol 166 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hittest("../player") and (_root.playerjumping == false)) {
_root.speed = 1;
}
if (hittest("../computer") and (_root.computerjumping == false)) {
_root.enemyspeed = 1;
}
}
Instance of Symbol 163 MovieClip "win" in Symbol 166 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hittest("../player")) {
playerfinished = true;
if (foundwinner == false) {
playerwon = true;
foundwinner = true;
}
}
if (hittest("../computer")) {
computerfinished = true;
if (foundwinner == false) {
foundwinner = true;
compwon = true;
}
}
if ((computerfinished == true) and (playerfinished == true)) {
if (playerwon == true) {
_root.showme = "win";
tellTarget ("../../") {
gotoAndPlay (14);
};
_root.playerscore = int(_root.playerscore) + 1;
} else {
_root.showme = "lose";
tellTarget ("../../") {
gotoAndPlay (14);
};
_root.computerscore = int(_root.computerscore) + 1;
}
computerfinished = false;
compwon = false;
playerwon = false;
playerfinished = false;
foundwinner = false;
}
}
onClipEvent (load) {
computerfinished = false;
_root.showme = "nothing";
compwon = false;
playerwon = false;
foundwinner = false;
playerfinished = false;
}
Instance of Symbol 164 MovieClip "player" in Symbol 166 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.go == true) {
if ((_root.olderkeypressed == "right") and Key.isDown(90)) {
_root.olderkeypressed = "left";
tellTarget ("") {
nextFrame();
};
_root.speed = int(_root.speed) + 1;
} else if ((_root.olderkeypressed == "left") and Key.isDown(88)) {
_root.olderkeypressed = "right";
tellTarget ("") {
nextFrame();
};
_root.speed = int(_root.speed) + 1;
}
setProperty(this, _x , getProperty(this, _x) + _root.speed);
if (2 < _root.counter) {
_root.speed = int(_root.speed) - 1;
_root.counter = 0;
}
if (Key.isDown(32) and (_root.playerjumping == false)) {
_root.playerjumping = true;
tellTarget ("../player") {
gotoAndPlay (20);
};
}
if (Key.isDown(90) and Key.isDown(88)) {
_root.speed = int(_root.speed) - 0.25;
}
}
}
onClipEvent (load) {
_root.playerjumping = false;
}
Instance of Symbol 136 MovieClip "computer" in Symbol 166 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.go == true) {
if ((_root.enemyolderkeypressed == "right") and (random(2) == 1)) {
_root.enemyolderkeypressed = "left";
_root.enemyspeed = int(_root.enemyspeed) + 1;
} else if ((_root.enemyolderkeypressed == "left") and (random(2) == 1)) {
_root.enemyolderkeypressed = "right";
_root.enemyspeed = int(_root.enemyspeed) + 1;
}
setProperty(this, _x , getProperty(this, _x) + _root.enemyspeed);
if (2 < _root.enemycounter) {
_root.enemyspeed = int(_root.enemyspeed) - 1;
_root.enemycounter = 0;
}
}
}
onClipEvent (load) {
_root.computerjumping = false;
}
Instance of Symbol 165 MovieClip "computerwatcher15" in Symbol 166 MovieClip Frame 1
onClipEvent (load) {
notdoneyet = true;
}
onClipEvent (enterFrame) {
if (hittest("../computer") and (notdoneyet == true)) {
notdoneyet = false;
x = random(10);
if (int(x) < 9) {
_root.computerjumping = true;
tellTarget ("../computer") {
gotoAndPlay (20);
};
}
}
}
Instance of Symbol 165 MovieClip "computerwatcher16" in Symbol 166 MovieClip Frame 1
onClipEvent (load) {
notdoneyet = true;
}
onClipEvent (enterFrame) {
if (hittest("../computer") and (notdoneyet == true)) {
notdoneyet = false;
x = random(10);
if (int(x) < 9) {
_root.computerjumping = true;
tellTarget ("../computer") {
gotoAndPlay (20);
};
}
}
}
Instance of Symbol 165 MovieClip "computerwatcher17" in Symbol 166 MovieClip Frame 1
onClipEvent (load) {
notdoneyet = true;
}
onClipEvent (enterFrame) {
if (hittest("../computer") and (notdoneyet == true)) {
notdoneyet = false;
x = random(10);
if (int(x) < 9) {
_root.computerjumping = true;
tellTarget ("../computer") {
gotoAndPlay (20);
};
}
}
}
Symbol 169 MovieClip Frame 1
stop();
Symbol 169 MovieClip Frame 2
stop();
Symbol 169 MovieClip Frame 3
stop();
Symbol 169 MovieClip Frame 4
stop();
Symbol 169 MovieClip Frame 5
stop();
Symbol 169 MovieClip Frame 6
stop();
Symbol 169 MovieClip Frame 7
stop();
Symbol 169 MovieClip Frame 8
stop();
Symbol 169 MovieClip Frame 9
stop();
Symbol 169 MovieClip Frame 10
stop();
Symbol 169 MovieClip Frame 11
stop();
Symbol 169 MovieClip Frame 12
stop();
Symbol 169 MovieClip Frame 13
stop();
Symbol 169 MovieClip Frame 14
stop();
Symbol 169 MovieClip Frame 15
stop();
Symbol 169 MovieClip Frame 16
stop();
Symbol 169 MovieClip Frame 17
stop();
Symbol 169 MovieClip Frame 18
stop();
Symbol 169 MovieClip Frame 19
stop();
gotoAndPlay (1);
Symbol 169 MovieClip Frame 29
gotoAndPlay (1);
_root.playerjumping = false;
Instance of Symbol 131 MovieClip "fence13" in Symbol 171 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hittest("../player") and (_root.playerjumping == false)) {
_root.speed = 1;
}
if (hittest("../computer") and (_root.computerjumping == false)) {
_root.enemyspeed = 1;
}
}
Instance of Symbol 131 MovieClip "fence14" in Symbol 171 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hittest("../player") and (_root.playerjumping == false)) {
_root.speed = 1;
}
if (hittest("../computer") and (_root.computerjumping == false)) {
_root.enemyspeed = 1;
}
}
Instance of Symbol 131 MovieClip "fence15" in Symbol 171 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hittest("../player") and (_root.playerjumping == false)) {
_root.speed = 1;
}
if (hittest("../computer") and (_root.computerjumping == false)) {
_root.enemyspeed = 1;
}
}
Instance of Symbol 168 MovieClip "win" in Symbol 171 MovieClip Frame 1
onClipEvent (enterFrame) {
if (hittest("../player")) {
playerfinished = true;
if (foundwinner == false) {
playerwon = true;
foundwinner = true;
}
}
if (hittest("../computer")) {
computerfinished = true;
if (foundwinner == false) {
foundwinner = true;
compwon = true;
}
}
if ((computerfinished == true) and (playerfinished == true)) {
if (playerwon == true) {
_root.showme = "win";
tellTarget ("../../") {
gotoAndPlay (16);
};
_root.playerscore = int(_root.playerscore) + 1;
} else {
_root.showme = "lose";
tellTarget ("../../") {
gotoAndPlay (16);
};
_root.computerscore = int(_root.computerscore) + 1;
}
computerfinished = false;
compwon = false;
playerwon = false;
playerfinished = false;
foundwinner = false;
}
}
onClipEvent (load) {
computerfinished = false;
_root.showme = "nothing";
compwon = false;
playerwon = false;
foundwinner = false;
playerfinished = false;
}
Instance of Symbol 169 MovieClip "player" in Symbol 171 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.go == true) {
if ((_root.olderkeypressed == "right") and Key.isDown(90)) {
_root.olderkeypressed = "left";
tellTarget ("") {
nextFrame();
};
_root.speed = int(_root.speed) + 1;
} else if ((_root.olderkeypressed == "left") and Key.isDown(88)) {
_root.olderkeypressed = "right";
tellTarget ("") {
nextFrame();
};
_root.speed = int(_root.speed) + 1;
}
setProperty(this, _x , getProperty(this, _x) + _root.speed);
if (2 < _root.counter) {
_root.speed = int(_root.speed) - 1;
_root.counter = 0;
}
if (Key.isDown(32) and (_root.playerjumping == false)) {
_root.playerjumping = true;
tellTarget ("../player") {
gotoAndPlay (20);
};
}
if (Key.isDown(90) and Key.isDown(88)) {
_root.speed = int(_root.speed) - 0.25;
}
}
}
onClipEvent (load) {
_root.playerjumping = false;
}
Instance of Symbol 136 MovieClip "computer" in Symbol 171 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.go == true) {
if ((_root.enemyolderkeypressed == "right") and (random(2) == 1)) {
_root.enemyolderkeypressed = "left";
_root.enemyspeed = int(_root.enemyspeed) + 1;
} else if ((_root.enemyolderkeypressed == "left") and (random(2) == 1)) {
_root.enemyolderkeypressed = "right";
_root.enemyspeed = int(_root.enemyspeed) + 1;
}
setProperty(this, _x , getProperty(this, _x) + _root.enemyspeed);
if (2 < _root.enemycounter) {
_root.enemyspeed = int(_root.enemyspeed) - 1;
_root.enemycounter = 0;
}
}
}
onClipEvent (load) {
_root.computerjumping = false;
}
Instance of Symbol 170 MovieClip "computerwatcher19" in Symbol 171 MovieClip Frame 1
onClipEvent (load) {
notdoneyet = true;
}
onClipEvent (enterFrame) {
if (hittest("../computer") and (notdoneyet == true)) {
notdoneyet = false;
x = random(10);
if (int(x) < 9) {
_root.computerjumping = true;
tellTarget ("../computer") {
gotoAndPlay (20);
};
}
}
}
Instance of Symbol 170 MovieClip "computerwatcher20" in Symbol 171 MovieClip Frame 1
onClipEvent (load) {
notdoneyet = true;
}
onClipEvent (enterFrame) {
if (hittest("../computer") and (notdoneyet == true)) {
notdoneyet = false;
x = random(10);
if (int(x) < 9) {
_root.computerjumping = true;
tellTarget ("../computer") {
gotoAndPlay (20);
};
}
}
}
Instance of Symbol 170 MovieClip "computerwatcher21" in Symbol 171 MovieClip Frame 1
onClipEvent (load) {
notdoneyet = true;
}
onClipEvent (enterFrame) {
if (hittest("../computer") and (notdoneyet == true)) {
notdoneyet = false;
x = random(10);
if (int(x) < 9) {
_root.computerjumping = true;
tellTarget ("../computer") {
gotoAndPlay (20);
};
}
}
}
Instance of Symbol 170 MovieClip "computerwatcher22" in Symbol 171 MovieClip Frame 1
onClipEvent (load) {
notdoneyet = true;
}
onClipEvent (enterFrame) {
if (hittest("../computer") and (notdoneyet == true)) {
notdoneyet = false;
x = random(10);
if (int(x) < 9) {
_root.computerjumping = true;
tellTarget ("../computer") {
gotoAndPlay (20);
};
}
}
}
Symbol 177 Button
on (release) {
_parent.speed = 0;
if (_root.level_num == 2) {
gotoAndStop (4);
}
if (_root.level_num == 3) {
gotoAndStop (6);
}
if (_root.level_num == 4) {
gotoAndStop (8);
}
if (_root.level_num == 5) {
gotoAndStop (10);
}
if (_root.level_num == 6) {
gotoAndStop (12);
}
if (_root.level_num == 7) {
gotoAndStop (14);
}
if (_root.level_num == 8) {
gotoAndStop (16);
}
if (_root.level_num == 9) {
gotoAndStop (20);
}
}
Symbol 193 Button
on (release) {
_root.playerscore = 0;
_root.computerscore = 0;
gotoAndStop (2);
}
Symbol 194 Button
on (release) {
getURL ("http://www.matmi.com", "_blank");
}
Symbol 198 Button
on (release) {
getURL ("http://www.matmi.com", "_blank");
}