Frame 1 (61 B)
Stage.showMenu = false;
_root.kongregateServices.connect();
Frame 2 (192 B)
syncHold = 0;
onEnterFrame = function () {
i = 0;
do {
if (syncHold <= getTimer()) {
break;
}
i++;
} while (i <= 20000);
syncHold = getTimer() + 33;
};
stop();
Frame 4 (45.73 KiB) ● ● ● ●
Mouse.hide();
SquigglesGet = 0;
SpidersPwned = 0;
Fancy_local_data = SharedObject.getLocal("FancyPantsMan");
if (Fancy_local_data.data.TrophyGet == undefined) {
Fancy_local_data.data.TrophyGet = [false, false, false, false, false];
TrophyGet = Fancy_local_data.data.TrophyGet;
} else {
TrophyGet = Fancy_local_data.data.TrophyGet;
}
if (TrophyGet[0]) {
_root.kongregateStats.submit("TrophyStande", 1);
}
if (TrophyGet[1]) {
_root.kongregateStats.submit("TrophyKid", 1);
}
if (TrophyGet[2]) {
_root.kongregateStats.submit("TrophyRocky", 1);
}
if (TrophyGet[3]) {
_root.kongregateStats.submit("TrophyErik", 1);
}
if (TrophyGet[4]) {
_root.kongregateStats.submit("TrophyKiT", 1);
}
if (Fancy_local_data.data.CanWallJump == undefined) {
Fancy_local_data.data.CanWallJump = false;
CanWallJump = Fancy_local_data.data.CanWallJump;
} else {
CanWallJump = Fancy_local_data.data.CanWallJump;
}
if (Fancy_local_data.data.LevelSelect == undefined) {
Fancy_local_data.data.LevelSelect = 0;
LevelSelect = Fancy_local_data.data.LevelSelect;
} else {
LevelSelect = Fancy_local_data.data.LevelSelect;
}
var ssN = 0;
var Boxit = false;
var SmoothScroll = 0;
ColorEm = 0;
SnapBack = [0, 0];
Paused = false;
tnomenumusic = true;
BackgroundVolume = 100;
KillWallJump = false;
Squiggles = 0;
Lives = 3;
Health = 100;
MenusBoundsArray = [[140, 140, 300, 300], [140, 140, 300, 300], [140, 140, 300, 300], [140, 140, 300, 300], [140, 140, 400, 400], [140, 140, 300, 300], [140, 140, 300, 300]];
LevelBoundsArray = [[-6880, 140, 300, 10000], [-5600, 140, 400, 10000], [-7270, 140, 400, 400]];
BonusBoundsArray = [[140, 140, 300, 300], [-100, 140, 200, 800], [340, 340, -1800, 300], [-3000, 140, 400, 400], [360, 360, 300, 1600], [360, 360, 300, 300], [-240, 80, 400, 900], [360, 360, 400, 900], [0, 240, 400, 400]];
SkiFrBoundsArray = [[140, 140, 300, 300], [-100, 140, 200, 800], [350, 350, -1800, 300], [-3000, 140, 400, 400]];
Level1BadName = ["Spider", "Spider", "Spider", "Spider", "Spider", "Spider", "Spider", "Mouse"];
Level1BaddieX = [665.7, 895, 2750, 3275, 4880, 4780, 4680, 7303];
Level1BaddieY = [0, 0, 20, -590, -280, -280, -280, -1270];
Level2BadName = ["Spider", "Spider", "Mouse", "Spider", "Spider"];
Level2BaddieX = [674, 1300, 3530, 3347, 4174];
Level2BaddieY = [-350, -377, -1055, -2180, -4030];
Level3BadName = ["Spider", "Spider", "Spider", "Spider", "Spider", "Spider", "Spider", "Bird", "Bird", "Bird"];
Level3BaddieX = [936, 1630, 2103, 3063, 2887, 3495, 3661, 4600, 4800, 5000];
Level3BaddieY = [-153, -281, 32, -160, -340, 24, 28, -400, -400, -400];
Level3BaddieFreeze = false;
Bonus7BadName = ["Spider", "Spider", "Spider", "Spider", "Spider", "Spider", "Spider", "Spider"];
Bonus7BaddieX = [168, 305, 445, 600, 744, 645, 450, 210];
Bonus7BaddieY = [-70, -98, -156, -242, -383, -560, -582, -600];
Bonus7BaddieFreeze = true;
Bonus9BadName = ["Penguin"];
Bonus9BaddieX = [0];
Bonus9BaddieY = [0];
Bonus9BaddieFreeze = false;
Level1Setup = function () {
if (Char._x > 5000) {
Char.JumpFunc(10, true);
Char.moveRL = 5;
}
if (CanWallJump) {
InteractLayer.gotoAndStop(2);
Foreground.gotoAndStop(2);
}
};
Level3Setup = function () {
if (Char._x == 0) {
Char._y = 300;
Char.moveRL = 1;
Char.JumpFunc(30, true);
}
};
Bonus2Setup = function () {
Char._y = -100;
};
Bonus3Setup = function () {
Char.Still = true;
Char.gotoAndStop("GetInBox");
};
Bonus9Setup = function () {
Char._y = -3000;
Char.gotoAndStop("GetInBox");
};
_quality = "medium";
PauseListener = function () {
if (!Key.isDown(32)) {
SpisDown = false;
}
if ((Key.isDown(32) && (!SpisDown)) && ((substring(LevelLoaded, 1, 5)) != "Menus")) {
PauseSound.start();
BackgroundMusic.stop();
SpisDown = true;
attachMovie("PauseMenu", "PauseMenu", 100002, {_x:-_x, _y:-_y});
Paused = true;
onEnterFrame = function () {
MouseHider();
if (Key.isDown(77)) {
ChangeLevel("Menus2");
} else {
if (!Key.isDown(32)) {
SpisDown = false;
}
if ((Key.isDown(32) && (!SpisDown)) && (PauseMenu._currentframe == 6)) {
SpisDown = true;
PauseMenu.play();
BackgroundMusic.start(0, 1000);
unPauseSound.start();
}
}
};
return(true);
}
return(false);
};
syncHold = 0;
unpausedEnterFrame = function () {
i = 0;
do {
if (syncHold <= getTimer()) {
break;
}
i++;
} while (i <= 20000);
syncHold = getTimer() + 33;
MouseHider();
if (!Key.isDown(81)) {
QisDown = false;
}
if (Key.isDown(81) && (!QisDown)) {
if (_quality == "HIGH") {
_quality = "MEDIUM";
} else if (_quality == "MEDIUM") {
_quality = "LOW";
} else if (_quality == "LOW") {
_quality = "HIGH";
}
QisDown = true;
}
Char.CheckInteractHit(Char._x, Char._y);
Char.CheckBaddieHit();
if (Char._alpha < 100) {
Char._alpha = Char._alpha + 0.5;
if (Char._alpha > 85) {
Char._alpha = 100;
}
}
if ((Char._y > ((-MinY) + 700)) && (Char._currentframe != 21)) {
Char.gotoAndStop("Die");
}
if (SmoothScroll > Char._xscale) {
SmoothScroll = SmoothScroll - 10;
}
if (SmoothScroll < Char._xscale) {
SmoothScroll = SmoothScroll + 10;
}
if (((Char._x + SmoothScroll) - 360) < (-MaxX)) {
SmoothScroll = ((-MaxX) - Char._x) + 360;
}
if (((Char._x + SmoothScroll) - 360) > (-MinX)) {
SmoothScroll = ((-MinX) - Char._x) + 360;
}
_x = (_x - ((_x - ((((360 - Char._x) - SmoothScroll) * _xscale) / 100)) / 5));
_y = (_y - ((_y - (300 - Char._y)) / 5));
if (_y < MinY) {
_y = MinY;
}
if (_y > MaxY) {
_y = MaxY;
}
OutPut._x = -_root._x;
OutPut._y = -_root._y;
};
onMouseMove = function () {
HideThatMouse = 40;
Mouse.show();
};
HideThatMouse = 40;
MouseHider = function () {
if (HideThatMouse > 0) {
HideThatMouse--;
}
if (HideThatMouse == 0) {
Mouse.hide();
HideThatMouse = -1;
}
};
LoadLevel = function (LoadIt) {
attachMovie("Char", "Char", 1000);
attachMovie("tehground" + LoadIt, "tehground", 8);
attachMovie("tehwallz" + LoadIt, "tehwallz", 10);
attachMovie("tehplatformz" + LoadIt, "tehplatformz", 15);
attachMovie("BLayer" + LoadIt, "BLayer", 800);
attachMovie("InteractLayer" + LoadIt, "InteractLayer", 500);
tehground._alpha = 0;
tehwallz._alpha = 0;
tehplatformz._alpha = 0;
attachMovie("Foreground" + LoadIt, "Foreground", 600);
createEmptyMovieClip("RotFix", 0);
createEmptyMovieClip("RotFind", 1);
MinX = _root[(substring(LoadIt, 1, 5)) + "BoundsArray"][(substring(LoadIt, 6, 1)) - 1][0];
MaxX = _root[(substring(LoadIt, 1, 5)) + "BoundsArray"][(substring(LoadIt, 6, 1)) - 1][1];
MinY = _root[(substring(LoadIt, 1, 5)) + "BoundsArray"][(substring(LoadIt, 6, 1)) - 1][2];
MaxY = _root[(substring(LoadIt, 1, 5)) + "BoundsArray"][(substring(LoadIt, 6, 1)) - 1][3];
if (LoadIt == "Menus2") {
Squiggles = 0;
Lives = 3;
Health = 100;
var _local3 = 1;
while (_local3 < 4) {
delete _root[("Level" + _local3) + "DontCheat"];
_local3++;
}
_local3 = 1;
while (_local3 < 10) {
delete _root[("Bonus" + _local3) + "DontCheat"];
_local3++;
}
if (tnomenumusic) {
BackgroundMusic = new Sound(createEmptyMovieClip("soundmc6", 10006));
BackgroundMusic.attachSound("menu");
BackgroundMusic.start(0, 1000);
BackgroundMusic.setVolume(0);
BackgroundVolume = 0;
tnomenumusic = false;
}
SnapBack = [0, 0];
}
if ((substring(LoadIt, 1, 5)) == "Bonus") {
BackgroundMusic.stop();
BackgroundMusic = new Sound(createEmptyMovieClip("soundmc6", 10006));
if (LoadIt == "Bonus9") {
BackgroundMusic.attachSound("snorecave");
BackgroundMusic.start();
} else {
BackgroundMusic.attachSound("cave");
BackgroundMusic.start(0, 1000);
}
BackgroundMusic.setVolume(0);
BackgroundVolume = 0;
attachMovie("OutPut", "OutPut", 100000);
}
if (LoadIt == "Bonus3") {
} else if (LoadIt == "Level3") {
attachMovie("Background2", "Background", 2);
} else {
attachMovie("Background1", "Background", 2);
}
if (_root[LoadIt + "DontCheat"] == undefined) {
_root[LoadIt + "DontCheat"] = new Array();
}
if ((substring(LoadIt, 1, 5)) == "Level") {
temp = substring(LoadIt, 6, 1);
temp++;
temp--;
if (LevelSelect < temp) {
LevelSelect = temp;
Fancy_local_data.data.LevelSelect = LevelSelect;
}
Char._x = SnapBack[0];
Char._y = SnapBack[1];
SmoothScroll = 100;
_x = ((360 - Char._x) - SmoothScroll);
_y = (300 - Char._y);
if (_x > MaxX) {
_x = MaxX;
}
if (_x < MinX) {
_x = MinX;
}
if (_y < MinY) {
_y = MinY;
}
if (_y > MaxY) {
_y = MaxY;
}
Level1Skigs = 5;
BackgroundMusic.stop();
BackgroundMusic = new Sound(createEmptyMovieClip("soundmc7", 10007));
BackgroundMusic.attachSound("happyloop");
BackgroundMusic.start(0, 1000);
BackgroundMusic.setVolume(0);
BackgroundVolume = 0;
tnomenumusic = true;
attachMovie("OutPut", "OutPut", 100000);
} else {
_root._x = MaxX;
_root._y = MinY;
}
OutPut.HealthBar._xscale = Health;
Char.moveRL = 0;
Char.moveUD = 0;
Char.Jump = 83;
Char.SisDown = false;
Char.yerdown = false;
Char.hurting = false;
if (KillWallJump) {
CanWallJump = false;
_root.Fancy_local_data.data.CanWallJump = false;
}
Paused = false;
onEnterFrame = unpausedEnterFrame;
if ((substring(LoadIt, 1, 5)) == "SkiFr") {
Char.RLFunc = SkiFrRLFunc;
attachMovie("Fat", "Fat", 806);
Fat._x = 100;
Fat._y = 20;
} else {
Char.TempStill = false;
Char.Still = false;
Char.jpN = 1010;
Char.rpN = 5;
Char.OnPlatNum = 0;
Char.mRL = mRL;
Char.mUD = mUD;
Char.RLx = RLx;
Char.RLy = RLy;
Char.UDx = UDx;
Char.UDy = UDy;
Char.RAnchx = RAnchx;
Char.RAnchy = RAnchy;
Char.LAnchx = LAnchx;
Char.LAnchy = LAnchy;
Char.RLFunc = RLFunc;
Char.JumpFunc = JumpFunc;
Char.JumpGuide = JumpGuide;
Char.WraptoGround = WraptoGround;
Char.JumpLand = JumpLand;
Char.HeadLand = HeadLand;
Char.JumpListener = JumpListener;
Char.CheckBaddieHit = CheckBaddieHit;
Char.CheckInteractHit = CheckInteractHit;
Char.Died = Died;
RotFind.RLx = RLx;
RotFind.RLy = RLy;
RotFind.UDx = UDx;
RotFind.UDy = UDy;
RotFind.RAnchx = RAnchx;
RotFind.RAnchy = RAnchy;
RotFind.LAnchx = LAnchx;
RotFind.LAnchy = LAnchy;
RotFind.WraptoGround = WraptoGround;
}
Char.EveryFrame = EveryFrame;
ColorEmPants();
var _local5 = 0;
while (_local5 < _root[LoadIt + "DontCheat"].length) {
_root.InteractLayer[substring(_root[LoadIt + "DontCheat"][_local5], 23, -1)].gotoAndStop("DontCheat");
_local5++;
}
tehwallz.movingWallz.gears.smokeRL = 0;
maxBaddies = _root[LoadIt + "BadName"].length;
var _local3 = 0;
while (_local3 < maxBaddies) {
BLayer.attachMovie(_root[LoadIt + "BadName"][_local3], ["Baddie" + _local3], 805 + _local3);
BLayer["Baddie" + _local3]._x = _root[LoadIt + "BaddieX"][_local3];
BLayer["Baddie" + _local3]._y = _root[LoadIt + "BaddieY"][_local3];
if (_root[LoadIt + "BadName"][_local3] != "Penguin") {
BLayer["Baddie" + _local3]._xscale = -100;
} else {
BLayer["Baddie" + _local3].Health = 3;
}
if (_root[LoadIt + "BaddieFreeze"]) {
BLayer["Baddie" + _local3].freeze = true;
} else {
BLayer["Baddie" + _local3].moveRL = BLayer["Baddie" + _local3]._xscale / 25;
BLayer["Baddie" + _local3].moveUD = 0;
BLayer["Baddie" + _local3].mRL = mRL;
BLayer["Baddie" + _local3].mUD = mUD;
BLayer["Baddie" + _local3].RLFunc = RLFunc;
BLayer["Baddie" + _local3].RLx = RLx;
BLayer["Baddie" + _local3].RLy = RLy;
BLayer["Baddie" + _local3].UDx = UDx;
BLayer["Baddie" + _local3].UDy = UDy;
BLayer["Baddie" + _local3].UDFunc = UDFunc;
BLayer["Baddie" + _local3].JumpFunc = JumpFunc;
BLayer["Baddie" + _local3].JumpGuide = JumpGuide;
BLayer["Baddie" + _local3].WraptoGround = WraptoGround;
BLayer["Baddie" + _local3].JumpLand = JumpLand;
BLayer["Baddie" + _local3].RAnchx = RAnchx;
BLayer["Baddie" + _local3].RAnchy = RAnchy;
BLayer["Baddie" + _local3].LAnchx = LAnchx;
BLayer["Baddie" + _local3].LAnchy = LAnchy;
}
_local3++;
}
attachMovie("FadeIn", "FadeIn", 100005, {worm:LoadIt, _x:-_x, _y:-_y});
FadeIn.onEnterFrame = function () {
this._x = -_root._x;
this._y = -_root._y;
if (_root.BackgroundVolume < 100) {
_root.BackgroundVolume = _root.BackgroundVolume + 5;
_root.BackgroundMusic.setVolume(_root.BackgroundVolume);
}
};
LevelLoaded = LoadIt;
Setup();
Setup = _root[LoadIt + "Setup"];
Setup();
delete Setup;
};
EveryFrame = function () {
this.RLFunc();
this.JumpListener();
};
JumpListener = function () {
if (!Key.isDown(this.Jump)) {
this.SisDown = false;
}
if (Key.isDown(this.Jump) && (!this.SisDown)) {
this.moveRL = this.moveRL * 0.8;
this.fliprot = this._rotation / 10;
this.SisDown = true;
this.FloatUp = 4;
CharJump.setPan(((_x + this._x) / 3.6) - 100);
CharJump.start();
this.JumpFunc(12);
}
};
JumpFunc = function (jumper, still) {
this.moveUD = this.moveRL * Math.sin(this._rotation * (Math.PI/180));
this.moveRL = this.moveRL * Math.cos(this._rotation * (Math.PI/180));
this.moveRL = this.moveRL + (jumper * Math.cos((this._rotation - 90) * (Math.PI/180)));
this.moveUD = this.moveUD + (jumper * Math.sin((this._rotation - 90) * (Math.PI/180)));
if (tehwallz.movingWallz.gears.smokeRL != undefined) {
this.moveRL = this.moveRL + (tehwallz.movingWallz.gears.smokeRL / 2);
tehwallz.movingWallz.gears.smokeRL = 0;
delete tehwallz.movingWallz.gears.onEnterFrame;
}
if (this.OnPlatNum > 0) {
this.moveRL = this.moveRL + (tehplatformz["movingPlat" + this.OnPlatNum].smokeRL / 2);
tehplatformz["movingPlat" + this.OnPlatNum].smokeRL = 0;
tehplatformz["movingPlat" + this.OnPlatNum].onEnterFrame = PlatMoveVacant;
}
if (jumper == 0) {
this.gotoAndStop("Jump");
this.CharJump.gotoAndStop(1);
if (Math.abs(this._rotation) > 45) {
if ((!Key.isDown(39)) && (!Key.isDown(37))) {
this.TempStill = true;
} else {
this.Still = true;
}
if (((Math.abs(this._rotation) < 80) && (Math.abs(this._rotation) > 70)) && (this.moveUD < 16)) {
this.moveRL = this._xscale / 20;
this.moveUD = -20;
this._rotation = (-75 * this._xscale) / 100;
}
} else {
this.Still = false;
this.CharJump.CharRegJump.gotoAndPlay("Fall");
}
} else {
this.gotoAndStop("Jump");
if (still != undefined) {
this.Still = true;
this.CharJump.gotoAndStop(1);
} else {
this.Still = false;
if (Math.abs(this._rotation) > 45) {
this.TempStill = true;
}
if ((!this.TempStill) && (((this._xscale > 0) && (Key.isDown(37))) || ((this._xscale < 0) && (Key.isDown(39))))) {
this.CharJump.gotoAndStop(2);
if (Math.abs(this.moveRL) < 2) {
this.moveRL = (-this._xscale) / 100;
}
} else if (((this._xscale < 0) && (Key.isDown(37))) || (((this._xscale > 0) && (Key.isDown(39))) && (Math.abs(this.moveRL) < 4))) {
this.CharJump.gotoAndStop(1);
if (Math.abs(this.moveRL) < 2) {
this.moveRL = this._xscale / 100;
}
} else {
this.CharJump.gotoAndStop(1);
}
}
}
};
JumpGuide = function (hurt) {
if (((tehwallz.hitTest((this._x + 12) + this.moveRL, this._y, true) || (tehwallz.hitTest((this._x - 12) + this.moveRL, this._y, true))) || (tehwallz.hitTest((this._x + 12) + this.moveRL, this._y - 45, true))) || (tehwallz.hitTest((this._x - 12) + this.moveRL, this._y - 45, true))) {
var _local3 = 0;
while (_local3 < Math.abs(this.moveRL)) {
if ((((!tehwallz.hitTest(this._x + 13, this._y + this.moveUD, true)) && (!tehwallz.hitTest(this._x - 13, this._y + this.moveUD, true))) && (!tehwallz.hitTest(this._x + 13, this._y - 45, true))) && (!tehwallz.hitTest(this._x - 13, this._y - 45, true))) {
this._x = this._x + this.mRL();
}
_local3++;
}
if (((Math.abs(this.moveRL) > 6) && (this._currentframe != 9)) && (CanWallJump)) {
if (tehwallz.hitTest((this._x + 12) + this.moveRL, this._y, true) && (tehwallz.hitTest((this._x + 12) + this.moveRL, this._y - 45, true))) {
this.Still = Math.abs(this.moveRL);
this.gotoAndStop("WallJump");
} else if (tehwallz.hitTest((this._x - 12) + this.moveRL, this._y, true) && (tehwallz.hitTest((this._x - 12) + this.moveRL, this._y - 45, true))) {
this.Still = Math.abs(this.moveRL);
this.gotoAndStop("WallJump");
}
}
this.moveRL = 0;
if ((tehwallz.hitTest(this._x + 12, this._y - Math.abs(this.moveUD), true) && (tehwallz.hitTest(this._x - 12, this._y - Math.abs(this.moveUD), true))) || (tehwallz.hitTest(this._x + 12, this._y - 30, true) && (tehwallz.hitTest(this._x - 12, this._y - 30, true)))) {
this.Died();
} else {
_local3 = 0;
while (tehwallz.hitTest(this._x + 12, this._y - 2, true) || (tehwallz.hitTest(this._x + 12, this._y - 30, true))) {
this._x--;
_local3 = _local3 - 0.5;
}
while (tehwallz.hitTest(this._x - 12, this._y - 2, true) || (tehwallz.hitTest(this._x - 12, this._y - 30, true))) {
this._x++;
_local3 = _local3 + 0.5;
}
this.moveRL = _local3;
}
}
if (tehplatformz.hitTest((this._x + this.RAnchx()) + this.moveRL, (this._y + this.RAnchy()) + this.moveUD, true) || (tehplatformz.hitTest((this._x + this.LAnchx()) + this.moveRL, (this._y + this.LAnchy()) + this.moveUD, true))) {
if (((!tehplatformz.hitTest((this._x + this.RAnchx()) + this.moveRL, (this._y + this.RAnchy()) - 2, true)) && (!tehplatformz.hitTest((this._x + this.LAnchx()) + this.moveRL, (this._y + this.LAnchy()) - 2, true))) && (this.moveUD > 0)) {
var _local3 = 1;
while (tehplatformz["movingPlat" + _local3] != undefined) {
if (tehplatformz["movingPlat" + _local3].hitTest((this._x + this.RAnchx()) + this.moveRL, (this._y + this.RAnchy()) + this.moveUD, true) || (tehplatformz["movingPlat" + _local3].hitTest((this._x + this.LAnchx()) + this.moveRL, this._y + this.LAnchy(), true))) {
tehplatformz["movingPlat" + _local3].onEnterFrame = PlatMoveOccupied;
tehplatformz["movingPlat" + _local3].oldx = tehplatformz["movingPlat" + _local3]._x;
tehplatformz["movingPlat" + _local3].oldy = tehplatformz["movingPlat" + _local3]._y;
this.OnPlatNum = _local3;
}
_local3++;
}
this._rotation = 0;
this.JumpLand(hurt);
} else {
if ((Math.abs(this._rotation) > 45) && (this.fliprot != 0)) {
this._rotation = this._rotation + this.fliprot;
} else {
this._rotation = this._rotation * 0.8;
}
this._x = this._x + this.moveRL;
this._y = this._y + this.moveUD;
}
} else if (tehwallz.hitTest((this._x + this.RAnchx()) + this.moveRL, (this._y + this.RAnchy()) + this.moveUD, true) || (tehwallz.hitTest((this._x + this.LAnchx()) + this.moveRL, (this._y + this.LAnchy()) + this.moveUD, true))) {
if (_root.tehwallz.movingWallz.gears.hitTest((this._x + this.RAnchx()) + this.moveRL, (this._y + this.RAnchy()) + this.moveUD, true) || (_root.tehwallz.movingWallz.gears.tehwallz.hitTest((this._x + this.LAnchx()) + this.moveRL, (this._y + this.LAnchy()) + this.moveUD, true))) {
_root.tehwallz.movingWallz.gears.oldx = _root.tehwallz.movingWallz.gears._x;
_root.tehwallz.movingWallz.gears.oldy = _root.tehwallz.movingWallz.gears._y;
_root.tehwallz.movingWallz.gears.onEnterFrame = function () {
this.smokeRL = this._x - this.oldx;
_root.Char._x = _root.Char._x + this.smokeRL;
this.oldx = this._x;
};
}
this.JumpLand(hurt);
} else if (tehground.hitTest((this._x + this.RAnchx()) + this.moveRL, (this._y + this.RAnchy()) + this.moveUD, true) || (tehground.hitTest((this._x + this.LAnchx()) + this.moveRL, (this._y + this.LAnchy()) + this.moveUD, true))) {
if (testAll((this._x + this.RAnchx()) + this.moveRL, (this._y + this.RAnchy()) + this.moveUD) && (testAll((this._x + this.LAnchx()) + this.moveRL, (this._y + this.LAnchy()) + this.moveUD))) {
if (Math.abs(this._rotation) < 100) {
this.JumpLand(hurt);
} else {
this.moveRL = this.moveRL * 0.8;
this.moveUD = 0;
this._x = this._x + this.moveRL;
this._y = this._y + this.moveUD;
this.WraptoGround(false, false);
}
} else if (testAll((this._x + this.RAnchx()) + this.moveRL, (this._y + this.RAnchy()) + this.moveUD)) {
this._x = this._x + this.moveRL;
this._y = this._y + this.moveUD;
this.WraptoGround(false, false);
} else if (testAll((this._x + this.LAnchx()) + this.moveRL, (this._y + this.LAnchy()) + this.moveUD)) {
this._x = this._x + this.moveRL;
this._y = this._y + this.moveUD;
this.WraptoGround(false, false);
} else {
if (Math.abs(this._rotation) < 90) {
this.WraptoGround(true, false);
} else {
this.WraptoGround(false, false);
}
this._x = this._x + (this.moveRL / 2);
this._y = this._y + (this.moveUD / 2);
}
} else if (testAllBut((this._x + (45 * Math.cos((this._rotation - 90) * (Math.PI/180)))) + this.moveRL, (this._y + (45 * Math.sin((this._rotation - 90) * (Math.PI/180)))) + this.moveUD)) {
this.HeadLand((45 * Math.cos((this._rotation - 90) * (Math.PI/180))) + Math.cos(this.jumprot * (Math.PI/180)), (45 * Math.sin((this._rotation - 90) * (Math.PI/180))) + Math.sin(this.jumprot * (Math.PI/180)), this.moveRL, this.moveUD);
} else {
if ((Math.abs(this._rotation) > 45) && (this.fliprot != 0)) {
this._rotation = this._rotation + this.fliprot;
} else {
this._rotation = this._rotation * 0.8;
}
this._x = this._x + this.moveRL;
this._y = this._y + this.moveUD;
}
};
JumpLand = function (hurt) {
this.effingSlide = 0;
this.jumprot = ((-Math.atan2(this.moveRL, this.moveUD)) / (Math.PI/180)) + 90;
this.nowSpeed = Math.sqrt((this.moveRL * this.moveRL) + (this.moveUD * this.moveUD));
var _local2 = 0;
while (_local2 < this.nowSpeed) {
if ((((!tehground.hitTest((this._x + this.RAnchx()) + this.UDx(), (this._y + this.RAnchy()) + this.UDy(), true)) || (!tehground.hitTest((this._x + this.LAnchx()) + this.UDx(), (this._y + this.LAnchy()) + this.UDy(), true))) && (!testWallzNPlatz((this._x + this.RAnchx()) + this.UDx(), (this._y + this.RAnchy()) + this.UDy()))) && (!testWallzNPlatz((this._x + this.LAnchx()) + this.UDx(), (this._y + this.LAnchy()) + this.UDy()))) {
this._x = this._x + Math.cos(this.jumprot * (Math.PI/180));
this._y = this._y + Math.sin(this.jumprot * (Math.PI/180));
} else {
break;
}
_local2++;
}
this.WraptoGround(true, false);
this.gorot = (2 * this._rotation) - this.jumprot;
this.moveRL = this.nowSpeed * Math.cos((this.gorot - this._rotation) * (Math.PI/180));
this.moveUD = 0;
if (hurt != undefined) {
if (Health == 0) {
this.gotoAndStop("Die");
} else {
this.gotoAndStop("FSGetUp");
}
} else if (Math.abs(this.moveRL) > 5) {
if ((Math.abs(this.moveRL) > 10) && (Key.isDown(40))) {
this.gotoAndStop("FSRoll");
} else {
this.gotoAndStop("RIdle");
}
} else {
this.gotoAndStop("Land");
this.CharSlide.gotoAndStop(8);
}
};
HeadLand = function (ex, ey, eRL, eUD) {
HeadHit.setPan(((_x + this._x) / 3.6) - 100);
HeadHit.start();
this.jumprot = RotFixer(((-Math.atan2(eRL, eUD)) / (Math.PI/180)) + 90);
this.nowSpeed = Math.sqrt((eRL * eRL) + (eUD * eUD));
var _local2 = 0;
while (_local2 < this.nowSpeed) {
if (!testAllBut(this._x + ex, this._y + ey)) {
this._x = this._x + Math.cos(this.jumprot * (Math.PI/180));
this._y = this._y + Math.sin(this.jumprot * (Math.PI/180));
}
_local2++;
}
_local2 = 0;
while (InteractLayer["MarioBlock" + _local2] != undefined) {
if (InteractLayer["MarioBlock" + _local2].hitTest((this._x + (45 * Math.cos((this._rotation - 90) * (Math.PI/180)))) + Math.cos(this.jumprot * (Math.PI/180)), (this._y + (45 * Math.sin((this._rotation - 90) * (Math.PI/180)))) + Math.sin(this.jumprot * (Math.PI/180)))) {
InteractLayer["MarioBlock" + _local2].play();
}
_local2++;
}
this.groundrot = FindRot(this.jumprot - 90, this._x + (45 * Math.cos((this._rotation - 90) * (Math.PI/180))), this._y + (45 * Math.sin((this._rotation - 90) * (Math.PI/180))));
this.nowSpeed = this.nowSpeed * 0.9;
this.gorot = (2 * this.groundrot) - this.jumprot;
this.moveRL = this.nowSpeed * Math.cos(this.gorot * (Math.PI/180));
this.moveUD = this.nowSpeed * Math.sin(this.gorot * (Math.PI/180));
if (Math.abs(this.groundrot - this.jumprot) < 10) {
this._x = this._x + (45 * Math.cos((this._rotation - 90) * (Math.PI/180)));
this._y = this._y + (45 * Math.sin((this._rotation - 90) * (Math.PI/180)));
this._rotation = this._rotation + 180;
this.WraptoGround(true, true);
this.gotoAndStop("FSRoll");
} else {
this._x = this._x + this.moveRL;
this._y = this._y + this.moveUD;
if (Math.abs(this.jumprot + 90) > 90) {
this.gotoAndStop("FrontSlam");
}
}
};
FindRot = function (jumprot, ex, ey) {
RotFind._x = ex;
RotFind._y = ey;
RotFind._rotation = jumprot;
RotFind.WraptoGround(true, true);
return(RotFind._rotation);
};
RLx = function () {
return(this.moveRL * Math.cos(this._rotation * (Math.PI/180)));
};
RLy = function () {
return(this.moveRL * Math.sin(this._rotation * (Math.PI/180)));
};
UDx = function () {
return(Math.cos((this._rotation + 90) * (Math.PI/180)));
};
UDy = function () {
return(Math.sin((this._rotation + 90) * (Math.PI/180)));
};
spread = 10;
LAnchx = function () {
return(spread * Math.cos((this._rotation - 180) * (Math.PI/180)));
};
LAnchy = function () {
return(spread * Math.sin((this._rotation - 180) * (Math.PI/180)));
};
RAnchx = function () {
return(spread * Math.cos(this._rotation * (Math.PI/180)));
};
RAnchy = function () {
return(spread * Math.sin(this._rotation * (Math.PI/180)));
};
testAll = function (ex, ey) {
if (tehground.hitTest(ex, ey, true)) {
return(true);
}
if (tehwallz.hitTest(ex, ey, true)) {
return(true);
}
if (tehplatformz.hitTest(ex, ey, true)) {
return(true);
}
return(false);
};
testAllBut = function (ex, ey) {
if (tehwallz.hitTest(ex, ey, true)) {
return(true);
}
if (tehground.hitTest(ex, ey, true)) {
return(true);
}
return(false);
};
testWallzNPlatz = function (ex, ey) {
if (tehwallz.hitTest(ex, ey, true)) {
return(true);
}
if (tehplatformz.hitTest(ex, ey, true)) {
return(true);
}
return(false);
};
SkiFrRLFunc = function () {
if (tehwallz.hitTest(this._x + this.moveRL, this._y, true)) {
this.moveRL = 0;
}
if (tehwallz.hitTest(this._x, this._y + this.moveUD, true)) {
this.moveUD = 0;
}
this._x = this._x + this.moveRL;
this._y = this._y + this.moveUD;
};
RLFunc = function () {
this.WallHitLeft = false;
this.WallHitRight = false;
if (this.moveRL > 0) {
this.tempR = this.RLx();
} else {
this.tempR = 0;
}
if (this.moveRL < 0) {
this.tempL = this.RLx();
} else {
this.tempL = 0;
}
if (tehwallz.hitTest(((this._x + this.LAnchx()) + (this.UDx() * 6)) + this.tempL, (((this._y + this.LAnchy()) + this.RLy()) + (this.UDy() * 6)) - 30, true)) {
this.WallHitLeft = true;
}
if (tehwallz.hitTest(((this._x + this.RAnchx()) + (this.UDx() * 6)) + this.tempR, (((this._y + this.RAnchy()) + this.RLy()) + (this.UDy() * 6)) - 30, true)) {
this.WallHitRight = true;
}
if (this.WallHitLeft && (this.WallHitRight)) {
this.Died();
} else {
if (this.WallHitLeft) {
if (!testAll(this._x, this._y + 6)) {
this.JumpFunc(0);
}
while (!tehwallz.hitTest(((this._x + this.LAnchx()) + (this.UDx() * 6)) - 2, ((this._y + this.LAnchy()) + (this.UDy() * 6)) - 30, true)) {
this._x--;
}
while (tehwallz.hitTest(((this._x + this.LAnchx()) + (this.UDx() * 6)) - 1, ((this._y + this.LAnchy()) + (this.UDy() * 6)) - 30, true)) {
this._x++;
}
if (this._currentframe == 12) {
this.moveRL = (-this.moveRL) / 2;
} else {
this.moveRL = 0;
if (Key.isDown(37)) {
this._xscale = -100;
this.gotoAndStop("WallStop");
}
}
return("Wall");
}
if (this.WallHitRight) {
if (!testAll(this._x, this._y + 6)) {
this.JumpFunc(0);
}
while (!tehwallz.hitTest(((this._x + this.RAnchx()) + (this.UDx() * 6)) + 2, ((this._y + this.RAnchy()) + (this.UDy() * 6)) - 30, true)) {
this._x++;
}
while (tehwallz.hitTest(((this._x + this.RAnchx()) + (this.UDx() * 6)) + 1, ((this._y + this.RAnchy()) + (this.UDy() * 6)) - 30, true)) {
this._x--;
}
if (this._currentframe == 12) {
this.moveRL = (-this.moveRL) / 2;
} else {
this.moveRL = 0;
if (Key.isDown(39)) {
this._xscale = 100;
this.gotoAndStop("WallStop");
}
}
return("Wall");
}
this._x = this._x + this.RLx();
this._y = this._y + this.RLy();
this.temp = this.WraptoGround(true, false);
if (this.temp == "Fall") {
if (Math.abs(this._rotation) > 140) {
this.fliprot = -0.1;
} else {
this.fliprot = -0.05;
}
this.fliprot = this.fliprot * this._xscale;
this.JumpFunc(0);
}
if (this.temp == "Edge") {
return("Edge");
}
return("Gravy");
}
};
WraptoGround = function (pull, anchor) {
if (((testAll((this._x + this.RAnchx()) + (this.UDx() * 4), (this._y + this.RAnchy()) + (this.UDy() * 4)) && (testAll((this._x + this.LAnchx()) + (this.UDx() * 4), (this._y + this.LAnchy()) + (this.UDy() * 4)))) && (pull)) || (anchor)) {
while ((!testAll((this._x + this.RAnchx()) + this.UDx(), (this._y + this.RAnchy()) + this.UDy())) || (!testAll((this._x + this.LAnchx()) + this.UDx(), (this._y + this.LAnchy()) + this.UDy()))) {
if (!testAll((this._x + this.RAnchx()) + this.UDx(), (this._y + this.RAnchy()) + this.UDy())) {
this.oRAnchx = this.RAnchx();
this.oRAnchy = this.RAnchy();
this._rotation++;
this._x = this._x + (this.RAnchx() - this.oRAnchx);
this._y = this._y + (this.RAnchy() - this.oRAnchy);
}
if (!testAll((this._x + this.LAnchx()) + this.UDx(), (this._y + this.LAnchy()) + this.UDy())) {
this.oLAnchx = this.LAnchx();
this.oLAnchy = this.LAnchy();
this._rotation--;
this._x = this._x + (this.LAnchx() - this.oLAnchx);
this._y = this._y + (this.LAnchy() - this.oLAnchy);
}
}
this.temp = false;
} else if (testWallzNPlatz((this._x + this.RAnchx()) + (this.UDx() * 4), (this._y + this.RAnchy()) + (this.UDy() * 4))) {
if (this._xscale < 0) {
this.temp = "Edge";
} else {
this.temp = "BackEdge";
}
this._rotation = 0;
} else if (testWallzNPlatz((this._x + this.LAnchx()) + (this.UDx() * 4), (this._y + this.LAnchy()) + (this.UDy() * 4))) {
if (this._xscale > 0) {
this.temp = "Edge";
} else {
this.temp = "BackEdge";
}
this._rotation = 0;
} else {
this.temp = "Fall";
}
while (testAll(this._x + this.RAnchx(), this._y + this.RAnchy()) || (testAll(this._x + this.LAnchx(), this._y + this.LAnchy()))) {
if (testAll(this._x + this.RAnchx(), this._y + this.RAnchy())) {
this.oRAnchx = this.RAnchx();
this.oRAnchy = this.RAnchy();
this._rotation--;
this._x = this._x + (this.RAnchx() - this.oRAnchx);
this._y = this._y + (this.RAnchy() - this.oRAnchy);
}
if (testAll(this._x + this.LAnchx(), this._y + this.LAnchy())) {
this.oLAnchx = this.LAnchx();
this.oLAnchy = this.LAnchy();
this._rotation++;
this._x = this._x + (this.LAnchx() - this.oLAnchx);
this._y = this._y + (this.LAnchy() - this.oLAnchy);
}
}
return(this.temp);
};
RotFixer = function (rot) {
RotFix._rotation = rot;
return(RotFix._rotation);
};
CheckBaddieHit = function () {
if (_root.BLayer.hitTest(this._x + this.moveRL, this._y + this.moveUD, true)) {
if (this.moveUD > 0) {
var _local3 = 0;
while (BLayer["JumpPad" + _local3] != undefined) {
if (BLayer["JumpPad" + _local3].hitTest(this._x + this.moveRL, this._y + this.moveUD, true) && (!BLayer["JumpPad" + _local3].hitTest(this._x + this.moveRL, this._y - 2, true))) {
if (this._x > (BLayer["JumpPad" + _local3]._x + 20)) {
this._x = BLayer["JumpPad" + _local3]._x + 20;
}
if (this._x < (BLayer["JumpPad" + _local3]._x - 20)) {
this._x = BLayer["JumpPad" + _local3]._x - 20;
}
Char._rotation = BLayer["JumpPad" + _local3]._rotation;
Char.moveUD = 0;
BLayer["JumpPad" + _local3].play();
_local3 = 0;
while (!BLayer.hitTest(this._x + this.moveRL, this._y, true)) {
this._y++;
_local3++;
if (_root.tehground.hitTest(this._x, this._y, true)) {
this.moveRL = (-this.moveRL) * 2;
break;
}
}
this.gotoAndStop("BaddieLand");
break;
}
_local3++;
}
}
if (!this.hurting) {
var _local3 = 0;
while (_local3 < maxBaddies) {
if (BLayer["Baddie" + _local3].hitTest(this._x + this.moveRL, this._y + this.moveUD, true) && (BLayer["Baddie" + _local3]._currentframe < 10)) {
if (this._currentframe == 12) {
if (BLayer["Baddie" + _local3].Status == "Stuck") {
this.moveRL = (-this.moveRL) * 1.2;
BLayer["Baddie" + _local3].gotoAndPlay("Attack");
} else if (BLayer["Baddie" + _local3].Status == "Horny") {
BLayer["Baddie" + _local3].gotoAndPlay("Attack");
} else {
BadStomp.setPan(((_x + this._x) / 3.6) - 100);
BadStomp.start();
BLayer["Baddie" + _local3].gotoAndStop("Die");
}
} else {
if (!BLayer["Baddie" + _local3].hitTest(this._x + this.moveRL, this._y - Math.abs(this.moveUD), true)) {
BLayer["Baddie" + _local3]._rotation = 0;
this._rotation = 0;
if (this._x > (BLayer["Baddie" + _local3]._x + 20)) {
this._x = BLayer["Baddie" + _local3]._x + 20;
}
if (this._x < (BLayer["Baddie" + _local3]._x - 20)) {
this._x = BLayer["Baddie" + _local3]._x - 20;
}
BLayer["Baddie" + _local3].gotoAndPlay("Hit");
_local3 = 0;
while (!BLayer.hitTest(this._x + this.moveRL, this._y, true)) {
this._y++;
_local3++;
if (_root.tehground.hitTest(this._x, this._y, true)) {
this.moveRL = (-this.moveRL) * 2;
break;
}
}
BadStomp.setPan(((_x + this._x) / 3.6) - 100);
BadStomp.start();
this.gotoAndStop("BaddieLand");
break;
}
if ((this._alpha == 100) && (this._currentframe != 16)) {
this.JumpFunc(12);
delete this.onEnterFrame;
if (this._x < BLayer["Baddie" + _local3]._x) {
this.moveRL = -12;
} else {
this.moveRL = 12;
}
this.gotoAndStop("FrontSlam");
this.hurting = true;
BLayer["Baddie" + _local3].gotoAndPlay("Attack");
HurtPants(34);
}
}
}
_local3++;
}
}
}
};
CheckInteractHit = function (ex, ey) {
if (InteractLayer.hitTest(ex, ey, true)) {
var _local3 = 0;
while (_local3 < 20) {
if (InteractLayer["Coin" + _local3].hitTest(ex, ey, true) && (InteractLayer["Coin" + _local3]._currentframe == 1)) {
InteractLayer["Coin" + _local3].rot = ((_root.Char.moveRL + _root.Char.moveUD) + random(10)) * 2;
InteractLayer["Coin" + _local3].gotoAndPlay("Hit");
CoinVoice.setPan(((_x + InteractLayer["Coin" + _local3]._x) / 3.6) - 100);
CoinVoice.start();
break;
}
_local3++;
}
if (InteractLayer.Trophy.hitTest(ex, ey) && (InteractLayer.Trophy._currentframe == 1)) {
InteractLayer.Trophy.play();
TrophyGetSound.setPan(((_x + InteractLayer.Trophy._x) / 3.6) - 100);
TrophyGetSound.start();
attachMovie("TrophyGett", "TrophyGett", 4000);
TrophyGett.ID = InteractLayer.Trophy.ID;
TrophyGet[InteractLayer.Trophy.ID - 1] = true;
Fancy_local_data.data.TrophyGet = TrophyGet;
if (TrophyGet[0]) {
_root.kongregateStats.submit("TrophyStande", 1);
}
if (TrophyGet[1]) {
_root.kongregateStats.submit("TrophyKid", 1);
}
if (TrophyGet[2]) {
_root.kongregateStats.submit("TrophyRocky", 1);
}
if (TrophyGet[3]) {
_root.kongregateStats.submit("TrophyErik", 1);
}
if (TrophyGet[4]) {
_root.kongregateStats.submit("TrophyKiT", 1);
}
}
if (Key.isDown(38) && (this._currentframe < 7)) {
_local3 = 0;
while (_local3 < 6) {
if (InteractLayer["Door" + _local3].hitTest(ex, ey, true) && (InteractLayer["Door" + _local3]._currentframe == 1)) {
InteractLayer["Door" + _local3].onEnterFrame = function () {
this.play();
};
this.moveRL = 0;
this.i = _local3;
this.gotoAndStop("DoorIn");
break;
}
_local3++;
}
}
if (this.moveUD > 0) {
if (InteractLayer.GetInBox.hitTest(ex, ey, true)) {
InteractLayer.GetInBox.nextFrame();
}
}
return(true);
}
};
Died = function () {
this._x = 0;
this._y = 20;
this._xscale = 100;
this._alpha = 50;
this._rotation = 0;
this.moveRL = 0;
this.moveUD = -10;
HurtPants(34);
if (tehwallz.movingWallz.gears.smokeRL != undefined) {
tehwallz.movingWallz.gears.smokeRL = 0;
delete tehwallz.movingWallz.gears.onEnterFrame;
}
if (this.OnPlatNum > 0) {
tehplatformz["movingPlat" + this.OnPlatNum].smokeRL = 0;
tehplatformz["movingPlat" + this.OnPlatNum].onEnterFrame = PlatMoveVacant;
}
Setup = _root[LevelLoaded + "Setup"];
Setup();
delete Setup;
this.gotoAndStop("FrontSlam");
};
TestWallz = function () {
if (tehwallz.hitTest((this._x + this.moveRL) + 10, (this._y + Math.abs(this.moveRL)) + 6, true) || (tehwallz.hitTest((this._x + this.moveRL) - 10, (this._y + Math.abs(this.moveRL)) + 6, true))) {
while (tehwallz.hitTest(this._x + 5, this._y, true) || (tehwallz.hitTest(this._x - 5, this._y, true))) {
this._y--;
}
if ((!tehwallz.hitTest(this._x + 10, this._y + 2, true)) && (!tehwallz.hitTest(this._x - 10, this._y + 2, true))) {
this._y++;
}
return(true);
}
return(false);
};
Char.TestPlatz = function () {
if (tehplatformz.hitTest((this._x + this.moveRL) + 10, (this._y + Math.abs(this.moveRL)) + 10, true) || (tehplatformz.hitTest((this._x + this.moveRL) - 10, (this._y + Math.abs(this.moveRL)) + 10, true))) {
while (tehplatformz.hitTest(this._x + 10, this._y, true) || (tehplatformz.hitTest(this._x - 10, this._y, true))) {
this._y--;
}
if ((!tehplatformz.hitTest(this._x + 10, this._y + 1, true)) && (!tehplatformz.hitTest(this._x + -10, this._y + 1, true))) {
this._y++;
}
return(true);
}
return(false);
};
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));
};
FireScratch = function (ex, ey, escale, erot) {
attachMovie("ScratchBlast", "ScratchBlast", 901);
ScratchBlast._x = ex;
ScratchBlast._y = ey;
ScratchBlast._xscale = escale;
i = BLayer.getNextHighestDepth();
BLayer.attachMovie("Scratch", ["Scratch" + i], i);
BLayer["Scratch" + i]._x = ex;
BLayer["Scratch" + i]._y = ey;
BLayer["Scratch" + i]._xscale = escale;
BLayer["Scratch" + i].lifespan = 400;
BLayer["Scratch" + i].onEnterFrame = function () {
if (_root.Paused) {
this.stop();
} else {
this.play();
this._x = this._x + (this._xscale / 20);
this.lifespan--;
if (this.lifespan < 0) {
this.unloadMovie();
this.removeMovieClip();
}
if ((Char.hitTest(this._x, this._y, true) && (Char._alpha == 100)) && (Char._currentframe != 21)) {
delete Char.onEnterFrame;
Char.JumpFunc(12);
HurtPants(34);
Char.gotoAndStop("FrontSlam");
Char.moveRL = this._xscale / 10;
this.unloadMovie();
this.removeMovieClip();
}
}
};
};
PlatMoveVacant = function () {
if (!_root.Paused) {
if (this._x > this.centerRL) {
this.moveRL = this.moveRL - this.speedRL;
} else {
this.moveRL = this.moveRL + this.speedRL;
}
if (Math.abs(this.moveRL) > 10) {
this._x = this._x + (10 * (this.moveRL / Math.abs(this.moveRL)));
} else {
this._x = this._x + this.moveRL;
}
Foreground["PlatSmoke" + this.id]._x = this._x;
Foreground["PlatSmoke" + this.id]._y = this._y;
}
};
JumpPadLockMoveVacant = function () {
if (this._x > this.centerRL) {
this.moveRL = this.moveRL - this.speedRL;
} else {
this.moveRL = this.moveRL + this.speedRL;
}
if (Math.abs(this.moveRL) > this.maxRL) {
this._x = this._x + (this.maxRL * (this.moveRL / Math.abs(this.moveRL)));
} else {
this._x = this._x + this.moveRL;
}
};
PlatMoveOccupied = function () {
if (!_root.Paused) {
if (this._x > this.centerRL) {
this.moveRL = this.moveRL - this.speedRL;
} else {
this.moveRL = this.moveRL + this.speedRL;
}
if (Math.abs(this.moveRL) > 10) {
this._x = this._x + (10 * (this.moveRL / Math.abs(this.moveRL)));
} else {
this._x = this._x + this.moveRL;
}
this.smokeRL = this._x - this.oldx;
Char._x = Char._x + this.smokeRL;
this.oldx = this._x;
Foreground["PlatSmoke" + this.id]._x = this._x;
}
};
JumpPadLockMoveOccupied = function () {
if (this._x > this.centerRL) {
this.moveRL = this.moveRL - this.speedRL;
} else {
this.moveRL = this.moveRL + this.speedRL;
}
if (Math.abs(this.moveRL) > this.maxRL) {
this._x = this._x + (this.maxRL * (this.moveRL / Math.abs(this.moveRL)));
} else {
this._x = this._x + this.moveRL;
}
this.smokeRL = this._x - this.oldx;
Char._x = Char._x + this.smokeRL;
this.oldx = this._x;
if (!Key.isDown(_root.Char.Jump)) {
_root.Char.SisDown = false;
}
if (((Key.isDown(_root.Char.Jump) && (!_root.Char.SisDown)) && (this._currentframe == 9)) && (Health != 0)) {
_root.Char.SisDown = true;
this.gotoAndPlay(12);
this.onEnterFrame = JumpPadLockMoveVacant;
}
};
SpawnSparkle = function (ex, ey) {
attachMovie("Sparkle", ["Sparkle" + ssN], 5000 + ssN);
_root["Sparkle" + ssN]._x = ex;
_root["Sparkle" + ssN]._y = ey;
if (ssN > 20) {
ssN = 0;
} else {
ssN++;
}
};
ChangeLevel = function (LoadIt) {
if (SquigglesGet > 0) {
_root.kongregateStats.submit("SquigglesGet", SquigglesGet);
SquigglesGet = 0;
}
if (SpidersPwned > 0) {
_root.kongregateStats.submit("SpidersPwned", SpidersPwned);
SpidersPwned = 0;
}
_root.attachMovie("FadeOut", "FadeOut", 100005);
FadeOut.worm = LoadIt;
};
EndLevel = function () {
removeMovieClip(Char);
removeMovieClip(tehground);
removeMovieClip(tehwallz);
removeMovieClip(tehplatformz);
removeMovieClip(PlatzSmoke);
removeMovieClip(BLayer);
removeMovieClip(InteractLayer);
removeMovieClip(Foreground);
removeMovieClip(OutPut);
removeMovieClip(Background);
removeMovieClip(PauseMenu);
_root._x = 0;
_root._y = 0;
};
ColorEmPants = function () {
var _local2 = new Color(Char);
var _local3 = new Color(OutPut.pantsicon);
if (ColorEm < 0) {
ColorEm = PantsPallet.length - 1;
}
if (ColorEm == PantsPallet.length) {
ColorEm = 0;
}
var _local1 = new Object();
_local1.ra = PantsPallet[ColorEm][0];
_local1.rb = PantsPallet[ColorEm][1];
_local1.ga = PantsPallet[ColorEm][2];
_local1.gb = PantsPallet[ColorEm][3];
_local1.ba = PantsPallet[ColorEm][4];
_local1.bb = PantsPallet[ColorEm][5];
_local2.setTransform(_local1);
_local3.setTransform(_local1);
};
SkigPop = function (ex, ey, eRL, eUD) {
attachMovie("SquiggleJump", "SquiggleJump", getNextHighestDepth(), {_x:ex, _y:ey, moveRL:eRL, moveUD:(-eUD) / 2});
};
HurtPants = function (ow) {
Health = Health - ow;
if (Health < 0) {
Health = 0;
}
if (Health > 100) {
Health = 100;
}
OutPut.HealthBar._xscale = Health;
if (ow > 0) {
Char._alpha = 50;
}
};
PayPants = function () {
SquigglesGet++;
Squiggles++;
if ((Squiggles / 100) == Math.round(Squiggles / 100)) {
Lives++;
OneUpSound.start();
}
};
PlaceCharBump = function (ex, ey, rot) {
tehground.attachMovie("CharBump", "CharBump", tehground.getNextDepth(), {_x:ex, _y:ey, _rotation:rot});
};
PantsPallet = [[100, 0, 100, -100, 100, -250], [100, 0, 0, 0, 0, 0], [0, 0, 100, 0, 0, 0], [0, 0, 0, 0, 100, 0]];
var CharJump = new Sound(createEmptyMovieClip("soundmc0", 10000));
CharJump.attachSound("cjump");
var HeadHit = new Sound(createEmptyMovieClip("soundmc1", 10001));
HeadHit.attachSound("bump");
var Spring = new Sound(createEmptyMovieClip("soundmc2", 10002));
Spring.attachSound("spring");
var CharHurt = new Sound(createEmptyMovieClip("soundmc3", 10003));
CharHurt.attachSound("hurt");
var DoorCreak = new Sound(createEmptyMovieClip("soundmc4", 10004));
DoorCreak.attachSound("door");
var BadStomp = new Sound(createEmptyMovieClip("soundmc5", 10005));
BadStomp.attachSound("boing");
var PauseSound = new Sound(createEmptyMovieClip("soundmc8", 10008));
PauseSound.attachSound("pause");
var SlideSound = new Sound(createEmptyMovieClip("soundmc9", 10009));
SlideSound.attachSound("slide");
var CoinVoice = new Sound(createEmptyMovieClip("soundmc10", 10010));
CoinVoice.attachSound("coin");
var DoorClose = new Sound(createEmptyMovieClip("soundmc11", 10011));
DoorClose.attachSound("doorclose");
var ClickLock = new Sound(createEmptyMovieClip("soundmc12", 10012));
ClickLock.attachSound("clicklock");
var DeathKnell = new Sound(createEmptyMovieClip("soundmc13", 10013));
DeathKnell.attachSound("deathstrings");
var Fanfare = new Sound(createEmptyMovieClip("soundmc14", 10014));
Fanfare.attachSound("fanfare");
var TrophyGetSound = new Sound(createEmptyMovieClip("soundmc15", 10015));
TrophyGetSound.attachSound("trophyget");
var OneUpSound = new Sound(createEmptyMovieClip("soundmc16", 10016));
OneUpSound.attachSound("oneup");
var SwordNoise = new Sound(createEmptyMovieClip("soundmc17", 10017));
SwordNoise.attachSound("sword");
var unPauseSound = new Sound(createEmptyMovieClip("soundmc18", 100018));
unPauseSound.attachSound("unpause");
_root.LoadLevel("Menus1");
stop();
Symbol 3 MovieClip Frame 1 (8 B)
stop();
Symbol 3 MovieClip Frame 2 (160 B)
_root[_root.LevelLoaded + "DontCheat"].push(this);
_root.PayPants();
_root.HurtPants(-5);
onEnterFrame = function () {
_rotation = (_rotation + rot);
};
Symbol 3 MovieClip Frame 12 (74 B)
delete onEnterFrame;
_visible = false;
removeMovieClip(this);
stop();
Symbol 5 MovieClip Frame 1 (280 B)
onEnterFrame = function () {
if (hitTest(_root.Char._x, _root.Char._y, true)) {
if (SnapBack != undefined) {
if (!SnapBack) {
_root.SnapBack = [0, 0];
}
}
_root.ChangeLevel(worm);
_root.Char.moveUD = -100;
gameplan();
delete onEnterFrame;
}
};
Symbol 40 MovieClip Frame 1 (8 B)
stop();
Symbol 40 MovieClip Frame 20 (363 B)
if (worm == 1) {
_root.Char._x = _parent["Door" + worm]._x;
_root.Char._y = _parent["Door" + worm]._y;
_root.Char.gotoAndStop("RIdle");
} else {
if (SnapBack != undefined) {
if (SnapBack) {
_root.SnapBack[0] = _x;
_root.SnapBack[1] = _y;
} else {
_root.SnapBack[0] = 0;
_root.SnapBack[1] = 0;
}
}
_root.ChangeLevel(worm);
}
Symbol 40 MovieClip Frame 23 (25 B)
_root.DoorCreak.start();
Symbol 40 MovieClip Frame 49 (47 B)
_root.DoorClose.start();
delete onEnterFrame;
Symbol 55 MovieClip Frame 1 (37 B)
gotoAndStop(_root.Char.Holding + 1);
Symbol 58 MovieClip Frame 1 (8 B)
stop();
Symbol 65 MovieClip Frame 1 (73 B)
if (_root.Char.Holding != 0) {
gotoAndStop (2);
} else {
stop();
}
Symbol 72 MovieClip Frame 1 (8 B)
stop();
Symbol 114 MovieClip Frame 1 (8 B)
stop();
Symbol 160 MovieClip Frame 1 (107 B)
if (_root.TrophyGet[ID - 1]) {
gotoAndStop ("Hit");
} else {
stop();
Trophy.gotoAndStop(ID + 1);
}
Symbol 160 MovieClip Frame 14 (28 B)
Trophy.gotoAndStop(ID + 1);
Symbol 160 MovieClip Frame 19 (28 B)
Trophy.gotoAndStop(ID + 1);
Symbol 160 MovieClip Frame 24 (28 B)
Trophy.gotoAndStop(ID + 1);
Symbol 160 MovieClip Frame 29 (28 B)
Trophy.gotoAndStop(ID + 1);
Symbol 160 MovieClip Frame 34 (28 B)
Trophy.gotoAndStop(ID + 1);
Symbol 160 MovieClip Frame 35 (8 B)
stop();
Instance of Symbol 5 MovieClip in Symbol 161 MovieClip [InteractLayerBonus5] Frame 1 (54 B)
onClipEvent (load) {
worm = "Level3";
thrust = 20;
}
Instance of Symbol 40 MovieClip "Door0" in Symbol 161 MovieClip [InteractLayerBonus5] Frame 1 (40 B)
onClipEvent (load) {
worm = "Level2";
}
Instance of Symbol 160 MovieClip "Trophy" in Symbol 161 MovieClip [InteractLayerBonus5] Frame 1 (31 B)
onClipEvent (load) {
ID = 2;
}
Symbol 163 MovieClip [ForegroundSkiFr1] Frame 1 (8 B)
stop();
Symbol 172 MovieClip [MessageFromMe] Frame 1 (8 B)
stop();
Symbol 172 MovieClip [MessageFromMe] Frame 22 (235 B)
onEnterFrame = function () {
if (!Key.isDown(_root.Char.Jump)) {
_root.Char.SisDown = false;
}
if (Key.isDown(_root.Char.Jump) && (!_root.Char.SisDown)) {
_root.Char.SisDown = true;
nextFrame();
}
};
stop();
Symbol 172 MovieClip [MessageFromMe] Frame 29 (182 B)
delete onEnterFrame;
_root.InteractLayer.JonesTrap.play();
_root.CanWallJump = true;
_root.Fancy_local_data.data.CanWallJump = true;
_root.KillWallJump = true;
gotoAndStop (1);
Symbol 174 MovieClip [JumpPad] Frame 1 (8 B)
stop();
Symbol 174 MovieClip [JumpPad] Frame 9 (22 B)
_root.Spring.start();
Symbol 174 MovieClip [JumpPad] Frame 12 (53 B)
_root.Char.moveRL = 0;
_root.Char.JumpFunc(Thrust);
Symbol 175 Button (63 B)
on (press) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 181 Button (64 B)
on (release) {
getURL ("http://www.armorgames.com", "blank");
}
Symbol 189 MovieClip Frame 160 (23 B)
stop();
_root.play();
Symbol 273 MovieClip Frame 6 (19 B)
_parent.RLing = 1;
Symbol 273 MovieClip Frame 10 (29 B)
_parent.gotoAndStop("RRun");
Symbol 287 MovieClip Frame 5 (67 B)
_parent._xscale = -_parent._xscale;
_parent.gotoAndStop("RWalk");
Symbol 308 MovieClip Frame 8 (51 B)
_parent.moveRL = 0;
_parent.gotoAndStop("RIdle");
Symbol 320 MovieClip Frame 8 (47 B)
if (!_parent.CanSlide) {
gotoAndPlay (7);
}
Symbol 320 MovieClip Frame 13 (51 B)
_parent.moveRL = 0;
_parent.gotoAndStop("RIdle");
Symbol 384 MovieClip Frame 35 (8 B)
stop();
Symbol 397 MovieClip Frame 1 (141 B)
if (_parent._parent.moveUD > -10) {
gotoAndPlay ("Fall");
}
if (Math.abs(_parent._parent._rotation) > 45) {
gotoAndStop (15);
}
Symbol 397 MovieClip Frame 3 (892 B)
if ((!_parent._parent.Still) && (!_parent._parent.TempStill)) {
if (_parent._parent.Math.abs(_rotation < 45) && (((_parent._parent._xscale > 0) && (Key.isDown(37))) || ((_parent._parent._xscale < 0) && (Key.isDown(39))))) {
if (Math.abs(_parent._parent.moveRL) < 2) {
_parent._parent.moveRL = (-_parent._parent._xscale) / 50;
}
_parent.gotoAndStop(2);
} else if (((_parent._parent._xscale < 0) && (Key.isDown(37))) || ((((_parent._parent._xscale > 0) && (Key.isDown(39))) && (Math.abs(_parent._parent.moveRL) < 4)) && (_parent._parent.Math.abs(_rotation < 45)))) {
if (Math.abs(_parent._parent.moveRL) < 5) {
_parent._parent.moveRL = _parent._parent._xscale / 20;
}
_parent.gotoAndStop(1);
} else {
_parent.gotoAndStop(1);
}
} else {
_parent.gotoAndStop(1);
}
Symbol 397 MovieClip Frame 7 (8 B)
stop();
Symbol 397 MovieClip Frame 15 (64 B)
if (Math.abs(_parent._parent._rotation) > 45) {
stop();
}
Symbol 397 MovieClip Frame 28 (24 B)
_parent.gotoAndStop(3);
Symbol 430 MovieClip Frame 33 (48 B)
_parent._rotation = 0;
_parent.gotoAndStop(3);
Symbol 445 MovieClip Frame 6 (30 B)
_parent.gotoAndStop("RIdle");
Symbol 462 MovieClip Frame 17 (18 B)
gotoAndPlay (11);
Symbol 491 MovieClip Frame 1 (17 B)
gotoAndPlay (4);
Symbol 491 MovieClip Frame 19 (56 B)
_parent.hurting = false;
_parent.gotoAndStop("RIdle");
Symbol 514 MovieClip Frame 9 (17 B)
gotoAndPlay (4);
Symbol 552 MovieClip Frame 9 (8 B)
stop();
Symbol 559 MovieClip Frame 1 (8 B)
stop();
Symbol 564 MovieClip Frame 5 (67 B)
stop();
if (_root.Health == 0) {
_parent.gotoAndStop("Die");
}
Symbol 564 MovieClip Frame 10 (30 B)
_parent.gotoAndStop("RIdle");
Symbol 604 MovieClip Frame 40 (8 B)
stop();
Symbol 619 MovieClip Frame 5 (8 B)
stop();
Symbol 619 MovieClip Frame 7 (8 B)
stop();
Symbol 632 MovieClip Frame 12 (21 B)
_parent.JumpFunc(0);
Symbol 679 MovieClip Frame 12 (8 B)
stop();
Symbol 722 MovieClip Frame 1 (192 B)
onEnterFrame = function () {
if (_root.BackgroundVolume > 0) {
_root.BackgroundVolume = _root.BackgroundVolume - 5;
_root.BackgroundMusic.setVolume(_root.BackgroundVolume);
}
};
Symbol 722 MovieClip Frame 7 (26 B)
_root.DeathKnell.start();
Symbol 722 MovieClip Frame 28 (482 B)
stop();
i = 90;
if ((_root.LevelLoaded == "Bonus5") || (_root.LevelLoaded == "Bonus7")) {
_root.LevelLoaded = "Level2";
}
onEnterFrame = function () {
CharAngel._y--;
i--;
if (i == 0) {
if (_root.Lives == 0) {
_root.Setup = function () {
_root.Lives = 3;
};
_root.ChangeLevel("Menus7");
} else {
_root.Health = 100;
_root.Setup = function () {
_root.Lives--;
};
_root.ChangeLevel(_root.LevelLoaded);
}
i = -100;
}
};
Symbol 750 MovieClip Frame 40 (8 B)
stop();
Symbol 751 MovieClip [Char] Frame 1 (1.21 KiB) ●
stop();
onEnterFrame = function () {
if ((!_root.Paused) && (!_root.PauseListener())) {
Idle.play();
if (Key.isDown(39) && (!Key.isDown(37))) {
if (moveRL < 0) {
gotoAndStop ("Slide");
} else {
if (_xscale > 0) {
gotoAndStop ("RWalk");
} else {
gotoAndStop ("Backpeddle");
}
if (moveRL < 2) {
moveRL = 2;
}
}
}
if (Key.isDown(37) && (!Key.isDown(39))) {
if (moveRL > 0) {
gotoAndStop ("Slide");
} else {
if (_xscale < 0) {
gotoAndStop ("RWalk");
} else {
gotoAndStop ("Backpeddle");
}
if (moveRL > -2) {
moveRL = -2;
}
}
}
if ((Math.abs(moveRL) > 2) && ((Key.isDown(37) && (Key.isDown(39))) || ((!Key.isDown(37)) && (!Key.isDown(39))))) {
gotoAndStop ("Slide");
}
if (Math.abs(_rotation) > 45) {
if (Math.abs(_rotation) < 90) {
gotoAndStop ("Slide");
} else {
JumpFunc(0);
}
}
if (Key.isDown(40)) {
gotoAndStop ("Duck");
} else if ((this.RLFunc() == "Edge") && (moveRL == 0)) {
gotoAndStop ("Edge");
}
this.JumpListener();
} else {
Idle.stop();
}
};
Symbol 751 MovieClip [Char] Frame 2 (921 B)
RLing = 2;
hurting = false;
onEnterFrame = function () {
if ((!_root.Paused) && (!_root.PauseListener())) {
CharStartup.play();
if ((((Key.isDown(39) && (moveRL > 0)) && (moveRL < 20)) && (_xscale > 0)) && (!Key.isDown(37))) {
moveRL = moveRL + RLing;
}
if ((((Key.isDown(37) && (moveRL < 0)) && (moveRL > -20)) && (_xscale < 0)) && (!Key.isDown(39))) {
moveRL = moveRL - RLing;
}
if (moveRL == 0) {
} else if (((!(Key.isDown(39) && (moveRL > 0))) && (!(Key.isDown(37) && (moveRL < 0)))) || (Key.isDown(39) && (Key.isDown(37)))) {
moveRL = moveRL - (moveRL / Math.abs(moveRL));
}
if ((Math.abs(moveRL) < 6) && (CharStartup._currentframe > 7)) {
gotoAndStop ("RSlow");
}
EveryFrame();
} else {
CharStartup.stop();
}
};
Symbol 751 MovieClip [Char] Frame 3 (210 B)
onEnterFrame = function () {
if (moveRL == 0) {
}
EveryFrame();
if ((Math.abs(moveRL) < 6) && (Backpeddle._currentframe > 7)) {
_xscale = (-_xscale);
gotoAndStop ("RIdle");
}
};
Symbol 751 MovieClip [Char] Frame 4 (799 B)
onEnterFrame = function () {
if ((!_root.Paused) && (!_root.PauseListener())) {
Run.play();
if (Key.isDown(39) && (!Key.isDown(37))) {
if (moveRL < 20) {
moveRL = moveRL + 2;
}
if ((moveRL < 0) || (_xscale < 0)) {
gotoAndStop ("Slide");
}
}
if (Key.isDown(37) && (!Key.isDown(39))) {
if (moveRL > -20) {
moveRL = moveRL - 2;
}
if ((moveRL > 0) || (_xscale > 0)) {
gotoAndStop ("Slide");
}
}
if (moveRL == 0) {
gotoAndStop ("RIdle");
} else if (((!Key.isDown(39)) && (!Key.isDown(37))) || (Key.isDown(39) && (Key.isDown(37)))) {
moveRL = moveRL - (moveRL / Math.abs(moveRL));
gotoAndStop ("Slide");
}
EveryFrame();
} else {
Run.stop();
}
};
Symbol 751 MovieClip [Char] Frame 5 (301 B)
onEnterFrame = function () {
_root.PauseListener();
if ((Key.isDown(39) || (Key.isDown(37))) && (!(Key.isDown(39) && (Key.isDown(37))))) {
gotoAndStop ("RIdle");
}
if (moveRL == 0) {
} else {
moveRL = moveRL - ((moveRL / Math.abs(moveRL)) * 2);
}
EveryFrame();
};
Symbol 751 MovieClip [Char] Frame 6 (1.35 KiB) ●
CanSlide = false;
onEnterFrame = function () {
if ((!_root.Paused) && (!_root.PauseListener())) {
CharSlide.play();
if (Math.abs(_rotation) < 100) {
moveRL = moveRL + (_rotation / 25);
if (moveRL > 40) {
moveRL = 40;
}
if (moveRL < -40) {
moveRL = -40;
}
if (Math.abs(_rotation) < 45) {
if (moveRL != 0) {
moveRL = moveRL - (moveRL / Math.abs(moveRL));
}
if ((Key.isDown(39) && (moveRL < 20)) && (!Key.isDown(37))) {
if (moveRL > 0) {
moveRL = moveRL * 0.5;
gotoAndStop ("RWalk");
} else {
moveRL++;
}
}
if ((Key.isDown(37) && (moveRL > -20)) && (!Key.isDown(39))) {
if (moveRL < 0) {
moveRL = moveRL * 0.5;
gotoAndStop ("RWalk");
} else {
moveRL--;
}
}
if (Math.abs(moveRL) < 10) {
CanSlide = true;
if (Math.abs(moveRL) <= 1) {
moveRL = 0;
gotoAndStop ("RIdle");
}
moveRL = moveRL * 0.9;
} else {
moveRL = moveRL * 0.96;
}
}
if (Key.isDown(40)) {
gotoAndStop ("Duck");
}
} else {
JumpFunc(0);
if (moveRL != 0) {
moveRL = moveRL - ((moveRL / Math.abs(moveRL)) * 2);
}
fliprot = -0.1 * _xscale;
}
EveryFrame();
} else {
CharSlide.stop();
}
};
Symbol 751 MovieClip [Char] Frame 7 (988 B)
onEnterFrame = function () {
if ((moveUD > -6) && (CharJump.CharRegJump._currentframe < 8)) {
CharJump.CharRegJump.play();
}
if (CharJump._currentframe == 2) {
CharJump._rotation = CharJump._rotation - 11;
}
if ((CharJump.CharRegJump._currentframe < 15) && (moveUD > 4)) {
CharJump.CharRegJump.gotoAndPlay(15);
}
if (Still || (TempStill)) {
if (TempStill && (moveUD > 0)) {
Still = false;
TempStill = false;
}
} else {
if (Key.isDown(39) && (moveRL < 8)) {
if (moveRL < 0) {
moveRL = moveRL * 0.95;
}
moveRL = moveRL + 0.5;
}
if (Key.isDown(37) && (moveRL > -8)) {
if (moveRL > 0) {
moveRL = moveRL * 0.95;
}
moveRL = moveRL - 0.5;
}
}
if (this.moveUD < 25) {
if (((!Key.isDown(Jump)) || (FloatUp <= 0)) || (moveUD > 0)) {
FloatUp = 0;
moveUD = moveUD + 1;
} else {
FloatUp--;
}
}
JumpGuide();
};
Symbol 751 MovieClip [Char] Frame 8 (352 B)
if (Math.abs(_rotation) > 45) {
gotoAndStop ("Slide");
}
moveRL = 0;
onEnterFrame = function () {
if (Key.isDown(39) || (Key.isDown(37))) {
gotoAndStop ("RIdle");
}
if (Key.isDown(40)) {
gotoAndStop ("Duck");
}
EveryFrame();
};
_root.attachMovie("LandPoof", "LandPoof", jpN);
_root.LandPoof._x = _x;
_root.LandPoof._y = _y;
Symbol 751 MovieClip [Char] Frame 9 (216 B)
i = 0;
_root.CharHurt.start();
onEnterFrame = function () {
if (moveUD < 25) {
moveUD++;
}
CharFrontSlam._rotation = CharFrontSlam._rotation + (((moveRL * 1.5) * _xscale) / 100);
JumpGuide(true);
};
Symbol 751 MovieClip [Char] Frame 10 (47 B)
moveRL = 0;
moveUD = 0;
delete onEnterFrame;
Symbol 751 MovieClip [Char] Frame 11 (599 B)
if (yerdown) {
CharDuck.gotoAndStop(6);
yerdown = false;
}
onEnterFrame = function () {
if (moveRL != 0) {
moveRL = moveRL - ((moveRL / Math.abs(moveRL)) / 2);
}
moveRL = moveRL + (_rotation / 30);
if (Math.abs(moveRL) < 1) {
moveRL = 0;
}
if (Key.isDown(40)) {
CharDuck.nextFrame();
if (((Math.abs(moveRL) < 30) && (Math.abs(_rotation) > 15)) && ((moveRL * _rotation) >= 0)) {
gotoAndStop ("FSRoll");
}
} else {
CharDuck.prevFrame();
if (CharDuck._currentframe == 1) {
gotoAndStop ("RIdle");
}
}
EveryFrame();
};
Symbol 751 MovieClip [Char] Frame 12 (475 B)
onEnterFrame = function () {
moveRL = moveRL + (_rotation / 30);
moveRL = moveRL * 0.98;
if (moveRL > 35) {
moveRL = 35;
}
if (moveRL < -35) {
moveRL = -35;
}
FSRoller._rotation = FSRoller._rotation - ((Math.abs(moveRL) * 2) * ((moveRL * _xscale) / (-Math.abs(moveRL * _xscale))));
if ((Math.abs(moveRL) < 2) || ((Math.abs(_rotation) < 15) && (!Key.isDown(40)))) {
yerdown = true;
gotoAndStop ("Duck");
}
EveryFrame();
};
Symbol 751 MovieClip [Char] Frame 13 (983 B)
if (moveRL == 0) {
RL = _xscale / 100;
} else {
RL = moveRL / Math.abs(moveRL);
}
onEnterFrame = function () {
if (RL > 0) {
if (!Key.isDown(39)) {
if (lean._currentframe > 10) {
lean.gotoAndStop(10);
}
lean.prevFrame();
if (lean._currentframe == 1) {
gotoAndStop ("RIdle");
}
} else {
if ((!_root.tehwallz.hitTest(_x + 15, _y, true)) && (!_root.tehwallz.hitTest(_x + 15, _y - 45, true))) {
gotoAndStop ("RSlow");
}
lean.nextFrame();
}
} else if (!Key.isDown(37)) {
if (lean._currentframe > 10) {
lean.gotoAndStop(10);
}
lean.prevFrame();
if (lean._currentframe == 1) {
gotoAndStop ("RIdle");
}
} else {
if ((!_root.tehwallz.hitTest(_x - 15, _y, true)) && (!_root.tehwallz.hitTest(_x - 15, _y - 45, true))) {
gotoAndPlay ("RSlow");
}
lean.nextFrame();
}
moveRL = 0;
EveryFrame();
if (lean._currentframe == 19) {
lean.gotoAndPlay(10);
}
};
Symbol 751 MovieClip [Char] Frame 14 (643 B)
i = 0;
launch = 0;
step = 0;
onEnterFrame = function () {
i = 0;
while (!_root.BLayer.hitTest(_x, _y + 2, true)) {
this._x = this._x + Math.cos((this._rotation + 90) * (Math.PI/180));
this._y = this._y + Math.sin((this._rotation + 90) * (Math.PI/180));
i++;
if (_root.tehground.hitTest(_x, _y, true) || (i > 50)) {
JumpFunc(0);
break;
}
}
i = 0;
while (_root.BLayer.hitTest(_x, _y, true)) {
this._x = this._x + Math.cos((this._rotation - 90) * (Math.PI/180));
this._y = this._y + Math.sin((this._rotation - 90) * (Math.PI/180));
i++;
if (i > 50) {
JumpFunc(5);
break;
}
}
};
Symbol 751 MovieClip [Char] Frame 15 (52 B)
trace(onEnterFrame);
delete onEnterFrame;
stop();
Symbol 751 MovieClip [Char] Frame 16 (307 B)
this._xscale = 100;
onEnterFrame = function () {
if (_x < _root.InteractLayer["Door" + i]._x) {
_x = (_x + 4);
}
if (_x > _root.InteractLayer["Door" + i]._x) {
_x = (_x - 4);
}
if (Math.abs(_x - InteractLayer["Door" + i]._x) < 4) {
_x = InteractLayer["Door" + i]._x;
}
};
Symbol 751 MovieClip [Char] Frame 17 (236 B)
onEnterFrame = function () {
moveRL = moveRL * 0.8;
if (moveUD < 35) {
moveUD++;
}
if (_root.tehwallz.hitTest(_x, _y + moveUD, true)) {
JumpLand(true);
} else {
_x = (_x + moveRL);
_y = (_y + moveUD);
}
};
Symbol 751 MovieClip [Char] Frame 18 (506 B)
moveRL = 0;
moveUD = 0;
onEnterFrame = function () {
if (!_root.tehwallz.hitTest(_x + (_xscale / 6), _y - 20, true)) {
JumpFunc(0);
}
if (!Key.isDown(this.Jump)) {
this.SisDown = false;
}
if (Key.isDown(this.Jump) && (!this.SisDown)) {
_xscale = (-_xscale);
moveRL = _xscale / 15;
Still = false;
TempStill = true;
_root.CharJump.start();
JumpFunc(15);
} else if (Still > 0) {
Still--;
} else {
Still = false;
JumpFunc(0);
}
JumpGuide();
};
Symbol 751 MovieClip [Char] Frame 20 (341 B)
onEnterFrame = function () {
if (Key.isDown(39)) {
_root._x = _root._x - 40;
_x = (_x + 40);
}
if (Key.isDown(37)) {
_root._x = _root._x + 40;
_x = (_x - 40);
}
if (Key.isDown(38)) {
_root._y = _root._y + 40;
_y = (_y - 40);
}
if (Key.isDown(40)) {
_root._y = _root._y - 40;
_y = (_y + 40);
}
};
Symbol 751 MovieClip [Char] Frame 21 (104 B)
moveRL = 0;
moveUD = 0;
_alpha = 100;
_root.PlaceCharBump(_x, _y, _rotation);
delete onEnterFrame;
Symbol 751 MovieClip [Char] Frame 22 (21 B)
delete onEnterFrame;
Symbol 751 MovieClip [Char] Frame 23 (42 B)
this._xscale = 100;
delete onEnterFrame;
Symbol 759 MovieClip [Bird] Frame 1 (112 B)
onEnterFrame = function () {
if (Math.abs((_x + _root._x) - 360) < 400) {
nextFrame();
}
};
stop();
Symbol 759 MovieClip [Bird] Frame 2 (353 B)
moveRL = -3;
targetY = -50;
onEnterFrame = function () {
if (_root.Paused) {
BirdFly.stop();
} else {
BirdFly.play();
if (Math.abs((_x + _root._x) - 360) > 400) {
prevFrame();
}
moveUD = (-(_y - targetY)) / 10;
JumpGuide();
if (moveRL == 0) {
_xscale = (-_xscale);
moveRL = _xscale / 33;
}
}
};
stop();
Symbol 759 MovieClip [Bird] Frame 11 (21 B)
delete onEnterFrame;
Symbol 759 MovieClip [Bird] Frame 16 (102 B)
if (Key.isDown(_root.Char.Jump)) {
_root.Char.JumpFunc(18);
} else {
_root.Char.JumpFunc(14);
}
Symbol 759 MovieClip [Bird] Frame 17 (359 B)
moveUD = -10;
if (_x > _root.Char._x) {
moveRL = 5;
} else {
moveRL = -5;
}
onEnterFrame = function () {
if (!_root.Paused) {
_x = (_x + moveRL);
BirdFall._rotation = BirdFall._rotation + (moveRL * (_xscale / 25));
moveUD++;
_y = (_y + moveUD);
if (_y > ((-_root._y) + 600)) {
removeMovieClip(this);
}
}
};
stop();
Symbol 765 MovieClip Frame 2 (89 B)
_root.FireScratch(_parent._x + (_parent._xscale / 4), _parent._y - 30, _parent._xscale);
Symbol 767 MovieClip [Mouse] Frame 1 (162 B)
onEnterFrame = function () {
if ((Math.abs(_x - _root.Char._x) < 400) && (Math.abs(_y - _root.Char._y) < 100)) {
nextFrame();
}
};
stop();
Symbol 767 MovieClip [Mouse] Frame 2 (181 B)
onEnterFrame = function () {
if (Math.abs(_x - _root.Char._x) > 400) {
prevFrame();
}
if (_root.Paused) {
MouseShoot.stop();
} else {
MouseShoot.play();
}
};
Symbol 767 MovieClip [Mouse] Frame 3 (187 B)
onEnterFrame = function () {
if (RLFunc() == "Wall") {
_xscale = (-_xscale);
moveRL = _xscale / 25;
}
if (Math.abs((_x + _root._x) - 360) < 200) {
nextFrame();
}
};
Symbol 767 MovieClip [Mouse] Frame 15 (102 B)
if (Key.isDown(_root.Char.Jump)) {
_root.Char.JumpFunc(18);
} else {
_root.Char.JumpFunc(14);
}
Symbol 767 MovieClip [Mouse] Frame 16 (349 B)
moveUD = -10;
if (_x > _root.Char._x) {
moveRL = 5;
} else {
moveRL = -5;
}
onEnterFrame = function () {
if (!_root.Paused) {
_x = (_x + moveRL);
Rat._rotation = Rat._rotation + (moveRL * (_xscale / 20));
moveUD++;
_y = (_y + moveUD);
if (_y > ((-_root._y) + 600)) {
removeMovieClip(this);
}
}
};
stop();
Symbol 785 MovieClip Frame 35 (28 B)
_parent.gotoAndStop("run");
Symbol 786 MovieClip Frame 1 (92 B)
onEnterFrame = function () {
if (_root.Paused) {
stop();
} else {
play();
}
};
Symbol 788 MovieClip Frame 19 (8 B)
stop();
Symbol 789 MovieClip Frame 5 (101 B)
if (_parent._x > _root.Char._x) {
_parent._xscale = -100;
} else {
_parent._xscale = 100;
}
Symbol 789 MovieClip Frame 9 (30 B)
_parent.gotoAndStop("lower");
Symbol 790 MovieClip Frame 55 (18 B)
gotoAndPlay (35);
Symbol 801 MovieClip Frame 20 (31 B)
_parent.gotoAndStop("charge");
Symbol 804 MovieClip [Penguin] Frame 1 (255 B)
ZeeItUp = 0;
Status = "Sleeping";
onEnterFrame = function () {
if (ZeeItUp > 0) {
ZeeItUp--;
} else {
_root.attachMovie("Zee", "Zee", _root.getNextHighestDepth(), {_rotation:90, _xscale:-70, _yscale:-70});
ZeeItUp = 20;
}
};
stop();
Symbol 804 MovieClip [Penguin] Frame 2 (108 B)
onEnterFrame = function () {
if (_root.Paused) {
Penguin.stop();
} else {
Penguin.play();
}
};
Symbol 804 MovieClip [Penguin] Frame 3 (714 B)
moveRL = _xscale / 100;
onEnterFrame = function () {
if (_root.Paused) {
Penguin.stop();
} else {
Penguin.play();
if (moveRL == 0) {
Penguin.Legs.gotoAndStop(1);
} else {
if (Math.abs(moveRL) < 20) {
moveRL = moveRL + (moveRL / Math.abs(moveRL));
}
Penguin.Legs.play();
}
moving = moveRL;
temp = RLFunc();
if ((temp == "Wall") || (temp == "Edge")) {
if (Math.abs(moving) > 10) {
Status = "Stuck";
gotoAndStop ("stuck");
} else {
_xscale = (-_xscale);
moveRL = _xscale / 10;
}
} else if ((((_x - _root.Char._x) * _xscale) > 0) && (Math.abs(_x - _root.Char._x) > 200)) {
gotoAndStop ("slow");
}
}
};
Symbol 804 MovieClip [Penguin] Frame 4 (241 B)
onEnterFrame = function () {
if (_root.Paused) {
Penguin.stop();
} else {
Penguin.play();
if (Math.abs(moveRL) < 1) {
moveRL = 0;
gotoAndStop ("face");
} else {
moveRL = moveRL * 0.9;
}
RLFunc();
}
};
Symbol 804 MovieClip [Penguin] Frame 5 (108 B)
onEnterFrame = function () {
if (_root.Paused) {
Penguin.stop();
} else {
Penguin.play();
}
};
Symbol 804 MovieClip [Penguin] Frame 6 (157 B)
_root.HeadHit.start();
_root.BadStomp.start();
onEnterFrame = function () {
if (_root.Paused) {
Penguin.stop();
} else {
Penguin.play();
}
};
Symbol 804 MovieClip [Penguin] Frame 13 (164 B)
if (Status == "Stuck") {
gotoAndStop ("stuck");
} else {
_root.BadStomp.start();
onEnterFrame = function () {
moveRL = moveRL * 0.9;
RLFunc();
};
}
Symbol 804 MovieClip [Penguin] Frame 14 (243 B)
if (Status == "Sleeping") {
gotoAndPlay ("Wake");
delete onEnterFrame;
} else if (Status == "Horny") {
onEnterFrame = function () {
moveRL = moveRL * 0.9;
RLFunc();
};
} else if (Status == "Stuck") {
gotoAndPlay ("hurt");
}
Symbol 804 MovieClip [Penguin] Frame 17 (189 B)
if (_root.Char._alpha == 100) {
_root.Char.JumpFunc(20);
_root.Char.moveRL = (-_xscale) / 12;
_root.HurtPants(35);
_root.Char.gotoAndStop("FrontSlam");
_root.Char._alpha = 50;
}
Symbol 804 MovieClip [Penguin] Frame 40 (22 B)
gotoAndStop ("face");
Symbol 804 MovieClip [Penguin] Frame 44 (204 B)
_root.BackgroundMusic.stop();
_root.BackgroundMusic = new Sound(_root.createEmptyMovieClip("soundmc7", 10007));
_root.BackgroundMusic.attachSound("penguinmarch");
_root.BackgroundMusic.start(0, 1000);
Instance of Symbol 793 MovieClip in Symbol 804 MovieClip [Penguin] Frame 44 (183 B)
onClipEvent (load) {
ZeeItUp = 10;
}
onClipEvent (enterFrame) {
if (ZeeItUp > 0) {
ZeeItUp--;
} else {
attachMovie("Zee", "Zee", getNextHighestDepth());
ZeeItUp = 20;
}
}
Symbol 804 MovieClip [Penguin] Frame 57 (115 B)
_root.Char.JumpFunc(20);
_root.Char._xscale = -100;
_root.Char.moveRL = 8;
_root.Char.gotoAndStop("FrontSlam");
Symbol 804 MovieClip [Penguin] Frame 59 (381 B)
attachMovie("PenguinBed", "PenguinBed", getNextDepth(), {_x:HitPenguin._x, _y:HitPenguin._y, moveUD:40});
PenguinBed.onEnterFrame = function () {
this._rotation = this._rotation - 10;
this.moveUD = this.moveUD - 2;
this._x = this._x - 5;
this._y = this._y - this.moveUD;
if (this._y > 600) {
removeMovieClip(this);
}
};
moveRL = 2;
moveUD = -20;
spin = -16;
Symbol 804 MovieClip [Penguin] Frame 60 (542 B)
Status = "Horny";
_xscale = (-_xscale);
onEnterFrame = function () {
if (_root.Paused) {
FlyPenguinFly.stop();
} else {
FlyPenguinFly.play();
moveUD++;
FlyPenguinFly._rotation = FlyPenguinFly._rotation + spin;
_x = (_x + moveRL);
_y = (_y + moveUD);
if ((_y + moveUD) > 0) {
_y = 0;
if (Health > 0) {
if (_x > _root.Char._x) {
_xscale = -100;
} else {
_xscale = 100;
}
gotoAndPlay ("land");
} else {
gotoAndPlay ("Death");
}
}
}
};
stop();
Symbol 804 MovieClip [Penguin] Frame 75 (157 B)
_root.Char.moveRL = (-_xscale) / 10;
_root.Char.JumpFunc(18);
_root.Char.CharJump.gotoAndStop(2);
_root.Char._xscale = _xscale;
_root.Char.Still = true;
Symbol 804 MovieClip [Penguin] Frame 79 (188 B)
Health--;
Status = "Horny";
moveRL = (-_xscale) / 25;
moveUD = -20;
if (Health == 0) {
spin = Math.abs(moveRL * 4);
} else {
spin = Math.abs(moveRL * 3);
}
gotoAndStop ("Fly");
Symbol 804 MovieClip [Penguin] Frame 80 (108 B)
onEnterFrame = function () {
if (_root.Paused) {
Penguin.stop();
} else {
Penguin.play();
}
};
Symbol 804 MovieClip [Penguin] Frame 81 (92 B)
onEnterFrame = function () {
if (_root.Paused) {
stop();
} else {
play();
}
};
Symbol 804 MovieClip [Penguin] Frame 108 (23 B)
gotoAndStop ("lower");
Symbol 804 MovieClip [Penguin] Frame 110 (92 B)
onEnterFrame = function () {
if (_root.Paused) {
stop();
} else {
play();
}
};
Symbol 804 MovieClip [Penguin] Frame 115 (192 B)
onEnterFrame = function () {
if (_root.BackgroundVolume > 0) {
_root.BackgroundVolume = _root.BackgroundVolume - 5;
_root.BackgroundMusic.setVolume(_root.BackgroundVolume);
}
};
Symbol 804 MovieClip [Penguin] Frame 140 (61 B)
_root.Fanfare.start();
_root.InteractLayer.play();
stop();
Symbol 804 MovieClip [Penguin] Frame 142 (21 B)
delete onEnterFrame;
Symbol 858 MovieClip [Spider] Frame 1 (286 B)
if (freeze != true) {
onEnterFrame = function () {
if (Math.abs((_x + _root._x) - 360) < 400) {
while (!_root.testAll(_x, _y)) {
_y = (_y+1);
}
nextFrame();
}
};
} else {
while (!_root.testAll(_x, _y)) {
_y = (_y+1);
}
nextFrame();
}
stop();
Symbol 858 MovieClip [Spider] Frame 2 (350 B)
moveRL = _xscale / 25;
onEnterFrame = function () {
if (_root.Paused || (freeze)) {
Spider.stop();
} else {
Spider.play();
if (Math.abs((_x + _root._x) - 360) > 400) {
prevFrame();
}
temp = RLFunc();
if ((temp == "Wall") || (temp == "Edge")) {
_xscale = (-_xscale);
moveRL = _xscale / 25;
}
}
};
stop();
Symbol 858 MovieClip [Spider] Frame 3 (23 B)
gotoAndStop ("RIdle");
Symbol 858 MovieClip [Spider] Frame 4 (92 B)
onEnterFrame = function () {
if (!Paused) {
moveUD++;
JumpGuide();
}
};
stop();
Symbol 858 MovieClip [Spider] Frame 11 (21 B)
delete onEnterFrame;
Symbol 858 MovieClip [Spider] Frame 16 (102 B)
if (Key.isDown(_root.Char.Jump)) {
_root.Char.JumpFunc(18);
} else {
_root.Char.JumpFunc(14);
}
Symbol 858 MovieClip [Spider] Frame 17 (424 B)
_root.SpidersPwned++;
moveUD = -10;
if (_x > _root.Char._x) {
moveRL = 5;
} else {
moveRL = -5;
}
onEnterFrame = function () {
if (_root.Paused) {
Spider.stop();
} else {
Spider.play();
_x = (_x + moveRL);
Spider._rotation = Spider._rotation + (moveRL * (_xscale / 25));
moveUD++;
_y = (_y + moveUD);
if (_y > ((-_root._y) + 600)) {
removeMovieClip(this);
}
}
};
stop();
Symbol 858 MovieClip [Spider] Frame 20 (21 B)
delete onEnterFrame;
Symbol 858 MovieClip [Spider] Frame 37 (23 B)
gotoAndStop ("RIdle");
Symbol 859 MovieClip [SquiggleJump] Frame 1 (161 B)
onEnterFrame = function () {
moveUD++;
_rotation = (_rotation + (moveRL * 10));
_x = (_x + moveRL);
_y = (_y + moveUD);
};
_root.CoinVoice.start();
Symbol 859 MovieClip [SquiggleJump] Frame 32 (74 B)
delete onEnterFrame;
_visible = false;
removeMovieClip(this);
stop();
Symbol 861 MovieClip [Background1] Frame 1 (91 B)
onEnterFrame = function () {
_x = ((-_root._x) * 0.5);
_y = ((-_root._y) * 0.5);
};
Instance of Symbol 40 MovieClip "Door0" in Symbol 864 MovieClip [InteractLayerMenus1] Frame 1 (100 B)
onClipEvent (load) {
worm = "Menus2";
_root.Setup = function () {
_root._quality = "high";
};
}
Symbol 870 MovieClip [ForegroundMenus1] Frame 1 (8 B)
stop();
Instance of Symbol 868 MovieClip in Symbol 870 MovieClip [ForegroundMenus1] Frame 1 (395 B)
onClipEvent (load) {
_x = 10;
_y = _root.Char._y;
onEnterFrame = function () {
if ((_root.Char._x > 10) && (_root.Char._x < 130)) {
_x = (_x + ((_root.Char._x - _x) / 5));
} else if (_root.Char._x <= 10) {
_x = (_x + ((10 - _x) / 5));
} else if (_root.Char._x >= 130) {
_x = (_x + ((130 - _x) / 5));
}
_y = (_y + ((_root.Char._y - _y) / 5));
};
}
Symbol 874 MovieClip [Zee] Frame 122 (23 B)
removeMovieClip(this);
Symbol 886 MovieClip [ScratchBlast] Frame 8 (23 B)
removeMovieClip(this);
Symbol 889 MovieClip [PauseMenu] Frame 6 (8 B)
stop();
Symbol 889 MovieClip [PauseMenu] Frame 12 (94 B)
_root.onEnterFrame = _root.unpausedEnterFrame;
_root.Paused = false;
removeMovieClip(this);
Symbol 895 Button (63 B)
on (press) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 897 MovieClip [ForegroundMenus2] Frame 1 (8 B)
stop();
Instance of Symbol 40 MovieClip "Door0" in Symbol 898 MovieClip [InteractLayerMenus2] Frame 1 (59 B)
onClipEvent (load) {
worm = "Menus3";
SnapBack = false;
}
Instance of Symbol 40 MovieClip "Door1" in Symbol 898 MovieClip [InteractLayerMenus2] Frame 1 (40 B)
onClipEvent (load) {
worm = "Menus5";
}
Instance of Symbol 40 MovieClip "Door3" in Symbol 898 MovieClip [InteractLayerMenus2] Frame 1 (40 B)
onClipEvent (load) {
worm = "Menus4";
}
Instance of Symbol 40 MovieClip "Door4" in Symbol 898 MovieClip [InteractLayerMenus2] Frame 1 (59 B)
onClipEvent (load) {
worm = "Level1";
SnapBack = false;
}
Symbol 912 MovieClip [ForegroundMenus3] Frame 1 (8 B)
stop();
Symbol 913 MovieClip [InteractLayerMenus3] Frame 1 (36 B)
gotoAndStop(_root.LevelSelect + 1);
Instance of Symbol 40 MovieClip "Door3" in Symbol 913 MovieClip [InteractLayerMenus3] Frame 1 (40 B)
onClipEvent (load) {
worm = "Menus2";
}
Instance of Symbol 40 MovieClip "Door0" in Symbol 913 MovieClip [InteractLayerMenus3] Frame 2 (59 B)
onClipEvent (load) {
worm = "Level1";
SnapBack = false;
}
Instance of Symbol 40 MovieClip "Door1" in Symbol 913 MovieClip [InteractLayerMenus3] Frame 3 (59 B)
onClipEvent (load) {
worm = "Level2";
SnapBack = false;
}
Instance of Symbol 40 MovieClip "Door2" in Symbol 913 MovieClip [InteractLayerMenus3] Frame 4 (59 B)
onClipEvent (load) {
worm = "Level3";
SnapBack = false;
}
Symbol 915 MovieClip [FadeIn] Frame 1 (26 B)
trace(_root.LevelLoaded);
Symbol 915 MovieClip [FadeIn] Frame 36 (112 B)
_root.BackgroundVolume = 100;
_root.BackgroundMusic.setVolume(_root.BackgroundVolume);
removeMovieClip(this);
Symbol 919 MovieClip [ForegroundMenus4] Frame 1 (8 B)
stop();
Symbol 922 MovieClip Frame 1 (8 B)
stop();
Symbol 922 MovieClip Frame 6 (12 B)
GamePlan();
Instance of Symbol 40 MovieClip "Door0" in Symbol 923 MovieClip [InteractLayerMenus4] Frame 1 (40 B)
onClipEvent (load) {
worm = "Menus2";
}
Instance of Symbol 922 MovieClip "MarioBlock0" in Symbol 923 MovieClip [InteractLayerMenus4] Frame 1 (95 B)
onClipEvent (load) {
GamePlan = function () {
_root.ColorEm++;
_root.ColorEmPants();
};
}
Instance of Symbol 922 MovieClip "MarioBlock1" in Symbol 923 MovieClip [InteractLayerMenus4] Frame 1 (95 B)
onClipEvent (load) {
GamePlan = function () {
_root.ColorEm--;
_root.ColorEmPants();
};
}
Instance of Symbol 922 MovieClip "MarioBlock2" in Symbol 923 MovieClip [InteractLayerMenus4] Frame 1 (311 B)
onClipEvent (load) {
GamePlan = function () {
delete _root.Fancy_local_data.data.TrophyGet;
delete _root.Fancy_local_data.data.CanWallJump;
delete _root.Fancy_local_data.data.LevelSelect;
_root.TrophyGet = [false, false, false, false, false];
_root.CanWallJump = false;
_root.LevelSelect = 0;
};
}
Symbol 925 MovieClip [FadeOut] Frame 1 (447 B)
_x = (-_root._x);
_y = (-_root._y);
if ((substring(_root.LevelLoaded, 1, 5)) == (substring(worm, 1, 5))) {
onEnterFrame = function () {
_x = (-_root._x);
_y = (-_root._y);
};
} else {
onEnterFrame = function () {
_x = (-_root._x);
_y = (-_root._y);
if (_root.BackgroundVolume > 0) {
_root.BackgroundVolume = _root.BackgroundVolume - 5;
_root.BackgroundMusic.setVolume(_root.BackgroundVolume);
}
};
}
Symbol 925 MovieClip [FadeOut] Frame 36 (173 B)
if ((substring(_root.LevelLoaded, 1, 5)) != (substring(worm, 1, 5))) {
_root.BackgroundMusic.stop();
}
_root.EndLevel();
_root.LoadLevel(worm);
removeMovieClip(this);
Symbol 937 MovieClip [Trophies] Frame 1 (8 B)
stop();
Symbol 938 MovieClip [ForegroundMenus5] Frame 1 (8 B)
stop();
Symbol 939 MovieClip Frame 1 (8 B)
stop();
Instance of Symbol 159 MovieClip in Symbol 939 MovieClip Frame 1 (116 B)
onClipEvent (load) {
if (_root.TrophyGet[_parent.ID - 1]) {
gotoAndStop(_parent.ID + 1);
} else {
stop();
}
}
Symbol 939 MovieClip Frame 2 (48 B)
if (_root.TrophyGet[ID - 1]) {
GamePlan();
}
Instance of Symbol 40 MovieClip "Door0" in Symbol 940 MovieClip [InteractLayerMenus5] Frame 1 (40 B)
onClipEvent (load) {
worm = "Menus2";
}
Instance of Symbol 939 MovieClip "MarioBlock0" in Symbol 940 MovieClip [InteractLayerMenus5] Frame 1 (257 B)
onClipEvent (load) {
ID = 1;
GamePlan = function () {
if (_root.Foreground.Trophies._currentframe == (ID + 1)) {
getURL ("http://www.newgrounds.com/portal/view/187409", "_blank");
} else {
_root.Foreground.Trophies.gotoAndStop(ID + 1);
}
};
}
Instance of Symbol 939 MovieClip "MarioBlock1" in Symbol 940 MovieClip [InteractLayerMenus5] Frame 1 (258 B)
onClipEvent (load) {
ID = 2;
GamePlan = function () {
if (_root.Foreground.Trophies._currentframe == (ID + 1)) {
getURL ("http://www.shockwave.com/sw/content/snowblitz", "_blank");
} else {
_root.Foreground.Trophies.gotoAndStop(ID + 1);
}
};
}
Instance of Symbol 939 MovieClip "MarioBlock2" in Symbol 940 MovieClip [InteractLayerMenus5] Frame 1 (242 B)
onClipEvent (load) {
ID = 3;
GamePlan = function () {
if (_root.Foreground.Trophies._currentframe == (ID + 1)) {
getURL ("http://www.neptunecircle.com/", "_blank");
} else {
_root.Foreground.Trophies.gotoAndStop(ID + 1);
}
};
}
Instance of Symbol 939 MovieClip "MarioBlock3" in Symbol 940 MovieClip [InteractLayerMenus5] Frame 1 (244 B)
onClipEvent (load) {
ID = 4;
GamePlan = function () {
if (_root.Foreground.Trophies._currentframe == (ID + 1)) {
getURL ("http://www.erikthejuiceman.com/", "_blank");
} else {
_root.Foreground.Trophies.gotoAndStop(ID + 1);
}
};
}
Instance of Symbol 939 MovieClip "MarioBlock4" in Symbol 940 MovieClip [InteractLayerMenus5] Frame 1 (242 B)
onClipEvent (load) {
ID = 5;
GamePlan = function () {
if (_root.Foreground.Trophies._currentframe == (ID + 1)) {
getURL ("http://animatedexcursion.com/", "_blank");
} else {
_root.Foreground.Trophies.gotoAndStop(ID + 1);
}
};
}
Symbol 944 MovieClip [ForegroundMenus6] Frame 1 (8 B)
stop();
Symbol 945 Button (23 B)
on (press) {
play();
}
Symbol 948 MovieClip Frame 1 (110 B)
onEnterFrame = function () {
if (hitTest(_root.Char._x, _root.Char._y, true)) {
play();
}
};
stop();
Symbol 948 MovieClip Frame 2 (49 B)
delete onEnterFrame;
_root.SwordNoise.start();
Symbol 948 MovieClip Frame 16 (111 B)
onEnterFrame = function () {
if (!hitTest(_root.Char._x, _root.Char._y, true)) {
play();
}
};
stop();
Symbol 948 MovieClip Frame 17 (49 B)
delete onEnterFrame;
_root.SwordNoise.start();
Instance of Symbol 40 MovieClip "Door0" in Symbol 949 MovieClip [InteractLayerMenus6] Frame 1 (40 B)
onClipEvent (load) {
worm = "Menus2";
}
Instance of Symbol 40 MovieClip "Door0" in Symbol 952 MovieClip [InteractLayerMenus7] Frame 1 (40 B)
onClipEvent (load) {
worm = "Menus2";
}
Symbol 954 MovieClip [ForegroundMenus7] Frame 1 (8 B)
stop();
Symbol 961 MovieClip [tehgroundLevel1] Frame 1 (8 B)
stop();
Instance of Symbol 174 MovieClip [JumpPad] "JumpPad0" in Symbol 962 MovieClip [BLayerLevel1] Frame 1 (36 B)
onClipEvent (load) {
Thrust = 40;
}
Instance of Symbol 174 MovieClip [JumpPad] "JumpPad1" in Symbol 962 MovieClip [BLayerLevel1] Frame 1 (36 B)
onClipEvent (load) {
Thrust = 30;
}
Instance of Symbol 174 MovieClip [JumpPad] "JumpPad2" in Symbol 962 MovieClip [BLayerLevel1] Frame 1 (36 B)
onClipEvent (load) {
Thrust = 30;
}
Symbol 965 MovieClip Frame 1 (76 B)
if (_root.Boxit == true) {
opaqueBackground = 13421772 /* 0xCCCCCC */;
}
Symbol 969 MovieClip Frame 1 (76 B)
if (_root.Boxit == true) {
opaqueBackground = 13421772 /* 0xCCCCCC */;
}
Symbol 971 MovieClip Frame 1 (76 B)
if (_root.Boxit == true) {
opaqueBackground = 13421772 /* 0xCCCCCC */;
}
Symbol 973 MovieClip Frame 1 (76 B)
if (_root.Boxit == true) {
opaqueBackground = 13421772 /* 0xCCCCCC */;
}
Symbol 975 MovieClip Frame 1 (76 B)
if (_root.Boxit == true) {
opaqueBackground = 13421772 /* 0xCCCCCC */;
}
Symbol 977 MovieClip Frame 1 (76 B)
if (_root.Boxit == true) {
opaqueBackground = 13421772 /* 0xCCCCCC */;
}
Symbol 979 MovieClip Frame 1 (76 B)
if (_root.Boxit == true) {
opaqueBackground = 13421772 /* 0xCCCCCC */;
}
Symbol 983 MovieClip Frame 1 (76 B)
if (_root.Boxit == true) {
opaqueBackground = 13421772 /* 0xCCCCCC */;
}
Symbol 985 MovieClip Frame 1 (76 B)
if (_root.Boxit == true) {
opaqueBackground = 13421772 /* 0xCCCCCC */;
}
Symbol 987 MovieClip Frame 1 (76 B)
if (_root.Boxit == true) {
opaqueBackground = 13421772 /* 0xCCCCCC */;
}
Symbol 989 MovieClip Frame 1 (76 B)
if (_root.Boxit == true) {
opaqueBackground = 13421772 /* 0xCCCCCC */;
}
Symbol 991 MovieClip Frame 1 (76 B)
if (_root.Boxit == true) {
opaqueBackground = 13421772 /* 0xCCCCCC */;
}
Symbol 993 MovieClip Frame 1 (76 B)
if (_root.Boxit == true) {
opaqueBackground = 13421772 /* 0xCCCCCC */;
}
Symbol 995 MovieClip Frame 1 (76 B)
if (_root.Boxit == true) {
opaqueBackground = 13421772 /* 0xCCCCCC */;
}
Symbol 997 MovieClip Frame 1 (76 B)
if (_root.Boxit == true) {
opaqueBackground = 13421772 /* 0xCCCCCC */;
}
Symbol 999 MovieClip Frame 1 (76 B)
if (_root.Boxit == true) {
opaqueBackground = 13421772 /* 0xCCCCCC */;
}
Symbol 1001 MovieClip Frame 1 (1 B)
Symbol 1003 MovieClip Frame 1 (1 B)
Symbol 1005 MovieClip Frame 1 (1 B)
Symbol 1007 MovieClip Frame 1 (1 B)
Symbol 1009 MovieClip Frame 1 (76 B)
if (_root.Boxit == true) {
opaqueBackground = 13421772 /* 0xCCCCCC */;
}
Symbol 1011 MovieClip Frame 1 (76 B)
if (_root.Boxit == true) {
opaqueBackground = 13421772 /* 0xCCCCCC */;
}
Symbol 1013 MovieClip Frame 1 (76 B)
if (_root.Boxit == true) {
opaqueBackground = 13421772 /* 0xCCCCCC */;
}
Symbol 1015 MovieClip [ForegroundLevel1] Frame 1 (8 B)
stop();
Symbol 1017 MovieClip Frame 2 (8 B)
stop();
Symbol 1019 MovieClip Frame 1 (8 B)
stop();
Symbol 1019 MovieClip Frame 2 (214 B)
rot = (_root.Char.moveRL + _root.Char.moveUD) * 2;
_root[_root.LevelLoaded + "DontCheat"].push(this);
onEnterFrame = function () {
_rotation = (_rotation + rot);
_root.PayPants();
_root.HurtPants(-5);
};
Symbol 1019 MovieClip Frame 7 (67 B)
onEnterFrame = function () {
_rotation = (_rotation + rot);
};
Symbol 1019 MovieClip Frame 12 (74 B)
delete onEnterFrame;
_visible = false;
removeMovieClip(this);
stop();
Symbol 1021 MovieClip Frame 1 (1 B)
Symbol 1021 MovieClip Frame 2 (8 B)
stop();
Symbol 1021 MovieClip Frame 3 (430 B)
_root.Char.gotoAndStop("GetInBox");
onEnterFrame = function () {
if (_root.Char._x > (_x + 5)) {
_root.Char.moveRL--;
}
if (_root.Char._x < (_x - 5)) {
_root.Char.moveRL++;
}
if (_root.Char._y > _y) {
_root.Char._y = _y;
_root.Char.GetInBox.gotoAndPlay(6);
delete _root.Char.onEnterFrame;
prevFrame();
_root.SnapBack = [_x, _y];
delete onEnterFrame;
_root.ChangeLevel(worm);
}
};
Symbol 1022 MovieClip [InteractLayerLevel1] Frame 1 (8 B)
stop();
Instance of Symbol 40 MovieClip "Door0" in Symbol 1022 MovieClip [InteractLayerLevel1] Frame 1 (33 B)
onClipEvent (load) {
worm = 1;
}
Instance of Symbol 40 MovieClip "Door3" in Symbol 1022 MovieClip [InteractLayerLevel1] Frame 1 (58 B)
onClipEvent (load) {
worm = "Bonus1";
SnapBack = true;
}
Instance of Symbol 40 MovieClip "Door2" in Symbol 1022 MovieClip [InteractLayerLevel1] Frame 1 (40 B)
onClipEvent (load) {
worm = "Bonus2";
}
Instance of Symbol 922 MovieClip "MarioBlock0" in Symbol 1022 MovieClip [InteractLayerLevel1] Frame 1 (228 B)
onClipEvent (load) {
GamePlan = function () {
if (_root.Level1Skigs > 0) {
_root.Level1Skigs--;
_root.Squiggles++;
_root.HurtPants(-5);
_root.SkigPop(_x + 20, _y - 22, random(10) - 5, random(5) + 25);
}
};
}
Instance of Symbol 1021 MovieClip "GetInBox" in Symbol 1022 MovieClip [InteractLayerLevel1] Frame 1 (40 B)
onClipEvent (load) {
worm = "Bonus3";
}
Instance of Symbol 160 MovieClip "Trophy" in Symbol 1022 MovieClip [InteractLayerLevel1] Frame 1 (31 B)
onClipEvent (load) {
ID = 1;
}
Symbol 1029 MovieClip [tehgroundLevel2] Frame 1 (8 B)
stop();
Instance of Symbol 174 MovieClip [JumpPad] "JumpPad0" in Symbol 1030 MovieClip [BLayerLevel2] Frame 1 (36 B)
onClipEvent (load) {
Thrust = 37;
}
Instance of Symbol 174 MovieClip [JumpPad] "JumpPad1" in Symbol 1030 MovieClip [BLayerLevel2] Frame 1 (36 B)
onClipEvent (load) {
Thrust = 30;
}
Instance of Symbol 174 MovieClip [JumpPad] "JumpPad2" in Symbol 1030 MovieClip [BLayerLevel2] Frame 1 (36 B)
onClipEvent (load) {
Thrust = 30;
}
Instance of Symbol 174 MovieClip [JumpPad] "JumpPad3" in Symbol 1030 MovieClip [BLayerLevel2] Frame 1 (36 B)
onClipEvent (load) {
Thrust = 35;
}
Instance of Symbol 174 MovieClip [JumpPad] "JumpPad4" in Symbol 1030 MovieClip [BLayerLevel2] Frame 1 (36 B)
onClipEvent (load) {
Thrust = 42;
}
Instance of Symbol 174 MovieClip [JumpPad] "JumpPad5" in Symbol 1030 MovieClip [BLayerLevel2] Frame 1 (36 B)
onClipEvent (load) {
Thrust = 35;
}
Symbol 1055 MovieClip [ForegroundLevel2] Frame 1 (8 B)
stop();
Instance of Symbol 40 MovieClip "Door0" in Symbol 1056 MovieClip [InteractLayerLevel2] Frame 1 (58 B)
onClipEvent (load) {
worm = "Bonus5";
SnapBack = true;
}
Instance of Symbol 40 MovieClip "Door2" in Symbol 1056 MovieClip [InteractLayerLevel2] Frame 1 (40 B)
onClipEvent (load) {
worm = "Bonus4";
}
Instance of Symbol 40 MovieClip "Door1" in Symbol 1056 MovieClip [InteractLayerLevel2] Frame 1 (58 B)
onClipEvent (load) {
worm = "Bonus7";
SnapBack = true;
}
Instance of Symbol 160 MovieClip "Trophy" in Symbol 1056 MovieClip [InteractLayerLevel2] Frame 1 (31 B)
onClipEvent (load) {
ID = 4;
}
Symbol 1059 MovieClip [Background2] Frame 1 (91 B)
onEnterFrame = function () {
_x = ((-_root._x) * 0.5);
_y = ((-_root._y) * 0.5);
};
Symbol 1065 MovieClip [tehgroundLevel3] Frame 1 (8 B)
stop();
Instance of Symbol 174 MovieClip [JumpPad] "JumpPad0" in Symbol 1066 MovieClip [BLayerLevel3] Frame 1 (36 B)
onClipEvent (load) {
Thrust = 28;
}
Instance of Symbol 40 MovieClip "Door0" in Symbol 1067 MovieClip [InteractLayerLevel3] Frame 1 (58 B)
onClipEvent (load) {
worm = "Bonus8";
SnapBack = true;
}
Instance of Symbol 1021 MovieClip "GetInBox" in Symbol 1067 MovieClip [InteractLayerLevel3] Frame 1 (40 B)
onClipEvent (load) {
worm = "Bonus9";
}
Symbol 1084 MovieClip [ForegroundLevel3] Frame 1 (8 B)
stop();
Symbol 1088 MovieClip [ForegroundBonus1] Frame 1 (8 B)
stop();
Instance of Symbol 40 MovieClip "Door0" in Symbol 1089 MovieClip [InteractLayerBonus1] Frame 1 (40 B)
onClipEvent (load) {
worm = "Level1";
}
Instance of Symbol 1096 MovieClip "movingWallz" in Symbol 1097 MovieClip [tehwallzBonus2] Frame 1 (82 B)
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
}
Instance of Symbol 174 MovieClip [JumpPad] "JumpPad0" in Symbol 1098 MovieClip [BLayerBonus2] Frame 1 (36 B)
onClipEvent (load) {
Thrust = 30;
}
Instance of Symbol 1102 MovieClip in Symbol 1103 MovieClip Frame 1 (116 B)
onClipEvent (enterFrame) {
_x = _root.tehwallz.movingWallz.gears._x;
_y = _root.tehwallz.movingWallz.gears._y;
}
Symbol 1105 MovieClip Frame 1 (76 B)
if (_root.Boxit == true) {
opaqueBackground = 13421772 /* 0xCCCCCC */;
}
Symbol 1107 MovieClip Frame 1 (76 B)
if (_root.Boxit == true) {
opaqueBackground = 13421772 /* 0xCCCCCC */;
}
Symbol 1109 MovieClip Frame 1 (76 B)
if (_root.Boxit == true) {
opaqueBackground = 13421772 /* 0xCCCCCC */;
}
Symbol 1111 MovieClip Frame 1 (76 B)
if (_root.Boxit == true) {
opaqueBackground = 13421772 /* 0xCCCCCC */;
}
Symbol 1112 MovieClip [ForegroundBonus2] Frame 1 (8 B)
stop();
Instance of Symbol 40 MovieClip "Door0" in Symbol 1113 MovieClip [InteractLayerBonus2] Frame 1 (59 B)
onClipEvent (load) {
worm = "Level2";
SnapBack = false;
}
Symbol 1120 MovieClip [tehgroundBonus3] Frame 1 (8 B)
stop();
Instance of Symbol 174 MovieClip [JumpPad] "JumpPad1" in Symbol 1121 MovieClip [BLayerBonus3] Frame 1 (36 B)
onClipEvent (load) {
Thrust = 35;
}
Instance of Symbol 5 MovieClip in Symbol 1121 MovieClip [BLayerBonus3] Frame 1 (114 B)
onClipEvent (load) {
worm = "Level1";
thrust = 15;
gameplan = function () {
_root.KillWallJump = false;
};
}
Instance of Symbol 174 MovieClip [JumpPad] "JumpPad0" in Symbol 1121 MovieClip [BLayerBonus3] Frame 1 (36 B)
onClipEvent (load) {
Thrust = 35;
}
Symbol 1126 MovieClip Frame 1 (8 B)
stop();
Symbol 1126 MovieClip Frame 2 (14 B)
_yscale = 0;
Symbol 1126 MovieClip Frame 16 (532 B)
i = 0.5;
onEnterFrame = function () {
if (!_root.Paused) {
_yscale = (_yscale + i);
i = i + 0.005;
if (hitTest(_root.Char._x, _root.Char._y - 55, true)) {
_root.Char.moveRL = _root.Char.moveRL * 0.1;
_root.Char.moveUD = 0;
_root.HurtPants(100);
_root.Char.gotoAndStop("FrontSlam");
_root.trickpony = thrust;
_root.LevelLoaded = "Level1";
_root.Setup = function () {
_root.Char.JumpFunc(_root.trickpony);
_root.Char.moveRL = 5;
};
delete onEnterFrame;
}
}
};
stop();
Symbol 1170 MovieClip [ForegroundBonus3] Frame 1 (8 B)
stop();
Instance of Symbol 1126 MovieClip "InkLava" in Symbol 1170 MovieClip [ForegroundBonus3] Frame 1 (54 B)
onClipEvent (load) {
worm = "Level1";
thrust = 15;
}
Instance of Symbol 1159 MovieClip "InkSurface" in Symbol 1170 MovieClip [ForegroundBonus3] Frame 1 (151 B)
onClipEvent (enterFrame) {
if (_root.Paused) {
stop();
} else {
play();
}
while (_parent.InkLava.hitTest(_x, _y, false)) {
_y = (_y-1);
}
}
Symbol 1206 MovieClip Frame 1 (134 B)
onEnterFrame = function () {
if (hitTest(_root.Char._x, _root.Char._y, true)) {
play();
delete onEnterFrame;
}
};
stop();
Symbol 1206 MovieClip Frame 27 (48 B)
stop();
_root.Foreground.MessageFromMe.play();
Symbol 1206 MovieClip Frame 60 (126 B)
_root.Foreground.InkLava.play();
onEnterFrame = function () {
if (_root.Paused) {
stop();
} else {
play();
}
};
Symbol 1206 MovieClip Frame 66 (25 B)
gotoAndPlay ("InkLoop");
Instance of Symbol 40 MovieClip "Door0" in Symbol 1207 MovieClip [InteractLayerBonus3] Frame 1 (40 B)
onClipEvent (load) {
worm = "Level2";
}
Instance of Symbol 1211 MovieClip "movingPlat1" in Symbol 1212 MovieClip [tehplatformzBonus4] Frame 1 (134 B)
onClipEvent (load) {
smokeRL = 0;
moveRL = 0;
centerRL = _x - 150;
speedRL = 0.3;
onEnterFrame = _root.PlatMoveVacant;
id = 1;
}
Instance of Symbol 1211 MovieClip "movingPlat2" in Symbol 1212 MovieClip [tehplatformzBonus4] Frame 1 (134 B)
onClipEvent (load) {
smokeRL = 0;
moveRL = 0;
centerRL = _x + 150;
speedRL = 0.3;
onEnterFrame = _root.PlatMoveVacant;
id = 2;
}
Instance of Symbol 1211 MovieClip "movingPlat3" in Symbol 1212 MovieClip [tehplatformzBonus4] Frame 1 (134 B)
onClipEvent (load) {
smokeRL = 0;
moveRL = 0;
centerRL = _x - 150;
speedRL = 0.3;
onEnterFrame = _root.PlatMoveVacant;
id = 3;
}
Symbol 1216 MovieClip [tehgroundBonus4] Frame 1 (8 B)
stop();
Instance of Symbol 174 MovieClip [JumpPad] "JumpPad0" in Symbol 1217 MovieClip [BLayerBonus4] Frame 1 (36 B)
onClipEvent (load) {
Thrust = 35;
}
Symbol 1226 MovieClip [ForegroundBonus4] Frame 1 (8 B)
stop();
Instance of Symbol 5 MovieClip in Symbol 1227 MovieClip [InteractLayerBonus4] Frame 1 (59 B)
onClipEvent (load) {
worm = "Level3";
SnapBack = false;
}
Symbol 1236 MovieClip Frame 1 (8 B)
stop();
Symbol 1236 MovieClip Frame 2 (91 B)
_root.Char._x = _x;
oldx = _x;
oldy = _y;
onEnterFrame = _root.JumpPadLockMoveOccupied;
Symbol 1236 MovieClip Frame 5 (25 B)
_root.ClickLock.start();
Symbol 1236 MovieClip Frame 9 (8 B)
stop();
Symbol 1236 MovieClip Frame 12 (91 B)
_root.Char.moveRL = 0;
_root.Char.JumpFunc(thrust, true);
_root.Spring.start();
play();
Instance of Symbol 1236 MovieClip "JumpPad1" in Symbol 1237 MovieClip [BLayerBonus5] Frame 1 (36 B)
onClipEvent (load) {
thrust = 25;
}
Instance of Symbol 1236 MovieClip "JumpPad0" in Symbol 1237 MovieClip [BLayerBonus5] Frame 1 (167 B)
onClipEvent (load) {
thrust = 25;
smokeRL = 0;
moveRL = 0;
centerRL = _x + 150;
speedRL = 0.1;
maxRL = 7;
onEnterFrame = _root.JumpPadLockMoveVacant;
id = 0;
}
Instance of Symbol 1236 MovieClip "JumpPad2" in Symbol 1237 MovieClip [BLayerBonus5] Frame 1 (167 B)
onClipEvent (load) {
thrust = 25;
smokeRL = 0;
moveRL = 0;
centerRL = _x - 150;
speedRL = 0.1;
maxRL = 7;
onEnterFrame = _root.JumpPadLockMoveVacant;
id = 0;
}
Instance of Symbol 1236 MovieClip "JumpPad3" in Symbol 1237 MovieClip [BLayerBonus5] Frame 1 (36 B)
onClipEvent (load) {
thrust = 25;
}
Instance of Symbol 1236 MovieClip "JumpPad4" in Symbol 1237 MovieClip [BLayerBonus5] Frame 1 (168 B)
onClipEvent (load) {
thrust = 25;
smokeRL = 0;
moveRL = 0;
centerRL = _x + 250;
speedRL = 0.3;
maxRL = 10;
onEnterFrame = _root.JumpPadLockMoveVacant;
id = 0;
}
Instance of Symbol 1236 MovieClip "JumpPad5" in Symbol 1237 MovieClip [BLayerBonus5] Frame 1 (36 B)
onClipEvent (load) {
thrust = 25;
}
Symbol 1242 MovieClip [ForegroundBonus5] Frame 1 (8 B)
stop();
Symbol 1252 MovieClip [ForegroundBonus6] Frame 1 (285 B)
stop();
drop = 1;
onEnterFrame = function () {
if (_root.MinY > -1300) {
if (drop < 5) {
drop = drop * 1.01;
}
} else if (drop > 0.05) {
drop = drop * 0.95;
} else {
drop = 0;
}
_root.MinY = _root.MinY - drop;
_root.MaxY = _root.MaxY - drop;
};
Instance of Symbol 5 MovieClip in Symbol 1253 MovieClip [InteractLayerBonus6] Frame 1 (54 B)
onClipEvent (load) {
worm = "Level3";
thrust = 20;
}
Instance of Symbol 40 MovieClip "Door0" in Symbol 1253 MovieClip [InteractLayerBonus6] Frame 1 (40 B)
onClipEvent (load) {
worm = "Level2";
}
Instance of Symbol 160 MovieClip "Trophy" in Symbol 1253 MovieClip [InteractLayerBonus6] Frame 1 (31 B)
onClipEvent (load) {
ID = 4;
}
Instance of Symbol 174 MovieClip [JumpPad] "JumpPad1" in Symbol 1260 MovieClip [BLayerBonus7] Frame 1 (36 B)
onClipEvent (load) {
Thrust = 30;
}
Instance of Symbol 40 MovieClip "Door0" in Symbol 1264 MovieClip [InteractLayerBonus7] Frame 1 (40 B)
onClipEvent (load) {
worm = "Level2";
}
Instance of Symbol 160 MovieClip "Trophy" in Symbol 1264 MovieClip [InteractLayerBonus7] Frame 1 (31 B)
onClipEvent (load) {
ID = 3;
}
Symbol 1267 MovieClip [tehgroundBonus8] Frame 1 (8 B)
stop();
Symbol 1282 MovieClip Frame 1 (8 B)
stop();
Symbol 1282 MovieClip Frame 2 (44 B)
_root.Char._x = _x;
_root.Char.moveRL = 0;
Symbol 1282 MovieClip Frame 12 (8 B)
stop();
Symbol 1282 MovieClip Frame 13 (44 B)
_root.Char._x = _x;
_root.Char.moveRL = 0;
Symbol 1282 MovieClip Frame 23 (8 B)
stop();
Symbol 1282 MovieClip Frame 24 (44 B)
_root.Char._x = _x;
_root.Char.moveRL = 0;
Symbol 1282 MovieClip Frame 34 (42 B)
_root.InteractLayer.nextFrame();
stop();
Symbol 1287 MovieClip [InteractLayerBonus8] Frame 1 (8 B)
stop();
Instance of Symbol 40 MovieClip "Door0" in Symbol 1287 MovieClip [InteractLayerBonus8] Frame 1 (40 B)
onClipEvent (load) {
worm = "Level3";
}
Instance of Symbol 160 MovieClip "Trophy" in Symbol 1287 MovieClip [InteractLayerBonus8] Frame 2 (31 B)
onClipEvent (load) {
ID = 5;
}
Symbol 1297 MovieClip [InteractLayerBonus9] Frame 1 (8 B)
stop();
Instance of Symbol 40 MovieClip "Door0" in Symbol 1297 MovieClip [InteractLayerBonus9] Frame 2 (59 B)
onClipEvent (load) {
worm = "Menus1";
SnapBack = false;
}
Symbol 1297 MovieClip [InteractLayerBonus9] Frame 21 (8 B)
stop();
Symbol 1320 MovieClip Frame 1 (8 B)
stop();