Frame 1
fscommand ("showmenu", false);
stop();
this.onEnterFrame = function () {
dfghtgloaded = _root.getBytesLoaded();
dfgtotalloaded = _root.getBytesTotal();
dfgpersenloaded = Math.floor((dfghtgloaded / dfgtotalloaded) * 100);
txtpersenloaded = dfgpersenloaded + " % ...loading";
_root.dfgbar.barpersen._xscale = Math.floor(dfgpersenloaded);
grapersenloaded_mc.gotoAndStop(Math.floor(dfgpersenloaded / 10));
if ((dfghtgloaded == dfgtotalloaded) && (animDone == true)) {
gotoAndStop (2);
delete this.onEnterFrame;
}
};
Symbol 12 MovieClip Frame 75
stop();
_root.animDone = true;
Symbol 23 MovieClip Frame 1
stop();
Symbol 42 MovieClip Frame 1
stop();
Symbol 42 MovieClip Frame 2
stop();
Symbol 47 MovieClip Frame 1
stop();
Symbol 49 MovieClip Frame 1
stop();
Symbol 61 MovieClip Frame 1
stop();
Symbol 61 MovieClip Frame 2
_parent.meHit._y = 800;
Symbol 61 MovieClip Frame 33
this._y = 800;
gotoAndStop (1);
Symbol 63 MovieClip Frame 1
stop();
Symbol 86 MovieClip Frame 1
stop();
Instance of Symbol 89 MovieClip in Symbol 90 MovieClip Frame 1
/* no clip actions */
Symbol 99 MovieClip Frame 1
stop();
Symbol 99 MovieClip Frame 2
_parent.computerHit._y = 800;
Symbol 99 MovieClip Frame 25
this._y = 800;
gotoAndStop (1);
Symbol 101 MovieClip Frame 1
_visible = false;
Symbol 103 MovieClip Frame 1
_visible = false;
Symbol 105 MovieClip Frame 1
_visible = false;
Symbol 107 MovieClip Frame 1
_visible = false;
Symbol 109 MovieClip Frame 1
_visible = false;
Symbol 118 MovieClip Frame 1
stop();
Symbol 118 MovieClip Frame 2
stop();
Symbol 118 MovieClip Frame 3
stop();
Symbol 118 MovieClip Frame 4
stop();
Symbol 118 MovieClip Frame 5
stop();
Symbol 118 MovieClip Frame 6
stop();
Symbol 118 MovieClip Frame 7
stop();
Symbol 121 MovieClip Frame 1
stop();
Symbol 121 MovieClip Frame 120
gotoAndStop (1);
Symbol 134 Button
on (release) {
commandGoal = 2;
gotoAndPlay (71);
}
Symbol 137 Button
on (release) {
commandGoal = 1;
gotoAndPlay (71);
}
Symbol 140 MovieClip Frame 1
lose = 0;
statWinner = 0;
stop();
Symbol 140 MovieClip Frame 4
_movBefore = _root.main.bonusColl;
if (_movBefore._visible == 1) {
_movBefore.timeBonus = 0;
_movBefore.touchBonus = 0;
_movBefore.chekBonus = 0;
_movBefore._visible = 0;
_movBefore.kindBonus = 0;
}
Symbol 140 MovieClip Frame 50
if (_parent.menuPlay.lockPos == 0) {
if (_parent.goalBy == "YOU") {
if (statWinner == 1) {
statWinner = 0;
stop();
_parent.gotoAndPlay(8);
} else {
_parent.coinParent._x = _parent.middleWall._x + (_parent.middleWall._width / 2);
_parent.coinParent._y = _parent.middleWall._y - 30;
}
if (_parent.coinParent.hitTest(_parent.computer)) {
_parent.coinParent._x = (_parent.middleWall._x + (_parent.middleWall._width / 2)) - 70;
}
} else if (_parent.goalBy == "COMPUTER") {
if (lose == 1) {
lose = 0;
_parent.gotoAndPlay(4);
} else {
_parent.coinParent._x = _parent.middleWall._x + (_parent.middleWall._width / 2);
_parent.coinParent._y = _parent.middleWall._y + 30;
}
if (_parent.coinParent.hitTest(_parent.user)) {
_parent.coinParent._x = (_parent.middleWall._x + (_parent.middleWall._width / 2)) - 70;
}
}
if (statWinner != 1) {
gotoAndStop (1);
}
} else {
gotoAndPlay (2);
}
Symbol 140 MovieClip Frame 51
_parent.bonusColl._visible = 0;
_parent.bonusColl.touchBonus = 0;
_parent.bonusColl.kindBonus = 0;
Symbol 140 MovieClip Frame 70
commandGoal = 0;
stop();
Symbol 140 MovieClip Frame 91
if (commandGoal == 1) {
_parent.levelNumber = 0;
_parent.gotoAndPlay(2);
} else {
if (statWinner == 1) {
gotoAndPlay (2);
}
_parent.gotoAndPlay(5);
}
Instance of Symbol 27 MovieClip "playerPost" in Symbol 140 MovieClip Frame 92
onClipEvent (enterFrame) {
_befMov = _root.main;
diffCoinComp = _befMov.coin._y - _befMov.computerSkin._y;
if (diffCoinComp < 55) {
_befMov.computer._y = _befMov.computer._y - 1;
_befMov.computerSkin._y = _befMov.computerSkin._y - 1;
}
}
Symbol 140 MovieClip Frame 149
_parent.moveCoin = 0;
_parent.bonusColl.kindBonus = 0;
_parent.coin.penaltyMovie = 0;
if (_parent.coinParent.hitTest(_parent.user)) {
_parent.coinParent._x = (_parent.middleWall._x + (_parent.middleWall._width / 2)) - 70;
}
Symbol 142 MovieClip Frame 1
stop();
Symbol 142 MovieClip Frame 40
_root.main.gotoAndPlay(8);
Symbol 154 Button
on (release) {
lockPos = 0;
_parent.user.userPause = 0;
if (bonusPos == 1) {
_parent.bonusColl["bonus" + frameBonus].play();
_parent.bonusColl.touchBonus = 1;
}
if (_parent.userGate._currentframe != 1) {
_parent.userGate.play();
} else if (_parent.computerGate._currentframe != 1) {
_parent.computerGate.play();
}
gotoAndStop (1);
}
Symbol 157 Button
on (release) {
_parent.levelNumber = 0;
_parent.gotoAndPlay(2);
}
Symbol 158 MovieClip Frame 1
stop();
sumPress = 0;
lockPos = 0;
bonusPos = 0;
this.onEnterFrame = function () {
if (Key.isDown(32)) {
sumPress++;
if (sumPress == 1) {
lockPos = 1;
_parent.user.userPause = 1;
xcoin = _parent.coinParent._x;
ycoin = _parent.coinParent._y;
xcomputer = _parent.computer._x;
ycomputer = _parent.computer._y;
lockTimeUser = _parent.userSkin.timeUser;
lockTimeComputer = _parent.computerSkin.timeComputer;
lockXScaleUser = _parent.userSkin._xscale;
lockYScaleUser = _parent.userSkin._yscale;
lockXScaleComputer = _parent.computerSkin._xscale;
lockYScaleComputer = _parent.computerSkin._yscale;
lockXScaleUserGate = _parent.userGate._xscale;
lockYScaleUserGate = _parent.userGate._yscale;
lockXScaleComputerGate = _parent.computerGate._xscale;
lockYScaleComputerGate = _parent.computerGate._yscale;
lockXScaleComputerHit = _parent.computerHit._xscale;
lockYScaleComputerHit = _parent.computerHit._yscale;
lockXScaleMeHit = _parent.meHit._xscale;
lockYScaleMeHit = _parent.meHit._yscale;
_parent.userGate.stop();
_parent.computerGate.stop();
gotoAndStop (2);
}
}
if (lockPos == 1) {
stopAllSounds();
_parent.coinParent._x = xcoin;
_parent.coinParent._y = ycoin;
_parent.computer._x = xcomputer;
_parent.computer._y = ycomputer;
_parent.userSkin.timeUser = lockTimeUser;
_parent.computerSkin.timeComputer = lockTimeComputer;
_parent.userSkin._xscale = lockXScaleUser;
_parent.userSkin._yscale = lockYScaleUser;
_parent.computerSkin._xscale = lockXScaleComputer;
_parent.computerSkin._yscale = lockYScaleComputer;
_parent.userGate._xscale = lockXScaleUserGate;
_parent.userGate._yscale = lockYScaleUserGate;
_parent.computerGate._xscale = lockXScaleComputerGate;
_parent.computerGate._yscale = lockYScaleComputerGate;
_parent.computerHit._xscale = lockXScaleComputerHit;
_parent.computerHit._yscale = lockYScaleComputerHit;
_parent.meHit._xscale = lockXScaleMeHit;
_parent.meHit._yscale = lockYScaleMeHit;
if (_parent.bonusColl._visible == 1) {
frameBonus = _parent.bonusColl._currentframe;
_parent.bonusColl["bonus" + frameBonus].stop();
_parent.bonusColl.touchBonus = 0;
bonusPos = 1;
}
}
};
Symbol 162 MovieClip Frame 1
stop();
Symbol 165 MovieClip Frame 1
stop();
Symbol 168 MovieClip Frame 1
stop();
Symbol 170 MovieClip Frame 1
stop();
Symbol 170 MovieClip Frame 8
gotoAndStop (1);
Symbol 173 MovieClip Frame 1
stop();
Symbol 176 MovieClip Frame 1
stop();
Symbol 176 MovieClip Frame 80
gotoAndStop (1);
Symbol 178 MovieClip Frame 1
stop();
Symbol 178 MovieClip Frame 80
gotoAndStop (1);
Symbol 181 MovieClip Frame 1
stop();
Symbol 181 MovieClip Frame 120
gotoAndStop (1);
Symbol 206 Button
on (release) {
gotoAndPlay (6);
}
Symbol 208 Button
on (release) {
gotoAndPlay (7);
}
Symbol 216 MovieClip Frame 12
stop();
Symbol 217 Button
on (release) {
getURL ("http://www.dailyfreegames.com", "_blank");
}
Symbol 219 Button
on (release) {
getURL ("http://www.dailyfreegames.com/free-games.html", "_blank");
}
Symbol 221 Button
on (release) {
gotoAndStop (3);
}
Symbol 225 Button
on (release) {
gotoAndPlay (2);
}
Symbol 228 MovieClip Frame 1
stop();
Symbol 228 MovieClip Frame 35
fscommand ("quit");
Symbol 236 Button
on (release) {
commandExit = 1;
gotoAndPlay (21);
}
Symbol 239 Button
on (release) {
commandExit = 2;
gotoAndPlay (21);
}
Symbol 241 MovieClip Frame 20
commandExit = 0;
stop();
Symbol 241 MovieClip Frame 41
if (commandExit == 1) {
_parent._parent.levelNumber = _parent._parent.levelNumber - 1;
_parent._parent.gotoAndPlay(5);
} else {
_parent._parent.levelNumber = 0;
_parent._parent.gotoAndStop(2);
}
gotoAndStop (1);
Symbol 242 MovieClip Frame 12
stop();
Symbol 252 MovieClip Frame 83
stop();
Symbol 276 Button
on (release) {
if ((((((boxInput == " ") || (boxInput == " ")) || (boxInput == " ")) || (boxInput == " ")) || (boxInput == " ")) || (boxInput == " ")) {
boxInput = underfined;
}
if (boxInput != underfined) {
commandInput = 2;
gotoAndPlay (21);
} else {
boxInput = " ";
setProperty(warningInput, _visible , 1);
}
}
Symbol 280 Button
on (release) {
commandInput = 1;
gotoAndPlay (21);
}
Symbol 284 MovieClip Frame 20
commandInput = 0;
boxInput.setFocus();
setProperty(warningInput, _visible , 0);
stop();
Symbol 284 MovieClip Frame 41
if (commandInput == 2) {
_parent.playerName = boxInput;
_parent.gotoAndPlay(5);
} else {
_parent.gotoAndPlay(2);
}
Symbol 286 Button
on (release) {
if ((passBox == "4M5CK") || (passBox == "4m5ck")) {
_parent.levelNumber = 0;
gotoAndPlay (21);
} else if ((passBox == "5HWNK") || (passBox == "5hwnk")) {
_parent.levelNumber = 1;
gotoAndPlay (21);
} else if ((passBox == "K5CSL") || (passBox == "k5csl")) {
_parent.levelNumber = 2;
gotoAndPlay (21);
} else if ((passBox == "4AM5K") || (passBox == "4am5k")) {
_parent.levelNumber = 3;
gotoAndPlay (21);
} else if ((passBox == "KKDPM") || (passBox == "kkdpm")) {
_parent.levelNumber = 4;
gotoAndPlay (21);
} else if ((passBox == "T51KJ") || (passBox == "t51kj")) {
_parent.levelNumber = 5;
gotoAndPlay (21);
} else if ((passBox == "5KBSL") || (passBox == "5kbsl")) {
_parent.levelNumber = 6;
gotoAndPlay (21);
} else if ((passBox == "DT7KM") || (passBox == "dt7km")) {
_parent.levelNumber = 7;
gotoAndPlay (21);
} else {
setProperty(passText, _visible , 1);
}
commandPass = 2;
}
Symbol 289 Button
on (release) {
commandPass = 1;
gotoAndPlay (21);
}
Symbol 293 MovieClip Frame 20
commandPass = 0;
setProperty(passText, _visible , 0);
stop();
Symbol 293 MovieClip Frame 41
if (commandPass == 1) {
_parent.gotoAndPlay(2);
} else {
_parent.gotoAndPlay(6);
}
Symbol 316 MovieClip Frame 1
stop();
Symbol 317 MovieClip Frame 1
sm = 0;
Instance of Symbol 316 MovieClip "ballbase" in Symbol 317 MovieClip Frame 1
onClipEvent (load) {
xBall = random(20) - 10;
this.gotoAndStop(random(20));
}
onClipEvent (enterFrame) {
this._y = this._y + 5;
this._x = this._x + (random(10) - 5);
if (this._y > 380) {
removeMovieClip(this);
}
}
Symbol 317 MovieClip Frame 2
sm++;
scaleBalls = random(65) + 20;
duplicateMovieClip (_root.main.Winner.particleWin.ballbase, "ball" + sm, sm);
attachMovie(_root.main.Winner.particleWin.ballbase, "ball" + sm, sm);
_root.main.Winner.particleWin["ball" + sm]._x = random(550) - 450;
_root.main.Winner.particleWin["ball" + sm]._y = -128;
_root.main.Winner.particleWin["ball" + sm]._xscale = scaleBalls;
_root.main.Winner.particleWin["ball" + sm]._yscale = scaleBalls;
_root.main.Winner.particleWin.ballbase._visible = 0;
Symbol 317 MovieClip Frame 7
gotoAndPlay (2);
Symbol 318 MovieClip Frame 12
stop();
Symbol 319 MovieClip Frame 1
function init() {
moveCoin = 0;
damp = 0.99;
max = 13;
grav = 0;
bounce = -0.9;
b = new Array();
b[0] = user;
b[1] = coinParent;
b[2] = computer;
i = 0;
while (i < max) {
var _local1 = b[i];
_local1.vx = 0;
_local1.vy = 0;
_local1.oldx = 0;
_local1.oldy = 0;
if (_local1 == user) {
_local1.drag = true;
}
if (_local1 == computer) {
_local1.drag = true;
}
i++;
}
}
function main() {
if (goalClip._currentframe == 1) {
i = 0;
while (i < b.length) {
var _local1 = b[i];
objectPercentage = user.sizePercentage(_local1._y);
if (_local1 == computer) {
if ((bonusColl.kindBonus == "1C") || (bonusColl.kindBonus == "2U")) {
_local1._xscale = computerSkin._xscale;
_local1._yscale = computerSkin._yscale;
} else {
_local1._xscale = objectPercentage + 10;
_local1._yscale = objectPercentage;
}
} else if (_local1 == user) {
if ((bonusColl.kindBonus == "1U") || (bonusColl.kindBonus == "2C")) {
_local1._xscale = userSkin._xscale + 10;
_local1._yscale = userSkin._yscale + 10;
} else {
_local1._xscale = objectPercentage + 10;
_local1._yscale = objectPercentage;
}
} else {
_local1._xscale = objectPercentage;
_local1._yscale = objectPercentage;
}
_local1.m = (_local1._width = _local1._height);
_local1.radius = _local1._width / 2;
if (!_local1.drag) {
_local1.vx = _local1.vx * damp;
_local1.vy = _local1.vy * damp;
_local1._x = _local1._x + _local1.vx;
_local1._y = _local1._y + _local1.vy;
} else {
_local1.vx = _local1._x - _local1.oldx;
_local1.vy = _local1._y - _local1.oldy;
_local1.oldx = _local1._x;
_local1.oldy = _local1._y;
}
if (_local1 == coinParent) {
driftXvalue = user.coinBlocker(_local1._y);
driftXvalue = ((bottomWall._x + bottomWall._width) - (driftXvalue / 2)) - (_local1._width / 2);
if (driftXvalue < _local1._x) {
_local1._x = driftXvalue;
_local1.vx = _local1.vx * bounce;
if (wallSound._currentframe == 1) {
if ((moveCoin != 1) && (menuPlay.lockPos != 1)) {
wallSound.gotoAndPlay(2);
}
}
}
driftXvalue = user.coinBlocker(_local1._y);
driftXvalue = (bottomWall._x + (driftXvalue / 2)) + (_local1._width / 2);
if (driftXvalue > _local1._x) {
_local1._x = driftXvalue;
_local1.vx = _local1.vx * bounce;
if (wallSound._currentframe == 1) {
if ((moveCoin != 1) && (menuPlay.lockPos != 1)) {
wallSound.gotoAndPlay(2);
}
}
}
if (_local1._y > (bottomWall._y - _local1.radius)) {
_local1._y = bottomWall._y - _local1.radius;
_local1.vy = _local1.vy * bounce;
if (wallSound._currentframe == 1) {
if ((moveCoin != 1) && (menuPlay.lockPos != 1)) {
wallSound.gotoAndPlay(2);
}
}
}
if (_local1._y < (topWall._y + _local1.radius)) {
_local1._y = topWall._y + _local1.radius;
_local1.vy = _local1.vy * bounce;
if (wallSound._currentframe == 1) {
if ((moveCoin != 1) && (menuPlay.lockPos != 1)) {
wallSound.gotoAndPlay(2);
}
}
}
}
i++;
}
}
if (goalClip._currentframe == 1) {
if (moveCoin == 0) {
i = 0;
while (i < (b.length - 1)) {
j = i + 1;
while (j < b.length) {
var _local3 = b[i];
var _local2 = b[j];
var _local10 = _local2._x - _local3._x;
var _local9 = _local2._y - _local3._y;
var _local12 = (_local10 * _local10) + (_local9 * _local9);
var _local8 = ((grav * _local3.m) * _local2.m) / _local12;
var _local6 = Math.atan2(_local9, _local10);
_local3.vx = _local3.vx + ((Math.cos(_local6) * _local8) / _local3.m);
_local3.vy = _local3.vy + ((Math.sin(_local6) * _local8) / _local3.m);
_local2.vx = _local2.vx - ((Math.cos(_local6) * _local8) / _local2.m);
_local2.vy = _local2.vy - ((Math.sin(_local6) * _local8) / _local2.m);
var _local15 = Math.sqrt(_local12);
if (_local15 < (_local3.radius + _local2.radius)) {
cosa = Math.cos(_local6);
sina = Math.sin(_local6);
var _local5 = (_local3.vx * cosa) + (_local3.vy * sina);
var _local13 = (_local3.vy * cosa) - (_local3.vx * sina);
var _local7 = (_local2.vx * cosa) + (_local2.vy * sina);
var _local11 = (_local2.vy * cosa) - (_local2.vx * sina);
var _local14 = (_local5 * _local3.m) + (_local7 * _local2.m);
var _local4 = _local5 - _local7;
if (_local2 == computer) {
if (levelNumber == 1) {
_local4 = 15 + levelNumber;
} else if (levelNumber < 4) {
_local4 = 16 + levelNumber;
} else if (levelNumber < 5) {
_local4 = 17 + levelNumber;
} else if (levelNumber < 6) {
_local4 = 20 + levelNumber;
} else if (levelNumber < 7) {
_local4 = 22 + levelNumber;
} else {
_local4 = 25 + levelNumber;
}
gameController.latestHitBy = "COMPUTER";
if (moveCoin == 0) {
if (hitSound._currentframe == 1) {
if ((bonusColl.kindBonus != "3U") && (bonusColl.kindBonus != "3C")) {
if (menuPlay.lockPos != 1) {
hitSound.gotoAndPlay(2);
}
}
}
}
}
if (_local3 == user) {
gameController.latestHitBy = "USER";
if (moveCoin == 0) {
if (hitSound._currentframe == 1) {
if ((bonusColl.kindBonus != "3U") && (bonusColl.kindBonus != "3C")) {
if (menuPlay.lockPos != 1) {
hitSound.gotoAndPlay(2);
}
}
}
}
}
if (_local4 < 5) {
_local4 = 6;
}
_local5 = (_local14 - (_local2.m * _local4)) / (_local3.m + _local2.m);
_local7 = (_local4 + _local5) + 1;
_local3.vx = ((_local5 * cosa) - (_local13 * sina)) * (-bounce);
_local3.vy = ((_local13 * cosa) + (_local5 * sina)) * (-bounce);
_local2.vx = ((_local7 * cosa) - (_local11 * sina)) * (-bounce);
_local2.vy = ((_local11 * cosa) + (_local7 * sina)) * (-bounce);
}
j++;
}
i++;
}
}
}
}
userSkin.timeUser = 10;
computerSkin.timeComputer = 10;
Mouse.hide();
stop();
if (getReadyVar == undefined) {
gotoAndStop ("mainMenu");
levelNumber = 0;
}
init();
this.onEnterFrame = main;
goalBy = "";
if (levelNumber == 1) {
levelNumber = 1;
computerSkin.gotoAndStop(1);
} else {
computerSkin.gotoAndStop(levelNumber);
table.gotoAndStop(levelNumber);
}
Instance of Symbol 63 MovieClip "lightPowerBottom" in Symbol 319 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent.bonusColl.kindBonus == "1U") || (_parent.bonusColl.kindBonus == "2C")) {
if ((_parent.userSkin.timerUser < 2) || (_parent.userSkin.timerUser == 10)) {
this._x = _parent.userSkin._x;
this._y = _parent.userSkin._y + 7;
this._xscale = _parent.userSkin._xscale + 10;
this._yscale = _parent.userSkin._yscale + 40;
updateAfterEvent();
} else if (_parent.userSkin.timerUser >= 2) {
this._x = 900;
this._y = 900;
}
} else if ((_parent.bonusColl.kindBonus == "1C") || (_parent.bonusColl.kindBonus == "2U")) {
if ((_parent.computerSkin.timerComputer < 2) || (_parent.computerSkin.timerComputer == 10)) {
this._x = _parent.computerSkin._x;
this._y = _parent.computerSkin._y;
this._xscale = _parent.computerSkin._xscale + 10;
this._yscale = _parent.computerSkin._yscale + 40;
updateAfterEvent();
} else if (_parent.computerSkin.timerComputer >= 2) {
this._x = 900;
this._y = 900;
}
} else {
this._x = 900;
this._y = 900;
}
}
Instance of Symbol 71 MovieClip "coin" in Symbol 319 MovieClip Frame 1
onClipEvent (load) {
function coinCenterX() {
if (_parent.coinParent._x > centerCoinX) {
_parent.coinParent._x = _parent.coinParent._x - 3;
} else if (_parent.coinParent._x < centerCoinX) {
_parent.coinParent._x = _parent.coinParent._x + 3;
}
if ((_parent.coinParent._x <= 234) && (_parent.coinParent._x >= 230)) {
_parent.coinParent._x = 232;
}
}
function coinCenterY() {
if (_parent.coinParent._y > centerCoinY) {
_parent.coinParent._y = _parent.coinParent._y - 3;
} else if (_parent.coinParent._y < centerCoinY) {
_parent.coinParent._y = _parent.coinParent._y + 3;
}
if ((_parent.coinParent._y <= 182) && (_parent.coinParent._y >= 178)) {
_parent.coinParent._y = 180;
}
scaCoin = _parent.user.sizePercentage(_parent.coin._y);
_parent.coin._xscale = scaCoin - 7;
_parent.coin._yscale = scaCoin - 25;
}
function coinCenterY2() {
if (_parent.coinParent._y > centerCoinY2) {
_parent.coinParent._y = _parent.coinParent._y - 3;
} else if (_parent.coinParent._y < centerCoinY2) {
_parent.coinParent._y = _parent.coinParent._y + 3;
}
if ((_parent.coinParent._y <= 132) && (_parent.coinParent._y >= 128)) {
_parent.coinParent._y = 130;
}
scaCoin = _parent.user.sizePercentage(_parent.coin._y);
_parent.coin._xscale = scaCoin - 7;
_parent.coin._yscale = scaCoin - 25;
}
centerCoinX = 232;
centerCoinY = 180;
centerCoinY2 = 130;
penaltyMovie = 0;
}
onClipEvent (enterFrame) {
if ((this._x == _parent.coinParent._x) && (this._y == _parent.coinParent._y)) {
_parent.lockBon = true;
} else {
_parent.lockBon = false;
}
this._x = _parent.coinParent._x;
this._y = _parent.coinParent._y;
if (_parent.moveCoin == 1) {
_parent.init();
if (_parent.glingSound._currentframe == 1) {
_parent.glingSound.gotoAndPlay(2);
}
if (_parent.bonusColl.kindBonus == "3U") {
if (Math.round(this._y) != centerCoinY) {
coinCenterY();
} else if (Math.round(this._x) != centerCoinX) {
coinCenterX();
} else if (penaltyMovie == 0) {
_parent.moveCoin = 0;
_parent.goalClip.gotoAndPlay(92);
penaltyMovie = 1;
}
} else if (_parent.bonusColl.kindBonus == "3C") {
if (Math.round(_parent.coinParent._y) != centerCoinY2) {
coinCenterY2();
} else if (Math.round(_parent.coinParent._x) != centerCoinX) {
coinCenterX();
} else if (penaltyMovie == 0) {
_parent.goalClip.gotoAndPlay(92);
penaltyMovie = 1;
}
}
} else {
_xscale = (_parent.coinParent._xscale - 5);
_yscale = (_parent.coinParent._yscale - 25);
}
}
Instance of Symbol 73 MovieClip "user" in Symbol 319 MovieClip Frame 1
onClipEvent (load) {
function sizePercentage(targetYPosition) {
reduceScale = (_parent.bottomWall._y - targetYPosition) * iFactor;
currentSizePercentage = fullSize - reduceScale;
return(currentSizePercentage);
}
function coinBlocker(coinYPosition) {
var _local2 = _parent.bottomWall._y - coinYPosition;
var _local3 = _local2 * xRatio;
return(_local3);
}
fullSize = 100;
heightRatio = _parent.bottomWall._y - _parent.topWall._y;
isometricFactor = (_parent.topWall._width / _parent.bottomWall._width) * 100;
iFactor = (fullSize - isometricFactor) / heightRatio;
totalHeight = _parent.bottomWall._y - _parent.topWall._y;
widthDiff = _parent.bottomWall._width - _parent.topWall._width;
xRatio = widthDiff / totalHeight;
userPause = 0;
}
onClipEvent (enterFrame) {
radius = _width / 2;
height = _height / 2;
yDiff = _parent.bottomWall._y - _y;
xSlipt = yDiff * xRatio;
xSlipt = xSlipt / 2;
if (_parent.playerGoal == 7) {
stopDrag();
Mouse.show();
} else {
if (userPause == 1) {
stopDrag();
Mouse.show();
} else {
startDrag (this, true, (_parent.bottomWall._x + xSlipt) + radius, _parent.middleWall._y + height, ((_parent.bottomWall._x + _parent.bottomWall._width) - xSlipt) - radius, _parent.bottomWall._y - height);
Mouse.hide();
}
updateAfterEvent();
}
}
Instance of Symbol 76 MovieClip "gameController" in Symbol 319 MovieClip Frame 1
onClipEvent (load) {
function GoalDetection(whosGoal) {
var _local2 = _parent;
_local2.init();
if (whosGoal == 1) {
_local2.playerGoal++;
_local2.coinParent._y = 1000;
if (_local2.playerGoal == 7) {
_local2.goalClip.level = _parent.levelNumber;
if (_parent.levelNumber == 1) {
_local2.goalClip.passLevel = "5HWNK";
_local2.goalClip.gotoAndPlay(51);
} else if (_parent.levelNumber == 2) {
_local2.goalClip.passLevel = "K5CSL";
_local2.goalClip.gotoAndPlay(51);
} else if (_parent.levelNumber == 3) {
_local2.goalClip.passLevel = "4AM5K";
_local2.goalClip.gotoAndPlay(51);
} else if (_parent.levelNumber == 4) {
_local2.goalClip.passLevel = "KKDPM";
_local2.goalClip.gotoAndPlay(51);
} else if (_parent.levelNumber == 5) {
_local2.goalClip.passLevel = "T51KJ";
_local2.goalClip.gotoAndPlay(51);
} else if (_parent.levelNumber == 6) {
_local2.goalClip.passLevel = "5KBSL";
_local2.goalClip.gotoAndPlay(51);
} else if (_parent.levelNumber == 7) {
_local2.goalClip.passLevel = "DT7KM";
_local2.goalClip.gotoAndPlay(51);
} else {
_parent.coin._visible = 0;
_parent.moveCoin = 1;
_local2.timerWinner.gotoAndPlay(2);
}
} else {
_local2.playerScore++;
_local2.goalClip.gotoAndPlay(2);
_local2.goalBy = "YOU";
}
}
if (whosGoal == 2) {
_local2.computerGoal++;
if (_local2.computerGoal == 7) {
_local2.goalClip.lose = 1;
}
_local2.playerScore = _local2.playerScore - (10 * _local2.levelNumber);
if (_local2.playerScore < 0) {
_local2.playerScore = 0;
}
_local2._parent.updateScore(_local2.playerScore);
_local2.coinParent._x = _local2.middleWall._x + (_local2.middleWall._width / 2);
_local2.coinParent._y = 1000;
_local2.goalClip.gotoAndPlay(2);
_local2.goalClip.computer_score = _local2.computerGoal;
_local2.goalBy = "COMPUTER";
}
}
latestHitBy = "";
var striker;
_parent.playerGoal = 0;
_parent.computerGoal = 0;
if (_parent.playerScore == undefined) {
_parent.playerScore = 0;
}
}
onClipEvent (enterFrame) {
if (_parent.user.hitTest(_parent.rbottomReleaser) && (_parent.coin.surface.hitTest(_parent.rbottomReleaser))) {
_parent.coinParent._x = _parent.coinParent._x - 10;
_parent.coinParent._y = _parent.coinParent._y - 10;
}
if (_parent.user.hitTest(_parent.lbottomReleaser) && (_parent.coin.surface.hitTest(_parent.lbottomReleaser))) {
_parent.coinParent._x = _parent.coinParent._x + 10;
_parent.coinParent._y = _parent.coinParent._y - 10;
}
if (_parent.meHit.hitTest(_parent.coinParent)) {
GoalDetection(1);
stopAllSound();
_parent.goalSound.gotoAndPlay(2);
}
if (_parent.computerHit.hitTest(_parent.coin.surface)) {
GoalDetection(2);
stopAllSound();
_parent.goalSound.gotoAndPlay(2);
}
}
Instance of Symbol 86 MovieClip "computerSkin" in Symbol 319 MovieClip Frame 1
onClipEvent (load) {
function computerBig(bigCom) {
_parent.computerSkin._xscale = _parent.computerSkin._xscale + bigCom;
_parent.computerSkin._yscale = _parent.computerSkin._yscale + bigCom;
updateAfterEvent();
if (_parent.sizeChange._currentframe == 1) {
if (_parent.menuPlay.lockPos != 1) {
_parent.sizeChange.gotoAndPlay(2);
}
}
}
function computerSmall(smallCom) {
_parent.computerSkin._xscale = _parent.computerSkin._xscale - smallCom;
_parent.computerSkin._yscale = _parent.computerSkin._yscale - smallCom;
updateAfterEvent();
if (_parent.sizeChange._currentframe == 1) {
if (_parent.menuPlay.lockPos != 1) {
_parent.sizeChange.gotoAndPlay(2);
}
}
}
function computerMoveX() {
if (this._x > 215) {
this._x = this._x - 3;
} else if (this._x < 215) {
this._x = this._x + 3;
}
if ((this._x <= 217) && (this._x >= 213)) {
this._x = 215;
}
}
function gateComputerBig(scaleBig) {
_parent.computerGate._xscale = _parent.computerGate._xscale + scaleBig;
_parent.meHit._xscale = _parent.meHit._xscale + (scaleBig * 2);
if (_parent.sizeChange2._currentframe == 1) {
if (_parent.menuPlay.lockPos != 1) {
_parent.sizeChange2.gotoAndPlay(2);
}
}
}
function gateComputerSmall(scaleSmall) {
_parent.computerGate._xscale = _parent.computerGate._xscale - scaleSmall;
_parent.meHit._xscale = _parent.meHit._xscale - (scaleSmall * 2);
if (_parent.sizeChange2._currentframe == 1) {
if (_parent.menuPlay.lockPos != 1) {
_parent.sizeChange2.gotoAndPlay(2);
}
}
}
timeComputer = 0;
}
onClipEvent (enterFrame) {
if (_parent.bonusColl.kindBonus == "1C") {
timeComputer++;
timerComputer = Math.round(timeComputer / 32);
if (timerComputer == 10) {
computerSmall(1);
} else if (timerComputer <= 1) {
computerBig(1);
} else if (timerComputer >= 11) {
_parent.bonusColl.kindBonus = 0;
timeComputer = 0;
}
} else if (_parent.bonusColl.kindBonus == "2U") {
timeComputer++;
timerComputer = Math.round(timeComputer / 32);
if (timerComputer == 10) {
computerBig(0.65);
} else if (timerComputer <= 1) {
computerSmall(0.65);
} else if (timerComputer >= 11) {
_parent.bonusColl.kindBonus = 0;
timeComputer = 0;
}
} else if (_parent.bonusColl.kindBonus == "3C") {
_parent.moveCoin = 1;
} else if (_parent.bonusColl.kindBonus == "4U") {
timeComputer++;
timerComputer = Math.round(timeComputer / 32);
if (timerComputer == 10) {
gateComputerSmall(1);
} else if (timerComputer <= 1) {
gateComputerBig(0.68);
} else if (timerComputer >= 11) {
_parent.bonusColl.kindBonus = 0;
timeComputer = 0;
}
} else if (_parent.bonusColl.kindBonus == "5C") {
timeComputer++;
timerComputer = Math.round(timeComputer / 32);
if (timerComputer == 10) {
gateComputerBig(1);
} else if (timerComputer <= 1) {
gateComputerSmall(0.68);
} else if (timerComputer >= 11) {
_parent.bonusColl.kindBonus = 0;
timeComputer = 0;
}
} else if (_parent.bonusColl.kindBonus == "6C") {
timeComputer++;
timerComputer = Math.round(timeComputer / 32);
if (timerComputer <= 5) {
_parent.userSkin._x = _parent.bonusColl.lockPlayerX;
_parent.userSkin._y = _parent.bonusColl.lockPlayerY;
_parent.user._x = _parent.bonusColl.lockPlayerX;
_parent.user._y = _parent.bonusColl.lockPlayerY;
_parent.user._xscale = _parent.bonusColl.planScaleUserX;
_parent.user._yscale = _parent.bonusColl.planScaleUserY;
_parent.userSkin._xscale = _parent.bonusColl.planScaleUserX;
_parent.userSkin._yscale = _parent.bonusColl.planScaleUserY;
_parent.stone._x = _parent.userSkin._x;
_parent.stone._y = _parent.userSkin._y - 5;
_parent.stone._xscale = _parent.userSkin._xscale;
_parent.stone._yscale = _parent.userSkin._yscale;
} else if (timerComputer >= 6) {
_parent.user.userPause = 0;
_parent.bonusColl.kindBonus = 0;
timeComputer = 0;
_parent.stone._x = 800;
_parent.stone._y = 800;
}
} else if (_parent.bonusColl.kindBonus == "7C") {
timeComputer++;
timerComputer = Math.round(timeComputer / 32);
if (timerComputer == 10) {
_parent.computerGate._y = 30.95;
_parent.meHit._y = 33.25;
if (_parent.diamondSound._currentframe == 1) {
_parent.diamondSound.gotoAndPlay(2);
}
} else if (timerComputer <= 1) {
if (_parent.computerGate._currentframe == 1) {
_parent.computerGate.gotoAndPlay(2);
if (_parent.diamondSound._currentframe == 1) {
_parent.diamondSound.gotoAndPlay(2);
}
}
} else if (timerComputer >= 11) {
_parent.bonusColl.kindBonus = 0;
timeComputer = 0;
}
} else {
_xscale = (_parent.computer._xscale - 10);
_yscale = (_parent.computer._yscale - 10);
}
}
Instance of Symbol 73 MovieClip "computer" in Symbol 319 MovieClip Frame 1
onClipEvent (load) {
if (_parent.levelNumber < 4) {
_parent.lev = 25 - (0.5 * _parent.levelNumber);
} else if (_parent.levelNumber < 5) {
_parent.lev = 23 - (0.5 * _parent.levelNumber);
} else if (_parent.levelNumber < 6) {
_parent.lev = 20 - (0.5 * _parent.levelNumber);
} else if (_parent.levelNumber < 7) {
_parent.lev = 15 - (0.5 * _parent.levelNumber);
} else {
_parent.lev = 5;
}
timeComTouch = 0;
}
onClipEvent (enterFrame) {
if (_parent.coinParent._y < _parent.middleWall._y) {
if ((_parent.moveCoin == 0) && (_parent.userSkin.moveComp == 0)) {
if (_parent.bonusColl.kindBonus == "3C") {
_parent.init();
_parent.main();
} else {
this._y = this._y + ((_parent.coinParent._y - this._y) / 8);
_parent.computerSkin._y = this._y;
currentX = this._x + ((_parent.coinParent._x - this._x) / _parent.lev);
}
}
} else if (_parent.userSkin.moveComp == 0) {
if (_parent.bonusColl.touchBonus == 1) {
timeComTouch++;
timerComTouch = Math.round(timeComTouch / 32);
if (timerComTouch >= 2) {
this._y = this._y + ((_parent.bonusColl._y - this._y) / 8);
_parent.computerSkin._y = this._y;
currentX = this._x + ((_parent.bonusColl._x - this._x) / _parent.lev);
}
} else {
this._y = this._y + ((75 - this._y) / 8);
_parent.computerSkin._y = this._y;
currentX = this._x + ((_parent.coinParent._x - this._x) / _parent.lev);
}
}
yDiff = _parent.bottomWall._y - _y;
xSlipt = yDiff * _parent.user.xRatio;
xSlipt = xSlipt / 2;
radius = _width / 2;
if (currentX < ((_parent.bottomWall._x + xSlipt) + radius)) {
this._x = (_parent.bottomWall._x + xSlipt) + radius;
_parent.computerSkin._x = this._x;
} else if (currentX > (((_parent.bottomWall._x + _parent.bottomWall._width) - xSlipt) - radius)) {
this._x = ((_parent.bottomWall._x + _parent.bottomWall._width) - xSlipt) - radius;
_parent.computerSkin._x = this._x;
} else {
this._x = currentX;
_parent.computerSkin._x = this._x;
}
if ((_parent.rightReleaser.hitTest(_parent.coinParent) == true) && (_parent.rightReleaser.hitTest(this) == true)) {
_parent.coinParent._x = _parent.coinParent._x - 7;
_parent.coinParent._y = _parent.coinParent._y + 10;
}
if ((_parent.leftReleaser.hitTest(_parent.coinParent) == true) && (_parent.leftReleaser.hitTest(this) == true)) {
_parent.coinParent._x = _parent.coinParent._x + 7;
_parent.coinParent._y = _parent.coinParent._y + 10;
}
}
Instance of Symbol 90 MovieClip "userSkin" in Symbol 319 MovieClip Frame 1
onClipEvent (load) {
function userBig(bigUs) {
_parent.userSkin._xscale = _parent.userSkin._xscale + bigUs;
_parent.userSkin._yscale = _parent.userSkin._yscale + bigUs;
updateAfterEvent();
if (_parent.sizeChange._currentframe == 1) {
if (_parent.menuPlay.lockPos != 1) {
_parent.sizeChange.gotoAndPlay(2);
}
}
}
function userSmall(smallUs) {
_parent.userSkin._xscale = _parent.userSkin._xscale - smallUs;
_parent.userSkin._yscale = _parent.userSkin._yscale - smallUs;
updateAfterEvent();
if (_parent.sizeChange._currentframe == 1) {
if (_parent.menuPlay.lockPos != 1) {
_parent.sizeChange.gotoAndPlay(2);
}
}
}
function gateUserBig(XScaleBig) {
_parent.userGate._xscale = _parent.userGate._xscale + XScaleBig;
_parent.computerHit._xscale = _parent.computerHit._xscale + (XScaleBig * 4);
if (_parent.sizeChange2._currentframe == 1) {
if (_parent.menuPlay.lockPos != 1) {
_parent.sizeChange2.gotoAndPlay(2);
}
}
}
function gateUserSmall(XScaleSmall) {
_parent.userGate._xscale = _parent.userGate._xscale - XScaleSmall;
_parent.computerHit._xscale = _parent.computerHit._xscale - (XScaleSmall * 4);
if (_parent.sizeChange2._currentframe == 1) {
if (_parent.menuPlay.lockPos != 1) {
_parent.sizeChange2.gotoAndPlay(2);
}
}
}
timeUser = 0;
moveComp = 0;
}
onClipEvent (enterFrame) {
_x = _parent.user._x;
_y = _parent.user._y;
if (_parent.bonusColl.kindBonus == "1U") {
timeUser++;
timerUser = Math.round(timeUser / 32);
if (timerUser == 10) {
userSmall(1);
} else if (timerUser <= 1) {
userBig(1);
} else if (timerUser >= 11) {
_parent.bonusColl.kindBonus = 0;
timeUser = 0;
}
} else if (_parent.bonusColl.kindBonus == "2C") {
timeUser++;
timerUser = Math.round(timeUser / 32);
if (timerUser == 10) {
userBig(0.65);
} else if (timerUser <= 1) {
userSmall(0.65);
} else if (timerUser >= 11) {
_parent.bonusColl.kindBonus = 0;
timeUser = 0;
}
} else if (_parent.bonusColl.kindBonus == "3U") {
_parent.moveCoin = 1;
} else if (_parent.bonusColl.kindBonus == "4C") {
timeUser++;
timerUser = Math.round(timeUser / 32);
if (timerUser == 10) {
gateUserSmall(1);
} else if (timerUser <= 1) {
gateUserBig(0.68);
} else if (timerUser >= 11) {
_parent.bonusColl.kindBonus = 0;
timeUser = 0;
}
} else if (_parent.bonusColl.kindBonus == "5U") {
timeUser++;
timerUser = Math.round(timeUser / 32);
if (timerUser == 10) {
gateUserBig(1);
} else if (timerUser <= 1) {
gateUserSmall(0.68);
} else if (timerUser >= 11) {
_parent.bonusColl.kindBonus = 0;
timeUser = 0;
}
} else if (_parent.bonusColl.kindBonus == "6U") {
timeUser++;
timerUser = Math.round(timeUser / 32);
if (timerUser <= 5) {
moveComp = 1;
_parent.stone._x = _parent.computerSkin._x;
_parent.stone._y = _parent.computerSkin._y - 5;
_parent.stone._xscale = _parent.computerSkin._xscale;
_parent.stone._yscale = _parent.computerSkin._yscale;
} else if (timerUser >= 6) {
moveComp = 0;
_parent.bonusColl.kindBonus = 0;
timeUser = 0;
_parent.stone._x = 800;
_parent.stone._y = 800;
}
} else if (_parent.bonusColl.kindBonus == "7U") {
timeUser++;
timerUser = Math.round(timeUser / 32);
if (timerUser == 10) {
_parent.userGate._y = 349.65;
_parent.computerHit._y = 336.7;
if (_parent.diamondSound._currentframe == 1) {
_parent.diamondSound.gotoAndPlay(2);
}
} else if (timerUser <= 1) {
if (_parent.userGate._currentframe == 1) {
_parent.userGate.gotoAndPlay(2);
if (_parent.diamondSound._currentframe == 1) {
_parent.diamondSound.gotoAndPlay(2);
}
}
} else if (timerUser >= 11) {
_parent.bonusColl.kindBonus = 0;
timeUser = 0;
}
} else {
_xscale = (_parent.user._xscale - 10);
_yscale = (_parent.user._yscale - 10);
}
}
Instance of Symbol 118 MovieClip "bonusColl" in Symbol 319 MovieClip Frame 1
onClipEvent (load) {
setProperty(this, _visible , 0);
touchBonus = 0;
timeBonus = 0;
chekBonus = 0;
kindBonus = 0;
}
onClipEvent (enterFrame) {
if (_parent.lockBon != true) {
timeBonus++;
}
timerBonus = Math.round(timeBonus / 32);
if (timerBonus == 5) {
if (kindBonus == 0) {
if (chekBonus == 0) {
frameRandom = random(8);
this.gotoAndStop(frameRandom);
setProperty(this, _visible , 1);
touchBonus = 1;
chekBonus = 1;
}
} else {
timeBonus = 0;
}
}
if (this.hitTest(_parent.computerSkin)) {
if (touchBonus == 1) {
_parent.computerLight.gotoAndPlay(2);
touchBonus = 0;
timeBonus = 0;
chekBonus = 0;
_parent.computer.timeComTouch = 0;
setProperty(this, _visible , 0);
kindBonus = this._currentframe + "C";
lockPlayerX = _parent.user._x;
lockPlayerY = _parent.user._y;
planScaleUserX = _parent.user._xscale;
planScaleUserY = _parent.user._yscale;
hBonus = new Sound();
hBonus.attachSound("haveBonus");
hBonus.start();
}
}
if (this.hitTest(_parent.userSkin)) {
if (touchBonus == 1) {
_parent.userLight.gotoAndPlay(2);
touchBonus = 0;
timeBonus = 0;
chekBonus = 0;
setProperty(this, _visible , 0);
kindBonus = this._currentframe + "U";
hBonus = new Sound();
hBonus.attachSound("haveBonus");
hBonus.start();
}
}
}
Instance of Symbol 140 MovieClip "goalClip" in Symbol 319 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._currentframe >= 52) {
_parent.bonusColl.timeBonus = 0;
_parent.bonusColl._visible = 0;
}
}
Instance of Symbol 162 MovieClip "lightPower" in Symbol 319 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent.bonusColl.kindBonus == "1U") || (_parent.bonusColl.kindBonus == "2C")) {
this.gotoAndStop(1);
if ((_parent.userSkin.timerUser < 2) || (_parent.userSkin.timerUser == 10)) {
this._x = _parent.userSkin._x;
this._y = _parent.userSkin._y + 7;
this._xscale = _parent.userSkin._xscale + 10;
this._yscale = _parent.userSkin._yscale + 40;
updateAfterEvent();
} else if (_parent.userSkin.timerUser >= 2) {
this._x = 900;
this._y = 900;
}
} else if ((_parent.bonusColl.kindBonus == "1C") || (_parent.bonusColl.kindBonus == "2U")) {
this.gotoAndStop(1);
if ((_parent.computerSkin.timerComputer < 2) || (_parent.computerSkin.timerComputer == 10)) {
this._x = _parent.computerSkin._x;
this._y = _parent.computerSkin._y;
this._xscale = _parent.computerSkin._xscale + 10;
this._yscale = _parent.computerSkin._yscale + 40;
updateAfterEvent();
} else if (_parent.computerSkin.timerComputer >= 2) {
this._x = 900;
this._y = 900;
}
} else if ((_parent.bonusColl.kindBonus == "4C") || (_parent.bonusColl.kindBonus == "5U")) {
this.gotoAndStop(2);
if ((_parent.userSkin.timerUser < 2) || (_parent.userSkin.timerUser == 10)) {
this._x = _parent.userGate._x;
this._y = _parent.userGate._y;
this._xscale = _parent.userGate._xscale + 300;
this._yscale = _parent.userGate._yscale + 300;
updateAfterEvent();
} else if (_parent.userSkin.timerUser >= 2) {
this._x = 900;
this._y = 900;
}
} else if ((_parent.bonusColl.kindBonus == "4U") || (_parent.bonusColl.kindBonus == "5C")) {
this.gotoAndStop(2);
if ((_parent.computerSkin.timerComputer < 2) || (_parent.computerSkin.timerComputer == 10)) {
this._x = _parent.computerGate._x;
this._y = _parent.computerGate._y;
this._xscale = _parent.computerGate._xscale + 100;
this._yscale = _parent.computerGate._yscale + 100;
updateAfterEvent();
} else if (_parent.computerSkin.timerComputer >= 2) {
this._x = 900;
this._y = 900;
}
} else {
this._x = 900;
this._y = 900;
}
}
Symbol 319 MovieClip Frame 2
stop();
Mouse.show();
Symbol 319 MovieClip Frame 3
stop();
Mouse.show();
Symbol 319 MovieClip Frame 4
stop();
stopAllSounds();
lS = new Sound();
lS.attachSound("loseSound");
lS.start();
Mouse.show();
Symbol 319 MovieClip Frame 5
stop();
stopAllSounds();
Mouse.show();
userGate._visible = 1;
computerGate._visible = 1;
computerGate._y = 30.95;
meHit._y = 33.25;
userGate._y = 349.65;
computerHit._y = 336.7;
userGate._width = 185.6;
computerHit._width = 98.2;
meHit._width = 42.3;
computerGate._width = 89;
delay = 0;
levelNumber++;
dispLevel = "Level " + levelNumber;
if (levelNumber == 1) {
xcircle = l1._x - 6;
} else if (levelNumber == 2) {
xcircle = l2._x - 6;
} else if (levelNumber == 3) {
xcircle = l3._x - 6;
} else if (levelNumber == 4) {
xcircle = l4._x - 6;
} else if (levelNumber == 5) {
xcircle = l5._x - 6;
} else if (levelNumber == 6) {
xcircle = l6._x - 6;
} else if (levelNumber == 7) {
xcircle = l7._x - 6;
} else {
xcircle = l8._x - 6;
}
circleLevel._x = xcircle;
if (levelNumber == 1) {
levelNumber = 1;
computerSkin.gotoAndStop(1);
table.gotoAndStop(1);
} else {
computerSkin.gotoAndStop(levelNumber);
table.gotoAndStop(levelNumber);
}
i = 1;
while (i <= 8) {
setProperty("l" + i, _visible , 1);
i++;
}
beforeLevel = 8 - levelNumber;
i = 1;
while (i <= beforeLevel) {
hideNumber = levelNumber + i;
setProperty("l" + hideNumber, _visible , 0);
i++;
}
this.onEnterFrame = function () {
delay = delay + 1;
if (delay > 110) {
getReadyVar = 1;
delete onEnterFrame;
gotoAndStop (1);
}
};
Symbol 319 MovieClip Frame 6
boxInput.setFocus();
stop();
Symbol 319 MovieClip Frame 7
stop();
Symbol 319 MovieClip Frame 8
Winner.winnerName = playerName;
levelNumber = 0;
stop();