Frame 1
fscommand ("allowscale", "false");
fscommand ("showmenu", "false");
Frame 11
stop();
Frame 12
play();
Frame 13
stop();
Instance of Symbol 42 MovieClip "progressbar" in Frame 13
onClipEvent (load) {
totalFileSize = _root.getBytesTotal();
startTime = getTimer();
startBytes = _root.getBytesLoaded();
this._xscale = 0;
}
onClipEvent (enterFrame) {
bytesLoaded = _root.getBytesLoaded();
amountLoaded = bytesLoaded / totalFileSize;
percentLoaded = int(100 * amountLoaded);
this._xscale = percentLoaded;
timeSoFar = getTimer() - startTime;
speed = bytesLoaded / timeSoFar;
bytesLeft = totalFileSize - bytesLoaded;
timeLeft = (bytesLeft / 1000) * (speed / 1000);
speed = int(10 * speed) / 10;
_root.bytesMessage = ((int(bytesLoaded / 1000) + "kb/") + int(totalFileSize / 1000)) + "kb";
_root.speedMessage = speed + "k/sec";
_root.timeMessage = int(timeLeft) + " seconds remaining";
if (amountLoaded >= 1) {
_root.gotoAndStop("complete");
}
}
Frame 14
stop();
Frame 16
difficulty = 10;
round = 1;
playerRoundsWon = 0;
opponentRoundsWon = 0;
fighter = 0;
playerScore = 0;
Frame 17
stop();
Frame 18
stop();
Frame 19
Menu.opponent = "Kerry";
Menu.player = "Bush";
play();
Instance of Symbol 131 MovieClip "MyStrength" in Frame 19
onClipEvent (load) {
this.graph._yscale = 100;
}
onClipEvent (enterFrame) {
if (30 >= this.graph._yscale) {
_root.playerWeak = 1;
this.Low.gotoAndStop(2);
} else {
this.Low.gotoAndStop(1);
_root.playerWeak = 0;
}
if (2 >= this.graph._yscale) {
this.graph._yscale = 2;
}
}
Frame 79
stop();
meFend = 0;
Menu.opponent = "Kerry";
Menu.player = "Bush";
Menu.playerStrength.meterP._xscale = 100;
Menu.opponentStrength.meterO._xscale = 100;
playerWeak = 0;
Instance of Symbol 169 MovieClip "engine" in Frame 79
onClipEvent (load) {
function PlayStrength() {
if (_root.meFend == 0) {
_root.Menu.playerStrength.meterP._xscale = _root.Menu.playerStrength.meterP._xscale - _root.difficulty;
}
}
function meDefend() {
_root.rightArm.gotoAndStop("R_block");
_root.leftArm.gotoAndStop("L_block");
_root.Flash.gotoAndStop(1);
}
function pressingSpace() {
if ((((key.isDown(87) != true) && (key.isDown(68) != true)) && (key.isDown(65) != true)) && (key.isDown(83) != true)) {
_root.leftArm.gotoAndStop(1);
_root.rightArm.gotoAndStop(1);
}
}
}
onClipEvent (enterFrame) {
if (key.isDown(32)) {
this.meDefend();
_root.meFend = 1;
_root.MyStrength.graph._yscale = _root.MyStrength.graph._yscale + 1;
if (_root.MyStrength.graph._yscale >= 100) {
_root.MyStrength.graph._yscale = 100;
}
} else {
_root.meFend = 0;
this.pressingSpace();
}
if (1 >= _root.Menu.playerStrength.meterP._xscale) {
_root.Menu.playerStrength.meterP._xscale = 0;
_root.gotoAndPlay("LoseK");
}
if (0 >= _root.Menu.opponentStrength.meterO._xscale) {
_root.Menu.opponentStrength.meterO._xscale = 0;
_root.Kerry.gotoAndPlay("Kerry_Down");
}
}
Instance of Symbol 131 MovieClip "MyStrength" in Frame 79
onClipEvent (load) {
this.graph._yscale = 100;
}
onClipEvent (enterFrame) {
if (30 >= this.graph._yscale) {
_root.playerWeak = 1;
this.Low.gotoAndStop(2);
} else {
this.Low.gotoAndStop(1);
_root.playerWeak = 0;
}
if (2 >= this.graph._yscale) {
this.graph._yscale = 2;
}
}
Frame 119
if (fighter == 1) {
opponentRoundsWon++;
if (round < 3) {
round++;
gotoAndPlay ("BushBegin");
} else if ((round == 3) && (playerRoundsWon >= 2)) {
gotoAndStop ("BushWon");
} else if ((round == 3) && (opponentRoundsWon >= 2)) {
gotoAndStop ("KerryWon");
}
}
if (fighter == 2) {
if (round < 3) {
round++;
gotoAndPlay ("KerryBegin");
} else if ((round == 3) && (playerRoundsWon >= 2)) {
gotoAndStop ("KerryWon");
} else if ((round == 3) && (opponentRoundsWon >= 2)) {
gotoAndStop ("BushWon");
}
}
stop();
Frame 120
stop();
if (fighter == 1) {
roundsWon = opponentRoundsWon;
} else {
roundsWon = playerRoundsWon;
}
Frame 121
Menu.opponent = "Bush";
Menu.player = "Kerry";
play();
Instance of Symbol 131 MovieClip "MyStrength" in Frame 121
onClipEvent (load) {
this.graph._yscale = 100;
}
onClipEvent (enterFrame) {
if (30 >= this.graph._yscale) {
_root.playerWeak = 1;
this.Low.gotoAndStop(2);
} else {
this.Low.gotoAndStop(1);
_root.playerWeak = 0;
}
if (2 >= this.graph._yscale) {
this.graph._yscale = 2;
}
}
Frame 181
meFend = 0;
Menu.opponent = "Bush";
Menu.player = "Kerry";
Menu.playerStrength.meterP._xscale = 100;
Menu.opponentStrength.meterO._xscale = 100;
stop();
playerWeak = 0;
Instance of Symbol 169 MovieClip "engine" in Frame 181
onClipEvent (load) {
function PlayStrength() {
if (_root.meFend == 0) {
_root.Menu.playerStrength.meterP._xscale = _root.Menu.playerStrength.meterP._xscale - _root.difficulty;
}
}
function meDefend() {
_root.rightArm.gotoAndStop("R_block");
_root.leftArm.gotoAndStop("L_block");
_root.Flash.gotoAndStop(1);
}
function pressingSpace() {
if ((((key.isDown(87) != true) && (key.isDown(68) != true)) && (key.isDown(65) != true)) && (key.isDown(83) != true)) {
_root.leftArm.gotoAndStop(1);
_root.rightArm.gotoAndStop(1);
}
}
}
onClipEvent (enterFrame) {
if (key.isDown(32)) {
this.meDefend();
_root.meFend = 1;
_root.MyStrength.graph._yscale = _root.MyStrength.graph._yscale + 1;
if (_root.MyStrength.graph._yscale >= 100) {
_root.MyStrength.graph._yscale = 100;
}
} else {
_root.meFend = 0;
this.pressingSpace();
}
if (0 >= _root.Menu.playerStrength.meterP._xscale) {
_root.Menu.playerStrength.meterP._xscale = 0;
_root.gotoAndPlay("LoseB");
}
if (0 >= _root.Menu.opponentStrength.meterO._xscale) {
_root.Menu.opponentStrength.meterO._xscale = 0;
_root.Bush.gotoAndPlay("Bush_Down");
}
updateAfterEvent();
}
Instance of Symbol 131 MovieClip "MyStrength" in Frame 181
onClipEvent (load) {
this.graph._yscale = 100;
}
onClipEvent (enterFrame) {
if (30 >= this.graph._yscale) {
_root.playerWeak = 1;
this.Low.gotoAndStop(2);
} else {
this.Low.gotoAndStop(1);
_root.playerWeak = 0;
}
if (2 >= this.graph._yscale) {
this.graph._yscale = 2;
}
}
Frame 182
stop();
if (fighter == 1) {
roundsWon = playerRoundsWon;
} else {
roundsWon = opponentRoundsWon;
}
Frame 222
if (fighter == 1) {
if (round < 3) {
round++;
gotoAndPlay ("BushBegin");
} else if ((round == 3) && (playerRoundsWon >= 2)) {
gotoAndStop ("BushWon");
} else if ((round == 3) && (opponentRoundsWon >= 2)) {
gotoAndStop ("KerryWon");
}
}
if (fighter == 2) {
opponentRoundsWon++;
if (round < 3) {
round++;
gotoAndPlay ("KerryBegin");
} else if ((round == 3) && (playerRoundsWon >= 2)) {
gotoAndStop ("KerryWon");
} else if ((round == 3) && (opponentRoundsWon >= 2)) {
gotoAndStop ("BushWon");
}
}
stop();
Symbol 17 MovieClip Frame 174
_root.nextFrame();
stop();
Symbol 31 Button
on (release) {
getURL ("http://www.miniclip.com/Homepage.htm", "_blank");
}
Symbol 32 MovieClip Frame 1
stop();
Symbol 35 Button
on (release) {
getURL ("http://www.miniclip.com/Homepage.htm", "_blank");
}
Symbol 37 Button
on (release) {
getURL ("http://www.miniclip.com/signup2.htm", "_blank");
}
Symbol 39 Button
on (release) {
getURL ("http://www.miniclip.com/Flash/knockout.exe", "_blank");
}
Symbol 49 Button
on (release) {
gotoAndPlay (15);
}
Symbol 60 Button
on (release) {
difficulty = 5;
}
Symbol 62 Button
on (release) {
difficulty = 10;
}
Symbol 64 Button
on (release) {
difficulty = 25;
}
Symbol 66 Button
on (release) {
nextFrame();
}
Symbol 67 Button
on (release) {
getURL ("http://www.miniclip.com/signup.htm", "_blank");
}
Symbol 68 Button
on (release) {
getURL ("http://www.miniclip.com/download_ninja.htm", "_blank");
}
Symbol 72 Button
on (release) {
_parent.fighter = 2;
gotoAndPlay (2);
}
Symbol 73 MovieClip Frame 1
stop();
Symbol 73 MovieClip Frame 30
_parent.gotoAndPlay("KerryBegin");
stop();
Symbol 75 Button
on (release) {
_parent.fighter = 1;
gotoAndPlay (2);
}
Symbol 76 MovieClip Frame 1
stop();
Symbol 76 MovieClip Frame 30
_parent.gotoAndPlay("BushBegin");
stop();
Symbol 81 Button
on (release) {
difficulty = 5;
}
Symbol 82 Button
on (release) {
difficulty = 10;
}
Symbol 83 Button
on (release) {
difficulty = 25;
}
Symbol 95 MovieClip Frame 1
var knuckle = random(36);
play();
Symbol 95 MovieClip Frame 5
if (knuckle == 12) {
gotoAndPlay (6);
} else {
gotoAndPlay (1);
}
Symbol 95 MovieClip Frame 14
gotoAndPlay (1);
Symbol 98 MovieClip Frame 1
stop();
Symbol 103 MovieClip Frame 1
_root.MyActions.gotoAndStop(1);
stop();
Symbol 103 MovieClip Frame 5
_root.MyActions.gotoAndStop(1);
stop();
Symbol 103 MovieClip Frame 18
gotoAndStop (1);
Symbol 103 MovieClip Frame 23
gotoAndStop (1);
Symbol 103 MovieClip Frame 26
_root.FaceBruised++;
Symbol 103 MovieClip Frame 33
gotoAndStop (1);
Symbol 107 MovieClip Frame 1
stop();
Symbol 108 MovieClip Frame 1
_root.MyActions.gotoAndStop(1);
stop();
Symbol 108 MovieClip Frame 5
_root.MyActions.gotoAndStop(1);
stop();
Symbol 108 MovieClip Frame 18
gotoAndStop (1);
Symbol 108 MovieClip Frame 24
gotoAndStop (1);
_root.meFend = 0;
Symbol 108 MovieClip Frame 33
gotoAndStop (1);
Symbol 129 MovieClip Frame 1
stop();
Symbol 129 MovieClip Frame 2
stop();
Symbol 133 MovieClip Frame 1
var KerryPunch = random(5);
play();
Symbol 133 MovieClip Frame 5
if (KerryPunch == 4) {
_parent.gotoAndPlay("Kerry_SwingLft");
}
Symbol 133 MovieClip Frame 13
if (KerryPunch == 1) {
_parent.gotoAndPlay("Kerry_SwingRght");
}
Symbol 166 MovieClip Frame 1
stop();
Symbol 166 MovieClip Frame 2
var meSwing = random(5);
Symbol 166 MovieClip Frame 4
if (meSwing == 3) {
gotoAndPlay ("Kerry_SwingLft");
}
Symbol 166 MovieClip Frame 14
gotoAndStop (1);
Symbol 166 MovieClip Frame 15
var meSwing = random(5);
Symbol 166 MovieClip Frame 17
if (meSwing == 3) {
gotoAndPlay ("Kerry_SwingRght");
}
Symbol 166 MovieClip Frame 27
gotoAndStop (1);
Symbol 166 MovieClip Frame 33
var meSwing = random(5);
if (_root.playerWeak) {
_root.playerScore = _root.playerScore + 100;
_root.Menu.opponentStrength.meterO._xscale = _root.Menu.opponentStrength.meterO._xscale - 2;
} else {
_root.Menu.opponentStrength.meterO._xscale = _root.Menu.opponentStrength.meterO._xscale - 5;
_root.playerScore = _root.playerScore + 1000;
}
Symbol 166 MovieClip Frame 34
if (meSwing == 3) {
gotoAndPlay ("Kerry_SwingLft");
}
Symbol 166 MovieClip Frame 35
gotoAndStop (1);
Symbol 166 MovieClip Frame 41
var meSwing = random(5);
if (_root.playerWeak) {
_root.playerScore = _root.playerScore + 50;
_root.Menu.opponentStrength.meterO._xscale = _root.Menu.opponentStrength.meterO._xscale - 2;
} else {
_root.Menu.opponentStrength.meterO._xscale = _root.Menu.opponentStrength.meterO._xscale - 3;
_root.playerScore = _root.playerScore + 300;
}
Symbol 166 MovieClip Frame 42
if (meSwing == 3) {
gotoAndPlay ("Kerry_SwingRght");
}
Symbol 166 MovieClip Frame 43
gotoAndStop (1);
Symbol 166 MovieClip Frame 47
if (_root.playerWeak) {
_root.playerScore = _root.playerScore + 100;
_root.Menu.opponentStrength.meterO._xscale = _root.Menu.opponentStrength.meterO._xscale - 2;
} else {
_root.Menu.opponentStrength.meterO._xscale = _root.Menu.opponentStrength.meterO._xscale - 5;
_root.playerScore = _root.playerScore + 750;
}
Symbol 166 MovieClip Frame 53
if (_root.meFend == 1) {
_root.rightArm.rightBlock.gotoAndPlay(2);
} else if (_root.meFend == 0) {
_root.Flash.gotoAndPlay(2);
}
Symbol 166 MovieClip Frame 58
gotoAndStop (1);
Symbol 166 MovieClip Frame 61
if (_root.meFend == 1) {
_root.rightArm.rightBlock.gotoAndPlay(2);
} else if (_root.meFend == 0) {
_root.Flash.gotoAndPlay(2);
}
Symbol 166 MovieClip Frame 68
gotoAndStop (1);
Symbol 166 MovieClip Frame 70
_name = "KerryHurt";
Symbol 166 MovieClip Frame 73
_root.Menu.opponentStrength.meterO._xscale = _root.Menu.opponentStrength.meterO._xscale - 10;
_root.playerScore = _root.playerScore + 5000;
Symbol 166 MovieClip Frame 117
_name = "Kerry";
gotoAndStop (1);
Symbol 166 MovieClip Frame 118
_name = "KerryOut";
Symbol 166 MovieClip Frame 155
_parent.playerRoundsWon++;
_root.playerScore = _root.playerScore + 5000;
_parent.gotoAndPlay("LoseB");
stop();
Symbol 167 MovieClip Frame 1
stop();
Symbol 167 MovieClip Frame 2
_root.engine.PlayStrength();
play();
Symbol 171 Button
on (keyPress "a") {
if (Key.isDown(32) != true) {
hitMissLeft = random(5);
_root.leftArm.gotoAndPlay("L_swingSide");
_root.rightArm.gotoAndPlay("R_fend");
_root.MyStrength.graph._yscale = _root.MyStrength.graph._yscale - 5;
if (2 >= hitMissLeft) {
_root.Kerry.gotoAndPlay("Kerry_LftMiss");
} else if ((hitMissLeft >= 3) && (30 >= _root.MyStrength.graph._yscale)) {
_root.Kerry.gotoAndPlay("Kerry_LftMiss");
} else {
_root.Kerry.gotoAndPlay("Kerry_RghtHit");
}
gotoAndStop (2);
}
}
on (keyPress "d") {
if (Key.isDown(32) != true) {
hitMissRight = random(20);
_root.rightArm.gotoAndPlay("R_swingSide");
_root.leftArm.gotoAndPlay("L_fend");
_root.MyStrength.graph._yscale = _root.MyStrength.graph._yscale - 5;
if (5 >= hitMissRight) {
_root.Kerry.gotoAndPlay("Kerry_RghtMiss");
} else if (((5 < hitMissRight) && (8 >= hitMissRight)) && (30 >= _root.MyStrength.graph._yscale)) {
_root.Kerry.gotoAndPlay("Kerry_RghtMiss");
} else if ((hitMissRight == 9) && (80 < _root.MyStrength.graph._yscale)) {
_root.Kerry.gotoAndPlay("KerryHitHard");
} else {
_root.Kerry.gotoAndPlay("Kerry_LftHit");
}
gotoAndStop (2);
}
}
on (keyPress "w") {
if (Key.isDown(32) != true) {
hitMissUp = random(10);
_root.rightArm.gotoAndPlay("R_fend");
_root.leftArm.gotoAndPlay("L_upperCut");
_root.MyStrength.graph._yscale = _root.MyStrength.graph._yscale - 5;
if (3 >= hitMissUp) {
_root.Kerry.gotoAndPlay("Kerry_UpCut");
} else if ((4 < hitMissUp) && (30 >= _root.MyStrength.graph._yscale)) {
_root.Kerry.gotoAndPlay("Kerry_LftMiss");
} else {
_root.Kerry.gotoAndPlay("Kerry_LftMiss");
}
gotoAndStop (2);
}
}
on (keyPress "s") {
if (Key.isDown(32) != true) {
hitMissDown = random(10);
_root.rightArm.gotoAndPlay("R_upperCut");
_root.leftArm.gotoAndPlay("L_fend");
_root.MyStrength.graph._yscale = _root.MyStrength.graph._yscale - 5;
if (2 >= hitMissDown) {
_root.Kerry.gotoAndPlay("Kerry_UpCut");
} else if ((3 < hitMissDown) && (30 >= _root.MyStrength.graph._yscale)) {
_root.Kerry.gotoAndPlay("Kerry_RghtMiss");
} else {
_root.Kerry.gotoAndPlay("Kerry_RghtMiss");
}
gotoAndStop (2);
}
}
Symbol 172 MovieClip Frame 1
stop();
Symbol 176 MovieClip Frame 1
var KerryPunch = random(5);
play();
Symbol 176 MovieClip Frame 5
if (KerryPunch == 4) {
_parent.gotoAndPlay("Kerry_SwingLft");
}
Symbol 176 MovieClip Frame 13
if (KerryPunch == 1) {
_parent.gotoAndPlay("Kerry_SwingRght");
}
Symbol 186 Button
on (release) {
gotoAndPlay ("setVar");
}
Symbol 196 MovieClip Frame 1
var GeorgePunch = random(5);
play();
Symbol 196 MovieClip Frame 3
if (GeorgePunch == 4) {
_parent.gotoAndPlay("Bush_SwingLft");
}
Symbol 196 MovieClip Frame 6
if (GeorgePunch == 1) {
_parent.gotoAndPlay("Bush_SwingRght");
}
Symbol 207 MovieClip Frame 1
stop();
Symbol 207 MovieClip Frame 2
var meSwing = random(5);
Symbol 207 MovieClip Frame 4
if (meSwing == 3) {
gotoAndPlay ("Bush_SwingLft");
}
Symbol 207 MovieClip Frame 14
gotoAndStop (1);
Symbol 207 MovieClip Frame 15
var meSwing = random(5);
Symbol 207 MovieClip Frame 17
if (meSwing == 3) {
gotoAndPlay ("Bush_SwingRght");
}
Symbol 207 MovieClip Frame 27
gotoAndStop (1);
Symbol 207 MovieClip Frame 33
var meSwing = random(5);
if (_root.playerWeak) {
_root.playerScore = _root.playerScore + 100;
_root.Menu.opponentStrength.meterO._xscale = _root.Menu.opponentStrength.meterO._xscale - 2;
} else {
_root.Menu.opponentStrength.meterO._xscale = _root.Menu.opponentStrength.meterO._xscale - 5;
_root.playerScore = _root.playerScore + 1000;
}
Symbol 207 MovieClip Frame 34
if (meSwing == 3) {
gotoAndPlay ("Bush_SwingLft");
}
Symbol 207 MovieClip Frame 35
gotoAndStop (1);
Symbol 207 MovieClip Frame 41
var meSwing = random(5);
if (_root.playerWeak) {
_root.playerScore = _root.playerScore + 50;
_root.Menu.opponentStrength.meterO._xscale = _root.Menu.opponentStrength.meterO._xscale - 2;
} else {
_root.Menu.opponentStrength.meterO._xscale = _root.Menu.opponentStrength.meterO._xscale - 3;
_root.playerScore = _root.playerScore + 300;
}
Symbol 207 MovieClip Frame 42
if (meSwing == 3) {
gotoAndPlay ("Bush_SwingRght");
}
Symbol 207 MovieClip Frame 43
gotoAndStop (1);
Symbol 207 MovieClip Frame 47
if (_root.playerWeak) {
_root.playerScore = _root.playerScore + 100;
_root.Menu.opponentStrength.meterO._xscale = _root.Menu.opponentStrength.meterO._xscale - 2;
} else {
_root.Menu.opponentStrength.meterO._xscale = _root.Menu.opponentStrength.meterO._xscale - 5;
_root.playerScore = _root.playerScore + 750;
}
Symbol 207 MovieClip Frame 53
if (_root.meFend == 1) {
_root.rightArm.rightBlock.gotoAndPlay(2);
} else if (_root.meFend == 0) {
_root.Flash.gotoAndPlay(2);
}
Symbol 207 MovieClip Frame 58
gotoAndStop (1);
Symbol 207 MovieClip Frame 61
if (_root.meFend == 1) {
_root.rightArm.rightBlock.gotoAndPlay(2);
} else if (_root.meFend == 0) {
_root.Flash.gotoAndPlay(2);
}
Symbol 207 MovieClip Frame 68
gotoAndStop (1);
Symbol 207 MovieClip Frame 70
_name = "BushHurt";
Symbol 207 MovieClip Frame 73
_root.Menu.opponentStrength.meterO._xscale = _root.Menu.opponentStrength.meterO._xscale - 10;
_root.playerScore = _root.playerScore + 5000;
Symbol 207 MovieClip Frame 117
_name = "Bush";
gotoAndStop (1);
Symbol 207 MovieClip Frame 118
_name = "BushOut";
Symbol 207 MovieClip Frame 165
_parent.playerRoundsWon++;
_root.playerScore = _root.playerScore + 5000;
_parent.gotoAndPlay("LoseK");
stop();
Symbol 208 Button
on (keyPress "a") {
if (Key.isDown(32) != true) {
hitMissLeft = random(5);
_root.leftArm.gotoAndPlay("L_swingSide");
_root.rightArm.gotoAndPlay("R_fend");
_root.MyStrength.graph._yscale = _root.MyStrength.graph._yscale - 5;
if (2 >= hitMissLeft) {
_root.Bush.gotoAndPlay("Bush_LftMiss");
} else if ((hitMissLeft >= 3) && (30 >= _root.MyStrength.graph._yscale)) {
_root.Bush.gotoAndPlay("Bush_LftMiss");
} else {
_root.Bush.gotoAndPlay("Bush_RghtHit");
}
gotoAndStop (2);
}
}
on (keyPress "d") {
if (Key.isDown(32) != true) {
hitMissRight = random(20);
_root.rightArm.gotoAndPlay("R_swingSide");
_root.leftArm.gotoAndPlay("L_fend");
_root.MyStrength.graph._yscale = _root.MyStrength.graph._yscale - 5;
if (5 >= hitMissRight) {
_root.Bush.gotoAndPlay("Bush_RghtMiss");
} else if (((5 < hitMissRight) && (8 >= hitMissRight)) && (30 >= _root.MyStrength.graph._yscale)) {
_root.Bush.gotoAndPlay("Bush_RghtMiss");
} else if ((hitMissRight == 9) && (80 < _root.MyStrength.graph._yscale)) {
_root.Bush.gotoAndPlay("BushHitHard");
} else {
_root.Bush.gotoAndPlay("Bush_LftHit");
}
gotoAndStop (2);
}
}
on (keyPress "w") {
if (Key.isDown(32) != true) {
hitMissUp = random(10);
_root.rightArm.gotoAndPlay("R_fend");
_root.leftArm.gotoAndPlay("L_upperCut");
_root.MyStrength.graph._yscale = _root.MyStrength.graph._yscale - 5;
if (3 >= hitMissUp) {
_root.Bush.gotoAndPlay("Bush_UpCut");
} else if ((4 < hitMissUp) && (30 >= _root.MyStrength.graph._yscale)) {
_root.Bush.gotoAndPlay("Bush_LftMiss");
} else {
_root.Bush.gotoAndPlay("Bush_LftMiss");
}
gotoAndStop (2);
}
}
on (keyPress "s") {
if (Key.isDown(32) != true) {
hitMissDown = random(10);
_root.rightArm.gotoAndPlay("R_upperCut");
_root.leftArm.gotoAndPlay("L_fend");
_root.MyStrength.graph._yscale = _root.MyStrength.graph._yscale - 5;
if (2 >= hitMissDown) {
_root.Bush.gotoAndPlay("Bush_UpCut");
} else if ((3 < hitMissDown) && (30 >= _root.MyStrength.graph._yscale)) {
_root.Bush.gotoAndPlay("Bush_RghtMiss");
} else {
_root.Bush.gotoAndPlay("Bush_RghtMiss");
}
gotoAndStop (2);
}
}
Symbol 209 MovieClip Frame 1
stop();
Symbol 218 Button
on (release) {
gotoAndPlay ("setVar");
}