Combined Code
movieClip 11 {
}
movieClip 29 {
}
movieClip 33 {
}
button 38 {
on (release) {
_root.play();
}
}
movieClip 39 {
frame 6 {
stop();
}
}
movieClip 40 {
frame 1 {
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndStop('loaded');
}
}
frame 2 {
gotoAndPlay(1);
}
}
frame 2 {
var savefile = SharedObject.getLocal('streetfighterloafinal', '/');
caricamento = false;
stop();
}
movieClip 42 {
}
button 45 {
on (release) {
_root.play();
stopAllSounds();
}
}
movieClip 56 {
}
movieClip 121 {
}
movieClip 144 {
}
movieClip 161 {
}
movieClip 177 {
}
movieClip 184 {
}
movieClip 188 {
}
movieClip 193 {
}
movieClip 365 {
}
movieClip 378 {
}
movieClip 389 {
}
movieClip 480 {
}
movieClip 701 {
}
movieClip 724 {
}
movieClip 727 {
}
movieClip 742 {
}
movieClip 765 {
}
movieClip 800 {
}
movieClip 801 {
}
movieClip 825 {
frame 2317 {
_root.play();
}
}
frame 3 {
stop();
level = savefile.data.level;
listato = savefile.data.listato;
listato2 = savefile.data.listato2;
listato3 = savefile.data.listato3;
livello0 = savefile.data.livello0;
livello1 = savefile.data.livello1;
livello2 = savefile.data.livello2;
livello3 = savefile.data.livello3;
livello4 = savefile.data.livello4;
livello5 = savefile.data.livello5;
livello6 = savefile.data.livello6;
livello7 = savefile.data.livello7;
livello8 = savefile.data.livello8;
livello9 = savefile.data.livello9;
livello10 = savefile.data.livello10;
livello11 = savefile.data.livello11;
livello12 = savefile.data.livello12;
livello13 = savefile.data.livello13;
livello14 = savefile.data.livello14;
livello15 = savefile.data.livello15;
livello15b = savefile.data.livello15b;
livello16 = savefile.data.livello16;
livello17 = savefile.data.livello17;
livello19 = savefile.data.livello19;
levelken = savefile.data.levelken;
expken = savefile.data.expken;
styleken = savefile.data.styleken;
maxhpken = savefile.data.maxhpken;
maxfocusken = savefile.data.maxfocusken;
styleryu = savefile.data.styleryu;
levelryu = savefile.data.levelryu;
expryu = savefile.data.expryu;
maxhpryu = savefile.data.maxhpryu;
maxfocusryu = savefile.data.maxfocusryu;
}
button 828 {
on (release) {
gotoAndPlay('plai');
}
}
button 831 {
on (release) {
gotoAndPlay('loding');
}
}
button 834 {
on (release) {
gotoAndPlay('credits');
}
}
button 842 {
on (release) {
gotoAndPlay('inizio');
}
}
movieClip 854 {
}
movieClip 860 {
frame 10 {
stop();
}
}
button 863 {
on (release) {
stopAllSounds();
_root.gotoAndPlay('battle');
}
}
movieClip 865 {
frame 3 {
stop();
}
frame 7 {
stop();
}
}
button 869 {
on (release) {
_root.difficolta = 3;
_root.scena.facile.gotoAndPlay('off');
_root.scena.difficile.gotoAndPlay('off');
_root.scena.normale.gotoAndPlay('on');
}
}
movieClip 870 {
frame 3 {
stop();
}
frame 6 {
stop();
}
}
button 873 {
on (release) {
_root.difficolta = 5;
_root.scena.facile.gotoAndPlay('on');
_root.scena.difficile.gotoAndPlay('off');
_root.scena.normale.gotoAndPlay('off');
}
}
movieClip 874 {
frame 3 {
stop();
}
frame 6 {
stop();
}
}
button 877 {
on (release) {
_root.difficolta = 0;
_root.scena.facile.gotoAndPlay('off');
_root.scena.difficile.gotoAndPlay('on');
_root.scena.normale.gotoAndPlay('off');
}
}
movieClip 878 {
frame 3 {
stop();
}
frame 6 {
stop();
}
}
button 880 {
on (release) {
gotoAndPlay('plai');
}
}
button 882 {
on (release) {
play();
}
}
movieClip 883 {
frame 35 {
stop();
}
frame 53 {
stop();
}
frame 67 {
stop();
_root.difficolta = 3;
}
instance of movieClip 865 {
onClipEvent (enterFrame) {
if (_root.livello1 == undefined) {
gotoAndPlay('off');
}
}
}
frame 107 {
stop();
_root.difficolta = 3;
}
frame 108 {
_root.gotoAndPlay('nuovogioco');
}
}
frame 4 {
stop();
savefile.data.level = level;
savefile.data.listato = listato;
savefile.data.listato2 = listato2;
savefile.data.listato3 = listato3;
savefile.data.livello0 = livello0;
savefile.data.livello1 = livello1;
savefile.data.livello2 = livello2;
savefile.data.livello3 = livello3;
savefile.data.livello4 = livello4;
savefile.data.livello5 = livello5;
savefile.data.livello6 = livello6;
savefile.data.livello7 = livello7;
savefile.data.livello8 = livello8;
savefile.data.livello9 = livello9;
savefile.data.livello10 = livello10;
savefile.data.livello11 = livello11;
savefile.data.livello12 = livello12;
savefile.data.livello13 = livello13;
savefile.data.livello14 = livello14;
savefile.data.livello15 = livello15;
savefile.data.livello15b = livello15b;
savefile.data.livello16 = livello16;
savefile.data.livello17 = livello17;
savefile.data.livello19 = livello19;
savefile.data.levelken = levelken;
savefile.data.expken = expken;
savefile.data.styleken = styleken;
savefile.data.maxhpken = maxhpken;
savefile.data.maxfocusken = maxfocusken;
savefile.data.levelryu = levelryu;
savefile.data.expryu = expryu;
savefile.data.styleryu = styleryu;
savefile.data.maxhpryu = maxhpryu;
savefile.data.maxfocusryu = maxfocusryu;
savefile.flush();
}
movieClip 889 {
frame 2 {
stop();
}
frame 4 {
stop();
}
}
button 892 {
on (release) {
_root.scena.lista.gotoAndPlay('chap0');
_root.scena.chap0.gotoAndPlay('off');
_root.scena.chap1.gotoAndPlay('on');
_root.scena.chap2.gotoAndPlay('on');
_root.scena.chap3.gotoAndPlay('on');
}
}
movieClip 894 {
frame 3 {
stop();
}
frame 7 {
stop();
}
}
button 897 {
on (release) {
_root.scena.lista.gotoAndPlay('chap1');
_root.scena.chap0.gotoAndPlay('on');
_root.scena.chap1.gotoAndPlay('off');
_root.scena.chap2.gotoAndPlay('on');
_root.scena.chap3.gotoAndPlay('on');
}
}
movieClip 899 {
frame 3 {
stop();
}
frame 7 {
stop();
}
}
button 902 {
on (release) {
_root.scena.lista.gotoAndPlay('chap2');
_root.scena.chap0.gotoAndPlay('on');
_root.scena.chap1.gotoAndPlay('on');
_root.scena.chap2.gotoAndPlay('off');
_root.scena.chap3.gotoAndPlay('on');
}
}
movieClip 904 {
frame 3 {
stop();
}
frame 7 {
stop();
}
}
button 907 {
on (release) {
_root.scena.lista.gotoAndPlay('chap3');
_root.scena.chap0.gotoAndPlay('on');
_root.scena.chap1.gotoAndPlay('on');
_root.scena.chap2.gotoAndPlay('on');
_root.scena.chap3.gotoAndPlay('off');
}
}
movieClip 909 {
frame 4 {
stop();
}
frame 9 {
stop();
}
}
movieClip 910 {
}
movieClip 911 {
frame 3 {
stop();
}
frame 6 {
stop();
}
}
movieClip 913 {
}
button 917 {
on (release) {
_root.scena.lista.gotoAndPlay('inizio');
_root.scena.levelup.gotoAndPlay('ryu');
_root.scena.chap0.gotoAndPlay('off');
_root.scena.chap1.gotoAndPlay('off');
_root.scena.chap2.gotoAndPlay('off');
_root.scena.chap3.gotoAndPlay('off');
}
}
button 918 {
on (release) {
_root.scena.lista.gotoAndPlay('inizio');
_root.scena.levelup.gotoAndPlay('ken');
_root.scena.chap0.gotoAndPlay('off');
_root.scena.chap1.gotoAndPlay('off');
_root.scena.chap2.gotoAndPlay('off');
_root.scena.chap3.gotoAndPlay('off');
}
}
movieClip 937 {
instance of movieClip 911 {
onClipEvent (enterFrame) {
if (_root.expryu >= 1) {
gotoAndPlay('on');
} else {
gotoAndPlay('off');
}
}
}
instance of movieClip 911 {
onClipEvent (enterFrame) {
if (_root.expken >= 1) {
gotoAndPlay('on');
} else {
gotoAndPlay('off');
}
}
}
}
button 956 {
on (release) {
_root.scena.play();
_root.level = 2;
}
}
movieClip 957 {
frame 3 {
stop();
}
frame 6 {
stop();
}
}
button 966 {
on (release) {
_root.scena.play();
_root.level = 1;
}
}
movieClip 967 {
frame 3 {
stop();
}
frame 7 {
stop();
}
}
button 976 {
on (release) {
_root.scena.play();
_root.level = 0;
}
}
movieClip 977 {
frame 3 {
stop();
}
frame 6 {
stop();
}
}
button 990 {
on (release) {
_root.scena.play();
_root.level = 7;
}
}
movieClip 991 {
frame 3 {
stop();
}
frame 6 {
stop();
}
frame 9 {
stop();
}
}
movieClip 997 {
}
button 1002 {
on (release) {
_root.scena.play();
_root.level = 8;
}
}
movieClip 1003 {
frame 3 {
stop();
}
frame 6 {
stop();
}
frame 9 {
stop();
}
}
button 1013 {
on (release) {
_root.scena.play();
_root.level = 9;
}
}
movieClip 1014 {
frame 3 {
stop();
}
frame 6 {
stop();
}
frame 9 {
stop();
}
}
button 1024 {
on (release) {
_root.scena.play();
_root.level = 10;
}
}
movieClip 1025 {
frame 3 {
stop();
}
frame 6 {
stop();
}
frame 9 {
stop();
}
}
button 1035 {
on (release) {
_root.scena.play();
_root.level = 4;
}
}
movieClip 1036 {
frame 3 {
stop();
}
frame 6 {
stop();
}
frame 9 {
stop();
}
}
button 1045 {
on (release) {
_root.scena.play();
_root.level = 3;
}
}
movieClip 1046 {
frame 3 {
stop();
}
frame 6 {
stop();
}
}
button 1056 {
on (release) {
_root.scena.play();
_root.level = 12;
}
}
movieClip 1057 {
frame 3 {
stop();
}
frame 6 {
stop();
}
frame 9 {
stop();
}
}
button 1067 {
on (release) {
_root.scena.play();
_root.level = 13;
}
}
movieClip 1068 {
frame 3 {
stop();
}
frame 6 {
stop();
}
frame 9 {
stop();
}
}
button 1078 {
on (release) {
_root.scena.play();
_root.level = 14;
}
}
movieClip 1079 {
frame 3 {
stop();
}
frame 6 {
stop();
}
frame 9 {
stop();
}
}
button 1090 {
on (release) {
_root.scena.play();
_root.level = 11;
}
}
movieClip 1091 {
frame 3 {
stop();
}
frame 6 {
stop();
}
frame 9 {
stop();
}
}
button 1101 {
on (release) {
_root.scena.play();
_root.level = 6;
}
}
movieClip 1102 {
frame 3 {
stop();
}
frame 6 {
stop();
}
frame 9 {
stop();
}
}
button 1111 {
on (release) {
_root.scena.play();
_root.level = 5;
}
}
movieClip 1112 {
frame 3 {
stop();
}
frame 6 {
stop();
}
}
button 1124 {
on (release) {
_root.scena.play();
_root.level = 19;
}
}
movieClip 1125 {
frame 3 {
stop();
}
frame 6 {
stop();
}
frame 9 {
stop();
}
}
button 1135 {
on (release) {
_root.scena.play();
_root.level = 15;
}
}
movieClip 1136 {
frame 3 {
stop();
}
frame 6 {
stop();
}
frame 9 {
stop();
}
}
button 1146 {
on (release) {
_root.scena.play();
_root.level = 16;
}
}
movieClip 1147 {
frame 3 {
stop();
}
frame 6 {
stop();
}
frame 9 {
stop();
}
}
button 1155 {
on (release) {
_root.scena.play();
_root.level = 17;
}
}
movieClip 1156 {
frame 3 {
stop();
}
frame 6 {
stop();
}
frame 9 {
stop();
}
}
movieClip 1157 {
frame 6 {
stop();
}
frame 23 {
stop();
}
instance of movieClip 957 {
onClipEvent (enterFrame) {
if (_root.livello2 == true) {
gotoAndPlay('off');
}
}
}
instance of movieClip 967 {
onClipEvent (enterFrame) {
if (_root.livello1 == true) {
gotoAndPlay('off');
}
}
}
instance of movieClip 977 {
onClipEvent (enterFrame) {
if (_root.livello0 == true) {
gotoAndPlay('off');
}
}
}
frame 40 {
stop();
}
instance of movieClip 991 {
onClipEvent (enterFrame) {
if (_root.livello4 == true and _root.livello7 == false) {
gotoAndPlay('on');
}
if (_root.livello7 == true) {
gotoAndPlay('off');
}
}
}
instance of movieClip 1003 {
onClipEvent (enterFrame) {
if (_root.livello7 == true and _root.livello8 == false) {
gotoAndPlay('on');
} else {
if (_root.livello8 == true) {
gotoAndPlay('off');
}
}
}
}
instance of movieClip 1014 {
onClipEvent (enterFrame) {
if (_root.livello8 == true and _root.livello9 == false) {
gotoAndPlay('on');
} else {
if (_root.livello8 == true and _root.livello9 == true) {
gotoAndPlay('off');
}
}
}
}
instance of movieClip 1025 {
onClipEvent (enterFrame) {
if (_root.livello9 == true and _root.livello10 == false) {
gotoAndPlay('on');
} else {
if (_root.livello9 == true and _root.livello10 == true) {
gotoAndPlay('off');
}
}
}
}
instance of movieClip 1036 {
onClipEvent (enterFrame) {
if (_root.livello3 == true and _root.livello4 == false) {
gotoAndPlay('on');
}
if (_root.livello4 == true) {
gotoAndPlay('off');
}
}
}
instance of movieClip 1046 {
onClipEvent (enterFrame) {
if (_root.livello3 == true) {
gotoAndPlay('off');
}
}
}
frame 58 {
stop();
}
instance of movieClip 1057 {
onClipEvent (enterFrame) {
if (_root.livello11 == true and _root.livello12 == false) {
gotoAndPlay('on');
} else {
if (_root.livello11 == true and _root.livello12 == true) {
gotoAndPlay('off');
}
}
}
}
instance of movieClip 1068 {
onClipEvent (enterFrame) {
if (_root.livello12 == true and _root.livello13 == false) {
gotoAndPlay('on');
} else {
if (_root.livello12 == true and _root.livello13 == true) {
gotoAndPlay('off');
}
}
}
}
instance of movieClip 1079 {
onClipEvent (enterFrame) {
if (_root.livello13 == true and _root.livello14 == false) {
gotoAndPlay('on');
} else {
if (_root.livello13 == true and _root.livello14 == true) {
gotoAndPlay('off');
}
}
}
}
instance of movieClip 1091 {
onClipEvent (enterFrame) {
if (_root.livello6 == true and _root.livello11 == false) {
gotoAndPlay('on');
}
if (_root.livello11 == true) {
gotoAndPlay('off');
}
}
}
instance of movieClip 1102 {
onClipEvent (enterFrame) {
if (_root.livello5 == true and _root.livello6 == false) {
gotoAndPlay('on');
}
if (_root.livello6 == true) {
gotoAndPlay('off');
}
}
}
instance of movieClip 1112 {
onClipEvent (enterFrame) {
if (_root.livello5 == true) {
gotoAndPlay('off');
}
}
}
frame 76 {
stop();
}
instance of movieClip 1125 {
onClipEvent (enterFrame) {
if (_root.livello15b == true and _root.livello19 == false) {
gotoAndPlay('on');
} else {
if (_root.livello15b == true and _root.livello19 == true) {
gotoAndPlay('off');
}
}
}
}
instance of movieClip 1136 {
onClipEvent (enterFrame) {
if (_root.listato3 == true and _root.livello15b == false) {
gotoAndPlay('on');
} else {
if (_root.livello15b == true) {
gotoAndPlay('off');
}
}
}
}
instance of movieClip 1147 {
onClipEvent (enterFrame) {
if (_root.livello15 == true and _root.livello16 == false) {
gotoAndPlay('on');
} else {
if (_root.livello15 == true and _root.livello16 == true) {
gotoAndPlay('off');
}
}
}
}
instance of movieClip 1156 {
onClipEvent (enterFrame) {
if (_root.livello16 == true and _root.livello17 == false) {
gotoAndPlay('on');
} else {
if (_root.livello16 == true and _root.livello17 == true) {
gotoAndPlay('off');
}
}
}
}
}
button 1171 {
on (release) {
_root.expryu -= 1;
_root.maxhpryu += 5;
}
}
movieClip 1172 {
frame 3 {
stop();
}
frame 6 {
stop();
}
}
button 1173 {
on (release) {
_root.expryu += 1;
_root.maxhpryu -= 5;
}
}
movieClip 1174 {
frame 3 {
stop();
}
frame 6 {
stop();
}
}
button 1175 {
on (release) {
_root.expryu -= 1;
_root.maxfocusryu += 5;
}
}
movieClip 1176 {
frame 3 {
stop();
}
frame 6 {
stop();
}
}
button 1177 {
on (release) {
_root.expryu += 1;
_root.maxfocusryu -= 5;
}
}
movieClip 1178 {
frame 3 {
stop();
}
frame 6 {
stop();
}
}
button 1179 {
on (release) {
_root.expryu -= 1;
_root.styleryu += 1;
}
}
movieClip 1180 {
frame 3 {
stop();
}
frame 6 {
stop();
}
}
button 1181 {
on (release) {
_root.expryu += 1;
_root.styleryu -= 1;
}
}
movieClip 1182 {
frame 3 {
stop();
}
frame 6 {
stop();
}
}
movieClip 1191 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1196 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1201 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1208 {
}
movieClip 1211 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 1216 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 1221 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 1226 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1231 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1236 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1241 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1246 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 1251 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 1256 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 1261 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 1264 {
}
button 1265 {
on (release) {
play();
_root.scena.chap0.gotoAndPlay('on');
_root.scena.chap1.gotoAndPlay('on');
_root.scena.chap2.gotoAndPlay('on');
_root.scena.chap3.gotoAndPlay('on');
}
}
movieClip 1284 {
frame 10 {
stop();
}
}
movieClip 1289 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1294 {
frame 1 {
stop();
if (_root.player1.ap < 3) {
gotoAndPlay('off');
}
}
frame 2 {
stop();
}
}
movieClip 1296 {
frame 1 {
stop();
if (_root.player1.ap < 3) {
gotoAndPlay('off');
}
}
frame 2 {
stop();
}
}
movieClip 1301 {
frame 1 {
stop();
if (_root.player1.ap < 3) {
gotoAndPlay('off');
}
}
frame 2 {
stop();
}
}
movieClip 1303 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 1305 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 1310 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 1315 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 1320 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 1325 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 1332 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
button 1333 {
on (release) {
_root.expken -= 1;
_root.maxhpken += 5;
}
}
movieClip 1334 {
frame 3 {
stop();
}
frame 6 {
stop();
}
}
button 1335 {
on (release) {
_root.expken += 1;
_root.maxhpken -= 5;
}
}
movieClip 1336 {
frame 3 {
stop();
}
frame 6 {
stop();
}
}
button 1337 {
on (release) {
_root.expken -= 1;
_root.maxfocusken += 5;
}
}
movieClip 1338 {
frame 3 {
stop();
}
frame 6 {
stop();
}
}
button 1339 {
on (release) {
_root.expken += 1;
_root.maxfocusken -= 5;
}
}
movieClip 1340 {
frame 3 {
stop();
}
frame 6 {
stop();
}
}
button 1341 {
on (release) {
_root.expken -= 1;
_root.styleken += 1;
}
}
movieClip 1342 {
frame 3 {
stop();
}
frame 6 {
stop();
}
}
button 1343 {
on (release) {
_root.expken += 1;
_root.styleken -= 1;
}
}
movieClip 1344 {
frame 3 {
stop();
}
frame 6 {
stop();
}
}
movieClip 1345 {
frame 3 {
stop();
}
frame 10 {
stop();
}
instance of movieClip 1172 {
onClipEvent (enterFrame) {
if (_root.expryu >= 1) {
gotoAndPlay('on');
} else {
gotoAndPlay('off');
}
}
}
instance of movieClip 1174 {
onClipEvent (enterFrame) {
maxexp = _root.levelryu - 1;
if (_root.expryu < maxexp and _root.maxhpryu >= 15) {
gotoAndPlay('on');
} else {
gotoAndPlay('off');
}
}
}
instance of movieClip 1176 {
onClipEvent (enterFrame) {
if (_root.expryu >= 1) {
gotoAndPlay('on');
} else {
gotoAndPlay('off');
}
}
}
instance of movieClip 1178 {
onClipEvent (enterFrame) {
maxexp = _root.levelryu - 1;
if (_root.expryu < maxexp and _root.maxfocusryu >= 15) {
gotoAndPlay('on');
} else {
gotoAndPlay('off');
}
}
}
instance of movieClip 1180 {
onClipEvent (enterFrame) {
if (_root.expryu >= 1) {
gotoAndPlay('on');
} else {
gotoAndPlay('off');
}
}
}
instance of movieClip 1182 {
onClipEvent (enterFrame) {
maxexp = _root.levelryu - 1;
if (_root.expryu < maxexp and _root.styleryu >= 2) {
gotoAndPlay('on');
} else {
gotoAndPlay('off');
}
}
}
instance of movieClip 1211 {
onClipEvent (enterFrame) {
if (_root.livello10 == true) {
gotoAndPlay('on');
}
}
}
instance of movieClip 1216 {
onClipEvent (enterFrame) {
if (_root.livello0 == true) {
gotoAndPlay('on');
}
}
}
instance of movieClip 1221 {
onClipEvent (enterFrame) {
if (_root.styleryu >= 4) {
gotoAndPlay('on');
} else {
gotoAndPlay('boh');
}
}
}
instance of movieClip 1246 {
onClipEvent (enterFrame) {
if (_root.styleryu >= 2) {
gotoAndPlay('on');
} else {
gotoAndPlay('boh');
}
}
}
instance of movieClip 1251 {
onClipEvent (enterFrame) {
if (_root.styleryu >= 3) {
gotoAndPlay('on');
} else {
gotoAndPlay('boh');
}
}
}
instance of movieClip 1256 {
onClipEvent (enterFrame) {
if (_root.styleryu >= 5) {
gotoAndPlay('on');
} else {
gotoAndPlay('boh');
}
}
}
instance of movieClip 1261 {
onClipEvent (enterFrame) {
if (_root.styleryu >= 6) {
gotoAndPlay('on');
} else {
gotoAndPlay('boh');
}
}
}
frame 15 {
gotoAndPlay('inizio');
}
frame 22 {
stop();
}
instance of movieClip 1303 {
onClipEvent (enterFrame) {
if (_root.styleken >= 2) {
gotoAndPlay('on');
} else {
gotoAndPlay('eh');
}
}
}
instance of movieClip 1305 {
onClipEvent (enterFrame) {
if (_root.styleken >= 3) {
gotoAndPlay('on');
} else {
gotoAndPlay('eh');
}
}
}
instance of movieClip 1310 {
onClipEvent (enterFrame) {
if (_root.styleken >= 5) {
gotoAndPlay('on');
} else {
gotoAndPlay('eh');
}
}
}
instance of movieClip 1315 {
onClipEvent (enterFrame) {
if (_root.styleken >= 6) {
gotoAndPlay('on');
} else {
gotoAndPlay('eh');
}
}
}
instance of movieClip 1320 {
onClipEvent (enterFrame) {
if (_root.livello0 == true) {
gotoAndPlay('on');
}
}
}
instance of movieClip 1325 {
onClipEvent (enterFrame) {
if (_root.styleken >= 4) {
gotoAndPlay('on');
} else {
gotoAndPlay('eh');
}
}
}
instance of movieClip 1332 {
onClipEvent (enterFrame) {
if (_root.livello14 == true) {
gotoAndPlay('on');
}
}
}
instance of movieClip 1334 {
onClipEvent (enterFrame) {
if (_root.expken >= 1) {
gotoAndPlay('on');
} else {
gotoAndPlay('off');
}
}
}
instance of movieClip 1336 {
onClipEvent (enterFrame) {
maxexp = _root.levelken - 1;
if (_root.expken < maxexp and _root.maxhpken >= 15) {
gotoAndPlay('on');
} else {
gotoAndPlay('off');
}
}
}
instance of movieClip 1338 {
onClipEvent (enterFrame) {
if (_root.expken >= 1) {
gotoAndPlay('on');
} else {
gotoAndPlay('off');
}
}
}
instance of movieClip 1340 {
onClipEvent (enterFrame) {
maxexp = _root.levelken - 1;
if (_root.expken < maxexp and _root.maxfocusken >= 15) {
gotoAndPlay('on');
} else {
gotoAndPlay('off');
}
}
}
instance of movieClip 1342 {
onClipEvent (enterFrame) {
if (_root.expken >= 1) {
gotoAndPlay('on');
} else {
gotoAndPlay('off');
}
}
}
instance of movieClip 1344 {
onClipEvent (enterFrame) {
maxexp = _root.levelken - 1;
if (_root.expken < maxexp and _root.styleken >= 2) {
gotoAndPlay('on');
} else {
gotoAndPlay('off');
}
}
}
frame 27 {
gotoAndPlay('inizio');
}
}
movieClip 1354 {
}
movieClip 1469 {
}
movieClip 1545 {
}
movieClip 1584 {
}
movieClip 1604 {
}
movieClip 1630 {
}
movieClip 1723 {
frame 26 {
stop();
nu.onRelease = function () {
play();
};
}
frame 84 {
stop();
nu.onRelease = function () {
play();
};
}
frame 137 {
stop();
nu.onRelease = function () {
play();
};
}
frame 174 {
stop();
nu.onRelease = function () {
play();
};
}
frame 185 {
stop();
nu.onRelease = function () {
play();
};
}
frame 196 {
stop();
nu.onRelease = function () {
play();
};
}
frame 207 {
stop();
nu.onRelease = function () {
play();
};
}
frame 228 {
stop();
nu.onRelease = function () {
play();
};
}
frame 251 {
stop();
nu.onRelease = function () {
play();
};
}
frame 262 {
stop();
nu.onRelease = function () {
play();
};
}
frame 346 {
stop();
nu.onRelease = function () {
play();
};
}
frame 371 {
stop();
nu.onRelease = function () {
play();
};
}
frame 382 {
stop();
nu.onRelease = function () {
play();
};
}
frame 393 {
stop();
nu.onRelease = function () {
play();
};
}
frame 418 {
stop();
nu.onRelease = function () {
play();
};
}
frame 443 {
stop();
nu.onRelease = function () {
play();
};
}
frame 614 {
_root.scena.gotoAndPlay('inizio');
}
}
movieClip 1727 {
frame 280 {
stop();
}
}
movieClip 1730 {
}
movieClip 1732 {
}
movieClip 1735 {
frame 53 {
stop();
nu.onRelease = function () {
play();
};
}
frame 63 {
stop();
nu.onRelease = function () {
play();
};
}
frame 73 {
stop();
nu.onRelease = function () {
play();
};
}
frame 174 {
_root.scena.gotoAndPlay('inizio');
}
}
movieClip 1750 {
}
movieClip 1784 {
instance of movieClip 889 {
onClipEvent (enterFrame) {
if (_root.listato3 == true) {
gotoAndPlay('due');
}
}
}
frame 2 {
if (_root.listato == false) {
_root.listato = true;
gotoAndPlay('tutorial');
}
}
frame 3 {
if (_root.listato2 == false and _root.livello4 == true and _root.livello6 == true) {
_root.listato2 = true;
gotoAndPlay('pregame');
}
}
frame 4 {
if (_root.listato3 == false and _root.livello9 == true and _root.livello13 == true) {
_root.listato3 = true;
gotoAndPlay('congrats');
}
}
frame 17 {
stop();
_root.listato = true;
}
frame 31 {
stop();
if (_root.level == 0) {
_root.gotoAndPlay('level0');
_root.listato = true;
}
if (_root.level == 1) {
_root.gotoAndPlay('level1');
_root.listato = true;
}
if (_root.level == 2) {
_root.gotoAndPlay('level2');
_root.listato = true;
}
if (_root.level == 3) {
_root.gotoAndPlay('prelevel3');
_root.listato = true;
}
if (_root.level == 4) {
_root.gotoAndPlay('prelevel4');
_root.listato = true;
}
if (_root.level == 5) {
_root.gotoAndPlay('prelevel5');
_root.listato = true;
}
if (_root.level == 6) {
_root.gotoAndPlay('prelevel6');
_root.listato = true;
}
if (_root.level == 7) {
_root.gotoAndPlay('prelevel7');
_root.listato = true;
}
if (_root.level == 8) {
_root.gotoAndPlay('prelevel8');
_root.listato = true;
}
if (_root.level == 9) {
_root.gotoAndPlay('prelevel9');
_root.listato = true;
}
if (_root.level == 10) {
_root.gotoAndPlay('prelevel10');
_root.listato = true;
}
if (_root.level == 11) {
_root.gotoAndPlay('prelevel11');
_root.listato = true;
}
if (_root.level == 12) {
_root.gotoAndPlay('prelevel12');
_root.listato = true;
}
if (_root.level == 13) {
_root.gotoAndPlay('prelevel13');
_root.listato = true;
}
if (_root.level == 14) {
_root.gotoAndPlay('prelevel14');
_root.listato = true;
}
if (_root.level == 15) {
_root.gotoAndPlay('prelevel15');
_root.listato = true;
}
if (_root.level == 16) {
_root.gotoAndPlay('prelevel16');
_root.listato = true;
}
if (_root.level == 17) {
_root.gotoAndPlay('prelevel17');
_root.listato = true;
}
if (_root.level == 19) {
_root.gotoAndPlay('prelevel19');
_root.listato = true;
}
}
frame 32 {
stop();
}
frame 33 {
stop();
}
instance of movieClip 889 {
onClipEvent (enterFrame) {
if (_root.listato3 == true) {
gotoAndPlay('due');
}
}
}
instance of movieClip 911 {
onClipEvent (enterFrame) {
if (_root.expryu >= 1) {
gotoAndPlay('on');
} else {
gotoAndPlay('off');
}
}
}
instance of movieClip 911 {
onClipEvent (enterFrame) {
if (_root.expken >= 1) {
gotoAndPlay('on');
} else {
gotoAndPlay('off');
}
}
}
frame 48 {
stop();
nu.onRelease = function () {
play();
};
}
frame 59 {
stop();
nu.onRelease = function () {
play();
};
}
frame 86 {
stop();
nu.onRelease = function () {
play();
};
}
frame 97 {
stop();
nu.onRelease = function () {
play();
};
}
frame 108 {
stop();
nu.onRelease = function () {
play();
};
}
instance of movieClip 1172 {
onClipEvent (enterFrame) {
if (_root.expryu >= 1) {
gotoAndPlay('on');
} else {
gotoAndPlay('off');
}
}
}
instance of movieClip 1174 {
onClipEvent (enterFrame) {
maxexp = _root.levelryu - 1;
if (_root.expryu < maxexp and _root.maxhpryu >= 15) {
gotoAndPlay('on');
} else {
gotoAndPlay('off');
}
}
}
instance of movieClip 1176 {
onClipEvent (enterFrame) {
if (_root.expryu >= 1) {
gotoAndPlay('on');
} else {
gotoAndPlay('off');
}
}
}
instance of movieClip 1178 {
onClipEvent (enterFrame) {
maxexp = _root.levelryu - 1;
if (_root.expryu < maxexp and _root.maxfocusryu >= 15) {
gotoAndPlay('on');
} else {
gotoAndPlay('off');
}
}
}
instance of movieClip 1180 {
onClipEvent (enterFrame) {
if (_root.expryu >= 1) {
gotoAndPlay('on');
} else {
gotoAndPlay('off');
}
}
}
instance of movieClip 1182 {
onClipEvent (enterFrame) {
maxexp = _root.levelryu - 1;
if (_root.expryu < maxexp and _root.styleryu >= 2) {
gotoAndPlay('on');
} else {
gotoAndPlay('off');
}
}
}
instance of movieClip 1211 {
onClipEvent (enterFrame) {
if (_root.livello10 == true) {
gotoAndPlay('on');
}
}
}
instance of movieClip 1216 {
onClipEvent (enterFrame) {
if (_root.livello0 == true) {
gotoAndPlay('on');
}
}
}
instance of movieClip 1221 {
onClipEvent (enterFrame) {
if (_root.styleryu >= 4) {
gotoAndPlay('on');
} else {
gotoAndPlay('boh');
}
}
}
instance of movieClip 1246 {
onClipEvent (enterFrame) {
if (_root.styleryu >= 2) {
gotoAndPlay('on');
} else {
gotoAndPlay('boh');
}
}
}
instance of movieClip 1251 {
onClipEvent (enterFrame) {
if (_root.styleryu >= 3) {
gotoAndPlay('on');
} else {
gotoAndPlay('boh');
}
}
}
instance of movieClip 1256 {
onClipEvent (enterFrame) {
if (_root.styleryu >= 5) {
gotoAndPlay('on');
} else {
gotoAndPlay('boh');
}
}
}
instance of movieClip 1261 {
onClipEvent (enterFrame) {
if (_root.styleryu >= 6) {
gotoAndPlay('on');
} else {
gotoAndPlay('boh');
}
}
}
frame 125 {
stop();
nu.onRelease = function () {
play();
};
}
frame 142 {
stop();
nu.onRelease = function () {
play();
};
}
frame 148 {
gotoAndStop('inizio2');
}
}
frame 5 {
stop();
level = 0;
listato = false;
listato2 = false;
listato3 = false;
livello0 = false;
livello1 = false;
livello2 = false;
livello3 = false;
livello4 = false;
livello5 = false;
livello6 = false;
livello7 = false;
livello8 = false;
livello9 = false;
livello10 = false;
livello11 = false;
livello12 = false;
livello13 = false;
livello14 = false;
livello15 = false;
livello15b = false;
livello16 = false;
livello17 = false;
livello19 = false;
levelken = 1;
expken = 0;
styleken = 1;
maxhpken = 10;
maxfocusken = 10;
levelryu = 1;
expryu = 0;
styleryu = 1;
maxhpryu = 10;
maxfocusryu = 10;
}
movieClip 1788 {
frame 426 {
stop();
}
}
movieClip 1793 {
}
movieClip 1813 {
}
movieClip 1814 {
}
movieClip 1819 {
}
movieClip 1820 {
}
movieClip 1843 {
frame 82 {
stop();
text.onRelease = function () {
play();
};
}
frame 344 {
stop();
text.onRelease = function () {
play();
};
}
frame 357 {
stop();
text.onRelease = function () {
play();
};
}
frame 370 {
stop();
text.onRelease = function () {
play();
};
}
frame 383 {
stop();
text.onRelease = function () {
play();
};
}
frame 400 {
stop();
text.onRelease = function () {
play();
};
}
frame 409 {
stop();
text.onRelease = function () {
play();
};
}
frame 452 {
_root.gotoAndPlay('tutorial');
}
}
frame 6 {
stop();
}
movieClip 1847 {
}
movieClip 1848 {
}
movieClip 1850 {
}
movieClip 1855 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
frame 4 {
stop();
}
}
movieClip 1859 {
}
movieClip 1860 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 1862 {
}
movieClip 1863 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 1865 {
}
movieClip 1866 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 1879 {
}
movieClip 1906 {
}
movieClip 1909 {
}
movieClip 1911 {
}
movieClip 1913 {
}
movieClip 1916 {
}
movieClip 1923 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1924 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1925 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1926 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1927 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 1928 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 1929 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 1930 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 1938 {
}
movieClip 2017 {
}
movieClip 2019 {
instance focusbaruno of movieClip 1847 {
onClipEvent (enterFrame) {
this._width = (_root.player1.focus / _root.player1.maxfocus) * 190;
}
}
instance of movieClip 1848 {
onClipEvent (enterFrame) {
this._width = (_root.player1.ki / _root.player1.maxki) * 190;
}
}
instance of movieClip 1850 {
onClipEvent (enterFrame) {
this._width = (_root.player1.hp / _root.player1.maxhp) * 190;
}
}
instance focusbaruno of movieClip 1847 {
onClipEvent (enterFrame) {
this._width = (_root.player2.focus / _root.player2.maxfocus) * 190;
}
}
instance of movieClip 1848 {
onClipEvent (enterFrame) {
this._width = (_root.player2.ki / _root.player2.maxki) * 190;
}
}
instance of movieClip 1850 {
onClipEvent (enterFrame) {
this._width = (_root.player2.hp / _root.player2.maxhp) * 190;
}
}
instance of movieClip 1855 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.range == 'no') {
gotoAndPlay('no');
}
if (_root.range == 'long') {
gotoAndPlay('long');
}
if (_root.range == 'medium') {
gotoAndPlay('medium');
}
if (_root.range == 'short') {
gotoAndPlay('short');
}
}
if (_root.player == 'ryu') {
if (_root.range2 == 'no') {
gotoAndPlay('no');
}
if (_root.range2 == 'long') {
gotoAndPlay('long');
}
if (_root.range2 == 'medium') {
gotoAndPlay('medium');
}
if (_root.range2 == 'short') {
gotoAndPlay('short');
}
}
}
}
frame 24 {
stop();
nu.onRelease = function () {
play();
};
}
frame 34 {
stop();
nu.onRelease = function () {
play();
};
}
frame 44 {
stop();
nu.onRelease = function () {
play();
};
}
frame 54 {
stop();
nu.onRelease = function () {
play();
};
}
frame 64 {
stop();
nu.onRelease = function () {
play();
};
}
frame 74 {
stop();
nu.onRelease = function () {
play();
};
}
frame 121 {
stop();
nu.onRelease = function () {
play();
};
}
frame 151 {
stop();
nu.onRelease = function () {
play();
};
}
frame 174 {
stop();
nu.onRelease = function () {
play();
};
}
instance bar of movieClip 1906 {
onClipEvent (enterFrame) {
this._width = (_root.player3.ap / _root.player3.maxap) * 700;
}
}
instance of movieClip 1855 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.range == 'no') {
gotoAndPlay('no');
}
if (_root.range == 'long') {
gotoAndPlay('long');
}
if (_root.range == 'medium') {
gotoAndPlay('medium');
}
if (_root.range == 'short') {
gotoAndPlay('short');
}
}
if (_root.player == 'ryu') {
if (_root.range2 == 'no') {
gotoAndPlay('no');
}
if (_root.range2 == 'long') {
gotoAndPlay('long');
}
if (_root.range2 == 'medium') {
gotoAndPlay('medium');
}
if (_root.range2 == 'short') {
gotoAndPlay('short');
}
}
}
}
instance of movieClip 1909 {
onClipEvent (enterFrame) {
if (_root.engage.action1 == 'no') {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1911 {
onClipEvent (enterFrame) {
if (_root.engage.action2 == 'no') {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1913 {
onClipEvent (enterFrame) {
if (_root.engage.action3 == 'no') {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance focusbaruno of movieClip 1847 {
onClipEvent (enterFrame) {
this._width = (_root.player1.focus / _root.player1.maxfocus) * 190;
}
}
instance of movieClip 1848 {
onClipEvent (enterFrame) {
this._width = (_root.player1.ki / _root.player1.maxki) * 190;
}
}
instance of movieClip 1850 {
onClipEvent (enterFrame) {
this._width = (_root.player1.hp / _root.player1.maxhp) * 190;
}
}
instance focusbaruno of movieClip 1847 {
onClipEvent (enterFrame) {
this._width = (_root.player2.focus / _root.player2.maxfocus) * 190;
}
}
instance of movieClip 1848 {
onClipEvent (enterFrame) {
this._width = (_root.player2.ki / _root.player2.maxki) * 190;
}
}
instance of movieClip 1850 {
onClipEvent (enterFrame) {
this._width = (_root.player2.hp / _root.player2.maxhp) * 190;
}
}
instance of movieClip 1923 {
onClipEvent (enterFrame) {
if (_root.player3.ap < 2 or _root.engage.tech.ryuright == true) {
gotoAndPlay('off');
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'strong right';
_root.player3.ap -= 2;
_root.engage.tech.ryuright = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'strong right';
_root.player3.ap -= 2;
_root.engage.tech.ryuright = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'strong right';
_root.player3.ap -= 2;
_root.engage.tech.ryuright = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'strong right';
_root.player3.ap -= 2;
_root.engage.tech.ryuright = true;
_root.engage.action += 1;
}
}
}
}
};
}
}
instance of movieClip 1924 {
onClipEvent (enterFrame) {
if (_root.player3.ap < 3 or _root.engage.tech.ryuelbow == true) {
gotoAndPlay('off');
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'elbow dash';
_root.player3.ap -= 3;
_root.engage.tech.ryuelbow = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'elbow dash';
_root.player3.ap -= 3;
_root.engage.tech.ryuelbow = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'elbow dash';
_root.player3.ap -= 3;
_root.engage.tech.ryuelbow = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'elbow dash';
_root.player3.ap -= 3;
_root.engage.tech.ryuelbow = true;
_root.engage.action += 1;
}
}
}
}
};
}
}
instance of movieClip 1925 {
onClipEvent (enterFrame) {
if (_root.player3.ap < 3 or _root.engage.tech.ryulow == true) {
gotoAndPlay('off');
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'low kick';
_root.player3.ap -= 3;
_root.engage.tech.ryulow = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'low kick';
_root.player3.ap -= 3;
_root.engage.tech.ryulow = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'low kick';
_root.player3.ap -= 3;
_root.engage.tech.ryulow = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'low kick';
_root.player3.ap -= 3;
_root.engage.tech.ryulow = true;
_root.engage.action += 1;
}
}
}
}
};
}
}
instance of movieClip 1926 {
onClipEvent (enterFrame) {
if (_root.player3.ap < 3 or _root.engage.tech.ryudown == true) {
gotoAndPlay('off');
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'high-down';
_root.player3.ap -= 3;
_root.engage.tech.ryudown = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'high-down';
_root.player3.ap -= 3;
_root.engage.tech.ryudown = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'high-down';
_root.player3.ap -= 3;
_root.engage.tech.ryudown = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'high-down';
_root.player3.ap -= 3;
_root.engage.tech.ryudown = true;
_root.engage.action += 1;
}
}
}
}
};
}
}
instance of movieClip 1927 {
onClipEvent (enterFrame) {
if (_root.combo1ryu == true) {
if (_root.player3.ap >= 2 and _root.engage.tech.ryurising == false) {
gotoAndPlay('on');
}
if (_root.player3.ap < 2 or _root.engage.tech.ryurising == true) {
gotoAndPlay('off');
}
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'rising punch';
_root.player3.ap -= 2;
_root.engage.tech.ryurising = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'rising punch';
_root.player3.ap -= 2;
_root.engage.tech.ryurising = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'rising punch';
_root.player3.ap -= 2;
_root.engage.tech.ryurising = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'rising punch';
_root.player3.ap -= 2;
_root.engage.tech.ryurising = true;
_root.engage.action += 1;
}
}
}
}
};
}
}
instance of movieClip 1928 {
onClipEvent (enterFrame) {
if (_root.combo2ryu == true) {
if (_root.player3.ap >= 2 and _root.engage.tech.ryuhigh == false) {
gotoAndPlay('on');
}
if (_root.player3.ap < 2 or _root.engage.tech.ryuhigh == true) {
gotoAndPlay('off');
}
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'high kick';
_root.player3.ap -= 2;
_root.engage.tech.ryuhigh = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'high kick';
_root.player3.ap -= 2;
_root.engage.tech.ryuhigh = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'high kick';
_root.player3.ap -= 2;
_root.engage.tech.ryuhigh = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'high kick';
_root.player3.ap -= 2;
_root.engage.tech.ryuhigh = true;
_root.engage.action += 1;
}
}
}
}
};
}
}
instance of movieClip 1929 {
onClipEvent (enterFrame) {
if (_root.combo3ryu == true) {
if (_root.player3.ap >= 4 and _root.engage.tech.ryuflying == false) {
gotoAndPlay('on');
}
if (_root.player3.ap < 4 or _root.engage.tech.ryuflying == true) {
gotoAndPlay('off');
}
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'flying kick';
_root.player3.ap -= 4;
_root.engage.tech.ryuflying = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'flying kick';
_root.player3.ap -= 4;
_root.engage.tech.ryuflying = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'flying kick';
_root.player3.ap -= 4;
_root.engage.tech.ryuflying = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'flying kick';
_root.player3.ap -= 4;
_root.engage.tech.ryuflying = true;
_root.engage.action += 1;
}
}
}
}
};
}
}
instance of movieClip 1930 {
onClipEvent (enterFrame) {
if (_root.combo4ryu == true) {
if (_root.player3.ap >= 4 and _root.engage.tech.ryustrong == false) {
gotoAndPlay('on');
}
if (_root.player3.ap < 4 or _root.engage.tech.ryustrong == true) {
gotoAndPlay('off');
}
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'strong fist';
_root.player3.ap -= 4;
_root.engage.tech.ryustrong = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'strong fist';
_root.player3.ap -= 4;
_root.engage.tech.ryustrong = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'strong fist';
_root.player3.ap -= 4;
_root.engage.tech.ryustrong = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'strong fist';
_root.player3.ap -= 4;
_root.engage.tech.ryustrong = true;
_root.engage.action += 1;
}
}
}
}
};
}
}
frame 238 {
stop();
nu.onRelease = function () {
play();
};
}
frame 289 {
stop();
nu.onRelease = function () {
play();
};
}
frame 333 {
stop();
nu.onRelease = function () {
play();
};
}
frame 374 {
_root.play();
}
}
frame 7 {
stop();
}
movieClip 2054 {
}
movieClip 2103 {
frame 6 {
stop();
}
}
movieClip 2109 {
frame 4 {
stop();
}
}
movieClip 2113 {
frame 38 {
stop();
nu.onRelease = function () {
play();
};
}
frame 48 {
stop();
nu.onRelease = function () {
play();
};
}
frame 57 {
stop();
nu.onRelease = function () {
play();
};
}
frame 77 {
stop();
nu.onRelease = function () {
play();
};
}
frame 89 {
stop();
nu.onRelease = function () {
play();
};
}
frame 108 {
stop();
nu.onRelease = function () {
play();
};
}
frame 129 {
stop();
nu.onRelease = function () {
play();
};
}
frame 139 {
stop();
nu.onRelease = function () {
play();
};
}
frame 148 {
stop();
nu.onRelease = function () {
play();
};
}
frame 214 {
stop();
nu.onRelease = function () {
play();
};
}
frame 299 {
stop();
ken.onRelease = function () {
play();
chi = 'ken';
};
ryu.onRelease = function () {
play();
chi = 'ryu';
};
}
frame 300 {
if (chi == 'ken') {
_root.gotoAndPlay('level2');
}
if (chi == 'ryu') {
_root.gotoAndPlay('level1');
}
}
}
frame 8 {
stop();
}
movieClip 2186 {
}
movieClip 2189 {
}
movieClip 2194 {
}
movieClip 2232 {
frame 82 {
stop();
nu.onRelease = function () {
play();
};
}
frame 92 {
stop();
nu.onRelease = function () {
play();
};
}
frame 150 {
stop();
nu.onRelease = function () {
play();
};
}
frame 219 {
stop();
nu.onRelease = function () {
play();
};
}
frame 407 {
stop();
nu.onRelease = function () {
play();
};
}
frame 439 {
stop();
nu.onRelease = function () {
play();
};
}
frame 470 {
stop();
nu.onRelease = function () {
play();
};
}
frame 480 {
stop();
nu.onRelease = function () {
play();
};
}
frame 502 {
stop();
nu.onRelease = function () {
play();
};
}
frame 520 {
_root.gotoAndPlay('prelevel0');
}
}
frame 9 {
stop();
}
movieClip 2274 {
frame 59 {
stop();
nu.onRelease = function () {
play();
};
}
frame 93 {
stop();
nu.onRelease = function () {
play();
};
}
frame 148 {
stop();
nu.onRelease = function () {
play();
};
}
frame 277 {
stop();
nu.onRelease = function () {
play();
};
}
frame 327 {
stop();
nu.onRelease = function () {
play();
};
}
frame 337 {
stop();
nu.onRelease = function () {
play();
};
}
frame 352 {
stop();
nu.onRelease = function () {
play();
};
}
frame 371 {
stop();
nu.onRelease = function () {
play();
};
}
frame 389 {
stop();
nu.onRelease = function () {
play();
};
}
frame 446 {
stop();
nu.onRelease = function () {
play();
};
}
frame 479 {
stop();
nu.onRelease = function () {
play();
};
}
frame 489 {
stop();
nu.onRelease = function () {
play();
};
}
frame 529 {
_root.gotoAndPlay('prelevel0');
}
}
frame 10 {
stop();
}
movieClip 2328 {
frame 6 {
stop();
nu.onRelease = function () {
play();
};
}
frame 16 {
stop();
nu.onRelease = function () {
play();
};
}
frame 26 {
stop();
nu.onRelease = function () {
play();
};
}
frame 47 {
stop();
nu.onRelease = function () {
play();
};
}
frame 57 {
stop();
nu.onRelease = function () {
play();
};
}
frame 127 {
stop();
nu.onRelease = function () {
play();
};
}
frame 138 {
stop();
nu.onRelease = function () {
play();
};
}
frame 162 {
stop();
nu.onRelease = function () {
play();
};
}
frame 209 {
_root.gotoAndPlay('level0');
}
}
frame 11 {
stop();
}
movieClip 2331 {
frame 68 {
stop();
if (_root.listato == true) {
_root.gotoAndPlay('battle');
} else {
_root.gotoAndPlay('postlevel0');
}
}
}
frame 12 {
stop();
}
movieClip 2407 {
frame 221 {
stop();
}
}
movieClip 2408 {
frame 196 {
stop();
}
}
movieClip 2444 {
}
movieClip 2463 {
}
movieClip 2525 {
frame 62 {
stop();
nu.onRelease = function () {
play();
};
}
frame 71 {
stop();
nu.onRelease = function () {
play();
};
}
frame 89 {
stop();
nu.onRelease = function () {
play();
};
}
frame 98 {
stop();
nu.onRelease = function () {
play();
};
}
frame 118 {
stop();
nu.onRelease = function () {
play();
};
}
frame 219 {
stop();
nu.onRelease = function () {
play();
};
}
frame 229 {
stop();
nu.onRelease = function () {
play();
};
}
frame 285 {
stop();
nu.onRelease = function () {
play();
};
}
frame 590 {
stop();
nu.onRelease = function () {
play();
};
}
frame 601 {
stop();
nu.onRelease = function () {
play();
};
}
frame 632 {
stop();
nu.onRelease = function () {
play();
};
}
frame 760 {
stop();
nu.onRelease = function () {
play();
};
}
frame 778 {
stop();
nu.onRelease = function () {
play();
};
}
frame 798 {
stop();
nu.onRelease = function () {
play();
};
}
frame 818 {
_root.play();
}
}
frame 13 {
stop();
}
movieClip 2555 {
frame 6 {
stop();
nu.onRelease = function () {
play();
};
}
frame 28 {
stop();
nu.onRelease = function () {
play();
};
}
frame 40 {
stop();
nu.onRelease = function () {
play();
};
}
frame 50 {
stop();
nu.onRelease = function () {
play();
};
}
frame 60 {
stop();
nu.onRelease = function () {
play();
};
}
frame 70 {
stop();
nu.onRelease = function () {
play();
};
}
frame 131 {
stop();
nu.onRelease = function () {
play();
};
}
frame 143 {
stop();
nu.onRelease = function () {
play();
};
}
frame 152 {
stop();
nu.onRelease = function () {
play();
};
}
frame 163 {
stop();
nu.onRelease = function () {
play();
};
}
frame 172 {
stop();
nu.onRelease = function () {
play();
};
}
frame 185 {
stop();
nu.onRelease = function () {
play();
};
}
frame 195 {
stop();
nu.onRelease = function () {
play();
};
}
frame 205 {
stop();
nu.onRelease = function () {
play();
};
}
frame 215 {
stop();
nu.onRelease = function () {
play();
};
}
frame 225 {
stop();
nu.onRelease = function () {
play();
};
}
frame 235 {
stop();
nu.onRelease = function () {
play();
};
}
frame 245 {
stop();
nu.onRelease = function () {
play();
};
}
frame 258 {
stop();
nu.onRelease = function () {
play();
};
}
frame 296 {
stop();
nu.onRelease = function () {
play();
};
}
frame 301 {
_root.gotoAndPlay('battle');
}
}
frame 14 {
stop();
}
movieClip 2624 {
}
movieClip 2635 {
frame 28 {
stop();
nu.onRelease = function () {
play();
};
}
frame 90 {
stop();
nu.onRelease = function () {
play();
};
}
frame 139 {
stop();
nu.onRelease = function () {
play();
};
}
frame 151 {
stop();
nu.onRelease = function () {
play();
};
}
frame 202 {
stop();
nu.onRelease = function () {
play();
};
}
frame 241 {
stop();
nu.onRelease = function () {
play();
};
}
frame 287 {
stop();
nu.onRelease = function () {
play();
};
}
frame 299 {
stop();
nu.onRelease = function () {
play();
};
}
frame 319 {
stop();
nu.onRelease = function () {
play();
};
}
frame 352 {
stop();
nu.onRelease = function () {
play();
};
}
frame 372 {
stop();
nu.onRelease = function () {
play();
};
}
frame 385 {
stop();
nu.onRelease = function () {
play();
};
}
frame 398 {
stop();
nu.onRelease = function () {
play();
};
}
frame 410 {
stop();
nu.onRelease = function () {
play();
};
}
frame 423 {
stop();
nu.onRelease = function () {
play();
};
}
frame 441 {
stop();
nu.onRelease = function () {
play();
};
}
frame 452 {
stop();
nu.onRelease = function () {
play();
};
}
frame 461 {
stop();
nu.onRelease = function () {
play();
};
}
frame 470 {
stop();
nu.onRelease = function () {
play();
};
}
frame 479 {
stop();
nu.onRelease = function () {
play();
};
}
frame 507 {
stop();
nu.onRelease = function () {
play();
};
}
frame 533 {
_root.play();
}
}
button 2636 {
on (release) {
_root.gotoAndPlay('level3');
stopAllSounds();
}
}
frame 15 {
stop();
}
movieClip 2643 {
}
movieClip 2652 {
}
movieClip 2657 {
}
movieClip 2679 {
}
movieClip 2684 {
}
movieClip 2763 {
frame 4 {
stop();
}
}
movieClip 2766 {
}
movieClip 2783 {
}
movieClip 2798 {
frame 60 {
stop();
nu.onRelease = function () {
play();
};
}
frame 69 {
stop();
nu.onRelease = function () {
play();
};
}
frame 78 {
stop();
nu.onRelease = function () {
play();
};
}
frame 88 {
stop();
nu.onRelease = function () {
play();
};
}
frame 98 {
stop();
nu.onRelease = function () {
play();
};
}
frame 153 {
stop();
nu.onRelease = function () {
play();
};
}
frame 231 {
stop();
nu.onRelease = function () {
play();
};
}
frame 241 {
stop();
nu.onRelease = function () {
play();
};
}
frame 269 {
stop();
nu.onRelease = function () {
play();
};
}
frame 282 {
stop();
nu.onRelease = function () {
play();
};
}
frame 293 {
stop();
nu.onRelease = function () {
play();
};
}
frame 303 {
stop();
nu.onRelease = function () {
play();
};
}
frame 314 {
stop();
nu.onRelease = function () {
play();
};
}
frame 337 {
stop();
nu.onRelease = function () {
play();
};
}
frame 421 {
stop();
nu.onRelease = function () {
play();
};
}
frame 438 {
stop();
nu.onRelease = function () {
play();
};
}
frame 459 {
stop();
nu.onRelease = function () {
play();
};
}
frame 469 {
stop();
nu.onRelease = function () {
play();
};
}
frame 487 {
stop();
nu.onRelease = function () {
play();
};
}
frame 496 {
stop();
nu.onRelease = function () {
play();
};
}
frame 505 {
stop();
nu.onRelease = function () {
play();
};
}
frame 514 {
stop();
nu.onRelease = function () {
play();
};
}
frame 524 {
stop();
nu.onRelease = function () {
play();
};
}
frame 534 {
stop();
nu.onRelease = function () {
play();
};
}
frame 546 {
stop();
nu.onRelease = function () {
play();
};
}
frame 575 {
stop();
nu.onRelease = function () {
play();
};
}
frame 597 {
stop();
nu.onRelease = function () {
play();
};
}
frame 607 {
stop();
nu.onRelease = function () {
play();
};
}
frame 627 {
stop();
nu.onRelease = function () {
play();
};
}
frame 676 {
stop();
_root.gotoAndPlay('level3');
}
}
frame 16 {
stop();
}
movieClip 2804 {
}
movieClip 2817 {
frame 8 {
gotoAndPlay('uno');
}
}
movieClip 2826 {
}
movieClip 2830 {
frame 29 {
stop();
nu.onRelease = function () {
play();
};
}
frame 41 {
stop();
nu.onRelease = function () {
play();
};
}
frame 51 {
stop();
nu.onRelease = function () {
play();
};
}
frame 78 {
stop();
nu.onRelease = function () {
play();
};
}
frame 91 {
stop();
nu.onRelease = function () {
play();
};
}
frame 106 {
stop();
nu.onRelease = function () {
play();
};
}
frame 130 {
stop();
nu.onRelease = function () {
play();
};
}
frame 141 {
stop();
nu.onRelease = function () {
play();
};
}
frame 151 {
stop();
nu.onRelease = function () {
play();
};
}
frame 185 {
stop();
nu.onRelease = function () {
play();
};
}
frame 205 {
_root.gotoAndPlay('battle');
}
}
button 2831 {
on (release) {
_root.gotoAndPlay('battle');
stopAllSounds();
}
}
frame 17 {
stop();
}
movieClip 2846 {
}
movieClip 2857 {
}
movieClip 2865 {
frame 24 {
stop();
nu.onRelease = function () {
play();
};
}
frame 35 {
stop();
nu.onRelease = function () {
play();
};
}
frame 45 {
stop();
nu.onRelease = function () {
play();
};
}
frame 88 {
stop();
nu.onRelease = function () {
play();
};
}
frame 98 {
stop();
nu.onRelease = function () {
play();
};
}
frame 107 {
stop();
nu.onRelease = function () {
play();
};
}
frame 116 {
stop();
nu.onRelease = function () {
play();
};
}
frame 130 {
stop();
nu.onRelease = function () {
play();
};
}
frame 170 {
_root.gotoAndPlay('level4');
}
}
button 2866 {
on (release) {
_root.gotoAndPlay('level4');
stopAllSounds();
}
}
frame 18 {
stop();
}
movieClip 2880 {
}
movieClip 2893 {
}
movieClip 2899 {
frame 57 {
stop();
nu.onRelease = function () {
play();
};
}
frame 68 {
stop();
nu.onRelease = function () {
play();
};
}
frame 78 {
stop();
nu.onRelease = function () {
play();
};
}
frame 88 {
stop();
nu.onRelease = function () {
play();
};
}
frame 98 {
stop();
nu.onRelease = function () {
play();
};
}
frame 112 {
stop();
nu.onRelease = function () {
play();
};
}
frame 123 {
stop();
nu.onRelease = function () {
play();
};
}
frame 133 {
stop();
nu.onRelease = function () {
play();
};
}
frame 144 {
stop();
nu.onRelease = function () {
play();
};
}
frame 155 {
stop();
nu.onRelease = function () {
play();
};
}
frame 165 {
stop();
nu.onRelease = function () {
play();
};
}
frame 187 {
_root.gotoAndPlay('battle');
}
}
frame 19 {
stop();
}
movieClip 2908 {
}
movieClip 2933 {
}
movieClip 2936 {
frame 22 {
stop();
nu.onRelease = function () {
play();
};
}
frame 37 {
stop();
nu.onRelease = function () {
play();
};
}
frame 52 {
stop();
nu.onRelease = function () {
play();
};
}
frame 90 {
stop();
nu.onRelease = function () {
play();
};
}
frame 100 {
stop();
nu.onRelease = function () {
play();
};
}
frame 112 {
stop();
nu.onRelease = function () {
play();
};
}
frame 143 {
stop();
nu.onRelease = function () {
play();
};
}
frame 155 {
stop();
nu.onRelease = function () {
play();
};
}
frame 208 {
stop();
nu.onRelease = function () {
play();
};
}
frame 220 {
stop();
nu.onRelease = function () {
play();
};
}
frame 239 {
stop();
nu.onRelease = function () {
play();
};
}
frame 292 {
_root.gotoAndPlay('level5');
}
}
button 2937 {
on (release) {
_root.gotoAndPlay('level5');
stopAllSounds();
}
}
frame 20 {
stop();
}
movieClip 2949 {
frame 10 {
gotoAndPlay('inizio');
}
}
movieClip 2976 {
}
movieClip 2982 {
frame 27 {
stop();
nu.onRelease = function () {
play();
};
}
frame 42 {
stop();
nu.onRelease = function () {
play();
};
}
frame 57 {
stop();
nu.onRelease = function () {
play();
};
}
frame 67 {
stop();
nu.onRelease = function () {
play();
};
}
frame 192 {
stop();
nu.onRelease = function () {
play();
};
}
frame 212 {
stop();
nu.onRelease = function () {
play();
};
}
frame 223 {
stop();
nu.onRelease = function () {
play();
};
}
frame 234 {
stop();
nu.onRelease = function () {
play();
};
}
frame 245 {
stop();
nu.onRelease = function () {
play();
};
}
frame 255 {
stop();
nu.onRelease = function () {
play();
};
}
frame 277 {
_root.gotoAndPlay('battle');
}
}
frame 21 {
stop();
}
movieClip 2993 {
}
movieClip 2997 {
}
movieClip 3081 {
}
movieClip 3120 {
}
movieClip 3147 {
frame 27 {
stop();
nu.onRelease = function () {
play();
};
}
frame 112 {
stop();
nu.onRelease = function () {
play();
};
}
frame 121 {
stop();
nu.onRelease = function () {
play();
};
}
frame 193 {
stop();
nu.onRelease = function () {
play();
};
}
frame 202 {
stop();
nu.onRelease = function () {
play();
};
}
frame 211 {
stop();
nu.onRelease = function () {
play();
};
}
frame 295 {
stop();
nu.onRelease = function () {
play();
};
}
frame 341 {
stop();
nu.onRelease = function () {
play();
};
}
frame 395 {
stop();
nu.onRelease = function () {
play();
};
}
frame 406 {
stop();
nu.onRelease = function () {
play();
};
}
frame 429 {
stop();
nu.onRelease = function () {
play();
};
}
frame 449 {
stop();
nu.onRelease = function () {
play();
};
}
frame 488 {
stop();
nu.onRelease = function () {
play();
};
}
frame 511 {
stop();
nu.onRelease = function () {
play();
};
}
frame 521 {
stop();
nu.onRelease = function () {
play();
};
}
frame 575 {
_root.gotoAndPlay('level6');
}
}
button 3148 {
on (release) {
_root.gotoAndPlay('level6');
stopAllSounds();
}
}
frame 22 {
stop();
}
movieClip 3279 {
frame 30 {
stop();
nu.onRelease = function () {
play();
};
}
frame 57 {
stop();
nu.onRelease = function () {
play();
};
}
frame 87 {
stop();
nu.onRelease = function () {
play();
};
}
frame 222 {
stop();
nu.onRelease = function () {
play();
};
}
frame 233 {
stop();
nu.onRelease = function () {
play();
};
}
frame 244 {
stop();
nu.onRelease = function () {
play();
};
}
frame 255 {
stop();
nu.onRelease = function () {
play();
};
}
frame 293 {
stop();
nu.onRelease = function () {
play();
};
}
frame 307 {
stop();
nu.onRelease = function () {
play();
};
}
frame 318 {
stop();
nu.onRelease = function () {
play();
};
}
frame 329 {
stop();
nu.onRelease = function () {
play();
};
}
frame 347 {
stop();
nu.onRelease = function () {
play();
};
}
frame 365 {
stop();
nu.onRelease = function () {
play();
};
}
frame 376 {
stop();
nu.onRelease = function () {
play();
};
}
frame 387 {
stop();
nu.onRelease = function () {
play();
};
}
frame 431 {
_root.gotoAndPlay('battle');
}
}
frame 23 {
stop();
}
movieClip 3283 {
}
movieClip 3337 {
}
movieClip 3345 {
frame 103 {
stop();
nu.onRelease = function () {
play();
};
}
frame 112 {
stop();
nu.onRelease = function () {
play();
};
}
frame 121 {
stop();
nu.onRelease = function () {
play();
};
}
frame 130 {
stop();
nu.onRelease = function () {
play();
};
}
frame 147 {
stop();
nu.onRelease = function () {
play();
};
}
frame 165 {
stop();
nu.onRelease = function () {
play();
};
}
frame 175 {
stop();
nu.onRelease = function () {
play();
};
}
frame 192 {
stop();
nu.onRelease = function () {
play();
};
}
frame 203 {
stop();
nu.onRelease = function () {
play();
};
}
frame 284 {
stop();
nu.onRelease = function () {
play();
};
}
frame 296 {
stop();
nu.onRelease = function () {
play();
};
}
frame 306 {
stop();
nu.onRelease = function () {
play();
};
}
frame 316 {
stop();
nu.onRelease = function () {
play();
};
}
frame 326 {
stop();
nu.onRelease = function () {
play();
};
}
frame 343 {
stop();
nu.onRelease = function () {
play();
};
}
frame 360 {
stop();
nu.onRelease = function () {
play();
};
}
frame 401 {
_root.gotoAndPlay('level7');
}
}
button 3346 {
on (release) {
_root.gotoAndPlay('level7');
stopAllSounds();
}
}
frame 24 {
stop();
}
movieClip 3371 {
frame 6 {
gotoAndPlay('inizio');
}
}
movieClip 3374 {
frame 38 {
stop();
nu.onRelease = function () {
play();
};
}
frame 48 {
stop();
nu.onRelease = function () {
play();
};
}
frame 59 {
stop();
nu.onRelease = function () {
play();
};
}
frame 101 {
stop();
nu.onRelease = function () {
play();
};
}
frame 112 {
stop();
nu.onRelease = function () {
play();
};
}
frame 129 {
stop();
nu.onRelease = function () {
play();
};
}
frame 150 {
stop();
nu.onRelease = function () {
play();
};
}
frame 178 {
_root.gotoAndPlay('battle');
}
}
frame 25 {
stop();
}
movieClip 3388 {
}
button 3399 {
on (release) {
play();
}
}
movieClip 3414 {
}
movieClip 3447 {
}
movieClip 3452 {
}
movieClip 3473 {
frame 10 {
stop();
}
}
movieClip 3476 {
frame 141 {
stop();
}
frame 242 {
stop();
}
frame 253 {
stop();
}
frame 272 {
stop();
}
frame 318 {
stop();
}
frame 418 {
stop();
}
frame 429 {
stop();
}
frame 455 {
stop();
}
frame 489 {
stop();
}
frame 499 {
stop();
}
frame 549 {
_root.gotoAndPlay('level8');
}
}
button 3477 {
on (release) {
_root.gotoAndPlay('level8');
stopAllSounds();
}
}
frame 26 {
stop();
}
button 3491 {
on (release) {
play();
}
}
movieClip 3523 {
}
movieClip 3525 {
frame 66 {
stop();
}
frame 93 {
stop();
}
frame 103 {
stop();
}
frame 114 {
stop();
}
frame 124 {
stop();
}
frame 135 {
stop();
}
frame 192 {
stop();
}
frame 208 {
stop();
}
frame 235 {
stop();
}
frame 266 {
_root.livello8 = true;
_root.gotoAndPlay('battle');
}
}
frame 27 {
stop();
}
movieClip 3545 {
}
movieClip 3548 {
frame 109 {
stop();
nu.onRelease = function () {
play();
};
}
frame 120 {
stop();
nu.onRelease = function () {
play();
};
}
frame 297 {
_root.gotoAndPlay('level9');
}
}
button 3549 {
on (release) {
_root.gotoAndPlay('level9');
stopAllSounds();
}
}
frame 28 {
stop();
}
movieClip 3569 {
frame 98 {
stop();
nu.onRelease = function () {
play();
};
}
frame 125 {
stop();
nu.onRelease = function () {
play();
};
}
frame 137 {
stop();
nu.onRelease = function () {
play();
};
}
frame 159 {
stop();
nu.onRelease = function () {
play();
};
}
frame 169 {
stop();
nu.onRelease = function () {
play();
};
}
frame 201 {
_root.gotoAndPlay('battle');
}
}
frame 29 {
stop();
}
movieClip 3596 {
}
movieClip 3606 {
frame 93 {
stop();
nu.onRelease = function () {
play();
};
}
frame 103 {
stop();
nu.onRelease = function () {
play();
};
}
frame 125 {
stop();
nu.onRelease = function () {
play();
};
}
frame 135 {
stop();
nu.onRelease = function () {
play();
};
}
frame 151 {
stop();
nu.onRelease = function () {
play();
};
}
frame 195 {
_root.gotoAndPlay('level10');
}
}
button 3607 {
on (release) {
_root.gotoAndPlay('level10');
stopAllSounds();
}
}
frame 30 {
stop();
}
movieClip 3609 {
frame 110 {
_root.super1ryu = true;
_root.gotoAndPlay('postlevel10');
}
}
frame 31 {
stop();
}
movieClip 3610 {
}
movieClip 3619 {
}
movieClip 3638 {
}
movieClip 3699 {
frame 62 {
stop();
nu.onRelease = function () {
play();
};
}
frame 73 {
stop();
nu.onRelease = function () {
play();
};
}
frame 83 {
stop();
nu.onRelease = function () {
play();
};
}
frame 135 {
stop();
nu.onRelease = function () {
play();
};
}
frame 380 {
stop();
nu.onRelease = function () {
play();
};
}
frame 405 {
_root.gotoAndPlay('battle');
}
}
frame 32 {
stop();
}
movieClip 3726 {
}
movieClip 3758 {
}
movieClip 3759 {
}
movieClip 3790 {
}
movieClip 3819 {
frame 38 {
stop();
nu.onRelease = function () {
play();
};
}
frame 113 {
stop();
nu.onRelease = function () {
play();
};
}
frame 123 {
stop();
nu.onRelease = function () {
play();
};
}
frame 133 {
stop();
nu.onRelease = function () {
play();
};
}
frame 144 {
stop();
nu.onRelease = function () {
play();
};
}
frame 154 {
stop();
nu.onRelease = function () {
play();
};
}
frame 170 {
stop();
nu.onRelease = function () {
play();
};
}
frame 180 {
stop();
nu.onRelease = function () {
play();
};
}
frame 201 {
stop();
nu.onRelease = function () {
play();
};
}
frame 212 {
stop();
nu.onRelease = function () {
play();
};
}
frame 236 {
stop();
nu.onRelease = function () {
play();
};
}
frame 306 {
stop();
nu.onRelease = function () {
play();
};
}
frame 340 {
stop();
nu.onRelease = function () {
play();
};
}
frame 368 {
stop();
nu.onRelease = function () {
play();
};
}
frame 404 {
stop();
nu.onRelease = function () {
play();
};
}
frame 419 {
stop();
nu.onRelease = function () {
play();
};
}
frame 463 {
stop();
nu.onRelease = function () {
play();
};
}
frame 475 {
stop();
nu.onRelease = function () {
play();
};
}
frame 521 {
_root.gotoAndPlay('level11');
}
}
button 3820 {
on (release) {
_root.gotoAndPlay('level11');
stopAllSounds();
}
}
frame 33 {
stop();
}
movieClip 3876 {
frame 128 {
stop();
nu.onRelease = function () {
play();
};
}
frame 161 {
stop();
nu.onRelease = function () {
play();
};
}
frame 182 {
_root.gotoAndPlay('battle');
}
}
frame 34 {
stop();
}
movieClip 3888 {
}
movieClip 3902 {
frame 156 {
stop();
nu.onRelease = function () {
play();
};
}
frame 168 {
stop();
nu.onRelease = function () {
play();
};
}
frame 183 {
stop();
nu.onRelease = function () {
play();
};
}
frame 206 {
stop();
nu.onRelease = function () {
play();
};
}
frame 247 {
_root.gotoAndPlay('level12');
}
}
button 3903 {
on (release) {
_root.gotoAndPlay('level12');
stopAllSounds();
}
}
frame 35 {
stop();
}
movieClip 3923 {
}
movieClip 3934 {
}
movieClip 3939 {
frame 136 {
stop();
nu.onRelease = function () {
play();
};
}
frame 148 {
stop();
nu.onRelease = function () {
play();
};
}
frame 159 {
stop();
nu.onRelease = function () {
play();
};
}
frame 169 {
stop();
nu.onRelease = function () {
play();
};
}
frame 181 {
stop();
nu.onRelease = function () {
play();
};
}
frame 191 {
stop();
nu.onRelease = function () {
play();
};
}
frame 214 {
stop();
nu.onRelease = function () {
play();
};
}
frame 270 {
stop();
nu.onRelease = function () {
play();
};
}
frame 281 {
stop();
nu.onRelease = function () {
play();
};
}
frame 292 {
stop();
nu.onRelease = function () {
play();
};
}
frame 305 {
stop();
nu.onRelease = function () {
play();
};
}
frame 316 {
stop();
nu.onRelease = function () {
play();
};
}
frame 344 {
stop();
nu.onRelease = function () {
play();
};
}
frame 354 {
stop();
nu.onRelease = function () {
play();
};
}
frame 393 {
_root.gotoAndPlay('level13');
}
}
button 3940 {
on (release) {
_root.gotoAndPlay('level13');
stopAllSounds();
}
}
frame 36 {
stop();
}
movieClip 3961 {
frame 68 {
stop();
nu.onRelease = function () {
play();
};
}
frame 78 {
stop();
nu.onRelease = function () {
play();
};
}
frame 101 {
stop();
nu.onRelease = function () {
play();
};
}
frame 114 {
stop();
nu.onRelease = function () {
play();
};
}
frame 128 {
stop();
nu.onRelease = function () {
play();
};
}
frame 141 {
stop();
nu.onRelease = function () {
play();
};
}
frame 187 {
_root.gotoAndPlay('battle');
}
}
frame 37 {
stop();
}
movieClip 3988 {
frame 135 {
stop();
}
}
movieClip 4023 {
frame 12 {
gotoAndPlay('inizio');
}
}
movieClip 4043 {
frame 41 {
stop();
nu.onRelease = function () {
play();
};
}
frame 52 {
stop();
nu.onRelease = function () {
play();
};
}
frame 66 {
stop();
nu.onRelease = function () {
play();
};
}
frame 77 {
stop();
nu.onRelease = function () {
play();
};
}
frame 90 {
stop();
nu.onRelease = function () {
play();
};
}
frame 110 {
stop();
nu.onRelease = function () {
play();
};
}
frame 135 {
stop();
nu.onRelease = function () {
play();
};
}
frame 145 {
stop();
nu.onRelease = function () {
play();
};
}
frame 155 {
stop();
nu.onRelease = function () {
play();
};
}
frame 175 {
stop();
nu.onRelease = function () {
play();
};
}
frame 185 {
stop();
nu.onRelease = function () {
play();
};
}
frame 195 {
stop();
nu.onRelease = function () {
play();
};
}
frame 213 {
stop();
nu.onRelease = function () {
play();
};
}
frame 262 {
_root.gotoAndPlay('level14');
}
}
button 4044 {
on (release) {
_root.gotoAndPlay('level14');
stopAllSounds();
}
}
frame 38 {
stop();
}
movieClip 4062 {
}
movieClip 4118 {
}
movieClip 4149 {
frame 32 {
stop();
nu.onRelease = function () {
play();
};
}
frame 57 {
stop();
nu.onRelease = function () {
play();
};
}
frame 102 {
stop();
nu.onRelease = function () {
play();
};
}
frame 113 {
stop();
nu.onRelease = function () {
play();
};
}
frame 189 {
stop();
nu.onRelease = function () {
play();
};
}
frame 200 {
stop();
nu.onRelease = function () {
play();
};
}
frame 210 {
stop();
nu.onRelease = function () {
play();
};
}
frame 220 {
stop();
nu.onRelease = function () {
play();
};
}
frame 230 {
stop();
nu.onRelease = function () {
play();
};
}
frame 250 {
_root.gotoAndPlay('battle');
}
}
frame 39 {
stop();
}
movieClip 4151 {
frame 105 {
_root.super3ken = true;
_root.gotoAndPlay('postlevel14');
}
}
frame 40 {
stop();
}
movieClip 4183 {
frame 329 {
stop();
}
}
movieClip 4191 {
frame 85 {
stop();
nu.onRelease = function () {
play();
};
}
frame 163 {
stop();
nu.onRelease = function () {
play();
};
}
frame 460 {
stop();
nu.onRelease = function () {
play();
};
}
frame 473 {
stop();
nu.onRelease = function () {
play();
};
}
frame 486 {
stop();
nu.onRelease = function () {
play();
};
}
frame 505 {
stop();
nu.onRelease = function () {
play();
};
}
frame 551 {
stop();
nu.onRelease = function () {
play();
};
}
frame 562 {
stop();
nu.onRelease = function () {
play();
};
}
frame 583 {
stop();
nu.onRelease = function () {
play();
};
}
frame 593 {
stop();
nu.onRelease = function () {
play();
};
}
frame 608 {
stop();
nu.onRelease = function () {
play();
};
}
frame 619 {
stop();
nu.onRelease = function () {
play();
};
}
frame 635 {
stop();
nu.onRelease = function () {
play();
};
}
frame 646 {
stop();
nu.onRelease = function () {
play();
};
}
frame 662 {
stop();
nu.onRelease = function () {
play();
};
}
frame 672 {
stop();
nu.onRelease = function () {
play();
};
}
frame 683 {
stop();
nu.onRelease = function () {
play();
};
}
frame 694 {
stop();
nu.onRelease = function () {
play();
};
}
frame 704 {
stop();
nu.onRelease = function () {
play();
};
}
frame 715 {
stop();
nu.onRelease = function () {
play();
};
}
frame 726 {
stop();
nu.onRelease = function () {
play();
};
}
frame 763 {
stop();
nu.onRelease = function () {
play();
};
}
frame 788 {
stop();
nu.onRelease = function () {
play();
};
}
frame 799 {
stop();
nu.onRelease = function () {
play();
};
}
frame 840 {
_root.gotoAndPlay('level15');
}
}
button 4192 {
on (release) {
_root.gotoAndPlay('level15');
stopAllSounds();
}
}
frame 41 {
stop();
}
movieClip 4218 {
}
movieClip 4337 {
frame 2 {
_root.livello15 = true;
}
frame 281 {
stop();
nu.onRelease = function () {
play();
};
}
frame 302 {
stop();
nu.onRelease = function () {
play();
};
}
frame 324 {
stop();
nu.onRelease = function () {
play();
};
}
frame 336 {
stop();
nu.onRelease = function () {
play();
};
}
frame 374 {
stop();
nu.onRelease = function () {
play();
};
}
frame 386 {
stop();
nu.onRelease = function () {
play();
};
}
frame 414 {
_root.gotoAndPlay('battle');
}
}
frame 42 {
stop();
}
movieClip 4402 {
}
movieClip 4482 {
}
movieClip 4538 {
}
movieClip 4546 {
frame 323 {
stop();
nu.onRelease = function () {
play();
};
}
frame 372 {
stop();
nu.onRelease = function () {
play();
};
}
frame 384 {
stop();
nu.onRelease = function () {
play();
};
}
frame 421 {
stop();
nu.onRelease = function () {
play();
};
}
frame 458 {
stop();
nu.onRelease = function () {
play();
};
}
frame 469 {
stop();
nu.onRelease = function () {
play();
};
}
frame 480 {
stop();
nu.onRelease = function () {
play();
};
}
frame 547 {
stop();
nu.onRelease = function () {
play();
};
}
frame 558 {
stop();
nu.onRelease = function () {
play();
};
}
frame 569 {
stop();
nu.onRelease = function () {
play();
};
}
frame 579 {
stop();
nu.onRelease = function () {
play();
};
}
frame 610 {
stop();
nu.onRelease = function () {
play();
};
}
frame 626 {
stop();
nu.onRelease = function () {
play();
};
}
frame 654 {
stop();
nu.onRelease = function () {
play();
};
}
frame 664 {
stop();
nu.onRelease = function () {
play();
};
}
frame 674 {
stop();
nu.onRelease = function () {
play();
};
}
frame 684 {
stop();
nu.onRelease = function () {
play();
};
}
frame 696 {
stop();
nu.onRelease = function () {
play();
};
}
frame 706 {
stop();
nu.onRelease = function () {
play();
};
}
frame 724 {
stop();
nu.onRelease = function () {
play();
};
}
frame 754 {
stop();
nu.onRelease = function () {
play();
};
}
frame 764 {
stop();
nu.onRelease = function () {
play();
};
}
frame 775 {
stop();
nu.onRelease = function () {
play();
};
}
frame 785 {
stop();
nu.onRelease = function () {
play();
};
}
frame 833 {
_root.gotoAndPlay('level16');
}
}
button 4547 {
on (release) {
_root.gotoAndPlay('level16');
stopAllSounds();
}
}
frame 43 {
stop();
}
movieClip 4553 {
}
movieClip 4559 {
}
movieClip 4586 {
}
movieClip 4589 {
frame 37 {
stop();
nu.onRelease = function () {
play();
};
}
frame 63 {
stop();
nu.onRelease = function () {
play();
};
}
frame 94 {
stop();
nu.onRelease = function () {
play();
};
}
frame 170 {
stop();
nu.onRelease = function () {
play();
};
}
frame 180 {
stop();
nu.onRelease = function () {
play();
};
}
frame 190 {
stop();
nu.onRelease = function () {
play();
};
}
frame 207 {
stop();
nu.onRelease = function () {
play();
};
}
frame 217 {
stop();
nu.onRelease = function () {
play();
};
}
frame 227 {
stop();
nu.onRelease = function () {
play();
};
}
frame 237 {
stop();
nu.onRelease = function () {
play();
};
}
frame 268 {
stop();
nu.onRelease = function () {
play();
};
}
frame 282 {
stop();
nu.onRelease = function () {
play();
};
}
frame 292 {
stop();
nu.onRelease = function () {
play();
};
}
frame 344 {
_root.gotoAndPlay('battle');
}
}
frame 44 {
stop();
}
movieClip 4599 {
frame 40 {
stop();
nu.onRelease = function () {
play();
};
}
frame 67 {
stop();
nu.onRelease = function () {
play();
};
}
frame 91 {
stop();
nu.onRelease = function () {
play();
};
}
frame 106 {
stop();
nu.onRelease = function () {
play();
};
}
frame 118 {
stop();
nu.onRelease = function () {
play();
};
}
frame 139 {
stop();
nu.onRelease = function () {
play();
};
}
frame 160 {
stop();
nu.onRelease = function () {
play();
};
}
frame 172 {
stop();
nu.onRelease = function () {
play();
};
}
frame 234 {
stop();
nu.onRelease = function () {
play();
};
}
frame 245 {
stop();
nu.onRelease = function () {
play();
};
}
frame 308 {
stop();
ken.onRelease = function () {
play();
chi = 'ken';
};
ryu.onRelease = function () {
play();
chi = 'ryu';
};
}
frame 309 {
stop();
if (chi == 'ken') {
_root.gotoAndPlay('level18');
}
if (chi == 'ryu') {
_root.gotoAndPlay('level17');
}
}
}
frame 45 {
stop();
}
movieClip 4636 {
frame 135 {
stop();
nu.onRelease = function () {
play();
};
}
frame 145 {
stop();
nu.onRelease = function () {
play();
};
}
frame 155 {
stop();
nu.onRelease = function () {
play();
};
}
frame 167 {
stop();
nu.onRelease = function () {
play();
};
}
frame 177 {
stop();
nu.onRelease = function () {
play();
};
}
frame 188 {
stop();
nu.onRelease = function () {
play();
};
}
frame 199 {
stop();
nu.onRelease = function () {
play();
};
}
frame 209 {
stop();
nu.onRelease = function () {
play();
};
}
frame 225 {
stop();
nu.onRelease = function () {
play();
};
}
frame 235 {
stop();
nu.onRelease = function () {
play();
};
}
frame 245 {
stop();
nu.onRelease = function () {
play();
};
}
frame 296 {
stop();
nu.onRelease = function () {
play();
};
}
frame 306 {
stop();
nu.onRelease = function () {
play();
};
}
frame 318 {
stop();
nu.onRelease = function () {
play();
};
}
frame 340 {
stop();
nu.onRelease = function () {
play();
};
}
frame 352 {
stop();
nu.onRelease = function () {
play();
};
}
frame 363 {
stop();
nu.onRelease = function () {
play();
};
}
frame 402 {
_root.gotoAndPlay('sigla');
}
}
frame 46 {
stop();
}
movieClip 4637 {
frame 53 {
stop();
nu.onRelease = function () {
play();
};
}
frame 63 {
stop();
nu.onRelease = function () {
play();
};
}
frame 73 {
stop();
nu.onRelease = function () {
play();
};
}
frame 174 {
_root.play();
}
}
button 4638 {
on (release) {
_root.gotoAndPlay('level19');
stopAllSounds();
}
}
frame 47 {
stop();
}
movieClip 4644 {
}
movieClip 4652 {
frame 3 {
gotoAndPlay('inizio');
}
}
movieClip 4782 {
}
movieClip 4785 {
frame 216 {
stop();
nu.onRelease = function () {
play();
};
}
frame 226 {
stop();
nu.onRelease = function () {
play();
};
}
frame 236 {
stop();
nu.onRelease = function () {
play();
};
}
frame 246 {
stop();
nu.onRelease = function () {
play();
};
}
frame 256 {
stop();
nu.onRelease = function () {
play();
};
}
frame 286 {
stop();
nu.onRelease = function () {
play();
};
}
frame 304 {
stop();
nu.onRelease = function () {
play();
};
}
frame 314 {
stop();
nu.onRelease = function () {
play();
};
}
frame 366 {
_root.gotoAndPlay('level19');
}
}
frame 48 {
stop();
}
movieClip 4803 {
}
movieClip 4840 {
}
movieClip 4917 {
}
movieClip 4961 {
}
movieClip 4964 {
frame 65 {
stop();
nu.onRelease = function () {
play();
};
}
frame 80 {
stop();
nu.onRelease = function () {
play();
};
}
frame 121 {
stop();
nu.onRelease = function () {
play();
};
}
frame 136 {
stop();
nu.onRelease = function () {
play();
};
}
frame 151 {
stop();
nu.onRelease = function () {
play();
};
}
frame 215 {
stop();
nu.onRelease = function () {
play();
};
}
frame 230 {
stop();
nu.onRelease = function () {
play();
};
}
frame 251 {
stop();
nu.onRelease = function () {
play();
};
}
frame 262 {
stop();
nu.onRelease = function () {
play();
};
}
frame 273 {
stop();
nu.onRelease = function () {
play();
};
}
frame 294 {
stop();
nu.onRelease = function () {
play();
};
}
frame 334 {
stop();
nu.onRelease = function () {
play();
};
}
frame 345 {
stop();
nu.onRelease = function () {
play();
};
}
frame 376 {
_root.gotoAndPlay('endgame');
}
}
button 4965 {
on (release) {
_root.gotoAndPlay('endgame');
stopAllSounds();
}
}
frame 49 {
stop();
}
movieClip 5002 {
}
movieClip 5016 {
}
movieClip 5020 {
frame 70 {
stop();
nu.onRelease = function () {
play();
};
}
frame 80 {
stop();
nu.onRelease = function () {
play();
};
}
frame 90 {
stop();
nu.onRelease = function () {
play();
};
}
frame 100 {
stop();
nu.onRelease = function () {
play();
};
}
frame 131 {
stop();
nu.onRelease = function () {
play();
};
}
frame 144 {
stop();
nu.onRelease = function () {
play();
};
}
frame 155 {
stop();
nu.onRelease = function () {
play();
};
}
frame 181 {
stop();
nu.onRelease = function () {
play();
};
}
frame 212 {
stop();
nu.onRelease = function () {
play();
};
}
frame 228 {
stop();
nu.onRelease = function () {
play();
};
}
frame 289 {
_root.gotoAndPlay('siglafinale');
}
}
frame 50 {
stop();
}
movieClip 5294 {
}
movieClip 5299 {
frame 1816 {
stop();
nu.onRelease = function () {
play();
};
}
frame 1874 {
_root.gotoAndPlay('battle');
}
}
frame 51 {
stop();
risultato = 'pari';
players = 2;
player = 'ryu';
level = 0;
enemywin = 0;
playerwin = 1;
range = 'no';
range2 = 'no';
play();
}
instance of movieClip 1855 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.range == 'no') {
gotoAndPlay('no');
}
if (_root.range == 'long') {
gotoAndPlay('long');
}
if (_root.range == 'medium') {
gotoAndPlay('medium');
}
if (_root.range == 'short') {
gotoAndPlay('short');
}
}
if (_root.player == 'ryu') {
if (_root.range2 == 'no') {
gotoAndPlay('no');
}
if (_root.range2 == 'long') {
gotoAndPlay('long');
}
if (_root.range2 == 'medium') {
gotoAndPlay('medium');
}
if (_root.range2 == 'short') {
gotoAndPlay('short');
}
}
}
}
movieClip 5302 {
frame 1 {
stop();
}
}
movieClip 5308 {
}
movieClip 5312 {
instance focusbaruno of movieClip 1847 {
onClipEvent (enterFrame) {
this._width = (_root.player1.focus / _root.player1.maxfocus) * 190;
}
}
instance of movieClip 1848 {
onClipEvent (enterFrame) {
this._width = (_root.player1.ki / _root.player1.maxki) * 190;
}
}
instance of movieClip 1850 {
onClipEvent (enterFrame) {
this._width = (_root.player1.hp / _root.player1.maxhp) * 190;
}
}
instance focusbaruno of movieClip 1847 {
onClipEvent (enterFrame) {
this._width = (_root.player2.focus / _root.player2.maxfocus) * 190;
}
}
instance of movieClip 1848 {
onClipEvent (enterFrame) {
this._width = (_root.player2.ki / _root.player2.maxki) * 190;
}
}
instance of movieClip 1850 {
onClipEvent (enterFrame) {
this._width = (_root.player2.hp / _root.player2.maxhp) * 190;
}
}
instance of movieClip 5302 {
onClipEvent (enterFrame) {
if (_root.player1.difesaalta == 0) {
alto.gotoAndPlay('verde');
} else {
if (_root.player1.difesaalta == 1) {
alto.gotoAndPlay('giallo');
} else {
if (_root.player1.difesaalta >= 2) {
alto.gotoAndPlay('rosso');
}
}
}
if (_root.player1.difesamedia == 0) {
medio.gotoAndPlay('verde');
} else {
if (_root.player1.difesamedia == 1) {
medio.gotoAndPlay('giallo');
} else {
if (_root.player1.difesamedia >= 2) {
medio.gotoAndPlay('rosso');
}
}
}
if (_root.player1.difesabassa == 0) {
basso.gotoAndPlay('verde');
} else {
if (_root.player1.difesabassa == 1) {
basso.gotoAndPlay('giallo');
} else {
if (_root.player1.difesabassa >= 2) {
basso.gotoAndPlay('rosso');
}
}
}
}
}
instance of movieClip 5302 {
onClipEvent (enterFrame) {
if (_root.player2.difesaalta == 0) {
alto.gotoAndPlay('verde');
} else {
if (_root.player2.difesaalta == 1) {
alto.gotoAndPlay('giallo');
} else {
if (_root.player2.difesaalta >= 2) {
alto.gotoAndPlay('rosso');
}
}
}
if (_root.player2.difesamedia == 0) {
medio.gotoAndPlay('verde');
} else {
if (_root.player2.difesamedia == 1) {
medio.gotoAndPlay('giallo');
} else {
if (_root.player2.difesamedia >= 2) {
medio.gotoAndPlay('rosso');
}
}
}
if (_root.player2.difesabassa == 0) {
basso.gotoAndPlay('verde');
} else {
if (_root.player2.difesabassa == 1) {
basso.gotoAndPlay('giallo');
} else {
if (_root.player2.difesabassa >= 2) {
basso.gotoAndPlay('rosso');
}
}
}
}
}
frame 2 {
stop();
}
instance focusbaruno of movieClip 1847 {
onClipEvent (enterFrame) {
this._width = (_root.player3.focus / _root.player3.maxfocus) * 190;
}
}
instance of movieClip 1848 {
onClipEvent (enterFrame) {
this._width = (_root.player3.ki / _root.player3.maxki) * 190;
}
}
instance of movieClip 1850 {
onClipEvent (enterFrame) {
this._width = (_root.player3.hp / _root.player3.maxhp) * 190;
}
}
instance of movieClip 5302 {
onClipEvent (enterFrame) {
if (_root.player3.difesaalta == 0) {
alto.gotoAndPlay('verde');
} else {
if (_root.player3.difesaalta == 1) {
alto.gotoAndPlay('giallo');
} else {
if (_root.player3.difesaalta >= 2) {
alto.gotoAndPlay('rosso');
}
}
}
if (_root.player3.difesamedia == 0) {
medio.gotoAndPlay('verde');
} else {
if (_root.player3.difesamedia == 1) {
medio.gotoAndPlay('giallo');
} else {
if (_root.player3.difesamedia >= 2) {
medio.gotoAndPlay('rosso');
}
}
}
if (_root.player3.difesabassa == 0) {
basso.gotoAndPlay('verde');
} else {
if (_root.player3.difesabassa == 1) {
basso.gotoAndPlay('giallo');
} else {
if (_root.player3.difesabassa >= 2) {
basso.gotoAndPlay('rosso');
}
}
}
}
}
frame 4 {
stop();
}
instance focusbaruno of movieClip 1847 {
onClipEvent (enterFrame) {
this._width = (_root.player1.focus / _root.player1.maxfocus) * 190;
}
}
instance of movieClip 1848 {
onClipEvent (enterFrame) {
this._width = (_root.player1.ki / _root.player1.maxki) * 190;
}
}
instance of movieClip 1850 {
onClipEvent (enterFrame) {
this._width = (_root.player1.hp / _root.player1.maxhp) * 190;
}
}
instance of movieClip 5302 {
onClipEvent (enterFrame) {
if (_root.player1.difesaalta == 0) {
alto.gotoAndPlay('verde');
} else {
if (_root.player1.difesaalta == 1) {
alto.gotoAndPlay('giallo');
} else {
if (_root.player1.difesaalta >= 2) {
alto.gotoAndPlay('rosso');
}
}
}
if (_root.player1.difesamedia == 0) {
medio.gotoAndPlay('verde');
} else {
if (_root.player1.difesamedia == 1) {
medio.gotoAndPlay('giallo');
} else {
if (_root.player1.difesamedia >= 2) {
medio.gotoAndPlay('rosso');
}
}
}
if (_root.player1.difesabassa == 0) {
basso.gotoAndPlay('verde');
} else {
if (_root.player1.difesabassa == 1) {
basso.gotoAndPlay('giallo');
} else {
if (_root.player1.difesabassa >= 2) {
basso.gotoAndPlay('rosso');
}
}
}
}
}
frame 6 {
stop();
ken.onRelease = function () {
gotoAndPlay('kendoppio');
};
}
instance focusbaruno of movieClip 1847 {
onClipEvent (enterFrame) {
this._width = (_root.player3.focus / _root.player3.maxfocus) * 190;
}
}
instance of movieClip 1848 {
onClipEvent (enterFrame) {
this._width = (_root.player3.ki / _root.player3.maxki) * 190;
}
}
instance of movieClip 1850 {
onClipEvent (enterFrame) {
this._width = (_root.player3.hp / _root.player3.maxhp) * 190;
}
}
instance of movieClip 5302 {
onClipEvent (enterFrame) {
if (_root.player3.difesaalta == 0) {
alto.gotoAndPlay('verde');
} else {
if (_root.player3.difesaalta == 1) {
alto.gotoAndPlay('giallo');
} else {
if (_root.player3.difesaalta >= 2) {
alto.gotoAndPlay('rosso');
}
}
}
if (_root.player3.difesamedia == 0) {
medio.gotoAndPlay('verde');
} else {
if (_root.player3.difesamedia == 1) {
medio.gotoAndPlay('giallo');
} else {
if (_root.player3.difesamedia >= 2) {
medio.gotoAndPlay('rosso');
}
}
}
if (_root.player3.difesabassa == 0) {
basso.gotoAndPlay('verde');
} else {
if (_root.player3.difesabassa == 1) {
basso.gotoAndPlay('giallo');
} else {
if (_root.player3.difesabassa >= 2) {
basso.gotoAndPlay('rosso');
}
}
}
}
}
frame 8 {
stop();
ken.onRelease = function () {
gotoAndPlay('kendoppio');
};
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.players == 1 and _root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.players == 1 and _root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
if (_root.players == 2 and _root.player == 'ken') {
gotoAndPlay('kendoppio');
}
if (_root.players == 2 and _root.player == 'ryu') {
gotoAndPlay('ryudoppio');
}
}
}
movieClip 5328 {
}
movieClip 5426 {
}
movieClip 5427 {
frame 29 {
stop();
}
}
movieClip 5428 {
frame 6 {
stop();
stun = false;
}
frame 8 {
stun = true;
}
frame 12 {
stop();
}
frame 14 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player2');
arretrare = 6;
}
frame 36 {
arretrare = 0;
this._x = xadesso + 200;
}
frame 62 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 66 {
_root.dannomenu.gotoAndPlay('player2');
arretrare = 4;
this._x = xadesso;
}
frame 76 {
arretrare = 0;
this._x = xadesso + 100;
}
frame 108 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 110 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player2');
arretrare = 6;
}
frame 133 {
arretrare = 0;
this._x = xadesso + 200;
}
frame 155 {
stop();
life -= 1;
if (life <= 0) {
dead = true;
}
}
frame 156 {
stop();
if (strategia == 'difesa' and this._x <= 500) {
gotoAndPlay('wb');
} else {
if (strategia == 'difesa' and this._x > 500) {
gotoAndPlay('choose');
}
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range != 'short') {
gotoAndPlay('wf');
} else {
if (strategia == 'attacco' and _root.player == 'ken' and _root.range == 'short') {
gotoAndPlay('choose');
}
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 != 'short') {
gotoAndPlay('wf');
} else {
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 == 'short') {
gotoAndPlay('choose');
}
}
}
frame 167 {
this._x -= 100;
gotoAndPlay('choose');
}
frame 189 {
this._x -= 200;
_root.turn += 1;
gotoAndPlay('stance');
}
frame 202 {
this._x += 100;
gotoAndPlay('choose');
}
frame 223 {
this._x += 200;
_root.turn += 1;
gotoAndPlay('stance');
}
frame 224 {
stop();
if (strategia == 'difesa') {
gotoAndPlay('focus');
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range != 'no') {
gotoAndPlay('stance');
_root.engage.gotoAndPlay('defend');
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 != 'no') {
gotoAndPlay('stance');
_root.engage.gotoAndPlay('defend');
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range == 'no') {
gotoAndPlay('stance');
_root.turn += 1;
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 == 'no') {
gotoAndPlay('stance');
_root.turn += 1;
}
}
frame 252 {
percento = maxfocus / 100;
cento = 80 - caricafocus;
if (cento < 50) {
cento = 50;
}
focus = Math.round(percento * cento);
}
frame 257 {
_root.turn += 1;
caricafocus += 20;
gotoAndPlay('stance');
}
}
instance player2 of movieClip 5428 {
onClipEvent (load) {
dead = false;
life = 1;
maxhp = 20;
hp = maxhp;
maxfocus = 30;
focus = maxfocus;
ki = 0;
maxki = 10;
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
arretrare = 0;
caricafocus = 0;
}
onClipEvent (enterFrame) {
if (focus <= 2) {
strategia = 'difesa';
} else {
strategia = 'attacco';
}
this._x += arretrare;
if (this._x > 477) {
this._x = 477;
}
if (_root.turn == 3) {
_root.turn += 1;
gotoAndPlay('move');
}
if (focus <= 0 and stun == false) {
focus = 1;
_root.engage.enemydefend.gotoAndPlay('stun');
stun = true;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
movieClip 5431 {
}
movieClip 5445 {
frame 6 {
stop();
fase = 'wait';
stun = false;
}
frame 12 {
stop();
if (_root.range == 'short') {
wf._visible = false;
} else {
wf._visible = true;
}
if (_root.range == 'medium' or _root.range == 'short') {
df._visible = false;
} else {
df._visible = true;
}
if (this._x <= 100) {
wb._visible = false;
} else {
wb._visible = true;
}
if (this._x <= 200) {
db._visible = false;
} else {
db._visible = true;
}
wf.onRelease = function () {
gotoAndPlay('wf');
};
df.onRelease = function () {
gotoAndPlay('df');
};
wb.onRelease = function () {
gotoAndPlay('wb');
};
db.onRelease = function () {
gotoAndPlay('db');
};
stand.onRelease = function () {
gotoAndPlay('choose');
};
}
frame 25 {
this._x += 100;
gotoAndPlay('choose');
}
frame 50 {
this._x += 200;
_root.turn += 1;
gotoAndPlay('stance');
}
frame 63 {
this._x -= 100;
gotoAndPlay('choose');
}
frame 88 {
this._x -= 200;
_root.turn += 1;
gotoAndPlay('stance');
}
frame 90 {
fase = 'attack';
}
frame 96 {
stop();
_root.dannomenu.gotoAndPlay('choose');
gotoAndPlay('stance');
}
frame 121 {
percento = maxfocus / 100;
cento = 80 - caricafocus;
if (cento < 50) {
cento = 50;
}
focus = Math.round(percento * cento);
}
frame 126 {
_root.turn += 1;
caricafocus += 10;
gotoAndPlay('stance');
}
frame 127 {
stun = true;
stop();
}
frame 136 {
if (_root.player == 'ken') {
play();
} else {
stop();
}
}
frame 152 {
_root.player = 'ryu';
_root.player3.gotoAndPlay('in');
_root.sfondobattle.play();
stop();
}
frame 170 {
_root.turn = 3;
ki = 10;
gotoAndPlay('stance');
}
frame 174 {
_root.dannomenu.gotoAndPlay('player');
arretrare = 4;
this._x = xadesso;
}
frame 184 {
arretrare = 0;
this._x = xadesso + 100;
}
frame 216 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 218 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player');
arretrare = 6;
}
frame 240 {
arretrare = 0;
this._x = xadesso + 200;
}
frame 266 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 270 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player');
arretrare = 6;
}
frame 286 {
arretrare = 0;
this._x = xadesso + 200;
}
frame 302 {
stop();
life -= 1;
if (_root.players == 1 and life <= 0) {
stop();
dead = true;
}
if (_root.players == 1 and life > 0) {
gotoAndPlay('resurrect');
_root.play();
}
if (_root.players == 2 and _root.player3.dead == false) {
play();
dead = true;
}
if (_root.players == 2 and _root.player3.dead == true) {
stop();
dead = true;
}
}
frame 322 {
stop();
_root.player = 'ryu';
_root.players = 1;
_root.player3.gotoAndPlay('in');
stop();
}
frame 340 {
gotoAndPlay('stance');
}
frame 342 {
hp = maxhp;
focus = maxfocus;
caricafocus = 0;
}
frame 359 {
gotoAndPlay('stance');
}
}
instance player1 of movieClip 5445 {
onClipEvent (load) {
dead = false;
life = 1;
maxhp = _root.maxhpken;
hp = maxhp;
maxfocus = _root.maxfocusken;
focus = maxfocus;
maxap = 8;
ap = 0;
ki = 0;
maxki = 10;
fase = 'wait';
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
arretrare = 0;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x -= arretrare;
if (this._x < 0 and _root.player == 'ken') {
this._x = 0;
}
if (_root.player == 'ryu') {
this._x = -100;
}
if (_root.turn == 1 and _root.player == 'ken') {
gotoAndPlay('move');
_root.turn += 1;
}
if (focus < 0) {
focus = 1;
gotoAndPlay('stun');
}
if (focus > maxfocus) {
focus = maxfocus;
}
if (ki > maxki) {
ki = maxki;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
movieClip 5457 {
}
movieClip 5460 {
frame 6 {
stop();
stun = false;
fase = 'wait';
}
frame 12 {
stop();
if (_root.range2 == 'short') {
wf._visible = false;
} else {
wf._visible = true;
}
if (_root.range2 == 'medium' or _root.range2 == 'short') {
df._visible = false;
} else {
df._visible = true;
}
if (this._x <= 100) {
wb._visible = false;
} else {
wb._visible = true;
}
if (this._x <= 200) {
db._visible = false;
} else {
db._visible = true;
}
wf.onRelease = function () {
gotoAndPlay('wf');
};
df.onRelease = function () {
gotoAndPlay('df');
};
wb.onRelease = function () {
gotoAndPlay('wb');
};
db.onRelease = function () {
gotoAndPlay('db');
};
stand.onRelease = function () {
gotoAndPlay('choose');
};
}
frame 25 {
this._x += 100;
gotoAndPlay('choose');
}
frame 50 {
this._x += 200;
_root.turn += 1;
gotoAndPlay('stance');
}
frame 63 {
this._x -= 100;
gotoAndPlay('choose');
}
frame 88 {
this._x -= 200;
_root.turn += 1;
gotoAndPlay('stance');
}
frame 90 {
fase = 'attack';
}
frame 96 {
stop();
_root.dannomenu.gotoAndPlay('choose');
gotoAndPlay('stance');
}
frame 121 {
percento = maxfocus / 100;
cento = 80 - caricafocus;
if (cento < 50) {
cento = 50;
}
focus = Math.round(percento * cento);
}
frame 126 {
_root.turn += 1;
caricafocus += 20;
gotoAndPlay('stance');
}
frame 127 {
stun = true;
stop();
}
frame 137 {
if (_root.player == 'ryu') {
play();
} else {
stop();
}
}
frame 148 {
_root.player = 'ken';
_root.player1.gotoAndPlay('in');
_root.sfondobattle.play();
stop();
}
frame 162 {
_root.turn = 3;
ki = 10;
gotoAndPlay('stance');
}
frame 167 {
_root.dannomenu.gotoAndPlay('player');
arretrare = 4;
this._x = xadesso;
}
frame 177 {
arretrare = 0;
this._x = xadesso + 100;
}
frame 209 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 211 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player');
arretrare = 6;
}
frame 233 {
arretrare = 0;
this._x = xadesso + 200;
}
frame 259 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 262 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player');
arretrare = 6;
}
frame 280 {
arretrare = 0;
this._x = xadesso + 200;
}
frame 293 {
stop();
life -= 1;
if (_root.players == 1 and life <= 0) {
stop();
dead = true;
}
if (_root.players == 1 and life > 0) {
gotoAndPlay('resurrect');
_root.play();
}
if (_root.players == 2 and _root.player1.dead == false) {
play();
dead = true;
}
if (_root.players == 2 and _root.player1.dead == true) {
stop();
dead = true;
}
}
frame 312 {
_root.player = 'ken';
_root.players = 1;
_root.player1.gotoAndPlay('in');
stop();
}
frame 328 {
gotoAndPlay('stance');
}
frame 330 {
hp = maxhp;
focus = maxfocus;
caricafocus = 0;
}
frame 347 {
gotoAndPlay('stance');
}
}
instance player3 of movieClip 5460 {
onClipEvent (load) {
dead = false;
life = 1;
maxhp = _root.maxhpryu;
hp = maxhp;
maxfocus = _root.maxfocusryu;
focus = maxfocus;
maxap = 7;
ap = 0;
ki = 0;
maxki = 10;
fase = 'wait';
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x -= arretrare;
if (this._x < 0 and _root.player == 'ryu') {
this._x = 0;
}
if (_root.player == 'ken') {
this._x = -100;
}
if (_root.turn == 1 and _root.player == 'ryu') {
gotoAndPlay('move');
_root.turn += 1;
}
if (focus < 0) {
focus = 1;
gotoAndPlay('stun');
}
if (focus > maxfocus) {
focus = maxfocus;
}
if (ki > maxki) {
ki = maxki;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
movieClip 5480 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 5484 {
frame 1 {
stop();
}
frame 7 {
stop();
}
}
movieClip 5485 {
frame 1 {
stop();
}
frame 60 {
gotoAndPlay('stance');
}
frame 120 {
gotoAndPlay('stance');
}
frame 127 {
stop();
if (_root.player == 'ken' and _root.range == 'no') {
engage.gotoAndPlay('off');
}
if (_root.player == 'aku' and _root.range == 'no') {
engage.gotoAndPlay('off');
}
if (_root.player == 'ryu' and _root.range2 == 'no') {
engage.gotoAndPlay('off');
}
guard.onRelease = function () {
if (_root.player == 'ken' or _root.player == 'aku') {
_root.player1.gotoAndPlay('focus');
gotoAndPlay('stance');
} else {
if (_root.player == 'ryu') {
_root.player3.gotoAndPlay('focus');
gotoAndPlay('stance');
}
}
};
schip.onRelease = function () {
_root.turn += 1;
gotoAndPlay('stance');
};
}
instance engage of movieClip 5480 {
onClipEvent (enterFrame) {
engage.onRelease = function () {
_root.engage.gotoAndPlay('engage');
_root.dannomenu.gotoAndPlay('stance');
};
}
}
instance of movieClip 5484 {
onClipEvent (load) {
attivo = false;
}
onClipEvent (enterFrame) {
if (_root.players == 2 and attivo == false) {
gotoAndPlay('on');
attivo = true;
} else {
if (_root.players == 1) {
gotoAndPlay('off');
}
}
suap.onRelease = function () {
_root.player1.gotoAndPlay('swap');
_root.player3.gotoAndPlay('swap');
_root.dannomenu.gotoAndPlay('stance');
};
}
}
}
movieClip 5490 {
instance bar of movieClip 1906 {
onClipEvent (enterFrame) {
this._width = (_root.player1.ap / _root.player1.maxap) * 700;
}
}
}
movieClip 5495 {
frame 1 {
stop();
kenheader = false;
kenside = false;
kenlow = false;
kenknee = false;
kenflying = false;
kenhigh = false;
kensliding = false;
kentween = false;
kenhadou = false;
kentatsu = false;
kenshoryu = false;
shinryu = false;
reppa = false;
shippu = false;
ryuright = false;
ryuelbow = false;
ryulow = false;
ryudown = false;
ryurising = false;
ryuhigh = false;
ryuflying = false;
ryustrong = false;
ryuhadou = false;
ryutatsu = false;
ryushoryu = false;
shinshoryu = false;
shinkutatsu = false;
shinkuhadou = false;
if (_root.player == 'ken') {
gotoAndPlay('kencombo');
}
if (_root.player == 'ryu') {
gotoAndPlay('ryucombo');
}
}
instance of movieClip 1289 {
onClipEvent (enterFrame) {
if (_root.player1.ap < 3 or _root.engage.tech.kenheader == true) {
gotoAndPlay('off');
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'header';
_root.player1.ap -= 3;
_root.engage.tech.kenheader = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'header';
_root.player1.ap -= 3;
_root.engage.tech.kenheader = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'header';
_root.player1.ap -= 3;
_root.engage.tech.kenheader = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'header';
_root.player1.ap -= 3;
_root.engage.tech.kenheader = true;
_root.engage.action += 1;
}
}
}
}
};
}
}
instance of movieClip 1294 {
onClipEvent (enterFrame) {
if (_root.player1.ap < 3 or _root.engage.tech.kenslide == true) {
gotoAndPlay('off');
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'side kick';
_root.player1.ap -= 3;
_root.engage.tech.kenslide = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'side kick';
_root.player1.ap -= 3;
_root.engage.tech.kenslide = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'side kick';
_root.player1.ap -= 3;
_root.engage.tech.kenslide = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'side kick';
_root.player1.ap -= 3;
_root.engage.tech.kenslide = true;
_root.engage.action += 1;
}
}
}
}
};
}
}
instance of movieClip 1296 {
onClipEvent (enterFrame) {
if (_root.player1.ap < 3 or _root.engage.tech.kenlow == true) {
gotoAndPlay('off');
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'low kick';
_root.player1.ap -= 3;
_root.engage.tech.kenlow = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'low kick';
_root.player1.ap -= 3;
_root.engage.tech.kenlow = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'low kick';
_root.player1.ap -= 3;
_root.engage.tech.kenlow = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'low kick';
_root.player1.ap -= 3;
_root.engage.tech.kenlow = true;
_root.engage.action += 1;
}
}
}
}
};
}
}
instance of movieClip 1301 {
onClipEvent (enterFrame) {
if (_root.player1.ap < 3 or _root.engage.tech.kenknee == true) {
gotoAndPlay('off');
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'knee bash';
_root.player1.ap -= 3;
_root.engage.tech.kenknee = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'knee bash';
_root.player1.ap -= 3;
_root.engage.tech.kenknee = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'knee bash';
_root.player1.ap -= 3;
_root.engage.tech.kenknee = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'knee bash';
_root.player1.ap -= 3;
_root.engage.tech.kenknee = true;
_root.engage.action += 1;
}
}
}
}
};
}
}
instance of movieClip 1303 {
onClipEvent (enterFrame) {
if (_root.styleken >= 2) {
if (_root.player1.ap >= 3 and _root.engage.tech.kenflying == false) {
gotoAndPlay('on');
}
if (_root.player1.ap < 3 or _root.engage.tech.kenflying == true) {
gotoAndPlay('off');
}
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'flying kick';
_root.player1.ap -= 3;
_root.engage.tech.kenflying = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'flying kick';
_root.player1.ap -= 3;
_root.engage.tech.kenflying = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'flying kick';
_root.player1.ap -= 3;
_root.engage.tech.kenflying = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'flying kick';
_root.player1.ap -= 3;
_root.engage.tech.kenflying = true;
_root.engage.action += 1;
}
}
}
}
};
}
}
instance of movieClip 1305 {
onClipEvent (enterFrame) {
if (_root.styleken >= 3) {
if (_root.player1.ap >= 4 and _root.engage.tech.kenhigh == false) {
gotoAndPlay('on');
}
if (_root.player1.ap < 4 or _root.engage.tech.kenhigh == true) {
gotoAndPlay('off');
}
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'high-down';
_root.player1.ap -= 4;
_root.engage.tech.kenhigh = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'high-down';
_root.player1.ap -= 4;
_root.engage.tech.kenhigh = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'high-down';
_root.player1.ap -= 4;
_root.engage.tech.kenhigh = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'high-down';
_root.player1.ap -= 4;
_root.engage.tech.kenhigh = true;
_root.engage.action += 1;
}
}
}
}
};
}
}
instance of movieClip 1310 {
onClipEvent (enterFrame) {
if (_root.styleken >= 5) {
if (_root.player1.ap >= 4 and _root.engage.tech.kensliding == false) {
gotoAndPlay('on');
}
if (_root.player1.ap < 4 or _root.engage.tech.kensliding == true) {
gotoAndPlay('off');
}
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'sliding kick';
_root.player1.ap -= 4;
_root.engage.tech.kensliding = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'sliding kick';
_root.player1.ap -= 4;
_root.engage.tech.kensliding = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'sliding kick';
_root.player1.ap -= 4;
_root.engage.tech.kensliding = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'sliding kick';
_root.player1.ap -= 4;
_root.engage.tech.kensliding = true;
_root.engage.action += 1;
}
}
}
}
};
}
}
instance of movieClip 1315 {
onClipEvent (enterFrame) {
if (_root.styleken >= 6) {
if (_root.player1.ap >= 4 and _root.engage.tech.kentween == false) {
gotoAndPlay('on');
}
if (_root.player1.ap < 4 or _root.engage.tech.kentween == true) {
gotoAndPlay('off');
}
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'tween legs';
_root.player1.ap -= 4;
_root.engage.tech.kentween = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'tween legs';
_root.player1.ap -= 4;
_root.engage.tech.kentween = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'tween legs';
_root.player1.ap -= 4;
_root.engage.tech.kentween = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'tween legs';
_root.player1.ap -= 4;
_root.engage.tech.kentween = true;
_root.engage.action += 1;
}
}
}
}
};
}
}
frame 3 {
stop();
arts.onRelease = function () {
gotoAndPlay('kenarts');
};
}
instance of movieClip 1191 {
onClipEvent (enterFrame) {
if (_root.player1.ap < 3 or _root.player1.ki < 6 or _root.engage.tech.kenhadou == true) {
gotoAndPlay('off');
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'hadouken';
_root.player1.ap -= 3;
_root.player1.ki -= 6;
_root.engage.tech.kenhadou = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'hadouken';
_root.player1.ap -= 3;
_root.player1.ki -= 6;
_root.engage.tech.kenhadou = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'hadouken';
_root.player1.ap -= 3;
_root.player1.ki -= 6;
_root.engage.tech.kenhadou = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'hadouken';
_root.player1.ap -= 3;
_root.player1.ki -= 6;
_root.engage.tech.kenhadou = true;
_root.engage.action += 1;
}
}
}
}
_root.engage.kiusata += 6;
};
}
}
instance of movieClip 1196 {
onClipEvent (enterFrame) {
if (_root.player1.ap < 3 or _root.player1.ki < 6 or _root.engage.tech.kentatsu == true) {
gotoAndPlay('off');
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'tatsumaki';
_root.player1.ap -= 3;
_root.player1.ki -= 6;
_root.engage.tech.kentatsu = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'tatsumaki';
_root.player1.ap -= 3;
_root.player1.ki -= 6;
_root.engage.tech.kentatsu = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'tatsumaki';
_root.player1.ap -= 3;
_root.player1.ki -= 6;
_root.engage.tech.kentatsu = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'tatsumaki';
_root.player1.ap -= 3;
_root.player1.ki -= 6;
_root.engage.tech.kentatsu = true;
_root.engage.action += 1;
}
}
}
}
_root.engage.kiusata += 6;
};
}
}
instance of movieClip 1201 {
onClipEvent (enterFrame) {
if (_root.player1.ap < 3 or _root.player1.ki < 6 or _root.engage.tech.kenshoryu == true) {
gotoAndPlay('off');
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'shoryuken';
_root.player1.ap -= 3;
_root.player1.ki -= 6;
_root.engage.tech.kenshoryu = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'shoryuken';
_root.player1.ap -= 3;
_root.player1.ki -= 6;
_root.engage.tech.kenshoryu = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'shoryuken';
_root.player1.ap -= 3;
_root.player1.ki -= 6;
_root.engage.tech.kenshoryu = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'shoryuken';
_root.player1.ap -= 3;
_root.player1.ki -= 6;
_root.engage.tech.kenshoryu = true;
_root.engage.action += 1;
}
}
}
}
_root.engage.kiusata += 6;
};
}
}
instance of movieClip 1320 {
onClipEvent (enterFrame) {
if (_root.livello0 == true) {
if (_root.player1.ap >= 4 and _root.player1.ki >= 8 and _root.engage.tech.shinryu == false) {
gotoAndPlay('on');
}
if (_root.player1.ap < 4 or _root.player1.ki < 8 or _root.engage.tech.shinryu == true) {
gotoAndPlay('off');
}
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'shinryuken';
_root.player1.ap -= 4;
_root.player1.ki -= 8;
_root.engage.tech.shinryu = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'shinryuken';
_root.player1.ap -= 4;
_root.player1.ki -= 8;
_root.engage.tech.shinryu = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'shinryuken';
_root.player1.ap -= 4;
_root.player1.ki -= 8;
_root.engage.tech.shinryu = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'shinryuken';
_root.player1.ap -= 4;
_root.player1.ki -= 8;
_root.engage.tech.shinryu = true;
_root.engage.action += 1;
}
}
}
}
_root.engage.kiusata += 8;
};
}
}
instance of movieClip 1325 {
onClipEvent (enterFrame) {
if (_root.styleken >= 4) {
if (_root.player1.ap >= 3 and _root.player1.ki >= 6 and _root.engage.tech.shippu == false) {
gotoAndPlay('on');
}
if (_root.player1.ap < 3 or _root.player1.ki < 6 or _root.engage.tech.shippu == true) {
gotoAndPlay('off');
}
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'shippu jinrai';
_root.player1.ap -= 3;
_root.player1.ki -= 6;
_root.engage.tech.shippu = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'shippu jinrai';
_root.player1.ap -= 3;
_root.player1.ki -= 6;
_root.engage.tech.shippu = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'shippu jinrai';
_root.player1.ap -= 3;
_root.player1.ki -= 6;
_root.engage.tech.shippu = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'shippu jinrai';
_root.player1.ap -= 3;
_root.player1.ki -= 6;
_root.engage.tech.shippu = true;
_root.engage.action += 1;
}
}
}
}
_root.engage.kiusata += 6;
};
}
}
instance of movieClip 1332 {
onClipEvent (enterFrame) {
if (_root.livello14 == true) {
if (_root.player1.ap >= 5 and _root.player1.ki >= 10 and _root.engage.tech.reppa == false) {
gotoAndPlay('on');
}
if (_root.player1.ap < 5 or _root.player1.ki < 10 or _root.engage.tech.reppa == true) {
gotoAndPlay('off');
}
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'shoryu reppa';
_root.player1.ap -= 5;
_root.player1.ki -= 10;
_root.engage.tech.reppa = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'shoryu reppa';
_root.player1.ap -= 5;
_root.player1.ki -= 10;
_root.engage.tech.reppa = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'shoryu reppa';
_root.player1.ap -= 5;
_root.player1.ki -= 10;
_root.engage.tech.reppa = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'shoryu reppa';
_root.player1.ap -= 5;
_root.player1.ki -= 10;
_root.engage.tech.reppa = true;
_root.engage.action += 1;
}
}
}
}
_root.engage.kiusata += 10;
};
}
}
frame 5 {
stop();
combo.onRelease = function () {
gotoAndPlay('kencombo');
};
}
instance of movieClip 1226 {
onClipEvent (enterFrame) {
if (_root.player3.ap < 2 or _root.engage.tech.ryuright == true) {
gotoAndPlay('off');
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'strong right';
_root.player3.ap -= 2;
_root.engage.tech.ryuright = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'strong right';
_root.player3.ap -= 2;
_root.engage.tech.ryuright = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'strong right';
_root.player3.ap -= 2;
_root.engage.tech.ryuright = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'strong right';
_root.player3.ap -= 2;
_root.engage.tech.ryuright = true;
_root.engage.action += 1;
}
}
}
}
};
}
}
instance of movieClip 1231 {
onClipEvent (enterFrame) {
if (_root.player3.ap < 3 or _root.engage.tech.ryuelbow == true) {
gotoAndPlay('off');
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'elbow dash';
_root.player3.ap -= 3;
_root.engage.tech.ryuelbow = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'elbow dash';
_root.player3.ap -= 3;
_root.engage.tech.ryuelbow = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'elbow dash';
_root.player3.ap -= 3;
_root.engage.tech.ryuelbow = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'elbow dash';
_root.player3.ap -= 3;
_root.engage.tech.ryuelbow = true;
_root.engage.action += 1;
}
}
}
}
};
}
}
instance of movieClip 1236 {
onClipEvent (enterFrame) {
if (_root.player3.ap < 3 or _root.engage.tech.ryulow == true) {
gotoAndPlay('off');
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'low kick';
_root.player3.ap -= 3;
_root.engage.tech.ryulow = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'low kick';
_root.player3.ap -= 3;
_root.engage.tech.ryulow = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'low kick';
_root.player3.ap -= 3;
_root.engage.tech.ryulow = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'low kick';
_root.player3.ap -= 3;
_root.engage.tech.ryulow = true;
_root.engage.action += 1;
}
}
}
}
};
}
}
instance of movieClip 1241 {
onClipEvent (enterFrame) {
if (_root.player3.ap < 3 or _root.engage.tech.ryudown == true) {
gotoAndPlay('off');
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'high-down';
_root.player3.ap -= 3;
_root.engage.tech.ryudown = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'high-down';
_root.player3.ap -= 3;
_root.engage.tech.ryudown = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'high-down';
_root.player3.ap -= 3;
_root.engage.tech.ryudown = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'high-down';
_root.player3.ap -= 3;
_root.engage.tech.ryudown = true;
_root.engage.action += 1;
}
}
}
}
};
}
}
instance of movieClip 1246 {
onClipEvent (enterFrame) {
if (_root.styleryu >= 2) {
if (_root.player3.ap >= 2 and _root.engage.tech.ryurising == false) {
gotoAndPlay('on');
}
if (_root.player3.ap < 2 or _root.engage.tech.ryurising == true) {
gotoAndPlay('off');
}
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'rising punch';
_root.player3.ap -= 2;
_root.engage.tech.ryurising = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'rising punch';
_root.player3.ap -= 2;
_root.engage.tech.ryurising = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'rising punch';
_root.player3.ap -= 2;
_root.engage.tech.ryurising = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'rising punch';
_root.player3.ap -= 2;
_root.engage.tech.ryurising = true;
_root.engage.action += 1;
}
}
}
}
};
}
}
instance of movieClip 1251 {
onClipEvent (enterFrame) {
if (_root.styleryu >= 3) {
if (_root.player3.ap >= 2 and _root.engage.tech.ryuhigh == false) {
gotoAndPlay('on');
}
if (_root.player3.ap < 2 or _root.engage.tech.ryuhigh == true) {
gotoAndPlay('off');
}
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'high kick';
_root.player3.ap -= 2;
_root.engage.tech.ryuhigh = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'high kick';
_root.player3.ap -= 2;
_root.engage.tech.ryuhigh = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'high kick';
_root.player3.ap -= 2;
_root.engage.tech.ryuhigh = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'high kick';
_root.player3.ap -= 2;
_root.engage.tech.ryuhigh = true;
_root.engage.action += 1;
}
}
}
}
};
}
}
instance of movieClip 1256 {
onClipEvent (enterFrame) {
if (_root.styleryu >= 5) {
if (_root.player3.ap >= 4 and _root.engage.tech.ryuflying == false) {
gotoAndPlay('on');
}
if (_root.player3.ap < 4 or _root.engage.tech.ryuflying == true) {
gotoAndPlay('off');
}
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'flying kick';
_root.player3.ap -= 4;
_root.engage.tech.ryuflying = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'flying kick';
_root.player3.ap -= 4;
_root.engage.tech.ryuflying = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'flying kick';
_root.player3.ap -= 4;
_root.engage.tech.ryuflying = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'flying kick';
_root.player3.ap -= 4;
_root.engage.tech.ryuflying = true;
_root.engage.action += 1;
}
}
}
}
};
}
}
instance of movieClip 1261 {
onClipEvent (enterFrame) {
if (_root.styleryu >= 6) {
if (_root.player3.ap >= 4 and _root.engage.tech.ryustrong == false) {
gotoAndPlay('on');
}
if (_root.player3.ap < 4 or _root.engage.tech.ryustrong == true) {
gotoAndPlay('off');
}
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'strong fist';
_root.player3.ap -= 4;
_root.engage.tech.ryustrong = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'strong fist';
_root.player3.ap -= 4;
_root.engage.tech.ryustrong = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'strong fist';
_root.player3.ap -= 4;
_root.engage.tech.ryustrong = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'strong fist';
_root.player3.ap -= 4;
_root.engage.tech.ryustrong = true;
_root.engage.action += 1;
}
}
}
}
};
}
}
frame 7 {
stop();
arts.onRelease = function () {
gotoAndPlay('ryuarts');
};
}
instance of movieClip 1191 {
onClipEvent (enterFrame) {
if (_root.player3.ap < 3 or _root.player3.ki < 6 or _root.engage.tech.ryuhadou == true) {
gotoAndPlay('off');
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'hadouken';
_root.player3.ap -= 3;
_root.player3.ki -= 6;
_root.engage.tech.ryuhadou = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'hadouken';
_root.player3.ap -= 3;
_root.player3.ki -= 6;
_root.engage.tech.ryuhadou = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'hadouken';
_root.player3.ap -= 3;
_root.player3.ki -= 6;
_root.engage.tech.ryuhadou = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'hadouken';
_root.player3.ap -= 3;
_root.player3.ki -= 6;
_root.engage.tech.ryuhadou = true;
_root.engage.action += 1;
}
}
}
}
_root.engage.kiusata = 6;
};
}
}
instance of movieClip 1196 {
onClipEvent (enterFrame) {
if (_root.player3.ap < 3 or _root.player3.ki < 6 or _root.engage.tech.ryutatsu == true) {
gotoAndPlay('off');
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'tatsumaki';
_root.player3.ap -= 3;
_root.player3.ki -= 6;
_root.engage.tech.ryutatsu = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'tatsumaki';
_root.player3.ap -= 3;
_root.player3.ki -= 6;
_root.engage.tech.ryutatsu = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'tatsumaki';
_root.player3.ap -= 3;
_root.player3.ki -= 6;
_root.engage.tech.ryutatsu = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'tatsumaki';
_root.player3.ap -= 3;
_root.player3.ki -= 6;
_root.engage.tech.ryutatsu = true;
_root.engage.action += 1;
}
}
}
}
_root.engage.kiusata = 6;
};
}
}
instance of movieClip 1201 {
onClipEvent (enterFrame) {
if (_root.player3.ap < 3 or _root.player3.ki < 6 or _root.engage.tech.ryushoryu == true) {
gotoAndPlay('off');
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'shoryuken';
_root.player3.ap -= 3;
_root.player3.ki -= 6;
_root.engage.tech.ryushoryu = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'shoryuken';
_root.player3.ap -= 3;
_root.player3.ki -= 6;
_root.engage.tech.ryushoryu = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'shoryuken';
_root.player3.ap -= 3;
_root.player3.ki -= 6;
_root.engage.tech.ryushoryu = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'shoryuken';
_root.player3.ap -= 3;
_root.player3.ki -= 6;
_root.engage.tech.ryushoryu = true;
_root.engage.action += 1;
}
}
}
}
_root.engage.kiusata = 6;
};
}
}
instance of movieClip 1211 {
onClipEvent (enterFrame) {
if (_root.livello10 == true) {
if (_root.player3.ap >= 4 and _root.player3.ki >= 8 and _root.engage.tech.shinshoryu == false) {
gotoAndPlay('on');
}
if (_root.player3.ap < 4 or _root.player3.ki < 8 or _root.engage.tech.shinshoryu == true) {
gotoAndPlay('off');
}
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'shinshoryuken';
_root.player3.ap -= 4;
_root.player3.ki -= 8;
_root.engage.tech.shinhonryu = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'shinshoryuken';
_root.player3.ap -= 4;
_root.player3.ki -= 8;
_root.engage.tech.shinshoryu = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'shinshoryuken';
_root.player3.ap -= 4;
_root.player3.ki -= 8;
_root.engage.tech.shinshoryu = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'shinshoryuken';
_root.player3.ap -= 4;
_root.player3.ki -= 8;
_root.engage.tech.shinshoryu = true;
_root.engage.action += 1;
}
}
}
}
_root.engage.kiusata = 8;
};
}
}
instance of movieClip 1216 {
onClipEvent (enterFrame) {
if (_root.livello0 == true) {
if (_root.player3.ap >= 4 and _root.player3.ki >= 8 and _root.engage.tech.shinkuhadou == false) {
gotoAndPlay('on');
}
if (_root.player3.ap < 4 or _root.player3.ki < 8 or _root.engage.tech.shinkuhadou == true) {
gotoAndPlay('off');
}
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'shinkuhadouken';
_root.player3.ap -= 4;
_root.player3.ki -= 8;
_root.engage.tech.shinkuhadou = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'shinkuhadouken';
_root.player3.ap -= 4;
_root.player3.ki -= 8;
_root.engage.tech.shinkuhadou = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'shinkuhadouken';
_root.player3.ap -= 4;
_root.player3.ki -= 8;
_root.engage.tech.shinkuhadou = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'shinkuhadouken';
_root.player3.ap -= 4;
_root.player3.ki -= 8;
_root.engage.tech.shinkuhadou = true;
_root.engage.action += 1;
}
}
}
}
_root.engage.kiusata = 8;
};
}
}
instance of movieClip 1221 {
onClipEvent (enterFrame) {
if (_root.styleryu >= 4) {
if (_root.player3.ap >= 4 and _root.player3.ki >= 8 and _root.engage.tech.shinkutatsu == false) {
gotoAndPlay('on');
}
if (_root.player3.ap < 4 or _root.player3.ki < 8 or _root.engage.tech.shinkutatsu == true) {
gotoAndPlay('off');
}
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'shinku tatsu';
_root.player3.ap -= 4;
_root.player3.ki -= 8;
_root.engage.tech.shinkutatsu = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'shinku tatsu';
_root.player3.ap -= 4;
_root.player3.ki -= 8;
_root.engage.tech.shinkutatsu = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'shinku tatsu';
_root.player3.ap -= 4;
_root.player3.ki -= 8;
_root.engage.tech.shinkutatsu = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'shinku tatsu';
_root.player3.ap -= 4;
_root.player3.ki -= 8;
_root.engage.tech.shinkutatsu = true;
_root.engage.action += 1;
}
}
}
}
_root.engage.kiusata = 8;
};
}
}
frame 9 {
stop();
combo.onRelease = function () {
gotoAndPlay('ryucombo');
};
}
}
movieClip 5498 {
frame 2 {
stop();
}
frame 4 {
stop();
}
}
movieClip 5560 {
}
movieClip 5598 {
}
movieClip 5625 {
frame 1 {
stop();
if (_root.level == 0) {
gotoAndPlay('gouken');
}
if (_root.level == 1) {
gotoAndPlay('ken');
}
if (_root.level == 2) {
gotoAndPlay('ryu');
}
if (_root.level == 3) {
gotoAndPlay('dan');
}
if (_root.level == 4) {
gotoAndPlay('honda');
}
if (_root.level == 5) {
gotoAndPlay('bal');
}
if (_root.level == 6) {
gotoAndPlay('bir');
}
}
frame 16 {
stop();
}
frame 26 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('stance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('stun');
}
}
}
frame 36 {
stop();
danno = _root.engage.player.power + _root.player2.difesamedia;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
gotoAndPlay('stance');
}
frame 46 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
gotoAndPlay('stance');
}
frame 55 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('stance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('stun');
}
}
}
frame 64 {
stop();
danno = _root.engage.player.power + _root.player2.difesamedia;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('stance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('stun');
}
}
}
frame 73 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('stance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('stun');
}
}
}
frame 88 {
gotoAndPlay('stance');
}
frame 102 {
stop();
}
frame 114 {
stop();
if (_root.player2.stun == true) {
gotoAndPlay('kenstun');
}
}
frame 124 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('kenstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('kenstun');
}
}
}
frame 134 {
stop();
danno = _root.engage.player.power + _root.player2.difesamedia;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('kenstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('kenstun');
}
}
}
frame 144 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('kenstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('kenstun');
}
}
}
frame 153 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('kenstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('kenstun');
}
}
}
frame 162 {
stop();
danno = _root.engage.player.power + _root.player2.difesamedia;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('kenstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('kenstun');
}
}
}
frame 171 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('kenstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('kenstun');
}
}
}
frame 179 {
stop();
}
frame 188 {
gotoAndPlay('kenstance');
}
frame 199 {
stop();
if (_root.player2.stun == true) {
gotoAndPlay('ryustun');
}
}
frame 209 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('ryustance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('ryustun');
}
}
}
frame 219 {
stop();
danno = _root.engage.player.power + _root.player2.difesamedia;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('ryustance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('ryustun');
}
}
}
frame 229 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('ryustance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('ryustun');
}
}
}
frame 238 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('ryustance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('ryustun');
}
}
}
frame 247 {
stop();
danno = _root.engage.player.power + _root.player2.difesamedia;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('ryustance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('ryustun');
}
}
}
frame 256 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('ryustance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('ryustun');
}
}
}
frame 267 {
gotoAndPlay('ryustance');
}
frame 277 {
stop();
}
frame 289 {
stop();
if (_root.player2.stun == true) {
gotoAndPlay('danstun');
}
}
frame 299 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('danstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('danstun');
}
}
}
frame 309 {
stop();
danno = _root.engage.player.power + _root.player2.difesamedia;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('danstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('danstun');
}
}
}
frame 320 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('danstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('danstun');
}
}
}
frame 329 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('danstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('danstun');
}
}
}
frame 338 {
stop();
danno = _root.engage.player.power + _root.player2.difesamedia;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('danstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('danstun');
}
}
}
frame 347 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('danstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('danstun');
}
}
}
frame 362 {
gotoAndPlay('danstance');
}
frame 372 {
stop();
}
frame 384 {
stop();
if (_root.player2.stun == true) {
gotoAndPlay('hondastun');
}
}
frame 394 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('hondastance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('hondastun');
}
}
}
frame 404 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('hondastance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('hondastun');
}
}
}
frame 414 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('hondastance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('hondastun');
}
}
}
frame 427 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('hondastance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('hondastun');
}
}
}
frame 440 {
stop();
danno = _root.engage.player.power + _root.player2.difesamedia;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('hondastance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('hondastun');
}
}
}
frame 449 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('hondastance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('hondastun');
}
}
}
frame 459 {
gotoAndPlay('hondastance');
}
frame 469 {
stop();
}
frame 480 {
stop();
if (_root.player2.stun == true) {
gotoAndPlay('balstun');
}
}
frame 491 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('balstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('balstun');
}
}
}
frame 502 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('balstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('balstun');
}
}
}
frame 513 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('balstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('balstun');
}
}
}
frame 522 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('balstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('balstun');
}
}
}
frame 531 {
stop();
danno = _root.engage.player.power + _root.player2.difesamedia;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('balstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('balstun');
}
}
}
frame 543 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('balstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('balstun');
}
}
}
frame 553 {
gotoAndPlay('balstance');
}
frame 563 {
stop();
}
frame 574 {
stop();
}
frame 584 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('birstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('birstun');
}
}
}
frame 594 {
stop();
danno = _root.engage.player.power + _root.player2.difesamedia;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('birstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('birstun');
}
}
}
frame 604 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('birstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('birstun');
}
}
}
frame 613 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('birstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('birstun');
}
}
}
frame 622 {
stop();
danno = _root.engage.player.power + _root.player2.difesamedia;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('birstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('birstun');
}
}
}
frame 630 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('birstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('birstun');
}
}
}
frame 639 {
gotoAndPlay('birstance');
}
frame 649 {
stop();
}
}
movieClip 5637 {
}
movieClip 5699 {
}
movieClip 5731 {
frame 1 {
caricaki = 0;
}
frame 3 {
if (caricaki == 0) {
_root.player1.ki += _root.engage.action;
caricaki += 1;
}
if (_root.engage.action > 0 and _root.engage.action1 == 'header') {
gotoAndPlay('header');
}
if (_root.engage.action > 0 and _root.engage.action1 == 'side kick') {
gotoAndPlay('side');
}
if (_root.engage.action > 0 and _root.engage.action1 == 'low kick') {
gotoAndPlay('low');
}
if (_root.engage.action > 0 and _root.engage.action1 == 'knee bash') {
gotoAndPlay('knee');
}
if (_root.engage.action > 0 and _root.engage.action1 == 'flying kick') {
gotoAndPlay('flying');
}
if (_root.engage.action > 0 and _root.engage.action1 == 'high-down') {
gotoAndPlay('high');
}
if (_root.engage.action > 0 and _root.engage.action1 == 'sliding kick') {
gotoAndPlay('sliding');
}
if (_root.engage.action > 0 and _root.engage.action1 == 'tween legs') {
gotoAndPlay('tween');
}
if (_root.engage.action > 0 and _root.engage.action1 == 'hadouken') {
gotoAndPlay('hadouken');
}
if (_root.engage.action > 0 and _root.engage.action1 == 'tatsumaki') {
gotoAndPlay('tatsu');
}
if (_root.engage.action > 0 and _root.engage.action1 == 'shoryuken') {
gotoAndPlay('shoryu');
}
if (_root.engage.action > 0 and _root.engage.action1 == 'shinryuken') {
gotoAndPlay('shinryu');
}
if (_root.engage.action > 0 and _root.engage.action1 == 'shippu jinrai') {
gotoAndPlay('shippu');
}
if (_root.engage.action > 0 and _root.engage.action1 == 'shoryu reppa') {
gotoAndPlay('reppa');
}
}
frame 4 {
if (_root.engage.action > 0 and _root.engage.action2 == 'header') {
gotoAndPlay('header');
}
if (_root.engage.action > 0 and _root.engage.action2 == 'side kick') {
gotoAndPlay('side');
}
if (_root.engage.action > 0 and _root.engage.action2 == 'low kick') {
gotoAndPlay('low');
}
if (_root.engage.action > 0 and _root.engage.action2 == 'knee bash') {
gotoAndPlay('knee');
}
if (_root.engage.action > 0 and _root.engage.action2 == 'flying kick') {
gotoAndPlay('flying');
}
if (_root.engage.action > 0 and _root.engage.action2 == 'high-down') {
gotoAndPlay('high');
}
if (_root.engage.action > 0 and _root.engage.action2 == 'sliding kick') {
gotoAndPlay('sliding');
}
if (_root.engage.action > 0 and _root.engage.action2 == 'tween legs') {
gotoAndPlay('tween');
}
if (_root.engage.action > 0 and _root.engage.action2 == 'hadouken') {
gotoAndPlay('hadouken');
}
if (_root.engage.action > 0 and _root.engage.action2 == 'tatsumaki') {
gotoAndPlay('tatsu');
}
if (_root.engage.action > 0 and _root.engage.action2 == 'shoryuken') {
gotoAndPlay('shoryu');
}
if (_root.engage.action > 0 and _root.engage.action2 == 'shinryuken') {
gotoAndPlay('shinryu');
}
if (_root.engage.action > 0 and _root.engage.action2 == 'shippu jinrai') {
gotoAndPlay('shippu');
}
if (_root.engage.action > 0 and _root.engage.action2 == 'shoryu reppa') {
gotoAndPlay('reppa');
}
}
frame 5 {
if (_root.engage.action > 0 and _root.engage.action3 == 'header') {
gotoAndPlay('header');
}
if (_root.engage.action > 0 and _root.engage.action3 == 'side kick') {
gotoAndPlay('side');
}
if (_root.engage.action > 0 and _root.engage.action3 == 'low kick') {
gotoAndPlay('low');
}
if (_root.engage.action > 0 and _root.engage.action3 == 'knee bash') {
gotoAndPlay('knee');
}
if (_root.engage.action > 0 and _root.engage.action3 == 'flying kick') {
gotoAndPlay('flying');
}
if (_root.engage.action > 0 and _root.engage.action3 == 'high-down') {
gotoAndPlay('high');
}
if (_root.engage.action > 0 and _root.engage.action3 == 'sliding kick') {
gotoAndPlay('sliding');
}
if (_root.engage.action > 0 and _root.engage.action3 == 'tween legs') {
gotoAndPlay('tween');
}
if (_root.engage.action > 0 and _root.engage.action3 == 'hadouken') {
gotoAndPlay('hadouken');
}
if (_root.engage.action > 0 and _root.engage.action3 == 'tatsumaki') {
gotoAndPlay('tatsu');
}
if (_root.engage.action > 0 and _root.engage.action3 == 'shoryuken') {
gotoAndPlay('shoryu');
}
if (_root.engage.action > 0 and _root.engage.action3 == 'shinryuken') {
gotoAndPlay('shinryu');
}
if (_root.engage.action > 0 and _root.engage.action3 == 'shippu jinrai') {
gotoAndPlay('shippu');
}
if (_root.engage.action > 0 and _root.engage.action3 == 'shoryu reppa') {
gotoAndPlay('reppa');
}
}
frame 6 {
stop();
gotoAndPlay('end');
}
frame 9 {
_root.engage.special = true;
power = 1;
}
frame 23 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 25 {
success = false;
}
frame 33 {
_root.engage.special = true;
power = 1;
}
frame 47 {
_root.engage.special = false;
if (_root.engage.direzione == 'alta') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 49 {
success = false;
}
frame 57 {
_root.engage.special = true;
power = 2;
}
frame 72 {
_root.engage.special = false;
if (_root.engage.direzione == 'alta') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 74 {
success = false;
}
frame 86 {
_root.engage.action -= 1;
if (_root.engage.action1 == 'header') {
_root.engage.action1 = 'no';
}
if (_root.engage.action2 == 'header') {
_root.engage.action2 = 'no';
}
if (_root.engage.action3 == 'header') {
_root.engage.action3 = 'no';
}
gotoAndPlay('stance');
}
frame 88 {
_root.engage.special = true;
power = 1;
}
frame 102 {
_root.engage.special = false;
if (_root.engage.direzione == 'alta') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 104 {
success = false;
}
frame 109 {
_root.engage.special = true;
power = 1;
}
frame 123 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 125 {
success = false;
}
frame 134 {
_root.engage.special = true;
power = 2;
}
frame 148 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 150 {
success = false;
}
frame 159 {
_root.engage.action -= 1;
if (_root.engage.action1 == 'side kick') {
_root.engage.action1 = 'no';
}
if (_root.engage.action2 == 'side kick') {
_root.engage.action2 = 'no';
}
if (_root.engage.action3 == 'side kick') {
_root.engage.action3 = 'no';
}
gotoAndPlay('stance');
}
frame 162 {
_root.engage.special = true;
power = 1;
}
frame 176 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 178 {
success = false;
}
frame 183 {
_root.engage.special = true;
power = 1;
}
frame 197 {
_root.engage.special = false;
if (_root.engage.direzione == 'bassa') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 199 {
success = false;
}
frame 207 {
_root.engage.special = true;
power = 2;
}
frame 221 {
_root.engage.special = false;
if (_root.engage.direzione == 'bassa') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 223 {
success = false;
}
frame 228 {
_root.engage.action -= 1;
if (_root.engage.action1 == 'low kick') {
_root.engage.action1 = 'no';
}
if (_root.engage.action2 == 'low kick') {
_root.engage.action2 = 'no';
}
if (_root.engage.action3 == 'low kick') {
_root.engage.action3 = 'no';
}
gotoAndPlay('stance');
}
frame 232 {
_root.engage.special = true;
power = 1;
}
frame 246 {
_root.engage.special = false;
if (_root.engage.direzione == 'bassa') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 248 {
success = false;
}
frame 252 {
_root.engage.special = true;
power = 1;
}
frame 266 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 268 {
success = false;
}
frame 277 {
_root.engage.special = true;
power = 2;
}
frame 291 {
_root.engage.special = false;
if (_root.engage.direzione == 'alta') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 293 {
success = false;
}
frame 304 {
_root.engage.action -= 1;
if (_root.engage.action1 == 'knee bash') {
_root.engage.action1 = 'no';
}
if (_root.engage.action2 == 'knee bash') {
_root.engage.action2 = 'no';
}
if (_root.engage.action3 == 'knee bash') {
_root.engage.action3 = 'no';
}
gotoAndPlay('stance');
}
frame 307 {
_root.engage.special = true;
power = 1;
}
frame 321 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 323 {
success = false;
}
frame 328 {
_root.engage.special = true;
power = 1;
}
frame 342 {
_root.engage.special = false;
if (_root.engage.direzione == 'alta') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 344 {
success = false;
}
frame 353 {
_root.engage.special = true;
power = 2;
}
frame 367 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 369 {
success = false;
}
frame 376 {
_root.engage.action -= 1;
if (_root.engage.action1 == 'flying kick') {
_root.engage.action1 = 'no';
}
if (_root.engage.action2 == 'flying kick') {
_root.engage.action2 = 'no';
}
if (_root.engage.action3 == 'flying kick') {
_root.engage.action3 = 'no';
}
gotoAndPlay('stance');
}
frame 379 {
_root.engage.special = true;
power = 1;
}
frame 393 {
_root.engage.special = false;
if (_root.engage.direzione == 'bassa') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 395 {
success = false;
}
frame 399 {
_root.engage.special = true;
power = 1;
}
frame 413 {
_root.engage.special = false;
if (_root.engage.direzione == 'alta') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 415 {
success = false;
}
frame 425 {
_root.engage.special = true;
power = 1;
}
frame 439 {
_root.engage.special = false;
if (_root.engage.direzione == 'alta') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 441 {
success = false;
}
frame 452 {
_root.engage.special = true;
power = 2;
}
frame 466 {
_root.engage.special = false;
if (_root.engage.direzione == 'bassa') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 468 {
success = false;
}
frame 473 {
_root.engage.action -= 1;
if (_root.engage.action1 == 'high-down') {
_root.engage.action1 = 'no';
}
if (_root.engage.action2 == 'high-down') {
_root.engage.action2 = 'no';
}
if (_root.engage.action3 == 'high-down') {
_root.engage.action3 = 'no';
}
gotoAndPlay('stance');
}
frame 476 {
_root.engage.special = true;
power = 1;
}
frame 490 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 492 {
success = false;
}
frame 497 {
_root.engage.special = true;
power = 1;
}
frame 511 {
_root.engage.special = false;
if (_root.engage.direzione == 'bassa') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 513 {
success = false;
}
frame 519 {
_root.engage.special = true;
power = 2;
}
frame 533 {
_root.engage.special = false;
if (_root.engage.direzione == 'bassa') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 535 {
success = false;
}
frame 547 {
_root.engage.special = true;
power = 2;
}
frame 561 {
_root.engage.special = false;
if (_root.engage.direzione == 'bassa') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 563 {
success = false;
}
frame 570 {
_root.engage.action -= 1;
if (_root.engage.action1 == 'sliding kick') {
_root.engage.action1 = 'no';
}
if (_root.engage.action2 == 'sliding kick') {
_root.engage.action2 = 'no';
}
if (_root.engage.action3 == 'sliding kick') {
_root.engage.action3 = 'no';
}
gotoAndPlay('stance');
}
frame 573 {
_root.engage.special = true;
power = 1;
}
frame 587 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 589 {
success = false;
}
frame 595 {
_root.engage.special = true;
power = 1;
}
frame 609 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 611 {
success = false;
}
frame 621 {
_root.engage.special = true;
power = 2;
}
frame 635 {
_root.engage.special = false;
if (_root.engage.direzione == 'bassa') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 637 {
success = false;
}
frame 647 {
_root.engage.special = true;
power = 2;
}
frame 661 {
_root.engage.special = false;
if (_root.engage.direzione == 'alta') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 663 {
success = false;
}
frame 669 {
_root.engage.action -= 1;
if (_root.engage.action1 == 'tween legs') {
_root.engage.action1 = 'no';
}
if (_root.engage.action2 == 'tween legs') {
_root.engage.action2 = 'no';
}
if (_root.engage.action3 == 'tween legs') {
_root.engage.action3 = 'no';
}
gotoAndPlay('stance');
}
frame 671 {
_root.engage.special = true;
}
frame 708 {
_root.engage.special = true;
power = 3;
}
frame 722 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 724 {
success = false;
}
frame 738 {
_root.engage.special = true;
power = 3;
}
frame 752 {
_root.engage.special = true;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 754 {
success = false;
}
frame 768 {
_root.engage.special = true;
power = 3;
}
frame 782 {
_root.engage.special = true;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 784 {
success = false;
}
frame 802 {
_root.engage.action -= 1;
if (_root.engage.action1 == 'hadouken') {
_root.engage.action1 = 'no';
}
if (_root.engage.action2 == 'hadouken') {
_root.engage.action2 = 'no';
}
if (_root.engage.action3 == 'hadouken') {
_root.engage.action3 = 'no';
}
gotoAndPlay('stance');
}
frame 804 {
_root.engage.special = true;
}
frame 848 {
_root.engage.special = true;
power = 3;
}
frame 862 {
_root.engage.special = false;
if (_root.engage.direzione == 'alta') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 864 {
success = false;
}
frame 870 {
_root.engage.special = true;
power = 3;
}
frame 884 {
_root.engage.special = false;
if (_root.engage.direzione == 'alta') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 886 {
success = false;
}
frame 891 {
_root.engage.special = true;
power = 3;
}
frame 905 {
_root.engage.special = false;
if (_root.engage.direzione == 'alta') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 907 {
success = false;
}
frame 923 {
_root.engage.action -= 1;
if (_root.engage.action1 == 'tatsumaki') {
_root.engage.action1 = 'no';
}
if (_root.engage.action2 == 'tatsumaki') {
_root.engage.action2 = 'no';
}
if (_root.engage.action3 == 'tatsumaki') {
_root.engage.action3 = 'no';
}
gotoAndPlay('stance');
}
frame 925 {
_root.engage.special = true;
}
frame 957 {
_root.engage.special = true;
power = 3;
}
frame 971 {
_root.engage.special = false;
if (_root.engage.direzione == 'bassa') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 973 {
success = false;
}
frame 974 {
_root.engage.special = true;
power = 3;
}
frame 988 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 990 {
success = false;
}
frame 993 {
_root.engage.special = true;
power = 3;
}
frame 1007 {
_root.engage.special = false;
if (_root.engage.direzione == 'alta') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 1009 {
success = false;
}
frame 1022 {
_root.engage.action -= 1;
if (_root.engage.action1 == 'shoryuken') {
_root.engage.action1 = 'no';
}
if (_root.engage.action2 == 'shoryuken') {
_root.engage.action2 = 'no';
}
if (_root.engage.action3 == 'shoryuken') {
_root.engage.action3 = 'no';
}
gotoAndPlay('stance');
}
frame 1024 {
_root.engage.special = true;
}
frame 1054 {
_root.engage.special = true;
power = 3;
}
frame 1068 {
_root.engage.special = false;
if (_root.engage.direzione == 'bassa') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 1070 {
success = false;
}
frame 1071 {
_root.engage.special = true;
power = 3;
}
frame 1085 {
_root.engage.special = false;
if (_root.engage.direzione == 'bassa') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 1087 {
success = false;
}
frame 1088 {
_root.engage.special = true;
power = 3;
}
frame 1102 {
_root.engage.special = false;
if (_root.engage.direzione == 'alta') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 1113 {
success = false;
}
frame 1135 {
_root.engage.action -= 1;
if (_root.engage.action1 == 'shinryuken') {
_root.engage.action1 = 'no';
}
if (_root.engage.action2 == 'shinryuken') {
_root.engage.action2 = 'no';
}
if (_root.engage.action3 == 'shinryuken') {
_root.engage.action3 = 'no';
}
gotoAndPlay('stance');
}
frame 1137 {
_root.engage.special = true;
}
frame 1173 {
_root.engage.special = true;
power = 3;
}
frame 1187 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 1189 {
success = false;
}
frame 1196 {
_root.engage.special = true;
power = 3;
}
frame 1210 {
_root.engage.special = false;
if (_root.engage.direzione == 'bassa') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 1212 {
success = false;
}
frame 1229 {
_root.engage.special = true;
power = 3;
}
frame 1243 {
_root.engage.special = false;
if (_root.engage.direzione == 'alta') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 1245 {
success = false;
}
frame 1251 {
_root.engage.action -= 1;
if (_root.engage.action1 == 'shippu jinrai') {
_root.engage.action1 = 'no';
}
if (_root.engage.action2 == 'shippu jinrai') {
_root.engage.action2 = 'no';
}
if (_root.engage.action3 == 'shippu jinrai') {
_root.engage.action3 = 'no';
}
gotoAndPlay('stance');
}
frame 1253 {
_root.engage.special = true;
}
frame 1285 {
_root.engage.special = true;
power = 3;
}
frame 1299 {
_root.engage.special = false;
if (_root.engage.direzione == 'bassa') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 1301 {
success = false;
}
frame 1302 {
_root.engage.special = true;
power = 3;
}
frame 1316 {
_root.engage.special = false;
if (_root.engage.direzione == 'alta') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 1318 {
success = false;
}
frame 1338 {
_root.engage.special = true;
power = 3;
}
frame 1352 {
_root.engage.special = false;
if (_root.engage.direzione == 'bassa') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 1354 {
success = false;
}
frame 1355 {
_root.engage.special = true;
power = 3;
}
frame 1369 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 1380 {
success = false;
}
frame 1402 {
_root.engage.action -= 1;
if (_root.engage.action1 == 'shoryu reppa') {
_root.engage.action1 = 'no';
}
if (_root.engage.action2 == 'shoryu reppa') {
_root.engage.action2 = 'no';
}
if (_root.engage.action3 == 'shoryu reppa') {
_root.engage.action3 = 'no';
}
gotoAndPlay('stance');
}
frame 1422 {
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player2.hp > 0) {
_root.player2.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player2.hp > 0) {
_root.player2.gotoAndPlay('block');
}
if (_root.player2.hp <= 0) {
_root.player2.gotoAndPlay('die');
}
_root.engage.gotoAndPlay('stance');
}
}
movieClip 5867 {
frame 1 {
caricaki = 0;
}
frame 3 {
if (caricaki == 0) {
_root.player3.ki += _root.engage.action;
caricaki += 1;
}
if (_root.engage.action > 0 and _root.engage.action1 == 'strong right') {
gotoAndPlay('right');
}
if (_root.engage.action > 0 and _root.engage.action1 == 'elbow dash') {
gotoAndPlay('elbow');
}
if (_root.engage.action > 0 and _root.engage.action1 == 'low kick') {
gotoAndPlay('low');
}
if (_root.engage.action > 0 and _root.engage.action1 == 'high kick') {
gotoAndPlay('high');
}
if (_root.engage.action > 0 and _root.engage.action1 == 'flying kick') {
gotoAndPlay('flying');
}
if (_root.engage.action > 0 and _root.engage.action1 == 'high-down') {
gotoAndPlay('down');
}
if (_root.engage.action > 0 and _root.engage.action1 == 'rising punch') {
gotoAndPlay('rising');
}
if (_root.engage.action > 0 and _root.engage.action1 == 'strong fist') {
gotoAndPlay('strong');
}
if (_root.engage.action > 0 and _root.engage.action1 == 'hadouken') {
gotoAndPlay('hadouken');
}
if (_root.engage.action > 0 and _root.engage.action1 == 'tatsumaki') {
gotoAndPlay('tatsu');
}
if (_root.engage.action > 0 and _root.engage.action1 == 'shoryuken') {
gotoAndPlay('shoryu');
}
if (_root.engage.action > 0 and _root.engage.action1 == 'shinshoryuken') {
gotoAndPlay('shinshoryu');
}
if (_root.engage.action > 0 and _root.engage.action1 == 'shinku tatsu') {
gotoAndPlay('shinku tatsu');
}
if (_root.engage.action > 0 and _root.engage.action1 == 'shinkuhadouken') {
gotoAndPlay('shinkuhadou');
}
}
frame 4 {
if (caricaki == 0) {
_root.player3.ki += _root.engage.action;
caricaki += 1;
}
if (_root.engage.action > 0 and _root.engage.action2 == 'strong right') {
gotoAndPlay('right');
}
if (_root.engage.action > 0 and _root.engage.action2 == 'elbow dash') {
gotoAndPlay('elbow');
}
if (_root.engage.action > 0 and _root.engage.action2 == 'low kick') {
gotoAndPlay('low');
}
if (_root.engage.action > 0 and _root.engage.action2 == 'high kick') {
gotoAndPlay('high');
}
if (_root.engage.action > 0 and _root.engage.action2 == 'flying kick') {
gotoAndPlay('flying');
}
if (_root.engage.action > 0 and _root.engage.action2 == 'high-down') {
gotoAndPlay('down');
}
if (_root.engage.action > 0 and _root.engage.action2 == 'rising punch') {
gotoAndPlay('rising');
}
if (_root.engage.action > 0 and _root.engage.action2 == 'strong fist') {
gotoAndPlay('strong');
}
if (_root.engage.action > 0 and _root.engage.action2 == 'hadouken') {
gotoAndPlay('hadouken');
}
if (_root.engage.action > 0 and _root.engage.action2 == 'tatsumaki') {
gotoAndPlay('tatsu');
}
if (_root.engage.action > 0 and _root.engage.action2 == 'shoryuken') {
gotoAndPlay('shoryu');
}
if (_root.engage.action > 0 and _root.engage.action2 == 'shinshoryuken') {
gotoAndPlay('shinshoryu');
}
if (_root.engage.action > 0 and _root.engage.action2 == 'shinku tatsu') {
gotoAndPlay('shinku tatsu');
}
if (_root.engage.action > 0 and _root.engage.action2 == 'shinkuhadouken') {
gotoAndPlay('shinkuhadou');
}
}
frame 5 {
if (caricaki == 0) {
_root.player3.ki += _root.engage.action;
caricaki += 1;
}
if (_root.engage.action > 0 and _root.engage.action3 == 'strong right') {
gotoAndPlay('right');
}
if (_root.engage.action > 0 and _root.engage.action3 == 'elbow dash') {
gotoAndPlay('elbow');
}
if (_root.engage.action > 0 and _root.engage.action3 == 'low kick') {
gotoAndPlay('low');
}
if (_root.engage.action > 0 and _root.engage.action3 == 'high kick') {
gotoAndPlay('high');
}
if (_root.engage.action > 0 and _root.engage.action3 == 'flying kick') {
gotoAndPlay('flying');
}
if (_root.engage.action > 0 and _root.engage.action3 == 'high-down') {
gotoAndPlay('down');
}
if (_root.engage.action > 0 and _root.engage.action3 == 'rising punch') {
gotoAndPlay('rising');
}
if (_root.engage.action > 0 and _root.engage.action3 == 'strong fist') {
gotoAndPlay('strong');
}
if (_root.engage.action > 0 and _root.engage.action3 == 'hadouken') {
gotoAndPlay('hadouken');
}
if (_root.engage.action > 0 and _root.engage.action3 == 'tatsumaki') {
gotoAndPlay('tatsu');
}
if (_root.engage.action > 0 and _root.engage.action3 == 'shoryuken') {
gotoAndPlay('shoryu');
}
if (_root.engage.action > 0 and _root.engage.action3 == 'shinshoryuken') {
gotoAndPlay('shinshoryu');
}
if (_root.engage.action > 0 and _root.engage.action3 == 'shinku tatsu') {
gotoAndPlay('shinku tatsu');
}
if (_root.engage.action > 0 and _root.engage.action3 == 'shinkuhadouken') {
gotoAndPlay('shinkuhadou');
}
}
frame 6 {
stop();
gotoAndPlay('end');
}
frame 9 {
_root.engage.special = true;
power = 1;
}
frame 23 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 25 {
success = false;
}
frame 38 {
_root.engage.special = true;
power = 2;
}
frame 52 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 54 {
success = false;
}
frame 59 {
_root.engage.action -= 1;
if (_root.engage.action1 == 'strong right') {
_root.engage.action1 = 'no';
}
if (_root.engage.action2 == 'strong right') {
_root.engage.action2 = 'no';
}
if (_root.engage.action3 == 'strong right') {
_root.engage.action3 = 'no';
}
gotoAndPlay('stance');
}
frame 61 {
_root.engage.special = true;
}
frame 98 {
_root.engage.special = true;
power = 3;
}
frame 112 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 114 {
success = false;
}
frame 128 {
_root.engage.special = true;
power = 3;
}
frame 142 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 144 {
success = false;
}
frame 158 {
_root.engage.special = true;
power = 3;
}
frame 172 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 174 {
success = false;
}
frame 192 {
_root.engage.action -= 1;
if (_root.engage.action1 == 'hadouken') {
_root.engage.action1 = 'no';
}
if (_root.engage.action2 == 'hadouken') {
_root.engage.action2 = 'no';
}
if (_root.engage.action3 == 'hadouken') {
_root.engage.action3 = 'no';
}
gotoAndPlay('stance');
}
frame 194 {
_root.engage.special = true;
}
frame 229 {
_root.engage.special = true;
power = 3;
}
frame 243 {
_root.engage.special = false;
if (_root.engage.direzione == 'alta') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 245 {
success = false;
}
frame 251 {
_root.engage.special = true;
power = 3;
}
frame 265 {
_root.engage.special = false;
if (_root.engage.direzione == 'alta') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 267 {
success = false;
}
frame 272 {
_root.engage.special = true;
power = 3;
}
frame 286 {
_root.engage.special = false;
if (_root.engage.direzione == 'alta') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 288 {
success = false;
}
frame 307 {
_root.engage.action -= 1;
if (_root.engage.action1 == 'tatsumaki') {
_root.engage.action1 = 'no';
}
if (_root.engage.action2 == 'tatsumaki') {
_root.engage.action2 = 'no';
}
if (_root.engage.action3 == 'tatsumaki') {
_root.engage.action3 = 'no';
}
gotoAndPlay('stance');
}
frame 309 {
_root.engage.special = true;
}
frame 339 {
_root.engage.special = true;
power = 3;
}
frame 353 {
_root.engage.special = false;
if (_root.engage.direzione == 'bassa') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 355 {
success = false;
}
frame 356 {
_root.engage.special = true;
power = 3;
}
frame 370 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 372 {
success = false;
}
frame 373 {
_root.engage.special = true;
power = 3;
}
frame 387 {
_root.engage.special = false;
if (_root.engage.direzione == 'alta') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 389 {
success = false;
}
frame 407 {
_root.engage.action -= 1;
if (_root.engage.action1 == 'shoryuken') {
_root.engage.action1 = 'no';
}
if (_root.engage.action2 == 'shoryuken') {
_root.engage.action2 = 'no';
}
if (_root.engage.action3 == 'shoryuken') {
_root.engage.action3 = 'no';
}
gotoAndPlay('stance');
}
frame 409 {
_root.engage.special = true;
}
frame 439 {
_root.engage.special = true;
power = 3;
}
frame 453 {
_root.engage.special = false;
if (_root.engage.direzione == 'bassa') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 455 {
success = false;
}
frame 461 {
_root.engage.special = true;
power = 3;
}
frame 475 {
_root.engage.special = false;
if (_root.engage.direzione == 'bassa') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 477 {
success = false;
}
frame 480 {
_root.engage.special = true;
power = 3;
}
frame 494 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 504 {
success = false;
}
frame 524 {
_root.engage.action -= 1;
if (_root.engage.action1 == 'shinshoryuken') {
_root.engage.action1 = 'no';
}
if (_root.engage.action2 == 'shinshoryuken') {
_root.engage.action2 = 'no';
}
if (_root.engage.action3 == 'shinshoryuken') {
_root.engage.action3 = 'no';
}
gotoAndPlay('stance');
}
frame 526 {
_root.engage.special = true;
}
frame 564 {
_root.engage.special = true;
power = 3;
}
frame 578 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 580 {
success = false;
}
frame 581 {
_root.engage.special = true;
power = 3;
}
frame 595 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 597 {
success = false;
}
frame 598 {
_root.engage.special = true;
power = 3;
}
frame 612 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 614 {
success = false;
}
frame 615 {
_root.engage.special = true;
power = 3;
}
frame 629 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 631 {
success = false;
}
frame 647 {
_root.engage.action -= 1;
if (_root.engage.action1 == 'shinkuhadouken') {
_root.engage.action1 = 'no';
}
if (_root.engage.action2 == 'shinkuhadouken') {
_root.engage.action2 = 'no';
}
if (_root.engage.action3 == 'shinkuhadouken') {
_root.engage.action3 = 'no';
}
gotoAndPlay('stance');
}
frame 649 {
_root.engage.special = true;
}
frame 690 {
_root.engage.special = true;
power = 3;
}
frame 704 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 712 {
success = false;
}
frame 717 {
_root.engage.special = true;
power = 3;
}
frame 731 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 733 {
success = false;
}
frame 739 {
_root.engage.special = true;
power = 3;
}
frame 753 {
_root.engage.special = false;
if (_root.engage.direzione == 'alta') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 755 {
success = false;
}
frame 760 {
_root.engage.special = true;
power = 3;
}
frame 774 {
_root.engage.special = false;
if (_root.engage.direzione == 'alta') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 776 {
success = false;
}
frame 790 {
_root.engage.action -= 1;
if (_root.engage.action1 == 'shinku tatsu') {
_root.engage.action1 = 'no';
}
if (_root.engage.action2 == 'shinku tatsu') {
_root.engage.action2 = 'no';
}
if (_root.engage.action3 == 'shinku tatsu') {
_root.engage.action3 = 'no';
}
gotoAndPlay('stance');
}
frame 793 {
_root.engage.special = true;
power = 1;
}
frame 807 {
_root.engage.special = false;
if (_root.engage.direzione == 'bassa') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 809 {
success = false;
}
frame 818 {
_root.engage.special = true;
power = 1;
}
frame 832 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 834 {
success = false;
}
frame 843 {
_root.engage.special = true;
power = 2;
}
frame 857 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 859 {
success = false;
}
frame 873 {
_root.engage.action -= 1;
if (_root.engage.action1 == 'elbow dash') {
_root.engage.action1 = 'no';
}
if (_root.engage.action2 == 'elbow dash') {
_root.engage.action2 = 'no';
}
if (_root.engage.action3 == 'elbow dash') {
_root.engage.action3 = 'no';
}
gotoAndPlay('stance');
}
frame 877 {
_root.engage.special = true;
power = 1;
}
frame 891 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 893 {
success = false;
}
frame 898 {
_root.engage.special = true;
power = 1;
}
frame 912 {
_root.engage.special = false;
if (_root.engage.direzione == 'bassa') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 914 {
success = false;
}
frame 919 {
_root.engage.special = true;
power = 2;
}
frame 933 {
_root.engage.special = false;
if (_root.engage.direzione == 'bassa') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 935 {
success = false;
}
frame 942 {
_root.engage.action -= 1;
if (_root.engage.action1 == 'low kick') {
_root.engage.action1 = 'no';
}
if (_root.engage.action2 == 'low kick') {
_root.engage.action2 = 'no';
}
if (_root.engage.action3 == 'low kick') {
_root.engage.action3 = 'no';
}
gotoAndPlay('stance');
}
frame 945 {
_root.engage.special = true;
power = 1;
}
frame 959 {
_root.engage.special = false;
if (_root.engage.direzione == 'alta') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 961 {
success = false;
}
frame 971 {
_root.engage.special = true;
power = 2;
}
frame 985 {
_root.engage.special = false;
if (_root.engage.direzione == 'bassa') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 987 {
success = false;
}
frame 988 {
_root.engage.special = true;
power = 2;
}
frame 1002 {
_root.engage.special = false;
if (_root.engage.direzione == 'bassa') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 1004 {
success = false;
}
frame 1013 {
_root.engage.action -= 1;
if (_root.engage.action1 == 'high-down') {
_root.engage.action1 = 'no';
}
if (_root.engage.action2 == 'high-down') {
_root.engage.action2 = 'no';
}
if (_root.engage.action3 == 'high-down') {
_root.engage.action3 = 'no';
}
gotoAndPlay('stance');
}
frame 1019 {
_root.engage.special = true;
power = 1;
}
frame 1033 {
_root.engage.special = false;
if (_root.engage.direzione == 'bassa') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 1035 {
success = false;
}
frame 1042 {
_root.engage.special = true;
power = 2;
}
frame 1056 {
_root.engage.special = false;
if (_root.engage.direzione == 'alta') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 1060 {
success = false;
}
frame 1063 {
_root.engage.action -= 1;
if (_root.engage.action1 == 'rising punch') {
_root.engage.action1 = 'no';
}
if (_root.engage.action2 == 'rising punch') {
_root.engage.action2 = 'no';
}
if (_root.engage.action3 == 'rising punch') {
_root.engage.action3 = 'no';
}
gotoAndPlay('stance');
}
frame 1066 {
_root.engage.special = true;
power = 1;
}
frame 1080 {
_root.engage.special = false;
if (_root.engage.direzione == 'bassa') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 1082 {
success = false;
}
frame 1091 {
_root.engage.special = true;
power = 2;
}
frame 1105 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 1107 {
success = false;
}
frame 1110 {
_root.engage.action -= 1;
if (_root.engage.action1 == 'high kick') {
_root.engage.action1 = 'no';
}
if (_root.engage.action2 == 'high kick') {
_root.engage.action2 = 'no';
}
if (_root.engage.action3 == 'high kick') {
_root.engage.action3 = 'no';
}
gotoAndPlay('stance');
}
frame 1114 {
_root.engage.special = true;
power = 1;
}
frame 1128 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 1130 {
success = false;
}
frame 1139 {
_root.engage.special = true;
power = 1;
}
frame 1153 {
_root.engage.special = false;
if (_root.engage.direzione == 'alta') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 1155 {
success = false;
}
frame 1158 {
_root.engage.special = true;
power = 2;
}
frame 1172 {
_root.engage.special = false;
if (_root.engage.direzione == 'alta') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 1174 {
success = false;
}
frame 1188 {
_root.engage.special = true;
power = 2;
}
frame 1202 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 1204 {
success = false;
}
frame 1212 {
_root.engage.action -= 1;
if (_root.engage.action1 == 'flying kick') {
_root.engage.action1 = 'no';
}
if (_root.engage.action2 == 'flying kick') {
_root.engage.action2 = 'no';
}
if (_root.engage.action3 == 'flying kick') {
_root.engage.action3 = 'no';
}
gotoAndPlay('stance');
}
frame 1216 {
_root.engage.special = true;
power = 1;
}
frame 1230 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 1232 {
success = false;
}
frame 1233 {
_root.engage.special = true;
power = 1;
}
frame 1247 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 1249 {
success = false;
}
frame 1250 {
_root.engage.special = true;
power = 1;
}
frame 1264 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 1266 {
success = false;
}
frame 1278 {
_root.engage.special = true;
power = 2;
}
frame 1292 {
_root.engage.special = false;
if (_root.engage.direzione == 'bassa') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 1294 {
success = false;
}
frame 1304 {
_root.engage.action -= 1;
if (_root.engage.action1 == 'strong fist') {
_root.engage.action1 = 'no';
}
if (_root.engage.action2 == 'strong fist') {
_root.engage.action2 = 'no';
}
if (_root.engage.action3 == 'strong fist') {
_root.engage.action3 = 'no';
}
gotoAndPlay('stance');
}
frame 1321 {
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player2.hp > 0) {
_root.player2.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player2.hp > 0) {
_root.player2.gotoAndPlay('block');
}
if (_root.player2.hp <= 0) {
_root.player2.gotoAndPlay('die');
}
_root.engage.gotoAndPlay('stance');
}
}
movieClip 5910 {
frame 1 {
if (_root.player == 'ken') {
gotoAndPlay('ken');
}
if (_root.player == 'ryu') {
gotoAndPlay('ryu');
}
if (_root.player == 'aku') {
gotoAndPlay('aku');
}
}
frame 17 {
stop();
}
frame 26 {
stop();
danno = _root.engage.enemy.power + _root.player3.difesaalta;
_root.player3.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player3.ki += 0.3;
gotoAndPlay('ryustance');
}
frame 35 {
stop();
danno = _root.engage.enemy.power + _root.player3.difesamedia;
_root.player3.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player3.ki += 0.3;
gotoAndPlay('ryustance');
}
frame 44 {
stop();
danno = _root.engage.enemy.power + _root.player3.difesabassa;
_root.player3.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player3.ki += 0.3;
gotoAndPlay('ryustance');
}
frame 53 {
stop();
danno = _root.engage.enemy.power + _root.player3.difesaalta;
_root.player3.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player3.difesaalta += 1;
}
if (randomnum == 2) {
_root.player3.difesamedia += 1;
}
if (randomnum == 3) {
_root.player3.difesabassa += 1;
}
if (_root.player3.stun == false) {
gotoAndPlay('ryustance');
} else {
if (_root.player3.stun == true) {
gotoAndPlay('ryustun');
}
}
}
frame 62 {
stop();
danno = _root.engage.enemy.power + _root.player3.difesamedia;
_root.player3.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player3.difesaalta += 1;
}
if (randomnum == 2) {
_root.player3.difesamedia += 1;
}
if (randomnum == 3) {
_root.player3.difesabassa += 1;
}
if (_root.player3.stun == false) {
gotoAndPlay('ryustance');
} else {
if (_root.player3.stun == true) {
gotoAndPlay('ryustun');
}
}
}
frame 72 {
stop();
danno = _root.engage.enemy.power + _root.player3.difesabassa;
_root.player3.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player3.difesaalta += 1;
}
if (randomnum == 2) {
_root.player3.difesamedia += 1;
}
if (randomnum == 3) {
_root.player3.difesabassa += 1;
}
if (_root.player3.stun == false) {
gotoAndPlay('ryustance');
} else {
if (_root.player3.stun == true) {
gotoAndPlay('ryustun');
}
}
}
frame 82 {
stop();
}
frame 95 {
stop();
}
frame 104 {
stop();
danno = _root.engage.enemy.power + _root.player1.difesaalta;
_root.player1.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player1.difesaalta += 1;
}
if (randomnum == 2) {
_root.player1.difesamedia += 1;
}
if (randomnum == 3) {
_root.player1.difesabassa += 1;
}
if (_root.player1.stun == false) {
gotoAndPlay('kenstance');
} else {
if (_root.player1.stun == true) {
gotoAndPlay('kenstun');
}
}
}
frame 113 {
stop();
danno = _root.engage.enemy.power + _root.player1.difesamedia;
_root.player1.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player1.difesaalta += 1;
}
if (randomnum == 2) {
_root.player1.difesamedia += 1;
}
if (randomnum == 3) {
_root.player1.difesabassa += 1;
}
if (_root.player1.stun == false) {
gotoAndPlay('kenstance');
} else {
if (_root.player1.stun == true) {
gotoAndPlay('kenstun');
}
}
}
frame 123 {
stop();
danno = _root.engage.enemy.power + _root.player1.difesabassa;
_root.player1.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player1.difesaalta += 1;
}
if (randomnum == 2) {
_root.player1.difesamedia += 1;
}
if (randomnum == 3) {
_root.player1.difesabassa += 1;
}
if (_root.player1.stun == false) {
gotoAndPlay('kenstance');
} else {
if (_root.player1.stun == true) {
gotoAndPlay('kenstun');
}
}
}
frame 132 {
stop();
danno = _root.engage.enemy.power + _root.player1.difesaalta;
_root.player1.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player1.ki += 0.3;
gotoAndPlay('kenstance');
}
frame 141 {
stop();
danno = _root.engage.enemy.power + _root.player1.difesamedia;
_root.player1.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player1.ki += 0.3;
gotoAndPlay('kenstance');
}
frame 151 {
stop();
danno = _root.engage.enemy.power + _root.player1.difesabassa;
_root.player1.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player1.ki += 0.3;
gotoAndPlay('kenstance');
}
frame 161 {
stop();
}
frame 175 {
stop();
}
frame 184 {
stop();
danno = _root.engage.enemy.power + _root.player1.difesaalta;
_root.player1.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player1.ki += 0.3;
gotoAndPlay('akustance');
}
frame 193 {
stop();
danno = _root.engage.enemy.power + _root.player1.difesamedia;
_root.player1.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player1.ki += 0.3;
gotoAndPlay('akustance');
}
frame 203 {
stop();
danno = _root.engage.enemy.power + _root.player1.difesabassa;
_root.player1.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player1.ki += 0.3;
gotoAndPlay('akustance');
}
frame 211 {
stop();
danno = _root.engage.enemy.power + _root.player1.difesaalta;
_root.player1.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player1.difesaalta += 1;
}
if (randomnum == 2) {
_root.player1.difesamedia += 1;
}
if (randomnum == 3) {
_root.player1.difesabassa += 1;
}
if (_root.player1.stun == false) {
gotoAndPlay('akustance');
} else {
if (_root.player1.stun == true) {
gotoAndPlay('akustun');
}
}
}
frame 219 {
stop();
danno = _root.engage.enemy.power + _root.player1.difesamedia;
_root.player1.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player1.difesaalta += 1;
}
if (randomnum == 2) {
_root.player1.difesamedia += 1;
}
if (randomnum == 3) {
_root.player1.difesabassa += 1;
}
if (_root.player1.stun == false) {
gotoAndPlay('akustance');
} else {
if (_root.player1.stun == true) {
gotoAndPlay('akustun');
}
}
}
frame 229 {
stop();
danno = _root.engage.enemy.power + _root.player1.difesabassa;
_root.player1.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player1.difesaalta += 1;
}
if (randomnum == 2) {
_root.player1.difesamedia += 1;
}
if (randomnum == 3) {
_root.player1.difesabassa += 1;
}
if (_root.player1.stun == false) {
gotoAndPlay('akustance');
} else {
if (_root.player1.stun == true) {
gotoAndPlay('akustun');
}
}
}
frame 238 {
stop();
}
}
movieClip 6467 {
frame 1 {
stop();
if (_root.level == 0) {
gotoAndPlay('gouken');
}
if (_root.level == 1) {
gotoAndPlay('ken');
}
if (_root.level == 2) {
gotoAndPlay('ryu');
}
if (_root.level == 3) {
gotoAndPlay('dan');
}
if (_root.level == 4) {
gotoAndPlay('honda');
}
if (_root.level == 5) {
gotoAndPlay('bal');
}
if (_root.level == 6) {
gotoAndPlay('bir');
}
}
frame 10 {
if (_root.player == 'ken' and _root.range == 'long') {
action = 3;
}
if (_root.player == 'ken' and _root.range == 'medium') {
action = 4;
}
if (_root.player == 'ken' and _root.range == 'short') {
action = 5;
}
if (_root.player == 'ryu' and _root.range2 == 'long') {
action = 3;
}
if (_root.player == 'ryu' and _root.range2 == 'medium') {
action = 4;
}
if (_root.player == 'ryu' and _root.range2 == 'short') {
action = 5;
}
}
frame 15 {
stop();
if (action <= 0) {
gotoAndPlay('goukenend');
}
if (_root.player == 'ryu' and _root.range2 == 'short' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('goukensc');
}
if (_root.player == 'ryu' and _root.range2 == 'medium' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('goukensa');
}
if (_root.player == 'ryu' and _root.range2 == 'long' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('goukensb');
}
if (_root.player == 'ken' and _root.range == 'short' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('goukensc');
}
if (_root.player == 'ken' and _root.range == 'medium' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('goukensa');
}
if (_root.player == 'ken' and _root.range == 'long' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('goukensb');
}
if (_root.player2.ki < 6 and action > 0) {
randomnum = Math.round(Math.random() * 6) + 1;
if (randomnum <= 2) {
gotoAndPlay('goukena');
}
if (randomnum == 3) {
gotoAndPlay('goukenb');
}
if (randomnum == 4) {
gotoAndPlay('goukenc');
}
if (randomnum == 5) {
gotoAndPlay('goukend');
}
if (randomnum == 6) {
gotoAndPlay('goukene');
}
if (randomnum == 7) {
gotoAndPlay('goukenf');
}
}
}
frame 20 {
_root.engage.special = true;
power = 1;
}
frame 39 {
_root.engage.special = false;
}
frame 41 {
_root.engage.special = false;
}
frame 55 {
action -= 1;
gotoAndPlay('goukenstance');
}
frame 59 {
_root.engage.special = true;
power = 1;
}
frame 79 {
_root.engage.special = false;
}
frame 81 {
_root.engage.special = false;
}
frame 90 {
action -= 1;
gotoAndPlay('goukenstance');
}
frame 95 {
_root.engage.special = true;
power = 1;
}
frame 115 {
_root.engage.special = false;
}
frame 117 {
_root.engage.special = false;
}
frame 125 {
action -= 1;
gotoAndPlay('goukenstance');
}
frame 128 {
_root.engage.special = true;
power = 2;
}
frame 148 {
_root.engage.special = false;
}
frame 150 {
_root.engage.special = false;
}
frame 157 {
action -= 1;
gotoAndPlay('goukenstance');
}
frame 160 {
_root.engage.special = true;
power = 2;
}
frame 180 {
_root.engage.special = false;
}
frame 182 {
_root.engage.special = false;
}
frame 193 {
action -= 1;
gotoAndPlay('goukenstance');
}
frame 197 {
_root.engage.special = true;
power = 2;
}
frame 217 {
_root.engage.special = false;
}
frame 219 {
_root.engage.special = false;
}
frame 233 {
action -= 1;
gotoAndPlay('goukenstance');
}
frame 236 {
_root.engage.special = true;
}
frame 258 {
_root.engage.special = false;
}
frame 284 {
_root.engage.special = true;
power = 3;
}
frame 304 {
_root.engage.special = false;
}
frame 306 {
_root.engage.special = false;
}
frame 308 {
_root.engage.special = true;
power = 3;
}
frame 328 {
_root.engage.special = false;
}
frame 330 {
_root.engage.special = false;
}
frame 347 {
action -= 1;
_root.player2.ki -= 6;
gotoAndPlay('goukenstance');
}
frame 350 {
_root.engage.special = true;
}
frame 372 {
_root.engage.special = false;
}
frame 394 {
_root.engage.special = true;
power = 3;
}
frame 414 {
_root.engage.special = false;
}
frame 416 {
_root.engage.special = false;
}
frame 431 {
action -= 1;
_root.player2.ki -= 6;
gotoAndPlay('goukenstance');
}
frame 433 {
_root.engage.special = true;
}
frame 455 {
_root.engage.special = false;
}
frame 477 {
_root.engage.special = true;
power = 3;
}
frame 497 {
_root.engage.special = false;
}
frame 499 {
_root.engage.special = false;
}
frame 514 {
_root.engage.special = true;
power = 3;
}
frame 534 {
_root.engage.special = false;
}
frame 536 {
_root.engage.special = false;
}
frame 543 {
_root.engage.special = true;
power = 3;
}
frame 563 {
_root.engage.special = false;
}
frame 565 {
_root.engage.special = false;
}
frame 579 {
action -= 1;
_root.player2.ki -= 6;
gotoAndPlay('goukenstance');
}
frame 584 {
stop();
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player1.hp > 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player1.hp > 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('block');
}
if (_root.player1.hp <= 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('die');
}
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player3.hp > 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player3.hp > 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('block');
}
if (_root.player3.hp <= 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('die');
}
_root.player2.ki += 2;
_root.engage.gotoAndPlay('stance');
}
frame 593 {
if (_root.player == 'ken' and _root.range == 'long') {
action = 2;
}
if (_root.player == 'ken' and _root.range == 'medium') {
action = 3;
}
if (_root.player == 'ken' and _root.range == 'short') {
action = 4;
}
if (_root.player == 'ryu' and _root.range2 == 'long') {
action = 2;
}
if (_root.player == 'ryu' and _root.range2 == 'medium') {
action = 3;
}
if (_root.player == 'ryu' and _root.range2 == 'short') {
action = 4;
}
}
frame 597 {
stop();
if (action <= 0) {
gotoAndPlay('ryuend');
}
if (_root.player == 'ryu' and _root.range2 == 'short' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('ryusb');
}
if (_root.player == 'ryu' and _root.range2 == 'medium' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('ryusc');
}
if (_root.player == 'ryu' and _root.range2 == 'long' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('ryusa');
}
if (_root.player == 'ken' and _root.range == 'short' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('ryusb');
}
if (_root.player == 'ken' and _root.range == 'medium' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('ryusa');
}
if (_root.player == 'ken' and _root.range == 'long' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('ryusb');
}
if (_root.player2.ki < 6 and action > 0) {
randomnum = Math.round(Math.random() * 4) + 1;
if (randomnum <= 2) {
gotoAndPlay('ryua');
}
if (randomnum == 3) {
gotoAndPlay('ryub');
}
if (randomnum >= 4) {
gotoAndPlay('ryuc');
}
}
}
frame 601 {
_root.engage.special = true;
power = 2;
}
frame 621 {
_root.engage.special = false;
}
frame 626 {
action -= 1;
gotoAndPlay('ryustance');
}
frame 631 {
_root.engage.special = true;
power = 2;
}
frame 651 {
_root.engage.special = false;
}
frame 656 {
action -= 1;
gotoAndPlay('ryustance');
}
frame 661 {
_root.engage.special = true;
power = 2;
}
frame 681 {
_root.engage.special = false;
}
frame 689 {
action -= 1;
gotoAndPlay('ryustance');
}
frame 691 {
_root.engage.special = true;
}
frame 713 {
_root.engage.special = false;
}
frame 715 {
_root.engage.special = true;
power = 3;
}
frame 735 {
_root.engage.special = false;
}
frame 790 {
action -= 1;
_root.player2.ki -= 6;
gotoAndPlay('ryustance');
}
frame 791 {
_root.engage.special = true;
}
frame 813 {
_root.engage.special = false;
}
frame 814 {
_root.engage.special = true;
power = 3;
}
frame 834 {
_root.engage.special = false;
}
frame 838 {
_root.engage.special = true;
power = 3;
}
frame 858 {
_root.engage.special = false;
}
frame 874 {
action -= 1;
_root.player2.ki -= 6;
gotoAndPlay('ryustance');
}
frame 875 {
_root.engage.special = true;
}
frame 898 {
_root.engage.special = false;
}
frame 912 {
_root.engage.special = true;
power = 3;
}
frame 932 {
_root.engage.special = false;
}
frame 944 {
_root.engage.special = true;
power = 3;
}
frame 964 {
_root.engage.special = false;
}
frame 975 {
action -= 1;
_root.player2.ki -= 6;
gotoAndPlay('ryustance');
}
frame 980 {
stop();
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player1.hp > 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player1.hp > 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('block');
}
if (_root.player1.hp <= 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('die');
}
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player3.hp > 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player3.hp > 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('block');
}
if (_root.player3.hp <= 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('die');
}
_root.player2.ki += 2;
_root.engage.gotoAndPlay('stance');
}
frame 988 {
if (_root.player == 'ken' and _root.range == 'long') {
action = 3;
}
if (_root.player == 'ken' and _root.range == 'medium') {
action = 4;
}
if (_root.player == 'ken' and _root.range == 'short') {
action = 5;
}
if (_root.player == 'ryu' and _root.range2 == 'long') {
action = 3;
}
if (_root.player == 'ryu' and _root.range2 == 'medium') {
action = 4;
}
if (_root.player == 'ryu' and _root.range2 == 'short') {
action = 5;
}
}
frame 993 {
stop();
if (action <= 0) {
gotoAndPlay('kenend');
}
if (_root.player == 'ryu' and _root.range2 == 'short' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('kensb');
}
if (_root.player == 'ryu' and _root.range2 == 'medium' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('kensc');
}
if (_root.player == 'ryu' and _root.range2 == 'long' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('kensa');
}
if (_root.player == 'ken' and _root.range == 'short' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('kensb');
}
if (_root.player == 'ken' and _root.range == 'medium' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('kensa');
}
if (_root.player == 'ken' and _root.range == 'long' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('kensb');
}
if (_root.player2.ki < 6 and action > 0) {
randomnum = Math.round(Math.random() * 6) + 1;
if (randomnum <= 2) {
gotoAndPlay('kena');
}
if (randomnum == 3) {
gotoAndPlay('kenb');
}
if (randomnum == 4) {
gotoAndPlay('kenc');
}
if (randomnum == 5) {
gotoAndPlay('kend');
}
if (randomnum >= 6) {
gotoAndPlay('kene');
}
}
}
frame 995 {
_root.engage.special = true;
power = 1;
}
frame 1015 {
_root.engage.special = false;
}
frame 1018 {
action -= 1;
gotoAndPlay('kenstance');
}
frame 1022 {
_root.engage.special = true;
power = 1;
}
frame 1042 {
_root.engage.special = false;
}
frame 1046 {
action -= 1;
gotoAndPlay('kenstance');
}
frame 1049 {
_root.engage.special = true;
power = 1;
}
frame 1069 {
_root.engage.special = false;
}
frame 1073 {
action -= 1;
gotoAndPlay('kenstance');
}
frame 1080 {
_root.engage.special = true;
power = 2;
}
frame 1100 {
_root.engage.special = false;
}
frame 1109 {
action -= 1;
gotoAndPlay('kenstance');
}
frame 1112 {
_root.engage.special = true;
power = 2;
}
frame 1132 {
_root.engage.special = false;
}
frame 1140 {
action -= 1;
gotoAndPlay('kenstance');
}
frame 1142 {
_root.engage.special = true;
}
frame 1164 {
_root.engage.special = false;
}
frame 1166 {
_root.engage.special = true;
power = 3;
}
frame 1186 {
_root.engage.special = false;
}
frame 1198 {
action -= 1;
_root.player2.ki -= 6;
gotoAndPlay('kenstance');
}
frame 1200 {
_root.engage.special = true;
}
frame 1222 {
_root.engage.special = false;
}
frame 1226 {
_root.engage.special = true;
power = 3;
}
frame 1246 {
_root.engage.special = false;
}
frame 1250 {
_root.engage.special = true;
power = 3;
}
frame 1270 {
_root.engage.special = false;
}
frame 1274 {
_root.engage.special = true;
power = 3;
}
frame 1294 {
_root.engage.special = false;
}
frame 1312 {
action -= 1;
_root.player2.ki -= 6;
gotoAndPlay('kenstance');
}
frame 1314 {
_root.engage.special = true;
}
frame 1336 {
_root.engage.special = false;
}
frame 1350 {
_root.engage.special = true;
power = 3;
}
frame 1370 {
_root.engage.special = false;
}
frame 1378 {
_root.engage.special = true;
power = 3;
}
frame 1398 {
_root.engage.special = false;
}
frame 1414 {
action -= 1;
_root.player2.ki -= 6;
gotoAndPlay('kenstance');
}
frame 1420 {
stop();
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player1.hp > 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player1.hp > 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('block');
}
if (_root.player1.hp <= 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('die');
}
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player3.hp > 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player3.hp > 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('block');
}
if (_root.player3.hp <= 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('die');
}
_root.player2.ki += 2;
_root.engage.gotoAndPlay('stance');
}
frame 1429 {
if (_root.player == 'ken' and _root.range == 'long') {
action = 3;
}
if (_root.player == 'ken' and _root.range == 'medium') {
action = 4;
}
if (_root.player == 'ken' and _root.range == 'short') {
action = 5;
}
if (_root.player == 'ryu' and _root.range2 == 'long') {
action = 3;
}
if (_root.player == 'ryu' and _root.range2 == 'medium') {
action = 4;
}
if (_root.player == 'ryu' and _root.range2 == 'short') {
action = 5;
}
}
frame 1434 {
stop();
if (action <= 0) {
gotoAndPlay('danend');
}
if (_root.player == 'ryu' and _root.range2 == 'short' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('dansa');
}
if (_root.player == 'ryu' and _root.range2 == 'medium' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('dansb');
}
if (_root.player == 'ryu' and _root.range2 == 'long' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('dansc');
}
if (_root.player == 'ken' and _root.range == 'short' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('dansa');
}
if (_root.player == 'ken' and _root.range == 'medium' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('dansb');
}
if (_root.player == 'ken' and _root.range == 'long' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('dansc');
}
if (_root.player2.ki < 6 and action > 0) {
randomnum = Math.round(Math.random() * 5) + 1;
if (randomnum <= 2) {
gotoAndPlay('dana');
}
if (randomnum == 3) {
gotoAndPlay('danb');
}
if (randomnum == 4) {
gotoAndPlay('danc');
}
if (randomnum >= 5) {
gotoAndPlay('dand');
}
}
}
frame 1441 {
_root.engage.special = true;
power = 1;
}
frame 1461 {
_root.engage.special = false;
}
frame 1468 {
action -= 1;
gotoAndPlay('danstance');
}
frame 1474 {
_root.engage.special = true;
power = 1;
}
frame 1494 {
_root.engage.special = false;
}
frame 1500 {
action -= 1;
gotoAndPlay('danstance');
}
frame 1503 {
_root.engage.special = true;
power = 1;
}
frame 1523 {
_root.engage.special = false;
}
frame 1527 {
action -= 1;
gotoAndPlay('danstance');
}
frame 1530 {
_root.engage.special = true;
power = 1;
}
frame 1550 {
_root.engage.special = false;
}
frame 1556 {
action -= 1;
gotoAndPlay('danstance');
}
frame 1558 {
_root.engage.special = true;
}
frame 1580 {
_root.engage.special = false;
}
frame 1587 {
_root.engage.special = true;
power = 1;
}
frame 1607 {
_root.engage.special = false;
}
frame 1629 {
action -= 2;
_root.player2.ki -= 6;
gotoAndPlay('danstance');
}
frame 1631 {
_root.engage.special = true;
}
frame 1653 {
_root.engage.special = false;
}
frame 1654 {
_root.engage.special = true;
power = 1;
}
frame 1674 {
_root.engage.special = false;
}
frame 1681 {
_root.engage.special = true;
power = 1;
}
frame 1701 {
_root.engage.special = false;
}
frame 1709 {
action -= 2;
_root.player2.ki -= 6;
gotoAndPlay('danstance');
}
frame 1711 {
_root.engage.special = true;
}
frame 1733 {
_root.engage.special = false;
}
frame 1748 {
_root.engage.special = true;
power = 1;
}
frame 1768 {
_root.engage.special = false;
}
frame 1775 {
_root.engage.special = true;
power = 1;
}
frame 1795 {
_root.engage.special = false;
}
frame 1809 {
action -= 2;
_root.player2.ki -= 6;
gotoAndPlay('danstance');
}
frame 1815 {
stop();
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player1.hp > 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player1.hp > 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('block');
}
if (_root.player1.hp <= 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('die');
}
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player3.hp > 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player3.hp > 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('block');
}
if (_root.player3.hp <= 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('die');
}
_root.player2.ki += 2;
_root.engage.gotoAndPlay('stance');
}
frame 1826 {
if (_root.player == 'ken' and _root.range == 'long') {
action = 3;
}
if (_root.player == 'ken' and _root.range == 'medium') {
action = 4;
}
if (_root.player == 'ken' and _root.range == 'short') {
action = 5;
}
if (_root.player == 'ryu' and _root.range2 == 'long') {
action = 3;
}
if (_root.player == 'ryu' and _root.range2 == 'medium') {
action = 4;
}
if (_root.player == 'ryu' and _root.range2 == 'short') {
action = 5;
}
}
frame 1831 {
stop();
if (action <= 0) {
gotoAndPlay('hondaend');
}
if (_root.player == 'ryu' and _root.range2 == 'short' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('hondasc');
}
if (_root.player == 'ryu' and _root.range2 == 'medium' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('hondasb');
}
if (_root.player == 'ryu' and _root.range2 == 'long' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('hondasa');
}
if (_root.player == 'ken' and _root.range == 'short' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('hondasc');
}
if (_root.player == 'ken' and _root.range == 'medium' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('hondasb');
}
if (_root.player == 'ken' and _root.range == 'long' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('hondasa');
}
if (_root.player2.ki < 6 and action > 0) {
randomnum = Math.round(Math.random() * 7) + 1;
if (randomnum <= 2) {
gotoAndPlay('hondaa');
}
if (randomnum == 3) {
gotoAndPlay('hondab');
}
if (randomnum == 4) {
gotoAndPlay('hondac');
}
if (randomnum == 5) {
gotoAndPlay('hondad');
}
if (randomnum == 6) {
gotoAndPlay('hondae');
}
if (randomnum >= 7) {
gotoAndPlay('hondaf');
}
}
}
frame 1834 {
_root.engage.special = true;
power = 1;
}
frame 1854 {
_root.engage.special = false;
}
frame 1859 {
action -= 1;
gotoAndPlay('hondastance');
}
frame 1863 {
_root.engage.special = true;
power = 1;
}
frame 1883 {
_root.engage.special = false;
}
frame 1889 {
action -= 1;
gotoAndPlay('hondastance');
}
frame 1892 {
_root.engage.special = true;
power = 2;
}
frame 1912 {
_root.engage.special = false;
}
frame 1921 {
action -= 1;
gotoAndPlay('hondastance');
}
frame 1924 {
_root.engage.special = true;
power = 1;
}
frame 1944 {
_root.engage.special = false;
}
frame 1949 {
action -= 1;
gotoAndPlay('hondastance');
}
frame 1952 {
_root.engage.special = true;
power = 1;
}
frame 1972 {
_root.engage.special = false;
}
frame 1980 {
action -= 1;
gotoAndPlay('hondastance');
}
frame 1983 {
_root.engage.special = true;
power = 2;
}
frame 2003 {
_root.engage.special = false;
}
frame 2018 {
action -= 1;
gotoAndPlay('hondastance');
}
frame 2020 {
_root.engage.special = true;
}
frame 2042 {
_root.engage.special = false;
}
frame 2079 {
_root.engage.special = true;
power = 3;
}
frame 2099 {
_root.engage.special = false;
}
frame 2131 {
action -= 2;
_root.player2.ki -= 6;
gotoAndPlay('hondastance');
}
frame 2133 {
_root.engage.special = true;
}
frame 2155 {
_root.engage.special = false;
}
frame 2162 {
_root.engage.special = true;
power = 3;
}
frame 2182 {
_root.engage.special = false;
}
frame 2227 {
action -= 2;
_root.player2.ki -= 6;
gotoAndPlay('hondastance');
}
frame 2229 {
_root.engage.special = true;
}
frame 2251 {
_root.engage.special = false;
}
frame 2254 {
_root.engage.special = true;
power = 3;
}
frame 2274 {
_root.engage.special = false;
}
frame 2277 {
_root.engage.special = true;
power = 3;
}
frame 2297 {
_root.engage.special = false;
}
frame 2300 {
_root.engage.special = true;
power = 3;
}
frame 2320 {
_root.engage.special = false;
}
frame 2323 {
_root.engage.special = true;
power = 3;
}
frame 2343 {
_root.engage.special = false;
}
frame 2347 {
action -= 3;
_root.player2.ki -= 6;
gotoAndPlay('hondastance');
}
frame 2356 {
stop();
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player1.hp > 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player1.hp > 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('block');
}
if (_root.player1.hp <= 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('die');
}
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player3.hp > 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player3.hp > 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('block');
}
if (_root.player3.hp <= 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('die');
}
_root.player2.ki += 2;
_root.engage.gotoAndPlay('stance');
}
frame 2366 {
if (_root.player == 'ken' and _root.range == 'long') {
action = 3;
}
if (_root.player == 'ken' and _root.range == 'medium') {
action = 4;
}
if (_root.player == 'ken' and _root.range == 'short') {
action = 5;
}
if (_root.player == 'ryu' and _root.range2 == 'long') {
action = 3;
}
if (_root.player == 'ryu' and _root.range2 == 'medium') {
action = 4;
}
if (_root.player == 'ryu' and _root.range2 == 'short') {
action = 5;
}
}
frame 2371 {
stop();
if (action <= 0) {
gotoAndPlay('balend');
}
if (_root.player == 'ryu' and _root.range2 == 'short' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('balsb');
}
if (_root.player == 'ryu' and _root.range2 == 'medium' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('balsa');
}
if (_root.player == 'ryu' and _root.range2 == 'long' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('balsa');
}
if (_root.player == 'ken' and _root.range == 'short' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('balsb');
}
if (_root.player == 'ken' and _root.range == 'medium' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('balsa');
}
if (_root.player == 'ken' and _root.range == 'long' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('balsa');
}
if (_root.player2.ki < 6 and action > 0) {
randomnum = Math.round(Math.random() * 7) + 1;
if (randomnum <= 2) {
gotoAndPlay('bala');
}
if (randomnum == 3) {
gotoAndPlay('balb');
}
if (randomnum == 4) {
gotoAndPlay('balc');
}
if (randomnum == 5) {
gotoAndPlay('bald');
}
if (randomnum == 6) {
gotoAndPlay('bale');
}
if (randomnum >= 7) {
gotoAndPlay('balf');
}
}
}
frame 2373 {
_root.engage.special = true;
power = 1;
}
frame 2393 {
_root.engage.special = false;
}
frame 2397 {
action -= 1;
gotoAndPlay('balstance');
}
frame 2404 {
_root.engage.special = true;
power = 1;
}
frame 2424 {
_root.engage.special = false;
}
frame 2431 {
action -= 1;
gotoAndPlay('balstance');
}
frame 2436 {
_root.engage.special = true;
power = 1;
}
frame 2456 {
_root.engage.special = false;
}
frame 2463 {
action -= 1;
gotoAndPlay('balstance');
}
frame 2466 {
_root.engage.special = true;
power = 1;
}
frame 2486 {
_root.engage.special = false;
}
frame 2489 {
action -= 1;
gotoAndPlay('balstance');
}
frame 2495 {
_root.engage.special = true;
power = 1;
}
frame 2515 {
_root.engage.special = false;
}
frame 2521 {
action -= 1;
gotoAndPlay('balstance');
}
frame 2529 {
_root.engage.special = true;
power = 1;
}
frame 2549 {
_root.engage.special = false;
}
frame 2555 {
action -= 1;
gotoAndPlay('balstance');
}
frame 2557 {
_root.engage.special = true;
}
frame 2579 {
_root.engage.special = false;
}
frame 2590 {
_root.engage.special = true;
power = 5;
}
frame 2610 {
_root.engage.special = false;
}
frame 2638 {
action -= 1;
_root.player2.ki -= 6;
gotoAndPlay('balstance');
}
frame 2640 {
_root.engage.special = true;
}
frame 2662 {
_root.engage.special = false;
}
frame 2674 {
_root.engage.special = true;
power = 6;
}
frame 2694 {
_root.engage.special = false;
}
frame 2712 {
action -= 1;
_root.player2.ki -= 6;
gotoAndPlay('balstance');
}
frame 2719 {
stop();
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player1.hp > 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player1.hp > 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('block');
}
if (_root.player1.hp <= 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('die');
}
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player3.hp > 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player3.hp > 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('block');
}
if (_root.player3.hp <= 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('die');
}
_root.player2.ki += 2;
_root.engage.gotoAndPlay('stance');
}
frame 2728 {
if (_root.player == 'ken' and _root.range == 'long') {
action = 3;
}
if (_root.player == 'ken' and _root.range == 'medium') {
action = 4;
}
if (_root.player == 'ken' and _root.range == 'short') {
action = 5;
}
if (_root.player == 'ryu' and _root.range2 == 'long') {
action = 3;
}
if (_root.player == 'ryu' and _root.range2 == 'medium') {
action = 4;
}
if (_root.player == 'ryu' and _root.range2 == 'short') {
action = 5;
}
}
frame 2733 {
stop();
if (action <= 0) {
gotoAndPlay('birend');
}
if (_root.player == 'ryu' and _root.range2 == 'short' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('birsb');
}
if (_root.player == 'ryu' and _root.range2 == 'medium' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('birsa');
}
if (_root.player == 'ryu' and _root.range2 == 'long' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('birsa');
}
if (_root.player == 'ken' and _root.range == 'short' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('birsb');
}
if (_root.player == 'ken' and _root.range == 'medium' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('birsa');
}
if (_root.player == 'ken' and _root.range == 'long' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('birsa');
}
if (_root.player2.ki < 6 and action > 0) {
randomnum = Math.round(Math.random() * 6) + 1;
if (randomnum <= 2) {
gotoAndPlay('bira');
}
if (randomnum == 3) {
gotoAndPlay('birb');
}
if (randomnum == 4) {
gotoAndPlay('birc');
}
if (randomnum == 5) {
gotoAndPlay('bird');
}
if (randomnum >= 6) {
gotoAndPlay('bire');
}
}
}
frame 2736 {
_root.engage.special = true;
power = 1;
}
frame 2756 {
_root.engage.special = false;
}
frame 2763 {
action -= 1;
gotoAndPlay('birstance');
}
frame 2767 {
_root.engage.special = true;
power = 3;
}
frame 2787 {
_root.engage.special = false;
}
frame 2801 {
action -= 1;
gotoAndPlay('birstance');
}
frame 2805 {
_root.engage.special = true;
power = 1;
}
frame 2825 {
_root.engage.special = false;
}
frame 2833 {
action -= 1;
gotoAndPlay('birstance');
}
frame 2835 {
_root.engage.special = true;
power = 1;
}
frame 2855 {
_root.engage.special = false;
}
frame 2861 {
action -= 1;
gotoAndPlay('birstance');
}
frame 2865 {
_root.engage.special = true;
power = 1;
}
frame 2885 {
_root.engage.special = false;
}
frame 2890 {
action -= 1;
gotoAndPlay('birstance');
}
frame 2892 {
_root.engage.special = true;
}
frame 2914 {
_root.engage.special = false;
}
frame 2918 {
_root.engage.special = true;
power = 5;
}
frame 2938 {
_root.engage.special = false;
}
frame 2946 {
action -= 1;
_root.player2.ki -= 6;
gotoAndPlay('birstance');
}
frame 2948 {
_root.engage.special = true;
}
frame 2970 {
_root.engage.special = false;
}
frame 2975 {
_root.engage.special = true;
power = 7;
}
frame 2995 {
_root.engage.special = false;
}
frame 3015 {
action -= 2;
_root.player2.ki -= 6;
gotoAndPlay('birstance');
}
frame 3022 {
stop();
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player1.hp > 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player1.hp > 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('block');
}
if (_root.player1.hp <= 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('die');
}
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player3.hp > 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player3.hp > 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('block');
}
if (_root.player3.hp <= 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('die');
}
_root.player2.ki += 2;
_root.engage.gotoAndPlay('stance');
}
}
movieClip 6468 {
frame 7 {
stop();
special = false;
direzione = 'no';
someListener = new Object();
someListener.onKeyDown = function () {
if (Key.isDown(38) and special == true) {
direzione = 'alta';
} else {
if (Key.isDown(39) and special == true) {
direzione = 'media';
} else {
if (Key.isDown(40) and special == true) {
direzione = 'bassa';
}
}
}
};
Key.addListener(someListener);
}
frame 8 {
stop();
if (_root.player == 'ken' and _root.turn == 2) {
gotoAndPlay('ken');
}
if (_root.player == 'ryu' and _root.turn == 2) {
gotoAndPlay('ryu');
}
if (_root.turn == 4) {
gotoAndPlay('enemy');
}
}
frame 22 {
stop();
kiusata = 0;
attack.onRelease = function () {
if (action >= 1) {
gotoAndPlay('kenattack');
totaldanno = 0;
totaldannofocus = 0;
}
};
beck.onRelease = function () {
_root.player1.ki += kiusata;
_root.engage.gotoAndPlay('stance');
_root.dannomenu.gotoAndPlay('choose');
};
if (_root.range == 'short') {
_root.player1.ap = _root.player1.maxap;
} else {
if (_root.range == 'medium') {
_root.player1.ap = 6;
} else {
if (_root.range == 'long') {
_root.player1.ap = 4;
}
}
}
action = 0;
action1 = 'no';
action2 = 'no';
action3 = 'no';
action4 = 'no';
}
instance of movieClip 1855 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.range == 'no') {
gotoAndPlay('no');
}
if (_root.range == 'long') {
gotoAndPlay('long');
}
if (_root.range == 'medium') {
gotoAndPlay('medium');
}
if (_root.range == 'short') {
gotoAndPlay('short');
}
}
if (_root.player == 'ryu') {
if (_root.range2 == 'no') {
gotoAndPlay('no');
}
if (_root.range2 == 'long') {
gotoAndPlay('long');
}
if (_root.range2 == 'medium') {
gotoAndPlay('medium');
}
if (_root.range2 == 'short') {
gotoAndPlay('short');
}
}
}
}
instance of movieClip 1909 {
onClipEvent (enterFrame) {
if (_root.engage.action1 == 'no') {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1911 {
onClipEvent (enterFrame) {
if (_root.engage.action2 == 'no') {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1913 {
onClipEvent (enterFrame) {
if (_root.engage.action3 == 'no') {
this._visible = false;
} else {
this._visible = true;
}
}
}
frame 36 {
stop();
kiusata = 0;
attack.onRelease = function () {
if (action >= 1) {
gotoAndPlay('ryuattack');
totaldanno = 0;
totaldannofocus = 0;
}
};
beck.onRelease = function () {
_root.player3.ki += kiusata;
_root.dannomenu.gotoAndPlay('choose');
_root.engage.gotoAndPlay('stance');
};
if (_root.range2 == 'short') {
_root.player3.ap = _root.player3.maxap;
} else {
if (_root.range2 == 'medium') {
_root.player3.ap = 5;
} else {
if (_root.range2 == 'long') {
_root.player3.ap = 3;
}
}
}
action = 0;
action1 = 'no';
action2 = 'no';
action3 = 'no';
action4 = 'no';
}
instance bar of movieClip 1906 {
onClipEvent (enterFrame) {
this._width = (_root.player3.ap / _root.player3.maxap) * 700;
}
}
instance of movieClip 1855 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.range == 'no') {
gotoAndPlay('no');
}
if (_root.range == 'long') {
gotoAndPlay('long');
}
if (_root.range == 'medium') {
gotoAndPlay('medium');
}
if (_root.range == 'short') {
gotoAndPlay('short');
}
}
if (_root.player == 'ryu') {
if (_root.range2 == 'no') {
gotoAndPlay('no');
}
if (_root.range2 == 'long') {
gotoAndPlay('long');
}
if (_root.range2 == 'medium') {
gotoAndPlay('medium');
}
if (_root.range2 == 'short') {
gotoAndPlay('short');
}
}
}
}
instance of movieClip 1909 {
onClipEvent (enterFrame) {
if (_root.engage.action1 == 'no') {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1911 {
onClipEvent (enterFrame) {
if (_root.engage.action2 == 'no') {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1913 {
onClipEvent (enterFrame) {
if (_root.engage.action3 == 'no') {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance sfondo of movieClip 5498 {
onClipEvent (enterFrame) {
if (_root.engage.special == true) {
gotoAndPlay('special');
} else {
gotoAndPlay('stance');
}
}
}
instance enemydefend of movieClip 5625 {
onClipEvent (enterFrame) {
if (_root.player2.stun == false and _root.engage.player.success == true) {
if (_root.engage.player.highhit.hitTest(this) and _root.level == 0) {
gotoAndPlay('goukenblockalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 0) {
gotoAndPlay('goukenblockmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 0) {
gotoAndPlay('goukenblockbasso');
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 1) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('kenblockalto');
} else {
gotoAndPlay('kenhitalto');
}
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 1) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('kenblockmedio');
} else {
gotoAndPlay('kenhitmedio');
}
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 1) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('kenblockbasso');
} else {
gotoAndPlay('kenhitbasso');
}
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 2) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('ryublockalto');
} else {
gotoAndPlay('ryuhitalto');
}
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 2) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('ryublockmedio');
} else {
gotoAndPlay('ryuhitmedio');
}
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 2) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('ryublockbasso');
} else {
gotoAndPlay('ryuhitbasso');
}
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 3) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('danblockalto');
} else {
gotoAndPlay('danhitalto');
}
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 3) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('danblockmedio');
} else {
gotoAndPlay('danhitmedio');
}
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 3) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('danblockbasso');
} else {
gotoAndPlay('danhitbasso');
}
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 4) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('hondablockalto');
} else {
gotoAndPlay('hondahitalto');
}
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 4) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('hondablockmedio');
} else {
gotoAndPlay('hondahitmedio');
}
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 4) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('hondablockbasso');
} else {
gotoAndPlay('hondahitbasso');
}
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 5) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('balblockalto');
} else {
gotoAndPlay('balhitalto');
}
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 5) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('balblockmedio');
} else {
gotoAndPlay('balhitmedio');
}
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 5) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('balblockbasso');
} else {
gotoAndPlay('balhitbasso');
}
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 6) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('birblockalto');
} else {
gotoAndPlay('birhitalto');
}
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 6) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('birblockmedio');
} else {
gotoAndPlay('birhitmedio');
}
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 6) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('birblockbasso');
} else {
gotoAndPlay('birhitbasso');
}
}
} else {
if (_root.player2.stun == false and _root.engage.player.success == false) {
if ((_root.engage.player.highhit.hitTest(this) or _root.engage.player.midhit.hitTest(this) or _root.engage.player.lowhit.hitTest(this)) and _root.level == 0) {
gotoAndPlay('goukenevade');
}
if ((_root.engage.player.highhit.hitTest(this) or _root.engage.player.midhit.hitTest(this) or _root.engage.player.lowhit.hitTest(this)) and _root.level == 1) {
gotoAndPlay('kenevade');
}
if ((_root.engage.player.highhit.hitTest(this) or _root.engage.player.midhit.hitTest(this) or _root.engage.player.lowhit.hitTest(this)) and _root.level == 2) {
gotoAndPlay('ryuevade');
}
if ((_root.engage.player.highhit.hitTest(this) or _root.engage.player.midhit.hitTest(this) or _root.engage.player.lowhit.hitTest(this)) and _root.level == 3) {
gotoAndPlay('danevade');
}
if ((_root.engage.player.highhit.hitTest(this) or _root.engage.player.midhit.hitTest(this) or _root.engage.player.lowhit.hitTest(this)) and _root.level == 4) {
gotoAndPlay('hondaevade');
}
if ((_root.engage.player.highhit.hitTest(this) or _root.engage.player.midhit.hitTest(this) or _root.engage.player.lowhit.hitTest(this)) and _root.level == 5) {
gotoAndPlay('balevade');
}
if ((_root.engage.player.highhit.hitTest(this) or _root.engage.player.midhit.hitTest(this) or _root.engage.player.lowhit.hitTest(this)) and _root.level == 6) {
gotoAndPlay('birevade');
}
} else {
if (_root.player2.stun == true) {
if (_root.engage.player.highhit.hitTest(this) and _root.level == 0) {
gotoAndPlay('goukenhitalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 0) {
gotoAndPlay('goukenhitmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 0) {
gotoAndPlay('goukenhitbasso');
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 1) {
gotoAndPlay('kenhitalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 1) {
gotoAndPlay('kenhitmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 1) {
gotoAndPlay('kenhitbasso');
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 2) {
gotoAndPlay('ryuhitalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 2) {
gotoAndPlay('ryuhitmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 2) {
gotoAndPlay('ryuhitbasso');
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 3) {
gotoAndPlay('danhitalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 3) {
gotoAndPlay('danhitmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 3) {
gotoAndPlay('danhitbasso');
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 4) {
gotoAndPlay('hondahitalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 4) {
gotoAndPlay('hondahitmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 4) {
gotoAndPlay('hondahitbasso');
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 5) {
gotoAndPlay('balhitalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 5) {
gotoAndPlay('balhitmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 5) {
gotoAndPlay('balhitbasso');
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 6) {
gotoAndPlay('birhitalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 6) {
gotoAndPlay('birhitmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 6) {
gotoAndPlay('birhitbasso');
}
}
}
}
}
}
frame 57 {
stop();
}
instance sfondo of movieClip 5498 {
onClipEvent (enterFrame) {
if (_root.engage.special == true) {
gotoAndPlay('special');
}
if (_root.engage.special == false) {
gotoAndPlay('stance');
}
}
}
frame 78 {
stop();
}
frame 90 {
stop();
totaldanno = 0;
totaldannofocus = 0;
}
instance player of movieClip 5910 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.engage.enemy.highhit.hitTest(this) and _root.engage.direzione == 'alta' and _root.player1.stun == false) {
gotoAndPlay('kenblockalto');
} else {
if (_root.engage.enemy.highhit.hitTest(this) and (_root.engage.direzione != 'alta' or _root.player1.stun == true)) {
gotoAndPlay('kenhitalto');
}
}
if (_root.engage.enemy.midhit.hitTest(this) and _root.engage.direzione == 'media' and _root.player1.stun == false) {
gotoAndPlay('kenblockmedio');
} else {
if (_root.engage.enemy.midhit.hitTest(this) and (_root.engage.direzione != 'media' or _root.player1.stun == true)) {
gotoAndPlay('kenhitmedio');
}
}
if (_root.engage.enemy.lowhit.hitTest(this) and _root.engage.direzione == 'bassa' and _root.player1.stun == false) {
gotoAndPlay('kenblockbasso');
} else {
if (_root.engage.enemy.lowhit.hitTest(this) and (_root.engage.direzione != 'bassa' or _root.player1.stun == true)) {
gotoAndPlay('kenhitbasso');
}
}
}
if (_root.player == 'ryu') {
if (_root.engage.enemy.highhit.hitTest(this) and _root.engage.direzione == 'alta' and _root.player3.stun == false) {
gotoAndPlay('ryublockalto');
} else {
if (_root.engage.enemy.highhit.hitTest(this) and (_root.engage.direzione != 'alta' or _root.player3.stun == true)) {
gotoAndPlay('ryuhitalto');
}
}
if (_root.engage.enemy.midhit.hitTest(this) and _root.engage.direzione == 'media' and _root.player3.stun == false) {
gotoAndPlay('ryublockmedio');
} else {
if (_root.engage.enemy.midhit.hitTest(this) and (_root.engage.direzione != 'media' or _root.player3.stun == true)) {
gotoAndPlay('ryuhitmedio');
}
}
if (_root.engage.enemy.lowhit.hitTest(this) and _root.engage.direzione == 'bassa' and _root.player3.stun == false) {
gotoAndPlay('ryublockbasso');
} else {
if (_root.engage.enemy.lowhit.hitTest(this) and (_root.engage.direzione != 'bassa' or _root.player3.stun == true)) {
gotoAndPlay('ryuhitbasso');
}
}
}
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.players == 1 and _root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.players == 1 and _root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
if (_root.players == 2 and _root.player == 'ken') {
gotoAndPlay('kendoppio');
}
if (_root.players == 2 and _root.player == 'ryu') {
gotoAndPlay('ryudoppio');
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.players == 1 and _root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.players == 1 and _root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
if (_root.players == 2 and _root.player == 'ken') {
gotoAndPlay('kendoppio');
}
if (_root.players == 2 and _root.player == 'ryu') {
gotoAndPlay('ryudoppio');
}
}
}
frame 67 {
stop();
turn = 0;
raunds = 1;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player1.dead == true and player3.dead == true) {
gotoAndPlay('ko0');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko0');
risultato = 'vinci';
}
distanza = player2._x - player1._x + 124;
distanza2 = player2._x - player3._x + 124;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
movieClip 6478 {
frame 62 {
stop();
_root.turn = 1;
}
}
frame 68 {
stop();
}
movieClip 6482 {
frame 35 {
stop();
if (_root.risultato == 'vinci' and _root.livello0 == false and _root.listato == false) {
_root.livello0 = true;
_root.gotoAndPlay('superart');
} else {
if (_root.risultato == 'vinci' and _root.livello0 == false and _root.listato == true) {
_root.livello0 = true;
_root.gotoAndPlay('superart');
} else {
if (_root.risultato == 'vinci' and _root.livello0 == true) {
_root.gotoAndPlay('battle');
} else {
if (_root.risultato == 'perdi' and _root.listato == false) {
_root.gotoAndPlay('postlevel0');
} else {
if (_root.risultato == 'perdi' and _root.listato == true) {
_root.gotoAndPlay('battle');
}
}
}
}
}
}
}
frame 69 {
stop();
risultato = 'pari';
players = 1;
player = 'ryu';
level = 1;
enemywin = 0;
playerwin = 0;
range = 'no';
range2 = 'no';
play();
}
instance of movieClip 1855 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.range == 'no') {
gotoAndPlay('no');
}
if (_root.range == 'long') {
gotoAndPlay('long');
}
if (_root.range == 'medium') {
gotoAndPlay('medium');
}
if (_root.range == 'short') {
gotoAndPlay('short');
}
}
if (_root.player == 'ryu') {
if (_root.range2 == 'no') {
gotoAndPlay('no');
}
if (_root.range2 == 'long') {
gotoAndPlay('long');
}
if (_root.range2 == 'medium') {
gotoAndPlay('medium');
}
if (_root.range2 == 'short') {
gotoAndPlay('short');
}
}
}
}
movieClip 6485 {
frame 4 {
stop();
}
frame 9 {
stop();
}
frame 14 {
stop();
}
}
instance of movieClip 6485 {
onClipEvent (enterFrame) {
if (_root.player2.life == 2) {
gotoAndPlay('zero');
} else {
if (_root.player2.life == 1) {
gotoAndPlay('uno');
} else {
if (_root.player2.life == 0) {
gotoAndPlay('due');
}
}
}
}
}
instance of movieClip 6485 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.player1.life == 2) {
gotoAndPlay('zero');
} else {
if (_root.player1.life == 1) {
gotoAndPlay('uno');
} else {
if (_root.player1.life == 0) {
gotoAndPlay('due');
}
}
}
} else {
if (_root.player == 'ryu') {
if (_root.player3.life == 2) {
gotoAndPlay('zero');
} else {
if (_root.player3.life == 1) {
gotoAndPlay('uno');
} else {
if (_root.player3.life == 0) {
gotoAndPlay('due');
}
}
}
}
}
}
}
instance player3 of movieClip 5460 {
onClipEvent (load) {
dead = false;
life = 2;
maxhp = _root.maxhpryu;
hp = maxhp;
maxfocus = _root.maxfocusryu;
focus = maxfocus;
maxap = 7;
ap = 0;
ki = 0;
maxki = 10;
fase = 'wait';
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x -= arretrare;
if (this._x < 0 and _root.player == 'ryu') {
this._x = 0;
}
if (_root.player == 'ken') {
this._x = -100;
}
if (_root.turn == 1 and _root.player == 'ryu') {
gotoAndPlay('move');
_root.turn += 1;
}
if (focus < 0) {
focus = 1;
gotoAndPlay('stun');
}
if (focus > maxfocus) {
focus = maxfocus;
}
if (ki > maxki) {
ki = maxki;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
movieClip 6486 {
frame 5 {
stop();
stun = false;
}
frame 6 {
stop();
if (focus <= 2 and ki <= 5) {
randomnum1 = Math.round(Math.random() * 10 + 1);
if (randomnum1 <= 5) {
strategia = 'difesa';
}
if (randomnum1 > 5) {
strategia = 'attacco';
}
} else {
strategia = 'attacco';
}
if (strategia == 'difesa' and this._x <= 550) {
gotoAndPlay('wb');
} else {
if (strategia == 'difesa' and this._x > 550) {
gotoAndPlay('choose');
}
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range != 'short') {
gotoAndPlay('wf');
} else {
if (strategia == 'attacco' and _root.player == 'ken' and _root.range == 'short') {
gotoAndPlay('choose');
}
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 != 'short') {
gotoAndPlay('wf');
} else {
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 == 'short') {
gotoAndPlay('choose');
}
}
}
frame 17 {
this._x -= 100;
gotoAndPlay('choose');
}
frame 30 {
this._x += 100;
gotoAndPlay('choose');
}
frame 31 {
stop();
if (strategia == 'difesa') {
gotoAndPlay('focus');
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range != 'no') {
gotoAndPlay('stance');
_root.engage.gotoAndPlay('defend');
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 != 'no') {
gotoAndPlay('stance');
_root.engage.gotoAndPlay('defend');
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range == 'no') {
gotoAndPlay('stance');
_root.turn += 1;
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 == 'no') {
gotoAndPlay('stance');
_root.turn += 1;
}
}
frame 54 {
percento = maxfocus / 100;
cento = 80 - caricafocus;
if (cento < 50) {
cento = 50;
}
focus = Math.round(percento * cento);
}
frame 59 {
_root.turn += 1;
caricafocus += 20;
gotoAndPlay('stance');
}
frame 61 {
stun = true;
}
frame 65 {
stop();
}
frame 70 {
_root.dannomenu.gotoAndPlay('player2');
arretrare = 4;
this._x = xadesso;
}
frame 80 {
arretrare = 0;
this._x = xadesso + 100;
}
frame 112 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 114 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player2');
arretrare = 6;
}
frame 136 {
arretrare = 0;
this._x = xadesso + 200;
}
frame 162 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 164 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player2');
arretrare = 6;
}
frame 186 {
arretrare = 0;
this._x = xadesso + 200;
}
frame 200 {
stop();
life -= 1;
if (life > 0) {
play();
_root.play();
} else {
if (life <= 0) {
dead = true;
}
}
}
frame 218 {
gotoAndPlay('stance');
}
frame 220 {
hp = maxhp;
focus = maxfocus;
caricafocus = 0;
}
frame 233 {
gotoAndPlay('stance');
}
}
instance player2 of movieClip 6486 {
onClipEvent (load) {
dead = false;
life = 2;
maxhp = 10;
hp = maxhp;
maxfocus = 10;
focus = maxfocus;
ki = 0;
maxki = 10;
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
arretrare = 0;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x += arretrare;
if (this._x > 650) {
this._x = 650;
}
if (_root.turn == 3) {
_root.turn += 1;
gotoAndPlay('move');
}
if (focus <= 0 and stun == false) {
focus = 1;
_root.engage.enemydefend.gotoAndPlay('stun');
stun = true;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.players == 1 and _root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.players == 1 and _root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
if (_root.players == 2 and _root.player == 'ken') {
gotoAndPlay('kendoppio');
}
if (_root.players == 2 and _root.player == 'ryu') {
gotoAndPlay('ryudoppio');
}
}
}
frame 85 {
stop();
turn = 0;
raunds = 1;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player3.dead == true) {
gotoAndPlay('ko1');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko1');
risultato = 'vinci';
}
distanza = player2._x - player1._x;
distanza2 = player2._x - player3._x;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
frame 86 {
stop();
raunds = 2;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player3.dead == true) {
gotoAndPlay('ko1');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko1');
risultato = 'vinci';
}
distanza = player2._x - player1._x;
distanza2 = player2._x - player3._x;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
movieClip 6492 {
frame 2 {
_root.player1.hp = _root.player1.maxhp;
_root.player1.focus = _root.player1.maxfocus;
_root.player1.caricafocus = 0;
_root.player2.hp = _root.player2.maxhp;
_root.player2.focus = _root.player2.maxfocus;
_root.player2.caricafocus = 0;
_root.player3.hp = _root.player3.maxhp;
_root.player3.focus = _root.player3.maxfocus;
_root.player3.caricafocus = 0;
}
frame 50 {
stop();
if (_root.turn == 2 or _root.turn == 4) {
_root.turn += 1;
} else {
_root.turn = 1;
}
}
}
frame 87 {
stop();
raunds = 2;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player3.dead == true) {
gotoAndPlay('ko1');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko1');
risultato = 'vinci';
}
distanza = player2._x - player1._x;
distanza2 = player2._x - player3._x;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
movieClip 6496 {
frame 2 {
_root.player1.hp = _root.player1.maxhp;
_root.player1.focus = _root.player1.maxfocus;
_root.player1.caricafocus = 0;
_root.player2.hp = _root.player2.maxhp;
_root.player2.focus = _root.player2.maxfocus;
_root.player2.caricafocus = 0;
_root.player3.hp = _root.player3.maxhp;
_root.player3.focus = _root.player3.maxfocus;
_root.player3.caricafocus = 0;
}
frame 68 {
stop();
if (_root.turn == 2 or _root.turn == 4) {
_root.turn += 1;
} else {
_root.turn == 1;
}
}
}
frame 88 {
stop();
}
movieClip 6498 {
frame 35 {
stop();
if (_root.risultato == 'vinci' and _root.livello1 == false and _root.listato == false) {
_root.livello1 = true;
_root.levelryu += 1;
_root.expryu += 1;
_root.gotoAndPlay('postlevel1');
} else {
if (_root.risultato == 'vinci' and _root.livello1 == false and _root.listato == true) {
_root.livello1 = true;
_root.levelryu += 1;
_root.expryu += 1;
_root.gotoAndPlay('battle');
} else {
if (_root.risultato == 'vinci' and _root.livello1 == true) {
_root.gotoAndPlay('battle');
} else {
if (_root.risultato == 'perdi' and _root.listato == false) {
_root.gotoAndPlay('postlevel2');
} else {
if (_root.risultato == 'perdi' and _root.listato == true) {
_root.gotoAndPlay('battle');
}
}
}
}
}
}
}
frame 89 {
stop();
risultato = 'pari';
players = 1;
player = 'ken';
level = 2;
enemywin = 0;
playerwin = 0;
range = 'no';
range2 = 'no';
play();
}
instance of movieClip 1855 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.range == 'no') {
gotoAndPlay('no');
}
if (_root.range == 'long') {
gotoAndPlay('long');
}
if (_root.range == 'medium') {
gotoAndPlay('medium');
}
if (_root.range == 'short') {
gotoAndPlay('short');
}
}
if (_root.player == 'ryu') {
if (_root.range2 == 'no') {
gotoAndPlay('no');
}
if (_root.range2 == 'long') {
gotoAndPlay('long');
}
if (_root.range2 == 'medium') {
gotoAndPlay('medium');
}
if (_root.range2 == 'short') {
gotoAndPlay('short');
}
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.players == 1 and _root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.players == 1 and _root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
if (_root.players == 2 and _root.player == 'ken') {
gotoAndPlay('kendoppio');
}
if (_root.players == 2 and _root.player == 'ryu') {
gotoAndPlay('ryudoppio');
}
}
}
instance of movieClip 6485 {
onClipEvent (enterFrame) {
if (_root.player2.life == 2) {
gotoAndPlay('zero');
} else {
if (_root.player2.life == 1) {
gotoAndPlay('uno');
} else {
if (_root.player2.life == 0) {
gotoAndPlay('due');
}
}
}
}
}
instance of movieClip 6485 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.player1.life == 2) {
gotoAndPlay('zero');
} else {
if (_root.player1.life == 1) {
gotoAndPlay('uno');
} else {
if (_root.player1.life == 0) {
gotoAndPlay('due');
}
}
}
} else {
if (_root.player == 'ryu') {
if (_root.player3.life == 2) {
gotoAndPlay('zero');
} else {
if (_root.player3.life == 1) {
gotoAndPlay('uno');
} else {
if (_root.player3.life == 0) {
gotoAndPlay('due');
}
}
}
}
}
}
}
instance player3 of movieClip 5460 {
onClipEvent (load) {
dead = false;
life = 2;
maxhp = _root.maxhpryu;
hp = maxhp;
maxfocus = _root.maxfocusryu;
focus = maxfocus;
maxap = 7;
ap = 0;
ki = 0;
maxki = 10;
fase = 'wait';
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x -= arretrare;
if (this._x < 0 and _root.player == 'ryu') {
this._x = 0;
}
if (_root.player == 'ken') {
this._x = -100;
}
if (_root.turn == 1 and _root.player == 'ryu') {
gotoAndPlay('move');
_root.turn += 1;
}
if (focus < 0) {
focus = 1;
gotoAndPlay('stun');
}
if (focus > maxfocus) {
focus = maxfocus;
}
if (ki > maxki) {
ki = maxki;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
instance player1 of movieClip 5445 {
onClipEvent (load) {
dead = false;
life = 2;
maxhp = _root.maxhpken;
hp = maxhp;
maxfocus = _root.maxfocusken;
focus = maxfocus;
maxap = 8;
ap = 0;
ki = 0;
maxki = 10;
fase = 'wait';
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
arretrare = 0;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x -= arretrare;
if (this._x < 0 and _root.player == 'ken') {
this._x = 0;
}
if (_root.player == 'ryu') {
this._x = -100;
}
if (_root.turn == 1 and _root.player == 'ken') {
gotoAndPlay('move');
_root.turn += 1;
}
if (focus < 0) {
focus = 1;
gotoAndPlay('stun');
}
if (focus > maxfocus) {
focus = maxfocus;
}
if (ki > maxki) {
ki = maxki;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
movieClip 6499 {
frame 4 {
stop();
stun = false;
}
frame 5 {
stop();
if (focus <= 2 and ki <= 5) {
randomnum1 = Math.round(Math.random() * 10 + 1);
if (randomnum1 <= 5) {
strategia = 'difesa';
}
if (randomnum1 > 5) {
strategia = 'attacco';
}
} else {
strategia = 'attacco';
}
if (strategia == 'difesa' and this._x <= 550) {
gotoAndPlay('wb');
} else {
if (strategia == 'difesa' and this._x > 550) {
gotoAndPlay('choose');
}
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range != 'short') {
gotoAndPlay('wf');
} else {
if (strategia == 'attacco' and _root.player == 'ken' and _root.range == 'short') {
gotoAndPlay('choose');
}
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 != 'short') {
gotoAndPlay('wf');
} else {
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 == 'short') {
gotoAndPlay('choose');
}
}
}
frame 18 {
this._x -= 100;
gotoAndPlay('choose');
}
frame 31 {
this._x += 100;
gotoAndPlay('choose');
}
frame 32 {
stop();
if (strategia == 'difesa') {
gotoAndPlay('focus');
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range != 'no') {
gotoAndPlay('stance');
_root.engage.gotoAndPlay('defend');
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 != 'no') {
gotoAndPlay('stance');
_root.engage.gotoAndPlay('defend');
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range == 'no') {
gotoAndPlay('stance');
_root.turn += 1;
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 == 'no') {
gotoAndPlay('stance');
_root.turn += 1;
}
}
frame 36 {
_root.dannomenu.gotoAndPlay('player2');
arretrare = 4;
this._x = xadesso;
}
frame 46 {
arretrare = 0;
this._x = xadesso + 100;
}
frame 78 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 80 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player2');
arretrare = 6;
}
frame 102 {
arretrare = 0;
this._x = xadesso + 200;
}
frame 128 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 130 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player2');
arretrare = 6;
}
frame 152 {
arretrare = 0;
this._x = xadesso + 200;
_root.playerwin += 1;
}
frame 166 {
stop();
life -= 1;
if (life > 0) {
play();
_root.play();
} else {
if (life <= 0) {
dead = true;
}
}
}
frame 184 {
gotoAndPlay('stance');
}
frame 186 {
hp = maxhp;
focus = maxfocus;
caricafocus = 0;
}
frame 204 {
gotoAndPlay('stance');
}
frame 227 {
percento = maxfocus / 100;
cento = 80 - caricafocus;
if (cento < 50) {
cento = 50;
}
focus = Math.round(percento * cento);
}
frame 230 {
_root.turn += 1;
caricafocus += 20;
gotoAndPlay('stance');
}
frame 232 {
stun = true;
}
frame 236 {
stop();
}
}
instance player2 of movieClip 6499 {
onClipEvent (load) {
dead = false;
life = 2;
maxhp = 10;
hp = maxhp;
maxfocus = 10;
focus = maxfocus;
ki = 0;
maxki = 10;
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
arretrare = 0;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x += arretrare;
if (this._x > 650) {
this._x = 650;
}
if (_root.turn == 3) {
_root.turn += 1;
gotoAndPlay('move');
}
if (focus <= 0 and stun == false) {
focus = 1;
stun = true;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.players == 1 and _root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.players == 1 and _root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
if (_root.players == 2 and _root.player == 'ken') {
gotoAndPlay('kendoppio');
}
if (_root.players == 2 and _root.player == 'ryu') {
gotoAndPlay('ryudoppio');
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.players == 1 and _root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.players == 1 and _root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
if (_root.players == 2 and _root.player == 'ken') {
gotoAndPlay('kendoppio');
}
if (_root.players == 2 and _root.player == 'ryu') {
gotoAndPlay('ryudoppio');
}
}
}
frame 105 {
stop();
turn = 0;
raunds = 1;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player1.dead == true) {
gotoAndPlay('ko2');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko2');
risultato = 'vinci';
}
distanza = player2._x - player1._x;
distanza2 = player2._x - player3._x;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
frame 106 {
stop();
raunds = 2;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player1.dead == true) {
gotoAndPlay('ko2');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko2');
risultato = 'vinci';
}
distanza = player2._x - player1._x;
distanza2 = player2._x - player3._x;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
frame 107 {
stop();
raunds = 2;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player1.dead == true) {
gotoAndPlay('ko2');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko2');
risultato = 'vinci';
}
distanza = player2._x - player1._x;
distanza2 = player2._x - player3._x;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
frame 108 {
stop();
}
movieClip 6502 {
frame 35 {
stop();
if (_root.risultato == 'vinci' and _root.livello2 == false and _root.listato == false) {
_root.livello2 = true;
_root.levelken += 1;
_root.expken += 1;
_root.gotoAndPlay('postlevel2');
} else {
if (_root.risultato == 'vinci' and _root.livello2 == false and _root.listato == true) {
_root.livello2 = true;
_root.levelken += 1;
_root.expken += 1;
_root.gotoAndPlay('battle');
} else {
if (_root.risultato == 'vinci' and _root.livello2 == true) {
_root.gotoAndPlay('battle');
} else {
if (_root.risultato == 'perdi' and _root.listato == false) {
_root.gotoAndPlay('postlevel1');
} else {
if (_root.risultato == 'perdi' and _root.listato == true) {
_root.gotoAndPlay('battle');
}
}
}
}
}
}
}
frame 109 {
stop();
risultato = 'pari';
players = 1;
player = 'ryu';
level = 3;
enemywin = 0;
playerwin = 0;
range = 'no';
range2 = 'no';
play();
}
instance of movieClip 1855 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.range == 'no') {
gotoAndPlay('no');
}
if (_root.range == 'long') {
gotoAndPlay('long');
}
if (_root.range == 'medium') {
gotoAndPlay('medium');
}
if (_root.range == 'short') {
gotoAndPlay('short');
}
}
if (_root.player == 'ryu') {
if (_root.range2 == 'no') {
gotoAndPlay('no');
}
if (_root.range2 == 'long') {
gotoAndPlay('long');
}
if (_root.range2 == 'medium') {
gotoAndPlay('medium');
}
if (_root.range2 == 'short') {
gotoAndPlay('short');
}
}
}
}
instance of movieClip 6485 {
onClipEvent (enterFrame) {
if (_root.player2.life == 2) {
gotoAndPlay('zero');
} else {
if (_root.player2.life == 1) {
gotoAndPlay('uno');
} else {
if (_root.player2.life == 0) {
gotoAndPlay('due');
}
}
}
}
}
instance of movieClip 6485 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.player1.life == 2) {
gotoAndPlay('zero');
} else {
if (_root.player1.life == 1) {
gotoAndPlay('uno');
} else {
if (_root.player1.life == 0) {
gotoAndPlay('due');
}
}
}
} else {
if (_root.player == 'ryu') {
if (_root.player3.life == 2) {
gotoAndPlay('zero');
} else {
if (_root.player3.life == 1) {
gotoAndPlay('uno');
} else {
if (_root.player3.life == 0) {
gotoAndPlay('due');
}
}
}
}
}
}
}
instance player3 of movieClip 5460 {
onClipEvent (load) {
dead = false;
life = 2;
maxhp = _root.maxhpryu;
hp = maxhp;
maxfocus = _root.maxfocusryu;
focus = maxfocus;
maxap = 7;
ap = 0;
ki = 0;
maxki = 10;
fase = 'wait';
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x -= arretrare;
if (this._x < 0 and _root.player == 'ryu') {
this._x = 0;
}
if (_root.player == 'ken') {
this._x = -100;
}
if (_root.turn == 1 and _root.player == 'ryu') {
gotoAndPlay('move');
_root.turn += 1;
}
if (focus < 0) {
focus = 1;
gotoAndPlay('stun');
}
if (focus > maxfocus) {
focus = maxfocus;
}
if (ki > maxki) {
ki = maxki;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
instance player1 of movieClip 5445 {
onClipEvent (load) {
dead = false;
maxhp = _root.maxhpken;
hp = maxhp;
maxfocus = _root.maxfocusken;
focus = maxfocus;
maxap = 8;
ap = 0;
ki = 0;
maxki = 10;
fase = 'wait';
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
arretrare = 0;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x -= arretrare;
if (this._x < 0 and _root.player == 'ken') {
this._x = 0;
}
if (_root.player == 'ryu') {
this._x = -100;
}
if (_root.turn == 1 and _root.player == 'ken') {
gotoAndPlay('move');
_root.turn += 1;
}
if (focus < 0) {
focus = 1;
gotoAndPlay('stun');
}
if (focus > maxfocus) {
focus = maxfocus;
}
if (ki > maxki) {
ki = maxki;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
movieClip 6520 {
frame 5 {
stop();
stun = false;
}
frame 6 {
stop();
if (focus <= 2 and ki <= 5) {
randomnum1 = Math.round(Math.random() * 10 + 1);
if (randomnum1 <= 5) {
strategia = 'difesa';
}
if (randomnum1 > 5) {
strategia = 'attacco';
}
} else {
strategia = 'attacco';
}
if (strategia == 'difesa' and this._x <= 550) {
gotoAndPlay('wb');
} else {
if (strategia == 'difesa' and this._x > 550) {
gotoAndPlay('choose');
}
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range != 'short') {
gotoAndPlay('wf');
} else {
if (strategia == 'attacco' and _root.player == 'ken' and _root.range == 'short') {
gotoAndPlay('choose');
}
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 != 'short') {
gotoAndPlay('wf');
} else {
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 == 'short') {
gotoAndPlay('choose');
}
}
}
frame 16 {
this._x -= 100;
gotoAndPlay('choose');
}
frame 26 {
this._x += 100;
gotoAndPlay('choose');
}
frame 27 {
stop();
if (strategia == 'difesa') {
gotoAndPlay('focus');
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range != 'no') {
gotoAndPlay('stance');
_root.engage.gotoAndPlay('defend');
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 != 'no') {
gotoAndPlay('stance');
_root.engage.gotoAndPlay('defend');
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range == 'no') {
gotoAndPlay('stance');
_root.turn += 1;
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 == 'no') {
gotoAndPlay('stance');
_root.turn += 1;
}
}
frame 31 {
_root.dannomenu.gotoAndPlay('player2');
arretrare = 4;
this._x = xadesso;
}
frame 41 {
arretrare = 0;
this._x = xadesso + 100;
}
frame 73 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 75 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player2');
arretrare = 6;
}
frame 97 {
arretrare = 0;
this._x = xadesso + 200;
}
frame 125 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 127 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player2');
arretrare = 6;
}
frame 149 {
arretrare = 0;
this._x = xadesso + 200;
}
frame 160 {
stop();
life -= 1;
if (life > 0) {
play();
} else {
if (life <= 0) {
dead = true;
}
}
}
frame 168 {
maxhp = 10;
maxfocus = 10;
caricafocus = 0;
}
frame 282 {
_root.play();
gotoAndPlay('stance');
}
frame 284 {
hp = maxhp;
focus = maxfocus;
caricafocus = 0;
}
frame 302 {
gotoAndPlay('stance');
}
frame 326 {
percento = maxfocus / 100;
cento = 80 - caricafocus;
if (cento < 50) {
cento = 50;
}
focus = Math.round(percento * cento);
}
frame 329 {
_root.turn += 1;
caricafocus += 20;
gotoAndPlay('stance');
}
frame 331 {
stun = true;
}
frame 335 {
stop();
}
}
instance player2 of movieClip 6520 {
onClipEvent (load) {
dead = false;
life = 2;
maxhp = 1;
hp = maxhp;
maxfocus = 3;
focus = maxfocus;
ki = 0;
maxki = 10;
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
arretrare = 0;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x += arretrare;
if (this._x > 650) {
this._x = 650;
}
if (_root.turn == 3) {
_root.turn += 1;
gotoAndPlay('move');
}
if (focus <= 0 and stun == false) {
focus = 1;
stun = true;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.players == 1 and _root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.players == 1 and _root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
if (_root.players == 2 and _root.player == 'ken') {
gotoAndPlay('kendoppio');
}
if (_root.players == 2 and _root.player == 'ryu') {
gotoAndPlay('ryudoppio');
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.players == 1 and _root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.players == 1 and _root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
if (_root.players == 2 and _root.player == 'ken') {
gotoAndPlay('kendoppio');
}
if (_root.players == 2 and _root.player == 'ryu') {
gotoAndPlay('ryudoppio');
}
}
}
frame 125 {
stop();
turn = 0;
raunds = 1;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player3.dead == true) {
gotoAndPlay('ko3');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko3');
risultato = 'vinci';
}
distanza = player2._x - player1._x;
distanza2 = player2._x - player3._x;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
frame 126 {
stop();
raunds = 2;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player3.dead == true) {
gotoAndPlay('ko3');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko3');
risultato = 'vinci';
}
distanza = player2._x - player1._x;
distanza2 = player2._x - player3._x;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
frame 127 {
stop();
raunds = 2;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player3.dead == true) {
gotoAndPlay('ko3');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko3');
risultato = 'vinci';
}
distanza = player2._x - player1._x;
distanza2 = player2._x - player3._x;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
frame 128 {
stop();
}
movieClip 6524 {
frame 35 {
stop();
if (_root.risultato == 'vinci' and _root.livello3 == false) {
_root.livello3 = true;
_root.expryu += 1;
_root.levelryu += 1;
_root.gotoAndPlay('postlevel3');
} else {
if (_root.risultato == 'vinci' and _root.livello3 == true) {
_root.gotoAndPlay('postlevel3');
} else {
if (_root.risultato == 'perdi') {
_root.gotoAndPlay('battle');
}
}
}
}
}
frame 129 {
stop();
risultato = 'pari';
players = 1;
player = 'ryu';
level = 4;
enemywin = 0;
playerwin = 0;
range = 'no';
range2 = 'no';
play();
}
instance of movieClip 1855 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.range == 'no') {
gotoAndPlay('no');
}
if (_root.range == 'long') {
gotoAndPlay('long');
}
if (_root.range == 'medium') {
gotoAndPlay('medium');
}
if (_root.range == 'short') {
gotoAndPlay('short');
}
}
if (_root.player == 'ryu') {
if (_root.range2 == 'no') {
gotoAndPlay('no');
}
if (_root.range2 == 'long') {
gotoAndPlay('long');
}
if (_root.range2 == 'medium') {
gotoAndPlay('medium');
}
if (_root.range2 == 'short') {
gotoAndPlay('short');
}
}
}
}
instance of movieClip 6485 {
onClipEvent (enterFrame) {
if (_root.player2.life == 2) {
gotoAndPlay('zero');
} else {
if (_root.player2.life == 1) {
gotoAndPlay('uno');
} else {
if (_root.player2.life == 0) {
gotoAndPlay('due');
}
}
}
}
}
instance of movieClip 6485 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.player1.life == 2) {
gotoAndPlay('zero');
} else {
if (_root.player1.life == 1) {
gotoAndPlay('uno');
} else {
if (_root.player1.life == 0) {
gotoAndPlay('due');
}
}
}
} else {
if (_root.player == 'ryu') {
if (_root.player3.life == 2) {
gotoAndPlay('zero');
} else {
if (_root.player3.life == 1) {
gotoAndPlay('uno');
} else {
if (_root.player3.life == 0) {
gotoAndPlay('due');
}
}
}
}
}
}
}
instance player3 of movieClip 5460 {
onClipEvent (load) {
dead = false;
life = 2;
maxhp = _root.maxhpryu;
hp = maxhp;
maxfocus = _root.maxfocusryu;
focus = maxfocus;
maxap = 7;
ap = 0;
ki = 0;
maxki = 10;
fase = 'wait';
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x -= arretrare;
if (this._x < 0 and _root.player == 'ryu') {
this._x = 0;
}
if (_root.player == 'ken') {
this._x = -100;
}
if (_root.turn == 1 and _root.player == 'ryu') {
gotoAndPlay('move');
_root.turn += 1;
}
if (focus < 0) {
focus = 1;
gotoAndPlay('stun');
}
if (focus > maxfocus) {
focus = maxfocus;
}
if (ki > maxki) {
ki = maxki;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
instance player1 of movieClip 5445 {
onClipEvent (load) {
dead = false;
maxhp = _root.maxhpken;
hp = maxhp;
maxfocus = _root.maxfocusken;
focus = maxfocus;
maxap = 8;
ap = 0;
ki = 0;
maxki = 10;
fase = 'wait';
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
arretrare = 0;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x -= arretrare;
if (this._x < 0 and _root.player == 'ken') {
this._x = 0;
}
if (_root.player == 'ryu') {
this._x = -100;
}
if (_root.turn == 1 and _root.player == 'ken') {
gotoAndPlay('move');
_root.turn += 1;
}
if (focus < 0) {
focus = 1;
gotoAndPlay('stun');
}
if (focus > maxfocus) {
focus = maxfocus;
}
if (ki > maxki) {
ki = maxki;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
movieClip 6540 {
frame 5 {
stop();
stun = false;
}
frame 6 {
stop();
if (focus <= 2 and ki <= 5) {
randomnum1 = Math.round(Math.random() * 10 + 1);
if (randomnum1 <= 5) {
strategia = 'difesa';
}
if (randomnum1 > 5) {
strategia = 'attacco';
}
} else {
strategia = 'attacco';
}
if (strategia == 'difesa' and this._x <= 550) {
gotoAndPlay('wb');
} else {
if (strategia == 'difesa' and this._x > 550) {
gotoAndPlay('choose');
}
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range != 'short') {
gotoAndPlay('wf');
} else {
if (strategia == 'attacco' and _root.player == 'ken' and _root.range == 'short') {
gotoAndPlay('choose');
}
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 != 'short') {
gotoAndPlay('wf');
} else {
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 == 'short') {
gotoAndPlay('choose');
}
}
}
frame 22 {
this._x -= 100;
gotoAndPlay('choose');
}
frame 33 {
this._x += 100;
gotoAndPlay('choose');
}
frame 34 {
stop();
if (strategia == 'difesa') {
gotoAndPlay('focus');
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range != 'no') {
gotoAndPlay('stance');
_root.engage.gotoAndPlay('defend');
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 != 'no') {
gotoAndPlay('stance');
_root.engage.gotoAndPlay('defend');
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range == 'no') {
gotoAndPlay('stance');
_root.turn += 1;
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 == 'no') {
gotoAndPlay('stance');
_root.turn += 1;
}
}
frame 38 {
_root.dannomenu.gotoAndPlay('player2');
arretrare = 4;
this._x = xadesso;
}
frame 48 {
arretrare = 0;
this._x = xadesso + 100;
}
frame 81 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 83 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player2');
arretrare = 6;
}
frame 105 {
arretrare = 0;
this._x = xadesso + 200;
}
frame 133 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 135 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player2');
arretrare = 6;
}
frame 157 {
arretrare = 0;
this._x = xadesso + 200;
}
frame 173 {
stop();
life -= 1;
if (life > 0) {
play();
_root.play();
} else {
if (life <= 0) {
dead = true;
}
}
}
frame 194 {
gotoAndPlay('stance');
}
frame 196 {
hp = maxhp;
focus = maxfocus;
caricafocus = 0;
}
frame 214 {
gotoAndPlay('stance');
}
frame 237 {
percento = maxfocus / 100;
cento = 80 - caricafocus;
if (cento < 50) {
cento = 50;
}
focus = Math.round(percento * cento);
}
frame 240 {
_root.turn += 1;
caricafocus += 20;
gotoAndPlay('stance');
}
frame 242 {
stun = true;
}
frame 246 {
stop();
}
}
instance player2 of movieClip 6540 {
onClipEvent (load) {
dead = false;
life = 2;
maxhp = 15;
hp = maxhp;
maxfocus = 10;
focus = maxfocus;
ki = 0;
maxki = 10;
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
arretrare = 0;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x += arretrare;
if (this._x > 550) {
this._x = 550;
}
if (_root.turn == 3) {
_root.turn += 1;
gotoAndPlay('move');
}
if (focus <= 0 and stun == false) {
focus = 1;
stun = true;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.players == 1 and _root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.players == 1 and _root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
if (_root.players == 2 and _root.player == 'ken') {
gotoAndPlay('kendoppio');
}
if (_root.players == 2 and _root.player == 'ryu') {
gotoAndPlay('ryudoppio');
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.players == 1 and _root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.players == 1 and _root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
if (_root.players == 2 and _root.player == 'ken') {
gotoAndPlay('kendoppio');
}
if (_root.players == 2 and _root.player == 'ryu') {
gotoAndPlay('ryudoppio');
}
}
}
frame 145 {
stop();
turn = 0;
raunds = 1;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player3.dead == true) {
gotoAndPlay('ko4');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko4');
risultato = 'vinci';
}
distanza = player2._x - player1._x;
distanza2 = player2._x - player3._x;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
frame 146 {
stop();
raunds = 1;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player3.dead == true) {
gotoAndPlay('ko4');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko4');
risultato = 'vinci';
}
distanza = player2._x - player1._x;
distanza2 = player2._x - player3._x;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
frame 147 {
stop();
raunds = 1;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player3.dead == true) {
gotoAndPlay('ko4');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko4');
risultato = 'vinci';
}
distanza = player2._x - player1._x;
distanza2 = player2._x - player3._x;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
frame 148 {
stop();
}
movieClip 6544 {
frame 35 {
stop();
if (_root.risultato == 'vinci' and _root.livello4 == false) {
_root.livello4 = true;
_root.expryu += 1;
_root.levelryu += 1;
_root.gotoAndPlay('postlevel4');
} else {
if (_root.risultato == 'vinci' and _root.livello4 == true) {
_root.gotoAndPlay('postlevel4');
} else {
if (_root.risultato == 'perdi') {
_root.gotoAndPlay('battle');
}
}
}
}
}
frame 149 {
stop();
risultato = 'pari';
players = 1;
player = 'ken';
level = 5;
enemywin = 0;
playerwin = 0;
range = 'no';
range2 = 'no';
play();
}
instance of movieClip 1855 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.range == 'no') {
gotoAndPlay('no');
}
if (_root.range == 'long') {
gotoAndPlay('long');
}
if (_root.range == 'medium') {
gotoAndPlay('medium');
}
if (_root.range == 'short') {
gotoAndPlay('short');
}
}
if (_root.player == 'ryu') {
if (_root.range2 == 'no') {
gotoAndPlay('no');
}
if (_root.range2 == 'long') {
gotoAndPlay('long');
}
if (_root.range2 == 'medium') {
gotoAndPlay('medium');
}
if (_root.range2 == 'short') {
gotoAndPlay('short');
}
}
}
}
instance of movieClip 6485 {
onClipEvent (enterFrame) {
if (_root.player2.life == 2) {
gotoAndPlay('zero');
} else {
if (_root.player2.life == 1) {
gotoAndPlay('uno');
} else {
if (_root.player2.life == 0) {
gotoAndPlay('due');
}
}
}
}
}
instance of movieClip 6485 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.player1.life == 2) {
gotoAndPlay('zero');
} else {
if (_root.player1.life == 1) {
gotoAndPlay('uno');
} else {
if (_root.player1.life == 0) {
gotoAndPlay('due');
}
}
}
} else {
if (_root.player == 'ryu') {
if (_root.player3.life == 2) {
gotoAndPlay('zero');
} else {
if (_root.player3.life == 1) {
gotoAndPlay('uno');
} else {
if (_root.player3.life == 0) {
gotoAndPlay('due');
}
}
}
}
}
}
}
instance player3 of movieClip 5460 {
onClipEvent (load) {
dead = false;
maxhp = _root.maxhpryu;
hp = maxhp;
maxfocus = _root.maxfocusryu;
focus = maxfocus;
maxap = 7;
ap = 0;
ki = 0;
maxki = 10;
fase = 'wait';
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x -= arretrare;
if (this._x < 0 and _root.player == 'ryu') {
this._x = 0;
}
if (_root.player == 'ken') {
this._x = -100;
}
if (_root.turn == 1 and _root.player == 'ryu') {
gotoAndPlay('move');
_root.turn += 1;
}
if (focus < 0) {
focus = 1;
gotoAndPlay('stun');
}
if (focus > maxfocus) {
focus = maxfocus;
}
if (ki > maxki) {
ki = maxki;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
instance player1 of movieClip 5445 {
onClipEvent (load) {
dead = false;
life = 2;
maxhp = _root.maxhpken;
hp = maxhp;
maxfocus = _root.maxfocusken;
focus = maxfocus;
maxap = 8;
ap = 0;
ki = 0;
maxki = 10;
fase = 'wait';
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
arretrare = 0;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x -= arretrare;
if (this._x < 0 and _root.player == 'ken') {
this._x = 0;
}
if (_root.player == 'ryu') {
this._x = -100;
}
if (_root.turn == 1 and _root.player == 'ken') {
gotoAndPlay('move');
_root.turn += 1;
}
if (focus < 0) {
focus = 1;
gotoAndPlay('stun');
}
if (focus > maxfocus) {
focus = maxfocus;
}
if (ki > maxki) {
ki = maxki;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
movieClip 6550 {
}
movieClip 6563 {
frame 4 {
stop();
stun = false;
}
frame 5 {
stop();
if (focus <= 2 and ki <= 5) {
randomnum1 = Math.round(Math.random() * 10 + 1);
if (randomnum1 <= 5) {
strategia = 'difesa';
}
if (randomnum1 > 5) {
strategia = 'attacco';
}
} else {
strategia = 'attacco';
}
if (strategia == 'difesa' and this._x <= 550) {
gotoAndPlay('wb');
} else {
if (strategia == 'difesa' and this._x > 550) {
gotoAndPlay('choose');
}
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range != 'short') {
gotoAndPlay('wf');
} else {
if (strategia == 'attacco' and _root.player == 'ken' and _root.range == 'short') {
gotoAndPlay('choose');
}
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 != 'short') {
gotoAndPlay('wf');
} else {
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 == 'short') {
gotoAndPlay('choose');
}
}
}
frame 14 {
this._x -= 100;
gotoAndPlay('choose');
}
frame 22 {
this._x += 100;
gotoAndPlay('choose');
}
frame 23 {
stop();
if (strategia == 'difesa') {
gotoAndPlay('focus');
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range != 'no') {
gotoAndPlay('stance');
_root.engage.gotoAndPlay('defend');
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 != 'no') {
gotoAndPlay('stance');
_root.engage.gotoAndPlay('defend');
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range == 'no') {
gotoAndPlay('stance');
_root.turn += 1;
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 == 'no') {
gotoAndPlay('stance');
_root.turn += 1;
}
}
frame 27 {
_root.dannomenu.gotoAndPlay('player2');
arretrare = 4;
this._x = xadesso;
}
frame 37 {
arretrare = 0;
this._x = xadesso + 100;
}
frame 70 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 72 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player2');
arretrare = 6;
}
frame 94 {
arretrare = 0;
this._x = xadesso + 200;
}
frame 115 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 117 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player2');
arretrare = 6;
}
frame 139 {
arretrare = 0;
this._x = xadesso + 200;
}
frame 155 {
stop();
life -= 1;
if (life > 0) {
play();
_root.play();
} else {
if (life <= 0) {
dead = true;
}
}
}
frame 166 {
gotoAndPlay('stance');
}
frame 168 {
hp = maxhp;
focus = maxfocus;
caricafocus = 0;
}
frame 184 {
gotoAndPlay('stance');
}
frame 207 {
percento = maxfocus / 100;
cento = 80 - caricafocus;
if (cento < 50) {
cento = 50;
}
focus = Math.round(percento * cento);
}
frame 210 {
_root.turn += 1;
caricafocus += 20;
gotoAndPlay('stance');
}
frame 212 {
stun = true;
}
frame 216 {
stop();
}
}
instance player2 of movieClip 6563 {
onClipEvent (load) {
dead = false;
life = 2;
maxhp = 15;
hp = maxhp;
maxfocus = 10;
focus = maxfocus;
ki = 0;
maxki = 10;
difesaalta = 0;
difesamedia = 0;
difesabassa = 1;
stun = false;
arretrare = 0;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x += arretrare;
if (this._x > 550) {
this._x = 550;
}
if (_root.turn == 3) {
_root.turn += 1;
gotoAndPlay('move');
}
if (focus <= 0 and stun == false) {
focus = 1;
stun = true;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.players == 1 and _root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.players == 1 and _root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
if (_root.players == 2 and _root.player == 'ken') {
gotoAndPlay('kendoppio');
}
if (_root.players == 2 and _root.player == 'ryu') {
gotoAndPlay('ryudoppio');
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.players == 1 and _root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.players == 1 and _root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
if (_root.players == 2 and _root.player == 'ken') {
gotoAndPlay('kendoppio');
}
if (_root.players == 2 and _root.player == 'ryu') {
gotoAndPlay('ryudoppio');
}
}
}
frame 165 {
stop();
turn = 0;
raunds = 1;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player1.dead == true) {
gotoAndPlay('ko5');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko5');
risultato = 'vinci';
}
distanza = player2._x - player1._x;
distanza2 = player2._x - player3._x;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
frame 166 {
stop();
raunds = 1;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player1.dead == true) {
gotoAndPlay('ko5');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko5');
risultato = 'vinci';
}
distanza = player2._x - player1._x;
distanza2 = player2._x - player3._x;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
frame 167 {
stop();
raunds = 1;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player1.dead == true) {
gotoAndPlay('ko5');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko5');
risultato = 'vinci';
}
distanza = player2._x - player1._x;
distanza2 = player2._x - player3._x;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
frame 168 {
stop();
}
movieClip 6567 {
frame 35 {
stop();
if (_root.risultato == 'vinci' and _root.livello5 == false) {
_root.livello5 = true;
_root.levelken += 1;
_root.expken += 1;
_root.gotoAndPlay('postlevel5');
} else {
if (_root.risultato == 'vinci' and _root.livello5 == true) {
_root.gotoAndPlay('postlevel5');
} else {
if (_root.risultato == 'perdi') {
_root.gotoAndPlay('battle');
}
}
}
}
}
frame 169 {
stop();
risultato = 'pari';
players = 1;
player = 'ken';
level = 6;
enemywin = 1;
playerwin = 0;
range = 'no';
range2 = 'no';
play();
}
instance of movieClip 1855 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.range == 'no') {
gotoAndPlay('no');
}
if (_root.range == 'long') {
gotoAndPlay('long');
}
if (_root.range == 'medium') {
gotoAndPlay('medium');
}
if (_root.range == 'short') {
gotoAndPlay('short');
}
}
if (_root.player == 'ryu') {
if (_root.range2 == 'no') {
gotoAndPlay('no');
}
if (_root.range2 == 'long') {
gotoAndPlay('long');
}
if (_root.range2 == 'medium') {
gotoAndPlay('medium');
}
if (_root.range2 == 'short') {
gotoAndPlay('short');
}
}
}
}
instance player3 of movieClip 5460 {
onClipEvent (load) {
dead = false;
maxhp = _root.maxhpryu;
hp = maxhp;
maxfocus = _root.maxfocusryu;
focus = maxfocus;
maxap = 7;
ap = 0;
ki = 0;
maxki = 10;
fase = 'wait';
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x -= arretrare;
if (this._x < 0 and _root.player == 'ryu') {
this._x = 0;
}
if (_root.player == 'ken') {
this._x = -100;
}
if (_root.turn == 1 and _root.player == 'ryu') {
gotoAndPlay('move');
_root.turn += 1;
}
if (focus < 0) {
focus = 1;
gotoAndPlay('stun');
}
if (focus > maxfocus) {
focus = maxfocus;
}
if (ki > maxki) {
ki = maxki;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
instance player1 of movieClip 5445 {
onClipEvent (load) {
dead = false;
life = 1;
maxhp = _root.maxhpken;
hp = maxhp;
maxfocus = _root.maxfocusken;
focus = maxfocus;
maxap = 8;
ap = 0;
ki = 0;
maxki = 10;
fase = 'wait';
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
arretrare = 0;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x -= arretrare;
if (this._x < 0 and _root.player == 'ken') {
this._x = 0;
}
if (_root.player == 'ryu') {
this._x = -100;
}
if (_root.turn == 1 and _root.player == 'ken') {
gotoAndPlay('move');
_root.turn += 1;
}
if (focus < 0) {
focus = 1;
gotoAndPlay('stun');
}
if (focus > maxfocus) {
focus = maxfocus;
}
if (ki > maxki) {
ki = maxki;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
movieClip 6611 {
frame 5 {
stop();
stun = false;
}
frame 6 {
stop();
if (focus <= 2 and ki <= 5) {
randomnum1 = Math.round(Math.random() * 10 + 1);
if (randomnum1 <= 5) {
strategia = 'difesa';
}
if (randomnum1 > 5) {
strategia = 'attacco';
}
} else {
strategia = 'attacco';
}
if (strategia == 'difesa' and this._x <= 550) {
gotoAndPlay('wb');
} else {
if (strategia == 'difesa' and this._x > 550) {
gotoAndPlay('choose');
}
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range != 'short') {
gotoAndPlay('wf');
} else {
if (strategia == 'attacco' and _root.player == 'ken' and _root.range == 'short') {
gotoAndPlay('choose');
}
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 != 'short') {
gotoAndPlay('wf');
} else {
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 == 'short') {
gotoAndPlay('choose');
}
}
}
frame 22 {
this._x -= 100;
gotoAndPlay('choose');
}
frame 37 {
this._x += 100;
gotoAndPlay('choose');
}
frame 38 {
stop();
if (strategia == 'difesa') {
gotoAndPlay('focus');
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range != 'no') {
gotoAndPlay('stance');
_root.engage.gotoAndPlay('defend');
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 != 'no') {
gotoAndPlay('stance');
_root.engage.gotoAndPlay('defend');
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range == 'no') {
gotoAndPlay('stance');
_root.turn += 1;
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 == 'no') {
gotoAndPlay('stance');
_root.turn += 1;
}
}
frame 42 {
_root.dannomenu.gotoAndPlay('player2');
arretrare = 4;
this._x = xadesso;
}
frame 52 {
arretrare = 0;
this._x = xadesso + 100;
}
frame 85 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 87 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player2');
arretrare = 6;
}
frame 109 {
arretrare = 0;
this._x = xadesso + 200;
}
frame 130 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 132 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player2');
arretrare = 6;
}
frame 154 {
arretrare = 0;
this._x = xadesso + 200;
}
frame 170 {
stop();
life -= 1;
if (life > 0) {
play();
} else {
if (life <= 0) {
dead = true;
}
}
}
frame 180 {
hp = 5;
}
frame 247 {
stop();
_root.turn = 4;
gotoAndPlay('move');
}
frame 270 {
percento = maxfocus / 100;
cento = 80 - caricafocus;
if (cento < 50) {
cento = 50;
}
focus = Math.round(percento * cento);
}
frame 273 {
_root.turn += 1;
caricafocus += 20;
gotoAndPlay('stance');
}
frame 275 {
stun = true;
}
frame 279 {
stop();
}
}
instance player2 of movieClip 6611 {
onClipEvent (load) {
dead = false;
life = 2;
maxhp = 10;
hp = maxhp;
maxfocus = 15;
focus = maxfocus;
ki = 0;
maxki = 10;
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
arretrare = 0;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x += arretrare;
if (this._x > 550) {
this._x = 550;
}
if (_root.turn == 3) {
_root.turn += 1;
gotoAndPlay('move');
}
if (focus <= 0 and stun == false) {
focus = 1;
stun = true;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.players == 1 and _root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.players == 1 and _root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
if (_root.players == 2 and _root.player == 'ken') {
gotoAndPlay('kendoppio');
}
if (_root.players == 2 and _root.player == 'ryu') {
gotoAndPlay('ryudoppio');
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.players == 1 and _root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.players == 1 and _root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
if (_root.players == 2 and _root.player == 'ken') {
gotoAndPlay('kendoppio');
}
if (_root.players == 2 and _root.player == 'ryu') {
gotoAndPlay('ryudoppio');
}
}
}
frame 185 {
stop();
turn = 0;
raunds = 1;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player1.dead == true) {
gotoAndPlay('ko6');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko6');
risultato = 'vinci';
}
distanza = player2._x - player1._x;
distanza2 = player2._x - player3._x;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
frame 186 {
stop();
}
movieClip 6615 {
frame 35 {
stop();
if (_root.risultato == 'vinci' and _root.livello6 == false) {
_root.livello6 = true;
_root.levelken += 1;
_root.expken += 1;
_root.gotoAndPlay('postlevel6');
} else {
if (_root.risultato == 'vinci' and _root.livello6 == true) {
_root.gotoAndPlay('postlevel6');
} else {
if (_root.risultato == 'perdi') {
_root.gotoAndPlay('battle');
}
}
}
}
}
frame 187 {
stop();
risultato = 'pari';
players = 1;
player = 'ryu';
level = 7;
enemywin = 0;
playerwin = 0;
range = 'no';
range2 = 'no';
play();
}
instance of movieClip 1855 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.range == 'no') {
gotoAndPlay('no');
}
if (_root.range == 'long') {
gotoAndPlay('long');
}
if (_root.range == 'medium') {
gotoAndPlay('medium');
}
if (_root.range == 'short') {
gotoAndPlay('short');
}
}
if (_root.player == 'ryu') {
if (_root.range2 == 'no') {
gotoAndPlay('no');
}
if (_root.range2 == 'long') {
gotoAndPlay('long');
}
if (_root.range2 == 'medium') {
gotoAndPlay('medium');
}
if (_root.range2 == 'short') {
gotoAndPlay('short');
}
}
}
}
instance of movieClip 6485 {
onClipEvent (enterFrame) {
if (_root.player2.life == 2) {
gotoAndPlay('zero');
} else {
if (_root.player2.life == 1) {
gotoAndPlay('uno');
} else {
if (_root.player2.life == 0) {
gotoAndPlay('due');
}
}
}
}
}
instance of movieClip 6485 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.player1.life == 2) {
gotoAndPlay('zero');
} else {
if (_root.player1.life == 1) {
gotoAndPlay('uno');
} else {
if (_root.player1.life == 0) {
gotoAndPlay('due');
}
}
}
} else {
if (_root.player == 'ryu') {
if (_root.player3.life == 2) {
gotoAndPlay('zero');
} else {
if (_root.player3.life == 1) {
gotoAndPlay('uno');
} else {
if (_root.player3.life == 0) {
gotoAndPlay('due');
}
}
}
}
}
}
}
instance player3 of movieClip 5460 {
onClipEvent (load) {
dead = false;
life = 2;
maxhp = _root.maxhpryu;
hp = maxhp;
maxfocus = _root.maxfocusryu;
focus = maxfocus;
maxap = 7;
ap = 0;
ki = 0;
maxki = 10;
fase = 'wait';
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x -= arretrare;
if (this._x < 0 and _root.player == 'ryu') {
this._x = 0;
}
if (_root.player == 'ken') {
this._x = -100;
}
if (_root.turn == 1 and _root.player == 'ryu') {
gotoAndPlay('move');
_root.turn += 1;
}
if (focus < 0) {
focus = 1;
gotoAndPlay('stun');
}
if (focus > maxfocus) {
focus = maxfocus;
}
if (ki > maxki) {
ki = maxki;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
instance player1 of movieClip 5445 {
onClipEvent (load) {
dead = false;
life = 2;
maxhp = _root.maxhpken;
hp = maxhp;
maxfocus = _root.maxfocusken;
focus = maxfocus;
maxap = 8;
ap = 0;
ki = 0;
maxki = 10;
fase = 'wait';
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
arretrare = 0;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x -= arretrare;
if (this._x < 0 and _root.player == 'ken') {
this._x = 0;
}
if (_root.player == 'ryu') {
this._x = -100;
}
if (_root.turn == 1 and _root.player == 'ken') {
gotoAndPlay('move');
_root.turn += 1;
}
if (focus < 0) {
focus = 1;
gotoAndPlay('stun');
}
if (focus > maxfocus) {
focus = maxfocus;
}
if (ki > maxki) {
ki = maxki;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
movieClip 6640 {
frame 5 {
stop();
stun = false;
}
frame 6 {
stop();
if (focus <= 2 and ki <= 5) {
randomnum1 = Math.round(Math.random() * 10 + 1);
if (randomnum1 <= 5) {
strategia = 'difesa';
}
if (randomnum1 > 5) {
strategia = 'attacco';
}
} else {
strategia = 'attacco';
}
if (strategia == 'difesa' and this._x <= 550) {
gotoAndPlay('wb');
} else {
if (strategia == 'difesa' and this._x > 550) {
gotoAndPlay('choose');
}
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range != 'short') {
gotoAndPlay('wf');
} else {
if (strategia == 'attacco' and _root.player == 'ken' and _root.range == 'short') {
gotoAndPlay('choose');
}
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 != 'short') {
gotoAndPlay('wf');
} else {
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 == 'short') {
gotoAndPlay('choose');
}
}
}
frame 17 {
this._x -= 100;
gotoAndPlay('choose');
}
frame 28 {
this._x += 100;
gotoAndPlay('choose');
}
frame 29 {
stop();
if (strategia == 'difesa') {
gotoAndPlay('focus');
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range != 'no') {
gotoAndPlay('stance');
_root.engage.gotoAndPlay('defend');
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 != 'no') {
gotoAndPlay('stance');
_root.engage.gotoAndPlay('defend');
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range == 'no') {
gotoAndPlay('stance');
_root.turn += 1;
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 == 'no') {
gotoAndPlay('stance');
_root.turn += 1;
}
}
frame 33 {
_root.dannomenu.gotoAndPlay('player2');
arretrare = 4;
this._x = xadesso;
}
frame 43 {
arretrare = 0;
this._x = xadesso + 100;
}
frame 75 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 77 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player2');
arretrare = 6;
}
frame 99 {
arretrare = 0;
this._x = xadesso + 200;
}
frame 125 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 127 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player2');
arretrare = 6;
}
frame 149 {
arretrare = 0;
this._x = xadesso + 200;
_root.playerwin += 1;
}
frame 163 {
stop();
life -= 1;
if (life > 0) {
play();
_root.play();
} else {
if (life <= 0) {
dead = true;
}
}
}
frame 181 {
gotoAndPlay('stance');
}
frame 204 {
percento = maxfocus / 100;
cento = 80 - caricafocus;
if (cento < 50) {
cento = 50;
}
focus = Math.round(percento * cento);
}
frame 207 {
_root.turn += 1;
caricafocus += 20;
gotoAndPlay('stance');
}
}
instance player2 of movieClip 6640 {
onClipEvent (load) {
dead = false;
life = 2;
maxhp = 10;
hp = maxhp;
maxfocus = 10;
focus = maxfocus;
ki = 0;
maxki = 10;
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
arretrare = 0;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x += arretrare;
if (this._x > 650) {
this._x = 650;
}
if (_root.turn == 3) {
_root.turn += 1;
gotoAndPlay('move');
}
if (focus <= 0 and stun == false) {
focus = 1;
stun = true;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
movieClip 6669 {
}
movieClip 6685 {
}
movieClip 6748 {
}
movieClip 6805 {
}
movieClip 6861 {
}
movieClip 6892 {
frame 1 {
stop();
if (_root.level == 7) {
gotoAndPlay('sak');
}
if (_root.level == 8) {
gotoAndPlay('chu');
}
if (_root.level == 9) {
gotoAndPlay('ado');
}
if (_root.level == 10) {
gotoAndPlay('sag');
}
if (_root.level == 11) {
gotoAndPlay('dee');
}
if (_root.level == 12) {
gotoAndPlay('zan');
}
if (_root.level == 13) {
gotoAndPlay('gui');
}
if (_root.level == 14) {
gotoAndPlay('veg');
}
}
frame 12 {
stop();
}
frame 22 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('birstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('birstun');
}
}
}
frame 32 {
stop();
danno = _root.engage.player.power + _root.player2.difesamedia;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('birstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('birstun');
}
}
}
frame 42 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('birstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('birstun');
}
}
}
frame 51 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('birstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('birstun');
}
}
}
frame 60 {
stop();
danno = _root.engage.player.power + _root.player2.difesamedia;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('birstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('birstun');
}
}
}
frame 68 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('birstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('birstun');
}
}
}
frame 77 {
gotoAndPlay('birstance');
}
frame 87 {
stop();
}
frame 99 {
stop();
}
frame 109 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('sakstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('sakstun');
}
}
}
frame 120 {
stop();
danno = _root.engage.player.power + _root.player2.difesamedia;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('sakstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('sakstun');
}
}
}
frame 130 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('sakstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('sakstun');
}
}
}
frame 140 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('sakstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('sakstun');
}
}
}
frame 149 {
stop();
danno = _root.engage.player.power + _root.player2.difesamedia;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('sakstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('sakstun');
}
}
}
frame 157 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('saktance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('sakstun');
}
}
}
frame 165 {
gotoAndPlay('sakstance');
}
frame 175 {
stop();
}
frame 185 {
stop();
}
frame 195 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('chustance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('chustun');
}
}
}
frame 205 {
stop();
danno = _root.engage.player.power + _root.player2.difesamedia;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('chustance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('chustun');
}
}
}
frame 215 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('chustance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('chustun');
}
}
}
frame 225 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('chustance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('chustun');
}
}
}
frame 234 {
stop();
danno = _root.engage.player.power + _root.player2.difesamedia;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('chustance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('chustun');
}
}
}
frame 243 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('chustance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('chustun');
}
}
}
frame 253 {
stop();
}
frame 261 {
gotoAndPlay('chustance');
}
frame 272 {
stop();
}
frame 283 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('adostance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('adostun');
}
}
}
frame 294 {
stop();
danno = _root.engage.player.power + _root.player2.difesamedia;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('adostance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('adostun');
}
}
}
frame 305 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('adostance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('adostun');
}
}
}
frame 315 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('adostance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('adostun');
}
}
}
frame 324 {
stop();
danno = _root.engage.player.power + _root.player2.difesamedia;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('adostance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('adostun');
}
}
}
frame 333 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('adostance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('adostun');
}
}
}
frame 343 {
stop();
}
frame 353 {
gotoAndPlay('adostance');
}
frame 365 {
stop();
}
frame 375 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('sagstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('sagstun');
}
}
}
frame 385 {
stop();
danno = _root.engage.player.power + _root.player2.difesamedia;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('sagstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('sagstun');
}
}
}
frame 395 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('sagstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('sagstun');
}
}
}
frame 404 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('sagstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('sagstun');
}
}
}
frame 413 {
stop();
danno = _root.engage.player.power + _root.player2.difesamedia;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('sagstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('sagstun');
}
}
}
frame 422 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('sagstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('sagstun');
}
}
}
frame 438 {
gotoAndPlay('sagstance');
}
frame 442 {
stop();
}
frame 453 {
stop();
}
frame 463 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('zanstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('zanstun');
}
}
}
frame 473 {
stop();
danno = _root.engage.player.power + _root.player2.difesamedia;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('zanstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('zanstun');
}
}
}
frame 483 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('zanstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('zanstun');
}
}
}
frame 492 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('zanstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('zanstun');
}
}
}
frame 501 {
stop();
danno = _root.engage.player.power + _root.player2.difesamedia;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('zanstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('zanstun');
}
}
}
frame 510 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('zanstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('zanstun');
}
}
}
frame 523 {
gotoAndPlay('zanstance');
}
frame 527 {
stop();
}
frame 538 {
stop();
}
frame 548 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('guistance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('guistun');
}
}
}
frame 558 {
stop();
danno = _root.engage.player.power + _root.player2.difesamedia;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('guistance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('guistun');
}
}
}
frame 568 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('guistance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('guistun');
}
}
}
frame 577 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('guistance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('guistun');
}
}
}
frame 586 {
stop();
danno = _root.engage.player.power + _root.player2.difesamedia;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('guistance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('guistun');
}
}
}
frame 595 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('guistance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('guistun');
}
}
}
frame 603 {
gotoAndPlay('guistance');
}
frame 605 {
stop();
}
frame 616 {
stop();
}
frame 626 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('vegstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('vegstun');
}
}
}
frame 636 {
stop();
danno = _root.engage.player.power + _root.player2.difesamedia;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('vegstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('vegstun');
}
}
}
frame 646 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('vegstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('vegstun');
}
}
}
frame 655 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('vegstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('vegstun');
}
}
}
frame 664 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('vegstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('vegstun');
}
}
}
frame 673 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('vegstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('vegstun');
}
}
}
frame 689 {
gotoAndPlay('vegstance');
}
frame 692 {
stop();
}
frame 703 {
stop();
}
frame 713 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('deestance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('deestun');
}
}
}
frame 723 {
stop();
danno = _root.engage.player.power + _root.player2.difesamedia;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('deestance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('deestun');
}
}
}
frame 733 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('deestance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('deestun');
}
}
}
frame 742 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('deestance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('deestun');
}
}
}
frame 751 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('deestance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('deestun');
}
}
}
frame 760 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('deestance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('deestun');
}
}
}
frame 771 {
gotoAndPlay('deestance');
}
frame 774 {
stop();
}
}
movieClip 8276 {
frame 1 {
stop();
if (_root.level == 7) {
gotoAndPlay('sak');
}
if (_root.level == 8) {
gotoAndPlay('chu');
}
if (_root.level == 9) {
gotoAndPlay('ado');
}
if (_root.level == 10) {
gotoAndPlay('sag');
}
if (_root.level == 11) {
gotoAndPlay('dee');
}
if (_root.level == 12) {
gotoAndPlay('zan');
}
if (_root.level == 13) {
gotoAndPlay('gui');
}
if (_root.level == 14) {
gotoAndPlay('veg');
}
}
frame 11 {
if (_root.player == 'ken' and _root.range == 'long') {
action = 3;
}
if (_root.player == 'ken' and _root.range == 'medium') {
action = 4;
}
if (_root.player == 'ken' and _root.range == 'short') {
action = 5;
}
if (_root.player == 'ryu' and _root.range2 == 'long') {
action = 3;
}
if (_root.player == 'ryu' and _root.range2 == 'medium') {
action = 4;
}
if (_root.player == 'ryu' and _root.range2 == 'short') {
action = 5;
}
}
frame 16 {
stop();
if (action <= 0) {
gotoAndPlay('sakend');
}
if (_root.player == 'ryu' and _root.range2 == 'short' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('saksb');
}
if (_root.player == 'ryu' and _root.range2 == 'medium' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('saksa');
}
if (_root.player == 'ryu' and _root.range2 == 'long' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('saksa');
}
if (_root.player == 'ken' and _root.range == 'short' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('saksb');
}
if (_root.player == 'ken' and _root.range == 'medium' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('saksa');
}
if (_root.player == 'ken' and _root.range == 'long' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('saksa');
}
if (_root.player2.ki < 6 and action > 0) {
randomnum = Math.round(Math.random() * 7) + 1;
if (randomnum <= 2) {
gotoAndPlay('saka');
}
if (randomnum == 3) {
gotoAndPlay('sakb');
}
if (randomnum == 4) {
gotoAndPlay('sakc');
}
if (randomnum == 5) {
gotoAndPlay('sakd');
}
if (randomnum == 6) {
gotoAndPlay('sake');
}
if (randomnum >= 7) {
gotoAndPlay('sakf');
}
}
}
frame 19 {
_root.engage.special = true;
power = 1;
}
frame 39 {
_root.engage.special = false;
}
frame 49 {
action -= 1;
gotoAndPlay('sakstance');
}
frame 53 {
_root.engage.special = true;
power = 1;
}
frame 73 {
_root.engage.special = false;
}
frame 79 {
action -= 1;
gotoAndPlay('sakstance');
}
frame 85 {
_root.engage.special = true;
power = 1;
}
frame 105 {
_root.engage.special = false;
}
frame 115 {
action -= 1;
gotoAndPlay('sakstance');
}
frame 120 {
_root.engage.special = true;
power = 1;
}
frame 140 {
_root.engage.special = false;
}
frame 146 {
action -= 1;
gotoAndPlay('sakstance');
}
frame 150 {
_root.engage.special = true;
power = 1;
}
frame 170 {
_root.engage.special = false;
}
frame 180 {
action -= 1;
gotoAndPlay('sakstance');
}
frame 184 {
_root.engage.special = true;
power = 1;
}
frame 204 {
_root.engage.special = false;
}
frame 218 {
action -= 1;
gotoAndPlay('sakstance');
}
frame 220 {
_root.engage.special = true;
}
frame 242 {
_root.engage.special = false;
}
frame 252 {
_root.engage.special = true;
power = 3;
}
frame 272 {
_root.engage.special = false;
}
frame 281 {
_root.engage.special = true;
power = 3;
}
frame 301 {
_root.engage.special = false;
}
frame 305 {
action -= 1;
_root.player2.ki -= 6;
gotoAndPlay('sakstance');
}
frame 307 {
_root.engage.special = true;
}
frame 329 {
_root.engage.special = false;
}
frame 338 {
_root.engage.special = true;
power = 6;
}
frame 358 {
_root.engage.special = false;
}
frame 377 {
action -= 1;
_root.player2.ki -= 6;
gotoAndPlay('sakstance');
}
frame 385 {
stop();
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player1.hp > 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player1.hp > 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('block');
}
if (_root.player1.hp <= 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('die');
}
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player3.hp > 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player3.hp > 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('block');
}
if (_root.player3.hp <= 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('die');
}
_root.player2.ki += 2;
_root.engage.gotoAndPlay('stance');
}
frame 396 {
if (_root.player == 'ken' and _root.range == 'long') {
action = 5;
}
if (_root.player == 'ken' and _root.range == 'medium') {
action = 5;
}
if (_root.player == 'ken' and _root.range == 'short') {
action = 6;
}
if (_root.player == 'ryu' and _root.range2 == 'long') {
action = 5;
}
if (_root.player == 'ryu' and _root.range2 == 'medium') {
action = 5;
}
if (_root.player == 'ryu' and _root.range2 == 'short') {
action = 6;
}
}
frame 401 {
stop();
if (action <= 0) {
gotoAndPlay('chuend');
}
if (_root.player == 'ryu' and _root.range2 == 'short' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('chusb');
}
if (_root.player == 'ryu' and _root.range2 == 'medium' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('chusa');
}
if (_root.player == 'ryu' and _root.range2 == 'long' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('chusa');
}
if (_root.player == 'ken' and _root.range == 'short' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('chusb');
}
if (_root.player == 'ken' and _root.range == 'medium' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('chusa');
}
if (_root.player == 'ken' and _root.range == 'long' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('chusa');
}
if (_root.player2.ki < 6 and action > 0) {
randomnum = Math.round(Math.random() * 7) + 1;
if (randomnum <= 2) {
gotoAndPlay('chua');
}
if (randomnum == 3) {
gotoAndPlay('chub');
}
if (randomnum == 4) {
gotoAndPlay('chuc');
}
if (randomnum == 5) {
gotoAndPlay('chud');
}
if (randomnum == 6) {
gotoAndPlay('chue');
}
if (randomnum >= 7) {
gotoAndPlay('chuf');
}
}
}
frame 407 {
_root.engage.special = true;
power = 1;
}
frame 427 {
_root.engage.special = false;
}
frame 436 {
action -= 1;
gotoAndPlay('chustance');
}
frame 441 {
_root.engage.special = true;
power = 1;
}
frame 461 {
_root.engage.special = false;
}
frame 470 {
action -= 1;
gotoAndPlay('chustance');
}
frame 476 {
_root.engage.special = true;
power = 1;
}
frame 496 {
_root.engage.special = false;
}
frame 506 {
action -= 1;
gotoAndPlay('chustance');
}
frame 512 {
_root.engage.special = true;
power = 1;
}
frame 532 {
_root.engage.special = false;
}
frame 546 {
action -= 1;
gotoAndPlay('chustance');
}
frame 552 {
_root.engage.special = true;
power = 1;
}
frame 572 {
_root.engage.special = false;
}
frame 583 {
action -= 1;
gotoAndPlay('chustance');
}
frame 591 {
_root.engage.special = true;
power = 1;
}
frame 611 {
_root.engage.special = false;
}
frame 620 {
action -= 1;
gotoAndPlay('chustance');
}
frame 622 {
_root.engage.special = true;
}
frame 644 {
_root.engage.special = false;
}
frame 657 {
_root.engage.special = true;
power = 6;
}
frame 677 {
_root.engage.special = false;
}
frame 726 {
action -= 1;
_root.player2.ki -= 6;
gotoAndPlay('chustance');
}
frame 728 {
_root.engage.special = true;
}
frame 750 {
_root.engage.special = false;
}
frame 752 {
_root.engage.special = true;
power = 3;
}
frame 772 {
_root.engage.special = false;
}
frame 776 {
_root.engage.special = true;
power = 3;
}
frame 796 {
_root.engage.special = false;
}
frame 800 {
_root.engage.special = true;
power = 3;
}
frame 820 {
_root.engage.special = false;
}
frame 824 {
action -= 1;
_root.player2.ki -= 6;
gotoAndPlay('chustance');
}
frame 832 {
stop();
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player1.hp > 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player1.hp > 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('block');
}
if (_root.player1.hp <= 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('die');
}
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player3.hp > 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player3.hp > 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('block');
}
if (_root.player3.hp <= 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('die');
}
_root.player2.ki += 2;
_root.engage.gotoAndPlay('stance');
}
frame 842 {
if (_root.player == 'ken' and _root.range == 'long') {
action = 3;
}
if (_root.player == 'ken' and _root.range == 'medium') {
action = 4;
}
if (_root.player == 'ken' and _root.range == 'short') {
action = 5;
}
if (_root.player == 'ryu' and _root.range2 == 'long') {
action = 3;
}
if (_root.player == 'ryu' and _root.range2 == 'medium') {
action = 4;
}
if (_root.player == 'ryu' and _root.range2 == 'short') {
action = 5;
}
}
frame 847 {
stop();
if (action <= 0) {
gotoAndPlay('adoend');
}
if (_root.player == 'ryu' and _root.range2 == 'short' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('adosb');
}
if (_root.player == 'ryu' and _root.range2 == 'medium' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('adosa');
}
if (_root.player == 'ryu' and _root.range2 == 'long' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('adosa');
}
if (_root.player == 'ken' and _root.range == 'short' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('adosb');
}
if (_root.player == 'ken' and _root.range == 'medium' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('adosa');
}
if (_root.player == 'ken' and _root.range == 'long' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('adosa');
}
if (_root.player2.ki < 6 and action > 0) {
randomnum = Math.round(Math.random() * 7) + 1;
if (randomnum <= 2) {
gotoAndPlay('adoa');
}
if (randomnum == 3) {
gotoAndPlay('adob');
}
if (randomnum == 4) {
gotoAndPlay('adoc');
}
if (randomnum == 5) {
gotoAndPlay('adod');
}
if (randomnum == 6) {
gotoAndPlay('adoe');
}
if (randomnum >= 7) {
gotoAndPlay('adof');
}
}
}
frame 851 {
_root.engage.special = true;
power = 1;
}
frame 871 {
_root.engage.special = false;
}
frame 876 {
action -= 1;
gotoAndPlay('adostance');
}
frame 881 {
_root.engage.special = true;
power = 1;
}
frame 901 {
_root.engage.special = false;
}
frame 908 {
action -= 1;
gotoAndPlay('adostance');
}
frame 913 {
_root.engage.special = true;
power = 1;
}
frame 933 {
_root.engage.special = false;
}
frame 938 {
action -= 1;
gotoAndPlay('adostance');
}
frame 943 {
_root.engage.special = true;
power = 2;
}
frame 963 {
_root.engage.special = false;
}
frame 972 {
action -= 1;
gotoAndPlay('adostance');
}
frame 979 {
_root.engage.special = true;
power = 2;
}
frame 999 {
_root.engage.special = false;
}
frame 1006 {
action -= 1;
gotoAndPlay('adostance');
}
frame 1013 {
_root.engage.special = true;
power = 2;
}
frame 1033 {
_root.engage.special = false;
}
frame 1039 {
action -= 1;
gotoAndPlay('adostance');
}
frame 1041 {
_root.engage.special = true;
}
frame 1063 {
_root.engage.special = false;
}
frame 1067 {
_root.engage.special = true;
power = 3;
}
frame 1087 {
_root.engage.special = false;
}
frame 1095 {
_root.engage.special = true;
power = 3;
}
frame 1115 {
_root.engage.special = false;
}
frame 1137 {
action -= 1;
_root.player2.ki -= 6;
gotoAndPlay('adostance');
}
frame 1139 {
_root.engage.special = true;
}
frame 1161 {
_root.engage.special = false;
}
frame 1173 {
_root.engage.special = true;
power = 3;
}
frame 1193 {
_root.engage.special = false;
}
frame 1196 {
_root.engage.special = true;
power = 3;
}
frame 1216 {
_root.engage.special = false;
}
frame 1219 {
_root.engage.special = true;
power = 3;
}
frame 1239 {
_root.engage.special = false;
}
frame 1245 {
action -= 1;
_root.player2.ki -= 6;
gotoAndPlay('adostance');
}
frame 1253 {
stop();
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player1.hp > 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player1.hp > 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('block');
}
if (_root.player1.hp <= 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('die');
}
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player3.hp > 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player3.hp > 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('block');
}
if (_root.player3.hp <= 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('die');
}
_root.player2.ki += 2;
_root.engage.gotoAndPlay('stance');
}
frame 1264 {
if (_root.player == 'ken' and _root.range == 'long') {
action = 3;
}
if (_root.player == 'ken' and _root.range == 'medium') {
action = 4;
}
if (_root.player == 'ken' and _root.range == 'short') {
action = 5;
}
if (_root.player == 'ryu' and _root.range2 == 'long') {
action = 3;
}
if (_root.player == 'ryu' and _root.range2 == 'medium') {
action = 4;
}
if (_root.player == 'ryu' and _root.range2 == 'short') {
action = 5;
}
}
frame 1269 {
stop();
if (action <= 0) {
gotoAndPlay('sagend');
}
if (_root.player == 'ryu' and _root.range2 == 'short' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('sagsb');
}
if (_root.player == 'ryu' and _root.range2 == 'medium' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('sagsb');
}
if (_root.player == 'ryu' and _root.range2 == 'long' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('sagsa');
}
if (_root.player == 'ken' and _root.range == 'short' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('sagsb');
}
if (_root.player == 'ken' and _root.range == 'medium' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('sagsb');
}
if (_root.player == 'ken' and _root.range == 'long' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('sagsa');
}
if (_root.player2.ki < 6 and action > 0) {
randomnum = Math.round(Math.random() * 7) + 1;
if (randomnum <= 2) {
gotoAndPlay('saga');
}
if (randomnum == 3) {
gotoAndPlay('sagb');
}
if (randomnum == 4) {
gotoAndPlay('sagc');
}
if (randomnum == 5) {
gotoAndPlay('sagd');
}
if (randomnum == 6) {
gotoAndPlay('sage');
}
if (randomnum >= 7) {
gotoAndPlay('sagf');
}
}
}
frame 1273 {
_root.engage.special = true;
power = 2;
}
frame 1293 {
_root.engage.special = false;
}
frame 1303 {
action -= 1;
gotoAndPlay('sagstance');
}
frame 1307 {
_root.engage.special = true;
power = 2;
}
frame 1327 {
_root.engage.special = false;
}
frame 1335 {
action -= 1;
gotoAndPlay('sagstance');
}
frame 1341 {
_root.engage.special = true;
power = 2;
}
frame 1361 {
_root.engage.special = false;
}
frame 1369 {
action -= 1;
gotoAndPlay('sagstance');
}
frame 1375 {
_root.engage.special = true;
power = 2;
}
frame 1395 {
_root.engage.special = false;
}
frame 1404 {
action -= 1;
gotoAndPlay('sagstance');
}
frame 1410 {
_root.engage.special = true;
power = 2;
}
frame 1430 {
_root.engage.special = false;
}
frame 1439 {
action -= 1;
gotoAndPlay('sagstance');
}
frame 1444 {
_root.engage.special = true;
power = 2;
}
frame 1464 {
_root.engage.special = false;
}
frame 1469 {
action -= 1;
gotoAndPlay('sagstance');
}
frame 1471 {
_root.engage.special = true;
}
frame 1493 {
_root.engage.special = false;
}
frame 1497 {
_root.engage.special = true;
power = 5;
}
frame 1517 {
_root.engage.special = false;
}
frame 1530 {
_root.engage.special = true;
power = 5;
}
frame 1550 {
_root.engage.special = false;
}
frame 1559 {
action -= 1;
_root.player2.ki -= 6;
gotoAndPlay('sagstance');
}
frame 1561 {
_root.engage.special = true;
}
frame 1583 {
_root.engage.special = false;
}
frame 1589 {
_root.engage.special = true;
power = 3;
}
frame 1609 {
_root.engage.special = false;
}
frame 1617 {
_root.engage.special = true;
power = 12;
}
frame 1637 {
_root.engage.special = false;
}
frame 1666 {
action -= 2;
_root.player2.ki -= 6;
gotoAndPlay('sagstance');
}
frame 1673 {
stop();
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player1.hp > 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player1.hp > 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('block');
}
if (_root.player1.hp <= 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('die');
}
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player3.hp > 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player3.hp > 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('block');
}
if (_root.player3.hp <= 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('die');
}
_root.player2.ki += 2;
_root.engage.gotoAndPlay('stance');
}
frame 1682 {
if (_root.player == 'ken' and _root.range == 'long') {
action = 3;
}
if (_root.player == 'ken' and _root.range == 'medium') {
action = 4;
}
if (_root.player == 'ken' and _root.range == 'short') {
action = 5;
}
if (_root.player == 'ryu' and _root.range2 == 'long') {
action = 3;
}
if (_root.player == 'ryu' and _root.range2 == 'medium') {
action = 4;
}
if (_root.player == 'ryu' and _root.range2 == 'short') {
action = 5;
}
}
frame 1687 {
stop();
if (action <= 0) {
gotoAndPlay('deeend');
}
if (_root.player == 'ryu' and _root.range2 == 'short' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('deesa');
}
if (_root.player == 'ryu' and _root.range2 == 'medium' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('deesa');
}
if (_root.player == 'ryu' and _root.range2 == 'long' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('deesa');
}
if (_root.player == 'ken' and _root.range == 'short' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('deesa');
}
if (_root.player == 'ken' and _root.range == 'medium' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('deesa');
}
if (_root.player == 'ken' and _root.range == 'long' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('deesa');
}
if (_root.player2.ki < 6 and action > 0) {
randomnum = Math.round(Math.random() * 7) + 1;
if (randomnum <= 2) {
gotoAndPlay('deea');
}
if (randomnum == 3) {
gotoAndPlay('deeb');
}
if (randomnum == 4) {
gotoAndPlay('deec');
}
if (randomnum == 5) {
gotoAndPlay('deed');
}
if (randomnum == 6) {
gotoAndPlay('deee');
}
if (randomnum >= 7) {
gotoAndPlay('deef');
}
}
}
frame 1691 {
_root.engage.special = true;
power = 1;
}
frame 1711 {
_root.engage.special = false;
}
frame 1715 {
action -= 1;
gotoAndPlay('deestance');
}
frame 1717 {
_root.engage.special = true;
power = 1;
}
frame 1737 {
_root.engage.special = false;
}
frame 1741 {
action -= 1;
gotoAndPlay('deestance');
}
frame 1747 {
_root.engage.special = true;
power = 1;
}
frame 1767 {
_root.engage.special = false;
}
frame 1775 {
action -= 1;
gotoAndPlay('deestance');
}
frame 1779 {
_root.engage.special = true;
power = 1;
}
frame 1799 {
_root.engage.special = false;
}
frame 1803 {
action -= 1;
gotoAndPlay('deestance');
}
frame 1807 {
_root.engage.special = true;
power = 1;
}
frame 1827 {
_root.engage.special = false;
}
frame 1831 {
action -= 1;
gotoAndPlay('deestance');
}
frame 1837 {
_root.engage.special = true;
power = 1;
}
frame 1857 {
_root.engage.special = false;
}
frame 1865 {
action -= 1;
gotoAndPlay('deestance');
}
frame 1888 {
_root.engage.special = false;
}
frame 1902 {
_root.engage.special = true;
power = 3;
}
frame 1922 {
_root.engage.special = false;
}
frame 1933 {
_root.engage.special = true;
power = 3;
}
frame 1953 {
_root.engage.special = false;
}
frame 1979 {
action -= 2;
_root.player2.ki -= 6;
gotoAndPlay('deestance');
}
frame 1987 {
stop();
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player1.hp > 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player1.hp > 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('block');
}
if (_root.player1.hp <= 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('die');
}
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player3.hp > 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player3.hp > 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('block');
}
if (_root.player3.hp <= 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('die');
}
_root.player2.ki += 2;
_root.engage.gotoAndPlay('stance');
}
frame 1998 {
if (_root.player == 'ken' and _root.range == 'long') {
action = 3;
}
if (_root.player == 'ken' and _root.range == 'medium') {
action = 4;
}
if (_root.player == 'ken' and _root.range == 'short') {
action = 5;
}
if (_root.player == 'ryu' and _root.range2 == 'long') {
action = 3;
}
if (_root.player == 'ryu' and _root.range2 == 'medium') {
action = 4;
}
if (_root.player == 'ryu' and _root.range2 == 'short') {
action = 5;
}
}
frame 2003 {
stop();
if (action <= 0) {
gotoAndPlay('zanend');
}
if (_root.player == 'ryu' and _root.range2 == 'short' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('zansb');
}
if (_root.player == 'ryu' and _root.range2 == 'medium' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('zansa');
}
if (_root.player == 'ryu' and _root.range2 == 'long' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('zansa');
}
if (_root.player == 'ken' and _root.range == 'short' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('zansb');
}
if (_root.player == 'ken' and _root.range == 'medium' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('zansa');
}
if (_root.player == 'ken' and _root.range == 'long' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('zansa');
}
if (_root.player2.ki < 6 and action > 0) {
randomnum = Math.round(Math.random() * 7) + 1;
if (randomnum <= 2) {
gotoAndPlay('zana');
}
if (randomnum == 3) {
gotoAndPlay('zanb');
}
if (randomnum == 4) {
gotoAndPlay('zanc');
}
if (randomnum == 5) {
gotoAndPlay('zand');
}
if (randomnum == 6) {
gotoAndPlay('zane');
}
if (randomnum >= 7) {
gotoAndPlay('zanf');
}
}
}
frame 2007 {
_root.engage.special = true;
power = 1;
}
frame 2027 {
_root.engage.special = false;
}
frame 2036 {
action -= 1;
gotoAndPlay('zanstance');
}
frame 2043 {
_root.engage.special = true;
power = 1;
}
frame 2063 {
_root.engage.special = false;
}
frame 2068 {
action -= 1;
gotoAndPlay('zanstance');
}
frame 2073 {
_root.engage.special = true;
power = 2;
}
frame 2093 {
_root.engage.special = false;
}
frame 2095 {
action -= 1;
gotoAndPlay('zanstance');
}
frame 2101 {
_root.engage.special = true;
power = 2;
}
frame 2121 {
_root.engage.special = false;
}
frame 2127 {
action -= 1;
gotoAndPlay('zanstance');
}
frame 2131 {
_root.engage.special = true;
power = 1;
}
frame 2151 {
_root.engage.special = false;
}
frame 2156 {
action -= 1;
gotoAndPlay('zanstance');
}
frame 2161 {
_root.engage.special = true;
power = 2;
}
frame 2181 {
_root.engage.special = false;
}
frame 2187 {
action -= 1;
gotoAndPlay('zanstance');
}
frame 2188 {
_root.engage.special = true;
}
frame 2211 {
_root.engage.special = false;
}
frame 2214 {
_root.engage.special = true;
power = 3;
}
frame 2234 {
_root.engage.special = false;
}
frame 2243 {
_root.engage.special = true;
power = 3;
}
frame 2263 {
_root.engage.special = false;
}
frame 2269 {
action -= 1;
_root.player2.ki -= 6;
gotoAndPlay('zanstance');
}
frame 2270 {
_root.engage.special = true;
}
frame 2293 {
_root.engage.special = false;
}
frame 2302 {
_root.engage.special = true;
power = 9;
}
frame 2322 {
_root.engage.special = false;
}
frame 2355 {
action -= 1;
_root.player2.ki -= 6;
gotoAndPlay('zanstance');
}
frame 2363 {
stop();
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player1.hp > 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player1.hp > 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('block');
}
if (_root.player1.hp <= 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('die');
}
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player3.hp > 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player3.hp > 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('block');
}
if (_root.player3.hp <= 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('die');
}
_root.player2.ki += 2;
_root.engage.gotoAndPlay('stance');
}
frame 2374 {
if (_root.player == 'ken' and _root.range == 'long') {
action = 3;
}
if (_root.player == 'ken' and _root.range == 'medium') {
action = 4;
}
if (_root.player == 'ken' and _root.range == 'short') {
action = 5;
}
if (_root.player == 'ryu' and _root.range2 == 'long') {
action = 3;
}
if (_root.player == 'ryu' and _root.range2 == 'medium') {
action = 4;
}
if (_root.player == 'ryu' and _root.range2 == 'short') {
action = 5;
}
}
frame 2379 {
stop();
if (action <= 0) {
gotoAndPlay('guiend');
}
if (_root.player == 'ryu' and _root.range2 == 'short' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('guisb');
}
if (_root.player == 'ryu' and _root.range2 == 'medium' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('guisb');
}
if (_root.player == 'ryu' and _root.range2 == 'long' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('guisa');
}
if (_root.player == 'ken' and _root.range == 'short' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('guisb');
}
if (_root.player == 'ken' and _root.range == 'medium' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('guisb');
}
if (_root.player == 'ken' and _root.range == 'long' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('guisa');
}
if (_root.player2.ki < 6 and action > 0) {
randomnum = Math.round(Math.random() * 7) + 1;
if (randomnum <= 2) {
gotoAndPlay('guia');
}
if (randomnum == 3) {
gotoAndPlay('guib');
}
if (randomnum == 4) {
gotoAndPlay('guic');
}
if (randomnum == 5) {
gotoAndPlay('guid');
}
if (randomnum == 6) {
gotoAndPlay('guie');
}
if (randomnum >= 7) {
gotoAndPlay('guif');
}
}
}
frame 2383 {
_root.engage.special = true;
power = 1;
}
frame 2403 {
_root.engage.special = false;
}
frame 2413 {
action -= 1;
gotoAndPlay('guistance');
}
frame 2417 {
_root.engage.special = true;
power = 1;
}
frame 2437 {
_root.engage.special = false;
}
frame 2445 {
action -= 1;
gotoAndPlay('guistance');
}
frame 2449 {
_root.engage.special = true;
power = 1;
}
frame 2469 {
_root.engage.special = false;
}
frame 2475 {
action -= 1;
gotoAndPlay('guistance');
}
frame 2481 {
_root.engage.special = true;
power = 2;
}
frame 2501 {
_root.engage.special = false;
}
frame 2511 {
action -= 1;
gotoAndPlay('guistance');
}
frame 2527 {
_root.engage.special = true;
power = 2;
}
frame 2547 {
_root.engage.special = false;
}
frame 2561 {
action -= 1;
gotoAndPlay('guistance');
}
frame 2565 {
_root.engage.special = true;
power = 1;
}
frame 2585 {
_root.engage.special = false;
}
frame 2597 {
_root.engage.special = true;
power = 1;
}
frame 2617 {
_root.engage.special = false;
}
frame 2625 {
action -= 1;
gotoAndPlay('guistance');
}
frame 2626 {
_root.engage.special = true;
}
frame 2649 {
_root.engage.special = false;
}
frame 2663 {
_root.engage.special = true;
power = 1;
}
frame 2683 {
_root.engage.special = false;
}
frame 2686 {
_root.engage.special = true;
power = 5;
}
frame 2706 {
_root.engage.special = false;
}
frame 2736 {
action -= 1;
_root.player2.ki -= 6;
gotoAndPlay('guistance');
}
frame 2737 {
_root.engage.special = true;
}
frame 2760 {
_root.engage.special = false;
}
frame 2770 {
_root.engage.special = true;
power = 10;
}
frame 2790 {
_root.engage.special = false;
}
frame 2815 {
action -= 1;
_root.player2.ki -= 6;
gotoAndPlay('guistance');
}
frame 2822 {
stop();
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player1.hp > 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player1.hp > 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('block');
}
if (_root.player1.hp <= 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('die');
}
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player3.hp > 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player3.hp > 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('block');
}
if (_root.player3.hp <= 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('die');
}
_root.player2.ki += 2;
_root.engage.gotoAndPlay('stance');
}
frame 2832 {
if (_root.player == 'ken' and _root.range == 'long') {
action = 3;
}
if (_root.player == 'ken' and _root.range == 'medium') {
action = 4;
}
if (_root.player == 'ken' and _root.range == 'short') {
action = 5;
}
if (_root.player == 'ryu' and _root.range2 == 'long') {
action = 3;
}
if (_root.player == 'ryu' and _root.range2 == 'medium') {
action = 4;
}
if (_root.player == 'ryu' and _root.range2 == 'short') {
action = 5;
}
}
frame 2837 {
stop();
if (action <= 0) {
gotoAndPlay('vegend');
}
if (_root.player == 'ryu' and _root.range2 == 'short' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('vegsb');
}
if (_root.player == 'ryu' and _root.range2 == 'medium' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('vegsa');
}
if (_root.player == 'ryu' and _root.range2 == 'long' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('vegsa');
}
if (_root.player == 'ken' and _root.range == 'short' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('vegsb');
}
if (_root.player == 'ken' and _root.range == 'medium' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('vegsa');
}
if (_root.player == 'ken' and _root.range == 'long' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('vegsa');
}
if (_root.player2.ki < 6 and action > 0) {
randomnum = Math.round(Math.random() * 7) + 1;
if (randomnum <= 2) {
gotoAndPlay('vega');
}
if (randomnum == 3) {
gotoAndPlay('vegb');
}
if (randomnum == 4) {
gotoAndPlay('vegc');
}
if (randomnum == 5) {
gotoAndPlay('vegd');
}
if (randomnum == 6) {
gotoAndPlay('vege');
}
if (randomnum >= 7) {
gotoAndPlay('vegf');
}
}
}
frame 2843 {
_root.engage.special = true;
power = 2;
}
frame 2863 {
_root.engage.special = false;
}
frame 2873 {
action -= 1;
gotoAndPlay('vegstance');
}
frame 2877 {
_root.engage.special = true;
power = 2;
}
frame 2897 {
_root.engage.special = false;
}
frame 2905 {
action -= 1;
gotoAndPlay('vegstance');
}
frame 2909 {
_root.engage.special = true;
power = 2;
}
frame 2929 {
_root.engage.special = false;
}
frame 2939 {
action -= 1;
gotoAndPlay('vegstance');
}
frame 2945 {
_root.engage.special = true;
power = 2;
}
frame 2965 {
_root.engage.special = false;
}
frame 2973 {
action -= 1;
gotoAndPlay('vegstance');
}
frame 2987 {
_root.engage.special = true;
power = 2;
}
frame 3007 {
_root.engage.special = false;
}
frame 3018 {
action -= 1;
gotoAndPlay('vegstance');
}
frame 3049 {
_root.engage.special = true;
power = 2;
}
frame 3069 {
_root.engage.special = false;
}
frame 3115 {
action -= 1;
gotoAndPlay('vegstance');
}
frame 3116 {
_root.engage.special = true;
}
frame 3139 {
_root.engage.special = false;
}
frame 3198 {
_root.engage.special = true;
power = 7;
}
frame 3218 {
_root.engage.special = false;
}
frame 3242 {
action -= 1;
_root.player2.ki -= 6;
gotoAndPlay('vegstance');
}
frame 3243 {
_root.engage.special = true;
}
frame 3266 {
_root.engage.special = false;
}
frame 3274 {
_root.engage.special = true;
power = 4;
}
frame 3294 {
_root.engage.special = false;
}
frame 3321 {
_root.engage.special = true;
power = 4;
}
frame 3341 {
_root.engage.special = false;
}
frame 3367 {
_root.engage.special = true;
power = 4;
}
frame 3387 {
_root.engage.special = false;
}
frame 3418 {
action -= 1;
_root.player2.ki -= 6;
gotoAndPlay('vegstance');
}
frame 3426 {
stop();
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player1.hp > 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player1.hp > 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('block');
}
if (_root.player1.hp <= 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('die');
}
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player3.hp > 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player3.hp > 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('block');
}
if (_root.player3.hp <= 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('die');
}
_root.player2.ki += 2;
_root.engage.gotoAndPlay('stance');
}
}
movieClip 8277 {
frame 7 {
stop();
special = false;
direzione = 'no';
someListener = new Object();
someListener.onKeyDown = function () {
if (Key.isDown(38) and special == true) {
direzione = 'alta';
} else {
if (Key.isDown(39) and special == true) {
direzione = 'media';
} else {
if (Key.isDown(40) and special == true) {
direzione = 'bassa';
}
}
}
};
Key.addListener(someListener);
}
frame 8 {
stop();
if (_root.player == 'ken' and _root.turn == 2) {
gotoAndPlay('ken');
}
if (_root.player == 'ryu' and _root.turn == 2) {
gotoAndPlay('ryu');
}
if (_root.turn == 4) {
gotoAndPlay('enemy');
}
}
frame 22 {
stop();
kiusata = 0;
attack.onRelease = function () {
if (action >= 1) {
gotoAndPlay('kenattack');
totaldanno = 0;
totaldannofocus = 0;
}
};
beck.onRelease = function () {
_root.player1.ki += kiusata;
_root.engage.gotoAndPlay('stance');
_root.dannomenu.gotoAndPlay('choose');
};
if (_root.range == 'short') {
_root.player1.ap = _root.player1.maxap;
} else {
if (_root.range == 'medium') {
_root.player1.ap = 6;
} else {
if (_root.range == 'long') {
_root.player1.ap = 4;
}
}
}
action = 0;
action1 = 'no';
action2 = 'no';
action3 = 'no';
action4 = 'no';
}
instance of movieClip 1855 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.range == 'no') {
gotoAndPlay('no');
}
if (_root.range == 'long') {
gotoAndPlay('long');
}
if (_root.range == 'medium') {
gotoAndPlay('medium');
}
if (_root.range == 'short') {
gotoAndPlay('short');
}
}
if (_root.player == 'ryu') {
if (_root.range2 == 'no') {
gotoAndPlay('no');
}
if (_root.range2 == 'long') {
gotoAndPlay('long');
}
if (_root.range2 == 'medium') {
gotoAndPlay('medium');
}
if (_root.range2 == 'short') {
gotoAndPlay('short');
}
}
}
}
instance of movieClip 1909 {
onClipEvent (enterFrame) {
if (_root.engage.action1 == 'no') {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1911 {
onClipEvent (enterFrame) {
if (_root.engage.action2 == 'no') {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1913 {
onClipEvent (enterFrame) {
if (_root.engage.action3 == 'no') {
this._visible = false;
} else {
this._visible = true;
}
}
}
frame 36 {
stop();
kiusata = 0;
attack.onRelease = function () {
if (action >= 1) {
gotoAndPlay('ryuattack');
totaldanno = 0;
totaldannofocus = 0;
}
};
beck.onRelease = function () {
_root.player3.ki += kiusata;
_root.dannomenu.gotoAndPlay('choose');
_root.engage.gotoAndPlay('stance');
};
if (_root.range2 == 'short') {
_root.player3.ap = _root.player3.maxap;
} else {
if (_root.range2 == 'medium') {
_root.player3.ap = 5;
} else {
if (_root.range2 == 'long') {
_root.player3.ap = 3;
}
}
}
action = 0;
action1 = 'no';
action2 = 'no';
action3 = 'no';
action4 = 'no';
}
instance bar of movieClip 1906 {
onClipEvent (enterFrame) {
this._width = (_root.player3.ap / _root.player3.maxap) * 700;
}
}
instance of movieClip 1855 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.range == 'no') {
gotoAndPlay('no');
}
if (_root.range == 'long') {
gotoAndPlay('long');
}
if (_root.range == 'medium') {
gotoAndPlay('medium');
}
if (_root.range == 'short') {
gotoAndPlay('short');
}
}
if (_root.player == 'ryu') {
if (_root.range2 == 'no') {
gotoAndPlay('no');
}
if (_root.range2 == 'long') {
gotoAndPlay('long');
}
if (_root.range2 == 'medium') {
gotoAndPlay('medium');
}
if (_root.range2 == 'short') {
gotoAndPlay('short');
}
}
}
}
instance of movieClip 1909 {
onClipEvent (enterFrame) {
if (_root.engage.action1 == 'no') {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1911 {
onClipEvent (enterFrame) {
if (_root.engage.action2 == 'no') {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1913 {
onClipEvent (enterFrame) {
if (_root.engage.action3 == 'no') {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance sfondo of movieClip 5498 {
onClipEvent (enterFrame) {
if (_root.engage.special == true) {
gotoAndPlay('special');
} else {
gotoAndPlay('stance');
}
}
}
instance enemydefend of movieClip 6892 {
onClipEvent (enterFrame) {
if (_root.player2.stun == false and _root.engage.player.success == true) {
if (_root.engage.player.highhit.hitTest(this) and _root.level == 7) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('sakblockalto');
} else {
gotoAndPlay('sakhitalto');
}
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 7) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('sakblockmedio');
} else {
gotoAndPlay('sakhitmedio');
}
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 7) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('sakblockbasso');
} else {
gotoAndPlay('sakhitbasso');
}
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 8) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('chublockalto');
} else {
gotoAndPlay('chuhitalto');
}
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 8) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('chublockmedio');
} else {
gotoAndPlay('chuhitmedio');
}
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 8) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('chublockbasso');
} else {
gotoAndPlay('chuhitbasso');
}
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 9) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('adoblockalto');
} else {
gotoAndPlay('adohitalto');
}
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 9) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('adoblockmedio');
} else {
gotoAndPlay('adohitmedio');
}
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 9) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('adoblockbasso');
} else {
gotoAndPlay('adohitbasso');
}
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 10) {
gotoAndPlay('sagblockalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 10) {
gotoAndPlay('sagblockmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 10) {
gotoAndPlay('sagblockbasso');
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 11) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('deeblockalto');
} else {
gotoAndPlay('deehitalto');
}
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 11) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('deeblockmedio');
} else {
gotoAndPlay('deehitmedio');
}
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 11) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('deeblockbasso');
} else {
gotoAndPlay('deehitbasso');
}
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 12) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('zanblockalto');
} else {
gotoAndPlay('zanhitalto');
}
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 12) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('zanblockmedio');
} else {
gotoAndPlay('zanhitmedio');
}
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 12) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('zanblockbasso');
} else {
gotoAndPlay('zanhitbasso');
}
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 13) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('guiblockalto');
} else {
gotoAndPlay('guihitalto');
}
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 13) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('guiblockmedio');
} else {
gotoAndPlay('guihitmedio');
}
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 13) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('guiblockbasso');
} else {
gotoAndPlay('guihitbasso');
}
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 14) {
gotoAndPlay('vegblockalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 14) {
gotoAndPlay('vegblockmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 14) {
gotoAndPlay('vegblockbasso');
}
} else {
if (_root.player2.stun == false and _root.engage.player.success == false) {
if ((_root.engage.player.highhit.hitTest(this) or _root.engage.player.midhit.hitTest(this) or _root.engage.player.lowhit.hitTest(this)) and _root.level == 7) {
gotoAndPlay('sakevade');
}
if ((_root.engage.player.highhit.hitTest(this) or _root.engage.player.midhit.hitTest(this) or _root.engage.player.lowhit.hitTest(this)) and _root.level == 8) {
gotoAndPlay('chuevade');
}
if ((_root.engage.player.highhit.hitTest(this) or _root.engage.player.midhit.hitTest(this) or _root.engage.player.lowhit.hitTest(this)) and _root.level == 9) {
gotoAndPlay('adoevade');
}
if ((_root.engage.player.highhit.hitTest(this) or _root.engage.player.midhit.hitTest(this) or _root.engage.player.lowhit.hitTest(this)) and _root.level == 10) {
gotoAndPlay('sagevade');
}
if ((_root.engage.player.highhit.hitTest(this) or _root.engage.player.midhit.hitTest(this) or _root.engage.player.lowhit.hitTest(this)) and _root.level == 11) {
gotoAndPlay('deeevade');
}
if ((_root.engage.player.highhit.hitTest(this) or _root.engage.player.midhit.hitTest(this) or _root.engage.player.lowhit.hitTest(this)) and _root.level == 12) {
gotoAndPlay('zanevade');
}
if ((_root.engage.player.highhit.hitTest(this) or _root.engage.player.midhit.hitTest(this) or _root.engage.player.lowhit.hitTest(this)) and _root.level == 13) {
gotoAndPlay('guievade');
}
if ((_root.engage.player.highhit.hitTest(this) or _root.engage.player.midhit.hitTest(this) or _root.engage.player.lowhit.hitTest(this)) and _root.level == 14) {
gotoAndPlay('vegevade');
}
} else {
if (_root.player2.stun == true) {
if (_root.engage.player.highhit.hitTest(this) and _root.level == 7) {
gotoAndPlay('sakhitalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 7) {
gotoAndPlay('sakhitmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 7) {
gotoAndPlay('sakhitbasso');
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 8) {
gotoAndPlay('chuhitalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 8) {
gotoAndPlay('chuhitmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 8) {
gotoAndPlay('chuhitbasso');
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 9) {
gotoAndPlay('adohitalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 9) {
gotoAndPlay('adohitmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 9) {
gotoAndPlay('adohitbasso');
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 10) {
gotoAndPlay('saghitalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 10) {
gotoAndPlay('saghitmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 10) {
gotoAndPlay('saghitbasso');
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 11) {
gotoAndPlay('deehitalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 11) {
gotoAndPlay('deehitmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 11) {
gotoAndPlay('deehitbasso');
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 12) {
gotoAndPlay('zanhitalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 12) {
gotoAndPlay('zanhitmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 12) {
gotoAndPlay('zanhitbasso');
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 13) {
gotoAndPlay('guihitalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 13) {
gotoAndPlay('guihitmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 13) {
gotoAndPlay('guihitbasso');
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 14) {
gotoAndPlay('veghitalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 14) {
gotoAndPlay('veghitmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 14) {
gotoAndPlay('veghitbasso');
}
}
}
}
}
}
frame 57 {
stop();
}
instance sfondo of movieClip 5498 {
onClipEvent (enterFrame) {
if (_root.engage.special == true) {
gotoAndPlay('special');
}
if (_root.engage.special == false) {
gotoAndPlay('stance');
}
}
}
instance enemydefend of movieClip 6892 {
onClipEvent (enterFrame) {
if (_root.player2.stun == false and _root.engage.player.success == true) {
if (_root.engage.player.highhit.hitTest(this) and _root.level == 7) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('sakblockalto');
} else {
gotoAndPlay('sakhitalto');
}
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 7) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('sakblockmedio');
} else {
gotoAndPlay('sakhitmedio');
}
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 7) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('sakblockbasso');
} else {
gotoAndPlay('sakhitbasso');
}
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 8) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('chublockalto');
} else {
gotoAndPlay('chuhitalto');
}
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 8) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('chublockmedio');
} else {
gotoAndPlay('chuhitmedio');
}
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 8) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('chublockbasso');
} else {
gotoAndPlay('chuhitbasso');
}
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 9) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('adoblockalto');
} else {
gotoAndPlay('adohitalto');
}
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 9) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('adoblockmedio');
} else {
gotoAndPlay('adohitmedio');
}
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 9) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('adoblockbasso');
} else {
gotoAndPlay('adohitbasso');
}
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 10) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('sagblockalto');
} else {
gotoAndPlay('saghitalto');
}
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 10) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('sagblockmedio');
} else {
gotoAndPlay('saghitmedio');
}
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 10) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('sagblockbasso');
} else {
gotoAndPlay('saghitbasso');
}
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 11) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('deeblockalto');
} else {
gotoAndPlay('deehitalto');
}
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 11) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('deeblockmedio');
} else {
gotoAndPlay('deehitmedio');
}
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 11) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('deeblockbasso');
} else {
gotoAndPlay('deehitbasso');
}
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 12) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('zanblockalto');
} else {
gotoAndPlay('zanhitalto');
}
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 12) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('zanblockmedio');
} else {
gotoAndPlay('zanhitmedio');
}
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 12) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('zanblockbasso');
} else {
gotoAndPlay('zanhitbasso');
}
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 13) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('guiblockalto');
} else {
gotoAndPlay('guihitalto');
}
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 13) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('guiblockmedio');
} else {
gotoAndPlay('guihitmedio');
}
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 13) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('guiblockbasso');
} else {
gotoAndPlay('guihitbasso');
}
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 14) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('vegblockalto');
} else {
gotoAndPlay('veghitalto');
}
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 14) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('vegblockmedio');
} else {
gotoAndPlay('veghitmedio');
}
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 14) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('vegblockbasso');
} else {
gotoAndPlay('veghitbasso');
}
}
} else {
if (_root.player2.stun == false and _root.engage.player.success == false) {
if ((_root.engage.player.highhit.hitTest(this) or _root.engage.player.midhit.hitTest(this) or _root.engage.player.lowhit.hitTest(this)) and _root.level == 7) {
gotoAndPlay('sakevade');
}
if ((_root.engage.player.highhit.hitTest(this) or _root.engage.player.midhit.hitTest(this) or _root.engage.player.lowhit.hitTest(this)) and _root.level == 8) {
gotoAndPlay('chuevade');
}
if ((_root.engage.player.highhit.hitTest(this) or _root.engage.player.midhit.hitTest(this) or _root.engage.player.lowhit.hitTest(this)) and _root.level == 9) {
gotoAndPlay('adoevade');
}
if ((_root.engage.player.highhit.hitTest(this) or _root.engage.player.midhit.hitTest(this) or _root.engage.player.lowhit.hitTest(this)) and _root.level == 10) {
gotoAndPlay('sagevade');
}
if ((_root.engage.player.highhit.hitTest(this) or _root.engage.player.midhit.hitTest(this) or _root.engage.player.lowhit.hitTest(this)) and _root.level == 11) {
gotoAndPlay('deeevade');
}
if ((_root.engage.player.highhit.hitTest(this) or _root.engage.player.midhit.hitTest(this) or _root.engage.player.lowhit.hitTest(this)) and _root.level == 12) {
gotoAndPlay('zanevade');
}
if ((_root.engage.player.highhit.hitTest(this) or _root.engage.player.midhit.hitTest(this) or _root.engage.player.lowhit.hitTest(this)) and _root.level == 13) {
gotoAndPlay('guievade');
}
if ((_root.engage.player.highhit.hitTest(this) or _root.engage.player.midhit.hitTest(this) or _root.engage.player.lowhit.hitTest(this)) and _root.level == 14) {
gotoAndPlay('vegevade');
}
} else {
if (_root.player2.stun == true) {
if (_root.engage.player.highhit.hitTest(this) and _root.level == 7) {
gotoAndPlay('sakhitalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 7) {
gotoAndPlay('sakhitmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 7) {
gotoAndPlay('sakhitbasso');
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 8) {
gotoAndPlay('chuhitalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 8) {
gotoAndPlay('chuhitmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 8) {
gotoAndPlay('chuhitbasso');
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 9) {
gotoAndPlay('adohitalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 9) {
gotoAndPlay('adohitmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 9) {
gotoAndPlay('adohitbasso');
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 10) {
gotoAndPlay('saghitalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 10) {
gotoAndPlay('saghitmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 10) {
gotoAndPlay('saghitbasso');
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 11) {
gotoAndPlay('deehitalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 11) {
gotoAndPlay('deehitmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 11) {
gotoAndPlay('deehitbasso');
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 12) {
gotoAndPlay('zanhitalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 12) {
gotoAndPlay('zanhitmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 12) {
gotoAndPlay('zanhitbasso');
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 13) {
gotoAndPlay('guihitalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 13) {
gotoAndPlay('guihitmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 13) {
gotoAndPlay('guihitbasso');
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 14) {
gotoAndPlay('veghitalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 14) {
gotoAndPlay('veghitmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 14) {
gotoAndPlay('veghitbasso');
}
}
}
}
}
}
frame 78 {
stop();
}
frame 90 {
stop();
totaldanno = 0;
totaldannofocus = 0;
}
instance player of movieClip 5910 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.engage.enemy.highhit.hitTest(this) and _root.engage.direzione == 'alta' and _root.player1.stun == false) {
gotoAndPlay('kenblockalto');
} else {
if (_root.engage.enemy.highhit.hitTest(this) and (_root.engage.direzione != 'alta' or _root.player1.stun == true)) {
gotoAndPlay('kenhitalto');
}
}
if (_root.engage.enemy.midhit.hitTest(this) and _root.engage.direzione == 'media' and _root.player1.stun == false) {
gotoAndPlay('kenblockmedio');
} else {
if (_root.engage.enemy.midhit.hitTest(this) and (_root.engage.direzione != 'media' or _root.player1.stun == true)) {
gotoAndPlay('kenhitmedio');
}
}
if (_root.engage.enemy.lowhit.hitTest(this) and _root.engage.direzione == 'bassa' and _root.player1.stun == false) {
gotoAndPlay('kenblockbasso');
} else {
if (_root.engage.enemy.lowhit.hitTest(this) and (_root.engage.direzione != 'bassa' or _root.player1.stun == true)) {
gotoAndPlay('kenhitbasso');
}
}
}
if (_root.player == 'ryu') {
if (_root.engage.enemy.highhit.hitTest(this) and _root.engage.direzione == 'alta' and _root.player3.stun == false) {
gotoAndPlay('ryublockalto');
} else {
if (_root.engage.enemy.highhit.hitTest(this) and (_root.engage.direzione != 'alta' or _root.player3.stun == true)) {
gotoAndPlay('ryuhitalto');
}
}
if (_root.engage.enemy.midhit.hitTest(this) and _root.engage.direzione == 'media' and _root.player3.stun == false) {
gotoAndPlay('ryublockmedio');
} else {
if (_root.engage.enemy.midhit.hitTest(this) and (_root.engage.direzione != 'media' or _root.player3.stun == true)) {
gotoAndPlay('ryuhitmedio');
}
}
if (_root.engage.enemy.lowhit.hitTest(this) and _root.engage.direzione == 'bassa' and _root.player3.stun == false) {
gotoAndPlay('ryublockbasso');
} else {
if (_root.engage.enemy.lowhit.hitTest(this) and (_root.engage.direzione != 'bassa' or _root.player3.stun == true)) {
gotoAndPlay('ryuhitbasso');
}
}
}
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.players == 1 and _root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.players == 1 and _root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
if (_root.players == 2 and _root.player == 'ken') {
gotoAndPlay('kendoppio');
}
if (_root.players == 2 and _root.player == 'ryu') {
gotoAndPlay('ryudoppio');
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.players == 1 and _root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.players == 1 and _root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
if (_root.players == 2 and _root.player == 'ken') {
gotoAndPlay('kendoppio');
}
if (_root.players == 2 and _root.player == 'ryu') {
gotoAndPlay('ryudoppio');
}
}
}
frame 203 {
stop();
turn = 0;
raunds = 1;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player1.dead == true) {
gotoAndPlay('ko7');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko7');
risultato = 'vinci';
}
if (risultato == 'pari' and player3.dead == true) {
gotoAndPlay('ko7');
risultato = 'perdi';
}
distanza = player2._x - player1._x;
distanza2 = player2._x - player3._x;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
frame 204 {
stop();
raunds = 2;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player1.dead == true) {
gotoAndPlay('ko7');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko7');
risultato = 'vinci';
}
if (risultato == 'pari' and player3.dead == true) {
gotoAndPlay('ko7');
risultato = 'perdi';
}
distanza = player2._x - player1._x;
distanza2 = player2._x - player3._x;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
frame 205 {
stop();
raunds = 2;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player1.dead == true) {
gotoAndPlay('ko7');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko7');
risultato = 'vinci';
}
if (risultato == 'pari' and player3.dead == true) {
gotoAndPlay('ko7');
risultato = 'perdi';
}
distanza = player2._x - player1._x;
distanza2 = player2._x - player3._x;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
frame 206 {
stop();
}
movieClip 8281 {
frame 35 {
stop();
if (_root.risultato == 'vinci' and _root.livello7 == false) {
_root.livello7 = true;
_root.expryu += 1;
_root.levelryu += 1;
_root.gotoAndPlay('postlevel7');
} else {
if (_root.risultato == 'vinci' and _root.livello7 == true) {
_root.gotoAndPlay('postlevel7');
} else {
if (_root.risultato == 'perdi') {
_root.gotoAndPlay('battle');
}
}
}
}
}
frame 207 {
stop();
risultato = 'pari';
players = 1;
player = 'ryu';
level = 8;
enemywin = 0;
playerwin = 0;
range = 'no';
range2 = 'no';
play();
}
instance of movieClip 1855 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.range == 'no') {
gotoAndPlay('no');
}
if (_root.range == 'long') {
gotoAndPlay('long');
}
if (_root.range == 'medium') {
gotoAndPlay('medium');
}
if (_root.range == 'short') {
gotoAndPlay('short');
}
}
if (_root.player == 'ryu') {
if (_root.range2 == 'no') {
gotoAndPlay('no');
}
if (_root.range2 == 'long') {
gotoAndPlay('long');
}
if (_root.range2 == 'medium') {
gotoAndPlay('medium');
}
if (_root.range2 == 'short') {
gotoAndPlay('short');
}
}
}
}
instance of movieClip 6485 {
onClipEvent (enterFrame) {
if (_root.player2.life == 2) {
gotoAndPlay('zero');
} else {
if (_root.player2.life == 1) {
gotoAndPlay('uno');
} else {
if (_root.player2.life == 0) {
gotoAndPlay('due');
}
}
}
}
}
instance of movieClip 6485 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.player1.life == 2) {
gotoAndPlay('zero');
} else {
if (_root.player1.life == 1) {
gotoAndPlay('uno');
} else {
if (_root.player1.life == 0) {
gotoAndPlay('due');
}
}
}
} else {
if (_root.player == 'ryu') {
if (_root.player3.life == 2) {
gotoAndPlay('zero');
} else {
if (_root.player3.life == 1) {
gotoAndPlay('uno');
} else {
if (_root.player3.life == 0) {
gotoAndPlay('due');
}
}
}
}
}
}
}
instance player3 of movieClip 5460 {
onClipEvent (load) {
dead = false;
life = 2;
maxhp = _root.maxhpryu;
hp = maxhp;
maxfocus = _root.maxfocusryu;
focus = maxfocus;
maxap = 7;
ap = 0;
ki = 0;
maxki = 10;
fase = 'wait';
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x -= arretrare;
if (this._x < 0 and _root.player == 'ryu') {
this._x = 0;
}
if (_root.player == 'ken') {
this._x = -100;
}
if (_root.turn == 1 and _root.player == 'ryu') {
gotoAndPlay('move');
_root.turn += 1;
}
if (focus < 0) {
focus = 1;
gotoAndPlay('stun');
}
if (focus > maxfocus) {
focus = maxfocus;
}
if (ki > maxki) {
ki = maxki;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
instance player1 of movieClip 5445 {
onClipEvent (load) {
dead = false;
life = 2;
maxhp = _root.maxhpken;
hp = maxhp;
maxfocus = _root.maxfocusken;
focus = maxfocus;
maxap = 8;
ap = 0;
ki = 0;
maxki = 10;
fase = 'wait';
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
arretrare = 0;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x -= arretrare;
if (this._x < 0 and _root.player == 'ken') {
this._x = 0;
}
if (_root.player == 'ryu') {
this._x = -100;
}
if (_root.turn == 1 and _root.player == 'ken') {
gotoAndPlay('move');
_root.turn += 1;
}
if (focus < 0) {
focus = 1;
gotoAndPlay('stun');
}
if (focus > maxfocus) {
focus = maxfocus;
}
if (ki > maxki) {
ki = maxki;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
movieClip 8302 {
frame 4 {
stop();
stun = false;
}
frame 5 {
stop();
if (focus <= 2 and ki <= 5) {
randomnum1 = Math.round(Math.random() * 10 + 1);
if (randomnum1 <= 5) {
strategia = 'difesa';
}
if (randomnum1 > 5) {
strategia = 'attacco';
}
} else {
strategia = 'attacco';
}
if (strategia == 'difesa' and this._x <= 550) {
gotoAndPlay('wb');
} else {
if (strategia == 'difesa' and this._x > 550) {
gotoAndPlay('choose');
}
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range != 'short') {
gotoAndPlay('wf');
} else {
if (strategia == 'attacco' and _root.player == 'ken' and _root.range == 'short') {
gotoAndPlay('choose');
}
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 != 'short') {
gotoAndPlay('wf');
} else {
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 == 'short') {
gotoAndPlay('choose');
}
}
}
frame 26 {
this._x -= 100;
gotoAndPlay('choose');
}
frame 47 {
this._x += 100;
gotoAndPlay('choose');
}
frame 48 {
stop();
if (strategia == 'difesa') {
gotoAndPlay('focus');
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range != 'no') {
gotoAndPlay('stance');
_root.engage.gotoAndPlay('defend');
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 != 'no') {
gotoAndPlay('stance');
_root.engage.gotoAndPlay('defend');
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range == 'no') {
gotoAndPlay('stance');
_root.turn += 1;
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 == 'no') {
gotoAndPlay('stance');
_root.turn += 1;
}
}
frame 52 {
_root.dannomenu.gotoAndPlay('player2');
arretrare = 4;
this._x = xadesso;
}
frame 62 {
arretrare = 0;
this._x = xadesso + 100;
}
frame 94 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 96 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player2');
arretrare = 6;
}
frame 118 {
arretrare = 0;
this._x = xadesso + 200;
}
frame 144 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 146 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player2');
arretrare = 6;
}
frame 168 {
arretrare = 0;
this._x = xadesso + 200;
_root.playerwin += 1;
}
frame 179 {
stop();
life -= 1;
if (life > 0) {
play();
_root.play();
} else {
if (life <= 0) {
dead = true;
}
}
}
frame 188 {
gotoAndPlay('stance');
}
frame 211 {
percento = maxfocus / 100;
cento = 80 - caricafocus;
if (cento < 50) {
cento = 50;
}
focus = Math.round(percento * cento);
}
frame 214 {
_root.turn += 1;
caricafocus += 20;
gotoAndPlay('stance');
}
}
instance player2 of movieClip 8302 {
onClipEvent (load) {
dead = false;
life = 2;
maxhp = 15;
hp = maxhp;
maxfocus = 15;
focus = maxfocus;
ki = 0;
maxki = 10;
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
arretrare = 0;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x += arretrare;
if (this._x > 650) {
this._x = 650;
}
if (_root.turn == 3) {
_root.turn += 1;
gotoAndPlay('move');
}
if (focus <= 0 and stun == false) {
focus = 1;
stun = true;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.players == 1 and _root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.players == 1 and _root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
if (_root.players == 2 and _root.player == 'ken') {
gotoAndPlay('kendoppio');
}
if (_root.players == 2 and _root.player == 'ryu') {
gotoAndPlay('ryudoppio');
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.players == 1 and _root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.players == 1 and _root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
if (_root.players == 2 and _root.player == 'ken') {
gotoAndPlay('kendoppio');
}
if (_root.players == 2 and _root.player == 'ryu') {
gotoAndPlay('ryudoppio');
}
}
}
frame 223 {
stop();
turn = 0;
raunds = 1;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player1.dead == true) {
gotoAndPlay('ko8');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko8');
risultato = 'vinci';
}
if (risultato == 'pari' and player3.dead == true) {
gotoAndPlay('ko8');
risultato = 'perdi';
}
distanza = player2._x - player1._x;
distanza2 = player2._x - player3._x;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
frame 224 {
stop();
raunds = 2;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player1.dead == true) {
gotoAndPlay('ko8');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko8');
risultato = 'vinci';
}
if (risultato == 'pari' and player3.dead == true) {
gotoAndPlay('ko8');
risultato = 'perdi';
}
distanza = player2._x - player1._x;
distanza2 = player2._x - player3._x;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
frame 225 {
stop();
raunds = 2;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player1.dead == true) {
gotoAndPlay('ko8');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko8');
risultato = 'vinci';
}
if (risultato == 'pari' and player3.dead == true) {
gotoAndPlay('ko8');
risultato = 'perdi';
}
distanza = player2._x - player1._x;
distanza2 = player2._x - player3._x;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
frame 226 {
stop();
}
movieClip 8307 {
frame 35 {
stop();
if (_root.risultato == 'vinci' and _root.livello8 == false) {
_root.livello8 = true;
_root.expryu += 1;
_root.levelryu += 1;
_root.gotoAndPlay('postlevel8');
} else {
if (_root.risultato == 'vinci' and _root.livello8 == true) {
_root.gotoAndPlay('postlevel8');
} else {
if (_root.risultato == 'perdi') {
_root.gotoAndPlay('battle');
}
}
}
}
}
frame 227 {
stop();
risultato = 'pari';
players = 1;
player = 'ryu';
level = 9;
enemywin = 0;
playerwin = 0;
range = 'no';
range2 = 'no';
play();
}
instance of movieClip 1855 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.range == 'no') {
gotoAndPlay('no');
}
if (_root.range == 'long') {
gotoAndPlay('long');
}
if (_root.range == 'medium') {
gotoAndPlay('medium');
}
if (_root.range == 'short') {
gotoAndPlay('short');
}
}
if (_root.player == 'ryu') {
if (_root.range2 == 'no') {
gotoAndPlay('no');
}
if (_root.range2 == 'long') {
gotoAndPlay('long');
}
if (_root.range2 == 'medium') {
gotoAndPlay('medium');
}
if (_root.range2 == 'short') {
gotoAndPlay('short');
}
}
}
}
instance of movieClip 6485 {
onClipEvent (enterFrame) {
if (_root.player2.life == 2) {
gotoAndPlay('zero');
} else {
if (_root.player2.life == 1) {
gotoAndPlay('uno');
} else {
if (_root.player2.life == 0) {
gotoAndPlay('due');
}
}
}
}
}
instance of movieClip 6485 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.player1.life == 2) {
gotoAndPlay('zero');
} else {
if (_root.player1.life == 1) {
gotoAndPlay('uno');
} else {
if (_root.player1.life == 0) {
gotoAndPlay('due');
}
}
}
} else {
if (_root.player == 'ryu') {
if (_root.player3.life == 2) {
gotoAndPlay('zero');
} else {
if (_root.player3.life == 1) {
gotoAndPlay('uno');
} else {
if (_root.player3.life == 0) {
gotoAndPlay('due');
}
}
}
}
}
}
}
instance player3 of movieClip 5460 {
onClipEvent (load) {
dead = false;
life = 2;
maxhp = _root.maxhpryu;
hp = maxhp;
maxfocus = _root.maxfocusryu;
focus = maxfocus;
maxap = 7;
ap = 0;
ki = 0;
maxki = 10;
fase = 'wait';
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x -= arretrare;
if (this._x < 0 and _root.player == 'ryu') {
this._x = 0;
}
if (_root.player == 'ken') {
this._x = -100;
}
if (_root.turn == 1 and _root.player == 'ryu') {
gotoAndPlay('move');
_root.turn += 1;
}
if (focus < 0) {
focus = 1;
gotoAndPlay('stun');
}
if (focus > maxfocus) {
focus = maxfocus;
}
if (ki > maxki) {
ki = maxki;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
instance player1 of movieClip 5445 {
onClipEvent (load) {
dead = false;
life = 2;
maxhp = _root.maxhpken;
hp = maxhp;
maxfocus = _root.maxfocusken;
focus = maxfocus;
maxap = 8;
ap = 0;
ki = 0;
maxki = 10;
fase = 'wait';
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
arretrare = 0;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x -= arretrare;
if (this._x < 0 and _root.player == 'ken') {
this._x = 0;
}
if (_root.player == 'ryu') {
this._x = -100;
}
if (_root.turn == 1 and _root.player == 'ken') {
gotoAndPlay('move');
_root.turn += 1;
}
if (focus < 0) {
focus = 1;
gotoAndPlay('stun');
}
if (focus > maxfocus) {
focus = maxfocus;
}
if (ki > maxki) {
ki = maxki;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
movieClip 8314 {
}
movieClip 8329 {
frame 5 {
stop();
stun = false;
}
frame 6 {
stop();
if (focus <= 2 and ki <= 5) {
randomnum1 = Math.round(Math.random() * 10 + 1);
if (randomnum1 <= 5) {
strategia = 'difesa';
}
if (randomnum1 > 5) {
strategia = 'attacco';
}
} else {
strategia = 'attacco';
}
if (strategia == 'difesa' and this._x <= 550) {
gotoAndPlay('wb');
} else {
if (strategia == 'difesa' and this._x > 550) {
gotoAndPlay('choose');
}
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range != 'short') {
gotoAndPlay('wf');
} else {
if (strategia == 'attacco' and _root.player == 'ken' and _root.range == 'short') {
gotoAndPlay('choose');
}
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 != 'short') {
gotoAndPlay('wf');
} else {
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 == 'short') {
gotoAndPlay('choose');
}
}
}
frame 19 {
this._x -= 100;
gotoAndPlay('choose');
}
frame 33 {
this._x += 100;
gotoAndPlay('choose');
}
frame 34 {
stop();
if (strategia == 'difesa') {
gotoAndPlay('focus');
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range != 'no') {
gotoAndPlay('stance');
_root.engage.gotoAndPlay('defend');
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 != 'no') {
gotoAndPlay('stance');
_root.engage.gotoAndPlay('defend');
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range == 'no') {
gotoAndPlay('stance');
_root.turn += 1;
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 == 'no') {
gotoAndPlay('stance');
_root.turn += 1;
}
}
frame 38 {
_root.dannomenu.gotoAndPlay('player2');
arretrare = 4;
this._x = xadesso;
}
frame 48 {
arretrare = 0;
this._x = xadesso + 100;
}
frame 80 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 82 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player2');
arretrare = 6;
}
frame 104 {
arretrare = 0;
this._x = xadesso + 200;
}
frame 130 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 132 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player2');
arretrare = 6;
}
frame 154 {
arretrare = 0;
this._x = xadesso + 200;
}
frame 167 {
stop();
life -= 1;
if (life > 0) {
play();
_root.play();
} else {
if (life <= 0) {
dead = true;
}
}
}
frame 181 {
gotoAndPlay('stance');
}
frame 204 {
percento = maxfocus / 100;
cento = 80 - caricafocus;
if (cento < 50) {
cento = 50;
}
focus = Math.round(percento * cento);
}
frame 207 {
_root.turn += 1;
caricafocus += 20;
gotoAndPlay('stance');
}
}
instance player2 of movieClip 8329 {
onClipEvent (load) {
dead = false;
life = 2;
maxhp = 20;
hp = maxhp;
maxfocus = 15;
focus = maxfocus;
ki = 0;
maxki = 10;
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
arretrare = 0;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x += arretrare;
if (this._x > 650) {
this._x = 650;
}
if (_root.turn == 3) {
_root.turn += 1;
gotoAndPlay('move');
}
if (focus <= 0 and stun == false) {
focus = 1;
stun = true;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.players == 1 and _root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.players == 1 and _root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
if (_root.players == 2 and _root.player == 'ken') {
gotoAndPlay('kendoppio');
}
if (_root.players == 2 and _root.player == 'ryu') {
gotoAndPlay('ryudoppio');
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.players == 1 and _root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.players == 1 and _root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
if (_root.players == 2 and _root.player == 'ken') {
gotoAndPlay('kendoppio');
}
if (_root.players == 2 and _root.player == 'ryu') {
gotoAndPlay('ryudoppio');
}
}
}
frame 243 {
stop();
turn = 0;
raunds = 1;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player1.dead == true) {
gotoAndPlay('ko9');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko9');
risultato = 'vinci';
}
if (risultato == 'pari' and player3.dead == true) {
gotoAndPlay('ko9');
risultato = 'perdi';
}
distanza = player2._x - player1._x;
distanza2 = player2._x - player3._x;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
frame 244 {
stop();
raunds = 2;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player1.dead == true) {
gotoAndPlay('ko9');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko9');
risultato = 'vinci';
}
if (risultato == 'pari' and player3.dead == true) {
gotoAndPlay('ko9');
risultato = 'perdi';
}
distanza = player2._x - player1._x;
distanza2 = player2._x - player3._x;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
frame 245 {
stop();
raunds = 2;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player1.dead == true) {
gotoAndPlay('ko9');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko9');
risultato = 'vinci';
}
if (risultato == 'pari' and player3.dead == true) {
gotoAndPlay('ko9');
risultato = 'perdi';
}
distanza = player2._x - player1._x;
distanza2 = player2._x - player3._x;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
frame 246 {
stop();
}
movieClip 8333 {
frame 35 {
stop();
if (_root.risultato == 'vinci' and _root.livello9 == false) {
_root.livello9 = true;
_root.expryu += 1;
_root.levelryu += 1;
_root.gotoAndPlay('postlevel9');
} else {
if (_root.risultato == 'vinci' and _root.livello9 == true) {
_root.gotoAndPlay('postlevel9');
} else {
if (_root.risultato == 'perdi') {
_root.gotoAndPlay('battle');
}
}
}
}
}
frame 247 {
stop();
risultato = 'pari';
players = 1;
player = 'ryu';
level = 10;
enemywin = 0;
playerwin = 0;
range = 'no';
range2 = 'no';
play();
}
instance of movieClip 1855 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.range == 'no') {
gotoAndPlay('no');
}
if (_root.range == 'long') {
gotoAndPlay('long');
}
if (_root.range == 'medium') {
gotoAndPlay('medium');
}
if (_root.range == 'short') {
gotoAndPlay('short');
}
}
if (_root.player == 'ryu') {
if (_root.range2 == 'no') {
gotoAndPlay('no');
}
if (_root.range2 == 'long') {
gotoAndPlay('long');
}
if (_root.range2 == 'medium') {
gotoAndPlay('medium');
}
if (_root.range2 == 'short') {
gotoAndPlay('short');
}
}
}
}
instance player3 of movieClip 5460 {
onClipEvent (load) {
dead = false;
life = 1;
maxhp = _root.maxhpryu;
hp = maxhp;
maxfocus = _root.maxfocusryu;
focus = maxfocus;
maxap = 7;
ap = 0;
ki = 0;
maxki = 10;
fase = 'wait';
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x -= arretrare;
if (this._x < 0 and _root.player == 'ryu') {
this._x = 0;
}
if (_root.player == 'ken') {
this._x = -100;
}
if (_root.turn == 1 and _root.player == 'ryu') {
gotoAndPlay('move');
_root.turn += 1;
}
if (focus < 0) {
focus = 1;
gotoAndPlay('stun');
}
if (focus > maxfocus) {
focus = maxfocus;
}
if (ki > maxki) {
ki = maxki;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
instance player1 of movieClip 5445 {
onClipEvent (load) {
dead = false;
life = 2;
maxhp = _root.maxhpken;
hp = maxhp;
maxfocus = _root.maxfocusken;
focus = maxfocus;
maxap = 8;
ap = 0;
ki = 0;
maxki = 10;
fase = 'wait';
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
arretrare = 0;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x -= arretrare;
if (this._x < 0 and _root.player == 'ken') {
this._x = 0;
}
if (_root.player == 'ryu') {
this._x = -100;
}
if (_root.turn == 1 and _root.player == 'ken') {
gotoAndPlay('move');
_root.turn += 1;
}
if (focus < 0) {
focus = 1;
gotoAndPlay('stun');
}
if (focus > maxfocus) {
focus = maxfocus;
}
if (ki > maxki) {
ki = maxki;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
movieClip 8368 {
frame 5 {
stop();
stun = false;
}
frame 6 {
stop();
if (focus <= 2 and ki <= 5) {
randomnum1 = Math.round(Math.random() * 10 + 1);
if (randomnum1 <= 5) {
strategia = 'difesa';
}
if (randomnum1 > 5) {
strategia = 'attacco';
}
} else {
strategia = 'attacco';
}
if (strategia == 'difesa' and this._x <= 550) {
gotoAndPlay('wb');
} else {
if (strategia == 'difesa' and this._x > 550) {
gotoAndPlay('choose');
}
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range != 'short') {
gotoAndPlay('wf');
} else {
if (strategia == 'attacco' and _root.player == 'ken' and _root.range == 'short') {
gotoAndPlay('choose');
}
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 != 'short') {
gotoAndPlay('wf');
} else {
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 == 'short') {
gotoAndPlay('choose');
}
}
}
frame 19 {
this._x -= 100;
gotoAndPlay('choose');
}
frame 33 {
this._x += 100;
gotoAndPlay('choose');
}
frame 34 {
stop();
if (strategia == 'difesa') {
gotoAndPlay('focus');
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range != 'no') {
gotoAndPlay('stance');
_root.engage.gotoAndPlay('defend');
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 != 'no') {
gotoAndPlay('stance');
_root.engage.gotoAndPlay('defend');
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range == 'no') {
gotoAndPlay('stance');
_root.turn += 1;
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 == 'no') {
gotoAndPlay('stance');
_root.turn += 1;
}
}
frame 38 {
_root.dannomenu.gotoAndPlay('player2');
arretrare = 4;
this._x = xadesso;
}
frame 48 {
arretrare = 0;
this._x = xadesso + 100;
}
frame 80 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 82 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player2');
arretrare = 6;
}
frame 104 {
arretrare = 0;
this._x = xadesso + 200;
}
frame 130 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 132 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player2');
arretrare = 6;
}
frame 154 {
arretrare = 0;
this._x = xadesso + 200;
}
frame 162 {
stop();
life -= 1;
if (life > 0) {
play();
_root.play();
} else {
if (life <= 0) {
dead = true;
}
}
}
frame 176 {
gotoAndPlay('stance');
}
frame 199 {
percento = maxfocus / 100;
cento = 80 - caricafocus;
if (cento < 50) {
cento = 50;
}
focus = Math.round(percento * cento);
}
frame 202 {
_root.turn += 1;
caricafocus += 20;
gotoAndPlay('stance');
}
}
instance player2 of movieClip 8368 {
onClipEvent (load) {
dead = false;
life = 1;
maxhp = 20;
hp = maxhp;
maxfocus = 20;
focus = maxfocus;
ki = 0;
maxki = 10;
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
arretrare = 0;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x += arretrare;
if (this._x > 600) {
this._x = 600;
}
if (_root.turn == 3) {
_root.turn += 1;
gotoAndPlay('move');
}
if (focus <= 0 and stun == false) {
focus = 1;
stun = true;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.players == 1 and _root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.players == 1 and _root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
if (_root.players == 2 and _root.player == 'ken') {
gotoAndPlay('kendoppio');
}
if (_root.players == 2 and _root.player == 'ryu') {
gotoAndPlay('ryudoppio');
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.players == 1 and _root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.players == 1 and _root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
if (_root.players == 2 and _root.player == 'ken') {
gotoAndPlay('kendoppio');
}
if (_root.players == 2 and _root.player == 'ryu') {
gotoAndPlay('ryudoppio');
}
}
}
frame 263 {
stop();
turn = 0;
raunds = 1;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player1.dead == true) {
gotoAndPlay('ko10');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko10');
risultato = 'vinci';
}
if (risultato == 'pari' and player3.dead == true) {
gotoAndPlay('ko10');
risultato = 'perdi';
}
distanza = player2._x - player1._x;
distanza2 = player2._x - player3._x;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
frame 266 {
stop();
}
movieClip 8372 {
frame 35 {
stop();
if (_root.risultato == 'vinci' and _root.livello10 == false) {
_root.livello10 = true;
_root.gotoAndPlay('ryusuperart');
} else {
if (_root.risultato == 'vinci' and _root.livello10 == true) {
_root.gotoAndPlay('postlevel10');
} else {
if (_root.risultato == 'perdi') {
_root.gotoAndPlay('postlevel10');
}
}
}
}
}
frame 267 {
stop();
risultato = 'pari';
players = 1;
player = 'ken';
level = 11;
enemywin = 0;
playerwin = 0;
range = 'no';
range2 = 'no';
play();
}
instance of movieClip 1855 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.range == 'no') {
gotoAndPlay('no');
}
if (_root.range == 'long') {
gotoAndPlay('long');
}
if (_root.range == 'medium') {
gotoAndPlay('medium');
}
if (_root.range == 'short') {
gotoAndPlay('short');
}
}
if (_root.player == 'ryu') {
if (_root.range2 == 'no') {
gotoAndPlay('no');
}
if (_root.range2 == 'long') {
gotoAndPlay('long');
}
if (_root.range2 == 'medium') {
gotoAndPlay('medium');
}
if (_root.range2 == 'short') {
gotoAndPlay('short');
}
}
}
}
instance of movieClip 6485 {
onClipEvent (enterFrame) {
if (_root.player2.life == 2) {
gotoAndPlay('zero');
} else {
if (_root.player2.life == 1) {
gotoAndPlay('uno');
} else {
if (_root.player2.life == 0) {
gotoAndPlay('due');
}
}
}
}
}
instance of movieClip 6485 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.player1.life == 2) {
gotoAndPlay('zero');
} else {
if (_root.player1.life == 1) {
gotoAndPlay('uno');
} else {
if (_root.player1.life == 0) {
gotoAndPlay('due');
}
}
}
} else {
if (_root.player == 'ryu') {
if (_root.player3.life == 2) {
gotoAndPlay('zero');
} else {
if (_root.player3.life == 1) {
gotoAndPlay('uno');
} else {
if (_root.player3.life == 0) {
gotoAndPlay('due');
}
}
}
}
}
}
}
instance player3 of movieClip 5460 {
onClipEvent (load) {
dead = false;
life = 2;
maxhp = _root.maxhpryu;
hp = maxhp;
maxfocus = _root.maxfocusryu;
focus = maxfocus;
maxap = 7;
ap = 0;
ki = 0;
maxki = 10;
fase = 'wait';
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x -= arretrare;
if (this._x < 0 and _root.player == 'ryu') {
this._x = 0;
}
if (_root.player == 'ken') {
this._x = -100;
}
if (_root.turn == 1 and _root.player == 'ryu') {
gotoAndPlay('move');
_root.turn += 1;
}
if (focus < 0) {
focus = 1;
gotoAndPlay('stun');
}
if (focus > maxfocus) {
focus = maxfocus;
}
if (ki > maxki) {
ki = maxki;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
instance player1 of movieClip 5445 {
onClipEvent (load) {
dead = false;
life = 2;
maxhp = _root.maxhpken;
hp = maxhp;
maxfocus = _root.maxfocusken;
focus = maxfocus;
maxap = 8;
ap = 0;
ki = 0;
maxki = 10;
fase = 'wait';
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
arretrare = 0;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x -= arretrare;
if (this._x < 0 and _root.player == 'ken') {
this._x = 0;
}
if (_root.player == 'ryu') {
this._x = -100;
}
if (_root.turn == 1 and _root.player == 'ken') {
gotoAndPlay('move');
_root.turn += 1;
}
if (focus < 0) {
focus = 1;
gotoAndPlay('stun');
}
if (focus > maxfocus) {
focus = maxfocus;
}
if (ki > maxki) {
ki = maxki;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
movieClip 8413 {
frame 6 {
stop();
stun = false;
}
frame 7 {
stop();
if (focus <= 2 and ki <= 5) {
randomnum1 = Math.round(Math.random() * 10 + 1);
if (randomnum1 <= 5) {
strategia = 'difesa';
}
if (randomnum1 > 5) {
strategia = 'attacco';
}
} else {
strategia = 'attacco';
}
if (strategia == 'difesa' and this._x <= 550) {
gotoAndPlay('wb');
} else {
if (strategia == 'difesa' and this._x > 550) {
gotoAndPlay('choose');
}
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range != 'short') {
gotoAndPlay('wf');
} else {
if (strategia == 'attacco' and _root.player == 'ken' and _root.range == 'short') {
gotoAndPlay('choose');
}
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 != 'short') {
gotoAndPlay('wf');
} else {
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 == 'short') {
gotoAndPlay('choose');
}
}
}
frame 19 {
this._x -= 100;
gotoAndPlay('choose');
}
frame 31 {
this._x += 100;
gotoAndPlay('choose');
}
frame 32 {
stop();
if (strategia == 'difesa') {
gotoAndPlay('focus');
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range != 'no') {
gotoAndPlay('stance');
_root.engage.gotoAndPlay('defend');
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 != 'no') {
gotoAndPlay('stance');
_root.engage.gotoAndPlay('defend');
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range == 'no') {
gotoAndPlay('stance');
_root.turn += 1;
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 == 'no') {
gotoAndPlay('stance');
_root.turn += 1;
}
}
frame 34 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player2');
arretrare = 6;
}
frame 56 {
arretrare = 0;
this._x = xadesso + 200;
}
frame 82 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 84 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player2');
arretrare = 6;
}
frame 106 {
arretrare = 0;
this._x = xadesso + 200;
}
frame 116 {
stop();
life -= 1;
if (life > 0) {
play();
_root.play();
} else {
if (life <= 0) {
dead = true;
}
}
}
frame 132 {
gotoAndPlay('stance');
}
frame 136 {
_root.dannomenu.gotoAndPlay('player2');
arretrare = 4;
this._x = xadesso;
}
frame 146 {
arretrare = 0;
this._x = xadesso + 100;
}
frame 178 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 201 {
percento = maxfocus / 100;
cento = 80 - caricafocus;
if (cento < 50) {
cento = 50;
}
focus = Math.round(percento * cento);
}
frame 204 {
_root.turn += 1;
caricafocus += 20;
gotoAndPlay('stance');
}
}
instance player2 of movieClip 8413 {
onClipEvent (load) {
dead = false;
life = 2;
maxhp = 15;
hp = maxhp;
maxfocus = 10;
focus = maxfocus;
ki = 0;
maxki = 10;
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
arretrare = 0;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x += arretrare;
if (this._x > 600) {
this._x = 600;
}
if (_root.turn == 3) {
_root.turn += 1;
gotoAndPlay('move');
}
if (focus <= 0 and stun == false) {
focus = 1;
stun = true;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.players == 1 and _root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.players == 1 and _root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
if (_root.players == 2 and _root.player == 'ken') {
gotoAndPlay('kendoppio');
}
if (_root.players == 2 and _root.player == 'ryu') {
gotoAndPlay('ryudoppio');
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.players == 1 and _root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.players == 1 and _root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
if (_root.players == 2 and _root.player == 'ken') {
gotoAndPlay('kendoppio');
}
if (_root.players == 2 and _root.player == 'ryu') {
gotoAndPlay('ryudoppio');
}
}
}
frame 283 {
stop();
turn = 0;
raunds = 1;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player1.dead == true) {
gotoAndPlay('ko11');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko11');
risultato = 'vinci';
}
if (risultato == 'pari' and player3.dead == true) {
gotoAndPlay('ko11');
risultato = 'perdi';
}
distanza = player2._x - player1._x;
distanza2 = player2._x - player3._x;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
frame 284 {
stop();
raunds = 2;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player1.dead == true) {
gotoAndPlay('ko11');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko11');
risultato = 'vinci';
}
if (risultato == 'pari' and player3.dead == true) {
gotoAndPlay('ko11');
risultato = 'perdi';
}
distanza = player2._x - player1._x;
distanza2 = player2._x - player3._x;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
frame 285 {
stop();
raunds = 2;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player1.dead == true) {
gotoAndPlay('ko11');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko11');
risultato = 'vinci';
}
if (risultato == 'pari' and player3.dead == true) {
gotoAndPlay('ko11');
risultato = 'perdi';
}
distanza = player2._x - player1._x;
distanza2 = player2._x - player3._x;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
frame 286 {
stop();
}
movieClip 8417 {
frame 35 {
stop();
if (_root.risultato == 'vinci' and _root.livello11 == false) {
_root.livello11 = true;
_root.levelken += 1;
_root.expken += 1;
_root.gotoAndPlay('postlevel11');
} else {
if (_root.risultato == 'vinci' and _root.livello11 == true) {
_root.gotoAndPlay('postlevel11');
} else {
if (_root.risultato == 'perdi') {
_root.gotoAndPlay('battle');
}
}
}
}
}
frame 287 {
stop();
risultato = 'pari';
players = 1;
player = 'ken';
level = 12;
enemywin = 0;
playerwin = 0;
range = 'no';
range2 = 'no';
play();
}
instance of movieClip 1855 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.range == 'no') {
gotoAndPlay('no');
}
if (_root.range == 'long') {
gotoAndPlay('long');
}
if (_root.range == 'medium') {
gotoAndPlay('medium');
}
if (_root.range == 'short') {
gotoAndPlay('short');
}
}
if (_root.player == 'ryu') {
if (_root.range2 == 'no') {
gotoAndPlay('no');
}
if (_root.range2 == 'long') {
gotoAndPlay('long');
}
if (_root.range2 == 'medium') {
gotoAndPlay('medium');
}
if (_root.range2 == 'short') {
gotoAndPlay('short');
}
}
}
}
instance of movieClip 6485 {
onClipEvent (enterFrame) {
if (_root.player2.life == 2) {
gotoAndPlay('zero');
} else {
if (_root.player2.life == 1) {
gotoAndPlay('uno');
} else {
if (_root.player2.life == 0) {
gotoAndPlay('due');
}
}
}
}
}
instance of movieClip 6485 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.player1.life == 2) {
gotoAndPlay('zero');
} else {
if (_root.player1.life == 1) {
gotoAndPlay('uno');
} else {
if (_root.player1.life == 0) {
gotoAndPlay('due');
}
}
}
} else {
if (_root.player == 'ryu') {
if (_root.player3.life == 2) {
gotoAndPlay('zero');
} else {
if (_root.player3.life == 1) {
gotoAndPlay('uno');
} else {
if (_root.player3.life == 0) {
gotoAndPlay('due');
}
}
}
}
}
}
}
instance player3 of movieClip 5460 {
onClipEvent (load) {
dead = false;
life = 2;
maxhp = _root.maxhpryu;
hp = maxhp;
maxfocus = _root.maxfocusryu;
focus = maxfocus;
maxap = 7;
ap = 0;
ki = 0;
maxki = 10;
fase = 'wait';
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x -= arretrare;
if (this._x < 0 and _root.player == 'ryu') {
this._x = 0;
}
if (_root.player == 'ken') {
this._x = -100;
}
if (_root.turn == 1 and _root.player == 'ryu') {
gotoAndPlay('move');
_root.turn += 1;
}
if (focus < 0) {
focus = 1;
gotoAndPlay('stun');
}
if (focus > maxfocus) {
focus = maxfocus;
}
if (ki > maxki) {
ki = maxki;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
instance player1 of movieClip 5445 {
onClipEvent (load) {
dead = false;
life = 2;
maxhp = _root.maxhpken;
hp = maxhp;
maxfocus = _root.maxfocusken;
focus = maxfocus;
maxap = 8;
ap = 0;
ki = 0;
maxki = 10;
fase = 'wait';
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
arretrare = 0;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x -= arretrare;
if (this._x < 0 and _root.player == 'ken') {
this._x = 0;
}
if (_root.player == 'ryu') {
this._x = -100;
}
if (_root.turn == 1 and _root.player == 'ken') {
gotoAndPlay('move');
_root.turn += 1;
}
if (focus < 0) {
focus = 1;
gotoAndPlay('stun');
}
if (focus > maxfocus) {
focus = maxfocus;
}
if (ki > maxki) {
ki = maxki;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
movieClip 8433 {
frame 5 {
stop();
stun = false;
}
frame 6 {
stop();
if (focus <= 2 and ki <= 5) {
randomnum1 = Math.round(Math.random() * 10 + 1);
if (randomnum1 <= 5) {
strategia = 'difesa';
}
if (randomnum1 > 5) {
strategia = 'attacco';
}
} else {
strategia = 'attacco';
}
if (strategia == 'difesa' and this._x <= 550) {
gotoAndPlay('wb');
} else {
if (strategia == 'difesa' and this._x > 550) {
gotoAndPlay('choose');
}
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range != 'short') {
gotoAndPlay('wf');
} else {
if (strategia == 'attacco' and _root.player == 'ken' and _root.range == 'short') {
gotoAndPlay('choose');
}
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 != 'short') {
gotoAndPlay('wf');
} else {
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 == 'short') {
gotoAndPlay('choose');
}
}
}
frame 21 {
this._x -= 100;
gotoAndPlay('choose');
}
frame 35 {
this._x += 100;
gotoAndPlay('choose');
}
frame 36 {
stop();
if (strategia == 'difesa') {
gotoAndPlay('focus');
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range != 'no') {
gotoAndPlay('stance');
_root.engage.gotoAndPlay('defend');
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 != 'no') {
gotoAndPlay('stance');
_root.engage.gotoAndPlay('defend');
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range == 'no') {
gotoAndPlay('stance');
_root.turn += 1;
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 == 'no') {
gotoAndPlay('stance');
_root.turn += 1;
}
}
frame 40 {
_root.dannomenu.gotoAndPlay('player2');
arretrare = 4;
this._x = xadesso;
}
frame 50 {
arretrare = 0;
this._x = xadesso + 100;
}
frame 82 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 84 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player2');
arretrare = 6;
}
frame 106 {
arretrare = 0;
this._x = xadesso + 200;
}
frame 121 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 123 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player2');
arretrare = 6;
}
frame 145 {
arretrare = 0;
this._x = xadesso + 200;
}
frame 157 {
stop();
life -= 1;
if (life > 0) {
play();
_root.play();
} else {
if (life <= 0) {
dead = true;
}
}
}
frame 163 {
gotoAndPlay('stance');
}
frame 186 {
percento = maxfocus / 100;
cento = 80 - caricafocus;
if (cento < 50) {
cento = 50;
}
focus = Math.round(percento * cento);
}
frame 189 {
_root.turn += 1;
caricafocus += 20;
gotoAndPlay('stance');
}
}
instance player2 of movieClip 8433 {
onClipEvent (load) {
dead = false;
life = 2;
maxhp = 15;
hp = maxhp;
maxfocus = 15;
focus = maxfocus;
ki = 0;
maxki = 10;
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
arretrare = 0;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x += arretrare;
if (this._x > 600) {
this._x = 600;
}
if (_root.turn == 3) {
_root.turn += 1;
gotoAndPlay('move');
}
if (focus <= 0 and stun == false) {
focus = 1;
stun = true;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.players == 1 and _root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.players == 1 and _root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
if (_root.players == 2 and _root.player == 'ken') {
gotoAndPlay('kendoppio');
}
if (_root.players == 2 and _root.player == 'ryu') {
gotoAndPlay('ryudoppio');
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.players == 1 and _root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.players == 1 and _root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
if (_root.players == 2 and _root.player == 'ken') {
gotoAndPlay('kendoppio');
}
if (_root.players == 2 and _root.player == 'ryu') {
gotoAndPlay('ryudoppio');
}
}
}
frame 303 {
stop();
turn = 0;
raunds = 1;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player1.dead == true) {
gotoAndPlay('ko12');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko12');
risultato = 'vinci';
}
if (risultato == 'pari' and player3.dead == true) {
gotoAndPlay('ko12');
risultato = 'perdi';
}
distanza = player2._x - player1._x;
distanza2 = player2._x - player3._x;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
frame 304 {
stop();
raunds = 2;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player1.dead == true) {
gotoAndPlay('ko12');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko12');
risultato = 'vinci';
}
if (risultato == 'pari' and player3.dead == true) {
gotoAndPlay('ko12');
risultato = 'perdi';
}
distanza = player2._x - player1._x;
distanza2 = player2._x - player3._x;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
frame 305 {
stop();
raunds = 2;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player1.dead == true) {
gotoAndPlay('ko12');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko12');
risultato = 'vinci';
}
if (risultato == 'pari' and player3.dead == true) {
gotoAndPlay('ko12');
risultato = 'perdi';
}
distanza = player2._x - player1._x;
distanza2 = player2._x - player3._x;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
frame 306 {
stop();
}
movieClip 8438 {
frame 35 {
stop();
if (_root.risultato == 'vinci' and _root.livello12 == false) {
_root.livello12 = true;
_root.levelken += 1;
_root.expken += 1;
_root.gotoAndPlay('battle');
} else {
if (_root.risultato == 'vinci' and _root.livello12 == true) {
_root.gotoAndPlay('battle');
} else {
if (_root.risultato == 'perdi') {
_root.gotoAndPlay('battle');
}
}
}
}
}
frame 307 {
stop();
risultato = 'pari';
players = 1;
player = 'ken';
level = 13;
enemywin = 0;
playerwin = 0;
range = 'no';
range2 = 'no';
play();
}
instance of movieClip 1855 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.range == 'no') {
gotoAndPlay('no');
}
if (_root.range == 'long') {
gotoAndPlay('long');
}
if (_root.range == 'medium') {
gotoAndPlay('medium');
}
if (_root.range == 'short') {
gotoAndPlay('short');
}
}
if (_root.player == 'ryu') {
if (_root.range2 == 'no') {
gotoAndPlay('no');
}
if (_root.range2 == 'long') {
gotoAndPlay('long');
}
if (_root.range2 == 'medium') {
gotoAndPlay('medium');
}
if (_root.range2 == 'short') {
gotoAndPlay('short');
}
}
}
}
instance of movieClip 6485 {
onClipEvent (enterFrame) {
if (_root.player2.life == 2) {
gotoAndPlay('zero');
} else {
if (_root.player2.life == 1) {
gotoAndPlay('uno');
} else {
if (_root.player2.life == 0) {
gotoAndPlay('due');
}
}
}
}
}
instance of movieClip 6485 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.player1.life == 2) {
gotoAndPlay('zero');
} else {
if (_root.player1.life == 1) {
gotoAndPlay('uno');
} else {
if (_root.player1.life == 0) {
gotoAndPlay('due');
}
}
}
} else {
if (_root.player == 'ryu') {
if (_root.player3.life == 2) {
gotoAndPlay('zero');
} else {
if (_root.player3.life == 1) {
gotoAndPlay('uno');
} else {
if (_root.player3.life == 0) {
gotoAndPlay('due');
}
}
}
}
}
}
}
instance player3 of movieClip 5460 {
onClipEvent (load) {
dead = false;
life = 2;
maxhp = _root.maxhpryu;
hp = maxhp;
maxfocus = _root.maxfocusryu;
focus = maxfocus;
maxap = 7;
ap = 0;
ki = 0;
maxki = 10;
fase = 'wait';
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x -= arretrare;
if (this._x < 0 and _root.player == 'ryu') {
this._x = 0;
}
if (_root.player == 'ken') {
this._x = -100;
}
if (_root.turn == 1 and _root.player == 'ryu') {
gotoAndPlay('move');
_root.turn += 1;
}
if (focus < 0) {
focus = 1;
gotoAndPlay('stun');
}
if (focus > maxfocus) {
focus = maxfocus;
}
if (ki > maxki) {
ki = maxki;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
instance player1 of movieClip 5445 {
onClipEvent (load) {
dead = false;
life = 2;
maxhp = _root.maxhpken;
hp = maxhp;
maxfocus = _root.maxfocusken;
focus = maxfocus;
maxap = 8;
ap = 0;
ki = 0;
maxki = 10;
fase = 'wait';
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
arretrare = 0;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x -= arretrare;
if (this._x < 0 and _root.player == 'ken') {
this._x = 0;
}
if (_root.player == 'ryu') {
this._x = -100;
}
if (_root.turn == 1 and _root.player == 'ken') {
gotoAndPlay('move');
_root.turn += 1;
}
if (focus < 0) {
focus = 1;
gotoAndPlay('stun');
}
if (focus > maxfocus) {
focus = maxfocus;
}
if (ki > maxki) {
ki = maxki;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
movieClip 8478 {
frame 5 {
stop();
stun = false;
}
frame 6 {
stop();
if (focus <= 2 and ki <= 5) {
randomnum1 = Math.round(Math.random() * 10 + 1);
if (randomnum1 <= 5) {
strategia = 'difesa';
}
if (randomnum1 > 5) {
strategia = 'attacco';
}
} else {
strategia = 'attacco';
}
if (strategia == 'difesa' and this._x <= 550) {
gotoAndPlay('wb');
} else {
if (strategia == 'difesa' and this._x > 550) {
gotoAndPlay('choose');
}
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range != 'short') {
gotoAndPlay('wf');
} else {
if (strategia == 'attacco' and _root.player == 'ken' and _root.range == 'short') {
gotoAndPlay('choose');
}
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 != 'short') {
gotoAndPlay('wf');
} else {
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 == 'short') {
gotoAndPlay('choose');
}
}
}
frame 18 {
this._x -= 100;
gotoAndPlay('choose');
}
frame 26 {
this._x += 100;
gotoAndPlay('choose');
}
frame 27 {
stop();
if (strategia == 'difesa') {
gotoAndPlay('focus');
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range != 'no') {
gotoAndPlay('stance');
_root.engage.gotoAndPlay('defend');
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 != 'no') {
gotoAndPlay('stance');
_root.engage.gotoAndPlay('defend');
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range == 'no') {
gotoAndPlay('stance');
_root.turn += 1;
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 == 'no') {
gotoAndPlay('stance');
_root.turn += 1;
}
}
frame 31 {
_root.dannomenu.gotoAndPlay('player2');
arretrare = 4;
this._x = xadesso;
}
frame 41 {
arretrare = 0;
this._x = xadesso + 100;
}
frame 73 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 75 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player2');
arretrare = 6;
}
frame 97 {
arretrare = 0;
this._x = xadesso + 200;
}
frame 119 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 121 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player2');
arretrare = 6;
}
frame 143 {
arretrare = 0;
this._x = xadesso + 200;
}
frame 151 {
stop();
life -= 1;
if (life > 0) {
play();
_root.play();
} else {
if (life <= 0) {
dead = true;
}
}
}
frame 163 {
gotoAndPlay('stance');
}
frame 186 {
percento = maxfocus / 100;
cento = 80 - caricafocus;
if (cento < 50) {
cento = 50;
}
focus = Math.round(percento * cento);
}
frame 189 {
_root.turn += 1;
caricafocus += 20;
gotoAndPlay('stance');
}
}
instance player2 of movieClip 8478 {
onClipEvent (load) {
dead = false;
life = 2;
maxhp = 15;
hp = maxhp;
maxfocus = 20;
focus = maxfocus;
ki = 0;
maxki = 10;
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
arretrare = 0;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x += arretrare;
if (this._x > 600) {
this._x = 600;
}
if (_root.turn == 3) {
_root.turn += 1;
gotoAndPlay('move');
}
if (focus <= 0 and stun == false) {
focus = 1;
stun = true;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.players == 1 and _root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.players == 1 and _root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
if (_root.players == 2 and _root.player == 'ken') {
gotoAndPlay('kendoppio');
}
if (_root.players == 2 and _root.player == 'ryu') {
gotoAndPlay('ryudoppio');
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.players == 1 and _root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.players == 1 and _root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
if (_root.players == 2 and _root.player == 'ken') {
gotoAndPlay('kendoppio');
}
if (_root.players == 2 and _root.player == 'ryu') {
gotoAndPlay('ryudoppio');
}
}
}
frame 323 {
stop();
turn = 0;
raunds = 1;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player1.dead == true) {
gotoAndPlay('ko13');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko13');
risultato = 'vinci';
}
if (risultato == 'pari' and player3.dead == true) {
gotoAndPlay('ko13');
risultato = 'perdi';
}
distanza = player2._x - player1._x;
distanza2 = player2._x - player3._x;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
frame 324 {
stop();
raunds = 2;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player1.dead == true) {
gotoAndPlay('ko13');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko13');
risultato = 'vinci';
}
if (risultato == 'pari' and player3.dead == true) {
gotoAndPlay('ko13');
risultato = 'perdi';
}
distanza = player2._x - player1._x;
distanza2 = player2._x - player3._x;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
frame 325 {
stop();
raunds = 2;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player1.dead == true) {
gotoAndPlay('ko13');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko13');
risultato = 'vinci';
}
if (risultato == 'pari' and player3.dead == true) {
gotoAndPlay('ko13');
risultato = 'perdi';
}
distanza = player2._x - player1._x;
distanza2 = player2._x - player3._x;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
frame 326 {
stop();
}
movieClip 8482 {
frame 35 {
stop();
if (_root.risultato == 'vinci' and _root.livello13 == false) {
_root.livello13 = true;
_root.levelken += 1;
_root.expken += 1;
_root.gotoAndPlay('postlevel13');
} else {
if (_root.risultato == 'vinci' and _root.livello13 == true) {
_root.gotoAndPlay('postlevel13');
} else {
if (_root.risultato == 'perdi') {
_root.gotoAndPlay('battle');
}
}
}
}
}
frame 327 {
stop();
risultato = 'pari';
players = 1;
player = 'ken';
level = 14;
enemywin = 0;
playerwin = 0;
range = 'no';
range2 = 'no';
play();
}
instance of movieClip 1855 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.range == 'no') {
gotoAndPlay('no');
}
if (_root.range == 'long') {
gotoAndPlay('long');
}
if (_root.range == 'medium') {
gotoAndPlay('medium');
}
if (_root.range == 'short') {
gotoAndPlay('short');
}
}
if (_root.player == 'ryu') {
if (_root.range2 == 'no') {
gotoAndPlay('no');
}
if (_root.range2 == 'long') {
gotoAndPlay('long');
}
if (_root.range2 == 'medium') {
gotoAndPlay('medium');
}
if (_root.range2 == 'short') {
gotoAndPlay('short');
}
}
}
}
instance player3 of movieClip 5460 {
onClipEvent (load) {
dead = false;
life = 2;
maxhp = _root.maxhpryu;
hp = maxhp;
maxfocus = _root.maxfocusryu;
focus = maxfocus;
maxap = 7;
ap = 0;
ki = 0;
maxki = 10;
fase = 'wait';
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x -= arretrare;
if (this._x < 0 and _root.player == 'ryu') {
this._x = 0;
}
if (_root.player == 'ken') {
this._x = -100;
}
if (_root.turn == 1 and _root.player == 'ryu') {
gotoAndPlay('move');
_root.turn += 1;
}
if (focus < 0) {
focus = 1;
gotoAndPlay('stun');
}
if (focus > maxfocus) {
focus = maxfocus;
}
if (ki > maxki) {
ki = maxki;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
instance player1 of movieClip 5445 {
onClipEvent (load) {
dead = false;
life = 1;
maxhp = _root.maxhpken;
hp = maxhp;
maxfocus = _root.maxfocusken;
focus = maxfocus;
maxap = 8;
ap = 0;
ki = 0;
maxki = 10;
fase = 'wait';
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
arretrare = 0;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x -= arretrare;
if (this._x < 0 and _root.player == 'ken') {
this._x = 0;
}
if (_root.player == 'ryu') {
this._x = -100;
}
if (_root.turn == 1 and _root.player == 'ken') {
gotoAndPlay('move');
_root.turn += 1;
}
if (focus < 0) {
focus = 1;
gotoAndPlay('stun');
}
if (focus > maxfocus) {
focus = maxfocus;
}
if (ki > maxki) {
ki = maxki;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
movieClip 8572 {
frame 5 {
stop();
stun = false;
}
frame 6 {
stop();
if (focus <= 2 and ki <= 5) {
randomnum1 = Math.round(Math.random() * 10 + 1);
if (randomnum1 <= 5) {
strategia = 'difesa';
}
if (randomnum1 > 5) {
strategia = 'attacco';
}
} else {
strategia = 'attacco';
}
if (strategia == 'difesa' and this._x <= 550) {
gotoAndPlay('wb');
} else {
if (strategia == 'difesa' and this._x > 550) {
gotoAndPlay('choose');
}
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range != 'short') {
gotoAndPlay('wf');
} else {
if (strategia == 'attacco' and _root.player == 'ken' and _root.range == 'short') {
gotoAndPlay('choose');
}
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 != 'short') {
gotoAndPlay('wf');
} else {
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 == 'short') {
gotoAndPlay('choose');
}
}
}
frame 26 {
this._x -= 100;
gotoAndPlay('choose');
}
frame 44 {
this._x += 100;
gotoAndPlay('choose');
}
frame 45 {
stop();
if (strategia == 'difesa') {
gotoAndPlay('focus');
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range != 'no') {
gotoAndPlay('stance');
_root.engage.gotoAndPlay('defend');
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 != 'no') {
gotoAndPlay('stance');
_root.engage.gotoAndPlay('defend');
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range == 'no') {
gotoAndPlay('stance');
_root.turn += 1;
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 == 'no') {
gotoAndPlay('stance');
_root.turn += 1;
}
}
frame 49 {
_root.dannomenu.gotoAndPlay('player2');
arretrare = 4;
this._x = xadesso;
}
frame 59 {
arretrare = 0;
this._x = xadesso + 100;
}
frame 91 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 93 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player2');
arretrare = 6;
}
frame 115 {
arretrare = 0;
this._x = xadesso + 200;
}
frame 138 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 140 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player2');
arretrare = 6;
}
frame 162 {
arretrare = 0;
this._x = xadesso + 200;
}
frame 171 {
stop();
life -= 1;
if (life > 0) {
play();
_root.play();
} else {
if (life <= 0) {
dead = true;
}
}
}
frame 185 {
gotoAndPlay('stance');
}
frame 208 {
percento = maxfocus / 100;
cento = 80 - caricafocus;
if (cento < 50) {
cento = 50;
}
focus = Math.round(percento * cento);
}
frame 211 {
_root.turn += 1;
caricafocus += 20;
gotoAndPlay('stance');
}
}
instance player2 of movieClip 8572 {
onClipEvent (load) {
dead = false;
life = 1;
maxhp = 20;
hp = maxhp;
maxfocus = 20;
focus = maxfocus;
ki = 0;
maxki = 10;
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
arretrare = 0;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x += arretrare;
if (this._x > 600) {
this._x = 600;
}
if (_root.turn == 3) {
_root.turn += 1;
gotoAndPlay('move');
}
if (focus <= 0 and stun == false) {
focus = 1;
stun = true;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.players == 1 and _root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.players == 1 and _root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
if (_root.players == 2 and _root.player == 'ken') {
gotoAndPlay('kendoppio');
}
if (_root.players == 2 and _root.player == 'ryu') {
gotoAndPlay('ryudoppio');
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.players == 1 and _root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.players == 1 and _root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
if (_root.players == 2 and _root.player == 'ken') {
gotoAndPlay('kendoppio');
}
if (_root.players == 2 and _root.player == 'ryu') {
gotoAndPlay('ryudoppio');
}
}
}
frame 343 {
stop();
turn = 0;
raunds = 1;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player1.dead == true) {
gotoAndPlay('ko14');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko14');
risultato = 'vinci';
}
if (risultato == 'pari' and player3.dead == true) {
gotoAndPlay('ko14');
risultato = 'perdi';
}
distanza = player2._x - player1._x;
distanza2 = player2._x - player3._x;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
frame 346 {
stop();
}
movieClip 8577 {
frame 35 {
stop();
if (_root.risultato == 'vinci' and _root.livello14 == false) {
_root.livello14 = true;
_root.gotoAndPlay('kensuperart');
} else {
if (_root.risultato == 'vinci' and _root.livello14 == true) {
_root.gotoAndPlay('postlevel14');
} else {
if (_root.risultato == 'perdi') {
_root.gotoAndPlay('postlevel14');
}
}
}
}
}
frame 347 {
stop();
risultato = 'pari';
players = 2;
player = 'ryu';
level = 15;
enemywin = 0;
playerwin = 0;
range = 'no';
range2 = 'no';
play();
}
instance of movieClip 1855 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.range == 'no') {
gotoAndPlay('no');
}
if (_root.range == 'long') {
gotoAndPlay('long');
}
if (_root.range == 'medium') {
gotoAndPlay('medium');
}
if (_root.range == 'short') {
gotoAndPlay('short');
}
}
if (_root.player == 'ryu') {
if (_root.range2 == 'no') {
gotoAndPlay('no');
}
if (_root.range2 == 'long') {
gotoAndPlay('long');
}
if (_root.range2 == 'medium') {
gotoAndPlay('medium');
}
if (_root.range2 == 'short') {
gotoAndPlay('short');
}
}
}
}
instance player3 of movieClip 5460 {
onClipEvent (load) {
dead = false;
life = 1;
maxhp = _root.maxhpryu;
hp = maxhp;
maxfocus = _root.maxfocusryu;
focus = maxfocus;
maxap = 7;
ap = 0;
ki = 0;
maxki = 10;
fase = 'wait';
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x -= arretrare;
if (this._x < 0 and _root.player == 'ryu') {
this._x = 0;
}
if (_root.player == 'ken') {
this._x = -100;
}
if (_root.turn == 1 and _root.player == 'ryu') {
gotoAndPlay('move');
_root.turn += 1;
}
if (focus < 0) {
focus = 1;
gotoAndPlay('stun');
}
if (focus > maxfocus) {
focus = maxfocus;
}
if (ki > maxki) {
ki = maxki;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
instance player1 of movieClip 5445 {
onClipEvent (load) {
dead = false;
life = 1;
maxhp = _root.maxhpken;
hp = maxhp;
maxfocus = _root.maxfocusken;
focus = maxfocus;
maxap = 8;
ap = 0;
ki = 0;
maxki = 10;
fase = 'wait';
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
arretrare = 0;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x -= arretrare;
if (this._x < 0 and _root.player == 'ken') {
this._x = 0;
}
if (_root.player == 'ryu') {
this._x = -100;
}
if (_root.turn == 1 and _root.player == 'ken') {
gotoAndPlay('move');
_root.turn += 1;
}
if (focus < 0) {
focus = 1;
gotoAndPlay('stun');
}
if (focus > maxfocus) {
focus = maxfocus;
}
if (ki > maxki) {
ki = maxki;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
movieClip 8716 {
frame 5 {
stop();
stun = false;
}
frame 6 {
stop();
if (focus <= 2 and ki <= 5) {
randomnum1 = Math.round(Math.random() * 10 + 1);
if (randomnum1 <= 5) {
strategia = 'difesa';
}
if (randomnum1 > 5) {
strategia = 'attacco';
}
} else {
strategia = 'attacco';
}
if (strategia == 'difesa' and this._x <= 550) {
gotoAndPlay('wb');
} else {
if (strategia == 'difesa' and this._x > 550) {
gotoAndPlay('choose');
}
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range != 'short') {
gotoAndPlay('wf');
} else {
if (strategia == 'attacco' and _root.player == 'ken' and _root.range == 'short') {
gotoAndPlay('choose');
}
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 != 'short') {
gotoAndPlay('wf');
} else {
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 == 'short') {
gotoAndPlay('choose');
}
}
}
frame 26 {
this._x -= 100;
gotoAndPlay('choose');
}
frame 44 {
this._x += 100;
gotoAndPlay('choose');
}
frame 45 {
stop();
if (strategia == 'difesa') {
gotoAndPlay('focus');
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range != 'no') {
gotoAndPlay('stance');
_root.engage.gotoAndPlay('defend');
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 != 'no') {
gotoAndPlay('stance');
_root.engage.gotoAndPlay('defend');
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range == 'no') {
gotoAndPlay('stance');
_root.turn += 1;
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 == 'no') {
gotoAndPlay('stance');
_root.turn += 1;
}
}
frame 49 {
_root.dannomenu.gotoAndPlay('player2');
arretrare = 4;
this._x = xadesso;
}
frame 59 {
arretrare = 0;
this._x = xadesso + 100;
}
frame 91 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 93 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player2');
arretrare = 6;
}
frame 114 {
arretrare = 0;
this._x = xadesso + 200;
}
frame 155 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 157 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player2');
arretrare = 6;
}
frame 179 {
arretrare = 0;
this._x = xadesso + 200;
}
frame 204 {
stop();
life -= 1;
if (life > 0) {
play();
_root.play();
} else {
if (life <= 0) {
dead = true;
}
}
}
frame 235 {
percento = maxfocus / 100;
cento = 80 - caricafocus;
if (cento < 50) {
cento = 50;
}
focus = Math.round(percento * cento);
}
frame 238 {
_root.turn += 1;
caricafocus += 20;
gotoAndPlay('stance');
}
}
instance player2 of movieClip 8716 {
onClipEvent (load) {
dead = false;
life = 1;
maxhp = 40;
hp = maxhp;
maxfocus = 40;
focus = maxfocus;
ki = 5;
maxki = 10;
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
arretrare = 0;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x += arretrare;
if (this._x > 600) {
this._x = 600;
}
if (_root.turn == 3) {
_root.turn += 1;
gotoAndPlay('move');
}
if (focus <= 0 and stun == false) {
focus = 1;
stun = true;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
movieClip 8767 {
}
movieClip 8798 {
}
movieClip 8799 {
frame 1 {
stop();
if (_root.level == 15) {
gotoAndPlay('aku');
}
if (_root.level == 16) {
gotoAndPlay('evi');
}
if (_root.level == 17) {
gotoAndPlay('ken');
}
if (_root.level == 18) {
gotoAndPlay('ryu');
}
if (_root.level == 19) {
gotoAndPlay('gen');
}
}
frame 12 {
stop();
}
frame 22 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('akustance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('akustun');
}
}
}
frame 32 {
stop();
danno = _root.engage.player.power + _root.player2.difesamedia;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('akustance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('akustun');
}
}
}
frame 42 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('akustance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('akustun');
}
}
}
frame 51 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('akustance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('akustun');
}
}
}
frame 60 {
stop();
danno = _root.engage.player.power + _root.player2.difesamedia;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('akustance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('akustun');
}
}
}
frame 68 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('akustance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('akustun');
}
}
}
frame 77 {
gotoAndPlay('akustance');
}
frame 87 {
stop();
}
frame 98 {
stop();
}
frame 108 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('evistance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('evistun');
}
}
}
frame 118 {
stop();
danno = _root.engage.player.power + _root.player2.difesamedia;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('evistance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('evistun');
}
}
}
frame 128 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('evistance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('evistun');
}
}
}
frame 137 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('evistance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('evistun');
}
}
}
frame 146 {
stop();
danno = _root.engage.player.power + _root.player2.difesamedia;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('evistance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('evistun');
}
}
}
frame 154 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('evistance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('evistun');
}
}
}
frame 163 {
gotoAndPlay('evistance');
}
frame 173 {
stop();
}
frame 184 {
stop();
}
frame 194 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('ryustance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('ryustun');
}
}
}
frame 204 {
stop();
danno = _root.engage.player.power + _root.player2.difesamedia;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('ryustance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('ryustun');
}
}
}
frame 214 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('ryustance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('ryustun');
}
}
}
frame 223 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('ryustance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('ryustun');
}
}
}
frame 232 {
stop();
danno = _root.engage.player.power + _root.player2.difesamedia;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('ryustance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('ryustun');
}
}
}
frame 240 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('ryustance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('ryustun');
}
}
}
frame 249 {
gotoAndPlay('ryustance');
}
frame 259 {
stop();
}
frame 270 {
stop();
}
frame 280 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('kenstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('kenstun');
}
}
}
frame 290 {
stop();
danno = _root.engage.player.power + _root.player2.difesamedia;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('kenstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('kenstun');
}
}
}
frame 300 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('kenstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('kenstun');
}
}
}
frame 309 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('kenstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('kenstun');
}
}
}
frame 318 {
stop();
danno = _root.engage.player.power + _root.player2.difesamedia;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('kenstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('kenstun');
}
}
}
frame 326 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('kenstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('kenstun');
}
}
}
frame 339 {
gotoAndPlay('kenstance');
}
frame 349 {
stop();
}
frame 360 {
stop();
}
frame 370 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('genstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('genstun');
}
}
}
frame 380 {
stop();
danno = _root.engage.player.power + _root.player2.difesamedia;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('genstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('genstun');
}
}
}
frame 390 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.focus -= danno;
_root.engage.totaldannofocus += danno;
_root.player2.ki += 0.2;
if (_root.player2.stun == false) {
gotoAndPlay('genstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('genstun');
}
}
}
frame 399 {
stop();
danno = _root.engage.player.power + _root.player2.difesaalta;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('genstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('genstun');
}
}
}
frame 408 {
stop();
danno = _root.engage.player.power + _root.player2.difesamedia;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('genstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('genstun');
}
}
}
frame 416 {
stop();
danno = _root.engage.player.power + _root.player2.difesabassa;
_root.player2.hp -= danno;
_root.engage.totaldanno += danno;
randomnum = Math.round(Math.random() * 10) + 1;
if (randomnum == 1) {
_root.player2.difesaalta += 1;
}
if (randomnum == 2) {
_root.player2.difesamedia += 1;
}
if (randomnum == 3) {
_root.player2.difesabassa += 1;
}
if (_root.player2.stun == false) {
gotoAndPlay('genstance');
} else {
if (_root.player2.stun == true) {
gotoAndPlay('genstun');
}
}
}
frame 424 {
gotoAndPlay('genstance');
}
frame 429 {
stop();
}
}
movieClip 9406 {
frame 1 {
stop();
if (_root.level == 15) {
gotoAndPlay('aku');
}
if (_root.level == 16) {
gotoAndPlay('evi');
}
if (_root.level == 17) {
gotoAndPlay('ken');
}
if (_root.level == 18) {
gotoAndPlay('ryu');
}
if (_root.level == 19) {
gotoAndPlay('gen');
}
}
frame 11 {
if (_root.player == 'ken' and _root.range == 'long') {
action = 3;
}
if (_root.player == 'ken' and _root.range == 'medium') {
action = 4;
}
if (_root.player == 'ken' and _root.range == 'short') {
action = 5;
}
if (_root.player == 'ryu' and _root.range2 == 'long') {
action = 3;
}
if (_root.player == 'ryu' and _root.range2 == 'medium') {
action = 4;
}
if (_root.player == 'ryu' and _root.range2 == 'short') {
action = 5;
}
}
frame 16 {
stop();
if (action <= 0) {
gotoAndPlay('sagend');
}
if (_root.player == 'ryu' and _root.range2 == 'short' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('sagsb');
}
if (_root.player == 'ryu' and _root.range2 == 'medium' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('sagsb');
}
if (_root.player == 'ryu' and _root.range2 == 'long' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('sagsa');
}
if (_root.player == 'ken' and _root.range == 'short' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('sagsb');
}
if (_root.player == 'ken' and _root.range == 'medium' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('sagsb');
}
if (_root.player == 'ken' and _root.range == 'long' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('sagsa');
}
if (_root.player2.ki < 6 and action > 0) {
randomnum = Math.round(Math.random() * 7) + 1;
if (randomnum <= 2) {
gotoAndPlay('saga');
}
if (randomnum == 3) {
gotoAndPlay('sagb');
}
if (randomnum == 4) {
gotoAndPlay('sagc');
}
if (randomnum == 5) {
gotoAndPlay('sagd');
}
if (randomnum == 6) {
gotoAndPlay('sage');
}
if (randomnum >= 7) {
gotoAndPlay('sagf');
}
}
}
frame 20 {
_root.engage.special = true;
power = 2;
}
frame 40 {
_root.engage.special = false;
}
frame 50 {
action -= 1;
gotoAndPlay('sagstance');
}
frame 54 {
_root.engage.special = true;
power = 2;
}
frame 74 {
_root.engage.special = false;
}
frame 82 {
action -= 1;
gotoAndPlay('sagstance');
}
frame 88 {
_root.engage.special = true;
power = 2;
}
frame 108 {
_root.engage.special = false;
}
frame 116 {
action -= 1;
gotoAndPlay('sagstance');
}
frame 122 {
_root.engage.special = true;
power = 2;
}
frame 142 {
_root.engage.special = false;
}
frame 151 {
action -= 1;
gotoAndPlay('sagstance');
}
frame 157 {
_root.engage.special = true;
power = 2;
}
frame 177 {
_root.engage.special = false;
}
frame 186 {
action -= 1;
gotoAndPlay('sagstance');
}
frame 191 {
_root.engage.special = true;
power = 2;
}
frame 211 {
_root.engage.special = false;
}
frame 216 {
action -= 1;
gotoAndPlay('sagstance');
}
frame 218 {
_root.engage.special = true;
}
frame 240 {
_root.engage.special = false;
}
frame 244 {
_root.engage.special = true;
power = 5;
}
frame 264 {
_root.engage.special = false;
}
frame 277 {
_root.engage.special = true;
power = 5;
}
frame 297 {
_root.engage.special = false;
}
frame 306 {
action -= 1;
_root.player2.ki -= 6;
gotoAndPlay('sagstance');
}
frame 308 {
_root.engage.special = true;
}
frame 330 {
_root.engage.special = false;
}
frame 336 {
_root.engage.special = true;
power = 3;
}
frame 356 {
_root.engage.special = false;
}
frame 364 {
_root.engage.special = true;
power = 12;
}
frame 384 {
_root.engage.special = false;
}
frame 413 {
action -= 2;
_root.player2.ki -= 6;
gotoAndPlay('sagstance');
}
frame 420 {
stop();
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player1.hp > 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player1.hp > 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('block');
}
if (_root.player1.hp <= 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('die');
}
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player3.hp > 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player3.hp > 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('block');
}
if (_root.player3.hp <= 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('die');
}
_root.player2.ki += 2;
_root.engage.gotoAndPlay('stance');
}
frame 431 {
if (_root.player == 'ken' and _root.range == 'long') {
action = 3;
}
if (_root.player == 'ken' and _root.range == 'medium') {
action = 4;
}
if (_root.player == 'ken' and _root.range == 'short') {
action = 5;
}
if (_root.player == 'ryu' and _root.range2 == 'long') {
action = 3;
}
if (_root.player == 'ryu' and _root.range2 == 'medium') {
action = 4;
}
if (_root.player == 'ryu' and _root.range2 == 'short') {
action = 5;
}
}
frame 436 {
stop();
if (action <= 0) {
gotoAndPlay('akuend');
}
if (_root.player == 'ryu' and _root.range2 == 'short' and _root.player2.ki >= 8 and action > 0) {
gotoAndPlay('akusb');
}
if (_root.player == 'ryu' and _root.range2 == 'medium' and _root.player2.ki >= 8 and action > 0) {
gotoAndPlay('akusa');
}
if (_root.player == 'ryu' and _root.range2 == 'long' and _root.player2.ki >= 8 and action > 0) {
gotoAndPlay('akusa');
}
if (_root.player == 'ken' and _root.range == 'short' and _root.player2.ki >= 8 and action > 0) {
gotoAndPlay('akusb');
}
if (_root.player == 'ken' and _root.range == 'medium' and _root.player2.ki >= 8 and action > 0) {
gotoAndPlay('akusa');
}
if (_root.player == 'ken' and _root.range == 'long' and _root.player2.ki >= 8 and action > 0) {
gotoAndPlay('akusa');
}
if (_root.player2.ki < 8 and action > 0) {
randomnum = Math.round(Math.random() * 7) + 1;
if (randomnum <= 2) {
gotoAndPlay('akua');
}
if (randomnum == 3) {
gotoAndPlay('akub');
}
if (randomnum == 4) {
gotoAndPlay('akuc');
}
if (randomnum == 5) {
gotoAndPlay('akud');
}
if (randomnum == 6) {
gotoAndPlay('akue');
}
if (randomnum >= 7) {
gotoAndPlay('akuf');
}
}
}
frame 442 {
_root.engage.special = true;
power = 2;
}
frame 462 {
_root.engage.special = false;
}
frame 478 {
action -= 1;
gotoAndPlay('akustance');
}
frame 490 {
_root.engage.special = true;
power = 2;
}
frame 510 {
_root.engage.special = false;
}
frame 530 {
action -= 1;
gotoAndPlay('akustance');
}
frame 534 {
_root.engage.special = true;
power = 2;
}
frame 554 {
_root.engage.special = false;
}
frame 562 {
action -= 1;
gotoAndPlay('akustance');
}
frame 570 {
_root.engage.special = true;
power = 3;
}
frame 590 {
_root.engage.special = false;
}
frame 610 {
action -= 1;
gotoAndPlay('akustance');
}
frame 622 {
_root.engage.special = true;
power = 3;
}
frame 642 {
_root.engage.special = false;
}
frame 651 {
_root.engage.special = true;
power = 3;
}
frame 671 {
_root.engage.special = false;
}
frame 681 {
action -= 2;
gotoAndPlay('akustance');
}
frame 685 {
_root.engage.special = true;
power = 3;
}
frame 705 {
_root.engage.special = false;
}
frame 736 {
action -= 1;
gotoAndPlay('akustance');
}
frame 739 {
_root.engage.special = true;
}
frame 760 {
_root.engage.special = false;
}
frame 761 {
_root.engage.special = true;
power = 12;
}
frame 781 {
_root.engage.special = false;
}
frame 800 {
action -= 1;
_root.player2.ki -= 6;
gotoAndPlay('akustance');
}
frame 802 {
_root.engage.special = true;
}
frame 823 {
_root.engage.special = false;
}
frame 836 {
_root.engage.special = true;
power = 4;
}
frame 856 {
_root.engage.special = false;
}
frame 969 {
action -= 1;
_root.player2.ki -= 6;
gotoAndPlay('akustance');
}
frame 978 {
stop();
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player1.hp > 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player1.hp > 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('block');
}
if (_root.player1.hp <= 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('die');
}
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player3.hp > 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player3.hp > 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('block');
}
if (_root.player3.hp <= 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('die');
}
_root.player2.ki += 2;
_root.engage.gotoAndPlay('stance');
}
frame 989 {
if (_root.player == 'ken' and _root.range == 'long') {
action = 3;
}
if (_root.player == 'ken' and _root.range == 'medium') {
action = 4;
}
if (_root.player == 'ken' and _root.range == 'short') {
action = 5;
}
if (_root.player == 'ryu' and _root.range2 == 'long') {
action = 3;
}
if (_root.player == 'ryu' and _root.range2 == 'medium') {
action = 4;
}
if (_root.player == 'ryu' and _root.range2 == 'short') {
action = 5;
}
}
frame 994 {
stop();
if (action <= 0) {
gotoAndPlay('eviend');
}
if (_root.player == 'ryu' and _root.range2 == 'short' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('evisb');
}
if (_root.player == 'ryu' and _root.range2 == 'medium' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('evisa');
}
if (_root.player == 'ryu' and _root.range2 == 'long' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('evisa');
}
if (_root.player == 'ken' and _root.range == 'short' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('evisb');
}
if (_root.player == 'ken' and _root.range == 'medium' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('evisa');
}
if (_root.player == 'ken' and _root.range == 'long' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('evisa');
}
if (_root.player2.ki < 6 and action > 0) {
randomnum = Math.round(Math.random() * 7) + 1;
if (randomnum <= 2) {
gotoAndPlay('evia');
}
if (randomnum == 3) {
gotoAndPlay('evib');
}
if (randomnum == 4) {
gotoAndPlay('evic');
}
if (randomnum == 5) {
gotoAndPlay('evid');
}
if (randomnum == 6) {
gotoAndPlay('evie');
}
if (randomnum >= 7) {
gotoAndPlay('evif');
}
}
}
frame 998 {
_root.engage.special = true;
power = 2;
}
frame 1018 {
_root.engage.special = false;
}
frame 1026 {
action -= 1;
gotoAndPlay('evistance');
}
frame 1030 {
_root.engage.special = true;
power = 2;
}
frame 1050 {
_root.engage.special = false;
}
frame 1056 {
action -= 1;
gotoAndPlay('evistance');
}
frame 1059 {
_root.engage.special = true;
power = 2;
}
frame 1079 {
_root.engage.special = false;
}
frame 1085 {
action -= 1;
gotoAndPlay('evistance');
}
frame 1090 {
_root.engage.special = true;
power = 2;
}
frame 1110 {
_root.engage.special = false;
}
frame 1117 {
action -= 1;
gotoAndPlay('evistance');
}
frame 1121 {
_root.engage.special = true;
power = 2;
}
frame 1141 {
_root.engage.special = false;
}
frame 1153 {
action -= 1;
gotoAndPlay('evistance');
}
frame 1155 {
_root.engage.special = true;
}
frame 1176 {
_root.engage.special = false;
}
frame 1182 {
_root.engage.special = true;
power = 12;
}
frame 1202 {
_root.engage.special = false;
}
frame 1227 {
action -= 1;
_root.player2.ki -= 6;
gotoAndPlay('evistance');
}
frame 1229 {
_root.engage.special = true;
}
frame 1250 {
_root.engage.special = false;
}
frame 1252 {
_root.engage.special = true;
power = 5;
}
frame 1272 {
_root.engage.special = false;
}
frame 1274 {
_root.engage.special = true;
power = 5;
}
frame 1294 {
_root.engage.special = false;
}
frame 1296 {
_root.engage.special = true;
power = 5;
}
frame 1316 {
_root.engage.special = false;
}
frame 1334 {
action -= 1;
_root.player2.ki -= 6;
gotoAndPlay('evistance');
}
frame 1341 {
stop();
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player1.hp > 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player1.hp > 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('block');
}
if (_root.player1.hp <= 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('die');
}
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player3.hp > 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player3.hp > 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('block');
}
if (_root.player3.hp <= 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('die');
}
_root.player2.ki += 2;
_root.engage.gotoAndPlay('stance');
}
frame 1350 {
if (_root.player == 'ken' and _root.range == 'long') {
action = 2;
}
if (_root.player == 'ken' and _root.range == 'medium') {
action = 3;
}
if (_root.player == 'ken' and _root.range == 'short') {
action = 4;
}
if (_root.player == 'ryu' and _root.range2 == 'long') {
action = 2;
}
if (_root.player == 'ryu' and _root.range2 == 'medium') {
action = 3;
}
if (_root.player == 'ryu' and _root.range2 == 'short') {
action = 4;
}
}
frame 1354 {
stop();
if (action <= 0) {
gotoAndPlay('ryuend');
}
if (_root.player == 'ryu' and _root.range2 == 'short' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('ryusb');
}
if (_root.player == 'ryu' and _root.range2 == 'medium' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('ryusb');
}
if (_root.player == 'ryu' and _root.range2 == 'long' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('ryusa');
}
if (_root.player == 'ken' and _root.range == 'short' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('ryusb');
}
if (_root.player == 'ken' and _root.range == 'medium' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('ryusa');
}
if (_root.player == 'ken' and _root.range == 'long' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('ryusb');
}
if (_root.player2.ki < 6 and action > 0) {
randomnum = Math.round(Math.random() * 4) + 1;
if (randomnum <= 2) {
gotoAndPlay('ryua');
}
if (randomnum == 3) {
gotoAndPlay('ryub');
}
if (randomnum >= 4) {
gotoAndPlay('ryuc');
}
}
}
frame 1358 {
_root.engage.special = true;
power = 2;
}
frame 1378 {
_root.engage.special = false;
}
frame 1383 {
action -= 1;
gotoAndPlay('ryustance');
}
frame 1388 {
_root.engage.special = true;
power = 2;
}
frame 1408 {
_root.engage.special = false;
}
frame 1413 {
action -= 1;
gotoAndPlay('ryustance');
}
frame 1418 {
_root.engage.special = true;
power = 2;
}
frame 1438 {
_root.engage.special = false;
}
frame 1446 {
action -= 1;
gotoAndPlay('ryustance');
}
frame 1448 {
_root.engage.special = true;
}
frame 1470 {
_root.engage.special = false;
}
frame 1472 {
_root.engage.special = true;
power = 4;
}
frame 1492 {
_root.engage.special = false;
}
frame 1547 {
action -= 1;
_root.player2.ki -= 6;
gotoAndPlay('ryustance');
}
frame 1548 {
_root.engage.special = true;
}
frame 1570 {
_root.engage.special = false;
}
frame 1571 {
_root.engage.special = true;
power = 5;
}
frame 1591 {
_root.engage.special = false;
}
frame 1595 {
_root.engage.special = true;
power = 5;
}
frame 1615 {
_root.engage.special = false;
}
frame 1631 {
action -= 1;
_root.player2.ki -= 6;
gotoAndPlay('ryustance');
}
frame 1636 {
stop();
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player1.hp > 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player1.hp > 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('block');
}
if (_root.player1.hp <= 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('die');
}
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player3.hp > 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player3.hp > 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('block');
}
if (_root.player3.hp <= 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('die');
}
_root.player2.ki += 2;
_root.engage.gotoAndPlay('stance');
}
frame 1644 {
if (_root.player == 'ken' and _root.range == 'long') {
action = 3;
}
if (_root.player == 'ken' and _root.range == 'medium') {
action = 4;
}
if (_root.player == 'ken' and _root.range == 'short') {
action = 5;
}
if (_root.player == 'ryu' and _root.range2 == 'long') {
action = 3;
}
if (_root.player == 'ryu' and _root.range2 == 'medium') {
action = 4;
}
if (_root.player == 'ryu' and _root.range2 == 'short') {
action = 5;
}
}
frame 1649 {
stop();
if (action <= 0) {
gotoAndPlay('kenend');
}
if (_root.player == 'ryu' and _root.range2 == 'short' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('kensb');
}
if (_root.player == 'ryu' and _root.range2 == 'medium' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('kensb');
}
if (_root.player == 'ryu' and _root.range2 == 'long' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('kensa');
}
if (_root.player == 'ken' and _root.range == 'short' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('kensb');
}
if (_root.player == 'ken' and _root.range == 'medium' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('kensa');
}
if (_root.player == 'ken' and _root.range == 'long' and _root.player2.ki >= 6 and action > 0) {
gotoAndPlay('kensb');
}
if (_root.player2.ki < 6 and action > 0) {
randomnum = Math.round(Math.random() * 6) + 1;
if (randomnum <= 2) {
gotoAndPlay('kena');
}
if (randomnum == 3) {
gotoAndPlay('kenb');
}
if (randomnum == 4) {
gotoAndPlay('kenc');
}
if (randomnum == 5) {
gotoAndPlay('kend');
}
if (randomnum >= 6) {
gotoAndPlay('kene');
}
}
}
frame 1651 {
_root.engage.special = true;
power = 1;
}
frame 1671 {
_root.engage.special = false;
}
frame 1674 {
action -= 1;
gotoAndPlay('kenstance');
}
frame 1678 {
_root.engage.special = true;
power = 1;
}
frame 1698 {
_root.engage.special = false;
}
frame 1702 {
action -= 1;
gotoAndPlay('kenstance');
}
frame 1705 {
_root.engage.special = true;
power = 1;
}
frame 1725 {
_root.engage.special = false;
}
frame 1729 {
action -= 1;
gotoAndPlay('kenstance');
}
frame 1736 {
_root.engage.special = true;
power = 2;
}
frame 1756 {
_root.engage.special = false;
}
frame 1765 {
action -= 1;
gotoAndPlay('kenstance');
}
frame 1768 {
_root.engage.special = true;
power = 2;
}
frame 1788 {
_root.engage.special = false;
}
frame 1796 {
action -= 1;
gotoAndPlay('kenstance');
}
frame 1798 {
_root.engage.special = true;
}
frame 1820 {
_root.engage.special = false;
}
frame 1824 {
_root.engage.special = true;
power = 3;
}
frame 1844 {
_root.engage.special = false;
}
frame 1848 {
_root.engage.special = true;
power = 3;
}
frame 1868 {
_root.engage.special = false;
}
frame 1872 {
_root.engage.special = true;
power = 5;
}
frame 1892 {
_root.engage.special = false;
}
frame 1910 {
action -= 1;
_root.player2.ki -= 6;
gotoAndPlay('kenstance');
}
frame 1912 {
_root.engage.special = true;
}
frame 1934 {
_root.engage.special = false;
}
frame 1938 {
_root.engage.special = true;
power = 3;
}
frame 1958 {
_root.engage.special = false;
}
frame 1962 {
_root.engage.special = true;
power = 3;
}
frame 1982 {
_root.engage.special = false;
}
frame 1986 {
_root.engage.special = true;
power = 5;
}
frame 2006 {
_root.engage.special = false;
}
frame 2032 {
_root.engage.special = true;
power = 5;
}
frame 2052 {
_root.engage.special = false;
}
frame 2069 {
action -= 1;
_root.player2.ki -= 6;
gotoAndPlay('kenstance');
}
frame 2075 {
stop();
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player1.hp > 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player1.hp > 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('block');
}
if (_root.player1.hp <= 0 and _root.player == 'ken') {
_root.player1.gotoAndPlay('die');
}
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player3.hp > 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player3.hp > 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('block');
}
if (_root.player3.hp <= 0 and _root.player == 'ryu') {
_root.player3.gotoAndPlay('die');
}
_root.player2.ki += 2;
_root.engage.gotoAndPlay('stance');
}
frame 2085 {
if (_root.range == 'long') {
action = 3;
}
if (_root.range == 'medium') {
action = 4;
}
if (_root.range == 'short') {
action = 5;
}
}
frame 2090 {
stop();
if (action <= 0) {
gotoAndPlay('genend');
}
if (_root.range == 'short' and _root.player2.ki >= 7 and action > 0) {
gotoAndPlay('gensa');
}
if (_root.range == 'medium' and _root.player2.ki >= 7 and action > 0) {
gotoAndPlay('gensa');
}
if (_root.range == 'long' and _root.player2.ki >= 7 and action > 0) {
gotoAndPlay('gensb');
}
if (_root.player2.ki < 7 and action > 0) {
randomnum = Math.round(Math.random() * 6) + 1;
if (randomnum <= 2) {
gotoAndPlay('gena');
}
if (randomnum == 3) {
gotoAndPlay('genb');
}
if (randomnum == 4) {
gotoAndPlay('genc');
}
if (randomnum == 5) {
gotoAndPlay('gend');
}
if (randomnum >= 6) {
gotoAndPlay('gene');
}
}
}
frame 2093 {
_root.engage.special = true;
power = 1;
}
frame 2113 {
_root.engage.special = false;
}
frame 2119 {
action -= 1;
gotoAndPlay('genstance');
}
frame 2123 {
_root.engage.special = true;
power = 1;
}
frame 2143 {
_root.engage.special = false;
}
frame 2153 {
action -= 1;
gotoAndPlay('genstance');
}
frame 2159 {
_root.engage.special = true;
power = 1;
}
frame 2179 {
_root.engage.special = false;
}
frame 2186 {
action -= 1;
gotoAndPlay('genstance');
}
frame 2191 {
_root.engage.special = true;
power = 2;
}
frame 2211 {
_root.engage.special = false;
}
frame 2217 {
action -= 1;
gotoAndPlay('genstance');
}
frame 2220 {
_root.engage.special = true;
power = 2;
}
frame 2240 {
_root.engage.special = false;
}
frame 2250 {
_root.engage.special = true;
power = 2;
}
frame 2270 {
_root.engage.special = false;
}
frame 2284 {
action -= 2;
gotoAndPlay('genstance');
}
frame 2286 {
_root.engage.special = true;
}
frame 2308 {
_root.engage.special = false;
}
frame 2310 {
_root.engage.special = true;
power = 3;
}
frame 2330 {
_root.engage.special = false;
}
frame 2334 {
_root.engage.special = true;
power = 3;
}
frame 2354 {
_root.engage.special = false;
}
frame 2356 {
_root.engage.special = true;
power = 3;
}
frame 2376 {
_root.engage.special = false;
}
frame 2378 {
_root.engage.special = true;
power = 3;
}
frame 2398 {
_root.engage.special = false;
}
frame 2404 {
action -= 1;
_root.player2.ki -= 7;
gotoAndPlay('genstance');
}
frame 2406 {
_root.engage.special = true;
}
frame 2428 {
_root.engage.special = false;
}
frame 2436 {
_root.engage.special = true;
power = 6;
}
frame 2456 {
_root.engage.special = false;
}
frame 2466 {
_root.engage.special = true;
power = 6;
}
frame 2486 {
_root.engage.special = false;
}
frame 2505 {
action -= 1;
_root.player2.ki -= 7;
gotoAndPlay('genstance');
}
frame 2512 {
stop();
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player1.hp > 0) {
_root.player1.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player1.hp > 0) {
_root.player1.gotoAndPlay('block');
}
if (_root.player1.hp <= 0) {
_root.player1.gotoAndPlay('die');
}
_root.player2.ki += 2;
_root.engage.gotoAndPlay('stance');
}
}
movieClip 9412 {
frame 2 {
stop();
}
frame 4 {
stop();
}
}
movieClip 9414 {
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 9417 {
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 9421 {
frame 2 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
}
movieClip 9424 {
frame 2 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
}
movieClip 9429 {
frame 2 {
stop();
}
frame 4 {
stop();
}
}
movieClip 9434 {
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 9439 {
frame 2 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
}
movieClip 9445 {
frame 2 {
stop();
}
frame 4 {
stop();
}
frame 5 {
stop();
}
}
movieClip 9450 {
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 9451 {
frame 1 {
stop();
_root.styleaku = _root.styleken + _root.styleryu;
heavy = false;
straight = false;
high = false;
hadou = false;
tatsu = false;
shoryu = false;
gouhadou = false;
goushoryu = false;
matsu = false;
shun = false;
play();
}
instance of movieClip 9412 {
onClipEvent (enterFrame) {
if (_root.player1.ap < 4 or _root.engage.tech.straight == true) {
gotoAndPlay('off');
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'straight';
_root.player1.ap -= 4;
_root.engage.tech.straight = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'straight';
_root.player1.ap -= 4;
_root.engage.tech.straight = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'straight';
_root.player1.ap -= 4;
_root.engage.tech.straight = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'straight';
_root.player1.ap -= 4;
_root.engage.tech.straight = true;
_root.engage.action += 1;
}
}
}
}
};
}
}
instance of movieClip 9414 {
onClipEvent (enterFrame) {
if (_root.player1.ap < 4 or _root.engage.tech.high == true) {
gotoAndPlay('off');
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'high';
_root.player1.ap -= 4;
_root.engage.tech.high = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'high';
_root.player1.ap -= 4;
_root.engage.tech.high = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'high';
_root.player1.ap -= 4;
_root.engage.tech.high = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'high';
_root.player1.ap -= 4;
_root.engage.tech.high = true;
_root.engage.action += 1;
}
}
}
}
};
}
}
instance of movieClip 9417 {
onClipEvent (enterFrame) {
if (_root.player1.ap < 3 or _root.engage.tech.hadou == true) {
gotoAndPlay('off');
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'hadou';
_root.player1.ap -= 3;
_root.engage.tech.hadou = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'hadou';
_root.player1.ap -= 3;
_root.engage.tech.hadou = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'hadou';
_root.player1.ap -= 3;
_root.engage.tech.hadou = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'hadou';
_root.player1.ap -= 3;
_root.engage.tech.hadou = true;
_root.engage.action += 1;
}
}
}
}
};
}
}
instance of movieClip 9421 {
onClipEvent (enterFrame) {
if (_root.styleaku >= 4) {
if (_root.player1.ap >= 3 and _root.engage.tech.tatsu == false) {
gotoAndPlay('on');
}
if (_root.player1.ap < 3 or _root.engage.tech.tatsu == true) {
gotoAndPlay('off');
}
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'tatsu';
_root.player1.ap -= 3;
_root.engage.tech.tatsu = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'tatsu';
_root.player1.ap -= 3;
_root.engage.tech.tatsu = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'tatsu';
_root.player1.ap -= 3;
_root.engage.tech.tatsu = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'tatsu';
_root.player1.ap -= 3;
_root.engage.tech.tatsu = true;
_root.engage.action += 1;
}
}
}
}
};
}
}
instance of movieClip 9424 {
onClipEvent (enterFrame) {
if (_root.styleaku >= 5) {
if (_root.player1.ap >= 3 and _root.engage.tech.shoryu == false) {
gotoAndPlay('on');
}
if (_root.player1.ap < 3 or _root.engage.tech.shoryu == true) {
gotoAndPlay('off');
}
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'shoryu';
_root.player1.ap -= 3;
_root.engage.tech.tatsu = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'shoryu';
_root.player1.ap -= 3;
_root.engage.tech.tatsu = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'shoryu';
_root.player1.ap -= 3;
_root.engage.tech.tatsu = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'shoryu';
_root.player1.ap -= 3;
_root.engage.tech.tatsu = true;
_root.engage.action += 1;
}
}
}
}
};
}
}
instance of movieClip 9429 {
onClipEvent (enterFrame) {
if (_root.player1.ap < 4 or _root.engage.tech.heavy == true) {
gotoAndPlay('off');
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'heavy';
_root.player1.ap -= 4;
_root.engage.tech.heavy = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'heavy';
_root.player1.ap -= 4;
_root.engage.tech.heavy = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'heavy';
_root.player1.ap -= 4;
_root.engage.tech.heavy = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'heavy';
_root.player1.ap -= 4;
_root.engage.tech.heavy = true;
_root.engage.action += 1;
}
}
}
}
};
}
}
frame 3 {
stop();
arts.onRelease = function () {
gotoAndPlay('kenarts');
};
}
instance of movieClip 9434 {
onClipEvent (enterFrame) {
if (_root.player1.ap < 4 or _root.player1.ki < 7 or _root.engage.tech.goushoryu == true) {
gotoAndPlay('off');
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'goushoryu';
_root.player1.ap -= 3;
_root.player1.ki -= 7;
_root.engage.tech.goushoryu = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'goushoryu';
_root.player1.ap -= 3;
_root.player1.ki -= 7;
_root.engage.tech.goushoryu = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'goushoryu';
_root.player1.ap -= 3;
_root.player1.ki -= 7;
_root.engage.tech.goushoryu = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'goushoryu';
_root.player1.ap -= 3;
_root.player1.ki -= 7;
_root.engage.tech.goushoryu = true;
_root.engage.action += 1;
}
}
}
}
_root.engage.kiusata += 7;
};
}
}
instance of movieClip 9439 {
onClipEvent (enterFrame) {
if (_root.styleaku >= 6) {
if (_root.player1.ap >= 5 and _root.player1.ki >= 9 and _root.engage.tech.matsu == false) {
gotoAndPlay('on');
}
if (_root.player1.ap < 5 or _root.player1.ki < 9 or _root.engage.tech.matsu == true) {
gotoAndPlay('off');
}
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'matsu';
_root.player1.ap -= 5;
_root.player1.ki -= 9;
_root.engage.tech.matsu = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'matsu';
_root.player1.ap -= 5;
_root.player1.ki -= 9;
_root.engage.tech.matsu = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'matsu';
_root.player1.ap -= 5;
_root.player1.ki -= 9;
_root.engage.tech.matsu = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'matsu';
_root.player1.ap -= 5;
_root.player1.ki -= 9;
_root.engage.tech.matsu = true;
_root.engage.action += 1;
}
}
}
}
_root.engage.kiusata += 9;
};
}
}
instance of movieClip 9445 {
onClipEvent (enterFrame) {
if (_root.styleaku >= 7) {
if (_root.player1.ap >= 5 and _root.player1.ki >= 9 and _root.engage.tech.shun == false) {
gotoAndPlay('on');
}
if (_root.player1.ap < 5 or _root.player1.ki < 9 or _root.engage.tech.shun == true) {
gotoAndPlay('off');
}
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'shun';
_root.player1.ap -= 5;
_root.player1.ki -= 9;
_root.engage.tech.shun = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'shun';
_root.player1.ap -= 5;
_root.player1.ki -= 9;
_root.engage.tech.shun = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'shun';
_root.player1.ap -= 5;
_root.player1.ki -= 9;
_root.engage.tech.shun = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'shun';
_root.player1.ap -= 5;
_root.player1.ki -= 9;
_root.engage.tech.shun = true;
_root.engage.action += 1;
}
}
}
}
_root.engage.kiusata += 9;
};
}
}
instance of movieClip 9450 {
onClipEvent (enterFrame) {
if (_root.player1.ap < 4 or _root.player1.ki < 7 or _root.engage.tech.gouhadou == true) {
gotoAndPlay('off');
}
butt.onRelease = function () {
if (_root.engage.action == 0) {
_root.engage.action1 = 'gouhadou';
_root.player1.ap -= 3;
_root.player1.ki -= 7;
_root.engage.tech.gouhadou = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 1) {
_root.engage.action2 = 'gouhadou';
_root.player1.ap -= 3;
_root.player1.ki -= 7;
_root.engage.tech.gouhadou = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 2) {
_root.engage.action3 = 'gouhadou';
_root.player1.ap -= 3;
_root.player1.ki -= 7;
_root.engage.tech.gouhadou = true;
_root.engage.action += 1;
} else {
if (_root.engage.action == 3) {
_root.engage.action4 = 'gouhadou';
_root.player1.ap -= 3;
_root.player1.ki -= 7;
_root.engage.tech.gouhadou = true;
_root.engage.action += 1;
}
}
}
}
_root.engage.kiusata += 7;
};
}
}
frame 5 {
stop();
combo.onRelease = function () {
gotoAndPlay('kencombo');
};
}
}
movieClip 9551 {
frame 1 {
caricaki = 0;
}
frame 3 {
if (caricaki == 0) {
_root.player1.ki += _root.engage.action;
caricaki += 1;
}
if (_root.engage.action > 0 and _root.engage.action1 == 'heavy') {
gotoAndPlay('heavy');
}
if (_root.engage.action > 0 and _root.engage.action1 == 'straight') {
gotoAndPlay('straight');
}
if (_root.engage.action > 0 and _root.engage.action1 == 'high') {
gotoAndPlay('high');
}
if (_root.engage.action > 0 and _root.engage.action1 == 'hadou') {
gotoAndPlay('hadou');
}
if (_root.engage.action > 0 and _root.engage.action1 == 'tatsu') {
gotoAndPlay('tatsu');
}
if (_root.engage.action > 0 and _root.engage.action1 == 'shoryu') {
gotoAndPlay('shoryu');
}
if (_root.engage.action > 0 and _root.engage.action1 == 'gouhadou') {
gotoAndPlay('gouhadou');
}
if (_root.engage.action > 0 and _root.engage.action1 == 'goushoryu') {
gotoAndPlay('goushoryu');
}
if (_root.engage.action > 0 and _root.engage.action1 == 'matsu') {
gotoAndPlay('matsu');
}
if (_root.engage.action > 0 and _root.engage.action1 == 'shun') {
gotoAndPlay('shun');
}
}
frame 4 {
if (_root.engage.action > 0 and _root.engage.action2 == 'heavy') {
gotoAndPlay('heavy');
}
if (_root.engage.action > 0 and _root.engage.action2 == 'straight') {
gotoAndPlay('straight');
}
if (_root.engage.action > 0 and _root.engage.action2 == 'high') {
gotoAndPlay('high');
}
if (_root.engage.action > 0 and _root.engage.action2 == 'hadou') {
gotoAndPlay('hadou');
}
if (_root.engage.action > 0 and _root.engage.action2 == 'tatsu') {
gotoAndPlay('tatsu');
}
if (_root.engage.action > 0 and _root.engage.action2 == 'shoryu') {
gotoAndPlay('shoryu');
}
if (_root.engage.action > 0 and _root.engage.action2 == 'gouhadou') {
gotoAndPlay('gouhadou');
}
if (_root.engage.action > 0 and _root.engage.action2 == 'goushoryu') {
gotoAndPlay('goushoryu');
}
if (_root.engage.action > 0 and _root.engage.action2 == 'matsu') {
gotoAndPlay('matsu');
}
if (_root.engage.action > 0 and _root.engage.action2 == 'shun') {
gotoAndPlay('shun');
}
}
frame 5 {
if (_root.engage.action > 0 and _root.engage.action3 == 'heavy') {
gotoAndPlay('heavy');
}
if (_root.engage.action > 0 and _root.engage.action3 == 'straight') {
gotoAndPlay('straight');
}
if (_root.engage.action > 0 and _root.engage.action3 == 'high') {
gotoAndPlay('high');
}
if (_root.engage.action > 0 and _root.engage.action3 == 'hadou') {
gotoAndPlay('hadou');
}
if (_root.engage.action > 0 and _root.engage.action3 == 'tatsu') {
gotoAndPlay('tatsu');
}
if (_root.engage.action > 0 and _root.engage.action3 == 'shoryu') {
gotoAndPlay('shoryu');
}
if (_root.engage.action > 0 and _root.engage.action3 == 'gouhadou') {
gotoAndPlay('gouhadou');
}
if (_root.engage.action > 0 and _root.engage.action3 == 'goushoryu') {
gotoAndPlay('goushoryu');
}
if (_root.engage.action > 0 and _root.engage.action3 == 'matsu') {
gotoAndPlay('matsu');
}
if (_root.engage.action > 0 and _root.engage.action3 == 'shun') {
gotoAndPlay('shun');
}
}
frame 6 {
gotoAndPlay('end');
}
frame 10 {
_root.engage.special = true;
power = 1;
}
frame 24 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 26 {
success = false;
}
frame 38 {
_root.engage.special = true;
power = 1;
}
frame 52 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 54 {
success = false;
}
frame 68 {
_root.engage.special = true;
power = 1;
}
frame 82 {
_root.engage.special = false;
if (_root.engage.direzione == 'bassa') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 84 {
success = false;
}
frame 93 {
_root.engage.special = true;
power = 2;
}
frame 107 {
_root.engage.special = false;
if (_root.engage.direzione == 'bassa') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 113 {
success = false;
}
frame 126 {
_root.engage.action -= 1;
if (_root.engage.action1 == 'heavy') {
_root.engage.action1 = 'no';
}
if (_root.engage.action2 == 'heavy') {
_root.engage.action2 = 'no';
}
if (_root.engage.action3 == 'heavy') {
_root.engage.action3 = 'no';
}
gotoAndPlay('stance');
}
frame 130 {
_root.engage.special = true;
power = 1;
}
frame 144 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 146 {
success = false;
}
frame 159 {
_root.engage.special = true;
power = 1;
}
frame 173 {
_root.engage.special = false;
if (_root.engage.direzione == 'bassa') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 175 {
success = false;
}
frame 185 {
_root.engage.special = true;
power = 1;
}
frame 199 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 201 {
success = false;
}
frame 215 {
_root.engage.special = true;
power = 2;
}
frame 229 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 231 {
success = false;
}
frame 245 {
_root.engage.action -= 1;
if (_root.engage.action1 == 'straight') {
_root.engage.action1 = 'no';
}
if (_root.engage.action2 == 'straight') {
_root.engage.action2 = 'no';
}
if (_root.engage.action3 == 'straight') {
_root.engage.action3 = 'no';
}
gotoAndPlay('stance');
}
frame 249 {
_root.engage.special = true;
power = 1;
}
frame 263 {
_root.engage.special = false;
if (_root.engage.direzione == 'bassa') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 265 {
success = false;
}
frame 275 {
_root.engage.special = true;
power = 1;
}
frame 289 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 291 {
success = false;
}
frame 303 {
_root.engage.special = true;
power = 1;
}
frame 317 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 319 {
success = false;
}
frame 337 {
_root.engage.special = true;
power = 2;
}
frame 351 {
_root.engage.special = false;
if (_root.engage.direzione == 'alta') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 355 {
success = false;
}
frame 372 {
_root.engage.action -= 1;
if (_root.engage.action1 == 'high') {
_root.engage.action1 = 'no';
}
if (_root.engage.action2 == 'high') {
_root.engage.action2 = 'no';
}
if (_root.engage.action3 == 'high') {
_root.engage.action3 = 'no';
}
gotoAndPlay('stance');
}
frame 376 {
_root.engage.special = true;
power = 1;
}
frame 390 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 392 {
success = false;
}
frame 408 {
_root.engage.special = true;
power = 3;
}
frame 422 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 424 {
success = false;
}
frame 433 {
_root.engage.special = true;
power = 3;
}
frame 447 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 449 {
success = false;
}
frame 466 {
_root.engage.action -= 1;
if (_root.engage.action1 == 'hadou') {
_root.engage.action1 = 'no';
}
if (_root.engage.action2 == 'hadou') {
_root.engage.action2 = 'no';
}
if (_root.engage.action3 == 'hadou') {
_root.engage.action3 = 'no';
}
gotoAndPlay('stance');
}
frame 470 {
_root.engage.special = true;
power = 1;
}
frame 484 {
_root.engage.special = false;
if (_root.engage.direzione == 'alta') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 486 {
success = false;
}
frame 500 {
_root.engage.special = true;
power = 3;
}
frame 514 {
_root.engage.special = false;
if (_root.engage.direzione == 'alta') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 516 {
success = false;
}
frame 524 {
_root.engage.special = true;
power = 3;
}
frame 538 {
_root.engage.special = false;
if (_root.engage.direzione == 'alta') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 540 {
success = false;
}
frame 549 {
_root.engage.action -= 1;
if (_root.engage.action1 == 'tatsu') {
_root.engage.action1 = 'no';
}
if (_root.engage.action2 == 'tatsu') {
_root.engage.action2 = 'no';
}
if (_root.engage.action3 == 'tatsu') {
_root.engage.action3 = 'no';
}
gotoAndPlay('stance');
}
frame 553 {
_root.engage.special = true;
power = 1;
}
frame 567 {
_root.engage.special = false;
if (_root.engage.direzione == 'bassa') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 569 {
success = false;
}
frame 577 {
_root.engage.special = true;
power = 3;
}
frame 591 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 593 {
success = false;
}
frame 595 {
_root.engage.special = true;
power = 3;
}
frame 609 {
_root.engage.special = false;
if (_root.engage.direzione == 'alta') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 611 {
success = false;
}
frame 642 {
_root.engage.action -= 1;
if (_root.engage.action1 == 'shoryu') {
_root.engage.action1 = 'no';
}
if (_root.engage.action2 == 'shoryu') {
_root.engage.action2 = 'no';
}
if (_root.engage.action3 == 'shoryu') {
_root.engage.action3 = 'no';
}
gotoAndPlay('stance');
}
frame 644 {
_root.engage.special = true;
}
frame 678 {
_root.engage.special = false;
}
frame 686 {
_root.engage.special = true;
power = 3;
}
frame 700 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 702 {
success = false;
}
frame 708 {
_root.engage.special = true;
power = 3;
}
frame 722 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 724 {
success = false;
}
frame 730 {
_root.engage.special = true;
power = 6;
}
frame 744 {
_root.engage.special = false;
if (_root.engage.direzione == 'media') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 746 {
success = false;
}
frame 754 {
_root.engage.action -= 1;
if (_root.engage.action1 == 'gouhadou') {
_root.engage.action1 = 'no';
}
if (_root.engage.action2 == 'gouhadou') {
_root.engage.action2 = 'no';
}
if (_root.engage.action3 == 'gouhadou') {
_root.engage.action3 = 'no';
}
gotoAndPlay('stance');
}
frame 756 {
_root.engage.special = true;
}
frame 790 {
_root.engage.special = false;
}
frame 794 {
_root.engage.special = true;
power = 3;
}
frame 808 {
_root.engage.special = false;
if (_root.engage.direzione == 'bassa') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 810 {
success = false;
}
frame 812 {
_root.engage.special = true;
power = 3;
}
frame 826 {
_root.engage.special = false;
if (_root.engage.direzione == 'alta') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 828 {
success = false;
}
frame 863 {
_root.engage.special = true;
power = 3;
}
frame 877 {
_root.engage.special = false;
if (_root.engage.direzione == 'bassa') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 879 {
success = false;
}
frame 881 {
_root.engage.special = true;
power = 3;
}
frame 895 {
_root.engage.special = false;
if (_root.engage.direzione == 'alta') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 897 {
success = false;
}
frame 929 {
_root.engage.action -= 1;
if (_root.engage.action1 == 'goushoryu') {
_root.engage.action1 = 'no';
}
if (_root.engage.action2 == 'goushoryu') {
_root.engage.action2 = 'no';
}
if (_root.engage.action3 == 'goushoryu') {
_root.engage.action3 = 'no';
}
gotoAndPlay('stance');
}
frame 931 {
_root.engage.special = true;
}
frame 951 {
_root.engage.special = false;
}
frame 963 {
_root.engage.special = true;
power = 3;
}
frame 977 {
_root.engage.special = false;
if (_root.engage.direzione == 'bassa') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 986 {
success = false;
}
frame 999 {
_root.engage.special = true;
power = 3;
}
frame 1013 {
_root.engage.special = false;
if (_root.engage.direzione == 'bassa') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 1015 {
success = false;
}
frame 1020 {
_root.engage.special = true;
power = 3;
}
frame 1034 {
_root.engage.special = false;
if (_root.engage.direzione == 'bassa') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 1036 {
success = false;
}
frame 1047 {
_root.engage.special = true;
power = 6;
}
frame 1061 {
_root.engage.special = false;
if (_root.engage.direzione == 'bassa') {
success = true;
_root.engage.direzione = 'no';
} else {
success = false;
_root.engage.direzione = 'no';
}
}
frame 1063 {
success = false;
}
frame 1135 {
_root.engage.action -= 1;
if (_root.engage.action1 == 'matsu') {
_root.engage.action1 = 'no';
}
if (_root.engage.action2 == 'matsu') {
_root.engage.action2 = 'no';
}
if (_root.engage.action3 == 'matsu') {
_root.engage.action3 = 'no';
}
gotoAndPlay('stance');
}
frame 1137 {
_root.engage.special = true;
}
frame 1171 {
_root.engage.special = false;
}
frame 1222 {
_root.engage.special = false;
success = true;
_root.engage.direzione = 'no';
power = _root.player2.hp;
}
frame 1283 {
_root.engage.action -= 1;
if (_root.engage.action1 == 'shun') {
_root.engage.action1 = 'no';
}
if (_root.engage.action2 == 'shun') {
_root.engage.action2 = 'no';
}
if (_root.engage.action3 == 'shun') {
_root.engage.action3 = 'no';
}
gotoAndPlay('stance');
}
frame 1296 {
if (_root.engage.totaldanno > _root.engage.totaldannofocus and _root.player2.hp > 0) {
_root.player2.gotoAndPlay('fall');
}
if (_root.engage.totaldanno <= _root.engage.totaldannofocus and _root.player2.hp > 0) {
_root.player2.gotoAndPlay('block');
}
if (_root.player2.hp <= 0) {
_root.player2.gotoAndPlay('die');
}
_root.engage.gotoAndPlay('stance');
}
}
movieClip 9552 {
frame 7 {
stop();
special = false;
direzione = 'no';
someListener = new Object();
someListener.onKeyDown = function () {
if (Key.isDown(38) and special == true) {
direzione = 'alta';
} else {
if (Key.isDown(39) and special == true) {
direzione = 'media';
} else {
if (Key.isDown(40) and special == true) {
direzione = 'bassa';
}
}
}
};
Key.addListener(someListener);
}
frame 8 {
stop();
if (_root.player == 'ken' and _root.turn == 2) {
gotoAndPlay('ken');
}
if (_root.player == 'ryu' and _root.turn == 2) {
gotoAndPlay('ryu');
}
if (_root.player == 'aku' and _root.turn == 2) {
gotoAndPlay('aku');
}
if (_root.turn == 4) {
gotoAndPlay('defend');
}
}
frame 22 {
stop();
kiusata = 0;
attack.onRelease = function () {
if (action >= 1) {
gotoAndPlay('kenattack');
totaldanno = 0;
totaldannofocus = 0;
}
};
beck.onRelease = function () {
_root.player1.ki += kiusata;
_root.engage.gotoAndPlay('stance');
_root.dannomenu.gotoAndPlay('choose');
};
if (_root.range == 'short') {
_root.player1.ap = _root.player1.maxap;
} else {
if (_root.range == 'medium') {
_root.player1.ap = 6;
} else {
if (_root.range == 'long') {
_root.player1.ap = 4;
}
}
}
action = 0;
action1 = 'no';
action2 = 'no';
action3 = 'no';
action4 = 'no';
}
instance of movieClip 1855 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.range == 'no') {
gotoAndPlay('no');
}
if (_root.range == 'long') {
gotoAndPlay('long');
}
if (_root.range == 'medium') {
gotoAndPlay('medium');
}
if (_root.range == 'short') {
gotoAndPlay('short');
}
}
if (_root.player == 'ryu') {
if (_root.range2 == 'no') {
gotoAndPlay('no');
}
if (_root.range2 == 'long') {
gotoAndPlay('long');
}
if (_root.range2 == 'medium') {
gotoAndPlay('medium');
}
if (_root.range2 == 'short') {
gotoAndPlay('short');
}
}
}
}
instance of movieClip 1909 {
onClipEvent (enterFrame) {
if (_root.engage.action1 == 'no') {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1911 {
onClipEvent (enterFrame) {
if (_root.engage.action2 == 'no') {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1913 {
onClipEvent (enterFrame) {
if (_root.engage.action3 == 'no') {
this._visible = false;
} else {
this._visible = true;
}
}
}
frame 36 {
stop();
kiusata = 0;
attack.onRelease = function () {
if (action >= 1) {
gotoAndPlay('ryuattack');
totaldanno = 0;
totaldannofocus = 0;
}
};
beck.onRelease = function () {
_root.player3.ki += kiusata;
_root.dannomenu.gotoAndPlay('choose');
_root.engage.gotoAndPlay('stance');
};
if (_root.range2 == 'short') {
_root.player3.ap = _root.player3.maxap;
} else {
if (_root.range2 == 'medium') {
_root.player3.ap = 5;
} else {
if (_root.range2 == 'long') {
_root.player3.ap = 3;
}
}
}
action = 0;
action1 = 'no';
action2 = 'no';
action3 = 'no';
action4 = 'no';
}
instance bar of movieClip 1906 {
onClipEvent (enterFrame) {
this._width = (_root.player3.ap / _root.player3.maxap) * 700;
}
}
instance of movieClip 1855 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.range == 'no') {
gotoAndPlay('no');
}
if (_root.range == 'long') {
gotoAndPlay('long');
}
if (_root.range == 'medium') {
gotoAndPlay('medium');
}
if (_root.range == 'short') {
gotoAndPlay('short');
}
}
if (_root.player == 'ryu') {
if (_root.range2 == 'no') {
gotoAndPlay('no');
}
if (_root.range2 == 'long') {
gotoAndPlay('long');
}
if (_root.range2 == 'medium') {
gotoAndPlay('medium');
}
if (_root.range2 == 'short') {
gotoAndPlay('short');
}
}
}
}
instance of movieClip 1909 {
onClipEvent (enterFrame) {
if (_root.engage.action1 == 'no') {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1911 {
onClipEvent (enterFrame) {
if (_root.engage.action2 == 'no') {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1913 {
onClipEvent (enterFrame) {
if (_root.engage.action3 == 'no') {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance sfondo of movieClip 5498 {
onClipEvent (enterFrame) {
if (_root.engage.special == true) {
gotoAndPlay('special');
} else {
gotoAndPlay('stance');
}
}
}
instance of movieClip 8799 {
onClipEvent (enterFrame) {
if (_root.player2.stun == false and _root.engage.player.success == true) {
if (_root.engage.player.highhit.hitTest(this) and _root.level == 15) {
gotoAndPlay('akublockalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 15) {
gotoAndPlay('akublockmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 15) {
gotoAndPlay('akublockbasso');
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 16) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('eviblockalto');
} else {
gotoAndPlay('evihitalto');
}
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 16) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('eviblockmedio');
} else {
gotoAndPlay('evihitmedio');
}
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 16) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('eviblockbasso');
} else {
gotoAndPlay('evihitbasso');
}
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 17) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('kenblockalto');
} else {
gotoAndPlay('kenhitalto');
}
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 17) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('kenblockmedio');
} else {
gotoAndPlay('kenhitmedio');
}
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 17) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('kenblockbasso');
} else {
gotoAndPlay('kenhitbasso');
}
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 18) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('ryublockalto');
} else {
gotoAndPlay('ryuhitalto');
}
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 18) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('ryublockmedio');
} else {
gotoAndPlay('ryuhitmedio');
}
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 18) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('ryublockbasso');
} else {
gotoAndPlay('ryuhitbasso');
}
}
} else {
if (_root.player2.stun == false and _root.engage.player.success == false) {
if ((_root.engage.player.highhit.hitTest(this) or _root.engage.player.midhit.hitTest(this) or _root.engage.player.lowhit.hitTest(this)) and _root.level == 15) {
gotoAndPlay('akuevade');
}
if ((_root.engage.player.highhit.hitTest(this) or _root.engage.player.midhit.hitTest(this) or _root.engage.player.lowhit.hitTest(this)) and _root.level == 16) {
gotoAndPlay('evievade');
}
if ((_root.engage.player.highhit.hitTest(this) or _root.engage.player.midhit.hitTest(this) or _root.engage.player.lowhit.hitTest(this)) and _root.level == 17) {
gotoAndPlay('kenevade');
}
if ((_root.engage.player.highhit.hitTest(this) or _root.engage.player.midhit.hitTest(this) or _root.engage.player.lowhit.hitTest(this)) and _root.level == 18) {
gotoAndPlay('ryuevade');
}
} else {
if (_root.player2.stun == true) {
if (_root.engage.player.highhit.hitTest(this) and _root.level == 15) {
gotoAndPlay('akuhitalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 15) {
gotoAndPlay('akuhitmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 15) {
gotoAndPlay('akuhitbasso');
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 16) {
gotoAndPlay('evihitalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 16) {
gotoAndPlay('evihitmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 16) {
gotoAndPlay('evihitbasso');
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 17) {
gotoAndPlay('kenhitalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 17) {
gotoAndPlay('kenhitmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 17) {
gotoAndPlay('kenhitbasso');
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 18) {
gotoAndPlay('ryuhitalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 18) {
gotoAndPlay('ryuhitmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 18) {
gotoAndPlay('ryuhitbasso');
}
}
}
}
}
}
frame 57 {
stop();
}
instance sfondo of movieClip 5498 {
onClipEvent (enterFrame) {
if (_root.engage.special == true) {
gotoAndPlay('special');
}
if (_root.engage.special == false) {
gotoAndPlay('stance');
}
}
}
instance of movieClip 8799 {
onClipEvent (enterFrame) {
if (_root.player2.stun == false and _root.engage.player.success == true) {
if (_root.engage.player.highhit.hitTest(this) and _root.level == 15) {
gotoAndPlay('akublockalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 15) {
gotoAndPlay('akublockmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 15) {
gotoAndPlay('akublockbasso');
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 16) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('eviblockalto');
} else {
gotoAndPlay('evihitalto');
}
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 16) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('eviblockmedio');
} else {
gotoAndPlay('evihitmedio');
}
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 16) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('eviblockbasso');
} else {
gotoAndPlay('evihitbasso');
}
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 17) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('kenblockalto');
} else {
gotoAndPlay('kenhitalto');
}
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 17) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('kenblockmedio');
} else {
gotoAndPlay('kenhitmedio');
}
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 17) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('kenblockbasso');
} else {
gotoAndPlay('kenhitbasso');
}
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 18) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('ryublockalto');
} else {
gotoAndPlay('ryuhitalto');
}
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 18) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('ryublockmedio');
} else {
gotoAndPlay('ryuhitmedio');
}
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 18) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('ryublockbasso');
} else {
gotoAndPlay('ryuhitbasso');
}
}
} else {
if (_root.player2.stun == false and _root.engage.player.success == false) {
if ((_root.engage.player.highhit.hitTest(this) or _root.engage.player.midhit.hitTest(this) or _root.engage.player.lowhit.hitTest(this)) and _root.level == 15) {
gotoAndPlay('akuevade');
}
if ((_root.engage.player.highhit.hitTest(this) or _root.engage.player.midhit.hitTest(this) or _root.engage.player.lowhit.hitTest(this)) and _root.level == 16) {
gotoAndPlay('evievade');
}
if ((_root.engage.player.highhit.hitTest(this) or _root.engage.player.midhit.hitTest(this) or _root.engage.player.lowhit.hitTest(this)) and _root.level == 17) {
gotoAndPlay('kenevade');
}
if ((_root.engage.player.highhit.hitTest(this) or _root.engage.player.midhit.hitTest(this) or _root.engage.player.lowhit.hitTest(this)) and _root.level == 18) {
gotoAndPlay('ryuevade');
}
} else {
if (_root.player2.stun == true) {
if (_root.engage.player.highhit.hitTest(this) and _root.level == 15) {
gotoAndPlay('akuhitalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 15) {
gotoAndPlay('akuhitmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 15) {
gotoAndPlay('akuhitbasso');
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 16) {
gotoAndPlay('evihitalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 16) {
gotoAndPlay('evihitmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 16) {
gotoAndPlay('evihitbasso');
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 17) {
gotoAndPlay('kenhitalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 17) {
gotoAndPlay('kenhitmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 17) {
gotoAndPlay('kenhitbasso');
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 18) {
gotoAndPlay('ryuhitalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 18) {
gotoAndPlay('ryuhitmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 18) {
gotoAndPlay('ryuhitbasso');
}
}
}
}
}
}
frame 78 {
stop();
}
frame 90 {
stop();
totaldanno = 0;
totaldannofocus = 0;
}
instance player of movieClip 5910 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.engage.enemy.highhit.hitTest(this) and _root.engage.direzione == 'alta' and _root.player1.stun == false) {
gotoAndPlay('kenblockalto');
} else {
if (_root.engage.enemy.highhit.hitTest(this) and (_root.engage.direzione != 'alta' or _root.player1.stun == true)) {
gotoAndPlay('kenhitalto');
}
}
if (_root.engage.enemy.midhit.hitTest(this) and _root.engage.direzione == 'media' and _root.player1.stun == false) {
gotoAndPlay('kenblockmedio');
} else {
if (_root.engage.enemy.midhit.hitTest(this) and (_root.engage.direzione != 'media' or _root.player1.stun == true)) {
gotoAndPlay('kenhitmedio');
}
}
if (_root.engage.enemy.lowhit.hitTest(this) and _root.engage.direzione == 'bassa' and _root.player1.stun == false) {
gotoAndPlay('kenblockbasso');
} else {
if (_root.engage.enemy.lowhit.hitTest(this) and (_root.engage.direzione != 'bassa' or _root.player1.stun == true)) {
gotoAndPlay('kenhitbasso');
}
}
}
if (_root.player == 'ryu') {
if (_root.engage.enemy.highhit.hitTest(this) and _root.engage.direzione == 'alta' and _root.player3.stun == false) {
gotoAndPlay('ryublockalto');
} else {
if (_root.engage.enemy.highhit.hitTest(this) and (_root.engage.direzione != 'alta' or _root.player3.stun == true)) {
gotoAndPlay('ryuhitalto');
}
}
if (_root.engage.enemy.midhit.hitTest(this) and _root.engage.direzione == 'media' and _root.player3.stun == false) {
gotoAndPlay('ryublockmedio');
} else {
if (_root.engage.enemy.midhit.hitTest(this) and (_root.engage.direzione != 'media' or _root.player3.stun == true)) {
gotoAndPlay('ryuhitmedio');
}
}
if (_root.engage.enemy.lowhit.hitTest(this) and _root.engage.direzione == 'bassa' and _root.player3.stun == false) {
gotoAndPlay('ryublockbasso');
} else {
if (_root.engage.enemy.lowhit.hitTest(this) and (_root.engage.direzione != 'bassa' or _root.player3.stun == true)) {
gotoAndPlay('ryuhitbasso');
}
}
}
if (_root.player == 'aku') {
if (_root.engage.enemy.highhit.hitTest(this) and _root.engage.direzione == 'alta' and _root.player1.stun == false) {
gotoAndPlay('akublockalto');
} else {
if (_root.engage.enemy.highhit.hitTest(this) and (_root.engage.direzione != 'alta' or _root.player1.stun == true)) {
gotoAndPlay('akuhitalto');
}
}
if (_root.engage.enemy.midhit.hitTest(this) and _root.engage.direzione == 'media' and _root.player1.stun == false) {
gotoAndPlay('akublockmedio');
} else {
if (_root.engage.enemy.midhit.hitTest(this) and (_root.engage.direzione != 'media' or _root.player1.stun == true)) {
gotoAndPlay('akuhitmedio');
}
}
if (_root.engage.enemy.lowhit.hitTest(this) and _root.engage.direzione == 'bassa' and _root.player1.stun == false) {
gotoAndPlay('akublockbasso');
} else {
if (_root.engage.enemy.lowhit.hitTest(this) and (_root.engage.direzione != 'bassa' or _root.player1.stun == true)) {
gotoAndPlay('akuhitbasso');
}
}
}
}
}
frame 104 {
stop();
kiusata = 0;
attack.onRelease = function () {
if (action >= 1) {
gotoAndPlay('akuattack');
totaldanno = 0;
totaldannofocus = 0;
}
};
beck.onRelease = function () {
_root.player1.ki += kiusata;
_root.engage.gotoAndPlay('stance');
_root.dannomenu.gotoAndPlay('choose');
};
if (_root.range == 'short') {
_root.player1.ap = _root.player1.maxap;
} else {
if (_root.range == 'medium') {
_root.player1.ap = 8;
} else {
if (_root.range == 'long') {
_root.player1.ap = 6;
}
}
}
action = 0;
action1 = 'no';
action2 = 'no';
action3 = 'no';
action4 = 'no';
}
instance of movieClip 1855 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.range == 'no') {
gotoAndPlay('no');
}
if (_root.range == 'long') {
gotoAndPlay('long');
}
if (_root.range == 'medium') {
gotoAndPlay('medium');
}
if (_root.range == 'short') {
gotoAndPlay('short');
}
}
if (_root.player == 'ryu') {
if (_root.range2 == 'no') {
gotoAndPlay('no');
}
if (_root.range2 == 'long') {
gotoAndPlay('long');
}
if (_root.range2 == 'medium') {
gotoAndPlay('medium');
}
if (_root.range2 == 'short') {
gotoAndPlay('short');
}
}
}
}
instance of movieClip 1909 {
onClipEvent (enterFrame) {
if (_root.engage.action1 == 'no') {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1911 {
onClipEvent (enterFrame) {
if (_root.engage.action2 == 'no') {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1913 {
onClipEvent (enterFrame) {
if (_root.engage.action3 == 'no') {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance sfondo of movieClip 5498 {
onClipEvent (enterFrame) {
if (_root.engage.special == true) {
gotoAndPlay('special');
} else {
gotoAndPlay('stance');
}
}
}
instance of movieClip 8799 {
onClipEvent (enterFrame) {
if (_root.player2.stun == false and _root.engage.player.success == true) {
if (_root.engage.player.highhit.hitTest(this) and _root.level == 15) {
gotoAndPlay('akublockalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 15) {
gotoAndPlay('akublockmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 15) {
gotoAndPlay('akublockbasso');
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 16) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('eviblockalto');
} else {
gotoAndPlay('evihitalto');
}
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 16) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('eviblockmedio');
} else {
gotoAndPlay('evihitmedio');
}
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 16) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('eviblockbasso');
} else {
gotoAndPlay('evihitbasso');
}
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 17) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('kenblockalto');
} else {
gotoAndPlay('kenhitalto');
}
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 17) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('kenblockmedio');
} else {
gotoAndPlay('kenhitmedio');
}
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 17) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('kenblockbasso');
} else {
gotoAndPlay('kenhitbasso');
}
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 18) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('ryublockalto');
} else {
gotoAndPlay('ryuhitalto');
}
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 18) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('ryublockmedio');
} else {
gotoAndPlay('ryuhitmedio');
}
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 18) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('ryublockbasso');
} else {
gotoAndPlay('ryuhitbasso');
}
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 19) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('genblockalto');
} else {
gotoAndPlay('genhitalto');
}
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 19) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('genblockmedio');
} else {
gotoAndPlay('genhitmedio');
}
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 19) {
randomnum = Math.round(Math.random() * 10) + _root.difficolta;
if (randomnum <= 9) {
gotoAndPlay('genblockbasso');
} else {
gotoAndPlay('genhitbasso');
}
}
} else {
if (_root.player2.stun == false and _root.engage.player.success == false) {
if ((_root.engage.player.highhit.hitTest(this) or _root.engage.player.midhit.hitTest(this) or _root.engage.player.lowhit.hitTest(this)) and _root.level == 15) {
gotoAndPlay('akuevade');
}
if ((_root.engage.player.highhit.hitTest(this) or _root.engage.player.midhit.hitTest(this) or _root.engage.player.lowhit.hitTest(this)) and _root.level == 16) {
gotoAndPlay('evievade');
}
if ((_root.engage.player.highhit.hitTest(this) or _root.engage.player.midhit.hitTest(this) or _root.engage.player.lowhit.hitTest(this)) and _root.level == 17) {
gotoAndPlay('kenevade');
}
if ((_root.engage.player.highhit.hitTest(this) or _root.engage.player.midhit.hitTest(this) or _root.engage.player.lowhit.hitTest(this)) and _root.level == 18) {
gotoAndPlay('ryuevade');
}
if ((_root.engage.player.highhit.hitTest(this) or _root.engage.player.midhit.hitTest(this) or _root.engage.player.lowhit.hitTest(this)) and _root.level == 19) {
gotoAndPlay('genevade');
}
} else {
if (_root.player2.stun == true) {
if (_root.engage.player.highhit.hitTest(this) and _root.level == 15) {
gotoAndPlay('akuhitalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 15) {
gotoAndPlay('akuhitmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 15) {
gotoAndPlay('akuhitbasso');
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 16) {
gotoAndPlay('evihitalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 16) {
gotoAndPlay('evihitmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 16) {
gotoAndPlay('evihitbasso');
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 17) {
gotoAndPlay('kenhitalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 17) {
gotoAndPlay('kenhitmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 17) {
gotoAndPlay('kenhitbasso');
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 18) {
gotoAndPlay('ryuhitalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 18) {
gotoAndPlay('ryuhitmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 18) {
gotoAndPlay('ryuhitbasso');
}
if (_root.engage.player.highhit.hitTest(this) and _root.level == 19) {
gotoAndPlay('genhitalto');
}
if (_root.engage.player.midhit.hitTest(this) and _root.level == 19) {
gotoAndPlay('genhitmedio');
}
if (_root.engage.player.lowhit.hitTest(this) and _root.level == 19) {
gotoAndPlay('genhitbasso');
}
}
}
}
}
}
frame 145 {
stop();
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.players == 1 and _root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.players == 1 and _root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
if (_root.players == 2 and _root.player == 'ken') {
gotoAndPlay('kendoppio');
}
if (_root.players == 2 and _root.player == 'ryu') {
gotoAndPlay('ryudoppio');
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.players == 1 and _root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.players == 1 and _root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
if (_root.players == 2 and _root.player == 'ken') {
gotoAndPlay('kendoppio');
}
if (_root.players == 2 and _root.player == 'ryu') {
gotoAndPlay('ryudoppio');
}
}
}
frame 363 {
stop();
turn = 0;
raunds = 1;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player1.dead == true and player3.dead == true) {
gotoAndPlay('ko15');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko15');
risultato = 'vinci';
}
distanza = player2._x - player1._x;
distanza2 = player2._x - player3._x;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
frame 366 {
stop();
}
movieClip 9555 {
frame 35 {
stop();
if (_root.risultato == 'vinci' and _root.livello15b == false) {
_root.livello15b = true;
_root.livello15 = true;
_root.gotoAndPlay('postlevel15');
} else {
if (_root.risultato == 'vinci' and _root.livello15b == true) {
_root.livello15 = true;
_root.gotoAndPlay('postlevel15');
} else {
if (_root.risultato == 'perdi') {
_root.livello15 = true;
_root.gotoAndPlay('postlevel15');
}
}
}
}
}
frame 367 {
stop();
risultato = 'pari';
players = 2;
player = 'ken';
level = 16;
enemywin = 0;
playerwin = 0;
range = 'no';
range2 = 'no';
play();
}
movieClip 9556 {
frame 2 {
stop();
}
frame 11 {
stop();
}
}
instance of movieClip 1855 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.range == 'no') {
gotoAndPlay('no');
}
if (_root.range == 'long') {
gotoAndPlay('long');
}
if (_root.range == 'medium') {
gotoAndPlay('medium');
}
if (_root.range == 'short') {
gotoAndPlay('short');
}
}
if (_root.player == 'ryu') {
if (_root.range2 == 'no') {
gotoAndPlay('no');
}
if (_root.range2 == 'long') {
gotoAndPlay('long');
}
if (_root.range2 == 'medium') {
gotoAndPlay('medium');
}
if (_root.range2 == 'short') {
gotoAndPlay('short');
}
}
}
}
instance player3 of movieClip 5460 {
onClipEvent (load) {
dead = false;
life = 1;
maxhp = _root.maxhpryu;
hp = maxhp;
maxfocus = _root.maxfocusryu;
focus = maxfocus;
maxap = 7;
ap = 0;
ki = 0;
maxki = 10;
fase = 'wait';
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x -= arretrare;
if (this._x < 0 and _root.player == 'ryu') {
this._x = 0;
}
if (_root.player == 'ken') {
this._x = -100;
}
if (_root.turn == 1 and _root.player == 'ryu') {
gotoAndPlay('move');
_root.turn += 1;
}
if (focus < 0) {
focus = 1;
gotoAndPlay('stun');
}
if (focus > maxfocus) {
focus = maxfocus;
}
if (ki > maxki) {
ki = maxki;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
instance player1 of movieClip 5445 {
onClipEvent (load) {
dead = false;
life = 1;
maxhp = _root.maxhpken;
hp = maxhp;
maxfocus = _root.maxfocusken;
focus = maxfocus;
maxap = 8;
ap = 0;
ki = 0;
maxki = 10;
fase = 'wait';
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
arretrare = 0;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x -= arretrare;
if (this._x < 0 and _root.player == 'ken') {
this._x = 0;
}
if (_root.player == 'ryu') {
this._x = -100;
}
if (_root.turn == 1 and _root.player == 'ken') {
gotoAndPlay('move');
_root.turn += 1;
}
if (focus < 0) {
focus = 1;
gotoAndPlay('stun');
}
if (focus > maxfocus) {
focus = maxfocus;
}
if (ki > maxki) {
ki = maxki;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
movieClip 9581 {
}
movieClip 9598 {
frame 5 {
stop();
stun = false;
}
frame 6 {
stop();
if (focus <= 2 and ki <= 5) {
randomnum1 = Math.round(Math.random() * 10 + 1);
if (randomnum1 <= 5) {
strategia = 'difesa';
}
if (randomnum1 > 5) {
strategia = 'attacco';
}
} else {
strategia = 'attacco';
}
if (strategia == 'difesa' and this._x <= 550) {
gotoAndPlay('wb');
} else {
if (strategia == 'difesa' and this._x > 550) {
gotoAndPlay('choose');
}
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range != 'short') {
gotoAndPlay('wf');
} else {
if (strategia == 'attacco' and _root.player == 'ken' and _root.range == 'short') {
gotoAndPlay('choose');
}
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 != 'short') {
gotoAndPlay('wf');
} else {
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 == 'short') {
gotoAndPlay('choose');
}
}
}
frame 26 {
this._x -= 100;
gotoAndPlay('choose');
}
frame 44 {
this._x += 100;
gotoAndPlay('choose');
}
frame 45 {
stop();
if (strategia == 'difesa') {
gotoAndPlay('focus');
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range != 'no') {
gotoAndPlay('stance');
_root.engage.gotoAndPlay('defend');
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 != 'no') {
gotoAndPlay('stance');
_root.engage.gotoAndPlay('defend');
}
if (strategia == 'attacco' and _root.player == 'ken' and _root.range == 'no') {
gotoAndPlay('stance');
_root.turn += 1;
}
if (strategia == 'attacco' and _root.player == 'ryu' and _root.range2 == 'no') {
gotoAndPlay('stance');
_root.turn += 1;
}
}
frame 50 {
_root.dannomenu.gotoAndPlay('player2');
arretrare = 4;
this._x = xadesso;
}
frame 60 {
arretrare = 0;
this._x = xadesso + 100;
}
frame 92 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 94 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player2');
arretrare = 6;
}
frame 115 {
arretrare = 0;
this._x = xadesso + 200;
}
frame 156 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 158 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player2');
arretrare = 6;
}
frame 180 {
arretrare = 0;
this._x = xadesso + 200;
}
frame 205 {
stop();
life -= 1;
if (life > 0) {
play();
_root.play();
} else {
if (life <= 0) {
dead = true;
}
}
}
frame 229 {
percento = maxfocus / 100;
cento = 80 - caricafocus;
if (cento < 50) {
cento = 50;
}
focus = Math.round(percento * cento);
}
frame 232 {
_root.turn += 1;
caricafocus += 20;
gotoAndPlay('stance');
}
}
instance player2 of movieClip 9598 {
onClipEvent (load) {
dead = false;
life = 1;
maxhp = 30;
hp = maxhp;
maxfocus = 30;
focus = maxfocus;
ki = 5;
maxki = 10;
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
arretrare = 0;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x += arretrare;
if (this._x > 600) {
this._x = 600;
}
if (_root.turn == 3) {
_root.turn += 1;
gotoAndPlay('move');
}
if (focus <= 0 and stun == false) {
focus = 1;
stun = true;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.players == 1 and _root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.players == 1 and _root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
if (_root.players == 2 and _root.player == 'ken') {
gotoAndPlay('kendoppio');
}
if (_root.players == 2 and _root.player == 'ryu') {
gotoAndPlay('ryudoppio');
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.players == 1 and _root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.players == 1 and _root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
if (_root.players == 2 and _root.player == 'ken') {
gotoAndPlay('kendoppio');
}
if (_root.players == 2 and _root.player == 'ryu') {
gotoAndPlay('ryudoppio');
}
}
}
frame 383 {
stop();
turn = 0;
raunds = 1;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player1.dead == true and player3.dead == true) {
gotoAndPlay('ko16');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko16');
risultato = 'vinci';
}
distanza = player2._x - player1._x;
distanza2 = player2._x - player3._x;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
frame 386 {
stop();
}
movieClip 9601 {
frame 35 {
stop();
if (_root.risultato == 'vinci' and _root.livello16 == false) {
_root.livello16 = true;
_root.expryu += 1;
_root.levelryu += 1;
_root.expken += 1;
_root.levelken += 1;
_root.gotoAndPlay('postlevel16');
} else {
if (_root.risultato == 'vinci' and _root.livello16 == true) {
_root.gotoAndPlay('postlevel16');
} else {
if (_root.risultato == 'perdi') {
_root.gotoAndPlay('battle');
}
}
}
}
}
frame 387 {
stop();
risultato = 'pari';
players = 1;
player = 'ryu';
level = 17;
enemywin = 0;
playerwin = 0;
range = 'no';
range2 = 'no';
play();
}
instance of movieClip 1855 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.range == 'no') {
gotoAndPlay('no');
}
if (_root.range == 'long') {
gotoAndPlay('long');
}
if (_root.range == 'medium') {
gotoAndPlay('medium');
}
if (_root.range == 'short') {
gotoAndPlay('short');
}
}
if (_root.player == 'ryu') {
if (_root.range2 == 'no') {
gotoAndPlay('no');
}
if (_root.range2 == 'long') {
gotoAndPlay('long');
}
if (_root.range2 == 'medium') {
gotoAndPlay('medium');
}
if (_root.range2 == 'short') {
gotoAndPlay('short');
}
}
}
}
instance player3 of movieClip 5460 {
onClipEvent (load) {
dead = false;
life = 1;
maxhp = _root.maxhpryu;
hp = maxhp;
maxfocus = _root.maxfocusryu;
focus = maxfocus;
maxap = 7;
ap = 0;
ki = 0;
maxki = 10;
fase = 'wait';
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x -= arretrare;
if (this._x < 0 and _root.player == 'ryu') {
this._x = 0;
}
if (_root.player == 'ken') {
this._x = -100;
}
if (_root.turn == 1 and _root.player == 'ryu') {
gotoAndPlay('move');
_root.turn += 1;
}
if (focus < 0) {
focus = 1;
gotoAndPlay('stun');
}
if (focus > maxfocus) {
focus = maxfocus;
}
if (ki > maxki) {
ki = maxki;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
instance player1 of movieClip 5445 {
onClipEvent (load) {
dead = false;
life = 1;
maxhp = _root.maxhpken;
hp = maxhp;
maxfocus = _root.maxfocusken;
focus = maxfocus;
maxap = 8;
ap = 0;
ki = 0;
maxki = 10;
fase = 'wait';
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
arretrare = 0;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x -= arretrare;
if (this._x < 0 and _root.player == 'ken') {
this._x = 0;
}
if (_root.player == 'ryu') {
this._x = -100;
}
if (_root.turn == 1 and _root.player == 'ken') {
gotoAndPlay('move');
_root.turn += 1;
}
if (focus < 0) {
focus = 1;
gotoAndPlay('stun');
}
if (focus > maxfocus) {
focus = maxfocus;
}
if (ki > maxki) {
ki = maxki;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
instance player2 of movieClip 6486 {
onClipEvent (load) {
dead = false;
life = 1;
maxhp = 25;
hp = maxhp;
maxfocus = 25;
focus = maxfocus;
ki = 0;
maxki = 10;
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
arretrare = 0;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x += arretrare;
if (this._x > 650) {
this._x = 650;
}
if (_root.turn == 3) {
_root.turn += 1;
gotoAndPlay('move');
}
if (focus <= 0 and stun == false) {
focus = 1;
_root.engage.enemydefend.gotoAndPlay('stun');
stun = true;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.players == 1 and _root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.players == 1 and _root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
if (_root.players == 2 and _root.player == 'ken') {
gotoAndPlay('kendoppio');
}
if (_root.players == 2 and _root.player == 'ryu') {
gotoAndPlay('ryudoppio');
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.players == 1 and _root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.players == 1 and _root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
if (_root.players == 2 and _root.player == 'ken') {
gotoAndPlay('kendoppio');
}
if (_root.players == 2 and _root.player == 'ryu') {
gotoAndPlay('ryudoppio');
}
}
}
frame 403 {
stop();
turn = 0;
raunds = 1;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player3.dead == true) {
gotoAndPlay('ko17');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko17');
risultato = 'vinci';
}
distanza = player2._x - player1._x;
distanza2 = player2._x - player3._x;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
frame 406 {
stop();
}
movieClip 9604 {
frame 35 {
stop();
if (_root.risultato == 'vinci' and _root.livello17 == false) {
_root.livello17 = true;
_root.expryu += 1;
_root.levelryu += 1;
_root.gotoAndPlay('postlevel17');
} else {
if (_root.risultato == 'vinci' and _root.livello17 == true) {
_root.gotoAndPlay('postlevel17');
} else {
if (_root.risultato == 'perdi') {
_root.gotoAndPlay('battle');
}
}
}
}
}
frame 407 {
stop();
risultato = 'pari';
players = 1;
player = 'ken';
level = 18;
enemywin = 0;
playerwin = 0;
range = 'no';
range2 = 'no';
play();
}
instance of movieClip 1855 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
if (_root.range == 'no') {
gotoAndPlay('no');
}
if (_root.range == 'long') {
gotoAndPlay('long');
}
if (_root.range == 'medium') {
gotoAndPlay('medium');
}
if (_root.range == 'short') {
gotoAndPlay('short');
}
}
if (_root.player == 'ryu') {
if (_root.range2 == 'no') {
gotoAndPlay('no');
}
if (_root.range2 == 'long') {
gotoAndPlay('long');
}
if (_root.range2 == 'medium') {
gotoAndPlay('medium');
}
if (_root.range2 == 'short') {
gotoAndPlay('short');
}
}
}
}
instance player3 of movieClip 5460 {
onClipEvent (load) {
dead = false;
life = 1;
maxhp = _root.maxhpryu;
hp = maxhp;
maxfocus = _root.maxfocusryu;
focus = maxfocus;
maxap = 7;
ap = 0;
ki = 0;
maxki = 10;
fase = 'wait';
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x -= arretrare;
if (this._x < 0 and _root.player == 'ryu') {
this._x = 0;
}
if (_root.player == 'ken') {
this._x = -100;
}
if (_root.turn == 1 and _root.player == 'ryu') {
gotoAndPlay('move');
_root.turn += 1;
}
if (focus < 0) {
focus = 1;
gotoAndPlay('stun');
}
if (focus > maxfocus) {
focus = maxfocus;
}
if (ki > maxki) {
ki = maxki;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
instance player1 of movieClip 5445 {
onClipEvent (load) {
dead = false;
life = 1;
maxhp = _root.maxhpken;
hp = maxhp;
maxfocus = _root.maxfocusken;
focus = maxfocus;
maxap = 8;
ap = 0;
ki = 0;
maxki = 10;
fase = 'wait';
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
arretrare = 0;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x -= arretrare;
if (this._x < 0 and _root.player == 'ken') {
this._x = 0;
}
if (_root.player == 'ryu') {
this._x = -100;
}
if (_root.turn == 1 and _root.player == 'ken') {
gotoAndPlay('move');
_root.turn += 1;
}
if (focus < 0) {
focus = 1;
gotoAndPlay('stun');
}
if (focus > maxfocus) {
focus = maxfocus;
}
if (ki > maxki) {
ki = maxki;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
instance player2 of movieClip 6499 {
onClipEvent (load) {
dead = false;
life = 1;
maxhp = 25;
hp = maxhp;
maxfocus = 25;
focus = maxfocus;
ki = 0;
maxki = 10;
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
arretrare = 0;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x += arretrare;
if (this._x > 650) {
this._x = 650;
}
if (_root.turn == 3) {
_root.turn += 1;
gotoAndPlay('move');
}
if (focus <= 0 and stun == false) {
focus = 1;
stun = true;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.players == 1 and _root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.players == 1 and _root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
if (_root.players == 2 and _root.player == 'ken') {
gotoAndPlay('kendoppio');
}
if (_root.players == 2 and _root.player == 'ryu') {
gotoAndPlay('ryudoppio');
}
}
}
instance barra of movieClip 5312 {
onClipEvent (enterFrame) {
if (_root.players == 1 and _root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.players == 1 and _root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
if (_root.players == 2 and _root.player == 'ken') {
gotoAndPlay('kendoppio');
}
if (_root.players == 2 and _root.player == 'ryu') {
gotoAndPlay('ryudoppio');
}
}
}
frame 423 {
stop();
turn = 0;
raunds = 1;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player1.dead == true) {
gotoAndPlay('ko18');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko18');
risultato = 'vinci';
}
distanza = player2._x - player1._x;
distanza2 = player2._x - player3._x;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
frame 426 {
stop();
}
movieClip 9607 {
frame 35 {
stop();
if (_root.risultato == 'vinci' and _root.livello17 == false) {
_root.livello17 = true;
_root.expken += 1;
_root.levelken += 1;
_root.gotoAndPlay('postlevel17');
} else {
if (_root.risultato == 'vinci' and _root.livello17 == true) {
_root.gotoAndPlay('postlevel17');
} else {
if (_root.risultato == 'perdi') {
_root.gotoAndPlay('battle');
}
}
}
}
}
frame 427 {
stop();
risultato = 'pari';
players = 1;
player = 'aku';
level = 19;
enemywin = 0;
playerwin = 0;
range = 'no';
range2 = 'no';
play();
}
instance of movieClip 1855 {
onClipEvent (enterFrame) {
if (_root.player == 'ken' or _root.player == 'aku') {
if (_root.range == 'no') {
gotoAndPlay('no');
}
if (_root.range == 'long') {
gotoAndPlay('long');
}
if (_root.range == 'medium') {
gotoAndPlay('medium');
}
if (_root.range == 'short') {
gotoAndPlay('short');
}
}
if (_root.player == 'ryu') {
if (_root.range2 == 'no') {
gotoAndPlay('no');
}
if (_root.range2 == 'long') {
gotoAndPlay('long');
}
if (_root.range2 == 'medium') {
gotoAndPlay('medium');
}
if (_root.range2 == 'short') {
gotoAndPlay('short');
}
}
}
}
movieClip 9610 {
frame 6 {
stop();
fase = 'wait';
stun = false;
}
frame 12 {
stop();
if (_root.range == 'short') {
wf._visible = false;
} else {
wf._visible = true;
}
if (_root.range == 'medium' or _root.range == 'short') {
df._visible = false;
} else {
df._visible = true;
}
if (this._x <= 100) {
wb._visible = false;
} else {
wb._visible = true;
}
if (this._x <= 200) {
db._visible = false;
} else {
db._visible = true;
}
wf.onRelease = function () {
gotoAndPlay('wf');
};
df.onRelease = function () {
gotoAndPlay('df');
};
wb.onRelease = function () {
gotoAndPlay('wb');
};
db.onRelease = function () {
gotoAndPlay('db');
};
stand.onRelease = function () {
gotoAndPlay('choose');
};
}
frame 31 {
this._x += 100;
gotoAndPlay('choose');
}
frame 52 {
this._x -= 100;
gotoAndPlay('choose');
}
frame 54 {
fase = 'attack';
}
frame 60 {
stop();
_root.dannomenu.gotoAndPlay('choose');
gotoAndPlay('stance');
}
frame 65 {
percento = maxfocus / 100;
cento = 80 - caricafocus;
if (cento < 50) {
cento = 50;
}
focus = Math.round(percento * cento);
}
frame 86 {
_root.turn += 1;
caricafocus += 10;
gotoAndPlay('stance');
}
frame 90 {
_root.dannomenu.gotoAndPlay('player');
arretrare = 4;
this._x = xadesso;
}
frame 100 {
arretrare = 0;
this._x = xadesso + 100;
}
frame 132 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 134 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player');
arretrare = 6;
}
frame 156 {
arretrare = 0;
this._x = xadesso + 200;
}
frame 182 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 186 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player');
arretrare = 6;
}
frame 202 {
arretrare = 0;
this._x = xadesso + 200;
}
frame 207 {
gotoAndPlay('stance');
}
frame 209 {
hp = maxhp;
focus = maxfocus;
caricafocus = 0;
}
frame 226 {
gotoAndPlay('stance');
}
frame 231 {
stop();
life -= 1;
if (_root.players == 1 and life <= 0) {
stop();
dead = true;
}
if (_root.players == 1 and life > 0) {
play();
_root.play();
}
}
frame 238 {
stop();
hp = maxhp;
focus = maxfocus;
caricafocus = 0;
gotoAndPlay('stance');
}
}
instance player1 of movieClip 9610 {
onClipEvent (load) {
dead = false;
life = 1;
maxhp = _root.maxhpken + _root.maxhpryu;
hp = maxhp;
maxfocus = _root.maxfocusken + _root.maxfocusryu;
focus = maxfocus;
maxap = 10;
ap = 0;
ki = 4;
maxki = 10;
fase = 'wait';
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
arretrare = 0;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x -= arretrare;
if (this._x < 0) {
this._x = 0;
}
if (_root.turn == 1) {
gotoAndPlay('move');
_root.turn += 1;
}
if (focus < 0) {
focus = 1;
gotoAndPlay('stun');
}
if (focus > maxfocus) {
focus = maxfocus;
}
if (ki > maxki) {
ki = maxki;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
movieClip 9676 {
frame 5 {
stop();
stun = false;
}
frame 6 {
stop();
if (focus <= 2 and ki <= 5) {
randomnum1 = Math.round(Math.random() * 10 + 1);
if (randomnum1 <= 5) {
strategia = 'difesa';
}
if (randomnum1 > 5) {
strategia = 'attacco';
}
} else {
strategia = 'attacco';
}
if (strategia == 'difesa' and this._x <= 550) {
gotoAndPlay('wb');
} else {
if (strategia == 'difesa' and this._x > 550) {
gotoAndPlay('choose');
}
}
if (strategia == 'attacco' and _root.range != 'short') {
gotoAndPlay('wf');
} else {
if (strategia == 'attacco' and _root.range == 'short') {
gotoAndPlay('choose');
}
}
}
frame 29 {
this._x -= 100;
gotoAndPlay('choose');
}
frame 53 {
this._x += 100;
gotoAndPlay('choose');
}
frame 54 {
stop();
if (strategia == 'difesa') {
gotoAndPlay('focus');
}
if (strategia == 'attacco' and _root.range != 'no') {
gotoAndPlay('stance');
_root.engage.gotoAndPlay('defend');
}
if (strategia == 'attacco' and _root.range == 'no') {
gotoAndPlay('stance');
_root.turn += 1;
}
}
frame 58 {
_root.dannomenu.gotoAndPlay('player2');
arretrare = 4;
this._x = xadesso;
}
frame 68 {
arretrare = 0;
this._x = xadesso + 100;
}
frame 100 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 103 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player2');
arretrare = 6;
}
frame 124 {
arretrare = 0;
this._x = xadesso + 200;
}
frame 165 {
gotoAndPlay('stance');
_root.turn += 1;
}
frame 168 {
this._x = xadesso;
_root.dannomenu.gotoAndPlay('player2');
arretrare = 6;
}
frame 199 {
stop();
life -= 1;
if (life > 0) {
play();
_root.play();
} else {
if (life <= 0) {
dead = true;
}
}
}
frame 223 {
percento = maxfocus / 100;
cento = 80 - caricafocus;
if (cento < 50) {
cento = 50;
}
focus = Math.round(percento * cento);
}
frame 226 {
_root.turn += 1;
caricafocus += 20;
gotoAndPlay('stance');
}
}
instance player2 of movieClip 9676 {
onClipEvent (load) {
dead = false;
life = 1;
maxhp = 50;
hp = maxhp;
maxfocus = 40;
focus = maxfocus;
ki = 5;
maxki = 10;
difesaalta = 0;
difesamedia = 0;
difesabassa = 0;
stun = false;
arretrare = 0;
caricafocus = 0;
}
onClipEvent (enterFrame) {
this._x += arretrare;
if (this._x > 600) {
this._x = 600;
}
if (_root.turn == 3) {
_root.turn += 1;
gotoAndPlay('move');
}
if (focus <= 0 and stun == false) {
focus = 1;
stun = true;
}
if (hp < 0) {
hp = 0;
}
if (difesaalta > 3) {
difesaalta = 3;
}
if (difesamedia > 3) {
difesamedia = 3;
}
if (difesabassa > 3) {
difesabassa = 3;
}
}
}
movieClip 9679 {
instance focusbaruno of movieClip 1847 {
onClipEvent (enterFrame) {
this._width = (_root.player1.focus / _root.player1.maxfocus) * 190;
}
}
instance of movieClip 1848 {
onClipEvent (enterFrame) {
this._width = (_root.player1.ki / _root.player1.maxki) * 190;
}
}
instance of movieClip 1850 {
onClipEvent (enterFrame) {
this._width = (_root.player1.hp / _root.player1.maxhp) * 190;
}
}
instance focusbaruno of movieClip 1847 {
onClipEvent (enterFrame) {
this._width = (_root.player2.focus / _root.player2.maxfocus) * 190;
}
}
instance of movieClip 1848 {
onClipEvent (enterFrame) {
this._width = (_root.player2.ki / _root.player2.maxki) * 190;
}
}
instance of movieClip 1850 {
onClipEvent (enterFrame) {
this._width = (_root.player2.hp / _root.player2.maxhp) * 190;
}
}
instance of movieClip 5302 {
onClipEvent (enterFrame) {
if (_root.player1.difesaalta == 0) {
alto.gotoAndPlay('verde');
} else {
if (_root.player1.difesaalta == 1) {
alto.gotoAndPlay('giallo');
} else {
if (_root.player1.difesaalta >= 2) {
alto.gotoAndPlay('rosso');
}
}
}
if (_root.player1.difesamedia == 0) {
medio.gotoAndPlay('verde');
} else {
if (_root.player1.difesamedia == 1) {
medio.gotoAndPlay('giallo');
} else {
if (_root.player1.difesamedia >= 2) {
medio.gotoAndPlay('rosso');
}
}
}
if (_root.player1.difesabassa == 0) {
basso.gotoAndPlay('verde');
} else {
if (_root.player1.difesabassa == 1) {
basso.gotoAndPlay('giallo');
} else {
if (_root.player1.difesabassa >= 2) {
basso.gotoAndPlay('rosso');
}
}
}
}
}
instance of movieClip 5302 {
onClipEvent (enterFrame) {
if (_root.player2.difesaalta == 0) {
alto.gotoAndPlay('verde');
} else {
if (_root.player2.difesaalta == 1) {
alto.gotoAndPlay('giallo');
} else {
if (_root.player2.difesaalta >= 2) {
alto.gotoAndPlay('rosso');
}
}
}
if (_root.player2.difesamedia == 0) {
medio.gotoAndPlay('verde');
} else {
if (_root.player2.difesamedia == 1) {
medio.gotoAndPlay('giallo');
} else {
if (_root.player2.difesamedia >= 2) {
medio.gotoAndPlay('rosso');
}
}
}
if (_root.player2.difesabassa == 0) {
basso.gotoAndPlay('verde');
} else {
if (_root.player2.difesabassa == 1) {
basso.gotoAndPlay('giallo');
} else {
if (_root.player2.difesabassa >= 2) {
basso.gotoAndPlay('rosso');
}
}
}
}
}
frame 2 {
stop();
}
}
instance barra of movieClip 9679 {
onClipEvent (enterFrame) {
if (_root.players == 1 and _root.player == 'ken') {
gotoAndPlay('kensolo');
}
if (_root.players == 1 and _root.player == 'ryu') {
gotoAndPlay('ryusolo');
}
if (_root.players == 2 and _root.player == 'ken') {
gotoAndPlay('kendoppio');
}
if (_root.players == 2 and _root.player == 'ryu') {
gotoAndPlay('ryudoppio');
}
}
}
frame 443 {
stop();
turn = 0;
raunds = 1;
onEnterFrame = function () {
if (turn >= 5) {
turn = 1;
}
if (risultato == 'pari' and player1.dead == true) {
gotoAndPlay('ko19');
risultato = 'perdi';
}
if (risultato == 'pari' and player2.dead == true) {
gotoAndPlay('ko19');
risultato = 'vinci';
}
distanza = player2._x - player1._x;
distanza2 = player2._x - player3._x;
if (distanza <= 150) {
range = 'short';
}
if (distanza <= 250 and distanza > 150) {
range = 'medium';
}
if (distanza <= 350 and distanza > 250) {
range = 'long';
}
if (distanza <= 450 and distanza > 350) {
range = 'no';
}
if (distanza2 <= 150) {
range2 = 'short';
}
if (distanza2 <= 250 and distanza2 > 150) {
range2 = 'medium';
}
if (distanza2 <= 350 and distanza2 > 250) {
range2 = 'long';
}
if (distanza2 <= 450 and distanza2 > 350) {
range2 = 'no';
}
};
}
frame 446 {
stop();
}
movieClip 9682 {
frame 35 {
stop();
if (_root.risultato == 'vinci') {
_root.livello19 = true;
_root.gotoAndPlay('postlevel19');
} else {
if (_root.risultato == 'perdi') {
_root.gotoAndPlay('battle');
}
}
}
}