Frame 1
o = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
Instance of Symbol 26 MovieClip in Frame 1
onClipEvent (load) {
e = 0;
i = 0;
}
onClipEvent (enterFrame) {
e++;
if (e > 100) {
e = 0;
}
if ((e % 5) == 0) {
_root.attachMovie("snowdrop", "snowdrop" + i, i);
_root["snowdrop" + i]._x = random(300);
_root["snowdrop" + i]._y = -5;
_root["snowdrop" + i].snowspeed = (random(5) + 1) / 3;
_root["snowdrop" + i]._xscale = random(50) + 51;
_root["snowdrop" + i]._yscale = _xscale;
i++;
if (i >= 300) {
i = 0;
}
}
}
Instance of Symbol 28 MovieClip "mouseball" in Frame 1
onClipEvent (load) {
this.startDrag(true);
}
Frame 2
if (_root.getBytesLoaded() == _root.getBytesTotal()) {
play();
} else {
gotoAndPlay (1);
}
Frame 3
fscommand ("showmenu", false);
stop();
Frame 15
stopAllSounds();
Instance of Symbol 42 MovieClip in Frame 15
//component parameters
onClipEvent (construct) {
varName = "defaultValue";
}
Frame 202
Instance of Symbol 42 MovieClip in Frame 387
//component parameters
onClipEvent (construct) {
varName = "defaultValue";
}
Instance of Symbol 42 MovieClip in Frame 540
//component parameters
onClipEvent (construct) {
varName = "defaultValue";
}
Frame 602
_root.lives = 3;
stopAllSounds();
Frame 620
stop();
Frame 622
weapon1ammo = 60;
weapon2ammo = 0;
weapon3ammo = 0;
weapon4ammo = 0;
degreedegree = 0;
hp = 100;
currentact = 0;
weapon1damage = 5;
weapon2damage = 8;
weapon3damage = 32;
weapon4damage = 7;
currentweapon = 1;
y = 1000;
Frame 623
_root.gotoAndPlay("act" + _root.currentact);
Instance of Symbol 275 MovieClip "santa" in Frame 624
onClipEvent (keyUp) {
if (Key.getCode() == 49) {
_root.currentweapon = 1;
}
if (Key.getCode() == 50) {
_root.currentweapon = 2;
}
if (Key.getCode() == 51) {
_root.currentweapon = 3;
}
if (Key.getCode() == 52) {
_root.currentweapon = 4;
}
if (Key.getCode() == 81) {
_root.hp = 0;
}
}
Instance of Symbol 281 MovieClip in Frame 624
onClipEvent (load) {
whatsitsay = "Welcome Santa. It's late, so let's practice before you kick ass tomorrow.";
}
Instance of Symbol 281 MovieClip in Frame 624
onClipEvent (load) {
whatsitsay = "Use the 'UP' and 'DOWN' ARROW KEYS to aim your weapon. Press 'S' to shoot.";
}
Instance of Symbol 281 MovieClip in Frame 624
onClipEvent (load) {
whatsitsay = "Jump by pressing 'D'.";
}
Instance of Symbol 281 MovieClip in Frame 624
onClipEvent (load) {
whatsitsay = "Press '1 2 3 or 4' to toggle weapons. 1-Glock, 2-Sub Machine Gun, 3-Shotgun, 4-Rifle. You need to have ammo to use them.";
}
Instance of Symbol 281 MovieClip in Frame 624
onClipEvent (load) {
whatsitsay = "You can reload your glock pistol at the glock shop in front. Go to the door and press 'space bar'. Please note that a shop only reloads ammo for a particular weapon.";
}
Instance of Symbol 281 MovieClip in Frame 624
onClipEvent (load) {
whatsitsay = "Ready? Let's go!";
}
Instance of Symbol 287 MovieClip in Frame 624
onClipEvent (enterFrame) {
if (this.hitTest(_root.santa.santabelly)) {
_root.currentact++;
_root.gotoAndPlay("act" + _root.currentact);
}
}
Instance of Symbol 281 MovieClip in Frame 624
onClipEvent (load) {
whatsitsay = "You can press 'Q' if you want to quit.";
}
Frame 625
_root._x = 524;
stop();
Instance of Symbol 287 MovieClip in Frame 626
onClipEvent (enterFrame) {
if (this.hitTest(_root.santa.santabelly)) {
_root.currentact++;
_root.gotoAndPlay("act" + _root.currentact);
}
}
Instance of Symbol 275 MovieClip "santa" in Frame 626
onClipEvent (keyUp) {
if (Key.getCode() == 49) {
_root.currentweapon = 1;
}
if (Key.getCode() == 50) {
_root.currentweapon = 2;
}
if (Key.getCode() == 51) {
_root.currentweapon = 3;
}
if (Key.getCode() == 52) {
_root.currentweapon = 4;
}
if (Key.getCode() == 81) {
_root.hp = 0;
}
}
Instance of Symbol 281 MovieClip in Frame 626
onClipEvent (load) {
whatsitsay = "Tip: When your ammo runs out, go to the shop and press space bar. Shops only refill a certain weapon. Like the shop on your left only refills your shotgun.";
}
Instance of Symbol 281 MovieClip in Frame 626
onClipEvent (load) {
whatsitsay = "Tip: You can't walk past the blue flames so you need to find a way to get over them.";
}
Instance of Symbol 281 MovieClip in Frame 626
onClipEvent (load) {
whatsitsay = "Tip: The slope in front is very steep, so you need to jump over it.";
}
Instance of Symbol 281 MovieClip in Frame 626
onClipEvent (load) {
whatsitsay = "Tip: Collect the presents that Santa lost. Most of them are toys but sometimes you may obtain ammo for your weapons!";
}
Frame 627
_root.santa.currentweapon = 1;
_root._x = 524;
stop();
Instance of Symbol 287 MovieClip in Frame 628
onClipEvent (enterFrame) {
if (this.hitTest(_root.santa.santabelly)) {
_root.currentact++;
_root.gotoAndPlay("act" + _root.currentact);
}
}
Instance of Symbol 275 MovieClip "santa" in Frame 628
onClipEvent (keyUp) {
if (Key.getCode() == 49) {
_root.currentweapon = 1;
}
if (Key.getCode() == 50) {
_root.currentweapon = 2;
}
if (Key.getCode() == 51) {
_root.currentweapon = 3;
}
if (Key.getCode() == 52) {
_root.currentweapon = 4;
}
if (Key.getCode() == 81) {
_root.hp = 0;
}
}
Instance of Symbol 281 MovieClip in Frame 628
onClipEvent (load) {
whatsitsay = "Tip: If you fall to the flames below... bye bye Santa.";
}
Instance of Symbol 281 MovieClip in Frame 628
onClipEvent (load) {
whatsitsay = "Tip: Don't fall into the pits!";
}
Instance of Symbol 281 MovieClip in Frame 628
onClipEvent (load) {
whatsitsay = "Tip: There is no way through here. You need to go up.";
}
Frame 629
_root._x = 524;
stop();
Instance of Symbol 287 MovieClip in Frame 630
onClipEvent (enterFrame) {
if (this.hitTest(_root.santa.santabelly)) {
_root.currentact++;
_root.gotoAndPlay("act" + _root.currentact);
}
}
Instance of Symbol 436 MovieClip in Frame 630
onClipEvent (enterFrame) {
this._y = this._y + 10;
if (this._y > 200) {
this._y = -300;
}
}
Instance of Symbol 436 MovieClip in Frame 630
onClipEvent (enterFrame) {
this._y = this._y + 10;
if (this._y > 200) {
this._y = -300;
}
}
Instance of Symbol 275 MovieClip "santa" in Frame 630
onClipEvent (keyUp) {
if (Key.getCode() == 49) {
_root.currentweapon = 1;
}
if (Key.getCode() == 50) {
_root.currentweapon = 2;
}
if (Key.getCode() == 51) {
_root.currentweapon = 3;
}
if (Key.getCode() == 52) {
_root.currentweapon = 4;
}
if (Key.getCode() == 81) {
_root.hp = 0;
}
}
Instance of Symbol 281 MovieClip in Frame 630
onClipEvent (load) {
whatsitsay = "Tip: Some silly idiot setup an SMG shop here, so you can reload your SMG. The slope in front makes jumping harder... be careful.";
}
Frame 631
_root._x = 524;
stop();
Instance of Symbol 287 MovieClip in Frame 632
onClipEvent (enterFrame) {
if (this.hitTest(_root.santa.santabelly)) {
_root.currentact++;
_root.gotoAndPlay("act" + _root.currentact);
}
}
Instance of Symbol 436 MovieClip in Frame 632
onClipEvent (enterFrame) {
this._y = this._y + 10;
if (this._y > 200) {
this._y = -300;
}
}
Instance of Symbol 436 MovieClip in Frame 632
onClipEvent (enterFrame) {
this._y = this._y + 10;
if (this._y > 200) {
this._y = -300;
}
}
Instance of Symbol 275 MovieClip "santa" in Frame 632
onClipEvent (keyUp) {
if (Key.getCode() == 49) {
_root.currentweapon = 1;
}
if (Key.getCode() == 50) {
_root.currentweapon = 2;
}
if (Key.getCode() == 51) {
_root.currentweapon = 3;
}
if (Key.getCode() == 52) {
_root.currentweapon = 4;
}
if (Key.getCode() == 81) {
_root.hp = 0;
}
}
Instance of Symbol 281 MovieClip in Frame 632
onClipEvent (load) {
whatsitsay = "Tip: Flip the switch to smother all flames that block your way. [Press SPACE BAR at the switch]";
}
Frame 633
_root._x = 524;
stop();
Instance of Symbol 452 MovieClip in Frame 634
onClipEvent (enterFrame) {
if (this.hitTest(_root.santa.santabelly) && (mong == 1)) {
this.play();
mong = 0;
}
}
Instance of Symbol 287 MovieClip in Frame 634
onClipEvent (enterFrame) {
if (this.hitTest(_root.santa.santabelly)) {
_root.currentact++;
_root.gotoAndPlay("act" + _root.currentact);
}
}
Instance of Symbol 436 MovieClip in Frame 634
onClipEvent (enterFrame) {
this._y = this._y + 10;
if (this._y > 200) {
this._y = -300;
}
}
Instance of Symbol 436 MovieClip in Frame 634
onClipEvent (enterFrame) {
this._y = this._y + 10;
if (this._y > 200) {
this._y = -300;
}
}
Instance of Symbol 275 MovieClip "santa" in Frame 634
onClipEvent (keyUp) {
if (Key.getCode() == 49) {
_root.currentweapon = 1;
}
if (Key.getCode() == 50) {
_root.currentweapon = 2;
}
if (Key.getCode() == 51) {
_root.currentweapon = 3;
}
if (Key.getCode() == 52) {
_root.currentweapon = 4;
}
if (Key.getCode() == 81) {
_root.hp = 0;
}
}
Instance of Symbol 281 MovieClip in Frame 634
onClipEvent (load) {
whatsitsay = "Tip: Just be careful...";
}
Frame 635
_root._x = 524;
stop();
Instance of Symbol 287 MovieClip in Frame 636
onClipEvent (enterFrame) {
if (this.hitTest(_root.santa.santabelly)) {
_root.currentact++;
_root.gotoAndPlay("act" + _root.currentact);
}
}
Instance of Symbol 436 MovieClip in Frame 636
onClipEvent (enterFrame) {
this._y = this._y + 10;
this._x = this._x - 10;
if (this._y > 200) {
this._y = -209;
this._x = 574;
}
}
Instance of Symbol 436 MovieClip in Frame 636
onClipEvent (enterFrame) {
this._y = this._y + 10;
this._x = this._x - 10;
if (this._y > 200) {
this._y = -146;
this._x = 753;
}
}
Instance of Symbol 275 MovieClip "santa" in Frame 636
onClipEvent (keyUp) {
if (Key.getCode() == 49) {
_root.currentweapon = 1;
}
if (Key.getCode() == 50) {
_root.currentweapon = 2;
}
if (Key.getCode() == 51) {
_root.currentweapon = 3;
}
if (Key.getCode() == 52) {
_root.currentweapon = 4;
}
if (Key.getCode() == 81) {
_root.hp = 0;
}
}
Frame 637
_root._x = 524;
stop();
Instance of Symbol 275 MovieClip "santa" in Frame 638
onClipEvent (keyUp) {
if (Key.getCode() == 49) {
_root.currentweapon = 1;
}
if (Key.getCode() == 50) {
_root.currentweapon = 2;
}
if (Key.getCode() == 51) {
_root.currentweapon = 3;
}
if (Key.getCode() == 52) {
_root.currentweapon = 4;
}
if (Key.getCode() == 81) {
_root.hp = 0;
}
}
Instance of Symbol 281 MovieClip in Frame 638
onClipEvent (load) {
whatsitsay = "Tip: Get ready. The Grinchies Boss is ahead. He has all the presents. Recharge your ammo!";
}
Instance of Symbol 452 MovieClip in Frame 638
onClipEvent (enterFrame) {
if (this.hitTest(_root.santa.santabelly) && (mong == 1)) {
this.play();
mong = 0;
}
}
Frame 639
_root._x = 524;
stop();
Frame 640
stopAllSounds();
currentact++;
Instance of Symbol 287 MovieClip in Frame 669
onClipEvent (enterFrame) {
if (this.hitTest(_root.santa.santabelly)) {
_root.currentact++;
_root.gotoAndPlay("act" + _root.currentact);
}
}
Instance of Symbol 275 MovieClip "santa" in Frame 669
onClipEvent (keyUp) {
if (Key.getCode() == 49) {
_root.currentweapon = 1;
}
if (Key.getCode() == 50) {
_root.currentweapon = 2;
}
if (Key.getCode() == 51) {
_root.currentweapon = 3;
}
if (Key.getCode() == 52) {
_root.currentweapon = 4;
}
}
Instance of Symbol 281 MovieClip in Frame 669
onClipEvent (load) {
whatsitsay = "Tip: Get ready. The Grinchies Boss is ahead. He has all the presents. Recharge your ammo!";
}
Frame 670
_root._x = -480;
stop();
Frame 671
stopAllSounds();
_root._x = 0;
Instance of Symbol 554 MovieClip in Frame 671
onClipEvent (enterFrame) {
this._y++;
if (this._y >= 109) {
this._y = -5;
}
this._x--;
if (this._x <= 10) {
this._x = 300;
}
}
Frame 672
stop();
Frame 673
_root._x = 0;
_root._y = 0;
Frame 686
stop();
Symbol 2 MovieClip [snowdrop] Frame 1
this.onEnterFrame = function () {
this._y = this._y + snowspeed;
if (this._y > 180) {
this.unloadMovie();
}
if (this.hitTest(_root.mouseball)) {
this._x = this._x + ((this._x - _root.mouseball._x) / 10);
this._y = this._y + ((this._y - _root.mouseball._y) / 10);
}
};
stop();
Instance of Symbol 14 MovieClip in Symbol 15 MovieClip Frame 1
onClipEvent (enterFrame) {
_yscale = ((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
}
Symbol 22 Button
on (release) {
getURL ("http://tam.atspace.com", "_blank");
}
Symbol 26 MovieClip Frame 1
_visible = false;
Symbol 35 Button
on (release) {
_root.play();
}
Symbol 42 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 46 Button
on (release) {
_root.gotoAndPlay("titlescreen");
}
Symbol 159 Button
on (release) {
_root.gotoAndPlay("loadingvarvar");
}
Symbol 160 Button
on (release) {
_quality = "HIGH";
}
Symbol 161 Button
on (release) {
_root.lives++;
if (_root.lives > 15) {
_root.lives = 1;
}
}
Symbol 162 Button
on (release) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 163 Button
on (release) {
_quality = "MEDIUM";
}
Symbol 164 Button
on (release) {
_quality = "LOW";
}
Symbol 165 Button
on (release) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 176 MovieClip Frame 1
this.onEnterFrame = function () {
if (this.hitTest(_root.santa.santabelly)) {
_root.santa._x = _root.santa._x + 4;
_root._x = _root._x - 4;
}
};
stop();
Symbol 178 MovieClip Frame 1
this.onEnterFrame = function () {
if (this.hitTest(_root.santa.santabelly)) {
_root.santa._x = _root.santa._x - 4;
_root._x = _root._x + 4;
}
};
stop();
Symbol 199 MovieClip Frame 1
stop();
Instance of Symbol 26 MovieClip in Symbol 199 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.santa.santabelly)) {
_parent.gotoAndStop("pressspace");
} else {
_parent.gotoAndStop(1);
}
}
onClipEvent (keyUp) {
if ((Key.getCode() == 32) && (this.hitTest(_root.santa.santabelly))) {
_parent.gotoAndPlay("refilled");
}
}
Symbol 199 MovieClip Frame 3
_root.weapon1ammo = 60;
Symbol 201 MovieClip Frame 1
this._visible = 0;
this.onEnterFrame = function () {
if (this.hitTest(_root.santa.santabelly)) {
_root.hp = 0;
}
};
Instance of Symbol 207 MovieClip in Symbol 212 MovieClip Frame 1
onClipEvent (enterFrame) {
this._xscale = _root.hp;
if (_root.hp > 100) {
_root.hp = 100;
}
}
Symbol 218 MovieClip Frame 1
this.onEnterFrame = function () {
myDegrees = _root.degreedegree;
if (myDegrees < -90) {
myDegrees = -90;
_root.degreedegree = -90;
}
if (myDegrees > 90) {
myDegrees = 90;
_root.degreedegree = -90;
}
if (_parent.directioner == "l") {
this._rotation = -myDegrees;
}
if (_parent.directioner == "r") {
this._rotation = myDegrees + 180;
}
};
stop();
Symbol 222 MovieClip Frame 21
gotoAndPlay ("walk");
Symbol 230 MovieClip Frame 1
this.onEnterFrame = function () {
myDegrees = _root.degreedegree;
if (myDegrees < -90) {
myDegrees = -90;
_root.degreedegree = -90;
}
if (myDegrees > 50) {
myDegrees = 50;
}
if (_parent.directioner == "l") {
this._rotation = (-myDegrees) - 180;
}
if (_parent.directioner == "r") {
this._rotation = myDegrees;
}
};
Symbol 235 MovieClip Frame 1
stop();
Symbol 235 MovieClip Frame 2
_root[("weapon" + _root.santa.currentweapon) + "ammo"]--;
Symbol 235 MovieClip Frame 7
gotoAndPlay (1);
Symbol 240 MovieClip Frame 1
stop();
Symbol 240 MovieClip Frame 3
_root[("weapon" + _root.santa.currentweapon) + "ammo"]--;
gotoAndPlay (1);
Symbol 255 MovieClip Frame 1
stop();
Symbol 255 MovieClip Frame 2
_root[("weapon" + _root.santa.currentweapon) + "ammo"]--;
Symbol 255 MovieClip Frame 19
gotoAndPlay (1);
Symbol 259 MovieClip Frame 1
stop();
Symbol 259 MovieClip Frame 3
_root[("weapon" + _root.santa.currentweapon) + "ammo"]--;
gotoAndPlay (1);
Symbol 260 MovieClip Frame 1
this.onEnterFrame = function () {
myDegrees = _root.degreedegree;
if (myDegrees < -90) {
myDegrees = -90;
_root.degreedegree = -90;
}
if (myDegrees > 70) {
myDegrees = 70;
_root.degreedegree = 70;
}
if (_parent.directioner == "l") {
this._rotation = -myDegrees;
}
if (_parent.directioner == "r") {
this._rotation = myDegrees + 180;
}
};
stop();
Instance of Symbol 235 MovieClip "weapon" in Symbol 260 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(83) && (_root.santa.canmove)) {
if (_root[("weapon" + _root.santa.currentweapon) + "ammo"] > 0) {
this.play();
} else {
_root.santa.arm.weapon.gotoAndPlay("noammo");
}
}
}
Instance of Symbol 240 MovieClip "weapon" in Symbol 260 MovieClip Frame 2
onClipEvent (enterFrame) {
if (Key.isDown(83) && (_root.santa.canmove)) {
if (_root[("weapon" + _root.santa.currentweapon) + "ammo"] > 0) {
this.play();
} else {
_root.santa.arm.weapon.gotoAndPlay("noammo");
}
}
}
Instance of Symbol 255 MovieClip "weapon" in Symbol 260 MovieClip Frame 3
onClipEvent (enterFrame) {
if (Key.isDown(83) && (_root.santa.canmove)) {
if (_root[("weapon" + _root.santa.currentweapon) + "ammo"] > 0) {
this.play();
} else {
_root.santa.arm.weapon.gotoAndPlay("noammo");
}
}
}
Instance of Symbol 259 MovieClip "weapon" in Symbol 260 MovieClip Frame 4
onClipEvent (enterFrame) {
if (Key.isDown(83) && (_root.santa.canmove)) {
if (_root[("weapon" + _root.santa.currentweapon) + "ammo"] > 0) {
this.play();
} else {
_root.santa.arm.weapon.gotoAndPlay("noammo");
}
}
}
Symbol 267 MovieClip Frame 6
stop();
Symbol 275 MovieClip Frame 1
canmove = 1;
mydamage = 0;
xspeedadder = 0;
xspeed = 0;
yspeed = 0;
gravity = 3;
jumpingheight = 35;
airborne = 1;
directioner = "r";
this.onEnterFrame = function () {
currentweapon = _root.currentweapon;
if (_alpha < 100) {
_alpha = (_alpha + 2);
}
if (airborne == 1) {
gravity = 3;
} else {
gravity = 0;
}
if (xspeed > 0) {
xspeed = xspeed - 0.5;
}
if (xspeed < 0) {
xspeed = xspeed + 0.5;
}
yspeed = yspeed + gravity;
_y = (_y + (yspeed / 4));
_x = (_x + (xspeed + xspeedadder));
_root._x = _root._x + (-(xspeed + xspeedadder));
if (_root.thefloor.hitTest(this._x, this._y, true) && (yspeed >= 0)) {
yspeed = 0;
airborne = 0;
if (canmove == 1) {
this.gotoAndStop(directioner + "walk");
}
while (_root.thefloor.hitTest(this._x, this._y - 1, true)) {
_y = (_y-1);
}
} else {
airborne = 1;
if (canmove == 1) {
this.gotoAndStop(directioner + "jump");
}
}
if (_root.thefloor.hitTest(this._x, this._y - 11, true)) {
yspeed = 0;
while (_root.thefloor.hitTest(this._x, this._y - 11, true)) {
_y = (_y+1);
}
}
if (canmove == 1) {
if (_root.hp <= 0) {
this.gotoAndPlay(directioner + "die");
_root.hp = 0;
}
if ((Key.isDown(68) && (airborne <= 0)) && (canjump == 1)) {
yspeed = -jumpingheight;
}
if (!Key.isDown(68)) {
canjump = 1;
}
if (Key.isDown(37)) {
xspeed = -4;
directioner = "l";
}
if (Key.isDown(39)) {
xspeed = 4;
directioner = "r";
}
if (Key.isDown(38)) {
_root.degreedegree = _root.degreedegree - 10;
}
if (Key.isDown(40)) {
_root.degreedegree = _root.degreedegree + 10;
}
}
};
stop();
Instance of Symbol 212 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (enterFrame) {
ammo = _root[("weapon" + _parent.currentweapon) + "ammo"];
}
Instance of Symbol 218 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop("weapon" + _parent.currentweapon);
}
onClipEvent (load) {
myDegrees = _root.degreedegree;
if (myDegrees < -90) {
myDegrees = -90;
_root.degreedegree = -90;
}
if (myDegrees > 70) {
myDegrees = 70;
_root.degreedegree = 70;
}
if (_parent.directioner == "l") {
this._rotation = -myDegrees;
}
if (_parent.directioner == "r") {
this._rotation = myDegrees + 180;
}
}
Instance of Symbol 222 MovieClip "legs" in Symbol 275 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
this.play();
} else {
this.gotoAndStop(1);
}
}
onClipEvent (load) {
if (Key.isDown(39)) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 230 MovieClip "santahead" in Symbol 275 MovieClip Frame 1
onClipEvent (load) {
myDegrees = _root.degreedegree;
if (myDegrees < -90) {
myDegrees = -90;
_root.degreedegree = -90;
}
if (myDegrees > 50) {
myDegrees = 50;
}
if (_parent.directioner == "l") {
this._rotation = (-myDegrees) - 180;
}
if (_parent.directioner == "r") {
this._rotation = myDegrees;
}
}
Instance of Symbol 260 MovieClip "arm" in Symbol 275 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop("weapon" + _parent.currentweapon);
myDegrees = _root.degreedegree;
if (myDegrees < -90) {
myDegrees = -90;
_root.degreedegree = -90;
}
if (myDegrees > 70) {
myDegrees = 70;
_root.degreedegree = 70;
}
if (_parent.directioner == "l") {
this._rotation = -myDegrees;
}
if (_parent.directioner == "r") {
this._rotation = myDegrees + 180;
}
}
onClipEvent (enterFrame) {
this.gotoAndStop("weapon" + _parent.currentweapon);
}
Instance of Symbol 218 MovieClip in Symbol 275 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop("weapon" + _parent.currentweapon);
}
onClipEvent (load) {
myDegrees = _root.degreedegree;
if (myDegrees < -90) {
myDegrees = -90;
_root.degreedegree = -90;
}
if (myDegrees > 70) {
myDegrees = 70;
_root.degreedegree = 70;
}
if (_parent.directioner == "l") {
this._rotation = -myDegrees;
}
if (_parent.directioner == "r") {
this._rotation = myDegrees + 180;
}
}
Instance of Symbol 222 MovieClip "legs" in Symbol 275 MovieClip Frame 3
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
this.play();
} else {
this.gotoAndStop(1);
}
}
onClipEvent (load) {
if (Key.isDown(37)) {
this.play();
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 230 MovieClip "santahead" in Symbol 275 MovieClip Frame 3
onClipEvent (load) {
myDegrees = _root.degreedegree;
if (myDegrees < -90) {
myDegrees = -90;
_root.degreedegree = -90;
}
if (myDegrees > 50) {
myDegrees = 50;
}
if (_parent.directioner == "l") {
this._rotation = (-myDegrees) - 180;
}
if (_parent.directioner == "r") {
this._rotation = myDegrees;
}
}
Instance of Symbol 260 MovieClip "arm" in Symbol 275 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndStop("weapon" + _parent.currentweapon);
myDegrees = _root.degreedegree;
if (myDegrees < -90) {
myDegrees = -90;
_root.degreedegree = -90;
}
if (myDegrees > 70) {
myDegrees = 70;
_root.degreedegree = 70;
}
if (_parent.directioner == "l") {
this._rotation = -myDegrees;
}
if (_parent.directioner == "r") {
this._rotation = myDegrees + 180;
}
}
onClipEvent (enterFrame) {
this.gotoAndStop("weapon" + _parent.currentweapon);
}
Symbol 275 MovieClip Frame 4
canjump = 0;
Instance of Symbol 261 MovieClip "jumplegs" in Symbol 275 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_parent.yspeed >= 0) {
this.gotoAndStop("jumpdown");
} else {
this.gotoAndStop("jumpup");
}
}
Symbol 275 MovieClip Frame 5
canjump = 0;
Instance of Symbol 218 MovieClip in Symbol 275 MovieClip Frame 5
onClipEvent (enterFrame) {
this.gotoAndStop("weapon" + _parent.currentweapon);
}
onClipEvent (load) {
myDegrees = _root.degreedegree;
if (myDegrees < -90) {
myDegrees = -90;
_root.degreedegree = -90;
}
if (myDegrees > 70) {
myDegrees = 70;
_root.degreedegree = 70;
}
if (_parent.directioner == "l") {
this._rotation = -myDegrees;
}
if (_parent.directioner == "r") {
this._rotation = myDegrees + 180;
}
}
Instance of Symbol 230 MovieClip "santahead" in Symbol 275 MovieClip Frame 5
onClipEvent (load) {
myDegrees = _root.degreedegree;
if (myDegrees < -90) {
myDegrees = -90;
_root.degreedegree = -90;
}
if (myDegrees > 50) {
myDegrees = 50;
}
if (_parent.directioner == "l") {
this._rotation = (-myDegrees) - 180;
}
if (_parent.directioner == "r") {
this._rotation = myDegrees;
}
}
Instance of Symbol 260 MovieClip "arm" in Symbol 275 MovieClip Frame 5
onClipEvent (load) {
this.gotoAndStop("weapon" + _parent.currentweapon);
myDegrees = _root.degreedegree;
if (myDegrees < -90) {
myDegrees = -90;
_root.degreedegree = -90;
}
if (myDegrees > 70) {
myDegrees = 70;
_root.degreedegree = 70;
}
if (_parent.directioner == "l") {
this._rotation = -myDegrees;
}
if (_parent.directioner == "r") {
this._rotation = myDegrees + 180;
}
}
onClipEvent (enterFrame) {
this.gotoAndStop("weapon" + _parent.currentweapon);
}
Symbol 275 MovieClip Frame 6
canmove = 0;
_x = (_x - 20);
_root._x = _root._x + 20;
Instance of Symbol 218 MovieClip in Symbol 275 MovieClip Frame 6
onClipEvent (enterFrame) {
this.gotoAndStop("weapon" + _parent.currentweapon);
}
onClipEvent (load) {
myDegrees = _root.degreedegree;
if (myDegrees < -90) {
myDegrees = -90;
_root.degreedegree = -90;
}
if (myDegrees > 70) {
myDegrees = 70;
_root.degreedegree = 70;
}
if (_parent.directioner == "l") {
this._rotation = -myDegrees;
}
if (_parent.directioner == "r") {
this._rotation = myDegrees + 180;
}
}
Instance of Symbol 230 MovieClip "santahead" in Symbol 275 MovieClip Frame 6
onClipEvent (load) {
myDegrees = _root.degreedegree;
if (myDegrees < -90) {
myDegrees = -90;
_root.degreedegree = -90;
}
if (myDegrees > 50) {
myDegrees = 50;
}
if (_parent.directioner == "l") {
this._rotation = (-myDegrees) - 180;
}
if (_parent.directioner == "r") {
this._rotation = myDegrees;
}
}
Instance of Symbol 260 MovieClip "arm" in Symbol 275 MovieClip Frame 6
onClipEvent (load) {
this.gotoAndStop("weapon" + _parent.currentweapon);
myDegrees = _root.degreedegree;
if (myDegrees < -90) {
myDegrees = -90;
_root.degreedegree = -90;
}
if (myDegrees > 70) {
myDegrees = 70;
_root.degreedegree = 70;
}
if (_parent.directioner == "l") {
this._rotation = -myDegrees;
}
if (_parent.directioner == "r") {
this._rotation = myDegrees + 180;
}
}
onClipEvent (enterFrame) {
this.gotoAndStop("weapon" + _parent.currentweapon);
}
Symbol 275 MovieClip Frame 11
_root.hp = _root.hp - mydamage;
canmove = 1;
gotoAndPlay ("rwalk");
Instance of Symbol 218 MovieClip in Symbol 275 MovieClip Frame 11
onClipEvent (enterFrame) {
this.gotoAndStop("weapon" + _parent.currentweapon);
}
onClipEvent (load) {
myDegrees = _root.degreedegree;
if (myDegrees < -90) {
myDegrees = -90;
_root.degreedegree = -90;
}
if (myDegrees > 70) {
myDegrees = 70;
_root.degreedegree = 70;
}
if (_parent.directioner == "l") {
this._rotation = -myDegrees;
}
if (_parent.directioner == "r") {
this._rotation = myDegrees + 180;
}
}
Instance of Symbol 230 MovieClip "santahead" in Symbol 275 MovieClip Frame 11
onClipEvent (load) {
myDegrees = _root.degreedegree;
if (myDegrees < -90) {
myDegrees = -90;
_root.degreedegree = -90;
}
if (myDegrees > 50) {
myDegrees = 50;
}
if (_parent.directioner == "l") {
this._rotation = (-myDegrees) - 180;
}
if (_parent.directioner == "r") {
this._rotation = myDegrees;
}
}
Instance of Symbol 260 MovieClip "arm" in Symbol 275 MovieClip Frame 11
onClipEvent (load) {
this.gotoAndStop("weapon" + _parent.currentweapon);
myDegrees = _root.degreedegree;
if (myDegrees < -90) {
myDegrees = -90;
_root.degreedegree = -90;
}
if (myDegrees > 70) {
myDegrees = 70;
_root.degreedegree = 70;
}
if (_parent.directioner == "l") {
this._rotation = -myDegrees;
}
if (_parent.directioner == "r") {
this._rotation = myDegrees + 180;
}
}
onClipEvent (enterFrame) {
this.gotoAndStop("weapon" + _parent.currentweapon);
}
Symbol 275 MovieClip Frame 12
canmove = 0;
_x = (_x + 20);
_root._x = _root._x - 20;
Instance of Symbol 230 MovieClip "santahead" in Symbol 275 MovieClip Frame 12
onClipEvent (load) {
myDegrees = _root.degreedegree;
if (myDegrees < -90) {
myDegrees = -90;
_root.degreedegree = -90;
}
if (myDegrees > 50) {
myDegrees = 50;
}
if (_parent.directioner == "l") {
this._rotation = (-myDegrees) - 180;
}
if (_parent.directioner == "r") {
this._rotation = myDegrees;
}
}
Symbol 275 MovieClip Frame 18
_root.hp = _root.hp - mydamage;
canmove = 1;
gotoAndPlay ("lwalk");
Instance of Symbol 230 MovieClip "santahead" in Symbol 275 MovieClip Frame 18
onClipEvent (load) {
myDegrees = _root.degreedegree;
if (myDegrees < -90) {
myDegrees = -90;
_root.degreedegree = -90;
}
if (myDegrees > 50) {
myDegrees = 50;
}
if (_parent.directioner == "l") {
this._rotation = (-myDegrees) - 180;
}
if (_parent.directioner == "r") {
this._rotation = myDegrees;
}
}
Symbol 275 MovieClip Frame 19
canmove = 0;
Symbol 275 MovieClip Frame 55
_root.gotoAndPlay("yousucka");
stop();
Symbol 275 MovieClip Frame 57
canmove = 0;
Instance of Symbol 261 MovieClip "jumplegs" in Symbol 275 MovieClip Frame 57
onClipEvent (enterFrame) {
if (_parent.yspeed >= 0) {
this.gotoAndStop("jumpdown");
} else {
this.gotoAndStop("jumpup");
}
}
Symbol 275 MovieClip Frame 96
_root.gotoAndPlay("yousucka");
stop();
Symbol 281 MovieClip Frame 1
this.onEnterFrame = function () {
if (this.bsign.hitTest(_root.santa.santabelly)) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
};
stop();
Symbol 290 MovieClip Frame 8
stop();
Symbol 302 MovieClip Frame 1
stop();
Instance of Symbol 26 MovieClip in Symbol 302 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.santa.santabelly)) {
_parent.gotoAndStop("pressspace");
} else {
_parent.gotoAndStop(1);
}
}
onClipEvent (keyUp) {
if ((Key.getCode() == 32) && (this.hitTest(_root.santa.santabelly))) {
_parent.gotoAndPlay("refilled");
}
}
Symbol 302 MovieClip Frame 3
_root.weapon3ammo = 18;
Symbol 317 MovieClip Frame 1
this.onEnterFrame = function () {
i = 1;
while (i <= 6) {
if (this.hitTest(eval ("_root.santa.arm.weapon.weaponhitter" + i))) {
this.gotoAndPlay("shot");
}
i++;
}
};
stop();
Instance of Symbol 26 MovieClip in Symbol 317 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.santa.santabelly) && (_root.santa.canmove == 1)) {
_root.santa.gotoAndPlay(_root.santa.directioner + "gethit");
_root.santa.mydamage = 5;
}
}
Symbol 327 MovieClip Frame 1
stop();
Symbol 334 MovieClip Frame 1
_parent.canmove = 0;
Symbol 334 MovieClip Frame 6
_parent.canmove = 1;
_parent.gotoAndStop(_parent.directioner + "walk");
Symbol 340 MovieClip Frame 1
_parent.canmove = 0;
Symbol 340 MovieClip Frame 49
_alpha = (_alpha - 10);
Symbol 340 MovieClip Frame 50
_alpha = (_alpha - 10);
Symbol 340 MovieClip Frame 51
_alpha = (_alpha - 10);
Symbol 340 MovieClip Frame 52
_alpha = (_alpha - 10);
Symbol 340 MovieClip Frame 53
_alpha = (_alpha - 10);
Symbol 340 MovieClip Frame 54
_alpha = (_alpha - 10);
Symbol 340 MovieClip Frame 55
_alpha = (_alpha - 10);
Symbol 340 MovieClip Frame 56
_alpha = (_alpha - 10);
Symbol 340 MovieClip Frame 57
_alpha = (_alpha - 10);
Symbol 340 MovieClip Frame 58
_parent.unloadMovie();
Symbol 354 MovieClip Frame 1
_parent.canmove = 0;
Symbol 354 MovieClip Frame 49
_alpha = (_alpha - 10);
Symbol 354 MovieClip Frame 50
_alpha = (_alpha - 10);
Symbol 354 MovieClip Frame 51
_alpha = (_alpha - 10);
Symbol 354 MovieClip Frame 52
_alpha = (_alpha - 10);
Symbol 354 MovieClip Frame 53
_alpha = (_alpha - 10);
Symbol 354 MovieClip Frame 54
_alpha = (_alpha - 10);
Symbol 354 MovieClip Frame 55
_alpha = (_alpha - 10);
Symbol 354 MovieClip Frame 56
_alpha = (_alpha - 10);
Symbol 354 MovieClip Frame 57
_alpha = (_alpha - 10);
Symbol 354 MovieClip Frame 58
_parent.unloadMovie();
Symbol 369 MovieClip Frame 1
_parent.canmove = 0;
Symbol 369 MovieClip Frame 49
_alpha = (_alpha - 10);
Symbol 369 MovieClip Frame 50
_alpha = (_alpha - 10);
Symbol 369 MovieClip Frame 51
_alpha = (_alpha - 10);
Symbol 369 MovieClip Frame 52
_alpha = (_alpha - 10);
Symbol 369 MovieClip Frame 53
_alpha = (_alpha - 10);
Symbol 369 MovieClip Frame 54
_alpha = (_alpha - 10);
Symbol 369 MovieClip Frame 55
_alpha = (_alpha - 10);
Symbol 369 MovieClip Frame 56
_alpha = (_alpha - 10);
Symbol 369 MovieClip Frame 57
_alpha = (_alpha - 10);
Symbol 369 MovieClip Frame 58
_parent.unloadMovie();
Symbol 370 MovieClip Frame 1
canmove = 1;
mydamage = 0;
xspeedadder = 0;
xspeed = 0;
yspeed = 0;
gravity = 3;
jumpingheight = 35;
airborne = 1;
directioner = "r";
hp = 40;
s = random(3);
this.onEnterFrame = function () {
if (airborne == 1) {
gravity = 3;
} else {
gravity = 0;
}
if (xspeed > 0) {
xspeed = xspeed - 0.5;
}
if (xspeed < 0) {
xspeed = xspeed + 0.5;
}
yspeed = yspeed + gravity;
_y = (_y + (yspeed / 4));
_x = (_x + (xspeed + xspeedadder));
_root._x = _root._x + (-(xspeed + xspeedadder));
if (_root.thefloor.hitTest(this._x, this._y + 25, true) && (yspeed >= 0)) {
yspeed = 0;
airborne = 0;
if (canmove == 1) {
this.gotoAndStop(directioner + "walk");
}
while (_root.thefloor.hitTest(this._x, this._y + 24, true)) {
_y = (_y-1);
}
} else {
airborne = 1;
}
if (_root.thefloor.hitTest(this._x, this._y + 13, true)) {
yspeed = 0;
while (_root.thefloor.hitTest(this._x, this._y + 13, true)) {
_y = (_y+1);
}
}
if (canmove == 1) {
this.gotoAndStop(directioner + "walk");
}
if (hp <= 0) {
this.gotoAndStop((directioner + "die") + s);
}
};
stop();
Instance of Symbol 26 MovieClip in Symbol 370 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.santa.santabelly)) {
_parent._x = _parent._x - 2;
_parent.directioner = "l";
_parent.gw.play();
}
}
Instance of Symbol 26 MovieClip in Symbol 370 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.santa.santabelly)) {
_parent._x = _parent._x + 2;
_parent.directioner = "r";
_parent.gw.play();
}
}
Instance of Symbol 26 MovieClip in Symbol 370 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 0;
while (i <= 6) {
if (this.hitTest(eval ("_root.santa.arm.weapon.weaponhitter" + i))) {
_parent.gotoAndStop(_parent.directioner + "shot");
}
i++;
}
if ((this.hitTest(_root.santa.santabelly) && (_root.santa.canmove == 1)) && (_root.santa._alpha > 99)) {
_root.santa._alpha = 50;
_root.santa.gotoAndPlay(_root.santa.directioner + "gethit");
_root.santa.mydamage = 10;
}
}
Symbol 370 MovieClip Frame 2
stop();
Instance of Symbol 26 MovieClip in Symbol 370 MovieClip Frame 2
onClipEvent (enterFrame) {
i = 0;
while (i <= 6) {
if (this.hitTest(eval ("_root.santa.arm.weapon.weaponhitter" + i))) {
_parent.canmove = 0;
_parent.gotoAndStop(_parent.directioner + "shot");
}
i++;
}
}
Symbol 370 MovieClip Frame 4
hp = hp - _root[("weapon" + _root.santa.currentweapon) + "damage"];
Symbol 370 MovieClip Frame 5
hp = hp - _root[("weapon" + _root.santa.currentweapon) + "damage"];
Symbol 376 MovieClip Frame 1
stop();
Symbol 398 MovieClip Frame 1
s = 1;
reloader1 = 0;
reloader2 = 0;
reloader3 = 0;
reloader4 = 0;
t = random(35);
switch (t) {
case 0 :
presentname = "Pistol Ammo";
reloader1 = 20;
reloaded = 1;
break;
case 1 :
presentname = "Shotgun Ammo";
reloader3 = 5;
reloaded = 1;
break;
case 2 :
presentname = "SMG Ammo";
reloader2 = 30;
reloaded = 1;
break;
case 3 :
presentname = "Rifle Ammo";
reloader4 = 30;
reloaded = 1;
break;
case 4 :
presentname = "Alien Hominid Toy";
break;
case 5 :
presentname = "Armada Assault";
break;
case 6 :
presentname = "Pinball toy";
break;
case 7 :
presentname = "Pokemon toy";
break;
case 8 :
presentname = "Teddy Bear";
break;
case 9 :
presentname = "Gundam robot";
break;
case 10 :
presentname = "Justice League Collection";
break;
case 11 :
presentname = "Toy Bomb";
break;
case 12 :
presentname = "Tom Fulp Bobblehead";
break;
case 13 :
presentname = "Danny Mac Action Figure";
break;
case 14 :
presentname = "Newgrounds Tank";
break;
case 15 :
presentname = "Astonomy Set";
break;
case 16 :
presentname = "Harry Potter book";
break;
case 17 :
presentname = "Mario Branded Thong";
break;
case 18 :
presentname = "MP3 Player";
break;
case 19 :
presentname = "XBOX 360";
break;
case 20 :
presentname = "Nintendo Revolution";
break;
case 21 :
presentname = "GBA";
break;
case 22 :
presentname = "SNES";
break;
case 23 :
presentname = "NES";
break;
case 24 :
presentname = "PS2";
break;
case 25 :
presentname = "PSX";
break;
case 26 :
presentname = "NDS";
break;
case 27 :
presentname = "Miniature Death Star";
break;
case 28 :
presentname = "Lightsaber FX";
break;
case 29 :
presentname = "R2-D2";
break;
case 30 :
presentname = "Furby";
break;
case 31 :
presentname = "Transformer";
break;
case 32 :
presentname = "Megazord";
break;
case 33 :
presentname = "PS3";
break;
case 34 :
presentname = "Disney Toy";
}
this.onEnterFrame = function () {
if (this.hitTest(_root.santa.santabelly) && (s == 1)) {
this.play();
s = 0;
}
};
stop();
Symbol 398 MovieClip Frame 3
_root.weapon1ammo = _root.weapon1ammo + reloader1;
_root.weapon2ammo = _root.weapon2ammo + reloader2;
_root.weapon3ammo = _root.weapon3ammo + reloader3;
_root.weapon4ammo = _root.weapon4ammo + reloader4;
if (_root.weapon1ammo > 60) {
_root.weapon1ammo = 60;
}
if (_root.weapon2ammo > 120) {
_root.weapon2ammo = 120;
}
if (_root.weapon3ammo > 18) {
_root.weapon3ammo = 18;
}
if (_root.weapon4ammo > 360) {
_root.weapon4ammo = 360;
}
if (reloaded == 1) {
rech.play();
}
Symbol 398 MovieClip Frame 42
_alpha = (_alpha - 10);
Symbol 398 MovieClip Frame 43
_alpha = (_alpha - 10);
Symbol 398 MovieClip Frame 44
_alpha = (_alpha - 10);
Symbol 398 MovieClip Frame 45
_alpha = (_alpha - 10);
Symbol 398 MovieClip Frame 46
_alpha = (_alpha - 10);
Symbol 398 MovieClip Frame 47
_alpha = (_alpha - 10);
Symbol 398 MovieClip Frame 48
_alpha = (_alpha - 10);
Symbol 398 MovieClip Frame 49
_alpha = (_alpha - 10);
Symbol 398 MovieClip Frame 50
this.unloadMovie();
Symbol 401 MovieClip Frame 1
stopAllSounds();
Symbol 401 MovieClip Frame 2
stop();
Symbol 417 MovieClip Frame 1
_parent.canmove = 0;
Symbol 417 MovieClip Frame 8
_parent.canmove = 1;
_parent.gotoAndStop(_parent.directioner + "walk");
Symbol 421 MovieClip Frame 1
_parent.canmove = 0;
Symbol 421 MovieClip Frame 22
_parent.unloadMovie();
Symbol 422 MovieClip Frame 1
canmove = 1;
mydamage = 0;
xspeedadder = 0;
xspeed = 0;
yspeed = 0;
gravity = 3;
jumpingheight = 35;
airborne = 1;
directioner = "r";
hp = 40;
s = 0;
this.onEnterFrame = function () {
if (xspeed > 0) {
xspeed = xspeed - 0.5;
}
if (xspeed < 0) {
xspeed = xspeed + 0.5;
}
yspeed = yspeed + gravity;
_x = (_x + (xspeed + xspeedadder));
_root._x = _root._x + (-(xspeed + xspeedadder));
if (canmove == 1) {
this.gotoAndStop(directioner + "walk");
}
if (hp <= 0) {
this.gotoAndStop((directioner + "die") + s);
}
};
stop();
Instance of Symbol 26 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.santa.santabelly)) {
_parent._x = _parent._x - ((_parent._x - _root.santa._x) / 30);
_parent._y = _parent._y - ((_parent._y - _root.santa._y) / 30);
}
}
Instance of Symbol 26 MovieClip in Symbol 422 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 0;
while (i <= 6) {
if (this.hitTest(eval ("_root.santa.arm.weapon.weaponhitter" + i))) {
_parent.gotoAndStop(_parent.directioner + "shot");
}
i++;
}
if ((this.hitTest(_root.santa.santabelly) && (_root.santa.canmove == 1)) && (_root.santa._alpha > 99)) {
_root.santa._alpha = 50;
_root.santa.gotoAndPlay(_root.santa.directioner + "gethit");
_root.santa.mydamage = 10;
}
}
Symbol 422 MovieClip Frame 2
stop();
Instance of Symbol 26 MovieClip in Symbol 422 MovieClip Frame 2
onClipEvent (enterFrame) {
i = 0;
while (i <= 6) {
if (this.hitTest(eval ("_root.santa.arm.weapon.weaponhitter" + i))) {
_parent.canmove = 0;
_parent.gotoAndStop(_parent.directioner + "shot");
}
i++;
}
}
Symbol 422 MovieClip Frame 4
hp = hp - _root[("weapon" + _root.santa.currentweapon) + "damage"];
Symbol 422 MovieClip Frame 5
hp = hp - _root[("weapon" + _root.santa.currentweapon) + "damage"];
Symbol 429 MovieClip Frame 1
stop();
Instance of Symbol 26 MovieClip in Symbol 429 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.santa.santabelly)) {
_parent.gotoAndStop("pressspace");
} else {
_parent.gotoAndStop(1);
}
}
onClipEvent (keyUp) {
if ((Key.getCode() == 32) && (this.hitTest(_root.santa.santabelly))) {
_parent.gotoAndPlay("refilled");
}
}
Symbol 429 MovieClip Frame 3
_root.weapon2ammo = 120;
Symbol 433 MovieClip Frame 1
_parent.suckit._xscale = 100;
stop();
Symbol 433 MovieClip Frame 10
_parent.suckit._xscale = 500;
Symbol 433 MovieClip Frame 12
_parent.suckit._xscale = 100;
Symbol 434 MovieClip Frame 1
canmove = 1;
mydamage = 0;
xspeedadder = 0;
xspeed = 0;
yspeed = 0;
gravity = 3;
jumpingheight = 35;
airborne = 1;
directioner = "r";
hp = 60;
s = random(3);
this.onEnterFrame = function () {
if (airborne == 1) {
gravity = 3;
} else {
gravity = 0;
}
if (xspeed > 0) {
xspeed = xspeed - 0.5;
}
if (xspeed < 0) {
xspeed = xspeed + 0.5;
}
yspeed = yspeed + gravity;
_y = (_y + (yspeed / 4));
_x = (_x + (xspeed + xspeedadder));
_root._x = _root._x + (-(xspeed + xspeedadder));
if (_root.thefloor.hitTest(this._x, this._y + 25, true) && (yspeed >= 0)) {
yspeed = 0;
airborne = 0;
if (canmove == 1) {
this.gotoAndStop(directioner + "walk");
}
while (_root.thefloor.hitTest(this._x, this._y + 24, true)) {
_y = (_y-1);
}
} else {
airborne = 1;
}
if (_root.thefloor.hitTest(this._x, this._y + 13, true)) {
yspeed = 0;
while (_root.thefloor.hitTest(this._x, this._y + 13, true)) {
_y = (_y+1);
}
}
if (canmove == 1) {
this.gotoAndStop(directioner + "walk");
}
if (hp <= 0) {
this.gotoAndStop((directioner + "die") + s);
}
};
stop();
Instance of Symbol 26 MovieClip in Symbol 434 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.santa.santabelly)) {
if ((_parent._x - _root.santa._x) > 40) {
_parent._x = _parent._x - 2;
_parent.directioner = "l";
}
_parent.gw.play();
}
}
Instance of Symbol 26 MovieClip in Symbol 434 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.santa.santabelly)) {
if ((_root.santa._x - _parent._x) > 40) {
_parent._x = _parent._x + 2;
_parent.directioner = "r";
}
_parent.gw.play();
}
}
Instance of Symbol 26 MovieClip "suckit" in Symbol 434 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 0;
while (i <= 6) {
if (this.hitTest(eval ("_root.santa.arm.weapon.weaponhitter" + i))) {
_parent.gotoAndStop(_parent.directioner + "shot");
}
i++;
}
if ((this.hitTest(_root.santa.santabelly) && (_root.santa.canmove == 1)) && (_root.santa._alpha > 99)) {
_root.santa._alpha = 50;
_root.santa.gotoAndPlay(_root.santa.directioner + "gethit");
_root.santa.mydamage = 10;
}
}
Symbol 434 MovieClip Frame 2
stop();
Instance of Symbol 433 MovieClip "gw" in Symbol 434 MovieClip Frame 2
onClipEvent (load) {
dire = "r";
}
Instance of Symbol 26 MovieClip in Symbol 434 MovieClip Frame 2
onClipEvent (enterFrame) {
i = 0;
while (i <= 6) {
if (this.hitTest(eval ("_root.santa.arm.weapon.weaponhitter" + i))) {
_parent.canmove = 0;
_parent.gotoAndStop(_parent.directioner + "shot");
}
i++;
}
}
Instance of Symbol 433 MovieClip "gw" in Symbol 434 MovieClip Frame 3
onClipEvent (load) {
dire = "l";
}
Symbol 434 MovieClip Frame 4
hp = hp - _root[("weapon" + _root.santa.currentweapon) + "damage"];
Symbol 434 MovieClip Frame 5
hp = hp - _root[("weapon" + _root.santa.currentweapon) + "damage"];
Instance of Symbol 26 MovieClip in Symbol 436 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.santa.santabelly) && (_root.santa.canmove == 1)) {
_root.santa.gotoAndPlay(_root.santa.directioner + "gethit");
_root.santa.mydamage = 5;
}
}
Symbol 443 MovieClip Frame 1
stop();
Instance of Symbol 26 MovieClip in Symbol 443 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.santa.santabelly)) {
_parent.gotoAndStop("pressspace");
} else {
_parent.gotoAndStop(1);
}
}
onClipEvent (keyUp) {
if ((Key.getCode() == 32) && (this.hitTest(_root.santa.santabelly))) {
_parent.gotoAndPlay("refilled");
}
}
Symbol 443 MovieClip Frame 3
_root.weapon4ammo = 360;
Symbol 446 MovieClip Frame 1
stop();
Instance of Symbol 26 MovieClip in Symbol 446 MovieClip Frame 1
onClipEvent (keyUp) {
if (this.hitTest(_root.santa.santabelly) && (Key.getCode() == 32)) {
_parent.play();
}
}
Symbol 446 MovieClip Frame 5
stop();
Symbol 452 MovieClip Frame 1
mong = 1;
stop();
Symbol 452 MovieClip Frame 2
_root.hp = 100;
Symbol 452 MovieClip Frame 15
stop();
Symbol 462 MovieClip Frame 1
stop();
Symbol 463 MovieClip Frame 1
_parent.canmove = 0;
Symbol 463 MovieClip Frame 2
_parent.canmove = 1;
_parent.gotoAndStop(_parent.directioner + "walk");
Symbol 464 MovieClip Frame 1
_parent.canmove = 0;
Symbol 464 MovieClip Frame 49
_alpha = (_alpha - 10);
Symbol 464 MovieClip Frame 50
_alpha = (_alpha - 10);
Symbol 464 MovieClip Frame 51
_alpha = (_alpha - 10);
Symbol 464 MovieClip Frame 52
_alpha = (_alpha - 10);
Symbol 464 MovieClip Frame 53
_alpha = (_alpha - 10);
Symbol 464 MovieClip Frame 54
_alpha = (_alpha - 10);
Symbol 464 MovieClip Frame 55
_alpha = (_alpha - 10);
Symbol 464 MovieClip Frame 56
_alpha = (_alpha - 10);
Symbol 464 MovieClip Frame 57
_alpha = (_alpha - 10);
Symbol 464 MovieClip Frame 58
_parent.unloadMovie();
Symbol 465 MovieClip Frame 1
canmove = 1;
mydamage = 0;
xspeedadder = 0;
xspeed = 0;
yspeed = 0;
gravity = 3;
jumpingheight = 35;
airborne = 1;
directioner = "r";
hp = 120;
this.onEnterFrame = function () {
if (airborne == 1) {
gravity = 3;
} else {
gravity = 0;
}
if (xspeed > 0) {
xspeed = xspeed - 0.5;
}
if (xspeed < 0) {
xspeed = xspeed + 0.5;
}
yspeed = yspeed + gravity;
_y = (_y + (yspeed / 4));
_x = (_x + (xspeed + xspeedadder));
_root._x = _root._x + (-(xspeed + xspeedadder));
if (_root.thefloor.hitTest(this._x, this._y + 25, true) && (yspeed >= 0)) {
yspeed = 0;
airborne = 0;
if (canmove == 1) {
this.gotoAndStop(directioner + "walk");
}
while (_root.thefloor.hitTest(this._x, this._y + 24, true)) {
_y = (_y-1);
}
} else {
airborne = 1;
}
if (_root.thefloor.hitTest(this._x, this._y + 13, true)) {
yspeed = 0;
while (_root.thefloor.hitTest(this._x, this._y + 13, true)) {
_y = (_y+1);
}
}
if (canmove == 1) {
this.gotoAndStop(directioner + "walk");
}
if (hp <= 0) {
this.gotoAndStop(directioner + "die");
}
};
stop();
Instance of Symbol 26 MovieClip in Symbol 465 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.santa.santabelly)) {
_parent._x = _parent._x - 2;
_parent.directioner = "l";
_parent.gw.play();
}
}
Instance of Symbol 26 MovieClip in Symbol 465 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.santa.santabelly)) {
_parent._x = _parent._x + 2;
_parent.directioner = "r";
_parent.gw.play();
}
}
Instance of Symbol 26 MovieClip in Symbol 465 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 0;
while (i <= 6) {
if (this.hitTest(eval ("_root.santa.arm.weapon.weaponhitter" + i))) {
_parent.gotoAndStop(_parent.directioner + "shot");
}
i++;
}
if ((this.hitTest(_root.santa.santabelly) && (_root.santa.canmove == 1)) && (_root.santa._alpha > 99)) {
_root.santa._alpha = 50;
_root.santa.gotoAndPlay(_root.santa.directioner + "gethit");
_root.santa.mydamage = 10;
}
}
Symbol 465 MovieClip Frame 2
stop();
Instance of Symbol 26 MovieClip in Symbol 465 MovieClip Frame 2
onClipEvent (enterFrame) {
i = 0;
while (i <= 6) {
if (this.hitTest(eval ("_root.santa.arm.weapon.weaponhitter" + i))) {
_parent.canmove = 0;
_parent.gotoAndStop(_parent.directioner + "shot");
}
i++;
}
}
Symbol 465 MovieClip Frame 4
hp = hp - _root[("weapon" + _root.santa.currentweapon) + "damage"];
Symbol 465 MovieClip Frame 5
hp = hp - _root[("weapon" + _root.santa.currentweapon) + "damage"];
Symbol 483 MovieClip Frame 1
this.onEnterFrame = function () {
i = 0;
while (i <= 6) {
if (this.hitTest(eval ("_root.santa.arm.weapon.weaponhitter" + i))) {
this.play("shot");
}
i++;
}
};
stop();
Symbol 505 MovieClip Frame 1
stop();
Symbol 505 MovieClip Frame 2
_root.y = _root.y - _root[("weapon" + _root.santa.currentweapon) + "damage"];
if (_root.y <= 0) {
_root.gotoAndPlay("act8");
}
Instance of Symbol 476 MovieClip in Symbol 540 MovieClip Frame 1
onClipEvent (enterFrame) {
this._xscale = (_root.y / 1000) * 100;
}
Instance of Symbol 26 MovieClip in Symbol 540 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.santa.santabelly) && (_root.santa.canmove == 1)) {
_root.santa.gotoAndPlay(_root.santa.directioner + "gethit");
_root.santa.mydamage = 10;
}
}
Instance of Symbol 505 MovieClip in Symbol 540 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 0;
while (i <= 6) {
if (this.hitTest(eval ("_root.santa.arm.weapon.weaponhitter" + i))) {
this.play();
}
i++;
}
}
Symbol 540 MovieClip Frame 29
y = random(7);
if (y < 4) {
gotoAndPlay("attack" + y);
} else {
gotoAndPlay ("attack3");
}
Instance of Symbol 505 MovieClip in Symbol 540 MovieClip Frame 30
onClipEvent (load) {
y = 1000;
}
onClipEvent (enterFrame) {
i = 0;
while (i <= 6) {
if (this.hitTest(eval ("_root.santa.arm.weapon.weaponhitter" + i))) {
this.play();
}
i++;
}
}
Symbol 540 MovieClip Frame 125
gotoAndPlay (1);
Instance of Symbol 26 MovieClip in Symbol 540 MovieClip Frame 144
onClipEvent (load) {
if (this.hitTest(_root.santa.santabelly) && (_root.santa.canmove == 1)) {
_root.santa.gotoAndPlay(_root.santa.directioner + "gethit");
_root.santa.mydamage = 15;
}
}
Symbol 540 MovieClip Frame 148
_root.santa.gotoAndPlay(_root.santa.directioner + "walk");
Symbol 540 MovieClip Frame 169
gotoAndPlay (1);
Instance of Symbol 26 MovieClip in Symbol 540 MovieClip Frame 169
onClipEvent (load) {
if (this.hitTest(_root.santa.santabelly) && (_root.santa.canmove == 1)) {
_root.santa.gotoAndPlay(_root.santa.directioner + "gethit");
_root.santa.mydamage = 5;
}
}
Instance of Symbol 26 MovieClip in Symbol 540 MovieClip Frame 170
onClipEvent (enterFrame) {
if (this.hitTest(_root.santa.santabelly) && (_root.santa.canmove == 1)) {
_root.santa.gotoAndPlay(_root.santa.directioner + "gethit");
_root.santa.mydamage = 10;
}
}
Instance of Symbol 26 MovieClip in Symbol 540 MovieClip Frame 192
onClipEvent (load) {
if (this.hitTest(_root.santa.santahead) && (_root.santa.canmove == 1)) {
_root.santa.gotoAndPlay(_root.santa.directioner + "gethit");
_root.santa.mydamage = 10;
}
}
Instance of Symbol 26 MovieClip in Symbol 540 MovieClip Frame 201
onClipEvent (enterFrame) {
if (this.hitTest(_root.santa.santabelly) && (_root.santa.canmove == 1)) {
_root.santa.gotoAndPlay(_root.santa.directioner + "gethit");
_root.santa.mydamage = 10;
}
}
Instance of Symbol 26 MovieClip in Symbol 540 MovieClip Frame 203
onClipEvent (load) {
if (this.hitTest(_root.santa.santahead) && (_root.santa.canmove == 1)) {
_root.santa.gotoAndPlay(_root.santa.directioner + "gethit");
_root.santa.mydamage = 10;
}
}
Symbol 540 MovieClip Frame 205
_root.santa.gotoAndPlay(_root.santa.directioner + "walk");
Instance of Symbol 26 MovieClip in Symbol 540 MovieClip Frame 205
onClipEvent (enterFrame) {
if (this.hitTest(_root.santa.santabelly) && (_root.santa.canmove == 1)) {
_root.santa.gotoAndPlay(_root.santa.directioner + "gethit");
_root.santa.mydamage = 5;
}
}
Instance of Symbol 26 MovieClip in Symbol 540 MovieClip Frame 212
onClipEvent (load) {
if (this.hitTest(_root.santa.santabelly) && (_root.santa.canmove == 1)) {
_root.santa.gotoAndPlay(_root.santa.directioner + "gethit");
_root.santa.mydamage = 10;
}
}
Instance of Symbol 26 MovieClip in Symbol 540 MovieClip Frame 214
onClipEvent (enterFrame) {
if (this.hitTest(_root.santa.santabelly) && (_root.santa.canmove == 1)) {
_root.santa.gotoAndPlay(_root.santa.directioner + "gethit");
_root.santa.mydamage = 5;
}
}
Instance of Symbol 26 MovieClip in Symbol 540 MovieClip Frame 219
onClipEvent (load) {
if (this.hitTest(_root.santa.santabelly) && (_root.santa.canmove == 1)) {
_root.santa.gotoAndPlay(_root.santa.directioner + "gethit");
_root.santa.mydamage = 10;
}
}
Instance of Symbol 26 MovieClip in Symbol 540 MovieClip Frame 221
onClipEvent (enterFrame) {
if (this.hitTest(_root.santa.santabelly) && (_root.santa.canmove == 1)) {
_root.santa.gotoAndPlay(_root.santa.directioner + "gethit");
_root.santa.mydamage = 5;
}
}
Instance of Symbol 26 MovieClip in Symbol 540 MovieClip Frame 227
onClipEvent (load) {
if (this.hitTest(_root.santa.santabelly) && (_root.santa.canmove == 1)) {
_root.santa.gotoAndPlay(_root.santa.directioner + "gethit");
_root.santa.mydamage = 10;
}
}
Instance of Symbol 26 MovieClip in Symbol 540 MovieClip Frame 229
onClipEvent (enterFrame) {
if (this.hitTest(_root.santa.santabelly) && (_root.santa.canmove == 1)) {
_root.santa.gotoAndPlay(_root.santa.directioner + "gethit");
_root.santa.mydamage = 5;
}
}
Instance of Symbol 26 MovieClip in Symbol 540 MovieClip Frame 235
onClipEvent (load) {
if (this.hitTest(_root.santa.santabelly) && (_root.santa.canmove == 1)) {
_root.santa.gotoAndPlay(_root.santa.directioner + "gethit");
_root.santa.mydamage = 10;
}
}
Instance of Symbol 26 MovieClip in Symbol 540 MovieClip Frame 237
onClipEvent (enterFrame) {
if (this.hitTest(_root.santa.santabelly) && (_root.santa.canmove == 1)) {
_root.santa.gotoAndPlay(_root.santa.directioner + "gethit");
_root.santa.mydamage = 5;
}
}
Symbol 540 MovieClip Frame 249
gotoAndPlay (1);
Symbol 542 MovieClip Frame 1
stopAllSounds();
Symbol 542 MovieClip Frame 2
stop();
Symbol 551 MovieClip Frame 234
stop();
Instance of Symbol 573 MovieClip in Symbol 574 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this._y > -2000) {
this._y = this._y - 0.15;
}
}
Symbol 576 Button
on (release) {
_root.gotoAndPlay("intro");
}
Symbol 593 Button
on (release) {
play();
}
Symbol 601 MovieClip Frame 1
if (_root.lives > 0) {
_root.lives--;
stop();
} else {
this.gotoAndStop("taik");
}
Symbol 601 MovieClip Frame 48
_root.hp = 100;
_root.gotoAndPlay("loadandstart");
Symbol 601 MovieClip Frame 49
stop();