Frame 1
stop();
if (password eq "Bla3") {
gotoAndPlay (1);
}
Instance of Symbol 363 MovieClip in Frame 1
on (release) {
getURL ("http://www.kongregate.com", "_blank");
}
Instance of Symbol 384 MovieClip in Frame 45
on (release) {
getURL ("http://www.kongregate.com", "_blank");
}
Frame 206
stop();
Instance of Symbol 434 MovieClip in Frame 206
onClipEvent (load) {
_root.frame = 1;
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.frame);
}
Frame 207
levelEnd.gotoAndStop(1);
_root.gameEnd = false;
_root.reset = false;
_root.saving = false;
gunShot = new Sound();
gunShot.attachSound("gunShot");
explode = new Sound();
explode.attachSound("explode");
smash = new Sound();
smash.attachSound("smash");
hit = new Sound();
hit.attachSound("hit");
groundHit = new Sound();
groundHit.attachSound("groundHit");
coin = new Sound();
coin.attachSound("coinSound");
fatLand = new Sound();
fatLand.attachSound("FatLand");
onEnterFrame = function () {
if (_root.Pause) {
coin.setVolume(25);
} else {
coin.setVolume(100);
}
};
stop();
Instance of Symbol 447 MovieClip "land" in Frame 207
onClipEvent (load) {
xPos = _x;
yPos = _y;
}
onClipEvent (enterFrame) {
if (_root.saveing) {
xPos = _x;
yPos = _y;
}
if (_root.reset) {
_x = xPos;
_y = yPos;
}
}
Instance of Symbol 455 MovieClip in Frame 207
onClipEvent (load) {
activated = false;
interval = 0;
otherInterval = 0;
passed = false;
this.gotoAndStop(3);
xPos = _x;
yPos = _y;
angle = 0;
radius = 100;
}
onClipEvent (enterFrame) {
if (!_root.Pause) {
if (!_root.stage) {
_x = (_x - _root.elf.xSpeed);
_x = (_x + ((273 - _root.elf._x) / 10));
} else {
_x = (_x - _root.elf.xSpeed);
}
if (!_root.elf.air) {
if (!passed) {
if (!activated) {
if (!_root.stage) {
if (_x < _root.elf._x) {
_root.bunnyVar = 0;
_root.shootBunnyLimit = 4;
_root.elf.diff = _root.land._x;
_root.stage = true;
activated = true;
}
}
} else if (activated) {
this._x = 273;
if (_root.enemysKilled > 10) {
_root.enemysKilled = 0;
_root.stage = false;
passed = true;
}
interval = random(150);
if (interval == 1) {
_root.attachMovie("bunny", "obj" + _root.objVar, _root.objVar + 100);
_root["obj" + _root.objVar]._x = 600 * random(2);
_root["obj" + _root.objVar]._y = 322.5 - random(130);
_root.objVar++;
}
interval = random(200);
if (interval == 1) {
_root.attachMovie("egg", "obj" + _root.objVar, _root.objVar + 100);
_root["obj" + _root.objVar]._x = 600 * random(2);
_root["obj" + _root.objVar]._y = 322.5 - random(130);
_root.objVar++;
}
interval = random(50);
if (interval == 1) {
_root.attachMovie("bombEgg", "obj" + _root.objVar, _root.objVar + 100);
_root["obj" + _root.objVar]._x = random(500) + 300;
_root["obj" + _root.objVar]._y = 0;
_root["obj" + _root.objVar].ground = 150 + random(150);
_root.objVar++;
}
this.gotoAndStop(2);
}
} else {
this.gotoAndStop(4);
}
}
if (_root.saveing) {
xPos = _x;
yPos = _y;
}
if (_root.reset) {
_x = xPos;
_y = yPos;
if (_x > _root.elf._x) {
activated = false;
this.gotoAndStop(3);
interval = 0;
passed = false;
}
}
}
}
Instance of Symbol 461 MovieClip in Frame 207
onClipEvent (load) {
activated = false;
interval = 0;
otherInterval = 0;
passed = false;
this.gotoAndStop(3);
xPos = _x;
yPos = _y;
angle = 0;
radius = 100;
}
onClipEvent (enterFrame) {
if (!_root.Pause) {
if (!_root.stage) {
_x = (_x - _root.elf.xSpeed);
_x = (_x + ((273 - _root.elf._x) / 10));
} else {
_x = (_x - _root.elf.xSpeed);
}
if (!_root.elf.air) {
if (!passed) {
if (!activated) {
if (!_root.stage) {
if (_x < _root.elf._x) {
_root.bunnyVar = 0;
_root.shootBunnyLimit = 4;
_root.elf.diff = _root.land._x;
_root.stage = true;
activated = true;
}
}
} else if (activated) {
this._x = 273;
if (_root.enemysKilled > 10) {
_root.enemysKilled = 0;
_root.stage = false;
passed = true;
}
interval = random(150);
if (interval == 1) {
_root.attachMovie("bunny", "obj" + _root.objVar, _root.objVar + 100);
_root["obj" + _root.objVar]._x = 600 * random(2);
_root["obj" + _root.objVar]._y = 322.5 - random(130);
_root.objVar++;
}
interval = random(200);
if (interval == 1) {
_root.attachMovie("egg", "obj" + _root.objVar, _root.objVar + 100);
_root["obj" + _root.objVar]._x = 600 * random(2);
_root["obj" + _root.objVar]._y = 322.5 - random(130);
_root.objVar++;
}
this.gotoAndStop(2);
}
} else {
this.gotoAndStop(4);
}
}
if (_root.saveing) {
xPos = _x;
yPos = _y;
}
if (_root.reset) {
_x = xPos;
_y = yPos;
if (_x > _root.elf._x) {
activated = false;
this.gotoAndStop(3);
interval = 0;
passed = false;
}
}
}
}
Instance of Symbol 467 MovieClip in Frame 207
onClipEvent (load) {
activated = false;
interval = 0;
otherInterval = 0;
passed = false;
this.gotoAndStop(3);
xPos = _x;
yPos = _y;
angle = 0;
radius = 100;
}
onClipEvent (enterFrame) {
if (!_root.Pause) {
if (!_root.stage) {
_x = (_x - _root.elf.xSpeed);
_x = (_x + ((273 - _root.elf._x) / 10));
} else {
_x = (_x - _root.elf.xSpeed);
}
if (!_root.elf.air) {
if (!passed) {
if (!activated) {
if (!_root.stage) {
if (_x < _root.elf._x) {
_root.bunnyVar = 0;
_root.shootBunnyLimit = 4;
_root.elf.diff = _root.land._x;
_root.stage = true;
activated = true;
}
}
} else if (activated) {
this._x = 273;
if (_root.enemysKilled > 10) {
_root.enemysKilled = 0;
_root.stage = false;
passed = true;
}
interval = random(150);
if (interval == 1) {
_root.attachMovie("bunny", "obj" + _root.objVar, _root.objVar + 100);
_root["obj" + _root.objVar]._x = 600 * random(2);
_root["obj" + _root.objVar]._y = 322.5 - random(130);
_root.objVar++;
}
this.gotoAndStop(2);
}
} else {
this.gotoAndStop(4);
}
}
if (_root.saveing) {
xPos = _x;
yPos = _y;
}
if (_root.reset) {
_x = xPos;
_y = yPos;
if (_x > _root.elf._x) {
activated = false;
this.gotoAndStop(3);
interval = 0;
passed = false;
}
}
}
}
Instance of Symbol 469 MovieClip in Frame 207
/* no clip actions */
Instance of Symbol 740 MovieClip "elf" in Frame 207
onClipEvent (load) {
_root.gunRedBought = false;
_root.gunSilverBought = false;
_root.gunGoldBought = false;
_root.hammerRedBought = false;
_root.hammerSilverBought = false;
_root.hammerGoldBought = false;
coinSave = 0;
_root.Pause = false;
pauseInterval = 0;
speed = 3;
xPos = _x;
yPos = _y;
dead = false;
switching = false;
xSpeed = 0;
ySpeed = 0;
dir = 1;
vdir = 0;
hammerPower = 10;
gun = false;
hit = false;
hammerWood = true;
hammerRed = false;
HammerSilver = false;
hammerGold = false;
gunRed = false;
gunSilver = false;
gunGold = false;
halfGravity = 0;
hammerHit = false;
_root.depthVar = 500;
jump = false;
gravity = 0;
cannon = false;
hammer = true;
_root.enemysKilled = 0;
ground = 0;
health = 50;
healthTotal = health;
_root.gold = 0;
gravity = 0;
right = false;
landed = false;
_root.wait = false;
air = false;
xSpeedLimit = speed;
ySpeedLimit = speed / 2;
this.swapDepths(1050);
depthVar = 0;
_root.objVar = 0;
landDiff = 0;
left = false;
_root.stage = false;
up = false;
diff = 0;
down = false;
interval = 0;
shoot = false;
healthSave = health;
_root.buyMenu = false;
_root.attachMovie("Shadow", "shadow", 2);
}
onClipEvent (enterFrame) {
if (_root.gameEnd) {
this.swapDepths(9999);
this.removeMovieClip();
}
if (!_root.Pause) {
if (!dead) {
if (!switching) {
if (!jump) {
if (!_root.buyMenu) {
_xscale = (40 * dir);
_root.healthPercent = (health / healthTotal) * 100;
if (!hit) {
if (!air) {
ground = _y;
if (!attack) {
if (Key.isDown(39)) {
right = true;
if (_x < 525) {
xSpeed = speed;
} else {
xSpeed = 0;
}
dir = 1;
} else {
right = false;
}
if (Key.isDown(37)) {
left = true;
if (_x > 25) {
xSpeed = speed * -1;
} else {
xSpeed = 0;
}
dir = -1;
} else {
left = false;
}
if (Key.isDown(38)) {
up = true;
vdir = -1;
ySpeed = (speed / 2) * -1;
} else {
up = false;
}
if (Key.isDown(40)) {
down = true;
vdir = 1;
ySpeed = speed / 2;
} else {
down = false;
}
if ((!left) && (!right)) {
xSpeed = 0;
} else if (_root.land.jumping.hitTest(_x + (25 * dir), _y, true) == false) {
xSpeed = 0;
}
if ((!down) && (!up)) {
ySpeed = 0;
} else if (_root.land.jumping.hitTest(_x, _y + (15 * vdir), true) == false) {
ySpeed = 0;
}
if ((((!left) && (!right)) && (!down)) && (!up)) {
xSpeed = 0;
ySpeed = 0;
idle = true;
walk = false;
} else {
idle = false;
walk = true;
}
if (Key.isDown(32)) {
if (cannon) {
if (gunRed) {
_root.attachMovie("Ball", "obj" + _root.objVar, _root.depthVar + 100);
_root["obj" + _root.objVar].dir = dir;
_root["obj" + _root.objVar]._x = _x + (30 * dir);
_root["obj" + _root.objVar]._y = _y - 30;
_root["obj" + _root.objVar].ground = _y;
_root["obj" + _root.objVar].power = 10;
_root.objVar++;
_root.depthVar++;
shoot = true;
_root.gunShot.start();
}
if (gunSilver) {
_root.attachMovie("Ballsilver", "obj" + _root.objVar, _root.depthVar + 100);
_root["obj" + _root.objVar].dir = dir;
_root["obj" + _root.objVar]._x = _x + (30 * dir);
_root["obj" + _root.objVar]._y = _y - 30;
_root["obj" + _root.objVar].ground = _y;
_root["obj" + _root.objVar].power = 20;
_root.objVar++;
_root.depthVar++;
shoot = true;
_root.gunShot.start();
}
if (gunGold) {
_root.attachMovie("Ballgold", "obj" + _root.objVar, _root.depthVar + 100);
_root["obj" + _root.objVar].dir = dir;
_root["obj" + _root.objVar]._x = _x + (30 * dir);
_root["obj" + _root.objVar]._y = _y - 30;
_root["obj" + _root.objVar].ground = _y;
_root["obj" + _root.objVar].power = 30;
_root.objVar++;
_root.depthVar++;
shoot = true;
_root.gunShot.start();
}
}
if (hammer) {
hammerHit = true;
}
attack = true;
walk = false;
idle = false;
}
} else {
xSpeed = 0;
ySpeed = 0;
}
} else {
if (ground > 322.5) {
ground = 322.5;
ySpeed = ySpeed * -1;
}
if (ground < 180) {
_y = (_y - ySpeed);
ground = 180;
ySpeed = -ySpeed;
}
if (_x < 0) {
_x = 0;
xSpeed = xSpeed * -1;
}
if (_x > 547.5) {
_x = 547.5;
xSpeed = xSpeed * -1;
}
_y = (_y + gravity);
ground = ground + ySpeed;
if (!landed) {
gravity++;
if (_y > ground) {
_y = ground;
if (gravity > halfGravity) {
_root.hit.start();
gravity = (gravity * -1) / 2;
xSpeed = xSpeed / 2;
ySpeed = ySpeed / 2;
} else {
gravity = 0;
landed = true;
}
}
} else {
xSpeed = 0;
interval++;
if (interval == 20) {
air = false;
interval = 0;
landed = false;
}
}
}
}
i = 0;
while (i < 50) {
if (ground > _root["obj" + i]._y) {
if (this.getDepth() < _root["obj" + i].getDepth()) {
this.swapDepths(_root["obj" + i]);
}
}
i++;
}
if (_root.objVar > 50) {
_root.objVar = 0;
}
} else {
xSpeed = 0;
ySpeed = 0;
}
} else {
ground = ground + ySpeed;
this.gotoAndStop("jump");
_y = (_y + gravity);
gravity++;
if (_y > ground) {
_y = ground;
gravity = 0;
jump = false;
xSpeed = 0;
}
}
if (_root.stage) {
if (!air) {
xSpeed = xSpeed / 2;
}
landDiff = landDiff + xSpeed;
xDist = _x - 273;
_root.land._x = (273 - (273 - diff)) - xDist;
_x = (_x + xSpeed);
_y = (_y + ySpeed);
} else {
landDiff = landDiff + xSpeed;
_y = (_y + ySpeed);
_x = (_x + ((273 - _x) / 10));
_root.land._x = _root.land._x + ((273 - _x) / 10);
_root.land._x = _root.land._x - xSpeed;
}
}
if (!_root.buyMenu) {
if (cannon) {
if (gunRed) {
if (!switching) {
if (!hit) {
if (air) {
if (landed) {
this.gotoAndStop("gettingUp");
} else {
this.gotoAndStop("falling");
}
} else {
if (idle) {
this.gotoAndStop("idle");
}
if (walk) {
this.gotoAndStop("walk");
}
if (shoot) {
interval++;
if (interval == 13) {
interval = 0;
attack = false;
shoot = false;
}
this.gotoAndStop("shoot");
}
}
} else {
interval++;
if (interval == 10) {
interval = 0;
hit = false;
}
this.gotoAndStop("cannonHit");
}
}
}
}
if (cannon) {
if (gunSilver) {
if (!switching) {
if (!hit) {
if (air) {
if (landed) {
this.gotoAndStop("SgettingUp");
} else {
this.gotoAndStop("Sfalling");
}
} else {
if (idle) {
this.gotoAndStop("Sidle");
}
if (walk) {
this.gotoAndStop("Swalk");
}
if (shoot) {
interval++;
if (interval == 13) {
interval = 0;
attack = false;
shoot = false;
}
this.gotoAndStop("Sshoot");
}
}
} else {
interval++;
if (interval == 10) {
interval = 0;
hit = false;
}
this.gotoAndStop("ScannonHit");
}
}
}
}
if (cannon) {
if (gunGold) {
if (!switching) {
if (!hit) {
if (air) {
if (landed) {
this.gotoAndStop("GgettingUp");
} else {
this.gotoAndStop("Gfalling");
}
} else {
if (idle) {
this.gotoAndStop("Gidle");
}
if (walk) {
this.gotoAndStop("Gwalk");
}
if (shoot) {
interval++;
if (interval == 13) {
interval = 0;
attack = false;
shoot = false;
}
this.gotoAndStop("Gshoot");
}
}
} else {
interval++;
if (interval == 10) {
interval = 0;
hit = false;
}
this.gotoAndStop("GcannonHit");
}
}
}
}
if (hammer) {
if (hammerWood) {
hammerPower = 10;
if (!switching) {
if (!hit) {
if (!air) {
if (hammerHit) {
interval++;
if (interval == 20) {
interval = 0;
hammerHit = false;
hit = false;
attack = false;
}
this.gotoAndStop("hammerHit");
} else {
if (idle) {
this.gotoAndStop("hammerIdle");
}
if (walk) {
this.gotoAndStop("hammerWalk");
}
}
} else if (landed) {
this.gotoAndStop("hammerWoodGettingUp");
} else {
this.gotoAndStop("hammerWoodFalling");
}
} else {
interval++;
if (interval == 10) {
interval = 0;
hit = false;
}
this.gotoAndStop("hammerHurt");
}
}
}
}
if (hammer) {
if (hammerRed) {
hammerPower = 20;
if (!switching) {
if (!hit) {
if (!air) {
if (hammerHit) {
interval++;
if (interval == 20) {
interval = 0;
hammerHit = false;
hit = false;
attack = false;
}
this.gotoAndStop("RhammerHit");
} else {
if (idle) {
this.gotoAndStop("RhammerIdle");
}
if (walk) {
this.gotoAndStop("RhammerWalk");
}
}
} else if (landed) {
this.gotoAndStop("hammerRedGettingUp");
} else {
this.gotoAndStop("hammerRedFalling");
}
} else {
interval++;
if (interval == 10) {
interval = 0;
hit = false;
}
this.gotoAndStop("RhammerHurt");
}
}
}
}
if (hammer) {
if (hammerSilver) {
hammerPower = 30;
if (!switching) {
if (!hit) {
if (!air) {
if (hammerHit) {
interval++;
if (interval == 20) {
interval = 0;
hammerHit = false;
hit = false;
attack = false;
}
this.gotoAndStop("ShammerHit");
} else {
if (idle) {
this.gotoAndStop("ShammerIdle");
}
if (walk) {
this.gotoAndStop("ShammerWalk");
}
}
} else if (landed) {
this.gotoAndStop("hammerSilverGettingUp");
} else {
this.gotoAndStop("hammerSilverFalling");
}
} else {
interval++;
if (interval == 10) {
interval = 0;
hit = false;
}
this.gotoAndStop("ShammerHurt");
}
}
}
}
if (hammer) {
if (hammerGold) {
hammerPower = 40;
if (!switching) {
if (!hit) {
if (!air) {
if (hammerHit) {
interval++;
if (interval == 20) {
interval = 0;
hammerHit = false;
hit = false;
attack = false;
}
this.gotoAndStop("GhammerHit");
} else {
if (idle) {
this.gotoAndStop("GhammerIdle");
}
if (walk) {
this.gotoAndStop("GhammerWalk");
}
}
} else if (landed) {
this.gotoAndStop("hammerGoldGettingUp");
} else {
this.gotoAndStop("hammerGoldFalling");
}
} else {
interval++;
if (interval == 10) {
interval = 0;
hit = false;
}
this.gotoAndStop("GhammerHurt");
}
}
}
}
}
if ((!hit) && (!air)) {
if ((!attack) && (!shoot)) {
if (_root.gunRedBought == true) {
if (Key.isDown(17)) {
if (!switching) {
if (hammer) {
hammerSwitch = true;
cannon = true;
hammer = false;
} else {
cannon = false;
hammer = true;
cannonSwitch = true;
}
xSpeed = 0;
ySpeed = 0;
switching = true;
interval = 0;
}
}
}
}
if (switching) {
interval++;
if (interval == 10) {
switching = false;
interval = 0;
}
}
}
if (health < 0) {
dead = true;
}
} else {
xSpeed = 0;
ySpeed = 0;
hit = false;
interval = 0;
air = false;
_root.death.gotoAndStop(2);
this.gotoAndStop("dead");
}
if (_root.saveing) {
xPos = _x;
yPos = _y;
healthSave = health;
coinSave = _root.gold;
}
if (_root.reset) {
_x = xPos;
_root.enemysKilled = 0;
_y = yPos;
dead = false;
_root.gold = coinSave;
health = 50;
}
if (_root.buyMenu) {
xSpeed = 0;
}
}
if (!Key.isDown(13)) {
pauseInterval++;
}
if (pauseInterval > 0) {
if (Key.isDown(13)) {
if (_root.Pause) {
_root.Pause = false;
pauseInterval = 0;
}
}
}
if (pauseInterval > 0) {
if (Key.isDown(13)) {
if (!_root.Pause) {
_root.Pause = true;
pauseInterval = 0;
}
}
}
if (!_root.land.jumping.hitTest(_x, _y, true)) {
if (_y > 300) {
_y = (_y - 1);
} else {
_y = (_y + 1);
}
}
}
Instance of Symbol 744 MovieClip in Frame 207
onClipEvent (load) {
interval = 0;
}
onClipEvent (enterFrame) {
_y = 100;
_x = _root.elf._x;
if (!_root.stage) {
interval++;
if (interval < 108) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
} else {
interval = 0;
this.gotoAndStop(2);
}
}
Instance of Symbol 780 MovieClip "menu" in Frame 207
onClipEvent (load) {
interval = 0;
leaving = false;
this.swapDepths(1500);
}
onClipEvent (enterFrame) {
if (!_root.buyMenu) {
this.gotoAndStop("idle");
} else if (!leaving) {
this.gotoAndStop("in");
} else {
this.gotoAndStop("out");
interval++;
if (interval == 60) {
leaving = false;
interval = 0;
_root.buyMenu = false;
}
}
}
Instance of Symbol 785 MovieClip in Frame 207
onClipEvent (load) {
this.swapDepths(2001);
}
Instance of Symbol 790 MovieClip in Frame 207
onClipEvent (load) {
this.swapDepths(2000);
}
Instance of Symbol 795 MovieClip "levelEnd" in Frame 207
onClipEvent (load) {
this.gotoAndStop(1);
this.swapDepths(3000);
}
Instance of Symbol 798 MovieClip "death" in Frame 207
onClipEvent (load) {
this.gotoAndStop(1);
this.swapDepths(3001);
}
Instance of Symbol 800 MovieClip in Frame 207
onClipEvent (load) {
hit = false;
}
onClipEvent (enterFrame) {
if (Key.isDown(39) && (Key.isDown(17))) {
if (!hit) {
hit = true;
}
} else {
hit = false;
}
}
Instance of Symbol 806 MovieClip in Frame 207
onClipEvent (enterFrame) {
if (_root.Pause) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Frame 208
levelEnd.gotoAndStop(1);
Instance of Symbol 818 MovieClip "land" in Frame 208
onClipEvent (load) {
xPos = _x;
yPos = _y;
_xscale = 100;
}
onClipEvent (enterFrame) {
if (_root.saveing) {
xPos = _x;
yPos = _y;
}
if (_root.reset) {
_x = xPos;
_y = yPos;
}
}
Instance of Symbol 820 MovieClip in Frame 208
onClipEvent (load) {
activated = false;
interval = 0;
otherInterval = 0;
passed = false;
this.gotoAndStop(3);
xPos = _x;
yPos = _y;
angle = 0;
radius = 100;
_root.fatVar = 0;
_root.fatBunnyLimit = 2;
}
onClipEvent (enterFrame) {
if (!_root.Pause) {
if (!_root.stage) {
_x = (_x - _root.elf.xSpeed);
_x = (_x + ((273 - _root.elf._x) / 10));
} else {
_x = (_x - _root.elf.xSpeed);
}
interval++;
if (!_root.elf.air) {
if (!passed) {
if (!activated) {
if (!_root.stage) {
if (_x < _root.elf._x) {
_root.bunnyVar = 0;
_root.shootBunnyLimit = 3;
_root.elf.diff = _root.land._x;
_root.stage = true;
activated = true;
}
}
} else if (activated) {
this._x = 273;
if (_root.enemysKilled > 10) {
_root.enemysKilled = 0;
_root.stage = false;
passed = true;
}
if (_root.bunnyVar < _root.shootBunnyLimit) {
interval = random(200);
if (interval == 1) {
_root.attachMovie("shootBunny", "obj" + _root.objVar, _root.depthVar + 100);
_root["obj" + _root.objVar]._x = 600 * random(2);
_root["obj" + _root.objVar]._y = 322.5 - random(130);
_root.objVar++;
_root.bunnyVar++;
_root.depthVar++;
}
}
if (_root.fatVar < _root.fatBunnyLimit) {
interval = random(200);
trace("thing");
if (interval == 1) {
_root.attachMovie("fat", "obj" + _root.objVar, _root.depthVar + 100);
_root["obj" + _root.objVar]._x = 650 * random(2);
_root["obj" + _root.objVar]._y = 322.5 - random(130);
_root.objVar++;
_root.depthVar++;
_root.fatVar++;
}
}
this.gotoAndStop(2);
}
} else {
this.gotoAndStop(4);
}
}
if (_root.saveing) {
xPos = _x;
yPos = _y;
}
if (_root.reset) {
_x = xPos;
_y = yPos;
if (_x > _root.elf._x) {
activated = false;
this.gotoAndStop(3);
interval = 0;
passed = false;
}
}
}
}
Instance of Symbol 822 MovieClip in Frame 208
onClipEvent (load) {
activated = false;
interval = 0;
otherInterval = 0;
passed = false;
this.gotoAndStop(3);
xPos = _x;
yPos = _y;
angle = 0;
radius = 100;
_root.fatVar = 0;
_root.fatBunnyLimit = 2;
}
onClipEvent (enterFrame) {
if (!_root.Pause) {
if (!_root.stage) {
_x = (_x - _root.elf.xSpeed);
_x = (_x + ((273 - _root.elf._x) / 10));
} else {
_x = (_x - _root.elf.xSpeed);
}
if (!_root.elf.air) {
if (!passed) {
if (!activated) {
if (!_root.stage) {
if (_x < _root.elf._x) {
_root.bunnyVar = 0;
_root.shootBunnyLimit = 4;
_root.elf.diff = _root.land._x;
_root.stage = true;
activated = true;
}
}
} else if (activated) {
this._x = 273;
if (_root.enemysKilled > 10) {
_root.enemysKilled = 0;
_root.stage = false;
passed = true;
}
if (_root.bunnyVar < _root.shootBunnyLimit) {
interval = random(250);
if (interval == 1) {
_root.attachMovie("shootBunny", "obj" + _root.objVar, _root.depthVar + 100);
_root["obj" + _root.objVar]._x = 600 * random(2);
_root["obj" + _root.objVar]._y = 322.5 - random(130);
_root.objVar++;
_root.depthVar++;
}
}
if (_root.fatVar < _root.fatBunnyLimit) {
interval = random(300);
if (interval == 1) {
_root.attachMovie("fat", "obj" + _root.objVar, _root.depthVar + 100);
_root["obj" + _root.objVar]._x = 650 * random(2);
_root["obj" + _root.objVar]._y = 322.5 - random(130);
_root.objVar++;
_root.depthVar++;
_root.fatVar++;
}
}
interval = random(75);
if (interval == 1) {
_root.attachMovie("bombEgg", "obj" + _root.objVar, _root.objVar + 100);
_root["obj" + _root.objVar]._x = random(500) + 300;
_root["obj" + _root.objVar]._y = 0;
_root["obj" + _root.objVar].ground = 150 + random(150);
_root.objVar++;
}
this.gotoAndStop(2);
}
} else {
this.gotoAndStop(4);
}
}
if (_root.saveing) {
xPos = _x;
yPos = _y;
}
if (_root.reset) {
_x = xPos;
_y = yPos;
if (_x > _root.elf._x) {
activated = false;
this.gotoAndStop(3);
interval = 0;
passed = false;
}
}
}
}
Instance of Symbol 467 MovieClip in Frame 208
onClipEvent (load) {
activated = false;
interval = 0;
otherInterval = 0;
passed = false;
this.gotoAndStop(3);
xPos = _x;
yPos = _y;
angle = 0;
radius = 100;
}
onClipEvent (enterFrame) {
if (!_root.Pause) {
if (!_root.stage) {
_x = (_x - _root.elf.xSpeed);
_x = (_x + ((273 - _root.elf._x) / 10));
} else {
_x = (_x - _root.elf.xSpeed);
}
if (!_root.elf.air) {
if (!passed) {
if (!activated) {
if (!_root.stage) {
if (_x < _root.elf._x) {
_root.bunnyVar = 0;
_root.shootBunnyLimit = 4;
_root.elf.diff = _root.land._x;
_root.stage = true;
activated = true;
}
}
} else if (activated) {
this._x = 273;
if (_root.enemysKilled > 15) {
_root.enemysKilled = 0;
_root.stage = false;
passed = true;
}
if (_root.bunnyVar < _root.shootBunnyLimit) {
interval = random(100);
if (interval == 1) {
_root.attachMovie("shootBunny", "obj" + _root.objVar, _root.depthVar + 100);
_root["obj" + _root.objVar]._x = 600 * random(2);
_root["obj" + _root.objVar]._y = 322.5 - random(130);
_root.objVar++;
_root.bunnyVar++;
_root.depthVar++;
}
}
this.gotoAndStop(2);
}
} else {
this.gotoAndStop(4);
}
}
if (_root.saveing) {
xPos = _x;
yPos = _y;
}
if (_root.reset) {
_x = xPos;
_y = yPos;
if (_x > _root.elf._x) {
activated = false;
this.gotoAndStop(3);
interval = 0;
passed = false;
}
}
if (_root.bunnyVar < _root.shootBunnyLimit) {
_root.thing = 0;
} else {
_root.thing = 1;
}
}
}
Instance of Symbol 824 MovieClip in Frame 208
/* no clip actions */
Frame 209
levelEnd.gotoAndStop(1);
Instance of Symbol 834 MovieClip "land" in Frame 209
onClipEvent (load) {
xPos = _x;
yPos = _y;
}
onClipEvent (enterFrame) {
if (_root.saveing) {
xPos = _x;
yPos = _y;
}
if (_root.reset) {
_x = xPos;
_y = yPos;
}
}
Instance of Symbol 836 MovieClip in Frame 209
onClipEvent (load) {
this.swapDepths(30);
xPos = 0;
yPos = 0;
}
onClipEvent (enterFrame) {
if (!_root.Pause) {
if (_root.bossLevel) {
this.swapDepths(9999);
removeMovieClip(this);
}
if (_root.stage) {
_x = (_x - _root.elf.xSpeed);
} else {
_x = (_x + ((273 - _root.elf._x) / 10));
_x = (_x - _root.elf.xSpeed);
}
if (_y > _root.elf.ground) {
if (this.getDepth() < _root.elf.getDepth()) {
this.swapDepths(_root.elf);
}
} else if (this.getDepth() > _root.elf.getDepth()) {
this.swapDepths(_root.elf);
}
}
if (_root.saveing) {
xPos = _x;
yPos = _y;
}
if (_root.reset) {
_x = xPos;
_y = yPos;
}
}
Instance of Symbol 840 MovieClip in Frame 209
onClipEvent (load) {
this.swapDepths(1345);
xPos = 0;
yPos = 0;
}
onClipEvent (enterFrame) {
if (!_root.stage) {
_x = (_x - _root.elf.xSpeed);
_x = (_x + ((273 - _root.elf._x) / 10));
} else {
_x = (_x - _root.elf.xSpeed);
}
if (_root.saveing) {
xPos = _x;
yPos = _y;
}
if (_root.reset) {
_x = xPos;
_y = yPos;
}
if (!_root.stage) {
if (this.hitSpot.hitTest(_root.elf._x, _root.elf._y, true)) {
_root.levelEnd.gotoAndStop(2);
}
}
if (_root.bossLevel) {
this.swapDepths(9999);
this.removeMovieClip();
}
}
Instance of Symbol 467 MovieClip in Frame 209
onClipEvent (load) {
activated = false;
interval = 0;
otherInterval = 0;
passed = false;
this.gotoAndStop(3);
xPos = _x;
yPos = _y;
angle = 0;
radius = 100;
holeBunnySpawn = 0;
}
onClipEvent (enterFrame) {
if (!_root.Pause) {
holeBunnySpawn++;
if (!_root.stage) {
_x = (_x - _root.elf.xSpeed);
_x = (_x + ((273 - _root.elf._x) / 10));
} else {
_x = (_x - _root.elf.xSpeed);
}
if (!_root.elf.air) {
if (!passed) {
if (!activated) {
if (!_root.stage) {
if (_x < _root.elf._x) {
_root.bunnyVar = 0;
_root.shootBunnyLimit = 4;
_root.elf.diff = _root.land._x;
_root.stage = true;
activated = true;
}
}
} else if (activated) {
this._x = 273;
if (_root.enemysKilled > 12) {
_root.enemysKilled = 0;
_root.stage = false;
passed = true;
}
if (holeBunnySpawn > 20) {
interval = random(100);
if (interval == 1) {
_root.attachMovie("holeBunny", "obj" + _root.objVar, _root.objVar + 100);
angle = random(180);
if (_root.elf._y > 220) {
angle = angle - 180;
_root["obj" + _root.objVar]._x = _root.elf._x + (Math.cos(angle * (Math.PI/180)) * radius);
_root["obj" + _root.objVar]._y = _root.elf._y + (Math.sin(angle * (Math.PI/180)) * (radius / 2));
} else {
_root["obj" + _root.objVar]._x = _root.elf._x + (Math.cos(angle * (Math.PI/180)) * radius);
_root["obj" + _root.objVar]._y = _root.elf._y + (Math.sin(angle * (Math.PI/180)) * (radius / 2));
}
_root.objVar++;
holeBunnySpawn = 0;
}
}
this.gotoAndStop(2);
}
} else {
otherInterval++;
if (otherInterval < 60) {
this._x = _root.elf._x;
}
this.gotoAndStop(4);
}
}
if (_root.saveing) {
xPos = _x;
yPos = _y;
}
if (_root.reset) {
_x = xPos;
_y = yPos;
if (_x > _root.elf._x) {
otherInterval = 0;
activated = false;
this.gotoAndStop(3);
interval = 0;
passed = false;
}
}
}
}
Instance of Symbol 842 MovieClip in Frame 209
onClipEvent (load) {
activated = false;
interval = 0;
passed = false;
this.gotoAndStop(3);
angle = 0;
radius = 100;
holeBunnySpawn = 0;
}
onClipEvent (enterFrame) {
holeBunnySpawn++;
if (!_root.Pause) {
if (!_root.stage) {
_x = (_x - _root.elf.xSpeed);
_x = (_x + ((273 - _root.elf._x) / 10));
} else {
_x = (_x - _root.elf.xSpeed);
}
if (!_root.elf.air) {
if (!passed) {
if (!activated) {
if (!_root.stage) {
if (_x < _root.elf._x) {
_root.bunnyVar = 0;
_root.shootBunnyLimit = 1;
_root.elf.diff = _root.land._x;
_root.stage = true;
activated = true;
}
}
} else if (activated) {
this._x = 273;
if (_root.enemysKilled > 12) {
_root.enemysKilled = 0;
_root.stage = false;
passed = true;
}
if (holeBunnySpawn > 20) {
interval = random(150);
if (interval == 1) {
_root.attachMovie("holeBunny", "obj" + _root.objVar, _root.objVar + 100);
angle = random(180);
if (_root.elf._y > 220) {
angle = angle - 180;
_root["obj" + _root.objVar]._x = _root.elf._x + (Math.cos(angle * (Math.PI/180)) * radius);
_root["obj" + _root.objVar]._y = _root.elf._y + (Math.sin(angle * (Math.PI/180)) * (radius / 2));
} else {
_root["obj" + _root.objVar]._x = _root.elf._x + (Math.cos(angle * (Math.PI/180)) * radius);
_root["obj" + _root.objVar]._y = _root.elf._y + (Math.sin(angle * (Math.PI/180)) * (radius / 2));
}
_root.objVar++;
holeBunnySpawn = 0;
}
}
if (_root.bunnyVar < _root.shootBunnyLimit) {
interval = random(100);
if (interval == 1) {
_root.attachMovie("runBunny", "obj" + _root.objVar, _root.objVar + 100);
_root["obj" + _root.objVar]._x = 600 * random(2);
_root["obj" + _root.objVar]._y = 322.5 - random(130);
_root.objVar++;
_root.bunnyVar++;
}
}
this.gotoAndStop(2);
}
} else {
otherInterval++;
if (otherInterval < 60) {
this._x = _root.elf._x;
}
this.gotoAndStop(4);
}
}
if (_root.saveing) {
xPos = _x;
yPos = _y;
}
if (_root.reset) {
_x = xPos;
_y = yPos;
if (_x > _root.elf._x) {
activated = false;
otherInterval = 0;
this.gotoAndStop(3);
interval = 0;
passed = false;
}
}
}
}
Instance of Symbol 844 MovieClip in Frame 209
onClipEvent (load) {
activated = false;
interval = 0;
passed = false;
this.gotoAndStop(3);
xPos = _x;
yPos = _y;
otherInterval = 0;
}
onClipEvent (load) {
activated = false;
interval = 0;
passed = false;
this.gotoAndStop(3);
angle = 0;
radius = 100;
}
onClipEvent (enterFrame) {
if (!_root.Pause) {
holeBunnySpawn++;
if (!_root.stage) {
_x = (_x - _root.elf.xSpeed);
_x = (_x + ((273 - _root.elf._x) / 10));
} else {
_x = (_x - _root.elf.xSpeed);
}
if (!_root.elf.air) {
if (!passed) {
if (!activated) {
if (!_root.stage) {
if (_x < _root.elf._x) {
_root.bunnyVar = 0;
_root.shootBunnyLimit = 1;
_root.elf.diff = _root.land._x;
_root.stage = true;
activated = true;
}
}
} else if (activated) {
this._x = 273;
if (_root.enemysKilled > 12) {
_root.enemysKilled = 0;
_root.stage = false;
passed = true;
}
if (holeBunnySpawn > 20) {
interval = random(150);
if (interval == 1) {
_root.attachMovie("holeBunny", "obj" + _root.objVar, _root.objVar + 100);
angle = random(180);
if (_root.elf._y > 220) {
angle = angle - 180;
_root["obj" + _root.objVar]._x = _root.elf._x + (Math.cos(angle * (Math.PI/180)) * radius);
_root["obj" + _root.objVar]._y = _root.elf._y + (Math.sin(angle * (Math.PI/180)) * (radius / 2));
} else {
_root["obj" + _root.objVar]._x = _root.elf._x + (Math.cos(angle * (Math.PI/180)) * radius);
_root["obj" + _root.objVar]._y = _root.elf._y + (Math.sin(angle * (Math.PI/180)) * (radius / 2));
}
_root.objVar++;
holeBunnySpawn = 0;
}
}
if (_root.bunnyVar < _root.shootBunnyLimit) {
interval = random(100);
if (interval == 1) {
_root.attachMovie("runBunny", "obj" + _root.objVar, _root.objVar + 100);
_root["obj" + _root.objVar]._x = 600 * random(2);
_root["obj" + _root.objVar]._y = 322.5 - random(130);
_root.objVar++;
_root.bunnyVar++;
}
}
interval = random(50);
if (interval == 1) {
_root.attachMovie("bombEgg", "obj" + _root.objVar, _root.objVar + 100);
_root["obj" + _root.objVar]._x = random(500) + 300;
_root["obj" + _root.objVar]._y = 0;
_root["obj" + _root.objVar].ground = 150 + random(150);
_root.objVar++;
}
this.gotoAndStop(2);
}
} else {
otherInterval++;
if (otherInterval < 60) {
this._x = _root.elf._x;
}
this.gotoAndStop(4);
}
}
if (_root.saveing) {
xPos = _x;
yPos = _y;
}
if (_root.reset) {
_x = xPos;
_y = yPos;
if (_x > _root.elf._x) {
activated = false;
otherInterval = 0;
this.gotoAndStop(3);
interval = 0;
passed = false;
}
}
}
}
Frame 210
levelEnd.gotoAndStop(1);
_root.bossLevel = true;
Instance of Symbol 849 MovieClip in Frame 210
onClipEvent (load) {
this.swapDepths(198);
}
Instance of Symbol 856 MovieClip "bossShadow" in Frame 210
onClipEvent (load) {
this.swapDepths(199);
}
Instance of Symbol 868 MovieClip in Frame 210
onClipEvent (load) {
this.swapDepths(200);
}
onClipEvent (enterFrame) {
if (_root.stage) {
_x = (_x - _root.elf.xSpeed);
} else {
_x = (_x + ((273 - _root.elf._x) / 10));
_x = (_x - _root.elf.xSpeed);
}
}
Instance of Symbol 347 MovieClip [Boss] "boss" in Frame 210
onClipEvent (load) {
this.swapDepths(1521);
_root.elf.swapDepths(1050);
_root.attachMovie("lvl4", "land", 197);
_root.land._x = -96.5;
_root.land._y = 90;
_root.stage = true;
}
onClipEvent (enterFrame) {
if (_root.stage) {
_x = (_x - _root.elf.xSpeed);
} else {
_x = (_x + ((273 - _root.elf._x) / 10));
_x = (_x - _root.elf.xSpeed);
}
if (_y > _root.elf.ground) {
if (this.getDepth() < _root.elf.getDepth()) {
this.swapDepths(_root.elf);
}
} else if (this.getDepth() > _root.elf.getDepth()) {
this.swapDepths(_root.elf);
}
}
Instance of Symbol 889 MovieClip in Frame 211
onClipEvent (load) {
this.swapDepths(5001);
}
Instance of Symbol 27 MovieClip in Symbol 28 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Symbol 43 MovieClip Frame 26
stop();
Symbol 43 MovieClip Frame 80
gotoAndPlay (26);
Symbol 45 MovieClip Frame 15
gotoAndPlay (10);
Symbol 46 MovieClip [runBunny] Frame 1
#initclip 35
Object.registerClass("runBunny", runBunny);
#endinitclip
Instance of Symbol 28 MovieClip in Symbol 46 MovieClip [runBunny] Frame 1
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 27 MovieClip in Symbol 46 MovieClip [runBunny] Frame 2
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Symbol 54 MovieClip Frame 10
Symbol 54 MovieClip Frame 50
gotoAndPlay (10);
Symbol 55 MovieClip Frame 20
gotoAndPlay (10);
Symbol 57 MovieClip Frame 50
stop();
Symbol 57 MovieClip Frame 60
gotoAndPlay (50);
Symbol 61 MovieClip [Fat] Frame 1
#initclip 17
Object.registerClass("Fat", Fat);
#endinitclip
Instance of Symbol 54 MovieClip in Symbol 61 MovieClip [Fat] Frame 1
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 55 MovieClip in Symbol 61 MovieClip [Fat] Frame 2
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 57 MovieClip in Symbol 61 MovieClip [Fat] Frame 3
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 60 MovieClip in Symbol 61 MovieClip [Fat] Frame 4
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 43 MovieClip in Symbol 61 MovieClip [Fat] Frame 5
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Symbol 63 MovieClip Frame 2
stop();
Symbol 88 MovieClip Frame 1
_root.explode.start();
Symbol 89 MovieClip [bunnyShot] Frame 1
#initclip 18
Object.registerClass("bunnyShot", bunnyShot);
#endinitclip
Instance of Symbol 88 MovieClip in Symbol 89 MovieClip [bunnyShot] Frame 2
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Symbol 91 MovieClip [Ballgold] Frame 1
#initclip 19
Object.registerClass("Ballgold", Ball);
#endinitclip
Instance of Symbol 88 MovieClip in Symbol 91 MovieClip [Ballgold] Frame 2
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Symbol 93 MovieClip [Ballsilver] Frame 1
#initclip 20
Object.registerClass("Ballsilver", Ball);
#endinitclip
Instance of Symbol 88 MovieClip in Symbol 93 MovieClip [Ballsilver] Frame 2
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Symbol 95 MovieClip [Ball] Frame 1
#initclip 21
Object.registerClass("Ball", Ball);
#endinitclip
Instance of Symbol 88 MovieClip in Symbol 95 MovieClip [Ball] Frame 2
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Symbol 109 MovieClip Frame 20
gotoAndPlay (10);
Symbol 111 MovieClip Frame 10
stop();
Symbol 112 MovieClip Frame 20
stop();
Symbol 113 MovieClip [Bunny] Frame 1
#initclip 22
Object.registerClass("Bunny", Bunny);
#endinitclip
stop();
Instance of Symbol 107 MovieClip in Symbol 113 MovieClip [Bunny] Frame 1
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 109 MovieClip in Symbol 113 MovieClip [Bunny] Frame 2
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 43 MovieClip in Symbol 113 MovieClip [Bunny] Frame 3
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Symbol 184 MovieClip [coin] Frame 1
#initclip 23
Object.registerClass("coin", Coin);
#endinitclip
Symbol 185 MovieClip [Shadow] Frame 1
#initclip 24
Object.registerClass("Shadow", Shadow);
#endinitclip
Instance of Symbol 187 MovieClip in Symbol 189 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.health == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 187 MovieClip in Symbol 190 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.health == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 187 MovieClip in Symbol 191 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.health == 1) {
this.gotoAndStop(2);
}
}
Instance of Symbol 187 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.health == 1) {
this.gotoAndStop(2);
}
}
Symbol 200 MovieClip Frame 26
stop();
Symbol 200 MovieClip Frame 30
gotoAndPlay (27);
Symbol 201 MovieClip [Egg] Frame 1
#initclip 25
Object.registerClass("Egg", Egg);
#endinitclip
Instance of Symbol 189 MovieClip "crack" in Symbol 201 MovieClip [Egg] Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 190 MovieClip "notCrack" in Symbol 201 MovieClip [Egg] Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 191 MovieClip "crackcrack" in Symbol 201 MovieClip [Egg] Frame 2
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 192 MovieClip "notnotCrack" in Symbol 201 MovieClip [Egg] Frame 2
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 200 MovieClip in Symbol 201 MovieClip [Egg] Frame 3
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Symbol 207 MovieClip [bombEgg] Frame 1
#initclip 26
Object.registerClass("bombEgg", Bomb);
#endinitclip
Instance of Symbol 200 MovieClip in Symbol 207 MovieClip [bombEgg] Frame 2
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Symbol 223 MovieClip [Hut copy] Frame 1
#initclip 27
Object.registerClass("Hut copy", Hut);
#endinitclip
stop();
Instance of Symbol 216 MovieClip in Symbol 223 MovieClip [Hut copy] Frame 1
onClipEvent (enterFrame) {
if (_parent.xDist > 0) {
_xscale = 60;
} else {
_xscale = -60;
}
}
Symbol 223 MovieClip [Hut copy] Frame 2
stop();
Symbol 230 MovieClip Frame 10
stop();
Symbol 230 MovieClip Frame 15
gotoAndPlay (10);
Symbol 231 MovieClip Frame 20
stop();
Symbol 232 MovieClip Frame 10
stop();
Symbol 232 MovieClip Frame 20
gotoAndPlay (10);
Symbol 233 MovieClip [shootBunny] Frame 1
#initclip 28
Object.registerClass("shootBunny", shootBunny);
#endinitclip
Instance of Symbol 228 MovieClip in Symbol 233 MovieClip [shootBunny] Frame 1
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 229 MovieClip in Symbol 233 MovieClip [shootBunny] Frame 2
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 43 MovieClip in Symbol 233 MovieClip [shootBunny] Frame 3
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 230 MovieClip in Symbol 233 MovieClip [shootBunny] Frame 4
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 231 MovieClip "air" in Symbol 233 MovieClip [shootBunny] Frame 5
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 232 MovieClip in Symbol 233 MovieClip [shootBunny] Frame 6
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Symbol 235 MovieClip [snowBall] Frame 1
#initclip 29
Object.registerClass("snowBall", snowBall);
#endinitclip
Symbol 251 MovieClip Frame 117
stop();
Symbol 252 MovieClip [holeBunny] Frame 1
#initclip 30
Object.registerClass("holeBunny", holeBunny);
#endinitclip
Instance of Symbol 251 MovieClip in Symbol 252 MovieClip [holeBunny] Frame 1
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 43 MovieClip in Symbol 252 MovieClip [holeBunny] Frame 2
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Symbol 286 MovieClip Frame 1
_root.explode.start();
Symbol 287 MovieClip [bossGroundShot] Frame 1
#initclip 31
Object.registerClass("bossGroundShot", bossGroundShot);
#endinitclip
Instance of Symbol 286 MovieClip in Symbol 287 MovieClip [bossGroundShot] Frame 2
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Symbol 288 MovieClip [bossShot] Frame 1
#initclip 32
Object.registerClass("bossShot", bossShot);
#endinitclip
Instance of Symbol 286 MovieClip in Symbol 288 MovieClip [bossShot] Frame 2
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 311 MovieClip in Symbol 313 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Symbol 320 MovieClip Frame 10
stop();
Symbol 346 MovieClip Frame 230
_root.gameEnd = true;
_root.nextFrame();
Symbol 347 MovieClip [Boss] Frame 1
#initclip 33
Object.registerClass("Boss", Boss);
#endinitclip
Symbol 356 MovieClip [Hut] Frame 1
#initclip 34
Object.registerClass("Hut", Hut);
#endinitclip
stop();
Instance of Symbol 216 MovieClip in Symbol 356 MovieClip [Hut] Frame 1
onClipEvent (enterFrame) {
if (_parent.xDist > 0) {
_xscale = 60;
} else {
_xscale = -60;
}
}
Instance of Symbol 359 MovieClip "bar" in Symbol 361 MovieClip Frame 1
onClipEvent (load) {
percent = 0;
}
onClipEvent (enterFrame) {
percent = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
this._xscale = percent;
if (percent == 100) {
_root.play();
}
}
Symbol 890 MovieClip [__Packages.Fat] Frame 0
class Fat extends MovieClip
{
var _y, onEnterFrame;
function Fat () {
super();
var _local5 = false;
var interval = 0;
var ground = _y;
var gravity = 0;
var xDist;
var yDist;
var xSpeed = 0;
var ySpeed = 0;
var dir;
var i;
var dead = false;
var distance;
var difference;
var angle;
var _local4 = 0;
var jump = false;
var air = false;
var land = false;
var health = 50;
var hit = false;
onEnterFrame = function () {
if (!_root.Pause) {
if (!air) {
if (this._y < 50) {
this.removeMovieClip();
}
}
if (!_root.stage) {
if (!dead) {
_root.attachMovie("Coin", "obj" + _root.objVar, _root.objVar + 100);
_root["obj" + _root.objVar]._x = this._x;
_root["obj" + _root.objVar]._y = this._y;
_root["obj" + _root.objVar].gravity = -10;
_root["obj" + _root.objVar].ground = this._y;
_root["obj" + _root.objVar].xSpeed = random(5) - random(5);
_root["obj" + _root.objVar].ySpeed = (random(8) - random(8)) / 2;
_root.objVar++;
interval = 0;
dead = true;
}
}
if (!hit) {
if (!dead) {
difference = ground - this._y;
this.shadow._alpha = 20 - (difference / 5);
this.shadow._y = ground - this._y;
this._x = this._x - (xSpeed / 5);
this._y = this._y - ((ySpeed / 5) + gravity);
xDist = this._x - _root.elf._x;
yDist = this._y - _root.elf._y;
if (xDist < 0) {
dir = -1;
} else {
dir = 1;
}
if (ground < 160) {
ySpeed = 0;
this._y = 274;
}
if (ground > 322.5) {
ySpeed = 0;
this._y = 321;
}
if (_root.stage) {
this._x = this._x - _root.elf.xSpeed;
} else {
this._x = this._x + ((273 - _root.elf._x) / 10);
this._x = this._x - _root.elf.xSpeed;
}
if (!jump) {
ground = this._y;
this.gotoAndStop("walk");
this._xscale = 100 * dir;
jump = true;
xSpeed = 0;
ySpeed = 0;
interval = 0;
} else if (!air) {
if (!land) {
this.gotoAndStop("jump");
interval++;
if (interval == 30) {
gravity = 15;
interval = 0;
air = true;
angle = Math.atan2(yDist, xDist) / (Math.PI/180);
xSpeed = Math.cos(angle * (Math.PI/180)) * 20;
ySpeed = Math.sin(angle * (Math.PI/180)) * 10;
}
} else {
ground = this._y;
this.gotoAndStop("land");
interval++;
if (interval == 20) {
interval = 0;
land = false;
jump = false;
air = false;
}
}
} else {
gravity--;
ground = ground - (ySpeed / 5);
if (this._y > ground) {
distance = Math.sqrt((xDist * xDist) + (yDist * yDist));
if (!_root.elf.air) {
if (!_root.elf.hit) {
if (distance < 50) {
angle = Math.atan2(yDist, xDist) / (Math.PI/180);
_root.elf.health = _root.elf.health - 20;
_root.elf.air = true;
_root.elf.gravity = -10;
_root.elf.xSpeed = Math.cos((angle - 180) * (Math.PI/180)) * 3;
_root.elf.ySpeed = Math.sin((angle - 180) * (Math.PI/180)) * 3;
_root.elf.halfGravity = 5;
_root.elf.shoot = false;
_root.elf.interval = 0;
}
}
}
_root.fatLand.start();
ySpeed = 0;
xSpeed = 0;
air = false;
land = true;
gravity = 0;
}
}
if (ground > _root.elf.ground) {
if (this.getDepth() < _root.elf.getDepth()) {
this.swapDepths(_root.elf);
}
} else if (this.getDepth() > _root.elf.getDepth()) {
this.swapDepths(_root.elf);
}
i = 0;
while (i < 50) {
if (ground > _root["obj" + i]._y) {
if (this.getDepth() < _root["obj" + i].getDepth()) {
this.swapDepths(_root["obj" + i]);
}
} else if (this.getDepth() > _root["obj" + i].getDepth()) {
this.swapDepths(_root["obj" + i]);
}
if (!air) {
xDist = this._x - _root["obj" + i]._x;
yDist = this._y - _root["obj" + i].ground;
if (_root["obj" + i].bomb) {
if ((Math.abs(yDist) < 20) && (Math.abs(xDist) < 20)) {
if (!_root["obj" + i].hit) {
health = health - _root["obj" + i].power;
if (health > 0) {
hit = true;
_root["obj" + i].hit = true;
interval = 0;
} else {
interval = 0;
dead = true;
_root.fatVar--;
_root.enemysKilled++;
_root.attachMovie("Coin", "obj" + _root.objVar, _root.objVar + 100);
_root["obj" + _root.objVar]._x = this._x;
_root["obj" + _root.objVar]._y = this._y;
_root["obj" + _root.objVar].gravity = -10;
_root["obj" + _root.objVar].ground = this._y;
_root["obj" + _root.objVar].xSpeed = random(5) - random(5);
_root["obj" + _root.objVar].ySpeed = (random(8) - random(8)) / 2;
_root.objVar++;
_root["obj" + i].hit = true;
_root.enemysKilled++;
_root.attachMovie("Coin", "obj" + _root.objVar, _root.objVar + 100);
_root["obj" + _root.objVar]._x = this._x;
_root["obj" + _root.objVar]._y = this._y;
_root["obj" + _root.objVar].gravity = -10;
_root["obj" + _root.objVar].ground = this._y;
_root["obj" + _root.objVar].xSpeed = random(5) - random(5);
_root["obj" + _root.objVar].ySpeed = (random(8) - random(8)) / 2;
_root.objVar++;
_root["obj" + i].hit = true;
}
}
}
}
}
i++;
}
if (gravity == 0) {
if (_root.elf.hammerHitSpot.hitTest(this._x, this._y, true)) {
health = health - _root.elf.hammerPower;
if (health < 1) {
_root.enemysKilled++;
_root.attachMovie("Coin", "obj" + _root.objVar, _root.objVar + 100);
_root["obj" + _root.objVar]._x = this._x;
_root["obj" + _root.objVar]._y = this._y;
_root["obj" + _root.objVar].gravity = -10;
_root["obj" + _root.objVar].ground = this._y;
_root["obj" + _root.objVar].xSpeed = random(5) - random(5);
_root["obj" + _root.objVar].ySpeed = (random(8) - random(8)) / 2;
_root.objVar++;
_root.attachMovie("Coin", "obj" + _root.objVar, _root.objVar + 100);
_root["obj" + _root.objVar]._x = this._x;
_root["obj" + _root.objVar]._y = this._y;
_root["obj" + _root.objVar].gravity = -10;
_root["obj" + _root.objVar].ground = this._y;
_root["obj" + _root.objVar].xSpeed = random(5) - random(5);
_root["obj" + _root.objVar].ySpeed = (random(8) - random(8)) / 2;
_root.objVar++;
_root.fatVar--;
dead = true;
} else {
hit = true;
interval = 0;
}
}
}
} else {
this.gotoAndStop("dead");
interval++;
if (interval == 25) {
_root.bunnyVar--;
(this.removeMovieClip());// not popped
}
}
} else {
this.gotoAndStop("hit");
interval++;
if (interval > 10) {
hit = false;
interval = 0;
}
}
}
};
}
}
Symbol 891 MovieClip [__Packages.bunnyShot] Frame 0
class bunnyShot extends MovieClip
{
var ySpeed, onEnterFrame;
function bunnyShot () {
super();
ySpeed = -2.5;
hit = false;
interval = 0;
onEnterFrame = function () {
if (!_root.Pause) {
if (!this.hit) {
this.xDist = this._x - _root.elf._x;
this.yDist = this.ground - _root.elf.ground;
this.distance = Math.sqrt((this.xDist * this.xDist) + (this.yDist * this.yDist));
this.difference = this.ground - this._y;
this.shadow._alpha = 50 - (this.difference / 1.5);
this.shadow._y = this.ground - this._y;
if (this.ground > _root.elf.ground) {
if (this.getDepth() < _root.elf.getDepth()) {
this.swapDepths(_root.elf);
}
} else if (this.getDepth() > _root.elf.getDepth()) {
this.swapDepths(_root.elf);
}
this.i = 0;
while (this.i < 50) {
if (this.ground > _root["obj" + this.i]._y) {
if (this.getDepth() < _root["obj" + this.i].getDepth()) {
this.swapDepths(_root["obj" + this.i]);
}
} else if (this.getDepth() > _root["obj" + this.i].getDepth()) {
this.swapDepths(_root["obj" + this.i]);
}
this.i++;
}
this.gotoAndStop("ball");
this._y = this._y + this.ySpeed;
this.ySpeed = this.ySpeed + 0.3;
this._x = this._x + (9 * this.dir);
if (this._y > this.ground) {
this.hit = true;
}
if (!_root.elf.hit) {
if (this.distance < 20) {
_root.elf.hammerHit = false;
_root.elf.xSpeed = 0;
_root.elf.ySpeed = 0;
_root.elf.attack = false;
_root.elf.switching = false;
_root.elf.interval = 0;
_root.elf.hit = true;
_root.elf.idle = true;
_root.elf.health = _root.elf.health - 10;
this.hit = true;
}
}
} else {
this.gotoAndStop("explosion");
this.interval++;
if (this.interval > 22) {
this.swapDepths(9999);
(this.removeMovieClip());// not popped
}
}
if (_root.stage) {
this._x = this._x - _root.elf.xSpeed;
} else {
this._x = this._x + ((273 - _root.elf._x) / 10);
this._x = this._x - _root.elf.xSpeed;
}
}
};
}
var interval = 0;
var hit = false;
var bomb = false;
}
Symbol 892 MovieClip [__Packages.Ball] Frame 0
class Ball extends MovieClip
{
var ySpeed, hit, interval, onEnterFrame;
function Ball () {
super();
ySpeed = -2.5;
hit = false;
interval = 0;
onEnterFrame = function () {
if (!_root.Pause) {
this.difference = this.ground - this._y;
this.shadow._alpha = 50 - (this.difference / 1.5);
this.shadow._y = this.ground - this._y;
if (this.ground > _root.elf.ground) {
if (this.getDepth() < _root.elf.getDepth()) {
this.swapDepths(_root.elf);
}
} else if (this.getDepth() > _root.elf.getDepth()) {
this.swapDepths(_root.elf);
}
this.i = 0;
while (this.i < 50) {
if (this.ground > _root["obj" + this.i]._y) {
if (this.getDepth() < _root["obj" + this.i].getDepth()) {
this.swapDepths(_root["obj" + this.i]);
}
} else if (this.getDepth() > _root["obj" + this.i].getDepth()) {
this.swapDepths(_root["obj" + this.i]);
}
this.i++;
}
if (!this.hit) {
this.gotoAndStop("ball");
this._y = this._y + this.ySpeed;
this.ySpeed = this.ySpeed + 0.3;
this._x = this._x + (9 * this.dir);
} else {
this._rotation = 0;
this.gotoAndStop("explosion");
this.interval++;
if (this.interval > 22) {
_root["depth" + this.depthVar] = false;
this.swapDepths(9999);
(this.removeMovieClip());// not popped
}
}
if (this._y > this.ground) {
this.hit = true;
}
if (_root.stage) {
this._x = this._x - _root.elf.xSpeed;
} else {
this._x = this._x + ((273 - _root.elf._x) / 10);
this._x = this._x - _root.elf.xSpeed;
}
}
};
}
var bomb = true;
}
Symbol 893 MovieClip [__Packages.Bunny] Frame 0
class Bunny extends MovieClip
{
var onEnterFrame;
function Bunny () {
super();
var depthVar;
var xDist;
var dead = false;
var _local5 = true;
var yDist;
var xdir;
var ydir;
var ground;
var distance;
var hit = false;
var _local4 = false;
var walkInterval = 0;
var interval = 0;
var i;
var _local6 = false;
var angle;
var xSpeed;
var ySpeed;
var air = false;
var landed = false;
var gravity;
var halfGravity;
var health = 20;
onEnterFrame = function () {
if (!_root.Pause) {
if (!_root.stage) {
if (!dead) {
_root.attachMovie("Coin", "obj" + _root.objVar, _root.objVar + 100);
_root["obj" + _root.objVar]._x = this._x;
_root["obj" + _root.objVar]._y = this._y;
_root["obj" + _root.objVar].gravity = -10;
_root["obj" + _root.objVar].ground = this._y;
_root["obj" + _root.objVar].xSpeed = random(5) - random(5);
_root["obj" + _root.objVar].ySpeed = (random(8) - random(8)) / 2;
_root["obj" + _root.objVar].depthVar = depthVar;
_root.objVar++;
interval = 0;
dead = true;
}
}
if (!air) {
if (!hit) {
if (!dead) {
if (ground > _root.elf.ground) {
if (this.getDepth() < _root.elf.getDepth()) {
this.swapDepths(_root.elf);
}
} else if (this.getDepth() > _root.elf.getDepth()) {
this.swapDepths(_root.elf);
}
if (_root.elf.hammerHitSpot.hitTest(this._x, this._y, true)) {
health = health - _root.elf.hammerPower;
if (health < 1) {
_root.enemysKilled++;
_root.attachMovie("Coin", "obj" + _root.objVar, _root.objVar + 100);
_root["obj" + _root.objVar]._x = this._x;
_root["obj" + _root.objVar]._y = this._y;
_root["obj" + _root.objVar].gravity = -10;
_root["obj" + _root.objVar].ground = this._y;
_root["obj" + _root.objVar].xSpeed = random(5) - random(5);
_root["obj" + _root.objVar].ySpeed = (random(8) - random(8)) / 2;
_root.objVar++;
interval = 0;
dead = true;
} else {
_root.hit.start();
air = true;
gravity = -10;
ground = this._y;
interval = 0;
xDist = this._x - _root.elf._x;
yDist = this._y - _root.elf._y;
angle = Math.atan2(yDist, xDist) / (Math.PI/180);
xSpeed = Math.cos(angle * (Math.PI/180)) * 2;
ySpeed = Math.sin(angle * (Math.PI/180)) * 1;
halfGravity = 5;
}
}
if (_root.stage) {
this._x = this._x - _root.elf.xSpeed;
} else {
this._x = this._x + ((273 - _root.elf._x) / 10);
this._x = this._x - _root.elf.xSpeed;
}
xDist = this._x - _root.elf._x;
yDist = this._y - _root.elf._y;
distance = Math.sqrt((xDist * xDist) + (yDist * yDist));
this._xscale = 100 * xdir;
walkInterval++;
if (walkInterval > 36) {
angle = Math.atan2(yDist, xDist) / (Math.PI/180);
xSpeed = Math.cos(angle * (Math.PI/180));
ySpeed = Math.sin(angle * (Math.PI/180));
walkInterval = 0;
}
if (!_root.wait) {
this._x = this._x - xSpeed;
this._y = this._y - ySpeed;
}
if (xDist > 0) {
xdir = 1;
} else {
xdir = -1;
}
if (yDist > 0) {
ydir = 1;
} else {
ydir = -1;
}
if (!_root.elf.air) {
if (distance < 15) {
_root.wait = true;
interval = 0;
_root.elf.health = _root.elf.health - 5;
_root.elf.air = true;
_root.elf.gravity = -8;
_root.elf.xSpeed = Math.cos((angle - 180) * (Math.PI/180)) * 3;
_root.elf.ySpeed = Math.sin((angle - 180) * (Math.PI/180)) * 3;
_root.elf.halfGravity = 4;
_root.elf.shoot = false;
_root.elf.interval = 0;
}
}
i = 0;
while (i < 50) {
if (ground > _root["obj" + i]._y) {
if (this.getDepth() < _root["obj" + i].getDepth()) {
this.swapDepths(_root["obj" + i]);
}
} else if (this.getDepth() > _root["obj" + i].getDepth()) {
this.swapDepths(_root["obj" + i]);
}
xDist = this._x - _root["obj" + i]._x;
yDist = this._y - _root["obj" + i].ground;
if (_root["obj" + i].bomb) {
if ((Math.abs(yDist) < 20) && (Math.abs(xDist) < 20)) {
if (!_root["obj" + i].hit) {
health = health - _root["obj" + i].power;
if (health > 0) {
interval = 0;
hit = true;
_root["obj" + i].hit = true;
} else {
interval = 0;
dead = true;
_root.enemysKilled++;
_root.attachMovie("Coin", "obj" + _root.objVar, _root.objVar + 100);
_root["obj" + _root.objVar]._x = this._x;
_root["obj" + _root.objVar]._y = this._y;
_root["obj" + _root.objVar].gravity = -10;
_root["obj" + _root.objVar].ground = this._y;
_root["obj" + _root.objVar].xSpeed = random(5) - random(5);
_root["obj" + _root.objVar].ySpeed = (random(8) - random(8)) / 2;
_root["obj" + _root.objVar].depthVar = depthVar;
_root.objVar++;
_root["obj" + i].hit = true;
}
}
}
}
i++;
}
if (!_root.wait) {
this.gotoAndStop("walk");
} else {
this.gotoAndStop("idle");
interval++;
if (interval == 100) {
_root.wait = false;
interval = 0;
}
}
} else {
this.gotoAndStop("dead");
interval++;
if (interval > 28) {
(this.removeMovieClip());// not popped
}
}
} else {
this.gotoAndStop("hit");
interval++;
if (interval == 10) {
hit = false;
interval = 0;
}
}
} else {
if (_root.stage) {
this._x = this._x - _root.elf.xSpeed;
} else {
this._x = this._x + ((273 - _root.elf._x) / 10);
this._x = this._x - _root.elf.xSpeed;
}
this._x = this._x + xSpeed;
this._y = this._y + ySpeed;
if (ground > 322.5) {
ground = 322.5;
ySpeed = ySpeed * -1;
}
if (ground < 160) {
ground = 180;
ySpeed = ySpeed * -1;
}
if (this._x < 0) {
this._x = 0;
xSpeed = xSpeed * -1;
}
if (this._x > 547.5) {
this._x = 547.5;
xSpeed = xSpeed * -1;
}
this._y = this._y + gravity;
ground = ground + ySpeed;
if (!landed) {
gravity++;
if (this._y > ground) {
this._y = ground;
if (gravity > halfGravity) {
_root.groundHit.start();
gravity = (gravity * -1) / 2;
xSpeed = xSpeed / 2;
ySpeed = ySpeed / 2;
} else {
gravity = 0;
landed = true;
}
}
this.gotoAndStop("air");
} else {
xSpeed = 0;
ySpeed = 0;
interval++;
this.gotoAndStop("gettingUp");
if (interval == 20) {
air = false;
interval = 0;
landed = false;
}
}
}
}
};
}
}
Symbol 894 MovieClip [__Packages.Coin] Frame 0
class Coin extends MovieClip
{
var onEnterFrame;
function Coin () {
super();
onEnterFrame = function () {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
if (!_root.Pause) {
if (_root.stage) {
this._x = this._x - _root.elf.xSpeed;
} else {
this._x = this._x + ((273 - _root.elf._x) / 10);
this._x = this._x - _root.elf.xSpeed;
}
if (this.ground > _root.elf.ground) {
if (this.getDepth() < _root.elf.getDepth()) {
this.swapDepths(_root.elf);
}
} else if (this.getDepth() > _root.elf.getDepth()) {
this.swapDepths(_root.elf);
}
if (!this.collected) {
this.i = 0;
while (this.i < 50) {
if (this.ground > _root["obj" + this.i]._y) {
if (this.getDepth() < _root["obj" + this.i].getDepth()) {
this.swapDepths(_root["obj" + this.i]);
}
} else if (this.getDepth() > _root["obj" + this.i].getDepth()) {
this.swapDepths(_root["obj" + this.i]);
}
this.i++;
}
this.xDist = this._x - _root.elf._x;
this.yDist = this.ground - _root.elf._y;
this.distance = Math.sqrt((this.xDist * this.xDist) + (this.yDist * this.yDist));
if (this.distance < 15) {
_root.gold = _root.gold + 1;
this.interval = 0;
this.collected = true;
_root.getcoin = new Sound();
_root.getcoin.attachSound("getCoin");
_root.getcoin.start();
}
if (!this.land) {
if (this.ground < 190) {
this._y = 190;
this.ySpeed = this.ySpeed * -1;
}
if (this.ground > 320) {
this._y = 320;
this.ySpeed = this.ySpeed * -1;
}
this.shadow._y = this.ground - this._y;
this._x = this._x + this.xSpeed;
this._y = this._y + (this.gravity + this.ySpeed);
this.ground = this.ground + this.ySpeed;
this.gravity++;
if (this._y > this.ground) {
if (this.gravity > 5) {
this._y = this.ground;
this.ySpeed = this.ySpeed * 0.6;
this.gravity = (this.gravity * 0.4) * -1;
} else {
this.land = true;
}
_root.coin = new Sound();
_root.coin.attachSound("coinSound");
_root.coin.start();
}
}
this.interval++;
if (this.interval > 200) {
this.swapDepths(9999);
(this.removeMovieClip());// not popped
_root["depth" + this.depthVar] = false;
}
this.gotoAndStop("notcollect");
} else {
this.interval++;
if (this.interval > 10) {
(this.removeMovieClip());// not popped
}
this.gotoAndStop("collect");
}
}
};
}
var interval = 0;
var collected = false;
var land = false;
}
Symbol 895 MovieClip [__Packages.Shadow] Frame 0
class Shadow extends MovieClip
{
var onEnterFrame;
function Shadow () {
super();
var difference;
onEnterFrame = function () {
if (!_root.Pause) {
this._x = _root.elf._x;
this._y = _root.elf.ground;
difference = this._y - _root.elf._y;
this._alpha = 20 - (difference / 5);
}
};
}
}
Symbol 896 MovieClip [__Packages.Egg] Frame 0
class Egg extends MovieClip
{
var _y, onEnterFrame;
function Egg () {
super();
var xSpeed;
var health = 2;
var xDist;
var rolling = false;
var stageEnd = false;
var yDist;
var interval = 0;
var i;
var _local4 = true;
var dead = false;
var distance;
var ground = _y;
var angle;
onEnterFrame = function () {
if (!_root.Pause) {
if (ground > _root.elf.ground) {
if (this.getDepth() < _root.elf.getDepth()) {
this.swapDepths(_root.elf);
}
} else if (this.getDepth() > _root.elf.getDepth()) {
this.swapDepths(_root.elf);
}
if (_root.elf.hammerHitSpot.hitTest(this._x, this._y, true)) {
_root.enemysKilled++;
_root.attachMovie("Coin", "obj" + _root.objVar, _root.objVar + 100);
_root["obj" + _root.objVar]._x = this._x;
_root["obj" + _root.objVar]._y = this._y;
_root["obj" + _root.objVar].gravity = -10;
_root["obj" + _root.objVar].ground = this._y;
_root["obj" + _root.objVar].xSpeed = random(5) - random(5);
_root["obj" + _root.objVar].ySpeed = (random(8) - random(8)) / 2;
_root.objVar++;
_root.attachMovie("Coin", "obj" + _root.objVar, _root.objVar + 100);
_root["obj" + _root.objVar]._x = this._x;
_root["obj" + _root.objVar]._y = this._y;
_root["obj" + _root.objVar].gravity = -10;
_root["obj" + _root.objVar].ground = this._y;
_root["obj" + _root.objVar].xSpeed = random(5) - random(5);
_root["obj" + _root.objVar].ySpeed = (random(8) - random(8)) / 2;
_root.objVar++;
dead = true;
}
if (!_root.stage) {
if (!dead) {
_root.attachMovie("Coin", "obj" + _root.objVar, _root.objVar + 100);
_root["obj" + _root.objVar]._x = this._x;
_root["obj" + _root.objVar]._y = this._y;
_root["obj" + _root.objVar].gravity = -10;
_root["obj" + _root.objVar].ground = this._y;
_root["obj" + _root.objVar].xSpeed = random(5) - random(5);
_root["obj" + _root.objVar].ySpeed = (random(8) - random(8)) / 2;
_root.objVar++;
_root.attachMovie("Coin", "obj" + _root.objVar, _root.objVar + 100);
_root["obj" + _root.objVar]._x = this._x;
_root["obj" + _root.objVar]._y = this._y;
_root["obj" + _root.objVar].gravity = -10;
_root["obj" + _root.objVar].ground = this._y;
_root["obj" + _root.objVar].xSpeed = random(5) - random(5);
_root["obj" + _root.objVar].ySpeed = (random(8) - random(8)) / 2;
_root.objVar++;
dead = true;
}
}
ground = this._y;
if (this._x < -150) {
(this.removeMovieClip());// not popped
}
if (this._x > 900) {
(this.removeMovieClip());// not popped
}
if (health == 1) {
this.crack._visible = true;
this.crackcrack._visible = true;
this.notCrack._visible = false;
this.notnotCrack._visible = false;
} else {
this.crack._visible = false;
this.crackcrack._visible = false;
this.notCrack._visible = true;
this.notnotCrack._visible = true;
}
if (!dead) {
if (stageEnd) {
_root.attachMovie("Coin", "obj" + _root.objVar, _root.objVar + 100);
_root["obj" + _root.objVar]._x = this._x;
_root["obj" + _root.objVar]._y = this._y;
_root["obj" + _root.objVar].gravity = -10;
_root["obj" + _root.objVar].ground = this._y;
_root["obj" + _root.objVar].xSpeed = random(5) - random(5);
_root["obj" + _root.objVar].ySpeed = (random(8) - random(8)) / 2;
_root.objVar++;
_root.attachMovie("Coin", "obj" + _root.objVar, _root.objVar + 100);
_root["obj" + _root.objVar]._x = this._x;
_root["obj" + _root.objVar]._y = this._y;
_root["obj" + _root.objVar].gravity = -10;
_root["obj" + _root.objVar].ground = this._y;
_root["obj" + _root.objVar].xSpeed = random(5) - random(5);
_root["obj" + _root.objVar].ySpeed = (random(8) - random(8)) / 2;
_root.objVar++;
dead = true;
}
if (_root.stage) {
this._x = this._x - _root.elf.xSpeed;
} else {
this._x = this._x + ((273 - _root.elf._x) / 10);
this._x = this._x - _root.elf.xSpeed;
}
if (!rolling) {
if (this._x < _root.elf._x) {
xSpeed = 5;
this.gotoAndStop(1);
}
if (this._x > _root.elf._x) {
xSpeed = -5;
this.gotoAndStop(2);
}
rolling = true;
}
this._x = this._x + xSpeed;
xDist = this._x - _root.elf._x;
yDist = this._y - _root.elf._y;
distance = Math.sqrt((xDist * xDist) + (yDist * yDist));
angle = Math.atan2(yDist, xDist) / (Math.PI/180);
if (!_root.elf.air) {
if (distance < 30) {
_root.elf.health = _root.elf.health - 15;
_root.elf.air = true;
_root.elf.attack = false;
_root.elf.gravity = -15;
_root.elf.xSpeed = Math.cos((angle - 180) * (Math.PI/180)) * 3;
_root.elf.ySpeed = Math.sin((angle - 180) * (Math.PI/180)) * 3;
_root.elf.halfGravity = 5;
_root.elf.shoot = false;
_root.elf.interval = 0;
}
}
i = 0;
while (i < 50) {
if (ground > _root["obj" + i]._y) {
if (this.getDepth() < _root["obj" + i].getDepth()) {
this.swapDepths(_root["obj" + i]);
}
} else if (this.getDepth() > _root["obj" + i].getDepth()) {
this.swapDepths(_root["obj" + i]);
}
xDist = this._x - _root["obj" + i]._x;
yDist = this._y - _root["obj" + i].ground;
if (_root["obj" + i].bomb) {
if ((Math.abs(yDist) < 30) && (Math.abs(xDist) < 40)) {
if (!_root["obj" + i].hit) {
if (health == 1) {
if (!dead) {
_root.enemysKilled++;
_root.attachMovie("Coin", "obj" + _root.objVar, _root.objVar + 100);
_root["obj" + _root.objVar]._x = this._x;
_root["obj" + _root.objVar]._y = this._y;
_root["obj" + _root.objVar].gravity = -10;
_root["obj" + _root.objVar].ground = this._y;
_root["obj" + _root.objVar].xSpeed = random(5) - random(5);
_root["obj" + _root.objVar].ySpeed = (random(8) - random(8)) / 2;
_root.objVar++;
_root.attachMovie("Coin", "obj" + _root.objVar, _root.objVar + 100);
_root["obj" + _root.objVar]._x = this._x;
_root["obj" + _root.objVar]._y = this._y;
_root["obj" + _root.objVar].gravity = -10;
_root["obj" + _root.objVar].ground = this._y;
_root["obj" + _root.objVar].xSpeed = random(5) - random(5);
_root["obj" + _root.objVar].ySpeed = (random(8) - random(8)) / 2;
_root.objVar++;
_root["obj" + i].hit = true;
dead = true;
break;
}
} else {
health = health - 1;
_root["obj" + i].hit = true;
}
}
}
}
i++;
}
} else {
this.gotoAndStop("dead");
interval++;
if (interval > 28) {
(this.removeMovieClip());// not popped
}
}
}
};
}
}
Symbol 897 MovieClip [__Packages.Bomb] Frame 0
class Bomb extends MovieClip
{
var onEnterFrame;
function Bomb () {
super();
var interval = 0;
var _local6;
var xDist;
var yDist;
var _local5;
var i;
var land = false;
var angle = 135;
var _local4 = 20;
var xSpeed = (Math.cos(angle * (Math.PI/180)) * _local4);
var ySpeed = (Math.sin(angle * (Math.PI/180)) * _local4);
onEnterFrame = function () {
if (!_root.Pause) {
if (this.ground > _root.elf.ground) {
if (this.getDepth() < _root.elf.getDepth()) {
this.swapDepths(_root.elf);
}
} else if (this.getDepth() > _root.elf.getDepth()) {
this.swapDepths(_root.elf);
}
if (_root.stage) {
this._x = this._x - _root.elf.xSpeed;
} else {
this._x = this._x + ((375 - _root.elf._x) / 10);
this._x = this._x - _root.elf.xSpeed;
}
i = 0;
while (i < 50) {
if (this._y > _root["obj" + i]._y) {
if (this.getDepth() < _root["obj" + i].getDepth()) {
this.swapDepths(_root["obj" + i]);
}
} else if (this.getDepth() > _root["obj" + i].getDepth()) {
this.swapDepths(_root["obj" + i]);
}
i++;
}
this.shadow._y = this.ground - this._y;
if (_root.stage) {
this._x = this._x - _root.elf.xSpeed;
} else {
this._x = this._x + ((273 - _root.elf._x) / 10);
this._x = this._x - _root.elf.xSpeed;
}
if (!land) {
if (this._y > this.ground) {
xDist = _root.elf._x - this._x;
yDist = _root.elf._y - this._y;
if (this.hitSpot.hitTest(_root.elf._x, _root.elf._y, true)) {
angle = Math.atan2(yDist, xDist) / (Math.PI/180);
_root.elf.health = _root.elf.health - 5;
_root.elf.air = true;
_root.elf.gravity = -10;
_root.elf.xSpeed = Math.cos((angle - 180) * (Math.PI/180)) * 3;
_root.elf.ySpeed = Math.sin((angle - 180) * (Math.PI/180)) * 3;
_root.elf.halfGravity = 5;
_root.elf.shoot = false;
_root.elf.interval = 0;
interval = 0;
}
_root.explode.start();
land = true;
}
this._x = this._x + xSpeed;
this._y = this._y + ySpeed;
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
interval++;
if (interval > 25) {
(this.removeMovieClip());// not popped
}
}
}
};
}
}
Symbol 898 MovieClip [__Packages.Hut] Frame 0
class Hut extends MovieClip
{
var _x, _y, onEnterFrame;
function Hut () {
super();
var xDist = 0;
var yDist = 0;
var distance = 0;
var angle = 0;
var buying = false;
var interval = 0;
var xPos = _x;
var yPos = _y;
var entered = false;
var interval = 0;
var passed = false;
onEnterFrame = function () {
if (!_root.Pause) {
if (!passed) {
if ((this._x + this._parent._x) < _root.elf._x) {
passed = true;
}
} else {
interval++;
if (interval < 5) {
_root.saveing = true;
} else if (interval < 10) {
_root.saving = false;
}
}
if (_root.bossLevel) {
this.swapDepths(9999);
(this.removeMovieClip());// not popped
}
xDist = (this._x - _root.elf._x) + this._parent._x;
yDist = (this._y - _root.elf._y) + this._parent._y;
distance = Math.sqrt((xDist * xDist) + (yDist * yDist));
angle = Math.atan2(yDist, xDist) / (Math.PI/180);
if (!_root.stage) {
if (distance < 40) {
entered = true;
buying = true;
_root.buyMenu = true;
}
}
if (_root.buyMenu) {
if (buying) {
_root.elf._x = (this._x + (Math.cos((angle + 180) * (Math.PI/180)) * 41)) + this._parent._x;
_root.elf._y = (this._y + (Math.sin((angle + 180) * (Math.PI/180)) * 41)) + this._parent._y;
}
} else {
buying = false;
}
if (_root.saveing) {
xPos = this._x;
yPos = this._y;
}
if (_root.reset) {
passed = false;
interval = 0;
this._x = xPos;
this._y = yPos;
}
if ((xDist < -100) && (!entered)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(1);
}
}
};
}
}
Symbol 899 MovieClip [__Packages.shootBunny] Frame 0
class shootBunny extends MovieClip
{
var onEnterFrame;
function shootBunny () {
super();
var xSpeed = 0;
var landed = false;
var ySpeed = 0;
var angle = 0;
var xDist = 0;
var yDist = 0;
var interval = 0;
var walking = true;
var shoot = false;
var dir;
var dead = false;
var i;
var ground;
var air = false;
var landed = false;
var gravity;
var halfGravity;
var health = 30;
var hit = false;
onEnterFrame = function () {
if (!_root.Pause) {
if (this._y < 50) {
this.removeMovieClip();
}
if (!_root.stage) {
if (!dead) {
_root.attachMovie("Coin", "obj" + _root.objVar, _root.objVar + 100);
_root["obj" + _root.objVar]._x = this._x;
_root["obj" + _root.objVar]._y = this._y;
_root["obj" + _root.objVar].gravity = -10;
_root["obj" + _root.objVar].ground = this._y;
_root["obj" + _root.objVar].xSpeed = random(5) - random(5);
_root["obj" + _root.objVar].ySpeed = (random(8) - random(8)) / 2;
_root.objVar++;
interval = 0;
dead = true;
}
}
if (_root.stage) {
this._x = this._x - _root.elf.xSpeed;
} else {
this._x = this._x + ((273 - _root.elf._x) / 10);
this._x = this._x - _root.elf.xSpeed;
}
if (!hit) {
if (!air) {
if (!dead) {
xDist = this._x - _root.elf._x;
yDist = this._y - _root.elf._y;
this._x = this._x - (xSpeed / 6);
this._y = this._y - (ySpeed / 2);
ground = this._y;
if (xDist < 0) {
dir = 1;
} else {
dir = -1;
}
this._xscale = dir * 100;
if (walking) {
this.gotoAndStop("walk");
angle = Math.atan2(yDist, xDist) / (Math.PI/180);
xSpeed = Math.cos(angle * (Math.PI/180)) * 2;
ySpeed = Math.sin(angle * (Math.PI/180)) * 2;
interval++;
if (interval == 96) {
xSpeed = 0;
ySpeed = 0;
interval = 0;
walking = false;
shoot = true;
}
}
if (shoot) {
this.gotoAndStop("shoot");
interval++;
if (interval == 6) {
_root.attachMovie("bunnyShot", "obj" + _root.objVar, _root.objVar);
_root["obj" + _root.objVar]._x = this._x + (20 * dir);
_root["obj" + _root.objVar]._y = this._y - 30;
_root["obj" + _root.objVar].ground = ground;
_root["obj" + _root.objVar].dir = dir;
_root.objVar++;
}
if (interval == 20) {
interval = 0;
walking = true;
shoot = false;
}
}
i = 0;
while (i < 50) {
if (ground > _root["obj" + i]._y) {
if (this.getDepth() < _root["obj" + i].getDepth()) {
this.swapDepths(_root["obj" + i]);
}
} else if (this.getDepth() > _root["obj" + i].getDepth()) {
this.swapDepths(_root["obj" + i]);
}
xDist = this._x - _root["obj" + i]._x;
yDist = this._y - _root["obj" + i].ground;
if (_root["obj" + i].bomb) {
if ((Math.abs(yDist) < 20) && (Math.abs(xDist) < 20)) {
if (!_root["obj" + i].hit) {
health = health - _root["obj" + i].power;
interval = 0;
shoot = false;
if (health > 1) {
hit = true;
_root["obj" + i].hit = true;
} else {
dead = true;
_root.enemysKilled++;
_root.attachMovie("Coin", "obj" + _root.objVar, _root.objVar + 100);
_root["obj" + _root.objVar]._x = this._x;
_root["obj" + _root.objVar]._y = this._y;
_root["obj" + _root.objVar].gravity = -10;
_root["obj" + _root.objVar].ground = this._y;
_root["obj" + _root.objVar].xSpeed = random(5) - random(5);
_root["obj" + _root.objVar].ySpeed = (random(8) - random(8)) / 2;
_root.objVar++;
_root["obj" + i].hit = true;
}
}
}
}
i++;
}
if (_root.elf.hammerHitSpot.hitTest(this._x, this._y, true)) {
health = health - _root.elf.hammerPower;
if (health < 1) {
_root.enemysKilled++;
_root.attachMovie("Coin", "obj" + _root.objVar, _root.objVar + 100);
_root["obj" + _root.objVar]._x = this._x;
_root["obj" + _root.objVar]._y = this._y;
_root["obj" + _root.objVar].gravity = -10;
_root["obj" + _root.objVar].ground = this._y;
_root["obj" + _root.objVar].xSpeed = random(5) - random(5);
_root["obj" + _root.objVar].ySpeed = (random(8) - random(8)) / 2;
_root.objVar++;
dead = true;
} else {
_root.hit.start();
air = true;
gravity = -10;
ground = this._y;
interval = 0;
xDist = this._x - _root.elf._x;
yDist = this._y - _root.elf._y;
angle = Math.atan2(yDist, xDist) / (Math.PI/180);
xSpeed = Math.cos(angle * (Math.PI/180)) * 2;
ySpeed = Math.sin(angle * (Math.PI/180)) * 1;
halfGravity = 5;
}
}
}
} else {
this._x = this._x + xSpeed;
this._y = this._y + ySpeed;
if (ground > 322.5) {
ground = 322.5;
ySpeed = ySpeed * -1;
}
if (ground < 160) {
ground = 180;
ySpeed = ySpeed * -1;
}
if (this._x < 0) {
this._x = 0;
xSpeed = xSpeed * -1;
}
if (this._x > 547.5) {
this._x = 547.5;
xSpeed = xSpeed * -1;
}
this._y = this._y + gravity;
ground = ground + ySpeed;
if (!landed) {
gravity++;
if (this._y > ground) {
this._y = ground;
if (gravity > halfGravity) {
_root.groundHit.start();
gravity = (gravity * -1) / 2;
xSpeed = xSpeed / 2;
ySpeed = ySpeed / 2;
} else {
gravity = 0;
landed = true;
}
}
this.gotoAndStop("air");
} else {
xSpeed = 0;
ySpeed = 0;
interval++;
this.gotoAndStop("gettingUp");
if (interval > 20) {
air = false;
interval = 0;
landed = false;
}
}
}
} else {
this.gotoAndStop("hit");
interval++;
if (interval > 10) {
hit = false;
walking = true;
interval = 0;
}
}
if (dead) {
this.gotoAndStop("dead");
interval++;
if (interval > 25) {
_root.bunnyVar--;
(this.removeMovieClip());// not popped
}
}
}
};
}
var landed = false;
}
Symbol 900 MovieClip [__Packages.snowBall] Frame 0
class snowBall extends MovieClip
{
var onEnterFrame;
function snowBall () {
super();
onEnterFrame = function () {
if (!_root.Pause) {
if (this._y > _root.elf.ground) {
if (this.getDepth() < _root.elf.getDepth()) {
this.swapDepths(_root.elf);
}
} else if (this.getDepth() > _root.elf.getDepth()) {
this.swapDepths(_root.elf);
}
this.i = 0;
while (this.i < 50) {
if (this._y > _root["obj" + this.i]._y) {
if (this.getDepth() < _root["obj" + this.i].getDepth()) {
this.swapDepths(_root["obj" + this.i]);
}
} else if (this.getDepth() > _root["obj" + this.i].getDepth()) {
this.swapDepths(_root["obj" + this.i]);
}
this.i++;
}
this._x = this._x - this.xSpeed;
this._y = this._y - (this.ySpeed / 1.5);
this.xDist = _root.elf._x - this._x;
this.yDist = _root.elf._y - this._y;
this.distance = Math.sqrt((this.xDist * this.xDist) + (this.yDist * this.yDist));
if ((!_root.elf.hit) && (!_root.elf.air)) {
if (this.distance < 20) {
_root.elf.hammerHit = false;
_root.elf.xSpeed = 0;
_root.elf.ySpeed = 0;
_root.elf.attack = false;
_root.elf.interval = 0;
_root.elf.hit = true;
_root.elf.idle = true;
_root.elf.health = _root.elf.health - 10;
(this.removeMovieClip());// not popped
}
}
if (!_root.land.jumping.hitTest(this._x, this._y, true)) {
(this.removeMovieClip());// not popped
}
}
};
}
}
Symbol 901 MovieClip [__Packages.holeBunny] Frame 0
class holeBunny extends MovieClip
{
var onEnterFrame;
function holeBunny () {
super();
onEnterFrame = function () {
if (!_root.Pause) {
if (!_root.stage) {
if (!this.dead) {
_root.wait = false;
_root.attachMovie("Coin", "obj" + _root.objVar, _root.objVar + 100);
_root["obj" + _root.objVar]._x = this._x;
_root["obj" + _root.objVar]._y = this._y;
_root["obj" + _root.objVar].gravity = -10;
_root["obj" + _root.objVar].ground = this._y;
_root["obj" + _root.objVar].xSpeed = random(5) - random(5);
_root["obj" + _root.objVar].ySpeed = (random(8) - random(8)) / 2;
_root.objVar++;
this.dead = true;
}
}
if (!_root.land.jumping.hitTest(this._x, this._y, true)) {
this.removeMovieClip();
}
this.killInterval++;
if (this.killInterval == 118) {
(this.removeMovieClip());// not popped
}
if (!this.dead) {
this.ground = this._y;
this.xDist = this._x - _root.elf._x;
this.yDist = this._y - _root.elf._y;
if (this.xDist < 0) {
this.dir = 1;
} else {
this.dir = -1;
}
this._xscale = 100 * this.dir;
if (_root.stage) {
this._x = this._x - _root.elf.xSpeed;
} else {
this._x = this._x + ((273 - _root.elf._x) / 10);
this._x = this._x - _root.elf.xSpeed;
}
this.i = 0;
while (this.i < 50) {
if (this.ground > _root["obj" + this.i]._y) {
if (this.getDepth() < _root["obj" + this.i].getDepth()) {
this.swapDepths(_root["obj" + this.i]);
}
} else if (this.getDepth() > _root["obj" + this.i].getDepth()) {
this.swapDepths(_root["obj" + this.i]);
}
if ((this.interval > 46) && (this.interval < 97)) {
this.xDist = this._x - _root["obj" + this.i]._x;
this.yDist = this._y - _root["obj" + this.i].ground;
if (_root["obj" + this.i].bomb) {
if ((Math.abs(this.yDist) < 15) && (Math.abs(this.xDist) < 20)) {
if (!_root["obj" + this.i].hit) {
this.interval = 0;
this.dead = true;
_root.enemysKilled++;
_root.attachMovie("Coin", "obj" + _root.objVar, _root.objVar + 100);
_root["obj" + _root.objVar]._x = this._x;
_root["obj" + _root.objVar]._y = this._y;
_root["obj" + _root.objVar].gravity = -10;
_root["obj" + _root.objVar].ground = this._y;
_root["obj" + _root.objVar].xSpeed = random(5) - random(5);
_root["obj" + _root.objVar].ySpeed = (random(8) - random(8)) / 2;
_root.objVar++;
_root["obj" + this.i].hit = true;
}
}
}
}
this.i++;
}
if ((this.interval > 46) && (this.interval < 97)) {
if (_root.elf.hammerHitSpot.hitTest(this._x, this._y, true)) {
this.dead = true;
_root.enemysKilled++;
_root.attachMovie("Coin", "obj" + _root.objVar, _root.objVar + 100);
_root["obj" + _root.objVar]._x = this._x;
_root["obj" + _root.objVar]._y = this._y;
_root["obj" + _root.objVar].gravity = -10;
_root["obj" + _root.objVar].ground = this._y;
_root["obj" + _root.objVar].xSpeed = random(5) - random(5);
_root["obj" + _root.objVar].ySpeed = (random(8) - random(8)) / 2;
_root.objVar++;
}
}
this.interval++;
if (this.interval > 118) {
(this.removeMovieClip());// not popped
}
if (this.interval == 90) {
this.xDist = this._x - _root.elf._x;
this.yDist = this._y - _root.elf._y;
this.angle = Math.atan2(this.yDist, this.xDist) / (Math.PI/180);
_root.attachMovie("snowBall", "obj" + _root.objVar, _root.objVar + 100);
_root["obj" + _root.objVar]._x = this._x;
_root["obj" + _root.objVar]._y = this._y;
_root["obj" + _root.objVar].xSpeed = Math.cos(this.angle * (Math.PI/180)) * this.speed;
_root["obj" + _root.objVar].ySpeed = Math.sin(this.angle * (Math.PI/180)) * this.speed;
_root.objVar++;
_root["obj" + this.i].hit = true;
}
this.gotoAndStop("alive");
} else {
this.gotoAndStop("dead");
this.interval++;
if (this.interval == 30) {
(this.removeMovieClip());// not popped
}
}
}
};
}
var dead = false;
var interval = 0;
var speed = 5;
var killInterval = 0;
}
Symbol 902 MovieClip [__Packages.bossGroundShot] Frame 0
class bossGroundShot extends MovieClip
{
var _x, _y, onEnterFrame;
function bossGroundShot () {
super();
var ground = _root.boss._y;
_x = _root.boss._x;
_y = _root.boss._y - 25;
var xSpeed = ((10 * _root.boss.dir) * -1);
onEnterFrame = function () {
if (!_root.Pause) {
this._x = this._x - _root.elf.xSpeed;
if (!this.hit) {
this.gravity++;
this._y = this._y + this.gravity;
this._x = this._x + xSpeed;
this.gotoAndStop("idle");
if (this._y > ground) {
this.xDist = _root.elf._x - this._x;
this.yDist = _root.elf._y - this._y;
this.distance = Math.sqrt((this.xDist * this.xDist) + (this.yDist * this.yDist));
this.angle = Math.atan2(this.yDist, this.xDist) / (Math.PI/180);
if (!_root.elf.air) {
if (this.distance < 20) {
this.interval = 0;
_root.elf.health = _root.elf.health - 15;
_root.elf.air = true;
_root.elf.attack = false;
_root.elf.hit = false;
_root.elf.gravity = -8;
_root.elf.xSpeed = Math.cos((this.angle - 180) * (Math.PI/180)) * 3;
_root.elf.ySpeed = Math.sin((this.angle - 180) * (Math.PI/180)) * 3;
_root.elf.halfGravity = 4;
_root.elf.shoot = false;
_root.elf.interval = 0;
}
}
this.hit = true;
}
} else {
this.gotoAndStop("hit");
this._y = ground;
this.interval++;
if (this.interval > 25) {
(this.removeMovieClip());// not popped
}
}
if (ground > _root.elf.ground) {
if (this.getDepth() < _root.elf.getDepth()) {
this.swapDepths(_root.elf);
}
} else if (this.getDepth() > _root.elf.getDepth()) {
this.swapDepths(_root.elf);
}
}
};
}
var hit = false;
var gravity = -11;
var interval = 0;
var xDist = 0;
var yDist = 0;
var distance = 0;
var angle = 0;
}
Symbol 903 MovieClip [__Packages.bossShot] Frame 0
class bossShot extends MovieClip
{
var swapDepths, depthNumber, _xscale, groundNumber, _yscale, _x, _y, xSpeed, onEnterFrame;
function bossShot () {
super();
swapDepths(200 - depthNumber);
_xscale = 50;
groundNumber = random(150);
_yscale = 50;
_x = 273;
_y = 200;
xSpeed = random(600) - random(600);
onEnterFrame = function () {
if (!_root.Pause) {
this._x = this._x - _root.elf.xSpeed;
if (!this.hit) {
this.gotoAndStop("idle");
this._x = this._x + (this.xSpeed / 100);
this.gravity++;
this._y = this._y + this.gravity;
if (this.gravity == 0) {
this.swapDepths(201 + this.depthNumber);
this._xscale = 100;
this._yscale = 100;
}
if ((this._y > (322 - this.groundNumber)) && (this.gravity > 0)) {
this.xDist = _root.elf._x - this._x;
this.yDist = _root.elf._y - this._y;
this.distance = Math.sqrt((this.xDist * this.xDist) + (this.yDist * this.yDist));
this.angle = Math.atan2(this.yDist, this.xDist) / (Math.PI/180);
if (!_root.elf.air) {
if (this.distance < 15) {
this.interval = 0;
_root.elf.health = _root.elf.health - 5;
_root.elf.air = true;
_root.elf.gravity = -8;
_root.elf.xSpeed = Math.cos((this.angle - 180) * (Math.PI/180)) * 3;
_root.elf.ySpeed = Math.sin((this.angle - 180) * (Math.PI/180)) * 3;
_root.elf.halfGravity = 4;
_root.elf.shoot = false;
_root.elf.interval = 0;
}
}
this.hit = true;
}
} else {
this.gotoAndStop("hit");
this._y = 322 - this.groundNumber;
this.interval++;
if (this.interval == 25) {
(this.removeMovieClip());// not popped
}
if ((322 - this.groundNumber) > _root.elf.ground) {
if (this.getDepth() < _root.elf.getDepth()) {
this.swapDepths(_root.elf);
}
} else if (this.getDepth() > _root.elf.getDepth()) {
this.swapDepths(_root.elf);
}
}
}
};
}
var gravity = -30;
var interval = 0;
var hit = false;
var xDist = 0;
var yDist = 0;
var distance = 0;
var angle = 0;
}
Symbol 904 MovieClip [__Packages.Boss] Frame 0
class Boss extends MovieClip
{
var _x, _y, onEnterFrame;
function Boss () {
super();
xPos = _x;
yPos = _y;
onEnterFrame = function () {
if (_root.gameEnd) {
(this.removeMovieClip());// not popped
}
if (!_root.Pause) {
this._xscale = (55 * this.dir) * -1;
if (!this.dead) {
if (this.ground) {
this.shootInterval++;
_root.bossShadow.gotoAndStop("idle");
if (this.level == 1) {
this.dir = -1;
this._x = this._x + (((_root.elf._x - this._x) + (250 * this.dir)) / 100);
this._y = this._y + ((_root.elf._y - this._y) / 100);
}
if (this.level == 2) {
this.dir = 1;
this._x = this._x + (((_root.elf._x - this._x) + (250 * this.dir)) / 90);
this._y = this._y + ((_root.elf._y - this._y) / 90);
}
if (this.level == 3) {
this.dir = -1;
this._x = this._x + (((_root.elf._x - this._x) + (250 * this.dir)) / 80);
this._y = this._y + ((_root.elf._y - this._y) / 80);
}
if (this._y > 180) {
if (this.shootInterval > 50) {
_root.attachMovie("bossGroundShot", "bossGroundShot" + this.shotVar, this.shotVar + 6000);
this.shotVar++;
this.shootInterval = 0;
}
}
}
if (this.air) {
if (this._y > -100) {
this._y = this._y - 5;
} else {
if (this.level == 1) {
this._x = _root.elf._x + 200;
}
if (this.level == 2) {
this._x = _root.elf._x + 200;
}
if (this.level == 3) {
this._x = _root.elf._x - 200;
}
this._y = -100;
this.interval++;
if ((this.interval > 100) && (this.interval < 500)) {
this.shootInterval++;
if ((this.level - 1) == 1) {
if (this.shootInterval > 20) {
_root.attachMovie("bossShot", "bossShot" + this.shotVar, this.shotVar + 6000);
_root["bossShot" + this.shotVar].depthNumber = this.shotVar;
this.shotVar++;
this.shootInterval = 0;
}
}
if ((this.level - 1) == 2) {
if (this.shootInterval > 10) {
_root.attachMovie("bossShot", "bossShot" + this.shotVar, this.shotVar + 6000);
_root["bossShot" + this.shotVar].depthNumber = this.shotVar;
this.shotVar++;
this.shootInterval = 0;
}
}
if ((this.level - 1) == 3) {
if (this.shootInterval > 5) {
_root.attachMovie("bossShot", "bossShot" + this.shotVar, this.shotVar + 6000);
_root["bossShot" + this.shotVar].depthNumber = this.shotVar;
this.shotVar++;
this.shootInterval = 0;
}
}
}
if (this.interval < 600) {
_root.bossShadow.gotoAndStop("down");
} else {
_root.bossShadow.gotoAndStop("up");
if (this.interval > 700) {
this.air = false;
this.ground = true;
this.interval = 0;
}
}
}
}
if (this.shotVar > 50) {
this.shotVar = 0;
}
if (!this.air) {
this.i = 0;
while (this.i < 50) {
if (!_root["obj" + this.i].hit) {
if (_root["obj" + this.i].bomb) {
this.xDist = _root["obj" + this.i]._x - this._x;
this.yDist = _root["obj" + this.i]._y - this._y;
if ((Math.abs(this.xDist) < 60) && (Math.abs(this.yDist) < 40)) {
_root["obj" + this.i].hit = true;
this.hit = true;
this.health = this.health - 1;
this.interval = 0;
}
}
}
this.i++;
}
}
if (this.hit) {
this.gotoAndStop("hit");
this.gotoAndStop(this.hit);
this.interval++;
if (this.interval > 11) {
this.hit = false;
if ((this.level == 1) && (this.health == 20)) {
this.ground = false;
this.level++;
this.air = true;
}
if ((this.level == 2) && (this.health == 10)) {
this.ground = false;
this.level++;
this.air = true;
}
if ((this.level == 3) && (this.health == 0)) {
this.ground = false;
this.air = true;
this.dead = true;
}
this.interval = 0;
}
} else {
this.gotoAndStop("idle");
}
} else {
this.swapDepths(2500);
this.gotoAndStop("dead");
}
if (_root.saveing) {
this.xPos = this._x;
this.yPos = this._y;
}
if (_root.reset) {
this._x = this.xPos;
this._y = this.yPos;
}
}
};
}
var ground = true;
var interval = 0;
var air = false;
var shootInterval = 0;
var shotVar = 0;
var hit = false;
var level = 1;
var health = 30;
var dead = false;
var dir = -1;
var xPos = MovieClip.prototype._x;
var yPos = MovieClip.prototype._y;
}
Symbol 905 MovieClip [__Packages.runBunny] Frame 0
class runBunny extends MovieClip
{
var onEnterFrame;
function runBunny () {
super();
var landed = false;
var xSpeed;
var ySpeed;
var angle;
var speed = 5;
var xDist;
var running = true;
var yDist;
var distance;
var dir;
var dead = false;
var air = false;
var i;
var ground;
var health = 70;
var interval = 0;
var gravity;
var halfGravity;
var hit = false;
onEnterFrame = function () {
if (!_root.Pause) {
if (!_root.stage) {
if (!dead) {
_root.wait = false;
_root.attachMovie("Coin", "obj" + _root.objVar, _root.objVar + 100);
_root["obj" + _root.objVar]._x = this._x;
_root["obj" + _root.objVar]._y = this._y;
_root["obj" + _root.objVar].gravity = -10;
_root["obj" + _root.objVar].ground = this._y;
_root["obj" + _root.objVar].xSpeed = random(5) - random(5);
_root["obj" + _root.objVar].ySpeed = (random(8) - random(8)) / 2;
_root.objVar++;
dead = true;
}
}
if (_root.stage) {
this._x = this._x - _root.elf.xSpeed;
} else {
this._x = this._x + ((273 - _root.elf._x) / 10);
this._x = this._x - _root.elf.xSpeed;
}
if (!air) {
if (!dead) {
ground = this._y;
if (!_root.wait) {
if (_root.elf.hammerHitSpot.hitTest(this._x, this._y, true)) {
health = health - _root.elf.hammerPower;
if (health < 1) {
_root.wait = false;
_root.enemysKilled++;
_root.attachMovie("Coin", "obj" + _root.objVar, _root.objVar + 100);
_root["obj" + _root.objVar]._x = this._x;
_root["obj" + _root.objVar]._y = this._y;
_root["obj" + _root.objVar].gravity = -10;
_root["obj" + _root.objVar].ground = this._y;
_root["obj" + _root.objVar].xSpeed = random(5) - random(5);
_root["obj" + _root.objVar].ySpeed = (random(8) - random(8)) / 2;
_root.objVar++;
_root.attachMovie("Coin", "obj" + _root.objVar, _root.objVar + 100);
_root["obj" + _root.objVar]._x = this._x;
_root["obj" + _root.objVar]._y = this._y;
_root["obj" + _root.objVar].gravity = -10;
_root["obj" + _root.objVar].ground = this._y;
_root["obj" + _root.objVar].xSpeed = random(5) - random(5);
_root["obj" + _root.objVar].ySpeed = (random(8) - random(8)) / 2;
_root.objVar++;
dead = true;
} else {
_root.hit.start();
air = true;
gravity = -10;
ground = this._y;
xDist = this._x - _root.elf._x;
yDist = this._y - _root.elf._y;
angle = Math.atan2(yDist, xDist) / (Math.PI/180);
xSpeed = Math.cos(angle * (Math.PI/180)) * 2;
ySpeed = Math.sin(angle * (Math.PI/180)) * 1;
halfGravity = 5;
}
}
this._xscale = 100 * dir;
xDist = this._x - _root.elf._x;
yDist = this._y - _root.elf._y;
this._x = this._x - xSpeed;
this._y = this._y - ySpeed;
angle = Math.atan2(yDist, xDist) / (Math.PI/180);
distance = Math.sqrt((xDist * xDist) + (yDist * yDist));
if (xDist < 0) {
dir = 1;
} else {
dir = -1;
}
if (running) {
xSpeed = Math.cos(angle * (Math.PI/180)) * speed;
ySpeed = Math.sin(angle * (Math.PI/180)) * speed;
}
if (distance < 25) {
_root.wait = true;
interval = 0;
_root.elf.health = _root.elf.health - 10;
_root.elf.attack = false;
_root.elf.air = true;
_root.elf.gravity = -8;
_root.elf.xSpeed = Math.cos((angle - 180) * (Math.PI/180)) * 4;
_root.elf.ySpeed = Math.sin((angle - 180) * (Math.PI/180)) * 4;
_root.elf.halfGravity = 4;
_root.elf.shoot = false;
_root.elf.interval = 0;
}
this.gotoAndStop("run");
} else {
this.gotoAndStop("idle");
interval++;
if (interval == 80) {
_root.wait = false;
interval = 0;
}
}
i = 0;
while (i < 50) {
if (ground > _root["obj" + i]._y) {
if (this.getDepth() < _root["obj" + i].getDepth()) {
this.swapDepths(_root["obj" + i]);
}
} else if (this.getDepth() > _root["obj" + i].getDepth()) {
this.swapDepths(_root["obj" + i]);
}
xDist = this._x - _root["obj" + i]._x;
yDist = this._y - _root["obj" + i].ground;
if (_root["obj" + i].bomb) {
if ((Math.abs(yDist) < 20) && (Math.abs(xDist) < 20)) {
if (!_root["obj" + i].hit) {
health = health - _root["obj" + i].power;
if (health > 0) {
interval = 0;
hit = true;
_root["obj" + i].hit = true;
} else {
interval = 0;
dead = true;
_root.enemysKilled++;
_root.attachMovie("Coin", "obj" + _root.objVar, _root.objVar + 100);
_root["obj" + _root.objVar]._x = this._x;
_root["obj" + _root.objVar]._y = this._y;
_root["obj" + _root.objVar].gravity = -10;
_root["obj" + _root.objVar].ground = this._y;
_root["obj" + _root.objVar].xSpeed = random(5) - random(5);
_root["obj" + _root.objVar].ySpeed = (random(8) - random(8)) / 2;
_root.objVar++;
_root.attachMovie("Coin", "obj" + _root.objVar, _root.objVar + 100);
_root["obj" + _root.objVar]._x = this._x;
_root["obj" + _root.objVar]._y = this._y;
_root["obj" + _root.objVar].gravity = -10;
_root["obj" + _root.objVar].ground = this._y;
_root["obj" + _root.objVar].xSpeed = random(5) - random(5);
_root["obj" + _root.objVar].ySpeed = (random(8) - random(8)) / 2;
_root.objVar++;
_root["obj" + i].hit = true;
}
}
}
}
i++;
}
} else {
this.gotoAndStop("dead");
interval++;
if (interval > 25) {
_root.bunnyVar--;
if (_root.bunnyVar == 0) {
(this.removeMovieClip());// not popped
}
}
}
} else {
this._x = this._x + xSpeed;
this._y = this._y + ySpeed;
if (ground > 322.5) {
ground = 322.5;
ySpeed = ySpeed * -1;
}
if (ground < 160) {
ground = 180;
ySpeed = ySpeed * -1;
}
if (this._x < 0) {
this._x = 0;
xSpeed = xSpeed * -1;
}
if (this._x > 547.5) {
this._x = 547.5;
xSpeed = xSpeed * -1;
}
this._y = this._y + gravity;
ground = ground + ySpeed;
if (!landed) {
gravity++;
if (this._y > ground) {
this._y = ground;
if (gravity > halfGravity) {
_root.groundHit.start();
gravity = (gravity * -1) / 2;
xSpeed = xSpeed / 2;
ySpeed = ySpeed / 2;
} else {
gravity = 0;
landed = true;
}
}
this.gotoAndStop("air");
} else {
xSpeed = 0;
ySpeed = 0;
interval++;
this.gotoAndStop("gettingUp");
if (interval > 20) {
air = false;
interval = 0;
landed = false;
}
}
}
}
};
}
}
Symbol 400 Button
on (release) {
_root.frame = 8;
}
Symbol 403 Button
on (release) {
_root.frame = 2;
}
Symbol 406 Button
on (release) {
_root.frame = 4;
}
Symbol 409 Button
on (release) {
_root.frame = 6;
}
Symbol 410 MovieClip Frame 70
stop();
Symbol 419 Button
on (release) {
_root.frame = 3;
}
Symbol 420 MovieClip Frame 61
stop();
Symbol 421 Button
on (release) {
_root.frame = 8;
}
Symbol 422 MovieClip Frame 55
stop();
Symbol 425 Button
on (release) {
_root.frame = 5;
}
Symbol 426 MovieClip Frame 61
stop();
Symbol 427 MovieClip Frame 55
stop();
Symbol 429 Button
on (release) {
_root.frame = 7;
}
Symbol 430 MovieClip Frame 61
stop();
Symbol 431 MovieClip Frame 55
stop();
Symbol 433 MovieClip Frame 65
_root.play();
Symbol 437 Button
on (release) {
getURL ("http://www.kongregate.com", "_blank");
}
Symbol 438 MovieClip Frame 35
stop();
Instance of Symbol 446 MovieClip in Symbol 447 MovieClip Frame 1
onClipEvent (enterFrame) {
this._visible = false;
if (this.hitTest(_root.elf._x, _root.elf._y, true)) {
_root.levelEnd.gotoAndStop(2);
}
}
Instance of Symbol 356 MovieClip [Hut] in Symbol 447 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 356 MovieClip [Hut] in Symbol 447 MovieClip Frame 1
/* no clip actions */
Symbol 454 MovieClip Frame 76
stop();
Symbol 454 MovieClip Frame 79
gotoAndPlay (76);
Instance of Symbol 454 MovieClip in Symbol 455 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Symbol 460 MovieClip Frame 76
stop();
Symbol 460 MovieClip Frame 79
gotoAndPlay (76);
Instance of Symbol 460 MovieClip in Symbol 461 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Symbol 466 MovieClip Frame 76
stop();
Symbol 466 MovieClip Frame 79
gotoAndPlay (76);
Instance of Symbol 466 MovieClip in Symbol 467 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Symbol 506 MovieClip Frame 10
stop();
Symbol 506 MovieClip Frame 15
gotoAndStop (10);
Symbol 592 MovieClip Frame 10
stop();
Symbol 593 MovieClip Frame 10
stop();
Symbol 593 MovieClip Frame 15
gotoAndStop (10);
Symbol 659 MovieClip Frame 10
stop();
Symbol 660 MovieClip Frame 10
stop();
Symbol 660 MovieClip Frame 15
gotoAndStop (10);
Symbol 729 MovieClip Frame 10
stop();
Symbol 729 MovieClip Frame 15
gotoAndStop (10);
Symbol 731 MovieClip Frame 10
stop();
Symbol 731 MovieClip Frame 15
gotoAndPlay (10);
Symbol 733 MovieClip Frame 10
stop();
Symbol 733 MovieClip Frame 15
gotoAndPlay (10);
Symbol 735 MovieClip Frame 10
stop();
Symbol 735 MovieClip Frame 15
gotoAndPlay (10);
Symbol 739 MovieClip Frame 28
stop();
Symbol 739 MovieClip Frame 35
gotoAndPlay (30);
Instance of Symbol 473 MovieClip in Symbol 740 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 484 MovieClip "walk" in Symbol 740 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 501 MovieClip in Symbol 740 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 506 MovieClip in Symbol 740 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 508 MovieClip in Symbol 740 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 514 MovieClip in Symbol 740 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 540 MovieClip in Symbol 740 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 542 MovieClip "hammerHitSpot" in Symbol 740 MovieClip Frame 8
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 554 MovieClip in Symbol 740 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 555 MovieClip in Symbol 740 MovieClip Frame 10
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 559 MovieClip in Symbol 740 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 562 MovieClip in Symbol 740 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 573 MovieClip "walk" in Symbol 740 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 590 MovieClip in Symbol 740 MovieClip Frame 15
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 592 MovieClip in Symbol 740 MovieClip Frame 16
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 593 MovieClip in Symbol 740 MovieClip Frame 17
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 594 MovieClip in Symbol 740 MovieClip Frame 18
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 595 MovieClip in Symbol 740 MovieClip Frame 19
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 611 MovieClip in Symbol 740 MovieClip Frame 20
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 542 MovieClip "hammerHitSpot" in Symbol 740 MovieClip Frame 20
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 623 MovieClip in Symbol 740 MovieClip Frame 21
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 625 MovieClip in Symbol 740 MovieClip Frame 22
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 626 MovieClip in Symbol 740 MovieClip Frame 23
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 629 MovieClip in Symbol 740 MovieClip Frame 25
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 640 MovieClip "walk" in Symbol 740 MovieClip Frame 26
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 657 MovieClip in Symbol 740 MovieClip Frame 27
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 659 MovieClip in Symbol 740 MovieClip Frame 28
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 660 MovieClip in Symbol 740 MovieClip Frame 29
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 661 MovieClip in Symbol 740 MovieClip Frame 30
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 664 MovieClip in Symbol 740 MovieClip Frame 31
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 679 MovieClip in Symbol 740 MovieClip Frame 32
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 542 MovieClip "hammerHitSpot" in Symbol 740 MovieClip Frame 32
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 691 MovieClip in Symbol 740 MovieClip Frame 33
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 692 MovieClip in Symbol 740 MovieClip Frame 34
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 694 MovieClip in Symbol 740 MovieClip Frame 35
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 697 MovieClip in Symbol 740 MovieClip Frame 37
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 712 MovieClip in Symbol 740 MovieClip Frame 38
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 542 MovieClip "hammerHitSpot" in Symbol 740 MovieClip Frame 38
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 724 MovieClip in Symbol 740 MovieClip Frame 39
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 726 MovieClip in Symbol 740 MovieClip Frame 40
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 727 MovieClip in Symbol 740 MovieClip Frame 42
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 728 MovieClip in Symbol 740 MovieClip Frame 44
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 729 MovieClip in Symbol 740 MovieClip Frame 45
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 730 MovieClip in Symbol 740 MovieClip Frame 46
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 731 MovieClip in Symbol 740 MovieClip Frame 47
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 732 MovieClip in Symbol 740 MovieClip Frame 48
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 733 MovieClip in Symbol 740 MovieClip Frame 49
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 734 MovieClip in Symbol 740 MovieClip Frame 50
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 735 MovieClip in Symbol 740 MovieClip Frame 51
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 739 MovieClip in Symbol 740 MovieClip Frame 53
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Symbol 743 MovieClip Frame 108
stop();
stop();
Symbol 743 MovieClip Frame 111
gotoAndPlay (108);
Instance of Symbol 743 MovieClip in Symbol 744 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 750 MovieClip in Symbol 778 MovieClip Frame 1
onClipEvent (load) {
price = 25;
_root.gunGoldPrice = ":25";
}
onClipEvent (enterFrame) {
onMouseDown = function () {
if (!_root.gunGoldBought) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (_root.gold >= price) {
if (_root.gunRedBought && (_root.gunSilverBought)) {
_root.gunGoldBought = true;
_root.gold = _root.gold - price;
_root.gunGoldPrice = "Bought";
_root.elf.gunRed = false;
_root.elf.gunGold = true;
_root.elf.gunSilver = false;
}
}
}
}
};
if (_root.gunGoldBought) {
this.gotoAndStop("bought");
this.dis.gotoAndStop("bought");
} else {
if (_root.gold >= price) {
this.dis.gotoAndStop("black");
} else {
this.dis.gotoAndStop("red");
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.gotoAndStop("over");
} else {
this.gotoAndStop("idle");
}
}
}
Instance of Symbol 754 MovieClip in Symbol 778 MovieClip Frame 1
onClipEvent (load) {
price = 15;
_root.gunSilverPrice = ":15";
}
onClipEvent (enterFrame) {
onMouseDown = function () {
if (!_root.gunSilverBought) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (_root.gold >= price) {
if (_root.gunRedBought) {
_root.gold = _root.gold - price;
_root.gunSilverBought = true;
_root.gunSilverPrice = "Bought";
_root.elf.gunRed = false;
_root.elf.gunGold = false;
_root.elf.gunSilver = true;
}
}
}
}
};
if (_root.gunSilverBought) {
this.gotoAndStop("bought");
this.dis.gotoAndStop("bought");
} else {
if (_root.gold >= price) {
this.dis.gotoAndStop("black");
} else {
this.dis.gotoAndStop("red");
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.gotoAndStop("over");
} else {
this.gotoAndStop("idle");
}
}
}
Instance of Symbol 759 MovieClip in Symbol 778 MovieClip Frame 1
onClipEvent (load) {
price = 10;
_root.gunRedPrice = ":10";
}
onClipEvent (enterFrame) {
onMouseDown = function () {
if (!_root.gunRedBought) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (_root.gold >= price) {
_root.gold = _root.gold - price;
_root.elf.gun = true;
_root.gunRedBought = true;
_root.gunRedPrice = "Bought";
_root.elf.gunRed = true;
_root.elf.gunGold = false;
_root.elf.gunSilver = false;
}
}
}
};
if (_root.gunRedBought) {
this.gotoAndStop("bought");
this.dis.gotoAndStop("bought");
} else {
if (_root.gold >= price) {
this.dis.gotoAndStop("black");
} else {
this.dis.gotoAndStop("red");
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.gotoAndStop("over");
} else {
this.gotoAndStop("idle");
}
}
}
Instance of Symbol 765 MovieClip in Symbol 778 MovieClip Frame 1
onClipEvent (load) {
price = 10;
_root.hammerRedPrice = ":10";
}
onClipEvent (enterFrame) {
onMouseDown = function () {
if (!_root.hammerRedBought) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (_root.gold >= price) {
_root.gold = _root.gold - price;
_root.hammerRedBought = true;
_root.hammerRedPrice = "Bought";
_root.elf.hammerWood = false;
_root.elf.hammerRed = true;
_root.elf.hammerGold = false;
_root.elf.hammerSilver = false;
}
}
}
};
if (_root.hammerRedBought) {
this.gotoAndStop("bought");
this.dis.gotoAndStop("bought");
} else {
if (_root.gold >= price) {
this.dis.gotoAndStop("black");
} else {
this.dis.gotoAndStop("red");
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.gotoAndStop("over");
} else {
this.gotoAndStop("idle");
}
}
}
Instance of Symbol 770 MovieClip in Symbol 778 MovieClip Frame 1
onClipEvent (load) {
price = 15;
_root.hammerSilverPrice = ":15";
}
onClipEvent (enterFrame) {
onMouseDown = function () {
if (!_root.hammerSilverBought) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (_root.gold >= price) {
if (_root.hammerRedBought) {
_root.gold = _root.gold - price;
_root.elf.hammerWood = false;
_root.hammerSilverBought = true;
_root.hammerSilverPrice = "Bought";
_root.elf.hammerRed = false;
_root.elf.hammerGold = false;
_root.elf.hammerSilver = true;
}
}
}
}
};
if (_root.hammerSilverBought) {
this.gotoAndStop("bought");
this.dis.gotoAndStop("bought");
} else {
if (_root.gold >= price) {
this.dis.gotoAndStop("black");
} else {
this.dis.gotoAndStop("red");
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.gotoAndStop("over");
} else {
this.gotoAndStop("idle");
}
}
}
Instance of Symbol 774 MovieClip in Symbol 778 MovieClip Frame 1
onClipEvent (load) {
price = 25;
_root.hammerGoldPrice = ":25";
}
onClipEvent (enterFrame) {
onMouseDown = function () {
if (!_root.hammerGoldBought) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (_root.gold >= price) {
if (_root.hammerRedBought && (_root.hammerSilverBought)) {
_root.hammerGoldBought = true;
_root.gold = _root.gold - price;
_root.hammerGoldPrice = "Bought";
_root.elf.hammerRed = false;
_root.elf.hammerGold = true;
_root.elf.hammerWood = false;
_root.elf.hammerSilver = false;
}
}
}
}
};
if (_root.hammerGoldBought) {
this.gotoAndStop("bought");
this.dis.gotoAndStop("bought");
} else {
if (_root.gold >= price) {
this.dis.gotoAndStop("black");
} else {
this.dis.gotoAndStop("red");
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.gotoAndStop("over");
} else {
this.gotoAndStop("idle");
}
}
}
Symbol 778 MovieClip Frame 60
stop();
Instance of Symbol 777 MovieClip in Symbol 778 MovieClip Frame 60
on (press) {
_root.menu.leaving = true;
}
Symbol 779 MovieClip Frame 1
Instance of Symbol 750 MovieClip in Symbol 779 MovieClip Frame 1
onClipEvent (load) {
price = 25;
_root.gunGoldPrice = ":25";
}
onClipEvent (enterFrame) {
onMouseDown = function () {
if (!_root.gunGoldBought) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (_root.gold >= price) {
if (_root.gunRedBought && (_root.gunSilverBought)) {
_root.gunGoldBought = true;
_root.gold = _root.gold - price;
_root.gunGoldPrice = "Bought";
_root.elf.gunRed = false;
_root.elf.gunGold = true;
_root.elf.gunSilver = false;
}
}
}
}
};
if (_root.gunGoldBought) {
this.gotoAndStop("bought");
this.dis.gotoAndStop("bought");
} else {
if (_root.gold >= price) {
this.dis.gotoAndStop("black");
} else {
this.dis.gotoAndStop("red");
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.gotoAndStop("over");
} else {
this.gotoAndStop("idle");
}
}
}
Instance of Symbol 754 MovieClip in Symbol 779 MovieClip Frame 1
onClipEvent (load) {
price = 15;
_root.gunSilverPrice = ":15";
}
onClipEvent (enterFrame) {
onMouseDown = function () {
if (!_root.gunSilverBought) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (_root.gold >= price) {
if (_root.gunRedBought) {
_root.gold = _root.gold - price;
_root.gunSilverBought = true;
_root.gunSilverPrice = "Bought";
_root.elf.gunRed = false;
_root.elf.gunGold = false;
_root.elf.gunSilver = true;
}
}
}
}
};
if (_root.gunSilverBought) {
this.gotoAndStop("bought");
this.dis.gotoAndStop("bought");
} else {
if (_root.gold >= price) {
this.dis.gotoAndStop("black");
} else {
this.dis.gotoAndStop("red");
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.gotoAndStop("over");
} else {
this.gotoAndStop("idle");
}
}
}
Instance of Symbol 759 MovieClip in Symbol 779 MovieClip Frame 1
onClipEvent (load) {
price = 10;
_root.gunRedPrice = ":10";
}
onClipEvent (enterFrame) {
onMouseDown = function () {
if (!_root.gunRedBought) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (_root.gold >= price) {
_root.gold = _root.gold - price;
_root.elf.gun = true;
_root.gunRedBought = true;
_root.gunRedPrice = "Bought";
_root.elf.gunRed = true;
_root.elf.gunGold = false;
_root.elf.gunSilver = false;
}
}
}
};
if (_root.gunRedBought) {
this.gotoAndStop("bought");
this.dis.gotoAndStop("bought");
} else {
if (_root.gold >= price) {
this.dis.gotoAndStop("black");
} else {
this.dis.gotoAndStop("red");
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.gotoAndStop("over");
} else {
this.gotoAndStop("idle");
}
}
}
Instance of Symbol 765 MovieClip in Symbol 779 MovieClip Frame 1
onClipEvent (load) {
price = 10;
_root.hammerRedPrice = ":10";
}
onClipEvent (enterFrame) {
onMouseDown = function () {
if (!_root.hammerRedBought) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (_root.gold >= price) {
_root.gold = _root.gold - price;
_root.hammerRedBought = true;
_root.hammerRedPrice = "Bought";
_root.elf.hammerWood = false;
_root.elf.hammerRed = true;
_root.elf.hammerGold = false;
_root.elf.hammerSilver = false;
}
}
}
};
if (_root.hammerRedBought) {
this.gotoAndStop("bought");
this.dis.gotoAndStop("bought");
} else {
if (_root.gold >= price) {
this.dis.gotoAndStop("black");
} else {
this.dis.gotoAndStop("red");
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.gotoAndStop("over");
} else {
this.gotoAndStop("idle");
}
}
}
Instance of Symbol 770 MovieClip in Symbol 779 MovieClip Frame 1
onClipEvent (load) {
price = 15;
_root.hammerSilverPrice = ":15";
}
onClipEvent (enterFrame) {
onMouseDown = function () {
if (!_root.hammerSilverBought) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (_root.gold >= price) {
if (_root.hammerRedBought) {
_root.gold = _root.gold - price;
_root.elf.hammerWood = false;
_root.hammerSilverBought = true;
_root.hammerSilverPrice = "Bought";
_root.elf.hammerRed = false;
_root.elf.hammerGold = false;
_root.elf.hammerSilver = true;
}
}
}
}
};
if (_root.hammerSilverBought) {
this.gotoAndStop("bought");
this.dis.gotoAndStop("bought");
} else {
if (_root.gold >= price) {
this.dis.gotoAndStop("black");
} else {
this.dis.gotoAndStop("red");
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.gotoAndStop("over");
} else {
this.gotoAndStop("idle");
}
}
}
Instance of Symbol 774 MovieClip in Symbol 779 MovieClip Frame 1
onClipEvent (load) {
price = 25;
_root.hammerGoldPrice = ":25";
}
onClipEvent (enterFrame) {
onMouseDown = function () {
if (!_root.hammerGoldBought) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
if (_root.gold >= price) {
if (_root.hammerRedBought && (_root.hammerSilverBought)) {
_root.hammerGoldBought = true;
_root.gold = _root.gold - price;
_root.hammerGoldPrice = "Bought";
_root.elf.hammerRed = false;
_root.elf.hammerGold = true;
_root.elf.hammerWood = false;
_root.elf.hammerSilver = false;
}
}
}
}
};
if (_root.hammerGoldBought) {
this.gotoAndStop("bought");
this.dis.gotoAndStop("bought");
} else {
if (_root.gold >= price) {
this.dis.gotoAndStop("black");
} else {
this.dis.gotoAndStop("red");
}
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.gotoAndStop("over");
} else {
this.gotoAndStop("idle");
}
}
}
Symbol 779 MovieClip Frame 60
Symbol 780 MovieClip Frame 1
onEnterFrame = function () {
_root.saveing = false;
};
Symbol 780 MovieClip Frame 3
onEnterFrame = function () {
_root.saveing = true;
};
Instance of Symbol 182 MovieClip in Symbol 781 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 781 MovieClip in Symbol 785 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 788 MovieClip in Symbol 790 MovieClip Frame 1
onClipEvent (enterFrame) {
this._xscale = _root.healthPercent;
}
Symbol 793 MovieClip Frame 31
stop();
Symbol 794 MovieClip Frame 30
_root.elf.health = _root.elf.healthTotal;
_root.nextFrame();
Symbol 795 MovieClip Frame 1
stop();
Instance of Symbol 793 MovieClip in Symbol 795 MovieClip Frame 1
/* no clip actions */
Symbol 797 MovieClip Frame 39
_root.reset = true;
Symbol 797 MovieClip Frame 40
_root.reset = true;
Symbol 797 MovieClip Frame 41
_root.reset = true;
Symbol 797 MovieClip Frame 42
onEnterFrame = function () {
i = 0;
while (i < 100) {
_root.stage = false;
removeMovieClip(_root["obj" + i]);
i++;
}
};
Symbol 797 MovieClip Frame 47
_root.elf.hit = false;
_root.elf.attack = false;
_root.elf.air = false;
_root.elf.gettingUp = false;
_root.elf.interval = 0;
Symbol 797 MovieClip Frame 48
_root.elf.hit = false;
_root.elf.attack = false;
_root.elf.air = false;
_root.elf.gettingUp = false;
_root.elf.interval = 0;
Symbol 797 MovieClip Frame 49
_root.elf.hit = false;
_root.elf.attack = false;
_root.elf.air = false;
_root.elf.gettingUp = false;
_root.elf.interval = 0;
Symbol 797 MovieClip Frame 50
_root.elf.hit = false;
_root.elf.attack = false;
_root.elf.air = false;
_root.elf.gettingUp = false;
_root.elf.interval = 0;
Symbol 797 MovieClip Frame 51
_root.elf.hit = false;
_root.elf.attack = false;
_root.elf.air = false;
_root.elf.gettingUp = false;
_root.elf.interval = 0;
Symbol 797 MovieClip Frame 54
_root.reset = false;
Symbol 797 MovieClip Frame 55
_root.reset = false;
Symbol 797 MovieClip Frame 56
_root.reset = false;
Symbol 797 MovieClip Frame 57
interval = 0;
onEnterFrame = function () {
interval++;
if (interval == 5) {
_root.elf._visible = false;
}
if (interval == 10) {
_root.elf._visible = true;
interval = 0;
}
};
Symbol 797 MovieClip Frame 142
_root.elf._visible = true;
_parent.gotoAndStop(1);
Symbol 798 MovieClip Frame 1
stop();
Symbol 798 MovieClip Frame 2
stop();
Instance of Symbol 797 MovieClip in Symbol 798 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 812 MovieClip in Symbol 818 MovieClip Frame 1
onClipEvent (load) {
xPos = _x;
yPos = _y;
_xscale = 100;
}
onClipEvent (enterFrame) {
if (_root.stage) {
_x = (275 - _parent._x);
} else {
_x = (_root.elf._x - _parent._x);
}
if (_root.saveing) {
xPos = _x;
yPos = _y;
}
if (_root.reset) {
_x = xPos;
_y = yPos;
}
}
Instance of Symbol 446 MovieClip in Symbol 818 MovieClip Frame 1
onClipEvent (enterFrame) {
this._visible = false;
if (!_root.stage) {
if (this.hitTest(_root.elf._x, _root.elf._y, true)) {
_root.levelEnd.gotoAndStop(2);
}
}
}
Instance of Symbol 356 MovieClip [Hut] in Symbol 818 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 356 MovieClip [Hut] in Symbol 818 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 356 MovieClip [Hut] in Symbol 818 MovieClip Frame 1
/* no clip actions */
Symbol 819 MovieClip Frame 76
stop();
Symbol 819 MovieClip Frame 79
gotoAndPlay (76);
Instance of Symbol 819 MovieClip in Symbol 820 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Symbol 821 MovieClip Frame 76
stop();
Symbol 821 MovieClip Frame 79
gotoAndPlay (76);
Instance of Symbol 821 MovieClip in Symbol 822 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 812 MovieClip in Symbol 834 MovieClip Frame 1
onClipEvent (load) {
xPos = _x;
yPos = _y;
_xscale = 100;
}
onClipEvent (enterFrame) {
if (_root.stage) {
_x = (275 - _parent._x);
} else {
_x = (_root.elf._x - _parent._x);
}
if (_root.saveing) {
xPos = _x;
yPos = _y;
}
if (_root.reset) {
_x = xPos;
_y = yPos;
}
}
Instance of Symbol 356 MovieClip [Hut] in Symbol 834 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(21);
}
Instance of Symbol 356 MovieClip [Hut] in Symbol 834 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(22);
}
Instance of Symbol 356 MovieClip [Hut] in Symbol 834 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(23);
}
Instance of Symbol 356 MovieClip [Hut] in Symbol 834 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(23);
}
Symbol 841 MovieClip Frame 76
stop();
Symbol 841 MovieClip Frame 79
gotoAndPlay (76);
Instance of Symbol 841 MovieClip in Symbol 842 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Symbol 843 MovieClip Frame 76
stop();
Symbol 852 MovieClip Frame 60
stop();
Symbol 852 MovieClip Frame 70
gotoAndPlay (60);
Instance of Symbol 852 MovieClip in Symbol 853 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Symbol 854 MovieClip Frame 60
stop();
Symbol 854 MovieClip Frame 70
gotoAndPlay (60);
Instance of Symbol 854 MovieClip in Symbol 855 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Symbol 856 MovieClip Frame 3
stop();
Instance of Symbol 866 MovieClip in Symbol 868 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 866 MovieClip in Symbol 868 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 866 MovieClip in Symbol 868 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 866 MovieClip in Symbol 868 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 866 MovieClip in Symbol 868 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 866 MovieClip in Symbol 868 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Pause) {
this.stop();
} else {
this.play();
}
}
Symbol 887 Button
on (release) {
getURL ("http://www.kongregate.com", "_blank");
}
Symbol 888 MovieClip Frame 115
stop();
Symbol 889 MovieClip Frame 129
stop();