Frame 1
function itemHandler1(obj, item) {
_root._quality = "high";
}
function itemHandler2(obj, item) {
_root._quality = "medium";
}
function itemHandler3(obj, item) {
_root._quality = "low";
}
function itemHandler4(obj, item) {
stopAllSounds();
_root.music.attachSound("song1");
_root.music.start(0, 10000);
}
function itemHandler9(obj, item) {
stopAllSounds();
}
var music = new Sound(_root);
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
item1 = new ContextMenuItem("High Quality", itemHandler1);
myMenu.customItems.push(item1);
item2 = new ContextMenuItem("Medium Quality", itemHandler2);
myMenu.customItems.push(item2);
item3 = new ContextMenuItem("Low Quality", itemHandler3);
myMenu.customItems.push(item3);
item4 = new ContextMenuItem("Nightmare Before Christmas", itemHandler4, true);
myMenu.customItems.push(item4);
item9 = new ContextMenuItem("No Music", itemHandler9);
myMenu.customItems.push(item9);
_root.menu = myMenu;
Frame 3
stop();
Frame 4
stop();
Frame 5
stop();
Frame 6
stop();
Frame 7
stop();
Frame 8
stop();
frankenstein = false;
mummy = false;
vampire = false;
Frame 9
i = 1;
while (i < 4) {
_root.treatsm.duplicateMovieClip("treatsmm" + i, _root.getNextHighestDepth());
i++;
}
stop();
_root.timer = 22;
_root.score = 0;
onEnterFrame = function () {
if (_root.score < 1) {
_root.score = 0;
}
if (((_root.timer <= 0) && (_root.score >= 250)) && (_currentframe == 9)) {
_root.play();
}
if (((_root.timer <= 0) && (_root.score < 250)) && (_currentframe == 9)) {
_root.gotoAndPlay("gameover");
}
};
Instance of Symbol 98 MovieClip "player" in Frame 9
onClipEvent (load) {
if (_root.vampire == true) {
gotoAndStop (1);
}
if (_root.frankenstein == true) {
gotoAndStop (2);
}
if (_root.mummy == true) {
gotoAndStop (3);
}
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
}
Instance of Symbol 103 MovieClip "treatsm" in Frame 9
onClipEvent (load) {
gotoAndStop(random(4) + 1);
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(10) + 4;
}
onClipEvent (enterFrame) {
_y = (_y + fallspeed);
if (_y > 515) {
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(10) + 4;
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player) && (_currentframe == 2)) {
fallspeed = random(10) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player) && (_currentframe == 1)) {
fallspeed = random(10) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player) && (_currentframe == 2)) {
fallspeed = random(10) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player) && (_currentframe == 3)) {
fallspeed = random(10) + 4;
_root.score = _root.score + 20;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player) && (_currentframe == 4)) {
fallspeed = random(10) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (_root._currentframe != 9) {
this.removeMovieClip();
}
}
Frame 10
stop();
Frame 11
stop();
frankenstein = false;
mummy = false;
vampire = false;
grim = false;
Frame 12
i = 1;
while (i < 4) {
_root.treatsm2.duplicateMovieClip("treatsmm2" + i, _root.getNextHighestDepth());
i++;
}
stop();
_root.timer = 28;
onEnterFrame = function () {
if (_root.score < 1) {
_root.score = 0;
}
if (((_root.timer <= 0) && (_root.score >= 400)) && (_currentframe == 12)) {
_root.play();
}
if (((_root.timer <= 0) && (_root.score < 400)) && (_currentframe == 12)) {
_root.gotoAndPlay("gameover");
}
};
Instance of Symbol 98 MovieClip "player2" in Frame 12
onClipEvent (load) {
if (_root.vampire == true) {
gotoAndStop (1);
}
if (_root.frankenstein == true) {
gotoAndStop (2);
}
if (_root.mummy == true) {
gotoAndStop (3);
}
if (_root.grim == true) {
gotoAndStop (4);
}
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
}
Instance of Symbol 103 MovieClip "treatsm2" in Frame 12
onClipEvent (load) {
gotoAndStop(random(4) + 1);
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(13) + 4;
}
onClipEvent (enterFrame) {
_y = (_y + fallspeed);
if (_y > 515) {
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(13) + 4;
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player2) && (_currentframe == 2)) {
fallspeed = random(13) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player2) && (_currentframe == 1)) {
fallspeed = random(13) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player2) && (_currentframe == 2)) {
fallspeed = random(13) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player2) && (_currentframe == 3)) {
fallspeed = random(13) + 4;
_root.score = _root.score + 20;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player2) && (_currentframe == 4)) {
fallspeed = random(13) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (_root._currentframe != 12) {
this.removeMovieClip();
}
}
Frame 13
stop();
Frame 14
stop();
frankenstein = false;
mummy = false;
vampire = false;
grim = false;
Frame 15
i = 1;
while (i < 4) {
_root.treatsm3.duplicateMovieClip("treatsmm3" + i, _root.getNextHighestDepth());
i++;
}
stop();
_root.timer = 22;
onEnterFrame = function () {
if (_root.score < 1) {
_root.score = 0;
}
if (((_root.timer <= 0) && (_root.score >= 660)) && (_currentframe == 15)) {
_root.play();
}
if (((_root.timer <= 0) && (_root.score < 660)) && (_currentframe == 15)) {
_root.gotoAndPlay("gameover");
}
};
Instance of Symbol 98 MovieClip "player3" in Frame 15
onClipEvent (load) {
if (_root.vampire == true) {
gotoAndStop (1);
}
if (_root.frankenstein == true) {
gotoAndStop (2);
}
if (_root.mummy == true) {
gotoAndStop (3);
}
if (_root.grim == true) {
gotoAndStop (4);
}
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
}
Instance of Symbol 103 MovieClip "treatsm3" in Frame 15
onClipEvent (load) {
gotoAndStop(random(4) + 1);
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(16) + 4;
}
onClipEvent (enterFrame) {
_y = (_y + fallspeed);
if (_y > 515) {
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(16) + 4;
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player3) && (_currentframe == 2)) {
fallspeed = random(16) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player3) && (_currentframe == 1)) {
fallspeed = random(16) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player3) && (_currentframe == 2)) {
fallspeed = random(16) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player3) && (_currentframe == 3)) {
fallspeed = random(16) + 4;
_root.score = _root.score + 20;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player3) && (_currentframe == 4)) {
fallspeed = random(16) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (_root._currentframe != 15) {
this.removeMovieClip();
}
}
Frame 16
stop();
Frame 17
stop();
frankenstein = false;
mummy = false;
vampire = false;
grim = false;
superman = false;
Frame 18
i = 1;
while (i < 4) {
_root.treatsm4.duplicateMovieClip("treatsmm4" + i, _root.getNextHighestDepth());
i++;
}
stop();
_root.timer = 22;
onEnterFrame = function () {
if (_root.score < 1) {
_root.score = 0;
}
if (((_root.timer <= 0) && (_root.score >= 800)) && (_currentframe == 18)) {
_root.play();
}
if (((_root.timer <= 0) && (_root.score < 800)) && (_currentframe == 18)) {
_root.gotoAndPlay("gameover");
}
};
Instance of Symbol 98 MovieClip "player4" in Frame 18
onClipEvent (load) {
if (_root.vampire == true) {
gotoAndStop (1);
}
if (_root.frankenstein == true) {
gotoAndStop (2);
}
if (_root.mummy == true) {
gotoAndStop (3);
}
if (_root.grim == true) {
gotoAndStop (4);
}
if (_root.superman == true) {
gotoAndStop (5);
}
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
}
Instance of Symbol 103 MovieClip "treatsm4" in Frame 18
onClipEvent (load) {
gotoAndStop(random(4) + 1);
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(19) + 4;
}
onClipEvent (enterFrame) {
_y = (_y + fallspeed);
if (_y > 515) {
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(19) + 4;
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player4) && (_currentframe == 2)) {
fallspeed = random(19) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player4) && (_currentframe == 1)) {
fallspeed = random(19) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player4) && (_currentframe == 2)) {
fallspeed = random(19) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player4) && (_currentframe == 3)) {
fallspeed = random(19) + 4;
_root.score = _root.score + 20;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player4) && (_currentframe == 4)) {
fallspeed = random(19) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (_root._currentframe != 18) {
this.removeMovieClip();
}
}
Frame 19
stop();
Frame 20
stop();
frankenstein = false;
mummy = false;
vampire = false;
grim = false;
superman = false;
Frame 21
i = 1;
while (i < 4) {
_root.treatsm5.duplicateMovieClip("treatsmm5" + i, _root.getNextHighestDepth());
i++;
}
stop();
_root.timer = 22;
onEnterFrame = function () {
if (_root.score < 1) {
_root.score = 0;
}
if (((_root.timer <= 0) && (_root.score >= 1020)) && (_currentframe == 21)) {
_root.play();
}
if (((_root.timer <= 0) && (_root.score < 1020)) && (_currentframe == 21)) {
_root.gotoAndPlay("gameover");
}
};
Instance of Symbol 98 MovieClip "player5" in Frame 21
onClipEvent (load) {
if (_root.vampire == true) {
gotoAndStop (1);
}
if (_root.frankenstein == true) {
gotoAndStop (2);
}
if (_root.mummy == true) {
gotoAndStop (3);
}
if (_root.grim == true) {
gotoAndStop (4);
}
if (_root.superman == true) {
gotoAndStop (5);
}
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
}
Instance of Symbol 103 MovieClip "treatsm5" in Frame 21
onClipEvent (load) {
gotoAndStop(random(4) + 1);
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(22) + 4;
}
onClipEvent (enterFrame) {
_y = (_y + fallspeed);
if (_y > 515) {
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(19) + 4;
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player5) && (_currentframe == 2)) {
fallspeed = random(22) + 4;
_root.score = _root.score + 20;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player5) && (_currentframe == 1)) {
fallspeed = random(22) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player5) && (_currentframe == 2)) {
fallspeed = random(22) + 4;
_root.score = _root.score + 20;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player5) && (_currentframe == 3)) {
fallspeed = random(22) + 4;
_root.score = _root.score + 20;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player5) && (_currentframe == 4)) {
fallspeed = random(22) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (_root._currentframe != 21) {
this.removeMovieClip();
}
}
Frame 22
stop();
Frame 23
stop();
frankenstein = false;
mummy = false;
vampire = false;
grim = false;
superman = false;
fox = false;
Frame 24
i = 1;
while (i < 4) {
_root.treatsm6.duplicateMovieClip("treatsmm6" + i, _root.getNextHighestDepth());
i++;
}
stop();
_root.timer = 22;
onEnterFrame = function () {
if (_root.score < 1) {
_root.score = 0;
}
if (((_root.timer <= 0) && (_root.score >= 1200)) && (_currentframe == 24)) {
_root.play();
}
if (((_root.timer <= 0) && (_root.score < 1200)) && (_currentframe == 24)) {
_root.gotoAndPlay("gameover");
}
};
Instance of Symbol 98 MovieClip "player6" in Frame 24
onClipEvent (load) {
if (_root.vampire == true) {
gotoAndStop (1);
}
if (_root.frankenstein == true) {
gotoAndStop (2);
}
if (_root.mummy == true) {
gotoAndStop (3);
}
if (_root.grim == true) {
gotoAndStop (4);
}
if (_root.superman == true) {
gotoAndStop (5);
}
if (_root.fox == true) {
gotoAndStop (9);
}
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
}
Instance of Symbol 103 MovieClip "treatsm6" in Frame 24
onClipEvent (load) {
gotoAndStop(random(4) + 1);
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(25) + 4;
}
onClipEvent (enterFrame) {
_y = (_y + fallspeed);
if (_y > 515) {
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(19) + 4;
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player6) && (_currentframe == 2)) {
fallspeed = random(25) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player6) && (_currentframe == 1)) {
fallspeed = random(25) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player6) && (_currentframe == 2)) {
fallspeed = random(25) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player6) && (_currentframe == 3)) {
fallspeed = random(25) + 4;
_root.score = _root.score + 20;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player6) && (_currentframe == 4)) {
fallspeed = random(25) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (_root._currentframe != 24) {
this.removeMovieClip();
}
}
Frame 25
stop();
Frame 26
stop();
frankenstein = false;
mummy = false;
vampire = false;
grim = false;
superman = false;
fox = false;
Frame 27
i = 1;
while (i < 4) {
_root.treatsm7.duplicateMovieClip("treatsmm7" + i, _root.getNextHighestDepth());
i++;
}
stop();
_root.timer = 22;
onEnterFrame = function () {
if (_root.score < 1) {
_root.score = 0;
}
if (((_root.timer <= 0) && (_root.score >= 1410)) && (_currentframe == 27)) {
_root.play();
}
if (((_root.timer <= 0) && (_root.score < 1410)) && (_currentframe == 27)) {
_root.gotoAndPlay("gameover");
}
};
Instance of Symbol 98 MovieClip "player7" in Frame 27
onClipEvent (load) {
if (_root.vampire == true) {
gotoAndStop (1);
}
if (_root.frankenstein == true) {
gotoAndStop (2);
}
if (_root.mummy == true) {
gotoAndStop (3);
}
if (_root.grim == true) {
gotoAndStop (4);
}
if (_root.superman == true) {
gotoAndStop (5);
}
if (_root.fox == true) {
gotoAndStop (9);
}
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
}
Instance of Symbol 103 MovieClip "treatsm7" in Frame 27
onClipEvent (load) {
gotoAndStop(random(4) + 1);
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(25) + 4;
}
onClipEvent (enterFrame) {
_y = (_y + fallspeed);
if (_y > 515) {
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(19) + 4;
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player7) && (_currentframe == 2)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player7) && (_currentframe == 1)) {
fallspeed = random(30) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player7) && (_currentframe == 2)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player7) && (_currentframe == 3)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 20;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player7) && (_currentframe == 4)) {
fallspeed = random(30) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (_root._currentframe != 27) {
this.removeMovieClip();
}
}
Frame 28
stop();
Frame 29
stop();
frankenstein = false;
mummy = false;
vampire = false;
grim = false;
superman = false;
fox = false;
pirate = false;
Frame 30
i = 1;
while (i < 4) {
_root.treatsm8.duplicateMovieClip("treatsmm8" + i, _root.getNextHighestDepth());
i++;
}
stop();
_root.timer = 22;
onEnterFrame = function () {
if (_root.score < 1) {
_root.score = 0;
}
if (((_root.timer <= 0) && (_root.score >= 1600)) && (_currentframe == 30)) {
_root.play();
}
if (((_root.timer <= 0) && (_root.score < 1600)) && (_currentframe == 30)) {
_root.gotoAndPlay("gameover");
}
};
Instance of Symbol 98 MovieClip "player8" in Frame 30
onClipEvent (load) {
if (_root.vampire == true) {
gotoAndStop (1);
}
if (_root.frankenstein == true) {
gotoAndStop (2);
}
if (_root.mummy == true) {
gotoAndStop (3);
}
if (_root.grim == true) {
gotoAndStop (4);
}
if (_root.superman == true) {
gotoAndStop (5);
}
if (_root.fox == true) {
gotoAndStop (9);
}
if (_root.pirate == true) {
gotoAndStop (6);
}
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
}
Instance of Symbol 103 MovieClip "treatsm8" in Frame 30
onClipEvent (load) {
gotoAndStop(random(4) + 1);
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(25) + 4;
}
onClipEvent (enterFrame) {
_y = (_y + fallspeed);
if (_y > 515) {
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(19) + 4;
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 2)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 1)) {
fallspeed = random(30) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 2)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 3)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 20;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player8) && (_currentframe == 4)) {
fallspeed = random(30) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (_root._currentframe != 30) {
this.removeMovieClip();
}
}
Frame 31
stop();
Frame 32
stop();
frankenstein = false;
mummy = false;
vampire = false;
grim = false;
superman = false;
fox = false;
pirate = false;
Frame 33
i = 1;
while (i < 4) {
_root.treatsm9.duplicateMovieClip("treatsmm9" + i, _root.getNextHighestDepth());
i++;
}
stop();
_root.timer = 22;
onEnterFrame = function () {
if (_root.score < 1) {
_root.score = 0;
}
if (((_root.timer <= 0) && (_root.score >= 1810)) && (_currentframe == 33)) {
_root.play();
}
if (((_root.timer <= 0) && (_root.score < 1810)) && (_currentframe == 33)) {
_root.gotoAndPlay("gameover");
}
};
Instance of Symbol 98 MovieClip "player9" in Frame 33
onClipEvent (load) {
if (_root.vampire == true) {
gotoAndStop (1);
}
if (_root.frankenstein == true) {
gotoAndStop (2);
}
if (_root.mummy == true) {
gotoAndStop (3);
}
if (_root.grim == true) {
gotoAndStop (4);
}
if (_root.superman == true) {
gotoAndStop (5);
}
if (_root.fox == true) {
gotoAndStop (9);
}
if (_root.pirate == true) {
gotoAndStop (6);
}
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
}
Instance of Symbol 103 MovieClip "treatsm9" in Frame 33
onClipEvent (load) {
gotoAndStop(random(4) + 1);
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(25) + 4;
}
onClipEvent (enterFrame) {
_y = (_y + fallspeed);
if (_y > 515) {
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(19) + 4;
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player9) && (_currentframe == 2)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player9) && (_currentframe == 1)) {
fallspeed = random(30) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player9) && (_currentframe == 2)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player9) && (_currentframe == 3)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player9) && (_currentframe == 4)) {
fallspeed = random(30) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (_root._currentframe != 33) {
this.removeMovieClip();
}
}
Frame 34
stop();
Frame 35
stop();
frankenstein = false;
mummy = false;
vampire = false;
grim = false;
superman = false;
fox = false;
pirate = false;
Frame 36
i = 1;
while (i < 4) {
_root.treatsm10.duplicateMovieClip("treatsmm10" + i, _root.getNextHighestDepth());
i++;
}
stop();
_root.timer = 22;
onEnterFrame = function () {
if (_root.score < 1) {
_root.score = 0;
}
if (((_root.timer <= 0) && (_root.score >= 2000)) && (_currentframe == 36)) {
_root.play();
}
if (((_root.timer <= 0) && (_root.score < 2000)) && (_currentframe == 36)) {
_root.gotoAndPlay("gameover");
}
};
Instance of Symbol 98 MovieClip "player10" in Frame 36
onClipEvent (load) {
if (_root.vampire == true) {
gotoAndStop (1);
}
if (_root.frankenstein == true) {
gotoAndStop (2);
}
if (_root.mummy == true) {
gotoAndStop (3);
}
if (_root.grim == true) {
gotoAndStop (4);
}
if (_root.superman == true) {
gotoAndStop (5);
}
if (_root.fox == true) {
gotoAndStop (9);
}
if (_root.pirate == true) {
gotoAndStop (6);
}
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
}
Instance of Symbol 103 MovieClip "treatsm10" in Frame 36
onClipEvent (load) {
gotoAndStop(random(4) + 1);
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(25) + 4;
}
onClipEvent (enterFrame) {
_y = (_y + fallspeed);
if (_y > 515) {
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(19) + 4;
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player10) && (_currentframe == 2)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player10) && (_currentframe == 1)) {
fallspeed = random(30) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player10) && (_currentframe == 2)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player10) && (_currentframe == 3)) {
fallspeed = random(30) + 4;
_root.score = _root.score + 20;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player10) && (_currentframe == 4)) {
fallspeed = random(30) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (_root._currentframe != 36) {
this.removeMovieClip();
}
}
Frame 37
stop();
Frame 38
stop();
frankenstein = false;
mummy = false;
vampire = false;
grim = false;
superman = false;
fox = false;
pirate = false;
Frame 39
i = 1;
while (i < 4) {
_root.treatsm11.duplicateMovieClip("treatsmm11" + i, _root.getNextHighestDepth());
i++;
}
stop();
_root.timer = 22;
onEnterFrame = function () {
if (_root.score < 1) {
_root.score = 0;
}
if (((_root.timer <= 0) && (_root.score >= 2200)) && (_currentframe == 39)) {
_root.play();
}
if (((_root.timer <= 0) && (_root.score < 2200)) && (_currentframe == 39)) {
_root.gotoAndPlay("gameover");
}
};
Instance of Symbol 98 MovieClip "player11" in Frame 39
onClipEvent (load) {
if (_root.vampire == true) {
gotoAndStop (1);
}
if (_root.frankenstein == true) {
gotoAndStop (2);
}
if (_root.mummy == true) {
gotoAndStop (3);
}
if (_root.grim == true) {
gotoAndStop (4);
}
if (_root.superman == true) {
gotoAndStop (5);
}
if (_root.fox == true) {
gotoAndStop (9);
}
if (_root.pirate == true) {
gotoAndStop (6);
}
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
}
Instance of Symbol 103 MovieClip "treatsm11" in Frame 39
onClipEvent (load) {
gotoAndStop(random(4) + 1);
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(25) + 4;
}
onClipEvent (enterFrame) {
_y = (_y + fallspeed);
if (_y > 515) {
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(19) + 4;
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player11) && (_currentframe == 2)) {
fallspeed = random(32) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player11) && (_currentframe == 1)) {
fallspeed = random(32) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player11) && (_currentframe == 2)) {
fallspeed = random(32) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player11) && (_currentframe == 3)) {
fallspeed = random(32) + 4;
_root.score = _root.score + 20;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player11) && (_currentframe == 4)) {
fallspeed = random(32) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (_root._currentframe != 39) {
this.removeMovieClip();
}
}
Frame 40
stop();
Frame 41
stop();
frankenstein = false;
mummy = false;
vampire = false;
grim = false;
superman = false;
fox = false;
pirate = false;
fatty = false;
Frame 42
i = 1;
while (i < 4) {
_root.treatsm12.duplicateMovieClip("treatsmm12" + i, _root.getNextHighestDepth());
i++;
}
stop();
_root.timer = 22;
onEnterFrame = function () {
if (_root.score < 1) {
_root.score = 0;
}
if (((_root.timer <= 0) && (_root.score >= 2415)) && (_currentframe == 42)) {
_root.play();
}
if (((_root.timer <= 0) && (_root.score < 2415)) && (_currentframe == 42)) {
_root.gotoAndPlay("gameover");
}
};
Instance of Symbol 98 MovieClip "player12" in Frame 42
onClipEvent (load) {
if (_root.vampire == true) {
gotoAndStop (1);
}
if (_root.frankenstein == true) {
gotoAndStop (2);
}
if (_root.mummy == true) {
gotoAndStop (3);
}
if (_root.grim == true) {
gotoAndStop (4);
}
if (_root.superman == true) {
gotoAndStop (5);
}
if (_root.fox == true) {
gotoAndStop (9);
}
if (_root.pirate == true) {
gotoAndStop (6);
}
if (_root.fatty == true) {
gotoAndStop (10);
}
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
}
Instance of Symbol 103 MovieClip "treatsm12" in Frame 42
onClipEvent (load) {
gotoAndStop(random(4) + 1);
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(32) + 4;
}
onClipEvent (enterFrame) {
_y = (_y + fallspeed);
if (_y > 515) {
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(19) + 4;
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player12) && (_currentframe == 2)) {
fallspeed = random(32) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player12) && (_currentframe == 1)) {
fallspeed = random(32) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player12) && (_currentframe == 2)) {
fallspeed = random(32) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player12) && (_currentframe == 3)) {
fallspeed = random(32) + 4;
_root.score = _root.score + 20;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player12) && (_currentframe == 4)) {
fallspeed = random(32) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (_root._currentframe != 42) {
this.removeMovieClip();
}
}
Frame 43
stop();
Frame 44
stop();
frankenstein = false;
mummy = false;
vampire = false;
grim = false;
superman = false;
fox = false;
pirate = false;
fatty = false;
Frame 45
i = 1;
while (i < 4) {
_root.treatsm13.duplicateMovieClip("treatsmm13" + i, _root.getNextHighestDepth());
i++;
}
stop();
_root.timer = 22;
onEnterFrame = function () {
if (_root.score < 1) {
_root.score = 0;
}
if (((_root.timer <= 0) && (_root.score >= 2620)) && (_currentframe == 45)) {
_root.play();
}
if (((_root.timer <= 0) && (_root.score < 2620)) && (_currentframe == 45)) {
_root.gotoAndPlay("gameover");
}
};
Instance of Symbol 98 MovieClip "player13" in Frame 45
onClipEvent (load) {
if (_root.vampire == true) {
gotoAndStop (1);
}
if (_root.frankenstein == true) {
gotoAndStop (2);
}
if (_root.mummy == true) {
gotoAndStop (3);
}
if (_root.grim == true) {
gotoAndStop (4);
}
if (_root.superman == true) {
gotoAndStop (5);
}
if (_root.fox == true) {
gotoAndStop (9);
}
if (_root.pirate == true) {
gotoAndStop (6);
}
if (_root.fatty == true) {
gotoAndStop (10);
}
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
}
Instance of Symbol 103 MovieClip "treatsm13" in Frame 45
onClipEvent (load) {
gotoAndStop(random(4) + 1);
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(32) + 4;
}
onClipEvent (enterFrame) {
_y = (_y + fallspeed);
if (_y > 515) {
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(19) + 4;
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player13) && (_currentframe == 2)) {
fallspeed = random(32) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player13) && (_currentframe == 1)) {
fallspeed = random(32) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player13) && (_currentframe == 2)) {
fallspeed = random(32) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player13) && (_currentframe == 3)) {
fallspeed = random(32) + 4;
_root.score = _root.score + 20;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player13) && (_currentframe == 4)) {
fallspeed = random(32) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (_root._currentframe != 45) {
this.removeMovieClip();
}
}
Frame 46
stop();
Frame 47
stop();
frankenstein = false;
mummy = false;
vampire = false;
grim = false;
superman = false;
fox = false;
pirate = false;
fatty = false;
mario = false;
Frame 48
i = 1;
while (i < 4) {
_root.treatsm14.duplicateMovieClip("treatsmm14" + i, _root.getNextHighestDepth());
i++;
}
stop();
_root.timer = 22;
onEnterFrame = function () {
if (_root.score < 1) {
_root.score = 0;
}
if (((_root.timer <= 0) && (_root.score >= 2810)) && (_currentframe == 48)) {
_root.play();
}
if (((_root.timer <= 0) && (_root.score < 2810)) && (_currentframe == 48)) {
_root.gotoAndPlay("gameover");
}
};
Instance of Symbol 98 MovieClip "player14" in Frame 48
onClipEvent (load) {
if (_root.vampire == true) {
gotoAndStop (1);
}
if (_root.frankenstein == true) {
gotoAndStop (2);
}
if (_root.mummy == true) {
gotoAndStop (3);
}
if (_root.grim == true) {
gotoAndStop (4);
}
if (_root.superman == true) {
gotoAndStop (5);
}
if (_root.fox == true) {
gotoAndStop (9);
}
if (_root.pirate == true) {
gotoAndStop (6);
}
if (_root.fatty == true) {
gotoAndStop (10);
}
if (_root.mario == true) {
gotoAndStop (7);
}
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
}
Instance of Symbol 103 MovieClip "treatsm14" in Frame 48
onClipEvent (load) {
gotoAndStop(random(4) + 1);
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(35) + 4;
}
onClipEvent (enterFrame) {
_y = (_y + fallspeed);
if (_y > 515) {
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(19) + 4;
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player14) && (_currentframe == 2)) {
fallspeed = random(35) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player14) && (_currentframe == 1)) {
fallspeed = random(35) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player14) && (_currentframe == 2)) {
fallspeed = random(35) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player14) && (_currentframe == 3)) {
fallspeed = random(35) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player14) && (_currentframe == 4)) {
fallspeed = random(35) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (_root._currentframe != 48) {
this.removeMovieClip();
}
}
Frame 49
stop();
Frame 50
stop();
frankenstein = false;
mummy = false;
vampire = false;
grim = false;
superman = false;
fox = false;
pirate = false;
fatty = false;
mario = false;
Frame 51
i = 1;
while (i < 4) {
_root.treatsm15.duplicateMovieClip("treatsmm15" + i, _root.getNextHighestDepth());
i++;
}
stop();
_root.timer = 22;
onEnterFrame = function () {
if (_root.score < 1) {
_root.score = 0;
}
if (((_root.timer <= 0) && (_root.score >= 3000)) && (_currentframe == 51)) {
_root.play();
}
if (((_root.timer <= 0) && (_root.score < 3000)) && (_currentframe == 51)) {
_root.gotoAndPlay("gameover");
}
};
Instance of Symbol 98 MovieClip "player15" in Frame 51
onClipEvent (load) {
if (_root.vampire == true) {
gotoAndStop (1);
}
if (_root.frankenstein == true) {
gotoAndStop (2);
}
if (_root.mummy == true) {
gotoAndStop (3);
}
if (_root.grim == true) {
gotoAndStop (4);
}
if (_root.superman == true) {
gotoAndStop (5);
}
if (_root.fox == true) {
gotoAndStop (9);
}
if (_root.pirate == true) {
gotoAndStop (6);
}
if (_root.fatty == true) {
gotoAndStop (10);
}
if (_root.mario == true) {
gotoAndStop (7);
}
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
}
Instance of Symbol 103 MovieClip "treatsm15" in Frame 51
onClipEvent (load) {
gotoAndStop(random(4) + 1);
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(35) + 4;
}
onClipEvent (enterFrame) {
_y = (_y + fallspeed);
if (_y > 515) {
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(19) + 4;
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player15) && (_currentframe == 2)) {
fallspeed = random(35) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player15) && (_currentframe == 1)) {
fallspeed = random(35) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player15) && (_currentframe == 2)) {
fallspeed = random(35) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player15) && (_currentframe == 3)) {
fallspeed = random(35) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player15) && (_currentframe == 4)) {
fallspeed = random(35) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (_root._currentframe != 51) {
this.removeMovieClip();
}
}
Frame 52
stop();
Frame 53
stop();
frankenstein = false;
mummy = false;
vampire = false;
grim = false;
superman = false;
fox = false;
pirate = false;
fatty = false;
mario = false;
turtle = false;
Frame 54
i = 1;
while (i < 4) {
_root.treatsm16.duplicateMovieClip("treatsmm16" + i, _root.getNextHighestDepth());
i++;
}
stop();
_root.timer = 22;
onEnterFrame = function () {
if (_root.score < 1) {
_root.score = 0;
}
if (((_root.timer <= 0) && (_root.score >= 3250)) && (_currentframe == 54)) {
_root.play();
}
if (((_root.timer <= 0) && (_root.score < 3250)) && (_currentframe == 54)) {
_root.gotoAndPlay("gameover");
}
};
Instance of Symbol 98 MovieClip "player16" in Frame 54
onClipEvent (load) {
if (_root.vampire == true) {
gotoAndStop (1);
}
if (_root.frankenstein == true) {
gotoAndStop (2);
}
if (_root.mummy == true) {
gotoAndStop (3);
}
if (_root.grim == true) {
gotoAndStop (4);
}
if (_root.superman == true) {
gotoAndStop (5);
}
if (_root.fox == true) {
gotoAndStop (9);
}
if (_root.pirate == true) {
gotoAndStop (6);
}
if (_root.fatty == true) {
gotoAndStop (10);
}
if (_root.mario == true) {
gotoAndStop (7);
}
if (_root.turtle == true) {
gotoAndStop (11);
}
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
}
Instance of Symbol 103 MovieClip "treatsm16" in Frame 54
onClipEvent (load) {
gotoAndStop(random(4) + 1);
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(35) + 4;
}
onClipEvent (enterFrame) {
_y = (_y + fallspeed);
if (_y > 515) {
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(19) + 4;
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player16) && (_currentframe == 2)) {
fallspeed = random(35) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player16) && (_currentframe == 1)) {
fallspeed = random(35) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player16) && (_currentframe == 2)) {
fallspeed = random(35) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player16) && (_currentframe == 3)) {
fallspeed = random(35) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player16) && (_currentframe == 4)) {
fallspeed = random(35) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (_root._currentframe != 54) {
this.removeMovieClip();
}
}
Frame 55
stop();
Frame 56
stop();
frankenstein = false;
mummy = false;
vampire = false;
grim = false;
superman = false;
fox = false;
pirate = false;
fatty = false;
mario = false;
turtle = false;
Frame 57
i = 1;
while (i < 4) {
_root.treatsm17.duplicateMovieClip("treatsmm17" + i, _root.getNextHighestDepth());
i++;
}
stop();
_root.timer = 22;
onEnterFrame = function () {
if (_root.score < 1) {
_root.score = 0;
}
if (((_root.timer <= 0) && (_root.score >= 3450)) && (_currentframe == 57)) {
_root.play();
}
if (((_root.timer <= 0) && (_root.score < 3450)) && (_currentframe == 57)) {
_root.gotoAndPlay("gameover");
}
};
Instance of Symbol 98 MovieClip "player17" in Frame 57
onClipEvent (load) {
if (_root.vampire == true) {
gotoAndStop (1);
}
if (_root.frankenstein == true) {
gotoAndStop (2);
}
if (_root.mummy == true) {
gotoAndStop (3);
}
if (_root.grim == true) {
gotoAndStop (4);
}
if (_root.superman == true) {
gotoAndStop (5);
}
if (_root.fox == true) {
gotoAndStop (9);
}
if (_root.pirate == true) {
gotoAndStop (6);
}
if (_root.fatty == true) {
gotoAndStop (10);
}
if (_root.mario == true) {
gotoAndStop (7);
}
if (_root.turtle == true) {
gotoAndStop (11);
}
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
}
Instance of Symbol 103 MovieClip "treatsm17" in Frame 57
onClipEvent (load) {
gotoAndStop(random(4) + 1);
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(35) + 4;
}
onClipEvent (enterFrame) {
_y = (_y + fallspeed);
if (_y > 515) {
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(19) + 4;
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player17) && (_currentframe == 2)) {
fallspeed = random(35) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player17) && (_currentframe == 1)) {
fallspeed = random(35) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player17) && (_currentframe == 2)) {
fallspeed = random(35) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player17) && (_currentframe == 3)) {
fallspeed = random(35) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player17) && (_currentframe == 4)) {
fallspeed = random(35) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (_root._currentframe != 57) {
this.removeMovieClip();
}
}
Frame 58
stop();
Frame 59
stop();
frankenstein = false;
mummy = false;
vampire = false;
grim = false;
superman = false;
fox = false;
pirate = false;
fatty = false;
mario = false;
turtle = false;
subzero = false;
Frame 60
i = 1;
while (i < 4) {
_root.treatsm18.duplicateMovieClip("treatsmm18" + i, _root.getNextHighestDepth());
i++;
}
stop();
_root.timer = 22;
onEnterFrame = function () {
if (_root.score < 1) {
_root.score = 0;
}
if (((_root.timer <= 0) && (_root.score >= 3620)) && (_currentframe == 60)) {
_root.play();
}
if (((_root.timer <= 0) && (_root.score < 3620)) && (_currentframe == 60)) {
_root.gotoAndPlay("gameover");
}
};
Instance of Symbol 98 MovieClip "player18" in Frame 60
onClipEvent (load) {
if (_root.vampire == true) {
gotoAndStop (1);
}
if (_root.frankenstein == true) {
gotoAndStop (2);
}
if (_root.mummy == true) {
gotoAndStop (3);
}
if (_root.grim == true) {
gotoAndStop (4);
}
if (_root.superman == true) {
gotoAndStop (5);
}
if (_root.fox == true) {
gotoAndStop (9);
}
if (_root.pirate == true) {
gotoAndStop (6);
}
if (_root.fatty == true) {
gotoAndStop (10);
}
if (_root.mario == true) {
gotoAndStop (7);
}
if (_root.turtle == true) {
gotoAndStop (11);
}
if (_root.subzero == true) {
gotoAndStop (8);
}
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
}
Instance of Symbol 103 MovieClip "treatsm18" in Frame 60
onClipEvent (load) {
gotoAndStop(random(4) + 1);
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(35) + 4;
}
onClipEvent (enterFrame) {
_y = (_y + fallspeed);
if (_y > 515) {
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(19) + 4;
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player18) && (_currentframe == 2)) {
fallspeed = random(37) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player18) && (_currentframe == 1)) {
fallspeed = random(37) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player18) && (_currentframe == 2)) {
fallspeed = random(37) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player18) && (_currentframe == 3)) {
fallspeed = random(37) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player18) && (_currentframe == 4)) {
fallspeed = random(37) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (_root._currentframe != 60) {
this.removeMovieClip();
}
}
Frame 61
stop();
Frame 62
stop();
frankenstein = false;
mummy = false;
vampire = false;
grim = false;
superman = false;
fox = false;
pirate = false;
fatty = false;
mario = false;
turtle = false;
subzero = false;
Frame 63
i = 1;
while (i < 4) {
_root.treatsm19.duplicateMovieClip("treatsmm19" + i, _root.getNextHighestDepth());
i++;
}
stop();
_root.timer = 22;
onEnterFrame = function () {
if (_root.score < 1) {
_root.score = 0;
}
if (((_root.timer <= 0) && (_root.score >= 3800)) && (_currentframe == 63)) {
_root.play();
}
if (((_root.timer <= 0) && (_root.score < 3800)) && (_currentframe == 63)) {
_root.gotoAndPlay("gameover");
}
};
Instance of Symbol 98 MovieClip "player19" in Frame 63
onClipEvent (load) {
if (_root.vampire == true) {
gotoAndStop (1);
}
if (_root.frankenstein == true) {
gotoAndStop (2);
}
if (_root.mummy == true) {
gotoAndStop (3);
}
if (_root.grim == true) {
gotoAndStop (4);
}
if (_root.superman == true) {
gotoAndStop (5);
}
if (_root.fox == true) {
gotoAndStop (9);
}
if (_root.pirate == true) {
gotoAndStop (6);
}
if (_root.fatty == true) {
gotoAndStop (10);
}
if (_root.mario == true) {
gotoAndStop (7);
}
if (_root.turtle == true) {
gotoAndStop (11);
}
if (_root.subzero == true) {
gotoAndStop (8);
}
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
}
Instance of Symbol 103 MovieClip "treatsm19" in Frame 63
onClipEvent (load) {
gotoAndStop(random(4) + 1);
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(40) + 4;
}
onClipEvent (enterFrame) {
_y = (_y + fallspeed);
if (_y > 515) {
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(19) + 4;
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player19) && (_currentframe == 2)) {
fallspeed = random(40) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player19) && (_currentframe == 1)) {
fallspeed = random(40) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player19) && (_currentframe == 2)) {
fallspeed = random(40) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player19) && (_currentframe == 3)) {
fallspeed = random(40) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player19) && (_currentframe == 4)) {
fallspeed = random(40) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (_root._currentframe != 63) {
this.removeMovieClip();
}
}
Frame 64
stop();
Frame 65
stop();
frankenstein = false;
mummy = false;
vampire = false;
grim = false;
superman = false;
fox = false;
pirate = false;
fatty = false;
mario = false;
turtle = false;
subzero = false;
me = false;
Frame 66
i = 1;
while (i < 4) {
_root.treatsm20.duplicateMovieClip("treatsmm20" + i, _root.getNextHighestDepth());
i++;
}
stop();
_root.timer = 22;
onEnterFrame = function () {
if (_root.score < 1) {
_root.score = 0;
}
if (((_root.timer <= 0) && (_root.score >= 4000)) && (_currentframe == 66)) {
_root.play();
}
if (((_root.timer <= 0) && (_root.score < 4000)) && (_currentframe == 66)) {
_root.gotoAndPlay("gameover");
}
};
Instance of Symbol 98 MovieClip "player20" in Frame 66
onClipEvent (load) {
if (_root.vampire == true) {
gotoAndStop (1);
}
if (_root.frankenstein == true) {
gotoAndStop (2);
}
if (_root.mummy == true) {
gotoAndStop (3);
}
if (_root.grim == true) {
gotoAndStop (4);
}
if (_root.superman == true) {
gotoAndStop (5);
}
if (_root.fox == true) {
gotoAndStop (9);
}
if (_root.pirate == true) {
gotoAndStop (6);
}
if (_root.fatty == true) {
gotoAndStop (10);
}
if (_root.mario == true) {
gotoAndStop (7);
}
if (_root.turtle == true) {
gotoAndStop (11);
}
if (_root.subzero == true) {
gotoAndStop (8);
}
if (_root.me == true) {
gotoAndStop (12);
}
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
}
Instance of Symbol 103 MovieClip "treatsm20" in Frame 66
onClipEvent (load) {
gotoAndStop(random(4) + 1);
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(40) + 4;
}
onClipEvent (enterFrame) {
_y = (_y + fallspeed);
if (_y > 515) {
_x = random(700);
_y = ((Math.random() * 1) * -100);
fallspeed = random(19) + 4;
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player20) && (_currentframe == 2)) {
fallspeed = random(40) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player20) && (_currentframe == 1)) {
fallspeed = random(40) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player20) && (_currentframe == 2)) {
fallspeed = random(40) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player20) && (_currentframe == 3)) {
fallspeed = random(40) + 4;
_root.score = _root.score + 30;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (this.hitTest(_root.player20) && (_currentframe == 4)) {
fallspeed = random(40) + 4;
_root.score = _root.score - 50;
_y = ((Math.random() * 1) * -100);
_x = random(700);
gotoAndStop(random(4) + 1);
}
if (_root._currentframe != 66) {
this.removeMovieClip();
}
}
Frame 67
stop();
Frame 68
stop();
function send_vars(username, score, code, u) {
var _local1 = new LoadVars();
var _local2 = new LoadVars();
_local1.username = username;
_local1.score = score;
_local1.code458 = code;
_local1.sendAndLoad(u, _local2, "POST");
}
btn_send.onRelease = function () {
player_name = name;
player_score = score;
send_vars(player_name, player_score, "tN2LVuDl72nAdXE0noBQ8ZQ3XcN9gGdV", "http://www.pogollama.com/scoreboards/submit_scores.php");
getURL ("http://www.pogollama.com/scoreboards/catch_the_cadny/view_scores_1.php", _blank);
};
Symbol 28 Button
on (release) {
getURL ("http://www.newgrounds.com", "_blank");
}
Symbol 30 MovieClip Frame 40
stop();
Symbol 42 Button
on (release) {
startMovie();
}
Symbol 43 MovieClip Frame 1
function timerHandler() {
if (!loadingComplete) {
var _local4 = _root.getBytesLoaded() / _root.getBytesTotal();
bar._xscale = 100 * _local4;
if (_local4 == 1) {
loadingComplete = true;
if (AUTO_PLAY) {
startMovie();
} else {
gotoAndStop ("loaded");
}
return(undefined);
}
}
dt = getTimer() - time;
time = time + dt;
frameAccum = frameAccum + dt;
var _local3 = 0;
while ((frameAccum >= FRAME_TIME) && (_local3 < MAX_FRAME_SKIP)) {
advanceFrame(tankLogo, true, true);
advanceFrame(loadingText, false, true);
advanceFrame(barGfx, false, true);
if (loadingComplete) {
advanceFrame(this, false, false);
}
(frameAccum = frameAccum - FRAME_TIME);
_local3++;
}
updateAfterEvent();
}
function advanceFrame(clip, recurse, loop) {
if (!clip) {
return(undefined);
}
clip.stop();
if (clip._currentframe == clip._totalframes) {
if (loop) {
clip.gotoAndStop(1);
}
} else {
clip.nextFrame();
}
if (recurse) {
for (childName in clip) {
if (typeof(clip[childName]) == "movieclip") {
advanceFrame(clip[childName], recurse, loop);
}
}
}
}
function startMovie() {
clearInterval(intervalId);
_root.play();
}
_root.stop();
stop();
var FRAME_TIME = 33.3333333333333;
var AUTO_PLAY = false;
var MAX_FRAME_SKIP = 5;
var loadingComplete;
var intervalId;
var time;
var frameAccum;
loadingComplete = false;
intervalId = setInterval(this, "timerHandler", FRAME_TIME / 2);
frameAccum = 0;
time = getTimer();
timerHandler();
Symbol 43 MovieClip Frame 51
stop();
Symbol 49 Button
on (release) {
play();
}
Symbol 56 Button
on (release) {
gotoAndStop (6);
}
Symbol 60 Button
on (release) {
gotoAndPlay (7);
_root.timer = 22;
_root.score = 0;
}
Symbol 72 Button
on (press) {
_root.play();
_root.timer = 22;
_root.score = 0;
}
Symbol 75 Button
on (press) {
_root.frankenstein = true;
_root.mummy = false;
_root.vampire = false;
play();
}
Symbol 77 Button
on (press) {
_root.frankenstein = false;
_root.mummy = false;
_root.vampire = true;
play();
}
Symbol 79 Button
on (press) {
_root.frankenstein = false;
_root.mummy = true;
_root.vampire = false;
play();
}
Symbol 85 MovieClip Frame 20
_root.timer--;
Symbol 98 MovieClip Frame 1
stop();
Symbol 103 MovieClip Frame 1
stop();
Symbol 107 Button
on (press) {
_root.play();
}
Symbol 111 Button
on (press) {
_root.frankenstein = false;
_root.mummy = false;
_root.vampire = false;
_root.grim = true;
play();
}
Symbol 119 Button
on (press) {
_root.frankenstein = false;
_root.mummy = false;
_root.vampire = false;
_root.grim = true;
play();
}
Symbol 127 Button
on (press) {
_root.frankenstein = false;
_root.mummy = false;
_root.vampire = false;
_root.grim = false;
_root.superman = true;
play();
}
Symbol 139 Button
on (press) {
_root.frankenstein = false;
_root.mummy = false;
_root.vampire = false;
_root.grim = false;
_root.superman = false;
_root.fox = true;
play();
}
Symbol 152 Button
on (press) {
_root.frankenstein = false;
_root.mummy = false;
_root.vampire = false;
_root.grim = false;
_root.superman = false;
_root.fox = false;
_root.pirate = true;
play();
}
Symbol 176 Button
on (press) {
_root.frankenstein = false;
_root.mummy = false;
_root.vampire = false;
_root.grim = false;
_root.superman = false;
_root.fox = false;
_root.pirate = false;
_root.fatty = true;
play();
}
Symbol 187 Button
on (press) {
_root.frankenstein = false;
_root.mummy = false;
_root.vampire = false;
_root.grim = false;
_root.superman = false;
_root.fox = false;
_root.pirate = false;
_root.fatty = false;
_root.mario = true;
play();
}
Symbol 201 Button
on (press) {
_root.frankenstein = false;
_root.mummy = false;
_root.vampire = false;
_root.grim = false;
_root.superman = false;
_root.fox = false;
_root.pirate = false;
_root.fatty = false;
_root.mario = false;
_root.turtle = true;
play();
}
Symbol 212 Button
on (press) {
_root.frankenstein = false;
_root.mummy = false;
_root.vampire = false;
_root.grim = false;
_root.superman = false;
_root.fox = false;
_root.pirate = false;
_root.fatty = false;
_root.mario = false;
_root.turtle = false;
_root.subzero = true;
play();
}
Symbol 224 Button
on (press) {
_root.frankenstein = false;
_root.mummy = false;
_root.vampire = false;
_root.grim = false;
_root.superman = false;
_root.fox = false;
_root.pirate = false;
_root.fatty = false;
_root.mario = false;
_root.turtle = false;
_root.subzero = false;
_root.me = true;
play();
}
Symbol 235 Button
on (release) {
nextFrame();
}
Symbol 243 Button
on (release) {
gotoAndStop (7);
}