Frame 1
function percent() {
a = getBytesLoaded();
b = getBytesTotal();
c = Math.ceil((a / b) * 100) + "%";
}
function highQuality() {
_quality = "high";
}
function mediumQuality() {
_quality = "medium";
}
function lowQuality() {
_quality = "low";
}
stop();
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
_root.menu = myMenu;
onEnterFrame = percent;
var newMenu = new ContextMenu();
newMenu.hideBuiltInItems();
var lowQ = new ContextMenuItem("High Quality", highQuality);
var mediumQ = new ContextMenuItem("Medium Quality", mediumQuality);
var highQ = new ContextMenuItem("Low Quality", lowQuality);
newMenu.customItems.push(highQ, mediumQ, lowQ);
_root.menu = newMenu;
_quality = "low";
_root.pos = SharedObject.getLocal("fighter");
_root.savenumber = _root.pos.data.savenumber;
Frame 26
stop();
points = 0;
health = 100;
maxhealth = 100;
special = 100;
roundnumber = 1;
hammerhead = 0;
dragonfang = 0;
crouchingtwins = 0;
lightning = 0;
falconsfury = 0;
speedoflight = 0;
attack = 1;
speed = 7;
if (_root.savenumber != 1) {
_root.loadbtn._visible = 0;
}
Frame 28
deathsleft = _root.roundnumber + 1;
revivesleft = _root.roundnumber - 1;
enemyhealth = Math.round((_root.roundnumber + 1) * 3.5);
enemyhealth2 = Math.round((_root.roundnumber + 1) * 3.5);
enemyattack = _root.roundnumber;
play();
Frame 29
stop();
combo = 0;
combo2 = 0;
jin_mc.step = 0;
jin_mc.attack = false;
jin_mc.stance = 1;
jin_mc.crouch = false;
keydown = false;
this.onEnterFrame = function () {
jin_mc._x = jin_mc._x + jin_mc.step;
jin_mc.step = jin_mc.step * 0.3;
if (jin_mc.attack == false) {
if (Key.isDown(39)) {
jin_mc._xscale = -100;
jin_mc.stance = 1;
jin_mc.step = jin_mc.step + _root.speed;
jin_mc.gotoAndStop("walk");
} else if (Key.isDown(37)) {
jin_mc._xscale = 100;
jin_mc.stance = 0;
jin_mc.step = jin_mc.step - _root.speed;
jin_mc.gotoAndStop("walk");
} else if (Key.isDown(40)) {
jin_mc.gotoAndStop("crouch");
jin_mc.crouch = true;
} else if (!Key.isDown()) {
jin_mc.gotoAndStop("stance");
jin_mc.crouch = false;
}
}
if (Key.isDown(32) && (keydown == false)) {
jin_mc.attack = true;
}
if (jin_mc.attack) {
if (Key.isDown(40)) {
jin_mc.gotoAndStop("crouchpunch");
} else if (Key.isDown(38)) {
jin_mc.gotoAndStop("uppercut");
} else if (Key.isDown(68)) {
if (_root.dragonfang == 1) {
if (_root.special >= 5) {
jin_mc.gotoAndStop("dragonfang");
}
}
} else if (Key.isDown(70)) {
if (_root.hammerhead == 1) {
if (_root.special >= 3) {
jin_mc.gotoAndStop("hammerhead");
}
}
} else {
jin_mc.gotoAndStop("punch");
}
}
if (Key.isDown(32)) {
keydown = true;
} else {
keydown = false;
}
if (this.hitTest(_root.pooka1.attacking)) {
_root.health = _root.health - (_root.enemyattack + random(2));
_root.bam2._x = _root.jin_mc._x;
_root.bam2.play();
_root.hurt.play();
}
if (this.hitTest(_root.pooka2.attacking2)) {
_root.health = _root.health - (_root.enemyattack + random(2));
_root.bam4._x = _root.jin_mc._x;
_root.bam4.play();
_root.hurt.play();
}
};
Instance of Symbol 110 MovieClip "bg" in Frame 29
onClipEvent (enterFrame) {
if (_root.jin_mc.hitTest(_root.leftbound2)) {
_root.jin_mc._x = _root.jin_mc._x - _root.jin_mc.step;
}
if (_root.jin_mc.hitTest(_root.rightbound2)) {
_root.jin_mc._x = _root.jin_mc._x - _root.jin_mc.step;
}
if (Key.isDown(37)) {
this._x = this._x - _root.jin_mc.step;
if (this.hitTest(_root.rightbound)) {
this._x = this._x + _root.jin_mc.step;
} else {
_root.jin_mc._x = _root.jin_mc._x - _root.jin_mc.step;
_root.pooka1._x = _root.pooka1._x - _root.jin_mc.step;
_root.pooka2._x = _root.pooka2._x - _root.jin_mc.step;
}
if (_root.jin_mc._x > 400) {
this._x = this._x + _root.jin_mc.step;
_root.pooka1._x = _root.pooka1._x + _root.jin_mc.step;
_root.pooka2._x = _root.pooka2._x + _root.jin_mc.step;
_root.jin_mc._x = _root.jin_mc._x + (_root.jin_mc.step * 1.5);
}
}
if (Key.isDown(39)) {
this._x = this._x - _root.jin_mc.step;
_root.pooka1._x = _root.pooka1._x - _root.jin_mc.step;
_root.pooka2._x = _root.pooka2._x - _root.jin_mc.step;
if (this.hitTest(_root.leftbound)) {
this._x = this._x + _root.jin_mc.step;
_root.pooka1._x = _root.pooka1._x + _root.jin_mc.step;
_root.pooka2._x = _root.pooka2._x + _root.jin_mc.step;
} else {
_root.jin_mc._x = _root.jin_mc._x - _root.jin_mc.step;
}
if (_root.jin_mc._x < 400) {
this._x = this._x + _root.jin_mc.step;
_root.pooka1._x = _root.pooka1._x + _root.jin_mc.step;
_root.pooka2._x = _root.pooka2._x + _root.jin_mc.step;
_root.jin_mc._x = _root.jin_mc._x + (_root.jin_mc.step * 1.5);
}
}
}
Instance of Symbol 121 MovieClip "pooka1" in Frame 29
onClipEvent (enterFrame) {
if (_root.jin_mc.hitTest(_x + 30, _y, true)) {
_root.jin_mc._x = _root.jin_mc._x + 2.5;
if (Key.isDown(37)) {
_root.jin_mc.step = 0;
}
}
}
Instance of Symbol 122 MovieClip "pooka2" in Frame 29
onClipEvent (enterFrame) {
if (_root.jin_mc.hitTest(_x - 30, _y, true)) {
_root.jin_mc._x = _root.jin_mc._x - 2.5;
if (Key.isDown(39)) {
_root.jin_mc.step = 0;
}
}
}
Instance of Symbol 69 MovieClip [jin_mc] "jin_mc" in Frame 29
onClipEvent (enterFrame) {
_root.pointmenu = "Fighter Points: " + _root.points;
_root.healthmenu = (("Health: " + _root.health) + " / ") + _root.maxhealth;
_root.specialmenu = ("Special: " + _root.special) + "%";
_root.killsleft = "Kills Left: " + _root.deathsleft;
if (_root.special > 100) {
_root.special = 100;
}
}
on (keyPress "w") {
if (_root.special >= 50) {
_parent.gotoAndPlay("energyblast");
}
}
on (keyPress "r") {
if (_root.lightning == 1) {
if (_root.special >= 70) {
_parent.gotoAndPlay("lightning");
}
}
}
on (keyPress "t") {
if (_root.falconsfury == 1) {
if (_root.special >= 85) {
_parent.gotoAndPlay("falconsfury");
}
}
}
on (keyPress "e") {
if (_root.speedoflight == 1) {
if (_root.special == 100) {
_parent.gotoAndPlay("speedoflight");
}
}
}
onClipEvent (enterFrame) {
if (_root.health <= 0) {
_parent.gotoAndPlay("gameover");
}
}
Instance of Symbol 139 MovieClip in Frame 29
onClipEvent (enterFrame) {
if ((_root.special < 100) || (_root.speedoflight == 0)) {
gotoAndStop ("locked");
} else {
gotoAndStop ("unlocked");
}
}
Instance of Symbol 141 MovieClip in Frame 29
onClipEvent (enterFrame) {
if ((_root.special < 70) || (_root.lightning == 0)) {
gotoAndStop ("locked");
} else {
gotoAndStop ("unlocked");
}
}
Instance of Symbol 143 MovieClip in Frame 29
onClipEvent (enterFrame) {
if ((_root.special < 85) || (_root.falconsfury == 0)) {
gotoAndStop ("locked");
} else {
gotoAndStop ("unlocked");
}
}
Instance of Symbol 146 MovieClip in Frame 29
onClipEvent (enterFrame) {
if (_root.special < 50) {
gotoAndStop ("locked");
} else {
gotoAndStop ("unlocked");
}
}
Frame 31
_root.pookasp1._x = 120;
_root.pookasp2._x = 650;
Instance of Symbol 110 MovieClip "bg" in Frame 31
onClipEvent (enterFrame) {
if (_root.jin_mc.hitTest(_root.leftbound2)) {
_root.jin_mc._x = _root.jin_mc._x - _root.jin_mc.step;
}
if (_root.jin_mc.hitTest(_root.rightbound2)) {
_root.jin_mc._x = _root.jin_mc._x - _root.jin_mc.step;
}
if (Key.isDown(37)) {
this._x = this._x - _root.jin_mc.step;
if (this.hitTest(_root.rightbound)) {
this._x = this._x + _root.jin_mc.step;
} else {
_root.jin_mc._x = _root.jin_mc._x - _root.jin_mc.step;
_root.pooka1._x = _root.pooka1._x - _root.jin_mc.step;
_root.pooka2._x = _root.pooka2._x - _root.jin_mc.step;
}
if (_root.jin_mc._x > 400) {
this._x = this._x + _root.jin_mc.step;
_root.pooka1._x = _root.pooka1._x + _root.jin_mc.step;
_root.pooka2._x = _root.pooka2._x + _root.jin_mc.step;
_root.jin_mc._x = _root.jin_mc._x + (_root.jin_mc.step * 1.5);
}
}
if (Key.isDown(39)) {
this._x = this._x - _root.jin_mc.step;
_root.pooka1._x = _root.pooka1._x - _root.jin_mc.step;
_root.pooka2._x = _root.pooka2._x - _root.jin_mc.step;
if (this.hitTest(_root.leftbound)) {
this._x = this._x + _root.jin_mc.step;
_root.pooka1._x = _root.pooka1._x + _root.jin_mc.step;
_root.pooka2._x = _root.pooka2._x + _root.jin_mc.step;
} else {
_root.jin_mc._x = _root.jin_mc._x - _root.jin_mc.step;
}
if (_root.jin_mc._x < 400) {
this._x = this._x + _root.jin_mc.step;
_root.pooka1._x = _root.pooka1._x + _root.jin_mc.step;
_root.pooka2._x = _root.pooka2._x + _root.jin_mc.step;
_root.jin_mc._x = _root.jin_mc._x + (_root.jin_mc.step * 1.5);
}
}
}
Instance of Symbol 148 MovieClip "pookasp1" in Frame 31
onClipEvent (enterFrame) {
if (_root.enemyhealth <= 0) {
gotoAndStop ("dead");
}
}
Instance of Symbol 148 MovieClip "pookasp2" in Frame 31
onClipEvent (enterFrame) {
if (_root.enemyhealth2 <= 0) {
gotoAndStop ("dead");
}
}
Frame 136
gotoAndStop ("fight2");
_root.pooka1._x = 120;
_root.pooka2._x = 650;
_root.pooka1.gotoAndPlay("hurt");
_root.pooka2.gotoAndPlay("hurt");
_root.special = _root.special - 80;
_root.enemyhealth = _root.enemyhealth - (3 + ((_root.attack * 3) * 1.5));
_root.enemyhealth2 = _root.enemyhealth2 - (3 + ((_root.attack * 3) * 1.5));
_root.points = _root.points + (random(40) + 30);
Frame 137
_root.pookasp1._x = 120;
_root.pookasp2._x = 650;
Instance of Symbol 110 MovieClip "bg" in Frame 137
onClipEvent (enterFrame) {
if (_root.jin_mc.hitTest(_root.leftbound2)) {
_root.jin_mc._x = _root.jin_mc._x - _root.jin_mc.step;
}
if (_root.jin_mc.hitTest(_root.rightbound2)) {
_root.jin_mc._x = _root.jin_mc._x - _root.jin_mc.step;
}
if (Key.isDown(37)) {
this._x = this._x - _root.jin_mc.step;
if (this.hitTest(_root.rightbound)) {
this._x = this._x + _root.jin_mc.step;
} else {
_root.jin_mc._x = _root.jin_mc._x - _root.jin_mc.step;
_root.pooka1._x = _root.pooka1._x - _root.jin_mc.step;
_root.pooka2._x = _root.pooka2._x - _root.jin_mc.step;
}
if (_root.jin_mc._x > 400) {
this._x = this._x + _root.jin_mc.step;
_root.pooka1._x = _root.pooka1._x + _root.jin_mc.step;
_root.pooka2._x = _root.pooka2._x + _root.jin_mc.step;
_root.jin_mc._x = _root.jin_mc._x + (_root.jin_mc.step * 1.5);
}
}
if (Key.isDown(39)) {
this._x = this._x - _root.jin_mc.step;
_root.pooka1._x = _root.pooka1._x - _root.jin_mc.step;
_root.pooka2._x = _root.pooka2._x - _root.jin_mc.step;
if (this.hitTest(_root.leftbound)) {
this._x = this._x + _root.jin_mc.step;
_root.pooka1._x = _root.pooka1._x + _root.jin_mc.step;
_root.pooka2._x = _root.pooka2._x + _root.jin_mc.step;
} else {
_root.jin_mc._x = _root.jin_mc._x - _root.jin_mc.step;
}
if (_root.jin_mc._x < 400) {
this._x = this._x + _root.jin_mc.step;
_root.pooka1._x = _root.pooka1._x + _root.jin_mc.step;
_root.pooka2._x = _root.pooka2._x + _root.jin_mc.step;
_root.jin_mc._x = _root.jin_mc._x + (_root.jin_mc.step * 1.5);
}
}
}
Instance of Symbol 148 MovieClip "pookasp1" in Frame 137
onClipEvent (enterFrame) {
if (_root.enemyhealth <= 0) {
gotoAndStop ("dead");
}
}
Instance of Symbol 148 MovieClip "pookasp2" in Frame 137
onClipEvent (enterFrame) {
if (_root.enemyhealth2 <= 0) {
gotoAndStop ("dead");
}
}
Frame 224
_root.enemyhealth = _root.enemyhealth - (4 + ((_root.attack * 3.5) * 1.75));
_root.enemyhealth2 = _root.enemyhealth2 - (4 + ((_root.attack * 3.5) * 1.75));
_root.points = _root.points + (random(50) + 40);
gotoAndStop ("fight2");
_root.pooka1._x = 120;
_root.pooka2._x = 650;
_root.pooka1.gotoAndPlay("hurt");
_root.pooka2.gotoAndPlay("hurt");
_root.special = _root.special - 90;
Frame 225
_root.pookasp1._x = 120;
_root.pookasp2._x = 650;
Instance of Symbol 110 MovieClip "bg" in Frame 225
onClipEvent (enterFrame) {
if (_root.jin_mc.hitTest(_root.leftbound2)) {
_root.jin_mc._x = _root.jin_mc._x - _root.jin_mc.step;
}
if (_root.jin_mc.hitTest(_root.rightbound2)) {
_root.jin_mc._x = _root.jin_mc._x - _root.jin_mc.step;
}
if (Key.isDown(37)) {
this._x = this._x - _root.jin_mc.step;
if (this.hitTest(_root.rightbound)) {
this._x = this._x + _root.jin_mc.step;
} else {
_root.jin_mc._x = _root.jin_mc._x - _root.jin_mc.step;
_root.pooka1._x = _root.pooka1._x - _root.jin_mc.step;
_root.pooka2._x = _root.pooka2._x - _root.jin_mc.step;
}
if (_root.jin_mc._x > 400) {
this._x = this._x + _root.jin_mc.step;
_root.pooka1._x = _root.pooka1._x + _root.jin_mc.step;
_root.pooka2._x = _root.pooka2._x + _root.jin_mc.step;
_root.jin_mc._x = _root.jin_mc._x + (_root.jin_mc.step * 1.5);
}
}
if (Key.isDown(39)) {
this._x = this._x - _root.jin_mc.step;
_root.pooka1._x = _root.pooka1._x - _root.jin_mc.step;
_root.pooka2._x = _root.pooka2._x - _root.jin_mc.step;
if (this.hitTest(_root.leftbound)) {
this._x = this._x + _root.jin_mc.step;
_root.pooka1._x = _root.pooka1._x + _root.jin_mc.step;
_root.pooka2._x = _root.pooka2._x + _root.jin_mc.step;
} else {
_root.jin_mc._x = _root.jin_mc._x - _root.jin_mc.step;
}
if (_root.jin_mc._x < 400) {
this._x = this._x + _root.jin_mc.step;
_root.pooka1._x = _root.pooka1._x + _root.jin_mc.step;
_root.pooka2._x = _root.pooka2._x + _root.jin_mc.step;
_root.jin_mc._x = _root.jin_mc._x + (_root.jin_mc.step * 1.5);
}
}
}
Instance of Symbol 148 MovieClip "pookasp1" in Frame 225
onClipEvent (enterFrame) {
if (_root.enemyhealth <= 0) {
gotoAndStop ("dead");
}
}
Instance of Symbol 148 MovieClip "pookasp2" in Frame 225
onClipEvent (enterFrame) {
if (_root.enemyhealth2 <= 0) {
gotoAndStop ("dead");
}
}
Frame 364
_root.enemyhealth = _root.enemyhealth - (5 + ((_root.attack * 4.25) * 2));
_root.enemyhealth2 = _root.enemyhealth2 - (7 + ((_root.attack * 4.25) * 2));
_root.points = _root.points + (random(60) + 50);
gotoAndStop ("fight2");
_root.pooka1._x = 120;
_root.pooka2._x = 650;
_root.pooka1.gotoAndPlay("hurt");
_root.pooka2.gotoAndPlay("hurt");
_root.special = _root.special - 100;
Frame 365
_root.pookasp1._x = 120;
_root.pookasp2._x = 650;
Instance of Symbol 110 MovieClip "bg" in Frame 365
onClipEvent (enterFrame) {
if (_root.jin_mc.hitTest(_root.leftbound2)) {
_root.jin_mc._x = _root.jin_mc._x - _root.jin_mc.step;
}
if (_root.jin_mc.hitTest(_root.rightbound2)) {
_root.jin_mc._x = _root.jin_mc._x - _root.jin_mc.step;
}
if (Key.isDown(37)) {
this._x = this._x - _root.jin_mc.step;
if (this.hitTest(_root.rightbound)) {
this._x = this._x + _root.jin_mc.step;
} else {
_root.jin_mc._x = _root.jin_mc._x - _root.jin_mc.step;
_root.pooka1._x = _root.pooka1._x - _root.jin_mc.step;
_root.pooka2._x = _root.pooka2._x - _root.jin_mc.step;
}
if (_root.jin_mc._x > 400) {
this._x = this._x + _root.jin_mc.step;
_root.pooka1._x = _root.pooka1._x + _root.jin_mc.step;
_root.pooka2._x = _root.pooka2._x + _root.jin_mc.step;
_root.jin_mc._x = _root.jin_mc._x + (_root.jin_mc.step * 1.5);
}
}
if (Key.isDown(39)) {
this._x = this._x - _root.jin_mc.step;
_root.pooka1._x = _root.pooka1._x - _root.jin_mc.step;
_root.pooka2._x = _root.pooka2._x - _root.jin_mc.step;
if (this.hitTest(_root.leftbound)) {
this._x = this._x + _root.jin_mc.step;
_root.pooka1._x = _root.pooka1._x + _root.jin_mc.step;
_root.pooka2._x = _root.pooka2._x + _root.jin_mc.step;
} else {
_root.jin_mc._x = _root.jin_mc._x - _root.jin_mc.step;
}
if (_root.jin_mc._x < 400) {
this._x = this._x + _root.jin_mc.step;
_root.pooka1._x = _root.pooka1._x + _root.jin_mc.step;
_root.pooka2._x = _root.pooka2._x + _root.jin_mc.step;
_root.jin_mc._x = _root.jin_mc._x + (_root.jin_mc.step * 1.5);
}
}
}
Instance of Symbol 148 MovieClip "pookasp1" in Frame 365
onClipEvent (enterFrame) {
if (_root.enemyhealth <= 0) {
gotoAndStop ("dead");
}
}
Instance of Symbol 148 MovieClip "pookasp2" in Frame 365
onClipEvent (enterFrame) {
if (_root.enemyhealth2 <= 0) {
gotoAndStop ("dead");
}
}
Frame 454
_root.enemyhealth = _root.enemyhealth - (2.25 + ((_root.attack * 1.525) * 1.3));
_root.enemyhealth2 = _root.enemyhealth2 - (2.25 + ((_root.attack * 1.525) * 1.3));
_root.points = _root.points + (random(20) + 30);
gotoAndStop ("fight2");
_root.pooka1._x = 120;
_root.pooka2._x = 650;
_root.pooka1.gotoAndPlay("hurt");
_root.pooka2.gotoAndPlay("hurt");
_root.special = _root.special - 50;
Frame 455
_root.reward = _root.roundnumber * 100;
Instance of Symbol 2 MovieClip in Frame 455
onClipEvent (enterFrame) {
if (_root.reward >= _root.roundnumber) {
_root.reward = _root.reward - _root.roundnumber;
_root.points = _root.points + _root.roundnumber;
}
if (_root.reward >= 5) {
_root.reward = _root.reward - 5;
_root.points = _root.points + 5;
}
if (_root.reward >= 2) {
_root.reward = _root.reward - 2;
_root.points = _root.points + 2;
}
if (_root.reward >= 1) {
_root.reward = _root.reward - 1;
_root.points = _root.points + 1;
}
_root.reward2 = "Points Won: " + _root.reward;
}
Frame 456
_root.Round = "Round " + _root.roundnumber;
_root.saved._visible = 0;
Instance of Symbol 234 MovieClip in Frame 456
onClipEvent (enterFrame) {
_root.shoppoints = ("You have " + _root.points) + " Fighter Points.";
}
Frame 492
stop();
Symbol 16 MovieClip Frame 10
_parent.attack = false;
Symbol 35 MovieClip Frame 6
if (_root.crouchingtwins == 1) {
gotoAndPlay ("crouchingtwins");
}
Symbol 35 MovieClip Frame 9
_parent.attack = false;
Symbol 35 MovieClip Frame 20
_parent.attack = false;
Symbol 46 MovieClip Frame 9
_parent.attack = false;
Symbol 59 MovieClip Frame 1
_root.special = _root.special - 5;
Symbol 59 MovieClip Frame 19
_parent.attack = false;
Symbol 68 MovieClip Frame 1
_root.special = _root.special - 10;
Symbol 68 MovieClip Frame 9
_parent.attack = false;
Symbol 69 MovieClip [jin_mc] Frame 1
stop();
Symbol 73 MovieClip Frame 1
function preload() {
newPercLoaded = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
lb._xscale = (percLoaded = percLoaded + ((newPercLoaded - percLoaded) * 0.2));
if ((percLoaded > 99.9) && (newPercLoaded == 100)) {
stop();
_root.play();
delete this.onEnterFrame;
}
}
_root.stop();
var percLoaded = 0;
var newPercLoaded;
onEnterFrame = preload;
Symbol 89 Button
on (release) {
stopAllSounds();
gotoAndStop ("nextRound");
}
Symbol 92 Button
on (release) {
nextFrame();
}
Symbol 94 Button
on (release) {
_root.pos = SharedObject.getLocal("fighter");
_root.health = _root.pos.data.health;
_root.maxhealth = _root.pos.data.maxhealth;
_root.special = _root.pos.data.special;
_root.roundnumber = _root.pos.data.roundnumber;
_root.crouchingtwins = _root.pos.data.crouchingtwins;
_root.dragonfang = _root.pos.data.dragonfang;
_root.hammerhead = _root.pos.data.hammerhead;
_root.lightning = _root.pos.data.lightning;
_root.falconsfury = _root.pos.data.falconsfury;
_root.speedoflight = _root.pos.data.speedoflight;
_root.points = _root.pos.data.points;
_root.speed = _root.pos.data.speed;
_root.attack = _root.pos.data.attack;
stopAllSounds();
_parent.gotoAndStop("nextRound");
}
Symbol 100 MovieClip Frame 16
stop();
Symbol 106 Button
on (release) {
prevFrame();
}
Symbol 121 MovieClip Frame 1
if (_root.enemyhealth <= 0) {
gotoAndPlay ("dead");
}
Instance of Symbol 15 MovieClip in Symbol 121 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.pooka1.hitTest(_parent._parent.jin_mc.punch.hit)) {
_parent._parent.pooka1.gotoAndPlay("hurt");
}
if (_parent._parent.pooka1.hitTest(_parent._parent.jin_mc.crouchpunch.hit)) {
_parent._parent.pooka1.gotoAndPlay("hurt");
}
if (_parent._parent.pooka1.hitTest(_parent._parent.jin_mc.crouchpunch.hit2)) {
_parent._parent.pooka1.gotoAndPlay("hurt");
}
if (_parent._parent.pooka1.hitTest(_parent._parent.jin_mc.uppercut.hit)) {
_parent._parent.pooka1.gotoAndPlay("hurt");
}
if (_parent._parent.pooka1.hitTest(_parent._parent.jin_mc.dragonfang.hit)) {
_parent._parent.pooka1.gotoAndPlay("hurt");
}
if (_parent._parent.pooka1.hitTest(_parent._parent.jin_mc.hammerhead.hit)) {
_parent._parent.pooka1.gotoAndPlay("hurt");
}
}
Symbol 121 MovieClip Frame 18
if (_parent.pooka1.hitTest(_parent.jin_mc)) {
_parent.pooka1.gotoAndPlay("attack");
}
_root.combo = 0;
Instance of Symbol 114 MovieClip in Symbol 121 MovieClip Frame 19
onClipEvent (enterFrame) {
if (_parent._parent.pooka1._x < (_parent._parent.jin_mc._x - 50)) {
_parent._parent.pooka1._x = _parent._parent.pooka1._x + 7;
}
if (_parent._parent.pooka1.hitTest(_parent._parent.jin_mc)) {
_parent._parent.pooka1.gotoAndPlay("attack");
}
}
Symbol 121 MovieClip Frame 38
gotoAndPlay (1);
Instance of Symbol 15 MovieClip in Symbol 121 MovieClip Frame 38
onClipEvent (enterFrame) {
_parent._parent.pooka1._x = _parent._parent.pooka1._x - (_root.combo * 8);
}
Symbol 121 MovieClip Frame 39
if (_root.special < 100) {
_root.special = _root.special + (1 + random(3));
}
_root.points = _root.points + (5 + random(_root.combo + 1));
_root.enemyhealth = _root.enemyhealth - (0.5 + _root.attack);
_root.combo = _root.combo + 1;
_parent.bam._x = _parent.pooka1._x;
_parent.bam.play();
Symbol 121 MovieClip Frame 44
if ((_root.enemyhealth <= 0) || (_root.combo >= 4)) {
play();
} else {
gotoAndPlay (1);
}
Symbol 121 MovieClip Frame 45
if (_root.special < 100) {
_root.special = _root.special + (2 + random(3));
}
_root.points = _root.points + (Math.round(_root.roundnumber * 1.5) + 5);
Symbol 121 MovieClip Frame 83
if (_root.enemyhealth >= 1) {
gotoAndPlay (1);
_root.combo = 0;
} else if (_root.enemyhealth <= 0) {
_root.deathsleft = _root.deathsleft - 1;
}
Symbol 121 MovieClip Frame 84
if ((_root.deathsleft >= 1) && (_root.revivesleft > 0)) {
_root.revivesleft = _root.revivesleft - 1;
gotoAndPlay ("revive");
} else if (_root.revivesleft <= 0) {
stop();
_root.points = _root.points + 10;
}
if ((_root.deathsleft <= 0) && (_root.revivesleft <= 0)) {
_root.points = _root.points + (25 + random(10));
stopAllSounds();
_parent.gotoAndStop("roundWon");
}
Symbol 121 MovieClip Frame 109
_root.enemyhealth = Math.round((_root.roundnumber + 1) * 3.5);
_parent.pooka1._x = -100;
gotoAndPlay (1);
Instance of Symbol 15 MovieClip in Symbol 121 MovieClip Frame 110
onClipEvent (enterFrame) {
if (_parent._parent.pooka1.hitTest(_parent._parent.jin_mc.punch.hit)) {
_parent._parent.pooka1.gotoAndPlay("hurt");
}
if (_parent._parent.pooka1.hitTest(_parent._parent.jin_mc.crouchpunch.hit)) {
_parent._parent.pooka1.gotoAndPlay("hurt");
}
if (_parent._parent.pooka1.hitTest(_parent._parent.jin_mc.uppercut.hit)) {
_parent._parent.pooka1.gotoAndPlay("hurt");
}
if (_parent._parent.pooka1.hitTest(_parent._parent.jin_mc.dragonfang.hit)) {
_parent._parent.pooka1.gotoAndPlay("hurt");
}
if (_parent._parent.pooka1.hitTest(_parent._parent.jin_mc.hammerhead.hit)) {
_parent._parent.pooka1.gotoAndPlay("hurt");
}
}
Symbol 122 MovieClip Frame 1
if (_root.enemyhealth2 <= 0) {
gotoAndPlay ("dead");
}
Instance of Symbol 15 MovieClip in Symbol 122 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.pooka2.hitTest(_parent._parent.jin_mc.punch.hit)) {
_parent._parent.pooka2.gotoAndPlay("hurt");
}
if (_parent._parent.pooka2.hitTest(_parent._parent.jin_mc.crouchpunch.hit)) {
_parent._parent.pooka2.gotoAndPlay("hurt");
}
if (_parent._parent.pooka2.hitTest(_parent._parent.jin_mc.crouchpunch.hit2)) {
_parent._parent.pooka2.gotoAndPlay("hurt");
}
if (_parent._parent.pooka2.hitTest(_parent._parent.jin_mc.uppercut.hit)) {
_parent._parent.pooka2.gotoAndPlay("hurt");
}
if (_parent._parent.pooka2.hitTest(_parent._parent.jin_mc.dragonfang.hit)) {
_parent._parent.pooka2.gotoAndPlay("hurt");
}
if (_parent._parent.pooka2.hitTest(_parent._parent.jin_mc.hammerhead.hit)) {
_parent._parent.pooka2.gotoAndPlay("hurt");
}
}
Symbol 122 MovieClip Frame 18
if (_parent.pooka2.hitTest(_parent.jin_mc)) {
_parent.pooka2.gotoAndPlay("attack");
}
_root.combo2 = 0;
Instance of Symbol 114 MovieClip in Symbol 122 MovieClip Frame 19
onClipEvent (enterFrame) {
if (_parent._parent.pooka2._x > (_parent._parent.jin_mc._x + 50)) {
_parent._parent.pooka2._x = _parent._parent.pooka2._x - 7;
}
if (_parent._parent.pooka2.hitTest(_parent._parent.jin_mc)) {
_parent._parent.pooka2.gotoAndPlay("attack");
}
}
Symbol 122 MovieClip Frame 38
gotoAndPlay (1);
Instance of Symbol 15 MovieClip in Symbol 122 MovieClip Frame 38
onClipEvent (enterFrame) {
_parent._parent.pooka2._x = _parent._parent.pooka2._x + (_root.combo2 * 7);
}
Symbol 122 MovieClip Frame 39
if (_root.special < 100) {
_root.special = _root.special + (1 + random(3));
}
_root.points = _root.points + (5 + random(_root.combo + 1));
_root.enemyhealth2 = _root.enemyhealth2 - (0.5 + _root.attack);
_root.combo2 = _root.combo2 + 1;
_parent.bam3._x = _parent.pooka2._x;
_parent.bam3.play();
Symbol 122 MovieClip Frame 44
if ((_root.enemyhealth2 <= 0) || (_root.combo2 >= 4)) {
play();
} else {
gotoAndPlay (1);
}
Symbol 122 MovieClip Frame 45
_root.points = _root.points + (Math.round(_root.roundnumber * 1.5) + 5);
if (_root.special < 100) {
_root.special = _root.special + (2 + random(3));
}
Symbol 122 MovieClip Frame 83
if (_root.enemyhealth2 > 0) {
gotoAndPlay (1);
_root.combo2 = 0;
} else if (_root.enemyhealth2 <= 0) {
_root.deathsleft = _root.deathsleft - 1;
}
Symbol 122 MovieClip Frame 84
if ((_root.deathsleft >= 1) && (_root.revivesleft > 0)) {
_root.revivesleft = _root.revivesleft - 1;
gotoAndPlay ("revive");
} else if (_root.revivesleft <= 0) {
_root.points = _root.points + 10;
stop();
}
if ((_root.deathsleft <= 0) && (_root.revivesleft <= 0)) {
_root.points = _root.points + (25 + random(10));
stopAllSounds();
_parent.gotoAndStop("roundWon");
}
Symbol 122 MovieClip Frame 109
_root.enemyhealth2 = Math.round((_root.roundnumber + 1) * 3.5);
_root.points = _root.points + 5;
_parent.pooka2._x = 900;
gotoAndPlay (1);
Instance of Symbol 15 MovieClip in Symbol 122 MovieClip Frame 110
onClipEvent (enterFrame) {
if (_parent._parent.pooka2.hitTest(_parent._parent.jin_mc.punch.hit)) {
_parent._parent.pooka2.gotoAndPlay("hurt");
}
if (_parent._parent.pooka2.hitTest(_parent._parent.jin_mc.crouchpunch.hit)) {
_parent._parent.pooka2.gotoAndPlay("hurt");
}
if (_parent._parent.pooka2.hitTest(_parent._parent.jin_mc.uppercut.hit)) {
_parent._parent.pooka2.gotoAndPlay("hurt");
}
if (_parent._parent.pooka2.hitTest(_parent._parent.jin_mc.dragonfang.hit)) {
_parent._parent.pooka2.gotoAndPlay("hurt");
}
if (_parent._parent.pooka2.hitTest(_parent._parent.jin_mc.hammerhead.hit)) {
_parent._parent.pooka2.gotoAndPlay("hurt");
}
}
Symbol 127 MovieClip Frame 1
_parent.bam._rotation = random(360);
_parent.bam2._rotation = random(360);
_parent.bam3._rotation = random(360);
_parent.bam4._rotation = random(360);
stop();
Symbol 127 MovieClip Frame 8
_parent.bam._rotation = random(360);
_parent.bam2._rotation = random(360);
_parent.bam3._rotation = random(360);
_parent.bam4._rotation = random(360);
stop();
Symbol 129 MovieClip Frame 1
stop();
Symbol 139 MovieClip Frame 1
stop();
Symbol 141 MovieClip Frame 1
stop();
Symbol 143 MovieClip Frame 1
stop();
Symbol 146 MovieClip Frame 1
stop();
Symbol 148 MovieClip Frame 1
stop();
Symbol 148 MovieClip Frame 2
stop();
Symbol 173 MovieClip Frame 5
stop();
Symbol 178 MovieClip Frame 5
stop();
Symbol 182 MovieClip Frame 7
stop();
Symbol 213 MovieClip Frame 2
stop();
Symbol 224 Button
on (release) {
if (_root.reward == 0) {
_root.roundnumber = _root.roundnumber + 1;
stopAllSounds();
gotoAndStop ("nextRound");
}
}
Symbol 228 MovieClip Frame 1
if (_root.reward > 0) {
play();
} else {
stop();
}
Symbol 228 MovieClip Frame 2
gotoAndPlay (1);
Symbol 235 Button
on (release) {
_root.health = _root.maxhealth;
stopAllSounds();
gotoAndStop ("fight");
}
Symbol 237 Button
on (release) {
_root.savenumber = 1;
_root.pos = SharedObject.getLocal("fighter");
_root.pos.data.health = _root.health;
_root.pos.data.points = _root.points;
_root.pos.data.maxhealth = _root.maxhealth;
_root.pos.data.special = _root.special;
_root.pos.data.roundnumber = _root.roundnumber;
_root.pos.data.crouchingtwins = _root.crouchingtwins;
_root.pos.data.dragonfang = _root.dragonfang;
_root.pos.data.hammerhead = _root.hammerhead;
_root.pos.data.lightning = _root.lightning;
_root.pos.data.falconsfury = _root.falconsfury;
_root.pos.data.speedoflight = _root.speedoflight;
_root.pos.data.attack = _root.attack;
_root.pos.data.speed = _root.speed;
_root.pos.data.savenumber = _root.savenumber;
_root.saved._visible = 100;
}
Symbol 239 Button
on (rollOver) {
_root.description = "An extension to your crouch punch. Crouch and punch to use.";
if (_root.crouchingtwins < 1) {
_root.description = _root.description + " Costs 500 Fighter Points.";
}
}
on (rollOut) {
_root.description = "";
}
on (release) {
if (_root.crouchingtwins == 0) {
if (_root.points < 500) {
_root.description = "You don't have enough Fighter Points to buy that.";
} else {
_root.description = "You have purchased Crouching Twins.";
_root.points = _root.points - 500;
_root.crouchingtwins = 1;
}
} else if (_root.crouchingtwins == 1) {
_root.description = "You have already purchased Crouching Twins.";
}
}
Symbol 240 Button
on (rollOver) {
_root.description = "Two consecutive kicks. Hold down the D Key and punch to use. Consumes 5% of Special.";
if (_root.dragonfang < 1) {
_root.description = _root.description + " Costs 1000 Fighter Points.";
}
}
on (rollOut) {
_root.description = "";
}
on (release) {
if (_root.dragonfang == 0) {
if (_root.points < 1000) {
_root.description = "You don't have enough Fighter Points to buy that.";
} else {
_root.description = "You have purchased Dragon Fang.";
_root.points = _root.points - 1000;
_root.dragonfang = 1;
}
} else if (_root.dragonfang == 1) {
_root.description = "You have already purchased Dragon Fang.";
}
}
Symbol 241 Button
on (rollOver) {
_root.description = "A headbutt attack. Hold down the F Key and punch to use. Consumes 10% of Special.";
if (_root.hammerhead < 1) {
_root.description = _root.description + " Costs 750 Fighter Points.";
}
}
on (rollOut) {
_root.description = "";
}
on (release) {
if (_root.hammerhead == 0) {
if (_root.points < 750) {
_root.description = "You don't have enough Fighter Points to buy that.";
} else {
_root.description = "You have purchased Hammerhead.";
_root.points = _root.points - 750;
_root.hammerhead = 1;
}
} else if (_root.hammerhead == 1) {
_root.description = "You have already purchased Hammerhead.";
}
}
Symbol 247 Button
on (rollOver) {
_root.description = "Fly back and forth across the screen at lightspeed, attacking all enemies. Press E Key to use. Consumes 100% of Special.";
if (_root.speedoflight < 1) {
_root.description = _root.description + " Costs 3000 Fighter Points.";
}
}
on (rollOut) {
_root.description = "";
}
on (release) {
if (_root.speedoflight == 0) {
if (_root.points < 3000) {
_root.description = "You don't have enough Fighter Points to buy that.";
} else {
_root.description = "You have purchased Speed of Light.";
_root.points = _root.points - 3000;
_root.speedoflight = 1;
}
} else if (_root.speedoflight == 1) {
_root.description = "You have already purchased Speed of Light.";
}
}
Symbol 248 Button
on (rollOver) {
_root.description = "A flurry of punches and kicks that mows down your foes. Press T Key to use. Consumes 85% of Special.";
if (_root.falconsfury < 1) {
_root.description = _root.description + " Costs 2500 Fighter Points.";
}
}
on (rollOut) {
_root.description = "";
}
on (release) {
if (_root.falconsfury == 0) {
if (_root.points < 2500) {
_root.description = "You don't have enough Fighter Points to buy that.";
} else {
_root.description = "You have purchased Falcon's Fury.";
_root.points = _root.points - 2500;
_root.falconsfury = 1;
}
} else if (_root.falconsfury == 1) {
_root.description = "You have already purchased Falcon's Fury.";
}
}
Symbol 249 Button
on (rollOver) {
_root.description = "Summon a lightning bolt to zap enemies. Press R Key to use. Consumes 70% of Special.";
if (_root.lightning < 1) {
_root.description = _root.description + " Costs 2000 Fighter Points.";
}
}
on (rollOut) {
_root.description = "";
}
on (release) {
if (_root.lightning == 0) {
if (_root.points < 2000) {
_root.description = "You don't have enough Fighter Points to buy that.";
} else {
_root.description = "You have purchased Lightning.";
_root.points = _root.points - 2000;
_root.lightning = 1;
}
} else if (_root.lightning == 1) {
_root.description = "You have already purchased Lightning.";
}
}
Symbol 255 Button
on (rollOver) {
_root.description = "Increases your maximum health by one. Costs 20 Fighter Points.";
}
on (rollOut) {
_root.description = "";
}
on (release) {
if (_root.points >= 20) {
_root.maxhealth = _root.maxhealth + 1;
_root.points = _root.points - 20;
_root.description = ("You have increased your maximum health to " + _root.maxhealth) + ".";
} else {
_root.description = "You don't have enough Fighter Points to buy that.";
}
}
Symbol 257 Button
on (rollOver) {
_root.description = "Increases your attack power by 0.5. Costs 100 Fighter Points.";
}
on (rollOut) {
_root.description = "";
}
on (release) {
if (_root.points >= 100) {
_root.attack = _root.attack + 0.5;
_root.points = _root.points - 100;
_root.description = ("You have increased your attack power to " + _root.attack) + ".";
} else {
_root.description = "You don't have enough Fighter Points to buy that.";
}
}
Symbol 259 Button
on (rollOver) {
_root.description = "Increases your speed by 0.25. Costs 50 Fighter Points. Maximum of 10.";
}
on (rollOut) {
_root.description = "";
}
on (release) {
if (_root.speed < 10) {
if (_root.points >= 50) {
_root.speed = _root.speed + 0.25;
_root.points = _root.points - 50;
_root.description = ("You have increased your speed to " + _root.speed) + ".";
} else {
_root.description = "You don't have enough Fighter Points to buy that.";
}
} else {
_root.description = "You can't buy that.";
}
}
Symbol 273 Button
on (release) {
stopAllSounds();
gotoAndStop ("menu");
}