home *** CD-ROM | disk | FTP | other *** search
- _root.musiccontrol.gotoAndPlay("success");
- _root._quality = "HIGH";
- fighting = 1;
- if(_root.yourspeed > 1)
- {
- _root.yourspeed--;
- }
- if(_root.yourstamina > 1)
- {
- _root.yourstamina--;
- }
- if(_root.yourpower > 1)
- {
- _root.yourpower--;
- }
- if(_root.yourcondition > 1)
- {
- _root.yourcondition--;
- }
- if(_root.troubles > 0)
- {
- _root.troubles -= 1;
- }
- _root.mediahype += 5;
- _root.bank += _root.payperfight;
- _root.payperfight += 1000;
- if(_root.oppKO == "knockout")
- {
- _root.wins = _root.wins + 1;
- _root.attributepts += 1;
- if(_root.divtype == 1)
- {
- _root.divtype1wins = _root.divtype1wins + 1;
- }
- if(_root.divtype == 2)
- {
- _root.divtype2wins = _root.divtype2wins + 1;
- }
- if(_root.divtype == 3)
- {
- _root.divtype3wins = _root.divtype3wins + 1;
- }
- if(_root.divtype == 4)
- {
- _root.divtype4wins = _root.divtype4wins + 1;
- }
- if(_root.divtype == 5)
- {
- _root.divtype5wins = _root.divtype5wins + 1;
- }
- if(_root.divtype == 6)
- {
- _root.divtype6wins = _root.divtype6wins + 1;
- }
- if(_root.belts[0] != "STREET BELT" && _root.divtype1wins == 1 && _root.divtype == 1)
- {
- _root.currentbelt = "STREET BELT";
- _root.beltsobtained = _root.beltsobtained + 1;
- _root.belts[0] = "STREET BELT";
- _root.gotoAndStop("beltget");
- }
- if(_root.belts[1] != "AMATUER BELT" && _root.divtype2wins == 1 && _root.divtype == 2)
- {
- _root.currentbelt = "AMATUER CHAMPIONSHIP BELT";
- _root.beltsobtained = _root.beltsobtained + 1;
- _root.belts[1] = "AMATUER BELT";
- _root.gotoAndStop("beltget");
- }
- if(_root.belts[2] != "STREET CHAMPION" && _root.divtype3wins == 2 && _root.divtype == 3)
- {
- _root.currentbelt = "STREET CHAMPIONS BELT";
- _root.beltsobtained = _root.beltsobtained + 1;
- _root.belts[2] = "STREET CHAMPION";
- _root.gotoAndStop("beltget");
- }
- if(_root.belts[3] != "REGIONAL TITLE" && _root.divtype4wins == 2 && _root.divtype == 4)
- {
- _root.currentbelt = "REGIONAL TITLE BELT";
- _root.beltsobtained = _root.beltsobtained + 1;
- _root.belts[3] = "REGIONAL TITLE";
- _root.gotoAndStop("beltget");
- }
- if(_root.belts[4] != "WORLDSTREET CHAMP" && _root.divtype5wins == 3 && _root.divtype == 5)
- {
- _root.currentbelt = "WORLDSTREETS CHAMPIONSHIP BELT";
- _root.beltsobtained = _root.beltsobtained + 1;
- _root.belts[4] = "WORLDSTREET CHAMP";
- _root.gotoAndStop("beltget");
- }
- if(_root.belts[5] != "NATIONAL TITLE" && _root.divtype6wins == 3 && _root.divtype == 6)
- {
- _root.currentbelt = "NATIONAL TITLE BELT";
- _root.beltsobtained = _root.beltsobtained + 1;
- _root.belts[5] = "NATIONAL TITLE";
- _root.gotoAndStop("beltget");
- }
- if(_root.belts[5] != "WORLD CHAMPION" && _root.beltsobtained == 6)
- {
- _root.currentbelt = "THE WORLD\'S CHAMPIONSHIP BELT";
- _root.belts[5] = "WORLD CHAMPION";
- _root.gotoAndStop("beltget");
- }
- if(_root.divtype == 7 && _root.finalboss == 1)
- {
- _root.currentbelt = "GOLDEN GLOVE CHAMPION";
- _root.gotoAndStop("champ");
- }
- }
- if(_root.youKO == "yourout")
- {
- _root.troubles += 2;
- _root.losses = _root.losses + 1;
- if(_root.divtype == 1)
- {
- _root.divtype1losses = _root.divtype1losses + 1;
- }
- if(_root.divtype == 2)
- {
- _root.divtype2losses = _root.divtype2losses + 1;
- }
- if(_root.divtype == 3)
- {
- _root.divtype3losses = _root.divtype3losses + 1;
- }
- if(_root.divtype == 4)
- {
- _root.divtype4losses = _root.divtype4losses + 1;
- }
- if(_root.divtype == 5)
- {
- _root.divtype5losses = _root.divtype5losses + 1;
- }
- if(_root.divtype == 6)
- {
- _root.divtype6losses = _root.divtype6losses + 1;
- }
- _root.gotoAndStop("fightover");
- }
-