Frame 6 (3.15 KiB) ●
function xFanEffect(critterX, critterY) {
var xSeperation;
var ySeperation;
var SEPERATIONDIVIDER = 10;
var POWERMULTIPLIER = 0.04;
var seperationSquared;
var totalPower;
xSeperation = (critterX - _root._xmouse) / SEPERATIONDIVIDER;
ySeperation = (critterY - _root._ymouse) / SEPERATIONDIVIDER;
seperationSquared = (xSeperation * xSeperation) + (ySeperation * ySeperation);
totalPower = ((_root.fanpower * _root.fanpower) * POWERMULTIPLIER) / seperationSquared;
return(totalPower * (xSeperation / (Math.abs(xSeperation) + Math.abs(ySeperation))));
}
function yFanEffect(critterX, critterY) {
var xSeperation;
var ySeperation;
var SEPERATIONDIVIDER = 10;
var POWERMULTIPLIER = 0.04;
var seperationSquared;
var totalPower;
xSeperation = (critterX - _root._xmouse) / SEPERATIONDIVIDER;
ySeperation = (critterY - _root._ymouse) / SEPERATIONDIVIDER;
seperationSquared = (xSeperation * xSeperation) + (ySeperation * ySeperation);
totalPower = ((_root.fanpower * _root.fanpower) * POWERMULTIPLIER) / seperationSquared;
return(totalPower * (ySeperation / (Math.abs(xSeperation) + Math.abs(ySeperation))));
}
function checkForDeath(critterX, critterY) {
if (((((((((((((((((((_root.hole1.hitTest(critterX, critterY) || (_root.hole2.hitTest(critterX, critterY))) || (_root.hole3.hitTest(critterX, critterY))) || (_root.hole4.hitTest(critterX, critterY))) || (_root.hole5.hitTest(critterX, critterY))) || (_root.hole6.hitTest(critterX, critterY))) || (_root.hole7.hitTest(critterX, critterY))) || (_root.hole8.hitTest(critterX, critterY))) || (_root.hole9.hitTest(critterX, critterY))) || (_root.hole10.hitTest(critterX, critterY))) || (_root.hole11.hitTest(critterX, critterY))) || (_root.hole12.hitTest(critterX, critterY))) || (_root.hole13.hitTest(critterX, critterY))) || (_root.hole14.hitTest(critterX, critterY))) || (_root.hole15.hitTest(critterX, critterY))) || (_root.hole16.hitTest(critterX, critterY))) || (_root.hole17.hitTest(critterX, critterY))) || (_root.hole18.hitTest(critterX, critterY))) || (_root.hole19.hitTest(critterX, critterY))) || (_root.hole20.hitTest(critterX, critterY))) {
Mouse.show();
_root.deaths++;
_root.gotoAndStop("holeDeath");
}
if (((_root.enemy1.hitTest(critterX, critterY) || (_root.enemy2.hitTest(critterX, critterY))) || (_root.enemy3.hitTest(critterX, critterY))) || (_root.enemy4.hitTest(critterX, critterY))) {
Mouse.show();
_root.deaths++;
_root.gotoAndStop("enemyDeath");
}
}
function updateTime() {
timeElapsed = (getTimer() - startTime) / 1000;
timeElapsed = timeElapsed - (timeElapsed % 1);
minutesElapsed = (timeElapsed - (timeElapsed % 60)) / 60;
secondsElapsed = timeElapsed % 60;
secondsUnitsElapsed = secondsElapsed % 10;
secondsTensElapsed = (secondsElapsed - secondsUnitsElapsed) / 10;
}
function nextLevel() {
updateTime();
level++;
Mouse.show();
if (7 < level) {
level = 1;
gotoAndStop (116);
} else {
_root.gotoAndStop("levelEnd");
}
}
var fanPower = 0;
var level = 1;
var startTime = getTimer();
var timeElapsed = 0;
var minutesElapsed = 0;
var secondsTensElapsed = 0;
var secondsUnitsElapsed = 0;
var secondsElapsed = 0;
var deaths = 0;
stop();
Instance of Symbol 41 MovieClip "fan" in Frame 6 (87 B)
onClipEvent (enterFrame) {
Mouse.hide();
_x = _root._xMouse;
_y = _root._yMouse;
}
Instance of Symbol 45 MovieClip "critter1" in Frame 6 (2.19 KiB) ●
onClipEvent (load) {
var dx = 0;
var dy = 0;
var previousx;
var previousy;
var MAXD = 20;
var FRICTION = 0.9;
var BOUNCINESS = -1;
var TOPBOUNDARY = (0 + (_height / 2));
var BOTTOMBOUNDARY = (370 - (_height / 2));
var LEFTBOUNDARY = (150 + (_width / 2));
var RIGHTBOUNDARY = (550 - (_width / 2));
}
onClipEvent (enterFrame) {
dx = dx + _root.xFanEffect(_x, _y);
dy = dy + _root.yFanEffect(_x, _y);
if (MAXD < dx) {
dx = MAXD;
} else if (dx < (-MAXD)) {
dx = -MAXD;
}
if (MAXD < dy) {
dy = MAXD;
} else if (dy < (-MAXD)) {
dy = -MAXD;
}
_x = (_x + dx);
_y = (_y + dy);
dx = dx * FRICTION;
dy = dy * FRICTION;
if (_y < TOPBOUNDARY) {
_y = TOPBOUNDARY;
dy = dy * BOUNCINESS;
} else if (BOTTOMBOUNDARY < _y) {
_y = BOTTOMBOUNDARY;
dy = dy * BOUNCINESS;
}
if (_x < LEFTBOUNDARY) {
_x = LEFTBOUNDARY;
dx = dx * BOUNCINESS;
} else if (RIGHTBOUNDARY < _x) {
_x = RIGHTBOUNDARY;
dx = dx * BOUNCINESS;
}
if (((((((((((((((((((((((((((((((this.hitTest(_root.block1) || (this.hitTest(_root.block2))) || (this.hitTest(_root.block3))) || (this.hitTest(_root.block4))) || (this.hitTest(_root.block5))) || (this.hitTest(_root.block6))) || (this.hitTest(_root.block7))) || (this.hitTest(_root.block8))) || (this.hitTest(_root.block9))) || (this.hitTest(_root.block10))) || (this.hitTest(_root.block11))) || (this.hitTest(_root.block12))) || (this.hitTest(_root.block13))) || (this.hitTest(_root.block14))) || (this.hitTest(_root.block15))) || (this.hitTest(_root.block16))) || (this.hitTest(_root.block17))) || (this.hitTest(_root.block18))) || (this.hitTest(_root.block19))) || (this.hitTest(_root.block20))) || (this.hitTest(_root.block21))) || (this.hitTest(_root.block22))) || (this.hitTest(_root.block23))) || (this.hitTest(_root.block24))) || (this.hitTest(_root.block25))) || (this.hitTest(_root.block26))) || (this.hitTest(_root.block27))) || (this.hitTest(_root.block28))) || (this.hitTest(_root.block29))) || (this.hitTest(_root.bloc30))) || (this.hitTest(_root.block31))) || (this.hitTest(_root.block32))) {
dx = dx * BOUNCINESS;
dy = dy * BOUNCINESS;
_x = (_x + dx);
_y = (_y + dy);
}
_root.checkForDeath(_x, _y);
previousx = _x;
previousy = _y;
}
Instance of Symbol 48 MovieClip in Frame 6 (89 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.critter1)) {
_root.nextLevel();
}
}
Instance of Symbol 45 MovieClip "critter1" in Frame 16 (2.19 KiB) ●
onClipEvent (load) {
var dx = 0;
var dy = 0;
var previousx;
var previousy;
var MAXD = 20;
var FRICTION = 0.9;
var BOUNCINESS = -1;
var TOPBOUNDARY = (0 + (_height / 2));
var BOTTOMBOUNDARY = (370 - (_height / 2));
var LEFTBOUNDARY = (150 + (_width / 2));
var RIGHTBOUNDARY = (550 - (_width / 2));
}
onClipEvent (enterFrame) {
dx = dx + _root.xFanEffect(_x, _y);
dy = dy + _root.yFanEffect(_x, _y);
if (MAXD < dx) {
dx = MAXD;
} else if (dx < (-MAXD)) {
dx = -MAXD;
}
if (MAXD < dy) {
dy = MAXD;
} else if (dy < (-MAXD)) {
dy = -MAXD;
}
_x = (_x + dx);
_y = (_y + dy);
dx = dx * FRICTION;
dy = dy * FRICTION;
if (_y < TOPBOUNDARY) {
_y = TOPBOUNDARY;
dy = dy * BOUNCINESS;
} else if (BOTTOMBOUNDARY < _y) {
_y = BOTTOMBOUNDARY;
dy = dy * BOUNCINESS;
}
if (_x < LEFTBOUNDARY) {
_x = LEFTBOUNDARY;
dx = dx * BOUNCINESS;
} else if (RIGHTBOUNDARY < _x) {
_x = RIGHTBOUNDARY;
dx = dx * BOUNCINESS;
}
if (((((((((((((((((((((((((((((((this.hitTest(_root.block1) || (this.hitTest(_root.block2))) || (this.hitTest(_root.block3))) || (this.hitTest(_root.block4))) || (this.hitTest(_root.block5))) || (this.hitTest(_root.block6))) || (this.hitTest(_root.block7))) || (this.hitTest(_root.block8))) || (this.hitTest(_root.block9))) || (this.hitTest(_root.block10))) || (this.hitTest(_root.block11))) || (this.hitTest(_root.block12))) || (this.hitTest(_root.block13))) || (this.hitTest(_root.block14))) || (this.hitTest(_root.block15))) || (this.hitTest(_root.block16))) || (this.hitTest(_root.block17))) || (this.hitTest(_root.block18))) || (this.hitTest(_root.block19))) || (this.hitTest(_root.block20))) || (this.hitTest(_root.block21))) || (this.hitTest(_root.block22))) || (this.hitTest(_root.block23))) || (this.hitTest(_root.block24))) || (this.hitTest(_root.block25))) || (this.hitTest(_root.block26))) || (this.hitTest(_root.block27))) || (this.hitTest(_root.block28))) || (this.hitTest(_root.block29))) || (this.hitTest(_root.bloc30))) || (this.hitTest(_root.block31))) || (this.hitTest(_root.block32))) {
dx = dx * BOUNCINESS;
dy = dy * BOUNCINESS;
_x = (_x + dx);
_y = (_y + dy);
}
_root.checkForDeath(_x, _y);
previousx = _x;
previousy = _y;
}
Instance of Symbol 49 MovieClip "critter2" in Frame 16 (2.19 KiB) ●
onClipEvent (load) {
var dx = 0;
var dy = 0;
var previousx;
var previousy;
var MAXD = 20;
var FRICTION = 0.9;
var BOUNCINESS = -2;
var TOPBOUNDARY = (0 + (_height / 2));
var BOTTOMBOUNDARY = (370 - (_height / 2));
var LEFTBOUNDARY = (150 + (_width / 2));
var RIGHTBOUNDARY = (550 - (_width / 2));
}
onClipEvent (enterFrame) {
dx = dx + _root.xFanEffect(_x, _y);
dy = dy + _root.yFanEffect(_x, _y);
if (MAXD < dx) {
dx = MAXD;
} else if (dx < (-MAXD)) {
dx = -MAXD;
}
if (MAXD < dy) {
dy = MAXD;
} else if (dy < (-MAXD)) {
dy = -MAXD;
}
_x = (_x + dx);
_y = (_y + dy);
dx = dx * FRICTION;
dy = dy * FRICTION;
if (_y < TOPBOUNDARY) {
_y = TOPBOUNDARY;
dy = dy * BOUNCINESS;
} else if (BOTTOMBOUNDARY < _y) {
_y = BOTTOMBOUNDARY;
dy = dy * BOUNCINESS;
}
if (_x < LEFTBOUNDARY) {
_x = LEFTBOUNDARY;
dx = dx * BOUNCINESS;
} else if (RIGHTBOUNDARY < _x) {
_x = RIGHTBOUNDARY;
dx = dx * BOUNCINESS;
}
if (((((((((((((((((((((((((((((((this.hitTest(_root.block1) || (this.hitTest(_root.block2))) || (this.hitTest(_root.block3))) || (this.hitTest(_root.block4))) || (this.hitTest(_root.block5))) || (this.hitTest(_root.block6))) || (this.hitTest(_root.block7))) || (this.hitTest(_root.block8))) || (this.hitTest(_root.block9))) || (this.hitTest(_root.block10))) || (this.hitTest(_root.block11))) || (this.hitTest(_root.block12))) || (this.hitTest(_root.block13))) || (this.hitTest(_root.block14))) || (this.hitTest(_root.block15))) || (this.hitTest(_root.block16))) || (this.hitTest(_root.block17))) || (this.hitTest(_root.block18))) || (this.hitTest(_root.block19))) || (this.hitTest(_root.block20))) || (this.hitTest(_root.block21))) || (this.hitTest(_root.block22))) || (this.hitTest(_root.block23))) || (this.hitTest(_root.block24))) || (this.hitTest(_root.block25))) || (this.hitTest(_root.block26))) || (this.hitTest(_root.block27))) || (this.hitTest(_root.block28))) || (this.hitTest(_root.block29))) || (this.hitTest(_root.bloc30))) || (this.hitTest(_root.block31))) || (this.hitTest(_root.block32))) {
dx = dx * BOUNCINESS;
dy = dy * BOUNCINESS;
_x = (_x + dx);
_y = (_y + dy);
}
_root.checkForDeath(_x, _y);
previousx = _x;
previousy = _y;
}
Instance of Symbol 50 MovieClip in Frame 16 (131 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.critter1) && (this.hitTest(_root.critter2))) {
_root.nextLevel();
}
}
Instance of Symbol 45 MovieClip "critter1" in Frame 26 (2.19 KiB) ●
onClipEvent (load) {
var dx = 0;
var dy = 0;
var previousx;
var previousy;
var MAXD = 20;
var FRICTION = 0.9;
var BOUNCINESS = -1;
var TOPBOUNDARY = (0 + (_height / 2));
var BOTTOMBOUNDARY = (370 - (_height / 2));
var LEFTBOUNDARY = (150 + (_width / 2));
var RIGHTBOUNDARY = (550 - (_width / 2));
}
onClipEvent (enterFrame) {
dx = dx + _root.xFanEffect(_x, _y);
dy = dy + _root.yFanEffect(_x, _y);
if (MAXD < dx) {
dx = MAXD;
} else if (dx < (-MAXD)) {
dx = -MAXD;
}
if (MAXD < dy) {
dy = MAXD;
} else if (dy < (-MAXD)) {
dy = -MAXD;
}
_x = (_x + dx);
_y = (_y + dy);
dx = dx * FRICTION;
dy = dy * FRICTION;
if (_y < TOPBOUNDARY) {
_y = TOPBOUNDARY;
dy = dy * BOUNCINESS;
} else if (BOTTOMBOUNDARY < _y) {
_y = BOTTOMBOUNDARY;
dy = dy * BOUNCINESS;
}
if (_x < LEFTBOUNDARY) {
_x = LEFTBOUNDARY;
dx = dx * BOUNCINESS;
} else if (RIGHTBOUNDARY < _x) {
_x = RIGHTBOUNDARY;
dx = dx * BOUNCINESS;
}
if (((((((((((((((((((((((((((((((this.hitTest(_root.block1) || (this.hitTest(_root.block2))) || (this.hitTest(_root.block3))) || (this.hitTest(_root.block4))) || (this.hitTest(_root.block5))) || (this.hitTest(_root.block6))) || (this.hitTest(_root.block7))) || (this.hitTest(_root.block8))) || (this.hitTest(_root.block9))) || (this.hitTest(_root.block10))) || (this.hitTest(_root.block11))) || (this.hitTest(_root.block12))) || (this.hitTest(_root.block13))) || (this.hitTest(_root.block14))) || (this.hitTest(_root.block15))) || (this.hitTest(_root.block16))) || (this.hitTest(_root.block17))) || (this.hitTest(_root.block18))) || (this.hitTest(_root.block19))) || (this.hitTest(_root.block20))) || (this.hitTest(_root.block21))) || (this.hitTest(_root.block22))) || (this.hitTest(_root.block23))) || (this.hitTest(_root.block24))) || (this.hitTest(_root.block25))) || (this.hitTest(_root.block26))) || (this.hitTest(_root.block27))) || (this.hitTest(_root.block28))) || (this.hitTest(_root.block29))) || (this.hitTest(_root.bloc30))) || (this.hitTest(_root.block31))) || (this.hitTest(_root.block32))) {
dx = dx * BOUNCINESS;
dy = dy * BOUNCINESS;
_x = (_x + dx);
_y = (_y + dy);
}
_root.checkForDeath(_x, _y);
previousx = _x;
previousy = _y;
}
Instance of Symbol 45 MovieClip "critter2" in Frame 26 (2.19 KiB) ●
onClipEvent (load) {
var dx = 0;
var dy = 0;
var previousx;
var previousy;
var MAXD = 20;
var FRICTION = 0.9;
var BOUNCINESS = -1;
var TOPBOUNDARY = (0 + (_height / 2));
var BOTTOMBOUNDARY = (370 - (_height / 2));
var LEFTBOUNDARY = (150 + (_width / 2));
var RIGHTBOUNDARY = (550 - (_width / 2));
}
onClipEvent (enterFrame) {
dx = dx + _root.xFanEffect(_x, _y);
dy = dy + _root.yFanEffect(_x, _y);
if (MAXD < dx) {
dx = MAXD;
} else if (dx < (-MAXD)) {
dx = -MAXD;
}
if (MAXD < dy) {
dy = MAXD;
} else if (dy < (-MAXD)) {
dy = -MAXD;
}
_x = (_x + dx);
_y = (_y + dy);
dx = dx * FRICTION;
dy = dy * FRICTION;
if (_y < TOPBOUNDARY) {
_y = TOPBOUNDARY;
dy = dy * BOUNCINESS;
} else if (BOTTOMBOUNDARY < _y) {
_y = BOTTOMBOUNDARY;
dy = dy * BOUNCINESS;
}
if (_x < LEFTBOUNDARY) {
_x = LEFTBOUNDARY;
dx = dx * BOUNCINESS;
} else if (RIGHTBOUNDARY < _x) {
_x = RIGHTBOUNDARY;
dx = dx * BOUNCINESS;
}
if (((((((((((((((((((((((((((((((this.hitTest(_root.block1) || (this.hitTest(_root.block2))) || (this.hitTest(_root.block3))) || (this.hitTest(_root.block4))) || (this.hitTest(_root.block5))) || (this.hitTest(_root.block6))) || (this.hitTest(_root.block7))) || (this.hitTest(_root.block8))) || (this.hitTest(_root.block9))) || (this.hitTest(_root.block10))) || (this.hitTest(_root.block11))) || (this.hitTest(_root.block12))) || (this.hitTest(_root.block13))) || (this.hitTest(_root.block14))) || (this.hitTest(_root.block15))) || (this.hitTest(_root.block16))) || (this.hitTest(_root.block17))) || (this.hitTest(_root.block18))) || (this.hitTest(_root.block19))) || (this.hitTest(_root.block20))) || (this.hitTest(_root.block21))) || (this.hitTest(_root.block22))) || (this.hitTest(_root.block23))) || (this.hitTest(_root.block24))) || (this.hitTest(_root.block25))) || (this.hitTest(_root.block26))) || (this.hitTest(_root.block27))) || (this.hitTest(_root.block28))) || (this.hitTest(_root.block29))) || (this.hitTest(_root.bloc30))) || (this.hitTest(_root.block31))) || (this.hitTest(_root.block32))) {
dx = dx * BOUNCINESS;
dy = dy * BOUNCINESS;
_x = (_x + dx);
_y = (_y + dy);
}
_root.checkForDeath(_x, _y);
previousx = _x;
previousy = _y;
}
Instance of Symbol 45 MovieClip "critter3" in Frame 26 (2.19 KiB) ●
onClipEvent (load) {
var dx = 0;
var dy = 0;
var previousx;
var previousy;
var MAXD = 20;
var FRICTION = 0.9;
var BOUNCINESS = -1;
var TOPBOUNDARY = (0 + (_height / 2));
var BOTTOMBOUNDARY = (370 - (_height / 2));
var LEFTBOUNDARY = (150 + (_width / 2));
var RIGHTBOUNDARY = (550 - (_width / 2));
}
onClipEvent (enterFrame) {
dx = dx + _root.xFanEffect(_x, _y);
dy = dy + _root.yFanEffect(_x, _y);
if (MAXD < dx) {
dx = MAXD;
} else if (dx < (-MAXD)) {
dx = -MAXD;
}
if (MAXD < dy) {
dy = MAXD;
} else if (dy < (-MAXD)) {
dy = -MAXD;
}
_x = (_x + dx);
_y = (_y + dy);
dx = dx * FRICTION;
dy = dy * FRICTION;
if (_y < TOPBOUNDARY) {
_y = TOPBOUNDARY;
dy = dy * BOUNCINESS;
} else if (BOTTOMBOUNDARY < _y) {
_y = BOTTOMBOUNDARY;
dy = dy * BOUNCINESS;
}
if (_x < LEFTBOUNDARY) {
_x = LEFTBOUNDARY;
dx = dx * BOUNCINESS;
} else if (RIGHTBOUNDARY < _x) {
_x = RIGHTBOUNDARY;
dx = dx * BOUNCINESS;
}
if (((((((((((((((((((((((((((((((this.hitTest(_root.block1) || (this.hitTest(_root.block2))) || (this.hitTest(_root.block3))) || (this.hitTest(_root.block4))) || (this.hitTest(_root.block5))) || (this.hitTest(_root.block6))) || (this.hitTest(_root.block7))) || (this.hitTest(_root.block8))) || (this.hitTest(_root.block9))) || (this.hitTest(_root.block10))) || (this.hitTest(_root.block11))) || (this.hitTest(_root.block12))) || (this.hitTest(_root.block13))) || (this.hitTest(_root.block14))) || (this.hitTest(_root.block15))) || (this.hitTest(_root.block16))) || (this.hitTest(_root.block17))) || (this.hitTest(_root.block18))) || (this.hitTest(_root.block19))) || (this.hitTest(_root.block20))) || (this.hitTest(_root.block21))) || (this.hitTest(_root.block22))) || (this.hitTest(_root.block23))) || (this.hitTest(_root.block24))) || (this.hitTest(_root.block25))) || (this.hitTest(_root.block26))) || (this.hitTest(_root.block27))) || (this.hitTest(_root.block28))) || (this.hitTest(_root.block29))) || (this.hitTest(_root.bloc30))) || (this.hitTest(_root.block31))) || (this.hitTest(_root.block32))) {
dx = dx * BOUNCINESS;
dy = dy * BOUNCINESS;
_x = (_x + dx);
_y = (_y + dy);
}
_root.checkForDeath(_x, _y);
previousx = _x;
previousy = _y;
}
Instance of Symbol 51 MovieClip in Frame 26 (175 B)
onClipEvent (enterFrame) {
if ((this.hitTest(_root.critter1) && (this.hitTest(_root.critter2))) && (this.hitTest(_root.critter3))) {
_root.nextLevel();
}
}
Instance of Symbol 45 MovieClip "critter1" in Frame 36 (2.19 KiB) ●
onClipEvent (load) {
var dx = 0;
var dy = 0;
var previousx;
var previousy;
var MAXD = 20;
var FRICTION = 0.9;
var BOUNCINESS = -1;
var TOPBOUNDARY = (0 + (_height / 2));
var BOTTOMBOUNDARY = (370 - (_height / 2));
var LEFTBOUNDARY = (150 + (_width / 2));
var RIGHTBOUNDARY = (550 - (_width / 2));
}
onClipEvent (enterFrame) {
dx = dx + _root.xFanEffect(_x, _y);
dy = dy + _root.yFanEffect(_x, _y);
if (MAXD < dx) {
dx = MAXD;
} else if (dx < (-MAXD)) {
dx = -MAXD;
}
if (MAXD < dy) {
dy = MAXD;
} else if (dy < (-MAXD)) {
dy = -MAXD;
}
_x = (_x + dx);
_y = (_y + dy);
dx = dx * FRICTION;
dy = dy * FRICTION;
if (_y < TOPBOUNDARY) {
_y = TOPBOUNDARY;
dy = dy * BOUNCINESS;
} else if (BOTTOMBOUNDARY < _y) {
_y = BOTTOMBOUNDARY;
dy = dy * BOUNCINESS;
}
if (_x < LEFTBOUNDARY) {
_x = LEFTBOUNDARY;
dx = dx * BOUNCINESS;
} else if (RIGHTBOUNDARY < _x) {
_x = RIGHTBOUNDARY;
dx = dx * BOUNCINESS;
}
if (((((((((((((((((((((((((((((((this.hitTest(_root.block1) || (this.hitTest(_root.block2))) || (this.hitTest(_root.block3))) || (this.hitTest(_root.block4))) || (this.hitTest(_root.block5))) || (this.hitTest(_root.block6))) || (this.hitTest(_root.block7))) || (this.hitTest(_root.block8))) || (this.hitTest(_root.block9))) || (this.hitTest(_root.block10))) || (this.hitTest(_root.block11))) || (this.hitTest(_root.block12))) || (this.hitTest(_root.block13))) || (this.hitTest(_root.block14))) || (this.hitTest(_root.block15))) || (this.hitTest(_root.block16))) || (this.hitTest(_root.block17))) || (this.hitTest(_root.block18))) || (this.hitTest(_root.block19))) || (this.hitTest(_root.block20))) || (this.hitTest(_root.block21))) || (this.hitTest(_root.block22))) || (this.hitTest(_root.block23))) || (this.hitTest(_root.block24))) || (this.hitTest(_root.block25))) || (this.hitTest(_root.block26))) || (this.hitTest(_root.block27))) || (this.hitTest(_root.block28))) || (this.hitTest(_root.block29))) || (this.hitTest(_root.bloc30))) || (this.hitTest(_root.block31))) || (this.hitTest(_root.block32))) {
dx = dx * BOUNCINESS;
dy = dy * BOUNCINESS;
_x = (_x + dx);
_y = (_y + dy);
}
_root.checkForDeath(_x, _y);
previousx = _x;
previousy = _y;
}
Instance of Symbol 45 MovieClip "critter2" in Frame 36 (2.19 KiB) ●
onClipEvent (load) {
var dx = 0;
var dy = 0;
var previousx;
var previousy;
var MAXD = 20;
var FRICTION = 0.9;
var BOUNCINESS = -1;
var TOPBOUNDARY = (0 + (_height / 2));
var BOTTOMBOUNDARY = (370 - (_height / 2));
var LEFTBOUNDARY = (150 + (_width / 2));
var RIGHTBOUNDARY = (550 - (_width / 2));
}
onClipEvent (enterFrame) {
dx = dx + _root.xFanEffect(_x, _y);
dy = dy + _root.yFanEffect(_x, _y);
if (MAXD < dx) {
dx = MAXD;
} else if (dx < (-MAXD)) {
dx = -MAXD;
}
if (MAXD < dy) {
dy = MAXD;
} else if (dy < (-MAXD)) {
dy = -MAXD;
}
_x = (_x + dx);
_y = (_y + dy);
dx = dx * FRICTION;
dy = dy * FRICTION;
if (_y < TOPBOUNDARY) {
_y = TOPBOUNDARY;
dy = dy * BOUNCINESS;
} else if (BOTTOMBOUNDARY < _y) {
_y = BOTTOMBOUNDARY;
dy = dy * BOUNCINESS;
}
if (_x < LEFTBOUNDARY) {
_x = LEFTBOUNDARY;
dx = dx * BOUNCINESS;
} else if (RIGHTBOUNDARY < _x) {
_x = RIGHTBOUNDARY;
dx = dx * BOUNCINESS;
}
if (((((((((((((((((((((((((((((((this.hitTest(_root.block1) || (this.hitTest(_root.block2))) || (this.hitTest(_root.block3))) || (this.hitTest(_root.block4))) || (this.hitTest(_root.block5))) || (this.hitTest(_root.block6))) || (this.hitTest(_root.block7))) || (this.hitTest(_root.block8))) || (this.hitTest(_root.block9))) || (this.hitTest(_root.block10))) || (this.hitTest(_root.block11))) || (this.hitTest(_root.block12))) || (this.hitTest(_root.block13))) || (this.hitTest(_root.block14))) || (this.hitTest(_root.block15))) || (this.hitTest(_root.block16))) || (this.hitTest(_root.block17))) || (this.hitTest(_root.block18))) || (this.hitTest(_root.block19))) || (this.hitTest(_root.block20))) || (this.hitTest(_root.block21))) || (this.hitTest(_root.block22))) || (this.hitTest(_root.block23))) || (this.hitTest(_root.block24))) || (this.hitTest(_root.block25))) || (this.hitTest(_root.block26))) || (this.hitTest(_root.block27))) || (this.hitTest(_root.block28))) || (this.hitTest(_root.block29))) || (this.hitTest(_root.bloc30))) || (this.hitTest(_root.block31))) || (this.hitTest(_root.block32))) {
dx = dx * BOUNCINESS;
dy = dy * BOUNCINESS;
_x = (_x + dx);
_y = (_y + dy);
}
_root.checkForDeath(_x, _y);
previousx = _x;
previousy = _y;
}
Instance of Symbol 45 MovieClip "critter3" in Frame 36 (2.19 KiB) ●
onClipEvent (load) {
var dx = 0;
var dy = 0;
var previousx;
var previousy;
var MAXD = 20;
var FRICTION = 0.9;
var BOUNCINESS = -1;
var TOPBOUNDARY = (0 + (_height / 2));
var BOTTOMBOUNDARY = (370 - (_height / 2));
var LEFTBOUNDARY = (150 + (_width / 2));
var RIGHTBOUNDARY = (550 - (_width / 2));
}
onClipEvent (enterFrame) {
dx = dx + _root.xFanEffect(_x, _y);
dy = dy + _root.yFanEffect(_x, _y);
if (MAXD < dx) {
dx = MAXD;
} else if (dx < (-MAXD)) {
dx = -MAXD;
}
if (MAXD < dy) {
dy = MAXD;
} else if (dy < (-MAXD)) {
dy = -MAXD;
}
_x = (_x + dx);
_y = (_y + dy);
dx = dx * FRICTION;
dy = dy * FRICTION;
if (_y < TOPBOUNDARY) {
_y = TOPBOUNDARY;
dy = dy * BOUNCINESS;
} else if (BOTTOMBOUNDARY < _y) {
_y = BOTTOMBOUNDARY;
dy = dy * BOUNCINESS;
}
if (_x < LEFTBOUNDARY) {
_x = LEFTBOUNDARY;
dx = dx * BOUNCINESS;
} else if (RIGHTBOUNDARY < _x) {
_x = RIGHTBOUNDARY;
dx = dx * BOUNCINESS;
}
if (((((((((((((((((((((((((((((((this.hitTest(_root.block1) || (this.hitTest(_root.block2))) || (this.hitTest(_root.block3))) || (this.hitTest(_root.block4))) || (this.hitTest(_root.block5))) || (this.hitTest(_root.block6))) || (this.hitTest(_root.block7))) || (this.hitTest(_root.block8))) || (this.hitTest(_root.block9))) || (this.hitTest(_root.block10))) || (this.hitTest(_root.block11))) || (this.hitTest(_root.block12))) || (this.hitTest(_root.block13))) || (this.hitTest(_root.block14))) || (this.hitTest(_root.block15))) || (this.hitTest(_root.block16))) || (this.hitTest(_root.block17))) || (this.hitTest(_root.block18))) || (this.hitTest(_root.block19))) || (this.hitTest(_root.block20))) || (this.hitTest(_root.block21))) || (this.hitTest(_root.block22))) || (this.hitTest(_root.block23))) || (this.hitTest(_root.block24))) || (this.hitTest(_root.block25))) || (this.hitTest(_root.block26))) || (this.hitTest(_root.block27))) || (this.hitTest(_root.block28))) || (this.hitTest(_root.block29))) || (this.hitTest(_root.bloc30))) || (this.hitTest(_root.block31))) || (this.hitTest(_root.block32))) {
dx = dx * BOUNCINESS;
dy = dy * BOUNCINESS;
_x = (_x + dx);
_y = (_y + dy);
}
_root.checkForDeath(_x, _y);
previousx = _x;
previousy = _y;
}
Instance of Symbol 45 MovieClip "critter4" in Frame 36 (2.19 KiB) ●
onClipEvent (load) {
var dx = 0;
var dy = 0;
var previousx;
var previousy;
var MAXD = 20;
var FRICTION = 0.9;
var BOUNCINESS = -1;
var TOPBOUNDARY = (0 + (_height / 2));
var BOTTOMBOUNDARY = (370 - (_height / 2));
var LEFTBOUNDARY = (150 + (_width / 2));
var RIGHTBOUNDARY = (550 - (_width / 2));
}
onClipEvent (enterFrame) {
dx = dx + _root.xFanEffect(_x, _y);
dy = dy + _root.yFanEffect(_x, _y);
if (MAXD < dx) {
dx = MAXD;
} else if (dx < (-MAXD)) {
dx = -MAXD;
}
if (MAXD < dy) {
dy = MAXD;
} else if (dy < (-MAXD)) {
dy = -MAXD;
}
_x = (_x + dx);
_y = (_y + dy);
dx = dx * FRICTION;
dy = dy * FRICTION;
if (_y < TOPBOUNDARY) {
_y = TOPBOUNDARY;
dy = dy * BOUNCINESS;
} else if (BOTTOMBOUNDARY < _y) {
_y = BOTTOMBOUNDARY;
dy = dy * BOUNCINESS;
}
if (_x < LEFTBOUNDARY) {
_x = LEFTBOUNDARY;
dx = dx * BOUNCINESS;
} else if (RIGHTBOUNDARY < _x) {
_x = RIGHTBOUNDARY;
dx = dx * BOUNCINESS;
}
if (((((((((((((((((((((((((((((((this.hitTest(_root.block1) || (this.hitTest(_root.block2))) || (this.hitTest(_root.block3))) || (this.hitTest(_root.block4))) || (this.hitTest(_root.block5))) || (this.hitTest(_root.block6))) || (this.hitTest(_root.block7))) || (this.hitTest(_root.block8))) || (this.hitTest(_root.block9))) || (this.hitTest(_root.block10))) || (this.hitTest(_root.block11))) || (this.hitTest(_root.block12))) || (this.hitTest(_root.block13))) || (this.hitTest(_root.block14))) || (this.hitTest(_root.block15))) || (this.hitTest(_root.block16))) || (this.hitTest(_root.block17))) || (this.hitTest(_root.block18))) || (this.hitTest(_root.block19))) || (this.hitTest(_root.block20))) || (this.hitTest(_root.block21))) || (this.hitTest(_root.block22))) || (this.hitTest(_root.block23))) || (this.hitTest(_root.block24))) || (this.hitTest(_root.block25))) || (this.hitTest(_root.block26))) || (this.hitTest(_root.block27))) || (this.hitTest(_root.block28))) || (this.hitTest(_root.block29))) || (this.hitTest(_root.bloc30))) || (this.hitTest(_root.block31))) || (this.hitTest(_root.block32))) {
dx = dx * BOUNCINESS;
dy = dy * BOUNCINESS;
_x = (_x + dx);
_y = (_y + dy);
}
_root.checkForDeath(_x, _y);
previousx = _x;
previousy = _y;
}
Instance of Symbol 52 MovieClip in Frame 36 (219 B)
onClipEvent (enterFrame) {
if (((this.hitTest(_root.critter1) && (this.hitTest(_root.critter2))) && (this.hitTest(_root.critter3))) && (this.hitTest(_root.critter4))) {
_root.nextLevel();
}
}
Instance of Symbol 45 MovieClip "critter1" in Frame 46 (2.19 KiB) ●
onClipEvent (load) {
var dx = 0;
var dy = 0;
var previousx;
var previousy;
var MAXD = 20;
var FRICTION = 0.9;
var BOUNCINESS = -1;
var TOPBOUNDARY = (0 + (_height / 2));
var BOTTOMBOUNDARY = (370 - (_height / 2));
var LEFTBOUNDARY = (150 + (_width / 2));
var RIGHTBOUNDARY = (550 - (_width / 2));
}
onClipEvent (enterFrame) {
dx = dx + _root.xFanEffect(_x, _y);
dy = dy + _root.yFanEffect(_x, _y);
if (MAXD < dx) {
dx = MAXD;
} else if (dx < (-MAXD)) {
dx = -MAXD;
}
if (MAXD < dy) {
dy = MAXD;
} else if (dy < (-MAXD)) {
dy = -MAXD;
}
_x = (_x + dx);
_y = (_y + dy);
dx = dx * FRICTION;
dy = dy * FRICTION;
if (_y < TOPBOUNDARY) {
_y = TOPBOUNDARY;
dy = dy * BOUNCINESS;
} else if (BOTTOMBOUNDARY < _y) {
_y = BOTTOMBOUNDARY;
dy = dy * BOUNCINESS;
}
if (_x < LEFTBOUNDARY) {
_x = LEFTBOUNDARY;
dx = dx * BOUNCINESS;
} else if (RIGHTBOUNDARY < _x) {
_x = RIGHTBOUNDARY;
dx = dx * BOUNCINESS;
}
if (((((((((((((((((((((((((((((((this.hitTest(_root.block1) || (this.hitTest(_root.block2))) || (this.hitTest(_root.block3))) || (this.hitTest(_root.block4))) || (this.hitTest(_root.block5))) || (this.hitTest(_root.block6))) || (this.hitTest(_root.block7))) || (this.hitTest(_root.block8))) || (this.hitTest(_root.block9))) || (this.hitTest(_root.block10))) || (this.hitTest(_root.block11))) || (this.hitTest(_root.block12))) || (this.hitTest(_root.block13))) || (this.hitTest(_root.block14))) || (this.hitTest(_root.block15))) || (this.hitTest(_root.block16))) || (this.hitTest(_root.block17))) || (this.hitTest(_root.block18))) || (this.hitTest(_root.block19))) || (this.hitTest(_root.block20))) || (this.hitTest(_root.block21))) || (this.hitTest(_root.block22))) || (this.hitTest(_root.block23))) || (this.hitTest(_root.block24))) || (this.hitTest(_root.block25))) || (this.hitTest(_root.block26))) || (this.hitTest(_root.block27))) || (this.hitTest(_root.block28))) || (this.hitTest(_root.block29))) || (this.hitTest(_root.bloc30))) || (this.hitTest(_root.block31))) || (this.hitTest(_root.block32))) {
dx = dx * BOUNCINESS;
dy = dy * BOUNCINESS;
_x = (_x + dx);
_y = (_y + dy);
}
_root.checkForDeath(_x, _y);
previousx = _x;
previousy = _y;
}
Instance of Symbol 54 MovieClip "enemy1" in Frame 46 (2.29 KiB) ●
onClipEvent (load) {
var DDX = 0.25;
var DDY = DDX;
var MAXD = 5;
var dx = 0;
var dy = 0;
var FRICTION = 0.9;
var BOUNCINESS = -2;
var TOPBOUNDARY = (0 + (_height / 2));
var BOTTOMBOUNDARY = (370 - (_height / 2));
var LEFTBOUNDARY = (150 + (_width / 2));
var RIGHTBOUNDARY = (550 - (_width / 2));
}
onClipEvent (enterFrame) {
if (_root.critter1._x < this._x) {
dx = dx - DDX;
if (dx < (-MAXD)) {
dx = -MAXD;
}
} else if (this._x < _root.critter1._x) {
dx = dx + DDX;
if (MAXD < dx) {
dx = MAXD;
}
}
if (_root.critter1._y < this._y) {
dy = dy - DDY;
if (dy < (-MAXD)) {
dy = -MAXD;
}
} else if (this._y < _root.critter1._y) {
dy = dy + DDY;
if (MAXD < dy) {
dy = MAXD;
}
}
_x = (_x + dx);
_y = (_y + dy);
dx = dx * FRICTION;
dy = dy * FRICTION;
if (_y < TOPBOUNDARY) {
_y = TOPBOUNDARY;
dy = dy * BOUNCINESS;
} else if (BOTTOMBOUNDARY < _y) {
_y = BOTTOMBOUNDARY;
dy = dy * BOUNCINESS;
}
if (_x < LEFTBOUNDARY) {
_x = LEFTBOUNDARY;
dx = dx * BOUNCINESS;
} else if (RIGHTBOUNDARY < _x) {
_x = RIGHTBOUNDARY;
dx = dx * BOUNCINESS;
}
if (((((((((((((((((((((((((((((((this.hitTest(_root.block1) || (this.hitTest(_root.block2))) || (this.hitTest(_root.block3))) || (this.hitTest(_root.block4))) || (this.hitTest(_root.block5))) || (this.hitTest(_root.block6))) || (this.hitTest(_root.block7))) || (this.hitTest(_root.block8))) || (this.hitTest(_root.block9))) || (this.hitTest(_root.block10))) || (this.hitTest(_root.block11))) || (this.hitTest(_root.block12))) || (this.hitTest(_root.block13))) || (this.hitTest(_root.block14))) || (this.hitTest(_root.block15))) || (this.hitTest(_root.block16))) || (this.hitTest(_root.block17))) || (this.hitTest(_root.block18))) || (this.hitTest(_root.block19))) || (this.hitTest(_root.block20))) || (this.hitTest(_root.block21))) || (this.hitTest(_root.block22))) || (this.hitTest(_root.block23))) || (this.hitTest(_root.block24))) || (this.hitTest(_root.block25))) || (this.hitTest(_root.block26))) || (this.hitTest(_root.block27))) || (this.hitTest(_root.block28))) || (this.hitTest(_root.block29))) || (this.hitTest(_root.bloc30))) || (this.hitTest(_root.block31))) || (this.hitTest(_root.block32))) {
dx = dx * BOUNCINESS;
dy = dy * BOUNCINESS;
_x = (_x + dx);
_y = (_y + dy);
}
}
Instance of Symbol 48 MovieClip in Frame 46 (89 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.critter1)) {
_root.nextLevel();
}
}
Instance of Symbol 45 MovieClip "critter1" in Frame 56 (2.19 KiB) ●
onClipEvent (load) {
var dx = 0;
var dy = 0;
var previousx;
var previousy;
var MAXD = 20;
var FRICTION = 0.9;
var BOUNCINESS = -1;
var TOPBOUNDARY = (0 + (_height / 2));
var BOTTOMBOUNDARY = (370 - (_height / 2));
var LEFTBOUNDARY = (150 + (_width / 2));
var RIGHTBOUNDARY = (550 - (_width / 2));
}
onClipEvent (enterFrame) {
dx = dx + _root.xFanEffect(_x, _y);
dy = dy + _root.yFanEffect(_x, _y);
if (MAXD < dx) {
dx = MAXD;
} else if (dx < (-MAXD)) {
dx = -MAXD;
}
if (MAXD < dy) {
dy = MAXD;
} else if (dy < (-MAXD)) {
dy = -MAXD;
}
_x = (_x + dx);
_y = (_y + dy);
dx = dx * FRICTION;
dy = dy * FRICTION;
if (_y < TOPBOUNDARY) {
_y = TOPBOUNDARY;
dy = dy * BOUNCINESS;
} else if (BOTTOMBOUNDARY < _y) {
_y = BOTTOMBOUNDARY;
dy = dy * BOUNCINESS;
}
if (_x < LEFTBOUNDARY) {
_x = LEFTBOUNDARY;
dx = dx * BOUNCINESS;
} else if (RIGHTBOUNDARY < _x) {
_x = RIGHTBOUNDARY;
dx = dx * BOUNCINESS;
}
if (((((((((((((((((((((((((((((((this.hitTest(_root.block1) || (this.hitTest(_root.block2))) || (this.hitTest(_root.block3))) || (this.hitTest(_root.block4))) || (this.hitTest(_root.block5))) || (this.hitTest(_root.block6))) || (this.hitTest(_root.block7))) || (this.hitTest(_root.block8))) || (this.hitTest(_root.block9))) || (this.hitTest(_root.block10))) || (this.hitTest(_root.block11))) || (this.hitTest(_root.block12))) || (this.hitTest(_root.block13))) || (this.hitTest(_root.block14))) || (this.hitTest(_root.block15))) || (this.hitTest(_root.block16))) || (this.hitTest(_root.block17))) || (this.hitTest(_root.block18))) || (this.hitTest(_root.block19))) || (this.hitTest(_root.block20))) || (this.hitTest(_root.block21))) || (this.hitTest(_root.block22))) || (this.hitTest(_root.block23))) || (this.hitTest(_root.block24))) || (this.hitTest(_root.block25))) || (this.hitTest(_root.block26))) || (this.hitTest(_root.block27))) || (this.hitTest(_root.block28))) || (this.hitTest(_root.block29))) || (this.hitTest(_root.bloc30))) || (this.hitTest(_root.block31))) || (this.hitTest(_root.block32))) {
dx = dx * BOUNCINESS;
dy = dy * BOUNCINESS;
_x = (_x + dx);
_y = (_y + dy);
}
_root.checkForDeath(_x, _y);
previousx = _x;
previousy = _y;
}
Instance of Symbol 45 MovieClip "critter2" in Frame 56 (2.19 KiB) ●
onClipEvent (load) {
var dx = 0;
var dy = 0;
var previousx;
var previousy;
var MAXD = 20;
var FRICTION = 0.9;
var BOUNCINESS = -1;
var TOPBOUNDARY = (0 + (_height / 2));
var BOTTOMBOUNDARY = (370 - (_height / 2));
var LEFTBOUNDARY = (150 + (_width / 2));
var RIGHTBOUNDARY = (550 - (_width / 2));
}
onClipEvent (enterFrame) {
dx = dx + _root.xFanEffect(_x, _y);
dy = dy + _root.yFanEffect(_x, _y);
if (MAXD < dx) {
dx = MAXD;
} else if (dx < (-MAXD)) {
dx = -MAXD;
}
if (MAXD < dy) {
dy = MAXD;
} else if (dy < (-MAXD)) {
dy = -MAXD;
}
_x = (_x + dx);
_y = (_y + dy);
dx = dx * FRICTION;
dy = dy * FRICTION;
if (_y < TOPBOUNDARY) {
_y = TOPBOUNDARY;
dy = dy * BOUNCINESS;
} else if (BOTTOMBOUNDARY < _y) {
_y = BOTTOMBOUNDARY;
dy = dy * BOUNCINESS;
}
if (_x < LEFTBOUNDARY) {
_x = LEFTBOUNDARY;
dx = dx * BOUNCINESS;
} else if (RIGHTBOUNDARY < _x) {
_x = RIGHTBOUNDARY;
dx = dx * BOUNCINESS;
}
if (((((((((((((((((((((((((((((((this.hitTest(_root.block1) || (this.hitTest(_root.block2))) || (this.hitTest(_root.block3))) || (this.hitTest(_root.block4))) || (this.hitTest(_root.block5))) || (this.hitTest(_root.block6))) || (this.hitTest(_root.block7))) || (this.hitTest(_root.block8))) || (this.hitTest(_root.block9))) || (this.hitTest(_root.block10))) || (this.hitTest(_root.block11))) || (this.hitTest(_root.block12))) || (this.hitTest(_root.block13))) || (this.hitTest(_root.block14))) || (this.hitTest(_root.block15))) || (this.hitTest(_root.block16))) || (this.hitTest(_root.block17))) || (this.hitTest(_root.block18))) || (this.hitTest(_root.block19))) || (this.hitTest(_root.block20))) || (this.hitTest(_root.block21))) || (this.hitTest(_root.block22))) || (this.hitTest(_root.block23))) || (this.hitTest(_root.block24))) || (this.hitTest(_root.block25))) || (this.hitTest(_root.block26))) || (this.hitTest(_root.block27))) || (this.hitTest(_root.block28))) || (this.hitTest(_root.block29))) || (this.hitTest(_root.bloc30))) || (this.hitTest(_root.block31))) || (this.hitTest(_root.block32))) {
dx = dx * BOUNCINESS;
dy = dy * BOUNCINESS;
_x = (_x + dx);
_y = (_y + dy);
}
_root.checkForDeath(_x, _y);
previousx = _x;
previousy = _y;
}
Instance of Symbol 45 MovieClip "critter3" in Frame 56 (2.19 KiB) ●
onClipEvent (load) {
var dx = 0;
var dy = 0;
var previousx;
var previousy;
var MAXD = 20;
var FRICTION = 0.9;
var BOUNCINESS = -1;
var TOPBOUNDARY = (0 + (_height / 2));
var BOTTOMBOUNDARY = (370 - (_height / 2));
var LEFTBOUNDARY = (150 + (_width / 2));
var RIGHTBOUNDARY = (550 - (_width / 2));
}
onClipEvent (enterFrame) {
dx = dx + _root.xFanEffect(_x, _y);
dy = dy + _root.yFanEffect(_x, _y);
if (MAXD < dx) {
dx = MAXD;
} else if (dx < (-MAXD)) {
dx = -MAXD;
}
if (MAXD < dy) {
dy = MAXD;
} else if (dy < (-MAXD)) {
dy = -MAXD;
}
_x = (_x + dx);
_y = (_y + dy);
dx = dx * FRICTION;
dy = dy * FRICTION;
if (_y < TOPBOUNDARY) {
_y = TOPBOUNDARY;
dy = dy * BOUNCINESS;
} else if (BOTTOMBOUNDARY < _y) {
_y = BOTTOMBOUNDARY;
dy = dy * BOUNCINESS;
}
if (_x < LEFTBOUNDARY) {
_x = LEFTBOUNDARY;
dx = dx * BOUNCINESS;
} else if (RIGHTBOUNDARY < _x) {
_x = RIGHTBOUNDARY;
dx = dx * BOUNCINESS;
}
if (((((((((((((((((((((((((((((((this.hitTest(_root.block1) || (this.hitTest(_root.block2))) || (this.hitTest(_root.block3))) || (this.hitTest(_root.block4))) || (this.hitTest(_root.block5))) || (this.hitTest(_root.block6))) || (this.hitTest(_root.block7))) || (this.hitTest(_root.block8))) || (this.hitTest(_root.block9))) || (this.hitTest(_root.block10))) || (this.hitTest(_root.block11))) || (this.hitTest(_root.block12))) || (this.hitTest(_root.block13))) || (this.hitTest(_root.block14))) || (this.hitTest(_root.block15))) || (this.hitTest(_root.block16))) || (this.hitTest(_root.block17))) || (this.hitTest(_root.block18))) || (this.hitTest(_root.block19))) || (this.hitTest(_root.block20))) || (this.hitTest(_root.block21))) || (this.hitTest(_root.block22))) || (this.hitTest(_root.block23))) || (this.hitTest(_root.block24))) || (this.hitTest(_root.block25))) || (this.hitTest(_root.block26))) || (this.hitTest(_root.block27))) || (this.hitTest(_root.block28))) || (this.hitTest(_root.block29))) || (this.hitTest(_root.bloc30))) || (this.hitTest(_root.block31))) || (this.hitTest(_root.block32))) {
dx = dx * BOUNCINESS;
dy = dy * BOUNCINESS;
_x = (_x + dx);
_y = (_y + dy);
}
_root.checkForDeath(_x, _y);
previousx = _x;
previousy = _y;
}
Instance of Symbol 45 MovieClip "critter4" in Frame 56 (2.19 KiB) ●
onClipEvent (load) {
var dx = 0;
var dy = 0;
var previousx;
var previousy;
var MAXD = 20;
var FRICTION = 0.9;
var BOUNCINESS = -1;
var TOPBOUNDARY = (0 + (_height / 2));
var BOTTOMBOUNDARY = (370 - (_height / 2));
var LEFTBOUNDARY = (150 + (_width / 2));
var RIGHTBOUNDARY = (550 - (_width / 2));
}
onClipEvent (enterFrame) {
dx = dx + _root.xFanEffect(_x, _y);
dy = dy + _root.yFanEffect(_x, _y);
if (MAXD < dx) {
dx = MAXD;
} else if (dx < (-MAXD)) {
dx = -MAXD;
}
if (MAXD < dy) {
dy = MAXD;
} else if (dy < (-MAXD)) {
dy = -MAXD;
}
_x = (_x + dx);
_y = (_y + dy);
dx = dx * FRICTION;
dy = dy * FRICTION;
if (_y < TOPBOUNDARY) {
_y = TOPBOUNDARY;
dy = dy * BOUNCINESS;
} else if (BOTTOMBOUNDARY < _y) {
_y = BOTTOMBOUNDARY;
dy = dy * BOUNCINESS;
}
if (_x < LEFTBOUNDARY) {
_x = LEFTBOUNDARY;
dx = dx * BOUNCINESS;
} else if (RIGHTBOUNDARY < _x) {
_x = RIGHTBOUNDARY;
dx = dx * BOUNCINESS;
}
if (((((((((((((((((((((((((((((((this.hitTest(_root.block1) || (this.hitTest(_root.block2))) || (this.hitTest(_root.block3))) || (this.hitTest(_root.block4))) || (this.hitTest(_root.block5))) || (this.hitTest(_root.block6))) || (this.hitTest(_root.block7))) || (this.hitTest(_root.block8))) || (this.hitTest(_root.block9))) || (this.hitTest(_root.block10))) || (this.hitTest(_root.block11))) || (this.hitTest(_root.block12))) || (this.hitTest(_root.block13))) || (this.hitTest(_root.block14))) || (this.hitTest(_root.block15))) || (this.hitTest(_root.block16))) || (this.hitTest(_root.block17))) || (this.hitTest(_root.block18))) || (this.hitTest(_root.block19))) || (this.hitTest(_root.block20))) || (this.hitTest(_root.block21))) || (this.hitTest(_root.block22))) || (this.hitTest(_root.block23))) || (this.hitTest(_root.block24))) || (this.hitTest(_root.block25))) || (this.hitTest(_root.block26))) || (this.hitTest(_root.block27))) || (this.hitTest(_root.block28))) || (this.hitTest(_root.block29))) || (this.hitTest(_root.bloc30))) || (this.hitTest(_root.block31))) || (this.hitTest(_root.block32))) {
dx = dx * BOUNCINESS;
dy = dy * BOUNCINESS;
_x = (_x + dx);
_y = (_y + dy);
}
_root.checkForDeath(_x, _y);
previousx = _x;
previousy = _y;
}
Instance of Symbol 52 MovieClip in Frame 56 (219 B)
onClipEvent (enterFrame) {
if (((this.hitTest(_root.critter1) && (this.hitTest(_root.critter2))) && (this.hitTest(_root.critter3))) && (this.hitTest(_root.critter4))) {
_root.nextLevel();
}
}
Instance of Symbol 45 MovieClip "critter1" in Frame 66 (2.19 KiB) ●
onClipEvent (load) {
var dx = 0;
var dy = 0;
var previousx;
var previousy;
var MAXD = 20;
var FRICTION = 0.9;
var BOUNCINESS = -1;
var TOPBOUNDARY = (0 + (_height / 2));
var BOTTOMBOUNDARY = (370 - (_height / 2));
var LEFTBOUNDARY = (150 + (_width / 2));
var RIGHTBOUNDARY = (550 - (_width / 2));
}
onClipEvent (enterFrame) {
dx = dx + _root.xFanEffect(_x, _y);
dy = dy + _root.yFanEffect(_x, _y);
if (MAXD < dx) {
dx = MAXD;
} else if (dx < (-MAXD)) {
dx = -MAXD;
}
if (MAXD < dy) {
dy = MAXD;
} else if (dy < (-MAXD)) {
dy = -MAXD;
}
_x = (_x + dx);
_y = (_y + dy);
dx = dx * FRICTION;
dy = dy * FRICTION;
if (_y < TOPBOUNDARY) {
_y = TOPBOUNDARY;
dy = dy * BOUNCINESS;
} else if (BOTTOMBOUNDARY < _y) {
_y = BOTTOMBOUNDARY;
dy = dy * BOUNCINESS;
}
if (_x < LEFTBOUNDARY) {
_x = LEFTBOUNDARY;
dx = dx * BOUNCINESS;
} else if (RIGHTBOUNDARY < _x) {
_x = RIGHTBOUNDARY;
dx = dx * BOUNCINESS;
}
if (((((((((((((((((((((((((((((((this.hitTest(_root.block1) || (this.hitTest(_root.block2))) || (this.hitTest(_root.block3))) || (this.hitTest(_root.block4))) || (this.hitTest(_root.block5))) || (this.hitTest(_root.block6))) || (this.hitTest(_root.block7))) || (this.hitTest(_root.block8))) || (this.hitTest(_root.block9))) || (this.hitTest(_root.block10))) || (this.hitTest(_root.block11))) || (this.hitTest(_root.block12))) || (this.hitTest(_root.block13))) || (this.hitTest(_root.block14))) || (this.hitTest(_root.block15))) || (this.hitTest(_root.block16))) || (this.hitTest(_root.block17))) || (this.hitTest(_root.block18))) || (this.hitTest(_root.block19))) || (this.hitTest(_root.block20))) || (this.hitTest(_root.block21))) || (this.hitTest(_root.block22))) || (this.hitTest(_root.block23))) || (this.hitTest(_root.block24))) || (this.hitTest(_root.block25))) || (this.hitTest(_root.block26))) || (this.hitTest(_root.block27))) || (this.hitTest(_root.block28))) || (this.hitTest(_root.block29))) || (this.hitTest(_root.bloc30))) || (this.hitTest(_root.block31))) || (this.hitTest(_root.block32))) {
dx = dx * BOUNCINESS;
dy = dy * BOUNCINESS;
_x = (_x + dx);
_y = (_y + dy);
}
_root.checkForDeath(_x, _y);
previousx = _x;
previousy = _y;
}
Instance of Symbol 45 MovieClip "critter2" in Frame 66 (2.19 KiB) ●
onClipEvent (load) {
var dx = 0;
var dy = 0;
var previousx;
var previousy;
var MAXD = 20;
var FRICTION = 0.9;
var BOUNCINESS = -1;
var TOPBOUNDARY = (0 + (_height / 2));
var BOTTOMBOUNDARY = (370 - (_height / 2));
var LEFTBOUNDARY = (150 + (_width / 2));
var RIGHTBOUNDARY = (550 - (_width / 2));
}
onClipEvent (enterFrame) {
dx = dx + _root.xFanEffect(_x, _y);
dy = dy + _root.yFanEffect(_x, _y);
if (MAXD < dx) {
dx = MAXD;
} else if (dx < (-MAXD)) {
dx = -MAXD;
}
if (MAXD < dy) {
dy = MAXD;
} else if (dy < (-MAXD)) {
dy = -MAXD;
}
_x = (_x + dx);
_y = (_y + dy);
dx = dx * FRICTION;
dy = dy * FRICTION;
if (_y < TOPBOUNDARY) {
_y = TOPBOUNDARY;
dy = dy * BOUNCINESS;
} else if (BOTTOMBOUNDARY < _y) {
_y = BOTTOMBOUNDARY;
dy = dy * BOUNCINESS;
}
if (_x < LEFTBOUNDARY) {
_x = LEFTBOUNDARY;
dx = dx * BOUNCINESS;
} else if (RIGHTBOUNDARY < _x) {
_x = RIGHTBOUNDARY;
dx = dx * BOUNCINESS;
}
if (((((((((((((((((((((((((((((((this.hitTest(_root.block1) || (this.hitTest(_root.block2))) || (this.hitTest(_root.block3))) || (this.hitTest(_root.block4))) || (this.hitTest(_root.block5))) || (this.hitTest(_root.block6))) || (this.hitTest(_root.block7))) || (this.hitTest(_root.block8))) || (this.hitTest(_root.block9))) || (this.hitTest(_root.block10))) || (this.hitTest(_root.block11))) || (this.hitTest(_root.block12))) || (this.hitTest(_root.block13))) || (this.hitTest(_root.block14))) || (this.hitTest(_root.block15))) || (this.hitTest(_root.block16))) || (this.hitTest(_root.block17))) || (this.hitTest(_root.block18))) || (this.hitTest(_root.block19))) || (this.hitTest(_root.block20))) || (this.hitTest(_root.block21))) || (this.hitTest(_root.block22))) || (this.hitTest(_root.block23))) || (this.hitTest(_root.block24))) || (this.hitTest(_root.block25))) || (this.hitTest(_root.block26))) || (this.hitTest(_root.block27))) || (this.hitTest(_root.block28))) || (this.hitTest(_root.block29))) || (this.hitTest(_root.bloc30))) || (this.hitTest(_root.block31))) || (this.hitTest(_root.block32))) {
dx = dx * BOUNCINESS;
dy = dy * BOUNCINESS;
_x = (_x + dx);
_y = (_y + dy);
}
_root.checkForDeath(_x, _y);
previousx = _x;
previousy = _y;
}
Instance of Symbol 55 MovieClip "enemy1" in Frame 66 (2.29 KiB) ●
onClipEvent (load) {
var DDX = 0.7;
var DDY = DDX;
var MAXD = 1;
var dx = 0;
var dy = 0;
var FRICTION = 0.9;
var BOUNCINESS = -2;
var TOPBOUNDARY = (0 + (_height / 2));
var BOTTOMBOUNDARY = (370 - (_height / 2));
var LEFTBOUNDARY = (150 + (_width / 2));
var RIGHTBOUNDARY = (550 - (_width / 2));
}
onClipEvent (enterFrame) {
if (_root.critter1._x < this._x) {
dx = dx - DDX;
if (dx < (-MAXD)) {
dx = -MAXD;
}
} else if (this._x < _root.critter1._x) {
dx = dx + DDX;
if (MAXD < dx) {
dx = MAXD;
}
}
if (_root.critter1._y < this._y) {
dy = dy - DDY;
if (dy < (-MAXD)) {
dy = -MAXD;
}
} else if (this._y < _root.critter1._y) {
dy = dy + DDY;
if (MAXD < dy) {
dy = MAXD;
}
}
_x = (_x + dx);
_y = (_y + dy);
dx = dx * FRICTION;
dy = dy * FRICTION;
if (_y < TOPBOUNDARY) {
_y = TOPBOUNDARY;
dy = dy * BOUNCINESS;
} else if (BOTTOMBOUNDARY < _y) {
_y = BOTTOMBOUNDARY;
dy = dy * BOUNCINESS;
}
if (_x < LEFTBOUNDARY) {
_x = LEFTBOUNDARY;
dx = dx * BOUNCINESS;
} else if (RIGHTBOUNDARY < _x) {
_x = RIGHTBOUNDARY;
dx = dx * BOUNCINESS;
}
if (((((((((((((((((((((((((((((((this.hitTest(_root.block1) || (this.hitTest(_root.block2))) || (this.hitTest(_root.block3))) || (this.hitTest(_root.block4))) || (this.hitTest(_root.block5))) || (this.hitTest(_root.block6))) || (this.hitTest(_root.block7))) || (this.hitTest(_root.block8))) || (this.hitTest(_root.block9))) || (this.hitTest(_root.block10))) || (this.hitTest(_root.block11))) || (this.hitTest(_root.block12))) || (this.hitTest(_root.block13))) || (this.hitTest(_root.block14))) || (this.hitTest(_root.block15))) || (this.hitTest(_root.block16))) || (this.hitTest(_root.block17))) || (this.hitTest(_root.block18))) || (this.hitTest(_root.block19))) || (this.hitTest(_root.block20))) || (this.hitTest(_root.block21))) || (this.hitTest(_root.block22))) || (this.hitTest(_root.block23))) || (this.hitTest(_root.block24))) || (this.hitTest(_root.block25))) || (this.hitTest(_root.block26))) || (this.hitTest(_root.block27))) || (this.hitTest(_root.block28))) || (this.hitTest(_root.block29))) || (this.hitTest(_root.bloc30))) || (this.hitTest(_root.block31))) || (this.hitTest(_root.block32))) {
dx = dx * BOUNCINESS;
dy = dy * BOUNCINESS;
_x = (_x + dx);
_y = (_y + dy);
}
}
Instance of Symbol 56 MovieClip "enemy2" in Frame 66 (2.29 KiB) ●
onClipEvent (load) {
var DDX = 0.7;
var DDY = DDX;
var MAXD = 1;
var dx = 0;
var dy = 0;
var FRICTION = 0.9;
var BOUNCINESS = -2;
var TOPBOUNDARY = (0 + (_height / 2));
var BOTTOMBOUNDARY = (370 - (_height / 2));
var LEFTBOUNDARY = (150 + (_width / 2));
var RIGHTBOUNDARY = (550 - (_width / 2));
}
onClipEvent (enterFrame) {
if (_root.critter2._x < this._x) {
dx = dx - DDX;
if (dx < (-MAXD)) {
dx = -MAXD;
}
} else if (this._x < _root.critter2._x) {
dx = dx + DDX;
if (MAXD < dx) {
dx = MAXD;
}
}
if (_root.critter2._y < this._y) {
dy = dy - DDY;
if (dy < (-MAXD)) {
dy = -MAXD;
}
} else if (this._y < _root.critter2._y) {
dy = dy + DDY;
if (MAXD < dy) {
dy = MAXD;
}
}
_x = (_x + dx);
_y = (_y + dy);
dx = dx * FRICTION;
dy = dy * FRICTION;
if (_y < TOPBOUNDARY) {
_y = TOPBOUNDARY;
dy = dy * BOUNCINESS;
} else if (BOTTOMBOUNDARY < _y) {
_y = BOTTOMBOUNDARY;
dy = dy * BOUNCINESS;
}
if (_x < LEFTBOUNDARY) {
_x = LEFTBOUNDARY;
dx = dx * BOUNCINESS;
} else if (RIGHTBOUNDARY < _x) {
_x = RIGHTBOUNDARY;
dx = dx * BOUNCINESS;
}
if (((((((((((((((((((((((((((((((this.hitTest(_root.block1) || (this.hitTest(_root.block2))) || (this.hitTest(_root.block3))) || (this.hitTest(_root.block4))) || (this.hitTest(_root.block5))) || (this.hitTest(_root.block6))) || (this.hitTest(_root.block7))) || (this.hitTest(_root.block8))) || (this.hitTest(_root.block9))) || (this.hitTest(_root.block10))) || (this.hitTest(_root.block11))) || (this.hitTest(_root.block12))) || (this.hitTest(_root.block13))) || (this.hitTest(_root.block14))) || (this.hitTest(_root.block15))) || (this.hitTest(_root.block16))) || (this.hitTest(_root.block17))) || (this.hitTest(_root.block18))) || (this.hitTest(_root.block19))) || (this.hitTest(_root.block20))) || (this.hitTest(_root.block21))) || (this.hitTest(_root.block22))) || (this.hitTest(_root.block23))) || (this.hitTest(_root.block24))) || (this.hitTest(_root.block25))) || (this.hitTest(_root.block26))) || (this.hitTest(_root.block27))) || (this.hitTest(_root.block28))) || (this.hitTest(_root.block29))) || (this.hitTest(_root.bloc30))) || (this.hitTest(_root.block31))) || (this.hitTest(_root.block32))) {
dx = dx * BOUNCINESS;
dy = dy * BOUNCINESS;
_x = (_x + dx);
_y = (_y + dy);
}
}
Instance of Symbol 50 MovieClip in Frame 66 (131 B)
onClipEvent (enterFrame) {
if (this.hitTest(_root.critter1) && (this.hitTest(_root.critter2))) {
_root.nextLevel();
}
}
Symbol 11 Button (64 B)
on (release) {
getURL ("http://www.newgrounds.com", "blank");
}
Symbol 16 Button (31 B)
on (release) {
_root.play();
}
Symbol 17 MovieClip Frame 1 (179 B)
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndStop (3);
}
Symbol 17 MovieClip Frame 2 (17 B)
gotoAndPlay (1);
Symbol 21 Button (50 B)
on (release) {
Mouse.show();
gotoAndStop (96);
}
Instance of Symbol 28 MovieClip in Symbol 37 MovieClip Frame 1 (49 B)
onClipEvent (enterFrame) {
_root.updateTime();
}
Instance of Symbol 40 MovieClip in Symbol 41 MovieClip Frame 1 (675 B)
onClipEvent (load) {
var rotationSpeed = 0;
var ROTATIONSPEEDMAX = 30;
var ACCELERATION = 3;
var DECCELERATION = 0.5;
var turnedOn = false;
}
onClipEvent (mouseDown) {
turnedOn = true;
}
onClipEvent (mouseUp) {
turnedOn = false;
}
onClipEvent (enterFrame) {
if (turnedOn) {
rotationSpeed = rotationSpeed + ACCELERATION;
if (ROTATIONSPEEDMAX < rotationSpeed) {
rotationSpeed = ROTATIONSPEEDMAX;
}
} else {
rotationSpeed = rotationSpeed - DECCELERATION;
if (rotationSpeed < 0) {
rotationSpeed = 0;
}
}
_rotation = (_rotation + rotationSpeed);
_root.fanPower = rotationSpeed;
if (360 < _rotation) {
_rotation = (_rotation - 360);
}
}
Symbol 62 Button (68 B)
on (release) {
gotoAndStop(("level" + _root.level) + "Start" +5);
}