Frame 1
function 4(16, 9) {
getURL ("http://armorgames.com", "_blank");
}
function 5(16, 9) {
getURL ("http://planetbob.net/flash", "_blank");
}
function 6(16, 9) {
getURL ("http://www.rustygames.com/", "_blank");
}
function 7(16, 9) {
getURL ("http://newgrounds.com/", "_blank");
}
root_cm = new ContextMenu();
root_cm.hideBuiltInItems();
a_cmi = new ContextMenuItem("Play More Games!", 4);
b_cmi = new ContextMenuItem("Denvish Designs", 5);
c_cmi = new ContextMenuItem("Rusty Games", 6);
d_cmi = new ContextMenuItem("Newgrounds", 7);
b_cmi.separatorBefore = true;
root_cm.customItems.push(a_cmi, b_cmi, c_cmi, d_cmi);
_root.menu = root_cm;
_root.s = new Sound();
_root.s.attachSound("atb");
_root.s.setVolume(100);
Instance of Symbol 29 MovieClip in Frame 1
on (press) {
getURL ("http://armorgames.com", "_blank");
}
Frame 2
function 11() {
13();
loadVariables ((l11l + lI11) + ".asp", hst);
}
function 13() {
_root.createEmptyMovieClip("hst", 999999);
with (hst) {
beginFill(0, 50);
moveTo(0, 0);
lineTo(SW, 0);
lineTo(SW, SH);
lineTo(0, SH);
lineTo(0, 0);
endFill();
beginFill(0, 60);
lineStyle(0, 16777215, 80);
moveTo(10, 10);
lineTo(SW - 10, 10);
lineTo(SW - 10, SH - 10);
lineTo(10, SH - 10);
lineTo(10, 10);
endFill();
beginFill(16777164, 100);
moveTo(273, 10);
lineTo(277, 10);
lineTo(277, SH - 10);
lineTo(273, SH - 10);
lineTo(273, 10);
endFill();
i = 10;
while (i < ((SH - 10) - 1)) {
moveTo(10, i);
lineTo(SW - 10, i);
i = i + ((SH - 20) / 27);
}
hsa = new Array(10, 40, 190, 273, 277, 307, 457, 540);
hsn = new Array("#", "player", "score", "", "#", "player", "score");
m = 0;
while (m < (hsa.length - 1)) {
((m > 3) ? ((krt = 500)) : ((krt = 400)));
hst.createTextField(hsn[m] + krt, (m * 50) + krt, hsa[m], 9.2, hsa[m + 1] - hsa[m], 15);
with (hst[hsn[m] + krt]) {
text = hsn[m].toUpperCase();
setTextFormat(tTF);
}
m++;
}
m = 0;
while (m < (hsa.length - 1)) {
krt = 0;
if (m > 3) {
krt = krt + 25;
}
t = (SH - 20) / 27;
i = 10 + (2 * t);
while (i < ((SH - 10) - 1)) {
krt++;
hst.createTextField(hsn[m] + krt, (m * 50) + krt, hsa[m], i - 0.6, hsa[m + 1] - hsa[m], t * 2);
with (hst[hsn[m] + krt]) {
text = "WAIT";
if ((m == 0) || (m == 4)) {
text = krt;
}
setTextFormat(sTF);
}
i = i + t;
}
moveTo(hsa[m + 1], 10);
lineTo(hsa[m + 1], SH - 10);
m++;
}
}
hst.onPress = function () {
this._visible = 0;
};
hst.onData = function () {
mi = 1;
while (mi < 51) {
this["player" + mi].text = this["inplayer" + mi];
this["score" + mi].text = this["inscore" + mi];
this["player" + mi].setTextFormat(sTF);
this["score" + mi].setTextFormat(sTF);
mi++;
}
};
}
function 14() {
pausey = 1;
_root.attachMovie("submitscore", "SS", 999996);
SS._x = SW / 2;
SS._y = 310;
if (score > wboscore) {
SS.gotoAndStop(1);
} else if (score > stlscore) {
SS.gotoAndStop(2);
} else if (score > pbscore) {
SS.gotoAndStop(3);
} else {
SS.gotoAndStop(4);
}
if (score > 20.data.score) {
20.data.score = score;
20.flush();
}
SS.sit.onSetFocus = function () {
this.text = "";
};
SS.submit.onPress = function () {
if (_root.uT2005._x == undefined) {
yscore = _root.score;
yplayer = SS.sit.text;
loadVariablesNum ((l11l + ll1I) + ".asp", 0, "POST");
SS.sit.text = "SENDING DATA...";
pauseit = setInterval(function () {
_root.19();
_root.gotoAndStop(3);
_root.18();
clearInterval(pauseit);
}, 4000);
}
};
}
function 18() {
SS.removeMovieClip();
11();
hst._visible = 1;
}
function 21() {
var good = 1;
if (_root._url.substr(0, 7) == "file://") {
if (!aloc) {
good = 0;
}
}
if (!good) {
_root.gotoAndStop(1);
_root.createEmptyMovieClip("block", 900000);
with (block) {
beginFill(16738047, 100);
moveTo(0, 0);
lineTo(SW, 0);
lineTo(SW, SH);
lineTo(0, SH);
lineTo(0, 0);
endFill();
createTextField("gy", 1, 0, 170, SW, SH);
gy.selectable = 0;
gy.text = "MAKE YOUR OWN GAME\r\rDON'T STEAL MINE";
gy.setTextFormat(sTF);
}
}
}
function 1() {
lI11 = 0;
i = C2.length - 1;
while (i > 0) {
lI11 = lI11 + (C2[i] + P2[i]);
i--;
}
C3 = new Array();
llI1 = 1;
i = 0;
while (i < 1000) {
llI1++;
if (llI1 > 89) {
llI1 = 1;
}
C3.push(llI1);
i++;
}
llI1 = 7;
i = 0;
while (i < 1000) {
llI1 = llI1 * C3[i];
i = i + 133;
}
gtr = new Array();
l11l = "";
while (P1.length > 0) {
f = P1.length;
gtr.splice(P1[f - 1], 0, P1.slice(f - 2, f - 1));
P1.splice(f - 2, 2);
}
i = 0;
while (i < gtr.length) {
l11l = l11l + gtr[i];
i++;
}
gi8 = new LoadVars();
gi8.onData = function (_arg1) {
tn = _arg1;
I1il = "";
ll1I = "";
l1Il = "";
IIl1 = "";
i = 102;
while (i <= 6000) {
I1il = I1il + tn.substr(i, 2);
i = i + 469;
}
i = 247;
while (i <= 6000) {
ll1I = ll1I + tn.substr(i, 2);
i = i + 284;
}
i = 567;
while (i <= 6000) {
l1Il = l1Il + tn.substr(i, 2);
i = i + 339;
}
i = 23;
while (i <= 6000) {
IIl1 = IIl1 + tn.substr(i, 1);
i = i + 64;
}
};
gi8.load((l11l + lI11) + ".txt");
}
aloc = 0;
SH = 450;
SW = Stage.width;
musicon = 1;
sfxon = 1;
System.security.allowDomain("http://mymarilyn.net", "http://uploads.ungrounded.net", "http://ungrounded.net", "http://newgrounds.com");
C2 = new Array(15790320, 16763904, 16444006, 12583014, 3625454, 11153679);
P1 = new Array("n", "23", "d", "31", "i", "32", "r", "24", "j", "40", "t", "19", "t", "2", ".", "15", "e", "16", "/", "23", "h", "0", "l", "16", "y", "6", "9", "34", "w", "22", "t", "23", "i", "9", "/", "24", "l", "9", "n", "16", "f", "30", "n", "10", "t", "0", "/", "10", "r", "18", "6", "19", "j", "21", "a", "6", "i", "9", "/", "22", "e", "15", "s", "16", "/", "2", "u", "15", "s", "16", "m", "4", "m", "10", "/", "2", "/", "7", "n", "9", "i", "8", "m", "2", "w", "8", "d", "7", "g", "6", "k", "6", "r", "2", "y", "2", ":", "1", "n", "1", "e", "1", "p", "0");
P2 = new Array("ph", "9r", "4T", "dh", "lf", "gx");
sTF = new TextFormat();
with (sTF) {
color = 16777164 /* 0xFFFFCC */;
font = "Tahoma";
size = 10;
bold = 1;
align = "center";
}
tTF = new TextFormat();
with (tTF) {
color = 16777215 /* 0xFFFFFF */;
font = "Tahoma";
size = 10;
bold = 1;
align = "center";
}
C1 = new Array("0xFF0000", "0xFFFFFF", "0xFFFF00", "0x00FF00");
21();
1();
11();
hst._visible = 0;
Instance of Symbol 41 MovieClip "mc" in Frame 2
onClipEvent (load) {
_root.stop();
plsw = _width;
endw = 3664.3;
}
onClipEvent (enterFrame) {
var bytes = _root.getBytesTotal();
var bytes_loaded = _root.getBytesLoaded();
kbl = int(bytes_loaded / 1024);
kbt = int(bytes / 1024);
percent = (bytes_loaded / bytes) * 100;
pc = int(percent);
_root.plpc = ((((pc + "% LOADED - ") + kbl) + " OF ") + kbt) + " KB";
if (bytes_loaded == bytes) {
_root.gotoAndStop(3);
} else {
_root.plbar._xscale = percent;
_root.plborder._alpha = 100 - percent;
_width = (plsw + ((percent * percent) / ((endw - plsw) / 1250)));
_height = (_width * 1.13);
}
}
Instance of Symbol 50 MovieClip in Frame 3
on (press) {
_root.gotoAndPlay(4);
}
Instance of Symbol 70 MovieClip in Frame 3
/* no clip actions */
Frame 4
function 19() {
Key.removeListener(kl);
Mouse.show();
stopAllSounds();
fader.removeMovieClip();
santa.removeMovieClip();
lamps.removeMovieClip();
lifebar.removeMovieClip();
bcharge.removeMovieClip();
sc.removeMovieClip();
opt.removeMovieClip();
i = 1000;
while (i < 1101) {
_root["sb" + i].removeMovieClip();
i++;
}
i = 4000;
while (i < 4011) {
_root["star" + i].removeMovieClip();
i++;
}
i = 7000;
while (i < 7101) {
_root["boyo" + i].removeMovieClip();
i++;
}
i = 7000;
while (i < 7101) {
_root["gboy" + i].removeMovieClip();
i++;
}
i = 1;
while (i < 151) {
_root["hs" + i].removeMovieClip();
i++;
}
i = 0;
while (i < 11) {
_root["p" + i].removeMovieClip();
i++;
}
clearInterval(pung);
clearInterval(pong);
clearInterval(ping);
clearInterval(pang);
clearInterval(plang);
clearInterval(mboy);
clearInterval(scLU);
scrollspeed = 0;
outof = 0;
ltc = 0;
}
var 20 = SharedObject.getLocal("mission");
oldscore = 20.data.score;
pbscore = 20.data.score;
if (20.data.score == undefined) {
oldscore = 0;
pbscore = 0;
20.data.score = 0;
20.flush();
}
stopAllSounds();
if (_root.musicon) {
_root.sfx.gotoAndPlay(20);
}
sb1cost = 1;
sb2cost = 1;
sb3cost = 1;
cost = 0;
ep = 0;
epu = 0;
epincr = 500;
pausey = 1;
21();
Instance of Symbol 73 MovieClip in Frame 4
onClipEvent (load) {
this.swapDepths(999995);
}
on (press) {
getURL ("http://armorgames.com", "_blank");
}
Frame 5
i = 1;
while (i <= 30) {
duplicateMovieClip (snow, "sn" + i, i + 7000);
FACTOR = random(50) + 50;
this["sn" + i]._x = random(SW);
this["sn" + i]._y = random(SH);
this["sn" + i]._xscale = FACTOR;
this["sn" + i]._yscale = FACTOR;
this["sn" + i]._alpha = FACTOR;
this["sn" + i].speed = 3 + ((FACTOR - 42) / 9.3);
this["sn" + i].WIND = 2;
this["sn" + i].onEnterFrame = function () {
if (!_root.opt._visible) {
with (this) {
_x = _x + WIND;
_y = _y + speed;
if (_x > (_root.SW + 5)) {
_x = -5;
}
if (_x < -5) {
_x = _root.SW + 5;
}
if (_y > (_root.SH + 25)) {
if (_root._currentframe == 5) {
_y = -5;
} else {
this.removeMovieClip();
}
}
}
}
};
i++;
}
function 8() {
sbc = 1000;
gravity = 0.4;
bd = 7000;
ip = 0;
pausey = 0;
hno = 1;
outof = 0;
Mouse.hide();
cop = 2;
droppo = 0;
bmax = 250;
score = 0;
level = 0;
sb1cost = 1;
sb2cost = 1;
sb3cost = 1;
cost = 0;
OS = 0;
ltc = 0;
won = 0;
maxsc = 0;
epu = 0;
ep = 0;
10();
12();
throgap = 150;
hitdmg = 30;
scrollspeed = 3;
flife = 50;
life = 50;
dint = 1000;
hsscr = 450;
bint = 1;
bfull = 0;
maxboys = 1;
leveltime = 200;
}
function 15() {
level++;
hsscr = hsscr + 50;
leveltime = leveltime + 20;
if (throgap > 50) {
throgap = throgap - 5;
}
if (hitdmg < 75) {
hitdmg = hitdmg + 3;
}
if (scrollspeed < 11) {
scrollspeed = scrollspeed + 0.3;
}
life = flife;
if (maxboys < 10) {
maxboys = maxboys + 0.5;
}
}
function 3() {
if (_root.level > 20) {
score = score + (100000 + (1000 * _root.ep));
won = 1;
}
if (score > 20.data.score) {
20.data.score = score;
20.flush();
}
Mouse.show();
stopAllSounds();
if (_root.musicon) {
_root.sfx.gotoAndPlay(22);
}
pausey = 1;
fader._visible = 1;
fader.gotoAndPlay(2);
}
opt._visible = 0;
stop();
Instance of Symbol 473 MovieClip "opt" in Frame 5
onClipEvent (load) {
this.swapDepths(999994);
}
Frame 6
function 10() {
plang = setInterval(function () {
if (!_root.pausey) {
ltc++;
}
if (ltc > leveltime) {
ltc = 0;
15();
if (_root.level > 30) {
clearInterval(plang);
_root.3();
} else {
sc.LU._visible = 1;
scLU = setInterval(function () {
sc.LU._visible = 0;
clearInterval(scLU);
}, 3000);
}
}
}, 100);
}
function 12() {
mboy = setInterval(function () {
if (!_root.pausey) {
bcount = 0;
for (i in _root) {
if (i.substr(0, 4) == "boyo") {
bcount++;
}
}
for (i in _root) {
if (i.substr(0, 4) == "gboy") {
bcount++;
}
}
if (bcount < maxboys) {
2();
}
}
}, 5000);
}
function 2() {
bd++;
if (bd > 7500) {
bd = 7000;
}
btype = random(3) + 1;
if (!_root.santa.dead) {
attachMovie("bboy" + btype, "boyo" + bd, bd);
_root["boyo" + bd].cacheAsBitmap = true;
_root["boyo" + bd]._height = 50;
_root["boyo" + bd]._width = 20;
_root["boyo" + bd]._xscale = _root["boyo" + bd]._xscale * -1;
_root["boyo" + bd]._y = (SH - (_root["boyo" + bd]._height / 2)) - 25;
_root["boyo" + bd].startX = (_root["boyo" + bd]._x = Stage.width + _root["boyo" + bd]._width);
_root["boyo" + bd].spd = random(3) + 3;
_root["boyo" + bd].gud = 0;
_root["boyo" + bd].dir = 1;
_root["boyo" + bd].maxdev = 100;
_root["boyo" + bd].st = 0;
_root["boyo" + bd].thro = random(throgap * 0.33) + (throgap * 0.66);
_root["boyo" + bd].sbuv = -(random(8) + 10);
_root["boyo" + bd].damage = random(hitdmg * 0.33) + (hitdmg * 0.66);
_root["boyo" + bd].onEnterFrame = function () {
if (!_root.pausey) {
with (this) {
st++;
startX = startX - (_root.scrollspeed / 5);
if (gud) {
if (_currentframe < 70) {
_x = _x - _root.scrollspeed;
} else {
if (dir) {
_x = _x + spd;
if (_x > (startX + maxdev)) {
dir = 0;
_x = _x - spd;
_xscale = _xscale * -1;
}
} else {
_x = _x - (_root.scrollspeed + spd);
if (_x < (startX - maxdev)) {
dir = 1;
_x = _x + spd;
_xscale = _xscale * -1;
}
}
if (st > thro) {
st = 0;
}
if (_x < 0) {
_root.2();
this.removeMovieClip();
}
}
} else {
if (dir) {
if (_currentframe < 30) {
_x = _x + spd;
}
if (_x > (startX + maxdev)) {
dir = 0;
_x = _x - spd;
_xscale = _xscale * -1;
gotoAndPlay(50);
}
} else {
if (_currentframe < 30) {
_x = _x - (_root.scrollspeed + spd);
}
if (_x < (startX - maxdev)) {
dir = 1;
_x = _x + spd;
_xscale = _xscale * -1;
gotoAndPlay(50);
}
}
if ((st > thro) && (_currentframe < 30)) {
st = 0;
gotoAndPlay(30);
}
if (_x < 0) {
_root.2();
this.removeMovieClip();
}
}
}
}
};
}
}
onEnterFrame = function () {
ep = Math.floor(score / epincr) - epu;
if ((!_root.pausey) && (_currentframe > 4)) {
if (_root._ymouse > 275) {
_root.outof = 1;
Mouse.show();
} else if (_root.outof) {
_root.outof = 0;
Mouse.hide();
}
if (bfull < bmax) {
bfull = bfull + (bint / 10);
santa.bcsan._visible = 0;
sc.good.gotoAndStop(1);
} else {
bfull = bmax;
santa.bcsan._visible = 1;
sc.good.gotoAndStop(2);
santa.charged = 1;
}
if (hno == 1) {
ph = 150;
} else {
ph = hno - 1;
}
if ((_root["hs" + ph]._x < (Stage.width - (_root["hs" + ph]._width * 0.4))) || (_root["hs" + ph]._x == undefined)) {
htype = random(11) + 1;
attachMovie("h" + htype, "hs" + hno, hno + 700);
if (htype < 11) {
_root["hs" + hno]._width = 85;
_root["hs" + hno]._height = 140;
} else {
_root["hs" + hno]._width = 150;
_root["hs" + hno]._height = 70;
}
_root["hs" + hno]._x = Stage.width + (_root["hs" + hno]._width * 0.5);
_root["hs" + hno]._y = 415;
_root["hs" + hno].cacheAsBitmap = true;
_root["hs" + hno].bombed = 0;
_root["hs" + hno].onEnterFrame = function () {
if (!_root.pausey) {
this._x = this._x - _root.scrollspeed;
if (this._x < ((-this._width) / 2)) {
this.removeMovieClip();
}
}
};
hno++;
if (hno > 150) {
hno = 1;
}
}
stlscore = hst.score50.text;
wboscore = hst.score1.text;
if (score > wboscore) {
sthscore = score;
} else {
sthscore = wboscore;
sthname = hst.player1.text;
}
if (score > oldscore) {
oldscore = score;
}
if (score > pbscore) {
pbscore = score;
}
if (score <= 0) {
score = 0;
}
if (!(sc._x === undefined)) {
with (sc) {
ub.text = "YOUR BEST: " + oldscore;
cs.text = "CURRENT SCORE: " + score;
sep.text = "ELF POINTS: " + ep;
li.text = "LEVEL: " + level;
if (score > wboscore) {
wb.text = "CHAMPION: YOU - " + sthscore;
} else {
wb.text = (("CHAMPION: " + sthname) + " - ") + sthscore;
}
}
}
}
};
onMouseDown = function () {
if (((!_root.pausey) && (fader._currentframe < fader._totalframes)) && (!santa.falling)) {
if (!droppo) {
droppo = 1;
ip++;
if (ip > 10) {
ip = 0;
}
duplicateMovieClip ("potion", "p" + ip, ip + 3000);
santa.gotoAndPlay(2);
_root["p" + ip]._x = santa._x;
_root["p" + ip]._y = santa._y + 5;
_root["p" + ip].drop = 1;
_root["p" + ip].dhit = 0;
_root["p" + ip]._rotation = random(80) - 40;
_root["p" + ip].cp = _root.cop;
if (_root.cop == 1) {
_root["p" + ip].gotoAndStop(_root.cop);
} else {
_root["p" + ip].gotoAndStop(random(3) + 2);
}
_root["p" + ip].cacheAsBitmap = true;
_root["p" + ip].onEnterFrame = function () {
if (!_root.pausey) {
with (this) {
if (drop < 10) {
drop = drop + _root.gravity;
}
if (!dhit) {
_y = _y + drop;
} else {
_x = _x - _root.scrollspeed;
}
if (_y > _root.SH) {
this.removeMovieClip();
}
}
}
};
pung = setInterval(function () {
droppo = 0;
clearInterval(pung);
}, dint);
}
}
};
kl = new Object();
kl.onKeyDown = function () {
if (Key.getCode() == 90) {
if (santa.charged) {
if (_root.sfxon) {
_root.sfx.gotoAndPlay(11);
}
santa.charged = 0;
bfull = 0;
fag = new Array();
for (i in _root) {
if (i.substr(0, 4) == "boyo") {
fag.push(i);
}
}
fag.sort();
attachMovie("bullet", "bull", 800090);
bull._x = santa._x;
bull._y = santa._y;
bull.spd = 15;
bull.onEnterFrame = function () {
with (this) {
Xd = _root[fag[fag.length - 1]]._x - _x;
Yd = _root[fag[fag.length - 1]]._y - _y;
radAngle = Math.atan2(Yd, Xd);
_rotation = int(((radAngle * 180) / Math.PI) + 90);
if (_rotation > 180) {
_y = _y + (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x - (spd * Math.sin((Math.PI/180) * _rotation));
} else {
_y = _y - (spd * Math.cos((Math.PI/180) * _rotation));
_x = _x + (spd * Math.sin((Math.PI/180) * _rotation));
}
if (hitTest(_root[fag[fag.length - 1]])) {
if (_root.sfxon) {
_root.sfx.gotoAndPlay(12);
}
_root[fag[fag.length - 1]].gotoAndPlay(54);
_root[fag[fag.length - 1]].gud = 1;
_root[fag[fag.length - 1]]._xscale = 42.553;
_root[fag[fag.length - 1]].dir = 0;
_root.score = _root.score + 2000;
_root[fag[fag.length - 1]]._name = "gboy" + fag[fag.length - 1].substr(fag[fag.length - 1].length - 4, 4);
this.removeMovieClip();
}
}
};
}
}
if (Key.getCode() == 81) {
if ((qi++) >= 2) {
qi = 0;
}
_quality = ["HIGH", "MEDIUM", "LOW"][qi];
}
if (Key.getCode() == 67) {
_root.cop = 1;
sc.cp.gotoAndStop(1);
}
if (Key.getCode() == 88) {
_root.cop = 2;
sc.cp.gotoAndStop(4);
}
if ((Key.getCode() == 80) || (Key.getCode() == 32)) {
if (_root.pausey) {
i = 7000;
while (i < 7101) {
_root["b" + i].play();
i++;
}
_root.pausey = 0;
Mouse.hide();
_root.opt._visible = 0;
} else {
i = 7000;
while (i < 7101) {
_root["b" + i].stop();
i++;
}
_root.pausey = 1;
Mouse.show();
_root.opt._visible = 1;
_root.opt.gotoAndStop(3);
}
}
};
Key.addListener(kl);
pong = setInterval(function () {
if ((!outof) && (!pausey)) {
Mouse.hide();
}
}, 3000);
pang = setInterval(function () {
loadVariables ((l11l + lI11) + ".asp", hst);
}, 180000);
8();
15();
stop();
Instance of Symbol 477 MovieClip in Frame 6
onClipEvent (load) {
this.cacheAsBitmap = true;
}
onClipEvent (enterFrame) {
if (!_root.pausey) {
_x = (_x - _root.scrollspeed);
if (_x <= -550) {
_x = (550 - _root.scrollspeed);
}
}
}
Instance of Symbol 480 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (!_root.pausey) {
_x = (_x - (_root.scrollspeed * 0.3));
if (_x <= -550.7) {
_x = 549.3;
}
}
}
Instance of Symbol 482 MovieClip in Frame 6
onClipEvent (load) {
this.cacheAsBitmap = true;
}
onClipEvent (enterFrame) {
if (!_root.pausey) {
_x = (_x - (_root.scrollspeed * 0.5));
if (_x <= 0) {
_x = (1100 - (_root.scrollspeed * 0.5));
}
}
}
Instance of Symbol 488 MovieClip "lamps" in Frame 6
onClipEvent (load) {
this.swapDepths(975);
}
onClipEvent (enterFrame) {
if (!_root.pausey) {
_x = (_x - _root.scrollspeed);
if (_x <= -550) {
_x = (550 - _root.scrollspeed);
}
}
}
Instance of Symbol 500 MovieClip "smoke" in Frame 6
onClipEvent (enterFrame) {
if (!(this._name === "smoke")) {
_alpha = (_alpha - 5);
} else {
stop();
}
}
Instance of Symbol 567 MovieClip "santa" in Frame 6
onClipEvent (load) {
oldX = 0;
this.swapDepths(6999);
xsca = _xscale;
scnt = random(10) + 2;
si = 4000;
dvel = 2;
falling = 0;
dead = 0;
charged = 0;
this.cacheAsBitmap = true;
ocf = 0;
}
onClipEvent (enterFrame) {
if (!_root.pausey) {
if (_currentframe < 40) {
scnt--;
if (scnt < 0) {
si++;
if (si > 4010) {
si = 4000;
}
scnt = random(8) + 3;
duplicateMovieClip ("_root.asstar", "star" + si, si);
}
if ((_root._ymouse < 275) && (_root._ymouse > 12)) {
_y = _root._ymouse;
}
_x = _root._xmouse;
if (_x > oldX) {
_xscale = (-xsca);
} else if (_x < oldX) {
_xscale = xsca;
}
oldX = _x;
} else if (_currentframe > 43) {
if (!falling) {
falling = 1;
movem = _root.scrollspeed;
grnd = _root.SH - (_height * 0.3);
sss = movem / (grnd - _y);
}
if (!dead) {
dvel = dvel + (_root.gravity * 2);
if (_y > _root.SH) {
_y = (_root.SH + 300);
dead = 1;
_root.scrollspeed = 0;
gotoAndStop (51);
_root.endgame();
} else {
_root.scrollspeed = (grnd - _y) * sss;
_y = (_y + dvel);
}
}
}
}
}
Instance of Symbol 35 MovieClip [asstar] "asstar" in Frame 6
onClipEvent (load) {
if (!(this._name === "star")) {
new Color(this).setRGB(_root.C1[random(_root.C1.length)]);
this._alpha = random(30) + 60;
_x = (_root.santa._x + ((_root.santa._xscale / 16) * (random(5) + 5)));
_y = (_root.santa._y + (random(40) - 20));
_height = (random(12) + 4);
_width = (random(12) + 4);
fade = (random(9) + 1) / 3;
}
}
onClipEvent (enterFrame) {
if (!(this._name === "star")) {
if (this._alpha > 0) {
if (!_root.pausey) {
_x = (_x - (_root.scrollspeed * 0.6));
_alpha = (_alpha - fade);
}
} else {
this.removeMovieClip();
}
}
}
Instance of Symbol 585 MovieClip "lifebar" in Frame 6
onClipEvent (load) {
this.swapDepths(6500);
}
onClipEvent (enterFrame) {
if (!_root.pausey) {
if ((!(ol === _root.life)) || (!(_root.changelife === 0))) {
_root.changelife = 0;
FF = _root.flife / 2;
FL = _root.life;
clear();
beginFill(8912896, 50);
moveTo(-FF, -5);
lineTo(FF, -5);
lineTo(FF, 5);
lineTo(-FF, 5);
lineTo(-FF, -5);
endFill();
if (_root.life > 0) {
beginFill(52224, 100);
moveTo(-FF, -4);
lineTo(FL - FF, -4);
lineTo(FL - FF, 0);
lineTo(-FF, 0);
lineTo(-FF, -4);
endFill();
beginFill(3368448, 100);
moveTo(-FF, 0);
lineTo(FL - FF, 0);
lineTo(FL - FF, 4);
lineTo(-FF, 4);
lineTo(-FF, 0);
endFill();
beginFill(16777215, 70);
moveTo(-FF, -3);
lineTo(FL - FF, -3);
lineTo(FL - FF, -1);
lineTo(-FF, -1);
lineTo(-FF, -3);
endFill();
}
beginFill(0, 100);
moveTo(-FF, -5);
lineTo(FF, -5);
lineTo(FF, 5);
lineTo(-FF, 5);
lineTo(-FF, -5);
moveTo(1 - FF, -4);
lineTo(FF - 1, -4);
lineTo(FF - 1, 4);
lineTo(1 - FF, 4);
lineTo(1 - FF, -4);
endFill();
_rotation = 270;
_x = 25;
_y = (5 + (_height / 2));
}
ol = _root.life;
}
}
Instance of Symbol 586 MovieClip "bcharge" in Frame 6
onClipEvent (load) {
this.swapDepths(6501);
full = 0;
}
onClipEvent (enterFrame) {
if (!_root.pausey) {
FF = _root.bmax / 2;
FL = _root.bfull;
if (!full) {
clear();
beginFill(0, 50);
moveTo(-FF, -5);
lineTo(FF, -5);
lineTo(FF, 5);
lineTo(-FF, 5);
lineTo(-FF, -5);
endFill();
if (_root.life > 0) {
beginFill(10040319, 100);
moveTo(-FF, -4);
lineTo(FL - FF, -4);
lineTo(FL - FF, 0);
lineTo(-FF, 0);
lineTo(-FF, -4);
endFill();
beginFill(5833137, 100);
moveTo(-FF, 0);
lineTo(FL - FF, 0);
lineTo(FL - FF, 4);
lineTo(-FF, 4);
lineTo(-FF, 0);
endFill();
beginFill(16777215, 70);
moveTo(-FF, -3);
lineTo(FL - FF, -3);
lineTo(FL - FF, -1);
lineTo(-FF, -1);
lineTo(-FF, -3);
endFill();
}
beginFill(0, 100);
moveTo(-FF, -5);
lineTo(FF, -5);
lineTo(FF, 5);
lineTo(-FF, 5);
lineTo(-FF, -5);
moveTo(1 - FF, -4);
lineTo(FF - 1, -4);
lineTo(FF - 1, 4);
lineTo(1 - FF, 4);
lineTo(1 - FF, -4);
endFill();
_rotation = 270;
_x = 10;
_y = (5 + (_height / 2));
}
if (_root.bfull <= _root.bmax) {
full = 0;
} else {
full = 1;
}
}
}
Instance of Symbol 630 MovieClip [bboy1] in Frame 6
onClipEvent (load) {
if ((this._name = "bboy1")) {
stop();
}
}
Instance of Symbol 662 MovieClip [bboy2] in Frame 6
onClipEvent (load) {
if ((this._name = "bboy2")) {
stop();
}
}
Instance of Symbol 692 MovieClip [bboy3] in Frame 6
onClipEvent (load) {
if ((this._name = "bboy3")) {
stop();
}
}
Instance of Symbol 722 MovieClip "sc" in Frame 6
onClipEvent (load) {
this.swapDepths(6998);
}
Instance of Symbol 741 MovieClip "fader" in Frame 6
onClipEvent (load) {
this.swapDepths(999960);
}
Symbol 27 MovieClip [submitscore] Frame 1
stop();
Instance of Symbol 22 MovieClip in Symbol 27 MovieClip [submitscore] Frame 3
on (press) {
_root.19();
_root.gotoAndPlay(4);
_root.SS.removeMovieClip();
}
Symbol 90 MovieClip Frame 1
stop();
Symbol 90 MovieClip Frame 2
gotoAndStop (1);
Symbol 90 MovieClip Frame 3
gotoAndStop (1);
Symbol 90 MovieClip Frame 4
gotoAndStop (1);
Symbol 90 MovieClip Frame 5
gotoAndStop (1);
Symbol 90 MovieClip Frame 6
gotoAndStop (1);
Symbol 90 MovieClip Frame 7
gotoAndStop (1);
Symbol 90 MovieClip Frame 8
gotoAndStop (1);
Symbol 90 MovieClip Frame 9
gotoAndStop (1);
Symbol 90 MovieClip Frame 10
gotoAndStop (1);
Symbol 90 MovieClip Frame 11
gotoAndStop (1);
Symbol 90 MovieClip Frame 12
gotoAndStop (1);
Symbol 90 MovieClip Frame 13
gotoAndStop (1);
Symbol 90 MovieClip Frame 14
gotoAndStop (1);
Symbol 90 MovieClip Frame 15
gotoAndStop (1);
Symbol 90 MovieClip Frame 16
gotoAndStop (1);
Symbol 90 MovieClip Frame 17
gotoAndStop (1);
Symbol 90 MovieClip Frame 18
gotoAndStop (1);
Symbol 90 MovieClip Frame 19
gotoAndStop (1);
Symbol 90 MovieClip Frame 20
gotoAndStop (1);
Symbol 90 MovieClip Frame 21
gotoAndStop (1);
Symbol 90 MovieClip Frame 22
gotoAndStop (1);
Symbol 90 MovieClip Frame 23
gotoAndStop (1);
Symbol 90 MovieClip Frame 24
gotoAndStop (1);
Symbol 90 MovieClip Frame 25
gotoAndStop (1);
Symbol 90 MovieClip Frame 26
gotoAndStop (1);
Symbol 90 MovieClip Frame 27
gotoAndStop (1);
Symbol 90 MovieClip Frame 28
gotoAndStop (1);
Symbol 90 MovieClip Frame 29
gotoAndStop (1);
Symbol 90 MovieClip Frame 30
gotoAndStop (1);
Symbol 90 MovieClip Frame 31
gotoAndStop (1);
Symbol 90 MovieClip Frame 32
gotoAndStop (1);
Symbol 90 MovieClip Frame 33
gotoAndStop (1);
Symbol 90 MovieClip Frame 34
gotoAndStop (1);
Symbol 90 MovieClip Frame 35
gotoAndStop (1);
Symbol 90 MovieClip Frame 36
gotoAndStop (1);
Instance of Symbol 100 MovieClip in Symbol 266 MovieClip Frame 1
on (press) {
_parent.gotoAndStop(230);
}
Symbol 266 MovieClip Frame 230
stop();
Instance of Symbol 238 MovieClip in Symbol 266 MovieClip Frame 230
on (press) {
i = 1;
while (i <= 31) {
_root["sn" + i].removeMovieClip();
i++;
}
_root.play();
stopAllSounds();
if (_root.musicon) {
_root.sfx.gotoAndPlay(21);
}
_root.intro.removeMovieClip();
}
Instance of Symbol 253 MovieClip in Symbol 266 MovieClip Frame 230
on (press) {
_root.opt._visible = 1;
_root.intro._visible = 0;
_root.opt.gotoAndStop(2);
}
Instance of Symbol 260 MovieClip in Symbol 266 MovieClip Frame 230
on (press) {
_root.opt._visible = 1;
_root.intro._visible = 0;
_root.opt.gotoAndStop(5);
}
Instance of Symbol 265 MovieClip in Symbol 266 MovieClip Frame 230
on (press) {
_root.opt._visible = 1;
_root.intro._visible = 0;
_root.opt.gotoAndStop(3);
}
Symbol 303 MovieClip Frame 31
stop();
Symbol 308 MovieClip Frame 31
stop();
Symbol 309 MovieClip [h4] Frame 1
stop();
Instance of Symbol 29 MovieClip in Symbol 309 MovieClip [h4] Frame 1
onClipEvent (enterFrame) {
i = 0;
while (i < 10) {
if (this.hitTest(_root["p" + i]) && (_root["p" + i]._currentframe < 9)) {
_root["p" + i].dhit = 1;
if (_root["p" + i].cp == 1) {
if ((random(5) == 1) && (_root.sfxon)) {
_root.sfx.gotoAndPlay(random(2) + 9);
}
_parent.hss = int(random(_root.hsscr * 0.4) + (_root.hsscr * 0.6));
if (_root.sfxon) {
_root.sfx.gotoAndPlay(14);
}
_root.score = _root.score + _parent.hss;
_root["p" + i].gotoAndPlay(30);
_parent.gotoAndStop(2);
} else {
_parent.hss = -int(random(_root.hsscr * 0.2) + (_root.hsscr * 0.4));
if (_root.sfxon) {
_root.sfx.gotoAndPlay(15);
}
_root.score = _root.score + _parent.hss;
_root["p" + i].gotoAndPlay(10);
_parent.gotoAndStop(3);
}
this.swapDepths(888888);
this.removeMovieClip();
}
i++;
}
}
Symbol 324 MovieClip [h3] Frame 1
stop();
Instance of Symbol 29 MovieClip in Symbol 324 MovieClip [h3] Frame 1
onClipEvent (enterFrame) {
i = 0;
while (i < 10) {
if (this.hitTest(_root["p" + i]) && (_root["p" + i]._currentframe < 9)) {
_root["p" + i].dhit = 1;
if (_root["p" + i].cp == 1) {
if ((random(5) == 1) && (_root.sfxon)) {
_root.sfx.gotoAndPlay(random(2) + 9);
}
if (_root.sfxon) {
_root.sfx.gotoAndPlay(14);
}
_parent.hss = int(random(_root.hsscr * 0.4) + (_root.hsscr * 0.6));
_root.score = _root.score + _parent.hss;
_root["p" + i].gotoAndPlay(30);
_parent.gotoAndStop(2);
} else {
_parent.hss = -int(random(_root.hsscr * 0.2) + (_root.hsscr * 0.4));
if (_root.sfxon) {
_root.sfx.gotoAndPlay(15);
}
_root.score = _root.score + _parent.hss;
_root["p" + i].gotoAndPlay(10);
_parent.gotoAndStop(3);
}
this.swapDepths(888888);
this.removeMovieClip();
}
i++;
}
}
Symbol 336 MovieClip [h1] Frame 1
stop();
Instance of Symbol 29 MovieClip in Symbol 336 MovieClip [h1] Frame 1
onClipEvent (enterFrame) {
i = 0;
while (i < 10) {
if (this.hitTest(_root["p" + i]) && (_root["p" + i]._currentframe < 9)) {
_root["p" + i].dhit = 1;
if (_root["p" + i].cp == 1) {
_parent.hss = int(random(_root.hsscr * 0.4) + (_root.hsscr * 0.6));
if ((random(5) == 1) && (_root.sfxon)) {
_root.sfx.gotoAndPlay(random(2) + 9);
}
if (_root.sfxon) {
_root.sfx.gotoAndPlay(14);
}
_root.score = _root.score + _parent.hss;
_root["p" + i].gotoAndPlay(30);
_parent.gotoAndStop(2);
} else {
_parent.hss = -int(random(_root.hsscr * 0.2) + (_root.hsscr * 0.4));
if (_root.sfxon) {
_root.sfx.gotoAndPlay(15);
}
_root.score = _root.score + _parent.hss;
_root["p" + i].gotoAndPlay(10);
_parent.gotoAndStop(3);
}
this.swapDepths(888888);
this.removeMovieClip();
}
i++;
}
}
Symbol 343 MovieClip [h2] Frame 1
stop();
Instance of Symbol 29 MovieClip in Symbol 343 MovieClip [h2] Frame 1
onClipEvent (enterFrame) {
i = 0;
while (i < 10) {
if (this.hitTest(_root["p" + i]) && (_root["p" + i]._currentframe < 9)) {
_root["p" + i].dhit = 1;
if (_root["p" + i].cp == 1) {
_parent.hss = int(random(_root.hsscr * 0.4) + (_root.hsscr * 0.6));
if ((random(5) == 1) && (_root.sfxon)) {
_root.sfx.gotoAndPlay(random(2) + 9);
}
if (_root.sfxon) {
_root.sfx.gotoAndPlay(14);
}
_root.score = _root.score + _parent.hss;
_root["p" + i].gotoAndPlay(30);
_parent.gotoAndStop(2);
} else {
_parent.hss = -int(random(_root.hsscr * 0.2) + (_root.hsscr * 0.4));
if (_root.sfxon) {
_root.sfx.gotoAndPlay(15);
}
_root.score = _root.score + _parent.hss;
_root["p" + i].gotoAndPlay(10);
_parent.gotoAndStop(3);
}
this.swapDepths(888888);
this.removeMovieClip();
}
i++;
}
}
Symbol 351 MovieClip [h8] Frame 1
stop();
Instance of Symbol 29 MovieClip in Symbol 351 MovieClip [h8] Frame 1
onClipEvent (enterFrame) {
i = 0;
while (i < 10) {
if (this.hitTest(_root["p" + i]) && (_root["p" + i]._currentframe < 9)) {
_root["p" + i].dhit = 1;
if (_root["p" + i].cp == 1) {
_parent.hss = -int(random(_root.hsscr * 0.2) + (_root.hsscr * 0.4));
if (_root.sfxon) {
_root.sfx.gotoAndPlay(15);
}
_root.score = _root.score + _parent.hss;
_root["p" + i].gotoAndPlay(30);
_parent.gotoAndStop(3);
} else {
_parent.hss = int(random(_root.hsscr * 0.4) + (_root.hsscr * 0.6));
if ((random(5) == 1) && (_root.sfxon)) {
_root.sfx.gotoAndPlay(random(2) + 9);
}
if (_root.sfxon) {
_root.sfx.gotoAndPlay(14);
}
_root.score = _root.score + _parent.hss;
_root["p" + i].gotoAndPlay(10);
_parent.gotoAndStop(2);
}
this.swapDepths(888888);
this.removeMovieClip();
}
i++;
}
}
Symbol 359 MovieClip [h7] Frame 1
stop();
Instance of Symbol 29 MovieClip in Symbol 359 MovieClip [h7] Frame 1
onClipEvent (enterFrame) {
i = 0;
while (i < 10) {
if (this.hitTest(_root["p" + i]) && (_root["p" + i]._currentframe < 9)) {
_root["p" + i].dhit = 1;
if (_root["p" + i].cp == 1) {
_parent.hss = -int(random(_root.hsscr * 0.2) + (_root.hsscr * 0.4));
if (_root.sfxon) {
_root.sfx.gotoAndPlay(15);
}
_root.score = _root.score + _parent.hss;
_root["p" + i].gotoAndPlay(30);
_parent.gotoAndStop(3);
} else {
_parent.hss = int(random(_root.hsscr * 0.4) + (_root.hsscr * 0.6));
if ((random(5) == 1) && (_root.sfxon)) {
_root.sfx.gotoAndPlay(random(2) + 9);
}
if (_root.sfxon) {
_root.sfx.gotoAndPlay(14);
}
_root.score = _root.score + _parent.hss;
_root["p" + i].gotoAndPlay(10);
_parent.gotoAndStop(2);
}
this.swapDepths(888888);
this.removeMovieClip();
}
i++;
}
}
Symbol 368 MovieClip [h5] Frame 1
stop();
Instance of Symbol 29 MovieClip in Symbol 368 MovieClip [h5] Frame 1
onClipEvent (enterFrame) {
i = 0;
while (i < 10) {
if (this.hitTest(_root["p" + i]) && (_root["p" + i]._currentframe < 9)) {
_root["p" + i].dhit = 1;
if (_root["p" + i].cp == 1) {
_parent.hss = -int(random(_root.hsscr * 0.2) + (_root.hsscr * 0.4));
if (_root.sfxon) {
_root.sfx.gotoAndPlay(15);
}
_root.score = _root.score + _parent.hss;
_root["p" + i].gotoAndPlay(30);
_parent.gotoAndStop(3);
} else {
_parent.hss = int(random(_root.hsscr * 0.4) + (_root.hsscr * 0.6));
if ((random(5) == 1) && (_root.sfxon)) {
_root.sfx.gotoAndPlay(random(2) + 9);
}
if (_root.sfxon) {
_root.sfx.gotoAndPlay(14);
}
_root.score = _root.score + _parent.hss;
_root["p" + i].gotoAndPlay(10);
_parent.gotoAndStop(2);
}
this.swapDepths(888888);
this.removeMovieClip();
}
i++;
}
}
Symbol 377 MovieClip [h6] Frame 1
stop();
Instance of Symbol 29 MovieClip in Symbol 377 MovieClip [h6] Frame 1
onClipEvent (enterFrame) {
i = 0;
while (i < 10) {
if (this.hitTest(_root["p" + i]) && (_root["p" + i]._currentframe < 9)) {
_root["p" + i].dhit = 1;
if (_root["p" + i].cp == 1) {
_parent.hss = -int(random(_root.hsscr * 0.2) + (_root.hsscr * 0.4));
if (_root.sfxon) {
_root.sfx.gotoAndPlay(15);
}
_root.score = _root.score + _parent.hss;
_root["p" + i].gotoAndPlay(30);
_parent.gotoAndStop(3);
} else {
_parent.hss = int(random(_root.hsscr * 0.4) + (_root.hsscr * 0.6));
if ((random(5) == 1) && (_root.sfxon)) {
_root.sfx.gotoAndPlay(random(2) + 9);
}
if (_root.sfxon) {
_root.sfx.gotoAndPlay(14);
}
_root.score = _root.score + _parent.hss;
_root["p" + i].gotoAndPlay(10);
_parent.gotoAndStop(2);
}
this.swapDepths(888888);
this.removeMovieClip();
}
i++;
}
}
Symbol 385 MovieClip Frame 2
stop();
Symbol 390 MovieClip Frame 1
stop();
Symbol 392 Button
on (rollOver) {
voltext.gotoAndStop(2);
}
on (rollOut, dragOut, releaseOutside) {
voltext.gotoAndStop(1);
}
on (press) {
if (_root.sfxon) {
_root.sfx.gotoAndPlay(3);
}
bar._width = _xmouse;
vol = int(bar._width / 1.9);
voltext.jim = vol;
_root.s.setVolume(vol);
}
Instance of Symbol 385 MovieClip "bar" in Symbol 393 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (1);
_width = 190;
}
Symbol 410 MovieClip Frame 1
stop();
Symbol 413 MovieClip Frame 1
stop();
Symbol 416 MovieClip Frame 1
stop();
Symbol 421 MovieClip Frame 1
stop();
Instance of Symbol 437 MovieClip in Symbol 440 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(999999);
}
Instance of Symbol 439 MovieClip "dot" in Symbol 440 MovieClip Frame 1
onClipEvent (load) {
if (_name == "dot") {
this._visible = 0;
}
}
Instance of Symbol 440 MovieClip in Symbol 441 MovieClip Frame 1
onClipEvent (load) {
i = 1000;
DDC = new Array("0xFFFFFF", "0xFFCC33", "0xFFCC66", "0xFFCC00", "0xFFFFCC", "0xFFFF99", "0xFFFF66");
}
onClipEvent (enterFrame) {
if (_root.opt._visible && (_root.opt._currentframe == 5)) {
duplicateMovieClip ("dot", "dot" + i, i);
this["dot" + i]._xscale = (this["dot" + i]._yscale = random(300));
dw = this["dot" + i]._width;
this["dot" + i]._x = random(this._width - dw) - ((this._width / 2) - (dw / 2));
this["dot" + i]._y = random(this._height - dw) - ((this._height / 2) - (dw / 2));
this["dot" + i]._alpha = 0;
this["dot" + i].aup = 1;
this["dot" + i].af = (random(6) + 1) / 2;
this["dot" + i].am = random(50) + 50;
new Color(this["dot" + i]).setRGB(DDC[random(DDC.length)]);
this["dot" + i].onEnterFrame = function () {
if (_root.opt._visible && (_root.opt._currentframe == 5)) {
with (this) {
if (aup) {
if (_alpha < am) {
_alpha = _alpha + (af * 2);
} else {
aup = 0;
}
} else if (_alpha < 0) {
this.removeMovieClip();
} else {
_alpha = _alpha - af;
}
}
}
};
i++;
if (i > 2000) {
i = 1000;
}
}
}
Symbol 473 MovieClip Frame 1
stop();
Instance of Symbol 260 MovieClip in Symbol 473 MovieClip Frame 1
on (press) {
_parent.gotoAndStop(5);
if (_root.sfxon) {
_root.sfx.gotoAndPlay(3);
}
}
Instance of Symbol 253 MovieClip in Symbol 473 MovieClip Frame 1
on (press) {
_parent.gotoAndStop(2);
if (_root.sfxon) {
_root.sfx.gotoAndPlay(3);
}
}
Instance of Symbol 265 MovieClip in Symbol 473 MovieClip Frame 1
on (press) {
_parent.gotoAndStop(3);
if (_root.sfxon) {
_root.sfx.gotoAndPlay(3);
}
}
Instance of Symbol 276 MovieClip in Symbol 473 MovieClip Frame 1
on (press) {
if (_root.sfxon) {
_root.sfx.gotoAndPlay(3);
}
if (_root._currentframe > 5) {
_parent.gotoAndStop(4);
} else {
_parent.gotoAndStop(6);
}
}
Instance of Symbol 279 MovieClip in Symbol 473 MovieClip Frame 1
on (press) {
if (_root._currentframe < 6) {
_root.intro._visible = 1;
}
_parent.gotoAndStop(1);
_root.opt._visible = 0;
if (_root._currentframe > 5) {
_root.pausey = 0;
}
if (_root.sfxon) {
_root.sfx.gotoAndPlay(3);
}
}
Instance of Symbol 380 MovieClip in Symbol 473 MovieClip Frame 2
on (press) {
_parent.gotoAndStop(7);
if (_root.sfxon) {
_root.sfx.gotoAndPlay(3);
}
}
Instance of Symbol 399 MovieClip in Symbol 473 MovieClip Frame 3
on (press) {
_root.11();
if (_root.sfxon) {
_root.sfx.gotoAndPlay(3);
}
}
Instance of Symbol 403 MovieClip in Symbol 473 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.opt._visible && (_root.opt._currentframe == 3)) {
if (_root.musicon) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
}
}
on (press) {
stopAllSounds();
if (_root.sfxon) {
_root.sfx.gotoAndPlay(3);
}
if (_root.musicon) {
_root.musicon = 0;
} else {
_root.musicon = 1;
_root.sfx.gotoAndPlay(9);
}
}
Instance of Symbol 407 MovieClip in Symbol 473 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.opt._visible && (_root.opt._currentframe == 3)) {
if (_root.sfxon) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
}
}
on (press) {
if (_root.sfxon) {
_root.sfxon = 0;
} else {
_root.sfxon = 1;
}
if (_root.sfxon) {
_root.sfx.gotoAndPlay(3);
}
}
Instance of Symbol 410 MovieClip "sb2" in Symbol 473 MovieClip Frame 3
on (press) {
if (_currentframe < 2) {
if (_root.ep >= _root.sb2cost) {
if (_root.sfxon) {
_root.sfx.gotoAndPlay(3);
}
_root.epu = _root.epu + _root.sb2cost;
_root.sb2cost++;
_root.bint = _root.bint + 0.5;
}
}
}
onClipEvent (enterFrame) {
if (_root.opt._visible && (_root.opt._currentframe == 3)) {
if (_root.bint >= 20) {
_root.bint = 20;
gotoAndStop (2);
}
}
}
Instance of Symbol 413 MovieClip "sb3" in Symbol 473 MovieClip Frame 3
on (press) {
if (_currentframe < 2) {
if (_root.ep >= _root.sb3cost) {
if (_root.sfxon) {
_root.sfx.gotoAndPlay(3);
}
_root.epu = _root.epu + _root.sb3cost;
_root.sb3cost++;
_root.dint = _root.dint - 50;
}
}
}
onClipEvent (enterFrame) {
if (_root.opt._visible && (_root.opt._currentframe == 3)) {
if (_root.dint <= 0) {
_root.dint = 0;
gotoAndStop (2);
}
}
}
Instance of Symbol 416 MovieClip "sb1" in Symbol 473 MovieClip Frame 3
on (press) {
if (_currentframe < 2) {
if (_root.ep >= _root.sb1cost) {
if (_root.sfxon) {
_root.sfx.gotoAndPlay(3);
}
_root.epu = _root.epu + _root.sb1cost;
_root.sb1cost++;
_root.flife = _root.flife + 10;
_root.life = _root.flife;
_root.changelife = 1;
}
}
}
onClipEvent (enterFrame) {
if (_root.opt._visible && (_root.opt._currentframe == 3)) {
if (_root.flife >= 350) {
_root.flife = 350;
gotoAndStop (2);
}
}
}
Instance of Symbol 421 MovieClip in Symbol 473 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.pausey) {
if (_root.opt._currentframe == 3) {
if (_root.opt._visible) {
_root.currep = (("HAVE:\r" + _root.ep) + newline) + "ELF POINTS";
if (_parent.sb1.hitTest(_root._xmouse, _root._ymouse, true)) {
if (_parent.sb1._currentframe < 2) {
gotoAndStop (2);
_root.cost = (("COST\r" + _root.sb1cost) + newline) + "ELF POINTS";
} else {
_root.cost = "REACHED MAX";
}
} else if (_parent.sb2.hitTest(_root._xmouse, _root._ymouse, true)) {
if (_parent.sb2._currentframe < 2) {
gotoAndStop (3);
_root.cost = (("COST\r" + _root.sb2cost) + newline) + "ELF POINTS";
} else {
_root.cost = "REACHED MAX";
}
} else if (_parent.sb3.hitTest(_root._xmouse, _root._ymouse, true)) {
if (_parent.sb3._currentframe < 2) {
gotoAndStop (4);
_root.cost = (("COST\r" + _root.sb3cost) + newline) + "ELF POINTS";
} else {
_root.cost = "REACHED MAX";
}
} else {
gotoAndStop (1);
_root.cost = "";
}
}
}
}
}
Instance of Symbol 427 MovieClip in Symbol 473 MovieClip Frame 4
on (press) {
if (_root.sfxon) {
_root.sfx.gotoAndPlay(3);
}
_root.gotoAndStop(3);
_root.19();
}
Instance of Symbol 429 MovieClip in Symbol 473 MovieClip Frame 4
on (press) {
if (_root.sfxon) {
_root.sfx.gotoAndPlay(3);
}
_parent.gotoAndStop(1);
}
Instance of Symbol 434 MovieClip in Symbol 473 MovieClip Frame 5
on (press) {
getURL ("http://rustygames.com", "_blank");
}
Instance of Symbol 441 MovieClip in Symbol 473 MovieClip Frame 5
on (press) {
getURL ("http://planetbob.net/flash", "_blank");
}
Instance of Symbol 449 MovieClip in Symbol 473 MovieClip Frame 5
on (press) {
getURL ("http://www.rundmcmusic.com/", "_blank");
}
Instance of Symbol 451 MovieClip in Symbol 473 MovieClip Frame 5
on (press) {
getURL ("http://www.newgrounds.com/audio/view.php?id=1084370&sub=38297", "_blank");
}
Instance of Symbol 453 MovieClip in Symbol 473 MovieClip Frame 5
on (press) {
getURL ("http://www.newgrounds.com/audio/view.php?id=917347&sub=37684", "_blank");
}
Instance of Symbol 456 MovieClip in Symbol 473 MovieClip Frame 7
on (press) {
_parent.gotoAndStop(2);
if (_root.sfxon) {
_root.sfx.gotoAndPlay(3);
}
}
Symbol 500 MovieClip Frame 12
this.removeMovieClip();
Symbol 567 MovieClip Frame 1
stop();
Symbol 567 MovieClip Frame 9
gotoAndStop (1);
Symbol 567 MovieClip Frame 20
duplicateMovieClip ("_root.smoke", "dsm", 600);
_root.dsm._x = _x;
_root.dsm._y = _y;
Symbol 567 MovieClip Frame 35
gotoAndStop (1);
Symbol 567 MovieClip Frame 50
stop();
Symbol 567 MovieClip Frame 51
stop();
Symbol 584 MovieClip Frame 1
stop();
Symbol 584 MovieClip Frame 25
this.removeMovieClip();
Symbol 584 MovieClip Frame 39
this.removeMovieClip();
Symbol 630 MovieClip [bboy1] Frame 1
Symbol 630 MovieClip [bboy1] Frame 23
gotoAndPlay (10);
Symbol 630 MovieClip [bboy1] Frame 30
gotoAndPlay (31);
Symbol 630 MovieClip [bboy1] Frame 37
if (!_root.santa.falling) {
_root.sbc++;
if (_root.sbc > 1100) {
_root.sbc = 1000;
}
duplicateMovieClip ("_root.snowball", "sb" + _root.sbc, _root.sbc);
_root["sb" + _root.sbc]._y = _y - 25;
_root["sb" + _root.sbc]._x = _x - ((_xscale / 41) * 50);
_root["sb" + _root.sbc].upvel = sbuv;
_root["sb" + _root.sbc].dmg = damage;
if (dir) {
_root["sb" + _root.sbc].xvel = random(20);
} else {
_root["sb" + _root.sbc].xvel = -random(20);
}
_root["sb" + _root.sbc].onEnterFrame = function () {
if (!_root.pausey) {
with (this) {
_y = _y + upvel;
_x = _x + xvel;
upvel = upvel + _root.gravity;
if (_y > _root.SH) {
this.removeMovieClip();
}
if (hitTest(_root.santa.hzone)) {
_root.life = _root.life - dmg;
if (_root.sfxon) {
_root.sfx.gotoAndPlay(2);
}
if ((random(2) == 1) && (_root.sfxon)) {
_root.sfx.gotoAndPlay(random(5) + 4);
}
if (_root.life > 0) {
_root.santa.gotoAndPlay(20);
} else {
_root.santa.gotoAndPlay(40);
}
this.removeMovieClip();
}
}
}
};
}
Symbol 630 MovieClip [bboy1] Frame 43
gotoAndPlay (10);
Symbol 630 MovieClip [bboy1] Frame 52
gotoAndPlay (10);
Symbol 630 MovieClip [bboy1] Frame 54
gotoAndPlay (55);
Symbol 630 MovieClip [bboy1] Frame 82
gotoAndPlay (70);
Symbol 662 MovieClip [bboy2] Frame 23
gotoAndPlay (10);
Symbol 662 MovieClip [bboy2] Frame 30
gotoAndPlay (31);
Symbol 662 MovieClip [bboy2] Frame 37
_root.sbc++;
if (_root.sbc > 1100) {
_root.sbc = 1000;
}
duplicateMovieClip ("_root.snowball", "sb" + _root.sbc, _root.sbc);
_root["sb" + _root.sbc]._y = _y - 25;
_root["sb" + _root.sbc]._x = _x - ((_xscale / 41) * 50);
_root["sb" + _root.sbc].upvel = sbuv;
_root["sb" + _root.sbc].dmg = damage;
if (dir) {
_root["sb" + _root.sbc].xvel = random(20);
} else {
_root["sb" + _root.sbc].xvel = -random(20);
}
_root["sb" + _root.sbc].onEnterFrame = function () {
if (!_root.pausey) {
with (this) {
_y = _y + upvel;
_x = _x + xvel;
upvel = upvel + _root.gravity;
if (_y > _root.SH) {
this.removeMovieClip();
}
if (hitTest(_root.santa.hzone)) {
_root.life = _root.life - dmg;
if (_root.sfxon) {
_root.sfx.gotoAndPlay(2);
}
if ((random(2) == 1) && (_root.sfxon)) {
_root.sfx.gotoAndPlay(random(5) + 4);
}
if (_root.life > 0) {
_root.santa.gotoAndPlay(20);
} else {
_root.santa.gotoAndPlay(40);
}
this.removeMovieClip();
}
}
}
};
Symbol 662 MovieClip [bboy2] Frame 41
gotoAndPlay (10);
Symbol 662 MovieClip [bboy2] Frame 52
gotoAndPlay (10);
Symbol 662 MovieClip [bboy2] Frame 54
gotoAndPlay (55);
Symbol 662 MovieClip [bboy2] Frame 82
gotoAndPlay (70);
Symbol 692 MovieClip [bboy3] Frame 23
gotoAndPlay (10);
Symbol 692 MovieClip [bboy3] Frame 30
gotoAndPlay (31);
Symbol 692 MovieClip [bboy3] Frame 38
_root.sbc++;
if (_root.sbc > 1100) {
_root.sbc = 1000;
}
duplicateMovieClip ("_root.snowball", "sb" + _root.sbc, _root.sbc);
_root["sb" + _root.sbc]._y = _y - 25;
_root["sb" + _root.sbc]._x = _x - ((_xscale / 41) * 50);
_root["sb" + _root.sbc].upvel = sbuv;
_root["sb" + _root.sbc].dmg = damage;
if (dir) {
_root["sb" + _root.sbc].xvel = random(20);
} else {
_root["sb" + _root.sbc].xvel = -random(20);
}
_root["sb" + _root.sbc].onEnterFrame = function () {
if (!_root.pausey) {
with (this) {
_y = _y + upvel;
_x = _x + xvel;
upvel = upvel + _root.gravity;
if (_y > _root.SH) {
this.removeMovieClip();
}
if (hitTest(_root.santa.hzone)) {
_root.life = _root.life - dmg;
if (_root.sfxon) {
_root.sfx.gotoAndPlay(2);
}
if ((random(2) == 1) && (_root.sfxon)) {
_root.sfx.gotoAndPlay(random(5) + 4);
}
if (_root.life > 0) {
_root.santa.gotoAndPlay(20);
} else {
_root.santa.gotoAndPlay(40);
}
this.removeMovieClip();
}
}
}
};
Symbol 692 MovieClip [bboy3] Frame 43
gotoAndPlay (10);
Symbol 692 MovieClip [bboy3] Frame 53
gotoAndPlay (10);
Symbol 692 MovieClip [bboy3] Frame 54
gotoAndPlay (55);
Symbol 692 MovieClip [bboy3] Frame 82
gotoAndPlay (70);
Symbol 717 MovieClip Frame 1
stop();
Symbol 722 MovieClip Frame 1
stop();
Instance of Symbol 720 MovieClip "LU" in Symbol 722 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 584 MovieClip "cp" in Symbol 722 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (4);
}
Symbol 740 MovieClip Frame 1
stop();
Symbol 740 MovieClip Frame 16
stop();
Symbol 741 MovieClip Frame 1
stop();
Symbol 741 MovieClip Frame 50
shrug.gotoAndPlay(2);
if (_root.sfxon) {
_root.sfx.gotoAndPlay(13);
}
_root.14();
stop();
_root.pausey = 1;