Frame 1
stop();
fscommand ("showmenu", "false");
fscommand ("allowscale", "false");
Instance of Symbol 16 MovieClip "atien" in Frame 1
onClipEvent (load) {
wtext = "Loading...";
total = _root.getBytesTotal();
_alpha = ((wait = 0));
}
onClipEvent (enterFrame) {
charg = _root.getBytesLoaded();
_alpha = Math.round((charg * 100) / total);
if (charg >= total) {
if (!(wait === 60)) {
wtext = "";
wait++;
} else {
_root.nextFrame();
}
}
}
Frame 2
stop();
kcheat1 = 118;
kcheat2 = 119;
k1up = 38;
k1down = 40;
k1left = 37;
k1right = 39;
k1atak = 88;
k1special = 67;
k1blok = 86;
k2up = 104;
k2down = 98;
k2left = 100;
k2right = 102;
k2atak = 73;
k2special = 79;
k2blok = 80;
maxperso = 7;
maxstage = 6;
maxstory = 3;
s_select = new Sound();
s_select.attachSound("select");
s_choose = new Sound();
s_choose.attachSound("choose");
s_ok = new Sound();
s_ok.attachSound("ok");
s_cancel = new Sound();
s_cancel.attachSound("cancel");
s1_punch1 = new Sound();
s1_punch1.attachSound("punch1");
s2_punch1 = new Sound();
s2_punch1.attachSound("punch1");
s1_punch2 = new Sound();
s1_punch2.attachSound("punch2");
s2_punch2 = new Sound();
s2_punch2.attachSound("punch2");
s1_aura = new Sound();
s1_aura.attachSound("aura");
s2_aura = new Sound();
s2_aura.attachSound("aura");
s1_kmeaload = new Sound();
s1_kmeaload.attachSound("kmeaload");
s2_kmeaload = new Sound();
s2_kmeaload.attachSound("kmeaload");
s1_kmeago = new Sound();
s1_kmeago.attachSound("kmeago");
s2_kmeago = new Sound();
s2_kmeago.attachSound("kmeago");
s_boom1 = new Sound();
s_boom1.attachSound("boom1");
s_boom2 = new Sound();
s_boom2.attachSound("boom2");
s_boom3 = new Sound();
s_boom3.attachSound("boom3");
Instance of Symbol 20 MovieClip in Frame 2
onClipEvent (load) {
wait = 0;
}
onClipEvent (enterFrame) {
if (!(wait === 60)) {
wait++;
} else {
_root.nextFrame();
}
}
Frame 3
stop();
Mouse.show();
Key.removeListener(ecouteur);
removeMovieClip(p1);
removeMovieClip(p2);
fleche1.gotoAndStop(1);
fleche2.gotoAndStop(1);
vsmode = "1P VS 2P";
modevs = 1;
p1com = 0;
p2com = 0;
match = 0;
storymode = 0;
Instance of Symbol 27 MovieClip "fleche1" in Frame 3
on (press) {
_root.s_choose.start();
_root.modevs--;
switch (_root.modevs) {
case 1 :
case 4 :
_root.modevs = 1;
_root.vsmode = "1P VS 2P";
_root.p1com = 0;
_root.p2com = 0;
break;
case 2 :
_root.vsmode = "1P VS COM";
_root.p1com = 0;
_root.p2com = 1;
break;
case 0 :
case 3 :
_root.modevs = 3;
_root.vsmode = "COM VS COM";
_root.p1com = 1;
_root.p2com = 1;
}
}
Instance of Symbol 27 MovieClip "fleche2" in Frame 3
on (press) {
_root.s_choose.start();
_root.modevs++;
switch (_root.modevs) {
case 1 :
case 4 :
_root.modevs = 1;
_root.vsmode = "1P VS 2P";
_root.p1com = 0;
_root.p2com = 0;
break;
case 2 :
_root.vsmode = "1P VS COM";
_root.p1com = 0;
_root.p2com = 1;
break;
case 0 :
case 3 :
_root.modevs = 3;
_root.vsmode = "COM VS COM";
_root.p1com = 1;
_root.p2com = 1;
}
}
Frame 4
stop();
keyselect = 1;
pkeyselect = 1;
keywait = 0;
w = "...";
select_exit._visible = 0;
sk1up = String.fromCharCode(k1up);
sk1down = String.fromCharCode(k1down);
sk1left = String.fromCharCode(k1left);
sk1right = String.fromCharCode(k1right);
sk1atak = String.fromCharCode(k1atak);
sk1special = String.fromCharCode(k1special);
sk1blok = String.fromCharCode(k1blok);
sk2up = String.fromCharCode(k2up);
sk2down = String.fromCharCode(k2down);
sk2left = String.fromCharCode(k2left);
sk2right = String.fromCharCode(k2right);
sk2atak = String.fromCharCode(k2atak);
sk2special = String.fromCharCode(k2special);
sk2blok = String.fromCharCode(k2blok);
ecouteur = new Object();
ecouteur.onKeyDown = function () {
if (keywait == 1) {
switch (keyselect) {
case 1 :
switch (pkeyselect) {
case 1 :
k1up = Key.getCode();
sk1up = String.fromCharCode(k1up);
break;
case 2 :
k2up = Key.getCode();
sk2up = String.fromCharCode(k2up);
}
break;
case 2 :
switch (pkeyselect) {
case 1 :
k1down = Key.getCode();
sk1down = String.fromCharCode(k1down);
break;
case 2 :
k2down = Key.getCode();
sk2down = String.fromCharCode(k2down);
}
break;
case 3 :
switch (pkeyselect) {
case 1 :
k1left = Key.getCode();
sk1left = String.fromCharCode(k1left);
break;
case 2 :
k2left = Key.getCode();
sk2left = String.fromCharCode(k2left);
}
break;
case 4 :
switch (pkeyselect) {
case 1 :
k1right = Key.getCode();
sk1right = String.fromCharCode(k1right);
break;
case 2 :
k2right = Key.getCode();
sk2right = String.fromCharCode(k2right);
}
break;
case 5 :
switch (pkeyselect) {
case 1 :
k1atak = Key.getCode();
sk1atak = String.fromCharCode(k1atak);
break;
case 2 :
k2atak = Key.getCode();
sk2atak = String.fromCharCode(k2atak);
}
break;
case 6 :
switch (pkeyselect) {
case 1 :
k1special = Key.getCode();
sk1special = String.fromCharCode(k1special);
break;
case 2 :
k2special = Key.getCode();
sk2special = String.fromCharCode(k2special);
}
break;
case 7 :
switch (pkeyselect) {
case 1 :
k1blok = Key.getCode();
sk1blok = String.fromCharCode(k1blok);
break;
case 2 :
k2blok = Key.getCode();
sk2blok = String.fromCharCode(k2blok);
}
}
keywait = 0;
}
};
Key.addListener(ecouteur);
Instance of Symbol 72 MovieClip "showaura" in Frame 4
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
}
}
Instance of Symbol 76 MovieClip "kameha" in Frame 4
onClipEvent (load) {
_alpha = 0;
go._xscale = 100;
}
onClipEvent (enterFrame) {
if (_alpha > 0) {
_alpha = (_alpha - 10);
if (go._xscale < 15000) {
go._xscale = go._xscale + 200;
}
}
}
Instance of Symbol 16 MovieClip "atien" in Frame 4
on (rollOver) {
gotoAndStop (2);
}
on (rollOut) {
play();
}
on (press) {
getURL ("http://www.atien.net", "_blank");
play();
}
Instance of Symbol 122 MovieClip "showp" in Frame 4
onClipEvent (load) {
show = 0;
}
onClipEvent (enterFrame) {
show++;
switch (show) {
case 1080 :
show = 1;
case 1 :
txt1 = "Ok, let's start training!";
txt2 = "";
case 592 :
gotoAndStop (1);
break;
case 120 :
txt1 = "LEFT/RIGHT to walk";
case 128 :
case 136 :
case 144 :
case 152 :
case 160 :
case 168 :
case 176 :
case 184 :
case 192 :
case 200 :
case 208 :
case 216 :
case 224 :
case 232 :
gotoAndStop (2);
break;
case 124 :
case 140 :
case 156 :
case 172 :
case 188 :
case 204 :
case 220 :
case 236 :
gotoAndStop (3);
break;
case 132 :
case 148 :
case 164 :
case 180 :
case 196 :
case 212 :
case 228 :
gotoAndStop (4);
break;
case 240 :
txt1 = "UP/DOWN to fly";
case 488 :
case 504 :
case 520 :
case 536 :
case 552 :
case 568 :
case 584 :
gotoAndStop (11);
break;
case 360 :
txt1 = "BLOCK to protect";
gotoAndStop (7);
break;
case 480 :
txt1 = "ATTACK to punch/kick";
case 496 :
case 512 :
case 528 :
case 544 :
case 560 :
case 576 :
gotoAndStop (13);
break;
case 484 :
case 500 :
case 516 :
case 532 :
case 548 :
case 564 :
case 580 :
gotoAndStop (14);
break;
case 492 :
case 508 :
case 524 :
case 540 :
case 556 :
case 572 :
case 588 :
gotoAndStop (12);
break;
case 600 :
txt1 = "SPECIAL to load Ki";
gotoAndStop (1);
_root.showaura._alpha = 800;
break;
case 720 :
_root.bulle.gotoAndStop(2);
txt1 = "move + SPECIAL";
txt2 = "to 'bushin'";
gotoAndStop (5);
break;
case 780 :
gotoAndStop (6);
break;
case 840 :
txt1 = "SPECIAL + ATTACK";
txt2 = "to concentrate energy-ball";
gotoAndStop (15);
break;
case 960 :
_root.bulle.gotoAndStop(1);
txt1 = "release ATTACK to fire";
txt2 = "";
break;
case 990 :
gotoAndStop (16);
_root.kameha._x = _x + 8;
_root.kameha._y = _y - 12;
_root.kameha.go._xscale = 100;
_root.kameha._alpha = 300;
_root.ball._x = _x + 30;
_root.ball._y = _y - 12;
_root.ball._alpha = 300;
}
}
Instance of Symbol 129 MovieClip "ball" in Frame 4
onClipEvent (load) {
_alpha = 0;
gotoAndStop (3);
}
onClipEvent (enterFrame) {
if (_alpha > 0) {
if (_x < 320) {
_x = (_x + 6);
_rotation = (_rotation + 6);
} else {
_alpha = 0;
}
}
}
Frame 5
stop();
p1_c = random(maxperso) + 1;
p1select.gotoAndStop(p1_c);
p2_c = random(maxperso) + 1;
p2select.gotoAndStop(p2_c);
stage_c = random(maxstage) + 1;
stageselect.gotoAndStop(stage_c);
fleche1.gotoAndStop(1);
fleche2.gotoAndStop(1);
fleche3.gotoAndStop(1);
fleche4.gotoAndStop(1);
fleche5.gotoAndStop(1);
fleche6.gotoAndStop(1);
Instance of Symbol 27 MovieClip "fleche1" in Frame 5
on (press) {
switch (_root.p1_c) {
case 1 :
break;
default :
_root.s_choose.start();
_root.p1select.prevFrame();
_root.p1_c--;
}
}
Instance of Symbol 27 MovieClip "fleche3" in Frame 5
on (press) {
switch (_root.p2_c) {
case 1 :
break;
default :
_root.s_choose.start();
_root.p2select.prevFrame();
_root.p2_c--;
}
}
Instance of Symbol 27 MovieClip "fleche5" in Frame 5
on (press) {
switch (_root.stage_c) {
case 1 :
break;
default :
_root.s_choose.start();
_root.stageselect.prevFrame();
_root.stage_c--;
}
}
Instance of Symbol 27 MovieClip "fleche2" in Frame 5
on (press) {
switch (_root.p1_c) {
case _root.maxperso :
break;
default :
_root.s_choose.start();
_root.p1select.nextFrame();
_root.p1_c++;
}
}
Instance of Symbol 27 MovieClip "fleche4" in Frame 5
on (press) {
switch (_root.p2_c) {
case _root.maxperso :
break;
default :
_root.s_choose.start();
_root.p2select.nextFrame();
_root.p2_c++;
}
}
Instance of Symbol 27 MovieClip "fleche6" in Frame 5
on (press) {
switch (_root.stage_c) {
case _root.maxstage :
break;
default :
_root.s_choose.start();
_root.stageselect.nextFrame();
_root.stage_c++;
}
}
Instance of Symbol 184 MovieClip "action" in Frame 5
onClipEvent (enterFrame) {
if (Key.isDown(27) || (Key.isDown(8))) {
_root.s_cancel.start();
_root.gotoAndPlay("titre");
}
}
Frame 6
stop();
removeMovieClip(p1);
removeMovieClip(p2);
fleche1._visible = (fleche2._visible = false);
fleche1.gotoAndStop(1);
fleche2.gotoAndStop(1);
p1_story = 0;
switch (storymode) {
case 1 :
p1_c = 1;
p2_c = 2;
stage_c = 1;
txt.gotoAndStop(1);
break;
case 2 :
p1_c = 1;
p2_c = 3;
stage_c = 2;
box = new Array(1, 2);
p1_storymax = 1;
txt.gotoAndStop(2);
fleche1._visible = (fleche2._visible = true);
}
p1select.gotoAndStop(p1_c);
p2select.gotoAndStop(p2_c);
stageselect.gotoAndStop(stage_c);
Instance of Symbol 27 MovieClip "fleche1" in Frame 6
on (press) {
switch (_root.p1_story) {
case 0 :
break;
default :
_root.s_choose.start();
_root.p1_story--;
_root.p1select.gotoAndStop(_root.box[_root.p1_story]);
_root.p1_c = _root.box[_root.p1_story];
}
}
Instance of Symbol 27 MovieClip "fleche2" in Frame 6
on (press) {
switch (_root.p1_story) {
case _root.p1_storymax :
break;
default :
_root.s_choose.start();
_root.p1_story++;
_root.p1select.gotoAndStop(_root.box[_root.p1_story]);
_root.p1_c = _root.box[_root.p1_story];
}
}
Frame 7
stop();
fleche1.gotoAndStop(1);
fleche2.gotoAndStop(1);
fleche3.gotoAndStop(1);
fleche4.gotoAndStop(1);
fleche5.gotoAndStop(1);
fleche6.gotoAndStop(1);
fleche7.gotoAndStop(1);
fleche8.gotoAndStop(1);
fleche9.gotoAndStop(1);
fleche10.gotoAndStop(1);
fleche11.gotoAndStop(1);
fleche12.gotoAndStop(1);
fleche13.gotoAndStop(1);
fleche14.gotoAndStop(1);
fleche15.gotoAndStop(1);
fleche16.gotoAndStop(1);
stage_c = 1;
match1winner = (match2winner = (match3winner = (match4winner = (match5winner = (match6winner = (match7winner = 0))))));
budop1_c = random(maxperso) + 1;
p1select.gotoAndStop(budop1_c);
budop2_c = random(maxperso) + 1;
p2select.gotoAndStop(budop2_c);
budop3_c = random(maxperso) + 1;
p3select.gotoAndStop(budop3_c);
budop4_c = random(maxperso) + 1;
p4select.gotoAndStop(budop4_c);
budop5_c = random(maxperso) + 1;
p5select.gotoAndStop(budop5_c);
budop6_c = random(maxperso) + 1;
p6select.gotoAndStop(budop6_c);
budop7_c = random(maxperso) + 1;
p7select.gotoAndStop(budop7_c);
budop8_c = random(maxperso) + 1;
p8select.gotoAndStop(budop8_c);
nbp1 = "P1";
nbp2 = "COM2";
nbp3 = "COM3";
nbp4 = "COM4";
nbp5 = "COM5";
nbp6 = "COM6";
nbp7 = "COM7";
nbp8 = "COM8";
nbp1COM = 0;
nbp2COM = (nbp3COM = (nbp4COM = (nbp5COM = (nbp6COM = (nbp7COM = (nbp8COM = 1))))));
Instance of Symbol 27 MovieClip "fleche1" in Frame 7
on (press) {
switch (_root.budop1_c) {
case _root.maxperso :
break;
default :
_root.s_choose.start();
_root.p1select.nextFrame();
_root.budop1_c++;
}
}
Instance of Symbol 27 MovieClip "fleche3" in Frame 7
on (press) {
switch (_root.budop2_c) {
case _root.maxperso :
break;
default :
_root.s_choose.start();
_root.p2select.nextFrame();
_root.budop2_c++;
}
}
Instance of Symbol 27 MovieClip "fleche5" in Frame 7
on (press) {
switch (_root.budop3_c) {
case _root.maxperso :
break;
default :
_root.s_choose.start();
_root.p3select.nextFrame();
_root.budop3_c++;
}
}
Instance of Symbol 27 MovieClip "fleche7" in Frame 7
on (press) {
switch (_root.budop4_c) {
case _root.maxperso :
break;
default :
_root.s_choose.start();
_root.p4select.nextFrame();
_root.budop4_c++;
}
}
Instance of Symbol 27 MovieClip "fleche9" in Frame 7
on (press) {
switch (_root.budop5_c) {
case _root.maxperso :
break;
default :
_root.s_choose.start();
_root.p5select.nextFrame();
_root.budop5_c++;
}
}
Instance of Symbol 27 MovieClip "fleche11" in Frame 7
on (press) {
switch (_root.budop6_c) {
case _root.maxperso :
break;
default :
_root.s_choose.start();
_root.p6select.nextFrame();
_root.budop6_c++;
}
}
Instance of Symbol 27 MovieClip "fleche13" in Frame 7
on (press) {
switch (_root.budop7_c) {
case _root.maxperso :
break;
default :
_root.s_choose.start();
_root.p7select.nextFrame();
_root.budop7_c++;
}
}
Instance of Symbol 27 MovieClip "fleche15" in Frame 7
on (press) {
switch (_root.budop8_c) {
case _root.maxperso :
break;
default :
_root.s_choose.start();
_root.p8select.nextFrame();
_root.budop8_c++;
}
}
Instance of Symbol 27 MovieClip "fleche16" in Frame 7
on (press) {
switch (_root.budop8_c) {
case 1 :
break;
default :
_root.s_choose.start();
_root.p8select.prevFrame();
_root.budop8_c--;
}
}
Instance of Symbol 27 MovieClip "fleche14" in Frame 7
on (press) {
switch (_root.budop7_c) {
case 1 :
break;
default :
_root.s_choose.start();
_root.p7select.prevFrame();
_root.budop7_c--;
}
}
Instance of Symbol 27 MovieClip "fleche12" in Frame 7
on (press) {
switch (_root.budop6_c) {
case 1 :
break;
default :
_root.s_choose.start();
_root.p6select.prevFrame();
_root.budop6_c--;
}
}
Instance of Symbol 27 MovieClip "fleche10" in Frame 7
on (press) {
switch (_root.budop5_c) {
case 1 :
break;
default :
_root.s_choose.start();
_root.p5select.prevFrame();
_root.budop5_c--;
}
}
Instance of Symbol 27 MovieClip "fleche8" in Frame 7
on (press) {
switch (_root.budop4_c) {
case 1 :
break;
default :
_root.s_choose.start();
_root.p4select.prevFrame();
_root.budop4_c--;
}
}
Instance of Symbol 27 MovieClip "fleche6" in Frame 7
on (press) {
switch (_root.budop3_c) {
case 1 :
break;
default :
_root.s_choose.start();
_root.p3select.prevFrame();
_root.budop3_c--;
}
}
Instance of Symbol 27 MovieClip "fleche4" in Frame 7
on (press) {
switch (_root.budop2_c) {
case 1 :
break;
default :
_root.s_choose.start();
_root.p2select.prevFrame();
_root.budop2_c--;
}
}
Instance of Symbol 27 MovieClip "fleche2" in Frame 7
on (press) {
switch (_root.budop1_c) {
case 1 :
break;
default :
_root.s_choose.start();
_root.p1select.prevFrame();
_root.budop1_c--;
}
}
Frame 8
stop();
removeMovieClip(p1);
removeMovieClip(p2);
way01._visible = (way02._visible = (way03._visible = (way04._visible = (way05._visible = (way06._visible = (way07._visible = (way08._visible = (way11._visible = (way12._visible = (way13._visible = (way14._visible = (way21._visible = (way22._visible = (way30._visible = 0))))))))))))));
face1.gotoAndStop(budop1_c);
face2.gotoAndStop(budop2_c);
face3.gotoAndStop(budop3_c);
face4.gotoAndStop(budop4_c);
face5.gotoAndStop(budop5_c);
face6.gotoAndStop(budop6_c);
face7.gotoAndStop(budop7_c);
face8.gotoAndStop(budop8_c);
switch (match1winner) {
case 1 :
nbp2 = "out";
face2._alpha = 50;
way01._visible = 1;
break;
case 2 :
nbp1 = "out";
face1._alpha = 50;
way02._visible = 1;
}
switch (match2winner) {
case 1 :
nbp4 = "out";
face4._alpha = 50;
way03._visible = 1;
break;
case 2 :
nbp3 = "out";
face3._alpha = 50;
way04._visible = 1;
}
switch (match3winner) {
case 1 :
nbp6 = "out";
face6._alpha = 50;
way05._visible = 1;
break;
case 2 :
nbp5 = "out";
face5._alpha = 50;
way06._visible = 1;
}
switch (match4winner) {
case 1 :
nbp8 = "out";
face8._alpha = 50;
way07._visible = 1;
break;
case 2 :
nbp7 = "out";
face7._alpha = 50;
way08._visible = 1;
}
switch (match5winner) {
case 1 :
nbp3 = (nbp4 = "out");
face3._alpha = (face4._alpha = 50);
way11._visible = 1;
break;
case 2 :
nbp1 = (nbp2 = "out");
face1._alpha = (face2._alpha = 50);
way12._visible = 1;
}
switch (match6winner) {
case 1 :
nbp7 = (nbp8 = "out");
face7._alpha = (face8._alpha = 50);
way13._visible = 1;
break;
case 2 :
nbp5 = (nbp6 = "out");
face5._alpha = (face6._alpha = 50);
way14._visible = 1;
}
switch (match7winner) {
case 1 :
nbp5 = (nbp6 = (nbp7 = (nbp8 = "out")));
face5._alpha = (face6._alpha = (face7._alpha = (face8._alpha = 50)));
way21._visible = (way30._visible = 1);
break;
case 2 :
nbp1 = (nbp2 = (nbp3 = (nbp4 = "out")));
face1._alpha = (face2._alpha = (face3._alpha = (face4._alpha = 50)));
way22._visible = (way30._visible = 1);
}
Instance of Symbol 236 MovieClip in Frame 8
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
if (Key.isDown(27) || (Key.isDown(8))) {
_root.s_cancel.start();
_root.gotoAndPlay("titre");
}
}
onClipEvent (mouseDown) {
_root.s_choose.start();
switch (_root.match) {
case 1 :
_root.p1_c = _root.budop1_c;
_root.p1com = _root.nbp1COM;
_root.p1name = (_root.nbp1 + " - ") + _root.face1.name;
_root.p2_c = _root.budop2_c;
_root.p2com = _root.nbp2COM;
_root.p2name = (_root.nbp2 + " - ") + _root.face2.name;
break;
case 2 :
_root.p1_c = _root.budop3_c;
_root.p1com = _root.nbp3COM;
_root.p1name = (_root.nbp3 + " - ") + _root.face3.name;
_root.p2_c = _root.budop4_c;
_root.p2com = _root.nbp4COM;
_root.p2name = (_root.nbp4 + " - ") + _root.face4.name;
break;
case 3 :
_root.p1_c = _root.budop5_c;
_root.p1com = _root.nbp5COM;
_root.p1name = (_root.nbp5 + " - ") + _root.face5.name;
_root.p2_c = _root.budop6_c;
_root.p2com = _root.nbp6COM;
_root.p2name = (_root.nbp6 + " - ") + _root.face6.name;
break;
case 4 :
_root.p1_c = _root.budop7_c;
_root.p1com = _root.nbp7COM;
_root.p1name = (_root.nbp7 + " - ") + _root.face7.name;
_root.p2_c = _root.budop8_c;
_root.p2com = _root.nbp8COM;
_root.p2name = (_root.nbp8 + " - ") + _root.face8.name;
break;
case 5 :
switch (_root.match1winner) {
case 1 :
_root.p1_c = _root.budop1_c;
_root.p1com = _root.nbp1COM;
_root.p1name = (_root.nbp1 + " - ") + _root.face1.name;
break;
case 2 :
_root.p1_c = _root.budop2_c;
_root.p1com = _root.nbp2COM;
_root.p1name = (_root.nbp2 + " - ") + _root.face2.name;
}
switch (_root.match2winner) {
case 1 :
_root.p2_c = _root.budop3_c;
_root.p2com = _root.nbp3COM;
_root.p2name = (_root.nbp3 + " - ") + _root.face3.name;
break;
case 2 :
_root.p2_c = _root.budop4_c;
_root.p2com = _root.nbp4COM;
_root.p2name = (_root.nbp4 + " - ") + _root.face4.name;
}
break;
case 6 :
switch (_root.match3winner) {
case 1 :
_root.p1_c = _root.budop5_c;
_root.p1com = _root.nbp5COM;
_root.p1name = (_root.nbp5 + " - ") + _root.face5.name;
break;
case 2 :
_root.p1_c = _root.budop6_c;
_root.p1com = _root.nbp6COM;
_root.p1name = (_root.nbp6 + " - ") + _root.face6.name;
}
switch (_root.match4winner) {
case 1 :
_root.p2_c = _root.budop7_c;
_root.p2com = _root.nbp7COM;
_root.p2name = (_root.nbp7 + " - ") + _root.face7.name;
break;
case 2 :
_root.p2_c = _root.budop8_c;
_root.p2com = _root.nbp8COM;
_root.p2name = (_root.nbp8 + " - ") + _root.face8.name;
}
break;
case 7 :
switch (_root.match5winner) {
case 1 :
switch (_root.match1winner) {
case 1 :
_root.p1_c = _root.budop1_c;
_root.p1com = _root.nbp1COM;
_root.p1name = (_root.nbp1 + " - ") + _root.face1.name;
break;
case 2 :
_root.p1_c = _root.budop2_c;
_root.p1com = _root.nbp2COM;
_root.p1name = (_root.nbp2 + " - ") + _root.face2.name;
}
break;
case 2 :
switch (_root.match2winner) {
case 1 :
_root.p1_c = _root.budop3_c;
_root.p1com = _root.nbp3COM;
_root.p1name = (_root.nbp3 + " - ") + _root.face3.name;
break;
case 2 :
_root.p1_c = _root.budop4_c;
_root.p1com = _root.nbp4COM;
_root.p1name = (_root.nbp4 + " - ") + _root.face4.name;
}
}
switch (_root.match6winner) {
case 1 :
switch (_root.match3winner) {
case 1 :
_root.p2_c = _root.budop5_c;
_root.p2com = _root.nbp5COM;
_root.p2name = (_root.nbp5 + " - ") + _root.face5.name;
break;
case 2 :
_root.p2_c = _root.budop6_c;
_root.p2com = _root.nbp6COM;
_root.p2name = (_root.nbp6 + " - ") + _root.face6.name;
}
break;
case 2 :
switch (_root.match4winner) {
case 1 :
_root.p2_c = _root.budop7_c;
_root.p2com = _root.nbp7COM;
_root.p2name = (_root.nbp7 + " - ") + _root.face7.name;
break;
case 2 :
_root.p2_c = _root.budop8_c;
_root.p2com = _root.nbp8COM;
_root.p2name = (_root.nbp8 + " - ") + _root.face8.name;
}
}
}
if (!(_root.match === 8)) {
if ((_root.p1com == _root.p2com) == 1) {
_root.nextFrame();
}
_root.gotoAndPlay("initVS");
} else {
_root.gotoAndPlay("fin");
}
}
Frame 9
stop();
Instance of Symbol 184 MovieClip "action" in Frame 9
onClipEvent (enterFrame) {
if (Key.isDown(27) || (Key.isDown(8))) {
_root.s_cancel.start();
_root.gotoAndPlay("titre");
}
}
Frame 10
stop();
removeMovieClip(p1);
removeMovieClip(p2);
Instance of Symbol 236 MovieClip in Frame 10
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
onClipEvent (mouseDown) {
_root.s_fiit.start();
_root.gotoAndStop("titre");
}
Frame 11
function particule(x, y, i) {
var newpt = ("pt" + i);
pt.duplicateMovieClip(newpt, i);
setProperty(newpt, _x , (x + random(41)) - 20);
setProperty(newpt, _y , y);
return(undefined);
}
stop();
Mouse.hide();
ecouteur = new Object();
ecouteur.onKeyUp = function () {
if (!(p1com === 0)) {
} else {
if (Key.getCode() == k1atak) {
if (p1pow > 20) {
p1fire = 2;
}
switch (p1fire) {
case 1 :
p1spr = 16;
if (!(bp1i === 6)) {
bp1i++;
} else {
bp1i = 1;
}
var newball = ("p1ball" + bp1i);
p1ball.duplicateMovieClip(newball, 100 + bp1i);
setProperty(newball, _y , p1._y - 12);
p1ballangle = Math.atan((p2._y - p1._y) / (p2._x - p1._x));
switch (xcross) {
case 0 :
setProperty(newball, _x , p1._x + 18);
p1ballspeed = 20;
if (p1ballangle <= (-anglemax)) {
p1spr = 17;
}
if (p1ballangle >= anglemax) {
p1spr = 18;
}
break;
case 1 :
setProperty(newball, _x , p1._x - 18);
p1ballspeed = -20;
if (p1ballangle <= (-anglemax)) {
p1spr = 18;
}
if (p1ballangle < anglemax) {
break;
}
p1spr = 17;
}
p1fire = 4;
break;
case 2 :
p1pow = p1pow + 4;
s1_kmeago.start();
p1fire = 3;
p1spr = 16;
if (!(bp1i === 6)) {
bp1i++;
} else {
bp1i = 1;
}
var newball = ("p1ball" + bp1i);
p1ball.duplicateMovieClip(newball, 100 + bp1i);
p1ballangle = Math.atan((p2._y - p1._y) / (p2._x - p1._x));
p1kameha._rotation = Math.round((p1ballangle * 180) / Math.PI);
switch (xcross) {
case 0 :
setProperty(newball, _x , p1kameha._x + (34 * Math.cos(p1ballangle)));
setProperty(newball, _y , p1kameha._y + (34 * Math.sin(p1ballangle)));
p1ballspeed = 10;
if (p1ballangle <= (-anglemax)) {
p1spr = 17;
}
if (p1ballangle >= anglemax) {
p1spr = 18;
}
break;
case 1 :
setProperty(newball, _x , p1kameha._x - (34 * Math.cos(p1ballangle)));
setProperty(newball, _y , p1kameha._y - (34 * Math.sin(p1ballangle)));
p1ballspeed = -10;
if (p1ballangle <= (-anglemax)) {
p1spr = 18;
}
if (p1ballangle < anglemax) {
break;
}
p1spr = 17;
}
p1kameha.go._xscale = 1;
p1kameha._alpha = 100;
}
}
if ((Key.getCode() == k1special) && (p1wound == 0)) {
p1fire = 0;
p1pow = 0;
p1speed = 0;
} else if ((p1fire == 0) && (p1wound == 0)) {
p1spr = 1;
p1block = 0;
}
}
if (!(p2com === 0)) {
} else {
if (Key.getCode() == k2atak) {
if (p2pow > 20) {
p2fire = 2;
}
switch (p2fire) {
case 1 :
p2spr = 16;
if (!(bp2i === 6)) {
bp2i++;
} else {
bp2i = 1;
}
var newball = ("p2ball" + bp2i);
p2ball.duplicateMovieClip(newball, 110 + bp2i);
setProperty(newball, _y , p2._y - 12);
p2ballangle = Math.atan((p1._y - p2._y) / (p1._x - p2._x));
switch (xcross) {
case 0 :
setProperty(newball, _x , p2._x - 18);
p2ballspeed = -20;
if (p2ballangle <= (-anglemax)) {
p2spr = 18;
}
if (p2ballangle >= anglemax) {
p2spr = 17;
}
break;
case 1 :
setProperty(newball, _x , p2._x + 18);
p2ballspeed = 20;
if (p2ballangle <= (-anglemax)) {
p2spr = 17;
}
if (p2ballangle < anglemax) {
break;
}
p2spr = 18;
}
p2fire = 4;
break;
case 2 :
p2pow = p2pow + 4;
s2_kmeago.start();
p2fire = 3;
p2spr = 16;
if (!(bp2i === 6)) {
bp2i++;
} else {
bp2i = 1;
}
var newball = ("p2ball" + bp2i);
p2ball.duplicateMovieClip(newball, 100 + bp2i);
p2ballangle = Math.atan((p1._y - p2._y) / (p1._x - p2._x));
p2kameha._rotation = Math.round((p2ballangle * 180) / Math.PI);
switch (xcross) {
case 0 :
setProperty(newball, _x , p2kameha._x - (34 * Math.cos(p2ballangle)));
setProperty(newball, _y , p2kameha._y - (34 * Math.sin(p2ballangle)));
p2ballspeed = -10;
if (p2ballangle <= (-anglemax)) {
p2spr = 18;
}
if (p2ballangle >= anglemax) {
p2spr = 17;
}
break;
case 1 :
setProperty(newball, _x , p2kameha._x + (34 * Math.cos(p2ballangle)));
setProperty(newball, _y , p2kameha._y + (34 * Math.sin(p2ballangle)));
p2ballspeed = 10;
if (p2ballangle <= (-anglemax)) {
p2spr = 17;
}
if (p2ballangle < anglemax) {
break;
}
p2spr = 18;
}
p2kameha.go._xscale = 1;
p2kameha._alpha = 100;
}
}
if ((Key.getCode() == k2special) && (p2wound == 0)) {
p2fire = 0;
p2pow = 0;
p2speed = 0;
} else if ((p2fire == 0) && (p2wound == 0)) {
p2spr = 1;
p2block = 0;
}
}
};
i = 0;
pti = 200;
Key.addListener(ecouteur);
stage.gotoAndStop(stage_c);
p1face.gotoAndStop(p1_c);
switch (p1_c) {
case 1 :
goku.duplicateMovieClip("p1", i);
break;
case 2 :
piccolo.duplicateMovieClip("p1", i);
break;
case 3 :
raditz.duplicateMovieClip("p1", i);
break;
case 4 :
tien.duplicateMovieClip("p1", i);
break;
case 5 :
freeza.duplicateMovieClip("p1", i);
break;
case 6 :
cell1.duplicateMovieClip("p1", i);
break;
case 7 :
cell3.duplicateMovieClip("p1", i);
}
i++;
p2face.gotoAndStop(p2_c);
switch (p2_c) {
case 1 :
goku.duplicateMovieClip("p2", i);
break;
case 2 :
piccolo.duplicateMovieClip("p2", i);
break;
case 3 :
raditz.duplicateMovieClip("p2", i);
break;
case 4 :
tien.duplicateMovieClip("p2", i);
break;
case 5 :
freeza.duplicateMovieClip("p2", i);
break;
case 6 :
cell1.duplicateMovieClip("p2", i);
break;
case 7 :
cell3.duplicateMovieClip("p2", i);
}
i++;
p1._x = 40;
p1._y = 204;
p2._x = 280;
p2._y = 204;
xcross = 0;
p2._xscale = p2._xscale * -1;
p2kameha._xscale = p2kameha._xscale * -1;
p1spr = 1;
p2spr = 1;
p1hp = 200;
p1ki = 100;
p2hp = 200;
p2ki = 100;
p1hpmin._width = (p1hpmax._width = (p1kimin._width = (p2hpmin._width = (p2hpmax._width = (p2kimin._width = 100)))));
p1kimax._width = (p2kimax._width = 0);
p1wound = 0;
p2wound = 0;
p1fly = 0;
p2fly = 0;
p1speed = 0;
p2speed = 0;
anglemax = 0.261799387799149;
bp1i = (bp2i = 0);
p1pow = 0;
p1fire = 0;
p1ballspeed = 0;
p1ballangle = 0;
p2pow = 0;
p2fire = 0;
p2ballspeed = 0;
p2ballangle = 0;
p1aura = 0;
p2aura = 0;
p1block = 0;
p2block = 0;
boumtype = 0;
boummax = 0;
if (!(p1com === 1)) {
} else {
COM1timerh = 0;
COM1timerhmax = 5;
COM1speedh = 0;
COM1timerv = 0;
COM1timervmax = 5;
COM1speedv = 0;
COM1attack = 1;
COM1timerattack = 0;
COM1timerattackmax = 5;
COM1timeraura = 0;
COM1timerauramax = 5;
COM1special = 0;
COM1timerspecial = 0;
COM1timerspecialmax = 5;
}
if (!(p2com === 1)) {
} else {
COM2timerh = 0;
COM2timerhmax = 5;
COM2speedh = 0;
COM2timerv = 0;
COM2timervmax = 5;
COM2speedv = 0;
COM2attack = 1;
COM2timerattack = 0;
COM2timerattackmax = 5;
COM2timeraura = 0;
COM2timerauramax = 5;
COM2special = 0;
COM2timerspecial = 0;
COM2timerspecialmax = 5;
}
ts1_punch1 = 0;
s1_punch1.onSoundComplete = function () {
ts1_punch1 = 0;
};
ts2_punch1 = 0;
s2_punch1.onSoundComplete = function () {
ts2_punch1 = 0;
};
ts1_punch2 = 0;
s1_punch2.onSoundComplete = function () {
ts1_punch2 = 0;
};
ts2_punch2 = 0;
s2_punch2.onSoundComplete = function () {
ts2_punch2 = 0;
};
ts1_aura = 0;
s1_aura.onSoundComplete = function () {
ts1_aura = 0;
};
ts2_aura = 0;
s2_aura.onSoundComplete = function () {
ts2_aura = 0;
};
ts1_kmeaload = 0;
s1_kmeaload.onSoundComplete = function () {
ts1_kmeaload = 0;
};
ts2_kmeaload = 0;
s2_kmeaload.onSoundComplete = function () {
ts2_kmeaload = 0;
};
Instance of Symbol 72 MovieClip "p2auraspr" in Frame 11
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_x = _root.p2._x;
_y = _root.p2._y;
if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
_root.p2aura = 0;
}
}
Instance of Symbol 72 MovieClip "p1auraspr" in Frame 11
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_x = _root.p1._x;
_y = _root.p1._y;
if (_alpha > 0) {
_alpha = (_alpha - 20);
} else {
_root.p1aura = 0;
}
}
Instance of Symbol 76 MovieClip "p1kameha" in Frame 11
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
switch (_root.xcross) {
case 0 :
_x = (_root.p1._x + 8);
break;
case 1 :
_x = (_root.p1._x - 8);
}
_y = (_root.p1._y - 12);
if (!(_root.p1fire === 3)) {
if (_alpha > 0) {
_alpha = (_alpha - 25);
}
} else if (go._xscale < 15000) {
go._xscale = go._xscale + 500;
}
}
Instance of Symbol 377 MovieClip "boum" in Frame 11
onClipEvent (load) {
_alpha = 100;
}
onClipEvent (enterFrame) {
if (_alpha > 0) {
_alpha = (_alpha - 5);
} else {
removeMovieClip(this);
}
}
Instance of Symbol 76 MovieClip "p2kameha" in Frame 11
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
switch (_root.xcross) {
case 0 :
_x = (_root.p2._x - 8);
break;
case 1 :
_x = (_root.p2._x + 8);
}
_y = (_root.p2._y - 12);
if (!(_root.p2fire === 3)) {
if (_alpha > 0) {
_alpha = (_alpha - 25);
}
} else if (go._xscale < 15000) {
go._xscale = go._xscale + 500;
}
}
Instance of Symbol 129 MovieClip "p1ball" in Frame 11
onClipEvent (load) {
bnum = _root.bp1i;
speed = _root.p1ballspeed;
angle = _root.p1ballangle;
power = _root.p1pow;
_root.p1pow = 0;
ballx = Math.cos(angle) * speed;
bally = Math.sin(angle) * speed;
if (power <= 10) {
gotoAndStop (1);
}
if ((power > 10) && (power <= 20)) {
gotoAndStop (2);
}
if ((power > 20) && (power <= 30)) {
gotoAndStop (3);
}
if (power > 30) {
gotoAndStop (4);
}
}
onClipEvent (enterFrame) {
switch (speed) {
case 0 :
break;
default :
_x = (_x + ballx);
_y = (_y + bally);
_rotation = (_rotation + speed);
if (hitTest(_root.p2)) {
_root.boummax = power;
_root.boumx = _root.p2._x;
_root.boumy = _root.p2._y;
switch (_root.p2block) {
case 0 :
_root.p2wound = power;
break;
case 1 :
power = Math.round(power / 2);
}
_root.p2hp = _root.p2hp - power;
if (!(_root.p1fire === 3)) {
} else {
_root.p1fire = 4;
}
removeMovieClip(this);
}
if (_y > 204) {
_root.boummax = power;
_root.boumx = _x;
_root.boumy = _y;
if (!(_root.p1fire === 3)) {
} else {
_root.p1fire = 4;
}
removeMovieClip(this);
}
if (((_x < 0) || (_x > 320)) || (_y < 0)) {
if (!(_root.p1fire === 3)) {
} else {
_root.p1fire = 4;
}
removeMovieClip(this);
}
if (hitTest(_root.p2ball1)) {
_root.boummax = power;
_root.boumx = _x;
_root.boumy = _y + 12;
power = power - _root.p2ball1.power;
if (power < 2) {
if (!(_root.p1fire === 3)) {
} else {
_root.p1fire = 4;
}
removeMovieClip(this);
}
}
if (hitTest(_root.p2ball2)) {
_root.boummax = power;
_root.boumx = _x;
_root.boumy = _y + 12;
power = power - _root.p2ball2.power;
if (power < 2) {
if (!(_root.p1fire === 3)) {
} else {
_root.p1fire = 4;
}
removeMovieClip(this);
}
}
if (hitTest(_root.p2ball3)) {
_root.boummax = power;
_root.boumx = _x;
_root.boumy = _y + 12;
power = power - _root.p2ball3.power;
if (power < 2) {
if (!(_root.p1fire === 3)) {
} else {
_root.p1fire = 4;
}
removeMovieClip(this);
}
}
if (hitTest(_root.p2ball4)) {
_root.boummax = power;
_root.boumx = _x;
_root.boumy = _y + 12;
power = power - _root.p2ball4.power;
if (power < 2) {
if (!(_root.p1fire === 3)) {
} else {
_root.p1fire = 4;
}
removeMovieClip(this);
}
}
if (hitTest(_root.p2ball5)) {
_root.boummax = power;
_root.boumx = _x;
_root.boumy = _y + 12;
power = power - _root.p2ball5.power;
if (power < 2) {
if (!(_root.p1fire === 3)) {
} else {
_root.p1fire = 4;
}
removeMovieClip(this);
}
}
if (!hitTest(_root.p2ball6)) {
break;
}
_root.boummax = power;
_root.boumx = _x;
_root.boumy = _y + 12;
power = power - _root.p2ball6.power;
if (power >= 2) {
break;
}
if (!(_root.p1fire === 3)) {
} else {
_root.p1fire = 4;
}
removeMovieClip(this);
}
}
Instance of Symbol 129 MovieClip "p2ball" in Frame 11
onClipEvent (load) {
bnum = _root.bp2i;
speed = _root.p2ballspeed;
angle = _root.p2ballangle;
power = _root.p2pow;
_root.p2pow = 0;
ballx = Math.cos(angle) * speed;
bally = Math.sin(angle) * speed;
if (power <= 10) {
gotoAndStop (1);
}
if ((power > 10) && (power <= 20)) {
gotoAndStop (2);
}
if ((power > 20) && (power <= 30)) {
gotoAndStop (3);
}
if (power > 30) {
gotoAndStop (4);
}
}
onClipEvent (enterFrame) {
switch (speed) {
case 0 :
break;
default :
_x = (_x + ballx);
_y = (_y + bally);
_rotation = (_rotation + speed);
if (hitTest(_root.p1)) {
_root.boummax = power;
_root.boumx = _root.p1._x;
_root.boumy = _root.p1._y;
switch (_root.p1block) {
case 0 :
_root.p1wound = power;
break;
case 1 :
power = Math.round(power / 2);
}
_root.p1hp = _root.p1hp - power;
if (!(_root.p2fire === 3)) {
} else {
_root.p2fire = 4;
}
removeMovieClip(this);
}
if (_y > 204) {
_root.boummax = power;
_root.boumx = _x;
_root.boumy = _y;
if (!(_root.p2fire === 3)) {
} else {
_root.p2fire = 4;
}
removeMovieClip(this);
}
if (((_x < 0) || (_x > 320)) || (_y < 0)) {
if (!(_root.p2fire === 3)) {
} else {
_root.p2fire = 4;
}
removeMovieClip(this);
}
if (hitTest(_root.p1ball1)) {
_root.boummax = power;
_root.boumx = _x;
_root.boumy = _y + 12;
power = power - _root.p1ball1.power;
if (power < 2) {
if (!(_root.p2fire === 3)) {
} else {
_root.p2fire = 4;
}
removeMovieClip(this);
}
}
if (hitTest(_root.p1ball2)) {
_root.boummax = power;
_root.boumx = _x;
_root.boumy = _y + 12;
power = power - _root.p1ball2.power;
if (power < 2) {
if (!(_root.p2fire === 3)) {
} else {
_root.p2fire = 4;
}
removeMovieClip(this);
}
}
if (hitTest(_root.p1ball3)) {
_root.boummax = power;
_root.boumx = _x;
_root.boumy = _y + 12;
power = power - _root.p1ball3.power;
if (power < 2) {
if (!(_root.p2fire === 3)) {
} else {
_root.p2fire = 4;
}
removeMovieClip(this);
}
}
if (hitTest(_root.p1ball4)) {
_root.boummax = power;
_root.boumx = _x;
_root.boumy = _y + 12;
power = power - _root.p1ball4.power;
if (power < 2) {
if (!(_root.p2fire === 3)) {
} else {
_root.p2fire = 4;
}
removeMovieClip(this);
}
}
if (hitTest(_root.p1ball5)) {
_root.boummax = power;
_root.boumx = _x;
_root.boumy = _y + 12;
power = power - _root.p1ball5.power;
if (power < 2) {
if (!(_root.p2fire === 3)) {
} else {
_root.p2fire = 4;
}
removeMovieClip(this);
}
}
if (!hitTest(_root.p1ball6)) {
break;
}
_root.boummax = power;
_root.boumx = _x;
_root.boumy = _y + 12;
power = power - _root.p1ball6.power;
if (power >= 2) {
break;
}
if (!(_root.p2fire === 3)) {
} else {
_root.p2fire = 4;
}
removeMovieClip(this);
}
}
Instance of Symbol 379 MovieClip "pt" in Frame 11
onClipEvent (load) {
switch (_root.pti) {
case 200 :
speed = 0;
break;
default :
if (_y < 204) {
angle = ((3 * random(2)) - 1) * Math.random();
} else {
angle = (-3) * Math.random();
}
speed = random(3) + 0.2;
life = random(31) + 10;
ptx = Math.cos(angle) * speed;
pty = Math.sin(angle) * speed;
}
}
onClipEvent (enterFrame) {
switch (speed) {
case 0 :
break;
default :
_x = (_x + ptx);
_y = (_y + pty);
life--;
if (life >= 0) {
break;
}
removeMovieClip(this);
}
}
Frame 12
p1.gotoAndStop(p1spr);
p2.gotoAndStop(p2spr);
switch (xcross) {
case 0 :
if (p1._x > p2._x) {
xcross = 1;
p1._xscale = p1._xscale * (-1);
p1kameha._xscale = p1kameha._xscale * (-1);
p2._xscale = p2._xscale * (-1);
p2kameha._xscale = p2kameha._xscale * (-1);
}
break;
case 1 :
if (p1._x > p2._x) {
break;
}
xcross = 0;
p1._xscale = p1._xscale * (-1);
p1kameha._xscale = p1kameha._xscale * (-1);
p2._xscale = p2._xscale * (-1);
p2kameha._xscale = p2kameha._xscale * (-1);
}
p1hpmin._width = Math.min(p1hp, 100);
p1hpmax._width = Math.max(p1hp - 100, 0);
p1kimin._width = Math.min(p1ki, 100);
p1kimax._width = Math.max(p1ki - 100, 0);
if ((p1hp <= 0) || (Key.isDown(kcheat2))) {
p1hp = (p1ki = 0);
p1.gotoAndStop(10);
gotoAndStop (14);
}
p2hpmin._width = Math.min(p2hp, 100);
p2hpmax._width = Math.max(p2hp - 100, 0);
p2kimin._width = Math.min(p2ki, 100);
p2kimax._width = Math.max(p2ki - 100, 0);
if ((p2hp <= 0) || (Key.isDown(kcheat1))) {
p2hp = (p2ki = 0);
p2.gotoAndStop(10);
gotoAndStop (14);
}
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
switch (boummax) {
case 0 :
break;
default :
if (boummax < 20) {
s_boom1.start();
}
if ((boummax >= 20) && (boummax < 40)) {
s_boom2.start();
}
if (boummax >= 40) {
s_boom3.start();
_alpha = 0;
}
var explode = 0;
while ((++explode) < boummax) {
var newboom = ("boum" + i);
boum.duplicateMovieClip(newboom, i);
setProperty(newboom, _x , boumx + (2 * Math.round(random(boummax) - (boummax / 2))));
if (boumy < 204) {
setProperty(newboom, _y , boumy + (2 * Math.round(random(boummax) - (boummax / 2))));
} else {
setProperty(newboom, _y , boumy - (2 * Math.round(random(boummax / 2))));
}
pti++;
particule(boumx, boumy, pti);
i++;
}
boummax = 0;
}
var a = (p2._x - p1._x);
var b = (p2._y - p1._y);
d = Math.sqrt((a * a) + (b * b));
if (p1._alpha < 100) {
p1._alpha = p1._alpha + 10;
}
if (p2._alpha < 100) {
p2._alpha = p2._alpha + 10;
}
switch (p1wound) {
case 0 :
break;
default :
p1pow = 0;
if (p1wound > 20) {
if (p1._y < 204) {
p1spr = 10;
switch (xcross) {
case 0 :
if (p1._x > 20) {
p1._x = p1._x - 6;
}
break;
case 1 :
if (p1._x >= 300) {
break;
}
p1._x = p1._x + 6;
}
p1._y = p1._y + 6;
} else {
p1spr = 9;
p1wound = 0;
boummax = 15;
boumx = p1._x;
boumy = p1._y;
}
} else {
p1spr = 8;
p1wound--;
}
}
switch (p1com) {
case 0 :
if (((Key.isDown(k1blok) && (p1fire == 0)) && (p1aura == 0)) && (p1wound == 0)) {
p1spr = 7;
p1block = 1;
}
with (p1) {
if ((((Key.isDown(k1right) && (p1fire == 0)) && (p1aura == 0)) && (p1block == 0)) && (p1wound == 0)) {
if ((Key.isDown(k1special) && (_x < 284)) && (p1ki > 0)) {
p1speed = 1;
p1fly = 1;
_alpha = 20;
_x = _x + 20;
p1ki--;
} else if (_x < 300) {
_x = _x + 6;
}
switch (p1fly) {
case 0 :
p1walk++;
switch (p1walk) {
default :
p1spr = 3;
break;
case 3 :
case 4 :
p1spr = 2;
break;
case 8 :
p1walk = 1;
case 7 :
p1spr = 4;
}
break;
case 1 :
switch (xcross) {
case 0 :
p1spr = 5;
break;
case 1 :
p1spr = 6;
}
}
}
if ((((Key.isDown(k1left) && (p1fire == 0)) && (p1aura == 0)) && (p1block == 0)) && (p1wound == 0)) {
if ((Key.isDown(k1special) && (_x > 36)) && (p1ki > 0)) {
p1speed = 1;
p1fly = 1;
_alpha = 20;
_x = _x - 20;
p1ki--;
} else if (_x > 20) {
_x = _x - 6;
}
switch (p1fly) {
case 0 :
p1walk++;
switch (p1walk) {
default :
p1spr = 3;
break;
case 3 :
case 4 :
p1spr = 2;
break;
case 8 :
p1walk = 1;
case 7 :
p1spr = 4;
}
break;
case 1 :
switch (xcross) {
case 0 :
p1spr = 6;
break;
case 1 :
p1spr = 5;
}
}
}
if ((((Key.isDown(k1up) && (p1fire == 0)) && (p1aura == 0)) && (p1block == 0)) && (p1wound == 0)) {
p1fly = 1;
p1spr = 11;
if ((Key.isDown(k1special) && (_y > 112)) && (p1ki > 0)) {
p1speed = 1;
_y = _y - 20;
p1ki--;
} else if (_y > 96) {
_y = _y - 6;
}
}
if ((((Key.isDown(k1down) && (p1fire == 0)) && (p1aura == 0)) && (p1block == 0)) && (p1wound == 0)) {
p1spr = 11;
if ((Key.isDown(k1special) && (_y < 180)) && (p1ki > 0)) {
p1speed = 1;
_y = _y + 16;
p1ki--;
} else if (_y < 204) {
_y = _y + 6;
p1spr = 11;
} else {
p1fly = 0;
}
}
}
if ((((Key.isDown(k1atak) && (p1fire == 0)) && (p1aura == 0)) && (p1block == 0)) && (p1wound == 0)) {
p1atak++;
switch (p1atak) {
case 1 :
case 2 :
case 3 :
p1spr = 13;
break;
case 4 :
case 5 :
case 6 :
p1spr = 14;
break;
case 7 :
case 8 :
case 9 :
p1spr = 11;
break;
case 12 :
p1atak = 1;
case 10 :
case 11 :
p1spr = 12;
}
if ((d < 26) && (p2block == 0)) {
switch (ts1_punch1) {
case 0 :
ts1_punch1 = 1;
s1_punch1.start();
break;
case 1 :
if (!(ts1_punch2 === 0)) {
} else {
ts1_punch2 = 1;
s1_punch2.start();
}
}
p2hp--;
p2wound = p2wound + 4;
}
} else {
p1atak = 0;
}
if (((((Key.isDown(k1special) && (Key.isDown(k1atak))) && (p1ki >= 10)) && (p1block == 0)) && (p1fire != 3)) && (p1wound == 0)) {
if (!(ts1_kmeaload === 0)) {
} else {
ts1_kmeaload = 1;
s1_kmeaload.start();
}
p1aura = 0;
p1fire = 1;
p1spr = 15;
p1ki = p1ki - 10;
p1pow = p1pow + 2;
}
if ((((Key.isDown(k1special) && (p1fire == 0)) && (p1speed == 0)) && (p1block == 0)) && (p1wound == 0)) {
p1aura = 1;
if (p1ki < 199) {
if (!(ts1_aura === 0)) {
} else {
ts1_aura = 1;
s1_aura.start();
}
if (!(p1fly === 0)) {
} else {
pti++;
particule(p1._x, p1._y, pti);
}
p1auraspr._alpha = 80;
p1spr = 1;
p1ki = p1ki + 2;
}
}
break;
case 1 :
if (((((p2atak > 0) && (d < 40)) && (p1fire == 0)) && (p1aura == 0)) && (p1wound == 0)) {
p1spr = 7;
p1block = 1;
} else {
p1block = 0;
}
if (COM1timerh == COM1timerhmax) {
p1spr = 1;
COM1moveh = random(3);
COM1timerh = 0;
COM1timerhmax = random(10) + 5;
COM1speedh = random(3);
p1speed = 0;
}
COM1timerh++;
if (COM1timerv == COM1timervmax) {
p1spr = 1;
COM1movev = random(3);
COM1timerv = 0;
COM1timervmax = random(10) + 5;
COM1speedv = random(3);
p1speed = 0;
}
COM1timerv++;
with (p1) {
switch (COM1moveh) {
case 1 :
if ((((p1fire == 0) && (p1aura == 0)) && (p1block == 0)) && (p1wound == 0)) {
if (((COM1speedh == 2) && (_x > 36)) && (p1ki > 0)) {
p1speed = 1;
p1fly = 1;
_alpha = 20;
_x = _x - 20;
p2ki--;
} else if (_x > 20) {
_x = _x - 6;
} else {
COM1timerh = COM1timerhmax;
}
switch (p1fly) {
case 0 :
p1walk++;
switch (p1walk) {
default :
p1spr = 3;
break;
case 3 :
case 4 :
p1spr = 2;
break;
case 8 :
p1walk = 1;
case 7 :
p1spr = 4;
}
break;
case 1 :
switch (xcross) {
case 0 :
p1spr = 6;
break;
case 1 :
p1spr = 5;
}
}
}
break;
case 2 :
if (!((((p1fire == 0) && (p1aura == 0)) && (p1block == 0)) && (p1wound == 0))) {
break;
}
if (((COM1speedh == 2) && (_x < 284)) && (p1ki > 0)) {
p1speed = 1;
p1fly = 1;
_alpha = 20;
_x = _x + 20;
p1ki--;
} else if (_x < 300) {
_x = _x + 6;
} else {
COM1timerh = COM1timerhmax;
}
switch (p1fly) {
case 0 :
p1walk++;
switch (p1walk) {
default :
p1spr = 3;
break;
case 3 :
case 4 :
p1spr = 2;
break;
case 8 :
p1walk = 1;
case 7 :
p1spr = 4;
}
break;
case 1 :
switch (xcross) {
case 0 :
p1spr = 5;
break;
case 1 :
p1spr = 6;
}
}
}
switch (COM1movev) {
case 1 :
if ((((p1fire == 0) && (p1aura == 0)) && (p1block == 0)) && (p1wound == 0)) {
p1fly = 1;
p1spr = 11;
if (((COM1speedv == 2) && (_y > 112)) && (p1ki > 0)) {
p1speed = 1;
_y = _y - 20;
p1ki--;
} else if (_y > 96) {
_y = _y - 6;
} else {
COM1timerv = COM1timervmax;
}
}
break;
case 2 :
if (!((((p1fire == 0) && (p1aura == 0)) && (p1block == 0)) && (p1wound == 0))) {
break;
}
p1spr = 11;
if (((COM1speedv == 2) && (_y < 180)) && (p1ki > 0)) {
p1speed = 1;
_y = _y + 16;
p1ki--;
} else if (_y < 204) {
_y = _y + 6;
p1spr = 11;
} else {
p1fly = 0;
COM1timerv = COM1timervmax;
}
}
}
if (d < 30) {
if (COM1timerattack == COM1timerattackmax) {
COM1timerattack = 0;
COMtimerattackmax = random(10) + 5;
}
COM1timerattack++;
if ((((p1fire == 0) && (p1aura == 0)) && (p1block == 0)) && (p1wound == 0)) {
p1atak++;
switch (p1atak) {
case 1 :
case 2 :
case 3 :
p1spr = 13;
break;
case 4 :
case 5 :
case 6 :
p1spr = 14;
break;
case 7 :
case 8 :
case 9 :
p1spr = 11;
break;
case 12 :
p1punch = 1;
case 10 :
case 11 :
p1spr = 12;
}
if ((d < 26) && (p2block == 0)) {
switch (ts1_punch1) {
case 0 :
ts1_punch1 = 1;
s1_punch1.start();
break;
case 1 :
if (!(ts1_punch2 === 0)) {
} else {
ts1_punch2 = 1;
s1_punch2.start();
}
}
p2hp--;
p2wound = p2wound + 4;
}
}
}
if (COM1timerspecial == COM1timerspecialmax) {
if (p1pow > 20) {
p1fire = 2;
}
switch (p1fire) {
case 1 :
p1spr = 16;
if (!(bp1i === 6)) {
bp1i++;
} else {
bp1i = 1;
}
var newball = ("ball" + bp1i);
p1ball.duplicateMovieClip(newball, 100 + bp1i);
setProperty(newball, _y , p1._y - 12);
p1ballangle = Math.atan((p2._y - p1._y) / (p2._x - p1._x));
switch (xcross) {
case 0 :
setProperty(newball, _x , p1._x + 18);
p1ballspeed = 24;
if (p1ballangle <= (-anglemax)) {
p1spr = 18;
}
if (p1ballangle >= anglemax) {
p1spr = 17;
}
break;
case 1 :
setProperty(newball, _x , p1._x - 18);
p1ballspeed = -24;
if (p1ballangle <= (-anglemax)) {
p1spr = 17;
}
if (p1ballangle < anglemax) {
break;
}
p1spr = 18;
}
i++;
p1fire = 4;
break;
case 2 :
s1_kmeago.start();
p1fire = 3;
p1spr = 16;
if (!(bp1i === 6)) {
bp1i++;
} else {
bp1i = 1;
}
var newball = ("ball" + bp1i);
p1ball.duplicateMovieClip(newball, 100 + i);
p1ballangle = Math.atan((p2._y - p1._y) / (p2._x - p1._x));
p1kameha._rotation = Math.round((p1ballangle * 180) / Math.PI);
switch (xcross) {
case 0 :
setProperty(newball, _x , p1kameha._x + (34 * Math.cos(p1ballangle)));
setProperty(newball, _y , p1kameha._y + (34 * Math.sin(p1ballangle)));
p1ballspeed = 12;
if (p1ballangle <= -0.261799387799149) {
p1spr = 18;
}
if (p1ballangle >= 0.261799387799149) {
p1spr = 17;
}
break;
case 1 :
setProperty(newball, _x , p1kameha._x - (34 * Math.cos(p1ballangle)));
setProperty(newball, _y , p1kameha._y - (34 * Math.sin(p1ballangle)));
p1ballspeed = -12;
if (p1ballangle <= -0.261799387799149) {
p1spr = 17;
}
if (p1ballangle < 0.261799387799149) {
break;
}
p1spr = 18;
}
i++;
p1kameha.go._xscale = 1;
p1kameha._alpha = 100;
}
COM1special = random(5);
if (COM1special < 4) {
p1fire = 0;
}
COM1timerspecial = 0;
COM1timerspecialmax = random(30) + 10;
}
COM1timerspecial++;
switch (COM1special) {
case 4 :
if ((((p1ki >= 10) && (p1block == 0)) && (p1fire != 3)) && (p1wound == 0)) {
if (!(ts1_kmeaload === 0)) {
} else {
ts1_kmeaload = 1;
s1_kmeaload.start();
}
p1aura = 0;
p1fire = 1;
p1spr = 15;
p1ki = p1ki - 10;
p1pow = p1pow + 2;
if (p1ki < 10) {
COM1timerspecial = COM1timerspecialmax;
}
}
break;
case 2 :
case 3 :
if (!(((((d > 100) && (p1fire == 0)) && (p1speed == 0)) && (p1block == 0)) && (p1wound == 0))) {
break;
}
if (COM1timeraura == COM1timerauramax) {
COM1timeraura = 0;
COM1timerauramax = random(10) + 5;
}
COM1timeraura++;
p1aura = 1;
if (p1ki < 199) {
if (!(ts1_aura === 0)) {
} else {
ts1_aura = 1;
s1_aura.start();
}
if (!(p1fly === 0)) {
} else {
pti++;
particule(p1._x, p1._y, pti);
}
p1auraspr._alpha = 80;
p1spr = 1;
p1ki = p1ki + 2;
} else {
COM1timeraura = COM1timerauramax;
}
}
}
switch (p2wound) {
case 0 :
break;
default :
p2pow = 0;
if (p2wound > 20) {
if (p2._y < 204) {
p2spr = 10;
switch (xcross) {
case 0 :
if (p2._x < 300) {
p2._x = p2._x + 6;
}
break;
case 1 :
if (p2._x <= 20) {
break;
}
p2._x = p2._x - 6;
}
p2._y = p2._y + 6;
} else {
p2spr = 9;
p2wound = 0;
boummax = 15;
boumx = p2._x;
boumy = p2._y;
}
} else {
p2wound--;
p2spr = 8;
}
}
switch (p2com) {
case 0 :
if (((Key.isDown(k2blok) && (p2fire == 0)) && (p2aura == 0)) && (p2wound == 0)) {
p2spr = 7;
p2block = 1;
}
with (p2) {
if ((((Key.isDown(k2right) && (p2fire == 0)) && (p2aura == 0)) && (p2block == 0)) && (p2wound == 0)) {
if ((Key.isDown(k2special) && (_x < 284)) && (p2ki > 0)) {
p2speed = 1;
p2fly = 1;
_alpha = 20;
_x = _x + 20;
p2ki--;
} else if (_x < 300) {
_x = _x + 6;
}
switch (p2fly) {
case 0 :
p2walk++;
switch (p2walk) {
default :
p2spr = 3;
break;
case 3 :
case 4 :
p2spr = 2;
break;
case 8 :
p2walk = 1;
case 7 :
p2spr = 4;
}
break;
case 1 :
switch (xcross) {
case 0 :
p2spr = 6;
break;
case 1 :
p2spr = 5;
}
}
}
if ((((Key.isDown(k2left) && (p2fire == 0)) && (p2aura == 0)) && (p2block == 0)) && (p2wound == 0)) {
if ((Key.isDown(k2special) && (_x > 36)) && (p2ki > 0)) {
p2speed = 1;
p2fly = 1;
_alpha = 20;
_x = _x - 20;
p2ki--;
} else if (_x > 20) {
_x = _x - 6;
}
switch (p2fly) {
case 0 :
p2walk++;
switch (p2walk) {
default :
p2spr = 3;
break;
case 3 :
case 4 :
p2spr = 2;
break;
case 8 :
p2walk = 1;
case 7 :
p2spr = 4;
}
break;
case 1 :
switch (xcross) {
case 0 :
p2spr = 5;
break;
case 1 :
p2spr = 6;
}
}
}
if ((((Key.isDown(k2up) && (p2fire == 0)) && (p2aura == 0)) && (p2block == 0)) && (p2wound == 0)) {
p2fly = 1;
p2spr = 11;
if ((Key.isDown(k2special) && (_y > 112)) && (p2ki > 0)) {
p2speed = 1;
_y = _y - 20;
p2ki--;
} else if (_y > 96) {
_y = _y - 6;
}
}
if ((((Key.isDown(k2down) && (p2fire == 0)) && (p2aura == 0)) && (p2block == 0)) && (p2wound == 0)) {
p2spr = 11;
if ((Key.isDown(k2special) && (_y < 180)) && (p2ki > 0)) {
p2speed = 1;
_y = _y + 16;
p2ki--;
} else if (_y < 204) {
_y = _y + 6;
p2spr = 11;
} else {
p2fly = 0;
}
}
}
if ((((Key.isDown(k2atak) && (p2fire == 0)) && (p2aura == 0)) && (p2block == 0)) && (p2wound == 0)) {
p2atak++;
switch (p2atak) {
case 1 :
case 2 :
case 3 :
p2spr = 13;
break;
case 4 :
case 5 :
case 6 :
p2spr = 14;
break;
case 7 :
case 8 :
case 9 :
p2spr = 11;
break;
case 12 :
p2atak = 1;
case 10 :
case 11 :
p2spr = 12;
}
if ((d < 26) && (p1block == 0)) {
switch (ts2_punch1) {
case 0 :
ts2_punch1 = 1;
s2_punch1.start();
break;
case 1 :
if (!(ts2_punch2 === 0)) {
} else {
ts2_punch2 = 1;
s2_punch2.start();
}
}
p1hp--;
p1wound = p1wound + 4;
}
} else {
p2atak = 0;
}
if (((((Key.isDown(k2special) && (Key.isDown(k2atak))) && (p2ki >= 10)) && (p2block == 0)) && (p2fire != 3)) && (p2wound == 0)) {
if (!(ts2_kmeaload === 0)) {
} else {
ts2_kmeaload = 1;
s2_kmeaload.start();
}
p2aura = 0;
p2fire = 1;
p2spr = 15;
p2ki = p2ki - 10;
p2pow = p2pow + 2;
}
if ((((Key.isDown(k2special) && (p2fire == 0)) && (p2speed == 0)) && (p2block == 0)) && (p2wound == 0)) {
p2aura = 1;
if (p2ki < 199) {
if (!(ts2_aura === 0)) {
} else {
ts2_aura = 1;
s2_aura.start();
}
if (!(p2fly === 0)) {
} else {
pti++;
particule(p2._x, p2._y, pti);
}
p2auraspr._alpha = 80;
p2spr = 1;
p2ki = p2ki + 2;
}
}
break;
case 1 :
if (((((p1atak > 0) && (d < 40)) && (p2fire == 0)) && (p2aura == 0)) && (p2wound == 0)) {
p2spr = 7;
p2block = 1;
} else {
p2block = 0;
}
if (COM2timerh == COM2timerhmax) {
p2spr = 1;
COM2moveh = random(3);
COM2timerh = 0;
COM2timerhmax = random(10) + 5;
COM2speedh = random(3);
p2speed = 0;
}
COM2timerh++;
if (COM2timerv == COM2timervmax) {
p2spr = 1;
COM2movev = random(3);
COM2timerv = 0;
COM2timervmax = random(10) + 5;
COM2speedv = random(3);
p2speed = 0;
}
COM2timerv++;
with (p2) {
switch (COM2moveh) {
case 1 :
if ((((p2fire == 0) && (p2aura == 0)) && (p2block == 0)) && (p2wound == 0)) {
if (((COM2speedh == 2) && (_x < 284)) && (p2ki > 0)) {
p2speed = 1;
p2fly = 1;
_alpha = 20;
_x = _x + 20;
p2ki--;
} else if (_x < 300) {
_x = _x + 6;
} else {
COM2timerh = COM2timerhmax;
}
switch (p2fly) {
case 0 :
p2walk++;
switch (p2walk) {
default :
p2spr = 3;
break;
case 3 :
case 4 :
p2spr = 2;
break;
case 8 :
p2walk = 1;
case 7 :
p2spr = 4;
}
break;
case 1 :
switch (xcross) {
case 0 :
p2spr = 6;
break;
case 1 :
p2spr = 5;
}
}
}
break;
case 2 :
if (!((((p2fire == 0) && (p2aura == 0)) && (p2block == 0)) && (p2wound == 0))) {
break;
}
if (((COM2speedh == 2) && (_x > 36)) && (p2ki > 0)) {
p2speed = 1;
p2fly = 1;
_alpha = 20;
_x = _x - 20;
p2ki--;
} else if (_x > 20) {
_x = _x - 6;
} else {
COM2timerh = COM2timerhmax;
}
switch (p2fly) {
case 0 :
p2walk++;
switch (p2walk) {
default :
p2spr = 3;
break;
case 3 :
case 4 :
p2spr = 2;
break;
case 8 :
p2walk = 1;
case 7 :
p2spr = 4;
}
break;
case 1 :
switch (xcross) {
case 0 :
p2spr = 5;
break;
case 1 :
p2spr = 6;
}
}
}
switch (COM2movev) {
case 1 :
if ((((p2fire == 0) && (p2aura == 0)) && (p2block == 0)) && (p2wound == 0)) {
p2fly = 1;
p2spr = 11;
if (((COM2speedv == 2) && (_y > 112)) && (p2ki > 0)) {
p2speed = 1;
_y = _y - 20;
p2ki--;
} else if (_y > 96) {
_y = _y - 6;
} else {
COM2timerv = COM2timervmax;
}
}
break;
case 2 :
if (!((((p2fire == 0) && (p2aura == 0)) && (p2block == 0)) && (p2wound == 0))) {
break;
}
p2spr = 11;
if (((COM2speedv == 2) && (_y < 180)) && (p2ki > 0)) {
p2speed = 1;
_y = _y + 16;
p2ki--;
} else if (_y < 204) {
_y = _y + 6;
p2spr = 11;
} else {
p2fly = 0;
COM2timerv = COM2timervmax;
}
}
}
if (d < 30) {
if (COM2timerattack == COM2timerattackmax) {
COM2timerattack = 0;
COMtimerattackmax = random(10) + 5;
}
COM2timerattack++;
if ((((p2fire == 0) && (p2aura == 0)) && (p2block == 0)) && (p2wound == 0)) {
p2atak++;
switch (p2atak) {
case 1 :
case 2 :
case 3 :
p2spr = 13;
break;
case 4 :
case 5 :
case 6 :
break;
case 7 :
case 8 :
case 9 :
p2spr = 11;
break;
case 12 :
p2punch = 1;
case 10 :
case 11 :
p2spr = 12;
}
if ((d < 26) && (p1block == 0)) {
switch (ts2_punch1) {
case 0 :
ts2_punch1 = 1;
s2_punch1.start();
break;
case 1 :
if (!(ts2_punch2 === 0)) {
} else {
ts2_punch2 = 1;
s2_punch2.start();
}
}
p1hp--;
p1wound = p1wound + 4;
}
}
}
if (COM2timerspecial == COM2timerspecialmax) {
if (p2pow > 20) {
p2fire = 2;
}
switch (p2fire) {
case 1 :
p2spr = 16;
if (!(bp2i === 6)) {
bp2i++;
} else {
bp2i = 1;
}
var newball = ("ball" + bp2i);
p2ball.duplicateMovieClip(newball, 110 + bp2i);
setProperty(newball, _y , p2._y - 12);
p2ballangle = Math.atan((p1._y - p2._y) / (p1._x - p2._x));
switch (xcross) {
case 0 :
setProperty(newball, _x , p2._x - 18);
p2ballspeed = -24;
if (p2ballangle <= (-anglemax)) {
p2spr = 18;
}
if (p2ballangle >= anglemax) {
p2spr = 17;
}
break;
case 1 :
setProperty(newball, _x , p2._x + 18);
p2ballspeed = 24;
if (p2ballangle <= (-anglemax)) {
p2spr = 17;
}
if (p2ballangle < anglemax) {
break;
}
p2spr = 18;
}
i++;
p2fire = 4;
break;
case 2 :
s2_kmeago.start();
p2fire = 3;
p2spr = 16;
if (!(bp2i === 6)) {
bp2i++;
} else {
bp2i = 1;
}
var newball = ("ball" + bp2i);
p2ball.duplicateMovieClip(newball, 110 + bp2i);
p2ballangle = Math.atan((p1._y - p2._y) / (p1._x - p2._x));
p2kameha._rotation = Math.round((p2ballangle * 180) / Math.PI);
switch (xcross) {
case 0 :
setProperty(newball, _x , p2kameha._x - (34 * Math.cos(p2ballangle)));
setProperty(newball, _y , p2kameha._y - (34 * Math.sin(p2ballangle)));
p2ballspeed = -12;
if (p2ballangle <= -0.261799387799149) {
p2spr = 18;
}
if (p2ballangle >= 0.261799387799149) {
p2spr = 17;
}
break;
case 1 :
setProperty(newball, _x , p2kameha._x + (34 * Math.cos(p2ballangle)));
setProperty(newball, _y , p2kameha._y + (34 * Math.sin(p2ballangle)));
p2ballspeed = 12;
if (p2ballangle <= -0.261799387799149) {
p2spr = 17;
}
if (p2ballangle < 0.261799387799149) {
break;
}
p2spr = 18;
}
i++;
p2kameha.go._xscale = 1;
p2kameha._alpha = 100;
}
COM2special = random(5);
if (COM2special < 4) {
p2fire = 0;
}
COM2timerspecial = 0;
COM2timerspecialmax = random(30) + 10;
}
COM2timerspecial++;
switch (COM2special) {
case 4 :
if ((((p2ki >= 10) && (p2block == 0)) && (p2fire != 3)) && (p2wound == 0)) {
if (!(ts2_kmeaload === 0)) {
} else {
ts2_kmeaload = 1;
s2_kmeaload.start();
}
p2aura = 0;
p2fire = 1;
p2spr = 15;
p2ki = p2ki - 10;
p2pow = p2pow + 2;
if (P2ki < 10) {
COM2timerspecial = COM2timerspecialmax;
}
}
break;
case 2 :
case 3 :
if (!(((((d > 100) && (p2fire == 0)) && (p2speed == 0)) && (p2block == 0)) && (p2wound == 0))) {
break;
}
if (COM2timeraura == COM2timerauramax) {
COM2timeraura = 0;
COM2timerauramax = random(10) + 5;
}
COM2timeraura++;
p2aura = 1;
if (p2ki < 199) {
if (!(ts2_aura === 0)) {
} else {
ts2_aura = 1;
s2_aura.start();
}
if (!(p2fly === 0)) {
} else {
pti++;
particule(p2._x, p2._y, pti);
}
p2auraspr._alpha = 80;
p2spr = 1;
p2ki = p2ki + 2;
} else {
COM2timeraura = COM2timerauramax;
}
}
}
if (Key.isDown(27) || (Key.isDown(8))) {
_root.s_cancel.start();
gotoAndPlay (3);
}
Frame 13
gotoAndPlay (12);
Frame 14
stop();
Mouse.show();
_alpha = ((p1._alpha = (p2._alpha = 100)));
Key.removeListener(ecouteur);
p1face.gotoAndStop(p1_c);
p2face.gotoAndStop(p2_c);
p1hpmin._width = Math.min(p1hp, 100);
p1hpmax._width = Math.max(p1hp - 100, 0);
p1kimin._width = Math.min(p1ki, 100);
p1kimax._width = Math.max(p1ki - 100, 0);
p2hpmin._width = Math.min(p2hp, 100);
p2hpmax._width = Math.max(p2hp - 100, 0);
p2kimin._width = Math.min(p2ki, 100);
p2kimax._width = Math.max(p2ki - 100, 0);
p1ballspeed = 0;
p1ballangle = 0;
p2ballspeed = 0;
p2ballangle = 0;
if (p1hp <= 0) {
winner = p2name + " wins !";
matchwinner = 2;
p2.gotoAndStop(1);
} else {
winner = p1name + " wins !";
matchwinner = 1;
p1.gotoAndStop(1);
}
Instance of Symbol 236 MovieClip in Frame 14
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
if (_root.p1._y < 204) {
if (_root.p1hp <= 0) {
switch (_root.xcross) {
case 0 :
if (_root.p1._x > 20) {
_root.p1._x = _root.p1._x - 4;
}
break;
case 1 :
if (_root.p1._x >= 300) {
break;
}
_root.p1._x = _root.p1._x + 4;
}
}
_root.p1._y = _root.p1._y + 4;
}
if (_root.p2._y < 204) {
if (_root.p2hp <= 0) {
switch (_root.xcross) {
case 0 :
if (_root.p2._x < 300) {
_root.p2._x = _root.p2._x + 4;
}
break;
case 1 :
if (_root.p2._x <= 20) {
break;
}
_root.p2._x = _root.p2._x - 4;
}
}
_root.p2._y = _root.p2._y + 4;
}
if (Key.isDown(27) || (Key.isDown(8))) {
_root.s_fiit.start();
_root.gotoAndPlay("titre");
}
}
onClipEvent (mouseDown) {
_root.s_fiit.start();
switch (_root.match) {
case 0 :
switch (_root.storymode) {
case 0 :
_root.gotoAndStop("titre");
break;
default :
switch (_root.matchwinner) {
case 1 :
_root.storymode++;
if (_root.storymode == _root.maxstory) {
_root.gotoAndStop("fin");
}
_root.gotoAndStop("story");
break;
case 2 :
_root.gotoAndStop("titre");
}
}
break;
default :
with (_root) {
switch (match) {
case 1 :
match1winner = matchwinner;
break;
case 2 :
match2winner = matchwinner;
break;
case 3 :
match3winner = matchwinner;
break;
case 4 :
match4winner = matchwinner;
break;
case 5 :
match5winner = matchwinner;
break;
case 6 :
match6winner = matchwinner;
break;
case 7 :
match7winner = matchwinner;
}
match++;
gotoAndStop("tableau");
}
}
}
Symbol 16 MovieClip Frame 1
stop();
Symbol 24 Button
on (rollOver) {
_root.s_select.start();
}
on (press) {
_root.s_ok.start();
_root.gotoAndStop("setup");
}
Symbol 28 Button
on (rollOver) {
_root.s_select.start();
}
on (press) {
_root.s_ok.start();
_root.gotoAndStop("budokai");
}
Symbol 29 Button
on (rollOver) {
_root.s_select.start();
_root.fleche1.play();
_root.fleche2.play();
}
on (rollOut) {
_root.fleche1.gotoAndStop(1);
_root.fleche2.gotoAndStop(1);
}
on (press) {
_root.s_ok.start();
_root.gotoAndStop("vs");
}
Symbol 30 Button
on (rollOver) {
_root.s_select.start();
}
on (press) {
_root.s_ok.start();
_root.p1com = 0;
_root.p2com = 1;
_root.storymode = 1;
_root.gotoAndStop("story");
}
Symbol 45 MovieClip Frame 22
stop();
Symbol 53 Button
on (rollOver) {
if (!(_root.keywait === 0)) {
} else {
_root.s_select.start();
}
}
on (press) {
if (!(_root.keywait === 0)) {
} else {
_root.s_cancel.start();
_root.gotoAndPlay("titre");
}
}
Symbol 56 Button
on (rollOver) {
if (!(_root.keywait === 0)) {
} else {
_root.s_select.start();
}
}
on (press) {
if (!(_root.keywait === 0)) {
} else {
_root.s_choose.start();
_root.keyselect = 1;
_root.pkeyselect = 1;
_root.sk1up = _root.w;
_root.keywait = 1;
}
}
Symbol 57 Button
on (rollOver) {
if (!(_root.keywait === 0)) {
} else {
_root.s_select.start();
}
}
on (press) {
if (!(_root.keywait === 0)) {
} else {
_root.s_choose.start();
_root.keyselect = 2;
_root.pkeyselect = 1;
_root.sk1down = _root.w;
_root.keywait = 1;
}
}
Symbol 58 Button
on (rollOver) {
if (!(_root.keywait === 0)) {
} else {
_root.s_select.start();
}
}
on (press) {
if (!(_root.keywait === 0)) {
} else {
_root.s_choose.start();
_root.keyselect = 3;
_root.pkeyselect = 1;
_root.sk1left = _root.w;
_root.keywait = 1;
}
}
Symbol 59 Button
on (rollOver) {
if (!(_root.keywait === 0)) {
} else {
_root.s_select.start();
}
}
on (press) {
if (!(_root.keywait === 0)) {
} else {
_root.s_choose.start();
_root.keyselect = 4;
_root.pkeyselect = 1;
_root.sk1right = _root.w;
_root.keywait = 1;
}
}
Symbol 60 Button
on (rollOver) {
if (!(_root.keywait === 0)) {
} else {
_root.s_select.start();
}
}
on (press) {
if (!(_root.keywait === 0)) {
} else {
_root.s_choose.start();
_root.keyselect = 5;
_root.pkeyselect = 1;
_root.sk1atak = _root.w;
_root.keywait = 1;
}
}
Symbol 61 Button
on (rollOver) {
if (!(_root.keywait === 0)) {
} else {
_root.s_select.start();
}
}
on (press) {
if (!(_root.keywait === 0)) {
} else {
_root.s_choose.start();
_root.keyselect = 6;
_root.pkeyselect = 1;
_root.sk1special = _root.w;
_root.keywait = 1;
}
}
Symbol 62 Button
on (rollOver) {
if (!(_root.keywait === 0)) {
} else {
_root.s_select.start();
}
}
on (press) {
if (!(_root.keywait === 0)) {
} else {
_root.s_choose.start();
_root.keyselect = 1;
_root.pkeyselect = 2;
_root.sk2up = _root.w;
_root.keywait = 1;
}
}
Symbol 63 Button
on (rollOver) {
if (!(_root.keywait === 0)) {
} else {
_root.s_select.start();
}
}
on (press) {
if (!(_root.keywait === 0)) {
} else {
_root.s_choose.start();
_root.keyselect = 2;
_root.pkeyselect = 2;
_root.sk2down = _root.w;
_root.keywait = 1;
}
}
Symbol 64 Button
on (rollOver) {
if (!(_root.keywait === 0)) {
} else {
_root.s_select.start();
}
}
on (press) {
if (!(_root.keywait === 0)) {
} else {
_root.s_choose.start();
_root.keyselect = 3;
_root.pkeyselect = 2;
_root.sk2left = _root.w;
_root.keywait = 1;
}
}
Symbol 65 Button
on (rollOver) {
if (!(_root.keywait === 0)) {
} else {
_root.s_select.start();
}
}
on (press) {
if (!(_root.keywait === 0)) {
} else {
_root.s_choose.start();
_root.keyselect = 4;
_root.pkeyselect = 2;
_root.sk2right = _root.w;
_root.keywait = 1;
}
}
Symbol 66 Button
on (rollOver) {
if (!(_root.keywait === 0)) {
} else {
_root.s_select.start();
}
}
on (press) {
if (!(_root.keywait === 0)) {
} else {
_root.s_choose.start();
_root.keyselect = 5;
_root.pkeyselect = 2;
_root.sk2atak = _root.w;
_root.keywait = 1;
}
}
Symbol 67 Button
on (rollOver) {
if (!(_root.keywait === 0)) {
} else {
_root.s_select.start();
}
}
on (press) {
if (!(_root.keywait === 0)) {
} else {
_root.s_choose.start();
_root.keyselect = 6;
_root.pkeyselect = 2;
_root.sk2special = _root.w;
_root.keywait = 1;
}
}
Symbol 68 Button
on (rollOver) {
if (!(_root.keywait === 0)) {
} else {
_root.s_select.start();
}
}
on (press) {
if (!(_root.keywait === 0)) {
} else {
_root.s_choose.start();
_root.keyselect = 7;
_root.pkeyselect = 1;
_root.sk1blok = _root.w;
_root.keywait = 1;
}
}
Symbol 69 Button
on (rollOver) {
if (!(_root.keywait === 0)) {
} else {
_root.s_select.start();
}
}
on (press) {
if (!(_root.keywait === 0)) {
} else {
_root.s_choose.start();
_root.keyselect = 7;
_root.pkeyselect = 2;
_root.sk2blok = _root.w;
_root.keywait = 1;
}
}
Symbol 122 MovieClip Frame 1
stop();
Symbol 132 MovieClip Frame 1
stop();
Instance of Symbol 134 MovieClip in Symbol 140 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 0.1;
if (this._x < -60) {
this._x = 360;
}
}
Instance of Symbol 136 MovieClip in Symbol 140 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 0.2;
if (this._x < -60) {
this._x = 360;
}
}
Instance of Symbol 138 MovieClip in Symbol 140 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 0.1;
if (this._x < -60) {
this._x = 360;
}
}
Instance of Symbol 136 MovieClip in Symbol 142 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 0.2;
if (this._x < -60) {
this._x = 360;
}
}
Instance of Symbol 138 MovieClip in Symbol 142 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 0.1;
if (this._x < -60) {
this._x = 360;
}
}
Instance of Symbol 134 MovieClip in Symbol 142 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 0.1;
if (this._x < -60) {
this._x = 360;
}
}
Instance of Symbol 138 MovieClip in Symbol 142 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 0.2;
if (this._x < -60) {
this._x = 360;
}
}
Instance of Symbol 138 MovieClip in Symbol 142 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 0.2;
if (this._x < -60) {
this._x = 360;
}
}
Instance of Symbol 136 MovieClip in Symbol 142 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 0.2;
if (this._x < -60) {
this._x = 360;
}
}
Instance of Symbol 147 MovieClip in Symbol 152 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 0.1;
if (this._x < -44) {
this._x = 0;
}
}
Instance of Symbol 150 MovieClip in Symbol 152 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 0.2;
if (this._x < -64) {
this._x = 0;
}
}
Instance of Symbol 138 MovieClip in Symbol 154 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x + 0.2;
if (this._x > 360) {
this._x = -60;
}
}
Instance of Symbol 136 MovieClip in Symbol 154 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x + 0.1;
if (this._x > 360) {
this._x = -60;
}
}
Instance of Symbol 134 MovieClip in Symbol 156 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 0.1;
if (this._x < -60) {
this._x = 360;
}
}
Instance of Symbol 138 MovieClip in Symbol 156 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 0.2;
if (this._x < -60) {
this._x = 360;
}
}
Instance of Symbol 138 MovieClip in Symbol 156 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 0.2;
if (this._x < -60) {
this._x = 360;
}
}
Symbol 157 MovieClip Frame 1
stop();
_root.stage_n = "Tenkaishi Budokai";
Symbol 157 MovieClip Frame 2
_root.stage_n = "Plains";
Symbol 157 MovieClip Frame 3
_root.stage_n = "Training Room";
Symbol 157 MovieClip Frame 4
_root.stage_n = "Snake Way";
Symbol 157 MovieClip Frame 5
_root.stage_n = "Nameck";
Symbol 157 MovieClip Frame 6
_root.stage_n = "Cell game";
Symbol 172 MovieClip Frame 1
stop();
name = "Sangoku";
Symbol 172 MovieClip Frame 2
name = "Piccolo";
Symbol 172 MovieClip Frame 3
name = "Radditz";
Symbol 172 MovieClip Frame 4
name = "Tenshinhan";
Symbol 172 MovieClip Frame 5
name = "Freeza";
Symbol 172 MovieClip Frame 6
name = "Cell";
Symbol 172 MovieClip Frame 7
name = "Perfect Cell";
Symbol 173 Button
on (rollOver) {
_root.fleche1.play();
_root.fleche2.play();
}
on (rollOut) {
_root.fleche1.gotoAndStop(1);
_root.fleche2.gotoAndStop(1);
}
Symbol 174 Button
on (rollOver) {
_root.fleche3.play();
_root.fleche4.play();
}
on (rollOut) {
_root.fleche3.gotoAndStop(1);
_root.fleche4.gotoAndStop(1);
}
Symbol 175 Button
on (rollOver) {
_root.fleche5.play();
_root.fleche6.play();
}
on (rollOut) {
_root.fleche5.gotoAndStop(1);
_root.fleche6.gotoAndStop(1);
}
Symbol 176 Button
on (rollOver) {
_root.s_select.start();
}
on (press) {
_root.s_ok.start();
_root.p1name = _root.p1select.name;
_root.p2name = _root.p2select.name;
_root.gotoAndPlay("initVS");
}
Symbol 189 MovieClip Frame 1
stop();
Symbol 192 Button
on (rollOut) {
_root.s_select.start();
}
on (press) {
_root.s_ok.start();
box = new Array(1, 1, 1, 1, 1, 1, 1, 1);
newbox = new Array(1, 1, 1, 1, 1, 1, 1, 1);
boxnbp = new Array(_root.nbp1, _root.nbp2, _root.nbp3, _root.nbp4, _root.nbp5, _root.nbp6, _root.nbp7, _root.nbp8);
newboxnbp = new Array(1, 1, 1, 1, 1, 1, 1, 1);
boxCOM = new Array(_root.nbp1COM, _root.nbp2COM, _root.nbp3COM, _root.nbp4COM, _root.nbp5COM, _root.nbp6COM, _root.nbp7COM, _root.nbp8COM);
newboxCOM = new Array(1, 1, 1, 1, 1, 1, 1, 1);
boxp_c = new Array(_root.budop1_c, _root.budop2_c, _root.budop3_c, _root.budop4_c, _root.budop5_c, _root.budop6_c, _root.budop7_c, _root.budop8_c);
newboxp_c = new Array(1, 1, 1, 1, 1, 1, 1, 1);
var i = 0;
while (i < 8) {
sortie = random(8);
if (box[sortie] == 1) {
box[sortie] = 0;
} else {
while (box[sortie] == 0) {
sortie = random(8);
}
box[sortie] = 0;
}
newbox[i] = sortie;
newboxnbp[i] = boxnbp[sortie];
newboxCOM[i] = boxCOM[sortie];
newboxp_c[i] = boxp_c[sortie];
i++;
}
_root.budop1_c = newboxp_c[0];
_root.budop2_c = newboxp_c[1];
_root.budop3_c = newboxp_c[2];
_root.budop4_c = newboxp_c[3];
_root.budop5_c = newboxp_c[4];
_root.budop6_c = newboxp_c[5];
_root.budop7_c = newboxp_c[6];
_root.budop8_c = newboxp_c[7];
_root.nbp1 = newboxnbp[0];
_root.nbp2 = newboxnbp[1];
_root.nbp3 = newboxnbp[2];
_root.nbp4 = newboxnbp[3];
_root.nbp5 = newboxnbp[4];
_root.nbp6 = newboxnbp[5];
_root.nbp7 = newboxnbp[6];
_root.nbp8 = newboxnbp[7];
_root.nbp1COM = newboxCOM[0];
_root.nbp2COM = newboxCOM[1];
_root.nbp3COM = newboxCOM[2];
_root.nbp4COM = newboxCOM[3];
_root.nbp5COM = newboxCOM[4];
_root.nbp6COM = newboxCOM[5];
_root.nbp7COM = newboxCOM[6];
_root.nbp8COM = newboxCOM[7];
_root.match = 1;
_root.gotoAndStop("tableau");
}
Symbol 195 Button
on (rollOver) {
_root.s_select.start();
fleche1.play();
fleche2.play();
}
on (rollOut) {
fleche1.gotoAndStop(1);
fleche2.gotoAndStop(1);
}
on (press) {
_root.s_choose.start();
switch (_root.nbp1COM) {
case 0 :
_root.nbp1COM = 1;
_root.nbp1 = "COM1";
break;
case 1 :
_root.nbp1COM = 0;
_root.nbp1 = "P1";
}
}
Symbol 196 Button
on (rollOver) {
_root.s_select.start();
fleche3.play();
fleche4.play();
}
on (rollOut) {
fleche3.gotoAndStop(1);
fleche4.gotoAndStop(1);
}
on (press) {
_root.s_choose.start();
switch (_root.nbp2COM) {
case 0 :
_root.nbp2COM = 1;
_root.nbp2 = "COM2";
break;
case 1 :
_root.nbp2COM = 0;
_root.nbp2 = "P2";
}
}
Symbol 197 Button
on (rollOver) {
_root.s_select.start();
fleche5.play();
fleche6.play();
}
on (rollOut) {
fleche5.gotoAndStop(1);
fleche6.gotoAndStop(1);
}
on (press) {
_root.s_choose.start();
switch (_root.nbp3COM) {
case 0 :
_root.nbp3COM = 1;
_root.nbp3 = "COM3";
break;
case 1 :
_root.nbp3COM = 0;
_root.nbp3 = "P3";
}
}
Symbol 198 Button
on (rollOver) {
_root.s_select.start();
fleche7.play();
fleche8.play();
}
on (rollOut) {
fleche7.gotoAndStop(1);
fleche8.gotoAndStop(1);
}
on (press) {
_root.s_choose.start();
switch (_root.nbp4COM) {
case 0 :
_root.nbp4COM = 1;
_root.nbp4 = "COM4";
break;
case 1 :
_root.nbp4COM = 0;
_root.nbp4 = "P4";
}
}
Symbol 199 Button
on (rollOver) {
_root.s_select.start();
fleche9.play();
fleche10.play();
}
on (rollOut) {
fleche9.gotoAndStop(1);
fleche10.gotoAndStop(1);
}
on (press) {
_root.s_choose.start();
switch (_root.nbp5COM) {
case 0 :
_root.nbp5COM = 1;
_root.nbp5 = "COM5";
break;
case 1 :
_root.nbp5COM = 0;
_root.nbp5 = "P5";
}
}
Symbol 200 Button
on (rollOver) {
_root.s_select.start();
fleche11.play();
fleche12.play();
}
on (rollOut) {
fleche11.gotoAndStop(1);
fleche12.gotoAndStop(1);
}
on (press) {
_root.s_choose.start();
switch (_root.nbp6COM) {
case 0 :
_root.nbp6COM = 1;
_root.nbp6 = "COM6";
break;
case 1 :
_root.nbp6COM = 0;
_root.nbp6 = "P6";
}
}
Symbol 201 Button
on (rollOver) {
_root.s_select.start();
fleche13.play();
fleche14.play();
}
on (rollOut) {
fleche13.gotoAndStop(1);
fleche14.gotoAndStop(1);
}
on (press) {
_root.s_choose.start();
switch (_root.nbp7COM) {
case 0 :
_root.nbp7COM = 1;
_root.nbp7 = "COM1";
break;
case 1 :
_root.nbp7COM = 0;
_root.nbp7 = "P7";
}
}
Symbol 202 Button
on (rollOver) {
_root.s_select.start();
fleche15.play();
fleche16.play();
}
on (rollOut) {
fleche15.gotoAndStop(1);
fleche16.gotoAndStop(1);
}
on (press) {
_root.s_choose.start();
switch (_root.nbp8COM) {
case 0 :
_root.nbp8COM = 1;
_root.nbp8 = "COM8";
break;
case 1 :
_root.nbp8COM = 0;
_root.nbp8 = "P8";
}
}
Symbol 241 Button
on (rollOver) {
_root.s_select.start();
}
on (press) {
_root.s_ok.start();
_root.gotoAndPlay("initVS");
}
Symbol 242 Button
on (rollOver) {
_root.s_select.start();
}
on (press) {
_root.s_ok.start();
a = random(2);
switch (a) {
case 0 :
_root.p1hp = 0;
_root.p2hp = random(150) + 50;
p1spr = 10;
p2spr = 1;
break;
case 1 :
_root.p1hp = random(150) + 50;
_root.p2hp = 0;
p1spr = 1;
p2spr = 10;
}
_root.gotoAndPlay("fightover");
}
Symbol 273 MovieClip Frame 1
stop();
Symbol 292 MovieClip Frame 1
stop();
Symbol 311 MovieClip Frame 1
stop();
Symbol 330 MovieClip Frame 1
stop();
Symbol 335 MovieClip Frame 70
_root.play();
Symbol 354 MovieClip Frame 1
stop();
Symbol 373 MovieClip Frame 1
stop();