Frame 1
fscommand ("trapallkeys", 1);
fscommand ("allowscale", 0);
Stage.showMenu = false;
Stage.scaleMode = "noScale";
duplicateMovieClip ("fr", "frame", 100010);
_global.r = this;
Frame 2
var loadAmount = _totalframes;
onEnterFrame = function () {
if (_framesloaded == loadAmount) {
delete onEnterFrame;
r.mute = 0;
gotoAndPlay ("menu");
} else {
loaded = Math.round(getBytesLoaded() / 1024);
total = Math.round(getBytesTotal() / 1024);
percent = Math.round((loaded / total) * 100);
}
};
stop();
Frame 10
MovieClip.prototype.make = function (id) {
if (id == 1) {
poptree(600);
r.nextx = (r.xnow + 200) + random(100);
if (random(100) > 50) {
var _local2 = 80 + random(100);
poptree(600 + _local2);
r.nextx = r.nextx + _local2;
if (random(100) > 70) {
var _local3 = 80 + random(100);
poptree((600 + _local2) + _local3);
r.nextx = r.nextx + _local3;
}
}
} else if (id == 2) {
setpos("apple");
} else if (id == 3) {
setpos("orange");
} else if (id == 4) {
if (!r.animalran.length) {
r.animalran = r.animaltype.copy();
r.animalran.randomize();
}
var _local4 = r.animalran.pop();
m4.attachMovie("animal", "animal" + r.ed, r.ed, {_x:640, _y:400, no:_local4});
r.ed++;
} else if (id == 5) {
m2.attachMovie("banana", "item" + r.ed, r.ed, {_x:600, _y:70 + (random(25) * 10)});
m2["item" + r.ed].initfruit(999);
r.ed++;
}
if (id > 1) {
r.nextx = (r.xnow + 200) + random(100);
}
};
MovieClip.prototype.poptree = function (x) {
if (!r.treeposran.length) {
r.treeposran = r.treepos.slice(0, r.treeposrange);
r.treeposran.randomize();
}
var _local1 = r.treeposran.pop();
m2.attachMovie("tree", "item" + r.ed, r.ed, {_x:x, _y:400 + _local1, tipe:r.treenow});
r.ed++;
r.treenow++;
if (r.treenow > r.treetype) {
r.treenow = 1;
}
};
MovieClip.prototype.initbird = function () {
var t = this;
t.xs = r.bgspeed - 2;
t.range = 2;
t.yspeed = 0.12;
t.starty = t._y;
t.ys = t.range;
t.onEnterFrame = function () {
t._y = t._y + t.ys;
if (t._y > t.starty) {
t.ys = Math.max(t.ys - t.yspeed, -t.range);
} else {
t.ys = Math.min(t.ys + t.yspeed, t.range);
}
t._x = t._x + t.xs;
if (t._x < -40) {
t.removeMovieClip();
}
t.cekhitp();
};
t.stop();
};
MovieClip.prototype.shake = function (mc, range) {
mc.x = 2;
mc.onEnterFrame = function () {
mc._x = mc.x;
mc.x = -mc.x;
};
};
MovieClip.prototype.swing = function (mc, range, speed) {
mc.range = range;
mc.speed = speed;
mc.startr = mc._rotation;
mc.ro = range;
mc.onEnterFrame = function () {
mc._rotation = mc._rotation + mc.ro;
if (mc._rotation > mc.startr) {
mc.ro = Math.max(mc.ro - mc.speed, -mc.range);
} else {
mc.ro = Math.min(mc.ro + mc.speed, mc.range);
}
};
};
MovieClip.prototype.setpos = function (item) {
var space25 = 25;
var space20 = 20;
var space15 = 15;
var x = 600;
var y = (70 + (random(25) * 10));
var pos1 = [{x:x, y:y}, {x:x + space15, y:y - space15}, {x:x + (2 * space15), y:y}, {x:x + (3 * space15), y:y - space15}, {x:x + (4 * space15), y:y}];
var pos2 = [{x:x, y:y}, {x:x + space15, y:y + space15}, {x:x + (2 * space15), y:y}, {x:x + (3 * space15), y:y + space15}, {x:x + (4 * space15), y:y}];
var pos3 = [{x:x, y:y}, {x:x + space15, y:y - space15}, {x:x + (2 * space15), y:y}, {x:x + (2 * space15), y:y - (2 * space15)}, {x:x + (3 * space15), y:y - space15}, {x:x + (4 * space15), y:y}];
var pos4 = [{x:x, y:y}, {x:x + space15, y:y + space15}, {x:x + (2 * space15), y:y}, {x:x + (2 * space15), y:y + (2 * space15)}, {x:x + (3 * space15), y:y + space15}, {x:x + (4 * space15), y:y}];
var pos5 = [{x:x, y:y}, {x:x + space25, y:y}, {x:x + (2 * space25), y:y}, {x:x, y:y + space25}, {x:x + space25, y:y + space25}, {x:x + (2 * space25), y:y + space25}];
var pos6 = [{x:x, y:y}, {x:x + space25, y:y}, {x:x + space25, y:y + space25}, {x:x, y:y + space25}, {x:x + space25, y:y + (2 * space25)}, {x:x, y:y + (2 * space25)}];
var pos7 = [{x:x, y:y}, {x:x + space15, y:y + space15}, {x:x, y:y + (2 * space15)}, {x:x + space15, y:y + (3 * space15)}, {x:x, y:y + (4 * space15)}];
var pos8 = [{x:x + space15, y:y}, {x:x, y:y + space15}, {x:x + space15, y:y + (2 * space15)}, {x:x, y:y + (3 * space15)}, {x:x + space15, y:y + (4 * space15)}];
var pos9 = [{x:x, y:y}, {x:x, y:y + space20}, {x:x + space20, y:y + space20}, {x:x + space20, y:y + (2 * space20)}, {x:x + (2 * space20), y:y + (2 * space20)}, {x:x + (2 * space20), y:y + (3 * space20)}];
var pos10 = [{x:x + (2 * space20), y:y}, {x:x + (2 * space20), y:y + space20}, {x:x + space20, y:y + space20}, {x:x + space20, y:y + (2 * space20)}, {x:x, y:y + (2 * space20)}, {x:x, y:y + (3 * space20)}];
var pos11 = [{x:x, y:y}, {x:x + 14, y:y + 14}, {x:x + 34, y:y + 20}, {x:x + 54, y:y + 14}, {x:x + 68, y:y}];
var pos12 = [{x:x + 10, y:y}, {x:x + 30, y:y}, {x:x, y:y + 18}, {x:x + 40, y:y + 18}, {x:x + 10, y:y + 36}, {x:x + 30, y:y + 36}];
var pos = [];
pos = eval ("pos" + (1 + random(12))).clone();
var i = 0;
while (i < pos.length) {
m2.attachMovie(item, "item" + r.ed, r.ed, {_x:pos[i].x, _y:pos[i].y});
m2["item" + r.ed].initfruit(r.nil);
r.ed++;
i++;
}
};
MovieClip.prototype.popenemy = function (id) {
if (id == 1) {
var _local1 = "bird" + (1 + random(3));
}
var _local3 = 600;
var _local2 = 100 + (random(25) * 10);
m3.attachMovie(_local1, "enemy" + r.nd, r.nd, {_x:_local3, _y:_local2});
r.nd++;
};
MovieClip.prototype.energize = function (a) {
r.energy = Math.min(r.energymax, r.energy + a);
r.energy = Math.max(0, r.energy);
if (a > 0) {
r.zbonus.start();
r.zscream1.stop();
r.zaoo.start();
r.screaming = 100;
} else {
r.zhit.start();
r.zaoo.stop();
r.zscream1.start();
r.screamhit = 50;
r.energybar.bg.gotoAndPlay(2);
}
};
MovieClip.prototype.popskor = function (x, y, sk) {
m2.attachMovie("skorani", "skorani" + r.ed, r.ed, {_x:x, _y:y, sk:sk});
r.ang = r.ang + sk;
r.ed++;
};
MovieClip.prototype.popskor2 = function (x, y, sk) {
this.attachMovie("skorani2", "skorani" + r.ed, 100, {_x:x, _y:y, sk:sk});
r.ang = r.ang + sk;
r.ed++;
};
MovieClip.prototype.initfruit = function (sk) {
var t = this;
t.sk = sk;
t.onEnterFrame = function () {
t._x = t._x + r.bgspeed;
t.res = t.cekgot();
if (t.res) {
if (t.sk == 999) {
energize(r.energymax);
m2.attachMovie("message", "message" + r.ed, r.ed, {_x:t._x, _y:t._y});
r.ed++;
} else {
popskor(t._x, t._y, t.sk);
r.ztink1.start();
}
t.removeMovieClip();
}
if (t._x < (-t._width)) {
t.removeMovieClip();
}
};
};
MovieClip.prototype.cekgot = function () {
var _local2 = this;
if (_local2._x < 250) {
if (_local2._x > 90) {
if ((p._y - 20) < _local2._y) {
if ((p._y + 100) > _local2._y) {
if (p.a.z.hitTest(_local2._x, _local2._y, 1)) {
return(true);
}
}
}
}
}
return(false);
};
MovieClip.prototype.cekhitp = function () {
if (!r.inv) {
var _local2 = this;
if (_local2._x < 250) {
if ((p._y - 20) < _local2._y) {
if ((p._y + 100) > _local2._y) {
if (p.a.z2.hitTest(_local2._x, _local2._y, 1)) {
energize(-2);
r.zhit1.start();
if (r.energy <= 0) {
p.attachMovie("blink", "blink", 10, {d:20});
r.falling = 1;
} else {
p.attachMovie("blink", "blink", 10, {d:50});
r.inv = r.invhitdelay;
}
}
}
}
}
}
};
MovieClip.prototype.movescreen = function () {
m._x = 160 - p._x;
};
MovieClip.prototype.dxdydist = function () {
r.dx = p._x - r.ax;
r.dy = r.ay - p._y;
r.dist = Math.sqrt((r.dx * r.dx) + (r.dy * r.dy));
};
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.setTint = function (col, percent, resetMode) {
if (isNaN(col) || (isNaN(percent))) {
return(undefined);
}
col = ((col <= 0) ? 0 : (((col >= 16777215) ? 16777215 : (Math.round(col)))));
percent = ((percent <= 0) ? 0 : (((percent >= 100) ? 1 : (percent / 100))));
if ((resetMode == undefined) || ((resetMode != true) && (resetMode != false))) {
resetMode = true;
}
var trans = this.getTransform();
if (resetMode) {
with (trans) {
ra = (ga = (ba = 100));
rb = (gb = (bb = 0));
}
}
with (trans) {
ra = ra - (ra * percent);
ga = ga - (ga * percent);
ba = ba - (ba * percent);
rb = rb + ((((col & 16711680) >> 16) - rb) * percent);
gb = gb + ((((col & 65280) >> 8) - gb) * percent);
bb = bb + (((col & 255) - 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("lazcookie", "/");
_local1.data[vari] = value;
_local1.flush();
};
MovieClip.prototype.loadcookie = function (vari) {
var _local1 = SharedObject.getLocal("lazcookie", "/");
if (_local1.data[vari] != null) {
return(_local1.data[vari]);
}
return(false);
};
Frame 16
call("pro");
fadescreen();
stop();
Frame 23
call("pro");
fadescreen();
stop();
Frame 30
_global.m = this.map;
_global.m2 = this.map2;
_global.m3 = this.map3;
_global.m4 = this.map4;
_global.m5 = this.map5;
m.attachMovie("george", "george", 10, {_x:0, _y:0});
_global.p = m.george;
_global.l = m.lin;
delete onEnterFrame;
call("pro");
fadescreen(10);
if (!r.energy) {
ang = 0;
got = 0;
energy = (energymax = 10);
animaltype = [1, 2, 3, 4];
animalran = [];
grav = 10;
dvx = 0.7;
nil = 10;
inv = 0;
invhitdelay = 70;
bonusdelay = 10;
ed = 100;
nd = 1000;
enemydelay = 150;
enemydelaymin = 20;
item = [1, 4, 2, 3, 1, 3, 2, 1, 4, 3, 1, 3, 2, 3, 4, 1, 2, 1, 3, 4, 1, 2, 2, 1];
itemran = [];
level = 200;
treetype = 2;
treenow = 2;
treepos = [120, 100, 60, 20, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
treeposrange = 4;
treeposran = [];
stopAllSounds();
r.createEmptyMovieClip("sfx", 60001);
allsfx = ["zleaves", "zhit1", "zhit2", "zbonus", "ztink1", "ztink2"];
var i = 0;
while (i < allsfx.length) {
r[allsfx[i]] = new Sound(sfx);
r[allsfx[i]].attachSound(allsfx[i]);
i++;
}
r.createEmptyMovieClip("sfx3", 60003);
allsfx = ["zscream1", "zscream2", "zaoo"];
var i = 0;
while (i < allsfx.length) {
r[allsfx[i]] = new Sound(sfx3);
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);
if (!r.mute) {
r.zloop.fade("in", 1);
r.zbonus.setVolume(100);
r.zscream1.setVolume(100);
} else {
r.zbonus.setVolume(0);
r.zscream1.setVolume(0);
}
}
ax = 300;
ay = 0;
d = 200;
ld = level;
bgspeed = -5;
bgspeed2 = -2;
bgspeed3 = -4;
bgspeed4 = -3;
falling = false;
hit = false;
xnow = 0;
nextx = 200;
screaming = 0;
screamhit = 0;
bd = bonusdelay;
onEnterFrame = function () {
r.xnow = r.xnow - r.bgspeed;
if (r.nextx < r.xnow) {
if (!r.itemran.length) {
r.itemran = r.item.copy();
}
r.bd--;
if (r.bd < 0) {
if (r.energy < r.energymax) {
pick = 5;
r.bonusdelay = r.bonusdelay + 1;
r.bd = r.bonusdelay;
} else {
pick = r.itemran.shift();
r.bd = r.bonusdelay;
}
} else {
pick = r.itemran.shift();
}
make(pick);
}
d--;
if (d < 0) {
d = r.enemydelay + random(50);
popenemy(1);
}
if (r.inv > 0) {
r.inv--;
p._visible = !p._visible;
if (!r.inv) {
p._visible = 1;
}
}
ld--;
if (!ld) {
ld = level;
if (r.enemydelay > r.enemydelaymin) {
r.enemydelay = r.enemydelay - 2;
}
if (r.treeposrange < r.treepos.length) {
r.treeposrange++;
}
}
if (r.screaming > 0) {
r.screaming--;
}
if (r.screamhit > 0) {
r.screamhit--;
}
};
stop();
Frame 37
delete onEnterFrame;
fadescreen();
if (r.got > 0) {
if (r.got > 1) {
endtxt = ("YOU RESCUED " + r.got) + " ANIMALS";
} else {
endtxt = "YOU RESCUED 1 ANIMAL";
}
} else {
endtxt = "NO ANIMALS RESCUED";
}
stop();
Frame 43
gotoAndPlay ("start");
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 2 MovieClip [blink] Frame 1
if (!d) {
d = 50;
}
c = new Color(_parent);
a = 1;
b = 1;
onEnterFrame = function () {
d--;
a--;
if (!a) {
a = 2;
b = !b;
if (b) {
c.setBrightness(50);
} else {
c.setTint(16711680, 50);
}
if (br > 50) {
br = br - 5;
}
} else {
c.resetcolor();
}
if (!d) {
c.resetcolor();
this.removeMovieClip();
}
};
Symbol 7 MovieClip Frame 1
onenterframe = function () {
_xscale = r.percent;
};
stop();
Symbol 395 MovieClip [__Packages.GameTrack_AS2] Frame 0
class GameTrack_AS2
{
var trkConnection;
function GameTrack_AS2 (level) {
trkConnection = new LocalConnection();
loadMovieNum ("tracker.swf", level);
}
function sendEventReplay() {
trackNewEvent("replay");
}
function sendEventWin() {
trackNewEvent("win");
}
function sendEventLose() {
trackNewEvent("lose");
}
function sendEventCustom(event) {
trackNewEvent("cust_" + event);
}
function trackNewEvent(eventName) {
trkConnection.send("trkConnection", "sendTracking", eventName);
}
}
Symbol 28 MovieClip Frame 1
stop();
Symbol 31 MovieClip Frame 1
stop();
Symbol 31 MovieClip Frame 2
swing(a, 1.5, 0.7);
stop();
Symbol 47 MovieClip Frame 1
stop();
Symbol 47 MovieClip Frame 2
swing(a, 1.5, 0.7);
var i = 1;
while (i <= 6) {
swing(a["l" + i], 3, 1.2 + (0.3 * i));
i++;
}
var i = 0;
while (i < 10) {
ska = 70 + (random(10) * 3);
this.attachMovie("leaf", "leaf" + i, i, {_rotation:-90 + random(180), _xscale:ska, _yscale:ska});
i++;
}
stop();
Symbol 50 MovieClip Frame 1
_visible = false;
Symbol 51 MovieClip Frame 1
_visible = false;
Symbol 54 MovieClip Frame 1
stop();
Symbol 54 MovieClip Frame 2
swing(a, 1.5, 0.7);
stop();
Symbol 70 MovieClip Frame 1
stop();
Symbol 70 MovieClip Frame 2
swing(a, 1.5, 0.7);
var i = 1;
while (i <= 6) {
swing(a["l" + i], 3, 1.2 + (0.3 * i));
i++;
}
var i = 0;
while (i < 10) {
ska = 70 + (random(10) * 3);
this.attachMovie("leaf", "leaf" + i, i, {_rotation:-90 + random(180), _xscale:ska, _yscale:ska});
i++;
}
stop();
Symbol 72 MovieClip Frame 1
gotoAndStop(_parent.tipe);
Symbol 73 MovieClip [tree] Frame 1
uda = 0;
brush = 0;
onEnterFrame = function () {
_x = (_x + r.bgspeed);
if (!uda) {
if (_x < 250) {
if (!brush) {
if (tree.z2.hitTest(p.a.z2)) {
brush = 1;
tree.tree.leaves.gotoAndPlay(2);
tree.tree.oval.gotoAndPlay(2);
r.zleaves.start();
}
}
if (tree.z1.hitTest(p.a.z3)) {
uda = 1;
r.hit = this;
tree.tree.leaves.gotoAndPlay(2);
tree.tree.oval.gotoAndPlay(2);
tree.tree.body.gotoAndPlay(2);
shake(tree, 2);
}
}
}
if (_x < (-_width)) {
this.removeMovieClip();
}
};
stop();
Symbol 97 MovieClip [ring] Frame 9
this.removeMovieClip();
stop();
Symbol 101 MovieClip [skorani] Frame 1
a.sk = sk;
accel = 0.7;
convert = 0.5;
_yscale = 150;
_xscale = 150;
val = 100;
d = 30;
xs = 1;
onEnterFrame = function () {
xs = (xs * accel) + ((val - _xscale) * convert);
_xscale = (_xscale + xs);
_yscale = _xscale;
_x = (_x + r.bgspeed);
d--;
if (!d) {
this.removeMovieClip();
}
};
Symbol 113 MovieClip [bird1] Frame 1
initbird();
Symbol 131 MovieClip [georgetree] Frame 1
d = 20;
ys = 1;
grav = 1;
onEnterFrame = function () {
d--;
if (d < 0) {
_y = (_y + ys);
ys = ys + grav;
}
};
stop();
Symbol 133 MovieClip Frame 1
_visible = false;
Symbol 135 MovieClip Frame 1
_visible = false;
Symbol 137 MovieClip Frame 1
_visible = false;
Symbol 166 MovieClip Frame 1
onEnterFrame = function () {
if (r.screaming) {
gotoAndStop (2);
} else if (r.screamhit) {
gotoAndStop (3);
} else {
gotoAndStop (1);
}
};
Symbol 170 MovieClip Frame 1
_visible = false;
Symbol 172 MovieClip Frame 1
_visible = false;
Symbol 174 MovieClip Frame 1
_visible = false;
Symbol 176 MovieClip Frame 1
_visible = false;
Symbol 177 MovieClip Frame 24
stop();
Symbol 179 MovieClip Frame 1
_visible = false;
Symbol 194 MovieClip Frame 20
stop();
Symbol 195 MovieClip Frame 1
onEnterFrame = function () {
if (r.screaming) {
gotoAndStop (2);
} else if (r.screamhit) {
gotoAndStop (3);
} else {
gotoAndStop (1);
}
};
Symbol 198 MovieClip Frame 30
stop();
Symbol 215 MovieClip [george] Frame 1
stop();
Symbol 267 MovieClip Frame 1
gotoAndStop(_parent.no);
Symbol 268 MovieClip [animal] Frame 1
uda = 0;
onEnterFrame = function () {
_x = (_x + r.bgspeed);
if (!uda) {
if (_x < 250) {
if (p._y > 300) {
if (p.a.z2.hitTest(a)) {
uda = 1;
r.got++;
a._visible = 0;
popskor2(0, -50, r.nil * 30);
r.ztink2.start();
}
}
}
}
if (_x < -40) {
this.removeMovieClip();
}
};
Symbol 274 MovieClip [skorani2] Frame 1
a.sk = sk;
accel = 0.7;
convert = 0.5;
_yscale = 220;
_xscale = 220;
val = 125;
d = 50;
xs = 1;
onEnterFrame = function () {
xs = (xs * accel) + ((val - _xscale) * convert);
_xscale = (_xscale + xs);
_yscale = _xscale;
d--;
if (!d) {
this.removeMovieClip();
}
};
Symbol 278 MovieClip Frame 1
if (!uda) {
uda = 1;
gotoAndPlay(1 + random(8));
}
Symbol 279 MovieClip Frame 1
x = 50 + random(50);
div = 3 + random(3);
ro = 10 + random(20);
onEnterFrame = function () {
_x = (_x + ((x - _x) / div));
a._rotation = a._rotation + ro;
};
stop();
Symbol 280 MovieClip [leaf] Frame 1
ys = 1 + random(2);
onEnterFrame = function () {
_y = (_y + ys);
};
Symbol 292 MovieClip [bird2] Frame 1
initbird();
Symbol 304 MovieClip [bird3] Frame 1
initbird();
Symbol 308 MovieClip [message] Frame 1
a.sk = sk;
accel = 0.7;
convert = 0.5;
_yscale = 150;
_xscale = 150;
val = 100;
d = 30;
xs = 1;
onEnterFrame = function () {
xs = (xs * accel) + ((val - _xscale) * convert);
_xscale = (_xscale + xs);
_yscale = _xscale;
_x = (_x + r.bgspeed);
d--;
if (!d) {
this.removeMovieClip();
}
};
Symbol 314 Button
on (release) {
gotoAndStop ("ins");
}
Symbol 335 Button
on (release) {
_tracker = new GameTrack_AS2(22000);
gotoAndPlay ("start");
}
Symbol 346 MovieClip Frame 1
duplicateMovieClip ("pic", "pic2", 2);
wid = pic._width;
pic2._x = wid;
startx = _x;
onEnterFrame = function () {
nx = _x + r.bgspeed2;
if (nx < (startx - wid)) {
nx = nx + wid;
}
_x = nx;
};
Symbol 351 MovieClip Frame 1
duplicateMovieClip ("pic", "pic2", 2);
wid = pic._width;
pic2._x = wid;
startx = _x;
onEnterFrame = function () {
nx = _x + r.bgspeed4;
if (nx < (startx - wid)) {
nx = nx + wid;
}
_x = nx;
};
Symbol 356 MovieClip Frame 1
duplicateMovieClip ("pic", "pic2", 2);
wid = pic._width;
pic2._x = wid;
startx = _x;
onEnterFrame = function () {
nx = _x + r.bgspeed3;
if (nx < (startx - wid)) {
nx = nx + wid;
}
_x = nx;
};
Symbol 362 MovieClip Frame 1
p.gotoAndStop("swing");
l.vine._visible = true;
if (!uda) {
uda = 1;
linelength = 250;
} else {
linelength = Math.max(70, p._y);
}
r.ax = p._x + linelength;
r.ay = 0;
dxdydist();
pos = [];
r.speed = 16;
movescreen();
onEnterFrame = function () {
r.speed = r.speed + ((-r.dvx) * (r.grav * (r.dx / r.dist)));
r.dx = r.dx + (r.dvx * r.speed);
r.dy = Math.sqrt((r.dist * r.dist) - (r.dx * r.dx));
p._x = r.ax + r.dx;
p._y = r.ay + r.dy;
pos.push({x:p._x, y:p._y});
if (r.pressing) {
if (r._ymouse < p._y) {
r.dist = r.dist * 0.95;
} else {
r.dist = r.dist * 1.1;
}
}
movescreen();
oldangle = angle;
angle = deg(Math.atan2(r.dy, r.dx));
l.vine._x = p._x;
l.vine._y = p._y;
l.vine._rotation = angle;
if (r.hit) {
with (l) {
clear();
}
delete onEnterFrame;
gotoAndPlay ("treehit");
} else if (r.falling) {
with (l) {
clear();
}
delete onEnterFrame;
gotoAndPlay ("fall");
} else if (p._x > r.ax) {
if ((angle < 40) or ((oldangle - angle) < 3)) {
delete onEnterFrame;
l.clear();
gotoAndPlay ("fly");
}
}
};
stop();
Symbol 362 MovieClip Frame 8
p.gotoAndStop("fly");
l.vine._visible = false;
if (p._y > 200) {
xs = 28;
ys = -14;
} else if ((p._y <= 200) and (p._y > 70)) {
xs = 22;
ys = -11;
} else {
xs = 18;
ys = -9;
}
grav2 = 0.8;
p._x = p._x + xs;
p._y = p._y + ys;
movescreen();
swing = 0;
clic = 0;
onMouseDown = function () {
clic = 10;
};
onEnterFrame = function () {
p._x = p._x + xs;
if (xs < 30) {
xs = xs * 1.5;
}
p._y = p._y + ys;
ys = ys + grav2;
if (p._y < -50) {
p._y = -50;
ys = 1;
}
movescreen();
if (p._y > 230) {
swing = 1;
}
if (p._y > 22) {
if (clic) {
swing = 1;
}
}
if (clic) {
clic--;
}
if (r.falling) {
with (l) {
clear();
}
delete onEnterFrame;
gotoAndPlay ("fall");
} else if (swing) {
delete onEnterFrame;
delete onMouseDown;
gotoAndPlay ("swing");
}
};
stop();
Symbol 362 MovieClip Frame 13
l.vine._visible = false;
hx = r.hit.tree.z1._x;
hy = (p._y - 400) - (r.hit._y - 400);
r.hit.tree.attachMovie("georgetree", "georgetree", 10, {_x:hx, _y:Math.max(-220, Math.min((p._y - 400) - 50, hy))});
p.removeMovieClip();
r.bgspeed = (r.bgspeed2 = (r.bgspeed3 = (r.bgspeed4 = 0)));
r.energy = Math.max(0, r.energy - 3);
r.zhit2.start();
d = 50;
onEnterFrame = function () {
d--;
if (!d) {
if (!r.energy) {
r.gotoAndPlay("end");
} else {
r.gotoAndPlay("next");
}
}
};
stop();
Symbol 362 MovieClip Frame 20
p.gotoAndStop("fall");
r.zaoo.stop();
r.zscream2.start();
l.vine._visible = false;
ys = -5;
grav = 1;
onEnterFrame = function () {
p._y = p._y + ys;
ys = ys + grav;
};
stop();
Symbol 365 MovieClip Frame 1
stop();
Symbol 368 MovieClip Frame 15
stop();
Symbol 370 MovieClip Frame 1
stop();
Symbol 371 MovieClip Frame 1
MovieClip.prototype.showenergy = function () {
var _local2 = 1;
while (_local2 <= r.energymax) {
if (_local2 <= r.energy) {
this["s" + _local2].gotoAndStop(1);
} else {
this["s" + _local2].gotoAndStop(2);
}
_local2++;
}
};
showenergy();
d = (delay = 20);
onEnterFrame = function () {
d--;
if (!d) {
d = delay;
showenergy();
if (r.energy <= 0) {
d = 60;
this.onEnterFrame = function () {
d--;
if (!d) {
r.gotoAndPlay("end");
}
};
}
}
};
Symbol 377 Button
on (release) {
r.mute = 1;
r.zscream1.setVolume(0);
r.zbonus.setVolume(0);
r.zloop.setVolume(0);
gotoAndStop (2);
}
Symbol 380 Button
on (release) {
r.mute = 0;
r.zscream1.setVolume(100);
r.zbonus.setVolume(100);
r.zloop.setVolume(100);
gotoAndStop (1);
}
Symbol 383 MovieClip Frame 1
if (r.mute) {
gotoAndStop (2);
} else {
stop();
}
Symbol 389 Button
on (release) {
_tracker.sendEventReplay();
r.energy = 0;
gotoAndPlay ("start");
}