Frame 1
function character_ready() {
i = 1;
while (i <= 2) {
switch (_root["character" + i]) {
case 1 :
_root["walkspeed" + i] = 25;
_root["jtime" + i] = 15;
_root["jheight" + i] = 170;
_root["runspeed" + i] = 1.5;
_root["pow" + i] = 40;
_root["shoottec" + i] = 0;
_root["dankstep" + i] = 900;
break;
case 2 :
_root["walkspeed" + i] = 20;
_root["jtime" + i] = 14;
_root["jheight" + i] = 165;
_root["runspeed" + i] = 1.3;
_root["pow" + i] = 60;
_root["shoottec" + i] = -3;
_root["dankstep" + i] = 1000;
break;
case 3 :
_root["walkspeed" + i] = 35;
_root["jtime" + i] = 11;
_root["jheight" + i] = 150;
_root["runspeed" + i] = 1.2;
_root["pow" + i] = 35;
_root["shoottec" + i] = 0;
_root["dankstep" + i] = 950;
break;
case 4 :
_root["walkspeed" + i] = 23;
_root["jtime" + i] = 17;
_root["jheight" + i] = 200;
_root["runspeed" + i] = 1.2;
_root["pow" + i] = 30;
_root["shoottec" + i] = -10;
_root["dankstep" + i] = 950;
break;
case 5 :
_root["walkspeed" + i] = 24;
_root["jtime" + i] = 13;
_root["jheight" + i] = 165;
_root["runspeed" + i] = 1.4;
_root["pow" + i] = 35;
_root["shoottec" + i] = 20;
_root["dankstep" + i] = 1000;
break;
case 6 :
_root["walkspeed" + i] = 30;
_root["jtime" + i] = 15;
_root["jheight" + i] = 185;
_root["runspeed" + i] = 1.2;
_root["pow" + i] = 50;
_root["shoottec" + i] = 10;
_root["dankstep" + i] = 850;
}
i++;
}
}
function think_free(pl) {
if (_root.atm0 == "shoot") {
factor1 = Math.floor(_root.balltime / 4);
factor2 = factor1 * 3;
if (_root.WposX0 > _root["WposX" + pl]) {
_root["moveR" + pl] = true;
} else if (((((_root["WposX" + pl] - _root.WposX0) > 150) && ((_root["WposX" + pl] - _root.WposX0) < 300)) && (_root.player0._y > 0)) && (_root.player0._y < 200)) {
if ((_root.shoottime <= factor1) || (_root.shoottime >= factor2)) {
if (_root["WposX" + pl] > 1300) {
_root["moveU" + pl] = true;
_root["moveL" + pl] = true;
} else {
_root["moveU" + pl] = true;
}
} else {
_root["moveR" + pl] = true;
}
} else if ((((_root["WposX" + pl] - _root.WposX0) < 100) && (_root.player0._y > 0)) && (_root.player0._y < 200)) {
if ((_root.shoottime <= factor1) || (_root.shoottime >= factor2)) {
if (_root["WposX" + pl] > (_root.postX - 100)) {
_root["moveU" + pl] = true;
} else {
_root["moveU" + pl] = true;
_root["moveR" + pl] = true;
}
} else {
_root["moveR" + pl] = true;
}
} else if (_root["WposX" + pl] > (_root.postX - 100)) {
} else {
_root["moveR" + pl] = true;
}
} else if (_root.atm0 == "bound") {
factor1 = Math.floor(((_root["walkspeed" + pl] * _root["runspeed" + pl]) * _root["jtime" + pl]) / 2);
if (_root.WposX0 < _root["WposX" + pl]) {
_root["moveL" + pl] = true;
} else if ((Math.abs((_root["WposX" + pl] + factor1) - _root.WposX0) < 20) && (_root.player0._y < 60)) {
_root["moveR" + pl] = true;
_root["moveU" + pl] = true;
} else if (Math.abs(_root["WposX" + pl] - _root.WposX0) < 20) {
_root["moveU" + pl] = true;
} else {
_root["moveR" + pl] = true;
}
} else if (((_root.atm0 == "free_bound") || (_root.atm0 == "free_bound_set")) || (_root.atm0 == "in_or_out")) {
if (_root["WposX" + pl] > _root.WposX0) {
_root["moveL" + pl] = true;
} else if (_root["WposX" + pl] < _root.WposX0) {
_root["MoveR" + pl] = true;
}
}
}
function think_dif(pl) {
if (pl == 2) {
em = 1;
} else {
em = 2;
}
if (_root["thinktime" + pl] == 0) {
if (_root.keeper == 0) {
} else if ((_root["WposX" + pl] - 70) < _root["WposX" + em]) {
if (((((_root["WposX" + em] - _root["WposX" + pl]) <= 120) && ((_root["WposX" + em] - _root["WposX" + pl]) >= 70)) && (_root["atm" + em] == "dribble")) && (_root["atm" + pl] == "free")) {
_root["act" + pl] = true;
} else if ((_root["WposX" + pl] - 20) < _root["WposX" + em]) {
_root["moveR" + pl] = true;
} else {
_root["act" + pl] = true;
}
} else if ((_root["WposX" + pl] - _root["WposX" + em]) > 300) {
_root["moveL" + pl] = true;
_root["act" + pl] = false;
} else if ((((_root["WposX" + pl] - _root["WposX" + em]) <= 140) && ((_root["WposX" + pl] - _root["WposX" + em]) > 100)) && (_root["atm" + em] == "dribble")) {
if (_root["muki" + pl] == "L") {
factorG1 = Math.floor(Math.random() * 2) + 1;
if (factorG1 == 1) {
_root["moveD" + pl] = true;
_root["act" + pl] = true;
} else {
_root["Tcode" + pl] = "wait2";
_root["thinktime" + pl] = Math.floor(Math.random() * 2) + 2;
}
} else {
_root["moveL" + pl] = true;
_root["act" + pl] = false;
}
} else {
_root["act" + pl] = true;
if (_root["atm" + em] == "dribble") {
if (_root["walk" + em] == 4) {
_root["moveL" + pl] = true;
} else if (_root["walk" + em] == 6) {
_root["moveR" + pl] = true;
}
} else if (_root["atm" + em] == "run") {
} else if ((_root["atm" + em] == "jump") || (_root["atm" + em] == "jumpshoot")) {
switch (_root["jumpcode" + em]) {
case 7 :
_root["act" + pl] = false;
break;
case 8 :
if ((_root["airtime" + em] >= 2) && (_root["jmode" + em] == true)) {
_root["moveU" + pl] = true;
_root["act" + pl] = false;
}
break;
case 9 :
if ((_root["airtime" + em] >= 3) && (_root["jmode" + em] == true)) {
_root["moveU" + pl] = true;
_root["moveR" + pl] = true;
_root["act" + pl] = false;
} else {
_root["moveR" + pl] = true;
_root["act" + pl] = false;
}
}
} else if (_root["atm" + em] == "catch") {
if (_root.runcount == 3) {
} else if ((_root["WposX" + pl] - _root["WposX" + em]) > 200) {
_root["moveL" + pl] = true;
_root["act" + pl] = true;
}
} else if (_root["atm" + em] == "backrole") {
if ((_root["WposX" + pl] - _root["WposX" + em]) < 100) {
_root["act" + pl] = true;
} else {
_root["act" + pl] = true;
_root["moveR" + pl] = true;
}
} else if (_root["atm" + em] == "shoot") {
if (_root["WposX" + em] <= 800) {
if ((_root["WposX" + pl] - _root["WposX" + em]) < 100) {
_root["act" + pl] = true;
} else if (_root.runcount == 3) {
_root["act" + pl] = true;
_root["moveL" + pl] = true;
} else {
_root["moveL" + pl] = true;
}
} else if ((_root["WposX" + pl] - _root["WposX" + em]) < 150) {
_root["act" + pl] = true;
} else {
_root["act" + pl] = true;
_root["moveL" + pl] = true;
}
}
}
}
if (_root["thinktime" + pl] > 0) {
switch (_root["Tcode" + pl]) {
case "walkF" :
_root["moveR" + pl] = true;
break;
case "walkB" :
_root["moveL" + pl] = true;
break;
case "wait" :
break;
case "wait2" :
_root["act" + pl] = true;
}
_root["thinktime" + pl]--;
}
}
function think_attack(pl) {
if (pl == 2) {
em = 1;
} else {
em = 2;
}
if (_root["thinktime" + pl] == 0) {
if (_root["atm" + pl] == "dribble") {
if (_root["WposX" + pl] > 700) {
if ((_root["WposX" + pl] < _root["WposX" + em]) && ((_root["WposX" + em] - _root["WposX" + pl]) < 220)) {
switch (_root["atm" + em]) {
case "free" :
factor1 = Math.floor(Math.random() * (6 + _root.levelwait)) + 1;
if (factor1 == 1) {
if (_root["WposX" + pl] > 1100) {
_root["moveU" + pl] = true;
} else {
_root["Tcode" + pl] = "walkF";
_root["thinktime" + pl] = Math.floor(Math.random() * 3) + 4;
}
} else if (factor1 == 2) {
_root["moveU" + pl] = true;
} else if (factor1 == 3) {
_root["moveR" + pl] = true;
_root["moveU" + pl] = true;
} else if (factor1 == 4) {
_root["moveR" + pl] = true;
_root["act" + pl] = true;
} else if (factor1 == 5) {
_root["act" + pl] = true;
} else if (factor1 >= 6) {
_root["Tcode" + pl] = "wait";
_root["thinktime" + pl] = Math.floor(Math.random() * 2) + 2;
}
break;
case "guard" :
factor1 = Math.floor(Math.random() * (6 + _root.levelwait)) + 1;
if (factor1 == 1) {
_root["act" + pl] = true;
} else if (factor1 == 2) {
_root["Tcode" + pl] = "walkB";
_root["thinktime" + pl] = Math.floor(Math.random() * 2) + 3;
} else if (factor1 == 3) {
_root["moveL" + pl] = true;
_root["act" + pl] = true;
} else if (factor1 == 4) {
_root["moveU" + pl] = true;
} else if (factor1 == 5) {
_root["moveR" + pl] = true;
_root["moveU" + pl] = true;
} else if (factor1 >= 6) {
_root["Tcode" + pl] = "wait";
_root["thinktime" + pl] = Math.floor(Math.random() * 2) + 2;
}
break;
case "jump" :
factor1 = Math.floor(Math.random() * (3 + _root.levelwait)) + 1;
if (factor1 == 1) {
if (_root["WposX" + pl] > 1100) {
_root["moveU" + pl] = true;
} else {
_root["moveU" + pl] = true;
_root["moveR" + pl] = true;
}
} else if (factor1 == 2) {
_root["act" + pl] = true;
} else if (factor1 == 3) {
_root["Tcode" + pl] = "walkF";
_root["thinktime" + pl] = Math.floor(Math.random() * 3) + 4;
} else if (factor1 >= 4) {
_root["Tcode" + pl] = "wait";
_root["thinktime" + pl] = Math.floor(Math.random() * 2) + 2;
}
break;
case "cutting" :
factor1 = Math.floor(Math.random() * (4 + _root.levelwait)) + 1;
if (factor1 == 1) {
if (_root["WposX" + pl] > 1100) {
_root["moveU" + pl] = true;
} else {
_root["moveU" + pl] = true;
_root["moveR" + pl] = true;
}
} else if (factor1 == 2) {
_root["act" + pl] = true;
} else if (factor1 == 3) {
_root["Tcode" + pl] = "walkB";
_root["thinktime" + pl] = Math.floor(Math.random() * 3) + 4;
} else if (factor1 == 4) {
_root["moveL" + pl] = true;
_root["act" + pl] = true;
} else {
if (factor1 < 5) {
break;
}
_root["Tcode" + pl] = "wait";
_root["thinktime" + pl] = Math.floor(Math.random() * 2) + 2;
}
}
} else if ((_root["WposX" + pl] < _root["dankstep" + pl]) && (_root.game_level == "HARD")) {
_root["moveR" + pl] = true;
_root["act" + pl] = true;
} else if (_root["WposX" + pl] > 1100) {
_root["moveU" + pl] = true;
} else {
_root["moveU" + pl] = true;
_root["moveR" + pl] = true;
}
} else if ((_root["WposX" + pl] < _root["WposX" + em]) && ((_root["WposX" + em] - _root["WposX" + pl]) < 220)) {
switch (_root["atm" + em]) {
case "free" :
if (_root["walk" + em] == 4) {
factor1 = Math.floor(Math.random() * (4 + _root.levelwait)) + 1;
if (factor1 == 1) {
_root["Tcode" + pl] = "walkF";
_root["thinktime" + pl] = Math.floor(Math.random() * 3) + 4;
} else if (factor1 == 2) {
_root["moveR" + pl] = true;
_root["act" + pl] = true;
} else if (factor1 == 3) {
_root["moveL" + pl] = true;
_root["act" + pl] = true;
} else if (factor1 >= 4) {
_root["Tcode" + pl] = "wait";
_root["thinktime" + pl] = Math.floor(Math.random() * 2) + 2;
}
} else if (_root["walk" + em] == 6) {
factor1 = Math.floor(Math.random() * (2 + _root.levelwait)) + 1;
if (factor1 == 1) {
_root["Tcode" + pl] = "walkF";
_root["thinktime" + pl] = Math.floor(Math.random() * 3) + 4;
} else if (factor1 >= 2) {
_root["Tcode" + pl] = "wait";
_root["thinktime" + pl] = Math.floor(Math.random() * 2) + 2;
}
} else {
factor1 = Math.floor(Math.random() * (6 + _root.levelwait)) + 1;
if (factor1 == 1) {
_root["Tcode" + pl] = "walkF";
_root["thinktime" + pl] = Math.floor(Math.random() * 3) + 4;
} else if (factor1 == 2) {
_root["Tcode" + pl] = "walkB";
_root["thinktime" + pl] = Math.floor(Math.random() * 2) + 3;
} else if (factor1 == 3) {
_root["moveR" + pl] = true;
_root["moveU" + pl] = true;
} else if (factor1 >= 4) {
_root["Tcode" + pl] = "wait";
_root["thinktime" + pl] = Math.floor(Math.random() * 2) + 2;
}
}
break;
case "jump" :
_root["Tcode" + pl] = "walkF";
_root["thinktime" + pl] = Math.floor(Math.random() * 3) + 4;
break;
case "guard" :
factor1 = Math.floor(Math.random() * (4 + _root.levelwait)) + 1;
if (factor1 == 1) {
_root["Tcode" + pl] = "walkB";
_root["thinktime" + pl] = Math.floor(Math.random() * 3) + 4;
} else if (factor1 == 2) {
_root["Tcode" + pl] = "walkF";
_root["thinktime" + pl] = Math.floor(Math.random() * 3) + 4;
} else if (factor1 == 3) {
_root["moveL" + pl] = true;
_root["act" + pl] = true;
} else if (factor1 >= 4) {
_root["Tcode" + pl] = "wait";
_root["thinktime" + pl] = Math.floor(Math.random() * 3) + 2;
}
break;
case "cutting" :
factor1 = Math.floor(Math.random() * (4 + _root.levelwait)) + 1;
if (factor1 == 1) {
_root["Tcode" + pl] = "walkB";
_root["thinktime" + pl] = Math.floor(Math.random() * 3) + 4;
} else if (factor1 == 2) {
_root["moveL" + pl] = true;
_root["act" + pl] = true;
} else if (factor1 == 3) {
_root["moveR" + pl] = true;
_root["act" + pl] = true;
} else if (factor1 == 4) {
_root["moveR" + pl] = true;
_root["moveU" + pl] = true;
} else {
if (factor1 < 5) {
break;
}
_root["Tcode" + pl] = "wait";
_root["thinktime" + pl] = Math.floor(Math.random() * 3) + 2;
}
}
} else {
_root["Tcode" + pl] = "walkF";
_root["thinktime" + pl] = Math.floor(Math.random() * 3) + 2;
}
} else if ((_root["atm" + pl] == "catch") || (_root["atm" + pl] == "shoot")) {
if (_root["atm" + pl] == "catch") {
_root["act" + pl] = false;
} else {
_root["act" + pl] = true;
}
factor1 = Math.floor(Math.random() * 3) + 1;
if (factor1 == 1) {
if (_root["WposX" + pl] > 1100) {
_root["moveU" + pl] = true;
} else {
_root["moveU" + pl] = true;
_root["moveR" + pl] = true;
}
} else if (factor1 == 2) {
if (_root["atm" + pl] == "catch") {
_root["act" + pl] = true;
} else {
_root["act" + pl] = false;
}
} else if (factor1 == 3) {
if (_root["atm" + pl] == "catch") {
_root["Tcode" + pl] = "wait";
_root["thinktime" + pl] = Math.floor(Math.random() * 3) + 2;
} else {
factor1 = Math.floor(Math.random() * 2) + 1;
if (factor1 == 1) {
_root["Tcode" + pl] = "wait2";
_root["thinktime" + pl] = Math.floor(Math.random() * 3) + 2;
} else {
root["moveL" + pl] = true;
_root["act" + pl] = false;
}
}
}
} else if (_root["atm" + pl] == "jump") {
factor1 = Math.floor(_root["jtime" + pl] / 4) + 2;
factor2 = Math.floor(_root["jtime" + pl] / 2) + 2;
factor3 = Math.floor((_root["jtime" + pl] * 3) / 4) + 2;
if (((_root["airtime" + pl] == 5) && (Math.abs(_root["dankstep" + pl] - _root["stepin" + pl]) <= 100)) && (_root["hijump" + pl] == true)) {
_root["moveD" + pl] = true;
_root["act" + pl] = true;
} else if (((_root["airtime" + pl] == factor1) || (_root["airtime" + pl] == factor2)) || (_root["airtime" + pl] == factor3)) {
if ((_root["WposX" + pl] > _root["WposX" + em]) || (_root["tobi" + pl] > _root["tobi" + em])) {
_root["act" + pl] = true;
}
} else if ((_root.runcount < 3) && (_root["airtime" + pl] >= factor3)) {
_root["act" + pl] = true;
}
} else if (_root["atm" + pl] == "run") {
if (_root["WposX" + pl] > 1200) {
_root["moveD" + pl] = true;
} else if (_root["WposX" + pl] >= _root["dankstep" + pl]) {
_root["moveU" + pl] = true;
_root["moveR" + pl] = true;
}
}
}
if (_root["thinktime" + pl] > 0) {
switch (_root["Tcode" + pl]) {
case "walkF" :
_root["moveR" + pl] = true;
break;
case "walkB" :
_root["moveL" + pl] = true;
break;
case "wait" :
break;
case "wait2" :
_root["act" + pl] = true;
}
_root["thinktime" + pl]--;
}
}
function diff(pl) {
if (pl == 1) {
em = 2;
} else if (pl == 2) {
em = 1;
}
switch (_root["atm" + pl]) {
case "free" :
if (_root.keeper == 0) {
_root["style" + pl] = "FREE";
_root["atm" + pl] = "free";
} else if (_root["atm" + em] == "traveling") {
_root["atm" + pl] = "traveling";
if (_root["muki" + pl] == "R") {
_root["player" + pl].gotoAndStop("F_neutralR");
} else {
_root["player" + pl].gotoAndStop("F_neutralL");
}
} else if (_root["atm" + em] == "out_of_bounds") {
_root["atm" + pl] = "out_of_bounds";
if (_root["muki" + pl] == "R") {
_root["player" + pl].gotoAndStop("F_neutralR");
} else {
_root["player" + pl].gotoAndStop("F_neutralL");
}
} else if (_root["walk" + pl] != _root["Mcode" + pl]) {
switch (_root["Mcode" + pl]) {
case 0 :
if (_root["muki" + pl] == "R") {
_root["player" + pl].gotoAndStop("F_neutralR");
} else {
_root["player" + pl].gotoAndStop("F_neutralL");
}
break;
case 4 :
if (_root["muki" + pl] == "R") {
_root["player" + pl].gotoAndStop("F_turnL");
_root["atm" + pl] = "turn";
} else {
_root["player" + pl].gotoAndStop("F_dashL");
}
break;
case 6 :
if (_root["muki" + pl] == "L") {
_root["player" + pl].gotoAndStop("F_turnR");
_root["atm" + pl] = "turn";
} else {
_root["player" + pl].gotoAndStop("F_dashR");
}
break;
case 7 :
_root["atm" + pl] = "jump";
_root["jumpcode" + pl] = 7;
break;
case 8 :
_root["atm" + pl] = "jump";
_root["jumpcode" + pl] = 8;
break;
case 9 :
_root["atm" + pl] = "jump";
_root["jumpcode" + pl] = 9;
}
_root["walk" + pl] = _root["Mcode" + pl];
} else {
switch (_root["Mcode" + pl]) {
case 0 :
if ((_root["muki" + pl] == "R") && (_root["player" + pl]._x > _root["player" + em]._x)) {
_root["player" + pl].gotoAndStop("F_turnL");
_root["atm" + pl] = "turn";
} else if ((_root["muki" + pl] == "L") && (_root["player" + pl]._x < _root["player" + em]._x)) {
_root["player" + pl].gotoAndStop("F_turnR");
_root["atm" + pl] = "turn";
} else if (_root["act" + pl] == true) {
if (_root["player" + pl]._x > _root["player" + em]._x) {
_root["atm" + pl] = "guard";
_root["player" + pl].gotoAndStop("D_neutral");
} else {
_root["atm" + pl] = "cutting";
_root["player" + pl].gotoAndStop("D_cutR");
}
}
break;
case 4 :
if ((_root["player" + pl]._currentframe >= 130) && (_root["player" + pl]._currentframe < 150)) {
_root["walk" + pl] = 0;
}
_root["runcode" + pl] = _root["runspeed" + pl];
_root["WposX" + pl] = _root["WposX" + pl] - (_root["walkspeed" + pl] * _root["runspeed" + pl]);
if ((_root["act" + pl] == true) && (_root["player" + pl]._x > _root["player" + em]._x)) {
_root["atm" + pl] = "guard";
_root["player" + pl].gotoAndStop("D_front");
}
break;
case 6 :
if (((_root["player" + pl]._currentframe >= 130) && (_root["player" + pl]._currentframe < 150)) && (_root["act" + pl] != true)) {
_root["walk" + pl] = 0;
}
_root["runcode" + pl] = _root["runspeed" + pl];
_root["WposX" + pl] = _root["WposX" + pl] + (_root["walkspeed" + pl] * _root["runspeed" + pl]);
if (_root["act" + pl] == true) {
if (_root["player" + pl]._x > _root["player" + em]._x) {
if (_root["muki" + pl] == "L") {
_root["atm" + pl] = "guard";
_root["player" + pl].gotoAndStop("D_back");
} else {
_root["player" + pl].gotoAndStop("F_turnL");
_root["atm" + pl] = "turn";
}
} else {
_root["atm" + pl] = "cutting";
_root["player" + pl].gotoAndStop("D_cutR");
}
}
break;
case 2 :
if (_root["act" + pl] != true) {
break;
}
_root["atm" + pl] = "cutting";
if (_root["muki" + pl] == "L") {
_root["player" + pl].gotoAndStop("D_cutL");
} else {
_root["player" + pl].gotoAndStop("D_cutR");
}
}
}
return;
case "turn" :
if (_root["player" + pl].obje._currentframe == 4) {
_root["atm" + pl] = "free";
if (_root["muki" + pl] == "R") {
_root["muki" + pl] = "L";
if (_root["act" + pl] == true) {
_root["atm" + pl] = "guard";
if (_root["Mcode" + pl] == 4) {
_root["player" + pl].gotoAndStop("D_front");
} else if (_root["Mcode" + pl] == 6) {
_root["player" + pl].gotoAndStop("D_back");
} else {
_root["player" + pl].gotoAndStop("D_neutral");
}
} else if (_root["Mcode" + pl] == 4) {
_root["player" + pl].gotoAndStop("F_dashL");
} else {
_root["player" + pl].gotoAndStop("F_neutralL");
_root["walk" + pl] = 0;
}
} else {
_root["muki" + pl] = "R";
if (_root["Mcode" + pl] == 6) {
_root["player" + pl].gotoAndStop("F_dashR");
} else {
_root["player" + pl].gotoAndStop("F_neutralR");
_root["walk" + pl] = 0;
}
}
} else {
switch (_root["Mcode" + pl]) {
case 6 :
_root["WposX" + pl] = _root["WposX" + pl] + _root["walkspeed" + pl];
break;
case 4 :
_root["WposX" + pl] = _root["WposX" + pl] - _root["walkspeed" + pl];
break;
case 9 :
_root["WposX" + pl] = _root["WposX" + pl] + _root["walkspeed" + pl];
break;
case 7 :
_root["WposX" + pl] = _root["WposX" + pl] - _root["walkspeed" + pl];
}
}
return;
case "jump" :
if (_root["jmode" + pl] != true) {
if (_root["muki" + pl] == "L") {
_root["player" + pl].gotoAndStop("F_jumpL");
} else {
_root["player" + pl].gotoAndStop("F_jumpR");
}
_root["uprad" + pl] = 180 / _root["jtime" + pl];
_root["rad" + pl] = 180;
_root["jmode" + pl] = true;
} else if ((_root["rad" + pl] + _root["uprad" + pl]) >= 350) {
if (_root.keeper == pl) {
_root["atm" + pl] = "catch_stop";
_root["player" + pl].gotoAndStop("catch2");
} else if (_root["atm" + em] == "traveling") {
_root["atm" + pl] = "traveling";
if (_root["muki" + pl] == "R") {
_root["player" + pl].gotoAndStop("F_neutralR");
} else {
_root["player" + pl].gotoAndStop("F_neutralL");
}
} else {
_root["atm" + pl] = "free";
if (_root["muki" + pl] == "R") {
_root["player" + pl].gotoAndStop("F_neutralR");
} else {
_root["player" + pl].gotoAndStop("F_neutralL");
}
}
_root["walk" + pl] = 0;
_root.tobi = 0;
_root["jmode" + pl] = false;
_root["jumpcode" + pl] = false;
_root["hijump" + pl] = false;
}
_root["rad" + pl] = _root["rad" + pl] + _root["uprad" + pl];
_root["tobi" + pl] = Math.sin((Math.PI * _root["rad" + pl]) / 180) * _root["jheight" + pl];
switch (_root["jumpcode" + pl]) {
case 9 :
if (_root.hijump == true) {
_root["runcode" + pl] = _root["runspeed" + pl];
}
_root["WposX" + pl] = _root["WposX" + pl] + (_root["walkspeed" + pl] * _root["runcode" + pl]);
break;
case 7 :
_root["WposX" + pl] = _root["WposX" + pl] - _root["walkspeed" + pl];
}
return;
case "guard" :
if (_root.atm0 == "post_in") {
if (_root["muki" + pl] == "R") {
_root["player" + pl].gotoAndStop("F_neutralR");
} else {
_root["player" + pl].gotoAndStop("F_neutralL");
}
_root["atm" + pl] = "post_in";
} else if (_root["walk" + pl] != _root["Mcode" + pl]) {
switch (_root["Mcode" + pl]) {
case 0 :
_root["player" + pl].gotoAndStop("D_neutral");
break;
case 4 :
_root["player" + pl].gotoAndStop("D_front");
break;
case 6 :
_root["player" + pl].gotoAndStop("D_back");
break;
case 7 :
_root["atm" + pl] = "jump";
_root["jumpcode" + pl] = 7;
break;
case 8 :
_root["atm" + pl] = "jump";
break;
case 9 :
_root["atm" + pl] = "jump";
_root["jumpcode" + pl] = 9;
}
_root["walk" + pl] = _root["Mcode" + pl];
} else {
switch (_root["Mcode" + pl]) {
case 0 :
break;
case 4 :
_root["WposX" + pl] = _root["WposX" + pl] - (_root["walkspeed" + pl] / 2);
break;
case 6 :
_root["WposX" + pl] = _root["WposX" + pl] + (_root["walkspeed" + pl] / 2);
break;
case 2 :
if (_root["act" + pl] != true) {
break;
}
_root["atm" + pl] = "cutting";
_root["player" + pl].gotoAndStop("D_cutL");
}
if (_root["act" + pl] == false) {
_root["atm" + pl] = "free";
_root["player" + pl].gotoAndStop("F_neutralL");
_root["walk" + pl] = 0;
}
}
case "cutting" :
if (_root["player" + pl].obje._currentframe != 8) {
break;
}
if (_root["muki" + pl] == "R") {
_root["player" + pl].gotoAndStop("F_neutralR");
} else {
_root["player" + pl].gotoAndStop("F_neutralL");
}
_root["atm" + pl] = "free";
_root["walk" + pl] = 0;
}
}
function hitmode() {
if ((_root.keeper == 0) && (_root.notcatch != true)) {
if (_root.player0.atari.hitTest(_root.player1.atari)) {
_root.ballcatched1 = true;
}
if (_root.player0.atari.hitTest(_root.player2.atari)) {
_root.ballcatched2 = true;
}
if ((_root.ballcatched1 == true) || (_root.ballcatched2 == true)) {
_root.se1.start(0.2, 1);
if ((_root.ballcatched1 == true) && (_root.ballcatched2 == true)) {
if (Math.abs(_root.player0._x - _root.player1._x) < Math.abs(_root.player0._x - _root.player2._x)) {
_root.ballcatched2 = false;
} else {
_root.ballcatched1 = false;
}
}
if (_root.ballcatched1 == true) {
_root.reb_count++;
i = 1;
k = 2;
} else {
k = 1;
i = 2;
}
_root.ballcatched1 = false;
_root.ballcatched2 = false;
if (_root.player0.atari.hitTest(_root["player" + i].atari)) {
_root.keeper = i;
if (_root.attack_mode == i) {
switch (_root["atm" + i]) {
case "free" :
if ((_root["WposX" + i] <= -10) || (_root["WposX" + i] >= 1300)) {
_root["atm" + i] = "out_of_bounds";
_root["player" + i].gotoAndStop("catch2");
} else {
_root["style" + i] = "OFF";
_root["atm" + i] = "dribble";
_root["walk" + i] = 0;
_root["Mcode" + i] = 0;
_root["player" + i].gotoAndStop("neutral");
}
break;
case "turn" :
_root["style" + i] = "OFF";
_root["atm" + i] = "dribble";
_root["walk" + i] = 0;
_root["Mcode" + i] = 0;
_root["player" + i].gotoAndStop("neutral");
break;
case "jump" :
_root.freecatch = true;
_root["style" + i] = "OFF";
_root["player" + i].gotoAndStop("jump");
_root["player" + i].obje.upbody.gotoAndStop("catch");
_root["atm" + i] = "jump";
}
_root.runcount = 3;
_root["style" + k] = "DIF";
if (_root["atm" + k] == "jump") {
_root["atm" + k] = "jump";
} else {
_root["atm" + k] = "free";
}
_root["walk" + k] = 0;
_root["Mcode" + k] = 0;
} else {
_root.top_board.gotoAndStop("waiting");
if (_root["atm" + i] == "jump") {
_root["player" + i].obje.gotoAndStop("catch");
} else {
_root["player" + i].gotoAndStop("catch2");
_root["atm" + i] = "catch_stop";
}
}
}
} else {
_root.ballcatched1 = false;
_root.ballcatched2 = false;
}
} else if (_root.keeper != 0) {
i = 1;
while (i <= 2) {
if (i == 1) {
k = 2;
} else {
k = 1;
}
if ((_root["atm" + i] == "dribble") && (_root["atm" + k] == "cutting")) {
if (_root["player" + k].obje.atari.hitTest(_root["player" + i].obje.atari) || (_root["player" + k].obje.atari.hitTest(_root["player" + i].obje.upbody.atari))) {
_root["steel_count" + k]++;
_root["walk" + i] = 0;
_root.keeper = 0;
if (_root["muki" + k] == "L") {
_root.BALLdist2 = (Math.floor(Math.random() * 20) + 15) * -1;
_root.WposX0 = _root["WposX" + i] - 100;
} else {
_root.BALLdist2 = Math.floor(Math.random() * 20) + 15;
_root.WposX0 = _root["WposX" + i] + 100;
}
_root.notcatch = true;
_root["style" + i] = "FREE";
_root["atm" + i] = "free";
_root["muki" + i] = "R";
_root["player" + i].gotoAndStop("F_neutralR");
_root.wid1 = Math.floor(Math.random() * 70) + 100;
_root.balltime = 16;
_root.brad1 = Math.floor(180 / _root.balltime);
_root.brad = 180 + (_root.brad1 * 8);
_root.boundcount = 0;
_root.atm0 = "free_bound";
}
}
i++;
}
}
}
function movesys(pl) {
if (pl == 1) {
em = 2;
} else {
em = 1;
}
if (((_root["moveR" + pl] == true) && (_root["moveL" + pl] != true)) && (_root["moveU" + pl] != true)) {
if ((_root["player" + pl]._x >= 650) && (_root.keeper == pl)) {
_root["Mcode" + pl] = 0;
} else if (((_root["atm" + em] == "guard") && (_root["WposX" + pl] < _root["WposX" + em])) && ((_root["WposX" + em] - _root["WposX" + pl]) <= 100)) {
_root["Mcode" + pl] = 0;
} else {
_root["Mcode" + pl] = 6;
}
} else if (((_root["moveR" + pl] != true) && (_root["moveL" + pl] == true)) && (_root["moveU" + pl] != true)) {
if ((_root["player" + pl]._x <= 60) && (_root.keeper == pl)) {
_root["Mcode" + pl] = 0;
} else {
_root["Mcode" + pl] = 4;
}
} else if (((_root["moveU" + pl] == true) && (_root["moveL" + pl] != true)) && (_root["moveR" + pl] != true)) {
_root["Mcode" + pl] = 8;
} else if (((_root["moveU" + pl] == true) && (_root["moveR" + pl] == true)) && (_root["moveL" + pl] != true)) {
_root["Mcode" + pl] = 9;
} else if (((_root["moveU" + pl] == true) && (_root["moveR" + pl] != true)) && (_root["moveL" + pl] == true)) {
_root["Mcode" + pl] = 7;
} else if (((_root["moveD" + pl] == true) && (_root["moveL" + pl] != true)) && (_root["moveR" + pl] != true)) {
_root["Mcode" + pl] = 2;
} else {
_root["Mcode" + pl] = 0;
}
}
function keysys1() {
if (Key.isDown(37)) {
_root.moveL1 = true;
}
if (Key.isDown(39)) {
_root.moveR1 = true;
}
if (Key.isDown(38)) {
_root.moveU1 = true;
}
if (Key.isDown(40)) {
_root.moveD1 = true;
}
if (Key.isDown(32)) {
_root.act1 = true;
} else {
_root.act1 = false;
}
}
function keysys2() {
if (_root.KeyPressed[187] == true) {
_root.moveL2 = true;
} else {
_root.moveL2 = false;
}
if (_root.KeyPressed[186] == true) {
_root.moveD2 = true;
} else {
_root.moveD2 = false;
}
if (_root.KeyPressed[221] == true) {
_root.moveR2 = true;
} else {
_root.moveR2 = false;
}
if (_root.KeyPressed[192] == true) {
_root.moveU2 = true;
} else {
_root.moveU2 = false;
}
if (Key.isDown(16)) {
_root.act2 = true;
} else {
_root.act2 = false;
}
}
function rem(pl) {
if (pl > 0) {
_root["moveL" + pl] = false;
_root["moveR" + pl] = false;
_root["moveU" + pl] = false;
_root["moveD" + pl] = false;
_root["act" + pl] = false;
}
if (((_root.keeper == pl) && ((_root["WposX" + pl] - _root.Wmap) > 330)) && (_root.Wmap < 600)) {
_root.Wmap = _root.Wmap + ((_root["WposX" + pl] - _root.Wmap) - 330);
_root["player" + pl]._x = 330;
} else if (((_root.keeper == pl) && ((_root["WposX" + pl] - _root.Wmap) <= 300)) && (_root.Wmap > 0)) {
if (_root.keeper != 0) {
_root.Wmap = _root.Wmap + ((_root["WposX" + pl] - _root.Wmap) - 300);
_root["player" + pl]._x = 300;
} else if ((_root.keeper == 0) && (_root.atm0 == "free_bound")) {
_root.Wmap = _root.Wmap + ((_root["WposX" + pl] - _root.Wmap) - 300);
_root["player" + pl]._x = 300;
} else {
_root["player" + pl]._x = _root["WposX" + pl] - _root.Wmap;
}
} else {
_root["player" + pl]._x = _root["WposX" + pl] - _root.Wmap;
}
if (pl > 0) {
_root["player" + pl]._y = (403 + _root["tobi" + pl]) + _root.Wheight;
_root["runcode" + pl] = 1;
}
if (pl == 2) {
_root.player2.obje.huku.gotoAndStop(2);
_root.player2.obje.upbody.huku.gotoAndStop(2);
_root.player2.objes.upbody.huku.gotoAndStop(2);
}
_root["player" + pl].obje.kao.gotoAndStop(_root["character" + pl]);
_root["player" + pl].obje.upbody.kao.gotoAndStop(_root["character" + pl]);
_root["player" + pl].objes.upbody.kao.gotoAndStop(_root["character" + pl]);
_root["shadow" + pl]._x = _root["player" + pl]._x;
}
function objet_set(ob) {
i = 1;
while (i <= ob) {
_root["obje" + i]._x = _root["obX" + i] - (_root.Wmap / _root["obZom" + i]);
i++;
}
_root.post._x = _root.postX - _root.Wmap;
}
function attack(pl) {
if (pl == 1) {
em = 2;
} else if (pl == 2) {
em = 1;
}
switch (_root["atm" + pl]) {
case "dribble" :
if (_root["walk" + pl] != _root["Mcode" + pl]) {
switch (_root["Mcode" + pl]) {
case 0 :
if ((_root["walk" + pl] == 4) && (_root["player" + pl].obje._currentframe > 9)) {
_root["player" + pl].gotoAndStop("turn");
} else {
_root["player" + pl].gotoAndStop("neutral");
}
break;
case 6 :
_root["player" + pl].gotoAndStop("front");
break;
case 4 :
_root["player" + pl].gotoAndStop("back");
break;
case 2 :
_root["player" + pl].gotoAndStop("catch");
_root.runcount = _root.runcount - 2;
_root["atm" + pl] = "catch";
break;
case 8 :
_root["player" + pl].gotoAndStop("jump");
_root["atm" + pl] = "jump";
_root["jumpcode" + pl] = 8;
break;
case 9 :
_root["player" + pl].gotoAndStop("jump");
_root["atm" + pl] = "jump";
_root["jumpcode" + pl] = 9;
break;
case 7 :
_root["player" + pl].gotoAndStop("jump");
_root["atm" + pl] = "jump";
_root["jumpcode" + pl] = 7;
}
_root["walk" + pl] = _root["Mcode" + pl];
} else {
switch (_root["walk" + pl]) {
case 0 :
if (_root["act" + pl] == true) {
_root["atm" + pl] = "shoot";
_root.runcount = _root.runcount - 2;
_root["player" + pl].gotoAndStop("shootpose");
}
break;
case 6 :
if (_root["act" + pl] == true) {
_root["atm" + pl] = "run";
_root["player" + pl].gotoAndStop("run");
_root.runcount = _root.runcount - 3;
}
_root["WposX" + pl] = _root["WposX" + pl] + _root["walkspeed" + pl];
break;
case 4 :
if (_root["act" + pl] == true) {
_root["atm" + pl] = "backrole";
_root["player" + pl].gotoAndStop("backrole");
}
_root["WposX" + pl] = _root["WposX" + pl] - _root["walkspeed" + pl];
}
}
return;
case "jump" :
if (_root["jmode" + pl] != true) {
_root["uprad" + pl] = 180 / _root["jtime" + pl];
_root["rad" + pl] = 180;
_root["airtime" + pl] = 0;
_root["jmode" + pl] = true;
} else if ((_root["rad" + pl] + _root["uprad" + pl]) >= 350) {
if (_root.freecatch == true) {
if ((_root["WposX" + pl] <= -10) || (_root["WposX" + pl] >= 1300)) {
_root.freecatch = false;
_root["atm" + pl] = "out_of_bounds";
if (_root.foul_play_rule == true) {
_root["point" + em]++;
_root.score_board.gotoAndStop("visible");
_root.score_board.scorebox = (point1 + " - ") + point2;
}
_root["player" + pl].gotoAndStop("catch2");
} else {
_root["atm" + pl] = "dribble";
_root.freecatch = false;
_root["player" + pl].gotoAndStop("neutral");
}
} else if ((_root["WposX" + pl] <= -10) || (_root["WposX" + pl] >= 1300)) {
_root["atm" + pl] = "out_of_bounds";
if (_root.foul_play_rule == true) {
_root["point" + em]++;
_root.score_board.gotoAndStop("visible");
_root.score_board.scorebox = (point1 + " - ") + point2;
}
_root["player" + pl].gotoAndStop("catch2");
} else {
_root["atm" + pl] = "catch";
_root["player" + pl].gotoAndStop("catch2");
_root.runcount = _root.runcount - 2;
if (_root.runcount < 0) {
_root["atm" + pl] = "traveling";
if (_root.foul_play_rule == true) {
_root["point" + em]++;
_root.score_board.gotoAndStop("visible");
_root.score_board.scorebox = (point1 + " - ") + point2;
}
_root["player" + pl].gotoAndStop("catch2");
}
}
_root.tobi = 0;
_root["jmode" + pl] = false;
_root["hijump" + pl] = false;
}
_root["rad" + pl] = _root["rad" + pl] + _root["uprad" + pl];
_root["airtime" + pl]++;
_root["tobi" + pl] = Math.sin((Math.PI * _root["rad" + pl]) / 180);
if (_root["hijump" + pl] == true) {
if (((_root["character" + pl] != 1) && (_root["character" + pl] != 4)) && (_root["character" + pl] != 6)) {
_root["tobi" + pl] = _root["tobi" + pl] * 170;
} else {
_root["tobi" + pl] = _root["tobi" + pl] * _root["jheight" + pl];
}
} else {
_root["tobi" + pl] = _root["tobi" + pl] * _root["jheight" + pl];
}
switch (_root["jumpcode" + pl]) {
case 9 :
if (_root["hijump" + pl] == true) {
_root["runcode" + pl] = _root["runspeed" + pl];
_root["player" + pl].obje.downbody.gotoAndStop(3);
}
_root["WposX" + pl] = _root["WposX" + pl] + (_root["walkspeed" + pl] * _root["runcode" + pl]);
break;
case 7 :
_root["WposX" + pl] = _root["WposX" + pl] - _root["walkspeed" + pl];
}
if ((_root["act" + pl] == true) && (_root["jmode" + pl] == true)) {
if ((((_root["airtime" + pl] < 7) && (Math.abs(_root["dankstep" + pl] - _root["stepin" + pl]) <= 100)) && (_root["hijump" + pl] == true)) && (_root["Mcode" + pl] == 2)) {
_root["dank_count" + pl]++;
_root["shoot_kaisu" + pl]++;
_root["danktime" + pl] = Math.round((_root.postX - _root["WposX" + pl]) / (_root["walkspeed" + pl] * _root["runspeed" + pl]));
_root["dankdist" + pl] = Math.floor(((_root.postX - _root["WposX" + pl]) / _root["danktime" + pl]) * 100) / 100;
if (_root["character" + pl] == 2) {
_root["player" + pl].gotoAndStop("dank2");
} else if (_root["character" + pl] == 5) {
_root["player" + pl].gotoAndStop("dank3");
} else if (_root["character" + pl] == 4) {
_root["player" + pl].gotoAndStop("dank4");
} else if (_root["character" + pl] == 3) {
_root["player" + pl].gotoAndStop("dank5");
} else if (_root["character" + pl] == 6) {
_root["player" + pl].gotoAndStop("dank6");
} else {
_root["player" + pl].gotoAndStop("dank1");
}
_root["player" + pl].obje.gotoAndPlay((20 - _root["danktime" + pl]) + 1);
_root["atm" + pl] = "supershoot";
_root.sunlight.gotoAndPlay("sunflash");
} else if (_root["WposX" + pl] >= 1300) {
_root["player" + pl].obje.upbody.gotoAndPlay("backshoot");
_root["atm" + pl] = "jumpshoot";
} else if ((_root["airtime" + pl] > 7) && ((_root.postX - _root["WposX" + pl]) <= 400)) {
_root["player" + pl].obje.upbody.gotoAndPlay("fook");
_root["player" + pl].obje.downbody.gotoAndStop(3);
_root["atm" + pl] = "jumpshoot";
} else if (((_root["jumpcode" + pl] == 7) && (_root["Mcode" + pl] >= 7)) && ((_root.postX - _root["WposX" + pl]) <= 500)) {
_root["player" + pl].obje.upbody.gotoAndPlay("fook2");
_root["player" + pl].obje.downbody.gotoAndStop(3);
_root["atm" + pl] = "jumpshoot";
} else if (((_root["airtime" + pl] <= 4) && (_root["Mcode" + pl] >= 8)) && ((_root.postX - _root["WposX" + pl]) <= 350)) {
_root["player" + pl].obje.upbody.gotoAndPlay("reyup");
_root["atm" + pl] = "jumpshoot";
} else {
_root["atm" + pl] = "jumpshoot";
_root["player" + pl].obje.upbody.gotoAndPlay("jumpshoot");
}
}
return;
case "catch" :
if ((_root["WposX" + pl] <= -10) || (_root["WposX" + pl] >= 1300)) {
_root["atm" + pl] = "out_of_bounds";
_root["player" + pl].gotoAndStop("catch2");
}
switch (_root["Mcode" + pl]) {
case 0 :
if (_root["act" + pl] == true) {
_root["player" + pl].gotoAndStop("shootpose");
_root["atm" + pl] = "shoot";
}
break;
case 6 :
if ((_root["act" + pl] == true) && (_root.runcount >= 3)) {
_root["atm" + pl] = "run";
_root["player" + pl].gotoAndStop("run");
_root.runcount = _root.runcount - 3;
}
break;
case 8 :
_root["player" + pl].gotoAndStop("jump");
_root["atm" + pl] = "jump";
_root["jumpcode" + pl] = 8;
break;
case 9 :
_root["player" + pl].gotoAndStop("jump");
_root["atm" + pl] = "jump";
_root["jumpcode" + pl] = 9;
break;
case 7 :
_root["player" + pl].gotoAndStop("jump");
_root["atm" + pl] = "jump";
_root["jumpcode" + pl] = 7;
}
return;
case "shoot" :
if (_root["act" + pl] == false) {
switch (_root["Mcode" + pl]) {
case 0 :
_root["shoot_kaisu" + pl]++;
_root["atm" + pl] = "shooting";
_root["player" + pl].gotoAndStop("shooting");
break;
case 4 :
_root["player" + pl].obje.play();
_root["atm" + pl] = "catch";
break;
case 2 :
_root["player" + pl].obje.play();
_root["atm" + pl] = "catch";
}
} else {
switch (_root["Mcode" + pl]) {
case 8 :
_root["atm" + pl] = "jumpshoot";
_root["jumpcode" + pl] = 8;
_root["player" + pl].gotoAndStop("jump");
_root["player" + pl].obje.upbody.gotoAndPlay("jumpshoot2");
break;
case 9 :
_root["atm" + pl] = "jumpshoot";
_root["jumpcode" + pl] = 9;
_root["player" + pl].gotoAndStop("jump");
_root["player" + pl].obje.upbody.gotoAndPlay("jumpshoot2");
break;
case 7 :
_root["atm" + pl] = "jumpshoot";
_root["jumpcode" + pl] = 7;
_root["player" + pl].gotoAndStop("jump");
_root["player" + pl].obje.upbody.gotoAndPlay("jumpshoot2");
}
}
return;
case "jumpshoot" :
if (_root["jmode" + pl] != true) {
_root["uprad" + pl] = 180 / _root["jtime" + pl];
_root["rad" + pl] = 180;
_root["jmode" + pl] = true;
} else if ((_root["rad" + pl] + _root["uprad" + pl]) >= 350) {
_root["walk" + pl] = 0;
_root["hijump" + pl] = false;
_root["jmode" + pl] = false;
_root["jumpcode" + pl] = false;
if (_root.keeper != pl) {
_root["style" + pl] = "FREE";
_root["atm" + pl] = "free";
_root["muki" + pl] = "R";
_root["player" + pl].gotoAndStop("F_neutralR");
} else if ((_root["WposX" + pl] <= -10) || (_root["WposX" + pl] >= 1300)) {
_root["atm" + pl] = "out_of_bounds";
if (_root.foul_play_rule == true) {
_root["point" + em]++;
_root.score_board.gotoAndStop("visible");
_root.score_board.scorebox = (point1 + " - ") + point2;
}
_root["player" + pl].gotoAndStop("catch2");
_root.tobi = 0;
_root["jmode" + pl] = false;
} else {
_root["atm" + pl] = "shoot";
_root["player" + pl].gotoAndStop("shootpose");
_root.tobi = 0;
_root["jmode" + pl] = false;
_root.runcount = _root.runcount - 2;
if ((_root.runcount < 0) && (_root.keeper == pl)) {
_root["atm" + pl] = "traveling";
if (_root.foul_play_rule == true) {
_root["point" + em]++;
_root.score_board.gotoAndStop("visible");
_root.score_board.scorebox = (point1 + " - ") + point2;
}
_root["player" + pl].gotoAndStop("catch2");
}
}
}
_root["rad" + pl] = _root["rad" + pl] + _root["uprad" + pl];
_root["tobi" + pl] = Math.sin((Math.PI * _root["rad" + pl]) / 180);
if (_root["hijump" + pl] == true) {
if (((_root["character" + pl] != 1) && (_root["character" + pl] != 4)) && (_root["character" + pl] != 6)) {
_root["tobi" + pl] = _root["tobi" + pl] * 170;
} else {
_root["tobi" + pl] = _root["tobi" + pl] * _root["jheight" + pl];
}
} else {
_root["tobi" + pl] = _root["tobi" + pl] * _root["jheight" + pl];
}
switch (_root["jumpcode" + pl]) {
case 9 :
if (_root["hijump" + pl] == true) {
_root["runcode" + pl] = _root["runspeed" + pl];
_root["player" + pl].obje.downbody.gotoAndStop(3);
}
_root["WposX" + pl] = _root["WposX" + pl] + (_root["walkspeed" + pl] * _root["runcode" + pl]);
break;
case 7 :
_root["WposX" + pl] = _root["WposX" + pl] - _root["walkspeed" + pl];
}
if ((_root["player" + pl].obje.upbody._currentframe == 51) && (_root.keeper == pl)) {
_root["shoot_kaisu" + pl]++;
_root.keeper = 0;
_root.player0._x = _root["player" + pl]._x + 80;
_root.player0._y = _root["player" + pl]._y - 90;
_root.heighttype = 1;
_root.pow = _root["pow" + pl];
_root.hitshoot = 60;
_root.atm0 = "build_up";
} else if ((_root["player" + pl].obje.upbody._currentframe == 59) && (_root.keeper == pl)) {
_root["shoot_kaisu" + pl]++;
_root.keeper = 0;
_root.player0._x = _root["player" + pl]._x + 20;
_root.player0._y = _root["player" + pl]._y - 120;
_root.heighttype = 1;
_root.pow = _root["pow" + pl] * 0.6;
_root.hitshoot = 55;
_root.atm0 = "build_up";
} else if ((_root["player" + pl].obje.upbody._currentframe == 82) && (_root.keeper == pl)) {
_root["shoot_kaisu" + pl]++;
_root.keeper = 0;
_root.player0._x = _root["player" + pl]._x + 5;
_root.player0._y = _root["player" + pl]._y - 130;
_root.heighttype = 1;
_root.pow = _root["pow" + pl] * 0.6;
_root.hitshoot = 22;
_root.atm0 = "build_up";
} else if (((_root["act" + pl] == false) && (_root.keeper == pl)) && (_root["player" + pl].obje.upbody._currentframe == 7)) {
if ((_root["Mcode" + pl] == 2) || (_root["Mcode" + pl] == 4)) {
_root["player" + pl].obje.upbody.gotoAndStop(3);
_root["atm" + pl] = "jump";
} else if (_root["WposX" + pl] >= 1300) {
_root["shoot_kaisu" + pl]++;
_root["player" + pl].obje.upbody.gotoAndPlay("backshoot2");
_root.keeper = 0;
_root.player0._x = _root["player" + pl]._x + 5;
_root.player0._y = _root["player" + pl]._y - 130;
_root.heighttype = 1;
_root.pow = _root["pow" + pl] * 0.6;
_root.hitshoot = 27;
_root.atm0 = "build_up";
} else {
_root["player" + pl].obje.upbody.gotoAndStop("reyupshoot");
_root["shoot_kaisu" + pl]++;
_root.keeper = 0;
_root.player0._x = _root["player" + pl]._x + 28;
_root.player0._y = _root["player" + pl]._y - 160;
_root.heighttype = 3;
_root.pow = _root["pow" + pl];
_root.hitshoot = 100;
_root.atm0 = "build_up";
}
} else if ((_root["act" + pl] == false) && (_root.keeper == pl)) {
if ((_root["player" + pl].obje.upbody._currentframe == 23) || (_root["player" + pl].obje.upbody._currentframe == 30)) {
if (_root["WposX" + pl] >= 1300) {
_root["shoot_kaisu" + pl]++;
_root["player" + pl].obje.upbody.gotoAndPlay("backshoot2");
_root.keeper = 0;
_root.player0._x = _root["player" + pl]._x + 5;
_root.player0._y = _root["player" + pl]._y - 130;
_root.heighttype = 1;
_root.pow = _root["pow" + pl] * 0.6;
_root.hitshoot = 25;
_root.atm0 = "build_up";
} else {
_root["player" + pl].obje.upbody.gotoAndStop("jumpshooting");
_root["shoot_kaisu" + pl]++;
_root.keeper = 0;
_root.player0._x = _root["player" + pl]._x + 3;
_root.player0._y = _root["player" + pl]._y - 220;
_root.heighttype = 2;
switch (_root["jumpcode" + pl]) {
case 8 :
_root.pow = _root["pow" + pl];
_root.hitshoot = 85;
break;
case 7 :
_root.pow = _root["pow" + pl] * 0.8;
_root.hitshoot = 50;
break;
case 9 :
_root.pow = _root["pow" + pl] * 1.4;
_root.hitshoot = 70;
}
_root.atm0 = "build_up";
}
}
}
return;
case "run" :
if (_root["WposX" + pl] >= 1300) {
_root["atm" + pl] = "out_of_bounds";
if (_root.foul_play_rule == true) {
_root["point" + em]++;
_root.score_board.gotoAndStop("visible");
_root.score_board.scorebox = (point1 + " - ") + point2;
}
_root["player" + pl].gotoAndStop("catch2");
} else {
_root["runcode" + pl] = _root["runspeed" + pl];
_root["WposX" + pl] = _root["WposX" + pl] + (_root["walkspeed" + pl] * _root["runspeed" + pl]);
if (_root["player" + pl].obje.downbody._currentframe == 13) {
_root["player" + pl].gotoAndStop("catch");
_root["atm" + pl] = "catch";
} else if (((_root["atm" + em] == "guard") && (_root["WposX" + pl] < _root["WposX" + em])) && ((_root["WposX" + em] - _root["WposX" + pl]) <= 100)) {
_root["player" + pl].gotoAndStop("catch");
_root["atm" + pl] = "catch";
}
switch (_root["Mcode" + pl]) {
case 4 :
_root["player" + pl].gotoAndStop("catch");
_root["atm" + pl] = "catch";
break;
case 9 :
_root["player" + pl].gotoAndStop("jump");
_root["atm" + pl] = "jump";
_root["jumpcode" + pl] = 9;
_root["hijump" + pl] = true;
_root["stepin" + pl] = _root["WposX" + pl];
}
return;
}
case "backrole" :
_root["WposX" + pl] = _root["WposX" + pl] + _root["walkspeed" + pl];
_root["walk" + pl] = 0;
if (_root["player" + pl].obje._currentframe == 8) {
if ((_root["WposX" + pl] <= -10) || (_root["WposX" + pl] >= 1300)) {
_root["atm" + pl] = "out_of_bounds";
if (_root.foul_play_rule == true) {
_root["point" + em]++;
_root.score_board.gotoAndStop("visible");
_root.score_board.scorebox = (point1 + " - ") + point2;
}
_root["player" + pl].gotoAndStop("catch2");
} else {
_root["atm" + pl] = "dribble";
_root["player" + pl].gotoAndStop("neutral");
}
}
return;
case "shooting" :
if (_root["player" + pl].obje._currentframe == 4) {
_root.keeper = 0;
_root.player0._x = _root["player" + pl]._x + 3;
_root.player0._y = _root["player" + pl]._y - 220;
_root.hitshoot = 90;
_root.heighttype = 1;
_root.pow = _root["pow" + pl];
_root.atm0 = "build_up";
} else if (_root["player" + pl].obje._currentframe == 12) {
_root["style" + pl] = "FREE";
_root["atm" + pl] = "free";
_root["muki" + pl] = "R";
_root["player" + pl].gotoAndStop("F_neutralR");
}
return;
case "supershoot" :
if (((_root.postX - _root["WposX" + pl]) <= 50) || (_root.keeper == 0)) {
if ((_root["player" + pl].obje._currentframe == 21) && (_root.keeper == pl)) {
_root.se2.start(0.2, 1);
if (_root["character" + pl] == 2) {
_root["player" + pl].gotoAndStop("dankshoot2");
} else if (_root["character" + pl] == 5) {
_root["player" + pl].gotoAndStop("dankshoot3");
} else if (_root["character" + pl] == 4) {
_root["player" + pl].gotoAndStop("dankshoot4");
} else if (_root["character" + pl] == 3) {
_root["player" + pl].gotoAndStop("dankshoot5");
} else if (_root["character" + pl] == 6) {
_root["player" + pl].gotoAndStop("dankshoot6");
} else {
_root["player" + pl].gotoAndStop("dankshoot1");
}
_root["WposX" + pl] = 1155;
_root["tobi" + pl] = 0;
_root.keeper = 0;
_root["point" + _root.attack_mode]++;
_root.WposX0 = 12000;
_root.post.gotoAndPlay("in_post2");
_root.atm0 = "post_in";
}
} else {
_root["rad" + pl] = _root["rad" + pl] + _root["uprad" + pl];
_root["airtime" + pl]++;
_root["tobi" + pl] = Math.sin((Math.PI * _root["rad" + pl]) / 180);
if (((_root["character" + pl] != 1) && (_root["character" + pl] != 4)) && (_root["character" + pl] != 6)) {
_root["tobi" + pl] = _root["tobi" + pl] * 170;
} else {
_root["tobi" + pl] = _root["tobi" + pl] * _root["jheight" + pl];
}
_root["WposX" + pl] = _root["WposX" + pl] + (_root["walkspeed" + pl] * _root["runspeed" + pl]);
}
}
}
function kao_huku() {
_root.player2.obje.huku.gotoAndStop(2);
_root.player2.obje.upbody.huku.gotoAndStop(2);
_root.player2.objes.upbody.huku.gotoAndStop(2);
_root.player1.obje.kao.gotoAndStop(_root.character1);
_root.player1.obje.upbody.kao.gotoAndStop(_root.character1);
_root.player1.objes.upbody.kao.gotoAndStop(_root.character1);
_root.player2.obje.kao.gotoAndStop(_root.character2);
_root.player2.obje.upbody.kao.gotoAndStop(_root.character2);
_root.player2.objes.upbody.kao.gotoAndStop(_root.character2);
}
keyPressed = {};
this.keyPressed = {};
this.lsn = {};
this.lsn.onKeyDown = function () {
if ((((Key.getCode() == 187) || (Key.getCode() == 186)) || (Key.getCode() == 221)) || (Key.getCode() == 192)) {
keyPressed[Key.getCode()] = true;
}
};
this.lsn.onKeyUp = function () {
if ((((Key.getCode() == 187) || (Key.getCode() == 186)) || (Key.getCode() == 221)) || (Key.getCode() == 192)) {
keyPressed[Key.getCode()] = false;
}
};
Key.addListener(this.lsn);
function balling() {
switch (_root.atm0) {
case "build_up" :
_root.WposX0 = _root.player0._x + _root.Wmap;
_root.WposY0 = _root.player0._y + _root.Hmap;
switch (_root.heighttype) {
case 1 :
_root.r = 580;
break;
case 2 :
_root.r = 650;
break;
case 3 :
_root.r = 530;
}
_root.BALLdist1 = _root.postX - _root.WposX0;
_root.balltime = Math.floor(_root.BALLdist1 / _root.pow);
if (_root.balltime < 10) {
_root.balltime = 10;
}
_root.BALLdist2 = _root.BALLdist1 / _root.balltime;
_root.wid1 = (_root.WposY0 + _root.r) - 550;
_root.wid2 = (_root.postY + _root.r) - 550;
_root.pat1 = Math.round(_root.balltime * (_root.wid1 / (_root.wid1 + _root.wid2)));
_root.pat2 = _root.balltime - _root.pat1;
_root.center = _root.WposX0 + ((_root.BALLdist1 / _root.balltime) * _root.pat1);
_root.brad1 = Math.floor(90 / (_root.pat1 - 1));
_root.brad2 = Math.floor(90 / (_root.pat2 - 1));
_root.atm0 = "shoot";
_root.brad = _root.brad1;
_root.shoottime = 1;
radtet = false;
_root.hitem = (700 - Math.abs(_root.WposX1 - _root.WposX2)) * 0.05;
if (_root.hitem < 0) {
_root.hitem = 0;
}
if (_root["WposX" + _root.attack_mode] > 1300) {
_root.hitem = 0;
} else if ((_root.attack_mode == 1) && (_root.WposX2 < _root.WposX1)) {
_root.hitem = _root.hitem / 3;
} else if ((_root.attack_mode == 2) && (_root.WposX1 < _root.WposX2)) {
_root.hitem = _root.hitem / 3;
}
_root.hitave = Math.floor(_root.hitshoot - _root.hitem) + _root["shoottec" + _root.attack_mode];
if (_root["hijump" + _root.attack_mode] == true) {
_root.hitave = Math.floor(_root.hitave * 0.6);
}
if (_root.hitave < 1) {
_root.hitave = 1;
}
if (_root.lookshoot == true) {
_root.top_board.gotoAndStop("avedisp");
_root.top_board.avebox = _root.hitave + "%";
} else {
_root.top_board.gotoAndStop("waiting");
}
return;
case "shoot" :
if (_root.shoottime <= _root.pat1) {
_root.player0._y = (Math.sin((Math.PI * (_root.brad + 180)) / 180) * _root.wid1) + WposY0;
_root.WposX0 = _root.WposX0 + _root.BALLdist2;
_root.brad = _root.brad + _root.brad1;
_root.hitave--;
_root.hitave = _root.hitave - Math.floor(Math.abs(_root.postX - _root["WposX" + _root.attack_mode]) / 1000);
if (_root.hitave < 1) {
_root.hitave = 1;
}
_root.top_board.avebox = _root.hitave + "%";
} else if ((_root.pat1 + _root.pat2) == (_root.shoottime - 1)) {
radtet = false;
_root.atm0 = "in_or_out";
} else {
if (radtet != true) {
_root.brad = 270;
radtet = true;
}
_root.player0._y = (Math.sin((Math.PI * (_root.brad + 0)) / 180) * _root.wid2) + _root.postY;
_root.WposX0 = _root.WposX0 + _root.BALLdist2;
_root.brad = _root.brad + _root.brad2;
_root.hitave--;
_root.hitave = _root.hitave - Math.floor(Math.abs(_root.postX - _root["WposX" + _root.attack_mode]) / 1000);
if (_root.hitave < 1) {
_root.hitave = 1;
}
_root.top_board.avebox = _root.hitave + "%";
}
_root.shoottime++;
return;
case "in_or_out" :
_root.top_board.gotoAndStop("waiting");
hitcheck = Math.floor(Math.random() * 100);
if (hitcheck <= _root.hitave) {
_root.se1.start();
_root["point" + _root.attack_mode]++;
_root.WposX0 = 2000;
_root.post.gotoAndPlay("in_post");
_root.atm0 = "post_in";
} else {
_root.se2.start(0.2, 1);
_root.wid1 = Math.floor(Math.random() * 70) + 10;
_root.wid2 = 500 + _root.wid1;
_root.BALLdist2 = (Math.floor(Math.random() * 16) + 4) * (-1);
_root.pat1 = 4;
_root.pat2 = 8;
_root.brad1 = Math.floor(90 / (_root.pat1 - 1));
_root.brad2 = Math.floor(90 / (_root.pat2 - 1));
_root.atm0 = "bound";
_root.brad = 0;
_root.shoottime = 0;
_root.player0._y = Math.sin((Math.PI * (_root.brad + 180)) / 180) * _root.wid1;
_root.WposX0 = _root.WposX0 + _root.BALLdist2;
_root.brad = _root.brad + _root.brad1;
_root.shoottime++;
}
return;
case "bound" :
if (_root.shoottime <= _root.pat1) {
_root.player0._y = Math.sin((Math.PI * (_root.brad + 180)) / 180) * _root.wid1;
_root.WposX0 = _root.WposX0 + _root.BALLdist2;
_root.brad = _root.brad + _root.brad1;
} else if ((_root.pat1 + _root.pat2) == (_root.shoottime - 1)) {
radtet = false;
_root.atm0 = "free_bound_set";
} else {
if (radtet != true) {
_root.brad = 270;
radtet = true;
}
_root.player0._y = (Math.sin((Math.PI * (_root.brad + 0)) / 180) * _root.wid2) + _root.wid2;
_root.WposX0 = _root.WposX0 + _root.BALLdist2;
_root.brad = _root.brad + _root.brad2;
}
_root.shoottime++;
return;
case "free_bound_set" :
_root.wid1 = Math.floor(Math.random() * 70) + 100;
_root.BALLdist2 = (Math.floor(Math.random() * 20) + 15) * (-1);
_root.balltime = 16;
_root.brad1 = Math.floor(180 / _root.balltime);
_root.brad = 180 + _root.brad1;
_root.boundcount = 0;
_root.atm0 = "free_bound";
return;
case "free_bound" :
if ((_root.WposX0 <= -70) || (_root.WposX0 >= 1600)) {
_root.atm0 = "out_of_bounds";
} else {
_root.player0._y = (Math.sin((Math.PI * _root.brad) / 180) * _root.wid1) + 500;
_root.WposX0 = _root.WposX0 + _root.BALLdist2;
_root.brad = _root.brad + _root.brad1;
if (_root.brad < 355) {
break;
}
_root.se4.start();
_root.notcatch = false;
_root.brad = 180 + _root.brad1;
if (_root.boundcount > 2) {
break;
}
_root.boundcount++;
_root.wid1 = (_root.wid1 * 2) / 3;
}
}
}
function free(pl) {
switch (_root["atm" + pl]) {
case "free" :
if (_root.atm0 == "post_in") {
if (_root["muki" + pl] == "R") {
_root["player" + pl].gotoAndStop("F_neutralR");
} else {
_root["player" + pl].gotoAndStop("F_neutralL");
}
_root["atm" + pl] = "post_in";
} else if (((_root.attack_mode != pl) && (_root.keeper == pl)) && (_root.keeper != 0)) {
_root["atm" + pl] = "catch_stop";
_root["player" + pl].gotoAndStop("catch2");
} else if (((_root.attack_mode == pl) && (_root.keeper != pl)) && (_root.keeper != 0)) {
_root["atm" + pl] = "catch_stop";
if (_root["muki" + pl] == "R") {
_root["player" + pl].gotoAndStop("F_neutralR");
} else {
_root["player" + pl].gotoAndStop("F_neutralL");
}
} else if (_root.atm0 == "out_of_bounds") {
_root["atm" + pl] = "out_of_bounds";
if (_root["muki" + pl] == "R") {
_root["player" + pl].gotoAndStop("F_neutralR");
} else {
_root["player" + pl].gotoAndStop("F_neutralL");
}
} else if (_root["walk" + pl] != _root["Mcode" + pl]) {
switch (_root["Mcode" + pl]) {
case 0 :
if (_root["muki" + pl] == "R") {
_root["player" + pl].gotoAndStop("F_neutralR");
} else {
_root["player" + pl].gotoAndStop("F_neutralL");
}
break;
case 4 :
if (_root["muki" + pl] == "R") {
_root["player" + pl].gotoAndStop("F_turnL");
_root["atm" + pl] = "turn";
} else {
_root["player" + pl].gotoAndStop("F_dashL");
}
break;
case 6 :
if (_root["muki" + pl] == "L") {
_root["player" + pl].gotoAndStop("F_turnR");
_root["atm" + pl] = "turn";
} else {
_root["player" + pl].gotoAndStop("F_dashR");
}
break;
case 7 :
_root["atm" + pl] = "jump";
_root["jumpcode" + pl] = 7;
break;
case 8 :
_root["atm" + pl] = "jump";
break;
case 9 :
_root["atm" + pl] = "jump";
_root["jumpcode" + pl] = 9;
}
_root["walk" + pl] = _root["Mcode" + pl];
} else {
switch (_root["Mcode" + pl]) {
case 0 :
if ((_root["muki" + pl] == "R") && (_root["player" + pl]._x > _root.player0._x)) {
_root["player" + pl].gotoAndStop("F_turnL");
_root["atm" + pl] = "turn";
} else if ((_root["muki" + pl] == "L") && (_root["player" + pl]._x < _root.player0._x)) {
_root["player" + pl].gotoAndStop("F_turnR");
_root["atm" + pl] = "turn";
}
break;
case 4 :
if ((_root["player" + pl]._currentframe >= 130) && (_root["player" + pl]._currentframe < 150)) {
_root["walk" + pl] = 0;
}
_root["runcode" + pl] = _root["runspeed" + pl];
_root["WposX" + pl] = _root["WposX" + pl] - (_root["walkspeed" + pl] * _root["runspeed" + pl]);
break;
case 6 :
if ((_root["player" + pl]._currentframe >= 130) && (_root["player" + pl]._currentframe < 150)) {
_root["walk" + pl] = 0;
}
_root["runcode" + pl] = _root["runspeed" + pl];
_root["WposX" + pl] = _root["WposX" + pl] + (_root["walkspeed" + pl] * _root["runspeed" + pl]);
}
}
return;
case "turn" :
if (_root["player" + pl].obje._currentframe == 4) {
_root["atm" + pl] = "free";
if (_root["muki" + pl] == "R") {
_root["muki" + pl] = "L";
if (_root["Mcode" + pl] == 4) {
_root["player" + pl].gotoAndStop("F_dashL");
} else {
_root["player" + pl].gotoAndStop("F_neutralL");
_root["walk" + pl] = 0;
}
} else {
_root["muki" + pl] = "R";
if (_root["Mcode" + pl] == 6) {
_root["player" + pl].gotoAndStop("F_dashR");
} else {
_root["player" + pl].gotoAndStop("F_neutralR");
_root["walk" + pl] = 0;
}
}
} else {
switch (_root["Mcode" + pl]) {
case 6 :
_root["WposX" + pl] = _root["WposX" + pl] + _root["walkspeed" + pl];
break;
case 4 :
_root["WposX" + pl] = _root["WposX" + pl] - _root["walkspeed" + pl];
break;
case 7 :
_root["atm" + pl] = "jump";
_root["jumpcode" + pl] = 7;
break;
case 8 :
_root["atm" + pl] = "jump";
break;
case 9 :
_root["atm" + pl] = "jump";
_root["jumpcode" + pl] = 9;
}
}
return;
case "jump" :
if (_root["jmode" + pl] != true) {
if (_root["muki" + pl] == "L") {
_root["player" + pl].gotoAndStop("F_jumpL");
} else {
_root["player" + pl].gotoAndStop("F_jumpR");
}
_root["uprad" + pl] = 180 / _root["jtime" + pl];
_root["rad" + pl] = 180;
_root["jmode" + pl] = true;
} else if ((_root["rad" + pl] + _root["uprad" + pl]) >= 350) {
_root["atm" + pl] = "free";
if (_root["muki" + pl] == "R") {
_root["player" + pl].gotoAndStop("F_neutralR");
} else {
_root["player" + pl].gotoAndStop("F_neutralL");
}
_root.tobi = 0;
_root["jmode" + pl] = false;
_root["jumpcode" + pl] = false;
_root.hijump = false;
_root["walk" + pl] = 0;
}
_root["rad" + pl] = _root["rad" + pl] + _root["uprad" + pl];
_root["tobi" + pl] = Math.sin((Math.PI * _root["rad" + pl]) / 180) * _root["jheight" + pl];
switch (_root["jumpcode" + pl]) {
case 9 :
if (_root.hijump == true) {
_root["runcode" + pl] = _root["runspeed" + pl];
}
_root["WposX" + pl] = _root["WposX" + pl] + (_root["walkspeed" + pl] * _root["runcode" + pl]);
return;
case 7 :
_root["WposX" + pl] = _root["WposX" + pl] - _root["walkspeed" + pl];
}
}
}
function change_style(pl) {
if (pl == 1) {
em = 2;
} else if (pl == 2) {
em = 1;
} else {
trace("\u30D0\u30B0\u767A\u751F function change_style");
}
_root["atm" + em] = "dribble";
_root["WposX" + em] = 65;
_root["style" + em] = "OFF";
_root["muki" + em] = "R";
_root["tobi" + em] = 0;
_root["player" + em].gotoAndStop("neutral");
_root["atm" + pl] = "free";
_root["WposX" + pl] = 600;
_root["style" + pl] = "DIF";
_root["muki" + pl] = "L";
_root["tobi" + pl] = 0;
_root["player" + pl].gotoAndStop("F_neutralL");
_root.walk1 = 0;
_root.walk2 = 0;
_root.thinktime2 = 0;
_root.act2 = false;
_root.moveR2 = false;
_root.moveL2 = false;
_root.moveU2 = false;
_root.moveD2 = false;
_root.Wmap = 0;
_root.jmode1 = false;
_root.jmode2 = false;
_root.keeper = em;
_root.runcount = 3;
_root.hijump1 = false;
_root.hijump2 = false;
_root.attack_mode = em;
_root.shoottime = 0;
_root.freecatch = false;
_root.radtet = 0;
_root.boundcount = 0;
_root.gamewait = false;
_root.atm0 = "";
_root.WposX0 = -100;
_root.player0._x = -100;
_root.shadow0._x = -100;
if (_root.lookscore == false) {
_root.score_board.gotoAndStop("invisible");
} else {
_root.score_board.gotoAndStop("visible");
}
_root.score_board.scorebox = (_root.point1 + " - ") + _root.point2;
if (_root.game_mode == "practice") {
_root.WposX2 = 4000;
}
}
function remote_sys() {
i = 1;
while (i <= 2) {
if (_root["teki_remote" + i] == false) {
} else {
if (_root["remoteR" + i] != 0) {
if (_root.remote_time > _root[(("remote" + i) + "RG") + _root["remoteR" + i]]) {
_root["remoteR" + i]++;
} else if ((_root.remote_time >= _root[(("remote" + i) + "RS") + _root["remoteR" + i]]) && (_root.remote_time <= _root[(("remote" + i) + "RG") + _root["remoteR" + i]])) {
_root["moveR" + i] = true;
}
}
if (_root["remoteL" + i] != 0) {
if (_root.remote_time > _root[(("remote" + i) + "LG") + _root["remoteL" + i]]) {
_root["remoteL" + i]++;
} else if ((_root.remote_time >= _root[(("remote" + i) + "LS") + _root["remoteL" + i]]) && (_root.remote_time <= _root[(("remote" + i) + "LG") + _root["remoteL" + i]])) {
_root["moveL" + i] = true;
}
}
if (_root["remoteU" + i] != 0) {
if (_root.remote_time > _root[(("remote" + i) + "UG") + _root["remoteU" + i]]) {
_root["remoteU" + i]++;
} else if ((_root.remote_time >= _root[(("remote" + i) + "US") + _root["remoteU" + i]]) && (_root.remote_time <= _root[(("remote" + i) + "UG") + _root["remoteU" + i]])) {
_root["moveU" + i] = true;
}
}
if (_root["remoteD" + i] != 0) {
if (_root.remote_time > _root[(("remote" + i) + "DG") + _root["remoteD" + i]]) {
_root["remoteD" + i]++;
} else if ((_root.remote_time >= _root[(("remote" + i) + "DS") + _root["remoteD" + i]]) && (_root.remote_time <= _root[(("remote" + i) + "DG") + _root["remoteD" + i]])) {
_root["moveD" + i] = true;
}
}
if (_root["remoteS" + i] != 0) {
if (_root.remote_time > _root[(("remote" + i) + "SG") + _root["remoteS" + i]]) {
_root["remoteS" + i]++;
} else if ((_root.remote_time >= _root[(("remote" + i) + "SS") + _root["remoteS" + i]]) && (_root.remote_time <= _root[(("remote" + i) + "SG") + _root["remoteS" + i]])) {
_root["act" + i] = true;
}
}
}
i++;
}
}
function soft_reset() {
if (Key.isDown(16)) {
_root.Kshift = true;
}
if (Key.isDown(17)) {
_root.Kcont = true;
}
if ((_root.Kshift == true) && (_root.Kcont == true)) {
_root.Kshift = false;
_root.Kcont = false;
_root.gotoAndPlay("title");
} else {
_root.Kshift = false;
_root.Kcont = false;
}
}
Frame 2
D_total = _root.getBytesTotal();
D_loaded = _root.getBytesLoaded();
D_percent = Math.floor((D_loaded / D_total) * 100);
loadgage.gage._x = (D_percent * 2) - 200;
Frame 3
if (_root._framesloaded > 370) {
_root.gotoAndPlay("key");
} else {
_root.gotoAndPlay(2);
}
Frame 4
_root.game_level = "NORMAL";
_root.opt_bonus = 20000;
_root.levelwait = 2;
_root.foul_play_rule = false;
_root.gameset_count = 5;
_root.lookscore = true;
_root.lookshoot = true;
_root.gamecount = 0;
Frame 5
_root.bgm1.stop();
_root.bgm2.stop();
_root.selectmenu = 1;
stop();
Frame 10
stop();
i = 1;
while (i <= 5) {
_root.menu.menubox["menu" + i].gotoAndStop(i * 10);
i++;
}
_root.menu.menubox.gotoAndPlay(_root.selectmenu * 10);
if (_root.secret_key == 2) {
_root.hukudai.gotoAndStop("otou3");
}
Instance of Symbol 41 MovieClip in Frame 10
onClipEvent (keyDown) {
if (Key.isDown(40)) {
if ((_root.selectmenu < 6) && (_root.selectmenu > 0)) {
if (_root.selectmenu != 5) {
_root.selectmenu++;
_root.komento.gotoAndStop(_root.selectmenu);
}
} else if ((_root.selectmenu < 9) && (_root.selectmenu > 5)) {
if (_root.selectmenu != 8) {
_root.selectmenu++;
if (_root.sidemenu == 1) {
_root.komento.gotoAndStop(_root.selectmenu);
} else {
_root.komento.gotoAndStop(_root.selectmenu + 3);
}
}
}
} else if (Key.isDown(38)) {
if ((_root.selectmenu < 6) && (_root.selectmenu > 0)) {
if (_root.selectmenu != 1) {
_root.selectmenu--;
_root.komento.gotoAndStop(_root.selectmenu);
}
} else if ((_root.selectmenu < 9) && (_root.selectmenu > 5)) {
if (_root.selectmenu != 6) {
_root.selectmenu--;
if (_root.sidemenu == 1) {
_root.komento.gotoAndStop(_root.selectmenu);
} else {
_root.komento.gotoAndStop(_root.selectmenu + 3);
}
}
}
} else if (Key.isDown(32)) {
_root.se3.start(0.1, 1);
switch (_root.selectmenu) {
case 1 :
_root.game_mode = "1p";
_root.siai = 1;
_root.your_score = 0;
_root.shoot_kaisu1 = 0;
_root.dank_count1 = 0;
_root.steel_count1 = 0;
_root.reb_count = 0;
_root.continue_count = 0;
_root.lost_point = 0;
_root.total_shoot_kaisu = 0;
_root.total_dank_count = 0;
_root.total_steel_count = 0;
_root.total_reb_count = 0;
_root.total_lost_point = 0;
_root.gotoAndPlay("goselect");
break;
case 2 :
_root.sidemenu = 1;
_root.selectmenu = 6;
_root.komento.gotoAndStop(_root.selectmenu);
_root.menu.menubox.tree.gotoAndStop(1);
_root.menu.menubox.menu6.gotoAndStop(60);
_root.menu.menubox.menu7.gotoAndStop(70);
_root.menu.menubox.menu8.gotoAndStop(80);
_root.menu.gotoAndPlay("move1");
break;
case 3 :
_root.game_mode = "practice";
_root.gotoAndPlay("goselect");
break;
case 4 :
_root.how_carsol = 15;
_root.game_mode = "2p";
_root.gotoAndStop("how_to_play");
break;
case 5 :
_root.gotoAndStop("option");
break;
case 6 :
if (_root.sidemenu == 1) {
_root.game_mode = "2p";
_root.gotoAndPlay("goselect");
}
break;
case 7 :
if (_root.sidemenu == 1) {
_root.game_mode = "vscom";
_root.gotoAndPlay("goselect");
}
break;
case 8 :
if (_root.sidemenu == 1) {
_root.selectmenu = 2;
_root.komento.gotoAndStop(2);
_root.menu.gotoAndPlay("move2");
} else {
_root.selectmenu = 3;
_root.komento.gotoAndStop(3);
_root.menu.gotoAndPlay("move2");
}
}
}
if (String.fromCharCode(Key.getCode()) == "S") {
_root.secret_key = 1;
} else if ((String.fromCharCode(Key.getCode()) == "T") && (_root.secret_key == 1)) {
_root.secret_key = 2;
_root.hukudai.gotoAndStop("otou3");
}
_root.menu.menubox.gotoAndPlay(_root.selectmenu * 10);
}
Frame 23
stop();
switch (_root.game_mode) {
case "1p" :
_root.gotoAndStop("select1");
break;
case "2p" :
_root.gotoAndStop("select2");
break;
case "vscom" :
_root.gotoAndStop("select1");
break;
case "practice" :
_root.gotoAndStop("select1");
}
Frame 24
_root.bgm1.stop();
_root.bgm2.start(0, 100);
_root.selectmenu = 1;
_root.character1 = 0;
_root.character2 = 0;
if (_root.secret_Key == 2) {
_root.chara_oto.gotoAndStop("otou3");
}
stop();
Instance of Symbol 41 MovieClip in Frame 24
onClipEvent (keyDown) {
if ((_root.character1 == 0) || (_root.character2 == 0)) {
if (Key.isDown(39)) {
switch (_root.selectmenu) {
case 1 :
_root.selectmenu = 5;
_root.chara.gotoAndStop(5);
_root.chara.penmark.gotoAndPlay(1);
break;
case 2 :
if (_root.secret_Key == 2) {
_root.selectmenu = 6;
_root.chara.gotoAndStop(6);
_root.chara.penmark.gotoAndPlay(1);
}
break;
case 3 :
_root.selectmenu = 4;
_root.chara.gotoAndStop(4);
_root.chara.penmark.gotoAndPlay(1);
break;
case 4 :
_root.selectmenu = 1;
_root.chara.gotoAndStop(1);
_root.chara.penmark.gotoAndPlay(1);
break;
case 5 :
_root.selectmenu = 2;
_root.chara.gotoAndStop(2);
_root.chara.penmark.gotoAndPlay(1);
}
_root.status.gotoAndStop(_root.selectmenu);
} else if (Key.isDown(37)) {
switch (_root.selectmenu) {
case 1 :
_root.selectmenu = 4;
_root.chara.gotoAndStop(4);
_root.chara.penmark.gotoAndPlay(1);
break;
case 2 :
_root.selectmenu = 5;
_root.chara.gotoAndStop(5);
_root.chara.penmark.gotoAndPlay(1);
break;
case 3 :
break;
case 4 :
_root.selectmenu = 3;
_root.chara.gotoAndStop(3);
_root.chara.penmark.gotoAndPlay(1);
break;
case 5 :
_root.selectmenu = 1;
_root.chara.gotoAndStop(1);
_root.chara.penmark.gotoAndPlay(1);
break;
case 6 :
_root.selectmenu = 2;
_root.chara.gotoAndStop(2);
_root.chara.penmark.gotoAndPlay(1);
}
_root.status.gotoAndStop(_root.selectmenu);
} else if (Key.isDown(32)) {
_root.se3.start();
if ((_root.character1 == 0) && (_root.character2 == 0)) {
_root.character1 = _root.selectmenu;
_root.status.gotoAndPlay("kettei");
_root.status.kaoback.gotoAndStop(_root.selectmenu);
_root.character2 = 9;
if (_root.game_mode == "1p") {
mm = 1;
while (mm <= 5) {
_root["side" + mm] = false;
_root["sideB" + mm] = false;
_root["stage_side" + mm] = false;
_root["stage_sideB" + mm] = false;
mm++;
}
i = 1;
while (i < 5) {
_root.character2 = Math.floor((Math.random() * 5) + 1);
if ((_root["sideB" + _root.character2] == false) && (_root.character2 != _root.character1)) {
_root["sideB" + _root.character2] = true;
_root["side" + i] = _root.character2;
i++;
}
}
i = 1;
while (i < 6) {
_root.stage = Math.floor((Math.random() * 5) + 1);
if (_root["stage_sideB" + _root.stage] == false) {
_root["stage_sideB" + _root.stage] = true;
_root["stage_side" + i] = _root.stage;
i++;
}
}
_root.side5 = _root.character1;
_root.stage_side6 = 6;
}
} else {
_root.character2 = _root.selectmenu;
_root.status.gotoAndPlay("kettei");
_root.status.kaoback.gotoAndStop(_root.selectmenu);
}
}
}
}
onClipEvent (enterFrame) {
if ((_root.status._currentframe == 20) && (_root.character1 != 0)) {
if (_root.game_mode == "1p") {
if (_root.side5 != false) {
_root.character2 = _root.side1;
_root.gotoAndPlay("vs");
}
} else if (_root.game_mode == "vscom") {
if (_root.character2 == 9) {
_root.selectmenu = 1;
_root.chara.gotoAndStop(1);
_root.chara.penmark.gotoAndPlay(1);
_root.status.gotoAndStop(1);
_root.character2 = 0;
_root.hosoku.gotoAndStop(2);
} else {
_root.gotoAndPlay("vs");
}
} else if (_root.game_mode == "practice") {
_root.gotoAndPlay("practice");
}
}
_root.soft_reset();
}
Frame 31
_root.bgm1.stop();
_root.bgm2.start(0, 100);
_root.chara.gotoAndStop("backgp");
_root.selectmenu1 = 1;
_root.selectmenu2 = 1;
_root.character1 = 0;
_root.character2 = 0;
_root.act1 = false;
if (_root.secret_Key == 2) {
_root.aikon.gotoAndStop("otou3");
}
stop();
Instance of Symbol 41 MovieClip in Frame 31
onClipEvent (enterFrame) {
_root.keysys1();
_root.keysys2();
i = 1;
while (i <= 2) {
if (_root["character" + i] == 0) {
if ((_root["moveR" + i] == true) && (_root["moveL" + i] == false)) {
if (((_root.secret_Key != 2) && (_root["selectmenu" + i] < 5)) && (_root["keylockst" + i] == false)) {
_root["selectmenu" + i]++;
_root["keylockst" + i] = true;
} else if (((_root.secret_Key == 2) && (_root["selectmenu" + i] < 6)) && (_root["keylockst" + i] == false)) {
_root["selectmenu" + i]++;
_root["keylockst" + i] = true;
}
_root.aikon["penmark" + i].gotoAndStop(_root["selectmenu" + i]);
_root["status" + i].gotoAndStop(_root["selectmenu" + i]);
} else if ((_root["moveL" + i] == true) && (_root["moveR" + i] == false)) {
if ((_root["selectmenu" + i] > 1) && (_root["keylockst" + i] == false)) {
_root["selectmenu" + i]--;
_root["keylockst" + i] = true;
}
_root.aikon["penmark" + i].gotoAndStop(_root["selectmenu" + i]);
_root["status" + i].gotoAndStop(_root["selectmenu" + i]);
} else if (_root["act" + i] == true) {
_root.se3.start();
_root["character" + i] = _root["selectmenu" + i];
_root["status" + i].gotoAndPlay("kettei");
_root["status" + i].kaoback.gotoAndStop(_root["character" + i]);
} else {
_root["keylockst" + i] = false;
}
}
_root["moveR" + i] = false;
_root["moveL" + i] = false;
i++;
}
if ((_root.status1._currentframe == 20) && (_root.status2._currentframe == 20)) {
_root.gotoAndPlay("vs");
}
_root.soft_reset();
}
Frame 38
_root.bgm1.stop();
_root.bgm2.stop();
_root.kaoback1.gotoAndStop(_root.character1);
_root.kaoback2.gotoAndStop(_root.character2);
_root.gamecount++;
switch (_root.game_mode) {
case "1p" :
_root.vskomento1 = "TOURNAMENT MODE";
_root.vskomento2 = "\u30C8\u30FC\u30CA\u30E1\u30F3\u30C8";
_root.vskomento3 = ("\u7B2C" + _root.siai) + "\u8A66\u5408";
break;
case "2p" :
_root.vskomento1 = "VS 2P MODE";
_root.vskomento2 = "\u30A8\u30AD\u30D3\u30B8\u30E7\u30F3\u30DE\u30C3\u30C1";
_root.vskomento3 = ("\u7B2C" + _root.gamecount) + "\u8A66\u5408";
break;
case "vscom" :
_root.vskomento1 = "VS 2P MODE";
_root.vskomento2 = "\u30A8\u30AD\u30D3\u30B8\u30E7\u30F3\u30DE\u30C3\u30C1";
_root.vskomento3 = ("\u7B2C" + _root.gamecount) + "\u8A66\u5408";
}
Frame 62
if (_root.game_mode == "1p") {
if (_root["stage_side" + _root.siai] == 1) {
_root.gotoAndStop("maingame1");
} else if (_root["stage_side" + _root.siai] == 2) {
_root.gotoAndStop("maingame2");
} else if (_root["stage_side" + _root.siai] == 3) {
_root.gotoAndStop("maingame3");
} else if (_root["stage_side" + _root.siai] == 4) {
_root.gotoAndStop("maingame4");
} else if (_root["stage_side" + _root.siai] == 5) {
_root.gotoAndStop("maingame5");
} else if (_root["stage_side" + _root.siai] == 6) {
_root.gotoAndStop("maingame6");
}
} else {
factor5 = Math.floor(Math.random() * 5) + 1;
if (factor5 == 1) {
_root.gotoAndStop("maingame1");
} else if (factor5 == 2) {
_root.gotoAndStop("maingame2");
} else if (factor5 == 3) {
_root.gotoAndStop("maingame3");
} else if (factor5 == 4) {
_root.gotoAndStop("maingame4");
} else if (factor5 == 5) {
_root.gotoAndStop("maingame5");
}
}
Frame 63
_root.selectmenu = 1;
switch (_root.game_level) {
case "NORMAL" :
_root.optmenu1.gotoAndStop(2);
break;
case "HARD" :
_root.optmenu1.gotoAndStop(3);
break;
case "EASY" :
_root.optmenu1.gotoAndStop(1);
}
if (_root.foul_play_rule == true) {
_root.optmenu2.gotoAndStop(2);
} else {
_root.optmenu2.gotoAndStop(1);
}
_root.optmenu3.gotoAndStop(_root.gameset_count);
if (_root.lookscore == true) {
_root.optmenu4.gotoAndStop(1);
} else {
_root.optmenu4.gotoAndStop(2);
}
if (_root.lookshoot == true) {
_root.optmenu5.gotoAndStop(1);
} else {
_root.optmenu5.gotoAndStop(2);
}
if (_root.gasitu == true) {
_root.optmenu6.gotoAndStop(1);
} else {
_root.optmenu6.gotoAndStop(2);
}
Instance of Symbol 41 MovieClip in Frame 63
onClipEvent (keyDown) {
if (Key.isDown(40)) {
if (_root.selectmenu != 7) {
_root.selectmenu++;
_root.optmenuA.gotoAndStop(_root.selectmenu);
}
} else if (Key.isDown(38)) {
if (_root.selectmenu != 1) {
_root.selectmenu--;
_root.optmenuA.gotoAndStop(_root.selectmenu);
}
} else if (Key.isDown(39)) {
switch (_root.selectmenu) {
case 1 :
if (_root.game_level == "NORMAL") {
_root.game_level = "HARD";
_root.levelwait = 0;
_root.optmenu1.gotoAndStop(3);
} else if (_root.game_level == "EASY") {
_root.game_level = "NORMAL";
_root.levelwait = 2;
_root.optmenu1.gotoAndStop(2);
}
break;
case 2 :
_root.foul_play_rule = true;
_root.optmenu2.gotoAndStop(2);
break;
case 3 :
if (_root.gameset_count != 9) {
_root.gameset_count = _root.gameset_count + 2;
_root.optmenu3.gotoAndStop(_root.gameset_count);
}
break;
case 4 :
_root.lookscore = false;
_root.optmenu4.gotoAndStop(2);
break;
case 5 :
_root.lookshoot = false;
_root.optmenu5.gotoAndStop(2);
break;
case 6 :
_root.gasitu = false;
_root._quality = "MEDIUM";
_root.optmenu6.gotoAndStop(2);
}
} else if (Key.isDown(37)) {
switch (_root.selectmenu) {
case 1 :
if (_root.game_level == "NORMAL") {
_root.game_level = "EASY";
_root.levelwait = 5;
_root.optmenu1.gotoAndStop(1);
} else if (_root.game_level == "HARD") {
_root.game_level = "NORMAL";
_root.levelwait = 0;
_root.optmenu1.gotoAndStop(2);
}
break;
case 2 :
_root.foul_play_rule = false;
_root.optmenu2.gotoAndStop(1);
break;
case 3 :
if (_root.gameset_count != 3) {
_root.gameset_count = _root.gameset_count - 2;
_root.optmenu3.gotoAndStop(_root.gameset_count);
}
break;
case 4 :
_root.lookscore = true;
_root.optmenu4.gotoAndStop(1);
break;
case 5 :
_root.lookshoot = true;
_root.optmenu5.gotoAndStop(1);
break;
case 6 :
_root.gasitu = true;
_root._quality = "HIGH";
_root.optmenu6.gotoAndStop(1);
}
} else if (Key.isDown(32)) {
if (_root.selectmenu == 7) {
_root.opt_bonus = 0;
if (_root.game_level == "NORMAL") {
_root.opt_bonus = 5000;
} else if (_root.game_level == "HARD") {
_root.opt_bonus = 10000;
}
if (_root.foul_play_rule == false) {
_root.opt_bonus = _root.opt_bonus + 10000;
}
_root.opt_bonus = _root.opt_bonus + (_root.gameset_count * 1000);
_root.gotoAndPlay("title");
}
}
_root.optionhelp.gotoAndStop(_root.selectmenu);
}
Frame 70
_root.bgm1.stop();
_root.bgm2.stop();
_root.objes.kao.gotoAndStop(_root.character1);
_root.stats1 = ((("\u30B7\u30E5\u30FC\u30C8\u6210\u529F\u7387 : " + Math.floor(((_root.gameset_count * 100) * (_root.siai - 1)) / _root.total_shoot_kaisu)) + "% ( \u8A08") + _root.total_shoot_kaisu) + "\u672C )";
_root.stats2 = "\u30EA\u30D0\u30A6\u30F3\u30C9\u6570 : " + _root.total_reb_count;
_root.stats3 = "\u30C0\u30F3\u30AF\u30B7\u30E5\u30FC\u30C8\u6570 : " + _root.total_dank_count;
_root.stats4 = "\u30B9\u30C1\u30FC\u30EB\u6210\u529F\u6570 : " + _root.total_steel_count;
_root.stats5 = "\u5931\u70B9 : " + _root.total_lost_point;
_root.stats6 = "\u30B3\u30F3\u30C6\u30A3\u30CB\u30E5\u30FC\u56DE\u6570 : " + _root.continue_count;
_root.stats7 = ("\u30AA\u30D7\u30B7\u30E7\u30F3\u8A2D\u5B9A : " + _root.opt_bonus) + "pts";
_root.your_score = ((((((Math.floor(((_root.gameset_count * 100) * (_root.siai - 1)) / _root.total_shoot_kaisu) * 100) + (_root.total_reb_count * 200)) + (_root.total_dank_count * 300)) + (_root.total_steel_count * 50)) + _root.opt_bonus) - (_root.total_lost_point * 200)) - (_root.continue_count * 500);
_root.stats8 = ("\u30B9\u30B3\u30A2 : " + _root.your_score) + "pts";
Frame 80
stop();
Instance of Symbol 41 MovieClip in Frame 80
onClipEvent (keyDown) {
if (_root.your_score > _root.hiscore) {
_root.hiscore = _root.your_score;
_root.gotoAndStop("ranking");
} else {
_root.gotoAndPlay("staff_role");
}
}
Frame 161
_root.gotoAndPlay("staff_role2");
Frame 162
_root.bgm1.stop();
Frame 208
_root.gotoAndPlay("title");
Frame 210
point1 = 0;
point2 = 0;
thinktime1 = 0;
thinktime2 = 0;
score_board.scorebox = (point1 + " - ") + point2;
obX1 = 1307;
obX2 = 1342;
obX3 = 923;
obX4 = 555;
obZom1 = 1;
obZom2 = 1;
obZom3 = 1;
obZom4 = 3;
ob_count = 4;
postX = 1234;
postY = 76;
_root.character_ready();
_root.change_style(2);
_root.rem(1);
_root.rem(2);
_root.bgm1.start(0, 100);
stop();
Instance of Symbol 41 MovieClip in Frame 210
onClipEvent (enterFrame) {
if (_root.gamewait == true) {
_root.keysys1();
if (_root.game_mode == "2p") {
_root.keysys2();
} else if (_root.style2 == "OFF") {
_root.think_attack(2);
} else if (_root.style2 == "DIF") {
_root.think_dif(2);
} else if (_root.style2 == "FREE") {
_root.think_free(2);
}
i = 1;
while (i <= 2) {
_root.movesys(i);
if (_root["style" + i] == "OFF") {
_root.attack(i);
} else if (_root["style" + i] == "DIF") {
_root.diff(i);
} else if (_root["style" + i] == "FREE") {
_root.free(i);
}
_root.rem(i);
i++;
}
if (_root.keeper == 0) {
_root.balling();
_root.rem(0);
} else {
_root.WposX0 = -100;
_root.player0._x = -100;
_root.shadow0._x = -100;
}
_root.hitmode();
_root.objet_set(_root.ob_count);
if ((_root.atm1 == "catch_stop") && (_root.atm2 == "catch_stop")) {
_root.atm1 = "catch_stop2";
_root.top_board.gotoAndPlay("fade_out");
} else if ((_root.atm1 == "traveling") && (_root.atm2 == "traveling")) {
_root.atm1 = "traveling2";
_root.top_board.gotoAndPlay("traveling");
} else if ((_root.atm1 == "post_in") && (_root.atm2 == "post_in")) {
if (_root["point" + _root.attack_mode] >= _root.gameset_count) {
_root.atm1 = "post_in2";
_root.top_board.gotoAndPlay("game_set");
} else {
_root.atm1 = "post_in2";
_root.top_board.gotoAndPlay("post_in");
}
} else if ((_root.atm1 == "out_of_bounds") && (_root.atm2 == "out_of_bounds")) {
_root.atm1 = "out_of_bounds2";
_root.top_board.gotoAndPlay("out_of_bounds");
}
_root.kao_huku();
} else {
_root.soft_reset();
}
}
Frame 221
point1 = 0;
point2 = 0;
thinktime1 = 0;
thinktime2 = 0;
score_board.scorebox = (point1 + " - ") + point2;
obX1 = 1307;
obX2 = 1448;
obX3 = 923;
obX4 = 174;
obX5 = 93;
obX6 = 565;
obZom1 = 1;
obZom2 = 1;
obZom3 = 1;
obZom4 = 3;
obZom5 = 1;
obZom6 = 3;
ob_count = 6;
postX = 1234;
postY = 76;
_root.character_ready();
_root.change_style(2);
_root.rem(1);
_root.rem(2);
_root.bgm1.start(0, 100);
stop();
Frame 231
point1 = 0;
point2 = 0;
thinktime1 = 0;
thinktime2 = 0;
score_board.scorebox = (point1 + " - ") + point2;
obX1 = 1307;
obX2 = 1342;
obX3 = 923;
obX4 = 330;
obX5 = 730;
obZom1 = 1;
obZom2 = 1;
obZom3 = 1;
obZom4 = 3;
obZom5 = 3;
ob_count = 5;
postX = 1234;
postY = 76;
_root.character_ready();
_root.change_style(2);
_root.rem(1);
_root.rem(2);
_root.bgm1.start(0, 100);
stop();
Frame 241
point1 = 0;
point2 = 0;
thinktime1 = 0;
thinktime2 = 0;
score_board.scorebox = (point1 + " - ") + point2;
obX1 = 1307;
obX2 = 1342;
obX3 = 923;
obX4 = 580;
obX5 = 273;
obX6 = 741;
obX7 = 1204;
obZom1 = 1;
obZom2 = 1;
obZom3 = 1;
obZom4 = 2;
obZom5 = 1.5;
obZom6 = 1.5;
obZom7 = 1.5;
ob_count = 7;
postX = 1234;
postY = 76;
_root.character_ready();
_root.change_style(2);
_root.rem(1);
_root.rem(2);
_root.bgm1.start(0, 100);
stop();
Frame 251
point1 = 0;
point2 = 0;
thinktime1 = 0;
thinktime2 = 0;
score_board.scorebox = (point1 + " - ") + point2;
obX1 = 1307;
obX2 = 1342;
obX3 = 923;
obX4 = 483;
obZom1 = 1;
obZom2 = 1;
obZom3 = 1;
obZom4 = 8;
ob_count = 4;
postX = 1234;
postY = 76;
_root.character_ready();
_root.change_style(2);
_root.rem(1);
_root.rem(2);
_root.bgm1.start(0, 100);
stop();
Frame 261
point1 = 0;
point2 = 0;
thinktime1 = 0;
thinktime2 = 0;
score_board.scorebox = (point1 + " - ") + point2;
obX1 = 1307;
obX2 = 1448;
obX3 = 923;
obZom1 = 1;
obZom2 = 1;
obZom3 = 1;
obZom4 = 3;
ob_count = 3;
postX = 1234;
postY = 76;
_root.character_ready();
_root.change_style(2);
_root.rem(1);
_root.rem(2);
_root.bgm1.start(0, 100);
stop();
Frame 272
_root.bgm1.stop();
_root.bgm2.start(0, 400);
_root.guide.gotoAndStop(_root.how_carsol);
stop();
Instance of Symbol 41 MovieClip in Frame 272
onClipEvent (keyDown) {
if (Key.isDown(40)) {
_root.how_carsol = _root.how_carsol + 10;
} else if (Key.isDown(38)) {
_root.how_carsol = _root.how_carsol - 10;
} else if (Key.isDown(39)) {
_root.how_carsol++;
} else if (Key.isDown(37)) {
_root.how_carsol--;
} else if (Key.isDown(32)) {
switch (_root.how_carsol) {
case 15 :
_root.gotoAndStop("rule");
break;
case 21 :
_root.gotoAndStop("h21");
break;
case 22 :
_root.gotoAndStop("h22");
break;
case 23 :
_root.gotoAndStop("h23");
break;
case 31 :
_root.gotoAndStop("h31");
break;
case 32 :
_root.gotoAndStop("h32");
break;
case 33 :
_root.gotoAndStop("h33");
break;
case 41 :
_root.gotoAndStop("h41");
break;
case 42 :
_root.gotoAndStop("h42");
break;
case 43 :
_root.gotoAndStop("h43");
break;
case 51 :
_root.gotoAndStop("h51");
break;
case 52 :
_root.gotoAndStop("h52");
break;
case 53 :
_root.gotoAndStop("h53");
break;
case 61 :
_root.gotoAndStop("h61");
break;
case 62 :
_root.gotoAndStop("h62");
break;
case 63 :
_root.gotoAndStop("h63");
break;
case 75 :
_root.gotoAndStop("title");
}
}
_root.guide.gotoAndStop(_root.how_carsol);
}
Instance of Symbol 611 MovieClip in Frame 285
onClipEvent (keyDown) {
_root.gotoAndStop("how_to_play");
}
Frame 291
end_remote = 70;
remote_time = 120;
teki_remote2 = false;
remote1RS1 = 15;
remote1RG1 = 30;
remote1RS2 = 90;
remote1RG2 = 90;
remote1LS1 = 45;
remote1LG1 = 60;
remote1LS2 = 90;
remote1LG2 = 90;
obX1 = 1307;
obX2 = 1448;
obX3 = 923;
obZom1 = 1;
obZom2 = 1;
obZom3 = 1;
ob_count = 3;
postX = 1234;
postY = 76;
character1 = 1;
character2 = 1;
_root.character_ready();
_root.change_style(2);
_root.rem(1);
_root.rem(2);
stop();
Instance of Symbol 41 MovieClip in Frame 291
onClipEvent (enterFrame) {
if (_root.remote_time >= _root.end_remote) {
_root.remote_time = 0;
_root.remoteR1 = 1;
_root.remoteL1 = 1;
_root.remoteU1 = 0;
_root.remoteD1 = 0;
_root.remoteS1 = 0;
} else {
_root.remote_sys();
_root.remote_time++;
}
i = 1;
while (i <= 2) {
_root.movesys(i);
if (_root["style" + i] == "OFF") {
_root.attack(i);
} else if (_root["style" + i] == "DIF") {
_root.diff(i);
} else if (_root["style" + i] == "FREE") {
_root.free(i);
}
_root.rem(i);
i++;
}
if (_root.keeper == 0) {
_root.balling();
_root.rem(0);
} else {
_root.WposX0 = -100;
_root.player0._x = -100;
_root.shadow0._x = -100;
}
_root.hitmode();
_root.objet_set(_root.ob_count);
}
Instance of Symbol 611 MovieClip in Frame 291
onClipEvent (keyDown) {
_root.gotoAndStop("how_to_play");
}
Frame 296
end_remote = 50;
remote_time = 120;
teki_remote2 = false;
remote1RS1 = 15;
remote1RG1 = 20;
remote1RS2 = 90;
remote1RG2 = 90;
remote1DS1 = 30;
remote1DG1 = 35;
remote1DS2 = 90;
remote1DG2 = 90;
obX1 = 1307;
obX2 = 1448;
obX3 = 923;
obZom1 = 1;
obZom2 = 1;
obZom3 = 1;
ob_count = 3;
postX = 1234;
postY = 76;
character1 = 1;
character2 = 1;
_root.character_ready();
_root.change_style(2);
_root.rem(1);
_root.rem(2);
stop();
Instance of Symbol 41 MovieClip in Frame 296
onClipEvent (enterFrame) {
if (_root.remote_time >= _root.end_remote) {
_root.remote_time = 0;
_root.remoteR1 = 1;
_root.remoteL1 = 0;
_root.remoteU1 = 0;
_root.remoteD1 = 1;
_root.remoteS1 = 0;
_root.change_style(2);
} else {
_root.remote_sys();
_root.remote_time++;
}
i = 1;
while (i <= 2) {
_root.movesys(i);
if (_root["style" + i] == "OFF") {
_root.attack(i);
} else if (_root["style" + i] == "DIF") {
_root.diff(i);
} else if (_root["style" + i] == "FREE") {
_root.free(i);
}
_root.rem(i);
i++;
}
if (_root.keeper == 0) {
_root.balling();
_root.rem(0);
} else {
_root.WposX0 = -100;
_root.player0._x = -100;
_root.shadow0._x = -100;
}
_root.hitmode();
_root.objet_set(_root.ob_count);
}
Frame 301
end_remote = 90;
remote_time = 120;
teki_remote2 = false;
remote1RS1 = 15;
remote1RG1 = 20;
remote1RS2 = 50;
remote1RG2 = 55;
remote1RS3 = 100;
remote1RG3 = 100;
remote1US1 = 30;
remote1UG1 = 35;
remote1US2 = 52;
remote1UG2 = 55;
remote1US3 = 100;
remote1UG3 = 100;
obX1 = 1307;
obX2 = 1448;
obX3 = 923;
obZom1 = 1;
obZom2 = 1;
obZom3 = 1;
ob_count = 3;
postX = 1234;
postY = 76;
character1 = 1;
character2 = 1;
_root.character_ready();
_root.change_style(2);
_root.rem(1);
_root.rem(2);
stop();
Instance of Symbol 41 MovieClip in Frame 301
onClipEvent (enterFrame) {
if (_root.remote_time >= _root.end_remote) {
_root.remote_time = 0;
_root.remoteR1 = 1;
_root.remoteL1 = 0;
_root.remoteU1 = 1;
_root.remoteD1 = 0;
_root.remoteS1 = 0;
_root.change_style(2);
} else {
_root.remote_sys();
_root.remote_time++;
}
i = 1;
while (i <= 2) {
_root.movesys(i);
if (_root["style" + i] == "OFF") {
_root.attack(i);
} else if (_root["style" + i] == "DIF") {
_root.diff(i);
} else if (_root["style" + i] == "FREE") {
_root.free(i);
}
_root.rem(i);
i++;
}
if (_root.keeper == 0) {
_root.balling();
_root.rem(0);
} else {
_root.WposX0 = -100;
_root.player0._x = -100;
_root.shadow0._x = -100;
}
_root.hitmode();
_root.objet_set(_root.ob_count);
}
Frame 306
end_remote = 140;
remote_time = 300;
teki_remote2 = true;
remote1RS1 = 15;
remote1RG1 = 25;
remote1RS2 = 40;
remote1RG2 = 50;
remote1RS3 = 75;
remote1RG3 = 85;
remote1RS4 = 100;
remote1RG4 = 110;
remote1RS5 = 200;
remote1RG5 = 200;
remote1LS1 = 35;
remote1LG1 = 40;
remote1LS2 = 95;
remote1LG2 = 100;
remote1LS3 = 200;
remote1LG3 = 200;
remote1SS1 = 36;
remote1SG1 = 40;
remote1SS2 = 96;
remote1SG2 = 100;
remote1SS3 = 200;
remote1SG3 = 200;
remote2LS1 = 20;
remote2LG1 = 25;
remote2LS2 = 80;
remote2LG2 = 85;
remote2LS3 = 200;
remote2LG3 = 200;
remote2DS1 = 30;
remote2DG1 = 40;
remote2DS2 = 200;
remote2DG2 = 200;
remote2SS1 = 37;
remote2SG1 = 40;
remote2SS2 = 87;
remote2SG2 = 120;
remote2SS3 = 200;
remote2SG3 = 200;
obX1 = 1307;
obX2 = 1448;
obX3 = 923;
obZom1 = 1;
obZom2 = 1;
obZom3 = 1;
ob_count = 3;
postX = 1234;
postY = 76;
character1 = 1;
character2 = 1;
_root.character_ready();
_root.change_style(2);
_root.rem(1);
_root.rem(2);
stop();
Instance of Symbol 41 MovieClip in Frame 306
onClipEvent (enterFrame) {
if (_root.remote_time >= _root.end_remote) {
_root.remote_time = 0;
_root.remoteR1 = 1;
_root.remoteL1 = 1;
_root.remoteU1 = 0;
_root.remoteD1 = 0;
_root.remoteS1 = 1;
_root.remoteR2 = 0;
_root.remoteL2 = 1;
_root.remoteU2 = 0;
_root.remoteD2 = 1;
_root.remoteS2 = 1;
_root.change_style(2);
} else if (_root.remote_time == 60) {
_root.remote_time++;
_root.change_style(2);
} else {
_root.remote_sys();
_root.remote_time++;
}
i = 1;
while (i <= 2) {
_root.movesys(i);
if (_root["style" + i] == "OFF") {
_root.attack(i);
} else if (_root["style" + i] == "DIF") {
_root.diff(i);
} else if (_root["style" + i] == "FREE") {
_root.free(i);
}
_root.rem(i);
i++;
}
if (_root.keeper == 0) {
_root.balling();
_root.rem(0);
} else {
_root.WposX0 = -100;
_root.player0._x = -100;
_root.shadow0._x = -100;
}
_root.hitmode();
_root.objet_set(_root.ob_count);
}
Frame 311
end_remote = 80;
remote_time = 120;
teki_remote2 = false;
remote1RS1 = 15;
remote1RG1 = 30;
remote1RS2 = 90;
remote1RG2 = 90;
remote1SS1 = 25;
remote1SG1 = 30;
remote1SS2 = 90;
remote1SG2 = 90;
obX1 = 1307;
obX2 = 1448;
obX3 = 923;
obZom1 = 1;
obZom2 = 1;
obZom3 = 1;
ob_count = 3;
postX = 1234;
postY = 76;
character1 = 1;
character2 = 1;
_root.character_ready();
_root.change_style(2);
_root.rem(1);
_root.rem(2);
stop();
Instance of Symbol 41 MovieClip in Frame 311
onClipEvent (enterFrame) {
if (_root.remote_time >= _root.end_remote) {
_root.remote_time = 0;
_root.remoteR1 = 1;
_root.remoteL1 = 0;
_root.remoteU1 = 0;
_root.remoteD1 = 0;
_root.remoteS1 = 1;
_root.change_style(2);
} else {
_root.remote_sys();
_root.remote_time++;
}
i = 1;
while (i <= 2) {
_root.movesys(i);
if (_root["style" + i] == "OFF") {
_root.attack(i);
} else if (_root["style" + i] == "DIF") {
_root.diff(i);
} else if (_root["style" + i] == "FREE") {
_root.free(i);
}
_root.rem(i);
i++;
}
if (_root.keeper == 0) {
_root.balling();
_root.rem(0);
} else {
_root.WposX0 = -100;
_root.player0._x = -100;
_root.shadow0._x = -100;
}
_root.hitmode();
_root.objet_set(_root.ob_count);
}
Frame 316
end_remote = 80;
remote_time = 120;
teki_remote2 = false;
remote1RS1 = 15;
remote1RG1 = 20;
remote1RS2 = 90;
remote1RG2 = 90;
remote1LS1 = 40;
remote1LG1 = 60;
remote1LS2 = 90;
remote1LG2 = 90;
remote1SS1 = 30;
remote1SG1 = 50;
remote1SS2 = 90;
remote1SG2 = 90;
obX1 = 1307;
obX2 = 1448;
obX3 = 923;
obZom1 = 1;
obZom2 = 1;
obZom3 = 1;
ob_count = 3;
postX = 1234;
postY = 76;
character1 = 1;
character2 = 1;
_root.character_ready();
_root.change_style(2);
_root.rem(1);
_root.rem(2);
stop();
Instance of Symbol 41 MovieClip in Frame 316
onClipEvent (enterFrame) {
if (_root.remote_time >= _root.end_remote) {
_root.remote_time = 0;
_root.remoteR1 = 1;
_root.remoteL1 = 1;
_root.remoteU1 = 0;
_root.remoteD1 = 0;
_root.remoteS1 = 1;
_root.change_style(2);
} else {
_root.remote_sys();
_root.remote_time++;
}
i = 1;
while (i <= 2) {
_root.movesys(i);
if (_root["style" + i] == "OFF") {
_root.attack(i);
} else if (_root["style" + i] == "DIF") {
_root.diff(i);
} else if (_root["style" + i] == "FREE") {
_root.free(i);
}
_root.rem(i);
i++;
}
if (_root.keeper == 0) {
_root.balling();
_root.rem(0);
} else {
_root.WposX0 = -100;
_root.player0._x = -100;
_root.shadow0._x = -100;
}
_root.hitmode();
_root.objet_set(_root.ob_count);
}
Frame 321
end_remote = 90;
remote_time = 120;
teki_remote2 = false;
remote1RS1 = 15;
remote1RG1 = 40;
remote1RS2 = 100;
remote1RG2 = 100;
remote1SS1 = 50;
remote1SG1 = 60;
remote1SS2 = 100;
remote1SG2 = 100;
obX1 = 1307;
obX2 = 1448;
obX3 = 923;
obZom1 = 1;
obZom2 = 1;
obZom3 = 1;
ob_count = 3;
postX = 1234;
postY = 76;
character1 = 1;
character2 = 1;
_root.character_ready();
_root.change_style(2);
_root.rem(1);
_root.rem(2);
stop();
Instance of Symbol 41 MovieClip in Frame 321
onClipEvent (enterFrame) {
if (_root.remote_time >= _root.end_remote) {
_root.remote_time = 0;
_root.remoteR1 = 1;
_root.remoteL1 = 0;
_root.remoteU1 = 0;
_root.remoteD1 = 0;
_root.remoteS1 = 1;
_root.change_style(2);
} else {
_root.remote_sys();
_root.remote_time++;
}
i = 1;
while (i <= 2) {
_root.movesys(i);
if (_root["style" + i] == "OFF") {
_root.attack(i);
} else if (_root["style" + i] == "DIF") {
_root.diff(i);
} else if (_root["style" + i] == "FREE") {
_root.free(i);
}
_root.rem(i);
i++;
}
if (_root.keeper == 0) {
_root.balling();
_root.rem(0);
} else {
_root.WposX0 = -100;
_root.player0._x = -100;
_root.shadow0._x = -100;
}
_root.hitmode();
_root.objet_set(_root.ob_count);
}
Frame 326
end_remote = 90;
remote_time = 120;
teki_remote2 = false;
remote1RS1 = 15;
remote1RG1 = 40;
remote1RS2 = 200;
remote1RG2 = 200;
remote1US1 = 60;
remote1UG1 = 65;
remote1US2 = 200;
remote1UG2 = 200;
remote1SS1 = 45;
remote1SG1 = 70;
remote1SS2 = 200;
remote1SG2 = 200;
obX1 = 1307;
obX2 = 1448;
obX3 = 923;
obZom1 = 1;
obZom2 = 1;
obZom3 = 1;
ob_count = 3;
postX = 1234;
postY = 76;
character1 = 1;
character2 = 1;
_root.character_ready();
_root.change_style(2);
_root.rem(1);
_root.rem(2);
stop();
Instance of Symbol 41 MovieClip in Frame 326
onClipEvent (enterFrame) {
if (_root.remote_time >= _root.end_remote) {
_root.remote_time = 0;
_root.remoteR1 = 1;
_root.remoteL1 = 0;
_root.remoteU1 = 1;
_root.remoteD1 = 0;
_root.remoteS1 = 1;
_root.change_style(2);
} else {
_root.remote_sys();
_root.remote_time++;
}
i = 1;
while (i <= 2) {
_root.movesys(i);
if (_root["style" + i] == "OFF") {
_root.attack(i);
} else if (_root["style" + i] == "DIF") {
_root.diff(i);
} else if (_root["style" + i] == "FREE") {
_root.free(i);
}
_root.rem(i);
i++;
}
if (_root.keeper == 0) {
_root.balling();
_root.rem(0);
} else {
_root.WposX0 = -100;
_root.player0._x = -100;
_root.shadow0._x = -100;
}
_root.hitmode();
_root.objet_set(_root.ob_count);
}
Frame 331
end_remote = 75;
remote_time = 120;
teki_remote2 = false;
remote1RS1 = 15;
remote1RG1 = 50;
remote1RS2 = 200;
remote1RG2 = 200;
remote1US1 = 45;
remote1UG1 = 50;
remote1US2 = 200;
remote1UG2 = 200;
remote1SS1 = 55;
remote1SG1 = 57;
remote1SS2 = 200;
remote1SG2 = 200;
obX1 = 1307;
obX2 = 1448;
obX3 = 923;
obZom1 = 1;
obZom2 = 1;
obZom3 = 1;
ob_count = 3;
postX = 1234;
postY = 76;
character1 = 1;
character2 = 1;
_root.character_ready();
_root.change_style(2);
_root.rem(1);
_root.rem(2);
stop();
Frame 336
end_remote = 100;
remote_time = 120;
teki_remote2 = false;
remote1RS1 = 15;
remote1RG1 = 60;
remote1RS2 = 200;
remote1RG2 = 200;
remote1LS1 = 70;
remote1LG1 = 80;
remote1LS2 = 200;
remote1LG2 = 200;
remote1US1 = 72;
remote1UG1 = 80;
remote1US2 = 200;
remote1UG2 = 200;
remote1SS1 = 77;
remote1SG1 = 78;
remote1SS2 = 200;
remote1SG2 = 200;
obX1 = 1307;
obX2 = 1448;
obX3 = 923;
obZom1 = 1;
obZom2 = 1;
obZom3 = 1;
ob_count = 3;
postX = 1234;
postY = 76;
character1 = 1;
character2 = 1;
_root.character_ready();
_root.change_style(2);
_root.rem(1);
_root.rem(2);
stop();
Instance of Symbol 41 MovieClip in Frame 336
onClipEvent (enterFrame) {
if (_root.remote_time >= _root.end_remote) {
_root.remote_time = 0;
_root.remoteR1 = 1;
_root.remoteL1 = 1;
_root.remoteU1 = 1;
_root.remoteD1 = 0;
_root.remoteS1 = 1;
_root.change_style(2);
} else {
_root.remote_sys();
_root.remote_time++;
}
i = 1;
while (i <= 2) {
_root.movesys(i);
if (_root["style" + i] == "OFF") {
_root.attack(i);
} else if (_root["style" + i] == "DIF") {
_root.diff(i);
} else if (_root["style" + i] == "FREE") {
_root.free(i);
}
_root.rem(i);
i++;
}
if (_root.keeper == 0) {
_root.balling();
_root.rem(0);
} else {
_root.WposX0 = -100;
_root.player0._x = -100;
_root.shadow0._x = -100;
}
_root.hitmode();
_root.objet_set(_root.ob_count);
_root.deba36 = "style1 : " + _root.style1;
_root.deba38 = "atm1 : " + _root.atm1;
}
Frame 341
end_remote = 75;
remote_time = 120;
teki_remote2 = false;
remote1RS1 = 15;
remote1RG1 = 65;
remote1RS2 = 200;
remote1RG2 = 200;
remote1US1 = 55;
remote1UG1 = 65;
remote1US2 = 200;
remote1UG2 = 200;
remote1SS1 = 57;
remote1SG1 = 60;
remote1SS2 = 200;
remote1SG2 = 200;
obX1 = 1307;
obX2 = 1448;
obX3 = 923;
obZom1 = 1;
obZom2 = 1;
obZom3 = 1;
ob_count = 3;
postX = 1234;
postY = 76;
character1 = 1;
character2 = 1;
_root.character_ready();
_root.change_style(2);
_root.rem(1);
_root.rem(2);
stop();
Instance of Symbol 41 MovieClip in Frame 341
onClipEvent (enterFrame) {
if (_root.remote_time >= _root.end_remote) {
_root.remote_time = 0;
_root.remoteR1 = 1;
_root.remoteL1 = 0;
_root.remoteU1 = 1;
_root.remoteD1 = 0;
_root.remoteS1 = 1;
_root.change_style(2);
} else {
_root.remote_sys();
_root.remote_time++;
}
i = 1;
while (i <= 2) {
_root.movesys(i);
if (_root["style" + i] == "OFF") {
_root.attack(i);
} else if (_root["style" + i] == "DIF") {
_root.diff(i);
} else if (_root["style" + i] == "FREE") {
_root.free(i);
}
_root.rem(i);
i++;
}
if (_root.keeper == 0) {
_root.balling();
_root.rem(0);
} else {
_root.WposX0 = -100;
_root.player0._x = -100;
_root.shadow0._x = -100;
}
_root.hitmode();
_root.objet_set(_root.ob_count);
_root.deba36 = "style1 : " + _root.style1;
_root.deba38 = "atm1 : " + _root.atm1;
}
Frame 342
end_remote = 75;
remote_time = 120;
teki_remote2 = false;
remote1RS1 = 15;
remote1RG1 = 53;
remote1RS2 = 200;
remote1RG2 = 200;
remote1US1 = 50;
remote1UG1 = 53;
remote1US2 = 200;
remote1UG2 = 200;
remote1DS1 = 55;
remote1DG1 = 58;
remote1DS2 = 200;
remote1DG2 = 200;
remote1SS1 = 52;
remote1SG1 = 55;
remote1SS2 = 62;
remote1SG2 = 63;
remote1SS3 = 200;
remote1SG3 = 200;
obX1 = 1307;
obX2 = 1448;
obX3 = 923;
obZom1 = 1;
obZom2 = 1;
obZom3 = 1;
ob_count = 3;
postX = 1234;
postY = 76;
character1 = 1;
character2 = 1;
_root.character_ready();
_root.change_style(2);
_root.rem(1);
_root.rem(2);
stop();
Instance of Symbol 41 MovieClip in Frame 342
onClipEvent (enterFrame) {
if (_root.remote_time >= _root.end_remote) {
_root.remote_time = 0;
_root.remoteR1 = 1;
_root.remoteL1 = 0;
_root.remoteU1 = 1;
_root.remoteD1 = 1;
_root.remoteS1 = 1;
_root.change_style(2);
} else {
_root.remote_sys();
_root.remote_time++;
}
i = 1;
while (i <= 2) {
_root.movesys(i);
if (_root["style" + i] == "OFF") {
_root.attack(i);
} else if (_root["style" + i] == "DIF") {
_root.diff(i);
} else if (_root["style" + i] == "FREE") {
_root.free(i);
}
_root.rem(i);
i++;
}
if (_root.keeper == 0) {
_root.balling();
_root.rem(0);
} else {
_root.WposX0 = -100;
_root.player0._x = -100;
_root.shadow0._x = -100;
}
_root.hitmode();
_root.objet_set(_root.ob_count);
_root.deba36 = "style1 : " + _root.style1;
_root.deba38 = "atm1 : " + _root.atm1;
}
Instance of Symbol 611 MovieClip in Frame 342
onClipEvent (keyDown) {
_root.gotoAndStop("how_to_play");
}
Frame 346
end_remote = 75;
remote_time = 120;
teki_remote2 = false;
remote1RS1 = 15;
remote1RG1 = 44;
remote1RS2 = 200;
remote1RG2 = 200;
remote1US1 = 42;
remote1UG1 = 44;
remote1US2 = 200;
remote1UG2 = 200;
remote1DS1 = 45;
remote1DG1 = 50;
remote1DS2 = 200;
remote1DG2 = 200;
remote1SS1 = 35;
remote1SG1 = 37;
remote1SS2 = 46;
remote1SG2 = 50;
remote1SS3 = 200;
remote1SG3 = 200;
obX1 = 1307;
obX2 = 1448;
obX3 = 923;
obZom1 = 1;
obZom2 = 1;
obZom3 = 1;
ob_count = 3;
postX = 1234;
postY = 76;
character1 = 1;
character2 = 1;
_root.character_ready();
_root.change_style(2);
_root.rem(1);
_root.rem(2);
stop();
Frame 351
end_remote = 120;
remote_time = 200;
teki_remote2 = false;
remote1LS1 = 15;
remote1LG1 = 22;
remote1LS2 = 84;
remote1LG2 = 90;
remote1LS3 = 200;
remote1LG3 = 200;
remote1RS1 = 37;
remote1RG1 = 44;
remote1RS2 = 200;
remote1RG2 = 200;
remote1US1 = 60;
remote1UG1 = 65;
remote1US2 = 85;
remote1UG2 = 90;
remote1US3 = 200;
remote1UG3 = 200;
obX1 = 1307;
obX2 = 1448;
obX3 = 923;
obZom1 = 1;
obZom2 = 1;
obZom3 = 1;
ob_count = 3;
postX = 1234;
postY = 76;
character1 = 1;
character2 = 1;
_root.character_ready();
_root.change_style(1);
_root.rem(1);
_root.rem(2);
stop();
Instance of Symbol 41 MovieClip in Frame 351
onClipEvent (enterFrame) {
if (_root.remote_time >= _root.end_remote) {
_root.remote_time = 0;
_root.remoteR1 = 1;
_root.remoteL1 = 1;
_root.remoteU1 = 1;
_root.remoteD1 = 0;
_root.remoteS1 = 0;
_root.change_style(1);
} else {
_root.remote_sys();
_root.remote_time++;
}
i = 1;
while (i <= 2) {
_root.movesys(i);
if (_root["style" + i] == "OFF") {
_root.attack(i);
} else if (_root["style" + i] == "DIF") {
_root.diff(i);
} else if (_root["style" + i] == "FREE") {
_root.free(i);
}
_root.rem(i);
i++;
}
if (_root.keeper == 0) {
_root.balling();
_root.rem(0);
} else {
_root.WposX0 = -100;
_root.player0._x = -100;
_root.shadow0._x = -100;
}
_root.hitmode();
_root.objet_set(_root.ob_count);
_root.deba36 = "style1 : " + _root.style1;
_root.deba38 = "atm1 : " + _root.atm1;
}
Frame 356
end_remote = 95;
remote_time = 200;
teki_remote2 = false;
remote1LS1 = 30;
remote1LG1 = 45;
remote1LS2 = 200;
remote1LG2 = 200;
remote1RS1 = 60;
remote1RG1 = 75;
remote1RS2 = 200;
remote1RG2 = 200;
remote1SS1 = 15;
remote1SG1 = 90;
remote1SS2 = 200;
remote1SG2 = 200;
obX1 = 1307;
obX2 = 1448;
obX3 = 923;
obZom1 = 1;
obZom2 = 1;
obZom3 = 1;
ob_count = 3;
postX = 1234;
postY = 76;
character1 = 1;
character2 = 1;
_root.character_ready();
_root.change_style(1);
_root.rem(1);
_root.rem(2);
stop();
Instance of Symbol 41 MovieClip in Frame 356
onClipEvent (enterFrame) {
if (_root.remote_time >= _root.end_remote) {
_root.remote_time = 0;
_root.remoteR1 = 1;
_root.remoteL1 = 1;
_root.remoteU1 = 0;
_root.remoteD1 = 0;
_root.remoteS1 = 1;
_root.change_style(1);
} else {
_root.remote_sys();
_root.remote_time++;
}
i = 1;
while (i <= 2) {
_root.movesys(i);
if (_root["style" + i] == "OFF") {
_root.attack(i);
} else if (_root["style" + i] == "DIF") {
_root.diff(i);
} else if (_root["style" + i] == "FREE") {
_root.free(i);
}
_root.rem(i);
i++;
}
if (_root.keeper == 0) {
_root.balling();
_root.rem(0);
} else {
_root.WposX0 = -100;
_root.player0._x = -100;
_root.shadow0._x = -100;
}
_root.hitmode();
_root.objet_set(_root.ob_count);
_root.deba36 = "style1 : " + _root.style1;
_root.deba38 = "atm1 : " + _root.atm1;
}
Frame 361
end_remote = 60;
remote_time = 300;
teki_remote2 = true;
remote2RS1 = 15;
remote2RG1 = 35;
remote2RS2 = 200;
remote2RG2 = 200;
remote1LS1 = 20;
remote1LG1 = 23;
remote1LS2 = 200;
remote1LG2 = 200;
remote1DS1 = 24;
remote1DG1 = 40;
remote1DS2 = 200;
remote1DG2 = 200;
remote1SS1 = 25;
remote1SG1 = 30;
remote1SS2 = 200;
remote1SG2 = 200;
obX1 = 1307;
obX2 = 1448;
obX3 = 923;
obZom1 = 1;
obZom2 = 1;
obZom3 = 1;
ob_count = 3;
postX = 1234;
postY = 76;
character1 = 1;
character2 = 1;
_root.character_ready();
_root.change_style(1);
_root.rem(1);
_root.rem(2);
stop();
Instance of Symbol 41 MovieClip in Frame 361
onClipEvent (enterFrame) {
if (_root.remote_time >= _root.end_remote) {
_root.remote_time = 0;
_root.remoteR1 = 0;
_root.remoteL1 = 1;
_root.remoteU1 = 0;
_root.remoteD1 = 1;
_root.remoteS1 = 1;
_root.remoteR2 = 1;
_root.remoteL2 = 0;
_root.remoteU2 = 0;
_root.remoteD2 = 0;
_root.remoteS2 = 0;
_root.change_style(1);
} else {
_root.remote_sys();
_root.remote_time++;
}
i = 1;
while (i <= 2) {
_root.movesys(i);
if (_root["style" + i] == "OFF") {
_root.attack(i);
} else if (_root["style" + i] == "DIF") {
_root.diff(i);
} else if (_root["style" + i] == "FREE") {
_root.free(i);
}
_root.rem(i);
i++;
}
if (_root.keeper == 0) {
_root.balling();
_root.rem(0);
} else {
_root.WposX0 = -100;
_root.player0._x = -100;
_root.shadow0._x = -100;
}
_root.hitmode();
_root.objet_set(_root.ob_count);
_root.deba36 = "style1 : " + _root.style1;
_root.deba38 = "atm1 : " + _root.atm1;
}
Frame 366
point1 = 0;
point2 = 0;
obX1 = 1307;
obX2 = 1342;
obX3 = 923;
obX4 = 555;
obZom1 = 1;
obZom2 = 1;
obZom3 = 1;
obZom4 = 3;
obZom5 = 1;
ob_count = 5;
postX = 1234;
postY = 76;
_root.character_ready();
_root.change_style(2);
_root.rem(1);
_root.rem(2);
obX5 = _root.dankstep1;
stop();
Instance of Symbol 41 MovieClip in Frame 366
onClipEvent (enterFrame) {
if (_root.gamewait == true) {
_root.keysys1();
i = 1;
while (i <= 2) {
_root.movesys(i);
if (_root["style" + i] == "OFF") {
_root.attack(i);
} else if (_root["style" + i] == "DIF") {
_root.diff(i);
} else if (_root["style" + i] == "FREE") {
_root.free(i);
}
_root.rem(i);
i++;
}
if (_root.keeper == 0) {
_root.balling();
_root.rem(0);
} else {
_root.WposX0 = -100;
_root.player0._x = -100;
_root.shadow0._x = -100;
}
_root.hitmode();
_root.objet_set(_root.ob_count);
if ((_root.atm1 == "catch_stop") && (_root.atm2 == "catch_stop")) {
_root.atm1 = "catch_stop2";
_root.top_board.gotoAndPlay("fade_out");
} else if ((_root.atm1 == "traveling") && (_root.atm2 == "traveling")) {
_root.atm1 = "traveling2";
_root.top_board.gotoAndPlay("traveling");
} else if ((_root.atm1 == "post_in") && (_root.atm2 == "post_in")) {
_root.atm1 = "post_in2";
_root.top_board.gotoAndPlay("post_in");
} else if ((_root.atm1 == "out_of_bounds") && (_root.atm2 == "out_of_bounds")) {
_root.atm1 = "out_of_bounds2";
_root.top_board.gotoAndPlay("out_of_bounds");
}
}
if (Key.isDown(16)) {
_root.gotoAndPlay("title");
}
}
Frame 376
_root.game_level = "NORMAL";
_root.opt_bonus = 20000;
_root.levelwait = 2;
_root.foul_play_rule = false;
_root.gameset_count = 5;
_root.lookscore = true;
_root.lookshoot = true;
_root.gasitu = true;
_root.gamecount = 0;
bgm1 = new Sound();
bgm1.attachSound("stage_bgm1");
bgm2 = new Sound();
bgm2.attachSound("stage_bgm2");
se1 = new Sound();
se1.attachSound("seffect1");
se2 = new Sound();
se2.attachSound("seffect2");
se3 = new Sound();
se3.attachSound("seffect3");
se4 = new Sound();
se4.attachSound("seffect4");
bgm1.setVolume(50);
System.usecodepage = true;
Stage.showMenu = false;
Instance of Symbol 41 MovieClip "sender" in Frame 376
/* no clip actions */
Frame 385
if (_root.skt != 1) {
_root.getURL("http://www.skt-products.com", "_blank");
}
Frame 411
_root.gotoAndPlay("title");
Frame 459
_root.gotoAndPlay("title");
Frame 460
sc = _root.hiscore;
Instance of Symbol 41 MovieClip in Frame 460
onClipEvent (enterFrame) {
if (_parent.name.length > 1) {
_parent.sousin.gotoAndStop("visible");
} else if (_parent.name.length <= 1) {
_parent.sousin.gotoAndStop("invisible");
}
}
Frame 469
this.sender.score = _root.hiscore;
this.sender.name = _root.name;
switch (_root.character1) {
case 1 :
this.sender.dif = "STANDARD";
break;
case 2 :
this.sender.dif = "POWER";
break;
case 3 :
this.sender.dif = "SPEED";
break;
case 4 :
this.sender.dif = "JUMP";
break;
case 5 :
this.sender.dif = "SHOOT";
break;
case 6 :
this.sender.dif = "S.T.";
}
this.sender.cginum = "raid_air";
this.sender.loadVariables("../cgi-bin/account.cgi", "GET");
Frame 483
_root.gotoAndPlay("staff_role");
Symbol 20 MovieClip Frame 20
stop();
Symbol 24 MovieClip Frame 20
stop();
Symbol 28 MovieClip Frame 20
stop();
Symbol 32 MovieClip Frame 20
stop();
Symbol 36 MovieClip Frame 20
_root.gotoAndStop("title2");
stop();
Symbol 44 MovieClip Frame 1
stop();
Symbol 44 MovieClip Frame 2
stop();
Symbol 58 MovieClip Frame 10
stop();
Symbol 58 MovieClip Frame 20
stop();
Symbol 58 MovieClip Frame 30
stop();
Symbol 58 MovieClip Frame 40
stop();
Symbol 58 MovieClip Frame 50
stop();
Symbol 58 MovieClip Frame 60
stop();
Symbol 58 MovieClip Frame 70
stop();
Symbol 58 MovieClip Frame 80
stop();
Symbol 58 MovieClip Frame 90
stop();
Symbol 58 MovieClip Frame 100
stop();
Symbol 58 MovieClip Frame 110
stop();
Symbol 60 MovieClip Frame 1
stop();
Symbol 60 MovieClip Frame 10
play();
Symbol 60 MovieClip Frame 13
stop();
Symbol 60 MovieClip Frame 20
play();
Symbol 60 MovieClip Frame 23
stop();
Symbol 60 MovieClip Frame 30
play();
Symbol 60 MovieClip Frame 33
stop();
Symbol 60 MovieClip Frame 40
play();
Symbol 60 MovieClip Frame 43
stop();
Symbol 60 MovieClip Frame 50
play();
Symbol 60 MovieClip Frame 53
stop();
Symbol 60 MovieClip Frame 60
play();
Symbol 60 MovieClip Frame 63
stop();
Symbol 60 MovieClip Frame 70
play();
Symbol 60 MovieClip Frame 73
stop();
Symbol 60 MovieClip Frame 80
play();
Symbol 60 MovieClip Frame 83
stop();
Symbol 62 MovieClip Frame 1
stop();
Symbol 62 MovieClip Frame 15
stop();
Symbol 62 MovieClip Frame 25
stop();
Symbol 74 MovieClip Frame 1
stop();
Symbol 77 MovieClip Frame 1
stop();
Symbol 77 MovieClip Frame 5
stop();
Symbol 84 MovieClip Frame 1
stop();
Symbol 84 MovieClip Frame 6
stop();
Symbol 107 MovieClip Frame 6
stop();
Symbol 108 MovieClip Frame 1
stop();
Symbol 135 MovieClip Frame 1
stop();
Symbol 136 MovieClip Frame 1
stop();
Symbol 136 MovieClip Frame 20
stop();
Symbol 138 MovieClip Frame 1
stop();
Symbol 148 MovieClip Frame 1
stop();
Symbol 152 MovieClip Frame 1
stop();
Symbol 154 MovieClip Frame 1
stop();
Symbol 154 MovieClip Frame 5
stop();
Symbol 193 MovieClip Frame 1
stop();
Symbol 197 MovieClip Frame 1
stop();
Symbol 200 MovieClip Frame 1
stop();
Symbol 205 MovieClip Frame 1
stop();
Symbol 208 MovieClip Frame 1
stop();
Symbol 217 MovieClip Frame 1
stop();
Symbol 223 MovieClip Frame 1
stop();
Symbol 223 MovieClip Frame 2
stop();
Symbol 231 MovieClip Frame 1
stop();
Symbol 271 MovieClip Frame 1
stop();
Symbol 271 MovieClip Frame 18
this.gotoAndStop(1);
Symbol 283 MovieClip Frame 1
stop();
Symbol 283 MovieClip Frame 10
stop();
Symbol 299 MovieClip Frame 1
stop();
Symbol 299 MovieClip Frame 2
stop();
Symbol 304 MovieClip Frame 3
_root.se4.start();
Symbol 307 MovieClip Frame 13
this.gotoAndPlay(1);
Symbol 310 MovieClip Frame 1
stop();
Symbol 310 MovieClip Frame 2
stop();
Symbol 315 MovieClip Frame 1
stop();
Symbol 315 MovieClip Frame 2
stop();
Symbol 318 MovieClip Frame 3
_root.se4.start();
Symbol 330 MovieClip Frame 1
stop();
Symbol 335 MovieClip Frame 1
stop();
Symbol 335 MovieClip Frame 2
stop();
Symbol 336 MovieClip Frame 2
_root.se4.start();
Symbol 336 MovieClip Frame 10
stop();
Symbol 337 MovieClip Frame 4
_parent.gotoAndStop("neutral");
Symbol 340 MovieClip Frame 3
stop();
Symbol 343 MovieClip Frame 3
stop();
Symbol 343 MovieClip Frame 5
_parent.gotoAndStop("catch2");
Symbol 344 MovieClip Frame 12
stop();
Symbol 345 MovieClip Frame 2
stop();
Symbol 348 MovieClip Frame 1
stop();
Symbol 348 MovieClip Frame 2
stop();
Symbol 353 MovieClip Frame 3
stop();
Symbol 353 MovieClip Frame 5
this.gotoAndStop(7);
Symbol 353 MovieClip Frame 7
stop();
Symbol 353 MovieClip Frame 10
stop();
Symbol 353 MovieClip Frame 21
this.gotoAndPlay(this._currentframe);
Symbol 353 MovieClip Frame 23
stop();
Symbol 353 MovieClip Frame 30
stop();
Symbol 353 MovieClip Frame 40
stop();
Symbol 353 MovieClip Frame 51
stop();
Symbol 353 MovieClip Frame 59
stop();
Symbol 353 MovieClip Frame 69
stop();
Symbol 353 MovieClip Frame 75
stop();
Symbol 353 MovieClip Frame 82
stop();
Symbol 354 MovieClip Frame 2
stop();
Symbol 356 MovieClip Frame 13
stop();
Symbol 365 MovieClip Frame 1
stop();
Symbol 368 MovieClip Frame 1
stop();
Symbol 368 MovieClip Frame 2
stop();
Symbol 369 MovieClip Frame 8
stop();
Symbol 373 MovieClip Frame 1
stop();
Symbol 373 MovieClip Frame 2
stop();
Symbol 376 MovieClip Frame 4
stop();
Symbol 379 MovieClip Frame 1
stop();
Symbol 379 MovieClip Frame 2
stop();
Symbol 382 MovieClip Frame 13
this.gotoAndPlay(1);
Symbol 383 MovieClip Frame 1
stop();
Symbol 383 MovieClip Frame 5
stop();
Symbol 388 MovieClip Frame 8
stop();
Symbol 389 MovieClip Frame 10
_root["WposX" + _root.attack_mode] = _root["WposX" + _root.attack_mode] + 200;
_root["style" + _root.attack_mode] = "FREE";
_root["atm" + _root.attack_mode] = "free";
_root["muki" + _root.attack_mode] = "R";
_parent._parent.gotoAndStop("F_neutralR");
Symbol 390 MovieClip Frame 7
upbody.gotoAndPlay(7);
stop();
Symbol 391 MovieClip Frame 10
_root["WposX" + _root.attack_mode] = _root["WposX" + _root.attack_mode] + 200;
_root["style" + _root.attack_mode] = "FREE";
_root["atm" + _root.attack_mode] = "free";
_root["muki" + _root.attack_mode] = "R";
_parent._parent.gotoAndStop("F_neutralR");
Symbol 392 MovieClip Frame 7
upbody.gotoAndPlay(7);
stop();
Symbol 393 MovieClip Frame 10
_root["WposX" + _root.attack_mode] = _root["WposX" + _root.attack_mode] + 180;
_root["style" + _root.attack_mode] = "FREE";
_root["atm" + _root.attack_mode] = "free";
_root["muki" + _root.attack_mode] = "L";
_parent._parent.gotoAndStop("F_neutralL");
Symbol 394 MovieClip Frame 7
upbody.gotoAndPlay(7);
stop();
Symbol 395 MovieClip Frame 10
_root["WposX" + _root.attack_mode] = _root["WposX" + _root.attack_mode] + 180;
_root["style" + _root.attack_mode] = "FREE";
_root["atm" + _root.attack_mode] = "free";
_root["muki" + _root.attack_mode] = "L";
_parent._parent.gotoAndStop("F_neutralL");
Symbol 396 MovieClip Frame 7
upbody.gotoAndPlay(7);
stop();
Symbol 397 MovieClip Frame 10
_root["WposX" + _root.attack_mode] = _root["WposX" + _root.attack_mode] + 200;
_root["style" + _root.attack_mode] = "FREE";
_root["atm" + _root.attack_mode] = "free";
_root["muki" + _root.attack_mode] = "R";
_parent._parent.gotoAndStop("F_neutralR");
Symbol 398 MovieClip Frame 7
upbody.gotoAndPlay(7);
stop();
Symbol 400 MovieClip Frame 7
_root["WposX" + _root.attack_mode] = _root["WposX" + _root.attack_mode] - 260;
_root["style" + _root.attack_mode] = "FREE";
_root["atm" + _root.attack_mode] = "free";
_root["muki" + _root.attack_mode] = "L";
stop();
Symbol 405 MovieClip Frame 21
stop();
Symbol 408 MovieClip Frame 21
stop();
Symbol 411 MovieClip Frame 21
stop();
Symbol 415 MovieClip Frame 21
stop();
Symbol 420 MovieClip Frame 21
stop();
Instance of Symbol 41 MovieClip in Symbol 421 MovieClip Frame 1
onClipEvent (enterFrame) {
this._parent.kao.gotoAndStop(6);
this._parent.huku.gotoAndStop(_root.attack_mode);
}
Symbol 421 MovieClip Frame 9
this.gotoAndPlay(1);
Symbol 422 MovieClip Frame 21
stop();
Symbol 423 MovieClip Frame 1
stop();
Symbol 423 MovieClip Frame 10
stop();
Symbol 423 MovieClip Frame 20
stop();
Symbol 423 MovieClip Frame 30
stop();
Symbol 423 MovieClip Frame 40
stop();
Symbol 423 MovieClip Frame 50
stop();
Symbol 423 MovieClip Frame 60
stop();
Symbol 423 MovieClip Frame 70
stop();
Symbol 423 MovieClip Frame 80
stop();
Symbol 423 MovieClip Frame 90
stop();
Symbol 423 MovieClip Frame 100
stop();
Symbol 423 MovieClip Frame 130
stop();
Symbol 423 MovieClip Frame 140
stop();
Symbol 423 MovieClip Frame 150
stop();
Symbol 423 MovieClip Frame 160
stop();
Symbol 423 MovieClip Frame 170
stop();
Symbol 423 MovieClip Frame 180
stop();
Symbol 423 MovieClip Frame 190
stop();
Symbol 423 MovieClip Frame 200
stop();
Symbol 423 MovieClip Frame 230
stop();
Symbol 423 MovieClip Frame 240
stop();
Symbol 423 MovieClip Frame 250
stop();
Symbol 423 MovieClip Frame 260
stop();
Symbol 423 MovieClip Frame 270
stop();
Symbol 423 MovieClip Frame 295
stop();
Symbol 423 MovieClip Frame 305
stop();
Symbol 423 MovieClip Frame 315
stop();
Symbol 423 MovieClip Frame 325
stop();
Symbol 423 MovieClip Frame 335
stop();
Symbol 423 MovieClip Frame 345
stop();
Symbol 423 MovieClip Frame 355
stop();
Symbol 423 MovieClip Frame 365
stop();
Symbol 423 MovieClip Frame 375
stop();
Symbol 423 MovieClip Frame 384
stop();
Symbol 423 MovieClip Frame 394
stop();
Symbol 423 MovieClip Frame 404
stop();
Symbol 429 MovieClip Frame 1
stop();
Symbol 429 MovieClip Frame 11
_root.se4.start();
Symbol 429 MovieClip Frame 18
_root.se4.start();
Symbol 429 MovieClip Frame 24
this.gotoAndStop(1);
Symbol 429 MovieClip Frame 29
_root.se4.start();
Symbol 429 MovieClip Frame 35
this.gotoAndStop(1);
Symbol 446 MovieClip Frame 1
switch (_root.game_mode) {
case "1p" :
if (_root.attack_mode == 1) {
this.gotoAndStop("your");
} else {
this.gotoAndStop("enemy");
}
break;
case "2p" :
if (_root.attack_mode == 1) {
this.gotoAndStop("player1");
} else {
this.gotoAndStop("player2");
}
break;
case "vscom" :
if (_root.attack_mode == 1) {
this.gotoAndStop("your");
} else {
this.gotoAndStop("enemy");
}
break;
case "practice" :
this.gotoAndStop("practice");
}
stop();
Symbol 446 MovieClip Frame 2
stop();
Symbol 446 MovieClip Frame 10
stop();
Symbol 446 MovieClip Frame 20
stop();
Symbol 446 MovieClip Frame 30
stop();
Symbol 446 MovieClip Frame 40
stop();
Symbol 479 MovieClip Frame 1
stop();
Symbol 489 MovieClip Frame 1
stop();
Instance of Symbol 41 MovieClip in Symbol 489 MovieClip Frame 1
onClipEvent (keyDown) {
if (Key.isDown(39)) {
_root.selectmenu = 2;
_parent.cursol.gotoAndStop(2);
} else if (Key.isDown(37)) {
_root.selectmenu = 1;
_parent.cursol.gotoAndStop(1);
} else if (Key.isDown(32)) {
_parent._parent.gotoAndPlay("fade_out");
}
}
Symbol 489 MovieClip Frame 10
stop();
Instance of Symbol 41 MovieClip in Symbol 489 MovieClip Frame 10
onClipEvent (keyDown) {
if (Key.isDown(39)) {
if (_root.selectmenu != 3) {
_root.selectmenu++;
_parent.cursol.gotoAndStop(_root.selectmenu);
}
} else if (Key.isDown(37)) {
if (_root.selectmenu != 1) {
_root.selectmenu--;
_parent.cursol.gotoAndStop(_root.selectmenu);
}
} else if (Key.isDown(32)) {
_parent._parent.gotoAndPlay("fade_out");
}
}
Symbol 489 MovieClip Frame 20
stop();
Symbol 489 MovieClip Frame 30
_root.selectmenu = 3;
stop();
Symbol 491 MovieClip Frame 19
_root.gamewait = true;
Symbol 491 MovieClip Frame 27
stop();
Symbol 491 MovieClip Frame 43
if (_root.gamesetAT == true) {
_root.gamesetAT = false;
_root.lost_point = _root.point2;
_root.point1 = 0;
_root.point2 = 0;
switch (_root.game_mode) {
case "1p" :
if (_root.selectmenu == 1) {
_root.continue_count++;
_root.shoot_kaisu1 = 0;
_root.dank_count1 = 0;
_root.steel_count1 = 0;
_root.reb_count = 0;
_root.lost_point = 0;
_root.attackmode = 2;
_root.gotoAndPlay("vs");
} else if (_root.selectmenu == 2) {
_root.gotoAndPlay("game_over");
} else if (_root.selectmenu == 3) {
_root.siai++;
_root.total_shoot_kaisu = _root.total_shoot_kaisu + _root.shoot_kaisu1;
_root.total_dank_count = _root.total_dank_count + _root.dank_count1;
_root.total_steel_count = _root.total_steel_count + _root.steel_count1;
_root.total_reb_count = _root.total_reb_count + _root.reb_count;
_root.total_lost_point = _root.total_lost_point + _root.lost_point;
_root.shoot_kaisu1 = 0;
_root.dank_count1 = 0;
_root.steel_count1 = 0;
_root.reb_count = 0;
_root.lost_point = 0;
if (((_root.siai == 6) && (_root.game_level == "HARD")) && (_root.character1 != 6)) {
_root.character2 = 6;
_root.gotoAndPlay("vs");
} else if (_root.siai >= 6) {
_root.gotoAndPlay("game_clear");
} else {
_root.character2 = _root["side" + _root.siai];
_root.gotoAndPlay("vs");
}
}
break;
case "2p" :
if (_root.selectmenu == 1) {
_root.attackmode = 2;
_root.gotoAndPlay("vs");
} else if (_root.selectmenu == 2) {
_root.attackmode = 2;
_root.gotoAndPlay("select2");
} else if (_root.selectmenu == 3) {
_root.gotoAndPlay("title");
}
break;
case "vscom" :
if (_root.selectmenu == 1) {
_root.attackmode = 2;
_root.gotoAndPlay("vs");
} else if (_root.selectmenu == 2) {
_root.attackmode = 2;
_root.gotoAndPlay("select1");
} else {
if (_root.selectmenu != 3) {
break;
}
_root.gotoAndPlay("title");
}
}
} else {
switch (_root.game_mode) {
case "1p" :
_root.change_style(_root.attack_mode);
_root.rem(1);
_root.rem(2);
_root.objet_set(_root.ob_count);
break;
case "2p" :
_root.change_style(_root.attack_mode);
_root.rem(1);
_root.rem(2);
_root.objet_set(_root.ob_count);
break;
case "practice" :
_root.change_style(2);
_root.rem(1);
_root.rem(2);
_root.objet_set(_root.ob_count);
break;
case "vscom" :
_root.change_style(_root.attack_mode);
_root.rem(1);
_root.rem(2);
_root.objet_set(_root.ob_count);
}
this.gotoAndPlay(1);
}
Symbol 491 MovieClip Frame 64
if ((_root.point1 >= _root.gameset_count) || (_root.point2 >= _root.gameset_count)) {
if (_root.game_mode != "practice") {
if (_root.attack_mode == 1) {
_root.attack_mode = 2;
} else {
_root.attack_mode = 1;
}
this.gotoAndPlay("game_set");
} else {
this.gotoAndPlay("fade_out");
}
} else {
this.gotoAndPlay("fade_out");
}
Symbol 491 MovieClip Frame 65
_root.score_board.gotoAndStop("visible");
_root.score_board.scorebox = (_root.point1 + " - ") + _root.point2;
Symbol 491 MovieClip Frame 84
this.gotoAndPlay("fade_out");
Symbol 491 MovieClip Frame 104
if ((_root.point1 >= _root.gameset_count) || (_root.point2 >= _root.gameset_count)) {
if (_root.game_mode != "practice") {
if (_root.attack_mode == 1) {
_root.attack_mode = 2;
} else {
_root.attack_mode = 1;
}
this.gotoAndPlay("game_set");
} else {
this.gotoAndPlay("fade_out");
}
} else {
this.gotoAndPlay("fade_out");
}
Symbol 491 MovieClip Frame 105
_root.score_board.gotoAndStop("visible");
_root.score_board.scorebox = (_root.point1 + " - ") + _root.point2;
Symbol 491 MovieClip Frame 115
_root.gamesetAT = true;
_root.selectmenu = 1;
if (_root.game_mode == "2p") {
if (_root.attack_mode == 1) {
this.winnerkomento.gotoAndStop("1p");
} else {
this.winnerkomento.gotoAndStop("2p");
}
this.game_set_menu.gotoAndStop("won_lost");
} else if (_root.attack_mode == 1) {
this.winnerkomento.gotoAndStop("won");
} else {
this.winnerkomento.gotoAndStop("lost");
}
if (_root.game_mode == "1p") {
if (_root.attack_mode == 1) {
this.game_set_menu.gotoAndStop("won");
} else {
this.game_set_menu.gotoAndStop("lost");
}
} else if (_root.game_mode == "vscom") {
this.game_set_menu.gotoAndStop("won_lost");
}
Symbol 491 MovieClip Frame 133
_root.gamesetAT = true;
if ((_root.game_mode == "1p") && (_root.attack_mode == 1)) {
this.gotoAndPlay("fade_out");
} else {
stop();
}
Symbol 491 MovieClip Frame 134
stop();
Instance of Symbol 525 MovieClip in Symbol 526 MovieClip Frame 1
onClipEvent (enterFrame) {
this._width = (_root.Wmap / 10) + 30;
}
Symbol 565 MovieClip Frame 1
_root.how_carsol = 15;
this.gotoAndStop(15);
Symbol 565 MovieClip Frame 5
_root.how_carsol = 75;
this.gotoAndStop(75);
Symbol 565 MovieClip Frame 10
_root.how_carsol = 75;
this.gotoAndStop(75);
Symbol 565 MovieClip Frame 11
_root.how_carsol = 15;
this.gotoAndStop(15);
Symbol 565 MovieClip Frame 12
_root.how_carsol = 15;
this.gotoAndStop(15);
Symbol 565 MovieClip Frame 13
_root.how_carsol = 15;
this.gotoAndStop(15);
Symbol 565 MovieClip Frame 14
_root.how_carsol = 75;
this.gotoAndStop(75);
Symbol 565 MovieClip Frame 16
_root.how_carsol = 21;
this.gotoAndStop(21);
Symbol 565 MovieClip Frame 20
_root.how_carsol = 11;
this.gotoAndStop(11);
Symbol 565 MovieClip Frame 24
_root.how_carsol = 31;
this.gotoAndStop(31);
Symbol 565 MovieClip Frame 25
_root.how_carsol = 21;
this.gotoAndStop(21);
Symbol 565 MovieClip Frame 30
_root.how_carsol = 23;
this.gotoAndStop(23);
Symbol 565 MovieClip Frame 34
_root.how_carsol = 41;
this.gotoAndStop(41);
Symbol 565 MovieClip Frame 40
_root.how_carsol = 33;
this.gotoAndStop(33);
Symbol 565 MovieClip Frame 44
_root.how_carsol = 51;
this.gotoAndStop(51);
Symbol 565 MovieClip Frame 50
_root.how_carsol = 43;
this.gotoAndStop(43);
Symbol 565 MovieClip Frame 54
_root.how_carsol = 61;
this.gotoAndStop(61);
Symbol 565 MovieClip Frame 60
_root.how_carsol = 53;
this.gotoAndStop(53);
Symbol 565 MovieClip Frame 64
_root.how_carsol = 71;
this.gotoAndStop(71);
Symbol 565 MovieClip Frame 65
_root.how_carsol = 63;
this.gotoAndStop(63);
Symbol 565 MovieClip Frame 70
_root.how_carsol = 63;
this.gotoAndStop(63);
Symbol 565 MovieClip Frame 71
_root.how_carsol = 75;
this.gotoAndStop(75);
Symbol 565 MovieClip Frame 72
_root.how_carsol = 75;
this.gotoAndStop(75);
Symbol 565 MovieClip Frame 73
_root.how_carsol = 75;
this.gotoAndStop(75);
Symbol 565 MovieClip Frame 74
_root.how_carsol = 63;
this.gotoAndStop(63);
Symbol 565 MovieClip Frame 76
_root.how_carsol = 11;
this.gotoAndStop(11);
Symbol 565 MovieClip Frame 81
_root.how_carsol = 11;
this.gotoAndStop(11);
Symbol 565 MovieClip Frame 85
_root.how_carsol = 11;
this.gotoAndStop(11);
Symbol 578 MovieClip Frame 11
stop();
Instance of Symbol 41 MovieClip in Symbol 578 MovieClip Frame 11
onClipEvent (keyDown) {
_root.gotoAndStop(_root._currentframe + 1);
}
Symbol 611 MovieClip Frame 11
stop();
Instance of Symbol 41 MovieClip in Symbol 611 MovieClip Frame 11
onClipEvent (keyDown) {
this._parent.gotoAndStop("how_to_play");
}
Symbol 680 MovieClip Frame 5
stop();
Symbol 695 Button
on (press) {
_root.gotoAndPlay("staff_role");
}
Symbol 699 Button
on (press) {
_root.gotoAndPlay("sousin");
}
Symbol 700 MovieClip Frame 1
stop();