Frame 1
stop();
Frame 4
stop();
score = 0;
level = 1;
Frame 9
stopAllSounds();
Frame 14
stop();
stg = level;
enNum = 4 + ((stg - 1) * 2);
if ((level % 3) == 0) {
back.gotoAndStop(3);
} else {
back.gotoAndStop(_root.level % 3);
}
Instance of Symbol 287 MovieClip "score" in Frame 14
onClipEvent (load) {
function scoreView() {
trace("score");
var s10 = Math.floor(_root.score / 1000000000);
var s9 = Math.floor((_root.score % 1000000000) / 100000000);
var s8 = Math.floor((_root.score % 100000000) / 10000000);
var s7 = Math.floor((_root.score % 10000000) / 1000000);
var s6 = Math.floor((_root.score % 1000000) / 100000);
var s5 = Math.floor((_root.score % 100000) / 10000);
var s4 = Math.floor((_root.score % 10000) / 1000);
var s3 = Math.floor((_root.score % 1000) / 100);
var s2 = Math.floor((_root.score % 100) / 10);
var s1 = Math.floor(_root.score % 10);
i = 1;
while (i <= 10) {
this["n" + i].gotoAndStop(eval ("s" + i) + 1);
i++;
}
}
i = 1;
while (i <= 10) {
this["n" + i].stop();
i++;
}
scoreView();
}
onClipEvent (enterFrame) {
scoreView();
}
Frame 19
function powerup() {
powerH = 41;
_root[playname].energy.onEnterFrame = function () {
powerH = 41;
if (poweron == 1) {
this.p = this.p + 2;
energyH = this.p;
if ((this.p % 3) == 2) {
this.z++;
this["e" + this.z]._visible = 1;
}
if (this.p >= powerH) {
this.p = powerH;
}
}
};
}
function encreat() {
if (level < 5) {
enemypoz.attachMovie("level" + level, "level" + level, 10);
} else {
enemypoz.attachMovie("level4", "level4", 10);
}
}
stop();
dieNum = 0;
over._visible = 0;
alldie = 0;
endieNum = 0;
x = 13;
y = 9;
_root.createEmptyMovieClip("enthrowpoz", 10000);
_root.createEmptyMovieClip("throwpoz", 1000);
var i = 1;
while (i <= 4) {
_root["player" + i].onPress = function () {
if ((!this.hit) & (!this.die)) {
this.move = 1;
this.gotoAndStop("ready");
playname = this._name;
_root[playname].attachMovie("energy", "energy", 10);
poweron = 1;
powerup();
}
};
_root["player" + i].onMouseMove = function () {
if ((!this.hit) & (!this.die)) {
if (this.move == 1) {
this._x = _xmouse;
this._y = _ymouse;
if (this._x > 600) {
this._x = 600;
}
if (this._x <= 0) {
this._x = 0;
}
if (this._y >= 350) {
this._y = 350;
}
}
}
};
_root["player" + i].onMouseUp = function () {
if ((!this.hit) & (!this.die)) {
if (this.move == 1) {
this.move = 0;
this.gotoAndStop("throw");
poweron = 0;
_root[playname].energy.removeMovieClip();
s++;
if (s > 5) {
s = 1;
}
if (this == player1) {
throwNum = 1;
}
if (this == player2) {
throwNum = 2;
}
if (this == player3) {
throwNum = 3;
}
if (this == player4) {
throwNum = 4;
}
throwpoz.attachMovie("throw" + throwNum, "throw" + s, s);
throwpoz["throw" + s]._x = this._x - 20;
throwpoz["throw" + s]._y = this._y - 10;
if (!this.hitTest(_xmouse, _ymouse, true)) {
this.gotoAndStop(1);
}
}
}
};
_root["player" + i].onRollOver = function () {
if ((!this.hit) & (!this.die)) {
this.gotoAndStop("over");
}
};
_root["player" + i].onRollOut = function () {
if ((!this.hit) & (!this.die)) {
this.move = 0;
_root[playname].energy.removeMovieClip();
poweron = 0;
this.gotoAndStop(1);
}
};
_root["player" + i].onEnterFrame = function () {
if (_root[playname]._y <= ((-(0.583333333333333 * _root[playname]._x)) + 370)) {
_root[playname]._y = (-(0.583333333333333 * _root[playname]._x)) + 370;
if (_root[playname]._y >= 350) {
_root[playname]._y = 350;
}
}
var r = 1;
while (r <= 30) {
if (this.hitTest(_root.enthrowpoz["enthrow" + r]._x, _root.enthrowpoz["enthrow" + r]._y, true) & (!this.die)) {
this.move = 0;
this.hitNum++;
_root.enthrowpoz["enthrow" + r].removeMovieClip();
this.energy.removeMovieClip();
if (this.hitNum == 1) {
this.gotoAndStop("hit");
this.hit = true;
}
if (this.hitNum >= 2) {
this.gotoAndStop("die");
this.die = true;
_root.dieNum++;
if (_root.dieNum >= 4) {
_root.alldie = 1;
over._visible = 1;
if (_root.score >= 100) {
over.gotoAndStop(2);
} else {
over.gotoAndStop(3);
}
over.swapDepths(40000);
}
}
}
r++;
}
};
i++;
}
encreat();
Instance of Symbol 5 MovieClip "e1" in Symbol 18 MovieClip [energy] Frame 1
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 7 MovieClip "e2" in Symbol 18 MovieClip [energy] Frame 1
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 9 MovieClip "e3" in Symbol 18 MovieClip [energy] Frame 1
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 11 MovieClip "e4" in Symbol 18 MovieClip [energy] Frame 1
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 13 MovieClip "e5" in Symbol 18 MovieClip [energy] Frame 1
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 15 MovieClip "e6" in Symbol 18 MovieClip [energy] Frame 1
onClipEvent (load) {
_visible = 0;
}
Instance of Symbol 17 MovieClip "e7" in Symbol 18 MovieClip [energy] Frame 1
onClipEvent (load) {
_visible = 0;
}
Symbol 24 MovieClip Frame 4
_parent.removeMovieClip();
Symbol 25 MovieClip [enthrow4] Frame 1
stop();
x = 13;
y = 9;
throwtime1 = random(20) + 10;
throwtime2 = 0;
this.onEnterFrame = function () {
throwtime2++;
if (throwtime2 <= throwtime1) {
this._x = this._x + x;
this._y = this._y + y;
} else {
gotoAndStop (2);
}
if ((this._y > 430) | (this._x > 580)) {
this.removeMovieClip();
}
};
Symbol 27 MovieClip Frame 4
_parent.removeMovieClip();
Symbol 28 MovieClip [enthrow3] Frame 1
stop();
x = 13;
y = 9;
throwtime1 = random(20) + 10;
throwtime2 = 0;
this.onEnterFrame = function () {
throwtime2++;
if (throwtime2 <= throwtime1) {
this._x = this._x + x;
this._y = this._y + y;
} else {
gotoAndStop (2);
}
if ((this._y > 430) | (this._x > 580)) {
this.removeMovieClip();
}
};
Symbol 30 MovieClip Frame 4
_parent.removeMovieClip();
Symbol 31 MovieClip [enthrow2] Frame 1
stop();
x = 13;
y = 9;
throwtime1 = random(20) + 10;
throwtime2 = 0;
this.onEnterFrame = function () {
throwtime2++;
if (throwtime2 <= throwtime1) {
this._x = this._x + x;
this._y = this._y + y;
} else {
gotoAndStop (2);
}
if ((this._y > 430) | (this._x > 580)) {
this.removeMovieClip();
}
};
Symbol 33 MovieClip Frame 4
_parent.removeMovieClip();
Symbol 34 MovieClip [enthrow1] Frame 1
stop();
x = 13;
y = 9;
throwtime1 = random(20) + 10;
throwtime2 = 0;
this.onEnterFrame = function () {
throwtime2++;
if (throwtime2 <= throwtime1) {
this._x = this._x + x;
this._y = this._y + y;
} else {
gotoAndStop (2);
}
if ((this._y > 430) | (this._x > 580)) {
this.removeMovieClip();
}
};
Symbol 36 MovieClip Frame 4
_parent.removeMovieClip();
Symbol 37 MovieClip [throw4] Frame 1
stop();
throwtime1 = _root.energyH / 2;
this.onEnterFrame = function () {
throwtime2++;
if (throwtime2 <= throwtime1) {
this._x = this._x - _root.x;
this._y = this._y - _root.y;
} else {
gotoAndStop (2);
}
if ((this._y < -30) | (this._x < -30)) {
this.removeMovieClip();
}
};
Symbol 39 MovieClip Frame 4
_parent.removeMovieClip();
Symbol 40 MovieClip [throw3] Frame 1
stop();
throwtime1 = _root.energyH / 2;
this.onEnterFrame = function () {
throwtime2++;
if (throwtime2 <= throwtime1) {
this._x = this._x - _root.x;
this._y = this._y - _root.y;
} else {
gotoAndStop (2);
}
if ((this._y < -30) | (this._x < -30)) {
this.removeMovieClip();
}
};
Symbol 43 MovieClip Frame 4
_parent.removeMovieClip();
Symbol 44 MovieClip [throw2] Frame 1
stop();
throwtime1 = _root.energyH / 2;
this.onEnterFrame = function () {
throwtime2++;
if (throwtime2 <= throwtime1) {
this._x = this._x - _root.x;
this._y = this._y - _root.y;
} else {
gotoAndStop (2);
}
if ((this._y < -30) | (this._x < -30)) {
this.removeMovieClip();
}
};
Symbol 46 MovieClip Frame 4
_parent.removeMovieClip();
Symbol 47 MovieClip [throw1] Frame 1
stop();
throwtime1 = _root.energyH / 2;
this.onEnterFrame = function () {
throwtime2++;
if (throwtime2 <= throwtime1) {
this._x = this._x - _root.x;
this._y = this._y - _root.y;
} else {
gotoAndStop (2);
}
if ((this._y < -30) | (this._x < -30)) {
this.removeMovieClip();
}
};
Symbol 54 MovieClip Frame 4
stop();
Symbol 55 MovieClip Frame 6
_parent.gotoAndStop(1);
Symbol 58 MovieClip Frame 31
_parent.hiting = false;
_parent.gotoAndStop(1);
Symbol 62 MovieClip Frame 31
_parent.hiting = false;
_parent.die = false;
_parent.gotoAndStop(1);
Symbol 67 MovieClip Frame 12
stop();
Symbol 70 MovieClip Frame 1
function alldie() {
_root.createEmptyMovieClip("mc_die", 1010);
_root.mc_die.onEnterFrame = function () {
_root.nexttime++;
if (_root.nexttime >= 30) {
_root.gotoAndStop("ready");
_root.level++;
_root.nexttime = 0;
_root.back.ma.gotoAndPlay(2);
_root.enemypoz.removeMovieClip();
this.removeMovieClip();
}
};
}
actNum = random(12);
speedX = random(10) / 5;
speedy = random(10) / 5;
a = 0;
b = 0;
percent = 5;
delayon = 0;
walkdelay = 0;
walktime = random(100) + 30;
plusminus = random(10);
if (plusminus < 2) {
speedX = speedX * -1;
speedY = speedY * -1;
}
this.onEnterFrame = function () {
if (_root.alldie == 1) {
gotoAndStop (7);
}
if ((!hiting) & (_root.alldie == 0)) {
if ((actNum < percent) & (a == 0)) {
gotoAndStop (2);
a = 1;
}
if (actNum >= percent) {
walkdelay++;
if (walkdelay < walktime) {
if (this._y >= ((-(0.583333333333333 * this._x)) + 330)) {
this._y = (-(0.583333333333333 * this._x)) + 330;
}
if (((this._y < ((-(0.583333333333333 * this._x)) + 330)) | (speedX < 0)) | (speedY < 0)) {
this.en.nextFrame();
if (this.en._currentframe == this.en._totalframes) {
this.en.gotoAndStop(1);
}
this._x = this._x + speedX;
this._y = this._y + speedY;
if (this._x <= 0) {
this._x = 0;
speedX = speedX * -1;
}
if (this._y <= 0) {
this._y = 0;
speedY = speedY * -1;
}
}
}
if ((walkdelay >= walktime) & (b == 0)) {
gotoAndStop (2);
b = 1;
}
}
if (this._currentframe == 2) {
if (delayon == 0) {
delaytime = random(50);
delayon = 1;
}
delay++;
if (delaytime <= delay) {
gotoAndStop (3);
delay = 0;
point = new Object();
point.x = en._x;
point.y = en._y;
localToGlobal(point);
_root.z++;
if (_root.z > 30) {
_root.z = 1;
}
_root.enthrowpoz.attachMovie("enthrow1", "enthrow" + _root.z, _root.z);
_root.enthrowpoz["enthrow" + _root.z]._x = point.x + 20;
_root.enthrowpoz["enthrow" + _root.z]._y = point.y + 10;
}
}
}
if (!die) {
var s = 1;
while (s <= 5) {
if (this.hitTest(_root.throwpoz["throw" + s]._x, _root.throwpoz["throw" + s]._y, true) && (_root.throwpoz["throw" + s]._x != undefined)) {
_root.throwpoz["throw" + s].removeMovieClip();
this.hiting = true;
this.hitNum++;
_root.score = _root.score + 15;
if (_root.level < 5) {
hitM = 2;
} else {
hitM = _root.level - 2;
}
if (hitNum == 1) {
gotoAndStop (4);
}
if ((hitNum > 1) && (hitNum <= hitM)) {
die = true;
gotoAndStop (5);
}
if (hitNum >= (hitM + 1)) {
die = true;
gotoAndStop (6);
hitNum = 0;
_root.endieNum++;
if ((_root.endieNum >= (4 + ((_root.level - 1) * 2))) && (_root.level < 5)) {
alldie();
} else if (_root.endieNum >= 10) {
alldie();
}
}
}
s++;
}
}
};
stop();
Symbol 77 MovieClip Frame 4
stop();
Symbol 78 MovieClip Frame 6
_parent.gotoAndStop(1);
Symbol 80 MovieClip Frame 31
_parent.hiting = false;
_parent.gotoAndStop(1);
Symbol 83 MovieClip Frame 31
_parent.hiting = false;
_parent.die = false;
_parent.gotoAndStop(1);
Symbol 87 MovieClip Frame 12
stop();
Symbol 90 MovieClip Frame 1
function alldie() {
_root.createEmptyMovieClip("mc_die", 1010);
_root.mc_die.onEnterFrame = function () {
_root.nexttime++;
if (_root.nexttime >= 30) {
_root.gotoAndStop("ready");
_root.level++;
_root.nexttime = 0;
_root.back.ma.gotoAndPlay(2);
_root.enemypoz.removeMovieClip();
this.removeMovieClip();
}
};
}
actNum = random(12);
speedX = random(10) / 5;
speedy = random(10) / 5;
a = 0;
b = 0;
percent = 5;
delayon = 0;
walkdelay = 0;
walktime = random(100) + 30;
plusminus = random(10);
if (plusminus < 2) {
speedX = speedX * -1;
speedY = speedY * -1;
}
this.onEnterFrame = function () {
if (_root.alldie == 1) {
gotoAndStop (7);
}
if ((!hiting) & (_root.alldie == 0)) {
if ((actNum < percent) & (a == 0)) {
gotoAndStop (2);
a = 1;
}
if (actNum >= percent) {
walkdelay++;
if (walkdelay < walktime) {
if (this._y >= ((-(0.583333333333333 * this._x)) + 330)) {
this._y = (-(0.583333333333333 * this._x)) + 330;
}
if (((this._y < ((-(0.583333333333333 * this._x)) + 330)) | (speedX < 0)) | (speedY < 0)) {
this.en.nextFrame();
if (this.en._currentframe == this.en._totalframes) {
this.en.gotoAndStop(1);
}
this._x = this._x + speedX;
this._y = this._y + speedY;
if (this._x <= 0) {
this._x = 0;
speedX = speedX * -1;
}
if (this._y <= 0) {
this._y = 0;
speedY = speedY * -1;
}
}
}
if ((walkdelay >= walktime) & (b == 0)) {
gotoAndStop (2);
b = 1;
}
}
if (this._currentframe == 2) {
if (delayon == 0) {
delaytime = random(50);
delayon = 1;
}
delay++;
if (delaytime <= delay) {
gotoAndStop (3);
delay = 0;
point = new Object();
point.x = en._x;
point.y = en._y;
localToGlobal(point);
_root.z++;
if (_root.z > 30) {
_root.z = 1;
}
_root.enthrowpoz.attachMovie("enthrow2", "enthrow" + _root.z, _root.z);
_root.enthrowpoz["enthrow" + _root.z]._x = point.x + 20;
_root.enthrowpoz["enthrow" + _root.z]._y = point.y + 10;
}
}
}
if (!die) {
var s = 1;
while (s <= 5) {
if (this.hitTest(_root.throwpoz["throw" + s]._x, _root.throwpoz["throw" + s]._y, true) && (_root.throwpoz["throw" + s]._x != undefined)) {
_root.throwpoz["throw" + s].removeMovieClip();
this.hiting = true;
this.hitNum++;
_root.score = _root.score + 15;
if (_root.level < 5) {
hitM = 2;
} else {
hitM = _root.level - 2;
}
if (hitNum == 1) {
gotoAndStop (4);
}
if ((hitNum > 1) && (hitNum <= hitM)) {
die = true;
gotoAndStop (5);
}
if (hitNum >= (hitM + 1)) {
die = true;
gotoAndStop (6);
hitNum = 0;
_root.endieNum++;
if ((_root.endieNum >= (4 + ((_root.level - 1) * 2))) && (_root.level < 5)) {
alldie();
} else if (_root.endieNum >= 10) {
alldie();
}
}
}
s++;
}
}
};
stop();
Symbol 97 MovieClip Frame 4
stop();
Symbol 98 MovieClip Frame 6
_parent.gotoAndStop(1);
Symbol 100 MovieClip Frame 31
_parent.hiting = false;
_parent.gotoAndStop(1);
Symbol 103 MovieClip Frame 31
_parent.hiting = false;
_parent.die = false;
_parent.gotoAndStop(1);
Symbol 107 MovieClip Frame 12
stop();
Symbol 110 MovieClip Frame 1
function alldie() {
_root.createEmptyMovieClip("mc_die", 1010);
_root.mc_die.onEnterFrame = function () {
_root.nexttime++;
if (_root.nexttime >= 30) {
_root.gotoAndStop("ready");
_root.level++;
_root.nexttime = 0;
_root.back.ma.gotoAndPlay(2);
_root.enemypoz.removeMovieClip();
this.removeMovieClip();
}
};
}
actNum = random(12);
speedX = random(10) / 5;
speedy = random(10) / 5;
a = 0;
b = 0;
percent = 5;
delayon = 0;
walkdelay = 0;
walktime = random(100) + 30;
plusminus = random(10);
if (plusminus < 2) {
speedX = speedX * -1;
speedY = speedY * -1;
}
this.onEnterFrame = function () {
if (_root.alldie == 1) {
gotoAndStop (7);
}
if ((!hiting) & (_root.alldie == 0)) {
if ((actNum < percent) & (a == 0)) {
gotoAndStop (2);
a = 1;
}
if (actNum >= percent) {
walkdelay++;
if (walkdelay < walktime) {
if (this._y >= ((-(0.583333333333333 * this._x)) + 330)) {
this._y = (-(0.583333333333333 * this._x)) + 330;
}
if (((this._y < ((-(0.583333333333333 * this._x)) + 330)) | (speedX < 0)) | (speedY < 0)) {
this.en.nextFrame();
if (this.en._currentframe == this.en._totalframes) {
this.en.gotoAndStop(1);
}
this._x = this._x + speedX;
this._y = this._y + speedY;
if (this._x <= 0) {
this._x = 0;
speedX = speedX * -1;
}
if (this._y <= 0) {
this._y = 0;
speedY = speedY * -1;
}
}
}
if ((walkdelay >= walktime) & (b == 0)) {
gotoAndStop (2);
b = 1;
}
}
if (this._currentframe == 2) {
if (delayon == 0) {
delaytime = random(50);
delayon = 1;
}
delay++;
if (delaytime <= delay) {
gotoAndStop (3);
delay = 0;
point = new Object();
point.x = en._x;
point.y = en._y;
localToGlobal(point);
_root.z++;
if (_root.z > 30) {
_root.z = 1;
}
_root.enthrowpoz.attachMovie("enthrow4", "enthrow" + _root.z, _root.z);
_root.enthrowpoz["enthrow" + _root.z]._x = point.x + 20;
_root.enthrowpoz["enthrow" + _root.z]._y = point.y + 10;
}
}
}
if (!die) {
var s = 1;
while (s <= 5) {
if (this.hitTest(_root.throwpoz["throw" + s]._x, _root.throwpoz["throw" + s]._y, true) && (_root.throwpoz["throw" + s]._x != undefined)) {
_root.throwpoz["throw" + s].removeMovieClip();
this.hiting = true;
this.hitNum++;
_root.score = _root.score + 15;
if (_root.level < 5) {
hitM = 2;
} else {
hitM = _root.level - 2;
}
if (hitNum == 1) {
gotoAndStop (4);
}
if ((hitNum > 1) && (hitNum <= hitM)) {
die = true;
gotoAndStop (5);
}
if (hitNum >= (hitM + 1)) {
die = true;
gotoAndStop (6);
hitNum = 0;
_root.endieNum++;
if ((_root.endieNum >= (4 + ((_root.level - 1) * 2))) && (_root.level < 5)) {
alldie();
} else if (_root.endieNum >= 10) {
alldie();
}
}
}
s++;
}
}
};
stop();
Symbol 117 MovieClip Frame 4
stop();
Symbol 118 MovieClip Frame 6
_parent.gotoAndStop(1);
Symbol 120 MovieClip Frame 31
_parent.hiting = false;
_parent.gotoAndStop(1);
Symbol 123 MovieClip Frame 31
_parent.hiting = false;
_parent.die = false;
_parent.gotoAndStop(1);
Symbol 127 MovieClip Frame 12
stop();
Symbol 130 MovieClip Frame 1
function alldie() {
_root.createEmptyMovieClip("mc_die", 1010);
_root.mc_die.onEnterFrame = function () {
_root.nexttime++;
if (_root.nexttime >= 30) {
_root.gotoAndStop("ready");
_root.level++;
_root.nexttime = 0;
_root.back.ma.gotoAndPlay(2);
_root.enemypoz.removeMovieClip();
this.removeMovieClip();
}
};
}
actNum = random(12);
speedX = random(10) / 5;
speedy = random(10) / 5;
a = 0;
b = 0;
percent = 5;
delayon = 0;
walkdelay = 0;
walktime = random(100) + 30;
plusminus = random(10);
if (plusminus < 2) {
speedX = speedX * -1;
speedY = speedY * -1;
}
this.onEnterFrame = function () {
if (_root.alldie == 1) {
gotoAndStop (7);
}
if ((!hiting) & (_root.alldie == 0)) {
if ((actNum < percent) & (a == 0)) {
gotoAndStop (2);
a = 1;
}
if (actNum >= percent) {
walkdelay++;
if (walkdelay < walktime) {
if (this._y >= ((-(0.583333333333333 * this._x)) + 330)) {
this._y = (-(0.583333333333333 * this._x)) + 330;
}
if (((this._y < ((-(0.583333333333333 * this._x)) + 330)) | (speedX < 0)) | (speedY < 0)) {
this.en.nextFrame();
if (this.en._currentframe == this.en._totalframes) {
this.en.gotoAndStop(1);
}
this._x = this._x + speedX;
this._y = this._y + speedY;
if (this._x <= 0) {
this._x = 0;
speedX = speedX * -1;
}
if (this._y <= 0) {
this._y = 0;
speedY = speedY * -1;
}
}
}
if ((walkdelay >= walktime) & (b == 0)) {
gotoAndStop (2);
b = 1;
}
}
if (this._currentframe == 2) {
if (delayon == 0) {
delaytime = random(50);
delayon = 1;
}
delay++;
if (delaytime <= delay) {
gotoAndStop (3);
delay = 0;
point = new Object();
point.x = en._x;
point.y = en._y;
localToGlobal(point);
_root.z++;
if (_root.z > 30) {
_root.z = 1;
}
_root.enthrowpoz.attachMovie("enthrow3", "enthrow" + _root.z, _root.z);
_root.enthrowpoz["enthrow" + _root.z]._x = point.x + 20;
_root.enthrowpoz["enthrow" + _root.z]._y = point.y + 10;
}
}
}
if (!die) {
var s = 1;
while (s <= 5) {
if (this.hitTest(_root.throwpoz["throw" + s]._x, _root.throwpoz["throw" + s]._y, true) && (_root.throwpoz["throw" + s]._x != undefined)) {
_root.throwpoz["throw" + s].removeMovieClip();
this.hiting = true;
this.hitNum++;
_root.score = _root.score + 15;
if (_root.level < 5) {
hitM = 2;
} else {
hitM = _root.level - 2;
}
if (hitNum == 1) {
gotoAndStop (4);
}
if ((hitNum > 1) && (hitNum <= hitM)) {
die = true;
gotoAndStop (5);
}
if (hitNum >= (hitM + 1)) {
die = true;
gotoAndStop (6);
hitNum = 0;
_root.endieNum++;
if ((_root.endieNum >= (4 + ((_root.level - 1) * 2))) && (_root.level < 5)) {
alldie();
} else if (_root.endieNum >= 10) {
alldie();
}
}
}
s++;
}
}
};
stop();
Symbol 140 Button
on (release) {
_root.titleMovie.play();
this._parent.removeMovieClip();
}
Symbol 142 MovieClip [howGame] Frame 1
stop();
Symbol 151 MovieClip Frame 8
if (_root.getBytesLoaded() >= _root.getBytesTotal()) {
} else {
stop();
loadingbar.onEnterFrame = function () {
trace(this._x);
this._x = (((_root.getBytesLoaded() * 100) / _root.getBytesTotal()) * 1.47) + -143.7;
if (_root.getBytesLoaded() >= _root.getBytesTotal()) {
this._parent.gotoAndPlay("loadingOk");
this.onEnterFrame = null;
}
};
}
Symbol 151 MovieClip Frame 24
_parent.gotoAndPlay("loading_ok");
Symbol 152 MovieClip Frame 15
stop();
Symbol 152 MovieClip Frame 26
_parent.play();
stop();
Symbol 209 Button
on (release) {
gotoAndPlay (23);
}
Symbol 212 Button
on (press) {
_root.attachMovie("howGame", "howGame_ins", 100000, {_x:300, _y:175});
}
Symbol 213 MovieClip Frame 22
stop();
Symbol 213 MovieClip Frame 23
stop();
_root.gotoAndStop("stage");
Symbol 215 MovieClip Frame 1
stop();
Symbol 215 MovieClip Frame 15
_parent.gotoAndStop(_root.level);
Symbol 215 MovieClip Frame 30
_root.gotoAndStop("stage");
Symbol 236 MovieClip Frame 1
stop();
Symbol 240 MovieClip Frame 45
stop();
Symbol 245 MovieClip Frame 46
_root.gotoAndStop("game");
Symbol 249 MovieClip Frame 45
stop();
Symbol 253 MovieClip Frame 45
stop();
Symbol 254 MovieClip Frame 55
stop();
Symbol 255 MovieClip Frame 55
stop();
Symbol 256 MovieClip Frame 55
stop();
Symbol 257 MovieClip Frame 55
stop();
Symbol 272 MovieClip Frame 1
stop();
_root.enNum = 4;
Instance of Symbol 270 MovieClip in Symbol 272 MovieClip Frame 1
onClipEvent (load) {
if (_root.stg < 10) {
this.gotoAndStop(1);
this.num1.gotoAndStop(_root.stg + 1);
} else {
this.gotoAndStop(2);
this.num1.gotoAndStop(Math.floor(_root.stg / 10) + 1);
this.num2.gotoAndStop((_root.stg % 10) + 1);
}
}
Symbol 272 MovieClip Frame 2
_root.enNum = 6;
Symbol 272 MovieClip Frame 3
_root.enNum = 8;
Symbol 272 MovieClip Frame 4
_root.enNum = 10;
Symbol 294 MovieClip Frame 4
stop();
Symbol 298 MovieClip Frame 55
_parent.hit = false;
_parent.gotoAndStop(1);
Symbol 301 MovieClip Frame 12
stop();
Symbol 302 MovieClip Frame 1
stop();
Symbol 308 MovieClip Frame 4
stop();
Symbol 328 MovieClip Frame 55
_parent.hit = false;
_parent.gotoAndStop(1);
Symbol 331 MovieClip Frame 12
stop();
Symbol 332 MovieClip Frame 1
stop();
Symbol 337 MovieClip Frame 4
stop();
Symbol 349 MovieClip Frame 55
_parent.hit = false;
_parent.gotoAndStop(1);
Symbol 352 MovieClip Frame 12
stop();
Symbol 353 MovieClip Frame 1
stop();
Symbol 360 MovieClip Frame 4
stop();
Symbol 388 MovieClip Frame 55
_parent.hit = false;
_parent.gotoAndStop(1);
Symbol 391 MovieClip Frame 12
stop();
Symbol 392 MovieClip Frame 1
stop();
Symbol 404 Button
on (release) {
stopAllSounds();
_root.enemypoz.removeMovieClip();
this._visible = 0;
gotoAndStop (1);
_root.gotoAndStop("start");
}
Symbol 407 MovieClip Frame 1
stop();
Symbol 407 MovieClip Frame 2
stop();
_root.createEmptyMovieClip("sendScore", 1818);
_root.sendScore.loadVariables("http://211.171.255.26/fingo/battle/soc_end.php?score=" + _root.score);
Symbol 411 Button
on (release) {
stopAllSounds();
_root.enemypoz.removeMovieClip();
this._visible = 0;
gotoAndStop (1);
_root.gotoAndStop("start");
}
Symbol 425 MovieClip Frame 1
stop();
Symbol 425 MovieClip Frame 2
stop();
Instance of Symbol 423 MovieClip "scoreView" in Symbol 425 MovieClip Frame 2
onClipEvent (load) {
function scoreView(score) {
this._parent._visible = 1;
var s8 = (Math.floor((score % 100000000) / 10000000) + 1);
var s7 = (Math.floor((score % 10000000) / 1000000) + 1);
var s6 = (Math.floor((score % 1000000) / 100000) + 1);
var s5 = (Math.floor((score % 100000) / 10000) + 1);
var s4 = (Math.floor((score % 10000) / 1000) + 1);
var s3 = (Math.floor((score % 1000) / 100) + 1);
var s2 = (Math.floor((score % 100) / 10) + 1);
var s1 = (Math.floor(score % 10) + 1);
if (score > 0) {
snd.start(0, 999);
}
num1.gotoAndStop(1);
num1.play();
num1.onEnterFrame = function () {
if (this._currentframe == (s1 + 1)) {
this.stop();
if (score < 10) {
snd.stop();
}
num2.gotoAndStop(1);
num2.play();
num2.onEnterFrame = function () {
if (this._currentframe == (s2 + 1)) {
this.stop();
if (score < 100) {
snd.stop();
}
num3.gotoAndStop(1);
num3.play();
num3.onEnterFrame = function () {
if (this._currentframe == (s3 + 1)) {
this.stop();
if (score < 1000) {
snd.stop();
}
num4.gotoAndStop(1);
num4.play();
num4.onEnterFrame = function () {
if (this._currentframe == (s4 + 1)) {
trace(1);
this.stop();
if (score < 10000) {
snd.stop();
}
num5.gotoAndStop(1);
num5.play();
num5.onEnterFrame = function () {
if (this._currentframe == (s5 + 1)) {
this.stop();
if (score < 100000) {
snd.stop();
}
num6.gotoAndStop(1);
num6.play();
num6.onEnterFrame = function () {
if (this._currentframe == (s6 + 1)) {
this.stop();
if (score < 100000) {
snd.stop();
}
num7.gotoAndStop(1);
num7.play();
num7.onEnterFrame = function () {
if (this._currentframe == (s7 + 1)) {
this.stop();
this._parent.snd.stop("dding");
this._parent._parent.scoreItemMovie.view();
this.onEnterFrame = null;
}
};
this.onEnterFrame = null;
}
};
this.onEnterFrame = null;
}
};
this.onEnterFrame = null;
}
};
this.onEnterFrame = null;
}
};
this.onEnterFrame = null;
}
};
this.onEnterFrame = null;
}
};
}
i = 1;
while (i <= 8) {
this["num" + i].stop();
i++;
}
scoreView(_root.score);
snd = new Sound(this);
snd.attachSound("dding");
}
Symbol 425 MovieClip Frame 3
stop();
Instance of Symbol 423 MovieClip "scoreView" in Symbol 425 MovieClip Frame 3
onClipEvent (load) {
function scoreView(score) {
this._parent._visible = 1;
var s8 = (Math.floor((score % 100000000) / 10000000) + 1);
var s7 = (Math.floor((score % 10000000) / 1000000) + 1);
var s6 = (Math.floor((score % 1000000) / 100000) + 1);
var s5 = (Math.floor((score % 100000) / 10000) + 1);
var s4 = (Math.floor((score % 10000) / 1000) + 1);
var s3 = (Math.floor((score % 1000) / 100) + 1);
var s2 = (Math.floor((score % 100) / 10) + 1);
var s1 = (Math.floor(score % 10) + 1);
if (score > 0) {
snd.start(0, 999);
}
num1.gotoAndStop(1);
num1.play();
num1.onEnterFrame = function () {
if (this._currentframe == (s1 + 1)) {
this.stop();
if (score < 10) {
snd.stop();
}
num2.gotoAndStop(1);
num2.play();
num2.onEnterFrame = function () {
if (this._currentframe == (s2 + 1)) {
this.stop();
if (score < 100) {
snd.stop();
}
num3.gotoAndStop(1);
num3.play();
num3.onEnterFrame = function () {
if (this._currentframe == (s3 + 1)) {
this.stop();
if (score < 1000) {
snd.stop();
}
num4.gotoAndStop(1);
num4.play();
num4.onEnterFrame = function () {
if (this._currentframe == (s4 + 1)) {
trace(1);
this.stop();
if (score < 10000) {
snd.stop();
}
num5.gotoAndStop(1);
num5.play();
num5.onEnterFrame = function () {
if (this._currentframe == (s5 + 1)) {
this.stop();
if (score < 100000) {
snd.stop();
}
num6.gotoAndStop(1);
num6.play();
num6.onEnterFrame = function () {
if (this._currentframe == (s6 + 1)) {
this.stop();
if (score < 100000) {
snd.stop();
}
num7.gotoAndStop(1);
num7.play();
num7.onEnterFrame = function () {
if (this._currentframe == (s7 + 1)) {
this.stop();
this._parent.snd.stop("dding");
this._parent._parent.scoreItemMovie.view();
this.onEnterFrame = null;
}
};
this.onEnterFrame = null;
}
};
this.onEnterFrame = null;
}
};
this.onEnterFrame = null;
}
};
this.onEnterFrame = null;
}
};
this.onEnterFrame = null;
}
};
this.onEnterFrame = null;
}
};
}
i = 1;
while (i <= 8) {
this["num" + i].stop();
i++;
}
scoreView(_root.score);
snd = new Sound(this);
snd.attachSound("dding");
}