Frame 1
function start_sound(sndfile) {
sounds[sndfile].start();
}
function loop_sound(sndfile) {
sounds[sndfile].start(0, 999);
}
function stop_sound(sndfile) {
sounds[sndfile].stop();
}
function stop_all_sound() {
soundObject.stop();
}
function set_volume(v) {
if (v < 0) {
v = 0;
}
if (v > 3) {
v = 3;
}
volume_level = v;
soundObject.setVolume(v * 33);
mcVolume.gotoAndStop(1 + v);
}
soundObject = new Sound();
var sounds = new Object();
var soundsFile = ["jingle-100511-fanfare03-mp3.mp3", "jingle-100511-surprise04-mp3.mp3", "levup.wav", "levdown.wav", "shu0.wav", "bisi_.wav", "bisi0.wav", "bisi3.wav", ""];
var i = 0;
while (i < soundsFile.length) {
var sndClip = this.createEmptyMovieClip("sndClip" + i, 100 + i);
sounds[soundsFile[i].substring(0, soundsFile[i].length - 4)] = new Sound(sndClip);
sounds[soundsFile[i].substring(0, soundsFile[i].length - 4)].attachSound(soundsFile[i]);
i++;
}
set_volume(2);
btVolume.onPress = function () {
v = volume_level + 1;
if (v > 3) {
v = 0;
}
set_volume(v);
};
Frame 3
stop();
onEnterFrame = function () {
if (getBytesLoaded() >= getBytesTotal()) {
delete onEnterFrame;
play();
}
};
Frame 6
stop();
Symbol 16 MovieClip Frame 4
stop();
Symbol 30 Button
on (press, keyPress "<Up>") {
move_curs(-1);
}
on (press, keyPress "<Down>") {
move_curs(1);
}
on (keyPress "<Space>") {
mcCurs._x = mcCurs._x + 8;
gotoAndPlay (2);
}
Symbol 34 MovieClip Frame 1
function init(t0, t1) {
_visible = true;
txt0 = t0;
txt1 = t1;
mcCurs._x = -26;
}
function move_curs(a) {
if (txt1 == "") {
return(undefined);
}
curs = curs + a;
if (curs < 0) {
curs = 0;
}
if (curs > 1) {
curs = 1;
}
mcCurs._y = curs * 20;
}
stop();
_visible = false;
curs = 0;
Symbol 34 MovieClip Frame 5
_parent.after_select(curs);
Symbol 54 MovieClip Frame 1
gotoAndStop(_parent.count);
Symbol 67 MovieClip Frame 1
stop();
_visible = false;
Symbol 67 MovieClip Frame 5
count = _parent.count;
Symbol 67 MovieClip Frame 7
stop();
Symbol 67 MovieClip Frame 9
gotoAndPlay ("left");
Symbol 67 MovieClip Frame 13
count = _parent.count;
Symbol 67 MovieClip Frame 15
stop();
Symbol 67 MovieClip Frame 17
gotoAndPlay ("right");
Symbol 67 MovieClip Frame 28
_parent.play();
Symbol 67 MovieClip Frame 30
gotoAndStop (1);
Symbol 67 MovieClip Frame 33
play();
_visible = true;
Symbol 67 MovieClip Frame 48
if (_parent.winner == 1) {
gotoAndPlay ("wr");
}
Symbol 67 MovieClip Frame 50
stop();
_parent.play();
Symbol 67 MovieClip Frame 55
stop();
_parent.play();
Symbol 67 MovieClip Frame 96
gotoAndPlay ("title");
Symbol 70 MovieClip Frame 8
function after_select(curs) {
_parent._parent.stop_all_sound();
_parent.title_newgame();
}
stop();
mcRef._visible = true;
mcRef.gotoAndPlay("title");
selecter.init("Play", "");
Symbol 78 MovieClip Frame 1
gotoAndStop(2 + _parent.col);
Symbol 81 MovieClip Frame 1
gotoAndStop(2 + _parent.pcol);
Symbol 90 MovieClip Frame 1
gotoAndStop(2 + _parent.hair);
Symbol 94 MovieClip Frame 1
gotoAndStop(2 + _parent.col);
Symbol 97 MovieClip Frame 1
gotoAndStop(2 + _parent.pcol);
Symbol 101 MovieClip Frame 1
gotoAndStop(2 + _parent.col);
Symbol 104 MovieClip Frame 1
gotoAndStop(2 + _parent.pcol);
Symbol 108 MovieClip Frame 1
gotoAndStop(2 + _parent.col);
Symbol 111 MovieClip Frame 1
gotoAndStop(2 + _parent.pcol);
Symbol 118 MovieClip Frame 1
gotoAndStop(2 + _parent.col);
Symbol 121 MovieClip Frame 1
gotoAndStop(2 + _parent.pcol);
Symbol 125 MovieClip Frame 1
gotoAndStop(2 + _parent.col);
Symbol 128 MovieClip Frame 1
gotoAndStop(2 + _parent.pcol);
Symbol 132 MovieClip Frame 1
gotoAndStop(2 + _parent.col);
Symbol 135 MovieClip Frame 1
gotoAndStop(2 + _parent.pcol);
Symbol 139 MovieClip Frame 1
gotoAndStop(2 + _parent.col);
Symbol 142 MovieClip Frame 1
gotoAndStop(2 + _parent.pcol);
Symbol 146 MovieClip Frame 1
gotoAndStop(2 + _parent.col);
Symbol 149 MovieClip Frame 1
gotoAndStop(2 + _parent.pcol);
Symbol 153 MovieClip Frame 1
gotoAndStop(2 + _parent.col);
Symbol 156 MovieClip Frame 1
gotoAndStop(2 + _parent.pcol);
Symbol 160 MovieClip Frame 1
gotoAndStop(2 + _parent.col);
Symbol 163 MovieClip Frame 1
gotoAndStop(2 + _parent.pcol);
Symbol 167 MovieClip Frame 1
gotoAndStop(2 + _parent.col);
Symbol 170 MovieClip Frame 1
gotoAndStop(2 + _parent.pcol);
Symbol 174 MovieClip Frame 1
gotoAndStop(2 + _parent.col);
Symbol 177 MovieClip Frame 1
gotoAndStop(2 + _parent.pcol);
Symbol 179 MovieClip Frame 1
gotoAndStop(2 + _parent.hair);
Symbol 183 MovieClip Frame 1
gotoAndStop(2 + _parent.col);
Symbol 186 MovieClip Frame 1
gotoAndStop(2 + _parent.pcol);
Symbol 190 MovieClip Frame 1
gotoAndStop(2 + _parent.col);
Symbol 193 MovieClip Frame 1
gotoAndStop(2 + _parent.pcol);
Symbol 195 MovieClip Frame 3
stop();
Symbol 199 MovieClip Frame 1
gotoAndStop(2 + _parent.col);
Symbol 202 MovieClip Frame 1
gotoAndStop(2 + _parent.pcol);
Symbol 204 MovieClip Frame 1
gotoAndStop(2 + _parent.hair);
Symbol 208 MovieClip Frame 1
gotoAndStop(2 + _parent.col);
Symbol 211 MovieClip Frame 1
gotoAndStop(2 + _parent.pcol);
Symbol 215 MovieClip Frame 1
gotoAndStop(2 + _parent.col);
Symbol 218 MovieClip Frame 1
gotoAndStop(2 + _parent.pcol);
Symbol 222 MovieClip Frame 1
gotoAndStop(2 + _parent.col);
Symbol 225 MovieClip Frame 1
gotoAndStop(2 + _parent.pcol);
Symbol 227 MovieClip Frame 1
gotoAndStop(2 + _parent.hair);
Symbol 231 MovieClip Frame 1
gotoAndStop(2 + _parent.col);
Symbol 234 MovieClip Frame 1
gotoAndStop(2 + _parent.pcol);
Symbol 236 MovieClip Frame 1
gotoAndStop(2 + _parent.hair);
Symbol 240 MovieClip Frame 1
gotoAndStop(2 + _parent.col);
Symbol 243 MovieClip Frame 1
gotoAndStop(2 + _parent.pcol);
Symbol 244 MovieClip Frame 1
stop();
Symbol 256 MovieClip Frame 5
box._visible = false;
shd._visible = false;
Symbol 256 MovieClip Frame 9
box.col = (col = Math.floor(Math.random() * 3));
box.hair = (hair = Math.floor(Math.random() * 5));
box.pcol = (pcol = Math.floor(Math.random() * 5));
box.gotoAndStop(1);
hit = 1;
def = 1;
stm = 1;
spt = 1;
jab = 1;
cross = 1;
hook = 1;
upper = 1;
body = 1;
i = 0;
while (i < 30) {
r = Math.floor(Math.random() * 9);
switch (r) {
case 0 :
hit++;
break;
case 1 :
def++;
break;
case 2 :
stm++;
break;
case 3 :
spt++;
break;
case 4 :
jab++;
break;
case 5 :
cross++;
break;
case 6 :
hook++;
break;
case 7 :
upper++;
break;
case 8 :
body++;
}
i++;
}
txt_hit = "HIT " + hit;
txt_def = "DEFENSE " + def;
txt_stm = " STAMINA " + stm;
txt_spt = " SPIRIT " + spt;
txt_jab = "JAB " + jab;
txt_cross = "CROSS " + cross;
txt_hook = "HOOK " + hook;
txt_upper = "UPPERCUT " + upper;
txt_body = "BODYBLOW " + body;
Symbol 256 MovieClip Frame 12
function after_select(curs) {
if (curs == 0) {
box._visible = false;
shd._visible = false;
gotoAndPlay (6);
} else {
_parent._parent.stop_all_sound();
var _local2 = 99;
_parent.boxerdata[_local2].col = col;
_parent.boxerdata[_local2].hair = hair;
_parent.boxerdata[_local2].pcol = pcol;
_parent.boxerdata[_local2].hit = hit;
_parent.boxerdata[_local2].def = def;
_parent.boxerdata[_local2].stm = stm;
_parent.boxerdata[_local2].spt = spt;
_parent.boxerdata[_local2].jab = jab;
_parent.boxerdata[_local2].cross = cross;
_parent.boxerdata[_local2].hook = hook;
_parent.boxerdata[_local2].upper = upper;
_parent.boxerdata[_local2].body = body;
_parent.gotoAndStop("ranker");
}
}
stop();
box._visible = true;
box.gotoAndStop("p0");
shd._visible = true;
stat = 0;
wc = 10;
ppat0 = 4;
ppat1 = 6;
ppat2 = 7;
ppat3 = 9;
ppat4 = 10;
ppat5 = 0;
onEnterFrame = function () {
if (stat == 0) {
wc--;
if (wc > 0) {
return(undefined);
}
p = Math.floor(Math.random() * 5);
if ((p == 3) || (p == 4)) {
box.gotoAndStop("p8");
} else {
box.gotoAndStop("p5");
}
stat = 1;
} else if (stat == 1) {
box.gotoAndStop("p" + this["ppat" + p]);
wc = 2;
stat = 2;
} else {
wc--;
if (wc > 0) {
return(undefined);
}
box.gotoAndStop("p0");
wc = Math.floor(Math.random() * 6);
stat = 0;
}
};
mcSelecter.init("TRY ANOTHER", "OK");
Symbol 275 Button
on (keyPress "<Up>") {
curs--;
if (curs < 1) {
curs = 1;
offset--;
if (offset < -1) {
offset = -1;
}
}
disp_ranker();
}
on (keyPress "<Down>") {
curs++;
if (curs > 10) {
curs = 10;
offset++;
if (offset > 89) {
offset = 89;
}
}
disp_ranker();
}
on (keyPress "<Space>") {
mcCurs._x = mcCurs._x + 6;
play();
}
Symbol 276 MovieClip Frame 4
function disp_ranker() {
var oy = 30;
var r;
var n;
var i = 0;
while (i < 12) {
var mc = eval ("mc" + i);
r = offset + i;
if ((r < 0) || (r >= 100)) {
mc.tfNum.text = "";
mc.tfName.text = "";
} else {
mc.tfNum.text = r;
if (r == 0) {
mc.tfNum.text = "C";
}
n = get_bn[r];
mc.tfName.text = _parent.boxerdata[n].nam;
if (i == curs) {
mc.tfNum.textColor = (mc.tfName.textColor = "0xff0000");
} else {
mc.tfNum.textColor = (mc.tfName.textColor = "0xffffff");
}
}
i++;
}
r = offset + curs;
n = get_bn[r];
mcSpec.hit = "HIT " + _parent.boxerdata[n].hit;
mcSpec.def = "DEF " + _parent.boxerdata[n].def;
mcSpec.stm = "STM " + _parent.boxerdata[n].stm;
mcSpec.spt = "SPT " + _parent.boxerdata[n].spt;
mcSpec.jab = "JAB " + _parent.boxerdata[n].jab;
mcSpec.crs = "CRS " + _parent.boxerdata[n].cross;
mcSpec.hok = "HOK " + _parent.boxerdata[n].hook;
mcSpec.upc = "UPC " + _parent.boxerdata[n].upper;
mcSpec.bdy = "BDY " + _parent.boxerdata[n].body;
mcCurs._y = oy + (16 * curs);
}
user_rank = _parent.boxerdata[99].rank;
offset = user_rank - 10;
if (offset < -1) {
offset = -1;
}
curs = 10;
if (user_rank < 10) {
curs = user_rank + 1;
}
get_bn = new Array();
i = 0;
while (i < 100) {
get_bn[i] = i;
i++;
}
i = 0;
while (i < 100) {
r = _parent.boxerdata[i].rank;
get_bn[r] = i;
i++;
}
disp_ranker();
Symbol 276 MovieClip Frame 8
stop();
mcCurs._x = 2;
Symbol 276 MovieClip Frame 12
stop();
r = offset + curs;
f = 0;
if (r == user_rank) {
f = 1;
}
if ((r == 0) && (user_rank > 10)) {
f = 1;
}
if (f) {
gotoAndStop ("stop");
} else {
_parent._parent.stop_all_sound();
_parent.com_bn = get_bn[r];
_parent.start_game();
}
Symbol 291 Button
on (keyPress "<Space>") {
_parent._parent.stop_all_sound();
_parent.start_game();
}
Symbol 292 MovieClip Frame 14
rank = "rank " + _parent.rank1;
nam = _parent.name1;
box.col = _parent.col1;
box.hair = _parent.hair1;
box.pcol = _parent.pcol1;
jab = "JAB " + _parent.pp10;
cross = "CROSS " + _parent.pp11;
hook = "HOOK " + _parent.pp12;
upper = "UPPER " + _parent.pp13;
body = "BODY " + _parent.pp14;
hit = "HIT " + _parent.hit1;
def = "DEF " + _parent.skil1;
stm = " STM " + _parent.stam1;
spt = " SPT " + _parent.tole1;
stat = 0;
wc = 10;
box.gotoAndStop("p0");
ppat0 = 4;
ppat1 = 6;
ppat2 = 7;
ppat3 = 9;
ppat4 = 10;
ppat5 = 0;
onEnterFrame = function () {
if (stat == 0) {
wc--;
if (wc > 0) {
return(undefined);
}
p = Math.floor(Math.random() * 5);
if ((p == 3) || (p == 4)) {
box.gotoAndStop("p8");
} else {
box.gotoAndStop("p5");
}
_parent._parent.start_sound("shu0");
stat = 1;
} else if (stat == 1) {
box.gotoAndStop("p" + this["ppat" + p]);
wc = 2;
stat = 2;
} else {
wc--;
if (wc > 0) {
return(undefined);
}
box.gotoAndStop("p0");
wc = Math.floor(Math.random() * 6);
stat = 0;
}
};
Symbol 292 MovieClip Frame 33
stop();
Symbol 297 Button
on (keyPress "<Space>") {
_parent.gotoAndStop("game");
}
Symbol 298 MovieClip Frame 17
stop();
Symbol 302 MovieClip Frame 1
stop();
_visible = false;
Symbol 302 MovieClip Frame 2
stop();
Symbol 302 MovieClip Frame 9
stop();
Symbol 304 MovieClip Frame 1
stop();
_visible = false;
Symbol 304 MovieClip Frame 2
stop();
Symbol 304 MovieClip Frame 9
stop();
Symbol 305 Button
on (press) {
_parent.after_match(0);
}
Symbol 306 Button
on (press) {
_parent.after_match(1);
}
Symbol 313 MovieClip Frame 1
stop();
_visible = false;
Symbol 313 MovieClip Frame 2
_visible = true;
Symbol 313 MovieClip Frame 19
_parent.play();
gotoAndStop (1);
Symbol 313 MovieClip Frame 20
cnt = 0;
Symbol 313 MovieClip Frame 29
cnt++;
if (cnt > 5) {
gotoAndStop (1);
} else {
gotoAndPlay ("gong");
}
Symbol 316 MovieClip Frame 1
stop();
gotoAndStop(_parent.round);
Symbol 317 MovieClip Frame 1
stop();
_visible = false;
Symbol 317 MovieClip Frame 4
round = _parent.round;
if (round == 1) {
gotoAndStop (1);
_parent.play();
}
Symbol 317 MovieClip Frame 5
_visible = true;
mc._y = 44;
c = 0;
Symbol 317 MovieClip Frame 12
a = Math.floor(c / 2);
if ((a % 2) == 0) {
mc._y = mc._y + 2;
} else {
mc._y = mc._y - 1;
}
c++;
if (c > 30) {
gotoAndStop (1);
_parent.play();
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 321 MovieClip Frame 1
stop();
Symbol 321 MovieClip Frame 2
mc._x = _parent.sec * -1;
Symbol 322 Button
on (keyPress "<Left>") {
punch = 0;
punch_func();
}
on (keyPress "<Up>") {
punch = 3;
punch_func();
}
on (keyPress "<Right>") {
punch = 1;
punch_func();
}
on (keyPress "<Space>") {
punch = 2;
punch_func();
}
on (keyPress "<Down>") {
punch = 4;
punch_func();
}
on (keyPress "2") {
punch = 5;
punch_func();
}
Symbol 323 Button
on (keyPress "<Space>") {
play();
}
Symbol 324 MovieClip Frame 1
_xscale = 200;
_yscale = 200;
round = 1;
xleft = 14;
xright = 106;
dist = 14;
ene_max = 1000;
punch_ene = 120;
ppat0 = 4;
ppat1 = 6;
ppat2 = 7;
ppat3 = 9;
ppat4 = 10;
ppat5 = 0;
ppw0 = 1;
ppw1 = 1;
ppw2 = 2;
ppw3 = 2;
ppw4 = 2;
ppw5 = 2;
paw0 = 2;
paw1 = 2;
paw2 = 2;
paw3 = 3;
paw4 = 3;
paw5 = 1;
pr0 = 24;
pr1 = 24;
pr2 = 20;
pr3 = 18;
pr4 = 24;
pr5 = 22;
ph0 = 50;
ph1 = 20;
ph2 = 10;
ph3 = 10;
ph4 = 50;
ph5 = 0;
dd0 = 10;
dd1 = 15;
dd2 = 20;
dd3 = 20;
dd4 = 1;
dd5 = 1;
rpat0 = 14;
rpat1 = 15;
rpat2 = 16;
rpat3 = 13;
rpat4 = 12;
rpat5 = 11;
rpat6 = 20;
Symbol 324 MovieClip Frame 2
box0.col = _parent.col0;
box1.col = _parent.col1;
box0.pcol = _parent.pcol0;
box1.pcol = _parent.pcol1;
box0.hair = _parent.hair0;
box1.hair = _parent.hair1;
dir0 = 1;
dir1 = -1;
ea0 = 10 + _parent.stam0;
ea1 = 10 + _parent.stam1;
skil0 = _parent.skil0;
skil1 = _parent.skil1;
tole0 = _parent.tole0;
tole1 = _parent.tole1;
ps00 = _parent.ps00;
ps01 = _parent.ps01;
ps02 = _parent.ps02;
ps03 = _parent.ps03;
ps04 = _parent.ps04;
ps10 = _parent.ps10;
ps11 = _parent.ps11;
ps12 = _parent.ps12;
ps13 = _parent.ps13;
ps14 = _parent.ps14;
pp00 = _parent.pp00;
pp01 = _parent.pp01;
pp02 = _parent.pp02;
pp03 = _parent.pp03;
pp04 = _parent.pp04;
pp10 = _parent.pp10;
pp11 = _parent.pp11;
pp12 = _parent.pp12;
pp13 = _parent.pp13;
pp14 = _parent.pp14;
pt0 = 0;
pt1 = 0;
dc0 = 0;
dc1 = 0;
box0._visible = false;
box1._visible = false;
shad0._visible = false;
shad1._visible = false;
Symbol 324 MovieClip Frame 7
stop();
mcWaa0.gotoAndStop("start");
mcWaa1.gotoAndStop("stop");
box0._visible = false;
box1._visible = false;
shad0._visible = false;
shad1._visible = false;
_parent.round_txt = "ROUND" + round;
girl.gotoAndPlay(2);
sec = 0;
timer.play();
ctac = Math.floor(Math.random() * 5);
cint = 2 + Math.floor(Math.random() * 6);
if (_parent.rank1 >= 90) {
cint = 5 + Math.floor(Math.random() * 6);
}
if (_parent.rank1 <= 10) {
cint = 2 + Math.floor(Math.random() * 2);
}
Symbol 324 MovieClip Frame 8
box0._visible = true;
box1._visible = true;
shad0._visible = true;
shad1._visible = true;
i = 0;
while (i < 2) {
this["box" + i].gotoAndStop("p0");
this["stat" + i] = "wait";
this["dcnt" + i] = 0;
this["ene" + i] = ene_max;
this["dmg" + i] = 0;
this["opc" + i] = -1;
i++;
}
box0._x = xleft;
box1._x = xright;
shad0._x = xleft;
shad1._x = xright;
tm = 0;
sec = 0;
downer = -1;
Symbol 324 MovieClip Frame 13
function punch_func() {
if ((stat0 == "wait") || (stat0 == "walk")) {
stat0 = "punch";
punch0 = punch;
cnt0 = this["ppw" + punch];
step0 = 0;
if ((punch == 3) || (punch == 4)) {
box0.gotoAndStop("p8");
} else {
box0.gotoAndStop("p5");
}
}
}
i = 0;
while (i < 2) {
nb = ((i == 0) ? 1 : 0);
stat = this["stat" + i];
if (stat == "wait") {
sx = box1._x - box0._x;
if (sx > dist) {
this["stat" + i] = "walk";
this["cnt" + i] = 0;
this["box" + i].gotoAndStop("p0");
}
if (this["ene" + i] <= 0) {
this["stat" + i] = "tired";
this["cnt" + i] = 0;
this["box" + i].gotoAndStop("p3");
}
} else if (stat == "walk") {
this["cnt" + i]++;
if (this["cnt" + i] > 3) {
this["cnt" + i] = 0;
}
switch (this["cnt" + i]) {
case 0 :
this["box" + i].gotoAndStop("p0");
break;
case 1 :
this["box" + i].gotoAndStop("p1");
break;
case 2 :
this["box" + i].gotoAndStop("p2");
break;
case 3 :
this["box" + i].gotoAndStop("p1");
}
this["box" + i]._x = this["box" + i]._x + (this["dir" + i] * 2);
if ((box1._x - box0._x) <= dist) {
if (i == 0) {
box0._x = box1._x - dist;
} else {
box1._x = box0._x + dist;
}
this["box" + i].gotoAndStop("p0");
this["stat" + i] = "wait";
}
} else if (stat == "punch") {
this["cnt" + i]--;
if (this["cnt" + i] <= 0) {
this["step" + i]++;
p = this["punch" + i];
s = this["step" + i];
if (s == 1) {
f = "p" + this["ppat" + p];
this["box" + i].f = f;
this["box" + i].gotoAndStop(f);
this["cnt" + i] = this["paw" + p];
sk = 0;
sx = box1._x - box0._x;
if (sx > this["pr" + p]) {
sk = 1;
}
if (p == 5) {
if (this["opc" + i] == 5) {
sk = 1;
}
}
if (sk) {
if (p != 5) {
_parent._parent.start_sound("shu0");
}
} else {
per = this["ph" + p];
per = per + ((this[("ps" + i) + p] - this["skil" + nb]) * 10);
if (i == 0) {
if (box1._x > (xright - 10)) {
per = per + 30;
}
} else if (box0._x < (xleft + 10)) {
per = per + 30;
}
if (this["stat" + nb] == "tired") {
per = per + 80;
}
if (p == this["opc" + i]) {
per = per - 50;
}
if (per < 1) {
per = 1;
}
hit = 0;
if (Math.floor(Math.random() * 100) < per) {
hit = 1;
}
if (p == 5) {
hit = 0;
}
if (hit) {
pp = this[("pp" + i) + p];
if (p == 4) {
d = pp + Math.floor(Math.random() * pp);
this["ea" + nb] = this["ea" + nb] - (d / 10);
if (this["ea" + nb] < 3) {
this["ea" + nb] = 3;
}
if (this["ene" + nb] > 0) {
this["ene" + nb] = this["ene" + nb] - (d * 10);
}
r = 2;
if (d < 15) {
_parent._parent.start_sound("bisi0");
} else {
_parent._parent.start_sound("bisi3");
}
} else {
pd = this["dd" + p] + Math.floor(Math.random() * pp);
d = pd;
d = d + this["dmg" + nb];
if (p > 0) {
this["dmg" + nb] = this["dmg" + nb] + pd;
}
r = 0;
if (d > 20) {
r = 1;
}
if (d > 30) {
r = 6;
}
sna = "bisi0";
if (d > 20) {
sna = "bisi3";
}
if (d > 30) {
sna = "bisi_";
}
_parent._parent.start_sound(sna);
stand_count = ((d - 20) - this["tole" + nb]) + (this["dc" + nb] * 3);
if ((p > 0) && (stand_count >= 5)) {
this["stat" + nb] = "down";
downer = nb;
this["pt" + i] = this["pt" + i] + 50;
this["dc" + nb]++;
}
}
this["pt" + i]++;
} else {
r = 5;
if ((Math.random() * 3) < 1) {
r = 3 + Math.floor(Math.random() * 3);
}
if (p != 5) {
_parent._parent.start_sound("shu0");
}
}
this["stat" + nb] = "react";
this["react" + nb] = r;
this["cnt" + nb] = 3;
f = "p" + this["rpat" + r];
this["box" + nb].f = f;
this["box" + nb].gotoAndStop(f);
}
this["opc" + i] = p;
if (p != 5) {
this["ene" + i] = this["ene" + i] - punch_ene;
}
} else if (this["ene" + i] <= 0) {
this["stat" + i] = "tired";
this["cnt" + i] = 0;
this["box" + i].gotoAndStop("p3");
cint = 2 + Math.floor(Math.random() * 6);
} else {
this["box" + i].gotoAndStop("p0");
this["stat" + i] = "wait";
}
}
} else if (stat == "react") {
this["cnt" + i]--;
if (this["cnt" + i] <= 0) {
if (((this["react" + i] == 5) || (this["react" + i] == 1)) || (this["react" + i] == 6)) {
this["react" + i] = 7;
this["box" + i].gotoAndStop("p1");
this["cnt" + i] = 2;
this["box" + i]._x = this["box" + i]._x - (this["dir" + i] * 4);
if (box0._x < xleft) {
box0._x = xleft;
}
if (box1._x > xright) {
box1._x = xright;
}
} else {
this["box" + i].gotoAndStop("p0");
this["stat" + i] = "wait";
}
}
} else if (stat == "tired") {
this["cnt" + i]++;
c = this["cnt" + i];
a = Math.floor(c / 3);
if ((a % 2) == 0) {
this["box" + i].gotoAndStop("p3");
} else {
this["box" + i].gotoAndStop("p0");
}
if ((c > 12) && (this["ene" + i] > 0)) {
this["box" + i].gotoAndStop("p0");
this["stat" + i] = "wait";
}
}
if (this["ene" + i] < 1000) {
this["ene" + i] = this["ene" + i] + Math.floor(this["ea" + i]);
}
if (this["dmg" + i] > 0) {
this["dmg" + i]--;
}
i++;
}
f = 1;
if (stat1 != "wait") {
f = 0;
}
if (ene1 <= 0) {
f = 0;
}
if (Math.floor(Math.random() * cint) > 0) {
f = 0;
}
if (f) {
stat1 = "punch";
p = Math.floor(Math.random() * 6);
if (ctac == 1) {
if ((Math.random() * 2) < 1) {
if (opc1 != 0) {
p = 0;
}
}
} else if (ctac == 2) {
if ((Math.random() * 3) < 1) {
if (opc1 != 4) {
p = 4;
}
}
} else if (ctac == 3) {
if ((Math.random() * 2) < 1) {
if (opc1 != 1) {
p = 1;
}
}
} else if (ctac == 4) {
if ((Math.random() * 3) < 2) {
if ((Math.random() * 2) < 1) {
if (opc1 != 2) {
p = 2;
}
} else if (opc1 != 3) {
p = 3;
}
}
}
punch1 = p;
cnt1 = this["ppw" + p];
step1 = 0;
if ((p == 3) || (p == 4)) {
this.box1.gotoAndStop("p8");
} else {
this.box1.gotoAndStop("p5");
}
}
if (shad0._x != box0._x) {
shad0._x = box0._x;
}
if (shad1._x != box1._x) {
shad1._x = box1._x;
}
_parent.a1 = dmg0;
_parent.b1 = dmg1;
if (downer >= 0) {
gotoAndPlay ("down");
} else {
tm++;
s = Math.floor(tm / 10);
if (s != sec) {
sec = s;
timer.play();
}
if (sec >= 40) {
gotoAndStop ("tup");
}
}
Symbol 324 MovieClip Frame 14
gotoAndPlay(_currentframe - 1);
Symbol 324 MovieClip Frame 18
cnt = 0;
step = 0;
mcWaa0.gotoAndStop("stop");
mcWaa1.gotoAndStop("start");
Symbol 324 MovieClip Frame 20
cnt++;
if (step == 0) {
if (cnt > 8) {
cnt = 0;
step++;
this["box" + downer].gotoAndStop("p17");
}
} else if (step == 1) {
if (cnt > 3) {
cnt = 0;
step++;
this["box" + downer].gotoAndStop("p18");
}
}
if (step < 2) {
gotoAndPlay(_currentframe - 1);
} else {
this["dcnt" + downer]++;
if (this["dcnt" + downer] >= 3) {
winner = ((downer == 0) ? 1 : 0);
gotoAndStop ("winner");
gong.gotoAndPlay("fin");
}
}
Symbol 324 MovieClip Frame 22
count = 0;
if (stand_count < 5) {
stand_count = 5;
}
wake_count = (stand_count - 2) - Math.floor(Math.random() * 3);
if (wake_count < 1) {
wake_count = 1;
}
if (wake_count >= 10) {
wake_count = 99;
}
if (stand_count > 10) {
stand_count = 99;
}
dx = this["box" + downer]._x;
if (dx < 60) {
ref._x = dx + 20;
ref.dir = -1;
ref.gotoAndStop("left");
} else {
ref._x = dx - 20;
ref.dir = 1;
ref.gotoAndStop("right");
}
ref._visible = true;
nb = ((downer == 0) ? 1 : 0);
this["stat" + nb] = "walk";
this["cnt" + nb] = 0;
tc = 0;
res = 0;
Symbol 324 MovieClip Frame 24
tc++;
if (tc > 8) {
tc = 0;
count++;
if (count == wake_count) {
this["box" + downer].gotoAndStop("p19");
}
if (count == stand_count) {
this["box" + downer].gotoAndStop("p0");
res = 1;
}
if (count > 10) {
res = 2;
} else {
ref.play();
cmes.play();
}
}
if (this["stat" + nb] == "walk") {
this["cnt" + nb]++;
if (this["cnt" + nb] > 3) {
this["cnt" + nb] = 0;
}
switch (this["cnt" + nb]) {
case 0 :
this["box" + nb].gotoAndStop("p0");
break;
case 1 :
this["box" + nb].gotoAndStop("p1");
break;
case 2 :
this["box" + nb].gotoAndStop("p2");
break;
case 3 :
this["box" + nb].gotoAndStop("p1");
}
this["box" + nb]._x = this["box" + nb]._x - (this["dir" + nb] * 2);
this["shad" + nb]._x = this["box" + nb]._x;
if (nb == 0) {
if (this["box" + nb]._x < xleft) {
this["box" + nb]._x = xleft;
this["stat" + nb] = "wait";
this["box" + nb].gotoAndStop("p0");
}
} else if (this["box" + nb]._x > xright) {
this["box" + nb]._x = xright;
this["stat" + nb] = "wait";
this["box" + nb].gotoAndStop("p0");
}
}
if (res == 1) {
i = 0;
while (i < 2) {
this["stat" + i] = "wait";
this["box" + i].gotoAndStop("p0");
i++;
}
downer = -1;
} else if (res == 2) {
winner = ((downer == 0) ? 1 : 0);
gotoAndStop ("winner");
gong.gotoAndPlay("fin");
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 324 MovieClip Frame 26
stop();
ref.gotoAndPlay("fight");
Symbol 324 MovieClip Frame 27
dmg0 = 0;
dmg1 = 0;
n = ((downer == 0) ? 1 : 0);
this["ene" + n] = ene_max;
gotoAndPlay ("main");
Symbol 324 MovieClip Frame 29
stop();
gong.play();
Symbol 324 MovieClip Frame 30
mcWaa0.gotoAndStop("stop");
mcWaa1.gotoAndStop("stop");
_parent._parent.stop_all_sound();
Symbol 324 MovieClip Frame 31
stop();
if (round >= 3) {
gotoAndPlay ("jud");
} else {
round++;
gotoAndStop ("round");
}
Symbol 324 MovieClip Frame 34
mcWaa0.gotoAndStop("start");
winner = ((pt0 > pt1) ? 0 : 1);
downer = -1;
i = 0;
while (i < 2) {
this["cnt" + i] = 0;
this["stat" + i] = "walk";
i++;
}
Symbol 324 MovieClip Frame 36
i = 0;
while (i < 2) {
this["cnt" + i]++;
if (this["cnt" + i] > 3) {
this["cnt" + i] = 0;
}
switch (this["cnt" + i]) {
case 0 :
this["box" + i].gotoAndStop("p0");
break;
case 1 :
this["box" + i].gotoAndStop("p1");
break;
case 2 :
this["box" + i].gotoAndStop("p2");
break;
case 3 :
this["box" + i].gotoAndStop("p1");
}
this["box" + i]._x = this["box" + i]._x - (this["dir" + i] * 2);
this["shad" + i]._x = this["box" + i]._x;
if (i == 0) {
if (this["box" + i]._x < xleft) {
this["box" + i]._x = xleft;
this["stat" + i] = "wait";
this["box" + i].gotoAndStop("p0");
}
} else if (this["box" + i]._x > xright) {
this["box" + i]._x = xright;
this["stat" + i] = "wait";
this["box" + i].gotoAndStop("p0");
}
i++;
}
if ((stat0 == "wait") && (stat1 == "wait")) {
ref._x = 60;
gotoAndStop ("winner");
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 324 MovieClip Frame 40
stop();
ref.gotoAndPlay("winner");
Symbol 324 MovieClip Frame 43
this["box" + winner].gotoAndStop("p8");
Symbol 324 MovieClip Frame 44
stop();
this["box" + winner].gotoAndStop("p9");
if (downer < 0) {
nb = ((winner == 0) ? 1 : 0);
this["box" + nb].gotoAndStop("p15");
}
mcWaa0.gotoAndStop("stop");
mcWaa1.gotoAndStop("start");
_parent._parent.start_sound("bisi_");
Symbol 324 MovieClip Frame 49
stop();
timer._visible = false;
_parent._parent.stop_all_sound();
_parent.after_match(winner, downer, round);
Symbol 335 Button
on (keyPress "<Space>") {
_parent.gotoAndStop("lev");
}
Symbol 336 MovieClip Frame 28
stop();
Symbol 349 MovieClip Frame 1
stop();
_visible = false;
Symbol 349 MovieClip Frame 2
play();
_visible = true;
Symbol 359 MovieClip Frame 6
function draw_spec() {
var _local2 = 99;
hit = _parent.boxerdata[_local2].hit;
def = _parent.boxerdata[_local2].def;
stm = _parent.boxerdata[_local2].stm;
spt = _parent.boxerdata[_local2].spt;
jab = _parent.boxerdata[_local2].jab;
cross = _parent.boxerdata[_local2].cross;
hook = _parent.boxerdata[_local2].hook;
upper = _parent.boxerdata[_local2].upper;
body = _parent.boxerdata[_local2].body;
}
lup = _parent.lup;
mes = "";
if (lup > 0) {
mes = "RANK UP!";
}
if (lup < 0) {
mes = "RANK DOWN...";
}
draw_spec();
Symbol 359 MovieClip Frame 11
lup = _parent.lup;
if (lup > 0) {
_parent._parent.start_sound("jingle-100511-fanfare03-mp3");
}
if (lup < 0) {
_parent._parent.start_sound("jingle-100511-surprise04-mp3");
}
Symbol 359 MovieClip Frame 23
if (lup == 0) {
gotoAndStop ("end");
}
Symbol 359 MovieClip Frame 24
n = Math.floor(Math.random() * 9);
bn = _parent.user_bn;
if (lup > 0) {
lup--;
a = 1;
_parent._parent.start_sound("levup");
plist = new Array();
c = 0;
if (_parent.boxerdata[bn].hit < 9) {
plist[c] = 0;
c++;
}
if (_parent.boxerdata[bn].def < 9) {
plist[c] = 1;
c++;
}
if (_parent.boxerdata[bn].stm < 9) {
plist[c] = 2;
c++;
}
if (_parent.boxerdata[bn].spt < 9) {
plist[c] = 3;
c++;
}
if (_parent.boxerdata[bn].jab < 9) {
plist[c] = 4;
c++;
}
if (_parent.boxerdata[bn].cross < 9) {
plist[c] = 5;
c++;
}
if (_parent.boxerdata[bn].hook < 9) {
plist[c] = 6;
c++;
}
if (_parent.boxerdata[bn].upper < 9) {
plist[c] = 7;
c++;
}
if (_parent.boxerdata[bn].body < 9) {
plist[c] = 8;
c++;
}
if (c > 0) {
r = Math.floor(Math.random() * c);
n = plist[r];
}
} else {
lup++;
a = -1;
_parent._parent.start_sound("levdown");
}
switch (n) {
case 0 :
_parent.boxerdata[bn].hit = _parent.boxerdata[bn].hit + a;
break;
case 1 :
_parent.boxerdata[bn].def = _parent.boxerdata[bn].def + a;
break;
case 2 :
_parent.boxerdata[bn].stm = _parent.boxerdata[bn].stm + a;
break;
case 3 :
_parent.boxerdata[bn].spt = _parent.boxerdata[bn].spt + a;
break;
case 4 :
_parent.boxerdata[bn].jab = _parent.boxerdata[bn].jab + a;
break;
case 5 :
_parent.boxerdata[bn].cross = _parent.boxerdata[bn].cross + a;
break;
case 6 :
_parent.boxerdata[bn].hook = _parent.boxerdata[bn].hook + a;
break;
case 7 :
_parent.boxerdata[bn].upper = _parent.boxerdata[bn].upper + a;
break;
case 8 :
_parent.boxerdata[bn].body = _parent.boxerdata[bn].body + a;
}
if (_parent.boxerdata[bn].hit < 0) {
_parent.boxerdata[bn].hit = 0;
}
if (_parent.boxerdata[bn].def < 0) {
_parent.boxerdata[bn].def = 0;
}
if (_parent.boxerdata[bn].stm < 0) {
_parent.boxerdata[bn].stm = 0;
}
if (_parent.boxerdata[bn].spt < 0) {
_parent.boxerdata[bn].spt = 0;
}
if (_parent.boxerdata[bn].jab < 0) {
_parent.boxerdata[bn].jab = 0;
}
if (_parent.boxerdata[bn].cross < 0) {
_parent.boxerdata[bn].cross = 0;
}
if (_parent.boxerdata[bn].hook < 0) {
_parent.boxerdata[bn].hook = 0;
}
if (_parent.boxerdata[bn].upper < 0) {
_parent.boxerdata[bn].upper = 0;
}
if (_parent.boxerdata[bn].body < 0) {
_parent.boxerdata[bn].body = 0;
}
draw_spec();
this["tf" + n].textColor = 16776960 /* 0xFFFF00 */;
kira._y = 35 + (n * 16);
kira.gotoAndPlay(2);
Symbol 359 MovieClip Frame 31
if (lup != 0) {
gotoAndPlay ("up");
}
Symbol 359 MovieClip Frame 33
function after_select(curs) {
_parent.after_level();
}
stop();
_parent._parent.stop_all_sound();
mcSelecter.init("next", "");
Symbol 365 MovieClip Frame 1
rec = (((("WIN " + _parent.win_c) + " Loss ") + _parent.lose_c) + " KO ") + _parent.ko_c;
Symbol 365 MovieClip Frame 2
Symbol 365 MovieClip Frame 13
function after_select(curs) {
if (curs == 0) {
_parent.next_match();
} else {
_parent.retire();
}
}
stop();
if (_parent.can_retire) {
mcSelecter.init("CONTINUE", "RETIRE");
} else {
mcSelecter.init("CONTINUE", "");
}
mes0 = "\u540C\u3058\u30D1\u30F3\u30C1\u306E\u9023\u6253\u306F\u5F53\u305F\u3089\u306A\u3044\u3002\u7570\u306A\u308B\u30D1\u30F3\u30C1\u3067\u30B3\u30F3\u30D3\u30CD\u30FC\u30B7\u30E7\u30F3\u3092\u7D44\u307F\u7ACB\u3066\u308D\u3002";
mes1 = "\u30D5\u30C3\u30AF\u3068\u30A2\u30C3\u30D1\u30FC\u306F\u30E9\u30C3\u30AD\u30FC\u30D1\u30F3\u30C1\u306B\u306A\u308B\u3053\u3068\u304C\u3042\u308B\u305E\u3002";
mes2 = "\u30DC\u30C7\u30A3\u30D6\u30ED\u30FC\u306F\u76F8\u624B\u306E\u30B9\u30BF\u30DF\u30CA\u3092\u3046\u3070\u3046\u3002\u3042\u3068\u304B\u3089\u52B9\u3044\u3066\u304F\u308B\u305E\u3002";
mes3 = "\u30ED\u30FC\u30D7\u306B\u8FFD\u3044\u3064\u3081\u308B\u3068\u30D1\u30F3\u30C1\u304C\u5F53\u305F\u308A\u3084\u3059\u304F\u306A\u308B\u305E\u3002";
mes4 = "\u9023\u7D9A\u3067\u30D1\u30F3\u30C1\u3092\u5F53\u3066\u308B\u3068\u30C0\u30E1\u30FC\u30B8\u304C\u5927\u304D\u304F\u306A\u308B\u305E\u3002";
mes5 = "\u75B2\u308C\u3066\u80A9\u3067\u606F\u3092\u3057\u3066\u3044\u308B\u6642\u306F\u30D1\u30F3\u30C1\u304C\u5F53\u305F\u308A\u3084\u3059\u3044\u3002";
mes6 = "\u30B8\u30E3\u30D6\u3068\u30DC\u30C7\u30A3\u306F\u5F53\u3066\u3084\u3059\u3044\u304C\u3001\u30C0\u30A6\u30F3\u3092\u596A\u3048\u306A\u3044\u3002";
if (_parent._parent.lang == 1) {
mes0 = "You won't land hits by using the same punches. You need to mix them up in combinations.";
mes1 = "Hooks and uppercuts sometimes land lucky hits.";
mes2 = "Body blows sap your opponent's stamina, making it easier to knock them out.";
mes3 = "When your opponent is up on the ropes, it's easier to land punches.";
mes4 = "Consecutive hits cause more damage.";
mes5 = "When your opponent is tired, it's easier to land punches.";
mes6 = "It's easy to land jabs and body blows, but they won't knock your opponent down.";
}
mes = this["mes" + Math.floor(Math.random() * 7)];
Symbol 376 MovieClip Frame 1
stop();
Symbol 377 MovieClip Frame 1
stop();
ot = getTimer();
onEnterFrame = function () {
if (getTimer() > (ot + 3000)) {
delete onEnterFrame;
play();
}
};
Symbol 377 MovieClip Frame 13
stop();
if (graph._currentframe < 5) {
ot = getTimer();
onEnterFrame = function () {
if (getTimer() > (ot + 10000)) {
delete onEnterFrame;
play();
}
};
}
Symbol 377 MovieClip Frame 26
graph.nextFrame();
Symbol 380 MovieClip Frame 1
_visible = false;
Symbol 384 MovieClip Frame 42
stop();
win_c = 0;
lose_c = 0;
ko_c = 0;
ta = new Array();
n = 0;
ta[n] = "Your Record";
n++;
ta[n] = "";
n++;
i = 0;
while (i < _parent.match_c) {
if (_parent.record[i].winner == 0) {
ta[n] = "WIN ";
win_c++;
} else {
ta[n] = "LOSS ";
lose_c++;
}
bn = _parent.record[i].bn;
ta[n] = ta[n] + _parent.boxerdata[bn].nam;
ta[n] = ta[n] + " R";
ta[n] = ta[n] + _parent.record[i].r;
if (_parent.record[i].downer == 1) {
ta[n] = ta[n] + " KO";
ko_c++;
}
n++;
i++;
}
ta[n] = "";
n++;
ta[n] = "";
n++;
ta[n] = "WIN " + win_c;
n++;
ta[n] = "LOSS " + lose_c;
n++;
ta[n] = "Knock Out " + ko_c;
n++;
ta[n] = "";
n++;
ta[n] = "";
n++;
ta[n] = "";
n++;
ta[n] = "";
n++;
ta[n] = "";
n++;
ta[n] = "";
n++;
ta[n] = "PROGRAM";
n++;
ta[n] = "GAMEDESIGN";
n++;
ta[n] = "";
n++;
ta[n] = "";
n++;
ta[n] = "";
n++;
ta[n] = "";
n++;
ta[n] = "";
n++;
ta[n] = "";
n++;
ta[n] = "GRAPHICS";
n++;
ta[n] = "SKIPMORE";
n++;
ta[n] = "GAMEDESIGN";
n++;
ta[n] = "";
n++;
ta[n] = "";
n++;
ta[n] = "";
n++;
ta[n] = "";
n++;
ta[n] = "";
n++;
ta[n] = "";
n++;
ta[n] = "MUSIC";
n++;
ta[n] = "PANIC PUMPKIN";
n++;
ta[n] = "";
n++;
ta[n] = "";
n++;
ta[n] = "";
n++;
ta[n] = "";
n++;
ta[n] = "";
n++;
ta[n] = "";
n++;
ta[n] = "";
n++;
ta[n] = "";
n++;
ta[n] = "THANK YOU FOR PLAYING!";
n++;
ta[n] = "";
n++;
ta[n] = "";
n++;
ta[n] = "";
n++;
ta[n] = "/E";
n++;
cnt = 0;
mn = 0;
tn = 0;
fin = 0;
onEnterFrame = function () {
cnt++;
if (fin == 0) {
if (cnt >= 12) {
cnt = 0;
var mc = eval ("mc" + mn);
mc._y = 400;
mc._visible = true;
mc.txt = ta[tn];
if (ta[tn].substr(0, 3) == "WIN") {
mc.tf.textColor = 16776960 /* 0xFFFF00 */;
} else if (ta[tn].substr(0, 4) == "LOSS") {
mc.tf.textColor = 65535;
} else {
mc.tf.textColor = 16777215 /* 0xFFFFFF */;
}
mn++;
if (mn >= 16) {
mn = 0;
}
tn++;
if (ta[tn] == "/E") {
fin = 1;
}
}
} else if (cnt > 50) {
delete onEnterFrame;
gotoAndStop ("link");
}
var i = 0;
while (i < 16) {
var mc = eval ("mc" + i);
mc._y = mc._y - 2;
if (mc._y <= 0) {
mc._visible = false;
}
i++;
}
};
Symbol 384 MovieClip Frame 46
function after_select(curs) {
getURL ("http://www.gamedesign.jp/");
}
stop();
selecter.init("End", "");
Symbol 385 MovieClip Frame 1
boxerdata0 = "Holyfield_8_9_6_8_6_8_3_7_8_7_8_8_0_7_2_4_3_";
boxerdata1 = "Jones_9_9_9_7_8_7_3_8_8_9_7_7_0_8_2_2_2_";
boxerdata2 = "Tyson_9_7_7_2_6_7_3_7_9_9_9_9_0_9_2_2_1_";
boxerdata3 = "Ali_9_9_8_9_7_9_3_7_6_8_7_6_0_4_2_0_0_";
boxerdata4 = "Chavez_9_8_7_6_9_9_4_8_9_8_8_7_0_0_0_0_4_";
boxerdata5 = "Robinson_9_9_9_8_9_9_3_8_8_7_7_9_0_7_2_1_1_";
boxerdata6 = "Foreman_8_7_6_3_6_9_3_6_9_8_7_9_0_6_2_4_3_";
boxerdata7 = "Duran_9_7_8_6_7_6_4_7_9_9_9_9_4_5_1_1_0_";
boxerdata8 = "Leonard_9_9_9_7_8_7_3_7_7_8_6_6_0_2_2_3_2_";
boxerdata9 = "Hearns_9_8_9_9_6_6_3_6_9_7_5_4_0_8_2_3_1_";
boxerdata10 = "Lopez_8_9_7_8_8_7_4_8_7_8_7_5_0_4_1_1_0_";
boxerdata11 = "Yuri_9_9_7_6_6_6_0_7_8_5_6_7_0_8_0_0_1_";
boxerdata12 = "Holmes_8_8_5_6_6_6_6_7_7_7_4_3_3_7_2_2_3_";
boxerdata13 = "Hagler_8_8_8_7_8_7_3_6_8_6_7_6_0_2_2_4_1_";
boxerdata14 = "Pep_9_9_3_1_5_7_0_7_7_5_8_1_0_5_0_1_0_";
boxerdata15 = "Marciano_9_5_9_5_4_3_3_6_7_7_8_8_0_0_0_1_0_";
boxerdata16 = "Louis_7_9_8_7_7_8_3_5_7_7_7_9_0_2_2_1_1_";
boxerdata17 = "Khaosai_7_9_5_4_6_9_2_7_8_7_4_6_0_3_1_1_2_";
boxerdata18 = "Olivares_9_9_5_7_8_5_3_7_3_9_9_5_0_2_1_3_1_";
boxerdata19 = "Frazier_8_6_9_7_8_9_3_5_6_9_7_9_3_7_2_2_2_";
boxerdata20 = "Armstrong_7_9_5_3_6_9_3_5_7_8_7_8_3_3_2_0_0_";
boxerdata21 = "Monzon_7_9_6_8_7_7_4_6_7_8_6_4_0_8_0_3_4_";
boxerdata22 = "Zarate_7_8_5_4_7_8_4_9_6_8_4_4_0_3_1_3_2_";
boxerdata23 = "Arguello_8_9_7_7_6_5_4_7_9_7_6_4_4_7_0_1_3_";
boxerdata24 = "McCallum_7_8_3_5_9_5_1_6_6_3_4_9_0_1_2_2_1_";
boxerdata25 = "Takehara_6_5_3_9_5_6_0_7_7_6_4_5_0_8_1_0_1_";
boxerdata26 = "Canto_8_8_7_6_9_8_3_6_7_6_6_5_0_0_1_1_3_";
boxerdata27 = "Hopkins_9_5_2_5_5_8_0_9_8_5_3_5_0_5_2_4_1_";
boxerdata28 = "Gushiken_9_7_7_5_8_7_0_6_6_9_7_6_0_7_1_3_0_";
boxerdata29 = "Pacquiao_5_9_6_8_3_6_4_5_6_9_7_5_0_4_1_1_2_";
boxerdata30 = "Whitaker_4_9_9_7_5_1_3_4_5_3_5_3_0_2_2_2_1_";
boxerdata31 = "Trinidad_5_7_8_4_6_9_4_9_3_7_2_5_0_6_2_2_2_";
boxerdata32 = "Calzaghe_7_9_6_5_5_7_3_6_5_6_7_6_0_2_0_2_1_";
boxerdata33 = "Freitas_5_9_5_3_4_5_3_7_4_8_7_2_0_0_1_1_4_";
boxerdata34 = "LaMotta_6_7_3_9_9_9_3_2_5_9_6_7_0_0_0_1_1_";
boxerdata35 = "Barrera_7_6_8_1_8_6_4_5_6_7_9_2_0_6_1_0_2_";
boxerdata36 = "Mosley_6_9_8_6_5_9_4_9_8_5_4_7_0_0_2_2_1_";
boxerdata37 = "Bowe_7_6_6_9_4_3_3_7_8_5_5_2_0_0_2_2_0_";
boxerdata38 = "Mayweather_6_9_7_6_7_7_0_1_3_4_5_4_0_7_2_2_1_";
boxerdata39 = "Douglas_6_5_6_3_3_2_3_6_7_8_7_6_0_7_2_2_0_";
boxerdata40 = "Hamed_6_6_8_3_6_7_4_6_6_7_7_5_0_3_1_2_1_";
boxerdata41 = "Oba_7_5_8_7_8_9_0_7_6_8_5_3_0_8_1_2_0_";
boxerdata42 = "Sanchez_7_9_9_7_7_6_4_5_4_5_6_4_0_0_0_3_3_";
boxerdata43 = "Donaire_7_8_9_6_7_3_3_7_4_6_7_6_0_0_1_1_2_";
boxerdata44 = "Spinks_6_7_9_0_6_5_3_6_9_6_4_9_0_2_2_2_0_";
boxerdata45 = "Oscar_6_4_4_6_5_9_4_7_5_6_7_3_0_7_1_1_2_";
boxerdata46 = "Saensak_9_4_4_6_7_9_2_6_5_7_5_6_0_3_1_3_2_";
boxerdata47 = "Khaokor_4_4_4_6_7_8_2_9_9_4_9_7_0_4_1_1_2_";
boxerdata48 = "Tatsuyoshi_7_3_7_5_2_7_0_5_7_8_7_9_0_8_1_0_0_";
boxerdata49 = "Dempsey_7_7_8_2_8_3_3_3_9_8_7_9_0_0_0_0_1_";
boxerdata50 = "Yosukezan_6_7_5_5_7_8_0_6_5_7_7_6_0_2_1_4_1_";
boxerdata51 = "Garcia_8_5_7_5_8_9_2_5_3_5_5_8_0_8_1_2_3_";
boxerdata52 = "Klitschko_3_5_9_7_7_6_3_9_8_6_9_7_0_7_0_1_2_";
boxerdata53 = "Judah_6_7_6_7_7_6_0_6_7_5_4_5_0_8_2_4_2_";
boxerdata54 = "Gomez_8_3_9_3_8_2_4_7_9_8_9_6_0_4_1_3_2_";
boxerdata55 = "Gatti_4_8_7_8_9_9_4_8_9_5_9_4_0_6_0_1_0_";
boxerdata56 = "Pryor_6_6_6_4_9_9_2_4_6_6_5_5_0_8_2_3_0_";
boxerdata57 = "Lee_8_3_2_0_5_6_1_6_6_5_7_7_0_3_1_0_0_";
boxerdata58 = "Tarver_4_3_9_7_7_9_1_6_5_2_5_7_0_1_2_1_2_";
boxerdata59 = "Curry_4_9_4_8_8_3_3_3_2_3_3_2_0_6_2_2_2_";
boxerdata60 = "HAMADA_4_4_7_9_3_5_0_5_8_8_9_9_0_4_2_0_0_";
boxerdata61 = "Pak_6_5_4_7_5_6_1_5_7_6_7_5_0_8_1_1_3_";
boxerdata62 = "Minter_4_4_3_7_4_8_0_5_6_7_7_5_0_4_0_1_2_";
boxerdata63 = "Greb_6_3_3_7_8_7_3_7_6_8_7_5_0_0_0_2_1_";
boxerdata64 = "DAGGE_7_7_5_6_2_7_0_4_3_5_9_5_0_0_0_1_1_";
boxerdata65 = "Mugabi_7_3_5_4_6_3_3_5_8_7_8_4_0_4_2_2_0_";
boxerdata66 = "Ioka_6_6_7_7_7_4_0_3_4_4_2_3_0_1_1_1_0_";
boxerdata67 = "Chang_6_5_5_6_3_4_2_5_5_7_5_2_0_4_1_0_0_";
boxerdata68 = "Yuh_6_6_5_4_5_8_0_3_5_4_3_3_0_1_1_0_0_";
boxerdata69 = "Ohashi_6_5_4_5_6_6_0_3_4_3_7_6_0_1_1_1_0_";
boxerdata70 = "Saman_2_8_6_5_6_3_3_3_1_2_3_2_0_4_1_2_3_";
boxerdata71 = "Veeraphol _4_6_0_2_4_4_3_9_2_9_6_3_0_0_1_2_3_";
boxerdata72 = "Maskaev_6_5_8_3_5_4_0_5_4_5_3_5_0_4_0_2_1_";
boxerdata73 = "Elorde_4_3_4_4_7_4_2_4_5_4_4_3_0_8_1_1_4_";
boxerdata74 = "Luisito_3_2_8_7_0_0_3_9_9_9_9_9_0_3_1_2_3_";
boxerdata75 = "Kim_4_2_2_6_4_9_1_6_7_6_4_4_0_4_1_1_0_";
boxerdata76 = "Lakva_5_6_4_2_7_4_0_5_3_5_3_4_0_3_1_1_1_";
boxerdata77 = "Yakushiji_3_5_3_8_6_5_0_4_4_2_3_2_0_8_1_3_1_";
boxerdata78 = "Kingpetch_6_2_8_4_9_4_3_4_6_7_5_3_0_0_1_1_3_";
boxerdata79 = "Basilio_2_5_4_0_9_9_3_2_3_1_0_2_0_8_0_2_1_";
boxerdata80 = "Moon_6_5_3_4_5_5_0_3_4_3_4_2_0_8_1_0_0_";
boxerdata81 = "Navarro_5_2_8_4_2_6_0_0_7_1_0_4_0_8_0_1_4_";
boxerdata82 = "Naoto_5_2_4_4_5_2_0_5_5_4_3_4_0_1_1_1_1_";
boxerdata83 = "Hasegawa_8_0_7_5_2_0_2_2_1_8_6_0_0_3_1_2_3_";
boxerdata84 = "Chartchai_5_4_1_5_5_3_2_3_3_5_2_3_0_1_1_2_2_";
boxerdata85 = "Yamato_4_2_2_4_6_2_0_4_5_6_5_3_0_2_1_2_1_";
boxerdata86 = "Santa_3_4_4_6_5_1_0_4_5_4_3_2_0_3_0_1_1_";
boxerdata87 = "Oowada_5_5_3_8_4_0_0_4_3_5_4_1_0_7_1_0_0_";
boxerdata88 = "Yoshino_5_2_4_1_6_1_0_3_2_8_2_0_0_1_1_3_1_";
boxerdata89 = "Bueno_4_5_6_0_3_6_1_3_4_5_6_7_0_8_1_1_2_";
boxerdata90 = "Wajima_3_3_0_6_1_6_0_3_4_2_5_2_0_6_1_0_0_";
boxerdata91 = "HARADA_4_2_5_4_6_3_0_0_1_1_1_0_0_4_1_0_0_";
boxerdata92 = "Kasai_4_5_7_6_5_2_0_3_3_2_0_2_0_1_1_0_1_";
boxerdata93 = "hwang_3_4_2_6_5_7_2_0_1_3_3_0_0_1_1_2_0_";
boxerdata94 = "TOGUCHI_4_2_5_4_2_2_0_4_0_4_3_0_0_8_1_3_1_";
boxerdata95 = "ishimatsu_2_3_2_4_0_5_0_2_5_0_5_7_0_7_1_3_0_";
boxerdata96 = "tokashiki_2_4_2_0_0_3_0_0_4_7_3_6_0_4_1_2_2_";
boxerdata97 = "KANAYAMA_3_2_1_3_4_5_0_5_5_5_4_6_0_1_1_2_2_";
boxerdata98 = "Hiranaka_5_0_6_1_2_3_0_4_3_4_6_4_0_9_1_0_1_";
boxerdata99 = "YOU_3_7_2_6_0_7_1_7_0_1_1_3_0_0_1_4_3_";
Symbol 385 MovieClip Frame 2
function init_rank() {
var _local1;
_local1 = 0;
while (_local1 < 100) {
boxerdata[_local1].rank = _local1;
_local1++;
}
_local1 = 0;
while (_local1 < 99) {
var _local2 = (Math.floor(_local1 / 20) * 20) + Math.floor(Math.random() * 20);
if (_local2 == 99) {
} else {
var _local3 = boxerdata[_local1].rank;
boxerdata[_local1].rank = boxerdata[_local2].rank;
boxerdata[_local2].rank = _local3;
}
_local1++;
}
}
var boxerdata = new Array();
i = 0;
while (i < 100) {
var a = this["boxerdata" + i].split("_");
boxerdata[i] = new Object();
boxerdata[i].nam = a[0];
boxerdata[i].hit = Number(a[1]);
boxerdata[i].def = Number(a[2]);
boxerdata[i].stm = Number(a[4]);
boxerdata[i].spt = Number(a[5]);
boxerdata[i].jab = Number(a[8]);
boxerdata[i].cross = Number(a[9]);
boxerdata[i].hook = Number(a[10]);
boxerdata[i].upper = Number(a[11]);
boxerdata[i].body = Number(a[12]);
boxerdata[i].col = Number(a[15]);
boxerdata[i].hair = Number(a[16]);
boxerdata[i].pcol = Number(a[17]);
i++;
}
init_rank();
Symbol 385 MovieClip Frame 4
function title_newgame() {
match_c = 0;
user_bn = 99;
com_bn = 98;
lev_down = 20 + Math.floor(Math.random() * 20);
can_retire = 0;
init_rank();
gotoAndStop ("chara");
}
function set_boxer() {
var _local2 = 0;
while (_local2 < 2) {
var _local3 = ((_local2 == 0) ? (user_bn) : (com_bn));
this["name" + _local2] = boxerdata[_local3].nam;
this["rank" + _local2] = boxerdata[_local3].rank;
this["col" + _local2] = boxerdata[_local3].col;
this["pcol" + _local2] = boxerdata[_local3].pcol;
this["hair" + _local2] = boxerdata[_local3].hair;
this["hit" + _local2] = boxerdata[_local3].hit;
this["skil" + _local2] = boxerdata[_local3].def;
this["stam" + _local2] = boxerdata[_local3].stm;
this["tole" + _local2] = boxerdata[_local3].spt;
this[("pp" + _local2) + "0"] = boxerdata[_local3].jab;
this[("pp" + _local2) + "1"] = boxerdata[_local3].cross;
this[("pp" + _local2) + "2"] = boxerdata[_local3].hook;
this[("pp" + _local2) + "3"] = boxerdata[_local3].upper;
this[("pp" + _local2) + "4"] = boxerdata[_local3].body;
var _local4 = boxerdata[_local3].hit;
this[("ps" + _local2) + "0"] = _local4;
this[("ps" + _local2) + "1"] = _local4;
this[("ps" + _local2) + "2"] = _local4;
this[("ps" + _local2) + "3"] = _local4;
this[("ps" + _local2) + "4"] = _local4;
_local2++;
}
}
function start_game() {
set_boxer();
if ((rank0 == 0) || (rank1 == 0)) {
gotoAndStop ("belt");
} else {
gotoAndStop ("game");
}
}
function next_match() {
var _local2 = Math.floor((100 - boxerdata[user_bn].rank) / 2);
if (boxerdata[user_bn].rank == 0) {
_local2 = 70;
}
if ((Math.random() * 100) < _local2) {
if (true) {
var _local1 = Math.floor(Math.random() * 100);
if (_local1 == user_bn) {
// unexpected jump
}
if (boxerdata[_local1].rank == 0) {
// unexpected jump
}
if (boxerdata[_local1].rank <= (boxerdata[user_bn].rank - 10)) {
// unexpected jump
}
if (boxerdata[_local1].rank >= (boxerdata[user_bn].rank + 10)) {
// unexpected jump
}
com_bn = _local1;
}
set_boxer();
gotoAndStop ("challenger");
} else {
gotoAndStop ("ranker");
}
}
stop();
_xscale = 150;
_yscale = 150;
user_bn = 99;
com_bn = 98;
record = new Array();
Symbol 385 MovieClip Frame 9
stop();
Symbol 385 MovieClip Frame 15
stop();
Symbol 385 MovieClip Frame 20
stop();
Symbol 385 MovieClip Frame 24
stop();
Symbol 385 MovieClip Frame 29
function after_match(w, d, r) {
c = match_c;
record[c] = new Object();
record[c].bn = com_bn;
record[c].winner = w;
record[c].downer = d;
record[c].r = r;
match_c++;
winner = w;
if ((boxerdata[com_bn].rank == 0) && (winner == 0)) {
gotoAndStop ("champ");
} else {
gotoAndStop ("lev");
}
}
stop();
i = 0;
while (i < 2) {
this["sei" + i] = "RANK " + this["rank" + i];
if (this["rank" + i] == 0) {
this["sei" + i] = "CHAMPION";
}
i++;
}
if (stam1 > 5) {
stam1 = 5;
}
Symbol 385 MovieClip Frame 36
stop();
can_retire = 1;
Symbol 385 MovieClip Frame 42
function after_level() {
if (winner == 0) {
if (rank0 > rank1) {
ranker_swap();
}
} else if (rank0 < rank1) {
ranker_swap();
}
gotoAndStop ("record");
}
function ranker_swap() {
var _local1 = boxerdata[user_bn].rank;
boxerdata[user_bn].rank = boxerdata[com_bn].rank;
boxerdata[com_bn].rank = _local1;
}
stop();
pp = [0, 0];
pp[0] = (((boxerdata[user_bn].jab + boxerdata[user_bn].cross) + boxerdata[user_bn].hook) + boxerdata[user_bn].upper) + boxerdata[user_bn].body;
pp[1] = (((boxerdata[com_bn].jab + boxerdata[com_bn].cross) + boxerdata[com_bn].hook) + boxerdata[com_bn].upper) + boxerdata[com_bn].body;
p = 0;
if (boxerdata[user_bn].hit < boxerdata[com_bn].def) {
p = p + 4;
}
if (boxerdata[user_bn].def < boxerdata[com_bn].hit) {
p = p + 4;
}
if (boxerdata[user_bn].stm < boxerdata[com_bn].stm) {
p = p + 2;
}
if (boxerdata[user_bn].spt < boxerdata[com_bn].spt) {
p = p + 1;
}
if (boxerdata[user_bn].jab < boxerdata[com_bn].jab) {
p = p + 1;
}
if (boxerdata[user_bn].cross < boxerdata[com_bn].cross) {
p = p + 1;
}
if (boxerdata[user_bn].hook < boxerdata[com_bn].hook) {
p = p + 1;
}
if (boxerdata[user_bn].upper < boxerdata[com_bn].upper) {
p = p + 1;
}
if (boxerdata[user_bn].body < boxerdata[com_bn].body) {
p = p + 1;
}
lup = 1 + Math.floor((Math.random() * p) / 2);
if (lup > 5) {
lup = 5;
}
if (winner != 0) {
if (lup > 0) {
lup = 0;
}
}
if (match_c >= lev_down) {
lup = -1 - Math.floor(Math.random() * 5);
}
Symbol 385 MovieClip Frame 47
function retire() {
gotoAndStop ("ending");
}
stop();
_parent.mcCoach.gotoAndPlay(2);
win_c = 0;
lose_c = 0;
ko_c = 0;
i = 0;
while (i < match_c) {
if (record[i].winner == 0) {
win_c++;
if (record[i].downer == 1) {
ko_c++;
}
} else {
lose_c++;
}
i++;
}
Symbol 385 MovieClip Frame 53
stop();
_xscale = 100;
_yscale = 100;
_parent.mcHelp._visible = false;