Frame 1
onMouseDown = function (x, y) {
var _local1 = _root;
PoofN++;
x = _local1._xmouse;
y = _local1._ymouse;
attachMovie("Poofy", ["Poofy" + PoofN], PoofN);
_local1["Poofy" + PoofN]._x = x;
_local1["Poofy" + PoofN]._y = y;
_local1["Poofy" + PoofN]._rotation = random(50) - 50;
if (PoofN == 10) {
PoofN = 0;
}
};
GoToMo = function () {
getURL ("http://www.mofunzone.com", "_blank");
};
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;
}
Stage.showMenu = false;
stop();
Frame 3
attachMovie("FadeIn", "FadeItIn", 300030);
Frame 9
LayPrint = function (x, y) {
printN++;
attachMovie("footprint", ["NewFoot" + printn], printN);
_root["NewFoot" + printN]._x = x;
_root["NewFoot" + printN]._y = y;
if (printN > -900) {
printN = -1000;
}
};
BallPrint = function (x, y, s) {
var _local1 = _root;
bprintN++;
attachMovie("BallPrint", ["NewPrint" + bprintN], (Math.round((y - 150) / 10) * 1000) + bprintN);
_local1["NewPrint" + bprintN]._x = (x + random(10)) - 5;
_local1["NewPrint" + bprintN]._y = (y + random(10)) - 5;
_local1["NewPrint" + bprintN]._xscale = -s;
if (bprintN == 249) {
bprintN = 231;
}
};
FacePrint = function (x, y, s) {
var _local1 = _root;
fprintN++;
attachMovie("FacePrint", ["NewFace" + fprintN], 50000 + fprintN);
_local1["NewFace" + fprintN]._x = (x + random(5)) - 3;
_local1["NewFace" + fprintN]._y = (y + random(5)) - 3;
_local1["NewFace" + fprintN]._xscale = s / 2;
_local1["NewFace" + fprintN]._yscale = 50;
if (fprintN == 4) {
fprintN = 0;
}
};
ThrowBall = function (x, y, s, d, h, l, j, k, jump) {
var _local1 = _root;
throwN = throwN + 2;
attachMovie("SnowBall", ["SnowBall" + throwN], d + throwN);
duplicateMovieClip (_local1.SnowBallBase, [("SnowBallBase" + throwN) + 1], (d + throwN) + 1);
_local1[("SnowBallBase" + throwN) + 1]._x = x;
_local1[("SnowBallBase" + throwN) + 1]._y = y;
_local1[("SnowBallBase" + throwN) + 1]._xscale = s;
_local1[("SnowBallBase" + throwN) + 1].Jump = jump;
_local1[("SnowBallBase" + throwN) + 1].Jumping = j;
_local1[("SnowBallBase" + throwN) + 1].Dead = false;
_local1[("SnowBallBase" + throwN) + 1].num = throwN;
_local1[("SnowBallBase" + throwN) + 1].up = h;
_local1[("SnowBallBase" + throwN) + 1].lean = l / 2;
_local1[("SnowBallBase" + throwN) + 1].kind = k;
if (throwN == 128) {
throwN = 110;
}
};
SpawnBaddie = function (Baddies, Type, Side) {
var _local1 = Baddies;
var _local2 = _root;
var _local3 = Type;
y = 250 + (random(10) * 10);
if (_local3 < 0) {
duplicateMovieClip (_local2.Hoodie, ["Baddie" + _local1], ((Math.round((y - 150) / 10) * 1000) + _local1) + 581);
_local2["Baddie" + _local1].Health = 20;
_local2["Baddie" + _local1].Type = "Hoodie";
}
if (_local3 == 0) {
duplicateMovieClip (_local2.Bully, ["Baddie" + _local1], ((Math.round((y - 150) / 10) * 1000) + _local1) + 581);
_local2["Baddie" + _local1].Health = 3;
_local2["Baddie" + _local1].Type = "Bully";
}
if (_local3 > 0) {
duplicateMovieClip (_local2.Baddie, ["Baddie" + _local1], ((Math.round((y - 150) / 10) * 1000) + _local1) + 581);
_local2["Baddie" + _local1].Health = 1;
_local2["Baddie" + _local1].Type = "Baddie";
}
attachMovie("BadShadow", ["BadShadow" + _local1], 581 + _local1);
if (Side == 0) {
_local2["Baddie" + _local1]._x = (-_local2._x) - 30;
} else {
_local2["Baddie" + _local1]._x = (-_local2._x) + 580;
}
_local2["Baddie" + _local1].zaxis = y;
_local2["Baddie" + _local1].BadNum = _local1;
_local2["Baddie" + _local1].Head = _local1;
_local2["Baddie" + _local1].Tall = 65;
_local2["Baddie" + _local1].moveRL = 0;
_local2["Baddie" + _local1].moveUD = 0;
_local2["Baddie" + _local1].Jump = 0;
_local2["Baddie" + _local1].Status = "Approach";
_local2["Baddie" + _local1].ShouldJump = false;
_local2["Baddie" + _local1].CanThrow = 0;
_local2["Baddie" + _local1].CanMoveRL = random(10) * 3;
_local2["Baddie" + _local1].MovingRL = true;
_local2["Baddie" + _local1].CanMoveUD = 0;
_local2["Baddie" + _local1].MovingUD = true;
_local2["Baddie" + _local1].OffScreenN = 0;
_local2["Baddie" + _local1].HowClose = (random(20) * 10) + 50;
_local2["Baddie" + _local1].moveBack = 0;
BaddiesSpawned++;
};
StageCleat = function () {
var _local1 = _root;
attachMovie("StageCleat", "Cleat", 30004);
_local1.Cleat._x = (-_local1._x) + 220;
_local1.Cleat._y = 300;
_local1.Cleat._xscale = 300;
_local1.Cleat._yscale = 300;
};
YouDied = function () {
var _local1 = _root;
attachMovie("YouAreDead", "j00rdead", 300020);
_local1.j00rdead._x = (-_local1._x) + 220;
_local1.j00rdead._y = 250;
_local1.j00rdead._xscale = 300;
_local1.j00rdead._yscale = 300;
};
ItsABoss = function () {
var _local1 = _root;
attachMovie("BossOMG", "BossItUpScotty", 300025);
_local1.BossItUpScotty._x = (-_local1._x) + 250;
_local1.BossItUpScotty._y = 100;
_local1.BossItUpScotty._xscale = 300;
_local1.BossItUpScotty._yscale = 300;
};
MoveOn = function () {
var _local1 = _root;
attachMovie("MoveOnArrow", "MoveOnArrow", 30010);
_local1.MoveOnArrow._x = (-_local1._x) + 500;
_local1.MoveOnArrow._y = 200;
};
SaveHighScore = function () {
SnowBlitz_local_data.data.HighScore = _root.HighScore;
};
PauseGame = function () {
_root.Paused = true;
attachMovie("PausedMenu", "PausedMenu", 300035);
PausedMenu._x = -_root._x;
};
UnPauseGame = function () {
_root.Paused = false;
};
RestartGame = function () {
var _local1 = _root;
n = 1;
while (n < 5) {
if (_local1["Baddie" + n]._x != undefined) {
removeMovieClip(_local1["Baddie" + n]);
removeMovieClip(_local1["BadShadow" + n]);
}
n++;
}
_local1._x = 0;
_local1.CharBase._x = 35.4;
_local1.CharBase._y = 331.3;
_local1.CharBase._alpha = 100;
_local1.Still._x = 600;
_local1.Still2._x = 600;
_local1.Blackin2._x = 300;
_quality = "MEDIUM";
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;
throwN = 111;
bprintN = 231;
Baddies = 300;
printN = -1000;
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();
SnowBallBase.Dead = true;
tehground._visible = false;
Baddie.Status = "Dead";
Baddie.zaxis = -100;
Bully.Status = "Dead";
Bully.zaxis = -100;
Hoodie.Status = "Dead";
Hoodie.zaxis = -100;
PlayVoices = true;
bottom1.swapDepths(30000);
bottom2.swapDepths(30001);
bottom3.swapDepths(30002);
Blackin2.swapDepths(30003);
Snowing1.swapDepths(300004);
Snowing2.swapDepths(300005);
Snowing3.swapDepths(300006);
PausedMenu.swapDepths(300007);
attachMovie("FadeIn", "FadeItIn", 300030);
stop();
Instance of Symbol 423 MovieClip "Barrier1" in Frame 9
onClipEvent (load) {
this.swapDepths((Math.round((_y - 150) / 10) * 1000) + 945);
}
Instance of Symbol 425 MovieClip in Frame 9
/* no clip actions */
Instance of Symbol 423 MovieClip "Barrier3" in Frame 9
onClipEvent (load) {
this.swapDepths((Math.round((_y - 150) / 10) * 1000) + 960);
}
Instance of Symbol 425 MovieClip in Frame 9
/* no clip actions */
Instance of Symbol 423 MovieClip "Barrier2" in Frame 9
onClipEvent (enterFrame) {
this.swapDepths((Math.round((_y - 150) / 10) * 1000) + 950);
}
Instance of Symbol 425 MovieClip "Back2" in Frame 9
onClipEvent (load) {
this.swapDepths((Math.round((_y - 150) / 10) * 1000) + 955);
}
Instance of Symbol 426 MovieClip "CharBase" in Frame 9
on (keyPress "<Enter>") {
if (!_root.Paused) {
_root.PauseGame();
} else {
_root.UnPauseGame();
}
}
on (keyPress "<?#19>") {
if (!_root.Paused) {
_root.PauseGame();
} else {
_root.UnPauseGame();
}
}
on (keyPress "p") {
if (!_root.Paused) {
_root.PauseGame();
} else {
_root.UnPauseGame();
}
}
onClipEvent (enterFrame) {
if (!_root.Paused) {
if (!Dead) {
if (Level == 0) {
Back = 0;
if ((_x + Scroll) > 460) {
CanScroll = false;
Level = 1;
}
}
if (Level == 1) {
n = 1;
while (n < 3) {
if ((_root["Baddie" + n]._x == undefined) && (_root.BaddiesSpawned < 10)) {
_root.SpawnBaddie(n, 1, random(6));
}
n++;
}
if (_root.Kills >= 10) {
Level = 2.5;
Scroll = (300 - _root._x) - _root.CharBase._x;
CanScroll = true;
}
}
if (Level == 1.5) {
Back = _root._x;
if (_root.Kills < 15) {
if (CanSpawn == 0) {
CanSpawn = 90;
Spawn0++;
if (_root["Baddie" + Spawn0]._x == undefined) {
_root.SpawnBaddie(Spawn0, 1, 1);
}
if (Spawn0 == 4) {
Spawn0 = 0;
}
} else {
CanSpawn--;
}
}
if ((_x + Scroll) > 650) {
CanScroll = false;
Level = 2;
}
}
if (Level == 2) {
n = 1;
while (n < 5) {
if ((_root["Baddie" + n]._x == undefined) && (_root.BaddiesSpawned < 30)) {
_root.SpawnBaddie(n, random(8), random(8));
}
n++;
}
if (_root.Kills >= 30) {
Level = 2.5;
Scroll = (300 - _root._x) - _root.CharBase._x;
CanScroll = true;
CanSpawn = 60;
}
}
if (Level == 2.5) {
Back = _root._x;
if (_root.Kills < 35) {
if (CanSpawn == 0) {
CanSpawn = 60;
Spawn0++;
if (_root["Baddie" + Spawn0]._x == undefined) {
_root.SpawnBaddie(Spawn0, 1, random(4));
}
if (Spawn0 == 4) {
Spawn0 = 0;
}
} else {
CanSpawn--;
}
}
if ((_x + Scroll) > 1000) {
CanScroll = false;
Level = 3;
}
}
if (Level == 3) {
n = 1;
while (n < 5) {
if ((_root["Baddie" + n]._x == undefined) && (_root.BaddiesSpawned < 40)) {
_root.SpawnBaddie(n, random(8), random(4));
}
n++;
}
if (_root.Kills >= 40) {
Level = 3.5;
Scroll = (300 - _root._x) - _root.CharBase._x;
CanScroll = true;
}
}
if (Level == 3.5) {
Back = _root._x;
if (_root.Kills < 45) {
if (CanSpawn == 0) {
CanSpawn = 60;
Spawn0++;
if (_root["Baddie" + Spawn0]._x == undefined) {
_root.SpawnBaddie(Spawn0, 1, random(4));
}
if (Spawn0 == 4) {
Spawn0 = 0;
}
} else {
CanSpawn--;
}
}
if ((_x + Scroll) > 1100) {
Level = 4.5;
}
}
if (Level == 4.5) {
Back = _root._x;
if (_root.Kills < 50) {
if (CanSpawn == 0) {
CanSpawn = 30;
Spawn0++;
if (_root["Baddie" + Spawn0]._x == undefined) {
_root.SpawnBaddie(Spawn0, 1, random(4));
}
if (Spawn0 == 4) {
Spawn0 = 0;
}
} else {
CanSpawn--;
}
}
if ((_x + Scroll) > 1300) {
Level = 5.5;
}
}
if (Level == 5.5) {
Back = _root._x;
if (_root.Kills < 55) {
if (CanSpawn == 0) {
CanSpawn = 30;
Spawn0++;
if (_root["Baddie" + Spawn0]._x == undefined) {
_root.SpawnBaddie(Spawn0, 1, random(4));
}
if (Spawn0 == 4) {
Spawn0 = 0;
}
} else {
CanSpawn--;
}
}
if ((_x + Scroll) > 1400) {
CanScroll = false;
Level = 6;
}
}
if (Level == 6) {
if (_root.Kills > 65) {
n = 1;
while (n < 5) {
if ((_root["Baddie" + n]._x == undefined) && (_root.BaddiesSpawned < 80)) {
_root.SpawnBaddie(n, random(4), random(3));
}
n++;
}
} else {
n = 1;
while (n < 5) {
if (_root["Baddie" + n]._x == undefined) {
_root.SpawnBaddie(n, random(2), random(2));
}
n++;
}
}
if (_root.Kills >= 80) {
Level = 6.5;
Scroll = (300 - _root._x) - _root.CharBase._x;
CanScroll = true;
}
}
if (Level == 6.5) {
Back = _root._x;
if ((_x + Scroll) > 1800) {
CanScroll = false;
Level = 7;
_root.SpawnBaddie(1, -1, 1);
HelpBoss = 200;
n = 2;
_root.ItsABoss();
}
}
if (Level == 7) {
HelpBoss--;
if (HelpBoss < 0) {
if (_root["Baddie" + n]._x == undefined) {
_root.SpawnBaddie(n, random(6), random(4));
HelpBoss = 100;
} else {
n++;
if (n > 4) {
n = 2;
}
}
}
if (_root.Baddie1.Health <= 0) {
_root.SaveHighScore();
_root.StageCleat();
_root.FadeOut = true;
Level = 7.5;
}
}
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 < 3) {
_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 - (goRL / 2);
}
if (((!Key.isDown(38)) && (!Key.isDown(40))) || (Key.isDown(38) && (Key.isDown(40)))) {
if (Math.abs(moveUD) < 0.5) {
moveUD = 0;
}
moveUD = moveUD - (goUD / 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;
}
if (moveRL == 0) {
goRL = 0;
} else {
goRL = Math.abs(moveRL) / moveRL;
}
if (moveUD == 0) {
goUD = 0;
} else {
goUD = Math.abs(moveUD) / moveUD;
}
asf = 0;
if (_root.tehground.hitTest(_x + moveRL, _y, true)) {
lean2 = 0;
while (_root.tehground.hitTest(_x + moveRL, _y + lean2, true) && (lean2 < Math.abs(moveRL * 2))) {
lean2++;
moveRL = moveRL * 0.9;
}
if (lean2 < Math.abs(moveRL * 2)) {
_y = (_y + lean2);
} else {
lean = 0;
while (_root.tehground.hitTest(_x + moveRL, _y - lean, true) && (lean < Math.abs(moveRL * 2))) {
lean++;
moveRL = moveRL * 0.9;
}
if (lean < Math.abs(moveRL * 2)) {
_y = (_y - lean);
} else {
stupid = 0;
while ((!_root.tehground.hitTest(_x + goRL, _y + goUD, true)) && (stupid < Math.abs((moveRL * moveUD) / 2))) {
_x = (_x + goRL);
stupid++;
}
moveRL = 0;
}
}
}
if (_root.tehground.hitTest(_x, _y + moveUD, true)) {
stupid = 0;
while ((!_root.tehground.hitTest(_x + goRL, _y + goUD, true)) && (stupid < Math.abs((moveUD * moveRL) / 2))) {
_y = (_y + goUD);
stupid++;
}
moveUD = 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 (CanScroll) {
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);
}
_x = (_x + Math.round(moveRL));
_y = (_y + Math.round(moveUD));
_root.Char._x = _x;
_root.Char._y = _y - Jump;
_root.CharLegs._y = _root.Char._y - 64;
_root.CharLegs._x = _x;
if ((((300 - _x) - Scroll) < Back) && (CanScroll)) {
_root._x = (300 - _x) - Scroll;
_root.Still._x = (300 + _x) + Scroll;
_root.Still2._x = (300 + _x) + Scroll;
if (Scroll > _root.Char._xscale) {
Scroll = Scroll - 5;
}
if (Scroll < _root.Char._xscale) {
Scroll = Scroll + 5;
}
}
_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--;
}
}
} else {
_alpha = 0;
}
}
}
Instance of Symbol 527 MovieClip "Bully" in Frame 9
onClipEvent (enterFrame) {
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 == 4) && (Jump == 0)) {
gotoAndStop (1);
}
if (_currentframe < 3) {
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 (1);
} else {
gotoAndStop (2);
}
} else {
gotoAndStop (4);
}
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.CharBase.Level) * 5);
gotoAndStop (3);
} 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(2) == 0) {
Jumping = 10;
}
}
if (ShouldDuck) {
SHouldDuck = false;
if (random(2) == 0) {
Tall = 35;
gotoAndStop (6);
}
}
this.swapDepths(((Math.round((zaxis - 150) / 10) * 1000) + BadNum) + 581);
if (moveRL == 0) {
goRL = 0;
} else {
goRL = Math.abs(moveRL) / moveRL;
}
if (moveUD == 0) {
goUD = 0;
} else {
goUD = Math.abs(moveUD) / moveUD;
}
asf = 0;
if (_root.tehground.hitTest(_x + moveRL, zaxis, true)) {
lean2 = 0;
while (_root.tehground.hitTest(_x + moveRL, zaxis + lean2, true) && (lean2 < Math.abs(moveRL * 2))) {
lean2++;
}
if (lean2 < Math.abs(moveRL * 2)) {
zaxis = zaxis + lean2;
} else {
lean = 0;
while (_root.tehground.hitTest(_x + moveRL, zaxis - lean, true) && (lean < Math.abs(moveRL * 2))) {
lean++;
}
if (lean < Math.abs(moveRL * 2)) {
zaxis = zaxis - lean;
} else {
stupid = 0;
while ((!_root.tehground.hitTest(_x + goRL, zaxis + goUD, true)) && (stupid < Math.abs((moveRL * moveUD) / 2))) {
_x = (_x + goRL);
stupid++;
}
moveRL = 0;
}
}
}
if (_root.tehground.hitTest(_x, zaxis + moveUD, true)) {
CanMoveRL = 0;
stupid = 0;
while ((!_root.tehground.hitTest(_x + goRL, zaxis + goUD, true)) && (stupid < Math.abs((moveUD * moveRL) / 2))) {
zaxis = zaxis + goUD;
stupid++;
}
ShouldUp = 0;
while (_root.tehground.hitTest(_x, (zaxis + moveUD) + ShouldUp, true)) {
ShouldUp++;
}
ShouldDown = 0;
while (_root.tehground.hitTest(_x, (zaxis + moveU) - ShouldDown, true)) {
ShouldDown++;
}
if (ShouldUp > ShouldDown) {
moveUD = -2.5;
} else {
moveUD = 2.5;
}
CanMoveUD = 30;
}
} else {
moveRL = 0;
moveUD = 0;
}
Jump = Jump + Jumping;
if (Jump > 0) {
Jumping--;
} else {
Jumping = 0;
Jump = 0;
}
zaxis = zaxis + moveUD;
_x = (_x + moveRL);
_y = (zaxis - Jump);
_root["BadShadow" + BadNum]._x = _x;
_root["BadShadow" + BadNum]._y = zaxis;
}
}
Instance of Symbol 606 MovieClip "Hoodie" in Frame 9
onClipEvent (enterFrame) {
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 == 4) && (Jump == 0)) {
gotoAndStop (1);
}
if (_currentframe < 3) {
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 (1);
} else {
gotoAndStop (2);
}
} else {
gotoAndStop (4);
}
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 > -3)) {
moveUD = moveUD - 0.5;
}
if ((zaxis < _root.CharBase._y) && (moveUD < 3)) {
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.CharBase.Level) * 5);
gotoAndStop (3);
} else {
CanThrow--;
}
}
if (Math.abs(_x - _root.CharBase._x) > HowClose) {
moveBack = 0;
if (CanMoveRL > 0) {
if ((_x > _root.CharBase._x) && (moveRL > -4)) {
moveRL = moveRL - 0.5;
}
if ((_x < _root.CharBase._x) && (moveRL < 4)) {
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(2) == 0) {
Jumping = 10;
moveUD = 5;
}
}
if (ShouldDuck) {
SHouldDuck = false;
if (random(2) == 0) {
Tall = 35;
moveUD = 5;
gotoAndStop (6);
}
}
this.swapDepths(((Math.round((zaxis - 150) / 10) * 1000) + BadNum) + 581);
if (moveRL == 0) {
goRL = 0;
} else {
goRL = Math.abs(moveRL) / moveRL;
}
if (moveUD == 0) {
goUD = 0;
} else {
goUD = Math.abs(moveUD) / moveUD;
}
asf = 0;
if (_root.tehground.hitTest(_x + moveRL, zaxis, true)) {
lean2 = 0;
while (_root.tehground.hitTest(_x + moveRL, zaxis + lean2, true) && (lean2 < Math.abs(moveRL * 2))) {
lean2++;
}
if (lean2 < Math.abs(moveRL * 2)) {
zaxis = zaxis + lean2;
} else {
lean = 0;
while (_root.tehground.hitTest(_x + moveRL, zaxis - lean, true) && (lean < Math.abs(moveRL * 2))) {
lean++;
}
if (lean < Math.abs(moveRL * 2)) {
zaxis = zaxis - lean;
} else {
stupid = 0;
while ((!_root.tehground.hitTest(_x + goRL, zaxis + goUD, true)) && (stupid < Math.abs((moveRL * moveUD) / 2))) {
_x = (_x + goRL);
stupid++;
}
moveRL = 0;
}
}
}
if (_root.tehground.hitTest(_x, zaxis + moveUD, true)) {
CanMoveRL = 0;
stupid = 0;
while ((!_root.tehground.hitTest(_x + goRL, zaxis + goUD, true)) && (stupid < Math.abs((moveUD * moveRL) / 2))) {
zaxis = zaxis + goUD;
stupid++;
}
ShouldUp = 0;
while (_root.tehground.hitTest(_x, (zaxis + moveUD) + ShouldUp, true)) {
ShouldUp++;
}
ShouldDown = 0;
while (_root.tehground.hitTest(_x, (zaxis + moveU) - ShouldDown, true)) {
ShouldDown++;
}
if (ShouldUp > ShouldDown) {
moveUD = -2.5;
} else {
moveUD = 2.5;
}
CanMoveUD = 30;
}
} else {
moveRL = 0;
moveUD = 0;
}
Jump = Jump + Jumping;
if (Jump > 0) {
Jumping--;
} else {
Jumping = 0;
Jump = 0;
}
zaxis = zaxis + moveUD;
_x = (_x + moveRL);
_y = (zaxis - Jump);
_root["BadShadow" + BadNum]._x = _x;
_root["BadShadow" + BadNum]._y = zaxis;
}
}
Instance of Symbol 825 MovieClip "Baddie" in Frame 9
onClipEvent (enterFrame) {
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 == 4) && (Jump == 0)) {
gotoAndStop (1);
}
if (_currentframe < 3) {
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 (1);
} else {
gotoAndStop (2);
}
} else {
gotoAndStop (4);
}
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.CharBase.Level) * 5);
gotoAndStop (3);
} 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(2) == 0) {
Jumping = 10;
}
}
this.swapDepths(((Math.round((zaxis - 150) / 10) * 1000) + BadNum) + 581);
if (moveRL == 0) {
goRL = 0;
} else {
goRL = Math.abs(moveRL) / moveRL;
}
if (moveUD == 0) {
goUD = 0;
} else {
goUD = Math.abs(moveUD) / moveUD;
}
asf = 0;
if (_root.tehground.hitTest(_x + moveRL, zaxis, true)) {
lean2 = 0;
while (_root.tehground.hitTest(_x + moveRL, zaxis + lean2, true) && (lean2 < Math.abs(moveRL * 2))) {
lean2++;
}
if (lean2 < Math.abs(moveRL * 2)) {
zaxis = zaxis + lean2;
} else {
lean = 0;
while (_root.tehground.hitTest(_x + moveRL, zaxis - lean, true) && (lean < Math.abs(moveRL * 2))) {
lean++;
}
if (lean < Math.abs(moveRL * 2)) {
zaxis = zaxis - lean;
} else {
stupid = 0;
while ((!_root.tehground.hitTest(_x + goRL, zaxis + goUD, true)) && (stupid < Math.abs((moveRL * moveUD) / 2))) {
_x = (_x + goRL);
stupid++;
}
moveRL = 0;
}
}
}
if (_root.tehground.hitTest(_x, zaxis + moveUD, true)) {
CanMoveRL = 0;
stupid = 0;
while ((!_root.tehground.hitTest(_x + goRL, zaxis + goUD, true)) && (stupid < Math.abs((moveUD * moveRL) / 2))) {
zaxis = zaxis + goUD;
stupid++;
}
ShouldUp = 0;
while (_root.tehground.hitTest(_x, (zaxis + moveUD) + ShouldUp, true)) {
ShouldUp++;
}
ShouldDown = 0;
while (_root.tehground.hitTest(_x, (zaxis + moveU) - ShouldDown, true)) {
ShouldDown++;
}
if (ShouldUp > ShouldDown) {
moveUD = -2.5;
} else {
moveUD = 2.5;
}
CanMoveUD = 30;
}
} else {
moveRL = 0;
moveUD = 0;
}
Jump = Jump + Jumping;
if (Jump > 0) {
Jumping--;
} else {
Jumping = 0;
Jump = 0;
}
zaxis = zaxis + moveUD;
_x = (_x + moveRL);
_y = (zaxis - Jump);
_root["BadShadow" + BadNum]._x = _x;
_root["BadShadow" + BadNum]._y = zaxis;
}
}
Instance of Symbol 862 MovieClip "SnowBallBase" in Frame 9
onClipEvent (enterFrame) {
if (!_root.Paused) {
if (!Dead) {
_x = (_x + (_xscale / 8));
_y = (_y + lean);
if (Jump > (-up)) {
Jumping = Jumping - 0.5;
Jump = Jump + Jumping;
}
if (kind == 1) {
n = 1;
while (n < 5) {
if ((((hitTest(_root["Baddie" + n]._x, _root["Baddie" + n].zaxis, true) && (_root["Baddie" + n]._currentframe < 7)) && ((Jump + up) < (_root["Baddie" + n].Tall + _root["Baddie" + n].Jump))) && (_root["Baddie" + n].Jump < (Jump + up))) && (!Dead)) {
if (!_root.Startled) {
_root.Startled = true;
_root.Voices.Birds.gotoAndStop(8);
}
_root["Baddie" + n].Health--;
if (_root["Baddie" + n].Health == 0) {
if ((_root["Baddie" + n]._xscale * _xscale) < 0) {
_root["Baddie" + n].gotoAndStop("Die");
} else {
_root["Baddie" + n].gotoAndStop("Die2");
}
_root["Baddie" + n].Status = "Dead";
_root.Combo++;
_root.Kills++;
} else {
_root["Baddie" + n].gotoAndStop(5);
}
if ((_root["Baddie" + n].Type == "Baddie") && (_root.PlayVoices)) {
if (_root["Baddie" + n].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();
}
if ((hitTest(_root["Baddie" + n]._x - _xscale, _root["Baddie" + n].zaxis, true) && (_root["Baddie" + n].Jump == 0)) && (Jumping < 0)) {
_root["Baddie" + n].ShouldJump = true;
}
if ((hitTest(_root["Baddie" + n]._x - _xscale, _root["Baddie" + n].zaxis, true) && (_root["Baddie" + n].Jump == 0)) && (Jumping > 0)) {
_root["Baddie" + n].ShouldDuck = true;
}
n++;
}
}
if (kind == 2) {
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;
}
}
}
Frame 41
gotoAndStop (11);
Symbol 6 MovieClip [BossOMG] Frame 60
removeMovieClip(this);
Symbol 8 MovieClip [MoveOnArrow] Frame 61
removeMovieClip(this);
Symbol 15 Button
on (press) {
_root.RestartGame();
}
Symbol 20 Button
on (release) {
_root.GoToMo();
}
Symbol 21 Button
on (press) {
_root.RestartGame();
_root.j00Rdead.removeMovieClip();
}
Symbol 22 MovieClip [YouAreDead] Frame 91
stop();
Symbol 26 Button
on (press) {
_root.RestartGame();
_root.Cleat.removeMovieClip();
}
Symbol 27 MovieClip [StageCleat] Frame 61
stop();
Symbol 56 MovieClip [FacePrint] Frame 37
unloadMovie (this);
Symbol 64 MovieClip [BallPrint] Frame 50
removeMovieClip(this);
Symbol 70 MovieClip [footprint] Frame 1
if (FootOnScreen < 2) {
_global.FootOnScreen++;
gotoAndPlay((random(3) + 1) * 2);
} else {
gotoAndPlay (8);
}
Symbol 70 MovieClip [footprint] Frame 3
gotoAndPlay (7);
Symbol 70 MovieClip [footprint] Frame 5
gotoAndPlay (7);
Symbol 70 MovieClip [footprint] Frame 7
_global.FootOnScreen--;
Symbol 70 MovieClip [footprint] Frame 62
unloadMovie (this);
Symbol 72 MovieClip [FadeIn] Frame 21
removeMovieClip(this);
Symbol 96 MovieClip Frame 24
_parent.removeMovieClip(this);
Symbol 98 MovieClip [MenuThrow] Frame 7
_root.SpawnPoofy(_x, _y);
_root.MenuX = _x;
_root.MenuY = _y;
Symbol 103 Button
on (press) {
_root._quality = "LOW";
}
Symbol 108 Button
on (press) {
_root._quality = "HIGH";
}
Symbol 113 Button
on (press) {
_root._quality = "MEDIUM";
}
Symbol 118 Button
on (press) {
_root.PlayVoices = true;
}
Symbol 123 Button
on (press) {
_root.PlayVoices = false;
}
Symbol 127 MovieClip [PausedMenu] Frame 22
if (_root.Paused) {
gotoAndPlay (21);
}
Symbol 127 MovieClip [PausedMenu] Frame 42
removeMovieClip(this);
Symbol 140 Button
on (press) {
_parent.nextFrame();
}
Symbol 141 MovieClip Frame 1
stop();
Instance of Symbol 135 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root._framesloaded > 6) {
_parent.gotoAndStop(2);
}
}
Symbol 269 MovieClip Frame 2
if (Math.random() < 0.96) {
gotoAndPlay (1);
}
Symbol 324 MovieClip Frame 2
if (Math.random() < 0.98) {
gotoAndPlay (1);
}
Symbol 325 MovieClip Frame 13
stop();
Symbol 340 MovieClip Frame 108
_root.nextFrame();
Symbol 341 MovieClip Frame 393
stop();
Symbol 352 Button
on (press) {
nextFrame();
}
Symbol 362 Button
on (press) {
_root.Blackout.play();
}
Symbol 363 MovieClip Frame 1
stop();
Instance of Symbol 353 MovieClip in Symbol 363 MovieClip Frame 1
onClipEvent (enterFrame) {
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
_xscale = PercentLoaded;
_parent.DimBox._alpha = 100 - PercentLoaded;
_parent.DimPlay._xscale = PercentLoaded;
_parent.DimPlay._yscale = PercentLoaded;
} else {
_parent.gotoAndStop(2);
}
}
Symbol 364 MovieClip Frame 1
stop();
Symbol 364 MovieClip Frame 21
_root.gotoAndStop(9);
Symbol 372 Button
on (press) {
prevFrame();
}
Instance of Symbol 395 MovieClip in Symbol 399 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Health <= 2) {
play();
} else {
gotoAndStop (1);
}
}
Instance of Symbol 397 MovieClip in Symbol 399 MovieClip Frame 1
onClipEvent (enterFrame) {
_xscale = ((_root.Health / 5) * 100);
}
Symbol 460 MovieClip Frame 19
if ((Math.abs(_parent._x - _root.CharBase._x) < 200) && (_root.CharBase.Tall < 50)) {
_root.ThrowBall(_parent._x, _parent.zaxis, _parent._xscale, (_parent.getDepth() - 80) - _parent.BadNum, 40, _parent.moveUD, 0, 2, _parent.Jump / 2);
} else {
_root.ThrowBall(_parent._x, _parent.zaxis, _parent._xscale, (_parent.getDepth() - 80) - _parent.BadNum, 40, _parent.moveUD, 5, 2, _parent.Jump / 2);
}
Symbol 460 MovieClip Frame 31
_parent.gotoAndStop(1);
Symbol 465 MovieClip Frame 20
stop();
Symbol 465 MovieClip Frame 21
_parent.gotoAndStop(1);
Symbol 471 MovieClip Frame 11
_parent.gotoAndStop(1);
Symbol 477 MovieClip Frame 33
_parent.ShouldJump = false;
_parent.ShouldDuck = false;
_parent.Tall = 65;
_parent.gotoAndStop(1);
Symbol 501 MovieClip Frame 45
_parent.removeMovieClip(this);
Symbol 526 MovieClip Frame 41
_parent.removeMovieClip(this);
Symbol 527 MovieClip Frame 1
stop();
Instance of Symbol 439 MovieClip "ThisBody" in Symbol 527 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Instance of Symbol 447 MovieClip "ThisBody" in Symbol 527 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Instance of Symbol 460 MovieClip "ThisBody" in Symbol 527 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Instance of Symbol 465 MovieClip "ThisBody" in Symbol 527 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Instance of Symbol 471 MovieClip "ThisBody" in Symbol 527 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Instance of Symbol 477 MovieClip "ThisBody" in Symbol 527 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Symbol 527 MovieClip Frame 7
_root["BadShadow" + BadNum].removeMovieClip();
Status = "Dead";
Instance of Symbol 501 MovieClip "ThisBody" in Symbol 527 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Symbol 527 MovieClip Frame 8
_root["BadShadow" + BadNum].removeMovieClip();
Status = "Dead";
Instance of Symbol 526 MovieClip "ThisBody" in Symbol 527 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Symbol 553 MovieClip Frame 8
if ((Math.abs(_parent._x - _root.CharBase._x) < 200) && (_root.CharBase.Tall < 50)) {
_root.ThrowBall(_parent._x, _parent.zaxis, _parent._xscale, (_parent.getDepth() - 80) - _parent.BadNum, 40, _parent.moveUD, 0, 2, _parent.Jump / 2);
} else {
_root.ThrowBall(_parent._x, _parent.zaxis, _parent._xscale * 1.3, (_parent.getDepth() - 80) - _parent.BadNum, 40, _parent.moveUD, 5, 2, _parent.Jump / 2);
}
Symbol 553 MovieClip Frame 13
_parent.gotoAndStop(1);
Symbol 560 MovieClip Frame 19
stop();
Symbol 566 MovieClip Frame 6
_parent.gotoAndStop(1);
Symbol 572 MovieClip Frame 24
_parent.ShouldJump = false;
_parent.ShouldDuck = false;
_parent.Tall = 65;
_parent.gotoAndStop(1);
Symbol 589 MovieClip Frame 45
_root.Paused = true;
_parent.removeMovieClip(this);
Symbol 605 MovieClip Frame 41
_root.Paused = true;
_parent.removeMovieClip(this);
Symbol 606 MovieClip Frame 1
stop();
Instance of Symbol 534 MovieClip "ThisBody" in Symbol 606 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Instance of Symbol 542 MovieClip "ThisBody" in Symbol 606 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Instance of Symbol 553 MovieClip "ThisBody" in Symbol 606 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Instance of Symbol 560 MovieClip "ThisBody" in Symbol 606 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Instance of Symbol 566 MovieClip "ThisBody" in Symbol 606 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Instance of Symbol 572 MovieClip "ThisBody" in Symbol 606 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Symbol 606 MovieClip Frame 7
_root["BadShadow" + BadNum].removeMovieClip();
Status = "Dead";
Instance of Symbol 589 MovieClip "ThisBody" in Symbol 606 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Symbol 606 MovieClip Frame 8
_root["BadShadow" + BadNum].removeMovieClip();
Status = "Dead";
Instance of Symbol 605 MovieClip "ThisBody" in Symbol 606 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Symbol 614 MovieClip Frame 7
_root.LayPrint(_root.Charbase._x, _root.CharBase._y - 4);
Symbol 614 MovieClip Frame 16
_root.LayPrint(_root.Charbase._x, _root.CharBase._y + 4);
Symbol 621 MovieClip Frame 2
_root.LayPrint(_root.Charbase._x, _root.CharBase._y + 4);
Symbol 621 MovieClip Frame 11
_root.LayPrint(_root.Charbase._x, _root.CharBase._y - 4);
Symbol 629 MovieClip Frame 6
_root.LayPrint(_root.Charbase._x, _root.CharBase._y + 4);
Symbol 635 MovieClip Frame 20
stop();
Symbol 649 MovieClip Frame 3
stop();
Symbol 649 MovieClip Frame 5
_root.ThrowBall(_root.CharBase._x, _root.CharBase._y, _root.Char._xscale, _root.Char.getDepth(), 30, 0, 2, 1, 0);
_root.LayPrint(_root.Charbase._x, _root.CharBase._y + 4);
Symbol 649 MovieClip Frame 16
gotoAndStop (3);
Symbol 649 MovieClip Frame 17
play();
Symbol 649 MovieClip Frame 20
_root.Char.gotoAndStop(1);
_root.CharLegs.gotoAndStop(1);
Symbol 673 MovieClip Frame 45
_root.YouDied();
stop();
Symbol 695 MovieClip Frame 41
_root.YouDied();
stop();
Instance of Symbol 614 MovieClip in Symbol 696 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Instance of Symbol 621 MovieClip in Symbol 696 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Instance of Symbol 629 MovieClip "LegsThrow" in Symbol 696 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Instance of Symbol 635 MovieClip in Symbol 696 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Symbol 729 MovieClip Frame 5
_root.ThrowBall(_root.CharBase._x, _root.CharBase._y, _root.Char._xscale, _root.Char.getDepth(), 40, _root.CharBase.moveUD, 5, 1, _root.CharBase.Jump);
Symbol 729 MovieClip Frame 18
_parent.gotoAndStop(1);
Instance of Symbol 719 MovieClip "." in Symbol 730 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Instance of Symbol 721 MovieClip "Walk." in Symbol 730 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Instance of Symbol 729 MovieClip "Throw" in Symbol 730 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Symbol 740 MovieClip Frame 75
gotoAndPlay (1);
Symbol 748 MovieClip Frame 2
_root.LayPrint(_parent._x, _parent._y - 4);
Symbol 748 MovieClip Frame 11
_root.LayPrint(_parent._x, _parent._y + 4);
Symbol 760 MovieClip Frame 15
if ((Math.abs(_parent._x - _root.CharBase._x) < 200) && (_root.CharBase.Tall < 50)) {
_root.ThrowBall(_parent._x, _parent.zaxis, _parent._xscale, (_parent.getDepth() - 80) - _parent.BadNum, 40, _parent.moveUD, 0, 2, _parent.Jump / 2);
} else {
_root.ThrowBall(_parent._x, _parent.zaxis, _parent._xscale, (_parent.getDepth() - 80) - _parent.BadNum, 40, _parent.moveUD, 5, 2, _parent.Jump / 2);
}
Symbol 760 MovieClip Frame 28
_parent.gotoAndStop(1);
Symbol 765 MovieClip Frame 21
_parent.gotoAndStop(1);
Symbol 789 MovieClip Frame 12
if (_parent.Jump > 0) {
gotoAndPlay (12);
}
Symbol 789 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 789 MovieClip Frame 57
_parent.removeMovieClip(this);
Symbol 824 MovieClip Frame 25
if (_root.PlayVoices) {
_root.Voices.VA2.Die.gotoAndStop(random(3) + 2);
}
Symbol 824 MovieClip Frame 61
_parent.removeMovieClip(this);
Symbol 825 MovieClip Frame 1
ThisBody.InterHead.attachMovie(["Head" + Head], ["Head"], 1);
stop();
Instance of Symbol 740 MovieClip "ThisBody" in Symbol 825 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Symbol 825 MovieClip Frame 2
ThisBody.InterHead.attachMovie(["Head" + Head], ["Head"], 1);
Instance of Symbol 748 MovieClip "ThisBody" in Symbol 825 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Symbol 825 MovieClip Frame 3
ThisBody.InterHead.attachMovie(["Head" + Head], ["Head"], 1);
Instance of Symbol 760 MovieClip "ThisBody" in Symbol 825 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Symbol 825 MovieClip Frame 4
ThisBody.InterHead.attachMovie(["Head" + Head], ["Head"], 1);
Instance of Symbol 765 MovieClip "ThisBody" in Symbol 825 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Symbol 825 MovieClip Frame 7
ThisBody.InterHead.attachMovie(["Head" + Head], ["Head"], 2);
_root["BadShadow" + BadNum].removeMovieClip();
Status = "Dead";
Instance of Symbol 789 MovieClip "ThisBody" in Symbol 825 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Symbol 825 MovieClip Frame 8
ThisBody.InterHead.attachMovie(["Head" + Head], ["Head"], 1);
_root["BadShadow" + BadNum].removeMovieClip();
Status = "Dead";
Instance of Symbol 824 MovieClip "ThisBody" in Symbol 825 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Symbol 832 MovieClip Frame 1
stop();
Symbol 836 MovieClip Frame 1
stop();
Symbol 843 MovieClip Frame 1
stop();
Symbol 848 MovieClip Frame 1
stop();
Symbol 858 MovieClip Frame 1
stop();
Symbol 862 MovieClip Frame 1
stop();
Symbol 862 MovieClip Frame 2
_root["SnowBall" + num].removeMovieClip();
removeMovieClip(this);