Combined Code
movieClip 3 {
}
movieClip 4 cloud {
frame 26 {
stop();
}
}
movieClip 7 c1233 {
frame 2 {
stop();
}
}
frame 1 {
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = '__mochibot__';
mbc = 'mochibot.com';
g = _global ? _global : _level0._root;
if (g[mb + swfid]) {
return g[mb + swfid];
}
s = System.security;
x = mc._root.getSWFVersion;
fv = x ? mc.getSWFVersion() : (_global ? 6 : 5);
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == 'localWithFile') {
return null;
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = (fv == 5) ? /:$version : System.capabilities.version;
u = 'http://' + mbc + '/my/core.swf?mv=8&fv=' + fv + '&v=' + escape(pv) + '&swfid=' + escape(swfid) + '&l=' + lv + '&f=' + mc + (sb ? '&sb=' + sb : '') + (trk ? '&t=1' : '');
lv = fv > 6 ? mc.getNextHighestDepth() : (g[mb + 'level'] ? g[mb + 'level'] + 1 : lv);
g[mb + 'level'] = lv;
if (fv == 5) {
res = '_level' + lv;
if (!eval(res)) {
loadMovieNum(u, lv);
}
return res;
}
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
return res;
}
__com_mochibot__('217a15fa', this, 10301, true);
Stage.showMenu = false;
var CPMStarContentSpotID = '9914Q74B4E113';
System.security.allowDomain('server.cpmstar.com');
adBox.loadMovie('http://server.cpmstar.com/adviewas2.swf?contentspotid=' + CPMStarContentSpotID);
}
// unknown tag 88 length 67
movieClip 12 {
}
// unknown tag 88 length 99
button 17 {
on (press) {
getURL('http://coolbuddy.com/?from=nog', '_blank');
}
}
frame 2 {
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = '__mochibot__';
mbc = 'mochibot.com';
g = _global ? _global : _level0._root;
if (g[mb + swfid]) {
return g[mb + swfid];
}
s = System.security;
x = mc._root.getSWFVersion;
fv = x ? mc.getSWFVersion() : (_global ? 6 : 5);
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == 'localWithFile') {
return null;
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = (fv == 5) ? /:$version : System.capabilities.version;
u = 'http://' + mbc + '/my/core.swf?mv=8&fv=' + fv + '&v=' + escape(pv) + '&swfid=' + escape(swfid) + '&l=' + lv + '&f=' + mc + (sb ? '&sb=' + sb : '') + (trk ? '&t=1' : '');
lv = fv > 6 ? mc.getNextHighestDepth() : (g[mb + 'level'] ? g[mb + 'level'] + 1 : lv);
g[mb + 'level'] = lv;
if (fv == 5) {
res = '_level' + lv;
if (!eval(res)) {
loadMovieNum(u, lv);
}
return res;
}
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
return res;
}
_global.mover = 'game';
_global.savedlevel = 10;
_global.savescore = 0;
_global.savemoney = 0;
_global.retirement = 0;
__com_mochibot__('13cef3a1', this, 10301, true);
}
movieClip 20 {
}
movieClip 21 {
}
movieClip 25 {
}
movieClip 27 {
}
movieClip 29 {
}
movieClip 30 {
}
movieClip 33 {
}
movieClip 37 {
}
movieClip 40 {
instance of movieClip 37 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 37 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
}
movieClip 44 {
frame 1 {
stop();
}
}
movieClip 46 {
}
movieClip 48 {
frame 1 {
stop();
}
}
movieClip 51 {
}
movieClip 52 {
}
movieClip 54 {
}
movieClip 55 {
}
movieClip 56 {
frame 1 {
_parent.gotit = 0;
}
}
movieClip 59 {
}
button 65 {
on (release) {
getURL('http://www.jjwallace.info/', '_blank');
}
}
button 68 {
on (release) {
getURL('http://twitter.com/jjaywallace', '_blank');
}
}
button 71 {
on (release) {
getURL('http://www.youtube.com/user/jjaywallace', '_blank');
}
}
movieClip 73 {
}
button 77 {
on (press) {
_parent.play();
}
}
button 81 {
on (release) {
gamename = 'nog';
buttonloc = 'buy';
domain_parts = _url.split('://');
real_domain = domain_parts[1].split('/');
linkurl = 'http://jjwallace.info/blog/buy-games/?utm_source=' + real_domain[0] + '&utm_medium=flashgame&utm_content=' + buttonloc + '&utm_campaign=' + gamename;
getURL(linkurl, '_blank');
}
}
button 85 {
on (release) {
gamename = 'zombytes';
buttonloc = 'buy';
domain_parts = _url.split('://');
real_domain = domain_parts[1].split('/');
linkurl = 'http://jjwallace.info/blog/download-games/?utm_source=' + real_domain[0] + '&utm_medium=flashgame&utm_content=' + buttonloc + '&utm_campaign=' + gamename;
getURL(linkurl, '_blank');
}
}
movieClip 86 {
}
movieClip 87 {
frame 1 {
stop();
}
frame 10 {
stop();
}
}
// unknown tag 88 length 115
movieClip 91 {
}
frame 3 {
bytes_loaded = Math.round(_root.getBytesLoaded());
bytes_total = Math.round(_root.getBytesTotal());
getPercent = bytes_loaded / bytes_total;
_root.loadBar.gotoAndStop(Math.round(getPercent * 100));
_root.txtloader.text = Math.round(getPercent * 100) + '%';
if (bytes_loaded == bytes_total) {
_root.gotoAndStop('nomenu');
}
}
frame 4 {
gotoAndPlay(3);
}
frame 5 {
Stage.showMenu = false;
_root.loadBar.loadgo.smokeon = 0;
}
frame 5 {
_global.lang = 1;
}
button 95 {
on (press) {
_global.mover = 'game';
_root.play();
}
}
movieClip 97 {
}
movieClip 98 {
}
frame 6 {
adBox.removeMovieClip();
}
frame 8 {
stop();
}
movieClip 108 {
frame 104 {
stop();
}
}
button 110 {
on (press) {
getURL('http://coolbuddy.com/?from=zombytes', '_blank');
}
}
movieClip 113 {
}
movieClip 117 {
frame 431 {
_root.play();
}
}
frame 9 {
stop();
}
movieClip 120 {
}
movieClip 122 {
}
movieClip 131 {
}
movieClip 133 {
}
movieClip 137 {
}
movieClip 138 {
}
movieClip 143 {
}
movieClip 144 {
}
movieClip 145 {
}
movieClip 147 {
}
movieClip 150 {
frame 165 {
}
frame 307 {
stop();
_root.play();
}
}
button 153 {
on (press) {
mutelogo.gotoAndStop(mutelogo._currentframe + 1);
}
}
movieClip 157 {
frame 1 {
var main = new Sound(_root);
main.setVolume(100);
}
frame 2 {
var main = new Sound(_root);
main.setVolume(29);
}
frame 3 {
var main = new Sound(_root);
main.setVolume(0);
}
frame 4 {
gotoAndStop(1);
}
}
movieClip 158 {
}
button 160 {
on (press) {
play();
}
}
movieClip 162 {
frame 1 {
stop();
var main = new Sound(_root.musicbox);
main.setVolume(100);
}
frame 2 {
stop();
var main = new Sound(_root.musicbox);
main.setVolume(0);
}
}
movieClip 163 {
}
button 169 {
on (press) {
gotoAndStop('tab1');
}
}
button 171 {
on (press) {
gotoAndStop('tab3');
}
}
button 176 {
on (release) {
_parent.play();
}
}
movieClip 179 {
}
movieClip 182 {
}
movieClip 185 {
}
movieClip 187 {
instance of movieClip 182 {
onClipEvent (release) {
getURL('http://www.jjwallace.info/thankyou.php', '_blank');
}
}
}
button 192 {
on (press) {
getURL('http://jjwallace.info', '_blank');
}
}
// unknown tag 88 length 68
button 201 {
on (press) {
getURL('http://coolbuddy.com/?from=zombytes', '_blank');
}
}
movieClip 203 {
}
button 205 {
on (press) {
gotoAndStop('tab2');
}
}
movieClip 208 {
}
movieClip 212 {
}
// unknown tag 88 length 87
movieClip 218 {
}
movieClip 219 {
frame 21 {
gotoAndPlay(1);
}
frame 40 {
this._alpha = 0;
}
}
movieClip 220 {
}
movieClip 222 {
frame 1 {
awardcem.gotoAndStop(2 - _global.awardcem);
awardpuke.gotoAndStop(2 - _global.awardpuke);
award5000wood.gotoAndStop(2 - _global.award5000wood);
awardsnowman.gotoAndStop(2 - _global.awardsnowman);
awardtrip.gotoAndStop(2 - _global.awardtrip);
awarddiehunger.gotoAndStop(2 - _global.awarddiehunger);
totalscore.text = _global.playerscore;
stop();
}
instance of movieClip 203 {
onClipEvent (press) {
noginfo.play();
}
}
}
movieClip 224 {
}
movieClip 225 {
}
movieClip 228 {
}
movieClip 232 {
frame 1 {
stop();
}
frame 5 {
_root.gamepause = 1;
}
frame 9 {
stop();
}
frame 14 {
_root.gamepause = 0;
}
}
frame 15 {
stopAllSounds();
}
movieClip 236 {
frame 1 {
stop();
}
}
movieClip 239 {
}
movieClip 245 {
frame 1 {
stop();
}
instance of movieClip 239 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_parent.play();
}
}
}
}
movieClip 246 {
frame 1 {
randy = Math.floor(Math.random() * 119) + 1;
gotoAndPlay(randy);
}
frame 120 {
gotoAndPlay(2);
}
}
movieClip 250 {
}
movieClip 252 {
}
movieClip 256 {
}
movieClip 258 {
}
movieClip 259 {
}
movieClip 260 {
}
movieClip 263 {
}
movieClip 266 {
}
movieClip 273 {
frame 1 {
}
frame 28 {
stop();
}
}
movieClip 281 {
frame 1 {
randy = Math.floor(Math.random() * 84) + 1;
gotoAndPlay(randy);
}
instance hotspot1 of movieClip 260 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hotspot)) {
if (_root.yspeed > 4) {
_parent.gotoAndPlay('pop');
}
}
}
}
frame 88 {
if (_parent.hotspot1.hitTest(_root.player.hotspot)) {
if (_root.player.endlvl == 0) {
if (_root.player.yspeed > 4) {
_parent.gotoAndPlay('pop');
}
}
} else {
gotoAndPlay(2);
}
}
frame 89 {
_root.score('box', 5);
}
instance splash of movieClip 273 {
onClipEvent (enterFrame) {
this._y = _root.depth._y + 10;
this._x += _global.xgo;
}
}
frame 145 {
if (_root.endlvl == 0) {
gotoAndPlay('loop1');
}
}
frame 151 {
if (_root.endlvl == 1) {
gotoAndPlay('loop2');
}
}
}
movieClip 282 {
}
movieClip 286 {
}
movieClip 288 {
}
movieClip 290 {
}
movieClip 291 {
}
movieClip 293 {
frame 1 {
stop();
}
instance of movieClip 291 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y + 6, true)) {
if (_root.player.yspeed > 1) {
_root.player.yspeed = -15;
_parent.play();
}
}
}
}
}
movieClip 295 {
}
movieClip 296 {
}
movieClip 297 {
}
movieClip 299 {
}
button 302 {
on (press) {
getURL('http://coolbuddy.com/?from=nog', '_blank');
}
}
button 306 {
on (press) {
_global.mover = 'credits';
_root.play();
}
}
movieClip 309 {
}
movieClip 310 {
}
button 311 {
on (press) {
_global.mover = 'intro';
_root.play();
}
}
movieClip 312 {
}
button 316 {
on (press) {
_parent.play();
}
}
movieClip 320 {
}
movieClip 322 {
frame 1 {
stop();
}
}
movieClip 323 {
}
movieClip 324 {
}
movieClip 326 {
}
movieClip 327 {
frame 1 {
stop();
}
}
// unknown tag 88 length 296
// unknown tag 88 length 64
movieClip 342 {
}
movieClip 346 {
frame 1 {
stop();
}
frame 30 {
stop();
}
}
movieClip 348 {
}
instance of movieClip 203 {
onClipEvent (press) {
noginfo.play();
}
}
movieClip 350 {
}
movieClip 351 {
}
frame 37 {
stop();
}
button 352 {
on (press) {
noginfo.play();
}
}
frame 45 {
gotoAndPlay(_global.mover);
}
frame 46 {
stop();
}
movieClip 357 {
}
movieClip 361 {
frame 1 {
randy = Math.floor(Math.random() * 84) + 1;
gotoAndPlay(randy);
}
frame 88 {
gotoAndPlay(2);
}
}
movieClip 362 {
}
movieClip 363 {
}
movieClip 364 {
}
button 370 {
on (press) {
_root.play();
}
}
movieClip 371 {
}
movieClip 373 {
}
movieClip 375 {
frame 1 {
stop();
}
}
movieClip 376 {
}
movieClip 377 {
}
movieClip 378 {
frame 1 {
stop();
}
}
movieClip 380 {
}
movieClip 382 {
}
movieClip 383 {
frame 1 {
stop();
}
}
movieClip 385 {
frame 1 {
stop();
}
}
movieClip 387 {
}
movieClip 388 {
frame 1 {
stop();
}
}
movieClip 390 {
}
movieClip 392 {
}
movieClip 402 {
frame 1 {
stop();
}
}
movieClip 403 {
frame 1 {
stop();
}
frame 70 {
stop();
}
}
movieClip 405 {
}
movieClip 407 {
}
movieClip 409 {
}
movieClip 411 {
frame 1 {
stopAllSounds();
}
frame 725 {
sucknog.play();
}
frame 964 {
_root.play();
}
}
frame 47 {
_global.melook = 1;
_global.mover = 'game';
_global.pmode = 1;
_global.savedlevel = 10;
_global.savescore = 0;
_global.savemoney = 0;
_global.retirement = 0;
_root.currmusic = 'track1';
_root.play();
}
frame 47 {
gotoAndPlay(_global.mover);
}
frame 48 {
spotcount1 = _global.savedlevel;
spotcount2 = spotcount1 + 10;
_root.elephantgo = 0;
randy1 = Math.floor(Math.random() * 9) + 1;
randy2 = Math.floor(Math.random() * 9) + 1;
spotcount1e = spotcount1 + randy1;
spotcount2e = spotcount2 + randy2;
_root.tile1.gotoAndStop(spotcount1e);
_root.tile2.gotoAndStop(spotcount2e);
_root.tilefront1.gotoAndStop(spotcount1e);
_root.tilefront2.gotoAndStop(spotcount2e);
player.head.gotoAndStop(_global.melook);
_root.pscore = _global.savescore;
_root.score.text = _root.pscore;
_root.pmoney = _global.savemoney;
trace('money: ' + _root.pmoney);
_root.retirement = _global.retirement;
xspeed = 0;
_root.player.gotoAndPlay('grow');
_root.musicbox.gotoAndPlay(_root.currmusic);
}
movieClip 417 {
frame 1 {
stop();
}
}
movieClip 419 {
frame 1 {
stop();
}
}
movieClip 425 {
}
movieClip 427 {
}
movieClip 429 {
}
movieClip 436 {
}
movieClip 437 {
}
movieClip 441 {
}
movieClip 442 {
frame 1 {
stop();
}
frame 2 {
_root.score('box', 15);
}
frame 22 {
stop();
}
}
movieClip 445 {
}
movieClip 454 {
frame 1 {
stop();
}
instance of movieClip 371 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hotspot)) {
_parent.topcoin = 1;
_root.save1(_parent.leveltosave);
_root.player.xspeed = 0;
_root.player.yspeed = 0;
_parent.gotoAndPlay('pop');
}
if (_global.pmode == 2) {
if (this.hitTest(_root.player2.hotspot)) {
_parent.topcoin = 1;
_global.savedlevel = _parent.leveltosave;
_global.savemoney = _root.pmoney;
_parent.gotoAndPlay('pop');
}
}
}
}
frame 2 {
_root.score('box', 15);
}
frame 47 {
stop();
}
}
movieClip 456 {
}
movieClip 459 {
}
movieClip 463 {
frame 1 {
stop();
}
instance of movieClip 456 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y + 12, true)) {
_parent.play();
}
if (_global.pmode == 2) {
if (this.hitTest(_root.player2._x, _root.player2._y + 12, true)) {
_parent.play();
}
}
}
}
frame 49 {
stop();
}
}
movieClip 465 {
}
movieClip 474 {
frame 1 {
stop();
}
instance of movieClip 371 {
onClipEvent (enterFrame) {
strength = 30 * _root.gravity;
if (this.hitTest(_root.player.hotspot)) {
_root.player._y += 10;
_parent.gotoAndPlay('pop');
}
}
}
instance of movieClip 371 {
onClipEvent (enterFrame) {
strength = 30 * _root.gravity;
if (this.hitTest(_root.player.hotspot)) {
_root.yspeed = -(Math.cos(Math.PI * _parent._rotation / 180) * strength);
_root.xspeed = Math.sin(Math.PI * _parent._rotation / 180) * strength;
_root.player.gotoAndPlay('spring' + _root.player.currmar);
trace('a: ' + _parent._rotation);
_parent.gotoAndPlay('pop');
}
if (_global.pmode == 2) {
if (this.hitTest(_root.player2.hotspot)) {
_root.yspeed2 = -(Math.cos(Math.PI * _parent._rotation / 180) * strength);
_root.xspeed2 = Math.sin(Math.PI * _parent._rotation / 180) * strength;
_root.player2.gotoAndPlay('spring' + _root.player2.currmar);
_parent.gotoAndPlay('pop');
}
}
}
}
}
movieClip 477 {
}
movieClip 479 {
}
movieClip 480 {
frame 1 {
randy = Math.floor(Math.random() * 299) + 1;
gotoAndPlay(randy);
}
frame 305 {
gotoAndPlay(2);
}
}
movieClip 484 {
}
movieClip 492 {
}
movieClip 494 {
}
movieClip 496 {
}
movieClip 498 {
}
movieClip 500 {
}
movieClip 503 {
frame 30 {
gotoAndPlay(1);
}
frame 54 {
stop();
}
}
movieClip 505 {
}
movieClip 506 {
instance of movieClip 505 {
onClipEvent (load) {
mehide = 0;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y + 6, true)) {
if (mehide == 0) {
mehide = 1;
_parent.stop();
_parent.enemy1in.gotoAndPlay('hide');
}
} else {
if (mehide == 1) {
mehide = 0;
_parent.play();
_parent.enemy1in.gotoAndPlay('hello');
}
}
}
}
}
movieClip 515 {
}
movieClip 517 {
}
movieClip 520 {
}
movieClip 522 {
}
movieClip 523 {
}
movieClip 528 {
frame 1 {
stop();
}
instance of movieClip 517 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player._x, _root.player._y, true)) {
_parent.play();
}
}
}
instance of movieClip 523 {
onClipEvent (enterFrame) {
if (_root.water1.hitTest(_parent)) {
} else {
if (_root.player.hitTest(this)) {
if (_root.player.hitcount < 0) {
_root.player.yspeed = 5;
_root.player.hiton = 0;
_root.player.hitcount = 20;
_root.badges.badgesin.gotoAndPlay('plantbite');
_root.badges.gotoAndPlay('go');
_root.player.controlson = 0;
}
}
}
}
}
instance of movieClip 523 {
onClipEvent (enterFrame) {
if (_root.water1.hitTest(_parent)) {
} else {
if (_root.player.hitTest(this)) {
if (_root.player.hitcount < 0) {
_root.player.yspeed = 5;
_root.player.hiton = 0;
_root.player.hitcount = 20;
_root.badges.badgesin.gotoAndPlay('plantbite');
_root.badges.gotoAndPlay('go');
_root.player.controlson = 0;
}
}
}
}
}
}
movieClip 533 {
}
movieClip 535 {
}
movieClip 539 {
}
movieClip 540 {
}
movieClip 542 {
}
movieClip 546 {
}
movieClip 548 {
frame 1 {
stop();
}
}
movieClip 554 {
}
movieClip 556 {
}
movieClip 558 {
}
movieClip 564 {
frame 1 {
stop();
}
}
movieClip 568 {
}
movieClip 569 {
frame 1 {
randy = Math.floor(Math.random() * 84) + 1;
gotoAndPlay(randy);
}
frame 88 {
if (_parent.hotspot1.hitTest(_root.player.hotspot)) {
if (_root.player.endlvl == 0) {
if (_root.player.yspeed > 4) {
_parent.gotoAndPlay('pop');
}
}
} else {
gotoAndPlay(2);
}
}
}
movieClip 574 {
frame 1 {
stop();
}
}
movieClip 576 {
frame 1 {
stop();
}
instance of movieClip 574 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
frame 2 {
_root.score('box', 15);
}
frame 11 {
stop();
}
}
movieClip 577 {
frame 1 {
stop();
}
instance of movieClip 574 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
frame 2 {
_root.score('box', 15);
}
frame 10 {
stop();
}
}
movieClip 581 {
}
movieClip 583 {
frame 1 {
stop();
}
}
movieClip 586 {
}
movieClip 591 {
}
movieClip 598 {
}
movieClip 599 {
}
movieClip 601 {
}
movieClip 605 {
}
movieClip 631 {
frame 1 {
stop();
}
frame 67 {
gotoAndStop('start');
}
frame 107 {
gotoAndStop('start');
}
frame 167 {
_parent._parent.c44.play();
_parent._parent.c43.play();
_root.musicbox.play();
_root.currmusic = 'relax';
stop();
}
frame 173 {
++_global.tubehelp;
}
frame 290 {
_root.die(1, 1);
stop();
}
}
movieClip 633 {
frame 1 {
stop();
}
frame 195 {
tubesucker.gotoAndPlay('anger');
}
frame 390 {
tubesucker.gotoAndPlay('anger');
}
frame 758 {
gotoAndPlay('mad');
}
}
movieClip 634 {
}
movieClip 636 {
}
movieClip 638 {
}
movieClip 644 {
frame 1 {
randy = Math.floor(Math.random() * 84) + 1;
gotoAndPlay(randy);
}
frame 88 {
gotoAndPlay(2);
}
}
movieClip 645 {
}
movieClip 650 {
}
movieClip 658 {
}
movieClip 662 {
frame 1 {
stop();
}
}
movieClip 664 {
}
movieClip 669 {
frame 1 {
randy = Math.floor(Math.random() * 79) + 1;
gotoAndPlay(randy);
}
instance of movieClip 662 {
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.player)) {
this.play();
}
}
}
instance of movieClip 664 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hotspot)) {
if (_root.alive == 1) {
_root.alive = 0;
_root.player.gotoAndPlay('explode');
_root.player.endlvl = 2;
}
}
}
}
instance of movieClip 664 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hotspot)) {
if (_root.alive == 1) {
_root.alive = 0;
_root.player.gotoAndPlay('explode');
_root.player.endlvl = 2;
}
}
}
}
instance of movieClip 664 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hotspot)) {
if (_root.alive == 1) {
_root.alive = 0;
_root.player.gotoAndPlay('explode');
_root.player.endlvl = 2;
}
}
}
}
frame 84 {
gotoAndPlay(2);
}
}
movieClip 673 {
frame 1 {
randy = Math.floor(Math.random() * 79) + 1;
gotoAndPlay(randy);
}
instance of movieClip 662 {
onClipEvent (enterFrame) {
if (_parent.hitTest(_root.player)) {
this.play();
}
}
}
instance of movieClip 664 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hotspot)) {
if (_root.alive == 1) {
_root.alive = 0;
_root.player.gotoAndPlay('explode');
_root.player.endlvl = 2;
}
}
}
}
instance of movieClip 664 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hotspot)) {
if (_root.alive == 1) {
_root.alive = 0;
_root.player.gotoAndPlay('explode');
_root.player.endlvl = 2;
}
}
}
}
instance of movieClip 664 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hotspot)) {
if (_root.alive == 1) {
_root.alive = 0;
_root.player.gotoAndPlay('explode');
_root.player.endlvl = 2;
}
}
}
}
frame 84 {
gotoAndPlay(2);
}
}
movieClip 675 {
}
movieClip 678 {
frame 1 {
stop();
}
instance of movieClip 371 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hotspot)) {
_parent.topcoin = 1;
_root.xspeed = 0;
_root.yspeed = 5;
_parent.play();
}
if (_global.pmode == 2) {
if (this.hitTest(_root.player2.hotspot)) {
_parent.topcoin = 1;
_root.xspeed2 = 0;
_root.yspeed2 = 5;
_parent.play();
}
}
}
}
frame 16 {
stop();
_parent.c43.play();
}
}
movieClip 685 {
}
movieClip 687 {
}
movieClip 690 {
}
movieClip 691 {
frame 1 {
randy = Math.floor(Math.random() * 97) + 1;
gotoAndPlay(randy);
}
frame 99 {
gotoAndPlay(2);
}
}
movieClip 693 {
}
movieClip 695 {
frame 1 {
randy = Math.floor(Math.random() * 99) + 1;
gotoAndPlay(randy);
}
frame 99 {
gotoAndPlay(2);
}
}
movieClip 700 {
}
movieClip 704 {
}
movieClip 705 {
}
movieClip 706 {
}
movieClip 710 {
frame 1 {
stop();
}
}
movieClip 712 {
}
movieClip 714 {
}
movieClip 715 {
}
movieClip 718 {
frame 1 {
stop();
}
instance of movieClip 371 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score('egg', 60);
_parent.play();
}
if (_global.pmode == 2) {
if (_root.player2.hitTest(this)) {
_root.score('egg', 60);
_parent.play();
}
}
}
}
frame 20 {
if (_root.endlvl == 0) {
gotoAndPlay('loop1');
}
}
frame 26 {
if (_root.endlvl == 1) {
gotoAndPlay('loop2');
}
}
}
movieClip 720 {
}
movieClip 728 {
frame 1 {
stop();
}
instance of movieClip 371 {
onClipEvent (enterFrame) {
strength = 70 * _root.gravity;
if (this.hitTest(_root.player.hotspot)) {
_root.yspeed = -(Math.cos(Math.PI * _parent._rotation / 180) * strength);
_root.xspeed = Math.sin(Math.PI * _parent._rotation / 180) * strength;
_root.player.gotoAndPlay('spring' + _root.player.currmar);
trace('a: ' + _parent._rotation);
_parent.gotoAndPlay('pop');
}
if (_global.pmode == 2) {
if (this.hitTest(_root.player2.hotspot)) {
_root.yspeed2 = -(Math.cos(Math.PI * _parent._rotation / 180) * strength);
_root.xspeed2 = Math.sin(Math.PI * _parent._rotation / 180) * strength;
_root.player2.gotoAndPlay('spring' + _root.player2.currmar);
_parent.gotoAndPlay('pop');
}
}
}
}
}
movieClip 731 {
}
movieClip 732 {
}
movieClip 734 {
}
movieClip 735 {
}
movieClip 737 {
}
movieClip 740 {
}
movieClip 742 {
}
movieClip 744 {
}
movieClip 746 {
}
movieClip 750 {
}
movieClip 756 {
}
movieClip 757 {
}
movieClip 759 {
}
movieClip 760 {
}
movieClip 762 {
frame 1 {
randy = Math.floor(Math.random() * 109) + 1;
gotoAndPlay(randy);
}
frame 116 {
gotoAndPlay(2);
}
}
movieClip 764 {
frame 1 {
stop();
}
frame 58 {
stop();
}
}
movieClip 766 {
}
movieClip 768 {
}
movieClip 773 {
frame 1 {
stop();
}
instance hotspot of movieClip 371 {
onClipEvent (load) {
melife = 3;
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hotspot)) {
_root.alive = 0;
_root.player._y = 10000;
_parent.gotoAndPlay('eat');
_parent._parent.head.gotoAndPlay('laugh');
}
}
}
frame 70 {
stop();
}
}
movieClip 775 {
}
movieClip 777 {
}
movieClip 779 {
}
movieClip 780 {
frame 117 {
gotoAndStop('normal');
}
}
movieClip 781 {
frame 1 {
stop();
}
frame 80 {
stop();
}
}
movieClip 785 {
}
movieClip 787 {
}
movieClip 789 {
}
movieClip 794 {
}
movieClip 799 {
frame 1 {
stop();
}
instance of movieClip 371 {
onClipEvent (enterFrame) {
strength = 55 * _root.gravity;
if (this.hitTest(_root.player.hotspot)) {
_root.yspeed = -(Math.cos(Math.PI * _parent._rotation / 180) * strength);
_root.xspeed = Math.sin(Math.PI * _parent._rotation / 180) * strength;
_root.player.gotoAndPlay('spring' + _root.player.currmar);
trace('a: ' + _parent._rotation);
_parent.gotoAndPlay('pop');
}
if (_global.pmode == 2) {
if (this.hitTest(_root.player2.hotspot)) {
_root.yspeed2 = -(Math.cos(Math.PI * _parent._rotation / 180) * strength);
_root.xspeed2 = Math.sin(Math.PI * _parent._rotation / 180) * strength;
_root.player2.gotoAndPlay('spring' + _root.player2.currmar);
_parent.gotoAndPlay('pop');
}
}
}
}
}
movieClip 801 {
frame 1 {
stop();
}
}
movieClip 803 {
}
movieClip 805 {
}
movieClip 807 {
}
movieClip 809 {
frame 1 {
stop();
}
instance of movieClip 371 {
onClipEvent (enterFrame) {
strength = 36 * _root.gravity;
if (this.hitTest(_root.player.hotspot)) {
_root.yspeed = -(Math.cos(Math.PI * _parent._rotation / 180) * strength);
_root.xspeed = Math.sin(Math.PI * _parent._rotation / 180) * strength;
_root.player.gotoAndPlay('spring' + _root.player.currmar);
trace('a: ' + _parent._rotation);
_parent.gotoAndPlay('pop');
}
if (_global.pmode == 2) {
if (this.hitTest(_root.player2.hotspot)) {
_root.yspeed2 = -(Math.cos(Math.PI * _parent._rotation / 180) * strength);
_root.xspeed2 = Math.sin(Math.PI * _parent._rotation / 180) * strength;
_root.player2.gotoAndPlay('spring' + _root.player2.currmar);
_parent.gotoAndPlay('pop');
}
}
}
}
}
movieClip 811 {
}
movieClip 819 {
}
movieClip 822 {
frame 1 {
stop();
}
instance of movieClip 371 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hotspot)) {
_parent.topcoin = 1;
if (alive == 1) {
_root.die(1, 1);
}
_root.player.xspeed = 0;
_root.player.yspeed = 0;
_parent.gotoAndPlay('pop');
}
if (_global.pmode == 2) {
if (this.hitTest(_root.player2.hotspot)) {
_parent.topcoin = 1;
if (alive2 == 1) {
_root.die(1, 2);
}
_parent.gotoAndPlay('pop');
}
}
}
}
instance of movieClip 371 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hotspot)) {
if (_root.alive == 1) {
_parent.topcoin = 1;
_root.die(2, 1);
_root.player.xspeed = 0;
_root.player.yspeed = 0;
_parent.gotoAndPlay('pop');
}
}
if (_global.pmode == 2) {
if (this.hitTest(_root.player2.hotspot)) {
if (_root.alive2 == 1) {
_parent.topcoin = 1;
_root.die(2, 2);
_parent.gotoAndPlay('pop');
}
}
}
}
}
}
movieClip 831 {
}
movieClip 832 {
frame 1 {
randstart = Math.floor(Math.random() * 18) + 1;
gotoAndPlay(randstart);
}
frame 20 {
gotoAndPlay(2);
}
}
movieClip 835 {
frame 1 {
stop();
}
instance of movieClip 371 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score('coin', 10);
_parent.play();
randy = Math.floor(Math.random() * 4) + 1;
_root.sfx1.gotoAndPlay('coin' + randy);
if (_root.pmoney == 0) {
if (_root.moneycounter._currentframe == 1) {
_root.moneycounter.play();
}
}
++_root.pmoney;
_root.moneycounter.moneycounter.money.text = _root.pmoney;
trace(_root.pmoney);
}
if (_global.pmode == 2) {
if (_root.player2.hitTest(this)) {
_root.score('coin', 10);
_parent.play();
randy = Math.floor(Math.random() * 4) + 1;
_root.sfx1.gotoAndPlay('coin' + randy);
if (_root.pmoney == 0) {
_root.moneycounter.play();
}
++_root.pmoney;
_root.moneycounter.moneycounter.money.text = _root.pmoney;
}
}
}
}
frame 17 {
stop();
}
}
movieClip 841 {
frame 1 {
stop();
}
frame 142 {
stop();
}
}
movieClip 847 {
}
movieClip 851 {
}
movieClip 855 {
frame 1 {
stop();
}
instance of movieClip 371 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hotspot)) {
_parent.topcoin = 1;
_root.save1(_parent.leveltosave);
_root.player.xspeed = 0;
_root.player.yspeed = 0;
_parent.gotoAndPlay('pop');
}
if (_global.pmode == 2) {
if (this.hitTest(_root.player2.hotspot)) {
_parent.topcoin = 1;
_global.savedlevel = _parent.leveltosave;
_global.savemoney = _root.pmoney;
_parent.gotoAndPlay('pop');
}
}
}
}
frame 2 {
--_root.pmoney;
_root.moneycounter.moneycounter.money.text = _root.pmoney;
}
frame 5 {
--_root.pmoney;
_root.moneycounter.moneycounter.money.text = _root.pmoney;
}
frame 9 {
--_root.pmoney;
_root.moneycounter.moneycounter.money.text = _root.pmoney;
}
frame 13 {
--_root.pmoney;
_root.moneycounter.moneycounter.money.text = _root.pmoney;
}
frame 17 {
--_root.pmoney;
_root.moneycounter.moneycounter.money.text = _root.pmoney;
}
frame 21 {
--_root.pmoney;
_root.moneycounter.moneycounter.money.text = _root.pmoney;
}
frame 146 {
stop();
_parent.c43.play();
}
}
movieClip 857 {
}
movieClip 861 {
}
movieClip 864 {
frame 1 {
stop();
}
instance of movieClip 371 {
onClipEvent (enterFrame) {
if (_root.yspeed < 0) {
if (_parent.meactive == 1) {
if (this.hitTest(_root.player.hotspot)) {
_parent.topcoin = 1;
if (_root.pmoney > 0) {
--_root.pmoney;
++_root.retirement;
_parent._parent.retire.text = _root.retirement;
_root.moneycounter.moneycounter.money.text = _root.pmoney;
}
_root.xspeed = 0;
_root.yspeed = 0;
_parent.play();
}
if (_global.pmode == 2) {
if (this.hitTest(_root.player2.hotspot)) {
_parent.topcoin = 1;
_root.xspeed2 = 0;
_root.yspeed2 = 5;
_parent.play();
}
}
}
}
}
}
}
movieClip 867 {
instance of movieClip 864 {
onClipEvent (load) {
meactive = 1;
}
}
}
movieClip 870 {
frame 1 {
stop();
}
instance of movieClip 371 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hotspot)) {
_parent.topcoin = 1;
_root.save1(_parent.leveltosave);
_root.player.xspeed = 0;
_root.player.yspeed = 0;
_parent.gotoAndPlay('pop');
}
if (_global.pmode == 2) {
if (this.hitTest(_root.player2.hotspot)) {
_parent.topcoin = 1;
_global.savedlevel = _parent.leveltosave;
_global.savemoney = _root.pmoney;
_parent.gotoAndPlay('pop');
}
}
}
}
frame 2 {
_root.score('box', 15);
}
frame 22 {
stop();
}
}
movieClip 876 {
}
movieClip 879 {
}
movieClip 881 {
}
movieClip 883 {
frame 1 {
stop();
}
frame 74 {
stop();
}
}
movieClip 885 {
frame 1 {
stop();
}
}
movieClip 888 {
}
movieClip 891 {
frame 1 {
stop();
}
frame 10 {
stop();
}
}
movieClip 892 {
frame 2 {
stop();
}
}
movieClip 894 {
}
movieClip 896 {
}
movieClip 897 {
frame 37 {
stop();
}
}
movieClip 899 {
frame 1 {
stop();
}
instance of movieClip 371 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hotspot)) {
_parent.topcoin = 1;
_root.save1(_parent.leveltosave);
_root.player.xspeed = 0;
_root.player.yspeed = 0;
_parent.gotoAndPlay('pop');
}
if (_global.pmode == 2) {
if (this.hitTest(_root.player2.hotspot)) {
_parent.topcoin = 1;
_global.savedlevel = _parent.leveltosave;
_parent.gotoAndPlay('pop');
}
}
}
}
frame 2 {
_root.score('box', 15);
}
frame 123 {
stop();
_parent.peer.play();
_parent.spike1.play();
}
}
movieClip 902 {
}
movieClip 903 {
frame 1 {
stop();
}
instance of movieClip 371 {
onClipEvent (enterFrame) {
if (_root.yspeed < 0) {
if (_parent.meactive == 1) {
if (this.hitTest(_root.player.hotspot)) {
_parent.topcoin = 1;
_root.save1(_parent.leveltosave);
_parent._parent.sw1.meactive = 0;
_parent._parent.sw2.meactive = 0;
_parent._parent.face1.gotoAndPlay(_parent.goto1);
_root.xspeed = 0;
_root.yspeed = 5;
_parent.play();
}
if (_global.pmode == 2) {
if (this.hitTest(_root.player2.hotspot)) {
_parent.topcoin = 1;
_root.xspeed2 = 0;
_root.yspeed2 = 5;
_parent.play();
}
}
}
}
}
}
frame 15 {
stop();
}
}
movieClip 910 {
}
movieClip 911 {
frame 1 {
stop();
}
frame 68 {
stop();
}
frame 127 {
stop();
}
}
movieClip 913 {
instance of movieClip 903 {
onClipEvent (load) {
meactive = 0;
leveltosave = 150;
}
}
}
movieClip 914 {
frame 1 {
stop();
}
instance of movieClip 371 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hotspot)) {
_parent.gotoAndPlay('pop');
}
if (_global.pmode == 2) {
if (this.hitTest(_root.player2.hotspot)) {
_parent.gotoAndPlay('pop');
}
}
}
}
frame 13 {
stop();
}
}
movieClip 920 {
}
movieClip 921 {
frame 1 {
if (_parent.stock1 > 0) {
_parent.stock1 = Math.round(_parent.stock1 * 2);
_parent.stock.text = _parent.stock1;
if (_parent.stock1 > 10) {
_parent.gotoAndStop('crash');
}
}
}
frame 60 {
if (_parent.stock1 > 0) {
_parent.stock1 = Math.round(_parent.stock1 * 2);
_parent.stock.text = _parent.stock1;
if (_parent.stock1 > 8) {
_parent.gotoAndStop('crash');
}
}
}
}
movieClip 923 {
frame 1 {
stop();
}
instance of movieClip 371 {
onClipEvent (enterFrame) {
if (_root.yspeed < 0) {
if (_parent.meactive == 1) {
if (this.hitTest(_root.player.hotspot)) {
_parent.topcoin = 1;
if (_root.pmoney > 0) {
--_root.pmoney;
++_parent._parent.stock1;
_parent._parent.stock.text = _parent._parent.stock1;
_root.moneycounter.moneycounter.money.text = _root.pmoney;
}
_root.xspeed = 0;
_root.yspeed = 5;
_parent.play();
}
if (_global.pmode == 2) {
if (this.hitTest(_root.player2.hotspot)) {
_parent.topcoin = 1;
_root.xspeed2 = 0;
_root.yspeed2 = 5;
_parent.play();
}
}
}
}
}
}
}
movieClip 925 {
frame 1 {
stop();
}
instance of movieClip 371 {
onClipEvent (enterFrame) {
if (_root.yspeed < 0) {
if (_parent.meactive == 1) {
if (this.hitTest(_root.player.hotspot)) {
_parent.topcoin = 1;
if (_parent._parent.stock1 > 0) {
++_root.pmoney;
--_parent._parent.stock1;
_parent._parent.stock.text = _parent._parent.stock1;
_root.moneycounter.moneycounter.money.text = _root.pmoney;
}
_root.xspeed = 0;
_root.yspeed = 5;
_parent.play();
}
if (_global.pmode == 2) {
if (this.hitTest(_root.player2.hotspot)) {
_parent.topcoin = 1;
_root.xspeed2 = 0;
_root.yspeed2 = 5;
_parent.play();
}
}
}
}
}
}
}
movieClip 932 {
}
movieClip 934 {
}
movieClip 935 {
}
movieClip 936 {
frame 1 {
if (_parent.stock1 > 0) {
--_parent.stock1;
_parent.stock.text = _parent.stock1;
if (_parent.stock1 > 8) {
_parent.gotoAndStop('crash');
}
}
}
frame 30 {
if (_parent.stock1 > 0) {
--_parent.stock1;
_parent.stock.text = _parent.stock1;
if (_parent.stock1 > 8) {
_parent.gotoAndStop('crash');
}
}
}
frame 60 {
if (_parent.stock1 > 0) {
--_parent.stock1;
_parent.stock.text = _parent.stock1;
if (_parent.stock1 > 8) {
_parent.gotoAndStop('crash');
}
}
}
}
movieClip 937 {
frame 1 {
stop();
}
instance of movieClip 923 {
onClipEvent (load) {
meactive = 1;
goto1 = 'red';
leveltosave = 190;
}
}
instance of movieClip 925 {
onClipEvent (load) {
meactive = 1;
goto1 = 'blue';
leveltosave = 190;
}
}
}
movieClip 939 {
}
movieClip 941 {
frame 1 {
stop();
}
instance of movieClip 371 {
onClipEvent (enterFrame) {
if (_root.yspeed > 0) {
if (_parent.meactive == 1) {
if (this.hitTest(_root.player.hotspot)) {
if (_root.pmoney > 0) {
--_root.pmoney;
_root.moneycounter.moneycounter.money.text = _root.pmoney;
}
_parent._parent.fallguy1.play();
_root.xspeed = 0;
_root.yspeed = -8;
_parent.play();
}
if (_global.pmode == 2) {
if (this.hitTest(_root.player2.hotspot)) {
_parent.topcoin = 1;
_root.xspeed2 = 0;
_root.yspeed2 = 5;
_parent.play();
}
}
}
}
}
}
}
movieClip 944 {
}
movieClip 948 {
}
movieClip 950 {
}
movieClip 952 {
frame 1 {
stop();
}
frame 162 {
stop();
}
frame 169 {
stop();
}
frame 210 {
stop();
}
frame 223 {
stop();
}
frame 233 {
stop();
}
frame 290 {
stop();
}
}
movieClip 955 {
}
movieClip 956 {
}
movieClip 959 {
frame 1 {
stop();
}
instance of movieClip 371 {
onClipEvent (enterFrame) {
if (_root.yspeed < 0) {
if (_parent.meactive == 1) {
if (this.hitTest(_root.player.hotspot)) {
_parent.meactive = 0;
_root.save1(_parent.leveltosave);
_root.xspeed = 0;
_root.yspeed = 5;
_parent._parent.fatchick.play();
_parent.play();
}
if (_global.pmode == 2) {
if (this.hitTest(_root.player2.hotspot)) {
_root.xspeed2 = 0;
_root.yspeed2 = 5;
_parent.play();
}
}
}
}
}
}
frame 15 {
stop();
}
}
movieClip 968 {
}
movieClip 971 {
frame 1 {
stop();
}
frame 56 {
stop();
}
instance of movieClip 371 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hotspot)) {
_parent.topcoin = 1;
_parent.play();
}
if (_global.pmode == 2) {
if (this.hitTest(_root.player2.hotspot)) {
_parent.topcoin = 1;
_root.xspeed2 = 0;
_root.yspeed2 = 5;
_parent.play();
}
}
}
}
frame 168 {
stop();
}
}
movieClip 972 {
frame 1 {
stop();
}
instance of movieClip 371 {
onClipEvent (enterFrame) {
if (_root.yspeed < 0) {
if (_parent.meactive == 1) {
if (this.hitTest(_root.player.hotspot)) {
_parent.meactive = 0;
_parent._parent.c43.play();
_root.player.face1.hat.gotoAndPlay('must');
_root.player.face1._rotation = 0;
_root.player.gotoAndPlay('flashbig');
_root.save1(_parent.leveltosave);
_root.xspeed = 0;
_root.yspeed = 5;
_parent._parent.fatchick.play();
_parent.play();
}
if (_global.pmode == 2) {
if (this.hitTest(_root.player2.hotspot)) {
_root.xspeed2 = 0;
_root.yspeed2 = 5;
_parent.play();
}
}
}
}
}
}
frame 15 {
stop();
}
}
movieClip 976 {
frame 1 {
stop();
}
instance of movieClip 371 {
onClipEvent (enterFrame) {
if (_root.yspeed < 0) {
if (_parent.meactive == 1) {
if (this.hitTest(_root.player.hotspot)) {
if (_root.pmoney > 11) {
_root.save1(_parent.leveltosave);
_parent.meactive = 0;
_root.pmoney -= 12;
_parent._parent.house1.play();
_root.moneycounter.moneycounter.money.text = _root.pmoney;
}
_root.xspeed = 0;
_root.yspeed = 5;
_parent._parent.fatchick.play();
_parent.play();
}
if (_global.pmode == 2) {
if (this.hitTest(_root.player2.hotspot)) {
_root.xspeed2 = 0;
_root.yspeed2 = 5;
_parent.play();
}
}
}
}
}
}
}
movieClip 989 {
}
movieClip 991 {
frame 1 {
stop();
}
frame 68 {
stop();
}
}
movieClip 993 {
}
movieClip 995 {
}
movieClip 997 {
frame 14 {
stop();
}
}
movieClip 999 {
}
movieClip 1000 {
frame 14 {
stop();
}
}
movieClip 1001 {
frame 1 {
stop();
}
instance of movieClip 371 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hotspot)) {
_parent.gotoAndPlay('pop');
}
if (_global.pmode == 2) {
if (this.hitTest(_root.player2.hotspot)) {
_parent.gotoAndPlay('pop');
}
}
}
}
frame 186 {
stop();
}
}
movieClip 1004 {
}
movieClip 1005 {
}
movieClip 1008 {
frame 1 {
stop();
}
instance of movieClip 371 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hotspot)) {
_parent.gotoAndPlay('pop');
}
if (_global.pmode == 2) {
if (this.hitTest(_root.player2.hotspot)) {
_parent.gotoAndPlay('pop');
}
}
}
}
frame 218 {
stop();
}
}
movieClip 1011 {
frame 1 {
stop();
}
}
movieClip 1015 {
}
movieClip 1017 {
frame 1 {
stop();
}
instance of movieClip 371 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hotspot)) {
_parent.topcoin = 1;
_parent.gotoAndPlay('pop');
}
if (_global.pmode == 2) {
if (this.hitTest(_root.player2.hotspot)) {
_parent.topcoin = 1;
_parent.gotoAndPlay('pop');
}
}
}
}
frame 2 {
_root.score('box', 15);
}
frame 2 {
_root.xspeed = 0;
_root.yspeed = 0;
}
frame 22 {
stop();
}
}
movieClip 1019 {
frame 1 {
stop();
}
instance of movieClip 371 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hotspot)) {
_parent.topcoin = 1;
_parent.gotoAndPlay('pop');
}
if (_global.pmode == 2) {
if (this.hitTest(_root.player2.hotspot)) {
_parent.topcoin = 1;
_parent.gotoAndPlay('pop');
}
}
}
}
frame 20 {
meactive = 1;
stop();
}
}
movieClip 1021 {
frame 1 {
stop();
}
}
movieClip 1030 {
}
movieClip 1033 {
}
movieClip 1035 {
}
movieClip 1038 {
}
movieClip 1043 {
frame 1 {
randstart = Math.floor(Math.random() * 18) + 1;
gotoAndPlay(randstart);
}
frame 40 {
gotoAndPlay(2);
}
}
movieClip 1046 {
frame 1 {
stop();
}
instance of movieClip 371 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score('coin', 20);
_parent.play();
randy = Math.floor(Math.random() * 4) + 1;
_root.sfx1.gotoAndPlay('coin' + randy);
}
if (_global.pmode == 2) {
if (_root.player2.hitTest(this)) {
_root.score('coin', 10);
_parent.play();
randy = Math.floor(Math.random() * 4) + 1;
_root.sfx1.gotoAndPlay('coin' + randy);
if (_root.pmoney == 0) {
_root.moneycounter.play();
}
++_root.pmoney;
_root.moneycounter.moneycounter.money.text = _root.pmoney;
}
}
}
}
frame 17 {
stop();
}
}
movieClip 1049 {
}
movieClip 1050 {
}
movieClip 1051 {
}
movieClip 1054 {
frame 1 {
stop();
}
instance of movieClip 371 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score('coin', 60);
_parent.play();
randy = Math.floor(Math.random() * 4) + 1;
_root.sfx1.gotoAndPlay('coin' + randy);
}
if (_global.pmode == 2) {
if (_root.player2.hitTest(this)) {
_root.score('coin', 10);
_parent.play();
randy = Math.floor(Math.random() * 4) + 1;
_root.sfx1.gotoAndPlay('coin' + randy);
if (_root.pmoney == 0) {
_root.moneycounter.play();
}
++_root.pmoney;
_root.moneycounter.moneycounter.money.text = _root.pmoney;
}
}
}
}
frame 17 {
stop();
}
}
movieClip 1061 {
frame 1 {
stop();
}
frame 8 {
gotoAndStop(1);
}
}
movieClip 1063 {
}
movieClip 1065 {
}
movieClip 1068 {
frame 1 {
stop();
}
instance of movieClip 371 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hotspot)) {
_parent.gotoAndPlay('pop');
}
if (_global.pmode == 2) {
if (this.hitTest(_root.player2.hotspot)) {
_parent.gotoAndPlay('pop');
}
}
}
}
frame 48 {
_root.ball._x = -1231231;
_root.ball._y = -1231231;
_root.ball.freemove = 2;
ball2.gotoAndStop(_global.ballnum);
}
frame 106 {
stop();
}
}
movieClip 1069 {
instance of movieClip 371 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hotspot)) {
_parent.getold = 1;
_root.player.backcolor.gotoAndPlay(2);
_parent.gotoAndPlay('pop');
}
if (_global.pmode == 2) {
if (this.hitTest(_root.player2.hotspot)) {
_parent.gotoAndPlay('pop');
}
}
}
}
}
movieClip 1071 {
frame 1 {
stop();
}
}
movieClip 1073 {
}
movieClip 1075 {
frame 1 {
stop();
}
}
movieClip 1077 {
frame 1 {
stop();
}
instance of movieClip 371 {
onClipEvent (enterFrame) {
if (_root.yspeed < 0) {
if (_parent.meactive == 1) {
if (this.hitTest(_root.player.hotspot)) {
_root.maxxspeed = 4;
_root.jumppower = -10;
_root.yspeed = 0;
_root.player.gotoAndStop('chair');
_parent.play();
}
if (_global.pmode == 2) {
if (this.hitTest(_root.player2.hotspot)) {
_root.xspeed2 = 0;
_root.yspeed2 = 5;
_parent.play();
}
}
}
}
}
}
}
movieClip 1080 {
}
movieClip 1082 {
}
movieClip 1083 {
frame 1 {
randstart = Math.floor(Math.random() * 18) + 1;
gotoAndPlay(randstart);
}
frame 40 {
gotoAndPlay(2);
}
}
movieClip 1086 {
frame 1 {
stop();
}
instance of movieClip 371 {
onClipEvent (enterFrame) {
if (_root.player.hitTest(this)) {
_root.score('coin', 20);
_parent.play();
randy = Math.floor(Math.random() * 4) + 1;
_root.sfx1.gotoAndPlay('coin' + randy);
}
if (_global.pmode == 2) {
if (_root.player2.hitTest(this)) {
_root.score('coin', 10);
_parent.play();
randy = Math.floor(Math.random() * 4) + 1;
_root.sfx1.gotoAndPlay('coin' + randy);
if (_root.pmoney == 0) {
_root.moneycounter.play();
}
++_root.pmoney;
_root.moneycounter.moneycounter.money.text = _root.pmoney;
}
}
}
}
frame 17 {
stop();
}
}
movieClip 1105 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 1106 {
frame 1 {
stop();
}
instance of movieClip 454 {
onClipEvent (load) {
leveltosave = 230;
save();
}
}
instance c38 of movieClip 540 {
onClipEvent (load) {
directionstate = 2;
flipflop = 0;
moveamount = 5;
}
onClipEvent (enterFrame) {
tick1 = 0.1;
if (directionstate == 1) {
if (flipflop == 0) {
moveamount += tick1;
if (moveamount > 5) {
flipflop = 1;
}
}
if (flipflop == 1) {
moveamount -= tick1;
if (moveamount <= 0) {
flipflop = 0;
directionstate = 2;
}
}
}
if (directionstate == 2) {
if (flipflop == 0) {
moveamount -= tick1;
if (moveamount < -5) {
flipflop = 1;
}
}
if (flipflop == 1) {
moveamount += tick1;
if (moveamount >= 0) {
flipflop = 0;
directionstate = 1;
}
}
}
this._x += moveamount;
_parent.follower1._x = this._x;
if (this.hitTest(_root.player._x, _root.player._y + 10, true)) {
_root.player._x += moveamount;
}
if (_global.pmode == 2) {
if (this.hitTest(_root.player2._x, _root.player2._y + 10, true)) {
_root.player2._x += moveamount;
}
}
}
}
instance of movieClip 454 {
onClipEvent (load) {
leveltosave = 60;
save();
}
}
instance of movieClip 454 {
onClipEvent (load) {
leveltosave = 90;
save();
}
}
instance of movieClip 454 {
onClipEvent (load) {
leveltosave = 120;
save();
}
}
instance of movieClip 569 {
onClipEvent (enterFrame) {
if (this.hotspot.hitTest(_root.player.hotspot)) {
if (_root.yspeed > 3) {
_root.yspeed = -4;
_parent.blobber.play();
this.gotoAndPlay('pop');
}
}
}
}
instance of movieClip 371 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hotspot)) {
_root.ani.gotoAndStop('birdpass');
}
if (_global.pmode == 2) {
if (this.hitTest(_root.player2.hotspot)) {
_parent.topcoin = 1;
_parent.gotoAndPlay('pop');
}
}
}
}
instance of movieClip 569 {
onClipEvent (enterFrame) {
if (this.hotspot.hitTest(_root.player.hotspot)) {
if (_root.yspeed > 3) {
_root.yspeed = -4;
_parent.blobber.play();
this.gotoAndPlay('pop');
}
}
}
}
instance of movieClip 583 {
onClipEvent (enterFrame) {
if (_parent._x < -150) {
if (this.hitTest(_root.player.hotspot)) {
_root.sidescroll = 0;
_root.musicbox.gotoAndPlay('scary');
_parent.boss1.play();
this.gotoAndStop(2);
}
}
}
}
instance boss1 of movieClip 633 {
onClipEvent (load) {
melife = 3;
}
onClipEvent (enterFrame) {
if (this.tubesucker.hotspot.hitTest(_root.player.hotspot)) {
_root.alive = 0;
_root.player._y = 10000;
this.stop();
this.tubesucker.gotoAndPlay('eat');
}
if (this.tubesucker.hotspot2.hitTest(_parent.blobber.fireball)) {
trace('hurt');
--melife;
if (melife > 0) {
this.tubesucker.gotoAndPlay('hurt');
}
if (melife == 0) {
_root.musicbox.play();
this.tubesucker.gotoAndPlay('run');
this.stop();
stopAllSounds();
}
}
}
}
instance of movieClip 454 {
onClipEvent (load) {
leveltosave = 150;
save();
}
}
instance of movieClip 678 {
onClipEvent (load) {
}
}
instance of movieClip 454 {
onClipEvent (load) {
leveltosave = 200;
save();
}
}
instance eye1 of movieClip 710 {
onClipEvent (enterFrame) {
mex = this._x + _parent._x;
mey = this._y + _parent._y;
myRadians = Math.atan2(_root.player._y - mey, _root.player._x - mex);
myDegrees = Math.round(myRadians * 180 / Math.PI);
this.eyein.eyeinin._rotation = myDegrees;
eyespot = (_root.player._x - mex) / 8;
if (eyespot > 25) {
eyespot = 25;
}
if (eyespot < -25) {
eyespot = -25;
}
eyespot = Math.round(eyespot);
this.gotoAndStop(25 + eyespot);
}
}
instance of movieClip 454 {
onClipEvent (load) {
leveltosave = 260;
save();
}
}
instance eye1 of movieClip 710 {
onClipEvent (enterFrame) {
mex = this._x + _parent._x;
mey = this._y + _parent._y;
myRadians = Math.atan2(_root.player._y - mey, _root.player._x - mex);
myDegrees = Math.round(myRadians * 180 / Math.PI);
this.eyein.eyeinin._rotation = myDegrees;
eyespot = (_root.player._x - mex) / 8;
if (eyespot > 25) {
eyespot = 25;
}
if (eyespot < -25) {
eyespot = -25;
}
eyespot = Math.round(eyespot);
this.gotoAndStop(25 + eyespot);
}
}
instance eye1 of movieClip 710 {
onClipEvent (enterFrame) {
mex = this._x + _parent._x;
mey = this._y + _parent._y;
myRadians = Math.atan2(_root.player._y - mey, _root.player._x - mex);
myDegrees = Math.round(myRadians * 180 / Math.PI);
this.eyein.eyeinin._rotation = myDegrees;
eyespot = (_root.player._x - mex) / 8;
if (eyespot > 25) {
eyespot = 25;
}
if (eyespot < -25) {
eyespot = -25;
}
eyespot = Math.round(eyespot);
this.gotoAndStop(25 + eyespot);
}
}
instance eye1 of movieClip 710 {
onClipEvent (enterFrame) {
mex = this._x + _parent._x;
mey = this._y + _parent._y;
myRadians = Math.atan2(_root.player._y - mey, _root.player._x - mex);
myDegrees = Math.round(myRadians * 180 / Math.PI);
this.eyein.eyeinin._rotation = myDegrees;
eyespot = (_root.player._x - mex) / 8;
if (eyespot > 25) {
eyespot = 25;
}
if (eyespot < -25) {
eyespot = -25;
}
eyespot = Math.round(eyespot);
this.gotoAndStop(25 + eyespot);
}
}
instance eye1 of movieClip 710 {
onClipEvent (enterFrame) {
mex = this._x + _parent._x;
mey = this._y + _parent._y;
myRadians = Math.atan2(_root.player._y - mey, _root.player._x - mex);
myDegrees = Math.round(myRadians * 180 / Math.PI);
this.eyein.eyeinin._rotation = myDegrees;
eyespot = (_root.player._x - mex) / 8;
if (eyespot > 25) {
eyespot = 25;
}
if (eyespot < -25) {
eyespot = -25;
}
eyespot = Math.round(eyespot);
this.gotoAndStop(25 + eyespot);
}
}
instance of movieClip 735 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player1._x, _root.player1._y + 15, true)) {
if (_global.health > 0) {
_root.hurt1.play();
_global.health -= 1;
}
trace(_global.health);
}
}
}
instance eye1 of movieClip 710 {
onClipEvent (enterFrame) {
mex = this._x + _parent._x;
mey = this._y + _parent._y;
myRadians = Math.atan2(_root.player._y - mey, _root.player._x - mex);
myDegrees = Math.round(myRadians * 180 / Math.PI);
this.eyein.eyeinin._rotation = myDegrees;
eyespot = (_root.player._x - mex) / 8;
if (eyespot > 25) {
eyespot = 25;
}
if (eyespot < -25) {
eyespot = -25;
}
eyespot = Math.round(eyespot);
this.gotoAndStop(25 + eyespot);
}
}
instance of movieClip 454 {
onClipEvent (load) {
leveltosave = 320;
save();
}
}
instance of movieClip 583 {
onClipEvent (enterFrame) {
if (_parent._x < -150) {
if (this.hitTest(_root.player.hotspot)) {
_root.sidescroll = 0;
_root.musicbox.gotoAndPlay('scary');
_parent.boss1.play();
this.gotoAndStop(2);
}
}
}
}
instance of movieClip 735 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player1._x, _root.player1._y + 15, true)) {
if (_global.health > 0) {
_root.hurt1.play();
_global.health -= 1;
}
trace(_global.health);
}
}
}
instance of movieClip 801 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 454 {
onClipEvent (load) {
leveltosave = 40;
save();
}
}
instance of movieClip 37 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 37 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 37 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 37 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 454 {
onClipEvent (load) {
leveltosave = 20;
}
}
instance of movieClip 801 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 37 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 801 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 678 {
onClipEvent (load) {
leveltosave = 70;
}
}
instance of movieClip 37 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 37 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 855 {
onClipEvent (load) {
leveltosave = 100;
}
}
instance of movieClip 37 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 801 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 867 {
onClipEvent (load) {
retire.text = _root.retirement;
}
}
instance of movieClip 870 {
onClipEvent (load) {
leveltosave = 120;
}
}
instance of movieClip 37 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 899 {
onClipEvent (load) {
leveltosave = 140;
}
}
instance of movieClip 37 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 870 {
onClipEvent (load) {
leveltosave = 150;
}
}
instance of movieClip 801 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance sw1 of movieClip 903 {
onClipEvent (load) {
meactive = 1;
goto1 = 'red';
leveltosave = 160;
}
}
instance sw2 of movieClip 903 {
onClipEvent (load) {
meactive = 1;
goto1 = 'blue';
leveltosave = 160;
}
}
instance of movieClip 37 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance c38 of movieClip 540 {
onClipEvent (load) {
directionstate = 2;
flipflop = 0;
moveamount = 5;
}
onClipEvent (enterFrame) {
tick1 = 0.1;
if (directionstate == 1) {
if (flipflop == 0) {
moveamount += tick1;
if (moveamount > 5) {
flipflop = 1;
}
}
if (flipflop == 1) {
moveamount -= tick1;
if (moveamount <= 0) {
flipflop = 0;
directionstate = 2;
}
}
}
if (directionstate == 2) {
if (flipflop == 0) {
moveamount -= tick1;
if (moveamount < -5) {
flipflop = 1;
}
}
if (flipflop == 1) {
moveamount += tick1;
if (moveamount >= 0) {
flipflop = 0;
directionstate = 1;
}
}
}
this._x += moveamount;
if (this.hitTest(_root.player._x, _root.player._y + 10, true)) {
_root.player._x += moveamount;
}
if (_global.pmode == 2) {
if (this.hitTest(_root.player2._x, _root.player2._y + 10, true)) {
_root.player2._x += moveamount;
}
}
}
}
instance of movieClip 867 {
onClipEvent (load) {
retire.text = _root.retirement;
}
}
instance of movieClip 37 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 937 {
onClipEvent (load) {
stock1 = 0;
}
}
instance of movieClip 941 {
onClipEvent (load) {
meactive = 1;
goto1 = 'red';
leveltosave = 160;
}
}
instance sw1 of movieClip 959 {
onClipEvent (load) {
meactive = 1;
goto1 = 'red';
leveltosave = 220;
}
}
instance sw2 of movieClip 959 {
onClipEvent (load) {
meactive = 1;
goto1 = 'blue';
leveltosave = 220;
}
}
instance sw1 of movieClip 972 {
onClipEvent (load) {
meactive = 1;
goto1 = 'red';
leveltosave = 240;
}
}
instance of movieClip 867 {
onClipEvent (load) {
retire.text = _root.retirement;
}
}
instance of movieClip 801 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 801 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 801 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance sw1 of movieClip 976 {
onClipEvent (load) {
meactive = 1;
goto1 = 'red';
leveltosave = 270;
}
}
instance of movieClip 867 {
onClipEvent (load) {
retire.text = _root.retirement;
}
}
instance of movieClip 37 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 801 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 937 {
onClipEvent (load) {
stock1 = 0;
this.gotoAndStop('crash');
}
}
instance of movieClip 37 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 801 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance c2back of movieClip 1011 {
}
instance of movieClip 1017 {
onClipEvent (load) {
leveltosave = 40;
save();
}
}
instance of movieClip 1019 {
onClipEvent (load) {
retire.text = _root.retirement;
meactive = 0;
count = 0;
}
onClipEvent (enterFrame) {
if (meactive == 1) {
++count;
if (count > 60 - _root.retirement) {
if (_root.retirement > 0) {
_root.retirement -= 1;
this.retire.text = _root.retirement;
_parent.c2._y += 2.5;
_parent.c2back._y += 2.5;
_parent.c2back.play();
}
}
}
}
}
instance of movieClip 37 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 1021 {
}
instance of movieClip 1021 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 1021 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 801 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 801 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 1021 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 37 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 1069 {
onClipEvent (load) {
getold = 0;
}
onClipEvent (enterFrame) {
if (getold == 1) {
if (_root.maxxspeed > 4) {
_root.maxxspeed -= 0.02;
}
if (_root.jumppower < -8) {
_root.jumppower += 0.01;
}
}
}
}
instance of movieClip 801 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 1071 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 1071 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 1021 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 1021 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 1021 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 1021 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 1021 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 1075 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 1021 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 1071 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 1071 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 1021 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 1075 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 1075 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance of movieClip 1075 {
onClipEvent (load) {
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.ball.hotspot)) {
if (_root.ball.ballactive == 1) {
_root.ball.ballactive = 0;
this.play();
_root.next1.play();
_root.next1.next1in.gotoAndStop('restartlevel');
}
}
}
}
instance sw1 of movieClip 1077 {
onClipEvent (load) {
meactive = 1;
goto1 = 'red';
leveltosave = 360;
}
}
instance of movieClip 371 {
onClipEvent (enterFrame) {
if (this.hitTest(_root.player.hotspot)) {
_global.mover = 'credits';
_root.play();
_root.gotoAndPlay('credits');
}
if (_global.pmode == 2) {
if (this.hitTest(_root.player2.hotspot)) {
_parent.gotoAndPlay('pop');
}
}
}
}
}
movieClip 1110 {
}
movieClip 1111 {
frame 36 {
stop();
}
}
movieClip 1120 {
frame 21 {
stop();
}
}
movieClip 1124 {
frame 1 {
}
frame 13 {
stop();
}
}
movieClip 1126 {
frame 1 {
stop();
}
frame 41 {
gotoAndStop(1);
}
frame 57 {
stop();
}
frame 71 {
gotoAndStop(1);
}
frame 101 {
gotoAndStop(1);
}
frame 178 {
_y = 1000;
stop();
}
frame 247 {
_root.alive = 0;
}
frame 321 {
_root.die(1, 1);
}
frame 329 {
++_global.lvldeaths;
_root.player.endlvl = 1;
_root.player.gotoAndStop('gone');
this._y = 2000;
_root.fader1.gotoAndPlay('inout');
_global.lvlitems = 0;
_global.ph = 500;
}
}
movieClip 1127 {
}
movieClip 1132 {
frame 1 {
stop();
}
frame 28 {
stop();
}
}
instance splash4 of movieClip 1132 {
onClipEvent (enterFrame) {
this._y = _root.depth._y + 10;
this._x += _global.xgo;
}
}
movieClip 1135 {
frame 8 {
stop();
}
}
movieClip 1138 {
}
movieClip 1139 {
frame 1 {
stop();
}
frame 2 {
_root.moneycounter.moneycounter.money.text = _root.pmoney;
}
frame 30 {
stop();
}
}
button 1141 {
on (press) {
_root.save1(60);
_root.die(2, 1);
}
}
button 1142 {
on (press) {
_root.save1(80);
_root.die(2, 1);
}
}
button 1143 {
on (press) {
_root.save1(100);
_root.die(2, 1);
}
}
button 1144 {
on (press) {
_root.save1(120);
_root.die(2, 1);
}
}
button 1145 {
on (press) {
_root.save1(140);
_root.die(2, 1);
}
}
button 1146 {
on (press) {
_root.save1(160);
_root.die(2, 1);
}
}
button 1147 {
on (press) {
_root.save1(180);
_root.die(2, 1);
}
}
button 1148 {
on (press) {
_root.save1(200);
_root.die(2, 1);
}
}
button 1149 {
on (press) {
_root.save1(220);
_root.die(2, 1);
}
}
button 1150 {
on (press) {
_root.save1(230);
_root.die(2, 1);
}
}
button 1151 {
on (press) {
_root.retirement = 10;
_root.save1(280);
_root.die(2, 1);
}
}
button 1152 {
on (press) {
_root.save1(290);
_root.die(2, 1);
}
}
button 1153 {
on (press) {
_root.save1(420);
_root.die(2, 1);
}
}
movieClip 1157 {
}
movieClip 1159 {
}
movieClip 1161 {
}
movieClip 1162 {
frame 1 {
stop();
}
}
movieClip 1164 {
}
movieClip 1165 {
frame 1 {
stop();
}
}
// unknown tag 88 length 56
movieClip 1172 {
frame 1 {
stop();
}
frame 16 {
gotoAndStop(1);
}
frame 25 {
gotoAndStop(1);
}
frame 34 {
gotoAndStop(1);
}
frame 43 {
gotoAndStop(1);
}
frame 52 {
gotoAndStop(1);
}
frame 61 {
gotoAndStop(1);
}
frame 84 {
gotoAndStop(1);
}
frame 97 {
gotoAndStop(1);
}
frame 106 {
gotoAndStop(1);
}
frame 115 {
gotoAndStop(1);
}
frame 134 {
gotoAndStop(1);
}
frame 143 {
gotoAndStop(1);
}
frame 152 {
gotoAndStop(1);
}
frame 160 {
gotoAndStop(1);
}
}
button 1176 {
on (press) {
_global.mover = 'game';
_root.play();
}
}
button 1179 {
on (press) {
_global.mover = 'menu';
_root.play();
}
}
button 1184 {
on (press) {
_global.mover = 'game';
_global.pmode = 1;
_global.savedlevel = 10;
_global.savedlevel = 10;
_global.savescore = 0;
_global.savemoney = 0;
_global.retirement = 0;
_root.currmusic = 'music1';
_root.play();
}
}
movieClip 1185 {
frame 1 {
textcoin.text = _root.colcoin;
textbox.text = _root.colbox;
textheart.text = _root.colheart;
textnog.text = _root.colnog;
textegg.text = _root.colegg;
textpop.text = _root.colpop;
textbub.text = _root.colbub;
totalscore.text = _root.pscore;
}
}
movieClip 1186 {
frame 1 {
stop();
}
frame 2 {
_root.musicbox.gotoAndPlay('endmusic');
}
frame 77 {
_root.musicbox.gotoAndPlay('track2');
}
frame 181 {
stop();
}
}
movieClip 1189 {
frame 61 {
stop();
}
}
movieClip 1190 {
frame 1 {
stop();
}
}
movieClip 1201 {
frame 1 {
stop();
}
frame 2 {
stopAllSounds();
}
frame 9 {
stop();
}
frame 10 {
stopAllSounds();
}
frame 17 {
stop();
}
frame 18 {
stopAllSounds();
}
frame 35 {
stopAllSounds();
}
frame 54 {
stop();
}
frame 56 {
stop();
_root.sidescroll = 0;
constscroll = 0;
}
frame 57 {
stopAllSounds();
}
frame 81 {
_root.sidescroll = 1;
}
frame 83 {
stop();
}
frame 131 {
stop();
}
}
movieClip 1205 {
}
movieClip 1212 {
frame 1 {
stop();
}
frame 24 {
_root.canpause = 1;
}
frame 88 {
stop();
}
frame 118 {
_root.canpause = 1;
}
}
button 1215 {
on (press) {
fx12 = new Sound(zoop);
fx12.attachSound('sfxswitch1');
fx12.stop('sfxswitch1');
fx12.start(0, 1);
play();
}
}
movieClip 1218 {
frame 1 {
_quality = 'high';
stop();
}
frame 2 {
_quality = 'low';
stop();
}
frame 3 {
_quality = 'medium';
stop();
}
}
button 1221 {
on (press) {
_root.showmenu.play();
}
}
button 1223 {
on (press) {
_global.mover = 'menu';
_root.play();
}
}
button 1225 {
on (press) {
getURL('http://coolbuddy.com/?from=nog', '_blank');
}
}
movieClip 1226 {
instance of movieClip 1218 {
onClipEvent (load) {
if (_quality == 'low') {
this.gotoAndStop(1);
}
if (_quality == 'medium') {
this.gotoAndStop(2);
}
if (_quality == 'high') {
this.gotoAndStop(3);
}
}
}
}
frame 63 {
function onEnterFrame() {
keys3();
if (gamepause == 0) {
trace('alive: ' + alive);
if (grounded == 0) {
yspeed += gravity;
if (yspeed > maxgrav) {
yspeed = maxgrav;
}
}
if (grounded2 == 0) {
yspeed2 += gravity;
if (yspeed2 > maxgrav) {
yspeed2 = maxgrav;
}
}
if (constscroll > constscrollmax) {
constscroll += scrollacc;
}
checkcollide();
if (_global.pmode == 2) {
checkcollide2();
}
if (lefttrack > 0) {
leftstop = 0;
}
if (righttrack > 0) {
rightstop = 0;
}
if (_global.pmode == 2) {
if (lefttrack2 > 0) {
leftstop2 = 0;
}
if (righttrack2 > 0) {
rightstop2 = 0;
}
}
if (alive == 1) {
land();
if (grounded == 0) {
if (yspeed == 0) {
fall();
}
}
keys();
sidescroller();
checkoffscreen();
if (_global.pmode == 2) {
checkoffscreen2();
}
} else {
keys2();
}
_root.player._x += xspeed;
_root.player._y += yspeed;
_root.player.face1._rotation += xspeed * 3;
if (xspeed < -maxxspeed) {
xspeed /= 1.1;
}
if (xspeed > maxxspeed) {
xspeed /= 1.1;
}
if (_global.pmode == 2) {
_root.player2._x += xspeed2;
_root.player2._y += yspeed2;
_root.player.symbol1._rotation += xspeed * 3;
if (xspeed2 < -maxxspeed) {
xspeed2 /= 1.1;
}
if (xspeed2 > maxxspeed) {
xspeed2 /= 1.1;
}
}
}
}
function score(item, amount) {
++_root['col' + item];
_root.pscore += amount * _root.pscoremulti;
_root.mescore.text = _root.pscore;
_root.itemget.itemgetin.score.text = '+' + amount;
_root.itemget.gotoAndPlay(2);
}
function checkcollide() {
lefttrack = 0;
righttrack = 0;
c = coll.length - 1;
while (c >= 0) {
if (c >= 40) {
while (_root.tile1['c' + c].hitTest(_root.player._x - multix, _root.player._y - 20, true)) {
_root.player._x += 3;
xspeed = 2;
}
while (_root.tile2['c' + c].hitTest(_root.player._x - multix, _root.player._y - 20, true)) {
_root.player._x += 3;
xspeed = 2;
}
if (_root.tile1['w' + c].hitTest(_root.player._x + multix + 2, _root.player._y - 20, true)) {
xspeed = 0;
rightstop = 1;
++righttrack;
_root.player._x -= 1;
}
if (_root.tile1['w' + c].hitTest(_root.player._x - multix - 2, _root.player._y - 20, true)) {
xspeed = 0;
leftstop = 1;
++lefttrack;
_root.player._x += 1;
}
if (_root.tile2['w' + c].hitTest(_root.player._x + multix + 2, _root.player._y - 20, true)) {
xspeed = 0;
rightstop = 1;
++righttrack;
_root.player._x -= 1;
}
if (_root.tile2['w' + c].hitTest(_root.player._x - multix - 2, _root.player._y - 20, true)) {
xspeed = 0;
leftstop = 1;
++lefttrack;
_root.player._x += 1;
}
while (_root.tile1['c' + c].hitTest(_root.player._x + multix, _root.player._y - 20, true)) {
_root.player._x -= 3;
xspeed = -2;
}
while (_root.tile2['c' + c].hitTest(_root.player._x + multix, _root.player._y - 20, true)) {
_root.player._x -= 3;
xspeed = -2;
}
}
if (yspeed > 0) {
while (_root.tile1['c' + c].hitTest(_root.player._x - multix, _root.player._y, true)) {
_root.player._y -= 1;
yspeed = 0;
}
while (_root.tile2['c' + c].hitTest(_root.player._x - multix, _root.player._y, true)) {
_root.player._y -= 1;
yspeed = 0;
}
while (_root.tile1['c' + c].hitTest(_root.player._x + multix, _root.player._y, true)) {
_root.player._y -= 1;
yspeed = 0;
}
while (_root.tile2['c' + c].hitTest(_root.player._x + multix, _root.player._y, true)) {
_root.player._y -= 1;
yspeed = 0;
}
checkground = 0;
if (_root.tile1['c' + c].hitTest(_root.player._x - multix, _root.player._y + 1, true)) {
fall();
yspeed = 0;
grounded = 1;
++checkground;
}
if (_root.tile2['c' + c].hitTest(_root.player._x - multix, _root.player._y + 1, true)) {
fall();
yspeed = 0;
grounded = 1;
++checkground;
}
if (_root.tile1['c' + c].hitTest(_root.player._x + multix, _root.player._y + 1, true)) {
fall();
yspeed = 0;
grounded = 1;
++checkground;
}
if (_root.tile2['c' + c].hitTest(_root.player._x + multix, _root.player._y + 1, true)) {
fall();
yspeed = 0;
grounded = 1;
++checkground;
}
if (checkground == 0) {
grounded = 0;
}
if (checkground2 == 0) {
grounded2 = 0;
}
}
--c;
}
}
function checkcollide2() {
lefttrack2 = 0;
righttrack2 = 0;
checkground2 = 0;
c = coll.length - 1;
while (c >= 0) {
if (c >= 40) {
while (_root.tile1['c' + c].hitTest(_root.player2._x - multix, _root.player2._y - 20, true)) {
_root.player2._x += 3;
xspeed2 = 2;
}
while (_root.tile2['c' + c].hitTest(_root.player2._x - multix, _root.player2._y - 20, true)) {
_root.player2._x += 3;
xspeed2 = 2;
}
if (_root.tile1['w' + c].hitTest(_root.player2._x + multix + 2, _root.player2._y - 20, true)) {
xspeed2 = 0;
rightstop2 = 1;
++righttrack2;
_root.player2._x -= 1;
}
if (_root.tile1['w' + c].hitTest(_root.player2._x - multix - 2, _root.player2._y - 20, true)) {
xspeed2 = 0;
leftstop2 = 1;
++lefttrack2;
_root.player2._x += 1;
}
if (_root.tile2['w' + c].hitTest(_root.player2._x + multix + 2, _root.player2._y - 20, true)) {
xspeed2 = 0;
rightstop2 = 1;
++righttrack2;
_root.player2._x -= 1;
}
if (_root.tile2['w' + c].hitTest(_root.player2._x - multix - 2, _root.player2._y - 20, true)) {
xspeed2 = 0;
leftstop2 = 1;
++lefttrack2;
_root.player2._x += 1;
}
while (_root.tile1['c' + c].hitTest(_root.player2._x + multix, _root.player2._y - 20, true)) {
_root.player2._x -= 3;
xspeed2 = -2;
}
while (_root.tile2['c' + c].hitTest(_root.player2._x + multix, _root.player2._y - 20, true)) {
_root.player2._x -= 3;
xspeed2 = -2;
}
}
while (_root.tile1['c' + c].hitTest(_root.player2._x - multix, _root.player2._y, true)) {
_root.player2._y -= 1;
yspeed2 = 0;
}
while (_root.tile2['c' + c].hitTest(_root.player2._x - multix, _root.player2._y, true)) {
_root.player2._y -= 1;
yspeed2 = 0;
}
while (_root.tile1['c' + c].hitTest(_root.player2._x + multix, _root.player2._y, true)) {
_root.player2._y -= 1;
yspeed2 = 0;
}
while (_root.tile2['c' + c].hitTest(_root.player2._x + multix, _root.player2._y, true)) {
_root.player2._y -= 1;
yspeed2 = 0;
}
if (yspeed2 > 0) {
if (_root.tile1['c' + c].hitTest(_root.player2._x - multix, _root.player2._y + 1, true)) {
yspeed2 = 0;
grounded2 = 1;
++checkground2;
}
if (_root.tile2['c' + c].hitTest(_root.player2._x - multix, _root.player2._y + 1, true)) {
yspeed2 = 0;
grounded2 = 1;
++checkground2;
}
if (_root.tile1['c' + c].hitTest(_root.player2._x + multix, _root.player2._y + 1, true)) {
yspeed2 = 0;
grounded2 = 1;
++checkground2;
}
if (_root.tile2['c' + c].hitTest(_root.player2._x + multix, _root.player2._y + 1, true)) {
yspeed2 = 0;
grounded2 = 1;
++checkground2;
}
}
--c;
}
}
function save1(level1) {
_global.savedlevel = level1;
_global.savescore = _root.pscore;
_global.savemoney = _root.pmoney;
_global.retirement = _root.retirement;
}
function checkoffscreen() {
if (_root.player._y > 550) {
if (alive == 1) {
die(1, 1);
}
}
if (_root.player2._y > 550) {
if (alive2 == 1) {
die(1, 2);
}
}
}
function die(dietype, player) {
if (dietype !== 1) {
} else {
trace('water');
if (_global.pmode == 2) {
if (player == 1) {
alive = 0;
}
if (player == 2) {
alive2 = 0;
}
++dieamounts;
_root.splash._x = _root['player' + player]._x;
_root.splash.play();
if (dieamounts > 1) {
menu1.gotoAndPlay('fastend');
alive = 0;
}
}
if (_global.pmode == 1) {
alive = 0;
alive2 = 0;
_root.splash._x = _root.player._x;
_root.splash.play();
menu1.gotoAndPlay('fastend');
}
}
if (dietype !== 2) {
} else {
trace('water');
if (_global.pmode == 2) {
if (player == 1) {
alive = 0;
}
if (player == 2) {
alive2 = 0;
}
++dieamounts;
_root['xspeed' + player] = 0;
_root['player' + player].gotoAndPlay('split');
_root.splash.play();
if (dieamounts > 1) {
menu1.play();
}
}
if (_global.pmode == 1) {
alive = 0;
alive2 = 0;
_root.splash._x = _root.player._x;
xspeed = 0;
_root.player.gotoAndPlay('split');
_root.splash.play();
menu1.play();
}
}
}
function land() {
if (grounded == 1) {
if (landsound == 0) {
landsound = 1;
_root.player.gotoAndPlay('land');
randy = Math.floor(Math.random() * 3) + 1;
_root.sfx1.gotoAndPlay('land' + randy);
extrajump = jumppower3;
}
}
if (grounded2 == 1) {
if (landsound2 == 0) {
landsound2 = 1;
_root.player2.gotoAndPlay('land');
randy = Math.floor(Math.random() * 3) + 1;
_root.sfx1.gotoAndPlay('land' + randy);
extrajump = jumppower3;
}
}
}
function fall() {}
function keys2() {
if (Key.isDown(32)) {
_global.mover = 'game';
_root.play();
}
}
function keys3() {
if (Key.isDown(32)) {
if (alive == 1) {
if (canpause == 1) {
canpause = 0;
if (_global.mover == 'game') {
if (gamepause == 0) {
gamepause = 1;
_root.pausemovie.gotoAndPlay('on');
} else {
gamepause = 0;
_root.pausemovie.gotoAndPlay('off');
}
}
}
}
}
}
function keys() {
if (_global.pmode == 1) {
bothkeys = 0;
if (Key.isDown(38) || Key.isDown(87)) {
if (grounded == 1) {
if (uprelease == 0) {
_root.player.gotoAndPlay('jump');
grounded = 0;
uprelease = 1;
landsound = 0;
yspeed += jumppower2;
extrajump = 0;
randy = Math.floor(Math.random() * 3) + 1;
_root.sfx1.gotoAndPlay('jump' + randy);
}
} else {
uprelease = 1;
landsound = 0;
yspeed += extrajump;
extrajump /= 2;
randy = Math.floor(Math.random() * 3) + 1;
_root.sfx1.gotoAndPlay('jump' + randy);
}
} else {
uprelease = 0;
}
if (Key.isDown(40) || Key.isDown(83)) {
if (mespin == 0) {
_root.player.gotoAndPlay('horn');
mespin = 1;
}
} else {
mespin = 0;
}
if (Key.isDown(37) || Key.isDown(65)) {
_root.player._xscale = -100;
if (leftstop == 0) {
if (xspeed > 0) {
xspeed -= switchpower;
}
xspeed -= acc;
if (grounded == 1) {
_root.player.gotoAndPlay('jump');
if (grounded == 1) {
grounded = 0;
}
uprelease = 1;
landsound = 0;
yspeed += jumppower;
randy = Math.floor(Math.random() * 3) + 1;
_root.sfx1.gotoAndPlay('jump' + randy);
}
}
} else {
++bothkeys;
leftrelease = 0;
}
if (Key.isDown(39) || Key.isDown(68)) {
_root.player._xscale = 100;
if (rightstop == 0) {
if (xspeed < 0) {
xspeed += switchpower;
}
xspeed += acc;
if (grounded == 1) {
_root.player.gotoAndPlay('jump');
if (grounded == 1) {
grounded = 0;
}
uprelease = 1;
landsound = 0;
yspeed += jumppower;
randy = Math.floor(Math.random() * 3) + 1;
_root.sfx1.gotoAndPlay('jump' + randy);
}
}
} else {
++bothkeys;
rightrelease = 0;
}
if (bothkeys == 2) {
leftright = 0;
if (grounded == 1) {
if (xspeed > 0) {
xspeed /= groundfriction;
}
if (xspeed < 0) {
xspeed /= groundfriction;
}
}
}
}
}
function sidescroller() {
if (sidescroll == 1) {
if (_root.tile1._x < -800) {
randy = Math.floor(Math.random() * 9) + 1;
_root.tile1._x = _root.tile2._x + 800;
currscroll == 2;
spotcount1 += 20;
_root.tile1.gotoAndStop(spotcount1 + randy);
_root.tilefront1.gotoAndStop(spotcount1 + randy);
}
if (_root.tile2._x < -800) {
randy = Math.floor(Math.random() * 9) + 1;
_root.tile2._x = _root.tile1._x + 800;
currscroll == 1;
spotcount2 += 20;
_root.tile2.gotoAndStop(spotcount2 + randy);
_root.tilefront2.gotoAndStop(spotcount2 + randy);
}
if (_root.tile1._x > 800) {
randy = Math.floor(Math.random() * 9) + 1;
_root.tile1._x = _root.tile2._x - 800;
currscroll == 2;
spotcount1 -= 20;
_root.tile1.gotoAndStop(spotcount1 - randy);
_root.tilefront1.gotoAndStop(spotcount1 - randy);
}
if (_root.tile2._x > 800) {
randy = Math.floor(Math.random() * 9) + 1;
_root.tile2._x = _root.tile1._x - 800;
currscroll == 1;
spotcount2 -= 20;
_root.tile2.gotoAndStop(spotcount2 - randy);
_root.tilefront2.gotoAndStop(spotcount2 - randy);
}
if (_root.frontgrass1._x < -800) {
randy = Math.floor(Math.random() * 9) + 1;
_root.frontgrass1._x = _root.frontgrass2._x + 800;
gcurrscroll == 2;
gspotcount1 += 20;
_root.frontgrass1.gotoAndStop(gspotcount1 + randy);
}
if (_root.frontgrass2._x < -800) {
randy = Math.floor(Math.random() * 9) + 1;
_root.frontgrass2._x = _root.frontgrass1._x + 800;
gcurrscroll == 1;
gspotcount2 += 20;
_root.frontgrass2.gotoAndStop(gspotcount2 + randy);
}
if (_root.backgrass1._x < -800) {
randy = Math.floor(Math.random() * 9) + 1;
_root.backgrass1._x = _root.backgrass2._x + 800;
bcurrscroll == 2;
bspotcount1 += 20;
_root.backgrass1.gotoAndStop(bspotcount1 + randy);
}
if (_root.backgrass2._x < -800) {
randy = Math.floor(Math.random() * 9) + 1;
_root.backgrass2._x = _root.backgrass1._x + 800;
bcurrscroll == 1;
bspotcount2 += 20;
_root.backgrass2.gotoAndStop(bspotcount2 + randy);
}
if (_root.player._x > 300) {
pushscroll = 0.01 + (_root.player._x - 300) / 9000;
if (currscroll == 1) {
scrollmuch = (300 - _root.player._x) * pushscroll;
_root.tile1._x += scrollmuch;
_root.tile2._x += scrollmuch;
_root.player._x += scrollmuch;
_root.player2._x += scrollmuch;
_root.frontgrass1._x += scrollmuch * frontgspeed;
_root.frontgrass2._x += scrollmuch * frontgspeed;
_root.backgrass1._x += scrollmuch / backgspeed;
_root.backgrass2._x += scrollmuch / backgspeed;
_root.tilefront1._x = _root.tile1._x;
_root.tilefront2._x = _root.tile2._x;
} else {
scrollmuch = (rightsidescroll - _root.player._x) * pushscroll;
_root.tile1._x += scrollmuch;
_root.tile2._x += scrollmuch;
_root.player._x += scrollmuch;
_root.player2._x += scrollmuch;
_root.frontgrass1._x += scrollmuch * frontgspeed;
_root.frontgrass2._x += scrollmuch * frontgspeed;
_root.backgrass1._x += scrollmuch / backgspeed;
_root.backgrass2._x += scrollmuch / backgspeed;
_root.tilefront1._x = _root.tile1._x;
_root.tilefront2._x = _root.tile2._x;
}
}
scrollmuch = constscroll;
pushscroll = 0.1;
if (currscroll == 1) {
_root.tile1._x += scrollmuch;
_root.tile2._x += scrollmuch;
_root.player._x += scrollmuch;
_root.player2._x += scrollmuch;
_root.frontgrass1._x += scrollmuch * frontgspeed;
_root.frontgrass2._x += scrollmuch * frontgspeed;
_root.backgrass1._x += scrollmuch / backgspeed;
_root.backgrass2._x += scrollmuch / backgspeed;
_root.tilefront1._x = _root.tile1._x;
_root.tilefront2._x = _root.tile2._x;
} else {
_root.tile1._x += scrollmuch;
_root.tile2._x += scrollmuch;
_root.player._x += scrollmuch;
_root.player2._x += scrollmuch;
_root.frontgrass1._x += scrollmuch * frontgspeed;
_root.frontgrass2._x += scrollmuch * frontgspeed;
_root.backgrass1._x += scrollmuch / backgspeed;
_root.backgrass2._x += scrollmuch / backgspeed;
_root.tilefront1._x = _root.tile1._x;
_root.tilefront2._x = _root.tile2._x;
}
}
}
stop();
canpause = 1;
gamepause = 0;
_root.player.head.gotoAndStop(_global.melook);
_root.player2.head.gotoAndStop(2);
if (_global.pmode == 1) {
_root.player2._y = -100;
}
_root.pscoremulti = 1;
_root.score.text = _root.pscore;
if (_root.pmoney > 0) {
_root.moneycounter.play();
}
_root.pmoney = _global.savemoney;
_root.retirement = _global.retirement;
trace('money: ' + _root.pmoney);
_root.colcoin = 0;
_root.colbox = 0;
_root.colnog = 0;
_root.colheart = 0;
_root.colpop = 0;
_root.colegg = 0;
_root.colbub = 0;
_root.colcoin = 0;
dieamounts = 0;
coll = new Array(55);
uprelease = 0;
uprelease2 = 0;
gravity = 0.4;
maxgrav = 12;
yspeed2 = 0;
xspeed2 = 0;
yspeed = 0;
xspeed = 0;
maxxspeed = 6;
multix = 10;
grounded = 0;
grounded2 = 0;
groundfriction = 6;
switchpower = 0.4;
jumppower3 = -3;
jumppower2 = -10;
jumppower = -5;
extrajump = jumppower3;
acc = 0.3;
rightstop = 0;
leftstop = 0;
rightstop2 = 0;
leftstop2 = 0;
endlvl = 0;
sidescroll = 1;
rightsidescroll = 400;
leftsidescroll = 300;
currscroll = 1;
frontgspeed = 1.2;
gcurrscroll = 1;
gspotcount1 = 10;
gspotcount2 = 20;
backgspeed = 1.2;
bcurrscroll = 1;
bspotcount1 = 10;
bspotcount2 = 20;
scrollacc = -0.001;
constscroll = 0;
constscrollmax = -0.3;
alive = 1;
alive2 = 1;
gamepause = 0;
mespin = 0;
mespin2 = 0;
musicbox.gotoAndPlay(currmusic);
}
movieClip 1229 {
}
frame 102 {
gotoAndPlay(_global.mover);
}
frame 103 {
stopAllSounds();
musicbox.gotoAndPlay('relax');
}
frame 108 {
stop();
}
movieClip 1238 {
}
button 1240 {
on (press) {
getURL('http://www.jjwallace.info', '_blank');
}
}
movieClip 1242 {
}
// unknown tag 88 length 55
movieClip 1248 {
}
movieClip 1251 {
}
// unknown tag 88 length 101
movieClip 1257 {
}
movieClip 1258 {
}
movieClip 1259 {
}
movieClip 1262 {
frame 1 {
stop();
}
}
instance of movieClip 1262 {
onClipEvent (load) {
if (_global.mover == 'credits') {
this.gotoAndStop(2);
}
}
}
button 1263 {
on (press) {
getURL('http://www.coolbuddy.com/', '_blank');
}
}
frame 132 {
gotoAndPlay(_global.mover);
}