Frame 1
function itemHandler0(obj, item) {
getURL ("http://www.dfblaze.net", "_blank");
}
function itemHandler1(obj, item) {
getURL ("http://www.carrotdust.ketayo.com", "_blank");
}
function itemHandler2(obj, item) {
getURL ("http://www.dumpgames.com", "_blank");
}
function itemHandler3(obj, item) {
getURL ("http://www.lostsolution.net", "_blank");
}
var timedMode = false;
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
myMenu.customItems.push(new ContextMenuItem("DumpGames.Com!!", itemHandler2));
myMenu.customItems.push(new ContextMenuItem("dfBlaze.net!", itemHandler0));
myMenu.customItems.push(new ContextMenuItem("CarrotDust.com!", itemHandler1));
myMenu.customItems.push(new ContextMenuItem("LostSolution.net!", itemHandler3));
myMenu.customItems[1].separatorBefore = true;
_root.menu = myMenu;
stop();
Frame 2
stop();
Instance of Symbol 53 MovieClip in Frame 2
onClipEvent (enterFrame) {
this.onPress = function () {
getURL ("http://www.dumpgames.com", "_blank");
};
}
Frame 3
stop();
prsd = false;
Instance of Symbol 107 MovieClip in Frame 3
onClipEvent (load) {
Mouse.hide();
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
updateAfterEvent();
}
Frame 4
var right = 0;
var left = 1;
var up = 2;
var down = 3;
var idle = 4;
function nextLevel() {
if (red._currentframe == 1) {
black.swapDepths(999);
if (black._currentframe < 50) {
black.play();
}
}
}
var level = 1;
var score = 0;
var time = 0;
var sec = 1000;
var total = 0;
var sum = 0;
var blah = 0;
var submitted = new String();
var your_name = new String();
var totalscore = 0;
var fadecolor = new Color(_root.black);
black.swapDepths(999);
stop();
setInterval(function () {
if (black._currentframe < 40) {
time = time + 1;
}
}, 1000);
Instance of Symbol 117 MovieClip "bar" in Frame 4
onClipEvent (load) {
stop();
}
Instance of Symbol 12 MovieClip [collect] in Frame 4
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 4
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
_root.score = 0;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 4
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 4
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 4
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 4
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 4
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 4
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 4
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 4
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 4
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 4
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 4
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 4
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 4
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 4
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 120 MovieClip in Frame 4
onClipEvent (load) {
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this._x, this._y, true)) {
_root.bar.play();
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 143 MovieClip in Frame 4
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.right);
dir.push(_root.up);
dir.push(_root.left);
dir.push(_root.down);
stop();
var spd = 2;
randomize = setInterval(function () {
i++;
if (i >= 5) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
play();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
play();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
play();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Instance of Symbol 158 MovieClip "hero" in Frame 4
onClipEvent (load) {
var curx = new Number();
var cury = new Number();
var angle = new Number();
var angler = new Number();
var torot = new Number();
var dx = _x;
var dy = _y;
var spd = 0.05;
stop();
}
onClipEvent (enterFrame) {
play();
curx = dx - _x;
cury = dy - _y;
_x = (_x + (curx * spd));
_y = (_y + (cury * spd));
angle = Math.atan2(cury, curx);
torot = int(((angle * 180) / Math.PI) + 10);
if ((((curx < 2) && (curx > -2)) && (cury < 2)) && (cury > -2)) {
gotoAndStop (1);
}
if ((torot >= -30) && (torot <= 30)) {
santa.gotoAndStop("right");
}
if ((torot >= -70) && (torot <= -31)) {
santa.gotoAndStop("dupright");
}
if ((torot >= -110) && (torot <= -71)) {
santa.gotoAndStop("up");
}
if ((torot >= -150) && (torot <= -111)) {
santa.gotoAndStop("dupleft");
}
if ((torot >= 161) && (torot >= -151)) {
santa.gotoAndStop("left");
}
if ((torot >= 31) && (torot <= 75)) {
santa.gotoAndStop("ddownright");
}
if ((torot >= 76) && (torot <= 110)) {
santa.gotoAndStop("down");
}
if ((torot >= 111) && (torot <= 160)) {
santa.gotoAndStop("ddownleft");
}
}
onClipEvent (mouseDown) {
var dx = _root._xmouse;
var dy = _root._ymouse;
spd = 0.05;
}
Instance of Symbol 178 MovieClip "red" in Frame 4
onClipEvent (load) {
stop();
}
Instance of Symbol 183 MovieClip in Frame 4
onClipEvent (load) {
Mouse.hide();
swapDepths(1000);
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
updateAfterEvent();
}
Frame 5
total = 10;
Instance of Symbol 117 MovieClip "bar3" in Frame 5
onClipEvent (load) {
stop();
}
Instance of Symbol 184 MovieClip "bar2" in Frame 5
onClipEvent (load) {
stop();
}
Instance of Symbol 120 MovieClip in Frame 5
onClipEvent (load) {
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this._x, this._y, true)) {
_root.bar2.play();
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 120 MovieClip in Frame 5
onClipEvent (load) {
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this._x, this._y, true)) {
_root.bar3.play();
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 5
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(5));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 5
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(5));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 5
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(5));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 5
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(5));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 5
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(5));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 5
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(5));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 5
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(5));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 5
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(5));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 5
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(5));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 5
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(5));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 143 MovieClip in Frame 5
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.right);
dir.push(_root.idle);
dir.push(_root.left);
dir.push(_root.idle);
stop();
var spd = 2;
randomize = setInterval(function () {
i++;
if (i >= 5) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
play();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
play();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
play();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Instance of Symbol 158 MovieClip "hero" in Frame 5
onClipEvent (load) {
var curx = new Number();
var cury = new Number();
var angle = new Number();
var angler = new Number();
var torot = new Number();
var dx = _x;
var dy = _y;
var spd = 0.05;
stop();
}
onClipEvent (enterFrame) {
play();
curx = dx - _x;
cury = dy - _y;
_x = (_x + (curx * spd));
_y = (_y + (cury * spd));
angle = Math.atan2(cury, curx);
torot = int(((angle * 180) / Math.PI) + 10);
if ((((curx < 2) && (curx > -2)) && (cury < 2)) && (cury > -2)) {
gotoAndStop (1);
}
if ((torot >= -30) && (torot <= 30)) {
santa.gotoAndStop("right");
}
if ((torot >= -70) && (torot <= -31)) {
santa.gotoAndStop("dupright");
}
if ((torot >= -110) && (torot <= -71)) {
santa.gotoAndStop("up");
}
if ((torot >= -150) && (torot <= -111)) {
santa.gotoAndStop("dupleft");
}
if ((torot >= 161) && (torot >= -151)) {
santa.gotoAndStop("left");
}
if ((torot >= 31) && (torot <= 75)) {
santa.gotoAndStop("ddownright");
}
if ((torot >= 76) && (torot <= 110)) {
santa.gotoAndStop("down");
}
if ((torot >= 111) && (torot <= 160)) {
santa.gotoAndStop("ddownleft");
}
}
onClipEvent (mouseDown) {
var dx = _root._xmouse;
var dy = _root._ymouse;
spd = 0.05;
}
Frame 6
total = 5;
Instance of Symbol 120 MovieClip in Frame 6
onClipEvent (load) {
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this._x, this._y, true)) {
_root.bar4.play();
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 117 MovieClip "bar4" in Frame 6
onClipEvent (load) {
stop();
}
Instance of Symbol 12 MovieClip [collect] in Frame 6
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 6
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 6
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 6
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 6
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 143 MovieClip in Frame 6
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.right);
dir.push(_root.idle);
dir.push(_root.left);
dir.push(_root.idle);
dir.push(_root.idle);
stop();
var spd = 2;
randomize = setInterval(function () {
i++;
if (i >= 7) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
play();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
play();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
play();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Instance of Symbol 184 MovieClip "bar" in Frame 6
onClipEvent (load) {
stop();
}
Instance of Symbol 120 MovieClip in Frame 6
onClipEvent (load) {
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this._x, this._y, true)) {
_root.bar.play();
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 158 MovieClip "hero" in Frame 6
onClipEvent (load) {
var curx = new Number();
var cury = new Number();
var angle = new Number();
var angler = new Number();
var torot = new Number();
var dx = _x;
var dy = _y;
var spd = 0.05;
stop();
}
onClipEvent (enterFrame) {
play();
curx = dx - _x;
cury = dy - _y;
_x = (_x + (curx * spd));
_y = (_y + (cury * spd));
angle = Math.atan2(cury, curx);
torot = int(((angle * 180) / Math.PI) + 10);
if ((((curx < 2) && (curx > -2)) && (cury < 2)) && (cury > -2)) {
gotoAndStop (1);
}
if ((torot >= -30) && (torot <= 30)) {
santa.gotoAndStop("right");
}
if ((torot >= -70) && (torot <= -31)) {
santa.gotoAndStop("dupright");
}
if ((torot >= -110) && (torot <= -71)) {
santa.gotoAndStop("up");
}
if ((torot >= -150) && (torot <= -111)) {
santa.gotoAndStop("dupleft");
}
if ((torot >= 161) && (torot >= -151)) {
santa.gotoAndStop("left");
}
if ((torot >= 31) && (torot <= 75)) {
santa.gotoAndStop("ddownright");
}
if ((torot >= 76) && (torot <= 110)) {
santa.gotoAndStop("down");
}
if ((torot >= 111) && (torot <= 160)) {
santa.gotoAndStop("ddownleft");
}
}
onClipEvent (mouseDown) {
var dx = _root._xmouse;
var dy = _root._ymouse;
spd = 0.05;
}
Frame 7
total = 4;
hero._x = 50;
hero._y = 280;
hero.dx = 50;
hero.dy = 280;
Instance of Symbol 12 MovieClip [collect] in Frame 7
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 186 MovieClip in Frame 7
onClipEvent (load) {
stop();
}
Instance of Symbol 143 MovieClip in Frame 7
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.down);
dir.push(_root.idle);
dir.push(_root.right);
dir.push(_root.idle);
dir.push(_root.up);
dir.push(_root.idle);
dir.push(_root.left);
dir.push(_root.idle);
dir.push(_root.idle);
stop();
var spd = 2;
randomize = setInterval(function () {
i++;
if (i >= 7) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
play();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
play();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
play();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Instance of Symbol 120 MovieClip in Frame 7
onClipEvent (load) {
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this._x, this._y, true)) {
_root.bar2.play();
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 184 MovieClip "bar2" in Frame 7
onClipEvent (load) {
stop();
}
Instance of Symbol 158 MovieClip "hero" in Frame 7
onClipEvent (load) {
var curx = new Number();
var cury = new Number();
var angle = new Number();
var angler = new Number();
var torot = new Number();
var dx = _x;
var dy = _y;
var spd = 0.05;
stop();
}
onClipEvent (enterFrame) {
play();
curx = dx - _x;
cury = dy - _y;
_x = (_x + (curx * spd));
_y = (_y + (cury * spd));
angle = Math.atan2(cury, curx);
torot = int(((angle * 180) / Math.PI) + 10);
if ((((curx < 2) && (curx > -2)) && (cury < 2)) && (cury > -2)) {
gotoAndStop (1);
}
if ((torot >= -30) && (torot <= 30)) {
santa.gotoAndStop("right");
}
if ((torot >= -70) && (torot <= -31)) {
santa.gotoAndStop("dupright");
}
if ((torot >= -110) && (torot <= -71)) {
santa.gotoAndStop("up");
}
if ((torot >= -150) && (torot <= -111)) {
santa.gotoAndStop("dupleft");
}
if ((torot >= 161) && (torot >= -151)) {
santa.gotoAndStop("left");
}
if ((torot >= 31) && (torot <= 75)) {
santa.gotoAndStop("ddownright");
}
if ((torot >= 76) && (torot <= 110)) {
santa.gotoAndStop("down");
}
if ((torot >= 111) && (torot <= 160)) {
santa.gotoAndStop("ddownleft");
}
}
onClipEvent (mouseDown) {
var dx = _root._xmouse;
var dy = _root._ymouse;
spd = 0.05;
}
Frame 8
total = 4;
hero._x = 50;
hero._y = 280;
hero.dx = 50;
hero.dy = 280;
Instance of Symbol 117 MovieClip "bar" in Frame 8
onClipEvent (load) {
stop();
}
Instance of Symbol 143 MovieClip in Frame 8
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.right);
dir.push(_root.right);
dir.push(_root.idle);
dir.push(_root.left);
dir.push(_root.left);
dir.push(_root.idle);
dir.push(_root.idle);
stop();
var spd = 2;
randomize = setInterval(function () {
i++;
if (i >= 7) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
play();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
play();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
play();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Instance of Symbol 120 MovieClip in Frame 8
onClipEvent (load) {
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this._x, this._y, true)) {
_root.bar.play();
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 8
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 8
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 8
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 143 MovieClip in Frame 8
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.left);
stop();
var spd = 0;
randomize = setInterval(function () {
i++;
if (i >= 7) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
play();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
stop();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
play();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Frame 9
total = 7;
Instance of Symbol 117 MovieClip "bar2" in Frame 9
onClipEvent (load) {
stop();
}
Instance of Symbol 143 MovieClip in Frame 9
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.right);
dir.push(_root.idle);
dir.push(_root.idle);
dir.push(_root.left);
dir.push(_root.idle);
dir.push(_root.idle);
dir.push(_root.idle);
stop();
var spd = 2;
randomize = setInterval(function () {
i++;
if (i >= 7) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
play();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
play();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
play();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Instance of Symbol 120 MovieClip in Frame 9
onClipEvent (load) {
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this._x, this._y, true)) {
_root.bar2.play();
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 158 MovieClip "hero" in Frame 9
onClipEvent (load) {
var curx = new Number();
var cury = new Number();
var angle = new Number();
var angler = new Number();
var torot = new Number();
var dx = _x;
var dy = _y;
var spd = 0.05;
stop();
}
onClipEvent (enterFrame) {
play();
curx = dx - _x;
cury = dy - _y;
_x = (_x + (curx * spd));
_y = (_y + (cury * spd));
angle = Math.atan2(cury, curx);
torot = int(((angle * 180) / Math.PI) + 10);
if ((((curx < 2) && (curx > -2)) && (cury < 2)) && (cury > -2)) {
gotoAndStop (1);
}
if ((torot >= -30) && (torot <= 30)) {
santa.gotoAndStop("right");
}
if ((torot >= -70) && (torot <= -31)) {
santa.gotoAndStop("dupright");
}
if ((torot >= -110) && (torot <= -71)) {
santa.gotoAndStop("up");
}
if ((torot >= -150) && (torot <= -111)) {
santa.gotoAndStop("dupleft");
}
if ((torot >= 161) && (torot >= -151)) {
santa.gotoAndStop("left");
}
if ((torot >= 31) && (torot <= 75)) {
santa.gotoAndStop("ddownright");
}
if ((torot >= 76) && (torot <= 110)) {
santa.gotoAndStop("down");
}
if ((torot >= 111) && (torot <= 160)) {
santa.gotoAndStop("ddownleft");
}
}
onClipEvent (mouseDown) {
var dx = _root._xmouse;
var dy = _root._ymouse;
spd = 0.05;
}
Instance of Symbol 12 MovieClip [collect] in Frame 9
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 9
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 9
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 9
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 9
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 9
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 143 MovieClip in Frame 9
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.left);
stop();
var spd = 0;
randomize = setInterval(function () {
i++;
if (i >= 7) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
play();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
stop();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
play();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Frame 10
total = 6;
Instance of Symbol 117 MovieClip "bar" in Frame 10
onClipEvent (load) {
stop();
}
Instance of Symbol 120 MovieClip in Frame 10
onClipEvent (load) {
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this._x, this._y, true)) {
_root.bar.play();
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 158 MovieClip "hero" in Frame 10
onClipEvent (load) {
var curx = new Number();
var cury = new Number();
var angle = new Number();
var angler = new Number();
var torot = new Number();
var dx = _x;
var dy = _y;
var spd = 0.05;
stop();
}
onClipEvent (enterFrame) {
play();
curx = dx - _x;
cury = dy - _y;
_x = (_x + (curx * spd));
_y = (_y + (cury * spd));
angle = Math.atan2(cury, curx);
torot = int(((angle * 180) / Math.PI) + 10);
if ((((curx < 2) && (curx > -2)) && (cury < 2)) && (cury > -2)) {
gotoAndStop (1);
}
if ((torot >= -30) && (torot <= 30)) {
santa.gotoAndStop("right");
}
if ((torot >= -70) && (torot <= -31)) {
santa.gotoAndStop("dupright");
}
if ((torot >= -110) && (torot <= -71)) {
santa.gotoAndStop("up");
}
if ((torot >= -150) && (torot <= -111)) {
santa.gotoAndStop("dupleft");
}
if ((torot >= 161) && (torot >= -151)) {
santa.gotoAndStop("left");
}
if ((torot >= 31) && (torot <= 75)) {
santa.gotoAndStop("ddownright");
}
if ((torot >= 76) && (torot <= 110)) {
santa.gotoAndStop("down");
}
if ((torot >= 111) && (torot <= 160)) {
santa.gotoAndStop("ddownleft");
}
}
onClipEvent (mouseDown) {
var dx = _root._xmouse;
var dy = _root._ymouse;
spd = 0.05;
}
Instance of Symbol 12 MovieClip [collect] in Frame 10
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 10
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 10
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 10
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 10
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 10
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 143 MovieClip in Frame 10
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.right);
stop();
var spd = 0;
randomize = setInterval(function () {
i++;
if (i >= 7) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
stop();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
stop();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
play();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Frame 11
total = 18;
Instance of Symbol 186 MovieClip "exit77" in Frame 11
onClipEvent (load) {
stop();
}
Instance of Symbol 12 MovieClip [collect] in Frame 11
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 11
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 11
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 11
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 11
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 11
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 11
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 11
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 11
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 11
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 11
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 11
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 11
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 11
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 11
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 11
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 11
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 11
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 143 MovieClip in Frame 11
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.left);
dir.push(_root.left);
stop();
var spd = 0;
randomize = setInterval(function () {
i++;
if (i >= 7) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
play();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
stop();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
play();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Instance of Symbol 143 MovieClip in Frame 11
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.left);
stop();
var spd = 0;
randomize = setInterval(function () {
i++;
if (i >= 7) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
play();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
stop();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
play();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Instance of Symbol 143 MovieClip in Frame 11
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.left);
dir.push(_root.left);
dir.push(_root.idle);
dir.push(_root.idle);
dir.push(_root.right);
dir.push(_root.right);
stop();
var spd = 3;
randomize = setInterval(function () {
i++;
if (i >= 7) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
play();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
play();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
play();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Frame 12
total = 9;
Instance of Symbol 120 MovieClip in Frame 12
onClipEvent (load) {
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this._x, this._y, true)) {
_root.bar.play();
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 12
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 184 MovieClip "bar" in Frame 12
onClipEvent (load) {
stop();
}
Instance of Symbol 158 MovieClip "hero" in Frame 12
onClipEvent (load) {
var curx = new Number();
var cury = new Number();
var angle = new Number();
var angler = new Number();
var torot = new Number();
var dx = _x;
var dy = _y;
var spd = 0.05;
stop();
}
onClipEvent (enterFrame) {
play();
curx = dx - _x;
cury = dy - _y;
_x = (_x + (curx * spd));
_y = (_y + (cury * spd));
angle = Math.atan2(cury, curx);
torot = int(((angle * 180) / Math.PI) + 10);
if ((((curx < 2) && (curx > -2)) && (cury < 2)) && (cury > -2)) {
gotoAndStop (1);
}
if ((torot >= -30) && (torot <= 30)) {
santa.gotoAndStop("right");
}
if ((torot >= -70) && (torot <= -31)) {
santa.gotoAndStop("dupright");
}
if ((torot >= -110) && (torot <= -71)) {
santa.gotoAndStop("up");
}
if ((torot >= -150) && (torot <= -111)) {
santa.gotoAndStop("dupleft");
}
if ((torot >= 161) && (torot >= -151)) {
santa.gotoAndStop("left");
}
if ((torot >= 31) && (torot <= 75)) {
santa.gotoAndStop("ddownright");
}
if ((torot >= 76) && (torot <= 110)) {
santa.gotoAndStop("down");
}
if ((torot >= 111) && (torot <= 160)) {
santa.gotoAndStop("ddownleft");
}
}
onClipEvent (mouseDown) {
var dx = _root._xmouse;
var dy = _root._ymouse;
spd = 0.05;
}
Instance of Symbol 143 MovieClip in Frame 12
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.left);
dir.push(_root.left);
dir.push(_root.up);
dir.push(_root.up);
dir.push(_root.right);
dir.push(_root.right);
dir.push(_root.down);
dir.push(_root.down);
dir.push(_root.idle);
dir.push(_root.idle);
stop();
var spd = 3;
randomize = setInterval(function () {
i++;
if (i >= 7) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
play();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
play();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
play();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Frame 13
total = 7;
Instance of Symbol 120 MovieClip in Frame 13
onClipEvent (load) {
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this._x, this._y, true)) {
_root.bar2.play();
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 184 MovieClip "bar2" in Frame 13
onClipEvent (load) {
stop();
}
Instance of Symbol 143 MovieClip in Frame 13
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.left);
dir.push(_root.left);
dir.push(_root.idle);
dir.push(_root.idle);
dir.push(_root.right);
dir.push(_root.right);
dir.push(_root.idle);
dir.push(_root.idle);
dir.push(_root.idle);
stop();
var spd = 3;
randomize = setInterval(function () {
i++;
if (i >= 7) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
play();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
play();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
play();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Frame 14
total = 5;
Instance of Symbol 120 MovieClip in Frame 14
onClipEvent (load) {
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this._x, this._y, true)) {
_root.bar.play();
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 184 MovieClip "bar" in Frame 14
onClipEvent (load) {
stop();
}
Instance of Symbol 158 MovieClip "hero" in Frame 14
onClipEvent (load) {
var curx = new Number();
var cury = new Number();
var angle = new Number();
var angler = new Number();
var torot = new Number();
var dx = _x;
var dy = _y;
var spd = 0.05;
stop();
}
onClipEvent (enterFrame) {
play();
curx = dx - _x;
cury = dy - _y;
_x = (_x + (curx * spd));
_y = (_y + (cury * spd));
angle = Math.atan2(cury, curx);
torot = int(((angle * 180) / Math.PI) + 10);
if ((((curx < 2) && (curx > -2)) && (cury < 2)) && (cury > -2)) {
gotoAndStop (1);
}
if ((torot >= -30) && (torot <= 30)) {
santa.gotoAndStop("right");
}
if ((torot >= -70) && (torot <= -31)) {
santa.gotoAndStop("dupright");
}
if ((torot >= -110) && (torot <= -71)) {
santa.gotoAndStop("up");
}
if ((torot >= -150) && (torot <= -111)) {
santa.gotoAndStop("dupleft");
}
if ((torot >= 161) && (torot >= -151)) {
santa.gotoAndStop("left");
}
if ((torot >= 31) && (torot <= 75)) {
santa.gotoAndStop("ddownright");
}
if ((torot >= 76) && (torot <= 110)) {
santa.gotoAndStop("down");
}
if ((torot >= 111) && (torot <= 160)) {
santa.gotoAndStop("ddownleft");
}
}
onClipEvent (mouseDown) {
var dx = _root._xmouse;
var dy = _root._ymouse;
spd = 0.05;
}
Instance of Symbol 143 MovieClip in Frame 14
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.left);
dir.push(_root.left);
dir.push(_root.up);
dir.push(_root.up);
dir.push(_root.right);
dir.push(_root.right);
dir.push(_root.down);
dir.push(_root.down);
dir.push(_root.idle);
dir.push(_root.idle);
stop();
var spd = 3;
randomize = setInterval(function () {
i++;
if (i >= 7) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
play();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
play();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
play();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Instance of Symbol 143 MovieClip in Frame 14
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.right);
dir.push(_root.right);
dir.push(_root.down);
dir.push(_root.down);
dir.push(_root.left);
dir.push(_root.left);
dir.push(_root.up);
dir.push(_root.up);
dir.push(_root.idle);
dir.push(_root.idle);
stop();
var spd = 3;
randomize = setInterval(function () {
i++;
if (i >= 7) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
play();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
play();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
play();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Frame 15
total = 12;
Instance of Symbol 184 MovieClip "bar2" in Frame 15
onClipEvent (load) {
stop();
}
Instance of Symbol 120 MovieClip in Frame 15
onClipEvent (load) {
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this._x, this._y, true)) {
_root.bar2.play();
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 143 MovieClip in Frame 15
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.right);
dir.push(_root.right);
dir.push(_root.idle);
dir.push(_root.idle);
dir.push(_root.left);
dir.push(_root.left);
dir.push(_root.idle);
dir.push(_root.idle);
stop();
var spd = 3;
randomize = setInterval(function () {
i++;
if (i >= 7) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
play();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
play();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
play();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Instance of Symbol 143 MovieClip in Frame 15
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.right);
dir.push(_root.right);
dir.push(_root.idle);
dir.push(_root.idle);
dir.push(_root.left);
dir.push(_root.left);
dir.push(_root.idle);
dir.push(_root.idle);
stop();
var spd = 3;
randomize = setInterval(function () {
i++;
if (i >= 7) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
play();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
play();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
play();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Instance of Symbol 143 MovieClip in Frame 15
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.right);
dir.push(_root.right);
dir.push(_root.idle);
dir.push(_root.idle);
dir.push(_root.left);
dir.push(_root.left);
dir.push(_root.idle);
dir.push(_root.idle);
stop();
var spd = 3;
randomize = setInterval(function () {
i++;
if (i >= 7) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
play();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
play();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
play();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 15
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 15
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 15
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 15
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 15
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 15
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 15
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Frame 16
total = 4;
Instance of Symbol 186 MovieClip in Frame 16
onClipEvent (load) {
stop();
}
Instance of Symbol 143 MovieClip in Frame 16
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.up);
dir.push(_root.up);
dir.push(_root.idle);
dir.push(_root.down);
dir.push(_root.down);
dir.push(_root.idle);
stop();
var spd = 3;
randomize = setInterval(function () {
i++;
if (i >= 7) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
play();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
play();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
play();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Instance of Symbol 143 MovieClip in Frame 16
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.up);
dir.push(_root.up);
dir.push(_root.idle);
dir.push(_root.down);
dir.push(_root.down);
dir.push(_root.idle);
stop();
var spd = 3;
randomize = setInterval(function () {
i++;
if (i >= 7) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
play();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
play();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
play();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 16
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 16
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 16
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 143 MovieClip in Frame 16
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.up);
dir.push(_root.up);
dir.push(_root.idle);
dir.push(_root.down);
dir.push(_root.down);
dir.push(_root.idle);
stop();
var spd = 3;
randomize = setInterval(function () {
i++;
if (i >= 7) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
play();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
play();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
play();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Frame 17
total = 4;
Instance of Symbol 184 MovieClip "bar" in Frame 17
onClipEvent (load) {
stop();
}
Instance of Symbol 120 MovieClip in Frame 17
onClipEvent (load) {
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this._x, this._y, true)) {
_root.bar.play();
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 158 MovieClip "hero" in Frame 17
onClipEvent (load) {
var curx = new Number();
var cury = new Number();
var angle = new Number();
var angler = new Number();
var torot = new Number();
var dx = _x;
var dy = _y;
var spd = 0.05;
stop();
}
onClipEvent (enterFrame) {
play();
curx = dx - _x;
cury = dy - _y;
_x = (_x + (curx * spd));
_y = (_y + (cury * spd));
angle = Math.atan2(cury, curx);
torot = int(((angle * 180) / Math.PI) + 10);
if ((((curx < 2) && (curx > -2)) && (cury < 2)) && (cury > -2)) {
gotoAndStop (1);
}
if ((torot >= -30) && (torot <= 30)) {
santa.gotoAndStop("right");
}
if ((torot >= -70) && (torot <= -31)) {
santa.gotoAndStop("dupright");
}
if ((torot >= -110) && (torot <= -71)) {
santa.gotoAndStop("up");
}
if ((torot >= -150) && (torot <= -111)) {
santa.gotoAndStop("dupleft");
}
if ((torot >= 161) && (torot >= -151)) {
santa.gotoAndStop("left");
}
if ((torot >= 31) && (torot <= 75)) {
santa.gotoAndStop("ddownright");
}
if ((torot >= 76) && (torot <= 110)) {
santa.gotoAndStop("down");
}
if ((torot >= 111) && (torot <= 160)) {
santa.gotoAndStop("ddownleft");
}
}
onClipEvent (mouseDown) {
var dx = _root._xmouse;
var dy = _root._ymouse;
spd = 0.05;
}
Instance of Symbol 12 MovieClip [collect] in Frame 17
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 143 MovieClip in Frame 17
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.left);
stop();
var spd = 0;
randomize = setInterval(function () {
i++;
if (i >= 7) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
play();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
stop();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
play();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 17
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 17
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 143 MovieClip in Frame 17
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.right);
dir.push(_root.idle);
dir.push(_root.right);
dir.push(_root.idle);
dir.push(_root.right);
dir.push(_root.idle);
dir.push(_root.left);
dir.push(_root.idle);
dir.push(_root.left);
dir.push(_root.idle);
dir.push(_root.left);
dir.push(_root.idle);
dir.push(_root.idle);
stop();
var spd = 2;
randomize = setInterval(function () {
i++;
if (i >= 7) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
play();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
play();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
play();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Frame 18
total = 11;
Instance of Symbol 184 MovieClip "bar2" in Frame 18
onClipEvent (load) {
stop();
}
Instance of Symbol 120 MovieClip in Frame 18
onClipEvent (load) {
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this._x, this._y, true)) {
_root.bar2.play();
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 18
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 18
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 143 MovieClip in Frame 18
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.right);
dir.push(_root.idle);
dir.push(_root.right);
dir.push(_root.idle);
dir.push(_root.right);
dir.push(_root.idle);
dir.push(_root.left);
dir.push(_root.idle);
dir.push(_root.left);
dir.push(_root.idle);
dir.push(_root.left);
dir.push(_root.idle);
dir.push(_root.idle);
stop();
var spd = 2;
randomize = setInterval(function () {
i++;
if (i >= 7) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
play();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
play();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
play();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Instance of Symbol 143 MovieClip in Frame 18
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.right);
dir.push(_root.idle);
dir.push(_root.right);
dir.push(_root.idle);
dir.push(_root.right);
dir.push(_root.idle);
dir.push(_root.left);
dir.push(_root.idle);
dir.push(_root.left);
dir.push(_root.idle);
dir.push(_root.left);
dir.push(_root.idle);
dir.push(_root.idle);
stop();
var spd = 2;
randomize = setInterval(function () {
i++;
if (i >= 7) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
play();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
play();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
play();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 18
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 18
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 18
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 18
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 18
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Frame 19
total = 36;
Instance of Symbol 186 MovieClip "exit75" in Frame 19
onClipEvent (load) {
stop();
}
Instance of Symbol 158 MovieClip "hero" in Frame 19
onClipEvent (load) {
var curx = new Number();
var cury = new Number();
var angle = new Number();
var angler = new Number();
var torot = new Number();
var dx = _x;
var dy = _y;
var spd = 0.05;
stop();
}
onClipEvent (enterFrame) {
play();
curx = dx - _x;
cury = dy - _y;
_x = (_x + (curx * spd));
_y = (_y + (cury * spd));
angle = Math.atan2(cury, curx);
torot = int(((angle * 180) / Math.PI) + 10);
if ((((curx < 2) && (curx > -2)) && (cury < 2)) && (cury > -2)) {
gotoAndStop (1);
}
if ((torot >= -30) && (torot <= 30)) {
santa.gotoAndStop("right");
}
if ((torot >= -70) && (torot <= -31)) {
santa.gotoAndStop("dupright");
}
if ((torot >= -110) && (torot <= -71)) {
santa.gotoAndStop("up");
}
if ((torot >= -150) && (torot <= -111)) {
santa.gotoAndStop("dupleft");
}
if ((torot >= 161) && (torot >= -151)) {
santa.gotoAndStop("left");
}
if ((torot >= 31) && (torot <= 75)) {
santa.gotoAndStop("ddownright");
}
if ((torot >= 76) && (torot <= 110)) {
santa.gotoAndStop("down");
}
if ((torot >= 111) && (torot <= 160)) {
santa.gotoAndStop("ddownleft");
}
}
onClipEvent (mouseDown) {
var dx = _root._xmouse;
var dy = _root._ymouse;
spd = 0.05;
}
Instance of Symbol 12 MovieClip [collect] in Frame 19
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 19
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 19
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 19
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 19
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 19
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 19
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 19
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 19
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 19
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 19
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 19
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 19
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 19
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 19
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 19
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 143 MovieClip in Frame 19
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.left);
stop();
var spd = 0;
randomize = setInterval(function () {
i++;
if (i >= 7) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
play();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
stop();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
play();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Instance of Symbol 143 MovieClip in Frame 19
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.left);
stop();
var spd = 0;
randomize = setInterval(function () {
i++;
if (i >= 7) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
play();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
stop();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
play();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 19
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 19
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 19
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 19
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 19
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 19
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 19
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 19
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 19
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 19
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 19
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 19
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 19
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 19
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 19
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 19
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 19
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 19
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 143 MovieClip in Frame 19
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.right);
stop();
var spd = 0;
randomize = setInterval(function () {
i++;
if (i >= 7) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
stop();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
play();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
play();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 19
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 19
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Frame 20
total = 9;
Instance of Symbol 184 MovieClip "bar" in Frame 20
onClipEvent (load) {
stop();
}
Instance of Symbol 120 MovieClip in Frame 20
onClipEvent (load) {
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this._x, this._y, true)) {
_root.bar.play();
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 158 MovieClip "hero" in Frame 20
onClipEvent (load) {
var curx = new Number();
var cury = new Number();
var angle = new Number();
var angler = new Number();
var torot = new Number();
var dx = _x;
var dy = _y;
var spd = 0.05;
stop();
}
onClipEvent (enterFrame) {
play();
curx = dx - _x;
cury = dy - _y;
_x = (_x + (curx * spd));
_y = (_y + (cury * spd));
angle = Math.atan2(cury, curx);
torot = int(((angle * 180) / Math.PI) + 10);
if ((((curx < 2) && (curx > -2)) && (cury < 2)) && (cury > -2)) {
gotoAndStop (1);
}
if ((torot >= -30) && (torot <= 30)) {
santa.gotoAndStop("right");
}
if ((torot >= -70) && (torot <= -31)) {
santa.gotoAndStop("dupright");
}
if ((torot >= -110) && (torot <= -71)) {
santa.gotoAndStop("up");
}
if ((torot >= -150) && (torot <= -111)) {
santa.gotoAndStop("dupleft");
}
if ((torot >= 161) && (torot >= -151)) {
santa.gotoAndStop("left");
}
if ((torot >= 31) && (torot <= 75)) {
santa.gotoAndStop("ddownright");
}
if ((torot >= 76) && (torot <= 110)) {
santa.gotoAndStop("down");
}
if ((torot >= 111) && (torot <= 160)) {
santa.gotoAndStop("ddownleft");
}
}
onClipEvent (mouseDown) {
var dx = _root._xmouse;
var dy = _root._ymouse;
spd = 0.05;
}
Instance of Symbol 143 MovieClip in Frame 20
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.left);
stop();
var spd = 0;
randomize = setInterval(function () {
i++;
if (i >= 7) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
play();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
stop();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
play();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Instance of Symbol 143 MovieClip in Frame 20
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.left);
stop();
var spd = 0;
randomize = setInterval(function () {
i++;
if (i >= 7) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
play();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
stop();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
play();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Instance of Symbol 143 MovieClip in Frame 20
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.right);
stop();
var spd = 0;
randomize = setInterval(function () {
i++;
if (i >= 7) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
stop();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
play();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
play();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Instance of Symbol 143 MovieClip in Frame 20
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.right);
stop();
var spd = 0;
randomize = setInterval(function () {
i++;
if (i >= 7) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
stop();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
play();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
play();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Instance of Symbol 143 MovieClip in Frame 20
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.left);
stop();
var spd = 0;
randomize = setInterval(function () {
i++;
if (i >= 7) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
play();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
stop();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
play();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Instance of Symbol 143 MovieClip in Frame 20
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.up);
dir.push(_root.up);
dir.push(_root.idle);
dir.push(_root.down);
dir.push(_root.down);
dir.push(_root.idle);
stop();
var spd = 2;
randomize = setInterval(function () {
i++;
if (i >= 7) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
play();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
play();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
play();
}
}
Frame 21
total = 8;
Instance of Symbol 117 MovieClip "bar2" in Frame 21
onClipEvent (load) {
stop();
}
Instance of Symbol 120 MovieClip in Frame 21
onClipEvent (load) {
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this._x, this._y, true)) {
_root.bar2.play();
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 158 MovieClip "hero" in Frame 21
onClipEvent (load) {
var curx = new Number();
var cury = new Number();
var angle = new Number();
var angler = new Number();
var torot = new Number();
var dx = _x;
var dy = _y;
var spd = 0.05;
stop();
}
onClipEvent (enterFrame) {
play();
curx = dx - _x;
cury = dy - _y;
_x = (_x + (curx * spd));
_y = (_y + (cury * spd));
angle = Math.atan2(cury, curx);
torot = int(((angle * 180) / Math.PI) + 10);
if ((((curx < 2) && (curx > -2)) && (cury < 2)) && (cury > -2)) {
gotoAndStop (1);
}
if ((torot >= -30) && (torot <= 30)) {
santa.gotoAndStop("right");
}
if ((torot >= -70) && (torot <= -31)) {
santa.gotoAndStop("dupright");
}
if ((torot >= -110) && (torot <= -71)) {
santa.gotoAndStop("up");
}
if ((torot >= -150) && (torot <= -111)) {
santa.gotoAndStop("dupleft");
}
if ((torot >= 161) && (torot >= -151)) {
santa.gotoAndStop("left");
}
if ((torot >= 31) && (torot <= 75)) {
santa.gotoAndStop("ddownright");
}
if ((torot >= 76) && (torot <= 110)) {
santa.gotoAndStop("down");
}
if ((torot >= 111) && (torot <= 160)) {
santa.gotoAndStop("ddownleft");
}
}
onClipEvent (mouseDown) {
var dx = _root._xmouse;
var dy = _root._ymouse;
spd = 0.05;
}
Instance of Symbol 12 MovieClip [collect] in Frame 21
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 143 MovieClip in Frame 21
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.left);
dir.push(_root.left);
dir.push(_root.left);
dir.push(_root.right);
dir.push(_root.right);
stop();
var spd = 0;
randomize = setInterval(function () {
i++;
if (i >= 7) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
stop();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
stop();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
play();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Instance of Symbol 143 MovieClip in Frame 21
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.left);
dir.push(_root.left);
dir.push(_root.left);
dir.push(_root.right);
dir.push(_root.right);
stop();
var spd = 0;
randomize = setInterval(function () {
i++;
if (i >= 7) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
play();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
stop();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
play();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Instance of Symbol 143 MovieClip in Frame 21
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.right);
dir.push(_root.right);
dir.push(_root.left);
dir.push(_root.left);
dir.push(_root.left);
stop();
var spd = 0;
randomize = setInterval(function () {
i++;
if (i >= 7) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
play();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
stop();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
play();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Frame 22
total = 8;
Instance of Symbol 117 MovieClip "bar3" in Frame 22
onClipEvent (load) {
stop();
}
Instance of Symbol 120 MovieClip in Frame 22
onClipEvent (load) {
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this._x, this._y, true)) {
_root.bar3.play();
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 143 MovieClip in Frame 22
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.left);
dir.push(_root.left);
dir.push(_root.left);
dir.push(_root.right);
dir.push(_root.right);
stop();
var spd = 0;
randomize = setInterval(function () {
i++;
if (i >= 7) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
stop();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
stop();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
play();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Instance of Symbol 143 MovieClip in Frame 22
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.right);
dir.push(_root.right);
dir.push(_root.left);
dir.push(_root.left);
dir.push(_root.left);
stop();
var spd = 0;
randomize = setInterval(function () {
i++;
if (i >= 7) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
stop();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
stop();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
play();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 22
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Frame 23
Instance of Symbol 120 MovieClip in Frame 23
onClipEvent (load) {
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this._x, this._y, true)) {
_root.bar.play();
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 120 MovieClip in Frame 23
onClipEvent (load) {
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this._x, this._y, true)) {
_root.bar2.play();
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 120 MovieClip in Frame 23
onClipEvent (load) {
gotoAndStop (1);
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this._x, this._y, true)) {
_root.bar1.play();
gotoAndStop (2);
} else {
gotoAndStop (1);
}
}
Instance of Symbol 158 MovieClip "hero" in Frame 23
onClipEvent (load) {
var curx = new Number();
var cury = new Number();
var angle = new Number();
var angler = new Number();
var torot = new Number();
var dx = _x;
var dy = _y;
var spd = 0.05;
stop();
}
onClipEvent (enterFrame) {
play();
curx = dx - _x;
cury = dy - _y;
_x = (_x + (curx * spd));
_y = (_y + (cury * spd));
angle = Math.atan2(cury, curx);
torot = int(((angle * 180) / Math.PI) + 10);
if ((((curx < 2) && (curx > -2)) && (cury < 2)) && (cury > -2)) {
gotoAndStop (1);
}
if ((torot >= -30) && (torot <= 30)) {
santa.gotoAndStop("right");
}
if ((torot >= -70) && (torot <= -31)) {
santa.gotoAndStop("dupright");
}
if ((torot >= -110) && (torot <= -71)) {
santa.gotoAndStop("up");
}
if ((torot >= -150) && (torot <= -111)) {
santa.gotoAndStop("dupleft");
}
if ((torot >= 161) && (torot >= -151)) {
santa.gotoAndStop("left");
}
if ((torot >= 31) && (torot <= 75)) {
santa.gotoAndStop("ddownright");
}
if ((torot >= 76) && (torot <= 110)) {
santa.gotoAndStop("down");
}
if ((torot >= 111) && (torot <= 160)) {
santa.gotoAndStop("ddownleft");
}
}
onClipEvent (mouseDown) {
var dx = _root._xmouse;
var dy = _root._ymouse;
spd = 0.05;
}
Instance of Symbol 186 MovieClip "exitLAST" in Frame 23
onClipEvent (load) {
stop();
}
Instance of Symbol 143 MovieClip in Frame 23
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.right);
dir.push(_root.right);
dir.push(_root.left);
dir.push(_root.left);
dir.push(_root.left);
stop();
var spd = 0;
randomize = setInterval(function () {
i++;
if (i >= 7) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
stop();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
stop();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
play();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 23
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 23
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 23
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 23
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 23
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 23
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 12 MovieClip [collect] in Frame 23
onClipEvent (load) {
var hai = random(2);
_root.total = _root.total + 1;
present.gotoAndStop(random(present._totalframes));
stop();
}
onClipEvent (enterFrame) {
if (_root.hero.hitTest(this) && (_currentframe == 1)) {
_root.score++;
this.play();
}
}
Instance of Symbol 143 MovieClip in Frame 23
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.right);
dir.push(_root.right);
dir.push(_root.up);
dir.push(_root.up);
dir.push(_root.up);
stop();
var spd = 0;
randomize = setInterval(function () {
i++;
if (i >= 7) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
stop();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
stop();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
stop();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Instance of Symbol 143 MovieClip in Frame 23
onClipEvent (load) {
guard.admiration._visible = false;
var rngcolor = new Color(guard.range);
var i = 0;
var dir = new Array();
dir.push(_root.right);
dir.push(_root.right);
dir.push(_root.up);
dir.push(_root.up);
dir.push(_root.up);
stop();
var spd = 0;
randomize = setInterval(function () {
i++;
if (i >= 7) {
i = 0;
}
}, 2000);
}
onClipEvent (enterFrame) {
if (guard.range.hitTest(_root.hero) && (_root.black._currentframe < 2)) {
_root.red.play();
guard.admiration._visible = true;
i = 4;
gotoAndStop (1);
clearInterval(randomize);
rngcolor.setRGB(11745050);
spd = spd / 2;
_root.hero.spd = _root.hero.spd / 2;
}
switch (dir[i]) {
case 0 :
stop();
guard.gotoAndStop("right");
_x = (_x + spd);
break;
case 1 :
stop();
guard.gotoAndStop("left");
_x = (_x - spd);
break;
case 2 :
stop();
guard.gotoAndStop("up");
_y = (_y - spd);
break;
case 3 :
play();
guard.gotoAndStop("down");
_y = (_y + spd);
case 4 :
gotoAndStop (1);
}
}
Instance of Symbol 107 MovieClip in Frame 24
onClipEvent (load) {
Mouse.hide();
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
}
Instance of Symbol 4 MovieClip in Symbol 5 MovieClip [tile-m] Frame 1
onClipEvent (enterFrame) {
while (this.hitTest(_root.hero._x, _root.hero._y - 20, true)) {
_root.hero._y = _root.hero._y + 0.05;
}
while (this.hitTest(_root.hero._x, _root.hero._y + 10, true)) {
_root.hero._y = _root.hero._y - 0.05;
}
while (this.hitTest(_root.hero._x - 5, _root.hero._y, true)) {
_root.hero._x = _root.hero._x + 0.05;
}
while (this.hitTest(_root.hero._x + 5, _root.hero._y, true)) {
_root.hero._x = _root.hero._x - 0.05;
}
}
Symbol 11 MovieClip Frame 1
stop();
Symbol 12 MovieClip [collect] Frame 110
stop();
_parent.removeMovieClip();
Symbol 18 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
gotoAndStop ("loaded");
}
Symbol 18 MovieClip Frame 2
gotoAndPlay (1);
Symbol 18 MovieClip Frame 3
stop();
_root.nextFrame();
Symbol 207 MovieClip [__Packages.ab20] Frame 0
class ab20
{
function ab20 () {
}
static function fr(str, find, replace, limit) {
var _local2 = str;
var _local3;
var _local4;
var _local9;
if (!(typeof(find) === "string")) {
if (replace === undefined) {
replace = [""];
} else if (typeof(replace) === "string") {
replace = [replace];
}
} else {
find = [find];
replace = [replace];
}
_local9 = find.length;
var _local1 = 0;
var _local5 = 0;
while (_local1 < _local9) {
while (_local4 = _local2.indexOf(find[_local1]) , !(_local4 === -1)) {
if ((!(limit === undefined)) && (_local5 >= limit)) {
break;
}
_local3 = new Array(_local2.substring(0, _local4), _local2.substr(_local4, find[_local1].length), _local2.substr(_local4 + find[_local1].length));
_local3[1] = ((replace[_local1] === undefined) ? "" : (replace[_local1]));
_local2 = (_local3[0] + _local3[1]) + _local3[2];
_local5++;
}
_local1++;
_local5 = 0;
}
return(_local2);
}
static function encodeNum(num) {
var _local11 = getTimer();
var _local6 = ["aZ", "Zy", "Zx"];
var _local7 = ["zH", "jY", "uH"];
var _local4 = ["Ah", "Xh", "hO"];
var _local5 = ["Ub", "Bu", "Cb"];
var _local8 = ["Qc", "Pc", "Pe"];
var _local9 = ["Ei", "Ie", "Ef"];
var _local3 = ["Fk", "kG", "Kg"];
var _local13 = ["Jl", "Lm", "Mn"];
var _local12 = ["No", "Np", "Qp"];
var _local2 = ["Rs", "St", "Sw"];
var _local14 = random(3);
num = String(num);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "9", _local6[random(3)], 1);
num = fr(num, "8", _local7[random(3)], 1);
num = fr(num, "8", _local7[random(3)], 1);
num = fr(num, "8", _local7[random(3)], 1);
num = fr(num, "8", _local7[random(3)], 1);
num = fr(num, "8", _local7[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "7", _local4[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
num = fr(num, "6", _local5[random(3)], 1);
if (_local14 == 1) {
num = fr(num, "5", _local8[0]);
} else {
num = fr(num, "5", _local8[random(3)]);
}
num = fr(num, "4", _local9[random(3)]);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "3", _local3[random(3)], 1);
num = fr(num, "2", _local13[random(3)]);
num = fr(num, "1", _local12[random(3)]);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
num = fr(num, "0", _local2[random(3)], 1);
var _local10 = getTimer() - _local11;
num = (num + "Dd") + _local10;
return(num);
}
static function encodeStr8bytes(str) {
var _local1 = 0;
var _local4 = str.length;
var _local3 = "%";
var _local2 = ["%", "$", "#", "@"];
while (_local1 < _local4) {
_local3 = _local3 + (str.charCodeAt(_local1) + _local2[random(_local2.length)]);
_local1++;
}
return(_local3);
}
static function decodeStr8bytes(str) {
str = ("PIE" + str) + "PIE";
str = fr(str, "%", "D");
str = fr(str, "$", "D");
str = fr(str, "#", "D");
str = fr(str, "@", "D");
str = fr(str, "PIED", "");
str = fr(str, "DPIE", "");
var _local3 = str.split("D");
var _local4 = "";
var _local1 = 0;
var _local5 = _local3.length;
while (_local1 < _local5) {
_local4 = _local4 + String(String.fromCharCode(_local3[_local1]));
_local1++;
}
return(_local4);
}
static function decodeNum(str) {
var _local2 = ["aZ", "Zy", "Zx", "zH", "jY", "uH", "Ah", "Xh", "hO", "Ub", "Bu", "Cb", "Qc", "Pc", "Pe", "Ei", "Ie", "Ef", "Fk", "kG", "Kg", "Jl", "Lm", "Mn", "No", "Np", "Qp", "Rs", "St", "Sw"];
str = String(str);
str = str.split("Dd");
str = str[0];
str = fr(str, _local2[0], "9");
str = fr(str, _local2[1], "9");
str = fr(str, _local2[2], "9");
str = fr(str, _local2[3], "8");
str = fr(str, _local2[4], "8");
str = fr(str, _local2[5], "8");
str = fr(str, _local2[6], "7");
str = fr(str, _local2[7], "7");
str = fr(str, _local2[8], "7");
str = fr(str, _local2[9], "6");
str = fr(str, _local2[10], "6");
str = fr(str, _local2[11], "6");
str = fr(str, _local2[12], "5");
str = fr(str, _local2[13], "5");
str = fr(str, _local2[14], "5");
str = fr(str, _local2[15], "4");
str = fr(str, _local2[16], "4");
str = fr(str, _local2[17], "4");
str = fr(str, _local2[18], "3");
str = fr(str, _local2[19], "3");
str = fr(str, _local2[20], "3");
str = fr(str, _local2[21], "2");
str = fr(str, _local2[22], "2");
str = fr(str, _local2[23], "2");
str = fr(str, _local2[24], "1");
str = fr(str, _local2[25], "1");
str = fr(str, _local2[26], "1");
str = fr(str, _local2[27], "0");
str = fr(str, _local2[28], "0");
str = fr(str, _local2[29], "0");
var _local3 = Number(str);
return(_local3);
}
}
Symbol 53 MovieClip Frame 1
gotoAndPlay (2);
Symbol 53 MovieClip Frame 127
_root.nextFrame();
Symbol 62 MovieClip Frame 1
stop();
Symbol 62 MovieClip Frame 45
stop();
Symbol 75 Button
on (release) {
nextFrame();
}
Symbol 79 Button
on (release) {
if (!_root.prsd) {
_root.prsd = true;
_root.instructions.play();
} else {
_root.instructions.gotoAndPlay(46);
_root.prsd = false;
}
}
Symbol 84 Button
on (release) {
getURL ("http://www.dfblaze.net", "_blank");
}
Symbol 88 Button
on (release) {
getURL ("http://carrotdust.ketayo.com", "_blank");
}
Symbol 92 Button
on (release) {
getURL ("http://www.armorbot.com/mytable/?id=542", "_blank");
}
Symbol 95 Button
on (release) {
_root.timedMode = true;
nextFrame();
}
Symbol 97 Button
on (release) {
getURL ("http://www.armorbot.com/mytable/?id=608", "_blank");
}
Symbol 101 Button
on (release) {
getURL ("http://lostsolution.net", "_blank");
}
Symbol 105 Button
on (release) {
getURL ("http://www.dumpgames.com", "_blank");
}
Instance of Symbol 4 MovieClip in Symbol 117 MovieClip Frame 1
onClipEvent (enterFrame) {
while (this.hitTest(_root.hero._x, _root.hero._y - 20, true)) {
_root.hero._y = _root.hero._y + 0.05;
}
}
Instance of Symbol 115 MovieClip in Symbol 117 MovieClip Frame 2
onClipEvent (load) {
var psd = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero._x, _root.hero._y, true) && (!psd)) {
_root.nextLevel();
psd = true;
}
}
Symbol 117 MovieClip Frame 105
stop();
Symbol 120 MovieClip Frame 1
stop();
Instance of Symbol 4 MovieClip in Symbol 124 MovieClip Frame 1
onClipEvent (enterFrame) {
while (this.hitTest(_root.hero._x - 10, _root.hero._y, true)) {
_root.hero._x = _root.hero._x + 0.05;
}
while (this.hitTest(_root.hero._x + 10, _root.hero._y, true)) {
_root.hero._x = _root.hero._x - 0.05;
}
}
Instance of Symbol 4 MovieClip in Symbol 160 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.hero.spd = _root.hero.spd * -0.5;
}
}
Symbol 175 MovieClip Frame 1
stop();
Symbol 175 MovieClip Frame 50
var rtt = false;
var rts = false;
var arg = true;
var rtst = false;
_root.black.pressto._visible = false;
if (_root.timedMode) {
_root.sum = _root.time;
_root.totalscore = _root.totalscore + _root.sum;
} else {
_root.sum = Math.round((_root.score * 100) / _root.time);
_root.totalscore = _root.totalscore + _root.sum;
}
_root.test = 0;
var sound = new Sound();
sound.attachSound("count");
sound.setVolume(100);
decrease = setInterval(function () {
if (_root.score > 0) {
_root.score--;
sound.start(0, 0);
} else {
setTimeout(function () {
rtt = true;
}, 100);
}
if ((_root.time > 0) && (rtt)) {
_root.time--;
sound.start(0, 0);
} else if (rtt) {
setTimeout(function () {
rts = true;
}, 100);
}
if ((_root.test < _root.sum) && (rts)) {
_root.test = _root.test + 2;
sound.start(0, 0);
rts = true;
} else if (rtt && (rts)) {
if (arg) {
rtst = true;
arg = false;
}
}
if (rtst) {
rtst = false;
setTimeout(function () {
_root.hero.dx = hero._x;
_root.hero.dy = hero._y;
_root.sum = 0;
_root.blah = 0;
_root.black.pressto._visible = true;
}, 500);
}
}, 50);
onEnterFrame = function () {
if (Key.isDown(13) && (_root.black.pressto._visible == true)) {
_root.black.pressto._visible = false;
_root.level = _root.level + 1;
play();
_root.gotoAndStop(_root.level + 3);
delete onEnterFrame;
}
};
stop();
Symbol 175 MovieClip Frame 51
clearInterval(decrease);
Symbol 178 MovieClip Frame 1
stop();
Symbol 178 MovieClip Frame 44
_root.sum = Math.round((_root.score * 100) / _root.time);
_root.totalscore = _root.totalscore + _root.sum;
Symbol 178 MovieClip Frame 45
_root.gotoAndStop("gameover");
Instance of Symbol 4 MovieClip in Symbol 184 MovieClip Frame 1
onClipEvent (enterFrame) {
while (this.hitTest(_root.hero._x, _root.hero._y - 20, true)) {
_root.hero._y = _root.hero._y + 0.05;
}
}
Symbol 184 MovieClip Frame 105
stop();
Instance of Symbol 4 MovieClip in Symbol 184 MovieClip Frame 105
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero._x, _root.hero._y, true)) {
_root.hero.spd = _root.hero.spd * -0.5;
}
}
Instance of Symbol 115 MovieClip in Symbol 186 MovieClip Frame 1
onClipEvent (load) {
var psd = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero._x, _root.hero._y, true) && (!psd)) {
_root.nextLevel();
psd = true;
}
}
Symbol 198 Button
on (release) {
_root.gotoAndStop(2);
}
Symbol 204 Button
on (release) {
if (_root.timedMode == true) {
_root.submitted = "Your Score Has Been Submitted!";
getURL ("http://www.armorbot.com/mytable/?id=608", "_blank");
ab20_09 = new LoadVars();
ab20_09.z = _root.your_name;
ab20_09.x = ab20.encodeNum(_root.totalscore);
ab20_09.c = 608;
ab20_09.v = "MRHDML";
ab20_09.sendAndLoad("http://armorbot.com/s_b", ab20_09, "POST");
} else {
_root.submitted = "Your Score Has Been Submitted!";
getURL ("http://www.armorbot.com/mytable/?id=542", "_blank");
ab20_09 = new LoadVars();
ab20_09.z = _root.your_name;
ab20_09.x = ab20.encodeNum(_root.totalscore);
ab20_09.c = 542;
ab20_09.v = "NJUSKG";
ab20_09.sendAndLoad("http://armorbot.com/s_b", ab20_09, "POST");
}
}