Frame 1
nowb = this.getBytesLoaded();
totb = this.getBytesTotal();
txtld = int((nowb / totb) * 100) + "%";
ldbar._xscale = (nowb / totb) * 100;
sizeb = ("Total: " + int(this.getBytesTotal() / 1024)) + "KB";
Frame 3
if (nowb < totb) {
this.gotoAndPlay(1);
}
Frame 4
stopAllSounds();
stop();
fscommand ("showmenu", false);
Instance of Symbol 15 MovieClip in Frame 4
onClipEvent (load) {
fade = false;
cnt = 100;
}
onClipEvent (enterFrame) {
if ((fade == true) and (0 < cnt)) {
this._alpha = cnt;
cnt--;
}
if (cnt == 0) {
_root.play();
}
}
Frame 5
gotoAndPlay (6);
Frame 6
function reset(mode, diff) {
if (mode == 1) {
_root.ai = true;
_root.aion0 = true;
if (diff == 0) {
_root.freq = 750;
_root.traceMode = "FOOL";
_root.waittime = 2;
} else if (diff == 1) {
_root.freq = 750;
_root.traceMode = "NORMAL";
_root.waittime = 2;
} else if (diff == 2) {
_root.freq = 500;
_root.traceMode = "NORMAL";
_root.waittime = 1;
}
} else if (mode == 2) {
_root.ai = false;
_root.aion0 = false;
}
}
kill = false;
gSTATUS = "none";
AItype = 1;
winnum = 25;
ai = true;
aion0 = true;
freq = 500;
traceMode = "NORMAL";
waittime = 1;
timelimit = 99;
timedepth = 200;
scorep1 = 0;
scorep2 = 0;
selp1 = 0;
selp2 = 1;
keylockp1 = false;
keylockp2 = false;
txthit = 0;
totballp1 = 0;
totballp2 = 0;
f1dis = 5;
f2dis = 5;
ballspd = 30;
winUPdepth = 15;
r2count = 31;
f1count = 41;
r2plyrdepth = 10;
f1plyrdepth = 60;
r2balldepth = 30;
f1balldepth = 40;
winDOWNdepth = 115;
r1count = 131;
f2count = 141;
r1plyrdepth = 110;
f2plyrdepth = 160;
r1balldepth = 130;
f2balldepth = 140;
lightcnt1 = f1plyrdepth - 2;
rlightcnt1 = r1plyrdepth + 2;
lightcnt2 = f2plyrdepth - 2;
rlightcnt2 = r2plyrdepth + 2;
Frame 7
kill = false;
gSTATUS = "none";
scorep1 = 0;
scorep2 = 0;
_root.txthit1 = "HIT: " + _root.scorep1;
_root.txthit2 = "HIT: " + _root.scorep2;
Frame 9
stop();
Frame 10
gotoAndPlay (7);
Instance of Symbol 46 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (_root.timelimit == 99) {
this.gotoAndPlay("yes");
} else {
this.gotoAndPlay("no");
}
}
Instance of Symbol 51 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (_root.timelimit == 60) {
this.gotoAndPlay("yes");
} else {
this.gotoAndPlay("no");
}
}
Instance of Symbol 53 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (_root.timelimit == 180) {
this.gotoAndPlay("yes");
} else {
this.gotoAndPlay("no");
}
}
Instance of Symbol 56 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (_root.AItype == 1) {
this.gotoAndPlay("yes");
} else {
this.gotoAndPlay("no");
}
}
Instance of Symbol 58 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (_root.AItype == 0) {
this.gotoAndPlay("yes");
} else {
this.gotoAndPlay("no");
}
}
Instance of Symbol 60 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (_root.AItype == 2) {
this.gotoAndPlay("yes");
} else {
this.gotoAndPlay("no");
}
}
Instance of Symbol 62 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (_root.winnum == 25) {
this.gotoAndPlay("yes");
} else {
this.gotoAndPlay("no");
}
}
Instance of Symbol 64 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (_root.winnum == 15) {
this.gotoAndPlay("yes");
} else {
this.gotoAndPlay("no");
}
}
Instance of Symbol 66 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (_root.winnum == 50) {
this.gotoAndPlay("yes");
} else {
this.gotoAndPlay("no");
}
}
Instance of Symbol 82 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (_quality == "HIGH") {
this.gotoAndPlay("yes");
} else {
this.gotoAndPlay("no");
}
}
Instance of Symbol 84 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (_quality == "MEDIUM") {
this.gotoAndPlay("yes");
} else {
this.gotoAndPlay("no");
}
}
Instance of Symbol 86 MovieClip in Frame 11
onClipEvent (enterFrame) {
if (_quality == "LOW") {
this.gotoAndPlay("yes");
} else {
this.gotoAndPlay("no");
}
}
Frame 14
stop();
Frame 15
gotoAndPlay (7);
Frame 16
stopAllSounds();
Instance of Symbol 94 MovieClip in Frame 16
onClipEvent (load) {
this.swapDepths(_root.winUPdepth);
}
onClipEvent (enterFrame) {
if (_root.kill == true) {
removeMovieClip(this);
}
}
Instance of Symbol 95 MovieClip in Frame 16
onClipEvent (load) {
this.swapDepths(_root.winDOWNdepth);
}
onClipEvent (enterFrame) {
if (_root.kill == true) {
removeMovieClip(this);
}
}
Instance of Symbol 159 MovieClip in Frame 16
onClipEvent (load) {
this.swapDepths(1000);
}
Instance of Symbol 161 MovieClip "chwin" in Frame 16
onClipEvent (enterFrame) {
if ((_root.scorep1 >= _root.winnum) and (_root.scorep2 >= _root.winnum)) {
_root.gSTATUS = "DRAW";
_root.gotoAndPlay("result");
} else if (_root.scorep1 >= _root.winnum) {
_root.gSTATUS = "1Pwin";
_root.gotoAndPlay("result");
} else if (_root.scorep2 >= _root.winnum) {
_root.gSTATUS = "2Pwin";
_root.gotoAndPlay("result");
}
}
Instance of Symbol 169 MovieClip "f1plyr" in Frame 16
onClipEvent (load) {
this.swapDepths(_root.f1plyrdepth);
id = 1;
this.gotoAndPlay("char" + _root.selp1);
}
onClipEvent (enterFrame) {
if (_root.kill == true) {
removeMovieClip(this);
}
}
Instance of Symbol 176 MovieClip "r1plyr" in Frame 16
onClipEvent (load) {
this.swapDepths(_root.r1plyrdepth);
this.gotoAndPlay("char" + _root.selp1);
}
onClipEvent (enterFrame) {
this._x = 32.5 + (((400 - _root.f1plyr._x) - 34) * 0.868852459016393);
}
onClipEvent (enterFrame) {
if (_root.kill == true) {
removeMovieClip(this);
}
}
Instance of Symbol 183 MovieClip "f2plyr" in Frame 16
onClipEvent (load) {
this.swapDepths(_root.f2plyrdepth);
id = 2;
this.gotoAndPlay("char" + _root.selp2);
}
onClipEvent (enterFrame) {
if (_root.kill == true) {
removeMovieClip(this);
}
}
Instance of Symbol 190 MovieClip "r2plyr" in Frame 16
onClipEvent (load) {
this.swapDepths(_root.r2plyrdepth);
this.gotoAndPlay("char" + _root.selp2);
}
onClipEvent (enterFrame) {
this._x = 32.5 + (((400 - _root.f2plyr._x) - 34) * 0.868852459016393);
}
onClipEvent (enterFrame) {
if (_root.kill == true) {
removeMovieClip(this);
}
}
onClipEvent (enterFrame) {
if (_root.kill == true) {
removeMovieClip(this);
}
}
Instance of Symbol 201 MovieClip "ai0" in Frame 16
onClipEvent (load) {
nextpos = random(367);
dontmove = "NO";
waittime = random(3);
firerd = false;
}
onClipEvent (enterFrame) {
if (_root.aion0 == true) {
if (dontmove == "NO") {
if (_root.f2plyr._x < nextpos) {
_root.ctrl.mvrP2 = true;
_root.ctrl.mvlP2 = false;
} else if (nextpos < _root.f2plyr._x) {
_root.ctrl.mvlP2 = true;
_root.ctrl.mvrP2 = false;
}
if (Math.abs(nextpos - _root.f2plyr._x) < 10) {
if (_root.traceMode == "FOOL") {
nextpos = random(367);
} else if (_root.traceMode == "SMART") {
nextpos = 366 - _root.f1plyr._x;
} else if (_root.traceMode == "NORMAL") {
if (random(2)) {
nextpos = 366 - _root.f1plyr._x;
} else {
nextpos = random(367);
}
}
_root.ctrl.mvrP2 = false;
_root.ctrl.mvlP2 = false;
dontmove = "wait";
}
} else if (dontmove == "wait") {
dontmove = "YES";
waittime = random(_root.waittime);
tmr.gotoAndPlay("start");
}
if (_root.keylockp2 == false) {
if ((random(_root.freq) < 10) || (Math.abs(_root.f1plyr._x - Math.abs(366 - _root.f2plyr._x)) < 10)) {
if (firerd == false) {
this.atmr.gotoAndPlay("start");
}
}
}
}
}
Frame 17
stop();
Instance of Symbol 202 MovieClip "ctrl" in Frame 18
onClipEvent (load) {
max = 4;
hotp1 = 0;
hotp2 = 0;
waitp1 = false;
waitp2 = false;
attP1 = false;
mvlP1 = false;
mvrP1 = false;
attP2 = false;
mvlP2 = false;
mvrP2 = false;
}
onClipEvent (keyDown) {
if (_root.keylockp1 == false) {
if (((Key.getCode() == 88) and (attP1 == false)) and (_root.totballp1 < 2)) {
attP1 = true;
duplicateMovieClip (_root.f1ball0, "f1ball" + _root.f1count, _root.f1count);
duplicateMovieClip (_root.r1ball0, "r1ball" + _root.r1count, _root.r1count);
waitp1 = true;
}
if ((Key.getCode() == 90) and (mvlP1 == false)) {
mvlP1 = true;
}
if ((Key.getCode() == 67) and (mvrP1 == false)) {
mvrP1 = true;
}
}
if ((_root.keylockp2 == false) and (_root.ai == false)) {
if (((Key.getCode() == 40) and (attP2 == false)) and (_root.totballp2 < 2)) {
attP2 = true;
duplicateMovieClip (_root.f2ball0, "f2ball" + _root.f2count, _root.f2count);
duplicateMovieClip (_root.r2ball0, "r2ball" + _root.r2count, _root.r2count);
waitp2 = true;
}
if ((Key.getCode() == 37) and (mvlP2 == false)) {
mvlP2 = true;
}
if ((Key.getCode() == 39) and (mvrP2 == false)) {
mvrP2 = true;
}
}
}
onClipEvent (keyUp) {
if ((Key.getCode() == 90) and (mvlP1 == true)) {
mvlP1 = false;
}
if ((Key.getCode() == 67) and (mvrP1 == true)) {
mvrP1 = false;
}
if (_root.keylockp1 == false) {
if ((Key.getCode() == 88) and (waitp1 == true)) {
duplicateMovieClip ("_root.light0", "light" + _root.lightcnt1, _root.lightcnt1);
eval ("_root.light" + _root.lightcnt1)._x = _root.f1plyr._x + 25;
eval ("_root.light" + _root.lightcnt1)._y = _root.f1plyr._y + 15;
_root.lightcnt1 = (((_root.lightcnt1 + 1) % 2) + _root.f1plyrdepth) - 2;
duplicateMovieClip ("_root.light0", "light" + _root.rlightcnt1, _root.rlightcnt1);
eval ("_root.light" + _root.rlightcnt1)._xscale = 50;
eval ("_root.light" + _root.rlightcnt1)._yscale = 50;
eval ("_root.light" + _root.rlightcnt1)._x = _root.r1plyr._x + 7;
eval ("_root.light" + _root.rlightcnt1)._y = _root.r1plyr._y + 5;
_root.rlightcnt1 = (((_root.rlightcnt1 + 1) % 2) + _root.r1plyrdepth) + 2;
attP1 = false;
tmpbmp = 0;
tmpdis = random(10) - 5;
tmpx = _root.f1plyr._x + 17;
tmpang = (((tmpx - 200) / 166) * 32.5) / 27;
eval ("_root.f1ball" + _root.f1count)._x = tmpx;
eval (("_root.f1ball" + _root.f1count) + ".ball").fire = true;
eval (("_root.f1ball" + _root.f1count) + ".ball").bmp = tmpbmp;
eval (("_root.f1ball" + _root.f1count) + ".ball").dis = -tmpdis;
eval (("_root.f1ball" + _root.f1count) + ".ball").ang = -tmpang;
eval (("_root.f1ball" + _root.f1count) + ".ball").id = _root.f1count - _root.f1balldepth;
eval ("_root.r1ball" + _root.r1count)._x = 32.5 + ((400 - tmpx) * 0.8375);
eval (("_root.r1ball" + _root.r1count) + ".ball").fire = true;
eval (("_root.r1ball" + _root.r1count) + ".ball").bmp = tmpbmp;
eval (("_root.r1ball" + _root.r1count) + ".ball").dis = -tmpdis;
eval (("_root.r1ball" + _root.r1count) + ".ball").ang = -tmpang;
eval (("_root.r1ball" + _root.r1count) + ".ball").id = _root.r1count - _root.r1balldepth;
_root.f1count = ((_root.f1count + 1) % 2) + _root.f1balldepth;
_root.r1count = ((_root.r1count + 1) % 2) + _root.r1balldepth;
_root.totballp1++;
waitp1 = false;
}
}
if ((Key.getCode() == 37) and (mvlP2 == true)) {
mvlP2 = false;
}
if ((Key.getCode() == 39) and (mvrP2 == true)) {
mvrP2 = false;
}
if ((_root.keylockp2 == false) and (_root.ai == false)) {
if ((Key.getCode() == 40) and (waitp2 == true)) {
duplicateMovieClip ("_root.light0", "light" + _root.lightcnt2, _root.lightcnt2);
eval ("_root.light" + _root.lightcnt2)._x = _root.f2plyr._x + 25;
eval ("_root.light" + _root.lightcnt2)._y = _root.f2plyr._y + 15;
_root.lightcnt2 = (((_root.lightcnt2 + 1) % 2) + _root.f2plyrdepth) - 2;
duplicateMovieClip ("_root.light0", "light" + _root.rlightcnt2, _root.rlightcnt2);
eval ("_root.light" + _root.rlightcnt2)._xscale = 50;
eval ("_root.light" + _root.rlightcnt2)._yscale = 50;
eval ("_root.light" + _root.rlightcnt2)._x = _root.r2plyr._x + 7;
eval ("_root.light" + _root.rlightcnt2)._y = _root.r2plyr._y + 5;
_root.rlightcnt2 = (((_root.rlightcnt2 + 1) % 2) + _root.r2plyrdepth) + 2;
attP2 = false;
tmpbmp2 = 0;
tmpdis2 = random(10) - 5;
tmpx2 = _root.f2plyr._x + 17;
tmpang2 = (((tmpx2 - 200) / 166) * 32.5) / 27;
eval ("_root.f2ball" + _root.f2count)._x = tmpx2;
eval (("_root.f2ball" + _root.f2count) + ".ball").fire = true;
eval (("_root.f2ball" + _root.f2count) + ".ball").bmp = tmpbmp2;
eval (("_root.f2ball" + _root.f2count) + ".ball").dis = -tmpdis2;
eval (("_root.f2ball" + _root.f2count) + ".ball").ang = -tmpang2;
eval (("_root.f2ball" + _root.f2count) + ".ball").id = _root.f2count - _root.f2balldepth;
eval ("_root.r2ball" + _root.r2count)._x = 32.5 + ((400 - tmpx2) * 0.8375);
eval (("_root.r2ball" + _root.r2count) + ".ball").fire = true;
eval (("_root.r2ball" + _root.r2count) + ".ball").bmp = tmpbmp2;
eval (("_root.r2ball" + _root.r2count) + ".ball").dis = -tmpdis2;
eval (("_root.r2ball" + _root.r2count) + ".ball").ang = -tmpang2;
eval (("_root.r2ball" + _root.r2count) + ".ball").id = _root.r2count - _root.r2balldepth;
_root.f2count = ((_root.f2count + 1) % 2) + _root.f2balldepth;
_root.r2count = ((_root.r2count + 1) % 2) + _root.r2balldepth;
_root.totballp2++;
waitp2 = false;
}
}
if (Key.getCode() == 88) {
hotp1++;
if (max < hotp1) {
_root.sfx1.play();
hotp1 = 0;
}
}
if (Key.getCode() == 40) {
hotp2++;
if (max < hotp2) {
_root.sfx2.play();
hotp2 = 0;
}
}
}
onClipEvent (enterFrame) {
if (_root.keylockp1 == false) {
if ((mvlp1 == true) and (0 < _root.f1plyr._x)) {
_root.f1plyr._x = _root.f1plyr._x - _root.f1dis;
}
if ((mvrp1 == true) and (_root.f1plyr._x < 366)) {
_root.f1plyr._x = _root.f1plyr._x + _root.f1dis;
}
if (366 < _root.f1plyr._x) {
_root.f1plyr._x = 366;
}
if (_root.f1plyr._x < 0) {
_root.f1plyr._x = 0;
}
}
if (_root.keylockp2 == false) {
if ((mvlp2 == true) and (0 < _root.f2plyr._x)) {
_root.f2plyr._x = _root.f2plyr._x - _root.f2dis;
}
if ((mvrp2 == true) and (_root.f2plyr._x < 366)) {
_root.f2plyr._x = _root.f2plyr._x + _root.f2dis;
}
if (366 < _root.f2plyr._x) {
_root.f2plyr._x = 366;
}
if (_root.f2plyr._x < 0) {
_root.f2plyr._x = 0;
}
}
}
Instance of Symbol 212 MovieClip "timer" in Frame 18
onClipEvent (load) {
this.swapDepths(_root.timedepth);
nowtime = _root.timelimit;
txttime = nowtime;
this.gotoAndPlay("start");
}
onClipEvent (enterFrame) {
if (_root.kill == true) {
removeMovieClip(this);
}
}
Frame 19
stop();
Frame 20
gotoAndPlay (24);
Frame 21
removeMovieClip(_root.timer);
Instance of Symbol 233 MovieClip in Frame 21
onClipEvent (load) {
this.swapDepths(900);
}
onClipEvent (enterFrame) {
if (_root.gSTATUS == "none") {
this.gotoAndPlay(1);
} else if (_root.gSTATUS == "1Pwin") {
this.gotoAndPlay(6);
} else if (_root.gSTATUS == "2Pwin") {
this.gotoAndPlay(11);
} else if (_root.gSTATUS == "DRAW") {
this.gotoAndPlay(16);
}
}
onClipEvent (enterFrame) {
if (_root.kill == true) {
removeMovieClip(this);
}
}
Instance of Symbol 234 MovieClip "chwin" in Frame 21
onClipEvent (enterFrame) {
if (_root.scorep1 == _root.scorep2) {
_root.gSTATUS = "DRAW";
} else if (_root.scorep1 >= _root.scorep2) {
_root.gSTATUS = "1Pwin";
} else if (_root.scorep2 >= _root.scorep1) {
_root.gSTATUS = "2Pwin";
}
}
Frame 23
stop();
Instance of Symbol 239 MovieClip in Frame 23
onClipEvent (load) {
this.swapDepths(1200);
this._x = random(400);
spd = random(10) + 1;
rcolor = random(5) + 1;
this.g.gotoAndStop(rcolor);
}
onClipEvent (enterFrame) {
if (360 < this._y) {
this._y = -20;
rcolor = random(5) + 1;
this.g.gotoAndStop(rcolor);
spd = random(10) + 1;
this._x = random(400);
} else {
this._y = this._y + spd;
}
}
onClipEvent (enterFrame) {
if (_root.kill == true) {
removeMovieClip(this);
}
}
Instance of Symbol 240 MovieClip in Frame 23
onClipEvent (load) {
this.swapDepths(1201);
this._x = random(400);
spd = random(10) + 1;
rcolor = random(5) + 1;
this.g.gotoAndStop(rcolor);
}
onClipEvent (enterFrame) {
if (360 < this._y) {
this._y = -20;
rcolor = random(5) + 1;
this.g.gotoAndStop(rcolor);
spd = random(10) + 1;
this._x = random(400);
} else {
this._y = this._y + spd;
}
}
onClipEvent (enterFrame) {
if (_root.kill == true) {
removeMovieClip(this);
}
}
Instance of Symbol 241 MovieClip in Frame 23
onClipEvent (load) {
this.swapDepths(1202);
this._x = random(400);
spd = random(10) + 1;
rcolor = random(5) + 1;
this.g.gotoAndStop(rcolor);
}
onClipEvent (enterFrame) {
if (360 < this._y) {
this._y = -20;
rcolor = random(5) + 1;
this.g.gotoAndStop(rcolor);
spd = random(10) + 1;
this._x = random(400);
} else {
this._y = this._y + spd;
}
}
onClipEvent (enterFrame) {
if (_root.kill == true) {
removeMovieClip(this);
}
}
Instance of Symbol 242 MovieClip in Frame 23
onClipEvent (load) {
this.swapDepths(1203);
this._x = random(400);
spd = random(10) + 1;
rcolor = random(5) + 1;
this.g.gotoAndStop(rcolor);
}
onClipEvent (enterFrame) {
if (360 < this._y) {
this._y = -20;
rcolor = random(5) + 1;
this.g.gotoAndStop(rcolor);
spd = random(10) + 1;
this._x = random(400);
} else {
this._y = this._y + spd;
}
}
onClipEvent (enterFrame) {
if (_root.kill == true) {
removeMovieClip(this);
}
}
Instance of Symbol 243 MovieClip in Frame 23
onClipEvent (load) {
this.swapDepths(1204);
this._x = random(400);
spd = random(10) + 1;
rcolor = random(5) + 1;
this.g.gotoAndStop(rcolor);
}
onClipEvent (enterFrame) {
if (360 < this._y) {
this._y = -20;
rcolor = random(5) + 1;
this.g.gotoAndStop(rcolor);
spd = random(10) + 1;
this._x = random(400);
} else {
this._y = this._y + spd;
}
}
onClipEvent (enterFrame) {
if (_root.kill == true) {
removeMovieClip(this);
}
}
Instance of Symbol 244 MovieClip in Frame 23
onClipEvent (load) {
this.swapDepths(1205);
this._x = random(400);
spd = random(10) + 1;
rcolor = random(5) + 1;
this.g.gotoAndStop(rcolor);
}
onClipEvent (enterFrame) {
if (360 < this._y) {
this._y = -20;
rcolor = random(5) + 1;
this.g.gotoAndStop(rcolor);
spd = random(10) + 1;
this._x = random(400);
} else {
this._y = this._y + spd;
}
}
onClipEvent (enterFrame) {
if (_root.kill == true) {
removeMovieClip(this);
}
}
Frame 24
kill = true;
Frame 25
stopAllSounds();
gotoAndPlay (7);
Frame 26
stopAllSounds();
Frame 45
kz.play();
kl.play();
Frame 85
kz.play();
kl.play();
Frame 86
kc.play();
kr.play();
Frame 125
kc.play();
kr.play();
Frame 126
kx.play();
kd.play();
Frame 165
kx.play();
kd.play();
gotoAndPlay (26);
Symbol 15 MovieClip Frame 83
i = 5;
_parent._y = _parent._y + i;
Symbol 15 MovieClip Frame 84
_parent._y = _parent._y - i;
i--;
Symbol 15 MovieClip Frame 85
_parent._y = _parent._y + i;
Symbol 15 MovieClip Frame 86
_parent._y = _parent._y - i;
i--;
Symbol 15 MovieClip Frame 87
_parent._y = _parent._y + i;
Symbol 15 MovieClip Frame 88
_parent._y = _parent._y - i;
i--;
Symbol 15 MovieClip Frame 89
_parent._y = _parent._y + i;
Symbol 15 MovieClip Frame 90
_parent._y = _parent._y - i;
i--;
Symbol 15 MovieClip Frame 91
_parent._y = _parent._y + i;
Symbol 15 MovieClip Frame 92
_parent._y = _parent._y - i;
i--;
Symbol 15 MovieClip Frame 93
_parent._y = _parent._y + i;
Symbol 15 MovieClip Frame 94
_parent._y = _parent._y - i;
i--;
Symbol 15 MovieClip Frame 95
stop();
fade = true;
Symbol 21 MovieClip Frame 10
stop();
Symbol 22 Button
on (release, keyPress "1") {
_root.reset(1, _root.AItype);
_root.gotoAndPlay("game");
}
Symbol 23 Button
on (release, keyPress "2") {
_root.reset(2, _root.AItype);
_root.gotoAndPlay("game");
}
Symbol 24 Button
on (release, keyPress "3") {
_root.gotoAndPlay("opt");
}
Symbol 25 Button
on (release, keyPress "4") {
gotoAndPlay (26);
}
Symbol 39 Button
on (release) {
getURL ("http://home.kimo.com.tw/cerberusstudio/", "_blank");
}
Symbol 46 MovieClip Frame 5
stop();
Symbol 46 MovieClip Frame 10
stop();
Symbol 50 Button
on (release) {
_root.timelimit = 99;
}
Symbol 51 MovieClip Frame 5
stop();
Symbol 51 MovieClip Frame 10
stop();
Symbol 52 Button
on (release) {
_root.timelimit = 60;
}
Symbol 53 MovieClip Frame 5
stop();
Symbol 53 MovieClip Frame 10
stop();
Symbol 54 Button
on (release) {
_root.timelimit = 180;
}
Symbol 55 Button
on (release, keyPress "<Backspace>") {
_root.gotoAndPlay(3);
gotoAndPlay (8);
}
Symbol 56 MovieClip Frame 5
stop();
Symbol 56 MovieClip Frame 10
stop();
Symbol 57 Button
on (release) {
_root.AItype = 1;
}
Symbol 58 MovieClip Frame 5
stop();
Symbol 58 MovieClip Frame 10
stop();
Symbol 59 Button
on (release) {
_root.AItype = 0;
}
Symbol 60 MovieClip Frame 5
stop();
Symbol 60 MovieClip Frame 10
stop();
Symbol 61 Button
on (release) {
_root.AItype = 2;
}
Symbol 62 MovieClip Frame 5
stop();
Symbol 62 MovieClip Frame 10
stop();
Symbol 63 Button
on (release) {
_root.winnum = 25;
}
Symbol 64 MovieClip Frame 5
stop();
Symbol 64 MovieClip Frame 10
stop();
Symbol 65 Button
on (release) {
_root.winnum = 15;
}
Symbol 66 MovieClip Frame 5
stop();
Symbol 66 MovieClip Frame 10
stop();
Symbol 67 Button
on (release) {
_root.winnum = 50;
}
Symbol 82 MovieClip Frame 5
stop();
Symbol 82 MovieClip Frame 10
stop();
Symbol 83 Button
on (release) {
_quality = "HIGH";
}
Symbol 84 MovieClip Frame 5
stop();
Symbol 84 MovieClip Frame 10
stop();
Symbol 85 Button
on (release) {
_quality = "MEDIUM";
}
Symbol 86 MovieClip Frame 5
stop();
Symbol 86 MovieClip Frame 10
stop();
Symbol 87 Button
on (release) {
_quality = "LOW";
}
Symbol 100 MovieClip Frame 4
stop();
Symbol 100 MovieClip Frame 5
rndsfx = random(3);
if (rndsfx == 0) {
gotoAndPlay (6);
} else if (rndsfx == 1) {
gotoAndPlay (20);
} else if (rndsfx == 2) {
gotoAndPlay (34);
}
Symbol 100 MovieClip Frame 19
gotoAndPlay (1);
Symbol 100 MovieClip Frame 33
gotoAndPlay (1);
Symbol 100 MovieClip Frame 47
gotoAndPlay (1);
Symbol 106 MovieClip Frame 4
stop();
Symbol 106 MovieClip Frame 5
rndsfx = random(4);
if (rndsfx == 0) {
gotoAndPlay (6);
} else if (rndsfx == 1) {
gotoAndPlay (20);
} else if (rndsfx == 2) {
gotoAndPlay (34);
} else if (rndsfx == 3) {
gotoAndPlay (48);
}
Symbol 106 MovieClip Frame 19
gotoAndPlay (1);
Symbol 106 MovieClip Frame 33
gotoAndPlay (1);
Symbol 106 MovieClip Frame 47
gotoAndPlay (1);
Symbol 106 MovieClip Frame 61
gotoAndPlay (1);
Symbol 111 MovieClip Frame 4
stop();
Symbol 111 MovieClip Frame 5
rndsfx = random(3);
if (rndsfx == 0) {
gotoAndPlay (6);
} else if (rndsfx == 1) {
gotoAndPlay (20);
} else if (rndsfx == 2) {
gotoAndPlay (34);
}
Symbol 111 MovieClip Frame 19
gotoAndPlay (1);
Symbol 111 MovieClip Frame 33
gotoAndPlay (1);
Symbol 111 MovieClip Frame 47
gotoAndPlay (1);
Symbol 113 MovieClip Frame 1
stop();
Symbol 120 MovieClip Frame 1
this.stop();
Instance of Symbol 115 MovieClip "hit2" in Symbol 120 MovieClip Frame 1
onClipEvent (load) {
hiton = false;
name0 = "_root.r2ball" + (_root.r2balldepth + 0);
tar0 = ("_root.r2ball" + (_root.r2balldepth + 0)) + ".ball.bullet.bt";
name1 = "_root.r2ball" + (_root.r2balldepth + 1);
tar1 = ("_root.r2ball" + (_root.r2balldepth + 1)) + ".ball.bullet.bt";
mirname0 = ("_root.r1ball" + (_root.r1balldepth + 0)) + ".ball";
mirname1 = ("_root.r1ball" + (_root.r1balldepth + 1)) + ".ball";
}
onClipEvent (enterFrame) {
var i = 0;
while (i < 2) {
if (_parent.bt.hitTest(eval ("tar" + i)) || (hiton == true)) {
hiton = false;
eval (("_root.f2ball" + (_root.f2balldepth + i)) + ".ball.bullet.hit2").hiton = true;
if (_parent._parent._parent._x < eval (eval ("name" + i))._x) {
_parent._parent.dis = random(10) - 10;
} else if (eval (eval ("name" + i))._x < _parent._parent._parent._x) {
_parent._parent.dis = random(10) + 1;
}
_parent._parent.bmp = 1;
eval (eval ("mirname" + _parent._parent.id)).dis = _parent._parent.dis;
eval (eval ("mirname" + _parent._parent.id)).bmp = 1;
}
i++;
}
}
Symbol 120 MovieClip Frame 21
if (hit.hitTest(_root.r2plyr.hit)) {
_root.scorep1++;
_root.txthit1 = "HIT: " + _root.scorep1;
_root.f2plyr.char.gotoAndPlay("hitted");
_root.r2plyr.char.gotoAndPlay("hitted");
}
Symbol 120 MovieClip Frame 31
this.stop();
_root.totballp1--;
_root.ctrl.hotp1 = 0;
removeMovieClip(_parent._parent);
Instance of Symbol 121 MovieClip "ball" in Symbol 122 MovieClip Frame 1
onClipEvent (load) {
id = -1;
ang = 0;
bmp = 0;
dis = 0;
fire = false;
speedArg = _root.ballspd;
operation = false;
cnt = 0;
}
onClipEvent (enterFrame) {
if (fire == true) {
operation = true;
bullet.bt.gotoAndStop(1);
cnt = 0;
bullet.gotoAndPlay(2);
fire = false;
}
if (operation == true) {
if (speedArg >= cnt) {
cnt++;
bullet.bt.gotoAndStop(cnt + 1);
if (bmp == 1) {
_parent._x = _parent._x + dis;
}
_parent._x = _parent._x + ang;
} else {
operation = false;
}
}
}
Symbol 123 MovieClip Frame 1
stop();
Symbol 124 MovieClip Frame 1
this.stop();
Symbol 124 MovieClip Frame 31
this.stop();
removeMovieClip(_parent._parent);
Instance of Symbol 125 MovieClip "ball" in Symbol 126 MovieClip Frame 1
onClipEvent (load) {
ang = 0;
bmp = 0;
dis = 0;
fire = false;
speedArg = _root.ballspd;
operation = false;
cnt = 0;
}
onClipEvent (enterFrame) {
if (fire == true) {
operation = true;
bullet.bt.gotoAndStop(1);
cnt = 0;
bullet.gotoAndPlay(2);
fire = false;
}
if (operation == true) {
if (speedArg >= cnt) {
cnt++;
bullet.bt.gotoAndStop(cnt + 1);
if (bmp == 1) {
_parent._x = _parent._x - dis;
}
_parent._x = _parent._x + ang;
} else {
operation = false;
}
}
}
Symbol 128 MovieClip Frame 1
stop();
Symbol 130 MovieClip Frame 1
this.stop();
Instance of Symbol 129 MovieClip "hit2" in Symbol 130 MovieClip Frame 1
onClipEvent (load) {
hiton = false;
name0 = "_root.r1ball" + (_root.r1balldepth + 0);
tar0 = ("_root.r1ball" + (_root.r1balldepth + 0)) + ".ball.bullet.bt";
name1 = "_root.r1ball" + (_root.r1balldepth + 1);
tar1 = ("_root.r1ball" + (_root.r1balldepth + 1)) + ".ball.bullet.bt";
mirname0 = ("_root.r2ball" + (_root.r2balldepth + 0)) + ".ball";
mirname1 = ("_root.r2ball" + (_root.r2balldepth + 1)) + ".ball";
}
onClipEvent (enterFrame) {
var i = 0;
while (i < 2) {
if (_parent.bt.hitTest(eval ("tar" + i)) || (hiton == true)) {
hiton = false;
eval (("_root.f1ball" + (_root.f1balldepth + i)) + ".ball.bullet.hit2").hiton = true;
if (_parent._parent._parent._x < eval (eval ("name" + i))._x) {
_parent._parent.dis = random(10) - 10;
} else if (eval (eval ("name" + i))._x < _parent._parent._parent._x) {
_parent._parent.dis = random(10) + 1;
}
_parent._parent.bmp = 1;
eval (eval ("mirname" + _parent._parent.id)).dis = _parent._parent.dis;
eval (eval ("mirname" + _parent._parent.id)).bmp = 1;
}
i++;
}
}
Symbol 130 MovieClip Frame 21
if (hit.hitTest(_root.r1plyr.hit)) {
_root.scorep2++;
_root.txthit2 = "HIT: " + _root.scorep2;
_root.f1plyr.char.gotoAndPlay("hitted");
_root.r1plyr.char.gotoAndPlay("hitted");
}
Symbol 130 MovieClip Frame 31
this.stop();
_root.totballp2--;
_root.ctrl.hotp2 = 0;
removeMovieClip(_parent._parent);
Instance of Symbol 131 MovieClip "ball" in Symbol 132 MovieClip Frame 1
onClipEvent (load) {
id = -1;
ang = 0;
bmp = 0;
dis = 0;
fire = false;
speedArg = _root.ballspd;
operation = false;
cnt = 0;
}
onClipEvent (enterFrame) {
if (fire == true) {
operation = true;
bullet.bt.gotoAndStop(1);
cnt = 0;
bullet.gotoAndPlay(2);
fire = false;
}
if (operation == true) {
if (speedArg >= cnt) {
cnt++;
bullet.bt.gotoAndStop(cnt + 1);
if (bmp == 1) {
_parent._x = _parent._x + dis;
}
_parent._x = _parent._x + ang;
} else {
operation = false;
}
}
}
Symbol 133 MovieClip Frame 1
stop();
Symbol 134 MovieClip Frame 1
this.stop();
Symbol 134 MovieClip Frame 31
this.stop();
removeMovieClip(_parent._parent);
Instance of Symbol 135 MovieClip "ball" in Symbol 136 MovieClip Frame 1
onClipEvent (load) {
ang = 0;
bmp = 0;
dis = 0;
fire = false;
speedArg = _root.ballspd;
operation = false;
cnt = 0;
}
onClipEvent (enterFrame) {
if (fire == true) {
operation = true;
bullet.bt.gotoAndStop(1);
cnt = 0;
bullet.gotoAndPlay(2);
fire = false;
}
if (operation == true) {
if (speedArg >= cnt) {
cnt++;
bullet.bt.gotoAndStop(cnt + 1);
if (bmp == 1) {
_parent._x = _parent._x - dis;
}
_parent._x = _parent._x + ang;
} else {
operation = false;
}
}
}
Symbol 146 MovieClip Frame 27
stop();
Symbol 157 MovieClip Frame 27
stop();
Symbol 159 MovieClip Frame 80
_parent.play();
this.unloadMovie();
Symbol 167 MovieClip Frame 5
stop();
Symbol 167 MovieClip Frame 6
Set("_root.keylockp" + _parent.id, true);
_root.sfxush.play();
Symbol 167 MovieClip Frame 20
this.gotoAndPlay("normal");
Set("_root.keylockp" + _parent.id, false);
Symbol 169 MovieClip Frame 5
stop();
Symbol 169 MovieClip Frame 10
stop();
Symbol 169 MovieClip Frame 15
stop();
Symbol 169 MovieClip Frame 20
stop();
Symbol 174 MovieClip Frame 5
stop();
Symbol 174 MovieClip Frame 20
this.gotoAndPlay("normal");
Symbol 176 MovieClip Frame 5
stop();
Symbol 176 MovieClip Frame 10
stop();
Symbol 176 MovieClip Frame 15
stop();
Symbol 176 MovieClip Frame 20
stop();
Symbol 181 MovieClip Frame 5
stop();
Symbol 181 MovieClip Frame 6
Set("_root.keylockp" + _parent.id, true);
_root.sfxouch.play();
Symbol 181 MovieClip Frame 20
this.gotoAndPlay("normal");
Set("_root.keylockp" + _parent.id, false);
Symbol 183 MovieClip Frame 5
stop();
Symbol 183 MovieClip Frame 10
stop();
Symbol 183 MovieClip Frame 15
stop();
Symbol 183 MovieClip Frame 20
stop();
Symbol 188 MovieClip Frame 5
stop();
Symbol 188 MovieClip Frame 20
this.gotoAndPlay("normal");
Symbol 190 MovieClip Frame 5
stop();
Symbol 190 MovieClip Frame 10
stop();
Symbol 190 MovieClip Frame 15
stop();
Symbol 190 MovieClip Frame 20
stop();
Symbol 192 MovieClip Frame 13
stop();
removeMovieClip(this);
Symbol 197 MovieClip Frame 4
stop();
Symbol 197 MovieClip Frame 45
if (0 < nowtime) {
nowtime--;
txttime = nowtime;
this.gotoAndPlay("start");
} else {
this.gotoAndPlay("no");
_parent.dontmove = "NO";
nowtime = _parent.waittime;
}
Symbol 200 MovieClip Frame 1
if ((_root.ctrl.attP2 == false) and (_root.totballp2 < 2)) {
_root.ctrl.attP2 = true;
duplicateMovieClip (_root.f2ball0, "f2ball" + _root.f2count, _root.f2count);
duplicateMovieClip (_root.r2ball0, "r2ball" + _root.r2count, _root.r2count);
_root.ctrl.waitp2 = true;
}
Symbol 200 MovieClip Frame 4
stop();
Symbol 200 MovieClip Frame 6
if (0 < nowtime) {
nowtime--;
txttime = nowtime;
this.gotoAndPlay("start");
_parent.firerd = true;
} else {
this.gotoAndPlay("no");
_parent.firerd = false;
nowtime = wt;
if (_root.ctrl.waitp2 == true) {
duplicateMovieClip ("_root.light0", "light" + _root.lightcnt2, _root.lightcnt2);
eval ("_root.light" + _root.lightcnt2)._x = _root.f2plyr._x + 25;
eval ("_root.light" + _root.lightcnt2)._y = _root.f2plyr._y + 15;
_root.lightcnt2 = (((_root.lightcnt2 + 1) % 2) + _root.f2plyrdepth) - 2;
duplicateMovieClip ("_root.light0", "light" + _root.rlightcnt2, _root.rlightcnt2);
eval ("_root.light" + _root.rlightcnt2)._xscale = 50;
eval ("_root.light" + _root.rlightcnt2)._yscale = 50;
eval ("_root.light" + _root.rlightcnt2)._x = _root.r2plyr._x + 7;
eval ("_root.light" + _root.rlightcnt2)._y = _root.r2plyr._y + 5;
_root.rlightcnt2 = (((_root.rlightcnt2 + 1) % 2) + _root.r2plyrdepth) + 2;
_root.ctrl.attP2 = false;
tmpbmp2 = 0;
tmpdis2 = random(10) - 5;
tmpx2 = _root.f2plyr._x + 17;
tmpang2 = (((tmpx2 - 200) / 166) * 32.5) / 27;
eval ("_root.f2ball" + _root.f2count)._x = tmpx2;
eval (("_root.f2ball" + _root.f2count) + ".ball").fire = true;
eval (("_root.f2ball" + _root.f2count) + ".ball").bmp = tmpbmp2;
eval (("_root.f2ball" + _root.f2count) + ".ball").dis = -tmpdis2;
eval (("_root.f2ball" + _root.f2count) + ".ball").ang = -tmpang2;
eval (("_root.f2ball" + _root.f2count) + ".ball").id = _root.f2count - _root.f2balldepth;
eval ("_root.r2ball" + _root.r2count)._x = 32.5 + ((400 - tmpx2) * 0.8375);
eval (("_root.r2ball" + _root.r2count) + ".ball").fire = true;
eval (("_root.r2ball" + _root.r2count) + ".ball").bmp = tmpbmp2;
eval (("_root.r2ball" + _root.r2count) + ".ball").dis = -tmpdis2;
eval (("_root.r2ball" + _root.r2count) + ".ball").ang = -tmpang2;
eval (("_root.r2ball" + _root.r2count) + ".ball").id = _root.r2count - _root.r2balldepth;
_root.f2count = ((_root.f2count + 1) % 2) + _root.f2balldepth;
_root.r2count = ((_root.r2count + 1) % 2) + _root.r2balldepth;
_root.totballp2++;
_root.ctrl.waitp2 = false;
}
}
Instance of Symbol 197 MovieClip "tmr" in Symbol 201 MovieClip Frame 1
onClipEvent (load) {
nowtime = _parent.waittime;
}
Instance of Symbol 200 MovieClip "atmr" in Symbol 201 MovieClip Frame 1
onClipEvent (load) {
wt = 7;
nowtime = wt;
}
Symbol 212 MovieClip Frame 4
stop();
Symbol 212 MovieClip Frame 45
if (0 < nowtime) {
nowtime--;
txttime = nowtime;
this.gotoAndPlay("start");
} else {
this.gotoAndPlay("no");
if (_root.scorep1 == _root.scorep2) {
_root.gSTATUS = "DRAW";
} else if (_root.scorep2 < _root.scorep1) {
_root.gSTATUS = "1Pwin";
} else if (_root.scorep1 < _root.scorep2) {
_root.gSTATUS = "2Pwin";
}
_root.gotoAndPlay("result");
}
Symbol 215 Button
on (release) {
_root.play();
}
Symbol 233 MovieClip Frame 1
stopAllSounds();
Symbol 233 MovieClip Frame 4
stop();
Symbol 233 MovieClip Frame 6
txtratio = (_root.scorep1 + " : ") + _root.scorep2;
Symbol 233 MovieClip Frame 10
stop();
Symbol 233 MovieClip Frame 11
txtratio = (_root.scorep1 + " : ") + _root.scorep2;
Symbol 233 MovieClip Frame 15
stop();
Symbol 233 MovieClip Frame 16
txtratio = (_root.scorep1 + " : ") + _root.scorep2;
Symbol 233 MovieClip Frame 20
stop();
Symbol 237 MovieClip Frame 1
stop();
Symbol 237 MovieClip Frame 2
stop();
Symbol 237 MovieClip Frame 3
stop();
Symbol 237 MovieClip Frame 4
stop();
Symbol 237 MovieClip Frame 5
stop();
Symbol 238 MovieClip Frame 1
stop();
Symbol 238 MovieClip Frame 2
stop();
Symbol 238 MovieClip Frame 3
stop();
Symbol 238 MovieClip Frame 4
stop();
Symbol 238 MovieClip Frame 5
stop();
Symbol 239 MovieClip Frame 1
g.gotoAndStop(rcolor);
Symbol 240 MovieClip Frame 1
g.gotoAndStop(rcolor);
Symbol 241 MovieClip Frame 1
g.gotoAndStop(rcolor);
Symbol 242 MovieClip Frame 1
g.gotoAndStop(rcolor);
Symbol 243 MovieClip Frame 1
g.gotoAndStop(rcolor);
Symbol 244 MovieClip Frame 1
g.gotoAndStop(rcolor);
Symbol 250 MovieClip Frame 1
stop();
Symbol 250 MovieClip Frame 2
stop();
Symbol 251 MovieClip Frame 1
stop();
Symbol 251 MovieClip Frame 2
stop();
Symbol 252 MovieClip Frame 5
stop();
Symbol 252 MovieClip Frame 10
stop();
Symbol 252 MovieClip Frame 15
stop();
Symbol 252 MovieClip Frame 20
stop();
Symbol 253 MovieClip Frame 5
stop();
Symbol 253 MovieClip Frame 10
stop();
Symbol 253 MovieClip Frame 15
stop();
Symbol 253 MovieClip Frame 20
stop();
Symbol 265 Button
on (release, keyPress "<Backspace>") {
gotoAndPlay (6);
}