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;
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);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&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);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
stop();
_root.highscore = 0;
Stage.showMenu = false;
__com_mochibot__("ace03696", this, 10301, true);
Instance of Symbol 6 MovieClip in Frame 1
onClipEvent (enterFrame) {
_root.loadedd = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
_root.loaded = _root.loadedd + " %";
_currentframe = _root.loadedd;
gotoAndStop(_root.loadedd);
}
Frame 2
stop();
stopAllSounds();
Instance of Symbol 25 MovieClip in Frame 2
onClipEvent (load) {
_root.stop();
}
onClipEvent (mouseDown) {
getURL ("http://www.flashgem.com", "_blank");
}
Frame 3
nextFrame();
_root.playtime = 0;
_root.maxscore = 0;
Frame 5
_quality = "MEDIUM";
Instance of Symbol 63 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.score >= 100) {
_root.score = 0;
_root.lives = _root.lives + 1;
}
if (_root.pause == false) {
_root.playtime = _root.playtime + 0.0416666666666667;
if (this.hittest(_root.gubbe)) {
_root.death = true;
}
_root.time = _root.time + 1;
if (_root.time > maxtime) {
i = random(9999999999999);
_root.holder.bird.duplicateMovieClip("one" + i, i + 100);
i = random(9999999999999);
_root.holder.balloon.duplicateMovieClip("two" + i, i + 100);
i = random(9999999999999);
_root.holder.coin.duplicateMovieClip("three" + i, i + 100);
i = random(9999999999999);
_root.holder.fish.duplicateMovieClip("four" + i, i + 100);
i = random(9999999999999);
_root.time = 0;
maxtime = maxtime + 400;
}
}
}
onClipEvent (load) {
maxtime = maxtime + 400;
_root.pause = false;
}
Instance of Symbol 84 MovieClip "gubbe" in Frame 5
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - 1);
if (Key.isDown(39)) {
_x = (_x + 9);
} else if (Key.isDown(37)) {
_x = (_x - 7);
}
if ((Key.isDown(38) & (_root.jump == false)) & (_root.death == false)) {
_root.gubbe.gotoAndPlay(4);
}
if ((_root.death == true) & (_currentframe < 4)) {
_root.gubbe.gotoAndPlay(20);
}
}
}
onClipEvent (load) {
_root.jump = false;
_root.death = false;
_root.lives = 5;
_root.score = 0;
}
Instance of Symbol 91 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (Key.isDown(80)) {
if ((_root.pause == false) & (pausetime > 24)) {
_root.pause = true;
play();
pausetime = 0;
_visible = true;
} else if ((_root.pause == true) & (pausetime > 24)) {
_root.pause = false;
play();
pausetime = 0;
_visible = false;
}
}
pausetime++;
}
onClipEvent (load) {
pausetime = 24;
_visible = false;
}
Instance of Symbol 98 MovieClip in Frame 5
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
highscore = _root.highscore;
playtime = Math.round(_root.playtime);
if (_root.maxscore > _root.highscore) {
_root.highscore = _root.maxscore;
}
if (_root.lives == 0) {
_visible = true;
}
}
Symbol 6 MovieClip Frame 100
_root.nextFrame();
Symbol 6 MovieClip Frame 101
gotoAndPlay (101);
Symbol 25 MovieClip Frame 1
gotoAndPlay (2);
Symbol 25 MovieClip Frame 132
_root.play();
Symbol 28 MovieClip Frame 20
gotoAndPlay (1);
Symbol 32 Button
on (release) {
_root.nextFrame();
_root.lives = 5;
_root.score = 0;
_root.time = 0;
_root.pause = false;
}
Symbol 33 Button
on (release) {
nextFrame();
}
Symbol 34 Button
on (release) {
gotoAndStop (3);
}
Symbol 35 Button
on (release) {
getURL ("http://www.flashgem.com/random.php", "_blank");
}
Symbol 37 Button
on (release) {
prevFrame();
}
Symbol 42 Button
on (release) {
gotoAndStop (1);
}
Symbol 44 Button
on (release) {
getURL ("http://www.nintendo.com", "_blank");
}
Symbol 45 Button
on (release) {
getURL ("http://www.spritersresource.com", "_blank");
}
Symbol 46 MovieClip Frame 1
stop();
Symbol 49 Button
on (press) {
getURL ("http://www.flashgem.com", "_blank");
}
Symbol 52 MovieClip Frame 1
stop();
Symbol 55 MovieClip Frame 2
stop();
Symbol 57 Button
on (release) {
_root.music.gotoAndStop(1);
stopAllSounds();
nextFrame();
}
Symbol 59 Button
on (release) {
_root.music.gotoAndStop(2);
prevFrame();
}
Symbol 60 MovieClip Frame 1
stop();
Symbol 84 MovieClip Frame 1
_root.jump = false;
Symbol 84 MovieClip Frame 2
_root.jump = false;
Symbol 84 MovieClip Frame 3
gotoAndPlay (1);
_root.jump = false;
Symbol 84 MovieClip Frame 4
_root.jump = true;
Symbol 84 MovieClip Frame 18
_root.jump = false;
Symbol 84 MovieClip Frame 19
gotoAndPlay (1);
Symbol 84 MovieClip Frame 44
_root.lives = _root.lives - 1;
if (_root.lives >= 1) {
play();
} else {
stop();
}
Symbol 84 MovieClip Frame 84
_root.gubbe._x = 250;
Symbol 84 MovieClip Frame 104
_root.death = false;
Symbol 91 MovieClip Frame 1
stop();
Symbol 93 Button
on (release) {
_root.gotoAndStop(2);
stopAllSounds();
}
Symbol 112 MovieClip Frame 13
gotoAndPlay (1);
Symbol 112 MovieClip Frame 31
stop();
Symbol 124 MovieClip Frame 1
stop();
Instance of Symbol 101 MovieClip "bird" in Symbol 125 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - 6);
if (_x < -50) {
_x = (650 + random(500));
_y = (160 + random(40));
}
if (this.hittest(_root.gubbe.hitter)) {
_root.death = true;
}
}
}
onClipEvent (load) {
_x = (650 + random(500));
_y = (160 + random(40));
}
Instance of Symbol 112 MovieClip "balloon" in Symbol 125 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - 4);
if (((_x > (_root.gubbe._x - 5)) & (_x < (_root.gubbe._x + 5))) & (_currentframe < 14)) {
gotoAndPlay (14);
}
if (_x < -50) {
_x = (650 + random(400));
gotoAndPlay (1);
}
if (this.hittest(_root.gubbe.hitter)) {
_root.death = true;
}
}
}
onClipEvent (load) {
_x = (650 + random(400));
}
Instance of Symbol 116 MovieClip "fish" in Symbol 125 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - 7);
if (_x < -50) {
_x = (650 + random(700));
}
if (this.hittest(_root.gubbe.hitter)) {
_root.death = true;
}
}
}
onClipEvent (load) {
_x = (650 + random(700));
}
Instance of Symbol 121 MovieClip "coin" in Symbol 125 MovieClip Frame 1
onClipEvent (load) {
_x = (650 + random(400));
_y = (160 + random(80));
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - 6);
if (_x < -50) {
_x = (650 + random(200));
_y = (160 + random(80));
}
if (this.hittest(_root.gubbe)) {
_x = (650 + random(200));
_y = (160 + random(80));
_root.score = _root.score + 1;
_root.maxscore = _root.maxscore + 1;
_root.coinsound.play();
}
}
}
Instance of Symbol 124 MovieClip in Symbol 125 MovieClip Frame 1
onClipEvent (load) {
_x = (650 + random(3000));
_y = (160 + random(80));
}
onClipEvent (enterFrame) {
if (_root.pause == false) {
_x = (_x - 6);
if (_x < -50) {
_x = (650 + random(3000));
_y = (160 + random(80));
}
if (this.hittest(_root.gubbe)) {
_x = (650 + random(3000));
_y = (160 + random(80));
_root.lives = _root.lives + 1;
play();
}
}
}