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) {
music = 1;
delete onEnterFrame;
gotoAndPlay ("menu");
} else {
loaded = Math.round(getBytesLoaded() / 1024);
total = Math.round(getBytesTotal() / 1024);
percent = Math.round((loaded / total) * 100);
}
};
stop();
Frame 7
MovieClip.prototype.initcloud = function () {
var t = this;
t.val = Number(substring(t._name, 2, 2));
t.onEnterFrame = function () {
if (r.fogvalue < t.val) {
t.d = 5 + random(20);
t.onEnterFrame = function () {
t.d--;
if (!t.d) {
t.onEnterFrame = function () {
t._alpha = t._alpha - 10;
if (t._alpha < 0) {
delete t.onEnterFrame;
t._visible = false;
t._alpha = 0;
t.gotoAndStop(2);
}
};
}
};
}
};
t.stop();
};
MovieClip.prototype.findspot = function () {
var _local4 = 0;
var _local5 = 30;
while (!_local4) {
_local4 = 1;
var _local2 = getrandom("hpos");
_local5--;
if (_local5 > 0) {
if (Math.abs(((_local2 + r.wro) % 360) - 270) < 90) {
_local4 = 0;
}
var _local1 = 0;
while (_local1 < r.holes.length) {
var _local3 = r.holes[_local1];
if (Math.abs(_local3.ro - _local2) < 10) {
_local4 = 0;
}
_local1++;
}
if (_local4 and r.trees.length) {
_local1 = 0;
while (_local1 < r.trees.length) {
var _local3 = r.trees[_local1];
if (Math.abs(_local3.ro - _local2) < 10) {
_local4 = 0;
}
_local1++;
}
}
}
}
return(_local2);
};
MovieClip.prototype.setpos = function () {
this._x = r.radius;
this._rotation = 90;
};
MovieClip.prototype.initgrow = function () {
var t = this;
r.trees.push(t);
t.a.setpos();
t.d = 15;
t.onEnterFrame = function () {
t.d--;
if (!t.d) {
r.zgrow.start();
if (!r.finish) {
make(1, findspot());
}
delete t.onEnterFrame;
}
};
};
MovieClip.prototype.initenemy = function (id) {
var t = this;
t.a.setpos();
switch (id) {
case 1 :
t.speed = r.gopherspeed.shift();
break;
case 2 :
t.speed = r.rabbitspeed.shift();
}
if (t.speed < 0) {
t.a._xscale = -t.a._xscale;
}
t.onEnterFrame = function () {
t.ro = t.ro + t.speed;
if (t.ro < 0) {
t.ro = t.ro + 360;
}
t._rotation = t.ro;
t.dro = (r.wro + t.ro) % 360;
if (!r.inv) {
if (t.cekhitp()) {
r.hit = t;
}
}
};
};
MovieClip.prototype.cekhitp = function () {
var _local2 = this;
if (Math.abs(_local2.dro - 270) < r.rohitrange) {
if (_local2.a.z.hitTest(p.z)) {
return(true);
}
}
return(false);
};
MovieClip.prototype.popscore = function (ro, nil, tipe) {
w.attachMovie("popscore", "popscore", r.od, {_rotation:ro, nil:nil, tipe:tipe});
r.od++;
};
MovieClip.prototype.inithole = function (id) {
var t = this;
t.a.setpos();
t.id = id;
t.hit = 0;
t.ro = ro360(t._rotation);
r.holes.push(t);
t.onEnterFrame = function () {
t.dro = (r.wro + t.ro) % 360;
if (Math.abs(t.dro - 270) < r.rohitrange) {
if (r.hold) {
if (t.a.z1.hitTest(p.z)) {
r.planthole = t;
} else if (t.a.z2.hitTest(p.z)) {
r.planthole = t;
}
}
}
if (t.fill) {
t.a.gotoAndPlay("hit");
t.onEnterFrame = function () {
t._alpha = t._alpha - 20;
if (t._alpha <= 0) {
r.holes.removeValue(t);
t.removeMovieClip();
}
};
}
};
};
MovieClip.prototype.hadap = function (hd) {
if (hd == 2) {
p._xscale = 100;
} else {
p._xscale = -100;
}
};
MovieClip.prototype.initsmall = function (id) {
var t = this;
t.a.setpos();
t.id = id;
t.ro = ro360(t._rotation);
t.onEnterFrame = function () {
t.dro = (r.wro + t.ro) % 360;
if (Math.abs(t.dro - 270) < r.rohitrange) {
if (!r.hold) {
if (t.a.a.z.hitTest(p.z)) {
r.hold = t.id;
r.zpick.start();
t.removeMovieClip();
}
}
}
};
};
MovieClip.prototype.initbonus = function (id) {
var t = this;
t.a.setpos();
t.id = id;
t.ro = ro360(t._rotation);
t.onEnterFrame = function () {
t.dro = (r.wro + t.ro) % 360;
if (Math.abs(t.dro - 270) < r.rohitrange) {
if (t.a.a.z.hitTest(p.z)) {
energize(1);
r.zbonus.start();
popscore(t.ro, 0, 2);
t.removeMovieClip();
}
}
};
};
MovieClip.prototype.ro360 = function (ro) {
if (ro < 0) {
ro = ro + 360;
}
return(Math.round(ro % 360));
};
MovieClip.prototype.turnworld = function (ro) {
r.wro = ro360(r.wro + ro);
w._rotation = r.wro;
b1._rotation = b1._rotation + (ro / 2);
sky._rotation = sky._rotation + (ro / 4);
};
MovieClip.prototype.make = function (no, ro) {
var _local2 = [0, "tree1small", 2, 3, 4, 5, 6, 7, "apple", "hole", 0, "tree1", 2, 3, 4, 5, 6, 7, 8, 9, 0, "gopher", "rabbit"];
var _local1 = _local2[no];
if (no < 20) {
w.attachMovie(_local1, "ob" + r.od, r.od, {_rotation:ro, ro:ro});
r.od++;
} else {
w.attachMovie(_local1, "enemy" + r.ed, r.ed, {_rotation:ro, ro:ro});
r.ed++;
}
};
MovieClip.prototype.ayun = function () {
var t = this;
t.ro = 0.1 + (random(4) / 10);
t.delay = 10 + random(10);
t.d = t.delay;
t.normalska = Math.round(t._xscale);
t.ska = 128;
if (t.ska > 0) {
t._xscale = (t._yscale = 20);
} else {
t._xscale = (t._yscale = -20);
}
t.div = 2 - (random(15) / 20);
t.onEnterFrame = function () {
if (t._yscale != t.ska) {
t.sk = t.ska + ((t._xscale - t.ska) / t.div);
t._xscale = (t._yscale = t.sk);
if (Math.abs(t._yscale - t.ska) < 5) {
t._xscale = (t._yscale = t.ska);
if (t.ska != t.normalska) {
t.ska = t.normalska;
}
if (t.ska == t.normalska) {
if (Math.abs(t._yscale - t.ska) < 5) {
t._xscale = (t._yscale = t.normalska);
t.onEnterFrame = function () {
if (r.act != "run") {
t._rotation = t._rotation + t.ro;
t.d--;
if (!t.d) {
t.ro = -t.ro;
t.d = t.delay;
}
}
};
}
}
}
}
};
};
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.energybar.gotoAndPlay(1);
};
MovieClip.prototype.initpopup = function (delay, distance, golabel) {
var t = this;
if (!delay) {
delay = 30;
}
if (!distance) {
distance = 20;
}
t.yy = t._y - distance;
t._alpha = 0;
var d = delay;
t.onEnterFrame = function () {
t._alpha = Math.min(100, t._alpha + 20);
t._y = Math.floor(t._y + ((t.yy - t._y) / 3));
d--;
if (!d) {
t.onEnterFrame = function () {
t._alpha = t._alpha - 20;
t._y = t._y - 3;
if (t._alpha <= 0) {
delete t.onEnterFrame;
if (!golabel) {
t.removeMovieClip();
} else {
t.gotoAndPlay(golabel);
}
}
};
}
};
t.stop();
};
MovieClip.prototype.jiggle = function (beginska) {
var t = this;
if (!beginska) {
beginska = 200;
}
t._xscale = (t._yscale = beginska);
t.ska = 100;
t.dx = 0;
t.dy = 0;
t.dv = 0.8;
t.dvstep = 0.6;
t.onEnterFrame = function () {
t.dx = (t.dx * t.dvstep) + ((t.ska - t._xscale) * t.dv);
t.dy = (t.dy * t.dvstep) + ((t.ska - t._yscale) * t.dv);
t._xscale = t._xscale + t.dx;
t._yscale = t._yscale + (t.dy * 1.5);
};
};
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("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 14
call("pro");
fadescreen();
stop();
Frame 22
call("pro");
fadescreen();
stop();
Frame 28
_global.m = this.map;
_global.w = m.world;
_global.b1 = m.b1;
_global.b2 = m.b2;
_global.b3 = m.b3;
_global.sky = m.sky;
_global.fog = m.fog;
_global.p = m.chowder;
delete onEnterFrame;
call("pro");
fadescreen(8);
if (!level) {
level = 1;
ang = 0;
}
onesec = 25;
allwaktu = [0, 20, 25, 30, 35, 40, 50, 65, 85];
totalwaktu = (waktu = allwaktu[level] * onesec);
alltotalholes = [0, 1, 2, 3, 4, 5, 6, 7, 8];
totalholes = alltotalholes[level];
levelmax = alltotalholes.length - 1;
fogvalue = 100;
fogdiv = Math.ceil(fogvalue / totalholes);
pspeed = 2;
ps = 0;
jump = 0;
rohitrange = 15;
jumppower = -15;
gopherspeed = [2.5, 3, 3.5];
rabbitspeed = [-1.5, 2, -2.5];
hspacing = 20;
htot = Math.floor(360 / hspacing);
hpos = [];
var i = 1;
while (i < htot) {
hpos.push(i * hspacing);
i++;
}
hpos.randomize();
grav = 2;
wro = 0;
nil = 3000;
hold = 0;
yland = p._y;
radius = 125;
planthole = 0;
screenwid = 600;
screenhei = 400;
xmid = screenwid / 2;
energy = (energymax = 3);
bd = (bonusdelay = 200);
bonusout = 3;
act = "stand";
hit = 0;
inv = 0;
invhitdelay = 70;
od = 1000;
ed = 3000;
edelay = 40;
enemy = [];
holes = [];
trees = [];
finish = 0;
resetrandom();
if (!r.udamusik) {
r.udamusik = 1;
stopAllSounds();
r.createEmptyMovieClip("sfx", 60001);
allsfx = ["zrun1", "zrun2", "zgrow", "zstep", "zpick", "zplant", "zhit", "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);
}
var i = 0;
while (i < r.totalholes) {
make(9, r.hpos[i]);
i++;
}
make(22, 180);
if (r.level > 1) {
make(22, 0);
}
if (r.level > 4) {
make(21, 160);
}
r.attachMovie("levelinfo", "levelinfo", 100, {_x:300, _y:220});
onEnterFrame = function () {
r.bd--;
if (!r.bd) {
r.bd = r.bonusdelay;
if (r.energy < r.energymax) {
if (r.bonusout > 0) {
r.bonusout--;
make(8, findspot());
r.bonusdelay = r.bonusdelay + 100;
}
}
}
if (r.inv > 0) {
r.inv--;
p._visible = !p._visible;
if (!r.inv) {
p._visible = true;
}
}
};
stop();
Instance of Symbol 291 MovieClip in Frame 28
onClipEvent (load) {
letterkeys = ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"];
numberkeys = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"];
numpadkeys = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "*", "+", "Enter", "-", ".", "/"];
functionkeys = ["F1", "F2", "F3", "F4", "F5", "F6", "F7", "F8", "F9", "F10", "F11", "F12"];
otherkeys = ["Space", "Page Up", "Page Down", "End", "Home", "Left", "Up", "Right", "Down"];
keypressed = "";
}
onClipEvent (keyDown) {
k = Key.getCode();
if ((k >= 65) and (k <= 90)) {
keyp = letterkeys[k - 65];
}
if ((k >= 48) and (k <= 57)) {
keyp = numberkeys[k - 48];
}
if ((k >= 96) and (k <= 111)) {
keyp = numpadkeys[k - 96];
}
if ((k >= 112) and (k <= 123)) {
keyp = functionkeys[k - 112];
}
if ((k >= 32) and (k <= 40)) {
keyp = otherkeys[k - 32];
}
if (k == 8) {
keyp = "BackSpace";
}
if (k == 9) {
keyp = "Tab";
}
if (k == 12) {
keyp = "Clear";
}
if (k == 13) {
keyp = "Enter";
}
if (k == 16) {
keyp = "Shift";
}
if (k == 17) {
keyp = "Control";
}
if (k == 18) {
keyp = "Alt";
}
if (k == 20) {
keyp = "Caps Lock";
}
if (k == 27) {
keyp = "Esc";
}
if (k == 45) {
keyp = "Insert";
}
if (k == 46) {
keyp = "Delete";
}
if (k == 47) {
keyp = "help";
}
if (k == 144) {
keyp = "Num Lock";
}
if (k == 186) {
keyp = ";:";
}
if (k == 187) {
keyp = "=+";
}
if (k == 189) {
keyp = "-_";
}
if (k == 191) {
keyp = "/?";
}
if (k == 192) {
keyp = "'@";
}
if (k == 219) {
keyp = "[{";
}
if (k == 220) {
keyp = "\\|";
}
if (k == 221) {
keyp = "]}";
}
keypressed = keypressed + keyp;
if ((substring(keypressed, keypressed.length - 3, 4)) == "NEXT") {
if (r.level < r.levelmax) {
r.zbonus.start();
r.gotoAndPlay("next");
keypressed = "";
}
}
if ((substring(keypressed, keypressed.length - 3, 4)) == "FULL") {
energize(5);
keypressed = "";
}
if ((substring(keypressed, keypressed.length - 4, 5)) == "RELAX") {
r.zbonus.start();
delete r.timer.onEnterFrame;
keypressed = "";
}
}
Frame 29
r.level++;
if (r.level > r.levelmax) {
r.gotoAndPlay("win");
} else {
r.gotoAndPlay("start");
}
Frame 36
delete onEnterFrame;
r.zrun.setVolume(0);
fadescreen();
stop();
Frame 45
delete onEnterFrame;
r.zrun.setVolume(0);
fadescreen();
stop();
Frame 52
delete onEnterFrame;
r.zrun.setVolume(0);
fadescreen();
stop();
Frame 58
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 361 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 14 MovieClip Frame 1
stop();
Symbol 18 MovieClip Frame 1
_visible = false;
Symbol 25 MovieClip Frame 31
gotoAndPlay ("l");
Symbol 26 MovieClip [tree1small] Frame 1
initsmall(1);
Symbol 32 MovieClip Frame 1
ayun();
Symbol 34 MovieClip Frame 1
ayun();
Symbol 36 MovieClip Frame 1
ayun();
Symbol 38 MovieClip Frame 1
ayun();
Symbol 40 MovieClip Frame 1
ayun();
Symbol 41 MovieClip Frame 18
popscore(_parent._rotation, r.nil);
stop();
Symbol 42 MovieClip [tree1] Frame 1
initgrow();
Symbol 44 MovieClip Frame 1
_visible = false;
Symbol 48 MovieClip Frame 1
stop();
Symbol 49 MovieClip [hole] Frame 1
inithole();
Symbol 53 MovieClip Frame 31
_parent.removeMovieClip();
stop();
Symbol 56 MovieClip Frame 31
_parent.removeMovieClip();
stop();
Symbol 57 MovieClip [popscore] Frame 1
d = 8;
onEnterFrame = function () {
d--;
if (!d) {
delete onEnterFrame;
if (!tipe) {
gotoAndPlay (2);
} else if (tipe == 1) {
gotoAndPlay (3);
} else if (tipe == 2) {
gotoAndPlay (4);
}
}
};
stop();
Symbol 57 MovieClip [popscore] Frame 2
a._x = 218;
a._rotation = 90;
stop();
Symbol 57 MovieClip [popscore] Frame 3
a._x = 150;
a._rotation = 90;
stop();
Symbol 57 MovieClip [popscore] Frame 4
a._x = 150;
a._rotation = 90;
stop();
Symbol 59 MovieClip Frame 1
_visible = false;
Symbol 72 MovieClip Frame 9
gotoAndPlay (1);
Symbol 73 MovieClip [gopher] Frame 1
initenemy(1);
Symbol 74 MovieClip Frame 1
_visible = false;
Symbol 89 MovieClip Frame 15
gotoAndPlay (1);
Symbol 92 MovieClip Frame 15
gotoAndPlay (1);
Symbol 93 MovieClip [rabbit] Frame 1
initenemy(2);
Symbol 98 MovieClip Frame 1
n = r.level;
Symbol 100 MovieClip [levelinfo] Frame 10
d = 20;
onEnterFrame = function () {
d--;
if (d == 15) {
make(1, findspot());
}
if (!d) {
r.timer.gotoAndPlay(2);
play();
}
};
stop();
Symbol 100 MovieClip [levelinfo] Frame 19
this.removeMovieClip();
Symbol 110 MovieClip Frame 1
txt = "LEVEL " + r.level;
Symbol 114 MovieClip [finishinfo] Frame 10
stop();
Symbol 114 MovieClip [finishinfo] Frame 19
this.removeMovieClip();
Symbol 120 MovieClip Frame 31
gotoAndPlay ("l");
Symbol 121 MovieClip [apple] Frame 1
initbonus();
Symbol 127 Button
on (release) {
r.gotoAndPlay("ins");
}
Symbol 143 Button
on (release) {
_tracker = new GameTrack_AS2(22000);
r.level = 0;
r.gotoAndPlay("start");
}
Symbol 180 MovieClip Frame 2
r.zrun1.start();
Symbol 180 MovieClip Frame 9
r.zrun2.start();
Symbol 188 MovieClip Frame 1
initcloud();
Symbol 190 MovieClip Frame 1
initcloud();
Symbol 192 MovieClip Frame 1
initcloud();
Symbol 194 MovieClip Frame 1
initcloud();
Symbol 196 MovieClip Frame 1
initcloud();
Symbol 198 MovieClip Frame 1
initcloud();
Symbol 200 MovieClip Frame 1
initcloud();
Symbol 202 MovieClip Frame 1
initcloud();
Symbol 204 MovieClip Frame 1
initcloud();
Symbol 206 MovieClip Frame 1
initcloud();
Symbol 207 MovieClip Frame 1
ro = -0.3;
onEnterFrame = function () {
if (!r.ps) {
_rotation = (_rotation + ro);
} else {
_rotation = (_rotation + r.ps);
}
};
stop();
Symbol 212 MovieClip Frame 1
onEnterFrame = function () {
if (r.fogvalue < _alpha) {
_alpha = Math.max(r.fogvalue, _alpha - 2);
}
};
stop();
Symbol 221 MovieClip Frame 1
_visible = false;
Symbol 242 MovieClip Frame 15
stop();
Symbol 244 MovieClip Frame 2
r.zrun1.start();
Symbol 244 MovieClip Frame 9
r.zrun2.start();
Symbol 245 MovieClip Frame 15
stop();
Symbol 246 MovieClip Frame 5
stop();
Symbol 249 MovieClip Frame 1
if (!r.hold) {
_visible = false;
}
Symbol 262 MovieClip Frame 10
stop();
Symbol 286 MovieClip Frame 16
r.zstep.start();
Symbol 287 MovieClip Frame 1
stop();
Symbol 289 MovieClip Frame 1
d = 20;
onEnterFrame = function () {
d--;
if (!d) {
play();
}
};
stop();
Symbol 289 MovieClip Frame 2
xs = r.pspeed;
r.act = "stand";
x1 = 270;
x2 = 330;
onMouseDown = function () {
if (!r.jump) {
r.jump = 1;
r.vy = r.jumppower;
}
};
onEnterFrame = function () {
if (r.jump) {
r.act = "jump";
r.vy = r.vy + r.grav;
ny = p._y + r.vy;
if (ny > r.yland) {
ny = r.yland;
r.jump = 0;
r.zstep.start();
}
p._y = ny;
if (r.jump) {
if (r._xmouse < x1) {
r.ps = r.pspeed;
turnworld(r.ps);
} else if (r._xmouse > x2) {
r.ps = -r.pspeed;
turnworld(r.ps);
} else {
r.ps = 0;
}
}
}
if (!r.jump) {
if (r._xmouse < x1) {
r.act = "run";
r.ps = r.pspeed;
turnworld(r.ps);
} else if (r._xmouse > x2) {
r.act = "run";
r.ps = -r.pspeed;
turnworld(r.ps);
} else {
r.act = "stand";
r.ps = 0;
}
}
p.gotoAndStop(r.act + r.hold);
if (r._xmouse > r.xmid) {
r.hd = 2;
} else {
r.hd = 1;
}
hadap(r.hd);
if (r.hit) {
delete onEnterFrame;
gotoAndPlay ("hit");
} else if (r.planthole) {
delete onEnterFrame;
gotoAndPlay ("plant");
}
};
stop();
Symbol 289 MovieClip Frame 9
d = 4;
r.act = "plant";
p.gotoAndStop(r.act + r.hold);
r.hold = 0;
if (r.planthole.dro > 270) {
r.hd = 2;
speed = (r.ps = -r.pspeed);
} else {
r.hd = 1;
speed = (r.ps = r.pspeed);
}
hadap(r.hd);
if (r.holes.length == 1) {
r.finish = 1;
}
onEnterFrame = function () {
turnworld(speed);
d--;
if (!d) {
r.zplant.start();
make(11, r.planthole.ro);
r.planthole.fill = 1;
r.planthole = 0;
r.fogvalue = Math.max(0, r.fogvalue - r.fogdiv);
delete onEnterFrame;
r.ang = r.ang + r.nil;
if (r.finish) {
gotoAndPlay ("fin");
} else {
gotoAndPlay ("run");
}
}
};
stop();
Symbol 289 MovieClip Frame 17
d = 9;
r.act = "hit";
r.ps = 0;
p.gotoAndStop(r.act);
r.zhit.start();
energize(-1);
onEnterFrame = function () {
d--;
if (!d) {
r.hit = 0;
r.jump = 0;
p._y = r.yland;
r.inv = r.invhitdelay;
delete onEnterFrame;
gotoAndPlay ("run");
}
};
stop();
Symbol 289 MovieClip Frame 23
d = 30;
r.ps = 0;
r.jump = 0;
p._y = r.yland;
r.act = "win";
p.gotoAndStop(r.act);
r.tbonus = r.waktu * 10;
onEnterFrame = function () {
d--;
if (!d) {
r.attachMovie("finishinfo", "finishinfo", 100, {_x:300, _y:220});
}
if (d == -20) {
delete onEnterFrame;
onMouseDown = function () {
delete onMouseDown;
r.ang = r.ang + r.tbonus;
r.finishinfo.removeMovieClip();
r.gotoAndPlay("next");
};
}
};
stop();
Symbol 295 Button
on (release) {
r.music = 0;
r.zloop.setVolume(0);
r.zhit.setVolume(0);
gotoAndStop (2);
}
Symbol 299 Button
on (release) {
r.music = 1;
r.zloop.setVolume(100);
r.zhit.setVolume(100);
gotoAndStop (1);
}
Symbol 300 MovieClip Frame 1
if (r.music) {
stop();
} else {
gotoAndStop (2);
}
Symbol 307 MovieClip Frame 1
stop();
Symbol 307 MovieClip Frame 2
onEnterFrame = function () {
if (!r.finish) {
r.waktu = Math.max(1, r.waktu - 1);
b._xscale = (r.waktu / r.totalwaktu) * 100;
if (r.waktu > 140) {
ticker.gotoAndStop(1);
} else {
ticker.gotoAndStop(2);
}
if (r.waktu <= 1) {
r.gotoAndPlay("timeover");
}
} else {
ticker.gotoAndStop(1);
}
};
stop();
Symbol 313 MovieClip Frame 1
if (r.energy > 0) {
gotoAndStop((r.energymax + 2) - r.energy);
} else {
gotoAndPlay(r.energymax + 2);
}
Symbol 313 MovieClip Frame 25
r.gotoAndPlay("end");
Symbol 321 Button
on (release) {
r.ang = 0;
r.gotoAndPlay("start");
}
Symbol 329 Button
on (release) {
_tracker.sendEventReplay();
r.ang = 0;
r.level = 0;
r.gotoAndPlay("start");
}
Symbol 339 MovieClip Frame 1
onEnterFrame = function () {
_rotation = (_rotation + 5);
};
Symbol 347 Button
on (release) {
r.gotoAndPlay("win2");
}
Symbol 350 Button
on (release) {
_tracker.sendEventReplay();
r.level = 0;
r.ang = 0;
r.gotoAndPlay("start");
}