Combined Code
frame 1 {
function scott() {
getURL('http://www.wefiends.com', '_blank');
}
function AG() {
getURL('http://www.armorgames.com/', '_blank');
}
function david() {
getURL('http://www.truedarkness.newgrounds.com', '_blank');
}
function muter() {
_root.all.setVolume(0);
}
function mutera() {
_root.all.setVolume(100);
}
stopAllSounds();
onLoad = function () {
_root.all = new Sound();
};
var menu = new ContextMenu();
menu.hideBuiltInItems();
var buzzwerd = new ContextMenuItem('Buzzwerd', scott);
var truedarkness = new ContextMenuItem('TrueDarkness', david);
var armor = new ContextMenuItem('Armor Games', AG);
var mute = new ContextMenuItem('Sound Off', muter);
var mutee = new ContextMenuItem('Sound On', mutera);
menu.customItems.push(buzzwerd, truedarkness, armor, mute, mutee);
menu.onSelect = menuHandler;
menu.builtInItems.quality = true;
_root.menu = menu;
System.security.allowDomain('http://www.buzzwerd.deviantart.com');
System.security.allowInsecureDomain('http://www.buzzwerd.deviantart.com');
System.security.allowDomain('http://www.truedarkness.tk/');
System.security.allowInsecureDomain('http://www.truedarkness.tk/');
System.security.allowDomain('www.welcome-to-life.ca.tf');
System.security.allowInsecureDomain('http://www.buzzwerd.deviantart.com');
System.security.allowDomain('www.truedarkness.tk');
System.security.allowInsecureDomain('www.truedarkness.tk');
}
frame 1 {
stop();
var CPMStarPoolID = 1052;
var CPMStarSubPoolID = 2;
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?poolid=' + CPMStarPoolID + '&subpoolid=' + CPMStarSubPoolID);
}
movieClip 9 {
}
movieClip 13 {
}
// unknown tag 88 length 77
button 19 {
on (press) {
_root.nextFrame();
}
}
movieClip 20 {
}
instance bara of movieClip 20 {
onClipEvent (enterFrame) {
_root.bytesLoaded = _root.getBytesLoaded();
_root.bytesTotal = _root.getBytesTotal();
_root.percentLoaded = Math.round(100 * (_root.bytesLoaded / _root.bytesTotal));
if (varLoaded != true) {
this.gotoAndStop(_root.percentLoaded);
}
if (_root.percentLoaded == 100 && varLoaded != true) {
this.gotoAndStop('playbutton');
varLoaded = true;
}
}
}
movieClip 23 {
}
movieClip 25 {
}
movieClip 27 {
}
movieClip 28 {
}
movieClip 30 {
}
movieClip 1327 __Packages.ab3.rankz.Armor_Bot_30_En_AS1 {
#initclip
if (!_global.ab3) {
_global.ab3 = new Object();
}
if (!_global.ab3.rankz) {
_global.ab3.rankz = new Object();
}
if (!_global.ab3.rankz.Armor_Bot_30_En_AS1) {
var v1 = function () {
super();
};
ab3.rankz.Armor_Bot_30_En_AS1 = v1;
ab3.rankz.Armor_Bot_30_En_AS1 extends Object;
var v2 = v1.prototype;
v1.Encode = function (str) {
var v1 = new ab3.rankz.Armor_Bot_30_En_AS1();
return v1.encodeArmor_Bot_30_En_AS1(str);
};
v1.Decode = function (str) {
var v1 = new ab3.rankz.Armor_Bot_30_En_AS1();
return v1.decodeArmor_Bot_30_En_AS1(str);
};
v1.StringReplaceAll = function (source, find, replacement) {
return (source.split(find)).join(replacement);
};
v1.InitReverseChars = function () {
ab3.rankz.Armor_Bot_30_En_AS1._CharsReverseLookup = new Array();
var v1 = 0;
while (v1 < ab3.rankz.Armor_Bot_30_En_AS1._Chars.length) {
ab3.rankz.Armor_Bot_30_En_AS1._CharsReverseLookup[ab3.rankz.Armor_Bot_30_En_AS1._Chars[v1]] = v1;
++v1;
}
return true;
};
v1.UrlDecode = function (str) {
str = ab3.rankz.Armor_Bot_30_En_AS1.StringReplaceAll(str, '\\', ' ');
str = unescape(str);
return str;
};
v1.UrlEncode = function (str) {
str = escape(str);
str = ab3.rankz.Armor_Bot_30_En_AS1.StringReplaceAll(str, '\\', '%2B');
str = ab3.rankz.Armor_Bot_30_En_AS1.StringReplaceAll(str, '%20', '+');
return str;
};
v2.setArmor_Bot_30_En_AS1Str = function (str) {
this._Armor_Bot_30_En_AS1Str = str;
this._Armor_Bot_30_En_AS1Count = 0;
};
v2.readArmor_Bot_30_En_AS1 = function () {
if (!this._Armor_Bot_30_En_AS1Str) {
return ab3.rankz.Armor_Bot_30_En_AS1._EndOfInput;
}
if (this._Armor_Bot_30_En_AS1Count >= this._Armor_Bot_30_En_AS1Str.length) {
return ab3.rankz.Armor_Bot_30_En_AS1._EndOfInput;
}
var v2 = this._Armor_Bot_30_En_AS1Str.charCodeAt(this._Armor_Bot_30_En_AS1Count) & 255;
++this._Armor_Bot_30_En_AS1Count;
return v2;
};
v2.encodeArmor_Bot_30_En_AS1 = function (str) {
this.setArmor_Bot_30_En_AS1Str(str);
var v3 = '';
var v2 = new Array(3);
var v5 = 0;
var v4 = false;
for (;;) {
if (!(!v4 && v2[0] != ab3.rankz.Armor_Bot_30_En_AS1._EndOfInput)) break;
v2[1] = this.readArmor_Bot_30_En_AS1();
v2[2] = this.readArmor_Bot_30_En_AS1();
v3 += ab3.rankz.Armor_Bot_30_En_AS1._Chars[v2[0] >> 2];
if (v2[1] != ab3.rankz.Armor_Bot_30_En_AS1._EndOfInput) {
v3 += ab3.rankz.Armor_Bot_30_En_AS1._Chars[v2[0] << 4 & 48 | v2[1] >> 4];
if (v2[2] != ab3.rankz.Armor_Bot_30_En_AS1._EndOfInput) {
v3 += ab3.rankz.Armor_Bot_30_En_AS1._Chars[v2[1] << 2 & 60 | v2[2] >> 6];
v3 += ab3.rankz.Armor_Bot_30_En_AS1._Chars[v2[2] & 63];
} else {
v3 += ab3.rankz.Armor_Bot_30_En_AS1._Chars[v2[1] << 2 & 60];
v3 += '=';
v4 = true;
}
} else {
v3 += ab3.rankz.Armor_Bot_30_En_AS1._Chars[v2[0] << 4 & 48];
v3 += '=';
v3 += '=';
v4 = true;
}
v5 += 4;
if (v5 >= 76) {
v3 += '\n';
v5 = 0;
}
}
return v3;
};
v2.readReverseArmor_Bot_30_En_AS1 = function () {
if (!this._Armor_Bot_30_En_AS1Str) {
return ab3.rankz.Armor_Bot_30_En_AS1._EndOfInput;
}
while (!false) {
if (this._Armor_Bot_30_En_AS1Count >= this._Armor_Bot_30_En_AS1Str.length) {
return ab3.rankz.Armor_Bot_30_En_AS1._EndOfInput;
}
var v2 = this._Armor_Bot_30_En_AS1Str.charAt(this._Armor_Bot_30_En_AS1Count);
++this._Armor_Bot_30_En_AS1Count;
if (ab3.rankz.Armor_Bot_30_En_AS1._CharsReverseLookup[v2]) {
return ab3.rankz.Armor_Bot_30_En_AS1._CharsReverseLookup[v2];
}
if (v2 == 'A') {
return 0;
}
}
return ab3.rankz.Armor_Bot_30_En_AS1._EndOfInput;
};
v2.ntos = function (n) {
var v1 = n.toString(16);
if (v1.length == 1) {
v1 = '0' + v1;
}
v1 = '%' + v1;
return unescape(v1);
};
v2.decodeArmor_Bot_30_En_AS1 = function (str) {
this.setArmor_Bot_30_En_AS1Str(str);
var v3 = '';
var v2 = new Array(4);
var v4 = false;
for (;;) {
if (!(!v4 && v2[0] != ab3.rankz.Armor_Bot_30_En_AS1._EndOfInput && v2[1] != ab3.rankz.Armor_Bot_30_En_AS1._EndOfInput)) break;
v2[2] = this.readReverseArmor_Bot_30_En_AS1();
v2[3] = this.readReverseArmor_Bot_30_En_AS1();
v3 += this.ntos(v2[0] << 2 & 255 | v2[1] >> 4);
if (v2[2] != ab3.rankz.Armor_Bot_30_En_AS1._EndOfInput) {
v3 += this.ntos(v2[1] << 4 & 255 | v2[2] >> 2);
if (v2[3] != ab3.rankz.Armor_Bot_30_En_AS1._EndOfInput) {
v3 += this.ntos(v2[2] << 6 & 255 | v2[3]);
} else {
v4 = true;
}
} else {
v4 = true;
}
}
return v3;
};
v2.toHex = function (n) {
var v4 = '';
var v3 = true;
var v1 = 32;
while (v1 > 0) {
v1 -= 4;
var v2 = n >> v1 & 15;
if (!v3 || v2 != 0) {
v3 = false;
v4 += ab3.rankz.Armor_Bot_30_En_AS1._Digits[v2];
}
}
return (v4 == '') ? '0' : v4;
};
v2.pad = function (str, len, pad) {
var v2 = str;
var v1 = str.length;
while (v1 < len) {
v2 = pad + v2;
++v1;
}
return v2;
};
v2.encodeHex = function (str) {
var v4 = '';
var v2 = 0;
while (v2 < str.length) {
v4 += this.pad(this.toHex(str.charCodeAt(v2) & 255), 2, '0');
++v2;
}
return v4;
};
v2.decodeHex = function (str) {
var v5 = '';
var v3 = '';
var v2 = 0;
while (v2 < str.length) {
v3 += str.charAt(v2);
if (v3.length == 2) {
v5 += this.ntos(parseInt('0x' + v3));
v3 = '';
}
++v2;
}
return v5;
};
v1._EndOfInput = -1;
v1._Chars = new Array('A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L', 'M', 'N', 'O', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'Y', 'Z', 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '0', '1', '2', '3', '4', '5', '6', '7', '8', '9', '+', '/');
v1._CharsReverseLookupInited = ab3.rankz.Armor_Bot_30_En_AS1.InitReverseChars();
v1._Digits = new Array('0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'b', 'c', 'd', 'e', 'f');
ASSetPropFlags(ab3.rankz.Armor_Bot_30_En_AS1.prototype, null, 1);
}
#endinitclip
}
frame 2 {
adBox.removeMovieClip();
}
frame 2 {
stop();
_x = 0;
_y = 0;
}
button 32 {
on (release) {
getURL('http://www.armorgames.com', 'blank');
}
}
button 39 {
on (press) {
_root.menua.firsttime._visible = true;
_root.menua.credits._visible = false;
}
}
button 43 {
on (press) {
getURL('http://www.armorgames.com', '_blank');
}
}
button 47 {
on (press) {
getURL('http://rankz.armorbot.com/prehistoric2/', '_blank');
}
}
button 51 {
on (press) {
_root.menua.credits._visible = true;
_root.menua.firsttime._visible = false;
}
}
button 56 {
on (press) {
if (_root.menua.fadeOut._currentframe == 1) {
_root.yes = true;
_root.no = false;
_root.menua.fadeOut.play();
}
}
}
button 60 {
on (press) {
if (_root.menua.fadeOut._currentframe == 1) {
_root.no = true;
_root.yes = false;
_root.menua.fadeOut.play();
}
}
}
movieClip 61 {
}
// unknown tag 88 length 143
movieClip 65 {
}
button 69 {
on (press) {
getURL('http://www.ArmorBlog.com', '_blank');
}
}
button 73 {
on (press) {
getURL('http://armorgames.com/store/', '_blank');
}
}
button 77 {
on (press) {
getURL('http://armorgames.com/play/303/prehistoric', '_blank');
}
}
movieClip 79 {
frame 1 {
stop();
}
frame 21 {
stopAllSounds();
if (_root.yes == true) {
_root.gotoAndStop('tut');
_root.yes = false;
}
if (_root.no == true) {
_root.nextFrame();
_root.no = false;
}
}
}
movieClip 81 {
}
movieClip 84 {
frame 21 {
stop();
}
}
movieClip 86 {
frame 105 {
stop();
_root.endGame = false;
}
instance firsttime of movieClip 61 {
onClipEvent (load) {
_visible = false;
}
}
instance credits of movieClip 65 {
onClipEvent (load) {
_visible = false;
}
}
instance of movieClip 81 {
onClipEvent (press) {
stopAllSounds();
_root.gotoAndStop('lol');
}
}
}
instance menua of movieClip 86 {
onClipEvent (enterFrame) {
if (_root.endGame == true) {
stopAllSounds();
for (i in _root) {
_root[i].removeMovieClip();
}
this.gotoAndStop('menuu');
}
}
}
frame 3 {
_root.score = 0;
_root.enemies = 0;
_root.eggs = 0;
left = new Sound();
right = new Sound();
left.attachSound('left');
right.attachSound('right');
fadeIn.gotoAndPlay(1);
stop();
_root.pickUpAble = true;
_root.SkullItem = false;
_root.BombItem = false;
_root.mushroomItem = false;
_root.pickUpAble = false;
_root.SkullItem2 = false;
_root.BombBoss = false;
}
frame 3 {
function makeEgg() {
++c;
++e;
_root.egg.duplicateMovieClip('egg' + e, e);
_root.clock.duplicateMovieClip('clock' + c, c);
_root['egg' + e]._x = _root.eggx;
_root['egg' + e]._y = _root.eggy;
_root['clock' + c]._x = _root.eggx;
_root['clock' + c]._y = _root.eggy;
}
function makeBomb() {
++b;
_root.bomb.duplicateMovieClip('bomb' + b, b);
_root['bomb' + b]._x = _root.bush._x;
_root['bomb' + b]._y = _root.bush._y - 10;
}
c = 100;
e = 0;
s = 300;
b = 50;
_root.lives = 10;
}
frame 3 {
onEnterFrame = function () {
if (Key.isDown(80) && !_root.pause && !hold) {
_root.pause = true;
hold = true;
}
if (!Key.isDown(80) && _root.pause == true) {
hold = false;
}
if (Key.isDown(80) && _root.pause && !hold) {
_root.pause = false;
hold = true;
}
if (!Key.isDown(80) && _root.pause == false) {
hold = false;
}
};
eggSound1 = new Sound();
eggSound2 = new Sound();
eggSound1.attachSound('egg1');
eggSound2.attachSound('egg2');
_root.health.showa = false;
_root.health._alpha = 0;
_root.health.dontShow = false;
_root.checkPoint = _currentframe;
}
movieClip 88 {
}
movieClip 90 {
}
movieClip 91 {
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
}
movieClip 93 {
}
movieClip 95 {
}
movieClip 96 {
}
movieClip 97 {
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
}
movieClip 99 {
}
instance of movieClip 99 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 99 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 99 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 99 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 99 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 99 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 99 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 99 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 99 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 99 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 99 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 99 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 99 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 99 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 99 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 99 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 99 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
movieClip 101 {
}
instance of movieClip 101 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 101 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 101 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 101 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 101 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 101 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 101 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 101 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 101 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 101 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 101 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 101 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 101 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 101 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 101 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
movieClip 105 {
}
movieClip 108 {
}
movieClip 109 {
}
movieClip 110 {
}
movieClip 111 {
}
movieClip 112 {
}
movieClip 114 {
}
movieClip 116 {
frame 1 {
stop();
}
}
movieClip 117 {
frame 1 {
stop();
}
instance of movieClip 108 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 109 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 110 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 111 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 112 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 108 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 112 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 112 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 112 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 112 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
}
movieClip 119 {
}
movieClip 120 {
frame 1 {
stop();
}
frame 2 {
++_root.eggs;
_root.score += 5;
}
frame 9 {
stop();
}
}
instance egg of movieClip 120 {
onClipEvent (load) {
var friction = 1.05;
var yspeed = 0;
var xspeed = 0;
var i = 0;
var1 = 0;
h = _height / 2;
w = _width / 2;
xspeeda = -10 + random(20);
yspeeda = -random(20);
drag = 0.98;
bounce = 1;
gravity = 1;
a = 0;
aa = 0;
rot = random(13);
y = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause && _name != 'egg') {
_rotation = _rotation + rot;
if (var1 == 0) {
++a;
_root.speed = this.xspeeda;
if (!dragging) {
_x = _x + xspeeda;
_y = _y + yspeeda - 0.29;
yspeeda = yspeeda * drag + gravity;
xspeeda *= drag;
} else {
xspeeda = _x - oldx;
yspeeda = _y - oldy;
oldx = _x;
oldy = _y;
}
}
if (a >= 25) {
a = 0;
var1 = 1;
}
if (var1 == 1) {
++aa;
_y = _y + yspeed;
_x = _x + xspeed;
xspeed /= friction;
yspeed /= friction;
xspeed -= (_x - _root.player._x) / (random(35) + 14);
yspeed -= (_y - _root.player._y) / (random(35) + 14);
if (_y <= _root.player._y) {
_y = _y + (random(4) + 1);
}
if (_y >= _root.player._y) {
_y = _y - (random(4) + 1);
}
if (_x >= _root.player._x && i == 0) {
++i;
}
if (_x <= _root.player._x && i == 1) {
++i;
}
if (_x >= _root.player._x && i == 2) {
++i;
}
if (i >= 3 && this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndPlay(2);
xspeed = 0;
yspeed = 0;
}
}
}
if (!_root.pause && _currentframe > 1 && _currentframe != 9) {
play();
}
if (_currentframe >= 2) {
++y;
}
if (y >= 60) {
this.removeMovieClip();
}
}
}
movieClip 122 {
}
movieClip 124 {
frame 1 {
stop();
}
frame 9 {
stop();
}
}
instance clock of movieClip 124 {
onClipEvent (load) {
var friction = 1.05;
var yspeed = 0;
var xspeed = 0;
var i = 0;
var1 = 0;
h = _height / 2;
w = _width / 2;
xspeeda = -10 + random(20);
yspeeda = -random(20);
drag = 0.98;
bounce = 1;
gravity = 1;
a = 0;
aa = 0;
rot = random(13);
y = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause && _name != 'clock') {
_rotation = _rotation + rot;
if (var1 == 0) {
++a;
_root.speed = this.xspeeda;
if (!dragging) {
_x = _x + xspeeda;
_y = _y + yspeeda - 0.29;
yspeeda = yspeeda * drag + gravity;
xspeeda *= drag;
} else {
xspeeda = _x - oldx;
yspeeda = _y - oldy;
oldx = _x;
oldy = _y;
}
}
if (a >= 25) {
a = 0;
var1 = 1;
}
if (var1 == 1) {
++aa;
_y = _y + yspeed;
_x = _x + xspeed;
xspeed /= friction;
yspeed /= friction;
xspeed -= (_x - _root.player._x) / (random(35) + 14);
yspeed -= (_y - _root.player._y) / (random(35) + 14);
if (_y <= _root.player._y) {
_y = _y + (random(4) + 1);
}
if (_y >= _root.player._y) {
_y = _y - (random(4) + 1);
}
if (_x >= _root.player._x && i == 0) {
++i;
}
if (_x <= _root.player._x && i == 1) {
++i;
}
if (_x >= _root.player._x && i == 2) {
++i;
}
if (i >= 3 && this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndPlay(2);
xspeed = 0;
yspeed = 0;
}
}
}
if (!_root.pause && _currentframe > 1 && _currentframe != 9) {
play();
}
if (_currentframe >= 2) {
++y;
}
if (y >= 60) {
this.removeMovieClip();
}
}
}
movieClip 126 {
}
instance of movieClip 126 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 126 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 126 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 126 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 126 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 126 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 126 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
movieClip 129 {
}
movieClip 130 {
}
instance spikes of movieClip 130 {
onClipEvent (enterFrame) {
if (this.base.hitTest(_root.player.base)) {
_root.blink.play();
}
}
}
instance of movieClip 126 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 126 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 126 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
movieClip 132 {
}
movieClip 134 {
}
movieClip 142 {
frame 1 {
stop();
}
frame 15 {
_root.makeBomb();
}
}
movieClip 143 {
}
instance bush of movieClip 143 {
onClipEvent (load) {
i = 0;
}
onClipEvent (enterFrame) {
if (var1 == true) {
++i;
}
if (i >= 40) {
this.busha.play();
i = 0;
var1 = false;
}
}
}
instance of movieClip 126 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
movieClip 145 {
}
movieClip 147 {
}
movieClip 148 {
}
movieClip 149 {
frame 16 {
stop();
}
}
movieClip 151 {
frame 1 {
stop();
}
frame 2 {
_root.score += 200;
}
}
instance of movieClip 151 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
movieClip 156 {
}
movieClip 157 {
}
movieClip 159 {
frame 30 {
_parent.gotoAndStop(1);
}
}
movieClip 160 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance of movieClip 159 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
}
instance of movieClip 160 {
onClipEvent (enterFrame) {
if (this.top.hitTest(_root.player.base) && _root.player.grounded != true && _root.player.yspeed >= 3) {
_root.player.yspeed = -35;
this.gotoAndStop(2);
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.grounded = false;
}
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 160 {
onClipEvent (enterFrame) {
if (this.top.hitTest(_root.player.base) && _root.player.grounded != true && _root.player.yspeed >= 3) {
_root.player.yspeed = -40;
this.gotoAndStop(2);
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.grounded = false;
}
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 160 {
onClipEvent (enterFrame) {
if (this.top.hitTest(_root.player.base) && _root.player.grounded != true && _root.player.yspeed >= 3) {
_root.player.yspeed = -40;
this.gotoAndStop(2);
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.grounded = false;
}
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 160 {
onClipEvent (enterFrame) {
if (this.top.hitTest(_root.player.base) && _root.player.grounded != true && _root.player.yspeed >= 3) {
_root.player.yspeed = -45;
this.gotoAndStop(2);
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.grounded = false;
}
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 160 {
onClipEvent (enterFrame) {
if (this.top.hitTest(_root.player.base) && _root.player.grounded != true && _root.player.yspeed >= 3) {
_root.player.yspeed = -40;
this.gotoAndStop(2);
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.grounded = false;
}
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 160 {
onClipEvent (enterFrame) {
if (this.top.hitTest(_root.player.base) && _root.player.grounded != true && _root.player.yspeed >= 3) {
_root.player.yspeed = -40;
this.gotoAndStop(2);
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.grounded = false;
}
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 160 {
onClipEvent (enterFrame) {
if (this.top.hitTest(_root.player.base) && _root.player.grounded != true && _root.player.yspeed >= 3) {
_root.player.yspeed = -40;
this.gotoAndStop(2);
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.grounded = false;
}
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 160 {
onClipEvent (enterFrame) {
if (this.top.hitTest(_root.player.base) && _root.player.grounded != true && _root.player.yspeed >= 3) {
_root.player.yspeed = -40;
this.gotoAndStop(2);
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.grounded = false;
}
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 160 {
onClipEvent (enterFrame) {
if (this.top.hitTest(_root.player.base) && _root.player.grounded != true && _root.player.yspeed >= 3) {
_root.player.yspeed = -40;
this.gotoAndStop(2);
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.grounded = false;
}
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 160 {
onClipEvent (enterFrame) {
if (this.top.hitTest(_root.player.base) && _root.player.grounded != true && _root.player.yspeed >= 3) {
_root.player.yspeed = -40;
this.gotoAndStop(2);
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.grounded = false;
}
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
movieClip 163 {
frame 1 {
stop();
}
frame 2 {
_root.player._alpha = 50;
--_root.life;
_root.health.bar._xscale -= 10;
_root.shake.play();
}
frame 4 {
_root.player._alpha = 100;
}
frame 6 {
_root.player._alpha = 50;
}
frame 8 {
_root.player._alpha = 100;
}
frame 10 {
_root.player._alpha = 50;
}
frame 12 {
_root.player._alpha = 100;
}
frame 14 {
_root.player._alpha = 50;
}
frame 16 {
_root.player._alpha = 100;
}
frame 18 {
_root.player._alpha = 50;
}
frame 19 {
_root.player._alpha = 100;
}
frame 20 {
_root.player._alpha = 50;
}
frame 21 {
_root.player._alpha = 100;
}
frame 22 {
_root.player._alpha = 50;
}
frame 23 {
_root.player._alpha = 100;
}
frame 24 {
_root.player._alpha = 50;
}
frame 25 {
_root.player._alpha = 100;
}
frame 26 {
_root.player._alpha = 50;
}
frame 27 {
_root.player._alpha = 100;
}
frame 28 {
_root.player._alpha = 50;
}
frame 29 {
_root.player._alpha = 100;
}
frame 30 {
_root.player._alpha = 50;
}
frame 31 {
_root.player._alpha = 100;
}
frame 32 {
_root.player._alpha = 50;
}
frame 33 {
_root.player._alpha = 100;
}
frame 34 {
_root.player._alpha = 50;
}
frame 35 {
_root.player._alpha = 100;
}
frame 36 {
_root.player._alpha = 50;
}
frame 37 {
_root.player._alpha = 100;
}
frame 38 {
_root.player._alpha = 50;
}
frame 39 {
_root.player._alpha = 100;
}
frame 40 {
_root.player._alpha = 50;
}
frame 41 {
_root.player._alpha = 100;
}
}
movieClip 166 {
}
movieClip 167 {
}
movieClip 172 {
}
movieClip 176 {
}
movieClip 177 {
frame 1 {
stop();
}
frame 8 {
stop();
}
}
movieClip 178 {
instance of movieClip 177 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 177 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 177 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 177 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 177 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 177 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 177 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 177 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 177 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 177 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 177 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 177 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 177 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
frame 31 {
stop();
}
}
movieClip 179 {
frame 1 {
stop();
}
instance of movieClip 166 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 172 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
frame 3 {
++_root.enemies;
_root.score += 20;
}
instance of movieClip 178 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
if (_currentframe != 31) {
this.play();
}
}
}
}
}
instance en2 of movieClip 179 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
if (this.hitTest(_root.player) && _currentframe != 3) {
this.gotoAndStop(1);
}
} else {
if (!dead) {
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.player) && _root.blink._currentframe == 1 && _currentframe != 3 && _root.player._currentframe != 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5) {
_root.blink.play();
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
instance en1 of movieClip 179 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
if (this.hitTest(_root.player) && _currentframe != 3) {
this.gotoAndStop(1);
}
} else {
if (!dead) {
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.player) && _root.blink._currentframe == 1 && _currentframe != 3 && _root.player._currentframe != 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5) {
_root.blink.play();
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
instance en3 of movieClip 179 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
if (this.hitTest(_root.player) && _currentframe != 3) {
this.gotoAndStop(1);
}
} else {
if (!dead) {
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.player) && _root.blink._currentframe == 1 && _currentframe != 3 && _root.player._currentframe != 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5) {
_root.blink.play();
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
instance en6 of movieClip 179 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h + 5, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h + 5, true)) {
_y = _y - 0.1;
}
}
if (_root.land.land2.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.land2.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
if (this.hitTest(_root.player) && _currentframe != 3) {
this.gotoAndStop(1);
}
} else {
if (!dead) {
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.player) && _root.blink._currentframe == 1 && _currentframe != 3 && _root.player._currentframe != 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5) {
_root.blink.play();
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
instance en8 of movieClip 179 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h + 5, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h + 5, true)) {
_y = _y - 0.1;
}
}
if (_root.land.land2.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.land2.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
if (this.hitTest(_root.player) && _currentframe != 3) {
this.gotoAndStop(1);
}
} else {
if (!dead) {
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.player) && _root.blink._currentframe == 1 && _currentframe != 3 && _root.player._currentframe != 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5) {
_root.blink.play();
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
instance en9 of movieClip 179 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
if (this.hitTest(_root.player) && _currentframe != 3) {
this.gotoAndStop(1);
}
} else {
if (!dead) {
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.player) && _root.blink._currentframe == 1 && _currentframe != 3 && _root.player._currentframe != 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5) {
_root.blink.play();
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
movieClip 180 {
frame 1 {
stop();
}
frame 2 {
_root._x += 6;
}
frame 3 {
_root._x -= 12;
}
frame 4 {
_root._x += 6;
_root._y += 6;
}
frame 5 {
_root._y -= 12;
}
frame 6 {
_root._y += 6;
}
frame 7 {
_root._x += 2;
}
frame 8 {
_root._x -= 4;
}
frame 9 {
_root._x += 2;
_root._y += 2;
}
frame 10 {
_root._y -= 4;
}
frame 11 {
_root._y += 2;
}
}
instance en10 of movieClip 179 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
if (this.hitTest(_root.player) && _currentframe != 3) {
this.gotoAndStop(1);
}
} else {
if (!dead) {
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.player) && _root.blink._currentframe == 1 && _currentframe != 3 && _root.player._currentframe != 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5) {
_root.blink.play();
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
instance en14 of movieClip 179 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
if (this.hitTest(_root.player) && _currentframe != 3) {
this.gotoAndStop(1);
}
} else {
if (!dead) {
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.player) && _root.blink._currentframe == 1 && _currentframe != 3 && _root.player._currentframe != 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5) {
_root.blink.play();
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
movieClip 182 {
}
movieClip 184 {
}
movieClip 186 {
}
movieClip 188 {
}
movieClip 190 {
}
movieClip 192 {
}
movieClip 193 {
}
movieClip 195 {
}
movieClip 197 {
}
movieClip 199 {
}
movieClip 200 {
}
movieClip 202 {
}
movieClip 203 {
}
movieClip 206 {
}
movieClip 208 {
}
movieClip 210 {
}
movieClip 212 {
}
movieClip 214 {
}
movieClip 217 {
}
movieClip 219 {
frame 21 {
stop();
}
}
movieClip 220 {
}
movieClip 221 {
}
movieClip 222 {
}
movieClip 223 {
}
movieClip 224 {
}
movieClip 225 {
}
movieClip 226 {
}
movieClip 227 {
}
movieClip 228 {
}
movieClip 229 {
}
movieClip 230 {
instance of movieClip 220 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 221 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 222 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 223 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 224 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 225 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 226 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 227 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 228 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 229 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
frame 40 {
stop();
}
}
movieClip 231 {
frame 41 {
_parent.gotoAndStop(1);
}
}
movieClip 232 {
frame 16 {
_parent.gotoAndStop(1);
}
}
movieClip 233 {
frame 1 {
stop();
}
frame 3 {
++_root.enemies;
_root.score += 20;
}
}
instance en11 of movieClip 233 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
var hit = 0;
z = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h + 5, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h + 5, true)) {
_y = _y - 0.1;
}
}
if (_root.land.land2.hitTest(_x, _y + h - 3, true)) {
yspeed = 0;
while (_root.land.land2.hitTest(_x, _y + h - 3, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
} else {
if (!dead && _currentframe != 4 && _currentframe != 5) {
this.gotoAndStop(1);
}
}
++z;
if (z >= 80) {
attackReady = true;
}
if (d <= 180 && !dead && _currentframe != 4 && _root.player.grounded && attackReady && _currentframe != 5) {
this.gotoAndStop(4);
attackReady = false;
z = 0;
}
if (_xscale < 0) {
if (_currentframe == 4 && this.attack._currentframe >= 10 && this.attack._currentframe <= 15) {
xspeed = 15;
}
}
if (_xscale > 0) {
if (_currentframe == 4 && this.attack._currentframe >= 10 && this.attack._currentframe <= 15) {
xspeed = -15;
}
}
if (this.hitTest(_root.player) && _root.player._currentframe != 4 && _root.blink._currentframe == 1 && _currentframe != 3 && _currentframe == 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5 && this.attack._currentframe >= 10 && this.attack._currentframe <= 23) {
_root.blink.play();
}
if (this.hitTest(_root.player) && _root.player._currentframe == 4 && _root.player.stomp._currentframe == 19 && _currentframe == 4) {
_root.blink.play();
}
if (this.top.hitTest(_root.player.base) && _root.player.yspeed >= 3 && _root.player.grounded == false && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
_root.blink.play();
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
}
if (this.top.hitTest(_root.player.base) && _currentframe == 4 && this.attack._currentframe >= 10 && this.attack._currentframe <= 28 && _root.player.grounded == false && _root.player.yspeed >= 3) {
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
dead = true;
gotoAndStop(3);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3 && _currentframe != 5) {
++hit;
this.gotoAndStop(5);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5 && _currentframe != 4 && _currentframe != 5) {
++hit;
this.gotoAndStop(5);
}
if (hit >= 3) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
instance en5 of movieClip 233 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
var hit = 0;
z = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h + 5, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h + 5, true)) {
_y = _y - 0.1;
}
}
if (_root.land.land2.hitTest(_x, _y + h - 3, true)) {
yspeed = 0;
while (_root.land.land2.hitTest(_x, _y + h - 3, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
} else {
if (!dead && _currentframe != 4 && _currentframe != 5) {
this.gotoAndStop(1);
}
}
++z;
if (z >= 80) {
attackReady = true;
}
if (d <= 180 && !dead && _currentframe != 4 && _root.player.grounded && attackReady && _currentframe != 5) {
this.gotoAndStop(4);
attackReady = false;
z = 0;
}
if (_xscale < 0) {
if (_currentframe == 4 && this.attack._currentframe >= 10 && this.attack._currentframe <= 15) {
xspeed = 15;
}
}
if (_xscale > 0) {
if (_currentframe == 4 && this.attack._currentframe >= 10 && this.attack._currentframe <= 15) {
xspeed = -15;
}
}
if (this.hitTest(_root.player) && _root.player._currentframe != 4 && _root.blink._currentframe == 1 && _currentframe != 3 && _currentframe == 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5 && this.attack._currentframe >= 10 && this.attack._currentframe <= 23) {
_root.blink.play();
}
if (this.hitTest(_root.player) && _root.player._currentframe == 4 && _root.player.stomp._currentframe == 19 && _currentframe == 4) {
_root.blink.play();
}
if (this.top.hitTest(_root.player.base) && _root.player.yspeed >= 3 && _root.player.grounded == false && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
_root.blink.play();
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
}
if (this.top.hitTest(_root.player.base) && _currentframe == 4 && this.attack._currentframe >= 10 && this.attack._currentframe <= 28 && _root.player.grounded == false && _root.player.yspeed >= 3) {
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
dead = true;
gotoAndStop(3);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3 && _currentframe != 5) {
++hit;
this.gotoAndStop(5);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5 && _currentframe != 4 && _currentframe != 5) {
++hit;
this.gotoAndStop(5);
}
if (hit >= 3) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
instance en13 of movieClip 233 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
var hit = 0;
z = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
} else {
if (!dead && _currentframe != 4 && _currentframe != 5) {
this.gotoAndStop(1);
}
}
++z;
if (z >= 80) {
attackReady = true;
}
if (d <= 180 && !dead && _currentframe != 4 && _root.player.grounded && attackReady && _currentframe != 5) {
this.gotoAndStop(4);
attackReady = false;
z = 0;
}
if (_xscale < 0) {
if (_currentframe == 4 && this.attack._currentframe >= 10 && this.attack._currentframe <= 15) {
xspeed = 15;
}
}
if (_xscale > 0) {
if (_currentframe == 4 && this.attack._currentframe >= 10 && this.attack._currentframe <= 15) {
xspeed = -15;
}
}
if (this.hitTest(_root.player) && _root.player._currentframe != 4 && _root.blink._currentframe == 1 && _currentframe != 3 && _currentframe == 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5 && this.attack._currentframe >= 10 && this.attack._currentframe <= 23) {
_root.blink.play();
}
if (this.hitTest(_root.player) && _root.player._currentframe == 4 && _root.player.stomp._currentframe == 19 && _currentframe == 4) {
_root.blink.play();
}
if (this.top.hitTest(_root.player.base) && _root.player.yspeed >= 3 && _root.player.grounded == false && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
_root.blink.play();
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
}
if (this.top.hitTest(_root.player.base) && _currentframe == 4 && this.attack._currentframe >= 10 && this.attack._currentframe <= 28 && _root.player.grounded == false && _root.player.yspeed >= 3) {
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
dead = true;
gotoAndStop(3);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3 && _currentframe != 5) {
++hit;
this.gotoAndStop(5);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5 && _currentframe != 4 && _currentframe != 5 && !dead) {
dead = true;
this.gotoAndStop(3);
}
if (hit >= 3) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
movieClip 235 {
}
movieClip 237 {
}
movieClip 239 {
}
movieClip 241 {
}
movieClip 243 {
}
movieClip 245 {
}
movieClip 247 {
}
movieClip 249 {
}
movieClip 251 {
}
movieClip 253 {
}
movieClip 255 {
}
movieClip 258 {
frame 1 {
stop();
}
}
movieClip 260 {
}
movieClip 267 {
}
movieClip 276 {
}
movieClip 277 {
}
movieClip 278 {
}
movieClip 280 {
frame 61 {
stop();
}
}
movieClip 281 {
frame 21 {
stop();
}
}
movieClip 283 {
frame 21 {
_root.BombBoss = false;
_root.pickUpAble = true;
}
frame 21 {
stop();
_root.bomb._x = 1000;
}
}
movieClip 284 {
frame 1 {
stop();
}
instance of movieClip 267 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
frame 2 {
stop();
}
instance of movieClip 276 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance boom of movieClip 283 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
if (_currentframe != 21) {
this.play();
}
}
}
}
}
movieClip 285 {
frame 1 {
stop();
if (_currentframe == 1) {
_root.pickUpAble = true;
}
if (_root.pickUpAble == true) {
gotoAndStop(1);
}
if (_root.SkullItem == true) {
this.gotoAndStop(2);
_root.pickUpAble = false;
}
if (_root.BombItem == true) {
this.gotoAndStop(3);
_root.pickUpAble = false;
}
if (_root.mushroomItem == true) {
this.gotoAndStop(4);
_root.pickUpAble = false;
}
if (_root.BombBoss == true) {
this.gotoAndStop(5);
_root.pickUpAble = false;
}
}
frame 2 {
stop();
onEnterFrame = function () {
if (_root.pickUpAble == true) {
gotoAndStop(1);
}
};
}
frame 3 {
stop();
onEnterFrame = function () {
if (_root.pickUpAble == true) {
gotoAndStop(1);
}
};
}
frame 4 {
stop();
onEnterFrame = function () {
if (_root.pickUpAble == true) {
gotoAndStop(1);
}
};
}
frame 5 {
stop();
onEnterFrame = function () {
if (_root.pickUpAble == true) {
gotoAndStop(1);
}
};
}
instance bomb of movieClip 284 {
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
grav = 0;
h = _height / 2;
w = _width / 2;
i = 0;
iA = 0;
scale = _xscale;
didntHitGround = true;
hitGround = false;
grounded = false;
r = 0;
rr = _rotation;
rott = 0;
flasher = 0;
flashera = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_root.flashing == true && _currentframe != 3) {
this.gotoAndStop(2);
}
if (_root.boom == true) {
this.gotoAndStop(3);
}
}
}
}
}
movieClip 286 {
instance of movieClip 285 {
onClipEvent (enterFrame) {
if (_currentframe == 1) {
_root.pickUpAble = true;
}
if (_root.SkullItem == true) {
this.gotoAndStop(2);
_root.pickUpAble = false;
}
}
}
}
movieClip 287 {
}
movieClip 289 {
frame 1 {
stop();
}
}
movieClip 290 {
frame 1 {
stop();
}
}
movieClip 291 {
instance of movieClip 289 {
onClipEvent (enterFrame) {
if (_root.player.grounded == true) {
this.play();
}
}
}
instance of movieClip 290 {
onClipEvent (enterFrame) {
if (_root.player.grounded == true) {
this.play();
}
}
}
}
movieClip 293 {
frame 4 {
if (_root.player.yspeed > -5) {
_root.player.yspeed = -_root.player.jump;
}
_root.player.grounded = false;
}
frame 5 {
_root.player.grounded = false;
}
frame 6 {
_root.player.grounded = false;
}
frame 16 {
stop();
}
frame 19 {
_parent.gotoAndStop(1);
}
frame 22 {
_parent.gotoAndStop(1);
}
}
movieClip 295 {
frame 10 {
stop();
}
}
movieClip 296 {
}
movieClip 298 {
frame 12 {
_root.shake.play();
}
frame 30 {
_parent.gotoAndStop(1);
}
}
movieClip 306 {
frame 10 {
_parent.gotoAndStop(1);
}
}
movieClip 308 {
frame 13 {
_parent.gotoAndStop(1);
}
}
movieClip 310 {
frame 25 {
_parent.gotoAndStop(1);
}
}
movieClip 311 {
frame 1 {
stop();
}
instance of movieClip 286 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 291 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance jumpa of movieClip 293 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
if (_currentframe < 15) {
this.play();
}
}
}
}
instance stomp of movieClip 298 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 306 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 308 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 310 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
}
instance player of movieClip 311 {
onClipEvent (load) {
var xspeed = 5;
var yspeed = 0;
var grav = 2;
var w = _width / 2;
var h = _height / 2;
var scale = _xscale;
var cx = _x;
var cy = _y;
var camChange = -150;
var jump = 23;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_y = _y + yspeed;
yspeed += grav;
_x = _x + xspeed;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h + 50, true)) {
if (_currentframe == 3) {
this.jumpa.play();
}
}
if (_root.land.hitTest(_x, _y + h - 5, true)) {
grounded = true;
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 5, true)) {
_y = _y - 0.1;
}
}
if (!_root.land.hitTest(_x, _y + h + 5, true)) {
grounded = false;
}
if (_root.land.hitTest(_x + w, _y, true)) {
xspeed = 0;
while (_root.land.hitTest(_x + w, _y, true)) {
_x = _x - 0.1;
}
}
if (_root.land.hitTest(_x - w, _y, true)) {
xspeed = 0;
while (_root.land.hitTest(_x - w, _y, true)) {
_x = _x + 0.1;
}
}
if (_root.land.hitTest(_x, _y - h, true)) {
yspeed = 10;
while (_root.land.hitTest(_x, _y - h, true)) {
_y = _y + 0.1;
}
}
if (Key.isDown(39) && _currentframe != 4 && !slideL && !slideR && _currentframe != 6 && _currentframe != 7) {
camChange = -150;
xspeed += 2.5;
_xscale = scale;
if (_currentframe != 3 && _currentframe != 4 or this.jumpa._currentframe >= 24) {
this.gotoAndStop(2);
}
}
if (Key.isDown(37) && _currentframe != 4 && !slideL && !slideR && _currentframe != 6 && _currentframe != 7) {
camChange = 150;
xspeed -= 2.5;
_xscale = -scale;
if (_currentframe != 3 && _currentframe != 4 or this.jumpa._currentframe >= 24) {
this.gotoAndStop(2);
}
}
if (!Key.isDown(39) && !Key.isDown(37) && _currentframe != 3 && _currentframe != 4 && !slideR && !slideL && _currentframe != 6 && _currentframe != 7) {
this.gotoAndStop(1);
}
if (Key.isDown(32) && grounded && _currentframe != 4 && _currentframe != 6 && _currentframe != 7 or Key.isDown(38) && grounded && _currentframe != 4 && _currentframe != 6 && _currentframe != 7) {
this.grounded = false;
this.gotoAndStop(3);
}
if (Key.isDown(65) && _currentframe != 4 && _currentframe != 3 && _currentframe != 5 && _currentframe != 6 && _currentframe != 7) {
this.gotoAndStop(4);
}
if (_xscale > 0) {
if (Key.isDown(40) && _root.land.hitTest(_x - h - 35, _y + 16, true) && _currentframe != 4 && _currentframe != 6 && _currentframe != 7) {
slideR = true;
} else {
slideR = false;
}
}
if (_xscale < 0) {
if (Key.isDown(40) && _root.land.hitTest(_x + h + 35, _y + 16, true) && _currentframe != 4 && _currentframe != 6 && _currentframe != 7) {
slideL = true;
} else {
slideL = false;
}
}
if (slideR) {
this.gotoAndStop(5);
xspeed += 4.3;
yspeed += 7;
}
if (slideL) {
this.gotoAndStop(5);
xspeed -= 4.3;
yspeed += 7;
}
_root.widescreen._y = cy;
cx += (_x - cx - camChange) / 15;
_root._x = Stage.width / 2 - cx;
if (cxFalse != true) {
cy += (_y - cy) / 3;
_root._y = Stage.height / 2 - cy;
}
_root.widescreen._x = cx;
_root.gradient._x = cx;
_root.gradient._y = cy;
_root.frontbush._x = cx / 20;
_root.backbush._x = cx / 15;
_root.fronttrees._x = cx / 10;
_root.backtrees._x = cx / 5;
_root.back._x = cx;
_root.back._y = cy;
_root.spotlight._x = _x;
_root.spotlight._y = cy - 100;
_root.pauser._x = cx;
_root.pauser._y = cy;
_root.fadeIn._x = cx;
_root.fadeIn._y = cy;
_root.fadeOut._x = cx;
_root.fadeOut._y = cy;
_root.health._x = _x;
_root.health._y = _y - 55;
_root.fadeOutGO._x = cx;
_root.fadeOutGO._y = cy;
}
if (_root.land.hitTest(_x, _y + h, true) && this.jumpa._currentframe >= 13 && _currentframe == 3) {
this.gotoAndStop(1);
}
if (_currentframe == 6) {
xspeed = 0;
}
}
}
movieClip 314 {
}
movieClip 317 {
}
movieClip 318 {
instance bar of movieClip 314 {
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_xscale < 0) {
--_root.health.life;
_xscale = 0;
}
}
}
}
instance of movieClip 317 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_root.health.life == 4) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
}
instance of movieClip 317 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_root.health.life == 3) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
}
instance of movieClip 317 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_root.health.life == 2) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
}
instance of movieClip 317 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_root.health.life == 1) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
}
instance of movieClip 317 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_root.health.life == 0) {
_root.fadeOutGO.play();
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
}
}
instance health of movieClip 318 {
onClipEvent (load) {
i = 0;
life = 5;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_root.blink._currentframe >= 2) {
invis = false;
showa = true;
}
if (showa == true) {
_alpha = 100;
++i;
}
if (i >= 80) {
showa = false;
invis = true;
}
if (invis == true) {
if (_alpha >= 0) {
_alpha = _alpha - 2;
}
if (_alpha <= 0) {
i = 0;
}
}
}
if (dontShow == true) {
this._visible = false;
} else {
_visible = true;
}
}
}
movieClip 320 {
}
instance of movieClip 320 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player)) {
_root.player.cxFalse = true;
_root.fadeOut.play();
} else {
_root.player.cxFalse = false;
}
}
}
movieClip 322 {
}
movieClip 324 {
}
movieClip 325 {
frame 1 {
stop();
}
frame 2 {
if (_root.eggsound1 != true) {
_root.eggSound1.start(0, 1);
_root.eggsound1 = true;
} else {
if (_root.eggsound1 == true) {
_root.eggSound2.start(0, 1);
_root.eggsound1 = false;
}
}
}
frame 2 {
stop();
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
movieClip 326 {
}
instance of movieClip 326 {
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
grav = 0;
h = _height / 2;
w = _width / 2;
i = 0;
iA = 0;
scale = _xscale;
didntHitGround = true;
grounded = true;
r = 0;
rr = _rotation;
rott = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (var1 == 1 && _y >= _root.player._y + 4) {
_y = _y - 1;
if (_x <= _root.player._x) {
_x = _x + 1;
} else {
_x = _x - 1;
}
}
if (var1 != 1) {
if (this.hitTest(_root.player.base) && _root.player._currentframe != 4 && _root.player._currentframe != 6 && _root.player._currentframe != 7 && Key.isDown(83) && _root.pickUpAble == true && grounded && _root.land.hitTest(_x, _y + h, true)) {
xspeed = 0;
yspeed = 0;
grav = 1.5;
var2 = 0;
r = 0;
rott = 0;
rot = false;
hold = true;
grounded = false;
var3 = false;
var4 = false;
hitGround = false;
_root.SkullItem = true;
_root.player.gotoAndStop(6);
_root.pickUpAble = false;
var1 = 1;
}
}
if (!Key.isDown(83) && hold) {
hold = false;
}
if (_root.player._currentframe == 1 && var1 == 1) {
this._visible = false;
var1 = 0;
var2 = 1;
var5 = 1;
}
if (var2 == 1) {
e = 0;
while (e <= 30) {
if (this.hitTest(_root['en' + e]) && hitGround != true && _root['en' + e].dead != true && _root.SkullItem != true) {
_root['en' + e].hitBySomething = true;
rot = true;
yspeed = -16;
xspeed = 0;
}
++e;
}
if (var5 != 1) {
_x = _x + xspeed;
xspeed *= 0.95;
_y = _y + yspeed;
yspeed += grav;
_rotation = _rotation + rott;
rott *= 0.89;
} else {
_x = _root.player._x;
_y = _root.player._y;
}
if (_root.land.hitTest(_x, _y + h - 10, true)) {
yspeed = -yspeed + 7;
hitGround = true;
while (_root.land.hitTest(_x, _y + h - 10, true)) {
_y = _y - 0.1;
}
}
if (_root.land.hitTest(_x + w, _y, true)) {
xspeed = -xspeed + 5;
while (_root.land.hitTest(_x + w, _y, true)) {
_x = _x - 0.1;
}
}
if (_root.land.hitTest(_x - w, _y, true)) {
xspeed = -xspeed + 5;
while (_root.land.hitTest(_x - w, _y, true)) {
_x = _x + 0.1;
}
}
if (Key.isDown(83) && _root.player._currentframe != 4 && _root.player._currentframe != 3 && _root.SkullItem == true && hold != true && this.hitTest(_root.player)) {
_root.player.gotoAndStop(7);
count = true;
}
}
if (count == true) {
++i;
}
if (i >= 12) {
var3 = true;
var4 = true;
var5 = 0;
i = 0;
}
if (var3 == true) {
if (var4) {
_x = _root.player._x;
_y = _root.player._y;
if (_root.player._xscale > 0) {
_xscale = scale;
xspeed = 30;
} else {
_xscale = -scale;
xspeed = -30;
}
var4 = false;
}
_root.pickUpAble = true;
_root.SkullItem = false;
_visible = true;
grav = 1;
yspeed = -5;
count = false;
countA = true;
var3 = false;
}
if (countA == true) {
var1 = 0;
countA = false;
hitGround = false;
iA = 0;
}
if (yspeed == 1 or yspeed == 0) {
grounded = true;
}
if (rot) {
++r;
rott = -15;
}
if (r >= 30) {
rot = false;
if (_rotation >= rr) {
--rott;
}
if (_rotation <= rr) {
++rott;
}
}
}
}
}
movieClip 327 {
}
instance of movieClip 327 {
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
grav = 0;
h = _height / 2;
w = _width / 2;
i = 0;
iA = 0;
scale = _xscale;
didntHitGround = true;
grounded = true;
r = 0;
rr = _rotation;
rott = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (var1 == 1 && _y >= _root.player._y + 4) {
_y = _y - 1;
if (_x <= _root.player._x) {
_x = _x + 1;
} else {
_x = _x - 1;
}
}
if (var1 != 1) {
if (this.hitTest(_root.player.base) && _root.player._currentframe != 4 && _root.player._currentframe != 6 && _root.player._currentframe != 7 && Key.isDown(83) && _root.pickUpAble == true && grounded && _root.land.hitTest(_x, _y + h, true)) {
xspeed = 0;
yspeed = 0;
grav = 1.5;
var2 = 0;
r = 0;
rott = 0;
rot = false;
hold = true;
grounded = false;
var3 = false;
var4 = false;
hitGround = false;
_root.SkullItem = true;
_root.player.gotoAndStop(6);
_root.pickUpAble = false;
var1 = 1;
}
}
if (!Key.isDown(83) && hold) {
hold = false;
}
if (_root.player._currentframe == 1 && var1 == 1) {
this._visible = false;
var1 = 0;
var2 = 1;
var5 = 1;
}
if (var2 == 1) {
e = 0;
while (e <= 30) {
if (this.hitTest(_root['en' + e]) && hitGround != true && _root['en' + e].dead != true && _root.SkullItem != true) {
_root['en' + e].hitBySomething = true;
rot = true;
yspeed = -16;
xspeed = 0;
}
++e;
}
if (var5 != 1) {
_x = _x + xspeed;
xspeed *= 0.95;
_y = _y + yspeed;
yspeed += grav;
_rotation = _rotation + rott;
rott *= 0.89;
} else {
_x = _root.player._x;
_y = _root.player._y;
}
if (_root.land.hitTest(_x, _y + h - 10, true)) {
yspeed = -yspeed + 7;
hitGround = true;
while (_root.land.hitTest(_x, _y + h - 10, true)) {
_y = _y - 0.1;
}
}
if (_root.land.hitTest(_x + w, _y, true)) {
xspeed = -xspeed + 5;
while (_root.land.hitTest(_x + w, _y, true)) {
_x = _x - 0.1;
}
}
if (_root.land.hitTest(_x - w, _y, true)) {
xspeed = -xspeed + 5;
while (_root.land.hitTest(_x - w, _y, true)) {
_x = _x + 0.1;
}
}
if (Key.isDown(83) && _root.player._currentframe != 4 && _root.player._currentframe != 3 && _root.SkullItem == true && hold != true && this.hitTest(_root.player)) {
_root.player.gotoAndStop(7);
count = true;
}
}
if (count == true) {
++i;
}
if (i >= 12) {
var3 = true;
var4 = true;
var5 = 0;
i = 0;
}
if (var3 == true) {
if (var4) {
_x = _root.player._x;
_y = _root.player._y;
if (_root.player._xscale > 0) {
_xscale = scale;
xspeed = 30;
} else {
_xscale = -scale;
xspeed = -30;
}
var4 = false;
}
_root.pickUpAble = true;
_root.SkullItem = false;
_visible = true;
grav = 1;
yspeed = -5;
count = false;
countA = true;
var3 = false;
}
if (countA == true) {
var1 = 0;
countA = false;
hitGround = false;
iA = 0;
}
if (yspeed == 1 or yspeed == 0) {
grounded = true;
}
if (rot) {
++r;
rott = -15;
}
if (r >= 30) {
rot = false;
if (_rotation >= rr) {
--rott;
}
if (_rotation <= rr) {
++rott;
}
}
}
}
}
movieClip 329 {
}
movieClip 331 {
}
movieClip 332 {
frame 1 {
stop();
}
frame 2 {
_root.score += 5;
}
instance of movieClip 329 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
yscale = _yscale;
xscale = _xscale;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
scaled = random(2);
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (scaled == 0) {
_yscale = _yscale + speed;
_xscale = _xscale + speed;
}
if (scaled == 1) {
_yscale = _yscale - speed;
_xscale = _xscale - speed;
}
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 329 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
yscale = _yscale;
xscale = _xscale;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
scaled = random(2);
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (scaled == 0) {
_yscale = _yscale + speed;
_xscale = _xscale + speed;
}
if (scaled == 1) {
_yscale = _yscale - speed;
_xscale = _xscale - speed;
}
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 329 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
yscale = _yscale;
xscale = _xscale;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
scaled = random(2);
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (scaled == 0) {
_yscale = _yscale + speed;
_xscale = _xscale + speed;
}
if (scaled == 1) {
_yscale = _yscale - speed;
_xscale = _xscale - speed;
}
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 329 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
yscale = _yscale;
xscale = _xscale;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
scaled = random(2);
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (scaled == 0) {
_yscale = _yscale + speed;
_xscale = _xscale + speed;
}
if (scaled == 1) {
_yscale = _yscale - speed;
_xscale = _xscale - speed;
}
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 331 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
yscale = _yscale;
xscale = _xscale;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
scaled = random(2);
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (scaled == 0) {
_yscale = _yscale + speed;
_xscale = _xscale + speed;
}
if (scaled == 1) {
_yscale = _yscale - speed;
_xscale = _xscale - speed;
}
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 331 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
yscale = _yscale;
xscale = _xscale;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
scaled = random(2);
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (scaled == 0) {
_yscale = _yscale + speed;
_xscale = _xscale + speed;
}
if (scaled == 1) {
_yscale = _yscale - speed;
_xscale = _xscale - speed;
}
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 331 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
yscale = _yscale;
xscale = _xscale;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
scaled = random(2);
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (scaled == 0) {
_yscale = _yscale + speed;
_xscale = _xscale + speed;
}
if (scaled == 1) {
_yscale = _yscale - speed;
_xscale = _xscale - speed;
}
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
}
instance of movieClip 332 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 332 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 332 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 332 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 332 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 332 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 332 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 332 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 332 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 332 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
movieClip 334 {
}
movieClip 336 {
}
movieClip 338 {
}
movieClip 340 {
}
movieClip 342 {
}
movieClip 343 {
frame 1 {
stop();
}
frame 4 {
_root.land.bb.gotoAndStop(2);
_root.shake.play();
}
instance of movieClip 340 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
yscale = _yscale;
xscale = _xscale;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
scaled = random(2);
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
if (!this.hitTest(_root.gradient)) {
this._visible = false;
gotoAndStop(2);
yspeed = 0;
xspeed = 0;
}
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (scaled == 0) {
_yscale = _yscale + speed;
_xscale = _xscale + speed;
}
if (scaled == 1) {
_yscale = _yscale - speed;
_xscale = _xscale - speed;
}
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 340 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
yscale = _yscale;
xscale = _xscale;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
scaled = random(2);
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
if (!this.hitTest(_root.gradient)) {
this._visible = false;
gotoAndStop(2);
yspeed = 0;
xspeed = 0;
}
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (scaled == 0) {
_yscale = _yscale + speed;
_xscale = _xscale + speed;
}
if (scaled == 1) {
_yscale = _yscale - speed;
_xscale = _xscale - speed;
}
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 340 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
yscale = _yscale;
xscale = _xscale;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
scaled = random(2);
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
if (!this.hitTest(_root.gradient)) {
this._visible = false;
gotoAndStop(2);
yspeed = 0;
xspeed = 0;
}
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (scaled == 0) {
_yscale = _yscale + speed;
_xscale = _xscale + speed;
}
if (scaled == 1) {
_yscale = _yscale - speed;
_xscale = _xscale - speed;
}
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 342 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
yscale = _yscale;
xscale = _xscale;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
scaled = random(2);
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
if (!this.hitTest(_root.gradient)) {
this._visible = false;
gotoAndStop(2);
yspeed = 0;
xspeed = 0;
}
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (scaled == 0) {
_yscale = _yscale + speed;
_xscale = _xscale + speed;
}
if (scaled == 1) {
_yscale = _yscale - speed;
_xscale = _xscale - speed;
}
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
}
instance of movieClip 343 {
onClipEvent (load) {
hit = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bomb.hitter) && _currentframe == 1 && _root.bomb._currentframe == 2) {
this.nextFrame();
}
i = 50;
while (i <= 100) {
if (this.hitTest(_root['bomb' + i].hitter) && _root['bomb' + i]._currentframe == 2 && _root['bomb' + i].varLol != 1) {
this.nextFrame();
_root['bomb' + i].varLol = 1;
}
++i;
}
}
}
movieClip 344 {
}
movieClip 345 {
frame 21 {
stop();
}
}
movieClip 346 {
}
movieClip 347 {
frame 1 {
stop();
}
}
instance bomb of movieClip 347 {
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
grav = 0;
h = _height / 2;
w = _width / 2;
i = 0;
iA = 0;
scale = _xscale;
didntHitGround = true;
grounded = true;
r = 0;
_root.bx = _x;
_root.by = _y;
count = false;
var1 = 0;
var2 = 0;
var5 = 0;
var3 = false;
var4 = false;
countA = false;
rr = _rotation;
rott = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (var1 == 1 && _y >= _root.player._y + 4) {
_y = _y - 1;
if (_x <= _root.player._x) {
_x = _x + 1;
} else {
_x = _x - 1;
}
}
if (var1 != 1) {
if (this.hitTest(_root.player.base) && _root.player._currentframe != 4 && _root.player._currentframe != 6 && _root.player._currentframe != 7 && Key.isDown(83) && _root.pickUpAble == true && grounded && _root.land.hitTest(_x, _y + h, true)) {
xspeed = 0;
yspeed = 0;
grav = 1.5;
var2 = 0;
r = 0;
rott = 0;
rot = false;
hold = true;
grounded = false;
var3 = false;
var4 = false;
hitGround = false;
_root.BombItem = true;
_root.bush.var1 = true;
_root.player.gotoAndStop(6);
_root.pickUpAble = false;
var1 = 1;
}
}
if (!Key.isDown(83) && hold) {
hold = false;
}
if (_root.player._currentframe == 1 && var1 == 1) {
this._visible = false;
var1 = 0;
var2 = 1;
var5 = 1;
}
if (var2 == 1) {
if (_currentframe == 2) {
e = 0;
while (e <= 30) {
if (this.hitTest(_root['en' + e])) {
_root['en' + e].hitBySomething = true;
}
++e;
}
}
if (var5 != 1) {
_x = _x + xspeed;
xspeed *= 0.95;
_y = _y + yspeed;
yspeed += grav;
_rotation = _rotation + rott;
rott *= 0.89;
} else {
_x = _root.player._x;
_y = _root.player._y;
}
if (_root.land.hitTest(_x, _y + h - 10, true)) {
this.gotoAndStop(2);
xspeed = 0;
yspeed = 0;
hitGround = true;
while (_root.land.hitTest(_x, _y + h - 10, true)) {
_y = _y - 0.1;
}
}
if (_root.land.hitTest(_x + w, _y, true)) {
this.gotoAndStop(2);
xspeed = 0;
yspeed = 0;
while (_root.land.hitTest(_x + w, _y, true)) {
_x = _x - 0.1;
}
}
if (_root.land.hitTest(_x - w, _y, true)) {
this.gotoAndStop(2);
xspeed = 0;
yspeed = 0;
while (_root.land.hitTest(_x - w, _y, true)) {
_x = _x + 0.1;
}
}
if (Key.isDown(83) && _root.player._currentframe != 4 && _root.player._currentframe != 3 && _root.BombItem == true && this.hitTest(_root.player)) {
_root.player.gotoAndStop(7);
count = true;
}
}
if (count == true) {
++i;
}
if (i >= 12) {
var3 = true;
var4 = true;
var5 = 0;
i = 0;
}
if (var3 == true) {
if (var4) {
_x = _root.player._x;
_y = _root.player._y;
if (_root.player._xscale > 0) {
_xscale = scale;
xspeed = 30;
} else {
_xscale = -scale;
xspeed = -30;
}
var4 = false;
}
_root.pickUpAble = true;
_root.BombItem = false;
_visible = true;
grav = 1;
yspeed = -5;
count = false;
countA = true;
var3 = false;
}
if (countA == true) {
var1 = 0;
countA = false;
hitGround = false;
iA = 0;
}
if (rot) {
++r;
rott = -15;
}
if (r >= 30) {
rot = false;
if (_rotation >= rr) {
--rott;
}
if (_rotation <= rr) {
++rott;
}
}
}
}
}
movieClip 349 {
}
movieClip 351 {
}
movieClip 353 {
frame 21 {
stop();
}
}
movieClip 355 {
frame 1 {
stop();
}
frame 30 {
stop();
stopAllSounds();
for (i in _root) {
_root[i].removeMovieClip();
}
_root.nextFrame();
}
}
movieClip 357 {
frame 1 {
stop();
}
frame 30 {
stop();
stopAllSounds();
for (i in _root) {
_root[i].removeMovieClip();
}
_root.gotoAndStop('gameOver');
}
}
// unknown tag 88 length 92
movieClip 363 {
}
button 369 {
on (press) {
_root.endGame = true;
_root.gotoAndStop('menuu');
}
}
button 373 {
on (press) {
getURL('http://www.armorgames.com/', '_blank');
}
}
movieClip 374 {
frame 1 {
onEnterFrame = function () {
eggz = _root.eggs;
score = _root.score;
enez = _root.enemies;
};
}
}
movieClip 375 {
frame 1 {
stop();
}
}
instance pauser of movieClip 375 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
_visible = true;
if (_alpha <= 100) {
_alpha = _alpha + 5;
}
} else {
_alpha = 0;
_visible = false;
}
this.swapDepths(4999);
}
}
movieClip 377 {
}
instance widescreen of movieClip 377 {
onClipEvent (enterFrame) {
this.swapDepths(5000);
}
}
frame 4 {
left = new Sound();
right = new Sound();
left.attachSound('left');
right.attachSound('right');
fadeIn.gotoAndPlay(1);
_root.fadeOut.gotoAndStop(1);
stop();
_x = 0;
_y = 0;
_root.pickUpAble = true;
_root.SkullItem = false;
_root.BombItem = false;
_root.mushroomItem = false;
_root.pickUpAble = false;
_root.SkullItem2 = false;
_root.BombBoss = false;
}
frame 4 {
function makeEgg() {
++c;
++e;
_root.egg.duplicateMovieClip('egg' + e, e);
_root.clock.duplicateMovieClip('clock' + c, c);
_root['egg' + e]._x = _root.eggx;
_root['egg' + e]._y = _root.eggy;
_root['clock' + c]._x = _root.eggx;
_root['clock' + c]._y = _root.eggy;
}
function makeBomb() {
++b;
_root.bomb.duplicateMovieClip('bomb' + b, b);
_root['bomb' + b]._x = _root.bush._x;
_root['bomb' + b]._y = _root.bush._y - 10;
}
c = 100;
e = 0;
s = 300;
b = 50;
}
frame 4 {
onEnterFrame = function () {
if (Key.isDown(80) && !_root.pause && !hold) {
_root.pause = true;
hold = true;
}
if (!Key.isDown(80) && _root.pause == true) {
hold = false;
}
if (Key.isDown(80) && _root.pause && !hold) {
_root.pause = false;
hold = true;
}
if (!Key.isDown(80) && _root.pause == false) {
hold = false;
}
};
_root.health.showa = false;
_root.health._alpha = 0;
_root.health.dontShow = false;
_root.checkPoint = _currentframe;
}
movieClip 381 {
}
movieClip 382 {
}
movieClip 384 {
}
movieClip 385 {
instance of movieClip 384 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 384 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 384 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 384 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 384 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 384 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 384 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 384 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 384 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 384 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 384 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 384 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 384 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 384 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 384 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 384 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 384 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 384 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 384 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 384 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
}
movieClip 387 {
}
movieClip 389 {
}
movieClip 391 {
}
instance of movieClip 391 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 391 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 391 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 391 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 391 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 391 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 391 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 391 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 391 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 391 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 391 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 391 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
movieClip 394 {
instance of movieClip 110 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
}
movieClip 396 {
}
movieClip 397 {
frame 1 {
stop();
}
frame 2 {
++_root.eggs;
_root.score += 5;
}
frame 9 {
stop();
}
}
instance egg of movieClip 397 {
onClipEvent (load) {
var friction = 1.05;
var yspeed = 0;
var xspeed = 0;
var i = 0;
var1 = 0;
h = _height / 2;
w = _width / 2;
xspeeda = -10 + random(20);
yspeeda = -random(20);
drag = 0.98;
bounce = 1;
gravity = 1;
a = 0;
aa = 0;
rot = random(13);
y = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause && _name != 'egg') {
_rotation = _rotation + rot;
if (var1 == 0) {
++a;
_root.speed = this.xspeeda;
if (!dragging) {
_x = _x + xspeeda;
_y = _y + yspeeda - 0.29;
yspeeda = yspeeda * drag + gravity;
xspeeda *= drag;
} else {
xspeeda = _x - oldx;
yspeeda = _y - oldy;
oldx = _x;
oldy = _y;
}
}
if (a >= 25) {
a = 0;
var1 = 1;
}
if (var1 == 1) {
++aa;
_y = _y + yspeed;
_x = _x + xspeed;
xspeed /= friction;
yspeed /= friction;
xspeed -= (_x - _root.player._x) / (random(35) + 14);
yspeed -= (_y - _root.player._y) / (random(35) + 14);
if (_y <= _root.player._y) {
_y = _y + (random(4) + 1);
}
if (_y >= _root.player._y) {
_y = _y - (random(4) + 1);
}
if (_x >= _root.player._x && i == 0) {
++i;
}
if (_x <= _root.player._x && i == 1) {
++i;
}
if (_x >= _root.player._x && i == 2) {
++i;
}
if (i >= 3 && this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndPlay(2);
xspeed = 0;
yspeed = 0;
}
}
}
if (!_root.pause && _currentframe > 1 && _currentframe != 9) {
play();
}
if (_currentframe >= 2) {
++y;
}
if (y >= 60) {
this.removeMovieClip();
}
}
}
movieClip 399 {
}
movieClip 400 {
frame 1 {
stop();
}
frame 9 {
stop();
}
}
instance clock of movieClip 400 {
onClipEvent (load) {
var friction = 1.05;
var yspeed = 0;
var xspeed = 0;
var i = 0;
var1 = 0;
h = _height / 2;
w = _width / 2;
xspeeda = -10 + random(20);
yspeeda = -random(20);
drag = 0.98;
bounce = 1;
gravity = 1;
a = 0;
aa = 0;
rot = random(13);
y = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause && _name != 'clock') {
_rotation = _rotation + rot;
if (var1 == 0) {
++a;
_root.speed = this.xspeeda;
if (!dragging) {
_x = _x + xspeeda;
_y = _y + yspeeda - 0.29;
yspeeda = yspeeda * drag + gravity;
xspeeda *= drag;
} else {
xspeeda = _x - oldx;
yspeeda = _y - oldy;
oldx = _x;
oldy = _y;
}
}
if (a >= 25) {
a = 0;
var1 = 1;
}
if (var1 == 1) {
++aa;
_y = _y + yspeed;
_x = _x + xspeed;
xspeed /= friction;
yspeed /= friction;
xspeed -= (_x - _root.player._x) / (random(35) + 14);
yspeed -= (_y - _root.player._y) / (random(35) + 14);
if (_y <= _root.player._y) {
_y = _y + (random(4) + 1);
}
if (_y >= _root.player._y) {
_y = _y - (random(4) + 1);
}
if (_x >= _root.player._x && i == 0) {
++i;
}
if (_x <= _root.player._x && i == 1) {
++i;
}
if (_x >= _root.player._x && i == 2) {
++i;
}
if (i >= 3 && this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndPlay(2);
xspeed = 0;
yspeed = 0;
}
}
}
if (!_root.pause && _currentframe > 1 && _currentframe != 9) {
play();
}
if (_currentframe >= 2) {
++y;
}
if (y >= 60) {
this.removeMovieClip();
}
}
}
movieClip 402 {
}
instance of movieClip 402 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
movieClip 411 {
}
movieClip 414 {
}
movieClip 415 {
frame 20 {
stop();
}
instance of movieClip 414 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.shroom)) {
_root.fadeOut.play();
trace('hi');
}
}
}
}
movieClip 416 {
instance of movieClip 414 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.shroom)) {
_root.fadeOut.play();
trace('hi');
}
}
}
frame 11 {
_parent.gotoAndStop(1);
}
}
movieClip 417 {
frame 1 {
stop();
}
instance of movieClip 411 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
frame 2 {
_root.mopen = true;
}
instance of movieClip 415 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
if (_currentframe != 20) {
this.play();
}
}
}
}
instance of movieClip 416 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
}
instance monster of movieClip 417 {
onClipEvent (load) {
i = 0;
}
onClipEvent (enterFrame) {
if (_root.monster == true) {
++i;
}
if (i >= 30) {
_root.player.camChange = -350;
_root.mushroomtalk.play();
i = 0;
}
if (_root.monstera == true) {
i = 0;
_root.monster = false;
_root.noMonster = true;
_root.player.camChange = -150;
_root.player.varGroundedForLevelB = true;
_root.monstera = false;
}
if (this.hitTest(_root.gradient) && _root.mushroomItem == true && _currentframe == 1) {
this.gotoAndStop(2);
}
if (_root.mushroomItem == false && _currentframe == 2) {
this.gotoAndStop(3);
}
}
}
movieClip 419 {
}
movieClip 421 {
frame 1 {
stop();
}
frame 65 {
stop();
_root.monstera = true;
}
}
movieClip 423 {
}
instance of movieClip 423 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.boulder)) {
_root.boulder.gotoAndStop(4);
_root.boulder.stopa = true;
_root.boulder._rotation = _root.boulder.rot;
}
}
}
movieClip 428 {
}
movieClip 429 {
}
movieClip 431 {
frame 30 {
_parent.gotoAndStop(1);
}
}
movieClip 432 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance of movieClip 431 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
}
instance of movieClip 432 {
onClipEvent (enterFrame) {
if (this.top.hitTest(_root.player.base) && _root.player.grounded != true && _root.player.yspeed >= 3) {
_root.player.yspeed = -35;
this.gotoAndStop(2);
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.grounded = false;
}
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
movieClip 433 {
frame 1 {
stop();
}
instance of movieClip 200 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 203 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
frame 3 {
++_root.enemies;
_root.score += 20;
}
instance of movieClip 230 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
if (_currentframe != 40) {
this.play();
}
}
}
}
instance attack of movieClip 231 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 232 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
}
instance en1 of movieClip 433 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
var hit = 0;
z = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
} else {
if (!dead && _currentframe != 4 && _currentframe != 5) {
this.gotoAndStop(1);
}
}
++z;
if (z >= 80) {
attackReady = true;
}
if (d <= 180 && !dead && _currentframe != 4 && _root.player.grounded && attackReady && _currentframe != 5) {
this.gotoAndStop(4);
attackReady = false;
z = 0;
}
if (_xscale < 0) {
if (_currentframe == 4 && this.attack._currentframe >= 10 && this.attack._currentframe <= 15) {
xspeed = 15;
}
}
if (_xscale > 0) {
if (_currentframe == 4 && this.attack._currentframe >= 10 && this.attack._currentframe <= 15) {
xspeed = -15;
}
}
if (this.hitTest(_root.player) && _root.player._currentframe != 4 && _root.blink._currentframe == 1 && _currentframe != 3 && _currentframe == 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5 && this.attack._currentframe >= 10 && this.attack._currentframe <= 23) {
_root.blink.play();
}
if (this.hitTest(_root.player) && _root.player._currentframe == 4 && _root.player.stomp._currentframe == 19 && _currentframe == 4) {
_root.blink.play();
}
if (this.top.hitTest(_root.player.base) && _root.player.yspeed >= 3 && _root.player.grounded == false && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
_root.blink.play();
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
}
if (this.top.hitTest(_root.player.base) && _currentframe == 4 && this.attack._currentframe >= 10 && this.attack._currentframe <= 28 && _root.player.grounded == false && _root.player.yspeed >= 3) {
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
dead = true;
gotoAndStop(3);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3 && _currentframe != 5) {
++hit;
this.gotoAndStop(5);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5 && _currentframe != 4 && _currentframe != 5) {
++hit;
this.gotoAndStop(5);
}
if (hit >= 3) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
movieClip 434 {
frame 1 {
stop();
}
instance of movieClip 166 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 172 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
frame 3 {
++_root.enemies;
_root.score += 20;
}
instance of movieClip 178 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
if (_currentframe != 31) {
this.play();
}
}
}
}
}
instance en2 of movieClip 434 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
if (this.hitTest(_root.player) && _currentframe != 3) {
this.gotoAndStop(1);
}
} else {
if (!dead) {
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.player) && _root.blink._currentframe == 1 && _currentframe != 3 && _root.player._currentframe != 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5) {
_root.blink.play();
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
instance en3 of movieClip 433 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
var hit = 0;
z = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
} else {
if (!dead && _currentframe != 4 && _currentframe != 5) {
this.gotoAndStop(1);
}
}
++z;
if (z >= 80) {
attackReady = true;
}
if (d <= 180 && !dead && _currentframe != 4 && _root.player.grounded && attackReady && _currentframe != 5) {
this.gotoAndStop(4);
attackReady = false;
z = 0;
}
if (_xscale < 0) {
if (_currentframe == 4 && this.attack._currentframe >= 10 && this.attack._currentframe <= 15) {
xspeed = 15;
}
}
if (_xscale > 0) {
if (_currentframe == 4 && this.attack._currentframe >= 10 && this.attack._currentframe <= 15) {
xspeed = -15;
}
}
if (this.hitTest(_root.player) && _root.player._currentframe != 4 && _root.blink._currentframe == 1 && _currentframe != 3 && _currentframe == 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5 && this.attack._currentframe >= 10 && this.attack._currentframe <= 23) {
_root.blink.play();
}
if (this.hitTest(_root.player) && _root.player._currentframe == 4 && _root.player.stomp._currentframe == 19 && _currentframe == 4) {
_root.blink.play();
}
if (this.top.hitTest(_root.player.base) && _root.player.yspeed >= 3 && _root.player.grounded == false && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
_root.blink.play();
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
}
if (this.top.hitTest(_root.player.base) && _currentframe == 4 && this.attack._currentframe >= 10 && this.attack._currentframe <= 28 && _root.player.grounded == false && _root.player.yspeed >= 3) {
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
dead = true;
gotoAndStop(3);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3 && _currentframe != 5) {
++hit;
this.gotoAndStop(5);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5 && _currentframe != 4 && _currentframe != 5) {
++hit;
this.gotoAndStop(5);
}
if (hit >= 3) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
instance en4 of movieClip 433 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
var hit = 0;
z = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
} else {
if (!dead && _currentframe != 4 && _currentframe != 5) {
this.gotoAndStop(1);
}
}
++z;
if (z >= 80) {
attackReady = true;
}
if (d <= 180 && !dead && _currentframe != 4 && _root.player.grounded && attackReady && _currentframe != 5) {
this.gotoAndStop(4);
attackReady = false;
z = 0;
}
if (_xscale < 0) {
if (_currentframe == 4 && this.attack._currentframe >= 10 && this.attack._currentframe <= 15) {
xspeed = 15;
}
}
if (_xscale > 0) {
if (_currentframe == 4 && this.attack._currentframe >= 10 && this.attack._currentframe <= 15) {
xspeed = -15;
}
}
if (this.hitTest(_root.player) && _root.player._currentframe != 4 && _root.blink._currentframe == 1 && _currentframe != 3 && _currentframe == 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5 && this.attack._currentframe >= 10 && this.attack._currentframe <= 23) {
_root.blink.play();
}
if (this.hitTest(_root.player) && _root.player._currentframe == 4 && _root.player.stomp._currentframe == 19 && _currentframe == 4) {
_root.blink.play();
}
if (this.top.hitTest(_root.player.base) && _root.player.yspeed >= 3 && _root.player.grounded == false && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
_root.blink.play();
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
}
if (this.top.hitTest(_root.player.base) && _currentframe == 4 && this.attack._currentframe >= 10 && this.attack._currentframe <= 28 && _root.player.grounded == false && _root.player.yspeed >= 3) {
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
dead = true;
gotoAndStop(3);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3 && _currentframe != 5) {
++hit;
this.gotoAndStop(5);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5 && _currentframe != 4 && _currentframe != 5) {
++hit;
this.gotoAndStop(5);
}
if (hit >= 3) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
instance en5 of movieClip 434 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
if (this.hitTest(_root.player) && _currentframe != 3) {
this.gotoAndStop(1);
}
} else {
if (!dead) {
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.player) && _root.blink._currentframe == 1 && _currentframe != 3 && _root.player._currentframe != 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5) {
_root.blink.play();
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
instance en6 of movieClip 434 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
if (this.hitTest(_root.player) && _currentframe != 3) {
this.gotoAndStop(1);
}
} else {
if (!dead) {
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.player) && _root.blink._currentframe == 1 && _currentframe != 3 && _root.player._currentframe != 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5) {
_root.blink.play();
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
instance en8 of movieClip 434 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
if (this.hitTest(_root.player) && _currentframe != 3) {
this.gotoAndStop(1);
}
} else {
if (!dead) {
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.player) && _root.blink._currentframe == 1 && _currentframe != 3 && _root.player._currentframe != 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5) {
_root.blink.play();
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
movieClip 435 {
frame 10 {
stop();
}
}
movieClip 436 {
frame 1 {
stop();
}
instance of movieClip 286 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 291 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance jumpa of movieClip 293 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
if (_currentframe < 15) {
this.play();
}
}
}
}
instance stomp of movieClip 298 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 306 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 308 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 310 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 435 {
onClipEvent (load) {
i = 0;
}
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
if (_currentframe != 10) {
this.play();
}
}
++i;
if (i >= 75 && _root.lives > 0) {
_root.blink.play();
_root.player.gotoAndStop(1);
}
}
}
}
instance player of movieClip 436 {
onClipEvent (load) {
var xspeed = 5;
var yspeed = 0;
var grav = 2;
var w = _width / 2;
var h = _height / 2;
var scale = _xscale;
var cx = _x;
var cy = _y;
var camChange = -150;
var cCY = 0;
var jump = 23;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (!grounded && _root.fadeIn._currentframe <= 3) {
this.gotoAndStop(3);
this.jumpa.gotoAndStop(16);
}
_y = _y + yspeed;
yspeed += grav;
_x = _x + xspeed;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h + 50, true)) {
if (_currentframe == 3) {
this.jumpa.play();
}
if (_root.noMonster != true) {
_root.monster = true;
}
}
if (_root.land.hitTest(_x, _y + h - 5, true)) {
grounded = true;
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 5, true)) {
_y = _y - 0.1;
}
}
if (!_root.land.hitTest(_x, _y + h + 5, true)) {
grounded = false;
}
if (_root.land.hitTest(_x + w, _y, true)) {
xspeed = 0;
while (_root.land.hitTest(_x + w, _y, true)) {
_x = _x - 0.1;
}
}
if (_root.land.hitTest(_x - w, _y, true)) {
xspeed = 0;
while (_root.land.hitTest(_x - w, _y, true)) {
_x = _x + 0.1;
}
}
if (_root.land.hitTest(_x, _y - h, true)) {
yspeed = 10;
while (_root.land.hitTest(_x, _y - h, true)) {
_y = _y + 0.1;
}
}
if (Key.isDown(39) && _currentframe != 4 && !slideL && !slideR && _currentframe != 6 && _currentframe != 7 && varGroundedForLevelB == true && _currentframe != 8) {
camChange = -150;
xspeed += 2.5;
_xscale = scale;
if (_currentframe != 3 && _currentframe != 4 or this.jumpa._currentframe >= 24) {
this.gotoAndStop(2);
}
}
if (Key.isDown(37) && _currentframe != 4 && !slideL && !slideR && _currentframe != 6 && _currentframe != 7 && varGroundedForLevelB == true && _currentframe != 8) {
camChange = 150;
xspeed -= 2.5;
_xscale = -scale;
if (_currentframe != 3 && _currentframe != 4 or this.jumpa._currentframe >= 24) {
this.gotoAndStop(2);
}
}
if (!Key.isDown(39) && !Key.isDown(37) && _currentframe != 3 && _currentframe != 4 && !slideR && !slideL && _currentframe != 6 && _currentframe != 7 && _currentframe != 8) {
this.gotoAndStop(1);
}
if (Key.isDown(32) && grounded && _currentframe != 4 && _currentframe != 6 && _currentframe != 7 && varGroundedForLevelB == true && _currentframe != 8 or Key.isDown(38) && grounded && _currentframe != 4 && _currentframe != 6 && _currentframe != 7 && varGroundedForLevelB == true && _currentframe != 8) {
this.grounded = false;
this.gotoAndStop(3);
}
if (Key.isDown(65) && _currentframe != 4 && _currentframe != 3 && _currentframe != 5 && _currentframe != 6 && _currentframe != 7 && _currentframe != 8) {
this.gotoAndStop(4);
}
if (_xscale > 0) {
if (Key.isDown(40) && _root.land.hitTest(_x - h - 35, _y + 16, true) && _currentframe != 4 && _currentframe != 6 && _currentframe != 7 && _currentframe != 8) {
slideR = true;
} else {
slideR = false;
}
}
if (_xscale < 0) {
if (Key.isDown(40) && _root.land.hitTest(_x + h + 35, _y + 16, true) && _currentframe != 4 && _currentframe != 6 && _currentframe != 7 && _currentframe != 8) {
slideL = true;
} else {
slideL = false;
}
}
if (slideR) {
this.gotoAndStop(5);
xspeed += 4.3;
yspeed += 7;
}
if (slideL) {
this.gotoAndStop(5);
xspeed -= 4.3;
yspeed += 7;
}
if (varGroundedForLevelB == true) {
_root.widescreen._y = cy;
}
cx += (_x - cx - camChange) / 15;
_root._x = Stage.width / 2 - cx;
if (cxFalse != true) {
cy += (_y - cy - cCY) / 3;
_root._y = Stage.height / 2 - cy;
}
if (varGroundedForLevelB != true) {
_root.widescreen._y = cy;
}
_root.widescreen._x = cx;
_root.gradient._x = cx;
_root.gradient._y = cy;
_root.frontbush._x = cx / 20;
_root.backbush._x = cx / 15;
_root.fronttrees._x = cx / 10;
_root.backtrees._x = cx / 5;
_root.run._x = cx;
_root.run._y = cy;
_root.backtrees._y = cy;
_root.back._x = cx;
_root.back._y = cy;
_root.spotlight._x = _x;
_root.spotlight._y = cy - 100;
_root.pauser._x = cx;
_root.pauser._y = cy;
_root.fadeIn._x = cx;
_root.fadeIn._y = cy;
_root.fadeOut._x = cx;
_root.fadeOut._y = cy;
_root.health._x = _x;
_root.health._y = _y - 55;
_root.fadeOutGO._x = cx;
_root.fadeOutGO._y = cy;
}
if (_root.land.hitTest(_x, _y + h, true) && this.jumpa._currentframe >= 13 && _currentframe == 3) {
this.gotoAndStop(1);
}
if (_currentframe == 6) {
xspeed = 0;
}
}
}
instance of movieClip 391 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
movieClip 438 {
}
movieClip 439 {
}
movieClip 441 {
}
movieClip 442 {
}
movieClip 443 {
}
instance run of movieClip 443 {
onClipEvent (load) {
var1 = 0;
i = 0;
}
onClipEvent (enterFrame) {
if (var1 == 1) {
++i;
if (_alpha <= 100) {
_alpha = _alpha + 4;
}
}
if (i >= 55) {
var1 = 0;
if (_alpha >= 0) {
_alpha = _alpha - 2;
}
}
}
}
movieClip 445 {
}
movieClip 446 {
frame 1 {
stop();
}
frame 2 {
if (_root.eggsound1 != true) {
_root.eggSound1.start(0, 1);
_root.eggsound1 = true;
} else {
if (_root.eggsound1 == true) {
_root.eggSound2.start(0, 1);
_root.eggsound1 = false;
}
}
}
frame 2 {
stop();
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
movieClip 447 {
}
instance of movieClip 447 {
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
grav = 0;
h = _height / 2;
w = _width / 2;
i = 0;
iA = 0;
scale = _xscale;
didntHitGround = true;
grounded = true;
r = 0;
rr = _rotation;
rott = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (var1 == 1 && _y >= _root.player._y + 4) {
_y = _y - 1;
if (_x <= _root.player._x) {
_x = _x + 1;
} else {
_x = _x - 1;
}
}
if (var1 != 1) {
if (this.hitTest(_root.player.base) && _root.player._currentframe != 4 && _root.player._currentframe != 6 && _root.player._currentframe != 7 && Key.isDown(83) && _root.pickUpAble == true && grounded && _root.land.hitTest(_x, _y + h, true)) {
xspeed = 0;
yspeed = 0;
grav = 1.5;
var2 = 0;
r = 0;
rott = 0;
rot = false;
hold = true;
grounded = false;
var3 = false;
var4 = false;
hitGround = false;
_root.SkullItem = true;
_root.player.gotoAndStop(6);
_root.pickUpAble = false;
var1 = 1;
}
}
if (!Key.isDown(83) && hold) {
hold = false;
}
if (_root.player._currentframe == 1 && var1 == 1) {
this._visible = false;
var1 = 0;
var2 = 1;
var5 = 1;
}
if (var2 == 1) {
e = 0;
while (e <= 30) {
if (this.hitTest(_root['en' + e]) && hitGround != true && _root['en' + e].dead != true && _root.SkullItem != true) {
_root['en' + e].hitBySomething = true;
rot = true;
yspeed = -16;
xspeed = 0;
}
++e;
}
if (var5 != 1) {
_x = _x + xspeed;
xspeed *= 0.95;
_y = _y + yspeed;
yspeed += grav;
_rotation = _rotation + rott;
rott *= 0.89;
} else {
_x = _root.player._x;
_y = _root.player._y;
}
if (_root.land.hitTest(_x, _y + h - 10, true)) {
yspeed = -yspeed + 7;
hitGround = true;
while (_root.land.hitTest(_x, _y + h - 10, true)) {
_y = _y - 0.1;
}
}
if (_root.land.hitTest(_x + w, _y, true)) {
xspeed = -xspeed + 5;
while (_root.land.hitTest(_x + w, _y, true)) {
_x = _x - 0.1;
}
}
if (_root.land.hitTest(_x - w, _y, true)) {
xspeed = -xspeed + 5;
while (_root.land.hitTest(_x - w, _y, true)) {
_x = _x + 0.1;
}
}
if (Key.isDown(83) && _root.player._currentframe != 4 && _root.player._currentframe != 3 && _root.SkullItem == true && hold != true && this.hitTest(_root.player)) {
_root.player.gotoAndStop(7);
count = true;
}
}
if (count == true) {
++i;
}
if (i >= 12) {
var3 = true;
var4 = true;
var5 = 0;
i = 0;
}
if (var3 == true) {
if (var4) {
_x = _root.player._x;
_y = _root.player._y;
if (_root.player._xscale > 0) {
_xscale = scale;
xspeed = 30;
} else {
_xscale = -scale;
xspeed = -30;
}
var4 = false;
}
_root.pickUpAble = true;
_root.SkullItem = false;
_visible = true;
grav = 1;
yspeed = -5;
count = false;
countA = true;
var3 = false;
}
if (countA == true) {
var1 = 0;
countA = false;
hitGround = false;
iA = 0;
}
if (yspeed == 1 or yspeed == 0) {
grounded = true;
}
if (rot) {
++r;
rott = -15;
}
if (r >= 30) {
rot = false;
if (_rotation >= rr) {
--rott;
}
if (_rotation <= rr) {
++rott;
}
}
}
}
}
movieClip 450 {
frame 1 {
stop();
}
frame 15 {
_root.run.var1 = 1;
}
frame 29 {
stopAllSounds();
}
frame 30 {
_root.boulder.stopa = false;
}
frame 32 {
stop();
}
}
movieClip 451 {
}
instance shroom of movieClip 451 {
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
grav = 0;
h = _height / 2;
w = _width / 2;
i = 0;
iA = 0;
scale = _xscale;
didntHitGround = true;
grounded = true;
r = 0;
rr = _rotation;
rott = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (var1 == 1 && _y >= _root.player._y + 4) {
_y = _y - 1;
if (_x <= _root.player._x) {
_x = _x + 1;
} else {
_x = _x - 1;
}
}
if (var1 != 1) {
if (this.hitTest(_root.player.base) && _root.player._currentframe != 4 && _root.player._currentframe != 6 && _root.player._currentframe != 7 && Key.isDown(83) && _root.pickUpAble == true && grounded && _root.land.hitTest(_x, _y + h, true)) {
xspeed = 0;
yspeed = 0;
grav = 1.5;
var2 = 0;
r = 0;
rott = 0;
rot = false;
_root.mushroom = true;
hold = true;
grounded = false;
var3 = false;
var4 = false;
hitGround = false;
_root.mushroomItem = true;
_root.player.gotoAndStop(6);
_root.pickUpAble = false;
if (_root.earthquake._currentframe == 1) {
_root.earthquake.play();
}
var1 = 1;
}
}
if (!Key.isDown(83) && hold) {
hold = false;
}
if (_root.player._currentframe == 1 && var1 == 1) {
this._visible = false;
var1 = 0;
var2 = 1;
var5 = 1;
}
if (var2 == 1) {
e = 0;
while (e <= 30) {
if (this.hitTest(_root['en' + e]) && hitGround != true && _root['en' + e].dead != true && _root.mushroomItem != true) {
_root['en' + e].hitBySomething = true;
rot = true;
_root.mushroom = false;
yspeed = -16;
xspeed = 0;
}
++e;
}
if (var5 != 1) {
_x = _x + xspeed;
xspeed *= 0.95;
_y = _y + yspeed;
yspeed += grav;
_rotation = _rotation + rott;
rott *= 0.89;
} else {
_x = _root.player._x;
_y = _root.player._y;
}
if (_root.land.hitTest(_x, _y + h - 10, true)) {
yspeed = -yspeed + 4;
_root.mushroom = false;
hitGround = true;
while (_root.land.hitTest(_x, _y + h - 10, true)) {
_y = _y - 0.1;
}
}
if (_root.land.hitTest(_x + w, _y, true)) {
xspeed = -xspeed + 5;
_root.mushroom = false;
while (_root.land.hitTest(_x + w, _y, true)) {
_x = _x - 0.1;
}
}
if (_root.land.hitTest(_x - w, _y, true)) {
xspeed = -xspeed + 5;
_root.mushroom = false;
while (_root.land.hitTest(_x - w, _y, true)) {
_x = _x + 0.1;
}
}
if (Key.isDown(83) && _root.player._currentframe != 4 && _root.player._currentframe != 3 && _root.mushroomItem == true && hold != true && this.hitTest(_root.player)) {
_root.player.gotoAndStop(7);
count = true;
}
}
if (count == true) {
++i;
}
if (i >= 12) {
var3 = true;
var4 = true;
var5 = 0;
i = 0;
}
if (var3 == true) {
if (var4) {
_x = _root.player._x;
_y = _root.player._y;
if (_root.player._xscale > 0) {
_xscale = scale;
xspeed = 30;
} else {
_xscale = -scale;
xspeed = -30;
}
var4 = false;
}
_root.pickUpAble = true;
_root.mushroomItem = false;
_visible = true;
grav = 1;
yspeed = -5;
count = false;
countA = true;
var3 = false;
}
if (countA == true) {
var1 = 0;
countA = false;
hitGround = false;
iA = 0;
}
if (yspeed == 1 or yspeed == 0) {
grounded = true;
}
if (rot) {
++r;
rott = -15;
}
if (r >= 30) {
rot = false;
if (_rotation >= rr) {
--rott;
}
if (_rotation <= rr) {
++rott;
}
}
}
if (this.hitTest(_root.monster)) {
_root.fadeOut.play();
}
}
}
movieClip 452 {
frame 1 {
stop();
}
frame 4 {
_root.land.bb.gotoAndStop(2);
_root.shake.play();
}
instance of movieClip 340 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
if (!this.hitTest(_root.gradient)) {
_visible = false;
}
}
}
instance of movieClip 340 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
if (!this.hitTest(_root.gradient)) {
_visible = false;
}
}
}
instance of movieClip 340 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
if (!this.hitTest(_root.gradient)) {
_visible = false;
}
}
}
instance of movieClip 342 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
if (!this.hitTest(_root.gradient)) {
_visible = false;
}
}
}
}
instance boulder of movieClip 452 {
onClipEvent (load) {
hit = 0;
yspeed = 0;
xspeed = 0;
grav = 1;
stopa = true;
h = _height / 2;
w = _width / 2;
rot = _rotation;
b = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (stopa != true) {
_x = _x + xspeed;
xspeed *= 0.84;
_y = _y + yspeed;
yspeed += grav;
xspeed -= 2.5;
_rotation = _rotation + xspeed / 2;
if (this.hitTest(_root.player) && _currentframe == 1 && _root.player._currentframe != 8) {
_root.player.gotoAndStop(8);
}
}
if (_root.land.hitTest(_x, _y + h, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h, true)) {
_y = _y - 0.1;
}
}
if (_root.land.hitTest(_x - w, _y, true)) {
xspeed = 0;
while (_root.land.hitTest(_x - w, _y, true)) {
_x = _x + 0.1;
}
}
if (_root.land.hitTest(_x + w, _y, true)) {
xspeed = 0;
while (_root.land.hitTest(_x + w, _y, true)) {
_x = _x - 0.1;
}
}
i = 0;
while (i <= 10) {
if (this.hitTest(_root['en' + i]) && _root['en' + i]._currentframe != 3) {
_root['en' + i].dead = true;
_root['en' + i].gotoAndStop(3);
}
++i;
}
}
}
}
movieClip 454 {
frame 8 {
stop();
}
}
movieClip 456 {
frame 1 {
stop();
}
frame 5 {
stop();
for (i in _root) {
_root[i].removeMovieClip();
}
_root.nextFrame();
}
}
instance pauser of movieClip 375 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
_visible = true;
if (_alpha <= 100) {
_alpha = _alpha + 5;
}
} else {
_alpha = 0;
_visible = false;
}
this.swapDepths(6542);
}
}
instance widescreen of movieClip 377 {
onClipEvent (enterFrame) {
this.swapDepths(9001);
}
}
frame 5 {
stop();
_x = 0;
_y = 0;
for (i in _root) {
_root[i].removeMovieClip();
}
_root.health.showa = false;
_root.health._alpha = 0;
_root.health.dontShow = true;
}
movieClip 461 {
}
movieClip 466 {
frame 1 {
var copyrightNotice = 'Copyright (c) 2006-2007 Sockpuppet Pty Ltd. All Rights Reserved. http://www.reanimator.net';
var reanimator = new flash.geom.Transform(this);
var camera = new flash.geom.Transform(this._parent);
var w = Stage.width;
var h = Stage.height;
this._visible = false;
this.onEnterFrame = function () {
this._parent.filters = this.filters;
var v2 = reanimator.matrix;
camera.colorTransform = reanimator.colorTransform;
v2.invert();
v2.translate(w * 0.5, h * 0.5);
camera.matrix = v2;
_visible = true;
};
}
}
movieClip 474 {
instance of movieClip 414 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.shroom)) {
_root.fadeOut.play();
trace('hi');
}
}
}
frame 135 {
stop();
stopAllSounds();
_root.nextFrame();
}
}
instance of movieClip 474 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
movieClip 476 {
frame 5 {
stop();
}
}
frame 6 {
_root.mushroomItem = false;
_root.pickUpAble = true;
_root.health.showa = false;
_root.health._alpha = 0;
_root.health.dontShow = true;
}
movieClip 479 {
}
movieClip 480 {
}
movieClip 483 {
}
movieClip 484 {
}
movieClip 486 {
}
movieClip 488 {
}
movieClip 489 page9 {
}
movieClip 490 {
frame 133 {
_root.nextFrame();
}
}
instance of movieClip 490 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
frame 7 {
stop();
_root.health.showa = false;
_root.health._alpha = 0;
_root.health.dontShow = true;
}
movieClip 492 {
}
movieClip 493 {
}
movieClip 498 {
}
movieClip 500 {
frame 111 {
_root.nextFrame();
}
}
instance of movieClip 500 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
frame 8 {
stop();
for (i in _root) {
_root[i].removeMovieClip();
}
_root.health.showa = false;
_root.health._alpha = 0;
_root.health.dontShow = true;
}
movieClip 505 {
}
movieClip 507 {
}
movieClip 509 {
}
movieClip 511 {
}
movieClip 513 {
}
movieClip 515 {
}
movieClip 518 {
}
movieClip 523 {
}
movieClip 525 {
}
movieClip 527 {
}
movieClip 528 {
instance of movieClip 286 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
}
movieClip 531 {
frame 47 {
_root.nextFrame();
}
}
instance of movieClip 531 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
frame 9 {
left = new Sound();
right = new Sound();
left.attachSound('left');
right.attachSound('right');
fadeIn.gotoAndPlay(1);
_root.fadeOut.gotoAndStop(1);
stop();
_x = 0;
_y = 0;
_root.pickUpAble = true;
_root.SkullItem = false;
_root.BombItem = false;
_root.mushroomItem = false;
_root.pickUpAble = false;
_root.SkullItem2 = false;
_root.BombBoss = false;
}
frame 9 {
function makeEgga() {
++c;
++ea;
_root.egg.duplicateMovieClip('egg' + ea, ea);
_root.clock.duplicateMovieClip('clock' + c, c);
_root['egg' + ea]._x = _root.eggx;
_root['egg' + ea]._y = _root.eggy;
_root['clock' + c]._x = _root.eggx;
_root['clock' + c]._y = _root.eggy;
}
c = 0;
ea = 30;
}
frame 9 {
b = 1000;
makeBulletA = function () {
++b;
_root.bulleta.duplicateMovieClip('bulleta' + b, b);
_root['bulleta' + b]._rotation = _root.player._rotation;
_root['bulleta' + b]._x = _root.player._x;
_root['bulleta' + b]._y = _root.player._y;
_root['bulleta' + b].rot = _root.player._rotation;
};
makeBulletB = function () {
++b;
_root.bulletb.duplicateMovieClip('bulletb' + b, b);
_root['bulletb' + b]._rotation = _root.player._rotation;
_root['bulletb' + b]._x = _root.player._x;
_root['bulletb' + b]._y = _root.player._y;
_root['bulletb' + b].rot = _root.player._rotation;
};
}
frame 9 {
stop();
_root.fadeIn.gotoAndPlay(1);
_root.health.showa = false;
onEnterFrame = function () {
if (Key.isDown(80) && !_root.pause && !hold) {
_root.pause = true;
hold = true;
}
if (!Key.isDown(80) && _root.pause == true) {
hold = false;
}
if (Key.isDown(80) && _root.pause && !hold) {
_root.pause = false;
hold = true;
}
if (!Key.isDown(80) && _root.pause == false) {
hold = false;
}
};
_root.health._alpha = 0;
_root.health.dontShow = false;
_root.checkPoint = _currentframe;
}
frame 9 {
function makeEgg() {
++e;
_root.egga.duplicateMovieClip('egga' + e, e);
_root['egga' + e]._x = 950;
_root['egga' + e]._y = 60 + random(400);
}
function MakeEnemy1() {
++q;
duplicateMovieClip(_root.Enemy, 'Enemy' + q, q);
eval('Enemy' + q)._x = 950;
_root['Enemy' + q]._rotation = random(100);
}
function MakeEnemy2() {
++q;
duplicateMovieClip(_root.Enemy2, 'Enemy2' + q, q);
eval('Enemy2' + q)._x = 950;
_root['Enemy2' + q]._rotation = random(100);
}
function MakeEnemy3() {
++q;
duplicateMovieClip(_root.Enemy3, 'Enemy3' + q, q);
eval('Enemy3' + q)._x = 950;
_root['Enemy3' + q]._rotation = random(100);
}
function MakeEnemy4() {
++q;
duplicateMovieClip(_root.Enemy4, 'Enemy4' + q, q);
eval('Enemy4' + q)._x = 950;
_root['Enemy4' + q]._rotation = random(100);
}
function MakeEnemy5() {
++q;
duplicateMovieClip(_root.Enemy5, 'Enemy5' + q, q);
eval('Enemy5' + q)._x = 950;
_root['Enemy5' + q]._rotation = random(100);
}
q = 50;
i = 0;
ia = 0;
ib = 0;
ic = 0;
id = 0;
eggss = 0;
e = 20;
timee = 0;
onEnterFrame = function () {
if (!_root.pause) {
++i;
++ia;
++ib;
++ic;
++id;
++eggss;
if (eggss >= 20) {
makeEgg();
eggss = 0;
}
if (i >= 85) {
_root.MakeEnemy1();
i = 0;
}
if (ia >= 160) {
_root.MakeEnemy2();
ia = 0;
}
if (ib >= 145) {
_root.MakeEnemy3();
ib = 0;
}
if (ic >= 190) {
_root.MakeEnemy4();
ic = 0;
}
if (id >= 205) {
_root.MakeEnemy5();
id = 0;
}
if (b >= 1030) {
b = 1000;
}
}
if (pause) {
for (i in _root) {
_root[i].stop();
}
}
if (Key.isDown(80) && !_root.pause && !hold) {
_root.pause = true;
hold = true;
}
if (!Key.isDown(80) && _root.pause == true) {
hold = false;
}
if (Key.isDown(80) && _root.pause && !hold) {
_root.pause = false;
hold = true;
}
if (!Key.isDown(80) && _root.pause == false) {
hold = false;
}
++timee;
if (timee >= 1700 && _root.fadeOut._currentframe == 1) {
_root.fadeOut.play();
}
trace(timee);
};
}
movieClip 532 {
}
movieClip 533 {
}
instance Bg of movieClip 533 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance egg of movieClip 120 {
onClipEvent (load) {
var friction = 1.05;
var yspeed = 0;
var xspeed = 0;
var i = 0;
var1 = 0;
h = _height / 2;
w = _width / 2;
xspeeda = -10 + random(20);
yspeeda = -random(20);
drag = 0.98;
bounce = 1;
gravity = 1;
a = 0;
aa = 0;
rot = random(13);
y = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause && _name != 'egg') {
_rotation = _rotation + rot;
if (var1 == 0) {
++a;
_root.speed = this.xspeeda;
if (!dragging) {
_x = _x + xspeeda;
_y = _y + yspeeda - 0.29;
yspeeda = yspeeda * drag + gravity;
xspeeda *= drag;
} else {
xspeeda = _x - oldx;
yspeeda = _y - oldy;
oldx = _x;
oldy = _y;
}
}
if (a >= 25) {
a = 0;
var1 = 1;
}
if (var1 == 1) {
++aa;
_y = _y + yspeed;
_x = _x + xspeed;
xspeed /= friction;
yspeed /= friction;
xspeed -= (_x - _root.player._x) / (random(35) + 14);
yspeed -= (_y - _root.player._y) / (random(35) + 14);
if (_y <= _root.player._y) {
_y = _y + (random(4) + 1);
}
if (_y >= _root.player._y) {
_y = _y - (random(4) + 1);
}
if (_x >= _root.player._x && i == 0) {
++i;
}
if (_x <= _root.player._x && i == 1) {
++i;
}
if (_x >= _root.player._x && i == 2) {
++i;
}
if (i >= 3 && this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndPlay(2);
xspeed = 0;
yspeed = 0;
}
}
}
if (!_root.pause && _currentframe > 1 && _currentframe != 9) {
play();
}
if (_currentframe >= 2) {
++y;
}
if (y >= 60) {
this.removeMovieClip();
}
}
}
instance clock of movieClip 124 {
onClipEvent (load) {
var friction = 1.05;
var yspeed = 0;
var xspeed = 0;
var i = 0;
var1 = 0;
h = _height / 2;
w = _width / 2;
xspeeda = -10 + random(20);
yspeeda = -random(20);
drag = 0.98;
bounce = 1;
gravity = 1;
a = 0;
aa = 0;
rot = random(13);
y = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause && _name != 'clock') {
_rotation = _rotation + rot;
if (var1 == 0) {
++a;
_root.speed = this.xspeeda;
if (!dragging) {
_x = _x + xspeeda;
_y = _y + yspeeda - 0.29;
yspeeda = yspeeda * drag + gravity;
xspeeda *= drag;
} else {
xspeeda = _x - oldx;
yspeeda = _y - oldy;
oldx = _x;
oldy = _y;
}
}
if (a >= 25) {
a = 0;
var1 = 1;
}
if (var1 == 1) {
++aa;
_y = _y + yspeed;
_x = _x + xspeed;
xspeed /= friction;
yspeed /= friction;
xspeed -= (_x - _root.player._x) / (random(35) + 14);
yspeed -= (_y - _root.player._y) / (random(35) + 14);
if (_y <= _root.player._y) {
_y = _y + (random(4) + 1);
}
if (_y >= _root.player._y) {
_y = _y - (random(4) + 1);
}
if (_x >= _root.player._x && i == 0) {
++i;
}
if (_x <= _root.player._x && i == 1) {
++i;
}
if (_x >= _root.player._x && i == 2) {
++i;
}
if (i >= 3 && this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndPlay(2);
xspeed = 0;
yspeed = 0;
}
}
}
if (!_root.pause && _currentframe > 1 && _currentframe != 9) {
play();
}
if (_currentframe >= 2) {
++y;
}
if (y >= 60) {
this.removeMovieClip();
}
}
}
movieClip 535 {
}
movieClip 537 {
}
movieClip 539 {
}
movieClip 540 {
}
movieClip 541 {
}
movieClip 543 {
}
movieClip 544 {
}
movieClip 545 {
frame 6 {
_parent.gotoAndStop(1);
}
}
movieClip 575 {
}
movieClip 576 {
frame 1 {
_root.score += 20;
_root.shake.play();
}
frame 32 {
stop();
}
}
movieClip 578 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 579 {
frame 1 {
stop();
}
instance of movieClip 540 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 545 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
frame 3 {
++_root.enemies;
_root.score += 5;
}
instance of movieClip 576 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
if (_currentframe != 32) {
this.play();
}
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation - rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation - rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation - rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation - rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
}
onClipEvent (enterFrame) {
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance Enemy of movieClip 579 {
onClipEvent (load) {
ymov = Math.round(random(9) + 6);
xmov = ymov;
h = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
if (this._currentframe != 3) {
_x = _x - xmov;
_y = _y + ymov;
if (_y < 0) {
xmov *= 1;
ymov *= -1;
}
if (_y > 450) {
xmov *= 1;
ymov *= -1;
}
}
if (this.hitTest(_root.gradient)) {
b = 1000;
while (b <= 1030) {
if (this.hitTest(_root['bulleta' + b]) && _currentframe == 1 && h == 0) {
++h;
gotoAndStop(2);
}
if (this.hitTest(_root['bulleta' + b]) && _currentframe == 1 && h == 1) {
++h;
gotoAndStop(2);
}
if (this.hitTest(_root['bulleta' + b]) && _currentframe == 1 && h == 2) {
gotoAndStop(3);
}
if (this.hitTest(_root['bulletb' + b]) && _currentframe == 1 && h == 0) {
++h;
gotoAndStop(2);
}
if (this.hitTest(_root['bulletb' + b]) && _currentframe == 1 && h == 1) {
++h;
gotoAndStop(2);
}
if (this.hitTest(_root['bulletb' + b]) && _currentframe == 1 && h == 2) {
gotoAndStop(3);
}
++b;
}
}
if (_x < -50) {
this.removeMovieClip();
removeMovieClip(this);
}
if (this._currentframe != 3) {
_rotation = _rotation - 4;
} else {
_rotation = 0;
}
if (this.hitTest(_root.player) && _root.player._currentframe != 3 && _root.blink._currentframe == 1 && _currentframe != 3) {
_root.player.gotoAndStop(3);
}
}
}
}
movieClip 580 {
}
movieClip 582 {
}
movieClip 584 {
}
movieClip 586 {
}
movieClip 587 {
}
movieClip 588 {
}
movieClip 589 {
}
movieClip 590 {
}
movieClip 591 {
frame 6 {
_parent.gotoAndStop(1);
}
}
movieClip 592 {
frame 1 {
stop();
}
instance of movieClip 587 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 591 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
frame 3 {
++_root.enemies;
}
instance of movieClip 576 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
if (_currentframe != 32) {
this.play();
}
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation - rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation - rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation - rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation - rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
}
onClipEvent (enterFrame) {
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance Enemy2 of movieClip 592 {
onClipEvent (load) {
ymov = Math.round(random(9) + 6);
xmov = ymov;
h = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
if (this._currentframe != 3) {
_x = _x - xmov;
_y = _y + ymov;
if (_y < 0) {
xmov *= 1;
ymov *= -1;
}
if (_y > 450) {
xmov *= 1;
ymov *= -1;
}
}
if (this.hitTest(_root.gradient)) {
b = 1000;
while (b <= 1030) {
if (this.hitTest(_root['bulleta' + b]) && _currentframe == 1 && h == 0) {
++h;
gotoAndStop(2);
}
if (this.hitTest(_root['bulleta' + b]) && _currentframe == 1 && h == 1) {
++h;
gotoAndStop(2);
}
if (this.hitTest(_root['bulleta' + b]) && _currentframe == 1 && h == 2) {
gotoAndStop(3);
}
if (this.hitTest(_root['bulletb' + b]) && _currentframe == 1 && h == 0) {
++h;
gotoAndStop(2);
}
if (this.hitTest(_root['bulletb' + b]) && _currentframe == 1 && h == 1) {
++h;
gotoAndStop(2);
}
if (this.hitTest(_root['bulletb' + b]) && _currentframe == 1 && h == 2) {
gotoAndStop(3);
}
++b;
}
}
if (_x < -50) {
this.removeMovieClip();
removeMovieClip(this);
}
if (this._currentframe != 3) {
_rotation = _rotation - 4;
} else {
_rotation = 0;
}
if (this.hitTest(_root.player) && _root.player._currentframe != 3 && _root.blink._currentframe == 1 && _currentframe != 3) {
_root.player.gotoAndStop(3);
}
}
}
}
movieClip 597 {
}
movieClip 598 {
frame 5 {
_parent.gotoAndStop(1);
}
}
movieClip 599 {
frame 1 {
stop();
}
instance of movieClip 597 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 598 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
frame 3 {
++_root.enemies;
}
instance of movieClip 576 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
if (_currentframe != 32) {
this.play();
}
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation - rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation - rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation - rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation - rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
}
onClipEvent (enterFrame) {
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance Enemy3 of movieClip 599 {
onClipEvent (load) {
ymov = Math.round(random(9) + 6);
xmov = ymov;
h = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
if (this._currentframe != 3) {
_x = _x - xmov;
_y = _y + ymov;
if (_y < 0) {
xmov *= 1;
ymov *= -1;
}
if (_y > 450) {
xmov *= 1;
ymov *= -1;
}
}
if (this.hitTest(_root.gradient)) {
b = 1000;
while (b <= 1030) {
if (this.hitTest(_root['bulleta' + b]) && _currentframe == 1 && h == 0) {
++h;
gotoAndStop(2);
}
if (this.hitTest(_root['bulleta' + b]) && _currentframe == 1 && h == 1) {
++h;
gotoAndStop(2);
}
if (this.hitTest(_root['bulleta' + b]) && _currentframe == 1 && h == 2) {
gotoAndStop(3);
}
if (this.hitTest(_root['bulletb' + b]) && _currentframe == 1 && h == 0) {
++h;
gotoAndStop(2);
}
if (this.hitTest(_root['bulletb' + b]) && _currentframe == 1 && h == 1) {
++h;
gotoAndStop(2);
}
if (this.hitTest(_root['bulletb' + b]) && _currentframe == 1 && h == 2) {
gotoAndStop(3);
}
++b;
}
}
if (_x < -50) {
this.removeMovieClip();
removeMovieClip(this);
}
if (this._currentframe != 3) {
_rotation = _rotation - 4;
} else {
_rotation = 0;
}
if (this.hitTest(_root.player) && _root.player._currentframe != 3 && _root.blink._currentframe == 1 && _currentframe != 3) {
_root.player.gotoAndStop(3);
}
}
}
}
movieClip 601 {
}
movieClip 603 {
}
movieClip 605 {
}
movieClip 607 {
}
movieClip 609 {
}
movieClip 610 {
}
movieClip 611 {
frame 6 {
_parent.gotoAndStop(1);
}
}
movieClip 612 {
frame 1 {
stop();
}
instance of movieClip 610 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 611 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
frame 3 {
++_root.enemies;
}
instance of movieClip 576 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
if (_currentframe != 32) {
this.play();
}
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation - rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation - rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation - rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation - rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
}
onClipEvent (enterFrame) {
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance Enemy4 of movieClip 612 {
onClipEvent (load) {
ymov = Math.round(random(9) + 6);
xmov = ymov;
h = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
if (this._currentframe != 3) {
_x = _x - xmov;
_y = _y + ymov;
if (_y < 0) {
xmov *= 1;
ymov *= -1;
}
if (_y > 450) {
xmov *= 1;
ymov *= -1;
}
}
if (this.hitTest(_root.gradient)) {
b = 1000;
while (b <= 1030) {
if (this.hitTest(_root['bulleta' + b]) && _currentframe == 1 && h == 0) {
++h;
gotoAndStop(2);
}
if (this.hitTest(_root['bulleta' + b]) && _currentframe == 1 && h == 1) {
++h;
gotoAndStop(2);
}
if (this.hitTest(_root['bulleta' + b]) && _currentframe == 1 && h == 2) {
gotoAndStop(3);
}
if (this.hitTest(_root['bulletb' + b]) && _currentframe == 1 && h == 0) {
++h;
gotoAndStop(2);
}
if (this.hitTest(_root['bulletb' + b]) && _currentframe == 1 && h == 1) {
++h;
gotoAndStop(2);
}
if (this.hitTest(_root['bulletb' + b]) && _currentframe == 1 && h == 2) {
gotoAndStop(3);
}
++b;
}
}
if (_x < -50) {
this.removeMovieClip();
removeMovieClip(this);
}
if (this._currentframe != 3) {
_rotation = _rotation - 4;
} else {
_rotation = 0;
}
if (this.hitTest(_root.player) && _root.player._currentframe != 3 && _root.blink._currentframe == 1 && _currentframe != 3) {
_root.player.gotoAndStop(3);
}
}
}
}
movieClip 617 {
}
movieClip 618 {
frame 6 {
_parent.gotoAndStop(1);
}
}
movieClip 619 {
frame 1 {
stop();
}
instance of movieClip 617 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 618 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
frame 3 {
++_root.enemies;
}
instance of movieClip 576 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
if (_currentframe != 32) {
this.play();
}
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation - rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation - rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation - rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation - rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
}
onClipEvent (enterFrame) {
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance ball of movieClip 578 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance Enemy5 of movieClip 619 {
onClipEvent (load) {
ymov = Math.round(random(9) + 6);
xmov = ymov;
h = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
if (this._currentframe != 3) {
_x = _x - xmov;
_y = _y + ymov;
if (_y < 0) {
xmov *= 1;
ymov *= -1;
}
if (_y > 450) {
xmov *= 1;
ymov *= -1;
}
}
if (this.hitTest(_root.gradient)) {
b = 1000;
while (b <= 1030) {
if (this.hitTest(_root['bulleta' + b]) && _currentframe == 1 && h == 0) {
++h;
gotoAndStop(2);
}
if (this.hitTest(_root['bulleta' + b]) && _currentframe == 1 && h == 1) {
++h;
gotoAndStop(2);
}
if (this.hitTest(_root['bulleta' + b]) && _currentframe == 1 && h == 2) {
gotoAndStop(3);
}
if (this.hitTest(_root['bulletb' + b]) && _currentframe == 1 && h == 0) {
++h;
gotoAndStop(2);
}
if (this.hitTest(_root['bulletb' + b]) && _currentframe == 1 && h == 1) {
++h;
gotoAndStop(2);
}
if (this.hitTest(_root['bulletb' + b]) && _currentframe == 1 && h == 2) {
gotoAndStop(3);
}
++b;
}
}
if (_x < -50) {
this.removeMovieClip();
removeMovieClip(this);
}
if (this._currentframe != 3) {
_rotation = _rotation - 4;
} else {
_rotation = 0;
}
if (this.hitTest(_root.player) && _root.player._currentframe != 3 && _root.blink._currentframe == 1 && _currentframe != 3) {
_root.player.gotoAndStop(3);
}
}
}
}
movieClip 621 {
}
movieClip 622 {
frame 2 {
_root.makeBulletA();
}
frame 4 {
_root.makeBulletB();
}
frame 8 {
_parent.gotoAndStop(1);
}
}
movieClip 623 {
frame 1 {
_root.blink.play();
}
instance of movieClip 286 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
frame 8 {
_root.player.gotoAndStop(1);
}
}
movieClip 624 {
frame 1 {
stop();
}
instance of movieClip 528 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 622 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 623 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
}
instance player of movieClip 624 {
onClipEvent (load) {
rot = _rotation;
yspeed = 0;
xspeed = 0;
rota = 0;
i = 0;
cy = _y;
cx = _x;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_currentframe != 2 && _currentframe != 3) {
gotoAndStop(1);
}
_x = _x + xspeed;
_y = _y + yspeed;
yspeed *= 0.9300000000000001;
xspeed *= 0.9300000000000001;
if (Key.isDown(38)) {
yspeed -= 1.5;
if (_rotation >= -15) {
_rotation = _rotation - 1.4;
}
} else {
if (Key.isDown(40)) {
yspeed += 1.5;
if (_rotation <= 15) {
_rotation = _rotation + 1.4;
}
} else {
if (_rotation <= rot) {
_rotation = _rotation + 1;
}
if (_rotation >= rot) {
_rotation = _rotation - 1;
}
}
}
if (Key.isDown(39)) {
xspeed += 1.5;
}
if (Key.isDown(37)) {
xspeed -= 1.5;
}
if (_y <= 50) {
yspeed -= yspeed;
yspeed = 7;
}
if (_y >= 400) {
yspeed += yspeed;
yspeed = -7;
}
if (_x >= 700) {
xspeed = -xspeed;
if (xspeed > 0) {
xspeed = -10;
}
}
if (_x <= 50) {
xspeed = -xspeed;
if (xspeed < 0) {
xspeed = 10;
}
}
if (Key.isDown(32) && _currentframe != 2 && _currentframe != 3) {
gotoAndStop(2);
}
_root.health._x = _x + 8;
_root.health._y = _y - 25;
}
}
}
movieClip 625 {
}
instance bulleta of movieClip 625 {
onClipEvent (enterFrame) {
if (!_root.pause) {
_x = _x + 50 * Math.cos(rot * 0.0174532925199433);
_y = _y + 50 * Math.sin(rot * 0.0174532925199433);
_rotation = rot;
}
if (_x >= 750) {
this.removeMovieClip();
}
}
}
movieClip 626 {
}
instance bulletb of movieClip 626 {
onClipEvent (enterFrame) {
if (!_root.pause) {
_x = _x + 50 * Math.cos(rot * 0.0174532925199433);
_y = _y + 50 * Math.sin(rot * 0.0174532925199433);
_rotation = rot;
}
if (_x >= 750) {
this.removeMovieClip();
}
}
}
instance egga of movieClip 325 {
onClipEvent (load) {
ymov = Math.round(random(9) + 6);
xmov = ymov;
h = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (this.hitTest(_root.player) && _currentframe == 1 && _root.player._currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgga();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
if (_currentframe == 1) {
_x = _x - xmov;
}
if (_x <= -15) {
this.removeMovieClip();
}
}
}
}
movieClip 628 {
frame 8 {
stop();
}
}
movieClip 630 {
frame 1 {
stop();
}
frame 20 {
stop();
_root.nextFrame();
}
}
instance fadeOut of movieClip 630 {
onClipEvent (enterFrame) {
this.swapDepths(60000);
}
}
instance pauser of movieClip 375 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
_visible = true;
if (_alpha <= 100) {
_alpha = _alpha + 5;
}
} else {
_alpha = 0;
_visible = false;
}
this.swapDepths(4999);
}
}
instance widescreen of movieClip 377 {
onClipEvent (enterFrame) {
this.swapDepths(5001);
}
}
frame 10 {
stopAllSounds();
for (i in _root) {
_root[i].removeMovieClip();
}
_x = 0;
_y = 0;
stop();
_root.health.showa = false;
_root.health._alpha = 0;
_root.health._visible = false;
_root.health.dontShow = true;
}
movieClip 631 {
}
movieClip 633 {
}
movieClip 634 {
}
movieClip 635 {
}
movieClip 637 {
}
movieClip 638 {
}
movieClip 639 {
}
movieClip 649 {
}
movieClip 662 {
frame 199 {
_root.nextFrame();
}
}
frame 11 {
fadeIn.gotoAndPlay(1);
stop();
}
frame 11 {
function makeEgg() {
++c;
++e;
_root.egg.duplicateMovieClip('egg' + e, e);
_root.clock.duplicateMovieClip('clock' + c, c);
_root['egg' + e]._x = _root.eggx;
_root['egg' + e]._y = _root.eggy;
_root['clock' + c]._x = _root.eggx;
_root['clock' + c]._y = _root.eggy;
}
function makeBomb() {
++b;
_root.bomb.duplicateMovieClip('bomb' + b, b);
_root['bomb' + b]._x = _root.bush._x;
_root['bomb' + b]._y = _root.bush._y - 10;
}
function makeBullets() {
++shot;
++shotb;
if (shot >= 120) {
shot = 80;
}
if (shotb >= 79) {
shotb = 60;
}
_root.bulleta.duplicateMovieClip('bulleta' + shot, shot);
_root.bulletb.duplicateMovieClip('bulletb' + shotb, shotb);
if (player._xscale > 0) {
_root['bulleta' + shot]._x = _root.player._x + 49;
_root['bulleta' + shot]._y = _root.player._y + 81;
_root['bulletb' + shotb]._x = _root.player._x + 50;
_root['bulletb' + shotb]._y = _root.player._y + 71;
_root['bulleta' + shot].var1 = 1;
_root['bulletb' + shotb].var1 = 1;
} else {
_root['bulleta' + shot]._x = _root.player._x - 49;
_root['bulleta' + shot]._y = _root.player._y + 81;
_root['bulletb' + shotb]._x = _root.player._x - 50;
_root['bulletb' + shotb]._y = _root.player._y + 71;
_root['bulleta' + shot].var1 = 0;
_root['bulletb' + shotb].var1 = 0;
}
}
function makeBulletBoom() {
if (!pause) {
++bb;
_root.bulletboom.duplicateMovieClip('bulletboom' + bb, bb);
_root['bulletboom' + bb].gotoAndPlay(1);
_root['bulletboom' + bb]._x = _root.bbx;
_root['bulletboom' + bb]._y = _root.bby;
if (_root['bulleta' + shot].var1 == 1) {
_root['bulletboom' + bb]._xscale = _root.bulletboom.scale;
} else {
_root['bulletboom' + bb]._xscale = -_root.bulletboom.scale;
}
}
}
function makeBall() {
if (!pause) {
++ba;
_root.balla.duplicateMovieClip('balla' + ba, ba);
_root['balla' + ba]._x = endx;
_root['balla' + ba]._y = endy;
}
}
c = 100;
e = 0;
s = 300;
b = 50;
shot = 80;
shotb = 60;
bb = 20;
ba = 250;
}
frame 11 {
_root.shootSound = new Sound();
_root.shootSound.attachSound('shootSound');
onEnterFrame = function () {
if (Key.isDown(80) && !_root.pause && !hold) {
_root.pause = true;
hold = true;
}
if (!Key.isDown(80) && _root.pause == true) {
hold = false;
}
if (Key.isDown(80) && _root.pause && !hold) {
_root.pause = false;
hold = true;
}
if (!Key.isDown(80) && _root.pause == false) {
hold = false;
}
};
_x = 0;
_y = 0;
_root.health.showa = false;
_root.health._alpha = 0;
_root.health._visible = true;
_root.checkPoint = _currentframe;
_root.health.dontShow = false;
}
movieClip 665 {
}
movieClip 666 {
}
movieClip 667 {
}
movieClip 668 {
}
instance back of movieClip 668 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
movieClip 670 {
}
movieClip 672 {
}
movieClip 674 {
}
movieClip 675 {
instance of movieClip 670 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 672 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 674 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 672 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 670 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 672 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 674 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 672 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 674 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 670 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 672 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 674 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 672 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 672 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 674 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 670 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 672 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 674 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 672 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 674 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 670 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 672 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 674 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 672 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 672 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 674 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 670 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 672 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 674 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 672 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 674 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 670 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 672 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 674 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 672 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 670 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 672 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 674 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 672 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
}
movieClip 677 {
}
movieClip 679 {
}
movieClip 681 {
}
movieClip 682 {
instance of movieClip 677 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 679 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 681 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 677 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 679 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 681 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 677 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 679 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 681 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 677 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 679 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 681 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 679 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 681 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 677 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 679 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 681 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 679 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 681 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 677 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 679 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 681 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 681 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 677 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 679 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 681 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 681 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
}
movieClip 684 {
}
movieClip 686 {
}
movieClip 688 {
}
movieClip 689 {
instance of movieClip 684 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 686 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 688 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 688 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 684 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 686 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 688 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 688 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 684 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 686 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
}
movieClip 691 {
}
movieClip 693 {
}
movieClip 695 {
}
movieClip 696 {
instance of movieClip 693 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 695 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 693 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 695 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 693 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 695 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 693 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 695 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 693 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 695 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 693 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 695 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 693 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 695 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 693 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 695 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 693 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 695 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 693 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 695 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 693 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 695 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 693 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 695 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 693 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 695 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 693 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 695 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 693 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 695 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 693 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 695 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 693 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 695 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 693 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 695 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 693 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 695 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 693 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 695 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
}
movieClip 698 {
frame 32 {
stop();
}
}
instance bulletboom of movieClip 698 {
onClipEvent (load) {
scale = _xscale;
}
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
if (_currentframe != 32) {
this.play();
}
}
}
}
movieClip 700 {
}
movieClip 701 {
frame 1 {
stop();
}
frame 2 {
++_root.eggs;
_root.score += 5;
}
frame 9 {
stop();
}
}
instance egg of movieClip 701 {
onClipEvent (load) {
var friction = 1.05;
var yspeed = 0;
var xspeed = 0;
var i = 0;
var1 = 0;
h = _height / 2;
w = _width / 2;
xspeeda = -10 + random(20);
yspeeda = -random(20);
drag = 0.98;
bounce = 1;
gravity = 1;
a = 0;
aa = 0;
rot = random(13);
y = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause && _name != 'egg') {
_rotation = _rotation + rot;
if (var1 == 0) {
++a;
_root.speed = this.xspeeda;
if (!dragging) {
_x = _x + xspeeda;
_y = _y + yspeeda - 0.29;
yspeeda = yspeeda * drag + gravity;
xspeeda *= drag;
} else {
xspeeda = _x - oldx;
yspeeda = _y - oldy;
oldx = _x;
oldy = _y;
}
}
if (a >= 25) {
a = 0;
var1 = 1;
}
if (var1 == 1) {
++aa;
_y = _y + yspeed;
_x = _x + xspeed;
xspeed /= friction;
yspeed /= friction;
xspeed -= (_x - _root.player._x) / (random(35) + 14);
yspeed -= (_y - _root.player._y) / (random(35) + 14);
if (_y <= _root.player._y) {
_y = _y + (random(4) + 1);
}
if (_y >= _root.player._y) {
_y = _y - (random(4) + 1);
}
if (_x >= _root.player._x && i == 0) {
++i;
}
if (_x <= _root.player._x && i == 1) {
++i;
}
if (_x >= _root.player._x && i == 2) {
++i;
}
if (i >= 3 && this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndPlay(2);
xspeed = 0;
yspeed = 0;
}
}
}
if (!_root.pause && _currentframe > 1 && _currentframe != 9) {
play();
}
if (_currentframe >= 2) {
++y;
}
if (y >= 60) {
this.removeMovieClip();
}
}
}
movieClip 703 {
}
movieClip 704 {
frame 1 {
stop();
}
frame 9 {
stop();
}
}
instance clock of movieClip 704 {
onClipEvent (load) {
var friction = 1.05;
var yspeed = 0;
var xspeed = 0;
var i = 0;
var1 = 0;
h = _height / 2;
w = _width / 2;
xspeeda = -10 + random(20);
yspeeda = -random(20);
drag = 0.98;
bounce = 1;
gravity = 1;
a = 0;
aa = 0;
rot = random(13);
y = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause && _name != 'clock') {
_rotation = _rotation + rot;
if (var1 == 0) {
++a;
_root.speed = this.xspeeda;
if (!dragging) {
_x = _x + xspeeda;
_y = _y + yspeeda - 0.29;
yspeeda = yspeeda * drag + gravity;
xspeeda *= drag;
} else {
xspeeda = _x - oldx;
yspeeda = _y - oldy;
oldx = _x;
oldy = _y;
}
}
if (a >= 25) {
a = 0;
var1 = 1;
}
if (var1 == 1) {
++aa;
_y = _y + yspeed;
_x = _x + xspeed;
xspeed /= friction;
yspeed /= friction;
xspeed -= (_x - _root.player._x) / (random(35) + 14);
yspeed -= (_y - _root.player._y) / (random(35) + 14);
if (_y <= _root.player._y) {
_y = _y + (random(4) + 1);
}
if (_y >= _root.player._y) {
_y = _y - (random(4) + 1);
}
if (_x >= _root.player._x && i == 0) {
++i;
}
if (_x <= _root.player._x && i == 1) {
++i;
}
if (_x >= _root.player._x && i == 2) {
++i;
}
if (i >= 3 && this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndPlay(2);
xspeed = 0;
yspeed = 0;
}
}
}
if (!_root.pause && _currentframe > 1 && _currentframe != 9) {
play();
}
if (_currentframe >= 2) {
++y;
}
if (y >= 60) {
this.removeMovieClip();
}
}
}
movieClip 739 {
frame 1 {
stop();
}
frame 30 {
stop();
}
}
movieClip 741 {
}
movieClip 746 {
}
movieClip 747 {
}
movieClip 749 {
frame 30 {
_parent.gotoAndStop(1);
}
}
movieClip 750 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance of movieClip 749 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
}
instance of movieClip 750 {
onClipEvent (enterFrame) {
if (this.top.hitTest(_root.player.base) && _root.player.grounded != true && _root.player.yspeed >= 3) {
_root.player.yspeed = -35;
this.gotoAndStop(2);
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.grounded = false;
}
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
movieClip 752 {
}
instance of movieClip 752 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 752 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 750 {
onClipEvent (enterFrame) {
if (this.top.hitTest(_root.player.base) && _root.player.grounded != true && _root.player.yspeed >= 3) {
_root.player.yspeed = -35;
this.gotoAndStop(2);
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.grounded = false;
}
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 752 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 750 {
onClipEvent (enterFrame) {
if (this.top.hitTest(_root.player.base) && _root.player.grounded != true && _root.player.yspeed >= 3) {
_root.player.yspeed = -35;
this.gotoAndStop(2);
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.grounded = false;
}
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
movieClip 754 {
}
instance lol of movieClip 754 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.land.thing._currentframe == 1 && var1 == 1) {
_root.land.thing.play();
}
}
}
instance of movieClip 752 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 750 {
onClipEvent (enterFrame) {
if (this.top.hitTest(_root.player.base) && _root.player.grounded != true && _root.player.yspeed >= 3) {
_root.player.yspeed = -35;
this.gotoAndStop(2);
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.grounded = false;
}
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 752 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 752 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 750 {
onClipEvent (enterFrame) {
if (this.top.hitTest(_root.player.base) && _root.player.grounded != true && _root.player.yspeed >= 3) {
_root.player.yspeed = -35;
this.gotoAndStop(2);
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.grounded = false;
}
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 750 {
onClipEvent (enterFrame) {
if (this.top.hitTest(_root.player.base) && _root.player.grounded != true && _root.player.yspeed >= 3) {
_root.player.yspeed = -35;
this.gotoAndStop(2);
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.grounded = false;
}
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 750 {
onClipEvent (enterFrame) {
if (this.top.hitTest(_root.player.base) && _root.player.grounded != true && _root.player.yspeed >= 3) {
_root.player.yspeed = -65;
this.gotoAndStop(2);
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.grounded = false;
}
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 752 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 752 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
movieClip 755 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance of movieClip 749 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
}
instance of movieClip 755 {
onClipEvent (load) {
dx = _x;
}
onClipEvent (enterFrame) {
if (this.top.hitTest(_root.player.base) && _root.player.grounded != true) {
_root.player.yspeed = -20;
this.gotoAndStop(2);
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.grounded = false;
}
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
if (_x > dx - 400 && var1 != 1) {
_x = _x - 3;
} else {
var1 = 1;
}
if (var1 == 1 && _x <= dx) {
_x = _x + 3;
} else {
var1 = 0;
}
}
}
movieClip 757 {
}
movieClip 759 {
}
movieClip 760 {
}
movieClip 761 {
frame 1 {
stop();
}
}
movieClip 762 {
}
instance of movieClip 762 {
onClipEvent (enterFrame) {
if (this.top.hitTest(_root.player.base) && _root.player.grounded != true && _root.player.yspeed >= 3) {
_root.player.yspeed = -35;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.grounded = false;
this.top.play();
}
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 762 {
onClipEvent (enterFrame) {
if (this.top.hitTest(_root.player.base) && _root.player.grounded != true && _root.player.yspeed >= 3) {
_root.player.yspeed = -35;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.grounded = false;
this.top.play();
}
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 762 {
onClipEvent (enterFrame) {
if (this.top.hitTest(_root.player.base) && _root.player.grounded != true && _root.player.yspeed >= 3) {
_root.player.yspeed = -35;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.grounded = false;
_root.fadeOut.play();
this.top.play();
}
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
movieClip 764 {
}
movieClip 766 {
}
movieClip 767 {
}
movieClip 769 {
}
movieClip 770 {
}
movieClip 771 {
frame 10 {
_parent.gotoAndStop(4);
}
}
movieClip 773 {
}
movieClip 774 {
}
movieClip 775 {
frame 6 {
_parent.gotoAndStop(4);
}
}
movieClip 777 {
}
movieClip 779 {
}
movieClip 780 {
frame 1 {
stop();
}
instance of movieClip 767 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 770 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 771 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 773 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 774 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 775 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
frame 7 {
++_root.enemies;
_root.score += 25;
}
instance of movieClip 777 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation - rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 779 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation - rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 219 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
if (_currentframe != 21) {
this.play();
}
}
}
}
}
instance of movieClip 780 {
onClipEvent (load) {
speed = 4;
h = _height / 2;
w = _width / 2;
grav = 1;
yspeed = 0;
scale = _xscale;
hit = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_y = _y + yspeed;
yspeed += grav;
if (_root.land.hitTest(_x, _y + h - 10, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 10, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 300 && _currentframe != 6 && _currentframe != 3 && _currentframe != 7) {
if (ballFly != true) {
if (!this.base.hitTest(_root.player)) {
if (_x >= _root.player._x) {
_x = _x - speed;
this.gotoAndStop(2);
_xscale = -scale;
}
if (_x <= _root.player._x) {
_x = _x + speed;
this.gotoAndStop(2);
_xscale = scale;
}
}
}
if (ballFly == true) {
if (!this.base.hitTest(_root.player)) {
if (_x >= _root.player._x) {
_x = _x - speed;
this.gotoAndStop(5);
_xscale = -scale;
}
if (_x <= _root.player._x) {
_x = _x + speed;
this.gotoAndStop(5);
_xscale = scale;
}
}
}
} else {
if (_currentframe != 3 && _currentframe != 6 && _currentframe != 2 && _currentframe != 5 && _currentframe != 7) {
if (ballFly != true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(4);
}
}
}
if (this.base.hitTest(_root.player.top) && _root.player.top._currentframe == 3 && ballFly != true && _currentframe != 7) {
this.gotoAndStop(3);
_root.endx = _x - 10;
_root.endy = _y - 10;
_root.makeBall();
ballFly = true;
}
if (ballFly == true && _currentframe != 7) {
i = 80;
while (i <= 120) {
if (this.base.hitTest(_root['bulleta' + i])) {
this.gotoAndStop(6);
_root['bulleta' + i].boom = true;
++hit;
}
++i;
}
z = 60;
while (z <= 79) {
if (this.base.hitTest(_root['bulletb' + z])) {
this.gotoAndStop(6);
_root['bulletb' + z].boom = true;
++hit;
}
++z;
}
} else {
i = 80;
while (i <= 120) {
if (this.base.hitTest(_root['bulleta' + i])) {
_root['bulleta' + i].boom = true;
}
++i;
}
z = 60;
while (z <= 79) {
if (this.base.hitTest(_root['bulletb' + z])) {
_root['bulletb' + z].boom = true;
}
++z;
}
}
if (hit >= 30 && _currentframe != 7) {
this.gotoAndStop(7);
}
if (this.hitTest(_root.player.base) && _root.blink._currentframe == 1 && _currentframe != 3 && _currentframe != 7 && _root.player._currentframe != 3) {
_root.blink.play();
}
}
}
}
instance of movieClip 780 {
onClipEvent (load) {
speed = 4;
h = _height / 2;
w = _width / 2;
grav = 1;
yspeed = 0;
scale = _xscale;
hit = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause && this.hitTest(_root.gradient)) {
_y = _y + yspeed;
yspeed += grav;
if (_root.land.hitTest(_x, _y + h - 10, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 10, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 300 && _currentframe != 6 && _currentframe != 3 && _currentframe != 7) {
if (ballFly != true) {
if (!this.base.hitTest(_root.player)) {
if (_x >= _root.player._x) {
_x = _x - speed;
this.gotoAndStop(2);
_xscale = -scale;
}
if (_x <= _root.player._x) {
_x = _x + speed;
this.gotoAndStop(2);
_xscale = scale;
}
}
}
if (ballFly == true) {
if (!this.base.hitTest(_root.player)) {
if (_x >= _root.player._x) {
_x = _x - speed;
this.gotoAndStop(5);
_xscale = -scale;
}
if (_x <= _root.player._x) {
_x = _x + speed;
this.gotoAndStop(5);
_xscale = scale;
}
}
}
} else {
if (_currentframe != 3 && _currentframe != 6 && _currentframe != 2 && _currentframe != 5 && _currentframe != 7) {
if (ballFly != true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(4);
}
}
}
if (this.base.hitTest(_root.player.top) && _root.player.top._currentframe == 3 && ballFly != true && _currentframe != 7) {
this.gotoAndStop(3);
_root.endx = _x - 10;
_root.endy = _y - 10;
_root.makeBall();
ballFly = true;
}
if (ballFly == true && _currentframe != 7) {
i = 80;
while (i <= 120) {
if (this.base.hitTest(_root['bulleta' + i])) {
this.gotoAndStop(6);
_root['bulleta' + i].boom = true;
++hit;
}
++i;
}
z = 60;
while (z <= 79) {
if (this.base.hitTest(_root['bulletb' + z])) {
this.gotoAndStop(6);
_root['bulletb' + z].boom = true;
++hit;
}
++z;
}
} else {
i = 80;
while (i <= 120) {
if (this.base.hitTest(_root['bulleta' + i])) {
_root['bulleta' + i].boom = true;
}
++i;
}
z = 60;
while (z <= 79) {
if (this.base.hitTest(_root['bulletb' + z])) {
_root['bulletb' + z].boom = true;
}
++z;
}
}
if (hit >= 30 && _currentframe != 7) {
this.gotoAndStop(7);
}
if (this.hitTest(_root.player.base) && _root.blink._currentframe == 1 && _currentframe != 3 && _currentframe != 7 && _root.player._currentframe != 3) {
_root.blink.play();
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(7);
dead = true;
}
}
if (!this.hitTest(_root.gradient)) {
_visible = false;
} else {
_visible = true;
}
}
}
movieClip 786 {
}
movieClip 788 {
}
movieClip 789 {
frame 1 {
stop();
}
frame 8 {
stop();
}
}
movieClip 790 {
instance of movieClip 789 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 789 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 789 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 789 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 789 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 789 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 789 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 789 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 789 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 789 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 789 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 789 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 789 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
frame 25 {
stop();
}
}
movieClip 791 {
frame 26 {
_parent.gotoAndStop(1);
}
}
movieClip 792 {
frame 6 {
_parent.gotoAndStop(1);
}
}
movieClip 793 {
frame 1 {
stop();
}
instance of movieClip 786 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
frame 3 {
++_root.enemies;
_root.score += 20;
}
instance of movieClip 790 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
if (_currentframe != 25) {
this.play();
}
}
}
}
instance attack of movieClip 791 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 792 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
}
instance of movieClip 793 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = -_xscale;
_xscale = scale;
var hit = 0;
z = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause && this.hitTest(_root.gradient)) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 400 && !dead && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 0.7;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 0.7;
_xscale = -scale;
this.gotoAndStop(2);
}
} else {
if (!dead && _currentframe != 4 && _currentframe != 5) {
this.gotoAndStop(1);
}
}
++z;
if (z >= 80) {
attackReady = true;
}
if (d <= 180 && !dead && _currentframe != 4 && _root.player.grounded && attackReady && _currentframe != 5) {
this.gotoAndStop(4);
attackReady = false;
z = 0;
}
if (this.hitTest(_root.player) && _root.player._currentframe != 4 && _root.blink._currentframe == 1 && _currentframe != 3 && _currentframe == 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5 && this.attack._currentframe >= 10 && this.attack._currentframe <= 23) {
_root.blink.play();
}
if (this.hitTest(_root.player) && _root.player._currentframe == 4 && _root.player.stomp._currentframe == 19 && _currentframe == 4) {
_root.blink.play();
}
if (this.top.hitTest(_root.player.base) && _root.player.yspeed >= 3 && _root.player.grounded == false && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
_root.blink.play();
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
}
if (this.top.hitTest(_root.player.base) && _currentframe == 4 && this.attack._currentframe >= 10 && this.attack._currentframe <= 28 && _root.player.grounded == false && _root.player.yspeed >= 3) {
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
dead = true;
gotoAndStop(3);
}
if (hit >= 20 && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
if (_currentframe != 5 && _currentframe != 3) {
i = 80;
while (i <= 120) {
if (this.hitTest(_root['bulleta' + i])) {
this.gotoAndStop(5);
++hit;
_root['bulleta' + i].boom = true;
}
++i;
}
q = 60;
while (q <= 79) {
if (this.hitTest(_root['bulletb' + q])) {
this.gotoAndStop(5);
++hit;
_root['bulletb' + q].boom = true;
}
++q;
}
}
if (this.hitTest(_root.player.top) && _root.player.top._currentframe == 3 && _currentframe != 5 && _currentframe != 3) {
this.gotoAndStop(5);
hit += 13;
}
if (this.hitTest(_root.player.base) && _currentframe != 3 && _currentframe != 5) {
this.gotoAndStop(4);
}
if (!this.hitTest(_root.gradient)) {
_visible = false;
} else {
_visible = true;
}
}
}
instance of movieClip 793 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = -_xscale;
_xscale = scale;
var hit = 0;
z = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause && this.hitTest(_root.gradient)) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 25, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 25, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 400 && !dead && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 0.7;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 0.7;
_xscale = -scale;
this.gotoAndStop(2);
}
} else {
if (!dead && _currentframe != 4 && _currentframe != 5) {
this.gotoAndStop(1);
}
}
++z;
if (z >= 80) {
attackReady = true;
}
if (d <= 180 && !dead && _currentframe != 4 && _root.player.grounded && attackReady && _currentframe != 5) {
this.gotoAndStop(4);
attackReady = false;
z = 0;
}
if (this.hitTest(_root.player) && _root.player._currentframe != 4 && _root.blink._currentframe == 1 && _currentframe != 3 && _currentframe == 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5 && this.attack._currentframe >= 10 && this.attack._currentframe <= 23) {
_root.blink.play();
}
if (this.hitTest(_root.player) && _root.player._currentframe == 4 && _root.player.stomp._currentframe == 19 && _currentframe == 4) {
_root.blink.play();
}
if (this.top.hitTest(_root.player.base) && _root.player.yspeed >= 3 && _root.player.grounded == false && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
_root.blink.play();
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
}
if (this.top.hitTest(_root.player.base) && _currentframe == 4 && this.attack._currentframe >= 10 && this.attack._currentframe <= 28 && _root.player.grounded == false && _root.player.yspeed >= 3) {
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
dead = true;
gotoAndStop(3);
}
if (hit >= 20 && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
if (_currentframe != 5 && _currentframe != 3) {
i = 80;
while (i <= 120) {
if (this.hitTest(_root['bulleta' + i])) {
this.gotoAndStop(5);
++hit;
_root['bulleta' + i].boom = true;
}
++i;
}
q = 60;
while (q <= 79) {
if (this.hitTest(_root['bulletb' + q])) {
this.gotoAndStop(5);
++hit;
_root['bulletb' + q].boom = true;
}
++q;
}
}
if (this.hitTest(_root.player.top) && _root.player.top._currentframe == 3 && _currentframe != 5 && _currentframe != 3) {
this.gotoAndStop(5);
hit += 13;
}
if (this.hitTest(_root.player.base) && _currentframe != 3 && _currentframe != 5) {
this.gotoAndStop(4);
}
if (!this.hitTest(_root.gradient)) {
_visible = false;
} else {
_visible = true;
}
}
}
instance of movieClip 780 {
onClipEvent (load) {
speed = 4;
h = _height / 2;
w = _width / 2;
grav = 1;
yspeed = 0;
scale = _xscale;
hit = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause && this.hitTest(_root.gradient)) {
_y = _y + yspeed;
yspeed += grav;
if (_root.land.hitTest(_x, _y + h - 10, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 10, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 300 && _currentframe != 6 && _currentframe != 3 && _currentframe != 7) {
if (ballFly != true) {
if (!this.base.hitTest(_root.player)) {
if (_x >= _root.player._x) {
_x = _x - speed;
this.gotoAndStop(2);
_xscale = -scale;
}
if (_x <= _root.player._x) {
_x = _x + speed;
this.gotoAndStop(2);
_xscale = scale;
}
}
}
if (ballFly == true) {
if (!this.base.hitTest(_root.player)) {
if (_x >= _root.player._x) {
_x = _x - speed;
this.gotoAndStop(5);
_xscale = -scale;
}
if (_x <= _root.player._x) {
_x = _x + speed;
this.gotoAndStop(5);
_xscale = scale;
}
}
}
} else {
if (_currentframe != 3 && _currentframe != 6 && _currentframe != 2 && _currentframe != 5 && _currentframe != 7) {
if (ballFly != true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(4);
}
}
}
if (this.base.hitTest(_root.player.top) && _root.player.top._currentframe == 3 && ballFly != true && _currentframe != 7) {
this.gotoAndStop(3);
_root.endx = _x - 10;
_root.endy = _y - 10;
_root.makeBall();
ballFly = true;
}
if (ballFly == true && _currentframe != 7) {
i = 80;
while (i <= 120) {
if (this.base.hitTest(_root['bulleta' + i])) {
this.gotoAndStop(6);
_root['bulleta' + i].boom = true;
++hit;
}
++i;
}
z = 60;
while (z <= 79) {
if (this.base.hitTest(_root['bulletb' + z])) {
this.gotoAndStop(6);
_root['bulletb' + z].boom = true;
++hit;
}
++z;
}
} else {
i = 80;
while (i <= 120) {
if (this.base.hitTest(_root['bulleta' + i])) {
_root['bulleta' + i].boom = true;
}
++i;
}
z = 60;
while (z <= 79) {
if (this.base.hitTest(_root['bulletb' + z])) {
_root['bulletb' + z].boom = true;
}
++z;
}
}
if (hit >= 30 && _currentframe != 7) {
this.gotoAndStop(7);
}
if (this.hitTest(_root.player.base) && _root.blink._currentframe == 1 && _currentframe != 3 && _currentframe != 7 && _root.player._currentframe != 3) {
_root.blink.play();
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(7);
dead = true;
}
}
if (!this.hitTest(_root.gradient)) {
_visible = false;
} else {
_visible = true;
}
}
}
movieClip 794 {
frame 1 {
stop();
}
instance of movieClip 786 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
frame 3 {
++_root.enemies;
_root.score += 20;
}
instance of movieClip 790 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
if (_currentframe != 25) {
this.play();
}
}
}
}
instance attack of movieClip 791 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 792 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
}
instance of movieClip 794 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = -_xscale;
_xscale = scale;
var hit = 0;
z = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause && this.hitTest(_root.gradient)) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 400 && !dead && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 0.7;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 0.7;
_xscale = -scale;
this.gotoAndStop(2);
}
} else {
if (!dead && _currentframe != 4 && _currentframe != 5) {
this.gotoAndStop(1);
}
}
++z;
if (z >= 80) {
attackReady = true;
}
if (d <= 180 && !dead && _currentframe != 4 && _root.player.grounded && attackReady && _currentframe != 5) {
this.gotoAndStop(4);
attackReady = false;
z = 0;
}
if (this.hitTest(_root.player) && _root.player._currentframe != 4 && _root.blink._currentframe == 1 && _currentframe != 3 && _currentframe == 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5 && this.attack._currentframe >= 10 && this.attack._currentframe <= 23) {
_root.blink.play();
}
if (this.hitTest(_root.player) && _root.player._currentframe == 4 && _root.player.stomp._currentframe == 19 && _currentframe == 4) {
_root.blink.play();
}
if (this.top.hitTest(_root.player.base) && _root.player.yspeed >= 3 && _root.player.grounded == false && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
_root.blink.play();
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
}
if (this.top.hitTest(_root.player.base) && _currentframe == 4 && this.attack._currentframe >= 10 && this.attack._currentframe <= 28 && _root.player.grounded == false && _root.player.yspeed >= 3) {
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
dead = true;
gotoAndStop(3);
}
if (hit >= 20 && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
if (_currentframe != 5 && _currentframe != 3) {
i = 80;
while (i <= 120) {
if (this.hitTest(_root['bulleta' + i])) {
this.gotoAndStop(5);
++hit;
_root['bulleta' + i].boom = true;
}
++i;
}
q = 60;
while (q <= 79) {
if (this.hitTest(_root['bulletb' + q])) {
this.gotoAndStop(5);
++hit;
_root['bulletb' + q].boom = true;
}
++q;
}
}
if (this.hitTest(_root.player.top) && _root.player.top._currentframe == 3 && _currentframe != 5 && _currentframe != 3) {
this.gotoAndStop(5);
hit += 13;
}
if (this.hitTest(_root.player.base) && _currentframe != 3 && _currentframe != 5) {
this.gotoAndStop(4);
}
if (!this.hitTest(_root.gradient)) {
_visible = false;
} else {
_visible = true;
}
}
}
movieClip 795 {
frame 1 {
stop();
}
frame 7 {
++_root.enemies;
_root.score += 25;
}
instance of movieClip 777 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation - rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 779 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation - rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 795 {
onClipEvent (load) {
speed = 4;
h = _height / 2;
w = _width / 2;
grav = 1;
yspeed = 0;
scale = _xscale;
hit = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause && this.hitTest(_root.gradient)) {
_y = _y + yspeed;
yspeed += grav;
if (_root.land.hitTest(_x, _y + h - 10, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 10, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 300 && _currentframe != 6 && _currentframe != 3 && _currentframe != 7) {
if (ballFly != true) {
if (!this.base.hitTest(_root.player)) {
if (_x >= _root.player._x) {
_x = _x - speed;
this.gotoAndStop(2);
_xscale = -scale;
}
if (_x <= _root.player._x) {
_x = _x + speed;
this.gotoAndStop(2);
_xscale = scale;
}
}
}
if (ballFly == true) {
if (!this.base.hitTest(_root.player)) {
if (_x >= _root.player._x) {
_x = _x - speed;
this.gotoAndStop(5);
_xscale = -scale;
}
if (_x <= _root.player._x) {
_x = _x + speed;
this.gotoAndStop(5);
_xscale = scale;
}
}
}
} else {
if (_currentframe != 3 && _currentframe != 6 && _currentframe != 2 && _currentframe != 5 && _currentframe != 7) {
if (ballFly != true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(4);
}
}
}
if (this.base.hitTest(_root.player.top) && _root.player.top._currentframe == 3 && ballFly != true && _currentframe != 7) {
this.gotoAndStop(3);
_root.endx = _x - 10;
_root.endy = _y - 10;
_root.makeBall();
ballFly = true;
}
if (ballFly == true && _currentframe != 7) {
i = 80;
while (i <= 120) {
if (this.base.hitTest(_root['bulleta' + i])) {
this.gotoAndStop(6);
_root['bulleta' + i].boom = true;
++hit;
}
++i;
}
z = 60;
while (z <= 79) {
if (this.base.hitTest(_root['bulletb' + z])) {
this.gotoAndStop(6);
_root['bulletb' + z].boom = true;
++hit;
}
++z;
}
} else {
i = 80;
while (i <= 120) {
if (this.base.hitTest(_root['bulleta' + i])) {
_root['bulleta' + i].boom = true;
}
++i;
}
z = 60;
while (z <= 79) {
if (this.base.hitTest(_root['bulletb' + z])) {
_root['bulletb' + z].boom = true;
}
++z;
}
}
if (hit >= 30 && _currentframe != 7) {
this.gotoAndStop(7);
}
if (this.hitTest(_root.player.base) && _root.blink._currentframe == 1 && _currentframe != 3 && _currentframe != 7 && _root.player._currentframe != 3) {
_root.blink.play();
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(7);
dead = true;
}
}
if (!this.hitTest(_root.gradient)) {
_visible = false;
} else {
_visible = true;
}
}
}
movieClip 796 {
frame 1 {
stop();
}
frame 7 {
++_root.enemies;
_root.score += 25;
}
instance of movieClip 777 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation - rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 779 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation - rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 796 {
onClipEvent (load) {
speed = 4;
h = _height / 2;
w = _width / 2;
grav = 1;
yspeed = 0;
scale = _xscale;
hit = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause && this.hitTest(_root.gradient)) {
_y = _y + yspeed;
yspeed += grav;
if (_root.land.hitTest(_x, _y + h - 10, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 10, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 300 && _currentframe != 6 && _currentframe != 3 && _currentframe != 7) {
if (ballFly != true) {
if (!this.base.hitTest(_root.player)) {
if (_x >= _root.player._x) {
_x = _x - speed;
this.gotoAndStop(2);
_xscale = -scale;
}
if (_x <= _root.player._x) {
_x = _x + speed;
this.gotoAndStop(2);
_xscale = scale;
}
}
}
if (ballFly == true) {
if (!this.base.hitTest(_root.player)) {
if (_x >= _root.player._x) {
_x = _x - speed;
this.gotoAndStop(5);
_xscale = -scale;
}
if (_x <= _root.player._x) {
_x = _x + speed;
this.gotoAndStop(5);
_xscale = scale;
}
}
}
} else {
if (_currentframe != 3 && _currentframe != 6 && _currentframe != 2 && _currentframe != 5 && _currentframe != 7) {
if (ballFly != true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(4);
}
}
}
if (this.base.hitTest(_root.player.top) && _root.player.top._currentframe == 3 && ballFly != true && _currentframe != 7) {
this.gotoAndStop(3);
_root.endx = _x - 10;
_root.endy = _y - 10;
_root.makeBall();
ballFly = true;
}
if (ballFly == true && _currentframe != 7) {
i = 80;
while (i <= 120) {
if (this.base.hitTest(_root['bulleta' + i])) {
this.gotoAndStop(6);
_root['bulleta' + i].boom = true;
++hit;
}
++i;
}
z = 60;
while (z <= 79) {
if (this.base.hitTest(_root['bulletb' + z])) {
this.gotoAndStop(6);
_root['bulletb' + z].boom = true;
++hit;
}
++z;
}
} else {
i = 80;
while (i <= 120) {
if (this.base.hitTest(_root['bulleta' + i])) {
_root['bulleta' + i].boom = true;
}
++i;
}
z = 60;
while (z <= 79) {
if (this.base.hitTest(_root['bulletb' + z])) {
_root['bulletb' + z].boom = true;
}
++z;
}
}
if (hit >= 30 && _currentframe != 7) {
this.gotoAndStop(7);
}
if (this.hitTest(_root.player.base) && _root.blink._currentframe == 1 && _currentframe != 3 && _currentframe != 7 && _root.player._currentframe != 3) {
_root.blink.play();
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(7);
dead = true;
}
}
if (!this.hitTest(_root.gradient)) {
_visible = false;
} else {
_visible = true;
}
}
}
instance of movieClip 793 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = -_xscale;
_xscale = scale;
var hit = 0;
z = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause && this.hitTest(_root.gradient)) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 400 && !dead && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 0.7;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 0.7;
_xscale = -scale;
this.gotoAndStop(2);
}
} else {
if (!dead && _currentframe != 4 && _currentframe != 5) {
this.gotoAndStop(1);
}
}
++z;
if (z >= 80) {
attackReady = true;
}
if (d <= 180 && !dead && _currentframe != 4 && _root.player.grounded && attackReady && _currentframe != 5) {
this.gotoAndStop(4);
attackReady = false;
z = 0;
}
if (this.hitTest(_root.player) && _root.player._currentframe != 4 && _root.blink._currentframe == 1 && _currentframe != 3 && _currentframe == 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5 && this.attack._currentframe >= 10 && this.attack._currentframe <= 23) {
_root.blink.play();
}
if (this.hitTest(_root.player) && _root.player._currentframe == 4 && _root.player.stomp._currentframe == 19 && _currentframe == 4) {
_root.blink.play();
}
if (this.top.hitTest(_root.player.base) && _root.player.yspeed >= 3 && _root.player.grounded == false && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
_root.blink.play();
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
}
if (this.top.hitTest(_root.player.base) && _currentframe == 4 && this.attack._currentframe >= 10 && this.attack._currentframe <= 28 && _root.player.grounded == false && _root.player.yspeed >= 3) {
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
dead = true;
gotoAndStop(3);
}
if (hit >= 20 && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
if (_currentframe != 5 && _currentframe != 3) {
i = 80;
while (i <= 120) {
if (this.hitTest(_root['bulleta' + i])) {
this.gotoAndStop(5);
++hit;
_root['bulleta' + i].boom = true;
}
++i;
}
q = 60;
while (q <= 79) {
if (this.hitTest(_root['bulletb' + q])) {
this.gotoAndStop(5);
++hit;
_root['bulletb' + q].boom = true;
}
++q;
}
}
if (this.hitTest(_root.player.top) && _root.player.top._currentframe == 3 && _currentframe != 5 && _currentframe != 3) {
this.gotoAndStop(5);
hit += 13;
}
if (this.hitTest(_root.player.base) && _currentframe != 3 && _currentframe != 5) {
this.gotoAndStop(4);
}
if (!this.hitTest(_root.gradient)) {
_visible = false;
} else {
_visible = true;
}
}
}
movieClip 797 {
}
movieClip 798 {
}
movieClip 800 {
}
movieClip 801 {
}
movieClip 802 {
}
movieClip 803 {
}
movieClip 804 {
}
movieClip 805 {
}
movieClip 806 {
}
movieClip 807 {
}
movieClip 808 {
}
movieClip 809 {
}
movieClip 810 {
}
movieClip 811 {
}
movieClip 812 {
}
movieClip 814 {
}
movieClip 815 {
}
movieClip 816 {
}
movieClip 817 {
}
movieClip 818 {
frame 19 {
_parent.gotoAndStop(1);
}
}
movieClip 819 {
frame 1 {
stop();
}
instance of movieClip 816 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 817 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 818 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
}
movieClip 820 {
}
movieClip 821 {
}
movieClip 822 {
}
movieClip 823 {
}
movieClip 825 {
frame 19 {
_parent.gotoAndStop(1);
}
}
movieClip 826 {
frame 1 {
stop();
}
instance of movieClip 822 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 823 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 825 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
}
movieClip 828 {
}
movieClip 829 {
instance of movieClip 289 {
onClipEvent (enterFrame) {
if (_root.player.grounded == true) {
this.play();
}
}
}
instance of movieClip 290 {
onClipEvent (enterFrame) {
if (_root.player.grounded == true) {
this.play();
}
}
}
}
movieClip 830 {
frame 3 {
if (_root.player.yspeed > -5) {
_root.player.yspeed = -_root.player.jump;
}
_root.player.grounded = false;
}
frame 4 {
_root.player.grounded = false;
}
frame 8 {
stop();
}
frame 13 {
_parent.gotoAndStop(1);
}
}
movieClip 831 {
frame 1 {
stop();
}
instance bottom of movieClip 798 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 815 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance ball of movieClip 821 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 829 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance jumpa of movieClip 830 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
if (_currentframe < 8) {
this.play();
}
}
}
}
}
instance player of movieClip 831 {
onClipEvent (load) {
var xspeed = 5;
var yspeed = 0;
var grav = 2;
var w = _width / 2;
var h = _height / 2;
var scale = _xscale;
var cx = _x;
var cy = _y;
var camChange = -150;
var jump = 23;
var ss = 0;
var ssa = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_y = _y + yspeed;
yspeed += grav;
_x = _x + xspeed;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h + 50, true)) {
if (_currentframe == 3) {
this.jumpa.play();
}
}
if (_root.land.hitTest(_x, _y + h - 35, true)) {
grounded = true;
if (_currentframe == 3) {
this.jumpa.play();
}
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 35, true)) {
_y = _y - 0.1;
}
}
if (!_root.land.hitTest(_x, _y + h + 5, true)) {
grounded = false;
}
if (_root.land.hitTest(_x + w, _y, true)) {
xspeed = 0;
while (_root.land.hitTest(_x + w, _y, true)) {
_x = _x - 0.1;
}
}
if (_root.land.hitTest(_x - w, _y, true)) {
xspeed = 0;
while (_root.land.hitTest(_x - w, _y, true)) {
_x = _x + 0.1;
}
}
if (_root.land.hitTest(_x, _y - h + 70, true)) {
yspeed = 10;
while (_root.land.hitTest(_x, _y - h + 70, true)) {
_y = _y + 0.1;
}
}
if (Key.isDown(39) && _currentframe != 4 && !slideL && !slideR && _currentframe != 6 && _currentframe != 7) {
xspeed += 2;
if (!shooting) {
camChange = -150;
_xscale = scale;
}
if (_currentframe != 3 && _currentframe != 4 or this.jumpa._currentframe >= 24) {
this.gotoAndStop(2);
}
}
if (Key.isDown(37) && _currentframe != 4 && !slideL && !slideR && _currentframe != 6 && _currentframe != 7) {
xspeed -= 2;
if (!shooting) {
camChange = 150;
_xscale = -scale;
}
if (_currentframe != 3 && _currentframe != 4 or this.jumpa._currentframe >= 24) {
this.gotoAndStop(2);
}
}
if (!Key.isDown(39) && !Key.isDown(37) && _currentframe != 3 && _currentframe != 4 && _currentframe != 6 && _currentframe != 7) {
this.gotoAndStop(1);
}
if (Key.isDown(32) && grounded && _currentframe != 4 && _currentframe != 6 && _currentframe != 7 or Key.isDown(38) && grounded && _currentframe != 4 && _currentframe != 6 && _currentframe != 7) {
this.grounded = false;
this.gotoAndStop(3);
}
if (Key.isDown(65) && _currentframe != 4 && _currentframe != 3 && _currentframe != 5 && _currentframe != 6 && _currentframe != 7 && !holdA) {
this.top.gotoAndStop(3);
this.bar.gotoAndStop(3);
holdA = true;
}
if (!Key.isDown(65) && holdA) {
holdA = false;
}
if (Key.isDown(83) && !shold && _currentframe != 3) {
_root.makeBullets();
_root.shootSound.start(0, 1);
shooting = true;
shold = true;
}
if (!Key.isDown(83) && shold) {
shold = false;
ss = 0;
ssa = 0;
++ssa;
}
if (shooting) {
++ss;
}
if (ss >= 8) {
shooting = false;
ss = 0;
}
_root.widescreen._y = cy;
cx += (_x - cx - camChange) / 15;
_root._x = Stage.width / 2 - cx;
if (cxFalse != true) {
cy += (_y - cy) / 3;
_root._y = Stage.height / 2 - cy;
}
_root.widescreen._x = cx;
_root.gradient._x = cx;
_root.gradient._y = cy;
_root.frontbush._x = cx / 20;
_root.backbush._x = cx / 15;
_root.fronttrees._x = cx / 10;
_root.backtrees._x = cx / 5;
_root.back._x = cx;
_root.back._y = cy;
_root.spotlight._x = _x;
_root.spotlight._y = cy - 100;
_root.pauser._x = cx;
_root.pauser._y = cy;
_root.fadeIn._x = cx;
_root.fadeIn._y = cy;
_root.fadeOut._x = cx;
_root.fadeOut._y = cy;
_root.health._x = _x;
_root.health._y = _y - 65;
_root.fadeOutGO._x = cx;
_root.fadeOutGO._y = cy;
}
if (_root.land.hitTest(_x, _y + h, true) && this.jumpa._currentframe >= 13 && _currentframe == 3) {
this.gotoAndStop(1);
}
if (_currentframe == 6) {
xspeed = 0;
}
}
}
movieClip 832 {
}
instance balla of movieClip 832 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
_rotation = _rotation - rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
movieClip 833 {
}
instance bulleta of movieClip 833 {
onClipEvent (load) {
w = _width / 2;
h = _height / 2;
scale = _xscale;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (var1 == 1) {
_x = _x + 50 * Math.cos(_rotation * 0.0174532925199433);
_y = _y + 50 * Math.sin(_rotation * 0.0174532925199433);
}
if (var1 == 0) {
_x = _x - 50 * Math.cos(_rotation * 0.0174532925199433);
_y = _y - 50 * Math.sin(_rotation * 0.0174532925199433);
}
if (_root.land.hitTest(_x, _y + h, true) || _root.land.hitTest(_x - w, _y + h, true) || _root.land.hitTest(_x + w, _y + h, true)) {
if (var2 != 1) {
_root.bbx = _x;
_root.bby = _y;
_root.makeBulletBoom();
_visible = false;
_y = 10000;
_x = 10000;
var2 = 1;
}
}
if (boom == true) {
if (var2 != 1) {
if (_x < _root.player._x) {
_root.bbx = _x + 50;
} else {
_root.bbx = _x - 50;
}
_root.bby = _y;
_root.makeBulletBoom();
_visible = false;
_y = 10000;
_x = 10000;
var2 = 1;
}
}
if (!this.hitTest(_root.gradient)) {
this.removeMovieClip();
}
}
}
}
movieClip 834 {
}
instance bulletb of movieClip 834 {
onClipEvent (load) {
w = _width / 2;
h = _height / 2;
scale = _xscale;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (var1 == 1) {
_x = _x + 50 * Math.cos(_rotation * 0.0174532925199433);
_y = _y + 50 * Math.sin(_rotation * 0.0174532925199433);
}
if (var1 == 0) {
_x = _x - 50 * Math.cos(_rotation * 0.0174532925199433);
_y = _y - 50 * Math.sin(_rotation * 0.0174532925199433);
}
if (_root.land.hitTest(_x, _y + h, true) || _root.land.hitTest(_x - w, _y + h, true) || _root.land.hitTest(_x + w, _y + h, true)) {
if (var2 != 1) {
_root.bbx = _x;
_root.bby = _y;
_root.makeBulletBoom();
_visible = false;
_y = 10000;
_x = 10000;
var2 = 1;
}
}
if (boom == true) {
if (var2 != 1) {
if (_x < _root.player._x) {
_root.bbx = _x + 50;
} else {
_root.bbx = _x - 50;
}
_root.bby = _y;
_root.makeBulletBoom();
_visible = false;
_y = 10000;
_x = 10000;
var2 = 1;
}
}
if (!this.hitTest(_root.gradient)) {
this.removeMovieClip();
}
}
}
}
movieClip 836 {
}
instance spikes of movieClip 836 {
onClipEvent (enterFrame) {
if (this.base.hitTest(_root.player.base)) {
_root.blink.play();
}
}
}
instance of movieClip 179 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (!_root.pause && this.hitTest(_root.gradient)) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
if (this.hitTest(_root.player) && _currentframe != 3) {
this.gotoAndStop(1);
}
} else {
if (!dead) {
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.player.base) && _root.blink._currentframe == 1 && _currentframe != 3 && _root.player._currentframe != 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5 && !dead) {
_root.blink.play();
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
if (_currentframe != 3) {
i = 80;
while (i <= 120) {
if (this.hitTest(_root['bulleta' + i])) {
this.gotoAndStop(3);
dead = true;
_root['bulleta' + i].boom = true;
}
++i;
}
q = 60;
while (q <= 79) {
if (this.hitTest(_root['bulletb' + q])) {
this.gotoAndStop(3);
dead = true;
_root['bulletb' + q].boom = true;
}
++q;
}
}
if (this.hitTest(_root.player.top) && _root.player.top._currentframe == 3 && _currentframe != 3) {
this.gotoAndStop(3);
dead = true;
}
}
if (!this.hitTest(_root.gradient)) {
_visible = false;
} else {
_visible = true;
}
}
}
instance of movieClip 179 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (!_root.pause && this.hitTest(_root.gradient)) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
if (this.hitTest(_root.player) && _currentframe != 3) {
this.gotoAndStop(1);
}
} else {
if (!dead) {
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.player.base) && _root.blink._currentframe == 1 && _currentframe != 3 && _root.player._currentframe != 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5 && !dead) {
_root.blink.play();
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
if (_currentframe != 3) {
i = 80;
while (i <= 120) {
if (this.hitTest(_root['bulleta' + i])) {
this.gotoAndStop(3);
dead = true;
_root['bulleta' + i].boom = true;
}
++i;
}
q = 60;
while (q <= 79) {
if (this.hitTest(_root['bulletb' + q])) {
this.gotoAndStop(3);
dead = true;
_root['bulletb' + q].boom = true;
}
++q;
}
}
if (this.hitTest(_root.player.top) && _root.player.top._currentframe == 3 && _currentframe != 3) {
this.gotoAndStop(3);
dead = true;
}
}
if (!this.hitTest(_root.gradient)) {
_visible = false;
} else {
_visible = true;
}
}
}
instance of movieClip 179 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (!_root.pause && this.hitTest(_root.gradient)) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
if (this.hitTest(_root.player) && _currentframe != 3) {
this.gotoAndStop(1);
}
} else {
if (!dead) {
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.player.base) && _root.blink._currentframe == 1 && _currentframe != 3 && _root.player._currentframe != 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5 && !dead) {
_root.blink.play();
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
if (_currentframe != 3) {
i = 80;
while (i <= 120) {
if (this.hitTest(_root['bulleta' + i])) {
this.gotoAndStop(3);
dead = true;
_root['bulleta' + i].boom = true;
}
++i;
}
q = 60;
while (q <= 79) {
if (this.hitTest(_root['bulletb' + q])) {
this.gotoAndStop(3);
dead = true;
_root['bulletb' + q].boom = true;
}
++q;
}
}
if (this.hitTest(_root.player.top) && _root.player.top._currentframe == 3 && _currentframe != 3) {
this.gotoAndStop(3);
dead = true;
}
}
if (!this.hitTest(_root.gradient)) {
_visible = false;
} else {
_visible = true;
}
}
}
instance of movieClip 179 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (!_root.pause && this.hitTest(_root.gradient)) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
if (this.hitTest(_root.player) && _currentframe != 3) {
this.gotoAndStop(1);
}
} else {
if (!dead) {
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.player.base) && _root.blink._currentframe == 1 && _currentframe != 3 && _root.player._currentframe != 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5 && !dead) {
_root.blink.play();
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
if (_currentframe != 3) {
i = 80;
while (i <= 120) {
if (this.hitTest(_root['bulleta' + i])) {
this.gotoAndStop(3);
dead = true;
_root['bulleta' + i].boom = true;
}
++i;
}
q = 60;
while (q <= 79) {
if (this.hitTest(_root['bulletb' + q])) {
this.gotoAndStop(3);
dead = true;
_root['bulletb' + q].boom = true;
}
++q;
}
}
if (this.hitTest(_root.player.top) && _root.player.top._currentframe == 3 && _currentframe != 3) {
this.gotoAndStop(3);
dead = true;
}
}
if (!this.hitTest(_root.gradient)) {
_visible = false;
} else {
_visible = true;
}
}
}
movieClip 838 {
}
movieClip 839 {
}
instance of movieClip 839 {
onClipEvent (load) {
rot = 0;
var1 = 0;
var2 = 0;
}
onClipEvent (enterFrame) {
_rotation = _rotation + rot;
rot *= 0.9300000000000001;
if (this.hitTest(_root.player.top) && _root.player.top._currentframe == 3 && var1 != 1 && var1 != 2) {
if (_root.player._xscale >= 0) {
var1 = 2;
}
if (_root.player._xscale <= 0) {
var1 = 1;
}
_root.lol.var1 = 1;
}
if (var1 == 1) {
rot -= 2;
}
if (var1 == 2) {
rot += 2;
}
}
}
movieClip 841 {
}
movieClip 842 {
frame 1 {
stop();
}
frame 2 {
if (_root.eggsound1 != true) {
_root.eggSound1.start(0, 1);
_root.eggsound1 = true;
} else {
if (_root.eggsound1 == true) {
_root.eggSound2.start(0, 1);
_root.eggsound1 = false;
}
}
}
frame 2 {
stop();
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (load) {
speed = 4;
h = _height / 2;
w = _width / 2;
grav = 1;
yspeed = 0;
scale = _xscale;
hit = 0;
}
onClipEvent (enterFrame) {
_y = _y + yspeed;
yspeed += grav;
if (_root.land.hitTest(_x, _y + h - 10, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 10, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 300 && _currentframe != 6 && _currentframe != 3 && _currentframe != 7) {
if (ballFly != true) {
if (!this.base.hitTest(_root.player)) {
if (_x >= _root.player._x) {
_x = _x - speed;
this.gotoAndStop(2);
_xscale = -scale;
}
if (_x <= _root.player._x) {
_x = _x + speed;
this.gotoAndStop(2);
_xscale = scale;
}
}
}
if (ballFly == true) {
if (!this.base.hitTest(_root.player)) {
if (_x >= _root.player._x) {
_x = _x - speed;
this.gotoAndStop(5);
_xscale = -scale;
}
if (_x <= _root.player._x) {
_x = _x + speed;
this.gotoAndStop(5);
_xscale = scale;
}
}
}
} else {
if (_currentframe != 3 && _currentframe != 6 && _currentframe != 2 && _currentframe != 5 && _currentframe != 7) {
if (ballFly != true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(4);
}
}
}
if (this.base.hitTest(_root.player.top) && _root.player.top._currentframe == 3 && ballFly != true && _currentframe != 7) {
this.gotoAndStop(3);
_root.endx = _x - 10;
_root.endy = _y - 10;
_root.makeBall();
ballFly = true;
}
if (ballFly == true && _currentframe != 7) {
i = 80;
while (i <= 120) {
if (this.base.hitTest(_root['bulleta' + i])) {
this.gotoAndStop(6);
_root['bulleta' + i].boom = true;
++hit;
}
++i;
}
z = 60;
while (z <= 79) {
if (this.base.hitTest(_root['bulletb' + z])) {
this.gotoAndStop(6);
_root['bulletb' + z].boom = true;
++hit;
}
++z;
}
} else {
i = 80;
while (i <= 120) {
if (this.base.hitTest(_root['bulleta' + i])) {
_root['bulleta' + i].boom = true;
}
++i;
}
z = 60;
while (z <= 79) {
if (this.base.hitTest(_root['bulletb' + z])) {
_root['bulletb' + z].boom = true;
}
++z;
}
}
if (hit >= 30 && _currentframe != 7) {
this.gotoAndStop(7);
}
if (this.hitTest(_root.player.base) && _root.blink._currentframe == 1 && _currentframe != 3 && _currentframe != 7 && _root.player._currentframe != 3) {
_root.blink.play();
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 151 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 842 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance pauser of movieClip 375 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
_visible = true;
if (_alpha <= 100) {
_alpha = _alpha + 5;
}
} else {
_alpha = 0;
_visible = false;
}
this.swapDepths(4999);
}
}
instance widescreen of movieClip 377 {
onClipEvent (enterFrame) {
this.swapDepths(5000);
}
}
frame 12 {
for (i in _root) {
_root[i].removeMovieClip();
}
_x = 0;
_y = 0;
_root.health.showa = false;
_root.health._alpha = 0;
_root.health.dontShow = true;
}
frame 12 {
stop();
}
movieClip 845 {
}
movieClip 851 {
frame 66 {
stop();
stopAllSounds();
_root.nextFrame();
}
}
frame 13 {
fadeIn.gotoAndPlay(1);
stop();
_root.pickUpAble = true;
_root.SkullItem = false;
_root.BombItem = false;
_root.mushroomItem = false;
_root.pickUpAble = false;
_root.SkullItem2 = false;
_root.BombBoss = false;
}
frame 13 {
_root.skulldark = true;
}
frame 13 {
function makeEgg() {
++c;
++e;
_root.egg.duplicateMovieClip('egg' + e, e);
_root.clock.duplicateMovieClip('clock' + c, c);
_root['egg' + e]._x = _root.eggx;
_root['egg' + e]._y = _root.eggy;
_root['clock' + c]._x = _root.eggx;
_root['clock' + c]._y = _root.eggy;
}
function makeBomb() {
++b;
_root.bomb.duplicateMovieClip('bomb' + b, b);
_root['bomb' + b]._x = _root.bush._x;
_root['bomb' + b]._y = _root.bush._y - 10;
}
c = 100;
e = 0;
s = 300;
b = 50;
}
frame 13 {
onEnterFrame = function () {
if (Key.isDown(80) && !_root.pause && !hold) {
_root.pause = true;
hold = true;
}
if (!Key.isDown(80) && _root.pause == true) {
hold = false;
}
if (Key.isDown(80) && _root.pause && !hold) {
_root.pause = false;
hold = true;
}
if (!Key.isDown(80) && _root.pause == false) {
hold = false;
}
};
eggSound1 = new Sound();
eggSound2 = new Sound();
eggSound1.attachSound('egg1');
eggSound2.attachSound('egg2');
_root.health.showa = false;
_root.health._alpha = 0;
_root.health.dontShow = false;
_root.checkPoint = _currentframe;
}
movieClip 853 {
}
movieClip 855 {
}
movieClip 857 {
}
movieClip 858 {
instance of movieClip 855 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 857 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 855 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 855 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 857 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 855 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 855 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 857 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 855 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 855 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 857 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 855 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 855 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 857 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 855 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 855 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 857 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 855 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
}
movieClip 860 {
}
movieClip 861 {
instance of movieClip 860 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 860 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 860 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 860 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 860 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 860 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 860 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 860 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 860 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 860 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
}
movieClip 864 {
frame 1 {
stop();
}
}
movieClip 865 {
}
movieClip 867 {
}
instance en4 of movieClip 233 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
var hit = 0;
z = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
} else {
if (!dead && _currentframe != 4 && _currentframe != 5) {
this.gotoAndStop(1);
}
}
++z;
if (z >= 80) {
attackReady = true;
}
if (d <= 180 && !dead && _currentframe != 4 && _root.player.grounded && attackReady && _currentframe != 5) {
this.gotoAndStop(4);
attackReady = false;
z = 0;
}
if (_xscale < 0) {
if (_currentframe == 4 && this.attack._currentframe >= 10 && this.attack._currentframe <= 15) {
xspeed = 15;
}
}
if (_xscale > 0) {
if (_currentframe == 4 && this.attack._currentframe >= 10 && this.attack._currentframe <= 15) {
xspeed = -15;
}
}
if (this.hitTest(_root.player) && _root.player._currentframe != 4 && _root.blink._currentframe == 1 && _currentframe != 3 && _currentframe == 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5 && this.attack._currentframe >= 10 && this.attack._currentframe <= 23) {
_root.blink.play();
}
if (this.hitTest(_root.player) && _root.player._currentframe == 4 && _root.player.stomp._currentframe == 19 && _currentframe == 4) {
_root.blink.play();
}
if (this.top.hitTest(_root.player.base) && _root.player.yspeed >= 3 && _root.player.grounded == false && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
_root.blink.play();
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
}
if (this.top.hitTest(_root.player.base) && _currentframe == 4 && this.attack._currentframe >= 10 && this.attack._currentframe <= 28 && _root.player.grounded == false && _root.player.yspeed >= 3) {
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
dead = true;
gotoAndStop(3);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3 && _currentframe != 5) {
++hit;
this.gotoAndStop(5);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5 && _currentframe != 4 && _currentframe != 5) {
++hit;
this.gotoAndStop(5);
}
if (hit >= 3) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
instance en6 of movieClip 233 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
var hit = 0;
z = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
} else {
if (!dead && _currentframe != 4 && _currentframe != 5) {
this.gotoAndStop(1);
}
}
++z;
if (z >= 80) {
attackReady = true;
}
if (d <= 180 && !dead && _currentframe != 4 && _root.player.grounded && attackReady && _currentframe != 5) {
this.gotoAndStop(4);
attackReady = false;
z = 0;
}
if (_xscale < 0) {
if (_currentframe == 4 && this.attack._currentframe >= 10 && this.attack._currentframe <= 15) {
xspeed = 15;
}
}
if (_xscale > 0) {
if (_currentframe == 4 && this.attack._currentframe >= 10 && this.attack._currentframe <= 15) {
xspeed = -15;
}
}
if (this.hitTest(_root.player) && _root.player._currentframe != 4 && _root.blink._currentframe == 1 && _currentframe != 3 && _currentframe == 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5 && this.attack._currentframe >= 10 && this.attack._currentframe <= 23) {
_root.blink.play();
}
if (this.hitTest(_root.player) && _root.player._currentframe == 4 && _root.player.stomp._currentframe == 19 && _currentframe == 4) {
_root.blink.play();
}
if (this.top.hitTest(_root.player.base) && _root.player.yspeed >= 3 && _root.player.grounded == false && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
_root.blink.play();
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
}
if (this.top.hitTest(_root.player.base) && _currentframe == 4 && this.attack._currentframe >= 10 && this.attack._currentframe <= 28 && _root.player.grounded == false && _root.player.yspeed >= 3) {
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
dead = true;
gotoAndStop(3);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3 && _currentframe != 5) {
++hit;
this.gotoAndStop(5);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5 && _currentframe != 4 && _currentframe != 5) {
++hit;
this.gotoAndStop(5);
}
if (hit >= 3) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
instance bush of movieClip 143 {
onClipEvent (load) {
i = 0;
}
onClipEvent (enterFrame) {
if (var1 == true) {
++i;
}
if (i >= 40) {
this.busha.play();
i = 0;
var1 = false;
}
}
}
instance of movieClip 160 {
onClipEvent (enterFrame) {
if (this.top.hitTest(_root.player.base) && _root.player.grounded != true && _root.player.yspeed >= 3) {
_root.player.yspeed = -40;
this.gotoAndStop(2);
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.grounded = false;
}
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 160 {
onClipEvent (enterFrame) {
if (this.top.hitTest(_root.player.base) && _root.player.grounded != true && _root.player.yspeed >= 3) {
_root.player.yspeed = -40;
this.gotoAndStop(2);
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.grounded = false;
}
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 160 {
onClipEvent (enterFrame) {
if (this.top.hitTest(_root.player.base) && _root.player.grounded != true && _root.player.yspeed >= 3) {
_root.player.yspeed = -40;
this.gotoAndStop(2);
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.grounded = false;
}
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 160 {
onClipEvent (enterFrame) {
if (this.top.hitTest(_root.player.base) && _root.player.grounded != true && _root.player.yspeed >= 3) {
_root.player.yspeed = -40;
this.gotoAndStop(2);
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.grounded = false;
}
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 160 {
onClipEvent (enterFrame) {
if (this.top.hitTest(_root.player.base) && _root.player.grounded != true && _root.player.yspeed >= 3) {
_root.player.yspeed = -40;
this.gotoAndStop(2);
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.grounded = false;
}
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
movieClip 869 {
}
movieClip 871 {
}
movieClip 873 {
}
movieClip 874 {
}
movieClip 876 {
}
movieClip 877 {
}
movieClip 878 {
instance of movieClip 177 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 177 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 177 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 177 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 177 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 177 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 177 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 177 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 177 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 177 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 177 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 177 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 177 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
frame 21 {
stop();
}
}
movieClip 879 {
frame 25 {
_parent.gotoAndStop(1);
}
}
movieClip 880 {
frame 1 {
stop();
}
instance of movieClip 874 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 877 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
frame 3 {
++_root.enemies;
_root.score += 20;
}
instance of movieClip 878 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
if (_currentframe != 21) {
this.play();
}
}
}
}
instance of movieClip 879 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
}
instance en1 of movieClip 880 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = -_xscale;
_xscale = scale;
var hit = 0;
z = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause && this.hitTest(_root.gradient)) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 400 && !dead && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 0.7;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 0.7;
_xscale = -scale;
this.gotoAndStop(2);
}
} else {
if (!dead && _currentframe != 4 && _currentframe != 5) {
this.gotoAndStop(1);
}
}
++z;
if (z >= 80) {
attackReady = true;
}
if (d <= 180 && !dead && _currentframe != 4 && _root.player.grounded && attackReady && _currentframe != 5) {
this.gotoAndStop(4);
attackReady = false;
z = 0;
}
if (this.hitTest(_root.player) && _root.player._currentframe != 4 && _root.blink._currentframe == 1 && _currentframe != 3 && _currentframe == 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5 && this.attack._currentframe >= 10 && this.attack._currentframe <= 23) {
_root.blink.play();
}
if (this.hitTest(_root.player) && _root.player._currentframe == 4 && _root.player.stomp._currentframe == 19 && _currentframe == 4) {
_root.blink.play();
}
if (hit >= 1 && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
}
if (this.hitTest(_root.player.base) && _currentframe != 3 && _currentframe != 5) {
this.gotoAndStop(4);
}
if (!this.hitTest(_root.gradient)) {
_visible = false;
} else {
_visible = true;
}
}
}
instance en2 of movieClip 880 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = -_xscale;
_xscale = scale;
var hit = 0;
z = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause && this.hitTest(_root.gradient)) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 400 && !dead && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 0.7;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 0.7;
_xscale = -scale;
this.gotoAndStop(2);
}
} else {
if (!dead && _currentframe != 4 && _currentframe != 5) {
this.gotoAndStop(1);
}
}
++z;
if (z >= 80) {
attackReady = true;
}
if (d <= 180 && !dead && _currentframe != 4 && _root.player.grounded && attackReady && _currentframe != 5) {
this.gotoAndStop(4);
attackReady = false;
z = 0;
}
if (this.hitTest(_root.player) && _root.player._currentframe != 4 && _root.blink._currentframe == 1 && _currentframe != 3 && _currentframe == 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5 && this.attack._currentframe >= 10 && this.attack._currentframe <= 23) {
_root.blink.play();
}
if (this.hitTest(_root.player) && _root.player._currentframe == 4 && _root.player.stomp._currentframe == 19 && _currentframe == 4) {
_root.blink.play();
}
if (hit >= 1 && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
}
if (this.hitTest(_root.player.base) && _currentframe != 3 && _currentframe != 5) {
this.gotoAndStop(4);
}
if (!this.hitTest(_root.gradient)) {
_visible = false;
} else {
_visible = true;
}
}
}
instance en3 of movieClip 179 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
if (this.hitTest(_root.player) && _currentframe != 3) {
this.gotoAndStop(1);
}
} else {
if (!dead) {
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.player) && _root.blink._currentframe == 1 && _currentframe != 3 && _root.player._currentframe != 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5) {
_root.blink.play();
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
instance en5 of movieClip 880 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = -_xscale;
_xscale = scale;
var hit = 0;
z = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause && this.hitTest(_root.gradient)) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 400 && !dead && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 0.7;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 0.7;
_xscale = -scale;
this.gotoAndStop(2);
}
} else {
if (!dead && _currentframe != 4 && _currentframe != 5) {
this.gotoAndStop(1);
}
}
++z;
if (z >= 80) {
attackReady = true;
}
if (d <= 180 && !dead && _currentframe != 4 && _root.player.grounded && attackReady && _currentframe != 5) {
this.gotoAndStop(4);
attackReady = false;
z = 0;
}
if (this.hitTest(_root.player) && _root.player._currentframe != 4 && _root.blink._currentframe == 1 && _currentframe != 3 && _currentframe == 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5 && this.attack._currentframe >= 10 && this.attack._currentframe <= 23) {
_root.blink.play();
}
if (this.hitTest(_root.player) && _root.player._currentframe == 4 && _root.player.stomp._currentframe == 19 && _currentframe == 4) {
_root.blink.play();
}
if (hit >= 1 && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
}
if (this.hitTest(_root.player.base) && _currentframe != 3 && _currentframe != 5) {
this.gotoAndStop(4);
}
if (!this.hitTest(_root.gradient)) {
_visible = false;
} else {
_visible = true;
}
}
}
movieClip 881 {
frame 1 {
stop();
}
instance of movieClip 286 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 291 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance jumpa of movieClip 293 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
if (_currentframe < 15) {
this.play();
}
}
}
}
instance stomp of movieClip 298 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 306 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 308 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 310 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
}
instance player of movieClip 881 {
onClipEvent (load) {
var xspeed = 5;
var yspeed = 0;
var grav = 2;
var w = _width / 2;
var h = _height / 2;
var scale = _xscale;
var cx = _x;
var cy = _y;
var camChange = -150;
var jump = 23;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_y = _y + yspeed;
yspeed += grav;
_x = _x + xspeed;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h + 50, true)) {
if (_currentframe == 3) {
this.jumpa.play();
}
}
if (_root.land.hitTest(_x, _y + h - 5, true)) {
grounded = true;
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 5, true)) {
_y = _y - 0.1;
}
}
if (!_root.land.hitTest(_x, _y + h + 5, true)) {
grounded = false;
}
if (_root.land.hitTest(_x + w, _y, true)) {
xspeed = 0;
while (_root.land.hitTest(_x + w, _y, true)) {
_x = _x - 0.1;
}
}
if (_root.land.hitTest(_x - w, _y, true)) {
xspeed = 0;
while (_root.land.hitTest(_x - w, _y, true)) {
_x = _x + 0.1;
}
}
if (_root.land.hitTest(_x, _y - h, true)) {
yspeed = 10;
while (_root.land.hitTest(_x, _y - h, true)) {
_y = _y + 0.1;
}
}
if (Key.isDown(39) && _currentframe != 4 && !slideL && !slideR && _currentframe != 6 && _currentframe != 7) {
camChange = -150;
xspeed += 2.5;
_xscale = scale;
if (_currentframe != 3 && _currentframe != 4 or this.jumpa._currentframe >= 24) {
this.gotoAndStop(2);
}
}
if (Key.isDown(37) && _currentframe != 4 && !slideL && !slideR && _currentframe != 6 && _currentframe != 7) {
camChange = 150;
xspeed -= 2.5;
_xscale = -scale;
if (_currentframe != 3 && _currentframe != 4 or this.jumpa._currentframe >= 24) {
this.gotoAndStop(2);
}
}
if (!Key.isDown(39) && !Key.isDown(37) && _currentframe != 3 && _currentframe != 4 && !slideR && !slideL && _currentframe != 6 && _currentframe != 7) {
this.gotoAndStop(1);
}
if (Key.isDown(32) && grounded && _currentframe != 4 && _currentframe != 6 && _currentframe != 7 or Key.isDown(38) && grounded && _currentframe != 4 && _currentframe != 6 && _currentframe != 7) {
this.grounded = false;
this.gotoAndStop(3);
}
if (Key.isDown(65) && _currentframe != 4 && _currentframe != 3 && _currentframe != 5 && _currentframe != 6 && _currentframe != 7) {
this.gotoAndStop(4);
}
if (_xscale > 0) {
if (Key.isDown(40) && _root.land.hitTest(_x - h - 35, _y + 16, true) && _currentframe != 4 && _currentframe != 6 && _currentframe != 7) {
slideR = true;
} else {
slideR = false;
}
}
if (_xscale < 0) {
if (Key.isDown(40) && _root.land.hitTest(_x + h + 35, _y + 16, true) && _currentframe != 4 && _currentframe != 6 && _currentframe != 7) {
slideL = true;
} else {
slideL = false;
}
}
if (slideR) {
this.gotoAndStop(5);
xspeed += 4.3;
yspeed += 7;
}
if (slideL) {
this.gotoAndStop(5);
xspeed -= 4.3;
yspeed += 7;
}
_root.widescreen._y = cy;
cx += (_x - cx - camChange) / 15;
_root._x = Stage.width / 2 - cx;
if (cxFalse != true) {
cy += (_y - cy) / 3;
_root._y = Stage.height / 2 - cy;
}
_root.widescreen._x = cx;
_root.gradient._x = cx;
_root.gradient._y = cy;
_root.frontbush._x = cx / 20;
_root.backbush._x = cx / 15;
_root.fronttrees._x = cx / 10;
_root.backtrees._x = cx / 5;
_root.back._x = cx;
_root.back._y = cy;
_root.spotlight._x = _x;
_root.spotlight._y = cy - 100;
_root.pauser._x = cx;
_root.pauser._y = cy;
_root.fadeIn._x = cx;
_root.fadeIn._y = cy;
_root.fadeOut._x = cx;
_root.fadeOut._y = cy;
_root.health._x = _x;
_root.health._y = _y - 55;
_root.fadeOutGO._x = cx;
_root.fadeOutGO._y = cy;
}
if (_root.land.hitTest(_x, _y + h, true) && this.jumpa._currentframe >= 13 && _currentframe == 3) {
this.gotoAndStop(1);
}
if (_currentframe == 6) {
xspeed = 0;
}
}
}
instance egg of movieClip 120 {
onClipEvent (load) {
var friction = 1.05;
var yspeed = 0;
var xspeed = 0;
var i = 0;
var1 = 0;
h = _height / 2;
w = _width / 2;
xspeeda = -10 + random(20);
yspeeda = -random(20);
drag = 0.98;
bounce = 1;
gravity = 1;
a = 0;
aa = 0;
rot = random(13);
y = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause && _name != 'egg') {
_rotation = _rotation + rot;
if (var1 == 0) {
++a;
_root.speed = this.xspeeda;
if (!dragging) {
_x = _x + xspeeda;
_y = _y + yspeeda - 0.29;
yspeeda = yspeeda * drag + gravity;
xspeeda *= drag;
} else {
xspeeda = _x - oldx;
yspeeda = _y - oldy;
oldx = _x;
oldy = _y;
}
}
if (a >= 25) {
a = 0;
var1 = 1;
}
if (var1 == 1) {
++aa;
_y = _y + yspeed;
_x = _x + xspeed;
xspeed /= friction;
yspeed /= friction;
xspeed -= (_x - _root.player._x) / (random(35) + 14);
yspeed -= (_y - _root.player._y) / (random(35) + 14);
if (_y <= _root.player._y) {
_y = _y + (random(4) + 1);
}
if (_y >= _root.player._y) {
_y = _y - (random(4) + 1);
}
if (_x >= _root.player._x && i == 0) {
++i;
}
if (_x <= _root.player._x && i == 1) {
++i;
}
if (_x >= _root.player._x && i == 2) {
++i;
}
if (i >= 3 && this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndPlay(2);
xspeed = 0;
yspeed = 0;
}
}
}
if (!_root.pause && _currentframe > 1 && _currentframe != 9) {
play();
}
if (_currentframe >= 2) {
++y;
}
if (y >= 60) {
this.removeMovieClip();
}
}
}
instance clock of movieClip 124 {
onClipEvent (load) {
var friction = 1.05;
var yspeed = 0;
var xspeed = 0;
var i = 0;
var1 = 0;
h = _height / 2;
w = _width / 2;
xspeeda = -10 + random(20);
yspeeda = -random(20);
drag = 0.98;
bounce = 1;
gravity = 1;
a = 0;
aa = 0;
rot = random(13);
y = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause && _name != 'clock') {
_rotation = _rotation + rot;
if (var1 == 0) {
++a;
_root.speed = this.xspeeda;
if (!dragging) {
_x = _x + xspeeda;
_y = _y + yspeeda - 0.29;
yspeeda = yspeeda * drag + gravity;
xspeeda *= drag;
} else {
xspeeda = _x - oldx;
yspeeda = _y - oldy;
oldx = _x;
oldy = _y;
}
}
if (a >= 25) {
a = 0;
var1 = 1;
}
if (var1 == 1) {
++aa;
_y = _y + yspeed;
_x = _x + xspeed;
xspeed /= friction;
yspeed /= friction;
xspeed -= (_x - _root.player._x) / (random(35) + 14);
yspeed -= (_y - _root.player._y) / (random(35) + 14);
if (_y <= _root.player._y) {
_y = _y + (random(4) + 1);
}
if (_y >= _root.player._y) {
_y = _y - (random(4) + 1);
}
if (_x >= _root.player._x && i == 0) {
++i;
}
if (_x <= _root.player._x && i == 1) {
++i;
}
if (_x >= _root.player._x && i == 2) {
++i;
}
if (i >= 3 && this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndPlay(2);
xspeed = 0;
yspeed = 0;
}
}
}
if (!_root.pause && _currentframe > 1 && _currentframe != 9) {
play();
}
if (_currentframe >= 2) {
++y;
}
if (y >= 60) {
this.removeMovieClip();
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance spikes of movieClip 836 {
onClipEvent (enterFrame) {
if (this.base.hitTest(_root.player.base)) {
_root.blink.play();
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 151 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
movieClip 882 {
frame 1 {
stop();
}
frame 2 {
_root.land.bb.gotoAndStop(2);
_root.shake.play();
}
instance of movieClip 340 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
yscale = _yscale;
xscale = _xscale;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
scaled = random(2);
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
if (!this.hitTest(_root.gradient)) {
this._visible = false;
gotoAndStop(2);
yspeed = 0;
xspeed = 0;
}
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (scaled == 0) {
_yscale = _yscale + speed;
_xscale = _xscale + speed;
}
if (scaled == 1) {
_yscale = _yscale - speed;
_xscale = _xscale - speed;
}
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 340 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
yscale = _yscale;
xscale = _xscale;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
scaled = random(2);
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
if (!this.hitTest(_root.gradient)) {
this._visible = false;
gotoAndStop(2);
yspeed = 0;
xspeed = 0;
}
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (scaled == 0) {
_yscale = _yscale + speed;
_xscale = _xscale + speed;
}
if (scaled == 1) {
_yscale = _yscale - speed;
_xscale = _xscale - speed;
}
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 340 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
yscale = _yscale;
xscale = _xscale;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
scaled = random(2);
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
if (!this.hitTest(_root.gradient)) {
this._visible = false;
gotoAndStop(2);
yspeed = 0;
xspeed = 0;
}
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (scaled == 0) {
_yscale = _yscale + speed;
_xscale = _xscale + speed;
}
if (scaled == 1) {
_yscale = _yscale - speed;
_xscale = _xscale - speed;
}
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 342 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
yscale = _yscale;
xscale = _xscale;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
scaled = random(2);
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
if (!this.hitTest(_root.gradient)) {
this._visible = false;
gotoAndStop(2);
yspeed = 0;
xspeed = 0;
}
if (!_root.pause) {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (scaled == 0) {
_yscale = _yscale + speed;
_xscale = _xscale + speed;
}
if (scaled == 1) {
_yscale = _yscale - speed;
_xscale = _xscale - speed;
}
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
}
instance of movieClip 882 {
onClipEvent (load) {
hit = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.bomb.hitter) && _currentframe == 1 && _root.bomb._currentframe == 2) {
this.nextFrame();
}
i = 50;
while (i <= 100) {
if (this.hitTest(_root['bomb' + i].hitter) && _root['bomb' + i]._currentframe == 2 && _root['bomb' + i].varLol != 1) {
this.nextFrame();
_root['bomb' + i].varLol = 1;
}
++i;
}
}
}
movieClip 884 {
}
movieClip 886 {
}
instance of movieClip 886 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.fadeOut._currentframe == 1) {
_root.fadeOut.play();
}
}
}
instance of movieClip 332 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 332 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 332 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 332 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 332 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 332 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 332 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance bomb of movieClip 347 {
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
grav = 0;
h = _height / 2;
w = _width / 2;
i = 0;
iA = 0;
scale = _xscale;
didntHitGround = true;
grounded = true;
r = 0;
_root.bx = _x;
_root.by = _y;
count = false;
var1 = 0;
var2 = 0;
var5 = 0;
var3 = false;
var4 = false;
countA = false;
rr = _rotation;
rott = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (var1 == 1 && _y >= _root.player._y + 4) {
_y = _y - 1;
if (_x <= _root.player._x) {
_x = _x + 1;
} else {
_x = _x - 1;
}
}
if (var1 != 1) {
if (this.hitTest(_root.player.base) && _root.player._currentframe != 4 && _root.player._currentframe != 6 && _root.player._currentframe != 7 && Key.isDown(83) && _root.pickUpAble == true && grounded && _root.land.hitTest(_x, _y + h, true)) {
xspeed = 0;
yspeed = 0;
grav = 1.5;
var2 = 0;
r = 0;
rott = 0;
rot = false;
hold = true;
grounded = false;
var3 = false;
var4 = false;
hitGround = false;
_root.BombItem = true;
_root.bush.var1 = true;
_root.player.gotoAndStop(6);
_root.pickUpAble = false;
var1 = 1;
}
}
if (!Key.isDown(83) && hold) {
hold = false;
}
if (_root.player._currentframe == 1 && var1 == 1) {
this._visible = false;
var1 = 0;
var2 = 1;
var5 = 1;
}
if (var2 == 1) {
if (_currentframe == 2) {
e = 0;
while (e <= 30) {
if (this.hitTest(_root['en' + e])) {
_root['en' + e].hitBySomething = true;
}
++e;
}
}
if (var5 != 1) {
_x = _x + xspeed;
xspeed *= 0.95;
_y = _y + yspeed;
yspeed += grav;
_rotation = _rotation + rott;
rott *= 0.89;
} else {
_x = _root.player._x;
_y = _root.player._y;
}
if (_root.land.hitTest(_x, _y + h - 10, true)) {
this.gotoAndStop(2);
xspeed = 0;
yspeed = 0;
hitGround = true;
while (_root.land.hitTest(_x, _y + h - 10, true)) {
_y = _y - 0.1;
}
}
if (_root.land.hitTest(_x + w, _y, true)) {
this.gotoAndStop(2);
xspeed = 0;
yspeed = 0;
while (_root.land.hitTest(_x + w, _y, true)) {
_x = _x - 0.1;
}
}
if (_root.land.hitTest(_x - w, _y, true)) {
this.gotoAndStop(2);
xspeed = 0;
yspeed = 0;
while (_root.land.hitTest(_x - w, _y, true)) {
_x = _x + 0.1;
}
}
if (Key.isDown(83) && _root.player._currentframe != 4 && _root.player._currentframe != 3 && _root.BombItem == true && this.hitTest(_root.player)) {
_root.player.gotoAndStop(7);
count = true;
}
}
if (count == true) {
++i;
}
if (i >= 12) {
var3 = true;
var4 = true;
var5 = 0;
i = 0;
}
if (var3 == true) {
if (var4) {
_x = _root.player._x;
_y = _root.player._y;
if (_root.player._xscale > 0) {
_xscale = scale;
xspeed = 30;
} else {
_xscale = -scale;
xspeed = -30;
}
var4 = false;
}
_root.pickUpAble = true;
_root.BombItem = false;
_visible = true;
grav = 1;
yspeed = -5;
count = false;
countA = true;
var3 = false;
}
if (countA == true) {
var1 = 0;
countA = false;
hitGround = false;
iA = 0;
}
if (rot) {
++r;
rott = -15;
}
if (r >= 30) {
rot = false;
if (_rotation >= rr) {
--rott;
}
if (_rotation <= rr) {
++rott;
}
}
}
}
}
instance of movieClip 332 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 332 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance pauser of movieClip 375 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
_visible = true;
if (_alpha <= 100) {
_alpha = _alpha + 5;
}
} else {
_alpha = 0;
_visible = false;
}
this.swapDepths(4999);
}
}
instance widescreen of movieClip 377 {
onClipEvent (enterFrame) {
this.swapDepths(5000);
}
}
frame 14 {
fadeIn.gotoAndPlay(1);
stop();
_root.pickUpAble = true;
_root.SkullItem = false;
_root.BombItem = false;
_root.mushroomItem = false;
_root.pickUpAble = false;
_root.SkullItem2 = false;
_root.BombBoss = false;
}
frame 14 {
_root.fadeOut.gotoAndStop(1);
}
frame 14 {
_root.skulldark = false;
}
frame 14 {
onEnterFrame = function () {
if (Key.isDown(80) && !_root.pause && !hold) {
_root.pause = true;
hold = true;
}
if (!Key.isDown(80) && _root.pause == true) {
hold = false;
}
if (Key.isDown(80) && _root.pause && !hold) {
_root.pause = false;
hold = true;
}
if (!Key.isDown(80) && _root.pause == false) {
hold = false;
}
};
eggSound1 = new Sound();
eggSound2 = new Sound();
eggSound1.attachSound('egg1');
eggSound2.attachSound('egg2');
_root.health.showa = false;
_root.health._alpha = 0;
_x = 0;
_y = 0;
_root.health.dontShow = false;
}
movieClip 889 {
}
movieClip 891 {
}
movieClip 892 {
instance of movieClip 891 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 891 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 891 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 891 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 891 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 891 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 891 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 891 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 891 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 891 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 891 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 891 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
}
movieClip 894 {
}
movieClip 895 {
instance of movieClip 894 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 894 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 894 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 894 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 894 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 894 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 894 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 894 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 894 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 894 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
}
movieClip 898 {
}
movieClip 899 {
}
instance of movieClip 899 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
movieClip 902 {
}
movieClip 904 {
}
movieClip 905 {
frame 1 {
stop();
}
instance of movieClip 286 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 291 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance jumpa of movieClip 293 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
if (_currentframe < 15) {
this.play();
}
}
}
}
instance stomp of movieClip 298 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 306 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 308 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 310 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
}
instance player of movieClip 905 {
onClipEvent (load) {
var xspeed = 5;
var yspeed = 0;
var grav = 2;
var w = _width / 2;
var h = _height / 2;
var scale = _xscale;
var cx = _x;
var cy = _y;
var camChange = -150;
var jump = 23;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_y = _y + yspeed;
yspeed += grav;
_x = _x + xspeed;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h + 50, true)) {
if (_currentframe == 3) {
this.jumpa.play();
}
}
if (_root.land.hitTest(_x, _y + h - 5, true)) {
grounded = true;
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 5, true)) {
_y = _y - 0.1;
}
}
if (!_root.land.hitTest(_x, _y + h + 5, true)) {
grounded = false;
}
if (_root.land.hitTest(_x + w, _y, true)) {
xspeed = 0;
while (_root.land.hitTest(_x + w, _y, true)) {
_x = _x - 0.1;
}
}
if (_root.land.hitTest(_x - w, _y, true)) {
xspeed = 0;
while (_root.land.hitTest(_x - w, _y, true)) {
_x = _x + 0.1;
}
}
if (_root.land.hitTest(_x, _y - h, true)) {
yspeed = 10;
while (_root.land.hitTest(_x, _y - h, true)) {
_y = _y + 0.1;
}
}
if (Key.isDown(39) && _currentframe != 4 && !slideL && !slideR && _currentframe != 6 && _currentframe != 7) {
camChange = -150;
xspeed += 2.5;
_xscale = scale;
if (_currentframe != 3 && _currentframe != 4 or this.jumpa._currentframe >= 24) {
this.gotoAndStop(2);
}
}
if (Key.isDown(37) && _currentframe != 4 && !slideL && !slideR && _currentframe != 6 && _currentframe != 7) {
camChange = 150;
xspeed -= 2.5;
_xscale = -scale;
if (_currentframe != 3 && _currentframe != 4 or this.jumpa._currentframe >= 24) {
this.gotoAndStop(2);
}
}
if (!Key.isDown(39) && !Key.isDown(37) && _currentframe != 3 && _currentframe != 4 && !slideR && !slideL && _currentframe != 6 && _currentframe != 7) {
this.gotoAndStop(1);
}
if (Key.isDown(32) && grounded && _currentframe != 4 && _currentframe != 6 && _currentframe != 7 or Key.isDown(38) && grounded && _currentframe != 4 && _currentframe != 6 && _currentframe != 7) {
this.grounded = false;
this.gotoAndStop(3);
}
if (Key.isDown(65) && _currentframe != 4 && _currentframe != 3 && _currentframe != 5 && _currentframe != 6 && _currentframe != 7) {
this.gotoAndStop(4);
}
if (_xscale > 0) {
if (Key.isDown(40) && _root.land.hitTest(_x - h - 35, _y + 16, true) && _currentframe != 4 && _currentframe != 6 && _currentframe != 7) {
slideR = true;
} else {
slideR = false;
}
}
if (_xscale < 0) {
if (Key.isDown(40) && _root.land.hitTest(_x + h + 35, _y + 16, true) && _currentframe != 4 && _currentframe != 6 && _currentframe != 7) {
slideL = true;
} else {
slideL = false;
}
}
if (slideR) {
this.gotoAndStop(5);
xspeed += 4.3;
yspeed += 7;
}
if (slideL) {
this.gotoAndStop(5);
xspeed -= 4.3;
yspeed += 7;
}
_root.widescreen._y = cy;
cx += (_x - cx - camChange) / 15;
_root._x = Stage.width / 2 - cx;
if (cxFalse != true) {
cy += (_y - cy) / 3;
_root._y = Stage.height / 2 - cy;
}
_root.widescreen._x = cx;
_root.gradient._x = cx;
_root.gradient._y = cy;
_root.frontbush._x = cx / 20;
_root.backbush._x = cx / 15;
_root.fronttrees._x = cx / 10;
_root.backtrees._x = cx / 5;
_root.back._x = cx;
_root.back._y = cy;
_root.spotlight._x = _x;
_root.spotlight._y = cy - 100;
_root.pauser._x = cx;
_root.pauser._y = cy;
_root.fadeIn._x = cx;
_root.fadeIn._y = cy;
_root.fadeOut._x = cx;
_root.fadeOut._y = cy;
_root.health._x = _x;
_root.health._y = _y - 55;
}
if (_root.land.hitTest(_x, _y + h, true) && this.jumpa._currentframe >= 13 && _currentframe == 3) {
this.gotoAndStop(1);
}
if (_currentframe == 6) {
xspeed = 0;
}
}
}
movieClip 907 {
}
movieClip 909 {
}
instance of movieClip 909 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.fadeOut._currentframe == 1) {
_root.fadeOut.play();
}
}
}
instance pauser of movieClip 375 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
_visible = true;
if (_alpha <= 100) {
_alpha = _alpha + 5;
}
} else {
_alpha = 0;
_visible = false;
}
this.swapDepths(6001);
}
}
instance widescreen of movieClip 377 {
onClipEvent (enterFrame) {
this.swapDepths(5001);
}
}
frame 15 {
fadeIn.gotoAndPlay(1);
stop();
_root.pickUpAble = true;
_root.SkullItem = false;
_root.BombItem = false;
_root.mushroomItem = false;
_root.pickUpAble = false;
_root.SkullItem2 = false;
_root.BombBoss = false;
}
frame 15 {
r = 1;
_root.fadeOut.gotoAndStop(1);
b = 10;
makeRock = function () {
if (!_root.pause) {
++r;
_root.rock.duplicateMovieClip('rock' + r, r);
_root['rock' + r]._xscale = _root.rock.scale + random(50);
_root['rock' + r]._yscale = _root.rock.scale + random(50);
_root['rock' + r]._x = _root.mole._x - 50 + random(100);
_root['rock' + r]._y = _root.mole._y + 70;
}
};
makeRock2 = function () {
if (!_root.pause) {
++r;
_root.rock.duplicateMovieClip('rock' + r, r);
_root['rock' + r]._x = _root.rx;
_root['rock' + r]._y = _root.ry;
}
};
makeBomb = function () {
if (!_root.pause) {
_root.bomb.gotoAndStop(1);
_root.bomb.flasher = 0;
_root.bomb.flashera = 0;
_root.flashing = false;
_root.boom = false;
if (_root.mole._xscale < 0) {
_root.bomb._x = _root.mole._x + 150;
_root.bomb._y = _root.mole._y;
_root.bomb.lefta = 1;
}
if (_root.mole._xscale > 0) {
_root.bomb._x = _root.mole._x - 150;
_root.bomb._y = _root.mole._y;
_root.bomb.lefta = 0;
}
}
};
}
frame 15 {
_root.skulldark = false;
}
frame 15 {
onEnterFrame = function () {
if (Key.isDown(80) && !_root.pause && !hold) {
_root.pause = true;
hold = true;
}
if (!Key.isDown(80) && _root.pause == true) {
hold = false;
}
if (Key.isDown(80) && _root.pause && !hold) {
_root.pause = false;
hold = true;
}
if (!Key.isDown(80) && _root.pause == false) {
hold = false;
}
};
eggSound1 = new Sound();
eggSound2 = new Sound();
eggSound1.attachSound('egg1');
eggSound2.attachSound('egg2');
_root.health.showa = false;
_root.health._alpha = 0;
_x = 0;
_y = 0;
_root.health.dontShow = false;
_root.checkPoint = _currentframe;
}
movieClip 911 {
}
instance of movieClip 911 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
movieClip 913 {
}
movieClip 917 {
frame 1 {
stop();
}
frame 37 {
stop();
}
}
instance player of movieClip 905 {
onClipEvent (load) {
var xspeed = 5;
var yspeed = 0;
var grav = 2;
var w = _width / 2;
var h = _height / 2;
var scale = _xscale;
var cx = _x;
var cy = _y;
var camChange = -150;
var jump = 23;
var dyy = _y;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_y = _y + yspeed;
yspeed += grav;
_x = _x + xspeed;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h + 50, true)) {
if (_currentframe == 3) {
this.jumpa.play();
}
}
if (_root.land.hitTest(_x, _y + h - 5, true)) {
grounded = true;
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 5, true)) {
_y = _y - 0.1;
}
}
if (!_root.land.hitTest(_x, _y + h + 5, true)) {
grounded = false;
}
if (_root.land.hitTest(_x + w, _y, true)) {
xspeed = 0;
while (_root.land.hitTest(_x + w, _y, true)) {
_x = _x - 0.1;
}
}
if (_root.land.hitTest(_x - w, _y, true)) {
xspeed = 0;
while (_root.land.hitTest(_x - w, _y, true)) {
_x = _x + 0.1;
}
}
if (_root.land.hitTest(_x, _y - h, true)) {
yspeed = 10;
while (_root.land.hitTest(_x, _y - h, true)) {
_y = _y + 0.1;
}
}
if (Key.isDown(39) && _currentframe != 4 && !slideL && !slideR && _currentframe != 6 && _currentframe != 7) {
camChange = -150;
xspeed += 2.5;
_xscale = scale;
if (_currentframe != 3 && _currentframe != 4 or this.jumpa._currentframe >= 24) {
this.gotoAndStop(2);
}
}
if (Key.isDown(37) && _currentframe != 4 && !slideL && !slideR && _currentframe != 6 && _currentframe != 7) {
camChange = 150;
xspeed -= 2.5;
_xscale = -scale;
if (_currentframe != 3 && _currentframe != 4 or this.jumpa._currentframe >= 24) {
this.gotoAndStop(2);
}
}
if (!Key.isDown(39) && !Key.isDown(37) && _currentframe != 3 && _currentframe != 4 && !slideR && !slideL && _currentframe != 6 && _currentframe != 7) {
this.gotoAndStop(1);
}
if (Key.isDown(32) && grounded && _currentframe != 4 && _currentframe != 6 && _currentframe != 7 or Key.isDown(38) && grounded && _currentframe != 4 && _currentframe != 6 && _currentframe != 7) {
this.grounded = false;
this.gotoAndStop(3);
}
if (Key.isDown(65) && _currentframe != 4 && _currentframe != 3 && _currentframe != 5 && _currentframe != 6 && _currentframe != 7) {
this.gotoAndStop(4);
}
if (_xscale > 0) {
if (Key.isDown(40) && _root.land.hitTest(_x - h - 35, _y + 16, true) && _currentframe != 4 && _currentframe != 6 && _currentframe != 7) {
slideR = true;
} else {
slideR = false;
}
}
if (_xscale < 0) {
if (Key.isDown(40) && _root.land.hitTest(_x + h + 35, _y + 16, true) && _currentframe != 4 && _currentframe != 6 && _currentframe != 7) {
slideL = true;
} else {
slideL = false;
}
}
if (slideR) {
this.gotoAndStop(5);
xspeed += 4.3;
yspeed += 7;
}
if (slideL) {
this.gotoAndStop(5);
xspeed -= 4.3;
yspeed += 7;
}
_root.widescreen._y = cy;
cx += (_x - cx - camChange) / 15;
_root._x = Stage.width / 2 - cx;
if (cxFalse != true) {
cy += (_y - cy) / 3;
_root._y = Stage.height / 2 - cy;
}
_root.widescreen._x = cx;
_root.gradient._x = cx;
_root.gradient._y = cy;
_root.frontbush._x = cx / 20;
_root.backbush._x = cx / 15;
_root.fronttrees._x = cx / 10;
_root.backtrees._x = cx / 5;
_root.back._x = cx;
_root.back._y = cy;
_root.spotlight._x = _x;
_root.spotlight._y = cy - 100;
_root.pauser._x = cx;
_root.pauser._y = cy;
_root.fadeIn._x = cx;
_root.fadeIn._y = cy;
_root.fadeOut._x = cx;
_root.fadeOut._y = cy;
_root.health._x = _x;
_root.bossHealth._x = cx;
_root.bossHealth._y = cy + 140;
_root.health._y = _y - 55;
_root.fadeOutGO._x = cx;
_root.fadeOutGO._y = cy;
}
if (_root.land.hitTest(_x, _y + h, true) && this.jumpa._currentframe >= 13 && _currentframe == 3) {
this.gotoAndStop(1);
}
if (_currentframe == 6) {
xspeed = 0;
}
}
}
movieClip 920 {
}
movieClip 922 {
}
movieClip 925 {
frame 1 {
stop();
}
}
movieClip 926 {
frame 1 {
stop();
}
}
movieClip 927 {
frame 1 {
stop();
}
frame 2 {
_root.makeRock();
_root.makeRock();
_root.makeRock();
_root.makeRock();
}
instance aa of movieClip 925 {
onClipEvent (enterFrame) {
if (_root.mole.pos == 0) {
this.play();
}
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance bb of movieClip 926 {
onClipEvent (enterFrame) {
if (_root.mole.pos == 1) {
this.play();
}
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
frame 20 {
_parent.gotoAndStop(2);
}
}
movieClip 928 {
}
movieClip 929 {
}
movieClip 930 {
frame 26 {
stop();
_parent.gotoAndStop(1);
}
}
movieClip 942 {
frame 11 {
_root.makeBomb();
_root.mole.attacked = true;
}
frame 17 {
_parent.gotoAndStop(2);
}
}
movieClip 951 {
frame 19 {
_parent.gotoAndStop(2);
}
}
movieClip 953 {
frame 17 {
_parent.gotoAndStop(7);
}
}
movieClip 954 {
}
movieClip 955 {
}
movieClip 956 {
}
movieClip 958 {
}
movieClip 959 {
frame 70 {
stop();
}
instance of movieClip 958 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.fadeOut._currentframe == 1) {
_root.fadeOut.play();
}
}
}
}
movieClip 960 {
frame 1 {
stop();
_root.mole.i = 0;
_root.mole.attacked = false;
_root.mole.attack = 0;
_root.mole.var1 = 0;
_root.mole.stickUp = 4;
}
instance moleUp of movieClip 927 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
if (_currentframe != 1) {
this.play();
}
}
}
}
frame 2 {
_root.mole.attacked = false;
}
instance of movieClip 929 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
frame 3 {
_root.mole.goDown = 4;
_root.flashing = false;
_root.boom = false;
}
instance of movieClip 930 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
frame 4 {
_root.mole.attack = 0;
_root.mole.attacked = true;
}
instance of movieClip 942 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
frame 5 {
_root.mole.attack = 0;
_root.mole.attacked = true;
}
instance of movieClip 951 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 953 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 955 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
frame 8 {
stopAllSounds();
}
}
instance mole of movieClip 960 {
onClipEvent (load) {
i = 0;
j = 0;
z = 0;
stickUp = 0;
goDown = 4;
scale = _xscale;
dx = _x;
pos = random(2);
attack = 0;
attacker = 4;
a = 0;
xd = 0;
rocks = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (_currentframe == 1 && this.moleUp._currentframe == 1) {
++i;
var1 = 0;
if (pos == 0) {
this._xscale = scale;
this._x = dx;
}
if (pos == 1) {
this._xscale = -scale;
this._x = dx - 950;
}
}
if (i >= 50) {
stickUp = random(2);
}
if (stickUp == 0) {
i = 0;
stickUp = 4;
}
if (stickUp == 1) {
i = 0;
_root.shake.play();
++j;
if (j >= 20) {
this.moleUp.play();
stickUp = 4;
j = 0;
}
}
if (this.moleUp._currentframe > 1 && this.hitTest(_root.player)) {
if (pos == 0) {
_root.player.gotoAndStop(3);
_root.player.yspeed = -18;
_root.player.xspeed = -10;
}
if (pos == 1) {
_root.player.gotoAndStop(3);
_root.player.yspeed = -18;
_root.player.xspeed = 10;
}
_root.blink.play();
}
if (this.hitTest(_root.player.base) && _currentframe == 2) {
_root.blink.play();
}
if (_currentframe == 2) {
++z;
stickUp = 4;
}
if (z >= 60) {
++gd;
goDown = random(2);
}
if (gd >= 3) {
goDown = 1;
gd = 0;
}
if (goDown == 0) {
z = 0;
goDown = 4;
}
if (goDown == 1) {
i = 0;
this.gotoAndStop(3);
pos = random(2);
goDown = 4;
z = 0;
}
if (_currentframe == 2 && attacked != true) {
++attack;
}
if (a >= 3) {
attacker = 0;
a = 0;
}
if (attack >= 50 && var1 != 1 && _currentframe == 2) {
attacker = random(2);
trace(attacker);
++a;
attack = 0;
var1 = 1;
}
if (attacker == 0 && attacked != true && _currentframe == 2 && !_root.bomb.hitTest(_root.gradient)) {
this.gotoAndStop(4);
attacker = 4;
attack = 0;
}
if (attacker == 0 && attacked != true && _currentframe == 2 && _root.bomb.hitTest(_root.gradient)) {
this.gotoAndStop(5);
attacker = 4;
attack = 0;
}
if (_currentframe == 7 && _currentframe != 6 && this.hitTest(_root.player.stomp.attack)) {
this.gotoAndStop(6);
_root.bossHealth.bar.hit = true;
}
if (_currentframe == 7 or _currentframe == 6) {
++xd;
}
if (xd >= 200) {
this.gotoAndStop(3);
xd = 0;
}
if (_currentframe == 1 && this.moleUp._currentframe == 1 && !_root.rocka.hitTest(_root.gradient) && _root.rockshadow._currentframe == 1) {
++rocks;
}
if (rocks >= 60 && !_root.rocka.hitTest(_root.gradient) && _root.rockshadow._currentframe == 1 && _root.bossHealth.bar._xscale > 30) {
_root.rocka.var1 = 1;
rocks = 0;
}
if (rocks >= 20 && !_root.rocka.hitTest(_root.gradient) && _root.rockshadow._currentframe == 1 && _root.bossHealth.bar._xscale < 30) {
_root.rocka.var1 = 1;
rocks = 0;
}
if (this.hitTest(_root.player.base) && _currentframe == 5 && _root.blink._currentframe == 1) {
_root.blink.play();
}
}
}
}
instance bomb of movieClip 284 {
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
grav = 0;
h = _height / 2;
w = _width / 2;
i = 0;
iA = 0;
scale = _xscale;
didntHitGround = true;
hitGround = false;
grounded = false;
r = 0;
rr = _rotation;
rott = 0;
flasher = 0;
flashera = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (this.hitTest(_root.gradient)) {
++flasher;
if (flasher >= 200 && _currentframe == 1) {
this.gotoAndStop(2);
_root.flashing = true;
}
if (_currentframe == 2) {
++flashera;
}
if (flashera >= 65 && _currentframe != 3) {
_root.boom = true;
xspeed = 0;
yspeed = 0;
this.gotoAndStop(3);
flashera = 0;
}
}
if (_currentframe == 3 && this.hitTest(_root.player) && this.boom._currentframe <= 4 && _root.mole._currentframe != 6) {
_root.blink.play();
xspeed = 0;
yspeed = 0;
}
if (_currentframe == 3 && this.hitTest(_root.mole) && _root.mole._currentframe != 3 && _root.mole._currentframe != 7 && _root.mole._currentframe != 1 && _root.mole._currentframe != 4 && _root.mole._currentframe != 6) {
_root.mole.gotoAndStop(6);
}
if (this.hitTest(_root.mole) && _root.mole._currentframe != 4 && _root.mole._currentframe != 7 && _root.mole._currentframe != 3 && thrownByPlayer == true && _root.mole._currentframe != 6 && _root.mole._currentframe != 1) {
_root.mole.gotoAndStop(6);
this.gotoAndStop(3);
xspeed = 0;
yspeed = 0;
}
if (lefta == 1) {
grav = 1;
_x = _x + xspeed;
xspeed *= 0.95;
_y = _y + yspeed;
yspeed += grav;
_rotation = _rotation + rott;
rott *= 0.89;
xspeed = 30;
}
if (lefta == 0) {
grav = 1;
_x = _x + xspeed;
xspeed *= 0.95;
_y = _y + yspeed;
yspeed += grav;
_rotation = _rotation + rott;
rott *= 0.89;
xspeed = -30;
}
if (var1 == 1 && _y >= _root.player._y + 4) {
_y = _y - 1;
if (_x <= _root.player._x) {
_x = _x + 1;
} else {
_x = _x - 1;
}
}
if (var1 != 1) {
if (this.hitTest(_root.player.base) && _root.player._currentframe != 4 && _root.player._currentframe != 6 && _root.player._currentframe != 7 && Key.isDown(83) && _root.pickUpAble == true && grounded && _root.land.hitTest(_x, _y + h, true)) {
xspeed = 0;
yspeed = 0;
grav = 1.5;
var2 = 0;
r = 0;
rott = 0;
rot = false;
hold = true;
grounded = false;
var3 = false;
var4 = false;
hitGround = false;
_root.BombBoss = true;
_root.player.gotoAndStop(6);
_root.pickUpAble = false;
var1 = 1;
}
}
if (!Key.isDown(83) && hold) {
hold = false;
}
if (_root.player._currentframe == 1 && var1 == 1) {
this._visible = false;
var1 = 0;
var2 = 1;
var5 = 1;
}
if (var5 != 1) {
_x = _x + xspeed;
xspeed *= 0.95;
_y = _y + yspeed;
yspeed += grav;
_rotation = _rotation + rott;
rott *= 0.89;
} else {
_x = _root.player._x;
_y = _root.player._y;
}
if (_root.land.hitTest(_x, _y + h - 10, true)) {
if (lefta == 1 or lefta == 0) {
var5 = 0;
var3 = true;
}
lefta = 5;
yspeed = -yspeed + 7;
thrownByPlayer = false;
hitGround = true;
while (_root.land.hitTest(_x, _y + h - 10, true)) {
_y = _y - 0.1;
}
}
if (_root.land.hitTest(_x + w, _y, true)) {
xspeed = -xspeed + 5;
while (_root.land.hitTest(_x + w, _y, true)) {
_x = _x - 0.1;
}
}
if (_root.land.hitTest(_x - w, _y, true)) {
xspeed = -xspeed + 5;
while (_root.land.hitTest(_x - w, _y, true)) {
_x = _x + 0.1;
}
}
if (Key.isDown(83) && _root.player._currentframe != 4 && _root.player._currentframe != 3 && _root.BombBoss == true && hold != true && this.hitTest(_root.player)) {
_root.player.gotoAndStop(7);
thrownByPlayer = true;
count = true;
}
}
if (count == true) {
++i;
}
if (i >= 12) {
var3 = true;
var4 = true;
var5 = 0;
i = 0;
}
if (var3 == true) {
if (var4) {
_x = _root.player._x;
_y = _root.player._y;
if (_root.player._xscale > 0) {
_xscale = scale;
xspeed = 30;
} else {
_xscale = -scale;
xspeed = -30;
}
var4 = false;
}
_root.pickUpAble = true;
_root.BombBoss = false;
_visible = true;
grav = 1;
yspeed = -5;
count = false;
countA = true;
var3 = false;
}
if (countA == true) {
var1 = 0;
countA = false;
hitGround = false;
iA = 0;
}
if (yspeed == 1 or yspeed == 0) {
grounded = true;
}
if (rot) {
++r;
rott = -15;
}
if (r >= 30) {
rot = false;
if (_rotation >= rr) {
--rott;
}
if (_rotation <= rr) {
++rott;
}
}
}
}
movieClip 962 {
}
movieClip 963 {
instance bar of movieClip 962 {
onClipEvent (load) {
scale = 0;
speed = 0;
}
onClipEvent (enterFrame) {
_xscale = _xscale + scale;
if (_xscale < 0) {
_root.mole.gotoAndStop(8);
}
scale *= 0.94;
if (hit == true) {
scale = -0.4;
hit = false;
}
if (hit2 == true) {
scale = -0.15;
hit2 = false;
}
}
}
}
movieClip 965 {
}
instance rock of movieClip 965 {
onClipEvent (load) {
scale = _xscale;
yspeed = 0;
xspeed = 0;
grav = 1;
w = _width / 2;
h = _height / 2;
landed = false;
lefted = false;
righted = false;
yscale = _yscale;
xscale = _xscale;
if (_y > 700) {
this.gotoAndStop(2);
}
jump = 15;
walljump = false;
i = 0;
num4 = random(2);
numm4 = Math.round(random(16) + 10);
rot = random(13);
scaled = random(2);
speed = random(5) + 1;
}
onClipEvent (enterFrame) {
if (!_root.pause && _name != 'rock') {
_rotation = _rotation + rot;
if (num4 == 0) {
xspeed -= 0.5;
}
if (num4 == 1) {
xspeed += 0.5;
}
++i;
if (i < 5) {
yspeed = -numm4;
}
yspeed += grav;
_x = _x + xspeed;
_y = _y + yspeed;
xspeed *= 0.92;
landed = false;
lefted = false;
righted = false;
if (scaled == 0) {
_yscale = _yscale + speed;
_xscale = _xscale + speed;
}
if (scaled == 1) {
_yscale = _yscale - speed;
_xscale = _xscale - speed;
}
if (_y > 700) {
this.gotoAndStop(2);
}
if (_y > 700) {
this.gotoAndStop(2);
}
}
}
}
movieClip 966 {
frame 1 {
stop();
}
}
instance rocka of movieClip 966 {
onClipEvent (load) {
yspeed = 0;
_rotation = random(360);
grav = 1;
h = _height / 2;
}
onClipEvent (enterFrame) {
if (var1 == 1) {
yspeed = 0;
_root.rockshadow._x = _root.player._x;
_root.rockshadow._y = _root.player.dyy + 50;
_x = _root.player._x;
_y = _root.player.dyy - 400;
_root.rockshadow.play();
var1 = 2;
}
if (var1 == 2) {
_rotation = _rotation + 1.6;
_y = _y + yspeed;
yspeed += grav;
}
if (this.hitTest(_root.player.base) && _root.blink._currentframe == 1) {
_root.blink.play();
}
if (_root.land.hitTest(_x, _y + h, true)) {
_root.rx = _x;
_root.ry = _y;
_root.makeRock2();
this.play();
_root.makeRock2();
_root.makeRock2();
var1 = 0;
_y = 1000;
_root.rockshadow.gotoAndStop(1);
_root.rockshadow._x = 1000;
_y = 10000;
yspeed = 0;
}
}
}
instance pauser of movieClip 375 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
_visible = true;
if (_alpha <= 100) {
_alpha = _alpha + 5;
}
} else {
_alpha = 0;
_visible = false;
}
this.swapDepths(6002);
}
}
instance widescreen of movieClip 377 {
onClipEvent (enterFrame) {
this.swapDepths(5002);
}
}
frame 16 {
fadeIn.gotoAndPlay(1);
stop();
_root.pickUpAble = true;
_root.SkullItem = false;
_root.BombItem = false;
_root.mushroomItem = false;
_root.pickUpAble = false;
_root.SkullItem2 = false;
_root.BombBoss = false;
}
frame 16 {
_root.fadeOut.gotoAndStop(1);
}
frame 16 {
_root.skulldark = false;
}
frame 16 {
function makeEgg() {
++c;
++e;
_root.egg.duplicateMovieClip('egg' + e, e);
_root.clock.duplicateMovieClip('clock' + c, c);
_root['egg' + e]._x = _root.eggx;
_root['egg' + e]._y = _root.eggy;
_root['clock' + c]._x = _root.eggx;
_root['clock' + c]._y = _root.eggy;
}
c = 100;
e = 70;
s = 0;
b = 50;
makeSparkle = function () {
++s;
sparkle.duplicateMovieClip('sparkle' + s, s);
if (_root.player._xscale > 0) {
_root['sparkle' + s]._x = _root.player._x - 20 - random(40);
_root['sparkle' + s]._y = _root.player._y + 50 - random(100);
_root['sparkle' + s]._xscale = _root.sparkle.scale + random(15);
_root['sparkle' + s]._yscale = _root['sparkle' + s]._xscale;
}
if (_root.player._xscale < 0) {
_root['sparkle' + s]._x = _root.player._x + 20 + random(40);
_root['sparkle' + s]._y = _root.player._y + 50 - random(100);
_root['sparkle' + s]._xscale = _root.sparkle.scale + random(15);
_root['sparkle' + s]._yscale = _root['sparkle' + s]._xscale;
}
if (s >= 60) {
s = 0;
}
};
}
frame 16 {
onEnterFrame = function () {
if (Key.isDown(80) && !_root.pause && !hold) {
_root.pause = true;
hold = true;
}
if (!Key.isDown(80) && _root.pause == true) {
hold = false;
}
if (Key.isDown(80) && _root.pause && !hold) {
_root.pause = false;
hold = true;
}
if (!Key.isDown(80) && _root.pause == false) {
hold = false;
}
};
eggSound1 = new Sound();
eggSound2 = new Sound();
eggSound1.attachSound('egg1');
eggSound2.attachSound('egg2');
_root.health.showa = false;
_root.health._alpha = 0;
_x = 0;
_y = 0;
_root.health.dontShow = false;
_root.checkPoint = _currentframe;
}
movieClip 968 {
instance of movieClip 898 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 898 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 898 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 898 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 898 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 898 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 898 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 898 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 898 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 898 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 898 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 898 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 898 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
}
instance of movieClip 968 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
movieClip 970 {
}
movieClip 972 {
}
instance spikes of movieClip 972 {
onClipEvent (enterFrame) {
if (this.base.hitTest(_root.player.base)) {
_root.blink.play();
}
}
}
instance of movieClip 151 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
movieClip 975 {
}
movieClip 976 {
}
instance of movieClip 976 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
movieClip 981 {
}
movieClip 982 {
}
movieClip 983 {
frame 30 {
_parent.gotoAndStop(1);
}
}
movieClip 984 {
frame 1 {
stop();
}
frame 2 {
stop();
}
instance of movieClip 983 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
}
instance of movieClip 984 {
onClipEvent (enterFrame) {
if (this.top.hitTest(_root.player.base) && _root.player.grounded != true && _root.player.yspeed >= 3) {
_root.player.yspeed = -35;
this.gotoAndStop(2);
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.grounded = false;
}
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
movieClip 986 {
}
instance of movieClip 984 {
onClipEvent (enterFrame) {
if (this.top.hitTest(_root.player.base) && _root.player.grounded != true && _root.player.yspeed >= 3) {
_root.player.yspeed = -35;
this.gotoAndStop(2);
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.grounded = false;
}
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 984 {
onClipEvent (enterFrame) {
if (this.top.hitTest(_root.player.base) && _root.player.grounded != true && _root.player.yspeed >= 3) {
_root.player.yspeed = -35;
this.gotoAndStop(2);
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.grounded = false;
}
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 984 {
onClipEvent (enterFrame) {
if (this.top.hitTest(_root.player.base) && _root.player.grounded != true && _root.player.yspeed >= 3) {
_root.player.yspeed = -35;
this.gotoAndStop(2);
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.grounded = false;
}
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
movieClip 988 {
}
movieClip 990 {
}
movieClip 991 {
}
movieClip 992 {
}
movieClip 993 {
frame 41 {
stop();
}
}
movieClip 994 {
frame 40 {
_parent.gotoAndStop(1);
}
}
movieClip 995 {
frame 16 {
_parent.gotoAndStop(1);
}
}
movieClip 996 {
frame 1 {
stop();
}
instance of movieClip 992 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
frame 3 {
++_root.enemies;
_root.score += 30;
}
instance of movieClip 993 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
if (_currentframe != 41) {
this.play();
}
}
}
}
instance of movieClip 994 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 995 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
}
instance en1 of movieClip 996 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
var hit = 0;
z = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause && this.hitTest(_root.gradient)) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 450 && !dead && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
} else {
if (!dead && _currentframe != 4 && _currentframe != 5) {
this.gotoAndStop(1);
}
}
++z;
if (z >= 80) {
attackReady = true;
}
if (d <= 180 && !dead && _currentframe != 4 && _root.player.grounded && attackReady && _currentframe != 5) {
this.gotoAndStop(4);
attackReady = false;
z = 0;
}
if (this.hitTest(_root.player) && _root.player._currentframe != 4 && _root.blink._currentframe == 1 && _currentframe != 3 && _currentframe == 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5 && this.attack._currentframe >= 10 && this.attack._currentframe <= 23) {
_root.blink.play();
}
if (this.hitTest(_root.player) && _root.player._currentframe == 4 && _root.player.stomp._currentframe == 19 && _currentframe == 4) {
_root.blink.play();
}
if (this.top.hitTest(_root.player.base) && _root.player.yspeed >= 3 && _currentframe != 3 && _root.player.grounded == false && _currentframe != 3 && _currentframe != 5) {
gotoAndStop(3);
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3 && _currentframe != 5) {
++hit;
this.gotoAndStop(5);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5 && _currentframe != 4 && _currentframe != 5) {
++hit;
this.gotoAndStop(5);
}
if (hit >= 3) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
instance en2 of movieClip 179 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
if (this.hitTest(_root.player) && _currentframe != 3) {
this.gotoAndStop(1);
}
} else {
if (!dead) {
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.player) && _root.blink._currentframe == 1 && _currentframe != 3 && _root.player._currentframe != 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5) {
_root.blink.play();
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
instance en3 of movieClip 179 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
if (this.hitTest(_root.player) && _currentframe != 3) {
this.gotoAndStop(1);
}
} else {
if (!dead) {
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.player) && _root.blink._currentframe == 1 && _currentframe != 3 && _root.player._currentframe != 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5) {
_root.blink.play();
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
instance en4 of movieClip 233 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
var hit = 0;
z = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause && this.hitTest(_root.gradient)) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
} else {
if (!dead && _currentframe != 4 && _currentframe != 5) {
this.gotoAndStop(1);
}
}
++z;
if (z >= 80) {
attackReady = true;
}
if (d <= 180 && !dead && _currentframe != 4 && _root.player.grounded && attackReady && _currentframe != 5) {
this.gotoAndStop(4);
attackReady = false;
z = 0;
}
if (_xscale < 0) {
if (_currentframe == 4 && this.attack._currentframe >= 10 && this.attack._currentframe <= 15) {
xspeed = 15;
}
}
if (_xscale > 0) {
if (_currentframe == 4 && this.attack._currentframe >= 10 && this.attack._currentframe <= 15) {
xspeed = -15;
}
}
if (this.hitTest(_root.player) && _root.player._currentframe != 4 && _root.blink._currentframe == 1 && _currentframe != 3 && _currentframe == 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5 && this.attack._currentframe >= 10 && this.attack._currentframe <= 23) {
_root.blink.play();
}
if (this.hitTest(_root.player) && _root.player._currentframe == 4 && _root.player.stomp._currentframe == 19 && _currentframe == 4) {
_root.blink.play();
}
if (this.top.hitTest(_root.player.base) && _root.player.yspeed >= 3 && _root.player.grounded == false && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
_root.blink.play();
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
}
if (this.top.hitTest(_root.player.base) && _currentframe == 4 && this.attack._currentframe >= 10 && this.attack._currentframe <= 28 && _root.player.grounded == false && _root.player.yspeed >= 3) {
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
dead = true;
gotoAndStop(3);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3 && _currentframe != 5) {
++hit;
this.gotoAndStop(5);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5 && _currentframe != 4 && _currentframe != 5) {
++hit;
this.gotoAndStop(5);
}
if (hit >= 3) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
instance en5 of movieClip 996 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
var hit = 0;
z = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause && this.hitTest(_root.gradient)) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 450 && !dead && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
} else {
if (!dead && _currentframe != 4 && _currentframe != 5) {
this.gotoAndStop(1);
}
}
++z;
if (z >= 80) {
attackReady = true;
}
if (d <= 180 && !dead && _currentframe != 4 && _root.player.grounded && attackReady && _currentframe != 5) {
this.gotoAndStop(4);
attackReady = false;
z = 0;
}
if (this.hitTest(_root.player) && _root.player._currentframe != 4 && _root.blink._currentframe == 1 && _currentframe != 3 && _currentframe == 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5 && this.attack._currentframe >= 10 && this.attack._currentframe <= 23) {
_root.blink.play();
}
if (this.hitTest(_root.player) && _root.player._currentframe == 4 && _root.player.stomp._currentframe == 19 && _currentframe == 4) {
_root.blink.play();
}
if (this.top.hitTest(_root.player.base) && _root.player.yspeed >= 3 && _currentframe != 3 && _root.player.grounded == false && _currentframe != 3 && _currentframe != 5) {
gotoAndStop(3);
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3 && _currentframe != 5) {
++hit;
this.gotoAndStop(5);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5 && _currentframe != 4 && _currentframe != 5) {
++hit;
this.gotoAndStop(5);
}
if (hit >= 3) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
instance en6 of movieClip 179 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (!_root.pause && this.hitTest(_root.gradient)) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
if (this.hitTest(_root.player) && _currentframe != 3) {
this.gotoAndStop(1);
}
} else {
if (!dead) {
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.player) && _root.blink._currentframe == 1 && _currentframe != 3 && _root.player._currentframe != 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5) {
_root.blink.play();
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
instance en7 of movieClip 179 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (!_root.pause && this.hitTest(_root.gradient)) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
if (this.hitTest(_root.player) && _currentframe != 3) {
this.gotoAndStop(1);
}
} else {
if (!dead) {
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.player) && _root.blink._currentframe == 1 && _currentframe != 3 && _root.player._currentframe != 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5) {
_root.blink.play();
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
instance en8 of movieClip 179 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (!_root.pause && this.hitTest(_root.gradient)) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
if (this.hitTest(_root.player) && _currentframe != 3) {
this.gotoAndStop(1);
}
} else {
if (!dead) {
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.player) && _root.blink._currentframe == 1 && _currentframe != 3 && _root.player._currentframe != 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5) {
_root.blink.play();
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
instance en9 of movieClip 996 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
var hit = 0;
z = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause && this.hitTest(_root.gradient)) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 450 && !dead && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
} else {
if (!dead && _currentframe != 4 && _currentframe != 5) {
this.gotoAndStop(1);
}
}
++z;
if (z >= 80) {
attackReady = true;
}
if (d <= 180 && !dead && _currentframe != 4 && _root.player.grounded && attackReady && _currentframe != 5) {
this.gotoAndStop(4);
attackReady = false;
z = 0;
}
if (this.hitTest(_root.player) && _root.player._currentframe != 4 && _root.blink._currentframe == 1 && _currentframe != 3 && _currentframe == 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5 && this.attack._currentframe >= 10 && this.attack._currentframe <= 23) {
_root.blink.play();
}
if (this.hitTest(_root.player) && _root.player._currentframe == 4 && _root.player.stomp._currentframe == 19 && _currentframe == 4) {
_root.blink.play();
}
if (this.top.hitTest(_root.player.base) && _root.player.yspeed >= 3 && _currentframe != 3 && _root.player.grounded == false && _currentframe != 3 && _currentframe != 5) {
gotoAndStop(3);
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3 && _currentframe != 5) {
++hit;
this.gotoAndStop(5);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5 && _currentframe != 4 && _currentframe != 5) {
++hit;
this.gotoAndStop(5);
}
if (hit >= 3) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
movieClip 998 {
}
movieClip 1000 {
}
movieClip 1002 {
}
movieClip 1004 {
}
movieClip 1006 {
}
movieClip 1008 {
}
movieClip 1010 {
}
movieClip 1012 {
}
movieClip 1013 {
}
movieClip 1015 {
}
movieClip 1016 {
}
movieClip 1017 {
frame 1 {
stop();
}
}
movieClip 1018 {
frame 1 {
stop();
}
}
movieClip 1019 {
}
movieClip 1020 {
}
movieClip 1025 {
}
movieClip 1034 {
}
movieClip 1035 {
}
movieClip 1036 {
}
movieClip 1037 {
frame 61 {
stop();
}
}
movieClip 1038 {
frame 21 {
stop();
}
}
movieClip 1039 {
frame 21 {
stop();
_root.bomb._x = 1000;
}
}
movieClip 1040 {
frame 1 {
stop();
}
instance of movieClip 1025 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
frame 2 {
stop();
}
instance of movieClip 1034 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance boom of movieClip 1039 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
if (_currentframe != 21) {
this.play();
}
}
}
}
}
movieClip 1041 {
frame 1 {
stop();
if (_currentframe == 1) {
_root.pickUpAble = true;
}
if (_root.pickUpAble == true) {
gotoAndStop(1);
}
if (_root.SkullItem == true) {
this.gotoAndStop(2);
_root.pickUpAble = false;
}
if (_root.BombItem == true) {
this.gotoAndStop(3);
_root.pickUpAble = false;
}
if (_root.mushroomItem == true) {
this.gotoAndStop(4);
_root.pickUpAble = false;
}
if (_root.SkullItem2 == true) {
this.gotoAndStop(5);
_root.pickUpAble = false;
}
if (_root.BombBoss == true) {
this.gotoAndStop(6);
_root.pickUpAble = false;
}
}
frame 2 {
stop();
onEnterFrame = function () {
if (_root.pickUpAble == true) {
gotoAndStop(1);
}
};
}
frame 3 {
stop();
onEnterFrame = function () {
if (_root.pickUpAble == true) {
gotoAndStop(1);
}
};
}
frame 4 {
stop();
onEnterFrame = function () {
if (_root.pickUpAble == true) {
gotoAndStop(1);
}
};
}
frame 5 {
stop();
onEnterFrame = function () {
if (_root.pickUpAble == true) {
gotoAndStop(1);
}
};
}
frame 6 {
stop();
onEnterFrame = function () {
if (_root.pickUpAble == true) {
gotoAndStop(1);
}
};
}
instance bomb of movieClip 1040 {
onClipEvent (enterFrame) {
if (_root.flashing == true) {
this.gotoAndStop(2);
}
if (_root.boom == true) {
this.gotoAndStop(3);
}
}
}
}
movieClip 1042 {
instance of movieClip 1041 {
onClipEvent (enterFrame) {
if (_currentframe == 1) {
_root.pickUpAble = true;
}
if (_root.SkullItem == true) {
this.gotoAndStop(2);
_root.pickUpAble = false;
}
}
}
}
movieClip 1043 {
}
movieClip 1044 {
frame 1 {
stop();
}
}
movieClip 1045 {
instance of movieClip 1044 {
onClipEvent (enterFrame) {
if (_root.player.grounded == true) {
this.play();
}
}
}
instance of movieClip 290 {
onClipEvent (enterFrame) {
if (_root.player.grounded == true) {
this.play();
}
}
}
}
movieClip 1046 {
frame 4 {
_root.player.yspeed = -_root.player.jump;
_root.player.grounded = false;
}
frame 5 {
_root.player.grounded = false;
}
frame 6 {
_root.player.grounded = false;
}
frame 16 {
stop();
}
frame 19 {
_parent.gotoAndStop(1);
}
frame 22 {
_parent.gotoAndStop(1);
}
}
movieClip 1047 {
frame 10 {
stop();
}
}
movieClip 1048 {
}
movieClip 1049 {
frame 12 {
_root.shake.play();
}
frame 30 {
_parent.gotoAndStop(1);
}
}
movieClip 1052 {
frame 10 {
_parent.gotoAndStop(1);
}
}
movieClip 1053 {
frame 13 {
_parent.gotoAndStop(1);
}
}
movieClip 1054 {
frame 25 {
_parent.gotoAndStop(1);
}
}
movieClip 1055 {
frame 1 {
stop();
}
instance of movieClip 1042 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
frame 2 {
onEnterFrame = function () {
if (_currentframe == 2 or _currentframe == 5) {
_root.makeSparkle();
}
};
}
instance of movieClip 1045 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance jumpa of movieClip 1046 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
if (_currentframe < 15) {
this.play();
}
}
}
}
instance stomp of movieClip 1049 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 1052 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 1053 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 1054 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
}
instance player of movieClip 1055 {
onClipEvent (load) {
var xspeed = 5;
var yspeed = 0;
var grav = 2;
var w = _width / 2;
var h = _height / 2;
var scale = _xscale;
var cx = _x;
var cy = _y;
var camChange = -150;
var jump = 30;
var dyy = _y;
holdJump = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_y = _y + yspeed;
yspeed += grav;
_x = _x + xspeed;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h + 50, true)) {
if (_currentframe == 3) {
this.jumpa.play();
}
}
if (_root.land.hitTest(_x, _y + h - 5, true)) {
grounded = true;
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 5, true)) {
_y = _y - 0.1;
}
}
if (!_root.land.hitTest(_x, _y + h + 5, true)) {
grounded = false;
}
if (_root.land.hitTest(_x + w, _y, true)) {
xspeed = 0;
while (_root.land.hitTest(_x + w, _y, true)) {
_x = _x - 0.1;
}
}
if (_root.land.hitTest(_x - w, _y, true)) {
xspeed = 0;
while (_root.land.hitTest(_x - w, _y, true)) {
_x = _x + 0.1;
}
}
if (_root.land.hitTest(_x, _y - h, true)) {
yspeed = 10;
while (_root.land.hitTest(_x, _y - h, true)) {
_y = _y + 0.1;
}
}
if (Key.isDown(39) && _currentframe != 4 && !slideL && !slideR && _currentframe != 6 && _currentframe != 7) {
camChange = -150;
xspeed += 3.5;
_xscale = scale;
if (_currentframe != 3 && _currentframe != 4 or this.jumpa._currentframe >= 24) {
this.gotoAndStop(2);
}
}
if (Key.isDown(37) && _currentframe != 4 && !slideL && !slideR && _currentframe != 6 && _currentframe != 7) {
camChange = 150;
xspeed -= 3.5;
_xscale = -scale;
if (_currentframe != 3 && _currentframe != 4 or this.jumpa._currentframe >= 24) {
this.gotoAndStop(2);
}
}
if (!Key.isDown(39) && !Key.isDown(37) && _currentframe != 3 && _currentframe != 4 && !slideR && !slideL && _currentframe != 6 && _currentframe != 7) {
this.gotoAndStop(1);
}
if (Key.isDown(32) && !holdJump && doubleJump != true && grounded && _currentframe != 4 && _currentframe != 6 && _currentframe != 7 && _currentframe != 3) {
this.grounded = false;
this.gotoAndStop(3);
holdJump = true;
doubleJump = true;
}
if (Key.isDown(38) && !holdJump && doubleJump != true && grounded && _currentframe != 4 && _currentframe != 6 && _currentframe != 7 && _currentframe != 3) {
this.grounded = false;
this.gotoAndStop(3);
holdJump = true;
doubleJump = true;
}
if (!Key.isDown(32) && holdJump && !Key.isDown(38)) {
holdJump = false;
trace(holdJump);
}
if (Key.isDown(32) && doubleJump == true && holdJump != true) {
this.gotoAndStop(1);
trace('hi');
this.gotoAndStop(3);
doubleJump = false;
}
if (Key.isDown(38) && doubleJump == true && !holdJump) {
this.gotoAndStop(1);
trace('hi');
this.gotoAndStop(3);
doubleJump = false;
}
if (Key.isDown(65) && _currentframe != 4 && _currentframe != 3 && _currentframe != 5 && _currentframe != 6 && _currentframe != 7) {
this.gotoAndStop(4);
}
if (_xscale > 0) {
if (Key.isDown(40) && _root.land.hitTest(_x - h - 35, _y + 16, true) && _currentframe != 4 && _currentframe != 6 && _currentframe != 7) {
slideR = true;
} else {
slideR = false;
}
}
if (_xscale < 0) {
if (Key.isDown(40) && _root.land.hitTest(_x + h + 35, _y + 16, true) && _currentframe != 4 && _currentframe != 6 && _currentframe != 7) {
slideL = true;
} else {
slideL = false;
}
}
if (slideR) {
this.gotoAndStop(5);
xspeed += 4.3;
yspeed += 7;
}
if (slideL) {
this.gotoAndStop(5);
xspeed -= 4.3;
yspeed += 7;
}
_root.widescreen._y = cy;
cx += (_x - cx - camChange) / 15;
_root._x = Stage.width / 2 - cx;
if (cxFalse != true) {
cy += (_y - cy) / 3;
_root._y = Stage.height / 2 - cy;
}
_root.widescreen._x = cx;
_root.gradient._x = cx;
_root.gradient._y = cy;
_root.frontbush._x = cx / 20;
_root.backbush._x = cx / 15;
_root.fronttrees._x = cx / 10;
_root.backtrees._x = cx / 5;
_root.back._x = cx;
_root.back._y = cy;
_root.spotlight._x = _x;
_root.spotlight._y = cy - 100;
_root.pauser._x = cx;
_root.pauser._y = cy;
_root.fadeIn._x = cx;
_root.fadeIn._y = cy;
_root.fadeOut._x = cx;
_root.fadeOut._y = cy;
_root.health._x = _x;
_root.bossHealth._x = cx;
_root.bossHealth._y = cy + 140;
_root.health._y = _y - 55;
_root.fadeOutGO._x = cx;
_root.fadeOutGO._y = cy;
}
if (_root.land.hitTest(_x, _y + h, true) && this.jumpa._currentframe >= 13 && _currentframe == 3) {
this.gotoAndStop(1);
}
if (_currentframe == 6) {
xspeed = 0;
}
}
}
movieClip 1057 {
}
movieClip 1058 {
frame 1 {
stop();
}
frame 2 {
if (_root.eggsound1 != true) {
_root.eggSound1.start(0, 1);
_root.eggsound1 = true;
} else {
if (_root.eggsound1 == true) {
_root.eggSound2.start(0, 1);
_root.eggsound1 = false;
}
}
}
frame 2 {
stop();
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
movieClip 1060 {
}
movieClip 1061 {
frame 1 {
stop();
}
frame 2 {
++_root.eggs;
_root.score += 5;
}
frame 9 {
stop();
}
}
instance egg of movieClip 1061 {
onClipEvent (load) {
var friction = 1.05;
var yspeed = 0;
var xspeed = 0;
var i = 0;
var1 = 0;
h = _height / 2;
w = _width / 2;
xspeeda = -10 + random(20);
yspeeda = -random(20);
drag = 0.98;
bounce = 1;
gravity = 1;
a = 0;
aa = 0;
rot = random(13);
y = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause && _name != 'egg') {
_rotation = _rotation + rot;
if (var1 == 0) {
++a;
_root.speed = this.xspeeda;
if (!dragging) {
_x = _x + xspeeda;
_y = _y + yspeeda - 0.29;
yspeeda = yspeeda * drag + gravity;
xspeeda *= drag;
} else {
xspeeda = _x - oldx;
yspeeda = _y - oldy;
oldx = _x;
oldy = _y;
}
}
if (a >= 25) {
a = 0;
var1 = 1;
}
if (var1 == 1) {
++aa;
_y = _y + yspeed;
_x = _x + xspeed;
xspeed /= friction;
yspeed /= friction;
xspeed -= (_x - _root.player._x) / (random(35) + 14);
yspeed -= (_y - _root.player._y) / (random(35) + 14);
if (_y <= _root.player._y) {
_y = _y + (random(4) + 1);
}
if (_y >= _root.player._y) {
_y = _y - (random(4) + 1);
}
if (_x >= _root.player._x && i == 0) {
++i;
}
if (_x <= _root.player._x && i == 1) {
++i;
}
if (_x >= _root.player._x && i == 2) {
++i;
}
if (i >= 3 && this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndPlay(2);
xspeed = 0;
yspeed = 0;
}
}
}
if (!_root.pause && _currentframe > 1 && _currentframe != 9) {
play();
}
if (_currentframe >= 2) {
++y;
}
if (y >= 60) {
this.removeMovieClip();
}
}
}
movieClip 1063 {
}
movieClip 1064 {
frame 1 {
stop();
}
frame 9 {
stop();
}
}
instance clock of movieClip 1064 {
onClipEvent (load) {
var friction = 1.05;
var yspeed = 0;
var xspeed = 0;
var i = 0;
var1 = 0;
h = _height / 2;
w = _width / 2;
xspeeda = -10 + random(20);
yspeeda = -random(20);
drag = 0.98;
bounce = 1;
gravity = 1;
a = 0;
aa = 0;
rot = random(13);
y = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause && _name != 'clock') {
_rotation = _rotation + rot;
if (var1 == 0) {
++a;
_root.speed = this.xspeeda;
if (!dragging) {
_x = _x + xspeeda;
_y = _y + yspeeda - 0.29;
yspeeda = yspeeda * drag + gravity;
xspeeda *= drag;
} else {
xspeeda = _x - oldx;
yspeeda = _y - oldy;
oldx = _x;
oldy = _y;
}
}
if (a >= 25) {
a = 0;
var1 = 1;
}
if (var1 == 1) {
++aa;
_y = _y + yspeed;
_x = _x + xspeed;
xspeed /= friction;
yspeed /= friction;
xspeed -= (_x - _root.player._x) / (random(35) + 14);
yspeed -= (_y - _root.player._y) / (random(35) + 14);
if (_y <= _root.player._y) {
_y = _y + (random(4) + 1);
}
if (_y >= _root.player._y) {
_y = _y - (random(4) + 1);
}
if (_x >= _root.player._x && i == 0) {
++i;
}
if (_x <= _root.player._x && i == 1) {
++i;
}
if (_x >= _root.player._x && i == 2) {
++i;
}
if (i >= 3 && this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndPlay(2);
xspeed = 0;
yspeed = 0;
}
}
}
if (!_root.pause && _currentframe > 1 && _currentframe != 9) {
play();
}
if (_currentframe >= 2) {
++y;
}
if (y >= 60) {
this.removeMovieClip();
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
movieClip 1068 {
frame 16 {
stop();
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1058 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 326 {
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
grav = 0;
h = _height / 2;
w = _width / 2;
i = 0;
iA = 0;
scale = _xscale;
didntHitGround = true;
grounded = true;
r = 0;
rr = _rotation;
rott = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (var1 == 1 && _y >= _root.player._y + 4) {
_y = _y - 1;
if (_x <= _root.player._x) {
_x = _x + 1;
} else {
_x = _x - 1;
}
}
if (var1 != 1) {
if (this.hitTest(_root.player.base) && _root.player._currentframe != 4 && _root.player._currentframe != 6 && _root.player._currentframe != 7 && Key.isDown(83) && _root.pickUpAble == true && grounded && _root.land.hitTest(_x, _y + h, true)) {
xspeed = 0;
yspeed = 0;
grav = 1.5;
var2 = 0;
r = 0;
rott = 0;
rot = false;
hold = true;
grounded = false;
var3 = false;
var4 = false;
hitGround = false;
_root.SkullItem = true;
_root.player.gotoAndStop(6);
_root.pickUpAble = false;
var1 = 1;
}
}
if (!Key.isDown(83) && hold) {
hold = false;
}
if (_root.player._currentframe == 1 && var1 == 1) {
this._visible = false;
var1 = 0;
var2 = 1;
var5 = 1;
}
if (var2 == 1) {
e = 0;
while (e <= 30) {
if (this.hitTest(_root['en' + e]) && hitGround != true && _root['en' + e].dead != true && _root.SkullItem != true) {
_root['en' + e].hitBySomething = true;
rot = true;
yspeed = -16;
xspeed = 0;
}
++e;
}
if (var5 != 1) {
_x = _x + xspeed;
xspeed *= 0.95;
_y = _y + yspeed;
yspeed += grav;
_rotation = _rotation + rott;
rott *= 0.89;
} else {
_x = _root.player._x;
_y = _root.player._y;
}
if (_root.land.hitTest(_x, _y + h - 10, true)) {
yspeed = -yspeed + 7;
hitGround = true;
while (_root.land.hitTest(_x, _y + h - 10, true)) {
_y = _y - 0.1;
}
}
if (_root.land.hitTest(_x + w, _y, true)) {
xspeed = -xspeed + 5;
while (_root.land.hitTest(_x + w, _y, true)) {
_x = _x - 0.1;
}
}
if (_root.land.hitTest(_x - w, _y, true)) {
xspeed = -xspeed + 5;
while (_root.land.hitTest(_x - w, _y, true)) {
_x = _x + 0.1;
}
}
if (Key.isDown(83) && _root.player._currentframe != 4 && _root.player._currentframe != 3 && _root.SkullItem == true && hold != true && this.hitTest(_root.player)) {
_root.player.gotoAndStop(7);
count = true;
}
}
if (count == true) {
++i;
}
if (i >= 12) {
var3 = true;
var4 = true;
var5 = 0;
i = 0;
}
if (var3 == true) {
if (var4) {
_x = _root.player._x;
_y = _root.player._y;
if (_root.player._xscale > 0) {
_xscale = scale;
xspeed = 30;
} else {
_xscale = -scale;
xspeed = -30;
}
var4 = false;
}
_root.pickUpAble = true;
_root.SkullItem = false;
_visible = true;
grav = 1;
yspeed = -5;
count = false;
countA = true;
var3 = false;
}
if (countA == true) {
var1 = 0;
countA = false;
hitGround = false;
iA = 0;
}
if (yspeed == 1 or yspeed == 0) {
grounded = true;
}
if (rot) {
++r;
rott = -15;
}
if (r >= 30) {
rot = false;
if (_rotation >= rr) {
--rott;
}
if (_rotation <= rr) {
++rott;
}
}
}
}
}
instance of movieClip 332 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 332 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance pauser of movieClip 375 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
_visible = true;
if (_alpha <= 100) {
_alpha = _alpha + 5;
}
} else {
_alpha = 0;
_visible = false;
}
this.swapDepths(6003);
}
}
instance widescreen of movieClip 377 {
onClipEvent (enterFrame) {
this.swapDepths(5003);
}
}
frame 17 {
fadeIn.gotoAndPlay(1);
stop();
_root.pickUpAble = true;
_root.SkullItem = false;
_root.BombItem = false;
_root.mushroomItem = false;
_root.pickUpAble = false;
_root.SkullItem2 = false;
_root.BombBoss = false;
}
frame 17 {
_root.fadeOut.gotoAndStop(1);
_root.fadeIn._x = 0;
_root.fadeIn._y = 0;
}
frame 17 {
function makeEgg() {
++c;
++e;
_root.egg.duplicateMovieClip('egg' + e, e);
_root.clock.duplicateMovieClip('clock' + c, c);
_root['egg' + e]._x = _root.eggx;
_root['egg' + e]._y = _root.eggy;
_root['clock' + c]._x = _root.eggx;
_root['clock' + c]._y = _root.eggy;
}
function makeBomb() {
++b;
_root.bomb.duplicateMovieClip('bomb' + b, b);
_root['bomb' + b]._x = _root.bush._x;
_root['bomb' + b]._y = _root.bush._y - 10;
}
c = 100;
e = 70;
s = 0;
b = 50;
makeSparkle = function () {
++s;
sparkle.duplicateMovieClip('sparkle' + s, s);
if (_root.player._xscale > 0) {
_root['sparkle' + s]._x = _root.player._x - 20 - random(40);
_root['sparkle' + s]._y = _root.player._y + 50 - random(100);
_root['sparkle' + s]._xscale = _root.sparkle.scale + random(15);
_root['sparkle' + s]._yscale = _root['sparkle' + s]._xscale;
}
if (_root.player._xscale < 0) {
_root['sparkle' + s]._x = _root.player._x + 20 + random(40);
_root['sparkle' + s]._y = _root.player._y + 50 - random(100);
_root['sparkle' + s]._xscale = _root.sparkle.scale + random(15);
_root['sparkle' + s]._yscale = _root['sparkle' + s]._xscale;
}
if (s >= 60) {
s = 0;
}
};
}
frame 17 {
onEnterFrame = function () {
if (Key.isDown(80) && !_root.pause && !hold) {
_root.pause = true;
hold = true;
}
if (!Key.isDown(80) && _root.pause == true) {
hold = false;
}
if (Key.isDown(80) && _root.pause && !hold) {
_root.pause = false;
hold = true;
}
if (!Key.isDown(80) && _root.pause == false) {
hold = false;
}
};
eggSound1 = new Sound();
eggSound2 = new Sound();
eggSound1.attachSound('egg1');
eggSound2.attachSound('egg2');
_root.health.showa = false;
_root.health._alpha = 0;
_x = 0;
_y = 0;
_root.health.dontShow = false;
_root.checkPoint = _currentframe;
}
movieClip 1070 {
}
movieClip 1072 {
}
movieClip 1073 {
instance of movieClip 1072 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1072 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1072 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1072 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1072 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1072 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1072 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1072 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1072 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1072 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
}
movieClip 1075 {
}
movieClip 1076 {
instance of movieClip 1075 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1075 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1075 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1075 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1075 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1075 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1075 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1075 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1075 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1075 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
}
movieClip 1078 {
}
movieClip 1079 {
}
movieClip 1080 {
instance of movieClip 1079 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1079 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1079 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1079 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1079 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1079 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1079 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1079 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1079 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1079 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1079 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1079 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
}
movieClip 1083 {
}
movieClip 1085 {
}
instance of movieClip 160 {
onClipEvent (enterFrame) {
if (this.top.hitTest(_root.player.base) && _root.player.grounded != true && _root.player.yspeed >= 3) {
_root.player.yspeed = -40;
this.gotoAndStop(2);
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.grounded = false;
}
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 160 {
onClipEvent (enterFrame) {
if (this.top.hitTest(_root.player.base) && _root.player.grounded != true && _root.player.yspeed >= 3) {
_root.player.yspeed = -40;
this.gotoAndStop(2);
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.grounded = false;
}
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 160 {
onClipEvent (enterFrame) {
if (this.top.hitTest(_root.player.base) && _root.player.grounded != true && _root.player.yspeed >= 3) {
_root.player.yspeed = -40;
this.gotoAndStop(2);
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.grounded = false;
}
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance en2 of movieClip 434 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
if (this.hitTest(_root.player) && _currentframe != 3) {
this.gotoAndStop(1);
}
} else {
if (!dead) {
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.player) && _root.blink._currentframe == 1 && _currentframe != 3 && _root.player._currentframe != 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5) {
_root.blink.play();
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
instance en3 of movieClip 433 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
var hit = 0;
z = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
} else {
if (!dead && _currentframe != 4 && _currentframe != 5) {
this.gotoAndStop(1);
}
}
++z;
if (z >= 80) {
attackReady = true;
}
if (d <= 180 && !dead && _currentframe != 4 && _root.player.grounded && attackReady && _currentframe != 5) {
this.gotoAndStop(4);
attackReady = false;
z = 0;
}
if (_xscale < 0) {
if (_currentframe == 4 && this.attack._currentframe >= 10 && this.attack._currentframe <= 15) {
xspeed = 15;
}
}
if (_xscale > 0) {
if (_currentframe == 4 && this.attack._currentframe >= 10 && this.attack._currentframe <= 15) {
xspeed = -15;
}
}
if (this.hitTest(_root.player) && _root.player._currentframe != 4 && _root.blink._currentframe == 1 && _currentframe != 3 && _currentframe == 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5 && this.attack._currentframe >= 10 && this.attack._currentframe <= 23) {
_root.blink.play();
}
if (this.hitTest(_root.player) && _root.player._currentframe == 4 && _root.player.stomp._currentframe == 19 && _currentframe == 4) {
_root.blink.play();
}
if (this.top.hitTest(_root.player.base) && _root.player.yspeed >= 3 && _root.player.grounded == false && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
_root.blink.play();
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
}
if (this.top.hitTest(_root.player.base) && _currentframe == 4 && this.attack._currentframe >= 10 && this.attack._currentframe <= 28 && _root.player.grounded == false && _root.player.yspeed >= 3) {
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
dead = true;
gotoAndStop(3);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3 && _currentframe != 5) {
++hit;
this.gotoAndStop(5);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5 && _currentframe != 4 && _currentframe != 5) {
++hit;
this.gotoAndStop(5);
}
if (hit >= 3) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
instance en4 of movieClip 434 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
if (this.hitTest(_root.player) && _currentframe != 3) {
this.gotoAndStop(1);
}
} else {
if (!dead) {
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.player) && _root.blink._currentframe == 1 && _currentframe != 3 && _root.player._currentframe != 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5) {
_root.blink.play();
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
instance en6 of movieClip 434 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (!_root.pause && this.hitTest(_root.gradient)) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
if (this.hitTest(_root.player) && _currentframe != 3) {
this.gotoAndStop(1);
}
} else {
if (!dead) {
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.player) && _root.blink._currentframe == 1 && _currentframe != 3 && _root.player._currentframe != 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5) {
_root.blink.play();
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
instance en7 of movieClip 996 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
var hit = 0;
z = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause && this.hitTest(_root.gradient)) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 450 && !dead && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
} else {
if (!dead && _currentframe != 4 && _currentframe != 5) {
this.gotoAndStop(1);
}
}
++z;
if (z >= 80) {
attackReady = true;
}
if (d <= 180 && !dead && _currentframe != 4 && _root.player.grounded && attackReady && _currentframe != 5) {
this.gotoAndStop(4);
attackReady = false;
z = 0;
}
if (this.hitTest(_root.player) && _root.player._currentframe != 4 && _root.blink._currentframe == 1 && _currentframe != 3 && _currentframe == 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5 && this.attack._currentframe >= 10 && this.attack._currentframe <= 23) {
_root.blink.play();
}
if (this.hitTest(_root.player) && _root.player._currentframe == 4 && _root.player.stomp._currentframe == 19 && _currentframe == 4) {
_root.blink.play();
}
if (this.top.hitTest(_root.player.base) && _root.player.yspeed >= 3 && _currentframe != 3 && _root.player.grounded == false && _currentframe != 3 && _currentframe != 5) {
gotoAndStop(3);
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3 && _currentframe != 5) {
++hit;
this.gotoAndStop(5);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5 && _currentframe != 4 && _currentframe != 5) {
++hit;
this.gotoAndStop(5);
}
if (hit >= 3) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
instance en8 of movieClip 433 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
var hit = 0;
z = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause && this.hitTest(_root.gradient)) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
} else {
if (!dead && _currentframe != 4 && _currentframe != 5) {
this.gotoAndStop(1);
}
}
++z;
if (z >= 80) {
attackReady = true;
}
if (d <= 180 && !dead && _currentframe != 4 && _root.player.grounded && attackReady && _currentframe != 5) {
this.gotoAndStop(4);
attackReady = false;
z = 0;
}
if (_xscale < 0) {
if (_currentframe == 4 && this.attack._currentframe >= 10 && this.attack._currentframe <= 15) {
xspeed = 15;
}
}
if (_xscale > 0) {
if (_currentframe == 4 && this.attack._currentframe >= 10 && this.attack._currentframe <= 15) {
xspeed = -15;
}
}
if (this.hitTest(_root.player) && _root.player._currentframe != 4 && _root.blink._currentframe == 1 && _currentframe != 3 && _currentframe == 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5 && this.attack._currentframe >= 10 && this.attack._currentframe <= 23) {
_root.blink.play();
}
if (this.hitTest(_root.player) && _root.player._currentframe == 4 && _root.player.stomp._currentframe == 19 && _currentframe == 4) {
_root.blink.play();
}
if (this.top.hitTest(_root.player.base) && _root.player.yspeed >= 3 && _root.player.grounded == false && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
_root.blink.play();
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
}
if (this.top.hitTest(_root.player.base) && _currentframe == 4 && this.attack._currentframe >= 10 && this.attack._currentframe <= 28 && _root.player.grounded == false && _root.player.yspeed >= 3) {
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
dead = true;
gotoAndStop(3);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3 && _currentframe != 5) {
++hit;
this.gotoAndStop(5);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5 && _currentframe != 4 && _currentframe != 5) {
++hit;
this.gotoAndStop(5);
}
if (hit >= 3) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
instance en9 of movieClip 434 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (!_root.pause && this.hitTest(_root.gradient)) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
if (this.hitTest(_root.player) && _currentframe != 3) {
this.gotoAndStop(1);
}
} else {
if (!dead) {
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.player) && _root.blink._currentframe == 1 && _currentframe != 3 && _root.player._currentframe != 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5) {
_root.blink.play();
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
instance en10 of movieClip 434 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (!_root.pause && this.hitTest(_root.gradient)) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
if (this.hitTest(_root.player) && _currentframe != 3) {
this.gotoAndStop(1);
}
} else {
if (!dead) {
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.player) && _root.blink._currentframe == 1 && _currentframe != 3 && _root.player._currentframe != 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5) {
_root.blink.play();
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
movieClip 1086 {
frame 1 {
stop();
}
instance of movieClip 1042 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
frame 2 {
onEnterFrame = function () {
if (_currentframe == 2 or _currentframe == 5) {
_root.makeSparkle();
}
};
}
instance of movieClip 1045 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance jumpa of movieClip 1046 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
if (_currentframe < 15) {
this.play();
}
}
}
}
instance stomp of movieClip 1049 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 1052 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 1053 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 1054 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
}
instance player of movieClip 1086 {
onClipEvent (load) {
var xspeed = 5;
var yspeed = 0;
var grav = 2;
var w = _width / 2;
var h = _height / 2;
var scale = _xscale;
var cx = _x;
var cy = _y;
var camChange = -150;
var jump = 30;
var dyy = _y;
holdJump = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_y = _y + yspeed;
yspeed += grav;
_x = _x + xspeed;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h + 50, true)) {
if (_currentframe == 3) {
this.jumpa.play();
}
}
if (_root.land.hitTest(_x, _y + h - 5, true)) {
grounded = true;
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 5, true)) {
_y = _y - 0.1;
}
}
if (!_root.land.hitTest(_x, _y + h + 5, true)) {
grounded = false;
}
if (_root.land.hitTest(_x + w, _y, true)) {
xspeed = 0;
while (_root.land.hitTest(_x + w, _y, true)) {
_x = _x - 0.1;
}
}
if (_root.land.hitTest(_x - w, _y, true)) {
xspeed = 0;
while (_root.land.hitTest(_x - w, _y, true)) {
_x = _x + 0.1;
}
}
if (_root.land.hitTest(_x, _y - h, true)) {
yspeed = 10;
while (_root.land.hitTest(_x, _y - h, true)) {
_y = _y + 0.1;
}
}
if (Key.isDown(39) && _currentframe != 4 && !slideL && !slideR && _currentframe != 6 && _currentframe != 7) {
camChange = -150;
xspeed += 3.5;
_xscale = scale;
if (_currentframe != 3 && _currentframe != 4 or this.jumpa._currentframe >= 24) {
this.gotoAndStop(2);
}
}
if (Key.isDown(37) && _currentframe != 4 && !slideL && !slideR && _currentframe != 6 && _currentframe != 7) {
camChange = 150;
xspeed -= 3.5;
_xscale = -scale;
if (_currentframe != 3 && _currentframe != 4 or this.jumpa._currentframe >= 24) {
this.gotoAndStop(2);
}
}
if (!Key.isDown(39) && !Key.isDown(37) && _currentframe != 3 && _currentframe != 4 && !slideR && !slideL && _currentframe != 6 && _currentframe != 7) {
this.gotoAndStop(1);
}
if (Key.isDown(32) && !holdJump && doubleJump != true && grounded && _currentframe != 4 && _currentframe != 6 && _currentframe != 7 && _currentframe != 3) {
this.grounded = false;
this.gotoAndStop(3);
holdJump = true;
doubleJump = true;
}
if (Key.isDown(38) && !holdJump && doubleJump != true && grounded && _currentframe != 4 && _currentframe != 6 && _currentframe != 7 && _currentframe != 3) {
this.grounded = false;
this.gotoAndStop(3);
holdJump = true;
doubleJump = true;
}
if (!Key.isDown(32) && holdJump && !Key.isDown(38)) {
holdJump = false;
trace(holdJump);
}
if (Key.isDown(32) && doubleJump == true && holdJump != true) {
this.gotoAndStop(1);
this.gotoAndStop(3);
doubleJump = false;
}
if (Key.isDown(38) && doubleJump == true && !holdJump) {
this.gotoAndStop(1);
this.gotoAndStop(3);
doubleJump = false;
}
if (Key.isDown(65) && _currentframe != 4 && _currentframe != 3 && _currentframe != 5 && _currentframe != 6 && _currentframe != 7) {
this.gotoAndStop(4);
}
if (_xscale > 0) {
if (Key.isDown(40) && _root.land.hitTest(_x - h - 35, _y + 16, true) && _currentframe != 4 && _currentframe != 6 && _currentframe != 7) {
slideR = true;
} else {
slideR = false;
}
}
if (_xscale < 0) {
if (Key.isDown(40) && _root.land.hitTest(_x + h + 35, _y + 16, true) && _currentframe != 4 && _currentframe != 6 && _currentframe != 7) {
slideL = true;
} else {
slideL = false;
}
}
if (slideR) {
this.gotoAndStop(5);
xspeed += 4.3;
yspeed += 7;
}
if (slideL) {
this.gotoAndStop(5);
xspeed -= 4.3;
yspeed += 7;
}
_root.widescreen._y = cy;
cx += (_x - cx - camChange) / 15;
_root._x = Stage.width / 2 - cx;
if (cxFalse != true) {
cy += (_y - cy) / 3;
_root._y = Stage.height / 2 - cy;
}
_root.widescreen._x = cx;
_root.gradient._x = cx;
_root.gradient._y = cy;
_root.frontbush._x = cx / 20;
_root.backbush._x = cx / 15;
_root.fronttrees._x = cx / 10;
_root.backtrees._x = cx / 5;
_root.back._x = cx;
_root.back._y = cy;
_root.spotlight._x = _x;
_root.spotlight._y = cy - 100;
_root.pauser._x = cx;
_root.pauser._y = cy;
_root.fadeIn._x = cx;
_root.fadeIn._y = cy;
_root.fadeOut._x = cx;
_root.fadeOut._y = cy;
_root.health._x = _x;
_root.bossHealth._x = cx;
_root.bossHealth._y = cy + 140;
_root.health._y = _y - 55;
_root.fadeOutGO._x = cx;
_root.fadeOutGO._y = cy;
}
if (_root.land.hitTest(_x, _y + h, true) && this.jumpa._currentframe >= 13 && _currentframe == 3) {
this.gotoAndStop(1);
}
if (_currentframe == 6) {
xspeed = 0;
}
}
}
instance egg of movieClip 120 {
onClipEvent (load) {
var friction = 1.05;
var yspeed = 0;
var xspeed = 0;
var i = 0;
var1 = 0;
h = _height / 2;
w = _width / 2;
xspeeda = -10 + random(20);
yspeeda = -random(20);
drag = 0.98;
bounce = 1;
gravity = 1;
a = 0;
aa = 0;
rot = random(13);
y = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause && _name != 'egg') {
_rotation = _rotation + rot;
if (var1 == 0) {
++a;
_root.speed = this.xspeeda;
if (!dragging) {
_x = _x + xspeeda;
_y = _y + yspeeda - 0.29;
yspeeda = yspeeda * drag + gravity;
xspeeda *= drag;
} else {
xspeeda = _x - oldx;
yspeeda = _y - oldy;
oldx = _x;
oldy = _y;
}
}
if (a >= 25) {
a = 0;
var1 = 1;
}
if (var1 == 1) {
++aa;
_y = _y + yspeed;
_x = _x + xspeed;
xspeed /= friction;
yspeed /= friction;
xspeed -= (_x - _root.player._x) / (random(35) + 14);
yspeed -= (_y - _root.player._y) / (random(35) + 14);
if (_y <= _root.player._y) {
_y = _y + (random(4) + 1);
}
if (_y >= _root.player._y) {
_y = _y - (random(4) + 1);
}
if (_x >= _root.player._x && i == 0) {
++i;
}
if (_x <= _root.player._x && i == 1) {
++i;
}
if (_x >= _root.player._x && i == 2) {
++i;
}
if (i >= 3 && this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndPlay(2);
xspeed = 0;
yspeed = 0;
}
}
}
if (!_root.pause && _currentframe > 1 && _currentframe != 9) {
play();
}
if (_currentframe >= 2) {
++y;
}
if (y >= 60) {
this.removeMovieClip();
}
}
}
instance clock of movieClip 124 {
onClipEvent (load) {
var friction = 1.05;
var yspeed = 0;
var xspeed = 0;
var i = 0;
var1 = 0;
h = _height / 2;
w = _width / 2;
xspeeda = -10 + random(20);
yspeeda = -random(20);
drag = 0.98;
bounce = 1;
gravity = 1;
a = 0;
aa = 0;
rot = random(13);
y = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause && _name != 'clock') {
_rotation = _rotation + rot;
if (var1 == 0) {
++a;
_root.speed = this.xspeeda;
if (!dragging) {
_x = _x + xspeeda;
_y = _y + yspeeda - 0.29;
yspeeda = yspeeda * drag + gravity;
xspeeda *= drag;
} else {
xspeeda = _x - oldx;
yspeeda = _y - oldy;
oldx = _x;
oldy = _y;
}
}
if (a >= 25) {
a = 0;
var1 = 1;
}
if (var1 == 1) {
++aa;
_y = _y + yspeed;
_x = _x + xspeed;
xspeed /= friction;
yspeed /= friction;
xspeed -= (_x - _root.player._x) / (random(35) + 14);
yspeed -= (_y - _root.player._y) / (random(35) + 14);
if (_y <= _root.player._y) {
_y = _y + (random(4) + 1);
}
if (_y >= _root.player._y) {
_y = _y - (random(4) + 1);
}
if (_x >= _root.player._x && i == 0) {
++i;
}
if (_x <= _root.player._x && i == 1) {
++i;
}
if (_x >= _root.player._x && i == 2) {
++i;
}
if (i >= 3 && this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndPlay(2);
xspeed = 0;
yspeed = 0;
}
}
}
if (!_root.pause && _currentframe > 1 && _currentframe != 9) {
play();
}
if (_currentframe >= 2) {
++y;
}
if (y >= 60) {
this.removeMovieClip();
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance en1 of movieClip 880 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = -_xscale;
_xscale = scale;
var hit = 0;
z = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause && this.hitTest(_root.gradient)) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 400 && !dead && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 0.7;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 0.7;
_xscale = -scale;
this.gotoAndStop(2);
}
} else {
if (!dead && _currentframe != 4 && _currentframe != 5) {
this.gotoAndStop(1);
}
}
++z;
if (z >= 80) {
attackReady = true;
}
if (d <= 180 && !dead && _currentframe != 4 && _root.player.grounded && attackReady && _currentframe != 5) {
this.gotoAndStop(4);
attackReady = false;
z = 0;
}
if (this.hitTest(_root.player) && _root.player._currentframe != 4 && _root.blink._currentframe == 1 && _currentframe != 3 && _currentframe == 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5 && this.attack._currentframe >= 10 && this.attack._currentframe <= 23) {
_root.blink.play();
}
if (this.hitTest(_root.player) && _root.player._currentframe == 4 && _root.player.stomp._currentframe == 19 && _currentframe == 4) {
_root.blink.play();
}
if (hit >= 1 && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
}
if (this.hitTest(_root.player.base) && _currentframe != 3 && _currentframe != 5) {
this.gotoAndStop(4);
}
if (!this.hitTest(_root.gradient)) {
_visible = false;
} else {
_visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance en5 of movieClip 880 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = -_xscale;
_xscale = scale;
var hit = 0;
z = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause && this.hitTest(_root.gradient)) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 400 && !dead && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 0.7;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 0.7;
_xscale = -scale;
this.gotoAndStop(2);
}
} else {
if (!dead && _currentframe != 4 && _currentframe != 5) {
this.gotoAndStop(1);
}
}
++z;
if (z >= 80) {
attackReady = true;
}
if (d <= 180 && !dead && _currentframe != 4 && _root.player.grounded && attackReady && _currentframe != 5) {
this.gotoAndStop(4);
attackReady = false;
z = 0;
}
if (this.hitTest(_root.player) && _root.player._currentframe != 4 && _root.blink._currentframe == 1 && _currentframe != 3 && _currentframe == 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5 && this.attack._currentframe >= 10 && this.attack._currentframe <= 23) {
_root.blink.play();
}
if (this.hitTest(_root.player) && _root.player._currentframe == 4 && _root.player.stomp._currentframe == 19 && _currentframe == 4) {
_root.blink.play();
}
if (hit >= 1 && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
}
if (this.hitTest(_root.player.base) && _currentframe != 3 && _currentframe != 5) {
this.gotoAndStop(4);
}
if (!this.hitTest(_root.gradient)) {
_visible = false;
} else {
_visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance spikes of movieClip 836 {
onClipEvent (enterFrame) {
if (this.base.hitTest(_root.player.base)) {
_root.blink.play();
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 332 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 332 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 151 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 332 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 332 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance pauser of movieClip 375 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
_visible = true;
if (_alpha <= 100) {
_alpha = _alpha + 5;
}
} else {
_alpha = 0;
_visible = false;
}
this.swapDepths(6004);
}
}
instance widescreen of movieClip 377 {
onClipEvent (enterFrame) {
this.swapDepths(5004);
}
}
instance of movieClip 976 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
frame 18 {
fadeIn.gotoAndPlay(1);
stop();
_root.pickUpAble = true;
_root.SkullItem = false;
_root.BombItem = false;
_root.mushroomItem = false;
_root.pickUpAble = false;
_root.SkullItem2 = false;
_root.BombBoss = false;
}
frame 18 {
_root.fadeOut.gotoAndStop(1);
_root.fadeIn._x = 0;
_root.fadeIn._y = 0;
}
frame 18 {
onEnterFrame = function () {
if (Key.isDown(80) && !_root.pause && !hold) {
_root.pause = true;
hold = true;
}
if (!Key.isDown(80) && _root.pause == true) {
hold = false;
}
if (Key.isDown(80) && _root.pause && !hold) {
_root.pause = false;
hold = true;
}
if (!Key.isDown(80) && _root.pause == false) {
hold = false;
}
};
eggSound1 = new Sound();
eggSound2 = new Sound();
eggSound1.attachSound('egg1');
eggSound2.attachSound('egg2');
_root.health.showa = false;
_root.health._alpha = 0;
_x = 0;
_y = 0;
_root.health.dontShow = false;
_root.checkPoint = _currentframe;
}
frame 18 {
onEnterFrame = function () {
if (Key.isDown(80) && !_root.pause && !hold) {
_root.pause = true;
hold = true;
}
if (!Key.isDown(80) && _root.pause == true) {
hold = false;
}
if (Key.isDown(80) && _root.pause && !hold) {
_root.pause = false;
hold = true;
}
if (!Key.isDown(80) && _root.pause == false) {
hold = false;
}
};
eggSound1 = new Sound();
eggSound2 = new Sound();
eggSound1.attachSound('egg1');
eggSound2.attachSound('egg2');
_root.health.showa = false;
_root.health._alpha = 0;
_x = 0;
_y = 0;
_root.health.dontShow = false;
_root.checkPoint = _currentframe;
}
frame 18 {
function makeEgg() {
++c;
++e;
_root.egg.duplicateMovieClip('egg' + e, e);
_root.clock.duplicateMovieClip('clock' + c, c);
_root['egg' + e]._x = _root.eggx;
_root['egg' + e]._y = _root.eggy;
_root['clock' + c]._x = _root.eggx;
_root['clock' + c]._y = _root.eggy;
}
function makeBomb() {
++b;
_root.bomb.duplicateMovieClip('bomb' + b, b);
_root['bomb' + b]._x = _root.bush._x;
_root['bomb' + b]._y = _root.bush._y - 10;
}
c = 100;
e = 70;
s = 0;
b = 50;
makeSparkle = function () {
++s;
sparkle.duplicateMovieClip('sparkle' + s, s);
if (_root.player._xscale > 0) {
_root['sparkle' + s]._x = _root.player._x - 20 - random(40);
_root['sparkle' + s]._y = _root.player._y + 50 - random(100);
_root['sparkle' + s]._xscale = _root.sparkle.scale + random(15);
_root['sparkle' + s]._yscale = _root['sparkle' + s]._xscale;
}
if (_root.player._xscale < 0) {
_root['sparkle' + s]._x = _root.player._x + 20 + random(40);
_root['sparkle' + s]._y = _root.player._y + 50 - random(100);
_root['sparkle' + s]._xscale = _root.sparkle.scale + random(15);
_root['sparkle' + s]._yscale = _root['sparkle' + s]._xscale;
}
if (s >= 60) {
s = 0;
}
};
}
movieClip 1090 {
}
movieClip 1092 {
}
movieClip 1093 {
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1092 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
}
movieClip 1096 {
}
movieClip 1097 {
instance of movieClip 1096 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1096 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1096 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1096 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1096 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1096 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1096 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1096 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
}
movieClip 1099 {
}
movieClip 1100 {
instance of movieClip 1099 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1099 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1099 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1099 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1099 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1099 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1099 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1099 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1099 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1099 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1099 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1099 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
}
movieClip 1102 {
}
movieClip 1103 {
instance of movieClip 1102 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1102 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1102 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1102 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1102 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1102 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1102 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1102 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1102 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1102 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1102 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1102 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1102 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1102 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1102 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1102 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 1102 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
}
movieClip 1106 {
}
instance of movieClip 976 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance spikes of movieClip 972 {
onClipEvent (enterFrame) {
if (this.base.hitTest(_root.player.base)) {
_root.blink.play();
}
}
}
instance of movieClip 909 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.fadeOut._currentframe == 1) {
_root.fadeOut.play();
}
}
}
instance en1 of movieClip 179 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
if (this.hitTest(_root.player) && _currentframe != 3) {
this.gotoAndStop(1);
}
} else {
if (!dead) {
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.player) && _root.blink._currentframe == 1 && _currentframe != 3 && _root.player._currentframe != 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5) {
_root.blink.play();
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
instance en2 of movieClip 179 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
if (this.hitTest(_root.player) && _currentframe != 3) {
this.gotoAndStop(1);
}
} else {
if (!dead) {
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.player) && _root.blink._currentframe == 1 && _currentframe != 3 && _root.player._currentframe != 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5) {
_root.blink.play();
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
instance en3 of movieClip 179 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
if (this.hitTest(_root.player) && _currentframe != 3) {
this.gotoAndStop(1);
}
} else {
if (!dead) {
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.player) && _root.blink._currentframe == 1 && _currentframe != 3 && _root.player._currentframe != 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5) {
_root.blink.play();
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
instance en4 of movieClip 880 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = -_xscale;
_xscale = scale;
var hit = 0;
z = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause && this.hitTest(_root.gradient)) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 400 && !dead && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 0.7;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 0.7;
_xscale = -scale;
this.gotoAndStop(2);
}
} else {
if (!dead && _currentframe != 4 && _currentframe != 5) {
this.gotoAndStop(1);
}
}
++z;
if (z >= 80) {
attackReady = true;
}
if (d <= 180 && !dead && _currentframe != 4 && _root.player.grounded && attackReady && _currentframe != 5) {
this.gotoAndStop(4);
attackReady = false;
z = 0;
}
if (this.hitTest(_root.player) && _root.player._currentframe != 4 && _root.blink._currentframe == 1 && _currentframe != 3 && _currentframe == 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5 && this.attack._currentframe >= 10 && this.attack._currentframe <= 23) {
_root.blink.play();
}
if (this.hitTest(_root.player) && _root.player._currentframe == 4 && _root.player.stomp._currentframe == 19 && _currentframe == 4) {
_root.blink.play();
}
if (hit >= 1 && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
}
if (this.hitTest(_root.player.base) && _currentframe != 3 && _currentframe != 5) {
this.gotoAndStop(4);
}
if (!this.hitTest(_root.gradient)) {
_visible = false;
} else {
_visible = true;
}
}
}
instance en5 of movieClip 433 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
var hit = 0;
z = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
} else {
if (!dead && _currentframe != 4 && _currentframe != 5) {
this.gotoAndStop(1);
}
}
++z;
if (z >= 80) {
attackReady = true;
}
if (d <= 180 && !dead && _currentframe != 4 && _root.player.grounded && attackReady && _currentframe != 5) {
this.gotoAndStop(4);
attackReady = false;
z = 0;
}
if (_xscale < 0) {
if (_currentframe == 4 && this.attack._currentframe >= 10 && this.attack._currentframe <= 15) {
xspeed = 15;
}
}
if (_xscale > 0) {
if (_currentframe == 4 && this.attack._currentframe >= 10 && this.attack._currentframe <= 15) {
xspeed = -15;
}
}
if (this.hitTest(_root.player) && _root.player._currentframe != 4 && _root.blink._currentframe == 1 && _currentframe != 3 && _currentframe == 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5 && this.attack._currentframe >= 10 && this.attack._currentframe <= 23) {
_root.blink.play();
}
if (this.hitTest(_root.player) && _root.player._currentframe == 4 && _root.player.stomp._currentframe == 19 && _currentframe == 4) {
_root.blink.play();
}
if (this.top.hitTest(_root.player.base) && _root.player.yspeed >= 3 && _root.player.grounded == false && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
_root.blink.play();
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
}
if (this.top.hitTest(_root.player.base) && _currentframe == 4 && this.attack._currentframe >= 10 && this.attack._currentframe <= 28 && _root.player.grounded == false && _root.player.yspeed >= 3) {
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
dead = true;
gotoAndStop(3);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3 && _currentframe != 5) {
++hit;
this.gotoAndStop(5);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5 && _currentframe != 4 && _currentframe != 5) {
++hit;
this.gotoAndStop(5);
}
if (hit >= 3) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
instance en6 of movieClip 179 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (!_root.pause && this.hitTest(_root.gradient)) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
if (this.hitTest(_root.player) && _currentframe != 3) {
this.gotoAndStop(1);
}
} else {
if (!dead) {
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.player) && _root.blink._currentframe == 1 && _currentframe != 3 && _root.player._currentframe != 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5) {
_root.blink.play();
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
instance en7 of movieClip 179 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (!_root.pause && this.hitTest(_root.gradient)) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
if (this.hitTest(_root.player) && _currentframe != 3) {
this.gotoAndStop(1);
}
} else {
if (!dead) {
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.player) && _root.blink._currentframe == 1 && _currentframe != 3 && _root.player._currentframe != 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5) {
_root.blink.play();
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
instance en8 of movieClip 179 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (!_root.pause && this.hitTest(_root.gradient)) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
if (this.hitTest(_root.player) && _currentframe != 3) {
this.gotoAndStop(1);
}
} else {
if (!dead) {
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.player) && _root.blink._currentframe == 1 && _currentframe != 3 && _root.player._currentframe != 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5) {
_root.blink.play();
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
instance en11 of movieClip 179 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (!_root.pause && this.hitTest(_root.gradient)) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
if (this.hitTest(_root.player) && _currentframe != 3) {
this.gotoAndStop(1);
}
} else {
if (!dead) {
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.player) && _root.blink._currentframe == 1 && _currentframe != 3 && _root.player._currentframe != 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5) {
_root.blink.play();
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
instance en13 of movieClip 880 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = -_xscale;
_xscale = scale;
var hit = 0;
z = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause && this.hitTest(_root.gradient)) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 400 && !dead && _currentframe != 3 && _currentframe != 4 && _currentframe != 5) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 0.7;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 0.7;
_xscale = -scale;
this.gotoAndStop(2);
}
} else {
if (!dead && _currentframe != 4 && _currentframe != 5) {
this.gotoAndStop(1);
}
}
++z;
if (z >= 80) {
attackReady = true;
}
if (d <= 180 && !dead && _currentframe != 4 && _root.player.grounded && attackReady && _currentframe != 5) {
this.gotoAndStop(4);
attackReady = false;
z = 0;
}
if (this.hitTest(_root.player) && _root.player._currentframe != 4 && _root.blink._currentframe == 1 && _currentframe != 3 && _currentframe == 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5 && this.attack._currentframe >= 10 && this.attack._currentframe <= 23) {
_root.blink.play();
}
if (this.hitTest(_root.player) && _root.player._currentframe == 4 && _root.player.stomp._currentframe == 19 && _currentframe == 4) {
_root.blink.play();
}
if (hit >= 1 && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
}
if (this.hitTest(_root.player.base) && _currentframe != 3 && _currentframe != 5) {
this.gotoAndStop(4);
}
if (!this.hitTest(_root.gradient)) {
_visible = false;
} else {
_visible = true;
}
}
}
instance player of movieClip 1086 {
onClipEvent (load) {
var xspeed = 5;
var yspeed = 0;
var grav = 2;
var w = _width / 2;
var h = _height / 2;
var scale = _xscale;
var cx = _x;
var cy = _y;
var camChange = -150;
var jump = 30;
var dyy = _y;
holdJump = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_y = _y + yspeed;
yspeed += grav;
_x = _x + xspeed;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h + 50, true)) {
if (_currentframe == 3) {
this.jumpa.play();
}
}
if (_root.land.hitTest(_x, _y + h - 5, true)) {
grounded = true;
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 5, true)) {
_y = _y - 0.1;
}
}
if (!_root.land.hitTest(_x, _y + h + 5, true)) {
grounded = false;
}
if (_root.land.hitTest(_x + w, _y, true)) {
xspeed = 0;
while (_root.land.hitTest(_x + w, _y, true)) {
_x = _x - 0.1;
}
}
if (_root.land.hitTest(_x - w, _y, true)) {
xspeed = 0;
while (_root.land.hitTest(_x - w, _y, true)) {
_x = _x + 0.1;
}
}
if (_root.land.hitTest(_x, _y - h, true)) {
yspeed = 10;
while (_root.land.hitTest(_x, _y - h, true)) {
_y = _y + 0.1;
}
}
if (Key.isDown(39) && _currentframe != 4 && !slideL && !slideR && _currentframe != 6 && _currentframe != 7) {
camChange = -150;
xspeed += 3.5;
_xscale = scale;
if (_currentframe != 3 && _currentframe != 4 or this.jumpa._currentframe >= 24) {
this.gotoAndStop(2);
}
}
if (Key.isDown(37) && _currentframe != 4 && !slideL && !slideR && _currentframe != 6 && _currentframe != 7) {
camChange = 150;
xspeed -= 3.5;
_xscale = -scale;
if (_currentframe != 3 && _currentframe != 4 or this.jumpa._currentframe >= 24) {
this.gotoAndStop(2);
}
}
if (!Key.isDown(39) && !Key.isDown(37) && _currentframe != 3 && _currentframe != 4 && !slideR && !slideL && _currentframe != 6 && _currentframe != 7) {
this.gotoAndStop(1);
}
if (Key.isDown(32) && !holdJump && doubleJump != true && grounded && _currentframe != 4 && _currentframe != 6 && _currentframe != 7 && _currentframe != 3) {
this.grounded = false;
this.gotoAndStop(3);
holdJump = true;
doubleJump = true;
}
if (Key.isDown(38) && !holdJump && doubleJump != true && grounded && _currentframe != 4 && _currentframe != 6 && _currentframe != 7 && _currentframe != 3) {
this.grounded = false;
this.gotoAndStop(3);
holdJump = true;
doubleJump = true;
}
if (!Key.isDown(32) && holdJump && !Key.isDown(38)) {
holdJump = false;
trace(holdJump);
}
if (Key.isDown(32) && doubleJump == true && holdJump != true) {
this.gotoAndStop(1);
this.gotoAndStop(3);
doubleJump = false;
}
if (Key.isDown(38) && doubleJump == true && !holdJump) {
this.gotoAndStop(1);
this.gotoAndStop(3);
doubleJump = false;
}
if (Key.isDown(65) && _currentframe != 4 && _currentframe != 3 && _currentframe != 5 && _currentframe != 6 && _currentframe != 7) {
this.gotoAndStop(4);
}
if (_xscale > 0) {
if (Key.isDown(40) && _root.land.hitTest(_x - h - 35, _y + 16, true) && _currentframe != 4 && _currentframe != 6 && _currentframe != 7) {
slideR = true;
} else {
slideR = false;
}
}
if (_xscale < 0) {
if (Key.isDown(40) && _root.land.hitTest(_x + h + 35, _y + 16, true) && _currentframe != 4 && _currentframe != 6 && _currentframe != 7) {
slideL = true;
} else {
slideL = false;
}
}
if (slideR) {
this.gotoAndStop(5);
xspeed += 4.3;
yspeed += 7;
}
if (slideL) {
this.gotoAndStop(5);
xspeed -= 4.3;
yspeed += 7;
}
_root.widescreen._y = cy;
cx += (_x - cx - camChange) / 8;
_root._x = Stage.width / 2 - cx;
if (cxFalse != true) {
cy += (_y - cy) / 3;
_root._y = Stage.height / 2 - cy;
}
_root.widescreen._x = cx;
_root.gradient._x = cx;
_root.gradient._y = cy;
_root.frontbush._x = cx / 20;
_root.backbush._x = cx / 15;
_root.fronttrees._x = cx / 10;
_root.backtrees._x = cx / 5;
_root.backtrees2._x = cx / 4;
_root.backtrees3._x = cx / 2;
_root.fronttrees._y = cy / 10;
_root.backtrees._y = cy / 5;
_root.backtrees2._y = cy / 4;
_root.backtrees3._y = cy / 2;
_root.back._x = cx;
_root.back._y = cy;
_root.spotlight._x = _x;
_root.spotlight._y = cy - 100;
_root.pauser._x = cx;
_root.pauser._y = cy;
_root.fadeIn._x = cx;
_root.fadeIn._y = cy;
_root.fadeOut._x = cx;
_root.fadeOut._y = cy;
_root.health._x = _x;
_root.bossHealth._x = cx;
_root.bossHealth._y = cy + 140;
_root.health._y = _y - 55;
_root.fadeOutGO._x = cx;
_root.fadeOutGO._y = cy;
}
if (_root.land.hitTest(_x, _y + h, true) && this.jumpa._currentframe >= 13 && _currentframe == 3) {
this.gotoAndStop(1);
}
if (_currentframe == 6) {
xspeed = 0;
}
}
}
instance of movieClip 326 {
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
grav = 0;
h = _height / 2;
w = _width / 2;
i = 0;
iA = 0;
scale = _xscale;
didntHitGround = true;
grounded = true;
r = 0;
rr = _rotation;
rott = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (var1 == 1 && _y >= _root.player._y + 4) {
_y = _y - 1;
if (_x <= _root.player._x) {
_x = _x + 1;
} else {
_x = _x - 1;
}
}
if (var1 != 1) {
if (this.hitTest(_root.player.base) && _root.player._currentframe != 4 && _root.player._currentframe != 6 && _root.player._currentframe != 7 && Key.isDown(83) && _root.pickUpAble == true && grounded && _root.land.hitTest(_x, _y + h, true)) {
xspeed = 0;
yspeed = 0;
grav = 1.5;
var2 = 0;
r = 0;
rott = 0;
rot = false;
hold = true;
grounded = false;
var3 = false;
var4 = false;
hitGround = false;
_root.SkullItem = true;
_root.player.gotoAndStop(6);
_root.pickUpAble = false;
var1 = 1;
}
}
if (!Key.isDown(83) && hold) {
hold = false;
}
if (_root.player._currentframe == 1 && var1 == 1) {
this._visible = false;
var1 = 0;
var2 = 1;
var5 = 1;
}
if (var2 == 1) {
e = 0;
while (e <= 30) {
if (this.hitTest(_root['en' + e]) && hitGround != true && _root['en' + e].dead != true && _root.SkullItem != true) {
_root['en' + e].hitBySomething = true;
rot = true;
yspeed = -16;
xspeed = 0;
}
++e;
}
if (var5 != 1) {
_x = _x + xspeed;
xspeed *= 0.95;
_y = _y + yspeed;
yspeed += grav;
_rotation = _rotation + rott;
rott *= 0.89;
} else {
_x = _root.player._x;
_y = _root.player._y;
}
if (_root.land.hitTest(_x, _y + h - 10, true)) {
yspeed = -yspeed + 7;
hitGround = true;
while (_root.land.hitTest(_x, _y + h - 10, true)) {
_y = _y - 0.1;
}
}
if (_root.land.hitTest(_x + w, _y, true)) {
xspeed = -xspeed + 5;
while (_root.land.hitTest(_x + w, _y, true)) {
_x = _x - 0.1;
}
}
if (_root.land.hitTest(_x - w, _y, true)) {
xspeed = -xspeed + 5;
while (_root.land.hitTest(_x - w, _y, true)) {
_x = _x + 0.1;
}
}
if (Key.isDown(83) && _root.player._currentframe != 4 && _root.player._currentframe != 3 && _root.SkullItem == true && hold != true && this.hitTest(_root.player)) {
_root.player.gotoAndStop(7);
count = true;
}
}
if (count == true) {
++i;
}
if (i >= 12) {
var3 = true;
var4 = true;
var5 = 0;
i = 0;
}
if (var3 == true) {
if (var4) {
_x = _root.player._x;
_y = _root.player._y;
if (_root.player._xscale > 0) {
_xscale = scale;
xspeed = 30;
} else {
_xscale = -scale;
xspeed = -30;
}
var4 = false;
}
_root.pickUpAble = true;
_root.SkullItem = false;
_visible = true;
grav = 1;
yspeed = -5;
count = false;
countA = true;
var3 = false;
}
if (countA == true) {
var1 = 0;
countA = false;
hitGround = false;
iA = 0;
}
if (yspeed == 1 or yspeed == 0) {
grounded = true;
}
if (rot) {
++r;
rott = -15;
}
if (r >= 30) {
rot = false;
if (_rotation >= rr) {
--rott;
}
if (_rotation <= rr) {
++rott;
}
}
}
}
}
instance of movieClip 151 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 332 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 332 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 332 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 332 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 332 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 332 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 332 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 332 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 332 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 332 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 332 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 332 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 332 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 332 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance of movieClip 332 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe == 1) {
this.gotoAndStop(2);
}
}
}
instance egg of movieClip 397 {
onClipEvent (load) {
var friction = 1.05;
var yspeed = 0;
var xspeed = 0;
var i = 0;
var1 = 0;
h = _height / 2;
w = _width / 2;
xspeeda = -10 + random(20);
yspeeda = -random(20);
drag = 0.98;
bounce = 1;
gravity = 1;
a = 0;
aa = 0;
rot = random(13);
y = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause && _name != 'egg') {
_rotation = _rotation + rot;
if (var1 == 0) {
++a;
_root.speed = this.xspeeda;
if (!dragging) {
_x = _x + xspeeda;
_y = _y + yspeeda - 0.29;
yspeeda = yspeeda * drag + gravity;
xspeeda *= drag;
} else {
xspeeda = _x - oldx;
yspeeda = _y - oldy;
oldx = _x;
oldy = _y;
}
}
if (a >= 25) {
a = 0;
var1 = 1;
}
if (var1 == 1) {
++aa;
_y = _y + yspeed;
_x = _x + xspeed;
xspeed /= friction;
yspeed /= friction;
xspeed -= (_x - _root.player._x) / (random(35) + 14);
yspeed -= (_y - _root.player._y) / (random(35) + 14);
if (_y <= _root.player._y) {
_y = _y + (random(4) + 1);
}
if (_y >= _root.player._y) {
_y = _y - (random(4) + 1);
}
if (_x >= _root.player._x && i == 0) {
++i;
}
if (_x <= _root.player._x && i == 1) {
++i;
}
if (_x >= _root.player._x && i == 2) {
++i;
}
if (i >= 3 && this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndPlay(2);
xspeed = 0;
yspeed = 0;
}
}
}
if (!_root.pause && _currentframe > 1 && _currentframe != 9) {
play();
}
if (_currentframe >= 2) {
++y;
}
if (y >= 60) {
this.removeMovieClip();
}
}
}
instance clock of movieClip 400 {
onClipEvent (load) {
var friction = 1.05;
var yspeed = 0;
var xspeed = 0;
var i = 0;
var1 = 0;
h = _height / 2;
w = _width / 2;
xspeeda = -10 + random(20);
yspeeda = -random(20);
drag = 0.98;
bounce = 1;
gravity = 1;
a = 0;
aa = 0;
rot = random(13);
y = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause && _name != 'clock') {
_rotation = _rotation + rot;
if (var1 == 0) {
++a;
_root.speed = this.xspeeda;
if (!dragging) {
_x = _x + xspeeda;
_y = _y + yspeeda - 0.29;
yspeeda = yspeeda * drag + gravity;
xspeeda *= drag;
} else {
xspeeda = _x - oldx;
yspeeda = _y - oldy;
oldx = _x;
oldy = _y;
}
}
if (a >= 25) {
a = 0;
var1 = 1;
}
if (var1 == 1) {
++aa;
_y = _y + yspeed;
_x = _x + xspeed;
xspeed /= friction;
yspeed /= friction;
xspeed -= (_x - _root.player._x) / (random(35) + 14);
yspeed -= (_y - _root.player._y) / (random(35) + 14);
if (_y <= _root.player._y) {
_y = _y + (random(4) + 1);
}
if (_y >= _root.player._y) {
_y = _y - (random(4) + 1);
}
if (_x >= _root.player._x && i == 0) {
++i;
}
if (_x <= _root.player._x && i == 1) {
++i;
}
if (_x >= _root.player._x && i == 2) {
++i;
}
if (i >= 3 && this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndPlay(2);
xspeed = 0;
yspeed = 0;
}
}
}
if (!_root.pause && _currentframe > 1 && _currentframe != 9) {
play();
}
if (_currentframe >= 2) {
++y;
}
if (y >= 60) {
this.removeMovieClip();
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 446 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance pauser of movieClip 375 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
_visible = true;
if (_alpha <= 100) {
_alpha = _alpha + 5;
}
} else {
_alpha = 0;
_visible = false;
}
this.swapDepths(6005);
}
}
instance widescreen of movieClip 377 {
onClipEvent (enterFrame) {
this.swapDepths(5006);
}
}
frame 19 {
fadeIn.gotoAndPlay(1);
stop();
_root.pickUpAble = true;
_root.SkullItem = false;
_root.BombItem = false;
_root.mushroomItem = false;
_root.pickUpAble = false;
_root.SkullItem2 = false;
_root.BombBoss = false;
}
frame 19 {
_root.fadeOut.gotoAndStop(1);
_root.fadeIn._x = 0;
_root.fadeIn._y = 0;
}
frame 19 {
onEnterFrame = function () {
if (Key.isDown(80) && !_root.pause && !hold) {
_root.pause = true;
hold = true;
}
if (!Key.isDown(80) && _root.pause == true) {
hold = false;
}
if (Key.isDown(80) && _root.pause && !hold) {
_root.pause = false;
hold = true;
}
if (!Key.isDown(80) && _root.pause == false) {
hold = false;
}
};
eggSound1 = new Sound();
eggSound2 = new Sound();
eggSound1.attachSound('egg1');
eggSound2.attachSound('egg2');
_root.health.showa = false;
_root.health._alpha = 0;
_x = 0;
_y = 0;
_root.health.dontShow = false;
_root.checkPoint = _currentframe;
}
frame 19 {
onEnterFrame = function () {
if (Key.isDown(80) && !_root.pause && !hold) {
_root.pause = true;
hold = true;
}
if (!Key.isDown(80) && _root.pause == true) {
hold = false;
}
if (Key.isDown(80) && _root.pause && !hold) {
_root.pause = false;
hold = true;
}
if (!Key.isDown(80) && _root.pause == false) {
hold = false;
}
};
eggSound1 = new Sound();
eggSound2 = new Sound();
eggSound1.attachSound('egg1');
eggSound2.attachSound('egg2');
_root.health.showa = false;
_root.health._alpha = 0;
_x = 0;
_y = 0;
_root.health.dontShow = false;
_root.checkPoint = _currentframe;
}
frame 19 {
function makeEgg() {
++c;
++e;
_root.egg.duplicateMovieClip('egg' + e, e);
_root.clock.duplicateMovieClip('clock' + c, c);
_root['egg' + e]._x = _root.eggx;
_root['egg' + e]._y = _root.eggy;
_root['clock' + c]._x = _root.eggx;
_root['clock' + c]._y = _root.eggy;
}
function makeBomb() {
++b;
_root.bomb.duplicateMovieClip('bomb' + b, b);
_root['bomb' + b]._x = _root.bush._x;
_root['bomb' + b]._y = _root.bush._y - 10;
}
c = 100;
e = 70;
s = 0;
b = 50;
makeSparkle = function () {
++s;
sparkle.duplicateMovieClip('sparkle' + s, s);
if (_root.player._xscale > 0) {
_root['sparkle' + s]._x = _root.player._x - 20 - random(40);
_root['sparkle' + s]._y = _root.player._y + 50 - random(100);
_root['sparkle' + s]._xscale = _root.sparkle.scale + random(15);
_root['sparkle' + s]._yscale = _root['sparkle' + s]._xscale;
}
if (_root.player._xscale < 0) {
_root['sparkle' + s]._x = _root.player._x + 20 + random(40);
_root['sparkle' + s]._y = _root.player._y + 50 - random(100);
_root['sparkle' + s]._xscale = _root.sparkle.scale + random(15);
_root['sparkle' + s]._yscale = _root['sparkle' + s]._xscale;
}
if (s >= 60) {
s = 0;
}
};
}
movieClip 1110 {
}
movieClip 1113 {
}
movieClip 1115 {
}
movieClip 1120 {
}
movieClip 1133 {
}
movieClip 1135 {
}
movieClip 1140 {
}
movieClip 1150 {
frame 21 {
_root.shake.play();
}
instance of movieClip 1140 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.base) && _root.blink._currentframe == 1) {
_root.blink.play();
}
}
}
frame 42 {
_parent.gotoAndStop(1);
}
}
movieClip 1151 {
frame 32 {
stop();
_parent.gotoAndStop(4);
}
}
movieClip 1154 {
frame 41 {
_root.shake.play();
}
instance of movieClip 1140 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.base) && _root.blink._currentframe == 1) {
_root.blink.play();
}
}
}
frame 53 {
stop();
_parent.gotoAndStop(5);
}
frame 86 {
_parent.gotoAndStop(3);
}
}
movieClip 1155 {
}
movieClip 1156 {
}
movieClip 1157 {
}
movieClip 1158 {
frame 15 {
_parent.gotoAndStop(5);
}
}
movieClip 1159 {
frame 37 {
_parent.gotoAndStop(8);
}
}
movieClip 1160 {
frame 17 {
_parent.gotoAndStop(1);
}
}
movieClip 1161 {
frame 10 {
_parent.gotoAndStop(1);
}
}
movieClip 1167 {
}
movieClip 1168 {
frame 1 {
stopAllSounds();
}
frame 70 {
stop();
}
instance of movieClip 1167 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _root.fadeOut._currentframe == 1) {
_root.fadeOut.play();
}
}
}
}
movieClip 1169 {
frame 1 {
stop();
}
instance idle of movieClip 1133 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
frame 2 {
_root.boss.attack = 0;
_root.boss.attacker = 4;
}
instance of movieClip 1150 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 1151 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
frame 4 {
_root.boss._x = _root.boss.dx;
}
instance of movieClip 1154 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 1156 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
frame 6 {
_root.bossHealth.bar.hit = true;
}
instance of movieClip 1158 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 1159 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 1160 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 1161 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
}
instance boss of movieClip 1169 {
onClipEvent (load) {
scale = _xscale;
attack = 0;
attack2 = 0;
a = 0;
mover = 0;
xspeed = 0;
aa = 0;
dx = _x;
down = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_x = _x + xspeed;
xspeed *= 0.9;
if (_currentframe == 1 or _currentframe == 9) {
++attack;
}
if (attack >= 90 && !chaos) {
++a;
attacker = random(2);
}
if (attack >= 40 && chaos) {
++a;
attacker = random(2);
}
if (a >= 3) {
attacker = 0;
}
if (attacker == 0) {
++aa;
if (this.idle._currentframe >= 1) {
this.gotoAndStop(2);
}
attack = 0;
a = 0;
attacker = 4;
}
if (attacker == 1) {
attack = 0;
attacker = 4;
}
if (_currentframe == 1) {
++mover;
}
if (mover >= 30) {
moves = random(2);
}
if (moves == 0) {
moves2 = random(2);
}
if (moves2 == 0) {
if (_x <= 700) {
xspeed = random(35);
}
moves = 5;
mover = 0;
moves2 = 5;
}
if (moves2 == 1) {
if (_x >= 50) {
xspeed = -random(35);
}
moves = 5;
mover = 0;
moves2 = 5;
}
if (moves == 1) {
moves = 5;
mover = 0;
}
if (_x >= Stage.width / 2) {
_xscale = scale;
} else {
_xscale = -scale;
}
if (aa >= 3 && !chaos) {
++attack2;
}
if (aa >= 6 && chaos) {
++attack2;
}
if (attack2 >= 50 && _currentframe == 1 && this.idle._currentframe >= 1) {
gotoAndStop(3);
aa = 0;
attack2 = 0;
}
if (_currentframe == 5 && this.hitTest(_root.player.stomp.attack)) {
this.gotoAndStop(6);
}
if (_currentframe == 5) {
++down;
}
if (down >= 70) {
this.gotoAndStop(7);
down = 0;
}
if (_root.bossHealth.bar._xscale <= 30) {
chaos = true;
}
if (this.top.hitTest(_root.player) && hitTop != true) {
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
this.gotoAndStop(9);
hitTop = true;
_root.bossHealth.bar.hit2 = true;
}
}
}
}
movieClip 1170 {
frame 1 {
stop();
}
instance of movieClip 1042 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
frame 2 {
onEnterFrame = function () {
if (_currentframe == 2 or _currentframe == 5) {
_root.makeSparkle();
}
};
}
instance of movieClip 1045 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance jumpa of movieClip 1046 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
if (_currentframe < 15) {
this.play();
}
}
}
}
instance stomp of movieClip 1049 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 1052 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 1053 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 1054 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
}
instance player of movieClip 1170 {
onClipEvent (load) {
var xspeed = 5;
var yspeed = 0;
var grav = 2;
var w = _width / 2;
var h = _height / 2;
var scale = _xscale;
var cx = _x;
var cy = _y;
var camChange = -150;
var jump = 23;
var dyy = _y;
holdJump = false;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_y = _y + yspeed;
yspeed += grav;
_x = _x + xspeed;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h + 50, true)) {
if (_currentframe == 3) {
this.jumpa.play();
}
}
if (_root.land.hitTest(_x, _y + h - 5, true)) {
grounded = true;
_root.boss.hitTop = false;
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 5, true)) {
_y = _y - 0.1;
}
}
if (!_root.land.hitTest(_x, _y + h + 5, true)) {
grounded = false;
}
if (_root.land.hitTest(_x + w, _y, true)) {
xspeed = 0;
while (_root.land.hitTest(_x + w, _y, true)) {
_x = _x - 0.1;
}
}
if (_root.land.hitTest(_x - w, _y, true)) {
xspeed = 0;
while (_root.land.hitTest(_x - w, _y, true)) {
_x = _x + 0.1;
}
}
if (_root.land.hitTest(_x, _y - h, true)) {
yspeed = 10;
while (_root.land.hitTest(_x, _y - h, true)) {
_y = _y + 0.1;
}
}
if (Key.isDown(39) && _currentframe != 4 && !slideL && !slideR && _currentframe != 6 && _currentframe != 7) {
camChange = -150;
xspeed += 3.5;
_xscale = scale;
if (_currentframe != 3 && _currentframe != 4 or this.jumpa._currentframe >= 24) {
this.gotoAndStop(2);
}
}
if (Key.isDown(37) && _currentframe != 4 && !slideL && !slideR && _currentframe != 6 && _currentframe != 7) {
camChange = 150;
xspeed -= 3.5;
_xscale = -scale;
if (_currentframe != 3 && _currentframe != 4 or this.jumpa._currentframe >= 24) {
this.gotoAndStop(2);
}
}
if (!Key.isDown(39) && !Key.isDown(37) && _currentframe != 3 && _currentframe != 4 && !slideR && !slideL && _currentframe != 6 && _currentframe != 7) {
this.gotoAndStop(1);
}
if (Key.isDown(32) && !holdJump && doubleJump != true && grounded && _currentframe != 4 && _currentframe != 6 && _currentframe != 7 && _currentframe != 3) {
this.grounded = false;
this.gotoAndStop(3);
holdJump = true;
doubleJump = true;
}
if (Key.isDown(38) && !holdJump && doubleJump != true && grounded && _currentframe != 4 && _currentframe != 6 && _currentframe != 7 && _currentframe != 3) {
this.grounded = false;
this.gotoAndStop(3);
holdJump = true;
doubleJump = true;
}
if (!Key.isDown(32) && holdJump && !Key.isDown(38)) {
holdJump = false;
trace(holdJump);
}
if (Key.isDown(32) && doubleJump == true && holdJump != true) {
this.gotoAndStop(1);
this.gotoAndStop(3);
doubleJump = false;
}
if (Key.isDown(38) && doubleJump == true && !holdJump) {
this.gotoAndStop(1);
this.gotoAndStop(3);
doubleJump = false;
}
if (Key.isDown(65) && _currentframe != 4 && _currentframe != 3 && _currentframe != 5 && _currentframe != 6 && _currentframe != 7) {
this.gotoAndStop(4);
}
if (_xscale > 0) {
if (Key.isDown(40) && _root.land.hitTest(_x - h - 35, _y + 16, true) && _currentframe != 4 && _currentframe != 6 && _currentframe != 7) {
slideR = true;
} else {
slideR = false;
}
}
if (_xscale < 0) {
if (Key.isDown(40) && _root.land.hitTest(_x + h + 35, _y + 16, true) && _currentframe != 4 && _currentframe != 6 && _currentframe != 7) {
slideL = true;
} else {
slideL = false;
}
}
if (slideR) {
this.gotoAndStop(5);
xspeed += 4.3;
yspeed += 7;
}
if (slideL) {
this.gotoAndStop(5);
xspeed -= 4.3;
yspeed += 7;
}
_root.widescreen._y = cy;
cx += (_x - cx - camChange) / 8;
_root._x = Stage.width / 2 - cx;
if (cxFalse != true) {
cy += (_y - cy) / 3;
_root._y = Stage.height / 2 - cy;
}
_root.widescreen._x = cx;
_root.gradient._x = cx;
_root.gradient._y = cy;
_root.frontbush._x = cx / 20;
_root.backbush._x = cx / 15;
_root.fronttrees._x = cx / 10;
_root.backtrees._x = cx / 5;
_root.backtrees2._x = cx / 4;
_root.backtrees3._x = cx / 2;
_root.fronttrees._y = cy / 10;
_root.backtrees._y = cy / 5;
_root.backtrees2._y = cy / 4;
_root.backtrees3._y = cy / 2;
_root.back._x = cx;
_root.back._y = cy;
_root.spotlight._x = _x;
_root.spotlight._y = cy - 100;
_root.pauser._x = cx;
_root.pauser._y = cy;
_root.fadeIn._x = cx;
_root.fadeIn._y = cy;
_root.fadeOut._x = cx;
_root.fadeOut._y = cy;
_root.health._x = _x;
_root.bossHealth._x = cx;
_root.bossHealth._y = cy + 140;
_root.health._y = _y - 55;
_root.fadeOutGO._x = cx;
_root.fadeOutGO._y = cy;
}
if (_root.land.hitTest(_x, _y + h, true) && this.jumpa._currentframe >= 13 && _currentframe == 3) {
this.gotoAndStop(1);
}
if (_currentframe == 6) {
xspeed = 0;
}
}
}
movieClip 1172 {
instance bar of movieClip 962 {
onClipEvent (load) {
scale = 0;
speed = 0;
}
onClipEvent (enterFrame) {
_xscale = _xscale + scale;
if (_xscale < 0) {
_root.boss.gotoAndStop(10);
}
scale *= 0.94;
if (hit == true) {
scale = -0.35;
hit = false;
}
if (hit2 == true) {
scale = -0.15;
hit2 = false;
}
}
}
}
instance pauser of movieClip 375 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
_visible = true;
if (_alpha <= 100) {
_alpha = _alpha + 5;
}
} else {
_alpha = 0;
_visible = false;
}
this.swapDepths(6006);
}
}
instance widescreen of movieClip 377 {
onClipEvent (enterFrame) {
this.swapDepths(5007);
}
}
frame 20 {
_x = 0;
_y = 0;
stop();
}
movieClip 1174 {
frame 133 {
_root.nextFrame();
}
}
instance of movieClip 1174 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
frame 21 {
stop();
_x = 0;
_y = 0;
scorea = _root.score;
}
// unknown tag 88 length 138
button 1181 {
on (press) {
stopAllSounds();
_root.gotoAndStop(3);
}
}
button 1184 {
on (press) {
getURL('http://www.armorgames.com', '_blank');
}
}
button 1186 {
on (press) {
getURL('http://rankz.armorbot.com/prehistoric2/', '_blank');
}
}
button 1189 {
on (press) {
_root.credits._visible = true;
}
}
button 1192 {
on (press) {
function __rankz_send__(par1, par2, par3, par4) {
par227 = new LoadVars();
par228 = new LoadVars();
par227.flashkey = par2;
par227.SU0249 = par1;
par227.bmFtZTE = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par3);
par227.c2NvcmUx = ab3.rankz.Armor_Bot_30_En_AS1.Encode(par4 + 'j%e%a%n%s');
par227.flashkey = (par227.flashkey.split('=')).join('');
par227.SU0249 = (par227.SU0249.split('=')).join('');
par228.onLoad = function (success) {
if (success) {
trace(par228.msg);
} else {
trace(par228.loaded);
}
};
par227.sendAndLoad('http://rankz.armorbot.com/submit/', par228, 'POST');
}
bXlnYW1lX25hbWVfdmFyaWFibGU = _root.namea;
bXlnYW1lX3Njb3JlX3ZhcmlhYmxl = _root.score;
__rankz_send__('MjM2MmolZSVhJW4lcw==', 'd0tBdU1FQno=', bXlnYW1lX25hbWVfdmFyaWFibGU, bXlnYW1lX3Njb3JlX3ZhcmlhYmxl);
getURL('http://rankz.armorbot.com/prehistoric2/', '_blank');
_root.submitscore._visible = false;
}
}
instance credits of movieClip 65 {
onClipEvent (load) {
_visible = false;
}
}
frame 22 {
left = new Sound();
right = new Sound();
left.attachSound('left');
right.attachSound('right');
fadeIn.gotoAndPlay(1);
stop();
}
frame 22 {
function makeEgg() {
++c;
++e;
_root.egg.duplicateMovieClip('egg' + e, e);
_root.clock.duplicateMovieClip('clock' + c, c);
_root['egg' + e]._x = _root.eggx;
_root['egg' + e]._y = _root.eggy;
_root['clock' + c]._x = _root.eggx;
_root['clock' + c]._y = _root.eggy;
}
function makeBomb() {
++b;
_root.bomb.duplicateMovieClip('bomb' + b, b);
_root['bomb' + b]._x = _root.bush._x;
_root['bomb' + b]._y = _root.bush._y - 10;
}
c = 100;
e = 0;
s = 300;
b = 50;
_root.lives = 10;
}
frame 22 {
onEnterFrame = function () {
if (Key.isDown(80) && !_root.pause && !hold) {
_root.pause = true;
hold = true;
}
if (!Key.isDown(80) && _root.pause == true) {
hold = false;
}
if (Key.isDown(80) && _root.pause && !hold) {
_root.pause = false;
hold = true;
}
if (!Key.isDown(80) && _root.pause == false) {
hold = false;
}
};
eggSound1 = new Sound();
eggSound2 = new Sound();
eggSound1.attachSound('egg1');
eggSound2.attachSound('egg2');
}
movieClip 1193 {
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 90 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
}
movieClip 1194 {
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 93 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 96 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
}
instance of movieClip 99 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 99 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 99 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 99 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 99 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 101 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 101 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 101 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 101 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 101 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 101 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
movieClip 1196 {
frame 1 {
stop();
}
instance of movieClip 108 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 111 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 112 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 108 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 112 {
onClipEvent (enterFrame) {
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
}
instance en1 of movieClip 179 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
if (this.hitTest(_root.player) && _currentframe != 3) {
this.gotoAndStop(1);
}
} else {
if (!dead) {
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.player) && _root.blink._currentframe == 1 && _currentframe != 3 && _root.player._currentframe != 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5) {
_root.blink.play();
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
instance en2 of movieClip 179 {
onClipEvent (load) {
var xspeed = 0;
var yspeed = 0;
var grav = 1;
var h = _height / 2;
var w = _width / 2;
var scale = _xscale;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_x = _x + xspeed;
_y = _y + yspeed;
yspeed += grav;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h - 15, true)) {
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 15, true)) {
_y = _y - 0.1;
}
}
xx = _x - _root.player._x;
yy = _y - _root.player._y;
d = Math.sqrt(xx * xx + yy * yy);
if (d <= 350 && !dead && _currentframe != 3) {
if (_root.player._x <= _x - 10 && !this.hitTest(_root.player)) {
xspeed -= 1;
_xscale = scale;
this.gotoAndStop(2);
}
if (_root.player._x >= _x + 10 && !this.hitTest(_root.player)) {
xspeed += 1;
_xscale = -scale;
this.gotoAndStop(2);
}
if (this.hitTest(_root.player) && _currentframe != 3) {
this.gotoAndStop(1);
}
} else {
if (!dead) {
this.gotoAndStop(1);
}
}
if (this.hitTest(_root.player) && _root.blink._currentframe == 1 && _currentframe != 3 && _root.player._currentframe != 4 && _root.player.grounded && _root.player._currentframe != 3 && _root.player._currentframe != 7 && _root.player._currentframe != 5) {
_root.blink.play();
}
if (this.hitTest(_root.player.stomp.attack) && _currentframe != 3) {
dead = true;
this.gotoAndStop(3);
}
if (this.hitTest(_root.player) && _root.player._currentframe == 5) {
dead = true;
this.gotoAndStop(3);
}
if (hitBySomething == true && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.hitTest(_root.spikes) && !dead) {
this.gotoAndStop(3);
dead = true;
}
if (this.topa.hitTest(_root.player) && _currentframe != 3 && _root.player.grounded != true && _root.player.yspeed >= 3) {
dead = true;
_root.player.grounded = false;
this.gotoAndStop(3);
_root.player.yspeed = -_root.player.jump;
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.jumpa.gotoAndPlay(12);
}
if (dead && var1 != 1) {
_root.xx = _x;
_root.yy = _y;
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
_root.makeSoul();
var1 = 1;
}
}
}
}
instance of movieClip 160 {
onClipEvent (enterFrame) {
if (this.top.hitTest(_root.player.base) && _root.player.grounded != true && _root.player.yspeed >= 3) {
_root.player.yspeed = -40;
this.gotoAndStop(2);
_root.player.gotoAndStop(1);
_root.player.gotoAndStop(3);
_root.player.grounded = false;
}
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 160 {
onClipEvent (enterFrame) {
if (this.top.hitTest(_root.player.base) && _root.player.grounded != true && _root.player.yspeed >= 3) {
_root.player.yspeed = -35;
this.gotoAndStop(2);
_root.player.gotoAndStop(1);
_root.fadeOut.play();
_root.player.gotoAndStop(3);
_root.player.grounded = false;
}
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
movieClip 1197 {
frame 1 {
stop();
}
instance of movieClip 286 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 291 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance jumpa of movieClip 293 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
if (_currentframe < 15) {
this.play();
}
}
}
}
instance stomp of movieClip 298 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 306 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 308 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 310 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
}
instance player of movieClip 1197 {
onClipEvent (load) {
var xspeed = 5;
var yspeed = 0;
var grav = 2;
var w = _width / 2;
var h = _height / 2;
var scale = _xscale;
var cx = _x;
var cy = _y;
var camChange = -150;
var jump = 23;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
_y = _y + yspeed;
yspeed += grav;
if (_root.land.hitTest(_x, _y + h - 5, true)) {
grounded = true;
yspeed = 0;
while (_root.land.hitTest(_x, _y + h - 5, true)) {
_y = _y - 0.1;
}
}
if (!_root.land.hitTest(_x, _y + h + 5, true)) {
grounded = false;
}
}
if (!_root.pause && _root.tutVar1 == 1) {
_x = _x + xspeed;
xspeed *= 0.84;
if (_root.land.hitTest(_x, _y + h + 50, true)) {
if (_currentframe == 3) {
this.jumpa.play();
}
}
if (_root.land.hitTest(_x + w, _y, true)) {
xspeed = 0;
while (_root.land.hitTest(_x + w, _y, true)) {
_x = _x - 0.1;
}
}
if (_root.land.hitTest(_x - w, _y, true)) {
xspeed = 0;
while (_root.land.hitTest(_x - w, _y, true)) {
_x = _x + 0.1;
}
}
if (_root.land.hitTest(_x, _y - h, true)) {
yspeed = 10;
while (_root.land.hitTest(_x, _y - h, true)) {
_y = _y + 0.1;
}
}
if (Key.isDown(39) && _currentframe != 4 && !slideL && !slideR && _currentframe != 6 && _currentframe != 7) {
camChange = -150;
xspeed += 2.5;
_xscale = scale;
if (_currentframe != 3 && _currentframe != 4 or this.jumpa._currentframe >= 24) {
this.gotoAndStop(2);
}
}
if (Key.isDown(37) && _currentframe != 4 && !slideL && !slideR && _currentframe != 6 && _currentframe != 7) {
camChange = 150;
xspeed -= 2.5;
_xscale = -scale;
if (_currentframe != 3 && _currentframe != 4 or this.jumpa._currentframe >= 24) {
this.gotoAndStop(2);
}
}
if (!Key.isDown(39) && !Key.isDown(37) && _currentframe != 3 && _currentframe != 4 && !slideR && !slideL && _currentframe != 6 && _currentframe != 7) {
this.gotoAndStop(1);
}
if (Key.isDown(32) && grounded && _currentframe != 4 && _currentframe != 6 && _currentframe != 7 or Key.isDown(38) && grounded && _currentframe != 4 && _currentframe != 6 && _currentframe != 7) {
this.grounded = false;
this.gotoAndStop(3);
}
if (Key.isDown(65) && _currentframe != 4 && _currentframe != 3 && _currentframe != 5 && _currentframe != 6 && _currentframe != 7) {
this.gotoAndStop(4);
}
if (_xscale > 0) {
if (Key.isDown(40) && _root.land.hitTest(_x - h - 35, _y + 25, true) && _currentframe != 4 && _currentframe != 6 && _currentframe != 7) {
slideR = true;
} else {
slideR = false;
}
}
if (_xscale < 0) {
if (Key.isDown(40) && _root.land.hitTest(_x + h + 35, _y + 25, true) && _currentframe != 4 && _currentframe != 6 && _currentframe != 7) {
slideL = true;
} else {
slideL = false;
}
}
if (slideR) {
this.gotoAndStop(5);
xspeed += 4.3;
yspeed += 8;
}
if (slideL) {
this.gotoAndStop(5);
xspeed -= 4.3;
yspeed += 8;
}
}
if (_root.land.hitTest(_x, _y + h, true) && this.jumpa._currentframe >= 13 && _currentframe == 3) {
this.gotoAndStop(1);
}
if (_currentframe == 6) {
xspeed = 0;
}
_root.widescreen._y = cy;
cx += (_x - cx - camChange) / 15;
_root._x = Stage.width / 2 - cx;
if (cxFalse != true) {
cy += (_y - cy) / 3;
_root._y = Stage.height / 2 - cy;
}
_root.widescreen._x = cx;
_root.gradient._x = cx;
_root.gradient._y = cy;
_root.frontbush._x = cx / 20;
_root.backbush._x = cx / 15;
_root.fronttrees._x = cx / 10;
_root.backtrees._x = cx / 5;
_root.back._x = cx;
_root.back._y = cy;
_root.spotlight._x = _x;
_root.spotlight._y = cy - 100;
_root.pauser._x = cx;
_root.pauser._y = cy;
_root.fadeIn._x = cx;
_root.fadeIn._y = cy;
_root.fadeOut._x = cx;
_root.fadeOut._y = cy;
_root.bubbles._x = cx + 175;
_root.bubbles._y = cy - 94;
}
}
// unknown tag 88 length 70
// unknown tag 88 length 70
movieClip 1213 {
frame 1 {
_root.tutVar1 = 0;
}
frame 9 {
stop();
onEnterFrame = function () {
if (_root.tutVar1 != 1 && _currentframe == 9) {
if (Key.isDown(32)) {
play();
}
}
};
}
frame 19 {
_root.tutVar1 = 0;
}
frame 29 {
stop();
onEnterFrame = function () {
if (_root.tutVar1 != 1 && _currentframe == 29) {
if (Key.isDown(32)) {
play();
}
}
};
}
frame 39 {
stop();
_root.tutVar1 = 1;
}
frame 40 {
_root.tutVar1 = 0;
_root.player.gotoAndStop(1);
_root.player.xspeed = 0;
}
frame 50 {
stop();
onEnterFrame = function () {
if (_root.tutVar1 != 1 && _currentframe == 50) {
if (Key.isDown(32)) {
play();
}
}
};
}
frame 60 {
stop();
_root.tutVar1 = 1;
}
frame 61 {
_root.tutVar1 = 0;
_root.player.gotoAndStop(1);
_root.player.xspeed = 0;
}
frame 70 {
stop();
onEnterFrame = function () {
if (_root.tutVar1 != 1 && _currentframe == 70) {
if (Key.isDown(32)) {
play();
}
}
};
}
frame 80 {
stop();
_root.tutVar1 = 1;
}
frame 81 {
_root.tutVar1 = 0;
_root.player.gotoAndStop(1);
_root.player.xspeed = 0;
}
frame 90 {
stop();
onEnterFrame = function () {
if (_root.tutVar1 != 1 && _currentframe == 90) {
if (Key.isDown(32)) {
play();
}
}
};
}
frame 101 {
stop();
_root.tutVar1 = 1;
}
frame 102 {
_root.tutVar1 = 0;
_root.player.gotoAndStop(1);
_root.player.xspeed = 0;
}
frame 111 {
stop();
onEnterFrame = function () {
if (_root.tutVar1 != 1 && _currentframe == 111) {
if (Key.isDown(32)) {
play();
}
}
};
}
frame 121 {
stop();
_root.tutVar1 = 1;
}
frame 122 {
_root.tutVar1 = 0;
_root.player.gotoAndStop(1);
_root.player.xspeed = 0;
}
frame 133 {
stop();
onEnterFrame = function () {
if (_root.tutVar1 != 1 && _currentframe == 133) {
if (Key.isDown(32)) {
play();
}
}
};
}
frame 144 {
stop();
_root.tutVar1 = 1;
}
}
movieClip 1215 {
}
instance of movieClip 1215 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.base) && _root.tutVar1 == 1 && var1 != 1) {
_root.player.gotoAndStop(1);
_root.bubbles.play();
var1 = 1;
}
}
}
instance of movieClip 1215 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.base) && _root.tutVar1 == 1 && var1 != 1) {
_root.player.gotoAndStop(1);
_root.bubbles.play();
var1 = 1;
}
}
}
instance of movieClip 1215 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.base) && _root.tutVar1 == 1 && var1 != 1) {
_root.player.gotoAndStop(1);
_root.bubbles.play();
var1 = 1;
}
}
}
instance of movieClip 1215 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.base) && _root.tutVar1 == 1 && var1 != 1) {
_root.player.gotoAndStop(1);
_root.bubbles.play();
var1 = 1;
}
}
}
instance of movieClip 1215 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.base) && _root.tutVar1 == 1 && var1 != 1) {
_root.player.gotoAndStop(1);
_root.bubbles.play();
var1 = 1;
}
}
}
instance of movieClip 325 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player) && _currentframe == 1) {
this.gotoAndStop(2);
_root.eggx = _x;
_root.eggy = _y;
_root.makeEgg();
}
this.cacheAsBitmap = true;
if (!this.hitTest(_root.gradient)) {
this._visible = false;
} else {
this._visible = true;
}
}
}
instance of movieClip 326 {
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
grav = 0;
h = _height / 2;
w = _width / 2;
i = 0;
iA = 0;
scale = _xscale;
didntHitGround = true;
grounded = true;
r = 0;
rr = _rotation;
rott = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (var1 == 1 && _y >= _root.player._y + 4) {
_y = _y - 1;
if (_x <= _root.player._x) {
_x = _x + 1;
} else {
_x = _x - 1;
}
}
if (var1 != 1) {
if (this.hitTest(_root.player.base) && _root.player._currentframe != 4 && _root.player._currentframe != 6 && _root.player._currentframe != 7 && Key.isDown(83) && _root.pickUpAble == true && grounded && _root.land.hitTest(_x, _y + h, true)) {
xspeed = 0;
yspeed = 0;
grav = 1.5;
var2 = 0;
r = 0;
rott = 0;
rot = false;
hold = true;
grounded = false;
var3 = false;
var4 = false;
hitGround = false;
_root.SkullItem = true;
_root.player.gotoAndStop(6);
_root.pickUpAble = false;
var1 = 1;
}
}
if (!Key.isDown(83) && hold) {
hold = false;
}
if (_root.player._currentframe == 1 && var1 == 1) {
this._visible = false;
var1 = 0;
var2 = 1;
var5 = 1;
}
if (var2 == 1) {
e = 0;
while (e <= 30) {
if (this.hitTest(_root['en' + e]) && hitGround != true && _root['en' + e].dead != true && _root.SkullItem != true) {
_root['en' + e].hitBySomething = true;
rot = true;
yspeed = -16;
xspeed = 0;
}
++e;
}
if (var5 != 1) {
_x = _x + xspeed;
xspeed *= 0.95;
_y = _y + yspeed;
yspeed += grav;
_rotation = _rotation + rott;
rott *= 0.89;
} else {
_x = _root.player._x;
_y = _root.player._y;
}
if (_root.land.hitTest(_x, _y + h - 10, true)) {
yspeed = -yspeed + 7;
hitGround = true;
while (_root.land.hitTest(_x, _y + h - 10, true)) {
_y = _y - 0.1;
}
}
if (_root.land.hitTest(_x + w, _y, true)) {
xspeed = -xspeed + 5;
while (_root.land.hitTest(_x + w, _y, true)) {
_x = _x - 0.1;
}
}
if (_root.land.hitTest(_x - w, _y, true)) {
xspeed = -xspeed + 5;
while (_root.land.hitTest(_x - w, _y, true)) {
_x = _x + 0.1;
}
}
if (Key.isDown(83) && _root.player._currentframe != 4 && _root.player._currentframe != 3 && _root.SkullItem == true && hold != true && this.hitTest(_root.player)) {
_root.player.gotoAndStop(7);
count = true;
}
}
if (count == true) {
++i;
}
if (i >= 12) {
var3 = true;
var4 = true;
var5 = 0;
i = 0;
}
if (var3 == true) {
if (var4) {
_x = _root.player._x;
_y = _root.player._y;
if (_root.player._xscale > 0) {
_xscale = scale;
xspeed = 30;
} else {
_xscale = -scale;
xspeed = -30;
}
var4 = false;
}
_root.pickUpAble = true;
_root.SkullItem = false;
_visible = true;
grav = 1;
yspeed = -5;
count = false;
countA = true;
var3 = false;
}
if (countA == true) {
var1 = 0;
countA = false;
hitGround = false;
iA = 0;
}
if (yspeed == 1 or yspeed == 0) {
grounded = true;
}
if (rot) {
++r;
rott = -15;
}
if (r >= 30) {
rot = false;
if (_rotation >= rr) {
--rott;
}
if (_rotation <= rr) {
++rott;
}
}
}
}
}
instance of movieClip 326 {
onClipEvent (load) {
xspeed = 0;
yspeed = 0;
grav = 0;
h = _height / 2;
w = _width / 2;
i = 0;
iA = 0;
scale = _xscale;
didntHitGround = true;
grounded = true;
r = 0;
rr = _rotation;
rott = 0;
}
onClipEvent (enterFrame) {
if (!_root.pause) {
if (var1 == 1 && _y >= _root.player._y + 4) {
_y = _y - 1;
if (_x <= _root.player._x) {
_x = _x + 1;
} else {
_x = _x - 1;
}
}
if (var1 != 1) {
if (this.hitTest(_root.player.base) && _root.player._currentframe != 4 && _root.player._currentframe != 6 && _root.player._currentframe != 7 && Key.isDown(83) && _root.pickUpAble == true && grounded && _root.land.hitTest(_x, _y + h, true)) {
xspeed = 0;
yspeed = 0;
grav = 1.5;
var2 = 0;
r = 0;
rott = 0;
rot = false;
hold = true;
grounded = false;
var3 = false;
var4 = false;
hitGround = false;
_root.SkullItem = true;
_root.player.gotoAndStop(6);
_root.pickUpAble = false;
var1 = 1;
}
}
if (!Key.isDown(83) && hold) {
hold = false;
}
if (_root.player._currentframe == 1 && var1 == 1) {
this._visible = false;
var1 = 0;
var2 = 1;
var5 = 1;
}
if (var2 == 1) {
e = 0;
while (e <= 30) {
if (this.hitTest(_root['en' + e]) && hitGround != true && _root['en' + e].dead != true && _root.SkullItem != true) {
_root['en' + e].hitBySomething = true;
rot = true;
yspeed = -16;
xspeed = 0;
}
++e;
}
if (var5 != 1) {
_x = _x + xspeed;
xspeed *= 0.95;
_y = _y + yspeed;
yspeed += grav;
_rotation = _rotation + rott;
rott *= 0.89;
} else {
_x = _root.player._x;
_y = _root.player._y;
}
if (_root.land.hitTest(_x, _y + h - 10, true)) {
yspeed = -yspeed + 7;
hitGround = true;
while (_root.land.hitTest(_x, _y + h - 10, true)) {
_y = _y - 0.1;
}
}
if (_root.land.hitTest(_x + w, _y, true)) {
xspeed = -xspeed + 5;
while (_root.land.hitTest(_x + w, _y, true)) {
_x = _x - 0.1;
}
}
if (_root.land.hitTest(_x - w, _y, true)) {
xspeed = -xspeed + 5;
while (_root.land.hitTest(_x - w, _y, true)) {
_x = _x + 0.1;
}
}
if (Key.isDown(83) && _root.player._currentframe != 4 && _root.player._currentframe != 3 && _root.SkullItem == true && hold != true && this.hitTest(_root.player)) {
_root.player.gotoAndStop(7);
count = true;
}
}
if (count == true) {
++i;
}
if (i >= 12) {
var3 = true;
var4 = true;
var5 = 0;
i = 0;
}
if (var3 == true) {
if (var4) {
_x = _root.player._x;
_y = _root.player._y;
if (_root.player._xscale > 0) {
_xscale = scale;
xspeed = 30;
} else {
_xscale = -scale;
xspeed = -30;
}
var4 = false;
}
_root.pickUpAble = true;
_root.SkullItem = false;
_visible = true;
grav = 1;
yspeed = -5;
count = false;
countA = true;
var3 = false;
}
if (countA == true) {
var1 = 0;
countA = false;
hitGround = false;
iA = 0;
}
if (yspeed == 1 or yspeed == 0) {
grounded = true;
}
if (rot) {
++r;
rott = -15;
}
if (r >= 30) {
rot = false;
if (_rotation >= rr) {
--rott;
}
if (_rotation <= rr) {
++rott;
}
}
}
}
}
movieClip 1217 {
frame 1 {
stop();
}
frame 30 {
stop();
stopAllSounds();
for (i in _root) {
_root[i].removeMovieClip();
}
_root.gotoAndStop(3);
}
}
instance pauser of movieClip 375 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
if (_alpha <= 100) {
_alpha = _alpha + 5;
}
} else {
_alpha = 0;
}
this.swapDepths(4999);
}
}
instance widescreen of movieClip 377 {
onClipEvent (enterFrame) {
this.swapDepths(5000);
}
}
frame 25 {
_x = 0;
_y = 0;
stop();
stop();
_root.pickUpAble = true;
_root.SkullItem = false;
_root.BombItem = false;
_root.mushroomItem = false;
_root.pickUpAble = false;
_root.SkullItem2 = false;
_root.BombBoss = false;
}
movieClip 1219 {
frame 1 {
stop();
}
}
movieClip 1222 {
frame 21 {
stop();
}
}
button 1227 {
on (press) {
if (_root.gameOver._currentframe == 2) {
_root.gameOver.gotoAndStop(1);
}
}
}
movieClip 1231 {
}
movieClip 1233 {
frame 1 {
stop();
}
instance of movieClip 1219 {
onClipEvent (rollOver) {
if (_currentframe == 1) {
this.gotoAndStop(2);
}
}
onClipEvent (rollOut) {
this.play();
}
onClipEvent (press) {
this.play();
getURL('http://www.armorgames.com/', '_blank');
}
}
instance of movieClip 1219 {
onClipEvent (rollOver) {
if (_currentframe == 1) {
this.gotoAndStop(2);
}
}
onClipEvent (rollOut) {
this.play();
}
onClipEvent (press) {
this.play();
_root.endGame = true;
_root.gotoAndStop('menuu');
}
}
instance of movieClip 1219 {
onClipEvent (rollOver) {
if (_currentframe == 1) {
this.gotoAndStop(2);
}
}
onClipEvent (rollOut) {
this.play();
}
onClipEvent (press) {
this.play();
getURL('http://www.truedarkness.newgrounds.com/', '_blank');
}
}
instance of movieClip 1219 {
onClipEvent (rollOver) {
if (_currentframe == 1) {
this.gotoAndStop(2);
}
}
onClipEvent (rollOut) {
this.play();
}
onClipEvent (press) {
this.play();
getURL('http://www.deviantart.buzzwerd.com/', '_blank');
}
}
frame 2 {
stop();
}
instance of movieClip 286 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 286 {
onClipEvent (enterFrame) {
if (_root.pause == true) {
this.stop();
} else {
this.play();
}
}
}
instance of movieClip 1231 {
onClipEvent (press) {
if (_root.gameOver._currentframe == 2) {
_root.gameOver.play();
_root.eggs -= 100;
_root.score = 0;
}
}
}
frame 32 {
stopAllSounds();
_root.gotoAndStop(_root.checkPoint);
}
}
instance gameOver of movieClip 1233 {
onClipEvent (load) {
if (_root.eggs >= 100) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
frame 32 {
_x = 0;
_y = 0;
}
movieClip 1239 {
frame 1 {
var copyrightNotice = 'Copyright (c) 2006-2007 Sockpuppet Pty Ltd. All Rights Reserved. http://www.reanimator.net';
var reanimator = new flash.geom.Transform(this);
var camera = new flash.geom.Transform(this._parent);
var w = Stage.width;
var h = Stage.height;
this._visible = false;
this.onEnterFrame = function () {
this._parent.filters = this.filters;
var v2 = reanimator.matrix;
camera.colorTransform = reanimator.colorTransform;
v2.invert();
v2.translate(w * 0.5, h * 0.5);
camera.matrix = v2;
};
}
}
movieClip 1326 {
frame 389 {
_root.gotoAndStop('menuu');
}
}