Frame 1 (279 B)
stopAllSounds();
_root.bytesLoaded = _root.getBytesLoaded();
_root.bytesTotal = _root.getBytesTotal();
_root.percentLoaded = Math.round(100 * (_root.bytesLoaded / _root.bytesTotal));
_root.percentLoadedText = _root.percentLoaded + "%";
_root.bar.gotoAndStop(percentLoaded);
Frame 2 (85 B)
if (_root.percentLoaded == 100) {
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
Frame 3 (1.11 KiB) ●
stop();
_global.killTotal = 0;
_global.killTemp = 0;
_global.mainGame = false;
_global.invincibleActive = false;
_global.superActive = false;
_global.attackActive = false;
_global.livesActive = false;
_global.technoActive = false;
_global.whackActive = false;
_global.ghostActive = false;
_global.burialActive = false;
_global.grabActive = false;
_global.sceneActive = false;
_global.huntActive = false;
_global.invincible = false;
_global.superWeapon = false;
_global.attackUp = false;
_global.livesUp = false;
_global.technoMode = false;
_global.pumpkinBest = 0;
_global.ghostBest = 0;
_global.burialBest = 0;
_global.witchBest = 0;
_global.gameBest = 0;
_global.musicPlay = "musicOne";
musicOne = new Sound();
musicOne.attachSound("musicOne");
musicTwo = new Sound();
musicTwo.attachSound("musicTwo");
musicThree = new Sound();
musicThree.attachSound("musicThree");
musicFour = new Sound();
musicFour.attachSound("musicFour");
musicFive = new Sound();
musicFive.attachSound("musicFive");
wolfHowl = new Sound();
wolfHowl.attachSound("wolfHowl");
money = new Sound();
money.attachSound("money");
Frame 4 (622 B)
stop();
enemyKill = 0;
qualityControl = 1;
keyListener = new Object();
keyListener.onKeyDown = function () {
if (Key.isDown(81)) {
if ((_quality == "HIGH") && (qualityControl == 1)) {
_quality = "LOW";
qualityControl = 2;
}
if ((_quality == "MEDIUM") && (qualityControl == 1)) {
_quality = "HIGH";
qualityControl = 2;
}
if ((_quality == "LOW") && (qualityControl == 1)) {
_quality = "MEDIUM";
qualityControl = 2;
}
}
};
keyListener.onKeyUp = function () {
if (!Key.isDown(81)) {
qualityControl = 1;
}
};
Key.addListener(keyListener);
Instance of Symbol 45 MovieClip in Frame 4 (196 B)
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
_root.gotoAndStop("menu");
_global.killTotal = _global.killTotal + _global.killTemp;
_global.killTemp = 0;
}
}
Frame 5 (43 B)
musicOne.stop();
musicOne.start(0, 1000);
Frame 6 (669 B)
stop();
_root.coffinOne.removeMovieClip();
_global.mainGame = false;
qualityControl = 1;
keyListener = new Object();
keyListener.onKeyDown = function () {
if (Key.isDown(81)) {
if ((_quality == "HIGH") && (qualityControl == 1)) {
_quality = "LOW";
qualityControl = 2;
}
if ((_quality == "MEDIUM") && (qualityControl == 1)) {
_quality = "HIGH";
qualityControl = 2;
}
if ((_quality == "LOW") && (qualityControl == 1)) {
_quality = "MEDIUM";
qualityControl = 2;
}
}
};
keyListener.onKeyUp = function () {
if (!Key.isDown(81)) {
qualityControl = 1;
}
};
Key.addListener(keyListener);
Instance of Symbol 45 MovieClip in Frame 6 (196 B)
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
_root.gotoAndStop("menu");
_global.killTotal = _global.killTotal + _global.killTemp;
_global.killTemp = 0;
}
}
Frame 7 (764 B)
_global.mainGame = false;
keyListener = new Object();
keyListener.onKeyDown = function () {
if (Key.isDown(16)) {
_root.gotoAndStop(_currentframe + 2);
}
if (Key.isDown(81)) {
if ((_quality == "HIGH") && (qualityControl == 1)) {
_quality = "LOW";
qualityControl = 2;
}
if ((_quality == "MEDIUM") && (qualityControl == 1)) {
_quality = "HIGH";
qualityControl = 2;
}
if ((_quality == "LOW") && (qualityControl == 1)) {
_quality = "MEDIUM";
qualityControl = 2;
}
}
};
keyListener.onKeyUp = function () {
if (!Key.isDown(81)) {
qualityControl = 1;
}
};
Key.addListener(keyListener);
stop();
_global.killTotal = _global.killTotal + _global.killTemp;
_global.killTemp = 0;
Instance of Symbol 45 MovieClip in Frame 7 (233 B)
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
_global.killTotal = _global.killTotal + _global.killTemp;
_global.killTemp = 0;
_root.coffinOne.removeMovieClip();
_root.gotoAndStop("menu");
}
}
Instance of Symbol 123 MovieClip in Frame 7 (139 B)
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_alpha = (_alpha + 8);
if (_alpha >= 100) {
_root.nextFrame();
}
}
Frame 9 (645 B)
keyListener = new Object();
keyListener.onKeyDown = function () {
if (Key.isDown(16)) {
_root.gotoAndStop(_currentframe + 2);
}
if (Key.isDown(81)) {
if ((_quality == "HIGH") && (qualityControl == 1)) {
_quality = "LOW";
qualityControl = 2;
}
if ((_quality == "MEDIUM") && (qualityControl == 1)) {
_quality = "HIGH";
qualityControl = 2;
}
if ((_quality == "LOW") && (qualityControl == 1)) {
_quality = "MEDIUM";
qualityControl = 2;
}
}
};
keyListener.onKeyUp = function () {
if (!Key.isDown(81)) {
qualityControl = 1;
}
};
Key.addListener(keyListener);
Instance of Symbol 45 MovieClip in Frame 9 (233 B)
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
_global.killTotal = _global.killTotal + _global.killTemp;
_global.killTemp = 0;
_root.coffinOne.removeMovieClip();
_root.gotoAndStop("menu");
}
}
Instance of Symbol 164 MovieClip "invincibleCost" in Frame 9 (81 B)
onClipEvent (load) {
if (_global.invincibleActive) {
this.gotoAndStop(2);
}
}
Instance of Symbol 167 MovieClip "superCost" in Frame 9 (76 B)
onClipEvent (load) {
if (_global.superActive) {
this.gotoAndStop(2);
}
}
Instance of Symbol 170 MovieClip "attackCost" in Frame 9 (77 B)
onClipEvent (load) {
if (_global.attackActive) {
this.gotoAndStop(2);
}
}
Instance of Symbol 173 MovieClip "livesCost" in Frame 9 (76 B)
onClipEvent (load) {
if (_global.livesActive) {
this.gotoAndStop(2);
}
}
Instance of Symbol 176 MovieClip "technoCost" in Frame 9 (77 B)
onClipEvent (load) {
if (_global.technoActive) {
this.gotoAndStop(2);
}
}
Instance of Symbol 179 MovieClip "whackCost" in Frame 9 (76 B)
onClipEvent (load) {
if (_global.whackActive) {
this.gotoAndStop(2);
}
}
Instance of Symbol 179 MovieClip "ghostCost" in Frame 9 (76 B)
onClipEvent (load) {
if (_global.ghostActive) {
this.gotoAndStop(2);
}
}
Instance of Symbol 179 MovieClip "burialCost" in Frame 9 (77 B)
onClipEvent (load) {
if (_global.burialActive) {
this.gotoAndStop(2);
}
}
Instance of Symbol 179 MovieClip "grabCost" in Frame 9 (75 B)
onClipEvent (load) {
if (_global.grabActive) {
this.gotoAndStop(2);
}
}
Instance of Symbol 179 MovieClip "sceneCost" in Frame 9 (76 B)
onClipEvent (load) {
if (_global.sceneActive) {
this.gotoAndStop(2);
}
}
Instance of Symbol 179 MovieClip "huntCost" in Frame 9 (75 B)
onClipEvent (load) {
if (_global.huntActive) {
this.gotoAndStop(2);
}
}
Instance of Symbol 184 MovieClip in Frame 9 (80 B)
onClipEvent (enterFrame) {
_root.killBox.text = _global.killTotal.toString();
}
Frame 10 (645 B)
keyListener = new Object();
keyListener.onKeyDown = function () {
if (Key.isDown(16)) {
_root.gotoAndStop(_currentframe + 2);
}
if (Key.isDown(81)) {
if ((_quality == "HIGH") && (qualityControl == 1)) {
_quality = "LOW";
qualityControl = 2;
}
if ((_quality == "MEDIUM") && (qualityControl == 1)) {
_quality = "HIGH";
qualityControl = 2;
}
if ((_quality == "LOW") && (qualityControl == 1)) {
_quality = "MEDIUM";
qualityControl = 2;
}
}
};
keyListener.onKeyUp = function () {
if (!Key.isDown(81)) {
qualityControl = 1;
}
};
Key.addListener(keyListener);
Instance of Symbol 45 MovieClip in Frame 10 (233 B)
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
_global.killTotal = _global.killTotal + _global.killTemp;
_global.killTemp = 0;
_root.coffinOne.removeMovieClip();
_root.gotoAndStop("menu");
}
}
Instance of Symbol 194 MovieClip in Frame 10 (373 B)
onClipEvent (load) {
if (_global.invincibleActive) {
if (!_global.invincible) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(3);
}
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_global.invincibleActive) {
if (!_global.invincible) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(3);
}
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 194 MovieClip in Frame 10 (365 B)
onClipEvent (load) {
if (_global.superActive) {
if (!_global.superWeapon) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(3);
}
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_global.superActive) {
if (!_global.superWeapon) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(3);
}
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 194 MovieClip in Frame 10 (361 B)
onClipEvent (load) {
if (_global.attackActive) {
if (!_global.attackUp) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(3);
}
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_global.attackActive) {
if (!_global.attackUp) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(3);
}
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 194 MovieClip in Frame 10 (357 B)
onClipEvent (load) {
if (_global.livesActive) {
if (!_global.livesUp) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(3);
}
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_global.livesActive) {
if (!_global.livesUp) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(3);
}
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 194 MovieClip in Frame 10 (365 B)
onClipEvent (load) {
if (_global.technoActive) {
if (!_global.technoMode) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(3);
}
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_global.technoActive) {
if (!_global.technoMode) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(3);
}
} else {
this.gotoAndStop(1);
}
}
Frame 11 (622 B)
stop();
enemyKill = 0;
qualityControl = 1;
keyListener = new Object();
keyListener.onKeyDown = function () {
if (Key.isDown(81)) {
if ((_quality == "HIGH") && (qualityControl == 1)) {
_quality = "LOW";
qualityControl = 2;
}
if ((_quality == "MEDIUM") && (qualityControl == 1)) {
_quality = "HIGH";
qualityControl = 2;
}
if ((_quality == "LOW") && (qualityControl == 1)) {
_quality = "MEDIUM";
qualityControl = 2;
}
}
};
keyListener.onKeyUp = function () {
if (!Key.isDown(81)) {
qualityControl = 1;
}
};
Key.addListener(keyListener);
Instance of Symbol 45 MovieClip in Frame 11 (196 B)
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
_root.gotoAndStop("menu");
_global.killTotal = _global.killTotal + _global.killTemp;
_global.killTemp = 0;
}
}
Instance of Symbol 211 MovieClip "desText" in Frame 11 (44 B)
onClipEvent (load) {
this.gotoAndStop(8);
}
Frame 12 (761 B)
stop();
enemyKill = 0;
qualityControl = 1;
keyListener = new Object();
keyListener.onKeyDown = function () {
if (Key.isDown(81)) {
if ((_quality == "HIGH") && (qualityControl == 1)) {
_quality = "LOW";
qualityControl = 2;
}
if ((_quality == "MEDIUM") && (qualityControl == 1)) {
_quality = "HIGH";
qualityControl = 2;
}
if ((_quality == "LOW") && (qualityControl == 1)) {
_quality = "MEDIUM";
qualityControl = 2;
}
}
};
keyListener.onKeyUp = function () {
if (!Key.isDown(81)) {
qualityControl = 1;
}
};
Key.addListener(keyListener);
function clearFunction(max) {
q = 0;
while (q <= max) {
_root["pumpkin" + q].removeMovieClip();
_root.i = 1;
q++;
}
}
Instance of Symbol 45 MovieClip in Frame 12 (286 B)
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
max = _root.pumpkin.i;
_root.clearFunction(max);
_global.killTotal = _global.killTotal + _global.killTemp;
_global.killTemp = 0;
_root.coffinOne.removeMovieClip();
_root.gotoAndStop("menu");
}
}
Instance of Symbol 215 MovieClip in Frame 12 (259 B)
onClipEvent (load) {
this.gotoAndStop(1);
_x = _root._xmouse;
_y = _root._ymouse;
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
onClipEvent (mouseDown) {
this.gotoAndStop(2);
}
onClipEvent (mouseUp) {
this.gotoAndStop(1);
}
Instance of Symbol 225 MovieClip "pumpkin" in Frame 12 (1.01 KiB) ●
onClipEvent (load) {
if (_name == "pumpkin") {
i = 1;
finalCounter = 200;
timerCounter = 25;
timer = 25;
} else {
_x = (Math.random() * Stage.width);
_y = (Stage.height + 50);
ySpeed = Math.ceil(Math.random() * 20) + 15;
if (ySpeed < 18) {
ySpeed = 18;
}
fallSpeed = Math.ceil(Math.random() * 2);
}
}
onClipEvent (enterFrame) {
if (_name == "pumpkin") {
if (timerCounter <= 5) {
finalCounter--;
}
if (timer > 0) {
timer--;
} else {
if (finalCounter > 0) {
this.duplicateMovieClip("pumpkin" + i, _root.getNextHighestDepth());
i++;
} else {
max = _root.pumpkin.i;
_root.clearFunction(max);
_root.gotoAndStop("gameover");
}
if (timerCounter > 5) {
timerCounter = timerCounter - 0.25;
}
timer = Math.ceil(timerCounter);
}
} else {
if (_root.pumpkin.finalCounter <= 0) {
this.removeMovieClip();
}
if (_y > (Stage.height + 150)) {
this.removeMovieClip();
}
_y = (_y - ySpeed);
ySpeed = ySpeed - fallSpeed;
}
}
Instance of Symbol 184 MovieClip in Frame 12 (375 B)
onClipEvent (load) {
startTimer = 45000;
singleTime = getTimer();
timeLeft = startTimer - (getTimer() - singleTime);
}
onClipEvent (enterFrame) {
_root.killText.text = _root.enemyKill.toString();
_global.killTemp = _root.enemyKill;
_root.bestText.text = _global.pumpkinBest;
if (_root.enemyKill > _global.pumpkinBest) {
_global.pumpkinBest = _root.enemyKill;
}
}
Instance of Symbol 45 MovieClip in Frame 13 (233 B)
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
_global.killTotal = _global.killTotal + _global.killTemp;
_global.killTemp = 0;
_root.coffinOne.removeMovieClip();
_root.gotoAndStop("menu");
}
}
Instance of Symbol 232 MovieClip in Frame 13 (72 B)
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 184 MovieClip in Frame 13 (1.11 KiB) ●
onClipEvent (load) {
startTimer = 45000;
singleTime = getTimer();
timeLeft = startTimer - (getTimer() - singleTime);
}
onClipEvent (enterFrame) {
_root.killText.text = _root.enemyKill.toString();
_global.killTemp = _root.enemyKill;
if (timeLeft <= 0) {
_root.gotoAndStop("gameover");
}
timeLeft = startTimer - (getTimer() - singleTime);
elapsedMin = Math.floor(timeLeft / 60000);
remaining = timeLeft - (elapsedMin * 60000);
elapsedSec = Math.floor(remaining / 1000);
remaining = remaining - (elapsedSec * 1000);
elapsedHun = Math.floor(remaining / 10);
if (elapsedMin < 10) {
minutes = "0" + elapsedMin.toString();
} else {
minutes = elapsedMin.toString();
}
if (elapsedSec < 10) {
seconds = "0" + elapsedSec.toString();
} else {
seconds = elapsedSec.toString();
}
if (elapsedHun < 10) {
hundredths = "0" + elapsedHun.toString();
} else {
hundredths = elapsedHun.toString();
}
_root.stageTimer.text = (((minutes + ":") + seconds) + ":") + hundredths;
_root.bestText.text = _global.ghostBest;
if (_root.enemyKill > _global.ghostBest) {
_global.ghostBest = _root.enemyKill;
}
}
Instance of Symbol 234 MovieClip in Frame 13 (1.14 KiB) ●
onClipEvent (load) {
startScale = _xscale;
xSpeed = Math.ceil(Math.random() * 5);
_x = (Math.random() * Stage.width);
_y = ((Math.random() * Stage.height) + 50);
if (_y > 550) {
_y = 550;
}
directionControl = Math.ceil(Math.random() * 2);
if (directionControl == 1) {
moveRight = false;
_xscale = startScale;
} else {
_xscale = (-startScale);
moveRight = true;
}
}
onClipEvent (enterFrame) {
if (moveRight) {
_x = (_x + xSpeed);
} else {
_x = (_x - xSpeed);
}
if (_x > (Stage.width + 30)) {
moveRight = false;
_xscale = startScale;
_x = Stage.width;
}
if (_x < -30) {
moveRight = true;
_xscale = (-startScale);
_x = 0;
}
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
_root.enemyKill = _root.enemyKill + 2;
xSpeed = Math.ceil(Math.random() * 5);
_x = (Math.random() * Stage.width);
_y = ((Math.random() * Stage.height) + 50);
if (_y > 550) {
_y = 550;
}
directionControl = Math.ceil(Math.random() * 2);
if (directionControl == 1) {
moveRight = false;
_xscale = startScale;
} else {
_xscale = (-startScale);
moveRight = true;
}
}
}
Instance of Symbol 234 MovieClip in Frame 13 (1.14 KiB) ●
onClipEvent (load) {
startScale = _xscale;
xSpeed = Math.ceil(Math.random() * 5);
_x = (Math.random() * Stage.width);
_y = ((Math.random() * Stage.height) + 50);
if (_y > 550) {
_y = 550;
}
directionControl = Math.ceil(Math.random() * 2);
if (directionControl == 1) {
moveRight = false;
_xscale = startScale;
} else {
_xscale = (-startScale);
moveRight = true;
}
}
onClipEvent (enterFrame) {
if (moveRight) {
_x = (_x + xSpeed);
} else {
_x = (_x - xSpeed);
}
if (_x > (Stage.width + 30)) {
moveRight = false;
_xscale = startScale;
_x = Stage.width;
}
if (_x < -30) {
moveRight = true;
_xscale = (-startScale);
_x = 0;
}
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
_root.enemyKill = _root.enemyKill + 2;
xSpeed = Math.ceil(Math.random() * 5);
_x = (Math.random() * Stage.width);
_y = ((Math.random() * Stage.height) + 50);
if (_y > 550) {
_y = 550;
}
directionControl = Math.ceil(Math.random() * 2);
if (directionControl == 1) {
moveRight = false;
_xscale = startScale;
} else {
_xscale = (-startScale);
moveRight = true;
}
}
}
Instance of Symbol 234 MovieClip in Frame 13 (1.14 KiB) ●
onClipEvent (load) {
startScale = _xscale;
xSpeed = Math.ceil(Math.random() * 5);
_x = (Math.random() * Stage.width);
_y = ((Math.random() * Stage.height) + 50);
if (_y > 550) {
_y = 550;
}
directionControl = Math.ceil(Math.random() * 2);
if (directionControl == 1) {
moveRight = false;
_xscale = startScale;
} else {
_xscale = (-startScale);
moveRight = true;
}
}
onClipEvent (enterFrame) {
if (moveRight) {
_x = (_x + xSpeed);
} else {
_x = (_x - xSpeed);
}
if (_x > (Stage.width + 30)) {
moveRight = false;
_xscale = startScale;
_x = Stage.width;
}
if (_x < -30) {
moveRight = true;
_xscale = (-startScale);
_x = 0;
}
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
_root.enemyKill = _root.enemyKill + 2;
xSpeed = Math.ceil(Math.random() * 5);
_x = (Math.random() * Stage.width);
_y = ((Math.random() * Stage.height) + 50);
if (_y > 550) {
_y = 550;
}
directionControl = Math.ceil(Math.random() * 2);
if (directionControl == 1) {
moveRight = false;
_xscale = startScale;
} else {
_xscale = (-startScale);
moveRight = true;
}
}
}
Instance of Symbol 234 MovieClip in Frame 13 (1.14 KiB) ●
onClipEvent (load) {
startScale = _xscale;
xSpeed = Math.ceil(Math.random() * 5);
_x = (Math.random() * Stage.width);
_y = ((Math.random() * Stage.height) + 50);
if (_y > 550) {
_y = 550;
}
directionControl = Math.ceil(Math.random() * 2);
if (directionControl == 1) {
moveRight = false;
_xscale = startScale;
} else {
_xscale = (-startScale);
moveRight = true;
}
}
onClipEvent (enterFrame) {
if (moveRight) {
_x = (_x + xSpeed);
} else {
_x = (_x - xSpeed);
}
if (_x > (Stage.width + 30)) {
moveRight = false;
_xscale = startScale;
_x = Stage.width;
}
if (_x < -30) {
moveRight = true;
_xscale = (-startScale);
_x = 0;
}
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
_root.enemyKill = _root.enemyKill + 2;
xSpeed = Math.ceil(Math.random() * 5);
_x = (Math.random() * Stage.width);
_y = ((Math.random() * Stage.height) + 50);
if (_y > 550) {
_y = 550;
}
directionControl = Math.ceil(Math.random() * 2);
if (directionControl == 1) {
moveRight = false;
_xscale = startScale;
} else {
_xscale = (-startScale);
moveRight = true;
}
}
}
Instance of Symbol 236 MovieClip in Frame 13 (93 B)
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
updateAfterEvent();
}
Instance of Symbol 243 MovieClip in Frame 14 (782 B)
onClipEvent (load) {
_alpha = 0;
yPos = _y;
xPos = _x;
i = 0;
activated = false;
corpseNumber = 0;
full = false;
}
onClipEvent (enterFrame) {
if (_alpha != 100) {
_alpha = (_alpha + 10);
}
if (activated) {
_x = _root._xmouse;
_y = _root._ymouse;
}
if (!full) {
_x = (xPos + (Math.sin(i) * 100));
_y = (yPos + (Math.cos(i) * 100));
i = i - 0.1;
} else if (hitTest(_root.ground)) {
_root.enemyKill = _root.enemyKill + 10;
_alpha = 0;
corpseNumber = 0;
activated = false;
full = false;
i = 0;
_x = (xPos + (Math.sin(i) * 100));
_y = (yPos + (Math.cos(i) * 100));
}
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
if (full) {
activated = true;
}
}
}
onClipEvent (mouseUp) {
activated = false;
}
Instance of Symbol 245 MovieClip "corpse1" in Frame 14 (497 B)
onClipEvent (load) {
rising = true;
_x = (Math.random() * Stage.width);
activated = false;
}
onClipEvent (enterFrame) {
if (rising) {
if (_y > 575) {
_y = (_y - 5);
} else {
rising = false;
}
}
if (activated) {
_x = _root._xmouse;
_y = _root._ymouse;
} else if (_y < 562) {
_y = (_y + 15);
}
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
activated = true;
rising = false;
}
}
onClipEvent (mouseUp) {
activated = false;
}
Instance of Symbol 245 MovieClip "corpse2" in Frame 14 (497 B)
onClipEvent (load) {
rising = true;
_x = (Math.random() * Stage.width);
activated = false;
}
onClipEvent (enterFrame) {
if (rising) {
if (_y > 575) {
_y = (_y - 5);
} else {
rising = false;
}
}
if (activated) {
_x = _root._xmouse;
_y = _root._ymouse;
} else if (_y < 562) {
_y = (_y + 15);
}
}
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
activated = true;
rising = false;
}
}
onClipEvent (mouseUp) {
activated = false;
}
Instance of Symbol 184 MovieClip in Frame 14 (1.11 KiB) ●
onClipEvent (load) {
startTimer = 60000;
singleTime = getTimer();
timeLeft = startTimer - (getTimer() - singleTime);
}
onClipEvent (enterFrame) {
_root.killText.text = _root.enemyKill.toString();
_global.killTemp = _root.enemyKill;
if (timeLeft <= 0) {
_root.gotoAndStop("gameover");
}
timeLeft = startTimer - (getTimer() - singleTime);
elapsedMin = Math.floor(timeLeft / 60000);
remaining = timeLeft - (elapsedMin * 60000);
elapsedSec = Math.floor(remaining / 1000);
remaining = remaining - (elapsedSec * 1000);
elapsedHun = Math.floor(remaining / 10);
if (elapsedMin < 10) {
minutes = "0" + elapsedMin.toString();
} else {
minutes = elapsedMin.toString();
}
if (elapsedSec < 10) {
seconds = "0" + elapsedSec.toString();
} else {
seconds = elapsedSec.toString();
}
if (elapsedHun < 10) {
hundredths = "0" + elapsedHun.toString();
} else {
hundredths = elapsedHun.toString();
}
_root.stageTimer.text = (((minutes + ":") + seconds) + ":") + hundredths;
_root.bestText.text = _global.burialBest;
if (_root.enemyKill > _global.burialBest) {
_global.burialBest = _root.enemyKill;
}
}
Frame 15 (163 B)
function clearFunction(max) {
q = 0;
while (q <= max) {
_root["object" + q].removeMovieClip();
_root.i = 1;
q++;
}
}
i = 1;
lastClicked = "";
Instance of Symbol 250 MovieClip "hang" in Frame 15 (617 B)
onClipEvent (load) {
if (_name != "hang") {
_x = (Stage.width / 2);
_y = (Stage.height / 2);
_xscale = 75;
_yscale = 75;
activated = false;
}
}
onClipEvent (enterFrame) {
if (activated) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
onClipEvent (mouseDown) {
if (_name == "hang") {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
this.duplicateMovieClip("object" + _root.i, _root.getNextHighestDepth());
_root.i++;
}
} else if (hitTest(_root._xmouse, _root._ymouse, true)) {
activated = true;
_root.lastClicked = this._name;
}
}
onClipEvent (mouseUp) {
activated = false;
}
Instance of Symbol 253 MovieClip "tree" in Frame 15 (617 B)
onClipEvent (load) {
if (_name != "tree") {
_x = (Stage.width / 2);
_y = (Stage.height / 2);
_xscale = 75;
_yscale = 75;
activated = false;
}
}
onClipEvent (enterFrame) {
if (activated) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
onClipEvent (mouseDown) {
if (_name == "tree") {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
this.duplicateMovieClip("object" + _root.i, _root.getNextHighestDepth());
_root.i++;
}
} else if (hitTest(_root._xmouse, _root._ymouse, true)) {
activated = true;
_root.lastClicked = this._name;
}
}
onClipEvent (mouseUp) {
activated = false;
}
Instance of Symbol 13 MovieClip "moon" in Frame 15 (617 B)
onClipEvent (load) {
if (_name != "moon") {
_x = (Stage.width / 2);
_y = (Stage.height / 2);
_xscale = 75;
_yscale = 75;
activated = false;
}
}
onClipEvent (enterFrame) {
if (activated) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
onClipEvent (mouseDown) {
if (_name == "moon") {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
this.duplicateMovieClip("object" + _root.i, _root.getNextHighestDepth());
_root.i++;
}
} else if (hitTest(_root._xmouse, _root._ymouse, true)) {
activated = true;
_root.lastClicked = this._name;
}
}
onClipEvent (mouseUp) {
activated = false;
}
Instance of Symbol 254 MovieClip "pumpkin" in Frame 15 (623 B)
onClipEvent (load) {
if (_name != "pumpkin") {
_x = (Stage.width / 2);
_y = (Stage.height / 2);
_xscale = 75;
_yscale = 75;
activated = false;
}
}
onClipEvent (enterFrame) {
if (activated) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
onClipEvent (mouseDown) {
if (_name == "pumpkin") {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
this.duplicateMovieClip("object" + _root.i, _root.getNextHighestDepth());
_root.i++;
}
} else if (hitTest(_root._xmouse, _root._ymouse, true)) {
activated = true;
_root.lastClicked = this._name;
}
}
onClipEvent (mouseUp) {
activated = false;
}
Instance of Symbol 234 MovieClip "ghost" in Frame 15 (619 B)
onClipEvent (load) {
if (_name != "ghost") {
_x = (Stage.width / 2);
_y = (Stage.height / 2);
_xscale = 75;
_yscale = 75;
activated = false;
}
}
onClipEvent (enterFrame) {
if (activated) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
onClipEvent (mouseDown) {
if (_name == "ghost") {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
this.duplicateMovieClip("object" + _root.i, _root.getNextHighestDepth());
_root.i++;
}
} else if (hitTest(_root._xmouse, _root._ymouse, true)) {
activated = true;
_root.lastClicked = this._name;
}
}
onClipEvent (mouseUp) {
activated = false;
}
Instance of Symbol 256 MovieClip "zombie" in Frame 15 (621 B)
onClipEvent (load) {
if (_name != "zombie") {
_x = (Stage.width / 2);
_y = (Stage.height / 2);
_xscale = 75;
_yscale = 75;
activated = false;
}
}
onClipEvent (enterFrame) {
if (activated) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
onClipEvent (mouseDown) {
if (_name == "zombie") {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
this.duplicateMovieClip("object" + _root.i, _root.getNextHighestDepth());
_root.i++;
}
} else if (hitTest(_root._xmouse, _root._ymouse, true)) {
activated = true;
_root.lastClicked = this._name;
}
}
onClipEvent (mouseUp) {
activated = false;
}
Instance of Symbol 258 MovieClip "web" in Frame 15 (615 B)
onClipEvent (load) {
if (_name != "web") {
_x = (Stage.width / 2);
_y = (Stage.height / 2);
_xscale = 75;
_yscale = 75;
activated = false;
}
}
onClipEvent (enterFrame) {
if (activated) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
onClipEvent (mouseDown) {
if (_name == "web") {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
this.duplicateMovieClip("object" + _root.i, _root.getNextHighestDepth());
_root.i++;
}
} else if (hitTest(_root._xmouse, _root._ymouse, true)) {
activated = true;
_root.lastClicked = this._name;
}
}
onClipEvent (mouseUp) {
activated = false;
}
Instance of Symbol 260 MovieClip "witch" in Frame 15 (619 B)
onClipEvent (load) {
if (_name != "witch") {
_x = (Stage.width / 2);
_y = (Stage.height / 2);
_xscale = 75;
_yscale = 75;
activated = false;
}
}
onClipEvent (enterFrame) {
if (activated) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
onClipEvent (mouseDown) {
if (_name == "witch") {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
this.duplicateMovieClip("object" + _root.i, _root.getNextHighestDepth());
_root.i++;
}
} else if (hitTest(_root._xmouse, _root._ymouse, true)) {
activated = true;
_root.lastClicked = this._name;
}
}
onClipEvent (mouseUp) {
activated = false;
}
Instance of Symbol 261 MovieClip "coffin" in Frame 15 (621 B)
onClipEvent (load) {
if (_name != "coffin") {
_x = (Stage.width / 2);
_y = (Stage.height / 2);
_xscale = 75;
_yscale = 75;
activated = false;
}
}
onClipEvent (enterFrame) {
if (activated) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
onClipEvent (mouseDown) {
if (_name == "coffin") {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
this.duplicateMovieClip("object" + _root.i, _root.getNextHighestDepth());
_root.i++;
}
} else if (hitTest(_root._xmouse, _root._ymouse, true)) {
activated = true;
_root.lastClicked = this._name;
}
}
onClipEvent (mouseUp) {
activated = false;
}
Instance of Symbol 263 MovieClip "tomb" in Frame 15 (617 B)
onClipEvent (load) {
if (_name != "tomb") {
_x = (Stage.width / 2);
_y = (Stage.height / 2);
_xscale = 75;
_yscale = 75;
activated = false;
}
}
onClipEvent (enterFrame) {
if (activated) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
onClipEvent (mouseDown) {
if (_name == "tomb") {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
this.duplicateMovieClip("object" + _root.i, _root.getNextHighestDepth());
_root.i++;
}
} else if (hitTest(_root._xmouse, _root._ymouse, true)) {
activated = true;
_root.lastClicked = this._name;
}
}
onClipEvent (mouseUp) {
activated = false;
}
Instance of Symbol 265 MovieClip "candyThree" in Frame 15 (629 B)
onClipEvent (load) {
if (_name != "candyThree") {
_x = (Stage.width / 2);
_y = (Stage.height / 2);
_xscale = 75;
_yscale = 75;
activated = false;
}
}
onClipEvent (enterFrame) {
if (activated) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
onClipEvent (mouseDown) {
if (_name == "candyThree") {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
this.duplicateMovieClip("object" + _root.i, _root.getNextHighestDepth());
_root.i++;
}
} else if (hitTest(_root._xmouse, _root._ymouse, true)) {
activated = true;
_root.lastClicked = this._name;
}
}
onClipEvent (mouseUp) {
activated = false;
}
Instance of Symbol 267 MovieClip "candyOne" in Frame 15 (625 B)
onClipEvent (load) {
if (_name != "candyOne") {
_x = (Stage.width / 2);
_y = (Stage.height / 2);
_xscale = 75;
_yscale = 75;
activated = false;
}
}
onClipEvent (enterFrame) {
if (activated) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
onClipEvent (mouseDown) {
if (_name == "candyOne") {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
this.duplicateMovieClip("object" + _root.i, _root.getNextHighestDepth());
_root.i++;
}
} else if (hitTest(_root._xmouse, _root._ymouse, true)) {
activated = true;
_root.lastClicked = this._name;
}
}
onClipEvent (mouseUp) {
activated = false;
}
Instance of Symbol 269 MovieClip "candyTwo" in Frame 15 (625 B)
onClipEvent (load) {
if (_name != "candyTwo") {
_x = (Stage.width / 2);
_y = (Stage.height / 2);
_xscale = 75;
_yscale = 75;
activated = false;
}
}
onClipEvent (enterFrame) {
if (activated) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
onClipEvent (mouseDown) {
if (_name == "candyTwo") {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
this.duplicateMovieClip("object" + _root.i, _root.getNextHighestDepth());
_root.i++;
}
} else if (hitTest(_root._xmouse, _root._ymouse, true)) {
activated = true;
_root.lastClicked = this._name;
}
}
onClipEvent (mouseUp) {
activated = false;
}
Instance of Symbol 271 MovieClip "death" in Frame 15 (619 B)
onClipEvent (load) {
if (_name != "death") {
_x = (Stage.width / 2);
_y = (Stage.height / 2);
_xscale = 75;
_yscale = 75;
activated = false;
}
}
onClipEvent (enterFrame) {
if (activated) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
onClipEvent (mouseDown) {
if (_name == "death") {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
this.duplicateMovieClip("object" + _root.i, _root.getNextHighestDepth());
_root.i++;
}
} else if (hitTest(_root._xmouse, _root._ymouse, true)) {
activated = true;
_root.lastClicked = this._name;
}
}
onClipEvent (mouseUp) {
activated = false;
}
Instance of Symbol 274 MovieClip "spider" in Frame 15 (621 B)
onClipEvent (load) {
if (_name != "spider") {
_x = (Stage.width / 2);
_y = (Stage.height / 2);
_xscale = 75;
_yscale = 75;
activated = false;
}
}
onClipEvent (enterFrame) {
if (activated) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
onClipEvent (mouseDown) {
if (_name == "spider") {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
this.duplicateMovieClip("object" + _root.i, _root.getNextHighestDepth());
_root.i++;
}
} else if (hitTest(_root._xmouse, _root._ymouse, true)) {
activated = true;
_root.lastClicked = this._name;
}
}
onClipEvent (mouseUp) {
activated = false;
}
Instance of Symbol 276 MovieClip "cat" in Frame 15 (615 B)
onClipEvent (load) {
if (_name != "cat") {
_x = (Stage.width / 2);
_y = (Stage.height / 2);
_xscale = 75;
_yscale = 75;
activated = false;
}
}
onClipEvent (enterFrame) {
if (activated) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
onClipEvent (mouseDown) {
if (_name == "cat") {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
this.duplicateMovieClip("object" + _root.i, _root.getNextHighestDepth());
_root.i++;
}
} else if (hitTest(_root._xmouse, _root._ymouse, true)) {
activated = true;
_root.lastClicked = this._name;
}
}
onClipEvent (mouseUp) {
activated = false;
}
Instance of Symbol 278 MovieClip "fence" in Frame 15 (619 B)
onClipEvent (load) {
if (_name != "fence") {
_x = (Stage.width / 2);
_y = (Stage.height / 2);
_xscale = 75;
_yscale = 75;
activated = false;
}
}
onClipEvent (enterFrame) {
if (activated) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
onClipEvent (mouseDown) {
if (_name == "fence") {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
this.duplicateMovieClip("object" + _root.i, _root.getNextHighestDepth());
_root.i++;
}
} else if (hitTest(_root._xmouse, _root._ymouse, true)) {
activated = true;
_root.lastClicked = this._name;
}
}
onClipEvent (mouseUp) {
activated = false;
}
Instance of Symbol 285 MovieClip "frank" in Frame 15 (619 B)
onClipEvent (load) {
if (_name != "frank") {
_x = (Stage.width / 2);
_y = (Stage.height / 2);
_xscale = 75;
_yscale = 75;
activated = false;
}
}
onClipEvent (enterFrame) {
if (activated) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
onClipEvent (mouseDown) {
if (_name == "frank") {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
this.duplicateMovieClip("object" + _root.i, _root.getNextHighestDepth());
_root.i++;
}
} else if (hitTest(_root._xmouse, _root._ymouse, true)) {
activated = true;
_root.lastClicked = this._name;
}
}
onClipEvent (mouseUp) {
activated = false;
}
Instance of Symbol 287 MovieClip "grass" in Frame 15 (619 B)
onClipEvent (load) {
if (_name != "grass") {
_x = (Stage.width / 2);
_y = (Stage.height / 2);
_xscale = 75;
_yscale = 75;
activated = false;
}
}
onClipEvent (enterFrame) {
if (activated) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
onClipEvent (mouseDown) {
if (_name == "grass") {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
this.duplicateMovieClip("object" + _root.i, _root.getNextHighestDepth());
_root.i++;
}
} else if (hitTest(_root._xmouse, _root._ymouse, true)) {
activated = true;
_root.lastClicked = this._name;
}
}
onClipEvent (mouseUp) {
activated = false;
}
Instance of Symbol 289 MovieClip "grave" in Frame 15 (619 B)
onClipEvent (load) {
if (_name != "grave") {
_x = (Stage.width / 2);
_y = (Stage.height / 2);
_xscale = 75;
_yscale = 75;
activated = false;
}
}
onClipEvent (enterFrame) {
if (activated) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
onClipEvent (mouseDown) {
if (_name == "grave") {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
this.duplicateMovieClip("object" + _root.i, _root.getNextHighestDepth());
_root.i++;
}
} else if (hitTest(_root._xmouse, _root._ymouse, true)) {
activated = true;
_root.lastClicked = this._name;
}
}
onClipEvent (mouseUp) {
activated = false;
}
Instance of Symbol 300 MovieClip "wolf" in Frame 15 (639 B)
onClipEvent (load) {
this.gotoAndStop(1);
if (_name != "wolf") {
_x = (Stage.width / 2);
_y = (Stage.height / 2);
_xscale = 75;
_yscale = 75;
activated = false;
}
}
onClipEvent (enterFrame) {
if (activated) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
onClipEvent (mouseDown) {
if (_name == "wolf") {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
this.duplicateMovieClip("object" + _root.i, _root.getNextHighestDepth());
_root.i++;
}
} else if (hitTest(_root._xmouse, _root._ymouse, true)) {
activated = true;
_root.lastClicked = this._name;
}
}
onClipEvent (mouseUp) {
activated = false;
}
Instance of Symbol 302 MovieClip "skull" in Frame 15 (619 B)
onClipEvent (load) {
if (_name != "skull") {
_x = (Stage.width / 2);
_y = (Stage.height / 2);
_xscale = 75;
_yscale = 75;
activated = false;
}
}
onClipEvent (enterFrame) {
if (activated) {
_x = _root._xmouse;
_y = _root._ymouse;
}
}
onClipEvent (mouseDown) {
if (_name == "skull") {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
this.duplicateMovieClip("object" + _root.i, _root.getNextHighestDepth());
_root.i++;
}
} else if (hitTest(_root._xmouse, _root._ymouse, true)) {
activated = true;
_root.lastClicked = this._name;
}
}
onClipEvent (mouseUp) {
activated = false;
}
Instance of Symbol 45 MovieClip in Frame 15 (278 B)
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
max = _root.i;
_root.clearFunction(max);
_global.killTotal = _global.killTotal + _global.killTemp;
_global.killTemp = 0;
_root.coffinOne.removeMovieClip();
_root.gotoAndStop("menu");
}
}
Instance of Symbol 304 MovieClip in Frame 15 (127 B)
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
max = _root.i;
_root.clearFunction(max);
}
}
Instance of Symbol 304 MovieClip in Frame 15 (427 B)
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
editShape = _root.lastClicked;
if (_root[editShape.toString()]._xscale > 0) {
_root[editShape.toString()]._xscale = _root[editShape.toString()]._xscale - 5;
} else {
_root[editShape.toString()]._xscale = _root[editShape.toString()]._xscale + 5;
}
_root[editShape.toString()]._yscale = _root[editShape.toString()]._yscale - 5;
}
}
Instance of Symbol 304 MovieClip in Frame 15 (427 B)
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
editShape = _root.lastClicked;
if (_root[editShape.toString()]._xscale > 0) {
_root[editShape.toString()]._xscale = _root[editShape.toString()]._xscale + 5;
} else {
_root[editShape.toString()]._xscale = _root[editShape.toString()]._xscale - 5;
}
_root[editShape.toString()]._yscale = _root[editShape.toString()]._yscale + 5;
}
}
Instance of Symbol 304 MovieClip in Frame 15 (193 B)
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
editShape = _root.lastClicked;
_root[editShape.toString()]._xscale = -_root[editShape.toString()]._xscale;
}
}
Instance of Symbol 304 MovieClip in Frame 15 (201 B)
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
pj = new PrintJob();
pj.start();
pj.addPage(0, {xMin:0, xMax:474, yMin:60, yMax:540});
pj.send();
delete pj;
}
}
Frame 16 (272 B)
roundNum = 1;
ammo = 3;
mouseListener = new Object();
mouseListener.onMouseDown = function () {
if (_root.ammo > 0) {
_root.ammo--;
_root.shot.nextFrame();
}
if (_root.ammo == 0) {
_root.shot.gotoAndStop(4);
}
};
Mouse.addListener(mouseListener);
Instance of Symbol 45 MovieClip in Frame 16 (233 B)
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
_global.killTotal = _global.killTotal + _global.killTemp;
_global.killTemp = 0;
_root.coffinOne.removeMovieClip();
_root.gotoAndStop("menu");
}
}
Instance of Symbol 316 MovieClip in Frame 16 (1.36 KiB) ●
onClipEvent (load) {
_x = (Math.random() * Stage.width);
startY = _y;
startScale = _xscale;
opScale = -_xscale;
xSpeed = 11;
ySpeed = 11;
timer = 125;
secondTimer = 75;
}
onClipEvent (enterFrame) {
if (timer > 0) {
_root.fly._visible = false;
timer--;
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (xSpeed > 0) {
_xscale = opScale;
} else {
_xscale = startScale;
}
if (_x < -50) {
_x = 0;
xSpeed = -xSpeed;
}
if (_x > (Stage.width + 50)) {
_x = Stage.width;
xSpeed = -xSpeed;
}
if (_y < -50) {
_y = 0;
ySpeed = -ySpeed;
}
if (_y > (Stage.height + 125)) {
_y = Stage.height;
ySpeed = -ySpeed;
}
} else {
secondTimer--;
if (this._currentframe == 1) {
_root.fly._visible = true;
}
_y = (_y - 20);
if (_y < -150) {
_root.fly._visible = false;
}
if (secondTimer <= 0) {
if (_root.roundNum < 5) {
_root.roundNum++;
this.gotoAndStop(1);
_y = startY;
_x = (Math.random() * Stage.width);
timer = 125;
_root.ammo = 3;
_root.shot.gotoAndStop(1);
secondTimer = 75;
} else {
_root.gotoAndStop("gameover");
}
}
}
}
onClipEvent (mouseDown) {
if (timer > 0) {
if (_root.ammo > 0) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
this.gotoAndStop("death");
_root.enemyKill = _root.enemyKill + 5;
}
}
}
}
Instance of Symbol 318 MovieClip "fly" in Frame 16 (42 B)
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 316 MovieClip in Frame 16 (1.26 KiB) ●
onClipEvent (load) {
_x = (Math.random() * Stage.width);
startY = _y;
startScale = _xscale;
opScale = -_xscale;
xSpeed = -9;
ySpeed = -9;
timer = 125;
secondTimer = 75;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (xSpeed > 0) {
_xscale = opScale;
} else {
_xscale = startScale;
}
if (_x < -50) {
_x = 0;
xSpeed = -xSpeed;
}
if (_x > (Stage.width + 50)) {
_x = Stage.width;
xSpeed = -xSpeed;
}
if (_y < -50) {
_y = 0;
ySpeed = -ySpeed;
}
if (_y > (Stage.height + 125)) {
_y = Stage.height;
ySpeed = -ySpeed;
}
} else {
secondTimer--;
if (this._currentframe == 1) {
_root.fly._visible = true;
}
_y = (_y - 20);
if (_y < -150) {
_root.fly._visible = false;
}
if (secondTimer <= 0) {
if (_root.roundNum < 5) {
this.gotoAndStop(1);
_y = startY;
_x = (Math.random() * Stage.width);
timer = 125;
_root.ammo = 3;
_root.shot.gotoAndStop(1);
secondTimer = 75;
}
}
}
}
onClipEvent (mouseDown) {
if (timer > 0) {
if (_root.ammo > 0) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
this.gotoAndStop("death");
_root.enemyKill = _root.enemyKill + 5;
}
}
}
}
Instance of Symbol 323 MovieClip "shot" in Frame 16 (44 B)
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 184 MovieClip in Frame 16 (167 B)
onClipEvent (enterFrame) {
_root.killText.text = _root.enemyKill.toString();
_root.roundText.text = _root.roundNum.toString();
_global.killTemp = _root.enemyKill;
}
Frame 17 (135 B)
function clearFunction(max) {
q = 0;
while (q <= max) {
_root["candy" + q].removeMovieClip();
_root.i = 1;
q++;
}
}
Instance of Symbol 45 MovieClip in Frame 17 (273 B)
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
max = 20;
_root.clearFunction(max);
_global.killTotal = _global.killTotal + _global.killTemp;
_global.killTemp = 0;
_root.coffinOne.removeMovieClip();
_root.gotoAndStop("menu");
}
}
Instance of Symbol 184 MovieClip in Frame 17 (1.23 KiB) ●
onClipEvent (load) {
startTimer = 75000 /* 0x0124F8 */;
singleTime = getTimer();
timeLeft = startTimer - (getTimer() - singleTime);
}
onClipEvent (enterFrame) {
_root.candyBag.bagCount.text = _root.candyBag.candyCount.toString();
_root.killText.text = _root.enemyKill.toString();
_global.killTemp = _root.enemyKill;
if (timeLeft <= 0) {
max = 20;
_root.clearFunction(max);
_root.gotoAndStop("gameover");
}
timeLeft = startTimer - (getTimer() - singleTime);
elapsedMin = Math.floor(timeLeft / 60000);
remaining = timeLeft - (elapsedMin * 60000);
elapsedSec = Math.floor(remaining / 1000);
remaining = remaining - (elapsedSec * 1000);
elapsedHun = Math.floor(remaining / 10);
if (elapsedMin < 10) {
minutes = "0" + elapsedMin.toString();
} else {
minutes = elapsedMin.toString();
}
if (elapsedSec < 10) {
seconds = "0" + elapsedSec.toString();
} else {
seconds = elapsedSec.toString();
}
if (elapsedHun < 10) {
hundredths = "0" + elapsedHun.toString();
} else {
hundredths = elapsedHun.toString();
}
_root.stageTimer.text = (((minutes + ":") + seconds) + ":") + hundredths;
_root.bestText.text = _global.witchBest;
if (_root.enemyKill > _global.witchBest) {
_global.witchBest = _root.enemyKill;
}
}
Instance of Symbol 330 MovieClip "candy" in Frame 17 (696 B)
onClipEvent (load) {
if (_name == "candy") {
i = 1;
while (i <= 10) {
this.duplicateMovieClip("candy" + i, _root.getNextHighestDepth());
i++;
}
} else {
ySpeed = Math.ceil(Math.random() * 10) + 2;
rotationSpeed = Math.ceil(Math.random() * 30) - 15;
_x = (Math.random() * Stage.width);
_y = ((-(Math.random() * 250)) - 50);
}
}
onClipEvent (enterFrame) {
if (_name != "candy") {
_y = (_y + ySpeed);
_rotation = (_rotation + rotationSpeed);
if (_y > (Stage.height + 75)) {
_y = (-(Math.random() * 200));
_x = (Math.random() * Stage.width);
ySpeed = Math.ceil(Math.random() * 10) + 2;
rotationSpeed = Math.ceil(Math.random() * 30) - 15;
}
}
}
Instance of Symbol 333 MovieClip "candyBag" in Frame 17 (133 B)
onClipEvent (load) {
candyCount = 0;
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
updateAfterEvent();
}
Instance of Symbol 336 MovieClip in Frame 17 (1.5 KiB) ●
onClipEvent (load) {
timer = 0;
startX = _x;
hitOnce = false;
witchHappy = false;
_y = ((Math.random() * (Stage.height / 1.5)) + 75);
xSpeed = (Math.random() * 3) + 2;
witchCounter = Math.ceil(Math.random() * 10);
this.witchCandy.text = witchCounter.toString();
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
}
if (timer == 1) {
this.gotoAndStop(1);
_x = startX;
hitOnce = false;
_root.enemyKill++;
witchHappy = false;
_y = ((Math.random() * (Stage.height / 1.5)) + 75);
xSpeed = (Math.random() * 3) + 2;
witchCounter = Math.ceil(Math.random() * 10);
this.witchCandy.text = witchCounter.toString();
}
_x = (_x - xSpeed);
if (hitTest(_root.bCirc) && (!hitOnce)) {
if (witchCounter == _root.candyBag.candyCount) {
witchHappy = true;
} else {
timer = 12;
this.gotoAndStop("death");
}
hitOnce = true;
_root.candyBag.candyCount = 0;
}
if (witchHappy) {
_y = (_y - 10);
}
if (_y < -150) {
_x = startX;
hitOnce = false;
_root.enemyKill = _root.enemyKill + witchCounter;
witchHappy = false;
_y = ((Math.random() * (Stage.height / 1.5)) + 75);
xSpeed = (Math.random() * 3) + 2;
witchCounter = Math.ceil(Math.random() * 10);
this.witchCandy.text = witchCounter.toString();
}
if (_x < -150) {
_x = startX;
hitOnce = false;
witchHappy = false;
_y = ((Math.random() * (Stage.height / 1.5)) + 75);
xSpeed = (Math.random() * 3) + 2;
witchCounter = Math.ceil(Math.random() * 10);
this.witchCandy.text = witchCounter.toString();
}
}
Instance of Symbol 336 MovieClip in Frame 17 (1.5 KiB) ●
onClipEvent (load) {
timer = 0;
startX = _x;
hitOnce = false;
witchHappy = false;
_y = ((Math.random() * (Stage.height / 1.5)) + 75);
xSpeed = (Math.random() * 3) + 2;
witchCounter = Math.ceil(Math.random() * 10);
this.witchCandy.text = witchCounter.toString();
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
}
if (timer == 1) {
this.gotoAndStop(1);
_x = startX;
hitOnce = false;
_root.enemyKill++;
witchHappy = false;
_y = ((Math.random() * (Stage.height / 1.5)) + 75);
xSpeed = (Math.random() * 3) + 2;
witchCounter = Math.ceil(Math.random() * 10);
this.witchCandy.text = witchCounter.toString();
}
_x = (_x - xSpeed);
if (hitTest(_root.bCirc) && (!hitOnce)) {
if (witchCounter == _root.candyBag.candyCount) {
witchHappy = true;
} else {
timer = 12;
this.gotoAndStop("death");
}
hitOnce = true;
_root.candyBag.candyCount = 0;
}
if (witchHappy) {
_y = (_y - 10);
}
if (_y < -150) {
_x = startX;
hitOnce = false;
_root.enemyKill = _root.enemyKill + witchCounter;
witchHappy = false;
_y = ((Math.random() * (Stage.height / 1.5)) + 75);
xSpeed = (Math.random() * 3) + 2;
witchCounter = Math.ceil(Math.random() * 10);
this.witchCandy.text = witchCounter.toString();
}
if (_x < -150) {
_x = startX;
hitOnce = false;
witchHappy = false;
_y = ((Math.random() * (Stage.height / 1.5)) + 75);
xSpeed = (Math.random() * 3) + 2;
witchCounter = Math.ceil(Math.random() * 10);
this.witchCandy.text = witchCounter.toString();
}
}
Instance of Symbol 336 MovieClip in Frame 17 (1.5 KiB) ●
onClipEvent (load) {
timer = 0;
startX = _x;
hitOnce = false;
witchHappy = false;
_y = ((Math.random() * (Stage.height / 1.5)) + 75);
xSpeed = (Math.random() * 3) + 2;
witchCounter = Math.ceil(Math.random() * 10);
this.witchCandy.text = witchCounter.toString();
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
}
if (timer == 1) {
this.gotoAndStop(1);
_x = startX;
hitOnce = false;
_root.enemyKill++;
witchHappy = false;
_y = ((Math.random() * (Stage.height / 1.5)) + 75);
xSpeed = (Math.random() * 3) + 2;
witchCounter = Math.ceil(Math.random() * 10);
this.witchCandy.text = witchCounter.toString();
}
_x = (_x - xSpeed);
if (hitTest(_root.bCirc) && (!hitOnce)) {
if (witchCounter == _root.candyBag.candyCount) {
witchHappy = true;
} else {
timer = 12;
this.gotoAndStop("death");
}
hitOnce = true;
_root.candyBag.candyCount = 0;
}
if (witchHappy) {
_y = (_y - 10);
}
if (_y < -150) {
_x = startX;
hitOnce = false;
_root.enemyKill = _root.enemyKill + witchCounter;
witchHappy = false;
_y = ((Math.random() * (Stage.height / 1.5)) + 75);
xSpeed = (Math.random() * 3) + 2;
witchCounter = Math.ceil(Math.random() * 10);
this.witchCandy.text = witchCounter.toString();
}
if (_x < -150) {
_x = startX;
hitOnce = false;
witchHappy = false;
_y = ((Math.random() * (Stage.height / 1.5)) + 75);
xSpeed = (Math.random() * 3) + 2;
witchCounter = Math.ceil(Math.random() * 10);
this.witchCandy.text = witchCounter.toString();
}
}
Instance of Symbol 337 MovieClip "bCirc" in Frame 17 (93 B)
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
updateAfterEvent();
}
Frame 18 (727 B)
_global.killTotal = _global.killTotal + _global.killTemp;
_global.killTemp = 0;
keyListener = new Object();
keyListener.onKeyDown = function () {
if (Key.isDown(16)) {
_root.gotoAndStop(_currentframe + 2);
}
if (Key.isDown(81)) {
if ((_quality == "HIGH") && (qualityControl == 1)) {
_quality = "LOW";
qualityControl = 2;
}
if ((_quality == "MEDIUM") && (qualityControl == 1)) {
_quality = "HIGH";
qualityControl = 2;
}
if ((_quality == "LOW") && (qualityControl == 1)) {
_quality = "MEDIUM";
qualityControl = 2;
}
}
};
keyListener.onKeyUp = function () {
if (!Key.isDown(81)) {
qualityControl = 1;
}
};
Key.addListener(keyListener);
Instance of Symbol 45 MovieClip in Frame 18 (233 B)
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
_global.killTotal = _global.killTotal + _global.killTemp;
_global.killTemp = 0;
_root.coffinOne.removeMovieClip();
_root.gotoAndStop("menu");
}
}
Frame 19 (1.88 KiB) ●
function charHitFunction() {
if (!_global.invincible) {
if (_root.character._currentframe == 1) {
if (_root.lifeBar._currentframe <= 9) {
_root.character.gotoAndStop(2);
_root.lifeBar.gotoAndStop(_root.lifeBar._currentframe + 1);
} else {
_root.charDeathFunction();
}
}
}
}
function charDeathFunction() {
if (!_global.superWeapon) {
if (_root.redLaser) {
_root.redPowerLevel = 1;
}
if (_root.blueLaser) {
_root.bluePowerLevel = 1;
}
if (_root.greenLaser) {
_root.greenPowerLevel = 1;
}
}
_root.character.death = true;
_root.character.gotoAndStop("death");
if (_root.lives > 0) {
_root.lives--;
_root.lifeBar.gotoAndStop(1);
} else {
_root.clearGameFunction();
_root.abort = true;
_root.gotoAndStop("gameover");
}
}
function clearGameFunction() {
s = 0;
while (s <= 300) {
_root.abort = true;
_root["powerBox" + s].removeMovieClip();
_root["magic" + s].removeMovieClip();
_root["candy" + s].removeMovieClip();
s++;
}
}
qualityControl = 1;
_global.mainGame = true;
abort = false;
i = 1;
batCount = 1;
_root.enemyKill = 0;
keyListener = new Object();
keyListener.onKeyDown = function () {
if (Key.isDown(16)) {
_root.gotoAndStop(_currentframe + 2);
}
if (Key.isDown(81)) {
if ((_quality == "HIGH") && (qualityControl == 1)) {
_quality = "LOW";
qualityControl = 2;
}
if ((_quality == "MEDIUM") && (qualityControl == 1)) {
_quality = "HIGH";
qualityControl = 2;
}
if ((_quality == "LOW") && (qualityControl == 1)) {
_quality = "MEDIUM";
qualityControl = 2;
}
}
};
keyListener.onKeyUp = function () {
if (!Key.isDown(81)) {
qualityControl = 1;
}
};
Key.addListener(keyListener);
redLaser = false;
blueLaser = false;
greenLaser = false;
redPowerLevel = 0;
bluePowerLevel = 0;
greenPowerLevel = 0;
Instance of Symbol 184 MovieClip in Frame 19 (254 B)
onClipEvent (enterFrame) {
if (_global.livesUp) {
_root.lives = 10;
} else {
_root.lives = 3;
}
if (_root.i > 200) {
_root.i = 1;
}
_root.killText.text = _root.enemyKill.toString();
_root.lifeBar.livesText.text = _root.lives.toString();
}
Instance of Symbol 45 MovieClip in Frame 19 (233 B)
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
_root.coffinOne.removeMovieClip();
_global.killTotal = _global.killTotal + _global.killTemp;
_global.killTemp = 0;
_root.gotoAndStop("menu");
}
}
Frame 53 (8 B)
stop();
Frame 54 (8 B)
stop();
Instance of Symbol 346 MovieClip in Frame 54 (387 B)
onClipEvent (enterFrame) {
if (_global.technoMode) {
dotColor = new Color(this);
red = Math.ceil(Math.random() * 255);
green = Math.ceil(Math.random() * 255);
blue = Math.ceil(Math.random() * 255);
percentage = Math.ceil(Math.random() * 50);
dotTransform = {ra:percentage, rb:red, ga:percentage, gb:green, ba:percentage, bb:blue};
dotColor.setTransform(dotTransform);
}
}
Instance of Symbol 349 MovieClip "character" in Frame 54 (2.01 KiB) ●
onClipEvent (load) {
startX = _x;
startY = _y;
death = false;
frozen = false;
frozenTimer = 20;
if (_name == "character") {
this.duplicateMovieClip("coffinOne", _root.getNextHighestDepth() + 2);
}
_x = _root.character._x;
_y = _root.character._y;
ySpeed = 0;
xSpeed = 0;
}
onClipEvent (enterFrame) {
if (_global.technoMode) {
dotColor = new Color(this);
red = Math.ceil(Math.random() * 255);
green = Math.ceil(Math.random() * 255);
blue = Math.ceil(Math.random() * 255);
percentage = Math.ceil(Math.random() * 50);
dotTransform = {ra:percentage, rb:red, ga:percentage, gb:green, ba:percentage, bb:blue};
dotColor.setTransform(dotTransform);
}
if (!death) {
if (frozen) {
xSpeed = 0;
ySpeed = 0;
if (frozenTimer > 0) {
frozenTimer--;
} else {
frozen = false;
frozenTimer = 20;
}
}
_y = (_y + ySpeed);
_x = (_x + xSpeed);
this.removeMovieClip();
if ((!Key.isDown(38)) && (!Key.isDown(40))) {
if (ySpeed > 0) {
ySpeed = ySpeed - 2;
}
if (ySpeed < 0) {
ySpeed = ySpeed + 2;
}
}
if ((!Key.isDown(37)) && (!Key.isDown(39))) {
if (xSpeed > 0) {
xSpeed = xSpeed - 2;
}
if (xSpeed < 0) {
xSpeed = xSpeed + 2;
}
}
if (!frozen) {
if (_y > 0) {
if (Key.isDown(38)) {
if (ySpeed > -12) {
ySpeed = ySpeed - 4;
}
}
} else {
_y = 0;
}
if (_y < Stage.height) {
if (Key.isDown(40)) {
if (ySpeed < 12) {
ySpeed = ySpeed + 4;
}
}
} else {
_y = Stage.height;
}
if (_x > 0) {
if (Key.isDown(37)) {
if (xSpeed > -12) {
xSpeed = xSpeed - 4;
}
}
} else {
_x = 0;
}
if (_x < Stage.width) {
if (Key.isDown(39)) {
if (xSpeed < 12) {
xSpeed = xSpeed + 4;
}
}
} else {
_x = Stage.width;
}
}
}
}
onClipEvent (unload) {
if (_global.mainGame) {
if (!_root.character.death) {
this.duplicateMovieClip("coffinOne", _root.getNextHighestDepth() + 2);
}
}
}
Instance of Symbol 265 MovieClip "candyTwoThree" in Frame 54 (1.09 KiB) ●
onClipEvent (load) {
if (_name == "candyTwoThree") {
timer = 4;
} else {
if (_root.bluePowerLevel == 3) {
powerLevel = 20;
_xscale = 50;
_yscale = 50;
} else {
powerLevel = 2;
}
_x = (_root.character._x - 15);
_y = _root.character._y;
rotationSpeed = Math.ceil(Math.random() * 30) - 15;
ySpeed = 17;
xSpeed = 0;
moveDirection = true;
}
}
onClipEvent (enterFrame) {
if (_name == "candyTwoThree") {
if ((_root.blueLaser && (_root.bluePowerLevel > 2)) && (!_root.character.death)) {
if (Key.isDown(32)) {
timer--;
if (timer <= 0) {
this.duplicateMovieClip("candy" + _root.i, _parent.getNextHighestDepth());
_root.i++;
timer = 3;
}
}
}
} else {
if (xSpeed < 10) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = 10;
moveDirection = false;
}
if (xSpeed > -10) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = -8;
moveDirection = true;
}
_y = (_y - ySpeed);
_x = (_x + xSpeed);
if (_y < -50) {
this.removeMovieClip();
}
}
}
Instance of Symbol 267 MovieClip "candyThreeTwo" in Frame 54 (734 B)
onClipEvent (load) {
if (_name == "candyThreeTwo") {
timer = 6;
} else {
if (_root.greenPowerLevel == 3) {
_rotation = 45;
xSpeed = 10;
}
powerLevel = 3;
_x = _root.character._x;
_y = _root.character._y;
ySpeed = 10;
}
}
onClipEvent (enterFrame) {
if (_name == "candyThreeTwo") {
if ((_root.greenLaser && (_root.greenPowerLevel > 2)) && (!_root.character.death)) {
if (Key.isDown(32)) {
timer--;
if (timer <= 0) {
this.duplicateMovieClip("candy" + _root.i, _parent.getNextHighestDepth());
_root.i++;
timer = 6;
}
}
}
} else {
_y = (_y - ySpeed);
_x = (_x + xSpeed);
if ((_y < -50) or (_x > 525)) {
this.removeMovieClip();
}
}
}
Instance of Symbol 269 MovieClip "candyOne" in Frame 54 (751 B)
onClipEvent (load) {
if (_name == "candyOne") {
timer = 2;
} else {
if (_root.redPowerLevel == 1) {
_x = _root.character._x;
} else {
_x = (_root.character._x - 10);
}
_y = _root.character._y;
ySpeed = 17;
if (_root.redPowerLevel == 3) {
powerLevel = 5;
_xscale = 50;
_yscale = 50;
} else {
powerLevel = 3;
}
}
}
onClipEvent (enterFrame) {
if (_name == "candyOne") {
if (_root.redLaser && (!_root.character.death)) {
if (Key.isDown(32)) {
timer--;
if (timer <= 0) {
this.duplicateMovieClip("candy" + _root.i, _parent.getNextHighestDepth());
_root.i++;
timer = 3;
}
}
}
} else {
_y = (_y - ySpeed);
if (_y < -75) {
this.removeMovieClip();
}
}
}
Instance of Symbol 269 MovieClip "candyOneTwo" in Frame 54 (720 B)
onClipEvent (load) {
if (_name == "candyOneTwo") {
timer = 2;
} else {
_x = (_root.character._x + 10);
_y = _root.character._y;
ySpeed = 17;
if (_root.redPowerLevel == 3) {
powerLevel = 5;
_xscale = 50;
_yscale = 50;
} else {
powerLevel = 3;
}
}
}
onClipEvent (enterFrame) {
if (_name == "candyOneTwo") {
if ((_root.redLaser && (_root.redPowerLevel > 1)) && (!_root.character.death)) {
if (Key.isDown(32)) {
timer--;
if (timer <= 0) {
this.duplicateMovieClip("candy" + _root.i, _parent.getNextHighestDepth());
_root.i++;
timer = 3;
}
}
}
} else {
_y = (_y - ySpeed);
if (_y < -75) {
this.removeMovieClip();
}
}
}
Instance of Symbol 265 MovieClip "candyTwoTwo" in Frame 54 (1.08 KiB) ●
onClipEvent (load) {
if (_name == "candyTwoTwo") {
timer = 4;
} else {
if (_root.bluePowerLevel == 3) {
powerLevel = 3;
_xscale = 50;
_yscale = 50;
} else {
powerLevel = 2;
}
_x = (_root.character._x + 15);
_y = _root.character._y;
rotationSpeed = Math.ceil(Math.random() * 30) - 15;
ySpeed = 17;
xSpeed = 0;
moveDirection = false;
}
}
onClipEvent (enterFrame) {
if (_name == "candyTwoTwo") {
if ((_root.blueLaser && (_root.bluePowerLevel > 1)) && (!_root.character.death)) {
if (Key.isDown(32)) {
timer--;
if (timer <= 0) {
this.duplicateMovieClip("candy" + _root.i, _parent.getNextHighestDepth());
_root.i++;
timer = 4;
}
}
}
} else {
if (xSpeed < 10) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = 10;
moveDirection = false;
}
if (xSpeed > -10) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = -8;
moveDirection = true;
}
_y = (_y - ySpeed);
_x = (_x + xSpeed);
if (_y < -50) {
this.removeMovieClip();
}
}
}
Instance of Symbol 265 MovieClip "candyTwo" in Frame 54 (561 B)
onClipEvent (load) {
if (_name == "candyTwo") {
timer = 3;
} else {
_x = _root.character._x;
powerLevel = 2;
_y = _root.character._y;
ySpeed = 17;
}
}
onClipEvent (enterFrame) {
if (_name == "candyTwo") {
if (_root.blueLaser && (!_root.character.death)) {
if (Key.isDown(32)) {
timer--;
if (timer <= 0) {
this.duplicateMovieClip("candy" + _root.i, _parent.getNextHighestDepth());
_root.i++;
timer = 3;
}
}
}
} else {
_y = (_y - ySpeed);
if (_y < -50) {
this.removeMovieClip();
}
}
}
Instance of Symbol 267 MovieClip "candyThreeThree" in Frame 54 (739 B)
onClipEvent (load) {
if (_name == "candyThreeThree") {
timer = 5;
} else {
if (_root.greenPowerLevel == 3) {
_rotation = -45;
xSpeed = 10;
}
powerLevel = 3;
_x = _root.character._x;
_y = _root.character._y;
ySpeed = 10;
}
}
onClipEvent (enterFrame) {
if (_name == "candyThreeThree") {
if ((_root.greenLaser && (_root.greenPowerLevel > 2)) && (!_root.character.death)) {
if (Key.isDown(32)) {
timer--;
if (timer <= 0) {
this.duplicateMovieClip("candy" + _root.i, _parent.getNextHighestDepth());
_root.i++;
timer = 5;
}
}
}
} else {
_y = (_y - ySpeed);
_x = (_x - xSpeed);
if ((_y < -50) or (_x < -50)) {
this.removeMovieClip();
}
}
}
Instance of Symbol 267 MovieClip "candyThree" in Frame 54 (589 B)
onClipEvent (load) {
if (_name == "candyThree") {
timer = 2;
} else {
powerLevel = 1;
_x = _root.character._x;
_y = _root.character._y;
ySpeed = 15;
}
}
onClipEvent (enterFrame) {
if (_name == "candyThree") {
if (_root.greenLaser && (!_root.character.death)) {
if (Key.isDown(32)) {
timer--;
if (timer <= 0) {
this.duplicateMovieClip("candy" + _root.i, _parent.getNextHighestDepth());
_root.i++;
timer = 2;
}
}
}
} else {
_y = (_y - ySpeed);
_x = (_x + xSpeed);
if (_y < -50) {
this.removeMovieClip();
}
}
}
Instance of Symbol 267 MovieClip "candyThreeFour" in Frame 54 (720 B)
onClipEvent (load) {
if (_name == "candyThreeFour") {
timer = 4;
} else {
if (_root.greenPowerLevel > 1) {
_rotation = 22.5;
xSpeed = 5;
}
powerLevel = 2;
_x = _root.character._x;
_y = _root.character._y;
ySpeed = 13;
}
}
onClipEvent (enterFrame) {
if (_name == "candyThreeFour") {
if ((_root.greenLaser && (_root.greenPowerLevel > 1)) && (!_root.character.death)) {
if (Key.isDown(32)) {
timer--;
if (timer <= 0) {
this.duplicateMovieClip("candy" + _root.i, _parent.getNextHighestDepth());
_root.i++;
timer = 4;
}
}
}
} else {
_y = (_y - ySpeed);
_x = (_x + xSpeed);
if (_y < -50) {
this.removeMovieClip();
}
}
}
Instance of Symbol 267 MovieClip "candyThreeFive" in Frame 54 (721 B)
onClipEvent (load) {
if (_name == "candyThreeFive") {
timer = 4;
} else {
if (_root.greenPowerLevel > 1) {
_rotation = -22.5;
xSpeed = 5;
}
powerLevel = 2;
_x = _root.character._x;
_y = _root.character._y;
ySpeed = 13;
}
}
onClipEvent (enterFrame) {
if (_name == "candyThreeFive") {
if ((_root.greenLaser && (_root.greenPowerLevel > 1)) && (!_root.character.death)) {
if (Key.isDown(32)) {
timer--;
if (timer <= 0) {
this.duplicateMovieClip("candy" + _root.i, _parent.getNextHighestDepth());
_root.i++;
timer = 4;
}
}
}
} else {
_y = (_y - ySpeed);
_x = (_x - xSpeed);
if (_y < -50) {
this.removeMovieClip();
}
}
}
Instance of Symbol 371 MovieClip "cloud" in Frame 54 (1.26 KiB) ●
onClipEvent (load) {
if (_name == "cloud") {
i = 1;
timer = 1600;
} else {
cloudControl = 70;
_height = ((Math.random() * 25) + 35);
_width = ((Math.random() * 175) + 150);
_y = (Math.ceil((Math.random() * Stage.height) / 3) + 50);
xSpeed = (Math.random() * 2) + 2;
}
}
onClipEvent (enterFrame) {
if (_name == "cloud") {
if (timer > 0) {
timer--;
} else {
this.duplicateMovieClip("cloud" + i, _root.getNextHighestDepth());
i++;
timer = Math.ceil(Math.random() * 300) + 700;
}
} else {
if (_global.technoMode) {
dotColor = new Color(this);
red = Math.ceil(Math.random() * 255);
green = Math.ceil(Math.random() * 255);
blue = Math.ceil(Math.random() * 255);
percentage = Math.ceil(Math.random() * 50);
dotTransform = {ra:percentage, rb:red, ga:percentage, gb:green, ba:percentage, bb:blue};
dotColor.setTransform(dotTransform);
}
if (hitTest(_root.moon.moonHit)) {
if (cloudControl > 0) {
_root.conCirc.alphaControl = _root.conCirc.alphaControl + 5;
cloudControl = cloudControl - 5;
}
} else if (cloudControl < 70) {
_root.conCirc.alphaControl = _root.conCirc.alphaControl - 5;
cloudControl = cloudControl + 5;
}
_x = (_x - xSpeed);
if (_x < -400) {
this.removeMovieClip();
}
}
}
Instance of Symbol 368 MovieClip "powerBox" in Frame 54 (1.38 KiB) ●
onClipEvent (load) {
if (_name == "powerBox") {
timer = 750;
i = 1;
this.gotoAndStop(1);
} else {
_y = -100;
_x = (Math.random() * Stage.width);
powerUp = Math.ceil(Math.random() * 3);
this.gotoAndStop(powerUp);
}
}
onClipEvent (enterFrame) {
if (_name == "powerBox") {
if (timer > 0) {
timer--;
} else if (!_global.superWeapon) {
this.duplicateMovieClip("powerBox" + i, _root.getNextHighestDepth());
i++;
timer = 750;
}
} else {
_y = (_y + 5);
if (hitTest(_root.character.characterHit)) {
switch (powerUp) {
case 1 :
_root.redLaser = true;
_root.blueLaser = false;
_root.greenLaser = false;
_root.bluePowerLevel = 0;
_root.greenPowerLevel = 0;
if (_root.redPowerLevel < 3) {
_root.redPowerLevel++;
}
this.removeMovieClip();
break;
case 2 :
_root.greenLaser = true;
_root.blueLaser = false;
_root.redLaser = false;
_root.bluePowerLevel = 0;
_root.redPowerLevel = 0;
if (_root.greenPowerLevel < 3) {
_root.greenPowerLevel++;
}
this.removeMovieClip();
break;
case 3 :
_root.blueLaser = true;
_root.redLaser = false;
_root.greenLaser = false;
_root.redPowerLevel = 0;
_root.greenPowerLevel = 0;
if (_root.bluePowerLevel < 3) {
_root.bluePowerLevel++;
}
this.removeMovieClip();
}
}
}
}
Instance of Symbol 300 MovieClip in Frame 54 (652 B)
onClipEvent (load) {
startX = _x;
timer = 825;
this.gotoAndStop(1);
}
onClipEvent (enterFrame) {
if (_global.technoMode) {
dotColor = new Color(this);
red = Math.ceil(Math.random() * 255);
green = Math.ceil(Math.random() * 255);
blue = Math.ceil(Math.random() * 255);
percentage = Math.ceil(Math.random() * 50);
dotTransform = {ra:percentage, rb:red, ga:percentage, gb:green, ba:percentage, bb:blue};
dotColor.setTransform(dotTransform);
}
if (timer == 65) {
_root.wolfHowl.start();
}
if (timer > 0) {
timer--;
} else {
this.play();
if (_x < -200) {
_x = startX;
timer = 825;
this.gotoAndStop(1);
}
}
}
Instance of Symbol 274 MovieClip "enemy2" in Frame 54 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy1" in Frame 54 (195 B)
onClipEvent (load) {
ySpeed = 4;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > 250) && (levelMove)) {
_root.nextFrame();
levelMove = false;
}
}
Instance of Symbol 258 MovieClip "web" in Frame 54 (1.09 KiB) ●
onClipEvent (load) {
if (_name == "web") {
i = 1;
timer = 175;
} else {
_y = -100;
_x = (Math.random() * Stage.width);
_xscale = (Math.ceil(Math.random() * 40) + 60);
_yscale = _xscale;
ySpeed = 8;
rotationSpeed = Math.ceil(Math.random() * 30) - 15;
}
}
onClipEvent (enterFrame) {
if (_name == "web") {
if (timer > 0) {
timer--;
} else {
this.duplicateMovieClip("web" + i, _root.getNextHighestDepth());
i++;
timer = 175;
}
} else {
if (_global.technoMode) {
dotColor = new Color(this);
red = Math.ceil(Math.random() * 255);
green = Math.ceil(Math.random() * 255);
blue = Math.ceil(Math.random() * 255);
percentage = Math.ceil(Math.random() * 50);
dotTransform = {ra:percentage, rb:red, ga:percentage, gb:green, ba:percentage, bb:blue};
dotColor.setTransform(dotTransform);
}
if (hitTest(_root.character.characterHit)) {
_root.character.frozen = true;
this.removeMovieClip();
}
_y = (_y + ySpeed);
_rotation = (_rotation + rotationSpeed);
updateAfterEvent();
if (_y > (Stage.height + 100)) {
this.removeMovieClip();
}
}
}
Instance of Symbol 184 MovieClip "conCirc" in Frame 54 (368 B)
onClipEvent (load) {
alphaControl = 0;
switch (_global.weaponChoice) {
case 1 :
_root.redLaser = true;
_root.redPowerLevel++;
break;
case 2 :
_root.greenLaser = true;
_root.greenPowerLevel++;
break;
case 3 :
_root.blueLaser = true;
_root.bluePowerLevel++;
}
}
onClipEvent (enterFrame) {
_root.cloudCoverage._alpha = alphaControl;
}
Instance of Symbol 337 MovieClip "ball" in Frame 54 (242 B)
onClipEvent (enterFrame) {
if (_name != "ball") {
_y = (_y + 10);
}
if (hitTest(_root.character.characterHit)) {
_root.charHitFunction();
this.removeMovieClip();
}
if (_y >= (Stage.height + 50)) {
this.removeMovieClip();
}
}
Instance of Symbol 360 MovieClip "lifeBar" in Frame 54 (387 B)
onClipEvent (enterFrame) {
if (_global.technoMode) {
dotColor = new Color(this);
red = Math.ceil(Math.random() * 255);
green = Math.ceil(Math.random() * 255);
blue = Math.ceil(Math.random() * 255);
percentage = Math.ceil(Math.random() * 50);
dotTransform = {ra:percentage, rb:red, ga:percentage, gb:green, ba:percentage, bb:blue};
dotColor.setTransform(dotTransform);
}
}
Instance of Symbol 184 MovieClip in Frame 54 (536 B)
onClipEvent (enterFrame) {
_root.bestText.text = _global.gameBest;
if (_root.enemyKill > _global.gameBest) {
_global.gameBest = _root.enemyKill;
}
if (_global.superWeapon) {
_root.redLaser = true;
_root.blueLaser = true;
_root.greenLaser = true;
_root.redPowerLevel = 3;
_root.bluePowerLevel = 3;
_root.greenPowerLevel = 3;
}
if (_root.i > 250) {
_root.i = 1;
}
_root.killText.text = _root.enemyKill.toString();
_root.lifeBar.livesText.text = _root.lives.toString();
_global.killTemp = _root.enemyKill;
}
Instance of Symbol 45 MovieClip in Frame 54 (262 B)
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
_root.clearGameFunction();
_global.killTotal = _global.killTotal + _global.killTemp;
_global.killTemp = 0;
_root.coffinOne.removeMovieClip();
_root.gotoAndStop("menu");
}
}
Frame 55 (8 B)
stop();
Instance of Symbol 274 MovieClip "enemy5" in Frame 55 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy6" in Frame 55 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy3" in Frame 55 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy4" in Frame 55 (195 B)
onClipEvent (load) {
ySpeed = 4;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > 300) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
}
Frame 56 (8 B)
stop();
Instance of Symbol 274 MovieClip "enemy2" in Frame 56 (195 B)
onClipEvent (load) {
ySpeed = 4;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > 300) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
}
Instance of Symbol 274 MovieClip "enemy1" in Frame 56 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy7" in Frame 56 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy3" in Frame 57 (195 B)
onClipEvent (load) {
ySpeed = 4;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > 325) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
}
Instance of Symbol 274 MovieClip "enemy6" in Frame 57 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy5" in Frame 57 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy4" in Frame 57 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy2" in Frame 58 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy7" in Frame 58 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy1" in Frame 58 (195 B)
onClipEvent (load) {
ySpeed = 4;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > 300) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
}
Instance of Symbol 274 MovieClip "enemy8" in Frame 58 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy10" in Frame 58 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy9" in Frame 58 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy3" in Frame 59 (233 B)
onClipEvent (load) {
ySpeed = 4;
_x = (Math.random() * Stage.width);
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > 300) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
}
Instance of Symbol 274 MovieClip "enemy5" in Frame 59 (124 B)
onClipEvent (load) {
ySpeed = 4;
_x = (Math.random() * Stage.width);
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy6" in Frame 59 (124 B)
onClipEvent (load) {
ySpeed = 4;
_x = (Math.random() * Stage.width);
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy4" in Frame 59 (124 B)
onClipEvent (load) {
ySpeed = 4;
_x = (Math.random() * Stage.width);
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy7" in Frame 60 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy8" in Frame 60 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy2" in Frame 60 (195 B)
onClipEvent (load) {
ySpeed = 4;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > 300) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
}
Instance of Symbol 274 MovieClip "enemy9" in Frame 60 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy1" in Frame 60 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy3" in Frame 61 (124 B)
onClipEvent (load) {
ySpeed = 4;
_x = (Math.random() * Stage.width);
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy4" in Frame 61 (233 B)
onClipEvent (load) {
ySpeed = 4;
_x = (Math.random() * Stage.width);
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > 300) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
}
Instance of Symbol 274 MovieClip "enemy10" in Frame 61 (124 B)
onClipEvent (load) {
ySpeed = 4;
_x = (Math.random() * Stage.width);
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy6" in Frame 61 (124 B)
onClipEvent (load) {
ySpeed = 4;
_x = (Math.random() * Stage.width);
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy5" in Frame 61 (124 B)
onClipEvent (load) {
ySpeed = 4;
_x = (Math.random() * Stage.width);
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy1" in Frame 62 (195 B)
onClipEvent (load) {
ySpeed = 4;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > 300) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
}
Instance of Symbol 274 MovieClip "enemy2" in Frame 62 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy7" in Frame 62 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy8" in Frame 62 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy9" in Frame 62 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy6" in Frame 63 (195 B)
onClipEvent (load) {
ySpeed = 4;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > 300) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
}
Instance of Symbol 274 MovieClip "enemy5" in Frame 63 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy10" in Frame 63 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy3" in Frame 63 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy4" in Frame 63 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy9" in Frame 64 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy2" in Frame 64 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy8" in Frame 64 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy1" in Frame 64 (195 B)
onClipEvent (load) {
ySpeed = 4;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > 300) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
}
Instance of Symbol 274 MovieClip "enemy7" in Frame 64 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy11" in Frame 64 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy5" in Frame 65 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy10" in Frame 65 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy4" in Frame 65 (195 B)
onClipEvent (load) {
ySpeed = 4;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > 325) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
}
Instance of Symbol 274 MovieClip "enemy6" in Frame 65 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy3" in Frame 65 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy12" in Frame 65 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy1" in Frame 66 (195 B)
onClipEvent (load) {
ySpeed = 4;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > 300) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
}
Instance of Symbol 274 MovieClip "enemy2" in Frame 66 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy8" in Frame 66 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy7" in Frame 66 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy3" in Frame 67 (195 B)
onClipEvent (load) {
ySpeed = 4;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > 375) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
}
Instance of Symbol 274 MovieClip "enemy5" in Frame 67 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy6" in Frame 67 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy4" in Frame 67 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 260 MovieClip "witch" in Frame 68 (1.07 KiB) ●
onClipEvent (load) {
_root.enemyBar.enemyName.gotoAndStop(1);
_root.enemyBar._visible = true;
onRight = true;
firing = false;
l = 1;
moveSpeed = 9;
}
onClipEvent (enterFrame) {
if (_global.technoMode) {
dotColor = new Color(this);
red = Math.ceil(Math.random() * 255);
green = Math.ceil(Math.random() * 255);
blue = Math.ceil(Math.random() * 255);
percentage = Math.ceil(Math.random() * 50);
dotTransform = {ra:percentage, rb:red, ga:percentage, gb:green, ba:percentage, bb:blue};
dotColor.setTransform(dotTransform);
}
if (onRight) {
_x = (_x - moveSpeed);
} else {
_x = (_x + moveSpeed);
}
if (_x < -150) {
_x = -140;
_y = ((Math.random() * (Stage.height / 3)) + 50);
onRight = false;
_xscale = (-_xscale);
}
if (_x > 625) {
_x = 615;
_y = ((Math.random() * (Stage.height / 3)) + 50);
onRight = true;
_xscale = (-_xscale);
}
if ((_x < 300) && (_x > 200)) {
if (!firing) {
firing = true;
_root.magic.duplicateMovieClip("magic" + l, _root.getNextHighestDepth());
l++;
} else {
firing = false;
}
}
}
Instance of Symbol 379 MovieClip "magic" in Frame 68 (564 B)
onClipEvent (load) {
if (_name != "magic") {
_x = _root.witch._x;
_y = _root.witch._y;
xSpeed = Math.ceil(Math.random() * 10) - 5;
ySpeed = Math.ceil(Math.random() * 5) + 5;
rotationSpeed = Math.ceil(Math.random() * 30) - 15;
}
}
onClipEvent (enterFrame) {
if (_name != "magic") {
if (hitTest(_root.character.characterHit)) {
_root.charHitFunction();
this.removeMovieClip();
}
_x = (_x + xSpeed);
_y = (_y + ySpeed);
_rotation = (_rotation + rotationSpeed);
if (_y > (Stage.height + 75)) {
this.removeMovieClip();
}
}
}
Instance of Symbol 386 MovieClip "enemyBar" in Frame 68 (169 B)
onClipEvent (load) {
this.enemyName.text = _root.bossName.toString();
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 387 MovieClip "enemy1" in Frame 68 (74 B)
onClipEvent (enterFrame) {
_x = _root.witch._x;
_y = _root.witch._y;
}
Instance of Symbol 316 MovieClip "enemy1" in Frame 69 (573 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 12;
moveDirection = false;
levelMove = true;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if ((_y > 300) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 316 MovieClip "enemy2" in Frame 70 (572 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 16;
moveDirection = true;
levelMove = true;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if ((_y > 300) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 316 MovieClip "enemy3" in Frame 70 (464 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 10;
moveDirection = false;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 316 MovieClip "enemy4" in Frame 70 (483 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 10;
moveDirection = false;
levelMove = true;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 316 MovieClip "enemy5" in Frame 70 (463 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 10;
moveDirection = true;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 316 MovieClip "enemy7" in Frame 71 (572 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 14;
moveDirection = true;
levelMove = true;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if ((_y > 300) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 274 MovieClip "enemy1" in Frame 71 (86 B)
onClipEvent (load) {
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy6" in Frame 71 (86 B)
onClipEvent (load) {
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 316 MovieClip "enemy8" in Frame 71 (464 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 14;
moveDirection = false;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 316 MovieClip "enemy2" in Frame 72 (572 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 16;
moveDirection = true;
levelMove = true;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if ((_y > 300) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 316 MovieClip "enemy3" in Frame 72 (464 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 16;
moveDirection = false;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 316 MovieClip "enemy4" in Frame 72 (463 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 16;
moveDirection = true;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 316 MovieClip "enemy8" in Frame 73 (573 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 16;
moveDirection = false;
levelMove = true;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if ((_y > 300) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 316 MovieClip "enemy7" in Frame 73 (464 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 16;
moveDirection = false;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 316 MovieClip "enemy6" in Frame 73 (464 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 16;
moveDirection = false;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 274 MovieClip "enemy1" in Frame 73 (86 B)
onClipEvent (load) {
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy5" in Frame 73 (86 B)
onClipEvent (load) {
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 316 MovieClip "enemy3" in Frame 74 (573 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 16;
moveDirection = false;
levelMove = true;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if ((_y > 300) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 316 MovieClip "enemy2" in Frame 74 (464 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 16;
moveDirection = false;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 316 MovieClip "enemy4" in Frame 74 (463 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 16;
moveDirection = true;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 316 MovieClip "enemy5" in Frame 74 (463 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 16;
moveDirection = true;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 274 MovieClip "enemy9" in Frame 74 (86 B)
onClipEvent (load) {
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 316 MovieClip "enemy1" in Frame 75 (573 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 16;
moveDirection = false;
levelMove = true;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if ((_y > 300) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 316 MovieClip "enemy6" in Frame 75 (464 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 18;
moveDirection = false;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 316 MovieClip "enemy7" in Frame 75 (464 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 10;
moveDirection = false;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 316 MovieClip "enemy8" in Frame 75 (464 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 14;
moveDirection = false;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 316 MovieClip "enemy4" in Frame 76 (572 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 10;
moveDirection = true;
levelMove = true;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if ((_y > 300) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 316 MovieClip "enemy3" in Frame 76 (464 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 14;
moveDirection = false;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 316 MovieClip "enemy6" in Frame 76 (483 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 10;
moveDirection = false;
levelMove = true;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 316 MovieClip "enemy5" in Frame 76 (463 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 14;
moveDirection = true;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 274 MovieClip "enemy10" in Frame 77 (86 B)
onClipEvent (load) {
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy7" in Frame 77 (86 B)
onClipEvent (load) {
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy1" in Frame 77 (86 B)
onClipEvent (load) {
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 316 MovieClip "enemy8" in Frame 77 (572 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 14;
moveDirection = true;
levelMove = true;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if ((_y > 300) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 316 MovieClip "enemy9" in Frame 77 (464 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 14;
moveDirection = false;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 316 MovieClip "enemy3" in Frame 78 (573 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 12;
moveDirection = false;
levelMove = true;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if ((_y > 300) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 316 MovieClip "enemy2" in Frame 78 (464 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 10;
moveDirection = false;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 316 MovieClip "enemy4" in Frame 78 (463 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 14;
moveDirection = true;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 316 MovieClip "enemy5" in Frame 78 (463 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 16;
moveDirection = true;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 274 MovieClip "enemy6" in Frame 78 (86 B)
onClipEvent (load) {
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy11" in Frame 78 (86 B)
onClipEvent (load) {
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy7" in Frame 79 (86 B)
onClipEvent (load) {
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy1" in Frame 79 (195 B)
onClipEvent (load) {
ySpeed = 5;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > 325) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
}
Instance of Symbol 274 MovieClip "enemy8" in Frame 79 (86 B)
onClipEvent (load) {
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy9" in Frame 79 (86 B)
onClipEvent (load) {
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 316 MovieClip "enemy10" in Frame 79 (464 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 14;
moveDirection = false;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 250 MovieClip "hangman" in Frame 80 (1.15 KiB) ●
onClipEvent (load) {
_root.enemyBar.enemyName.gotoAndStop(2);
_root.enemyBar._visible = true;
startY = _y;
charX = _root.character._x;
charY = _root.character._y;
_x = charX;
ySpeed = 14;
xSpeed = 14;
drop = true;
moveRight = true;
}
onClipEvent (enterFrame) {
if (_global.technoMode) {
dotColor = new Color(this);
red = Math.ceil(Math.random() * 255);
green = Math.ceil(Math.random() * 255);
blue = Math.ceil(Math.random() * 255);
percentage = Math.ceil(Math.random() * 50);
dotTransform = {ra:percentage, rb:red, ga:percentage, gb:green, ba:percentage, bb:blue};
dotColor.setTransform(dotTransform);
}
charX = _root.character._x;
charY = _root.character._y;
if (drop) {
if (_y < charY) {
_y = (_y + ySpeed);
} else {
_y = charY;
drop = false;
if (_x < charX) {
moveRight = true;
} else {
moveRight = false;
}
}
} else {
if (moveRight) {
_x = (_x + xSpeed);
} else {
_x = (_x - xSpeed);
}
if (_x < -250) {
_xscale = (-_xscale);
_y = startY;
_x = charX;
drop = true;
}
if (_x > 700) {
_xscale = (-_xscale);
_y = startY;
_x = charX;
drop = true;
}
}
}
Instance of Symbol 386 MovieClip "enemyBar" in Frame 80 (169 B)
onClipEvent (load) {
this.enemyName.text = _root.bossName.toString();
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 388 MovieClip "enemy2" in Frame 80 (85 B)
onClipEvent (enterFrame) {
_x = _root.hangman._x;
_y = (_root.hangman._y - 60);
}
Instance of Symbol 254 MovieClip "enemy1" in Frame 81 (321 B)
onClipEvent (load) {
yPosMax = 300;
yPosMin = 150;
xSpeed = 5;
ySpeed = 5;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > 325) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 254 MovieClip "enemy2" in Frame 81 (212 B)
onClipEvent (load) {
yPosMax = 300;
yPosMin = 150;
xSpeed = 5;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 254 MovieClip "enemy3" in Frame 81 (212 B)
onClipEvent (load) {
yPosMax = 300;
yPosMin = 150;
xSpeed = 5;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 254 MovieClip "enemy6" in Frame 82 (253 B)
onClipEvent (load) {
yPosMax = 225;
yPosMin = 175;
xSpeed = 0;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
ySpeed = 0.75;
_x = (_x + xSpeed);
} else {
ySpeed = 5;
}
}
Instance of Symbol 254 MovieClip "enemy5" in Frame 82 (253 B)
onClipEvent (load) {
yPosMax = 200;
yPosMin = 150;
xSpeed = 0;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
ySpeed = 0.75;
_x = (_x + xSpeed);
} else {
ySpeed = 5;
}
}
Instance of Symbol 254 MovieClip "enemy7" in Frame 82 (362 B)
onClipEvent (load) {
yPosMax = 250;
yPosMin = 200;
xSpeed = 0;
ySpeed = 5;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > 325) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
if ((_y > yPosMin) && (_y < yPosMax)) {
ySpeed = 0.75;
_x = (_x + xSpeed);
} else {
ySpeed = 5;
}
}
Instance of Symbol 254 MovieClip "enemy4" in Frame 82 (253 B)
onClipEvent (load) {
yPosMax = 175;
yPosMin = 125;
xSpeed = 0;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
ySpeed = 0.75;
_x = (_x + xSpeed);
} else {
ySpeed = 5;
}
}
Instance of Symbol 254 MovieClip "enemy3" in Frame 83 (361 B)
onClipEvent (load) {
yPosMax = 200;
yPosMin = 140;
xSpeed = 0;
ySpeed = 5;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > 300) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
if ((_y > yPosMin) && (_y < yPosMax)) {
ySpeed = 2.5;
_x = (_x + xSpeed);
} else {
ySpeed = 5;
}
}
Instance of Symbol 254 MovieClip "enemy8" in Frame 83 (212 B)
onClipEvent (load) {
yPosMax = 190;
yPosMin = 140;
xSpeed = 0;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 254 MovieClip "enemy2" in Frame 83 (212 B)
onClipEvent (load) {
yPosMax = 190;
yPosMin = 140;
xSpeed = 0;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 254 MovieClip "enemy9" in Frame 83 (212 B)
onClipEvent (load) {
yPosMax = 250;
yPosMin = 200;
xSpeed = 6;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 254 MovieClip "enemy1" in Frame 83 (213 B)
onClipEvent (load) {
yPosMax = 250;
yPosMin = 200;
xSpeed = -6;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 254 MovieClip "enemy6" in Frame 84 (208 B)
onClipEvent (load) {
yPosMax = 0;
yPosMin = 0;
xSpeed = 0;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 254 MovieClip "enemy7" in Frame 84 (317 B)
onClipEvent (load) {
yPosMax = 0;
yPosMin = 0;
xSpeed = 0;
ySpeed = 5;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > 300) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 254 MovieClip "enemy5" in Frame 84 (252 B)
onClipEvent (load) {
yPosMax = 300;
yPosMin = 250;
xSpeed = 0;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
ySpeed = 2.5;
_x = (_x + xSpeed);
} else {
ySpeed = 5;
}
}
Instance of Symbol 254 MovieClip "enemy10" in Frame 84 (252 B)
onClipEvent (load) {
yPosMax = 300;
yPosMin = 250;
xSpeed = 0;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
ySpeed = 2.5;
_x = (_x + xSpeed);
} else {
ySpeed = 5;
}
}
Instance of Symbol 254 MovieClip "enemy11" in Frame 84 (253 B)
onClipEvent (load) {
yPosMax = 265;
yPosMin = 250;
xSpeed = 0;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
ySpeed = 0.75;
_x = (_x + xSpeed);
} else {
ySpeed = 5;
}
}
Instance of Symbol 254 MovieClip "enemy4" in Frame 84 (253 B)
onClipEvent (load) {
yPosMax = 265;
yPosMin = 250;
xSpeed = 0;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
ySpeed = 0.75;
_x = (_x + xSpeed);
} else {
ySpeed = 5;
}
}
Instance of Symbol 254 MovieClip "enemy8" in Frame 85 (212 B)
onClipEvent (load) {
yPosMax = 300;
yPosMin = 150;
xSpeed = 5;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 254 MovieClip "enemy9" in Frame 85 (212 B)
onClipEvent (load) {
yPosMax = 300;
yPosMin = 150;
xSpeed = 5;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 254 MovieClip "enemy12" in Frame 85 (212 B)
onClipEvent (load) {
yPosMax = 300;
yPosMin = 150;
xSpeed = 5;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 254 MovieClip "enemy1" in Frame 85 (322 B)
onClipEvent (load) {
yPosMax = 300;
yPosMin = 150;
xSpeed = -5;
ySpeed = 5;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > 325) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 254 MovieClip "enemy2" in Frame 85 (213 B)
onClipEvent (load) {
yPosMax = 300;
yPosMin = 150;
xSpeed = -5;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 254 MovieClip "enemy3" in Frame 85 (213 B)
onClipEvent (load) {
yPosMax = 300;
yPosMin = 150;
xSpeed = -5;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 254 MovieClip "enemy6" in Frame 86 (361 B)
onClipEvent (load) {
yPosMax = 200;
yPosMin = 140;
xSpeed = 0;
ySpeed = 5;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > 300) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
if ((_y > yPosMin) && (_y < yPosMax)) {
ySpeed = 2.5;
_x = (_x + xSpeed);
} else {
ySpeed = 5;
}
}
Instance of Symbol 254 MovieClip "enemy10" in Frame 86 (212 B)
onClipEvent (load) {
yPosMax = 250;
yPosMin = 200;
xSpeed = 6;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 254 MovieClip "enemy4" in Frame 86 (213 B)
onClipEvent (load) {
yPosMax = 250;
yPosMin = 200;
xSpeed = -6;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 274 MovieClip "enemy5" in Frame 86 (86 B)
onClipEvent (load) {
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy7" in Frame 86 (86 B)
onClipEvent (load) {
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 254 MovieClip "enemy1" in Frame 87 (212 B)
onClipEvent (load) {
yPosMax = 200;
yPosMin = 150;
xSpeed = 7;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 254 MovieClip "enemy2" in Frame 87 (213 B)
onClipEvent (load) {
yPosMax = 200;
yPosMin = 150;
xSpeed = -7;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 254 MovieClip "enemy3" in Frame 87 (321 B)
onClipEvent (load) {
yPosMax = 200;
yPosMin = 150;
xSpeed = 7;
ySpeed = 5;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > 325) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 254 MovieClip "enemy8" in Frame 87 (213 B)
onClipEvent (load) {
yPosMax = 200;
yPosMin = 150;
xSpeed = -7;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 316 MovieClip "enemy9" in Frame 87 (464 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 14;
moveDirection = false;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 316 MovieClip "enemy11" in Frame 87 (463 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 14;
moveDirection = true;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 254 MovieClip "enemy6" in Frame 88 (208 B)
onClipEvent (load) {
yPosMax = 0;
yPosMin = 0;
xSpeed = 0;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 254 MovieClip "enemy7" in Frame 88 (317 B)
onClipEvent (load) {
yPosMax = 0;
yPosMin = 0;
xSpeed = 0;
ySpeed = 5;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > 300) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 254 MovieClip "enemy12" in Frame 88 (253 B)
onClipEvent (load) {
yPosMax = 265;
yPosMin = 250;
xSpeed = 0;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
ySpeed = 0.75;
_x = (_x + xSpeed);
} else {
ySpeed = 5;
}
}
Instance of Symbol 254 MovieClip "enemy4" in Frame 88 (253 B)
onClipEvent (load) {
yPosMax = 265;
yPosMin = 250;
xSpeed = 0;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
ySpeed = 0.75;
_x = (_x + xSpeed);
} else {
ySpeed = 5;
}
}
Instance of Symbol 274 MovieClip "enemy5" in Frame 88 (86 B)
onClipEvent (load) {
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy10" in Frame 88 (86 B)
onClipEvent (load) {
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 254 MovieClip "enemy3" in Frame 89 (361 B)
onClipEvent (load) {
yPosMax = 200;
yPosMin = 140;
xSpeed = 0;
ySpeed = 5;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > 300) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
if ((_y > yPosMin) && (_y < yPosMax)) {
ySpeed = 2.5;
_x = (_x + xSpeed);
} else {
ySpeed = 5;
}
}
Instance of Symbol 254 MovieClip "enemy8" in Frame 89 (212 B)
onClipEvent (load) {
yPosMax = 190;
yPosMin = 140;
xSpeed = 0;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 254 MovieClip "enemy2" in Frame 89 (212 B)
onClipEvent (load) {
yPosMax = 190;
yPosMin = 140;
xSpeed = 0;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 316 MovieClip "enemy1" in Frame 89 (464 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 16;
moveDirection = false;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 316 MovieClip "enemy9" in Frame 89 (463 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 16;
moveDirection = true;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 254 MovieClip "enemy11" in Frame 90 (212 B)
onClipEvent (load) {
yPosMax = 300;
yPosMin = 150;
xSpeed = 5;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 254 MovieClip "enemy10" in Frame 90 (212 B)
onClipEvent (load) {
yPosMax = 300;
yPosMin = 150;
xSpeed = 5;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 254 MovieClip "enemy7" in Frame 90 (212 B)
onClipEvent (load) {
yPosMax = 300;
yPosMin = 150;
xSpeed = 5;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 254 MovieClip "enemy4" in Frame 90 (322 B)
onClipEvent (load) {
yPosMax = 300;
yPosMin = 150;
xSpeed = -5;
ySpeed = 5;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > 325) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 254 MovieClip "enemy5" in Frame 90 (213 B)
onClipEvent (load) {
yPosMax = 300;
yPosMin = 150;
xSpeed = -5;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 254 MovieClip "enemy6" in Frame 90 (213 B)
onClipEvent (load) {
yPosMax = 300;
yPosMin = 150;
xSpeed = -5;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 254 MovieClip "enemy1" in Frame 91 (212 B)
onClipEvent (load) {
yPosMax = 200;
yPosMin = 150;
xSpeed = 7;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 254 MovieClip "enemy2" in Frame 91 (213 B)
onClipEvent (load) {
yPosMax = 200;
yPosMin = 150;
xSpeed = -7;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 254 MovieClip "enemy3" in Frame 91 (321 B)
onClipEvent (load) {
yPosMax = 200;
yPosMin = 150;
xSpeed = 7;
ySpeed = 5;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > 325) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 283 MovieClip "scarecrow" in Frame 92 (1.26 KiB) ●
onClipEvent (load) {
_root.enemyBar.enemyName.gotoAndStop(3);
_root.enemyBar._visible = true;
i = 0;
_alpha = 0;
xPos = Stage.width / 2;
yPos = Stage.height / 5;
}
onClipEvent (enterFrame) {
if (_global.technoMode) {
dotColor = new Color(this);
red = Math.ceil(Math.random() * 255);
green = Math.ceil(Math.random() * 255);
blue = Math.ceil(Math.random() * 255);
percentage = Math.ceil(Math.random() * 50);
dotTransform = {ra:percentage, rb:red, ga:percentage, gb:green, ba:percentage, bb:blue};
dotColor.setTransform(dotTransform);
}
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
_x = (xPos + (Math.sin(i) * 150));
_y = (yPos + (Math.cos(i) * 85));
i = i + 0.09;
a = Math.abs(_x - _root.character._x);
b = Math.abs(_y - _root.character._y);
rotation = (Math.atan(b / a) * 180) / Math.PI;
if ((_root.character._x < _x) && (_root.character._y > _y)) {
rotation = (-rotation) - 270;
}
if ((_root.character._x < _x) && (_root.character._y < _y)) {
rotation = rotation - 270;
}
if ((_root.character._x > _x) && (_root.character._y > _y)) {
rotation = rotation - 90;
}
if ((_root.character._x > _x) && (_root.character._y < _y)) {
rotation = (-rotation) - 90;
}
_rotation = rotation;
}
Instance of Symbol 386 MovieClip "enemyBar" in Frame 92 (169 B)
onClipEvent (load) {
this.enemyName.text = _root.bossName.toString();
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 389 MovieClip "enemy4" in Frame 92 (82 B)
onClipEvent (enterFrame) {
_x = _root.scarecrow._x;
_y = _root.scarecrow._y;
}
Instance of Symbol 234 MovieClip in Frame 93 (86 B)
onClipEvent (load) {
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 234 MovieClip in Frame 93 (86 B)
onClipEvent (load) {
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 234 MovieClip in Frame 93 (195 B)
onClipEvent (load) {
ySpeed = 5;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > 325) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
}
Instance of Symbol 234 MovieClip in Frame 94 (195 B)
onClipEvent (load) {
ySpeed = 5;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > 325) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
}
Instance of Symbol 234 MovieClip in Frame 94 (86 B)
onClipEvent (load) {
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 234 MovieClip in Frame 94 (86 B)
onClipEvent (load) {
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 234 MovieClip in Frame 94 (86 B)
onClipEvent (load) {
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 234 MovieClip in Frame 95 (330 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
if ((_y > 325) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
}
Instance of Symbol 234 MovieClip in Frame 95 (221 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 95 (221 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 95 (221 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 96 (330 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
if ((_y > 325) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
}
Instance of Symbol 234 MovieClip in Frame 96 (221 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 96 (221 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 96 (221 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 96 (221 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 97 (330 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
if ((_y > 325) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
}
Instance of Symbol 234 MovieClip in Frame 97 (221 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 97 (221 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 97 (221 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 98 (330 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
if ((_y > 325) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
}
Instance of Symbol 234 MovieClip in Frame 98 (221 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 98 (221 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 98 (221 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 98 (221 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 98 (221 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 99 (368 B)
onClipEvent (load) {
ySpeed = 5;
_x = (Math.random() * Stage.width);
_alpha = 0;
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
if ((_y > 325) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
}
Instance of Symbol 234 MovieClip in Frame 99 (259 B)
onClipEvent (load) {
ySpeed = 5;
_x = (Math.random() * Stage.width);
_alpha = 0;
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 99 (259 B)
onClipEvent (load) {
_x = (Math.random() * Stage.width);
ySpeed = 5;
_alpha = 0;
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 99 (259 B)
onClipEvent (load) {
ySpeed = 5;
_x = (Math.random() * Stage.width);
_alpha = 0;
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 99 (259 B)
onClipEvent (load) {
_x = (Math.random() * Stage.width);
ySpeed = 5;
_alpha = 0;
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 100 (330 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
if ((_y > 325) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
}
Instance of Symbol 234 MovieClip in Frame 100 (221 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 100 (221 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 100 (221 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 101 (330 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
if ((_y > 325) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
}
Instance of Symbol 234 MovieClip in Frame 101 (221 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 101 (221 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 101 (221 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 102 (330 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
if ((_y > 325) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
}
Instance of Symbol 234 MovieClip in Frame 102 (221 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 102 (221 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 102 (221 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 103 (330 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
if ((_y > 325) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
}
Instance of Symbol 234 MovieClip in Frame 103 (221 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 103 (221 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 103 (221 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 103 (221 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 386 MovieClip "enemyBar" in Frame 104 (169 B)
onClipEvent (load) {
this.enemyName.text = _root.bossName.toString();
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 391 MovieClip "enemy1" in Frame 104 (733 B)
onClipEvent (load) {
_root.enemyBar.enemyName.gotoAndStop(4);
_root.enemyBar._visible = true;
i = 0;
iSpeed = 0.15;
xPos = Stage.width / 2;
yPos = -200;
}
onClipEvent (enterFrame) {
if (_global.technoMode) {
dotColor = new Color(this);
red = Math.ceil(Math.random() * 255);
green = Math.ceil(Math.random() * 255);
blue = Math.ceil(Math.random() * 255);
percentage = Math.ceil(Math.random() * 50);
dotTransform = {ra:percentage, rb:red, ga:percentage, gb:green, ba:percentage, bb:blue};
dotColor.setTransform(dotTransform);
}
if (yPos < (Stage.height / 4)) {
yPos = yPos + 5;
} else {
yPos = Stage.height / 4;
}
_x = (xPos + (Math.sin(i) * 25));
_y = (yPos + (Math.cos(i) * 25));
i = i - iSpeed;
}
Instance of Symbol 337 MovieClip "pumpkinBall" in Frame 104 (510 B)
onClipEvent (load) {
if (_name != "pumpkinBall") {
_x = _root.enemy1._x;
_y = _root.enemy1._y;
xSpeed = Math.ceil(Math.random() * 10) - 5;
}
}
onClipEvent (enterFrame) {
if (_name != "pumpkinBall") {
_x = (_x + xSpeed);
_y = (_y + 10);
}
if (hitTest(_root.character.characterHit)) {
_root.charHitFunction();
this.removeMovieClip();
}
if (_y >= (Stage.height + 50)) {
this.removeMovieClip();
}
if ((_x >= (Stage.width + 50)) or (_x <= -50)) {
this.removeMovieClip();
}
}
Instance of Symbol 234 MovieClip in Frame 105 (259 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
_x = (Math.random() * Stage.width);
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 105 (259 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
_x = (Math.random() * Stage.width);
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 274 MovieClip "enemy2" in Frame 105 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy3" in Frame 105 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy1" in Frame 105 (195 B)
onClipEvent (load) {
ySpeed = 4;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > 300) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
}
Instance of Symbol 274 MovieClip "enemy4" in Frame 105 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy6" in Frame 105 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy5" in Frame 105 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 234 MovieClip in Frame 106 (259 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
_x = (Math.random() * Stage.width);
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 106 (259 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
_x = (Math.random() * Stage.width);
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 316 MovieClip "enemy8" in Frame 106 (572 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 16;
moveDirection = true;
levelMove = true;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if ((_y > 300) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 316 MovieClip "enemy7" in Frame 106 (464 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 10;
moveDirection = false;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 316 MovieClip "enemy9" in Frame 106 (483 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 10;
moveDirection = false;
levelMove = true;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 316 MovieClip "enemy10" in Frame 106 (463 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 10;
moveDirection = true;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 234 MovieClip in Frame 107 (259 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
_x = (Math.random() * Stage.width);
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 107 (259 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
_x = (Math.random() * Stage.width);
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 274 MovieClip "enemy1" in Frame 107 (86 B)
onClipEvent (load) {
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy5" in Frame 107 (86 B)
onClipEvent (load) {
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy3" in Frame 107 (86 B)
onClipEvent (load) {
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 316 MovieClip "enemy2" in Frame 107 (572 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 14;
moveDirection = true;
levelMove = true;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if ((_y > 300) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 316 MovieClip "enemy4" in Frame 107 (464 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 14;
moveDirection = false;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 234 MovieClip in Frame 108 (259 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
_x = (Math.random() * Stage.width);
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 108 (259 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
_x = (Math.random() * Stage.width);
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 254 MovieClip "enemy8" in Frame 108 (208 B)
onClipEvent (load) {
yPosMax = 0;
yPosMin = 0;
xSpeed = 0;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 254 MovieClip "enemy9" in Frame 108 (317 B)
onClipEvent (load) {
yPosMax = 0;
yPosMin = 0;
xSpeed = 0;
ySpeed = 5;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > 300) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 254 MovieClip "enemy7" in Frame 108 (252 B)
onClipEvent (load) {
yPosMax = 300;
yPosMin = 250;
xSpeed = 0;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
ySpeed = 2.5;
_x = (_x + xSpeed);
} else {
ySpeed = 5;
}
}
Instance of Symbol 254 MovieClip "enemy10" in Frame 108 (252 B)
onClipEvent (load) {
yPosMax = 300;
yPosMin = 250;
xSpeed = 0;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
ySpeed = 2.5;
_x = (_x + xSpeed);
} else {
ySpeed = 5;
}
}
Instance of Symbol 254 MovieClip "enemy11" in Frame 108 (253 B)
onClipEvent (load) {
yPosMax = 265;
yPosMin = 250;
xSpeed = 0;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
ySpeed = 0.75;
_x = (_x + xSpeed);
} else {
ySpeed = 5;
}
}
Instance of Symbol 254 MovieClip "enemy6" in Frame 108 (253 B)
onClipEvent (load) {
yPosMax = 265;
yPosMin = 250;
xSpeed = 0;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
ySpeed = 0.75;
_x = (_x + xSpeed);
} else {
ySpeed = 5;
}
}
Instance of Symbol 234 MovieClip in Frame 109 (259 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
_x = (Math.random() * Stage.width);
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 109 (259 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
_x = (Math.random() * Stage.width);
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 254 MovieClip "enemy3" in Frame 109 (361 B)
onClipEvent (load) {
yPosMax = 200;
yPosMin = 140;
xSpeed = 0;
ySpeed = 5;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > 300) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
if ((_y > yPosMin) && (_y < yPosMax)) {
ySpeed = 2.5;
_x = (_x + xSpeed);
} else {
ySpeed = 5;
}
}
Instance of Symbol 254 MovieClip "enemy4" in Frame 109 (212 B)
onClipEvent (load) {
yPosMax = 190;
yPosMin = 140;
xSpeed = 0;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 254 MovieClip "enemy2" in Frame 109 (212 B)
onClipEvent (load) {
yPosMax = 190;
yPosMin = 140;
xSpeed = 0;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 316 MovieClip "enemy1" in Frame 109 (464 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 16;
moveDirection = false;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 316 MovieClip "enemy5" in Frame 109 (463 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 16;
moveDirection = true;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 234 MovieClip in Frame 110 (259 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
_x = (Math.random() * Stage.width);
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 110 (259 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
_x = (Math.random() * Stage.width);
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 274 MovieClip "enemy12" in Frame 110 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy8" in Frame 110 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy11" in Frame 110 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy9" in Frame 110 (195 B)
onClipEvent (load) {
ySpeed = 4;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > 300) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
}
Instance of Symbol 274 MovieClip "enemy10" in Frame 110 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy6" in Frame 110 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy7" in Frame 110 (86 B)
onClipEvent (load) {
ySpeed = 4;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 234 MovieClip in Frame 111 (259 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
_x = (Math.random() * Stage.width);
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 111 (259 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
_x = (Math.random() * Stage.width);
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 316 MovieClip "enemy4" in Frame 111 (573 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 16;
moveDirection = false;
levelMove = true;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if ((_y > 300) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 316 MovieClip "enemy3" in Frame 111 (464 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 16;
moveDirection = false;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 316 MovieClip "enemy2" in Frame 111 (464 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 16;
moveDirection = false;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 274 MovieClip "enemy1" in Frame 111 (86 B)
onClipEvent (load) {
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy5" in Frame 111 (86 B)
onClipEvent (load) {
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 234 MovieClip in Frame 112 (259 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
_x = (Math.random() * Stage.width);
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 112 (259 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
_x = (Math.random() * Stage.width);
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 254 MovieClip "enemy9" in Frame 112 (212 B)
onClipEvent (load) {
yPosMax = 300;
yPosMin = 150;
xSpeed = 5;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 254 MovieClip "enemy10" in Frame 112 (212 B)
onClipEvent (load) {
yPosMax = 300;
yPosMin = 150;
xSpeed = 5;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 254 MovieClip "enemy11" in Frame 112 (212 B)
onClipEvent (load) {
yPosMax = 300;
yPosMin = 150;
xSpeed = 5;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 254 MovieClip "enemy6" in Frame 112 (322 B)
onClipEvent (load) {
yPosMax = 300;
yPosMin = 150;
xSpeed = -5;
ySpeed = 5;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > 325) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 254 MovieClip "enemy7" in Frame 112 (213 B)
onClipEvent (load) {
yPosMax = 300;
yPosMin = 150;
xSpeed = -5;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 254 MovieClip "enemy8" in Frame 112 (213 B)
onClipEvent (load) {
yPosMax = 300;
yPosMin = 150;
xSpeed = -5;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 234 MovieClip in Frame 113 (259 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
_x = (Math.random() * Stage.width);
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 113 (259 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
_x = (Math.random() * Stage.width);
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 254 MovieClip "enemy3" in Frame 113 (361 B)
onClipEvent (load) {
yPosMax = 200;
yPosMin = 140;
xSpeed = 0;
ySpeed = 5;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > 300) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
if ((_y > yPosMin) && (_y < yPosMax)) {
ySpeed = 2.5;
_x = (_x + xSpeed);
} else {
ySpeed = 5;
}
}
Instance of Symbol 254 MovieClip "enemy4" in Frame 113 (212 B)
onClipEvent (load) {
yPosMax = 250;
yPosMin = 200;
xSpeed = 6;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 254 MovieClip "enemy2" in Frame 113 (213 B)
onClipEvent (load) {
yPosMax = 250;
yPosMin = 200;
xSpeed = -6;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
_x = (_x + xSpeed);
}
}
Instance of Symbol 316 MovieClip "enemy1" in Frame 113 (464 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 10;
moveDirection = false;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 316 MovieClip "enemy5" in Frame 113 (463 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 14;
moveDirection = true;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 234 MovieClip in Frame 114 (259 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
_x = (Math.random() * Stage.width);
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 114 (259 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
_x = (Math.random() * Stage.width);
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 316 MovieClip "enemy9" in Frame 114 (573 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 16;
moveDirection = false;
levelMove = true;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if ((_y > 300) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 316 MovieClip "enemy8" in Frame 114 (464 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 16;
moveDirection = false;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 316 MovieClip "enemy7" in Frame 114 (464 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 16;
moveDirection = false;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 274 MovieClip "enemy6" in Frame 114 (86 B)
onClipEvent (load) {
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 274 MovieClip "enemy10" in Frame 114 (86 B)
onClipEvent (load) {
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 234 MovieClip in Frame 115 (259 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
_x = (Math.random() * Stage.width);
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 234 MovieClip in Frame 115 (259 B)
onClipEvent (load) {
ySpeed = 5;
_alpha = 0;
_x = (Math.random() * Stage.width);
yDistance = Math.ceil(Math.random() * (Stage.height / 3)) + 50;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if (_y > yDistance) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 254 MovieClip "enemy3" in Frame 115 (253 B)
onClipEvent (load) {
yPosMax = 225;
yPosMin = 175;
xSpeed = 0;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
ySpeed = 0.75;
_x = (_x + xSpeed);
} else {
ySpeed = 5;
}
}
Instance of Symbol 254 MovieClip "enemy2" in Frame 115 (253 B)
onClipEvent (load) {
yPosMax = 200;
yPosMin = 150;
xSpeed = 0;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
ySpeed = 0.75;
_x = (_x + xSpeed);
} else {
ySpeed = 5;
}
}
Instance of Symbol 254 MovieClip "enemy4" in Frame 115 (253 B)
onClipEvent (load) {
yPosMax = 250;
yPosMin = 200;
xSpeed = 0;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
ySpeed = 0.75;
_x = (_x + xSpeed);
} else {
ySpeed = 5;
}
}
Instance of Symbol 254 MovieClip "enemy1" in Frame 115 (253 B)
onClipEvent (load) {
yPosMax = 175;
yPosMin = 125;
xSpeed = 0;
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > yPosMin) && (_y < yPosMax)) {
ySpeed = 0.75;
_x = (_x + xSpeed);
} else {
ySpeed = 5;
}
}
Instance of Symbol 274 MovieClip "enemy5" in Frame 115 (195 B)
onClipEvent (load) {
ySpeed = 5;
levelMove = true;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
if ((_y > 400) && (levelMove)) {
levelMove = false;
_root.nextFrame();
}
}
Instance of Symbol 274 MovieClip "enemy11" in Frame 115 (86 B)
onClipEvent (load) {
ySpeed = 5;
}
onClipEvent (enterFrame) {
_y = (_y + ySpeed);
}
Instance of Symbol 316 MovieClip "enemy12" in Frame 115 (464 B)
onClipEvent (load) {
xSpeed = 0;
ySpeed = 5;
maxDistance = 16;
moveDirection = false;
}
onClipEvent (enterFrame) {
_x = (_x + xSpeed);
_y = (_y + ySpeed);
if (xSpeed < maxDistance) {
if (moveDirection) {
xSpeed = xSpeed + 2;
}
} else {
xSpeed = maxDistance;
moveDirection = false;
}
if (xSpeed > (-maxDistance)) {
if (!moveDirection) {
xSpeed = xSpeed - 2;
}
} else {
xSpeed = (-maxDistance) + 2;
moveDirection = true;
}
}
Instance of Symbol 386 MovieClip "enemyBar" in Frame 116 (528 B)
onClipEvent (load) {
this.enemyName.text = _root.bossName.toString();
_alpha = 0;
}
onClipEvent (enterFrame) {
if (_global.technoMode) {
dotColor = new Color(this);
red = Math.ceil(Math.random() * 255);
green = Math.ceil(Math.random() * 255);
blue = Math.ceil(Math.random() * 255);
percentage = Math.ceil(Math.random() * 50);
dotTransform = {ra:percentage, rb:red, ga:percentage, gb:green, ba:percentage, bb:blue};
dotColor.setTransform(dotTransform);
}
if (_alpha < 100) {
_alpha = (_alpha + 10);
}
}
Instance of Symbol 302 MovieClip "skullOne" in Frame 116 (560 B)
onClipEvent (load) {
summon = false;
ySpeed = Math.abs(_y - _root.character._y) / 18;
xSpeed = Math.abs(_x - _root.character._x) / 18;
}
onClipEvent (enterFrame) {
ySpeed = Math.abs(_y - _root.character._y) / 18;
xSpeed = Math.abs(_x - _root.character._x) / 18;
if (summon) {
if (_y < _root.character._y) {
_y = (_y + ySpeed);
} else {
_y = (_y - ySpeed);
}
if (_x < _root.character._x) {
_x = (_x + xSpeed);
} else {
_x = (_x - xSpeed);
}
}
if (hitTest(_root.character.characterHit)) {
_root.charHitFunction();
}
}
Instance of Symbol 271 MovieClip "death" in Frame 116 (940 B)
onClipEvent (load) {
fadeIn = true;
_root.enemyBar.enemyName.gotoAndStop(5);
_root.enemyBar._visible = true;
_alpha = 0;
_x = (Stage.width / 2);
_y = (Stage.height / 4);
}
onClipEvent (enterFrame) {
if (_global.technoMode) {
dotColor = new Color(this);
red = Math.ceil(Math.random() * 255);
green = Math.ceil(Math.random() * 255);
blue = Math.ceil(Math.random() * 255);
percentage = Math.ceil(Math.random() * 50);
dotTransform = {ra:percentage, rb:red, ga:percentage, gb:green, ba:percentage, bb:blue};
dotColor.setTransform(dotTransform);
}
if (fadeIn) {
if (_alpha < 100) {
_alpha = (_alpha + 2.5);
} else {
_root.skullOne.summon = true;
_root.skullTwo.summon = true;
fadeIn = false;
}
} else if ((_alpha > 0) && (!fadeIn)) {
_alpha = (_alpha - 2.5);
} else {
_x = (Math.random() * Stage.width);
_y = (Math.random() * ((Stage.height / 3) + 100));
fadeIn = true;
}
}
Instance of Symbol 302 MovieClip "skullTwo" in Frame 116 (474 B)
onClipEvent (load) {
summon = false;
ySpeed = Math.abs(_y - _root.character._y) / 15;
xSpeed = Math.abs(_x - _root.character._x) / 15;
}
onClipEvent (enterFrame) {
ySpeed = Math.abs(_y - _root.character._y) / 15;
xSpeed = Math.abs(_x - _root.character._x) / 15;
if (summon) {
_x = Math.abs(Stage.width - _root.character._x);
_y = Math.abs((Stage.height - _root.character._y) + 75);
}
if (hitTest(_root.character.characterHit)) {
_root.charHitFunction();
}
}
Instance of Symbol 392 MovieClip "enemy6" in Frame 116 (81 B)
onClipEvent (enterFrame) {
_x = (_root.death._x + 20);
_y = _root.death._y;
}
Frame 117 (14 B)
batCount = 1;
Instance of Symbol 349 MovieClip "character" in Frame 117 (1.47 KiB) ●
onClipEvent (load) {
frozen = false;
frozenTimer = 40;
if (_name == "character") {
this.duplicateMovieClip("coffinOne", _root.getNextHighestDepth() + 2);
}
_x = _root.character._x;
_y = _root.character._y;
ySpeed = 0;
xSpeed = 0;
}
onClipEvent (enterFrame) {
if (frozen) {
xSpeed = 0;
ySpeed = 0;
if (frozenTimer > 0) {
frozenTimer--;
} else {
frozen = false;
frozenTimer = 40;
}
}
_y = (_y + ySpeed);
_x = (_x + xSpeed);
this.removeMovieClip();
if ((!Key.isDown(38)) && (!Key.isDown(40))) {
if (ySpeed > 0) {
ySpeed = ySpeed - 2;
}
if (ySpeed < 0) {
ySpeed = ySpeed + 2;
}
}
if ((!Key.isDown(37)) && (!Key.isDown(39))) {
if (xSpeed > 0) {
xSpeed = xSpeed - 2;
}
if (xSpeed < 0) {
xSpeed = xSpeed + 2;
}
}
if (!frozen) {
if (_y > 0) {
if (Key.isDown(38)) {
if (ySpeed > -12) {
ySpeed = ySpeed - 4;
}
}
} else {
_y = 0;
}
if (_y < Stage.height) {
if (Key.isDown(40)) {
if (ySpeed < 12) {
ySpeed = ySpeed + 4;
}
}
} else {
_y = Stage.height;
}
if (_x > 0) {
if (Key.isDown(37)) {
if (xSpeed > -12) {
xSpeed = xSpeed - 4;
}
}
} else {
_x = 0;
}
if (_x < Stage.width) {
if (Key.isDown(39)) {
if (xSpeed < 12) {
xSpeed = xSpeed + 4;
}
}
} else {
_x = Stage.width;
}
}
}
onClipEvent (unload) {
this.duplicateMovieClip("coffinOne", _root.getNextHighestDepth() + 2);
}
Instance of Symbol 11 MovieClip in Symbol 12 MovieClip Frame 1 (286 B)
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
i = 0;
while (i <= 15) {
if (hitTest(_root["enemy" + i].enemyHit)) {
_root["enemy" + i].damage = _root["enemy" + i].damage + _parent._parent.powerLevel;
_parent._parent.removeMovieClip();
}
i++;
}
}
Symbol 30 Button (64 B)
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Symbol 37 MovieClip Frame 81 (30 B)
_root.play();
_root.play();
Instance of Symbol 42 MovieClip in Symbol 43 MovieClip Frame 1 (188 B)
onClipEvent (enterFrame) {
if (_quality == "LOW") {
this.gotoAndStop(1);
}
if (_quality == "MEDIUM") {
this.gotoAndStop(2);
}
if (_quality == "HIGH") {
this.gotoAndStop(3);
}
}
Symbol 48 MovieClip Frame 15 (8 B)
stop();
Symbol 49 Button (68 B)
on (press) {
_global.killTemp = 0;
_root.gotoAndPlay("menuTwo");
}
Symbol 55 Button (741 B)
on (press) {
switch (_global.musicPlay) {
case "mute" :
_root.musicOne.start(0, 1000);
_global.musicPlay = "musicOne";
break;
case "musicOne" :
_root.musicOne.stop();
_global.musicPlay = "musicTwo";
_root.musicTwo.start(0, 1000);
break;
case "musicTwo" :
_root.musicTwo.stop();
_global.musicPlay = "musicThree";
_root.musicThree.start(0, 1000);
break;
case "musicThree" :
_root.musicThree.stop();
_global.musicPlay = "musicFour";
_root.musicFour.start(0, 1000);
break;
case "musicFour" :
_root.musicFour.stop();
_global.musicPlay = "musicFive";
_root.musicFive.start(0, 1000);
break;
case "musicFive" :
_root.musicFive.stop();
_global.musicPlay = "mute";
}
}
Symbol 57 MovieClip Frame 25 (8 B)
stop();
Symbol 58 Button (47 B)
on (press) {
_root.gotoAndPlay("startgame");
}
Symbol 60 MovieClip Frame 25 (8 B)
stop();
Symbol 61 Button (44 B)
on (press) {
_root.gotoAndStop("unlock");
}
Symbol 63 MovieClip Frame 25 (8 B)
stop();
Symbol 64 Button (44 B)
on (press) {
_root.gotoAndStop("cheats");
}
Symbol 66 MovieClip Frame 25 (8 B)
stop();
Symbol 67 Button (47 B)
on (press) {
_root.gotoAndStop("minigames");
}
Symbol 69 MovieClip Frame 25 (8 B)
stop();
Symbol 70 Button (66 B)
on (release) {
getURL ("http://www.armorgames.com/", "_blank");
}
Symbol 118 Button (91 B)
on (release) {
getURL ("http://newgrounds.com/collection/halloween2006.html", "_blank");
}
Symbol 120 MovieClip Frame 25 (8 B)
stop();
Symbol 124 Button (65 B)
on (press) {
_global.killTemp = 0;
_root.gotoAndStop("menu");
}
Symbol 129 MovieClip Frame 25 (8 B)
stop();
Symbol 130 Button (242 B)
on (press) {
if (_global.killTotal >= 1000) {
if (!_global.invincibleActive) {
_root.money.start();
_global.killTotal = _global.killTotal - 1000;
_global.invincibleActive = true;
_root.invincibleCost.gotoAndStop(2);
}
}
}
Symbol 132 MovieClip Frame 25 (8 B)
stop();
Symbol 133 Button (225 B)
on (press) {
if (_global.killTotal >= 750) {
if (!_global.superActive) {
_root.money.start();
_global.killTotal = _global.killTotal - 750;
_global.superActive = true;
_root.superCost.gotoAndStop(2);
}
}
}
Symbol 135 MovieClip Frame 25 (8 B)
stop();
Symbol 136 Button (228 B)
on (press) {
if (_global.killTotal >= 500) {
if (!_global.attackActive) {
_root.money.start();
_global.killTotal = _global.killTotal - 500;
_global.attackActive = true;
_root.attackCost.gotoAndStop(2);
}
}
}
Symbol 138 MovieClip Frame 25 (8 B)
stop();
Symbol 139 Button (225 B)
on (press) {
if (_global.killTotal >= 450) {
if (!_global.livesActive) {
_root.money.start();
_global.killTotal = _global.killTotal - 450;
_global.livesActive = true;
_root.livesCost.gotoAndStop(2);
}
}
}
Symbol 141 MovieClip Frame 25 (8 B)
stop();
Symbol 142 Button (228 B)
on (press) {
if (_global.killTotal >= 200) {
if (!_global.technoActive) {
_root.money.start();
_global.killTotal = _global.killTotal - 200;
_global.technoActive = true;
_root.technoCost.gotoAndStop(2);
}
}
}
Symbol 144 MovieClip Frame 25 (8 B)
stop();
Symbol 145 Button (225 B)
on (press) {
if (_global.killTotal >= 200) {
if (!_global.whackActive) {
_root.money.start();
_global.killTotal = _global.killTotal - 200;
_global.whackActive = true;
_root.whackCost.gotoAndStop(2);
}
}
}
Symbol 147 MovieClip Frame 25 (8 B)
stop();
Symbol 148 Button (225 B)
on (press) {
if (_global.killTotal >= 200) {
if (!_global.ghostActive) {
_root.money.start();
_global.killTotal = _global.killTotal - 200;
_global.ghostActive = true;
_root.ghostCost.gotoAndStop(2);
}
}
}
Symbol 150 MovieClip Frame 25 (8 B)
stop();
Symbol 151 Button (228 B)
on (press) {
if (_global.killTotal >= 200) {
if (!_global.burialActive) {
_root.money.start();
_global.killTotal = _global.killTotal - 200;
_global.burialActive = true;
_root.burialCost.gotoAndStop(2);
}
}
}
Symbol 153 MovieClip Frame 25 (8 B)
stop();
Symbol 154 Button (222 B)
on (press) {
if (_global.killTotal >= 200) {
if (!_global.grabActive) {
_root.money.start();
_global.killTotal = _global.killTotal - 200;
_global.grabActive = true;
_root.grabCost.gotoAndStop(2);
}
}
}
Symbol 156 MovieClip Frame 25 (8 B)
stop();
Symbol 157 Button (225 B)
on (press) {
if (_global.killTotal >= 200) {
if (!_global.sceneActive) {
_root.money.start();
_global.killTotal = _global.killTotal - 200;
_global.sceneActive = true;
_root.sceneCost.gotoAndStop(2);
}
}
}
Symbol 159 MovieClip Frame 25 (8 B)
stop();
Symbol 160 Button (222 B)
on (press) {
if (_global.killTotal >= 200) {
if (!_global.huntActive) {
_root.money.start();
_global.killTotal = _global.killTotal - 200;
_global.huntActive = true;
_root.huntCost.gotoAndStop(2);
}
}
}
Symbol 164 MovieClip Frame 1 (8 B)
stop();
Symbol 167 MovieClip Frame 1 (8 B)
stop();
Symbol 170 MovieClip Frame 1 (8 B)
stop();
Symbol 173 MovieClip Frame 1 (8 B)
stop();
Symbol 176 MovieClip Frame 1 (8 B)
stop();
Symbol 179 MovieClip Frame 1 (8 B)
stop();
Symbol 186 Button (155 B)
on (press) {
if (_global.invincibleActive) {
if (!_global.invincible) {
_global.invincible = true;
} else {
_global.invincible = false;
}
}
}
Symbol 187 Button (153 B)
on (press) {
if (_global.superActive) {
if (!_global.superWeapon) {
_global.superWeapon = true;
} else {
_global.superWeapon = false;
}
}
}
Symbol 188 Button (145 B)
on (press) {
if (_global.attackActive) {
if (!_global.attackUp) {
_global.attackUp = true;
} else {
_global.attackUp = false;
}
}
}
Symbol 189 Button (141 B)
on (press) {
if (_global.livesActive) {
if (!_global.livesUp) {
_global.livesUp = true;
} else {
_global.livesUp = false;
}
}
}
Symbol 190 Button (151 B)
on (press) {
if (_global.technoActive) {
if (!_global.technoMode) {
_global.technoMode = true;
} else {
_global.technoMode = false;
}
}
}
Symbol 198 Button (204 B)
on (press) {
if (_global.whackActive) {
_root.gotoAndStop("jacklantern");
}
}
on (rollOver) {
if (_global.whackActive) {
_root.desText.gotoAndStop(1);
} else {
_root.desText.gotoAndStop(7);
}
}
Symbol 199 Button (202 B)
on (press) {
if (_global.ghostActive) {
_root.gotoAndStop("ghosthunt");
}
}
on (rollOver) {
if (_global.ghostActive) {
_root.desText.gotoAndStop(2);
} else {
_root.desText.gotoAndStop(7);
}
}
Symbol 200 Button (199 B)
on (press) {
if (_global.burialActive) {
_root.gotoAndStop("bury");
}
}
on (rollOver) {
if (_global.burialActive) {
_root.desText.gotoAndStop(3);
} else {
_root.desText.gotoAndStop(7);
}
}
Symbol 201 Button (195 B)
on (press) {
if (_global.grabActive) {
_root.gotoAndStop("grab");
}
}
on (rollOver) {
if (_global.grabActive) {
_root.desText.gotoAndStop(4);
} else {
_root.desText.gotoAndStop(7);
}
}
Symbol 202 Button (198 B)
on (press) {
if (_global.sceneActive) {
_root.gotoAndStop("scene");
}
}
on (rollOver) {
if (_global.sceneActive) {
_root.desText.gotoAndStop(5);
} else {
_root.desText.gotoAndStop(7);
}
}
Symbol 203 Button (195 B)
on (press) {
if (_global.huntActive) {
_root.gotoAndStop("hunt");
}
}
on (rollOver) {
if (_global.huntActive) {
_root.desText.gotoAndStop(6);
} else {
_root.desText.gotoAndStop(7);
}
}
Symbol 224 MovieClip Frame 1 (82 B)
explosion = new Sound();
explosion.attachSound("explosion");
explosion.start();
Symbol 224 MovieClip Frame 9 (8 B)
stop();
Symbol 225 MovieClip Frame 1 (8 B)
stop();
Instance of Symbol 217 MovieClip in Symbol 225 MovieClip Frame 1 (115 B)
onClipEvent (mouseDown) {
if (hitTest(_root._xmouse, _root._ymouse, false)) {
_parent.gotoAndStop("death");
}
}
Instance of Symbol 224 MovieClip in Symbol 225 MovieClip Frame 2 (62 B)
onClipEvent (load) {
_root.enemyKill = _root.enemyKill + 2;
}
Instance of Symbol 12 MovieClip "enemyHit" in Symbol 234 MovieClip Frame 1 (546 B)
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_global.technoMode) {
if (_global.mainGame) {
dotColor = new Color(_parent);
red = Math.ceil(Math.random() * 255);
green = Math.ceil(Math.random() * 255);
blue = Math.ceil(Math.random() * 255);
percentage = Math.ceil(Math.random() * 50);
dotTransform = {ra:percentage, rb:red, ga:percentage, gb:green, ba:percentage, bb:blue};
dotColor.setTransform(dotTransform);
}
}
if (hitTest(_root.character.characterHit)) {
_root.charHitFunction();
}
}
Instance of Symbol 12 MovieClip in Symbol 243 MovieClip Frame 1 (460 B)
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_parent.corpseNumber >= 5) {
_parent.full = true;
}
i = 1;
while (i <= 5) {
if (hitTest(_root["corpse" + i])) {
if (_parent.corpseNumber < 5) {
_root["corpse" + i]._x = Math.random() * Stage.width;
_root["corpse" + i]._y = 700;
_root["corpse" + i].rising = true;
_root["corpse" + i].activated = false;
_parent.corpseNumber++;
}
}
i++;
}
}
Symbol 250 MovieClip Frame 1 (8 B)
stop();
Instance of Symbol 224 MovieClip in Symbol 250 MovieClip Frame 2 (229 B)
onClipEvent (load) {
timer = 10;
_root.enemyKill = _root.enemyKill + 15;
}
onClipEvent (enterFrame) {
timer--;
if (timer <= 0) {
_root.enemyBar._visible = false;
_root.enemyBar.gotoAndStop(1);
_root.nextFrame();
}
}
Symbol 254 MovieClip Frame 1 (8 B)
stop();
Instance of Symbol 217 MovieClip in Symbol 254 MovieClip Frame 1 (874 B)
onClipEvent (load) {
timer = Math.ceil(Math.random() * 40) + 30;
}
onClipEvent (enterFrame) {
if (_global.technoMode) {
if (_global.mainGame) {
dotColor = new Color(this);
red = Math.ceil(Math.random() * 255);
green = Math.ceil(Math.random() * 255);
blue = Math.ceil(Math.random() * 255);
percentage = Math.ceil(Math.random() * 50);
dotTransform = {ra:percentage, rb:red, ga:percentage, gb:green, ba:percentage, bb:blue};
dotColor.setTransform(dotTransform);
}
}
if (timer > 0) {
timer--;
} else {
_root.ball.duplicateMovieClip("batBall" + _root.batCount, _root.getNextHighestDepth());
_root["batBall" + _root.batCount]._x = _parent._x;
_root["batBall" + _root.batCount]._y = _parent._y + 25;
_root["batBall" + _root.batCount]._xscale = 150;
_root["batBall" + _root.batCount]._yscale = 150;
_root.batCount++;
timer = 75;
}
}
Instance of Symbol 12 MovieClip "enemyHit" in Symbol 254 MovieClip Frame 1 (274 B)
onClipEvent (load) {
damage = 0;
maxDamage = 8;
_visible = false;
}
onClipEvent (enterFrame) {
if (damage >= maxDamage) {
_parent.gotoAndStop("death");
}
if (hitTest(_root.character.characterHit)) {
_root.charHitFunction();
_parent.gotoAndStop("death");
}
}
Instance of Symbol 224 MovieClip in Symbol 254 MovieClip Frame 2 (62 B)
onClipEvent (load) {
_root.enemyKill = _root.enemyKill + 3;
}
Symbol 258 MovieClip Frame 1 (8 B)
stop();
Symbol 260 MovieClip Frame 1 (8 B)
stop();
Instance of Symbol 224 MovieClip in Symbol 260 MovieClip Frame 2 (229 B)
onClipEvent (load) {
timer = 10;
_root.enemyKill = _root.enemyKill + 10;
}
onClipEvent (enterFrame) {
timer--;
if (timer <= 0) {
_root.enemyBar._visible = false;
_root.enemyBar.gotoAndStop(1);
_root.nextFrame();
}
}
Instance of Symbol 12 MovieClip in Symbol 265 MovieClip Frame 1 (430 B)
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
p = 1;
while (p <= 12) {
if (hitTest(_root["enemy" + p])) {
if (!_global.attackUp) {
_root["enemy" + p].enemyHit.damage = _root["enemy" + p].enemyHit.damage + _parent.powerLevel;
} else {
_root["enemy" + p].enemyHit.damage = _root["enemy" + p].enemyHit.damage + (_parent.powerLevel * 10);
}
_parent.removeMovieClip();
}
p++;
}
}
Instance of Symbol 12 MovieClip in Symbol 267 MovieClip Frame 1 (430 B)
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
p = 1;
while (p <= 12) {
if (hitTest(_root["enemy" + p])) {
if (!_global.attackUp) {
_root["enemy" + p].enemyHit.damage = _root["enemy" + p].enemyHit.damage + _parent.powerLevel;
} else {
_root["enemy" + p].enemyHit.damage = _root["enemy" + p].enemyHit.damage + (_parent.powerLevel * 10);
}
_parent.removeMovieClip();
}
p++;
}
}
Instance of Symbol 12 MovieClip in Symbol 269 MovieClip Frame 1 (430 B)
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
p = 1;
while (p <= 12) {
if (hitTest(_root["enemy" + p])) {
if (!_global.attackUp) {
_root["enemy" + p].enemyHit.damage = _root["enemy" + p].enemyHit.damage + _parent.powerLevel;
} else {
_root["enemy" + p].enemyHit.damage = _root["enemy" + p].enemyHit.damage + (_parent.powerLevel * 10);
}
_parent.removeMovieClip();
}
p++;
}
}
Symbol 271 MovieClip Frame 1 (8 B)
stop();
Instance of Symbol 224 MovieClip in Symbol 271 MovieClip Frame 2 (311 B)
onClipEvent (load) {
timer = 10;
}
onClipEvent (enterFrame) {
timer--;
if (timer <= 0) {
_root.clearGameFunction();
_root.abort = true;
_global.mainGame = false;
_root.coffinOne.removeMovieClip();
_root.enemyBar._visible = false;
_root.enemyBar.gotoAndStop(1);
_root.gotoAndStop("win");
}
}
Symbol 274 MovieClip Frame 1 (8 B)
stop();
Instance of Symbol 273 MovieClip in Symbol 274 MovieClip Frame 1 (804 B)
onClipEvent (load) {
timer = Math.ceil(Math.random() * 40) + 30;
}
onClipEvent (enterFrame) {
if (_global.technoMode) {
if (_global.mainGame) {
dotColor = new Color(this);
red = Math.ceil(Math.random() * 255);
green = Math.ceil(Math.random() * 255);
blue = Math.ceil(Math.random() * 255);
percentage = Math.ceil(Math.random() * 50);
dotTransform = {ra:percentage, rb:red, ga:percentage, gb:green, ba:percentage, bb:blue};
dotColor.setTransform(dotTransform);
}
}
if (timer > 0) {
timer--;
} else {
_root.ball.duplicateMovieClip("batBall" + _root.batCount, _root.getNextHighestDepth());
_root["batBall" + _root.batCount]._x = _parent._x;
_root["batBall" + _root.batCount]._y = _parent._y + 25;
_root.batCount++;
timer = Math.ceil(Math.random() * 40) + 40;
}
}
Instance of Symbol 12 MovieClip "enemyHit" in Symbol 274 MovieClip Frame 1 (274 B)
onClipEvent (load) {
damage = 0;
maxDamage = 4;
_visible = false;
}
onClipEvent (enterFrame) {
if (damage >= maxDamage) {
_parent.gotoAndStop("death");
}
if (hitTest(_root.character.characterHit)) {
_root.charHitFunction();
_parent.gotoAndStop("death");
}
}
Instance of Symbol 224 MovieClip in Symbol 274 MovieClip Frame 2 (62 B)
onClipEvent (load) {
_root.enemyKill = _root.enemyKill + 1;
}
Symbol 283 MovieClip Frame 1 (8 B)
stop();
Instance of Symbol 12 MovieClip "enemyHit" in Symbol 283 MovieClip Frame 1 (741 B)
onClipEvent (load) {
attackTimer = 10;
damage = 0;
maxDamage = 350;
_visible = false;
}
onClipEvent (enterFrame) {
if (attackTimer > 0) {
attackTimer--;
} else {
_root.ball.duplicateMovieClip("batBall" + _root.batCount, _root.getNextHighestDepth());
_root["batBall" + _root.batCount]._x = _parent._x;
_root["batBall" + _root.batCount]._y = _parent._y;
_root["batBall" + _root.batCount]._xscale = 125;
_root["batBall" + _root.batCount]._yscale = 125;
_root.batCount++;
attackTimer = 10;
}
enemyControl = Math.ceil(damage / 35);
_root.enemyBar.gotoAndStop(enemyControl);
if (damage >= maxDamage) {
_parent.gotoAndStop("death");
}
if (hitTest(_root.character.characterHit)) {
_root.charHitFunction();
}
}
Instance of Symbol 224 MovieClip in Symbol 283 MovieClip Frame 2 (229 B)
onClipEvent (load) {
timer = 10;
_root.enemyKill = _root.enemyKill + 20;
}
onClipEvent (enterFrame) {
timer--;
if (timer <= 0) {
_root.enemyBar._visible = false;
_root.enemyBar.gotoAndStop(1);
_root.nextFrame();
}
}
Instance of Symbol 12 MovieClip "enemyHit" in Symbol 300 MovieClip Frame 1 (179 B)
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.character.characterHit)) {
_root.charHitFunction();
_parent.gotoAndStop("death");
}
}
Instance of Symbol 12 MovieClip "enemyHit" in Symbol 300 MovieClip Frame 1 (179 B)
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.character.characterHit)) {
_root.charHitFunction();
_parent.gotoAndStop("death");
}
}
Instance of Symbol 12 MovieClip "enemyHit" in Symbol 300 MovieClip Frame 1 (147 B)
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (hitTest(_root.character.characterHit)) {
_root.charHitFunction();
}
}
Instance of Symbol 184 MovieClip in Symbol 300 MovieClip Frame 11 (120 B)
onClipEvent (load) {
xSpeed = 11;
_visible = false;
}
onClipEvent (enterFrame) {
_parent._x = _parent._x - xSpeed;
}
Symbol 316 MovieClip Frame 1 (8 B)
stop();
Instance of Symbol 315 MovieClip in Symbol 316 MovieClip Frame 1 (767 B)
onClipEvent (load) {
timer = Math.ceil(Math.random() * 50) + 25;
}
onClipEvent (enterFrame) {
if (_global.technoMode) {
dotColor = new Color(this);
red = Math.ceil(Math.random() * 255);
green = Math.ceil(Math.random() * 255);
blue = Math.ceil(Math.random() * 255);
percentage = Math.ceil(Math.random() * 50);
dotTransform = {ra:percentage, rb:red, ga:percentage, gb:green, ba:percentage, bb:blue};
dotColor.setTransform(dotTransform);
}
if (timer > 0) {
timer--;
} else {
_root.ball.duplicateMovieClip("batBall" + _root.batCount, _root.getNextHighestDepth());
_root["batBall" + _root.batCount]._x = _parent._x;
_root["batBall" + _root.batCount]._y = _parent._y + 25;
_root.batCount++;
timer = Math.ceil(Math.random() * 50) + 60;
}
}
Instance of Symbol 12 MovieClip "enemyHit" in Symbol 316 MovieClip Frame 1 (274 B)
onClipEvent (load) {
damage = 0;
maxDamage = 6;
_visible = false;
}
onClipEvent (enterFrame) {
if (damage >= maxDamage) {
_parent.gotoAndStop("death");
}
if (hitTest(_root.character.characterHit)) {
_root.charHitFunction();
_parent.gotoAndStop("death");
}
}
Instance of Symbol 224 MovieClip in Symbol 316 MovieClip Frame 2 (62 B)
onClipEvent (load) {
_root.enemyKill = _root.enemyKill + 2;
}
Instance of Symbol 12 MovieClip in Symbol 330 MovieClip Frame 1 (293 B)
onClipEvent (enterFrame) {
if (hitTest(_root.candyBag)) {
_root.candyBag.candyCount++;
_parent._y = -(Math.random() * 200);
_parent._x = Math.random() * Stage.width;
_parent.ySpeed = Math.ceil(Math.random() * 10) + 2;
_parent.rotationSpeed = Math.ceil(Math.random() * 30) - 15;
}
}
Symbol 336 MovieClip Frame 1 (8 B)
stop();
Symbol 343 Button (111 B)
on (press) {
_global.killTotal = _global.killTotal + 200;
_global.killTemp = 0;
_root.gotoAndStop("menu");
}
Symbol 347 MovieClip Frame 20 (32 B)
_root.character.gotoAndStop(1);
Symbol 348 MovieClip Frame 35 (147 B)
_root.character.death = false;
_root.character.duplicateMovieClip("coffinOne", _root.getNextHighestDepth() + 2);
_root.character.gotoAndStop(1);
Symbol 349 MovieClip Frame 1 (8 B)
stop();
Instance of Symbol 224 MovieClip in Symbol 349 MovieClip Frame 3 (193 B)
onClipEvent (load) {
timer = 10;
}
onClipEvent (enterFrame) {
timer--;
if (timer <= 0) {
_parent._x = _parent.startX;
_parent._y = _parent.startY;
_parent.gotoAndStop("start");
}
}
Symbol 360 MovieClip Frame 1 (8 B)
stop();
Symbol 369 MovieClip Frame 9 (8 B)
stop();
Instance of Symbol 368 MovieClip in Symbol 369 MovieClip Frame 9 (400 B)
onClipEvent (load) {
this.gotoAndStop(1);
startX = _x;
startY = _y;
overX = startX - 5;
overY = startY + 5;
}
onClipEvent (enterFrame) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
_x = overX;
_y = overY;
} else {
_x = startX;
_y = startY;
}
}
onClipEvent (mouseUp) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
_global.weaponChoice = 1;
_root.nextFrame();
}
}
Instance of Symbol 368 MovieClip in Symbol 369 MovieClip Frame 9 (400 B)
onClipEvent (load) {
this.gotoAndStop(2);
startX = _x;
startY = _y;
overX = startX - 5;
overY = startY + 5;
}
onClipEvent (enterFrame) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
_x = overX;
_y = overY;
} else {
_x = startX;
_y = startY;
}
}
onClipEvent (mouseUp) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
_global.weaponChoice = 2;
_root.nextFrame();
}
}
Instance of Symbol 368 MovieClip in Symbol 369 MovieClip Frame 9 (400 B)
onClipEvent (load) {
this.gotoAndStop(3);
startX = _x;
startY = _y;
overX = startX - 5;
overY = startY + 5;
}
onClipEvent (enterFrame) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
_x = overX;
_y = overY;
} else {
_x = startX;
_y = startY;
}
}
onClipEvent (mouseUp) {
if (hitTest(_root._xmouse, _root._ymouse, true)) {
_global.weaponChoice = 3;
_root.nextFrame();
}
}
Symbol 386 MovieClip Frame 1 (8 B)
stop();
Instance of Symbol 184 MovieClip in Symbol 387 MovieClip Frame 1 (42 B)
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 12 MovieClip "enemyHit" in Symbol 387 MovieClip Frame 1 (366 B)
onClipEvent (load) {
damage = 0;
maxDamage = 250;
_visible = false;
}
onClipEvent (enterFrame) {
enemyControl = Math.ceil(damage / 25);
_root.enemyBar.gotoAndStop(enemyControl);
if (damage >= maxDamage) {
_root.enemyBar._visible = false;
_root.witch.gotoAndStop("death");
}
if (hitTest(_root.character.characterHit)) {
_root.charHitFunction();
}
}
Instance of Symbol 184 MovieClip in Symbol 388 MovieClip Frame 1 (42 B)
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 12 MovieClip "enemyHit" in Symbol 388 MovieClip Frame 1 (368 B)
onClipEvent (load) {
damage = 0;
maxDamage = 350;
_visible = false;
}
onClipEvent (enterFrame) {
enemyControl = Math.ceil(damage / 35);
_root.enemyBar.gotoAndStop(enemyControl);
if (damage >= maxDamage) {
_root.enemyBar._visible = false;
_root.hangman.gotoAndStop("death");
}
if (hitTest(_root.character.characterHit)) {
_root.charHitFunction();
}
}
Instance of Symbol 184 MovieClip in Symbol 389 MovieClip Frame 1 (42 B)
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 12 MovieClip "enemyHit" in Symbol 389 MovieClip Frame 1 (370 B)
onClipEvent (load) {
damage = 0;
maxDamage = 200;
_visible = false;
}
onClipEvent (enterFrame) {
enemyControl = Math.ceil(damage / 20);
_root.enemyBar.gotoAndStop(enemyControl);
if (damage >= maxDamage) {
_root.enemyBar._visible = false;
_root.scarecrow.gotoAndStop("death");
}
if (hitTest(_root.character.characterHit)) {
_root.charHitFunction();
}
}
Symbol 391 MovieClip Frame 1 (8 B)
stop();
Instance of Symbol 12 MovieClip "enemyHit" in Symbol 391 MovieClip Frame 1 (600 B)
onClipEvent (load) {
i = 1;
currentdamage = 0;
damage = 0;
maxDamage = 400;
_visible = false;
}
onClipEvent (enterFrame) {
if (currentDamage < damage) {
_parent._xscale = _parent._xscale - 0.25;
_parent._yscale = _parent._yscale - 0.25;
_root.pumpkinBall.duplicateMovieClip("pumpkinBall" + i, _root.getNextHighestDepth());
i++;
}
currentDamage = damage;
enemyControl = Math.ceil(damage / 40);
_root.enemyBar.gotoAndStop(enemyControl);
if (damage >= maxDamage) {
_parent.gotoAndStop("death");
}
if (hitTest(_root.character.characterHit)) {
_root.charHitFunction();
}
}
Instance of Symbol 224 MovieClip in Symbol 391 MovieClip Frame 2 (229 B)
onClipEvent (load) {
timer = 10;
_root.enemyKill = _root.enemyKill + 25;
}
onClipEvent (enterFrame) {
timer--;
if (timer <= 0) {
_root.enemyBar._visible = false;
_root.enemyBar.gotoAndStop(1);
_root.nextFrame();
}
}
Instance of Symbol 184 MovieClip in Symbol 392 MovieClip Frame 1 (42 B)
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 12 MovieClip "enemyHit" in Symbol 392 MovieClip Frame 1 (366 B)
onClipEvent (load) {
damage = 0;
maxDamage = 220;
_visible = false;
}
onClipEvent (enterFrame) {
enemyControl = Math.ceil(damage / 22);
_root.enemyBar.gotoAndStop(enemyControl);
if (damage >= maxDamage) {
_root.enemyBar._visible = false;
_root.death.gotoAndStop("death");
}
if (hitTest(_root.character.characterHit)) {
_root.charHitFunction();
}
}