Frame 1
stop();
Instance of Symbol 271 MovieClip in Frame 1
onClipEvent (enterFrame) {
a = _root.getBytesLoaded();
b = _root.getBytesTotal();
c = (a / b) * 100;
this._xscale = c;
((c >= 99) ? (_root.play()) : (_root.stop()));
}
Instance of Symbol 274 MovieClip in Frame 1
onClipEvent (load) {
this.cacheAsBitmap = true;
}
Frame 2
stop();
Frame 3
stop();
Mouse.show();
Key.addListener(_root);
_root.onKeyDown = function () {
if (Key.isDown(81)) {
trace("hhh");
if (_quality == "HIGH") {
_quality = "MEDIUM";
} else if (_quality == "MEDIUM") {
_quality = "LOW";
} else if (_quality == "LOW") {
_quality = "HIGH";
}
}
};
function ag() {
_root.getURL("http://www.armorgames.com", "_blank");
}
function header() {
trace("gay");
}
function s1() {
mainMus.stop();
mainMus.attachSound("b1");
mainMus.start(0, 99999999);
}
function s2() {
mainMus.stop();
mainMus.attachSound("b2");
mainMus.start(0, 99999999);
}
function s3() {
mainMus.stop();
mainMus.attachSound("b3");
mainMus.start(0, 99999999);
}
function s4() {
mainMus.stop();
mainMus.attachSound("b4");
mainMus.start(0, 99999999);
}
function s5() {
mainMus.stop();
mainMus.attachSound("b5");
mainMus.start(0, 99999999);
}
function s6() {
mainMus.stop();
mainMus.attachSound("b6");
mainMus.start(0, 99999999);
}
function s7() {
mainMus.stop();
mainMus.attachSound("b7");
mainMus.start(0, 99999999);
}
function s8() {
mainMus.stop();
mainMus.attachSound("b8");
mainMus.start(0, 99999999);
}
function s9() {
mainMus.stop();
mainMus.attachSound("b9");
mainMus.start(0, 99999999);
}
function vUp() {
((vol < 100) ? ((vol = vol + 20)) : 0);
mainMus.setVolume(vol);
}
function vDown() {
((vol > 0) ? ((vol = vol - 20)) : 0);
mainMus.setVolume(vol);
}
function vFull() {
vol = 100;
mainMus.setVolume(vol);
}
function v0() {
vol = 0;
mainMus.setVolume(vol);
}
var vol = 80;
var mainMus = new Sound(_root);
var menuu = new ContextMenu();
menuu.hideBuiltInItems();
menuu.customItems.push(new ContextMenuItem("Play More Great Games!", ag));
var bbb = new ContextMenuItem("Music Select", header);
menuu.customItems.push(bbb);
menuu.customItems.push(new ContextMenuItem("Beat 1", s1));
menuu.customItems.push(new ContextMenuItem("Beat 2", s2));
menuu.customItems.push(new ContextMenuItem("Carol of the Bells", s3));
menuu.customItems.push(new ContextMenuItem("The Fight", s4));
menuu.customItems.push(new ContextMenuItem("Vigorance", s5));
menuu.customItems.push(new ContextMenuItem("Scratch Loop", s6));
menuu.customItems.push(new ContextMenuItem("Walk the Talk", s7));
menuu.customItems.push(new ContextMenuItem("Kingbastard B-Side", s8));
var ccc = new ContextMenuItem("Volume Control", header);
menuu.customItems.push(ccc);
menuu.customItems.push(new ContextMenuItem("FULL VOLUME", vFull));
menuu.customItems.push(new ContextMenuItem("+++", vUp));
menuu.customItems.push(new ContextMenuItem("---", vDown));
menuu.customItems.push(new ContextMenuItem("MUTE", v0));
ccc.separatorBefore = true;
bbb.separatorBefore = true;
ccc.enabled = false;
bbb.enabled = false;
_root.menu = menuu;
s9();
Instance of Symbol 343 MovieClip in Frame 3
on (rollOver) {
mde = 1;
}
on (rollOut) {
mde = 2;
}
onClipEvent (enterFrame) {
((mde == 1) ? (nextFrame()) : (prevFrame()));
}
on (release) {
_root.frame.gotoAndStop(2);
}
Instance of Symbol 343 MovieClip in Frame 3
on (rollOver) {
mde = 1;
}
on (rollOut) {
mde = 2;
}
onClipEvent (enterFrame) {
((mde == 1) ? (nextFrame()) : (prevFrame()));
}
on (release) {
_root.frame.gotoAndStop(3);
}
Instance of Symbol 343 MovieClip "JPI_game" in Frame 3
on (rollOver) {
mde = 1;
}
on (rollOut) {
mde = 2;
}
onClipEvent (enterFrame) {
((mde == 1) ? (nextFrame()) : (prevFrame()));
}
on (release) {
_root.frame.gotoAndStop(4);
}
Instance of Symbol 343 MovieClip in Frame 3
on (rollOver) {
mde = 1;
}
on (rollOut) {
mde = 2;
}
onClipEvent (enterFrame) {
((mde == 1) ? (nextFrame()) : (prevFrame()));
}
on (release) {
_root.frame.gotoAndStop(5);
}
Instance of Symbol 343 MovieClip in Frame 3
on (rollOver) {
mde = 1;
}
on (rollOut) {
mde = 2;
}
onClipEvent (enterFrame) {
((mde == 1) ? (nextFrame()) : (prevFrame()));
}
on (release) {
_root.frame.gotoAndStop(6);
}
Instance of Symbol 343 MovieClip in Frame 3
on (rollOver) {
mde = 1;
}
on (rollOut) {
mde = 2;
}
onClipEvent (enterFrame) {
((mde == 1) ? (nextFrame()) : (prevFrame()));
}
on (release) {
_root.frame.gotoAndStop(7);
}
Instance of Symbol 343 MovieClip in Frame 3
on (rollOver) {
mde = 1;
}
on (rollOut) {
mde = 2;
}
onClipEvent (enterFrame) {
((mde == 1) ? (nextFrame()) : (prevFrame()));
}
on (release) {
_root.frame.gotoAndStop(8);
}
Instance of Symbol 343 MovieClip in Frame 3
on (rollOver) {
mde = 1;
}
on (rollOut) {
mde = 2;
}
onClipEvent (enterFrame) {
((mde == 1) ? (nextFrame()) : (prevFrame()));
}
on (release) {
_root.frame.gotoAndStop(9);
}
Instance of Symbol 343 MovieClip in Frame 3
on (rollOver) {
mde = 1;
}
on (rollOut) {
mde = 2;
}
onClipEvent (enterFrame) {
((mde == 1) ? (nextFrame()) : (prevFrame()));
}
on (release) {
_root.frame.gotoAndStop(10);
}
Instance of Symbol 354 MovieClip in Frame 3
onClipEvent (enterFrame) {
_rotation = (_rotation + 3);
}
Instance of Symbol 354 MovieClip in Frame 3
onClipEvent (enterFrame) {
_rotation = (_rotation - 3);
}
Instance of Symbol 424 MovieClip "frame" in Frame 3
onClipEvent (load) {
var current = "Menu";
}
Frame 4
s7();
function dumpLoad(mc) {
mc.rantz_typ = rantz_types.splice(Math.floor(Math.random() * rantz_types.length), 1);
mc.gotoAndStop(mc.rantz_typ);
mc._visible = true;
mc.swapDepths(60 + mc._currentframe);
}
function pickSack(mc) {
mc.rantz_X2 = (Math.abs(rantz_char.rantz_D) - 1) * -17;
if ((rantz_picked == mc) && (_root.rantz_rolls.hitTest(mc._x + mc.rantz_X2, mc._y, true))) {
rantz_pickup.start();
mc._x = mc._x + mc.rantz_X2;
mc._x = ((mc._x < 100) ? 65 : (((mc._x < 250) ? 203 : (((mc._x < 400) ? 346 : 484)))));
rantz_picked = null;
mc._xscale = (mc._yscale = 100);
rantz_char.prevFrame();
} else if (!rantz_picked) {
rantz_pickup.start();
rantz_picked = mc;
mc._x = rantz_char._x + ((rantz_char.rantz_D == -2) ? -20 : (((rantz_char.rantz_D == 0) ? 20 : 0)));
mc._y = rantz_char._y + ((rantz_char.rantz_D == -1) ? -20 : (((rantz_char.rantz_D == 1) ? 20 : 0)));
mc._xscale = (mc._yscale = 70);
rantz_char.nextFrame();
}
}
function sackFunc(mc) {
if (rantz_picked != mc) {
(((mc._y > 350) && (mc._x >= -50)) ? (mc._x++) : ((_root.rantz_rolls.hitTest(mc._x, mc._y, true) ? (mc._y--) : 0)));
if (mc._x > 570) {
rantz_lives--;
rantz_loselife.start();
mc.removeMovieClip();
} else if (_root.rantz_dump2.dmp.hitTest(mc._x, mc._y)) {
rantz_score = rantz_score + ((parseFloat(rantz_dump2.rantz_typ) == mc.rantz_typ) ? 10 : -20);
mc.removeMovieClip();
} else if (_root.rantz_dump3.dmp.hitTest(mc._x, mc._y)) {
rantz_score = rantz_score + ((parseFloat(rantz_dump3.rantz_typ) == mc.rantz_typ) ? 10 : -20);
mc.removeMovieClip();
} else if (_root.rantz_dump4.dmp.hitTest(mc._x, mc._y)) {
rantz_score = rantz_score + ((parseFloat(rantz_dump4.rantz_typ) == mc.rantz_typ) ? 10 : -20);
mc.removeMovieClip();
} else if (_root.rantz_dump5.dmp.hitTest(mc._x, mc._y)) {
rantz_score = rantz_score + ((parseFloat(rantz_dump5.rantz_typ) == mc.rantz_typ) ? 10 : -20);
mc.removeMovieClip();
}
}
}
stop();
i = 1;
while (i <= 20) {
this["rantz_rS" + i].removeMovieClip();
i++;
}
_root.rantz_mask._visible = false;
delete i;
var rantz_score = 0;
var rantz_lives = 3;
var rantz_level = 1;
var rantz_loselife = new Sound();
rantz_loselife.attachSound("rantz_crash");
var rantz_pickup = new Sound();
rantz_pickup.attachSound("rantz_pick");
var rantz_jingles = new Sound();
rantz_jingles.attachSound("rantz_jingle");
Instance of Symbol 442 MovieClip in Frame 4
on (rollOver) {
play();
}
on (rollOut) {
stop();
}
on (release) {
_root.gotoAndStop("rantz_game");
}
Instance of Symbol 447 MovieClip in Frame 4
on (rollOver) {
play();
}
on (rollOut) {
stop();
}
on (release) {
_root.gotoAndStop("rantz_instructions");
}
Instance of Symbol 483 MovieClip in Frame 5
on (rollOver, dragOver) {
play();
}
on (rollOut, dragOut) {
stop();
}
on (release) {
_parent.gotoAndStop("rantz_mainmenu");
}
Frame 6
stop();
var rantz_cuf = _currentframe;
var rantz_typ;
var rantz_numb = 0;
var rantz_types = [Number(1), Number(2), Number(3), Number(4)];
i = 2;
while (i <= 5) {
dumpLoad(_root["rantz_dump" + i]);
i++;
}
setTimeout((sackGo = function () {
if (_currentframe == rantz_cuf) {
rantz_typ = Math.ceil(Math.random() * 4);
((rantz_numb == 20) ? ((rantz_numb = 1)) : (rantz_numb++));
duplicateMovieClip (_root["rantz_sack" + rantz_typ], "rantz_rS" + rantz_numb, rantz_numb);
_root["rantz_rS" + rantz_numb].rantz_typ = rantz_typ;
_root["rantz_rS" + rantz_numb]._x = -50;
_root["rantz_rS" + rantz_numb].onEnterFrame = function () {
sackFunc(this);
};
rantz_time = (4000 + Math.round(Math.random() * 4000)) - ((rantz_level - 1) * 400);
((rantz_time < 1) ? ((rantz_time = 1)) : 0);
setTimeout(sackGo, rantz_time);
}
}), 4000);
Instance of Symbol 499 MovieClip in Frame 6
onClipEvent (enterFrame) {
_x = _parent.rantz_char._x;
_parent.rantz_char._x;
_y = _parent.rantz_char._y;
_parent.rantz_char._y;
_rotation = ((Math.atan2(_y - 150, _x - 420) / Math.PI) * 180);
_xscale = (Math.sqrt(((_y - 150) * (_y - 150)) + ((_x - 420) * (_x - 420))) / 3);
}
Instance of Symbol 467 MovieClip "rantz_char" in Frame 6
onClipEvent (load) {
var rantz_sp = 0;
var rantz_canmove = false;
var rantz_D = 0;
var rantz_west;
var rantz_north;
var rantz_east;
var rantz_south;
var rantz_blockw = false;
var rantz_blockn = false;
var rantz_blocke = false;
var rantz_blocks = false;
var rantz_blockedby;
}
onClipEvent (enterFrame) {
if (rantz_canmove) {
(rantz_west = _x - 12);
(rantz_north = _y - 12);
(rantz_east = _x + 12);
(rantz_south = _y + 12);
rantz_blockw = (rantz_blockn = (rantz_blocke = (rantz_blocks = false)));
rantz_blockedby = null;
rantz_sp = 4 * (((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(39))) || (Key.isDown(40)));
_rotation = (rantz_D * 90);
i = 1;
while (i < 5) {
if (_root["rantz_block" + i].hitTest(rantz_west - rantz_sp, rantz_north) || (_root["rantz_block" + i].hitTest(rantz_west - rantz_sp, rantz_south))) {
rantz_blockw = true;
rantz_blockedby = _root["rantz_block" + i];
}
if (_root["rantz_block" + i].hitTest(rantz_west, rantz_north - rantz_sp) || (_root["rantz_block" + i].hitTest(rantz_east, rantz_north - rantz_sp))) {
rantz_blockn = true;
rantz_blockedby = _root["rantz_block" + i];
}
if (_root["rantz_block" + i].hitTest(rantz_east + rantz_sp, rantz_north) || (_root["rantz_block" + i].hitTest(rantz_east + rantz_sp, rantz_south))) {
rantz_blocke = true;
rantz_blockedby = _root["rantz_block" + i];
}
if (_root["rantz_block" + i].hitTest(rantz_west, rantz_south + rantz_sp) || (_root["rantz_block" + i].hitTest(rantz_east, rantz_south + rantz_sp))) {
rantz_blocks = true;
rantz_blockedby = _root["rantz_block" + i];
}
i++;
}
delete i;
if (rantz_sp) {
if (rantz_D == -2) {
(rantz_blockw ? (_x = Math.round((rantz_blockedby._x + (rantz_blockedby._width / 2)) + 15)Math.round((rantz_blockedby._x + (rantz_blockedby._width / 2)) + 15)) : (_x = (_x - rantz_sp)_x - rantz_sp));
} else if (rantz_D == -1) {
(rantz_blockn ? (_y = Math.round((rantz_blockedby._y + (rantz_blockedby._height / 2)) + 15)Math.round((rantz_blockedby._y + (rantz_blockedby._height / 2)) + 15)) : (_y = (_y - rantz_sp)_y - rantz_sp));
} else if (rantz_D == 0) {
(rantz_blocke ? (_x = Math.round((rantz_blockedby._x - (rantz_blockedby._width / 2)) - 15)Math.round((rantz_blockedby._x - (rantz_blockedby._width / 2)) - 15)) : (_x = (_x + rantz_sp)_x + rantz_sp));
} else if (rantz_D == 1) {
(rantz_blocks ? (_y = Math.round((rantz_blockedby._y - (rantz_blockedby._height / 2)) - 15)Math.round((rantz_blockedby._y - (rantz_blockedby._height / 2)) - 15)) : (_y = (_y + rantz_sp)_y + rantz_sp));
}
_x = Math.max(17, Math.min(_x, 533));
_y = Math.max(53, Math.min(_y, 313));
if (_parent.rantz_picked) {
_parent.rantz_picked._x = _x + ((rantz_D == -2) ? -20 : (((rantz_D == 0) ? 20 : 0)));
_parent.rantz_picked._y = _y + ((rantz_D == -1) ? -20 : (((rantz_D == 1) ? 20 : 0)));
}
}
}
_parent.rantz_scrt.text = "Score: " + _parent.rantz_score;
_parent.rantz_lvlt.text = "Level: " + _parent.rantz_level;
_parent.rantz_lvs.gotoAndStop(_parent.rantz_lives + 1);
if (_parent.rantz_lives <= 0) {
_parent.gotoAndStop("rantz_gameover");
}
if (_parent.rantz_score >= (100 * _parent.rantz_level)) {
i = 1;
while (i <= 20) {
_parent["rantz_rS" + i].removeMovieClip();
i++;
}
_parent.rantz_types = [Number(1), Number(2), Number(3), Number(4)];
i = 2;
while (i <= 5) {
_parent.dumpLoad(_parent["rantz_dump" + i]);
i++;
}
delete i;
prevFrame();
_parent.rantz_picked = null;
_parent.rantz_nextlevel.play();
_parent.rantz_jingles.start();
_parent.rantz_level++;
}
}
onClipEvent (keyUp) {
(Key.isDown(37) ? ((rantz_D = -2)) : ((Key.isDown(38) ? ((rantz_D = -1)) : ((Key.isDown(39) ? ((rantz_D = 0)) : ((Key.isDown(40) ? ((rantz_D = 1)) : 0)))))));
if (rantz_canmove) {
if (Key.getCode() == 32) {
i = 1;
while (i <= 20) {
if (_parent["rantz_rS" + i]) {
if (_parent["rantz_rS" + i].hitTest(_x + ((rantz_D == -2) ? -20 : (((rantz_D == 0) ? 20 : 0))), _y + ((rantz_D == -1) ? -20 : (((rantz_D == 1) ? 20 : 0)))) || (_root["rantz_rS" + i].hitTest(_x + ((rantz_D == -2) ? -30 : (((rantz_D == 0) ? 30 : 0))), _y + ((rantz_D == -1) ? -30 : (((rantz_D == 1) ? 30 : 0)))))) {
_parent.pickSack(_parent["rantz_rS" + i]);
}
}
i++;
}
delete i;
}
}
}
onClipEvent (keyDown) {
if ((((Key.getCode() == 37) || (Key.getCode() == 38)) || (Key.getCode() == 39)) || (Key.getCode() == 40)) {
if (rantz_canmove) {
rantz_D = Key.getCode() - 39;
nisse2.play();
}
} else if (Key.getCode() == 81) {
i = 2;
while (i <= 5) {
_parent["rantz_dump" + i]._visible = false;
i++;
}
_parent.gotoAndStop("rantz_mainmenu");
}
}
Instance of Symbol 526 MovieClip "rantz_mask" in Frame 6
onClipEvent (load) {
swapDepths(40);
}
Frame 7
stop();
i = 1;
while (i <= 20) {
_root["rantz_rS" + i].removeMovieClip();
i++;
}
i = 2;
while (i <= 5) {
_root["rantz_dump" + i]._visible = false;
i++;
}
_root.rantz_mask._visible = false;
delete i;
rantz_jingles.start();
Instance of Symbol 483 MovieClip in Frame 7
on (rollOver, dragOver) {
play();
}
on (rollOut, dragOut) {
stop();
}
on (release) {
_parent.gotoAndStop("rantz_mainmenu");
}
Instance of Symbol 543 MovieClip in Frame 7
on (release) {
name = _root.username;
score = _root.rantz_score;
game = "Santas Little Sorter";
loadVariables ("http://www.ninja-chicken.com/postScoreXXNC.php", this, "POST");
getURL ("http://www.ninja-chicken.com/viewScoreXMAS.php?game=Santas Little Sorter", "_blank");
this.enabled = false;
}
Frame 8
stop();
s6();
Instance of Symbol 559 MovieClip in Frame 8
onClipEvent (load) {
startDrag ("", true);
}
Frame 9
stop();
z = 0;
n = 0;
speedz = 7;
speedn = 10;
intervalz = 20;
intervaln = 50;
hitz = 0;
hitn = 0;
score = 0;
missed = 0;
time = 60;
Instance of Symbol 583 MovieClip in Frame 9
onClipEvent (enterFrame) {
if ((_root.z % _root.intervalz) == 0) {
duplicateMovieClip ("_root.balloon", "balloons" + _root.z, _root.z);
setProperty("_root.balloons" + _root.z, _x , random(200) + 50);
tellTarget ("_root.balloons" + _root.z) {
gotoAndPlay (2);
};
}
_root.z++;
}
Instance of Symbol 583 MovieClip in Frame 9
onClipEvent (enterFrame) {
if ((_root.n % _root.intervaln) == 0) {
duplicateMovieClip ("_root.bonballoon", "bonballoons" + _root.n, _root.n);
setProperty("_root.bonballoons" + _root.n, _x , random(200) + 50);
tellTarget ("_root.bonballoons" + _root.n) {
gotoAndPlay (2);
};
}
_root.n++;
}
Instance of Symbol 591 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (_root.time == 30) {
_root.speedz = 9;
_root.intervaln = 30;
}
if (_root.time == 10) {
_root.intervalz = 10;
}
if (_root.time == 0) {
_root.play();
}
}
Instance of Symbol 559 MovieClip in Frame 9
onClipEvent (load) {
Mouse.hide();
startDrag ("", true);
}
onClipEvent (mouseDown) {
play();
}
Frame 10
stop();
Instance of Symbol 559 MovieClip in Frame 10
onClipEvent (load) {
startDrag ("", true);
}
Instance of Symbol 543 MovieClip in Frame 10
on (release) {
name = _root.username;
score = _root.score;
game = "Present shooter";
loadVariables ("http://www.ninja-chicken.com/postScoreXXNC.php", this, "POST");
getURL ("http://www.ninja-chicken.com/viewScoreXMAS.php?game=" + game, "_blank");
this.enabled = false;
}
Frame 11
s8();
stop();
Frame 12
stop();
Instance of Symbol 669 MovieClip "Hero" in Frame 12
onClipEvent (load) {
_root.points = 0;
enab = true;
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and (!spitting)) {
this._x = this._x - 6;
this._parent.Spit._x = this._parent.Spit._x - 6;
this._xscale = 100;
this._parent.Spit._xscale = 100;
}
if (Key.isDown(39) and (!spitting)) {
this._x = this._x + 6;
this._parent.Spit._x = this._parent.Spit._x + 6;
this._xscale = -100;
this._parent.Spit._xscale = -100;
}
if (Key.isDown(32) and (!spitting)) {
if (enab) {
this.gotoAndStop(2);
spitting = true;
enab = false;
}
}
if ((Key.isDown(17) || (Key.isDown(90))) and (!spitting)) {
if (enab) {
this.gotoAndStop(3);
spitting = true;
longspit = true;
enab = false;
}
}
if (((!Key.isDown(17)) && (!Key.isDown(90))) && (!Key.isDown(32))) {
enab = true;
}
if (_root.points < 0) {
_root.title = "Dribbler";
_root.grade = "F";
} else if (_root.points < 500) {
_root.title = "Drooler";
_root.grade = "E";
} else if (_root.points < 1000) {
_root.title = "Splatter";
_root.grade = "D";
} else if (_root.points < 1500) {
_root.title = "Spitter";
_root.grade = "C";
} else if (_root.points < 2000) {
_root.title = "Hocker";
_root.grade = "B";
} else if (_root.points < 2500) {
_root.title = "Flemmer";
_root.grade = "A";
} else if (_root.points == 3000) {
_root.title = "Perfect Luggie";
_root.grade = "A*";
}
}
Instance of Symbol 727 MovieClip in Frame 12
onClipEvent (load) {
_root.beltspeeda = 4;
_root.counting = 0;
}
onClipEvent (enterFrame) {
this._x = this._x - _root.beltspeeda;
_root.counting++;
}
Instance of Symbol 769 MovieClip in Frame 12
onClipEvent (load) {
_root.beltspeedb = 5;
}
onClipEvent (enterFrame) {
this._x = this._x - _root.beltspeedb;
}
Instance of Symbol 778 MovieClip "Spit" in Frame 12
onClipEvent (load) {
this._parent.Hero.spitting = false;
this._parent.Hero.longspit = false;
}
onClipEvent (enterFrame) {
if (!this._parent.Hero.spitting) {
this._visible = false;
}
if (this._parent.Hero.spitting and (!this._parent.Hero.longspit)) {
this._visible = true;
this.gotoAndStop(1);
}
if (this._parent.Hero.longspit) {
this._visible = true;
this.gotoAndStop(2);
}
}
Instance of Symbol 789 MovieClip in Frame 12
onClipEvent (load) {
this._visible = false;
this.stop();
}
onClipEvent (enterFrame) {
if ((_root.counting > 1080) and (!this._visible)) {
this._visible = true;
this.play();
}
}
Frame 13
stop();
snowflake = function () {
with (this) {
_x = Math.random() * 750;
_y = Math.random() * 20;
_alpha = Math.random() * 100;
_xscale = Math.random() * 50;
_yscale = Math.random() * 50;
_rotation = Math.random() * 360;
}
this.yMove = (Math.random() * 10) + 1;
this.xMove = (Math.random() * 5) + 1;
};
snowflake.prototype = new MovieClip();
Object.registerClass("snowFlake", snowflake);
snowflake.prototype.onEnterFrame = function () {
if (this.getBounds(_root).yMin >= Stage.height) {
removeMovieClip(this);
} else {
this._y = this._y + this.yMove;
this._x = this._x - this.xMove;
}
};
_root.attachMovie("snowFlake", "snowy", 5);
_root.createEmptyMovieClip("snowMaster", 5);
snowMaker = function () {
};
snowMaker.prototype = new MovieClip();
snowMaker.prototype.Init = function () {
this.wait = 50;
starTime = getTimer();
this.number = 50;
};
snowMaker.prototype.onEnterFrame = function () {
if (getTimer() >= (this.startTime + this.wait)) {
_root.attachMovie("snowFlake", "snow" + this.number, this.number);
this.number++;
this.startTime = getTimer();
}
};
_root.snowMaster.__proto__ = snowMaker.prototype;
_root.snowMaster.Init();
s3();
Frame 14
stop();
Frame 15
stop();
Frame 16
stop();
Frame 17
stop();
Instance of Symbol 878 MovieClip "Neashirhouse" in Frame 17
onClipEvent (load) {
this._x = (Math.random() * 400) + 550;
var Speed = ((Math.random() * 10) + 2);
}
onClipEvent (enterFrame) {
if (this._x <= -125) {
this._x = (Math.random() * 400) + 550;
this.gotoAndStop(Math.round(Math.random() * 5));
var Speed = ((Math.random() * 10) + 2);
}
}
onClipEvent (enterFrame) {
this._x = this._x - Speed;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root["present" + i])) {
_root["present" + i].removeMovieClip(this);
_root.counter = _root.counter + 100;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root, Neashirpresent)) {
_root.Neashirpresent.removeMovieClip(this);
_root.counter = _root.counter + 100;
}
}
Instance of Symbol 879 MovieClip "Neashirplayer" in Frame 17
onClipEvent (load) {
Gravity = 0;
Fly = 1;
_root.counter = 0;
i = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(32) && (Fly == 1)) {
Gravity = Gravity + 0.5;
this._rotation = this._rotation - 1;
} else if ((!Key.isDown(32)) && (Fly == 1)) {
Gravity = Gravity - 0.5;
this._rotation = this._rotation + 1;
}
}
onClipEvent (enterFrame) {
if (Fly == 1) {
this._y = this._y - Gravity;
} else if (Fly == 0) {
this._y = this._y - 0;
}
}
onClipEvent (enterFrame) {
if (Key.isDown(39) && (Fly == 1)) {
this._x = this._x + 3;
} else if (Key.isDown(37) && (Fly == 1)) {
this._x = this._x - 3;
}
}
onClipEvent (enterFrame) {
if (this._y >= 400) {
Fly = 0;
_root.Neashirgameover.play();
}
}
onClipEvent (enterFrame) {
if (this._y <= 0) {
Fly = 0;
_root.Neashirgameover.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.Neashirenemy._x, _root.Neashirenemy._y, false)) {
Fly = 0;
_root.Neashirgameover.play();
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.Neashirhouse)) {
Fly = 0;
_root.Neashirgameover.play();
}
}
onClipEvent (enterFrame) {
if (Fly == false) {
this.play();
Fly = 1;
}
}
onClipEvent (enterFrame) {
if ((Key.isDown(17) || (Key.isDown(90))) && (_root.Neashirbar._currentframe == 100)) {
_root.Neashirbar.gotoAndPlay(1);
_root.attachMovie("neashPres", "neashPres" + i, i);
_root["neashPres" + i]._x = _x - 31;
_root["neashPres" + i]._y = _y - 17.6;
_root["neashPres" + i].grav = 0;
_root["neashPres" + i].onEnterFrame = function () {
this.grav = this.grav + 0.5;
this._y = this._y + this.grav;
if (this._y > 400) {
this.removeMovieClip();
}
if (this.hitTest(_root.Neashirhouse)) {
_root.counter = _root.counter + 100;
this.removeMovieClip();
}
};
}
}
Instance of Symbol 888 MovieClip "Neashirpowerup" in Frame 17
onClipEvent (load) {
this._y = Math.random() * 550;
this._x = (Math.random() * 400) + 550;
var Speed = ((Math.random() * 10) + 2);
}
onClipEvent (enterFrame) {
if (this._x <= 0) {
this._y = Math.random() * 550;
this._x = (Math.random() * 400) + 550;
Math.random() * 10;
}
}
onClipEvent (enterFrame) {
this._x = this._x - Speed;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.Neashirplayer)) {
_root.Neashirbar.gotoAndStop(100);
this._y = Math.random() * 550;
this._x = (Math.random() * 400) + 550;
var Speed = ((Math.random() * 10) + 2);
}
}
Instance of Symbol 890 MovieClip "Neashirenemy" in Frame 17
onClipEvent (load) {
this._y = (Math.random() * 250) - 100;
this._x = (Math.random() * 400) + 550;
var Speed = ((Math.random() * 10) + 2);
}
onClipEvent (enterFrame) {
if (this._x <= -10) {
this._y = (Math.random() * 300) - 100;
this._x = (Math.random() * 400) + 550;
Math.random() * 10;
}
}
onClipEvent (enterFrame) {
this._x = this._x - Speed;
}
Frame 18
stop();
_root.Neashirsun.stop();
Frame 19
stop();
_root.Neashirsun.stop();
Frame 20
s2();
function numBetween(num1, num2) {
var _local1 = Math.floor(Math.random() * (num2 - num1)) + num1;
return(_local1);
}
stop();
var trees = 3;
var yPos = 0;
var fadeNum = 0.7;
var minY = claxor_obP._y;
var maxY = (claxor_obP._y + claxor_obP._height);
var treesAt = 0;
var startTrees = numBetween(5, 10);
var i = 0;
while (i < startTrees) {
treesAt++;
if (treesAt > 100) {
treesAt = 0;
}
yPos = numBetween(minY, maxY);
attachMovie("c_ob" + numBetween(0, trees), "ob" + treesAt, ((yPos * 100) + treesAt) + 1);
_root["ob" + treesAt]._y = yPos;
_root["ob" + treesAt]._x = numBetween(-5, 570);
_root["ob" + treesAt].scale = (((_root["ob" + treesAt]._y - _root.minY) / (_root.maxY - _root.minY)) * 70) + 30;
_root["ob" + treesAt]._xscale = _root["ob" + treesAt].scale;
_root["ob" + treesAt]._yscale = _root["ob" + treesAt].scale;
my_color = new Color(_root["ob" + treesAt]);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:String((-(100 - _root["ob" + treesAt].scale)) * fadeNum), ga:"100", gb:String((-(100 - _root["ob" + treesAt].scale)) * fadeNum), ba:"100", bb:String((-(100 - _root["ob" + treesAt].scale)) * fadeNum), aa:"100", ab:"100"};
my_color.setTransform(myColorTransform);
i++;
}
Instance of Symbol 922 MovieClip "menuMC" in Frame 20
onClipEvent (load) {
this.swapDepths(700000);
}
Frame 21
function endGame() {
game = false;
santaRunSpeed = speed;
speed = 0;
top.removeMovieClip();
gotoAndStop ("end");
_root.onEnterFrame = function () {
santaRun();
};
}
function santaRun() {
var _local2 = 0;
while (_local2 < santaRunSpeed) {
if (santaRunSpeed >= 1) {
if (_root.claxor_santaW.claxor_santa._totalframes > _root.claxor_santaW.claxor_santa._currentframe) {
_root.claxor_santaW.claxor_santa.nextFrame();
} else {
_root.claxor_santaW.claxor_santa.gotoAndStop(1);
}
}
_local2++;
}
((_root.claxor_santaW._x > 700) ? (_root.claxor_santaW.removeMovieClip()) : 0);
claxor_santaW._x = claxor_santaW._x + (santaRunSpeed * 0.5);
}
stop();
var speedPer = 0;
var disPer = 0;
var footPrint = 0;
var santaRunSpeed = 0;
var startTime = getTimer();
var maxDist = 100;
var timeEl = 0;
var speed = 0;
var acc = 1.5;
var slow = 0.985;
var slowJump = 0.999;
var maxSpeed = 40;
var lastKey = 0;
var lD = false;
var rD = false;
var lP = false;
var rP = false;
var distR = 0;
var obC = 500;
var trees = 3;
var treesAt = 0;
var yPos = 0;
var scale = 0;
var jump = false;
var stoneC = 0;
var stoneA = Math.round((Math.random() * 1000) + 2500);
var rockY = 390;
var jR = 0;
var fall = false;
var fellRock = false;
var jC = 0;
var jCm = 10;
var game = false;
var timeRound = 0;
top.timeText.text = "0.0";
top.speedBar._xscale = 0;
startTrees = numBetween(5, 10);
i = 0;
while (i < startTrees) {
treesAt++;
if (treesAt > 100) {
treesAt = 0;
}
yPos = numBetween(minY, maxY);
attachMovie("c_ob" + numBetween(0, trees), "ob" + treesAt, ((yPos * 100) + treesAt) + 1);
_root["ob" + treesAt]._y = yPos;
_root["ob" + treesAt]._x = numBetween(-5, 570);
_root["ob" + treesAt].scale = (((_root["ob" + treesAt]._y - _root.minY) / (_root.maxY - _root.minY)) * 70) + 30;
_root["ob" + treesAt]._xscale = _root["ob" + treesAt].scale;
_root["ob" + treesAt]._yscale = _root["ob" + treesAt].scale;
my_color = new Color(_root["ob" + treesAt]);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:String((-(100 - _root["ob" + treesAt].scale)) * fadeNum), ga:"100", gb:String((-(100 - _root["ob" + treesAt].scale)) * fadeNum), ba:"100", bb:String((-(100 - _root["ob" + treesAt].scale)) * fadeNum), aa:"100", ab:"100"};
my_color.setTransform(myColorTransform);
_root["ob" + treesAt].onEnterFrame = function () {
if (game) {
this._x = this._x - ((speed * (this.scale / 100)) * 0.3);
if (this._x < (-this._width)) {
this.removeMovieClip();
}
}
};
i++;
}
onEnterFrame = function () {
if (!game) {
if (Key.isDown(37) || (Key.isDown(39))) {
game = true;
startTime = getTimer();
}
} else {
timeEl = getTimer() - startTime;
timeRound = Math.round(timeEl / 100) / 10;
top.timeText.text = timeRound;
(((timeRound % 1) == 0) ? ((top.timeText.text = top.timeText.text + ".0")) : 0);
distPer = (distR / maxDist) * 200;
top.distBar._x = top.distBar.x + distPer;
speedPer = (speed / maxSpeed) * 100;
top.speedBar._xscale = speedPer;
((distR > maxDist) ? (endGame()) : 0);
jC++;
if ((((jC > jCm) && (Key.isDown(32))) && (!_root.jump)) && (!_root.fall)) {
_root.jump = true;
_root.claxor_santaW.gotoAndStop(2);
}
if ((!_root.jump) && (!_root.fall)) {
rD = false;
lD = false;
if (Key.isDown(37)) {
if (!lP) {
lP = true;
lD = true;
}
} else {
lP = false;
}
if (Key.isDown(39)) {
if (!rP) {
rP = true;
rD = true;
}
} else {
rP = false;
}
if (lD && (lastKey <= 0)) {
speed = speed + acc;
lastKey = 1;
}
if (rD && (lastKey >= 0)) {
speed = speed + acc;
lastKey = -1;
}
((speed < 0.5) ? ((speed = 0)) : null);
speed = speed * slow;
((speed > maxSpeed) ? ((speed = maxSpeed)) : null);
((speed < 0) ? ((speed = 0)) : null);
var _local3 = 0;
while (_local3 < speed) {
if (speed >= 1) {
if (_root.claxor_santaW.claxor_santa._totalframes > _root.claxor_santaW.claxor_santa._currentframe) {
_root.claxor_santaW.claxor_santa.nextFrame();
} else {
_root.claxor_santaW.claxor_santa.gotoAndStop(1);
}
}
_local3++;
}
}
distR = distR + (speed / 220);
if ((random(Math.round(obC / speed)) == 0) && (speed != 0)) {
treesAt++;
if (treesAt > 100) {
treesAt = 0;
}
yPos = numBetween(minY, maxY);
attachMovie("c_ob" + numBetween(0, trees), "ob" + treesAt, ((yPos * 100) + treesAt) + 1);
_root["ob" + treesAt]._y = yPos;
_root["ob" + treesAt]._x = 550 + (_root["ob" + treesAt]._width / 2);
_root["ob" + treesAt].scale = (((_root["ob" + treesAt]._y - _root.minY) / (_root.maxY - _root.minY)) * 70) + 30;
_root["ob" + treesAt]._xscale = _root["ob" + treesAt].scale;
_root["ob" + treesAt]._yscale = _root["ob" + treesAt].scale;
my_color = new Color(_root["ob" + treesAt]);
myColorTransform = new Object();
myColorTransform = {ra:"100", rb:String((-(100 - _root["ob" + treesAt].scale)) * fadeNum), ga:"100", gb:String((-(100 - _root["ob" + treesAt].scale)) * fadeNum), ba:"100", bb:String((-(100 - _root["ob" + treesAt].scale)) * fadeNum), aa:"100", ab:"100"};
my_color.setTransform(myColorTransform);
_root["ob" + treesAt].onEnterFrame = function () {
if (game) {
this._x = this._x - ((speed * (this.scale / 100)) * 0.3);
if (this._x < (-this._width)) {
this.removeMovieClip();
}
}
};
}
(jump ? ((speed = speed * slowJump)) : null);
(fall ? ((speed = 0)) : null);
stoneC = stoneC + speed;
if (stoneC >= stoneA) {
_root.fellRock = false;
_root.jR++;
((_root.jR > 100) ? ((_root.jR = 0)) : 0);
attachMovie("c_rock", "rock" + _root.jR, jR + 40000);
_root["rock" + _root.jR]._y = _root.rockY;
_root["rock" + _root.jR]._x = 550 + (_root["rock" + _root.jR]._width / 2);
_root["rock" + _root.jR].onEnterFrame = function () {
if (_root.game) {
this._x = this._x - (_root.speed * 0.3);
if (((_root.game && (!_root.jump)) && (!_root.fellRock)) && (Math.abs(this._x - _root.claxor_santaW._x) < ((this._width / 2) + (_root.claxor_santaW._width / 2)))) {
_root.fall = true;
_root.fellRock = true;
_root.claxor_santaW.gotoAndStop(3);
}
if (this._x < ((-this._width) / 2)) {
this.removeMovieClip();
}
}
};
stoneC = stoneC - stoneA;
}
}
};
Instance of Symbol 945 MovieClip "claxor_santaW" in Frame 21
onClipEvent (load) {
this.stop();
this.swapDepths(500001);
}
Instance of Symbol 953 MovieClip "top" in Frame 21
onClipEvent (load) {
swapDepths(600000);
}
Frame 22
stop();
scoreOut.timeDis.text = Math.round(timeEl / 100) / 10;
Instance of Symbol 543 MovieClip in Frame 22
on (release) {
name = _root.username;
score = Math.round(_root.timeEl / 100) / 10;
game = "Santas Hurdles";
loadVariables ("http://www.ninja-chicken.com/postScoreXXNC.php", this, "POST");
getURL ("http://www.ninja-chicken.com/viewScoreXMASC.php?game=" + game, "_blank");
this.enabled = false;
}
Instance of Symbol 972 MovieClip "scoreOut" in Frame 22
onClipEvent (load) {
this.swapDepths(100000);
}
Frame 23
s5();
stop();
var snowing = true;
delete _root.onEnterFrame;
Mouse.show();
cross_mc.removeMovieClip();
var snowNo = 10000;
var snowI = setInterval(function () {
if (snowing) {
attachMovie("snowT-H", "snowT-H" + snowNo, snowNo);
_root["snowT-H" + snowNo]._x = random(650) - 250;
_root["snowT-H" + snowNo]._xscale = (_root["snowT-H" + snowNo]._yscale = 100 - random(50));
_root["snowT-H" + snowNo]._alpha = random(80) + 20;
_root["snowT-H" + _root.snowNo].cacheAsBitmap = true;
_root["snowT-H" + snowNo].xvel = random(6) + 1;
_root["snowT-H" + snowNo].yvel = random(5) + 1;
_root["snowT-H" + snowNo].onEnterFrame = function () {
this._x = this._x + this.xvel;
this._y = this._y + this.yvel;
(((this._x > 550) || (this._y > 325)) ? (this.removeMovieClip()) : 0);
};
((i == 10200) ? ((snowNo = 10000)) : (snowNo++));
}
}, 200);
Instance of Symbol 990 MovieClip in Frame 23
onClipEvent (load) {
var filter1 = (new flash.filters.GlowFilter(10027008, 10, 9, 9, 1.5, 4, false, false));
}
on (rollOver) {
this.filters = [filter1];
}
on (rollOut) {
this.filters = [null];
}
on (press) {
_parent.gotoAndStop("T-HGAME");
}
Instance of Symbol 995 MovieClip in Frame 23
onClipEvent (load) {
var filter1 = (new flash.filters.GlowFilter(1900029, 10, 9, 9, 1.5, 4, false, false));
}
on (rollOver) {
this.filters = [filter1];
}
on (rollOut) {
this.filters = [null];
}
on (press) {
clearInterval(_root.snowI);
for (d in _root) {
removeMovieClip(_root[d]);
}
for (d in _root) {
delete _root[d];
}
_root.gotoAndStop("NCMenu");
}
Instance of Symbol 997 MovieClip in Frame 23
onClipEvent (load) {
var filter1 = (new flash.filters.GlowFilter(10027008, 10, 9, 9, 1.5, 4, false, false));
}
on (rollOver) {
this.filters = [filter1];
}
on (rollOut) {
this.filters = [null];
}
on (press) {
_parent.titleFrame_mc.nextFrame();
}
Instance of Symbol 997 MovieClip in Frame 23
onClipEvent (load) {
var filter1 = (new flash.filters.GlowFilter(10027008, 10, 9, 9, 1.5, 4, false, false));
}
on (rollOver) {
this.filters = [filter1];
}
on (rollOut) {
this.filters = [null];
}
on (press) {
_parent.titleFrame_mc.prevFrame();
}
Frame 24
function spawnSno(GP) {
attachMovie(("snowman" + GP) + "T-H", eneD, eneD);
_root[eneD]._xscale = 46;
_root[eneD]._yscale = 46;
_root[eneD]._y = 315;
_root[eneD]._x = _root.xArr[random(2)];
_root[eneD].xtaran = random(150);
_root[eneD].mde = "walk";
if (GP == "P") {
_root[eneD].xxx = 0;
_root[eneD].yyy = 0;
_root[eneD].ang = 0;
_root[eneD].energy = 15;
} else {
_root[eneD].energy = 10;
}
if (_root[eneD]._x < 0) {
_root[eneD].xtarg = _root[eneD].xtaran;
_root[eneD].facing = 3;
} else {
_root[eneD].xtarg = 550 - _root[eneD].xtaran;
_root[eneD].facing = -3;
_root[eneD]._xscale = _root[eneD]._xscale * -1;
}
delete this.xtaran;
_root[eneD].onEnterFrame = function () {
if (this.mde == "walk") {
if ((this._x < (this.xtarg - 3)) || (this._x > (this.xtarg + 3))) {
this._x = this._x + this.facing;
} else {
this.mde = "shoot";
}
}
if (this.energy <= 0) {
this.gotoAndPlay("dead");
}
};
cE.push(eneD);
((eneD == 200) ? ((eneD = 10)) : (eneD++));
}
function spawnBear() {
if ((!rBear) || (!lBear)) {
attachMovie("bearT-H", eneD, eneD);
_root[eneD].energy = 25;
_root[eneD]._y = 290;
if (rBear) {
_root[eneD]._x = xArr[0];
} else if (lBear) {
_root[eneD]._x = xArr[1];
} else {
_root[eneD]._x = xArr[random(2)];
}
_root[eneD]._xscale = 150;
_root[eneD]._yscale = 150;
if (_root[eneD]._x < 0) {
_root[eneD].xtarg = 240;
_root[eneD].facing = 2;
_root[eneD]._xscale = _root[eneD]._xscale * -1;
_root.lBear = true;
} else {
_root[eneD].xtarg = 350;
_root[eneD].facing = -2;
_root.rBear = true;
}
_root[eneD].mde = "walk";
_root[eneD].onEnterFrame = function () {
if ((this._x < (this.xtarg - 5)) || (this._x > (this.xtarg + 5))) {
this._x = this._x + this.facing;
this.mde = "walk";
} else {
this.mde = "hit";
}
if (this.energy <= 0) {
this.gotoAndPlay("death");
}
};
bearNo++;
cE.push(eneD);
((eneD == 200) ? ((eneD = 10)) : (++eneD));
}
}
function mky(sde, org) {
if (!monkey) {
attachMovie("monkeyT-H", eneD, eneD);
_root[eneD].lgth = random(70) + 190;
_root[eneD]._yscale = 20;
if (sde == 1) {
_root[eneD]._x = 275 - _root[eneD].lgth;
_root[eneD]._xscale = 20;
} else {
_root[eneD]._x = 275 + _root[eneD].lgth;
_root[eneD]._xscale = -20;
}
_root[eneD]._y = -55;
_root[eneD].distX = 275 - _root[eneD]._x;
_root[eneD].dist2 = 1;
_root[eneD].side = sde;
_root[eneD].energy = 3;
_root[eneD].limit = 275 + (_root[eneD].lgth * sde);
_root[eneD].vel = 3 - (_root[eneD].lgth * 0.0035);
_root[eneD].onEnterFrame = function () {
this.distX = 275 - this._x;
this.dist2 = (275 - Math.abs(this.distX)) * 0.05;
this._x = this._x + ((this.dist2 + this.vel) * this.side);
this._y = Math.sqrt((this.lgth * this.lgth) - (this.distX * this.distX)) - 55;
this._rotation = this.distX * 0.3;
_root.clear();
_root.lineStyle(3, 16777215, 100);
_root.moveTo(275, -55);
_root.lineTo(this._x, this._y);
if (_root.santa_mc.hitTest(this._x, this._y, false)) {
this.mkyAtt.play();
}
if ((((this._y <= -5) && (((275 - this.distX) > (this.limit - 10)) && ((275 - this.distX) < (this.limit + 10)))) || (this._x > 550)) || (this._x < 0)) {
for (i in _root.cE) {
if (_root.cE[i] == this._name) {
_root.cE.splice(i, 1);
}
}
this.removeMovieClip();
monkey = false;
_root.clear();
}
if (this.energy <= 0) {
delete this.onEnterFrame;
for (i in _root.cE) {
if (_root.cE[i] == this._name) {
_root.cE.splice(i, 1);
}
}
this.gotoAndStop(2);
this.xxVel = (this.dist2 + this.vel) * this.side;
this.yVel = 1;
this.grv = 3;
monkey = false;
this.rot = random(3) + 3;
this.onEnterFrame = function () {
this._x = this._x + this.xxVel;
this._y = this._y + (this.yVel + this.grv);
this._rotation = this._rotation + (this.rot * (-this.side));
this.yVel = this.yVel + 0.2;
if (this._y >= 340) {
if (this.mkyDie_mc._currentframe == 1) {
this.mkyDie_mc.play();
this._y = 340;
this.yVel = this.yVel * -0.8;
this.xxVel = this.xxVel * 0.8;
this.rot = this.rot * -0.8;
} else {
this.rot = 0;
this._rotation = 0;
this._y = 340;
this.yVel = this.yVel * -0.8;
this.xxVel = this.xxVel * 0.8;
}
}
if ((this._x > 570) || (this._x < -20)) {
this.removeMovieClip();
}
};
}
};
cE.push(eneD);
((eneD == 200) ? ((eneD = 10)) : (++eneD));
monkey = true;
}
}
function ePres(PP) {
attachMovie(("ePres" + PP) + "T-H", presD, presD);
((random(2) == 0) ? ((_root[presD]._xscale = -100)) : 0);
_root[presD]._y = -25;
_root[presD]._x = random(510) + 20;
_root[presD].vel = 1;
_root[presD].timer = 0;
_root[presD].r = random(11) - 5;
_root[presD].mde = "fall";
_root[presD].bomb = false;
_root[presD].onEnterFrame = function () {
this._y = this._y + this.vel;
this.vel = this.vel * 1.05;
this._rotation = this._rotation + this.r;
if (this._y >= 337) {
delete this.vel;
delete this.r;
}
if (this.bomb == true) {
var _local3 = 0;
while (_local3 < _root.cE.length) {
var _local4 = _root.cE[_local3];
if (this.hitTest(_root[_local4])) {
_root[_local4].energy = 0;
}
_local3++;
}
}
if (this.timer > 40) {
for (i in _root.cP) {
if (_root.cP[i] == this._name) {
_root.cP.splice(i, 1);
}
}
this.removeMovieClip();
} else {
this.timer = this.timer + 0.1;
}
};
cP.push(presD);
((presD == 9) ? ((presD = 3)) : (++presD));
}
var score = 0;
var energy = 100;
var eneD = 10;
var presD = 3;
var rAmmo = 0;
var snow2No = 100;
var diffic = 6;
var speedd = 0;
var laserr = 0;
var rBear = false;
var lBear = false;
var monkey = false;
var dead = false;
var laserTimer = 0;
var speedTimer = 0;
var xArr = new Array(-30, 580);
var cP = new Array();
var cE = new Array();
var laser = false;
var main = setInterval(function () {
if (cE.length < diffic) {
var _local1 = random(12);
var _local2 = random(9);
if (_local1 == 0) {
spawnBear();
} else if ((_local1 >= 2) && (_local1 < 6)) {
spawnSno("G");
} else if ((_local1 >= 6) && (_local1 < 10)) {
spawnSno("P");
} else if (_local1 >= 10) {
((random(2) == 1) ? (mky(1)) : (mky(-1)));
}
if (_local2 >= 6) {
ePres(random(5) + 1);
}
if (_local2 > 7) {
ePres(random(6) + 1);
}
}
((diffic <= 9) ? ((diffic = Math.round(score * 0.005) + 2)) : 0);
((laserr == 0) ? ((laser = false)) : (laserr--));
((speedd == 0) ? ((santa_mc.speed = 1.5)) : (speedd--));
}, 1700);
Instance of Symbol 1016 MovieClip "cross_mc" in Frame 24
onClipEvent (load) {
startDrag (this, true);
swapDepths(1000000);
}
Instance of Symbol 1026 MovieClip "gunArm" in Frame 24
onClipEvent (load) {
var rad = 57.2957795130823;
var shoot = false;
var xx = 0;
var yy = 0;
var xy = 0;
var rot = 0;
var orig = (_x - _parent.santa_mc._x);
onMouseDown = function () {
shoot = true;
_parent.santa_mc.climbing = false;
};
onMouseUp = function () {
shoot = false;
_parent.santa_mc.climbing = true;
};
onEnterFrame = function () {
xx = _x - _parent._xmouse;
yy = _y - _parent._ymouse;
xy = Math.atan2(yy, xx);
rot = xy * rad;
_rotation = rot;
((shoot == true) ? (this.gun.play()) : 0);
_x = (_parent.santa_mc._x - (orig * _parent.santa_mc.side));
_yscale = (-100 * _parent.santa_mc.side);
clear();
if (_parent.laser == true) {
lineStyle(2, 16711680, 40);
lineTo(_xmouse, _ymouse);
}
};
}
Instance of Symbol 1044 MovieClip "santa_mc" in Frame 24
onClipEvent (load) {
var xmouse = 0;
var side = -1;
var climbing = false;
var speed = 2.5;
onEnterFrame = function () {
Mouse.hide();
if ((Key.isDown(38) && (!Key.isDown(40))) && (climbing)) {
if (_y > 150) {
play();
_y = (_y - speed);
_parent.cross_mc._visible = false;
_parent.gunArm._visible = false;
_parent.gunArm._y = _parent.gunArm._y - speed;
}
}
if ((Key.isDown(40) && (!Key.isDown(38))) && (climbing)) {
if (_y < 300) {
play();
_y = (_y + speed);
_parent.cross_mc._visible = false;
_parent.gunArm._visible = false;
_parent.gunArm._y = _parent.gunArm._y + speed;
}
} else if ((((!Key.isDown(40)) && (!Key.isDown(38))) || (Key.isDown(40) && (Key.isDown(38)))) || (!climbing)) {
this.gotoAndStop(1);
_parent.gunArm._visible = true;
_parent.cross_mc._visible = true;
}
if (_parent.energy <= 0) {
delete this.onEnterFrame;
delete this.onMouseMove;
delete _parent.gunArm.onEnterFrame;
_parent.gunArm._visible = false;
_root.dead = true;
var xVel = 5;
this.gotoAndStop("dead");
_root.gotoAndStop("T-HGMOVER");
this.swapDepths(10201);
this.onEnterFrame = function () {
_y = (_y + xVel);
_rotation = (_rotation + (side * xVel));
xVel = xVel * 1.1;
if (_y >= 340) {
gotoAndStop ("dead2");
_rotation = 0;
xVel = 0;
}
};
}
};
onMouseMove = function () {
xmouse = _x - _root._xmouse;
side = xmouse / Math.abs(xmouse);
_xscale = (-100 * side);
};
}
Frame 25
Mouse.show();
clearInterval(main);
for (i in _root) {
_root[i].clearInterval(playy);
}
Frame 26
s4();
stop();
this.play_btn.onRelease = function () {
if ((_root.window.instructions._currentframe == 20) || (_root.window.credits._currentframe == 20)) {
_root.window.instructions.play();
_root.window.credits.play();
}
if (_root.window._currentframe == 1) {
_root.gotoAndStop("blaze_game");
}
};
this.instr_btn.onRelease = function () {
if (_root.window.credits._currentframe == 20) {
_root.window.credits.play();
if (_root.window._currentframe == 1) {
_root.window.gotoAndStop(2);
}
}
if (_root.window._currentframe == 1) {
_root.window.gotoAndStop(2);
}
if (_root.window.instructions._currentframe == 20) {
_root.window.instructions.play();
}
};
this.creds_btn.onRelease = function () {
if (_root.window.instructions._currentframe == 20) {
_root.window.instructions.play();
}
if (_root.window._currentframe == 1) {
_root.window.gotoAndStop(3);
}
if (_root.window.credits._currentframe == 20) {
_root.window.credits.play();
}
};
Frame 27
stop();
_root.snowballs = 10;
_root.score = 0;
if (_root.score >= 30) {
_root.duper.stop();
_root.duper.swapDepths(79797878797);
_root.duper.removeMovieClip();
_root.duper2.stop();
_root.duper2.swapDepths(79797878798);
_root.duper2.removeMovieClip();
_root.duper3.stop();
_root.duper3.swapDepths(79797878799);
_root.duper3.removeMovieClip();
_root.duper4.stop();
_root.duper4.swapDepths(79797878800);
_root.duper4.removeMovieClip();
_root.reindeer2.removeMovieClip();
_root.snowman.removeMovieClip();
_root.peng.removeMovieClip();
_root.pingu.removeMovieClip();
}
if (_root.santa.shooters._alpha <= 10) {
_root.santa._y = -10000;
}
if (_root.health <= 0) {
_root.health = 0;
_root.blacker.play();
_root.duper.stop();
_root.duper.swapDepths(79797878797);
_root.duper.removeMovieClip();
_root.duper2.stop();
_root.duper2.swapDepths(79797878798);
_root.duper2.removeMovieClip();
_root.duper3.stop();
_root.duper3.swapDepths(79797878799);
_root.duper3.removeMovieClip();
_root.duper4.stop();
_root.duper4.swapDepths(79797878800);
_root.duper4.removeMovieClip();
_root.reindeer2.removeMovieClip();
_root.snowman.removeMovieClip();
_root.peng.removeMovieClip();
_root.pingu.removeMovieClip();
}
Instance of Symbol 1156 MovieClip "hero" in Frame 27
onClipEvent (load) {
_root.health = 100;
_root.reload._visible = false;
snow = true;
}
onClipEvent (enterFrame) {
if ((Key.isDown(68) && (snow)) && (this._currentframe == 1)) {
this.gotoAndStop(2);
snow = true;
} else if ((Key.isDown(83) && (snow)) && (this._currentframe == 1)) {
this.gotoAndStop(3);
snow = true;
} else if ((Key.isDown(65) && (snow)) && (this._currentframe == 1)) {
this.gotoAndStop(4);
snow = true;
}
if (Key.isDown(69) && (_root.specbar._currentframe == 2)) {
_root.attackd.play();
}
if (_root.snowballs >= 0) {
_root.reload._visible = false;
snow = true;
}
if (_root.snowballs == 0) {
_root.reload._visible = true;
snowballs = 0;
snow = false;
}
if (_root.snowballs <= 0) {
_root.snowballs = 0;
snow = false;
}
if ((((!snow) && (Key.isDown(65))) || ((!snow) && (Key.isDown(83)))) || (((!this._currentframe) == 1) && (Key.isDown(68)))) {
this.gotoAndStop(1);
}
if (Key.isDown(87) && (!snow)) {
this.gotoAndStop(1);
_root.snowballs = 10;
snow = true;
}
}
onClipEvent (enterFrame) {
if (_root.rock2.hitTest(this)) {
_root.rock2.removeMovieClip();
_root.rock2._alpha = 0;
_root.health = _root.health - 5;
}
}
Instance of Symbol 1199 MovieClip "santa" in Frame 27
onClipEvent (enterFrame) {
if (_root.score == 40) {
_root.peng._y = 600;
_root.duper2.stop();
_root.pingu._y = 600;
_root.duper3.stop();
_root.snowman._y = 800;
_root.duper.stop();
_root.reindeer2._y = 1000;
_root.duper4.stop();
this._y = -33.8;
this._x = 273.7;
this._alpha = 100;
}
}
Instance of Symbol 1207 MovieClip "penguin" in Frame 27
onClipEvent (enterFrame) {
for (i in _root) {
if (_root[i]._name.indexOf("peng") != -1) {
if (_root.hero._x < (_root[i]._x - 130)) {
_root[i].gotoAndStop(1);
_root[i]._x = _root[i]._x - 0.5;
} else if (_root.hero._x <= (_root[i]._x - 120)) {
_root[i].gotoAndStop(2);
_root[i]._x = _root[i]._x - 0;
if (_root[i].explosion._currentframe > 9) {
_root[i].removeMovieClip();
_root.duper2.gotoAndPlay(23);
}
}
if ((_root.hero.hero_ball1.snowball.hitTest(_root[i]) || (_root.hero.hero_ball2.snowball.hitTest(_root[i]))) || (_root.hero.hero_ball3.snowball.hitTest(_root[i]))) {
_root[i]._alpha = _root[i]._alpha - 8;
_root.hero.hero_ball1.snowball._alpha = 0;
_root.hero.hero_ball2.snowball._alpha = 0;
if (_root[i]._alpha <= 30) {
_root.score = _root.score + 1;
_root.specbar.bar.gotoAndStop((_root.specbar.bar._currentframe = _root.specbar.bar._currentframe + 7));
if ((_root.specbar.bar._currentframe >= 93) && (_root.specbar.bar._currentframe <= 99)) {
_root.specbar.bar.gotoAndStop(100);
}
_root.duper2.gotoAndPlay(23);
_root[i].removeMovieClip();
}
}
if (_root.attackd.hitTest(_root[i])) {
_root[i]._alpha = _root[i]._alpha - 20;
_root.hero.hero_ball1.snowball._alpha = 0;
_root.hero.hero_ball2.snowball._alpha = 0;
if (_root[i]._alpha <= 10) {
_root.score = _root.score + 1;
_root.specbar.bar.gotoAndStop((_root.specbar.bar._currentframe = _root.specbar.bar._currentframe + 7));
if ((_root.specbar.bar._currentframe >= 93) && (_root.specbar.bar._currentframe <= 99)) {
_root.specbar.bar.gotoAndStop(100);
}
_root.duper2.gotoAndPlay(30);
_root[i].removeMovieClip();
}
}
}
}
}
Instance of Symbol 1212 MovieClip "reload" in Frame 27
onClipEvent (enterFrame) {
this._visible = false;
}
Instance of Symbol 1229 MovieClip "snowmen" in Frame 27
onClipEvent (load) {
_root.Location = new Array(580, 680, 780, 880, 980, 1180, 1320, 1480, 1500);
}
onClipEvent (enterFrame) {
for (i in _root) {
if (_root[i]._name.indexOf("snowman") != -1) {
if (_root.hero._x < (_root[i]._x - 120)) {
_root[i].gotoAndStop(2);
_root[i]._x = _root[i]._x - 1;
} else if (_root.hero._x <= (_root[i]._x - 100)) {
_root[i].gotoAndStop(3);
_root[i]._x = _root[i]._x - 0;
}
if ((_root.hero.hero_ball1.snowball.hitTest(_root[i]) || (_root.hero.hero_ball2.snowball.hitTest(_root[i]))) || (_root.hero.hero_ball3.snowball.hitTest(_root[i]))) {
_root[i]._alpha = _root[i]._alpha - 5;
_root.hero.hero_ball1.snowball._alpha = 0;
_root.hero.hero_ball2.snowball._alpha = 0;
if (_root[i]._alpha <= 10) {
_root.score = _root.score + 1;
_root.specbar.bar.gotoAndStop((_root.specbar.bar._currentframe = _root.specbar.bar._currentframe + 10));
if ((_root.specbar.bar._currentframe >= 90) && (_root.specbar.bar._currentframe <= 99)) {
_root.specbar.bar.gotoAndStop(100);
}
_root.duper.play();
_root[i].removeMovieClip();
}
}
if (_root.attackd.hitTest(_root[i])) {
_root[i]._alpha = _root[i]._alpha - 20;
_root.hero.hero_ball1.snowball._alpha = 0;
_root.hero.hero_ball2.snowball._alpha = 0;
if (_root[i]._alpha <= 10) {
_root.score = _root.score + 1;
_root.specbar.bar.gotoAndStop((_root.specbar.bar._currentframe = _root.specbar.bar._currentframe + 7));
if ((_root.specbar.bar._currentframe >= 93) && (_root.specbar.bar._currentframe <= 99)) {
_root.specbar.bar.gotoAndStop(100);
}
_root.duper.play();
_root[i].removeMovieClip();
}
}
}
}
}
Instance of Symbol 1235 MovieClip "penguin2" in Frame 27
onClipEvent (enterFrame) {
for (i in _root) {
if (_root[i]._name.indexOf("pingu") != -1) {
if (_root.hero._x < (_root[i]._x - 130)) {
_root[i].gotoAndStop(1);
_root[i]._x = _root[i]._x - 0.5;
} else if (_root.hero._x <= (_root[i]._x - 120)) {
_root[i].gotoAndStop(2);
_root[i]._x = _root[i]._x - 0;
if (_root[i].explosion._currentframe > 9) {
_root[i].removeMovieClip();
_root.duper3.gotoAndPlay(30);
}
}
if ((_root.hero.hero_ball1.snowball.hitTest(_root[i]) || (_root.hero.hero_ball2.snowball.hitTest(_root[i]))) || (_root.hero.hero_ball3.snowball.hitTest(_root[i]))) {
_root[i]._alpha = _root[i]._alpha - 8;
_root.hero.hero_ball1.snowball._alpha = 0;
_root.hero.hero_ball2.snowball._alpha = 0;
if (_root[i]._alpha <= 10) {
_root.score = _root.score + 1;
_root.specbar.bar.gotoAndStop((_root.specbar.bar._currentframe = _root.specbar.bar._currentframe + 7));
if ((_root.specbar.bar._currentframe >= 93) && (_root.specbar.bar._currentframe <= 99)) {
_root.specbar.bar.gotoAndStop(100);
}
_root.duper3.gotoAndPlay(30);
_root[i].removeMovieClip();
}
}
if (_root.attackd.hitTest(_root[i])) {
_root[i]._alpha = _root[i]._alpha - 20;
_root.hero.hero_ball1.snowball._alpha = 0;
_root.hero.hero_ball2.snowball._alpha = 0;
if (_root[i]._alpha <= 10) {
_root.score = _root.score + 1;
_root.specbar.bar.gotoAndStop((_root.specbar.bar._currentframe = _root.specbar.bar._currentframe + 7));
if ((_root.specbar.bar._currentframe >= 93) && (_root.specbar.bar._currentframe <= 99)) {
_root.specbar.bar.gotoAndStop(100);
}
_root.duper3.gotoAndPlay(30);
_root[i].removeMovieClip();
}
}
}
}
}
Instance of Symbol 1264 MovieClip "reindeer" in Frame 27
onClipEvent (load) {
_root.Location = new Array(580, 680, 780, 880, 980, 1180, 1320, 1480, 1500);
}
onClipEvent (enterFrame) {
if (_root.score >= 8) {
for (i in _root) {
if (_root[i]._name.indexOf("reindeer") != -1) {
if (_root[i].hitTest(_root.checkcheck)) {
_root[i].removeMovieClip();
_root.duper4.play();
} else {
_root[i].gotoAndStop(2);
_root[i]._x = _root[i]._x - 7;
}
if (_root[i].hitTest(_root.checker1337)) {
_root.rock.duplicateMovieClip("rock2");
_root.rock2._y = 50;
_root.rock2._x = _root.hero._x + 10;
_root.rock2._alpha = 100;
}
if ((_root.hero.hero_ball1.snowball.hitTest(_root[i]) || (_root.hero.hero_ball2.snowball.hitTest(_root[i]))) || (_root.hero.hero_ball3.snowball.hitTest(_root[i]))) {
_root[i]._alpha = _root[i]._alpha - 20;
_root.hero.hero_ball1.snowball._alpha = 0;
_root.hero.hero_ball2.snowball._alpha = 0;
_root.hero.hero_ball3.snowball._alpha = 0;
if (_root[i]._alpha <= 30) {
_root.score++;
_root.specbar.bar.gotoAndStop((_root.specbar.bar._currentframe = _root.specbar.bar._currentframe + 5));
if ((_root.specbar.bar._currentframe >= 95) && (_root.specbar.bar._currentframe <= 99)) {
_root.specbar.bar.gotoAndStop(100);
}
_root.duper4.play();
_root[i].removeMovieClip();
}
if (_root.attackd.hitTest(_root[i])) {
_root[i]._alpha = _root[i]._alpha - 20;
if (_root[i]._alpha <= 10) {
_root.score = _root.score + 1;
_root.specbar.bar.gotoAndStop((_root.specbar.bar._currentframe = _root.specbar.bar._currentframe + 7));
if ((_root.specbar.bar._currentframe >= 93) && (_root.specbar.bar._currentframe <= 99)) {
_root.specbar.bar.gotoAndStop(100);
}
_root.duper3.gotoAndPlay(30);
_root[i].removeMovieClip();
}
}
}
}
}
}
}
Instance of Symbol 1268 MovieClip "rock" in Frame 27
onClipEvent (enterFrame) {
if (_root.rock.hitTest(_root.hero) || (_root.rock.hitTest(_root.wall))) {
_root.rock.removeMovieClip();
_root.health = _root.health - 5;
}
}
Instance of Symbol 1281 MovieClip "blacker" in Frame 27
onClipEvent (enterFrame) {
if (_root.health <= 0) {
_root.health = 10000;
this.play();
_root.duper.stop();
_root.duper.swapDepths(79797878797);
_root.duper.removeMovieClip();
_root.duper2.stop();
_root.duper2.swapDepths(79797878798);
_root.duper2.removeMovieClip();
_root.duper3.stop();
_root.duper3.swapDepths(79797878799);
_root.duper3.removeMovieClip();
_root.duper4.stop();
_root.duper4.swapDepths(79797878800);
_root.duper4.removeMovieClip();
_root.reindeer2.removeMovieClip();
_root.snowman.removeMovieClip();
_root.peng.removeMovieClip();
_root.pingu.removeMovieClip();
_root.reindeer.swapDepths(1E20);
_root.reindeer.removeMovieClip();
}
}
Frame 28
s1();
_root.curnt = this._currentframe;
stop();
Instance of Symbol 1291 MovieClip in Frame 28
on (release) {
getURL ("http://www.ninja-chicken.com", "_blank");
}
Instance of Symbol 1293 MovieClip in Frame 28
on (release) {
getURL ("http://www.ninja-chicken.com", "_blank");
}
Instance of Symbol 1296 MovieClip in Frame 28
on (release) {
_root.play();
}
Frame 29
function dig(nam, xa, ya) {
setTimeout(function () {
named = nam;
xad = xa;
yad = ya;
j = _root.walk.getNextHighestDepth();
_root.walk.attachMovie("drillblock", "add" + j, j, {_x:xad, _y:yad});
_root[nam].working = false;
}, 1000);
}
function drill(nam, xa, ya, ret) {
setTimeout(function () {
named = nam;
xad = xa;
yad = ya;
reta = ret;
j = _root.walk.getNextHighestDepth();
_root.walk.attachMovie("drillblock", "add" + j, j, {_x:xa + (reta * 6), _y:ya - 20});
_root[nam].working = false;
if (_root.walk.hitTest(_root["4elf"]._x + (reta * 6), _root["4elf"]._y - 10, 1) && (!_root.build.hitTest(_root["4elf"]._x + (reta * 6), _root["4elf"]._y, 1))) {
_root["4elf"]._x = xa + (reta * 6);
}
}, 1000);
}
function builda(nam, xa, ya, ret) {
setTimeout(function () {
named = nam;
xad = xa;
yad = ya;
reta = ret;
j = _root.build.getNextHighestDepth();
_root.build.attachMovie("buildblock", "add" + j, j, {_x:xa + (reta * 6), _y:ya - 20});
_root[nam].working = false;
}, 1000);
}
function bash(nam, xa, ya) {
setTimeout(function () {
named = nam;
xad = xa;
yad = ya;
for (d in _root.build) {
if (d.slice(0, 3) == "roc") {
if (_root.build[d].hitTest(_root[nam])) {
_root.build[d].play();
}
}
}
_root[nam].working = false;
}, 1000);
}
stop();
var rescued = 0;
win = setInterval(function () {
i = 2;
while (i < 6) {
if (_root[i + "elf"]._y > 400) {
_root.gotoAndPlay("NCGameover");
}
i++;
}
if (_root.rescued > 3) {
clearInterval(win);
_root.play();
}
}, 1000);
Instance of Symbol 1309 MovieClip in Frame 29
onClipEvent (enterFrame) {
i = 2;
while (i < 6) {
if (this.hitTest(_root[i + "elf"]._x, _root[i + "elf"]._y, 1)) {
_root.rescued++;
_root[i + "elf"].swapDepths(_root.getNextHighestDepth());
_root[i + "elf"].removeMovieClip();
}
i++;
}
}
Instance of Symbol 1311 MovieClip "targets2" in Frame 29
onClipEvent (load) {
this._x = Math.round(this._x);
this._y = Math.round(this._y);
}
onClipEvent (mouseDown) {
this.textbox.text = this._name.slice(7, 8);
if ((Key.isDown(17) || (Key.isDown(90))) && (!Key.isDown(32))) {
if (_root.currentelf.slice(0, 1) == this._name.slice(7, 8)) {
this._x = Math.round(_root._xmouse);
this._y = Math.round(_root._ymouse);
this.gotoAndPlay(1);
}
}
}
Instance of Symbol 1314 MovieClip "targets3" in Frame 29
onClipEvent (load) {
this._x = Math.round(this._x);
this._y = Math.round(this._y);
}
onClipEvent (mouseDown) {
this.textbox.text = this._name.slice(7, 8);
if ((Key.isDown(17) || (Key.isDown(90))) && (!Key.isDown(32))) {
if (_root.currentelf.slice(0, 1) == this._name.slice(7, 8)) {
this._x = Math.round(_root._xmouse);
this._y = Math.round(_root._ymouse);
this.gotoAndPlay(1);
}
}
}
Instance of Symbol 1317 MovieClip "targets4" in Frame 29
onClipEvent (load) {
this._x = Math.round(this._x);
this._y = Math.round(this._y);
}
onClipEvent (mouseDown) {
this.textbox.text = this._name.slice(7, 8);
if ((Key.isDown(17) || (Key.isDown(90))) && (!Key.isDown(32))) {
if (_root.currentelf.slice(0, 1) == this._name.slice(7, 8)) {
this._x = Math.round(_root._xmouse);
this._y = Math.round(_root._ymouse);
this.gotoAndPlay(1);
}
}
}
Instance of Symbol 1320 MovieClip "targets5" in Frame 29
onClipEvent (load) {
this._x = Math.round(this._x);
this._y = Math.round(this._y);
}
onClipEvent (mouseDown) {
this.textbox.text = this._name.slice(7, 8);
if ((Key.isDown(17) || (Key.isDown(90))) && (!Key.isDown(32))) {
if (_root.currentelf.slice(0, 1) == this._name.slice(7, 8)) {
this._x = Math.round(_root._xmouse);
this._y = Math.round(_root._ymouse);
this.gotoAndPlay(1);
}
}
}
Instance of Symbol 1336 MovieClip "3elf" in Frame 29
onClipEvent (load) {
var grav = 0;
}
on (press) {
_root.currentelf = this._name;
if (Key.isDown(16)) {
(this.contwork ? ((this.contwork = false)) : ((this.contwork = true)));
}
if (Key.isDown(32)) {
if (!this.working) {
this.working = true;
_root.bash(this._name, this._x, this._y);
_root.targets3._x = this._x;
}
}
}
onClipEvent (enterFrame) {
if (this.contwork) {
if (!this.working) {
this.working = true;
_root.bash(this._name, this._x, this._y);
_root.targets3._x = this._x;
}
}
if (this._name == _root.currentelf) {
this._alpha = 100;
} else {
this._alpha = 70;
}
if (!this.working) {
this._x = Math.round(this._x);
if (this._x < _root.targets3._x) {
this._xscale = 100;
this.gotoAndStop(2);
this._x++;
this.returnX = 3;
} else if (this._x > _root.targets3._x) {
this._xscale = -100;
this.gotoAndStop(2);
this._x--;
this.returnX = -3;
} else {
this.gotoAndStop(1);
}
} else if (this._currentframe <= 3) {
this.gotoAndStop(3);
}
((this._x < 0) ? ((this._x = 0)) : ((this._x = this._x)));
((this._x > 550) ? ((this._x = 550)) : ((this._x = this._x)));
this.grav++;
i = 0;
while (i <= Math.abs(this.grav)) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
this.grav = 0;
break;
}
this._y = this._y - (this.grav - (this.grav * 2));
i++;
}
i = 0;
while (i < 11) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
} else {
break;
}
if (i == 10) {
this._y = this._y + 10;
this._x = this._x - this.returnX;
_root.targets3._x = this._x;
}
i++;
}
}
Instance of Symbol 1352 MovieClip "5elf" in Frame 29
onClipEvent (load) {
var grav = 0;
}
on (press) {
_root.currentelf = this._name;
if (Key.isDown(16)) {
(this.contwork ? ((this.contwork = false)) : ((this.contwork = true)));
}
if (Key.isDown(32)) {
if (!this.working) {
this.working = true;
_root.dig(this._name, this._x, this._y);
_root.targets5._x = this._x;
}
}
}
onClipEvent (enterFrame) {
if (this.contwork) {
if (!this.working) {
this.working = true;
_root.dig(this._name, this._x, this._y);
_root.targets5._x = this._x;
}
}
if (this._name == _root.currentelf) {
this._alpha = 100;
} else {
this._alpha = 70;
}
if (!this.working) {
this._x = Math.round(this._x);
if (this._x < _root.targets5._x) {
this.gotoAndStop(2);
this._xscale = 100;
this._x++;
this.returnX = 3;
} else if (this._x > _root.targets5._x) {
this.gotoAndStop(2);
this._xscale = -100;
this._x--;
this.returnX = -3;
} else {
this.gotoAndStop(1);
}
} else if (this._currentframe <= 3) {
this.gotoAndStop(3);
}
((this._x < 0) ? ((this._x = 0)) : ((this._x = this._x)));
((this._x > 550) ? ((this._x = 550)) : ((this._x = this._x)));
this.grav++;
i = 0;
while (i <= Math.abs(this.grav)) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
this.grav = 0;
break;
}
this._y = this._y - (this.grav - (this.grav * 2));
i++;
}
i = 0;
while (i < 11) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
} else {
break;
}
if (i == 10) {
this._y = this._y + 10;
this._x = this._x - this.returnX;
_root.targets5._x = this._x;
}
i++;
}
}
Instance of Symbol 1366 MovieClip "4elf" in Frame 29
onClipEvent (load) {
var grav = 0;
}
on (press) {
_root.currentelf = this._name;
if (Key.isDown(16)) {
(this.contwork ? ((this.contwork = false)) : ((this.contwork = true)));
}
if (Key.isDown(32)) {
if (!this.working) {
this.working = true;
_root.targets4._x = this._x;
_root.drill(this._name, this._x, this._y, this.returnX);
}
}
}
onClipEvent (enterFrame) {
if (this.contwork) {
if (!this.working) {
this.working = true;
_root.drill(this._name, this._x, this._y, this.returnX);
_root.targets4._x = this._x;
}
}
if (this._name == _root.currentelf) {
this._alpha = 100;
} else {
this._alpha = 70;
}
if (!this.working) {
this._x = Math.round(this._x);
if (this._x < _root.targets4._x) {
this.gotoAndStop(2);
this._xscale = 100;
this._x++;
this.returnX = 3;
} else if (this._x > _root.targets4._x) {
this.gotoAndStop(2);
this._xscale = -100;
this._x--;
this.returnX = -3;
} else {
this.gotoAndStop(1);
}
} else if (this._currentframe <= 3) {
this.gotoAndStop(3);
}
((this._x < 0) ? ((this._x = 0)) : ((this._x = this._x)));
((this._x > 550) ? ((this._x = 550)) : ((this._x = this._x)));
this.grav++;
i = 0;
while (i <= Math.abs(this.grav)) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
this.grav = 0;
break;
}
this._y = this._y - (this.grav - (this.grav * 2));
i++;
}
i = 0;
while (i < 11) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
} else {
break;
}
if (i == 10) {
this._y = this._y + 10;
this._x = this._x - this.returnX;
_root.targets4._x = this._x;
}
i++;
}
}
Instance of Symbol 1386 MovieClip "2elf" in Frame 29
onClipEvent (load) {
var grav = 0;
}
on (press) {
_root.currentelf = this._name;
if (Key.isDown(16)) {
(this.contwork ? ((this.contwork = false)) : ((this.contwork = true)));
}
if (Key.isDown(32)) {
if (!this.working) {
this.working = true;
_root.builda(this._name, this._x, this._y, this.returnX);
_root.targets2._x = this._x;
}
}
}
onClipEvent (enterFrame) {
if (this.contwork) {
if (!this.working) {
this.working = true;
_root.builda(this._name, this._x, this._y, this.returnX);
_root.targets2._x = this._x;
}
}
if (this._name == _root.currentelf) {
this._alpha = 100;
} else {
this._alpha = 70;
}
if (!this.working) {
this._x = Math.round(this._x);
if (this._x < _root.targets2._x) {
this._xscale = 100;
this.gotoAndStop(2);
this._x++;
this.returnX = 3;
} else if (this._x > _root.targets2._x) {
this._xscale = -100;
this.gotoAndStop(2);
this._x--;
this.returnX = -3;
} else {
this.gotoAndStop(1);
}
} else if (this._currentframe <= 3) {
this.gotoAndStop(3);
}
((this._x < 0) ? ((this._x = 0)) : ((this._x = this._x)));
((this._x > 550) ? ((this._x = 550)) : ((this._x = this._x)));
this.grav++;
i = 0;
while (i <= Math.abs(this.grav)) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
this.grav = 0;
break;
}
this._y = this._y - (this.grav - (this.grav * 2));
i++;
}
i = 0;
while (i < 11) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
} else {
break;
}
if (i == 10) {
this._y = this._y + 10;
this._x = this._x - this.returnX;
_root.targets2._x = this._x;
}
i++;
}
}
Instance of Symbol 1391 MovieClip in Frame 29
onClipEvent (enterFrame) {
this.gotoAndStop(2 - (!this.hitTest(_root._xmouse, _root._ymouse, 1)));
}
Instance of Symbol 1397 MovieClip in Frame 29
onClipEvent (enterFrame) {
((_root.currentelf == "2elf") ? ((this.currentelf = "Builder")) : (Void));
((_root.currentelf == "2elf") ? ((this.powerelf = "This little fellow can build bridges in order to cross gaps and even elevate your crew")) : (Void));
((_root.currentelf == "3elf") ? ((this.currentelf = "Basher")) : (Void));
((_root.currentelf == "3elf") ? ((this.powerelf = "This elfs speciality is smashing any boulders that lie in your path")) : (Void));
((_root.currentelf == "4elf") ? ((this.currentelf = "Driller")) : (Void));
((_root.currentelf == "4elf") ? ((this.powerelf = "Drilling horizontaly is what this elf is good at. Use him wisely as he is a valuable asset to the team")) : (Void));
((_root.currentelf == "5elf") ? ((this.currentelf = "Digger")) : (Void));
((_root.currentelf == "5elf") ? ((this.powerelf = "Try not to dig yourself to deep with this elf. You wouldnt want to be trapped or lost deeper into the cave")) : (Void));
this.gotoAndStop(2 - (!this.hitTest(_root._xmouse, _root._ymouse, 1)));
}
Frame 31
function dig(nam, xa, ya) {
setTimeout(function () {
named = nam;
xad = xa;
yad = ya;
j = _root.walk.getNextHighestDepth();
_root.walk.attachMovie("drillblock", "add" + j, j, {_x:xad, _y:yad});
_root[nam].working = false;
}, 1000);
}
function drill(nam, xa, ya, ret) {
setTimeout(function () {
named = nam;
xad = xa;
yad = ya;
reta = ret;
j = _root.walk.getNextHighestDepth();
_root.walk.attachMovie("drillblock", "add" + j, j, {_x:xa + (reta * 6), _y:ya - 20});
_root[nam].working = false;
if (_root.walk.hitTest(_root["4elf"]._x + (reta * 6), _root["4elf"]._y - 10, 1) && (!_root.build.hitTest(_root["4elf"]._x + (reta * 6), _root["4elf"]._y, 1))) {
_root["4elf"]._x = xa + (reta * 6);
}
}, 1000);
}
function builda(nam, xa, ya, ret) {
setTimeout(function () {
named = nam;
xad = xa;
yad = ya;
reta = ret;
j = _root.build.getNextHighestDepth();
_root.build.attachMovie("buildblock", "add" + j, j, {_x:xa + (reta * 6), _y:ya - 20});
_root[nam].working = false;
}, 1000);
}
function bash(nam, xa, ya) {
setTimeout(function () {
named = nam;
xad = xa;
yad = ya;
for (d in _root.build) {
if (d.slice(0, 3) == "roc") {
if (_root.build[d].hitTest(_root[nam])) {
_root.build[d].play();
}
}
}
_root[nam].working = false;
}, 1000);
}
stop();
var rescued = 0;
win = setInterval(function () {
i = 2;
while (i < 6) {
if (_root[i + "elf"]._y > 400) {
_root.gotoAndPlay("NCGameover");
}
i++;
}
if (_root.rescued > 3) {
clearInterval(win);
_root.play();
}
}, 1000);
Instance of Symbol 1309 MovieClip in Frame 31
onClipEvent (enterFrame) {
i = 2;
while (i < 6) {
if (this.hitTest(_root[i + "elf"]._x, _root[i + "elf"]._y, 1)) {
_root.rescued++;
_root[i + "elf"].swapDepths(_root.getNextHighestDepth());
_root[i + "elf"].removeMovieClip();
}
i++;
}
}
Instance of Symbol 1366 MovieClip "4elf" in Frame 31
onClipEvent (load) {
var grav = 0;
}
on (press) {
_root.currentelf = this._name;
if (Key.isDown(16)) {
(this.contwork ? ((this.contwork = false)) : ((this.contwork = true)));
}
if (Key.isDown(32)) {
if (!this.working) {
this.working = true;
_root.targets4._x = this._x;
_root.drill(this._name, this._x, this._y, this.returnX);
}
}
}
onClipEvent (enterFrame) {
if (this.contwork) {
if (!this.working) {
this.working = true;
_root.drill(this._name, this._x, this._y, this.returnX);
_root.targets4._x = this._x;
}
}
if (this._name == _root.currentelf) {
this._alpha = 100;
} else {
this._alpha = 70;
}
if (!this.working) {
this._x = Math.round(this._x);
if (this._x < _root.targets4._x) {
this.gotoAndStop(2);
this._xscale = 100;
this._x++;
this.returnX = 3;
} else if (this._x > _root.targets4._x) {
this.gotoAndStop(2);
this._xscale = -100;
this._x--;
this.returnX = -3;
} else {
this.gotoAndStop(1);
}
} else if (this._currentframe <= 3) {
this.gotoAndStop(3);
}
((this._x < 0) ? ((this._x = 0)) : ((this._x = this._x)));
((this._x > 550) ? ((this._x = 550)) : ((this._x = this._x)));
this.grav++;
i = 0;
while (i <= Math.abs(this.grav)) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
this.grav = 0;
break;
}
this._y = this._y - (this.grav - (this.grav * 2));
i++;
}
i = 0;
while (i < 11) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
} else {
break;
}
if (i == 10) {
this._y = this._y + 10;
this._x = this._x - this.returnX;
_root.targets4._x = this._x;
}
i++;
}
}
Instance of Symbol 1336 MovieClip "3elf" in Frame 31
onClipEvent (load) {
var grav = 0;
}
on (press) {
_root.currentelf = this._name;
if (Key.isDown(16)) {
(this.contwork ? ((this.contwork = false)) : ((this.contwork = true)));
}
if (Key.isDown(32)) {
if (!this.working) {
this.working = true;
_root.bash(this._name, this._x, this._y);
_root.targets3._x = this._x;
}
}
}
onClipEvent (enterFrame) {
if (this.contwork) {
if (!this.working) {
this.working = true;
_root.bash(this._name, this._x, this._y);
_root.targets3._x = this._x;
}
}
if (this._name == _root.currentelf) {
this._alpha = 100;
} else {
this._alpha = 70;
}
if (!this.working) {
this._x = Math.round(this._x);
if (this._x < _root.targets3._x) {
this._xscale = 100;
this.gotoAndStop(2);
this._x++;
this.returnX = 3;
} else if (this._x > _root.targets3._x) {
this._xscale = -100;
this.gotoAndStop(2);
this._x--;
this.returnX = -3;
} else {
this.gotoAndStop(1);
}
} else if (this._currentframe <= 3) {
this.gotoAndStop(3);
}
((this._x < 0) ? ((this._x = 0)) : ((this._x = this._x)));
((this._x > 550) ? ((this._x = 550)) : ((this._x = this._x)));
this.grav++;
i = 0;
while (i <= Math.abs(this.grav)) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
this.grav = 0;
break;
}
this._y = this._y - (this.grav - (this.grav * 2));
i++;
}
i = 0;
while (i < 11) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
} else {
break;
}
if (i == 10) {
this._y = this._y + 10;
this._x = this._x - this.returnX;
_root.targets3._x = this._x;
}
i++;
}
}
Instance of Symbol 1386 MovieClip "2elf" in Frame 31
onClipEvent (load) {
var grav = 0;
}
on (press) {
_root.currentelf = this._name;
if (Key.isDown(16)) {
(this.contwork ? ((this.contwork = false)) : ((this.contwork = true)));
}
if (Key.isDown(32)) {
if (!this.working) {
this.working = true;
_root.builda(this._name, this._x, this._y, this.returnX);
_root.targets2._x = this._x;
}
}
}
onClipEvent (enterFrame) {
if (this.contwork) {
if (!this.working) {
this.working = true;
_root.builda(this._name, this._x, this._y, this.returnX);
_root.targets2._x = this._x;
}
}
if (this._name == _root.currentelf) {
this._alpha = 100;
} else {
this._alpha = 70;
}
if (!this.working) {
this._x = Math.round(this._x);
if (this._x < _root.targets2._x) {
this._xscale = 100;
this.gotoAndStop(2);
this._x++;
this.returnX = 3;
} else if (this._x > _root.targets2._x) {
this._xscale = -100;
this.gotoAndStop(2);
this._x--;
this.returnX = -3;
} else {
this.gotoAndStop(1);
}
} else if (this._currentframe <= 3) {
this.gotoAndStop(3);
}
((this._x < 0) ? ((this._x = 0)) : ((this._x = this._x)));
((this._x > 550) ? ((this._x = 550)) : ((this._x = this._x)));
this.grav++;
i = 0;
while (i <= Math.abs(this.grav)) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
this.grav = 0;
break;
}
this._y = this._y - (this.grav - (this.grav * 2));
i++;
}
i = 0;
while (i < 11) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
} else {
break;
}
if (i == 10) {
this._y = this._y + 10;
this._x = this._x - this.returnX;
_root.targets2._x = this._x;
}
i++;
}
}
Instance of Symbol 1352 MovieClip "5elf" in Frame 31
onClipEvent (load) {
var grav = 0;
}
on (press) {
_root.currentelf = this._name;
if (Key.isDown(16)) {
(this.contwork ? ((this.contwork = false)) : ((this.contwork = true)));
}
if (Key.isDown(32)) {
if (!this.working) {
this.working = true;
_root.dig(this._name, this._x, this._y);
_root.targets5._x = this._x;
}
}
}
onClipEvent (enterFrame) {
if (this.contwork) {
if (!this.working) {
this.working = true;
_root.dig(this._name, this._x, this._y);
_root.targets5._x = this._x;
}
}
if (this._name == _root.currentelf) {
this._alpha = 100;
} else {
this._alpha = 70;
}
if (!this.working) {
this._x = Math.round(this._x);
if (this._x < _root.targets5._x) {
this.gotoAndStop(2);
this._xscale = 100;
this._x++;
this.returnX = 3;
} else if (this._x > _root.targets5._x) {
this.gotoAndStop(2);
this._xscale = -100;
this._x--;
this.returnX = -3;
} else {
this.gotoAndStop(1);
}
} else if (this._currentframe <= 3) {
this.gotoAndStop(3);
}
((this._x < 0) ? ((this._x = 0)) : ((this._x = this._x)));
((this._x > 550) ? ((this._x = 550)) : ((this._x = this._x)));
this.grav++;
i = 0;
while (i <= Math.abs(this.grav)) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
this.grav = 0;
break;
}
this._y = this._y - (this.grav - (this.grav * 2));
i++;
}
i = 0;
while (i < 11) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
} else {
break;
}
if (i == 10) {
this._y = this._y + 10;
this._x = this._x - this.returnX;
_root.targets5._x = this._x;
}
i++;
}
}
Instance of Symbol 1311 MovieClip "targets2" in Frame 31
onClipEvent (load) {
this._x = Math.round(this._x);
this._y = Math.round(this._y);
}
onClipEvent (mouseDown) {
this.textbox.text = this._name.slice(7, 8);
if ((Key.isDown(17) || (Key.isDown(90))) && (!Key.isDown(32))) {
if (_root.currentelf.slice(0, 1) == this._name.slice(7, 8)) {
this._x = Math.round(_root._xmouse);
this._y = Math.round(_root._ymouse);
this.gotoAndPlay(1);
}
}
}
Instance of Symbol 1314 MovieClip "targets3" in Frame 31
onClipEvent (load) {
this._x = Math.round(this._x);
this._y = Math.round(this._y);
}
onClipEvent (mouseDown) {
this.textbox.text = this._name.slice(7, 8);
if ((Key.isDown(17) || (Key.isDown(90))) && (!Key.isDown(32))) {
if (_root.currentelf.slice(0, 1) == this._name.slice(7, 8)) {
this._x = Math.round(_root._xmouse);
this._y = Math.round(_root._ymouse);
this.gotoAndPlay(1);
}
}
}
Instance of Symbol 1317 MovieClip "targets4" in Frame 31
onClipEvent (load) {
this._x = Math.round(this._x);
this._y = Math.round(this._y);
}
onClipEvent (mouseDown) {
this.textbox.text = this._name.slice(7, 8);
if ((Key.isDown(17) || (Key.isDown(90))) && (!Key.isDown(32))) {
if (_root.currentelf.slice(0, 1) == this._name.slice(7, 8)) {
this._x = Math.round(_root._xmouse);
this._y = Math.round(_root._ymouse);
this.gotoAndPlay(1);
}
}
}
Instance of Symbol 1320 MovieClip "targets5" in Frame 31
onClipEvent (load) {
this._x = Math.round(this._x);
this._y = Math.round(this._y);
}
onClipEvent (mouseDown) {
this.textbox.text = this._name.slice(7, 8);
if ((Key.isDown(17) || (Key.isDown(90))) && (!Key.isDown(32))) {
if (_root.currentelf.slice(0, 1) == this._name.slice(7, 8)) {
this._x = Math.round(_root._xmouse);
this._y = Math.round(_root._ymouse);
this.gotoAndPlay(1);
}
}
}
Instance of Symbol 1391 MovieClip in Frame 31
onClipEvent (enterFrame) {
this.gotoAndStop(2 - (!this.hitTest(_root._xmouse, _root._ymouse, 1)));
}
Instance of Symbol 1397 MovieClip in Frame 31
onClipEvent (enterFrame) {
((_root.currentelf == "2elf") ? ((this.currentelf = "Builder")) : (Void));
((_root.currentelf == "2elf") ? ((this.powerelf = "This little fellow can build bridges in order to cross gaps and even elevate your crew")) : (Void));
((_root.currentelf == "3elf") ? ((this.currentelf = "Basher")) : (Void));
((_root.currentelf == "3elf") ? ((this.powerelf = "This elfs speciality is smashing any boulders that lie in your path")) : (Void));
((_root.currentelf == "4elf") ? ((this.currentelf = "Driller")) : (Void));
((_root.currentelf == "4elf") ? ((this.powerelf = "Drilling horizontaly is what this elf is good at. Use him wisely as he is a valuable asset to the team")) : (Void));
((_root.currentelf == "5elf") ? ((this.currentelf = "Digger")) : (Void));
((_root.currentelf == "5elf") ? ((this.powerelf = "Try not to dig yourself to deep with this elf. You wouldnt want to be trapped or lost deeper into the cave")) : (Void));
this.gotoAndStop(2 - (!this.hitTest(_root._xmouse, _root._ymouse, 1)));
}
Frame 33
function dig(nam, xa, ya) {
setTimeout(function () {
named = nam;
xad = xa;
yad = ya;
j = _root.walk.getNextHighestDepth();
_root.walk.attachMovie("drillblock", "add" + j, j, {_x:xad, _y:yad});
_root[nam].working = false;
}, 1000);
}
function drill(nam, xa, ya, ret) {
setTimeout(function () {
named = nam;
xad = xa;
yad = ya;
reta = ret;
j = _root.walk.getNextHighestDepth();
_root.walk.attachMovie("drillblock", "add" + j, j, {_x:xa + (reta * 6), _y:ya - 20});
_root[nam].working = false;
if (_root.walk.hitTest(_root["4elf"]._x + (reta * 6), _root["4elf"]._y - 10, 1) && (!_root.build.hitTest(_root["4elf"]._x + (reta * 6), _root["4elf"]._y, 1))) {
_root["4elf"]._x = xa + (reta * 6);
}
}, 1000);
}
function builda(nam, xa, ya, ret) {
setTimeout(function () {
named = nam;
xad = xa;
yad = ya;
reta = ret;
j = _root.build.getNextHighestDepth();
_root.build.attachMovie("buildblock", "add" + j, j, {_x:xa + (reta * 6), _y:ya - 20});
_root[nam].working = false;
}, 1000);
}
function bash(nam, xa, ya) {
setTimeout(function () {
named = nam;
xad = xa;
yad = ya;
for (d in _root.build) {
if (d.slice(0, 3) == "roc") {
if (_root.build[d].hitTest(_root[nam])) {
_root.build[d].play();
}
}
}
_root[nam].working = false;
}, 1000);
}
stop();
var rescued = 0;
win = setInterval(function () {
i = 2;
while (i < 6) {
if (_root[i + "elf"]._y > 400) {
_root.gotoAndPlay("NCGameover");
}
i++;
}
if (_root.rescued > 3) {
clearInterval(win);
_root.play();
}
}, 1000);
Instance of Symbol 1309 MovieClip in Frame 33
onClipEvent (enterFrame) {
i = 2;
while (i < 6) {
if (this.hitTest(_root[i + "elf"]._x, _root[i + "elf"]._y, 1)) {
_root.rescued++;
_root[i + "elf"].swapDepths(_root.getNextHighestDepth());
_root[i + "elf"].removeMovieClip();
}
i++;
}
}
Instance of Symbol 1366 MovieClip "4elf" in Frame 33
onClipEvent (load) {
var grav = 0;
}
on (press) {
_root.currentelf = this._name;
if (Key.isDown(16)) {
(this.contwork ? ((this.contwork = false)) : ((this.contwork = true)));
}
if (Key.isDown(32)) {
if (!this.working) {
this.working = true;
_root.targets4._x = this._x;
_root.drill(this._name, this._x, this._y, this.returnX);
}
}
}
onClipEvent (enterFrame) {
if (this.contwork) {
if (!this.working) {
this.working = true;
_root.drill(this._name, this._x, this._y, this.returnX);
_root.targets4._x = this._x;
}
}
if (this._name == _root.currentelf) {
this._alpha = 100;
} else {
this._alpha = 70;
}
if (!this.working) {
this._x = Math.round(this._x);
if (this._x < _root.targets4._x) {
this.gotoAndStop(2);
this._xscale = 100;
this._x++;
this.returnX = 3;
} else if (this._x > _root.targets4._x) {
this.gotoAndStop(2);
this._xscale = -100;
this._x--;
this.returnX = -3;
} else {
this.gotoAndStop(1);
}
} else if (this._currentframe <= 3) {
this.gotoAndStop(3);
}
((this._x < 0) ? ((this._x = 0)) : ((this._x = this._x)));
((this._x > 550) ? ((this._x = 550)) : ((this._x = this._x)));
this.grav++;
i = 0;
while (i <= Math.abs(this.grav)) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
this.grav = 0;
break;
}
this._y = this._y - (this.grav - (this.grav * 2));
i++;
}
i = 0;
while (i < 11) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
} else {
break;
}
if (i == 10) {
this._y = this._y + 10;
this._x = this._x - this.returnX;
_root.targets4._x = this._x;
}
i++;
}
}
Instance of Symbol 1336 MovieClip "3elf" in Frame 33
onClipEvent (load) {
var grav = 0;
}
on (press) {
_root.currentelf = this._name;
if (Key.isDown(16)) {
(this.contwork ? ((this.contwork = false)) : ((this.contwork = true)));
}
if (Key.isDown(32)) {
if (!this.working) {
this.working = true;
_root.bash(this._name, this._x, this._y);
_root.targets3._x = this._x;
}
}
}
onClipEvent (enterFrame) {
if (this.contwork) {
if (!this.working) {
this.working = true;
_root.bash(this._name, this._x, this._y);
_root.targets3._x = this._x;
}
}
if (this._name == _root.currentelf) {
this._alpha = 100;
} else {
this._alpha = 70;
}
if (!this.working) {
this._x = Math.round(this._x);
if (this._x < _root.targets3._x) {
this._xscale = 100;
this.gotoAndStop(2);
this._x++;
this.returnX = 3;
} else if (this._x > _root.targets3._x) {
this._xscale = -100;
this.gotoAndStop(2);
this._x--;
this.returnX = -3;
} else {
this.gotoAndStop(1);
}
} else if (this._currentframe <= 3) {
this.gotoAndStop(3);
}
((this._x < 0) ? ((this._x = 0)) : ((this._x = this._x)));
((this._x > 550) ? ((this._x = 550)) : ((this._x = this._x)));
this.grav++;
i = 0;
while (i <= Math.abs(this.grav)) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
this.grav = 0;
break;
}
this._y = this._y - (this.grav - (this.grav * 2));
i++;
}
i = 0;
while (i < 11) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
} else {
break;
}
if (i == 10) {
this._y = this._y + 10;
this._x = this._x - this.returnX;
_root.targets3._x = this._x;
}
i++;
}
}
Instance of Symbol 1386 MovieClip "2elf" in Frame 33
onClipEvent (load) {
var grav = 0;
}
on (press) {
_root.currentelf = this._name;
if (Key.isDown(16)) {
(this.contwork ? ((this.contwork = false)) : ((this.contwork = true)));
}
if (Key.isDown(32)) {
if (!this.working) {
this.working = true;
_root.builda(this._name, this._x, this._y, this.returnX);
_root.targets2._x = this._x;
}
}
}
onClipEvent (enterFrame) {
if (this.contwork) {
if (!this.working) {
this.working = true;
_root.builda(this._name, this._x, this._y, this.returnX);
_root.targets2._x = this._x;
}
}
if (this._name == _root.currentelf) {
this._alpha = 100;
} else {
this._alpha = 70;
}
if (!this.working) {
this._x = Math.round(this._x);
if (this._x < _root.targets2._x) {
this._xscale = 100;
this.gotoAndStop(2);
this._x++;
this.returnX = 3;
} else if (this._x > _root.targets2._x) {
this._xscale = -100;
this.gotoAndStop(2);
this._x--;
this.returnX = -3;
} else {
this.gotoAndStop(1);
}
} else if (this._currentframe <= 3) {
this.gotoAndStop(3);
}
((this._x < 0) ? ((this._x = 0)) : ((this._x = this._x)));
((this._x > 550) ? ((this._x = 550)) : ((this._x = this._x)));
this.grav++;
i = 0;
while (i <= Math.abs(this.grav)) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
this.grav = 0;
break;
}
this._y = this._y - (this.grav - (this.grav * 2));
i++;
}
i = 0;
while (i < 11) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
} else {
break;
}
if (i == 10) {
this._y = this._y + 10;
this._x = this._x - this.returnX;
_root.targets2._x = this._x;
}
i++;
}
}
Instance of Symbol 1352 MovieClip "5elf" in Frame 33
onClipEvent (load) {
var grav = 0;
}
on (press) {
_root.currentelf = this._name;
if (Key.isDown(16)) {
(this.contwork ? ((this.contwork = false)) : ((this.contwork = true)));
}
if (Key.isDown(32)) {
if (!this.working) {
this.working = true;
_root.dig(this._name, this._x, this._y);
_root.targets5._x = this._x;
}
}
}
onClipEvent (enterFrame) {
if (this.contwork) {
if (!this.working) {
this.working = true;
_root.dig(this._name, this._x, this._y);
_root.targets5._x = this._x;
}
}
if (this._name == _root.currentelf) {
this._alpha = 100;
} else {
this._alpha = 70;
}
if (!this.working) {
this._x = Math.round(this._x);
if (this._x < _root.targets5._x) {
this.gotoAndStop(2);
this._xscale = 100;
this._x++;
this.returnX = 3;
} else if (this._x > _root.targets5._x) {
this.gotoAndStop(2);
this._xscale = -100;
this._x--;
this.returnX = -3;
} else {
this.gotoAndStop(1);
}
} else if (this._currentframe <= 3) {
this.gotoAndStop(3);
}
((this._x < 0) ? ((this._x = 0)) : ((this._x = this._x)));
((this._x > 550) ? ((this._x = 550)) : ((this._x = this._x)));
this.grav++;
i = 0;
while (i <= Math.abs(this.grav)) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
this.grav = 0;
break;
}
this._y = this._y - (this.grav - (this.grav * 2));
i++;
}
i = 0;
while (i < 11) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
} else {
break;
}
if (i == 10) {
this._y = this._y + 10;
this._x = this._x - this.returnX;
_root.targets5._x = this._x;
}
i++;
}
}
Instance of Symbol 1311 MovieClip "targets2" in Frame 33
onClipEvent (load) {
this._x = Math.round(this._x);
this._y = Math.round(this._y);
}
onClipEvent (mouseDown) {
this.textbox.text = this._name.slice(7, 8);
if ((Key.isDown(17) || (Key.isDown(90))) && (!Key.isDown(32))) {
if (_root.currentelf.slice(0, 1) == this._name.slice(7, 8)) {
this._x = Math.round(_root._xmouse);
this._y = Math.round(_root._ymouse);
this.gotoAndPlay(1);
}
}
}
Instance of Symbol 1314 MovieClip "targets3" in Frame 33
onClipEvent (load) {
this._x = Math.round(this._x);
this._y = Math.round(this._y);
}
onClipEvent (mouseDown) {
this.textbox.text = this._name.slice(7, 8);
if ((Key.isDown(17) || (Key.isDown(90))) && (!Key.isDown(32))) {
if (_root.currentelf.slice(0, 1) == this._name.slice(7, 8)) {
this._x = Math.round(_root._xmouse);
this._y = Math.round(_root._ymouse);
this.gotoAndPlay(1);
}
}
}
Instance of Symbol 1317 MovieClip "targets4" in Frame 33
onClipEvent (load) {
this._x = Math.round(this._x);
this._y = Math.round(this._y);
}
onClipEvent (mouseDown) {
this.textbox.text = this._name.slice(7, 8);
if ((Key.isDown(17) || (Key.isDown(90))) && (!Key.isDown(32))) {
if (_root.currentelf.slice(0, 1) == this._name.slice(7, 8)) {
this._x = Math.round(_root._xmouse);
this._y = Math.round(_root._ymouse);
this.gotoAndPlay(1);
}
}
}
Instance of Symbol 1320 MovieClip "targets5" in Frame 33
onClipEvent (load) {
this._x = Math.round(this._x);
this._y = Math.round(this._y);
}
onClipEvent (mouseDown) {
this.textbox.text = this._name.slice(7, 8);
if ((Key.isDown(17) || (Key.isDown(90))) && (!Key.isDown(32))) {
if (_root.currentelf.slice(0, 1) == this._name.slice(7, 8)) {
this._x = Math.round(_root._xmouse);
this._y = Math.round(_root._ymouse);
this.gotoAndPlay(1);
}
}
}
Instance of Symbol 1391 MovieClip in Frame 33
onClipEvent (enterFrame) {
this.gotoAndStop(2 - (!this.hitTest(_root._xmouse, _root._ymouse, 1)));
}
Instance of Symbol 1397 MovieClip in Frame 33
onClipEvent (enterFrame) {
((_root.currentelf == "2elf") ? ((this.currentelf = "Builder")) : (Void));
((_root.currentelf == "2elf") ? ((this.powerelf = "This little fellow can build bridges in order to cross gaps and even elevate your crew")) : (Void));
((_root.currentelf == "3elf") ? ((this.currentelf = "Basher")) : (Void));
((_root.currentelf == "3elf") ? ((this.powerelf = "This elfs speciality is smashing any boulders that lie in your path")) : (Void));
((_root.currentelf == "4elf") ? ((this.currentelf = "Driller")) : (Void));
((_root.currentelf == "4elf") ? ((this.powerelf = "Drilling horizontaly is what this elf is good at. Use him wisely as he is a valuable asset to the team")) : (Void));
((_root.currentelf == "5elf") ? ((this.currentelf = "Digger")) : (Void));
((_root.currentelf == "5elf") ? ((this.powerelf = "Try not to dig yourself to deep with this elf. You wouldnt want to be trapped or lost deeper into the cave")) : (Void));
this.gotoAndStop(2 - (!this.hitTest(_root._xmouse, _root._ymouse, 1)));
}
Frame 35
function dig(nam, xa, ya) {
setTimeout(function () {
named = nam;
xad = xa;
yad = ya;
j = _root.walk.getNextHighestDepth();
_root.walk.attachMovie("drillblock", "add" + j, j, {_x:xad, _y:yad});
_root[nam].working = false;
}, 1000);
}
function drill(nam, xa, ya, ret) {
setTimeout(function () {
named = nam;
xad = xa;
yad = ya;
reta = ret;
j = _root.walk.getNextHighestDepth();
_root.walk.attachMovie("drillblock", "add" + j, j, {_x:xa + (reta * 6), _y:ya - 20});
_root[nam].working = false;
if (_root.walk.hitTest(_root["4elf"]._x + (reta * 6), _root["4elf"]._y - 10, 1) && (!_root.build.hitTest(_root["4elf"]._x + (reta * 6), _root["4elf"]._y, 1))) {
_root["4elf"]._x = xa + (reta * 6);
}
}, 1000);
}
function builda(nam, xa, ya, ret) {
setTimeout(function () {
named = nam;
xad = xa;
yad = ya;
reta = ret;
j = _root.build.getNextHighestDepth();
_root.build.attachMovie("buildblock", "add" + j, j, {_x:xa + (reta * 6), _y:ya - 20});
_root[nam].working = false;
}, 1000);
}
function bash(nam, xa, ya) {
setTimeout(function () {
named = nam;
xad = xa;
yad = ya;
for (d in _root.build) {
if (d.slice(0, 3) == "roc") {
if (_root.build[d].hitTest(_root[nam])) {
_root.build[d].play();
}
}
}
_root[nam].working = false;
}, 1000);
}
stop();
var rescued = 0;
win = setInterval(function () {
i = 2;
while (i < 6) {
if (_root[i + "elf"]._y > 400) {
_root.gotoAndPlay("NCGameover");
}
i++;
}
if (_root.rescued > 3) {
clearInterval(win);
_root.play();
}
}, 1000);
Instance of Symbol 1309 MovieClip in Frame 35
onClipEvent (enterFrame) {
i = 2;
while (i < 6) {
if (this.hitTest(_root[i + "elf"]._x, _root[i + "elf"]._y, 1)) {
_root.rescued++;
_root[i + "elf"].swapDepths(_root.getNextHighestDepth());
_root[i + "elf"].removeMovieClip();
}
i++;
}
}
Instance of Symbol 1366 MovieClip "4elf" in Frame 35
onClipEvent (load) {
var grav = 0;
}
on (press) {
_root.currentelf = this._name;
if (Key.isDown(16)) {
(this.contwork ? ((this.contwork = false)) : ((this.contwork = true)));
}
if (Key.isDown(32)) {
if (!this.working) {
this.working = true;
_root.targets4._x = this._x;
_root.drill(this._name, this._x, this._y, this.returnX);
}
}
}
onClipEvent (enterFrame) {
if (this.contwork) {
if (!this.working) {
this.working = true;
_root.drill(this._name, this._x, this._y, this.returnX);
_root.targets4._x = this._x;
}
}
if (this._name == _root.currentelf) {
this._alpha = 100;
} else {
this._alpha = 70;
}
if (!this.working) {
this._x = Math.round(this._x);
if (this._x < _root.targets4._x) {
this.gotoAndStop(2);
this._xscale = 100;
this._x++;
this.returnX = 3;
} else if (this._x > _root.targets4._x) {
this.gotoAndStop(2);
this._xscale = -100;
this._x--;
this.returnX = -3;
} else {
this.gotoAndStop(1);
}
} else if (this._currentframe <= 3) {
this.gotoAndStop(3);
}
((this._x < 0) ? ((this._x = 0)) : ((this._x = this._x)));
((this._x > 550) ? ((this._x = 550)) : ((this._x = this._x)));
this.grav++;
i = 0;
while (i <= Math.abs(this.grav)) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
this.grav = 0;
break;
}
this._y = this._y - (this.grav - (this.grav * 2));
i++;
}
i = 0;
while (i < 11) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
} else {
break;
}
if (i == 10) {
this._y = this._y + 10;
this._x = this._x - this.returnX;
_root.targets4._x = this._x;
}
i++;
}
}
Instance of Symbol 1336 MovieClip "3elf" in Frame 35
onClipEvent (load) {
var grav = 0;
}
on (press) {
_root.currentelf = this._name;
if (Key.isDown(16)) {
(this.contwork ? ((this.contwork = false)) : ((this.contwork = true)));
}
if (Key.isDown(32)) {
if (!this.working) {
this.working = true;
_root.bash(this._name, this._x, this._y);
_root.targets3._x = this._x;
}
}
}
onClipEvent (enterFrame) {
if (this.contwork) {
if (!this.working) {
this.working = true;
_root.bash(this._name, this._x, this._y);
_root.targets3._x = this._x;
}
}
if (this._name == _root.currentelf) {
this._alpha = 100;
} else {
this._alpha = 70;
}
if (!this.working) {
this._x = Math.round(this._x);
if (this._x < _root.targets3._x) {
this._xscale = 100;
this.gotoAndStop(2);
this._x++;
this.returnX = 3;
} else if (this._x > _root.targets3._x) {
this._xscale = -100;
this.gotoAndStop(2);
this._x--;
this.returnX = -3;
} else {
this.gotoAndStop(1);
}
} else if (this._currentframe <= 3) {
this.gotoAndStop(3);
}
((this._x < 0) ? ((this._x = 0)) : ((this._x = this._x)));
((this._x > 550) ? ((this._x = 550)) : ((this._x = this._x)));
this.grav++;
i = 0;
while (i <= Math.abs(this.grav)) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
this.grav = 0;
break;
}
this._y = this._y - (this.grav - (this.grav * 2));
i++;
}
i = 0;
while (i < 11) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
} else {
break;
}
if (i == 10) {
this._y = this._y + 10;
this._x = this._x - this.returnX;
_root.targets3._x = this._x;
}
i++;
}
}
Instance of Symbol 1386 MovieClip "2elf" in Frame 35
onClipEvent (load) {
var grav = 0;
}
on (press) {
_root.currentelf = this._name;
if (Key.isDown(16)) {
(this.contwork ? ((this.contwork = false)) : ((this.contwork = true)));
}
if (Key.isDown(32)) {
if (!this.working) {
this.working = true;
_root.builda(this._name, this._x, this._y, this.returnX);
_root.targets2._x = this._x;
}
}
}
onClipEvent (enterFrame) {
if (this.contwork) {
if (!this.working) {
this.working = true;
_root.builda(this._name, this._x, this._y, this.returnX);
_root.targets2._x = this._x;
}
}
if (this._name == _root.currentelf) {
this._alpha = 100;
} else {
this._alpha = 70;
}
if (!this.working) {
this._x = Math.round(this._x);
if (this._x < _root.targets2._x) {
this._xscale = 100;
this.gotoAndStop(2);
this._x++;
this.returnX = 3;
} else if (this._x > _root.targets2._x) {
this._xscale = -100;
this.gotoAndStop(2);
this._x--;
this.returnX = -3;
} else {
this.gotoAndStop(1);
}
} else if (this._currentframe <= 3) {
this.gotoAndStop(3);
}
((this._x < 0) ? ((this._x = 0)) : ((this._x = this._x)));
((this._x > 550) ? ((this._x = 550)) : ((this._x = this._x)));
this.grav++;
i = 0;
while (i <= Math.abs(this.grav)) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
this.grav = 0;
break;
}
this._y = this._y - (this.grav - (this.grav * 2));
i++;
}
i = 0;
while (i < 11) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
} else {
break;
}
if (i == 10) {
this._y = this._y + 10;
this._x = this._x - this.returnX;
_root.targets2._x = this._x;
}
i++;
}
}
Instance of Symbol 1352 MovieClip "5elf" in Frame 35
onClipEvent (load) {
var grav = 0;
}
on (press) {
_root.currentelf = this._name;
if (Key.isDown(16)) {
(this.contwork ? ((this.contwork = false)) : ((this.contwork = true)));
}
if (Key.isDown(32)) {
if (!this.working) {
this.working = true;
_root.dig(this._name, this._x, this._y);
_root.targets5._x = this._x;
}
}
}
onClipEvent (enterFrame) {
if (this.contwork) {
if (!this.working) {
this.working = true;
_root.dig(this._name, this._x, this._y);
_root.targets5._x = this._x;
}
}
if (this._name == _root.currentelf) {
this._alpha = 100;
} else {
this._alpha = 70;
}
if (!this.working) {
this._x = Math.round(this._x);
if (this._x < _root.targets5._x) {
this.gotoAndStop(2);
this._xscale = 100;
this._x++;
this.returnX = 3;
} else if (this._x > _root.targets5._x) {
this.gotoAndStop(2);
this._xscale = -100;
this._x--;
this.returnX = -3;
} else {
this.gotoAndStop(1);
}
} else if (this._currentframe <= 3) {
this.gotoAndStop(3);
}
((this._x < 0) ? ((this._x = 0)) : ((this._x = this._x)));
((this._x > 550) ? ((this._x = 550)) : ((this._x = this._x)));
this.grav++;
i = 0;
while (i <= Math.abs(this.grav)) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
this.grav = 0;
break;
}
this._y = this._y - (this.grav - (this.grav * 2));
i++;
}
i = 0;
while (i < 11) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
} else {
break;
}
if (i == 10) {
this._y = this._y + 10;
this._x = this._x - this.returnX;
_root.targets5._x = this._x;
}
i++;
}
}
Instance of Symbol 1311 MovieClip "targets2" in Frame 35
onClipEvent (load) {
this._x = Math.round(this._x);
this._y = Math.round(this._y);
}
onClipEvent (mouseDown) {
this.textbox.text = this._name.slice(7, 8);
if ((Key.isDown(17) || (Key.isDown(90))) && (!Key.isDown(32))) {
if (_root.currentelf.slice(0, 1) == this._name.slice(7, 8)) {
this._x = Math.round(_root._xmouse);
this._y = Math.round(_root._ymouse);
this.gotoAndPlay(1);
}
}
}
Instance of Symbol 1314 MovieClip "targets3" in Frame 35
onClipEvent (load) {
this._x = Math.round(this._x);
this._y = Math.round(this._y);
}
onClipEvent (mouseDown) {
this.textbox.text = this._name.slice(7, 8);
if ((Key.isDown(17) || (Key.isDown(90))) && (!Key.isDown(32))) {
if (_root.currentelf.slice(0, 1) == this._name.slice(7, 8)) {
this._x = Math.round(_root._xmouse);
this._y = Math.round(_root._ymouse);
this.gotoAndPlay(1);
}
}
}
Instance of Symbol 1317 MovieClip "targets4" in Frame 35
onClipEvent (load) {
this._x = Math.round(this._x);
this._y = Math.round(this._y);
}
onClipEvent (mouseDown) {
this.textbox.text = this._name.slice(7, 8);
if ((Key.isDown(17) || (Key.isDown(90))) && (!Key.isDown(32))) {
if (_root.currentelf.slice(0, 1) == this._name.slice(7, 8)) {
this._x = Math.round(_root._xmouse);
this._y = Math.round(_root._ymouse);
this.gotoAndPlay(1);
}
}
}
Instance of Symbol 1320 MovieClip "targets5" in Frame 35
onClipEvent (load) {
this._x = Math.round(this._x);
this._y = Math.round(this._y);
}
onClipEvent (mouseDown) {
this.textbox.text = this._name.slice(7, 8);
if ((Key.isDown(17) || (Key.isDown(90))) && (!Key.isDown(32))) {
if (_root.currentelf.slice(0, 1) == this._name.slice(7, 8)) {
this._x = Math.round(_root._xmouse);
this._y = Math.round(_root._ymouse);
this.gotoAndPlay(1);
}
}
}
Instance of Symbol 1391 MovieClip in Frame 35
onClipEvent (enterFrame) {
this.gotoAndStop(2 - (!this.hitTest(_root._xmouse, _root._ymouse, 1)));
}
Instance of Symbol 1397 MovieClip in Frame 35
onClipEvent (enterFrame) {
((_root.currentelf == "2elf") ? ((this.currentelf = "Builder")) : (Void));
((_root.currentelf == "2elf") ? ((this.powerelf = "This little fellow can build bridges in order to cross gaps and even elevate your crew")) : (Void));
((_root.currentelf == "3elf") ? ((this.currentelf = "Basher")) : (Void));
((_root.currentelf == "3elf") ? ((this.powerelf = "This elfs speciality is smashing any boulders that lie in your path")) : (Void));
((_root.currentelf == "4elf") ? ((this.currentelf = "Driller")) : (Void));
((_root.currentelf == "4elf") ? ((this.powerelf = "Drilling horizontaly is what this elf is good at. Use him wisely as he is a valuable asset to the team")) : (Void));
((_root.currentelf == "5elf") ? ((this.currentelf = "Digger")) : (Void));
((_root.currentelf == "5elf") ? ((this.powerelf = "Try not to dig yourself to deep with this elf. You wouldnt want to be trapped or lost deeper into the cave")) : (Void));
this.gotoAndStop(2 - (!this.hitTest(_root._xmouse, _root._ymouse, 1)));
}
Frame 37
function dig(nam, xa, ya) {
setTimeout(function () {
named = nam;
xad = xa;
yad = ya;
j = _root.walk.getNextHighestDepth();
_root.walk.attachMovie("drillblock", "add" + j, j, {_x:xad, _y:yad});
_root[nam].working = false;
}, 1000);
}
function drill(nam, xa, ya, ret) {
setTimeout(function () {
named = nam;
xad = xa;
yad = ya;
reta = ret;
j = _root.walk.getNextHighestDepth();
_root.walk.attachMovie("drillblock", "add" + j, j, {_x:xa + (reta * 6), _y:ya - 20});
_root[nam].working = false;
if (_root.walk.hitTest(_root["4elf"]._x + (reta * 6), _root["4elf"]._y - 10, 1) && (!_root.build.hitTest(_root["4elf"]._x + (reta * 6), _root["4elf"]._y, 1))) {
_root["4elf"]._x = xa + (reta * 6);
}
}, 1000);
}
function builda(nam, xa, ya, ret) {
setTimeout(function () {
named = nam;
xad = xa;
yad = ya;
reta = ret;
j = _root.build.getNextHighestDepth();
_root.build.attachMovie("buildblock", "add" + j, j, {_x:xa + (reta * 6), _y:ya - 20});
_root[nam].working = false;
}, 1000);
}
function bash(nam, xa, ya) {
setTimeout(function () {
named = nam;
xad = xa;
yad = ya;
for (d in _root.build) {
if (d.slice(0, 3) == "roc") {
if (_root.build[d].hitTest(_root[nam])) {
_root.build[d].play();
}
}
}
_root[nam].working = false;
}, 1000);
}
stop();
var rescued = 0;
win = setInterval(function () {
i = 2;
while (i < 6) {
if (_root[i + "elf"]._y > 400) {
_root.gotoAndPlay("NCGameover");
}
i++;
}
if (_root.rescued > 3) {
clearInterval(win);
_root.play();
}
}, 1000);
Instance of Symbol 1309 MovieClip in Frame 37
onClipEvent (enterFrame) {
i = 2;
while (i < 6) {
if (this.hitTest(_root[i + "elf"]._x, _root[i + "elf"]._y, 1)) {
_root.rescued++;
_root[i + "elf"].swapDepths(_root.getNextHighestDepth());
_root[i + "elf"].removeMovieClip();
}
i++;
}
}
Instance of Symbol 1366 MovieClip "4elf" in Frame 37
onClipEvent (load) {
var grav = 0;
}
on (press) {
_root.currentelf = this._name;
if (Key.isDown(16)) {
(this.contwork ? ((this.contwork = false)) : ((this.contwork = true)));
}
if (Key.isDown(32)) {
if (!this.working) {
this.working = true;
_root.targets4._x = this._x;
_root.drill(this._name, this._x, this._y, this.returnX);
}
}
}
onClipEvent (enterFrame) {
if (this.contwork) {
if (!this.working) {
this.working = true;
_root.drill(this._name, this._x, this._y, this.returnX);
_root.targets4._x = this._x;
}
}
if (this._name == _root.currentelf) {
this._alpha = 100;
} else {
this._alpha = 70;
}
if (!this.working) {
this._x = Math.round(this._x);
if (this._x < _root.targets4._x) {
this.gotoAndStop(2);
this._xscale = 100;
this._x++;
this.returnX = 3;
} else if (this._x > _root.targets4._x) {
this.gotoAndStop(2);
this._xscale = -100;
this._x--;
this.returnX = -3;
} else {
this.gotoAndStop(1);
}
} else if (this._currentframe <= 3) {
this.gotoAndStop(3);
}
((this._x < 0) ? ((this._x = 0)) : ((this._x = this._x)));
((this._x > 550) ? ((this._x = 550)) : ((this._x = this._x)));
this.grav++;
i = 0;
while (i <= Math.abs(this.grav)) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
this.grav = 0;
break;
}
this._y = this._y - (this.grav - (this.grav * 2));
i++;
}
i = 0;
while (i < 11) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
} else {
break;
}
if (i == 10) {
this._y = this._y + 10;
this._x = this._x - this.returnX;
_root.targets4._x = this._x;
}
i++;
}
}
Instance of Symbol 1336 MovieClip "3elf" in Frame 37
onClipEvent (load) {
var grav = 0;
}
on (press) {
_root.currentelf = this._name;
if (Key.isDown(16)) {
(this.contwork ? ((this.contwork = false)) : ((this.contwork = true)));
}
if (Key.isDown(32)) {
if (!this.working) {
this.working = true;
_root.bash(this._name, this._x, this._y);
_root.targets3._x = this._x;
}
}
}
onClipEvent (enterFrame) {
if (this.contwork) {
if (!this.working) {
this.working = true;
_root.bash(this._name, this._x, this._y);
_root.targets3._x = this._x;
}
}
if (this._name == _root.currentelf) {
this._alpha = 100;
} else {
this._alpha = 70;
}
if (!this.working) {
this._x = Math.round(this._x);
if (this._x < _root.targets3._x) {
this._xscale = 100;
this.gotoAndStop(2);
this._x++;
this.returnX = 3;
} else if (this._x > _root.targets3._x) {
this._xscale = -100;
this.gotoAndStop(2);
this._x--;
this.returnX = -3;
} else {
this.gotoAndStop(1);
}
} else if (this._currentframe <= 3) {
this.gotoAndStop(3);
}
((this._x < 0) ? ((this._x = 0)) : ((this._x = this._x)));
((this._x > 550) ? ((this._x = 550)) : ((this._x = this._x)));
this.grav++;
i = 0;
while (i <= Math.abs(this.grav)) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
this.grav = 0;
break;
}
this._y = this._y - (this.grav - (this.grav * 2));
i++;
}
i = 0;
while (i < 11) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
} else {
break;
}
if (i == 10) {
this._y = this._y + 10;
this._x = this._x - this.returnX;
_root.targets3._x = this._x;
}
i++;
}
}
Instance of Symbol 1386 MovieClip "2elf" in Frame 37
onClipEvent (load) {
var grav = 0;
}
on (press) {
_root.currentelf = this._name;
if (Key.isDown(16)) {
(this.contwork ? ((this.contwork = false)) : ((this.contwork = true)));
}
if (Key.isDown(32)) {
if (!this.working) {
this.working = true;
_root.builda(this._name, this._x, this._y, this.returnX);
_root.targets2._x = this._x;
}
}
}
onClipEvent (enterFrame) {
if (this.contwork) {
if (!this.working) {
this.working = true;
_root.builda(this._name, this._x, this._y, this.returnX);
_root.targets2._x = this._x;
}
}
if (this._name == _root.currentelf) {
this._alpha = 100;
} else {
this._alpha = 70;
}
if (!this.working) {
this._x = Math.round(this._x);
if (this._x < _root.targets2._x) {
this._xscale = 100;
this.gotoAndStop(2);
this._x++;
this.returnX = 3;
} else if (this._x > _root.targets2._x) {
this._xscale = -100;
this.gotoAndStop(2);
this._x--;
this.returnX = -3;
} else {
this.gotoAndStop(1);
}
} else if (this._currentframe <= 3) {
this.gotoAndStop(3);
}
((this._x < 0) ? ((this._x = 0)) : ((this._x = this._x)));
((this._x > 550) ? ((this._x = 550)) : ((this._x = this._x)));
this.grav++;
i = 0;
while (i <= Math.abs(this.grav)) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
this.grav = 0;
break;
}
this._y = this._y - (this.grav - (this.grav * 2));
i++;
}
i = 0;
while (i < 11) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
} else {
break;
}
if (i == 10) {
this._y = this._y + 10;
this._x = this._x - this.returnX;
_root.targets2._x = this._x;
}
i++;
}
}
Instance of Symbol 1352 MovieClip "5elf" in Frame 37
onClipEvent (load) {
var grav = 0;
}
on (press) {
_root.currentelf = this._name;
if (Key.isDown(16)) {
(this.contwork ? ((this.contwork = false)) : ((this.contwork = true)));
}
if (Key.isDown(32)) {
if (!this.working) {
this.working = true;
_root.dig(this._name, this._x, this._y);
_root.targets5._x = this._x;
}
}
}
onClipEvent (enterFrame) {
if (this.contwork) {
if (!this.working) {
this.working = true;
_root.dig(this._name, this._x, this._y);
_root.targets5._x = this._x;
}
}
if (this._name == _root.currentelf) {
this._alpha = 100;
} else {
this._alpha = 70;
}
if (!this.working) {
this._x = Math.round(this._x);
if (this._x < _root.targets5._x) {
this.gotoAndStop(2);
this._xscale = 100;
this._x++;
this.returnX = 3;
} else if (this._x > _root.targets5._x) {
this.gotoAndStop(2);
this._xscale = -100;
this._x--;
this.returnX = -3;
} else {
this.gotoAndStop(1);
}
} else if (this._currentframe <= 3) {
this.gotoAndStop(3);
}
((this._x < 0) ? ((this._x = 0)) : ((this._x = this._x)));
((this._x > 550) ? ((this._x = 550)) : ((this._x = this._x)));
this.grav++;
i = 0;
while (i <= Math.abs(this.grav)) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
this.grav = 0;
break;
}
this._y = this._y - (this.grav - (this.grav * 2));
i++;
}
i = 0;
while (i < 11) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
} else {
break;
}
if (i == 10) {
this._y = this._y + 10;
this._x = this._x - this.returnX;
_root.targets5._x = this._x;
}
i++;
}
}
Instance of Symbol 1311 MovieClip "targets2" in Frame 37
onClipEvent (load) {
this._x = Math.round(this._x);
this._y = Math.round(this._y);
}
onClipEvent (mouseDown) {
this.textbox.text = this._name.slice(7, 8);
if ((Key.isDown(17) || (Key.isDown(90))) && (!Key.isDown(32))) {
if (_root.currentelf.slice(0, 1) == this._name.slice(7, 8)) {
this._x = Math.round(_root._xmouse);
this._y = Math.round(_root._ymouse);
this.gotoAndPlay(1);
}
}
}
Instance of Symbol 1314 MovieClip "targets3" in Frame 37
onClipEvent (load) {
this._x = Math.round(this._x);
this._y = Math.round(this._y);
}
onClipEvent (mouseDown) {
this.textbox.text = this._name.slice(7, 8);
if ((Key.isDown(17) || (Key.isDown(90))) && (!Key.isDown(32))) {
if (_root.currentelf.slice(0, 1) == this._name.slice(7, 8)) {
this._x = Math.round(_root._xmouse);
this._y = Math.round(_root._ymouse);
this.gotoAndPlay(1);
}
}
}
Instance of Symbol 1317 MovieClip "targets4" in Frame 37
onClipEvent (load) {
this._x = Math.round(this._x);
this._y = Math.round(this._y);
}
onClipEvent (mouseDown) {
this.textbox.text = this._name.slice(7, 8);
if ((Key.isDown(17) || (Key.isDown(90))) && (!Key.isDown(32))) {
if (_root.currentelf.slice(0, 1) == this._name.slice(7, 8)) {
this._x = Math.round(_root._xmouse);
this._y = Math.round(_root._ymouse);
this.gotoAndPlay(1);
}
}
}
Instance of Symbol 1320 MovieClip "targets5" in Frame 37
onClipEvent (load) {
this._x = Math.round(this._x);
this._y = Math.round(this._y);
}
onClipEvent (mouseDown) {
this.textbox.text = this._name.slice(7, 8);
if ((Key.isDown(17) || (Key.isDown(90))) && (!Key.isDown(32))) {
if (_root.currentelf.slice(0, 1) == this._name.slice(7, 8)) {
this._x = Math.round(_root._xmouse);
this._y = Math.round(_root._ymouse);
this.gotoAndPlay(1);
}
}
}
Instance of Symbol 1391 MovieClip in Frame 37
onClipEvent (enterFrame) {
this.gotoAndStop(2 - (!this.hitTest(_root._xmouse, _root._ymouse, 1)));
}
Instance of Symbol 1397 MovieClip in Frame 37
onClipEvent (enterFrame) {
((_root.currentelf == "2elf") ? ((this.currentelf = "Builder")) : (Void));
((_root.currentelf == "2elf") ? ((this.powerelf = "This little fellow can build bridges in order to cross gaps and even elevate your crew")) : (Void));
((_root.currentelf == "3elf") ? ((this.currentelf = "Basher")) : (Void));
((_root.currentelf == "3elf") ? ((this.powerelf = "This elfs speciality is smashing any boulders that lie in your path")) : (Void));
((_root.currentelf == "4elf") ? ((this.currentelf = "Driller")) : (Void));
((_root.currentelf == "4elf") ? ((this.powerelf = "Drilling horizontaly is what this elf is good at. Use him wisely as he is a valuable asset to the team")) : (Void));
((_root.currentelf == "5elf") ? ((this.currentelf = "Digger")) : (Void));
((_root.currentelf == "5elf") ? ((this.powerelf = "Try not to dig yourself to deep with this elf. You wouldnt want to be trapped or lost deeper into the cave")) : (Void));
this.gotoAndStop(2 - (!this.hitTest(_root._xmouse, _root._ymouse, 1)));
}
Frame 39
function dig(nam, xa, ya) {
setTimeout(function () {
named = nam;
xad = xa;
yad = ya;
j = _root.walk.getNextHighestDepth();
_root.walk.attachMovie("drillblock", "add" + j, j, {_x:xad, _y:yad});
_root[nam].working = false;
}, 1000);
}
function drill(nam, xa, ya, ret) {
setTimeout(function () {
named = nam;
xad = xa;
yad = ya;
reta = ret;
j = _root.walk.getNextHighestDepth();
_root.walk.attachMovie("drillblock", "add" + j, j, {_x:xa + (reta * 6), _y:ya - 20});
_root[nam].working = false;
if (_root.walk.hitTest(_root["4elf"]._x + (reta * 6), _root["4elf"]._y - 10, 1) && (!_root.build.hitTest(_root["4elf"]._x + (reta * 6), _root["4elf"]._y, 1))) {
_root["4elf"]._x = xa + (reta * 6);
}
}, 1000);
}
function builda(nam, xa, ya, ret) {
setTimeout(function () {
named = nam;
xad = xa;
yad = ya;
reta = ret;
j = _root.build.getNextHighestDepth();
_root.build.attachMovie("buildblock", "add" + j, j, {_x:xa + (reta * 6), _y:ya - 20});
_root[nam].working = false;
}, 1000);
}
function bash(nam, xa, ya) {
setTimeout(function () {
named = nam;
xad = xa;
yad = ya;
for (d in _root.build) {
if (d.slice(0, 3) == "roc") {
if (_root.build[d].hitTest(_root[nam])) {
_root.build[d].play();
}
}
}
_root[nam].working = false;
}, 1000);
}
stop();
var rescued = 0;
win = setInterval(function () {
i = 2;
while (i < 6) {
if (_root[i + "elf"]._y > 400) {
_root.gotoAndPlay("NCGameover");
}
i++;
}
if (_root.rescued > 3) {
clearInterval(win);
_root.play();
}
}, 1000);
Instance of Symbol 1309 MovieClip in Frame 39
onClipEvent (enterFrame) {
i = 2;
while (i < 6) {
if (this.hitTest(_root[i + "elf"]._x, _root[i + "elf"]._y, 1)) {
_root.rescued++;
_root[i + "elf"].swapDepths(_root.getNextHighestDepth());
_root[i + "elf"].removeMovieClip();
}
i++;
}
}
Instance of Symbol 1366 MovieClip "4elf" in Frame 39
onClipEvent (load) {
var grav = 0;
}
on (press) {
_root.currentelf = this._name;
if (Key.isDown(16)) {
(this.contwork ? ((this.contwork = false)) : ((this.contwork = true)));
}
if (Key.isDown(32)) {
if (!this.working) {
this.working = true;
_root.targets4._x = this._x;
_root.drill(this._name, this._x, this._y, this.returnX);
}
}
}
onClipEvent (enterFrame) {
if (this.contwork) {
if (!this.working) {
this.working = true;
_root.drill(this._name, this._x, this._y, this.returnX);
_root.targets4._x = this._x;
}
}
if (this._name == _root.currentelf) {
this._alpha = 100;
} else {
this._alpha = 70;
}
if (!this.working) {
this._x = Math.round(this._x);
if (this._x < _root.targets4._x) {
this.gotoAndStop(2);
this._xscale = 100;
this._x++;
this.returnX = 3;
} else if (this._x > _root.targets4._x) {
this.gotoAndStop(2);
this._xscale = -100;
this._x--;
this.returnX = -3;
} else {
this.gotoAndStop(1);
}
} else if (this._currentframe <= 3) {
this.gotoAndStop(3);
}
((this._x < 0) ? ((this._x = 0)) : ((this._x = this._x)));
((this._x > 550) ? ((this._x = 550)) : ((this._x = this._x)));
this.grav++;
i = 0;
while (i <= Math.abs(this.grav)) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
this.grav = 0;
break;
}
this._y = this._y - (this.grav - (this.grav * 2));
i++;
}
i = 0;
while (i < 11) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
} else {
break;
}
if (i == 10) {
this._y = this._y + 10;
this._x = this._x - this.returnX;
_root.targets4._x = this._x;
}
i++;
}
}
Instance of Symbol 1336 MovieClip "3elf" in Frame 39
onClipEvent (load) {
var grav = 0;
}
on (press) {
_root.currentelf = this._name;
if (Key.isDown(16)) {
(this.contwork ? ((this.contwork = false)) : ((this.contwork = true)));
}
if (Key.isDown(32)) {
if (!this.working) {
this.working = true;
_root.bash(this._name, this._x, this._y);
_root.targets3._x = this._x;
}
}
}
onClipEvent (enterFrame) {
if (this.contwork) {
if (!this.working) {
this.working = true;
_root.bash(this._name, this._x, this._y);
_root.targets3._x = this._x;
}
}
if (this._name == _root.currentelf) {
this._alpha = 100;
} else {
this._alpha = 70;
}
if (!this.working) {
this._x = Math.round(this._x);
if (this._x < _root.targets3._x) {
this._xscale = 100;
this.gotoAndStop(2);
this._x++;
this.returnX = 3;
} else if (this._x > _root.targets3._x) {
this._xscale = -100;
this.gotoAndStop(2);
this._x--;
this.returnX = -3;
} else {
this.gotoAndStop(1);
}
} else if (this._currentframe <= 3) {
this.gotoAndStop(3);
}
((this._x < 0) ? ((this._x = 0)) : ((this._x = this._x)));
((this._x > 550) ? ((this._x = 550)) : ((this._x = this._x)));
this.grav++;
i = 0;
while (i <= Math.abs(this.grav)) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
this.grav = 0;
break;
}
this._y = this._y - (this.grav - (this.grav * 2));
i++;
}
i = 0;
while (i < 11) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
} else {
break;
}
if (i == 10) {
this._y = this._y + 10;
this._x = this._x - this.returnX;
_root.targets3._x = this._x;
}
i++;
}
}
Instance of Symbol 1386 MovieClip "2elf" in Frame 39
onClipEvent (load) {
var grav = 0;
}
on (press) {
_root.currentelf = this._name;
if (Key.isDown(16)) {
(this.contwork ? ((this.contwork = false)) : ((this.contwork = true)));
}
if (Key.isDown(32)) {
if (!this.working) {
this.working = true;
_root.builda(this._name, this._x, this._y, this.returnX);
_root.targets2._x = this._x;
}
}
}
onClipEvent (enterFrame) {
if (this.contwork) {
if (!this.working) {
this.working = true;
_root.builda(this._name, this._x, this._y, this.returnX);
_root.targets2._x = this._x;
}
}
if (this._name == _root.currentelf) {
this._alpha = 100;
} else {
this._alpha = 70;
}
if (!this.working) {
this._x = Math.round(this._x);
if (this._x < _root.targets2._x) {
this._xscale = 100;
this.gotoAndStop(2);
this._x++;
this.returnX = 3;
} else if (this._x > _root.targets2._x) {
this._xscale = -100;
this.gotoAndStop(2);
this._x--;
this.returnX = -3;
} else {
this.gotoAndStop(1);
}
} else if (this._currentframe <= 3) {
this.gotoAndStop(3);
}
((this._x < 0) ? ((this._x = 0)) : ((this._x = this._x)));
((this._x > 550) ? ((this._x = 550)) : ((this._x = this._x)));
this.grav++;
i = 0;
while (i <= Math.abs(this.grav)) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
this.grav = 0;
break;
}
this._y = this._y - (this.grav - (this.grav * 2));
i++;
}
i = 0;
while (i < 11) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
} else {
break;
}
if (i == 10) {
this._y = this._y + 10;
this._x = this._x - this.returnX;
_root.targets2._x = this._x;
}
i++;
}
}
Instance of Symbol 1352 MovieClip "5elf" in Frame 39
onClipEvent (load) {
var grav = 0;
}
on (press) {
_root.currentelf = this._name;
if (Key.isDown(16)) {
(this.contwork ? ((this.contwork = false)) : ((this.contwork = true)));
}
if (Key.isDown(32)) {
if (!this.working) {
this.working = true;
_root.dig(this._name, this._x, this._y);
_root.targets5._x = this._x;
}
}
}
onClipEvent (enterFrame) {
if (this.contwork) {
if (!this.working) {
this.working = true;
_root.dig(this._name, this._x, this._y);
_root.targets5._x = this._x;
}
}
if (this._name == _root.currentelf) {
this._alpha = 100;
} else {
this._alpha = 70;
}
if (!this.working) {
this._x = Math.round(this._x);
if (this._x < _root.targets5._x) {
this.gotoAndStop(2);
this._xscale = 100;
this._x++;
this.returnX = 3;
} else if (this._x > _root.targets5._x) {
this.gotoAndStop(2);
this._xscale = -100;
this._x--;
this.returnX = -3;
} else {
this.gotoAndStop(1);
}
} else if (this._currentframe <= 3) {
this.gotoAndStop(3);
}
((this._x < 0) ? ((this._x = 0)) : ((this._x = this._x)));
((this._x > 550) ? ((this._x = 550)) : ((this._x = this._x)));
this.grav++;
i = 0;
while (i <= Math.abs(this.grav)) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
this.grav = 0;
break;
}
this._y = this._y - (this.grav - (this.grav * 2));
i++;
}
i = 0;
while (i < 11) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
} else {
break;
}
if (i == 10) {
this._y = this._y + 10;
this._x = this._x - this.returnX;
_root.targets5._x = this._x;
}
i++;
}
}
Instance of Symbol 1311 MovieClip "targets2" in Frame 39
onClipEvent (load) {
this._x = Math.round(this._x);
this._y = Math.round(this._y);
}
onClipEvent (mouseDown) {
this.textbox.text = this._name.slice(7, 8);
if ((Key.isDown(17) || (Key.isDown(90))) && (!Key.isDown(32))) {
if (_root.currentelf.slice(0, 1) == this._name.slice(7, 8)) {
this._x = Math.round(_root._xmouse);
this._y = Math.round(_root._ymouse);
this.gotoAndPlay(1);
}
}
}
Instance of Symbol 1314 MovieClip "targets3" in Frame 39
onClipEvent (load) {
this._x = Math.round(this._x);
this._y = Math.round(this._y);
}
onClipEvent (mouseDown) {
this.textbox.text = this._name.slice(7, 8);
if ((Key.isDown(17) || (Key.isDown(90))) && (!Key.isDown(32))) {
if (_root.currentelf.slice(0, 1) == this._name.slice(7, 8)) {
this._x = Math.round(_root._xmouse);
this._y = Math.round(_root._ymouse);
this.gotoAndPlay(1);
}
}
}
Instance of Symbol 1317 MovieClip "targets4" in Frame 39
onClipEvent (load) {
this._x = Math.round(this._x);
this._y = Math.round(this._y);
}
onClipEvent (mouseDown) {
this.textbox.text = this._name.slice(7, 8);
if ((Key.isDown(17) || (Key.isDown(90))) && (!Key.isDown(32))) {
if (_root.currentelf.slice(0, 1) == this._name.slice(7, 8)) {
this._x = Math.round(_root._xmouse);
this._y = Math.round(_root._ymouse);
this.gotoAndPlay(1);
}
}
}
Instance of Symbol 1320 MovieClip "targets5" in Frame 39
onClipEvent (load) {
this._x = Math.round(this._x);
this._y = Math.round(this._y);
}
onClipEvent (mouseDown) {
this.textbox.text = this._name.slice(7, 8);
if ((Key.isDown(17) || (Key.isDown(90))) && (!Key.isDown(32))) {
if (_root.currentelf.slice(0, 1) == this._name.slice(7, 8)) {
this._x = Math.round(_root._xmouse);
this._y = Math.round(_root._ymouse);
this.gotoAndPlay(1);
}
}
}
Instance of Symbol 1391 MovieClip in Frame 39
onClipEvent (enterFrame) {
this.gotoAndStop(2 - (!this.hitTest(_root._xmouse, _root._ymouse, 1)));
}
Instance of Symbol 1397 MovieClip in Frame 39
onClipEvent (enterFrame) {
((_root.currentelf == "2elf") ? ((this.currentelf = "Builder")) : (Void));
((_root.currentelf == "2elf") ? ((this.powerelf = "This little fellow can build bridges in order to cross gaps and even elevate your crew")) : (Void));
((_root.currentelf == "3elf") ? ((this.currentelf = "Basher")) : (Void));
((_root.currentelf == "3elf") ? ((this.powerelf = "This elfs speciality is smashing any boulders that lie in your path")) : (Void));
((_root.currentelf == "4elf") ? ((this.currentelf = "Driller")) : (Void));
((_root.currentelf == "4elf") ? ((this.powerelf = "Drilling horizontaly is what this elf is good at. Use him wisely as he is a valuable asset to the team")) : (Void));
((_root.currentelf == "5elf") ? ((this.currentelf = "Digger")) : (Void));
((_root.currentelf == "5elf") ? ((this.powerelf = "Try not to dig yourself to deep with this elf. You wouldnt want to be trapped or lost deeper into the cave")) : (Void));
this.gotoAndStop(2 - (!this.hitTest(_root._xmouse, _root._ymouse, 1)));
}
Frame 41
function dig(nam, xa, ya) {
setTimeout(function () {
named = nam;
xad = xa;
yad = ya;
j = _root.walk.getNextHighestDepth();
_root.walk.attachMovie("drillblock", "add" + j, j, {_x:xad, _y:yad});
_root[nam].working = false;
}, 1000);
}
function drill(nam, xa, ya, ret) {
setTimeout(function () {
named = nam;
xad = xa;
yad = ya;
reta = ret;
j = _root.walk.getNextHighestDepth();
_root.walk.attachMovie("drillblock", "add" + j, j, {_x:xa + (reta * 6), _y:ya - 20});
_root[nam].working = false;
if (_root.walk.hitTest(_root["4elf"]._x + (reta * 6), _root["4elf"]._y - 10, 1) && (!_root.build.hitTest(_root["4elf"]._x + (reta * 6), _root["4elf"]._y, 1))) {
_root["4elf"]._x = xa + (reta * 6);
}
}, 1000);
}
function builda(nam, xa, ya, ret) {
setTimeout(function () {
named = nam;
xad = xa;
yad = ya;
reta = ret;
j = _root.build.getNextHighestDepth();
_root.build.attachMovie("buildblock", "add" + j, j, {_x:xa + (reta * 6), _y:ya - 20});
_root[nam].working = false;
}, 1000);
}
function bash(nam, xa, ya) {
setTimeout(function () {
named = nam;
xad = xa;
yad = ya;
for (d in _root.build) {
if (d.slice(0, 3) == "roc") {
if (_root.build[d].hitTest(_root[nam])) {
_root.build[d].play();
}
}
}
_root[nam].working = false;
}, 1000);
}
stop();
var rescued = 0;
win = setInterval(function () {
i = 2;
while (i < 6) {
if (_root[i + "elf"]._y > 400) {
_root.gotoAndPlay("NCGameover");
}
i++;
}
if (_root.rescued > 3) {
clearInterval(win);
_root.play();
}
}, 1000);
Instance of Symbol 1309 MovieClip in Frame 41
onClipEvent (enterFrame) {
i = 2;
while (i < 6) {
if (this.hitTest(_root[i + "elf"]._x, _root[i + "elf"]._y, 1)) {
_root.rescued++;
_root[i + "elf"].swapDepths(_root.getNextHighestDepth());
_root[i + "elf"].removeMovieClip();
}
i++;
}
}
Instance of Symbol 1366 MovieClip "4elf" in Frame 41
onClipEvent (load) {
var grav = 0;
}
on (press) {
_root.currentelf = this._name;
if (Key.isDown(16)) {
(this.contwork ? ((this.contwork = false)) : ((this.contwork = true)));
}
if (Key.isDown(32)) {
if (!this.working) {
this.working = true;
_root.targets4._x = this._x;
_root.drill(this._name, this._x, this._y, this.returnX);
}
}
}
onClipEvent (enterFrame) {
if (this.contwork) {
if (!this.working) {
this.working = true;
_root.drill(this._name, this._x, this._y, this.returnX);
_root.targets4._x = this._x;
}
}
if (this._name == _root.currentelf) {
this._alpha = 100;
} else {
this._alpha = 70;
}
if (!this.working) {
this._x = Math.round(this._x);
if (this._x < _root.targets4._x) {
this.gotoAndStop(2);
this._xscale = 100;
this._x++;
this.returnX = 3;
} else if (this._x > _root.targets4._x) {
this.gotoAndStop(2);
this._xscale = -100;
this._x--;
this.returnX = -3;
} else {
this.gotoAndStop(1);
}
} else if (this._currentframe <= 3) {
this.gotoAndStop(3);
}
((this._x < 0) ? ((this._x = 0)) : ((this._x = this._x)));
((this._x > 550) ? ((this._x = 550)) : ((this._x = this._x)));
this.grav++;
i = 0;
while (i <= Math.abs(this.grav)) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
this.grav = 0;
break;
}
this._y = this._y - (this.grav - (this.grav * 2));
i++;
}
i = 0;
while (i < 11) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
} else {
break;
}
if (i == 10) {
this._y = this._y + 10;
this._x = this._x - this.returnX;
_root.targets4._x = this._x;
}
i++;
}
}
Instance of Symbol 1336 MovieClip "3elf" in Frame 41
onClipEvent (load) {
var grav = 0;
}
on (press) {
_root.currentelf = this._name;
if (Key.isDown(16)) {
(this.contwork ? ((this.contwork = false)) : ((this.contwork = true)));
}
if (Key.isDown(32)) {
if (!this.working) {
this.working = true;
_root.bash(this._name, this._x, this._y);
_root.targets3._x = this._x;
}
}
}
onClipEvent (enterFrame) {
if (this.contwork) {
if (!this.working) {
this.working = true;
_root.bash(this._name, this._x, this._y);
_root.targets3._x = this._x;
}
}
if (this._name == _root.currentelf) {
this._alpha = 100;
} else {
this._alpha = 70;
}
if (!this.working) {
this._x = Math.round(this._x);
if (this._x < _root.targets3._x) {
this._xscale = 100;
this.gotoAndStop(2);
this._x++;
this.returnX = 3;
} else if (this._x > _root.targets3._x) {
this._xscale = -100;
this.gotoAndStop(2);
this._x--;
this.returnX = -3;
} else {
this.gotoAndStop(1);
}
} else if (this._currentframe <= 3) {
this.gotoAndStop(3);
}
((this._x < 0) ? ((this._x = 0)) : ((this._x = this._x)));
((this._x > 550) ? ((this._x = 550)) : ((this._x = this._x)));
this.grav++;
i = 0;
while (i <= Math.abs(this.grav)) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
this.grav = 0;
break;
}
this._y = this._y - (this.grav - (this.grav * 2));
i++;
}
i = 0;
while (i < 11) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
} else {
break;
}
if (i == 10) {
this._y = this._y + 10;
this._x = this._x - this.returnX;
_root.targets3._x = this._x;
}
i++;
}
}
Instance of Symbol 1386 MovieClip "2elf" in Frame 41
onClipEvent (load) {
var grav = 0;
}
on (press) {
_root.currentelf = this._name;
if (Key.isDown(16)) {
(this.contwork ? ((this.contwork = false)) : ((this.contwork = true)));
}
if (Key.isDown(32)) {
if (!this.working) {
this.working = true;
_root.builda(this._name, this._x, this._y, this.returnX);
_root.targets2._x = this._x;
}
}
}
onClipEvent (enterFrame) {
if (this.contwork) {
if (!this.working) {
this.working = true;
_root.builda(this._name, this._x, this._y, this.returnX);
_root.targets2._x = this._x;
}
}
if (this._name == _root.currentelf) {
this._alpha = 100;
} else {
this._alpha = 70;
}
if (!this.working) {
this._x = Math.round(this._x);
if (this._x < _root.targets2._x) {
this._xscale = 100;
this.gotoAndStop(2);
this._x++;
this.returnX = 3;
} else if (this._x > _root.targets2._x) {
this._xscale = -100;
this.gotoAndStop(2);
this._x--;
this.returnX = -3;
} else {
this.gotoAndStop(1);
}
} else if (this._currentframe <= 3) {
this.gotoAndStop(3);
}
((this._x < 0) ? ((this._x = 0)) : ((this._x = this._x)));
((this._x > 550) ? ((this._x = 550)) : ((this._x = this._x)));
this.grav++;
i = 0;
while (i <= Math.abs(this.grav)) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
this.grav = 0;
break;
}
this._y = this._y - (this.grav - (this.grav * 2));
i++;
}
i = 0;
while (i < 11) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
} else {
break;
}
if (i == 10) {
this._y = this._y + 10;
this._x = this._x - this.returnX;
_root.targets2._x = this._x;
}
i++;
}
}
Instance of Symbol 1352 MovieClip "5elf" in Frame 41
onClipEvent (load) {
var grav = 0;
}
on (press) {
_root.currentelf = this._name;
if (Key.isDown(16)) {
(this.contwork ? ((this.contwork = false)) : ((this.contwork = true)));
}
if (Key.isDown(32)) {
if (!this.working) {
this.working = true;
_root.dig(this._name, this._x, this._y);
_root.targets5._x = this._x;
}
}
}
onClipEvent (enterFrame) {
if (this.contwork) {
if (!this.working) {
this.working = true;
_root.dig(this._name, this._x, this._y);
_root.targets5._x = this._x;
}
}
if (this._name == _root.currentelf) {
this._alpha = 100;
} else {
this._alpha = 70;
}
if (!this.working) {
this._x = Math.round(this._x);
if (this._x < _root.targets5._x) {
this.gotoAndStop(2);
this._xscale = 100;
this._x++;
this.returnX = 3;
} else if (this._x > _root.targets5._x) {
this.gotoAndStop(2);
this._xscale = -100;
this._x--;
this.returnX = -3;
} else {
this.gotoAndStop(1);
}
} else if (this._currentframe <= 3) {
this.gotoAndStop(3);
}
((this._x < 0) ? ((this._x = 0)) : ((this._x = this._x)));
((this._x > 550) ? ((this._x = 550)) : ((this._x = this._x)));
this.grav++;
i = 0;
while (i <= Math.abs(this.grav)) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
this.grav = 0;
break;
}
this._y = this._y - (this.grav - (this.grav * 2));
i++;
}
i = 0;
while (i < 11) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
} else {
break;
}
if (i == 10) {
this._y = this._y + 10;
this._x = this._x - this.returnX;
_root.targets5._x = this._x;
}
i++;
}
}
Instance of Symbol 1311 MovieClip "targets2" in Frame 41
onClipEvent (load) {
this._x = Math.round(this._x);
this._y = Math.round(this._y);
}
onClipEvent (mouseDown) {
this.textbox.text = this._name.slice(7, 8);
if ((Key.isDown(17) || (Key.isDown(90))) && (!Key.isDown(32))) {
if (_root.currentelf.slice(0, 1) == this._name.slice(7, 8)) {
this._x = Math.round(_root._xmouse);
this._y = Math.round(_root._ymouse);
this.gotoAndPlay(1);
}
}
}
Instance of Symbol 1314 MovieClip "targets3" in Frame 41
onClipEvent (load) {
this._x = Math.round(this._x);
this._y = Math.round(this._y);
}
onClipEvent (mouseDown) {
this.textbox.text = this._name.slice(7, 8);
if ((Key.isDown(17) || (Key.isDown(90))) && (!Key.isDown(32))) {
if (_root.currentelf.slice(0, 1) == this._name.slice(7, 8)) {
this._x = Math.round(_root._xmouse);
this._y = Math.round(_root._ymouse);
this.gotoAndPlay(1);
}
}
}
Instance of Symbol 1317 MovieClip "targets4" in Frame 41
onClipEvent (load) {
this._x = Math.round(this._x);
this._y = Math.round(this._y);
}
onClipEvent (mouseDown) {
this.textbox.text = this._name.slice(7, 8);
if ((Key.isDown(17) || (Key.isDown(90))) && (!Key.isDown(32))) {
if (_root.currentelf.slice(0, 1) == this._name.slice(7, 8)) {
this._x = Math.round(_root._xmouse);
this._y = Math.round(_root._ymouse);
this.gotoAndPlay(1);
}
}
}
Instance of Symbol 1320 MovieClip "targets5" in Frame 41
onClipEvent (load) {
this._x = Math.round(this._x);
this._y = Math.round(this._y);
}
onClipEvent (mouseDown) {
this.textbox.text = this._name.slice(7, 8);
if ((Key.isDown(17) || (Key.isDown(90))) && (!Key.isDown(32))) {
if (_root.currentelf.slice(0, 1) == this._name.slice(7, 8)) {
this._x = Math.round(_root._xmouse);
this._y = Math.round(_root._ymouse);
this.gotoAndPlay(1);
}
}
}
Instance of Symbol 1391 MovieClip in Frame 41
onClipEvent (enterFrame) {
this.gotoAndStop(2 - (!this.hitTest(_root._xmouse, _root._ymouse, 1)));
}
Instance of Symbol 1397 MovieClip in Frame 41
onClipEvent (enterFrame) {
((_root.currentelf == "2elf") ? ((this.currentelf = "Builder")) : (Void));
((_root.currentelf == "2elf") ? ((this.powerelf = "This little fellow can build bridges in order to cross gaps and even elevate your crew")) : (Void));
((_root.currentelf == "3elf") ? ((this.currentelf = "Basher")) : (Void));
((_root.currentelf == "3elf") ? ((this.powerelf = "This elfs speciality is smashing any boulders that lie in your path")) : (Void));
((_root.currentelf == "4elf") ? ((this.currentelf = "Driller")) : (Void));
((_root.currentelf == "4elf") ? ((this.powerelf = "Drilling horizontaly is what this elf is good at. Use him wisely as he is a valuable asset to the team")) : (Void));
((_root.currentelf == "5elf") ? ((this.currentelf = "Digger")) : (Void));
((_root.currentelf == "5elf") ? ((this.powerelf = "Try not to dig yourself to deep with this elf. You wouldnt want to be trapped or lost deeper into the cave")) : (Void));
this.gotoAndStop(2 - (!this.hitTest(_root._xmouse, _root._ymouse, 1)));
}
Frame 43
function dig(nam, xa, ya) {
setTimeout(function () {
named = nam;
xad = xa;
yad = ya;
j = _root.walk.getNextHighestDepth();
_root.walk.attachMovie("drillblock", "add" + j, j, {_x:xad, _y:yad});
_root[nam].working = false;
}, 1000);
}
function drill(nam, xa, ya, ret) {
setTimeout(function () {
named = nam;
xad = xa;
yad = ya;
reta = ret;
j = _root.walk.getNextHighestDepth();
_root.walk.attachMovie("drillblock", "add" + j, j, {_x:xa + (reta * 6), _y:ya - 20});
_root[nam].working = false;
if (_root.walk.hitTest(_root["4elf"]._x + (reta * 6), _root["4elf"]._y - 10, 1) && (!_root.build.hitTest(_root["4elf"]._x + (reta * 6), _root["4elf"]._y, 1))) {
_root["4elf"]._x = xa + (reta * 6);
}
}, 1000);
}
function builda(nam, xa, ya, ret) {
setTimeout(function () {
named = nam;
xad = xa;
yad = ya;
reta = ret;
j = _root.build.getNextHighestDepth();
_root.build.attachMovie("buildblock", "add" + j, j, {_x:xa + (reta * 6), _y:ya - 20});
_root[nam].working = false;
}, 1000);
}
function bash(nam, xa, ya) {
setTimeout(function () {
named = nam;
xad = xa;
yad = ya;
for (d in _root.build) {
if (d.slice(0, 3) == "roc") {
if (_root.build[d].hitTest(_root[nam])) {
_root.build[d].play();
}
}
}
_root[nam].working = false;
}, 1000);
}
stop();
var rescued = 0;
win = setInterval(function () {
i = 2;
while (i < 6) {
if (_root[i + "elf"]._y > 400) {
_root.gotoAndPlay("NCGameover");
}
i++;
}
if (_root.rescued > 3) {
clearInterval(win);
_root.play();
}
}, 1000);
Instance of Symbol 1309 MovieClip in Frame 43
onClipEvent (enterFrame) {
i = 2;
while (i < 6) {
if (this.hitTest(_root[i + "elf"]._x, _root[i + "elf"]._y, 1)) {
_root.rescued++;
_root[i + "elf"].swapDepths(_root.getNextHighestDepth());
_root[i + "elf"].removeMovieClip();
}
i++;
}
}
Instance of Symbol 1366 MovieClip "4elf" in Frame 43
onClipEvent (load) {
var grav = 0;
}
on (press) {
_root.currentelf = this._name;
if (Key.isDown(16)) {
(this.contwork ? ((this.contwork = false)) : ((this.contwork = true)));
}
if (Key.isDown(32)) {
if (!this.working) {
this.working = true;
_root.targets4._x = this._x;
_root.drill(this._name, this._x, this._y, this.returnX);
}
}
}
onClipEvent (enterFrame) {
if (this.contwork) {
if (!this.working) {
this.working = true;
_root.drill(this._name, this._x, this._y, this.returnX);
_root.targets4._x = this._x;
}
}
if (this._name == _root.currentelf) {
this._alpha = 100;
} else {
this._alpha = 70;
}
if (!this.working) {
this._x = Math.round(this._x);
if (this._x < _root.targets4._x) {
this.gotoAndStop(2);
this._xscale = 100;
this._x++;
this.returnX = 3;
} else if (this._x > _root.targets4._x) {
this.gotoAndStop(2);
this._xscale = -100;
this._x--;
this.returnX = -3;
} else {
this.gotoAndStop(1);
}
} else if (this._currentframe <= 3) {
this.gotoAndStop(3);
}
((this._x < 0) ? ((this._x = 0)) : ((this._x = this._x)));
((this._x > 550) ? ((this._x = 550)) : ((this._x = this._x)));
this.grav++;
i = 0;
while (i <= Math.abs(this.grav)) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
this.grav = 0;
break;
}
this._y = this._y - (this.grav - (this.grav * 2));
i++;
}
i = 0;
while (i < 11) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
} else {
break;
}
if (i == 10) {
this._y = this._y + 10;
this._x = this._x - this.returnX;
_root.targets4._x = this._x;
}
i++;
}
}
Instance of Symbol 1336 MovieClip "3elf" in Frame 43
onClipEvent (load) {
var grav = 0;
}
on (press) {
_root.currentelf = this._name;
if (Key.isDown(16)) {
(this.contwork ? ((this.contwork = false)) : ((this.contwork = true)));
}
if (Key.isDown(32)) {
if (!this.working) {
this.working = true;
_root.bash(this._name, this._x, this._y);
_root.targets3._x = this._x;
}
}
}
onClipEvent (enterFrame) {
if (this.contwork) {
if (!this.working) {
this.working = true;
_root.bash(this._name, this._x, this._y);
_root.targets3._x = this._x;
}
}
if (this._name == _root.currentelf) {
this._alpha = 100;
} else {
this._alpha = 70;
}
if (!this.working) {
this._x = Math.round(this._x);
if (this._x < _root.targets3._x) {
this._xscale = 100;
this.gotoAndStop(2);
this._x++;
this.returnX = 3;
} else if (this._x > _root.targets3._x) {
this._xscale = -100;
this.gotoAndStop(2);
this._x--;
this.returnX = -3;
} else {
this.gotoAndStop(1);
}
} else if (this._currentframe <= 3) {
this.gotoAndStop(3);
}
((this._x < 0) ? ((this._x = 0)) : ((this._x = this._x)));
((this._x > 550) ? ((this._x = 550)) : ((this._x = this._x)));
this.grav++;
i = 0;
while (i <= Math.abs(this.grav)) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
this.grav = 0;
break;
}
this._y = this._y - (this.grav - (this.grav * 2));
i++;
}
i = 0;
while (i < 11) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
} else {
break;
}
if (i == 10) {
this._y = this._y + 10;
this._x = this._x - this.returnX;
_root.targets3._x = this._x;
}
i++;
}
}
Instance of Symbol 1386 MovieClip "2elf" in Frame 43
onClipEvent (load) {
var grav = 0;
}
on (press) {
_root.currentelf = this._name;
if (Key.isDown(16)) {
(this.contwork ? ((this.contwork = false)) : ((this.contwork = true)));
}
if (Key.isDown(32)) {
if (!this.working) {
this.working = true;
_root.builda(this._name, this._x, this._y, this.returnX);
_root.targets2._x = this._x;
}
}
}
onClipEvent (enterFrame) {
if (this.contwork) {
if (!this.working) {
this.working = true;
_root.builda(this._name, this._x, this._y, this.returnX);
_root.targets2._x = this._x;
}
}
if (this._name == _root.currentelf) {
this._alpha = 100;
} else {
this._alpha = 70;
}
if (!this.working) {
this._x = Math.round(this._x);
if (this._x < _root.targets2._x) {
this._xscale = 100;
this.gotoAndStop(2);
this._x++;
this.returnX = 3;
} else if (this._x > _root.targets2._x) {
this._xscale = -100;
this.gotoAndStop(2);
this._x--;
this.returnX = -3;
} else {
this.gotoAndStop(1);
}
} else if (this._currentframe <= 3) {
this.gotoAndStop(3);
}
((this._x < 0) ? ((this._x = 0)) : ((this._x = this._x)));
((this._x > 550) ? ((this._x = 550)) : ((this._x = this._x)));
this.grav++;
i = 0;
while (i <= Math.abs(this.grav)) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
this.grav = 0;
break;
}
this._y = this._y - (this.grav - (this.grav * 2));
i++;
}
i = 0;
while (i < 11) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
} else {
break;
}
if (i == 10) {
this._y = this._y + 10;
this._x = this._x - this.returnX;
_root.targets2._x = this._x;
}
i++;
}
}
Instance of Symbol 1352 MovieClip "5elf" in Frame 43
onClipEvent (load) {
var grav = 0;
}
on (press) {
_root.currentelf = this._name;
if (Key.isDown(16)) {
(this.contwork ? ((this.contwork = false)) : ((this.contwork = true)));
}
if (Key.isDown(32)) {
if (!this.working) {
this.working = true;
_root.dig(this._name, this._x, this._y);
_root.targets5._x = this._x;
}
}
}
onClipEvent (enterFrame) {
if (this.contwork) {
if (!this.working) {
this.working = true;
_root.dig(this._name, this._x, this._y);
_root.targets5._x = this._x;
}
}
if (this._name == _root.currentelf) {
this._alpha = 100;
} else {
this._alpha = 70;
}
if (!this.working) {
this._x = Math.round(this._x);
if (this._x < _root.targets5._x) {
this.gotoAndStop(2);
this._xscale = 100;
this._x++;
this.returnX = 3;
} else if (this._x > _root.targets5._x) {
this.gotoAndStop(2);
this._xscale = -100;
this._x--;
this.returnX = -3;
} else {
this.gotoAndStop(1);
}
} else if (this._currentframe <= 3) {
this.gotoAndStop(3);
}
((this._x < 0) ? ((this._x = 0)) : ((this._x = this._x)));
((this._x > 550) ? ((this._x = 550)) : ((this._x = this._x)));
this.grav++;
i = 0;
while (i <= Math.abs(this.grav)) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
this.grav = 0;
break;
}
this._y = this._y - (this.grav - (this.grav * 2));
i++;
}
i = 0;
while (i < 11) {
if ((!_root.walk.hitTest(this._x, this._y, 1)) || (_root.build.hitTest(this._x, this._y, 1))) {
this._y--;
} else {
break;
}
if (i == 10) {
this._y = this._y + 10;
this._x = this._x - this.returnX;
_root.targets5._x = this._x;
}
i++;
}
}
Instance of Symbol 1311 MovieClip "targets2" in Frame 43
onClipEvent (load) {
this._x = Math.round(this._x);
this._y = Math.round(this._y);
}
onClipEvent (mouseDown) {
this.textbox.text = this._name.slice(7, 8);
if ((Key.isDown(17) || (Key.isDown(90))) && (!Key.isDown(32))) {
if (_root.currentelf.slice(0, 1) == this._name.slice(7, 8)) {
this._x = Math.round(_root._xmouse);
this._y = Math.round(_root._ymouse);
this.gotoAndPlay(1);
}
}
}
Instance of Symbol 1314 MovieClip "targets3" in Frame 43
onClipEvent (load) {
this._x = Math.round(this._x);
this._y = Math.round(this._y);
}
onClipEvent (mouseDown) {
this.textbox.text = this._name.slice(7, 8);
if ((Key.isDown(17) || (Key.isDown(90))) && (!Key.isDown(32))) {
if (_root.currentelf.slice(0, 1) == this._name.slice(7, 8)) {
this._x = Math.round(_root._xmouse);
this._y = Math.round(_root._ymouse);
this.gotoAndPlay(1);
}
}
}
Instance of Symbol 1317 MovieClip "targets4" in Frame 43
onClipEvent (load) {
this._x = Math.round(this._x);
this._y = Math.round(this._y);
}
onClipEvent (mouseDown) {
this.textbox.text = this._name.slice(7, 8);
if ((Key.isDown(17) || (Key.isDown(90))) && (!Key.isDown(32))) {
if (_root.currentelf.slice(0, 1) == this._name.slice(7, 8)) {
this._x = Math.round(_root._xmouse);
this._y = Math.round(_root._ymouse);
this.gotoAndPlay(1);
}
}
}
Instance of Symbol 1320 MovieClip "targets5" in Frame 43
onClipEvent (load) {
this._x = Math.round(this._x);
this._y = Math.round(this._y);
}
onClipEvent (mouseDown) {
this.textbox.text = this._name.slice(7, 8);
if ((Key.isDown(17) || (Key.isDown(90))) && (!Key.isDown(32))) {
if (_root.currentelf.slice(0, 1) == this._name.slice(7, 8)) {
this._x = Math.round(_root._xmouse);
this._y = Math.round(_root._ymouse);
this.gotoAndPlay(1);
}
}
}
Instance of Symbol 1391 MovieClip in Frame 43
onClipEvent (enterFrame) {
this.gotoAndStop(2 - (!this.hitTest(_root._xmouse, _root._ymouse, 1)));
}
Instance of Symbol 1397 MovieClip in Frame 43
onClipEvent (enterFrame) {
((_root.currentelf == "2elf") ? ((this.currentelf = "Builder")) : (Void));
((_root.currentelf == "2elf") ? ((this.powerelf = "This little fellow can build bridges in order to cross gaps and even elevate your crew")) : (Void));
((_root.currentelf == "3elf") ? ((this.currentelf = "Basher")) : (Void));
((_root.currentelf == "3elf") ? ((this.powerelf = "This elfs speciality is smashing any boulders that lie in your path")) : (Void));
((_root.currentelf == "4elf") ? ((this.currentelf = "Driller")) : (Void));
((_root.currentelf == "4elf") ? ((this.powerelf = "Drilling horizontaly is what this elf is good at. Use him wisely as he is a valuable asset to the team")) : (Void));
((_root.currentelf == "5elf") ? ((this.currentelf = "Digger")) : (Void));
((_root.currentelf == "5elf") ? ((this.powerelf = "Try not to dig yourself to deep with this elf. You wouldnt want to be trapped or lost deeper into the cave")) : (Void));
this.gotoAndStop(2 - (!this.hitTest(_root._xmouse, _root._ymouse, 1)));
}
Frame 44
stop();
Instance of Symbol 1446 MovieClip in Frame 44
on (release) {
gotoAndStop(_root.curnt +27);
}
Frame 45
stop();
Symbol 16 MovieClip [ball] Frame 1
stop();
Symbol 31 MovieClip [bulletT-H] Frame 1
stop();
Symbol 31 MovieClip [bulletT-H] Frame 6
this.removeMovieClip();
Symbol 31 MovieClip [bulletT-H] Frame 11
this.removeMovieClip();
Symbol 79 MovieClip [bearT-H] Frame 17
((mde == "walk") ? (gotoAndPlay (1)) : (nextFrame()));
Symbol 79 MovieClip [bearT-H] Frame 18
stop();
mde = "hit";
clearInterval(playy);
playy = setInterval(function () {
if (random(4) == 1) {
play();
}
}, 1000);
Instance of Symbol 43 MovieClip in Symbol 79 MovieClip [bearT-H] Frame 18
onClipEvent (load) {
var degRAD = 57.2957795130823;
var ydist = 0;
}
onClipEvent (enterFrame) {
ydist = _parent._y - _root.santa_mc._y;
ang = Math.atan2(ydist, 20);
((_root.dead == false) ? (_rotation = (ang * degRAD)ang * degRAD) : (_rotation = 3030));
}
Symbol 79 MovieClip [bearT-H] Frame 27
if (this.hitTest(_root.santa_mc)) {
_root.energy = _root.energy - 30;
_root.energyBar_mc.bar._xscale = _root.energy;
}
Symbol 79 MovieClip [bearT-H] Frame 37
gotoAndStop ("hit");
Symbol 79 MovieClip [bearT-H] Frame 38
play();
clearInterval(playy);
_root.score = _root.score + 25;
((facing == 2) ? ((_root.lBear = false)) : ((_root.rBear = false)));
Symbol 79 MovieClip [bearT-H] Frame 39
delete this.onEnterFrame;
Symbol 79 MovieClip [bearT-H] Frame 67
for (i in _root.cE) {
if (_root.cE[i] == this._name) {
_root.cE.splice(i, 1);
}
}
this.removeMovieClip();
Symbol 122 MovieClip [snowmanGT-H] Frame 16
((mde == "walk") ? (gotoAndPlay (1)) : (nextFrame()));
Symbol 122 MovieClip [snowmanGT-H] Frame 17
stop();
clearInterval(playy);
playy = setInterval(function () {
if (random(4) == 1) {
play();
}
}, 1000);
Symbol 122 MovieClip [snowmanGT-H] Frame 27
_parent.attachMovie("snow2T-H", "snow2T-H" + _root.snow2No, _root.snow2No);
_root["snow2T-H" + _root.snow2No]._y = this._y - 10;
_root["snow2T-H" + _root.snow2No]._x = this._x + (5 * this.facing);
_root["snow2T-H" + _root.snow2No].xvel = random(4) + (5 * this.facing);
_root["snow2T-H" + _root.snow2No].yvel = random(11) + 5;
_root["snow2T-H" + _root.snow2No].yminus = Math.random();
_root["snow2T-H" + _root.snow2No].cacheAsBitmap = true;
_root["snow2T-H" + _root.snow2No].gotoAndStop(2);
_root["snow2T-H" + _root.snow2No].onEnterFrame = function () {
this._x = this._x + this.xvel;
this._y = this._y - this.yvel;
this.yvel = this.yvel - this.yminus;
if (this.hitTest(_root.santa_mc)) {
this.play();
_root.energy = _root.energy - 2.5;
_root.energyBar_mc.bar._xscale = _root.energy;
}
if (((this._x < 0) || (this._x > 550)) || (this._y > 325)) {
this.removeMovieClip();
}
};
_root.snow2No++;
gotoAndStop ("throw");
Symbol 122 MovieClip [snowmanGT-H] Frame 28
play();
clearInterval(playy);
Symbol 122 MovieClip [snowmanGT-H] Frame 29
delete this.onEnterFrame;
Symbol 122 MovieClip [snowmanGT-H] Frame 35
_root.score = _root.score + 10;
for (i in _root.cE) {
if (_root.cE[i] == this._name) {
_root.cE.splice(i, 1);
}
}
this.removeMovieClip();
Symbol 132 MovieClip [snow2T-H] Frame 1
stop();
Symbol 132 MovieClip [snow2T-H] Frame 2
stop();
Symbol 132 MovieClip [snow2T-H] Frame 7
this.removeMovieClip();
Symbol 140 MovieClip [ePres6T-H] Frame 1
stop();
Symbol 140 MovieClip [ePres6T-H] Frame 7
_root.score = _root.score + 75;
for (i in _root.cP) {
if (_root.cP[i] == this._name) {
_root.cP.splice(i, 1);
}
}
this.removeMovieClip();
Symbol 183 MovieClip [snowmanPT-H] Frame 16
((mde == "walk") ? (gotoAndPlay (1)) : (nextFrame()));
Symbol 183 MovieClip [snowmanPT-H] Frame 17
stop();
clearInterval(playy);
playy = setInterval(function () {
if (random(4) == 1) {
play();
}
}, 1000);
Symbol 183 MovieClip [snowmanPT-H] Frame 22
xxx = _x - _parent.santa_mc._x;
yyy = _y - _parent.santa_mc._y;
ang = Math.atan2(yyy, xxx);
Symbol 183 MovieClip [snowmanPT-H] Frame 27
_parent.attachMovie("snow2T-H", "snow2T-H" + _root.snow2No, _root.snow2No);
_root["snow2T-H" + _root.snow2No]._y = this._y - 10;
_root["snow2T-H" + _root.snow2No]._x = this._x + (5 * this.facing);
_root["snow2T-H" + _root.snow2No].xvel = Math.cos(ang) * -15;
_root["snow2T-H" + _root.snow2No].yvel = Math.sin(ang) * 15;
_root["snow2T-H" + _root.snow2No].yminus = Math.random() * 0.5;
_root["snow2T-H" + _root.snow2No].cacheAsBitmap = true;
_root["snow2T-H" + _root.snow2No].onEnterFrame = function () {
this._x = this._x + this.xvel;
this._y = this._y - this.yvel;
this.yvel = this.yvel - this.yminus;
if (this.hitTest(_root.santa_mc)) {
this.play();
_root.energy = _root.energy - 1.5;
_root.energyBar_mc.bar._xscale = _root.energy;
}
if (((this._x > 550) || (this._x < 0)) || (this._y > 325)) {
this.removeMovieClip();
}
};
_root.snow2No++;
gotoAndStop ("throw");
Symbol 183 MovieClip [snowmanPT-H] Frame 28
play();
clearInterval(playy);
Symbol 183 MovieClip [snowmanPT-H] Frame 29
delete this.onEnterFrame;
Symbol 183 MovieClip [snowmanPT-H] Frame 35
_root.score = _root.score + 15;
for (i in _root.cE) {
if (_root.cE[i] == this._name) {
_root.cE.splice(i, 1);
}
}
this.removeMovieClip();
Symbol 191 MovieClip [ePres2T-H] Frame 1
stop();
Symbol 191 MovieClip [ePres2T-H] Frame 2
_rotation = 0;
bomb = true;
Symbol 191 MovieClip [ePres2T-H] Frame 3
this._rotation = 0;
Symbol 191 MovieClip [ePres2T-H] Frame 11
for (i in _root.cP) {
if (_root.cP[i] == this._name) {
_root.cP.splice(i, 1);
}
}
this.removeMovieClip();
Symbol 200 MovieClip [ePres3T-H] Frame 1
stop();
Symbol 200 MovieClip [ePres3T-H] Frame 11
_root.speedd = _root.speedd + 5;
_root.santa_mc.speed = 4;
for (i in _root.cP) {
if (_root.cP[i] == this._name) {
_root.cP.splice(i, 1);
}
}
this.removeMovieClip();
Symbol 209 MovieClip [ePres4T-H] Frame 1
stop();
Symbol 209 MovieClip [ePres4T-H] Frame 8
_parent.laserr = _parent.laserr + 7;
_parent.laser = true;
for (i in _root.cP) {
if (_root.cP[i] == this._name) {
_root.cP.splice(i, 1);
}
}
this.removeMovieClip();
Symbol 213 MovieClip Frame 1
stop();
Symbol 213 MovieClip Frame 3
if (random(4) == 1) {
_root.energy = _root.energy - 20;
_root.energyBar_mc.bar._xscale = _root.energy;
}
Symbol 221 MovieClip Frame 1
stop();
Symbol 221 MovieClip Frame 81
_parent.removeMovieClip();
Symbol 222 MovieClip [monkeyT-H] Frame 1
stop();
Symbol 222 MovieClip [monkeyT-H] Frame 2
_root.clear();
_root.score = _root.score + 50;
Symbol 228 MovieClip [bullet2T-H] Frame 1
stop();
Symbol 228 MovieClip [bullet2T-H] Frame 6
this.removeMovieClip();
Symbol 228 MovieClip [bullet2T-H] Frame 11
this.removeMovieClip();
Symbol 238 MovieClip [ePres5T-H] Frame 1
stop();
Symbol 238 MovieClip [ePres5T-H] Frame 2
_rotation = 0;
Symbol 238 MovieClip [ePres5T-H] Frame 9
_root.energy = _root.energy - 3;
_root.energyBar_mc.bar._xscale = _root.energy;
for (i in _root.cP) {
if (_root.cP[i] == this._name) {
_root.cP.splice(i, 1);
}
}
this.removeMovieClip();
Symbol 249 MovieClip [ePres1T-H] Frame 1
stop();
Symbol 249 MovieClip [ePres1T-H] Frame 10
_root.rAmmo = _root.rAmmo + 50;
for (i in _root.cP) {
if (_root.cP[i] == this._name) {
_root.cP.splice(i, 1);
}
}
this.removeMovieClip();
Symbol 265 MovieClip [c_foot] Frame 1
stop();
Symbol 265 MovieClip [c_foot] Frame 2
stop();
Symbol 309 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Symbol 311 Button
on (release) {
_root.play();
}
Instance of Symbol 309 MovieClip in Symbol 323 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
varName = "defaultValue";
}
Symbol 323 MovieClip Frame 349
_root.play();
_root.play();
Symbol 343 MovieClip Frame 1
stop();
Symbol 343 MovieClip Frame 8
stop();
Symbol 366 Button
on (press) {
getURL ("http://www.newgrounds.com/gold/profile/template.php3?id=1105428", "_blank");
}
Symbol 369 Button
on (press) {
getURL ("http://www.samuelhorn.com", "_blank");
}
Symbol 374 Button
on (press) {
getURL ("http://www.newgrounds.com/gold/profile/template.php3?id=717281", "_blank");
}
Symbol 379 Button
on (press) {
getURL ("http://www.newgrounds.com/gold/profile/template.php3?id=1208288", "_blank");
}
Symbol 384 Button
on (press) {
getURL ("http://www.claxor.com", "_blank");
}
Symbol 389 Button
on (press) {
getURL ("http://www.ninja-chicken.com", "_blank");
}
Symbol 392 Button
on (press) {
getURL ("http://www.newgrounds.com/gold/profile/template.php3?id=1085058", "_blank");
}
Symbol 397 Button
on (press) {
getURL ("http://www.newgrounds.com/gold/profile/template.php3?id=1297562", "_blank");
}
Symbol 402 Button
on (press) {
getURL ("http://members.westnet.com.au/stahelr/", "_blank");
}
Symbol 407 Button
on (press) {
getURL ("http://www.newgrounds.com/gold/profile/template.php3?id=1301263", "_blank");
}
Symbol 413 Button
on (press) {
getURL ("http://www.newgrounds.com/bbs/topic.php?id=386442&page=1", "_blank");
}
Symbol 416 Button
on (press) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 419 Button
on (press) {
getURL ("http://www.armorgames.com/contest3.html", "_blank");
}
Symbol 423 Button
on (press) {
getURL ("http://www.ninja-chicken.com", "_blank");
}
Symbol 424 MovieClip Frame 1
stop();
Symbol 424 MovieClip Frame 2
current = "rantz_mainmenu";
Instance of Symbol 343 MovieClip in Symbol 424 MovieClip Frame 2
on (rollOver) {
mde = 1;
}
on (rollOut) {
mde = 2;
}
onClipEvent (enterFrame) {
((mde == 1) ? (nextFrame()) : (prevFrame()));
}
on (release) {
_root.gotoAndStop(_parent.current);
}
Instance of Symbol 343 MovieClip in Symbol 424 MovieClip Frame 2
on (rollOver) {
mde = 1;
}
on (rollOut) {
mde = 2;
}
onClipEvent (enterFrame) {
((mde == 1) ? (nextFrame()) : (prevFrame()));
}
on (release) {
getURL ("http://www.ninja-chicken.com/viewScoreXMAS.php?game=Santas Little Sorter", "_blank");
}
Symbol 424 MovieClip Frame 3
current = "T-H";
Instance of Symbol 343 MovieClip in Symbol 424 MovieClip Frame 3
on (rollOver) {
mde = 1;
}
on (rollOut) {
mde = 2;
}
onClipEvent (enterFrame) {
((mde == 1) ? (nextFrame()) : (prevFrame()));
}
on (release) {
getURL ("http://www.ninja-chicken.com/viewScoreXMAS.php?game=Defend the north pole", "_blank");
}
Symbol 424 MovieClip Frame 4
current = "JPI_game";
Symbol 424 MovieClip Frame 5
current = "Claxor_menu";
Instance of Symbol 343 MovieClip in Symbol 424 MovieClip Frame 5
on (rollOver) {
mde = 1;
}
on (rollOut) {
mde = 2;
}
onClipEvent (enterFrame) {
((mde == 1) ? (nextFrame()) : (prevFrame()));
}
on (release) {
getURL ("http://www.ninja-chicken.com/viewScoreXMASC.php?game=Santas Hurdles", "_blank");
}
Symbol 424 MovieClip Frame 6
current = "NC_MENU_GAME";
Symbol 424 MovieClip Frame 7
current = "blaze_menu";
Symbol 424 MovieClip Frame 8
current = "Maxc16";
Instance of Symbol 343 MovieClip in Symbol 424 MovieClip Frame 8
on (rollOver) {
mde = 1;
}
on (rollOut) {
mde = 2;
}
onClipEvent (enterFrame) {
((mde == 1) ? (nextFrame()) : (prevFrame()));
}
on (release) {
getURL ("http://www.ninja-chicken.com/viewScoreXMAS.php?game=Present shooter", "_blank");
}
Symbol 424 MovieClip Frame 9
current = "neashir_game";
Symbol 427 Button
on (press) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 435 Button
on (release) {
for (d in _root) {
removeMovieClip(_root[d]);
}
for (d in _root) {
delete _root[d];
}
gotoAndStop ("NCMenu");
}
Symbol 442 MovieClip Frame 1
(hitTest(_parent._xmouse, _parent._ymouse) ? 0 : (stop()));
Symbol 447 MovieClip Frame 1
(hitTest(_parent._xmouse, _parent._ymouse) ? 0 : (stop()));
Symbol 459 MovieClip Frame 1
(_parent.rantz_sp ? (play()) : (stop()));
Symbol 459 MovieClip Frame 9
(_parent.rantz_sp ? (play()) : (stop()));
Symbol 466 MovieClip Frame 1
(_parent.rantz_sp ? (play()) : (stop()));
Symbol 466 MovieClip Frame 9
(_parent.rantz_sp ? (play()) : (stop()));
Symbol 467 MovieClip Frame 1
stop();
Symbol 473 MovieClip Frame 1
stop();
Instance of Symbol 469 MovieClip in Symbol 473 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = ((Math.atan2(_parent._y - 150, _parent._x - 420) / Math.PI) * 180);
}
Instance of Symbol 467 MovieClip "rantz_bbbb" in Symbol 475 MovieClip Frame 1
onClipEvent (load) {
var rantz_sp = false;
}
Symbol 475 MovieClip Frame 34
rantz_bbbb.nextFrame();
Symbol 475 MovieClip Frame 62
rantz_bbbb.prevFrame();
Instance of Symbol 467 MovieClip in Symbol 480 MovieClip Frame 1
onClipEvent (load) {
var rantz_sp = true;
}
Instance of Symbol 467 MovieClip in Symbol 480 MovieClip Frame 27
onClipEvent (load) {
var rantz_sp = true;
}
Instance of Symbol 467 MovieClip in Symbol 480 MovieClip Frame 33
onClipEvent (load) {
var rantz_sp = true;
}
Instance of Symbol 467 MovieClip in Symbol 480 MovieClip Frame 59
onClipEvent (load) {
var rantz_sp = true;
}
Symbol 483 MovieClip Frame 1
(hitTest(_parent._xmouse, _parent._ymouse) ? 0 : (stop()));
Instance of Symbol 469 MovieClip in Symbol 493 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = ((Math.atan2(_parent._y - 150, _parent._x - 420) / Math.PI) * 180);
}
Instance of Symbol 469 MovieClip in Symbol 495 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = ((Math.atan2(_parent._y - 150, _parent._x - 420) / Math.PI) * 180);
}
Instance of Symbol 469 MovieClip in Symbol 497 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = ((Math.atan2(_parent._y - 150, _parent._x - 420) / Math.PI) * 180);
}
Symbol 504 MovieClip Frame 1
stop();
Symbol 517 MovieClip Frame 121
_parent.rantz_char.rantz_canmove = true;
_parent.rantz_char.rantz_D = (Key.isDown(37) ? -2 : ((Key.isDown(38) ? -1 : ((Key.isDown(39) ? 0 : ((Key.isDown(40) ? 1 : (_parent.rantz_char.rantz_D))))))));
((((Key.isDown(37) || (Key.isDown(38))) || (Key.isDown(39))) || (Key.isDown(40))) ? (_parent.rantz_char.nisse2.play()) : 0);
stop();
Symbol 518 Button
on (release) {
i = 2;
while (i <= 5) {
this["rantz_dump" + i]._visible = false;
i++;
}
gotoAndStop ("rantz_mainmenu");
}
Symbol 559 MovieClip Frame 1
stop();
Symbol 565 Button
on (release) {
play();
}
Symbol 567 Button
on (release) {
for (d in _root) {
removeMovieClip(_root[d]);
}
for (d in _root) {
delete _root[d];
}
gotoAndStop ("NCMenu");
}
Symbol 577 Button
on (press) {
gotoAndPlay (2);
_root.score++;
}
Symbol 580 MovieClip Frame 1
stop();
Symbol 580 MovieClip Frame 4
_parent.gotoAndPlay(3);
Symbol 581 MovieClip Frame 1
stop();
Symbol 581 MovieClip Frame 2
stop();
Instance of Symbol 580 MovieClip in Symbol 581 MovieClip Frame 2
onClipEvent (load) {
_root.hitz = 0;
this._alpha = 0;
}
onClipEvent (enterFrame) {
this._y = this._y - _root.speedz;
this._rotation = this._rotation + 7;
if (this._y <= -80) {
this._alpha = 100;
}
if ((this._y <= -380) && (_root.hitz == 0)) {
gotoAndPlay (2);
_root.missed = _root.missed + 1;
_root.hitz = 1;
}
if (_root._currentframe == 3) {
_parent.nextFrame();
}
}
Symbol 581 MovieClip Frame 3
removeMovieClip("");
Symbol 584 Button
on (press) {
gotoAndPlay (2);
_root.score = _root.score + 5;
}
Symbol 586 MovieClip Frame 1
stop();
Symbol 586 MovieClip Frame 4
_parent.gotoAndPlay(3);
Symbol 587 MovieClip Frame 1
stop();
Symbol 587 MovieClip Frame 2
stop();
Instance of Symbol 586 MovieClip in Symbol 587 MovieClip Frame 2
onClipEvent (load) {
_root.hitn = 0;
this._alpha = 0;
}
onClipEvent (enterFrame) {
this._y = this._y - _root.speedn;
this._rotation = this._rotation - 5;
if (this._y <= -90) {
this._alpha = 100;
}
if ((this._y <= -380) && (_root.hitn == 0)) {
gotoAndPlay (2);
_root.missed = _root.missed + 1;
_root.hitn = 1;
}
if (_root._currentframe == 3) {
_parent.nextFrame();
}
}
Symbol 587 MovieClip Frame 3
removeMovieClip("");
Symbol 591 MovieClip Frame 24
_root.time--;
Symbol 602 Button
on (release) {
_root.prevFrame();
}
Symbol 609 Button
on (release) {
this.play();
}
Symbol 611 Button
on (release) {
gotoAndPlay (71);
}
Symbol 613 Button
on (release) {
for (d in _root) {
removeMovieClip(_root[d]);
}
for (d in _root) {
delete _root[d];
}
_root.gotoAndStop("NCMenu");
}
Symbol 652 MovieClip Frame 128
this._parent._parent.Spit.gotoAndPlay(1);
this._parent._x = _root.mouth;
Symbol 662 MovieClip Frame 1
this._parent._parent.Spit.gotoAndPlay(1);
this._parent._x = _root.mouth;
Symbol 662 MovieClip Frame 9
this._parent.spitting = false;
this._parent.gotoAndStop(1);
Symbol 668 MovieClip Frame 1
this._parent._parent.Spit.gotoAndPlay(1);
this._parent._x = _root.mouth;
Symbol 668 MovieClip Frame 9
this._parent.spitting = false;
this._parent.longspit = false;
this._parent.gotoAndStop(1);
Symbol 669 MovieClip Frame 1
stop();
Instance of Symbol 669 MovieClip "Hero" in Symbol 673 MovieClip Frame 1
onClipEvent (load) {
_root.points = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(37) and (!spitting)) {
this._x = this._x - 6;
this._parent.Spit._x = this._parent.Spit._x - 6;
this._xscale = 100;
this._parent.Spit._xscale = 100;
}
if (Key.isDown(39) and (!spitting)) {
this._x = this._x + 6;
this._parent.Spit._x = this._parent.Spit._x + 6;
this._xscale = -100;
this._parent.Spit._xscale = -100;
}
if (Key.isDown(32) and (!spitting)) {
this.gotoAndStop(2);
spitting = true;
}
if (Key.isDown(17) and (!spitting)) {
this.gotoAndStop(3);
spitting = true;
longspit = true;
}
}
Instance of Symbol 677 MovieClip in Symbol 678 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
inglordish = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.Spit) and (!inglordish)) and _root.Spit._visible) {
inglordish = true;
_root.points = _root.points + 200;
_root.attachMovie("jpipointup", "P" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:250, _y:50});
}
}
Instance of Symbol 677 MovieClip in Symbol 680 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
spat = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.Spit) and (!spat)) and _root.Spit._visible) {
spat = true;
_root.points = _root.points - 100;
_root.attachMovie("jpipointdown", "P" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:250, _y:50});
}
}
Instance of Symbol 677 MovieClip in Symbol 682 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
_root.tomdish = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.Spit) and (!_root.tomdish)) and _root.Spit._visible) {
_root.tomdish = true;
_root.points = _root.points + 100;
_root.attachMovie("jpipointup2", "P" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:250, _y:50});
}
}
Symbol 687 Button
on (release) {
play();
}
Symbol 688 MovieClip Frame 1
stop();
Symbol 688 MovieClip Frame 70
_root.nextFrame();
Symbol 688 MovieClip Frame 91
stop();
Symbol 688 MovieClip Frame 111
this.gotoAndStop(1);
Instance of Symbol 677 MovieClip in Symbol 692 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
spat = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.Spit) and (!spat)) and _root.Spit._visible) {
spat = true;
_root.points = _root.points + 100;
_root.attachMovie("jpipointup2", "P" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:250, _y:50});
}
}
Instance of Symbol 677 MovieClip in Symbol 694 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
spat = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.Spit) and (!spat)) and _root.Spit._visible) {
spat = true;
_root.points = _root.points + 200;
_root.attachMovie("jpipointup", "P" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:250, _y:50});
}
}
Instance of Symbol 677 MovieClip in Symbol 698 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
spat = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.Spit) and (!spat)) and _root.Spit._visible) {
spat = true;
_root.points = _root.points + 200;
_root.attachMovie("jpipointup", "P" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:250, _y:50});
}
}
Instance of Symbol 677 MovieClip in Symbol 700 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
spat = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.Spit) and (!spat)) and _root.Spit._visible) {
spat = true;
_root.points = _root.points + 100;
_root.attachMovie("jpipointup2", "P" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:250, _y:50});
}
}
Instance of Symbol 677 MovieClip in Symbol 702 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
spat = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.Spit) and (!spat)) and _root.Spit._visible) {
spat = true;
_root.points = _root.points - 100;
_root.attachMovie("jpipointdown", "P" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:250, _y:50});
}
}
Instance of Symbol 677 MovieClip in Symbol 704 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
spat = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.Spit) and (!spat)) and _root.Spit._visible) {
spat = true;
_root.points = _root.points - 100;
_root.attachMovie("jpipointdown", "P" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:250, _y:50});
}
}
Instance of Symbol 677 MovieClip in Symbol 706 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
spat = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.Spit) and (!spat)) and _root.Spit._visible) {
spat = true;
_root.points = _root.points + 100;
_root.attachMovie("jpipointup2", "P" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:250, _y:50});
}
}
Instance of Symbol 677 MovieClip in Symbol 708 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
spat = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.Spit) and (!spat)) and _root.Spit._visible) {
spat = true;
_root.points = _root.points - 100;
_root.attachMovie("jpipointdown", "P" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:250, _y:50});
}
}
Instance of Symbol 677 MovieClip in Symbol 710 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
spat = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.Spit) and (!spat)) and _root.Spit._visible) {
spat = true;
_root.points = _root.points + 100;
_root.attachMovie("jpipointup2", "P" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:250, _y:50});
}
}
Instance of Symbol 677 MovieClip in Symbol 712 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
spat = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.Spit) and (!spat)) and _root.Spit._visible) {
spat = true;
_root.points = _root.points + 100;
_root.attachMovie("jpipointup2", "P" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:250, _y:50});
}
}
Instance of Symbol 677 MovieClip in Symbol 714 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
spat = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.Spit) and (!spat)) and _root.Spit._visible) {
spat = true;
_root.points = _root.points - 100;
_root.attachMovie("jpipointdown", "P" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:250, _y:50});
}
}
Instance of Symbol 677 MovieClip in Symbol 716 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
spat = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.Spit) and (!spat)) and _root.Spit._visible) {
spat = true;
_root.points = _root.points - 100;
_root.attachMovie("jpipointdown", "P" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:250, _y:50});
}
}
Instance of Symbol 677 MovieClip in Symbol 718 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
spat = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.Spit) and (!spat)) and _root.Spit._visible) {
spat = true;
_root.points = _root.points + 100;
_root.attachMovie("jpipointup2", "P" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:250, _y:50});
}
}
Instance of Symbol 677 MovieClip in Symbol 720 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
spat = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.Spit) and (!spat)) and _root.Spit._visible) {
spat = true;
_root.points = _root.points - 100;
_root.attachMovie("jpipointdown", "P" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:250, _y:50});
}
}
Instance of Symbol 677 MovieClip in Symbol 722 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
spat = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.Spit) and (!spat)) and _root.Spit._visible) {
spat = true;
_root.points = _root.points + 100;
_root.attachMovie("jpipointup2", "P" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:250, _y:50});
}
}
Instance of Symbol 677 MovieClip in Symbol 724 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
spat = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.Spit) and (!spat)) and _root.Spit._visible) {
spat = true;
_root.points = _root.points + 100;
_root.attachMovie("jpipointup2", "P" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:250, _y:50});
}
}
Instance of Symbol 677 MovieClip in Symbol 726 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
spat = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.Spit) and (!spat)) and _root.Spit._visible) {
spat = true;
_root.points = _root.points - 100;
_root.attachMovie("jpipointdown", "P" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:250, _y:50});
}
}
Instance of Symbol 677 MovieClip in Symbol 730 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
spat = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.Spit) and (!spat)) and _root.Spit._visible) {
spat = true;
_root.points = _root.points + 100;
_root.attachMovie("jpipointup2", "P" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:250, _y:50});
}
}
Instance of Symbol 677 MovieClip in Symbol 732 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
spat = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.Spit) and (!spat)) and _root.Spit._visible) {
spat = true;
_root.points = _root.points + 200;
_root.attachMovie("jpipointup", "P" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:250, _y:50});
}
}
Instance of Symbol 677 MovieClip in Symbol 734 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
spat = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.Spit) and (!spat)) and _root.Spit._visible) {
spat = true;
_root.points = _root.points + 200;
_root.attachMovie("jpipointdown", "P" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:250, _y:50});
}
}
Instance of Symbol 677 MovieClip in Symbol 736 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
inglordish = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.Spit) and (!inglordish)) and _root.Spit._visible) {
inglordish = true;
_root.points = _root.points + 200;
_root.attachMovie("jpipointup", "P" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:250, _y:50});
}
}
Instance of Symbol 677 MovieClip in Symbol 738 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
spat = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.Spit) and (!spat)) and _root.Spit._visible) {
spat = true;
_root.points = _root.points - 100;
_root.attachMovie("jpipointdown", "P" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:250, _y:50});
}
}
Instance of Symbol 677 MovieClip in Symbol 740 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
spat = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.Spit) and (!spat)) and _root.Spit._visible) {
spat = true;
_root.points = _root.points + 100;
_root.attachMovie("jpipointup2", "P" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:250, _y:50});
}
}
Instance of Symbol 677 MovieClip in Symbol 742 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
spat = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.Spit) and (!spat)) and _root.Spit._visible) {
spat = true;
_root.points = _root.points + 100;
_root.attachMovie("jpipointup2", "P" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:250, _y:50});
}
}
Instance of Symbol 677 MovieClip in Symbol 744 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
spat = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.Spit) and (!spat)) and _root.Spit._visible) {
spat = true;
_root.points = _root.points - 100;
_root.attachMovie("jpipointdown", "P" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:250, _y:50});
}
}
Instance of Symbol 677 MovieClip in Symbol 746 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
spat = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.Spit) and (!spat)) and _root.Spit._visible) {
spat = true;
_root.points = _root.points + 100;
_root.attachMovie("jpipointup2", "P" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:250, _y:50});
}
}
Instance of Symbol 677 MovieClip in Symbol 748 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
spat = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.Spit) and (!spat)) and _root.Spit._visible) {
spat = true;
_root.points = _root.points - 100;
_root.attachMovie("jpipointdown", "P" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:250, _y:50});
}
}
Instance of Symbol 677 MovieClip in Symbol 750 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
spat = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.Spit) and (!spat)) and _root.Spit._visible) {
spat = true;
_root.points = _root.points + 200;
_root.attachMovie("jpipointup", "P" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:250, _y:50});
}
}
Instance of Symbol 677 MovieClip in Symbol 752 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
spat = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.Spit) and (!spat)) and _root.Spit._visible) {
spat = true;
_root.points = _root.points - 100;
_root.attachMovie("jpipointdown", "P" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:250, _y:50});
}
}
Instance of Symbol 677 MovieClip in Symbol 754 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
spat = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.Spit) and (!spat)) and _root.Spit._visible) {
spat = true;
_root.points = _root.points + 100;
_root.attachMovie("jpipointup2", "P" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:250, _y:50});
}
}
Instance of Symbol 677 MovieClip in Symbol 756 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
spat = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.Spit) and (!spat)) and _root.Spit._visible) {
spat = true;
_root.points = _root.points - 100;
_root.attachMovie("jpipointdown", "P" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:250, _y:50});
}
}
Instance of Symbol 677 MovieClip in Symbol 758 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
spat = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.Spit) and (!spat)) and _root.Spit._visible) {
spat = true;
_root.points = _root.points + 100;
_root.attachMovie("jpipointup2", "P" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:250, _y:50});
}
}
Instance of Symbol 677 MovieClip in Symbol 760 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
spat = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.Spit) and (!spat)) and _root.Spit._visible) {
spat = true;
_root.points = _root.points + 100;
_root.attachMovie("jpipointup2", "P" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:250, _y:50});
}
}
Instance of Symbol 677 MovieClip in Symbol 762 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
spat = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.Spit) and (!spat)) and _root.Spit._visible) {
spat = true;
_root.points = _root.points - 100;
_root.attachMovie("jpipointdown", "P" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:250, _y:50});
}
}
Instance of Symbol 677 MovieClip in Symbol 764 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
_root.tomdish = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.Spit) and (!_root.tomdish)) and _root.Spit._visible) {
_root.tomdish = true;
_root.points = _root.points + 100;
_root.attachMovie("jpipointup2", "P" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:250, _y:50});
}
}
Instance of Symbol 677 MovieClip in Symbol 766 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
spat = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.Spit) and (!spat)) and _root.Spit._visible) {
spat = true;
_root.points = _root.points + 100;
_root.attachMovie("jpipointup2", "P" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:250, _y:50});
}
}
Instance of Symbol 677 MovieClip in Symbol 768 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
spat = false;
}
onClipEvent (enterFrame) {
if ((this.hitTest(_root.Spit) and (!spat)) and _root.Spit._visible) {
spat = true;
_root.points = _root.points - 100;
_root.attachMovie("jpipointdown", "P" + _root.getNextHighestDepth(), _root.getNextHighestDepth(), {_x:250, _y:50});
}
}
Symbol 774 MovieClip Frame 7
stop();
Symbol 777 MovieClip Frame 7
this._parent.gotoAndStop(1);
Symbol 778 MovieClip Frame 1
stop();
Symbol 778 MovieClip Frame 2
stop();
Symbol 780 Button
on (release) {
for (d in _root) {
removeMovieClip(_root[d]);
}
for (d in _root) {
delete _root[d];
}
gotoAndStop ("NCMenu");
}
Symbol 788 Button
on (release) {
_root.prevFrame();
}
Symbol 789 MovieClip Frame 1
stop();
Instance of Symbol 787 MovieClip in Symbol 789 MovieClip Frame 25
onClipEvent (enterFrame) {
if (Key.isDown(13)) {
_root.gotoAndStop(7);
}
}
Symbol 789 MovieClip Frame 41
this.stop();
Symbol 802 Button
on (release) {
_root.gotoAndStop("Instructions");
}
Symbol 807 Button
on (release) {
_root.gotoAndStop("Ready");
}
Symbol 815 Button
on (press) {
if (_quality == "HIGH") {
_quality = "MEDIUM";
} else if (_quality == "MEDIUM") {
_quality = "LOW";
} else if (_quality == "LOW") {
_quality = "HIGH";
}
}
Symbol 831 Button
on (release) {
for (d in _root) {
removeMovieClip(_root[d]);
}
for (d in _root) {
delete _root[d];
}
gotoAndStop ("NCMenu");
}
Symbol 837 Button
on (release) {
_root.gotoAndStop("More2");
}
Symbol 842 Button
on (release) {
_root.prevFrame();
}
Instance of Symbol 853 MovieClip in Symbol 856 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(random(this._totalframes) + 1);
}
Instance of Symbol 854 MovieClip in Symbol 856 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(random(this._totalframes) + 1);
}
Instance of Symbol 855 MovieClip in Symbol 856 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(random(this._totalframes) + 1);
}
Symbol 864 MovieClip Frame 120
_root.nextFrame();
Symbol 866 MovieClip Frame 2000
_root.gotoAndStop("Winn");
Symbol 868 MovieClip Frame 1
stop();
Symbol 868 MovieClip Frame 2
stop();
Symbol 868 MovieClip Frame 90
_root.nextFrame();
Symbol 878 MovieClip Frame 1
stop();
Symbol 878 MovieClip Frame 2
stop();
Symbol 878 MovieClip Frame 3
stop();
Symbol 878 MovieClip Frame 4
stop();
Symbol 878 MovieClip Frame 5
stop();
Symbol 879 MovieClip Frame 1
stop();
Symbol 879 MovieClip Frame 26
stop();
Fly = 1;
Symbol 886 MovieClip Frame 100
stop();
Symbol 892 Button
on (release) {
gotoAndStop ("Neashir_game");
}
Symbol 897 Button
on (release) {
_root.gotoAndStop("Ready");
}
Symbol 910 Button
on (release) {
var i = 0;
while (i < 10) {
_root["ob" + i].removeMovieClip();
i++;
}
_root.play();
_root.menuMC.removeMovieClip();
}
Symbol 916 Button
on (release) {
for (d in _root) {
removeMovieClip(_root[d]);
}
for (d in _root) {
delete _root[d];
}
_root.gotoAndStop("NCMenu");
}
Symbol 921 Button
on (release) {
getURL ("http://www.claxor.com", _blank);
}
Symbol 941 MovieClip Frame 1
_root.attachMovie("c_foot", "c_foot" + _root.footPrint, 450000 + (_root.footPrint++));
_root["c_foot" + _root.footPrint]._x = _root.claxor_santaW._x + _parent.c_footP._x;
_root["c_foot" + _root.footPrint]._y = _root.claxor_santaW._y + _parent.c_footP._y;
_root["c_foot" + _root.footPrint].gotoAndStop(2);
_root["c_foot" + _root.footPrint].onEnterFrame = function () {
if (_root.game) {
this._x = this._x - (_root.speed * 0.3);
((this._x < ((-this._width) / 2)) ? (this.removeMovieClip()) : 0);
}
};
((_root.footPrint > 100) ? ((_root.footPrint = 0)) : 0);
Symbol 941 MovieClip Frame 300
_root.attachMovie("c_foot", "c_foot" + _root.footPrint, 450000 + (_root.footPrint++));
_root["c_foot" + _root.footPrint]._x = _root.claxor_santaW._x + _parent.c_footP._x;
_root["c_foot" + _root.footPrint]._y = _root.claxor_santaW._y + _parent.c_footP._y;
_root["c_foot" + _root.footPrint].gotoAndStop(2);
_root["c_foot" + _root.footPrint].onEnterFrame = function () {
if (_root.game) {
this._x = this._x - (_root.speed * 0.3);
((this._x < ((-this._width) / 2)) ? (this.removeMovieClip()) : 0);
}
};
((_root.footPrint > 100) ? ((_root.footPrint = 0)) : 0);
Symbol 943 MovieClip Frame 45
_root.jump = false;
_root.jC = 0;
_parent.gotoAndStop(1);
Symbol 944 MovieClip Frame 85
_root.fall = false;
_parent.gotoAndStop(1);
Symbol 945 MovieClip Frame 1
stop();
Instance of Symbol 941 MovieClip "claxor_santa" in Symbol 945 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Symbol 945 MovieClip Frame 2
stop();
Symbol 945 MovieClip Frame 3
stop();
Instance of Symbol 950 MovieClip "distBar" in Symbol 953 MovieClip Frame 1
onClipEvent (load) {
this.x = this._x;
}
Symbol 965 Button
on (release) {
_root.claxor_santaW.removeMovieClip();
var i = 0;
while (i < 100) {
_root["ob" + i].removeMovieClip();
i++;
}
var i = 0;
while (i < 100) {
_root["c_foot" + i].removeMovieClip();
i++;
}
_root["rock" + _root.jR].removeMovieClip();
_root.gotoAndStop("claxor_menu");
_root.scoreOut.removeMovieClip();
}
Symbol 971 Button
on (release) {
_root.claxor_santaW.removeMovieClip();
var i = 0;
while (i < 100) {
_root["ob" + i].removeMovieClip();
i++;
}
var i = 0;
while (i < 100) {
_root["c_foot" + i].removeMovieClip();
i++;
}
_root["rock" + _root.jR].removeMovieClip();
_root.gotoAndStop("NCMenu");
_root.scoreOut.removeMovieClip();
}
Symbol 988 MovieClip Frame 1
stop();
Symbol 988 MovieClip Frame 2
stop();
Symbol 1025 MovieClip Frame 1
stop();
Symbol 1025 MovieClip Frame 2
if (_root.rAmmo == 0) {
_root.attachMovie("bulletT-H", "bulletT-H" + ii, ii);
_root["bulletT-H" + ii].xplus = Math.cos(_parent._rotation * (Math.PI/180)) * 20;
_root["bulletT-H" + ii].yplus = Math.sin(_parent._rotation * (Math.PI/180)) * 20;
_root["bulletT-H" + ii]._x = _root.gunArm._x - (_root["bulletT-H" + ii].xplus * 2);
_root["bulletT-H" + ii]._y = _root.gunArm._y - (_root["bulletT-H" + ii].yplus * 2);
_root["bulletT-H" + ii]._rotation = _parent._rotation;
_root["bulletT-H" + ii].side = _root.santa_mc.side;
_root["bulletT-H" + ii].onEnterFrame = function () {
this._x = this._x - this.xplus;
this._y = this._y - this.yplus;
((((this._x < 0) || (this._x > 550)) || (this._y < 0)) ? (this.removeMovieClip()) : 0);
i = 0;
while (i < (_root.cE.length + 9)) {
var _local4 = _root.cE[i];
var _local3 = _root.cP[i];
if (this.hitTest(_root[_local4])) {
delete this.onEnterFrame;
this._rotation = random(360);
this.gotoAndPlay("hit");
_root[_local4].energy = _root[_local4].energy - 1;
}
if (this.hitTest(_root[_local3])) {
this.removeMovieClip();
_root[_local3].play();
}
i++;
}
if (!this.hitTest(_root.ground_mc)) {
} else {
delete this.onEnterFrame;
(this._rotation = random(360));
(this.gotoAndPlay("ground"));// not popped
}
};
((ii == 230) ? ((ii = 201)) : (++ii));
} else {
_root.attachMovie("bullet2T-H", "bulletT-H" + ii, ii);
_root["bulletT-H" + ii].xplus = Math.cos(_parent._rotation * (Math.PI/180)) * 20;
_root["bulletT-H" + ii].yplus = Math.sin(_parent._rotation * (Math.PI/180)) * 20;
_root["bulletT-H" + ii]._x = _root.gunArm._x - (_root["bulletT-H" + ii].xplus * 2);
_root["bulletT-H" + ii]._y = _root.gunArm._y - (_root["bulletT-H" + ii].yplus * 2);
_root["bulletT-H" + ii]._rotation = _parent._rotation;
_root["bulletT-H" + ii].side = _root.santa_mc.side;
_root["bulletT-H" + ii].onEnterFrame = function () {
this._x = this._x - this.xplus;
this._y = this._y - this.yplus;
((((this._x < 0) || (this._x > 550)) || (this._y < 0)) ? (this.removeMovieClip()) : 0);
i = 0;
while (i < (_root.cE.length + 9)) {
var _local4 = _root.cE[i];
var _local3 = _root.cP[i];
if (this.hitTest(_root[_local4])) {
delete this.onEnterFrame;
this._rotation = random(360);
this.gotoAndPlay("hit");
_root[_local4].energy = _root[_local4].energy - 3;
}
if (this.hitTest(_root[_local3])) {
this.removeMovieClip();
_root[_local3].play();
}
i++;
}
if (!this.hitTest(_root.ground_mc)) {
} else {
delete this.onEnterFrame;
(this._rotation = random(360));
(this.gotoAndPlay("ground"));// not popped
}
};
((ii == 230) ? ((ii = 201)) : (++ii));
_root.rAmmo--;
}
Instance of Symbol 1025 MovieClip "gun" in Symbol 1026 MovieClip Frame 1
onClipEvent (load) {
var ii = 201;
}
Symbol 1043 MovieClip Frame 5
stop();
Symbol 1044 MovieClip Frame 1
stop();
Instance of Symbol 1029 MovieClip in Symbol 1044 MovieClip Frame 1
onClipEvent (enterFrame) {
((_root._ymouse > _parent._y) ? (_rotation = 3535) : (_rotation = 1010));
((_root._ymouse < (_parent._y - 40)) ? (_rotation = -20-20) : 0);
}
Symbol 1044 MovieClip Frame 14
gotoAndPlay (2);
Symbol 1051 Button
on (release) {
clearInterval(_root.snowI);
for (i in _root) {
clearInterval(_root[i].playy);
_root[i].removeMovieClip();
delete _root[i];
}
_root.gotoAndStop("T-H");
}
Symbol 1054 Button
on (release) {
name = _root.username;
score = _root.score;
game = "Defend the north pole";
loadVariables ("http://www.ninja-chicken.com/postScoreXXNC.php", this, "POST");
getURL ("http://www.ninja-chicken.com/viewScoreXMAS.php?game=" + game, "_blank");
this.enabled = false;
_root.score = 0;
}
Symbol 1069 Button
on (release) {
for (d in _root) {
removeMovieClip(_root[d]);
}
for (d in _root) {
delete _root[d];
}
gotoAndStop ("NCMenu");
}
Symbol 1078 MovieClip Frame 20
stop();
Symbol 1078 MovieClip Frame 40
_parent.gotoAndStop(1);
Symbol 1080 MovieClip Frame 20
stop();
Symbol 1080 MovieClip Frame 40
_parent.gotoAndStop(1);
Symbol 1081 MovieClip Frame 1
stop();
Symbol 1130 MovieClip Frame 13
_root.snowballs = _root.snowballs - 1;
Instance of Symbol 1114 MovieClip "snowball" in Symbol 1130 MovieClip Frame 25
onClipEvent (enterFrame) {
if (this.hitTest(_root.snowmen)) {
_root.snowmen._alpha = _root.snowmen._alpha - 10;
this.removeMovieClip();
this._alpha = 0;
}
}
Symbol 1130 MovieClip Frame 37
_parent.gotoAndStop(1);
Symbol 1144 MovieClip Frame 8
_root.snowballs = _root.snowballs - 1;
Instance of Symbol 1114 MovieClip "snowball" in Symbol 1144 MovieClip Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.snowmen)) {
_root.snowmen._alpha = _root.snowmen._alpha - 10;
this.removeMovieClip();
this._alpha = 0;
}
}
Instance of Symbol 1114 MovieClip "snowball" in Symbol 1144 MovieClip Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.snowmen)) {
_root.snowmen._alpha = _root.snowmen._alpha - 10;
this.removeMovieClip();
this._alpha = 0;
}
}
Symbol 1144 MovieClip Frame 32
_parent.gotoAndStop(1);
Symbol 1155 MovieClip Frame 8
_root.snowballs = _root.snowballs - 1;
Instance of Symbol 1114 MovieClip "snowball" in Symbol 1155 MovieClip Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.snowmen)) {
_root.snowmen._alpha = _root.snowmen._alpha - 10;
this.removeMovieClip();
this._alpha = 0;
}
}
Symbol 1155 MovieClip Frame 29
_parent.gotoAndStop(1);
Symbol 1156 MovieClip Frame 1
_root.Ready = true;
stop();
Instance of Symbol 1103 MovieClip "wall" in Symbol 1156 MovieClip Frame 1
onClipEvent (enterFrame) {
this.swapDepths(999999999);
if (_root.rock2.hitTest(this)) {
_root.rock2.removeMovieClip();
_root.rock2._alpha = 0;
_root.health = _root.health - 5;
}
}
Symbol 1156 MovieClip Frame 2
_root.Ready = false;
Symbol 1156 MovieClip Frame 3
_root.Ready = false;
Instance of Symbol 1161 MovieClip in Symbol 1162 MovieClip Frame 20
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.health = _root.health - 0.002;
this._alpha = 0;
}
if (this.hitTest(_root.hero) && (this._alpha <= 50)) {
}
}
Instance of Symbol 1161 MovieClip in Symbol 1162 MovieClip Frame 40
onClipEvent (enterFrame) {
if (this.hitTest(_root.hero)) {
_root.health = _root.health - 0.0002;
this._alpha = 0;
}
if (this.hitTest(_root.hero) && (this._alpha <= 50)) {
}
}
Instance of Symbol 1162 MovieClip "shooter2" in Symbol 1165 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.hero.hero_ball1.snowball.hitTest(this) || (_root.hero.hero_ball2.snowball.hitTest(this))) || (_root.hero.hero_ball3.snowball.hitTest(this))) {
_parent._alpha = _parent._alpha - 10;
_root.hero.hero_ball1.snowball._alpha = 0;
_root.hero.hero_ball2.snowball._alpha = 0;
_root.hero.hero_ball3.snowball._alpha = 0;
if (this._alpha <= 10) {
_root.score = _root.score + 100;
}
}
if (this.hitTest(_root.hero)) {
_root.health = _root.health - 5;
}
if (_root.attackd.hitTest(this)) {
_parent._alpha = _parent._alpha - 10;
}
}
Instance of Symbol 1162 MovieClip "shooter1" in Symbol 1165 MovieClip Frame 90
onClipEvent (enterFrame) {
if ((_root.hero.hero_ball1.snowball.hitTest(this) || (_root.hero.hero_ball2.snowball.hitTest(this))) || (_root.hero.hero_ball3.snowball.hitTest(this))) {
_parent._alpha = _parent._alpha - 10;
_root.hero.hero_ball1.snowball._alpha = 0;
_root.hero.hero_ball2.snowball._alpha = 0;
_root.hero.hero_ball3.snowball._alpha = 0;
if (this._alpha <= 10) {
_root.score = _root.score + 100;
}
}
if (_root.attackd.hitTest(this)) {
_parent._alpha = _parent._alpha - 10;
}
}
Instance of Symbol 1162 MovieClip "shooter2" in Symbol 1165 MovieClip Frame 213
onClipEvent (enterFrame) {
if ((_root.hero.hero_ball1.snowball.hitTest(this) || (_root.hero.hero_ball2.snowball.hitTest(this))) || (_root.hero.hero_ball3.snowball.hitTest(this))) {
_parent._alpha = _parent._alpha - 10;
_root.hero.hero_ball1.snowball._alpha = 0;
_root.hero.hero_ball2.snowball._alpha = 0;
_root.hero.hero_ball3.snowball._alpha = 0;
if (this._alpha <= 10) {
_root.score = _root.score + 100;
}
}
if (_root.attackd.hitTest(this)) {
_parent._alpha = _parent._alpha - 10;
}
}
Instance of Symbol 1162 MovieClip "shooter3" in Symbol 1165 MovieClip Frame 351
onClipEvent (enterFrame) {
if ((_root.hero.hero_ball1.snowball.hitTest(this) || (_root.hero.hero_ball2.snowball.hitTest(this))) || (_root.hero.hero_ball3.snowball.hitTest(this))) {
_parent._alpha = _parent._alpha - 10;
_root.hero.hero_ball1.snowball._alpha = 0;
_root.hero.hero_ball2.snowball._alpha = 0;
_root.hero.hero_ball3.snowball._alpha = 0;
if (this._alpha <= 10) {
_root.score = _root.score + 100;
}
}
if (_root.attackd.hitTest(this)) {
_parent._alpha = _parent._alpha - 10;
}
}
Instance of Symbol 1162 MovieClip "shooter1" in Symbol 1165 MovieClip Frame 458
onClipEvent (enterFrame) {
if ((_root.hero.hero_ball1.snowball.hitTest(this) || (_root.hero.hero_ball2.snowball.hitTest(this))) || (_root.hero.hero_ball3.snowball.hitTest(this))) {
_parent._alpha = _parent._alpha - 10;
_root.hero.hero_ball1.snowball._alpha = 0;
_root.hero.hero_ball2.snowball._alpha = 0;
_root.hero.hero_ball3.snowball._alpha = 0;
if (this._alpha <= 10) {
_root.score = _root.score + 100;
}
}
if (_root.attackd.hitTest(this)) {
_parent._alpha = _parent._alpha - 10;
}
}
Instance of Symbol 1162 MovieClip "shooter3" in Symbol 1165 MovieClip Frame 574
onClipEvent (enterFrame) {
if ((_root.hero.hero_ball1.snowball.hitTest(this) || (_root.hero.hero_ball2.snowball.hitTest(this))) || (_root.hero.hero_ball3.snowball.hitTest(this))) {
_parent._alpha = _parent._alpha - 10;
_root.hero.hero_ball1.snowball._alpha = 0;
_root.hero.hero_ball2.snowball._alpha = 0;
_root.hero.hero_ball3.snowball._alpha = 0;
if (this._alpha <= 10) {
_root.score = _root.score + 100;
}
}
if (_root.attackd.hitTest(this)) {
_parent._alpha = _parent._alpha - 10;
}
}
Instance of Symbol 1162 MovieClip in Symbol 1165 MovieClip Frame 674
onClipEvent (enterFrame) {
if (_root.score == 25) {
if ((_root.hero.hero_ball1.snowball.hitTest(this) || (_root.hero.hero_ball2.snowball.hitTest(this))) || (_root.hero.hero_ball3.snowball.hitTest(this))) {
_parent._alpha = _parent._alpha - 10;
_root.hero.hero_ball1.snowball._alpha = 0;
_root.hero.hero_ball2.snowball._alpha = 0;
_root.hero.hero_ball3.snowball._alpha = 0;
if (this._alpha <= 10) {
_root.score = _root.score + 100;
}
}
if (_root.attackd.hitTest(this)) {
this._alpha = this._alpha - 5;
if (this._alpha <= 10) {
_root.score = _root.score + 100;
}
}
}
}
Instance of Symbol 1162 MovieClip "shooter2" in Symbol 1165 MovieClip Frame 701
onClipEvent (enterFrame) {
if ((_root.hero.hero_ball1.snowball.hitTest(this) || (_root.hero.hero_ball2.snowball.hitTest(this))) || (_root.hero.hero_ball3.snowball.hitTest(this))) {
_parent._alpha = _parent._alpha - 10;
_root.hero.hero_ball1.snowball._alpha = 0;
_root.hero.hero_ball2.snowball._alpha = 0;
_root.hero.hero_ball3.snowball._alpha = 0;
if (this._alpha <= 10) {
_root.score = _root.score + 100;
}
}
if (_root.attackd.hitTest(this)) {
_parent._alpha = _parent._alpha - 10;
}
}
Symbol 1176 MovieClip Frame 9
stop();
Symbol 1198 MovieClip Frame 88
_root.score == 100;
_root.health = 10000;
_root.win.play();
_root.duper.stop();
_root.duper.swapDepths(79797878797);
_root.duper.removeMovieClip();
_root.duper2.stop();
_root.duper2.swapDepths(79797878798);
_root.duper2.removeMovieClip();
_root.duper3.stop();
_root.duper3.swapDepths(79797878799);
_root.duper3.removeMovieClip();
_root.duper4.stop();
_root.duper4.swapDepths(1E16);
_root.duper4.removeMovieClip();
_root.reindeer2.removeMovieClip();
_root.snowman.removeMovieClip();
_root.peng.removeMovieClip();
_root.pingu.removeMovieClip();
_root.reindeer.swapDepths(1E20);
_root.reindeer.removeMovieClip();
Symbol 1198 MovieClip Frame 89
stop();
_root.santa._y = -10000;
Symbol 1199 MovieClip Frame 1
stop();
Instance of Symbol 1165 MovieClip "shooters" in Symbol 1199 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._alpha <= 5) {
this._alpha = 0;
_root.santa.gotoAndStop(2);
}
}
Symbol 1206 MovieClip Frame 8
_root.health = _root.health - 5;
Symbol 1206 MovieClip Frame 10
stop();
_root.duper2.play();
Symbol 1207 MovieClip Frame 1
stop();
Symbol 1221 MovieClip Frame 25
_parent.gotoAndStop(1);
Symbol 1228 MovieClip Frame 7
_root.health = _root.health - 5;
Symbol 1228 MovieClip Frame 19
_parent.gotoAndStop(1);
Symbol 1229 MovieClip Frame 1
stop();
Symbol 1231 MovieClip Frame 16
_root.snowmen.duplicateMovieClip("snowman", 1337);
_root.snowman._x = 580;
_root.snowman._y = 280;
_root.snowman._alpha = 100;
Symbol 1231 MovieClip Frame 17
gotoAndStop (1);
Symbol 1232 MovieClip Frame 34
_root.penguin.duplicateMovieClip("peng", 100);
_root.peng._y = 244.2;
_root.peng._x = 600;
_root.peng._alpha = 100;
Symbol 1232 MovieClip Frame 35
stop();
Symbol 1233 MovieClip Frame 39
_root.penguin2.duplicateMovieClip("pingu", 1005);
_root.pingu._y = 244.2;
_root.pingu._x = 700;
_root.pingu._alpha = 100;
Symbol 1233 MovieClip Frame 40
stop();
Symbol 1234 MovieClip Frame 8
_root.health = _root.health - 5;
Symbol 1234 MovieClip Frame 10
stop();
_root.duper3.play();
Symbol 1235 MovieClip Frame 1
stop();
Symbol 1245 MovieClip Frame 1
_root.Special = false;
stop();
Symbol 1245 MovieClip Frame 100
_parent.gotoAndStop(2);
Symbol 1248 MovieClip Frame 1
stop();
Special = false;
Symbol 1248 MovieClip Frame 2
stop();
Special = true;
Symbol 1249 MovieClip Frame 1
stop();
Symbol 1249 MovieClip Frame 38
_root.specbar.gotoAndStop(1);
Symbol 1263 MovieClip Frame 34
_parent.gotoAndStop(1);
Symbol 1264 MovieClip Frame 1
stop();
Symbol 1265 MovieClip Frame 1
stop();
Symbol 1265 MovieClip Frame 129
_root.reindeer.duplicateMovieClip("reindeer2", 8000);
_root.reindeer2._x = 700;
_root.reindeer2._y = -0.7;
_root.reindeer2._alpha = 100;
Symbol 1268 MovieClip Frame 11
stop();
Symbol 1279 Button
on (release) {
_root.gotoAndStop("blaze_menu");
}
Symbol 1280 MovieClip Frame 8
stop();
Symbol 1281 MovieClip Frame 1
stop();
Symbol 1281 MovieClip Frame 35
stop();
Symbol 1285 Button
on (release) {
_root.gotoAndStop("blaze_menu");
}
Symbol 1286 MovieClip Frame 8
stop();
Symbol 1287 MovieClip Frame 1
stop();
Symbol 1287 MovieClip Frame 35
stop();
Symbol 1297 Button
on (release) {
for (d in _root) {
removeMovieClip(_root[d]);
}
for (d in _root) {
delete _root[d];
}
gotoAndStop ("NCMenu");
}
Symbol 1306 MovieClip Frame 1
stop();
Symbol 1306 MovieClip Frame 2
stop();
Symbol 1311 MovieClip Frame 20
stop();
Symbol 1314 MovieClip Frame 20
stop();
Symbol 1317 MovieClip Frame 20
stop();
Symbol 1320 MovieClip Frame 20
stop();
Symbol 1333 MovieClip Frame 6
this._parent.gotoAndStop(4);
Symbol 1335 MovieClip Frame 7
if (!this._parent.working) {
this._parent.gotoAndStop(1);
}
Symbol 1336 MovieClip Frame 1
stop();
Symbol 1345 MovieClip Frame 21
this._parent.gotoAndStop(4);
Symbol 1351 MovieClip Frame 3
if ((!this._parent.working) && (!this._parent.contwork)) {
this._parent.gotoAndStop(1);
}
Symbol 1359 MovieClip Frame 10
this._parent.gotoAndStop(4);
Symbol 1365 MovieClip Frame 3
if (!this._parent.working) {
this._parent.gotoAndStop(1);
}
Symbol 1366 MovieClip Frame 1
stop();
Symbol 1383 MovieClip Frame 17
this._parent.gotoAndStop(4);
Symbol 1385 MovieClip Frame 11
if (!this._parent.working) {
this._parent.gotoAndStop(1);
}
Symbol 1386 MovieClip Frame 1
stop();
Symbol 1391 MovieClip Frame 1
stop();
Symbol 1397 MovieClip Frame 1
stop();
Symbol 1451 Button
on (release) {
_root.gotoAndStop("NC_MENU_GAME");
}