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.movieQualitySetting.movieQuality = _root.movieQualityDefault;
b = new Sound();
b.attachSound("blink");
stop();
Frame 110
_root.movieQualitySetting.movieQuality = 4;
rNum2 = 0;
Frame 126
rNum2 = Number(random(3)) + 1;
Frame 127
if (Number(rNum2) == 1) {
gotoAndPlay ("growl");
}
if (Number(rNum2) == 2) {
gotoAndPlay ("spit");
}
if (Number(rNum2) == 3) {
gotoAndPlay ("break");
}
Frame 128
call("random");
Frame 147
_root.gotoAndStop("game");
Frame 172
_root.gotoAndStop("game");
Frame 205
_root.gotoAndStop("game");
Frame 206
_root.movieQualitySetting.movieQuality = 4;
Frame 243
_root.gotoAndStop("game");
Frame 246
_root.movieQualitySetting.movieQuality = 4;
Frame 302
if (Number(directions) == 0) {
gotoAndStop ("directions for fight");
} else {
gotoAndStop ("fight");
}
Frame 303
if (Number(directions) == 0) {
gotoAndStop ("directions for fight");
} else {
gotoAndStop ("fight");
}
Frame 304
directions = 1;
Frame 308
_root.movieQualitySetting.movieQuality = 4;
stop();
Frame 313
_root.movieQualitySetting.movieQuality = 4;
if (Number(/:period) == 3) {
gotoAndPlay ("game over");
}
Frame 314
call("intermission");
Frame 371
if (Number(/:period) == 1) {
gotoAndPlay ("intermission1");
}
if (Number(/:period) == 2) {
gotoAndPlay ("intermission2");
}
Frame 372
if (Number(/:period) == 1) {
gotoAndPlay ("intermission1");
}
if (Number(/:period) == 2) {
gotoAndPlay ("intermission2");
}
Frame 551
stop();
Frame 721
stop();
Frame 733
tellTarget ("/logo") {
gotoAndPlay ("on");
};
Frame 761
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 24 Button
on (release) {
_root.game = "pause";
gotoAndStop ("up");
}
Symbol 25 Button
on (release) {
_root.game = "play";
gotoAndStop ("down");
}
Symbol 30 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 32 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 33 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 34 Button
on (press) {
_level0.movieQualityUserSet = 3;
gotoAndStop ("high");
}
Symbol 35 Button
on (press) {
_level0.movieQualityUserSet = 2;
gotoAndStop ("medium");
}
Symbol 36 Button
on (press) {
_level0.movieQualityUserSet = 1;
gotoAndStop ("low");
}
Symbol 37 Button
on (press) {
_level0.movieQualityUserSet = 3;
_level0.movieQualitySetting.movieQuality = 3;
gotoAndStop ("high");
}
Symbol 38 Button
on (press) {
_level0.movieQualityUserSet = 2;
_level0.movieQualitySetting.movieQuality = 2;
gotoAndStop ("medium");
}
Symbol 39 Button
on (press) {
_level0.movieQualityUserSet = 1;
_level0.movieQualitySetting.movieQuality = 1;
gotoAndStop ("low");
}
Symbol 40 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 40 MovieClip Frame 7
stop();
Symbol 40 MovieClip Frame 14
stop();
Symbol 40 MovieClip Frame 22
stop();
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 30 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");
}
}
Instance of Symbol 40 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");
}
}
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 46 Button
on (release) {
getURL (_root.playMoreGamesLink, "_blank");
}
Symbol 47 Button
on (press) {
_root.gotoAndStop("instructions");
this.removeMovieClip();
}
Symbol 48 Button
on (release) {
getURL (_root.gamesForYourSiteLink, "_blank");
}
Symbol 49 Button
on (press) {
_root.background.removeMovieClip();
_root.game_intro.removeMovieClip();
_root.gotoAndPlay("game");
this.removeMovieClip();
}
Symbol 51 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 62 MovieClip Frame 43
stop();
Symbol 68 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 69 Button
on (press) {
_root.background.removeMovieClip();
_root.developer_instructions.removeMovieClip();
_root.gotoAndStop("game");
this.removeMovieClip();
}
Symbol 71 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 72 Button
on (press) {
_root.gotoAndPlay("GO");
this.removeMovieClip();
}
Symbol 73 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 76 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 78 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 81 Button
on (release) {
_root.game = "pause";
gotoAndStop ("up");
}
Symbol 82 Button
on (release) {
_root.game = "play";
gotoAndStop ("down");
}
Symbol 86 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 86 MovieClip [menu_gamepug] Frame 2
1();
Symbol 86 MovieClip [menu_gamepug] Frame 5
stop();
Instance of Symbol 30 MovieClip in Symbol 86 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");
}
}
Instance of Symbol 40 MovieClip in Symbol 86 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");
}
}
Symbol 86 MovieClip [menu_gamepug] Frame 6
1();
Symbol 87 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 89 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 91 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 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 123 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 130 MovieClip Frame 1
if (Number(/:period) == 1) {
gotoAndStop ("one");
}
if (Number(/:period) == 2) {
gotoAndStop ("two");
}
if (Number(/:period) == 3) {
gotoAndStop ("three");
}
Symbol 130 MovieClip Frame 2
gotoAndPlay (1);
Symbol 130 MovieClip Frame 3
stop();
Symbol 130 MovieClip Frame 4
stop();
Symbol 130 MovieClip Frame 5
stop();
Symbol 137 MovieClip Frame 1
stop();
Symbol 137 MovieClip Frame 5
tellTarget ("/rcn") {
gotoAndPlay ("on");
};
Symbol 137 MovieClip Frame 6
Set("/:goals", Number(/:goals) + 1);
Set("/:points", Number(/:points) + 250);
Symbol 137 MovieClip Frame 40
gotoAndStop ("off");
Symbol 137 MovieClip Frame 57
gotoAndStop ("off");
Symbol 161 Button
on (press) {
_root.background.removeMovieClip();
_root.developer_intro.removeMovieClip();
_root.gotoAndPlay("game");
this.removeMovieClip();
}
Symbol 176 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 177 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 182 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 194 MovieClip Frame 1
stop();
Symbol 194 MovieClip Frame 2
skater = getProperty("/skater", _x);
if (Number(skater) >= Number(-100)) {
setProperty("/skater", _x , getProperty("/skater", _x) - 30);
} else {
gotoAndPlay ("done");
}
puckX = getProperty("/puck", _x) - 20;
puckY = getProperty("/puck", _y) - 20;
skaterX = getProperty("/skater", _x) - 40;
skaterY = getProperty("/skater", _y) - 40;
if ((((Number(skaterX) <= Number(Number(puckX) + 40)) and (Number(Number(skaterX) + 80) >= Number(puckX))) and (Number(skaterY) <= Number(Number(puckY) + 40))) and (Number(Number(skaterY) + 80) >= Number(puckY))) {
tellTarget ("/puck") {
gotoAndStop ("off");
};
}
puck = getProperty("/puck", _x);
if (Number(puck) >= 500) {
tellTarget ("/puck") {
gotoAndStop ("off");
};
}
Symbol 194 MovieClip Frame 3
call("on");
Symbol 194 MovieClip Frame 4
call("on");
Symbol 194 MovieClip Frame 5
call("on");
Symbol 194 MovieClip Frame 6
call("on");
Symbol 194 MovieClip Frame 7
call("on");
Symbol 194 MovieClip Frame 8
call("on");
Symbol 194 MovieClip Frame 9
call("on");
Symbol 194 MovieClip Frame 10
gotoAndPlay ("on");
Symbol 194 MovieClip Frame 13
setProperty("/skater", _x , 600);
if (Number(_root.shooterVar) == 0) {
tellTarget ("/shooter/puck back") {
gotoAndPlay ("on");
};
}
tellTarget ("/direction strip") {
gotoAndStop ("off");
};
Set("/:direction", 0);
_root.puckVar = 0;
Symbol 194 MovieClip Frame 14
gotoAndStop ("off");
Symbol 201 MovieClip Frame 1
setProperty("/puck", _xscale , 100);
setProperty("/puck", _yscale , 100);
setProperty("/puck", _x , -50);
setProperty("/puck", _y , 250);
stop();
Symbol 201 MovieClip Frame 2
_root.puckVar = 1;
power = /:power;
direction = /:direction;
Symbol 201 MovieClip Frame 3
puck = getProperty("/puck", _y);
if (Number(puck) <= 77) {
gotoAndPlay ("done");
}
setProperty("/puck", _y , getProperty("/puck", _y) - power);
setProperty("/puck", _x , Number(getProperty("/puck", _x)) + Number(direction));
if (Number(puck) <= 200) {
setProperty("/puck", _xscale , getProperty("/puck", _xscale) - /:puck_scale);
setProperty("/puck", _yscale , getProperty("/puck", _yscale) - /:puck_scale);
}
puckX = getProperty("/puck", _x) - 5;
puckY = getProperty("/puck", _y) - 5;
goalieX1 = getProperty("/goalie", _x) - 10;
goalieY1 = getProperty("/goalie", _y);
if (Number(_root.goalieVar) == 0) {
if ((((Number(puckX) <= Number(Number(goalieX1) + 20)) and (Number(Number(puckX) + 10) >= Number(goalieX1))) and (Number(puckY) <= Number(Number(goalieY1) + 50))) and (Number(Number(puckY) + 10) >= Number(goalieY1))) {
_root.goalieVar = 1;
tellTarget ("/goalie") {
gotoAndPlay ("shoulder");
};
gotoAndPlay ("hidden");
}
}
goalieX2 = Number(getProperty("/goalie", _x)) + 10;
goalieY2 = getProperty("/goalie", _y);
if (Number(_root.goalieVar) == 0) {
if ((((Number(puckX) <= Number(Number(goalieX2) + 40)) and (Number(Number(puckX) + 10) >= Number(goalieX2))) and (Number(puckY) <= Number(Number(goalieY2) + 50))) and (Number(Number(puckY) + 10) >= Number(goalieY2))) {
_root.goalieVar = 1;
tellTarget ("/goalie") {
gotoAndPlay ("butterfly");
};
gotoAndPlay ("hidden");
}
}
goalieX3 = Number(getProperty("/goalie", _x)) + 50;
goalieY3 = getProperty("/goalie", _y);
if (Number(_root.goalieVar) == 0) {
if ((((Number(puckX) <= Number(Number(goalieX3) + 20)) and (Number(Number(puckX) + 10) >= Number(goalieX3))) and (Number(puckY) <= Number(Number(goalieY3) + 50))) and (Number(Number(puckY) + 10) >= Number(goalieY3))) {
_root.goalieVar = 1;
tellTarget ("/goalie") {
gotoAndPlay ("glove");
};
gotoAndPlay ("hidden");
}
}
goalieX4 = getProperty("/goalie", _x) - 60;
goalieY4 = getProperty("/goalie", _y);
if (Number(_root.goalieVar) == 0) {
if ((((Number(puckX) <= Number(Number(goalieX4) + 50)) and (Number(Number(puckX) + 10) >= Number(goalieX4))) and (Number(puckY) <= Number(Number(goalieY4) + 50))) and (Number(Number(puckY) + 10) >= Number(goalieY4))) {
_root.goalieVar = 1;
tellTarget ("/goalie") {
gotoAndPlay ("left kick");
};
}
}
goalieX5 = Number(getProperty("/goalie", _x)) + 70;
goalieY5 = getProperty("/goalie", _y);
if (Number(_root.goalieVar) == 0) {
if ((((Number(puckX) <= Number(Number(goalieX5) + 50)) and (Number(Number(puckX) + 10) >= Number(goalieX5))) and (Number(puckY) <= Number(Number(goalieY5) + 50))) and (Number(Number(puckY) + 10) >= Number(goalieY5))) {
_root.goalieVar = 1;
tellTarget ("/goalie") {
gotoAndPlay ("right kick");
};
}
}
barX1 = getProperty("/net", _x) - 10;
barY1 = getProperty("/net", _y);
if ((((Number(puckX) <= Number(Number(barX1) + 10)) and (Number(Number(puckX) + 10) >= Number(barX1))) and (Number(puckY) <= Number(Number(barY1) + 45))) and (Number(Number(puckY) + 10) >= Number(barY1))) {
_root.goalieVar = 1;
gotoAndPlay ("block");
tellTarget ("/light") {
gotoAndPlay ("bar");
};
}
barX2 = Number(getProperty("/net", _x)) + 140;
barY2 = getProperty("/net", _y);
if ((((Number(puckX) <= Number(Number(barX2) + 10)) and (Number(Number(puckX) + 10) >= Number(barX2))) and (Number(puckY) <= Number(Number(barY2) + 45))) and (Number(Number(puckY) + 10) >= Number(barY2))) {
_root.goalieVar = 1;
gotoAndPlay ("block");
tellTarget ("/light") {
gotoAndPlay ("bar");
};
}
netX = getProperty("/net", _x);
netY = getProperty("/net", _y);
if ((((Number(puckX) <= Number(Number(netX) + 140)) and (Number(Number(puckX) + 10) >= Number(netX))) and (Number(puckY) <= Number(Number(netY) + 60))) and (Number(Number(puckY) + 10) >= Number(netY))) {
_root.goalieVar = 1;
gotoAndPlay ("goal");
}
defenderX = Number(getProperty("/defender1", _x)) + 60;
defenderY = Number(getProperty("/defender1", _y)) + 20;
if (Number(_root.defender1Var) == 0) {
if ((((Number(puckX) <= Number(Number(defenderX) + 50)) and (Number(Number(puckX) + 10) >= Number(defenderX))) and (Number(puckY) <= Number(Number(defenderY) + 40))) and (Number(Number(puckY) + 10) >= Number(defenderY))) {
tellTarget ("/defender1") {
gotoAndPlay ("down hit");
};
gotoAndPlay ("hidden");
}
}
defenderX2 = getProperty("/defender1", _x);
defenderY2 = getProperty("/defender1", _y);
if (Number(/:defender1_down) == 1) {
if ((((Number(puckX) <= Number(Number(defenderX2) + 40)) and (Number(Number(puckX) + 10) >= Number(defenderX2))) and (Number(puckY) <= Number(Number(defenderY2) + 40))) and (Number(Number(puckY) + 10) >= Number(defenderY2))) {
tellTarget ("/defender1") {
gotoAndPlay ("hit");
};
gotoAndPlay ("hidden");
}
}
defender2X = Number(getProperty("/defender2", _x)) + 60;
defender2Y = Number(getProperty("/defender2", _y)) + 20;
if (Number(_root.defender2Var) == 0) {
if ((((Number(puckX) <= Number(Number(defender2X) + 50)) and (Number(Number(puckX) + 10) >= Number(defender2X))) and (Number(puckY) <= Number(Number(defender2Y) + 40))) and (Number(Number(puckY) + 10) >= Number(defender2Y))) {
tellTarget ("/defender2") {
gotoAndPlay ("down hit");
};
gotoAndPlay ("hidden");
}
}
defender2X2 = getProperty("/defender2", _x);
defender2Y2 = getProperty("/defender2", _y);
if (Number(/:defender2_down) == 1) {
if ((((Number(puckX) <= Number(Number(defender2X2) + 40)) and (Number(Number(puckX) + 10) >= Number(defender2X2))) and (Number(puckY) <= Number(Number(defender2Y2) + 40))) and (Number(Number(puckY) + 10) >= Number(defender2Y2))) {
tellTarget ("/defender2") {
gotoAndPlay ("hit");
};
gotoAndPlay ("hidden");
}
}
Symbol 201 MovieClip Frame 4
call("on1");
gotoAndPlay ("on1");
Symbol 201 MovieClip Frame 10
setProperty("/puck", _y , Number(getProperty("/puck", _y)) + 10);
Symbol 201 MovieClip Frame 11
setProperty("/puck", _y , Number(getProperty("/puck", _y)) + 10);
Symbol 201 MovieClip Frame 13
setProperty("/puck", _y , getProperty("/puck", _y) - 10);
Symbol 201 MovieClip Frame 15
setProperty("/puck", _y , Number(getProperty("/puck", _y)) + 10);
Symbol 201 MovieClip Frame 16
puck = getProperty("/puck", _y);
if (Number(puck) <= 60) {
setProperty("/puck", _y , Number(getProperty("/puck", _y)) + 20);
}
Symbol 201 MovieClip Frame 20
puck = getProperty("/puck", _x);
if (Number(puck) >= 500) {
if (Number(_root.shooterVar) == 0) {
tellTarget ("/shooter/puck back") {
gotoAndPlay ("on");
};
}
tellTarget ("/direction strip") {
gotoAndStop ("off");
};
Set("/:direction", 0);
gotoAndStop ("off");
} else {
tellTarget ("/skater") {
gotoAndPlay ("on");
};
}
stop();
Symbol 201 MovieClip Frame 25
if (Number(_root.shooterVar) == 0) {
tellTarget ("/shooter") {
gotoAndStop ("off");
};
}
tellTarget ("/direction strip") {
gotoAndStop ("off");
};
Set("/:direction", 0);
_root.puckVar = 0;
gotoAndStop ("off");
Symbol 201 MovieClip Frame 30
setProperty("/puck", _y , Number(getProperty("/puck", _y)) + 25);
setProperty("/puck", _xscale , Number(getProperty("/puck", _xscale)) + 10);
setProperty("/puck", _yscale , Number(getProperty("/puck", _yscale)) + 10);
Symbol 201 MovieClip Frame 31
setProperty("/puck", _y , Number(getProperty("/puck", _y)) + 25);
Symbol 201 MovieClip Frame 32
setProperty("/puck", _y , Number(getProperty("/puck", _y)) + 25);
setProperty("/puck", _xscale , Number(getProperty("/puck", _xscale)) + 10);
setProperty("/puck", _yscale , Number(getProperty("/puck", _yscale)) + 10);
Symbol 201 MovieClip Frame 33
tellTarget ("/goalie") {
gotoAndPlay ("hit puck");
};
tellTarget ("/puck") {
gotoAndStop ("off");
};
Symbol 201 MovieClip Frame 45
if (Number(_root.shooterVar) == 0) {
tellTarget ("/shooter") {
gotoAndStop ("off");
};
}
tellTarget ("/direction strip") {
gotoAndStop ("off");
};
Set("/:direction", 0);
_root.puckVar = 0;
gotoAndStop ("off");
Symbol 201 MovieClip Frame 50
setProperty("/puck", _y , getProperty("/puck", _y) - 5);
Symbol 201 MovieClip Frame 51
setProperty("/puck", _y , Number(getProperty("/puck", _y)) + 10);
Symbol 201 MovieClip Frame 52
tellTarget ("/light") {
gotoAndPlay ("on");
};
Symbol 201 MovieClip Frame 53
setProperty("/puck", _y , getProperty("/puck", _y) - 5);
Symbol 201 MovieClip Frame 55
setProperty("/puck", _y , Number(getProperty("/puck", _y)) + 5);
Symbol 201 MovieClip Frame 78
if (Number(_root.shooterVar) == 0) {
tellTarget ("/shooter") {
gotoAndStop ("off");
};
}
tellTarget ("/direction strip") {
gotoAndStop ("off");
};
Set("/:direction", 0);
_root.puckVar = 0;
tellTarget ("_level0") {
gotoAndPlay ("goal");
};
Symbol 201 MovieClip Frame 83
setProperty("/puck", _xscale , 100);
setProperty("/puck", _yscale , 100);
setProperty("/puck", _x , -50);
setProperty("/puck", _y , 250);
stop();
Symbol 201 MovieClip Frame 87
stop();
Symbol 201 MovieClip Frame 93
if (Number(_root.shooterVar) == 0) {
tellTarget ("/shooter/puck back") {
gotoAndPlay ("on");
};
}
tellTarget ("/direction strip") {
gotoAndStop ("off");
};
Set("/:direction", 0);
_root.puckVar = 0;
gotoAndStop ("off");
Symbol 232 MovieClip Frame 2
call("off");
gotoAndPlay ("off");
Symbol 232 MovieClip Frame 10
setProperty("/goalie", _x , Number(getProperty("/goalie", _x)) + 15);
Symbol 232 MovieClip Frame 11
setProperty("/goalie", _x , Number(getProperty("/goalie", _x)) + 15);
Symbol 232 MovieClip Frame 19
_root.goalieVar = 0;
gotoAndPlay ("off");
Symbol 232 MovieClip Frame 20
setProperty("/goalie", _x , getProperty("/goalie", _x) - 15);
Symbol 232 MovieClip Frame 21
setProperty("/goalie", _x , getProperty("/goalie", _x) - 15);
Symbol 232 MovieClip Frame 29
_root.goalieVar = 0;
gotoAndPlay ("off");
Symbol 232 MovieClip Frame 36
_root.goalieVar = 0;
tellTarget ("_level0") {
gotoAndPlay ("no soup");
};
Symbol 232 MovieClip Frame 37
setProperty("/goalie", _x , getProperty("/goalie", _x) - 15);
Symbol 232 MovieClip Frame 44
gotoAndPlay ("hit puck");
Symbol 232 MovieClip Frame 53
_root.goalieVar = 0;
tellTarget ("/puck") {
gotoAndPlay ("play");
};
gotoAndPlay ("off");
Symbol 232 MovieClip Frame 64
gotoAndPlay ("hit puck");
Symbol 266 MovieClip Frame 1
random = Number(random(10)) + 1;
Set("/:defender1_boundaries", 1);
Set("/:defender1_down", 0);
_root.defender1Var = 0;
Symbol 266 MovieClip Frame 2
if (Number(random) == 2) {
gotoAndPlay ("right");
}
if (Number(random) == 4) {
gotoAndPlay ("left");
}
if (Number(random) == 6) {
gotoAndPlay ("forward");
}
if (Number(random) == 8) {
gotoAndPlay ("down");
}
if (Number(random) == 9) {
gotoAndPlay ("down");
}
Symbol 266 MovieClip Frame 5
gotoAndPlay ("off");
Symbol 266 MovieClip Frame 12
gotoAndPlay ("off");
Symbol 266 MovieClip Frame 25
Set("/:defender1_down", 0);
tellTarget ("/puck") {
gotoAndPlay ("play");
};
gotoAndPlay ("off");
Symbol 266 MovieClip Frame 27
Set("/:defender1_down", 1);
Symbol 266 MovieClip Frame 37
Set("/:defender1_down", 0);
gotoAndPlay ("off");
Symbol 266 MovieClip Frame 39
tellTarget ("/puck") {
gotoAndPlay ("hidden");
};
Symbol 266 MovieClip Frame 45
Set("/:points", Number(/:points) + 50);
Symbol 266 MovieClip Frame 73
Set("/:defender1_down", 0);
tellTarget ("/puck") {
gotoAndPlay ("play");
};
gotoAndPlay ("off");
Symbol 266 MovieClip Frame 77
setProperty("/defender1", _x , Number(getProperty("/defender1", _x)) + 10);
Symbol 266 MovieClip Frame 78
call("right");
Symbol 266 MovieClip Frame 79
call("right");
Symbol 266 MovieClip Frame 80
random = 0;
call("right");
gotoAndPlay ("off");
Symbol 266 MovieClip Frame 85
setProperty("/defender1", _x , getProperty("/defender1", _x) - 10);
Symbol 266 MovieClip Frame 86
call("left");
Symbol 266 MovieClip Frame 87
call("left");
Symbol 266 MovieClip Frame 88
random = 0;
call("left");
gotoAndPlay ("off");
Symbol 266 MovieClip Frame 95
_root.defender1Var = 1;
defender = getProperty("/defender1", _y);
if (Number(defender) <= 400) {
setProperty("/defender1", _y , Number(getProperty("/defender1", _y)) + 10);
} else {
gotoAndPlay ("again");
}
defenderX = getProperty("/defender1", _x) - 40;
defenderY = getProperty("/defender1", _y) - 20;
shooterX = getProperty("/shooter", _x) - 20;
shooterY = getProperty("/shooter", _y) - 20;
if (Number(_root.shooterVar) == 0) {
if (Number(_root.puckVar) == 0) {
if ((((Number(shooterX) <= Number(Number(defenderX) + 100)) and (Number(Number(shooterX) + 60) >= Number(defenderX))) and (Number(shooterY) <= Number(Number(defenderY) + 20))) and (Number(Number(shooterY) + 20) >= Number(defenderY))) {
tellTarget ("/shooter") {
gotoAndPlay ("hit1a");
};
_root.shooterVar = 1;
}
}
if (Number(_root.puckVar) == 1) {
if ((((Number(shooterX) <= Number(Number(defenderX) + 100)) and (Number(Number(shooterX) + 60) >= Number(defenderX))) and (Number(shooterY) <= Number(Number(defenderY) + 20))) and (Number(Number(shooterY) + 20) >= Number(defenderY))) {
tellTarget ("/shooter") {
gotoAndPlay ("hit1b");
};
_root.shooterVar = 1;
}
}
}
defenderX1 = Number(getProperty("/defender1", _x)) + 60;
defenderY1 = getProperty("/defender1", _y);
shooterX = getProperty("/shooter", _x) - 20;
shooterY = getProperty("/shooter", _y) - 20;
if (Number(_root.shooterVar) == 0) {
if (Number(_root.puckVar) == 0) {
if ((((Number(shooterX) <= Number(Number(defenderX1) + 40)) and (Number(Number(shooterX) + 60) >= Number(defenderX1))) and (Number(shooterY) <= Number(Number(defenderY1) + 10))) and (Number(Number(shooterY) + 20) >= Number(defenderY1))) {
tellTarget ("/shooter") {
gotoAndPlay ("hit1a");
};
_root.shooterVar = 1;
}
}
if (Number(_root.puckVar) == 1) {
if ((((Number(shooterX) <= Number(Number(defenderX1) + 40)) and (Number(Number(shooterX) + 60) >= Number(defenderX1))) and (Number(shooterY) <= Number(Number(defenderY1) + 10))) and (Number(Number(shooterY) + 20) >= Number(defenderY1))) {
tellTarget ("/shooter") {
gotoAndPlay ("hit1b");
};
_root.shooterVar = 1;
}
}
}
Symbol 266 MovieClip Frame 96
call("forward");
Symbol 266 MovieClip Frame 97
call("forward");
Symbol 266 MovieClip Frame 98
call("forward");
Symbol 266 MovieClip Frame 99
call("forward");
gotoAndPlay ("forward");
Symbol 266 MovieClip Frame 105
random = 0;
Set("/:defender1_boundaries", 0);
Symbol 266 MovieClip Frame 106
setProperty("/defender1", _x , -200);
setProperty("/defender1", _y , 125);
Set("/:defender1_boundaries", 0);
Symbol 266 MovieClip Frame 107
random = random(10);
Symbol 266 MovieClip Frame 108
if (Number(random) == 5) {
gotoAndPlay ("left again");
}
Symbol 266 MovieClip Frame 109
gotoAndPlay ("again1");
Symbol 266 MovieClip Frame 113
defenderX = getProperty("/defender1", _x);
if (Number(defenderX) <= 140) {
setProperty("/defender1", _x , Number(getProperty("/defender1", _x)) + 10);
} else {
gotoAndPlay ("off");
}
Symbol 266 MovieClip Frame 114
call("left again");
gotoAndPlay ("left again");
Symbol 295 MovieClip Frame 1
random = Number(random(10)) + 1;
Set("/:defender2_boundaries", 1);
Set("/:defender2_down", 0);
_root.defender2Var = 0;
Symbol 295 MovieClip Frame 2
if (Number(random) == 2) {
gotoAndPlay ("right");
}
if (Number(random) == 4) {
gotoAndPlay ("left");
}
if (Number(random) == 6) {
gotoAndPlay ("forward");
}
if (Number(random) == 8) {
gotoAndPlay ("down");
}
if (Number(random) == 9) {
gotoAndPlay ("down");
}
Symbol 295 MovieClip Frame 5
gotoAndPlay ("off");
Symbol 295 MovieClip Frame 12
gotoAndPlay ("off");
Symbol 295 MovieClip Frame 25
Set("/:defender2_down", 0);
tellTarget ("/puck") {
gotoAndPlay ("play");
};
gotoAndPlay ("off");
Symbol 295 MovieClip Frame 27
Set("/:defender2_down", 1);
Symbol 295 MovieClip Frame 37
Set("/:defender2_down", 0);
gotoAndPlay ("off");
Symbol 295 MovieClip Frame 39
tellTarget ("/puck") {
gotoAndPlay ("hidden");
};
Symbol 295 MovieClip Frame 45
Set("/:points", Number(/:points) + 10);
Symbol 295 MovieClip Frame 73
Set("/:defender2_down", 0);
tellTarget ("/puck") {
gotoAndPlay ("play");
};
gotoAndPlay ("off");
Symbol 295 MovieClip Frame 77
setProperty("/defender2", _x , Number(getProperty("/defender2", _x)) + 10);
Symbol 295 MovieClip Frame 78
call("right");
Symbol 295 MovieClip Frame 79
call("right");
Symbol 295 MovieClip Frame 80
random = 0;
call("right");
gotoAndPlay ("off");
Symbol 295 MovieClip Frame 85
setProperty("/defender2", _x , getProperty("/defender2", _x) - 10);
Symbol 295 MovieClip Frame 86
call("left");
Symbol 295 MovieClip Frame 87
call("left");
Symbol 295 MovieClip Frame 88
random = 0;
call("left");
gotoAndPlay ("off");
Symbol 295 MovieClip Frame 95
_root.defender2Var = 1;
defender = getProperty("/defender2", _y);
if (Number(defender) <= 400) {
setProperty("/defender2", _y , Number(getProperty("/defender2", _y)) + 10);
} else {
gotoAndPlay ("again");
}
defenderX = getProperty("/defender2", _x) - 40;
defenderY = getProperty("/defender2", _y) - 20;
shooterX = getProperty("/shooter", _x) - 20;
shooterY = getProperty("/shooter", _y) - 20;
if (Number(_root.shooterVar) == 0) {
if (Number(_root.puckVar) == 0) {
if ((((Number(shooterX) <= Number(Number(defenderX) + 100)) and (Number(Number(shooterX) + 60) >= Number(defenderX))) and (Number(shooterY) <= Number(Number(defenderY) + 20))) and (Number(Number(shooterY) + 20) >= Number(defenderY))) {
tellTarget ("/shooter") {
gotoAndPlay ("hit1a");
};
_root.shooterVar = 1;
}
}
if (Number(_root.puckVar) == 1) {
if ((((Number(shooterX) <= Number(Number(defenderX) + 100)) and (Number(Number(shooterX) + 60) >= Number(defenderX))) and (Number(shooterY) <= Number(Number(defenderY) + 20))) and (Number(Number(shooterY) + 20) >= Number(defenderY))) {
tellTarget ("/shooter") {
gotoAndPlay ("hit1b");
};
_root.shooterVar = 1;
}
}
}
defenderX1 = Number(getProperty("/defender2", _x)) + 60;
defenderY1 = getProperty("/defender2", _y);
shooterX = getProperty("/shooter", _x) - 20;
shooterY = getProperty("/shooter", _y) - 20;
if (Number(_root.shooterVar) == 0) {
if (Number(_root.puckVar) == 0) {
if ((((Number(shooterX) <= Number(Number(defenderX1) + 40)) and (Number(Number(shooterX) + 60) >= Number(defenderX1))) and (Number(shooterY) <= Number(Number(defenderY1) + 10))) and (Number(Number(shooterY) + 20) >= Number(defenderY1))) {
tellTarget ("/shooter") {
gotoAndPlay ("hit1a");
};
_root.shooterVar = 1;
}
}
if (Number(_root.puckVar) == 1) {
if ((((Number(shooterX) <= Number(Number(defenderX1) + 40)) and (Number(Number(shooterX) + 60) >= Number(defenderX1))) and (Number(shooterY) <= Number(Number(defenderY1) + 10))) and (Number(Number(shooterY) + 20) >= Number(defenderY1))) {
tellTarget ("/shooter") {
gotoAndPlay ("hit1b");
};
_root.shooterVar = 1;
}
}
}
Symbol 295 MovieClip Frame 96
call("forward");
Symbol 295 MovieClip Frame 97
call("forward");
Symbol 295 MovieClip Frame 98
call("forward");
Symbol 295 MovieClip Frame 99
call("forward");
gotoAndPlay ("forward");
Symbol 295 MovieClip Frame 105
random = 0;
Set("/:defender2_boundaries", 0);
Symbol 295 MovieClip Frame 106
setProperty("/defender2", _x , 650);
setProperty("/defender2", _y , 140);
Set("/:defender2_boundaries", 0);
Symbol 295 MovieClip Frame 107
random = random(10);
Symbol 295 MovieClip Frame 108
if (Number(random) == 5) {
gotoAndPlay ("left again");
}
Symbol 295 MovieClip Frame 109
gotoAndPlay ("again1");
Symbol 295 MovieClip Frame 113
defenderX = getProperty("/defender2", _x);
if (Number(defenderX) >= 360) {
setProperty("/defender2", _x , getProperty("/defender2", _x) - 10);
} else {
gotoAndPlay ("off");
}
Symbol 295 MovieClip Frame 114
call("left again");
gotoAndPlay ("left again");
Symbol 301 Button
on (keyPress "<Space>") {
if (Number(_root.shooterVar) == 0) {
_root.puckVar = 1;
Set("/:direction", /:direction_strip);
tellTarget ("/direction strip") {
stop();
};
tellTarget ("/shooter") {
gotoAndPlay ("swing");
};
gotoAndStop ("off");
}
}
on (keyPress "<Right>") {
tellTarget ("/shooter") {
gotoAndPlay ("skate right");
};
tellTarget ("/direction strip") {
gotoAndStop ("off");
};
}
on (keyPress "<Left>") {
tellTarget ("/shooter") {
gotoAndPlay ("skate left");
};
tellTarget ("/direction strip") {
gotoAndStop ("off");
};
}
Symbol 302 MovieClip Frame 1
stop();
Symbol 302 MovieClip Frame 2
stop();
Symbol 307 MovieClip Frame 1
stop();
Symbol 307 MovieClip Frame 5
Set("/:direction_strip", -40);
Symbol 307 MovieClip Frame 6
Set("/:direction_strip", -20);
Symbol 307 MovieClip Frame 7
Set("/:direction_strip", -10);
Symbol 307 MovieClip Frame 8
Set("/:direction_strip", -5);
Symbol 307 MovieClip Frame 9
Set("/:direction_strip", 0);
Symbol 307 MovieClip Frame 10
Set("/:direction_strip", 5);
Symbol 307 MovieClip Frame 11
Set("/:direction_strip", 10);
Symbol 307 MovieClip Frame 12
Set("/:direction_strip", 20);
Symbol 307 MovieClip Frame 13
Set("/:direction_strip", 30);
Symbol 307 MovieClip Frame 14
Set("/:direction_strip", 20);
Symbol 307 MovieClip Frame 15
Set("/:direction_strip", 10);
Symbol 307 MovieClip Frame 16
Set("/:direction_strip", 5);
Symbol 307 MovieClip Frame 17
Set("/:direction_strip", 0);
Symbol 307 MovieClip Frame 18
Set("/:direction_strip", -5);
Symbol 307 MovieClip Frame 19
Set("/:direction_strip", -10);
Symbol 307 MovieClip Frame 20
Set("/:direction_strip", -20);
Symbol 307 MovieClip Frame 21
Set("/:direction_strip", -40);
gotoAndPlay ("on");
Symbol 307 MovieClip Frame 22
stop();
Symbol 312 Button
on (keyPress "<Space>") {
shooter = getProperty("/shooter", _x);
gotoAndStop ("shoot");
tellTarget ("/direction strip") {
gotoAndPlay ("on");
};
if (Number(shooter) <= 250) {
if (Number(_root.defender1Var) == 0) {
tellTarget ("/defender1") {
gotoAndPlay ("flat");
};
}
}
if (Number(shooter) > 250) {
if (Number(_root.defender2Var) == 0) {
tellTarget ("/defender2") {
gotoAndPlay ("flat");
};
}
}
}
on (keyPress "<Right>") {
gotoAndPlay ("skate right");
}
on (keyPress "<Left>") {
gotoAndPlay ("skate left");
}
Symbol 313 MovieClip Frame 1
stop();
Symbol 313 MovieClip Frame 2
_root.puckVar = 0;
tellTarget ("/shooter") {
gotoAndStop ("stop");
};
Symbol 313 MovieClip Frame 3
call("eval(\"on\")");
Symbol 313 MovieClip Frame 4
call("eval(\"on\")");
Symbol 313 MovieClip Frame 5
call("eval(\"on\")");
Symbol 313 MovieClip Frame 6
_root.shooterVar = 0;
tellTarget ("/shooter") {
gotoAndStop ("off");
};
gotoAndStop ("off");
Symbol 313 MovieClip Frame 7
gotoAndPlay ("loop");
Symbol 341 Button
on (keyPress "<Space>") {
gotoAndStop ("shoot");
tellTarget ("/direction strip") {
gotoAndPlay ("on");
};
if (Number(shooter) <= 250) {
if (Number(_root.defender1Var) == 0) {
tellTarget ("/defender1") {
gotoAndPlay ("flat");
};
}
}
if (Number(shooter) > 250) {
if (Number(_root.defender2Var) == 0) {
tellTarget ("/defender2") {
gotoAndPlay ("flat");
};
}
}
}
on (keyPress "<Left>") {
gotoAndPlay ("skate left");
}
Symbol 344 Button
on (keyPress "<Space>") {
gotoAndStop ("shoot");
tellTarget ("/direction strip") {
gotoAndPlay ("on");
};
if (Number(shooter) <= 250) {
if (Number(_root.defender1Var) == 0) {
tellTarget ("/defender1") {
gotoAndPlay ("flat");
};
}
}
if (Number(shooter) > 250) {
if (Number(_root.defender2Var) == 0) {
tellTarget ("/defender2") {
gotoAndPlay ("flat");
};
}
}
}
on (keyPress "<Right>") {
gotoAndPlay ("skate right");
}
Symbol 353 Button
on (keyPress "<Right>") {
gotoAndPlay ("skate right1");
}
on (keyPress "<Left>") {
gotoAndPlay ("skate left1");
}
Symbol 356 Button
on (keyPress "<Left>") {
gotoAndPlay ("skate left1");
}
Symbol 359 Button
on (keyPress "<Right>") {
gotoAndPlay ("skate right1");
}
Symbol 363 MovieClip Frame 1
_root.goalieVar = 0;
_root.shooterVar = 0;
_root.puckVar = 0;
stop();
Symbol 363 MovieClip Frame 5
_root.shooterVar = 1;
tellTarget ("/direction strip") {
gotoAndStop ("off");
};
play();
Symbol 363 MovieClip Frame 6
play();
Symbol 363 MovieClip Frame 7
play();
Symbol 363 MovieClip Frame 8
Set("/:points", /:points - 50);
play();
Symbol 363 MovieClip Frame 27
gotoAndStop ("off");
Symbol 363 MovieClip Frame 32
_root.shooterVar = 1;
tellTarget ("/direction strip") {
gotoAndStop ("off");
};
play();
Symbol 363 MovieClip Frame 33
play();
Symbol 363 MovieClip Frame 34
play();
Symbol 363 MovieClip Frame 35
Set("/:points", /:points - 50);
play();
Symbol 363 MovieClip Frame 54
gotoAndStop ("off");
Symbol 363 MovieClip Frame 60
setProperty("/shooter", _x , Number(getProperty("/shooter", _x)) + 15);
Symbol 363 MovieClip Frame 61
call("skate right");
Symbol 363 MovieClip Frame 62
call("skate right");
Symbol 363 MovieClip Frame 63
call("skate right");
Symbol 363 MovieClip Frame 64
gotoAndStop ("off");
Symbol 363 MovieClip Frame 69
setProperty("/shooter", _x , getProperty("/shooter", _x) - 15);
Symbol 363 MovieClip Frame 70
call("skate left");
Symbol 363 MovieClip Frame 71
call("skate left");
Symbol 363 MovieClip Frame 72
call("skate left");
Symbol 363 MovieClip Frame 73
gotoAndStop ("off");
Symbol 363 MovieClip Frame 79
stop();
Symbol 363 MovieClip Frame 83
setProperty("/puck", _x , Number(getProperty("/shooter", _x)) + Number(70 + Number(/:direction)));
setProperty("/puck", _y , getProperty("/shooter", _y) - 20);
tellTarget ("/puck") {
gotoAndPlay ("on");
};
Symbol 363 MovieClip Frame 87
stop();
Symbol 363 MovieClip Frame 89
stop();
Symbol 363 MovieClip Frame 93
setProperty("/shooter", _x , Number(getProperty("/shooter", _x)) + 15);
Symbol 363 MovieClip Frame 94
call("skate right1");
Symbol 363 MovieClip Frame 95
call("skate right1");
Symbol 363 MovieClip Frame 96
call("skate right1");
Symbol 363 MovieClip Frame 97
gotoAndStop ("off1");
Symbol 363 MovieClip Frame 102
setProperty("/shooter", _x , getProperty("/shooter", _x) - 15);
Symbol 363 MovieClip Frame 103
call("skate left1");
Symbol 363 MovieClip Frame 104
call("skate left1");
Symbol 363 MovieClip Frame 105
call("skate left1");
Symbol 363 MovieClip Frame 106
gotoAndStop ("off1");
Symbol 396 MovieClip Frame 1
random = Number(random(4)) + 1;
Symbol 396 MovieClip Frame 2
shooterX = Number(getProperty("/shooter", _x)) + 30;
goalieX = Number(getProperty("/goalie", _x)) + 20;
if (Number(random) == 2) {
if (Number(_root.goalieVar) == 0) {
if (Number(shooterX) > Number(goalieX)) {
gotoAndPlay ("left");
}
}
}
if (Number(random) == 3) {
if (Number(_root.goalieVar) == 0) {
if (Number(shooterX) < Number(goalieX)) {
gotoAndPlay ("right");
}
}
}
Symbol 396 MovieClip Frame 4
gotoAndPlay ("on");
Symbol 396 MovieClip Frame 12
setProperty("/goalie", _x , getProperty("/goalie", _x) - 10);
Symbol 396 MovieClip Frame 13
call("left");
Symbol 396 MovieClip Frame 14
call("left");
Symbol 396 MovieClip Frame 15
random = 0;
gotoAndPlay ("on");
Symbol 396 MovieClip Frame 19
setProperty("/goalie", _x , Number(getProperty("/goalie", _x)) + 10);
Symbol 396 MovieClip Frame 20
call("right");
Symbol 396 MovieClip Frame 21
call("right");
Symbol 396 MovieClip Frame 22
random = 0;
gotoAndPlay ("on");
Symbol 402 MovieClip Frame 1
goalieXL = getProperty("/goalie", _x);
goalieXR = getProperty("/goalie", _x);
if (Number(goalieXL) <= 185) {
setProperty("/goalie", _x , 185);
}
if (Number(goalieXR) >= 265) {
setProperty("/goalie", _x , 265);
}
shooterX = Number(getProperty("/shooter", _x)) + 30;
goalieX = Number(getProperty("/goalie", _x)) + 20;
if (Number(_root.goalie) == 0) {
if (Number(shooterX) > Number(goalieX)) {
setProperty("/goalie", _x , Number(getProperty("/goalie", _x)) + 2);
}
}
if (Number(_root.goalie) == 0) {
if (Number(shooterX) < Number(goalieX)) {
setProperty("/goalie", _x , getProperty("/goalie", _x) - 2);
}
}
defender1 = getProperty("/defender1", _x);
if (Number(/:defender1_boundaries) == 1) {
if (Number(defender1) <= 50) {
setProperty("/defender1", _x , 50);
}
if (Number(defender1) >= 450) {
setProperty("/defender1", _x , 450);
}
}
defender2 = getProperty("/defender2", _x);
if (Number(/:defender2_boundaries) == 1) {
if (Number(defender2) <= 50) {
setProperty("/defender2", _x , 50);
}
if (Number(defender2) >= 450) {
setProperty("/defender2", _x , 450);
}
}
shooter = getProperty("/shooter", _x);
if (Number(shooter) <= 25) {
setProperty("/shooter", _x , 25);
}
if (Number(shooter) >= 425) {
setProperty("/shooter", _x , 425);
}
Symbol 402 MovieClip Frame 2
call("loop");
gotoAndPlay ("loop");
Symbol 404 MovieClip Frame 1
if (Number(/:secondOne) == 0) {
Set("/:secondOne", 9);
if (Number(/:secondTen) == 0) {
Set("/:secondTen", 5);
Set("/:minute", /:minute - 1);
} else {
Set("/:secondTen", /:secondTen - 1);
}
} else {
Set("/:secondOne", /:secondOne - 1);
}
if (Number(/:secondOne) == 0) {
if (Number(/:secondTen) == 0) {
if (Number(/:minute) == 0) {
gotoAndStop ("off");
Set("/:secondOne", 0);
Set("/:secondTen", 0);
Set("/:minute", 0);
}
}
}
Symbol 404 MovieClip Frame 6
gotoAndPlay (1);
Symbol 404 MovieClip Frame 7
tellTarget ("_level0") {
gotoAndPlay ("intermission");
};
stop();
Symbol 406 MovieClip Frame 1
if (Number(/:points) < 0) {
Set("/:points", 0);
}
Symbol 406 MovieClip Frame 2
call("loop");
gotoAndPlay ("loop");
Symbol 409 MovieClip Frame 1
stop();
Symbol 409 MovieClip Frame 66
gotoAndStop ("off");
Symbol 411 Button
on (press) {
_root.gotoAndPlay("bonus");
}
Symbol 413 MovieClip Frame 1
rNum = Number(random(10)) + 1;
Symbol 413 MovieClip Frame 8
if (Number(rNum) == 5) {
gotoAndPlay ("on");
} else {
gotoAndPlay ("off");
}
Symbol 413 MovieClip Frame 9
gotoAndPlay ("off");
Symbol 413 MovieClip Frame 10
rNum = 0;
loop = Number(loop) + 1;
if (Number(loop) >= 3) {
gotoAndPlay ("off");
}
Symbol 413 MovieClip Frame 33
gotoAndPlay ("on");
Symbol 563 MovieClip Frame 1
stop();
Symbol 563 MovieClip Frame 35
Set("/:defender_red", 0);
Symbol 563 MovieClip Frame 51
if (Number(/:defender_red) == 0) {
tellTarget ("/defender") {
gotoAndPlay ("tired");
};
}
Set("/:defender_red", 1);
Symbol 563 MovieClip Frame 52
call("tired");
Symbol 563 MovieClip Frame 53
call("tired");
Symbol 563 MovieClip Frame 54
call("tired");
Symbol 563 MovieClip Frame 55
call("tired");
Symbol 563 MovieClip Frame 56
tellTarget ("/defender") {
gotoAndPlay ("knocked out");
};
stop();
Symbol 574 MovieClip Frame 1
stop();
Symbol 574 MovieClip Frame 25
Set("/:shooter_red", 0);
Symbol 574 MovieClip Frame 41
if (Number(/:shooter_red) == 0) {
tellTarget ("/shooter") {
gotoAndPlay ("tired");
};
}
Set("/:shooter_red", 1);
Symbol 574 MovieClip Frame 42
call("tired");
Symbol 574 MovieClip Frame 43
call("tired");
Symbol 574 MovieClip Frame 44
call("tired");
Symbol 574 MovieClip Frame 45
call("tired");
Symbol 574 MovieClip Frame 46
tellTarget ("/shooter") {
gotoAndPlay ("knocked out");
};
stop();
Symbol 576 Button
on (rollOver) {
b.start();
}
on (press) {
_root.directions = 1;
gotoAndStop ("fight");
}
Symbol 633 MovieClip Frame 1
rNum = Number(random(5)) + 1;
Set("/:defender_duck", 0);
Symbol 633 MovieClip Frame 2
if (Number(rNum) == 2) {
gotoAndPlay ("punch");
}
if (Number(rNum) == 3) {
gotoAndPlay ("duck");
}
if (Number(rNum) == 4) {
gotoAndPlay ("duck");
}
Symbol 633 MovieClip Frame 3
gotoAndPlay ("off");
Symbol 633 MovieClip Frame 5
Set("/:defender_duck", 0);
rNum = Number(random(5)) + 1;
tired = Number(tired) + 1;
Symbol 633 MovieClip Frame 6
if (Number(rNUm) == 3) {
gotoAndPlay ("tired duck");
}
if (Number(rNum) == 4) {
gotoAndPlay ("tired duck");
}
Symbol 633 MovieClip Frame 10
if (Number(tired) >= 10) {
tellTarget ("/defender strength") {
gotoAndStop ("powered up");
};
tired = 0;
gotoAndPlay ("off");
} else {
gotoAndPlay ("tired");
}
Symbol 633 MovieClip Frame 11
Set("/:defender_duck", 1);
Symbol 633 MovieClip Frame 16
if (Number(tired) >= 10) {
tellTarget ("/defender strength") {
gotoAndStop ("powered up");
};
tired = 0;
gotoAndPlay ("off");
} else {
gotoAndPlay ("tired");
}
Symbol 633 MovieClip Frame 20
if (Number(/:shooter_duck) == 0) {
tellTarget ("/shooter") {
gotoAndPlay ("hit");
};
} else if (Number(/:defender_red) == 0) {
tellTarget ("/defender strength") {
nextFrame();
};
}
Symbol 633 MovieClip Frame 21
if (Number(/:shooter_duck) == 0) {
} else if (Number(/:defender_red) == 0) {
tellTarget ("/defender strength") {
nextFrame();
};
}
Symbol 633 MovieClip Frame 22
if (Number(/:defender_red) == 0) {
gotoAndPlay ("off");
} else {
gotoAndPlay ("tired");
}
Symbol 633 MovieClip Frame 27
Set("/:defender_duck", 1);
if (Number(/:defender_red) == 0) {
tellTarget ("/defender strength") {
nextFrame();
};
}
Symbol 633 MovieClip Frame 32
gotoAndPlay ("off");
Symbol 633 MovieClip Frame 37
Set("/:defender_duck", 1);
tellTarget ("/blood") {
gotoAndPlay ("on");
};
Symbol 633 MovieClip Frame 38
tellTarget ("/defender strength") {
nextFrame();
};
Set("/:points", Number(/:points) + 10);
Symbol 633 MovieClip Frame 39
tellTarget ("/defender strength") {
nextFrame();
};
Symbol 633 MovieClip Frame 40
tellTarget ("/defender strength") {
nextFrame();
};
Symbol 633 MovieClip Frame 44
if (Number(/:defender_red) == 0) {
gotoAndPlay ("off");
} else {
gotoAndPlay ("tired");
}
Symbol 633 MovieClip Frame 50
tellTarget ("/shooter") {
gotoAndStop ("done");
};
Symbol 633 MovieClip Frame 51
tellTarget ("/shooter") {
gotoAndStop ("done");
};
Symbol 633 MovieClip Frame 57
Set("/:points", Number(/:points) + 100);
Symbol 633 MovieClip Frame 79
Set("/:shooter_red", 0);
Set("/:defender_red", 0);
_root.gotoAndStop("game");
stop();
Symbol 635 Button
on (keyPress "<Space>") {
gotoAndPlay ("punch");
}
on (keyPress "<Down>") {
gotoAndPlay ("duck");
}
Symbol 638 Button
on (keyPress "<Down>") {
gotoAndPlay ("tired duck");
}
Symbol 664 MovieClip Frame 1
Set("/:shooter_duck", 0);
stop();
Symbol 664 MovieClip Frame 2
stop();
Symbol 664 MovieClip Frame 3
Set("/:shooter_duck", 0);
tired = Number(tired) + 1;
Symbol 664 MovieClip Frame 8
if (Number(tired) >= 10) {
tellTarget ("/shooter strength") {
gotoAndStop ("powered up");
};
tired = 0;
gotoAndStop ("off");
} else {
gotoAndPlay ("tired");
}
Symbol 664 MovieClip Frame 14
if (Number(tired) >= 10) {
tellTarget ("/shooter strength") {
gotoAndStop ("powered up");
};
tired = 0;
gotoAndStop ("off");
} else {
gotoAndPlay ("tired");
}
Symbol 664 MovieClip Frame 20
if (Number(/:defender_duck) == 0) {
tellTarget ("/defender") {
gotoAndPlay ("hit");
};
} else if (Number(/:shooter_red) == 0) {
tellTarget ("/shooter strength") {
nextFrame();
};
}
Symbol 664 MovieClip Frame 21
if (Number(/:defender_duck) == 0) {
} else if (Number(/:shooter_red) == 0) {
tellTarget ("/shooter strength") {
nextFrame();
};
}
Symbol 664 MovieClip Frame 23
if (Number(/:shooter_red) == 0) {
gotoAndStop ("off");
} else {
gotoAndPlay ("tired");
}
Symbol 664 MovieClip Frame 30
Set("/:shooter_duck", 1);
Symbol 664 MovieClip Frame 32
if (Number(/:shooter_red) == 0) {
tellTarget ("/shooter strength") {
nextFrame();
};
}
Symbol 664 MovieClip Frame 35
Set("/:shooter_duck", 0);
gotoAndStop ("off");
Symbol 664 MovieClip Frame 40
Set("/:shooter_duck", 1);
tellTarget ("/blood") {
gotoAndPlay ("on");
};
play();
Symbol 664 MovieClip Frame 41
tellTarget ("/shooter strength") {
nextFrame();
};
Set("/:points", /:points - 10);
play();
Symbol 664 MovieClip Frame 42
tellTarget ("/shooter strength") {
nextFrame();
};
play();
Symbol 664 MovieClip Frame 43
tellTarget ("/shooter strength") {
nextFrame();
};
play();
Symbol 664 MovieClip Frame 44
play();
Symbol 664 MovieClip Frame 45
play();
Symbol 664 MovieClip Frame 46
play();
Symbol 664 MovieClip Frame 47
if (Number(/:shooter_red) == 0) {
gotoAndStop ("off");
} else {
gotoAndPlay ("tired");
}
Symbol 664 MovieClip Frame 56
tellTarget ("/defender") {
gotoAndStop ("off");
};
Symbol 664 MovieClip Frame 57
tellTarget ("/defender") {
gotoAndStop ("off");
};
Symbol 664 MovieClip Frame 63
Set("/:points", /:points - 100);
Symbol 664 MovieClip Frame 85
Set("/:shooter_red", 0);
Set("/:defender_red", 0);
_root.gotoAndStop("game");
stop();
Symbol 669 MovieClip Frame 1
stop();
Symbol 669 MovieClip Frame 2
random = Number(random(4)) + 1;
Symbol 669 MovieClip Frame 3
if (Number(random) == 1) {
gotoAndPlay ("1");
}
if (Number(random) == 2) {
gotoAndPlay ("2");
}
if (Number(random) == 3) {
gotoAndPlay ("3");
}
if (Number(random) == 4) {
gotoAndPlay ("3");
}
Symbol 669 MovieClip Frame 11
random = 0;
gotoAndStop ("off");
Symbol 669 MovieClip Frame 19
random = 0;
gotoAndStop ("off");
Symbol 669 MovieClip Frame 27
random = 0;
gotoAndStop ("off");
Symbol 669 MovieClip Frame 36
random = 0;
gotoAndStop ("off");
Symbol 726 Button
on (rollOver) {
b.start();
}
on (press) {
Set("/:period", Number(/:period) + 1);
Set("/:minute", 2);
Set("/:secondOne", 0);
Set("/:secondTen", 0);
_root.gotoAndStop("game");
}
Symbol 760 Button
on (rollOver) {
b.start();
}
on (press) {
Set("/:defender1", 0);
Set("/:defender1_down", 0);
Set("/:defender1_boundaries", 0);
Set("/:defender2", 0);
Set("/:defender2_down", 0);
Set("/:defender2_boundaries", 0);
Set("/:direction", 0);
Set("/:puck", 0);
Set("/:goalie", 0);
Set("/:shooter", 0);
Set("/:points", 0);
Set("/:goals", 0);
Set("/:minute", 2);
Set("/:secondTen", 0);
Set("/:secondOne", 0);
Set("/:period", 1);
_root.gotoAndPlay("play_again");
}