Frame 1
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
if (_root.percentLoaded == 100) {
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
Frame 3
Stage.showMenu = false;
stop();
Frame 4
stop();
Frame 5
stop();
Frame 6
stop();
Frame 7
stop();
Frame 8
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("86c983aa", this, 10301, true);
var score = 80000;
stop();
var pi = 110;
var ci = 120;
onEnterFrame = function () {
if (Key.isDown(32)) {
if (this.playerdroptime._currentframe == 125) {
pi++;
if (pi > 114) {
pi = 110;
}
if ((this.playernext._currentframe == 1) || (this.cpunext._currentframe == 4)) {
duplicateMovieClip ("playerblob", "playerblob" + pi, pi);
this.playerdroptime.gotoAndPlay(1);
}
if ((this.playernext._currentframe == 2) || (this.cpunext._currentframe == 5)) {
duplicateMovieClip ("playerbat", "playerbat" + pi, pi);
this.playerdroptime.gotoAndPlay(1);
}
if ((this.playernext._currentframe == 3) || (this.cpunext._currentframe == 6)) {
duplicateMovieClip ("playerpumpkin", "playerpumpkin" + pi, pi);
this.playerdroptime.gotoAndPlay(1);
}
}
}
if (this.cpudroptime._currentframe == 125) {
ci++;
if (ci > 124) {
ci = 120;
}
if ((this.cpunext._currentframe == 1) || (this.cpunext._currentframe == 4)) {
duplicateMovieClip ("cpublob", "cpublob" + ci, ci);
this.cpudroptime.gotoAndPlay(1);
}
if ((this.cpunext._currentframe == 2) || (this.cpunext._currentframe == 5)) {
duplicateMovieClip ("cpubat", "cpubat" + ci, ci);
this.cpudroptime.gotoAndPlay(1);
}
if ((this.cpunext._currentframe == 3) || (this.cpunext._currentframe == 6)) {
duplicateMovieClip ("cpupumpkin", "cpupumpkin" + ci, ci);
this.cpudroptime.gotoAndPlay(1);
}
}
};
Instance of Symbol 169 MovieClip "playercandy" in Frame 8
onClipEvent (load) {
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (_root.playercandy._currentframe == 5) {
_root.gotoAndStop("lost");
}
}
Instance of Symbol 171 MovieClip "playerdropzone" in Frame 8
onClipEvent (enterFrame) {
if (Key.isDown(40)) {
this.nextFrame();
}
if (Key.isDown(38)) {
this.prevFrame();
}
}
Instance of Symbol 169 MovieClip "cpucandy" in Frame 8
onClipEvent (load) {
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (_root.cpucandy._currentframe == 5) {
_root.gotoAndStop("win");
}
}
Instance of Symbol 11 MovieClip [blob] "cpublob" in Frame 8
onClipEvent (load) {
if (_name == "cpublob") {
} else {
if (_root.cpudropzone._currentframe == 1) {
this._x = 375;
this._y = 200;
this.swapDepths(215 + (Math.random() * 3));
}
if (_root.cpudropzone._currentframe == 2) {
this._x = 395;
this._y = 245;
this.swapDepths(225 + (Math.random() * 3));
}
if (_root.cpudropzone._currentframe == 3) {
this._x = 415;
this._y = 290;
this.swapDepths(235 + (Math.random() * 3));
}
if (_root.cpudropzone._currentframe == 4) {
this._x = 435;
this._y = 335;
this.swapDepths(245 + (Math.random() * 3));
}
}
}
onClipEvent (enterFrame) {
if (_name == "cpublob") {
this._visible = false;
} else {
this._x = this._x - 0.5;
if (_root.playercandy.hitTest(this.hit)) {
_root.playercandy.nextFrame();
_root.cpucandy.prevFrame();
this.removeMovieClip();
}
}
}
Instance of Symbol 186 MovieClip "cpubat" in Frame 8
onClipEvent (load) {
if (_name == "cpubat") {
} else {
if (_root.cpudropzone._currentframe == 1) {
this._x = 375;
this._y = 200;
this.swapDepths(215 + (Math.random() * 3));
}
if (_root.cpudropzone._currentframe == 2) {
this._x = 395;
this._y = 245;
this.swapDepths(225 + (Math.random() * 3));
}
if (_root.cpudropzone._currentframe == 3) {
this._x = 415;
this._y = 290;
this.swapDepths(235 + (Math.random() * 3));
}
if (_root.cpudropzone._currentframe == 4) {
this._x = 435;
this._y = 335;
this.swapDepths(245 + (Math.random() * 3));
}
}
}
onClipEvent (enterFrame) {
if (_name == "cpubat") {
this._visible = false;
} else {
this._x = this._x - 0.5;
if (_root.playercandy.hitTest(this.hit)) {
_root.playercandy.nextFrame();
_root.cpucandy.prevFrame();
this.removeMovieClip();
}
}
}
Instance of Symbol 191 MovieClip "cpupumpkin" in Frame 8
onClipEvent (load) {
if (_name == "cpupumpkin") {
} else {
if (_root.cpudropzone._currentframe == 1) {
this._x = 375;
this._y = 200;
this.swapDepths(215 + (Math.random() * 3));
}
if (_root.cpudropzone._currentframe == 2) {
this._x = 395;
this._y = 245;
this.swapDepths(225 + (Math.random() * 3));
}
if (_root.cpudropzone._currentframe == 3) {
this._x = 415;
this._y = 290;
this.swapDepths(235 + (Math.random() * 3));
}
if (_root.cpudropzone._currentframe == 4) {
this._x = 435;
this._y = 335;
this.swapDepths(245 + (Math.random() * 3));
}
}
}
onClipEvent (enterFrame) {
if (_name == "cpupumpkin") {
this._visible = false;
} else {
this._x = this._x - 0.5;
if (_root.playercandy.hitTest(this.hit)) {
_root.playercandy.nextFrame();
_root.cpucandy.prevFrame();
this.removeMovieClip();
}
}
}
Instance of Symbol 11 MovieClip [blob] "playerblob" in Frame 8
onClipEvent (load) {
var ci = 120;
if (_name == "playerblob") {
} else {
if (_root.playerdropzone._currentframe == 1) {
this._x = 110;
this._y = 200;
this.swapDepths(210 + (Math.random() * 3));
}
if (_root.playerdropzone._currentframe == 2) {
this._x = 130;
this._y = 245;
this.swapDepths(220 + (Math.random() * 3));
}
if (_root.playerdropzone._currentframe == 3) {
this._x = 150;
this._y = 290;
this.swapDepths(230 + (Math.random() * 3));
}
if (_root.playerdropzone._currentframe == 4) {
this._x = 170;
this._y = 335;
this.swapDepths(240 + (Math.random() * 3));
}
}
}
onClipEvent (enterFrame) {
ci++;
if (ci > 124) {
ci = 120;
}
if (_name == "playerblob") {
this._visible = false;
} else {
this._x = this._x + 1;
if (_root.cpucandy.hitTest(this.hit)) {
_root.cpucandy.nextFrame();
_root.playercandy.prevFrame();
this.removeMovieClip();
}
if (_root["cpupumpkin" + ci].hit.hitTest(this.hit)) {
this.removeMovieClip();
}
if (_root["cpubat" + ci].hit.hitTest(this.hit)) {
_root["cpubat" + ci].removeMovieClip();
}
if (_root["cpublob" + ci].hit.hitTest(this.hit)) {
_root["cpublob" + ci].removeMovieClip();
this.removeMovieClip();
}
}
}
Instance of Symbol 186 MovieClip "playerbat" in Frame 8
onClipEvent (load) {
var ci = 120;
if (_name == "playerbat") {
} else {
if (_root.playerdropzone._currentframe == 1) {
this._x = 110;
this._y = 200;
this.swapDepths(210 + (Math.random() * 3));
}
if (_root.playerdropzone._currentframe == 2) {
this._x = 130;
this._y = 245;
this.swapDepths(220 + (Math.random() * 3));
}
if (_root.playerdropzone._currentframe == 3) {
this._x = 150;
this._y = 290;
this.swapDepths(230 + (Math.random() * 3));
}
if (_root.playerdropzone._currentframe == 4) {
this._x = 170;
this._y = 335;
this.swapDepths(240 + (Math.random() * 3));
}
}
}
onClipEvent (enterFrame) {
ci++;
if (ci > 124) {
ci = 120;
}
if (_name == "playerbat") {
this._visible = false;
} else {
this._x = this._x + 1;
if (_root.cpucandy.hitTest(this.hit)) {
_root.cpucandy.nextFrame();
_root.playercandy.prevFrame();
this.removeMovieClip();
}
if (_root["cpublob" + ci].hit.hitTest(this.hit)) {
this.removeMovieClip();
}
if (_root["cpupumpkin" + ci].hit.hitTest(this.hit)) {
_root["cpupumpkin" + ci].removeMovieClip();
}
if (_root["cpubat" + ci].hit.hitTest(this.hit)) {
_root["cpubat" + ci].removeMovieClip();
this.removeMovieClip();
}
}
}
Instance of Symbol 191 MovieClip "playerpumpkin" in Frame 8
onClipEvent (load) {
var ci = 120;
if (_name == "playerpumpkin") {
} else {
if (_root.playerdropzone._currentframe == 1) {
this._x = 110;
this._y = 200;
this.swapDepths(210 + (Math.random() * 3));
}
if (_root.playerdropzone._currentframe == 2) {
this._x = 130;
this._y = 245;
this.swapDepths(220 + (Math.random() * 3));
}
if (_root.playerdropzone._currentframe == 3) {
this._x = 150;
this._y = 290;
this.swapDepths(230 + (Math.random() * 3));
}
if (_root.playerdropzone._currentframe == 4) {
this._x = 170;
this._y = 335;
this.swapDepths(240 + (Math.random() * 3));
}
}
}
onClipEvent (enterFrame) {
ci++;
if (ci > 124) {
ci = 120;
}
if (_name == "playerpumpkin") {
this._visible = false;
} else {
this._x = this._x + 1;
if (_root.cpucandy.hitTest(this.hit)) {
_root.cpucandy.nextFrame();
_root.playercandy.prevFrame();
this.removeMovieClip();
}
if (_root["cpubat" + ci].hit.hitTest(this.hit)) {
this.removeMovieClip();
}
if (_root["cpublob" + ci].hit.hitTest(this.hit)) {
_root["cpublob" + ci].removeMovieClip();
}
if (_root["cpupumpkin" + ci].hit.hitTest(this.hit)) {
_root["cpupumpkin" + ci].removeMovieClip();
this.removeMovieClip();
}
}
}
Instance of Symbol 199 MovieClip "cpunext" in Frame 8
onClipEvent (load) {
this.gotoAndStop(Math.round(Math.random() * this._totalframes));
}
Frame 9
var score = 90000;
stop();
var pi = 110;
var ci = 120;
onEnterFrame = function () {
if (Key.isDown(32)) {
if (this.playerdroptime._currentframe == 125) {
pi++;
if (pi > 114) {
pi = 110;
}
if ((this.playernext._currentframe == 1) || (this.cpunext._currentframe == 4)) {
duplicateMovieClip ("playerblob", "playerblob" + pi, pi);
this.playerdroptime.gotoAndPlay(1);
}
if ((this.playernext._currentframe == 2) || (this.cpunext._currentframe == 5)) {
duplicateMovieClip ("playerbat", "playerbat" + pi, pi);
this.playerdroptime.gotoAndPlay(1);
}
if ((this.playernext._currentframe == 3) || (this.cpunext._currentframe == 6)) {
duplicateMovieClip ("playerpumpkin", "playerpumpkin" + pi, pi);
this.playerdroptime.gotoAndPlay(1);
}
}
}
if (this.cpudroptime._currentframe == 125) {
ci++;
if (ci > 124) {
ci = 120;
}
if ((this.cpunext._currentframe == 1) || (this.cpunext._currentframe == 4)) {
duplicateMovieClip ("cpublob", "cpublob" + ci, ci);
this.cpudroptime.gotoAndPlay(1);
}
if ((this.cpunext._currentframe == 2) || (this.cpunext._currentframe == 5)) {
duplicateMovieClip ("cpubat", "cpubat" + ci, ci);
this.cpudroptime.gotoAndPlay(1);
}
if ((this.cpunext._currentframe == 3) || (this.cpunext._currentframe == 6)) {
duplicateMovieClip ("cpupumpkin", "cpupumpkin" + ci, ci);
this.cpudroptime.gotoAndPlay(1);
}
}
};
Instance of Symbol 11 MovieClip [blob] "cpublob" in Frame 9
onClipEvent (load) {
if (_name == "cpublob") {
} else {
if (_root.cpudropzone._currentframe == 1) {
this._x = 375;
this._y = 200;
this.swapDepths(215 + (Math.random() * 3));
}
if (_root.cpudropzone._currentframe == 2) {
this._x = 395;
this._y = 245;
this.swapDepths(225 + (Math.random() * 3));
}
if (_root.cpudropzone._currentframe == 3) {
this._x = 415;
this._y = 290;
this.swapDepths(235 + (Math.random() * 3));
}
if (_root.cpudropzone._currentframe == 4) {
this._x = 435;
this._y = 335;
this.swapDepths(245 + (Math.random() * 3));
}
}
}
onClipEvent (enterFrame) {
if (_name == "cpublob") {
this._visible = false;
} else {
this._x = this._x - 1;
if (_root.playercandy.hitTest(this.hit)) {
_root.playercandy.nextFrame();
_root.cpucandy.prevFrame();
this.removeMovieClip();
}
}
}
Instance of Symbol 186 MovieClip "cpubat" in Frame 9
onClipEvent (load) {
if (_name == "cpubat") {
} else {
if (_root.cpudropzone._currentframe == 1) {
this._x = 375;
this._y = 200;
this.swapDepths(215 + (Math.random() * 3));
}
if (_root.cpudropzone._currentframe == 2) {
this._x = 395;
this._y = 245;
this.swapDepths(225 + (Math.random() * 3));
}
if (_root.cpudropzone._currentframe == 3) {
this._x = 415;
this._y = 290;
this.swapDepths(235 + (Math.random() * 3));
}
if (_root.cpudropzone._currentframe == 4) {
this._x = 435;
this._y = 335;
this.swapDepths(245 + (Math.random() * 3));
}
}
}
onClipEvent (enterFrame) {
if (_name == "cpubat") {
this._visible = false;
} else {
this._x = this._x - 1;
if (_root.playercandy.hitTest(this.hit)) {
_root.playercandy.nextFrame();
_root.cpucandy.prevFrame();
this.removeMovieClip();
}
}
}
Instance of Symbol 191 MovieClip "cpupumpkin" in Frame 9
onClipEvent (load) {
if (_name == "cpupumpkin") {
} else {
if (_root.cpudropzone._currentframe == 1) {
this._x = 375;
this._y = 200;
this.swapDepths(215 + (Math.random() * 3));
}
if (_root.cpudropzone._currentframe == 2) {
this._x = 395;
this._y = 245;
this.swapDepths(225 + (Math.random() * 3));
}
if (_root.cpudropzone._currentframe == 3) {
this._x = 415;
this._y = 290;
this.swapDepths(235 + (Math.random() * 3));
}
if (_root.cpudropzone._currentframe == 4) {
this._x = 435;
this._y = 335;
this.swapDepths(245 + (Math.random() * 3));
}
}
}
onClipEvent (enterFrame) {
if (_name == "cpupumpkin") {
this._visible = false;
} else {
this._x = this._x - 1;
if (_root.playercandy.hitTest(this.hit)) {
_root.playercandy.nextFrame();
_root.cpucandy.prevFrame();
this.removeMovieClip();
}
}
}
Frame 10
var score = 100000;
stop();
var pi = 110;
var ci = 120;
onEnterFrame = function () {
if (Key.isDown(32)) {
if (this.playerdroptime._currentframe == 125) {
pi++;
if (pi > 114) {
pi = 110;
}
if ((this.playernext._currentframe == 1) || (this.cpunext._currentframe == 4)) {
duplicateMovieClip ("playerblob", "playerblob" + pi, pi);
this.playerdroptime.gotoAndPlay(1);
}
if ((this.playernext._currentframe == 2) || (this.cpunext._currentframe == 5)) {
duplicateMovieClip ("playerbat", "playerbat" + pi, pi);
this.playerdroptime.gotoAndPlay(1);
}
if ((this.playernext._currentframe == 3) || (this.cpunext._currentframe == 6)) {
duplicateMovieClip ("playerpumpkin", "playerpumpkin" + pi, pi);
this.playerdroptime.gotoAndPlay(1);
}
}
}
if (this.cpudroptime._currentframe == 125) {
ci++;
if (ci > 124) {
ci = 120;
}
if ((this.cpunext._currentframe == 1) || (this.cpunext._currentframe == 4)) {
duplicateMovieClip ("cpublob", "cpublob" + ci, ci);
this.cpudroptime.gotoAndPlay(1);
}
if ((this.cpunext._currentframe == 2) || (this.cpunext._currentframe == 5)) {
duplicateMovieClip ("cpubat", "cpubat" + ci, ci);
this.cpudroptime.gotoAndPlay(1);
}
if ((this.cpunext._currentframe == 3) || (this.cpunext._currentframe == 6)) {
duplicateMovieClip ("cpupumpkin", "cpupumpkin" + ci, ci);
this.cpudroptime.gotoAndPlay(1);
}
}
};
Instance of Symbol 11 MovieClip [blob] "cpublob" in Frame 10
onClipEvent (load) {
if (_name == "cpublob") {
} else {
if (_root.cpudropzone._currentframe == 1) {
this._x = 375;
this._y = 200;
this.swapDepths(215 + (Math.random() * 3));
}
if (_root.cpudropzone._currentframe == 2) {
this._x = 395;
this._y = 245;
this.swapDepths(225 + (Math.random() * 3));
}
if (_root.cpudropzone._currentframe == 3) {
this._x = 415;
this._y = 290;
this.swapDepths(235 + (Math.random() * 3));
}
if (_root.cpudropzone._currentframe == 4) {
this._x = 435;
this._y = 335;
this.swapDepths(245 + (Math.random() * 3));
}
}
}
onClipEvent (enterFrame) {
if (_name == "cpublob") {
this._visible = false;
} else {
this._x = this._x - 1.5;
if (_root.playercandy.hitTest(this.hit)) {
_root.playercandy.nextFrame();
_root.cpucandy.prevFrame();
this.removeMovieClip();
}
}
}
Instance of Symbol 186 MovieClip "cpubat" in Frame 10
onClipEvent (load) {
if (_name == "cpubat") {
} else {
if (_root.cpudropzone._currentframe == 1) {
this._x = 375;
this._y = 200;
this.swapDepths(215 + (Math.random() * 3));
}
if (_root.cpudropzone._currentframe == 2) {
this._x = 395;
this._y = 245;
this.swapDepths(225 + (Math.random() * 3));
}
if (_root.cpudropzone._currentframe == 3) {
this._x = 415;
this._y = 290;
this.swapDepths(235 + (Math.random() * 3));
}
if (_root.cpudropzone._currentframe == 4) {
this._x = 435;
this._y = 335;
this.swapDepths(245 + (Math.random() * 3));
}
}
}
onClipEvent (enterFrame) {
if (_name == "cpubat") {
this._visible = false;
} else {
this._x = this._x - 1.5;
if (_root.playercandy.hitTest(this.hit)) {
_root.playercandy.nextFrame();
_root.cpucandy.prevFrame();
this.removeMovieClip();
}
}
}
Instance of Symbol 191 MovieClip "cpupumpkin" in Frame 10
onClipEvent (load) {
if (_name == "cpupumpkin") {
} else {
if (_root.cpudropzone._currentframe == 1) {
this._x = 375;
this._y = 200;
this.swapDepths(215 + (Math.random() * 3));
}
if (_root.cpudropzone._currentframe == 2) {
this._x = 395;
this._y = 245;
this.swapDepths(225 + (Math.random() * 3));
}
if (_root.cpudropzone._currentframe == 3) {
this._x = 415;
this._y = 290;
this.swapDepths(235 + (Math.random() * 3));
}
if (_root.cpudropzone._currentframe == 4) {
this._x = 435;
this._y = 335;
this.swapDepths(245 + (Math.random() * 3));
}
}
}
onClipEvent (enterFrame) {
if (_name == "cpupumpkin") {
this._visible = false;
} else {
this._x = this._x - 1.5;
if (_root.playercandy.hitTest(this.hit)) {
_root.playercandy.nextFrame();
_root.cpucandy.prevFrame();
this.removeMovieClip();
}
}
}
Instance of Symbol 11 MovieClip [blob] "playerblob" in Frame 10
onClipEvent (load) {
var ci = 120;
if (_name == "playerblob") {
} else {
if (_root.playerdropzone._currentframe == 1) {
this._x = 110;
this._y = 200;
this.swapDepths(210 + (Math.random() * 3));
}
if (_root.playerdropzone._currentframe == 2) {
this._x = 130;
this._y = 245;
this.swapDepths(220 + (Math.random() * 3));
}
if (_root.playerdropzone._currentframe == 3) {
this._x = 150;
this._y = 290;
this.swapDepths(230 + (Math.random() * 3));
}
if (_root.playerdropzone._currentframe == 4) {
this._x = 170;
this._y = 335;
this.swapDepths(240 + (Math.random() * 3));
}
}
}
onClipEvent (enterFrame) {
ci++;
if (ci > 124) {
ci = 120;
}
if (_name == "playerblob") {
this._visible = false;
} else {
this._x = this._x + 0.75;
if (_root.cpucandy.hitTest(this.hit)) {
_root.cpucandy.nextFrame();
_root.playercandy.prevFrame();
this.removeMovieClip();
}
if (_root["cpupumpkin" + ci].hit.hitTest(this.hit)) {
this.removeMovieClip();
}
if (_root["cpubat" + ci].hit.hitTest(this.hit)) {
_root["cpubat" + ci].removeMovieClip();
}
if (_root["cpublob" + ci].hit.hitTest(this.hit)) {
_root["cpublob" + ci].removeMovieClip();
this.removeMovieClip();
}
}
}
Instance of Symbol 186 MovieClip "playerbat" in Frame 10
onClipEvent (load) {
var ci = 120;
if (_name == "playerbat") {
} else {
if (_root.playerdropzone._currentframe == 1) {
this._x = 110;
this._y = 200;
this.swapDepths(210 + (Math.random() * 3));
}
if (_root.playerdropzone._currentframe == 2) {
this._x = 130;
this._y = 245;
this.swapDepths(220 + (Math.random() * 3));
}
if (_root.playerdropzone._currentframe == 3) {
this._x = 150;
this._y = 290;
this.swapDepths(230 + (Math.random() * 3));
}
if (_root.playerdropzone._currentframe == 4) {
this._x = 170;
this._y = 335;
this.swapDepths(240 + (Math.random() * 3));
}
}
}
onClipEvent (enterFrame) {
ci++;
if (ci > 124) {
ci = 120;
}
if (_name == "playerbat") {
this._visible = false;
} else {
this._x = this._x + 0.75;
if (_root.cpucandy.hitTest(this.hit)) {
_root.cpucandy.nextFrame();
_root.playercandy.prevFrame();
this.removeMovieClip();
}
if (_root["cpublob" + ci].hit.hitTest(this.hit)) {
this.removeMovieClip();
}
if (_root["cpupumpkin" + ci].hit.hitTest(this.hit)) {
_root["cpupumpkin" + ci].removeMovieClip();
}
if (_root["cpubat" + ci].hit.hitTest(this.hit)) {
_root["cpubat" + ci].removeMovieClip();
this.removeMovieClip();
}
}
}
Instance of Symbol 191 MovieClip "playerpumpkin" in Frame 10
onClipEvent (load) {
var ci = 120;
if (_name == "playerpumpkin") {
} else {
if (_root.playerdropzone._currentframe == 1) {
this._x = 110;
this._y = 200;
this.swapDepths(210 + (Math.random() * 3));
}
if (_root.playerdropzone._currentframe == 2) {
this._x = 130;
this._y = 245;
this.swapDepths(220 + (Math.random() * 3));
}
if (_root.playerdropzone._currentframe == 3) {
this._x = 150;
this._y = 290;
this.swapDepths(230 + (Math.random() * 3));
}
if (_root.playerdropzone._currentframe == 4) {
this._x = 170;
this._y = 335;
this.swapDepths(240 + (Math.random() * 3));
}
}
}
onClipEvent (enterFrame) {
ci++;
if (ci > 124) {
ci = 120;
}
if (_name == "playerpumpkin") {
this._visible = false;
} else {
this._x = this._x + 0.75;
if (_root.cpucandy.hitTest(this.hit)) {
_root.cpucandy.nextFrame();
_root.playercandy.prevFrame();
this.removeMovieClip();
}
if (_root["cpubat" + ci].hit.hitTest(this.hit)) {
this.removeMovieClip();
}
if (_root["cpublob" + ci].hit.hitTest(this.hit)) {
_root["cpublob" + ci].removeMovieClip();
}
if (_root["cpupumpkin" + ci].hit.hitTest(this.hit)) {
_root["cpupumpkin" + ci].removeMovieClip();
this.removeMovieClip();
}
}
}
Frame 11
stop();
var pi = 100;
pi++;
if (pi > 170) {
pi = 100;
}
_root["cpupumpkin" + pi].removeMovieClip();
_root["cpublob" + pi].removeMovieClip();
_root["cpubat" + pi].removeMovieClip();
_root["playerpumpkin" + pi].removeMovieClip();
_root["playerblob" + pi].removeMovieClip();
_root["playerbat" + pi].removeMovieClip();
Instance of Symbol 169 MovieClip "playercandy" in Frame 11
onClipEvent (load) {
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (_root.playercandy._currentframe == 5) {
_root.gotoAndStop("lost");
}
}
Instance of Symbol 169 MovieClip "cpucandy" in Frame 11
onClipEvent (load) {
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (_root.cpucandy._currentframe == 5) {
_root.gotoAndStop("win");
}
}
Frame 12
stop();
stop();
var pi = 100;
pi++;
if (pi > 170) {
pi = 100;
}
_root["cpupumpkin" + pi].removeMovieClip();
_root["cpublob" + pi].removeMovieClip();
_root["cpubat" + pi].removeMovieClip();
_root["playerpumpkin" + pi].removeMovieClip();
_root["playerblob" + pi].removeMovieClip();
_root["playerbat" + pi].removeMovieClip();
Frame 13
stop();
Frame 14
stop();
Symbol 70 Button
on (release) {
getURL ("http://newgrounds.com/collection/halloween2006.html", "_blank");
}
Symbol 73 Button
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Symbol 80 MovieClip Frame 81
_root.play();
_root.play();
Symbol 86 Button
on (release) {
_root.nextFrame();
}
Symbol 89 Button
on (release) {
gotoAndStop (6);
}
Symbol 92 Button
on (release) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 101 MovieClip Frame 7
stop();
Symbol 107 Button
on (release) {
gotoAndStop (8);
}
Symbol 110 Button
on (release) {
gotoAndStop (9);
}
Symbol 113 Button
on (release) {
gotoAndStop (10);
}
Symbol 130 Button
on (release) {
gotoAndStop (7);
}
Symbol 140 Button
on (release) {
gotoAndStop (4);
}
Symbol 169 MovieClip Frame 1
stop();
Symbol 169 MovieClip Frame 2
stop();
Symbol 169 MovieClip Frame 3
stop();
Symbol 169 MovieClip Frame 4
stop();
Symbol 169 MovieClip Frame 5
stop();
Symbol 171 MovieClip Frame 1
stop();
Symbol 171 MovieClip Frame 2
stop();
Symbol 171 MovieClip Frame 3
stop();
Symbol 171 MovieClip Frame 4
stop();
Symbol 199 MovieClip Frame 1
stop();
Symbol 199 MovieClip Frame 2
stop();
Symbol 199 MovieClip Frame 3
stop();
Symbol 203 MovieClip Frame 1
_root.cpunext.gotoAndStop(Math.round(Math.random() * 6));
_root.cpudropzone.gotoAndStop(Math.round(Math.random() * 4));
Symbol 205 MovieClip Frame 1
_root.playernext.gotoAndStop(Math.round(Math.random() * 3));
Symbol 205 MovieClip Frame 125
stop();
Symbol 208 MovieClip Frame 1
_root.score--;
Symbol 208 MovieClip Frame 2
gotoAndPlay (1);
_root.score--;
Symbol 216 Button
on (release) {
ab20_09 = new LoadVars();
ab20_09.z = mynamevar;
ab20_09.x = score;
ab20_09.c = 473;
ab20_09.v = "RKQOXW";
ab20_09.sendAndLoad("http://armorbot.com/s_b", ab20_09, "POST");
getURL ("http://www.armorbot.com/mytable/?id=473", "_blank");
gotoAndStop (4);
}