Frame 1
fscommand ("trapallkeys", 1);
fscommand ("allowscale", 0);
Stage.showMenu = false;
Stage.scaleMode = "noScale";
fr.swapDepths(200010);
_global.r = this;
Frame 2
var loadAmount = _totalframes;
onEnterFrame = function () {
if (_framesloaded == loadAmount) {
delete onEnterFrame;
gotoAndPlay ("menu");
} else {
loaded = Math.round(getBytesLoaded() / 1024);
total = Math.round(getBytesTotal() / 1024);
percent = Math.round((loaded / total) * 100);
}
};
stop();
Frame 10
MovieClip.prototype.swim = function (xx, ribboncolor) {
m.attachMovie("bunnyswim", "o" + r.od, r.od, {_x:xx, _y:r.waterline - 5, ribboncolor:ribboncolor});
r.od++;
};
MovieClip.prototype.splash = function (xx, ribboncolor) {
m.attachMovie("splash", "o" + r.od, r.od, {_x:xx + 7, _y:r.waterline - 8, ribboncolor:ribboncolor});
r.od++;
};
MovieClip.prototype.ripple = function (xsize, ysize, speed, blend) {
var t = this;
t.output = new flash.display.BitmapData(t._width, t._height);
t.offset = new flash.geom.Point(0, 0);
t.yspeed = 100;
t.ran = Math.random() + Math.random();
t.onEnterFrame = function () {
t.offset.y = t.offset.y - speed;
t.output.perlinNoise(xsize, ysize, 1, t.ran, true, true, 1, true, t.offset);
t.filters = [new flash.filters.DisplacementMapFilter(t.output, t.output, 0, 1, t.yspeed, t.yspeed)];
t.blendMode = blend;
};
};
MovieClip.prototype.poptriple = function (x, y) {
m.attachMovie("triple", "o" + r.od, r.od, {_x:x, _y:y});
r.od++;
};
MovieClip.prototype.poplife = function (x, y) {
m.attachMovie("life", "o" + r.od, r.od, {_x:x, _y:y});
r.od++;
};
MovieClip.prototype.popbonus = function (no) {
m.attachMovie("flower", "f" + r.fd, r.fd, {_x:200 + random(360), _y:-10, no:no});
r.fd++;
};
MovieClip.prototype.switchwood = function (no) {
if (no == 1) {
r.woodwid = r.normalwid;
r.wide = 0;
} else if (no == 2) {
r.woodwid = r.widesize;
r.wide = r.widetime;
}
w.a.gotoAndStop(no);
w2.a.gotoAndStop(no);
};
MovieClip.prototype.popskor = function (skor, x, y, tipe) {
if (!tipe) {
var _local2 = "popskor";
} else if (tipe == 2) {
var _local2 = "popskoregg";
}
m.attachMovie(_local2, "o" + r.od, r.od, {_x:x, _y:y});
if (r.triple) {
m["o" + r.od]._xscale = (m["o" + r.od]._yscale = 125);
m["o" + r.od].sk = 3 * skor;
r.ang = r.ang + (3 * skor);
} else {
m["o" + r.od].sk = skor;
r.ang = r.ang + skor;
}
if (r.nil < 100) {
r.nil = r.nil + 10;
} else if ((r.nil >= 100) and (r.nil < 1000)) {
r.nil = r.nil + 100;
} else {
r.nil = r.nil + 1000;
}
r.od++;
};
MovieClip.prototype.woodstop = function () {
w2._x = w._x;
delete w2.onEnterFrame;
};
MovieClip.prototype.woodfollow = function () {
w2.onEnterFrame = function () {
w2._x = w2._x + ((w._x - w2._x) / 3);
};
};
MovieClip.prototype.run = function () {
var t = this;
t.xs = getrandom("bunnyspeed");
t.ribboncolor = 1 + random(2);
t.udaegg = 0;
t.cektime = 5;
t.cek = 0;
t.grav = 0.2;
t.fall = 0;
t.ys = 2;
t.onEnterFrame = function () {
t._x = t._x + t.xs;
if (t.cek) {
t.cek++;
t.fall = 1;
if ((t._x > r.cmin) and (t._x < r.cmax)) {
if (!t.step) {
t.xfoot = t._x + 20;
if (Math.abs(w._x - t.xfoot) < r.woodwid) {
r.astep = 1;
t.stepping();
popskor(r.nil, w._x, r.yland + 20);
} else if (Math.abs(w2._x - t.xfoot) < r.woodwid) {
r.astep2 = 1;
t.stepping();
popskor(r.nil, w2._x, r.yland + 20);
}
}
} else {
t.stepping();
}
if (t.cek > t.cektime) {
t.cek = 0;
}
}
if (t.fall) {
if (t._x > 380) {
t.xs = t.xs * 0.97;
} else {
t.xs = t.xs * 0.99;
}
t._y = t._y + t.ys;
t.ys = t.ys + t.grav;
if (t._y > r.waterline) {
splash(t._x, t.ribboncolor);
r.energy = Math.max(0, r.energy - 1);
r.energybar.gotoAndPlay(1);
t.removeMovieClip();
}
} else {
if (t._x > 570) {
if (!t.udaegg) {
t.udaegg = 1;
m.attachMovie("egg", "o" + r.od, r.od, {_x:r.basket._x - 10, _y:r.basket._y, mc:t});
r.od++;
}
}
if (t._x > 810) {
t.removeMovieClip();
}
}
};
};
MovieClip.prototype.stepping = function () {
var _local2 = this;
_local2.a.gotoAndPlay("step");
_local2._y = r.yland;
_local2.step = 1;
_local2.fall = 0;
_local2.cek = 0;
};
MovieClip.prototype.make = function (tipe, x, y) {
if (tipe == 1) {
var _local1 = "bunny";
}
m.attachMovie(_local1, "o" + r.od, r.od, {_x:x, _y:y});
m["o" + r.od].run();
r.od++;
};
MovieClip.prototype.ceklimits = function () {
this.nx = Math.max(this.nx, r.xmin);
this.nx = Math.min(this.nx, r.xmax);
this.ny = Math.max(this.ny, r.ymin);
this.ny = Math.min(this.ny, r.ymax);
};
Array.prototype.removeElement = function (i) {
if (i == null) {
i = 0;
}
var _local4 = this[i];
var _local2 = i;
while (_local2 < (this.length - 1)) {
this[_local2] = this[_local2 + 1];
_local2++;
}
this.pop();
return(_local4);
};
Array.prototype.removeValue = function (a) {
var _local2 = 0;
while (_local2 < this.length) {
if (a == this[_local2]) {
this.removeElement(_local2);
}
_local2++;
}
};
Array.prototype.randomize = function () {
return(this.sort(function (a, b) {
return(((Math.floor(Math.random() * 2) == 0) ? 1 : -1));
}));
};
Array.prototype.copy = Array.prototype.slice;
Object.prototype.clone = function () {
if (this instanceof Array) {
var _local2 = [];
var _local3 = 0;
while (_local3 < this.length) {
_local2[_local3] = ((typeof(this[_local3]) == "object") ? (this[_local3].clone()) : (this[_local3]));
_local3++;
}
} else if ((this instanceof XML) || (this instanceof MovieClip)) {
var _local2 = null;
trace("Warning! Object.clone can not be used on MovieClip or XML objects");
} else {
var _local2 = {};
for (var _local3 in this) {
_local2[_local3] = ((typeof(this[_local3]) == "object") ? (this[_local3].clone()) : (this[_local3]));
}
}
return(_local2);
};
ASSetPropFlags(Object.prototype, ["clone"], 1);
MovieClip.prototype.fadescreen = function (speed) {
if (!speed) {
speed = 5;
}
r.createEmptyMovieClip("dark", 100001);
var d = r.dark;
d.speed = speed;
d.lineStyle(1, 0, 100);
d.beginFill(16777215, 100);
d.moveTo(-5000, -5000);
d.lineTo(5000, -5000);
d.lineTo(5000, 5000);
d.lineTo(-5000, 5000);
d.endFill();
d.onEnterFrame = function () {
d._alpha = d._alpha - d.speed;
if (d._alpha <= 0) {
d.removeMovieClip();
d.stop();
}
};
};
MovieClip.prototype.getrandom = function (aray) {
if (r.randomlisting.length > 0) {
var _local3 = 0;
var _local1 = 0;
while (_local1 < r.randomlisting.length) {
if (r.randomlisting[_local1] == aray) {
_local3 = 1;
break;
}
_local1++;
}
if (!_local3) {
r.randomlisting.push(aray);
}
} else {
r.randomlisting = [];
r.randomlisting.push(aray);
}
if (r[aray + "getrandom"].length <= 0) {
r[aray + "getrandom"] = [];
r[aray + "getrandom"] = r[aray].clone();
r[aray + "getrandom"].randomize();
if (r[aray + "getrandom"].length > 1) {
if (r[aray + "lastpop"] == r[aray + "getrandom"][r[aray + "getrandom"].length - 1]) {
r[aray + "getrandom"].pop();
}
}
}
var _local4 = r[aray + "getrandom"].pop();
r[aray + "lastpop"] = _local4;
return(_local4);
};
MovieClip.prototype.resetrandom = function () {
if (r.randomlisting.length > 0) {
var _local1 = 0;
while (_local1 < r.randomlisting.length) {
r[r.randomlisting[_local1] + "getrandom"] = [];
r[r.randomlisting[_local1] + "lastpop"] = undefined;
_local1++;
}
}
};
MovieClip.prototype.findang = function (dx, dy) {
return(deg(math.atan2(dy, dx)));
};
MovieClip.prototype.rad = function (qdeg) {
return(qdeg * (Math.PI/180));
};
MovieClip.prototype.deg = function (qrad) {
return(qrad * 57.2957795130823);
};
Color.prototype.setBrightness = function (value) {
this.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0});
var trans = this.getTransform();
var percent = (Math.abs(value) / 100);
var brightnessColor = ((value > 0) ? 255 : 0);
with (trans) {
ra = ra - (ra * percent);
ga = ga - (ga * percent);
ba = ba - (ba * percent);
rb = rb + ((brightnessColor - rb) * percent);
gb = gb + ((brightnessColor - gb) * percent);
bb = bb + ((brightnessColor - bb) * percent);
}
this.setTransform(trans);
};
Color.prototype.resetcolor = function () {
this.setTransform({ra:100, rb:0, ga:100, gb:0, ba:100, bb:0});
};
Sound.prototype.fade = function (fadeType, fadeDuration) {
this.fadeDuration = (fadeDuration * 1000) / 100;
this.fadeType = fadeType;
this.currentVolume = this.getVolume();
this.intID = setInterval(function (thisObj) {
thisObj.doFade(thisObj.fadeType);
}, this.fadeDuration, this);
this.doFade = function (fadeType) {
if (fadeType == "out") {
this.setVolume(this.currentVolume--);
if (this.getVolume() <= 0) {
clearInterval(this.intID);
}
} else if (fadeType == "in") {
this.setVolume(this.currentVolume++);
if (this.getVolume() >= 100) {
clearInterval(this.intID);
}
}
};
};
MovieClip.prototype.wait = function (delay) {
this.createEmptyMovieClip("wdl", 55555);
this.wdl.delay = delay;
this.wdl.onEnterFrame = function () {
this.delay--;
if (!this.delay) {
delete this.onEnterFrame;
this._parent.play();
this.removeMovieClip();
}
};
this.stop();
};
MovieClip.prototype.savecookie = function (vari, value) {
var _local1 = SharedObject.getLocal("oricross", "/");
_local1.data[vari] = value;
_local1.flush();
};
MovieClip.prototype.loadcookie = function (vari) {
var _local1 = SharedObject.getLocal("oricross", "/");
if (_local1.data[vari] != null) {
return(_local1.data[vari]);
}
return(false);
};
Frame 16
call("pro");
fadescreen();
stop();
Frame 23
call("pro");
fadescreen();
stop();
Frame 29
_global.m = this.map;
_global.w = m.wood;
_global.w2 = m.wood2;
w.swapDepths(100000);
delete onEnterFrame;
call("pro");
fadescreen();
bunnyspeed = [4, 5, 6];
eggcolor = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];
eggpattern = [1, 2, 3, 4, 5];
widetime = 600;
wide = 0;
tripletime = 600;
triple = 0;
presstime = (presstimemax = 100);
pressing = 0;
yland = 266;
waterline = 420;
normalwid = 50;
widesize = 90;
screenwid = 720;
screenhei = 450;
ang = 0;
nil = 10;
cmin = 157;
cmax = 575;
xmin = 157;
xmax = 575;
eggtotal = 0;
eggtotalpattern = [];
energy = (energymax = 5);
od = 1000;
fd = 80000 /* 0x013880 */;
odelay = 100;
d = 20;
odelaymin = 15;
bonusdelay = 700;
bd = 300;
bonuslifeleft = 8;
level = 300;
ld = level;
astep = (astep2 = 0);
resetrandom();
switchwood(1);
woodfollow();
reflection.ripple(10, 1.2, 0.1, 5);
stopAllSounds();
r.createEmptyMovieClip("sfx", 60001);
allsfx = ["zsplash", "zbonus", "ztink"];
var i = 0;
while (i < allsfx.length) {
r[allsfx[i]] = new Sound(sfx);
r[allsfx[i]].attachSound(allsfx[i]);
i++;
}
r.createEmptyMovieClip("sfx2", 60002);
r.zloop = new Sound(sfx2);
r.zloop.attachSound("zloop");
r.zloop.start(0, 99999);
r.zloop.setVolume(0);
r.zloop.fade("in", 1);
onMouseDown = function () {
if (r.presstime > 10) {
r.pressing = 1;
woodstop();
}
};
onMouseUp = function () {
r.pressing = 0;
woodfollow();
};
onEnterFrame = function () {
d--;
if (!d) {
make(1, -50, r.yland);
d = odelay;
}
r.bd--;
if (!r.bd) {
if (r.energy < 3) {
r.liferan = 30;
} else {
r.liferan = 50;
}
if (((r.energy < r.energymax) and (r.bonuslifeleft > 0)) and (random(100) > r.liferan)) {
ranbonus = 3;
r.bd = Math.floor(r.bonusdelay / 2);
} else {
if (random(100) > 40) {
ranbonus = 1;
} else {
ranbonus = 2;
}
r.bd = r.bonusdelay + random(100);
r.bonusdelay = r.bonusdelay + 10;
}
popbonus(ranbonus);
}
ld--;
if (!ld) {
ld = level;
if (r.odelay > 70) {
r.odelay = r.odelay - 5;
} else {
r.odelay = Math.max(r.odelaymin, r.odelay - 2);
}
}
if (r.pressing) {
r.presstime = r.presstime - 0.5;
if (r.presstime <= 0) {
r.pressing = 0;
woodfollow();
}
}
if (!r.pressing) {
r.presstime = Math.min(r.presstimemax, r.presstime + 0.5);
}
if (r.wide > 0) {
r.wide--;
if (r.wide < 100) {
r.woodwid = Math.max(r.normalwid, r.woodwid - 0.5);
w.a.a._width = (w2.a.a._width = r.woodwid * 2);
if (!r.wide) {
switchwood(1);
}
}
}
};
stop();
Frame 30
delete onEnterFrame;
delete onMouseDown;
delete onMouseUp;
fadescreen();
stop();
Symbol 1 MovieClip [fadeout] Frame 1
vs = 5;
vol = r.zloop.getVolume();
if (vol > 0) {
onEnterFrame = function () {
vol = vol - vs;
if (vs > 0.5) {
vs = 0.95 * vs;
}
r.zloop.setVolume(vol);
if (vol <= 0) {
r.zloop.stop();
delete onEnterFrame;
}
};
}
Symbol 8 MovieClip Frame 1
onEnterFrame = function () {
_xscale = _parent.percent;
};
stop();
Symbol 18 MovieClip Frame 1
stop();
Symbol 22 MovieClip [popskor] Frame 41
this.removeMovieClip();
stop();
Symbol 40 MovieClip Frame 7
gotoAndPlay (1);
Symbol 44 MovieClip [flower] Frame 1
ys = 0.4;
grav = 0.05;
yln1 = r.yland - 10;
yln2 = r.yland + 20;
got = 0;
onEnterFrame = function () {
_y = (_y + ys);
ys = ys + grav;
if ((_y > yln1) and (_y < yln2)) {
if (Math.abs(w._x - _x) < r.woodwid) {
got = 1;
} else if (Math.abs(w2._x - _x) < r.woodwid) {
got = 1;
}
if (got) {
if (no == 1) {
switchwood(2);
} else if (no == 2) {
r.triple = 1;
r.icon.gotoAndPlay(2);
poptriple(_x, r.yland + 40);
} else if (no == 3) {
r.energy = Math.min(r.energymax, r.energy + 1);
r.energybar.gotoAndPlay(1);
poplife(_x, r.yland + 35);
}
r.zbonus.start();
this.removeMovieClip();
}
}
if (_y > 305) {
_alpha = (_alpha - 15);
if (_alpha <= 0) {
this.removeMovieClip();
}
}
};
stop();
Symbol 48 MovieClip [life] Frame 1
d = 25;
_alpha = 0;
onEnterFrame = function () {
_y = (_y + 0.5);
d--;
if (d > 0) {
_alpha = Math.min(100, _alpha + 15);
}
if (d < 0) {
_alpha = (_alpha - 10);
if (_alpha < 0) {
this.removeMovieClip();
}
}
};
stop();
Symbol 51 MovieClip [triple] Frame 1
d = 30;
_alpha = 0;
onEnterFrame = function () {
_y = (_y + 0.5);
d--;
if (d > 0) {
_alpha = Math.min(100, _alpha + 15);
}
if (d < 0) {
_alpha = (_alpha - 10);
if (_alpha < 0) {
this.removeMovieClip();
}
}
};
stop();
Symbol 68 MovieClip Frame 1
gotoAndStop(_parent._parent._parent.ribboncolor);
Symbol 71 MovieClip Frame 29
gotoAndPlay (1);
Symbol 74 MovieClip Frame 29
_parent.cek = 1;
_parent.step = 0;
Symbol 74 MovieClip Frame 60
stop();
Symbol 74 MovieClip Frame 100
gotoAndPlay (1);
Symbol 75 MovieClip [bunny] Frame 1
stop();
Symbol 138 MovieClip Frame 1
if (_parent._x > 582) {
gotoAndStop (2);
} else {
stop();
}
Symbol 139 MovieClip [splash] Frame 1
r.zsplash.start();
Symbol 139 MovieClip [splash] Frame 24
swim(_x, ribboncolor);
this.removeMovieClip();
Symbol 146 MovieClip Frame 45
gotoAndPlay ("l");
Symbol 147 MovieClip [bunnyswim] Frame 1
xs = 2;
onEnterFrame = function () {
_x = (_x + xs);
if (_x > 750) {
this.removeMovieClip();
}
};
Symbol 147 MovieClip [bunnyswim] Frame 50
stop();
Symbol 159 MovieClip Frame 1
gotoAndStop(_parent._parent.patt);
Symbol 160 MovieClip Frame 1
gotoAndStop(_parent.clr);
Symbol 162 MovieClip Frame 1
clr = getrandom("eggcolor");
patt = getrandom("eggpattern");
Symbol 162 MovieClip Frame 2
if (r.eggtotal <= 10) {
r.eggtotalpattern.push({clr:clr, patt:patt});
}
Symbol 162 MovieClip Frame 17
stop();
Symbol 163 MovieClip Frame 30
stop();
Symbol 164 MovieClip [egg] Frame 1
r.ztink.start();
r.eggtotal++;
d = 24;
onEnterFrame = function () {
d--;
if (d < 5) {
_alpha = (_alpha - 20);
}
if (d < 0) {
popskor(r.nil, _x, _y - 50, 2);
this.removeMovieClip();
}
};
stop();
Symbol 167 MovieClip Frame 1
if (_parent.sk > 1000) {
gotoAndStop (2);
} else {
stop();
}
Symbol 168 MovieClip [popskoregg] Frame 41
this.removeMovieClip();
stop();
Symbol 189 Button
on (release) {
gotoAndPlay ("ins");
}
Symbol 208 Button
on (release) {
gotoAndPlay ("start");
}
Symbol 211 MovieClip Frame 1
r.astep2 = 0;
onEnterFrame = function () {
if (r.astep2) {
delete onEnterFrame;
play();
}
};
stop();
Symbol 214 MovieClip Frame 1
r.astep = 0;
onEnterFrame = function () {
if (r.astep) {
delete onEnterFrame;
play();
}
};
stop();
Symbol 215 MovieClip Frame 1
onEnterFrame = function () {
_x = (_x + ((_parent.cursor._x - _x) / 2));
};
stop();
Symbol 229 MovieClip Frame 1
onEnterFrame = function () {
bar._xscale = r.presstime;
};
Symbol 233 MovieClip Frame 1
_global.w = wood;
_global.w2 = wood2;
n = 2;
_alpha = 0;
onEnterFrame = function () {
_alpha = (_alpha + 10);
if (_alpha >= 100) {
delete onEnterFrame;
}
};
Symbol 233 MovieClip Frame 2
woodfollow();
Symbol 233 MovieClip Frame 48
n--;
if (n > 0) {
gotoAndPlay ("b1");
}
Symbol 233 MovieClip Frame 49
_alpha = 0;
onEnterFrame = function () {
_alpha = (_alpha + 10);
if (_alpha >= 100) {
delete onEnterFrame;
}
};
Symbol 233 MovieClip Frame 70
woodstop();
n = 0;
Symbol 233 MovieClip Frame 89
n++;
Symbol 233 MovieClip Frame 136
if (n < 3) {
gotoAndPlay ("b3");
}
Symbol 233 MovieClip Frame 137
woodfollow();
r.presstime = 100;
_alpha = 0;
onEnterFrame = function () {
_alpha = (_alpha + 10);
if (_alpha >= 100) {
delete onEnterFrame;
}
};
Symbol 249 MovieClip Frame 1
_width = r.normalwid;
wid = r.widesize * 2;
d = 10;
onEnterFrame = function () {
_width = (wid + ((_width - wid) / 2));
d--;
if (!d) {
_width = (r.widesize * 2);
delete onEnterFrame;
}
};
Symbol 250 MovieClip Frame 1
r.astep2 = 0;
onEnterFrame = function () {
if (r.astep2) {
delete onEnterFrame;
gotoAndPlay (2);
}
};
stop();
Symbol 250 MovieClip Frame 10
stop();
Symbol 251 MovieClip Frame 1
stop();
Symbol 253 MovieClip Frame 1
_width = r.normalwid;
wid = r.widesize * 2;
d = 10;
onEnterFrame = function () {
_width = (wid + ((_width - wid) / 2));
d--;
if (!d) {
_width = (r.widesize * 2);
delete onEnterFrame;
}
};
Symbol 254 MovieClip Frame 1
r.astep = 0;
onEnterFrame = function () {
if (r.astep) {
delete onEnterFrame;
gotoAndPlay (2);
}
};
stop();
Symbol 254 MovieClip Frame 10
stop();
Symbol 255 MovieClip Frame 1
stop();
Symbol 256 MovieClip Frame 1
onEnterFrame = function () {
x = Math.max(r._xmouse, r.xmin + r.woodwid);
x = Math.min(x, r.xmax - r.woodwid);
_x = (_x + ((x - _x) / 2));
};
stop();
Symbol 263 MovieClip Frame 1
if (r.energy > 0) {
gotoAndStop((r.energymax + 2) - r.energy);
} else {
gotoAndPlay(r.energymax + 2);
}
Symbol 263 MovieClip Frame 40
r.gotoAndPlay("end");
Symbol 276 Button
on (release) {
gotoAndPlay ("start");
}
Symbol 285 MovieClip Frame 1
no = Number(substring(_name, 2, 1));
clr = r.eggtotalpattern[no - 1].clr;
patt = r.eggtotalpattern[no - 1].patt;
Symbol 286 MovieClip Frame 1
gotoAndStop(Math.min(11, 1 + r.eggtotal));