Frame 1
Stage.scaleMode = "noScale";
Stage.showMenu = false;
Stage.scaleMode = "showAll";
Frame 2
var savefile = SharedObject.getLocal("628B2");
funds = 0;
bestsurvivalrounds = 0;
shoe01 = false;
shoe02 = false;
shoe03 = false;
shoe04 = false;
shoe05 = false;
shoe06 = false;
shoe07 = false;
shoe08 = false;
shoe09 = false;
fu = false;
ym = false;
qualitysetting = "MEDIUM";
var sxintro = new Sound();
sxintro.attachSound("sxintro");
var ybintro = new Sound();
ybintro.attachSound("ybintro");
var tjhintro = new Sound();
tjhintro.attachSound("tjhintro");
var zxzintro = new Sound();
zxzintro.attachSound("zxzintro");
var zyxintro = new Sound();
zyxintro.attachSound("zyxintro");
var zssintro = new Sound();
zssintro.attachSound("zssintro");
var wzcintro = new Sound();
wzcintro.attachSound("wzcintro");
var yzzintro = new Sound();
yzzintro.attachSound("yzzintro");
var fuintro = new Sound();
fuintro.attachSound("fuintro");
Frame 3
function fadein(obj) {
_root.attachMovie("fadein", "fadein", 500);
}
function flasheffect(obj) {
_root.attachMovie("flasheffect", "flasheffect1", 900);
_root.flasheffect1._width = 830;
_root.flasheffect1._height = 680;
}
function unableplayer(obj) {
_root.bg.controlplayer._name = "waitcp";
_root.bg.player2._name = "waitp2";
_root.bg.com1._name = "waitc1";
_root.bg.com2._name = "waitc2";
}
function enableplayer(obj) {
_root.bg.waitcp._name = "controlplayer";
_root.bg.waitp2._name = "player2";
_root.bg.waitc1._name = "com1";
_root.bg.waitc2._name = "com2";
}
function switchplayer(obj) {
_root.bg.controlplayer._name = "insdeader";
_root.bg.player2._name = "controlplayer";
_root.bg.insdeader._name = "player2";
_root.partnerAI.gotoAndStop("stand nothing");
}
function criticalmoment(obj) {
_root.finebgm.stop("fine bgm");
_root.sunsetbgm.stop("sunset bgm");
_root.equippedbgm.stop("equipped bgm");
_root.criticalmomentbgm.start(0, 99);
}
function cheer(obj) {
cheera = random(3);
if (cheera == 0) {
_root.cheer1.start();
}
if (cheera == 1) {
_root.cheer2.start();
}
if (cheera == 2) {
_root.cheer3.start();
}
}
function against(obj) {
againsta = random(2);
if (againsta == 0) {
_root.against1.start();
}
if (againsta == 1) {
_root.against2.start();
}
}
function callname(obj) {
if (_root.ballpos == "controlplayer") {
_root["callname" + _root.bg.controlplayer.playername].start();
}
if (_root.ballpos == "player2") {
_root["callname" + _root.bg.player2.playername].start();
}
if (_root.ballpos == "com1") {
_root["callname" + _root.bg.com1.playername].start();
}
if (_root.ballpos == "com2") {
_root["callname" + _root.bg.com2.playername].start();
}
}
function enforceability(obj) {
if (_root.p1specialshoe == "shoe01") {
_root.bg.controlplayer.lifebar.bar.recover = _root.bg.controlplayer.lifebar.bar.recover + 1;
_root.bg.controlplayer.walkspeed = _root.bg.controlplayer.walkspeed - 1;
_root.bg.controlplayer.runspeed = _root.bg.controlplayer.runspeed - 1;
jumpa = jumpa + 2;
}
if (_root.p1specialshoe == "shoe02") {
_root.bg.controlplayer.lifebar.bar.recover = _root.bg.controlplayer.lifebar.bar.recover - 1;
_root.bg.controlplayer.walkspeed = _root.bg.controlplayer.walkspeed + 2;
_root.bg.controlplayer.runspeed = _root.bg.controlplayer.runspeed + 2;
jumpa = jumpa + 2;
}
if (_root.p1specialshoe == "shoe03") {
_root.bg.controlplayer.lifebar.bar.recover = _root.bg.controlplayer.lifebar.bar.recover + 1;
jumpa = jumpa + 1;
}
if (_root.p1specialshoe == "shoe04") {
_root.bg.controlplayer.lifebar.bar.recover = _root.bg.controlplayer.lifebar.bar.recover + 2;
_root.bg.controlplayer.walkspeed = _root.bg.controlplayer.walkspeed + 2;
_root.bg.controlplayer.runspeed = _root.bg.controlplayer.runspeed + 2;
jumpa = jumpa - 3;
}
if (_root.p1specialshoe == "shoe05") {
_root.bg.controlplayer.walkspeed = _root.bg.controlplayer.walkspeed + 2;
_root.bg.controlplayer.runspeed = _root.bg.controlplayer.runspeed + 2;
jumpa = jumpa + 3;
}
if (_root.p1specialshoe == "shoe06") {
_root.bg.controlplayer.lifebar.bar.recover = _root.bg.controlplayer.lifebar.bar.recover + 1;
_root.bg.controlplayer.walkspeed = _root.bg.controlplayer.walkspeed - 2;
_root.bg.controlplayer.runspeed = _root.bg.controlplayer.runspeed - 2;
jumpa = jumpa + 3;
}
if (_root.p1specialshoe == "shoe07") {
_root.bg.controlplayer.lifebar.bar.recover = _root.bg.controlplayer.lifebar.bar.recover + 2;
_root.bg.controlplayer.walkspeed = _root.bg.controlplayer.walkspeed + 3;
_root.bg.controlplayer.runspeed = _root.bg.controlplayer.runspeed + 3;
jumpa = jumpa + 3;
}
if (_root.p1specialshoe == "shoe08") {
_root.bg.controlplayer.lifebar.bar.recover = _root.bg.controlplayer.lifebar.bar.recover + 3;
jumpa = jumpa + 1;
}
if (_root.p1specialshoe == "shoe09") {
_root.bg.controlplayer.lifebar.bar.recover = _root.bg.controlplayer.lifebar.bar.recover + 1;
_root.bg.controlplayer.walkspeed = _root.bg.controlplayer.walkspeed + 2;
_root.bg.controlplayer.runspeed = _root.bg.controlplayer.runspeed + 2;
jumpa = jumpa - 2;
}
if (_root.p2specialshoe == "shoe01") {
_root.bg.player2.lifebar.bar.recover = _root.bg.player2.lifebar.bar.recover + 1;
_root.bg.player2.walkspeed = _root.bg.player2.walkspeed - 1;
_root.bg.player2.runspeed = _root.bg.player2.runspeed - 1;
jumpa = jumpa + 2;
}
if (_root.p2specialshoe == "shoe02") {
_root.bg.player2.lifebar.bar.recover = _root.bg.player2.lifebar.bar.recover - 1;
_root.bg.player2.walkspeed = _root.bg.player2.walkspeed + 2;
_root.bg.player2.runspeed = _root.bg.player2.runspeed + 2;
jumpa = jumpa + 2;
}
if (_root.p2specialshoe == "shoe03") {
_root.bg.player2.lifebar.bar.recover = _root.bg.player2.lifebar.bar.recover + 1;
jumpa = jumpa + 1;
}
if (_root.p2specialshoe == "shoe04") {
_root.bg.player2.lifebar.bar.recover = _root.bg.player2.lifebar.bar.recover + 2;
_root.bg.player2.walkspeed = _root.bg.player2.walkspeed + 2;
_root.bg.player2.runspeed = _root.bg.player2.runspeed + 2;
jumpa = jumpa - 3;
}
if (_root.p2specialshoe == "shoe05") {
_root.bg.player2.walkspeed = _root.bg.player2.walkspeed + 2;
_root.bg.player2.runspeed = _root.bg.player2.runspeed + 2;
jumpa = jumpa + 3;
}
if (_root.p2specialshoe == "shoe06") {
_root.bg.player2.lifebar.bar.recover = _root.bg.player2.lifebar.bar.recover + 1;
_root.bg.player2.walkspeed = _root.bg.player2.walkspeed - 2;
_root.bg.player2.runspeed = _root.bg.player2.runspeed - 2;
jumpa = jumpa + 3;
}
if (_root.p2specialshoe == "shoe07") {
_root.bg.player2.lifebar.bar.recover = _root.bg.player2.lifebar.bar.recover + 2;
_root.bg.player2.walkspeed = _root.bg.player2.walkspeed + 3;
_root.bg.player2.runspeed = _root.bg.player2.runspeed + 3;
jumpa = jumpa + 3;
}
if (_root.p2specialshoe == "shoe08") {
_root.bg.player2.lifebar.bar.recover = _root.bg.player2.lifebar.bar.recover + 3;
jumpa = jumpa + 1;
}
if (_root.p2specialshoe == "shoe09") {
_root.bg.player2.lifebar.bar.recover = _root.bg.player2.lifebar.bar.recover + 1;
_root.bg.player2.walkspeed = _root.bg.player2.walkspeed + 2;
_root.bg.player2.runspeed = _root.bg.player2.runspeed + 2;
jumpa = jumpa - 2;
}
}
_root.attachMovie("stagemask", "stagemask", 20000);
_root.attachMovie("cursor", "cursor", 20001);
Frame 4
_quality = "MEDIUM";
var step = new Sound();
step.attachSound("step");
var bounce = new Sound();
bounce.attachSound("bounce");
var receiveball = new Sound();
receiveball.attachSound("receiveball");
var passsound = new Sound();
passsound.attachSound("passsound");
var steal = new Sound();
steal.attachSound("steal");
var hitsound = new Sound();
hitsound.attachSound("hitsound");
var netsound = new Sound();
netsound.attachSound("netsound");
var lankuangsound = new Sound();
lankuangsound.attachSound("lankuangsound");
var lankuangsound2 = new Sound();
lankuangsound2.attachSound("lankuangsound2");
var lankuangsound3 = new Sound();
lankuangsound3.attachSound("lankuangsound3");
var stopmatch = new Sound();
stopmatch.attachSound("stopmatch");
var catchball = new Sound();
catchball.attachSound("catchball");
var blockballsound = new Sound();
blockballsound.attachSound("blockballsound");
var bounce = new Sound();
bounce.attachSound("bounce");
var bounce2 = new Sound();
bounce2.attachSound("bounce2");
var logovoice = new Sound();
logovoice.attachSound("logovoice");
var mainmenusound = new Sound();
mainmenusound.attachSound("mainmenusound");
var highligh = new Sound();
highligh.attachSound("highligh");
var exhibitionvoice = new Sound();
exhibitionvoice.attachSound("exhibitionvoice");
var waytocupvoice = new Sound();
waytocupvoice.attachSound("waytocupvoice");
var optionsvoice = new Sound();
optionsvoice.attachSound("optionsvoice");
var entersound = new Sound();
entersound.attachSound("entersound");
var selectsound = new Sound();
selectsound.attachSound("selectsound");
var cancelsound = new Sound();
cancelsound.attachSound("cancelsound");
var countsound = new Sound();
countsound.attachSound("countsound");
var whistle = new Sound();
whistle.attachSound("whistle");
var dunksound1 = new Sound();
dunksound1.attachSound("dunksound1");
var dunksound2 = new Sound();
dunksound2.attachSound("dunksound2");
var dunksound3 = new Sound();
dunksound3.attachSound("dunksound3");
var mainmenumusic = new Sound();
mainmenumusic.attachSound("mainmenumusic");
var selectbgm = new Sound();
selectbgm.attachSound("selectbgm");
var finebgm = new Sound();
finebgm.attachSound("fine bgm");
var sunsetbgm = new Sound();
sunsetbgm.attachSound("sunset bgm");
var equippedbgm = new Sound();
equippedbgm.attachSound("equipped bgm");
var criticalmomentbgm = new Sound();
criticalmomentbgm.attachSound("criticalmoment bgm");
var cheer1 = new Sound();
cheer1.attachSound("cheer 1");
var cheer2 = new Sound();
cheer2.attachSound("cheer 2");
var cheer3 = new Sound();
cheer3.attachSound("cheer 3");
var against1 = new Sound();
against1.attachSound("against 1");
var against2 = new Sound();
against2.attachSound("against 2");
var oh = new Sound();
oh.attachSound("oh");
var endmatchapplause = new Sound();
endmatchapplause.attachSound("endmatchapplause");
var callnamedsh = new Sound();
callnamedsh.attachSound("callname dsh");
var callnamefu = new Sound();
callnamefu.attachSound("callname fu");
var callnamehf = new Sound();
callnamehf.attachSound("callname hf");
var callnamesl = new Sound();
callnamesl.attachSound("callname sl");
var callnamesx = new Sound();
callnamesx.attachSound("callname sx");
var callnametjh = new Sound();
callnametjh.attachSound("callname tjh");
var callnamewzc = new Sound();
callnamewzc.attachSound("callname wzc");
var callnamewzy = new Sound();
callnamewzy.attachSound("callname wzy");
var callnameyb = new Sound();
callnameyb.attachSound("callname yb");
var callnameym = new Sound();
callnameym.attachSound("callname ym");
var callnameyzz = new Sound();
callnameyzz.attachSound("callname yzz");
var callnamezss = new Sound();
callnamezss.attachSound("callname zss");
var callnamezxz = new Sound();
callnamezxz.attachSound("callname zxz");
var callnamezyx = new Sound();
callnamezyx.attachSound("callname zyx");
var ctr_ready = new Sound();
ctr_ready.attachSound("ctr-ready");
var ctr_shot1 = new Sound();
ctr_shot1.attachSound("ctr-shot 1");
var ctr_shot2 = new Sound();
ctr_shot2.attachSound("ctr-shot 2");
var ctr_goodshot1 = new Sound();
ctr_goodshot1.attachSound("ctr-goodshot 1");
var ctr_goodshot2 = new Sound();
ctr_goodshot2.attachSound("ctr-goodshot 2");
var ctr_goodshot3 = new Sound();
ctr_goodshot3.attachSound("ctr-goodshot 3");
var ctr_zxz = new Sound();
ctr_zxz.attachSound("ctr-zxz");
var ctr_fu = new Sound();
ctr_fu.attachSound("ctr-fu");
var ctr_wzc = new Sound();
ctr_wzc.attachSound("ctr-wzc");
var ctr_vacant = new Sound();
ctr_vacant.attachSound("ctr-vacant");
var ctr_firstcourt = new Sound();
ctr_firstcourt.attachSound("ctr-firstcourt");
var ctr_secondcourt = new Sound();
ctr_secondcourt.attachSound("ctr-secondcourt");
var ctr_thirdcourt = new Sound();
ctr_thirdcourt.attachSound("ctr-thirdcourt");
var ctr_fourthcourt = new Sound();
ctr_fourthcourt.attachSound("ctr-fourthcourt");
var ctr_4thquarterover = new Sound();
ctr_4thquarterover.attachSound("ctr-4thquarterover");
var ctr_final = new Sound();
ctr_final.attachSound("ctr-final");
var ctr_finalwinover = new Sound();
ctr_finalwinover.attachSound("ctr-finalwinover");
var ctr_matchover = new Sound();
ctr_matchover.attachSound("ctr-matchover");
var ctr_winover = new Sound();
ctr_winover.attachSound("ctr-winover");
var ctr_5secleft = new Sound();
ctr_5secleft.attachSound("ctr-5secleft");
var ctr_15secleft = new Sound();
ctr_15secleft.attachSound("ctr-15secleft");
var ctr_out1 = new Sound();
ctr_out1.attachSound("ctr-out1");
var ctr_out2 = new Sound();
ctr_out2.attachSound("ctr-out2");
var ctr_aggressive = new Sound();
ctr_aggressive.attachSound("ctr-aggressive");
var ctr_congratulations = new Sound();
ctr_congratulations.attachSound("ctr-congratulations");
Frame 5
stop();
Instance of Symbol 920 MovieClip in Frame 5
onClipEvent (load) {
timer = 150;
}
onClipEvent (enterFrame) {
timer--;
if (timer == 0) {
_root.attachMovie("blackfadeout", "logoblackfadeout", 499);
_root.skipbtn.pressonce = true;
}
if (_root.logoblackfadeout.fadeout == true) {
_root.gotoAndStop("main");
}
}
Instance of Symbol 866 MovieClip [pressspace] "skipbtn" in Frame 5
onClipEvent (load) {
pressonce = false;
}
onClipEvent (enterFrame) {
if (Key.isDown(32) && (pressonce == false)) {
_root.attachMovie("blackfadeout", "logoblackfadeout", 499);
pressonce = true;
}
}
Frame 6
p1chara = "none";
p2chara = "none";
com1chara = "none";
com2chara = "none";
p1name = null;
p2name = null;
com1name = null;
com2name = null;
gamemode = "exhibition";
initialtime = 60;
initialcourts = 1;
courts = 2;
myfield = null;
fatigue = null;
wzcspeech = false;
zyxspeech = false;
zssspeech = false;
zxzspeech = false;
tjhspeech = false;
sxspeech = false;
ybspeech = false;
yzzspeech = false;
p1specialshoe = null;
function cancelunit1(obj) {
unit1.removeMovieClip();
attachMovie("unit1", "unit1", 202);
}
function cancelunit2(obj) {
unit2.removeMovieClip();
attachMovie("unit2", "unit2", 203);
}
stop();
stopAllSounds();
_root.selectbgm.start(0, 99);
_root.bg._visible = false;
go.enabled = false;
this.attachMovie("unit1", "unit1", 202);
this.attachMovie("unit2", "unit2", 203);
_root.x1 = 0;
_root.x2 = 600;
_root.y1 = 0;
_root.y2 = 400;
i = 1;
while (i < 40) {
zpos.duplicateMovieClip("m" + i, i);
_root["m" + i]._x = (Math.random() * (_root.x2 - _root.x1)) + _root.x1;
_root["m" + i]._y = (Math.random() * (_root.y2 - _root.y1)) + _root.y1;
_root["m" + i]._rotation = Math.ceil(Math.random() * 4) * 90;
_root["m" + i].onEnterFrame = function () {
if (this._currentframe == 25) {
this._x = (Math.random() * (_root.x2 - _root.x1)) + _root.x1;
this._y = (Math.random() * (_root.y2 - _root.y1)) + _root.y1;
this._rotation = Math.ceil(Math.random() * 4) * 90;
}
};
i++;
}
_root.onEnterFrame = function () {
_root["m" + Math.ceil(Math.random() * 40)].play();
if ((_root.unit1.unitready == true) && (_root.unit2.unitready == true)) {
go.enabled = true;
} else {
go.enabled = false;
}
};
Instance of Symbol 973 MovieClip in Frame 6
onClipEvent (load) {
timer = 20;
this._y = 0;
movespeed = 5;
backmove = false;
}
onClipEvent (enterFrame) {
timer--;
if ((backmove == false) && (timer <= 0)) {
this._y = this._y + movespeed;
movespeed = movespeed + 3;
if (this._y >= 150) {
movespeed = 1;
backmove = true;
}
}
if (backmove == true) {
this._y = this._y - movespeed;
movespeed = movespeed + 3;
if (this._y <= 140) {
this._y = 140;
}
}
}
Frame 7
initialcourts = 1;
if ((bgm == 1) || (bgm == 5)) {
_root.finebgm.start(0, 99);
}
if ((bgm == 2) || (bgm == 3)) {
_root.sunsetbgm.start(0, 99);
}
if (bgm == 4) {
_root.equippedbgm.start(0, 99);
}
_root.vsplayername = (((_root.p1name + " ") + "&") + " ") + _root.p2name;
_root.vscomname = (((_root.com1name + " ") + "&") + " ") + _root.com2name;
timer = 150;
pressonce = false;
onEnterFrame = function () {
timer--;
if (Key.isDown(32) && (pressonce == false)) {
timer = 0;
_root.entersound.start();
pressonce = true;
}
if (timer <= 0) {
_root.bg.attachMovie(_root.p1chara, "controlplayer", 1);
_root.bg.controlplayer._x = 1000;
_root.bg.controlplayer.attachMovie("lifebar", "lifebar", 100);
_root.bg.attachMovie(_root.p2chara, "player2", 2);
_root.bg.player2._x = 1300;
_root.bg.player2.attachMovie("lifebar", "lifebar", 101);
_root.bg.attachMovie(_root.com1chara, "com1", 3);
_root.bg.com1._x = 400;
_root.bg.com1._xscale = -100;
_root.bg.com1.attachMovie("lifebar", "lifebar", 102);
_root.bg.attachMovie(_root.com2chara, "com2", 4);
_root.bg.com2._x = 600;
_root.bg.com2._xscale = -100;
_root.bg.com2.attachMovie("lifebar", "lifebar", 103);
_root.bg.controlplayer.specialshoe = p1specialshoe;
_root.bg.player2.specialshoe = p2specialshoe;
_root.bg.com1.specialshoe = "default";
_root.bg.com2.specialshoe = "default";
_root.bg.controlplayer.loadonce = true;
_root.bg.player2.loadonce = true;
_root.bg.com1.loadonce = true;
_root.bg.com2.loadonce = true;
_root.fadein.call(obj, obj);
_root.nextFrame();
}
};
Instance of Symbol 982 MovieClip in Frame 7
onClipEvent (load) {
if (_root.p2chara == "zyx") {
zyx = "yes";
}
if (_root.p2chara == "wzc") {
wzc = "yes";
}
if (_root.p2chara == "zss") {
zss = "yes";
}
if (_root.p2chara == "yzz") {
yzz = "yes";
}
if (_root.p2chara == "zxz") {
zxz = "yes";
}
if (_root.p2chara == "dsh") {
dsh = "yes";
}
if (_root.p2chara == "yb") {
yb = "yes";
}
if (_root.p2chara == "tjh") {
tjh = "yes";
}
if (_root.p2chara == "sx") {
sx = "yes";
}
if (_root.p2chara == "sl") {
sl = "yes";
}
if (_root.p2chara == "hf") {
hf = "yes";
}
if (_root.p2chara == "wzy") {
wzy = "yes";
}
if (_root.p2chara == "ym") {
ym = "yes";
}
if (_root.p2chara == "fu") {
fu = "yes";
}
}
Instance of Symbol 982 MovieClip in Frame 7
onClipEvent (load) {
if (_root.p1chara == "zyx") {
zyx = "yes";
}
if (_root.p1chara == "wzc") {
wzc = "yes";
}
if (_root.p1chara == "zss") {
zss = "yes";
}
if (_root.p1chara == "yzz") {
yzz = "yes";
}
if (_root.p1chara == "zxz") {
zxz = "yes";
}
if (_root.p1chara == "dsh") {
dsh = "yes";
}
if (_root.p1chara == "yb") {
yb = "yes";
}
if (_root.p1chara == "tjh") {
tjh = "yes";
}
if (_root.p1chara == "sx") {
sx = "yes";
}
if (_root.p1chara == "sl") {
sl = "yes";
}
if (_root.p1chara == "hf") {
hf = "yes";
}
if (_root.p1chara == "wzy") {
wzy = "yes";
}
if (_root.p1chara == "ym") {
ym = "yes";
}
if (_root.p1chara == "fu") {
fu = "yes";
}
}
Instance of Symbol 982 MovieClip in Frame 7
onClipEvent (load) {
if (_root.com2chara == "zyx") {
zyx = "yes";
}
if (_root.com2chara == "wzc") {
wzc = "yes";
}
if (_root.com2chara == "zss") {
zss = "yes";
}
if (_root.com2chara == "yzz") {
yzz = "yes";
}
if (_root.com2chara == "zxz") {
zxz = "yes";
}
if (_root.com2chara == "dsh") {
dsh = "yes";
}
if (_root.com2chara == "yb") {
yb = "yes";
}
if (_root.com2chara == "tjh") {
tjh = "yes";
}
if (_root.com2chara == "sx") {
sx = "yes";
}
if (_root.com2chara == "sl") {
sl = "yes";
}
if (_root.com2chara == "hf") {
hf = "yes";
}
if (_root.com2chara == "wzy") {
wzy = "yes";
}
if (_root.com2chara == "ym") {
ym = "yes";
}
if (_root.com2chara == "fu") {
fu = "yes";
}
}
Instance of Symbol 982 MovieClip in Frame 7
onClipEvent (load) {
if (_root.com1chara == "zyx") {
zyx = "yes";
}
if (_root.com1chara == "wzc") {
wzc = "yes";
}
if (_root.com1chara == "zss") {
zss = "yes";
}
if (_root.com1chara == "yzz") {
yzz = "yes";
}
if (_root.com1chara == "zxz") {
zxz = "yes";
}
if (_root.com1chara == "dsh") {
dsh = "yes";
}
if (_root.com1chara == "yb") {
yb = "yes";
}
if (_root.com1chara == "tjh") {
tjh = "yes";
}
if (_root.com1chara == "sx") {
sx = "yes";
}
if (_root.com1chara == "sl") {
sl = "yes";
}
if (_root.com1chara == "hf") {
hf = "yes";
}
if (_root.com1chara == "wzy") {
wzy = "yes";
}
if (_root.com1chara == "ym") {
ym = "yes";
}
if (_root.com1chara == "fu") {
fu = "yes";
}
}
Instance of Symbol 989 MovieClip in Frame 7
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
this._alpha = this._alpha + 2;
if (this._alpha >= 100) {
this._alpha = 100;
}
}
Instance of Symbol 991 MovieClip in Frame 7
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
this._alpha = this._alpha + 2;
if (this._alpha >= 100) {
this._alpha = 100;
}
}
Frame 8
_root.bg.controlplayer._width = _root.bg.controlplayer._width * (_root.bg.controlplayer.charascale / 100);
_root.bg.controlplayer._height = _root.bg.controlplayer._height * (_root.bg.controlplayer.charascale / 100);
_root.bg.player2._width = _root.bg.player2._width * (_root.bg.player2.charascale / 100);
_root.bg.player2._height = _root.bg.player2._height * (_root.bg.player2.charascale / 100);
_root.bg.com1._width = _root.bg.com1._width * (_root.bg.com1.charascale / 100);
_root.bg.com1._height = _root.bg.com1._height * (_root.bg.com1.charascale / 100);
_root.bg.com2._width = _root.bg.com2._width * (_root.bg.com2.charascale / 100);
_root.bg.com2._height = _root.bg.com2._height * (_root.bg.com2.charascale / 100);
_root.enforceability.call(obj, obj);
_root.bg.controlplayer.score = 0;
_root.bg.player2.score = 0;
_root.bg.com1.score = 0;
_root.bg.com2.score = 0;
undercontrol = "controlplayer";
a = 65;
s = 83;
d = 68;
maxtime = initialtime;
timestart = false;
playerscore = 0;
comscore = 0;
ballpos = null;
paser = null;
passer = "none";
passerdirection = 100;
shoter = null;
shotername = null;
shoterdirection = 100;
scorer = null;
wzcspeech = false;
zyxspeech = false;
zssspeech = false;
zxzspeech = false;
tjhspeech = false;
sxspeech = false;
ybspeech = false;
yzzspeech = false;
walkleftscroll = false;
walkrightscroll = false;
runleftscroll = false;
runrightscroll = false;
com1walkleftscroll = false;
com1walkrightscroll = false;
com1runleftscroll = false;
com1runrightscroll = false;
com2walkleftscroll = false;
com2walkrightscroll = false;
com2runleftscroll = false;
com2runrightscroll = false;
outpossible = null;
celebration = false;
celebrationchara = null;
_root.attachMovie("scorebar", "scorebar", 100);
mvprandom = random(2);
if (mvprandom == 0) {
mvp = "player1";
}
if (mvprandom == 1) {
mvp = "player2";
}
threepoints = 0;
scoringnum = 0;
scoringattempt = 0;
blocks = 0;
steals = 0;
onEnterFrame = function () {
var _local2 = {x:_root.bg.controlplayer._x, y:_root.bg.controlplayer._y};
_root.bg.localToGlobal(_local2);
if (_root.ballpos == "controlplayer") {
if (_local2.x > 750) {
_root.bg._x = _root.bg._x - 30;
}
if (_local2.x < 60) {
_root.bg._x = _root.bg._x + 30;
}
}
var _local3 = {x:_root.bg.player2._x, y:_root.bg.player2._y};
_root.bg.localToGlobal(_local3);
if (_root.ballpos == "controlplayer") {
if ((_local3.x > 900) && (_root.implypartner._name != "implypartner")) {
_root.attachMovie("implypartner", "implypartner", 11);
_root.implypartner._x = 700;
_root.implypartner.gotoAndStop(1);
}
if ((_local3.x < -100) && (_root.implypartner._name != "implypartner")) {
_root.attachMovie("implypartner", "implypartner", 11);
_root.implypartner._x = 100;
_root.implypartner.gotoAndStop(2);
}
if (((_local3.x < 900) && (_local3.x > -100)) && (_root.implypartner._name == "implypartner")) {
_root.implypartner.removeMovieClip();
}
}
var _local5 = {x:_root.bg.com1._x, y:_root.bg.com1._y};
_root.bg.localToGlobal(_local5);
if (_root.ballpos == "com1") {
if (_local5.x > 750) {
_root.bg._x = _root.bg._x - 30;
}
if (_local5.x < 50) {
_root.bg._x = _root.bg._x + 30;
}
if ((_local2.x > 900) && (_root.implyplayer._name != "implyplayer")) {
_root.attachMovie("implyplayer", "implyplayer", 11);
_root.implyplayer._x = 700;
_root.implyplayer.gotoAndStop(1);
}
if ((_local2.x < -100) && (_root.implyplayer._name != "implyplayer")) {
_root.attachMovie("implyplayer", "implyplayer", 11);
_root.implyplayer._x = 100;
_root.implyplayer.gotoAndStop(2);
}
if (((_local2.x < 900) && (_local2.x > -100)) && (_root.implyplayer._name == "implyplayer")) {
_root.implyplayer.removeMovieClip();
}
}
var _local4 = {x:_root.bg.com2._x, y:_root.bg.com2._y};
_root.bg.localToGlobal(_local4);
if (_root.ballpos == "com2") {
if (_local4.x > 750) {
_root.bg._x = _root.bg._x - 30;
}
if (_local4.x < 50) {
_root.bg._x = _root.bg._x + 30;
}
if ((_local2.x > 900) && (_root.implyplayer._name != "implyplayer")) {
_root.attachMovie("implyplayer", "implyplayer", 11);
_root.implyplayer._x = 700;
_root.implyplayer.gotoAndStop(1);
}
if ((_local2.x < -100) && (_root.implyplayer._name != "implyplayer")) {
_root.attachMovie("implyplayer", "implyplayer", 11);
_root.implyplayer._x = 100;
_root.implyplayer.gotoAndStop(2);
}
if (((_local2.x < 900) && (_local2.x > -100)) && (_root.implyplayer._name == "implyplayer")) {
_root.implyplayer.removeMovieClip();
}
}
if (Key.isDown(219)) {
_root.attachMovie("testermenu", "testermenu", 202);
}
};
Instance of Symbol 858 MovieClip [camara] "cmr" in Frame 8
onClipEvent (enterFrame) {
if (_root.walkleftscroll == true) {
_root.bg._x = _root.bg._x + _root.bg.controlplayer.walkspeed;
}
if (_root.walkrightscroll == true) {
_root.bg._x = _root.bg._x - _root.bg.controlplayer.walkspeed;
}
if ((_root.runleftscroll == true) && (_root.ballpos == "controlplayer")) {
_root.bg._x = _root.bg._x + (_root.bg.controlplayer.runspeed - 2);
}
if (((_root.runleftscroll == true) && (_root.bg.controlplayer._currentframe == 31)) || (_root.bg.controlplayer._currentframe == 32)) {
_root.bg._x = _root.bg._x + (_root.bg.controlplayer.runspeed - 2);
}
if ((_root.runrightscroll == true) && (_root.ballpos == "controlplayer")) {
_root.bg._x = _root.bg._x - (_root.bg.controlplayer.runspeed - 2);
}
if (((_root.runrightscroll == true) && (_root.bg.controlplayer._currentframe == 31)) || (_root.bg.controlplayer._currentframe == 32)) {
_root.bg._x = _root.bg._x - (_root.bg.controlplayer.runspeed - 2);
}
if (_root.com1walkleftscroll == true) {
_root.bg._x = _root.bg._x + _root.bg.com1.walkspeed;
}
if (_root.com1walkrightscroll == true) {
_root.bg._x = _root.bg._x - _root.bg.com1.walkspeed;
}
if ((_root.com1runleftscroll == true) && (_root.ballpos == "com1")) {
_root.bg._x = _root.bg._x + (_root.bg.com1.runspeed - 2);
}
if (((_root.com1runleftscroll == true) && (_root.bg.com1._currentframe == 31)) || (_root.bg.com1._currentframe == 32)) {
_root.bg._x = _root.bg._x + (_root.bg.com1.runspeed - 2);
}
if ((_root.com1runrightscroll == true) && (_root.ballpos == "com1")) {
_root.bg._x = _root.bg._x - (_root.bg.com1.runspeed - 2);
}
if (((_root.com1runrightscroll == true) && (_root.bg.com1._currentframe == 31)) || (_root.bg.com1._currentframe == 32)) {
_root.bg._x = _root.bg._x - (_root.bg.com1.runspeed - 2);
}
if (_root.com2walkleftscroll == true) {
_root.bg._x = _root.bg._x + _root.bg.com2.walkspeed;
}
if (_root.com2walkrightscroll == true) {
_root.bg._x = _root.bg._x - _root.bg.com2.walkspeed;
}
if ((_root.com2runleftscroll == true) && (_root.ballpos == "com2")) {
_root.bg._x = _root.bg._x + (_root.bg.com2.runspeed - 2);
}
if (((_root.com2runleftscroll == true) && (_root.bg.com2._currentframe == 31)) || (_root.bg.com2._currentframe == 32)) {
_root.bg._x = _root.bg._x + (_root.bg.com2.runspeed - 2);
}
if ((_root.com2runrightscroll == true) && (_root.ballpos == "com2")) {
_root.bg._x = _root.bg._x - (_root.bg.com2.runspeed - 2);
}
if (((_root.com2runrightscroll == true) && (_root.bg.com2._currentframe == 31)) || (_root.bg.com2._currentframe == 32)) {
_root.bg._x = _root.bg._x - (_root.bg.com2.runspeed - 2);
}
if (_root.bg._x > -40) {
_root.bg._x = -40;
}
if (_root.bg._x < -2152) {
_root.bg._x = -2152;
}
_root.walkleftscroll = false;
_root.runleftscroll = false;
_root.walkrightscroll = false;
_root.runrightscroll = false;
}
Instance of Symbol 1009 MovieClip in Frame 8
onClipEvent (load) {
n = 0;
fcount = 1;
}
onClipEvent (enterFrame) {
time = (getTimer() - n) / 1000;
out = Math.ceil(frame / time);
frame++;
if (Key.isDown(32)) {
frame = 0;
n = getTimer();
}
}
Instance of Symbol 1054 MovieClip in Frame 9
onClipEvent (load) {
this._y = -500;
movespeed = 2;
}
onClipEvent (enterFrame) {
this._y = this._y + movespeed;
movespeed = movespeed + 2;
if (this._y >= 40) {
this._y = 40;
}
}
Frame 10
p1chara = "none";
p2chara = "none";
com1chara = "none";
com2chara = "none";
gamemode = "survival";
currentsurvivalrounds = 0;
survivaltotalscore = 0;
survivalextrapoints = 0;
playerscore = 0;
comscore = 0;
initialtime = 60;
initialcourts = 1;
courts = 2;
myfield = null;
fatigue = null;
wzcspeech = false;
zyxspeech = false;
zssspeech = false;
zxzspeech = false;
tjhspeech = false;
sxspeech = false;
ybspeech = false;
yzzspeech = false;
p1specialshoe = null;
function cancelunit1(obj) {
unit1.removeMovieClip();
attachMovie("unit1", "unit1", 202);
}
stop();
stopAllSounds();
_root.selectbgm.start(0, 99);
_root.bg._visible = false;
go.enabled = false;
this.attachMovie("unit1", "unit1", 202);
_root.x1 = 0;
_root.x2 = 600;
_root.y1 = 0;
_root.y2 = 400;
i = 1;
while (i < 40) {
zpos.duplicateMovieClip("m" + i, i);
_root["m" + i]._x = (Math.random() * (_root.x2 - _root.x1)) + _root.x1;
_root["m" + i]._y = (Math.random() * (_root.y2 - _root.y1)) + _root.y1;
_root["m" + i]._rotation = Math.ceil(Math.random() * 4) * 90;
_root["m" + i].onEnterFrame = function () {
if (this._currentframe == 25) {
this._x = (Math.random() * (_root.x2 - _root.x1)) + _root.x1;
this._y = (Math.random() * (_root.y2 - _root.y1)) + _root.y1;
this._rotation = Math.ceil(Math.random() * 4) * 90;
}
};
i++;
}
_root.onEnterFrame = function () {
_root["m" + Math.ceil(Math.random() * 40)].play();
if (_root.unit1.unitready == true) {
go.enabled = true;
} else {
go.enabled = false;
}
};
Instance of Symbol 1057 MovieClip in Frame 10
onClipEvent (load) {
timer = 20;
this._y = 0;
movespeed = 5;
backmove = false;
}
onClipEvent (enterFrame) {
timer--;
if ((backmove == false) && (timer <= 0)) {
this._y = this._y + movespeed;
movespeed = movespeed + 3;
if (this._y >= 150) {
movespeed = 1;
backmove = true;
}
}
if (backmove == true) {
this._y = this._y - movespeed;
movespeed = movespeed + 3;
if (this._y <= 140) {
this._y = 140;
}
}
}
Frame 11
initialcourts = 1;
_root.currentsurvivalroundsshow = _root.currentsurvivalrounds + 1;
_root.bg.stadium.gotoAndStop(random(_root.bg.stadium._totalframes) + 1);
_root.survivalroundshow = "Survival Round " + _root.currentsurvivalroundsshow;
randomcomputer = ["sx", "tjh", "yb", "dsh", "yzz", "zyx", "wzc", "zss", "zxz", "hf", "wzy", "sl", "ym", "fu"];
computername = ["Song Xin", "Tan Jinghai", "Yin Bing", "Dong Shuheng", "Yan Zhizhe", "Zhou Yixiong", "Wang Zhicai", "Zhang Shaoshuai", "Zhang Xiuzheng", "Han Feng", "Wang Zhiyuan", "Shao liang", "Yao Ming", "Fuck U"];
com1select = random(14);
com2select = random(14);
com1chara = randomcomputer[com1select];
com1name = computername[com1select];
com2chara = randomcomputer[com2select];
com2name = computername[com2select];
_root.vsplayername = (((_root.p1name + " ") + "&") + " ") + _root.p2name;
_root.vscomname = (((_root.com1name + " ") + "&") + " ") + _root.com2name;
timer = 150;
pressonce = false;
onEnterFrame = function () {
timer--;
if (Key.isDown(32) && (pressonce == false)) {
timer = 0;
_root.entersound.start();
pressonce = true;
}
if (timer <= 0) {
_root.bg.attachMovie(_root.p1chara, "controlplayer", 1);
_root.bg.controlplayer._x = 1000;
_root.bg.controlplayer.attachMovie("lifebar", "lifebar", 100);
_root.bg.attachMovie(_root.p2chara, "player2", 2);
_root.bg.player2._x = 1300;
_root.bg.player2.attachMovie("lifebar", "lifebar", 101);
_root.bg.attachMovie(_root.com1chara, "com1", 3);
_root.bg.com1._x = 400;
_root.bg.com1._xscale = -100;
_root.bg.com1.attachMovie("lifebar", "lifebar", 102);
_root.bg.attachMovie(_root.com2chara, "com2", 4);
_root.bg.com2._x = 600;
_root.bg.com2._xscale = -100;
_root.bg.com2.attachMovie("lifebar", "lifebar", 103);
_root.bg.controlplayer.specialshoe = p1specialshoe;
_root.bg.player2.specialshoe = p2specialshoe;
_root.bg.com1.specialshoe = "default";
_root.bg.com2.specialshoe = "default";
_root.bg.controlplayer.loadonce = true;
_root.bg.player2.loadonce = true;
_root.bg.com1.loadonce = true;
_root.bg.com2.loadonce = true;
if ((bgm == 1) || (bgm == 5)) {
_root.finebgm.start(0, 99);
}
if ((bgm == 2) || (bgm == 3)) {
_root.sunsetbgm.start(0, 99);
}
if (bgm == 4) {
_root.equippedbgm.start(0, 99);
}
_root.fadein.call(obj, obj);
_root.nextFrame();
}
};
Instance of Symbol 982 MovieClip in Frame 11
onClipEvent (load) {
if (_root.p2chara == "zyx") {
zyx = "yes";
}
if (_root.p2chara == "wzc") {
wzc = "yes";
}
if (_root.p2chara == "zss") {
zss = "yes";
}
if (_root.p2chara == "yzz") {
yzz = "yes";
}
if (_root.p2chara == "zxz") {
zxz = "yes";
}
if (_root.p2chara == "dsh") {
dsh = "yes";
}
if (_root.p2chara == "yb") {
yb = "yes";
}
if (_root.p2chara == "tjh") {
tjh = "yes";
}
if (_root.p2chara == "sx") {
sx = "yes";
}
if (_root.p2chara == "sl") {
sl = "yes";
}
if (_root.p2chara == "hf") {
hf = "yes";
}
if (_root.p2chara == "wzy") {
wzy = "yes";
}
if (_root.p2chara == "ym") {
ym = "yes";
}
if (_root.p2chara == "fu") {
fu = "yes";
}
}
Instance of Symbol 982 MovieClip in Frame 11
onClipEvent (load) {
if (_root.p1chara == "zyx") {
zyx = "yes";
}
if (_root.p1chara == "wzc") {
wzc = "yes";
}
if (_root.p1chara == "zss") {
zss = "yes";
}
if (_root.p1chara == "yzz") {
yzz = "yes";
}
if (_root.p1chara == "zxz") {
zxz = "yes";
}
if (_root.p1chara == "dsh") {
dsh = "yes";
}
if (_root.p1chara == "yb") {
yb = "yes";
}
if (_root.p1chara == "tjh") {
tjh = "yes";
}
if (_root.p1chara == "sx") {
sx = "yes";
}
if (_root.p1chara == "sl") {
sl = "yes";
}
if (_root.p1chara == "hf") {
hf = "yes";
}
if (_root.p1chara == "wzy") {
wzy = "yes";
}
if (_root.p1chara == "ym") {
ym = "yes";
}
if (_root.p1chara == "fu") {
fu = "yes";
}
}
Instance of Symbol 982 MovieClip in Frame 11
onClipEvent (load) {
if (_root.com2chara == "zyx") {
zyx = "yes";
}
if (_root.com2chara == "wzc") {
wzc = "yes";
}
if (_root.com2chara == "zss") {
zss = "yes";
}
if (_root.com2chara == "yzz") {
yzz = "yes";
}
if (_root.com2chara == "zxz") {
zxz = "yes";
}
if (_root.com2chara == "dsh") {
dsh = "yes";
}
if (_root.com2chara == "yb") {
yb = "yes";
}
if (_root.com2chara == "tjh") {
tjh = "yes";
}
if (_root.com2chara == "sx") {
sx = "yes";
}
if (_root.com2chara == "sl") {
sl = "yes";
}
if (_root.com2chara == "hf") {
hf = "yes";
}
if (_root.com2chara == "wzy") {
wzy = "yes";
}
if (_root.com2chara == "ym") {
ym = "yes";
}
if (_root.com2chara == "fu") {
fu = "yes";
}
}
Instance of Symbol 982 MovieClip in Frame 11
onClipEvent (load) {
if (_root.com1chara == "zyx") {
zyx = "yes";
}
if (_root.com1chara == "wzc") {
wzc = "yes";
}
if (_root.com1chara == "zss") {
zss = "yes";
}
if (_root.com1chara == "yzz") {
yzz = "yes";
}
if (_root.com1chara == "zxz") {
zxz = "yes";
}
if (_root.com1chara == "dsh") {
dsh = "yes";
}
if (_root.com1chara == "yb") {
yb = "yes";
}
if (_root.com1chara == "tjh") {
tjh = "yes";
}
if (_root.com1chara == "sx") {
sx = "yes";
}
if (_root.com1chara == "sl") {
sl = "yes";
}
if (_root.com1chara == "hf") {
hf = "yes";
}
if (_root.com1chara == "wzy") {
wzy = "yes";
}
if (_root.com1chara == "ym") {
ym = "yes";
}
if (_root.com1chara == "fu") {
fu = "yes";
}
}
Instance of Symbol 989 MovieClip in Frame 11
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
this._alpha = this._alpha + 2;
if (this._alpha >= 100) {
this._alpha = 100;
}
}
Instance of Symbol 991 MovieClip in Frame 11
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
this._alpha = this._alpha + 2;
if (this._alpha >= 100) {
this._alpha = 100;
}
}
Frame 12
_root.bg.controlplayer._width = _root.bg.controlplayer._width * (_root.bg.controlplayer.charascale / 100);
_root.bg.controlplayer._height = _root.bg.controlplayer._height * (_root.bg.controlplayer.charascale / 100);
_root.bg.player2._width = _root.bg.player2._width * (_root.bg.player2.charascale / 100);
_root.bg.player2._height = _root.bg.player2._height * (_root.bg.player2.charascale / 100);
_root.bg.com1._width = _root.bg.com1._width * (_root.bg.com1.charascale / 100);
_root.bg.com1._height = _root.bg.com1._height * (_root.bg.com1.charascale / 100);
_root.bg.com2._width = _root.bg.com2._width * (_root.bg.com2.charascale / 100);
_root.bg.com2._height = _root.bg.com2._height * (_root.bg.com2.charascale / 100);
_root.enforceability.call(obj, obj);
_root.bg.controlplayer.score = 0;
_root.bg.player2.score = 0;
_root.bg.com1.score = 0;
_root.bg.com2.score = 0;
undercontrol = "controlplayer";
a = 65;
s = 83;
d = 68;
maxtime = initialtime;
timestart = false;
playerscore = 0;
ballpos = null;
paser = null;
passer = "none";
passerdirection = 100;
shoter = null;
shotername = null;
shoterdirection = 100;
scorer = null;
wzcspeech = false;
zyxspeech = false;
zssspeech = false;
zxzspeech = false;
tjhspeech = false;
sxspeech = false;
ybspeech = false;
yzzspeech = false;
walkleftscroll = false;
walkrightscroll = false;
runleftscroll = false;
runrightscroll = false;
com1walkleftscroll = false;
com1walkrightscroll = false;
com1runleftscroll = false;
com1runrightscroll = false;
com2walkleftscroll = false;
com2walkrightscroll = false;
com2runleftscroll = false;
com2runrightscroll = false;
outpossible = null;
celebration = false;
celebrationchara = null;
_root.attachMovie("scorebar", "scorebar", 100);
mvprandom = random(2);
if (mvprandom == 0) {
mvp = "player1";
}
if (mvprandom == 1) {
mvp = "player2";
}
threepoints = 0;
scoringnum = 0;
scoringattempt = 0;
blocks = 0;
steals = 0;
onEnterFrame = function () {
var _local2 = {x:_root.bg.controlplayer._x, y:_root.bg.controlplayer._y};
_root.bg.localToGlobal(_local2);
if (_root.ballpos == "controlplayer") {
if (_local2.x > 750) {
_root.bg._x = _root.bg._x - 30;
}
if (_local2.x < 60) {
_root.bg._x = _root.bg._x + 30;
}
}
var _local3 = {x:_root.bg.player2._x, y:_root.bg.player2._y};
_root.bg.localToGlobal(_local3);
if (_root.ballpos == "controlplayer") {
if ((_local3.x > 900) && (_root.implypartner._name != "implypartner")) {
_root.attachMovie("implypartner", "implypartner", 11);
_root.implypartner._x = 700;
_root.implypartner.gotoAndStop(1);
}
if ((_local3.x < -100) && (_root.implypartner._name != "implypartner")) {
_root.attachMovie("implypartner", "implypartner", 11);
_root.implypartner._x = 100;
_root.implypartner.gotoAndStop(2);
}
if (((_local3.x < 900) && (_local3.x > -100)) && (_root.implypartner._name == "implypartner")) {
_root.implypartner.removeMovieClip();
}
}
var _local5 = {x:_root.bg.com1._x, y:_root.bg.com1._y};
_root.bg.localToGlobal(_local5);
if (_root.ballpos == "com1") {
if (_local5.x > 750) {
_root.bg._x = _root.bg._x - 30;
}
if (_local5.x < 50) {
_root.bg._x = _root.bg._x + 30;
}
if ((_local2.x > 900) && (_root.implyplayer._name != "implyplayer")) {
_root.attachMovie("implyplayer", "implyplayer", 11);
_root.implyplayer._x = 700;
_root.implyplayer.gotoAndStop(1);
}
if ((_local2.x < -100) && (_root.implyplayer._name != "implyplayer")) {
_root.attachMovie("implyplayer", "implyplayer", 11);
_root.implyplayer._x = 100;
_root.implyplayer.gotoAndStop(2);
}
if (((_local2.x < 900) && (_local2.x > -100)) && (_root.implyplayer._name == "implyplayer")) {
_root.implyplayer.removeMovieClip();
}
}
var _local4 = {x:_root.bg.com2._x, y:_root.bg.com2._y};
_root.bg.localToGlobal(_local4);
if (_root.ballpos == "com2") {
if (_local4.x > 750) {
_root.bg._x = _root.bg._x - 30;
}
if (_local4.x < 50) {
_root.bg._x = _root.bg._x + 30;
}
if ((_local2.x > 900) && (_root.implyplayer._name != "implyplayer")) {
_root.attachMovie("implyplayer", "implyplayer", 11);
_root.implyplayer._x = 700;
_root.implyplayer.gotoAndStop(1);
}
if ((_local2.x < -100) && (_root.implyplayer._name != "implyplayer")) {
_root.attachMovie("implyplayer", "implyplayer", 11);
_root.implyplayer._x = 100;
_root.implyplayer.gotoAndStop(2);
}
if (((_local2.x < 900) && (_local2.x > -100)) && (_root.implyplayer._name == "implyplayer")) {
_root.implyplayer.removeMovieClip();
}
}
};
Instance of Symbol 858 MovieClip [camara] "cmr" in Frame 12
onClipEvent (enterFrame) {
if (_root.walkleftscroll == true) {
_root.bg._x = _root.bg._x + _root.bg.controlplayer.walkspeed;
}
if (_root.walkrightscroll == true) {
_root.bg._x = _root.bg._x - _root.bg.controlplayer.walkspeed;
}
if ((_root.runleftscroll == true) && (_root.ballpos == "controlplayer")) {
_root.bg._x = _root.bg._x + (_root.bg.controlplayer.runspeed - 2);
}
if (((_root.runleftscroll == true) && (_root.bg.controlplayer._currentframe == 31)) || (_root.bg.controlplayer._currentframe == 32)) {
_root.bg._x = _root.bg._x + (_root.bg.controlplayer.runspeed - 2);
}
if ((_root.runrightscroll == true) && (_root.ballpos == "controlplayer")) {
_root.bg._x = _root.bg._x - (_root.bg.controlplayer.runspeed - 2);
}
if (((_root.runrightscroll == true) && (_root.bg.controlplayer._currentframe == 31)) || (_root.bg.controlplayer._currentframe == 32)) {
_root.bg._x = _root.bg._x - (_root.bg.controlplayer.runspeed - 2);
}
if (_root.com1walkleftscroll == true) {
_root.bg._x = _root.bg._x + _root.bg.com1.walkspeed;
}
if (_root.com1walkrightscroll == true) {
_root.bg._x = _root.bg._x - _root.bg.com1.walkspeed;
}
if ((_root.com1runleftscroll == true) && (_root.ballpos == "com1")) {
_root.bg._x = _root.bg._x + (_root.bg.com1.runspeed - 2);
}
if (((_root.com1runleftscroll == true) && (_root.bg.com1._currentframe == 31)) || (_root.bg.com1._currentframe == 32)) {
_root.bg._x = _root.bg._x + (_root.bg.com1.runspeed - 2);
}
if ((_root.com1runrightscroll == true) && (_root.ballpos == "com1")) {
_root.bg._x = _root.bg._x - (_root.bg.com1.runspeed - 2);
}
if (((_root.com1runrightscroll == true) && (_root.bg.com1._currentframe == 31)) || (_root.bg.com1._currentframe == 32)) {
_root.bg._x = _root.bg._x - (_root.bg.com1.runspeed - 2);
}
if (_root.com2walkleftscroll == true) {
_root.bg._x = _root.bg._x + _root.bg.com2.walkspeed;
}
if (_root.com2walkrightscroll == true) {
_root.bg._x = _root.bg._x - _root.bg.com2.walkspeed;
}
if ((_root.com2runleftscroll == true) && (_root.ballpos == "com2")) {
_root.bg._x = _root.bg._x + (_root.bg.com2.runspeed - 2);
}
if (((_root.com2runleftscroll == true) && (_root.bg.com2._currentframe == 31)) || (_root.bg.com2._currentframe == 32)) {
_root.bg._x = _root.bg._x + (_root.bg.com2.runspeed - 2);
}
if ((_root.com2runrightscroll == true) && (_root.ballpos == "com2")) {
_root.bg._x = _root.bg._x - (_root.bg.com2.runspeed - 2);
}
if (((_root.com2runrightscroll == true) && (_root.bg.com2._currentframe == 31)) || (_root.bg.com2._currentframe == 32)) {
_root.bg._x = _root.bg._x - (_root.bg.com2.runspeed - 2);
}
if (_root.bg._x > -40) {
_root.bg._x = -40;
}
if (_root.bg._x < -2152) {
_root.bg._x = -2152;
}
_root.walkleftscroll = false;
_root.runleftscroll = false;
_root.walkrightscroll = false;
_root.runrightscroll = false;
}
Instance of Symbol 1009 MovieClip in Frame 12
onClipEvent (load) {
n = 0;
fcount = 1;
}
onClipEvent (enterFrame) {
time = (getTimer() - n) / 1000;
out = Math.ceil(frame / time);
frame++;
if (Key.isDown(32)) {
frame = 0;
n = getTimer();
}
}
Frame 13
if (_root.playerscore > _root.comscore) {
_root.currentsurvivalrounds = _root.currentsurvivalrounds + 1;
}
_root.survivaltotalscore = _root.survivaltotalscore + playerscore;
Instance of Symbol 1054 MovieClip in Frame 13
onClipEvent (load) {
this._y = -500;
movespeed = 2;
}
onClipEvent (enterFrame) {
this._y = this._y + movespeed;
movespeed = movespeed + 2;
if (this._y >= 40) {
this._y = 40;
}
}
Frame 14
if (_root.currentsurvivalrounds > _root.bestsurvivalrounds) {
_root.attachMovie("createanewrecord", "createanewrecord", 906);
survivalextrapoints = ((_root.currentsurvivalrounds - _root.bestsurvivalrounds) + _root.survivaltotalscore) * 200;
_root.funds = _root.funds + _root.survivalextrapoints;
}
if (_root.currentsurvivalrounds >= _root.bestsurvivalrounds) {
_root.bestsurvivalrounds = _root.currentsurvivalrounds;
}
timer = 50;
onEnterFrame = function () {
timer--;
if ((timer < 0) && (_root.blackfadeout.fadeout == true)) {
ok.enabled = false;
_root.gotoAndStop("mainmenu");
}
};
Frame 15
stop();
cost = 0;
choosenitem = null;
_root.goods._alpha = 0;
alphaspeed = 10;
_root.back._height = 10;
_root.x1 = 0;
_root.x2 = 600;
_root.y1 = 0;
_root.y2 = 400;
i = 1;
while (i < 40) {
zpos.duplicateMovieClip("m" + i, i);
_root["m" + i]._x = (Math.random() * (_root.x2 - _root.x1)) + _root.x1;
_root["m" + i]._y = (Math.random() * (_root.y2 - _root.y1)) + _root.y1;
_root["m" + i]._rotation = Math.ceil(Math.random() * 4) * 90;
_root["m" + i].onEnterFrame = function () {
if (this._currentframe == 25) {
this._x = (Math.random() * (_root.x2 - _root.x1)) + _root.x1;
this._y = (Math.random() * (_root.y2 - _root.y1)) + _root.y1;
this._rotation = Math.ceil(Math.random() * 4) * 90;
}
};
i++;
}
_root.onEnterFrame = function () {
_root["m" + Math.ceil(Math.random() * 40)].play();
};
_root.goods.onEnterFrame = function () {
_root.goods._alpha = _root.goods._alpha + alphaspeed;
alphaspeed++;
if (_root.goods._alpha >= 100) {
_root.goods._alpha = 100;
delete _root.goods.onEnterFrame;
}
};
_root.back.onEnterFrame = function () {
_root.back._height = _root.back._height + alphaspeed;
if (_root.back._height >= 308) {
_root.back._height = 308;
delete _root.back.onEnterFrame;
}
};
nextcode = null;
_root.code.onEnterFrame = function () {
if (Key.isDown(85)) {
nextcode = "78";
}
if ((nextcode == "78") && (Key.isDown(78))) {
nextcode = "76";
}
if ((nextcode == "76") && (Key.isDown(76))) {
nextcode = "79";
}
if ((nextcode == "79") && (Key.isDown(79))) {
nextcode = "67";
}
if ((nextcode == "67") && (Key.isDown(67))) {
nextcode = "75";
}
if ((nextcode == "75") && (Key.isDown(75))) {
nextcode = "65";
}
if ((nextcode == "65") && (Key.isDown(65))) {
nextcode = "762";
}
if ((nextcode == "762") && (Key.isDown(76))) {
nextcode = "763";
}
if ((nextcode == "763") && (Key.isDown(76))) {
_root.highligh.start();
shoe01 = true;
shoe02 = true;
shoe03 = true;
shoe04 = true;
shoe05 = true;
shoe06 = true;
shoe07 = true;
shoe08 = true;
shoe09 = true;
fu = true;
ym = true;
delete _root.code.onEnterFrame;
}
};
Instance of Symbol 1134 MovieClip in Frame 15
onClipEvent (load) {
timer = 20;
this._y = 0;
movespeed = 5;
backmove = false;
}
onClipEvent (enterFrame) {
timer--;
if ((backmove == false) && (timer <= 0)) {
this._y = this._y + movespeed;
movespeed = movespeed + 3;
if (this._y >= 120) {
movespeed = 1;
backmove = true;
}
}
if (backmove == true) {
this._y = this._y - movespeed;
movespeed = movespeed + 3;
if (this._y <= 110) {
this._y = 110;
}
}
}
Frame 16
function simulate(obj) {
if ((_root.acom1simu == "sx") || (_root.acom2simu == "sx")) {
teamascore = teamascore + random(10);
}
if ((_root.acom1simu == "yb") || (_root.acom2simu == "yb")) {
teamascore = teamascore + random(15);
}
if ((_root.acom1simu == "yb") || (_root.acom2simu == "yb")) {
teamascore = teamascore + (5 + random(10));
}
if ((_root.acom1simu == "tjh") || (_root.acom2simu == "tjh")) {
teamascore = teamascore + (5 + random(15));
}
if ((_root.acom1simu == "wzc") || (_root.acom2simu == "wzc")) {
teamascore = teamascore + (5 + random(20));
}
if ((_root.acom1simu == "zss") || (_root.acom2simu == "zss")) {
teamascore = teamascore + (10 + random(20));
}
if ((_root.acom1simu == "zyx") || (_root.acom2simu == "zyx")) {
teamascore = teamascore + (10 + random(20));
}
if ((_root.acom1simu == "yzz") || (_root.acom2simu == "yzz")) {
teamascore = teamascore + random(20);
}
if ((_root.acom1simu == "zxz") || (_root.acom2simu == "zxz")) {
teamascore = teamascore + random(10);
}
if ((_root.acom1simu == "sl") || (_root.acom2simu == "sl")) {
teamascore = teamascore + (10 + random(25));
}
if ((_root.acom1simu == "hf") || (_root.acom2simu == "hf")) {
teamascore = teamascore + (15 + random(25));
}
if ((_root.acom1simu == "wzy") || (_root.acom2simu == "wzy")) {
teamascore = teamascore + (15 + random(20));
}
if ((_root.acom1simu == "fu") || (_root.acom2simu == "fu")) {
teamascore = teamascore + (20 + random(50));
}
if ((_root.acom1simu == "ym") || (_root.acom2simu == "ym")) {
teamascore = teamascore + (20 + random(30));
}
if ((_root.bcom1simu == "sx") || (_root.bcom2simu == "sx")) {
teambscore = teambscore + random(10);
}
if ((_root.bcom1simu == "yb") || (_root.bcom2simu == "yb")) {
teambscore = teambscore + random(15);
}
if ((_root.bcom1simu == "yb") || (_root.bcom2simu == "yb")) {
teambscore = teambscore + (5 + random(10));
}
if ((_root.bcom1simu == "tjh") || (_root.bcom2simu == "tjh")) {
teambscore = teambscore + (5 + random(15));
}
if ((_root.bcom1simu == "wzc") || (_root.bcom2simu == "wzc")) {
teambscore = teambscore + (5 + random(20));
}
if ((_root.bcom1simu == "zss") || (_root.bcom2simu == "zss")) {
teambscore = teambscore + (10 + random(20));
}
if ((_root.bcom1simu == "zyx") || (_root.bcom2simu == "zyx")) {
teambscore = teambscore + (10 + random(20));
}
if ((_root.bcom1simu == "yzz") || (_root.bcom2simu == "yzz")) {
teambscore = teambscore + random(20);
}
if ((_root.bcom1simu == "zxz") || (_root.bcom2simu == "zxz")) {
teambscore = teambscore + random(10);
}
if ((_root.bcom1simu == "sl") || (_root.bcom2simu == "sl")) {
teambscore = teambscore + (10 + random(25));
}
if ((_root.bcom1simu == "hf") || (_root.bcom2simu == "hf")) {
teambscore = teambscore + (15 + random(25));
}
if ((_root.bcom1simu == "wzy") || (_root.bcom2simu == "wzy")) {
teambscore = teambscore + (15 + random(20));
}
if ((_root.bcom1simu == "fu") || (_root.bcom2simu == "fu")) {
teambscore = teambscore + (20 + random(50));
}
if ((_root.bcom1simu == "ym") || (_root.bcom2simu == "ym")) {
teambscore = teambscore + (20 + random(30));
}
if (teamascore == teambscore) {
teamascore = (teambscore + Math.round(Math.random() * -10)) + 5;
}
if (teamascore > teambscore) {
if (teamasimu == "_root.gb_team_1") {
_root.gb_team_1_w = _root.gb_team_1_w + 1;
_root.gb_team_1_s = _root.gb_team_1_s + (teamascore - teambscore);
_root.gb_team_1_pts = _root.gb_team_1_pts + 3;
}
if (teamasimu == "_root.gc_team_1") {
_root.gc_team_1_w = _root.gc_team_1_w + 1;
_root.gc_team_1_s = _root.gc_team_1_s + (teamascore - teambscore);
_root.gc_team_1_pts = _root.gc_team_1_pts + 3;
}
if (teamasimu == "_root.gd_team_1") {
_root.gd_team_1_w = _root.gd_team_1_w + 1;
_root.gd_team_1_s = _root.gd_team_1_s + (teamascore - teambscore);
_root.gd_team_1_pts = _root.gd_team_1_pts + 3;
}
if (teamasimu == "_root.ga_team_2") {
_root.ga_team_2_w = _root.ga_team_2_w + 1;
_root.ga_team_2_s = _root.ga_team_2_s + (teamascore - teambscore);
_root.ga_team_2_pts = _root.ga_team_2_pts + 3;
}
if (teamasimu == "_root.gb_team_2") {
_root.gb_team_2_w = _root.gb_team_2_w + 1;
_root.gb_team_2_s = _root.gb_team_2_s + (teamascore - teambscore);
_root.gb_team_2_pts = _root.gb_team_2_pts + 3;
}
if (teamasimu == "_root.gc_team_2") {
_root.gc_team_2_w = _root.gc_team_2_w + 1;
_root.gc_team_2_s = _root.gc_team_2_s + (teamascore - teambscore);
_root.gc_team_2_pts = _root.gc_team_2_pts + 3;
}
if (teamasimu == "_root.gd_team_2") {
_root.gd_team_2_w = _root.gd_team_2_w + 1;
_root.gd_team_2_s = _root.gd_team_2_s + (teamascore - teambscore);
_root.gd_team_2_pts = _root.gd_team_2_pts + 3;
}
if (teamasimu == "_root.ga_team_3") {
_root.ga_team_3_w = _root.ga_team_3_w + 1;
_root.ga_team_3_s = _root.ga_team_3_s + (teamascore - teambscore);
_root.ga_team_3_pts = _root.ga_team_3_pts + 3;
}
if (teamasimu == "_root.gb_team_3") {
_root.gb_team_3_w = _root.gb_team_3_w + 1;
_root.gb_team_3_s = _root.gb_team_3_s + (teamascore - teambscore);
_root.gb_team_3_pts = _root.gb_team_3_pts + 3;
}
if (teamasimu == "_root.gc_team_3") {
_root.gc_team_3_w = _root.gc_team_3_w + 1;
_root.gc_team_3_s = _root.gc_team_3_s + (teamascore - teambscore);
_root.gc_team_3_pts = _root.gc_team_3_pts + 3;
}
if (teamasimu == "_root.gd_team_3") {
_root.gd_team_3_w = _root.gd_team_3_w + 1;
_root.gd_team_3_s = _root.gd_team_3_s + (teamascore - teambscore);
_root.gd_team_3_pts = _root.gd_team_3_pts + 3;
}
if (teamasimu == "_root.ga_team_4") {
_root.ga_team_4_w = _root.ga_team_4_w + 1;
_root.ga_team_4_s = _root.ga_team_4_s + (teamascore - teambscore);
_root.ga_team_4_pts = _root.ga_team_4_pts + 3;
}
if (teamasimu == "_root.gb_team_4") {
_root.gb_team_4_w = _root.gb_team_4_w + 1;
_root.gb_team_4_s = _root.gb_team_4_s + (teamascore - teambscore);
_root.gb_team_4_pts = _root.gb_team_4_pts + 3;
}
if (teamasimu == "_root.gc_team_4") {
_root.gc_team_4_w = _root.gc_team_4_w + 1;
_root.gc_team_4_s = _root.gc_team_4_s + (teamascore - teambscore);
_root.gc_team_4_pts = _root.gc_team_4_pts + 3;
}
if (teamasimu == "_root.gd_team_4") {
_root.gd_team_4_w = _root.gd_team_4_w + 1;
_root.gd_team_4_s = _root.gd_team_4_s + (teamascore - teambscore);
_root.gd_team_4_pts = _root.gd_team_4_pts + 3;
}
if (teambsimu == "_root.gb_team_1") {
_root.gb_team_1_l = _root.gb_team_1_l + 1;
_root.gb_team_1_s = _root.gb_team_1_s - (teamascore - teambscore);
}
if (teambsimu == "_root.gc_team_1") {
_root.gc_team_1_l = _root.gc_team_1_l + 1;
_root.gc_team_1_s = _root.gc_team_1_s - (teamascore - teambscore);
}
if (teambsimu == "_root.gd_team_1") {
_root.gd_team_1_l = _root.gd_team_1_l + 1;
_root.gd_team_1_s = _root.gd_team_1_s - (teamascore - teambscore);
}
if (teambsimu == "_root.ga_team_2") {
_root.ga_team_2_l = _root.ga_team_2_l + 1;
_root.ga_team_2_s = _root.ga_team_2_s - (teamascore - teambscore);
}
if (teambsimu == "_root.gb_team_2") {
_root.gb_team_2_l = _root.gb_team_2_l + 1;
_root.gb_team_2_s = _root.gb_team_2_s - (teamascore - teambscore);
}
if (teambsimu == "_root.gc_team_2") {
_root.gc_team_2_l = _root.gc_team_2_l + 1;
_root.gc_team_2_s = _root.gc_team_2_s - (teamascore - teambscore);
}
if (teambsimu == "_root.gd_team_2") {
_root.gd_team_2_l = _root.gd_team_2_l + 1;
_root.gd_team_2_s = _root.gd_team_2_s - (teamascore - teambscore);
}
if (teambsimu == "_root.ga_team_3") {
_root.ga_team_3_l = _root.ga_team_3_l + 1;
_root.ga_team_3_s = _root.ga_team_3_s - (teamascore - teambscore);
}
if (teambsimu == "_root.gb_team_3") {
_root.gb_team_3_l = _root.gb_team_3_l + 1;
_root.gb_team_3_s = _root.gb_team_3_s - (teamascore - teambscore);
}
if (teambsimu == "_root.gc_team_3") {
_root.gc_team_3_l = _root.gc_team_3_l + 1;
_root.gc_team_3_s = _root.gc_team_3_s - (teamascore - teambscore);
}
if (teambsimu == "_root.gd_team_3") {
_root.gd_team_3_l = _root.gd_team_3_l + 1;
_root.gd_team_3_s = _root.gd_team_3_s - (teamascore - teambscore);
}
if (teambsimu == "_root.ga_team_4") {
_root.ga_team_4_l = _root.ga_team_4_l + 1;
_root.ga_team_4_s = _root.ga_team_4_s - (teamascore - teambscore);
}
if (teambsimu == "_root.gb_team_4") {
_root.gb_team_4_l = _root.gb_team_4_l + 1;
_root.gb_team_4_s = _root.gb_team_4_s - (teamascore - teambscore);
}
if (teambsimu == "_root.gc_team_4") {
_root.gc_team_4_l = _root.gc_team_4_l + 1;
_root.gc_team_4_s = _root.gc_team_4_s - (teamascore - teambscore);
}
if (teambsimu == "_root.gd_team_4") {
_root.gd_team_4_l = _root.gd_team_4_l + 1;
_root.gd_team_4_s = _root.gd_team_4_s - (teamascore - teambscore);
}
if (teamasimu == "_root.gah_team_1") {
_root.gah_team_1_result = "WIN";
}
if (teamasimu == "_root.gbh_team_1") {
_root.gbh_team_1_result = "WIN";
}
if (teamasimu == "_root.gch_team_1") {
_root.gch_team_1_result = "WIN";
}
if (teamasimu == "_root.gdh_team_1") {
_root.gdh_team_1_result = "WIN";
}
if (teamasimu == "_root.gah_team_2") {
_root.gah_team_2_result = "WIN";
}
if (teamasimu == "_root.gbh_team_2") {
_root.gbh_team_2_result = "WIN";
}
if (teamasimu == "_root.gch_team_2") {
_root.gch_team_2_result = "WIN";
}
if (teamasimu == "_root.gdh_team_2") {
_root.gdh_team_2_result = "WIN";
}
if (teambsimu == "_root.gah_team_1") {
_root.gah_team_1_result = "LOSE";
}
if (teambsimu == "_root.gbh_team_1") {
_root.gbh_team_1_result = "LOSE";
}
if (teambsimu == "_root.gch_team_1") {
_root.gch_team_1_result = "LOSE";
}
if (teambsimu == "_root.gdh_team_1") {
_root.gdh_team_1_result = "LOSE";
}
if (teambsimu == "_root.gah_team_2") {
_root.gah_team_2_result = "LOSE";
}
if (teambsimu == "_root.gbh_team_2") {
_root.gbh_team_2_result = "LOSE";
}
if (teambsimu == "_root.gch_team_2") {
_root.gch_team_2_result = "LOSE";
}
if (teambsimu == "_root.gdh_team_2") {
_root.gdh_team_2_result = "LOSE";
}
if (teamasimu == "_root.semifinal_team_1") {
_root.semifinal_team_1_result = "WIN";
}
if (teamasimu == "_root.semifinal_team_2") {
_root.semifinal_team_2_result = "WIN";
}
if (teamasimu == "_root.semifinal_team_3") {
_root.semifinal_team_3_result = "WIN";
}
if (teamasimu == "_root.semifinal_team_4") {
_root.semifinal_team_4_result = "WIN";
}
if (teambsimu == "_root.semifinal_team_1") {
_root.semifinal_team_1_result = "LOSE";
}
if (teambsimu == "_root.semifinal_team_2") {
_root.semifinal_team_2_result = "LOSE";
}
if (teambsimu == "_root.semifinal_team_3") {
_root.semifinal_team_3_result = "LOSE";
}
if (teambsimu == "_root.semifinal_team_4") {
_root.semifinal_team_4_result = "LOSE";
}
}
if (teamascore < teambscore) {
if (teambsimu == "_root.gb_team_1") {
_root.gb_team_1_w = _root.gb_team_1_w + 1;
_root.gb_team_1_s = _root.gb_team_1_s + (teambscore - teamascore);
_root.gb_team_1_pts = _root.gb_team_1_pts + 3;
}
if (teambsimu == "_root.gc_team_1") {
_root.gc_team_1_w = _root.gc_team_1_w + 1;
_root.gc_team_1_s = _root.gc_team_1_s + (teambscore - teamascore);
_root.gc_team_1_pts = _root.gc_team_1_pts + 3;
}
if (teambsimu == "_root.gd_team_1") {
_root.gd_team_1_w = _root.gd_team_1_w + 1;
_root.gd_team_1_s = _root.gd_team_1_s + (teambscore - teamascore);
_root.gd_team_1_pts = _root.gd_team_1_pts + 3;
}
if (teambsimu == "_root.ga_team_2") {
_root.ga_team_2_w = _root.ga_team_2_w + 1;
_root.ga_team_2_s = _root.ga_team_2_s + (teambscore - teamascore);
_root.ga_team_2_pts = _root.ga_team_2_pts + 3;
}
if (teambsimu == "_root.gb_team_2") {
_root.gb_team_2_w = _root.gb_team_2_w + 1;
_root.gb_team_2_s = _root.gb_team_2_s + (teambscore - teamascore);
_root.gb_team_2_pts = _root.gb_team_2_pts + 3;
}
if (teambsimu == "_root.gc_team_2") {
_root.gc_team_2_w = _root.gc_team_2_w + 1;
_root.gc_team_2_s = _root.gc_team_2_s + (teambscore - teamascore);
_root.gc_team_2_pts = _root.gc_team_2_pts + 3;
}
if (teambsimu == "_root.gd_team_2") {
_root.gd_team_2_w = _root.gd_team_2_w + 1;
_root.gd_team_2_s = _root.gd_team_2_s + (teambscore - teamascore);
_root.gd_team_2_pts = _root.gd_team_2_pts + 3;
}
if (teambsimu == "_root.ga_team_3") {
_root.ga_team_3_w = _root.ga_team_3_w + 1;
_root.ga_team_3_s = _root.ga_team_3_s + (teambscore - teamascore);
_root.ga_team_3_pts = _root.ga_team_3_pts + 3;
}
if (teambsimu == "_root.gb_team_3") {
_root.gb_team_3_w = _root.gb_team_3_w + 1;
_root.gb_team_3_s = _root.gb_team_3_s + (teambscore - teamascore);
_root.gb_team_3_pts = _root.gb_team_3_pts + 3;
}
if (teambsimu == "_root.gc_team_3") {
_root.gc_team_3_w = _root.gc_team_3_w + 1;
_root.gc_team_3_s = _root.gc_team_3_s + (teambscore - teamascore);
_root.gc_team_3_pts = _root.gc_team_3_pts + 3;
}
if (teambsimu == "_root.gd_team_3") {
_root.gd_team_3_w = _root.gd_team_3_w + 1;
_root.gd_team_3_s = _root.gd_team_3_s + (teambscore - teamascore);
_root.gd_team_3_pts = _root.gd_team_3_pts + 3;
}
if (teambsimu == "_root.ga_team_4") {
_root.ga_team_4_w = _root.ga_team_4_w + 1;
_root.ga_team_4_s = _root.ga_team_4_s + (teambscore - teamascore);
_root.ga_team_4_pts = _root.ga_team_4_pts + 3;
}
if (teambsimu == "_root.gb_team_4") {
_root.gb_team_4_w = _root.gb_team_4_w + 1;
_root.gb_team_4_s = _root.gb_team_4_s + (teambscore - teamascore);
_root.gb_team_4_pts = _root.gb_team_4_pts + 3;
}
if (teambsimu == "_root.gc_team_4") {
_root.gc_team_4_w = _root.gc_team_4_w + 1;
_root.gc_team_4_s = _root.gc_team_4_s + (teambscore - teamascore);
_root.gc_team_4_pts = _root.gc_team_4_pts + 3;
}
if (teambsimu == "_root.gd_team_4") {
_root.gd_team_4_w = _root.gd_team_4_w + 1;
_root.gd_team_4_s = _root.gd_team_4_s + (teambscore - teamascore);
_root.gd_team_4_pts = _root.gd_team_4_pts + 3;
}
if (teamasimu == "_root.gb_team_1") {
_root.gb_team_1_l = _root.gb_team_1_l + 1;
_root.gb_team_1_s = _root.gb_team_1_s + (teamascore - teambscore);
}
if (teamasimu == "_root.gc_team_1") {
_root.gc_team_1_l = _root.gc_team_1_l + 1;
_root.gc_team_1_s = _root.gc_team_1_s + (teamascore - teambscore);
}
if (teamasimu == "_root.gd_team_1") {
_root.gd_team_1_l = _root.gd_team_1_l + 1;
_root.gd_team_1_s = _root.gd_team_1_s + (teamascore - teambscore);
}
if (teamasimu == "_root.ga_team_2") {
_root.ga_team_2_l = _root.ga_team_2_l + 1;
_root.ga_team_2_s = _root.ga_team_2_s + (teamascore - teambscore);
}
if (teamasimu == "_root.gb_team_2") {
_root.gb_team_2_l = _root.gb_team_2_l + 1;
_root.gb_team_2_s = _root.gb_team_2_s + (teamascore - teambscore);
}
if (teamasimu == "_root.gc_team_2") {
_root.gc_team_2_l = _root.gc_team_2_l + 1;
_root.gc_team_2_s = _root.gc_team_2_s + (teamascore - teambscore);
}
if (teamasimu == "_root.gd_team_2") {
_root.gd_team_2_l = _root.gd_team_2_l + 1;
_root.gd_team_2_s = _root.gd_team_2_s + (teamascore - teambscore);
}
if (teamasimu == "_root.ga_team_3") {
_root.ga_team_3_l = _root.ga_team_3_l + 1;
_root.ga_team_3_s = _root.ga_team_3_s + (teamascore - teambscore);
}
if (teamasimu == "_root.gb_team_3") {
_root.gb_team_3_l = _root.gb_team_3_l + 1;
_root.gb_team_3_s = _root.gb_team_3_s + (teamascore - teambscore);
}
if (teamasimu == "_root.gc_team_3") {
_root.gc_team_3_l = _root.gc_team_3_l + 1;
_root.gc_team_3_s = _root.gc_team_3_s + (teamascore - teambscore);
}
if (teamasimu == "_root.gd_team_3") {
_root.gd_team_3_l = _root.gd_team_3_l + 1;
_root.gd_team_3_s = _root.gd_team_3_s + (teamascore - teambscore);
}
if (teamasimu == "_root.ga_team_4") {
_root.ga_team_4_l = _root.ga_team_4_l + 1;
_root.ga_team_4_s = _root.ga_team_4_s + (teamascore - teambscore);
}
if (teamasimu == "_root.gb_team_4") {
_root.gb_team_4_l = _root.gb_team_4_l + 1;
_root.gb_team_4_s = _root.gb_team_4_s + (teamascore - teambscore);
}
if (teamasimu == "_root.gc_team_4") {
_root.gc_team_4_l = _root.gc_team_4_l + 1;
_root.gc_team_4_s = _root.gc_team_4_s + (teamascore - teambscore);
}
if (teamasimu == "_root.gd_team_4") {
_root.gd_team_4_l = _root.gd_team_4_l + 1;
_root.gd_team_4_s = _root.gd_team_4_s + (teamascore - teambscore);
}
if (teamasimu == "_root.gah_team_1") {
_root.gah_team_1_result = "LOSE";
}
if (teamasimu == "_root.gbh_team_1") {
_root.gbh_team_1_result = "LOSE";
}
if (teamasimu == "_root.gch_team_1") {
_root.gch_team_1_result = "LOSE";
}
if (teamasimu == "_root.gdh_team_1") {
_root.gdh_team_1_result = "LOSE";
}
if (teamasimu == "_root.gah_team_2") {
_root.gah_team_2_result = "LOSE";
}
if (teamasimu == "_root.gbh_team_2") {
_root.gbh_team_2_result = "LOSE";
}
if (teamasimu == "_root.gch_team_2") {
_root.gch_team_2_result = "LOSE";
}
if (teamasimu == "_root.gdh_team_2") {
_root.gdh_team_2_result = "LOSE";
}
if (teambsimu == "_root.gah_team_1") {
_root.gah_team_1_result = "WIN";
}
if (teambsimu == "_root.gbh_team_1") {
_root.gbh_team_1_result = "WIN";
}
if (teambsimu == "_root.gch_team_1") {
_root.gch_team_1_result = "WIN";
}
if (teambsimu == "_root.gdh_team_1") {
_root.gdh_team_1_result = "WIN";
}
if (teambsimu == "_root.gah_team_2") {
_root.gah_team_2_result = "WIN";
}
if (teambsimu == "_root.gbh_team_2") {
_root.gbh_team_2_result = "WIN";
}
if (teambsimu == "_root.gch_team_2") {
_root.gch_team_2_result = "WIN";
}
if (teambsimu == "_root.gdh_team_2") {
_root.gdh_team_2_result = "WIN";
}
if (teambsimu == "_root.semifinal_team_1") {
_root.semifinal_team_1_result = "WIN";
}
if (teambsimu == "_root.semifinal_team_2") {
_root.semifinal_team_2_result = "WIN";
}
if (teambsimu == "_root.semifinal_team_3") {
_root.semifinal_team_3_result = "WIN";
}
if (teambsimu == "_root.semifinal_team_4") {
_root.semifinal_team_4_result = "WIN";
}
if (teamasimu == "_root.semifinal_team_1") {
_root.semifinal_team_1_result = "LOSE";
}
if (teamasimu == "_root.semifinal_team_2") {
_root.semifinal_team_2_result = "LOSE";
}
if (teamasimu == "_root.semifinal_team_3") {
_root.semifinal_team_3_result = "LOSE";
}
if (teamasimu == "_root.semifinal_team_4") {
_root.semifinal_team_4_result = "LOSE";
}
}
}
p1chara = "none";
p2chara = "none";
com1chara = "none";
com2chara = "none";
gamemode = "waytocup";
fixture = 1;
_root.ga_team_1_w = 0;
_root.ga_team_1_l = 0;
_root.ga_team_1_s = 0;
_root.ga_team_1_pts = 0;
_root.ga_team_2_w = 0;
_root.ga_team_2_l = 0;
_root.ga_team_2_s = 0;
_root.ga_team_2_pts = 0;
_root.ga_team_3_w = 0;
_root.ga_team_3_l = 0;
_root.ga_team_3_s = 0;
_root.ga_team_3_pts = 0;
_root.ga_team_4_w = 0;
_root.ga_team_4_l = 0;
_root.ga_team_4_s = 0;
_root.ga_team_4_pts = 0;
_root.gb_team_1_w = 0;
_root.gb_team_1_l = 0;
_root.gb_team_1_s = 0;
_root.gb_team_1_pts = 0;
_root.gb_team_2_w = 0;
_root.gb_team_2_l = 0;
_root.gb_team_2_s = 0;
_root.gb_team_2_pts = 0;
_root.gb_team_3_w = 0;
_root.gb_team_3_l = 0;
_root.gb_team_3_s = 0;
_root.gb_team_3_pts = 0;
_root.gb_team_4_w = 0;
_root.gb_team_4_l = 0;
_root.gb_team_4_s = 0;
_root.gb_team_4_pts = 0;
_root.gc_team_1_w = 0;
_root.gc_team_1_l = 0;
_root.gc_team_1_s = 0;
_root.gc_team_1_pts = 0;
_root.gc_team_2_w = 0;
_root.gc_team_2_l = 0;
_root.gc_team_2_s = 0;
_root.gc_team_2_pts = 0;
_root.gc_team_3_w = 0;
_root.gc_team_3_l = 0;
_root.gc_team_3_s = 0;
_root.gc_team_3_pts = 0;
_root.gc_team_4_w = 0;
_root.gc_team_4_l = 0;
_root.gc_team_4_s = 0;
_root.gc_team_4_pts = 0;
_root.gd_team_1_w = 0;
_root.gd_team_1_l = 0;
_root.gd_team_1_s = 0;
_root.gd_team_1_pts = 0;
_root.gd_team_2_w = 0;
_root.gd_team_2_l = 0;
_root.gd_team_2_s = 0;
_root.gd_team_2_pts = 0;
_root.gd_team_3_w = 0;
_root.gd_team_3_l = 0;
_root.gd_team_3_s = 0;
_root.gd_team_3_pts = 0;
_root.gd_team_4_w = 0;
_root.gd_team_4_l = 0;
_root.gd_team_4_s = 0;
_root.gd_team_4_pts = 0;
_root.gah_team_1 = " ";
_root.gah_team_2 = " ";
_root.gbh_team_1 = " ";
_root.gbh_team_2 = " ";
_root.gch_team_1 = " ";
_root.gch_team_2 = " ";
_root.gdh_team_1 = " ";
_root.gdh_team_2 = " ";
_root.semifinal_team_1 = " ";
_root.semifinal_team_2 = " ";
_root.semifinal_team_3 = " ";
_root.semifinal_team_4 = " ";
_root.final_team_1 = " ";
_root.final_team_2 = " ";
_root.gah_team_1_result = " ";
_root.gbh_team_1_result = " ";
_root.gch_team_1_result = " ";
_root.gdh_team_1_result = " ";
_root.gah_team_2_result = " ";
_root.gbh_team_2_result = " ";
_root.gch_team_2_result = " ";
_root.gdh_team_2_result = " ";
_root.semifinal_team_1_result = " ";
_root.semifinal_team_2_result = " ";
_root.semifinal_team_3_result = " ";
_root.semifinal_team_4_result = " ";
_root.final_team_1_result = " ";
_root.final_team_2_result = " ";
initialtime = 60;
initialcourts = 1;
courts = 2;
myfield = null;
fatigue = null;
wzcspeech = false;
zyxspeech = false;
zssspeech = false;
zxzspeech = false;
tjhspeech = false;
sxspeech = false;
ybspeech = false;
yzzspeech = false;
p1specialshoe = null;
teamascore = 0;
teambscore = 0;
randomcomputer = ["sx", "tjh", "yb", "dsh", "yzz", "zyx", "wzc", "zss", "zxz", "hf", "wzy", "sl", "ym", "fu"];
computername = ["Song Xin", "Tan Jinghai", "Yin Bing", "Dong Shuheng", "Yan Zhizhe", "Zhou Yixiong", "Wang Zhicai", "Zhang Shaoshuai", "Zhang Xiuzheng", "Han Feng", "Wang Zhiyuan", "Shao liang", "Yao Ming", "Fuck U"];
i = 2;
while (i <= 4) {
com1select = random(14);
com2select = random(14);
_root.ga_team_i_com1chara = randomcomputer[com1select];
_root.ga_team_i_com1name = computername[com1select];
_root.ga_team_i_com2chara = randomcomputer[com2select];
_root.ga_team_i_com2name = computername[com2select];
_root.ga_team_i = (((_root.ga_team_i_com1chara + " ") + "&") + " ") + _root.ga_team_i_com2chara;
if (i == 2) {
_root.ga_team_2 = _root.ga_team_i;
_root.ga_team_2_com1chara = _root.ga_team_i_com1chara;
_root.ga_team_2_com1name = _root.ga_team_i_com1name;
_root.ga_team_2_com2chara = _root.ga_team_i_com2chara;
_root.ga_team_2_com2name = _root.ga_team_i_com2name;
}
if (i == 3) {
_root.ga_team_3 = _root.ga_team_i;
_root.ga_team_3_com1chara = _root.ga_team_i_com1chara;
_root.ga_team_3_com1name = _root.ga_team_i_com1name;
_root.ga_team_3_com2chara = _root.ga_team_i_com2chara;
_root.ga_team_3_com2name = _root.ga_team_i_com2name;
}
if (i == 4) {
_root.ga_team_4 = _root.ga_team_i;
_root.ga_team_4_com1chara = _root.ga_team_i_com1chara;
_root.ga_team_4_com1name = _root.ga_team_i_com1name;
_root.ga_team_4_com2chara = _root.ga_team_i_com2chara;
_root.ga_team_4_com2name = _root.ga_team_i_com2name;
}
i++;
}
i = 1;
while (i <= 4) {
com1select = random(14);
com2select = random(14);
_root.gb_team_i_com1chara = randomcomputer[com1select];
_root.gb_team_i_com1name = computername[com1select];
_root.gb_team_i_com2chara = randomcomputer[com2select];
_root.gb_team_i_com2name = computername[com2select];
_root.gb_team_i = (((_root.gb_team_i_com1chara + " ") + "&") + " ") + _root.gb_team_i_com2chara;
if (i == 1) {
_root.gb_team_1 = _root.gb_team_i;
_root.gb_team_1_com1chara = _root.gb_team_i_com1chara;
_root.gb_team_1_com1name = _root.gb_team_i_com1name;
_root.gb_team_1_com2chara = _root.gb_team_i_com2chara;
_root.gb_team_1_com2name = _root.gb_team_i_com2name;
}
if (i == 2) {
_root.gb_team_2 = _root.gb_team_i;
_root.gb_team_2_com1chara = _root.gb_team_i_com1chara;
_root.gb_team_2_com1name = _root.gb_team_i_com1name;
_root.gb_team_2_com2chara = _root.gb_team_i_com2chara;
_root.gb_team_2_com2name = _root.gb_team_i_com2name;
}
if (i == 3) {
_root.gb_team_3 = _root.gb_team_i;
_root.gb_team_3_com1chara = _root.gb_team_i_com1chara;
_root.gb_team_3_com1name = _root.gb_team_i_com1name;
_root.gb_team_3_com2chara = _root.gb_team_i_com2chara;
_root.gb_team_3_com2name = _root.gb_team_i_com2name;
}
if (i == 4) {
_root.gb_team_4 = _root.gb_team_i;
_root.gb_team_4_com1chara = _root.gb_team_i_com1chara;
_root.gb_team_4_com1name = _root.gb_team_i_com1name;
_root.gb_team_4_com2chara = _root.gb_team_i_com2chara;
_root.gb_team_4_com2name = _root.gb_team_i_com2name;
}
i++;
}
i = 1;
while (i <= 4) {
com1select = random(14);
com2select = random(14);
_root.gc_team_i_com1chara = randomcomputer[com1select];
_root.gc_team_i_com1name = computername[com1select];
_root.gc_team_i_com2chara = randomcomputer[com2select];
_root.gc_team_i_com2name = computername[com2select];
_root.gc_team_i = (((_root.gc_team_i_com1chara + " ") + "&") + " ") + _root.gc_team_i_com2chara;
if (i == 1) {
_root.gc_team_1 = _root.gc_team_i;
_root.gc_team_1_com1chara = _root.gc_team_i_com1chara;
_root.gc_team_1_com1name = _root.gc_team_i_com1name;
_root.gc_team_1_com2chara = _root.gc_team_i_com2chara;
_root.gc_team_1_com2name = _root.gc_team_i_com2name;
}
if (i == 2) {
_root.gc_team_2 = _root.gc_team_i;
_root.gc_team_2_com1chara = _root.gc_team_i_com1chara;
_root.gc_team_2_com1name = _root.gc_team_i_com1name;
_root.gc_team_2_com2chara = _root.gc_team_i_com2chara;
_root.gc_team_2_com2name = _root.gc_team_i_com2name;
}
if (i == 3) {
_root.gc_team_3 = _root.gc_team_i;
_root.gc_team_3_com1chara = _root.gc_team_i_com1chara;
_root.gc_team_3_com1name = _root.gc_team_i_com1name;
_root.gc_team_3_com2chara = _root.gc_team_i_com2chara;
_root.gc_team_3_com2name = _root.gc_team_i_com2name;
}
if (i == 4) {
_root.gc_team_4 = _root.gc_team_i;
_root.gc_team_4_com1chara = _root.gc_team_i_com1chara;
_root.gc_team_4_com1name = _root.gc_team_i_com1name;
_root.gc_team_4_com2chara = _root.gc_team_i_com2chara;
_root.gc_team_4_com2name = _root.gc_team_i_com2name;
}
i++;
}
i = 1;
while (i <= 4) {
com1select = random(14);
com2select = random(14);
_root.gd_team_i_com1chara = randomcomputer[com1select];
_root.gd_team_i_com1name = computername[com1select];
_root.gd_team_i_com2chara = randomcomputer[com2select];
_root.gd_team_i_com2name = computername[com2select];
_root.gd_team_i = (((_root.gd_team_i_com1chara + " ") + "&") + " ") + _root.gd_team_i_com2chara;
if (i == 1) {
_root.gd_team_1 = _root.gd_team_i;
_root.gd_team_1_com1chara = _root.gd_team_i_com1chara;
_root.gd_team_1_com1name = _root.gd_team_i_com1name;
_root.gd_team_1_com2chara = _root.gd_team_i_com2chara;
_root.gd_team_1_com2name = _root.gd_team_i_com2name;
}
if (i == 2) {
_root.gd_team_2 = _root.gd_team_i;
_root.gd_team_2_com1chara = _root.gd_team_i_com1chara;
_root.gd_team_2_com1name = _root.gd_team_i_com1name;
_root.gd_team_2_com2chara = _root.gd_team_i_com2chara;
_root.gd_team_2_com2name = _root.gd_team_i_com2name;
}
if (i == 3) {
_root.gd_team_3 = _root.gd_team_i;
_root.gd_team_3_com1chara = _root.gd_team_i_com1chara;
_root.gd_team_3_com1name = _root.gd_team_i_com1name;
_root.gd_team_3_com2chara = _root.gd_team_i_com2chara;
_root.gd_team_3_com2name = _root.gd_team_i_com2name;
}
if (i == 4) {
_root.gd_team_4 = _root.gd_team_i;
_root.gd_team_4_com1chara = _root.gd_team_i_com1chara;
_root.gd_team_4_com1name = _root.gd_team_i_com1name;
_root.gd_team_4_com2chara = _root.gd_team_i_com2chara;
_root.gd_team_4_com2name = _root.gd_team_i_com2name;
}
i++;
}
function cancelunit1(obj) {
unit1.removeMovieClip();
attachMovie("unit1", "unit1", 202);
}
stop();
stopAllSounds();
_root.selectbgm.start(0, 99);
_root.bg._visible = false;
go.enabled = false;
this.attachMovie("unit1", "unit1", 202);
_root.x1 = 0;
_root.x2 = 600;
_root.y1 = 0;
_root.y2 = 400;
i = 1;
while (i < 40) {
zpos.duplicateMovieClip("m" + i, i);
_root["m" + i]._x = (Math.random() * (_root.x2 - _root.x1)) + _root.x1;
_root["m" + i]._y = (Math.random() * (_root.y2 - _root.y1)) + _root.y1;
_root["m" + i]._rotation = Math.ceil(Math.random() * 4) * 90;
_root["m" + i].onEnterFrame = function () {
if (this._currentframe == 25) {
this._x = (Math.random() * (_root.x2 - _root.x1)) + _root.x1;
this._y = (Math.random() * (_root.y2 - _root.y1)) + _root.y1;
this._rotation = Math.ceil(Math.random() * 4) * 90;
}
};
i++;
}
_root.onEnterFrame = function () {
_root["m" + Math.ceil(Math.random() * 40)].play();
if (_root.unit1.unitready == true) {
go.enabled = true;
} else {
go.enabled = false;
}
};
Instance of Symbol 1137 MovieClip in Frame 16
onClipEvent (load) {
timer = 20;
this._y = 0;
movespeed = 5;
backmove = false;
}
onClipEvent (enterFrame) {
timer--;
if ((backmove == false) && (timer <= 0)) {
this._y = this._y + movespeed;
movespeed = movespeed + 3;
if (this._y >= 150) {
movespeed = 1;
backmove = true;
}
}
if (backmove == true) {
this._y = this._y - movespeed;
movespeed = movespeed + 3;
if (this._y <= 140) {
this._y = 140;
}
}
}
Frame 17
stop();
delete onEnterFrame;
_root.bg.stadium.gotoAndStop(random(_root.bg.stadium._totalframes) + 1);
if (_root.fixture == 1) {
_root.com1chara = _root.ga_team_2_com1chara;
_root.com1name = _root.ga_team_2_com1name;
_root.com2chara = _root.ga_team_2_com2chara;
_root.com2name = _root.ga_team_2_com2name;
}
if (_root.fixture == 2) {
_root.com1chara = _root.ga_team_3_com1chara;
_root.com1name = _root.ga_team_3_com1name;
_root.com2chara = _root.ga_team_3_com2chara;
_root.com2name = _root.ga_team_3_com2name;
}
if (_root.fixture == 3) {
_root.com1chara = _root.ga_team_4_com1chara;
_root.com1name = _root.ga_team_4_com1name;
_root.com2chara = _root.ga_team_4_com2chara;
_root.com2name = _root.ga_team_4_com2name;
}
if (_root.fixture == 4) {
if (_root.gah_team_1 == ((((_root.p1chara + " ") + "&") + " ") + _root.p2chara)) {
_root.com1chara = _root.gbh_team_2_com1chara;
_root.com1name = _root.gbh_team_2_com1name;
_root.com2chara = _root.gbh_team_2_com2chara;
_root.com2name = _root.gbh_team_2_com2name;
}
if (_root.gah_team_2 == ((((_root.p1chara + " ") + "&") + " ") + _root.p2chara)) {
_root.com1chara = _root.gbh_team_1_com1chara;
_root.com1name = _root.gbh_team_1_com1name;
_root.com2chara = _root.gbh_team_1_com2chara;
_root.com2name = _root.gbh_team_1_com2name;
}
if ((_root.gah_team_1 != ((((_root.p1chara + " ") + "&") + " ") + _root.p2chara)) && (_root.gah_team_2 != ((((_root.p1chara + " ") + "&") + " ") + _root.p2chara))) {
_root.attachMovie("fade in", "eliminatefadein", 501);
}
}
if (_root.fixture == 5) {
if (_root.semifinal_team_1 == ((((_root.p1chara + " ") + "&") + " ") + _root.p2chara)) {
_root.com1chara = _root.semifinal_team_2_com1chara;
_root.com1name = _root.semifinal_team_2_com1name;
_root.com2chara = _root.semifinal_team_2_com2chara;
_root.com2name = _root.semifinal_team_2_com2name;
}
if (_root.semifinal_team_2 == ((((_root.p1chara + " ") + "&") + " ") + _root.p2chara)) {
_root.com1chara = _root.semifinal_team_1_com1chara;
_root.com1name = _root.semifinal_team_1_com1name;
_root.com2chara = _root.semifinal_team_1_com2chara;
_root.com2name = _root.semifinal_team_1_com2name;
}
if ((_root.semifinal_team_1 != ((((_root.p1chara + " ") + "&") + " ") + _root.p2chara)) && (_root.semifinal_team_2 != ((((_root.p1chara + " ") + "&") + " ") + _root.p2chara))) {
_root.attachMovie("fade in", "eliminatefadein", 501);
}
}
if (_root.fixture == 6) {
if (_root.final_team_1 == ((((_root.p1chara + " ") + "&") + " ") + _root.p2chara)) {
_root.com1chara = _root.final_team_2_com1chara;
_root.com1name = _root.final_team_2_com1name;
_root.com2chara = _root.final_team_2_com2chara;
_root.com2name = _root.final_team_2_com2name;
}
if (_root.final_team_1 != ((((_root.p1chara + " ") + "&") + " ") + _root.p2chara)) {
_root.attachMovie("fade in", "eliminatefadein", 501);
}
}
if (_root.fixture == 7) {
if (_root.final_team_1 == ((((_root.p1chara + " ") + "&") + " ") + _root.p2chara)) {
if (_root.final_team_1_result == "WIN") {
_root.attachMovie("fade in", "wincupfadein", 501);
}
if (_root.final_team_1_result == "LOSE") {
_root.attachMovie("fade in", "eliminatefadein", 501);
}
}
if (_root.final_team_2 == ((((_root.p1chara + " ") + "&") + " ") + _root.p2chara)) {
if (_root.final_team_2_result == "WIN") {
_root.attachMovie("fade in", "wincupfadein", 501);
}
if (_root.final_team_2_result == "LOSE") {
_root.attachMovie("fade in", "eliminatefadein", 501);
}
}
}
Instance of Symbol 1274 MovieClip "fixtures" in Frame 17
onClipEvent (load) {
movespeed = 30;
moveleft = false;
moveright = false;
}
onClipEvent (enterFrame) {
if (moveleft == true) {
moveright = false;
this._x = this._x - movespeed;
movespeed++;
}
if (moveright == true) {
moveleft = false;
this._x = this._x + movespeed;
movespeed++;
}
if (this._x >= 20) {
this._x = 20;
}
if (this._x <= -1025) {
this._x = -1025;
}
if (this._x == 20) {
_root.arrowbtl.gotoAndStop(2);
_root.arrowbtr.gotoAndStop(1);
_root.moveleftb.enabled = false;
_root.moverightb.enabled = true;
}
if (this._x == -1025) {
_root.arrowbtl.gotoAndStop(1);
_root.arrowbtr.gotoAndStop(2);
_root.moverightb.enabled = false;
_root.moveleftb.enabled = true;
}
}
Frame 18
initialcourts = 1;
stopAllSounds();
if ((bgm == 1) || (bgm == 5)) {
_root.finebgm.start(0, 99);
}
if ((bgm == 2) || (bgm == 3)) {
_root.sunsetbgm.start(0, 99);
}
if (bgm == 4) {
_root.equippedbgm.start(0, 99);
}
_root.vsplayername = (((_root.p1name + " ") + "&") + " ") + _root.p2name;
_root.vscomname = (((_root.com1name + " ") + "&") + " ") + _root.com2name;
timer = 150;
pressonce = false;
_root.cuproundshow = "Cup Fixture" + _root.fixture;
onEnterFrame = function () {
timer--;
if (Key.isDown(32) && (pressonce == false)) {
timer = 0;
_root.entersound.start();
pressonce = true;
}
if (timer <= 0) {
_root.bg.attachMovie(_root.p1chara, "controlplayer", 1);
_root.bg.controlplayer._x = 1000;
_root.bg.controlplayer.attachMovie("lifebar", "lifebar", 100);
_root.bg.attachMovie(_root.p2chara, "player2", 2);
_root.bg.player2._x = 1300;
_root.bg.player2.attachMovie("lifebar", "lifebar", 101);
_root.bg.attachMovie(_root.com1chara, "com1", 3);
_root.bg.com1._x = 400;
_root.bg.com1._xscale = -100;
_root.bg.com1.attachMovie("lifebar", "lifebar", 102);
_root.bg.attachMovie(_root.com2chara, "com2", 4);
_root.bg.com2._x = 600;
_root.bg.com2._xscale = -100;
_root.bg.com2.attachMovie("lifebar", "lifebar", 103);
_root.bg.controlplayer.specialshoe = p1specialshoe;
_root.bg.player2.specialshoe = p2specialshoe;
_root.bg.com1.specialshoe = "default";
_root.bg.com2.specialshoe = "default";
_root.bg.controlplayer.loadonce = true;
_root.bg.player2.loadonce = true;
_root.bg.com1.loadonce = true;
_root.bg.com2.loadonce = true;
_root.fadein.call(obj, obj);
_root.nextFrame();
}
};
Instance of Symbol 982 MovieClip in Frame 18
onClipEvent (load) {
if (_root.p2chara == "zyx") {
zyx = "yes";
}
if (_root.p2chara == "wzc") {
wzc = "yes";
}
if (_root.p2chara == "zss") {
zss = "yes";
}
if (_root.p2chara == "yzz") {
yzz = "yes";
}
if (_root.p2chara == "zxz") {
zxz = "yes";
}
if (_root.p2chara == "dsh") {
dsh = "yes";
}
if (_root.p2chara == "yb") {
yb = "yes";
}
if (_root.p2chara == "tjh") {
tjh = "yes";
}
if (_root.p2chara == "sx") {
sx = "yes";
}
if (_root.p2chara == "sl") {
sl = "yes";
}
if (_root.p2chara == "hf") {
hf = "yes";
}
if (_root.p2chara == "wzy") {
wzy = "yes";
}
if (_root.p2chara == "ym") {
ym = "yes";
}
if (_root.p2chara == "fu") {
fu = "yes";
}
}
Instance of Symbol 982 MovieClip in Frame 18
onClipEvent (load) {
if (_root.p1chara == "zyx") {
zyx = "yes";
}
if (_root.p1chara == "wzc") {
wzc = "yes";
}
if (_root.p1chara == "zss") {
zss = "yes";
}
if (_root.p1chara == "yzz") {
yzz = "yes";
}
if (_root.p1chara == "zxz") {
zxz = "yes";
}
if (_root.p1chara == "dsh") {
dsh = "yes";
}
if (_root.p1chara == "yb") {
yb = "yes";
}
if (_root.p1chara == "tjh") {
tjh = "yes";
}
if (_root.p1chara == "sx") {
sx = "yes";
}
if (_root.p1chara == "sl") {
sl = "yes";
}
if (_root.p1chara == "hf") {
hf = "yes";
}
if (_root.p1chara == "wzy") {
wzy = "yes";
}
if (_root.p1chara == "ym") {
ym = "yes";
}
if (_root.p1chara == "fu") {
fu = "yes";
}
}
Instance of Symbol 982 MovieClip in Frame 18
onClipEvent (load) {
if (_root.com2chara == "zyx") {
zyx = "yes";
}
if (_root.com2chara == "wzc") {
wzc = "yes";
}
if (_root.com2chara == "zss") {
zss = "yes";
}
if (_root.com2chara == "yzz") {
yzz = "yes";
}
if (_root.com2chara == "zxz") {
zxz = "yes";
}
if (_root.com2chara == "dsh") {
dsh = "yes";
}
if (_root.com2chara == "yb") {
yb = "yes";
}
if (_root.com2chara == "tjh") {
tjh = "yes";
}
if (_root.com2chara == "sx") {
sx = "yes";
}
if (_root.com2chara == "sl") {
sl = "yes";
}
if (_root.com2chara == "hf") {
hf = "yes";
}
if (_root.com2chara == "wzy") {
wzy = "yes";
}
if (_root.com2chara == "ym") {
ym = "yes";
}
if (_root.com2chara == "fu") {
fu = "yes";
}
}
Instance of Symbol 982 MovieClip in Frame 18
onClipEvent (load) {
if (_root.com1chara == "zyx") {
zyx = "yes";
}
if (_root.com1chara == "wzc") {
wzc = "yes";
}
if (_root.com1chara == "zss") {
zss = "yes";
}
if (_root.com1chara == "yzz") {
yzz = "yes";
}
if (_root.com1chara == "zxz") {
zxz = "yes";
}
if (_root.com1chara == "dsh") {
dsh = "yes";
}
if (_root.com1chara == "yb") {
yb = "yes";
}
if (_root.com1chara == "tjh") {
tjh = "yes";
}
if (_root.com1chara == "sx") {
sx = "yes";
}
if (_root.com1chara == "sl") {
sl = "yes";
}
if (_root.com1chara == "hf") {
hf = "yes";
}
if (_root.com1chara == "wzy") {
wzy = "yes";
}
if (_root.com1chara == "ym") {
ym = "yes";
}
if (_root.com1chara == "fu") {
fu = "yes";
}
}
Instance of Symbol 989 MovieClip in Frame 18
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
this._alpha = this._alpha + 2;
if (this._alpha >= 100) {
this._alpha = 100;
}
}
Instance of Symbol 991 MovieClip in Frame 18
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
this._alpha = this._alpha + 2;
if (this._alpha >= 100) {
this._alpha = 100;
}
}
Frame 19
_root.bg.controlplayer._width = _root.bg.controlplayer._width * (_root.bg.controlplayer.charascale / 100);
_root.bg.controlplayer._height = _root.bg.controlplayer._height * (_root.bg.controlplayer.charascale / 100);
_root.bg.player2._width = _root.bg.player2._width * (_root.bg.player2.charascale / 100);
_root.bg.player2._height = _root.bg.player2._height * (_root.bg.player2.charascale / 100);
_root.bg.com1._width = _root.bg.com1._width * (_root.bg.com1.charascale / 100);
_root.bg.com1._height = _root.bg.com1._height * (_root.bg.com1.charascale / 100);
_root.bg.com2._width = _root.bg.com2._width * (_root.bg.com2.charascale / 100);
_root.bg.com2._height = _root.bg.com2._height * (_root.bg.com2.charascale / 100);
_root.enforceability.call(obj, obj);
playerscore = 0;
comscore = 0;
_root.bg.controlplayer.score = 0;
_root.bg.player2.score = 0;
_root.bg.com1.score = 0;
_root.bg.com2.score = 0;
undercontrol = "controlplayer";
a = 65;
s = 83;
d = 68;
maxtime = initialtime;
timestart = false;
playerscore = 0;
ballpos = null;
paser = null;
passer = "none";
passerdirection = 100;
shoter = null;
shotername = null;
shoterdirection = 100;
scorer = null;
wzcspeech = false;
zyxspeech = false;
zssspeech = false;
zxzspeech = false;
tjhspeech = false;
sxspeech = false;
ybspeech = false;
yzzspeech = false;
walkleftscroll = false;
walkrightscroll = false;
runleftscroll = false;
runrightscroll = false;
com1walkleftscroll = false;
com1walkrightscroll = false;
com1runleftscroll = false;
com1runrightscroll = false;
com2walkleftscroll = false;
com2walkrightscroll = false;
com2runleftscroll = false;
com2runrightscroll = false;
outpossible = null;
celebration = false;
celebrationchara = null;
_root.attachMovie("scorebar", "scorebar", 100);
mvprandom = random(2);
if (mvprandom == 0) {
mvp = "player1";
}
if (mvprandom == 1) {
mvp = "player2";
}
threepoints = 0;
scoringnum = 0;
scoringattempt = 0;
blocks = 0;
steals = 0;
onEnterFrame = function () {
var _local2 = {x:_root.bg.controlplayer._x, y:_root.bg.controlplayer._y};
_root.bg.localToGlobal(_local2);
if (_root.ballpos == "controlplayer") {
if (_local2.x > 750) {
_root.bg._x = _root.bg._x - 30;
}
if (_local2.x < 60) {
_root.bg._x = _root.bg._x + 30;
}
}
var _local3 = {x:_root.bg.player2._x, y:_root.bg.player2._y};
_root.bg.localToGlobal(_local3);
if (_root.ballpos == "controlplayer") {
if ((_local3.x > 900) && (_root.implypartner._name != "implypartner")) {
_root.attachMovie("implypartner", "implypartner", 11);
_root.implypartner._x = 700;
_root.implypartner.gotoAndStop(1);
}
if ((_local3.x < -100) && (_root.implypartner._name != "implypartner")) {
_root.attachMovie("implypartner", "implypartner", 11);
_root.implypartner._x = 100;
_root.implypartner.gotoAndStop(2);
}
if (((_local3.x < 900) && (_local3.x > -100)) && (_root.implypartner._name == "implypartner")) {
_root.implypartner.removeMovieClip();
}
}
var _local5 = {x:_root.bg.com1._x, y:_root.bg.com1._y};
_root.bg.localToGlobal(_local5);
if (_root.ballpos == "com1") {
if (_local5.x > 750) {
_root.bg._x = _root.bg._x - 30;
}
if (_local5.x < 50) {
_root.bg._x = _root.bg._x + 30;
}
if ((_local2.x > 900) && (_root.implyplayer._name != "implyplayer")) {
_root.attachMovie("implyplayer", "implyplayer", 11);
_root.implyplayer._x = 700;
_root.implyplayer.gotoAndStop(1);
}
if ((_local2.x < -100) && (_root.implyplayer._name != "implyplayer")) {
_root.attachMovie("implyplayer", "implyplayer", 11);
_root.implyplayer._x = 100;
_root.implyplayer.gotoAndStop(2);
}
if (((_local2.x < 900) && (_local2.x > -100)) && (_root.implyplayer._name == "implyplayer")) {
_root.implyplayer.removeMovieClip();
}
}
var _local4 = {x:_root.bg.com2._x, y:_root.bg.com2._y};
_root.bg.localToGlobal(_local4);
if (_root.ballpos == "com2") {
if (_local4.x > 750) {
_root.bg._x = _root.bg._x - 30;
}
if (_local4.x < 50) {
_root.bg._x = _root.bg._x + 30;
}
if ((_local2.x > 900) && (_root.implyplayer._name != "implyplayer")) {
_root.attachMovie("implyplayer", "implyplayer", 11);
_root.implyplayer._x = 700;
_root.implyplayer.gotoAndStop(1);
}
if ((_local2.x < -100) && (_root.implyplayer._name != "implyplayer")) {
_root.attachMovie("implyplayer", "implyplayer", 11);
_root.implyplayer._x = 100;
_root.implyplayer.gotoAndStop(2);
}
if (((_local2.x < 900) && (_local2.x > -100)) && (_root.implyplayer._name == "implyplayer")) {
_root.implyplayer.removeMovieClip();
}
}
};
_root.cmr.onLoad = function () {
ctimer = 50;
};
_root.cmr.onEnterFrame = function () {
ctimer--;
if (ctimer == 0) {
_root.attachMovie("caitiaoqi", "caitiaoqi", 999);
delete _root.commentary.onEnterFrame;
}
};
Instance of Symbol 858 MovieClip [camara] "cmr" in Frame 19
onClipEvent (enterFrame) {
if (_root.walkleftscroll == true) {
_root.bg._x = _root.bg._x + _root.bg.controlplayer.walkspeed;
}
if (_root.walkrightscroll == true) {
_root.bg._x = _root.bg._x - _root.bg.controlplayer.walkspeed;
}
if ((_root.runleftscroll == true) && (_root.ballpos == "controlplayer")) {
_root.bg._x = _root.bg._x + (_root.bg.controlplayer.runspeed - 2);
}
if (((_root.runleftscroll == true) && (_root.bg.controlplayer._currentframe == 31)) || (_root.bg.controlplayer._currentframe == 32)) {
_root.bg._x = _root.bg._x + (_root.bg.controlplayer.runspeed - 2);
}
if ((_root.runrightscroll == true) && (_root.ballpos == "controlplayer")) {
_root.bg._x = _root.bg._x - (_root.bg.controlplayer.runspeed - 2);
}
if (((_root.runrightscroll == true) && (_root.bg.controlplayer._currentframe == 31)) || (_root.bg.controlplayer._currentframe == 32)) {
_root.bg._x = _root.bg._x - (_root.bg.controlplayer.runspeed - 2);
}
if (_root.com1walkleftscroll == true) {
_root.bg._x = _root.bg._x + _root.bg.com1.walkspeed;
}
if (_root.com1walkrightscroll == true) {
_root.bg._x = _root.bg._x - _root.bg.com1.walkspeed;
}
if ((_root.com1runleftscroll == true) && (_root.ballpos == "com1")) {
_root.bg._x = _root.bg._x + (_root.bg.com1.runspeed - 2);
}
if (((_root.com1runleftscroll == true) && (_root.bg.com1._currentframe == 31)) || (_root.bg.com1._currentframe == 32)) {
_root.bg._x = _root.bg._x + (_root.bg.com1.runspeed - 2);
}
if ((_root.com1runrightscroll == true) && (_root.ballpos == "com1")) {
_root.bg._x = _root.bg._x - (_root.bg.com1.runspeed - 2);
}
if (((_root.com1runrightscroll == true) && (_root.bg.com1._currentframe == 31)) || (_root.bg.com1._currentframe == 32)) {
_root.bg._x = _root.bg._x - (_root.bg.com1.runspeed - 2);
}
if (_root.com2walkleftscroll == true) {
_root.bg._x = _root.bg._x + _root.bg.com2.walkspeed;
}
if (_root.com2walkrightscroll == true) {
_root.bg._x = _root.bg._x - _root.bg.com2.walkspeed;
}
if ((_root.com2runleftscroll == true) && (_root.ballpos == "com2")) {
_root.bg._x = _root.bg._x + (_root.bg.com2.runspeed - 2);
}
if (((_root.com2runleftscroll == true) && (_root.bg.com2._currentframe == 31)) || (_root.bg.com2._currentframe == 32)) {
_root.bg._x = _root.bg._x + (_root.bg.com2.runspeed - 2);
}
if ((_root.com2runrightscroll == true) && (_root.ballpos == "com2")) {
_root.bg._x = _root.bg._x - (_root.bg.com2.runspeed - 2);
}
if (((_root.com2runrightscroll == true) && (_root.bg.com2._currentframe == 31)) || (_root.bg.com2._currentframe == 32)) {
_root.bg._x = _root.bg._x - (_root.bg.com2.runspeed - 2);
}
if (_root.bg._x > -40) {
_root.bg._x = -40;
}
if (_root.bg._x < -2152) {
_root.bg._x = -2152;
}
_root.walkleftscroll = false;
_root.runleftscroll = false;
_root.walkrightscroll = false;
_root.runrightscroll = false;
}
Instance of Symbol 1009 MovieClip in Frame 19
onClipEvent (load) {
n = 0;
fcount = 1;
}
onClipEvent (enterFrame) {
time = (getTimer() - n) / 1000;
out = Math.ceil(frame / time);
frame++;
if (Key.isDown(32)) {
frame = 0;
n = getTimer();
}
}
Frame 20
if (_root.fixture == 1) {
if (_root.playerscore > _root.comscore) {
_root.ga_team_1_w = _root.ga_team_1_w + 1;
_root.ga_team_1_s = _root.ga_team_1_s + (playerscore - comscore);
_root.ga_team_1_pts = _root.ga_team_1_pts + 3;
_root.ga_team_2_l = _root.ga_team_2_l + 1;
_root.ga_team_2_s = _root.ga_team_2_s - (playerscore - comscore);
}
if (_root.playerscore <= _root.comscore) {
_root.ga_team_1_l = _root.ga_team_1_l + 1;
_root.ga_team_1_s = _root.ga_team_1_s - (comscore - playerscore);
_root.ga_team_2_w = _root.ga_team_2_w + 1;
_root.ga_team_2_s = _root.ga_team_2_s + (comscore - playerscore);
_root.ga_team_2_pts = _root.ga_team_2_pts + 3;
}
teamasimu = "_root.gb_team_1";
teambsimu = "_root.gb_team_2";
_root.acom1simu = _root.gb_team_1_com1chara;
_root.acom2simu = _root.gb_team_1_com2chara;
_root.bcom1simu = _root.gb_team_2_com1chara;
_root.bcom2simu = _root.gb_team_2_com2chara;
_root.simulate.call(obj, obj);
teamasimu = "_root.gc_team_1";
teambsimu = "_root.gc_team_2";
_root.acom1simu = _root.gc_team_1_com1chara;
_root.acom2simu = _root.gc_team_1_com2chara;
_root.bcom1simu = _root.gc_team_2_com1chara;
_root.bcom2simu = _root.gc_team_2_com2chara;
_root.simulate.call(obj, obj);
teamasimu = "_root.gd_team_1";
teambsimu = "_root.gd_team_2";
_root.acom1simu = _root.gd_team_1_com1chara;
_root.acom2simu = _root.gd_team_1_com2chara;
_root.bcom1simu = _root.gd_team_2_com1chara;
_root.bcom2simu = _root.gd_team_2_com2chara;
_root.simulate.call(obj, obj);
teamasimu = "_root.ga_team_3";
teambsimu = "_root.ga_team_4";
_root.acom1simu = _root.ga_team_3_com1chara;
_root.acom2simu = _root.ga_team_3_com2chara;
_root.bcom1simu = _root.ga_team_4_com1chara;
_root.bcom2simu = _root.ga_team_4_com2chara;
_root.simulate.call(obj, obj);
teamasimu = "_root.gb_team_3";
teambsimu = "_root.gb_team_4";
_root.acom1simu = _root.gb_team_3_com1chara;
_root.acom2simu = _root.gb_team_3_com2chara;
_root.bcom1simu = _root.gb_team_4_com1chara;
_root.bcom2simu = _root.gb_team_4_com2chara;
_root.simulate.call(obj, obj);
teamasimu = "_root.gc_team_3";
teambsimu = "_root.gc_team_4";
_root.acom1simu = _root.gc_team_3_com1chara;
_root.acom2simu = _root.gc_team_3_com2chara;
_root.bcom1simu = _root.gc_team_4_com1chara;
_root.bcom2simu = _root.gc_team_4_com2chara;
_root.simulate.call(obj, obj);
teamasimu = "_root.gd_team_3";
teambsimu = "_root.gd_team_4";
_root.acom1simu = _root.gd_team_3_com1chara;
_root.acom2simu = _root.gd_team_3_com2chara;
_root.bcom1simu = _root.gd_team_4_com1chara;
_root.bcom2simu = _root.gd_team_4_com2chara;
_root.simulate.call(obj, obj);
}
if (_root.fixture == 2) {
if (_root.playerscore > _root.comscore) {
_root.ga_team_1_w = _root.ga_team_1_w + 1;
_root.ga_team_1_s = _root.ga_team_1_s + (playerscore - comscore);
_root.ga_team_1_pts = _root.ga_team_1_pts + 3;
_root.ga_team_3_l = _root.ga_team_3_l + 1;
_root.ga_team_3_s = _root.ga_team_3_s - (playerscore - comscore);
}
if (_root.playerscore <= _root.comscore) {
_root.ga_team_1_l = _root.ga_team_1_l + 1;
_root.ga_team_1_s = _root.ga_team_1_s - (comscore - playerscore);
_root.ga_team_3_w = _root.ga_team_3_w + 1;
_root.ga_team_3_s = _root.ga_team_3_s + (comscore - playerscore);
_root.ga_team_3_pts = _root.ga_team_3_pts + 3;
}
teamasimu = "_root.gb_team_1";
teambsimu = "_root.gb_team_3";
_root.acom1simu = _root.gb_team_1_com1chara;
_root.acom2simu = _root.gb_team_1_com2chara;
_root.bcom1simu = _root.gb_team_3_com1chara;
_root.bcom2simu = _root.gb_team_3_com2chara;
_root.simulate.call(obj, obj);
teamasimu = "_root.gc_team_1";
teambsimu = "_root.gc_team_3";
_root.acom1simu = _root.gc_team_1_com1chara;
_root.acom2simu = _root.gc_team_1_com2chara;
_root.bcom1simu = _root.gc_team_3_com1chara;
_root.bcom2simu = _root.gc_team_3_com2chara;
_root.simulate.call(obj, obj);
teamasimu = "_root.gd_team_1";
teambsimu = "_root.gd_team_3";
_root.acom1simu = _root.gd_team_1_com1chara;
_root.acom2simu = _root.gd_team_1_com2chara;
_root.bcom1simu = _root.gd_team_3_com1chara;
_root.bcom2simu = _root.gd_team_3_com2chara;
_root.simulate.call(obj, obj);
teamasimu = "_root.ga_team_2";
teambsimu = "_root.ga_team_4";
_root.acom1simu = _root.ga_team_2_com1chara;
_root.acom2simu = _root.ga_team_2_com2chara;
_root.bcom1simu = _root.ga_team_4_com1chara;
_root.bcom2simu = _root.ga_team_4_com2chara;
_root.simulate.call(obj, obj);
teamasimu = "_root.gb_team_2";
teambsimu = "_root.gb_team_4";
_root.acom1simu = _root.gb_team_2_com1chara;
_root.acom2simu = _root.gb_team_2_com2chara;
_root.bcom1simu = _root.gb_team_4_com1chara;
_root.bcom2simu = _root.gb_team_4_com2chara;
_root.simulate.call(obj, obj);
teamasimu = "_root.gc_team_2";
teambsimu = "_root.gc_team_4";
_root.acom1simu = _root.gc_team_2_com1chara;
_root.acom2simu = _root.gc_team_2_com2chara;
_root.bcom1simu = _root.gc_team_4_com1chara;
_root.bcom2simu = _root.gc_team_4_com2chara;
_root.simulate.call(obj, obj);
teamasimu = "_root.gd_team_2";
teambsimu = "_root.gd_team_4";
_root.acom1simu = _root.gd_team_2_com1chara;
_root.acom2simu = _root.gd_team_2_com2chara;
_root.bcom1simu = _root.gd_team_4_com1chara;
_root.bcom2simu = _root.gd_team_4_com2chara;
_root.simulate.call(obj, obj);
}
if (_root.fixture == 3) {
if (_root.playerscore > _root.comscore) {
_root.ga_team_1_w = _root.ga_team_1_w + 1;
_root.ga_team_1_s = _root.ga_team_1_s + (playerscore - comscore);
_root.ga_team_1_pts = _root.ga_team_1_pts + 3;
_root.ga_team_4_l = _root.ga_team_4_l + 1;
_root.ga_team_4_s = _root.ga_team_4_s - (playerscore - comscore);
}
if (_root.playerscore <= _root.comscore) {
_root.ga_team_1_l = _root.ga_team_1_l + 1;
_root.ga_team_1_s = _root.ga_team_1_s - (comscore - playerscore);
_root.ga_team_4_w = _root.ga_team_4_w + 1;
_root.ga_team_4_s = _root.ga_team_4_s + (comscore - playerscore);
_root.ga_team_4_pts = _root.ga_team_4_pts + 3;
}
teamasimu = "_root.gb_team_1";
teambsimu = "_root.gb_team_4";
_root.acom1simu = _root.gb_team_1_com1chara;
_root.acom2simu = _root.gb_team_1_com2chara;
_root.bcom1simu = _root.gb_team_4_com1chara;
_root.bcom2simu = _root.gb_team_4_com2chara;
_root.simulate.call(obj, obj);
teamasimu = "_root.gc_team_1";
teambsimu = "_root.gc_team_4";
_root.acom1simu = _root.gc_team_1_com1chara;
_root.acom2simu = _root.gc_team_1_com2chara;
_root.bcom1simu = _root.gc_team_4_com1chara;
_root.bcom2simu = _root.gc_team_4_com2chara;
_root.simulate.call(obj, obj);
teamasimu = "_root.gd_team_1";
teambsimu = "_root.gd_team_4";
_root.acom1simu = _root.gd_team_1_com1chara;
_root.acom2simu = _root.gd_team_1_com2chara;
_root.bcom1simu = _root.gd_team_4_com1chara;
_root.bcom2simu = _root.gd_team_4_com2chara;
_root.simulate.call(obj, obj);
teamasimu = "_root.ga_team_2";
teambsimu = "_root.ga_team_3";
_root.acom1simu = _root.ga_team_2_com1chara;
_root.acom2simu = _root.ga_team_2_com2chara;
_root.bcom1simu = _root.ga_team_3_com1chara;
_root.bcom2simu = _root.ga_team_3_com2chara;
_root.simulate.call(obj, obj);
teamasimu = "_root.gb_team_2";
teambsimu = "_root.gb_team_3";
_root.acom1simu = _root.gb_team_2_com1chara;
_root.acom2simu = _root.gb_team_2_com2chara;
_root.bcom1simu = _root.gb_team_3_com1chara;
_root.bcom2simu = _root.gb_team_3_com2chara;
_root.simulate.call(obj, obj);
teamasimu = "_root.gc_team_2";
teambsimu = "_root.gc_team_3";
_root.acom1simu = _root.gc_team_2_com1chara;
_root.acom2simu = _root.gc_team_2_com2chara;
_root.bcom1simu = _root.gc_team_3_com1chara;
_root.bcom2simu = _root.gc_team_3_com2chara;
_root.simulate.call(obj, obj);
teamasimu = "_root.gd_team_2";
teambsimu = "_root.gd_team_3";
_root.acom1simu = _root.gd_team_2_com1chara;
_root.acom2simu = _root.gd_team_2_com2chara;
_root.bcom1simu = _root.gd_team_3_com1chara;
_root.bcom2simu = _root.gd_team_3_com2chara;
_root.simulate.call(obj, obj);
group_a_pts = [_root.ga_team_1_pts, _root.ga_team_2_pts, _root.ga_team_3_pts, _root.ga_team_4_pts];
group_a_pts.sortOn(Array.NUMERIC);
if (group_a_pts[3] == _root.ga_team_1_pts) {
_root.gah_team_1_com1chara = _root.p1chara;
_root.gah_team_1_com1name = _root.p1name;
_root.gah_team_1_com2chara = _root.p2chara;
_root.gah_team_1_com2name = _root.p2name;
_root.gah_team_1 = (((_root.gah_team_1_com1chara + " ") + "&") + " ") + _root.gah_team_1_com2chara;
}
if (group_a_pts[3] == _root.ga_team_2_pts) {
_root.gah_team_1_com1chara = _root.ga_team_2_com1chara;
_root.gah_team_1_com1name = _root.ga_team_2_com1name;
_root.gah_team_1_com2chara = _root.ga_team_2_com2chara;
_root.gah_team_1_com2name = _root.ga_team_2_com2name;
_root.gah_team_1 = (((_root.gah_team_1_com1chara + " ") + "&") + " ") + _root.gah_team_1_com2chara;
}
if (group_a_pts[3] == _root.ga_team_3_pts) {
_root.gah_team_1_com1chara = _root.ga_team_3_com1chara;
_root.gah_team_1_com1name = _root.ga_team_3_com1name;
_root.gah_team_1_com2chara = _root.ga_team_3_com2chara;
_root.gah_team_1_com2name = _root.ga_team_3_com2name;
_root.gah_team_1 = (((_root.gah_team_1_com1chara + " ") + "&") + " ") + _root.gah_team_1_com2chara;
}
if (group_a_pts[3] == _root.ga_team_4_pts) {
_root.gah_team_1_com1chara = _root.ga_team_4_com1chara;
_root.gah_team_1_com1name = _root.ga_team_4_com1name;
_root.gah_team_1_com2chara = _root.ga_team_4_com2chara;
_root.gah_team_1_com2name = _root.ga_team_4_com2name;
_root.gah_team_1 = (((_root.gah_team_1_com1chara + " ") + "&") + " ") + _root.gah_team_1_com2chara;
}
if (group_a_pts[2] == _root.ga_team_1_pts) {
_root.gah_team_2_com1chara = _root.p1chara;
_root.gah_team_2_com1name = _root.p1name;
_root.gah_team_2_com2chara = _root.p2chara;
_root.gah_team_2_com2name = _root.p2name;
_root.gah_team_2 = (((_root.gah_team_2_com1chara + " ") + "&") + " ") + _root.gah_team_2_com2chara;
}
if (group_a_pts[2] == _root.ga_team_2_pts) {
_root.gah_team_2_com1chara = _root.ga_team_2_com1chara;
_root.gah_team_2_com1name = _root.ga_team_2_com1name;
_root.gah_team_2_com2chara = _root.ga_team_2_com2chara;
_root.gah_team_2_com2name = _root.ga_team_2_com2name;
_root.gah_team_2 = (((_root.gah_team_2_com1chara + " ") + "&") + " ") + _root.gah_team_2_com2chara;
}
if (group_a_pts[2] == _root.ga_team_3_pts) {
_root.gah_team_2_com1chara = _root.ga_team_3_com1chara;
_root.gah_team_2_com1name = _root.ga_team_3_com1name;
_root.gah_team_2_com2chara = _root.ga_team_3_com2chara;
_root.gah_team_2_com2name = _root.ga_team_3_com2name;
_root.gah_team_2 = (((_root.gah_team_2_com1chara + " ") + "&") + " ") + _root.gah_team_2_com2chara;
}
if (group_a_pts[2] == _root.ga_team_4_pts) {
_root.gah_team_2_com1chara = _root.ga_team_4_com1chara;
_root.gah_team_2_com1name = _root.ga_team_4_com1name;
_root.gah_team_2_com2chara = _root.ga_team_4_com2chara;
_root.gah_team_2_com2name = _root.ga_team_4_com2name;
_root.gah_team_2 = (((_root.gah_team_2_com1chara + " ") + "&") + " ") + _root.gah_team_2_com2chara;
}
group_b_pts = [_root.gb_team_1_pts, _root.gb_team_2_pts, _root.gb_team_3_pts, _root.gb_team_4_pts];
group_b_pts.sortOn(Array.NUMERIC);
if (group_b_pts[3] == _root.gb_team_1_pts) {
_root.gbh_team_1_com1chara = _root.gb_team_1_com1chara;
_root.gbh_team_1_com1name = _root.gb_team_1_com1name;
_root.gbh_team_1_com2chara = _root.gb_team_1_com2chara;
_root.gbh_team_1_com2name = _root.gb_team_1_com2name;
_root.gbh_team_1 = (((_root.gbh_team_1_com1chara + " ") + "&") + " ") + _root.gbh_team_1_com2chara;
}
if (group_b_pts[3] == _root.gb_team_2_pts) {
_root.gbh_team_1_com1chara = _root.gb_team_2_com1chara;
_root.gbh_team_1_com1name = _root.gb_team_2_com1name;
_root.gbh_team_1_com2chara = _root.gb_team_2_com2chara;
_root.gbh_team_1_com2name = _root.gb_team_2_com2name;
_root.gbh_team_1 = (((_root.gbh_team_1_com1chara + " ") + "&") + " ") + _root.gbh_team_1_com2chara;
}
if (group_b_pts[3] == _root.gb_team_3_pts) {
_root.gbh_team_1_com1chara = _root.gb_team_3_com1chara;
_root.gbh_team_1_com1name = _root.gb_team_3_com1name;
_root.gbh_team_1_com2chara = _root.gb_team_3_com2chara;
_root.gbh_team_1_com2name = _root.gb_team_3_com2name;
_root.gbh_team_1 = (((_root.gbh_team_1_com1chara + " ") + "&") + " ") + _root.gbh_team_1_com2chara;
}
if (group_b_pts[3] == _root.gb_team_4_pts) {
_root.gbh_team_1_com1chara = _root.gb_team_4_com1chara;
_root.gbh_team_1_com1name = _root.gb_team_4_com1name;
_root.gbh_team_1_com2chara = _root.gb_team_4_com2chara;
_root.gbh_team_1_com2name = _root.gb_team_4_com2name;
_root.gbh_team_1 = (((_root.gbh_team_1_com1chara + " ") + "&") + " ") + _root.gbh_team_1_com2chara;
}
if (group_b_pts[2] == _root.gb_team_1_pts) {
_root.gbh_team_2_com1chara = _root.gb_team_1_com1chara;
_root.gbh_team_2_com1name = _root.gb_team_1_com1name;
_root.gbh_team_2_com2chara = _root.gb_team_1_com2chara;
_root.gbh_team_2_com2name = _root.gb_team_1_com2name;
_root.gbh_team_2 = (((_root.gbh_team_2_com1chara + " ") + "&") + " ") + _root.gbh_team_2_com2chara;
}
if (group_b_pts[2] == _root.gb_team_2_pts) {
_root.gbh_team_2_com1chara = _root.gb_team_2_com1chara;
_root.gbh_team_2_com1name = _root.gb_team_2_com1name;
_root.gbh_team_2_com2chara = _root.gb_team_2_com2chara;
_root.gbh_team_2_com2name = _root.gb_team_2_com2name;
_root.gbh_team_2 = (((_root.gbh_team_2_com1chara + " ") + "&") + " ") + _root.gbh_team_2_com2chara;
}
if (group_b_pts[2] == _root.gb_team_3_pts) {
_root.gbh_team_2_com1chara = _root.gb_team_3_com1chara;
_root.gbh_team_2_com1name = _root.gb_team_3_com1name;
_root.gbh_team_2_com2chara = _root.gb_team_3_com2chara;
_root.gbh_team_2_com2name = _root.gb_team_3_com2name;
_root.gbh_team_2 = (((_root.gbh_team_2_com1chara + " ") + "&") + " ") + _root.gbh_team_2_com2chara;
}
if (group_b_pts[2] == _root.gb_team_4_pts) {
_root.gbh_team_2_com1chara = _root.gb_team_4_com1chara;
_root.gbh_team_2_com1name = _root.gb_team_4_com1name;
_root.gbh_team_2_com2chara = _root.gb_team_4_com2chara;
_root.gbh_team_2_com2name = _root.gb_team_4_com2name;
_root.gbh_team_2 = (((_root.gbh_team_2_com1chara + " ") + "&") + " ") + _root.gbh_team_2_com2chara;
}
group_c_pts = [_root.gc_team_1_pts, _root.gc_team_2_pts, _root.gc_team_3_pts, _root.gc_team_4_pts];
group_c_pts.sortOn(Array.NUMERIC);
if (group_c_pts[3] == _root.gc_team_1_pts) {
_root.gch_team_1_com1chara = _root.gc_team_1_com1chara;
_root.gch_team_1_com1name = _root.gc_team_1_com1name;
_root.gch_team_1_com2chara = _root.gc_team_1_com2chara;
_root.gch_team_1_com2name = _root.gc_team_1_com2name;
_root.gch_team_1 = (((_root.gch_team_1_com1chara + " ") + "&") + " ") + _root.gch_team_1_com2chara;
}
if (group_c_pts[3] == _root.gc_team_2_pts) {
_root.gch_team_1_com1chara = _root.gc_team_2_com1chara;
_root.gch_team_1_com1name = _root.gc_team_2_com1name;
_root.gch_team_1_com2chara = _root.gc_team_2_com2chara;
_root.gch_team_1_com2name = _root.gc_team_2_com2name;
_root.gch_team_1 = (((_root.gch_team_1_com1chara + " ") + "&") + " ") + _root.gch_team_1_com2chara;
}
if (group_c_pts[3] == _root.gc_team_3_pts) {
_root.gch_team_1_com1chara = _root.gc_team_3_com1chara;
_root.gch_team_1_com1name = _root.gc_team_3_com1name;
_root.gch_team_1_com2chara = _root.gc_team_3_com2chara;
_root.gch_team_1_com2name = _root.gc_team_3_com2name;
_root.gch_team_1 = (((_root.gch_team_1_com1chara + " ") + "&") + " ") + _root.gch_team_1_com2chara;
}
if (group_c_pts[3] == _root.gc_team_4_pts) {
_root.gch_team_1_com1chara = _root.gc_team_4_com1chara;
_root.gch_team_1_com1name = _root.gc_team_4_com1name;
_root.gch_team_1_com2chara = _root.gc_team_4_com2chara;
_root.gch_team_1_com2name = _root.gc_team_4_com2name;
_root.gch_team_1 = (((_root.gch_team_1_com1chara + " ") + "&") + " ") + _root.gch_team_1_com2chara;
}
if (group_c_pts[2] == _root.gc_team_1_pts) {
_root.gch_team_2_com1chara = _root.gc_team_1_com1chara;
_root.gch_team_2_com1name = _root.gc_team_1_com1name;
_root.gch_team_2_com2chara = _root.gc_team_1_com2chara;
_root.gch_team_2_com2name = _root.gc_team_1_com2name;
_root.gch_team_2 = (((_root.gch_team_2_com1chara + " ") + "&") + " ") + _root.gch_team_2_com2chara;
}
if (group_c_pts[2] == _root.gc_team_2_pts) {
_root.gch_team_2_com1chara = _root.gc_team_2_com1chara;
_root.gch_team_2_com1name = _root.gc_team_2_com1name;
_root.gch_team_2_com2chara = _root.gc_team_2_com2chara;
_root.gch_team_2_com2name = _root.gc_team_2_com2name;
_root.gch_team_2 = (((_root.gch_team_2_com1chara + " ") + "&") + " ") + _root.gch_team_2_com2chara;
}
if (group_c_pts[2] == _root.gc_team_3_pts) {
_root.gch_team_2_com1chara = _root.gc_team_3_com1chara;
_root.gch_team_2_com1name = _root.gc_team_3_com1name;
_root.gch_team_2_com2chara = _root.gc_team_3_com2chara;
_root.gch_team_2_com2name = _root.gc_team_3_com2name;
_root.gch_team_2 = (((_root.gch_team_2_com1chara + " ") + "&") + " ") + _root.gch_team_2_com2chara;
}
if (group_c_pts[2] == _root.gc_team_4_pts) {
_root.gch_team_2_com1chara = _root.gc_team_4_com1chara;
_root.gch_team_2_com1name = _root.gc_team_4_com1name;
_root.gch_team_2_com2chara = _root.gc_team_4_com2chara;
_root.gch_team_2_com2name = _root.gc_team_4_com2name;
_root.gch_team_2 = (((_root.gch_team_2_com1chara + " ") + "&") + " ") + _root.gch_team_2_com2chara;
}
group_d_pts = [_root.gd_team_1_pts, _root.gd_team_2_pts, _root.gd_team_3_pts, _root.gd_team_4_pts];
group_d_pts.sortOn(Array.NUMERIC);
if (group_d_pts[3] == _root.gd_team_1_pts) {
_root.gdh_team_1_com1chara = _root.gd_team_1_com1chara;
_root.gdh_team_1_com1name = _root.gd_team_1_com1name;
_root.gdh_team_1_com2chara = _root.gd_team_1_com2chara;
_root.gdh_team_1_com2name = _root.gd_team_1_com2name;
_root.gdh_team_1 = (((_root.gdh_team_1_com1chara + " ") + "&") + " ") + _root.gdh_team_1_com2chara;
}
if (group_d_pts[3] == _root.gd_team_2_pts) {
_root.gdh_team_1_com1chara = _root.gd_team_2_com1chara;
_root.gdh_team_1_com1name = _root.gd_team_2_com1name;
_root.gdh_team_1_com2chara = _root.gd_team_2_com2chara;
_root.gdh_team_1_com2name = _root.gd_team_2_com2name;
_root.gdh_team_1 = (((_root.gdh_team_1_com1chara + " ") + "&") + " ") + _root.gdh_team_1_com2chara;
}
if (group_d_pts[3] == _root.gd_team_3_pts) {
_root.gdh_team_1_com1chara = _root.gd_team_3_com1chara;
_root.gdh_team_1_com1name = _root.gd_team_3_com1name;
_root.gdh_team_1_com2chara = _root.gd_team_3_com2chara;
_root.gdh_team_1_com2name = _root.gd_team_3_com2name;
_root.gdh_team_1 = (((_root.gdh_team_1_com1chara + " ") + "&") + " ") + _root.gdh_team_1_com2chara;
}
if (group_d_pts[3] == _root.gd_team_4_pts) {
_root.gdh_team_1_com1chara = _root.gd_team_4_com1chara;
_root.gdh_team_1_com1name = _root.gd_team_4_com1name;
_root.gdh_team_1_com2chara = _root.gd_team_4_com2chara;
_root.gdh_team_1_com2name = _root.gd_team_4_com2name;
_root.gdh_team_1 = (((_root.gdh_team_1_com1chara + " ") + "&") + " ") + _root.gdh_team_1_com2chara;
}
if (group_d_pts[2] == _root.gd_team_1_pts) {
_root.gdh_team_2_com1chara = _root.gd_team_1_com1chara;
_root.gdh_team_2_com1name = _root.gd_team_1_com1name;
_root.gdh_team_2_com2chara = _root.gd_team_1_com2chara;
_root.gdh_team_2_com2name = _root.gd_team_1_com2name;
_root.gdh_team_2 = (((_root.gdh_team_2_com1chara + " ") + "&") + " ") + _root.gdh_team_2_com2chara;
}
if (group_d_pts[2] == _root.gd_team_2_pts) {
_root.gdh_team_2_com1chara = _root.gd_team_2_com1chara;
_root.gdh_team_2_com1name = _root.gd_team_2_com1name;
_root.gdh_team_2_com2chara = _root.gd_team_2_com2chara;
_root.gdh_team_2_com2name = _root.gd_team_2_com2name;
_root.gdh_team_2 = (((_root.gdh_team_2_com1chara + " ") + "&") + " ") + _root.gdh_team_2_com2chara;
}
if (group_d_pts[2] == _root.gd_team_3_pts) {
_root.gdh_team_2_com1chara = _root.gd_team_3_com1chara;
_root.gdh_team_2_com1name = _root.gd_team_3_com1name;
_root.gdh_team_2_com2chara = _root.gd_team_3_com2chara;
_root.gdh_team_2_com2name = _root.gd_team_3_com2name;
_root.gdh_team_2 = (((_root.gdh_team_2_com1chara + " ") + "&") + " ") + _root.gdh_team_2_com2chara;
}
if (group_d_pts[2] == _root.gd_team_4_pts) {
_root.gdh_team_2_com1chara = _root.gd_team_4_com1chara;
_root.gdh_team_2_com1name = _root.gd_team_4_com1name;
_root.gdh_team_2_com2chara = _root.gd_team_4_com2chara;
_root.gdh_team_2_com2name = _root.gd_team_4_com2name;
_root.gdh_team_2 = (((_root.gdh_team_2_com1chara + " ") + "&") + " ") + _root.gdh_team_2_com2chara;
}
}
if (_root.fixture == 4) {
if (_root.gah_team_1 == ((((_root.p1chara + " ") + "&") + " ") + _root.p2chara)) {
if (_root.playerscore > _root.comscore) {
_root.gah_team_1_result = "WIN";
_root.gbh_team_2_result = "LOSE";
}
if (_root.playerscore <= _root.comscore) {
_root.gah_team_1_result = "LOSE";
_root.gbh_team_2_result = "WIN";
}
teamasimu = "_root.gbh_team_1";
teambsimu = "_root.gah_team_2";
_root.acom1simu = _root.gbh_team_1_com1chara;
_root.acom2simu = _root.gbh_team_1_com2chara;
_root.bcom1simu = _root.gah_team_2_com1chara;
_root.bcom2simu = _root.gah_team_2_com2chara;
_root.simulate.call(obj, obj);
}
if (_root.gah_team_2 == ((((_root.p1chara + " ") + "&") + " ") + _root.p2chara)) {
if (_root.playerscore > _root.comscore) {
_root.gah_team_2_result = "WIN";
_root.gbh_team_1_result = "LOSE";
}
if (_root.playerscore <= _root.comscore) {
_root.gah_team_2_result = "LOSE";
_root.gbh_team_1_result = "WIN";
}
teamasimu = "_root.gbh_team_2";
teambsimu = "_root.gah_team_1";
_root.acom1simu = _root.gbh_team_2_com1chara;
_root.acom2simu = _root.gbh_team_2_com2chara;
_root.bcom1simu = _root.gah_team_1_com1chara;
_root.bcom2simu = _root.gah_team_1_com2chara;
_root.simulate.call(obj, obj);
}
teamasimu = "_root.gch_team_1";
teambsimu = "_root.gdh_team_2";
_root.acom1simu = _root.gch_team_1_com1chara;
_root.acom2simu = _root.gch_team_1_com2chara;
_root.bcom1simu = _root.gdh_team_2_com1chara;
_root.bcom2simu = _root.gdh_team_2_com2chara;
_root.simulate.call(obj, obj);
teamasimu = "_root.gch_team_2";
teambsimu = "_root.gdh_team_1";
_root.acom1simu = _root.gch_team_2_com1chara;
_root.acom2simu = _root.gch_team_2_com2chara;
_root.bcom1simu = _root.gdh_team_1_com1chara;
_root.bcom2simu = _root.gdh_team_1_com2chara;
_root.simulate.call(obj, obj);
if ((_root.gah_team_1_result == "WIN") && (_root.gah_team_1 == ((((_root.p1chara + " ") + "&") + " ") + _root.p2chara))) {
_root.semifinal_team_1_com1chara = _root.p1chara;
_root.semifinal_team_1_com1name = _root.p1name;
_root.semifinal_team_1_com2chara = _root.p2chara;
_root.semifinal_team_1_com2name = _root.p2name;
_root.semifinal_team_1 = (((_root.gah_team_1_com1chara + " ") + "&") + " ") + _root.gah_team_1_com2chara;
}
if ((_root.gah_team_2_result == "WIN") && (_root.gah_team_2 == ((((_root.p1chara + " ") + "&") + " ") + _root.p2chara))) {
_root.semifinal_team_2_com1chara = _root.p1chara;
_root.semifinal_team_2_com1name = _root.p1name;
_root.semifinal_team_2_com2chara = _root.p2chara;
_root.semifinal_team_2_com2name = _root.p2name;
_root.semifinal_team_2 = (((_root.gah_team_2_com1chara + " ") + "&") + " ") + _root.gah_team_2_com2chara;
}
if (_root.gah_team_1_result == "WIN") {
_root.semifinal_team_1_com1chara = _root.gah_team_1_com1chara;
_root.semifinal_team_1_com1name = _root.gah_team_1_com1name;
_root.semifinal_team_1_com2chara = _root.gah_team_1_com2chara;
_root.semifinal_team_1_com2name = _root.gah_team_1_com2name;
_root.semifinal_team_1 = (((_root.gah_team_1_com1chara + " ") + "&") + " ") + _root.gah_team_1_com2chara;
}
if (_root.gah_team_2_result == "WIN") {
_root.semifinal_team_2_com1chara = _root.gah_team_2_com1chara;
_root.semifinal_team_2_com1name = _root.gah_team_2_com1name;
_root.semifinal_team_2_com2chara = _root.gah_team_2_com2chara;
_root.semifinal_team_2_com2name = _root.gah_team_2_com2name;
_root.semifinal_team_2 = (((_root.gah_team_2_com1chara + " ") + "&") + " ") + _root.gah_team_2_com2chara;
}
if (_root.gbh_team_1_result == "WIN") {
_root.semifinal_team_2_com1chara = _root.gbh_team_1_com1chara;
_root.semifinal_team_2_com1name = _root.gbh_team_1_com1name;
_root.semifinal_team_2_com2chara = _root.gbh_team_1_com2chara;
_root.semifinal_team_2_com2name = _root.gbh_team_1_com2name;
_root.semifinal_team_2 = (((_root.gbh_team_1_com1chara + " ") + "&") + " ") + _root.gbh_team_1_com2chara;
}
if (_root.gbh_team_2_result == "WIN") {
_root.semifinal_team_1_com1chara = _root.gbh_team_2_com1chara;
_root.semifinal_team_1_com1name = _root.gbh_team_2_com1name;
_root.semifinal_team_1_com2chara = _root.gbh_team_2_com2chara;
_root.semifinal_team_1_com2name = _root.gbh_team_2_com2name;
_root.semifinal_team_1 = (((_root.gbh_team_2_com1chara + " ") + "&") + " ") + _root.gbh_team_2_com2chara;
}
if (_root.gch_team_1_result == "WIN") {
_root.semifinal_team_3_com1chara = _root.gch_team_1_com1chara;
_root.semifinal_team_3_com1name = _root.gch_team_1_com1name;
_root.semifinal_team_3_com2chara = _root.gch_team_1_com2chara;
_root.semifinal_team_3_com2name = _root.gch_team_1_com2name;
_root.semifinal_team_3 = (((_root.gch_team_1_com1chara + " ") + "&") + " ") + _root.gch_team_1_com2chara;
}
if (_root.gch_team_2_result == "WIN") {
_root.semifinal_team_4_com1chara = _root.gch_team_2_com1chara;
_root.semifinal_team_4_com1name = _root.gch_team_2_com1name;
_root.semifinal_team_4_com2chara = _root.gch_team_2_com2chara;
_root.semifinal_team_4_com2name = _root.gch_team_2_com2name;
_root.semifinal_team_4 = (((_root.gch_team_2_com1chara + " ") + "&") + " ") + _root.gch_team_2_com2chara;
}
if (_root.gdh_team_1_result == "WIN") {
_root.semifinal_team_4_com1chara = _root.gdh_team_1_com1chara;
_root.semifinal_team_4_com1name = _root.gdh_team_1_com1name;
_root.semifinal_team_4_com2chara = _root.gdh_team_1_com2chara;
_root.semifinal_team_4_com2name = _root.gdh_team_1_com2name;
_root.semifinal_team_4 = (((_root.gdh_team_1_com1chara + " ") + "&") + " ") + _root.gdh_team_1_com2chara;
}
if (_root.gdh_team_2_result == "WIN") {
_root.semifinal_team_3_com1chara = _root.gdh_team_2_com1chara;
_root.semifinal_team_3_com1name = _root.gdh_team_2_com1name;
_root.semifinal_team_3_com2chara = _root.gdh_team_2_com2chara;
_root.semifinal_team_3_com2name = _root.gdh_team_2_com2name;
_root.semifinal_team_3 = (((_root.gdh_team_2_com1chara + " ") + "&") + " ") + _root.gdh_team_2_com2chara;
}
}
if (_root.fixture == 5) {
teamasimu = "_root.semifinal_team_3";
teambsimu = "_root.semifinal_team_4";
_root.acom1simu = _root.semifinal_team_3_com1chara;
_root.acom2simu = _root.semifinal_team_3_com2chara;
_root.bcom1simu = _root.semifinal_team_4_com1chara;
_root.bcom2simu = _root.semifinal_team_4_com2chara;
_root.simulate.call(obj, obj);
if (_root.semifinal_team_1 == ((((_root.p1chara + " ") + "&") + " ") + _root.p2chara)) {
if (_root.playerscore > _root.comscore) {
_root.semifinal_team_1_result = "WIN";
_root.semifinal_team_2_result = "LOSE";
}
if (_root.playerscore <= _root.comscore) {
_root.semifinal_team_1_result = "LOSE";
_root.semifinal_team_2_result = "WIN";
}
}
if (_root.semifinal_team_2 == ((((_root.p1chara + " ") + "&") + " ") + _root.p2chara)) {
if (_root.playerscore > _root.comscore) {
_root.semifinal_team_1_result = "LOSE";
_root.semifinal_team_2_result = "WIN";
}
if (_root.playerscore <= _root.comscore) {
_root.semifinal_team_1_result = "WIN";
_root.semifinal_team_2_result = "LOSE";
}
}
if ((_root.semifinal_team_1_result == "WIN") && (_root.semifinal_team_1 == ((((_root.p1chara + " ") + "&") + " ") + _root.p2chara))) {
_root.final_team_1_p1chara = _root.p1chara;
_root.final_team_1_p1name = _root.p1name;
_root.final_team_1_p2chara = _root.p2chara;
_root.final_team_1_p2name = _root.p2name;
_root.final_team_1 = (((_root.final_team_1_p1chara + " ") + "&") + " ") + _root.final_team_1_p2chara;
}
if ((_root.semifinal_team_2_result == "WIN") && (_root.semifinal_team_2 == ((((_root.p1chara + " ") + "&") + " ") + _root.p2chara))) {
_root.final_team_1_p1chara = _root.p1chara;
_root.final_team_1_p1name = _root.p1name;
_root.final_team_1_p2chara = _root.p2chara;
_root.final_team_1_p2name = _root.p2name;
_root.final_team_1 = (((_root.final_team_1_p1chara + " ") + "&") + " ") + _root.final_team_1_p2chara;
}
if ((_root.semifinal_team_1_result == "WIN") && (_root.semifinal_team_1 != ((((_root.p1chara + " ") + "&") + " ") + _root.p2chara))) {
_root.final_team_1_com1chara = _root.semifinal_team_1_com1chara;
_root.final_team_1_com1name = _root.semifinal_team_1_com1name;
_root.final_team_1_com2chara = _root.semifinal_team_1_com2chara;
_root.final_team_1_com2name = _root.semifinal_team_1_com2name;
_root.final_team_1 = (((_root.final_team_1_com1chara + " ") + "&") + " ") + _root.final_team_1_com2chara;
}
if ((_root.semifinal_team_2_result == "WIN") && (_root.semifinal_team_1 != ((((_root.p1chara + " ") + "&") + " ") + _root.p2chara))) {
_root.final_team_1_com1chara = _root.semifinal_team_2_com1chara;
_root.final_team_1_com1name = _root.semifinal_team_2_com1name;
_root.final_team_1_com2chara = _root.semifinal_team_2_com2chara;
_root.final_team_1_com2name = _root.semifinal_team_2_com2name;
_root.final_team_1 = (((_root.final_team_1_com1chara + " ") + "&") + " ") + _root.final_team_1_com2chara;
}
if (_root.semifinal_team_3_result == "WIN") {
_root.final_team_2_com1chara = _root.semifinal_team_3_com1chara;
_root.final_team_2_com1name = _root.semifinal_team_3_com1name;
_root.final_team_2_com2chara = _root.semifinal_team_3_com2chara;
_root.final_team_2_com2name = _root.semifinal_team_3_com2name;
_root.final_team_2 = (((_root.final_team_2_com1chara + " ") + "&") + " ") + _root.final_team_2_com2chara;
}
if (_root.semifinal_team_4_result == "WIN") {
_root.final_team_2_com1chara = _root.semifinal_team_4_com1chara;
_root.final_team_2_com1name = _root.semifinal_team_4_com1name;
_root.final_team_2_com2chara = _root.semifinal_team_4_com2chara;
_root.final_team_2_com2name = _root.semifinal_team_4_com2name;
_root.final_team_2 = (((_root.final_team_2_com1chara + " ") + "&") + " ") + _root.final_team_2_com2chara;
}
}
if (_root.fixture == 6) {
if (_root.final_team_1 == ((((_root.p1chara + " ") + "&") + " ") + _root.p2chara)) {
if (_root.playerscore > _root.comscore) {
_root.final_team_1_result = "WIN";
_root.final_team_2_result = "LOSE";
}
if (_root.playerscore <= _root.comscore) {
_root.final_team_1_result = "LOSE";
_root.final_team_2_result = "WIN";
}
}
if (_root.final_team_2 == ((((_root.p1chara + " ") + "&") + " ") + _root.p2chara)) {
if (_root.playerscore > _root.comscore) {
_root.final_team_2_result = "WIN";
_root.final_team_1_result = "LOSE";
}
if (_root.playerscore <= _root.comscore) {
_root.final_team_2_result = "LOSE";
_root.final_team_1_result = "WIN";
}
}
}
_root.fixture = _root.fixture + 1;
Instance of Symbol 1054 MovieClip in Frame 20
onClipEvent (load) {
this._y = -500;
movespeed = 2;
}
onClipEvent (enterFrame) {
this._y = this._y + movespeed;
movespeed = movespeed + 2;
if (this._y >= 40) {
this._y = 40;
}
}
Frame 22
_root.fixture = 7;
_root.funds = _root.funds + 9000;
ctimer = 10;
_root.flasheffect.call(obj, obj);
_root.ctr_aggressive.start();
_root.ctr_congratulations.start();
onEnterFrame = function () {
ctimer--;
if (ctimer == 0) {
_root.flasheffect.call(obj, obj);
_root.attachMovie("caitiaoqi", "caitiaoqi", 999);
}
};
Frame 24
stop();
_root.logovoice.start();
pressdown = true;
onEnterFrame = function () {
if (Key.isDown(32) && (pressdown == true)) {
pressdown = false;
_root.entersound.start();
_root.attachMovie("blackfadeout", "blackfadeout", 501);
}
if (_root.blackfadeout.fadeout == true) {
_root.gotoAndStop("mainmenu");
}
};
Frame 25
stop();
_root.mainmenumusic.start();
_root.mainmenumusic.onSoundComplete = function () {
_root.mainmenumusic.start();
};
_quality = _root.qualitysetting;
overs = function () {
_root.mainmenusound.start();
_root.rollingtext.text.gotoAndStop(this.num + 1);
_root.fnum = this.num;
};
outs = function () {
_root.rollingtext.text.gotoAndStop(1);
_root.fnum = 0;
};
mstyle = function () {
this._x = _root["m" + this.mb.num2]._x + ((_root["m" + this.mb.num2]._width / 2) + (this._width / 2));
if (_root.fnum == this.mb.num) {
tempx = this._xscale;
tempy = this._yscale;
this._xscale = ((1.58 * (this._xscale + 14)) + (-0.8 * (this.px + 14))) + 20;
this._yscale = ((1.58 * (this._yscale + 14)) + (-0.8 * (this.py + 14))) + 20;
this.px = tempx;
this.py = tempy;
} else {
tempx = this._xscale;
tempy = this._yscale;
this._xscale = ((1.57 * (this._xscale + 1)) + (-0.8 * (this.px + 1))) + 20;
this._yscale = ((1.57 * (this._yscale + 1)) + (-0.8 * (this.py + 1))) + 20;
this.px = tempx;
this.py = tempy;
}
};
i = 1;
while (i <= 6) {
_root["m" + i].mb.num = i;
_root["m" + i].mb.num2 = i - 1;
_root["m" + i].mb.num3 = i + 1;
_root["m" + i].mb.onRollOver = overs;
_root["m" + i].mb.onRollOut = outs;
_root["m" + i].mb.onRelease = link;
_root["m" + i].onEnterFrame = mstyle;
i++;
}
_root.tnum1 = 1;
zpo1._visible = false;
zpo2._visible = false;
i = 1;
movie_name1 = zpo1;
movie_name2 = zpo2;
motion = function (movie_name) {
movie_name.onEnterFrame = function () {
this._rotation = Math.random() * 360;
this.duplicateMovieClip("star" + _root.tnum1, _root.tnum1);
this.rnum = (Math.random() * 100) + 0;
_root["star" + _root.tnum1]._xscale = this.rnum;
_root["star" + _root.tnum1]._yscale = this.rnum;
_root.tnum1++;
};
};
onEnterFrame = function () {
if (_root.tnum1 < 40) {
motion(movie_name1);
} else {
motion(movie_name2);
}
};
Instance of Symbol 1336 MovieClip in Frame 25
onClipEvent (load) {
timer = 20;
this._y = 0;
movespeed = 5;
backmove = false;
}
onClipEvent (enterFrame) {
timer--;
if ((backmove == false) && (timer <= 0)) {
this._y = this._y + movespeed;
movespeed = movespeed + 3;
if (this._y >= 300) {
movespeed = 1;
backmove = true;
}
}
if (backmove == true) {
this._y = this._y - movespeed;
movespeed = movespeed + 3;
if (this._y <= 288.1) {
this._y = 288.1;
}
}
}
Instance of Symbol 1349 MovieClip "rollingtext" in Frame 25
onClipEvent (load) {
this._alpha = 0;
this._xscale = 400;
}
onClipEvent (enterFrame) {
this._alpha = this._alpha + 2;
if (this._alpha == 100) {
this.alpha = 100;
}
this._xscale = this._xscale - 10;
if (this._xscale <= 100) {
this._xscale = 100;
}
}
Frame 26
stop();
_root.player.attachMovie("lifebar", "lifebar", 100);
_root.player.loadonce = true;
_root.player.specialshoe = "default";
_root.model._alpha = 0;
alphaspeed = 10;
_root.back._height = 10;
_root.x1 = 0;
_root.x2 = 600;
_root.y1 = 0;
_root.y2 = 400;
i = 1;
while (i < 40) {
zpos.duplicateMovieClip("m" + i, i);
_root["m" + i]._x = (Math.random() * (_root.x2 - _root.x1)) + _root.x1;
_root["m" + i]._y = (Math.random() * (_root.y2 - _root.y1)) + _root.y1;
_root["m" + i]._rotation = Math.ceil(Math.random() * 4) * 90;
_root["m" + i].onEnterFrame = function () {
if (this._currentframe == 25) {
this._x = (Math.random() * (_root.x2 - _root.x1)) + _root.x1;
this._y = (Math.random() * (_root.y2 - _root.y1)) + _root.y1;
this._rotation = Math.ceil(Math.random() * 4) * 90;
}
};
i++;
}
_root.onEnterFrame = function () {
_root["m" + Math.ceil(Math.random() * 40)].play();
};
_root.model.onEnterFrame = function () {
_root.model._alpha = _root.model._alpha + alphaspeed;
alphaspeed++;
if (_root.model._alpha >= 100) {
_root.model._alpha = 100;
delete _root.model.onEnterFrame;
}
};
_root.back.onEnterFrame = function () {
_root.back._height = _root.back._height + alphaspeed;
if (_root.back._height >= 270) {
_root.back._height = 270;
delete _root.back.onEnterFrame;
}
};
Instance of Symbol 1389 MovieClip in Frame 26
onClipEvent (load) {
timer = 20;
this._y = 0;
movespeed = 5;
backmove = false;
}
onClipEvent (enterFrame) {
timer--;
if ((backmove == false) && (timer <= 0)) {
this._y = this._y + movespeed;
movespeed = movespeed + 3;
if (this._y >= 120) {
movespeed = 1;
backmove = true;
}
}
if (backmove == true) {
this._y = this._y - movespeed;
movespeed = movespeed + 3;
if (this._y <= 110) {
this._y = 110;
}
}
}
Symbol 117 MovieClip [cursor] Frame 1
onEnterFrame = function () {
this._x = _root._xmouse;
this._y = _root._ymouse;
Mouse.hide();
if (_root._xscale != 100) {
this._visible = false;
} else {
this._visible = true;
}
updateAfterEvent();
};
Symbol 119 MovieClip [stagemask] Frame 1
_x = -250;
_y = 335;
Instance of Symbol 121 MovieClip "ctq" in Symbol 122 MovieClip [caitiaoqi] Frame 1
onClipEvent (load) {
if (_root.fixture == 1) {
n = 300;
caitiaotimer = 300;
}
if ((_root.fixture > 1) && (_root.fixture <= 4)) {
n = random(50) + 180;
caitiaotimer = 200;
}
if ((_root.fixture == 5) || (_root.fixture == 6)) {
n = 330;
caitiaotimer = 300;
}
if (_root.fixture == 7) {
n = 350;
caitiaotimer = 1000;
}
deleteonenterframetimer = caitiaotimer + 100;
var i = 1;
while (i <= n) {
attachMovie("caitiao", "caitiao" + i, i + 10000);
var a = Math.round((200 * Math.random()) + 6);
with (this["caitiao" + i]) {
_x = 800 * Math.random();
_y = 650 * Math.random();
_xscale = a;
_yscale = a;
_rotation = a;
this["caitiao" + i].x = Math.cos(Math.PI * Math.random());
this["caitiao" + i].y = 5 + (5 * Math.random());
}
i++;
}
}
onClipEvent (enterFrame) {
_quality = "LOW";
caitiaotimer--;
deleteonenterframetimer--;
var i = 1;
while (i <= n) {
with (this["caitiao" + i]) {
_x = _x + x;
_y = _y + y;
_rotation = _rotation + y;
if (_y > 650) {
if (caitiaotimer > 0) {
_y = 0;
}
if (caitiaotimer < 0) {
this.removeMovieClip();
}
} else if (_x > 800) {
if (caitiaotimer > 0) {
_x = 0;
}
if (caitiaotimer < 0) {
this.removeMovieClip();
}
} else if (_x < 0) {
if (caitiaotimer > 0) {
_x = 800;
}
if (caitiaotimer < 0) {
this.removeMovieClip();
}
}
}
i++;
}
if (deleteonenterframetimer < 0) {
_quality = _root.qualitysetting;
_parent.removeMovieClip();
}
}
Symbol 129 MovieClip [caitiao] Frame 1
gotoAndStop(random(6) + 1);
Symbol 132 MovieClip [flasheffect] Frame 8
this.removeMovieClip();
Symbol 141 MovieClip [playerscourt] Frame 1
this._x = 400;
this._y = 150;
this._alpha = 0;
timer = 100;
onEnterFrame = function () {
timer--;
if ((timer > 0) && (this._alpha < 100)) {
this._alpha = this._alpha + 10;
}
if (timer <= 0) {
this._alpha = this._alpha - 10;
if (this._alpha <= 0) {
this.removeMovieClip();
}
}
};
stop();
if (_root.myfield == "left") {
gotoAndStop (3);
}
if (_root.myfield == "right") {
gotoAndStop (2);
}
Symbol 152 MovieClip Frame 1
stop();
onEnterFrame = function () {
_parent.chara.gotoAndStop("degree S");
};
Symbol 152 MovieClip Frame 2
onEnterFrame = function () {
_parent.chara.gotoAndStop("degree A");
};
Symbol 152 MovieClip Frame 3
onEnterFrame = function () {
_parent.chara.gotoAndStop("degree B");
};
Symbol 152 MovieClip Frame 4
onEnterFrame = function () {
_parent.chara.gotoAndStop("degree C");
};
Symbol 152 MovieClip Frame 5
gotoAndStop (1);
Symbol 155 MovieClip Frame 1
this._visible = false;
Symbol 157 MovieClip Frame 10
stop();
Symbol 158 Button
on (rollOver) {
_root.selectsound.start();
}
on (release) {
chara.groupname.prevFrame();
effect2.gotoAndPlay(2);
}
Symbol 159 Button
on (rollOver) {
_root.selectsound.start();
}
on (release) {
chara.groupname.nextFrame();
effect2.gotoAndPlay(2);
}
Symbol 189 MovieClip Frame 1
stop();
if (_parent._parent.wzc == "yes") {
gotoAndStop ("wzc");
}
if (_parent._parent.zyx == "yes") {
gotoAndStop ("zyx");
}
if (_parent._parent.zss == "yes") {
gotoAndStop ("zss");
}
if (_parent._parent.tjh == "yes") {
gotoAndStop ("tjh");
}
if (_parent._parent.yzz == "yes") {
gotoAndStop ("yzz");
}
if (_parent._parent.zxz == "yes") {
gotoAndStop ("zxz");
}
if (_parent._parent.sx == "yes") {
gotoAndStop ("sx");
}
if (_parent._parent.yb == "yes") {
gotoAndStop ("yb");
}
if (_parent._parent.fu == "yes") {
gotoAndStop ("fu");
}
if (_parent._parent.ym == "yes") {
gotoAndStop ("ym");
}
if (_parent._parent.dsh == "yes") {
gotoAndStop ("dsh");
}
if (_parent._parent.sl == "yes") {
gotoAndStop ("sl");
}
if (_parent._parent.hf == "yes") {
gotoAndStop ("hf");
}
if (_parent._parent.wzy == "yes") {
gotoAndStop ("wzy");
}
Symbol 199 MovieClip Frame 37
stop();
if (_parent._parent._parent._parent.wzc == "yes") {
_root.wzcspeech = false;
}
if (_parent._parent._parent._parent.zyx == "yes") {
_root.zyxspeech = false;
}
if (_parent._parent._parent._parent.zss == "yes") {
_root.zssspeech = false;
}
if (_parent._parent._parent._parent.tjh == "yes") {
_root.tjhspeech = false;
}
if (_parent._parent._parent._parent.sx == "yes") {
_root.sxspeech = false;
}
if (_parent._parent._parent._parent.yb == "yes") {
_root.ybspeech = false;
}
if (_parent._parent._parent._parent.yzz == "yes") {
_root.yzzspeech = false;
}
if (_parent._parent._parent._parent.zxz == "yes") {
_root.zxzspeech = false;
}
Symbol 200 MovieClip Frame 1
stop();
Symbol 227 MovieClip Frame 1
stop();
if (_parent._parent.wzc == "yes") {
gotoAndStop ("wzc");
}
if (_parent._parent.zyx == "yes") {
gotoAndStop ("zyx");
}
if (_parent._parent.zss == "yes") {
gotoAndStop ("zss");
}
if (_parent._parent.tjh == "yes") {
gotoAndStop ("tjh");
}
if (_parent._parent.yzz == "yes") {
gotoAndStop ("yzz");
}
if (_parent._parent.zxz == "yes") {
gotoAndStop ("zxz");
}
if (_parent._parent.sx == "yes") {
gotoAndStop ("sx");
}
if (_parent._parent.yb == "yes") {
gotoAndStop ("yb");
}
if (_parent._parent.fu == "yes") {
gotoAndStop ("fu");
}
if (_parent._parent.ym == "yes") {
gotoAndStop ("ym");
}
if (_parent._parent.dsh == "yes") {
gotoAndStop ("dsh");
}
if (_parent._parent.sl == "yes") {
gotoAndStop ("sl");
}
if (_parent._parent.hf == "yes") {
gotoAndStop ("hf");
}
if (_parent._parent.wzy == "yes") {
gotoAndStop ("wzy");
}
Symbol 227 MovieClip Frame 2
if (_root.wzcspeech == true) {
this.mouth.gotoAndStop(2);
}
Symbol 227 MovieClip Frame 3
if (_root.zyxspeech == true) {
this.mouth.gotoAndStop(2);
}
Symbol 227 MovieClip Frame 4
if (_root.zssspeech == true) {
this.mouth.gotoAndStop(2);
}
Symbol 227 MovieClip Frame 5
if (_root.sxspeech == true) {
this.mouth.gotoAndStop(2);
}
Symbol 227 MovieClip Frame 6
if (_root.zxzspeech == true) {
this.mouth.gotoAndStop(2);
}
Symbol 227 MovieClip Frame 7
if (_root.yzzspeech == true) {
this.mouth.gotoAndStop(2);
}
Symbol 227 MovieClip Frame 8
if (_root.tjhspeech == true) {
this.mouth.gotoAndStop(2);
}
Symbol 227 MovieClip Frame 9
if (_root.ybspeech == true) {
this.mouth.gotoAndStop(2);
}
Symbol 230 MovieClip Frame 1
stop();
_root.sxintro.start();
_root.ybintro.stop("ybintro");
_root.tjhintro.stop("tjhintro");
_root.sxspeech = true;
_parent._parent.speciality = "speciality: none";
Instance of Symbol 229 MovieClip in Symbol 230 MovieClip Frame 1
onClipEvent (load) {
this.sx = "yes";
}
Symbol 230 MovieClip Frame 2
_root.ybintro.start();
_root.sxintro.stop("sxintro");
_root.tjhintro.stop("tjhintro");
_root.ybspeech = true;
_parent._parent.speciality = "speciality: solid defending";
Instance of Symbol 229 MovieClip in Symbol 230 MovieClip Frame 2
onClipEvent (load) {
this.yb = "yes";
}
Symbol 230 MovieClip Frame 3
_root.tjhintro.start();
_root.ybintro.stop("ybintro");
_root.sxintro.stop("sxintro");
_root.tjhspeech = true;
_parent._parent.speciality = "speciality: thief for ball";
Instance of Symbol 229 MovieClip in Symbol 230 MovieClip Frame 3
onClipEvent (load) {
this.tjh = "yes";
}
Symbol 230 MovieClip Frame 4
_parent._parent.speciality = "speciality: 3-step shot";
Instance of Symbol 229 MovieClip in Symbol 230 MovieClip Frame 4
onClipEvent (load) {
this.dsh = "yes";
}
Symbol 230 MovieClip Frame 5
gotoAndStop (1);
Symbol 231 MovieClip Frame 1
stop();
_root.zxzintro.start();
_root.zyxintro.stop("zyxintro");
_root.zssintro.stop("zssintro");
_root.wzcintro.stop("wzcintro");
_root.yzzintro.stop("yzzintro");
_root.zxzspeech = true;
_parent._parent.speciality = "speciality: strong rebounder";
Instance of Symbol 229 MovieClip in Symbol 231 MovieClip Frame 1
onClipEvent (load) {
this.zxz = "yes";
}
Symbol 231 MovieClip Frame 2
_root.zyxintro.start();
_root.zxzintro.stop("zxzintro");
_root.zssintro.stop("zssintro");
_root.wzcintro.stop("wzcintro");
_root.yzzintro.stop("yzzintro");
_root.zyxspeech = true;
_parent._parent.speciality = "speciality: 3-points shooter";
Instance of Symbol 229 MovieClip in Symbol 231 MovieClip Frame 2
onClipEvent (load) {
this.zyx = "yes";
}
Symbol 231 MovieClip Frame 3
_root.zssintro.start();
_root.zyxintro.stop("zyxintro");
_root.zxzintro.stop("zxzintro");
_root.wzcintro.stop("wzcintro");
_root.yzzintro.stop("yzzintro");
_root.zssspeech = true;
_parent._parent.speciality = "speciality: 2-points scorer";
Instance of Symbol 229 MovieClip in Symbol 231 MovieClip Frame 3
onClipEvent (load) {
this.zss = "yes";
}
Symbol 231 MovieClip Frame 4
_root.wzcintro.start();
_root.zyxintro.stop("zyxintro");
_root.zssintro.stop("zssintro");
_root.zxzintro.stop("zxzintro");
_root.yzzintro.stop("yzzintro");
_root.wzcspeech = true;
_parent._parent.speciality = "speciality: tower";
Instance of Symbol 229 MovieClip in Symbol 231 MovieClip Frame 4
onClipEvent (load) {
this.wzc = "yes";
}
Symbol 231 MovieClip Frame 5
_root.yzzintro.start();
_root.zyxintro.stop("zyxintro");
_root.zssintro.stop("zssintro");
_root.wzcintro.stop("wzcintro");
_root.zxzintro.stop("zxzintro");
_root.yzzspeech = true;
_parent._parent.speciality = "speciality: super sniper";
Instance of Symbol 229 MovieClip in Symbol 231 MovieClip Frame 5
onClipEvent (load) {
this.yzz = "yes";
}
Symbol 231 MovieClip Frame 6
gotoAndStop (1);
Symbol 232 MovieClip Frame 1
stop();
if (_root.fu == true) {
_root.sxintro.stop("sxintro");
_root.yzzintro.stop("yzzintro");
_root.wzcintro.stop("wzcintro");
_root.zssintro.stop("zssintro");
_root.zyxintro.stop("zyxintro");
_root.zxzintro.stop("zxzintro");
_root.tjhintro.stop("tjhintro");
_root.ybintro.stop("ybintro");
_root.fuintro.start();
}
_parent._parent.speciality = "speciality: perfect monster";
Instance of Symbol 229 MovieClip in Symbol 232 MovieClip Frame 1
onClipEvent (load) {
var hiddenplayercolor = new Color(this);
this.fu = "yes";
if (_root.fu == false) {
hiddenplayercolor.setRGB(0);
}
}
Symbol 232 MovieClip Frame 2
stop();
_parent._parent.speciality = "speciality: dunk";
Instance of Symbol 229 MovieClip in Symbol 232 MovieClip Frame 2
onClipEvent (load) {
var hiddenplayercolor = new Color(this);
this.ym = "yes";
if (_root.ym == false) {
hiddenplayercolor.setRGB(0);
}
}
Symbol 232 MovieClip Frame 3
gotoAndStop (1);
Symbol 233 MovieClip Frame 1
stop();
_parent._parent.speciality = "speciality: instant speed";
Instance of Symbol 229 MovieClip in Symbol 233 MovieClip Frame 1
onClipEvent (load) {
this.hf = "yes";
}
Symbol 233 MovieClip Frame 2
stop();
_parent._parent.speciality = "speciality: rushing scoring";
Instance of Symbol 229 MovieClip in Symbol 233 MovieClip Frame 2
onClipEvent (load) {
this.wzy = "yes";
}
Symbol 233 MovieClip Frame 3
stop();
_parent._parent.speciality = "speciality: solid defender";
Instance of Symbol 229 MovieClip in Symbol 233 MovieClip Frame 3
onClipEvent (load) {
this.sl = "yes";
}
Symbol 233 MovieClip Frame 4
gotoAndStop (1);
Symbol 234 MovieClip Frame 1
groupname = amateur;
Instance of Symbol 230 MovieClip "amateur" in Symbol 234 MovieClip Frame 1
onClipEvent (load) {
_parent._parent.proceed.enabled = true;
this.gotoAndStop(random(this._totalframes));
}
onClipEvent (enterFrame) {
if (_parent._name == "chara") {
if (this._currentframe == 1) {
_root.com2chara = "sx";
_parent._parent.playername = "Song Xin";
_root.com2name = "Song Xin";
}
if (this._currentframe == 2) {
_root.com2chara = "yb";
_parent._parent.playername = "Yin Bing";
_root.com2name = "Yin Bing";
}
if (this._currentframe == 3) {
_root.com2chara = "tjh";
_parent._parent.playername = "Tan Jinghai";
_root.com2name = "Tan Jinghai";
}
if (this._currentframe == 4) {
_root.com2chara = "dsh";
_parent._parent.playername = "Dong Shuheng";
_root.com2name = "Dong Shuheng";
}
}
}
Symbol 234 MovieClip Frame 2
groupname = common;
Instance of Symbol 231 MovieClip "common" in Symbol 234 MovieClip Frame 2
onClipEvent (load) {
_parent._parent.proceed.enabled = true;
this.gotoAndStop(random(this._totalframes));
}
onClipEvent (enterFrame) {
if (_parent._name == "chara") {
if (this._currentframe == 1) {
_root.com2chara = "zxz";
_parent._parent.playername = "Zhang Xiuzheng";
_root.com2name = "Zhang Xiuzheng";
}
if (this._currentframe == 2) {
_root.com2chara = "zyx";
_parent._parent.playername = "Zhou Yixiong";
_root.com2name = "Zhou Yixiong";
}
if (this._currentframe == 3) {
_root.com2chara = "zss";
_parent._parent.playername = "Zhang Shaoshuai";
_root.com2name = "Zhang Shaoshuai";
}
if (this._currentframe == 4) {
_root.com2chara = "wzc";
_parent._parent.playername = "Wang Zhicai";
_root.com2name = "Wang Zhicai";
}
if (this._currentframe == 5) {
_root.com2chara = "yzz";
_parent._parent.playername = "Yan Zhizhe";
_root.com2name = "Yan Zhizhe";
}
}
}
Symbol 234 MovieClip Frame 3
groupname = superman;
Instance of Symbol 232 MovieClip "superman" in Symbol 234 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndStop(random(this._totalframes));
}
onClipEvent (enterFrame) {
if (_parent._name == "chara") {
if ((_root.fu == true) && (this._currentframe == 1)) {
_root.com2chara = "fu";
_parent._parent.playername = "Fuck U";
_root.com2name = "Fuck U";
}
if ((_root.ym == true) && (this._currentframe == 2)) {
_root.com2chara = "ym";
_parent._parent.playername = "Yao Ming";
_root.com2name = "Yao Ming";
}
}
if ((_root.fu == false) && (this._currentframe == 1)) {
_parent._parent.playername = "Locked";
_parent._parent.proceed.enabled = false;
}
if ((_root.ym == false) && (this._currentframe == 2)) {
_parent._parent.playername = "Locked";
_parent._parent.proceed.enabled = false;
}
}
Symbol 234 MovieClip Frame 4
groupname = master;
Instance of Symbol 233 MovieClip "master" in Symbol 234 MovieClip Frame 4
onClipEvent (load) {
_parent._parent.proceed.enabled = true;
this.gotoAndStop(random(this._totalframes));
}
onClipEvent (enterFrame) {
if (_parent._name == "chara") {
if (this._currentframe == 1) {
_root.com2chara = "hf";
_parent._parent.playername = "Han Feng";
_root.com2name = "Han Feng";
}
if (this._currentframe == 2) {
_root.com2chara = "wzy";
_parent._parent.playername = "Wang Zhiyuan";
_root.com2name = "Wang Zhiyuan";
}
if (this._currentframe == 3) {
_root.com2chara = "sl";
_parent._parent.playername = "Shao Liang";
_root.com2name = "Shao Liang";
}
}
}
Symbol 234 MovieClip Frame 5
gotoAndStop (1);
Symbol 235 MovieClip Frame 1
groupname = amateur;
Instance of Symbol 230 MovieClip "amateur" in Symbol 235 MovieClip Frame 1
onClipEvent (load) {
_parent._parent.proceed.enabled = true;
this.gotoAndStop(random(this._totalframes));
}
onClipEvent (enterFrame) {
if (_parent._name == "chara") {
if (this._currentframe == 1) {
_root.com1chara = "sx";
_parent._parent.playername = "Song Xin";
_root.com1name = "Song Xin";
}
if (this._currentframe == 2) {
_root.com1chara = "yb";
_parent._parent.playername = "Yin Bing";
_root.com1name = "Yin Bing";
}
if (this._currentframe == 3) {
_root.com1chara = "tjh";
_parent._parent.playername = "Tan Jinghai";
_root.com1name = "Tan Jinghai";
}
if (this._currentframe == 4) {
_root.com1chara = "dsh";
_parent._parent.playername = "Dong Shuheng";
_root.com1name = "Dong Shuheng";
}
}
}
Symbol 235 MovieClip Frame 2
groupname = common;
Instance of Symbol 231 MovieClip "common" in Symbol 235 MovieClip Frame 2
onClipEvent (load) {
_parent._parent.proceed.enabled = true;
this.gotoAndStop(random(this._totalframes));
}
onClipEvent (enterFrame) {
if (_parent._name == "chara") {
if (this._currentframe == 1) {
_root.com1chara = "zxz";
_parent._parent.playername = "Zhang Xiuzheng";
_root.com1name = "Zhang Xiuzheng";
}
if (this._currentframe == 2) {
_root.com1chara = "zyx";
_parent._parent.playername = "Zhou Yixiong";
_root.com1name = "Zhou Yixiong";
}
if (this._currentframe == 3) {
_root.com1chara = "zss";
_parent._parent.playername = "Zhang Shaoshuai";
_root.com1name = "Zhang Shaoshuai";
}
if (this._currentframe == 4) {
_root.com1chara = "wzc";
_parent._parent.playername = "Wang Zhicai";
_root.com1name = "Wang Zhicai";
}
if (this._currentframe == 5) {
_root.com1chara = "yzz";
_parent._parent.playername = "Yan Zhizhe";
_root.com1name = "Yan Zhizhe";
}
}
}
Symbol 235 MovieClip Frame 3
groupname = superman;
Instance of Symbol 232 MovieClip "superman" in Symbol 235 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndStop(random(this._totalframes));
}
onClipEvent (enterFrame) {
if (_parent._name == "chara") {
if ((_root.fu == true) && (this._currentframe == 1)) {
_root.com1chara = "fu";
_parent._parent.playername = "Fuck U";
_root.com1name = "Fuck U";
}
if ((_root.ym == true) && (this._currentframe == 2)) {
_root.com1chara = "ym";
_parent._parent.playername = "Yao Ming";
_root.com1name = "Yao Ming";
}
}
if ((_root.fu == false) && (this._currentframe == 1)) {
_parent._parent.playername = "Locked";
_parent._parent.proceed.enabled = false;
}
if ((_root.ym == false) && (this._currentframe == 2)) {
_parent._parent.playername = "Locked";
_parent._parent.proceed.enabled = false;
}
}
Symbol 235 MovieClip Frame 4
groupname = master;
Instance of Symbol 233 MovieClip "master" in Symbol 235 MovieClip Frame 4
onClipEvent (load) {
_parent._parent.proceed.enabled = true;
this.gotoAndStop(random(this._totalframes));
}
onClipEvent (enterFrame) {
if (_parent._name == "chara") {
if (this._currentframe == 1) {
_root.com1chara = "hf";
_parent._parent.playername = "Han Feng";
_root.com1name = "Han Feng";
}
if (this._currentframe == 2) {
_root.com1chara = "wzy";
_parent._parent.playername = "Wang Zhiyuan";
_root.com1name = "Wang Zhiyuan";
}
if (this._currentframe == 3) {
_root.com1chara = "sl";
_parent._parent.playername = "Shao Liang";
_root.com1name = "Shao Liang";
}
}
}
Symbol 235 MovieClip Frame 5
gotoAndStop (1);
Symbol 236 Button
on (rollOver) {
effect.gotoAndPlay(2);
}
on (rollOut) {
effect.gotoAndPlay(16);
}
on (release) {
degree.nextFrame();
effect2.gotoAndPlay(2);
}
Symbol 241 MovieClip Frame 1
stop();
Symbol 242 Button
on (release) {
_root.entersound.start();
clickonce = true;
if (degree._currentframe != 6) {
chara._x = chara._x - 30;
chara._y = chara._y + 30;
chara._name = "charaok";
chara2._name = "chara";
if ((_root.p2chara != undefined) && (chara._name != "chara")) {
degree.gotoAndStop("ready");
controlbtn.gotoAndStop("cancel");
leftarrow.enabled = false;
leftarrow._visible = false;
rightarrow.enabled = false;
rightarrow._visible = false;
clickonce = false;
}
}
if ((degree._currentframe == 6) && (clickonce == true)) {
_parent.cancelunit2.call(obj, obj);
}
}
on (rollOver) {
_root.selectsound.start();
if (controlbtn._currentframe == 1) {
controlbtn.gotoAndStop(2);
}
if (controlbtn._currentframe == 3) {
controlbtn.gotoAndStop(4);
}
}
on (rollOut) {
if (controlbtn._currentframe == 2) {
controlbtn.gotoAndStop(1);
}
if (controlbtn._currentframe == 4) {
controlbtn.gotoAndStop(3);
}
}
Symbol 248 MovieClip Frame 1
stop();
Symbol 248 MovieClip Frame 2
_root.selectsound.start();
Symbol 248 MovieClip Frame 15
stop();
Symbol 248 MovieClip Frame 29
stop();
Symbol 249 MovieClip Frame 1
stop();
Symbol 249 MovieClip Frame 6
_root.entersound.start();
Symbol 249 MovieClip Frame 16
stop();
Symbol 250 MovieClip [unit2] Frame 1
this._x = -50;
this._y = 590;
onEnterFrame = function () {
this._x = this._x + 50;
if (this._x >= 390) {
this._x = 390;
delete onEnterFrame;
}
};
Instance of Symbol 152 MovieClip "degree" in Symbol 250 MovieClip [unit2] Frame 1
onClipEvent (load) {
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
if (this._currentframe == 6) {
_parent.unitready = true;
} else {
_parent.unitready = false;
}
}
Instance of Symbol 234 MovieClip in Symbol 250 MovieClip [unit2] Frame 1
onClipEvent (load) {
this._name = "chara2";
}
Instance of Symbol 235 MovieClip in Symbol 250 MovieClip [unit2] Frame 1
onClipEvent (load) {
this._name = "chara";
}
Symbol 253 MovieClip Frame 1
groupname = amateur;
Instance of Symbol 230 MovieClip "amateur" in Symbol 253 MovieClip Frame 1
onClipEvent (load) {
_parent._parent.proceed.enabled = true;
this.gotoAndStop(random(this._totalframes));
}
onClipEvent (enterFrame) {
if (_parent._name == "chara") {
if (this._currentframe == 1) {
_root.p2chara = "sx";
_parent._parent.playername = "Song Xin";
_root.p2name = "Song Xin";
}
if (this._currentframe == 2) {
_root.p2chara = "yb";
_parent._parent.playername = "Yin Bing";
_root.p2name = "Yin Bing";
}
if (this._currentframe == 3) {
_root.p2chara = "tjh";
_parent._parent.playername = "Tan Jinghai";
_root.p2name = "Tan Jinghai";
}
if (this._currentframe == 4) {
_root.p2chara = "dsh";
_parent._parent.playername = "Dong Shuheng";
_root.p2name = "Dong Shuheng";
}
}
}
Symbol 253 MovieClip Frame 2
groupname = common;
Instance of Symbol 231 MovieClip "common" in Symbol 253 MovieClip Frame 2
onClipEvent (load) {
_parent._parent.proceed.enabled = true;
this.gotoAndStop(random(this._totalframes));
}
onClipEvent (enterFrame) {
if (_parent._name == "chara") {
if (this._currentframe == 1) {
_root.p2chara = "zxz";
_parent._parent.playername = "Zhang Xiuzheng";
_root.p2name = "Song Xin";
}
if (this._currentframe == 2) {
_root.p2chara = "zyx";
_parent._parent.playername = "Zhou Yixiong";
_root.p2name = "Zhou Yixiong";
}
if (this._currentframe == 3) {
_root.p2chara = "zss";
_parent._parent.playername = "Zhang Shaoshuai";
_root.p2name = "Zhang Shaoshuai";
}
if (this._currentframe == 4) {
_root.p2chara = "wzc";
_parent._parent.playername = "Wang Zhicai";
_root.p2name = "Wang Zhicai";
}
if (this._currentframe == 5) {
_root.p2chara = "yzz";
_parent._parent.playername = "Yan Zhizhe";
_root.p2name = "Yan Zhizhe";
}
}
}
Symbol 253 MovieClip Frame 3
groupname = superman;
Instance of Symbol 232 MovieClip "superman" in Symbol 253 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndStop(random(this._totalframes));
}
onClipEvent (enterFrame) {
if (_parent._name == "chara") {
if ((_root.fu == true) && (this._currentframe == 1)) {
_root.p2chara = "fu";
_parent._parent.playername = "Fuck U";
_root.p2name = "Fuck U";
}
if ((_root.ym == true) && (this._currentframe == 2)) {
_root.p2chara = "ym";
_parent._parent.playername = "Yao Ming";
_root.p2name = "Yao Ming";
}
}
if ((_root.fu == false) && (this._currentframe == 1)) {
_parent._parent.playername = "Locked";
_parent._parent.proceed.enabled = false;
}
if ((_root.ym == false) && (this._currentframe == 2)) {
_parent._parent.playername = "Locked";
_parent._parent.proceed.enabled = false;
}
}
Symbol 253 MovieClip Frame 4
groupname = master;
Instance of Symbol 233 MovieClip "master" in Symbol 253 MovieClip Frame 4
onClipEvent (load) {
_parent._parent.proceed.enabled = true;
this.gotoAndStop(random(this._totalframes));
}
onClipEvent (enterFrame) {
if (_parent._name == "chara") {
if (this._currentframe == 1) {
_root.p2chara = "hf";
_parent._parent.playername = "Han Feng";
_root.p2name = "Han Feng";
}
if (this._currentframe == 2) {
_root.p2chara = "wzy";
_parent._parent.playername = "Wang Zhiyuan";
_root.p2name = "Wang Zhiyuan";
}
if (this._currentframe == 3) {
_root.p2chara = "sl";
_parent._parent.playername = "Shao Liang";
_root.p2name = "Shao Liang";
}
}
}
Symbol 253 MovieClip Frame 5
gotoAndStop (1);
Symbol 254 MovieClip Frame 1
groupname = amateur;
Instance of Symbol 230 MovieClip "amateur" in Symbol 254 MovieClip Frame 1
onClipEvent (load) {
_parent._parent.proceed.enabled = true;
this.gotoAndStop(random(this._totalframes));
}
onClipEvent (enterFrame) {
if (_parent._name == "chara") {
if (this._currentframe == 1) {
_root.p1chara = "sx";
_parent._parent.playername = "Song Xin";
_root.p1name = "Song Xin";
}
if (this._currentframe == 2) {
_root.p1chara = "yb";
_parent._parent.playername = "Yin Bing";
_root.p1name = "Yin Bing";
}
if (this._currentframe == 3) {
_root.p1chara = "tjh";
_parent._parent.playername = "Tan Jinghai";
_root.p1name = "Tan Jinghai";
}
if (this._currentframe == 4) {
_root.p1chara = "dsh";
_parent._parent.playername = "Dong Shuheng";
_root.p1name = "Dong Shuheng";
}
}
}
Symbol 254 MovieClip Frame 2
groupname = common;
Instance of Symbol 231 MovieClip "common" in Symbol 254 MovieClip Frame 2
onClipEvent (load) {
_parent._parent.proceed.enabled = true;
this.gotoAndStop(random(this._totalframes));
}
onClipEvent (enterFrame) {
if (_parent._name == "chara") {
if (this._currentframe == 1) {
_root.p1chara = "zxz";
_parent._parent.playername = "Zhang Xiuzheng";
_root.p1name = "Zhang Xiuzheng";
}
if (this._currentframe == 2) {
_root.p1chara = "zyx";
_parent._parent.playername = "Zhou Yixiong";
_root.p1name = "Zhou Yixiong";
}
if (this._currentframe == 3) {
_root.p1chara = "zss";
_parent._parent.playername = "Zhang Shaoshuai";
_root.p1name = "Zhang Shaoshuai";
}
if (this._currentframe == 4) {
_root.p1chara = "wzc";
_parent._parent.playername = "Wang Zhicai";
_root.p1name = "Wang Zhicai";
}
if (this._currentframe == 5) {
_root.p1chara = "yzz";
_parent._parent.playername = "Yan Zhizhe";
_root.p1name = "Yan Zhizhe";
}
}
}
Symbol 254 MovieClip Frame 3
groupname = superman;
Instance of Symbol 232 MovieClip "superman" in Symbol 254 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndStop(random(this._totalframes));
}
onClipEvent (enterFrame) {
if (_parent._name == "chara") {
if ((_root.fu == true) && (this._currentframe == 1)) {
_root.p1chara = "fu";
_parent._parent.playername = "Fuck U";
_root.p1name = "Fuck U";
}
if ((_root.ym == true) && (this._currentframe == 2)) {
_root.p1chara = "ym";
_parent._parent.playername = "Yao Ming";
_root.p1name = "Yao Ming";
}
}
if ((_root.fu == false) && (this._currentframe == 1)) {
_parent._parent.playername = "Locked";
_parent._parent.proceed.enabled = false;
}
if ((_root.ym == false) && (this._currentframe == 2)) {
_parent._parent.playername = "Locked";
_parent._parent.proceed.enabled = false;
}
}
Symbol 254 MovieClip Frame 4
groupname = master;
Instance of Symbol 233 MovieClip "master" in Symbol 254 MovieClip Frame 4
onClipEvent (load) {
_parent._parent.proceed.enabled = true;
this.gotoAndStop(random(this._totalframes));
}
onClipEvent (enterFrame) {
if (_parent._name == "chara") {
if (this._currentframe == 1) {
_root.p1chara = "hf";
_parent._parent.playername = "Han Feng";
_root.p1name = "Han Feng";
}
if (this._currentframe == 2) {
_root.p1chara = "wzy";
_parent._parent.playername = "Wang Zhiyuan";
_root.p1name = "Wang Zhiyuan";
}
if (this._currentframe == 3) {
_root.p1chara = "sl";
_parent._parent.playername = "Shao Liang";
_root.p1name = "Shao Liang";
}
}
}
Symbol 254 MovieClip Frame 5
gotoAndStop (1);
Symbol 255 Button
on (release) {
clickonce = true;
_root.entersound.start();
if (degree._currentframe != 6) {
chara._x = chara._x + 30;
chara._y = chara._y + 30;
chara._name = "charaok";
chara2._name = "chara";
if ((_root.p2chara != undefined) && (chara._name != "chara")) {
degree.gotoAndStop("ready");
controlbtn.gotoAndStop("cancel");
leftarrow.enabled = false;
leftarrow._visible = false;
rightarrow.enabled = false;
rightarrow._visible = false;
clickonce = false;
}
}
if ((degree._currentframe == 6) && (clickonce == true)) {
_parent.cancelunit1.call(obj, obj);
}
}
on (rollOver) {
_root.selectsound.start();
if (controlbtn._currentframe == 1) {
controlbtn.gotoAndStop(2);
}
if (controlbtn._currentframe == 3) {
controlbtn.gotoAndStop(4);
}
}
on (rollOut) {
if (controlbtn._currentframe == 2) {
controlbtn.gotoAndStop(1);
}
if (controlbtn._currentframe == 4) {
controlbtn.gotoAndStop(3);
}
}
Symbol 258 MovieClip [unit1] Frame 1
this._x = -50;
this._y = 445;
onEnterFrame = function () {
this._x = this._x + 50;
if (this._x >= 390) {
this._x = 390;
delete onEnterFrame;
}
};
Instance of Symbol 152 MovieClip "degree" in Symbol 258 MovieClip [unit1] Frame 1
onClipEvent (load) {
this.gotoAndStop(random(4) + 1);
}
onClipEvent (enterFrame) {
if (this._currentframe == 6) {
_parent.unitready = true;
} else {
_parent.unitready = false;
}
}
Instance of Symbol 253 MovieClip in Symbol 258 MovieClip [unit1] Frame 1
onClipEvent (load) {
this._name = "chara2";
}
Instance of Symbol 254 MovieClip in Symbol 258 MovieClip [unit1] Frame 1
onClipEvent (load) {
this._name = "chara";
}
Instance of Symbol 261 MovieClip in Symbol 262 MovieClip [partner lable] Frame 1
onClipEvent (enterFrame) {
_parent._x = _root.bg.player2._x;
_parent._y = _root.bg.player2._y - 300;
_parent._x = _root.bg.waitp2._x;
_parent._y = _root.bg.waitp2._y - 300;
}
Instance of Symbol 265 MovieClip in Symbol 266 MovieClip [player lable] Frame 1
onClipEvent (enterFrame) {
_parent._x = _root.bg.controlplayer._x;
_parent._y = _root.bg.controlplayer._y - 300;
_parent._x = _root.bg.waitcp._x;
_parent._y = _root.bg.waitcp._y - 300;
}
Symbol 270 MovieClip [throwerball] Frame 1
dy = 30;
Instance of Symbol 269 MovieClip in Symbol 270 MovieClip [throwerball] Frame 1
onClipEvent (load) {
grav_y = 0;
jumping = false;
JA = 50;
}
onClipEvent (enterFrame) {
_parent._y = _parent._y + _parent.dy;
if (_parent._y > 580) {
_parent._y = 580;
_parent.dy = _parent.dy * -0.7;
_parent.dx = _parent.dx - 0.5;
if (_parent.dx < 0) {
_parent.dx = 0;
}
if (JA > 0) {
_root.bounce.start();
_parent.dy = _parent.dy * 0.5;
grav_y = 0;
jumping = false;
} else {
grav_y = 0;
}
jumping = false;
}
_parent.dy = _parent.dy + 1;
if (!jumping) {
grav_y = JA;
JA = JA - 3;
jumping = true;
}
if (jumping == true) {
grav_y = grav_y - 1;
if (grav_y < 0) {
grav_y = 0;
}
_parent._y = _parent._y - grav_y;
}
if (_parent.hitTest(_root.bg.controlplayer)) {
if ((_root.bg.controlplayer._y == 580) && (_parent._y > 500)) {
_root.bg.controlplayer.gotoAndStop("pick ball");
_parent.removeMovieClip();
}
if (((_root.bg.controlplayer._y == 580) && (_parent._y < 500)) && (_parent._y > 380)) {
_root.bg.controlplayer.gotoAndStop("receive ball");
_parent.removeMovieClip();
}
if ((_root.bg.controlplayer._y == 580) && (_parent._y < 380)) {
_root.bg.controlplayer.gotoAndStop("high receive ball");
_parent.removeMovieClip();
}
}
if (_parent.hitTest(_root.bg.player2)) {
if ((_root.bg.player2._y == 580) && (_parent._y > 500)) {
_root.bg.player2.gotoAndStop("pick ball");
_root.switchplayer.call(obj, obj);
_parent.removeMovieClip();
}
if (((_root.bg.player2._y == 580) && (_parent._y < 500)) && (_parent._y > 380)) {
_root.bg.player2.gotoAndStop("receive ball");
_root.switchplayer.call(obj, obj);
_parent.removeMovieClip();
}
if ((_root.bg.player2._y == 580) && (_parent._y < 380)) {
_root.bg.player2.gotoAndStop("high receive ball");
_root.switchplayer.call(obj, obj);
_parent.removeMovieClip();
}
}
if (_parent.hitTest(_root.bg.com1)) {
if ((_root.bg.com1._y == 580) && (_parent._y > 500)) {
_root.bg.com1.gotoAndStop("pick ball");
_parent.removeMovieClip();
}
if (((_root.bg.com1._y == 580) && (_parent._y < 500)) && (_parent._y > 380)) {
_root.bg.com1.gotoAndStop("receive ball");
_parent.removeMovieClip();
}
if ((_root.bg.com1._y == 580) && (_parent._y < 380)) {
_root.bg.com1.gotoAndStop("high receive ball");
_parent.removeMovieClip();
}
}
if (_parent.hitTest(_root.bg.com2)) {
if ((_root.bg.com2._y == 580) && (_parent._y > 500)) {
_root.bg.com2.gotoAndStop("pick ball");
_parent.removeMovieClip();
}
if (((_root.bg.com2._y == 580) && (_parent._y < 500)) && (_parent._y > 380)) {
_root.bg.com2.gotoAndStop("receive ball");
_parent.removeMovieClip();
}
if ((_root.bg.com2._y == 580) && (_parent._y < 380)) {
_root.bg.com2.gotoAndStop("high receive ball");
_parent.removeMovieClip();
}
}
}
Symbol 271 MovieClip [loseball2] Frame 1
movex = 5 + random(15);
shotgrv = null;
curve = (15 + Math.round(Math.random() * -15)) + 5;
shotgrv = 4 + random(3);
dx = movex;
dy = shotgrv;
if (_root.loser._xscale == 100) {
dir = 100;
}
if (_root.loser._xscale == -100) {
dir = -100;
}
Instance of Symbol 269 MovieClip in Symbol 271 MovieClip [loseball2] Frame 1
onClipEvent (load) {
grav_y = 0;
jumping = false;
JA = _parent.curve;
hitonce = false;
}
onClipEvent (enterFrame) {
if (_parent.dir == 100) {
_parent._x = _parent._x + _parent.dx;
}
if (_parent.dir == -100) {
_parent._x = _parent._x - _parent.dx;
}
_parent._y = _parent._y + _parent.dy;
if (_parent._y > 580) {
_parent._y = 580;
_parent.dy = _parent.dy * -0.7;
_parent.dx = _parent.dx - 0.5;
if (_parent.dx < 0) {
_parent.dx = 0;
}
if (JA > 0) {
_root.bounce.start();
_parent.dy = _parent.dy * 0.5;
grav_y = 0;
jumping = false;
} else {
grav_y = 0;
}
jumping = false;
}
_parent.dy = _parent.dy + 2;
if (!jumping) {
grav_y = JA;
JA = JA - 3;
jumping = true;
}
if (jumping == true) {
grav_y = grav_y - 1;
if (grav_y < 0) {
grav_y = 0;
}
_parent._y = _parent._y - grav_y;
}
if (_parent.hitTest(_root.bg.controlplayer)) {
if ((_root.bg.controlplayer._y == 580) && (_parent._y > 500)) {
_root.bg.controlplayer.gotoAndStop("pick ball");
_parent.removeMovieClip();
}
if (((_root.bg.controlplayer._y == 580) && (_parent._y < 500)) && (_parent._y > 380)) {
_root.bg.controlplayer.gotoAndStop("receive ball");
_parent.removeMovieClip();
}
if (((_parent._xscale == _root.bg.controlplayer._xscale) && (_root.bg.controlplayer._y == 580)) && (_parent._y < 380)) {
_root.bg.controlplayer.gotoAndStop("high receive ball");
_parent.removeMovieClip();
}
if ((((_parent._xscale != _root.bg.controlplayer._xscale) && (_root.bg.controlplayer._y == 580)) && (_parent._y < 380)) && (hitonce == false)) {
_root.bg.controlplayer.gotoAndStop("ball hitted");
_parent.dx = _parent.dx * -0.5;
hitonce = true;
}
}
if (_parent.hitTest(_root.bg.player2)) {
if ((_root.bg.player2._y == 580) && (_parent._y > 500)) {
_root.bg.player2.gotoAndStop("pick ball");
_root.switchplayer.call(obj, obj);
_parent.removeMovieClip();
}
if (((_root.bg.player2._y == 580) && (_parent._y < 500)) && (_parent._y > 380)) {
_root.bg.player2.gotoAndStop("receive ball");
_root.switchplayer.call(obj, obj);
_parent.removeMovieClip();
}
if (((_parent._xscale == _root.bg.player2._xscale) && (_root.bg.player2._y == 580)) && (_parent._y < 380)) {
_root.bg.player2.gotoAndStop("high receive ball");
_root.switchplayer.call(obj, obj);
_parent.removeMovieClip();
}
if ((((_parent._xscale != _root.bg.player2._xscale) && (_root.bg.player2._y == 580)) && (_parent._y < 380)) && (hitonce == false)) {
_root.bg.player2.gotoAndStop("ball hitted");
_parent.dx = _parent.dx * -0.5;
hitonce = true;
}
}
if (_parent.hitTest(_root.bg.com1)) {
if ((_root.bg.com1._y == 580) && (_parent._y > 500)) {
_root.bg.com1.gotoAndStop("pick ball");
_parent.removeMovieClip();
}
if (((_root.bg.com1._y == 580) && (_parent._y < 500)) && (_parent._y > 380)) {
_root.bg.com1.gotoAndStop("receive ball");
_parent.removeMovieClip();
}
if (((_parent._xscale == _root.bg.com1._xscale) && (_root.bg.com1._y == 580)) && (_parent._y < 380)) {
_root.bg.com1.gotoAndStop("high receive ball");
_parent.removeMovieClip();
}
if ((((_parent._xscale != _root.bg.com1._xscale) && (_root.bg.com1._y == 580)) && (_parent._y < 380)) && (hitonce == false)) {
_root.bg.com1.gotoAndStop("ball hitted");
_parent.dx = _parent.dx * -0.5;
hitonce = true;
}
}
if (_parent.hitTest(_root.bg.com2)) {
if ((_root.bg.com2._y == 580) && (_parent._y > 500)) {
_root.bg.com2.gotoAndStop("pick ball");
_parent.removeMovieClip();
}
if (((_root.bg.com2._y == 580) && (_parent._y < 500)) && (_parent._y > 380)) {
_root.bg.com2.gotoAndStop("receive ball");
_parent.removeMovieClip();
}
if (((_parent._xscale == _root.bg.com2._xscale) && (_root.bg.com2._y == 580)) && (_parent._y < 380)) {
_root.bg.com2.gotoAndStop("high receive ball");
_parent.removeMovieClip();
}
if ((((_parent._xscale != _root.bg.com2._xscale) && (_root.bg.com2._y == 580)) && (_parent._y < 380)) && (hitonce == false)) {
_root.bg.com2.gotoAndStop("ball hitted");
_parent.dx = _parent.dx * -0.5;
hitonce = true;
}
}
}
Symbol 272 MovieClip [loseball] Frame 1
a = random(2);
if (a == 1) {
dir = 100;
this._x = _root.paser._x - 80;
}
if (a == 0) {
dir = -100;
this._x = _root.paser._x + 80;
}
movex = 5 + random(15);
shotgrv = null;
curve = (15 + Math.round(Math.random() * -15)) + 5;
shotgrv = 4 + random(3);
dx = movex;
dy = shotgrv;
Instance of Symbol 269 MovieClip in Symbol 272 MovieClip [loseball] Frame 1
onClipEvent (load) {
grav_y = 0;
jumping = false;
JA = _parent.curve;
hitonce = false;
}
onClipEvent (enterFrame) {
if (_parent.dir == 100) {
_parent._x = _parent._x - _parent.dx;
}
if (_parent.dir == -100) {
_parent._x = _parent._x + _parent.dx;
}
_parent._y = _parent._y + _parent.dy;
if (_parent._y > 580) {
_parent._y = 580;
_parent.dy = _parent.dy * -0.7;
_parent.dx = _parent.dx - 0.5;
if (_parent.dx < 0) {
_parent.dx = 0;
}
if (JA > 0) {
_root.bounce.start();
_parent.dy = _parent.dy * 0.5;
grav_y = 0;
jumping = false;
} else {
grav_y = 0;
}
jumping = false;
}
_parent.dy = _parent.dy + 2;
if (!jumping) {
grav_y = JA;
JA = JA - 3;
jumping = true;
}
if (jumping == true) {
grav_y = grav_y - 1;
if (grav_y < 0) {
grav_y = 0;
}
_parent._y = _parent._y - grav_y;
}
if (_parent.hitTest(_root.bg.controlplayer)) {
if ((_root.bg.controlplayer._y == 580) && (_parent._y > 500)) {
_root.bg.controlplayer.gotoAndStop("pick ball");
_parent.removeMovieClip();
}
if (((_root.bg.controlplayer._y == 580) && (_parent._y < 500)) && (_parent._y > 380)) {
_root.bg.controlplayer.gotoAndStop("receive ball");
_parent.removeMovieClip();
}
if (((_parent._xscale == _root.bg.controlplayer._xscale) && (_root.bg.controlplayer._y == 580)) && (_parent._y < 380)) {
_root.bg.controlplayer.gotoAndStop("high receive ball");
_parent.removeMovieClip();
}
if ((((_parent._xscale != _root.bg.controlplayer._xscale) && (_root.bg.controlplayer._y == 580)) && (_parent._y < 380)) && (hitonce == false)) {
_root.bg.controlplayer.gotoAndStop("ball hitted");
_parent.dx = _parent.dx * -0.5;
hitonce = true;
}
}
if (_parent.hitTest(_root.bg.player2)) {
if ((_root.bg.player2._y == 580) && (_parent._y > 500)) {
_root.bg.player2.gotoAndStop("pick ball");
_root.switchplayer.call(obj, obj);
_parent.removeMovieClip();
}
if (((_root.bg.player2._y == 580) && (_parent._y < 500)) && (_parent._y > 380)) {
_root.bg.player2.gotoAndStop("receive ball");
_root.switchplayer.call(obj, obj);
_parent.removeMovieClip();
}
if (((_parent._xscale == _root.bg.player2._xscale) && (_root.bg.player2._y == 580)) && (_parent._y < 380)) {
_root.bg.player2.gotoAndStop("high receive ball");
_root.switchplayer.call(obj, obj);
_parent.removeMovieClip();
}
if ((((_parent._xscale != _root.bg.player2._xscale) && (_root.bg.player2._y == 580)) && (_parent._y < 380)) && (hitonce == false)) {
_root.bg.player2.gotoAndStop("ball hitted");
_parent.dx = _parent.dx * -0.5;
hitonce = true;
}
}
if (_parent.hitTest(_root.bg.com1)) {
if ((_root.bg.com1._y == 580) && (_parent._y > 500)) {
_root.bg.com1.gotoAndStop("pick ball");
_parent.removeMovieClip();
}
if (((_root.bg.com1._y == 580) && (_parent._y < 500)) && (_parent._y > 380)) {
_root.bg.com1.gotoAndStop("receive ball");
_parent.removeMovieClip();
}
if (((_parent._xscale == _root.bg.com1._xscale) && (_root.bg.com1._y == 580)) && (_parent._y < 380)) {
_root.bg.com1.gotoAndStop("high receive ball");
_parent.removeMovieClip();
}
if ((((_parent._xscale != _root.bg.com1._xscale) && (_root.bg.com1._y == 580)) && (_parent._y < 380)) && (hitonce == false)) {
_root.bg.com1.gotoAndStop("ball hitted");
_parent.dx = _parent.dx * -0.5;
hitonce = true;
}
}
if (_parent.hitTest(_root.bg.com2)) {
if ((_root.bg.com2._y == 580) && (_parent._y > 500)) {
_root.bg.com2.gotoAndStop("pick ball");
_parent.removeMovieClip();
}
if (((_root.bg.com2._y == 580) && (_parent._y < 500)) && (_parent._y > 380)) {
_root.bg.com2.gotoAndStop("receive ball");
_parent.removeMovieClip();
}
if (((_parent._xscale == _root.bg.com2._xscale) && (_root.bg.com2._y == 580)) && (_parent._y < 380)) {
_root.bg.com2.gotoAndStop("high receive ball");
_parent.removeMovieClip();
}
if ((((_parent._xscale != _root.bg.com2._xscale) && (_root.bg.com2._y == 580)) && (_parent._y < 380)) && (hitonce == false)) {
_root.bg.com2.gotoAndStop("ball hitted");
_parent.dx = _parent.dx * -0.5;
hitonce = true;
}
}
}
Symbol 273 MovieClip [shortball] Frame 1
if (_root.paser == _root.bg.controlplayer) {
movex = Math.abs(_root.bg.player2._x - _root.bg.controlplayer._x) / 30;
}
if (_root.paser == _root.bg.com1) {
movex = Math.abs(_root.bg.com1._x - _root.bg.com2._x) / 30;
}
if (_root.paser == _root.bg.com2) {
movex = Math.abs(_root.bg.com1._x - _root.bg.com2._x) / 30;
}
shotgrv = null;
if (_root.passer == "wzc") {
movex = movex + random(15);
curve = (18 + Math.round(Math.random() * -15)) + 5;
shotgrv = 5;
}
if (_root.passer == "zyx") {
movex = movex + random(10);
curve = (20 + Math.round(Math.random() * -5)) - 5;
shotgrv = 3;
}
if (_root.passer == "zxz") {
movex = movex + random(25);
curve = (15 + Math.round(Math.random() * -15)) + 5;
shotgrv = 2;
}
if (_root.passer == "zss") {
movex = movex + random(15);
curve = (16 + Math.round(Math.random() * -6)) + 3;
shotgrv = 4;
}
if (_root.passer == "tjh") {
movex = movex + random(10);
curve = (20 + Math.round(Math.random() * -16)) + 8;
shotgrv = 3;
}
if (_root.passer == "sx") {
movex = movex + random(5);
curve = (20 + Math.round(Math.random() * -20)) + 10;
shotgrv = 8;
}
if (_root.passer == "yzz") {
movex = movex + random(3);
curve = (18 + Math.round(Math.random() * -13)) + 3;
shotgrv = 4;
}
if (_root.passer == "yb") {
movex = movex + random(20);
curve = (20 + Math.round(Math.random() * -15)) + 10;
shotgrv = 5;
}
if (_root.passer == "fu") {
movex = movex + random(10);
curve = (20 + Math.round(Math.random() * -4)) + 2;
shotgrv = 4;
}
if (_root.passer == "hf") {
movex = movex + random(10);
curve = (20 + Math.round(Math.random() * -4)) + 2;
shotgrv = 4;
}
if (_root.passer == "wzy") {
movex = movex + random(8);
curve = (22 + Math.round(Math.random() * -10)) + 5;
shotgrv = 4;
}
if (_root.passer == "dsh") {
movex = movex + random(10);
curve = (20 + Math.round(Math.random() * -16)) + 8;
shotgrv = 3;
}
if (_root.passer == "ym") {
movex = movex + random(5);
curve = (20 + Math.round(Math.random() * -10)) + 5;
shotgrv = 3;
}
if (_root.passer == "sl") {
movex = movex + random(20);
curve = (20 + Math.round(Math.random() * -4)) + 2;
shotgrv = 6;
}
if (movex > 80) {
movex = 80;
}
dx = movex;
dy = shotgrv;
if (_root.paser._xscale == 100) {
dir = 100;
}
if (_root.paser._xscale == -100) {
dir = -100;
}
Instance of Symbol 269 MovieClip in Symbol 273 MovieClip [shortball] Frame 1
onClipEvent (load) {
grav_y = 0;
jumping = false;
JA = _parent.curve;
hitonce = false;
}
onClipEvent (enterFrame) {
if (_parent.dir == 100) {
_parent._x = _parent._x - _parent.dx;
}
if (_parent.dir == -100) {
_parent._x = _parent._x + _parent.dx;
}
_parent._y = _parent._y + _parent.dy;
if (_parent._y > 580) {
_parent._y = 580;
_parent.dy = _parent.dy * -0.7;
_parent.dx = _parent.dx - 0.5;
if (_parent.dx < 0) {
_parent.dx = 0;
}
if (JA > 0) {
_root.bounce.start();
_parent.dy = _parent.dy * 0.5;
grav_y = 0;
jumping = false;
} else {
grav_y = 0;
}
jumping = false;
}
_parent.dy = _parent.dy + 2;
if (!jumping) {
grav_y = JA;
JA = JA - 3;
jumping = true;
}
if (jumping == true) {
grav_y = grav_y - 1;
if (grav_y < 0) {
grav_y = 0;
}
_parent._y = _parent._y - grav_y;
}
if (_parent.hitTest(_root.bg.controlplayer)) {
if ((_root.bg.controlplayer._y == 580) && (_parent._y > 500)) {
_root.bg.controlplayer.gotoAndStop("pick ball");
_parent.removeMovieClip();
}
if (((_root.bg.controlplayer._y == 580) && (_parent._y < 500)) && (_parent._y > 380)) {
_root.bg.controlplayer.gotoAndStop("receive ball");
_parent.removeMovieClip();
}
if (((_parent._xscale == _root.bg.controlplayer._xscale) && (_root.bg.controlplayer._y == 580)) && (_parent._y < 380)) {
_root.bg.controlplayer.gotoAndStop("high receive ball");
_parent.removeMovieClip();
}
if ((((_parent._xscale != _root.bg.controlplayer._xscale) && (_root.bg.controlplayer._y == 580)) && (_parent._y < 380)) && (hitonce == false)) {
_root.bg.controlplayer.gotoAndStop("ball hitted");
_parent.dx = _parent.dx * -0.5;
hitonce = true;
}
}
if (_parent.hitTest(_root.bg.player2)) {
if ((_root.bg.player2._y == 580) && (_parent._y > 500)) {
_root.bg.player2.gotoAndStop("pick ball");
_root.switchplayer.call(obj, obj);
_parent.removeMovieClip();
}
if (((_root.bg.player2._y == 580) && (_parent._y < 500)) && (_parent._y > 380)) {
_root.bg.player2.gotoAndStop("receive ball");
_root.switchplayer.call(obj, obj);
_parent.removeMovieClip();
}
if (((_parent._xscale == _root.bg.player2._xscale) && (_root.bg.player2._y == 580)) && (_parent._y < 380)) {
_root.bg.player2.gotoAndStop("high receive ball");
_root.switchplayer.call(obj, obj);
_parent.removeMovieClip();
}
if ((((_parent._xscale != _root.bg.player2._xscale) && (_root.bg.player2._y == 580)) && (_parent._y < 380)) && (hitonce == false)) {
_root.bg.player2.gotoAndStop("ball hitted");
_parent.dx = _parent.dx * -0.5;
hitonce = true;
}
}
if (_parent.hitTest(_root.bg.com1)) {
if ((_root.bg.com1._y == 580) && (_parent._y > 500)) {
_root.bg.com1.gotoAndStop("pick ball");
_parent.removeMovieClip();
}
if (((_root.bg.com1._y == 580) && (_parent._y < 500)) && (_parent._y > 380)) {
_root.bg.com1.gotoAndStop("receive ball");
_parent.removeMovieClip();
}
if (((_parent._xscale == _root.bg.com1._xscale) && (_root.bg.com1._y == 580)) && (_parent._y < 380)) {
_root.bg.com1.gotoAndStop("high receive ball");
_parent.removeMovieClip();
}
if ((((_parent._xscale != _root.bg.com1._xscale) && (_root.bg.com1._y == 580)) && (_parent._y < 380)) && (hitonce == false)) {
_root.bg.com1.gotoAndStop("ball hitted");
_parent.dx = _parent.dx * -0.5;
hitonce = true;
}
}
if (_parent.hitTest(_root.bg.com2)) {
if ((_root.bg.com2._y == 580) && (_parent._y > 500)) {
_root.bg.com2.gotoAndStop("pick ball");
_parent.removeMovieClip();
}
if (((_root.bg.com2._y == 580) && (_parent._y < 500)) && (_parent._y > 380)) {
_root.bg.com2.gotoAndStop("receive ball");
_parent.removeMovieClip();
}
if (((_parent._xscale == _root.bg.com2._xscale) && (_root.bg.com2._y == 580)) && (_parent._y < 380)) {
_root.bg.com2.gotoAndStop("high receive ball");
_parent.removeMovieClip();
}
if ((((_parent._xscale != _root.bg.com2._xscale) && (_root.bg.com2._y == 580)) && (_parent._y < 380)) && (hitonce == false)) {
_root.bg.com2.gotoAndStop("ball hitted");
_parent.dx = _parent.dx * -0.5;
hitonce = true;
}
}
}
Symbol 274 MovieClip [longball] Frame 1
if (_root.paser == _root.bg.controlplayer) {
movex = Math.abs(_root.bg.player2._x - _root.bg.controlplayer._x) / 40;
}
if (_root.paser == _root.bg.com1) {
movex = Math.abs(_root.bg.com1._x - _root.bg.com2._x) / 40;
}
if (_root.paser == _root.bg.com2) {
movex = Math.abs(_root.bg.com1._x - _root.bg.com2._x) / 40;
}
shotgrv = null;
if (_root.passer == "wzc") {
movex = movex + random(15);
curve = (28 + Math.round(Math.random() * -15)) + 5;
shotgrv = 5;
}
if (_root.passer == "zyx") {
movex = movex + random(5);
curve = (30 + Math.round(Math.random() * -5)) - 5;
shotgrv = 3;
}
if (_root.passer == "zxz") {
movex = movex + random(20);
curve = (25 + Math.round(Math.random() * -15)) + 5;
shotgrv = 2;
}
if (_root.passer == "zss") {
movex = movex + random(5);
curve = (26 + Math.round(Math.random() * -6)) + 3;
shotgrv = 4;
}
if (_root.passer == "tjh") {
movex = movex + random(3);
curve = (30 + Math.round(Math.random() * -16)) + 8;
shotgrv = 3;
}
if (_root.passer == "sx") {
movex = movex + random(5);
curve = (30 + Math.round(Math.random() * -20)) + 10;
shotgrv = 8;
}
if (_root.passer == "yzz") {
movex = movex + random(3);
curve = (28 + Math.round(Math.random() * -13)) + 3;
shotgrv = 4;
}
if (_root.passer == "yb") {
movex = movex + random(10);
curve = (30 + Math.round(Math.random() * -15)) + 10;
shotgrv = 5;
}
if (_root.passer == "fu") {
movex = movex + 0;
curve = (30 + Math.round(Math.random() * -4)) + 2;
shotgrv = 3;
}
if (_root.passer == "hf") {
movex = movex + random(3);
curve = (30 + Math.round(Math.random() * -4)) + 2;
shotgrv = 5;
}
if (_root.passer == "wzy") {
movex = movex + random(5);
curve = (30 + Math.round(Math.random() * -10)) + 5;
shotgrv = 5;
}
if (_root.passer == "dsh") {
movex = movex + random(5);
curve = (30 + Math.round(Math.random() * -13)) + 8;
shotgrv = 3;
}
if (_root.passer == "sl") {
movex = movex + random(3);
curve = (25 + Math.round(Math.random() * -6)) + 3;
shotgrv = 5;
}
if (_root.passer == "ym") {
movex = movex + random(2);
curve = (30 + Math.round(Math.random() * -4)) + 2;
shotgrv = 3;
}
if (movex > 150) {
movex = 150;
}
dx = movex;
dy = shotgrv;
if (_root.paser._xscale == 100) {
dir = 100;
}
if (_root.paser._xscale == -100) {
dir = -100;
}
Instance of Symbol 269 MovieClip in Symbol 274 MovieClip [longball] Frame 1
onClipEvent (load) {
grav_y = 0;
jumping = false;
JA = _parent.curve;
hitonce = false;
}
onClipEvent (enterFrame) {
if (_parent.dir == 100) {
_parent._x = _parent._x - _parent.dx;
}
if (_parent.dir == -100) {
_parent._x = _parent._x + _parent.dx;
}
_parent._y = _parent._y + _parent.dy;
if (_parent._y > 580) {
_parent._y = 580;
_parent.dy = _parent.dy * -0.7;
_parent.dx = _parent.dx - 0.5;
if (_parent.dx < 0) {
_parent.dx = 0;
}
if (JA > 0) {
_root.bounce.start();
_parent.dy = _parent.dy * 0.5;
grav_y = 0;
jumping = false;
} else {
grav_y = 0;
}
jumping = false;
}
_parent.dy = _parent.dy + 2;
if (!jumping) {
grav_y = JA;
JA = JA - 3;
jumping = true;
}
if (jumping == true) {
grav_y = grav_y - 1;
if (grav_y < 0) {
grav_y = 0;
}
_parent._y = _parent._y - grav_y;
}
if (_parent.hitTest(_root.bg.controlplayer)) {
if ((_root.bg.controlplayer._y == 580) && (_parent._y > 500)) {
_root.bg.controlplayer.gotoAndStop("pick ball");
_parent.removeMovieClip();
}
if (((_root.bg.controlplayer._y == 580) && (_parent._y < 500)) && (_parent._y > 380)) {
_root.bg.controlplayer.gotoAndStop("receive ball");
_parent.removeMovieClip();
}
if (((_parent._xscale == _root.bg.controlplayer._xscale) && (_root.bg.controlplayer._y == 580)) && (_parent._y < 380)) {
_root.bg.controlplayer.gotoAndStop("high receive ball");
_parent.removeMovieClip();
}
if ((((_parent._xscale != _root.bg.controlplayer._xscale) && (_root.bg.controlplayer._y == 580)) && (_parent._y < 380)) && (hitonce == false)) {
_root.bg.controlplayer.gotoAndStop("ball hitted");
_parent.dx = _parent.dx * -0.5;
hitonce = true;
}
}
if (_parent.hitTest(_root.bg.player2)) {
if ((_root.bg.player2._y == 580) && (_parent._y > 500)) {
_root.bg.player2.gotoAndStop("pick ball");
_root.switchplayer.call(obj, obj);
_parent.removeMovieClip();
}
if (((_root.bg.player2._y == 580) && (_parent._y < 500)) && (_parent._y > 380)) {
_root.bg.player2.gotoAndStop("receive ball");
_root.switchplayer.call(obj, obj);
_parent.removeMovieClip();
}
if (((_parent._xscale == _root.bg.player2._xscale) && (_root.bg.player2._y == 580)) && (_parent._y < 380)) {
_root.bg.player2.gotoAndStop("high receive ball");
_root.switchplayer.call(obj, obj);
_parent.removeMovieClip();
}
if ((((_parent._xscale != _root.bg.player2._xscale) && (_root.bg.player2._y == 580)) && (_parent._y < 380)) && (hitonce == false)) {
_root.bg.player2.gotoAndStop("ball hitted");
_parent.dx = _parent.dx * -0.5;
hitonce = true;
}
}
if (_parent.hitTest(_root.bg.com1)) {
if ((_root.bg.com1._y == 580) && (_parent._y > 500)) {
_root.bg.com1.gotoAndStop("pick ball");
_parent.removeMovieClip();
}
if (((_root.bg.com1._y == 580) && (_parent._y < 500)) && (_parent._y > 380)) {
_root.bg.com1.gotoAndStop("receive ball");
_parent.removeMovieClip();
}
if (((_parent._xscale == _root.bg.com1._xscale) && (_root.bg.com1._y == 580)) && (_parent._y < 380)) {
_root.bg.com1.gotoAndStop("high receive ball");
_parent.removeMovieClip();
}
if ((((_parent._xscale != _root.bg.com1._xscale) && (_root.bg.com1._y == 580)) && (_parent._y < 380)) && (hitonce == false)) {
_root.bg.com1.gotoAndStop("ball hitted");
_parent.dx = _parent.dx * -0.5;
hitonce = true;
}
}
if (_parent.hitTest(_root.bg.com2)) {
if ((_root.bg.com2._y == 580) && (_parent._y > 500)) {
_root.bg.com2.gotoAndStop("pick ball");
_parent.removeMovieClip();
}
if (((_root.bg.com2._y == 580) && (_parent._y < 500)) && (_parent._y > 380)) {
_root.bg.com2.gotoAndStop("receive ball");
_parent.removeMovieClip();
}
if (((_parent._xscale == _root.bg.com2._xscale) && (_root.bg.com2._y == 580)) && (_parent._y < 380)) {
_root.bg.com2.gotoAndStop("high receive ball");
_parent.removeMovieClip();
}
if ((((_parent._xscale != _root.bg.com2._xscale) && (_root.bg.com2._y == 580)) && (_parent._y < 380)) && (hitonce == false)) {
_root.bg.com2.gotoAndStop("ball hitted");
_parent.dx = _parent.dx * -0.5;
hitonce = true;
}
}
}
Symbol 275 MovieClip [shotball] Frame 1
if ((_root.shoter == _root.bg.controlplayer) && (_root.bg.comtarget._x < 1000)) {
movex = Math.abs(_root.bg.comtarget._x - _root.shoter._x) / 20;
}
if ((_root.shoter == _root.bg.controlplayer) && (_root.bg.comtarget._x > 1000)) {
movex = Math.abs(_root.bg.comtarget._x - _root.shoter._x) / 17;
}
if ((_root.shoter != _root.bg.controlplayer) && (_root.bg.playertarget._x < 1000)) {
movex = Math.abs(_root.bg.playertarget._x - _root.shoter._x) / 20;
}
if ((_root.shoter != _root.bg.controlplayer) && (_root.bg.playertarget._x > 1000)) {
movex = Math.abs(_root.bg.playertarget._x - _root.shoter._x) / 17;
}
shotgrv = null;
if (_root.shotername == "wzc") {
movex = movex + random(10);
curve = (26 + Math.round(Math.random() * -10)) + 5;
shotgrv = 6;
}
if (_root.shotername == "zyx") {
movex = movex + random(15);
curve = (30 + Math.round(Math.random() * -5)) - 5;
shotgrv = 3;
}
if (_root.shotername == "zxz") {
movex = movex + random(30);
curve = (25 + Math.round(Math.random() * -15)) + 5;
shotgrv = 2;
}
if (_root.shotername == "zss") {
movex = movex + random(5);
curve = (26 + Math.round(Math.random() * -6)) + 3;
shotgrv = 4;
}
if (_root.shotername == "tjh") {
movex = movex + random(3);
curve = (25 + Math.round(Math.random() * -16)) + 8;
shotgrv = 6;
}
if (_root.shotername == "sx") {
movex = movex + random(10);
curve = (28 + Math.round(Math.random() * -15)) + 5;
shotgrv = 5;
}
if (_root.shotername == "yzz") {
movex = movex + random(15);
curve = (28 + Math.round(Math.random() * -13)) + 3;
shotgrv = 4;
}
if (_root.shotername == "yb") {
movex = movex + random(5);
curve = (30 + Math.round(Math.random() * -10)) + 5;
shotgrv = 5;
}
if (_root.shotername == "fu") {
movex = movex + random(5);
curve = (26 + Math.round(Math.random() * -6)) + 3;
shotgrv = 4;
}
if (_root.shotername == "hf") {
movex = movex + random(10);
curve = (26 + Math.round(Math.random() * -6)) + 3;
shotgrv = 6;
}
if (_root.shotername == "wzy") {
movex = movex + random(7);
curve = (26 + Math.round(Math.random() * -6)) + 3;
shotgrv = 7;
}
if (_root.shotername == "dsh") {
movex = movex + random(10);
curve = (26 + Math.round(Math.random() * -13)) + 8;
shotgrv = 5;
}
if (_root.shotername == "ym") {
movex = movex + random(5);
curve = (28 + Math.round(Math.random() * -8)) + 5;
shotgrv = 6;
}
if (_root.shotername == "sl") {
movex = movex + random(5);
curve = (25 + Math.round(Math.random() * -6)) + 3;
shotgrv = 5;
}
dx = movex;
dy = shotgrv;
if (_root.shoter._xscale == 100) {
dir = 100;
}
if (_root.shoter._xscale == -100) {
dir = -100;
}
if (_root.shotername == "wzc") {
shotpossibility = random(4);
}
if (_root.shotername == "zss") {
shotpossibility = random(2);
}
if (_root.shotername == "zyx") {
shotpossibility = random(3);
}
if (_root.shotername == "yb") {
shotpossibility = random(6);
}
if (_root.shotername == "yzz") {
shotpossibility = random(2);
}
if (_root.shotername == "zxz") {
shotpossibility = random(6);
}
if (_root.shotername == "tjh") {
shotpossibility = random(3);
}
if (_root.shotername == "sx") {
shotpossibility = random(5);
}
if (_root.shotername == "fu") {
shotpossibility = 0;
}
if (_root.shotername == "ym") {
shotpossibility = random(1);
}
if (_root.shotername == "dsh") {
shotpossibility = random(4);
}
if (_root.shotername == "sl") {
shotpossibility = random(2);
}
if (_root.shotername == "hf") {
shotpossibility = random(3);
}
if (_root.shotername == "wzy") {
shotpossibility = random(3);
}
if ((_root.shoter._currentframe == 23) || (_root.shoter._currentframe == 27)) {
dx = dx / 1.2;
}
if (((_root.shoter._currentframe == 38) || (_root.shoter._currentframe == 39)) || (_root.shoter._currentframe == 40)) {
dx = 0;
dy = 10;
}
if (_root.shoter._currentframe == 42) {
dx = dx / 1.2;
dy = 3;
}
if ((_root.shoter.ym == "yes") && (_root.shoter._currentframe == 23)) {
dy = 8;
}
Instance of Symbol 269 MovieClip "baller" in Symbol 275 MovieClip [shotball] Frame 1
onClipEvent (load) {
grav_y = 0;
jumping = false;
JA = _parent.curve;
hitonce = false;
}
onClipEvent (enterFrame) {
if (_parent.dir == 100) {
_parent._x = _parent._x - _parent.dx;
}
if (_parent.dir == -100) {
_parent._x = _parent._x + _parent.dx;
}
_parent._y = _parent._y + _parent.dy;
if (_parent._y > 580) {
_parent._y = 580;
_parent._name = "ball";
_root.shoter = null;
_parent.dy = _parent.dy * -0.7;
_parent.dx = _parent.dx - 0.5;
if (_parent.dx < 0) {
_parent.dx = 0;
}
if (_parent.hitTest(_root.bg.comtarget)) {
_parent._name = "ball";
}
if (_parent.hitTest(_root.bg.playertarget)) {
_parent._name = "ball";
}
if (JA > 0) {
_root.bounce.start();
_parent.dy = _parent.dy * 0.5;
grav_y = 0;
jumping = false;
} else {
grav_y = 0;
}
jumping = false;
}
_parent.dy = _parent.dy + 2;
if (!jumping) {
grav_y = JA;
JA = JA - 3;
jumping = true;
}
if (jumping == true) {
grav_y = grav_y - 1;
if (grav_y < 0) {
grav_y = 0;
}
_parent._y = _parent._y - grav_y;
}
if (_root.celebration == false) {
if (_parent.hitTest(_root.bg.controlplayer)) {
if ((_root.bg.controlplayer._y == 580) && (_parent._y > 500)) {
_root.bg.controlplayer.gotoAndStop("pick ball");
_parent.removeMovieClip();
}
if (((_root.bg.controlplayer._y == 580) && (_parent._y < 500)) && (_parent._y > 380)) {
_root.bg.controlplayer.gotoAndStop("receive ball");
_parent.removeMovieClip();
}
if (((_parent._xscale == _root.bg.controlplayer._xscale) && (_root.bg.controlplayer._y == 580)) && (_parent._y < 380)) {
_root.bg.controlplayer.gotoAndStop("high receive ball");
_parent.removeMovieClip();
}
if ((((_parent._xscale != _root.bg.controlplayer._xscale) && (_root.bg.controlplayer._y == 580)) && (_parent._y < 380)) && (hitonce == false)) {
_root.bg.controlplayer.gotoAndStop("ball hitted");
_parent.dx = _parent.dx * -0.5;
hitonce = true;
}
}
if (_parent.hitTest(_root.bg.player2)) {
if ((_root.bg.player2._y == 580) && (_parent._y > 500)) {
_root.bg.player2.gotoAndStop("pick ball");
_root.switchplayer.call(obj, obj);
_parent.removeMovieClip();
}
if (((_root.bg.player2._y == 580) && (_parent._y < 500)) && (_parent._y > 380)) {
_root.bg.player2.gotoAndStop("receive ball");
_root.switchplayer.call(obj, obj);
_parent.removeMovieClip();
}
if (((_parent._xscale == _root.bg.player2._xscale) && (_root.bg.player2._y == 580)) && (_parent._y < 380)) {
_root.bg.player2.gotoAndStop("high receive ball");
_root.switchplayer.call(obj, obj);
_parent.removeMovieClip();
}
if ((((_parent._xscale != _root.bg.player2._xscale) && (_root.bg.player2._y == 580)) && (_parent._y < 380)) && (hitonce == false)) {
_root.bg.player2.gotoAndStop("ball hitted");
_parent.dx = _parent.dx * -0.5;
hitonce = true;
}
}
if (_parent.hitTest(_root.bg.com1)) {
if ((_root.bg.com1._y == 580) && (_parent._y > 500)) {
_root.bg.com1.gotoAndStop("pick ball");
_parent.removeMovieClip();
}
if (((_root.bg.com1._y == 580) && (_parent._y < 500)) && (_parent._y > 380)) {
_root.bg.com1.gotoAndStop("receive ball");
_parent.removeMovieClip();
}
if (((_parent._xscale == _root.bg.com1._xscale) && (_root.bg.com1._y == 580)) && (_parent._y < 380)) {
_root.bg.com1.gotoAndStop("high receive ball");
_parent.removeMovieClip();
}
if ((((_parent._xscale != _root.bg.com1._xscale) && (_root.bg.com1._y == 580)) && (_parent._y < 380)) && (hitonce == false)) {
_root.bg.com1.gotoAndStop("ball hitted");
_parent.dx = _parent.dx * -0.5;
hitonce = true;
}
}
if (_parent.hitTest(_root.bg.com2)) {
if ((_root.bg.com2._y == 580) && (_parent._y > 500)) {
_root.bg.com2.gotoAndStop("pick ball");
_parent.removeMovieClip();
}
if (((_root.bg.com2._y == 580) && (_parent._y < 500)) && (_parent._y > 380)) {
_root.bg.com2.gotoAndStop("receive ball");
_parent.removeMovieClip();
}
if (((_parent._xscale == _root.bg.com2._xscale) && (_root.bg.com2._y == 580)) && (_parent._y < 380)) {
_root.bg.com2.gotoAndStop("high receive ball");
_parent.removeMovieClip();
}
if ((((_parent._xscale != _root.bg.com2._xscale) && (_root.bg.com2._y == 580)) && (_parent._y < 380)) && (hitonce == false)) {
_root.bg.com2.gotoAndStop("ball hitted");
_parent.dx = _parent.dx * -0.5;
hitonce = true;
}
}
}
}
Symbol 278 MovieClip Frame 901
stop();
Symbol 289 MovieClip Frame 1
stop();
onEnterFrame = function () {
if ((_parent._parent._name == "controlplayer") || (_parent._parent._name == "waitcp")) {
gotoAndStop (2);
} else if ((_parent._parent._name == "player2") || (_parent._parent._name == "waitp2")) {
gotoAndStop (3);
} else {
gotoAndStop (1);
}
};
Symbol 290 MovieClip [lifebar] Frame 1
life = 900;
onEnterFrame = function () {
this._x = 30;
this._y = -300;
if (_parent._xscale == -100) {
this._xscale = -100;
}
if (_parent._xscale == 100) {
this._xscale = 100;
}
if (_root.fatigue == true) {
if (_parent._currentframe == 2) {
life = life - _parent.runexa;
}
if (_parent._currentframe == 3) {
life = life - _parent.demandexa;
}
if (_parent._currentframe == 5) {
life = life - _parent.jumpexa;
}
if (((_parent._currentframe == 7) || (_parent._currentframe == 17)) || (_parent._currentframe == 18)) {
life = life - _parent.actexa;
}
if ((_parent._currentframe == 9) || (_parent._currentframe == 22)) {
life = life - _parent.guardexa;
}
if (_parent._currentframe == 14) {
life = life - (_parent.runexa + 2);
}
if ((_parent._currentframe == 26) || (_parent._currentframe == 27)) {
life = life - (_parent.runexa + 5);
}
if (((_parent._currentframe == 15) || (_parent._currentframe == 23)) || (_parent._currentframe == 24)) {
life = life - (_parent.actexa + 5);
}
if ((((_parent._currentframe == 38) || (_parent._currentframe == 39)) || (_parent._currentframe == 40)) || (_parent._currentframe == 42)) {
life = life - (_parent.actexa + 10);
}
}
};
Instance of Symbol 278 MovieClip "bar" in Symbol 290 MovieClip [lifebar] Frame 1
onClipEvent (load) {
recover = 2;
}
onClipEvent (enterFrame) {
gotoAndStop(_parent.life + 1);
if (recover <= -2) {
recover = -2;
}
_parent.life = _parent.life + (3 + recover);
if ((_parent.life < 0) && (_parent._parent._y == 580)) {
_parent.life = 0;
recover = recover - 1;
_parent._parent.gotoAndStop("exaust");
}
if (_parent.life > 900) {
_parent.life = 900;
}
}
Symbol 291 MovieClip [fade in] Frame 45
if (this._name == "exhibition") {
_root.gotoAndStop("select");
}
if (this._name == "waytocup") {
_root.gotoAndStop("waytocup");
}
if (this._name == "survival") {
_root.gotoAndStop("survival");
}
if (this._name == "purchase") {
_root.gotoAndStop("purchase");
}
if (this._name == "instructions") {
_root.gotoAndStop("instructions");
}
if (this._name == "mainmenu") {
_root.gotoAndStop("mainmenu");
}
if (this._name == "eliminatefadein") {
_root.gotoAndStop("eliminate");
}
if (this._name == "wincupfadein") {
_root.gotoAndStop("wincup");
}
this.removeMovieClip();
Instance of Symbol 269 MovieClip in Symbol 292 MovieClip [ball bounce] Frame 1
onClipEvent (load) {
_parent._y = 550;
grav_y = 0;
jumping = false;
moving = false;
JA = 35;
movespeed = random(8);
_root.bounce.start();
}
onClipEvent (enterFrame) {
if (!moving) {
moving = true;
}
if (moving == true) {
if (_root.passerdirection == 100) {
_parent._x = _parent._x - movespeed;
}
if (_root.passerdirection == -100) {
_parent._x = _parent._x + movespeed;
}
if (_root.shoterdirection == 100) {
_parent._x = _parent._x - movespeed;
}
if (_root.shoterdirection == -100) {
_parent._x = _parent._x + movespeed;
}
}
}
onClipEvent (enterFrame) {
if (!jumping) {
grav_y = JA;
JA = JA - 4;
jumping = true;
}
if (jumping == true) {
grav_y = grav_y - 3;
if (grav_y <= -15) {
grav_y = -15;
}
_parent._y = _parent._y - grav_y;
}
if (_parent._y >= 550) {
if (JA > 0) {
_root.bounce.start();
grav_y = 0;
jumping = false;
_parent._y = 550;
} else {
grav_y = 0;
}
jumping = false;
_parent._y = 550;
}
if (this.hitTest(_root.bg.controlplayer)) {
_root.bg.controlplayer.gotoAndStop("pick ball");
_root.bg.bounceball.removeMovieClip();
}
if (this.hitTest(_root.bg.player2)) {
_root.bg.player2.gotoAndStop("pick ball");
_root.bg.controlplayer._name = "insdeader";
_root.bg.player2._name = "controlplayer";
_root.bg.insdeader._name = "player2";
_root.bg.bounceball.removeMovieClip();
}
}
Symbol 295 MovieClip [fadein] Frame 1
_root.bg._visible = false;
Symbol 295 MovieClip [fadein] Frame 18
var fadeinsound = new Sound();
fadeinsound.attachSound("fadeinsound");
fadeinsound.start();
_root.bg._visible = true;
Symbol 295 MovieClip [fadein] Frame 33
this.removeMovieClip();
Symbol 297 MovieClip [refree_out] Frame 1
stop();
this._x = 400;
this._y = 320;
Symbol 299 MovieClip [4thhalf] Frame 30
_root.bg.attachMovie("throwball", "throwball", 800);
Symbol 299 MovieClip [4thhalf] Frame 51
this._x = 400;
this._y = 320;
Symbol 299 MovieClip [4thhalf] Frame 130
_root.attachMovie("getready", "", 902);
this.removeMovieClip();
Symbol 301 MovieClip [3rdhalf] Frame 30
_root.bg.attachMovie("throwball", "throwball", 800);
Symbol 301 MovieClip [3rdhalf] Frame 51
this._x = 400;
this._y = 320;
Symbol 301 MovieClip [3rdhalf] Frame 130
_root.attachMovie("getready", "", 902);
this.removeMovieClip();
Symbol 303 MovieClip [2ndhalf] Frame 30
_root.bg.attachMovie("throwball", "throwball", 800);
Symbol 303 MovieClip [2ndhalf] Frame 51
this._x = 400;
this._y = 320;
Symbol 303 MovieClip [2ndhalf] Frame 130
_root.attachMovie("getready", "", 902);
this.removeMovieClip();
Symbol 305 MovieClip [1sthalf] Frame 30
_root.bg.attachMovie("throwball", "throwball", 800);
Symbol 305 MovieClip [1sthalf] Frame 51
this._x = 400;
this._y = 320;
Symbol 305 MovieClip [1sthalf] Frame 130
_root.attachMovie("getready", "", 902);
this.removeMovieClip();
Symbol 308 MovieClip [getready] Frame 1
this._x = 400;
this._y = 320;
Symbol 308 MovieClip [getready] Frame 64
_root.whistle.start();
Symbol 308 MovieClip [getready] Frame 105
_root.bg.throwball.gotoAndPlay(2);
this.removeMovieClip();
Symbol 313 MovieClip [throwball] Frame 1
stop();
this._x = 1530;
this._y = 320;
Symbol 313 MovieClip [throwball] Frame 27
_root.ruler.throwballok = true;
_root.enableplayer.call(obj, obj);
_root.bg.attachMovie("throwerball", "ball", 904);
_root.bg.ball._x = 1515;
_root.bg.ball._y = 100;
this.removeMovieClip();
Symbol 324 MovieClip Frame 1
stop();
_quality = "MEDIUM";
_root.qualitysetting = "MEDIUM";
Symbol 324 MovieClip Frame 2
_quality = "LOW";
_root.qualitysetting = "LOW";
Symbol 324 MovieClip Frame 3
_quality = "HIGH";
_root.qualitysetting = "HIGH";
Symbol 324 MovieClip Frame 4
gotoAndStop (1);
Symbol 327 MovieClip Frame 1
stop();
_root.entersound.setVolume(100);
Symbol 327 MovieClip Frame 2
_root.entersound.setVolume(50);
Symbol 327 MovieClip Frame 3
_root.entersound.setVolume(0);
Symbol 327 MovieClip Frame 4
gotoAndStop (1);
Symbol 330 Button
on (rollOver) {
_root.selectsound.start();
}
on (release) {
_root.entersound.start();
graphicquality.gotoAndStop(1);
soundvolume.gotoAndStop(1);
}
Symbol 333 Button
on (release) {
_root.entersound.start();
_root.m1.mb.enabled = true;
_root.m2.mb.enabled = true;
_root.m3.mb.enabled = true;
_root.m4.mb.enabled = true;
_root.m5.mb.enabled = true;
_root.m6.mb.enabled = true;
_root.blackmask.removeMovieClip();
this.removeMovieClip();
}
Symbol 336 Button
on (rollOver) {
_root.selectsound.start();
}
on (release) {
_root.entersound.start();
_root.savefile.data.funds = _root.funds;
_root.savefile.data.shoe01 = _root.shoe01;
_root.savefile.data.shoe02 = _root.shoe02;
_root.savefile.data.shoe03 = _root.shoe03;
_root.savefile.data.shoe04 = _root.shoe04;
_root.savefile.data.shoe05 = _root.shoe05;
_root.savefile.data.shoe06 = _root.shoe06;
_root.savefile.data.shoe07 = _root.shoe07;
_root.savefile.data.shoe08 = _root.shoe08;
_root.savefile.data.shoe09 = _root.shoe09;
_root.savefile.data.ym = _root.ym;
_root.savefile.data.fu = _root.fu;
_root.savefile.data.bestsurvivalrounds = _root.bestsurvivalrounds;
_root.savefile.data.saveon = true;
_root.savefile.flush();
_root.attachMovie("gamesavedorloaded", "gamesavedorloaded", 10);
_root.gamesavedorloaded.gotoAndStop(1);
}
Symbol 339 Button
on (rollOver) {
_root.selectsound.start();
}
on (release) {
_root.entersound.start();
if (_root.savefile.data.saveon == undefined) {
_root.attachMovie("gamesavedorloaded", "gamesavedorloaded", 10);
_root.gamesavedorloaded.gotoAndStop(3);
} else {
_root.funds = _root.savefile.data.funds;
_root.shoe01 = _root.savefile.data.shoe01;
_root.shoe02 = _root.savefile.data.shoe02;
_root.shoe03 = _root.savefile.data.shoe03;
_root.shoe04 = _root.savefile.data.shoe04;
_root.shoe05 = _root.savefile.data.shoe05;
_root.shoe06 = _root.savefile.data.shoe06;
_root.shoe07 = _root.savefile.data.shoe07;
_root.shoe08 = _root.savefile.data.shoe08;
_root.shoe09 = _root.savefile.data.shoe09;
_root.ym = _root.savefile.data.ym;
_root.fu = _root.savefile.data.fu;
_root.bestsurvivalrounds = _root.savefile.data.bestsurvivalrounds;
_root.attachMovie("gamesavedorloaded", "gamesavedorloaded", 10);
_root.gamesavedorloaded.gotoAndStop(2);
}
}
Symbol 342 Button
on (rollOver) {
_root.selectsound.start();
}
on (release) {
graphicquality.nextFrame();
}
Symbol 343 Button
on (rollOver) {
_root.selectsound.start();
}
on (release) {
soundvolume.nextFrame();
}
Symbol 344 MovieClip [optionsmenu] Frame 1
a = 10;
_x = 180;
_y = 0;
onEnterFrame = function () {
_y = (_y + a);
a = a + 15;
if (_y > 200) {
_y = 200;
delete onEnterFrame;
}
};
_root.m1.mb.enabled = false;
_root.m2.mb.enabled = false;
_root.m3.mb.enabled = false;
_root.m4.mb.enabled = false;
_root.m5.mb.enabled = false;
_root.m6.mb.enabled = false;
_root.attachMovie("blackmask", "blackmask", 5);
_root.blackmask._width = 800;
_root.blackmask._height = 650;
_root.blackmask._alpha = 50;
Symbol 347 MovieClip Frame 1
_root.flasheffect.call(obj, obj);
a = 200;
b = 200;
_root.hitAndShake(a, b);
Symbol 347 MovieClip Frame 15
stop();
Symbol 348 MovieClip [match over] Frame 1
this._x = 250;
this._y = 250;
_root.stopmatch.start();
Symbol 369 MovieClip Frame 1
stop();
if (_root.shotername == "wzc") {
gotoAndStop ("wzc");
}
if (_root.shotername == "zyx") {
gotoAndStop ("zyx");
}
if (_root.shotername == "zss") {
gotoAndStop ("zss");
}
if (_root.shotername == "yb") {
gotoAndStop ("yb");
}
if (_root.shotername == "zxz") {
gotoAndStop ("zxz");
}
if (_root.shotername == "yzz") {
gotoAndStop ("yzz");
}
if (_root.shotername == "tjh") {
gotoAndStop ("tjh");
}
if (_root.shotername == "sx") {
gotoAndStop ("sx");
}
if (_root.shotername == "fu") {
gotoAndStop ("fu");
}
if (_root.shotername == "lv") {
gotoAndStop ("lv");
}
if (_root.shotername == "ym") {
gotoAndStop ("ym");
}
if (_root.shotername == "sl") {
gotoAndStop ("sl");
}
if (_root.shotername == "dsh") {
gotoAndStop ("dsh");
}
if (_root.shotername == "wsq") {
gotoAndStop ("wsq");
}
if (_root.shotername == "hf") {
gotoAndStop ("hf");
}
if (_root.shotername == "wzy") {
gotoAndStop ("wzy");
}
Symbol 370 MovieClip [scorershow] Frame 1
this._x = 400;
this._y = 0;
this._alpha = 0;
alphaspeed = 5;
timer = 100;
onEnterFrame = function () {
if (timer != -80) {
timer--;
this._alpha = this._alpha + alphaspeed;
alphaspeed++;
if (this._alpha == 100) {
this.alpha = 100;
}
this._y = this._y + 10;
if (this._y >= 300) {
this._y = 300;
}
}
if (timer == -80) {
this.removeMovieClip();
}
};
Symbol 373 MovieClip [scoreeffect] Frame 1
if (_root.shoter == _root.bg.controlplayer) {
this._x = 575;
this._y = 78;
}
if (_root.shoter == _root.bg.com1) {
this._x = 725;
this._y = 78;
}
if (_root.shoter == _root.bg.com2) {
this._x = 725;
this._y = 78;
}
Symbol 373 MovieClip [scoreeffect] Frame 30
this.removeMovieClip();
Symbol 380 MovieClip [matchresult] Frame 1
this._x = 400;
this._y = 200;
this._xscale = 10;
this._yscale = 10;
movespeed = 10;
pressdown = true;
zoomsmall = false;
zoomcomplete = false;
onEnterFrame = function () {
if ((zoomsmall == false) && (zoomcomplete == false)) {
this._xscale = this._xscale + movespeed;
this._yscale = this._yscale + movespeed;
movespeed++;
if (this._xscale >= 130) {
zoomsmall = true;
}
}
if (zoomsmall == true) {
this._xscale = this._xscale - 10;
this._yscale = this._yscale - 10;
if (this._xscale <= 100) {
zoomcomplete = true;
zoomsmall = false;
}
}
if (zoomcomplete == true) {
this._xscale = 100;
this._yscale = 100;
}
if (Key.isDown(32) && (pressdown == true)) {
pressdown = false;
_root.entersound.start();
_root.attachMovie("blackfadeout", "blackfadeout", 501);
}
if (_root.blackfadeout.fadeout == true) {
_root.bg.ball.removeMovieClip();
_root.bg.waitcp.removeMovieClip();
_root.bg.waitp2.removeMovieClip();
_root.bg.waitc1.removeMovieClip();
_root.bg.waitc2.removeMovieClip();
if ((_root.gamemode == "exhibition") || (_root.gamemode == "waytocup")) {
_root.nextFrame();
}
if (_root.gamemode == "survival") {
_root.nextFrame();
}
this.removeMovieClip();
}
};
Symbol 385 MovieClip [showpoints] Frame 1
this._x = -50;
this._y = 200;
timer = 100;
movespeed = 10;
onEnterFrame = function () {
timer--;
if ((timer < 100) && (timer > 50)) {
this._x = this._x + movespeed;
if (this._x >= 150) {
this._x = 150;
}
}
if (timer < 0) {
this._x = this._x - movespeed;
}
if (this._x < -100) {
this.removeMovieClip();
}
};
stop();
Instance of Symbol 383 MovieClip in Symbol 385 MovieClip [showpoints] Frame 1
onClipEvent (load) {
if (_root.maxtime <= 5) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 401 MovieClip Frame 1
stop();
Symbol 402 MovieClip [scorebar] Frame 1
this._x = 650;
this._y = 80;
Instance of Symbol 395 MovieClip in Symbol 402 MovieClip [scorebar] Frame 1
onClipEvent (load) {
timer = 0;
criticalmusiconce = false;
}
onClipEvent (enterFrame) {
if (_root.timestart == true) {
timer++;
if (timer == 60) {
timer = 0;
_root.maxtime = _root.maxtime - 1;
}
if (_root.maxtime <= 0) {
_root.maxtime = 0;
}
}
if ((((_root.initialcourts == _root.courts) && (_root.maxtime == 15)) && (Math.abs(_root.playerscore - _root.comscore) <= 6)) && (criticalmusiconce == false)) {
_root.criticalmoment.call(obj, obj);
criticalmusiconce = true;
}
}
Instance of Symbol 401 MovieClip in Symbol 402 MovieClip [scorebar] Frame 1
onClipEvent (enterFrame) {
gotoAndStop(_root.initialcourts);
}
Symbol 403 MovieClip [blackfadeout] Frame 1
this._width = 810;
this._height = 680;
this._alpha = 0;
alphaspeed = 10;
fadeout = false;
timer = 70;
onEnterFrame = function () {
timer--;
if (timer >= 55) {
this._alpha = this._alpha + alphaspeed;
alphaspeed++;
if (this._alpha > 100) {
this.alpha = 100;
fadeout = true;
alphaspeed = 10;
}
}
if (timer < 55) {
this._alpha = this._alpha - alphaspeed;
}
if (this._alpha < 0) {
this.removeMovieClip();
}
};
Symbol 406 MovieClip [refree] Frame 1
this._x = 400;
this._y = 300;
Symbol 411 MovieClip [gamesavedorloaded] Frame 1
stop();
this._x = 270;
this._y = 300;
timer = 50;
this.onEnterFrame = function () {
timer--;
if (timer <= 0) {
with (_root.optionsmenu) {
grapbtn.enabled = true;
sounbtn.enabled = true;
defabtn.enabled = true;
savebtn.enabled = true;
loadbtn.enabled = true;
okbtn.enabled = true;
}
this.removeMovieClip();
}
};
with (_root.optionsmenu) {
grapbtn.enabled = false;
sounbtn.enabled = false;
defabtn.enabled = false;
savebtn.enabled = false;
loadbtn.enabled = false;
okbtn.enabled = false;
}
Symbol 411 MovieClip [gamesavedorloaded] Frame 2
this._x = 270;
this._y = 300;
timer = 50;
this.onEnterFrame = function () {
timer--;
if (timer <= 0) {
with (_root.optionsmenu) {
grapbtn.enabled = true;
sounbtn.enabled = true;
defabtn.enabled = true;
savebtn.enabled = true;
loadbtn.enabled = true;
okbtn.enabled = true;
}
this.removeMovieClip();
}
};
with (_root.optionsmenu) {
grapbtn.enabled = false;
sounbtn.enabled = false;
defabtn.enabled = false;
savebtn.enabled = false;
loadbtn.enabled = false;
okbtn.enabled = false;
}
Symbol 411 MovieClip [gamesavedorloaded] Frame 3
this._x = 270;
this._y = 300;
timer = 50;
this.onEnterFrame = function () {
timer--;
if (timer <= 0) {
with (_root.optionsmenu) {
grapbtn.enabled = true;
sounbtn.enabled = true;
defabtn.enabled = true;
savebtn.enabled = true;
loadbtn.enabled = true;
okbtn.enabled = true;
}
this.removeMovieClip();
}
};
with (_root.optionsmenu) {
grapbtn.enabled = false;
sounbtn.enabled = false;
defabtn.enabled = false;
savebtn.enabled = false;
loadbtn.enabled = false;
okbtn.enabled = false;
}
Symbol 419 Button
on (rollOver) {
_root.selectsound.start();
}
on (release) {
_root.entersound.start();
trace(_parent.choosenitem);
if (_parent.choosenitem == "shoe01") {
_root.shoe01 = true;
}
if (_parent.choosenitem == "shoe02") {
_root.shoe02 = true;
}
if (_parent.choosenitem == "shoe03") {
_root.shoe03 = true;
}
if (_parent.choosenitem == "shoe04") {
_root.shoe04 = true;
}
if (_parent.choosenitem == "shoe05") {
_root.shoe05 = true;
}
if (_parent.choosenitem == "shoe06") {
_root.shoe06 = true;
}
if (_parent.choosenitem == "shoe07") {
_root.shoe07 = true;
}
if (_parent.choosenitem == "shoe08") {
_root.shoe08 = true;
}
if (_parent.choosenitem == "shoe09") {
_root.shoe09 = true;
}
if (_parent.choosenitem == "ym") {
_root.ym = true;
}
if (_parent.choosenitem == "fu") {
_root.fu = true;
}
_root.funds = _root.funds - _parent.cost;
_root.itembtn.enabled = true;
_root.goods.btn1.enabled = true;
_root.goods.btn2.enabled = true;
_root.goods.btn3.enabled = true;
_root.goods.btn4.enabled = true;
_root.goods.btn5.enabled = true;
_root.goods.btn6.enabled = true;
_root.goods.btn7.enabled = true;
_root.goods.btn8.enabled = true;
_root.goods.btn9.enabled = true;
_root.goods.btn10.enabled = true;
_root.goods.btn11.enabled = true;
_root.blackmask.removeMovieClip();
this.removeMovieClip();
}
Symbol 422 Button
on (rollOver) {
_root.selectsound.start();
}
on (release) {
_root.itembtn.enabled = true;
_root.goods.btn1.enabled = true;
_root.goods.btn2.enabled = true;
_root.goods.btn3.enabled = true;
_root.goods.btn4.enabled = true;
_root.goods.btn5.enabled = true;
_root.goods.btn6.enabled = true;
_root.goods.btn7.enabled = true;
_root.goods.btn8.enabled = true;
_root.goods.btn9.enabled = true;
_root.goods.btn10.enabled = true;
_root.goods.btn11.enabled = true;
_root.blackmask.removeMovieClip();
this.removeMovieClip();
}
Symbol 424 MovieClip [purchase_dialogue] Frame 1
stop();
if (_root.funds < _parent.cost) {
gotoAndStop (2);
}
_root.entersound.start();
this._x = 260;
movespeed = 50;
this.onEnterFrame = function () {
this._y = this._y + movespeed;
movespeed--;
if (this._y >= 200) {
this._y = 200;
delete this.onEnterFrame;
}
};
_root.itembtn.enabled = false;
_root.goods.btn1.enabled = false;
_root.goods.btn2.enabled = false;
_root.goods.btn3.enabled = false;
_root.goods.btn4.enabled = false;
_root.goods.btn5.enabled = false;
_root.goods.btn6.enabled = false;
_root.goods.btn7.enabled = false;
_root.goods.btn8.enabled = false;
_root.goods.btn9.enabled = false;
_root.goods.btn10.enabled = false;
_root.goods.btn11.enabled = false;
_root.attachMovie("blackmask", "blackmask", 5);
_root.blackmask._width = 800;
_root.blackmask._height = 650;
_root.blackmask._alpha = 50;
Symbol 424 MovieClip [purchase_dialogue] Frame 2
_root.entersound.start();
this._x = 260;
movespeed = 50;
timer = 50;
this.onEnterFrame = function () {
this._y = this._y + movespeed;
movespeed--;
timer--;
if (this._y >= 200) {
this._y = 200;
}
if (timer <= 0) {
_root.itembtn.enabled = true;
_root.goods.btn1.enabled = true;
_root.goods.btn2.enabled = true;
_root.goods.btn3.enabled = true;
_root.goods.btn4.enabled = true;
_root.goods.btn5.enabled = true;
_root.goods.btn6.enabled = true;
_root.goods.btn7.enabled = true;
_root.goods.btn8.enabled = true;
_root.goods.btn9.enabled = true;
_root.goods.btn10.enabled = true;
_root.goods.btn11.enabled = true;
_root.blackmask.removeMovieClip();
this.removeMovieClip();
}
};
_root.itembtn.enabled = false;
_root.goods.btn1.enabled = false;
_root.goods.btn2.enabled = false;
_root.goods.btn3.enabled = false;
_root.goods.btn4.enabled = false;
_root.goods.btn5.enabled = false;
_root.goods.btn6.enabled = false;
_root.goods.btn7.enabled = false;
_root.goods.btn8.enabled = false;
_root.goods.btn9.enabled = false;
_root.goods.btn10.enabled = false;
_root.goods.btn11.enabled = false;
_root.attachMovie("blackmask", "blackmask", 5);
_root.blackmask._width = 800;
_root.blackmask._height = 650;
_root.blackmask._alpha = 50;
Symbol 429 Button
on (release) {
_root.entersound.start();
_root.attachMovie("gamedetailsmenu", "gamedetailsmenu", 900);
_parent.removeMovieClip();
}
Symbol 468 MovieClip Frame 1
gotoAndStop (11);
Instance of Symbol 432 MovieClip in Symbol 468 MovieClip Frame 2
onClipEvent (load) {
var hiddenshoe09color = new Color(this);
if (_root.shoe09 == true) {
_root.p1specialshoe = "shoe09";
}
if (_root.shoe09 == false) {
hiddenshoe09color.setRGB(0);
}
}
Instance of Symbol 436 MovieClip in Symbol 468 MovieClip Frame 3
onClipEvent (load) {
var hiddenshoe01color = new Color(this);
if (_root.shoe01 == true) {
_root.p1specialshoe = "shoe01";
}
if (_root.shoe01 == false) {
hiddenshoe01color.setRGB(0);
}
}
Instance of Symbol 440 MovieClip in Symbol 468 MovieClip Frame 4
onClipEvent (load) {
var hiddenshoe02color = new Color(this);
if (_root.shoe02 == true) {
_root.p1specialshoe = "shoe02";
}
if (_root.shoe02 == false) {
hiddenshoe02color.setRGB(0);
}
}
Instance of Symbol 444 MovieClip in Symbol 468 MovieClip Frame 5
onClipEvent (load) {
var hiddenshoe03color = new Color(this);
if (_root.shoe03 == true) {
_root.p1specialshoe = "shoe03";
}
if (_root.shoe03 == false) {
hiddenshoe03color.setRGB(0);
}
}
Instance of Symbol 448 MovieClip in Symbol 468 MovieClip Frame 6
onClipEvent (load) {
var hiddenshoe04color = new Color(this);
if (_root.shoe04 == true) {
_root.p1specialshoe = "shoe04";
}
if (_root.shoe04 == false) {
hiddenshoe04color.setRGB(0);
}
}
Instance of Symbol 452 MovieClip in Symbol 468 MovieClip Frame 7
onClipEvent (load) {
var hiddenshoe05color = new Color(this);
if (_root.shoe05 == true) {
_root.p1specialshoe = "shoe05";
}
if (_root.shoe05 == false) {
hiddenshoe05color.setRGB(0);
}
}
Instance of Symbol 456 MovieClip in Symbol 468 MovieClip Frame 8
onClipEvent (load) {
var hiddenshoe06color = new Color(this);
if (_root.shoe06 == true) {
_root.p1specialshoe = "shoe06";
}
if (_root.shoe06 == false) {
hiddenshoe06color.setRGB(0);
}
}
Instance of Symbol 460 MovieClip in Symbol 468 MovieClip Frame 9
onClipEvent (load) {
var hiddenshoe07color = new Color(this);
if (_root.shoe07 == true) {
_root.p1specialshoe = "shoe07";
}
if (_root.shoe07 == false) {
hiddenshoe07color.setRGB(0);
}
}
Instance of Symbol 464 MovieClip in Symbol 468 MovieClip Frame 10
onClipEvent (load) {
var hiddenshoe08color = new Color(this);
if (_root.shoe08 == true) {
_root.p1specialshoe = "shoe08";
}
if (_root.shoe08 == false) {
hiddenshoe08color.setRGB(0);
}
}
Symbol 468 MovieClip Frame 11
stop();
_root.p1specialshoe = "default";
Symbol 468 MovieClip Frame 12
gotoAndStop (2);
Symbol 471 MovieClip Frame 1
stop();
Symbol 472 Button
on (rollOver) {
arrowbtl.gotoAndStop(2);
}
on (rollOut) {
arrowbtl.gotoAndStop(1);
}
on (release) {
_root.selectsound.start();
minishoe.prevFrame();
}
Symbol 473 Button
on (rollOver) {
arrowbtr.gotoAndStop(2);
}
on (rollOut) {
arrowbtr.gotoAndStop(1);
}
on (release) {
_root.selectsound.start();
minishoe.nextFrame();
}
Symbol 484 MovieClip Frame 1
gotoAndStop (11);
Instance of Symbol 432 MovieClip in Symbol 484 MovieClip Frame 2
onClipEvent (load) {
var hiddenshoe09color = new Color(this);
if (_root.shoe09 == true) {
_root.p2specialshoe = "shoe09";
}
if (_root.shoe09 == false) {
hiddenshoe09color.setRGB(0);
}
}
Instance of Symbol 436 MovieClip in Symbol 484 MovieClip Frame 3
onClipEvent (load) {
var hiddenshoe01color = new Color(this);
if (_root.shoe01 == true) {
_root.p2specialshoe = "shoe01";
}
if (_root.shoe01 == false) {
hiddenshoe01color.setRGB(0);
}
}
Instance of Symbol 440 MovieClip in Symbol 484 MovieClip Frame 4
onClipEvent (load) {
var hiddenshoe02color = new Color(this);
if (_root.shoe02 == true) {
_root.p2specialshoe = "shoe02";
}
if (_root.shoe02 == false) {
hiddenshoe02color.setRGB(0);
}
}
Instance of Symbol 444 MovieClip in Symbol 484 MovieClip Frame 5
onClipEvent (load) {
var hiddenshoe03color = new Color(this);
if (_root.shoe03 == true) {
_root.p2specialshoe = "shoe03";
}
if (_root.shoe03 == false) {
hiddenshoe03color.setRGB(0);
}
}
Instance of Symbol 448 MovieClip in Symbol 484 MovieClip Frame 6
onClipEvent (load) {
var hiddenshoe04color = new Color(this);
if (_root.shoe04 == true) {
_root.p2specialshoe = "shoe04";
}
if (_root.shoe04 == false) {
hiddenshoe04color.setRGB(0);
}
}
Instance of Symbol 452 MovieClip in Symbol 484 MovieClip Frame 7
onClipEvent (load) {
var hiddenshoe05color = new Color(this);
if (_root.shoe05 == true) {
_root.p2specialshoe = "shoe05";
}
if (_root.shoe05 == false) {
hiddenshoe05color.setRGB(0);
}
}
Instance of Symbol 456 MovieClip in Symbol 484 MovieClip Frame 8
onClipEvent (load) {
var hiddenshoe06color = new Color(this);
if (_root.shoe06 == true) {
_root.p2specialshoe = "shoe06";
}
if (_root.shoe06 == false) {
hiddenshoe06color.setRGB(0);
}
}
Instance of Symbol 460 MovieClip in Symbol 484 MovieClip Frame 9
onClipEvent (load) {
var hiddenshoe07color = new Color(this);
if (_root.shoe07 == true) {
_root.p2specialshoe = "shoe07";
}
if (_root.shoe07 == false) {
hiddenshoe07color.setRGB(0);
}
}
Instance of Symbol 464 MovieClip in Symbol 484 MovieClip Frame 10
onClipEvent (load) {
var hiddenshoe08color = new Color(this);
if (_root.shoe08 == true) {
_root.p2specialshoe = "shoe08";
}
if (_root.shoe08 == false) {
hiddenshoe08color.setRGB(0);
}
}
Symbol 484 MovieClip Frame 11
stop();
_root.p2specialshoe = "default";
Symbol 484 MovieClip Frame 12
gotoAndStop (2);
Symbol 485 Button
on (rollOver) {
arrowbtl2.gotoAndStop(2);
}
on (rollOut) {
arrowbtl2.gotoAndStop(1);
}
on (release) {
_root.selectsound.start();
minishoe2.prevFrame();
}
Symbol 486 Button
on (rollOver) {
arrowbtr2.gotoAndStop(2);
}
on (rollOut) {
arrowbtr2.gotoAndStop(1);
}
on (release) {
_root.selectsound.start();
minishoe2.nextFrame();
}
Symbol 488 MovieClip [specialshoeselectionmenu] Frame 1
if (_root.gamemode == "waytocup") {
_root.go.enabled = false;
_root.selectunit1.groupbtn.enabled = false;
_root.selectunit2.groupbtn.enabled = false;
_root.selectunit3.groupbtn.enabled = false;
_root.selectunit4.groupbtn.enabled = false;
_root.selectunit1.leftarrow.enabled = false;
_root.selectunit2.leftarrow.enabled = false;
_root.selectunit3.leftarrow.enabled = false;
_root.selectunit4.leftarrow.enabled = false;
_root.selectunit1.rightarrow.enabled = false;
_root.selectunit2.rightarrow.enabled = false;
_root.selectunit3.rightarrow.enabled = false;
_root.selectunit4.rightarrow.enabled = false;
_root.attachMovie("blackmask", "blackmask", 5);
_root.blackmask._width = 800;
_root.blackmask._height = 650;
_root.blackmask._alpha = 50;
}
Instance of Symbol 487 MovieClip in Symbol 488 MovieClip [specialshoeselectionmenu] Frame 1
onClipEvent (load) {
a = 10;
_parent._x = 180;
_parent._y = 0;
}
onClipEvent (enterFrame) {
_parent._y = _parent._y + a;
a = a + 15;
if (_parent._y > 200) {
_parent._y = 200;
}
}
Symbol 492 MovieClip [createanewrecord] Frame 1
this._x = 400;
this._y = 320;
timer = 100;
_root.ok.enabled = false;
_root.ctr_congratulations.start();
_root.ctr_aggressive.start();
onEnterFrame = function () {
timer--;
if (timer <= 0) {
this._xscale = this._xscale - 5;
this._yscale = this._yscale - 5;
if (this._yscale <= 5) {
_root.ok.enabled = true;
this.removeMovieClip();
}
}
};
Symbol 495 MovieClip [implyplayer] Frame 1
onEnterFrame = function () {
if ((_root.ballpos == "controlplayer") || (_root.ruler._currentframe == 4)) {
this.removeMovieClip();
}
};
this._y = 200;
Symbol 498 MovieClip [implypartner] Frame 1
onEnterFrame = function () {
if ((_root.ballpos != "controlplayer") || (_root.ruler._currentframe == 4)) {
this.removeMovieClip();
}
};
this._y = 200;
Symbol 514 MovieClip [testermenu] Frame 1
onEnterFrame = function () {
if (Key.isDown(221)) {
this.removeMovieClip();
}
};
Symbol 517 Button
on (release) {
if (_root.gamemode != "waytocup") {
stopAllSounds();
}
_root.entersound.start();
_root.blackmask.removeMovieClip();
_root.fadein.call(obj, obj);
_root.nextFrame();
_parent.removeMovieClip();
}
Symbol 525 MovieClip Frame 1
stop();
Symbol 525 MovieClip Frame 4
gotoAndStop (1);
Symbol 528 MovieClip Frame 1
stop();
_root.myfield = "left";
Symbol 528 MovieClip Frame 2
_root.myfield = "right";
Symbol 528 MovieClip Frame 3
gotoAndStop (1);
Symbol 532 MovieClip Frame 1
stop();
_root.courts = 2;
Symbol 532 MovieClip Frame 2
_root.courts = 3;
Symbol 532 MovieClip Frame 3
_root.courts = 4;
Symbol 532 MovieClip Frame 4
gotoAndStop (1);
Symbol 536 MovieClip Frame 1
stop();
_root.initialtime = 30;
Symbol 536 MovieClip Frame 2
_root.initialtime = 15;
Symbol 536 MovieClip Frame 3
_root.initialtime = 60;
Symbol 536 MovieClip Frame 4
gotoAndStop (1);
Symbol 539 MovieClip Frame 1
stop();
_root.fatigue = true;
Symbol 539 MovieClip Frame 2
_root.fatigue = false;
Symbol 539 MovieClip Frame 3
gotoAndStop (1);
Symbol 540 Button
on (rollOver) {
_root.selectsound.start();
}
on (release) {
_root.entersound.start();
gameslevel.gotoAndStop(1);
fatigue.gotoAndStop(1);
myfield.gotoAndStop(1);
courts.gotoAndStop(1);
courttimes.gotoAndStop(1);
}
Symbol 541 Button
on (rollOver) {
_root.selectsound.start();
}
on (release) {
gameslevel.nextFrame();
}
Symbol 542 Button
on (rollOver) {
_root.selectsound.start();
}
on (release) {
myfield.nextFrame();
}
Symbol 543 Button
on (rollOver) {
_root.selectsound.start();
}
on (release) {
courts.nextFrame();
}
Symbol 544 Button
on (rollOver) {
_root.selectsound.start();
}
on (release) {
courttimes.nextFrame();
}
Symbol 545 Button
on (rollOver) {
_root.selectsound.start();
}
on (release) {
fatigue.nextFrame();
}
Instance of Symbol 546 MovieClip in Symbol 547 MovieClip [gamedetailsmenu] Frame 1
onClipEvent (load) {
a = 10;
_parent._x = 180;
_parent._y = 0;
}
onClipEvent (enterFrame) {
_parent._y = _parent._y + a;
a = a + 15;
if (_parent._y > 200) {
_parent._y = 200;
}
}
Symbol 559 MovieClip Frame 1
stop();
_root.bg.stadium.gotoAndStop(1);
Symbol 559 MovieClip Frame 2
_root.bg.stadium.gotoAndStop(2);
Symbol 559 MovieClip Frame 3
_root.bg.stadium.gotoAndStop(3);
Symbol 559 MovieClip Frame 4
_root.bg.stadium.gotoAndStop(4);
Symbol 559 MovieClip Frame 5
_root.bg.stadium.gotoAndStop(5);
Symbol 566 Button
on (rollOver) {
_root.selectsound.start();
ministadium.prevFrame();
onEnterFrame = function () {
leftbtn._width--;
leftbtn._height--;
if (leftbtn._width < 50) {
leftbtn._width = 50;
}
if (leftbtn._height < 50) {
leftbtn._height = 50;
}
};
}
on (rollOut) {
onEnterFrame = function () {
leftbtn._width++;
leftbtn._height++;
if (leftbtn._width > 59) {
leftbtn._width = 59;
}
if (leftbtn._height > 59) {
leftbtn._height = 59;
}
};
}
Symbol 567 Button
on (rollOver) {
_root.selectsound.start();
ministadium.nextFrame();
onEnterFrame = function () {
rightbtn._width--;
rightbtn._height--;
if (rightbtn._width < 50) {
rightbtn._width = 50;
}
if (rightbtn._height < 50) {
rightbtn._height = 50;
}
};
}
on (rollOut) {
onEnterFrame = function () {
rightbtn._width++;
rightbtn._height++;
if (rightbtn._width > 59) {
rightbtn._width = 59;
}
if (rightbtn._height > 59) {
rightbtn._height = 59;
}
};
}
Symbol 568 Button
on (release) {
_root.entersound.start();
_root.attachMovie("specialshoeselectionmenu", "specialshoeselectionmenu", 900);
_parent.removeMovieClip();
}
Symbol 570 MovieClip [stadiumselectionmenu] Frame 1
_root.go.enabled = false;
_root.selectunit1.groupbtn.enabled = false;
_root.selectunit2.groupbtn.enabled = false;
_root.selectunit3.groupbtn.enabled = false;
_root.selectunit4.groupbtn.enabled = false;
_root.selectunit1.leftarrow.enabled = false;
_root.selectunit2.leftarrow.enabled = false;
_root.selectunit3.leftarrow.enabled = false;
_root.selectunit4.leftarrow.enabled = false;
_root.selectunit1.rightarrow.enabled = false;
_root.selectunit2.rightarrow.enabled = false;
_root.selectunit3.rightarrow.enabled = false;
_root.selectunit4.rightarrow.enabled = false;
_root.attachMovie("blackmask", "blackmask", 5);
_root.blackmask._width = 800;
_root.blackmask._height = 650;
_root.blackmask._alpha = 50;
Instance of Symbol 569 MovieClip in Symbol 570 MovieClip [stadiumselectionmenu] Frame 1
onClipEvent (load) {
a = 10;
_parent._x = 180;
_parent._y = 0;
}
onClipEvent (enterFrame) {
_parent._y = _parent._y + a;
a = a + 15;
if (_parent._y > 200) {
_parent._y = 200;
}
}
Symbol 587 MovieClip Frame 1
stop();
if (_parent._parent.specialshoe == "default") {
if (_parent._parent.wzc == "yes") {
gotoAndStop ("wzc");
}
if (_parent._parent.zyx == "yes") {
gotoAndStop ("zyx");
}
if (_parent._parent.zss == "yes") {
gotoAndStop ("zss");
}
if (_parent._parent.tjh == "yes") {
gotoAndStop ("tjh");
}
if (_parent._parent.yzz == "yes") {
gotoAndStop ("yzz");
}
if (_parent._parent.zxz == "yes") {
gotoAndStop ("zxz");
}
if (_parent._parent.sx == "yes") {
gotoAndStop ("sx");
}
if (_parent._parent.yb == "yes") {
gotoAndStop ("yb");
}
if (_parent._parent.fu == "yes") {
gotoAndStop ("fu");
}
if (_parent._parent.ym == "yes") {
gotoAndStop ("ym");
}
if (_parent._parent.dsh == "yes") {
gotoAndStop ("dsh");
}
if (_parent._parent.wsq == "yes") {
gotoAndStop ("wsq");
}
if (_parent._parent.sl == "yes") {
gotoAndStop ("sl");
}
if (_parent._parent.hf == "yes") {
gotoAndStop ("hf");
}
if (_parent._parent.wzy == "yes") {
gotoAndStop ("wzy");
}
}
if (_parent._parent.specialshoe == "shoe01") {
gotoAndStop ("shoe01");
}
if (_parent._parent.specialshoe == "shoe02") {
gotoAndStop ("shoe02");
}
if (_parent._parent.specialshoe == "shoe03") {
gotoAndStop ("shoe03");
}
if (_parent._parent.specialshoe == "shoe04") {
gotoAndStop ("shoe04");
}
if (_parent._parent.specialshoe == "shoe05") {
gotoAndStop ("shoe05");
}
if (_parent._parent.specialshoe == "shoe06") {
gotoAndStop ("shoe06");
}
if (_parent._parent.specialshoe == "shoe07") {
gotoAndStop ("shoe07");
}
if (_parent._parent.specialshoe == "shoe08") {
gotoAndStop ("shoe08");
}
if (_parent._parent.specialshoe == "shoe09") {
gotoAndStop ("shoe09");
}
Symbol 617 MovieClip Frame 1
stop();
if (_parent._parent.wzc == "yes") {
gotoAndStop ("wzc");
}
if (_parent._parent.zyx == "yes") {
gotoAndStop ("zyx");
}
if (_parent._parent.zss == "yes") {
gotoAndStop ("zss");
}
if (_parent._parent.tjh == "yes") {
gotoAndStop ("tjh");
}
if (_parent._parent.yzz == "yes") {
gotoAndStop ("yzz");
}
if (_parent._parent.zxz == "yes") {
gotoAndStop ("zxz");
}
if (_parent._parent.sx == "yes") {
gotoAndStop ("sx");
}
if (_parent._parent.yb == "yes") {
gotoAndStop ("yb");
}
if (_parent._parent.fu == "yes") {
gotoAndStop ("fu");
}
if (_parent._parent.ym == "yes") {
gotoAndStop ("ym");
}
if (_parent._parent.dsh == "yes") {
gotoAndStop ("dsh");
}
if (_parent._parent.wsq == "yes") {
gotoAndStop ("wsq");
}
if (_parent._parent.sl == "yes") {
gotoAndStop ("sl");
}
if (_parent._parent.hf == "yes") {
gotoAndStop ("hf");
}
if (_parent._parent.wzy == "yes") {
gotoAndStop ("wzy");
}
Symbol 647 MovieClip Frame 1
stop();
if (_parent._parent.wzc == "yes") {
gotoAndStop ("wzc");
}
if (_parent._parent.zyx == "yes") {
gotoAndStop ("zyx");
}
if (_parent._parent.zss == "yes") {
gotoAndStop ("zss");
}
if (_parent._parent.tjh == "yes") {
gotoAndStop ("tjh");
}
if (_parent._parent.yzz == "yes") {
gotoAndStop ("yzz");
}
if (_parent._parent.zxz == "yes") {
gotoAndStop ("zxz");
}
if (_parent._parent.sx == "yes") {
gotoAndStop ("sx");
}
if (_parent._parent.yb == "yes") {
gotoAndStop ("yb");
}
if (_parent._parent.fu == "yes") {
gotoAndStop ("fu");
}
if (_parent._parent.ym == "yes") {
gotoAndStop ("ym");
}
if (_parent._parent.dsh == "yes") {
gotoAndStop ("dsh");
}
if (_parent._parent.wsq == "yes") {
gotoAndStop ("wsq");
}
if (_parent._parent.sl == "yes") {
gotoAndStop ("sl");
}
if (_parent._parent.hf == "yes") {
gotoAndStop ("hf");
}
if (_parent._parent.wzy == "yes") {
gotoAndStop ("wzy");
}
Symbol 663 MovieClip Frame 1
stop();
if (_parent._parent.wzc == "yes") {
gotoAndStop ("wzc");
}
if (_parent._parent.zyx == "yes") {
gotoAndStop ("zyx");
}
if (_parent._parent.zss == "yes") {
gotoAndStop ("zss");
}
if (_parent._parent.tjh == "yes") {
gotoAndStop ("tjh");
}
if (_parent._parent.yzz == "yes") {
gotoAndStop ("yzz");
}
if (_parent._parent.zxz == "yes") {
gotoAndStop ("zxz");
}
if (_parent._parent.sx == "yes") {
gotoAndStop ("sx");
}
if (_parent._parent.yb == "yes") {
gotoAndStop ("yb");
}
if (_parent._parent.fu == "yes") {
gotoAndStop ("fu");
}
if (_parent._parent.ym == "yes") {
gotoAndStop ("ym");
}
if (_parent._parent.dsh == "yes") {
gotoAndStop ("dsh");
}
if (_parent._parent.wsq == "yes") {
gotoAndStop ("wsq");
}
if (_parent._parent.sl == "yes") {
gotoAndStop ("sl");
}
if (_parent._parent.hf == "yes") {
gotoAndStop ("hf");
}
if (_parent._parent.wzy == "yes") {
gotoAndStop ("wzy");
}
Symbol 693 MovieClip Frame 1
stop();
if (_parent._parent.wzc == "yes") {
gotoAndStop ("wzc");
}
if (_parent._parent.zyx == "yes") {
gotoAndStop ("zyx");
}
if (_parent._parent.zss == "yes") {
gotoAndStop ("zss");
}
if (_parent._parent.tjh == "yes") {
gotoAndStop ("tjh");
}
if (_parent._parent.yzz == "yes") {
gotoAndStop ("yzz");
}
if (_parent._parent.zxz == "yes") {
gotoAndStop ("zxz");
}
if (_parent._parent.sx == "yes") {
gotoAndStop ("sx");
}
if (_parent._parent.yb == "yes") {
gotoAndStop ("yb");
}
if (_parent._parent.fu == "yes") {
gotoAndStop ("fu");
}
if (_parent._parent.ym == "yes") {
gotoAndStop ("ym");
}
if (_parent._parent.dsh == "yes") {
gotoAndStop ("dsh");
}
if (_parent._parent.wsq == "yes") {
gotoAndStop ("wsq");
}
if (_parent._parent.sl == "yes") {
gotoAndStop ("sl");
}
if (_parent._parent.hf == "yes") {
gotoAndStop ("hf");
}
if (_parent._parent.wzy == "yes") {
gotoAndStop ("wzy");
}
Symbol 713 MovieClip Frame 1
stop();
if (_parent._parent.wzc == "yes") {
gotoAndStop ("wzc");
}
if (_parent._parent.zyx == "yes") {
gotoAndStop ("zyx");
}
if (_parent._parent.zss == "yes") {
gotoAndStop ("zss");
}
if (_parent._parent.tjh == "yes") {
gotoAndStop ("tjh");
}
if (_parent._parent.yzz == "yes") {
gotoAndStop ("yzz");
}
if (_parent._parent.zxz == "yes") {
gotoAndStop ("zxz");
}
if (_parent._parent.sx == "yes") {
gotoAndStop ("sx");
}
if (_parent._parent.yb == "yes") {
gotoAndStop ("yb");
}
if (_parent._parent.fu == "yes") {
gotoAndStop ("fu");
}
if (_parent._parent.ym == "yes") {
gotoAndStop ("ym");
}
if (_parent._parent.dsh == "yes") {
gotoAndStop ("dsh");
}
if (_parent._parent.wsq == "yes") {
gotoAndStop ("wsq");
}
if (_parent._parent.sl == "yes") {
gotoAndStop ("sl");
}
if (_parent._parent.hf == "yes") {
gotoAndStop ("hf");
}
if (_parent._parent.wzy == "yes") {
gotoAndStop ("wzy");
}
Symbol 743 MovieClip Frame 1
stop();
if (_parent._parent.wzc == "yes") {
gotoAndStop ("wzc");
}
if (_parent._parent.zyx == "yes") {
gotoAndStop ("zyx");
}
if (_parent._parent.zss == "yes") {
gotoAndStop ("zss");
}
if (_parent._parent.tjh == "yes") {
gotoAndStop ("tjh");
}
if (_parent._parent.yzz == "yes") {
gotoAndStop ("yzz");
}
if (_parent._parent.zxz == "yes") {
gotoAndStop ("zxz");
}
if (_parent._parent.sx == "yes") {
gotoAndStop ("sx");
}
if (_parent._parent.yb == "yes") {
gotoAndStop ("yb");
}
if (_parent._parent.fu == "yes") {
gotoAndStop ("fu");
}
if (_parent._parent.ym == "yes") {
gotoAndStop ("ym");
}
if (_parent._parent.dsh == "yes") {
gotoAndStop ("dsh");
}
if (_parent._parent.wsq == "yes") {
gotoAndStop ("wsq");
}
if (_parent._parent.sl == "yes") {
gotoAndStop ("sl");
}
if (_parent._parent.hf == "yes") {
gotoAndStop ("hf");
}
if (_parent._parent.wzy == "yes") {
gotoAndStop ("wzy");
}
Symbol 759 MovieClip Frame 1
stop();
if (_parent._parent.wzc == "yes") {
gotoAndStop ("wzc");
}
if (_parent._parent.zyx == "yes") {
gotoAndStop ("zyx");
}
if (_parent._parent.zss == "yes") {
gotoAndStop ("zss");
}
if (_parent._parent.tjh == "yes") {
gotoAndStop ("tjh");
}
if (_parent._parent.yzz == "yes") {
gotoAndStop ("yzz");
}
if (_parent._parent.zxz == "yes") {
gotoAndStop ("zxz");
}
if (_parent._parent.sx == "yes") {
gotoAndStop ("sx");
}
if (_parent._parent.yb == "yes") {
gotoAndStop ("yb");
}
if (_parent._parent.fu == "yes") {
gotoAndStop ("fu");
}
if (_parent._parent.ym == "yes") {
gotoAndStop ("ym");
}
if (_parent._parent.dsh == "yes") {
gotoAndStop ("dsh");
}
if (_parent._parent.wsq == "yes") {
gotoAndStop ("wsq");
}
if (_parent._parent.sl == "yes") {
gotoAndStop ("sl");
}
if (_parent._parent.hf == "yes") {
gotoAndStop ("hf");
}
if (_parent._parent.wzy == "yes") {
gotoAndStop ("wzy");
}
Symbol 789 MovieClip Frame 1
stop();
if (_parent._parent.wzc == "yes") {
gotoAndStop ("wzc");
}
if (_parent._parent.zyx == "yes") {
gotoAndStop ("zyx");
}
if (_parent._parent.zss == "yes") {
gotoAndStop ("zss");
}
if (_parent._parent.tjh == "yes") {
gotoAndStop ("tjh");
}
if (_parent._parent.yzz == "yes") {
gotoAndStop ("yzz");
}
if (_parent._parent.zxz == "yes") {
gotoAndStop ("zxz");
}
if (_parent._parent.sx == "yes") {
gotoAndStop ("sx");
}
if (_parent._parent.yb == "yes") {
gotoAndStop ("yb");
}
if (_parent._parent.fu == "yes") {
gotoAndStop ("fu");
}
if (_parent._parent.ym == "yes") {
gotoAndStop ("ym");
}
if (_parent._parent.dsh == "yes") {
gotoAndStop ("dsh");
}
if (_parent._parent.wsq == "yes") {
gotoAndStop ("wsq");
}
if (_parent._parent.sl == "yes") {
gotoAndStop ("sl");
}
if (_parent._parent.hf == "yes") {
gotoAndStop ("hf");
}
if (_parent._parent.wzy == "yes") {
gotoAndStop ("wzy");
}
Symbol 790 MovieClip Frame 1
_parent._y = 580;
Symbol 791 MovieClip Frame 1
_parent._y = 580;
Symbol 791 MovieClip Frame 7
_root.step.start();
Symbol 791 MovieClip Frame 19
_root.step.start();
Symbol 792 MovieClip Frame 1
_parent._y = 580;
Symbol 792 MovieClip Frame 7
_root.step.start();
Symbol 792 MovieClip Frame 19
_root.step.start();
Symbol 793 MovieClip Frame 1
_parent._y = 580;
_root.step.start();
Symbol 793 MovieClip Frame 13
_root.step.start();
Symbol 795 MovieClip Frame 1
this._name = "pd";
this._visible = false;
Symbol 796 MovieClip Frame 7
_root.passsound.start();
Symbol 796 MovieClip Frame 14
_parent.gotoAndStop(27);
Instance of Symbol 798 MovieClip in Symbol 799 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
if (_parent._parent._parent.wzc == "yes") {
a = random(5);
}
if (_parent._parent._parent.zyx == "yes") {
a = random(10);
}
if (_parent._parent._parent.zss == "yes") {
a = random(8);
}
if (_parent._parent._parent.tjh == "yes") {
a = random(3);
}
if (_parent._parent._parent.zxz == "yes") {
a = random(3);
}
if (_parent._parent._parent.yb == "yes") {
a = random(8);
}
if (_parent._parent._parent.yzz == "yes") {
a = random(10);
}
if (_parent._parent._parent.sx == "yes") {
a = random(10);
}
if (_parent._parent._parent.fu == "yes") {
a = random(3);
}
if (_parent._parent._parent.hf == "yes") {
a = random(5);
}
if (_parent._parent._parent.wzy == "yes") {
a = random(6);
}
if (_parent._parent._parent.dsh == "yes") {
a = random(5);
}
if (_parent._parent._parent.ym == "yes") {
a = random(8);
}
if (_parent._parent._parent.sl == "yes") {
a = random(6);
}
if (a == 0) {
_parent._name = "pd";
} else {
_parent._name = "none";
}
}
Symbol 800 MovieClip Frame 1
JA = _parent.jumpa;
grav_y = 0;
ready = false;
jumping = false;
JB = 25;
blockcount = 1;
onEnterFrame = function () {
if (ready == true) {
if (!jumping) {
grav_y = JA;
jumping = true;
}
if (jumping == true) {
grav_y = grav_y - 3.3;
if (grav_y <= -20) {
grav_y = -20;
}
_parent._y = _parent._y - grav_y;
}
if ((_parent._y >= 580) && (_root.ballpos != _parent._name)) {
ready = false;
grav_y = 0;
jumping = false;
_parent._y = 580;
gotoAndPlay (26);
delete onEnterFrame;
}
if ((_parent._y >= 580) && (_root.ballpos == _parent._name)) {
ready = false;
grav_y = 0;
jumping = false;
_parent._y = 580;
gotoAndPlay (41);
delete onEnterFrame;
}
}
};
Symbol 800 MovieClip Frame 11
ready = true;
Symbol 800 MovieClip Frame 24
stop();
Symbol 800 MovieClip Frame 26
ready = false;
Symbol 800 MovieClip Frame 36
_parent.gotoAndStop("stand nothing");
Symbol 800 MovieClip Frame 37
if (_parent.wzc == "yes") {
this.wzc = "yes";
}
if (_parent.zyx == "yes") {
this.zyx = "yes";
}
if (_parent.zss == "yes") {
this.zss = "yes";
}
if (_parent.yzz == "yes") {
this.yzz = "yes";
}
if (_parent.yb == "yes") {
this.yb = "yes";
}
if (_parent.sx == "yes") {
this.sx = "yes";
}
if (_parent.tjh == "yes") {
this.tjh = "yes";
}
if (_parent.zxz == "yes") {
this.zxz = "yes";
}
if (_parent.fu == "yes") {
this.fu = "yes";
}
if (_parent.hf == "yes") {
this.hf = "yes";
}
if (_parent.wzy == "yes") {
this.wzy = "yes";
}
if (_parent.dsh == "yes") {
this.dsh = "yes";
}
if (_parent.sl == "yes") {
this.sl = "yes";
}
if (_parent.ym == "yes") {
this.ym = "yes";
}
this.specialshoe = _parent.specialshoe;
Instance of Symbol 796 MovieClip in Symbol 800 MovieClip Frame 37
onClipEvent (load) {
hitonce = false;
}
onClipEvent (enterFrame) {
if (hitonce == false) {
if (this.pd.hitTest(_root.bg.shotball)) {
_root.oh.start();
if (_parent._parent._name == "controlplayer") {
_root.blocks = _root.blocks + 1;
}
if (_parent._parent._name == "player2") {
_root.blocks = _root.blocks + 1;
}
a = random(20) + 50;
b = random(20) + 50;
_root.hitAndShake(a, b);
_root.bg.shotball.dx = _root.bg.shotball.dx * -1;
_root.blockballsound.start();
hitonce = true;
}
}
}
Symbol 800 MovieClip Frame 38
stop();
if (_root.ballpos == _parent._name) {
gotoAndStop (39);
}
Instance of Symbol 799 MovieClip "pd" in Symbol 800 MovieClip Frame 38
onClipEvent (enterFrame) {
if (this.hitTest(_root.bg.ball) && (_parent._parent._y < 570)) {
_root.bg.ball.removeMovieClip();
_parent.gotoAndStop(39);
}
if (this.hitTest(_root.bg.shotball) && (_parent._parent._y < 570)) {
_root.bg.shotball.removeMovieClip();
_parent.gotoAndStop(39);
}
}
onClipEvent (enterFrame) {
if (_parent._parent._name == "controlplayer") {
if (_parent.hitTest(_root.bg.com1)) {
if (_root.bg.com1._x <= _root.bg.controlplayer._x) {
_root.bg.com1._x = _root.bg.com1._x - _root.bg.com1.runspeed;
}
if (_root.bg.com1._x > _root.bg.controlplayer._x) {
_root.bg.com1._x = _root.bg.com1._x + _root.bg.com1.runspeed;
}
}
if (_parent.hitTest(_root.bg.com2)) {
if (_root.bg.com2._x <= _root.bg.controlplayer._x) {
_root.bg.com2._x = _root.bg.com2._x - _root.bg.com2.runspeed;
}
if (_root.bg.com2._x > _root.bg.controlplayer._x) {
_root.bg.com2._x = _root.bg.com2._x + _root.bg.com2.runspeed;
}
}
}
if (_parent._parent._name == "player2") {
if (_parent.hitTest(_root.bg.com1)) {
if (_root.bg.com1._x <= _root.bg.player2._x) {
_root.bg.com1._x = _root.bg.com1._x - _root.bg.com1.runspeed;
}
if (_root.bg.com1._x > _root.bg.player2._x) {
_root.bg.com1._x = _root.bg.com1._x + _root.bg.com1.runspeed;
}
}
if (_parent.hitTest(_root.bg.com2)) {
if (_root.bg.com2._x <= _root.bg.player2._x) {
_root.bg.com2._x = _root.bg.com2._x - _root.bg.com2.runspeed;
}
if (_root.bg.com2._x > _root.bg.player2._x) {
_root.bg.com2._x = _root.bg.com2._x + _root.bg.com2.runspeed;
}
}
}
if (_parent._parent._name == "com1") {
if (_parent.hitTest(_root.bg.controlplayer)) {
if (_root.bg.controlplayer._x <= _root.bg.com1._x) {
_root.bg.controlplayer._x = _root.bg.controlplayer._x - _root.bg.controlplayer.runspeed;
}
if (_root.bg.controlplayer._x > _root.bg.com1._x) {
_root.bg.controlplayer._x = _root.bg.controlplayer._x + _root.bg.controlplayer.runspeed;
}
}
if (_parent.hitTest(_root.bg.player2)) {
if (_root.bg.player2._x <= _root.bg.com1._x) {
_root.bg.player2._x = _root.bg.player2._x - _root.bg.player2.runspeed;
}
if (_root.bg.player2._x > _root.bg.com1._x) {
_root.bg.player2._x = _root.bg.player2._x + _root.bg.player2.runspeed;
}
}
}
if (_parent._parent._name == "com2") {
if (_parent.hitTest(_root.bg.controlplayer)) {
if (_root.bg.controlplayer._x <= _root.bg.com2._x) {
_root.bg.controlplayer._x = _root.bg.controlplayer._x - _root.bg.controlplayer.runspeed;
}
if (_root.bg.controlplayer._x > _root.bg.com2._x) {
_root.bg.controlplayer._x = _root.bg.controlplayer._x + _root.bg.controlplayer.runspeed;
}
}
if (_parent.hitTest(_root.bg.player2)) {
if (_root.bg.player2._x <= _root.bg.com2._x) {
_root.bg.player2._x = _root.bg.player2._x - _root.bg.player2.runspeed;
}
if (_root.bg.player2._x > _root.bg.com2._x) {
_root.bg.player2._x = _root.bg.player2._x + _root.bg.player2.runspeed;
}
}
}
}
Symbol 800 MovieClip Frame 39
stop();
_root.receiveball.start();
_root.oh.start();
_root.ballpos = _parent._name;
Symbol 800 MovieClip Frame 41
ready = false;
Symbol 800 MovieClip Frame 51
_parent.gotoAndStop("stand ball");
Symbol 801 MovieClip Frame 1
_parent._y = 580;
if (_parent._name == "player2") {
_root.ballpos = "controlplayer";
_root.switchplayer.call(obj, obj);
}
Symbol 802 MovieClip Frame 1
if (_parent._name == "controlplayer") {
_root.outpossible = "player";
}
if (_parent._name == "player2") {
_root.outpossible = "player";
}
if (_parent._name == "com1") {
_root.outpossible = "com";
}
if (_parent._name == "com2") {
_root.outpossible = "com";
}
Symbol 802 MovieClip Frame 15
_root.ballpos = null;
_root.passsound.start();
_root.bg.attachMovie("shortball", "ball", 100);
if (_parent._xscale == 100) {
_root.bg.ball._x = _parent._x - 180;
}
if (_parent._xscale == -100) {
_root.bg.ball._x = _parent._x + 180;
}
_root.bg.ball._y = _parent._y - 200;
Symbol 802 MovieClip Frame 25
_parent.gotoAndStop("stand nothing");
Symbol 803 MovieClip Frame 1
_root.receiveball.start();
_root.shoter = null;
Symbol 803 MovieClip Frame 13
_root.passer = null;
_parent.gotoAndStop("stand ball");
Symbol 806 MovieClip Frame 1
stop();
this._name = "guard";
if (_parent.wzc == "yes") {
this.wzc = "yes";
}
if (_parent.zyx == "yes") {
this.zyx = "yes";
}
if (_parent.zss == "yes") {
this.zss = "yes";
}
if (_parent.yzz == "yes") {
this.yzz = "yes";
}
if (_parent.yb == "yes") {
this.yb = "yes";
}
if (_parent.sx == "yes") {
this.sx = "yes";
}
if (_parent.tjh == "yes") {
this.tjh = "yes";
}
if (_parent.zxz == "yes") {
this.zxz = "yes";
}
if (_parent.fu == "yes") {
this.fu = "yes";
}
if (_parent.hf == "yes") {
this.hf = "yes";
}
if (_parent.dsh == "yes") {
this.dsh = "yes";
}
if (_parent.wzy == "yes") {
this.wzy = "yes";
}
if (_parent.sl == "yes") {
this.sl = "yes";
}
if (_parent.ym == "yes") {
this.ym = "yes";
}
this.specialshoe = _parent.specialshoe;
gotoAndStop(random(3));
Symbol 807 MovieClip Frame 48
_parent.gotoAndStop("stand nothing");
Symbol 808 MovieClip Frame 9
_root.bounce.start();
Symbol 809 MovieClip Frame 46
_parent.gotoAndStop("stand nothing");
Instance of Symbol 155 MovieClip in Symbol 810 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent._parent._name == "controlplayer") && (_parent._parent._xscale == 100)) {
_root.walkleftscroll = true;
}
if ((_parent._parent._name == "controlplayer") && (_parent._parent._xscale == -100)) {
_root.walkrightscroll = true;
}
if ((_parent._parent._name == "com1") && (_parent._parent._xscale == 100)) {
_root.com1walkleftscroll = true;
}
if ((_parent._parent._name == "com1") && (_parent._parent._xscale == -100)) {
_root.com1walkrightscroll = true;
}
if ((_parent._parent._name == "com2") && (_parent._parent._xscale == 100)) {
_root.com2walkleftscroll = true;
}
if ((_parent._parent._name == "com2") && (_parent._parent._xscale == -100)) {
_root.com2walkrightscroll = true;
}
}
Symbol 810 MovieClip Frame 9
_root.bounce.start();
Instance of Symbol 155 MovieClip in Symbol 811 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent._parent._name == "controlplayer") && (_parent._parent._xscale == 100)) {
_root.runleftscroll = true;
}
if ((_parent._parent._name == "controlplayer") && (_parent._parent._xscale == -100)) {
_root.runrightscroll = true;
}
if ((_parent._parent._name == "com1") && (_parent._parent._xscale == 100)) {
_root.com1runleftscroll = true;
}
if ((_parent._parent._name == "com1") && (_parent._parent._xscale == -100)) {
_root.com1runrightscroll = true;
}
if ((_parent._parent._name == "com2") && (_parent._parent._xscale == 100)) {
_root.com2runleftscroll = true;
}
if ((_parent._parent._name == "com2") && (_parent._parent._xscale == -100)) {
_root.com2runrightscroll = true;
}
}
Symbol 811 MovieClip Frame 7
_root.step.start();
Symbol 811 MovieClip Frame 9
_root.bounce.start();
Symbol 811 MovieClip Frame 15
_root.step.start();
Symbol 812 MovieClip Frame 1
if (_parent._name == "controlplayer") {
_root.outpossible = "player";
}
if (_parent._name == "player2") {
_root.outpossible = "player";
}
if (_parent._name == "com1") {
_root.outpossible = "com";
}
if (_parent._name == "com2") {
_root.outpossible = "com";
}
if (_parent._name == "controlplayer") {
_root.scoringattempt = _root.scoringattempt + 1;
}
if (_parent.zxz == "yes") {
gotoAndPlay ("zxz");
}
if (_parent.hf == "yes") {
gotoAndPlay ("hf");
}
if (_parent.ym == "yes") {
gotoAndPlay ("hf");
}
if (_parent.fu == "yes") {
gotoAndPlay ("hf");
}
Symbol 812 MovieClip Frame 26
_root.ballpos = null;
_root.bg.attachMovie("shotball", "shotball", 100);
if (_parent._xscale == 100) {
_root.bg.shotball._x = _parent._x - 110;
}
if (_parent._xscale == -100) {
_root.bg.shotball._x = _parent._x + 50;
}
_root.bg.shotball._y = _parent._y - 430;
Symbol 812 MovieClip Frame 43
_parent.gotoAndStop("stand nothing");
Symbol 812 MovieClip Frame 44
if (_parent._name == "controlplayer") {
_root.outpossible = "player";
}
if (_parent._name == "player2") {
_root.outpossible = "player";
}
if (_parent._name == "com1") {
_root.outpossible = "com";
}
if (_parent._name == "com2") {
_root.outpossible = "com";
}
if (_parent._name == "controlplayer") {
_root.scoringattempt = _root.scoringattempt + 1;
}
Symbol 812 MovieClip Frame 69
_root.ballpos = null;
_root.bg.attachMovie("shotball", "shotball", 100);
if (_parent._xscale == 100) {
_root.bg.shotball._x = _parent._x - 110;
}
if (_parent._xscale == -100) {
_root.bg.shotball._x = _parent._x + 50;
}
_root.bg.shotball._y = _parent._y - 430;
Symbol 812 MovieClip Frame 86
_parent.gotoAndStop("stand nothing");
Symbol 812 MovieClip Frame 87
if (_parent._name == "controlplayer") {
_root.outpossible = "player";
}
if (_parent._name == "player2") {
_root.outpossible = "player";
}
if (_parent._name == "com1") {
_root.outpossible = "com";
}
if (_parent._name == "com2") {
_root.outpossible = "com";
}
if (_parent._name == "controlplayer") {
_root.scoringattempt = _root.scoringattempt + 1;
}
if (_parent.zxz == "yes") {
gotoAndPlay ("zxz");
}
Symbol 812 MovieClip Frame 112
_root.ballpos = null;
_root.bg.attachMovie("shotball", "shotball", 100);
if (_parent._xscale == 100) {
_root.bg.shotball._x = _parent._x - 110;
}
if (_parent._xscale == -100) {
_root.bg.shotball._x = _parent._x + 50;
}
_root.bg.shotball._y = _parent._y - 430;
Symbol 812 MovieClip Frame 129
_parent.gotoAndStop("stand nothing");
Symbol 813 MovieClip Frame 5
_root.catchball.start();
Symbol 813 MovieClip Frame 7
_root.bg.bounceball.removeMovieClip();
_root.shoter = null;
Symbol 813 MovieClip Frame 13
_parent.gotoAndStop("stand ball");
Symbol 814 MovieClip Frame 1
_root.steal.start();
Symbol 814 MovieClip Frame 18
_parent.gotoAndStop("stand nothing");
Symbol 815 MovieClip Frame 1
_root.steal.start();
Symbol 815 MovieClip Frame 18
_parent.gotoAndStop("stand nothing");
Symbol 816 MovieClip Frame 1
_parent._y = 580;
Symbol 819 MovieClip Frame 4
_root.bounce.start();
Symbol 819 MovieClip Frame 20
_root.bounce.start();
Symbol 820 MovieClip Frame 3
_root.bounce.start();
Symbol 821 MovieClip Frame 1
stop();
if (_parent.wzc == "yes") {
this.wzc = "yes";
}
if (_parent.zyx == "yes") {
this.zyx = "yes";
}
if (_parent.zss == "yes") {
this.zss = "yes";
}
if (_parent.yzz == "yes") {
this.yzz = "yes";
}
if (_parent.yb == "yes") {
this.yb = "yes";
}
if (_parent.sx == "yes") {
this.sx = "yes";
}
if (_parent.tjh == "yes") {
this.tjh = "yes";
}
if (_parent.zxz == "yes") {
this.zxz = "yes";
}
if (_parent.fu == "yes") {
this.fu = "yes";
}
if (_parent.hf == "yes") {
this.hf = "yes";
}
if (_parent.wzy == "yes") {
this.wzy = "yes";
}
if (_parent.dsh == "yes") {
this.dsh = "yes";
}
if (_parent.ym == "yes") {
this.ym = "yes";
}
if (_parent.sl == "yes") {
this.sl = "yes";
}
this.specialshoe = _parent.specialshoe;
Symbol 822 MovieClip Frame 1
if (_parent._name == "controlplayer") {
_root.outpossible = "player";
}
if (_parent._name == "player2") {
_root.outpossible = "player";
}
if (_parent._name == "com1") {
_root.outpossible = "com";
}
if (_parent._name == "com2") {
_root.outpossible = "com";
}
if (_parent._name == "controlplayer") {
_root.scoringattempt = _root.scoringattempt + 1;
}
Symbol 822 MovieClip Frame 13
_root.ballpos = null;
_root.bg.attachMovie("shotball", "shotball", 100);
if (_parent._xscale == 100) {
_root.bg.shotball._x = _parent._x - 50;
}
if (_parent._xscale == -100) {
_root.bg.shotball._x = _parent._x + 70;
}
_root.bg.shotball._y = _parent._y - 430;
if (_parent.ym == "yes") {
_root.bg.shotball._y = _parent._y - 440;
}
Symbol 822 MovieClip Frame 28
_parent.gotoAndStop("stand nothing");
Symbol 823 MovieClip Frame 1
if (_parent._name == "controlplayer") {
_root.outpossible = "player";
}
if (_parent._name == "player2") {
_root.outpossible = "player";
}
if (_parent._name == "com1") {
_root.outpossible = "com";
}
if (_parent._name == "com2") {
_root.outpossible = "com";
}
Symbol 823 MovieClip Frame 14
_root.ballpos = null;
_root.passsound.start();
_root.bg.attachMovie("longball", "ball", 100);
if (_parent._xscale == 100) {
_root.bg.ball._x = _parent._x - 200;
}
if (_parent._xscale == -100) {
_root.bg.ball._x = _parent._x + 200;
}
_root.bg.ball._y = _parent._y - 320;
Symbol 823 MovieClip Frame 27
_parent.gotoAndStop("stand nothing");
Symbol 824 MovieClip Frame 1
_parent._y = 580;
gotoAndStop(Math.round(Math.random() * -5) + 7);
Symbol 825 MovieClip Frame 7
_root.step.start();
Symbol 825 MovieClip Frame 18
_root.step.start();
Symbol 825 MovieClip Frame 25
_parent.nextFrame();
Symbol 826 MovieClip Frame 1
JA = 25 + random(10);
grav_y = 0;
jumping = false;
JB = 25;
onEnterFrame = function () {
if (!jumping) {
grav_y = JA;
jumping = true;
}
if (jumping == true) {
grav_y = grav_y - 3.3;
if (grav_y <= -20) {
grav_y = -20;
}
_parent._y = _parent._y - grav_y;
}
if (_parent._y >= 580) {
grav_y = 0;
jumping = false;
_parent._y = 580;
gotoAndPlay (21);
delete onEnterFrame;
}
};
if (_parent._name == "controlplayer") {
_root.outpossible = "player";
}
if (_parent._name == "player2") {
_root.outpossible = "player";
}
if (_parent._name == "com1") {
_root.outpossible = "com";
}
if (_parent._name == "com2") {
_root.outpossible = "com";
}
if (_parent._name == "controlplayer") {
_root.scoringattempt = _root.scoringattempt + 1;
}
Symbol 826 MovieClip Frame 9
_root.ballpos = null;
_root.bg.attachMovie("shotball", "shotball", 100);
if (_parent._xscale == 100) {
_root.bg.shotball._x = _parent._x - 50;
}
if (_parent._xscale == -100) {
_root.bg.shotball._x = _parent._x + 70;
}
_root.bg.shotball._y = _parent._y - 300;
Symbol 826 MovieClip Frame 19
stop();
Symbol 826 MovieClip Frame 31
_parent.gotoAndStop("stand nothing");
Symbol 827 MovieClip Frame 1
_root.ballpos = null;
_root.bg.attachMovie("loseball", "ball", 100);
_root.bg.ball._y = (_parent._y - 180) - random(10);
_root.hitsound.start();
if (_parent._name == "controlplayer") {
_root.outpossible = "com";
}
if (_parent._name == "player2") {
_root.outpossible = "com";
}
if (_parent._name == "com1") {
_root.outpossible = "player";
}
if (_parent._name == "com2") {
_root.outpossible = "player";
}
Symbol 827 MovieClip Frame 19
if (_parent._name == "com1") {
_root.steals = _root.steals + 1;
}
if (_parent._name == "com2") {
_root.steals = _root.steals + 1;
}
_parent.gotoAndStop("stand nothing");
Symbol 828 MovieClip Frame 1
_root.receiveball.start();
_root.shoter = null;
Symbol 828 MovieClip Frame 13
_root.passer = null;
_parent.gotoAndStop("stand ball");
Symbol 829 MovieClip Frame 1
if (_parent._name == "controlplayer") {
_root.outpossible = "player";
}
if (_parent._name == "player2") {
_root.outpossible = "player";
}
if (_parent._name == "com1") {
_root.outpossible = "com";
}
if (_parent._name == "com2") {
_root.outpossible = "com";
}
Symbol 829 MovieClip Frame 3
_root.hitsound.start();
Symbol 829 MovieClip Frame 11
_parent.gotoAndStop("stand nothing");
Instance of Symbol 155 MovieClip in Symbol 830 MovieClip Frame 1
onClipEvent (load) {
_parent._parent._y = 580;
if (_parent._parent._xscale == 100) {
_parent._parent._xscale = -100;
}
if (_parent._parent._xscale == -100) {
_parent._parent._xscale = 100;
}
}
onClipEvent (enterFrame) {
if (_parent._parent._x <= 352) {
_parent._parent._xscale = _parent._parent._xscale * -1;
}
if (_parent._parent._x >= 2622) {
_parent._parent._xscale = _parent._parent._xscale * -1;
}
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + (_parent._parent.runspeed - 2);
if (_parent._parent._name == "controlplayer") {
_root.runrightscroll = true;
}
if (_parent._parent._name == "com1") {
_root.com1runrightscroll = true;
}
if (_parent._parent._name == "com2") {
_root.com2runrightscroll = true;
}
}
if (_parent._parent._xscale == 100) {
_parent._parent._x = _parent._parent._x - (_parent._parent.runspeed - 2);
if (_parent._parent._name == "controlplayer") {
_root.runleftscroll = true;
}
if (_parent._parent._name == "com1") {
_root.com1runleftscroll = true;
}
if (_parent._parent._name == "com2") {
_root.com2runleftscroll = true;
}
}
}
Symbol 830 MovieClip Frame 7
_root.step.start();
Symbol 830 MovieClip Frame 19
_root.step.start();
Instance of Symbol 155 MovieClip in Symbol 831 MovieClip Frame 1
onClipEvent (load) {
_parent._parent._y = 580;
if (_parent._parent._xscale == 100) {
_parent._parent._xscale = -100;
}
if (_parent._parent._xscale == -100) {
_parent._parent._xscale = 100;
}
}
onClipEvent (enterFrame) {
if (_parent._parent._x <= 352) {
_parent._parent._xscale = _parent._parent._xscale * -1;
}
if (_parent._parent._x >= 2622) {
_parent._parent._xscale = _parent._parent._xscale * -1;
}
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + (_parent._parent.runspeed - 2);
if (_parent._parent._name == "controlplayer") {
_root.runrightscroll = true;
}
if (_parent._parent._name == "com1") {
_root.com1runrightscroll = true;
}
if (_parent._parent._name == "com2") {
_root.com2runrightscroll = true;
}
}
if (_parent._parent._xscale == 100) {
_parent._parent._x = _parent._parent._x - (_parent._parent.runspeed - 2);
if (_parent._parent._name == "controlplayer") {
_root.runleftscroll = true;
}
if (_parent._parent._name == "com1") {
_root.com1runleftscroll = true;
}
if (_parent._parent._name == "com2") {
_root.com2runleftscroll = true;
}
}
}
Symbol 831 MovieClip Frame 7
_root.step.start();
Symbol 831 MovieClip Frame 19
_root.step.start();
Symbol 832 MovieClip Frame 1
_parent._y = 580;
Symbol 832 MovieClip Frame 11
stop();
Instance of Symbol 155 MovieClip in Symbol 832 MovieClip Frame 11
onClipEvent (load) {
speed = 30;
if (_parent._parent._xscale == 100) {
_parent._parent._xscale == -100;
}
if (_parent._parent._xscale == -100) {
_parent._parent._xscale == 100;
}
}
onClipEvent (enterFrame) {
if (_parent._parent._xscale == 100) {
_parent._parent._x = _parent._parent._x - speed;
speed--;
if (speed <= 0) {
speed = 0;
}
}
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + speed;
speed--;
if (speed <= 0) {
speed = 0;
}
}
}
Instance of Symbol 155 MovieClip in Symbol 833 MovieClip Frame 1
onClipEvent (load) {
speed = 30;
_parent._parent._y = 580;
if (_parent._parent._xscale == 100) {
_parent._parent._xscale == -100;
}
if (_parent._parent._xscale == -100) {
_parent._parent._xscale == 100;
}
}
onClipEvent (enterFrame) {
if (_parent._parent._xscale == 100) {
_parent._parent._x = _parent._parent._x - speed;
speed--;
if (speed <= 0) {
speed = 0;
}
}
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + speed;
speed--;
if (speed <= 0) {
speed = 0;
}
}
}
Symbol 834 MovieClip Frame 1
_root.step.start();
Instance of Symbol 155 MovieClip in Symbol 834 MovieClip Frame 1
onClipEvent (load) {
_parent._parent._y = 580;
if (_parent._parent._xscale == 100) {
_parent._parent._xscale = -100;
}
if (_parent._parent._xscale == -100) {
_parent._parent._xscale = 100;
}
}
onClipEvent (enterFrame) {
if (_parent._parent._x <= 352) {
_parent._parent._xscale = _parent._parent._xscale * -1;
}
if (_parent._parent._x >= 2622) {
_parent._parent._xscale = _parent._parent._xscale * -1;
}
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + _parent._parent.walkspeed;
_root.walkrightscroll = true;
}
if (_parent._parent._xscale == 100) {
_parent._parent._x = _parent._parent._x - _parent._parent.walkspeed;
_root.walkleftscroll = true;
}
}
Symbol 834 MovieClip Frame 13
_root.step.start();
Symbol 835 MovieClip Frame 1
_root.ballpos = null;
_root.bg.attachMovie("loseball2", "ball", 100);
if (_parent._xscale == 100) {
_root.bg.ball._x = _parent._x + 100;
}
if (_parent._xscale == -100) {
_root.bg.ball._x = _parent._x - 100;
}
_root.bg.ball._y = (_parent._y + 50) - random(10);
if (_parent._name == "controlplayer") {
_root.outpossible = "player";
}
if (_parent._name == "player2") {
_root.outpossible = "player";
}
if (_parent._name == "com1") {
_root.outpossible = "com";
}
if (_parent._name == "com2") {
_root.outpossible = "com";
}
Instance of Symbol 155 MovieClip in Symbol 835 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + _parent._parent.runspeed;
_root.runrightscroll = true;
}
if (_parent._parent._xscale == 100) {
_parent._parent._x = _parent._parent._x - _parent._parent.runspeed;
_root.runleftscroll = true;
}
}
Symbol 835 MovieClip Frame 8
_root.step.start();
Symbol 835 MovieClip Frame 17
_root.step.start();
Symbol 835 MovieClip Frame 21
_parent.gotoAndStop("exaust");
Symbol 836 MovieClip Frame 1
if (_parent._name == "controlplayer") {
_root.outpossible = "player";
}
if (_parent._name == "player2") {
_root.outpossible = "player";
}
if (_parent._name == "com1") {
_root.outpossible = "com";
}
if (_parent._name == "com2") {
_root.outpossible = "com";
}
Instance of Symbol 155 MovieClip in Symbol 836 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + _parent._parent.runspeed;
}
if (_parent._parent._xscale == 100) {
_parent._parent._x = _parent._parent._x - _parent._parent.runspeed;
}
}
Symbol 836 MovieClip Frame 8
_root.step.start();
Symbol 836 MovieClip Frame 10
_root.ballpos = null;
_root.passsound.start();
_root.bg.attachMovie("shortball", "ball", 100);
if (_parent._xscale == 100) {
_root.bg.ball._x = _parent._x - 180;
}
if (_parent._xscale == -100) {
_root.bg.ball._x = _parent._x + 180;
}
_root.bg.ball._y = _parent._y - 200;
Symbol 836 MovieClip Frame 13
_root.step.start();
Symbol 836 MovieClip Frame 21
_parent.gotoAndStop("stand nothing");
Symbol 837 MovieClip Frame 1
ready = false;
falldown = false;
dunktimer = false;
Instance of Symbol 155 MovieClip in Symbol 837 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hf == "yes") {
ymovespeed = 30;
}
if (_parent._parent.fu == "yes") {
ymovespeed = 60;
}
if (_parent._parent.ym == "yes") {
ymovespeed = 40;
}
if (((_parent._parent.ym != "yes") && (fu != "yes")) && (hf != "yes")) {
ymovespeed = 25;
}
fallspeed = 20;
dunkyes = true;
}
onClipEvent (enterFrame) {
if (_parent.falldown == false) {
if (_parent.ready == true) {
if (_parent._parent._name == "controlplayer") {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + _parent._parent.runspeed;
if ((_root.bg.comtarget._x - 50) < _root.bg.controlplayer._x) {
_root.bg.controlplayer._x = _root.bg.comtarget._x - 50;
}
}
if (_parent._parent._xscale == 100) {
_parent._parent._x = _parent._parent._x - _parent._parent.runspeed;
if ((_root.bg.comtarget._x + 150) > _root.bg.controlplayer._x) {
_root.bg.controlplayer._x = _root.bg.comtarget._x + 150;
}
}
}
if (_parent._parent._name == "com1") {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + _parent._parent.runspeed;
if ((_root.bg.playertarget._x - 50) < _root.bg.com1._x) {
_root.bg.com1._x = _root.bg.playertarget._x - 50;
}
}
if (_parent._parent._xscale == 100) {
_parent._parent._x = _parent._parent._x - _parent._parent.runspeed;
if ((_root.bg.playertarget._x + 150) > _root.bg.com1._x) {
_root.bg.com1._x = _root.bg.playertarget._x + 150;
}
}
}
if (_parent._parent._name == "com2") {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + _parent._parent.runspeed;
if ((_root.bg.playertarget._x - 50) < _root.bg.com2._x) {
_root.bg.com2._x = _root.bg.playertarget._x - 50;
}
}
if (_parent._parent._xscale == 100) {
_parent._parent._x = _parent._parent._x - _parent._parent.runspeed;
if ((_root.bg.playertarget._x + 150) > _root.bg.com2._x) {
_root.bg.com2._x = _root.bg.playertarget._x + 150;
}
}
}
}
if (_parent.ready == true) {
_parent._parent._y = _parent._parent._y - ymovespeed;
ymovespeed--;
if (ymovespeed <= 0) {
ymovespeed = 0;
}
}
if (_parent._parent._y < 300) {
_parent._parent._y = 301;
_parent.gotoAndPlay(16);
_parent.falldown = true;
}
}
if (_parent.falldown == true) {
if (_parent.dunktimer == false) {
_parent._parent._y = _parent._parent._y + fallspeed;
fallspeed++;
if (fallspeed >= 50) {
fallspeed = 50;
}
}
if ((_parent._parent._y > 380) && (dunkyes == true)) {
_parent.gotoAndPlay(21);
dunkyes = false;
}
if (_parent._parent._y >= 580) {
_parent._parent._y = 580;
_parent._parent.gotoAndStop("stand nothing");
}
}
}
Symbol 837 MovieClip Frame 11
ready = true;
Symbol 837 MovieClip Frame 15
stop();
Symbol 837 MovieClip Frame 20
stop();
if (_parent._name == "controlplayer") {
_root.outpossible = "player";
}
if (_parent._name == "player2") {
_root.outpossible = "player";
}
if (_parent._name == "com1") {
_root.outpossible = "com";
}
if (_parent._name == "com2") {
_root.outpossible = "com";
}
if (_parent._name == "controlplayer") {
_root.scoringattempt = _root.scoringattempt + 1;
}
Symbol 837 MovieClip Frame 21
_root.ballpos = null;
dunktimer = true;
_root.bg.attachMovie("shotball", "shotball", 100);
if (_parent._xscale == 100) {
_root.bg.shotball._x = _parent._x - 110;
}
if (_parent._xscale == -100) {
_root.bg.shotball._x = _parent._x + 50;
}
_root.bg.shotball._y = _parent._y - 200;
a = random(50) + 150;
b = random(50) + 150;
_root.hitAndShake(a, b);
a = random(3);
if (a == 0) {
_root.dunksound1.start();
}
if (a == 1) {
_root.dunksound2.start();
}
if (a == 2) {
_root.dunksound3.start();
}
Symbol 837 MovieClip Frame 27
dunktimer = false;
Symbol 837 MovieClip Frame 31
stop();
Symbol 838 MovieClip Frame 1
ready = false;
falldown = false;
dunktimer = false;
Instance of Symbol 155 MovieClip in Symbol 838 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hf == "yes") {
ymovespeed = 30;
}
if (_parent._parent.fu == "yes") {
ymovespeed = 60;
}
if (_parent._parent.ym == "yes") {
ymovespeed = 40;
}
if (((_parent._parent.ym != "yes") && (fu != "yes")) && (hf != "yes")) {
ymovespeed = 25;
}
fallspeed = 20;
dunkyes = true;
}
onClipEvent (enterFrame) {
if (_parent.falldown == false) {
if (_parent.ready == true) {
if (_parent._parent._name == "controlplayer") {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + _parent._parent.runspeed;
if ((_root.bg.comtarget._x - 50) < _root.bg.controlplayer._x) {
_root.bg.controlplayer._x = _root.bg.comtarget._x - 50;
}
}
if (_parent._parent._xscale == 100) {
_parent._parent._x = _parent._parent._x - _parent._parent.runspeed;
if ((_root.bg.comtarget._x + 150) > _root.bg.controlplayer._x) {
_root.bg.controlplayer._x = _root.bg.comtarget._x + 150;
}
}
}
if (_parent._parent._name == "com1") {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + _parent._parent.runspeed;
if ((_root.bg.playertarget._x - 50) < _root.bg.com1._x) {
_root.bg.com1._x = _root.bg.playertarget._x - 50;
}
}
if (_parent._parent._xscale == 100) {
_parent._parent._x = _parent._parent._x - _parent._parent.runspeed;
if ((_root.bg.playertarget._x + 150) > _root.bg.com1._x) {
_root.bg.com1._x = _root.bg.playertarget._x + 150;
}
}
}
if (_parent._parent._name == "com2") {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + _parent._parent.runspeed;
if ((_root.bg.playertarget._x - 50) < _root.bg.com2._x) {
_root.bg.com2._x = _root.bg.playertarget._x - 50;
}
}
if (_parent._parent._xscale == 100) {
_parent._parent._x = _parent._parent._x - _parent._parent.runspeed;
if ((_root.bg.playertarget._x + 150) > _root.bg.com2._x) {
_root.bg.com2._x = _root.bg.playertarget._x + 150;
}
}
}
}
if (_parent.ready == true) {
_parent._parent._y = _parent._parent._y - ymovespeed;
ymovespeed--;
if (ymovespeed <= 0) {
ymovespeed = 0;
}
}
if (_parent._parent._y < 300) {
_parent._parent._y = 301;
_parent.gotoAndPlay(16);
_parent.falldown = true;
}
}
if (_parent.falldown == true) {
if (_parent.dunktimer == false) {
_parent._parent._y = _parent._parent._y + fallspeed;
fallspeed++;
if (fallspeed >= 50) {
fallspeed = 50;
}
}
if ((_parent._parent._y > 380) && (dunkyes == true)) {
_parent.gotoAndPlay(21);
dunkyes = false;
}
if (_parent._parent._y >= 580) {
_parent._parent._y = 580;
_parent._parent.gotoAndStop("stand nothing");
}
}
}
Symbol 838 MovieClip Frame 11
ready = true;
Symbol 838 MovieClip Frame 15
stop();
Symbol 838 MovieClip Frame 20
stop();
if (_parent._name == "controlplayer") {
_root.outpossible = "player";
}
if (_parent._name == "player2") {
_root.outpossible = "player";
}
if (_parent._name == "com1") {
_root.outpossible = "com";
}
if (_parent._name == "com2") {
_root.outpossible = "com";
}
if (_parent._name == "controlplayer") {
_root.scoringattempt = _root.scoringattempt + 1;
}
Symbol 838 MovieClip Frame 21
_root.ballpos = null;
dunktimer = true;
_root.bg.attachMovie("shotball", "shotball", 100);
if (_parent._xscale == 100) {
_root.bg.shotball._x = _parent._x - 110;
}
if (_parent._xscale == -100) {
_root.bg.shotball._x = _parent._x + 50;
}
_root.bg.shotball._y = _parent._y - 200;
a = random(50) + 150;
b = random(50) + 150;
_root.hitAndShake(a, b);
a = random(3);
if (a == 0) {
_root.dunksound1.start();
}
if (a == 1) {
_root.dunksound2.start();
}
if (a == 2) {
_root.dunksound3.start();
}
Symbol 838 MovieClip Frame 27
dunktimer = false;
Symbol 838 MovieClip Frame 31
stop();
Symbol 839 MovieClip Frame 1
ready = false;
falldown = false;
dunktimer = false;
Instance of Symbol 155 MovieClip in Symbol 839 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent.hf == "yes") {
ymovespeed = 30;
}
if (_parent._parent.fu == "yes") {
ymovespeed = 60;
}
if (_parent._parent.ym == "yes") {
ymovespeed = 40;
}
if (((_parent._parent.ym != "yes") && (fu != "yes")) && (hf != "yes")) {
ymovespeed = 25;
}
fallspeed = 20;
dunkyes = true;
}
onClipEvent (enterFrame) {
if (_parent.falldown == false) {
if (_parent.ready == true) {
if (_parent._parent._name == "controlplayer") {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + _parent._parent.runspeed;
if ((_root.bg.comtarget._x - 50) < _root.bg.controlplayer._x) {
_root.bg.controlplayer._x = _root.bg.comtarget._x - 50;
}
}
if (_parent._parent._xscale == 100) {
_parent._parent._x = _parent._parent._x - _parent._parent.runspeed;
if ((_root.bg.comtarget._x + 150) > _root.bg.controlplayer._x) {
_root.bg.controlplayer._x = _root.bg.comtarget._x + 150;
}
}
}
if (_parent._parent._name == "com1") {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + _parent._parent.runspeed;
if ((_root.bg.playertarget._x - 50) < _root.bg.com1._x) {
_root.bg.com1._x = _root.bg.playertarget._x - 50;
}
}
if (_parent._parent._xscale == 100) {
_parent._parent._x = _parent._parent._x - _parent._parent.runspeed;
if ((_root.bg.playertarget._x + 150) > _root.bg.com1._x) {
_root.bg.com1._x = _root.bg.playertarget._x + 150;
}
}
}
if (_parent._parent._name == "com2") {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + _parent._parent.runspeed;
if ((_root.bg.playertarget._x - 50) < _root.bg.com2._x) {
_root.bg.com2._x = _root.bg.playertarget._x - 50;
}
}
if (_parent._parent._xscale == 100) {
_parent._parent._x = _parent._parent._x - _parent._parent.runspeed;
if ((_root.bg.playertarget._x + 150) > _root.bg.com2._x) {
_root.bg.com2._x = _root.bg.playertarget._x + 150;
}
}
}
}
if (_parent.ready == true) {
_parent._parent._y = _parent._parent._y - ymovespeed;
ymovespeed--;
if (ymovespeed <= 0) {
ymovespeed = 0;
}
}
if (_parent._parent._y < 300) {
_parent._parent._y = 301;
_parent.gotoAndPlay(19);
_parent.falldown = true;
}
}
if (_parent.falldown == true) {
if (_parent.dunktimer == false) {
_parent._parent._y = _parent._parent._y + fallspeed;
fallspeed++;
if (fallspeed >= 50) {
fallspeed = 50;
}
}
if ((_parent._parent._y > 380) && (dunkyes == true)) {
_parent.gotoAndPlay(25);
dunkyes = false;
}
if (_parent._parent._y >= 580) {
_parent._parent._y = 580;
_parent._parent.gotoAndStop("stand nothing");
}
}
}
Symbol 839 MovieClip Frame 11
ready = true;
Symbol 839 MovieClip Frame 19
stop();
Symbol 839 MovieClip Frame 24
stop();
if (_parent._name == "controlplayer") {
_root.outpossible = "player";
}
if (_parent._name == "player2") {
_root.outpossible = "player";
}
if (_parent._name == "com1") {
_root.outpossible = "com";
}
if (_parent._name == "com2") {
_root.outpossible = "com";
}
if (_parent._name == "controlplayer") {
_root.scoringattempt = _root.scoringattempt + 1;
}
Symbol 839 MovieClip Frame 25
_root.ballpos = null;
dunktimer = true;
_root.bg.attachMovie("shotball", "shotball", 100);
if (_parent._xscale == 100) {
_root.bg.shotball._x = _parent._x - 110;
}
if (_parent._xscale == -100) {
_root.bg.shotball._x = _parent._x + 50;
}
_root.bg.shotball._y = _parent._y - 200;
a = random(50) + 150;
b = random(50) + 150;
_root.hitAndShake(a, b);
a = random(3);
if (a == 0) {
_root.dunksound1.start();
}
if (a == 1) {
_root.dunksound2.start();
}
if (a == 2) {
_root.dunksound3.start();
}
Symbol 839 MovieClip Frame 31
dunktimer = false;
Symbol 839 MovieClip Frame 35
stop();
Symbol 840 MovieClip Frame 1
if (_parent._name == "controlplayer") {
_root.outpossible = "player";
}
if (_parent._name == "player2") {
_root.outpossible = "player";
}
if (_parent._name == "com1") {
_root.outpossible = "com";
}
if (_parent._name == "com2") {
_root.outpossible = "com";
}
Symbol 840 MovieClip Frame 13
_root.ballpos = null;
_root.passsound.start();
_root.bg.attachMovie("shortball", "ball", 100);
if (_parent._xscale == 100) {
_root.bg.ball._x = _parent._x - 200;
}
if (_parent._xscale == -100) {
_root.bg.ball._x = _parent._x + 200;
}
_root.bg.ball._y = _parent._y - 320;
Symbol 840 MovieClip Frame 23
_parent.gotoAndStop("stand nothing");
Symbol 841 MovieClip Frame 1
if (_parent._name == "controlplayer") {
_root.outpossible = "player";
}
if (_parent._name == "player2") {
_root.outpossible = "player";
}
if (_parent._name == "com1") {
_root.outpossible = "com";
}
if (_parent._name == "com2") {
_root.outpossible = "com";
}
if (_parent._name == "controlplayer") {
_root.scoringattempt = _root.scoringattempt + 1;
}
Instance of Symbol 155 MovieClip in Symbol 841 MovieClip Frame 20
onClipEvent (enterFrame) {
if (_parent._parent._xscale == -100) {
_parent._parent._x = _parent._parent._x + _parent._parent.runspeed;
}
if (_parent._parent._xscale == 100) {
_parent._parent._x = _parent._parent._x - _parent._parent.runspeed;
}
}
Symbol 841 MovieClip Frame 30
_root.ballpos = null;
_root.bg.attachMovie("shotball", "shotball", 100);
if (_parent._xscale == 100) {
_root.bg.shotball._x = _parent._x - 110;
}
if (_parent._xscale == -100) {
_root.bg.shotball._x = _parent._x + 50;
}
_root.bg.shotball._y = _parent._y - 430;
Symbol 841 MovieClip Frame 47
_parent.gotoAndStop("stand nothing");
Symbol 842 MovieClip [sl] Frame 1
if (loadonce == true) {
sl = "yes";
this._y = 580;
playername = "sl";
fullname = "shao liang";
walkspeed = 7;
runspeed = 13;
jumpa = 30;
runexa = 5;
demandexa = 4;
jumpexa = 5;
guardexa = 2;
actexa = 3;
charascale = 105;
loadonce = false;
}
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand nothing");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand nothing");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand nothing");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand nothing");
}
stop();
Symbol 842 MovieClip [sl] Frame 5
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("jump");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("jump");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("jump");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("jump");
}
Symbol 842 MovieClip [sl] Frame 6
if (this._name == "controlplayer") {
_root.ballpos = "controlplayer";
_root.controller.gotoAndStop("stand ball");
}
if (this._name == "com1") {
_root.ballpos = "com1";
_root.com1AI.gotoAndStop("stand ball");
}
if (this._name == "com2") {
_root.ballpos = "com2";
_root.com2AI.gotoAndStop("stand ball");
}
if (this._name == "waitcp") {
_root.ballpos = "controlplayer";
_root.controller.gotoAndStop("stand ball");
}
if (this._name == "waitc1") {
_root.ballpos = "com1";
_root.com1AI.gotoAndStop("stand ball");
}
Symbol 842 MovieClip [sl] Frame 7
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("straight pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("straight pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("straight pass");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 842 MovieClip [sl] Frame 8
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("receive ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("receive ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("receive ball");
}
_root.ballpos = this._name;
Symbol 842 MovieClip [sl] Frame 9
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dodge guard");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("dodge guard");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge guard");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge guard");
}
Symbol 842 MovieClip [sl] Frame 10
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("exaust");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("exaust");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("exaust");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("exaust");
}
Symbol 842 MovieClip [sl] Frame 11
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball control");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("ball control");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("ball control");
}
Symbol 842 MovieClip [sl] Frame 12
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand demand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand demand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand demand");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand demand");
}
Symbol 842 MovieClip [sl] Frame 13
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball walk");
}
Symbol 842 MovieClip [sl] Frame 14
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("run ball");
}
Symbol 842 MovieClip [sl] Frame 15
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot long");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot long");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot long");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 842 MovieClip [sl] Frame 16
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("pick ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("pick ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("pick ball");
}
_root.ballpos = this._name;
Symbol 842 MovieClip [sl] Frame 17
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand steal");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand steal");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand steal");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand steal");
}
Symbol 842 MovieClip [sl] Frame 18
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand steal 2");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand steal 2");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand steal 2");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand steal 2");
}
Symbol 842 MovieClip [sl] Frame 19
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dodge stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("dodge stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge stand");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge stand");
}
Symbol 842 MovieClip [sl] Frame 20
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball dodge stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball dodge stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 842 MovieClip [sl] Frame 21
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball up stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball up stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 842 MovieClip [sl] Frame 22
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball control dodge");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball control dodge");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 842 MovieClip [sl] Frame 23
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot short");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("shot short");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot short");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot short");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 842 MovieClip [sl] Frame 24
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("long pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("long pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("long pass");
}
_root.paser = this;
_root.passer = playername;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 842 MovieClip [sl] Frame 25
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("depressed");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("depressed");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("depressed");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("depressed");
}
Symbol 842 MovieClip [sl] Frame 26
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("3step");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("3step");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("3step");
}
Symbol 842 MovieClip [sl] Frame 27
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("3stepshot");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("3stepshot");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("3stepshot");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 842 MovieClip [sl] Frame 28
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("be hitted");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("be hitted");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("be hitted");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("be hitted");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 842 MovieClip [sl] Frame 29
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("high receive ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("high receive ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("high receive ball");
}
_root.ballpos = this._name;
Symbol 842 MovieClip [sl] Frame 30
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball hitted");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("ball hitted");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("ball hitted");
}
Symbol 842 MovieClip [sl] Frame 36
_root.loser = this;
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("exaust");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("exaust");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("exaust");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("exaust");
}
Symbol 842 MovieClip [sl] Frame 37
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("run pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("run pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("run pass");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 842 MovieClip [sl] Frame 38
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dunk");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dunk");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dunk");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
a = random(3);
if (a == 1) {
gotoAndStop ("dunk2");
}
if (a == 2) {
gotoAndStop ("dunk3");
}
Symbol 842 MovieClip [sl] Frame 41
_root.paser = this;
_root.passer = playername;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 842 MovieClip [sl] Frame 42
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot long far");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot long far");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot long far");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 843 MovieClip [ym] Frame 1
if (loadonce == true) {
ym = "yes";
this._y = 580;
playername = "ym";
fullname = "yao ming";
walkspeed = 7;
runspeed = 13;
jumpa = 33;
runexa = 6;
demandexa = 5;
jumpexa = 5;
guardexa = 3;
actexa = 3;
charascale = 120;
loadonce = false;
}
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand nothing");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand nothing");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand nothing");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand nothing");
}
stop();
Symbol 843 MovieClip [ym] Frame 5
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("jump");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("jump");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("jump");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("jump");
}
Symbol 843 MovieClip [ym] Frame 6
if (this._name == "controlplayer") {
_root.ballpos = "controlplayer";
_root.controller.gotoAndStop("stand ball");
}
if (this._name == "com1") {
_root.ballpos = "com1";
_root.com1AI.gotoAndStop("stand ball");
}
if (this._name == "com2") {
_root.ballpos = "com2";
_root.com2AI.gotoAndStop("stand ball");
}
if (this._name == "waitcp") {
_root.ballpos = "controlplayer";
_root.controller.gotoAndStop("stand ball");
}
if (this._name == "waitc1") {
_root.ballpos = "com1";
_root.com1AI.gotoAndStop("stand ball");
}
Symbol 843 MovieClip [ym] Frame 7
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("straight pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("straight pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("straight pass");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 843 MovieClip [ym] Frame 8
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("receive ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("receive ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("receive ball");
}
_root.ballpos = this._name;
Symbol 843 MovieClip [ym] Frame 9
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dodge guard");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("dodge guard");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge guard");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge guard");
}
Symbol 843 MovieClip [ym] Frame 10
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("exaust");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("exaust");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("exaust");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("exaust");
}
Symbol 843 MovieClip [ym] Frame 11
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball control");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("ball control");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("ball control");
}
Symbol 843 MovieClip [ym] Frame 12
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand demand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand demand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand demand");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand demand");
}
Symbol 843 MovieClip [ym] Frame 13
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball walk");
}
Symbol 843 MovieClip [ym] Frame 14
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("run ball");
}
Symbol 843 MovieClip [ym] Frame 15
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot long");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot long");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot long");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 843 MovieClip [ym] Frame 16
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("pick ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("pick ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("pick ball");
}
_root.ballpos = this._name;
Symbol 843 MovieClip [ym] Frame 17
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand steal");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand steal");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand steal");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand steal");
}
Symbol 843 MovieClip [ym] Frame 18
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand steal 2");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand steal 2");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand steal 2");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand steal 2");
}
Symbol 843 MovieClip [ym] Frame 19
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dodge stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("dodge stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge stand");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge stand");
}
Symbol 843 MovieClip [ym] Frame 20
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball dodge stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball dodge stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 843 MovieClip [ym] Frame 21
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball up stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball up stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 843 MovieClip [ym] Frame 22
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball control dodge");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball control dodge");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 843 MovieClip [ym] Frame 23
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot short");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("shot short");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot short");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot short");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 843 MovieClip [ym] Frame 24
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("long pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("long pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("long pass");
}
_root.paser = this;
_root.passer = playername;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 843 MovieClip [ym] Frame 25
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("depressed");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("depressed");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("depressed");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("depressed");
}
Symbol 843 MovieClip [ym] Frame 26
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("3step");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("3step");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("3step");
}
Symbol 843 MovieClip [ym] Frame 27
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("3stepshot");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("3stepshot");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("3stepshot");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 843 MovieClip [ym] Frame 28
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("be hitted");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("be hitted");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("be hitted");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("be hitted");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 843 MovieClip [ym] Frame 29
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("high receive ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("high receive ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("high receive ball");
}
_root.ballpos = this._name;
Symbol 843 MovieClip [ym] Frame 30
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball hitted");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("ball hitted");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("ball hitted");
}
Symbol 843 MovieClip [ym] Frame 31
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("celebration");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("celebration");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("celebration");
}
Symbol 843 MovieClip [ym] Frame 36
_root.loser = this;
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("exaust");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("exaust");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("exaust");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("exaust");
}
Symbol 843 MovieClip [ym] Frame 37
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("run pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("run pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("run pass");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 843 MovieClip [ym] Frame 38
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dunk");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dunk");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dunk");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
a = random(3);
if (a == 1) {
gotoAndStop ("dunk2");
}
if (a == 2) {
gotoAndStop ("dunk3");
}
Symbol 843 MovieClip [ym] Frame 41
_root.paser = this;
_root.passer = playername;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 843 MovieClip [ym] Frame 42
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot long far");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot long far");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot long far");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 844 MovieClip [dsh] Frame 1
if (loadonce == true) {
dsh = "yes";
this._y = 580;
playername = "dsh";
fullname = "dong shuheng";
walkspeed = 8;
runspeed = 14;
jumpa = 30;
runexa = 6;
demandexa = 5;
jumpexa = 5;
guardexa = 3;
actexa = 3;
charascale = 90;
loadonce = false;
}
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand nothing");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand nothing");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand nothing");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand nothing");
}
stop();
Symbol 844 MovieClip [dsh] Frame 5
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("jump");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("jump");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("jump");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("jump");
}
Symbol 844 MovieClip [dsh] Frame 6
if (this._name == "controlplayer") {
_root.ballpos = "controlplayer";
_root.controller.gotoAndStop("stand ball");
}
if (this._name == "com1") {
_root.ballpos = "com1";
_root.com1AI.gotoAndStop("stand ball");
}
if (this._name == "com2") {
_root.ballpos = "com2";
_root.com2AI.gotoAndStop("stand ball");
}
if (this._name == "waitcp") {
_root.ballpos = "controlplayer";
_root.controller.gotoAndStop("stand ball");
}
if (this._name == "waitc1") {
_root.ballpos = "com1";
_root.com1AI.gotoAndStop("stand ball");
}
Symbol 844 MovieClip [dsh] Frame 7
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("straight pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("straight pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("straight pass");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 844 MovieClip [dsh] Frame 8
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("receive ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("receive ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("receive ball");
}
_root.ballpos = this._name;
Symbol 844 MovieClip [dsh] Frame 9
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dodge guard");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("dodge guard");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge guard");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge guard");
}
Symbol 844 MovieClip [dsh] Frame 10
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("exaust");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("exaust");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("exaust");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("exaust");
}
Symbol 844 MovieClip [dsh] Frame 11
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball control");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("ball control");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("ball control");
}
Symbol 844 MovieClip [dsh] Frame 12
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand demand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand demand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand demand");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand demand");
}
Symbol 844 MovieClip [dsh] Frame 13
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball walk");
}
Symbol 844 MovieClip [dsh] Frame 14
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("run ball");
}
Symbol 844 MovieClip [dsh] Frame 15
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot long");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot long");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot long");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 844 MovieClip [dsh] Frame 16
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("pick ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("pick ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("pick ball");
}
_root.ballpos = this._name;
Symbol 844 MovieClip [dsh] Frame 17
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand steal");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand steal");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand steal");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand steal");
}
Symbol 844 MovieClip [dsh] Frame 18
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand steal 2");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand steal 2");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand steal 2");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand steal 2");
}
Symbol 844 MovieClip [dsh] Frame 19
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dodge stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("dodge stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge stand");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge stand");
}
Symbol 844 MovieClip [dsh] Frame 20
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball dodge stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball dodge stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 844 MovieClip [dsh] Frame 21
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball up stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball up stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 844 MovieClip [dsh] Frame 22
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball control dodge");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball control dodge");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 844 MovieClip [dsh] Frame 23
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot short");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("shot short");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot short");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot short");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 844 MovieClip [dsh] Frame 24
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("long pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("long pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("long pass");
}
_root.paser = this;
_root.passer = playername;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 844 MovieClip [dsh] Frame 25
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("depressed");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("depressed");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("depressed");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("depressed");
}
Symbol 844 MovieClip [dsh] Frame 26
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("3step");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("3step");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("3step");
}
Symbol 844 MovieClip [dsh] Frame 27
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("3stepshot");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("3stepshot");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("3stepshot");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 844 MovieClip [dsh] Frame 28
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("be hitted");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("be hitted");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("be hitted");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("be hitted");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 844 MovieClip [dsh] Frame 29
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("high receive ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("high receive ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("high receive ball");
}
_root.ballpos = this._name;
Symbol 844 MovieClip [dsh] Frame 30
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball hitted");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("ball hitted");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("ball hitted");
}
Symbol 844 MovieClip [dsh] Frame 31
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("celebration");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("celebration");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("celebration");
}
Symbol 844 MovieClip [dsh] Frame 36
_root.loser = this;
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("exaust");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("exaust");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("exaust");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("exaust");
}
Symbol 844 MovieClip [dsh] Frame 37
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("run pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("run pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("run pass");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 844 MovieClip [dsh] Frame 38
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dunk");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dunk");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dunk");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
a = random(3);
if (a == 1) {
gotoAndStop ("dunk2");
}
if (a == 2) {
gotoAndStop ("dunk3");
}
Symbol 844 MovieClip [dsh] Frame 41
_root.paser = this;
_root.passer = playername;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 844 MovieClip [dsh] Frame 42
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot long far");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot long far");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot long far");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 845 MovieClip [wzy] Frame 1
if (loadonce == true) {
wzy = "yes";
this._y = 580;
playername = "wzy";
fullname = "wang zhiyuan";
walkspeed = 8;
runspeed = 17;
jumpa = 28;
runexa = 5;
demandexa = 3;
jumpexa = 4;
guardexa = 3;
actexa = 4;
charascale = 95;
loadonce = false;
}
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand nothing");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand nothing");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand nothing");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand nothing");
}
if (_root.ballpos == this._name) {
this.gotoAndStop("stand ball");
}
stop();
Symbol 845 MovieClip [wzy] Frame 5
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("jump");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("jump");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("jump");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("jump");
}
Symbol 845 MovieClip [wzy] Frame 6
if (this._name == "controlplayer") {
_root.ballpos = "controlplayer";
_root.controller.gotoAndStop("stand ball");
}
if (this._name == "com1") {
_root.ballpos = "com1";
_root.com1AI.gotoAndStop("stand ball");
}
if (this._name == "com2") {
_root.ballpos = "com2";
_root.com2AI.gotoAndStop("stand ball");
}
if (this._name == "waitcp") {
_root.ballpos = "controlplayer";
_root.controller.gotoAndStop("stand ball");
}
if (this._name == "waitc1") {
_root.ballpos = "com1";
_root.com1AI.gotoAndStop("stand ball");
}
Symbol 845 MovieClip [wzy] Frame 7
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("straight pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("straight pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("straight pass");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 845 MovieClip [wzy] Frame 8
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("receive ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("receive ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("receive ball");
}
_root.ballpos = this._name;
Symbol 845 MovieClip [wzy] Frame 9
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dodge guard");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("dodge guard");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge guard");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge guard");
}
Symbol 845 MovieClip [wzy] Frame 10
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("exaust");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("exaust");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("exaust");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("exaust");
}
Symbol 845 MovieClip [wzy] Frame 11
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball control");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("ball control");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("ball control");
}
Symbol 845 MovieClip [wzy] Frame 12
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand demand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand demand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand demand");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand demand");
}
Symbol 845 MovieClip [wzy] Frame 13
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball walk");
}
Symbol 845 MovieClip [wzy] Frame 14
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("run ball");
}
Symbol 845 MovieClip [wzy] Frame 15
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot long");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot long");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot long");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 845 MovieClip [wzy] Frame 16
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("pick ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("pick ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("pick ball");
}
_root.ballpos = this._name;
Symbol 845 MovieClip [wzy] Frame 17
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand steal");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand steal");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand steal");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand steal");
}
Symbol 845 MovieClip [wzy] Frame 18
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand steal 2");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand steal 2");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand steal 2");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand steal 2");
}
Symbol 845 MovieClip [wzy] Frame 19
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dodge stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("dodge stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge stand");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge stand");
}
Symbol 845 MovieClip [wzy] Frame 20
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball dodge stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball dodge stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 845 MovieClip [wzy] Frame 21
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball up stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball up stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 845 MovieClip [wzy] Frame 22
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball control dodge");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball control dodge");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 845 MovieClip [wzy] Frame 23
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot short");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("shot short");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot short");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot short");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 845 MovieClip [wzy] Frame 24
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("long pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("long pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("long pass");
}
_root.paser = this;
_root.passer = playername;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 845 MovieClip [wzy] Frame 25
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("depressed");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("depressed");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("depressed");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("depressed");
}
Symbol 845 MovieClip [wzy] Frame 26
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("3step");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("3step");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("3step");
}
Symbol 845 MovieClip [wzy] Frame 27
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("3stepshot");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("3stepshot");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("3stepshot");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 845 MovieClip [wzy] Frame 28
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("be hitted");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("be hitted");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("be hitted");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("be hitted");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 845 MovieClip [wzy] Frame 29
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("high receive ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("high receive ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("high receive ball");
}
_root.ballpos = this._name;
Symbol 845 MovieClip [wzy] Frame 30
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball hitted");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("ball hitted");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("ball hitted");
}
Symbol 845 MovieClip [wzy] Frame 31
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("celebration");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("celebration");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("celebration");
}
Symbol 845 MovieClip [wzy] Frame 36
_root.loser = this;
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("exaust");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("exaust");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("exaust");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("exaust");
}
Symbol 845 MovieClip [wzy] Frame 37
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("run pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("run pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("run pass");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 845 MovieClip [wzy] Frame 38
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dunk");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dunk");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dunk");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
a = random(3);
if (a == 1) {
gotoAndStop ("dunk2");
}
if (a == 2) {
gotoAndStop ("dunk3");
}
Symbol 845 MovieClip [wzy] Frame 41
_root.paser = this;
_root.passer = playername;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 845 MovieClip [wzy] Frame 42
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot long far");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot long far");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot long far");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 846 MovieClip [hf] Frame 1
if (loadonce == true) {
hf = "yes";
this._y = 580;
playername = "hf";
fullname = "han feng";
walkspeed = 10;
runspeed = 20;
jumpa = 30;
runexa = 6;
demandexa = 5;
jumpexa = 5;
guardexa = 2;
actexa = 3;
charascale = 100;
loadonce = false;
}
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand nothing");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand nothing");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand nothing");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand nothing");
}
stop();
Symbol 846 MovieClip [hf] Frame 5
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("jump");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("jump");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("jump");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("jump");
}
Symbol 846 MovieClip [hf] Frame 6
if (this._name == "controlplayer") {
_root.ballpos = "controlplayer";
_root.controller.gotoAndStop("stand ball");
}
if (this._name == "com1") {
_root.ballpos = "com1";
_root.com1AI.gotoAndStop("stand ball");
}
if (this._name == "com2") {
_root.ballpos = "com2";
_root.com2AI.gotoAndStop("stand ball");
}
if (this._name == "waitcp") {
_root.ballpos = "controlplayer";
_root.controller.gotoAndStop("stand ball");
}
if (this._name == "waitc1") {
_root.ballpos = "com1";
_root.com1AI.gotoAndStop("stand ball");
}
Symbol 846 MovieClip [hf] Frame 7
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("straight pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("straight pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("straight pass");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 846 MovieClip [hf] Frame 8
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("receive ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("receive ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("receive ball");
}
_root.ballpos = this._name;
Symbol 846 MovieClip [hf] Frame 9
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dodge guard");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("dodge guard");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge guard");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge guard");
}
Symbol 846 MovieClip [hf] Frame 10
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("exaust");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("exaust");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("exaust");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("exaust");
}
Symbol 846 MovieClip [hf] Frame 11
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball control");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("ball control");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("ball control");
}
Symbol 846 MovieClip [hf] Frame 12
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand demand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand demand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand demand");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand demand");
}
Symbol 846 MovieClip [hf] Frame 13
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball walk");
}
Symbol 846 MovieClip [hf] Frame 14
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("run ball");
}
Symbol 846 MovieClip [hf] Frame 15
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot long");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot long");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot long");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 846 MovieClip [hf] Frame 16
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("pick ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("pick ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("pick ball");
}
_root.ballpos = this._name;
Symbol 846 MovieClip [hf] Frame 17
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand steal");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand steal");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand steal");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand steal");
}
Symbol 846 MovieClip [hf] Frame 18
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand steal 2");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand steal 2");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand steal 2");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand steal 2");
}
Symbol 846 MovieClip [hf] Frame 19
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dodge stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("dodge stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge stand");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge stand");
}
Symbol 846 MovieClip [hf] Frame 20
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball dodge stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball dodge stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 846 MovieClip [hf] Frame 21
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball up stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball up stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 846 MovieClip [hf] Frame 22
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball control dodge");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball control dodge");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 846 MovieClip [hf] Frame 23
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot short");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("shot short");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot short");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot short");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 846 MovieClip [hf] Frame 24
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("long pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("long pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("long pass");
}
_root.paser = this;
_root.passer = playername;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 846 MovieClip [hf] Frame 25
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("depressed");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("depressed");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("depressed");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("depressed");
}
Symbol 846 MovieClip [hf] Frame 26
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("3step");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("3step");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("3step");
}
Symbol 846 MovieClip [hf] Frame 27
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("3stepshot");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("3stepshot");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("3stepshot");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 846 MovieClip [hf] Frame 28
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("be hitted");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("be hitted");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("be hitted");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("be hitted");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 846 MovieClip [hf] Frame 29
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("high receive ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("high receive ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("high receive ball");
}
_root.ballpos = this._name;
Symbol 846 MovieClip [hf] Frame 30
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball hitted");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("ball hitted");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("ball hitted");
}
Symbol 846 MovieClip [hf] Frame 31
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("celebration");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("celebration");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("celebration");
}
Symbol 846 MovieClip [hf] Frame 36
_root.loser = this;
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("exaust");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("exaust");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("exaust");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("exaust");
}
Symbol 846 MovieClip [hf] Frame 37
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("run pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("run pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("run pass");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 846 MovieClip [hf] Frame 38
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dunk");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dunk");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dunk");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
a = random(3);
if (a == 1) {
gotoAndStop ("dunk2");
}
if (a == 2) {
gotoAndStop ("dunk3");
}
Symbol 846 MovieClip [hf] Frame 41
_root.paser = this;
_root.passer = playername;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 846 MovieClip [hf] Frame 42
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot long far");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot long far");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot long far");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 847 MovieClip [fu] Frame 1
if (loadonce == true) {
fu = "yes";
this._y = 580;
playername = "fu";
fullname = "fuck u";
walkspeed = 8;
runspeed = 20;
jumpa = 35;
runexa = 0;
demandexa = 0;
jumpexa = 0;
guardexa = 0;
actexa = 0;
charascale = 115;
loadonce = false;
}
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand nothing");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand nothing");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand nothing");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand nothing");
}
stop();
Symbol 847 MovieClip [fu] Frame 5
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("jump");
}
if (this._name == "player2") {
_root.controller.gotoAndStop("jump");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("jump");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("jump");
}
Symbol 847 MovieClip [fu] Frame 6
if (this._name == "controlplayer") {
_root.ballpos = "controlplayer";
_root.controller.gotoAndStop("stand ball");
}
if (this._name == "com1") {
_root.ballpos = "com1";
_root.com1AI.gotoAndStop("stand ball");
}
if (this._name == "com2") {
_root.ballpos = "com2";
_root.com2AI.gotoAndStop("stand ball");
}
if (this._name == "waitcp") {
_root.ballpos = "controlplayer";
_root.controller.gotoAndStop("stand ball");
}
if (this._name == "waitc1") {
_root.ballpos = "com1";
_root.com1AI.gotoAndStop("stand ball");
}
Symbol 847 MovieClip [fu] Frame 7
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("straight pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("straight pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("straight pass");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 847 MovieClip [fu] Frame 8
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("receive ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("receive ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("receive ball");
}
_root.ballpos = this._name;
Symbol 847 MovieClip [fu] Frame 9
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dodge guard");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("dodge guard");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge guard");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge guard");
}
Symbol 847 MovieClip [fu] Frame 10
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("exaust");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("exaust");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("exaust");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("exaust");
}
Symbol 847 MovieClip [fu] Frame 11
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball control");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("ball control");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("ball control");
}
Symbol 847 MovieClip [fu] Frame 12
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand demand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand demand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand demand");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand demand");
}
Symbol 847 MovieClip [fu] Frame 13
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball walk");
}
Symbol 847 MovieClip [fu] Frame 14
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("run ball");
}
Symbol 847 MovieClip [fu] Frame 15
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot long");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot long");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot long");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 847 MovieClip [fu] Frame 16
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("pick ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("pick ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("pick ball");
}
_root.ballpos = this._name;
Symbol 847 MovieClip [fu] Frame 17
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand steal");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand steal");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand steal");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand steal");
}
Symbol 847 MovieClip [fu] Frame 18
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand steal 2");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand steal 2");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand steal 2");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand steal 2");
}
Symbol 847 MovieClip [fu] Frame 19
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dodge stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("dodge stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge stand");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge stand");
}
Symbol 847 MovieClip [fu] Frame 20
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball dodge stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball dodge stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 847 MovieClip [fu] Frame 21
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball up stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball up stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 847 MovieClip [fu] Frame 22
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball control dodge");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball control dodge");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 847 MovieClip [fu] Frame 23
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot short");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("shot short");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot short");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot short");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 847 MovieClip [fu] Frame 24
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("long pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("long pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("long pass");
}
_root.paser = this;
_root.passer = playername;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 847 MovieClip [fu] Frame 25
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("depressed");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("depressed");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("depressed");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("depressed");
}
Symbol 847 MovieClip [fu] Frame 26
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("3step");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("3step");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("3step");
}
Symbol 847 MovieClip [fu] Frame 27
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("3stepshot");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("3stepshot");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("3stepshot");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 847 MovieClip [fu] Frame 28
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("be hitted");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("be hitted");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("be hitted");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("be hitted");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 847 MovieClip [fu] Frame 29
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("high receive ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("high receive ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("high receive ball");
}
_root.ballpos = this._name;
Symbol 847 MovieClip [fu] Frame 30
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball hitted");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("ball hitted");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("ball hitted");
}
Symbol 847 MovieClip [fu] Frame 31
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("celebration");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("celebration");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("celebration");
}
Symbol 847 MovieClip [fu] Frame 36
_root.loser = this;
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("exaust");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("exaust");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("exaust");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("exaust");
}
Symbol 847 MovieClip [fu] Frame 37
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("run pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("run pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("run pass");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 847 MovieClip [fu] Frame 38
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dunk");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dunk");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dunk");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
a = random(3);
if (a == 1) {
gotoAndStop ("dunk2");
}
if (a == 2) {
gotoAndStop ("dunk3");
}
Symbol 847 MovieClip [fu] Frame 41
_root.paser = this;
_root.passer = playername;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 847 MovieClip [fu] Frame 42
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot long far");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot long far");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot long far");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 848 MovieClip [zss] Frame 1
if (loadonce == true) {
zss = "yes";
this._y = 580;
playername = "zss";
fullname = "zhang shaoshuai";
walkspeed = 5;
runspeed = 12;
jumpa = 28;
runexa = 6;
demandexa = 5;
jumpexa = 5;
guardexa = 3;
actexa = 3;
charascale = 95;
loadonce = false;
}
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand nothing");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand nothing");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand nothing");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand nothing");
}
stop();
Symbol 848 MovieClip [zss] Frame 5
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("jump");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("jump");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("jump");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("jump");
}
Symbol 848 MovieClip [zss] Frame 6
if (this._name == "controlplayer") {
_root.ballpos = "controlplayer";
_root.controller.gotoAndStop("stand ball");
}
if (this._name == "com1") {
_root.ballpos = "com1";
_root.com1AI.gotoAndStop("stand ball");
}
if (this._name == "com2") {
_root.ballpos = "com2";
_root.com2AI.gotoAndStop("stand ball");
}
if (this._name == "waitcp") {
_root.ballpos = "controlplayer";
_root.controller.gotoAndStop("stand ball");
}
if (this._name == "waitc1") {
_root.ballpos = "com1";
_root.com1AI.gotoAndStop("stand ball");
}
Symbol 848 MovieClip [zss] Frame 7
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("straight pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("straight pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("straight pass");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 848 MovieClip [zss] Frame 8
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("receive ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("receive ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("receive ball");
}
_root.ballpos = this._name;
Symbol 848 MovieClip [zss] Frame 9
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dodge guard");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("dodge guard");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge guard");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge guard");
}
Symbol 848 MovieClip [zss] Frame 10
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("exaust");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("exaust");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("exaust");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("exaust");
}
Symbol 848 MovieClip [zss] Frame 11
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball control");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("ball control");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("ball control");
}
Symbol 848 MovieClip [zss] Frame 12
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand demand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand demand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand demand");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand demand");
}
Symbol 848 MovieClip [zss] Frame 13
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball walk");
}
Symbol 848 MovieClip [zss] Frame 14
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("run ball");
}
Symbol 848 MovieClip [zss] Frame 15
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot long");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot long");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot long");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 848 MovieClip [zss] Frame 16
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("pick ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("pick ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("pick ball");
}
_root.ballpos = this._name;
Symbol 848 MovieClip [zss] Frame 17
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand steal");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand steal");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand steal");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand steal");
}
Symbol 848 MovieClip [zss] Frame 18
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand steal 2");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand steal 2");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand steal 2");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand steal 2");
}
Symbol 848 MovieClip [zss] Frame 19
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dodge stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("dodge stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge stand");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge stand");
}
Symbol 848 MovieClip [zss] Frame 20
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball dodge stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball dodge stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 848 MovieClip [zss] Frame 21
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball up stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball up stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 848 MovieClip [zss] Frame 22
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball control dodge");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball control dodge");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 848 MovieClip [zss] Frame 23
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot short");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("shot short");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot short");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot short");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 848 MovieClip [zss] Frame 24
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("long pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("long pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("long pass");
}
_root.paser = this;
_root.passer = playername;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 848 MovieClip [zss] Frame 25
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("depressed");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("depressed");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("depressed");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("depressed");
}
Symbol 848 MovieClip [zss] Frame 26
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("3step");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("3step");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("3step");
}
Symbol 848 MovieClip [zss] Frame 27
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("3stepshot");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("3stepshot");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("3stepshot");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 848 MovieClip [zss] Frame 28
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("be hitted");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("be hitted");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("be hitted");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("be hitted");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 848 MovieClip [zss] Frame 29
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("high receive ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("high receive ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("high receive ball");
}
_root.ballpos = this._name;
Symbol 848 MovieClip [zss] Frame 30
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball hitted");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("ball hitted");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("ball hitted");
}
Symbol 848 MovieClip [zss] Frame 31
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("celebration");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("celebration");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("celebration");
}
Symbol 848 MovieClip [zss] Frame 36
_root.loser = this;
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("exaust");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("exaust");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("exaust");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("exaust");
}
Symbol 848 MovieClip [zss] Frame 37
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("run pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("run pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("run pass");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 848 MovieClip [zss] Frame 38
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dunk");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dunk");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dunk");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
a = random(3);
if (a == 1) {
gotoAndStop ("dunk2");
}
if (a == 2) {
gotoAndStop ("dunk3");
}
Symbol 848 MovieClip [zss] Frame 41
_root.paser = this;
_root.passer = playername;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 848 MovieClip [zss] Frame 42
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot long far");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot long far");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot long far");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 849 MovieClip [zxz] Frame 1
if (loadonce == true) {
zxz = "yes";
this._y = 580;
playername = "zxz";
fullname = "zhang xiuzheng";
walkspeed = 8;
runspeed = 15;
jumpa = 30;
runexa = 4;
demandexa = 3;
jumpexa = 3;
guardexa = 2;
actexa = 2;
charascale = 100;
loadonce = false;
}
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand nothing");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand nothing");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand nothing");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand nothing");
}
stop();
Symbol 849 MovieClip [zxz] Frame 5
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("jump");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("jump");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("jump");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("jump");
}
Symbol 849 MovieClip [zxz] Frame 6
if (this._name == "controlplayer") {
_root.ballpos = "controlplayer";
_root.controller.gotoAndStop("stand ball");
}
if (this._name == "com1") {
_root.ballpos = "com1";
_root.com1AI.gotoAndStop("stand ball");
}
if (this._name == "com2") {
_root.ballpos = "com2";
_root.com2AI.gotoAndStop("stand ball");
}
if (this._name == "waitcp") {
_root.ballpos = "controlplayer";
_root.controller.gotoAndStop("stand ball");
}
if (this._name == "waitc1") {
_root.ballpos = "com1";
_root.com1AI.gotoAndStop("stand ball");
}
Symbol 849 MovieClip [zxz] Frame 7
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("straight pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("straight pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("straight pass");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 849 MovieClip [zxz] Frame 8
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("receive ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("receive ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("receive ball");
}
_root.ballpos = this._name;
Symbol 849 MovieClip [zxz] Frame 9
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dodge guard");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("dodge guard");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge guard");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge guard");
}
Symbol 849 MovieClip [zxz] Frame 10
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("exaust");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("exaust");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("exaust");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("exaust");
}
Symbol 849 MovieClip [zxz] Frame 11
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball control");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("ball control");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("ball control");
}
Symbol 849 MovieClip [zxz] Frame 12
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand demand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand demand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand demand");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand demand");
}
Symbol 849 MovieClip [zxz] Frame 13
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball walk");
}
Symbol 849 MovieClip [zxz] Frame 14
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("run ball");
}
Symbol 849 MovieClip [zxz] Frame 15
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot long");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot long");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot long");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 849 MovieClip [zxz] Frame 16
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("pick ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("pick ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("pick ball");
}
_root.ballpos = this._name;
Symbol 849 MovieClip [zxz] Frame 17
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand steal");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand steal");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand steal");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand steal");
}
Symbol 849 MovieClip [zxz] Frame 18
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand steal 2");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand steal 2");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand steal 2");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand steal 2");
}
Symbol 849 MovieClip [zxz] Frame 19
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dodge stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("dodge stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge stand");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge stand");
}
Symbol 849 MovieClip [zxz] Frame 20
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball dodge stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball dodge stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 849 MovieClip [zxz] Frame 21
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball up stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball up stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 849 MovieClip [zxz] Frame 22
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball control dodge");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball control dodge");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 849 MovieClip [zxz] Frame 23
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot short");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("shot short");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot short");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot short");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 849 MovieClip [zxz] Frame 24
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("long pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("long pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("long pass");
}
_root.paser = this;
_root.passer = playername;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 849 MovieClip [zxz] Frame 25
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("depressed");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("depressed");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("depressed");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("depressed");
}
Symbol 849 MovieClip [zxz] Frame 26
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("3step");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("3step");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("3step");
}
Symbol 849 MovieClip [zxz] Frame 27
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("3stepshot");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("3stepshot");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("3stepshot");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 849 MovieClip [zxz] Frame 28
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("be hitted");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("be hitted");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("be hitted");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("be hitted");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 849 MovieClip [zxz] Frame 29
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("high receive ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("high receive ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("high receive ball");
}
_root.ballpos = this._name;
Symbol 849 MovieClip [zxz] Frame 30
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball hitted");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("ball hitted");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("ball hitted");
}
Symbol 849 MovieClip [zxz] Frame 31
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("celebration");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("celebration");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("celebration");
}
Symbol 849 MovieClip [zxz] Frame 36
_root.loser = this;
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("exaust");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("exaust");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("exaust");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("exaust");
}
Symbol 849 MovieClip [zxz] Frame 37
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("run pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("run pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("run pass");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 849 MovieClip [zxz] Frame 38
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dunk");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dunk");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dunk");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
a = random(3);
if (a == 1) {
gotoAndStop ("dunk2");
}
if (a == 2) {
gotoAndStop ("dunk3");
}
Symbol 849 MovieClip [zxz] Frame 41
_root.paser = this;
_root.passer = playername;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 849 MovieClip [zxz] Frame 42
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot long far");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot long far");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot long far");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 850 MovieClip [sx] Frame 1
if (loadonce == true) {
sx = "yes";
this._y = 580;
playername = "sx";
fullname = "song xin";
walkspeed = 5;
runspeed = 14;
jumpa = 26;
runexa = 6;
demandexa = 5;
jumpexa = 5;
guardexa = 2;
actexa = 3;
charascale = 95;
loadonce = false;
}
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand nothing");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand nothing");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand nothing");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand nothing");
}
stop();
Symbol 850 MovieClip [sx] Frame 5
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("jump");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("jump");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("jump");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("jump");
}
Symbol 850 MovieClip [sx] Frame 6
if (this._name == "controlplayer") {
_root.ballpos = "controlplayer";
_root.controller.gotoAndStop("stand ball");
}
if (this._name == "com1") {
_root.ballpos = "com1";
_root.com1AI.gotoAndStop("stand ball");
}
if (this._name == "com2") {
_root.ballpos = "com2";
_root.com2AI.gotoAndStop("stand ball");
}
if (this._name == "waitcp") {
_root.ballpos = "controlplayer";
_root.controller.gotoAndStop("stand ball");
}
if (this._name == "waitc1") {
_root.ballpos = "com1";
_root.com1AI.gotoAndStop("stand ball");
}
Symbol 850 MovieClip [sx] Frame 7
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("straight pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("straight pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("straight pass");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 850 MovieClip [sx] Frame 8
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("receive ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("receive ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("receive ball");
}
_root.ballpos = this._name;
Symbol 850 MovieClip [sx] Frame 9
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dodge guard");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("dodge guard");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge guard");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge guard");
}
Symbol 850 MovieClip [sx] Frame 10
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("exaust");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("exaust");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("exaust");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("exaust");
}
Symbol 850 MovieClip [sx] Frame 11
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball control");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("ball control");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("ball control");
}
Symbol 850 MovieClip [sx] Frame 12
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand demand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand demand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand demand");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand demand");
}
Symbol 850 MovieClip [sx] Frame 13
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball walk");
}
Symbol 850 MovieClip [sx] Frame 14
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("run ball");
}
Symbol 850 MovieClip [sx] Frame 15
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot long");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot long");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot long");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 850 MovieClip [sx] Frame 16
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("pick ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("pick ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("pick ball");
}
_root.ballpos = this._name;
Symbol 850 MovieClip [sx] Frame 17
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand steal");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand steal");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand steal");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand steal");
}
Symbol 850 MovieClip [sx] Frame 18
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand steal 2");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand steal 2");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand steal 2");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand steal 2");
}
Symbol 850 MovieClip [sx] Frame 19
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dodge stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("dodge stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge stand");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge stand");
}
Symbol 850 MovieClip [sx] Frame 20
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball dodge stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball dodge stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 850 MovieClip [sx] Frame 21
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball up stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball up stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 850 MovieClip [sx] Frame 22
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball control dodge");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball control dodge");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 850 MovieClip [sx] Frame 23
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot short");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("shot short");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot short");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot short");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 850 MovieClip [sx] Frame 24
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("long pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("long pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("long pass");
}
_root.paser = this;
_root.passer = playername;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 850 MovieClip [sx] Frame 25
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("depressed");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("depressed");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("depressed");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("depressed");
}
Symbol 850 MovieClip [sx] Frame 26
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("3step");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("3step");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("3step");
}
Symbol 850 MovieClip [sx] Frame 27
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("3stepshot");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("3stepshot");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("3stepshot");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 850 MovieClip [sx] Frame 28
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("be hitted");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("be hitted");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("be hitted");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("be hitted");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 850 MovieClip [sx] Frame 29
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("high receive ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("high receive ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("high receive ball");
}
_root.ballpos = this._name;
Symbol 850 MovieClip [sx] Frame 30
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball hitted");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("ball hitted");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("ball hitted");
}
Symbol 850 MovieClip [sx] Frame 31
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("celebration");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("celebration");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("celebration");
}
Symbol 850 MovieClip [sx] Frame 36
_root.loser = this;
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("exaust");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("exaust");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("exaust");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("exaust");
}
Symbol 850 MovieClip [sx] Frame 37
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("run pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("run pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("run pass");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 850 MovieClip [sx] Frame 38
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dunk");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dunk");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dunk");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
a = random(3);
if (a == 1) {
gotoAndStop ("dunk2");
}
if (a == 2) {
gotoAndStop ("dunk3");
}
Symbol 850 MovieClip [sx] Frame 41
_root.paser = this;
_root.passer = playername;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 850 MovieClip [sx] Frame 42
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot long far");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot long far");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot long far");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 851 MovieClip [yb] Frame 1
if (loadonce == true) {
yb = "yes";
this._y = 580;
playername = "yb";
fullname = "yin bing";
walkspeed = 5;
runspeed = 12;
jumpa = 28;
runexa = 5;
demandexa = 4;
jumpexa = 4;
guardexa = 2;
actexa = 3;
charascale = 100;
loadonce = false;
}
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand nothing");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand nothing");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand nothing");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand nothing");
}
stop();
Symbol 851 MovieClip [yb] Frame 5
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("jump");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("jump");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("jump");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("jump");
}
Symbol 851 MovieClip [yb] Frame 6
if (this._name == "controlplayer") {
_root.ballpos = "controlplayer";
_root.controller.gotoAndStop("stand ball");
}
if (this._name == "com1") {
_root.ballpos = "com1";
_root.com1AI.gotoAndStop("stand ball");
}
if (this._name == "com2") {
_root.ballpos = "com2";
_root.com2AI.gotoAndStop("stand ball");
}
if (this._name == "waitcp") {
_root.ballpos = "controlplayer";
_root.controller.gotoAndStop("stand ball");
}
if (this._name == "waitc1") {
_root.ballpos = "com1";
_root.com1AI.gotoAndStop("stand ball");
}
Symbol 851 MovieClip [yb] Frame 7
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("straight pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("straight pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("straight pass");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 851 MovieClip [yb] Frame 8
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("receive ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("receive ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("receive ball");
}
_root.ballpos = this._name;
Symbol 851 MovieClip [yb] Frame 9
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dodge guard");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("dodge guard");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge guard");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge guard");
}
Symbol 851 MovieClip [yb] Frame 10
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("exaust");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("exaust");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("exaust");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("exaust");
}
Symbol 851 MovieClip [yb] Frame 11
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball control");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("ball control");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("ball control");
}
Symbol 851 MovieClip [yb] Frame 12
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand demand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand demand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand demand");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand demand");
}
Symbol 851 MovieClip [yb] Frame 13
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball walk");
}
Symbol 851 MovieClip [yb] Frame 14
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("run ball");
}
Symbol 851 MovieClip [yb] Frame 15
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot long");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot long");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot long");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 851 MovieClip [yb] Frame 16
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("pick ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("pick ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("pick ball");
}
_root.ballpos = this._name;
Symbol 851 MovieClip [yb] Frame 17
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand steal");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand steal");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand steal");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand steal");
}
Symbol 851 MovieClip [yb] Frame 18
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand steal 2");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand steal 2");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand steal 2");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand steal 2");
}
Symbol 851 MovieClip [yb] Frame 19
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dodge stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("dodge stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge stand");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge stand");
}
Symbol 851 MovieClip [yb] Frame 20
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball dodge stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball dodge stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 851 MovieClip [yb] Frame 21
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball up stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball up stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 851 MovieClip [yb] Frame 22
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball control dodge");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball control dodge");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 851 MovieClip [yb] Frame 23
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot short");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("shot short");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot short");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot short");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 851 MovieClip [yb] Frame 24
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("long pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("long pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("long pass");
}
_root.paser = this;
_root.passer = playername;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 851 MovieClip [yb] Frame 25
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("depressed");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("depressed");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("depressed");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("depressed");
}
Symbol 851 MovieClip [yb] Frame 26
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("3step");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("3step");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("3step");
}
Symbol 851 MovieClip [yb] Frame 27
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("3stepshot");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("3stepshot");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("3stepshot");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 851 MovieClip [yb] Frame 28
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("be hitted");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("be hitted");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("be hitted");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("be hitted");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 851 MovieClip [yb] Frame 29
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("high receive ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("high receive ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("high receive ball");
}
_root.ballpos = this._name;
Symbol 851 MovieClip [yb] Frame 30
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball hitted");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("ball hitted");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("ball hitted");
}
Symbol 851 MovieClip [yb] Frame 31
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("celebration");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("celebration");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("celebration");
}
Symbol 851 MovieClip [yb] Frame 36
_root.loser = this;
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("exaust");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("exaust");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("exaust");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("exaust");
}
Symbol 851 MovieClip [yb] Frame 37
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("run pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("run pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("run pass");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 851 MovieClip [yb] Frame 38
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dunk");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dunk");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dunk");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
a = random(3);
if (a == 1) {
gotoAndStop ("dunk2");
}
if (a == 2) {
gotoAndStop ("dunk3");
}
Symbol 851 MovieClip [yb] Frame 41
_root.paser = this;
_root.passer = playername;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 851 MovieClip [yb] Frame 42
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot long far");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot long far");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot long far");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 852 MovieClip [yzz] Frame 1
if (loadonce == true) {
yzz = "yes";
this._y = 580;
playername = "yzz";
fullname = "yan zhizhe";
walkspeed = 6;
runspeed = 11;
jumpa = 28;
runexa = 6;
demandexa = 5;
jumpexa = 4;
guardexa = 3;
actexa = 3;
charascale = 100;
loadonce = false;
}
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand nothing");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand nothing");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand nothing");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand nothing");
}
if (_root.ballpos == this._name) {
this.gotoAndStop("stand ball");
}
stop();
Symbol 852 MovieClip [yzz] Frame 5
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("jump");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("jump");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("jump");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("jump");
}
Symbol 852 MovieClip [yzz] Frame 6
if (this._name == "controlplayer") {
_root.ballpos = "controlplayer";
_root.controller.gotoAndStop("stand ball");
}
if (this._name == "com1") {
_root.ballpos = "com1";
_root.com1AI.gotoAndStop("stand ball");
}
if (this._name == "com2") {
_root.ballpos = "com2";
_root.com2AI.gotoAndStop("stand ball");
}
if (this._name == "waitcp") {
_root.ballpos = "controlplayer";
_root.controller.gotoAndStop("stand ball");
}
if (this._name == "waitc1") {
_root.ballpos = "com1";
_root.com1AI.gotoAndStop("stand ball");
}
Symbol 852 MovieClip [yzz] Frame 7
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("straight pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("straight pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("straight pass");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 852 MovieClip [yzz] Frame 8
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("receive ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("receive ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("receive ball");
}
_root.ballpos = this._name;
Symbol 852 MovieClip [yzz] Frame 9
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dodge guard");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("dodge guard");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge guard");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge guard");
}
Symbol 852 MovieClip [yzz] Frame 10
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("exaust");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("exaust");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("exaust");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("exaust");
}
Symbol 852 MovieClip [yzz] Frame 11
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball control");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("ball control");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("ball control");
}
Symbol 852 MovieClip [yzz] Frame 12
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand demand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand demand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand demand");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand demand");
}
Symbol 852 MovieClip [yzz] Frame 13
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball walk");
}
Symbol 852 MovieClip [yzz] Frame 14
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("run ball");
}
Symbol 852 MovieClip [yzz] Frame 15
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot long");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot long");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot long");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 852 MovieClip [yzz] Frame 16
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("pick ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("pick ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("pick ball");
}
_root.ballpos = this._name;
Symbol 852 MovieClip [yzz] Frame 17
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand steal");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand steal");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand steal");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand steal");
}
Symbol 852 MovieClip [yzz] Frame 18
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand steal 2");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand steal 2");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand steal 2");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand steal 2");
}
Symbol 852 MovieClip [yzz] Frame 19
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dodge stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("dodge stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge stand");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge stand");
}
Symbol 852 MovieClip [yzz] Frame 20
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball dodge stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball dodge stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 852 MovieClip [yzz] Frame 21
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball up stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball up stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 852 MovieClip [yzz] Frame 22
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball control dodge");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball control dodge");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 852 MovieClip [yzz] Frame 23
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot short");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("shot short");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot short");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot short");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 852 MovieClip [yzz] Frame 24
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("long pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("long pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("long pass");
}
_root.paser = this;
_root.passer = playername;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 852 MovieClip [yzz] Frame 25
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("depressed");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("depressed");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("depressed");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("depressed");
}
Symbol 852 MovieClip [yzz] Frame 26
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("3step");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("3step");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("3step");
}
Symbol 852 MovieClip [yzz] Frame 27
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("3stepshot");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("3stepshot");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("3stepshot");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 852 MovieClip [yzz] Frame 28
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("be hitted");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("be hitted");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("be hitted");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("be hitted");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 852 MovieClip [yzz] Frame 29
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("high receive ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("high receive ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("high receive ball");
}
_root.ballpos = this._name;
Symbol 852 MovieClip [yzz] Frame 30
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball hitted");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("ball hitted");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("ball hitted");
}
Symbol 852 MovieClip [yzz] Frame 31
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("celebration");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("celebration");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("celebration");
}
Symbol 852 MovieClip [yzz] Frame 36
_root.loser = this;
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("exaust");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("exaust");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("exaust");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("exaust");
}
Symbol 852 MovieClip [yzz] Frame 37
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("run pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("run pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("run pass");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 852 MovieClip [yzz] Frame 38
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dunk");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dunk");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dunk");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
a = random(3);
if (a == 1) {
gotoAndStop ("dunk2");
}
if (a == 2) {
gotoAndStop ("dunk3");
}
Symbol 852 MovieClip [yzz] Frame 41
_root.paser = this;
_root.passer = playername;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 852 MovieClip [yzz] Frame 42
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot long far");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot long far");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot long far");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 853 MovieClip [tjh] Frame 1
if (loadonce == true) {
tjh = "yes";
this._y = 580;
playername = "tjh";
fullname = "tan jinghai";
walkspeed = 7;
runspeed = 14;
jumpa = 28;
runexa = 4;
demandexa = 3;
jumpexa = 5;
guardexa = 3;
actexa = 3;
charascale = 90;
loadonce = false;
}
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand nothing");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand nothing");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand nothing");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand nothing");
}
stop();
Symbol 853 MovieClip [tjh] Frame 5
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("jump");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("jump");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("jump");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("jump");
}
Symbol 853 MovieClip [tjh] Frame 6
if (this._name == "controlplayer") {
_root.ballpos = "controlplayer";
_root.controller.gotoAndStop("stand ball");
}
if (this._name == "com1") {
_root.ballpos = "com1";
_root.com1AI.gotoAndStop("stand ball");
}
if (this._name == "com2") {
_root.ballpos = "com2";
_root.com2AI.gotoAndStop("stand ball");
}
if (this._name == "waitcp") {
_root.ballpos = "controlplayer";
_root.controller.gotoAndStop("stand ball");
}
if (this._name == "waitc1") {
_root.ballpos = "com1";
_root.com1AI.gotoAndStop("stand ball");
}
Symbol 853 MovieClip [tjh] Frame 7
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("straight pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("straight pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("straight pass");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 853 MovieClip [tjh] Frame 8
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("receive ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("receive ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("receive ball");
}
_root.ballpos = this._name;
Symbol 853 MovieClip [tjh] Frame 9
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dodge guard");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("dodge guard");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge guard");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge guard");
}
Symbol 853 MovieClip [tjh] Frame 10
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("exaust");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("exaust");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("exaust");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("exaust");
}
Symbol 853 MovieClip [tjh] Frame 11
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball control");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("ball control");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("ball control");
}
Symbol 853 MovieClip [tjh] Frame 12
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand demand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand demand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand demand");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand demand");
}
Symbol 853 MovieClip [tjh] Frame 13
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball walk");
}
Symbol 853 MovieClip [tjh] Frame 14
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("run ball");
}
Symbol 853 MovieClip [tjh] Frame 15
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot long");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot long");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot long");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 853 MovieClip [tjh] Frame 16
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("pick ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("pick ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("pick ball");
}
_root.ballpos = this._name;
Symbol 853 MovieClip [tjh] Frame 17
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand steal");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand steal");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand steal");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand steal");
}
Symbol 853 MovieClip [tjh] Frame 18
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand steal 2");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand steal 2");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand steal 2");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand steal 2");
}
Symbol 853 MovieClip [tjh] Frame 19
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dodge stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("dodge stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge stand");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge stand");
}
Symbol 853 MovieClip [tjh] Frame 20
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball dodge stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball dodge stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 853 MovieClip [tjh] Frame 21
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball up stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball up stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 853 MovieClip [tjh] Frame 22
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball control dodge");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball control dodge");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 853 MovieClip [tjh] Frame 23
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot short");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("shot short");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot short");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot short");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 853 MovieClip [tjh] Frame 24
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("long pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("long pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("long pass");
}
_root.paser = this;
_root.passer = playername;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 853 MovieClip [tjh] Frame 25
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("depressed");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("depressed");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("depressed");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("depressed");
}
Symbol 853 MovieClip [tjh] Frame 26
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("3step");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("3step");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("3step");
}
Symbol 853 MovieClip [tjh] Frame 27
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("3stepshot");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("3stepshot");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("3stepshot");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 853 MovieClip [tjh] Frame 28
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("be hitted");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("be hitted");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("be hitted");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("be hitted");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 853 MovieClip [tjh] Frame 29
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("high receive ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("high receive ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("high receive ball");
}
_root.ballpos = this._name;
Symbol 853 MovieClip [tjh] Frame 30
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball hitted");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("ball hitted");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("ball hitted");
}
Symbol 853 MovieClip [tjh] Frame 31
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("celebration");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("celebration");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("celebration");
}
Symbol 853 MovieClip [tjh] Frame 36
_root.loser = this;
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("exaust");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("exaust");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("exaust");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("exaust");
}
Symbol 853 MovieClip [tjh] Frame 37
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("run pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("run pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("run pass");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 853 MovieClip [tjh] Frame 38
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dunk");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dunk");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dunk");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
a = random(3);
if (a == 1) {
gotoAndStop ("dunk2");
}
if (a == 2) {
gotoAndStop ("dunk3");
}
Symbol 853 MovieClip [tjh] Frame 41
_root.paser = this;
_root.passer = playername;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 853 MovieClip [tjh] Frame 42
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot long far");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot long far");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot long far");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 854 MovieClip [zyx] Frame 1
if (loadonce == true) {
zyx = "yes";
this._y = 580;
playername = "zyx";
fullname = "zhou yixiong";
walkspeed = 6;
runspeed = 15;
jumpa = 33;
runexa = 5;
demandexa = 4;
jumpexa = 4;
guardexa = 2;
actexa = 4;
charascale = 105;
loadonce = false;
}
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand nothing");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand nothing");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand nothing");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand nothing");
}
stop();
Symbol 854 MovieClip [zyx] Frame 5
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("jump");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("jump");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("jump");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("jump");
}
Symbol 854 MovieClip [zyx] Frame 6
if (this._name == "controlplayer") {
_root.ballpos = "controlplayer";
_root.controller.gotoAndStop("stand ball");
}
if (this._name == "com1") {
_root.ballpos = "com1";
_root.com1AI.gotoAndStop("stand ball");
}
if (this._name == "com2") {
_root.ballpos = "com2";
_root.com2AI.gotoAndStop("stand ball");
}
if (this._name == "waitcp") {
_root.ballpos = "controlplayer";
_root.controller.gotoAndStop("stand ball");
}
if (this._name == "waitc1") {
_root.ballpos = "com1";
_root.com1AI.gotoAndStop("stand ball");
}
Symbol 854 MovieClip [zyx] Frame 7
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("straight pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("straight pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("straight pass");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 854 MovieClip [zyx] Frame 8
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("receive ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("receive ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("receive ball");
}
_root.ballpos = this._name;
Symbol 854 MovieClip [zyx] Frame 9
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dodge guard");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("dodge guard");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge guard");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge guard");
}
Symbol 854 MovieClip [zyx] Frame 10
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("exaust");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("exaust");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("exaust");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("exaust");
}
Symbol 854 MovieClip [zyx] Frame 11
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball control");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("ball control");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("ball control");
}
Symbol 854 MovieClip [zyx] Frame 12
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand demand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand demand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand demand");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand demand");
}
Symbol 854 MovieClip [zyx] Frame 13
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball walk");
}
Symbol 854 MovieClip [zyx] Frame 14
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("run ball");
}
Symbol 854 MovieClip [zyx] Frame 15
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot long");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot long");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot long");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 854 MovieClip [zyx] Frame 16
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("pick ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("pick ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("pick ball");
}
_root.ballpos = this._name;
Symbol 854 MovieClip [zyx] Frame 17
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand steal");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand steal");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand steal");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand steal");
}
Symbol 854 MovieClip [zyx] Frame 18
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand steal 2");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand steal 2");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand steal 2");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand steal 2");
}
Symbol 854 MovieClip [zyx] Frame 19
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dodge stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("dodge stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge stand");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge stand");
}
Symbol 854 MovieClip [zyx] Frame 20
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball dodge stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball dodge stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 854 MovieClip [zyx] Frame 21
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball up stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball up stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 854 MovieClip [zyx] Frame 22
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball control dodge");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball control dodge");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 854 MovieClip [zyx] Frame 23
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot short");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("shot short");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot short");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot short");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 854 MovieClip [zyx] Frame 24
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("long pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("long pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("long pass");
}
_root.paser = this;
_root.passer = playername;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 854 MovieClip [zyx] Frame 25
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("depressed");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("depressed");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("depressed");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("depressed");
}
Symbol 854 MovieClip [zyx] Frame 26
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("3step");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("3step");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("3step");
}
Symbol 854 MovieClip [zyx] Frame 27
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("3stepshot");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("3stepshot");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("3stepshot");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 854 MovieClip [zyx] Frame 28
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("be hitted");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("be hitted");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("be hitted");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("be hitted");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 854 MovieClip [zyx] Frame 29
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("high receive ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("high receive ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("high receive ball");
}
_root.ballpos = this._name;
Symbol 854 MovieClip [zyx] Frame 30
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball hitted");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("ball hitted");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("ball hitted");
}
Symbol 854 MovieClip [zyx] Frame 31
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("celebration");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("celebration");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("celebration");
}
Symbol 854 MovieClip [zyx] Frame 36
_root.loser = this;
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("exaust");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("exaust");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("exaust");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("exaust");
}
Symbol 854 MovieClip [zyx] Frame 37
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("run pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("run pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("run pass");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 854 MovieClip [zyx] Frame 38
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dunk");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dunk");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dunk");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
a = random(3);
if (a == 1) {
gotoAndStop ("dunk2");
}
if (a == 2) {
gotoAndStop ("dunk3");
}
Symbol 854 MovieClip [zyx] Frame 41
_root.paser = this;
_root.passer = playername;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 854 MovieClip [zyx] Frame 42
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot long far");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot long far");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot long far");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 855 MovieClip [wzc] Frame 1
if (loadonce == true) {
wzc = "yes";
this._y = 580;
playername = "wzc";
fullname = "wang zhicai";
walkspeed = 6;
runspeed = 11;
jumpa = 30;
runexa = 6;
demandexa = 5;
jumpexa = 4;
guardexa = 2;
actexa = 3;
charascale = 105;
loadonce = false;
}
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand nothing");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand nothing");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand nothing");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand nothing");
}
stop();
Symbol 855 MovieClip [wzc] Frame 5
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("jump");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("jump");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("jump");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("jump");
}
Symbol 855 MovieClip [wzc] Frame 6
if (this._name == "controlplayer") {
_root.ballpos = "controlplayer";
_root.controller.gotoAndStop("stand ball");
}
if (this._name == "com1") {
_root.ballpos = "com1";
_root.com1AI.gotoAndStop("stand ball");
}
if (this._name == "com2") {
_root.ballpos = "com2";
_root.com2AI.gotoAndStop("stand ball");
}
this._y = 580;
if (this._name == "waitcp") {
_root.ballpos = "controlplayer";
_root.controller.gotoAndStop("stand ball");
}
if (this._name == "waitc1") {
_root.ballpos = "com1";
_root.com1AI.gotoAndStop("stand ball");
}
Symbol 855 MovieClip [wzc] Frame 7
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("straight pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("straight pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("straight pass");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 855 MovieClip [wzc] Frame 8
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("receive ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("receive ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("receive ball");
}
_root.ballpos = this._name;
Symbol 855 MovieClip [wzc] Frame 9
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dodge guard");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("dodge guard");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge guard");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge guard");
}
Symbol 855 MovieClip [wzc] Frame 10
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("exaust");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("exaust");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("exaust");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("exaust");
}
Symbol 855 MovieClip [wzc] Frame 11
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball control");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("ball control");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("ball control");
}
Symbol 855 MovieClip [wzc] Frame 12
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand demand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand demand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand demand");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand demand");
}
Symbol 855 MovieClip [wzc] Frame 13
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball walk");
}
Symbol 855 MovieClip [wzc] Frame 14
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("run ball");
}
Symbol 855 MovieClip [wzc] Frame 15
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot long");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 855 MovieClip [wzc] Frame 16
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("pick ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("pick ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("pick ball");
}
_root.ballpos = this._name;
Symbol 855 MovieClip [wzc] Frame 17
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand steal");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand steal");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand steal");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand steal");
}
Symbol 855 MovieClip [wzc] Frame 18
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("stand steal 2");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("stand steal 2");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("stand steal 2");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("stand steal 2");
}
Symbol 855 MovieClip [wzc] Frame 19
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dodge stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("dodge stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge stand");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge stand");
}
Symbol 855 MovieClip [wzc] Frame 20
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball dodge stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball dodge stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 855 MovieClip [wzc] Frame 21
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball up stand");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball up stand");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 855 MovieClip [wzc] Frame 22
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball control dodge");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("ball control dodge");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dodge");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dodge");
}
Symbol 855 MovieClip [wzc] Frame 23
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot short");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 855 MovieClip [wzc] Frame 24
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("long pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("long pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("long pass");
}
_root.paser = this;
_root.passer = playername;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 855 MovieClip [wzc] Frame 25
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("depressed");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("depressed");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("depressed");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("depressed");
}
Symbol 855 MovieClip [wzc] Frame 26
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("3step");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("3step");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("3step");
}
Symbol 855 MovieClip [wzc] Frame 27
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("3stepshot");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("3stepshot");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("3stepshot");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 855 MovieClip [wzc] Frame 28
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("be hitted");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("be hitted");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("be hitted");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("be hitted");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 855 MovieClip [wzc] Frame 29
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("high receive ball");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("high receive ball");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("high receive ball");
}
_root.ballpos = this._name;
Symbol 855 MovieClip [wzc] Frame 30
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("ball hitted");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("ball hitted");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("ball hitted");
}
Symbol 855 MovieClip [wzc] Frame 36
_root.loser = this;
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("exaust");
}
if (this._name == "player2") {
_root.partnerAI.gotoAndStop("exaust");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("exaust");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("exaust");
}
Symbol 855 MovieClip [wzc] Frame 37
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("run pass");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("run pass");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("run pass");
}
_root.passer = playername;
_root.paser = this;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 855 MovieClip [wzc] Frame 38
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("dunk");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("dunk");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("dunk");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
a = random(3);
if (a == 1) {
gotoAndStop ("dunk2");
}
if (a == 2) {
gotoAndStop ("dunk3");
}
Symbol 855 MovieClip [wzc] Frame 41
_root.paser = this;
_root.passer = playername;
if (this._xscale == 100) {
_root.passerdirection = 100;
}
if (this._xscale == -100) {
_root.passerdirection = -100;
}
Symbol 855 MovieClip [wzc] Frame 42
if (this._name == "controlplayer") {
_root.controller.gotoAndStop("shot long far");
}
if (this._name == "com1") {
_root.com1AI.gotoAndStop("shot");
}
if (this._name == "com2") {
_root.com2AI.gotoAndStop("shot");
}
_root.shoter = this;
_root.shotername = playername;
if (this._xscale == 100) {
_root.shoterdirection = 100;
}
if (this._xscale == -100) {
_root.shoterdirection = -100;
}
Symbol 858 MovieClip [camara] Frame 1
this._visible = false;
MovieClip.prototype.hitAndShake = function (rangeX, rangeY, colorRGBValue, funcCall) {
if (this.basex == null) {
this.basex = this._x;
}
if (this.basey == null) {
this.basey = this._y;
}
if (rangeX == null) {
this.rangeX = 20;
} else {
this.rangeX = int(rangeX);
}
if (rangeY == null) {
this.rangeY = 20;
} else {
this.rangeY = int(rangeY);
}
this._x = (this.basex - (this.rangeX / 2)) + (this.rangeX * Math.random());
this._y = (this.basey - this.rangeY) + ((2 * this.rangeY) * Math.random());
if (funcCall == null) {
this.funcCall = null;
} else {
this.funcCall = funcCall;
}
this.shakeTimeCount = 0;
if (this.oldOnEnterFrameFunc != undefined) {
return(undefined);
}
if (this.onEnterFrame != null) {
this.oldOnEnterFrameFunc = this.onEnterFrame;
} else {
this.oldOnEnterFrameFunc = function () {
};
}
this.onEnterFrame = function () {
this.shakeTimeCount = this.shakeTimeCount + 0.5;
this._x = this._x + (1.7 * (this.basex - this._x));
this._y = this._y + (1.7 * (this.basey - this._y));
this.oldOnEnterFrameFunc();
if (this.shakeTimeCount == 10) {
this.cancelHitAndShake();
this.funcCall();
}
};
};
MovieClip.prototype.cancelHitAndShake = function () {
if (this.oldOnEnterFrameFunc == undefined) {
return(undefined);
}
this._x = this.basex;
this._y = this.basey;
delete this.onEnterFrame;
this.onEnterFrame = this.oldOnEnterFrameFunc;
delete this.oldOnEnterFrameFunc;
};
cmryes = true;
Instance of Symbol 131 MovieClip [blackmask] "camara" in Symbol 858 MovieClip [camara] Frame 1
onClipEvent (load) {
camaraspeed = 20;
}
onClipEvent (enterFrame) {
if (_parent.cmryes == true) {
if ((_root.ballpos == "controlplayer") && (_root.bg.controlplayer._xscale == 100)) {
_root.bg._x = _root.bg._x + camaraspeed;
if (_root.bg.controlplayer.hitTest(800, 500)) {
_root.bg._x = _root.bg._x - camaraspeed;
}
}
if ((_root.ballpos == "controlplayer") && (_root.bg.controlplayer._xscale == -100)) {
_root.bg._x = _root.bg._x - camaraspeed;
if (_root.bg.controlplayer.hitTest(0, 500)) {
_root.bg._x = _root.bg._x + camaraspeed;
}
}
if (_root.bg.ball.dir == 100) {
_root.bg._x = _root.bg._x + _root.bg.ball.dx;
}
if (_root.bg.ball.dir == -100) {
_root.bg._x = _root.bg._x - _root.bg.ball.dx;
}
if (_root.bg.shotball.dir == 100) {
_root.bg._x = _root.bg._x + _root.bg.shotball.dx;
}
if (_root.bg.shotball.dir == -100) {
_root.bg._x = _root.bg._x - _root.bg.shotball.dx;
}
}
}
Symbol 860 MovieClip [partner AI] Frame 1
function speech(obj) {
if (_root.bg.player2.wzc == "yes") {
_root.wzcspeech = true;
}
if (_root.bg.player2.zyx == "yes") {
_root.zyxspeech = true;
}
if (_root.bg.player2.zss == "yes") {
_root.zssspeech = true;
}
if (_root.bg.player2.zxz == "yes") {
_root.zxzspeech = true;
}
if (_root.bg.player2.tjh == "yes") {
_root.tjhspeech = true;
}
if (_root.bg.player2.sx == "yes") {
_root.sxspeech = true;
}
if (_root.bg.player2.yb == "yes") {
_root.ybspeech = true;
}
if (_root.bg.player2.yzz == "yes") {
_root.yzzspeech = true;
}
}
this._visible = false;
stop();
onEnterFrame = function () {
if (_root.bg.player2.wzc == "yes") {
nameword = "wzc";
}
if (_root.bg.player2.sx == "yes") {
nameword = "sx";
}
if (_root.bg.player2.zxz == "yes") {
nameword = "zxz";
}
if (_root.bg.player2.yb == "yes") {
nameword = "yb";
}
if (_root.bg.player2.tjh == "yes") {
nameword = "tjh";
}
if (_root.bg.player2.zyx == "yes") {
nameword = "zyx";
}
if (_root.bg.player2.zss == "yes") {
nameword = "zss";
}
if (_root.bg.player2.yzz == "yes") {
nameword = "yzz";
}
if (((((_root.bg.player2.fu == "yes") || (_root.bg.player2.hf == "yes")) || (_root.bg.player2.ym == "yes")) || (_root.bg.player2.sl == "yes")) || (_root.bg.player2.wzy == "yes")) {
nameword = "none";
}
var _local2 = new Sound();
_local2.attachSound(nameword + "demand");
var _local4 = new Sound();
_local4.attachSound(nameword + "standdemand");
var _local3 = new Sound();
_local3.attachSound(nameword + "exaust");
var _local5 = new Sound();
_local5.attachSound(nameword + "complain");
voiceArray = [_local2, _local4, _local3, _local5];
};
Instance of Symbol 131 MovieClip [blackmask] in Symbol 860 MovieClip [partner AI] Frame 1
onClipEvent (load) {
_root.bg.player2.gotoAndStop("stand nothing");
a = random(2);
}
onClipEvent (enterFrame) {
if (_root.ballpos == "controlplayer") {
standdemanda = random(20);
if (((_root.bg.player2._currentframe != 2) && (_root.bg.player2._y == 580)) && (standdemanda == 10)) {
_parent.gotoAndStop("stand demand");
}
if (a == 0) {
if (Math.abs(_root.bg.player2._x - _root.bg.comtarget._x) < 500) {
_root.bg.player2.gotoAndStop("walk");
if (_root.bg.player2._x > _root.bg.comtarget._x) {
_root.bg.player2._xscale = 100;
_root.bg.player2._x = _root.bg.player2._x - _root.bg.player2.walkspeed;
}
if (_root.bg.player2._x <= _root.bg.comtarget._x) {
_root.bg.player2._xscale = -100;
_root.bg.player2._x = _root.bg.player2._x + _root.bg.player2.walkspeed;
}
}
if (Math.abs(_root.bg.player2._x - _root.bg.comtarget._x) >= 500) {
_root.bg.player2.gotoAndStop("run nothing");
if (_root.bg.player2._x > _root.bg.comtarget._x) {
_root.bg.player2._xscale = 100;
_root.bg.player2._x = _root.bg.player2._x - _root.bg.player2.runspeed;
}
if (_root.bg.player2._x <= _root.bg.comtarget._x) {
_root.bg.player2._xscale = -100;
_root.bg.player2._x = _root.bg.player2._x + _root.bg.player2.runspeed;
}
}
}
if (a == 1) {
_parent.gotoAndStop("run demand");
}
}
if ((_root.ballpos == null) && (_root.shoter == null)) {
if (_root.bg.player2.lifebar.life < 400) {
_root.bg.player2.gotoAndStop("walk");
if (_root.bg.player2._x > _root.bg.ball._x) {
_root.bg.player2._xscale = 100;
_root.bg.player2._x = _root.bg.player2._x - _root.bg.player2.walkspeed;
}
if (_root.bg.player2._x <= _root.bg.ball._x) {
_root.bg.player2._xscale = -100;
_root.bg.player2._x = _root.bg.player2._x + _root.bg.player2.walkspeed;
}
}
if (_root.bg.player2.lifebar.life >= 400) {
_root.bg.player2.gotoAndStop("run nothing");
if (_root.bg.player2._x > _root.bg.ball._x) {
_root.bg.player2._xscale = 100;
_root.bg.player2._x = _root.bg.player2._x - _root.bg.player2.runspeed;
}
if (_root.bg.player2._x <= _root.bg.ball._x) {
_root.bg.player2._xscale = -100;
_root.bg.player2._x = _root.bg.player2._x + _root.bg.player2.runspeed;
}
}
}
if (_root.ballpos == "com1") {
if (_root.bg.player2._x <= _root.bg.com1._x) {
_root.bg.player2._xscale = -100;
}
if (_root.bg.player2._x > _root.bg.com1._x) {
_root.bg.player2._xscale = 100;
}
if (_root.bg.player2.hitTest(_root.bg.com1)) {
_parent.gotoAndStop("stand steal");
}
if (_root.myfield == "right") {
if (_root.bg.player2._x < (_root.bg.com1._x - 10)) {
_root.bg.player2.gotoAndStop("run nothing");
_root.bg.player2._xscale = -100;
_root.bg.player2._x = _root.bg.player2._x + _root.bg.player2.runspeed;
}
if (_root.bg.player2._x > (_root.bg.com1._x - 10)) {
_root.bg.player2.gotoAndStop("walk");
_root.bg.player2._xscale = 100;
_root.bg.player2._x = _root.bg.player2._x - _root.bg.player2.walkspeed;
}
}
if (_root.myfield == "left") {
if (_root.bg.player2._x > (_root.bg.com1._x + 10)) {
_root.bg.player2.gotoAndStop("run nothing");
_root.bg.player2._xscale = 100;
_root.bg.player2._x = _root.bg.player2._x - _root.bg.player2.runspeed;
}
if (_root.bg.player2._x < (_root.bg.com1._x + 10)) {
_root.bg.player2.gotoAndStop("walk");
_root.bg.player2._xscale = -100;
_root.bg.player2._x = _root.bg.player2._x + _root.bg.player2.walkspeed;
}
}
}
if (_root.ballpos == "com2") {
if (_root.bg.player2._x <= _root.bg.com2._x) {
_root.bg.player2._xscale = -100;
}
if (_root.bg.player2._x > _root.bg.com2._x) {
_root.bg.player2._xscale = 100;
}
if (_root.bg.player2.hitTest(_root.bg.com2)) {
_parent.gotoAndStop("stand steal");
}
if (_root.myfield == "right") {
if (_root.bg.player2._x < (_root.bg.com2._x - 10)) {
_root.bg.player2.gotoAndStop("run nothing");
_root.bg.player2._xscale = -100;
_root.bg.player2._x = _root.bg.player2._x + _root.bg.player2.runspeed;
}
if (_root.bg.player2._x > (_root.bg.com2._x - 10)) {
_root.bg.player2.gotoAndStop("walk");
_root.bg.player2._xscale = 100;
_root.bg.player2._x = _root.bg.player2._x - _root.bg.player2.walkspeed;
}
}
if (_root.myfield == "left") {
if (_root.bg.player2._x > (_root.bg.com2._x + 10)) {
_root.bg.player2.gotoAndStop("run nothing");
_root.bg.player2._xscale = 100;
_root.bg.player2._x = _root.bg.player2._x - _root.bg.player2.runspeed;
}
if (_root.bg.player2._x < (_root.bg.com2._x + 10)) {
_root.bg.player2.gotoAndStop("walk");
_root.bg.player2._xscale = -100;
_root.bg.player2._x = _root.bg.player2._x + _root.bg.player2.walkspeed;
}
}
}
if (_root.bg.shotball._name == "shotball") {
if (_root.bg.player2._x < _root.bg.shotball._x) {
_root.bg.player2.gotoAndStop("run nothing");
_root.bg.player2._xscale = -100;
_root.bg.player2._x = _root.bg.player2._x + _root.bg.player2.runspeed;
}
if (_root.bg.player2._x > _root.bg.shotball._x) {
_root.bg.player2.gotoAndStop("run nothing");
_root.bg.player2._xscale = 100;
_root.bg.player2._x = _root.bg.player2._x - _root.bg.player2.runspeed;
}
}
if ((Math.abs(_root.bg.ball._x - _root.bg.player2._x) < 100) && (_root.bg.ball._y < (_root.bg.player2._y - 300))) {
_parent.gotoAndStop("jump");
}
if ((((Math.abs(_root.bg.com1._x - _root.bg.player2._x) < 200) && (_root.bg.player2._x < _root.bg.com1._x)) && (_root.myfield == "left")) && (_root.bg.com1._currentframe == 15)) {
_parent.gotoAndStop("jump");
}
if ((((Math.abs(_root.bg.com1._x - _root.bg.player2._x) < 200) && (_root.bg.player2._x > _root.bg.com1._x)) && (_root.myfield == "right")) && (_root.bg.com1._currentframe == 15)) {
_parent.gotoAndStop("jump");
}
if ((((Math.abs(_root.bg.com2._x - _root.bg.player2._x) < 200) && (_root.bg.player2._x < _root.bg.com2._x)) && (_root.myfield == "left")) && (_root.bg.com2._currentframe == 15)) {
_parent.gotoAndStop("jump");
}
if ((((Math.abs(_root.bg.com2._x - _root.bg.player2._x) < 200) && (_root.bg.player2._x > _root.bg.com2._x)) && (_root.myfield == "right")) && (_root.bg.com2._currentframe == 15)) {
_parent.gotoAndStop("jump");
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 860 MovieClip [partner AI] Frame 2
onClipEvent (load) {
_root.bg.player2.gotoAndStop("jump");
blockcount = 1;
timer = random(10) + 5;
}
onClipEvent (enterFrame) {
if (_root.bg.player2.jump.ready == true) {
timer--;
if (((_root.bg.com1._currentframe == 15) && (blockcount == 1)) && (timer < 0)) {
_root.bg.player2.jump.gotoAndStop("block");
blockcount = 2;
}
if ((_root.ballpos == null) && (_root.bg.com1._currentframe != 15)) {
_root.bg.player2.jump.gotoAndStop("guard");
}
}
if ((_root.bg.ball._x > _root.bg.player2._x) && (_root.bg.player2.jump.ready == true)) {
_root.bg.player2._x = _root.bg.player2._x + 7;
}
if ((_root.bg.ball._x < _root.bg.player2._x) && (_root.bg.player2.jump.ready == true)) {
_root.bg.player2._x = _root.bg.player2._x - 7;
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 860 MovieClip [partner AI] Frame 3
onClipEvent (load) {
com1hit = false;
com2hit = false;
_root.bg.player2.gotoAndStop("dodge guard");
}
onClipEvent (enterFrame) {
if (_root.ballpos == "player2") {
_root.switchplayer.call(obj, obj);
_root.ballpos = "controlplayer";
}
if (_root.bg.player2.guard.pd.hitTest(_root.bg.com1) && (com2hit == false)) {
com1hit = true;
if (_root.bg.com1._x <= _root.bg.player2._x) {
_root.bg.com1._x = _root.bg.com1._x - _root.bg.com1.runspeed;
}
if (_root.bg.com1._x > _root.bg.player2._x) {
_root.bg.com1._x = _root.bg.com1._x + _root.bg.com1.runspeed;
}
}
if (_root.bg.player2.guard.pd.hitTest(_root.bg.com2) && (com1hit == false)) {
com2hit = true;
if (_root.bg.com2._x <= _root.bg.player2._x) {
_root.bg.com2._x = _root.bg.com2._x - _root.bg.com2.runspeed;
}
if (_root.bg.com2._x > _root.bg.player2._x) {
_root.bg.com2._x = _root.bg.com2._x + _root.bg.com2.runspeed;
}
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 860 MovieClip [partner AI] Frame 4
onClipEvent (load) {
timer = random(10) + 50;
_root.bg.player2.gotoAndStop("run demand");
}
onClipEvent (enterFrame) {
timer--;
if (_root.bg.player2._x > _root.bg.comtarget._x) {
_root.bg.player2._x = _root.bg.player2._x - (_root.bg.player2.runspeed - 3);
_root.bg.player2._xscale = 100;
}
if (_root.bg.player2._x < _root.bg.comtarget._x) {
_root.bg.player2._x = _root.bg.player2._x + (_root.bg.player2.runspeed - 3);
_root.bg.player2._xscale = -100;
}
if (timer == 0) {
_parent.gotoAndStop("stand nothing");
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 860 MovieClip [partner AI] Frame 5
onClipEvent (load) {
_root.bg.player2.gotoAndStop("exaust");
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 860 MovieClip [partner AI] Frame 6
onClipEvent (load) {
_root.bg.player2.gotoAndStop("pick ball");
}
Symbol 860 MovieClip [partner AI] Frame 7
speech.call(obj, obj);
voiceArray[1].start();
voiceArray.stop(voiceArray[3]);
Instance of Symbol 131 MovieClip [blackmask] in Symbol 860 MovieClip [partner AI] Frame 7
onClipEvent (load) {
_root.bg.player2.gotoAndStop("stand demand");
if (_root.bg.controlplayer._xscale == 100) {
_root.bg.player2._xscale = -100;
}
if (_root.bg.controlplayer._xscale == -100) {
_root.bg.player2._xscale = 100;
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 860 MovieClip [partner AI] Frame 8
onClipEvent (load) {
_root.bg.player2.gotoAndStop("stand steal");
stealonce = false;
}
onClipEvent (enterFrame) {
if (stealonce == false) {
if ((((((_root.bg.player2.stealer.pd.hitTest(_root.bg.com1) && (_root.ballpos == "com1")) && (_root.bg.com1._y == 580)) && (_root.bg.com1._currentframe != 20)) && (_root.bg.com1._currentframe != 22)) && (_root.bg.com1._currentframe != 15)) && (_root.bg.com1._currentframe != 42)) {
_root.bg.com1.gotoAndStop("be hitted");
stealonce = true;
}
if ((((((_root.bg.player2.stealer.pd.hitTest(_root.bg.com2) && (_root.ballpos == "com2")) && (_root.bg.com2._y == 580)) && (_root.bg.com2._currentframe != 20)) && (_root.bg.com2._currentframe != 22)) && (_root.bg.com2._currentframe != 15)) && (_root.bg.com2._currentframe != 42)) {
_root.bg.com2.gotoAndStop("be hitted");
stealonce = true;
}
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 860 MovieClip [partner AI] Frame 9
onClipEvent (load) {
_root.bg.player2.gotoAndStop("stand steal 2");
stealonce = false;
}
onClipEvent (enterFrame) {
if (stealonce == false) {
if ((((((_root.bg.player2.stealer2.pd.hitTest(_root.bg.com1) && (_root.ballpos == "com1")) && (_root.bg.com1._y == 580)) && (_root.bg.com1._currentframe != 20)) && (_root.bg.com1._currentframe != 22)) && (_root.bg.com1._currentframe != 15)) && (_root.bg.com1._currentframe != 42)) {
_root.bg.com1.gotoAndStop("be hitted");
stealonce = true;
}
if ((((((_root.bg.player2.stealer2.pd.hitTest(_root.bg.com2) && (_root.ballpos == "com2")) && (_root.bg.com2._y == 580)) && (_root.bg.com2._currentframe != 20)) && (_root.bg.com2._currentframe != 22)) && (_root.bg.com2._currentframe != 15)) && (_root.bg.com2._currentframe != 42)) {
_root.bg.com2.gotoAndStop("be hitted");
stealonce = true;
}
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 860 MovieClip [partner AI] Frame 10
onClipEvent (load) {
_root.bg.player2.gotoAndStop("high receive ball");
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 860 MovieClip [partner AI] Frame 11
onClipEvent (load) {
_root.bg.player2.gotoAndStop("ball hitted");
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 860 MovieClip [partner AI] Frame 12
onClipEvent (load) {
_root.bg.player2.gotoAndStop(random(4) + 31);
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 860 MovieClip [partner AI] Frame 13
onClipEvent (load) {
_root.bg.player2.gotoAndStop("stand ball");
_root.switchplayer.call(obj, obj);
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 860 MovieClip [partner AI] Frame 14
onClipEvent (load) {
_root.bg.player2.gotoAndStop("depressed");
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 860 MovieClip [partner AI] Frame 15
onClipEvent (load) {
_root.ballpos = null;
_root.bg.player2.gotoAndStop("dodge stand");
}
Symbol 862 MovieClip [controller] Frame 1
function speech(obj) {
if (_root.bg.controlplayer.wzc == "yes") {
_root.wzcspeech = true;
}
if (_root.bg.controlplayer.zyx == "yes") {
_root.zyxspeech = true;
}
if (_root.bg.controlplayer.zss == "yes") {
_root.zssspeech = true;
}
if (_root.bg.controlplayer.zxz == "yes") {
_root.zxzspeech = true;
}
if (_root.bg.controlplayer.tjh == "yes") {
_root.tjhspeech = true;
}
if (_root.bg.controlplayer.sx == "yes") {
_root.sxspeech = true;
}
if (_root.bg.controlplayer.yb == "yes") {
_root.ybspeech = true;
}
if (_root.bg.controlplayer.yzz == "yes") {
_root.yzzspeech = true;
}
}
this._visible = false;
stop();
onEnterFrame = function () {
if (_root.bg.controlplayer.wzc == "yes") {
nameword = "wzc";
}
if (_root.bg.controlplayer.sx == "yes") {
nameword = "sx";
}
if (_root.bg.controlplayer.zxz == "yes") {
nameword = "zxz";
}
if (_root.bg.controlplayer.yb == "yes") {
nameword = "yb";
}
if (_root.bg.controlplayer.tjh == "yes") {
nameword = "tjh";
}
if (_root.bg.controlplayer.zyx == "yes") {
nameword = "zyx";
}
if (_root.bg.controlplayer.zss == "yes") {
nameword = "zss";
}
if (_root.bg.controlplayer.yzz == "yes") {
nameword = "yzz";
}
if (((((_root.bg.controlplayer.fu == "yes") || (_root.bg.controlplayer.hf == "yes")) || (_root.bg.controlplayer.ym == "yes")) || (_root.bg.controlplayer.sl == "yes")) || (_root.bg.controlplayer.wzy == "yes")) {
nameword = "none";
}
var _local6 = new Sound();
_local6.attachSound(nameword + "runcall1");
var _local7 = new Sound();
_local7.attachSound(nameword + "runcall2");
var _local8 = new Sound();
_local8.attachSound(nameword + "runcall3");
var _local2 = new Sound();
_local2.attachSound(nameword + "demand");
var _local4 = new Sound();
_local4.attachSound(nameword + "standdemand");
var _local3 = new Sound();
_local3.attachSound(nameword + "exaust");
var _local5 = new Sound();
_local5.attachSound(nameword + "complain");
voiceArray = [_local6, _local7, _local8, _local2, _local4, _local3, _local5];
};
Instance of Symbol 131 MovieClip [blackmask] in Symbol 862 MovieClip [controller] Frame 1
onClipEvent (load) {
a = true;
b = true;
c = true;
_root.walkleftscroll = false;
_root.walkrightscroll = false;
_root.runleftscroll = false;
_root.runrightscroll = false;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_parent.gotoAndStop("walk");
}
if (Key.isDown(39)) {
_parent.gotoAndStop("walk");
}
if (Key.isDown(37) && (Key.isDown(_root.d))) {
_parent.gotoAndStop("run nothing");
}
if (Key.isDown(39) && (Key.isDown(_root.d))) {
_parent.gotoAndStop("run nothing");
}
if (Key.isDown(38)) {
if (!a) {
_parent.gotoAndStop("jump");
a = true;
}
} else {
a = false;
}
if (Key.isDown(40)) {
_parent.gotoAndStop("dodge guard");
}
if (Key.isDown(_root.s)) {
if (!b) {
_root.switchplayer.call(obj, obj);
b = true;
}
} else {
b = false;
}
if (Key.isDown(_root.a)) {
if (!c) {
_parent.gotoAndStop(random(2) + 16);
c = true;
}
} else {
c = false;
}
}
Symbol 862 MovieClip [controller] Frame 2
a = random(5);
if (a == 0) {
speech.call(obj, obj);
voiceArray[0].start();
voiceArray.stop(voiceArray[6]);
}
if (a == 1) {
speech.call(obj, obj);
voiceArray[1].start();
voiceArray.stop(voiceArray[6]);
}
if (a == 2) {
speech.call(obj, obj);
voiceArray[2].start();
voiceArray.stop(voiceArray[6]);
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 862 MovieClip [controller] Frame 2
onClipEvent (load) {
b = true;
c = true;
}
onClipEvent (enterFrame) {
if (Key.isDown(37) && (Key.isDown(_root.d))) {
_root.bg.controlplayer.gotoAndStop("run nothing");
_root.bg.controlplayer._xscale = 100;
_root.bg.controlplayer._x = _root.bg.controlplayer._x - _root.bg.controlplayer.runspeed;
}
if (Key.isDown(39) && (Key.isDown(_root.d))) {
_root.bg.controlplayer.gotoAndStop("run nothing");
_root.bg.controlplayer._xscale = -100;
_root.bg.controlplayer._x = _root.bg.controlplayer._x + _root.bg.controlplayer.runspeed;
}
if (Key.isDown(38)) {
_parent.gotoAndStop("jump");
}
if (Key.isDown(_root.s)) {
if (!b) {
_root.switchplayer.call(obj, obj);
b = true;
}
} else {
b = false;
}
if (Key.isDown(_root.a)) {
if (!c) {
_parent.gotoAndStop("stand steal");
c = true;
}
} else {
c = false;
}
}
onClipEvent (keyUp) {
if (Key.getCode() != _root.a) {
_parent.gotoAndStop(1);
_root.bg.controlplayer.gotoAndStop("stand nothing");
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 862 MovieClip [controller] Frame 3
onClipEvent (load) {
_root.bg.controlplayer.gotoAndStop("jump");
blockcount = 1;
}
onClipEvent (enterFrame) {
if (_root.bg.controlplayer.jump.ready == true) {
if (Key.isDown(37)) {
_root.bg.controlplayer._x = _root.bg.controlplayer._x - 7;
}
if (Key.isDown(39)) {
_root.bg.controlplayer._x = _root.bg.controlplayer._x + 7;
}
if (Key.isDown(_root.a) && (blockcount == 1)) {
_root.bg.controlplayer.jump.gotoAndStop("block");
blockcount = 2;
}
if (Key.isDown(_root.d) && (_root.ballpos != "controlplayer")) {
_root.bg.controlplayer.jump.gotoAndStop("guard");
}
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 862 MovieClip [controller] Frame 4
onClipEvent (load) {
com1hit = false;
com2hit = false;
}
onClipEvent (enterFrame) {
if (Key.isDown(40) && (_root.ballpos != "controlplayer")) {
_root.bg.controlplayer.gotoAndStop("dodge guard");
}
if (_root.ballpos == "controlplayer") {
_parent.gotoAndStop("stand ball");
}
}
onClipEvent (keyUp) {
_parent.gotoAndStop("stand nothing");
}
onClipEvent (enterFrame) {
if (_root.bg.controlplayer.guard.pd.hitTest(_root.bg.com1) && (com2hit == false)) {
com1hit = true;
if (_root.bg.com1._x <= _root.bg.controlplayer._x) {
_root.bg.com1._x = _root.bg.com1._x - _root.bg.com1.runspeed;
}
if (_root.bg.com1._x > _root.bg.controlplayer._x) {
_root.bg.com1._x = _root.bg.com1._x + _root.bg.com1.runspeed;
}
}
if (_root.bg.controlplayer.guard.pd.hitTest(_root.bg.com2) && (com1hit == false)) {
com2hit = true;
if (_root.bg.com2._x <= _root.bg.controlplayer._x) {
_root.bg.com2._x = _root.bg.com2._x - _root.bg.com2.runspeed;
}
if (_root.bg.com2._x > _root.bg.controlplayer._x) {
_root.bg.com2._x = _root.bg.com2._x + _root.bg.com2.runspeed;
}
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 862 MovieClip [controller] Frame 5
onClipEvent (load) {
_root.walkleftscroll = false;
_root.walkrightscroll = false;
_root.runleftscroll = false;
_root.runrightscroll = false;
}
onClipEvent (enterFrame) {
if (_root.ballpos != "controlplayer") {
_parent.gotoAndStop("stand nothing");
}
if (Key.isDown(37)) {
_parent.gotoAndStop("ball control");
}
if (Key.isDown(39)) {
_parent.gotoAndStop("ball control");
}
if (Key.isDown(38)) {
_parent.gotoAndStop("ball up stand");
}
if (Key.isDown(40)) {
_parent.gotoAndStop("ball dodge stand");
}
if (Key.isDown(_root.s) && (_root.bg.controlplayer._xscale == 100)) {
_root.bg.controlplayer.gotoAndStop("straight pass");
_root.bg.controlplayer._xscale = 100;
}
if (Key.isDown(_root.s) && (_root.bg.controlplayer._xscale == -100)) {
_root.bg.controlplayer.gotoAndStop("straight pass");
_root.bg.controlplayer._xscale = -100;
}
if (Key.isDown(_root.a)) {
_parent.gotoAndStop("shot long");
}
}
Symbol 862 MovieClip [controller] Frame 6
a = random(5);
if (a == 0) {
speech.call(obj, obj);
voiceArray[0].start();
voiceArray.stop(voiceArray[6]);
}
if (a == 2) {
speech.call(obj, obj);
voiceArray[2].start();
voiceArray.stop(voiceArray[6]);
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 862 MovieClip [controller] Frame 6
onClipEvent (enterFrame) {
if (_root.ballpos != "controlplayer") {
_parent.gotoAndStop("stand nothing");
}
if (Key.isDown(37) && (Key.isDown(_root.d))) {
_root.bg.controlplayer.gotoAndStop("run ball");
_root.bg.controlplayer._xscale = 100;
_root.bg.controlplayer._x = _root.bg.controlplayer._x - (_root.bg.controlplayer.runspeed - 2);
}
if (Key.isDown(39) && (Key.isDown(_root.d))) {
_root.bg.controlplayer.gotoAndStop("run ball");
_root.bg.controlplayer._xscale = -100;
_root.bg.controlplayer._x = _root.bg.controlplayer._x + (_root.bg.controlplayer.runspeed - 2);
}
if (((Key.isDown(38) && (Key.isDown(_root.a))) && (_root.bg.controlplayer._xscale == 100)) && (Math.abs(_root.bg.controlplayer._x - _root.bg.comtarget._x) < 300)) {
_parent.gotoAndStop("dunk");
}
if (((Key.isDown(38) && (Key.isDown(_root.a))) && (_root.bg.controlplayer._xscale == -100)) && (Math.abs(_root.bg.controlplayer._x - _root.bg.comtarget._x) < 250)) {
_parent.gotoAndStop("dunk");
}
if (Key.isDown(_root.a)) {
_parent.gotoAndStop("3step");
}
if (Key.isDown(_root.s)) {
_parent.gotoAndStop("run pass");
}
}
onClipEvent (keyUp) {
_parent.gotoAndStop("ball control");
}
Symbol 862 MovieClip [controller] Frame 7
a = random(2);
if (a == 1) {
speech.call(obj, obj);
voiceArray[3].start();
voiceArray.stop(voiceArray[6]);
}
Symbol 862 MovieClip [controller] Frame 8
speech.call(obj, obj);
voiceArray[5].start();
voiceArray.stop(voiceArray[6]);
Instance of Symbol 131 MovieClip [blackmask] in Symbol 862 MovieClip [controller] Frame 8
onClipEvent (load) {
if (_root.ballpos != "controlplayer") {
_root.bg.controlplayer.gotoAndStop("exaust");
}
if (_root.ballpos == "controlplayer") {
_root.bg.controlplayer.gotoAndStop("run exaust");
}
_root.walkleftscroll = false;
_root.walkrightscroll = false;
_root.runleftscroll = false;
_root.runrightscroll = false;
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 862 MovieClip [controller] Frame 9
onClipEvent (load) {
a = true;
b = true;
c = true;
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_root.bg.controlplayer.gotoAndStop("walk");
_root.bg.controlplayer._xscale = 100;
_root.bg.controlplayer._x = _root.bg.controlplayer._x - _root.bg.controlplayer.walkspeed;
}
if (Key.isDown(39)) {
_root.bg.controlplayer._xscale = -100;
_root.bg.controlplayer._x = _root.bg.controlplayer._x + _root.bg.controlplayer.walkspeed;
_root.bg.controlplayer.gotoAndStop("walk");
}
if (Key.isDown(37) && (Key.isDown(_root.d))) {
_parent.gotoAndStop("run nothing");
}
if (Key.isDown(39) && (Key.isDown(_root.d))) {
_parent.gotoAndStop("run nothing");
}
if (Key.isDown(38)) {
if (!a) {
_parent.gotoAndStop("jump");
a = true;
}
} else {
a = false;
}
if (Key.isDown(40)) {
_parent.gotoAndStop("dodge guard");
}
if (Key.isDown(_root.a)) {
if (!c) {
_parent.gotoAndStop(random(2) + 16);
c = true;
}
} else {
c = false;
}
}
onClipEvent (keyUp) {
_root.bg.controlplayer.gotoAndStop("stand nothing");
_parent.gotoAndStop("stand nothing");
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 862 MovieClip [controller] Frame 10
onClipEvent (load) {
_root.bg.controlplayer.gotoAndStop("ball control");
_root.walkleftscroll = false;
_root.walkrightscroll = false;
_root.runleftscroll = false;
_root.runrightscroll = false;
}
onClipEvent (enterFrame) {
if (_root.ballpos != "controlplayer") {
_parent.gotoAndStop("stand nothing");
}
if (Key.isDown(37)) {
_root.bg.controlplayer.gotoAndStop("ball walk");
_parent.gotoAndStop("ball walk");
}
if (Key.isDown(39)) {
_root.bg.controlplayer.gotoAndStop("ball walk");
_parent.gotoAndStop("ball walk");
}
if (Key.isDown(38)) {
_parent.gotoAndStop("ball up stand");
}
if (Key.isDown(40)) {
_parent.gotoAndStop("ball control dodge");
}
if (Key.isDown(_root.s) && (_root.bg.controlplayer._xscale == 100)) {
_root.bg.controlplayer.gotoAndStop("straight pass");
_root.bg.controlplayer._xscale = 100;
}
if (Key.isDown(_root.s) && (_root.bg.controlplayer._xscale == -100)) {
_root.bg.controlplayer.gotoAndStop("straight pass");
_root.bg.controlplayer._xscale = -100;
}
if (Key.isDown(_root.a)) {
_parent.gotoAndStop("shot long");
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 862 MovieClip [controller] Frame 11
onClipEvent (enterFrame) {
if (_root.ballpos != "controlplayer") {
_parent.gotoAndStop("stand nothing");
}
if (Key.isDown(37)) {
_root.bg.controlplayer.gotoAndStop("ball walk");
_root.bg.controlplayer._xscale = 100;
_root.bg.controlplayer._x = _root.bg.controlplayer._x - _root.bg.controlplayer.walkspeed;
}
if (Key.isDown(39)) {
_root.bg.controlplayer._xscale = -100;
_root.bg.controlplayer._x = _root.bg.controlplayer._x + _root.bg.controlplayer.walkspeed;
_root.bg.controlplayer.gotoAndStop("ball walk");
}
if (Key.isDown(37) && (Key.isDown(_root.d))) {
_parent.gotoAndStop("run ball");
}
if (Key.isDown(39) && (Key.isDown(_root.d))) {
_parent.gotoAndStop("run ball");
}
if (Key.isDown(38)) {
_parent.gotoAndStop("ball up stand");
}
if (Key.isDown(40)) {
_parent.gotoAndStop("ball control dodge");
}
if (Key.isDown(_root.a)) {
_parent.gotoAndStop("shot long");
}
if (Key.isDown(_root.s)) {
_parent.gotoAndStop("straight pass");
}
}
onClipEvent (keyUp) {
_root.bg.controlplayer.gotoAndStop("ball control");
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 862 MovieClip [controller] Frame 12
onClipEvent (load) {
_root.bg.controlplayer.gotoAndStop("straight pass");
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 862 MovieClip [controller] Frame 13
onClipEvent (load) {
if (_root.myfield == "right") {
_root.bg.controlplayer._xscale = 100;
}
if (_root.myfield == "left") {
_root.bg.controlplayer._xscale = -100;
}
if (Math.abs(_root.bg.controlplayer._x - _root.bg.comtarget._x) < 200) {
_parent.gotoAndStop("shot short");
}
if (Math.abs(_root.bg.controlplayer._x - _root.bg.comtarget._x) > 900) {
_parent.gotoAndStop("shot long far");
} else {
_root.bg.controlplayer.gotoAndStop("shot long");
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 862 MovieClip [controller] Frame 14
onClipEvent (load) {
_root.bg.controlplayer.gotoAndStop("pick ball");
}
Symbol 862 MovieClip [controller] Frame 15
speech.call(obj, obj);
voiceArray[4].start();
voiceArray.stop(voiceArray[6]);
Instance of Symbol 131 MovieClip [blackmask] in Symbol 862 MovieClip [controller] Frame 15
onClipEvent (load) {
_root.bg.controlplayer.gotoAndStop("stand demand");
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 862 MovieClip [controller] Frame 16
onClipEvent (load) {
_root.bg.controlplayer.gotoAndStop("stand steal");
stealonce = false;
}
onClipEvent (enterFrame) {
if (stealonce == false) {
if ((((((_root.bg.controlplayer.stealer.pd.hitTest(_root.bg.com1) && (_root.ballpos == "com1")) && (_root.bg.com1._y == 580)) && (_root.bg.com1._currentframe != 20)) && (_root.bg.com1._currentframe != 22)) && (_root.bg.com1._currentframe != 15)) && (_root.bg.com1._currentframe != 42)) {
_root.bg.com1.gotoAndStop("be hitted");
stealonce = true;
}
if ((((((_root.bg.controlplayer.stealer.pd.hitTest(_root.bg.com2) && (_root.ballpos == "com2")) && (_root.bg.com2._y == 580)) && (_root.bg.com2._currentframe != 20)) && (_root.bg.com2._currentframe != 22)) && (_root.bg.com2._currentframe != 15)) && (_root.bg.com2._currentframe != 42)) {
_root.bg.com2.gotoAndStop("be hitted");
stealonce = true;
}
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 862 MovieClip [controller] Frame 17
onClipEvent (load) {
_root.bg.controlplayer.gotoAndStop("stand steal 2");
stealonce = false;
}
onClipEvent (enterFrame) {
if (stealonce == false) {
if (((((_root.bg.controlplayer.stealer2.pd.hitTest(_root.bg.com1) && (_root.ballpos == "com1")) && (_root.bg.com1._y == 580)) && (_root.bg.com1._currentframe != 20)) && (_root.bg.com1._currentframe != 22)) && (_root.bg.com1._currentframe != 15)) {
_root.bg.com1.gotoAndStop("be hitted");
stealonce = true;
}
if (((((_root.bg.controlplayer.stealer2.pd.hitTest(_root.bg.com2) && (_root.ballpos == "com2")) && (_root.bg.com2._y == 580)) && (_root.bg.com2._currentframe != 20)) && (_root.bg.com2._currentframe != 22)) && (_root.bg.com2._currentframe != 42)) {
_root.bg.com2.gotoAndStop("be hitted");
stealonce = true;
}
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 862 MovieClip [controller] Frame 18
onClipEvent (load) {
_root.ballpos = null;
_root.bg.controlplayer.gotoAndStop("dodge stand");
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 862 MovieClip [controller] Frame 19
onClipEvent (load) {
_root.bg.controlplayer.gotoAndStop("ball dodge stand");
}
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_parent.gotoAndStop("ball control dodge");
}
if (Key.isDown(39)) {
_parent.gotoAndStop("ball control dodge");
}
if (Key.isDown(_root.s)) {
_parent.gotoAndStop("straight pass");
}
if (Key.isDown(_root.a)) {
_parent.gotoAndStop("shot long");
}
}
onClipEvent (keyUp) {
_parent.gotoAndStop("stand ball");
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 862 MovieClip [controller] Frame 20
onClipEvent (enterFrame) {
_root.bg.controlplayer.gotoAndStop("ball up stand");
if (Key.isDown(_root.s)) {
_parent.gotoAndStop("long pass");
}
}
onClipEvent (keyUp) {
_root.bg.controlplayer.gotoAndStop("stand ball");
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 862 MovieClip [controller] Frame 21
onClipEvent (enterFrame) {
_root.bg.controlplayer.gotoAndStop("ball control dodge");
if (_root.bg.controlplayer._xscale == 100) {
if (Key.isDown(37)) {
_root.bg.controlplayer.balldodge.gotoAndStop(1);
_root.walkleftscroll = true;
_root.bg.controlplayer._x = _root.bg.controlplayer._x - (_root.bg.controlplayer.walkspeed - 2);
}
if (Key.isDown(39)) {
_root.bg.controlplayer.balldodge.gotoAndStop(2);
_root.walkrightscroll = true;
_root.bg.controlplayer._x = _root.bg.controlplayer._x + (_root.bg.controlplayer.walkspeed - 2);
}
}
if (_root.bg.controlplayer._xscale == -100) {
if (Key.isDown(37)) {
_root.bg.controlplayer.balldodge.gotoAndStop(2);
_root.walkleftscroll = true;
_root.bg.controlplayer._x = _root.bg.controlplayer._x - (_root.bg.controlplayer.walkspeed - 2);
}
if (Key.isDown(39)) {
_root.bg.controlplayer.balldodge.gotoAndStop(1);
_root.walkrightscroll = true;
_root.bg.controlplayer._x = _root.bg.controlplayer._x + (_root.bg.controlplayer.walkspeed - 2);
}
}
}
onClipEvent (keyUp) {
_parent.gotoAndStop("ball control");
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 862 MovieClip [controller] Frame 22
onClipEvent (load) {
_root.bg.controlplayer.gotoAndStop("shot short");
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 862 MovieClip [controller] Frame 23
onClipEvent (load) {
if (Math.abs(_root.bg.controlplayer._x - _root.bg.player2._x) < 600) {
_root.bg.controlplayer.gotoAndStop("long pass near");
} else {
_root.bg.controlplayer.gotoAndStop("long pass");
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 862 MovieClip [controller] Frame 24
onClipEvent (load) {
_root.bg.controlplayer.gotoAndStop("receive ball");
}
Symbol 862 MovieClip [controller] Frame 25
speech.call(obj, obj);
voiceArray[6].start();
voiceArray.stop(voiceArray[0]);
Instance of Symbol 131 MovieClip [blackmask] in Symbol 862 MovieClip [controller] Frame 25
onClipEvent (load) {
_root.bg.controlplayer.gotoAndStop("depressed");
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 862 MovieClip [controller] Frame 26
onClipEvent (load) {
if (Math.abs(_root.bg.controlplayer._x - _root.bg.comtarget._x) < 200) {
_parent.nextFrame();
} else {
_root.bg.controlplayer.gotoAndStop("3step");
}
distance = Math.abs(_root.bg.controlplayer._x - _root.bg.comtarget._x) / 4;
if (distance <= 5) {
distance = 5;
}
if (distance >= 20) {
distance = 20;
}
}
onClipEvent (enterFrame) {
if (_root.bg.controlplayer._xscale == 100) {
_root.bg.controlplayer._x = _root.bg.controlplayer._x - distance;
}
if (_root.bg.controlplayer._xscale == -100) {
_root.bg.controlplayer._x = _root.bg.controlplayer._x + distance;
}
distance = distance - 0.5;
if (distance <= 3) {
distance = 3;
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 862 MovieClip [controller] Frame 27
onClipEvent (load) {
_root.bg.controlplayer.gotoAndStop("3stepshot");
}
onClipEvent (enterFrame) {
if (_root.bg.controlplayer._x > _root.bg.comtarget._x) {
_root.bg.controlplayer._xscale = 100;
}
if (_root.bg.controlplayer._x <= _root.bg.comtarget._x) {
_root.bg.controlplayer._xscale = -100;
}
if (_root.bg.controlplayer._xscale == 100) {
_root.bg.controlplayer._x = _root.bg.controlplayer._x - 5;
}
if (_root.bg.controlplayer._xscale == -100) {
_root.bg.controlplayer._x = _root.bg.controlplayer._x + 5;
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 862 MovieClip [controller] Frame 28
onClipEvent (load) {
distance = random(10);
_root.bg.controlplayer.gotoAndStop("be hitted");
}
onClipEvent (enterFrame) {
distance--;
if (distance <= 0) {
distance = 0;
}
if (_root.bg.controlplayer._xscale == 100) {
_root.bg.controlplayer._x = _root.bg.controlplayer._x + distance;
}
if (_root.bg.controlplayer._xscale == -100) {
_root.bg.controlplayer._x = _root.bg.controlplayer._x - distance;
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 862 MovieClip [controller] Frame 29
onClipEvent (load) {
_root.bg.controlplayer.gotoAndStop("high receive ball");
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 862 MovieClip [controller] Frame 30
onClipEvent (load) {
_root.bg.controlplayer.gotoAndStop("ball hitted");
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 862 MovieClip [controller] Frame 31
onClipEvent (load) {
a = random(3);
_root.bg.controlplayer.gotoAndStop(random(4) + 31);
_root.celebrationchara = "player";
if ((_root.bg.controlplayer.yb == "yes") && (a != 2)) {
_root.bg.controlplayer.gotoAndStop("celebration yb");
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 862 MovieClip [controller] Frame 32
onClipEvent (load) {
_root.bg.controlplayer.gotoAndStop("run pass");
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 862 MovieClip [controller] Frame 33
onClipEvent (load) {
if ((((_root.bg.controlplayer.ym == "yes") || (_root.bg.controlplayer.hf == "yes")) || (_root.bg.controlplayer.fu == "yes")) || (_root.bg.controlplayer.specialshoe == "shoe07")) {
_root.bg.controlplayer.gotoAndStop("dunk1");
if (_root.myfield == "right") {
_root.bg.controlplayer._xscale = 100;
}
if (_root.myfield == "left") {
_root.bg.controlplayer._xscale == -100;
}
} else {
_parent.gotoAndStop("3step");
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 862 MovieClip [controller] Frame 34
onClipEvent (load) {
_root.bg.controlplayer.gotoAndStop("shot long far");
}
Symbol 866 MovieClip [pressspace] Frame 1
this._x = 500;
this._y = 540;
Symbol 883 Button
on (release) {
_root.play();
}
Symbol 884 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
gotoAndStop ("loaded");
}
Symbol 884 MovieClip Frame 2
gotoAndPlay (1);
Symbol 919 MovieClip Frame 9
_parent.breezzzelogointro.start();
Symbol 919 MovieClip Frame 27
stop();
Symbol 920 MovieClip Frame 1
var breezzzelogointro = new Sound();
breezzzelogointro.attachSound("breezzzelogointro");
Symbol 920 MovieClip Frame 26
stop();
Symbol 928 MovieClip Frame 1
stop();
Symbol 939 MovieClip Frame 1
stop();
_root.bgm = 1;
delete onEnterFrame;
Instance of Symbol 928 MovieClip in Symbol 939 MovieClip Frame 1
onClipEvent (load) {
if ((_root.gamemode == "waytocup") && (_root.fixture == 6)) {
this.gotoAndStop(2);
}
if (_root.gamemode != "waytocup") {
this.gotoAndStop(1);
}
}
Symbol 939 MovieClip Frame 2
stop();
delete onEnterFrame;
_root.bgm = 2;
i = -1;
onEnterFrame = function () {
mclist = [_root.bg.waitcp, _root.bg.waitp2, _root.bg.waitc1, _root.bg.waitc2, _root.bg.ball, _root.bg.shotball, _root.bg.lanqiujialeft, _root.bg.lanqiujiaright, _root.bg.comtarget, _root.bg.playertarget, _root.caitiaoqi];
i++;
if (i == 11) {
i = -1;
}
var _local2 = new Color(mclist[0 + i]);
var _local3 = {ra:40, rb:30, ga:50, gb:0, ba:50, bb:55, aa:100, ab:100};
_local2.setTransform(_local3);
};
Symbol 939 MovieClip Frame 3
stop();
delete onEnterFrame;
_root.bgm = 3;
i = -1;
onEnterFrame = function () {
mclist = [_root.bg.waitcp, _root.bg.waitp2, _root.bg.waitc1, _root.bg.waitc2, _root.bg.ball, _root.bg.shotball, _root.bg.lanqiujialeft, _root.bg.lanqiujiaright, _root.bg.comtarget, _root.bg.playertarget, _root.caitiaoqi];
i++;
if (i == 11) {
i = -1;
}
var _local2 = new Color(mclist[0 + i]);
var _local3 = {ra:30, rb:40, ga:50, gb:0, ba:50, bb:40, aa:100, ab:100};
_local2.setTransform(_local3);
};
Symbol 939 MovieClip Frame 4
stop();
_root.bgm = 4;
delete onEnterFrame;
Symbol 939 MovieClip Frame 5
stop();
delete onEnterFrame;
_root.bgm = 5;
i = -1;
onEnterFrame = function () {
mclist = [_root.bg.waitcp, _root.bg.waitp2, _root.bg.waitc1, _root.bg.waitc2, _root.bg.ball, _root.bg.shotball, _root.bg.lanqiujialeft, _root.bg.lanqiujiaright, _root.bg.comtarget, _root.bg.playertarget, _root.caitiaoqi];
i++;
if (i == 11) {
i = -1;
}
var _local2 = new Color(mclist[0 + i]);
var _local3 = {ra:40, rb:30, ga:50, gb:0, ba:50, bb:55, aa:100, ab:100};
_local2.setTransform(_local3);
};
Symbol 949 MovieClip Frame 19
_parent.gotoAndStop(1);
Symbol 950 MovieClip Frame 1
stop();
_parent.goalonce = 1;
Symbol 950 MovieClip Frame 2
_parent.goalonce = 2;
ferandom = random(2);
if (ferandom == 0) {
_root.flasheffect.call(obj, obj);
}
_root.cheer.call(obj, obj);
if ((_root.maxtime <= 5) && (_root.shoter == _root.bg.controlplayer)) {
_root.playerscore = _root.playerscore + 1;
}
if ((_root.shoter == _root.bg.controlplayer) && (_root.bg.controlplayer.hitTest(_root.bg.threearea))) {
_root.playerscore = _root.playerscore + 3;
_root.shoter.score = _root.shoter.score + 3;
_root.threepoints = _root.threepoints + 3;
_root.scoringnum = _root.scoringnum + 1;
_root.scorer = _root.bg.controlplayer;
_root.attachMovie("scoreeffect", "", 499);
_root.attachMovie("showpoints", "showpoints", 490);
_root.showpoints.gotoAndStop("3points");
} else if (_root.shoter == _root.bg.controlplayer) {
_root.playerscore = _root.playerscore + 2;
_root.shoter.score = _root.shoter.score + 2;
_root.scoringnum = _root.scoringnum + 1;
_root.scorer = _root.bg.controlplayer;
_root.attachMovie("scoreeffect", "", 499);
_root.attachMovie("showpoints", "showpoints", 490);
_root.showpoints.gotoAndStop("2points");
}
if ((_root.maxtime <= 5) && (_root.shoter == _root.bg.com1)) {
_root.comscore = _root.comscore + 1;
}
if ((_root.shoter == _root.bg.com1) && (_root.bg.com1.hitTest(_root.bg.threearea))) {
_root.comscore = _root.comscore + 3;
_root.shoter.score = _root.shoter.score + 3;
_root.scorer = _root.bg.com1;
_root.attachMovie("scoreeffect", "", 499);
_root.attachMovie("showpoints", "showpoints", 490);
_root.showpoints.gotoAndStop("3points");
} else if (_root.shoter == _root.bg.com1) {
_root.comscore = _root.comscore + 2;
_root.shoter.score = _root.shoter.score + 2;
_root.scorer = _root.bg.com1;
_root.attachMovie("scoreeffect", "", 499);
_root.attachMovie("showpoints", "showpoints", 490);
_root.showpoints.gotoAndStop("2points");
}
if ((_root.maxtime <= 5) && (_root.shoter == _root.bg.com2)) {
_root.comscore = _root.comscore + 1;
}
if ((_root.shoter == _root.bg.com2) && (_root.bg.com2.hitTest(_root.bg.threearea))) {
_root.comscore = _root.comscore + 3;
_root.shoter.score = _root.shoter.score + 3;
_root.scorer = _root.bg.com2;
_root.attachMovie("scoreeffect", "", 499);
_root.attachMovie("showpoints", "showpoints", 490);
_root.showpoints.gotoAndStop("3points");
} else if (_root.shoter == _root.bg.com2) {
_root.comscore = _root.comscore + 2;
_root.shoter.score = _root.shoter.score + 2;
_root.scorer = _root.bg.com2;
_root.attachMovie("scoreeffect", "", 499);
_root.attachMovie("showpoints", "showpoints", 490);
_root.showpoints.gotoAndStop("2points");
}
_root.ruler.gotoAndStop("celebration");
Symbol 952 MovieClip Frame 1
goalonce = 1;
this.goal.onEnterFrame = function () {
if ((((_root.bg.shotball.hitTest(this) && (_root.bg.shotball.dy >= _root.bg.shotball.baller.grav_y)) && (_root.bg.shotball._y >= this._y)) && (_root.bg.shotball._x < (this._x + 300))) && (_root.bg.shotball.shotpossibility == 0)) {
_root.bg.shotball._x = this._x + 280;
_root.bg.shotball._y = this._y + 200;
goalnet.gotoAndStop(2);
_root.bg.shotball.dx = 0;
if (goalonce == 1) {
_parent.goalnet.gotoAndStop(2);
_root.netsound.start();
}
}
};
this.rightbounce.onEnterFrame = function () {
sounda = random(3);
lksound = [_root.lankuangsound, _root.lankuangsound2, _root.lankuangsound3];
if (_root.bg.shotball.hitTest(this) && (_root.bg.shotball.shotpossibility != 0)) {
a = random(10) + 20;
b = random(10) + 20;
_root.hitAndShake(a, b);
if (_root.bg.shotball._y > this._y) {
if (_root.bg.shotball._x > this._x) {
_root.bg.shotball._x = _root.bg.shotball._x + random(10);
}
if (_root.bg.shotball._x <= this._x) {
_root.bg.shotball._x = _root.bg.shotball._x - random(10);
}
_root.bg.shotball.dx = _root.bg.shotball.dx * ((-Math.random()) * 1);
_root.bg.shotball.dy = _root.bg.shotball.dy * ((-Math.random()) * 0.5);
if (sounda == 0) {
lksound[0].start();
}
if (sounda == 1) {
lksound[1].start();
}
if (sounda == 2) {
lksound[2].start();
}
_root.bg.shotball.shotpossibility = random(2);
}
}
};
Instance of Symbol 955 MovieClip in Symbol 956 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.bg.shotball.hitTest(this)) {
a = random(10) + 40;
b = random(10) + 40;
_root.hitAndShake(a, b);
_root.bg.shotball.dx = _root.bg.shotball.dx * -0.5;
_root.bg.shotball.dy = _root.bg.shotball.dy * 1.2;
if (_root.bg.shotball._x >= this._x) {
_root.bg.shotball._x = (this._x + _root.bg.shotball._width) - 3;
}
_root.bounce.start();
}
}
Symbol 957 MovieClip Frame 1
goalonce = 1;
this.goal.onEnterFrame = function () {
if ((((_root.bg.shotball.hitTest(this) && (_root.bg.shotball.dy >= _root.bg.shotball.baller.grav_y)) && (_root.bg.shotball._y >= this._y)) && (_root.bg.shotball._x > 2400)) && (_root.bg.shotball.shotpossibility == 0)) {
_root.bg.shotball._x = _root.bg._width - 316.45;
_root.bg.shotball._y = this._y + 200;
goalnet.gotoAndStop(2);
_root.bg.shotball.dx = 0;
if (goalonce == 1) {
_parent.goalnet.gotoAndStop(2);
_root.netsound.start();
}
}
};
this.rightbounce.onEnterFrame = function () {
sounda = random(3);
lksound = [_root.lankuangsound, _root.lankuangsound2, _root.lankuangsound3];
if (_root.bg.shotball.hitTest(this) && (_root.bg.shotball.shotpossibility != 0)) {
a = random(10) + 20;
b = random(10) + 20;
_root.hitAndShake(a, b);
if (_root.bg.shotball._y > this._y) {
if (_root.bg.shotball._x < 2400) {
_root.bg.shotball._x = _root.bg.shotball._x - random(10);
}
if (_root.bg.shotball._x >= 2400) {
_root.bg.shotball._x = _root.bg.shotball._x + random(10);
}
_root.bg.shotball.dx = _root.bg.shotball.dx * ((-Math.random()) * 1);
_root.bg.shotball.dy = _root.bg.shotball.dy * ((-Math.random()) * 0.5);
if (sounda == 0) {
lksound[0].start();
}
if (sounda == 1) {
lksound[1].start();
}
if (sounda == 2) {
lksound[2].start();
}
_root.bg.shotball.shotpossibility = random(2);
}
}
};
Instance of Symbol 955 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.bg.shotball.hitTest(this)) {
a = random(10) + 40;
b = random(10) + 40;
_root.hitAndShake(a, b);
_root.bg.shotball.dx = _root.bg.shotball.dx * -0.5;
_root.bg.shotball.dy = _root.bg.shotball.dy * 1.2;
if (_root.bg.shotball._x <= 2710) {
_root.bg.shotball._x = (2710 - _root.bg.shotball._width) - 3;
}
_root.bounce.start();
}
}
Symbol 959 MovieClip Frame 1
this._visible = false;
Symbol 960 MovieClip Frame 1
this._visible = false;
Instance of Symbol 952 MovieClip in Symbol 961 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(5000);
}
onClipEvent (enterFrame) {
if (_root.myfield == "left") {
this._name = "playertarget";
}
if (_root.myfield == "right") {
this._name = "comtarget";
}
}
Instance of Symbol 957 MovieClip in Symbol 961 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(5001);
}
onClipEvent (enterFrame) {
if (_root.myfield == "left") {
this._name = "comtarget";
}
if (_root.myfield == "right") {
this._name = "playertarget";
}
}
Instance of Symbol 959 MovieClip "leftbound" in Symbol 961 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this._x + 350) >= _root.bg.controlplayer._x) {
_root.bg.controlplayer._x = this._x + 350;
}
if ((this._x + 350) >= _root.bg.player2._x) {
_root.bg.player2._x = this._x + 350;
}
if ((this._x + 350) >= _root.bg.com1._x) {
_root.bg.com1._x = this._x + 350;
}
if ((this._x + 350) >= _root.bg.com2._x) {
_root.bg.com2._x = this._x + 350;
}
}
Instance of Symbol 959 MovieClip "rightbound" in Symbol 961 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this._x - 330) <= _root.bg.controlplayer._x) {
_root.bg.controlplayer._x = this._x - 330;
}
if ((this._x - 330) <= _root.bg.player2._x) {
_root.bg.player2._x = this._x - 330;
}
if ((this._x - 330) <= _root.bg.com1._x) {
_root.bg.com1._x = this._x - 330;
}
if ((this._x - 330) <= _root.bg.com2._x) {
_root.bg.com2._x = this._x - 330;
}
}
Symbol 965 MovieClip Frame 1
stop();
Symbol 972 Button
on (release) {
stopAllSounds();
_root.unit1.removeMovieClip();
_root.unit2.removeMovieClip();
_root.cancelsound.start();
_root.attachMovie("fade in", "mainmenu", 200);
}
Symbol 979 Button
on (release) {
_root.unit1.removeMovieClip();
_root.unit2.removeMovieClip();
_root.entersound.start();
_root.attachMovie("stadiumselectionmenu", "stadiumselectionmenu", 200);
}
Symbol 985 MovieClip Frame 45
stop();
Symbol 994 MovieClip Frame 1
_quality = "LOW";
Symbol 998 MovieClip Frame 1
specialtimer = 500 + random(2000);
special = true;
ctrtimer = 10;
onEnterFrame = function () {
if ((Math.abs(_root.bg.controlplayer._x - _root.bg.comtarget._x) < 800) && (_root.ballpos == "controlplayer")) {
ctrtimer--;
}
if ((Math.abs(_root.bg.com1._x - _root.bg.playertarget._x) < 800) && (_root.ballpos == "com1")) {
ctrtimer--;
}
if ((Math.abs(_root.bg.com2._x - _root.bg.playertarget._x) < 800) && (_root.ballpos == "com2")) {
ctrtimer--;
}
if (ctrtimer == 0) {
_root.ctr_aggressive.start();
}
_root.ctr_aggressive.onSoundComplete = function () {
ctrtimer = 10;
};
};
Symbol 998 MovieClip Frame 2
stop();
Instance of Symbol 131 MovieClip [blackmask] in Symbol 998 MovieClip Frame 2
onClipEvent (load) {
oldballposer = _root.ballpos;
callinterval = 0;
}
onClipEvent (enterFrame) {
if (_root.maxtime == _root.initialtime) {
_parent.gotoAndStop("ready");
}
if (_root.bg.controlplayer._currentframe == 15) {
_parent.gotoAndStop("shot");
}
if (_root.bg.com1._currentframe == 15) {
_parent.gotoAndStop("shot");
}
if (_root.bg.com2._currentframe == 15) {
_parent.gotoAndStop("shot");
}
if (_root.ruler._currentframe == 5) {
_parent.gotoAndStop("goodshot");
}
if (_root.ruler._currentframe == 5) {
_parent.gotoAndStop("goodshot");
}
callinterval--;
if ((oldballposer != _root.ballpos) && (callinterval < 0)) {
_root.callname.call(obj, obj);
oldballposer = _root.ballpos;
callinterval = 30;
}
if (_parent.special == true) {
_parent.specialtimer--;
if (_parent.specialtimer == 0) {
_parent.gotoAndStop("p1special");
}
if (_parent.specialtimer == -100) {
_parent.gotoAndStop("p2special");
}
if (_parent.specialtimer == -200) {
_parent.gotoAndStop("c1special");
}
if (_parent.specialtimer == -300) {
_parent.gotoAndStop("c2special");
}
}
if (_root.ruler.nothingMC.timerstart == true) {
_parent.gotoAndStop("out");
}
if (((_root.maxtime == 16) && (_root.initialcourts == _root.courts)) && (_root.ruler.nothingMC.timerstart == false)) {
_parent.gotoAndStop("15secleft");
}
if (((_root.maxtime == 5) && (_root.initialcourts == _root.courts)) && (_root.ruler.nothingMC.timerstart == false)) {
_parent.gotoAndStop("5secleft");
}
if ((_root.maxtime == 0) && (_root.ruler._currentframe == 4)) {
_parent.gotoAndStop("matchover");
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 998 MovieClip Frame 3
onClipEvent (load) {
timer = 50;
shotrandom = random(3);
if (shotrandom == 0) {
_root.ctr_shot1.start();
}
if (shotrandom == 1) {
_root.ctr_shot2.start();
}
}
onClipEvent (enterFrame) {
timer--;
if (timer <= 0) {
_parent.gotoAndStop("nothing");
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 998 MovieClip Frame 4
onClipEvent (load) {
if (_root.bg.controlplayer.zxz == "yes") {
_root.ctr_zxz.start();
}
if (_root.bg.controlplayer.fu == "yes") {
_root.ctr_fu.start();
}
if (_root.bg.controlplayer.wzc == "yes") {
_root.ctr_wzc.start();
} else {
_root.ctr_vacant.start();
}
}
onClipEvent (enterFrame) {
_root.ctr_zxz.onSoundComplete = function () {
_parent.gotoAndStop("nothing");
};
_root.ctr_fu.onSoundComplete = function () {
_parent.gotoAndStop("nothing");
};
_root.ctr_wzc.onSoundComplete = function () {
_parent.gotoAndStop("nothing");
};
_root.ctr_vacant.onSoundComplete = function () {
_parent.gotoAndStop("nothing");
};
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 998 MovieClip Frame 5
onClipEvent (load) {
if (_root.bg.player2.zxz == "yes") {
_root.ctr_zxz.start();
}
if (_root.bg.player2.fu == "yes") {
_root.ctr_fu.start();
}
if (_root.bg.player2.wzc == "yes") {
_root.ctr_wzc.start();
} else {
_root.ctr_vacant.start();
}
}
onClipEvent (enterFrame) {
_root.ctr_zxz.onSoundComplete = function () {
_parent.gotoAndStop("nothing");
};
_root.ctr_fu.onSoundComplete = function () {
_parent.gotoAndStop("nothing");
};
_root.ctr_wzc.onSoundComplete = function () {
_parent.gotoAndStop("nothing");
};
_root.ctr_vacant.onSoundComplete = function () {
_parent.gotoAndStop("nothing");
};
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 998 MovieClip Frame 6
onClipEvent (load) {
if (_root.bg.com1.zxz == "yes") {
_root.ctr_zxz.start();
}
if (_root.bg.com1.fu == "yes") {
_root.ctr_fu.start();
}
if (_root.bg.com1.wzc == "yes") {
_root.ctr_wzc.start();
} else {
_root.ctr_vacant.start();
}
}
onClipEvent (enterFrame) {
_root.ctr_zxz.onSoundComplete = function () {
_parent.gotoAndStop("nothing");
};
_root.ctr_fu.onSoundComplete = function () {
_parent.gotoAndStop("nothing");
};
_root.ctr_wzc.onSoundComplete = function () {
_parent.gotoAndStop("nothing");
};
_root.ctr_vacant.onSoundComplete = function () {
_parent.gotoAndStop("nothing");
};
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 998 MovieClip Frame 7
onClipEvent (load) {
if (_root.bg.com2.zxz == "yes") {
_root.ctr_zxz.start();
}
if (_root.bg.com2.fu == "yes") {
_root.ctr_fu.start();
}
if (_root.bg.com2.wzc == "yes") {
_root.ctr_wzc.start();
} else {
_root.ctr_vacant.start();
}
}
onClipEvent (enterFrame) {
_root.ctr_zxz.onSoundComplete = function () {
_parent.special = false;
_parent.gotoAndStop("nothing");
};
_root.ctr_wzc.onSoundComplete = function () {
_parent.special = false;
_parent.gotoAndStop("nothing");
};
_root.ctr_fu.onSoundComplete = function () {
_parent.special = false;
_parent.gotoAndStop("nothing");
};
_root.ctr_vacant.onSoundComplete = function () {
_parent.special = false;
_parent.gotoAndStop("nothing");
};
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 998 MovieClip Frame 8
onClipEvent (load) {
shotrandom = random(4);
if (shotrandom == 0) {
_root.ctr_goodshot1.start();
}
if (shotrandom == 1) {
_root.ctr_goodshot2.start();
}
if (shotrandom == 2) {
_root.ctr_goodshot3.start();
}
}
onClipEvent (enterFrame) {
if (_root.ruler._currentframe != 5) {
_parent.gotoAndStop("nothing");
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 998 MovieClip Frame 9
onClipEvent (load) {
timer = 50;
if (_root.initialcourts == 1) {
courtnum = "ctr-firstcourt";
}
if (_root.initialcourts == 2) {
courtnum = "ctr-secondcourt";
}
if (_root.initialcourts == 3) {
courtnum = "ctr-thirdcourt";
}
if (_root.initialcourts == 4) {
courtnum = "ctr-fourthcourt";
}
var courtvoice = new Sound();
courtvoice.attachSound(courtnum);
}
onClipEvent (enterFrame) {
timer--;
if (timer == 0) {
_root.ctr_ready.start();
}
_root.ctr_ready.onSoundComplete = function () {
courtvoice.start();
};
if (timer <= -300) {
_parent.gotoAndStop("nothing");
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 998 MovieClip Frame 10
onClipEvent (load) {
function callback1() {
if (_root.initialcourts <= _root.courts) {
_root.ctr_winover.start();
}
if (_root.initialcourts > _root.courts) {
_root.ctr_finalwinover.start();
}
}
if (_root.initialcourts == 2) {
_root.ctr_firstcourt.start();
}
if ((_root.initialcourts == 3) && (_root.initialcourts <= _root.courts)) {
_root.ctr_secondcourt.start();
}
if ((_root.initialcourts == 4) && (_root.initialcourts <= _root.courts)) {
_root.ctr_thirdcourt.start();
}
if (_root.initialcourts > _root.courts) {
_root.ctr_vacant.start();
}
}
onClipEvent (enterFrame) {
_root.ctr_firstcourt.onSoundComplete = function () {
_root.ctr_matchover.start();
};
_root.ctr_secondcourt.onSoundComplete = function () {
_root.ctr_matchover.start();
};
_root.ctr_thirdcourt.onSoundComplete = function () {
_root.ctr_matchover.start();
};
_root.ctr_vacant.onSoundComplete = function () {
_root.ctr_4thquarterover.start();
};
_root.ctr_matchover.onSoundComplete = function () {
if (_root.playerscore > _root.comscore) {
var winname2 = new Sound();
winname2.attachSound("callname " + _root.bg.waitp2.playername);
var _local2 = new Sound();
_local2.attachSound("callname " + _root.bg.waitcp.playername);
_local2.start();
_local2.onSoundComplete = function () {
winname2.start();
};
winname2.onSoundComplete = callback1;
}
if (_root.playerscore <= _root.comscore) {
var winname2 = new Sound();
winname2.attachSound("callname " + _root.bg.waitc2.playername);
var _local2 = new Sound();
_local2.attachSound("callname " + _root.bg.waitc1.playername);
_local2.start();
_local2.onSoundComplete = function () {
winname2.start();
};
winname2.onSoundComplete = callback1;
}
};
_root.ctr_4thquarterover.onSoundComplete = function () {
_root.ctr_final.start();
};
_root.ctr_final.onSoundComplete = function () {
if (_root.playerscore > _root.comscore) {
var winname2 = new Sound();
winname2.attachSound("callname " + _root.bg.waitp2.playername);
var _local2 = new Sound();
_local2.attachSound("callname " + _root.bg.waitcp.playername);
_local2.start();
_local2.onSoundComplete = function () {
winname2.start();
};
winname2.onSoundComplete = callback1;
}
if (_root.playerscore <= _root.comscore) {
var winname2 = new Sound();
winname2.attachSound("callname " + _root.bg.waitc2.playername);
var _local2 = new Sound();
_local2.attachSound("callname " + _root.bg.waitc1.playername);
_local2.start();
_local2.onSoundComplete = function () {
winname2.start();
};
winname2.onSoundComplete = callback1;
}
};
if (_root.maxtime != 0) {
_parent.gotoAndStop("nothing");
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 998 MovieClip Frame 11
onClipEvent (load) {
timer = 100;
_root.ctr_15secleft.start();
}
onClipEvent (enterFrame) {
timer--;
if (timer == 0) {
_parent.gotoAndStop("nothing");
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 998 MovieClip Frame 12
onClipEvent (load) {
_root.ctr_5secleft.start();
}
onClipEvent (enterFrame) {
_root.ctr_5secleft.onSoundComplete = function () {
if (Math.abs(_root.playerscore - _root.comscore) <= 5) {
var _local3 = new Sound();
_local3.attachSound("ctr-ifchance");
_local3.start();
_local3.onSoundComplete = function () {
_parent.gotoAndStop("nothing");
};
}
if (Math.abs(_root.playerscore - _root.comscore) > 5) {
var _local3 = new Sound();
_local3.attachSound("ctr-nochance");
_local3.start();
_local3.onSoundComplete = function () {
_parent.gotoAndStop("nothing");
};
}
};
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 998 MovieClip Frame 13
onClipEvent (load) {
timer = 100;
a = random(4);
if (a == 0) {
_root.ctr_out1.start();
}
if (a == 1) {
_root.ctr_out2.start();
}
}
onClipEvent (enterFrame) {
timer--;
if (timer < 0) {
_parent.gotoAndStop("nothing");
}
}
Symbol 1000 MovieClip Frame 1
this._visible = false;
stop();
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1000 MovieClip Frame 1
onClipEvent (load) {
_root.com1walkleftscroll = false;
_root.com1walkrightscroll = false;
_root.com1runleftscroll = false;
_root.com1runrightscroll = false;
a = random(3);
_root.bg.com1.gotoAndStop("stand nothing");
}
onClipEvent (enterFrame) {
defendrandom = random(3);
if (_root.ballpos == "com2") {
if (Math.abs(_root.bg.com1._x - _root.bg.playertarget._x) < 500) {
_root.bg.com1.gotoAndStop("walk");
if (_root.bg.com1._x > _root.bg.playertarget._x) {
_root.bg.com1._xscale = 100;
_root.bg.com1._x = _root.bg.com1._x - _root.bg.com1.walkspeed;
}
if (_root.bg.com1._x <= _root.bg.playertarget._x) {
_root.bg.com1._xscale = -100;
_root.bg.com1._x = _root.bg.com1._x + _root.bg.com1.walkspeed;
}
}
if (Math.abs(_root.bg.com1._x - _root.bg.playertarget._x) >= 500) {
_root.bg.com1.gotoAndStop("run nothing");
if (_root.bg.com1._x > _root.bg.playertarget._x) {
_root.bg.com1._xscale = 100;
_root.bg.com1._x = _root.bg.com1._x - _root.bg.com1.runspeed;
}
if (_root.bg.com1._x <= _root.bg.playertarget._x) {
_root.bg.com1._xscale = -100;
_root.bg.com1._x = _root.bg.com1._x + _root.bg.com1.runspeed;
}
}
}
if (_root.bg.ball._name == "ball") {
if (_root.bg.com1.lifebar.life < 400) {
_root.bg.com1.gotoAndStop("walk");
if (_root.bg.com1._x > _root.bg.ball._x) {
_root.bg.com1._xscale = 100;
_root.bg.com1._x = _root.bg.com1._x - _root.bg.com1.walkspeed;
}
if (_root.bg.com1._x <= _root.bg.ball._x) {
_root.bg.com1._xscale = -100;
_root.bg.com1._x = _root.bg.com1._x + _root.bg.com1.walkspeed;
}
}
if (_root.bg.com1.lifebar.life >= 400) {
_root.bg.com1.gotoAndStop("run nothing");
if (_root.bg.com1._x > _root.bg.ball._x) {
_root.bg.com1._xscale = 100;
_root.bg.com1._x = _root.bg.com1._x - _root.bg.com1.runspeed;
}
if (_root.bg.com1._x <= _root.bg.ball._x) {
_root.bg.com1._xscale = -100;
_root.bg.com1._x = _root.bg.com1._x + _root.bg.com1.runspeed;
}
}
}
if (_root.ballpos == "controlplayer") {
if (_root.bg.com1._x <= _root.bg.controlplayer._x) {
_root.bg.com1._xscale = -100;
}
if (_root.bg.com1._x > _root.bg.controlplayer._x) {
_root.bg.com1._xscale = 100;
}
if (defendrandom == 0) {
if (_root.bg.com1.hitTest(_root.bg.controlplayer)) {
_parent.gotoAndStop("stand steal");
}
}
if ((a != 0) && (defendrandom != 0)) {
if (((_root.myfield == "right") && (Math.abs(_root.bg.com1._x - _root.bg.controlplayer._x) < 150)) && (_root.bg.com1._x < _root.bg.controlplayer._x)) {
_parent.gotoAndStop("dodge guard");
}
if (((_root.myfield == "left") && (Math.abs(_root.bg.com1._x - _root.bg.controlplayer._x) < 150)) && (_root.bg.com1._x > _root.bg.controlplayer._x)) {
_parent.gotoAndStop("dodge guard");
}
}
if (_root.com2AI._currentframe == 3) {
_parent.gotoAndStop("help guard");
}
if ((_root.myfield == "right") && (_root.bg.com1._x > (_root.bg.controlplayer._x - 10))) {
_root.bg.com1.gotoAndStop("run nothing");
_root.bg.com1._xscale = 100;
_root.bg.com1._x = _root.bg.com1._x - _root.bg.com1.runspeed;
}
if ((_root.myfield == "right") && (_root.bg.com1._x < (_root.bg.controlplayer._x - 10))) {
_root.bg.com1.gotoAndStop("walk");
_root.bg.com1._xscale = -100;
_root.bg.com1._x = _root.bg.com1._x + _root.bg.com1.walkspeed;
}
if ((_root.myfield == "left") && (_root.bg.com1._x < (_root.bg.controlplayer._x + 10))) {
_root.bg.com1.gotoAndStop("run nothing");
_root.bg.com1._xscale = -100;
_root.bg.com1._x = _root.bg.com1._x + _root.bg.com1.runspeed;
}
if ((_root.myfield == "left") && (_root.bg.com1._x > (_root.bg.controlplayer._x + 10))) {
_root.bg.com1.gotoAndStop("walk");
_root.bg.com1._xscale = 100;
_root.bg.com1._x = _root.bg.com1._x - _root.bg.com1.walkspeed;
}
}
if (_root.bg.shotball._name == "shotball") {
if (_root.bg.com1._x < _root.bg.shotball._x) {
_root.bg.com1.gotoAndStop("run nothing");
_root.bg.com1._xscale = -100;
_root.bg.com1._x = _root.bg.com1._x + _root.bg.com1.runspeed;
}
if (_root.bg.com1._x > _root.bg.shotball._x) {
_root.bg.com1.gotoAndStop("run nothing");
_root.bg.com1._xscale = 100;
_root.bg.com1._x = _root.bg.com1._x - _root.bg.com1.runspeed;
}
}
if ((Math.abs(_root.bg.ball._x - _root.bg.com1._x) < 100) && (_root.bg.ball._y < (_root.bg.com1._y - 300))) {
_parent.gotoAndStop("jump");
}
if ((((Math.abs(_root.bg.controlplayer._x - _root.bg.com1._x) < 200) && (_root.bg.com1._x < _root.bg.controlplayer._x)) && (_root.myfield == "right")) && (_root.bg.controlplayer._currentframe == 15)) {
_parent.gotoAndStop("jump");
}
if ((((Math.abs(_root.bg.controlplayer._x - _root.bg.com1._x) < 200) && (_root.bg.com1._x > _root.bg.controlplayer._x)) && (_root.myfield == "left")) && (_root.bg.controlplayer._currentframe == 15)) {
_parent.gotoAndStop("jump");
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1000 MovieClip Frame 2
onClipEvent (load) {
_root.bg.com1.gotoAndStop("jump");
blockcount = 1;
timer = random(10) + 5;
}
onClipEvent (enterFrame) {
if (_root.bg.com1.jump.ready == true) {
timer--;
if (((_root.bg.controlplayer._currentframe == 15) && (blockcount == 1)) && (timer < 0)) {
_root.bg.com1.jump.gotoAndStop("block");
blockcount = 2;
}
if ((_root.ballpos == null) && (_root.bg.controlplayer._currentframe != 15)) {
_root.bg.com1.jump.gotoAndStop("guard");
}
}
if ((_root.bg.ball._x > _root.bg.com1._x) && (_root.bg.com1.jump.ready == true)) {
_root.bg.com1._x = _root.bg.com1._x + 7;
}
if ((_root.bg.ball._x < _root.bg.com1._x) && (_root.bg.com1.jump.ready == true)) {
_root.bg.com1._x = _root.bg.com1._x - 7;
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1000 MovieClip Frame 3
onClipEvent (load) {
a = random(3);
_root.bg.com1.gotoAndStop("dodge guard");
player1hit = false;
player2hit = false;
}
onClipEvent (enterFrame) {
if (_root.myfield == "right") {
_root.bg.com1._xscale = -100;
}
if (_root.myfield == "left") {
_root.bg.com1._xscale = 100;
}
if (Math.abs(_root.bg.com1._x - _root.bg.controlplayer._x) > 150) {
_parent.gotoAndStop("stand nothing");
}
}
onClipEvent (enterFrame) {
if (_root.bg.com1.guard.pd.hitTest(_root.bg.controlplayer) && (player2hit == false)) {
player1hit = true;
if (_root.bg.controlplayer._x <= _root.bg.com1._x) {
_root.bg.controlplayer._x = _root.bg.controlplayer._x - _root.bg.controlplayer.runspeed;
}
if (_root.bg.controlplayer._x > _root.bg.com1._x) {
_root.bg.controlplayer._x = _root.bg.controlplayer._x + _root.bg.controlplayer.runspeed;
}
}
if (_root.bg.com1.guard.pd.hitTest(_root.bg.player2) && (player1hit == false)) {
player2hit = true;
if (_root.bg.player2._x <= _root.bg.com1._x) {
_root.bg.player2._x = _root.bg.player2._x - _root.bg.player2.runspeed;
}
if (_root.bg.player2._x > _root.bg.com1._x) {
_root.bg.player2._x = _root.bg.player2._x + _root.bg.player2.runspeed;
}
}
if ((_root.bg.controlplayer._currentframe == 15) && (a <= 1)) {
_parent.gotoAndStop("jump");
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1000 MovieClip Frame 4
onClipEvent (load) {
timer = random(10) + 50;
_root.bg.com1.gotoAndStop("run demand");
}
onClipEvent (enterFrame) {
timer--;
if (_root.bg.com1._x > _root.bg.playertarget._x) {
_root.bg.com1._x = _root.bg.com1._x - (_root.bg.com1.runspeed - 3);
_root.bg.com1._xscale = 100;
}
if (_root.bg.com1._x < _root.bg.playertarget._x) {
_root.bg.com1._x = _root.bg.com1._x + (_root.bg.com1.runspeed - 3);
_root.bg.com1._xscale = -100;
}
if (timer == 0) {
_parent.gotoAndStop("stand nothing");
}
}
Symbol 1000 MovieClip Frame 5
speech.call(obj, obj);
voiceArray[5].start();
voiceArray.stop(voiceArray[7]);
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1000 MovieClip Frame 5
onClipEvent (load) {
if (_root.ballpos != "com1") {
_root.bg.com1.gotoAndStop("exaust");
}
if (_root.ballpos == "com1") {
_root.bg.com1.gotoAndStop("run exaust");
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1000 MovieClip Frame 6
onClipEvent (load) {
_root.bg.com1.gotoAndStop("pick ball");
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1000 MovieClip Frame 7
onClipEvent (load) {
_root.bg.com1.gotoAndStop("stand demand");
}
onClipEvent (enterFrame) {
if ((_root.comrelation == "c2c1") && (_root.ballpos == "com2")) {
_root.bg.com1._xscale = -100;
}
if ((_root.playerrelation == "c1c2") && (_root.ballpos == "com2")) {
_root.bg.com1._xscale = 100;
} else {
_parent.gotoAndStop("stand nothing");
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1000 MovieClip Frame 8
onClipEvent (load) {
a = random(2);
if (a != 1) {
_root.bg.com1.gotoAndStop("stand steal");
}
if (a == 1) {
_parent.gotoAndStop("stand steal 2");
}
stealonce = false;
}
onClipEvent (enterFrame) {
if (stealonce == false) {
if ((((((_root.bg.com1.stealer.pd.hitTest(_root.bg.controlplayer) && (_root.ballpos == "controlplayer")) && (_root.bg.controlplayer._y == 580)) && (_root.bg.controlplayer._currentframe != 20)) && (_root.bg.controlplayer._currentframe != 22)) && (_root.bg.controlplayer._currentframe != 15)) && (_root.bg.controlplayer._currentframe != 42)) {
_root.bg.controlplayer.gotoAndStop("be hitted");
stealonce = true;
}
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1000 MovieClip Frame 9
onClipEvent (load) {
_root.bg.com1.gotoAndStop("stand steal 2");
stealonce = false;
}
onClipEvent (enterFrame) {
if (stealonce == false) {
if ((((((_root.bg.com1.stealer2.pd.hitTest(_root.bg.controlplayer) && (_root.ballpos == "controlplayer")) && (_root.bg.controlplayer._y == 580)) && (_root.bg.controlplayer._currentframe != 20)) && (_root.bg.controlplayer._currentframe != 22)) && (_root.bg.controlplayer._currentframe != 15)) && (_root.bg.controlplayer._currentframe != 42)) {
_root.bg.controlplayer.gotoAndStop("be hitted");
stealonce = true;
}
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1000 MovieClip Frame 10
onClipEvent (load) {
_root.bg.com1.gotoAndStop("stand ball");
_root.com1walkleftscroll = false;
_root.com1walkrightscroll = false;
_root.com1runleftscroll = false;
_root.com1runrightscroll = false;
distance = random(200) + 200;
shotdistance = random(300) + 200;
passdistance = random(2000);
a = random(3);
}
onClipEvent (enterFrame) {
if ((_root.bg.com1._x < _root.bg.playertarget._x) && (Math.abs(_root.bg.com1._x - _root.bg.playertarget._x) < distance)) {
_root.bg.com1._xscale = -100;
_root.bg.com1.gotoAndStop("ball walk");
_root.bg.com1._x = _root.bg.com1._x + _root.bg.com1.walkspeed;
}
if ((_root.bg.com1._x < _root.bg.playertarget._x) && (Math.abs(_root.bg.com1._x - _root.bg.playertarget._x) >= distance)) {
_root.bg.com1._xscale = -100;
_root.bg.com1.gotoAndStop("run ball");
_root.bg.com1._x = _root.bg.com1._x + (_root.bg.com1.runspeed - 2);
}
if ((_root.bg.com1._x > _root.bg.playertarget._x) && (Math.abs(_root.bg.com1._x - _root.bg.playertarget._x) < distance)) {
_root.bg.com1._xscale = 100;
_root.bg.com1.gotoAndStop("ball walk");
_root.bg.com1._x = _root.bg.com1._x - _root.bg.com1.walkspeed;
}
if ((_root.bg.com1._x > _root.bg.playertarget._x) && (Math.abs(_root.bg.com1._x - _root.bg.playertarget._x) >= distance)) {
_root.bg.com1._xscale = 100;
_root.bg.com1.gotoAndStop("run ball");
_root.bg.com1._x = _root.bg.com1._x - (_root.bg.com1.runspeed - 2);
}
if ((Math.abs(_root.bg.com2._x - _root.bg.playertarget._x) <= passdistance) && (Math.abs(_root.bg.com1._x - _root.bg.playertarget._x) > passdistance)) {
_parent.gotoAndStop("straight pass");
}
if (((((_root.bg.controlplayer._x > _root.bg.com1._x) && (_root.bg.player2._x > _root.bg.com1._x)) && (_root.myfield == "right")) && (Math.abs(_root.bg.com1._x - _root.bg.playertarget._x) < 900)) && (Math.abs(_root.bg.com1._x - _root.bg.playertarget._x) > 700)) {
_parent.gotoAndStop("shot");
}
if (((((_root.bg.controlplayer._x < _root.bg.com1._x) && (_root.bg.player2._x < _root.bg.com1._x)) && (_root.myfield == "left")) && (Math.abs(_root.bg.com1._x - _root.bg.playertarget._x) < 900)) && (Math.abs(_root.bg.com1._x - _root.bg.playertarget._x) > 700)) {
_parent.gotoAndStop("shot");
}
if (Math.abs(_root.bg.com1._x - _root.bg.playertarget._x) < 200) {
_parent.gotoAndStop("dunk");
}
if ((Math.abs(_root.bg.com1._x - _root.bg.playertarget._x) < shotdistance) && (a <= 1)) {
_parent.gotoAndStop("shot");
}
if ((_root.maxtime <= 2) && (_root.comscore <= _root.playerscore)) {
_parent.gotoAndStop("shot");
}
if (((Math.abs(_root.bg.com1._x - _root.bg.playertarget._x) < (shotdistance + 200)) && (_root.bg.com1._currentframe == 14)) && (a == 2)) {
_parent.gotoAndStop("3step");
}
if (a >= 1) {
if ((_root.bg.controlplayer._currentframe == 17) || (((_root.bg.controlplayer._currentframe == 18) && (_root.bg.controlplayer.hitTest(_root.bg.com1))) && (_root.bg.com1._currentframe != 14))) {
_parent.gotoAndStop("dodge");
}
if ((_root.bg.player2._currentframe == 17) || (((_root.bg.player2._currentframe == 18) && (_root.bg.player2.hitTest(_root.bg.com1))) && (_root.bg.com1._currentframe != 14))) {
_parent.gotoAndStop("dodge");
}
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1000 MovieClip Frame 11
onClipEvent (load) {
_root.bg.com1.gotoAndStop("receive ball");
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1000 MovieClip Frame 12
onClipEvent (load) {
distance = random(10);
_root.bg.com1.gotoAndStop("be hitted");
}
onClipEvent (enterFrame) {
distance--;
if (distance <= 0) {
distance = 0;
}
if (_root.bg.com1._xscale == 100) {
_root.bg.com1._x = _root.bg.com1._x + distance;
}
if (_root.bg.com1._xscale == -100) {
_root.bg.com1._x = _root.bg.com1._x - distance;
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1000 MovieClip Frame 13
onClipEvent (load) {
_root.bg.com1.gotoAndStop("high receive ball");
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1000 MovieClip Frame 14
onClipEvent (load) {
_root.bg.com1.gotoAndStop("ball hitted");
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1000 MovieClip Frame 15
onClipEvent (load) {
if (Math.abs(_root.bg.com1._x - _root.bg.playertarget._x) >= 200) {
_root.bg.com1.gotoAndStop("shot long");
}
if (Math.abs(_root.bg.com1._x - _root.bg.playertarget._x) > 900) {
_root.bg.com1.gotoAndStop("shot long far");
}
if (Math.abs(_root.bg.com1._x - _root.bg.playertarget._x) < 200) {
_root.bg.com1.gotoAndStop("shot short");
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1000 MovieClip Frame 16
onClipEvent (load) {
a = random(3);
_root.bg.com1.gotoAndStop(random(4) + 31);
_root.celebrationchara = "com";
if ((_root.bg.com1.yb == "yes") && (a != 2)) {
_root.bg.com1.gotoAndStop("celebration yb");
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1000 MovieClip Frame 17
onClipEvent (load) {
if (Math.abs(_root.bg.com1._x - _root.bg.playertarget._x) < 200) {
_parent.nextFrame();
} else {
_root.bg.com1.gotoAndStop("3step");
}
distance = Math.abs(_root.bg.com1._x - _root.bg.playertarget._x) / 4;
if (distance <= 5) {
distance = 5;
}
if (distance >= 20) {
distance = 20;
}
}
onClipEvent (enterFrame) {
if (_root.bg.com1._xscale == 100) {
_root.bg.com1._x = _root.bg.com1._x - distance;
}
if (_root.bg.com1._xscale == -100) {
_root.bg.com1._x = _root.bg.com1._x + distance;
}
distance = distance - 0.5;
if (distance <= 3) {
distance = 3;
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1000 MovieClip Frame 18
onClipEvent (load) {
_root.bg.com1.gotoAndStop("3stepshot");
}
onClipEvent (enterFrame) {
if (_root.bg.com1._x > _root.bg.playertarget._x) {
_root.bg.com1._xscale = 100;
}
if (_root.bg.com1._x <= _root.bg.playertarget._x) {
_root.bg.com1._xscale == -100;
}
if (_root.bg.com1._xscale == 100) {
_root.bg.com1._x = _root.bg.com1._x - 5;
}
if (_root.bg.com1._xscale == -100) {
_root.bg.com1._x = _root.bg.com1._x + 5;
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1000 MovieClip Frame 19
onClipEvent (load) {
distance = random(200) + 500;
a = random(3);
if (a == 0) {
_parent.gotoAndStop("stand ball");
}
if (a != 0) {
if (Math.abs(_root.bg.com1._x - _root.bg.com2._x) > distance) {
_parent.gotoAndStop("long pass");
}
if (_root.bg.com2._x > _root.bg.com1._x) {
_root.bg.com1._xscale = -100;
_root.bg.com1.gotoAndStop("straight pass");
}
if (_root.bg.com2._x < _root.bg.com1._x) {
_root.bg.com1._xscale = 100;
_root.bg.com1.gotoAndStop("straight pass");
}
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1000 MovieClip Frame 20
onClipEvent (load) {
if (Math.abs(_root.bg.com1._x - _root.bg.com2._x) < 600) {
if (_root.bg.com2._x > _root.bg.com1._x) {
_root.bg.com1._xscale = -100;
_root.bg.com1.gotoAndStop("long pass near");
}
if (_root.bg.com2._x < _root.bg.com1._x) {
_root.bg.com1._xscale = 100;
_root.bg.com1.gotoAndStop("long pass near");
}
}
if (Math.abs(_root.bg.com1._x - _root.bg.com2._x) >= 600) {
if (_root.bg.com2._x > _root.bg.com1._x) {
_root.bg.com1._xscale = -100;
_root.bg.com1.gotoAndStop("long pass");
}
if (_root.bg.com2._x < _root.bg.com1._x) {
_root.bg.com1._xscale = 100;
_root.bg.com1.gotoAndStop("long pass");
}
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1000 MovieClip Frame 21
onClipEvent (load) {
if ((((_root.bg.com1.ym == "yes") || (_root.bg.com1.hf == "yes")) || (_root.bg.com1.fu == "yes")) || (_root.bg.com1.specialshoe == "shoe07")) {
_root.bg.com1.gotoAndStop("dunk1");
if (_root.myfield == "right") {
_root.bg.com1._xscale = -100;
}
if (_root.myfield == "left") {
_root.bg.com1._xscale == 100;
}
} else {
_parent.gotoAndStop("3step");
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1000 MovieClip Frame 22
onClipEvent (load) {
_root.bg.com1.gotoAndStop("depressed");
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1000 MovieClip Frame 23
onClipEvent (load) {
_root.ballpos = null;
_root.bg.com1.gotoAndStop("dodge stand");
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1000 MovieClip Frame 24
onClipEvent (load) {
_root.com1walkleftscroll = false;
_root.com1walkrightscroll = false;
_root.com1runleftscroll = false;
_root.com1runrightscroll = false;
distance = random(500);
timer = random(100);
a = random(5);
b = random(2);
if (a == 0) {
_root.bg.com1.gotoAndStop("ball up stand");
}
if (a == 1) {
_root.bg.com1.gotoAndStop("ball dodge stand");
}
if (a > 1) {
_root.bg.com1.gotoAndStop("ball control dodge");
}
}
onClipEvent (enterFrame) {
timer--;
if (a > 1) {
if (_root.bg.playertarget._x > _root.bg.com1._x) {
if (b != 0) {
_root.bg.com1._xscale = -100;
_root.bg.com1.balldodge.gotoAndStop(1);
_root.bg.com1._x = _root.bg.com1._x + (_root.bg.com1.walkspeed - 2);
_root.com1walkrightscroll = true;
_root.com1walkleftscroll = false;
}
if (b == 0) {
_root.bg.com1._xscale = -100;
_root.bg.com1.balldodge.gotoAndStop(2);
_root.bg.com1._x = _root.bg.com1._x - (_root.bg.com1.walkspeed - 2);
_root.com1walkleftscroll = true;
_root.com1walkrightscroll = false;
}
}
if (_root.bg.playertarget._x < _root.bg.com1._x) {
if (b != 0) {
_root.bg.com1._xscale = 100;
_root.bg.com1.balldodge.gotoAndStop(1);
_root.bg.com1._x = _root.bg.com1._x - (_root.bg.com1.walkspeed - 2);
_root.com1walkleftscroll = true;
_root.com1walkrightscroll = false;
}
if (b == 0) {
_root.bg.com1._xscale = 100;
_root.bg.com1.balldodge.gotoAndStop(2);
_root.bg.com1._x = _root.bg.com1._x + (_root.bg.com1.walkspeed - 2);
_root.com1walkrightscroll = true;
_root.com1walkleftscroll = false;
}
}
}
if (b == 0) {
if (((_root.bg.com1.balldodge._currentframe == 1) && (_root.bg.controlplayer.hitTest(_root.bg.com1))) && (_root.bg.controlplayer._currentframe == 9)) {
_parent.gotoAndStop("long pass");
}
if (((_root.bg.com1.balldodge._currentframe == 1) && (_root.bg.player2.hitTest(_root.bg.com1))) && (_root.bg.player2._currentframe == 9)) {
_parent.gotoAndStop("long pass");
}
}
if ((_root.maxtime <= 2) && (_root.comscore <= _root.playerscore)) {
_parent.gotoAndStop("shot");
}
if ((timer < 0) || (Math.abs(_root.bg.playertarget._x - _root.bg.com1._x) < distance)) {
_parent.gotoAndStop("stand ball");
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1000 MovieClip Frame 25
onClipEvent (load) {
timer = random(100) + 20;
}
onClipEvent (enterFrame) {
timer--;
if (_root.bg.player2._x >= (_root.bg.com1._x + 100)) {
_root.bg.com1.gotoAndStop("run nothing");
_root.bg.com1._xscale = -100;
_root.bg.com1._x = _root.bg.com1._x + _root.bg.com1.runspeed;
}
if (_root.bg.player2._x < (_root.bg.com1._x - 100)) {
_root.bg.com1.gotoAndStop("run nothing");
_root.bg.com1._xscale = 100;
_root.bg.com1._x = _root.bg.com1._x - _root.bg.com1.runspeed;
}
if (timer < 0) {
_parent.gotoAndStop("stand nothing");
}
}
Symbol 1002 MovieClip Frame 1
_root.com2AI._visible = false;
stop();
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1002 MovieClip Frame 1
onClipEvent (load) {
_root.com2walkleftscroll = false;
_root.com2walkrightscroll = false;
_root.com2runleftscroll = false;
_root.com2runrightscroll = false;
a = random(3);
_root.bg.com2.gotoAndStop("stand nothing");
}
onClipEvent (enterFrame) {
defendrandom = random(3);
if (_root.ballpos == "com1") {
if (Math.abs(_root.bg.com2._x - _root.bg.playertarget._x) < 500) {
_root.bg.com2.gotoAndStop("walk");
if (_root.bg.com2._x > _root.bg.playertarget._x) {
_root.bg.com2._xscale = 100;
_root.bg.com2._x = _root.bg.com2._x - _root.bg.com2.walkspeed;
}
if (_root.bg.com2._x <= _root.bg.playertarget._x) {
_root.bg.com2._xscale = -100;
_root.bg.com2._x = _root.bg.com2._x + _root.bg.com2.walkspeed;
}
}
if (Math.abs(_root.bg.com2._x - _root.bg.playertarget._x) >= 500) {
_root.bg.com2.gotoAndStop("run nothing");
if (_root.bg.com2._x > _root.bg.playertarget._x) {
_root.bg.com2._xscale = 100;
_root.bg.com2._x = _root.bg.com2._x - _root.bg.com2.runspeed;
}
if (_root.bg.com2._x <= _root.bg.playertarget._x) {
_root.bg.com2._xscale = -100;
_root.bg.com2._x = _root.bg.com2._x + _root.bg.com2.runspeed;
}
}
}
if (_root.bg.ball._name == "ball") {
if (_root.bg.com2.lifebar.life < 400) {
_root.bg.com2.gotoAndStop("walk");
if (_root.bg.com2._x > _root.bg.ball._x) {
_root.bg.com2._xscale = 100;
_root.bg.com2._x = _root.bg.com2._x - _root.bg.com2.walkspeed;
}
if (_root.bg.com2._x <= _root.bg.ball._x) {
_root.bg.com2._xscale = -100;
_root.bg.com2._x = _root.bg.com2._x + _root.bg.com2.walkspeed;
}
}
if (_root.bg.com2.lifebar.life >= 400) {
_root.bg.com2.gotoAndStop("run nothing");
if (_root.bg.com2._x > _root.bg.ball._x) {
_root.bg.com2._xscale = 100;
_root.bg.com2._x = _root.bg.com2._x - _root.bg.com2.runspeed;
}
if (_root.bg.com2._x <= _root.bg.ball._x) {
_root.bg.com2._xscale = -100;
_root.bg.com2._x = _root.bg.com2._x + _root.bg.com2.runspeed;
}
}
}
if (_root.ballpos == "controlplayer") {
if (_root.bg.com2._x <= _root.bg.controlplayer._x) {
_root.bg.com2._xscale = -100;
}
if (_root.bg.com2._x > _root.bg.controlplayer._x) {
_root.bg.com2._xscale = 100;
}
if (defendrandom == 0) {
if (_root.bg.com2.hitTest(_root.bg.controlplayer)) {
_parent.gotoAndStop("stand steal");
}
}
if ((a != 0) && (defendrandom != 0)) {
if (((_root.myfield == "right") && (Math.abs(_root.bg.com2._x - _root.bg.controlplayer._x) < 150)) && (_root.bg.com2._x < _root.bg.controlplayer._x)) {
_parent.gotoAndStop("dodge guard");
}
if (((_root.myfield == "left") && (Math.abs(_root.bg.com2._x - _root.bg.controlplayer._x) < 150)) && (_root.bg.com2._x > _root.bg.controlplayer._x)) {
_parent.gotoAndStop("dodge guard");
}
}
if (_root.com1AI._currentframe == 3) {
_parent.gotoAndStop("help guard");
}
if ((_root.myfield == "right") && (_root.bg.com2._x > (_root.bg.controlplayer._x - 10))) {
_root.bg.com2.gotoAndStop("run nothing");
_root.bg.com2._xscale = 100;
_root.bg.com2._x = _root.bg.com2._x - _root.bg.com2.runspeed;
}
if ((_root.myfield == "right") && (_root.bg.com2._x < (_root.bg.controlplayer._x - 10))) {
_root.bg.com2.gotoAndStop("walk");
_root.bg.com2._xscale = -100;
_root.bg.com2._x = _root.bg.com2._x + _root.bg.com2.walkspeed;
}
if ((_root.myfield == "left") && (_root.bg.com2._x < (_root.bg.controlplayer._x + 10))) {
_root.bg.com2.gotoAndStop("run nothing");
_root.bg.com2._xscale = -100;
_root.bg.com2._x = _root.bg.com2._x + _root.bg.com2.runspeed;
}
if ((_root.myfield == "left") && (_root.bg.com2._x > (_root.bg.controlplayer._x + 10))) {
_root.bg.com2.gotoAndStop("walk");
_root.bg.com2._xscale = 100;
_root.bg.com2._x = _root.bg.com2._x - _root.bg.com2.walkspeed;
}
}
if (_root.bg.shotball._name == "shotball") {
if (_root.bg.com2._x < _root.bg.shotball._x) {
_root.bg.com2.gotoAndStop("run nothing");
_root.bg.com2._xscale = -100;
_root.bg.com2._x = _root.bg.com2._x + _root.bg.com2.runspeed;
}
if (_root.bg.com2._x > _root.bg.shotball._x) {
_root.bg.com2.gotoAndStop("run nothing");
_root.bg.com2._xscale = 100;
_root.bg.com2._x = _root.bg.com2._x - _root.bg.com2.runspeed;
}
}
if ((Math.abs(_root.bg.ball._x - _root.bg.com2._x) < 100) && (_root.bg.ball._y < (_root.bg.com2._y - 300))) {
_parent.gotoAndStop("jump");
}
if ((((Math.abs(_root.bg.controlplayer._x - _root.bg.com2._x) < 200) && (_root.bg.com2._x < _root.bg.controlplayer._x)) && (_root.myfield == "right")) && (_root.bg.controlplayer._currentframe == 15)) {
_parent.gotoAndStop("jump");
}
if ((((Math.abs(_root.bg.controlplayer._x - _root.bg.com2._x) < 200) && (_root.bg.com2._x > _root.bg.controlplayer._x)) && (_root.myfield == "left")) && (_root.bg.controlplayer._currentframe == 15)) {
_parent.gotoAndStop("jump");
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1002 MovieClip Frame 2
onClipEvent (load) {
_root.bg.com2.gotoAndStop("jump");
blockcount = 1;
timer = random(10) + 5;
}
onClipEvent (enterFrame) {
if (_root.bg.com2.jump.ready == true) {
timer--;
if (((_root.bg.controlplayer._currentframe == 15) && (blockcount == 1)) && (timer < 0)) {
_root.bg.com2.jump.gotoAndStop("block");
blockcount = 2;
}
if ((_root.ballpos == null) && (_root.bg.controlplayer._currentframe != 15)) {
_root.bg.com2.jump.gotoAndStop("guard");
}
}
if ((_root.bg.ball._x > _root.bg.com2._x) && (_root.bg.com2.jump.ready == true)) {
_root.bg.com2._x = _root.bg.com2._x + 7;
}
if ((_root.bg.ball._x < _root.bg.com2._x) && (_root.bg.com2.jump.ready == true)) {
_root.bg.com2._x = _root.bg.com2._x - 7;
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1002 MovieClip Frame 3
onClipEvent (load) {
a = random(3);
_root.bg.com2.gotoAndStop("dodge guard");
player1hit = false;
player2hit = false;
}
onClipEvent (enterFrame) {
if (_root.myfield == "right") {
_root.bg.com2._xscale = -100;
}
if (_root.myfield == "left") {
_root.bg.com2._xscale = 100;
}
if (Math.abs(_root.bg.com2._x - _root.bg.controlplayer._x) > 150) {
_parent.gotoAndStop("stand nothing");
}
}
onClipEvent (enterFrame) {
if (_root.bg.com2.guard.pd.hitTest(_root.bg.controlplayer) && (player2hit == false)) {
player1hit = true;
if (_root.bg.controlplayer._x <= _root.bg.com2._x) {
_root.bg.controlplayer._x = _root.bg.controlplayer._x - _root.bg.controlplayer.runspeed;
}
if (_root.bg.controlplayer._x > _root.bg.com2._x) {
_root.bg.controlplayer._x = _root.bg.controlplayer._x + _root.bg.controlplayer.runspeed;
}
}
if (_root.bg.com2.guard.pd.hitTest(_root.bg.player2) && (player1hit == false)) {
player2hit = true;
if (_root.bg.player2._x <= _root.bg.com2._x) {
_root.bg.player2._x = _root.bg.player2._x - _root.bg.player2.runspeed;
}
if (_root.bg.player2._x > _root.bg.com2._x) {
_root.bg.player2._x = _root.bg.player2._x + _root.bg.player2.runspeed;
}
}
if ((_root.bg.controlplayer._currentframe == 15) && (a <= 1)) {
_parent.gotoAndStop("jump");
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1002 MovieClip Frame 4
onClipEvent (load) {
timer = random(10) + 50;
_root.bg.com2.gotoAndStop("run demand");
}
onClipEvent (enterFrame) {
timer--;
if (_root.bg.com2._x > _root.bg.playertarget._x) {
_root.bg.com2._x = _root.bg.com2._x - (_root.bg.com2.runspeed - 3);
_root.bg.com2._xscale = 100;
}
if (_root.bg.com2._x < _root.bg.playertarget._x) {
_root.bg.com2._x = _root.bg.com2._x + (_root.bg.com2.runspeed - 3);
_root.bg.com2._xscale = -100;
}
if (timer == 0) {
_parent.gotoAndStop("stand nothing");
}
}
Symbol 1002 MovieClip Frame 5
speech.call(obj, obj);
voiceArray[5].start();
voiceArray.stop(voiceArray[7]);
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1002 MovieClip Frame 5
onClipEvent (load) {
if (_root.ballpos != "com2") {
_root.bg.com2.gotoAndStop("exaust");
}
if (_root.ballpos == "com2") {
_root.bg.com2.gotoAndStop("run exaust");
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1002 MovieClip Frame 6
onClipEvent (load) {
_root.bg.com2.gotoAndStop("pick ball");
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1002 MovieClip Frame 7
onClipEvent (load) {
_root.bg.com1.gotoAndStop("stand demand");
}
onClipEvent (enterFrame) {
if ((_root.comrelation == "c2c1") && (_root.ballpos == "com2")) {
_root.bg.com1._xscale = -100;
}
if ((_root.playerrelation == "c1c2") && (_root.ballpos == "com2")) {
_root.bg.com1._xscale = 100;
} else {
_parent.gotoAndStop("stand nothing");
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1002 MovieClip Frame 8
onClipEvent (load) {
a = random(2);
if (a != 1) {
_root.bg.com2.gotoAndStop("stand steal");
}
if (a == 1) {
_parent.gotoAndStop("stand steal 2");
}
stealonce = false;
}
onClipEvent (enterFrame) {
if (stealonce == false) {
if ((((((_root.bg.com2.stealer.pd.hitTest(_root.bg.controlplayer) && (_root.ballpos == "controlplayer")) && (_root.bg.controlplayer._y == 580)) && (_root.bg.controlplayer._currentframe != 20)) && (_root.bg.controlplayer._currentframe != 22)) && (_root.bg.controlplayer._currentframe != 15)) && (_root.bg.controlplayer._currentframe != 42)) {
_root.bg.controlplayer.gotoAndStop("be hitted");
stealonce = true;
}
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1002 MovieClip Frame 9
onClipEvent (load) {
_root.bg.com2.gotoAndStop("stand steal 2");
stealonce = false;
}
onClipEvent (enterFrame) {
if (stealonce == false) {
if ((((((_root.bg.com2.stealer2.pd.hitTest(_root.bg.controlplayer) && (_root.ballpos == "controlplayer")) && (_root.bg.controlplayer._y == 580)) && (_root.bg.controlplayer._currentframe != 20)) && (_root.bg.controlplayer._currentframe != 22)) && (_root.bg.controlplayer._currentframe != 15)) && (_root.bg.controlplayer._currentframe != 42)) {
_root.bg.controlplayer.gotoAndStop("be hitted");
stealonce = true;
}
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1002 MovieClip Frame 10
onClipEvent (load) {
_root.bg.com2.gotoAndStop("stand ball");
_root.com2walkleftscroll = false;
_root.com2walkrightscroll = false;
_root.com2runleftscroll = false;
_root.com2runrightscroll = false;
distance = random(200) + 200;
shotdistance = random(300) + 200;
passdistance = random(2000);
a = random(3);
}
onClipEvent (enterFrame) {
if ((_root.bg.com2._x < _root.bg.playertarget._x) && (Math.abs(_root.bg.com2._x - _root.bg.playertarget._x) < distance)) {
_root.bg.com2._xscale = -100;
_root.bg.com2.gotoAndStop("ball walk");
_root.bg.com2._x = _root.bg.com2._x + _root.bg.com2.walkspeed;
}
if ((_root.bg.com2._x < _root.bg.playertarget._x) && (Math.abs(_root.bg.com2._x - _root.bg.playertarget._x) >= distance)) {
_root.bg.com2._xscale = -100;
_root.bg.com2.gotoAndStop("run ball");
_root.bg.com2._x = _root.bg.com2._x + (_root.bg.com2.runspeed - 2);
}
if ((_root.bg.com2._x > _root.bg.playertarget._x) && (Math.abs(_root.bg.com2._x - _root.bg.playertarget._x) < distance)) {
_root.bg.com2._xscale = 100;
_root.bg.com2.gotoAndStop("ball walk");
_root.bg.com2._x = _root.bg.com2._x - _root.bg.com2.walkspeed;
}
if ((_root.bg.com2._x > _root.bg.playertarget._x) && (Math.abs(_root.bg.com2._x - _root.bg.playertarget._x) >= distance)) {
_root.bg.com2._xscale = 100;
_root.bg.com2.gotoAndStop("run ball");
_root.bg.com2._x = _root.bg.com2._x - (_root.bg.com2.runspeed - 2);
}
if ((Math.abs(_root.bg.com1._x - _root.bg.playertarget._x) <= passdistance) && (Math.abs(_root.bg.com2._x - _root.bg.playertarget._x) > passdistance)) {
_parent.gotoAndStop("straight pass");
}
if (((((_root.bg.controlplayer._x > _root.bg.com2._x) && (_root.bg.player2._x > _root.bg.com2._x)) && (_root.myfield == "right")) && (Math.abs(_root.bg.com2._x - _root.bg.playertarget._x) < 900)) && (Math.abs(_root.bg.com2._x - _root.bg.playertarget._x) > 700)) {
_parent.gotoAndStop("shot");
}
if (((((_root.bg.controlplayer._x < _root.bg.com2._x) && (_root.bg.player2._x < _root.bg.com2._x)) && (_root.myfield == "left")) && (Math.abs(_root.bg.com2._x - _root.bg.playertarget._x) < 900)) && (Math.abs(_root.bg.com2._x - _root.bg.playertarget._x) > 700)) {
_parent.gotoAndStop("shot");
}
if (Math.abs(_root.bg.com2._x - _root.bg.playertarget._x) < 200) {
_parent.gotoAndStop("dunk");
}
if ((Math.abs(_root.bg.com2._x - _root.bg.playertarget._x) < shotdistance) && (a <= 1)) {
_parent.gotoAndStop("shot");
}
if (((Math.abs(_root.bg.com2._x - _root.bg.playertarget._x) < (shotdistance + 200)) && (_root.bg.com2._currentframe == 14)) && (a == 2)) {
_parent.gotoAndStop("3step");
}
if ((_root.maxtime <= 2) && (_root.comscore <= _root.playerscore)) {
_parent.gotoAndStop("shot");
}
if (a >= 1) {
if ((_root.bg.controlplayer._currentframe == 17) || (((_root.bg.controlplayer._currentframe == 18) && (_root.bg.controlplayer.hitTest(_root.bg.com2))) && (_root.bg.com2._currentframe != 14))) {
_parent.gotoAndStop("dodge");
}
if ((_root.bg.player2._currentframe == 17) || (((_root.bg.player2._currentframe == 18) && (_root.bg.player2.hitTest(_root.bg.com2))) && (_root.bg.com2._currentframe != 14))) {
_parent.gotoAndStop("dodge");
}
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1002 MovieClip Frame 11
onClipEvent (load) {
_root.bg.com2.gotoAndStop("receive ball");
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1002 MovieClip Frame 12
onClipEvent (load) {
distance = random(10);
_root.bg.com2.gotoAndStop("be hitted");
}
onClipEvent (enterFrame) {
distance--;
if (distance <= 0) {
distance = 0;
}
if (_root.bg.com2._xscale == 100) {
_root.bg.com2._x = _root.bg.com2._x + distance;
}
if (_root.bg.com2._xscale == -100) {
_root.bg.com2._x = _root.bg.com2._x - distance;
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1002 MovieClip Frame 13
onClipEvent (load) {
_root.bg.com2.gotoAndStop("high receive ball");
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1002 MovieClip Frame 14
onClipEvent (load) {
_root.bg.com2.gotoAndStop("ball hitted");
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1002 MovieClip Frame 15
onClipEvent (load) {
if (Math.abs(_root.bg.com2._x - _root.bg.playertarget._x) >= 200) {
_root.bg.com2.gotoAndStop("shot long");
}
if (Math.abs(_root.bg.com2._x - _root.bg.playertarget._x) > 900) {
_root.bg.com2.gotoAndStop("shot long far");
}
if (Math.abs(_root.bg.com2._x - _root.bg.playertarget._x) < 200) {
_root.bg.com2.gotoAndStop("shot short");
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1002 MovieClip Frame 16
onClipEvent (load) {
a = random(3);
_root.bg.com2.gotoAndStop(random(4) + 31);
_root.celebrationchara = "com";
if ((_root.bg.com2.yb == "yes") && (a != 2)) {
_root.bg.com2.gotoAndStop("celebration yb");
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1002 MovieClip Frame 17
onClipEvent (load) {
if (Math.abs(_root.bg.com2._x - _root.bg.playertarget._x) < 200) {
_parent.nextFrame();
} else {
_root.bg.com2.gotoAndStop("3step");
}
distance = Math.abs(_root.bg.com2._x - _root.bg.playertarget._x) / 4;
if (distance <= 5) {
distance = 5;
}
if (distance >= 20) {
distance = 20;
}
}
onClipEvent (enterFrame) {
if (_root.bg.com2._xscale == 100) {
_root.bg.com2._x = _root.bg.com2._x - distance;
}
if (_root.bg.com2._xscale == -100) {
_root.bg.com2._x = _root.bg.com2._x + distance;
}
distance = distance - 0.5;
if (distance <= 3) {
distance = 3;
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1002 MovieClip Frame 18
onClipEvent (load) {
_root.bg.com2.gotoAndStop("3stepshot");
}
onClipEvent (enterFrame) {
if (_root.bg.com2._x > _root.bg.playertarget._x) {
_root.bg.com2._xscale = 100;
}
if (_root.bg.com2._x <= _root.bg.playertarget._x) {
_root.bg.com2._xscale == -100;
}
if (_root.bg.com2._xscale == 100) {
_root.bg.com2._x = _root.bg.com2._x - 5;
}
if (_root.bg.com2._xscale == -100) {
_root.bg.com2._x = _root.bg.com2._x + 5;
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1002 MovieClip Frame 19
onClipEvent (load) {
distance = random(200) + 500;
a = random(3);
if (a == 0) {
_parent.gotoAndStop("stand ball");
}
if (a != 0) {
if (Math.abs(_root.bg.com2._x - _root.bg.com1._x) > distance) {
_parent.gotoAndStop("long pass");
}
if (_root.bg.com1._x > _root.bg.com2._x) {
_root.bg.com2._xscale = -100;
_root.bg.com2.gotoAndStop("straight pass");
}
if (_root.bg.com1._x < _root.bg.com2._x) {
_root.bg.com2._xscale = 100;
_root.bg.com2.gotoAndStop("straight pass");
}
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1002 MovieClip Frame 20
onClipEvent (load) {
if (Math.abs(_root.bg.com2._x - _root.bg.com1._x) < 600) {
if (_root.bg.com1._x > _root.bg.com2._x) {
_root.bg.com2._xscale = -100;
_root.bg.com2.gotoAndStop("long pass near");
}
if (_root.bg.com1._x < _root.bg.com2._x) {
_root.bg.com2._xscale = 100;
_root.bg.com2.gotoAndStop("long pass near");
}
}
if (Math.abs(_root.bg.com2._x - _root.bg.com1._x) >= 600) {
if (_root.bg.com1._x > _root.bg.com2._x) {
_root.bg.com2._xscale = -100;
_root.bg.com2.gotoAndStop("long pass");
}
if (_root.bg.com1._x < _root.bg.com2._x) {
_root.bg.com2._xscale = 100;
_root.bg.com2.gotoAndStop("long pass");
}
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1002 MovieClip Frame 21
onClipEvent (load) {
if ((((_root.bg.com2.ym == "yes") || (_root.bg.com2.hf == "yes")) || (_root.bg.com2.fu == "yes")) || (_root.bg.com2.specialshoe == "shoe07")) {
_root.bg.com2.gotoAndStop("dunk1");
if (_root.myfield == "right") {
_root.bg.com2._xscale = -100;
}
if (_root.myfield == "left") {
_root.bg.com2._xscale == 100;
}
} else {
_parent.gotoAndStop("3step");
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1002 MovieClip Frame 22
onClipEvent (load) {
_root.bg.com2.gotoAndStop("depressed");
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1002 MovieClip Frame 23
onClipEvent (load) {
_root.ballpos = null;
_root.bg.com2.gotoAndStop("dodge stand");
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1002 MovieClip Frame 24
onClipEvent (load) {
_root.com2walkleftscroll = false;
_root.com2walkrightscroll = false;
_root.com2runleftscroll = false;
_root.com2runrightscroll = false;
distance = random(500);
timer = random(100);
a = random(5);
b = random(2);
if (a == 0) {
_root.bg.com2.gotoAndStop("ball up stand");
}
if (a == 1) {
_root.bg.com2.gotoAndStop("ball dodge stand");
}
if (a > 1) {
_root.bg.com2.gotoAndStop("ball control dodge");
}
}
onClipEvent (enterFrame) {
timer--;
if (a > 1) {
if (_root.bg.playertarget._x > _root.bg.com2._x) {
if (b != 0) {
_root.bg.com2._xscale = -100;
_root.bg.com2.balldodge.gotoAndStop(1);
_root.bg.com2._x = _root.bg.com2._x + (_root.bg.com2.walkspeed - 2);
_root.com2walkrightscroll = true;
_root.com2walkleftscroll = false;
}
if (b == 0) {
_root.bg.com2._xscale = -100;
_root.bg.com2.balldodge.gotoAndStop(2);
_root.bg.com2._x = _root.bg.com2._x - (_root.bg.com2.walkspeed - 2);
_root.com2walkleftscroll = true;
_root.com2walkrightscroll = false;
}
}
if (_root.bg.playertarget._x < _root.bg.com2._x) {
if (b != 0) {
_root.bg.com2._xscale = 100;
_root.bg.com2.balldodge.gotoAndStop(1);
_root.bg.com2._x = _root.bg.com2._x - (_root.bg.com2.walkspeed - 2);
_root.com2walkleftscroll = true;
_root.com2walkrightscroll = false;
}
if (b == 0) {
_root.bg.com2._xscale = 100;
_root.bg.com2.balldodge.gotoAndStop(2);
_root.bg.com2._x = _root.bg.com2._x + (_root.bg.com2.walkspeed - 2);
_root.com2walkrightscroll = true;
_root.com2walkleftscroll = false;
}
}
}
if (b == 0) {
if (((_root.bg.com2.balldodge._currentframe == 1) && (_root.bg.controlplayer.hitTest(_root.bg.com2))) && (_root.bg.controlplayer._currentframe == 9)) {
_parent.gotoAndStop("long pass");
}
if (((_root.bg.com2.balldodge._currentframe == 1) && (_root.bg.player2.hitTest(_root.bg.com2))) && (_root.bg.player2._currentframe == 9)) {
_parent.gotoAndStop("long pass");
}
}
if ((_root.maxtime <= 2) && (_root.comscore <= _root.playerscore)) {
_parent.gotoAndStop("shot");
}
if ((timer < 0) || (Math.abs(_root.bg.playertarget._x - _root.bg.com2._x) < distance)) {
_parent.gotoAndStop("stand ball");
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1002 MovieClip Frame 25
onClipEvent (load) {
timer = random(100) + 20;
}
onClipEvent (enterFrame) {
timer--;
if (_root.bg.player2._x >= (_root.bg.com2._x + 100)) {
_root.bg.com2.gotoAndStop("run nothing");
_root.bg.com2._xscale = -100;
_root.bg.com2._x = _root.bg.com2._x + _root.bg.com2.runspeed;
}
if (_root.bg.player2._x < (_root.bg.com2._x - 100)) {
_root.bg.com2.gotoAndStop("run nothing");
_root.bg.com2._xscale = 100;
_root.bg.com2._x = _root.bg.com2._x - _root.bg.com2.runspeed;
}
if (timer < 0) {
_parent.gotoAndStop("stand nothing");
}
}
Symbol 1004 MovieClip Frame 1
this._visible = false;
stop();
throwballok = false;
out = false;
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1004 MovieClip Frame 1
onClipEvent (load) {
_root.endmatchapplause.start();
_root.refree_out.removeMovieClip();
_root.bg.ball.removeMovieClip();
_root.ballpos = null;
_root.timestart = false;
_root.maxtime = _root.initialtime;
zooming = true;
_quality = "LOW";
_root._xscale = 400;
_root._yscale = 400;
_root.cmr.cmryes = false;
_root.bg._x = -1100;
if (_root.initialcourts != 1) {
if (_root.myfield == "right") {
_root.myfield = "left";
} else {
_root.myfield = "right";
}
}
if (_root.myfield == "right") {
with (_root.bg.controlplayer) {
_x = 1560;
_xscale = 100;
gotoAndStop("dodge stand");
}
with (_root.bg.player2) {
_x = 1760;
_xscale = 100;
gotoAndStop("stand nothing");
}
with (_root.bg.com1) {
_x = 1480;
_xscale = -100;
gotoAndStop("dodge stand");
}
with (_root.bg.com2) {
_x = 1280;
_xscale = -100;
gotoAndStop("stand nothing");
}
}
if (_root.myfield == "left") {
with (_root.bg.controlplayer) {
_x = 1480;
_xscale = -100;
gotoAndStop("dodge stand");
}
with (_root.bg.player2) {
_x = 1280;
_xscale = -100;
gotoAndStop("stand nothing");
}
with (_root.bg.com1) {
_x = 1560;
_xscale = 100;
gotoAndStop("dodge stand");
}
with (_root.bg.com2) {
_x = 1760;
_xscale = 100;
gotoAndStop("stand nothing");
}
}
_root.unableplayer.call(obj, obj);
if (_root.initialcourts > _root.courts) {
_parent.gotoAndStop("match result");
}
if (_root.initialcourts == 1) {
_root.attachMovie("1sthalf", "", 901);
}
if (_root.initialcourts == 2) {
_root.attachMovie("2ndhalf", "", 901);
}
if (_root.initialcourts == 3) {
_root.attachMovie("3rdhalf", "", 901);
}
if (_root.initialcourts == 4) {
_root.attachMovie("4thhalf", "", 901);
}
}
onClipEvent (enterFrame) {
if (zooming == true) {
_root._xscale = _root._xscale - 5;
_root._yscale = _root._yscale - 5;
_root._x = (-((_root._xscale / 100) - 1)) * 400;
_root._y = (-((_root._yscale / 100) - 1)) * 325;
if (_root._xscale <= 100) {
_quality = _root.qualitysetting;
_root._xscale = 100;
_root._yscale = 100;
_root._x = 0;
_root._y = 0;
_root.attachMovie("playerscourt", "playerscourt", 502);
zooming = false;
}
}
}
onClipEvent (enterFrame) {
if (_parent.throwballok == true) {
_root.timestart = true;
_root.bg.controlplayer.gotoAndStop(1);
_root.bg.player2.gotoAndStop(1);
_root.com1AI.gotoAndStop("jump");
_root.com2AI.gotoAndStop(1);
_root.cmr.cmryes = true;
_parent.gotoAndStop("nothing");
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1004 MovieClip Frame 2
onClipEvent (load) {
timer = 100;
_root.fadein.call(obj, obj);
_root.ballpos = null;
_root.timestart = false;
comfaqiu = false;
_root.cmr.cmryes = false;
if ((_root.bg.ball._x < 400) && (_root.outpossible == "player")) {
comfaqiu = true;
_root.bg.ball.removeMovieClip();
_root.bg._x = 500;
_root.bg.waitc1._x = 350;
_root.bg.waitc1._xscale = -100;
_root.bg.waitc1.gotoAndStop("stand ball");
_root.bg.waitc2._x = 600;
_root.bg.waitc2._xscale = 100;
_root.bg.waitc2.gotoAndStop("stand nothing");
_root.bg.waitcp._x = 1000;
_root.bg.waitcp._xscale = 100;
_root.bg.waitcp.gotoAndStop("stand nothing");
_root.bg.waitp2._x = 1200;
_root.bg.waitp2._xscale = 100;
_root.bg.waitp2.gotoAndStop("stand nothing");
}
if ((_root.bg.ball._x < 400) && (_root.outpossible == "com")) {
_root.bg.ball.removeMovieClip();
_root.bg._x = 500;
_root.bg.waitcp._x = 350;
_root.bg.waitcp._xscale = -100;
_root.bg.waitcp.gotoAndStop("stand ball");
_root.bg.waitp2._x = 600;
_root.bg.waitp2._xscale = 100;
_root.bg.waitp2.gotoAndStop("stand nothing");
_root.bg.waitc1._x = 1000;
_root.bg.waitc1._xscale = 100;
_root.bg.waitc1.gotoAndStop("stand nothing");
_root.bg.waitc2._x = 1200;
_root.bg.waitc2._xscale = 100;
_root.bg.waitc2.gotoAndStop("stand nothing");
}
if ((_root.bg.ball._x > 2000) && (_root.outpossible == "player")) {
comfaqiu = true;
_root.bg.ball.removeMovieClip();
_root.bg._x = -2800;
_root.bg.waitc1._x = 2650;
_root.bg.waitc1._xscale = 100;
_root.bg.waitc1.gotoAndStop("stand ball");
_root.bg.waitc2._x = 2400;
_root.bg.waitc2._xscale = -100;
_root.bg.waitc2.gotoAndStop("stand nothing");
_root.bg.waitcp._x = 1900;
_root.bg.waitcp._xscale = -100;
_root.bg.waitcp.gotoAndStop("stand nothing");
_root.bg.waitp2._x = 1700;
_root.bg.waitp2._xscale = -100;
_root.bg.waitp2.gotoAndStop("stand nothing");
}
if ((_root.bg.ball._x > 2000) && (_root.outpossible == "com")) {
_root.bg.ball.removeMovieClip();
_root.bg._x = -2800;
_root.bg.waitcp._x = 2650;
_root.bg.waitcp._xscale = 100;
_root.bg.waitcp.gotoAndStop("stand ball");
_root.bg.waitp2._x = 2400;
_root.bg.waitp2._xscale = -100;
_root.bg.waitp2.gotoAndStop("stand nothing");
_root.bg.waitc1._x = 1900;
_root.bg.waitc1._xscale = -100;
_root.bg.waitc1.gotoAndStop("stand nothing");
_root.bg.waitc2._x = 1700;
_root.bg.waitc2._xscale = -100;
_root.bg.waitc2.gotoAndStop("stand nothing");
}
_root.refree_out.removeMovieClip();
}
onClipEvent (enterFrame) {
timer--;
if (timer == 80) {
_root.attachMovie("refree", "refree", 198);
}
if (timer <= 0) {
_root.controller.gotoAndStop("stand ball");
_root.enableplayer.call(obj, obj);
if (comfaqiu == true) {
_root.bg.com1.gotoAndStop("straight pass");
}
_root.cmr.cmryes = true;
_root.refree.removeMovieClip();
_root.whistle.start();
_parent.gotoAndStop("nothing");
}
}
Instance of Symbol 131 MovieClip [blackmask] "nothingMC" in Symbol 1004 MovieClip Frame 3
onClipEvent (load) {
_root.timestart = true;
timerstart = false;
timer = 60;
}
onClipEvent (enterFrame) {
if (timerstart == true) {
timer = timer - 1;
if (timer == 0) {
_parent.gotoAndStop("out");
}
if (timer == 59) {
_root.against.call(obj, obj);
_root.whistle.start();
}
}
}
onClipEvent (enterFrame) {
if ((_root.bg.ball._x < 240) && (_root.outpossible == "player")) {
_root.attachMovie("refree_out", "refree_out", 499);
_root.bg.controlplayer.gotoAndStop("depressed");
_root.unableplayer.call(obj, obj);
timerstart = true;
}
if ((_root.bg.ball._x < 240) && (_root.outpossible == "com")) {
_root.attachMovie("refree_out", "refree_out", 499);
_root.bg.com1.gotoAndStop("depressed");
_root.unableplayer.call(obj, obj);
timerstart = true;
}
if ((_root.bg.ball._x > 2750) && (_root.outpossible == "player")) {
_root.attachMovie("refree_out", "refree_out", 499);
_root.bg.controlplayer.gotoAndStop("depressed");
_root.unableplayer.call(obj, obj);
timerstart = true;
}
if ((_root.bg.ball._x > 2750) && (_root.outpossible == "com")) {
_root.attachMovie("refree_out", "refree_out", 499);
_root.bg.com1.gotoAndStop("depressed");
_root.unableplayer.call(obj, obj);
timerstart = true;
}
if ((_root.bg.shotball._x < 240) && (_root.outpossible == "player")) {
_root.attachMovie("refree_out", "refree_out", 499);
_root.bg.controlplayer.gotoAndStop("depressed");
_root.unableplayer.call(obj, obj);
timerstart = true;
}
if ((_root.bg.shotball._x < 240) && (_root.outpossible == "com")) {
_root.attachMovie("refree_out", "refree_out", 499);
_root.bg.com1.gotoAndStop("depressed");
_root.unableplayer.call(obj, obj);
timerstart = true;
}
if ((_root.bg.shotball._x > 2750) && (_root.outpossible == "player")) {
_root.attachMovie("refree_out", "refree_out", 499);
_root.bg.controlplayer.gotoAndStop("depressed");
_root.unableplayer.call(obj, obj);
timerstart = true;
}
if ((_root.bg.shotball._x > 2750) && (_root.outpossible == "com")) {
_root.attachMovie("refree_out", "refree_out", 499);
_root.bg.com1.gotoAndStop("depressed");
_root.unableplayer.call(obj, obj);
timerstart = true;
}
}
onClipEvent (enterFrame) {
if (_root.maxtime <= 0) {
_root.initialcourts = _root.initialcourts + 1;
_parent.gotoAndStop("match over");
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1004 MovieClip Frame 4
onClipEvent (load) {
timer = 100;
_root.ballpos = null;
_root.refree_out.removeMovieClip();
_root.attachMovie("match over", "matchover", 200);
_root.unableplayer.call(obj, obj);
_root.cmr.cmryes = false;
}
onClipEvent (enterFrame) {
timer--;
if ((timer == 0) && (_root.initialcourts <= _root.courts)) {
timer = 0;
_root.matchover.removeMovieClip();
_root.fadein.call(obj, obj);
_root.enableplayer.call(obj, obj);
_parent.gotoAndStop("zhengball");
}
if ((timer == 0) && (_root.initialcourts > _root.courts)) {
_root.matchover.removeMovieClip();
_parent.gotoAndStop("match result");
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1004 MovieClip Frame 5
onClipEvent (load) {
_root.timestart = false;
timer = 30;
_root.bg.ball.removeMovieClip();
_root.celebration = true;
}
onClipEvent (enterFrame) {
timer--;
if (Key.isDown(32) && (timer < 16)) {
_root.entersound.start();
_root.showpoints.removeMovieClip();
_root.pressspace.removeMovieClip();
_root.scorershow.removeMovieClip();
timer = -200;
}
if (timer == 20) {
_root.attachMovie("pressspace", "pressspace", 102);
_root.attachMovie("scorershow", "scorershow", 101);
if (_root.scorer == _root.bg.controlplayer) {
_root.controller.gotoAndStop("celebration");
_root.partnerAI.gotoAndStop("celebration");
_root.com1AI.gotoAndStop("depressed");
_root.com2AI.gotoAndStop("depressed");
}
if (_root.scorer == _root.bg.com1) {
_root.com1AI.gotoAndStop("celebration");
_root.com2AI.gotoAndStop("celebration");
_root.controller.gotoAndStop("depressed");
_root.partnerAI.gotoAndStop("depressed");
}
if (_root.scorer == _root.bg.com2) {
_root.com2AI.gotoAndStop("celebration");
_root.com1AI.gotoAndStop("celebration");
_root.controller.gotoAndStop("depressed");
_root.partnerAI.gotoAndStop("depressed");
}
}
if (timer == -200) {
_root.showpoints.removeMovieClip();
_root.pressspace.removeMovieClip();
_root.fadein.call(obj, obj);
_root.celebration = false;
_parent.gotoAndStop("fa qiu");
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1004 MovieClip Frame 6
onClipEvent (load) {
if (_root.maxtime <= 0) {
_parent.gotoAndStop("match over");
}
_root.fadein.call(obj, obj);
_root.ballpos = null;
_root.timestart = false;
_root.unableplayer.call(obj, obj);
_root.cmr.cmryes = false;
if ((_root.myfield == "right") && (_root.celebrationchara == "player")) {
_root.bg.ball.removeMovieClip();
_root.bg._x = 500;
_root.bg.waitc1._x = 300;
_root.bg.waitc1._xscale = -100;
_root.bg.waitc1.gotoAndStop("stand ball");
_root.bg.waitc2._x = 500;
_root.bg.waitc2._xscale = 100;
_root.bg.waitc2.gotoAndStop(1);
_root.bg.waitcp._x = 800;
_root.bg.waitcp._xscale = 100;
_root.bg.waitcp.gotoAndStop(1);
_root.bg.waitp2._x = 1000;
_root.bg.waitp2._xscale = 100;
_root.bg.waitp2.gotoAndStop(1);
_root.cmr.cmryes = true;
_root.enableplayer.call(obj, obj);
_parent.gotoAndStop("nothing");
}
if ((_root.myfield == "left") && (_root.celebrationchara == "com")) {
_root.bg.ball.removeMovieClip();
_root.bg._x = 500;
_root.bg.waitcp._x = 300;
_root.bg.waitcp._xscale = -100;
_root.bg.waitcp.gotoAndStop("stand ball");
_root.bg.waitp2._x = 500;
_root.bg.waitp2._xscale = 100;
_root.bg.waitp2.gotoAndStop(1);
_root.bg.waitc1._x = 800;
_root.bg.waitc1._xscale = 100;
_root.bg.waitc1.gotoAndStop(1);
_root.bg.waitc2._x = 1000;
_root.bg.waitc2._xscale = 100;
_root.bg.waitc2.gotoAndStop(1);
_root.cmr.cmryes = true;
_root.enableplayer.call(obj, obj);
_parent.gotoAndStop("nothing");
}
if ((_root.myfield == "left") && (_root.celebrationchara == "player")) {
_root.bg.ball.removeMovieClip();
_root.bg._x = -2800;
_root.bg.waitc1._x = 2700;
_root.bg.waitc1._xscale = 100;
_root.bg.waitc1.gotoAndStop("stand ball");
_root.bg.waitc2._x = 2500;
_root.bg.waitc2._xscale = -100;
_root.bg.waitc2.gotoAndStop(1);
_root.bg.waitcp._x = 2100;
_root.bg.waitcp._xscale = -100;
_root.bg.waitcp.gotoAndStop(1);
_root.bg.waitp2._x = 1900;
_root.bg.waitp2._xscale = -100;
_root.bg.waitp2.gotoAndStop(1);
_root.cmr.cmryes = true;
_root.enableplayer.call(obj, obj);
_parent.gotoAndStop("nothing");
}
if ((_root.myfield == "right") && (_root.celebrationchara == "com")) {
_root.bg.ball.removeMovieClip();
_root.bg._x = -2800;
_root.bg.waitcp._x = 2700;
_root.bg.waitcp._xscale = 100;
_root.bg.waitcp.gotoAndStop("stand ball");
_root.bg.waitp2._x = 2500;
_root.bg.waitp2._xscale = -100;
_root.bg.waitp2.gotoAndStop(1);
_root.bg.waitc1._x = 2100;
_root.bg.waitc1._xscale = -100;
_root.bg.waitc1.gotoAndStop(1);
_root.bg.waitc2._x = 1900;
_root.bg.waitc2._xscale = -100;
_root.bg.waitc2.gotoAndStop(1);
_root.cmr.cmryes = true;
_root.enableplayer.call(obj, obj);
_parent.gotoAndStop("nothing");
}
}
Instance of Symbol 131 MovieClip [blackmask] in Symbol 1004 MovieClip Frame 7
onClipEvent (load) {
if ((_root.playerscore > _root.comscore) && (_root.bg.controlplayer.score > _root.bg.player2.score)) {
_root.mvp = "controlplayer";
}
if ((_root.playerscore > _root.comscore) && (_root.bg.controlplayer.score < _root.bg.player2.score)) {
_root.mvp = "player2";
}
_root.finebgm.stop("fine bgm");
_root.sunsetbgm.stop("sunset bgm");
_root.equippedbgm.stop("equipped bgm");
_root.criticalmomentbgm.stop("criticalmoment bgm");
_root.attachMovie("matchresult", "matchresult", 498);
_root.scorebar.removeMovieClip();
_root.endmatchapplause.start();
if (_root.playerscore > _root.comscore) {
_root.bg.waitcp.gotoAndStop(random(4) + 31);
_root.bg.waitp2.gotoAndStop(random(4) + 31);
_root.bg.waitc1.gotoAndStop("depressed");
_root.bg.waitc2.gotoAndStop("depressed");
}
if (_root.playerscore <= _root.comscore) {
_root.bg.waitc1.gotoAndStop(random(4) + 31);
_root.bg.waitc2.gotoAndStop(random(4) + 31);
_root.bg.waitcp.gotoAndStop("depressed");
_root.bg.waitp2.gotoAndStop("depressed");
}
}
Symbol 1050 Button
on (press) {
_root.earnedpoints = earnedpoints;
_root.entersound.start();
_root.attachMovie("blackfadeout", "blackfadeout", 501);
}
Symbol 1054 MovieClip Frame 1
timer = 50;
var k = 1;
j = _root.scoringnum / _root.scoringattempt;
_root.scoringrate = ((Math.round(j * Math.pow(10, k)) / Math.pow(10, k)) * 100) + "%";
_root.fplayerscore = _root.playerscore * 2;
_root.fcomscore = _root.comscore * 2.5;
_root.fthreepoints = _root.threepoints * 2;
_root.fscoringrate = (Math.round(j * Math.pow(10, k)) / Math.pow(10, k)) * 10;
_root.fblocks = _root.blocks * 1.5;
_root.fsteals = _root.steals * 5;
_root.earnedpoints = 0;
earnedpoints = Math.ceil(((((_root.fplayerscore + _root.fthreepoints) * _root.fscoringrate) + _root.fblocks) - _root.fcomscore) + _root.fsteals);
_root.funds = _root.funds + earnedpoints;
_root.countsound.start();
_root.countsound.onSoundComplete = function () {
_root.countsound.start();
};
onEnterFrame = function () {
_root.earnedpoints++;
if (_root.earnedpoints >= earnedpoints) {
_root.earnedpoints = earnedpoints;
_root.countsound.stop();
}
timer--;
if ((timer < 0) && (_root.blackfadeout.fadeout == true)) {
if (_root.gamemode == "exhibition") {
_root.gotoAndStop("mainmenu");
}
if (_root.gamemode == "survival") {
if (_root.playerscore > _root.comscore) {
_root.gotoAndStop("survival vs screen");
}
if (_root.playerscore <= _root.comscore) {
_root.gotoAndStop("survival record");
}
}
if (_root.gamemode == "waytocup") {
_root.gotoAndStop("fixture");
}
}
};
Instance of Symbol 1021 MovieClip in Symbol 1054 MovieClip Frame 1
onClipEvent (load) {
this.head.gotoAndStop(_root.p1chara);
this.neck.gotoAndStop(_root.p1chara);
}
Instance of Symbol 1021 MovieClip in Symbol 1054 MovieClip Frame 1
onClipEvent (load) {
this.head.gotoAndStop(_root.p2chara);
this.neck.gotoAndStop(_root.p2chara);
}
Instance of Symbol 1026 MovieClip in Symbol 1054 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.playerscore <= _root.comscore) {
this._visible = false;
}
this._x = this._x + 5;
if (_root.mvp == "player1") {
mvpxpos = 80;
}
if (_root.mvp == "player2") {
mvpxpos = 220;
}
if (this._x >= mvpxpos) {
this._x = mvpxpos;
}
}
Instance of Symbol 1053 MovieClip in Symbol 1054 MovieClip Frame 1
onClipEvent (load) {
if (_root.playerscore > _root.comscore) {
gotoAndStop (1);
}
if (_root.playerscore <= _root.comscore) {
gotoAndStop (2);
}
}
Symbol 1059 Button
on (release) {
_root.unit1.removeMovieClip();
_root.entersound.start();
_root.attachMovie("specialshoeselectionmenu", "specialshoeselectionmenu", 200);
}
Symbol 1084 MovieClip Frame 1
stop();
Symbol 1084 MovieClip Frame 2
stop();
Symbol 1100 MovieClip Frame 1
stop();
Symbol 1106 Button
on (rollOver) {
_parent.choosenitem = "shoe01";
_parent.cost = 3800;
_parent.describe.gotoAndStop(2);
}
on (rollOut) {
_parent.choosenitem = null;
_parent.cost = 0;
_parent.describe.gotoAndStop(1);
}
on (release) {
if (_root.shoe01 == false) {
_parent.attachMovie("purchase_dialogue", "purchase_dialogue", 10);
}
if (_root.shoe01 == true) {
_root.highligh.start();
}
}
Symbol 1107 Button
on (rollOver) {
_parent.choosenitem = "shoe02";
_parent.cost = 4500;
_parent.describe.gotoAndStop(3);
}
on (rollOut) {
_parent.choosenitem = null;
_parent.cost = 0;
_parent.describe.gotoAndStop(1);
}
on (release) {
if (_root.shoe02 == false) {
_parent.attachMovie("purchase_dialogue", "purchase_dialogue", 10);
}
if (_root.shoe02 == true) {
_root.highligh.start();
}
}
Symbol 1108 Button
on (rollOver) {
_parent.choosenitem = "shoe03";
_parent.cost = 3000;
_parent.describe.gotoAndStop(4);
}
on (rollOut) {
_parent.choosenitem = null;
_parent.cost = 0;
_parent.describe.gotoAndStop(1);
}
on (release) {
if (_root.shoe03 == false) {
_parent.attachMovie("purchase_dialogue", "purchase_dialogue", 10);
}
if (_root.shoe03 == true) {
_root.highligh.start();
}
}
Symbol 1109 Button
on (rollOver) {
_parent.choosenitem = "shoe04";
_parent.cost = 500;
_parent.describe.gotoAndStop(5);
}
on (rollOut) {
_parent.choosenitem = null;
_parent.cost = 0;
_parent.describe.gotoAndStop(1);
}
on (release) {
if (_root.shoe04 == false) {
_parent.attachMovie("purchase_dialogue", "purchase_dialogue", 10);
}
if (_root.shoe04 == true) {
_root.highligh.start();
}
}
Symbol 1110 Button
on (rollOver) {
_parent.choosenitem = "shoe05";
_parent.cost = 5000;
_parent.describe.gotoAndStop(6);
}
on (rollOut) {
_parent.choosenitem = null;
_parent.cost = 0;
_parent.describe.gotoAndStop(1);
}
on (release) {
if (_root.shoe05 == false) {
_parent.attachMovie("purchase_dialogue", "purchase_dialogue", 10);
}
if (_root.shoe05 == true) {
_root.highligh.start();
}
}
Symbol 1111 Button
on (rollOver) {
_parent.choosenitem = "shoe06";
_parent.cost = 6000;
_parent.describe.gotoAndStop(7);
}
on (rollOut) {
_parent.choosenitem = null;
_parent.cost = 0;
_parent.describe.gotoAndStop(1);
}
on (release) {
if (_root.shoe06 == false) {
_parent.attachMovie("purchase_dialogue", "purchase_dialogue", 10);
}
if (_root.shoe06 == true) {
_root.highligh.start();
}
}
Symbol 1112 Button
on (rollOver) {
_parent.choosenitem = "shoe07";
_parent.cost = 10000;
_parent.describe.gotoAndStop(8);
}
on (rollOut) {
_parent.choosenitem = null;
_parent.cost = 0;
_parent.describe.gotoAndStop(1);
}
on (release) {
if (_root.shoe07 == false) {
_parent.attachMovie("purchase_dialogue", "purchase_dialogue", 10);
}
if (_root.shoe07 == true) {
_root.highligh.start();
}
}
Symbol 1113 Button
on (rollOver) {
_parent.choosenitem = "shoe08";
_parent.cost = 2000;
_parent.describe.gotoAndStop(9);
}
on (rollOut) {
_parent.choosenitem = null;
_parent.cost = 0;
_parent.describe.gotoAndStop(1);
}
on (release) {
if (_root.shoe08 == false) {
_parent.attachMovie("purchase_dialogue", "purchase_dialogue", 10);
}
if (_root.shoe08 == true) {
_root.highligh.start();
}
}
Symbol 1114 Button
on (rollOver) {
_parent.choosenitem = "shoe09";
_parent.cost = 800;
_parent.describe.gotoAndStop(10);
}
on (rollOut) {
_parent.choosenitem = null;
_parent.cost = 0;
_parent.describe.gotoAndStop(1);
}
on (release) {
if (_root.shoe09 == false) {
_parent.attachMovie("purchase_dialogue", "purchase_dialogue", 10);
}
if (_root.shoe09 == true) {
_root.highligh.start();
}
}
Symbol 1124 Button
on (rollOver) {
_parent.choosenitem = "ym";
_parent.cost = 9000;
_parent.describe.gotoAndStop(11);
}
on (rollOut) {
_parent.choosenitem = null;
_parent.cost = 0;
_parent.describe.gotoAndStop(1);
}
on (release) {
if (_root.ym == false) {
_parent.attachMovie("purchase_dialogue", "purchase_dialogue", 10);
}
if (_root.ym == true) {
_root.highligh.start();
}
}
Symbol 1125 Button
on (rollOver) {
_parent.choosenitem = "fu";
_parent.cost = 20000;
_parent.describe.gotoAndStop(12);
}
on (rollOut) {
_parent.choosenitem = null;
_parent.cost = 0;
_parent.describe.gotoAndStop(1);
}
on (release) {
if (_root.fu == false) {
_parent.attachMovie("purchase_dialogue", "purchase_dialogue", 10);
}
if (_root.fu == true) {
_root.highligh.start();
}
}
Symbol 1129 MovieClip Frame 1
stop();
Symbol 1129 MovieClip Frame 2
stop();
Symbol 1130 Button
on (rollOver) {
effect.gotoAndPlay(2);
}
on (rollOut) {
effect.gotoAndPlay(16);
}
on (release) {
_root.entersound.start();
if (goods._currentframe == 1) {
goods.nextFrame();
items.nextFrame();
} else {
goods.prevFrame();
items.prevFrame();
}
}
Symbol 1133 Button
on (release) {
stopAllSounds();
_root.purchase_dialogue.removeMovieClip();
_root.cancelsound.start();
_root.attachMovie("fade in", "mainmenu", 200);
}
Symbol 1235 MovieClip Frame 1
this._visible = false;
Symbol 1235 MovieClip Frame 2
this._visible = true;
Symbol 1235 MovieClip Frame 3
this._visible = true;
Symbol 1274 MovieClip Frame 1
_root.ga_team_1 = (((_root.p1chara + " ") + "&") + " ") + _root.p2chara;
Instance of Symbol 1239 MovieClip in Symbol 1274 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gah_team_1 == _root.ga_team_1) {
_parent.playerback.gotoAndStop(2);
}
if (_root.gah_team_1 != _root.ga_team_1) {
_parent.playerback.gotoAndStop(1);
}
}
Instance of Symbol 1239 MovieClip in Symbol 1274 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gah_team_2 == _root.ga_team_1) {
_parent.playerbackb.gotoAndStop(3);
}
if (_root.gah_team_2 != _root.ga_team_1) {
_parent.playerbackb.gotoAndStop(1);
}
}
Instance of Symbol 1239 MovieClip in Symbol 1274 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.semifinal_team_1 == _root.ga_team_1) {
_parent.playerbacks.gotoAndStop(2);
}
if (_root.semifinal_team_2 == _root.ga_team_1) {
_parent.playerbacks.gotoAndStop(3);
}
if ((_root.semifinal_team_1 != _root.ga_team_1) && (_root.semifinal_team_2 != _root.ga_team_1)) {
_parent.playerbacks.gotoAndStop(1);
}
}
Instance of Symbol 1239 MovieClip in Symbol 1274 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.final_team_1 == _root.ga_team_1) {
_parent.playerbackf.gotoAndStop(2);
}
if (_root.final_team_2 == _root.ga_team_1) {
_parent.playerbackf.gotoAndStop(3);
}
if ((_root.final_team_1 != _root.ga_team_1) && (_root.final_team_2 != _root.ga_team_1)) {
_parent.playerbackf.gotoAndStop(1);
}
}
Symbol 1275 Button
on (release) {
_root.entersound.start();
_root.fadein.call(obj, obj);
_root.nextFrame();
}
Symbol 1277 Button
on (rollOver) {
_root.selectsound.start();
fixtures.moveright = true;
fixtures.moveleft = false;
fixtures.movespeed = 30;
}
Symbol 1278 Button
on (rollOver) {
_root.selectsound.start();
fixtures.moveright = false;
fixtures.moveleft = true;
fixtures.movespeed = 30;
}
Symbol 1280 Button
on (release) {
_root.selectsound.start();
fixtures._x = -500;
fixtures.moveright = false;
fixtures.moveleft = false;
}
Symbol 1283 Button
on (release) {
_root.entersound.start();
_root.fadein.call(obj, obj);
_root.gotoAndStop("mainmenu");
}
Symbol 1286 MovieClip Frame 1
if (_root.p2chara == "zyx") {
zyx = "yes";
}
if (_root.p2chara == "wzc") {
wzc = "yes";
}
if (_root.p2chara == "zss") {
zss = "yes";
}
if (_root.p2chara == "yzz") {
yzz = "yes";
}
if (_root.p2chara == "zxz") {
zxz = "yes";
}
if (_root.p2chara == "dsh") {
dsh = "yes";
}
if (_root.p2chara == "yb") {
yb = "yes";
}
if (_root.p2chara == "tjh") {
tjh = "yes";
}
if (_root.p2chara == "sx") {
sx = "yes";
}
if (_root.p2chara == "sl") {
sl = "yes";
}
if (_root.p2chara == "hf") {
hf = "yes";
}
if (_root.p2chara == "wzy") {
wzy = "yes";
}
if (_root.p2chara == "ym") {
ym = "yes";
}
if (_root.p2chara == "fu") {
fu = "yes";
}
Symbol 1288 MovieClip Frame 1
if (_root.p1chara == "zyx") {
zyx = "yes";
}
if (_root.p1chara == "wzc") {
wzc = "yes";
}
if (_root.p1chara == "zss") {
zss = "yes";
}
if (_root.p1chara == "yzz") {
yzz = "yes";
}
if (_root.p1chara == "zxz") {
zxz = "yes";
}
if (_root.p1chara == "dsh") {
dsh = "yes";
}
if (_root.p1chara == "yb") {
yb = "yes";
}
if (_root.p1chara == "tjh") {
tjh = "yes";
}
if (_root.p1chara == "sx") {
sx = "yes";
}
if (_root.p1chara == "sl") {
sl = "yes";
}
if (_root.p1chara == "hf") {
hf = "yes";
}
if (_root.p1chara == "wzy") {
wzy = "yes";
}
if (_root.p1chara == "ym") {
ym = "yes";
}
if (_root.p1chara == "fu") {
fu = "yes";
}
Symbol 1289 Button
on (release) {
_root.entersound.start();
_root.caitiaoqi.removeMovieClip();
_root.fadein.call(obj, obj);
_root.gotoAndStop("mainmenu");
}
Symbol 1307 MovieClip Frame 20
this.removeMovieClip();
stop();
Symbol 1308 MovieClip Frame 20
this.removeMovieClip();
stop();
Symbol 1309 Button
on (release) {
_root.entersound.start();
_root.attachMovie("fade in", "instructions", 200);
}
Symbol 1313 Button
on (release) {
_root.optionsvoice.start();
_root.entersound.start();
_root.attachMovie("optionsmenu", "optionsmenu", 6);
}
Symbol 1318 Button
on (release) {
_root.entersound.start();
_root.attachMovie("fade in", "purchase", 200);
}
Symbol 1322 Button
on (release) {
_root.entersound.start();
_root.attachMovie("fade in", "survival", 200);
}
Symbol 1326 Button
on (release) {
_root.waytocupvoice.start();
_root.attachMovie("fade in", "waytocup", 200);
}
Symbol 1330 Button
on (release) {
_root.exhibitionvoice.start();
_root.attachMovie("fade in", "exhibition", 200);
}
Symbol 1345 MovieClip Frame 1
stop();
_parent.mask.gotoAndPlay(2);
Symbol 1345 MovieClip Frame 2
_parent.mask.gotoAndPlay(2);
Symbol 1345 MovieClip Frame 3
_parent.mask.gotoAndPlay(2);
Symbol 1345 MovieClip Frame 4
_parent.mask.gotoAndPlay(2);
Symbol 1345 MovieClip Frame 5
_parent.mask.gotoAndPlay(2);
Symbol 1345 MovieClip Frame 6
_parent.mask.gotoAndPlay(2);
Symbol 1345 MovieClip Frame 7
_parent.mask.gotoAndPlay(2);
Symbol 1347 MovieClip Frame 1
stop();
Instance of Symbol 1345 MovieClip "text" in Symbol 1349 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 3;
if (this._x < -660) {
this._x = 710;
}
}
Symbol 1350 Button
on (rollOver) {
_root.selectsound.start();
}
on (release) {
_root.entersound.start();
model.prevFrame();
}
Symbol 1351 Button
on (rollOver) {
_root.selectsound.start();
}
on (release) {
_root.entersound.start();
model.nextFrame();
}
Symbol 1355 MovieClip Frame 1
stop();
_parent.model.gotoAndStop("overall");
Symbol 1355 MovieClip Frame 2
stop();
_parent.model.gotoAndStop("defender");
Symbol 1355 MovieClip Frame 3
stop();
_parent.model.gotoAndStop("offender");
Symbol 1355 MovieClip Frame 4
gotoAndStop (1);
Symbol 1384 MovieClip Frame 1
stop();
_root.items.gotoAndStop(1);
_root.keyboard.gotoAndStop(1);
Instance of Symbol 155 MovieClip in Symbol 1384 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._currentframe != 15) {
_root.player2._name = "player";
_root.controlplayer._name = "player";
}
if ((_parent._currentframe != 22) && (_parent._currentframe != 23)) {
_root.player.specialshoe = "default";
}
if ((((((((_parent._currentframe != 7) && (_parent._currentframe != 11)) && (_parent._currentframe != 12)) && (_parent._currentframe != 13)) && (_parent._currentframe != 21)) && (_parent._currentframe != 22)) && (_parent._currentframe != 23)) && (_parent._currentframe != 2)) {
_root.player._y = 580;
}
_root.player._x = 600;
}
Instance of Symbol 155 MovieClip in Symbol 1384 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.player._currentframe == 1) {
_root.player.gotoAndStop("stand nothing");
}
}
Symbol 1384 MovieClip Frame 2
_root.keyboard.gotoAndStop(2);
Instance of Symbol 155 MovieClip in Symbol 1384 MovieClip Frame 2
onClipEvent (load) {
timer = 50;
}
onClipEvent (enterFrame) {
timer--;
a = random(5);
if (timer < 0) {
if (a == 0) {
_root.player.gotoAndStop("stand steal");
}
if (a == 1) {
_root.player.gotoAndStop("shot long");
}
if (a == 2) {
_root.player.gotoAndStop("shot short");
}
if (a == 3) {
_root.player.gotoAndStop("jump");
}
if (a == 4) {
_root.player.gotoAndStop("stand steal 2");
}
timer = 50;
}
if (_root.player._y < 470) {
_root.player.jump.gotoAndStop("block");
}
}
Symbol 1384 MovieClip Frame 3
_root.keyboard.gotoAndStop(3);
Instance of Symbol 155 MovieClip in Symbol 1384 MovieClip Frame 3
onClipEvent (load) {
timer = 50;
}
onClipEvent (enterFrame) {
timer--;
a = random(3);
if (timer < 0) {
if (a == 0) {
_root.player.gotoAndStop("straight pass");
}
if (a == 1) {
_root.player.gotoAndStop("long pass");
}
if (a == 2) {
_root.player.gotoAndStop("long pass near");
}
timer = 50;
}
}
Symbol 1384 MovieClip Frame 4
_root.keyboard.gotoAndStop(4);
Instance of Symbol 155 MovieClip in Symbol 1384 MovieClip Frame 4
onClipEvent (load) {
moveleft = true;
moveright = false;
timer = 100;
}
onClipEvent (enterFrame) {
if (moveleft == true) {
timer--;
if (timer < 0) {
moveright = true;
moveleft = false;
}
}
if (moveright == true) {
timer++;
if (timer > 100) {
moveright = false;
moveleft = true;
}
}
if (moveleft == true) {
_root.player._xscale = 100;
}
if (moveright == true) {
_root.player._xscale = -100;
}
_root.player.gotoAndStop("run nothing");
}
Symbol 1384 MovieClip Frame 5
_root.keyboard.gotoAndStop(5);
Instance of Symbol 155 MovieClip in Symbol 1384 MovieClip Frame 5
onClipEvent (load) {
moveleft = true;
moveright = false;
timer = 100;
}
onClipEvent (enterFrame) {
if (moveleft == true) {
timer--;
if (timer < 0) {
moveright = true;
moveleft = false;
}
}
if (moveright == true) {
timer++;
if (timer > 100) {
moveright = false;
moveleft = true;
}
}
if (moveleft == true) {
_root.player._xscale = 100;
}
if (moveright == true) {
_root.player._xscale = -100;
}
_root.player.gotoAndStop("walk");
}
Symbol 1384 MovieClip Frame 6
_root.keyboard.gotoAndStop(6);
Instance of Symbol 155 MovieClip in Symbol 1384 MovieClip Frame 6
onClipEvent (load) {
timer = 50;
}
onClipEvent (enterFrame) {
timer--;
a = random(2);
if (timer < 0) {
if (a == 0) {
_root.player.gotoAndStop("dodge guard");
}
if (a == 1) {
_root.player.gotoAndStop("ball dodge stand");
}
timer = 50;
}
}
Symbol 1384 MovieClip Frame 7
_root.keyboard.gotoAndStop(7);
Instance of Symbol 155 MovieClip in Symbol 1384 MovieClip Frame 7
onClipEvent (load) {
timer = 50;
}
onClipEvent (enterFrame) {
timer--;
a = random(2);
if (timer < 0) {
if (a == 0) {
_root.player.gotoAndStop("jump");
}
if (a == 1) {
_root.player.gotoAndStop("ball up stand");
}
timer = 50;
}
}
Symbol 1384 MovieClip Frame 8
_root.keyboard.gotoAndStop(9);
_root.items.gotoAndStop(2);
Instance of Symbol 155 MovieClip in Symbol 1384 MovieClip Frame 8
onClipEvent (load) {
moveleft = true;
moveright = false;
timer = 100;
}
onClipEvent (enterFrame) {
if (moveleft == true) {
timer--;
if (timer < 0) {
moveright = true;
moveleft = false;
}
}
if (moveright == true) {
timer++;
if (timer > 100) {
moveright = false;
moveleft = true;
}
}
if (moveleft == true) {
_root.player._xscale = 100;
}
if (moveright == true) {
_root.player._xscale = -100;
}
_root.player.gotoAndStop("walk");
}
Symbol 1384 MovieClip Frame 9
_root.keyboard.gotoAndStop(10);
Instance of Symbol 155 MovieClip in Symbol 1384 MovieClip Frame 9
onClipEvent (load) {
moveleft = true;
moveright = false;
timer = 100;
}
onClipEvent (enterFrame) {
if (moveleft == true) {
timer--;
if (timer < 0) {
moveright = true;
moveleft = false;
}
}
if (moveright == true) {
timer++;
if (timer > 100) {
moveright = false;
moveleft = true;
}
}
if (moveleft == true) {
_root.player._xscale = 100;
}
if (moveright == true) {
_root.player._xscale = -100;
}
_root.player.gotoAndStop("run nothing");
}
Symbol 1384 MovieClip Frame 10
_root.keyboard.gotoAndStop(12);
Instance of Symbol 155 MovieClip in Symbol 1384 MovieClip Frame 10
onClipEvent (enterFrame) {
_root.player.gotoAndStop("dodge guard");
}
Symbol 1384 MovieClip Frame 11
_root.keyboard.gotoAndStop(13);
Instance of Symbol 155 MovieClip in Symbol 1384 MovieClip Frame 11
onClipEvent (enterFrame) {
_root.player.gotoAndStop("jump");
}
Symbol 1384 MovieClip Frame 12
_root.keyboard.gotoAndStop(14);
Instance of Symbol 155 MovieClip in Symbol 1384 MovieClip Frame 12
onClipEvent (enterFrame) {
_root.player.gotoAndStop("jump");
if (_root.player._y < 500) {
_root.player.jump.gotoAndStop("guard");
}
}
Symbol 1384 MovieClip Frame 13
_root.keyboard.gotoAndStop(15);
Instance of Symbol 155 MovieClip in Symbol 1384 MovieClip Frame 13
onClipEvent (enterFrame) {
_root.player.gotoAndStop("jump");
if (_root.player._y < 470) {
_root.player.jump.gotoAndStop("block");
}
}
Symbol 1384 MovieClip Frame 14
_root.keyboard.gotoAndStop(17);
Instance of Symbol 155 MovieClip in Symbol 1384 MovieClip Frame 14
onClipEvent (load) {
timer = 20;
}
onClipEvent (enterFrame) {
timer--;
a = random(2);
if (timer < 0) {
if (a == 0) {
_root.player.gotoAndStop("stand steal");
}
if (a == 1) {
_root.player.gotoAndStop("stand steal 2");
}
timer = 20;
}
}
Symbol 1384 MovieClip Frame 15
_root.keyboard.gotoAndStop(19);
Instance of Symbol 155 MovieClip in Symbol 1384 MovieClip Frame 15
onClipEvent (load) {
timer = 30;
moveleft = true;
moveright = false;
}
onClipEvent (enterFrame) {
if (moveleft == true) {
timer--;
if (timer < 0) {
moveright = true;
moveleft = false;
}
}
if (moveright == true) {
timer++;
if (timer > 30) {
moveright = false;
moveleft = true;
}
}
if (moveleft == true) {
_root.player._name = "controlplayer";
_root.player2._name = "controlplayer";
}
if (moveright == true) {
_root.controlplayer._name = "player2";
_root.player._name = "player2";
}
}
Symbol 1384 MovieClip Frame 16
_root.keyboard.gotoAndStop(21);
_root.items.gotoAndStop(3);
Instance of Symbol 155 MovieClip in Symbol 1384 MovieClip Frame 16
onClipEvent (load) {
moveleft = true;
moveright = false;
timer = 100;
}
onClipEvent (enterFrame) {
if (moveleft == true) {
timer--;
if (timer < 0) {
moveright = true;
moveleft = false;
}
}
if (moveright == true) {
timer++;
if (timer > 100) {
moveright = false;
moveleft = true;
}
}
if (moveleft == true) {
_root.player._xscale = 100;
_root.player.gotoAndStop("ball walk");
}
if (moveright == true) {
_root.player._xscale = -100;
_root.player.gotoAndStop("run ball");
}
}
Symbol 1384 MovieClip Frame 17
_root.keyboard.gotoAndStop(23);
Instance of Symbol 155 MovieClip in Symbol 1384 MovieClip Frame 17
onClipEvent (load) {
_root.player.gotoAndStop("ball dodge stand");
}
onClipEvent (enterFrame) {
a = random(50);
if (a == 0) {
_root.player.gotoAndStop("shot long");
}
if (_root.player._currentframe == 1) {
_root.player.gotoAndStop("ball dodge stand");
}
}
Symbol 1384 MovieClip Frame 18
_root.keyboard.gotoAndStop(24);
Instance of Symbol 155 MovieClip in Symbol 1384 MovieClip Frame 18
onClipEvent (load) {
_root.player.gotoAndStop("ball up stand");
}
onClipEvent (enterFrame) {
a = random(50);
if (a == 0) {
_root.player.gotoAndStop("long pass near");
}
if (_root.player._currentframe == 1) {
_root.player.gotoAndStop("ball up stand");
}
}
Symbol 1384 MovieClip Frame 19
_root.keyboard.gotoAndStop(25);
Instance of Symbol 155 MovieClip in Symbol 1384 MovieClip Frame 19
onClipEvent (load) {
moveleft = true;
moveright = false;
timer = 100;
_root.player.gotoAndStop("ball control dodge");
}
onClipEvent (enterFrame) {
if (moveleft == true) {
timer--;
if (timer < 0) {
moveright = true;
moveleft = false;
}
}
if (moveright == true) {
timer++;
if (timer > 100) {
moveright = false;
moveleft = true;
}
}
if (moveleft == true) {
_root.player.balldodge.gotoAndStop(1);
}
if (moveright == true) {
_root.player.balldodge.gotoAndStop(2);
}
}
Symbol 1384 MovieClip Frame 20
_root.keyboard.gotoAndStop(27);
Instance of Symbol 155 MovieClip in Symbol 1384 MovieClip Frame 20
onClipEvent (load) {
_root.player.gotoAndStop("stand ball");
timer = 50;
}
onClipEvent (enterFrame) {
timer--;
a = random(2);
if (timer < 0) {
if (a == 0) {
_root.player.gotoAndStop("shot long");
}
if (a == 1) {
_root.player.gotoAndStop("shot short");
}
timer = 50;
}
if (_root.player._currentframe == 1) {
_root.player.gotoAndStop("stand ball");
}
}
Symbol 1384 MovieClip Frame 21
_root.keyboard.gotoAndStop(28);
Instance of Symbol 155 MovieClip in Symbol 1384 MovieClip Frame 21
onClipEvent (load) {
_root.player.gotoAndStop("run ball");
timer = 70;
}
onClipEvent (enterFrame) {
timer--;
if (timer < 0) {
_root.player.gotoAndStop("3step");
timer = 100;
}
if (_root.player._currentframe == 1) {
_root.player.gotoAndStop("run ball");
}
}
Symbol 1384 MovieClip Frame 22
_root.keyboard.gotoAndStop(29);
Instance of Symbol 155 MovieClip in Symbol 1384 MovieClip Frame 22
onClipEvent (load) {
_root.player.gotoAndStop("run ball");
timer = 50;
}
onClipEvent (enterFrame) {
_root.player.specialshoe = "shoe07";
timer--;
if (timer < 0) {
_root.player.gotoAndStop("dunk1");
timer = 70;
}
if (_root.player._currentframe == 1) {
_root.player.gotoAndStop("run ball");
}
}
Symbol 1384 MovieClip Frame 23
_root.keyboard.gotoAndStop(30);
Symbol 1384 MovieClip Frame 24
_root.keyboard.gotoAndStop(32);
Instance of Symbol 155 MovieClip in Symbol 1384 MovieClip Frame 24
onClipEvent (load) {
_root.player.gotoAndStop("stand ball");
timer = 50;
}
onClipEvent (enterFrame) {
timer--;
if (timer < 0) {
_root.player.gotoAndStop("straight pass");
timer = 50;
}
if (_root.player._currentframe == 1) {
_root.player.gotoAndStop("stand ball");
}
}
Symbol 1384 MovieClip Frame 25
_root.keyboard.gotoAndStop(33);
Instance of Symbol 155 MovieClip in Symbol 1384 MovieClip Frame 25
onClipEvent (load) {
_root.player.gotoAndStop("ball up stand");
timer = 50;
}
onClipEvent (enterFrame) {
a = random(2);
timer--;
if (timer < 0) {
if (a == 0) {
_root.player.gotoAndStop("long pass");
}
if (a == 1) {
_root.player.gotoAndStop("long pass near");
}
timer = 50;
}
if (_root.player._currentframe == 1) {
_root.player.gotoAndStop("ball up stand");
}
}
Symbol 1384 MovieClip Frame 26
_root.keyboard.gotoAndStop(34);
Instance of Symbol 155 MovieClip in Symbol 1384 MovieClip Frame 26
onClipEvent (load) {
_root.player.gotoAndStop("run ball");
timer = 50;
}
onClipEvent (enterFrame) {
timer--;
if (timer < 0) {
_root.player.gotoAndStop("run pass");
timer = 50;
}
if (_root.player._currentframe == 1) {
_root.player.gotoAndStop("run ball");
}
}
Symbol 1384 MovieClip Frame 27
_root.keyboard.gotoAndStop(36);
Instance of Symbol 155 MovieClip in Symbol 1384 MovieClip Frame 27
onClipEvent (enterFrame) {
if (_root.player._currentframe == 1) {
_root.player.gotoAndStop("stand nothing");
}
}
Symbol 1385 Button
on (rollOver) {
effect.gotoAndPlay(2);
}
on (rollOut) {
effect.gotoAndPlay(16);
}
on (release) {
_root.entersound.start();
items.nextFrame();
}
Symbol 1388 Button
on (release) {
stopAllSounds();
if (_root.model._currentframe == 15) {
_root.model.gotoAndStop(16);
}
_root.playerlable.removeMovieClip();
_root.partnerlable.removeMovieClip();
_root.cancelsound.start();
_root.attachMovie("fade in", "mainmenu", 200);
}
Symbol 1400 MovieClip Frame 1
stop();
Symbol 1400 MovieClip Frame 36
stop();