Frame 2
if (_framesloaded < 3) {
gotoAndPlay (1);
}
Frame 3
this.onEnterFrame = function () {
buttPlay._visible = false;
_root.mcMask._x = 99.6 + ((_framesloaded / _totalframes) * 250.3);
if (_framesloaded >= _totalframes) {
textLoad._visible = false;
buttPlay._visible = true;
}
};
Instance of Symbol 37 MovieClip in Frame 3
onClipEvent (load) {
_global.score = 0;
_root.mcAHmask._visible = false;
_root.mcAHbody._visible = false;
_root.mcAHfeet._visible = false;
_root.mcAHgun._visible = false;
if (_global.clothesAHmask) {
_global.score++;
_root.mcAHmask._visible = true;
} else {
_global.clothesAHmask = false;
}
if (_global.clothesAHbody) {
_global.score++;
_root.mcAHbody._visible = true;
} else {
_global.clothesAHbody = false;
}
if (_global.clothesAHfeet) {
_global.score++;
_root.mcAHfeet._visible = true;
} else {
_global.clothesAHfeet = false;
}
if (_global.clothesAHgun) {
_global.score++;
_root.mcAHgun._visible = true;
} else {
_global.clothesAHgun = false;
}
if (_global.clothesTorch) {
_global.score++;
_root.mcTorchLoad.duplicateMovieClip("torch01", 100);
_root.torch01.swapDepths(310);
_root.torch01._x = 150;
} else {
_global.clothesTorch = false;
}
if (_global.score > 5) {
_global.score = 5;
}
_root.textScore.text = _global.score;
}
Instance of Symbol 43 MovieClip in Frame 3
on (press) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
on (release) {
stopDrag();
}
Instance of Symbol 48 MovieClip in Frame 3
on (press) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
on (release) {
stopDrag();
}
Instance of Symbol 50 MovieClip in Frame 3
on (press) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
on (release) {
stopDrag();
}
Instance of Symbol 52 MovieClip "mcAHmask" in Frame 3
on (press) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
on (release) {
stopDrag();
}
Instance of Symbol 58 MovieClip in Frame 3
on (press) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
on (release) {
stopDrag();
}
Instance of Symbol 62 MovieClip in Frame 3
on (press) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
on (release) {
stopDrag();
}
Instance of Symbol 64 MovieClip "mcAHgun" in Frame 3
on (press) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
on (release) {
stopDrag();
}
Instance of Symbol 68 MovieClip in Frame 3
on (press) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
on (release) {
stopDrag();
}
Instance of Symbol 70 MovieClip in Frame 3
on (press) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
on (release) {
stopDrag();
}
Instance of Symbol 72 MovieClip in Frame 3
on (press) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
on (release) {
stopDrag();
}
Instance of Symbol 74 MovieClip in Frame 3
on (press) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
on (release) {
stopDrag();
}
Instance of Symbol 76 MovieClip in Frame 3
on (press) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
on (release) {
stopDrag();
}
Instance of Symbol 78 MovieClip in Frame 3
on (press) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
on (release) {
stopDrag();
}
Instance of Symbol 80 MovieClip "mcAHbody" in Frame 3
on (press) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
on (release) {
stopDrag();
}
Instance of Symbol 82 MovieClip "mcAHfeet" in Frame 3
on (press) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
on (release) {
stopDrag();
}
Instance of Symbol 84 MovieClip in Frame 3
on (press) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
on (release) {
stopDrag();
}
Instance of Symbol 84 MovieClip in Frame 3
on (press) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
on (release) {
stopDrag();
}
Instance of Symbol 84 MovieClip in Frame 3
on (press) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
on (release) {
stopDrag();
}
Instance of Symbol 86 MovieClip in Frame 3
on (press) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
on (release) {
stopDrag();
}
Instance of Symbol 93 MovieClip in Frame 3
on (press) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
on (release) {
stopDrag();
}
Instance of Symbol 95 MovieClip in Frame 3
on (press) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
on (release) {
stopDrag();
}
Instance of Symbol 97 MovieClip in Frame 3
on (press) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
on (release) {
stopDrag();
}
Instance of Symbol 100 MovieClip in Frame 3
on (press) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
on (release) {
stopDrag();
}
Instance of Symbol 104 MovieClip "mcTorchLoad" in Frame 3
onClipEvent (load) {
counter = 0;
fireNum = 0;
fireColor = new Color(_parent.firePart);
}
onClipEvent (enterFrame) {
if (_name == "torch01") {
counter++;
fireNum++;
if ((counter % 1) == 0) {
rand = Math.random();
if (rand > 0.8) {
fireColor.setRGB(16777215);
} else if (rand > 0.6) {
fireColor.setRGB(16777164);
} else if (rand > 0.4) {
fireColor.setRGB(16777113);
} else if (rand > 0.2) {
fireColor.setRGB(16776960);
} else {
fireColor.setRGB(16768256);
}
_parent.firePart.duplicateMovieClip("firePart" + fireNum, fireNum + 100);
_root["firePart" + fireNum]._x = this._x + 28;
_root["firePart" + fireNum]._y = this._y - 33;
rand = Math.random();
_parent["firePart" + fireNum]._width = (rand * 8) + 4;
_parent["firePart" + fireNum]._height = (rand * 8) + 4;
}
if (fireNum > 100) {
fireNum = 1;
}
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
onClipEvent (mouseUp) {
stopDrag();
}
Instance of Symbol 105 MovieClip "firePart" in Frame 3
onClipEvent (load) {
_alpha = 100;
yVel = (-Math.random()) - 1;
if (Math.random() > 0.5) {
xVel = Math.random();
xAccel = Math.random() * -0.1;
} else {
xVel = -Math.random();
xAccel = Math.random() * 0.1;
}
life = Math.random() + 2;
}
onClipEvent (enterFrame) {
if (life > 0) {
xVel = xVel + xAccel;
}
_x = (_x + xVel);
_y = (_y + yVel);
life = life - 0.1;
if (life < 0) {
_alpha = 0;
} else if (life < 0.2) {
_alpha = 33;
} else if (life < 0.4) {
_alpha = 66;
}
}
Frame 4
gotoAndPlay (3);
Instance of Symbol 165 MovieClip in Frame 391
onClipEvent (load) {
gotoAndStop (84);
}
Instance of Symbol 165 MovieClip in Frame 391
onClipEvent (load) {
gotoAndStop (84);
}
Instance of Symbol 165 MovieClip in Frame 391
onClipEvent (load) {
gotoAndStop (84);
}
Instance of Symbol 165 MovieClip in Frame 392
onClipEvent (load) {
gotoAndStop (84);
}
Instance of Symbol 165 MovieClip in Frame 392
onClipEvent (load) {
gotoAndStop (84);
}
Instance of Symbol 104 MovieClip "mcTorch01" in Frame 418
onClipEvent (load) {
counter = 0;
fireNum = 0;
if (_name == "mcTorch01") {
this.swapDepths(310);
}
fireColor = new Color(_parent.firePart);
}
onClipEvent (enterFrame) {
counter++;
fireNum++;
if ((counter % 1) == 0) {
rand = Math.random();
if (rand > 0.8) {
fireColor.setRGB(16777215);
} else if (rand > 0.6) {
fireColor.setRGB(16777164);
} else if (rand > 0.4) {
fireColor.setRGB(16777113);
} else if (rand > 0.2) {
fireColor.setRGB(16776960);
} else {
fireColor.setRGB(16768256);
}
_parent.firePart.duplicateMovieClip("firePart" + fireNum, fireNum + 100);
_root["firePart" + fireNum]._x = this._x + 24;
_root["firePart" + fireNum]._y = this._y - 33;
rand = Math.random();
_parent["firePart" + fireNum]._width = (rand * 7) + 3;
_parent["firePart" + fireNum]._height = (rand * 7) + 3;
}
if (fireNum > 200) {
fireNum = 1;
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
onClipEvent (mouseUp) {
stopDrag();
}
Instance of Symbol 105 MovieClip "firePart" in Frame 418
onClipEvent (load) {
_alpha = 100;
yVel = (-Math.random()) - 1;
if (Math.random() > 0.5) {
xVel = Math.random();
xAccel = Math.random() * -0.1;
} else {
xVel = -Math.random();
xAccel = Math.random() * 0.1;
}
life = Math.random() + 2;
}
onClipEvent (enterFrame) {
if (life > 0) {
xVel = xVel + xAccel;
}
_x = (_x + xVel);
_y = (_y + yVel);
life = life - 0.1;
if (life < 0) {
_alpha = 0;
} else if (life < 0.2) {
_alpha = 33;
} else if (life < 0.4) {
_alpha = 66;
}
}
Frame 705
removeMovieClip("mcTorch01");
i = 0;
while (i < 200) {
removeMovieClip("firePart" + i);
i++;
}
Instance of Symbol 104 MovieClip "mcTorch01" in Frame 706
onClipEvent (load) {
counter = 0;
fireNum = 0;
if (_name == "mcTorch01") {
this.swapDepths(310);
}
fireColor = new Color(_parent.firePart);
}
onClipEvent (enterFrame) {
counter++;
fireNum++;
if ((counter % 1) == 0) {
rand = Math.random();
if (rand > 0.8) {
fireColor.setRGB(16777215);
} else if (rand > 0.6) {
fireColor.setRGB(16777164);
} else if (rand > 0.4) {
fireColor.setRGB(16777113);
} else if (rand > 0.2) {
fireColor.setRGB(16776960);
} else {
fireColor.setRGB(16768256);
}
_parent.firePart.duplicateMovieClip("firePart" + fireNum, fireNum + 100);
_root["firePart" + fireNum]._x = this._x + 24;
_root["firePart" + fireNum]._y = this._y - 33;
rand = Math.random();
_parent["firePart" + fireNum]._width = (rand * 7) + 3;
_parent["firePart" + fireNum]._height = (rand * 7) + 3;
}
if (fireNum > 200) {
fireNum = 1;
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
onClipEvent (mouseUp) {
stopDrag();
}
Instance of Symbol 105 MovieClip "firePart" in Frame 706
onClipEvent (load) {
_alpha = 100;
yVel = (-Math.random()) - 1;
if (Math.random() > 0.5) {
xVel = Math.random();
xAccel = Math.random() * -0.1;
} else {
xVel = -Math.random();
xAccel = Math.random() * 0.1;
}
life = Math.random() + 2;
}
onClipEvent (enterFrame) {
if (life > 0) {
xVel = xVel + xAccel;
}
_x = (_x + xVel);
_y = (_y + yVel);
life = life - 0.1;
if (life < 0) {
_alpha = 0;
} else if (life < 0.2) {
_alpha = 33;
} else if (life < 0.4) {
_alpha = 66;
}
}
Frame 864
removeMovieClip("mcTorch01");
i = 0;
while (i < 200) {
removeMovieClip("firePart" + i);
i++;
}
Instance of Symbol 104 MovieClip "mcTorch01" in Frame 866
onClipEvent (load) {
counter = 0;
fireNum = 0;
if (_name == "mcTorch01") {
this.swapDepths(310);
}
fireColor = new Color(_parent.firePart);
}
onClipEvent (enterFrame) {
counter++;
fireNum++;
if ((counter % 1) == 0) {
rand = Math.random();
if (rand > 0.8) {
fireColor.setRGB(16777215);
} else if (rand > 0.6) {
fireColor.setRGB(16777164);
} else if (rand > 0.4) {
fireColor.setRGB(16777113);
} else if (rand > 0.2) {
fireColor.setRGB(16776960);
} else {
fireColor.setRGB(16768256);
}
_parent.firePart.duplicateMovieClip("firePart" + fireNum, fireNum + 100);
_root["firePart" + fireNum]._x = this._x + 24;
_root["firePart" + fireNum]._y = this._y - 33;
rand = Math.random();
_parent["firePart" + fireNum]._width = (rand * 7) + 3;
_parent["firePart" + fireNum]._height = (rand * 7) + 3;
}
if (fireNum > 200) {
fireNum = 1;
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
onClipEvent (mouseUp) {
stopDrag();
}
Instance of Symbol 104 MovieClip "mcTorch02" in Frame 868
onClipEvent (load) {
counter = 0;
fireNum = 0;
if (_name == "mcTorch02") {
this.swapDepths(310);
}
fireColor = new Color(_parent.firePart);
}
onClipEvent (enterFrame) {
counter++;
fireNum++;
if ((counter % 1) == 0) {
rand = Math.random();
if (rand > 0.8) {
fireColor.setRGB(16777215);
} else if (rand > 0.6) {
fireColor.setRGB(16777164);
} else if (rand > 0.4) {
fireColor.setRGB(16777113);
} else if (rand > 0.2) {
fireColor.setRGB(16776960);
} else {
fireColor.setRGB(16768256);
}
_parent.firePart.duplicateMovieClip("firePart" + fireNum, fireNum + 100);
_root["firePart" + fireNum]._x = this._x + 24;
_root["firePart" + fireNum]._y = this._y - 33;
rand = Math.random();
_parent["firePart" + fireNum]._width = (rand * 7) + 3;
_parent["firePart" + fireNum]._height = (rand * 7) + 3;
}
if (fireNum > 200) {
fireNum = 1;
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
onClipEvent (mouseUp) {
stopDrag();
}
Frame 903
removeMovieClip("mcTorch02");
i = 0;
while (i < 200) {
removeMovieClip("firePart" + i);
i++;
}
Instance of Symbol 42 MovieClip in Frame 903
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true) && (!_global.clothesAHmask)) {
_global.clothesAHmask = true;
_root.mcDressupMsg.gotoAndPlay("popup");
}
}
Instance of Symbol 104 MovieClip "mcTorch02" in Frame 932
onClipEvent (load) {
counter = 0;
fireNum = 0;
if (_name == "mcTorch02") {
this.swapDepths(310);
}
fireColor = new Color(_parent.firePart);
}
onClipEvent (enterFrame) {
counter++;
fireNum++;
if ((counter % 1) == 0) {
rand = Math.random();
if (rand > 0.8) {
fireColor.setRGB(16777215);
} else if (rand > 0.6) {
fireColor.setRGB(16777164);
} else if (rand > 0.4) {
fireColor.setRGB(16777113);
} else if (rand > 0.2) {
fireColor.setRGB(16776960);
} else {
fireColor.setRGB(16768256);
}
_parent.firePart.duplicateMovieClip("firePart" + fireNum, fireNum + 100);
_root["firePart" + fireNum]._x = this._x + 24;
_root["firePart" + fireNum]._y = this._y - 33;
rand = Math.random();
_parent["firePart" + fireNum]._width = (rand * 7) + 3;
_parent["firePart" + fireNum]._height = (rand * 7) + 3;
}
if (fireNum > 200) {
fireNum = 1;
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
startDrag (this);
}
}
onClipEvent (mouseUp) {
stopDrag();
}
Frame 1010
removeMovieClip("mcTorch02");
i = 0;
while (i < 200) {
removeMovieClip("firePart" + i);
i++;
}
Instance of Symbol 15 MovieClip "mcControl" in Frame 1151
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 272 MovieClip "mcSketchy" in Frame 1151
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 253 MovieClip in Frame 1323
onClipEvent (load) {
num = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if ((!_root.mcControl._visible) && ((count % 3) == 0)) {
num++;
_root.mcSparkle.duplicateMovieClip("sparkle" + num, num + 500);
_root["sparkle" + num]._x = (this._x - 30) + (Math.random() * 60);
_root["sparkle" + num]._y = (this._y - 34) + (Math.random() * 68);
temp = 30 + (Math.random() * 70);
_root["sparkle" + num]._xscale = temp;
_root["sparkle" + num]._yscale = temp;
}
if (num > 100) {
num = 0;
}
if (count > 10000) {
count = 0;
}
}
Frame 1424
_root.mcControl._visible = true;
Instance of Symbol 129 MovieClip "mcHoodley" in Frame 1466
onClipEvent (load) {
num = 0;
}
onClipEvent (enterFrame) {
num++;
}
Instance of Symbol 287 MovieClip in Frame 1510
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
_root.mcSketchy._visible = true;
_root.mcSketchy.mcHoodley.gotoAndPlay(_root.mcHoodley.num - 44);
}
}
onClipEvent (mouseUp) {
_root.mcSketchy._visible = false;
}
Instance of Symbol 24 MovieClip in Frame 1667
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true) && (!_global.clothesAHfeet)) {
_global.clothesAHfeet = true;
_root.mcDressupMsg.gotoAndPlay("popup");
}
}
Instance of Symbol 104 MovieClip "mcTorch02" in Frame 1667
onClipEvent (load) {
counter = 0;
fireNum = 0;
if (_name == "mcTorch02") {
this.swapDepths(310);
}
fireColor = new Color(_parent.firePart);
}
onClipEvent (enterFrame) {
counter++;
fireNum++;
if ((counter % 1) == 0) {
rand = Math.random();
if (rand > 0.8) {
fireColor.setRGB(16777215);
} else if (rand > 0.6) {
fireColor.setRGB(16777164);
} else if (rand > 0.4) {
fireColor.setRGB(16777113);
} else if (rand > 0.2) {
fireColor.setRGB(16776960);
} else {
fireColor.setRGB(16768256);
}
_parent.firePart.duplicateMovieClip("firePart" + fireNum, fireNum + 100);
_root["firePart" + fireNum]._x = this._x + 24;
_root["firePart" + fireNum]._y = this._y - 33;
rand = Math.random();
_parent["firePart" + fireNum]._width = (rand * 7) + 3;
_parent["firePart" + fireNum]._height = (rand * 7) + 3;
}
if (fireNum > 200) {
fireNum = 1;
}
}
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (!_global.clothesTorch) {
_global.clothesTorch = true;
_root.mcDressupMsg.gotoAndPlay("popup");
}
startDrag (this);
}
}
onClipEvent (mouseUp) {
stopDrag();
}
Instance of Symbol 105 MovieClip "firePart" in Frame 1667
onClipEvent (load) {
_alpha = 100;
yVel = (-Math.random()) - 1;
if (Math.random() > 0.5) {
xVel = Math.random();
xAccel = Math.random() * -0.1;
} else {
xVel = -Math.random();
xAccel = Math.random() * 0.1;
}
life = Math.random() + 2;
}
onClipEvent (enterFrame) {
if (life > 0) {
xVel = xVel + xAccel;
}
_x = (_x + xVel);
_y = (_y + yVel);
life = life - 0.1;
if (life < 0) {
_alpha = 0;
} else if (life < 0.2) {
_alpha = 33;
} else if (life < 0.4) {
_alpha = 66;
}
}
Frame 1770
removeMovieClip("mcTorch02");
i = 0;
while (i < 200) {
removeMovieClip("firePart" + i);
i++;
}
Instance of Symbol 253 MovieClip in Frame 1938
onClipEvent (load) {
num = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if ((count % 3) == 0) {
num++;
_root.mcSparkle.duplicateMovieClip("sparkle" + num, num + 500);
_root["sparkle" + num]._x = (this._x - 30) + (Math.random() * 60);
_root["sparkle" + num]._y = (this._y - 34) + (Math.random() * 68);
temp = 30 + (Math.random() * 70);
_root["sparkle" + num]._xscale = temp;
_root["sparkle" + num]._yscale = temp;
}
if (num > 100) {
num = 0;
}
if (count > 10000) {
count = 0;
}
}
Instance of Symbol 252 MovieClip in Frame 2163
onClipEvent (load) {
num = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if ((count % 3) == 0) {
num++;
_root.mcSparkle.duplicateMovieClip("sparkle" + num, num + 500);
_root["sparkle" + num]._x = (this._x - 30) + (Math.random() * 60);
_root["sparkle" + num]._y = (this._y - 34) + (Math.random() * 68);
temp = 30 + (Math.random() * 70);
_root["sparkle" + num]._xscale = temp;
_root["sparkle" + num]._yscale = temp;
}
if (num > 100) {
num = 0;
}
if (count > 10000) {
count = 0;
}
}
Instance of Symbol 252 MovieClip in Frame 2176
onClipEvent (load) {
num = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if ((count % 3) == 0) {
num++;
_root.mcSparkle.duplicateMovieClip("sparkle" + num, num + 500);
_root["sparkle" + num]._x = (this._x - 30) + (Math.random() * 60);
_root["sparkle" + num]._y = (this._y - 34) + (Math.random() * 68);
temp = 30 + (Math.random() * 70);
_root["sparkle" + num]._xscale = temp;
_root["sparkle" + num]._yscale = temp;
}
if (num > 100) {
num = 0;
}
if (count > 10000) {
count = 0;
}
}
Instance of Symbol 316 MovieClip in Frame 2274
onClipEvent (load) {
num = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if ((count % 3) == 0) {
num++;
_root.mcSparkle.duplicateMovieClip("sparkle" + num, num + 500);
_root["sparkle" + num]._x = (this._x - 30) + (Math.random() * 60);
_root["sparkle" + num]._y = (this._y - 34) + (Math.random() * 68);
temp = 30 + (Math.random() * 70);
_root["sparkle" + num]._xscale = temp;
_root["sparkle" + num]._yscale = temp;
}
if (num > 100) {
num = 0;
}
if (count > 10000) {
count = 0;
}
}
Instance of Symbol 252 MovieClip in Frame 2275
onClipEvent (load) {
num = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if ((count % 3) == 0) {
num++;
_root.mcSparkle.duplicateMovieClip("sparkle" + num, num + 500);
_root["sparkle" + num]._x = (this._x - 30) + (Math.random() * 60);
_root["sparkle" + num]._y = (this._y - 34) + (Math.random() * 68);
temp = 30 + (Math.random() * 70);
_root["sparkle" + num]._xscale = temp;
_root["sparkle" + num]._yscale = temp;
}
if (num > 100) {
num = 0;
}
if (count > 10000) {
count = 0;
}
}
Instance of Symbol 327 MovieClip in Frame 2282
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true) && (!_global.clothesAHbody)) {
_global.clothesAHbody = true;
_root.mcDressupMsg.gotoAndPlay("popup");
}
}
Instance of Symbol 252 MovieClip in Frame 2316
onClipEvent (load) {
num = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if ((count % 3) == 0) {
num++;
_root.mcSparkle.duplicateMovieClip("sparkle" + num, num + 500);
_root["sparkle" + num]._x = (this._x - 30) + (Math.random() * 60);
_root["sparkle" + num]._y = (this._y - 34) + (Math.random() * 68);
temp = 30 + (Math.random() * 70);
_root["sparkle" + num]._xscale = temp;
_root["sparkle" + num]._yscale = temp;
}
if (num > 100) {
num = 0;
}
if (count > 10000) {
count = 0;
}
}
Frame 2370
removeMovieClip("mcSparkle");
i = 0;
while (i < 101) {
removeMovieClip("sparkle" + i);
i++;
}
Instance of Symbol 277 MovieClip "mcSparkle" in Frame 2371
onClipEvent (enterFrame) {
if (this._name != "mcSparkle") {
this._y = this._y + 1;
this._x = this._x + 12;
}
}
Instance of Symbol 277 MovieClip "mcSparkle2" in Frame 2371
onClipEvent (enterFrame) {
if (this._name != "mcSparkle2") {
this._y = this._y + 1;
this._x = this._x + 6;
}
}
Instance of Symbol 356 MovieClip in Frame 2427
onClipEvent (load) {
num = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if ((count % 2) == 0) {
num++;
_root.mcSparkle2.duplicateMovieClip("sparkle" + num, num + 2000);
_root["sparkle" + num]._x = (this._x - 3) + (Math.random() * 30);
_root["sparkle" + num]._y = (this._y - 9) + (Math.random() * 34);
temp = 15 + (Math.random() * 30);
_root["sparkle" + num]._xscale = temp;
_root["sparkle" + num]._yscale = temp;
}
if (num > 100) {
num = 0;
}
if (count > 10000) {
count = 0;
}
}
Instance of Symbol 277 MovieClip in Frame 2432
onClipEvent (enterFrame) {
if (this._name != "mcSparkle") {
this._y = this._y + 1;
this._x = this._x + 12;
}
}
Instance of Symbol 277 MovieClip "mcSparkle" in Frame 2432
onClipEvent (enterFrame) {
if (this._name != "mcSparkle") {
this._y = this._y + 1;
this._x = this._x + 12;
}
}
Instance of Symbol 277 MovieClip in Frame 2434
onClipEvent (enterFrame) {
if (this._name != "mcSparkle") {
this._y = this._y + 1;
this._x = this._x + 12;
}
}
Instance of Symbol 356 MovieClip in Frame 2437
onClipEvent (load) {
num = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if ((count % 2) == 0) {
num++;
_root.mcSparkle2.duplicateMovieClip("sparkle" + num, num + 2000);
_root["sparkle" + num]._x = (this._x - 8) + (Math.random() * 80);
_root["sparkle" + num]._y = (this._y - 25) + (Math.random() * 100);
temp = 35 + (Math.random() * 70);
_root["sparkle" + num]._xscale = temp;
_root["sparkle" + num]._yscale = temp;
}
if (num > 100) {
num = 0;
}
if (count > 10000) {
count = 0;
}
}
Instance of Symbol 277 MovieClip "mcSparkle" in Frame 2439
onClipEvent (enterFrame) {
if (this._name != "mcSparkle") {
this._y = this._y + 1;
this._x = this._x + 13;
}
}
Instance of Symbol 277 MovieClip "mcSparkle3" in Frame 2439
onClipEvent (enterFrame) {
if (this._name != "mcSparkle3") {
this._y = this._y + -1;
}
}
Frame 2521
i = 0;
while (i < 101) {
removeMovieClip("sparkle" + i);
i++;
}
Instance of Symbol 143 MovieClip "mcWall02" in Frame 2521
onClipEvent (load) {
counter = 0;
fireNum = 0;
if (_name == "mcWall02") {
this.swapDepths(1999);
}
fireColor = new Color(_parent.firePart);
}
onClipEvent (enterFrame) {
counter++;
fireNum++;
if ((counter % 2) == 0) {
rand = Math.random();
if (rand > 0.66) {
fireColor.setRGB(16777215);
} else if (rand > 0.33) {
fireColor.setRGB(13421772);
} else {
fireColor.setRGB(10066329);
}
_parent.firePart.duplicateMovieClip("firePart" + (fireNum + 200), fireNum + 300);
_parent["firePart" + (fireNum + 200)]._x = this._x;
_parent["firePart" + (fireNum + 200)]._y = this._y - 90;
rand = (Math.random() * 7) + 4;
_parent["firePart" + (fireNum + 200)]._width = rand;
_parent["firePart" + (fireNum + 200)]._height = rand;
}
if (fireNum > 30) {
fireNum = 1;
}
}
Instance of Symbol 149 MovieClip "mcWall01" in Frame 2521
onClipEvent (load) {
counter = 0;
fireNum = 0;
if (_name == "mcWall01") {
this.swapDepths(1110);
}
fireColor = new Color(_parent.firePart);
}
onClipEvent (enterFrame) {
counter++;
fireNum++;
if ((counter % 2) == 0) {
rand = Math.random();
if (rand > 0.66) {
fireColor.setRGB(16777215);
} else if (rand > 0.33) {
fireColor.setRGB(13421772);
} else {
fireColor.setRGB(10066329);
}
_parent.firePart.duplicateMovieClip("firePart" + fireNum, fireNum + 100);
_parent["firePart" + fireNum]._x = this._x;
_parent["firePart" + fireNum]._y = this._y - 100;
rand = (Math.random() * 9) + 5;
_parent["firePart" + fireNum]._width = rand;
_parent["firePart" + fireNum]._height = rand;
}
if (fireNum > 30) {
fireNum = 1;
}
}
Instance of Symbol 143 MovieClip "mcWall03" in Frame 2521
onClipEvent (load) {
counter = 0;
fireNum = 0;
if (_name == "mcWall03") {
this.swapDepths(1310);
}
fireColor = new Color(_parent.firePart02);
}
onClipEvent (enterFrame) {
counter++;
fireNum++;
if ((counter % 2) == 0) {
rand = Math.random();
if (rand > 0.66) {
fireColor.setRGB(16777215);
} else if (rand > 0.33) {
fireColor.setRGB(13421772);
} else {
fireColor.setRGB(10066329);
}
_parent.firePart02.duplicateMovieClip("firePart" + (fireNum + 400), fireNum + 500);
_parent["firePart" + (fireNum + 400)]._x = this._x;
_parent["firePart" + (fireNum + 400)]._y = this._y - 60;
rand = (Math.random() * 5) + 4;
_parent["firePart" + (fireNum + 400)]._width = rand;
_parent["firePart" + (fireNum + 400)]._height = rand;
}
if (fireNum > 30) {
fireNum = 1;
}
}
Instance of Symbol 105 MovieClip "firePart" in Frame 2521
onClipEvent (load) {
_alpha = 100;
yVel = (-Math.random()) - 0.5;
if (Math.random() > 0.5) {
xVel = Math.random() / 2;
xAccel = Math.random() * -0.05;
} else {
xVel = (-Math.random()) / 2;
xAccel = Math.random() * 0.05;
}
life = Math.random() + 2;
}
onClipEvent (enterFrame) {
if (life > 0) {
xVel = xVel + xAccel;
}
_x = (_x + xVel);
_y = (_y + yVel);
life = life - 0.1;
if (life < 0) {
_alpha = 0;
} else if (life < 0.2) {
_alpha = 33;
} else if (life < 0.4) {
_alpha = 66;
}
}
Instance of Symbol 105 MovieClip "firePart02" in Frame 2521
onClipEvent (load) {
_alpha = 100;
yVel = (-Math.random()) - 0.3;
if (Math.random() > 0.5) {
xVel = Math.random() / 3;
xAccel = Math.random() * -0.03;
} else {
xVel = (-Math.random()) / 3;
xAccel = Math.random() * 0.03;
}
life = Math.random() + 2;
}
onClipEvent (enterFrame) {
if (life > 0) {
xVel = xVel + xAccel;
}
_x = (_x + xVel);
_y = (_y + yVel);
life = life - 0.1;
if (life < 0) {
_alpha = 0;
} else if (life < 0.2) {
_alpha = 33;
} else if (life < 0.4) {
_alpha = 66;
}
}
Instance of Symbol 143 MovieClip in Frame 2526
onClipEvent (enterFrame) {
}
Frame 2530
removeMovieClip("mcWall01");
removeMovieClip("mcWall02");
removeMovieClip("mcWall03");
Instance of Symbol 136 MovieClip in Frame 2545
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true) && (!_global.clothesAHgun)) {
_global.clothesAHgun = true;
_root.mcDressupMsg.gotoAndPlay("popup");
}
}
Instance of Symbol 357 MovieClip in Frame 2573
onClipEvent (load) {
num = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if ((count % 2) == 0) {
num++;
_root.mcSparkle.duplicateMovieClip("sparkle" + num, num + 2000);
_root["sparkle" + num]._x = (_parent._x + 120) + (Math.random() * 50);
_root["sparkle" + num]._y = (_parent._y + 140) + (Math.random() * 84);
temp = 30 + (Math.random() * 70);
_root["sparkle" + num]._xscale = temp;
_root["sparkle" + num]._yscale = temp;
}
if (num > 40) {
num = 0;
}
if (count > 10000) {
count = 0;
}
}
Instance of Symbol 408 MovieClip in Frame 2736
onClipEvent (load) {
num = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if ((count % 3) == 0) {
num++;
_root.mcSparkle3.duplicateMovieClip("sparkle" + num, num + 500);
_root["sparkle" + num]._x = (this._x - 125) + (Math.random() * 250);
_root["sparkle" + num]._y = (this._y - 450) + (Math.random() * 300);
temp = 10 + (Math.random() * 50);
_root["sparkle" + num]._xscale = temp;
_root["sparkle" + num]._yscale = temp;
}
if (num > 100) {
num = 0;
}
if (count > 10000) {
count = 0;
}
}
Instance of Symbol 357 MovieClip in Frame 2818
onClipEvent (load) {
num = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if ((count % 2) == 0) {
num++;
_root.mcSparkle.duplicateMovieClip("sparkle" + num, num + 2000);
_root["sparkle" + num]._x = (_parent._x + 120) + (Math.random() * 50);
_root["sparkle" + num]._y = (_parent._y + 140) + (Math.random() * 84);
temp = 30 + (Math.random() * 70);
_root["sparkle" + num]._xscale = temp;
_root["sparkle" + num]._yscale = temp;
}
if (num > 40) {
num = 0;
}
if (count > 10000) {
count = 0;
}
}
Instance of Symbol 410 MovieClip in Frame 2821
onClipEvent (load) {
num = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if ((count % 2) == 0) {
num++;
_root.mcSparkle.duplicateMovieClip("sparkle" + num, num + 500);
_root["sparkle" + num]._x = (this._x + 90) + (Math.random() * 48);
_root["sparkle" + num]._y = (this._y + 80) + (Math.random() * 44);
temp = 30 + (Math.random() * 70);
_root["sparkle" + num]._xscale = temp;
_root["sparkle" + num]._yscale = temp;
}
if (num > 40) {
num = 0;
}
if (count > 10000) {
count = 0;
}
}
Instance of Symbol 432 MovieClip in Frame 2860
onClipEvent (load) {
num = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if ((count % 2) == 0) {
num++;
_root.mcSparkle.duplicateMovieClip("sparkle" + (num + 100), num + 600);
_root["sparkle" + (num + 100)]._x = (this._x - 170) + (Math.random() * 220);
_root["sparkle" + (num + 100)]._y = (this._y - 300) + (Math.random() * 350);
temp = 20 + (Math.random() * 50);
_root["sparkle" + (num + 100)]._xscale = temp;
_root["sparkle" + (num + 100)]._yscale = temp;
}
if (num > 100) {
num = 0;
}
if (count > 10000) {
count = 0;
}
}
Instance of Symbol 410 MovieClip in Frame 2954
onClipEvent (load) {
num = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if ((count % 2) == 0) {
num++;
_root.mcSparkle.duplicateMovieClip("sparkle" + num, num + 500);
_root["sparkle" + num]._x = (this._x + 90) + (Math.random() * 48);
_root["sparkle" + num]._y = (this._y + 80) + (Math.random() * 44);
temp = 30 + (Math.random() * 70);
_root["sparkle" + num]._xscale = temp;
_root["sparkle" + num]._yscale = temp;
}
if (num > 40) {
num = 0;
}
if (count > 10000) {
count = 0;
}
}
Instance of Symbol 438 MovieClip in Frame 2973
onClipEvent (load) {
num = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if ((count % 2) == 0) {
num++;
_root.mcSparkle.duplicateMovieClip("sparkle" + num, num + 500);
_root["sparkle" + num]._x = (this._x + 90) + (Math.random() * 48);
_root["sparkle" + num]._y = (this._y + 80) + (Math.random() * 44);
temp = 30 + (Math.random() * 70);
_root["sparkle" + num]._xscale = temp;
_root["sparkle" + num]._yscale = temp;
}
if (num > 40) {
num = 0;
}
if (count > 10000) {
count = 0;
}
}
Instance of Symbol 252 MovieClip in Frame 3076
onClipEvent (load) {
num = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if ((count % 3) == 0) {
num++;
_root.mcSparkle.duplicateMovieClip("sparkle" + num, num + 500);
_root["sparkle" + num]._x = (this._x - 20) + (Math.random() * 40);
_root["sparkle" + num]._y = (this._y - 25) + (Math.random() * 50);
temp = 20 + (Math.random() * 60);
_root["sparkle" + num]._xscale = temp;
_root["sparkle" + num]._yscale = temp;
}
if (num > 100) {
num = 0;
}
if (count > 10000) {
count = 0;
}
}
Instance of Symbol 253 MovieClip in Frame 3143
onClipEvent (load) {
num = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if ((count % 3) == 0) {
num++;
_root.mcSparkle.duplicateMovieClip("sparkle" + num, num + 500);
_root["sparkle" + num]._x = (this._x - 20) + (Math.random() * 40);
_root["sparkle" + num]._y = (this._y - 25) + (Math.random() * 50);
temp = 20 + (Math.random() * 60);
_root["sparkle" + num]._xscale = temp;
_root["sparkle" + num]._yscale = temp;
}
if (num > 100) {
num = 0;
}
if (count > 10000) {
count = 0;
}
}
Instance of Symbol 4 MovieClip in Frame 3613
onClipEvent (load) {
num = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if ((count % 2) == 0) {
num++;
_root.mcSparkle.duplicateMovieClip("sparkle" + num, num + 100);
_root["sparkle" + num]._x = Math.random() * 700;
_root["sparkle" + num]._y = Math.random() * 400;
rand = (Math.random() * 60) + 30;
_root["sparkle" + num]._xscale = rand;
_root["sparkle" + num]._yscale = rand;
}
if (count > 1000) {
count = 1;
}
if (num > 100) {
num = 0;
}
}
Instance of Symbol 277 MovieClip "mcSparkle2" in Frame 3613
onClipEvent (load) {
if (_name != "mcSparkle2") {
xVel = ((Math.ceil(Math.random() * 2) * 2) - 3) * ((Math.random() * 7) + 0.2);
yVel = ((Math.ceil(Math.random() * 2) * 2) - 3) * ((Math.random() * 7) + 0.2);
}
}
onClipEvent (enterFrame) {
_x = (_x + xVel);
_y = (_y + yVel);
}
Instance of Symbol 277 MovieClip "mcSparkle2b" in Frame 3613
onClipEvent (load) {
if (_name != "mcSparkle2") {
xVel = ((Math.ceil(Math.random() * 2) * 2) - 3) * ((Math.random() * 7) + 0.2);
yVel = ((Math.ceil(Math.random() * 2) * 2) - 3) * ((Math.random() * 7) + 0.2);
}
}
onClipEvent (enterFrame) {
_x = (_x + xVel);
_y = (_y + yVel);
}
Instance of Symbol 4 MovieClip in Frame 3643
onClipEvent (load) {
num = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if (count < 18) {
i = 0;
while (i < 4) {
num++;
if (Math.random() < 0.95) {
_root.mcSparkle2.duplicateMovieClip("sparkle" + (num + 100), num + 200);
} else {
_root.mcSparkle2b.duplicateMovieClip("sparkle" + (num + 100), num + 200);
}
_root["sparkle" + (num + 100)]._x = 250 + (Math.random() * 200);
_root["sparkle" + (num + 100)]._y = 150 + (Math.random() * 90);
rand = (Math.random() * 100) + 50;
_root["sparkle" + (num + 100)]._xscale = rand;
_root["sparkle" + (num + 100)]._yscale = rand;
i++;
}
}
if (count > 1000) {
count = 1;
}
if (num > 100) {
num = 0;
}
}
Instance of Symbol 4 MovieClip in Frame 3725
onClipEvent (load) {
num = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if (count < 18) {
i = 0;
while (i < 4) {
num++;
if (Math.random() < 0.95) {
_root.mcSparkle2.duplicateMovieClip("sparkle" + (num + 100), num + 200);
} else {
_root.mcSparkle2b.duplicateMovieClip("sparkle" + (num + 100), num + 200);
}
_root["sparkle" + (num + 100)]._x = 250 + (Math.random() * 200);
_root["sparkle" + (num + 100)]._y = 150 + (Math.random() * 90);
rand = (Math.random() * 100) + 50;
_root["sparkle" + (num + 100)]._xscale = rand;
_root["sparkle" + (num + 100)]._yscale = rand;
i++;
}
}
if (count > 1000) {
count = 1;
}
if (num > 100) {
num = 0;
}
}
Instance of Symbol 514 MovieClip in Frame 3748
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.gotoAndPlay("play");
}
}
Instance of Symbol 4 MovieClip in Frame 3808
onClipEvent (load) {
num = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if (count < 18) {
i = 0;
while (i < 4) {
num++;
if (Math.random() < 0.95) {
_root.mcSparkle2.duplicateMovieClip("sparkle" + (num + 100), num + 200);
} else {
_root.mcSparkle2b.duplicateMovieClip("sparkle" + (num + 100), num + 200);
}
_root["sparkle" + (num + 100)]._x = 250 + (Math.random() * 200);
_root["sparkle" + (num + 100)]._y = 150 + (Math.random() * 90);
rand = (Math.random() * 100) + 50;
_root["sparkle" + (num + 100)]._xscale = rand;
_root["sparkle" + (num + 100)]._yscale = rand;
i++;
}
}
if (count > 1000) {
count = 1;
}
if (num > 100) {
num = 0;
}
}
Instance of Symbol 4 MovieClip in Frame 3888
onClipEvent (load) {
num = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if (count < 18) {
i = 0;
while (i < 4) {
num++;
if (Math.random() < 0.95) {
_root.mcSparkle2.duplicateMovieClip("sparkle" + (num + 100), num + 200);
} else {
_root.mcSparkle2b.duplicateMovieClip("sparkle" + (num + 100), num + 200);
}
_root["sparkle" + (num + 100)]._x = 250 + (Math.random() * 200);
_root["sparkle" + (num + 100)]._y = 150 + (Math.random() * 90);
rand = (Math.random() * 100) + 50;
_root["sparkle" + (num + 100)]._xscale = rand;
_root["sparkle" + (num + 100)]._yscale = rand;
i++;
}
}
if (count > 1000) {
count = 1;
}
if (num > 100) {
num = 0;
}
}
Instance of Symbol 532 MovieClip in Frame 3992
onClipEvent (load) {
tankSpeed = 3.5;
keyLeft = 37;
keyRight = 39;
keyShoot = 32;
lPressed = false;
rPressed = false;
sPressed = false;
state = 0;
this._xscale = 32.1;
}
onClipEvent (enterFrame) {
if (Key.isDown(keyLeft)) {
state = 1;
if (!lPressed) {
lPressed = true;
_root.mcTank.gotoAndPlay("move");
}
this._xscale = -32.1;
_root.mcTank._x = _root.mcTank._x - tankSpeed;
} else if (Key.isDown(keyRight)) {
state = 1;
if (!rPressed) {
rPressed = true;
_root.mcTank.gotoAndPlay("move");
}
this._xscale = 32.1;
_root.mcTank._x = _root.mcTank._x + tankSpeed;
} else {
if ((state == 1) || (state == 2.5)) {
state = 0;
_root.mcTank.gotoAndPlay("idle");
}
lPressed = false;
rPressed = false;
}
if (Key.isDown(keyShoot)) {
if (!sPressed) {
sPressed = true;
state = 2;
_root.mcTank.mcBody.gotoAndPlay("shoot");
rand = Math.ceil(Math.random() * 100);
_root.mcBlast.duplicateMovieClip("blast" + rand, rand + 100);
_root["blast" + rand]._y = this._y - 20;
if (this._xscale == 32.1) {
_root["blast" + rand]._x = this._x + 32;
_root["blast" + rand]._rotation = 110;
} else {
_root["blast" + rand]._x = this._x - 32;
_root["blast" + rand]._rotation = -25;
}
}
} else {
sPressed = false;
}
}
Instance of Symbol 532 MovieClip "mcTank" in Frame 3997
onClipEvent (load) {
tankSpeed = 3.5;
keyLeft = 37;
keyRight = 39;
keyShoot = 32;
lPressed = false;
rPressed = false;
sPressed = false;
state = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(keyLeft)) {
state = 1;
if (!lPressed) {
lPressed = true;
_root.mcTank.gotoAndPlay("move");
}
this._xscale = -32.1;
_root.mcTank._x = _root.mcTank._x - tankSpeed;
} else if (Key.isDown(keyRight)) {
state = 1;
if (!rPressed) {
rPressed = true;
_root.mcTank.gotoAndPlay("move");
}
this._xscale = 32.1;
_root.mcTank._x = _root.mcTank._x + tankSpeed;
} else {
if ((state == 1) || (state == 2.5)) {
state = 0;
_root.mcTank.gotoAndPlay("idle");
}
lPressed = false;
rPressed = false;
}
if (Key.isDown(keyShoot)) {
if (!sPressed) {
sPressed = true;
state = 2;
_root.mcTank.mcBody.gotoAndPlay("shoot");
rand = Math.ceil(Math.random() * 100);
_root.mcBlast.duplicateMovieClip("blast" + rand, rand + 100);
_root["blast" + rand]._y = this._y - 20;
if (this._xscale == 32.1) {
_root["blast" + rand]._x = this._x + 32;
_root["blast" + rand]._rotation = 110;
} else {
_root["blast" + rand]._x = this._x - 32;
_root["blast" + rand]._rotation = -25;
}
}
} else {
sPressed = false;
}
}
Frame 4015
stop();
Symbol 20 Button
on (release) {
gotoAndPlay (5);
i = 0;
while (i < 100) {
removeMovieClip(_root["firePart" + i]);
i++;
}
removeMovieClip(_root.torch01);
}
Symbol 37 MovieClip Frame 9
if (Math.random() < 0.92) {
gotoAndPlay (1);
}
Symbol 58 MovieClip Frame 3
if (Math.random() > 0.8) {
gotoAndPlay (10);
} else {
gotoAndPlay (1);
}
Symbol 114 MovieClip Frame 9
if (Math.random() > 0.4) {
gotoAndPlay (1);
}
Symbol 139 MovieClip Frame 6
if (Math.random() > 0.2) {
gotoAndPlay (1);
}
Symbol 148 MovieClip Frame 9
if (Math.random() > 0.14) {
gotoAndPlay (1);
}
Instance of Symbol 134 MovieClip in Symbol 153 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (37);
}
Instance of Symbol 143 MovieClip in Symbol 153 MovieClip Frame 1
onClipEvent (load) {
counter = 0;
fireNum = 0;
this.swapDepths(1310);
fireColor = new Color(_parent.firePart02);
}
onClipEvent (enterFrame) {
counter++;
fireNum++;
if ((counter % 2) == 0) {
rand = Math.random();
if (rand > 0.8) {
fireColor.setRGB(16777215);
} else if (rand > 0.6) {
fireColor.setRGB(16777164);
} else if (rand > 0.4) {
fireColor.setRGB(16777113);
} else if (rand > 0.2) {
fireColor.setRGB(16776960);
} else {
fireColor.setRGB(16768256);
}
_parent.firePart02.duplicateMovieClip("firePart" + (fireNum + 400), fireNum + 500);
_parent["firePart" + (fireNum + 400)]._x = this._x;
_parent["firePart" + (fireNum + 400)]._y = this._y - 34;
rand = Math.random();
_parent["firePart" + (fireNum + 400)]._width = (rand * 7) + 1;
_parent["firePart" + (fireNum + 400)]._height = (rand * 7) + 1;
}
if (fireNum > 30) {
fireNum = 1;
}
}
Instance of Symbol 134 MovieClip in Symbol 153 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (37);
}
Instance of Symbol 134 MovieClip in Symbol 153 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (37);
}
onClipEvent (enterFrame) {
this.swapDepths(1510);
}
Instance of Symbol 143 MovieClip "mcWall02" in Symbol 153 MovieClip Frame 1
onClipEvent (load) {
counter = 0;
fireNum = 0;
if (_name == "mcWall02") {
this.swapDepths(1999);
}
fireColor = new Color(_parent.firePart);
}
onClipEvent (enterFrame) {
counter++;
fireNum++;
if ((counter % 2) == 0) {
rand = Math.random();
if (rand > 0.8) {
fireColor.setRGB(16777215);
} else if (rand > 0.6) {
fireColor.setRGB(16777164);
} else if (rand > 0.4) {
fireColor.setRGB(16777113);
} else if (rand > 0.2) {
fireColor.setRGB(16776960);
} else {
fireColor.setRGB(16768256);
}
_parent.firePart.duplicateMovieClip("firePart" + (fireNum + 200), fireNum + 300);
_parent["firePart" + (fireNum + 200)]._x = this._x;
_parent["firePart" + (fireNum + 200)]._y = this._y - 44;
rand = Math.random();
_parent["firePart" + (fireNum + 200)]._width = (rand * 7) + 3;
_parent["firePart" + (fireNum + 200)]._height = (rand * 7) + 3;
}
if (fireNum > 30) {
fireNum = 1;
}
}
Instance of Symbol 149 MovieClip "mcWall01" in Symbol 153 MovieClip Frame 1
onClipEvent (load) {
counter = 0;
fireNum = 0;
if (_name == "mcWall01") {
this.swapDepths(1110);
}
fireColor = new Color(_parent.firePart);
}
onClipEvent (enterFrame) {
counter++;
fireNum++;
if ((counter % 2) == 0) {
rand = Math.random();
if (rand > 0.8) {
fireColor.setRGB(16777215);
} else if (rand > 0.6) {
fireColor.setRGB(16777164);
} else if (rand > 0.4) {
fireColor.setRGB(16777113);
} else if (rand > 0.2) {
fireColor.setRGB(16776960);
} else {
fireColor.setRGB(16768256);
}
_parent.firePart.duplicateMovieClip("firePart" + fireNum, fireNum + 100);
_parent["firePart" + fireNum]._x = this._x;
_parent["firePart" + fireNum]._y = this._y - 44;
rand = Math.random();
_parent["firePart" + fireNum]._width = (rand * 7) + 3;
_parent["firePart" + fireNum]._height = (rand * 7) + 3;
}
if (fireNum > 30) {
fireNum = 1;
}
}
Instance of Symbol 134 MovieClip "mcHoodley01" in Symbol 153 MovieClip Frame 1
onClipEvent (enterFrame) {
this.swapDepths(2000);
}
Instance of Symbol 105 MovieClip "firePart" in Symbol 153 MovieClip Frame 1
onClipEvent (load) {
_alpha = 100;
yVel = (-Math.random()) - 0.5;
if (Math.random() > 0.5) {
xVel = Math.random() / 2;
xAccel = Math.random() * -0.05;
} else {
xVel = (-Math.random()) / 2;
xAccel = Math.random() * 0.05;
}
life = Math.random() + 2;
}
onClipEvent (enterFrame) {
if (life > 0) {
xVel = xVel + xAccel;
}
_x = (_x + xVel);
_y = (_y + yVel);
life = life - 0.1;
if (life < 0) {
_alpha = 0;
} else if (life < 0.2) {
_alpha = 33;
} else if (life < 0.4) {
_alpha = 66;
}
}
Instance of Symbol 105 MovieClip "firePart02" in Symbol 153 MovieClip Frame 1
onClipEvent (load) {
_alpha = 100;
yVel = (-Math.random()) - 0.3;
if (Math.random() > 0.5) {
xVel = Math.random() / 3;
xAccel = Math.random() * -0.03;
} else {
xVel = (-Math.random()) / 3;
xAccel = Math.random() * 0.03;
}
life = Math.random() + 2;
}
onClipEvent (enterFrame) {
if (life > 0) {
xVel = xVel + xAccel;
}
_x = (_x + xVel);
_y = (_y + yVel);
life = life - 0.1;
if (life < 0) {
_alpha = 0;
} else if (life < 0.2) {
_alpha = 33;
} else if (life < 0.4) {
_alpha = 66;
}
}
Symbol 159 MovieClip Frame 9
gotoAndStop (1);
Symbol 202 MovieClip Frame 12
stop();
Symbol 211 MovieClip Frame 9
if (Math.random() > 0.8) {
gotoAndPlay (10);
} else {
gotoAndPlay (1);
}
Symbol 277 MovieClip Frame 30
stop();
Symbol 279 MovieClip Frame 44
stop();
Symbol 306 MovieClip Frame 20
stop();
Instance of Symbol 252 MovieClip in Symbol 316 MovieClip Frame 1
onClipEvent (load) {
num = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if ((count % 3) == 0) {
num++;
_root.mcSparkle.duplicateMovieClip("sparkle" + num, num + 500);
_root["sparkle" + num]._x = ((this._x - 30) + 570) + (Math.random() * 60);
_root["sparkle" + num]._y = ((this._y - 34) + 200) + (Math.random() * 68);
temp = 30 + (Math.random() * 70);
_root["sparkle" + num]._xscale = temp;
_root["sparkle" + num]._yscale = temp;
}
if (num > 100) {
num = 0;
}
if (count > 10000) {
count = 0;
}
}
Symbol 321 MovieClip Frame 11
stop();
Symbol 323 MovieClip Frame 28
stop();
Instance of Symbol 252 MovieClip in Symbol 328 MovieClip Frame 1
onClipEvent (load) {
num = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if ((count % 1) == 0) {
num++;
_root.mcSparkle.duplicateMovieClip("sparkle" + num, num + 500);
_root["sparkle" + num]._x = (_parent._x - 20) + (Math.random() * 60);
_root["sparkle" + num]._y = (_parent._y - 44) + (Math.random() * 68);
temp = 30 + (Math.random() * 70);
_root["sparkle" + num]._xscale = temp;
_root["sparkle" + num]._yscale = temp;
}
if (num > 100) {
num = 0;
}
if (count > 10000) {
count = 0;
}
}
Symbol 329 MovieClip Frame 7
gotoAndPlay (3);
Symbol 331 MovieClip Frame 11
stop();
Instance of Symbol 357 MovieClip in Symbol 358 MovieClip Frame 1
onClipEvent (load) {
num = 0;
count = 0;
}
onClipEvent (enterFrame) {
count++;
if ((count % 2) == 0) {
num++;
_root.mcSparkle.duplicateMovieClip("sparkle" + num, num + 2000);
_root["sparkle" + num]._x = (_parent._x + 120) + (Math.random() * 50);
_root["sparkle" + num]._y = (_parent._y + 140) + (Math.random() * 84);
temp = 30 + (Math.random() * 70);
_root["sparkle" + num]._xscale = temp;
_root["sparkle" + num]._yscale = temp;
}
if (num > 40) {
num = 0;
}
if (count > 10000) {
count = 0;
}
}
Symbol 396 MovieClip Frame 1
gotoAndPlay (30);
Symbol 396 MovieClip Frame 37
if (Math.random() > 0.7) {
gotoAndPlay (10);
} else {
gotoAndPlay (30);
}
Symbol 423 MovieClip Frame 9
gotoAndPlay (1);
Symbol 423 MovieClip Frame 19
stop();
Symbol 423 MovieClip Frame 29
stop();
Instance of Symbol 423 MovieClip in Symbol 432 MovieClip Frame 116
onClipEvent (load) {
this.gotoAndPlay("open");
}
Instance of Symbol 423 MovieClip in Symbol 432 MovieClip Frame 121
onClipEvent (load) {
this.gotoAndPlay("opened");
}
Instance of Symbol 423 MovieClip in Symbol 432 MovieClip Frame 186
onClipEvent (load) {
this.gotoAndPlay("close");
}
Symbol 442 MovieClip Frame 20
stop();
Symbol 446 MovieClip Frame 13
stop();
Symbol 488 MovieClip Frame 9
if (Math.random() < 0.9) {
gotoAndPlay (1);
}
Symbol 514 MovieClip Frame 1
stop();
Symbol 521 MovieClip Frame 9
gotoAndPlay (1);
Symbol 521 MovieClip Frame 14
gotoAndPlay (10);
Symbol 529 MovieClip Frame 9
gotoAndPlay (1);
Symbol 529 MovieClip Frame 22
_root.mcTank.state = 2.5;
Symbol 531 MovieClip Frame 9
gotoAndPlay (1);
Symbol 531 MovieClip Frame 14
gotoAndPlay (10);
Symbol 532 MovieClip Frame 4
if (_root.mcTank.state != 1) {
gotoAndPlay (1);
}
Instance of Symbol 521 MovieClip in Symbol 532 MovieClip Frame 10
onClipEvent (load) {
gotoAndPlay (10);
}
Instance of Symbol 531 MovieClip in Symbol 532 MovieClip Frame 10
onClipEvent (load) {
gotoAndPlay (10);
}
Symbol 532 MovieClip Frame 19
if (_root.mcTank.state == 1) {
gotoAndPlay (10);
}
Symbol 536 Button
on (release) {
gotoAndPlay (3);
}