Frame 1
stop();
Frame 2
function goTo() {
getURL ("http://www.MoFunZone.com");
}
stop();
var newMenu = new ContextMenu();
newMenu.hideBuiltInItems();
newMenu.customItems.push(new ContextMenuItem("MoFunZone.com - Play More Games", goTo));
this.menu = newMenu;
stop();
Frame 3
_root.score = 0;
stop();
_root.level = 0;
Instance of Symbol 158 MovieClip in Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.char._x = -50;
_root.char._y = 40;
_root.life = _root.life - 1;
}
}
Frame 6
_root.fire = false;
_root.score = 0;
_root.level = 1;
stop();
Instance of Symbol 312 MovieClip "vcam" in Frame 6
onClipEvent (enterFrame) {
this._x = _root.char._x;
if (this._x < -80) {
this._x = -80;
}
}
Instance of Symbol 323 MovieClip "portal" in Frame 6
onClipEvent (enterFrame) {
if (_root.char.hitTest(_x, _y, true) && (_currentframe == 2)) {
this.gotoAndPlay(3);
_root.fire = true;
_root.score = 0;
}
}
onClipEvent (enterFrame) {
if (_root.score == 4) {
this.gotoAndStop(2);
}
}
Instance of Symbol 325 MovieClip in Frame 6
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 325 MovieClip in Frame 6
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 325 MovieClip in Frame 6
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 325 MovieClip in Frame 6
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 374 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this._currentframe > 799) {
unloadMovie (this);
}
}
Instance of Symbol 390 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this._currentframe > 385) {
_root.char._x = -120;
_root.char._y = 333.4;
unloadMovie (this);
}
}
Instance of Symbol 391 MovieClip in Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.char._x = -50;
_root.char._y = 40;
_root.life = _root.life - 1;
_root.lifesleft.play();
}
}
Frame 7
_root.fire = false;
_root.score = 0;
_root.level = 1;
_root.life = 15;
stop();
Instance of Symbol 425 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (_root.life <= 0) {
_root.gotoAndStop("gameover");
}
}
Instance of Symbol 437 MovieClip "portal" in Frame 7
onClipEvent (enterFrame) {
if (_root.char.hitTest(_x, _y, true) && (_currentframe == 2)) {
this.gotoAndPlay(3);
_root.fire = true;
_root.score = 0;
}
}
onClipEvent (enterFrame) {
if (_root.score == 4) {
this.gotoAndStop(2);
}
}
Instance of Symbol 438 MovieClip in Frame 7
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 438 MovieClip in Frame 7
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 438 MovieClip in Frame 7
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 438 MovieClip in Frame 7
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 158 MovieClip in Frame 7
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.char._x = -30;
_root.char._y = 40;
_root.life = _root.life - 1;
_root.lifeleft.play();
_root.brokenjump.gotoAndStop(1);
_root.brokenjump2.gotoAndStop(1);
_root.brokenjump3.gotoAndStop(1);
_root.brokenjump4.gotoAndStop(1);
}
}
Instance of Symbol 483 MovieClip "char" in Frame 7
onClipEvent (load) {
var grav = 0;
var run = 9;
var wlk = 2.5;
var speed = run;
var jumpHeight = 22;
var dbl = 17;
var tri = 10;
var djump = false;
var thro = false;
var slow = 0.7;
var slowspd = (speed / 2);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
gazsound = new Sound(this);
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (!_root.fire) {
grav++;
_y = (_y + grav);
if (Key.isDown(65)) {
setspeed = wlk;
} else {
setspeed = run;
}
while (_root.ground.hitTest(_x, _y, true)) {
djump = false;
tjump = false;
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
grav = grav * (slow * 1.25);
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (djump == false) {
this.gotoAndStop(2);
} else if (tjump == false) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(5);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (djump == false) {
this.gotoAndStop(2);
} else if (tjump == false) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(5);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(68))) && (!Key.isDown(83))) {
if (((!(_currentframe === 7)) && (!(_currentframe === 8))) && (!(_currentframe === 10))) {
this.gotoAndStop(3);
}
}
if (((((Key.isDown(68) && (!Key.isDown(38))) && (!Key.isDown(39))) && (!Key.isDown(37))) && (!Key.isDown(83))) && (_root.ground.hitTest(_x, _y + 3, true))) {
if (!(_currentframe === 8)) {
this.gotoAndStop(8);
}
}
if ((((((Key.isDown(83) && (!Key.isDown(39))) && (!Key.isDown(40))) && (!Key.isDown(50))) && (!Key.isDown(37))) && (!Key.isDown(38))) && (_root.ground.hitTest(_x, _y + 3, true))) {
this.gotoAndStop(7);
} else if (Key.isDown(83) && (grav > 1)) {
this.gotoAndStop(6);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
} else if (((Key.isDown(38) && (djump == false)) && (grav > 0)) && (tjump == false)) {
this.gotoAndStop(4);
} else if ((Key.isDown(68) && (tjump == false)) && (grav > 1)) {
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
if (((_root.jump.hitTest(_x, _y + 1, true) or _root.jump2.hitTest(_x, _y + 1, true)) or _root.jump3.hitTest(_x, _y + 1, true)) or _root.jump4.hitTest(_x, _y + 1, true)) {
gazsound.attachSound("boing");
gazsound.start();
grav = -32;
}
}
}
onClipEvent (load) {
locked = true;
motion = 5;
}
onClipEvent (enterFrame) {
if (_root.fire == true) {
this.gotoAndStop(10);
}
}
Frame 8
_root.score = 0;
_root.level = 2;
stop();
Instance of Symbol 497 MovieClip in Frame 8
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 497 MovieClip in Frame 8
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 497 MovieClip in Frame 8
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 497 MovieClip in Frame 8
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 497 MovieClip in Frame 8
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 497 MovieClip in Frame 8
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 497 MovieClip in Frame 8
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 497 MovieClip in Frame 8
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 437 MovieClip "portal" in Frame 8
onClipEvent (enterFrame) {
if (_root.char.hitTest(_x, _y, true) && (_currentframe == 2)) {
this.gotoAndPlay(3);
_root.fire = true;
_root.score = 0;
}
}
onClipEvent (enterFrame) {
if (_root.score == 8) {
this.gotoAndStop(2);
}
}
Frame 9
_root.score = 0;
_root.level = 3;
stop();
Instance of Symbol 508 MovieClip in Frame 9
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 508 MovieClip in Frame 9
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 508 MovieClip in Frame 9
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 508 MovieClip in Frame 9
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 508 MovieClip in Frame 9
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 508 MovieClip in Frame 9
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 508 MovieClip in Frame 9
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 508 MovieClip in Frame 9
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 508 MovieClip in Frame 9
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 437 MovieClip "portal" in Frame 9
onClipEvent (enterFrame) {
if (_root.char.hitTest(_x, _y, true) && (_currentframe == 2)) {
this.gotoAndPlay(3);
_root.fire = true;
_root.score = 0;
}
}
onClipEvent (enterFrame) {
if (_root.score == 9) {
this.gotoAndStop(2);
}
}
Frame 10
_root.score = 0;
_root.level = 4;
stop();
Instance of Symbol 516 MovieClip in Frame 10
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 516 MovieClip in Frame 10
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 516 MovieClip in Frame 10
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 516 MovieClip in Frame 10
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 437 MovieClip "portal" in Frame 10
onClipEvent (enterFrame) {
if (_root.char.hitTest(_x, _y, true) && (_currentframe == 2)) {
this.gotoAndPlay(3);
_root.fire = true;
_root.score = 0;
}
}
onClipEvent (enterFrame) {
if (_root.score == 4) {
this.gotoAndStop(2);
}
}
Frame 11
_root.score = 0;
_root.level = 5;
stop();
Instance of Symbol 437 MovieClip "portal" in Frame 11
onClipEvent (enterFrame) {
if (_root.char.hitTest(_x, _y, true) && (_currentframe == 2)) {
this.gotoAndPlay(3);
_root.fire = true;
_root.score = 0;
}
}
onClipEvent (enterFrame) {
if (_root.score == 3) {
this.gotoAndStop(2);
}
}
Frame 12
_root.score = 0;
_root.level = 6;
stop();
Instance of Symbol 548 MovieClip in Frame 12
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 560 MovieClip in Frame 12
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Frame 13
_root.score = 0;
_root.level = 7;
stop();
Instance of Symbol 437 MovieClip "portal" in Frame 13
onClipEvent (enterFrame) {
if (_root.char.hitTest(_x, _y, true) && (_currentframe == 2)) {
_root.gotoAndStop("level");
}
}
onClipEvent (enterFrame) {
if (_root.score == 3) {
this.gotoAndStop(2);
}
}
Instance of Symbol 571 MovieClip "vcam" in Frame 13
onClipEvent (enterFrame) {
this._x = _root.char._x;
if (this._x < -80) {
this._x = -80;
}
}
Instance of Symbol 573 MovieClip in Frame 13
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 13
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 13
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 13
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 437 MovieClip "portal" in Frame 13
onClipEvent (enterFrame) {
if (_root.char.hitTest(_x, _y, true) && (_currentframe == 2)) {
this.gotoAndPlay(3);
_root.fire = true;
_root.score = 0;
}
}
onClipEvent (enterFrame) {
if (_root.score == 4) {
this.gotoAndStop(2);
}
}
Frame 14
stop();
_root.level = 100;
_root.rorl = 0;
Instance of Symbol 483 MovieClip "char" in Frame 14
onClipEvent (load) {
var grav = 0;
gazsound = new Sound(this);
var run = 9;
var wlk = 2.5;
var speed = run;
var jumpHeight = 22;
var dbl = 17;
var tri = 10;
var djump = false;
var thro = false;
var slow = 0.7;
var slowspd = ((speed / 2) - 2);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (!_root.fire) {
grav++;
_y = (_y + grav);
if (Key.isDown(65)) {
setspeed = wlk;
} else {
setspeed = run;
}
while (_root.ground.hitTest(_x, _y, true)) {
djump = false;
tjump = false;
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
grav = grav * (slow * 1.25);
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (djump == false) {
this.gotoAndStop(2);
} else if (tjump == false) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(5);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (djump == false) {
this.gotoAndStop(2);
} else if (tjump == false) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(5);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(68))) && (!Key.isDown(83))) {
if (((!(_currentframe === 7)) && (!(_currentframe === 8))) && (!(_currentframe === 10))) {
this.gotoAndStop(3);
}
}
if (((((Key.isDown(68) && (!Key.isDown(38))) && (!Key.isDown(39))) && (!Key.isDown(37))) && (!Key.isDown(83))) && (_root.ground.hitTest(_x, _y + 3, true))) {
if (!(_currentframe === 8)) {
this.gotoAndStop(8);
}
}
if ((((((Key.isDown(83) && (!Key.isDown(39))) && (!Key.isDown(40))) && (!Key.isDown(50))) && (!Key.isDown(37))) && (!Key.isDown(38))) && (_root.ground.hitTest(_x, _y + 3, true))) {
this.gotoAndStop(7);
} else if (Key.isDown(83) && (grav > 1)) {
this.gotoAndStop(6);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
} else if (((Key.isDown(38) && (djump == false)) && (grav > 0)) && (tjump == false)) {
this.gotoAndStop(4);
} else if ((Key.isDown(68) && (tjump == false)) && (grav > 1)) {
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
if (((_root.jump.hitTest(_x, _y + 1, true) or _root.jump2.hitTest(_x, _y + 1, true)) or _root.jump3.hitTest(_x, _y + 1, true)) or _root.jump4.hitTest(_x, _y + 1, true)) {
grav = -32;
}
if (_root.bossjump.hitTest(_x, _y + 1, true)) {
grav = -24;
}
if (_root.boss.hitTest(_x, _y + 1, true)) {
_root.boss.nextFrame();
}
}
}
onClipEvent (load) {
locked = true;
motion = 5;
}
onClipEvent (enterFrame) {
if (_root.fire == true) {
this.gotoAndStop(10);
}
}
Frame 15
_root.fire = false;
_root.score = 0;
_root.level = 8;
stop();
Instance of Symbol 571 MovieClip "vcam" in Frame 15
onClipEvent (enterFrame) {
this._x = _root.char._x;
if (this._x < -80) {
this._x = -80;
}
}
Instance of Symbol 693 MovieClip in Frame 15
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 693 MovieClip in Frame 15
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 693 MovieClip in Frame 15
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 693 MovieClip in Frame 15
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 437 MovieClip "portal" in Frame 15
onClipEvent (enterFrame) {
if (_root.char.hitTest(_x, _y, true) && (_currentframe == 2)) {
this.gotoAndPlay(3);
_root.fire = true;
_root.score = 0;
}
}
onClipEvent (enterFrame) {
if (_root.score == 4) {
this.gotoAndStop(2);
}
}
Instance of Symbol 483 MovieClip "char" in Frame 15
onClipEvent (load) {
var grav = 0;
gazsound = new Sound(this);
var run = 9;
var wlk = 2.5;
var speed = run;
var jumpHeight = 22;
var dbl = 17;
var tri = 10;
var djump = false;
var thro = false;
var slow = 0.7;
var slowspd = (speed / 2);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (!_root.fire) {
grav++;
_y = (_y + grav);
if (Key.isDown(65)) {
setspeed = wlk;
} else {
setspeed = run;
}
while (_root.ground.hitTest(_x, _y, true)) {
djump = false;
tjump = false;
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
grav = grav * (slow * 1.25);
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (djump == false) {
this.gotoAndStop(2);
} else if (tjump == false) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(5);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (djump == false) {
this.gotoAndStop(2);
} else if (tjump == false) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(5);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(68))) && (!Key.isDown(83))) {
if (((!(_currentframe === 7)) && (!(_currentframe === 8))) && (!(_currentframe === 10))) {
this.gotoAndStop(3);
}
}
if (((((Key.isDown(68) && (!Key.isDown(38))) && (!Key.isDown(39))) && (!Key.isDown(37))) && (!Key.isDown(83))) && (_root.ground.hitTest(_x, _y + 3, true))) {
if (!(_currentframe === 8)) {
this.gotoAndStop(8);
}
}
if ((((((Key.isDown(83) && (!Key.isDown(39))) && (!Key.isDown(40))) && (!Key.isDown(50))) && (!Key.isDown(37))) && (!Key.isDown(38))) && (_root.ground.hitTest(_x, _y + 3, true))) {
this.gotoAndStop(7);
} else if (Key.isDown(83) && (grav > 1)) {
this.gotoAndStop(6);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
} else if (((Key.isDown(38) && (djump == false)) && (grav > 0)) && (tjump == false)) {
this.gotoAndStop(4);
} else if ((Key.isDown(68) && (tjump == false)) && (grav > 1)) {
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
if (((_root.jump.hitTest(_x, _y + 1, true) or _root.jump2.hitTest(_x, _y + 1, true)) or _root.jump3.hitTest(_x, _y + 1, true)) or _root.jump4.hitTest(_x, _y + 1, true)) {
grav = -32;
gazsound.attachSound("boing");
gazsound.start();
}
}
}
onClipEvent (load) {
locked = true;
motion = 5;
}
onClipEvent (enterFrame) {
if (_root.fire == true) {
this.gotoAndStop(10);
}
}
Frame 16
_root.fire = false;
_root.score = 0;
_root.level = 9;
stop();
Instance of Symbol 573 MovieClip in Frame 16
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 16
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 16
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 16
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 16
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 16
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 16
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 16
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 16
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 16
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 16
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 16
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 16
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 16
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 16
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 437 MovieClip "portal" in Frame 16
onClipEvent (enterFrame) {
if (_root.char.hitTest(_x, _y, true) && (_currentframe == 2)) {
this.gotoAndPlay(3);
_root.fire = true;
_root.score = 0;
}
}
onClipEvent (enterFrame) {
if (_root.score == 15) {
this.gotoAndStop(2);
}
}
Instance of Symbol 483 MovieClip "char" in Frame 16
onClipEvent (load) {
var grav = 0;
var run = 9;
gazsound = new Sound(this);
var wlk = 2.5;
var speed = run;
var jumpHeight = 22;
var dbl = 17;
var tri = 10;
var djump = false;
var thro = false;
var slow = 0.7;
var slowspd = (speed / 2);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (!_root.fire) {
grav++;
_y = (_y + grav);
if (Key.isDown(65)) {
setspeed = wlk;
} else {
setspeed = run;
}
while (_root.ground.hitTest(_x, _y, true)) {
djump = false;
tjump = false;
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
grav = grav * (slow * 1.25);
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (djump == false) {
this.gotoAndStop(2);
} else if (tjump == false) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(5);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (djump == false) {
this.gotoAndStop(2);
} else if (tjump == false) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(5);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(68))) && (!Key.isDown(83))) {
if (((!(_currentframe === 7)) && (!(_currentframe === 8))) && (!(_currentframe === 10))) {
this.gotoAndStop(3);
}
}
if (((((Key.isDown(68) && (!Key.isDown(38))) && (!Key.isDown(39))) && (!Key.isDown(37))) && (!Key.isDown(83))) && (_root.ground.hitTest(_x, _y + 3, true))) {
if (!(_currentframe === 8)) {
this.gotoAndStop(8);
}
}
if ((((((Key.isDown(83) && (!Key.isDown(39))) && (!Key.isDown(40))) && (!Key.isDown(50))) && (!Key.isDown(37))) && (!Key.isDown(38))) && (_root.ground.hitTest(_x, _y + 3, true))) {
this.gotoAndStop(7);
} else if (Key.isDown(83) && (grav > 1)) {
this.gotoAndStop(6);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
} else if (((Key.isDown(38) && (djump == false)) && (grav > 0)) && (tjump == false)) {
this.gotoAndStop(4);
} else if ((Key.isDown(68) && (tjump == false)) && (grav > 1)) {
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
if (((_root.jump.hitTest(_x, _y + 1, true) or _root.jump2.hitTest(_x, _y + 1, true)) or _root.jump3.hitTest(_x, _y + 1, true)) or _root.jump4.hitTest(_x, _y + 1, true)) {
grav = -32;
gazsound.attachSound("boing");
gazsound.start();
}
if (_root.brokenjump.hitTest(_x, _y + 1, true)) {
grav = -32;
gazsound.attachSound("boing");
gazsound.start();
_root.brokenjump.nextFrame();
}
if (_root.brokenjump2.hitTest(_x, _y + 1, true)) {
grav = -32;
_root.brokenjump2.nextFrame();
gazsound.attachSound("boing");
gazsound.start();
}
}
}
onClipEvent (load) {
locked = true;
motion = 5;
}
onClipEvent (enterFrame) {
if (_root.fire == true) {
this.gotoAndStop(10);
}
}
Frame 17
_root.fire = false;
_root.score = 0;
_root.level = 10;
stop();
Instance of Symbol 437 MovieClip "portal" in Frame 17
onClipEvent (enterFrame) {
if (_root.char.hitTest(_x, _y, true) && (_currentframe == 2)) {
this.gotoAndPlay(3);
_root.fire = true;
_root.score = 0;
}
}
onClipEvent (enterFrame) {
if (_root.score == 7) {
this.gotoAndStop(2);
}
}
Instance of Symbol 483 MovieClip "char" in Frame 17
onClipEvent (load) {
var grav = 0;
var run = 9;
var wlk = 2.5;
var speed = run;
var jumpHeight = 22;
var dbl = 17;
gazsound = new Sound(this);
var tri = 10;
var djump = false;
var thro = false;
var slow = 0.7;
var slowspd = (speed / 2);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (!_root.fire) {
grav++;
_y = (_y + grav);
if (Key.isDown(65)) {
setspeed = wlk;
} else {
setspeed = run;
}
while (_root.ground.hitTest(_x, _y, true)) {
djump = false;
tjump = false;
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
grav = grav * (slow * 1.25);
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (djump == false) {
this.gotoAndStop(2);
} else if (tjump == false) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(5);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (djump == false) {
this.gotoAndStop(2);
} else if (tjump == false) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(5);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(68))) && (!Key.isDown(83))) {
if (((!(_currentframe === 7)) && (!(_currentframe === 8))) && (!(_currentframe === 10))) {
this.gotoAndStop(3);
}
}
if (((((Key.isDown(68) && (!Key.isDown(38))) && (!Key.isDown(39))) && (!Key.isDown(37))) && (!Key.isDown(83))) && (_root.ground.hitTest(_x, _y + 3, true))) {
if (!(_currentframe === 8)) {
this.gotoAndStop(8);
}
}
if ((((((Key.isDown(83) && (!Key.isDown(39))) && (!Key.isDown(40))) && (!Key.isDown(50))) && (!Key.isDown(37))) && (!Key.isDown(38))) && (_root.ground.hitTest(_x, _y + 3, true))) {
this.gotoAndStop(7);
} else if (Key.isDown(83) && (grav > 1)) {
this.gotoAndStop(6);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
} else if (((Key.isDown(38) && (djump == false)) && (grav > 0)) && (tjump == false)) {
this.gotoAndStop(4);
} else if ((Key.isDown(68) && (tjump == false)) && (grav > 1)) {
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
if (((_root.jump.hitTest(_x, _y + 1, true) or _root.jump2.hitTest(_x, _y + 1, true)) or _root.jump3.hitTest(_x, _y + 1, true)) or _root.jump4.hitTest(_x, _y + 1, true)) {
grav = -32;
gazsound.attachSound("boing");
gazsound.start();
}
if (_root.brokenjump.hitTest(_x, _y + 1, true)) {
grav = -32;
_root.brokenjump.nextFrame();
gazsound.attachSound("boing");
gazsound.start();
}
if (_root.brokenjump2.hitTest(_x, _y + 1, true)) {
grav = -32;
_root.brokenjump2.nextFrame();
gazsound.attachSound("boing");
gazsound.start();
}
if (_root.brokenjump3.hitTest(_x, _y + 1, true)) {
grav = -32;
_root.brokenjump3.nextFrame();
gazsound.attachSound("boing");
gazsound.start();
}
if (_root.brokenjump4.hitTest(_x, _y + 1, true)) {
grav = -32;
_root.brokenjump4.nextFrame();
gazsound.attachSound("boing");
gazsound.start();
}
}
}
onClipEvent (load) {
locked = true;
motion = 5;
}
onClipEvent (enterFrame) {
if (_root.fire == true) {
this.gotoAndStop(10);
}
}
Frame 18
_root.fire = false;
_root.score = 0;
_root.level = 11;
stop();
Instance of Symbol 573 MovieClip in Frame 18
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 18
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 18
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 18
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 18
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 18
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 18
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 18
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 18
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 18
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 18
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 483 MovieClip "char" in Frame 18
onClipEvent (load) {
var grav = 0;
var run = 9;
var wlk = 2.5;
var speed = run;
var jumpHeight = 22;
var dbl = 17;
var tri = 10;
gazsound = new Sound(this);
var djump = false;
var thro = false;
var slow = 0.7;
var slowspd = (speed / 2);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (!_root.fire) {
grav++;
_y = (_y + grav);
if (Key.isDown(65)) {
setspeed = wlk;
} else {
setspeed = run;
}
while (_root.ground.hitTest(_x, _y, true)) {
djump = false;
tjump = false;
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
grav = grav * (slow * 1.25);
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (djump == false) {
this.gotoAndStop(2);
} else if (tjump == false) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(5);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (djump == false) {
this.gotoAndStop(2);
} else if (tjump == false) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(5);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(68))) && (!Key.isDown(83))) {
if (((!(_currentframe === 7)) && (!(_currentframe === 8))) && (!(_currentframe === 10))) {
this.gotoAndStop(3);
}
}
if (((((Key.isDown(68) && (!Key.isDown(38))) && (!Key.isDown(39))) && (!Key.isDown(37))) && (!Key.isDown(83))) && (_root.ground.hitTest(_x, _y + 3, true))) {
if (!(_currentframe === 8)) {
this.gotoAndStop(8);
}
}
if ((((((Key.isDown(83) && (!Key.isDown(39))) && (!Key.isDown(40))) && (!Key.isDown(50))) && (!Key.isDown(37))) && (!Key.isDown(38))) && (_root.ground.hitTest(_x, _y + 3, true))) {
this.gotoAndStop(7);
} else if (Key.isDown(83) && (grav > 1)) {
this.gotoAndStop(6);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
} else if (((Key.isDown(38) && (djump == false)) && (grav > 0)) && (tjump == false)) {
this.gotoAndStop(4);
} else if ((Key.isDown(68) && (tjump == false)) && (grav > 1)) {
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
if (((_root.jump.hitTest(_x, _y + 1, true) or _root.jump2.hitTest(_x, _y + 1, true)) or _root.jump3.hitTest(_x, _y + 1, true)) or _root.jump4.hitTest(_x, _y + 1, true)) {
grav = -32;
gazsound.attachSound("boing");
gazsound.start();
}
if (_root.brokenjump.hitTest(_x, _y + 1, true)) {
grav = -32;
_root.brokenjump.nextFrame();
gazsound.attachSound("boing");
gazsound.start();
}
if (_root.brokenjump2.hitTest(_x, _y + 1, true)) {
grav = -32;
_root.brokenjump2.nextFrame();
gazsound.attachSound("boing");
gazsound.start();
}
if (_root.brokenjump3.hitTest(_x, _y + 1, true)) {
grav = -32;
_root.brokenjump3.nextFrame();
gazsound.attachSound("boing");
gazsound.start();
}
if (_root.brokenjump4.hitTest(_x, _y + 1, true)) {
grav = -32;
_root.brokenjump4.nextFrame();
gazsound.attachSound("boing");
gazsound.start();
}
}
}
onClipEvent (load) {
locked = true;
motion = 5;
}
onClipEvent (enterFrame) {
if (_root.fire == true) {
this.gotoAndStop(10);
}
}
Instance of Symbol 437 MovieClip "portal" in Frame 18
onClipEvent (enterFrame) {
if (_root.char.hitTest(_x, _y, true) && (_currentframe == 2)) {
this.gotoAndPlay(3);
_root.fire = true;
_root.score = 0;
}
}
onClipEvent (enterFrame) {
if (_root.score == 11) {
this.gotoAndStop(2);
}
}
Frame 19
_root.fire = false;
_root.score = 0;
_root.level = 12;
stop();
Instance of Symbol 573 MovieClip in Frame 19
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 19
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 19
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 19
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 19
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 19
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 19
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 19
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 19
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 483 MovieClip "char" in Frame 19
onClipEvent (load) {
var grav = 0;
var run = 9;
var wlk = 2.5;
var speed = run;
var jumpHeight = 22;
gazsound = new Sound(this);
var dbl = 17;
var tri = 10;
var djump = false;
var thro = false;
var slow = 0.7;
var slowspd = (speed / 2);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (!_root.fire) {
grav++;
_y = (_y + grav);
if (Key.isDown(65)) {
setspeed = wlk;
} else {
setspeed = run;
}
while (_root.ground.hitTest(_x, _y, true)) {
djump = false;
tjump = false;
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
grav = grav * (slow * 1.25);
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (djump == false) {
this.gotoAndStop(2);
} else if (tjump == false) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(5);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (djump == false) {
this.gotoAndStop(2);
} else if (tjump == false) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(5);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(68))) && (!Key.isDown(83))) {
if (((!(_currentframe === 7)) && (!(_currentframe === 8))) && (!(_currentframe === 10))) {
this.gotoAndStop(3);
}
}
if (((((Key.isDown(68) && (!Key.isDown(38))) && (!Key.isDown(39))) && (!Key.isDown(37))) && (!Key.isDown(83))) && (_root.ground.hitTest(_x, _y + 3, true))) {
if (!(_currentframe === 8)) {
this.gotoAndStop(8);
}
}
if ((((((Key.isDown(83) && (!Key.isDown(39))) && (!Key.isDown(40))) && (!Key.isDown(50))) && (!Key.isDown(37))) && (!Key.isDown(38))) && (_root.ground.hitTest(_x, _y + 3, true))) {
this.gotoAndStop(7);
} else if (Key.isDown(83) && (grav > 1)) {
this.gotoAndStop(6);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
} else if (((Key.isDown(38) && (djump == false)) && (grav > 0)) && (tjump == false)) {
this.gotoAndStop(4);
} else if ((Key.isDown(68) && (tjump == false)) && (grav > 1)) {
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
if (((_root.jump.hitTest(_x, _y + 1, true) or _root.jump2.hitTest(_x, _y + 1, true)) or _root.jump3.hitTest(_x, _y + 1, true)) or _root.jump4.hitTest(_x, _y + 1, true)) {
grav = -32;
gazsound.attachSound("boing");
gazsound.start();
}
if (_root.jumpwater.hitTest(_x, _y + 1, true)) {
grav = -65;
gazsound.attachSound("boing");
gazsound.start();
}
if (_root.brokenjump.hitTest(_x, _y + 1, true)) {
grav = -32;
_root.brokenjump.nextFrame();
}
if (_root.brokenjump2.hitTest(_x, _y + 1, true)) {
grav = -32;
_root.brokenjump2.nextFrame();
}
if (_root.brokenjump3.hitTest(_x, _y + 1, true)) {
grav = -32;
_root.brokenjump3.nextFrame();
}
if (_root.brokenjump4.hitTest(_x, _y + 1, true)) {
grav = -32;
_root.brokenjump4.nextFrame();
}
}
}
onClipEvent (load) {
locked = true;
motion = 5;
}
onClipEvent (enterFrame) {
if (_root.fire == true) {
this.gotoAndStop(10);
}
}
Instance of Symbol 437 MovieClip "portal" in Frame 19
onClipEvent (enterFrame) {
if (_root.char.hitTest(_x, _y, true) && (_currentframe == 2)) {
this.gotoAndPlay(3);
_root.fire = true;
_root.score = 0;
}
}
onClipEvent (enterFrame) {
if (_root.score == 15) {
this.gotoAndStop(2);
}
}
Frame 20
_root.score = 0;
_root.rorl = 0;
stop();
Instance of Symbol 483 MovieClip "char" in Frame 20
onClipEvent (load) {
var grav = 0;
var run = 9;
var wlk = 2.5;
var speed = run;
var jumpHeight = 22;
var dbl = 17;
var tri = 10;
var djump = false;
var thro = false;
var slow = 0.7;
var slowspd = (speed / 2);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (!_root.fire) {
grav++;
_y = (_y + grav);
if (Key.isDown(65)) {
setspeed = wlk;
} else {
setspeed = run;
}
while (_root.ground.hitTest(_x, _y, true)) {
djump = false;
tjump = false;
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
grav = grav * (slow * 1.25);
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (djump == false) {
this.gotoAndStop(2);
} else if (tjump == false) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(5);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (djump == false) {
this.gotoAndStop(2);
} else if (tjump == false) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(5);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(68))) && (!Key.isDown(83))) {
if (((!(_currentframe === 7)) && (!(_currentframe === 8))) && (!(_currentframe === 10))) {
this.gotoAndStop(3);
}
}
if (((((Key.isDown(68) && (!Key.isDown(38))) && (!Key.isDown(39))) && (!Key.isDown(37))) && (!Key.isDown(83))) && (_root.ground.hitTest(_x, _y + 3, true))) {
if (!(_currentframe === 8)) {
this.gotoAndStop(8);
}
}
if ((((((Key.isDown(83) && (!Key.isDown(39))) && (!Key.isDown(40))) && (!Key.isDown(50))) && (!Key.isDown(37))) && (!Key.isDown(38))) && (_root.ground.hitTest(_x, _y + 3, true))) {
this.gotoAndStop(7);
} else if (Key.isDown(83) && (grav > 1)) {
this.gotoAndStop(6);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
} else if (((Key.isDown(38) && (djump == false)) && (grav > 0)) && (tjump == false)) {
this.gotoAndStop(4);
} else if ((Key.isDown(68) && (tjump == false)) && (grav > 1)) {
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
if (((_root.jump.hitTest(_x, _y + 1, true) or _root.jump2.hitTest(_x, _y + 1, true)) or _root.jump3.hitTest(_x, _y + 1, true)) or _root.jump4.hitTest(_x, _y + 1, true)) {
grav = -32;
}
if (_root.brokenjump.hitTest(_x, _y + 1, true)) {
grav = -32;
_root.brokenjump.nextFrame();
}
if (_root.brokenjump2.hitTest(_x, _y + 1, true)) {
grav = -32;
_root.brokenjump2.nextFrame();
}
if (_root.brokenjump3.hitTest(_x, _y + 1, true)) {
grav = -32;
_root.brokenjump3.nextFrame();
}
if (_root.brokenjump4.hitTest(_x, _y + 1, true)) {
grav = -32;
_root.brokenjump4.nextFrame();
}
}
}
onClipEvent (load) {
locked = true;
motion = 5;
}
onClipEvent (enterFrame) {
if (_root.fire == true) {
this.gotoAndStop(11);
}
}
Frame 21
_root.fire = false;
_root.score = 0;
_root.level = 13;
stop();
Instance of Symbol 571 MovieClip "vcam" in Frame 21
onClipEvent (enterFrame) {
this._x = _root.char._x;
if (this._x < -80) {
this._x = -80;
}
}
Instance of Symbol 573 MovieClip in Frame 21
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 21
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 21
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 21
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 21
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 21
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 21
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 21
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 21
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 21
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 21
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 21
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 21
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 21
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 21
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 21
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 21
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 21
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 21
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 21
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 21
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 437 MovieClip "portal" in Frame 21
onClipEvent (enterFrame) {
if (_root.char.hitTest(_x, _y, true) && (_currentframe == 2)) {
this.gotoAndPlay(3);
_root.fire = true;
_root.score = 0;
}
}
onClipEvent (enterFrame) {
if (_root.score == 21) {
this.gotoAndStop(2);
}
}
Instance of Symbol 483 MovieClip "char" in Frame 21
onClipEvent (load) {
var grav = 0;
var run = 9;
var wlk = 2.5;
var speed = run;
var jumpHeight = 22;
var dbl = 17;
var tri = 10;
gazsound = new Sound(this);
var djump = false;
var thro = false;
var slow = 0.7;
var slowspd = (speed / 2);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (!_root.fire) {
grav++;
_y = (_y + grav);
if (Key.isDown(65)) {
setspeed = wlk;
} else {
setspeed = run;
}
while (_root.ground.hitTest(_x, _y, true)) {
djump = false;
tjump = false;
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
grav = grav * (slow * 1.25);
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (djump == false) {
this.gotoAndStop(2);
} else if (tjump == false) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(5);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (djump == false) {
this.gotoAndStop(2);
} else if (tjump == false) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(5);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(68))) && (!Key.isDown(83))) {
if (((!(_currentframe === 7)) && (!(_currentframe === 8))) && (!(_currentframe === 10))) {
this.gotoAndStop(3);
}
}
if (((((Key.isDown(68) && (!Key.isDown(38))) && (!Key.isDown(39))) && (!Key.isDown(37))) && (!Key.isDown(83))) && (_root.ground.hitTest(_x, _y + 3, true))) {
if (!(_currentframe === 8)) {
this.gotoAndStop(8);
}
}
if ((((((Key.isDown(83) && (!Key.isDown(39))) && (!Key.isDown(40))) && (!Key.isDown(50))) && (!Key.isDown(37))) && (!Key.isDown(38))) && (_root.ground.hitTest(_x, _y + 3, true))) {
this.gotoAndStop(7);
} else if (Key.isDown(83) && (grav > 1)) {
this.gotoAndStop(6);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
} else if (((Key.isDown(38) && (djump == false)) && (grav > 0)) && (tjump == false)) {
this.gotoAndStop(4);
} else if ((Key.isDown(68) && (tjump == false)) && (grav > 1)) {
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
if (((_root.jump.hitTest(_x, _y + 1, true) or _root.jump2.hitTest(_x, _y + 1, true)) or _root.jump3.hitTest(_x, _y + 1, true)) or _root.jump4.hitTest(_x, _y + 1, true)) {
grav = -32;
gazsound.attachSound("boing");
gazsound.start();
}
if (_root.jumpwater.hitTest(_x, _y + 1, true)) {
grav = -65;
}
if (_root.brokenjump.hitTest(_x, _y + 1, true)) {
grav = -32;
_root.brokenjump.nextFrame();
gazsound.attachSound("boing");
gazsound.start();
}
if (_root.brokenjump2.hitTest(_x, _y + 1, true)) {
grav = -32;
_root.brokenjump2.nextFrame();
gazsound.attachSound("boing");
gazsound.start();
}
if (_root.brokenjump3.hitTest(_x, _y + 1, true)) {
grav = -32;
_root.brokenjump3.nextFrame();
}
if (_root.brokenjump4.hitTest(_x, _y + 1, true)) {
grav = -32;
_root.brokenjump4.nextFrame();
}
}
}
onClipEvent (load) {
locked = true;
motion = 5;
}
onClipEvent (enterFrame) {
if (_root.fire == true) {
this.gotoAndStop(10);
}
}
Frame 22
_root.fire = false;
_root.score = 0;
_root.level = 14;
stop();
Instance of Symbol 437 MovieClip "portal" in Frame 22
onClipEvent (enterFrame) {
if (_root.char.hitTest(_x, _y, true) && (_currentframe == 2)) {
this.gotoAndPlay(3);
_root.fire = true;
_root.score = 0;
}
}
onClipEvent (enterFrame) {
if (_root.score == 7) {
this.gotoAndStop(2);
}
}
Instance of Symbol 483 MovieClip "char" in Frame 22
onClipEvent (load) {
var grav = 0;
var run = 9;
var wlk = 2.5;
var speed = run;
var jumpHeight = 22;
var dbl = 17;
gazsound = new Sound(this);
var tri = 10;
var djump = false;
var thro = false;
var slow = 0.7;
var slowspd = (speed / 2);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (!_root.fire) {
grav++;
_y = (_y + grav);
if (Key.isDown(65)) {
setspeed = wlk;
} else {
setspeed = run;
}
while (_root.ground.hitTest(_x, _y, true)) {
djump = false;
tjump = false;
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
grav = grav * (slow * 1.25);
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (djump == false) {
this.gotoAndStop(2);
} else if (tjump == false) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(5);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (djump == false) {
this.gotoAndStop(2);
} else if (tjump == false) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(5);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(68))) && (!Key.isDown(83))) {
if (((!(_currentframe === 7)) && (!(_currentframe === 8))) && (!(_currentframe === 10))) {
this.gotoAndStop(3);
}
}
if (((((Key.isDown(68) && (!Key.isDown(38))) && (!Key.isDown(39))) && (!Key.isDown(37))) && (!Key.isDown(83))) && (_root.ground.hitTest(_x, _y + 3, true))) {
if (!(_currentframe === 8)) {
this.gotoAndStop(8);
}
}
if ((((((Key.isDown(83) && (!Key.isDown(39))) && (!Key.isDown(40))) && (!Key.isDown(50))) && (!Key.isDown(37))) && (!Key.isDown(38))) && (_root.ground.hitTest(_x, _y + 3, true))) {
this.gotoAndStop(7);
} else if (Key.isDown(83) && (grav > 1)) {
this.gotoAndStop(6);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
} else if (((Key.isDown(38) && (djump == false)) && (grav > 0)) && (tjump == false)) {
this.gotoAndStop(4);
} else if ((Key.isDown(68) && (tjump == false)) && (grav > 1)) {
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
if (((_root.jump.hitTest(_x, _y + 1, true) or _root.jump2.hitTest(_x, _y + 1, true)) or _root.jump3.hitTest(_x, _y + 1, true)) or _root.jump4.hitTest(_x, _y + 1, true)) {
grav = -32;
gazsound.attachSound("boing");
gazsound.start();
}
if (_root.jumpwater.hitTest(_x, _y + 1, true)) {
grav = -65;
}
if (_root.brokenjump.hitTest(_x, _y + 1, true)) {
grav = -32;
_root.brokenjump.nextFrame();
}
if (_root.brokenjump2.hitTest(_x, _y + 1, true)) {
grav = -32;
_root.brokenjump2.nextFrame();
}
if (_root.brokenjump3.hitTest(_x, _y + 1, true)) {
grav = -32;
_root.brokenjump3.nextFrame();
}
if (_root.brokenjump4.hitTest(_x, _y + 1, true)) {
grav = -32;
_root.brokenjump4.nextFrame();
}
}
}
onClipEvent (load) {
locked = true;
motion = 5;
}
onClipEvent (enterFrame) {
if (_root.fire == true) {
this.gotoAndStop(10);
}
}
Frame 23
_root.fire = false;
_root.score = 0;
_root.level = 15;
stop();
Instance of Symbol 573 MovieClip in Frame 23
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 23
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 23
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 23
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 437 MovieClip "portal" in Frame 23
onClipEvent (enterFrame) {
if (_root.char.hitTest(_x, _y, true) && (_currentframe == 2)) {
this.gotoAndPlay(3);
_root.fire = true;
_root.score = 0;
}
}
onClipEvent (enterFrame) {
if (_root.score == 11) {
this.gotoAndStop(2);
}
}
Instance of Symbol 483 MovieClip "char" in Frame 23
onClipEvent (load) {
var grav = 0;
var run = 9;
var wlk = 2.5;
var speed = run;
var jumpHeight = 22;
gazsound = new Sound(this);
var dbl = 17;
var tri = 10;
var djump = false;
var thro = false;
var slow = 0.7;
var slowspd = (speed / 2);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (!_root.fire) {
grav++;
_y = (_y + grav);
if (Key.isDown(65)) {
setspeed = wlk;
} else {
setspeed = run;
}
while (_root.ground.hitTest(_x, _y, true)) {
djump = false;
tjump = false;
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
grav = grav * (slow * 1.25);
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (djump == false) {
this.gotoAndStop(2);
} else if (tjump == false) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(5);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (djump == false) {
this.gotoAndStop(2);
} else if (tjump == false) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(5);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(68))) && (!Key.isDown(83))) {
if (((!(_currentframe === 7)) && (!(_currentframe === 8))) && (!(_currentframe === 10))) {
this.gotoAndStop(3);
}
}
if (((((Key.isDown(68) && (!Key.isDown(38))) && (!Key.isDown(39))) && (!Key.isDown(37))) && (!Key.isDown(83))) && (_root.ground.hitTest(_x, _y + 3, true))) {
if (!(_currentframe === 8)) {
this.gotoAndStop(8);
}
}
if ((((((Key.isDown(83) && (!Key.isDown(39))) && (!Key.isDown(40))) && (!Key.isDown(50))) && (!Key.isDown(37))) && (!Key.isDown(38))) && (_root.ground.hitTest(_x, _y + 3, true))) {
this.gotoAndStop(7);
} else if (Key.isDown(83) && (grav > 1)) {
this.gotoAndStop(6);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
} else if (((Key.isDown(38) && (djump == false)) && (grav > 0)) && (tjump == false)) {
this.gotoAndStop(4);
} else if ((Key.isDown(68) && (tjump == false)) && (grav > 1)) {
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
if (((_root.jump.hitTest(_x, _y + 1, true) or _root.jump2.hitTest(_x, _y + 1, true)) or _root.jump3.hitTest(_x, _y + 1, true)) or _root.jump4.hitTest(_x, _y + 1, true)) {
grav = -32;
gazsound.attachSound("boing");
gazsound.start();
}
if (_root.jumpwater.hitTest(_x, _y + 1, true)) {
grav = -65;
}
if (_root.brokenjump.hitTest(_x, _y + 1, true)) {
grav = -32;
_root.brokenjump.nextFrame();
}
if (_root.brokenjump2.hitTest(_x, _y + 1, true)) {
grav = -32;
_root.brokenjump2.nextFrame();
}
if (_root.brokenjump3.hitTest(_x, _y + 1, true)) {
grav = -32;
_root.brokenjump3.nextFrame();
}
if (_root.brokenjump4.hitTest(_x, _y + 1, true)) {
grav = -32;
_root.brokenjump4.nextFrame();
}
}
}
onClipEvent (load) {
locked = true;
motion = 5;
}
onClipEvent (enterFrame) {
if (_root.fire == true) {
this.gotoAndStop(10);
}
}
Frame 24
_root.fire = false;
_root.score = 0;
_root.level = 16;
stop();
Instance of Symbol 573 MovieClip in Frame 24
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 24
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 24
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 24
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 24
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 24
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 24
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 24
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 24
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 24
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 24
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 24
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 24
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 24
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 437 MovieClip "portal" in Frame 24
onClipEvent (enterFrame) {
if (_root.char.hitTest(_x, _y, true) && (_currentframe == 2)) {
this.gotoAndPlay(3);
_root.fire = true;
_root.score = 0;
}
}
onClipEvent (enterFrame) {
if (_root.score == 14) {
this.gotoAndStop(2);
}
}
Instance of Symbol 483 MovieClip "char" in Frame 24
onClipEvent (load) {
var grav = 0;
var run = 9;
var wlk = 2.5;
var speed = run;
var jumpHeight = 22;
var dbl = 17;
gazsound = new Sound(this);
var tri = 10;
var djump = false;
var thro = false;
var slow = 0.7;
var slowspd = (speed / 2);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (!_root.fire) {
grav++;
_y = (_y + grav);
if (Key.isDown(65)) {
setspeed = wlk;
} else {
setspeed = run;
}
while (_root.ground.hitTest(_x, _y, true)) {
djump = false;
tjump = false;
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
grav = grav * (slow * 1.25);
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (djump == false) {
this.gotoAndStop(2);
} else if (tjump == false) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(5);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (djump == false) {
this.gotoAndStop(2);
} else if (tjump == false) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(5);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(68))) && (!Key.isDown(83))) {
if (((!(_currentframe === 7)) && (!(_currentframe === 8))) && (!(_currentframe === 10))) {
this.gotoAndStop(3);
}
}
if (((((Key.isDown(68) && (!Key.isDown(38))) && (!Key.isDown(39))) && (!Key.isDown(37))) && (!Key.isDown(83))) && (_root.ground.hitTest(_x, _y + 3, true))) {
if (!(_currentframe === 8)) {
this.gotoAndStop(8);
}
}
if ((((((Key.isDown(83) && (!Key.isDown(39))) && (!Key.isDown(40))) && (!Key.isDown(50))) && (!Key.isDown(37))) && (!Key.isDown(38))) && (_root.ground.hitTest(_x, _y + 3, true))) {
this.gotoAndStop(7);
} else if (Key.isDown(83) && (grav > 1)) {
this.gotoAndStop(6);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
} else if (((Key.isDown(38) && (djump == false)) && (grav > 0)) && (tjump == false)) {
this.gotoAndStop(4);
} else if ((Key.isDown(68) && (tjump == false)) && (grav > 1)) {
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
if (((_root.jump.hitTest(_x, _y + 1, true) or _root.jump2.hitTest(_x, _y + 1, true)) or _root.jump3.hitTest(_x, _y + 1, true)) or _root.jump4.hitTest(_x, _y + 1, true)) {
grav = -32;
gazsound.attachSound("boing");
gazsound.start();
}
if (_root.jumpwater.hitTest(_x, _y + 1, true)) {
grav = -65;
}
if (_root.brokenjump.hitTest(_x, _y + 1, true)) {
grav = -32;
_root.brokenjump.nextFrame();
}
if (_root.brokenjump2.hitTest(_x, _y + 1, true)) {
grav = -32;
_root.brokenjump2.nextFrame();
}
if (_root.brokenjump3.hitTest(_x, _y + 1, true)) {
grav = -32;
_root.brokenjump3.nextFrame();
}
if (_root.brokenjump4.hitTest(_x, _y + 1, true)) {
grav = -32;
_root.brokenjump4.nextFrame();
}
}
}
onClipEvent (load) {
locked = true;
motion = 5;
}
onClipEvent (enterFrame) {
if (_root.fire == true) {
this.gotoAndStop(10);
}
}
Frame 25
_root.fire = false;
_root.score = 0;
_root.level = 17;
stop();
Instance of Symbol 573 MovieClip in Frame 25
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 25
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 437 MovieClip "portal" in Frame 25
onClipEvent (enterFrame) {
if (_root.char.hitTest(_x, _y, true) && (_currentframe == 2)) {
this.gotoAndPlay(3);
_root.fire = true;
_root.score = 0;
}
}
onClipEvent (enterFrame) {
if (_root.score == 16) {
this.gotoAndStop(2);
}
}
Instance of Symbol 483 MovieClip "char" in Frame 25
onClipEvent (load) {
var grav = 0;
var run = 9;
var wlk = 2.5;
var speed = run;
var jumpHeight = 22;
var dbl = 17;
var tri = 10;
gazsound = new Sound(this);
var djump = false;
var thro = false;
var slow = 0.7;
var slowspd = (speed / 2);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (!_root.fire) {
grav++;
_y = (_y + grav);
if (Key.isDown(65)) {
setspeed = wlk;
} else {
setspeed = run;
}
while (_root.ground.hitTest(_x, _y, true)) {
djump = false;
tjump = false;
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
grav = grav * (slow * 1.25);
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (djump == false) {
this.gotoAndStop(2);
} else if (tjump == false) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(5);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (djump == false) {
this.gotoAndStop(2);
} else if (tjump == false) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(5);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(68))) && (!Key.isDown(83))) {
if (((!(_currentframe === 7)) && (!(_currentframe === 8))) && (!(_currentframe === 10))) {
this.gotoAndStop(3);
}
}
if (((((Key.isDown(68) && (!Key.isDown(38))) && (!Key.isDown(39))) && (!Key.isDown(37))) && (!Key.isDown(83))) && (_root.ground.hitTest(_x, _y + 3, true))) {
if (!(_currentframe === 8)) {
this.gotoAndStop(8);
}
}
if ((((((Key.isDown(83) && (!Key.isDown(39))) && (!Key.isDown(40))) && (!Key.isDown(50))) && (!Key.isDown(37))) && (!Key.isDown(38))) && (_root.ground.hitTest(_x, _y + 3, true))) {
this.gotoAndStop(7);
} else if (Key.isDown(83) && (grav > 1)) {
this.gotoAndStop(6);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
} else if (((Key.isDown(38) && (djump == false)) && (grav > 0)) && (tjump == false)) {
this.gotoAndStop(4);
} else if ((Key.isDown(68) && (tjump == false)) && (grav > 1)) {
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
if (((_root.jump.hitTest(_x, _y + 1, true) or _root.jump2.hitTest(_x, _y + 1, true)) or _root.jump3.hitTest(_x, _y + 1, true)) or _root.jump4.hitTest(_x, _y + 1, true)) {
grav = -32;
gazsound.attachSound("boing");
gazsound.start();
}
if (_root.jumpwater.hitTest(_x, _y + 1, true)) {
grav = -65;
}
if (_root.brokenjump.hitTest(_x, _y + 1, true)) {
grav = -32;
_root.brokenjump.nextFrame();
}
if (_root.brokenjump2.hitTest(_x, _y + 1, true)) {
grav = -32;
_root.brokenjump2.nextFrame();
}
if (_root.brokenjump3.hitTest(_x, _y + 1, true)) {
grav = -32;
_root.brokenjump3.nextFrame();
}
if (_root.brokenjump4.hitTest(_x, _y + 1, true)) {
grav = -32;
_root.brokenjump4.nextFrame();
}
}
}
onClipEvent (load) {
locked = true;
motion = 5;
}
onClipEvent (enterFrame) {
if (_root.fire == true) {
this.gotoAndStop(10);
}
}
Frame 26
_root.fire = false;
_root.score = 0;
_root.level = 18;
stop();
Instance of Symbol 437 MovieClip "portal" in Frame 26
onClipEvent (enterFrame) {
if (_root.char.hitTest(_x, _y, true) && (_currentframe == 2)) {
this.gotoAndPlay(3);
_root.fire = true;
_root.score = 0;
}
}
onClipEvent (enterFrame) {
if (_root.score == 20) {
this.gotoAndStop(2);
}
}
Instance of Symbol 573 MovieClip in Frame 26
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 26
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 26
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 26
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 26
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 26
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 573 MovieClip in Frame 26
onClipEvent (load) {
_root.char.energyneeded = _root.char.energyneeded + 1;
X = 0;
Y = 0;
radius = _width / 2;
}
onClipEvent (enterFrame) {
i = 0;
while (i < 360) {
X = (Math.cos(i * (Math.PI/180)) * radius) + _x;
Y = (Math.sin(i * (Math.PI/180)) * radius) + _y;
if (_root.char.hitTest(X, Y, true) && (_currentframe == 1)) {
_root.char.energy = _root.char.energy + 1;
gotoAndStop (2);
}
i = i + 20;
}
}
Instance of Symbol 483 MovieClip "char" in Frame 26
onClipEvent (load) {
var grav = 0;
var run = 9;
var wlk = 2.5;
var speed = run;
var jumpHeight = 22;
gazsound = new Sound(this);
var dbl = 17;
var tri = 10;
var djump = false;
var thro = false;
var slow = 0.7;
var slowspd = (speed / 2);
var setspeed = speed;
var scale = _xscale;
var ex = 5;
this.gotoAndStop(2);
}
onClipEvent (enterFrame) {
if (!_root.fire) {
grav++;
_y = (_y + grav);
if (Key.isDown(65)) {
setspeed = wlk;
} else {
setspeed = run;
}
while (_root.ground.hitTest(_x, _y, true)) {
djump = false;
tjump = false;
_y = (_y-1);
grav = 0;
}
if (_root.water.hitTest(_x, _y, true)) {
grav = grav * (slow * 1.25);
speed = slowspd;
} else {
speed = setspeed;
}
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = scale;
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (djump == false) {
this.gotoAndStop(2);
} else if (tjump == false) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(5);
}
} else if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = (-scale);
if (_root.ground.hitTest(_x, _y + 3, true)) {
this.gotoAndStop(1);
} else if (djump == false) {
this.gotoAndStop(2);
} else if (tjump == false) {
this.gotoAndStop(4);
} else {
this.gotoAndStop(5);
}
} else if ((_root.ground.hitTest(_x, _y + 3, true) && (!Key.isDown(68))) && (!Key.isDown(83))) {
if (((!(_currentframe === 7)) && (!(_currentframe === 8))) && (!(_currentframe === 10))) {
this.gotoAndStop(3);
}
}
if (((((Key.isDown(68) && (!Key.isDown(38))) && (!Key.isDown(39))) && (!Key.isDown(37))) && (!Key.isDown(83))) && (_root.ground.hitTest(_x, _y + 3, true))) {
if (!(_currentframe === 8)) {
this.gotoAndStop(8);
}
}
if ((((((Key.isDown(83) && (!Key.isDown(39))) && (!Key.isDown(40))) && (!Key.isDown(50))) && (!Key.isDown(37))) && (!Key.isDown(38))) && (_root.ground.hitTest(_x, _y + 3, true))) {
this.gotoAndStop(7);
} else if (Key.isDown(83) && (grav > 1)) {
this.gotoAndStop(6);
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 3, true))) {
grav = -jumpHeight;
_y = (_y - 4);
this.gotoAndStop(2);
} else if (((Key.isDown(38) && (djump == false)) && (grav > 0)) && (tjump == false)) {
this.gotoAndStop(4);
} else if ((Key.isDown(68) && (tjump == false)) && (grav > 1)) {
}
if ((_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x + (_width / 2)) + ex, _y - _height, true))) {
_x = (_x - speed);
}
if ((_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 2), true) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - (_height / 6), true))) || (_root.ground.hitTest((_x - (_width / 2)) - ex, _y - _height, true))) {
_x = (_x + speed);
}
if (_root.ground.hitTest(_x, (_y - _height) - 15, true)) {
grav = 1;
}
if (((_root.jump.hitTest(_x, _y + 1, true) or _root.jump2.hitTest(_x, _y + 1, true)) or _root.jump3.hitTest(_x, _y + 1, true)) or _root.jump4.hitTest(_x, _y + 1, true)) {
grav = -32;
gazsound.attachSound("boing");
gazsound.start();
}
if (_root.jumpwater.hitTest(_x, _y + 1, true)) {
grav = -65;
}
if (_root.brokenjump.hitTest(_x, _y + 1, true)) {
grav = -32;
_root.brokenjump.nextFrame();
}
if (_root.brokenjump2.hitTest(_x, _y + 1, true)) {
grav = -32;
_root.brokenjump2.nextFrame();
}
if (_root.brokenjump3.hitTest(_x, _y + 1, true)) {
grav = -32;
_root.brokenjump3.nextFrame();
}
if (_root.brokenjump4.hitTest(_x, _y + 1, true)) {
grav = -32;
_root.brokenjump4.nextFrame();
}
}
}
onClipEvent (load) {
locked = true;
motion = 5;
}
onClipEvent (enterFrame) {
if (_root.fire == true) {
this.gotoAndStop(10);
}
}
Frame 27
_root.fire = false;
_root.score = 0;
stop();
Instance of Symbol 994 MovieClip in Frame 27
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.char.thing._y - this._y, _root.char.thing._x - this._x);
myDegrees = Math.round((myRadians * 0) / Math.PI);
_root.xChange = Math.round(_root.char._x - this._x);
_root.xMove = Math.round(_root.xChange / 20);
this._x = this._x + _root.xMove;
this._rotation = myDegrees + 90;
}
Instance of Symbol 1008 MovieClip "finalbossbar" in Frame 27
onClipEvent (enterFrame) {
if (_root.life == 15) {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.life == 14) {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.life == 13) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.life == 12) {
this.gotoAndStop(4);
}
}
onClipEvent (enterFrame) {
if (_root.life == 11) {
this.gotoAndStop(5);
}
}
onClipEvent (enterFrame) {
if (_root.life == 10) {
this.gotoAndStop(6);
}
}
onClipEvent (enterFrame) {
if (_root.life == 9) {
this.gotoAndStop(7);
}
}
onClipEvent (enterFrame) {
if (_root.life == 8) {
this.gotoAndStop(8);
}
}
onClipEvent (enterFrame) {
if (_root.life == 7) {
this.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (_root.life == 6) {
this.gotoAndStop(10);
}
}
onClipEvent (enterFrame) {
if (_root.life == 5) {
this.gotoAndStop(11);
}
}
onClipEvent (enterFrame) {
if (_root.life == 4) {
this.gotoAndStop(12);
}
}
onClipEvent (enterFrame) {
if (_root.life == 3) {
this.gotoAndStop(13);
}
}
onClipEvent (enterFrame) {
if (_root.life == 2) {
this.gotoAndStop(14);
}
}
onClipEvent (enterFrame) {
if (_root.life == 1) {
this.gotoAndStop(15);
}
}
Frame 28
_root.fire = false;
_root.score = 0;
stop();
Frame 29
stopAllSounds();
_root.fire = false;
_root.score = 0;
stop();
Instance of Symbol 158 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.char._x = -50;
_root.char._y = 40;
_root.life = _root.life - 1;
_root.lifeleft.play();
}
}
Symbol 28 MovieClip Frame 11
_parent.gotoAndStop(2);
Symbol 38 MovieClip Frame 1
this.onEnterFrame = function () {
bytesloaded = Math.round(_root.getBytesLoaded());
bytestotal = Math.round(_root.getBytesTotal());
percent = bytesloaded / bytestotal;
barmask._xscale = percent * 100;
};
Symbol 70 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 70 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 81 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 81 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 89 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 89 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 97 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 97 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 105 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 105 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 113 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 113 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 121 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 121 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.nextFrame();
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 129 MovieClip Frame 1
if (Math.random() > 0.5) {
_xscale = (-_xscale);
_x = (_x - _parent.shiftamt);
}
Symbol 129 MovieClip Frame 90
if (_parent.isloaded) {
_parent.gotoAndStop(10);
} else {
thenextframe = Math.ceil(Math.random() * 8) + 1;
if (thenextframe == _parent._currentframe) {
_parent.gotoAndStop(2);
} else {
_parent.gotoAndStop(thenextframe);
}
}
Symbol 136 MovieClip Frame 133
_root.play();
Symbol 137 MovieClip Frame 1
stop();
_root.stop();
shiftamt = 17;
isloaded = false;
this.onEnterFrame = function () {
bytesloaded = Math.round(_root.getBytesLoaded());
bytestotal = Math.round(_root.getBytesTotal());
percent = bytesloaded / bytestotal;
if (bytesloaded == bytestotal) {
isloaded = true;
}
};
this.onRelease = function () {
getURL ("http://www.mofunzone.com/", "_blank");
};
Symbol 154 MovieClip Frame 143
_root.nextFrame();
Symbol 172 MovieClip Frame 65
stop();
Symbol 175 Button
on (press) {
_root.gotoAndStop("scene");
stopAllSounds();
}
Symbol 189 Button
on (release) {
getURL ("http://www.mofunzone.com/", "_blank");
}
Symbol 190 MovieClip Frame 405
gotoAndPlay (1);
Symbol 196 Button
on (release) {
getURL ("http://www.mofunzone.com/", "_blank");
}
Symbol 210 Button
on (press) {
if (_root.level == 1) {
gotoAndStop ("lvl2");
}
_root.fire = false;
}
on (press) {
if (_root.level == 2) {
gotoAndStop ("lvl3");
}
_root.fire = false;
}
on (press) {
if (_root.level == 3) {
gotoAndStop ("lvl4");
}
_root.fire = false;
}
on (press) {
if (_root.level == 4) {
gotoAndStop ("lvl5");
}
_root.fire = false;
}
on (press) {
if (_root.level == 5) {
gotoAndStop ("lvl6");
}
_root.fire = false;
}
on (press) {
if (_root.level == 6) {
gotoAndStop ("lvl7");
}
_root.fire = false;
}
on (press) {
if (_root.level == 7) {
gotoAndStop ("boss");
}
_root.fire = false;
}
on (press) {
if (_root.level == 100) {
gotoAndStop ("lvl8");
}
_root.fire = false;
}
on (press) {
if (_root.level == 8) {
gotoAndStop ("lvl9");
}
_root.fire = false;
}
on (press) {
if (_root.level == 9) {
gotoAndStop ("lvl10");
}
_root.fire = false;
}
on (press) {
if (_root.level == 10) {
gotoAndStop ("lvl11");
}
_root.fire = false;
}
on (press) {
if (_root.level == 11) {
gotoAndStop ("lvl12");
}
_root.fire = false;
}
on (press) {
if (_root.level == 12) {
gotoAndStop ("boss2");
}
_root.fire = false;
}
on (press) {
if (_root.level == 13) {
gotoAndStop ("lvl14");
}
_root.fire = false;
}
on (press) {
if (_root.level == 14) {
gotoAndStop ("lvl15");
}
_root.fire = false;
}
on (press) {
if (_root.level == 15) {
gotoAndStop ("lvl16");
}
_root.fire = false;
}
on (press) {
if (_root.level == 16) {
gotoAndStop ("lvl17");
}
_root.fire = false;
}
on (press) {
if (_root.level == 17) {
gotoAndStop ("lvl18");
}
_root.fire = false;
}
on (press) {
if (_root.level == 18) {
gotoAndStop ("finalboss");
}
_root.fire = false;
}
Symbol 213 MovieClip Frame 9
stop();
Symbol 292 MovieClip Frame 1
stopAllSounds();
Symbol 292 MovieClip Frame 421
_root.gotoAndStop("prevlvl");
Symbol 294 Button
on (press) {
_root.gotoAndStop("prevlvl");
}
Symbol 312 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
parentColor.setTransform(camColor.getTransform());
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Symbol 323 MovieClip Frame 1
stop();
Symbol 323 MovieClip Frame 2
stop();
Symbol 323 MovieClip Frame 3
play();
Symbol 323 MovieClip Frame 77
_root.gotoAndStop("done");
Symbol 325 MovieClip Frame 1
stop();
if (_root.char.hitTest(_x, _y, true)) {
this.gotoAndStop(2);
_root.char.energy = _root.char.energy + 1;
}
Symbol 325 MovieClip Frame 2
_root.score = _root.score + 1;
Symbol 352 Button
on (press) {
nextFrame();
}
Symbol 374 MovieClip Frame 406
stop();
Symbol 374 MovieClip Frame 407
stop();
Symbol 374 MovieClip Frame 408
stop();
Symbol 374 MovieClip Frame 409
stop();
Symbol 374 MovieClip Frame 410
stop();
Symbol 374 MovieClip Frame 411
stop();
Symbol 374 MovieClip Frame 412
stop();
Symbol 374 MovieClip Frame 413
stop();
Symbol 374 MovieClip Frame 414
_root.gotoAndStop("lvl1");
play();
Symbol 374 MovieClip Frame 453
stop();
Symbol 390 MovieClip Frame 955
stop();
Symbol 392 Button
on (press) {
_root.gotoAndStop("lvl1");
}
Symbol 420 MovieClip Frame 1
stop();
Symbol 422 MovieClip Frame 1
stop();
Instance of Symbol 420 MovieClip in Symbol 422 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.life == 15) {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.life == 14) {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.life == 13) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if (_root.life == 12) {
this.gotoAndStop(4);
}
}
onClipEvent (enterFrame) {
if (_root.life == 11) {
this.gotoAndStop(5);
}
}
onClipEvent (enterFrame) {
if (_root.life == 10) {
this.gotoAndStop(6);
}
}
onClipEvent (enterFrame) {
if (_root.life == 9) {
this.gotoAndStop(7);
}
}
onClipEvent (enterFrame) {
if (_root.life == 8) {
this.gotoAndStop(8);
}
}
onClipEvent (enterFrame) {
if (_root.life == 7) {
this.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (_root.life == 6) {
this.gotoAndStop(10);
}
}
onClipEvent (enterFrame) {
if (_root.life == 5) {
this.gotoAndStop(11);
}
}
onClipEvent (enterFrame) {
if (_root.life == 4) {
this.gotoAndStop(12);
}
}
onClipEvent (enterFrame) {
if (_root.life == 3) {
this.gotoAndStop(13);
}
}
onClipEvent (enterFrame) {
if (_root.life == 2) {
this.gotoAndStop(14);
}
}
onClipEvent (enterFrame) {
if (_root.life == 1) {
this.gotoAndStop(15);
}
}
Symbol 437 MovieClip Frame 1
stop();
Symbol 437 MovieClip Frame 2
stop();
Symbol 437 MovieClip Frame 3
play();
Symbol 437 MovieClip Frame 77
_root.gotoAndStop("done");
Symbol 438 MovieClip Frame 1
stop();
if (_root.char.hitTest(_x, _y, true)) {
this.gotoAndStop(2);
_root.char.energy = _root.char.energy + 1;
}
Symbol 438 MovieClip Frame 2
_root.score = _root.score + 1;
Symbol 482 MovieClip Frame 46
stop();
Symbol 483 MovieClip Frame 1
stop();
Symbol 483 MovieClip Frame 11
stop();
Symbol 497 MovieClip Frame 1
stop();
if (_root.char.hitTest(_x, _y, true)) {
this.gotoAndStop(2);
_root.char.energy = _root.char.energy + 1;
}
Symbol 497 MovieClip Frame 2
_root.score = _root.score + 1;
Symbol 508 MovieClip Frame 1
stop();
if (_root.char.hitTest(_x, _y, true)) {
this.gotoAndStop(2);
_root.char.energy = _root.char.energy + 1;
}
Symbol 508 MovieClip Frame 2
_root.score = _root.score + 1;
Symbol 516 MovieClip Frame 1
stop();
if (_root.char.hitTest(_x, _y, true)) {
this.gotoAndStop(2);
_root.char.energy = _root.char.energy + 1;
}
Symbol 516 MovieClip Frame 2
_root.score = _root.score + 1;
Instance of Symbol 535 MovieClip in Symbol 539 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.char._x = -50;
_root.char._y = 40;
_root.life = _root.life - 1;
_root.lifeleft.play();
_root.brokenjump.gotoAndStop(1);
_root.brokenjump2.gotoAndStop(1);
_root.brokenjump3.gotoAndStop(1);
_root.brokenjump4.gotoAndStop(1);
}
}
Symbol 548 MovieClip Frame 1
stop();
if (_root.char.hitTest(_x, _y, true)) {
this.gotoAndStop(2);
_root.char.energy = _root.char.energy + 1;
}
Symbol 548 MovieClip Frame 2
_root.score = _root.score + 1;
Instance of Symbol 535 MovieClip in Symbol 557 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.char._x = -50;
_root.char._y = 40;
_root.life = _root.life - 1;
_root.lifeleft.play();
_root.brokenjump.gotoAndStop(1);
_root.brokenjump2.gotoAndStop(1);
_root.brokenjump3.gotoAndStop(1);
_root.brokenjump4.gotoAndStop(1);
}
}
Symbol 560 MovieClip Frame 1
stop();
if (_root.char.hitTest(_x, _y, true)) {
this.gotoAndStop(2);
_root.char.energy = _root.char.energy + 1;
}
Symbol 560 MovieClip Frame 2
_root.score = _root.score + 1;
Symbol 571 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
parentColor.setTransform(camColor.getTransform());
this._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Symbol 573 MovieClip Frame 1
stop();
if (_root.char.hitTest(_x, _y, true)) {
this.gotoAndStop(2);
_root.char.energy = _root.char.energy + 1;
}
Symbol 573 MovieClip Frame 2
_root.score = _root.score + 1;
Symbol 592 MovieClip Frame 1
stop();
Symbol 592 MovieClip Frame 2
stop();
Symbol 593 MovieClip Frame 1
_root.rorl = 1;
Instance of Symbol 592 MovieClip "hitr" in Symbol 593 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.boss1.gotoAndStop("gothit_r");
}
}
Symbol 599 MovieClip Frame 1
stop();
Symbol 599 MovieClip Frame 2
stop();
Symbol 600 MovieClip Frame 1
_root.rorl = 2;
Instance of Symbol 599 MovieClip in Symbol 600 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.boss1.gotoAndStop("gothit_l");
}
}
Instance of Symbol 625 MovieClip in Symbol 626 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.bla.play();
}
}
Symbol 651 MovieClip Frame 13
stop();
Symbol 653 MovieClip Frame 18
_root.bossbar.nextFrame();
Symbol 653 MovieClip Frame 20
_root.boss1.gotoAndStop("stand_r");
Symbol 662 MovieClip Frame 13
stop();
Symbol 663 MovieClip Frame 19
_root.bossbar.nextFrame();
Symbol 663 MovieClip Frame 20
_root.boss1.gotoAndStop("stand_l");
Symbol 677 MovieClip Frame 41
_root.gotoAndStop("done");
Symbol 678 MovieClip Frame 1
stop();
Symbol 679 MovieClip Frame 1
_root.boss1.gotoAndStop("stand_r");
Symbol 679 MovieClip Frame 160
_root.boss1.gotoAndStop("hit_r");
Symbol 679 MovieClip Frame 201
_root.boss1.gotoAndStop("jump_r");
Symbol 679 MovieClip Frame 240
_root.boss1.gotoAndStop("stand_l");
Symbol 679 MovieClip Frame 361
_root.boss1.gotoAndStop("hit_l");
Symbol 679 MovieClip Frame 402
_root.boss1.gotoAndStop("jump_l");
Symbol 686 MovieClip Frame 1
stop();
Symbol 686 MovieClip Frame 25
stop();
Instance of Symbol 685 MovieClip in Symbol 686 MovieClip Frame 25
onClipEvent (enterFrame) {
if (_root.rorl == 1) {
_root.boss1.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (_root.rorl == 2) {
_root.boss1.gotoAndStop(10);
}
}
Symbol 689 MovieClip Frame 1
stop();
Symbol 689 MovieClip Frame 2
_root.lifeleft.play();
Symbol 689 MovieClip Frame 5
_root.life = _root.life - 1;
Symbol 693 MovieClip Frame 1
stop();
if (_root.char.hitTest(_x, _y, true)) {
this.gotoAndStop(2);
_root.char.energy = _root.char.energy + 1;
}
Symbol 693 MovieClip Frame 2
_root.score = _root.score + 1;
Instance of Symbol 535 MovieClip in Symbol 697 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.char._x = -50;
_root.char._y = 40;
_root.life = _root.life - 1;
_root.lifeleft.play();
_root.brokenjump.gotoAndStop(1);
_root.brokenjump2.gotoAndStop(1);
_root.brokenjump3.gotoAndStop(1);
_root.brokenjump4.gotoAndStop(1);
}
}
Instance of Symbol 535 MovieClip in Symbol 704 MovieClip Frame 43
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.char._x = -50;
_root.char._y = 40;
_root.life = _root.life - 1;
_root.lifeleft.play();
_root.brokenjump.gotoAndStop(1);
_root.brokenjump2.gotoAndStop(1);
_root.brokenjump3.gotoAndStop(1);
_root.brokenjump4.gotoAndStop(1);
}
}
Symbol 731 MovieClip Frame 41
stop();
Symbol 732 MovieClip Frame 1
stop();
Instance of Symbol 535 MovieClip in Symbol 754 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.char._x = -50;
_root.char._y = 40;
_root.life = _root.life - 1;
_root.lifeleft.play();
_root.brokenjump.gotoAndStop(1);
_root.brokenjump2.gotoAndStop(1);
_root.brokenjump3.gotoAndStop(1);
_root.brokenjump4.gotoAndStop(1);
}
}
Instance of Symbol 792 MovieClip in Symbol 793 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.boss2.gotoAndStop("gothit_r");
}
}
Symbol 793 MovieClip Frame 2
_root.rorl = 1;
Symbol 794 MovieClip Frame 1
_root.rorl = 2;
Instance of Symbol 792 MovieClip in Symbol 794 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.boss2.gotoAndStop("gothit_l");
}
}
Symbol 794 MovieClip Frame 4
_root.rorl = 2;
Symbol 812 MovieClip Frame 35
_root.fire_r.play();
Symbol 828 MovieClip Frame 27
_root.fire_l.play();
Symbol 828 MovieClip Frame 35
_root.rorl = 2;
Symbol 844 MovieClip Frame 13
stop();
Symbol 845 MovieClip Frame 15
_root.bossbar2.nextFrame();
Symbol 845 MovieClip Frame 16
_root.boss2.gotoAndStop("stand_r");
_root.rorl = 1;
Symbol 846 MovieClip Frame 15
_root.bossbar2.nextFrame();
Symbol 846 MovieClip Frame 16
_root.boss2.gotoAndStop("stand_l");
Symbol 855 MovieClip Frame 1
_root.boxxy.stop();
Instance of Symbol 848 MovieClip in Symbol 855 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.fire = true;
}
}
Symbol 855 MovieClip Frame 165
_root.gotoAndStop("fallcinema");
Instance of Symbol 861 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.bla.play();
}
}
Symbol 867 MovieClip Frame 1
stop();
Instance of Symbol 861 MovieClip in Symbol 867 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.bla.play();
}
}
Symbol 868 MovieClip Frame 1
stop();
Instance of Symbol 867 MovieClip in Symbol 868 MovieClip Frame 31
onClipEvent (enterFrame) {
this.nextFrame();
}
Instance of Symbol 867 MovieClip in Symbol 868 MovieClip Frame 34
onClipEvent (enterFrame) {
this.nextFrame();
}
Instance of Symbol 867 MovieClip in Symbol 868 MovieClip Frame 37
onClipEvent (enterFrame) {
this.nextFrame();
}
Instance of Symbol 867 MovieClip in Symbol 868 MovieClip Frame 39
onClipEvent (enterFrame) {
this.nextFrame();
}
Instance of Symbol 861 MovieClip in Symbol 872 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.bla.play();
}
}
Symbol 873 MovieClip Frame 1
stop();
Instance of Symbol 861 MovieClip in Symbol 873 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.bla.play();
}
}
Symbol 874 MovieClip Frame 1
stop();
Instance of Symbol 873 MovieClip in Symbol 874 MovieClip Frame 31
onClipEvent (enterFrame) {
this.nextFrame();
}
Instance of Symbol 873 MovieClip in Symbol 874 MovieClip Frame 34
onClipEvent (enterFrame) {
this.nextFrame();
}
Instance of Symbol 873 MovieClip in Symbol 874 MovieClip Frame 37
onClipEvent (enterFrame) {
this.nextFrame();
}
Instance of Symbol 873 MovieClip in Symbol 874 MovieClip Frame 39
onClipEvent (enterFrame) {
this.nextFrame();
}
Symbol 878 MovieClip Frame 1
stop();
Symbol 878 MovieClip Frame 46
stop();
Instance of Symbol 877 MovieClip in Symbol 878 MovieClip Frame 46
onClipEvent (enterFrame) {
if (_root.rorl == 1) {
_root.boss2.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (_root.rorl == 2) {
_root.boss2.gotoAndStop(10);
}
}
Symbol 880 MovieClip Frame 1
_root.boss2.gotoAndStop("stand_r");
Symbol 880 MovieClip Frame 160
_root.boss2.gotoAndStop("hit_r");
Symbol 880 MovieClip Frame 196
_root.boss2.gotoAndStop("jump_r");
Symbol 880 MovieClip Frame 277
_root.boss2.gotoAndStop("stand_l");
Symbol 880 MovieClip Frame 384
_root.boss2.gotoAndStop("hit_l");
Symbol 880 MovieClip Frame 417
_root.boss2.gotoAndStop("jump_l");
Symbol 880 MovieClip Frame 490
_root.boss2.gotoAndStop("stand_r");
Symbol 880 MovieClip Frame 649
_root.boss2.gotoAndStop("hit_r");
Symbol 880 MovieClip Frame 684
_root.boss2.gotoAndStop("stand_r");
Symbol 880 MovieClip Frame 735
_root.boss2.gotoAndStop("hit_r");
Symbol 880 MovieClip Frame 771
_root.boss2.gotoAndStop("jump_r");
Symbol 880 MovieClip Frame 851
_root.boss2.gotoAndStop("stand_l");
Symbol 880 MovieClip Frame 958
_root.boss2.gotoAndStop("hit_l");
Symbol 880 MovieClip Frame 991
_root.boss2.gotoAndStop("jump_l");
Symbol 893 MovieClip Frame 97
stop();
Instance of Symbol 971 MovieClip in Symbol 972 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.bla.play();
}
}
Instance of Symbol 993 MovieClip in Symbol 994 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.char)) {
_root.bla2.play();
}
}
Symbol 999 MovieClip Frame 1
stop();
Symbol 999 MovieClip Frame 25
_root.gotoAndStop("finalfilm");
Instance of Symbol 998 MovieClip in Symbol 999 MovieClip Frame 25
onClipEvent (enterFrame) {
if (_root.rorl == 1) {
_root.boss1.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (_root.rorl == 2) {
_root.boss1.gotoAndStop(10);
}
}
Symbol 1000 MovieClip Frame 1
stop();
Symbol 1000 MovieClip Frame 4
_root.finalbossbar.nextFrame();
Symbol 1008 MovieClip Frame 1
stop();
Symbol 1008 MovieClip Frame 15
stop();
Instance of Symbol 1007 MovieClip in Symbol 1008 MovieClip Frame 15
onClipEvent (enterFrame) {
if (_root.rorl == 1) {
_root.boss1.gotoAndStop(9);
}
}
onClipEvent (enterFrame) {
if (_root.rorl == 2) {
_root.boss1.gotoAndStop(10);
}
}
Symbol 1031 MovieClip Frame 176
stop();
stopAllSounds();
Symbol 1034 Button
on (press) {
_root.gotoAndStop("menu");
}
Symbol 1037 Button
on (release) {
getURL ("http://www.mofunzone.com/", "_blank");
}
Symbol 1048 MovieClip Frame 156
_root.gotoAndStop("lvl13");