Frame 1
var PoofN = 0;
if (ViewScoresNow == undefined) {
ViewScoresNow = false;
}
if (SubmitScoreNow == undefined) {
SubmitScoreNow = false;
}
if (PlayVoices == undefined) {
PlayVoices = true;
}
onMouseDown = function (x, y) {
PoofN++;
x = _root._xmouse;
y = _root._ymouse;
attachMovie("Poofy", ["Poofy" + PoofN], PoofN + 300100);
_root["Poofy" + PoofN]._x = x;
_root["Poofy" + PoofN]._y = y;
_root["Poofy" + PoofN]._rotation = random(50) - 50;
if (PoofN == 10) {
PoofN = 0;
}
};
SnowBlitz_local_data = SharedObject.getLocal("user_data");
if (SnowBlitz_local_data.data.HighScore == undefined) {
_root.HighScore = 0;
SnowBlitz_local_data.data.HighScore = 0;
} else {
_root.HighScore = SnowBlitz_local_data.data.HighScore;
}
if (SnowBlitz_local_data.data.CanHardMode == undefined) {
SnowBlitz_local_data.data.CanHardMode = false;
}
Stage.showMenu = false;
stop();
Frame 2
attachMovie("tehground", "tehground", 100);
tehground._alpha = 0;
attachMovie("CharBase", "CharBase", 33);
attachMovie("Char", "Char", 31);
attachMovie("CharLegs", "CharLegs", 32);
attachMovie("Foreground", "Foreground", 30);
attachMovie("Background", "Background", 28);
attachMovie("Frontground", "Frontground", 300035);
attachMovie("Still", "Still", 20);
attachMovie("OutPut", "OutPut", 300040);
createEmptyMovieClip("BSLayer", -50);
CharBase.ThrowSound = new Sound(CharBase);
CharBase.ThrowSound.attachSound("Whish");
printN = 0;
bprintN = 0;
fprintN = 0;
throwN = 0;
BaddiesSpawned = 0;
ScrollMin = 0;
ScrollMax = 0;
BaddiesOnscreen = 0;
CanThrow = 10;
CanWarn = true;
Kills = 0;
Spawn0 = 0;
CanSpawn = 50;
Level = 0;
BadArray = new Array();
BadArray[1] = 0;
fillBaddieMax = [2, 3, 4, 4, 5, 6, 0];
fillSpawnMax = [5, 10, 15, 20, 20, 40, 0];
fillScrollMax = [160, 320, 500, 1000, 1400, 2160, 2160];
fillTypeChance = [200, 200, 10, 5, 5, 5, 0];
fillSideChance = [200, 3, 3, 2, 2, 2, 0];
SetLevel = function (level) {
BadArray[0] = fillBaddieMax[level];
BadArray[1] = BadArray[1] + fillSpawnMax[level];
BadArray[2] = fillScrollMax[level];
BadArray[3] = fillTypeChance[level];
BadArray[4] = fillSideChance[level];
BadArray[5] = fillSpawnMax[level];
baddieMax = BadArray[0];
ScrollMax = BadArray[2];
};
SetLevel(0);
onEnterFrame = function () {
if (!Key.isDown(32)) {
SpisDown = false;
}
if (Key.isDown(32) && (!SpisDown)) {
if (!Paused) {
PauseGame();
} else {
UnPauseGame();
}
SpisDown = true;
}
BaddieParameters(BadArray[0], BadArray[1], BadArray[2], random(BadArray[3]), random(BadArray[4]), BadArray[5]);
if (CanThrow > 0) {
CanThrow--;
} else {
CanThrow = 20 + (random(5) * 5);
i = random(baddieMax) + 1;
_root["Baddie" + i].CanThrow = 10;
}
};
BaddieParameters = function (eBaddieMax, eSpawnMax, eScrollMax, eTypeChance, eSideChance, eBaddieStream) {
if (eBaddieMax == 0) {
UnleashBoss();
} else {
BaddiesOnscreen = 0;
var _local2 = 1;
while (_local2 <= Math.round(eBaddieMax)) {
if (_root["Baddie" + _local2]._x != undefined) {
BaddiesOnscreen++;
}
_local2++;
}
if (ScrollMin != ScrollMax) {
if (((CanSpawn < 0) && (BaddiesSpawned < (eSpawnMax - Math.round(eBaddieStream / 2)))) && (BaddiesOnscreen < eBaddieMax)) {
CanSpawn = 40;
_local2 = 1;
while (_local2 <= Math.round(eBaddieMax)) {
if (_root["Baddie" + _local2]._x == undefined) {
SpawnBaddie(_local2, eTypeChance, eSideChance);
break;
}
_local2++;
}
} else {
CanSpawn--;
}
if (((CharBase._x + CharBase.Scroll) - 250) == ScrollMax) {
ScrollMin = ScrollMax;
}
} else {
if (BaddiesSpawned < eSpawnMax) {
_local2 = 1;
while (_local2 <= Math.round(eBaddieMax)) {
if (_root["Baddie" + _local2]._x == undefined) {
SpawnBaddie(_local2, eTypeChance, eSideChance);
break;
}
_local2++;
}
}
if (Kills >= eSpawnMax) {
Level++;
SetLevel(Level);
Frontground.gotoAndStop(Level + 1);
Foreground.gotoAndStop(Level + 1);
Background.gotoAndStop(Level + 1);
}
}
}
};
LayPrint = function (ex, ey) {
printN++;
attachMovie("footprint", ["NewFoot" + printN], printN - 200);
_root["NewFoot" + printN]._x = ex;
_root["NewFoot" + printN]._y = ey;
if (printN > 50) {
printN = 0;
}
};
BallPrint = function (ex, ey, s) {
bprintN++;
attachMovie("BallPrint", ["NewPrint" + bprintN], ((Math.round((ey - 150) / 10) * 1000) + bprintN) + 20);
_root["NewPrint" + bprintN]._x = (ex + random(10)) - 5;
_root["NewPrint" + bprintN]._y = (ey + random(10)) - 5;
_root["NewPrint" + bprintN]._xscale = -s;
var _local2 = new Sound(_root["NewPrint" + bprintN]);
_local2.attachSound("SnowHit");
panner = ((ex + _x) - 275) / 3;
if (panner > 100) {
panner = 100;
}
if (panner < -100) {
panner = -100;
}
_local2.setPan(panner);
_local2.start();
if (bprintN > 50) {
bprintN = 0;
}
};
FacePrint = function (ex, ey, s) {
fprintN++;
attachMovie("FacePrint", ["NewFace" + fprintN], 50000 + fprintN);
_root["NewFace" + fprintN]._x = (ex + random(5)) - 3;
_root["NewFace" + fprintN]._y = (ey + random(5)) - 3;
_root["NewFace" + fprintN]._xscale = s / 2;
_root["NewFace" + fprintN]._yscale = 50;
_root["NewFace" + fprintN].onEnterFrame = function () {
if (_root.Paused) {
this.stop();
} else {
this.play();
}
};
var _local3 = new Sound(_root["NewFace" + fprintN]);
_local3.attachSound("SnowHit");
panner = ((ex + _x) - 275) / 3;
if (panner > 100) {
panner = 100;
}
if (panner < -100) {
panner = -100;
}
_local3.setPan(panner);
_local3.start();
if (fprintN == 4) {
fprintN = 0;
}
};
ThrowBall = function (ex, ey, s, h, l, j, k, jump) {
throwN = throwN + 2;
attachMovie("SnowBall", ["SnowBall" + throwN], ((Math.round((ey - 150) / 10) * 1000) + throwN) + 300);
if (k == 1) {
attachMovie("SnowBallBase", [("SnowBallBase" + throwN) + 1], ((Math.round((ey - 150) / 10) * 1000) + throwN) + 301);
} else {
attachMovie("SnowBallBase2", [("SnowBallBase" + throwN) + 1], ((Math.round((ey - 150) / 10) * 1000) + throwN) + 301);
}
_root[("SnowBallBase" + throwN) + 1]._x = ex;
_root[("SnowBallBase" + throwN) + 1]._y = ey;
_root[("SnowBallBase" + throwN) + 1]._xscale = s;
_root[("SnowBallBase" + throwN) + 1].Jump = jump;
_root[("SnowBallBase" + throwN) + 1].Jumping = j;
_root[("SnowBallBase" + throwN) + 1].Dead = false;
_root[("SnowBallBase" + throwN) + 1].num = throwN;
_root[("SnowBallBase" + throwN) + 1].up = h;
_root[("SnowBallBase" + throwN) + 1].lean = l / 2;
if (throwN > 50) {
throwN = 0;
}
};
SpawnBaddie = function (zBuffer, Type, Side) {
ey = 250 + (random(10) * 10);
Head = random(5) + 1;
var _local3 = 1;
while (_local3 <= Math.round(baddieMax)) {
if (_root["Baddie" + _local3]._x == undefined) {
zBuffer = _local3;
break;
}
_local3++;
}
if (Type < 0) {
attachMovie("Hoodie", ["Baddie" + zBuffer], ((Math.round((ey - 150) / 10) * 1000) + zBuffer) + 400);
_root["Baddie" + zBuffer].Health = 20;
_root["Baddie" + zBuffer].Type = "Hoodie";
}
if (Type == 0) {
attachMovie("Bully", ["Baddie" + zBuffer], ((Math.round((ey - 150) / 10) * 1000) + zBuffer) + 400);
_root["Baddie" + zBuffer].Health = 3;
_root["Baddie" + zBuffer].Type = "Bully";
}
if (Type > 0) {
attachMovie("Baddie", ["Baddie" + zBuffer], ((Math.round((ey - 150) / 10) * 1000) + zBuffer) + 400);
_root["Baddie" + zBuffer].Health = 1;
_root["Baddie" + zBuffer].Type = "Baddie";
}
BSLayer.attachMovie("BadShadow", ["BadShadow" + zBuffer], 581 + zBuffer);
if (Side == 0) {
_root["Baddie" + zBuffer]._x = (-_root._x) - 30;
} else {
_root["Baddie" + zBuffer]._x = (-_root._x) + 580;
}
_local3 = 0;
while (_local3 < 10) {
if (tehground.hitTest(_root["Baddie" + zBuffer]._x, ey, true)) {
ey = 250 + (random(10) * 10);
}
_local3++;
}
_root["Baddie" + zBuffer].Head = Head;
_root["Baddie" + zBuffer].zBuffer = zBuffer;
_root["Baddie" + zBuffer].zaxis = ey;
_root["Baddie" + zBuffer].Tall = 65;
_root["Baddie" + zBuffer].moveRL = 0;
_root["Baddie" + zBuffer].moveUD = 0;
_root["Baddie" + zBuffer].mRL = mRL;
_root["Baddie" + zBuffer].mUD = mUD;
_root["Baddie" + zBuffer].BaddieMoveFunc = BaddieMoveFunc;
_root["Baddie" + zBuffer].Jump = 0;
_root["Baddie" + zBuffer].Status = "Approach";
_root["Baddie" + zBuffer].ShouldJump = false;
_root["Baddie" + zBuffer].CanThrow = 0;
_root["Baddie" + zBuffer].CanMoveRL = random(10) * 3;
_root["Baddie" + zBuffer].MovingRL = true;
_root["Baddie" + zBuffer].CanMoveUD = 0;
_root["Baddie" + zBuffer].MovingUD = true;
_root["Baddie" + zBuffer].OffScreenN = 0;
_root["Baddie" + zBuffer].HowClose = (random(20) * 10) + 50;
_root["Baddie" + zBuffer].moveBack = 0;
_root["Baddie" + zBuffer].ThrowSound = new Sound(_root["Baddie" + zBuffer]);
_root["Baddie" + zBuffer].ThrowSound.attachSound("Whish");
BaddiesSpawned++;
};
StageClear = function () {
Paused = true;
Score = Score + (Combo * Combo);
Combo = 0;
if (Score > HighScore) {
HighScore = Score;
}
SaveHighScore();
SnowBlitz_local_data.data.CanHardMode = true;
attachMovie("StageCleat", "Cleat", 300200);
Cleat._x = -_x;
delete onEnterFrame;
};
YouDied = function () {
attachMovie("YouAreDead", "j00rdead", 300200);
_root.j00rdead._x = (-_root._x) + 220;
j00rdead._y = 250;
j00rdead._xscale = 300;
j00rdead._yscale = 300;
};
MoveOn = function () {
attachMovie("MoveOnArrow", "MoveOnArrow", 30010);
MoveOnArrow._x = (-_x) + 500;
MoveOnArrow._y = 200;
};
SaveHighScore = function () {
SnowBlitz_local_data.data.HighScore = HighScore;
};
PauseGame = function () {
Paused = true;
if (PausedMenu._x == undefined) {
attachMovie("PausedMenu", "PausedMenu", 300038);
}
PausedMenu._x = -_x;
};
UnPauseGame = function () {
Paused = false;
};
RestartGame = function () {
var _local2 = 1;
while (_local2 <= 20) {
if (_root["Baddie" + _local2]._x != undefined) {
_root["Baddie" + _local2].SelfDestruct();
}
_local2++;
}
removeMovieClip(BSLayer);
_x = 0;
CharBase._x = 35.4;
CharBase._y = 331.3;
CharBase._alpha = 100;
Blackin2._x = 300;
CharBase.moveRL = 0;
CharBase.moveUD = 0;
CharBase.HJump = 87;
CharBase.HDuck = 83;
CharBase.HThrowR = 68;
CharBase.HThrowL = 65;
CharBase.Dead = false;
CharBase.Stuck = 40;
CharBase.Thrown = 0;
CharBase.Tall = 65;
CharBase.Scroll = 100;
CharBase.ShouldMoveOn = 0;
CharBase.swapDepths(-100);
CharBase.SPACEisDown = false;
CharBase.Level = 0;
CharBase.CanScroll = true;
CharBase.CanSpawn = 30;
CharBase.ShouldTweet = (random(5) * 10) + 50;
CharBase.Spawn0 = 0;
CharBase.Scroll = 0;
fprint = 1;
Health = 5;
BaddiesSpawned = 0;
Kills = 0;
Combo = 0;
Score = 0;
Paused = false;
Startled = false;
FadeOut = false;
Char.gotoAndStop(1);
Char._xscale = 100;
CharLegs.gotoAndStop(1);
CharLegs._xscale = 100;
};
RestartGame();
mRL = function () {
if (this.moveRL == 0) {
return(0);
}
return(this.moveRL / Math.abs(this.moveRL));
};
mUD = function () {
if (this.moveUD == 0) {
return(0);
}
return(this.moveUD / Math.abs(this.moveUD));
};
moveFunc = function () {
var _local3 = 0;
if (tehground.hitTest(this._x + this.moveRL, this._y + this.moveUD, true)) {
if (!tehground.hitTest(this._x + this.moveRL, (this._y + this.moveUD) + Math.abs(this.moveRL), true)) {
while (tehground.hitTest(this._x + this.moveRL, this._y + this.moveUD, true)) {
this._y++;
this.moveRL = this.moveRL * 0.8;
}
} else if (!tehground.hitTest(this._x + this.moveRL, (this._y + this.moveUD) - Math.abs(this.moveRL), true)) {
while (tehground.hitTest(this._x + this.moveRL, this._y + this.moveUD, true)) {
this._y--;
this.moveRL = this.moveRL * 0.8;
}
} else {
var _local2 = 0;
while (_local2 < Math.abs(this.moveRL)) {
if (!tehground.hitTest(this._x + this.mRL(), this._y + this.moveUD, true)) {
this._x = this._x + this.mRL();
}
_local2++;
}
this.moveRL = 0;
}
if (!tehground.hitTest((this._x + this.moveRL) + Math.abs(this.moveUD), this._y + this.moveUD, true)) {
while (tehground.hitTest(this._x + this.moveRL, this._y + this.moveUD, true)) {
this._x++;
this.moveUD = this.moveUD * 0.8;
}
} else if (!tehground.hitTest((this._x + this.moveRL) + Math.abs(this.moveUD), this._y + this.moveUD, true)) {
while (tehground.hitTest(this._x + this.moveRL, this._y + this.moveUD, true)) {
this._x--;
this.moveUD = this.moveUD * 0.8;
}
} else {
var _local2 = 0;
while (_local2 < Math.abs(this.moveUD)) {
if (!tehground.hitTest(this._x + this.moveRL, this._y + this.mUD(), true)) {
this._y = this._y + this.mUD();
}
_local2++;
}
this.moveUD = 0;
}
}
this._x = this._x + this.moveRL;
this._y = this._y + this.moveUD;
if (this._y < 260) {
this._y = 260;
}
if (this._y > 385) {
this._y = 385;
}
};
BaddieMoveFunc = function () {
var _local3 = 0;
if (tehground.hitTest(this._x + this.moveRL, this.zaxis + this.moveUD, true)) {
if (!tehground.hitTest(this._x + this.moveRL, (this.zaxis + this.moveUD) + Math.abs(this.moveRL), true)) {
while (tehground.hitTest(this._x + this.moveRL, this.zaxis + this.moveUD, true)) {
this.zaxis++;
this.moveRL = this.moveRL * 0.6;
this.moveUD = 2.5;
}
} else if (!tehground.hitTest(this._x + this.moveRL, (this.zaxis + this.moveUD) - Math.abs(this.moveRL), true)) {
while (tehground.hitTest(this._x + this.moveRL, this.zaxis + this.moveUD, true)) {
this.zaxis--;
this.moveRL = this.moveRL * 0.6;
this.moveUD = -2.5;
}
} else {
var _local2 = 0;
while (_local2 < Math.abs(this.moveRL)) {
if (!tehground.hitTest(this._x + this.mRL(), this.zaxis + this.moveUD, true)) {
this._x = this._x + this.mRL();
}
_local2++;
}
this.moveRL = 0;
}
if (!tehground.hitTest((this._x + this.moveRL) + Math.abs(this.moveUD), this.zaxis + this.moveUD, true)) {
while (tehground.hitTest(this._x + this.moveRL, this.zaxis + this.moveUD, true)) {
this._x++;
this.moveUD = this.moveUD * 0.6;
}
} else if (!tehground.hitTest((this._x + this.moveRL) + Math.abs(this.moveUD), this.zaxis + this.moveUD, true)) {
while (tehground.hitTest(this._x + this.moveRL, this.zaxis + this.moveUD, true)) {
this._x--;
this.moveUD = this.moveUD * 0.6;
}
} else {
var _local2 = 0;
while (_local2 < Math.abs(this.moveUD)) {
if (!tehground.hitTest(this._x + this.moveRL, this.zaxis + this.mUD(), true)) {
this.zaxis = this.zaxis + this.mUD();
}
_local2++;
}
this.moveUD = 0;
}
}
this.zaxis = this.zaxis + this.moveUD;
if (this.zaxis < 260) {
this.zaxis = 260;
this.moveUD = 0;
}
if (this.zaxis > 385) {
this.zaxis = 385;
this.moveUD = 0;
}
this._x = this._x + this.moveRL;
this._y = this.zaxis - this.Jump;
};
UDFunc = function () {
var _local3 = 0;
if (tehground.hitTest(this._x + this.moveRL, this._y + this.moveUD, true)) {
if (!tehground.hitTest(this._x + this.moveRL, (this._y + this.moveUD) + Math.abs(this.moveRL), true)) {
while (tehground.hitTest(this._x + this.moveRL, this._y + this.moveUD, true)) {
this._y++;
this.moveRL = this.moveRL * 0.6;
}
} else if (!tehground.hitTest(this._x + this.moveRL, (this._y + this.moveUD) - Math.abs(this.moveRL), true)) {
while (tehground.hitTest(this._x + this.moveRL, this._y + this.moveUD, true)) {
this._y--;
this.moveRL = this.moveRL * 0.6;
}
} else {
var _local2 = 0;
while (_local2 < Math.abs(this.moveRL)) {
if (!tehground.hitTest(this._x + this.mRL(), this._y + this.moveUD, true)) {
this.x = this.x + this.mRL();
}
_local2++;
}
this.moveRL = 0;
}
}
this._x = this._x + this.moveRL;
};
UnleashBoss = function () {
BaddiesSpawned = 0;
MinScroll = MaxScroll;
attachMovie("BossOMG", "BossOMG", 3000300);
BossOMG._x = -_root._x;
SpawnBaddie(1, -1, 1000);
Level++;
CanSpawn = 400;
onEnterFrame = function () {
if (!Key.isDown(32)) {
SpisDown = false;
}
if (Key.isDown(32) && (!SpisDown)) {
if (!Paused) {
PauseGame();
} else {
UnPauseGame();
}
SpisDown = true;
}
BaddiesOnscreen = 0;
var _local2 = 1;
while (_local2 <= 6) {
if (_root["Baddie" + _local2]._x != undefined) {
BaddiesOnscreen++;
}
_local2++;
}
if (((CanSpawn < 0) && (BaddiesOnscreen < 7)) && (BaddiesSpawned < 10)) {
CanSpawn = 200;
_local2 = 1;
while (_local2 < 7) {
if (_root["Baddie" + _local2]._x == undefined) {
SpawnBaddie(_local2, random(6), random(2));
break;
}
_local2++;
}
} else {
CanSpawn--;
}
};
};
EndDemo = function () {
trace("end");
attachMovie("DemoOver", "DemoOver", 300200);
DemoEnd._x = -_x;
delete onEnterFrame;
};
QuitToMenu = function () {
delete onEnterFrame;
Score = Score + (Combo * Combo);
Combo = 0;
if (Score > HighScore) {
HighScore = Score;
}
var _local2 = 0;
while (_local2 < 20) {
if (_root["Baddie" + _local2]._x != undefined) {
_root["Baddie" + _local2].SelfDestruct();
}
_local2++;
}
removeMovieClip(BSLayer);
removeMovieClip(Char);
removeMovieClip(CharBase);
removeMovieClip(CharLegs);
removeMovieClip(tehground);
removeMovieClip(Foreground);
removeMovieClip(Frontground);
removeMovieClip(Background);
removeMovieClip(Still);
removeMovieClip(OutPut);
removeMovieClip(Barrier1);
removeMovieClip(Barrier2);
removeMovieClip(Barrier3);
removeMovieClip(Back1);
removeMovieClip(Back2);
removeMovieClip(Back3);
_x = 0;
gotoAndStop (1);
};
attachMovie("FadeIn", "FadeItIn", 300300);
stop();
Instance of Symbol 735 MovieClip "Barrier1" in Frame 2
onClipEvent (load) {
this.swapDepths((Math.round((_y - 150) / 10) * 1000) + 950);
}
Instance of Symbol 737 MovieClip "Back1" in Frame 2
onClipEvent (load) {
this.swapDepths((Math.round((_y - 150) / 10) * 1000) + 953);
}
Instance of Symbol 735 MovieClip "Barrier3" in Frame 2
onClipEvent (load) {
this.swapDepths((Math.round((_y - 150) / 10) * 1000) + 960);
}
Instance of Symbol 737 MovieClip "Back3" in Frame 2
onClipEvent (load) {
this.swapDepths((Math.round((_y - 150) / 10) * 1000) + 963);
}
Instance of Symbol 735 MovieClip "Barrier2" in Frame 2
onClipEvent (load) {
this.swapDepths((Math.round((_y - 150) / 10) * 1000) + 950);
}
Instance of Symbol 737 MovieClip "Back2" in Frame 2
onClipEvent (load) {
this.swapDepths((Math.round((_y - 150) / 10) * 1000) + 955);
}
Frame 3
function playAgain() {
_root.gotoAndStop(1);
removeMovieClip(HSHubSubmitter);
removeMovieClip(disabler);
}
System.security.allowDomain("shockwave.com", "gameblast.shockwave.com", "www.shockwave.com", "dev.shockwave.com", "stage.shockwave.com");
_level0.swHighScoreObject = new Object();
_level0.swHighScoreObject.showTab = "view";
_level0.swHighScoreObject.gameId = "snowblitz";
_level0.swHighScoreObject.gameTitle = "Snow Blitz";
_level0.swHighScoreObject.screenWidth = 550;
_level0.swHighScoreObject.screenHeight = 400;
_level0.swHighScoreObject.scoreDescriptor = "points";
_level0.swHighScoreObject.numPlayers = 1;
_level0.swHighScoreObject.player1Score = Score;
_level0.swHighScoreObject.player2Score = 0;
_level0.swHighScoreObject.player3Score = 0;
_level0.swHighScoreObject.player4Score = 0;
_level0.HSHubURL = "http://www.shockwave.com/content/highscores/scorez-2002.swf";
Instance of Symbol 776 MovieClip "HSHubSubmitter" in Frame 3
onClipEvent (load) {
docount = false;
if (_root.ViewScoresNow) {
_root.swHighScoreObject.showTab = "view";
_visible = false;
docount = true;
loadMovieNum (_root.HSHubURL, 2);
_root.ViewScoresNow = false;
}
if (_root.SubmitScoreNow) {
_root.swHighScoreObject.showTab = "submit";
_visible = false;
docount = true;
loadMovieNum (_root.HSHubURL, 2);
_root.SubmitScoreNow = false;
}
}
onClipEvent (enterFrame) {
if (docount) {
trycount++;
if ((_level2.getBytesTotal() == -1) && (trycount > 60)) {
docount = false;
trycount = 0;
}
}
}
Instance of Symbol 735 MovieClip "Barrier1" in Frame 4
onClipEvent (load) {
this.swapDepths((Math.round((_y - 150) / 10) * 1000) + 950);
}
Instance of Symbol 737 MovieClip "Back1" in Frame 4
onClipEvent (load) {
this.swapDepths((Math.round((_y - 150) / 10) * 1000) + 953);
}
Instance of Symbol 735 MovieClip "Barrier3" in Frame 4
onClipEvent (load) {
this.swapDepths((Math.round((_y - 150) / 10) * 1000) + 960);
}
Instance of Symbol 737 MovieClip "Back3" in Frame 4
onClipEvent (load) {
this.swapDepths((Math.round((_y - 150) / 10) * 1000) + 963);
}
Instance of Symbol 735 MovieClip "Barrier2" in Frame 4
onClipEvent (load) {
this.swapDepths((Math.round((_y - 150) / 10) * 1000) + 950);
}
Instance of Symbol 737 MovieClip "Back2" in Frame 4
onClipEvent (load) {
this.swapDepths((Math.round((_y - 150) / 10) * 1000) + 955);
}
Instance of Symbol 784 MovieClip "disabler" in Frame 5
onClipEvent (load) {
this.swapDepths(120001);
_visible = false;
}
Frame 36
gotoAndStop (6);
Symbol 7 MovieClip [MoveOnArrow] Frame 61
removeMovieClip(this);
Symbol 21 Button
on (release) {
removeMovieClip(this);
}
Symbol 25 Button
on (release) {
_root.nextFrame();
removeMovieClip(this);
}
Symbol 29 Button
on (release) {
_root.QuitToMenu();
_root.SubmitScoreNow = true;
_root.gotoAndStop(3);
removeMovieClip(this);
}
Symbol 33 MovieClip [YouAreDead] Frame 31
_root.QuitToMenu();
_x = ((-_root._x) + 220);
_root.Paused = false;
Symbol 33 MovieClip [YouAreDead] Frame 91
stop();
Symbol 34 Button
on (press) {
_root.QuitToMenu();
_parent.removeMovieClip(this);
}
Symbol 35 Button
on (release) {
_root.QuitToMenu();
_root.SubmitScoreNow = true;
_root.gotoAndStop(3);
removeMovieClip(_parent);
}
Symbol 39 MovieClip [StageCleat] Frame 31
stop();
Symbol 70 MovieClip [FacePrint] Frame 37
unloadMovie (this);
Symbol 78 MovieClip [BallPrint] Frame 50
removeMovieClip(this);
Symbol 82 MovieClip [SnowBallBase2] Frame 1
onEnterFrame = function () {
if (!_root.Paused) {
if (!Dead) {
_x = (_x + (_xscale / 8));
_y = (_y + lean);
if (Jump > (-up)) {
Jumping = Jumping - 0.5;
Jump = Jump + Jumping;
}
if ((((hitTest(_root.CharBase._x, _root.CharBase._y, true) && ((Jump + up) < (_root.CharBase.Tall + _root.CharBase.Jump))) && (_root.CharBase.Jump < (Jump + up))) && (_root.Health > 0)) && (!Dead)) {
if (!_root.Startled) {
_root.Startled = true;
_root.Voices.Birds.gotoAndStop(8);
}
Dead = true;
_root.FacePrint(_x, (_y - up) - Jump, _xscale);
_root.Health--;
_root.Score = _root.Score + (_root.Combo * _root.Combo);
_root.Combo = 0;
if (_root.Score > _root.HighScore) {
_root.HighScore = _root.Score;
}
if (_root.Health <= 0) {
_root.Health = 0;
_root.CharBase.Dead = true;
_root.CharBase._alpha = 0;
_root.Char.gotoAndStop(4);
_root.SaveHighScore();
_root.Paused = true;
if ((_root.Char._xscale * _xscale) < 0) {
_root.CharLegs.gotoAndStop("Die");
} else {
_root.CharLegs.gotoAndStop("Die2");
}
} else {
_root.CharBase.CanCharge = 80;
}
play();
}
if (_root.tehground.hitTest(_x + (_xscale / 8), _y, true) && ((Jump + up) < 50)) {
_root.FacePrint(_x, (_y - up) - Jump, _xscale);
Dead = true;
play();
}
if (Jump <= (-up)) {
_root.BallPrint(_x, _y, _xscale);
Dead = true;
play();
}
_root["SnowBall" + num]._x = _x;
_root["SnowBall" + num]._y = (_y - up) - Jump;
}
}
};
stop();
Symbol 82 MovieClip [SnowBallBase2] Frame 2
_root["SnowBall" + num].removeMovieClip();
removeMovieClip(this);
Symbol 84 MovieClip [SnowBallBase] Frame 1
onEnterFrame = function () {
if (!_root.Paused) {
if (!Dead) {
_x = (_x + (_xscale / 8));
_y = (_y + lean);
if (Jump > (-up)) {
Jumping = Jumping - 0.5;
Jump = Jump + Jumping;
}
if (_root.BSLayer.hitTest(_x, _y, true)) {
var _local2 = 0;
while (_local2 < 7) {
if ((((_root.BSLayer["BadShadow" + _local2].hitTest(_x, _y, true) && (_root["Baddie" + _local2]._currentframe < 8)) && ((Jump + up) < (_root["Baddie" + _local2].Tall + _root["Baddie" + _local2].Jump))) && (_root["Baddie" + _local2].Jump < (Jump + up))) && (!Dead)) {
if (!_root.Startled) {
_root.Startled = true;
_root.Voices.Birds.gotoAndStop(8);
}
_root["Baddie" + _local2].Health--;
if (_root["Baddie" + _local2].Health == 0) {
if ((_root["Baddie" + _local2]._xscale * _xscale) < 0) {
_root["Baddie" + _local2].gotoAndStop("Die");
} else {
_root["Baddie" + _local2].gotoAndStop("Die2");
}
_root["Baddie" + _local2].Status = "Dead";
_root.Combo++;
_root.Kills++;
} else {
_root["Baddie" + _local2].gotoAndStop("Ouch");
}
if ((_root["Baddie" + _local2].Type == "Baddie") && (_root.PlayVoices)) {
if (_root["Baddie" + _local2].Head <= 2) {
_root.Voices.VA1.Impact.gotoAndStop(random(3) + 2);
} else {
_root.Voices.VA2.Impact.gotoAndStop(random(3) + 2);
}
}
_root.FacePrint(_x, (_y - up) - Jump, _xscale);
Dead = true;
play();
}
_local2++;
}
}
if (_root.BSLayer.hitTest(_x + _xscale, _y, true)) {
var _local2 = 0;
while (_local2 < 7) {
if ((_root["Baddie" + _local2].hitTest(_x + _xscale, _root["Baddie" + _local2].zaxis, true) && (_root["Baddie" + _local2].Jump == 0)) && (Jumping < 0)) {
_root["Baddie" + _local2].ShouldJump = true;
}
if ((_root["Baddie" + _local2].hitTest(_x + _xscale, _root["Baddie" + _local2].zaxis, true) && (_root["Baddie" + _local2].Jump == 0)) && (Jumping > 0)) {
_root["Baddie" + _local2].ShouldDuck = true;
}
_local2++;
}
}
if (_root.tehground.hitTest(_x + (_xscale / 8), _y, true) && ((Jump + up) < 50)) {
_root.FacePrint(_x, (_y - up) - Jump, _xscale);
Dead = true;
play();
}
if (Jump <= (-up)) {
_root.BallPrint(_x, _y, _xscale);
Dead = true;
play();
}
_root["SnowBall" + num]._x = _x;
_root["SnowBall" + num]._y = (_y - up) - Jump;
}
}
};
stop();
Symbol 84 MovieClip [SnowBallBase] Frame 2
_root["SnowBall" + num].removeMovieClip();
removeMovieClip(this);
Symbol 86 MovieClip [BadShadow] Frame 1
SelfDestruct = function () {
removeMovieClip(this);
};
Symbol 88 MovieClip [CharBase] Frame 1
mRL = _root.mRL;
mUD = _root.mUD;
moveFunc = _root.moveFunc;
onEnterFrame = function () {
if (!_root.Paused) {
if (!Dead) {
if (_root.Char._currentframe < 4) {
if (Key.isDown(39) && (moveRL < 4)) {
moveRL++;
}
if (Key.isDown(37) && (moveRL > -4)) {
moveRL--;
}
if (Key.isDown(38) && (moveUD > -2.5)) {
moveUD = moveUD - 0.5;
}
if (Key.isDown(40) && (moveUD < 2.5)) {
moveUD = moveUD + 0.5;
}
Jump = Jump + Jumping;
if (Jump > 0) {
Jumping--;
} else {
Jumping = 0;
Jump = 0;
if (!Key.isDown(HJump)) {
XisDown = false;
}
if (Key.isDown(HJump) && (XisDown == false)) {
Jumping = 10;
XisDown = true;
_root.CharLegs.gotoAndStop(5);
}
}
}
if (_root.Char._currentframe != 3) {
if (Key.isDown(HThrowL)) {
_root.Char._xscale = -100;
_root.CharLegs._xscale = -100;
if (_root.Char._currentframe == 4) {
_root.CharLegs.WholeDuck.play();
} else {
_root.Char.gotoAndStop(3);
Stuck = 40;
_root.CharLegs.gotoAndStop(4);
Thrown = 8;
}
}
if (Key.isDown(HThrowR)) {
_root.Char._xscale = 100;
_root.CharLegs._xscale = 100;
if (_root.Char._currentframe == 4) {
_root.CharLegs.WholeDuck.play();
} else {
_root.Char.gotoAndStop(3);
Stuck = 40;
_root.CharLegs.gotoAndStop(4);
Thrown = 8;
}
}
}
if (Jump == 0) {
if (Key.isDown(HDuck)) {
_root.CharLegs.gotoAndStop(6);
_root.Char.gotoAndStop(4);
moveRL = 0;
moveUD = 0;
Tall = 35;
}
if (((_root.CharLegs._currentframe == 6) && (_root.CharLegs.WholeDuck._currentframe == 3)) && (!Key.isDown(HDuck))) {
Tall = 65;
_root.CharLegs.WholeDuck.gotoAndPlay(17);
}
if ((moveRL == 0) && (moveUD == 0)) {
if (_root.Char._currentframe < 3) {
_root.Char.gotoAndStop(1);
_root.CharLegs.gotoAndStop(1);
}
} else {
if (_root.Char._currentframe < 2) {
_root.Char.gotoAndStop(2);
}
if (Stuck == 0) {
Stuck = 40;
if (moveRL > 0) {
_root.Char._xscale = 100;
_root.CharLegs._xscale = 100;
}
if (moveRL < 0) {
_root.Char._xscale = -100;
_root.CharLegs._xscale = -100;
}
} else if ((Thrown == 0) && (Jump == 0)) {
if ((moveRL * _root.Char._xscale) > 0) {
_root.CharLegs.gotoAndStop(2);
Stuck = 40;
} else {
_root.CharLegs.gotoAndStop(3);
Stuck--;
}
} else {
Thrown--;
}
if (((!Key.isDown(37)) && (!Key.isDown(39))) || (Key.isDown(37) && (Key.isDown(39)))) {
if (Math.abs(moveRL) < 0.5) {
moveRL = 0;
}
moveRL = moveRL - (mRL() / 2);
}
if (((!Key.isDown(38)) && (!Key.isDown(40))) || (Key.isDown(38) && (Key.isDown(40)))) {
if (Math.abs(moveUD) < 0.5) {
moveUD = 0;
}
moveUD = moveUD - (mUD() / 2);
}
}
} else {
_root.CharLegs.gotoAndStop(5);
}
if (_x < (((-_root._x) + 20) - moveRL)) {
_x = ((-_root._x) + 20);
moveRL = 0;
}
if (_x > (((-_root._x) + 530) - moveRL)) {
_x = ((-_root._x) + 530);
moveRL = 0;
}
idiotR = 0;
idiotL = 0;
if (_root.tehground.hitTest(_x + moveRL, _y + moveUD, true)) {
while (_root.tehground.hitTest(_x + IdiotR, _y, true)) {
IdiotR++;
}
while (_root.tehground.hitTest(_x - IdiotL, _y, true)) {
IdiotL++;
}
if (IdiotR < IdiotL) {
_x = (_x + IdiotR);
} else {
_x = (_x - IdiotL);
}
}
if (_root.Health < 5) {
if (CanCharge == 0) {
_root.Health = _root.Health + 0.05;
} else {
CanCharge--;
}
}
if (_root.ScrollMin != _root.ScrollMax) {
if (_root._x == WasAt) {
if (ShouldMoveOn > 150) {
ShouldMoveOn = 50;
_root.MoveOn();
} else {
ShouldMoveOn++;
}
} else {
_root.MoveOnArrow.removeMovieClip(this);
ShouldMoveOn = 0;
WasAt = _root._x;
}
} else {
_root.MoveOnArrow.removeMovieClip(this);
}
moveFunc();
_root.Char._x = _x;
_root.Char._y = _y - Jump;
_root.CharLegs._y = _root.Char._y - 64;
_root.CharLegs._x = _x;
if (Scroll > _root.Char._xscale) {
Scroll = Scroll - 10;
}
if (Scroll < _root.Char._xscale) {
Scroll = Scroll + 10;
}
if (((_x + Scroll) - 250) < _root.ScrollMin) {
Scroll = (_root.ScrollMin - _x) + 250;
}
if (((_x + Scroll) - 250) > _root.ScrollMax) {
Scroll = (_root.ScrollMax - _x) + 250;
}
_root._x = _root._x + ((((250 - _x) - Scroll) - _root._x) / 5);
_root.Still._x = -_root._x;
_root.Background._x = (-_root._x) * 0.4;
_root.OutPut._x = -_root._x;
_root.Char.swapDepths((Math.round((_y - 150) / 10) * 1000) + 1);
_root.CharLegs.swapDepths(Math.round((_y - 150) / 10) * 1000);
if (!_root.Startled) {
if (ShouldTweet == 0) {
_root.Voices.Birds.gotoAndStop(random(6) + 2);
ShouldTweet = (random(5) * 10) + 30;
} else {
ShouldTweet--;
}
}
}
}
};
Symbol 101 MovieClip Frame 295
gotoAndPlay (235);
Symbol 112 MovieClip Frame 5
_root.ThrowBall(_root.CharBase._x, _root.CharBase._y, _root.Char._xscale, 40, _root.CharBase.moveUD, 5, 1, _root.CharBase.Jump);
panner = ((_root.CharBase._x + _root._x) - 275) / 3;
if (panner > 100) {
panner = 100;
}
if (panner < -100) {
panner = -100;
}
_root.CharBase.ThrowSound.setPan(panner);
_root.CharBase.ThrowSound.start();
Symbol 112 MovieClip Frame 18
_parent.gotoAndStop(1);
Instance of Symbol 101 MovieClip in Symbol 113 MovieClip [Char] Frame 1
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Instance of Symbol 104 MovieClip "Walk" in Symbol 113 MovieClip [Char] Frame 2
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Instance of Symbol 112 MovieClip "Throw" in Symbol 113 MovieClip [Char] Frame 3
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Symbol 139 MovieClip Frame 8
if ((Math.abs(_parent._x - _root.CharBase._x) < 200) && (_root.CharBase.Tall < 50)) {
_root.ThrowBall(_parent._x, _parent.zaxis, _parent._xscale, 20, _parent.moveUD, 4, 2, _parent.Jump / 2);
} else {
_root.ThrowBall(_parent._x, _parent.zaxis, _parent._xscale * 1.3, 40, _parent.moveUD, 5, 2, _parent.Jump / 2);
}
panner = ((_parent._x + _root._x) - 275) / 3;
if (panner > 100) {
panner = 100;
}
if (panner < -100) {
panner = -100;
}
_parent.ThrowSound.setPan(panner);
_parent.ThrowSound.start();
Symbol 139 MovieClip Frame 13
_parent.gotoAndStop(1);
Symbol 146 MovieClip Frame 19
stop();
Symbol 149 MovieClip Frame 3
_parent.gotoAndStop(1);
Symbol 155 MovieClip Frame 24
_parent.ShouldJump = false;
_parent.ShouldDuck = false;
_parent.Tall = 65;
_parent.gotoAndStop(1);
Symbol 173 MovieClip Frame 8
if (_parent.Jump > 0) {
gotoAndPlay (7);
}
Symbol 173 MovieClip Frame 45
_root.StageClear();
_parent.removeMovieClip(this);
Symbol 189 MovieClip Frame 5
if (_parent.Jump > 0) {
gotoAndPlay (4);
}
Symbol 189 MovieClip Frame 41
_root.StageClear();
_parent.removeMovieClip(this);
Symbol 190 MovieClip [Hoodie] Frame 1
onEnterFrame = function () {
if (!_root.Paused) {
if (Status != "Dead") {
if ((_x < ((-_root._x) - 30)) || (_x > ((-_root._x) + 580))) {
OffScreenN++;
} else {
OffScreenN = 0;
}
if (OffScreenN > 200) {
_y = (250 + (random(10) * 10));
_x = ((-_root._x) + 580);
OffScreenN = 0;
}
if ((_currentframe == 5) && (Jump == 0)) {
gotoAndStop (2);
}
if (_currentframe < 4) {
if (_x > _root.CharBase._x) {
_xscale = -100;
}
if (_x < _root.CharBase._x) {
_xscale = 100;
}
if (Math.abs(moveRL) < 0.5) {
moveRL = 0;
}
if (Math.abs(moveUD) < 0.5) {
moveUD = 0;
}
if (Jump <= 0) {
if ((moveRL == 0) && (moveUD == 0)) {
gotoAndStop (2);
} else {
gotoAndStop (3);
}
} else {
gotoAndStop (5);
}
if (Status == "Approach") {
if (Math.abs(zaxis - _root.CharBase._y) > 10) {
if (CanMoveUD == 0) {
if (!MovingUD) {
MovingUD = true;
CanMoveUD = random(2) * 3;
}
if ((zaxis > _root.CharBase._y) && (moveUD > -2.5)) {
moveUD = moveUD - 0.5;
}
if ((zaxis < _root.CharBase._y) && (moveUD < 2.5)) {
moveUD = moveUD + 0.5;
}
} else {
CanMoveUD--;
if (moveUD != 0) {
moveUD = moveUD - ((moveUD / Math.abs(moveUD)) / 2);
}
}
} else {
MovingUD = false;
if (moveUD != 0) {
moveUD = moveUD - ((moveUD / Math.abs(moveUD)) / 2);
}
}
if (Math.abs(_x - _root.CharBase._x) > HowClose) {
moveBack = 0;
if (CanMoveRL > 0) {
if ((_x > _root.CharBase._x) && (moveRL > -3)) {
moveRL = moveRL - 0.5;
}
if ((_x < _root.CharBase._x) && (moveRL < 3)) {
moveRL = moveRL + 0.5;
}
CanMoveRL--;
if (CanMoveRL == 1) {
CanMoveRL = (-random(3)) * 3;
}
}
if (CanMoveRL < 0) {
if (moveRL != 0) {
moveRL = moveRL - ((moveRL / Math.abs(moveRL)) / 2);
}
CanMoveRL++;
if (CanMoveRL == -1) {
CanMoveRL = random(3) * 3;
}
}
if (CanMoveRL == 0) {
CanMoveRL = random(3) * 3;
}
} else if (((moveBack > 60) && (_x < ((-_root._x) + 520))) && (_x > ((-_root._x) + 30))) {
if ((_x > _root.CharBase._x) && (moveRL < 3)) {
moveRL = moveRL + 0.5;
}
if ((_x < _root.CharBase._x) && (moveRL > -3)) {
moveRL = moveRL - 0.5;
}
} else {
moveBack++;
if (moveRL != 0) {
moveRL = moveRL - ((moveRL / Math.abs(moveRL)) / 2);
}
}
}
if (((CanThrow <= 0) && (_root.Health > 0)) && (Math.abs(zaxis - (_root.CharBase._y + (_root.CharBase.moveUD * 10))) < 10)) {
CanThrow = 3;
gotoAndStop (4);
} else {
CanThrow--;
}
} else {
moveRL = 0;
moveUD = 0;
}
if (ShouldJump) {
ShouldJump = false;
if (random(8) == 0) {
Jumping = 10;
}
}
if (ShouldDuck) {
ShouldDuck = false;
if (random(8) == 0) {
Tall = 35;
gotoAndStop (7);
}
}
BaddieMoveFunc();
this.swapDepths(((Math.round((zaxis - 150) / 10) * 1000) + zBuffer) + 400);
} else {
moveRL = 0;
moveUD = 0;
}
Jump = Jump + Jumping;
if (Jump > 0) {
Jumping--;
} else {
Jumping = 0;
Jump = 0;
}
_root.BSLayer["BadShadow" + zBuffer]._x = _x;
_root.BSLayer["BadShadow" + zBuffer]._y = zaxis;
}
};
Instance of Symbol 120 MovieClip "ThisBody" in Symbol 190 MovieClip [Hoodie] Frame 2
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Instance of Symbol 128 MovieClip "ThisBody" in Symbol 190 MovieClip [Hoodie] Frame 3
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Instance of Symbol 139 MovieClip "ThisBody" in Symbol 190 MovieClip [Hoodie] Frame 4
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Instance of Symbol 146 MovieClip "ThisBody" in Symbol 190 MovieClip [Hoodie] Frame 5
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Instance of Symbol 149 MovieClip "ThisBody" in Symbol 190 MovieClip [Hoodie] Frame 6
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Instance of Symbol 155 MovieClip "ThisBody" in Symbol 190 MovieClip [Hoodie] Frame 7
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Symbol 190 MovieClip [Hoodie] Frame 8
_root.Combo = _root.Combo + 9;
_root.BSLayer["BadShadow" + zBuffer].SelfDestruct();
Status = "Dead";
Instance of Symbol 173 MovieClip "ThisBody" in Symbol 190 MovieClip [Hoodie] Frame 8
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Symbol 190 MovieClip [Hoodie] Frame 9
_root.Combo = _root.Combo + 9;
_root.BSLayer["BadShadow" + zBuffer].SelfDestruct();
Status = "Dead";
Instance of Symbol 189 MovieClip "ThisBody" in Symbol 190 MovieClip [Hoodie] Frame 9
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Symbol 225 MovieClip Frame 19
if ((Math.abs(_parent._x - _root.CharBase._x) < 200) && (_root.CharBase.Tall < 50)) {
_root.ThrowBall(_parent._x, _parent.zaxis, _parent._xscale, 40, _parent.moveUD, 0, 2, _parent.Jump / 2);
} else {
_root.ThrowBall(_parent._x, _parent.zaxis, _parent._xscale, 40, _parent.moveUD, 5, 2, _parent.Jump / 2);
}
panner = ((_parent._x + _root._x) - 275) / 3;
if (panner > 100) {
panner = 100;
}
if (panner < -100) {
panner = -100;
}
_parent.ThrowSound.setPan(panner);
_parent.ThrowSound.start();
Symbol 225 MovieClip Frame 31
_parent.gotoAndStop(1);
Symbol 230 MovieClip Frame 20
stop();
Symbol 230 MovieClip Frame 21
_parent.gotoAndStop(1);
Symbol 236 MovieClip Frame 11
_parent.gotoAndStop(1);
Symbol 242 MovieClip Frame 33
_parent.ShouldJump = false;
_parent.ShouldDuck = false;
_parent.Tall = 65;
_parent.gotoAndStop(1);
Symbol 265 MovieClip Frame 8
if (_parent.Jump > 0) {
gotoAndPlay (7);
}
Symbol 265 MovieClip Frame 45
_parent.removeMovieClip(this);
Symbol 290 MovieClip Frame 5
if (_parent.Jump > 0) {
gotoAndPlay (4);
}
Symbol 290 MovieClip Frame 41
_parent.removeMovieClip(this);
Symbol 291 MovieClip [Bully] Frame 1
onEnterFrame = function () {
if (!_root.Paused) {
if (Status != "Dead") {
if ((_x < ((-_root._x) - 30)) || (_x > ((-_root._x) + 580))) {
OffScreenN++;
} else {
OffScreenN = 0;
}
if (OffScreenN > 200) {
_y = (250 + (random(10) * 10));
_x = ((-_root._x) + 580);
OffScreenN = 0;
}
if ((_currentframe == 5) && (Jump == 0)) {
gotoAndStop (2);
}
if (_currentframe < 4) {
if (_x > _root.CharBase._x) {
_xscale = -100;
}
if (_x < _root.CharBase._x) {
_xscale = 100;
}
if (Math.abs(moveRL) < 0.5) {
moveRL = 0;
}
if (Math.abs(moveUD) < 0.5) {
moveUD = 0;
}
if (Jump <= 0) {
if ((moveRL == 0) && (moveUD == 0)) {
gotoAndStop (2);
} else {
gotoAndStop (3);
}
} else {
gotoAndStop (5);
}
if (Status == "Approach") {
if (Math.abs(zaxis - _root.CharBase._y) > 10) {
if (CanMoveUD == 0) {
if (!MovingUD) {
MovingUD = true;
CanMoveUD = random(10) * 3;
}
if ((zaxis > _root.CharBase._y) && (moveUD > -2.5)) {
moveUD = moveUD - 0.5;
}
if ((zaxis < _root.CharBase._y) && (moveUD < 2.5)) {
moveUD = moveUD + 0.5;
}
} else {
CanMoveUD--;
if (moveUD != 0) {
moveUD = moveUD - ((moveUD / Math.abs(moveUD)) / 2);
}
}
} else {
MovingUD = false;
if (moveUD != 0) {
moveUD = moveUD - ((moveUD / Math.abs(moveUD)) / 2);
}
if ((CanThrow <= 0) && (_root.Health > 0)) {
CanThrow = random(5) * ((6 - _root.Level) * 5);
gotoAndStop (4);
} else {
CanThrow--;
}
}
if (Math.abs(_x - _root.CharBase._x) > HowClose) {
moveBack = 0;
if (CanMoveRL > 0) {
if ((_x > _root.CharBase._x) && (moveRL > -3)) {
moveRL = moveRL - 0.5;
}
if ((_x < _root.CharBase._x) && (moveRL < 3)) {
moveRL = moveRL + 0.5;
}
CanMoveRL--;
if (CanMoveRL == 1) {
CanMoveRL = (-random(10)) * 3;
}
}
if (CanMoveRL < 0) {
if (moveRL != 0) {
moveRL = moveRL - ((moveRL / Math.abs(moveRL)) / 2);
}
CanMoveRL++;
if (CanMoveRL == -1) {
CanMoveRL = random(10) * 3;
}
}
if (CanMoveRL == 0) {
CanMoveRL = random(10) * 3;
}
} else if (((moveBack > 60) && (_x < ((-_root._x) + 520))) && (_x > ((-_root._x) + 30))) {
if ((_x > _root.CharBase._x) && (moveRL < 3)) {
moveRL = moveRL + 0.5;
}
if ((_x < _root.CharBase._x) && (moveRL > -3)) {
moveRL = moveRL - 0.5;
}
} else {
moveBack++;
if (moveRL != 0) {
moveRL = moveRL - ((moveRL / Math.abs(moveRL)) / 2);
}
}
}
} else {
moveRL = 0;
moveUD = 0;
}
if (ShouldJump) {
ShouldJump = false;
if (random(8) == 0) {
Jumping = 10;
}
}
if (ShouldDuck) {
ShouldDuck = false;
if (random(8) == 0) {
Tall = 35;
gotoAndStop (7);
}
}
BaddieMoveFunc();
this.swapDepths(((Math.round((zaxis - 150) / 10) * 1000) + zBuffer) + 400);
} else {
moveRL = 0;
moveUD = 0;
}
Jump = Jump + Jumping;
if (Jump > 0) {
Jumping--;
} else {
Jumping = 0;
Jump = 0;
}
_root.BSLayer["BadShadow" + zBuffer]._x = _x;
_root.BSLayer["BadShadow" + zBuffer]._y = zaxis;
}
};
SelfDestruct = function () {
removeMovieClip(this);
};
Symbol 291 MovieClip [Bully] Frame 2
stop();
Instance of Symbol 203 MovieClip "ThisBody" in Symbol 291 MovieClip [Bully] Frame 2
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Instance of Symbol 212 MovieClip "ThisBody" in Symbol 291 MovieClip [Bully] Frame 3
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Instance of Symbol 225 MovieClip "ThisBody" in Symbol 291 MovieClip [Bully] Frame 4
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Instance of Symbol 230 MovieClip "ThisBody" in Symbol 291 MovieClip [Bully] Frame 5
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Instance of Symbol 236 MovieClip "ThisBody" in Symbol 291 MovieClip [Bully] Frame 6
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Instance of Symbol 242 MovieClip "ThisBody" in Symbol 291 MovieClip [Bully] Frame 7
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Symbol 291 MovieClip [Bully] Frame 8
_root.BSLayer["BadShadow" + zBuffer].SelfDestruct();
Status = "Dead";
Instance of Symbol 265 MovieClip "ThisBody" in Symbol 291 MovieClip [Bully] Frame 8
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Symbol 291 MovieClip [Bully] Frame 9
_root.BSLayer["BadShadow" + zBuffer].SelfDestruct();
Status = "Dead";
Instance of Symbol 290 MovieClip "ThisBody" in Symbol 291 MovieClip [Bully] Frame 9
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Symbol 299 MovieClip Frame 1
gotoAndStop(_parent._parent.Head + 1);
Symbol 300 MovieClip Frame 75
gotoAndPlay (1);
Symbol 309 MovieClip Frame 2
_root.LayPrint(_parent._x, _parent._y - 4);
Symbol 309 MovieClip Frame 11
_root.LayPrint(_parent._x, _parent._y + 4);
Symbol 321 MovieClip Frame 10
if ((Math.abs(_parent._x - _root.CharBase._x) < 200) && (_root.CharBase.Tall < 50)) {
_root.ThrowBall(_parent._x, _parent.zaxis, _parent._xscale, 40, _parent.moveUD, 0, 2, _parent.Jump / 2);
} else {
_root.ThrowBall(_parent._x, _parent.zaxis, _parent._xscale, 40, _parent.moveUD, 5, 2, _parent.Jump / 2);
}
panner = ((_parent._x + _root._x) - 275) / 3;
if (panner > 100) {
panner = 100;
}
if (panner < -100) {
panner = -100;
}
_parent.ThrowSound.setPan(panner);
_parent.ThrowSound.start();
Symbol 321 MovieClip Frame 23
_parent.gotoAndStop(1);
Symbol 326 MovieClip Frame 21
_parent.gotoAndStop(1);
Symbol 351 MovieClip Frame 12
if (_parent.Jump > 0) {
gotoAndPlay (11);
}
Symbol 351 MovieClip Frame 29
if (_root.PlayVoices) {
if (_parent.Head <= 2) {
_root.Voices.VA1.Die.gotoAndStop(random(3) + 2);
} else {
_root.Voices.VA2.Die.gotoAndStop(random(3) + 2);
}
}
Symbol 351 MovieClip Frame 57
_parent.removeMovieClip(this);
Symbol 386 MovieClip Frame 5
if (_parent.Jump > 0) {
gotoAndPlay (4);
}
Symbol 386 MovieClip Frame 25
if (_root.PlayVoices) {
_root.Voices.VA2.Die.gotoAndStop(random(3) + 2);
}
Symbol 386 MovieClip Frame 61
_parent.removeMovieClip(this);
Symbol 387 MovieClip [Baddie] Frame 1
onEnterFrame = function () {
if (!_root.Paused) {
if (Status != "Dead") {
if ((_x < ((-_root._x) - 30)) || (_x > ((-_root._x) + 580))) {
OffScreenN++;
} else {
OffScreenN = 0;
}
if (OffScreenN > 200) {
_y = (250 + (random(10) * 10));
_x = ((-_root._x) + 580);
OffScreenN = 0;
}
if ((_currentframe == 5) && (Jump == 0)) {
gotoAndStop (2);
}
if (_currentframe < 4) {
if (_x > _root.CharBase._x) {
_xscale = -100;
}
if (_x < _root.CharBase._x) {
_xscale = 100;
}
if (Math.abs(moveRL) < 0.5) {
moveRL = 0;
}
if (Math.abs(moveUD) < 0.5) {
moveUD = 0;
}
if (Jump <= 0) {
if ((moveRL == 0) && (moveUD == 0)) {
gotoAndStop (2);
} else {
gotoAndStop (3);
}
} else {
gotoAndStop (5);
}
if (Status == "Approach") {
if (Math.abs(zaxis - _root.CharBase._y) > 10) {
if (CanMoveUD == 0) {
if (!MovingUD) {
MovingUD = true;
CanMoveUD = random(20) * 3;
}
if ((zaxis > _root.CharBase._y) && (moveUD > -2.5)) {
moveUD = moveUD - 0.5;
}
if ((zaxis < _root.CharBase._y) && (moveUD < 2.5)) {
moveUD = moveUD + 0.5;
}
} else {
CanMoveUD--;
if (moveUD != 0) {
moveUD = moveUD - ((moveUD / Math.abs(moveUD)) / 2);
}
}
} else {
MovingUD = false;
if (moveUD != 0) {
moveUD = moveUD - ((moveUD / Math.abs(moveUD)) / 2);
}
}
if (Math.abs(_x - _root.CharBase._x) > HowClose) {
moveBack = 0;
if (CanMoveRL > 0) {
if ((_x > _root.CharBase._x) && (moveRL > -3)) {
moveRL = moveRL - 0.5;
}
if ((_x < _root.CharBase._x) && (moveRL < 3)) {
moveRL = moveRL + 0.5;
}
CanMoveRL--;
if (CanMoveRL == 1) {
CanMoveRL = (-random(5)) * 3;
}
}
if (CanMoveRL < 0) {
if (moveRL != 0) {
moveRL = moveRL - ((moveRL / Math.abs(moveRL)) / 2);
}
CanMoveRL++;
if (CanMoveRL == -1) {
CanMoveRL = random(15) * 3;
}
}
if (CanMoveRL == 0) {
CanMoveRL = random(5) * 3;
}
} else if (((moveBack > 60) && (_x < ((-_root._x) + 520))) && (_x > ((-_root._x) + 30))) {
if ((_x > _root.CharBase._x) && (moveRL < 3)) {
moveRL = moveRL + 0.5;
}
if ((_x < _root.CharBase._x) && (moveRL > -3)) {
moveRL = moveRL - 0.5;
}
} else {
moveBack++;
if (moveRL != 0) {
moveRL = moveRL - ((moveRL / Math.abs(moveRL)) / 2);
}
}
}
if (((CanThrow < 0) && (_root.Health > 0)) && (Math.abs(zaxis - (_root.CharBase._y + (_root.CharBase.moveUD * 40))) < 10)) {
CanThrow = (random(10) + 1) * 10;
gotoAndStop ("Throw");
} else {
CanThrow--;
}
} else {
moveRL = 0;
moveUD = 0;
}
if (ShouldJump) {
ShouldJump = false;
if (random(8) == 0) {
Jumping = 10;
}
}
BaddieMoveFunc();
this.swapDepths(((Math.round((zaxis - 150) / 10) * 1000) + zBuffer) + 400);
} else {
moveRL = 0;
moveUD = 0;
}
Jump = Jump + Jumping;
if (Jump > 0) {
Jumping--;
} else {
Jumping = 0;
Jump = 0;
}
_root.BSLayer["BadShadow" + zBuffer]._x = _x;
_root.BSLayer["BadShadow" + zBuffer]._y = zaxis;
}
};
SelfDestruct = function () {
removeMovieClip(this);
};
Symbol 387 MovieClip [Baddie] Frame 2
stop();
Instance of Symbol 300 MovieClip in Symbol 387 MovieClip [Baddie] Frame 2
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Instance of Symbol 309 MovieClip in Symbol 387 MovieClip [Baddie] Frame 3
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Instance of Symbol 321 MovieClip in Symbol 387 MovieClip [Baddie] Frame 4
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Instance of Symbol 326 MovieClip in Symbol 387 MovieClip [Baddie] Frame 5
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Symbol 387 MovieClip [Baddie] Frame 8
_root.BSLayer["BadShadow" + zBuffer].SelfDestruct();
Status = "Dead";
Instance of Symbol 351 MovieClip in Symbol 387 MovieClip [Baddie] Frame 8
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Symbol 387 MovieClip [Baddie] Frame 9
_root.BSLayer["BadShadow" + zBuffer].SelfDestruct();
Status = "Dead";
Instance of Symbol 386 MovieClip in Symbol 387 MovieClip [Baddie] Frame 9
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Symbol 398 MovieClip Frame 7
_root.LayPrint(_root.CharBase._x, _root.CharBase._y - 4);
Symbol 398 MovieClip Frame 16
_root.LayPrint(_root.CharBase._x, _root.CharBase._y + 4);
Symbol 405 MovieClip Frame 2
_root.LayPrint(_root.CharBase._x, _root.CharBase._y + 4);
Symbol 405 MovieClip Frame 11
_root.LayPrint(_root.CharBase._x, _root.CharBase._y - 4);
Symbol 413 MovieClip Frame 6
_root.LayPrint(_root.CharBase._x, _root.CharBase._y + 4);
Symbol 419 MovieClip Frame 20
stop();
Symbol 432 MovieClip Frame 3
stop();
Symbol 432 MovieClip Frame 5
_root.ThrowBall(_root.CharBase._x, _root.CharBase._y, _root.Char._xscale, 30, 0, 2, 1, 0);
_root.LayPrint(_root.Charbase._x, _root.CharBase._y + 4);
Symbol 432 MovieClip Frame 16
gotoAndStop (3);
Symbol 432 MovieClip Frame 17
play();
Symbol 432 MovieClip Frame 20
_root.Char.gotoAndStop(1);
_root.CharLegs.gotoAndStop(1);
Symbol 456 MovieClip Frame 45
_root.YouDied();
stop();
Symbol 479 MovieClip Frame 41
_root.YouDied();
stop();
Instance of Symbol 398 MovieClip in Symbol 480 MovieClip [CharLegs] Frame 2
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Instance of Symbol 405 MovieClip in Symbol 480 MovieClip [CharLegs] Frame 3
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Instance of Symbol 413 MovieClip "LegsThrow" in Symbol 480 MovieClip [CharLegs] Frame 4
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Instance of Symbol 419 MovieClip in Symbol 480 MovieClip [CharLegs] Frame 5
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Symbol 482 MovieClip [footprint] Frame 55
unloadMovie (this);
Symbol 487 MovieClip [FadeIn] Frame 21
removeMovieClip(this);
Symbol 511 MovieClip Frame 24
_parent.removeMovieClip(this);
Symbol 513 MovieClip [MenuThrow] Frame 7
_root.SpawnPoofy(_x, _y);
_root.MenuX = _x;
_root.MenuY = _y;
Symbol 524 Button
on (press) {
_root._quality = "HIGH";
QualityHighlight.gotoAndStop(1);
}
Symbol 528 Button
on (press) {
_root._quality = "MEDIUM";
QualityHighlight.gotoAndStop(2);
}
Symbol 532 Button
on (press) {
_root._quality = "LOW";
QualityHighlight.gotoAndStop(3);
}
Symbol 536 Button
on (press) {
_root.PlayVoices = true;
VoicesHighlight.gotoAndStop(1);
}
Symbol 540 Button
on (press) {
_root.PlayVoices = false;
VoicesHighlight.gotoAndStop(2);
}
Symbol 544 Button
on (press) {
_root.QuitToMenu();
_root.Paused = false;
}
Symbol 548 Button
on (press) {
_root.Paused = false;
}
Instance of Symbol 518 MovieClip "QualityHighlight" in Symbol 552 MovieClip Frame 1
onClipEvent (load) {
if (_root._quality == "MEDIUM") {
gotoAndStop (2);
} else if (_root._quality == "LOW") {
gotoAndStop (3);
} else {
stop();
}
}
Instance of Symbol 551 MovieClip "VoicesHighlight" in Symbol 552 MovieClip Frame 1
onClipEvent (load) {
if (_root.PlayVoices) {
stop();
} else {
gotoAndStop (3);
}
}
Symbol 553 MovieClip [PausedMenu] Frame 1
onEnterFrame = function () {
if (_root.Paused) {
if (_currentframe < 10) {
nextFrame();
}
} else if (_currentframe > 1) {
prevFrame();
} else {
removeMovieClip(this);
}
_x = (-_root._x);
};
Symbol 554 MovieClip [BSLayer] Frame 2
stop();
Symbol 558 MovieClip [WarningMessage] Frame 10
onEnterFrame = function () {
if (_root.Health > 2) {
play();
}
};
stop();
Symbol 558 MovieClip [WarningMessage] Frame 21
removeMovieClip(this);
Symbol 563 MovieClip [Frontground] Frame 1
stop();
Instance of Symbol 568 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Health <= 2) {
play();
if (_root.CanWarn) {
_root.CanWarn = false;
_root.OutPut.attachMovie("WarningMessage", "WarningMessage", OutPut.getNextHighestDepth());
}
} else {
gotoAndStop (1);
}
}
Instance of Symbol 571 MovieClip in Symbol 573 MovieClip Frame 1
onClipEvent (enterFrame) {
_xscale = ((_root.Health / 5) * 100);
}
Symbol 598 MovieClip [Foreground] Frame 1
stop();
Symbol 600 MovieClip [BossOMG] Frame 61
removeMovieClip(this);
Symbol 600 MovieClip [BossOMG] Frame 62
unloadMovie (this);
Symbol 613 MovieClip [Background] Frame 1
stop();
Symbol 637 MovieClip Frame 1
stop();
Symbol 643 Button
on (press) {
Pages.nextFrame();
}
Symbol 644 Button
on (press) {
Pages.prevFrame();
}
Symbol 649 Button
on (rollOver) {
Pages.TitleWords.stop();
}
on (rollOut) {
Pages.TitleWords.play();
}
on (press) {
_root.nextFrame();
}
Symbol 655 Button
on (press) {
_root.ViewScoresNow = true;
_root.Score = 0;
_root.gotoAndStop(3);
}
on (rollOver) {
Pages.TitleWords.stop();
}
on (rollOut) {
Pages.TitleWords.play();
}
Symbol 657 MovieClip Frame 1
stop();
Symbol 744 MovieClip Frame 1
stop();
Symbol 748 MovieClip Frame 1
stop();
Symbol 755 MovieClip Frame 1
stop();
Symbol 760 MovieClip Frame 1
stop();
Symbol 770 MovieClip Frame 1
stop();