Frame 1
percent = Math.ceil((100 / bytesTotal) * bytesLoaded);
degrees = 3.6 * percent;
loader.ring_mc._rotation = degrees;
Frame 2
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
play();
} else {
gotoAndPlay (1);
}
Frame 3
stop();
Frame 5
stopAllSounds();
score.play();
stop();
Instance of Symbol 77 MovieClip "wheel" in Frame 5
onClipEvent (load) {
speed = 2;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
_rotation = (_rotation + speed);
if (_x > 310) {
speed = random(4) - 4;
}
if (_x < 290) {
speed = random(4) + 1;
}
}
Instance of Symbol 79 MovieClip "skyblue" in Frame 5
onClipEvent (load) {
_y = -400;
}
onClipEvent (enterFrame) {
if (_y < 0) {
_y = (_y + 1);
}
}
Instance of Symbol 84 MovieClip "flare" in Frame 5
onClipEvent (enterFrame) {
if (_rotation < 50) {
_rotation = (_rotation + 0.5);
}
if (_rotation > 0) {
_alpha = (_alpha - 2);
}
if (_alpha < 2) {
_root.gotoAndStop("loser");
}
}
Frame 10
stopAllSounds();
score.play();
stop();
Instance of Symbol 77 MovieClip "wheel" in Frame 10
onClipEvent (load) {
speed = 2;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
_rotation = (_rotation + speed);
if (_x > 310) {
speed = random(4) - 4;
}
if (_x < 290) {
speed = random(4) + 1;
}
}
Instance of Symbol 79 MovieClip "skyblue" in Frame 10
onClipEvent (load) {
_y = -400;
}
onClipEvent (enterFrame) {
if (_y < 0) {
_y = (_y + 1);
}
}
Instance of Symbol 84 MovieClip "flare" in Frame 10
onClipEvent (enterFrame) {
if (_rotation < 50) {
_rotation = (_rotation + 0.5);
}
if (_rotation > 0) {
_alpha = (_alpha - 2);
}
}
Frame 15
stopAllSounds();
score.play();
stop();
Instance of Symbol 77 MovieClip "wheel" in Frame 15
onClipEvent (load) {
speed = 2;
}
onClipEvent (enterFrame) {
_x = (_x + speed);
_rotation = (_rotation + speed);
if (_x > 310) {
speed = random(4) - 4;
}
if (_x < 290) {
speed = random(4) + 1;
}
}
Instance of Symbol 79 MovieClip "skyblue" in Frame 15
onClipEvent (load) {
_y = -400;
}
onClipEvent (enterFrame) {
if (_y < 0) {
_y = (_y + 1);
}
}
Instance of Symbol 84 MovieClip "flare" in Frame 15
onClipEvent (enterFrame) {
if (_rotation < 50) {
_rotation = (_rotation + 0.5);
}
if (_rotation > 0) {
_alpha = (_alpha - 2);
}
}
Frame 20
onEnterFrame = function () {
_root.endwheel.gotoAndStop("fighting");
_root.endwheel.fighter01.gotoAndStop("winner");
endwheel.fighter02._y = endwheel.fighter02._y + 10;
endwheel.fighter02._rotation = endwheel.fighter02._rotation + 10;
};
stop();
Frame 25
onEnterFrame = function () {
_root.endwheel.gotoAndStop("fighting");
_root.endwheel.fighter02.gotoAndStop("winner");
endwheel.fighter01._y = endwheel.fighter01._y + 10;
endwheel.fighter01._rotation = endwheel.fighter01._rotation - 10;
};
stop();
Symbol 9 MovieClip Frame 34
gotoAndPlay ("active");
Symbol 20 MovieClip Frame 1
stop();
Symbol 22 MovieClip Frame 1
stop();
Symbol 24 MovieClip Frame 1
stop();
Symbol 26 MovieClip Frame 1
stop();
Symbol 36 Button
on (release) {
gotoAndStop ("level1");
}
Symbol 42 Button
on (release) {
gotoAndStop ("level2");
}
Symbol 45 Button
on (release) {
gotoAndStop ("level3");
}
Symbol 76 MovieClip Frame 3
gotoAndPlay(fightermove);
Symbol 76 MovieClip Frame 5
gotoAndPlay ("walk");
Symbol 76 MovieClip Frame 7
fightermove = "";
Symbol 76 MovieClip Frame 9
gotoAndPlay ("walk");
Symbol 76 MovieClip Frame 11
fightermove = "";
Symbol 76 MovieClip Frame 13
gotoAndPlay ("walk");
Symbol 76 MovieClip Frame 15
fightermove = "";
Symbol 76 MovieClip Frame 17
gotoAndPlay ("walk");
Symbol 76 MovieClip Frame 19
fightermove = "";
Symbol 76 MovieClip Frame 21
gotoAndPlay ("walk");
Symbol 76 MovieClip Frame 23
fightermove = "";
Symbol 76 MovieClip Frame 25
gotoAndPlay ("walk");
Symbol 76 MovieClip Frame 27
fightermove = "";
Symbol 76 MovieClip Frame 29
gotoAndPlay ("walk");
Symbol 76 MovieClip Frame 31
fightermove = "";
Symbol 76 MovieClip Frame 33
gotoAndPlay ("walk");
Symbol 77 MovieClip Frame 25
stop();
Instance of Symbol 76 MovieClip "fighter02" in Symbol 77 MovieClip Frame 25
onClipEvent (keyDown) {
if (Key.getCode() == 79) {
decision = random(3);
if (decision == 0) {
fightermove = "stand";
if (_x > 45) {
_x = (_x - 5);
}
}
if (decision == 1) {
fightermove = "blockhigh";
if (_x < 85) {
_x = (_x + 5);
}
}
if (decision == 2) {
fightermove = "attackmid";
if (_x > 45) {
_x = (_x - 5);
}
}
}
if (Key.getCode() == 75) {
decision = random(3);
if (decision == 0) {
fightermove = "stand";
if (_x > 45) {
_x = (_x - 5);
}
}
if (decision == 1) {
fightermove = "blockmid";
if (_x < 85) {
_x = (_x + 5);
}
}
if (decision == 2) {
fightermove = "attackhigh";
if (_x > 45) {
_x = (_x - 5);
}
}
}
if (Key.getCode() == 77) {
decision = random(3);
if (decision == 0) {
fightermove = "attackhigh";
if (_x > 45) {
_x = (_x - 5);
}
}
if (decision == 1) {
fightermove = "blocklow";
if (_x < 85) {
_x = (_x + 5);
}
}
if (decision == 2) {
fightermove = "jump";
}
}
}
onClipEvent (enterFrame) {
attackdecision = random(20);
if (attackdecision == 0) {
fightermove = "stand";
if (_x < 85) {
_x = (_x + 5);
}
}
if (attackdecision == 1) {
fightermove = "attackhigh";
if (_x > 45) {
_x = (_x - 5);
}
}
if (attackdecision == 2) {
fightermove = "attackmid";
if (_x > 45) {
_x = (_x - 5);
}
}
if (attackdecision == 3) {
fightermove = "attacklow";
if (_x > 45) {
_x = (_x - 5);
}
}
}
Instance of Symbol 76 MovieClip "fighter01" in Symbol 77 MovieClip Frame 25
onClipEvent (keyDown) {
if (Key.getCode() == 79) {
fightermove = "attackhigh";
if (_x < -45) {
_x = (_x + 5);
}
}
if (Key.getCode() == 75) {
fightermove = "attackmid";
if (_x < -45) {
_x = (_x + 5);
}
}
if (Key.getCode() == 77) {
fightermove = "attacklow";
if (_x < -45) {
_x = (_x + 5);
}
}
if (Key.getCode() == 81) {
fightermove = "blockhigh";
if (_x > -85) {
_x = (_x - 5);
}
}
if (Key.getCode() == 65) {
fightermove = "blockmid";
if (_x > -85) {
_x = (_x - 5);
}
}
if (Key.getCode() == 90) {
fightermove = "blocklow";
if (_x > -85) {
_x = (_x - 5);
}
}
if (Key.getCode() == 32) {
fightermove = "jump";
}
}
onClipEvent (enterFrame) {
if (fighterstrike.hitTest(_parent.fighter02.fighterhit)) {
_root.fighter02health.play();
_root.ouch02.play();
if (_parent.fighter02._x < 85) {
_parent.fighter02._x = _parent.fighter02._x + 30;
}
}
if (fighterhit.hitTest(_parent.fighter02.fighterstrike)) {
_root.fighter01health.play();
_root.ouch01.play();
if (_x > -85) {
_x = (_x - 50);
}
}
if (fighterstrike.hitTest(_parent.fighter02.fightershing)) {
_root.sword.play();
}
if (fightershing.hitTest(_parent.fighter02.fighterstrike)) {
_root.sword.play();
}
}
Symbol 86 MovieClip Frame 1
_xscale = (random(50) + 50);
_yscale = (random(50) + 50);
_rotation = (random(36) * 10);
speed = random(10) + 10;
onEnterFrame = function () {
if (_root.wheel.fighter02.fighterstrike.hitTest(_root.wheel.fighter01.fighterhit)) {
_x = ((random(10) + _root.fighter01health._width) - 25);
_y = (random(50) + 10);
_alpha = 100;
}
if (_y < 410) {
_y = (_y + speed);
_rotation = (_rotation + 10);
_alpha = (_alpha - 20);
}
};
Symbol 87 MovieClip Frame 1
_xscale = (random(50) + 50);
_yscale = (random(50) + 50);
_rotation = (random(36) * 10);
speed = random(10) + 10;
onEnterFrame = function () {
if (_root.wheel.fighter01.fighterstrike.hitTest(_root.wheel.fighter02.fighterhit)) {
_x = (((random(10) + 600) - _root.fighter02health._width) + 25);
_y = (random(50) + 10);
_alpha = 100;
}
if (_y < 410) {
_y = (_y + speed);
_rotation = (_rotation + 10);
_alpha = (_alpha - 20);
}
};
Symbol 99 MovieClip Frame 1
stop();
Symbol 99 MovieClip Frame 3
stop();
Symbol 99 MovieClip Frame 5
stop();
Symbol 99 MovieClip Frame 7
stop();
Symbol 99 MovieClip Frame 9
stop();
Symbol 99 MovieClip Frame 11
stop();
Symbol 99 MovieClip Frame 13
stop();
Symbol 99 MovieClip Frame 15
stop();
Symbol 99 MovieClip Frame 17
stop();
Symbol 99 MovieClip Frame 19
stop();
Symbol 99 MovieClip Frame 21
stop();
Symbol 99 MovieClip Frame 23
stop();
Symbol 99 MovieClip Frame 25
stop();
Symbol 99 MovieClip Frame 27
stop();
Symbol 99 MovieClip Frame 29
stop();
Symbol 99 MovieClip Frame 31
stop();
Symbol 99 MovieClip Frame 33
stop();
Symbol 99 MovieClip Frame 35
stop();
Symbol 99 MovieClip Frame 37
stop();
Symbol 99 MovieClip Frame 39
stop();
Symbol 99 MovieClip Frame 41
_root.gotoAndStop("loser");
stop();
Symbol 112 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 3
stop();
Symbol 112 MovieClip Frame 5
stop();
Symbol 112 MovieClip Frame 7
stop();
Symbol 112 MovieClip Frame 9
stop();
Symbol 112 MovieClip Frame 11
stop();
Symbol 112 MovieClip Frame 13
stop();
Symbol 112 MovieClip Frame 15
stop();
Symbol 112 MovieClip Frame 17
stop();
Symbol 112 MovieClip Frame 19
stop();
Symbol 112 MovieClip Frame 21
stop();
Symbol 112 MovieClip Frame 23
stop();
Symbol 112 MovieClip Frame 25
stop();
Symbol 112 MovieClip Frame 27
stop();
Symbol 112 MovieClip Frame 29
stop();
Symbol 112 MovieClip Frame 31
stop();
Symbol 112 MovieClip Frame 33
stop();
Symbol 112 MovieClip Frame 35
stop();
Symbol 112 MovieClip Frame 37
stop();
Symbol 112 MovieClip Frame 39
stop();
Symbol 112 MovieClip Frame 41
_root.gotoAndStop("winner");
stop();
Symbol 125 MovieClip Frame 1
stop();
Symbol 125 MovieClip Frame 3
stop();
Symbol 125 MovieClip Frame 5
stop();
Symbol 125 MovieClip Frame 7
stop();
Symbol 125 MovieClip Frame 9
stop();
Symbol 125 MovieClip Frame 11
stop();
Symbol 125 MovieClip Frame 13
stop();
Symbol 125 MovieClip Frame 15
stop();
Symbol 125 MovieClip Frame 17
stop();
Symbol 125 MovieClip Frame 19
stop();
Symbol 125 MovieClip Frame 21
stop();
Symbol 125 MovieClip Frame 23
stop();
Symbol 125 MovieClip Frame 25
stop();
Symbol 125 MovieClip Frame 27
stop();
Symbol 125 MovieClip Frame 29
stop();
Symbol 125 MovieClip Frame 31
stop();
Symbol 125 MovieClip Frame 33
stop();
Symbol 125 MovieClip Frame 35
stop();
Symbol 125 MovieClip Frame 37
stop();
Symbol 125 MovieClip Frame 39
stop();
Symbol 125 MovieClip Frame 41
stop();
Symbol 125 MovieClip Frame 43
stop();
Symbol 125 MovieClip Frame 45
stop();
Symbol 125 MovieClip Frame 47
stop();
Symbol 125 MovieClip Frame 49
stop();
Symbol 125 MovieClip Frame 51
stop();
Symbol 125 MovieClip Frame 53
stop();
Symbol 125 MovieClip Frame 55
stop();
Symbol 125 MovieClip Frame 57
stop();
Symbol 125 MovieClip Frame 59
stop();
Symbol 125 MovieClip Frame 61
stop();
Symbol 125 MovieClip Frame 63
stop();
Symbol 125 MovieClip Frame 65
stop();
Symbol 125 MovieClip Frame 67
stop();
Symbol 125 MovieClip Frame 69
stop();
Symbol 125 MovieClip Frame 71
stop();
Symbol 125 MovieClip Frame 73
stop();
Symbol 125 MovieClip Frame 75
stop();
Symbol 125 MovieClip Frame 77
stop();
Symbol 125 MovieClip Frame 79
stop();
Symbol 125 MovieClip Frame 81
_root.gotoAndStop("winner");
stop();