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();
Instance of Symbol 194 MovieClip "missle1" in Frame 109
/* no clip actions */
Frame 110
_root.movieQualitySetting.movieQuality = _root.movieQualityDefault;
stop();
Frame 111
_root.movieQualitySetting.movieQuality = 4;
Frame 125
stop();
Frame 126
_root.movieQualitySetting.movieQuality = 4;
Frame 145
stop();
Frame 146
_root.movieQualitySetting.movieQuality = 4;
Frame 160
stop();
Frame 161
_root.movieQualitySetting.movieQuality = 4;
Frame 175
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 99 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 119 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 122 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 123 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 128 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 133 Button
on (keyPress "<Space>") {
Mnumber = /:Mnumber;
gotoAndPlay (2);
setProperty("/missle" add Mnumber, _x , Number(getProperty("/elf", _x)) + 120);
setProperty("/missle" add Mnumber, _y , Number(getProperty("/elf", _y)) + 30);
tellTarget ("/missle" add Mnumber) {
gotoAndPlay ("on");
};
}
Symbol 134 MovieClip Frame 1
stop();
Symbol 134 MovieClip Frame 3
Set("/:ammo", /:ammo - 1);
Symbol 134 MovieClip Frame 5
Set("/:Mnumber", Number(/:Mnumber) + 1);
gotoAndStop (1);
Symbol 135 MovieClip Frame 1
stop();
Symbol 135 MovieClip Frame 2
stop();
Symbol 190 MovieClip Frame 1
if (Key.isDown(40)) {
setProperty("/elf", _y , Number(getProperty("/elf", _y)) + 12);
}
if (Key.isDown(38)) {
setProperty("/elf", _y , getProperty("/elf", _y) - 12);
}
if ((_root.ammo > 0) || (_root.gun_v == 1)) {
gun.gotoAndStop("on");
} else {
gun.gotoAndStop("off");
}
present1X = getProperty("/present1", _x);
present1Y = getProperty("/present1", _y);
elfX = getProperty("/elf", _x);
elfY = Number(getProperty("/elf", _y)) + 60;
if ((((Number(Number(elfX) + 80) >= Number(present1X)) and (Number(elfX) <= Number(Number(present1X) + 40))) and (Number(Number(elfY) + 20) >= Number(present1Y))) and (Number(elfY) <= Number(Number(present1Y) + 40))) {
if (Number(/:present1_v) <= 0) {
Set("/:present1_v", 1);
tellTarget ("/present1 explode") {
gotoAndPlay ("on");
};
gotoAndPlay (87);
}
}
present2X = getProperty("/present2", _x);
present2Y = getProperty("/present2", _y);
if ((((Number(Number(elfX) + 80) >= Number(present2X)) and (Number(elfX) <= Number(Number(present2X) + 40))) and (Number(Number(elfY) + 20) >= Number(present2Y))) and (Number(elfY) <= Number(Number(present2Y) + 40))) {
if (Number(/:present2_v) <= 0) {
Set("/:present2_v", 1);
tellTarget ("/present2 explode") {
gotoAndPlay ("on");
};
gotoAndPlay (87);
}
}
present3X = getProperty("/present3", _x);
present3Y = getProperty("/present3", _y);
if ((((Number(Number(elfX) + 80) >= Number(present3X)) and (Number(elfX) <= Number(Number(present3X) + 40))) and (Number(Number(elfY) + 20) >= Number(present3Y))) and (Number(elfY) <= Number(Number(present3Y) + 40))) {
if (Number(/:present3_v) <= 0) {
Set("/:present3_v", 1);
tellTarget ("/present3 explode") {
gotoAndPlay ("on");
};
gotoAndPlay (87);
}
}
penguin1X = getProperty("/penguin1", _x);
penguin1Y = getProperty("/penguin1", _y);
elfX = getProperty("/elf", _x);
elfY = Number(getProperty("/elf", _y)) + 60;
if ((((Number(Number(elfX) + 80) >= Number(penguin1X)) and (Number(elfX) <= Number(Number(penguin1X) + 40))) and (Number(Number(elfY) + 20) >= Number(penguin1Y))) and (Number(elfY) <= Number(Number(penguin1Y) + 40))) {
if (Number(/:penguin1_v) <= 0) {
tellTarget ("/penguin1 explode") {
gotoAndPlay ("on");
};
gotoAndPlay (72);
}
}
penguin2X = getProperty("/penguin2", _x);
penguin2Y = getProperty("/penguin2", _y);
if ((((Number(Number(elfX) + 80) >= Number(penguin2X)) and (Number(elfX) <= Number(Number(penguin2X) + 40))) and (Number(Number(elfY) + 20) >= Number(penguin2Y))) and (Number(elfY) <= Number(Number(penguin2Y) + 40))) {
if (Number(/:penguin2_v) <= 0) {
tellTarget ("/penguin2 explode") {
gotoAndPlay ("on");
};
gotoAndPlay (72);
}
}
penguin3X = getProperty("/penguin3", _x);
penguin3Y = getProperty("/penguin3", _y);
if ((((Number(Number(elfX) + 80) >= Number(penguin3X)) and (Number(elfX) <= Number(Number(penguin3X) + 40))) and (Number(Number(elfY) + 20) >= Number(penguin3Y))) and (Number(elfY) <= Number(Number(penguin3Y) + 40))) {
if (Number(/:penguin3_v) <= 0) {
tellTarget ("/penguin3 explode") {
gotoAndPlay ("on");
};
gotoAndPlay (72);
}
}
Symbol 190 MovieClip Frame 2
call("off");
Symbol 190 MovieClip Frame 3
call("off");
Symbol 190 MovieClip Frame 4
call("off");
gotoAndPlay (1);
Symbol 190 MovieClip Frame 9
if (Number(/:gun_v) == 0) {
gotoAndPlay (10);
}
if (Number(/:gun_v) == 1) {
gotoAndPlay (39);
}
Symbol 190 MovieClip Frame 10
Set("/:elf_v", 1);
Symbol 190 MovieClip Frame 35
Set("/:elf_v", 0);
gotoAndPlay (1);
Symbol 190 MovieClip Frame 39
Set("/:elf_v", 1);
Symbol 190 MovieClip Frame 64
Set("/:elf_v", 0);
gotoAndPlay (1);
Symbol 190 MovieClip Frame 72
Set("/:ammo", 0);
Set("/:gun_v", 0);
if (Number(/:elf2_v) == 0) {
tellTarget ("/elf2") {
gotoAndStop ("stop0");
};
}
if (Number(/:elf2_v) == 1) {
tellTarget ("/elf2") {
gotoAndStop ("stop1");
};
}
if (Number(/:elf3_v) == 0) {
tellTarget ("/elf3") {
gotoAndStop ("stop0");
};
}
if (Number(/:elf3_v) == 1) {
tellTarget ("/elf3") {
gotoAndStop ("stop1");
};
}
if (Number(/:present1_v) == 0) {
tellTarget ("/present1") {
gotoAndStop ("stop0");
};
}
if (Number(/:present1_v) == 1) {
tellTarget ("/present1") {
gotoAndStop ("stop1");
};
}
if (Number(/:present2_v) == 0) {
tellTarget ("/present2") {
gotoAndStop ("stop0");
};
}
if (Number(/:present2_v) == 1) {
tellTarget ("/present2") {
gotoAndStop ("stop1");
};
}
if (Number(/:present3_v) == 0) {
tellTarget ("/present3") {
gotoAndStop ("stop0");
};
}
if (Number(/:present3_v) == 1) {
tellTarget ("/present3") {
gotoAndStop ("stop1");
};
}
if (Number(/:penguins_v) == 0) {
tellTarget ("/penguins") {
gotoAndPlay ("past");
};
}
if (Number(/:penguins_v) == 1) {
tellTarget ("/penguins") {
gotoAndStop ("stop1");
};
}
if (Number(/:penguin1_v) == 1) {
tellTarget ("/penguin1") {
gotoAndStop ("stop1");
};
}
if (Number(/:penguin2_v) == 1) {
tellTarget ("/penguin2") {
gotoAndStop ("stop1");
};
}
if (Number(/:penguin3_v) == 1) {
tellTarget ("/penguin3") {
gotoAndStop ("stop1");
};
}
tellTarget ("/jumps") {
stop();
};
Symbol 190 MovieClip Frame 73
call("hit");
Symbol 190 MovieClip Frame 77
Set("/:ammo", 0);
Set("/:gun_v", 0);
tellTarget ("/strength") {
nextFrame();
};
Symbol 190 MovieClip Frame 83
tellTarget ("/jumps") {
play();
};
if (Number(/:elf2_v) == 0) {
tellTarget ("/elf2") {
gotoAndPlay ("move");
};
}
if (Number(/:elf2_v) == 1) {
tellTarget ("/elf2") {
gotoAndPlay ("hit1");
};
}
if (Number(/:elf3_v) == 0) {
tellTarget ("/elf3") {
gotoAndPlay ("move");
};
}
if (Number(/:elf3_v) == 1) {
tellTarget ("/elf3") {
gotoAndPlay ("hit1");
};
}
if (Number(/:present1_v) == 0) {
tellTarget ("/present1") {
gotoAndPlay ("on");
};
}
if (Number(/:present1_v) == 1) {
tellTarget ("/present1") {
gotoAndPlay ("hit1");
};
}
if (Number(/:present2_v) == 0) {
tellTarget ("/present2") {
gotoAndPlay ("on");
};
}
if (Number(/:present2_v) == 1) {
tellTarget ("/present2") {
gotoAndPlay ("hit1");
};
}
if (Number(/:present3_v) == 0) {
tellTarget ("/present3") {
gotoAndPlay ("on");
};
}
if (Number(/:present3_v) == 1) {
tellTarget ("/present3") {
gotoAndPlay ("hit1");
};
}
if (Number(/:penguins_v) == 1) {
tellTarget ("/penguins") {
gotoAndPlay ("hit1");
};
}
if (Number(/:penguin1_v) == 1) {
tellTarget ("/penguin1") {
gotoAndPlay ("hit1");
};
}
if (Number(/:penguin2_v) == 1) {
tellTarget ("/penguin2") {
gotoAndPlay ("hit1");
};
}
if (Number(/:penguin3_v) == 1) {
tellTarget ("/penguin3") {
gotoAndPlay ("hit1");
};
}
Symbol 190 MovieClip Frame 84
call("on");
gotoAndPlay (1);
Symbol 190 MovieClip Frame 87
Set("/:ammo", 0);
Set("/:gun_v", 0);
if (Number(/:elf2_v) == 0) {
tellTarget ("/elf2") {
gotoAndStop ("stop0");
};
}
if (Number(/:elf2_v) == 1) {
tellTarget ("/elf2") {
gotoAndStop ("stop1");
};
}
if (Number(/:elf3_v) == 0) {
tellTarget ("/elf3") {
gotoAndStop ("stop0");
};
}
if (Number(/:elf3_v) == 1) {
tellTarget ("/elf3") {
gotoAndStop ("stop1");
};
}
if (Number(/:present1_v) == 0) {
tellTarget ("/present1") {
gotoAndStop ("stop0");
};
}
if (Number(/:present1_v) == 1) {
tellTarget ("/present1") {
gotoAndStop ("stop1");
};
}
if (Number(/:present2_v) == 0) {
tellTarget ("/present2") {
gotoAndStop ("stop0");
};
}
if (Number(/:present2_v) == 1) {
tellTarget ("/present2") {
gotoAndStop ("stop1");
};
}
if (Number(/:present3_v) == 0) {
tellTarget ("/present3") {
gotoAndStop ("stop0");
};
}
if (Number(/:present3_v) == 1) {
tellTarget ("/present3") {
gotoAndStop ("stop1");
};
}
if (Number(/:penguin1_v) == 1) {
tellTarget ("/penguin1") {
gotoAndStop ("stop1");
};
}
if (Number(/:penguin2_v) == 1) {
tellTarget ("/penguin2") {
gotoAndStop ("stop1");
};
}
if (Number(/:penguin3_v) == 1) {
tellTarget ("/penguin3") {
gotoAndStop ("stop1");
};
}
tellTarget ("/jumps") {
stop();
};
Symbol 190 MovieClip Frame 92
loop = Number(loop) + 1;
if (Number(loop) >= 10) {
if (Number(/:level) == 1) {
tellTarget ("_level0") {
gotoAndPlay ("lose");
};
}
if (Number(/:level) == 2) {
tellTarget ("_level0") {
gotoAndPlay ("lose2");
};
}
if (Number(/:level) == 3) {
tellTarget ("_level0") {
gotoAndPlay ("lose2");
};
}
} else {
gotoAndPlay (91);
}
Symbol 190 MovieClip Frame 98
Set("/:ammo", 0);
Set("/:gun", 0);
if (Number(/:elf2_v) == 0) {
tellTarget ("/elf2") {
gotoAndStop ("stop0");
};
}
if (Number(/:elf2_v) == 1) {
tellTarget ("/elf2") {
gotoAndStop ("stop1");
};
}
if (Number(/:elf3_v) == 0) {
tellTarget ("/elf3") {
gotoAndStop ("stop0");
};
}
if (Number(/:elf3_v) == 1) {
tellTarget ("/elf3") {
gotoAndStop ("stop1");
};
}
if (Number(/:present1_v) == 0) {
tellTarget ("/present1") {
gotoAndStop ("stop0");
};
}
if (Number(/:present1_v) == 1) {
tellTarget ("/present1") {
gotoAndStop ("stop1");
};
}
if (Number(/:present2_v) == 0) {
tellTarget ("/present2") {
gotoAndStop ("stop0");
};
}
if (Number(/:present2_v) == 1) {
tellTarget ("/present2") {
gotoAndStop ("stop1");
};
}
if (Number(/:present3_v) == 0) {
tellTarget ("/present3") {
gotoAndStop ("stop0");
};
}
if (Number(/:present3_v) == 1) {
tellTarget ("/present3") {
gotoAndStop ("stop1");
};
}
if (Number(/:penguin1_v) == 1) {
tellTarget ("/penguin1") {
gotoAndStop ("stop1");
};
}
if (Number(/:penguin2_v) == 1) {
tellTarget ("/penguin2") {
gotoAndStop ("stop1");
};
}
if (Number(/:penguin3_v) == 1) {
tellTarget ("/penguin3") {
gotoAndStop ("stop1");
};
}
tellTarget ("/jumps") {
stop();
};
Symbol 190 MovieClip Frame 104
bobwire = Number(bobwire) + 1;
if (Number(bobwire) >= 5) {
if (Number(/:level) == 1) {
tellTarget ("_level0") {
gotoAndPlay ("lose");
};
}
if (Number(/:level) == 2) {
tellTarget ("_level0") {
gotoAndPlay ("lose2");
};
}
if (Number(/:level) == 3) {
tellTarget ("_level0") {
gotoAndPlay ("lose2");
};
}
} else {
gotoAndPlay (100);
}
Symbol 194 MovieClip Frame 1
stop();
Symbol 194 MovieClip Frame 5
Mnumber = /:Mnumber;
Symbol 194 MovieClip Frame 6
missleX = getProperty("/missle" add Mnumber, _x) - 20;
missleY = getProperty("/missle" add Mnumber, _y);
elf2X = Number(getProperty("/elf2", _x)) + 20;
elf2Y = getProperty("/elf2", _y) - 40;
elf3X = Number(getProperty("/elf3", _x)) + 20;
elf3Y = getProperty("/elf3", _y) - 40;
present1X = getProperty("/present1", _x);
present1Y = getProperty("/present1", _y);
present2X = getProperty("/present2", _x);
present2Y = getProperty("/present2", _y);
present3X = getProperty("/present3", _x);
present3Y = getProperty("/present3", _y);
penguin1X = getProperty("/penguin1", _x);
penguin1Y = getProperty("/penguin1", _y);
penguin2X = getProperty("/penguin2", _x);
penguin2Y = getProperty("/penguin2", _y);
penguin3X = getProperty("/penguin3", _x);
penguin3Y = getProperty("/penguin3", _y);
penguinsX = getProperty("/penguins", _x) - 20;
penguinsY = getProperty("/penguins", _y) - 40;
if (Number(missleX) >= 500) {
setProperty("/missle" add Mnumber, _x , -50);
gotoAndStop (1);
} else {
setProperty("/missle" add Mnumber, _x , getProperty("/missle" add Mnumber, _x) + 20);
}
if (Number(/:elf2_v) == 0) {
if ((((Number(missleX) <= Number(Number(elf2X) + 40)) and (Number(Number(missleX) + 40) >= Number(elf2X))) and (Number(missleY) <= Number(Number(elf2Y) + 60))) and (Number(Number(missleY) + 20) >= Number(elf2Y))) {
tellTarget ("/elf2 hit") {
gotoAndPlay ("on");
};
gotoAndPlay (11);
}
}
if (Number(/:elf3_v) == 0) {
if ((((Number(missleX) <= Number(Number(elf3X) + 40)) and (Number(Number(missleX) + 40) >= Number(elf3X))) and (Number(missleY) <= Number(Number(elf3Y) + 40))) and (Number(Number(missleY) + 20) >= Number(elf3Y))) {
tellTarget ("/elf3 hit") {
gotoAndPlay ("on");
};
gotoAndPlay (11);
}
}
if ((((Number(Number(missleX) + 20) >= Number(present1X)) and (Number(missleX) <= Number(Number(present1X) + 40))) and (Number(Number(missleY) + 20) >= Number(present1Y))) and (Number(missleY) <= Number(Number(present1Y) + 40))) {
if (Number(/:present1_v) == 0) {
tellTarget ("/present1 hit") {
gotoAndPlay ("on");
};
gotoAndPlay (11);
}
}
if ((((Number(Number(missleX) + 20) >= Number(present2X)) and (Number(missleX) <= Number(Number(present2X) + 40))) and (Number(Number(missleY) + 20) >= Number(present2Y))) and (Number(missleY) <= Number(Number(present2Y) + 40))) {
if (Number(/:present2_v) == 0) {
tellTarget ("/present2 hit") {
gotoAndPlay ("on");
};
gotoAndPlay (11);
}
}
if ((((Number(Number(missleX) + 20) >= Number(present3X)) and (Number(missleX) <= Number(Number(present3X) + 40))) and (Number(Number(missleY) + 20) >= Number(present3Y))) and (Number(missleY) <= Number(Number(present3Y) + 40))) {
if (Number(/:present3_v) == 0) {
tellTarget ("/present3 hit") {
gotoAndPlay ("on");
};
gotoAndPlay (11);
}
}
if ((((Number(Number(missleX) + 20) >= Number(penguin1X)) and (Number(missleX) <= Number(Number(penguin1X) + 40))) and (Number(Number(missleY) + 20) >= Number(penguin1Y))) and (Number(missleY) <= Number(Number(penguin1Y) + 40))) {
if (Number(/:penguin1_v) == 0) {
tellTarget ("/penguin1 hit") {
gotoAndPlay ("on");
};
gotoAndPlay (11);
}
}
if ((((Number(Number(missleX) + 20) >= Number(penguin2X)) and (Number(missleX) <= Number(Number(penguin2X) + 40))) and (Number(Number(missleY) + 20) >= Number(penguin2Y))) and (Number(missleY) <= Number(Number(penguin2Y) + 40))) {
if (Number(/:penguin2_v) == 0) {
tellTarget ("/penguin2 hit") {
gotoAndPlay ("on");
};
gotoAndPlay (11);
}
}
if ((((Number(Number(missleX) + 20) >= Number(penguin3X)) and (Number(missleX) <= Number(Number(penguin3X) + 40))) and (Number(Number(missleY) + 20) >= Number(penguin3Y))) and (Number(missleY) <= Number(Number(penguin3Y) + 40))) {
if (Number(/:penguin3_v) == 0) {
tellTarget ("/penguin3 hit") {
gotoAndPlay ("on");
};
gotoAndPlay (11);
}
}
if ((((Number(Number(missleX) + 20) >= Number(penguinsX)) and (Number(missleX) <= Number(Number(penguinsX) + 40))) and (Number(Number(missleY) + 20) >= Number(penguinsY))) and (Number(missleY) <= Number(Number(penguinsY) + 60))) {
if (Number(/:penguins_v) == 0) {
tellTarget ("/penguins hit") {
gotoAndPlay ("hit");
};
gotoAndPlay (11);
}
}
Symbol 194 MovieClip Frame 7
call("on1");
gotoAndPlay (6);
Symbol 194 MovieClip Frame 11
setProperty("/missle" add Mnumber, _x , -50);
gotoAndStop (1);
Symbol 194 MovieClip Frame 12
call("move");
gotoAndStop (1);
Symbol 202 MovieClip Frame 1
Set("/:elf2_v", 0);
Symbol 202 MovieClip Frame 5
setProperty("/elf2", _x , 600);
Symbol 202 MovieClip Frame 6
random = Number(random(5)) + 1;
randomY = Number(random(270)) + 30;
Symbol 202 MovieClip Frame 7
if (Number(random) == 5) {
gotoAndPlay (10);
setProperty("/elf2", _y , randomY);
} else {
gotoAndPlay (1);
}
Symbol 202 MovieClip Frame 8
gotoAndPlay (1);
Symbol 202 MovieClip Frame 10
elf2 = getProperty("/elf2", _x);
if (Number(elf2) <= Number(-50)) {
gotoAndPlay (1);
} else {
setProperty("/elf2", _x , getProperty("/elf2", _x) - 5);
}
randomShoot = Number(random(10)) + 1;
elfX = getProperty("/elf", _x) - 20;
elfY = getProperty("/elf", _y);
elf2X = Number(getProperty("/elf2", _x)) + 20;
elf2Y = getProperty("/elf2", _y) - 40;
if ((((Number(elfX) <= Number(Number(elf2X) + 40)) and (Number(Number(elfX) + 40) >= Number(elf2X))) and (Number(elfY) <= Number(Number(elf2Y) + 60))) and (Number(Number(elfY) + 40) >= Number(elf2Y))) {
if (Number(/:elf_v) == 0) {
tellTarget ("/elf2") {
gotoAndPlay ("hit");
};
tellTarget ("/elf2 runover") {
gotoAndPlay ("on");
};
}
}
Symbol 202 MovieClip Frame 11
elf2 = getProperty("/elf2", _x);
if (Number(elf2) <= Number(-50)) {
gotoAndPlay (1);
} else {
setProperty("/elf2", _x , getProperty("/elf2", _x) - 5);
}
if (Number(randomShoot) == 5) {
gotoAndPlay (20);
} else {
gotoAndPlay (10);
}
Symbol 202 MovieClip Frame 15
stop();
Symbol 202 MovieClip Frame 20
elf2 = getProperty("/elf2", _x);
if (Number(elf2) <= Number(-50)) {
gotoAndPlay (1);
} else {
setProperty("/elf2", _x , getProperty("/elf2", _x) - 5);
}
setProperty("/missleA", _x , getProperty("/elf2", _x) - 30);
setProperty("/missleA", _y , getProperty("/elf2", _y));
tellTarget ("/missleA check") {
gotoAndPlay ("on");
};
elfX = Number(getProperty("/elf", _x)) + 20;
elfY = Number(getProperty("/elf", _y)) + 40;
elf2X = Number(getProperty("/elf2", _x)) + 20;
elf2Y = getProperty("/elf2", _y) - 40;
if ((((Number(elfX) <= Number(Number(elf2X) + 40)) and (Number(Number(elfX) + 60) >= Number(elf2X))) and (Number(elfY) <= Number(Number(elf2Y) + 40))) and (Number(Number(elfY) + 40) >= Number(elf2Y))) {
if (Number(/:elf_v) == 0) {
tellTarget ("/elf2") {
gotoAndPlay ("hit");
};
tellTarget ("/elf2 runover") {
gotoAndPlay ("on");
};
}
}
Symbol 202 MovieClip Frame 21
elf2 = getProperty("/elf2", _x);
if (Number(elf2) <= Number(-50)) {
gotoAndPlay (1);
} else {
setProperty("/elf2", _x , getProperty("/elf2", _x) - 5);
}
elfX = Number(getProperty("/elf", _x)) + 20;
elfY = Number(getProperty("/elf", _y)) + 40;
elf2X = Number(getProperty("/elf2", _x)) + 20;
elf2Y = getProperty("/elf2", _y) - 40;
if ((((Number(elfX) <= Number(Number(elf2X) + 40)) and (Number(Number(elfX) + 60) >= Number(elf2X))) and (Number(elfY) <= Number(Number(elf2Y) + 40))) and (Number(Number(elfY) + 40) >= Number(elf2Y))) {
if (Number(/:elf_v) == 0) {
tellTarget ("/elf2") {
gotoAndPlay ("hit");
};
tellTarget ("/elf2 runover") {
gotoAndPlay ("on");
};
}
}
Symbol 202 MovieClip Frame 22
call("shoot1");
gotoAndPlay (21);
Symbol 202 MovieClip Frame 26
Set("/:elf2_v", 1);
elf2 = getProperty("/elf2", _x);
if (Number(elf2) <= Number(-100)) {
random = 0;
gotoAndPlay (1);
} else {
setProperty("/elf2", _x , getProperty("/elf2", _x) - 5);
}
Symbol 202 MovieClip Frame 27
elf2 = getProperty("/elf2", _x);
if (Number(elf2) <= Number(-100)) {
random = 0;
gotoAndPlay (1);
} else {
setProperty("/elf2", _x , getProperty("/elf2", _x) - 5);
}
Symbol 202 MovieClip Frame 28
elf2 = getProperty("/elf2", _x);
if (Number(elf2) <= Number(-100)) {
random = 0;
gotoAndPlay (1);
} else {
setProperty("/elf2", _x , getProperty("/elf2", _x) - 5);
}
Symbol 202 MovieClip Frame 29
call("hitA");
Set("/:score", Number(/:score) + 50);
Symbol 202 MovieClip Frame 30
call("hitA");
Symbol 202 MovieClip Frame 31
elf2 = getProperty("/elf2", _x);
if (Number(elf2) <= Number(-100)) {
random = 0;
gotoAndPlay (1);
} else {
setProperty("/elf2", _x , getProperty("/elf2", _x) - 5);
}
Symbol 202 MovieClip Frame 32
call("hit1");
gotoAndPlay (31);
Symbol 202 MovieClip Frame 35
stop();
Symbol 202 MovieClip Frame 42
stop();
Symbol 203 MovieClip Frame 1
Set("/:elf3_v", 0);
Symbol 203 MovieClip Frame 4
setProperty("/elf3", _x , 600);
Symbol 203 MovieClip Frame 5
random = Number(random(20)) + 1;
randomY = Number(random(270)) + 30;
Symbol 203 MovieClip Frame 6
if (Number(random) == 5) {
gotoAndPlay (10);
setProperty("/elf3", _y , randomY);
} else {
gotoAndPlay (1);
}
Symbol 203 MovieClip Frame 7
gotoAndPlay (1);
Symbol 203 MovieClip Frame 10
elf3 = getProperty("/elf3", _x);
if (Number(elf3) <= Number(-50)) {
gotoAndPlay (1);
setProperty("/elf3", _x , 600);
} else {
setProperty("/elf3", _x , getProperty("/elf3", _x) - 5);
}
randomShoot = Number(random(10)) + 1;
elfX = Number(getProperty("/elf", _x)) + 20;
elfY = Number(getProperty("/elf", _y)) + 40;
elf3X = Number(getProperty("/elf3", _x)) + 20;
elf3Y = getProperty("/elf3", _y) - 40;
if ((((Number(elfX) <= Number(Number(elf3X) + 40)) and (Number(Number(elfX) + 60) >= Number(elf3X))) and (Number(elfY) <= Number(Number(elf3Y) + 40))) and (Number(Number(elfY) + 40) >= Number(elf3Y))) {
if (Number(/:elf_v) == 0) {
tellTarget ("/elf3") {
gotoAndPlay ("hit");
};
tellTarget ("/elf3 runover") {
gotoAndPlay ("on");
};
}
}
Symbol 203 MovieClip Frame 11
elf3 = getProperty("/elf3", _x);
if (Number(elf3) <= Number(-50)) {
gotoAndPlay (1);
setProperty("/elf3", _x , 600);
} else {
setProperty("/elf3", _x , getProperty("/elf3", _x) - 5);
}
if (Number(randomShoot) == 5) {
gotoAndPlay (19);
} else {
gotoAndPlay (10);
}
Symbol 203 MovieClip Frame 15
stop();
Symbol 203 MovieClip Frame 19
elf3 = getProperty("/elf3", _x);
if (Number(elf3) <= Number(-50)) {
gotoAndPlay (1);
setProperty("/elf3", _x , 600);
} else {
setProperty("/elf3", _x , getProperty("/elf3", _x) - 5);
}
setProperty("/missleB", _x , getProperty("/elf3", _x) - 30);
setProperty("/missleB", _y , getProperty("/elf3", _y));
tellTarget ("/missleB check") {
gotoAndPlay ("on");
};
elfX = Number(getProperty("/elf", _x)) + 20;
elfY = Number(getProperty("/elf", _y)) + 40;
elf3X = Number(getProperty("/elf3", _x)) + 20;
elf3Y = getProperty("/elf3", _y) - 40;
if ((((Number(elfX) <= Number(Number(elf3X) + 40)) and (Number(Number(elfX) + 60) >= Number(elf3X))) and (Number(elfY) <= Number(Number(elf3Y) + 40))) and (Number(Number(elfY) + 40) >= Number(elf3Y))) {
if (Number(/:elf_v) == 0) {
tellTarget ("/elf3") {
gotoAndPlay ("hit");
};
tellTarget ("/elf3 runover") {
gotoAndPlay ("on");
};
}
}
Symbol 203 MovieClip Frame 20
elf3 = getProperty("/elf3", _x);
if (Number(elf3) <= Number(-50)) {
gotoAndPlay (1);
setProperty("/elf3", _x , 600);
} else {
setProperty("/elf3", _x , getProperty("/elf3", _x) - 5);
}
elfX = Number(getProperty("/elf", _x)) + 20;
elfY = Number(getProperty("/elf", _y)) + 40;
elf3X = Number(getProperty("/elf3", _x)) + 20;
elf3Y = getProperty("/elf3", _y) - 40;
if ((((Number(elfX) <= Number(Number(elf3X) + 40)) and (Number(Number(elfX) + 60) >= Number(elf3X))) and (Number(elfY) <= Number(Number(elf3Y) + 40))) and (Number(Number(elfY) + 40) >= Number(elf3Y))) {
if (Number(/:elf_v) == 0) {
tellTarget ("/elf3") {
gotoAndPlay ("hit");
};
tellTarget ("/elf3 runover") {
gotoAndPlay ("on");
};
}
}
Symbol 203 MovieClip Frame 21
call("shoot1");
gotoAndPlay (20);
Symbol 203 MovieClip Frame 25
Set("/:elf3_v", 1);
elf3 = getProperty("/elf3", _x);
if (Number(elf3) <= Number(-100)) {
random = 0;
gotoAndPlay (1);
} else {
setProperty("/elf3", _x , getProperty("/elf3", _x) - 5);
}
Symbol 203 MovieClip Frame 26
elf3 = getProperty("/elf3", _x);
if (Number(elf3) <= Number(-100)) {
random = 0;
gotoAndPlay (1);
} else {
setProperty("/elf3", _x , getProperty("/elf3", _x) - 5);
}
Symbol 203 MovieClip Frame 27
elf3 = getProperty("/elf3", _x);
if (Number(elf3) <= Number(-100)) {
random = 0;
gotoAndPlay (1);
} else {
setProperty("/elf3", _x , getProperty("/elf3", _x) - 5);
}
Symbol 203 MovieClip Frame 28
call("hitA");
Set("/:score", Number(/:score) + 50);
Symbol 203 MovieClip Frame 29
call("hitA");
Symbol 203 MovieClip Frame 30
elf3 = getProperty("/elf3", _x);
if (Number(elf3) <= Number(-100)) {
random = 0;
gotoAndPlay (1);
} else {
setProperty("/elf3", _x , getProperty("/elf3", _x) - 5);
}
Symbol 203 MovieClip Frame 31
call("hit1");
gotoAndPlay (30);
Symbol 203 MovieClip Frame 35
stop();
Symbol 207 MovieClip Frame 1
Set("/:present3_v", 0);
Symbol 207 MovieClip Frame 2
random = Number(random(25)) + 1;
randomY = Number(random(270)) + 30;
Symbol 207 MovieClip Frame 5
setProperty("/present3", _x , 600);
Set("/:present3_v", 0);
Symbol 207 MovieClip Frame 6
if (Number(random) == 10) {
gotoAndPlay (7);
setProperty("/present3", _y , randomY);
} else {
gotoAndPlay (1);
}
Symbol 207 MovieClip Frame 7
present3 = getProperty("/present3", _x);
if (Number(present3) <= Number(-100)) {
setProperty("/present3", _x , 600);
gotoAndPlay (1);
} else {
setProperty("/present3", _x , getProperty("/present3", _x) - 5);
}
Symbol 207 MovieClip Frame 8
call("on");
gotoAndPlay (7);
Symbol 207 MovieClip Frame 15
stop();
Symbol 207 MovieClip Frame 20
Set("/:present3_v", 1);
tellTarget ("/elf") {
gotoAndPlay ("explode");
};
tellTarget ("/elf2") {
stop();
};
tellTarget ("/elf3") {
stop();
};
tellTarget ("/present1") {
stop();
};
tellTarget ("/present2") {
stop();
};
tellTarget ("/jumps") {
stop();
};
Symbol 207 MovieClip Frame 21
Set("/:present3_v", 1);
tellTarget ("/elf") {
gotoAndPlay ("explode");
};
tellTarget ("/elf2") {
stop();
};
tellTarget ("/elf3") {
stop();
};
tellTarget ("/present1") {
stop();
};
tellTarget ("/present2") {
stop();
};
tellTarget ("/jumps") {
stop();
};
Symbol 207 MovieClip Frame 23
stop();
Symbol 207 MovieClip Frame 26
Set("/:present3_v", 1);
setProperty("/missle", _x , -50);
present3 = getProperty("/present3", _x);
if (Number(present3) <= Number(-100)) {
gotoAndPlay (1);
} else {
setProperty("/present3", _x , getProperty("/present3", _x) - 5);
}
Symbol 207 MovieClip Frame 27
present3 = getProperty("/present3", _x);
if (Number(present3) <= Number(-100)) {
gotoAndPlay (1);
} else {
setProperty("/present3", _x , getProperty("/present3", _x) - 5);
}
Symbol 207 MovieClip Frame 28
Set("/:score", Number(/:score) + 50);
present3 = getProperty("/present3", _x);
if (Number(present3) <= Number(-100)) {
gotoAndPlay (1);
} else {
setProperty("/present3", _x , getProperty("/present3", _x) - 5);
}
Symbol 207 MovieClip Frame 29
present3 = getProperty("/present3", _x);
if (Number(present3) <= Number(-100)) {
gotoAndPlay (1);
} else {
setProperty("/present3", _x , getProperty("/present3", _x) - 5);
}
Symbol 207 MovieClip Frame 30
call("hit1");
gotoAndPlay (29);
Symbol 207 MovieClip Frame 35
stop();
Symbol 210 MovieClip Frame 1
Set("/:present2_v", 0);
Symbol 210 MovieClip Frame 2
random = Number(random(25)) + 1;
randomY = Number(random(270)) + 30;
Symbol 210 MovieClip Frame 5
setProperty("/present2", _x , 600);
Set("/:present2_v", 0);
Symbol 210 MovieClip Frame 6
if (Number(random) == 10) {
gotoAndPlay (10);
setProperty("/present2", _y , randomY);
} else {
gotoAndPlay (1);
}
Symbol 210 MovieClip Frame 10
present2 = getProperty("/present2", _x);
if (Number(present2) <= Number(-100)) {
setProperty("/present2", _x , 600);
gotoAndPlay (1);
} else {
setProperty("/present2", _x , getProperty("/present2", _x) - 5);
}
Symbol 210 MovieClip Frame 11
call("on");
gotoAndPlay (10);
Symbol 210 MovieClip Frame 15
stop();
Symbol 210 MovieClip Frame 20
Set("/:present2_v", 1);
tellTarget ("/elf") {
gotoAndPlay ("explode");
};
tellTarget ("/elf2") {
stop();
};
tellTarget ("/elf3") {
stop();
};
tellTarget ("/present1") {
stop();
};
tellTarget ("/present3") {
stop();
};
tellTarget ("/jumps") {
stop();
};
Symbol 210 MovieClip Frame 21
Set("/:present2_v", 1);
tellTarget ("/elf") {
gotoAndPlay ("explode");
};
tellTarget ("/elf2") {
stop();
};
tellTarget ("/elf3") {
stop();
};
tellTarget ("/present1") {
stop();
};
tellTarget ("/present3") {
stop();
};
tellTarget ("/jumps") {
stop();
};
Symbol 210 MovieClip Frame 23
stop();
Symbol 210 MovieClip Frame 26
Set("/:present2_v", 1);
setProperty("/missle", _x , -50);
present2 = getProperty("/present2", _x);
if (Number(present2) <= Number(-100)) {
gotoAndPlay (1);
} else {
setProperty("/present2", _x , getProperty("/present2", _x) - 5);
}
Symbol 210 MovieClip Frame 27
present2 = getProperty("/present2", _x);
if (Number(present2) <= Number(-100)) {
gotoAndPlay (1);
} else {
setProperty("/present2", _x , getProperty("/present2", _x) - 5);
}
Symbol 210 MovieClip Frame 28
Set("/:score", Number(/:score) + 50);
present2 = getProperty("/present2", _x);
if (Number(present2) <= Number(-100)) {
gotoAndPlay (1);
} else {
setProperty("/present2", _x , getProperty("/present2", _x) - 5);
}
Symbol 210 MovieClip Frame 29
present2 = getProperty("/present2", _x);
if (Number(present2) <= Number(-100)) {
gotoAndPlay (1);
} else {
setProperty("/present2", _x , getProperty("/present2", _x) - 5);
}
Symbol 210 MovieClip Frame 30
call("hit1");
gotoAndPlay (29);
Symbol 210 MovieClip Frame 34
stop();
Symbol 213 MovieClip Frame 1
Set("/:present1_v", 0);
Symbol 213 MovieClip Frame 2
random = Number(random(25)) + 1;
randomY = Number(random(270)) + 30;
Symbol 213 MovieClip Frame 5
setProperty("/present1", _x , 600);
Set("/:present1_v", 0);
Symbol 213 MovieClip Frame 6
if (Number(random) == 10) {
gotoAndPlay (10);
setProperty("/present1", _y , randomY);
} else {
gotoAndPlay (1);
}
Symbol 213 MovieClip Frame 10
present1 = getProperty("/present1", _x);
if (Number(present1) <= Number(-100)) {
setProperty("/present1", _x , 600);
gotoAndPlay (1);
} else {
setProperty("/present1", _x , getProperty("/present1", _x) - 5);
}
Symbol 213 MovieClip Frame 11
call("on");
gotoAndPlay (10);
Symbol 213 MovieClip Frame 15
stop();
Symbol 213 MovieClip Frame 20
Set("/:present1_v", 1);
tellTarget ("/elf") {
gotoAndPlay ("explode");
};
tellTarget ("/elf2") {
stop();
};
tellTarget ("/elf3") {
stop();
};
tellTarget ("/present2") {
stop();
};
tellTarget ("/present3") {
stop();
};
tellTarget ("/jumps") {
stop();
};
Symbol 213 MovieClip Frame 21
Set("/:present1_v", 1);
tellTarget ("/elf") {
gotoAndPlay ("explode");
};
tellTarget ("/elf2") {
stop();
};
tellTarget ("/elf3") {
stop();
};
tellTarget ("/present2") {
stop();
};
tellTarget ("/present3") {
stop();
};
tellTarget ("/jumps") {
stop();
};
Symbol 213 MovieClip Frame 23
stop();
Symbol 213 MovieClip Frame 26
Set("/:present1_v", 1);
setProperty("/missle", _x , -50);
present1 = getProperty("/present1", _x);
if (Number(present1) <= Number(-100)) {
gotoAndPlay (1);
} else {
setProperty("/present1", _x , getProperty("/present1", _x) - 5);
}
Symbol 213 MovieClip Frame 27
present1 = getProperty("/present1", _x);
if (Number(present1) <= Number(-100)) {
gotoAndPlay (1);
} else {
setProperty("/present1", _x , getProperty("/present1", _x) - 5);
}
Symbol 213 MovieClip Frame 28
Set("/:score", Number(/:score) + 50);
present1 = getProperty("/present1", _x);
if (Number(present1) <= Number(-100)) {
gotoAndPlay (1);
} else {
setProperty("/present1", _x , getProperty("/present1", _x) - 5);
}
Symbol 213 MovieClip Frame 29
present1 = getProperty("/present1", _x);
if (Number(present1) <= Number(-100)) {
gotoAndPlay (1);
} else {
setProperty("/present1", _x , getProperty("/present1", _x) - 5);
}
Symbol 213 MovieClip Frame 30
call("hit1");
gotoAndPlay (29);
Symbol 213 MovieClip Frame 33
stop();
Symbol 214 MovieClip Frame 1
stop();
random = "Random (5) + 1";
Symbol 214 MovieClip Frame 2
if (Number(random) == 2) {
gotoAndStop (5);
}
if (Number(random) == 4) {
gotoAndStop (10);
}
gotoAndPlay (1);
Symbol 214 MovieClip Frame 5
stop();
Symbol 214 MovieClip Frame 10
stop();
Symbol 217 MovieClip Frame 1
stop();
Symbol 218 MovieClip Frame 1
random = Number(random(25)) + 1;
Symbol 218 MovieClip Frame 5
if (Number(random) == 5) {
gotoAndPlay (10);
random = 0;
} else {
gotoAndPlay (1);
}
Symbol 218 MovieClip Frame 10
randomY = Number(random(230)) + 50;
setProperty("/jumps/ramp", _y , randomY);
random2Y = Number(random(230)) + 50;
setProperty("/jumps/ramp2", _y , random2Y);
Symbol 218 MovieClip Frame 11
setProperty("/jumps", _x , getProperty("/jumps", _x) - 5);
rampX = getProperty("/jumps", _x) - 20;
rampY = Number(getProperty("/jumps", _y)) + Number(randomY);
barrierX = Number(getProperty("/jumps", _x)) + 60;
barrierY = getProperty("/jumps", _y);
elfX = Number(getProperty("/elf", _x)) + 40;
elfY = Number(getProperty("/elf", _y)) + 60;
if ((((Number(Number(elfX) + 20) >= Number(rampX)) and (Number(elfX) <= Number(Number(rampX) + 20))) and (Number(Number(elfY) + 20) >= Number(rampY))) and (Number(elfY) <= Number(Number(rampY) + 60))) {
gotoAndPlay (20);
}
if ((((Number(Number(elfX) + 20) >= Number(barrierX)) and (Number(elfX) <= Number(Number(barrierX) + 20))) and (Number(Number(elfY) + 20) >= Number(barrierY))) and (Number(elfY) <= Number(Number(barrierY) + 330))) {
gotoAndPlay (27);
}
ramp2X = getProperty("/jumps", _x) - 20;
ramp2Y = Number(getProperty("/jumps", _y)) + Number(random2Y);
if ((((Number(Number(elfX) + 20) >= Number(ramp2X)) and (Number(elfX) <= Number(Number(ramp2X) + 20))) and (Number(Number(elfY) + 20) >= Number(ramp2Y))) and (Number(elfY) <= Number(Number(ramp2Y) + 60))) {
gotoAndPlay (20);
}
Symbol 218 MovieClip Frame 12
call("on1");
gotoAndPlay (11);
Symbol 218 MovieClip Frame 20
setProperty("/jumps", _x , getProperty("/jumps", _x) - 5);
tellTarget ("/elf") {
gotoAndPlay ("prejump");
};
Symbol 218 MovieClip Frame 21
jumps = getProperty("/jumps", _x);
if (Number(jumps) <= Number(-100)) {
setProperty("/jumps", _x , 600);
gotoAndPlay (1);
} else {
setProperty("/jumps", _x , getProperty("/jumps", _x) - 5);
}
Symbol 218 MovieClip Frame 22
setProperty("/jumps", _x , getProperty("/jumps", _x) - 5);
gotoAndPlay (21);
Symbol 218 MovieClip Frame 27
tellTarget ("/elf") {
gotoAndPlay ("bobwire");
};
tellTarget ("/elf2") {
stop();
};
tellTarget ("/elf3") {
stop();
};
tellTarget ("/points1") {
stop();
};
tellTarget ("/points2") {
stop();
};
tellTarget ("/points3") {
stop();
};
stop();
Symbol 223 MovieClip Frame 1
stop();
Symbol 223 MovieClip Frame 10
if (Number(/:level) == 1) {
tellTarget ("_level0") {
gotoAndPlay ("lose");
};
}
if (Number(/:level) == 2) {
tellTarget ("_level0") {
gotoAndPlay ("lose2");
};
}
if (Number(/:level) == 3) {
tellTarget ("_level0") {
gotoAndPlay ("lose2");
};
}
Symbol 249 MovieClip Frame 1
stop();
Symbol 249 MovieClip Frame 5
tellTarget ("/present3") {
gotoAndPlay ("explode");
};
Set("/:present3_v", 1);
Symbol 249 MovieClip Frame 6
call("on");
gotoAndStop (1);
Symbol 251 MovieClip Frame 1
stop();
Symbol 251 MovieClip Frame 5
tellTarget ("/present2") {
gotoAndPlay ("explode");
};
Set("/:present2_v", 1);
Symbol 251 MovieClip Frame 6
call("on");
gotoAndStop (1);
Symbol 253 MovieClip Frame 1
stop();
Symbol 253 MovieClip Frame 5
tellTarget ("/present1") {
gotoAndPlay ("explode");
};
Set("/:present1_v", 1);
Symbol 253 MovieClip Frame 6
call("on");
gotoAndStop (1);
Symbol 256 MovieClip Frame 1
if (Number(/:level) == 1) {
if (Number(/:score) >= 500) {
tellTarget ("_level0") {
gotoAndPlay ("level2");
};
gotoAndStop (5);
}
}
if (Number(/:level) == 2) {
if (Number(/:score) >= 2500) {
tellTarget ("_level0") {
gotoAndPlay ("win");
};
gotoAndStop (5);
}
}
Symbol 256 MovieClip Frame 2
call("on");
gotoAndPlay (1);
Symbol 256 MovieClip Frame 5
stop();
Symbol 259 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 261 MovieClip Frame 1
stop();
Symbol 261 MovieClip Frame 5
Set("/:gun_v", 1);
Set("/:ammo", Number(/:ammo) + 10);
Symbol 261 MovieClip Frame 6
tellTarget ("/elf") {
gotoAndPlay ("gun");
};
gotoAndStop (1);
Symbol 263 MovieClip Frame 1
stop();
Symbol 263 MovieClip Frame 5
Set("/:gun_v", 1);
Set("/:ammo", Number(/:ammo) + 10);
Symbol 263 MovieClip Frame 6
tellTarget ("/elf") {
gotoAndPlay ("gun");
};
gotoAndStop (1);
Symbol 265 MovieClip Frame 1
stop();
Symbol 265 MovieClip Frame 5
tellTarget ("/present3") {
gotoAndPlay ("hit");
};
Symbol 265 MovieClip Frame 6
call("on");
gotoAndStop (1);
Symbol 267 MovieClip Frame 1
stop();
Symbol 267 MovieClip Frame 5
tellTarget ("/present2") {
gotoAndPlay ("hit");
};
Symbol 267 MovieClip Frame 6
call("on");
gotoAndStop (1);
Symbol 269 MovieClip Frame 1
stop();
Symbol 269 MovieClip Frame 5
tellTarget ("/present1") {
gotoAndPlay ("hit");
};
Symbol 269 MovieClip Frame 6
call("on");
gotoAndStop (1);
Symbol 271 MovieClip Frame 1
stop();
Symbol 271 MovieClip Frame 5
tellTarget ("/elf3") {
gotoAndPlay ("hit");
};
Symbol 271 MovieClip Frame 6
call("on");
gotoAndStop (1);
Symbol 273 MovieClip Frame 1
stop();
Symbol 273 MovieClip Frame 5
tellTarget ("/elf2") {
gotoAndPlay ("hit");
};
Symbol 273 MovieClip Frame 6
call("on");
gotoAndStop (1);
Symbol 275 MovieClip Frame 1
stop();
Symbol 275 MovieClip Frame 5
missle2X = getProperty("/missleB", _x);
missle2Y = getProperty("/missleB", _y);
elfX = Number(getProperty("/elf", _x)) + 20;
elfY = Number(getProperty("/elf", _y)) + 40;
if ((((Number(missle2X) <= Number(Number(elfX) + 60)) and (Number(Number(missle2X) + 20) >= Number(elfX))) and (Number(missle2Y) <= Number(Number(elfY) + 40))) and (Number(Number(missle2Y) + 20) >= Number(elfY))) {
if (Number(/:elf_v) == 0) {
gotoAndPlay (10);
}
}
missle2X = getProperty("/missleB", _x);
if (Number(missle2X) <= Number(-25)) {
if (Number(/:elf3_v) == 0) {
tellTarget ("/elf3") {
gotoAndPlay ("move");
};
}
setProperty("/missleB", _x , 600);
gotoAndStop (1);
} else {
setProperty("/missleB", _x , getProperty("/missleB", _x) - 20);
}
Symbol 275 MovieClip Frame 6
call("on");
gotoAndPlay (5);
Symbol 275 MovieClip Frame 10
tellTarget ("/elf") {
gotoAndPlay ("hit");
};
setProperty("/missleB", _x , 600);
gotoAndStop (1);
Symbol 277 MovieClip Frame 1
stop();
Symbol 277 MovieClip Frame 5
missle1X = getProperty("/missleA", _x);
missle1Y = getProperty("/missleA", _y);
elfX = Number(getProperty("/elf", _x)) + 20;
elfY = Number(getProperty("/elf", _y)) + 40;
if ((((Number(missle1X) <= Number(Number(elfX) + 60)) and (Number(Number(missle1X) + 20) >= Number(elfX))) and (Number(missle1Y) <= Number(Number(elfY) + 40))) and (Number(Number(missle1Y) + 20) >= Number(elfY))) {
if (Number(/:elf_v) == 0) {
gotoAndPlay (10);
}
}
missle1X = getProperty("/missleA", _x);
if (Number(missle1X) <= Number(-25)) {
if (Number(/:elf2_v) == 0) {
tellTarget ("/elf2") {
gotoAndPlay ("move");
};
}
setProperty("/missleA", _x , 600);
gotoAndStop (1);
} else {
setProperty("/missleA", _x , getProperty("/missleA", _x) - 20);
}
Symbol 277 MovieClip Frame 6
call("on");
gotoAndPlay (5);
Symbol 277 MovieClip Frame 10
tellTarget ("/elf") {
gotoAndPlay ("hit");
};
setProperty("/missleA", _x , 600);
gotoAndStop (1);
Symbol 278 MovieClip Frame 1
elfY = getProperty("/elf", _y);
if (Number(elfY) <= 20) {
setProperty("/elf", _y , 20);
}
if (Number(elfY) >= 225) {
setProperty("/elf", _y , 225);
}
if (Number(/:Mnumber) > 10) {
Set("/:Mnumber", 1);
}
if (Number(/:ammo) <= 0) {
Set("/:ammo", 0);
Set("/:gun_v", 0);
}
Symbol 278 MovieClip Frame 2
call("on");
gotoAndPlay (1);
Symbol 299 MovieClip Frame 1
setProperty("/missleC", _x , -100);
stop();
Symbol 299 MovieClip Frame 2
missleX = getProperty("/missleC", _x);
if (Number(missleX) <= Number(-100)) {
if (Number(/:penguins_v) == 0) {
tellTarget ("/penguins") {
gotoAndPlay ("wait");
};
}
setProperty("/missleC", _x , 650);
gotoAndStop (1);
} else {
setProperty("/missleC", _x , getProperty("/missleC", _x) - 15);
}
elfX = getProperty("/elf", _x);
elfY = Number(getProperty("/elf", _y)) + 60;
missleX = getProperty("/missleC", _x);
missleY = getProperty("/missleC", _y);
if ((((Number(missleX) <= Number(Number(elfX) + 60)) and (Number(Number(missleX) + 20) >= Number(elfX))) and (Number(missleY) <= Number(Number(elfY) + 20))) and (Number(Number(missleY) + 20) >= Number(elfY))) {
if (Number(/:penguins_v) == 0) {
tellTarget ("/penguins") {
gotoAndPlay ("wait");
};
}
if (Number(/:elf_v) == 0) {
tellTarget ("/elf") {
gotoAndPlay ("hit");
};
}
setProperty("/missleC", _x , 650);
gotoAndStop (1);
}
Symbol 299 MovieClip Frame 3
call("on");
gotoAndPlay (2);
Symbol 316 MovieClip Frame 5
random = Number(random(10)) + 1;
randomY = Number(random(250)) + 40;
setProperty("/penguins", _x , 600);
Set("/:penguins_v", 0);
Symbol 316 MovieClip Frame 9
if (Number(random) == 5) {
setProperty("/penguins", _y , randomY);
gotoAndPlay (19);
} else {
gotoAndPlay (5);
}
Symbol 316 MovieClip Frame 19
penguinsX = getProperty("/penguins", _x);
if (Number(penguinsX) >= 450) {
setProperty("/penguins", _x , getProperty("/penguins", _x) - 10);
} else {
Set("/:penguins_v", 0);
gotoAndPlay (24);
}
Symbol 316 MovieClip Frame 20
call("move");
gotoAndPlay (19);
Symbol 316 MovieClip Frame 24
penguinsY = getProperty("/penguins", _y);
randomYa = random(20);
randomYb = -random(20);
randomFire = Number(random(10)) + 1;
elfY = Number(getProperty("/elf", _y)) + 40;
if (Number(penguinsY) <= 40) {
setProperty("/penguins", _y , 40);
}
if (Number(penguinsY) >= 290) {
setProperty("/penguins", _y , 290);
}
if (Number(penguinsY) < Number(elfY)) {
setProperty("/penguins", _y , Number(getProperty("/penguins", _y)) + 5);
}
if (Number(penguinsY) > Number(elfY)) {
setProperty("/penguins", _y , getProperty("/penguins", _y) - 5);
}
Symbol 316 MovieClip Frame 25
setProperty("/penguins", _y , Number(getProperty("/penguins", _y)) + Number(Number(randomYa) + Number(randomYb)));
if (Number(randomFire) == 5) {
gotoAndPlay (37);
} else {
gotoAndPlay (24);
}
Symbol 316 MovieClip Frame 29
stop();
Symbol 316 MovieClip Frame 37
setProperty("/missleC", _x , getProperty("/penguins", _x) - 70);
setProperty("/missleC", _y , getProperty("/penguins", _y));
tellTarget ("/missleC") {
gotoAndPlay ("on");
};
Symbol 316 MovieClip Frame 38
penguinsY = getProperty("/penguins", _y);
randomYa = random(20);
randomYb = -random(20);
elfY = Number(getProperty("/elf", _y)) + 40;
if (Number(penguinsY) <= 40) {
setProperty("/penguins", _y , 40);
}
if (Number(penguinsY) >= 290) {
setProperty("/penguins", _y , 290);
}
if (Number(penguinsY) < Number(elfY)) {
setProperty("/penguins", _y , Number(getProperty("/penguins", _y)) + 5);
}
if (Number(penguinsY) > Number(elfY)) {
setProperty("/penguins", _y , getProperty("/penguins", _y) - 5);
}
Symbol 316 MovieClip Frame 39
setProperty("/penguins", _y , Number(getProperty("/penguins", _y)) + Number(Number(randomYa) + Number(randomYb)));
gotoAndPlay (38);
Symbol 316 MovieClip Frame 48
penguinsX = getProperty("/penguins", _x);
if (Number(penguinsX) <= 600) {
setProperty("/penguins", _x , Number(getProperty("/penguins", _x)) + 15);
} else {
gotoAndPlay (1);
}
Symbol 316 MovieClip Frame 49
call("past");
gotoAndPlay (48);
Symbol 316 MovieClip Frame 56
gotoAndPlay (24);
Symbol 316 MovieClip Frame 62
penguins = getProperty("/penguins", _x);
if (Number(penguins) >= Number(-100)) {
setProperty("/penguins", _x , getProperty("/penguins", _x) - 10);
} else {
setProperty("/penguins", _x , -100);
gotoAndPlay (1);
}
Symbol 316 MovieClip Frame 63
call("hit");
Symbol 316 MovieClip Frame 64
call("hit");
Symbol 316 MovieClip Frame 65
call("hit");
Symbol 316 MovieClip Frame 66
Set("/:gun_v", 1);
Set("/:ammo", Number(/:ammo) + 15);
call("hit");
Symbol 316 MovieClip Frame 67
penguins = getProperty("/penguins", _x);
if (Number(penguins) >= Number(-100)) {
setProperty("/penguins", _x , getProperty("/penguins", _x) - 10);
} else {
gotoAndPlay (1);
Set("/:penguins_v", 0);
}
Symbol 316 MovieClip Frame 68
call("hit1");
gotoAndPlay (67);
Symbol 316 MovieClip Frame 71
stop();
Symbol 317 MovieClip Frame 1
Set("/:penguin3_v", 0);
random = Number(random(25)) + 1;
randomY = Number(random(270)) + 30;
Symbol 317 MovieClip Frame 5
setProperty("/penguin3", _x , 600);
Set("/:penguin3_v", 0);
Symbol 317 MovieClip Frame 6
if (Number(random) == 10) {
gotoAndPlay (10);
setProperty("/penguin3", _y , randomY);
} else {
gotoAndPlay (1);
}
Symbol 317 MovieClip Frame 10
penguin3 = getProperty("/penguin3", _x);
if (Number(penguin3) <= Number(-100)) {
setProperty("/penguin3", _x , 600);
gotoAndPlay (1);
} else {
setProperty("/penguin3", _x , getProperty("/penguin3", _x) - 10);
}
Symbol 317 MovieClip Frame 11
call("on");
gotoAndPlay (10);
Symbol 317 MovieClip Frame 15
stop();
Symbol 317 MovieClip Frame 21
penguin3 = getProperty("/penguin3", _x);
if (Number(penguin3) <= Number(-100)) {
setProperty("/penguin3", _x , 600);
gotoAndPlay (1);
} else {
setProperty("/penguin3", _x , getProperty("/penguin3", _x) - 10);
}
tellTarget ("/elf") {
gotoAndPlay ("hit");
};
Symbol 317 MovieClip Frame 22
penguin3 = getProperty("/penguin3", _x);
if (Number(penguin3) <= Number(-100)) {
setProperty("/penguin3", _x , 600);
gotoAndPlay (1);
} else {
setProperty("/penguin3", _x , getProperty("/penguin3", _x) - 10);
}
Symbol 317 MovieClip Frame 23
penguin3 = getProperty("/penguin3", _x);
if (Number(penguin3) <= Number(-100)) {
setProperty("/penguin3", _x , 600);
gotoAndPlay (1);
} else {
setProperty("/penguin3", _x , getProperty("/penguin3", _x) - 10);
}
Symbol 317 MovieClip Frame 24
penguin3 = getProperty("/penguin3", _x);
if (Number(penguin3) <= Number(-100)) {
setProperty("/penguin3", _x , 600);
gotoAndPlay (1);
} else {
setProperty("/penguin3", _x , getProperty("/penguin3", _x) - 10);
}
gotoAndPlay (10);
Symbol 317 MovieClip Frame 27
Set("/:score", Number(/:score) + 50);
Set("/:penguin3_v", 1);
setProperty("/missle", _x , -50);
tellTarget ("/missle") {
gotoAndStop ("off");
};
tellTarget ("/ammo") {
nextFrame();
};
penguin3 = getProperty("/penguin3", _x);
if (Number(penguin3) <= Number(-100)) {
gotoAndPlay (1);
} else {
setProperty("/penguin3", _x , getProperty("/penguin3", _x) - 5);
}
Symbol 317 MovieClip Frame 28
penguin3 = getProperty("/penguin3", _x);
if (Number(penguin3) <= Number(-100)) {
gotoAndPlay (1);
} else {
setProperty("/penguin3", _x , getProperty("/penguin3", _x) - 5);
}
Symbol 317 MovieClip Frame 29
penguin3 = getProperty("/penguin3", _x);
if (Number(penguin3) <= Number(-100)) {
gotoAndPlay (1);
} else {
setProperty("/penguin3", _x , getProperty("/penguin3", _x) - 5);
}
Symbol 317 MovieClip Frame 30
penguin3 = getProperty("/penguin3", _x);
if (Number(penguin3) <= Number(-100)) {
gotoAndPlay (1);
} else {
setProperty("/penguin3", _x , getProperty("/penguin3", _x) - 5);
}
Symbol 317 MovieClip Frame 31
call("hit1");
gotoAndPlay (30);
Symbol 317 MovieClip Frame 35
stop();
Symbol 318 MovieClip Frame 1
Set("/:penguin2_v", 0);
random = Number(random(25)) + 1;
randomY = Number(random(270)) + 30;
Symbol 318 MovieClip Frame 5
setProperty("/penguin2", _x , 600);
Set("/:penguin2_v", 0);
Symbol 318 MovieClip Frame 6
if (Number(random) == 10) {
gotoAndPlay (10);
setProperty("/penguin2", _y , randomY);
} else {
gotoAndPlay (1);
}
Symbol 318 MovieClip Frame 10
penguin2 = getProperty("/penguin2", _x);
if (Number(penguin2) <= Number(-100)) {
setProperty("/penguin2", _x , 600);
gotoAndPlay (1);
} else {
setProperty("/penguin2", _x , getProperty("/penguin2", _x) - 10);
}
Symbol 318 MovieClip Frame 11
call("on");
gotoAndPlay (10);
Symbol 318 MovieClip Frame 15
stop();
Symbol 318 MovieClip Frame 20
penguin2 = getProperty("/penguin2", _x);
if (Number(penguin2) <= Number(-100)) {
setProperty("/penguin2", _x , 600);
gotoAndPlay (1);
} else {
setProperty("/penguin2", _x , getProperty("/penguin2", _x) - 10);
}
tellTarget ("/elf") {
gotoAndPlay ("hit");
};
Symbol 318 MovieClip Frame 21
penguin2 = getProperty("/penguin2", _x);
if (Number(penguin2) <= Number(-100)) {
setProperty("/penguin2", _x , 600);
gotoAndPlay (1);
} else {
setProperty("/penguin2", _x , getProperty("/penguin2", _x) - 10);
}
Symbol 318 MovieClip Frame 22
penguin2 = getProperty("/penguin2", _x);
if (Number(penguin2) <= Number(-100)) {
setProperty("/penguin2", _x , 600);
gotoAndPlay (1);
} else {
setProperty("/penguin2", _x , getProperty("/penguin2", _x) - 10);
}
Symbol 318 MovieClip Frame 23
penguin2 = getProperty("/penguin2", _x);
if (Number(penguin2) <= Number(-100)) {
setProperty("/penguin2", _x , 600);
gotoAndPlay (1);
} else {
setProperty("/penguin2", _x , getProperty("/penguin2", _x) - 10);
}
gotoAndPlay (10);
Symbol 318 MovieClip Frame 26
Set("/:score", Number(/:score) + 50);
Set("/:penguin2_v", 1);
setProperty("/missle", _x , -50);
tellTarget ("/missle") {
gotoAndStop ("off");
};
tellTarget ("/ammo") {
nextFrame();
};
penguin2 = getProperty("/penguin2", _x);
if (Number(penguin2) <= Number(-100)) {
gotoAndPlay (1);
} else {
setProperty("/penguin2", _x , getProperty("/penguin2", _x) - 5);
}
Symbol 318 MovieClip Frame 27
penguin2 = getProperty("/penguin2", _x);
if (Number(penguin2) <= Number(-100)) {
gotoAndPlay (1);
} else {
setProperty("/penguin2", _x , getProperty("/penguin2", _x) - 5);
}
Symbol 318 MovieClip Frame 28
penguin2 = getProperty("/penguin2", _x);
if (Number(penguin2) <= Number(-100)) {
gotoAndPlay (1);
} else {
setProperty("/penguin2", _x , getProperty("/penguin2", _x) - 5);
}
Symbol 318 MovieClip Frame 29
penguin2 = getProperty("/penguin2", _x);
if (Number(penguin2) <= Number(-100)) {
gotoAndPlay (1);
} else {
setProperty("/penguin2", _x , getProperty("/penguin2", _x) - 5);
}
Symbol 318 MovieClip Frame 30
call("hit1");
gotoAndPlay (29);
Symbol 318 MovieClip Frame 34
stop();
Symbol 319 MovieClip Frame 1
Set("/:penguin1_v", 0);
random = Number(random(25)) + 1;
randomY = Number(random(270)) + 30;
Symbol 319 MovieClip Frame 5
setProperty("/penguin1", _x , 600);
Set("/:penguin1_v", 0);
Symbol 319 MovieClip Frame 6
if (Number(random) == 10) {
gotoAndPlay (10);
setProperty("/penguin1", _y , randomY);
} else {
gotoAndPlay (1);
}
Symbol 319 MovieClip Frame 10
penguin1 = getProperty("/penguin1", _x);
if (Number(penguin1) <= Number(-100)) {
setProperty("/penguin1", _x , 600);
gotoAndPlay (1);
} else {
setProperty("/penguin1", _x , getProperty("/penguin1", _x) - 10);
}
Symbol 319 MovieClip Frame 11
call("on");
gotoAndPlay (10);
Symbol 319 MovieClip Frame 15
stop();
Symbol 319 MovieClip Frame 20
penguin1 = getProperty("/penguin1", _x);
if (Number(penguin1) <= Number(-100)) {
setProperty("/penguin1", _x , 600);
gotoAndPlay (1);
} else {
setProperty("/penguin1", _x , getProperty("/penguin1", _x) - 10);
}
tellTarget ("/elf") {
gotoAndPlay ("hit");
};
Symbol 319 MovieClip Frame 21
penguin1 = getProperty("/penguin1", _x);
if (Number(penguin1) <= Number(-100)) {
setProperty("/penguin1", _x , 600);
gotoAndPlay (1);
} else {
setProperty("/penguin1", _x , getProperty("/penguin1", _x) - 10);
}
Symbol 319 MovieClip Frame 22
penguin1 = getProperty("/penguin1", _x);
if (Number(penguin1) <= Number(-100)) {
setProperty("/penguin1", _x , 600);
gotoAndPlay (1);
} else {
setProperty("/penguin1", _x , getProperty("/penguin1", _x) - 10);
}
Symbol 319 MovieClip Frame 23
penguin1 = getProperty("/penguin1", _x);
if (Number(penguin1) <= Number(-100)) {
setProperty("/penguin1", _x , 600);
gotoAndPlay (1);
} else {
setProperty("/penguin1", _x , getProperty("/penguin1", _x) - 10);
}
gotoAndPlay (10);
Symbol 319 MovieClip Frame 26
Set("/:score", Number(/:score) + 50);
Set("/:penguin1_v", 1);
setProperty("/missle", _x , -50);
tellTarget ("/missle") {
gotoAndStop ("off");
};
tellTarget ("/ammo") {
nextFrame();
};
penguin1 = getProperty("/penguin1", _x);
if (Number(penguin1) <= Number(-100)) {
gotoAndPlay (1);
} else {
setProperty("/penguin1", _x , getProperty("/penguin1", _x) - 5);
}
Symbol 319 MovieClip Frame 27
penguin1 = getProperty("/penguin1", _x);
if (Number(penguin1) <= Number(-100)) {
gotoAndPlay (1);
} else {
setProperty("/penguin1", _x , getProperty("/penguin1", _x) - 5);
}
Symbol 319 MovieClip Frame 28
penguin1 = getProperty("/penguin1", _x);
if (Number(penguin1) <= Number(-100)) {
gotoAndPlay (1);
} else {
setProperty("/penguin1", _x , getProperty("/penguin1", _x) - 5);
}
Symbol 319 MovieClip Frame 29
penguin1 = getProperty("/penguin1", _x);
if (Number(penguin1) <= Number(-100)) {
gotoAndPlay (1);
} else {
setProperty("/penguin1", _x , getProperty("/penguin1", _x) - 5);
}
Symbol 319 MovieClip Frame 30
call("hit1");
gotoAndPlay (29);
Symbol 319 MovieClip Frame 35
stop();
Symbol 321 MovieClip Frame 1
stop();
Symbol 321 MovieClip Frame 5
if (Number(penguins) >= 3) {
Set("/:penguins_v", 1);
tellTarget ("/penguins hit") {
gotoAndPlay ("on");
};
gotoAndPlay (1);
penguins = 0;
} else {
tellTarget ("/penguins") {
gotoAndPlay ("prehit");
};
penguins = Number(penguins) + 1;
}
Symbol 321 MovieClip Frame 6
Set("/:score", Number(/:score) + 50);
gotoAndStop (1);
Symbol 321 MovieClip Frame 10
tellTarget ("/penguins") {
gotoAndPlay ("hit");
};
Symbol 321 MovieClip Frame 11
call("on");
Set("/:score", Number(/:score) + 50);
gotoAndStop (1);
Symbol 324 MovieClip Frame 1
stop();
Symbol 324 MovieClip Frame 5
tellTarget ("/penguin3") {
gotoAndPlay ("explode");
};
Symbol 324 MovieClip Frame 6
call("on");
gotoAndStop (1);
Symbol 325 MovieClip Frame 1
stop();
Symbol 325 MovieClip Frame 5
tellTarget ("/penguin2") {
gotoAndPlay ("explode");
};
Symbol 325 MovieClip Frame 6
call("on");
gotoAndStop (1);
Symbol 327 MovieClip Frame 1
stop();
Symbol 327 MovieClip Frame 5
tellTarget ("/penguin1") {
gotoAndPlay ("explode");
};
Symbol 327 MovieClip Frame 6
call("on");
gotoAndStop (1);
Symbol 328 MovieClip Frame 1
stop();
Symbol 328 MovieClip Frame 5
tellTarget ("/penguin3") {
gotoAndPlay ("hit");
};
Symbol 328 MovieClip Frame 6
call("on");
gotoAndStop (1);
Symbol 329 MovieClip Frame 1
stop();
Symbol 329 MovieClip Frame 5
tellTarget ("/penguin2") {
gotoAndPlay ("hit");
};
Symbol 329 MovieClip Frame 6
call("on");
gotoAndStop (1);
Symbol 330 MovieClip Frame 1
stop();
Symbol 330 MovieClip Frame 5
tellTarget ("/penguin1") {
gotoAndPlay ("hit");
};
Symbol 330 MovieClip Frame 6
call("on");
gotoAndStop (1);
Symbol 339 Button
on (keyPress "<Up>") {
if (Key.isDown(38)) {
setProperty("/elf", _y , getProperty("/elf", _y) - 12);
}
}
on (keyPress "<Down>") {
if (Key.isDown(40)) {
setProperty("/elf", _y , Number(getProperty("/elf", _y)) + 12);
}
}
Symbol 340 MovieClip Frame 1
stop();
Symbol 340 MovieClip Frame 2
stop();
Symbol 342 Button
on (rollOver) {
b = new Sound();
b.attachSound("Bottle Pop 1");
b.start();
}
on (press) {
_root.gun_v = 0;
_root.elf_v = 0;
_root.elf2_v = 0;
_root.elf3_v = 0;
_root.present1_v = 0;
_root.present2_v = 0;
_root.present3_v = 0;
_root.penguins_v = 0;
_root.penguin1_v = 0;
_root.penguin2_v = 0;
_root.penguin3_v = 0;
_root.mNumber = 1;
_root.level = 2;
_root.gotoAndStop("level 2");
}
Symbol 346 Button
on (rollOver) {
b = new Sound();
b.attachSound("Bottle Pop 1");
b.start();
}
on (press) {
_root.level = 3;
_root.elf_v = 0;
_root.elf2_v = 0;
_root.elf3_v = 0;
_root.present1_v = 0;
_root.present2_v = 0;
_root.present3_v = 0;
_root.penguins_v = 0;
_root.penguin1_v = 0;
_root.penguin2_v = 0;
_root.penguin3_v = 0;
_root.mNumber = 1;
_root.gotoAndPlay("level 2");
}
Symbol 347 Button
on (rollOver) {
b = new Sound();
b.attachSound("Bottle Pop 1");
b.start();
}
on (press) {
_root.ammo = 0;
_root.gun_v = 0;
_root.elf_v = 0;
_root.elf2_v = 0;
_root.elf3_v = 0;
_root.present1_v = 0;
_root.present2_v = 0;
_root.present3_v = 0;
_root.penguins_v = 0;
_root.penguin1_v = 0;
_root.penguin2_v = 0;
_root.penguin3_v = 0;
_root.mNumber = 1;
_root.score = 0;
stopAllSounds();
_root.gotoAndPlay("play_again");
}
Symbol 414 MovieClip Frame 1
random = Number(random(10)) + 1;
Symbol 414 MovieClip Frame 3
if (Number(random) == 1) {
gotoAndPlay (5);
}
if (Number(random) == 2) {
gotoAndPlay (10);
}
if (Number(random) == 3) {
gotoAndPlay (15);
}
if (Number(random) == 6) {
gotoAndPlay (24);
}
if (Number(random) == 7) {
gotoAndPlay (24);
}
if (Number(random) == 8) {
gotoAndPlay (24);
}
Symbol 414 MovieClip Frame 4
gotoAndPlay (1);
Symbol 414 MovieClip Frame 9
gotoAndPlay (1);
Symbol 414 MovieClip Frame 14
gotoAndPlay (1);
Symbol 414 MovieClip Frame 23
gotoAndPlay (1);
Symbol 414 MovieClip Frame 26
gotoAndPlay (1);
Symbol 449 MovieClip Frame 88
gotoAndPlay (63);