Frame 1
copyright = "Xtreme Cartoon Co";
sYear = "2001";
developer = "circusx";
developerLink = "http://www.circusx.com/";
sponsor = "gamepug";
sponsorLink = "http://www.gamepug.com/";
playMoreGamesLink = "http://www.gamepug.com/";
gamesForYourSiteLink = "http://www.circusx.com/?page=freegames";
t = new Date();
tYear = t.getFullYear();
if (sYear != tYear) {
copyrightNotice = ((((("(c)" + sYear) + "-") + tYear) + " ") + _root.copyright) + ". All rights reserved.";
} else {
copyrightNotice = ((("(c)" + sYear) + " ") + _root.copyright) + ". All rights reserved.";
}
attachMovie("sponsor_background_" + _root.sponsor, "background", 9997);
attachMovie("loading_bar_" + _root.sponsor, "loading_bar", 10007);
Frame 2
attachMovie("sponsor_button", "sponsor_button", 9998);
attachMovie("movieQualitySetting", "movieQualitySetting", 9999);
attachMovie("sponsor_logo", "sponsor_logo", 10006);
attachMovie("menu_back_" + _root.sponsor, "menu_back", 10008);
attachMovie("menu_play", "menu_play", 100009);
attachMovie("menu_games", "menu_games", 100010);
attachMovie("menu_" + _root.sponsor, "menu_volume", 10011);
attachMovie("mask_bottom", "mask_bottom", 10012);
attachMovie("mask_top", "mask_top", 10013);
attachMovie("mask_right", "mask_right", 10014);
attachMovie("mask_left", "mask_left", 10015);
stop();
Frame 3
1();
Frame 6
attachMovie("play_button", "play_button", 10007);
stop();
Frame 7
1();
Frame 20
attachMovie("developer_background_" + _root.developer, "background", 9997);
attachMovie("developer_button", "developer_button", 9998);
attachMovie("developer_logo", "developer_logo", 10006);
attachMovie("copyright", "copyright", 10007);
Frame 69
developer_button.removeMovieClip();
attachMovie("game_intro_background", "background", 9997);
attachMovie("game_intro", "game_intro", 10006);
attachMovie("stage_buttons_" + _root.sponsor, "stage_buttons", 10007);
stop();
Frame 70
1();
Frame 89
attachMovie("game_instructions_background", "background", 9997);
attachMovie("game_instructions", "game_instructions", 10006);
stop();
Frame 90
1();
Frame 109
_root.level = 1;
_root.movieQualitySetting.movieQuality = _root.movieQualityDefault;
stop();
Frame 110
_root.movieQualitySetting.movieQuality = _root.movieQualityDefault;
_root.level = 2;
stop();
Frame 111
_root.movieQualitySetting.movieQuality = 4;
Frame 121
stop();
Frame 122
_root.movieQualitySetting.movieQuality = 4;
Frame 154
stop();
Frame 155
_root.movieQualitySetting.movieQuality = 4;
stopAllSounds();
Frame 205
stop();
Symbol 3 Button
on (release) {
getURL (_root.sponsorLink, "_blank");
}
Symbol 4 MovieClip [sponsor_button] Frame 1
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
this._height = Stage.height - (25 * stageD);
this._width = Stage.width + Number(10);
this._y = -5;
this._x = -5;
Symbol 5 Button
on (release) {
getURL (_root.developerLink, "_blank");
}
Symbol 6 MovieClip [developer_button] Frame 1
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
this._height = Stage.height - (25 * stageD);
this._width = Stage.width + Number(10);
this._y = -5;
this._x = -5;
Symbol 10 MovieClip [copyright] Frame 1
copyrightNotice = _root.copyrightNotice;
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
graphicW = this._width;
graphicH = this._height;
this._width = graphicW * stageD;
this._height = graphicH * stageD;
this._y = Stage.height - (50 * stageD);
this._x = Stage.width / 2;
Symbol 11 MovieClip [movieQualitySetting] Frame 1
movieQuality = 4;
_root.movieQualityDefault = 2;
Selection.setFocus(this);
this.onEnterFrame = function () {
if (_root.movieQualitySetting.movieQuality == 4) {
} else if (_root.movieQualityUserSet == 0) {
_root.movieQualitySetting.movieQuality = _root.movieQualityDefault;
} else {
_root.movieQualitySetting.movieQuality = _root.movieQualityUserSet;
}
};
Symbol 13 MovieClip [mask_top] Frame 1
this._height = Stage.height * 2;
this._width = Stage.width * 2;
this._x = -(Stage.width / 2);
this._y = -(Number(Stage.height * 2) + 5);
Symbol 14 MovieClip [mask_right] Frame 1
this._height = Stage.height * 2;
this._width = Stage.width * 2;
this._x = Stage.width + Number(5);
this._y = -(Stage.height / 2);
Symbol 15 MovieClip [mask_left] Frame 1
this._height = Stage.height * 2;
this._width = Stage.width * 2;
this._x = -((Stage.width * 2) + Number(5));
this._y = -(Stage.height / 2);
Symbol 16 MovieClip [mask_bottom] Frame 1
this._height = Stage.height * 2;
this._width = Stage.width * 2;
this._x = -(Stage.width / 2);
this._y = Number(Stage.height) + 5;
Symbol 17 MovieClip [sponsor_logo] Frame 1
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
this._x = Stage.width / 2;
this._y = (Stage.height / 2) - (30 * stageD);
attachMovie("sponsor_logo_" + _root.sponsor, "sponsor_logo", 100010);
Symbol 22 Button
on (release) {
_root.game = "pause";
gotoAndStop (5);
}
Symbol 28 Button
on (press) {
_level0.movieQualityUserSet = 1;
gotoAndStop (7);
}
Symbol 30 Button
on (press) {
_level0.movieQualityUserSet = 2;
gotoAndStop (14);
}
Symbol 31 Button
on (press) {
_level0.movieQualityUserSet = 3;
gotoAndStop (22);
}
Symbol 33 Button
on (press) {
_level0.movieQualityUserSet = 2;
_level0.movieQualitySetting.movieQuality = 2;
gotoAndStop (14);
}
Symbol 34 Button
on (press) {
_level0.movieQualityUserSet = 3;
_level0.movieQualitySetting.movieQuality = 3;
gotoAndStop (22);
}
Symbol 35 Button
on (press) {
_level0.movieQualityUserSet = 1;
_level0.movieQualitySetting.movieQuality = 1;
gotoAndStop (7);
}
Symbol 36 MovieClip Frame 1
if (_level0.movieQualitySetting.movieQuality == 1) {
_quality = "low";
this.gotoAndStop("low");
}
if (_level0.movieQualitySetting.movieQuality == 2) {
_quality = "medium";
this.gotoAndStop("medium");
}
if (_level0.movieQualitySetting.movieQuality == 3) {
_quality = "high";
this.gotoAndStop("high");
}
if (_level0.movieQualitySetting.movieQuality == 4) {
_quality = "high";
this.gotoAndStop("high");
}
stop();
Symbol 36 MovieClip Frame 7
stop();
Symbol 36 MovieClip Frame 14
stop();
Symbol 36 MovieClip Frame 22
stop();
Symbol 37 Button
on (press) {
if ((_root.audioVolume > 0) and (_root.audioVolume <= 140)) {
_root.audioVolume = Number(_root.audioVolume) - 20;
s = new Sound(_level0);
s.setVolume(_root.audioVolume);
b = new Sound(_level1);
b.attachSound("beep");
b.start();
b.setVolume(_root.audioVolume);
}
}
Symbol 38 Button
on (press) {
if ((_root.audioVolume >= 0) and (_root.audioVolume < 140)) {
_root.audioVolume = Number(_root.audioVolume) + 20;
s = new Sound(_level0);
s.setVolume(_root.audioVolume);
b = new Sound(_level1);
b.attachSound("beep");
b.start();
b.setVolume(_root.audioVolume);
}
}
Symbol 40 MovieClip Frame 1
if (_root.audioVolume <= 0) {
this.gotoAndStop("zero");
}
if ((_root.audioVolume > 0) and (_root.audioVolume <= 20)) {
this.gotoAndStop("one");
}
if ((_root.audioVolume > 20) and (_root.audioVolume <= 40)) {
this.gotoAndStop("two");
}
if ((_root.audioVolume > 40) and (_root.audioVolume <= 60)) {
this.gotoAndStop("three");
}
if ((_root.audioVolume > 60) and (_root.audioVolume <= 80)) {
this.gotoAndStop("four");
}
if ((_root.audioVolume > 80) and (_root.audioVolume <= 100)) {
this.gotoAndStop("five");
}
if ((_root.audioVolume > 100) and (_root.audioVolume <= 120)) {
this.gotoAndStop("six");
}
if (_root.audioVolume > 120) {
this.gotoAndStop("seven");
}
stop();
Symbol 41 Button
on (release) {
_root.game = "play";
gotoAndStop (1);
}
Symbol 42 MovieClip [menu_gamexone] Frame 1
if (thisRun != "Y") {
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
graphicW = this._width;
graphicH = this._height;
this._width = graphicW * stageD;
this._height = graphicH * stageD;
this._y = Stage.height;
this._x = Stage.width / 2;
_root.movieQualityDefault = 2;
_root.movieQualityUserSet = 0;
thisRun = "Y";
}
Selection.setFocus(this);
this.onEnterFrame = function () {
if (_root.defaultAudioSet != 1) {
_root.defaultAudioSet = 1;
_root.audioVolume = 80;
s = new Sound(_level0);
s.setVolume(_root.audioVolume);
}
if (movieQualityChange != _level0.movieQualitySetting.movieQuality) {
if (_level0.movieQualitySetting.movieQuality == 1) {
_quality = "low";
}
if (_level0.movieQualitySetting.movieQuality == 2) {
_quality = "medium";
}
if (_level0.movieQualitySetting.movieQuality == 3) {
_quality = "high";
}
if (_level0.movieQualitySetting.movieQuality == 4) {
_quality = "high";
}
movieQualityChange = _level0.movieQualitySetting.movieQuality;
}
};
stop();
Symbol 42 MovieClip [menu_gamexone] Frame 2
1();
Symbol 42 MovieClip [menu_gamexone] Frame 5
stop();
Instance of Symbol 36 MovieClip in Symbol 42 MovieClip [menu_gamexone] Frame 5
onClipEvent (enterFrame) {
if (_level0.movieQualitySetting.movieQuality == 1) {
_quality = "low";
this.gotoAndStop("low");
}
if (_level0.movieQualitySetting.movieQuality == 2) {
_quality = "medium";
this.gotoAndStop("medium");
}
if (_level0.movieQualitySetting.movieQuality == 3) {
_quality = "high";
this.gotoAndStop("high");
}
if (_level0.movieQualitySetting.movieQuality == 4) {
_quality = "high";
this.gotoAndStop("high");
}
}
Instance of Symbol 40 MovieClip in Symbol 42 MovieClip [menu_gamexone] Frame 5
onClipEvent (enterFrame) {
if (_root.audioVolume <= 0) {
this.gotoAndStop("zero");
}
if ((_root.audioVolume > 0) and (_root.audioVolume <= 20)) {
this.gotoAndStop("one");
}
if ((_root.audioVolume > 20) and (_root.audioVolume <= 40)) {
this.gotoAndStop("two");
}
if ((_root.audioVolume > 40) and (_root.audioVolume <= 60)) {
this.gotoAndStop("three");
}
if ((_root.audioVolume > 60) and (_root.audioVolume <= 80)) {
this.gotoAndStop("four");
}
if ((_root.audioVolume > 80) and (_root.audioVolume <= 100)) {
this.gotoAndStop("five");
}
if ((_root.audioVolume > 100) and (_root.audioVolume <= 120)) {
this.gotoAndStop("six");
}
if (_root.audioVolume > 120) {
this.gotoAndStop("seven");
}
}
Symbol 42 MovieClip [menu_gamexone] Frame 6
1();
Symbol 44 MovieClip [menu_back_gamexone] Frame 1
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
this._height = 40 * stageD;
this._width = Stage.width + Number(10);
this._y = Stage.height - (30 * stageD);
this._x = -5;
Symbol 47 Button
on (release) {
_root.game = "pause";
gotoAndStop (5);
}
Symbol 51 Button
on (release) {
_root.game = "play";
gotoAndStop (1);
}
Symbol 52 MovieClip [menu_gamepug] Frame 1
if (thisRun != "Y") {
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
graphicW = this._width;
graphicH = this._height;
this._width = graphicW * stageD;
this._height = graphicH * stageD;
this._y = Stage.height;
this._x = Stage.width / 2;
_root.movieQualityDefault = 2;
_root.movieQualityUserSet = 0;
thisRun = "Y";
}
Selection.setFocus(this);
this.onEnterFrame = function () {
if (_root.defaultAudioSet != 1) {
_root.defaultAudioSet = 1;
_root.audioVolume = 80;
s = new Sound(_level0);
s.setVolume(_root.audioVolume);
}
if (movieQualityChange != _level0.movieQualitySetting.movieQuality) {
if (_level0.movieQualitySetting.movieQuality == 1) {
_quality = "low";
}
if (_level0.movieQualitySetting.movieQuality == 2) {
_quality = "medium";
}
if (_level0.movieQualitySetting.movieQuality == 3) {
_quality = "high";
}
if (_level0.movieQualitySetting.movieQuality == 4) {
_quality = "high";
}
movieQualityChange = _level0.movieQualitySetting.movieQuality;
}
};
_root.game = "play";
stop();
Symbol 52 MovieClip [menu_gamepug] Frame 2
1();
Symbol 52 MovieClip [menu_gamepug] Frame 5
stop();
Instance of Symbol 36 MovieClip in Symbol 52 MovieClip [menu_gamepug] Frame 5
onClipEvent (enterFrame) {
if (_level0.movieQualitySetting.movieQuality == 1) {
_quality = "low";
this.gotoAndStop("low");
}
if (_level0.movieQualitySetting.movieQuality == 2) {
_quality = "medium";
this.gotoAndStop("medium");
}
if (_level0.movieQualitySetting.movieQuality == 3) {
_quality = "high";
this.gotoAndStop("high");
}
if (_level0.movieQualitySetting.movieQuality == 4) {
_quality = "high";
this.gotoAndStop("high");
}
}
Instance of Symbol 40 MovieClip in Symbol 52 MovieClip [menu_gamepug] Frame 5
onClipEvent (enterFrame) {
if (_root.audioVolume <= 0) {
this.gotoAndStop("zero");
}
if ((_root.audioVolume > 0) and (_root.audioVolume <= 20)) {
this.gotoAndStop("one");
}
if ((_root.audioVolume > 20) and (_root.audioVolume <= 40)) {
this.gotoAndStop("two");
}
if ((_root.audioVolume > 40) and (_root.audioVolume <= 60)) {
this.gotoAndStop("three");
}
if ((_root.audioVolume > 60) and (_root.audioVolume <= 80)) {
this.gotoAndStop("four");
}
if ((_root.audioVolume > 80) and (_root.audioVolume <= 100)) {
this.gotoAndStop("five");
}
if ((_root.audioVolume > 100) and (_root.audioVolume <= 120)) {
this.gotoAndStop("six");
}
if (_root.audioVolume > 120) {
this.gotoAndStop("seven");
}
}
Symbol 52 MovieClip [menu_gamepug] Frame 6
1();
Symbol 53 MovieClip [menu_back_gamepug] Frame 1
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
this._height = 40 * stageD;
this._width = Stage.width + Number(10);
this._y = Stage.height - (30 * stageD);
this._x = -5;
Symbol 56 Button
on (release) {
getURL (_root.playMoreGamesLink, "_blank");
}
Symbol 57 MovieClip [menu_play] Frame 1
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
graphicW = this._width;
graphicH = this._height;
this._width = graphicW * stageD;
this._height = graphicH * stageD;
this._y = Stage.height;
this._x = Number(this._width / 2) + (10 * stageD);
Symbol 59 Button
on (release) {
getURL (_root.gamesForYourSiteLink, "_blank");
}
Symbol 60 MovieClip [menu_games] Frame 1
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
graphicW = this._width;
graphicH = this._height;
this._width = graphicW * stageD;
this._height = graphicH * stageD;
this._y = Stage.height;
this._x = Stage.width - (Number(this._width / 2) + (10 * stageD));
Symbol 62 Button
on (press) {
_root.background.removeMovieClip();
_root.game_intro.removeMovieClip();
_root.gotoAndPlay("game");
this.removeMovieClip();
}
Symbol 63 Button
on (press) {
_root.gotoAndStop("instructions");
this.removeMovieClip();
}
Symbol 64 MovieClip [stage_buttons_gamepug] Frame 1
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
graphicW = this._width;
graphicH = this._height;
this._width = graphicW * stageD;
this._height = graphicH * stageD;
this._y = Stage.height - 50;
this._x = Stage.width / 2;
Symbol 78 MovieClip Frame 43
stop();
Symbol 81 MovieClip [sponsor_background_gamepug] Frame 1
this._height = Stage.height + Number(10);
this._width = Stage.width + Number(10);
this._y = -5;
this._x = -5;
Symbol 83 Button
on (press) {
_root.background.removeMovieClip();
_root.developer_instructions.removeMovieClip();
_root.gotoAndStop("game");
this.removeMovieClip();
}
Symbol 84 MovieClip [play_button2] Frame 1
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
graphicW = this._width;
graphicH = this._height;
this._width = graphicW * stageD;
this._height = graphicH * stageD;
this._y = Stage.height - 50;
this._x = Stage.width / 2;
Symbol 85 Button
on (press) {
_root.gotoAndPlay("GO");
this.removeMovieClip();
}
Symbol 86 MovieClip [play_button] Frame 1
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
graphicW = this._width;
graphicH = this._height;
this._width = graphicW * stageD;
this._height = graphicH * stageD;
this._y = Stage.height - 50;
this._x = Stage.width / 2;
Symbol 89 MovieClip Frame 1
Selection.setFocus(this);
this.onEnterFrame = function () {
if (runThis != 1) {
totalFileSize = _root.getBytesTotal();
this._xscale = 0;
runThis = 1;
}
bytesLoaded = _root.getBytesLoaded();
amountLoaded = bytesLoaded / totalFileSize;
percentLoaded = int(100 * amountLoaded);
this._xscale = percentLoaded;
if (amountLoaded >= 1) {
_level0.gotoAndStop("begin");
}
};
Symbol 91 MovieClip [loading_bar_gamepug] Frame 1
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
graphicW = this._width;
graphicH = this._height;
this._width = graphicW * stageD;
this._height = graphicH * stageD;
this._y = Stage.height - 50;
this._x = Stage.width / 2;
Symbol 92 MovieClip [game_intro] Frame 1
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
this._x = Stage.width / 2;
this._y = (Stage.height / 2) - (80 * stageD);
attachMovie("game_intro_graphic", "game_intro_graphic", 100010);
Symbol 93 MovieClip [game_instructions] Frame 1
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
this._x = Stage.width / 2;
this._y = (Stage.height / 2) - (30 * stageD);
attachMovie("game_instructions_graphic", "game_instructions_graphic", 100010);
Symbol 100 MovieClip [game_intro_background] Frame 1
this._height = Stage.height + Number(10);
this._width = Stage.width + Number(10);
this._y = -5;
this._x = -5;
Symbol 104 MovieClip Frame 1
stop();
Symbol 104 MovieClip Frame 4
santaX = Number(getProperty("/santa", _x)) + 20;
santaY = getProperty("/santa", _y) - 80;
hammer1X = Number(getProperty("/points", _x)) + 40;
hammer1Y = Number(getProperty("/points", _y)) + 40;
if ((((Number(Number(hammer1x) + 40) >= Number(santaX)) and (Number(hammer1X) <= Number(Number(santaX) + 40))) and (Number(Number(hammer1Y) + 40) >= Number(santaY))) and (Number(hammer1Y) <= Number(Number(santaY) + 40))) {
tellTarget ("/santa") {
gotoAndPlay ("konk");
};
gotoAndStop (7);
}
Symbol 104 MovieClip Frame 5
call("hit");
Symbol 104 MovieClip Frame 6
Set("/:score", Number(/:score) + 50);
stop();
Symbol 104 MovieClip Frame 7
Set("/:score", Number(/:score) + 100);
stop();
Symbol 109 MovieClip Frame 1
stop();
Symbol 109 MovieClip Frame 4
Set("/:score", Number(/:score) + 50);
Symbol 109 MovieClip Frame 7
stop();
Symbol 115 MovieClip Frame 1
stop();
Symbol 115 MovieClip Frame 4
santaX = Number(getProperty("/santa", _x)) + 20;
santaY = getProperty("/santa", _y) - 80;
hammer1X = Number(getProperty("/points", _x)) + 40;
hammer1Y = Number(getProperty("/points", _y)) + 40;
if ((((Number(Number(hammer1x) + 40) >= Number(santaX)) and (Number(hammer1X) <= Number(Number(santaX) + 40))) and (Number(Number(hammer1Y) + 40) >= Number(santaY))) and (Number(hammer1Y) <= Number(Number(santaY) + 40))) {
tellTarget ("/santa") {
gotoAndPlay ("konk");
};
gotoAndStop (8);
}
Symbol 115 MovieClip Frame 5
call("hit");
Symbol 115 MovieClip Frame 6
Set("/:score", Number(/:score) + 50);
Symbol 115 MovieClip Frame 7
stop();
Symbol 115 MovieClip Frame 8
Set("/:score", Number(/:score) + 100);
stop();
Symbol 135 MovieClip Frame 1
stop();
Symbol 135 MovieClip Frame 7
gotoAndStop (1);
Symbol 140 Button
on (rollOver) {
b = new Sound();
b.attachSound("Bottle Pop 1");
b.start();
}
on (press) {
_root.background.removeMovieClip();
_root.developer_intro.removeMovieClip();
_root.gotoAndPlay("game");
this.removeMovieClip();
}
Symbol 143 MovieClip [game_instructions_background] Frame 1
this._height = Stage.height + Number(10);
this._width = Stage.width + Number(10);
this._y = -5;
this._x = -5;
Symbol 144 MovieClip [developer_logo] Frame 1
stageW = Stage.width;
if (stageW < 550) {
stageD = stageW / 550;
} else {
stageD = 1;
}
this._x = Stage.width / 2;
this._y = (Stage.height / 2) - (30 * stageD);
attachMovie("developer_logo_" + _root.developer, "developer_logo", 100010);
Symbol 149 MovieClip [developer_background_circusx] Frame 1
this._height = Stage.height + Number(10);
this._width = Stage.width + Number(10);
this._y = -5;
this._x = -5;
Symbol 155 Button
on (keyPress "<Right>") {
setProperty("/nothing", _y , "700");
}
on (keyPress "<Left>") {
setProperty("/nothing", _y , "700");
}
on (keyPress ",") {
setProperty("/nothing", _y , "700");
}
on (keyPress ".") {
setProperty("/nothing", _y , "700");
}
Symbol 211 MovieClip Frame 1
random = random(10);
Symbol 211 MovieClip Frame 2
if (Number(random) == 5) {
gotoAndPlay (57);
}
Symbol 211 MovieClip Frame 7
gotoAndPlay (1);
Symbol 211 MovieClip Frame 10
setProperty("/santa", _x , getProperty("/santa", _x) - 10);
Symbol 211 MovieClip Frame 11
call("hit");
Symbol 211 MovieClip Frame 12
Set("/:score", Number(/:score) + 50);
call("hit");
Symbol 211 MovieClip Frame 13
call("hit");
Symbol 211 MovieClip Frame 14
call("hit");
Symbol 211 MovieClip Frame 15
call("hit");
Symbol 211 MovieClip Frame 16
call("hit");
Symbol 211 MovieClip Frame 17
call("hit");
Symbol 211 MovieClip Frame 18
call("hit");
Symbol 211 MovieClip Frame 19
call("hit");
Symbol 211 MovieClip Frame 20
call("hit");
Symbol 211 MovieClip Frame 21
call("hit");
Symbol 211 MovieClip Frame 22
call("hit");
Symbol 211 MovieClip Frame 23
call("hit");
Symbol 211 MovieClip Frame 24
_root.santaHit = 0;
gotoAndPlay (1);
Symbol 211 MovieClip Frame 28
setProperty("/santa", _x , getProperty("/santa", _x) - 10);
Symbol 211 MovieClip Frame 29
call("konk");
Symbol 211 MovieClip Frame 30
call("konk");
Symbol 211 MovieClip Frame 31
call("konk");
Symbol 211 MovieClip Frame 32
call("konk");
Symbol 211 MovieClip Frame 33
call("konk");
Symbol 211 MovieClip Frame 34
call("konk");
Symbol 211 MovieClip Frame 35
call("konk");
Symbol 211 MovieClip Frame 36
call("konk");
Symbol 211 MovieClip Frame 37
call("konk");
gotoAndPlay (1);
Symbol 211 MovieClip Frame 40
setProperty("/santa", _x , getProperty("/santa", _x) - 10);
Symbol 211 MovieClip Frame 41
call("eye");
Symbol 211 MovieClip Frame 42
call("eye");
Symbol 211 MovieClip Frame 43
call("eye");
Symbol 211 MovieClip Frame 44
call("eye");
Symbol 211 MovieClip Frame 45
call("eye");
Symbol 211 MovieClip Frame 46
call("eye");
Symbol 211 MovieClip Frame 47
call("eye");
Symbol 211 MovieClip Frame 48
call("eye");
Symbol 211 MovieClip Frame 49
call("eye");
Symbol 211 MovieClip Frame 50
call("eye");
Symbol 211 MovieClip Frame 51
call("eye");
Symbol 211 MovieClip Frame 52
call("eye");
gotoAndPlay (1);
Symbol 211 MovieClip Frame 62
elfHx = getProperty("/elf", _x) - 20;
elfHy = getProperty("/elf", _y);
santaX = Number(getProperty("/santa", _x)) + 45;
santaY = Number(getProperty("/santa", _y)) + 30;
if ((((Number(Number(santaX) + 40) >= Number(elfHx)) and (Number(santaX) <= Number(Number(elfHx) + 60))) and (Number(santaY) <= Number(Number(elfHy) + 60))) and (Number(Number(santaY) + 20) >= Number(elfHy))) {
tellTarget ("/master button") {
gotoAndStop ("off");
};
tellTarget ("/elf") {
gotoAndPlay ("hit");
};
gotoAndPlay (87);
}
Symbol 211 MovieClip Frame 63
call("swing1");
Symbol 211 MovieClip Frame 67
gotoAndPlay (1);
Symbol 211 MovieClip Frame 85
gotoAndPlay (1);
Symbol 211 MovieClip Frame 87
tellTarget ("/master button") {
gotoAndStop ("off");
};
tellTarget ("/elf") {
gotoAndPlay ("hit");
};
tellTarget ("/mid") {
stop();
};
tellTarget ("/jumps") {
stop();
};
tellTarget ("/points") {
stop();
};
Symbol 211 MovieClip Frame 107
tellTarget ("_level0") {
gotoAndPlay ("lose1");
};
Symbol 211 MovieClip Frame 108
tellTarget ("_level0") {
gotoAndPlay ("lose1");
};
Symbol 211 MovieClip Frame 142
stop();
Symbol 223 MovieClip Frame 28
stop();
Symbol 239 MovieClip Frame 1
hit = 0;
tellTarget ("/master button") {
gotoAndStop ("on");
};
Symbol 239 MovieClip Frame 2
setProperty("/elf", _y , 240);
setProperty("/santa", _x , Number(getProperty("/santa", _x)) + 4);
elfPosition = getProperty("/elf", _x) - 100;
santaPosition = getProperty("/santa", _x);
if (Number(santaPosition) >= Number(elfPosition)) {
setProperty("/santa", _x , getProperty("/elf", _x) - 75);
} else {
setProperty("/santa", _x , Number(getProperty("/santa", _x)) + 1);
}
Symbol 239 MovieClip Frame 7
gotoAndPlay (2);
Symbol 239 MovieClip Frame 8
setProperty("/elf", _x , -50);
stop();
Symbol 239 MovieClip Frame 11
tellTarget ("/master button") {
gotoAndStop ("off");
};
setProperty("/elf", _y , getProperty("/elf", _y) - 35);
elfPosition = getProperty("/elf", _x) - 100;
santaPosition = getProperty("/santa", _x);
if (Number(santaPosition) >= Number(elfPosition)) {
setProperty("/santa", _x , getProperty("/elf", _x) - 75);
} else {
setProperty("/santa", _x , Number(getProperty("/santa", _x)) + 1);
}
Symbol 239 MovieClip Frame 12
call("jump");
Symbol 239 MovieClip Frame 13
elfPosition = getProperty("/elf", _x) - 100;
santaPosition = getProperty("/santa", _x);
if (Number(santaPosition) >= Number(elfPosition)) {
setProperty("/santa", _x , getProperty("/elf", _x) - 100);
} else {
setProperty("/santa", _x , Number(getProperty("/santa", _x)) + 1);
}
Symbol 239 MovieClip Frame 14
call("jump1");
Symbol 239 MovieClip Frame 15
call("jump1");
Symbol 239 MovieClip Frame 16
call("jump1");
Symbol 239 MovieClip Frame 17
call("jump1");
Symbol 239 MovieClip Frame 18
setProperty("/elf", _y , Number(getProperty("/elf", _y)) + 35);
elfPosition = getProperty("/elf", _x) - 100;
santaPosition = getProperty("/santa", _x);
if (Number(santaPosition) >= Number(elfPosition)) {
setProperty("/santa", _x , getProperty("/elf", _x) - 75);
} else {
setProperty("/santa", _x , Number(getProperty("/santa", _x)) + 1);
}
Symbol 239 MovieClip Frame 19
call("jump2");
Symbol 239 MovieClip Frame 20
tellTarget ("/master button") {
gotoAndStop ("on");
};
if (Number(hit) == 1) {
gotoAndPlay (72);
} else {
gotoAndPlay (2);
}
Symbol 239 MovieClip Frame 24
tellTarget ("/santa") {
gotoAndPlay ("done");
};
tellTarget ("/master button") {
gotoAndStop ("off");
};
tellTarget ("/mid") {
stop();
};
tellTarget ("/jumps") {
stop();
};
tellTarget ("/points") {
stop();
};
tellTarget ("/elf3") {
stop();
};
Symbol 239 MovieClip Frame 30
tellTarget ("/master button") {
gotoAndStop ("off");
};
tellTarget ("/mid") {
stop();
};
tellTarget ("/jumps") {
stop();
};
tellTarget ("/points") {
stop();
};
tellTarget ("/elf3") {
stop();
};
Symbol 239 MovieClip Frame 46
stop();
Symbol 239 MovieClip Frame 52
tellTarget ("/master button") {
gotoAndStop ("off");
};
setProperty("/elf", _y , 220);
elfPosition = getProperty("/elf", _x) - 100;
santaPosition = getProperty("/santa", _x);
if (Number(santaPosition) >= Number(elfPosition)) {
setProperty("/santa", _x , getProperty("/elf", _x) - 75);
} else {
setProperty("/santa", _x , Number(getProperty("/santa", _x)) + 4);
}
Symbol 239 MovieClip Frame 53
call("fall");
Symbol 239 MovieClip Frame 54
call("fall");
Symbol 239 MovieClip Frame 55
call("fall");
Symbol 239 MovieClip Frame 56
call("fall");
Symbol 239 MovieClip Frame 57
call("fall");
Symbol 239 MovieClip Frame 58
call("fall");
Symbol 239 MovieClip Frame 59
call("fall");
Symbol 239 MovieClip Frame 60
call("fall");
Symbol 239 MovieClip Frame 61
call("fall");
Symbol 239 MovieClip Frame 62
call("fall");
Symbol 239 MovieClip Frame 63
call("fall");
Symbol 239 MovieClip Frame 64
call("fall");
Symbol 239 MovieClip Frame 65
call("fall");
Symbol 239 MovieClip Frame 66
call("fall");
Symbol 239 MovieClip Frame 67
call("fall");
Symbol 239 MovieClip Frame 68
gotoAndPlay (1);
tellTarget ("/santa") {
gotoAndPlay ("running");
};
Symbol 239 MovieClip Frame 72
tellTarget ("/master button") {
gotoAndStop ("off");
};
setProperty("/elf", _y , 220);
elfPosition = getProperty("/elf", _x) - 100;
santaPosition = getProperty("/santa", _x);
if (Number(santaPosition) >= Number(elfPosition)) {
setProperty("/santa", _x , getProperty("/elf", _x) - 75);
} else {
setProperty("/santa", _x , Number(getProperty("/santa", _x)) + 4);
}
tellTarget ("/mid") {
stop();
};
tellTarget ("/jumps") {
stop();
};
tellTarget ("/points") {
stop();
};
tellTarget ("/elf3") {
stop();
};
Symbol 239 MovieClip Frame 73
call("board");
if (Number(santaPosition) >= Number(elfPosition)) {
tellTarget ("/santa") {
gotoAndPlay ("easy");
};
}
Symbol 239 MovieClip Frame 74
call("board");
Symbol 239 MovieClip Frame 75
call("board");
Symbol 239 MovieClip Frame 76
call("board");
Symbol 239 MovieClip Frame 77
call("board");
Symbol 239 MovieClip Frame 78
call("board");
Symbol 239 MovieClip Frame 79
call("board");
Symbol 239 MovieClip Frame 80
call("board");
Symbol 239 MovieClip Frame 81
call("board");
Symbol 239 MovieClip Frame 82
call("board");
Symbol 239 MovieClip Frame 83
call("board");
Symbol 239 MovieClip Frame 84
call("board");
Symbol 239 MovieClip Frame 85
call("board");
Symbol 239 MovieClip Frame 86
call("board");
Symbol 239 MovieClip Frame 87
tellTarget ("/mid") {
play();
};
tellTarget ("/jumps") {
play();
};
tellTarget ("/points") {
play();
};
tellTarget ("/elf3") {
play();
};
tellTarget ("/santa") {
gotoAndPlay ("running");
};
gotoAndPlay (1);
Symbol 240 MovieClip Frame 1
stop();
Symbol 240 MovieClip Frame 4
santaX = Number(getProperty("/santa", _x)) + 20;
santaY = getProperty("/santa", _y) - 80;
hammer1X = Number(getProperty("/points", _x)) + 400;
hammer1Y = Number(getProperty("/points", _y)) + 40;
if ((((Number(Number(hammer1x) + 40) >= Number(santaX)) and (Number(hammer1X) <= Number(Number(santaX) + 40))) and (Number(Number(hammer1Y) + 40) >= Number(santaY))) and (Number(hammer1Y) <= Number(Number(santaY) + 40))) {
tellTarget ("/santa") {
gotoAndPlay ("konk");
};
gotoAndStop (8);
}
Symbol 240 MovieClip Frame 5
call("hit");
Symbol 240 MovieClip Frame 6
Set("/:score", Number(/:score) + 50);
Symbol 240 MovieClip Frame 7
stop();
Symbol 240 MovieClip Frame 8
Set("/:score", Number(/:score) + 100);
stop();
Symbol 243 MovieClip Frame 1
stop();
Symbol 243 MovieClip Frame 2
Set("/:score", Number(/:score) + 50);
stop();
Symbol 245 MovieClip Frame 1
stop();
Symbol 245 MovieClip Frame 2
Set("/:score", Number(/:score) + 50);
stop();
Symbol 256 MovieClip Frame 1
stop();
Symbol 256 MovieClip Frame 4
Set("/:score", Number(/:score) + 50);
Symbol 256 MovieClip Frame 7
stop();
Symbol 259 MovieClip Frame 1
stop();
Symbol 259 MovieClip Frame 5
stop();
Symbol 265 MovieClip Frame 1
stop();
Symbol 265 MovieClip Frame 2
setProperty("/elf", _x , -50);
Symbol 265 MovieClip Frame 7
hit3X = Number(getProperty("/points", _x)) + 600;
hit3Y = Number(getProperty("/points", _y)) + 60;
santaX = getProperty("/santa", _x) - 40;
santaY = getProperty("/santa", _y) - 80;
if ((((Number(hit3X) <= Number(Number(santaX) + 80)) and (Number(Number(hit3X) + 20) >= Number(santaX))) and (Number(hit3Y) <= Number(Number(santaY) + 100))) and (Number(Number(hit3Y) + 40) >= Number(santaY))) {
tellTarget ("/santa") {
gotoAndPlay ("hit");
};
}
Symbol 265 MovieClip Frame 8
hit2X = Number(getProperty("/points", _x)) + 560;
hit2Y = Number(getProperty("/points", _y)) + 60;
santaX = getProperty("/santa", _x) - 40;
santaY = getProperty("/santa", _y) - 80;
if ((((Number(hit2X) <= Number(Number(santaX) + 80)) and (Number(Number(hit2X) + 20) >= Number(santaX))) and (Number(hit2Y) <= Number(Number(santaY) + 100))) and (Number(Number(hit2Y) + 40) >= Number(santaY))) {
tellTarget ("/santa") {
gotoAndPlay ("hit");
};
}
Symbol 265 MovieClip Frame 9
hit1X = Number(getProperty("/points", _x)) + 520;
hit1Y = Number(getProperty("/points", _y)) + 60;
santaX = getProperty("/santa", _x) - 40;
santaY = getProperty("/santa", _y) - 80;
if ((((Number(hit1X) <= Number(Number(santaX) + 80)) and (Number(Number(hit1X) + 20) >= Number(santaX))) and (Number(hit1Y) <= Number(Number(santaY) + 100))) and (Number(Number(hit1y) + 40) >= Number(santaY))) {
tellTarget ("/santa") {
gotoAndPlay ("hit");
};
}
Symbol 265 MovieClip Frame 10
call("hit2");
Symbol 265 MovieClip Frame 11
call("hit2");
Symbol 265 MovieClip Frame 12
call("hit1");
Symbol 265 MovieClip Frame 13
call("hit3");
Symbol 265 MovieClip Frame 17
setProperty("/elf", _x , 320);
tellTarget ("/elf") {
gotoAndPlay ("on");
};
gotoAndStop (1);
Symbol 271 MovieClip Frame 1
stop();
Symbol 271 MovieClip Frame 2
setProperty("/elf", _x , -50);
Symbol 271 MovieClip Frame 7
hit3X = getProperty("/points", _x) - 600;
hit3Y = Number(getProperty("/points", _y)) + 60;
santaX = getProperty("/santa", _x) - 40;
santaY = getProperty("/santa", _y) - 80;
if (_root.santaHit == 0) {
if ((((Number(hit3X) <= Number(Number(santaX) + 80)) and (Number(Number(hit3X) + 20) >= Number(santaX))) and (Number(hit3Y) <= Number(Number(santaY) + 100))) and (Number(Number(hit3Y) + 40) >= Number(santaY))) {
_root.santaHit = 1;
tellTarget ("/santa") {
gotoAndPlay ("hit");
};
}
}
Symbol 271 MovieClip Frame 8
hit1X = getProperty("/points", _x) - 640;
hit1Y = Number(getProperty("/points", _y)) + 60;
santaX = getProperty("/santa", _x) - 40;
santaY = getProperty("/santa", _y) - 80;
if (_root.santaHit == 0) {
if ((((Number(hit1X) <= Number(Number(santaX) + 80)) and (Number(Number(hit1X) + 20) >= Number(santaX))) and (Number(hit1Y) <= Number(Number(santaY) + 100))) and (Number(Number(hit1Y) + 40) >= Number(santaY))) {
_root.santaHit = 1;
tellTarget ("/santa") {
gotoAndPlay ("hit");
};
}
}
Symbol 271 MovieClip Frame 9
hit2X = getProperty("/points", _x) - 680;
hit2Y = Number(getProperty("/points", _y)) + 60;
santaX = getProperty("/santa", _x) - 40;
santaY = getProperty("/santa", _y) - 80;
if (_root.santaHit == 0) {
if ((((Number(hit2X) <= Number(Number(santaX) + 80)) and (Number(Number(hit2X) + 20) >= Number(santaX))) and (Number(hit2Y) <= Number(Number(santaY) + 100))) and (Number(Number(hit2y) + 40) >= Number(santaY))) {
_root.santaHit = 1;
tellTarget ("/santa") {
gotoAndPlay ("hit");
};
}
}
Symbol 271 MovieClip Frame 10
call("hit2");
Symbol 271 MovieClip Frame 11
call("hit2");
Symbol 271 MovieClip Frame 12
call("hit1");
Symbol 271 MovieClip Frame 13
call("hit3");
Symbol 271 MovieClip Frame 17
setProperty("/elf", _x , 320);
tellTarget ("/elf") {
gotoAndPlay ("on");
};
gotoAndStop (1);
Symbol 273 MovieClip Frame 1
stop();
Symbol 273 MovieClip Frame 4
santaX = Number(getProperty("/santa", _x)) + 20;
santaY = getProperty("/santa", _y) - 80;
chisel2X = Number(getProperty("/points", _x)) + 400;
chisel2Y = Number(getProperty("/points", _y)) + 40;
if ((((Number(Number(chisel2x) + 40) >= Number(santaX)) and (Number(chisel2X) <= Number(Number(santaX) + 40))) and (Number(Number(chisel2Y) + 40) >= Number(santaY))) and (Number(chisel2Y) <= Number(Number(santaY) + 40))) {
tellTarget ("/santa") {
gotoAndPlay ("eye");
};
gotoAndStop (7);
}
Symbol 273 MovieClip Frame 5
call("hit");
Symbol 273 MovieClip Frame 6
Set("/:score", Number(/:score) + 50);
stop();
Symbol 273 MovieClip Frame 7
Set("/:score", Number(/:score) + 100);
stop();
Symbol 274 MovieClip Frame 1
stop();
Symbol 274 MovieClip Frame 4
santaX = Number(getProperty("/santa", _x)) + 20;
santaY = getProperty("/santa", _y) - 80;
hammer1X = Number(getProperty("/points", _x)) + 140;
hammer1Y = Number(getProperty("/points", _y)) + 40;
if ((((Number(Number(hammer1x) + 40) >= Number(santaX)) and (Number(hammer1X) <= Number(Number(santaX) + 40))) and (Number(Number(hammer1Y) + 40) >= Number(santaY))) and (Number(hammer1Y) <= Number(Number(santaY) + 40))) {
tellTarget ("/santa") {
gotoAndPlay ("eye");
};
gotoAndStop (7);
}
Symbol 274 MovieClip Frame 5
call("hit");
Symbol 274 MovieClip Frame 6
Set("/:score", Number(/:score) + 50);
stop();
Symbol 274 MovieClip Frame 7
Set("/:score", Number(/:score) + 100);
stop();
Symbol 275 MovieClip Frame 1
stop();
Symbol 275 MovieClip Frame 4
santaX = Number(getProperty("/santa", _x)) + 20;
santaY = getProperty("/santa", _y) - 80;
hammer1X = Number(getProperty("/points", _x)) + 280;
hammer1Y = Number(getProperty("/points", _y)) + 40;
if ((((Number(Number(hammer1x) + 40) >= Number(santaX)) and (Number(hammer1X) <= Number(Number(santaX) + 40))) and (Number(Number(hammer1Y) + 40) >= Number(santaY))) and (Number(hammer1Y) <= Number(Number(santaY) + 40))) {
tellTarget ("/santa") {
gotoAndPlay ("konk");
};
gotoAndStop (7);
}
Symbol 275 MovieClip Frame 5
call("hit");
Symbol 275 MovieClip Frame 6
Set("/:score", Number(/:score) + 50);
stop();
Symbol 275 MovieClip Frame 7
Set("/:score", Number(/:score) + 100);
stop();
Symbol 279 MovieClip Frame 1
stop();
Symbol 279 MovieClip Frame 8
gotoAndStop (1);
Symbol 284 MovieClip Frame 1
if (((Number(played1) == 1) and (Number(played2) == 1)) and (Number(played3) == 1)) {
played1 = 0;
played2 = 0;
played3 = 0;
}
random = Number(random(20)) + 1;
Symbol 284 MovieClip Frame 2
if (Number(random) == 5) {
if (Number(played1) <= 0) {
gotoAndPlay (5);
played1 = 1;
} else if (Number(played2) <= 0) {
gotoAndPlay (9);
played2 = 1;
} else {
gotoAndPlay (15);
played3 = 1;
}
}
if (Number(random) == 10) {
if (Number(played2) <= 0) {
gotoAndPlay (9);
played2 = 1;
} else if (Number(played3) <= 0) {
gotoAndPlay (15);
played3 = 1;
} else {
gotoAndPlay (5);
played1 = 1;
}
}
if (Number(random) == 15) {
if (Number(played3) <= 0) {
gotoAndPlay (15);
played3 = 1;
} else if (Number(played1) <= 0) {
gotoAndPlay (5);
played1 = 1;
} else {
gotoAndPlay (9);
played2 = 1;
}
}
Symbol 284 MovieClip Frame 3
gotoAndPlay (1);
Symbol 284 MovieClip Frame 5
pointsX = getProperty("/points", _x);
pointsY = getProperty("/points", _y);
if (Number(pointsX) >= Number(-550)) {
setProperty("/points", _x , getProperty("/points", _x) - 15);
loop = 1;
} else {
setProperty("/points", _x , 600);
random = 0;
loop = 0;
gotoAndPlay (1);
}
elfHX = getProperty("/elf", _x);
elfHY = getProperty("/elf", _y) - 60;
object1X = Number(getProperty("/points", _x)) + 60;
object1Y = getProperty("/points", _y);
if ((((Number(object1X) <= Number(Number(elfHX) + 20)) and (Number(Number(object1X) + 20) >= Number(elfHX))) and (Number(Number(object1Y) + 40) >= Number(elfHY))) and (Number(object1Y) <= Number(Number(elfHY) + 20))) {
tellTarget ("/elf/arm") {
gotoAndPlay ("on");
};
tellTarget ("/points/object1") {
gotoAndPlay ("on");
};
}
object2X = Number(getProperty("/points", _x)) + 160;
object2Y = getProperty("/points", _y);
if ((((Number(object2X) <= Number(Number(elfHX) + 20)) and (Number(Number(object2X) + 20) >= Number(elfHX))) and (Number(Number(object2Y) + 40) >= Number(elfHY))) and (Number(object2Y) <= Number(Number(elfHY) + 20))) {
tellTarget ("/elf/arm") {
gotoAndPlay ("on");
};
tellTarget ("/points/object2") {
gotoAndStop ("on");
};
}
object3X = Number(getProperty("/points", _x)) + 300;
object3Y = getProperty("/points", _y);
if ((((Number(object3X) <= Number(Number(elfHX) + 20)) and (Number(Number(object3X) + 20) >= Number(elfHX))) and (Number(Number(object3Y) + 40) >= Number(elfHY))) and (Number(object3Y) <= Number(Number(elfHY) + 20))) {
tellTarget ("/elf/arm") {
gotoAndPlay ("on");
};
tellTarget ("/points/object3") {
gotoAndStop ("on");
};
}
object4X = Number(getProperty("/points", _x)) + 440;
object4Y = getProperty("/points", _y);
if ((((Number(object4X) <= Number(Number(elfHX) + 20)) and (Number(Number(object4X) + 20) >= Number(elfHX))) and (Number(Number(object4Y) + 40) >= Number(elfHY))) and (Number(object4Y) <= Number(Number(elfHY) + 20))) {
tellTarget ("/elf/arm") {
gotoAndPlay ("on");
};
tellTarget ("/points/object4") {
gotoAndPlay ("on");
};
}
Symbol 284 MovieClip Frame 6
gotoAndPlay (5);
Symbol 284 MovieClip Frame 9
setProperty("/points", _x , 1200);
Symbol 284 MovieClip Frame 10
pointsX = getProperty("/points", _x) - 600;
pointsY = getProperty("/points", _y);
if (Number(pointsX) >= Number(-1300)) {
setProperty("/points", _x , getProperty("/points", _x) - 15);
loop = 1;
} else {
setProperty("/points", _x , 600);
random = 0;
loop = 0;
gotoAndPlay (1);
}
wreath1X = getProperty("/points", _x) - 620;
wreath1Y = Number(getProperty("/points", _y)) + 20;
if ((((Number(wreath1X) <= Number(Number(elfHX) + 20)) and (Number(Number(wreath1X) + 20) >= Number(elfHX))) and (Number(Number(wreath1Y) + 40) >= Number(elfHY))) and (Number(wreath1Y) <= Number(Number(elfHY) + 20))) {
tellTarget ("/elf") {
gotoAndStop ("off");
};
tellTarget ("/points/swing1") {
gotoAndPlay ("on");
};
}
wreath2X = Number(getProperty("/points", _x)) + 580;
wreath2Y = Number(getProperty("/points", _y)) + 20;
if ((((Number(wreath2X) <= Number(Number(elfHX) + 20)) and (Number(Number(wreath2X) + 20) >= Number(elfHX))) and (Number(Number(wreath2Y) + 40) >= Number(elfHY))) and (Number(wreath2Y) <= Number(Number(elfHY) + 20))) {
tellTarget ("/elf") {
gotoAndStop ("off");
};
tellTarget ("/points/swing2") {
gotoAndPlay ("on");
};
}
elfHX = getProperty("/elf", _x);
elfHY = getProperty("/elf", _y) - 60;
object5X = getProperty("/points", _x) - 520;
object5Y = getProperty("/points", _y);
if ((((Number(object5X) <= Number(Number(elfHX) + 20)) and (Number(Number(object5X) + 40) >= Number(elfHX))) and (Number(Number(object5Y) + 40) >= Number(elfHY))) and (Number(object5Y) <= Number(Number(elfHY) + 20))) {
tellTarget ("/elf/arm") {
gotoAndPlay ("on");
};
tellTarget ("/points/object5") {
gotoAndPlay ("on");
};
}
object6X = getProperty("/points", _x) - 320;
object6Y = getProperty("/points", _y);
if ((((Number(object6X) <= Number(Number(elfHX) + 20)) and (Number(Number(object6X) + 40) >= Number(elfHX))) and (Number(Number(object6Y) + 40) >= Number(elfHY))) and (Number(object6Y) <= Number(Number(elfHY) + 20))) {
tellTarget ("/elf/arm") {
gotoAndPlay ("on");
};
tellTarget ("/points/object6") {
gotoAndPlay ("on");
};
}
object7X = getProperty("/points", _x) - 120;
object7Y = getProperty("/points", _y);
if ((((Number(object7X) <= Number(Number(elfHX) + 20)) and (Number(Number(object7X) + 40) >= Number(elfHX))) and (Number(Number(object7Y) + 40) >= Number(elfHY))) and (Number(object7Y) <= Number(Number(elfHY) + 20))) {
tellTarget ("/elf/arm") {
gotoAndPlay ("on");
};
tellTarget ("/points/object7") {
gotoAndPlay ("on");
};
}
object8X = Number(getProperty("/points", _x)) + 80;
object8Y = getProperty("/points", _y);
if ((((Number(object8X) <= Number(Number(elfHX) + 20)) and (Number(Number(object8X) + 40) >= Number(elfHX))) and (Number(Number(object8Y) + 40) >= Number(elfHY))) and (Number(object8Y) <= Number(Number(elfHY) + 20))) {
tellTarget ("/elf/arm") {
gotoAndPlay ("on");
};
tellTarget ("/points/object8") {
gotoAndPlay ("on");
};
}
object9X = Number(getProperty("/points", _x)) + 280;
object9Y = getProperty("/points", _y);
if ((((Number(object9X) <= Number(Number(elfHX) + 20)) and (Number(Number(object9X) + 40) >= Number(elfHX))) and (Number(Number(object9Y) + 40) >= Number(elfHY))) and (Number(object9Y) <= Number(Number(elfHY) + 20))) {
tellTarget ("/elf/arm") {
gotoAndPlay ("on");
};
tellTarget ("/points/object9") {
gotoAndPlay ("on");
};
}
object10X = Number(getProperty("/points", _x)) + 480;
object10Y = getProperty("/points", _y);
if ((((Number(object10X) <= Number(Number(elfHX) + 20)) and (Number(Number(object10X) + 40) >= Number(elfHX))) and (Number(Number(object10Y) + 40) >= Number(elfHY))) and (Number(object10Y) <= Number(Number(elfHY) + 20))) {
tellTarget ("/elf/arm") {
gotoAndPlay ("on");
};
tellTarget ("/points/object10") {
gotoAndPlay ("on");
};
}
Symbol 284 MovieClip Frame 11
gotoAndPlay (10);
Symbol 284 MovieClip Frame 15
pointsX = getProperty("/points", _x);
pointsY = getProperty("/points", _y);
if (Number(pointsX) >= Number(-550)) {
setProperty("/points", _x , getProperty("/points", _x) - 15);
loop = 1;
} else {
setProperty("/points", _x , 600);
loop = 0;
gotoAndPlay (1);
}
elfHX = getProperty("/elf", _x);
elfHY = getProperty("/elf", _y) - 60;
hammer1X = Number(getProperty("/points", _x)) + 60;
hammer1Y = Number(getProperty("/points", _y)) + 20;
if ((((Number(hammer1X) <= Number(Number(elfHX) + 20)) and (Number(Number(hammer1X) + 20) >= Number(elfHX))) and (Number(Number(hammer1Y) + 40) >= Number(elfHY))) and (Number(hammer1Y) <= Number(Number(elfHY) + 20))) {
tellTarget ("/elf/arm") {
gotoAndPlay ("on");
};
tellTarget ("/points/hammer1") {
gotoAndPlay ("on");
};
}
chisel1X = Number(getProperty("/points", _x)) + 160;
chisel1Y = Number(getProperty("/points", _y)) + 20;
if ((((Number(chisel1X) <= Number(Number(elfHX) + 20)) and (Number(Number(chisel1X) + 20) >= Number(elfHX))) and (Number(Number(chisel1Y) + 40) >= Number(elfHY))) and (Number(chisel1Y) <= Number(Number(elfHY) + 20))) {
tellTarget ("/elf/arm") {
gotoAndPlay ("on");
};
tellTarget ("/points/chisel1") {
gotoAndPlay ("on");
};
}
hammer2X = Number(getProperty("/points", _x)) + 300;
hammer2Y = Number(getProperty("/points", _y)) + 20;
if ((((Number(hammer2X) <= Number(Number(elfHX) + 20)) and (Number(Number(hammer2X) + 20) >= Number(elfHX))) and (Number(Number(hammer2Y) + 40) >= Number(elfHY))) and (Number(hammer2Y) <= Number(Number(elfHY) + 20))) {
tellTarget ("/elf/arm") {
gotoAndPlay ("on");
};
tellTarget ("/points/hammer2") {
gotoAndPlay ("on");
};
}
chisel2X = Number(getProperty("/points", _x)) + 440;
chisel2Y = Number(getProperty("/points", _y)) + 20;
if ((((Number(chisel2X) <= Number(Number(elfHX) + 20)) and (Number(Number(chisel2X) + 20) >= Number(elfHX))) and (Number(Number(chisel2Y) + 40) >= Number(elfHY))) and (Number(chisel2Y) <= Number(Number(elfHY) + 20))) {
tellTarget ("/elf/arm") {
gotoAndPlay ("on");
};
tellTarget ("/points/chisel2") {
gotoAndPlay ("on");
};
}
Symbol 284 MovieClip Frame 16
gotoAndPlay (15);
Symbol 285 Button
on (keyPress "<Space>") {
tellTarget ("/elf") {
gotoAndPlay ("jump");
};
}
Symbol 286 MovieClip Frame 1
stop();
Symbol 286 MovieClip Frame 2
stop();
Symbol 287 MovieClip Frame 1
if (Number(/:level) == 1) {
if (Number(/:score) >= 1000) {
tellTarget ("_level0") {
gotoAndPlay ("level2");
};
gotoAndStop (5);
}
}
if (Number(/:level) == 2) {
if (Number(/:score) >= 3000) {
if (Number(/points:loop) == 0) {
tellTarget ("/points") {
stop();
};
}
}
}
if (Number(/:level) == 2) {
if (Number(/:score) >= 3000) {
if (Number(/jumps:loop) == 0) {
tellTarget ("/jumps") {
stop();
};
}
}
}
if (Number(/:level) == 2) {
if (Number(/:score) >= 3000) {
if (Number(/elf3:loop) == 0) {
tellTarget ("/elf3") {
stop();
};
}
}
}
if (Number(/:level) == 2) {
if (Number(/:score) >= 3000) {
if (((Number(/elf3:loop) == 0) and (Number(/jumps:loop) == 0)) and (Number(/points:loop) == 0)) {
tellTarget ("/mid") {
gotoAndPlay ("door");
};
gotoAndStop (5);
}
}
}
if (Number(/elf:hit) == 1) {
Set("/elf:hit", 0);
tellTarget ("/elf") {
gotoAndPlay ("board");
};
}
Symbol 287 MovieClip Frame 2
call("on");
gotoAndPlay (1);
Symbol 287 MovieClip Frame 5
stop();
Symbol 292 MovieClip Frame 1
stop();
Symbol 292 MovieClip Frame 7
tellTarget ("/elf") {
gotoAndStop ("off");
};
Symbol 292 MovieClip Frame 10
tellTarget ("_level0") {
gotoAndPlay ("win");
};
stop();
Symbol 299 MovieClip Frame 1
mid = getProperty("/mid", _x);
if (Number(mid) <= 0) {
setProperty("/mid", _x , 520);
} else {
setProperty("/mid", _x , getProperty("/mid", _x) - 8);
}
Symbol 299 MovieClip Frame 2
call("on");
gotoAndPlay (1);
Symbol 299 MovieClip Frame 5
mid = getProperty("/mid", _x);
elf = getProperty("/elf", _x);
door = Number(getProperty("/mid", _x)) + 600;
if (Number(mid) <= Number(-600)) {
stop();
} else {
setProperty("/mid", _x , getProperty("/mid", _x) - 8);
}
if (Number(elf) >= Number(door)) {
tellTarget ("/mid/door") {
gotoAndPlay ("open");
};
}
Symbol 299 MovieClip Frame 6
call("door");
gotoAndPlay (5);
Symbol 304 MovieClip Frame 1
stop();
Symbol 304 MovieClip Frame 5
_root.hitSound_v = 0;
Symbol 304 MovieClip Frame 10
gotoAndStop (1);
Symbol 306 MovieClip Frame 1
stop();
Symbol 306 MovieClip Frame 2
missle2X = getProperty("/missle2", _x);
if (Number(missle2X) >= 600) {
setProperty("/missle2", _x , -50);
tellTarget ("/missle2") {
gotoAndStop ("off");
};
} else {
setProperty("/missle2", _x , Number(getProperty("/missle2", _x)) + 15);
}
missle2X = getProperty("/missle2", _x);
missle2Y = getProperty("/missle2", _y);
elfX = getProperty("/elf", _x);
elfY = getProperty("/elf", _y);
if ((((Number(missle2X) <= Number(Number(elfX) + 40)) and (Number(Number(missle2X) + 20) >= Number(elfX))) and (Number(missle2Y) <= Number(Number(elfY) + 60))) and (Number(Number(missle2Y) + 20) >= Number(elfY))) {
tellTarget ("/master button") {
gotoAndStop ("off");
};
tellTarget ("/missle2") {
gotoAndStop ("off");
};
setProperty("/missle2", _x , -50);
tellTarget ("/elf") {
gotoAndPlay ("board");
};
Set("/elf:hit", 1);
}
Symbol 306 MovieClip Frame 3
call("on");
gotoAndPlay (2);
Symbol 314 MovieClip Frame 1
setProperty("/elf3", _x , 200);
Symbol 314 MovieClip Frame 3
random = Number(random(20)) + 1;
Symbol 314 MovieClip Frame 4
if (Number(random) == 5) {
gotoAndPlay (7);
loop = 1;
} else {
gotoAndPlay (1);
loop = 0;
}
Symbol 314 MovieClip Frame 5
gotoAndPlay (1);
Symbol 314 MovieClip Frame 11
elf3 = getProperty("/elf3", _x);
if (Number(elf3) <= Number(-50)) {
gotoAndPlay (1);
} else {
setProperty("/elf3", _x , getProperty("/elf3", _x) - 5);
}
Symbol 314 MovieClip Frame 12
call("move");
Symbol 314 MovieClip Frame 13
call("move");
Symbol 314 MovieClip Frame 14
call("move");
Symbol 314 MovieClip Frame 15
call("move");
Symbol 314 MovieClip Frame 16
call("move");
setProperty("/missle2", _x , Number(getProperty("/elf3", _x)) + 20);
setProperty("/missle2", _y , getProperty("/elf3", _y) - 5);
tellTarget ("/missle2") {
gotoAndPlay ("on");
};
Symbol 314 MovieClip Frame 17
call("move");
Symbol 314 MovieClip Frame 18
call("shoot1");
gotoAndPlay (17);
Symbol 317 MovieClip Frame 1
stop();
Symbol 317 MovieClip Frame 8
gotoAndStop (1);
Symbol 319 MovieClip Frame 1
stop();
Symbol 319 MovieClip Frame 8
gotoAndStop (1);
Symbol 321 MovieClip Frame 1
random = Number(random(40)) + 1;
Symbol 321 MovieClip Frame 2
if (Number(random) == 5) {
gotoAndPlay (10);
}
if (Number(random) == 10) {
gotoAndPlay (18);
}
if (Number(random) == 15) {
gotoAndPlay (25);
}
if (Number(random) == 20) {
gotoAndPlay (32);
}
if (Number(random) == 25) {
gotoAndPlay (40);
}
Symbol 321 MovieClip Frame 3
gotoAndPlay (1);
Symbol 321 MovieClip Frame 10
jumpsX = getProperty("/jumps", _x);
if (Number(jumpsX) >= Number(-50)) {
setProperty("/jumps", _x , getProperty("/jumps", _x) - 15);
loop = 1;
} else {
setProperty("/jumps", _x , 600);
loop = 0;
gotoAndPlay (1);
}
jumpsY = getProperty("/jumps", _y) - 30;
elfBX = getProperty("/elf", _x);
elfBY = getProperty("/elf", _y);
if ((((Number(jumpsX) <= Number(Number(elfBX) + 40)) and (Number(Number(jumpsX) + 20) >= Number(elfBX))) and (Number(Number(jumpsY) + 30) >= Number(elfBY))) and (Number(jumpsY) <= Number(Number(elfBY) + 60))) {
tellTarget ("/master button") {
gotoAndStop ("off");
};
tellTarget ("/elf") {
gotoAndPlay ("fall");
};
gotoAndPlay (12);
}
Symbol 321 MovieClip Frame 11
gotoAndPlay (10);
Symbol 321 MovieClip Frame 12
jumpsX = getProperty("/jumps", _x);
if (Number(jumpsX) >= Number(-50)) {
setProperty("/jumps", _x , getProperty("/jumps", _x) - 10);
} else {
setProperty("/jumps", _x , 600);
gotoAndPlay (1);
}
Symbol 321 MovieClip Frame 13
gotoAndPlay (12);
Symbol 321 MovieClip Frame 18
jumpsX = getProperty("/jumps", _x);
if (Number(jumpsX) >= Number(-50)) {
setProperty("/jumps", _x , getProperty("/jumps", _x) - 15);
loop = 1;
} else {
setProperty("/jumps", _x , 600);
loop = 0;
gotoAndPlay (1);
}
jumpsY = getProperty("/jumps", _y) - 20;
elfBX = getProperty("/elf", _x);
elfBY = getProperty("/elf", _y);
if ((((Number(jumpsX) <= Number(Number(elfBX) + 40)) and (Number(Number(jumpsX) + 30) >= Number(elfBX))) and (Number(Number(jumpsY) + 20) >= Number(elfBY))) and (Number(jumpsY) <= Number(Number(elfBY) + 60))) {
tellTarget ("/master button") {
gotoAndStop ("off");
};
tellTarget ("board") {
gotoAndPlay ("up");
};
tellTarget ("/elf") {
gotoAndPlay ("board");
};
gotoAndPlay (20);
}
Symbol 321 MovieClip Frame 19
gotoAndPlay (18);
Symbol 321 MovieClip Frame 20
jumpsX = getProperty("/jumps", _x);
if (Number(jumpsX) >= Number(-50)) {
setProperty("/jumps", _x , getProperty("/jumps", _x) - 10);
} else {
setProperty("/jumps", _x , 600);
gotoAndPlay (1);
}
Symbol 321 MovieClip Frame 21
gotoAndPlay (20);
Symbol 321 MovieClip Frame 25
jumpsX = getProperty("/jumps", _x);
if (Number(jumpsX) >= Number(-50)) {
setProperty("/jumps", _x , getProperty("/jumps", _x) - 15);
loop = 1;
} else {
setProperty("/jumps", _x , 600);
loop = 0;
gotoAndPlay (1);
}
jumpsY = getProperty("/jumps", _y) - 20;
elfBX = getProperty("/elf", _x);
elfBY = getProperty("/elf", _y);
if ((((Number(jumpsX) <= Number(Number(elfBX) + 40)) and (Number(Number(jumpsX) + 30) >= Number(elfBX))) and (Number(Number(jumpsY) + 20) >= Number(elfBY))) and (Number(jumpsY) <= Number(Number(elfBY) + 60))) {
tellTarget ("/master button") {
gotoAndStop ("off");
};
tellTarget ("candy") {
gotoAndPlay ("up");
};
tellTarget ("/elf") {
gotoAndPlay ("board");
};
gotoAndPlay (27);
}
Symbol 321 MovieClip Frame 26
gotoAndPlay (25);
Symbol 321 MovieClip Frame 27
jumpsX = getProperty("/jumps", _x);
if (Number(jumpsX) >= Number(-50)) {
setProperty("/jumps", _x , getProperty("/jumps", _x) - 10);
} else {
setProperty("/jumps", _x , 600);
gotoAndPlay (1);
}
Symbol 321 MovieClip Frame 28
gotoAndPlay (27);
Symbol 321 MovieClip Frame 32
jumpsX = getProperty("/jumps", _x);
if (Number(jumpsX) >= Number(-50)) {
setProperty("/jumps", _x , getProperty("/jumps", _x) - 15);
loop = 1;
} else {
setProperty("/jumps", _x , 600);
loop = 0;
gotoAndPlay (1);
}
jumpsY = getProperty("/jumps", _y) - 30;
elfBX = getProperty("/elf", _x);
elfBY = getProperty("/elf", _y);
if ((((Number(jumpsX) <= Number(Number(elfBX) + 40)) and (Number(Number(jumpsX) + 20) >= Number(elfBX))) and (Number(Number(jumpsY) + 30) >= Number(elfBY))) and (Number(jumpsY) <= Number(Number(elfBY) + 60))) {
tellTarget ("/master button") {
gotoAndStop ("off");
};
tellTarget ("/elf") {
gotoAndPlay ("fall");
};
gotoAndPlay (34);
}
Symbol 321 MovieClip Frame 33
gotoAndPlay (32);
Symbol 321 MovieClip Frame 34
jumpsX = getProperty("/jumps", _x);
if (Number(jumpsX) >= Number(-50)) {
setProperty("/jumps", _x , getProperty("/jumps", _x) - 10);
} else {
setProperty("/jumps", _x , 600);
gotoAndPlay (1);
}
Symbol 321 MovieClip Frame 35
gotoAndPlay (34);
Symbol 321 MovieClip Frame 40
jumpsX = getProperty("/jumps", _x);
if (Number(jumpsX) >= Number(-50)) {
setProperty("/jumps", _x , getProperty("/jumps", _x) - 15);
loop = 1;
} else {
setProperty("/jumps", _x , 600);
loop = 0;
gotoAndPlay (1);
}
jumpsY = getProperty("/jumps", _y) - 20;
elfBX = getProperty("/elf", _x);
elfBY = getProperty("/elf", _y);
if ((((Number(jumpsX) <= Number(Number(elfBX) + 40)) and (Number(Number(jumpsX) + 30) >= Number(elfBX))) and (Number(Number(jumpsY) + 20) >= Number(elfBY))) and (Number(jumpsY) <= Number(Number(elfBY) + 60))) {
tellTarget ("/master button") {
gotoAndStop ("off");
};
tellTarget ("present") {
gotoAndPlay ("up");
};
tellTarget ("/elf") {
gotoAndPlay ("board");
};
gotoAndPlay (42);
}
Symbol 321 MovieClip Frame 41
gotoAndPlay (40);
Symbol 321 MovieClip Frame 42
jumpsX = getProperty("/jumps", _x);
if (Number(jumpsX) >= Number(-50)) {
setProperty("/jumps", _x , getProperty("/jumps", _x) - 10);
} else {
setProperty("/jumps", _x , 600);
gotoAndPlay (1);
}
Symbol 321 MovieClip Frame 43
gotoAndPlay (42);
Symbol 325 Button
on (rollOver) {
b = new Sound();
b.attachSound("Bottle Pop 1");
b.start();
}
on (press) {
Set("/:level", 2);
gotoAndStop (110);
}
Symbol 333 Button
on (rollOver) {
b = new Sound();
b.attachSound("Bottle Pop 1");
b.start();
}
on (press) {
Set("/:score", 0);
stopAllSounds();
_root.gotoAndPlay(1);
}
Symbol 355 Button
on (rollOver) {
b = new Sound();
b.attachSound("Bottle Pop 1");
b.start();
}
on (press) {
Set("/:score", 0);
_root.gotoAndPlay(1);
}