Frame 1
fscommand ("allowscale", 0);
duplicateMovieClip ("fr", "frame", 10001);
Frame 3
var loadAmount = _totalframes;
if (_framesloaded == loadAmount) {
gotoAndPlay (4);
} else {
loaded = Math.round(getBytesLoaded() / 1024);
total = Math.round(getBytesTotal() / 1024);
percent = Math.round((loaded / total) * 100);
b._xscale = percent;
prevFrame();
play();
}
Frame 4
Array.prototype.randomize = function () {
return(this.sort(function (a, b) {
return(((Math.floor(Math.random() * 2) == 0) ? 1 : -1));
}));
};
Array.prototype.copy = function () {
return(this.slice());
};
Movieclip.prototype.cekchit = function () {
Set("/:cjump", 0);
Set("/:cbounce", 0);
Set("/:addspeed", 0);
Set("/:chd", (18 + (/:chit * 2)) + /:walk);
this.c.gotoAndStop(/:chd);
_root[soundfx[/:chit - 1]].start();
Set("/cVOlistener/:hitn", /:chit);
if ((((/:chit != 8) and (/:chit != 3)) and (/:chit != 16)) and (/:chit != 17)) {
if (_root.cbright._currentframe == 1) {
_root.cbright.gotoAndPlay(2);
}
this._y = this.cekfloor(6);
}
Set("/:energy", /:energy - /:energyless[/:chit - 1]);
energyupdate();
if (/:chit == 12) {
this.movebody = -270;
} else {
this.movebody = 0;
}
if (/:chit != 14) {
Set("/:chit", 0);
Set("/:carlOK", 0);
}
this.gotoAndPlay("wait");
};
Movieclip.prototype.energyupdate = function () {
if (/:energy < 0) {
Set("/:energy", 0);
}
_root.stat.energybar.bar._xscale = /:energy;
tellTarget ("/stat/energybar/wh") {
gotoAndPlay (2);
};
};
Movieclip.prototype.mapload = function () {
Set("/:scroll", 0);
this.minlimit = -(/:mapwid - /:screenwid);
this.halfscreen = 0.5 * /:screenwid;
this.xmin = this.halfscreen;
this.xmax = /:mapwid - this.halfscreen;
};
Movieclip.prototype.mapEnterFrame = function () {
if (/:totalsec > 0) {
var mx;
mx = getProperty("/m", _x);
if (mx < this.xmin) {
mx = this.xmin;
} else if (mx > this.xmax) {
mx = this.xmax;
}
Set("/:scroll", -(mx - this.halfscreen));
_root._x = /:scroll;
var i = 0;
while (i < /:stay.length) {
_root[/:stay[i]]._x = /:stayx[i] - /:scroll;
i++;
}
}
};
Movieclip.prototype.initvar = function () {
scroll = 0;
addspeed = 0;
screenwid = 600;
yground = 330;
walk = 2;
walkspeed = 1.5;
mwalkspeed = 15;
climbstairspeed = 1.4;
climbladderspeed = 1.3;
stairheight = 92;
scrollspeed = 20;
onesec = 25;
cantab = 1;
grav = 300;
grav2 = 100;
mjump = 0;
form = 0;
ignore = 0;
icount = 0;
maxturn = 7;
totalsec = 0;
carlOK = 1;
MeatOK = 1;
carlheight = 60;
mvo = 0;
cvo = 0;
chit = 0;
chd = 2;
mhit = 0;
inv = 0;
energy = 100;
bouncepower = 140;
gothead = 0;
stay = new array("frame", "stat", "info", "allw");
stayx = new array();
var i = 0;
while (i < /:stay.length) {
/:stayx[i] = getProperty(/:stay[i], _x);
i++;
}
floor = new array();
var i = 0;
while (i < 100) {
name = "_root.map.f" + i;
if (getProperty(name, _visible)) {
floor.push(name);
}
i++;
}
box = new array();
var i = 0;
while (i < 100) {
name = "_root.map.b" + i;
if (getProperty(name, _visible)) {
box.push(name);
}
i++;
}
drop = new array();
var i = 0;
while (i < 100) {
name = "_root.d" + i;
if (getProperty(name, _visible)) {
drop.push(name);
}
i++;
}
icon = new array("");
var i = 1;
while (i < 10) {
name = "_root.stat.g" + i;
if (getProperty(name, _visible)) {
icon.push(name);
}
i++;
}
scroll = map._x;
map._x = map._x - scroll;
var i = 0;
while (i < drop.length) {
x = getProperty(drop[i], _x);
setProperty(drop[i], _x , x - scroll);
i++;
}
setProperty("/c", _x , getProperty("/c", _x) - scroll);
setProperty("/m", _x , getProperty("/m", _x) - scroll);
iconupdate();
stopAllSounds();
zloop.start(0, 5000);
allw.gotoAndPlay(1);
};
Movieclip.prototype.cekfloor = function (space) {
var flx1;
var flx2;
var fly;
var land = /:yground;
var i = 0;
while (i < /:floor.length) {
xsc = 0.01 * getProperty(/:floor[i], _xscale);
flx1 = (getProperty(/:floor[i], _x) + (getProperty(/:floor[i] + ".z", _x) * xsc)) - space;
flx2 = (flx1 + (getProperty(/:floor[i] + ".z", _width) * xsc)) + (2 * space);
if ((this._x > flx1) and (this._x < flx2)) {
ysc = 0.01 * getProperty(/:floor[i], _yscale);
fly = getProperty(/:floor[i], _y) + (getProperty(/:floor[i] + ".z", _y) * ysc);
if ((this._y <= (fly + 4)) and (fly <= land)) {
land = fly;
}
}
i++;
}
var i = 0;
while (i < /:box.length) {
xsc = 0.01 * getProperty(/:box[i], _xscale);
flx1 = (getProperty(/:box[i], _x) + (getProperty(/:box[i] + ".z", _x) * xsc)) - space;
flx2 = (flx1 + (getProperty(/:box[i] + ".z", _width) * xsc)) + (2 * space);
if ((this._x > flx1) and (this._x < flx2)) {
ysc = 0.01 * getProperty(/:box[i], _yscale);
fly = getProperty(/:box[i], _y) + (getProperty(/:box[i] + ".z", _y) * ysc);
if ((this._y <= (fly + 4)) and (fly <= land)) {
land = fly;
}
}
i++;
}
return(land);
};
Movieclip.prototype.cekbox = function (oldx, xpos, ypos, space, hei) {
var flx1;
var flx2;
var fly1;
var fly2;
var dis1;
var dis2;
var ada = 0;
var i = 0;
while (i < /:box.length) {
xsc = 0.01 * getProperty(/:box[i], _xscale);
ysc = 0.01 * getProperty(/:box[i], _yscale);
flx1 = (getProperty(/:box[i], _x) + (getProperty(/:box[i] + ".z", _x) * xsc)) - space;
flx2 = (flx1 + (getProperty(/:box[i] + ".z", _width) * xsc)) + (2 * space);
if ((xpos > flx1) and (xpos < flx2)) {
fly2 = getProperty(/:box[i], _y) + (getProperty(/:box[i] + ".z", _y) * ysc);
fly1 = (fly2 + (getProperty(/:box[i] + ".z", _height) * ysc)) + hei;
if ((ypos <= fly1) and (ypos > fly2)) {
dis1 = (oldx - flx1) * (oldx - flx1);
dis2 = (oldx - flx2) * (oldx - flx2);
if (dis2 > dis1) {
ada = flx1;
} else if (dis1 > dis2) {
ada = flx2;
}
}
}
i++;
}
return(ada);
};
Movieclip.prototype.meatonclip = function () {
Set("/:mx", 0);
Set("/:my", 0);
if (/:MeatOK) {
if (key.isdown(key.left)) {
if (/:form) {
Set("/:form", 0);
reseticon();
}
Set("/:mx", -1);
if (/m/:lama >= 0) {
Set("/m/:lama", -4);
}
Set("/m/:lama", /m/:lama - 1);
} else if (key.isdown(key.right)) {
if (/:form) {
Set("/:form", 0);
reseticon();
}
Set("/:mx", 1);
if (/m/:lama <= 0) {
Set("/m/:lama", 4);
}
Set("/m/:lama", /m/:lama + 1);
}
if (key.isdown(key.up)) {
if (/:form) {
Set("/:form", 0);
reseticon();
}
if (!/:mjump) {
Set("/:mjump", 1);
Set("/m/:vy", -280);
if ((/:mhd / 2) == int(/:mhd / 2)) {
Set("/:mhd", 6);
} else {
Set("/:mhd", 5);
}
_root.m.m.gotoAndStop(/:mhd);
}
}
}
};
Movieclip.prototype.cekkey = function (k) {
if ((!/:mjump) and (!/:mhit)) {
if (k != 5) {
if (/:form != k) {
Set("/:form", k);
var i = 1;
while (i < /:icon.length) {
tellTarget (/:icon[i] + "/bg") {
gotoAndStop (1);
};
setProperty(/:icon[i], _xscale , 100);
setProperty(/:icon[i], _yscale , 100);
i++;
}
tellTarget (/:icon[k] + "/bg") {
gotoAndStop (2);
};
setProperty(/:icon[k], _xscale , 120);
setProperty(/:icon[k], _yscale , 120);
} else {
Set("/:form", 0);
reseticon();
}
} else if (!/:ignore) {
Set("/:icount", /:icount + 1);
if (/:icount < /:maxturn) {
if ((!/:cjump) and (!/:chit)) {
if (/:walk == 1) {
Set("/:walk", 2);
} else {
Set("/:walk", 1);
}
}
tellTarget ("/stat/g5/bg") {
gotoAndPlay (2);
};
if (!/:mvo) {
Set("/:mvo", 1);
if (!/:zmcallran.length) {
Set("/:zmcallran", /:zmcall.copy());
/:zmcallran.randomize();
}
popped = /:zmcallran.pop();
_root[popped].start();
_root[popped].onSoundComplete = function () {
Set("/:mvo", 0);
};
}
}
}
}
};
Movieclip.prototype.reseticon = function () {
var i = 1;
while (i < /:icon.length) {
tellTarget (/:icon[i] + "/bg") {
gotoAndStop (1);
};
setProperty(/:icon[i], _xscale , 100);
setProperty(/:icon[i], _yscale , 100);
i++;
}
};
Movieclip.prototype.morph = function () {
if (int(/:mhd * 0.5) == (/:mhd * 0.5)) {
Set("/:mhd", 10 + (2 * /:form));
} else {
Set("/:mhd", 9 + (2 * /:form));
}
_root.fxmorph.start();
_root.m.m.gotoAndStop(/:mhd);
};
Movieclip.prototype.cekceiling = function (space, hei) {
var flx1;
var flx2;
var fly;
var top = -500;
hei = hei + 2;
var i = 0;
while (i < /:box.length) {
xsc = 0.01 * getProperty(/:box[i], _xscale);
flx1 = (getProperty(/:box[i], _x) + (getProperty(/:box[i] + ".z", _x) * xsc)) - space;
flx2 = (flx1 + (getProperty(/:box[i] + ".z", _width) * xsc)) + (2 * space);
if ((this._x > flx1) and (this._x < flx2)) {
ysc = 0.01 * getProperty(/:box[i], _yscale);
fly = ((getProperty(/:box[i], _y) + (getProperty(/:box[i] + ".z", _y) * ysc)) + (getProperty(/:box[i] + ".z", _height) * ysc)) + hei;
if ((this._y >= fly) and (fly > top)) {
top = fly;
} else if (((this._y < fly) and (this._y > (fly - 15))) and (fly > top)) {
top = fly;
}
}
i++;
}
return(top);
};
Movieclip.prototype.walkstatus = function (xs) {
if (math.abs(xs) > 0.5) {
if (xs > 0) {
Set("/:mwalk", 2);
Set("/:mhd", 2);
} else {
Set("/:mwalk", 1);
Set("/:mhd", 1);
}
} else {
Set("/:mwalk", 0);
if (int(/:mhd * 0.5) == (/:mhd * 0.5)) {
Set("/:mhd", 4);
} else {
Set("/:mhd", 3);
}
}
};
Movieclip.prototype.loselife = function () {
Set("/:energy", /:energy - 1);
var i = 0;
while (i < /:stay.length) {
setProperty(/:stay[i], _x , /:stayx[i]);
i++;
}
Set("/:scroll", 0);
_root._x = 0;
_root.gotoAndPlay("loselife");
};
Movieclip.prototype.rad = function (qdeg) {
var temp;
if (qdeg < 0) {
qdeg = qdeg + 360;
}
if (qdeg > 360) {
qdeg = qdeg - 360;
}
temp = qdeg * (Math.PI/180);
return(temp);
};
Movieclip.prototype.deg = function (qrad) {
var temp;
if (qrad < 0) {
qrad = qrad + (2 * math.pi);
}
if (qrad > (2 * math.pi)) {
qrad = qrad - (2 * math.pi);
}
temp = qrad * 57.2957795130823;
return(temp);
};
Color.prototype.setBrightness = function (bright) {
var percent = (100 - Math.abs(bright));
var offset = 0;
if (bright > 0) {
offset = 256 * (bright / 100);
}
var trans = new Object();
trans.ra = (trans.ga = (trans.ba = percent));
trans.rb = (trans.gb = (trans.bb = offset));
this.setTransform(trans);
};
Movieclip.prototype.setBrightness = function (bright) {
if (bright == undefined) {
if (Math.random() > 0.5) {
var bright = (Math.random() * 100);
} else {
var bright = ((-Math.random()) * 100);
}
}
var c = new Color(this);
c.setBrightness(bright);
};
Frame 8
Frame 9
allw.gotoAndPlay(1);
stop();
Frame 10
allw.gotoAndPlay(1);
stop();
Frame 11
allw.gotoAndPlay(1);
stop();
Frame 16
level = 1;
leveltotal = 12;
soundfx = ["fxfire", "fxpottery", "fxacid", "fxelectro", "fxsplat", "fxspike", "fxsaw", "zcaargh", "fxtrap", "fxbite", "fxorange", "fxshock", "fxelectro", "fxfalldown", "fxfalldown", "fxsaw", "", "fxspike", "zcaargh"];
zmcall = ["zmcall1", "zmcall2", "zmcall3", "zmcall4", "zmcall5"];
zcwin = ["zcwin1", "zcwin2", "zcwin3", "zcwin4", "zcwin5", "zcwin6", "zcwin7"];
zclose = ["zclose1", "zclose2", "zclose3", "zclose4", "zclose5", "zclose6", "zcdes4", "zcdes5", "zcdes8"];
zcfinish = ["zcfinish1"];
zckick = ["zckick1", "zckick2"];
zcidle = ["zcidle1", "zcidle2", "zcidle3", "zcidle4", "zcidle5", "zcidle6"];
zmoon = ["zm1", "zm2", "zm3", "zm4"];
zchit = [["zchit1a", "zchit1b", "zchit1c", "zcdes3"], ["zcdes2", "zcdes9"], ["zchit3", "zcdes1"], ["zchit4a", "zchit4b"], ["zchit5", "zcdes1", "zcdes7"], ["zcdes6"], ["zcdes10"], [], ["zchit9a", "zchit9b"], ["zchit10a", "zchit10b", "zchit10c"], ["zchit4a", "zchit4b"], ["zcdes7"], ["zchit4a", "zchit4b"], ["zchit14", "zcdes10"], ["zcdes9"], ["zcaargh", "zcdes6"], ["zcdes2", "zchit5"], ["zcdes6"], []];
zloop = new sound(zloop1);
zloop.attachsound("loop");
zm1 = new sound(zmooni);
zm2 = new sound(zmooni);
zm3 = new sound(zmooni);
zm4 = new sound(zmooni);
zm1.attachsound("zm-1");
zm2.attachsound("zm-2");
zm3.attachsound("zm-3");
zm4.attachsound("zm-4");
zmcall1 = new sound(zmeatwad);
zmcall2 = new sound(zmeatwad);
zmcall3 = new sound(zmeatwad);
zmcall4 = new sound(zmeatwad);
zmcall5 = new sound(zmeatwad);
zmcall1.attachsound("zm-call1");
zmcall2.attachsound("zm-call2");
zmcall3.attachsound("zm-call3");
zmcall4.attachsound("zm-call4");
zmcall5.attachsound("zm-call5");
zcidle1 = new sound(zcarl);
zcidle2 = new sound(zcarl);
zcidle3 = new sound(zcarl);
zcidle4 = new sound(zcarl);
zcidle5 = new sound(zcarl);
zcidle6 = new sound(zcarl);
zchit1a = new sound(zcarl);
zchit1b = new sound(zcarl);
zchit1c = new sound(zcarl);
zchit3 = new sound(zcarl);
zchit4a = new sound(zcarl);
zchit4b = new sound(zcarl);
zchit5 = new sound(zcarl);
zchit9a = new sound(zcarl);
zchit9b = new sound(zcarl);
zchit10a = new sound(zcarl);
zchit10b = new sound(zcarl);
zchit10c = new sound(zcarl);
zchit14 = new sound(zcarl);
zcdes1 = new sound(zcarl);
zcdes2 = new sound(zcarl);
zcdes3 = new sound(zcarl);
zcdes4 = new sound(zcarl);
zcdes5 = new sound(zcarl);
zcdes6 = new sound(zcarl);
zcdes7 = new sound(zcarl);
zcdes8 = new sound(zcarl);
zcdes9 = new sound(zcarl);
zcdes10 = new sound(zcarl);
zclose1 = new sound(zcarl);
zclose2 = new sound(zcarl);
zclose3 = new sound(zcarl);
zclose4 = new sound(zcarl);
zclose5 = new sound(zcarl);
zclose6 = new sound(zcarl);
zcwin1 = new sound(zcarl);
zcwin2 = new sound(zcarl);
zcwin3 = new sound(zcarl);
zcwin4 = new sound(zcarl);
zcwin5 = new sound(zcarl);
zcwin6 = new sound(zcarl);
zcwin7 = new sound(zcarl);
zcfinish1 = new sound(zcarl);
zckick1 = new sound(zcarl);
zckick2 = new sound(zcarl);
zcidle1.attachsound("zc-idle1");
zcidle2.attachsound("zc-idle2");
zcidle3.attachsound("zc-idle3");
zcidle4.attachsound("zc-idle4");
zcidle5.attachsound("zc-idle5");
zcidle6.attachsound("zc-idle6");
zchit1a.attachsound("zc-hit1a");
zchit1b.attachsound("zc-hit1b");
zchit1c.attachsound("zc-hit1c");
zchit3.attachsound("zc-hit3");
zchit4a.attachsound("zc-hit4a");
zchit4b.attachsound("zc-hit4b");
zchit5.attachsound("zc-hit5");
zchit9a.attachsound("zc-hit9a");
zchit9b.attachsound("zc-hit9b");
zchit10a.attachsound("zc-hit10a");
zchit10b.attachsound("zc-hit10b");
zchit10c.attachsound("zc-hit10c");
zchit14.attachsound("zc-hit14");
zcdes1.attachsound("zc-des1");
zcdes2.attachsound("zc-des2");
zcdes3.attachsound("zc-des3");
zcdes4.attachsound("zc-des4");
zcdes5.attachsound("zc-des5");
zcdes6.attachsound("zc-des6");
zcdes7.attachsound("zc-des7");
zcdes8.attachsound("zc-des8");
zcdes9.attachsound("zc-des9");
zcdes10.attachsound("zc-des10");
zclose1.attachsound("zc-lose1");
zclose2.attachsound("zc-lose2");
zclose3.attachsound("zc-lose3");
zclose4.attachsound("zc-lose4");
zclose5.attachsound("zc-lose5");
zclose6.attachsound("zc-lose6");
zcwin1.attachsound("zc-win1");
zcwin2.attachsound("zc-win2");
zcwin3.attachsound("zc-win3");
zcwin4.attachsound("zc-win4");
zcwin5.attachsound("zc-win5");
zcwin6.attachsound("zc-win6");
zcwin7.attachsound("zc-win7");
zcfinish1.attachsound("zc-finish1");
zckick1.attachsound("zc-kick1");
zckick2.attachsound("zc-kick2");
fxufo = new sound(zufo);
fxufo.attachsound("fx-ufo");
zcaargh = new sound(zfx);
fxacid = new sound(zfx);
fxbite = new sound(zfx);
fxelectro = new sound(zfx);
fxfalldown = new sound(zfx);
fxfire = new sound(zfx);
fxorange = new sound(zfx);
fxpottery = new sound(zfx);
fxshock = new sound(zfx);
fxspike = new sound(zfx);
fxsplat = new sound(zfx);
fxsprong = new sound(zfx);
fxswitch = new sound(zfx);
fxtrap = new sound(zfx);
fxmorph = new sound(zfx);
fxtrampoline = new sound(zfx);
fxsaw = new sound(zfx);
fxacid2 = new sound(zfx);
fxkick = new sound(zfx);
fxcar = new sound(zfx);
fxwallblock = new sound(zfx);
fxmoonshoot = new sound(zfx);
fxcrash = new sound(zfx);
zcaargh.attachsound("c-aargh");
fxacid.attachsound("fx-acid");
fxbite.attachsound("fx-bite");
fxelectro.attachsound("fx-electro");
fxfalldown.attachsound("fx-falldown");
fxfire.attachsound("fx-fire");
fxorange.attachsound("fx-orange");
fxpottery.attachsound("fx-pottery");
fxshock.attachsound("fx-shock");
fxspike.attachsound("fx-spike");
fxsplat.attachsound("fx-splat");
fxsprong.attachsound("fx-sprong");
fxswitch.attachsound("fx-switch");
fxtrap.attachsound("fx-trap");
fxmorph.attachsound("fx-morph");
fxtrampoline.attachsound("fx-trampoline");
fxsaw.attachsound("fx-saw");
fxacid2.attachsound("fx-acid2");
fxkick.attachsound("fx-kick");
fxcar.attachsound("fx-car");
fxwallblock.attachsound("fx-wallblock");
fxmoonshoot.attachsound("fx-moonshoot");
fxcrash.attachsound("fx-crash");
Frame 17
levelrank = [70, 70, 70, 70, 80, 80, 175, 120, 100, 125, 120, 110];
mapwids = [1720, 1720, 1720, 1720, 1720, 1720, 1800, 1800, 1800, 1720, 1720, 1720];
mapwid = mapwids[level - 1];
energyless = [20, 15, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, 10, 20, 20, 20, 15, 20];
formdelay = [10000, 80, 80, 80, 1000];
gotoAndPlay("l" + level);
Frame 23
initvar();
stop();
Instance of Symbol 275 MovieClip "map" in Frame 23
onClipEvent (load) {
mapload();
}
onClipEvent (enterFrame) {
mapEnterFrame();
}
Instance of Symbol 383 MovieClip "m" in Frame 23
onClipEvent (enterFrame) {
meatonclip();
}
Frame 27
initvar();
stop();
Instance of Symbol 443 MovieClip "map" in Frame 27
onClipEvent (load) {
mapload();
}
onClipEvent (enterFrame) {
mapEnterFrame();
}
Frame 31
initvar();
stop();
Instance of Symbol 453 MovieClip "map" in Frame 31
onClipEvent (load) {
mapload();
}
onClipEvent (enterFrame) {
mapEnterFrame();
}
Frame 35
initvar();
stop();
Instance of Symbol 469 MovieClip "map" in Frame 35
onClipEvent (load) {
mapload();
}
onClipEvent (enterFrame) {
mapEnterFrame();
}
Frame 39
initvar();
stop();
Instance of Symbol 474 MovieClip "map" in Frame 39
onClipEvent (load) {
mapload();
}
onClipEvent (enterFrame) {
mapEnterFrame();
}
Frame 43
initvar();
stop();
Instance of Symbol 502 MovieClip "map" in Frame 43
onClipEvent (load) {
mapload();
}
onClipEvent (enterFrame) {
mapEnterFrame();
}
Frame 47
initvar();
stop();
Instance of Symbol 517 MovieClip "map" in Frame 47
onClipEvent (load) {
mapload();
}
onClipEvent (enterFrame) {
mapEnterFrame();
}
Frame 51
initvar();
stop();
Instance of Symbol 549 MovieClip "map" in Frame 51
onClipEvent (load) {
mapload();
}
onClipEvent (enterFrame) {
mapEnterFrame();
}
Frame 55
initvar();
stop();
Instance of Symbol 552 MovieClip "map" in Frame 55
onClipEvent (load) {
mapload();
}
onClipEvent (enterFrame) {
mapEnterFrame();
}
Frame 59
initvar();
stop();
Instance of Symbol 587 MovieClip "map" in Frame 59
onClipEvent (load) {
mapload();
}
onClipEvent (enterFrame) {
mapEnterFrame();
}
Frame 63
initvar();
stop();
Instance of Symbol 609 MovieClip "map" in Frame 63
onClipEvent (load) {
mapload();
}
onClipEvent (enterFrame) {
mapEnterFrame();
}
Frame 67
initvar();
stop();
Instance of Symbol 610 MovieClip "map" in Frame 67
onClipEvent (load) {
mapload();
}
onClipEvent (enterFrame) {
mapEnterFrame();
}
Frame 71
Set("/:cvo", 1);
_root[/:zcidle[0]].stop();
_root[/:zchit[0]].stop();
_root[/:zmoon[0]].stop();
_root.zloop.stop();
stopAllSounds();
_root._x = _root._x - /:scroll;
var i = 0;
while (i < /:stay.length) {
_root[/:stay[i]]._x = _root[/:stay[i]]._x + /:scroll;
i++;
}
allw.gotoAndPlay(1);
Frame 77
if (!/:zcloseran.length) {
Set("/:zcloseran", /:zclose.copy());
/:zcloseran.randomize();
}
popped = /:zcloseran.pop();
_root[popped].start();
stop();
Frame 78
call("endc");
rankstd = levelrank[/:level - 1];
ranks = new array(rankstd, rankstd + 15, rankstd + 30, rankstd + 45);
rank = 5;
var i = ranks.length;
while (i >= 0) {
if (/:totalsec < ranks[i]) {
rank = i + 1;
}
i--;
}
if (/:level < /:leveltotal) {
Set("/:level", /:level + 1);
if (!/:zcwinran.length) {
Set("/:zcwinran", /:zcwin.copy());
/:zcwinran.randomize();
}
popped = /:zcwinran.pop();
_root[popped].start();
stop();
} else {
if (!/:zcfinishran.length) {
Set("/:zcfinishran", /:zcfinish.copy());
/:zcfinishran.randomize();
}
popped = /:zcfinishran.pop();
_root[popped].start();
gotoAndStop (83);
}
Frame 83
stop();
Frame 89
allw.gotoAndPlay(1);
stop();
Frame 95
call("endc");
gotoAndPlay (17);
Symbol 31 MovieClip Frame 1
stop();
Symbol 78 MovieClip Frame 1
stop();
Symbol 84 MovieClip Frame 1
stop();
Symbol 89 MovieClip Frame 1
stop();
Symbol 91 MovieClip Frame 1
stop();
Symbol 102 Button
on (release) {
myTracker.track();
tracker = myTracker;
gotoAndStop (10);
}
Symbol 108 MovieClip Frame 16
stop();
Symbol 113 Button
on (release) {
gotoAndStop (11);
}
Symbol 120 MovieClip Frame 1
stop();
Symbol 128 MovieClip Frame 1
stop();
Symbol 129 MovieClip Frame 1
no = substring(_name, 2, 1);
gotoAndStop(no);
Symbol 147 MovieClip Frame 20
d = 1 + random(20);
Symbol 147 MovieClip Frame 21
d = d - 1;
Symbol 147 MovieClip Frame 22
if (d) {
prevFrame();
play();
}
Symbol 159 MovieClip Frame 2
if (!/:cvo) {
prevFrame();
play();
}
Symbol 161 Button
on (release) {
gotoAndPlay (16);
}
Symbol 185 MovieClip Frame 2
if (!/:mvo) {
prevFrame();
play();
}
Symbol 190 MovieClip Frame 4
gotoAndPlay (1);
Symbol 198 MovieClip Frame 20
stop();
Symbol 201 MovieClip Frame 3
stop();
Symbol 201 MovieClip Frame 6
stop();
Symbol 207 MovieClip Frame 3
stop();
Symbol 207 MovieClip Frame 6
stop();
Symbol 212 MovieClip Frame 21
stop();
Symbol 214 MovieClip Frame 3
Set("/:canbounce", 1);
stop();
Symbol 214 MovieClip Frame 4
Set("/:canbounce", 0);
Symbol 214 MovieClip Frame 26
Set("/:form", 0);
reseticon();
stop();
Symbol 221 MovieClip Frame 8
Set("/:form", 0);
reseticon();
stop();
Symbol 223 MovieClip Frame 3
stop();
Symbol 223 MovieClip Frame 14
stop();
Symbol 227 MovieClip Frame 5
stop();
Symbol 227 MovieClip Frame 10
stop();
Symbol 231 MovieClip Frame 3
stop();
Symbol 231 MovieClip Frame 6
stop();
Symbol 232 MovieClip Frame 6
stop();
Symbol 233 MovieClip Frame 1
stop();
Symbol 234 MovieClip Frame 1
_parent.stop();
d = _name;
Symbol 234 MovieClip Frame 2
d = d - 1;
Symbol 234 MovieClip Frame 3
if (d) {
prevFrame();
play();
} else {
_parent.play();
stop();
}
Symbol 235 MovieClip Frame 2
m.gotoAndStop(3);
Symbol 235 MovieClip Frame 5
n = n + 1;
if (n > 5) {
n = 1;
}
if (n < 5) {
m.gotoAndStop(9 + (n * 2));
} else {
m.gotoAndStop(3);
gotoAndPlay (10);
}
Symbol 235 MovieClip Frame 7
gotoAndPlay (3);
Symbol 235 MovieClip Frame 10
Set("/:mvo", 1);
Symbol 235 MovieClip Frame 16
Set("/:mvo", 0);
gotoAndPlay (3);
Symbol 237 MovieClip Frame 2
if (!/:totalsec) {
prevFrame();
play();
}
Symbol 237 MovieClip Frame 5
d = 150 + random(100);
Symbol 237 MovieClip Frame 6
if (hitn > 0) {
_root[/:zcidle[0]].stop();
if (hitn == 8) {
stop();
} else {
Set("/:cvo", 1);
gotoAndPlay (14);
}
} else if (!/:cvo) {
d = d - 1;
}
Symbol 237 MovieClip Frame 7
if (d) {
prevFrame();
play();
}
Symbol 237 MovieClip Frame 9
if (!/:cvo) {
Set("/:cvo", 1);
if (!/:zcidleran.length) {
Set("/:zcidleran", /:zcidle.copy());
/:zcidleran.randomize();
}
popped = /:zcidleran.pop();
_root[popped].start();
_root[popped].onSoundComplete = function () {
Set("/:cvo", 0);
};
gotoAndPlay (5);
}
Symbol 237 MovieClip Frame 10
prevFrame();
play();
Symbol 237 MovieClip Frame 14
d = 25;
Symbol 237 MovieClip Frame 15
d = d - 1;
Symbol 237 MovieClip Frame 16
if (d > 0) {
prevFrame();
play();
}
Symbol 237 MovieClip Frame 18
ran1 = hitn - 1;
ran2 = /:zchit[ran1];
hitn = 0;
if (ran2.length > 0) {
ran3 = random(ran2.length);
ran4 = ran2[ran3];
_root[ran4].start();
_root[ran4].onSoundComplete = function () {
Set("/:cvo", 0);
};
} else {
Set("/:cvo", 0);
}
Symbol 237 MovieClip Frame 20
if (/:cvo) {
prevFrame();
play();
} else {
gotoAndPlay (5);
}
Symbol 252 MovieClip Frame 1
wid = _width;
ys = 1;
ymin = _y;
ymax = _y + leng;
if (leng < 0) {
ys = -ys;
}
stop();
Symbol 252 MovieClip Frame 2
ny = _y + ys;
if (leng < 0) {
if (ny < ymax) {
ny = ymax;
ys = -ys;
gotoAndPlay (7);
} else if (ny > ymin) {
ny = ymin;
ys = -ys;
gotoAndPlay (7);
}
} else if (ny > ymax) {
ny = ymax;
ys = -ys;
gotoAndPlay (7);
} else if (ny < ymin) {
ny = ymin;
ys = -ys;
gotoAndPlay (7);
}
oldy = _y;
_y = ny;
ki = _x;
ka = _x + wid;
if ((getProperty("/c", _x) > ki) and (getProperty("/c", _x) < ka)) {
if ((getProperty("/c", _y) == oldy) or (getProperty("/c", _y) == _y)) {
setProperty("/c", _y , _y);
}
}
if ((getProperty("/m", _x) > ki) and (getProperty("/m", _x) < ka)) {
if ((getProperty("/m", _y) == oldy) or (getProperty("/m", _y) == _y)) {
setProperty("/m", _y , _y);
Set("/:myland", _y);
}
}
Symbol 252 MovieClip Frame 3
prevFrame();
play();
Symbol 252 MovieClip Frame 7
d = 60;
Symbol 252 MovieClip Frame 8
d = d - 1;
Symbol 252 MovieClip Frame 9
if (d) {
prevFrame();
play();
} else {
gotoAndPlay (2);
}
Symbol 256 MovieClip Frame 2
if ((((getProperty("/c", _x) > (_x - 20)) and (getProperty("/c", _x) < (_x + 20))) and (getProperty("/c", _y) > _y)) and (getProperty("/c", _y) < (_y + 40))) {
if ((!chit) and (/:chd == 2)) {
_root[/:zcidle[0]].stop();
Set("/:cvo", 1);
Set("/:gothead", 1);
if (/:level < /:leveltotal) {
_root.fxkick.start();
gotoAndPlay (4);
} else {
gotoAndPlay (7);
}
}
}
Symbol 256 MovieClip Frame 3
prevFrame();
play();
Symbol 256 MovieClip Frame 4
xs = 5;
vy = -120;
Symbol 256 MovieClip Frame 5
vy = vy + (/:grav / 10);
ny = _y + (vy / 10);
if (vy > 0) {
if (ny > (/:yground - 7)) {
ny = /:yground - 7;
vy = -vy;
}
}
_y = ny;
_x = (_x + xs);
_rotation = (_rotation + 10);
Symbol 256 MovieClip Frame 6
prevFrame();
play();
Symbol 256 MovieClip Frame 7
stop();
Symbol 267 MovieClip Frame 1
ki = _x - 40;
ka = _x + 40;
at = _y - 20;
ba = _y + 60;
Symbol 267 MovieClip Frame 2
if ((((getProperty("/c", _x) > ki) and (getProperty("/c", _x) < ka)) and ((getProperty("/c", _y) - 50) > at)) and (getProperty("/c", _y) < ba)) {
_root.fxswitch.start();
gotoAndPlay (4);
}
Symbol 267 MovieClip Frame 3
prevFrame();
play();
Symbol 267 MovieClip Frame 8
tellTarget ("../" + (substring(_name, 2, 100))) {
gotoAndPlay (2);
};
stop();
Symbol 272 MovieClip Frame 7
gotoAndPlay (1);
Symbol 273 MovieClip Frame 5
Set("../:cek", 1);
Symbol 273 MovieClip Frame 17
Set("../:cek", 0);
Symbol 273 MovieClip Frame 24
gotoAndPlay (2);
Symbol 274 MovieClip Frame 1
space = 2;
ki = _x - space;
ka = (_x + _width) + space;
at = _y - 20;
ba = _y;
Symbol 274 MovieClip Frame 2
if (cek) {
if ((/:carlOK and (getProperty("/c", _x) > ki)) and (getProperty("/c", _x) < ka)) {
if ((getProperty("/c", _y) > at) and ((getProperty("/c", _y) - /:carlheight) < ba)) {
Set("/:chit", 7);
}
}
}
Symbol 274 MovieClip Frame 3
prevFrame();
play();
Instance of Symbol 252 MovieClip "b92" in Symbol 275 MovieClip Frame 1
onClipEvent (load) {
leng = 120;
}
Symbol 277 MovieClip Frame 24
gotoAndPlay (1);
Symbol 278 MovieClip Frame 21
gotoAndPlay (1);
Symbol 285 MovieClip Frame 19
gotoAndPlay (1);
Symbol 286 MovieClip Frame 40
gotoAndPlay (3);
Symbol 288 MovieClip Frame 1
if (!udah) {
udah = 1;
gotoAndPlay(1 + random(_totalframes));
}
Symbol 302 MovieClip Frame 24
stop();
Symbol 304 MovieClip Frame 16
stop();
Symbol 314 MovieClip Frame 15
stop();
Symbol 315 MovieClip Frame 43
stop();
Symbol 318 MovieClip Frame 1
if (!udah) {
udah = 1;
gotoAndPlay(1 + random(_totalframes));
}
Symbol 328 MovieClip Frame 1
if (!udah) {
udah = 1;
gotoAndPlay(1 + random(_totalframes));
}
Symbol 337 MovieClip Frame 17
stop();
Symbol 338 MovieClip Frame 1
setProperty("c", _x , random(2));
setProperty("c", _y , random(2));
setProperty("c", _rotation , random(30));
d = d + 1;
Symbol 338 MovieClip Frame 2
if (d < 15) {
prevFrame();
play();
}
Symbol 338 MovieClip Frame 20
stop();
Symbol 340 MovieClip Frame 4
stop();
Symbol 341 MovieClip Frame 30
stop();
Symbol 344 MovieClip Frame 47
stop();
Symbol 345 MovieClip Frame 50
stop();
Symbol 346 MovieClip Frame 50
stop();
Symbol 347 MovieClip Frame 7
stop();
Symbol 348 MovieClip Frame 4
stop();
Instance of Symbol 349 MovieClip in Symbol 360 MovieClip Frame 1
onClipEvent (load) {
x = _x;
y = _y;
}
onClipEvent (enterFrame) {
_x = (x + random(4));
_y = (y + random(4));
setbrightness(random(100));
}
Symbol 360 MovieClip Frame 21
stop();
Symbol 361 MovieClip Frame 50
stop();
Symbol 362 MovieClip Frame 47
stop();
Symbol 363 MovieClip Frame 1
stop();
Symbol 364 MovieClip Frame 5
gotoAndPlay (1);
Symbol 372 MovieClip Frame 1
gotoAndStop(1 + random(_totalframes));
Symbol 373 MovieClip Frame 1
_rotation = random(360);
sc = 100 + random(100);
_yscale = sc;
_xscale = sc;
Symbol 373 MovieClip Frame 17
removeMovieClip("");
stop();
Symbol 374 MovieClip Frame 1
i = 1;
Symbol 374 MovieClip Frame 2
duplicateMovieClip ("p0", "p" + i, i);
i = i + 1;
duplicateMovieClip ("p0", "p" + i, i);
Symbol 374 MovieClip Frame 3
i = i + 2;
if (i < 30) {
prevFrame();
play();
}
Symbol 374 MovieClip Frame 10
stop();
Symbol 377 MovieClip Frame 30
stop();
Symbol 379 MovieClip Frame 87
stop();
Symbol 380 MovieClip Frame 58
stop();
Symbol 381 MovieClip Frame 1
stop();
Symbol 382 MovieClip Frame 1
stop();
Symbol 382 MovieClip Frame 2
x = _x;
limit = 30;
cyland = _y;
c.gotoAndStop(2);
Symbol 382 MovieClip Frame 3
if (/:walk == 1) {
nx = (_x - /:walkspeed) - /:addspeed;
if (nx < limit) {
nx = limit;
}
} else if (/:walk == 2) {
nx = (_x + /:walkspeed) + /:addspeed;
if (nx > (/:mapwid - limit)) {
nx = /:mapwid - limit;
}
}
if (/:cjump) {
vy = vy + (/:grav2 / 10);
ny = _y + (vy / 10);
if (vy <= 0) {
ytop = cekceiling(10, /:carlheight + 5);
if (ny < ytop) {
vy = 0;
ny = ytop;
}
if (/:walk == 1) {
Set("/:chd", 7);
} else {
Set("/:chd", 8);
}
} else {
Set("/:cyland", cekfloor(6));
if ((/:form == 4) and (vy > 20)) {
space = 28;
if ((((nx > (getProperty("/m", _x) - space)) and (nx < (getProperty("/m", _x) + space))) and (ny > (getProperty("/m", _y) - 10))) and (ny < (getProperty("/m", _y) + 20))) {
vy = -0.98 * vy;
ny = getProperty("/m", _y) - 20;
Set("/:addspeed", 1.5 * /:walkspeed);
_root.fxtrampoline.start();
_root.m.m.m.gotoAndPlay("boing");
}
}
if (ny >= /:cyland) {
ny = /:cyland;
Set("/:cjump", 0);
Set("/:addspeed", 0);
if (vy > (1.2 * /:bouncepower)) {
gotoAndPlay (8);
}
}
}
_y = ny;
} else {
if (_y != cekfloor(6)) {
Set("/:cjump", 1);
vy = 0;
}
if (/:walk == 1) {
Set("/:chd", 1);
} else {
Set("/:chd", 2);
}
}
c.gotoAndStop(/:chd);
adabox = cekbox(oldx, nx, _y, 20, /:carlheight);
if (adabox) {
nx = adabox;
}
oldx = _x;
_x = nx;
if (/:form > 0) {
if (getProperty("/m", _y) == _y) {
if (/:form == 1) {
wspace = 30;
if (/:walk == 1) {
if ((nx < (getProperty("/m", _x) + wspace)) and (nx > getProperty("/m", _x))) {
nx = getProperty("/m", _x) + wspace;
}
}
if (/:walk == 2) {
if ((nx > (getProperty("/m", _x) - wspace)) and (nx < getProperty("/m", _x))) {
nx = getProperty("/m", _x) - wspace;
}
}
adabox = cekbox(oldx, nx, _y, 14, /:carlheight);
if (!adabox) {
_x = nx;
}
}
if (((/:form == 3) and (!/:cjump)) and (!/:chit)) {
space = 10;
if ((/:canbounce and (_x > (getProperty("/m", _x) - space))) and (_x < (getProperty("/m", _x) + space))) {
_root.fxsprong.start();
_root.m.m.m.gotoAndPlay("bounce");
_x = getProperty("/m", _x);
Set("/:cjump", 1);
Set("/:cbounce", 1);
vy = -/:bouncepower;
ny = getProperty("/m", _y) - 10;
Set("/:addspeed", /:walkspeed);
ytop = cekceiling(10, /:carlheight + 5);
if (ny < ytop) {
vy = 0;
ny = ytop;
}
_y = ny;
}
}
}
}
Symbol 382 MovieClip Frame 4
if (/:chit > 0) {
cekchit();
} else if (/:gothead) {
gotoAndPlay (17);
} else {
prevFrame();
play();
}
Symbol 382 MovieClip Frame 9
if (!/:chit) {
Set("/:chit", 14);
}
cekchit();
Symbol 382 MovieClip Frame 17
if (/:level < /:leveltotal) {
if (!/:zckickran.length) {
Set("/:zckickran", /:zckick.copy());
/:zckickran.randomize();
}
popped = /:zckickran.pop();
_root[popped].start();
Set("/:chd", 100);
d = 120;
} else {
if (/:walk == 1) {
Set("/:chd", 101);
} else {
Set("/:chd", 102);
}
d = 65;
}
c.gotoAndStop(/:chd);
Symbol 382 MovieClip Frame 18
d = d - 1;
Symbol 382 MovieClip Frame 19
if (d) {
prevFrame();
play();
} else {
_root.gotoAndPlay("win");
stop();
}
Symbol 382 MovieClip Frame 26
if (/:chit > 0) {
cekchit();
}
Symbol 382 MovieClip Frame 27
Set("/:CarlOK", 0);
Set("/:chit", 0);
d = 49;
Symbol 382 MovieClip Frame 28
d = d - 1;
Symbol 382 MovieClip Frame 29
if ((d < 0) and (!/:cvo)) {
if (/:energy > 0) {
Set("/:inv", 100);
Set("/:chit", 0);
_x = (_x + movebody);
if (_x < limit) {
_x = limit;
}
gotoAndPlay (3);
} else {
gotoAndPlay (32);
}
} else {
prevFrame();
play();
}
Symbol 382 MovieClip Frame 32
d = 20;
Symbol 382 MovieClip Frame 33
d = d - 1;
Symbol 382 MovieClip Frame 34
if (d) {
prevFrame();
play();
}
Symbol 382 MovieClip Frame 36
_root.gotoAndPlay("endc");
stop();
Symbol 382 MovieClip Frame 54
if (((/:form == 3) and (!/:cjump)) and (!/:chit)) {
space = 30;
if ((/:walk == 2) and ((0.5 * /:mhd) == int(0.5 * /:mhd))) {
if ((nx > (getProperty("/m", _x) - space)) and (nx < getProperty("/m", _x))) {
_x = (getProperty("/m", _x) - space);
adabox = cekbox(_x - 5, _x, _y, 20, carlheight);
if (!adabox) {
gotoAndPlay (72);
} else {
_x = nx;
}
}
} else if ((/:walk == 1) and ((0.5 * /:mhd) != int(0.5 * /:mhd))) {
if ((nx < (getProperty("/m", _x) + space)) and (nx > getProperty("/m", _x))) {
_x = (getProperty("/m", _x) + space);
adabox = cekbox(_x + 5, _x, _y, 20, carlheight);
if (!adabox) {
gotoAndPlay (72);
} else {
_x = nx;
}
}
}
}
if (((/:form == 4) and (!/:cjump)) and (!/:chit)) {
space = 15;
if ((nx > (getProperty("/m", _x) - 20)) and (nx < (getProperty("/m", _x) + space))) {
_x = getProperty("/m", _x);
adabox = cekbox(_x - 5, _x, _y, space, carlheight);
if (!adabox) {
gotoAndPlay (78);
} else {
_x = nx;
}
}
}
Symbol 382 MovieClip Frame 72
if (/:walk == 1) {
Set("/:chd", 3);
base = 30;
} else {
Set("/:chd", 4);
base = -30;
}
Set("/:cclimbstairs", 1);
step = 1;
c.gotoAndStop(/:chd);
Symbol 382 MovieClip Frame 73
ymaxclimb = getProperty("/m", _y) - /:stairheight;
if (/:walk == 1) {
nx = (getProperty("/m", _x) + base) - ((0.9 * step) * /:walkspeed);
if (nx < limit) {
nx = limit;
Set("/:cjump", 1);
vy = 0;
}
} else if (/:walk == 2) {
nx = (getProperty("/m", _x) + base) + ((0.9 * step) * /:walkspeed);
if (nx > (/:mapwid - limit)) {
nx = /:mapwid - limit;
Set("/:cjump", 1);
vy = 0;
}
}
adabox = cekbox(oldx, nx, _y, -5, carlheight);
if (adabox) {
nx = adabox;
}
oldx = _x;
_x = nx;
ny = getProperty("/m", _y) - (step * /:climbstairspeed);
ytop = cekceiling(20, carlheight);
if ((ny < ymaxclimb) or (/:form != 3)) {
Set("/:cjump", 1);
vy = 0;
} else if (adabox or (ny < ytop)) {
Set("/:cjump", 1);
} else {
step = step + 1;
}
_y = ny;
Symbol 382 MovieClip Frame 74
if (!/:cjump) {
if (!/:chit) {
prevFrame();
play();
} else {
this.swapdepths("/m");
if ((/:chit == 10) or (/:chit == 3)) {
cekchit();
} else {
gotoAndPlay (1);
}
}
} else {
Set("/:cclimbstairs", 0);
gotoAndPlay (3);
}
Symbol 382 MovieClip Frame 78
step = 1;
Set("/:chd", 5);
Set("/:cclimbladder", 1);
c.gotoAndStop(/:chd);
this.swapdepths("/m");
Symbol 382 MovieClip Frame 79
ymaxclimb = getProperty("/m", _y) - /:stairheight;
ny = getProperty("/m", _y) - (step * /:climbladderspeed);
ytop = cekceiling(20, carlheight);
if ((ny < ymaxclimb) or (/:form != 4)) {
Set("/:cjump", 1);
vy = 0;
} else if (adabox or (ny < ytop)) {
ny = _y;
_x = oldx;
} else {
step = step + 1;
}
_y = ny;
_x = getProperty("/m", _x);
Symbol 382 MovieClip Frame 80
if (!/:cjump) {
if (!/:chit) {
prevFrame();
play();
} else if ((/:chit == 10) or (/:chit == 3)) {
cekchit();
} else {
gotoAndPlay (1);
}
} else {
Set("/:cclimbladder", 0);
this.swapdepths("/m");
gotoAndPlay (3);
}
Symbol 383 MovieClip Frame 1
space = 40;
limit = 30;
myland = _y;
meatwid = 16;
meathei = 28;
Symbol 383 MovieClip Frame 2
if (/:mx == 1) {
xs = ((0.01 * lama) * lama) * /:mwalkspeed;
if (xs > /:mwalkspeed) {
xs = /:mwalkspeed;
}
} else if (/:mx == -1) {
xs = ((-0.01 * lama) * lama) * /:mwalkspeed;
if (xs < (-/:mwalkspeed)) {
xs = -/:mwalkspeed;
}
} else {
xs = 0.65 * xs;
lama = 0;
}
nx = _x + xs;
if (nx < limit) {
nx = limit;
xs = 0;
} else if (nx > (/:mapwid - limit)) {
nx = /:mapwid - limit;
xs = 0;
}
ada = cekbox(oldx, nx, _y, 17, 28);
if (ada) {
nx = ada;
}
oldx = _x;
_x = nx;
if (/:mjump) {
Set("/:myland", cekfloor(0));
vy = vy + (/:grav / 10);
ny = _y + (vy / 10);
if (vy <= 0) {
ytop = cekceiling(16, 29);
if (ny < ytop) {
vy = 0;
ny = ytop;
}
}
if (vy > 0) {
if (ny >= /:myland) {
ny = /:myland;
Set("/:mjump", 0);
walkstatus(xs);
}
}
_y = ny;
} else {
if (_y != cekfloor(6)) {
Set("/:mjump", 1);
vy = 0;
}
walkstatus(xs);
}
m.gotoAndStop(/:mhd);
Symbol 383 MovieClip Frame 3
if (/:mhit == 1) {
Set("/:MeatOK", 0);
if (int(/:mhd * 0.5) == (/:mhd * 0.5)) {
Set("/:mhd", 52);
} else {
Set("/:mhd", 51);
}
m.gotoAndStop(/:mhd);
gotoAndPlay (19);
} else if (/:form) {
formnow = /:form;
morph();
if (/:form == 3) {
Set("/:canbounce", 1);
}
gotoAndPlay (7);
} else {
prevFrame();
play();
}
Symbol 383 MovieClip Frame 7
if (/:form != formnow) {
formnow = /:form;
morph();
}
Symbol 383 MovieClip Frame 8
if (/:form) {
prevFrame();
play();
} else {
m.m.gotoAndPlay("off");
gotoAndPlay (2);
}
Symbol 383 MovieClip Frame 13
d = 4;
Symbol 383 MovieClip Frame 14
d = d - 1;
Symbol 383 MovieClip Frame 15
cekmhit();
if (d) {
prevFrame();
play();
} else {
Set("/:change", 0);
gotoAndPlay (2);
}
Symbol 383 MovieClip Frame 19
d = 30;
Symbol 383 MovieClip Frame 20
d = d - 1;
Symbol 383 MovieClip Frame 21
if (d) {
prevFrame();
play();
} else {
_root.gotoAndPlay("reset");
}
Symbol 391 MovieClip Frame 9
stop();
Symbol 392 MovieClip Frame 33
stop();
Symbol 396 MovieClip Frame 17
stop();
Symbol 397 MovieClip Frame 18
stop();
Symbol 398 MovieClip Frame 1
stop();
Symbol 399 MovieClip Frame 2
ys = 1;
space = 25;
ki = _x - space;
ka = _x + space;
ki2 = _x - (2 * space);
ka2 = _x + (2 * space);
_y = -30;
carlheight = 60;
mheight1 = 30;
mheight2 = 90;
p.gotoAndStop(1);
Symbol 399 MovieClip Frame 3
at = _y - 40;
ba = _y;
if ((getProperty("/c", _x) > ki) and (getProperty("/c", _x) < ka)) {
if (((/:carlOK and (!/:inv)) and ((getProperty("/c", _y) - carlheight) > at)) and ((getProperty("/c", _y) - carlheight) < ba)) {
Set("/:chit", 2);
p.gotoAndStop(3);
gotoAndPlay (5);
}
}
if (/:form == 2) {
if ((((getProperty("/m", _x) > ki2) and (getProperty("/m", _x) < ka2)) and ((getProperty("/m", _y) - mheight2) > at)) and ((getProperty("/m", _y) - mheight2) < ba)) {
_root.fxpottery.start();
p.gotoAndStop(3);
gotoAndPlay (5);
}
}
Symbol 399 MovieClip Frame 4
ys = ys + 1;
_y = (_y + ys);
if (_y < /:yground) {
prevFrame();
play();
} else {
_y = /:yground;
p.gotoAndStop(2);
}
Symbol 400 MovieClip Frame 1
stop();
Symbol 400 MovieClip Frame 2
_root.c.setbrightness(100);
Symbol 400 MovieClip Frame 3
_root.c.setbrightness(0);
Symbol 400 MovieClip Frame 4
gotoAndStop (1);
Symbol 401 MovieClip Frame 1
target = "/c";
formnow = 0;
Symbol 401 MovieClip Frame 2
if (/:inv > 0) {
if (getProperty(target, _visible)) {
setProperty(target, _visible , 0);
} else {
setProperty(target, _visible , 1);
}
Set("/:inv", /:inv - 1);
if (!/:inv) {
Set("/:CarlOK", 1);
setProperty(target, _visible , 1);
}
}
if (/:form > 0) {
if (/:form != formnow) {
formnow = /:form;
d = /:formdelay[/:form - 1];
}
d = d - 1;
if (d <= 0) {
Set("/:form", 0);
formnow = 0;
reseticon();
}
} else {
formnow = 0;
}
if (/:ignore > 0) {
Set("/:ignore", /:ignore - 1);
}
if (/:icount) {
icek = icek + 1;
if (icek > 80) {
icek = 0;
Set("/:icount", 0);
}
if (/:icount >= /:maxturn) {
Set("/:ignore", 100);
Set("/:icount", 0);
icek = 0;
}
}
Symbol 401 MovieClip Frame 3
prevFrame();
play();
Symbol 404 Button
on (release) {
cekkey(no);
}
Symbol 409 MovieClip Frame 1
no = substring(_name, 2, 1);
gotoAndStop(no);
Symbol 416 MovieClip Frame 1
stop();
Symbol 422 MovieClip Frame 1
stop();
Symbol 422 MovieClip Frame 2
d = /:onesec;
Symbol 422 MovieClip Frame 3
d = d - 1;
Symbol 422 MovieClip Frame 4
if (d) {
prevFrame();
play();
} else {
Set("/:totalsec", /:totalsec + 1);
min = math.floor(/:totalsec / 60);
sec = /:totalsec - (min * 60);
if (min < 10) {
minute = "0" + min;
} else {
minute = min;
}
if (sec < 10) {
second = "0" + sec;
} else {
second = sec;
}
time = (minute + ":") + second;
Set("/:time", time);
gotoAndPlay (2);
}
Symbol 426 Button
on (release) {
_root.gotoAndPlay("reset");
}
Symbol 429 Button
on (keyPress "1") {
cekkey(1);
}
on (keyPress "2") {
cekkey(2);
}
on (keyPress "3") {
cekkey(3);
}
on (keyPress "4") {
cekkey(4);
}
on (keyPress "5") {
cekkey(5);
}
Symbol 436 MovieClip Frame 1
_root.c.gotoAndStop(1);
Symbol 436 MovieClip Frame 6
xs = 6;
d = 30;
next = 0;
Symbol 436 MovieClip Frame 7
if (d) {
d = d - 1;
} else {
Set("/:scroll", /:scroll - xs);
call("scroll");
}
Instance of Symbol 241 MovieClip in Symbol 436 MovieClip Frame 7
onClipEvent (keyDown) {
_parent.next = 1;
}
onClipEvent (mouseDown) {
_parent.next = 1;
}
Symbol 436 MovieClip Frame 8
if (!next) {
prevFrame();
play();
} else {
Set("/:scroll", 0);
call("scroll");
}
Symbol 436 MovieClip Frame 9
_x = -1000;
_root.c.gotoAndPlay(2);
_root.stat.timer.play();
stop();
Symbol 436 MovieClip Frame 12
if (/:scroll < (-(/:mapwid - /:screenwid))) {
Set("/:scroll", -(/:mapwid - /:screenwid));
xs = -xs;
d = 60;
}
if (/:scroll > 0) {
Set("/:scroll", 0);
xs = -xs;
d = 60;
}
_root._x = /:scroll;
var i = 0;
while (i < /:stay.length) {
_root[/:stay[i]]._x = /:stayx[i] - /:scroll;
i++;
}
Symbol 439 MovieClip Frame 1
wid = _width;
if (!xs) {
xs = 1;
}
xmin = _x;
xmax = _x + leng;
if (leng < 0) {
xs = -xs;
}
stop();
Symbol 439 MovieClip Frame 2
nx = _x + xs;
if (leng < 0) {
if (nx < xmax) {
nx = xmax;
xs = -xs;
gotoAndPlay (6);
} else if (nx > xmin) {
nx = xmin;
xs = -xs;
gotoAndPlay (6);
}
} else if (nx > xmax) {
nx = xmax;
xs = -xs;
gotoAndPlay (6);
} else if (nx < xmin) {
nx = xmin;
xs = -xs;
gotoAndPlay (6);
}
_x = nx;
ki = _x;
ka = _x + wid;
if ((getProperty("/c", _x) > ki) and (getProperty("/c", _x) < ka)) {
if (getProperty("/c", _y) == _y) {
setProperty("/c", _x , getProperty("/c", _x) + xs);
}
}
if ((getProperty("/m", _x) > ki) and (getProperty("/m", _x) < ka)) {
if (getProperty("/m", _y) == _y) {
setProperty("/m", _x , getProperty("/m", _x) + xs);
}
}
Symbol 439 MovieClip Frame 3
prevFrame();
play();
Symbol 439 MovieClip Frame 6
d = 60;
Symbol 439 MovieClip Frame 7
d = d - 1;
Symbol 439 MovieClip Frame 8
if (d) {
prevFrame();
play();
} else {
gotoAndPlay (2);
}
Symbol 442 MovieClip Frame 1
ki = _x - 20;
ka = _x + 20;
at = _y - 20;
ba = _y + 60;
Symbol 442 MovieClip Frame 2
if ((((getProperty("/c", _x) > ki) and (getProperty("/c", _x) < ka)) and ((getProperty("/c", _y) - 50) > at)) and (getProperty("/c", _y) < ba)) {
_root.fxswitch.start();
gotoAndPlay (4);
}
Symbol 442 MovieClip Frame 3
prevFrame();
play();
Symbol 442 MovieClip Frame 8
tellTarget ("../" + (substring(_name, 2, 100))) {
gotoAndPlay (2);
};
stop();
Instance of Symbol 439 MovieClip "b93" in Symbol 443 MovieClip Frame 1
onClipEvent (load) {
leng = -120;
}
Symbol 446 MovieClip Frame 1
space = 8;
carlheight = 60;
mheight = 30;
ki = _x - space;
ka = (_x + _width) + space;
ki2 = _x - (2 * space);
ka2 = (_x + _width) + (2 * space);
at = _y - _height;
ba = _y;
Symbol 446 MovieClip Frame 2
if ((/:carlOK and (getProperty("/c", _x) > ki)) and (getProperty("/c", _x) < ka)) {
if ((getProperty("/c", _y) > at) and ((getProperty("/c", _y) - carlheight) < ba)) {
Set("/:chit", 6);
}
}
Symbol 446 MovieClip Frame 3
prevFrame();
play();
Symbol 447 MovieClip Frame 1
wid = _width;
ys = 1;
ymin = _y;
ymax = _y + leng;
if (leng < 0) {
ys = -ys;
}
stop();
Symbol 447 MovieClip Frame 2
ny = _y + ys;
if (leng < 0) {
if (ny < ymax) {
ny = ymax;
ys = -ys;
} else if (ny > ymin) {
ny = ymin;
ys = -ys;
}
} else if (ny > ymax) {
ny = ymax;
ys = -ys;
} else if (ny < ymin) {
ny = ymin;
ys = -ys;
}
oldy = _y;
_y = ny;
ki = _x;
ka = _x + wid;
if ((getProperty("/c", _x) > ki) and (getProperty("/c", _x) < ka)) {
if ((getProperty("/c", _y) == oldy) or (getProperty("/c", _y) == _y)) {
setProperty("/c", _y , _y);
}
}
if ((getProperty("/m", _x) > ki) and (getProperty("/m", _x) < ka)) {
if ((getProperty("/m", _y) == oldy) or (getProperty("/m", _y) == _y)) {
setProperty("/m", _y , _y);
Set("/:myland", _y);
}
}
Symbol 447 MovieClip Frame 3
prevFrame();
play();
Symbol 451 MovieClip Frame 1
stop();
Symbol 451 MovieClip Frame 5
stop();
Symbol 452 MovieClip Frame 1
carlheight = 60;
mheight = 30;
ki = _x - (0.5 * _width);
ka = _x + (0.5 * _width);
ki2 = _x - (0.5 * _width);
ka2 = _x + (0.5 * _width);
at = _y - 10;
ba = _y + 2;
Symbol 452 MovieClip Frame 2
if ((((/:carlOK and (getProperty("/c", _x) > ki)) and (getProperty("/c", _x) < ka)) and (getProperty("/c", _y) > at)) and (getProperty("/c", _y) < ba)) {
setProperty("/c", _x , _x);
Set("/:chit", 9);
t.gotoAndPlay(2);
stop();
}
Symbol 452 MovieClip Frame 3
prevFrame();
play();
Instance of Symbol 447 MovieClip "b92" in Symbol 453 MovieClip Frame 1
onClipEvent (load) {
leng = -100;
}
Instance of Symbol 439 MovieClip "b93" in Symbol 453 MovieClip Frame 1
onClipEvent (load) {
leng = 156;
}
Symbol 463 MovieClip Frame 1
wid = _width;
ys = 1;
ymin = _y;
ymax = _y + leng;
if (leng < 0) {
ys = -ys;
}
Symbol 463 MovieClip Frame 2
ny = _y + ys;
if (leng < 0) {
if (ny < ymax) {
ny = ymax;
ys = -ys;
} else if (ny > ymin) {
ny = ymin;
ys = -ys;
}
} else if (ny > ymax) {
ny = ymax;
ys = -ys;
} else if (ny < ymin) {
ny = ymin;
ys = -ys;
}
oldy = _y;
_y = ny;
ki = _x;
ka = _x + wid;
if ((getProperty("/c", _x) > ki) and (getProperty("/c", _x) < ka)) {
if ((getProperty("/c", _y) == oldy) or (getProperty("/c", _y) == _y)) {
setProperty("/c", _y , _y);
}
}
if ((getProperty("/m", _x) > ki) and (getProperty("/m", _x) < ka)) {
if ((getProperty("/m", _y) == oldy) or (getProperty("/m", _y) == _y)) {
setProperty("/m", _y , _y);
Set("/:myland", _y);
}
}
Symbol 463 MovieClip Frame 3
prevFrame();
play();
Symbol 464 MovieClip Frame 1
space = 20;
ki = _x - space;
ka = _x + space;
at = _y - 24;
ba = _y + 2;
Symbol 464 MovieClip Frame 2
if ((getProperty("/c", _x) > ki) and (getProperty("/c", _x) < ka)) {
if ((((!/:chit) and (!/:inv)) and (getProperty("/c", _y) > at)) and (getProperty("/c", _y) < ba)) {
Set("/:chit", 1);
}
}
Symbol 464 MovieClip Frame 3
prevFrame();
play();
Symbol 465 MovieClip Frame 1
wid = _width;
xs = 1;
xmin = _x;
xmax = _x + leng;
if (leng < 0) {
xs = -xs;
}
Symbol 465 MovieClip Frame 2
nx = _x + xs;
if (leng < 0) {
if (nx < xmax) {
nx = xmax;
xs = -xs;
gotoAndPlay (6);
} else if (nx > xmin) {
nx = xmin;
xs = -xs;
gotoAndPlay (6);
}
} else if (nx > xmax) {
nx = xmax;
xs = -xs;
gotoAndPlay (6);
} else if (nx < xmin) {
nx = xmin;
xs = -xs;
gotoAndPlay (6);
}
_x = nx;
ki = _x;
ka = _x + wid;
if ((getProperty("/c", _x) > ki) and (getProperty("/c", _x) < ka)) {
if (getProperty("/c", _y) == _y) {
setProperty("/c", _x , getProperty("/c", _x) + xs);
}
}
if ((getProperty("/m", _x) > ki) and (getProperty("/m", _x) < ka)) {
if (getProperty("/m", _y) == _y) {
setProperty("/m", _x , getProperty("/m", _x) + xs);
}
}
Symbol 465 MovieClip Frame 3
prevFrame();
play();
Symbol 465 MovieClip Frame 6
d = 60;
Symbol 465 MovieClip Frame 7
d = d - 1;
Symbol 465 MovieClip Frame 8
if (d) {
prevFrame();
play();
} else {
gotoAndPlay (2);
}
Instance of Symbol 463 MovieClip "b91" in Symbol 469 MovieClip Frame 1
onClipEvent (load) {
leng = -150;
}
Instance of Symbol 463 MovieClip "b92" in Symbol 469 MovieClip Frame 1
onClipEvent (load) {
leng = -100;
}
Instance of Symbol 465 MovieClip "b94" in Symbol 469 MovieClip Frame 1
onClipEvent (load) {
leng = 100;
}
Instance of Symbol 463 MovieClip "b95" in Symbol 469 MovieClip Frame 1
onClipEvent (load) {
leng = -100;
}
Symbol 470 MovieClip Frame 2
xstart = _x;
Symbol 470 MovieClip Frame 3
vy = 0;
space = 25;
ki = _x - space;
ka = _x + space;
ki2 = _x - (2 * space);
ka2 = _x + (2 * space);
_y = -30;
carlheight = 60;
mheight1 = 30;
mheight2 = 90;
Symbol 470 MovieClip Frame 4
vy = vy + (/:grav2 / 10);
_y = (_y + (vy / 10));
at = _y - space;
ba = _y + space;
if (((/:carlOK and (!/:inv)) and (getProperty("/c", _x) > ki)) and (getProperty("/c", _x) < ka)) {
if (((getProperty("/c", _y) - carlheight) > at) and ((getProperty("/c", _y) - carlheight) < ba)) {
Set("/:chit", 15);
gotoAndPlay (9);
}
}
if (/:form == 2) {
if ((((getProperty("/m", _x) > ki2) and (getProperty("/m", _x) < ka2)) and ((getProperty("/m", _y) - mheight2) > (at - 20))) and ((getProperty("/m", _y) - mheight2) < ba)) {
_root.fxfalldown.start();
gotoAndPlay (9);
}
}
Symbol 470 MovieClip Frame 5
if (_y < 400) {
prevFrame();
play();
} else {
gotoAndPlay (15);
}
Symbol 470 MovieClip Frame 9
vy = -100 - random(50);
if (getProperty("/m", _x) < _x) {
xs = 4 + random(3);
} else {
xs = -4 - random(3);
}
Symbol 470 MovieClip Frame 10
vy = vy + (/:grav2 / 10);
_y = (_y + (vy / 10));
_x = (_x + xs);
_rotation = (_rotation + 5);
Symbol 470 MovieClip Frame 11
if (_y < 400) {
prevFrame();
play();
} else {
gotoAndPlay (15);
}
Symbol 470 MovieClip Frame 17
_x = xstart;
gotoAndPlay (3);
Instance of Symbol 439 MovieClip "b93" in Symbol 474 MovieClip Frame 1
onClipEvent (load) {
leng = 115;
}
Instance of Symbol 465 MovieClip "b94" in Symbol 474 MovieClip Frame 1
onClipEvent (load) {
leng = 100;
}
Instance of Symbol 480 MovieClip in Symbol 482 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = (_x - 4);
}
Instance of Symbol 481 MovieClip in Symbol 482 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = (_x - 7);
}
Symbol 482 MovieClip Frame 20
stop();
Symbol 484 MovieClip Frame 2
if (!/:totalsec) {
prevFrame();
play();
}
Symbol 484 MovieClip Frame 3
xstart = _x;
Symbol 484 MovieClip Frame 11
_x = xstart;
xs = 20;
space = 25;
carlheight = 60;
at = _y - 45;
ba = _y + 20;
_root.fxcar.start();
Symbol 484 MovieClip Frame 12
_x = (_x - xs);
ki = _x + 10;
ka = (_x + _width) - 50;
if ((getProperty("/c", _x) > ki) and (getProperty("/c", _x) < ka)) {
if (((((!/:gothead) and /:carlOK) and (!/:inv)) and (getProperty("/c", _y) > at)) and (getProperty("/c", _y) < ba)) {
Set("/:chit", 12);
}
}
if (((/:form == 1) and (getProperty("/m", _y) > (_y - 4))) and (getProperty("/m", _y) < (_y + 4))) {
if ((getProperty("/m", _x) > (ki - 20)) and (getProperty("/m", _x) < (ki + 20))) {
gotoAndPlay (16);
}
}
Symbol 484 MovieClip Frame 13
if (_x > -250) {
prevFrame();
play();
} else {
gotoAndPlay (4);
}
Symbol 484 MovieClip Frame 16
d = 80;
_root.fxcrash.start();
Symbol 484 MovieClip Frame 17
d = d - 1;
if (d < 40) {
if (getProperty("c", _visible)) {
setProperty("c", _visible , 0);
} else {
setProperty("c", _visible , 1);
}
}
Symbol 484 MovieClip Frame 18
if (d) {
prevFrame();
play();
} else {
_x = -1000;
gotoAndPlay (4);
}
Symbol 487 MovieClip Frame 2
if (!/:totalsec) {
prevFrame();
play();
}
Symbol 487 MovieClip Frame 4
if (getProperty("/c", _x) < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
Symbol 487 MovieClip Frame 5
n = n + 1;
duplicateMovieClip ("../quad", "q" + n, n);
_root.fxmoonshoot.start();
setProperty("../q" + n, _x , _x);
xs = 1.5;
if (_xscale < 0) {
Set(("../q" + n) + "/:xs", -xs);
} else {
Set(("../q" + n) + "/:xs", xs);
}
Symbol 487 MovieClip Frame 7
d = 150;
Symbol 487 MovieClip Frame 8
d = d - 1;
if (getProperty("/c", _x) < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
if (d == 140) {
if ((!/:cvo) and ((n / 2) != int(n / 2))) {
if (!/:zmoonran.length) {
Set("/:zmoonran", /:zmoon.copy());
/:zmoonran.randomize();
}
popped = /:zmoonran.pop();
_root[popped].start();
}
}
Symbol 487 MovieClip Frame 9
if (d) {
prevFrame();
play();
} else {
gotoAndPlay (4);
}
Symbol 489 MovieClip Frame 20
stop();
Symbol 490 MovieClip Frame 1
xs = 1 + random(2);
if (_parent._x < getProperty("/m", _x)) {
xs = -xs;
}
ys = -4 + random(8);
Symbol 490 MovieClip Frame 2
ys = 1.1 * ys;
xs = 1.1 * xs;
_x = (_x + xs);
_y = (_y + ys);
Symbol 490 MovieClip Frame 3
prevFrame();
play();
Symbol 491 MovieClip Frame 1
if (_name eq "quad") {
_visible = 0;
stop();
} else {
d = 800;
at = _y;
ba = _y + _height;
space = 8 + (_width / 2);
carlheight = 60;
mheight = 40;
}
Symbol 491 MovieClip Frame 2
_x = (_x + xs);
ki = _x - space;
ka = _x + space;
if ((getProperty("/c", _x) > ki) and (getProperty("/c", _x) < ka)) {
if (((/:carlOK and (!/:inv)) and (getProperty("/c", _y) > at)) and ((getProperty("/c", _y) - carlheight) < ba)) {
Set("/:chit", 11);
}
}
if (/:form == 1) {
if (((((!/:mhit) and (getProperty("/m", _x) > ki)) and (getProperty("/m", _x) < ka)) and (getProperty("/m", _y) > at)) and ((getProperty("/m", _y) - mheight) < ba)) {
gotoAndPlay (4);
}
}
d = d - 1;
Symbol 491 MovieClip Frame 3
if (d) {
prevFrame();
play();
} else {
gotoAndPlay (25);
}
Symbol 491 MovieClip Frame 25
removeMovieClip("");
stop();
Symbol 492 MovieClip Frame 1
wid = _width;
xs = 1;
xmin = _x;
xmax = _x + leng;
if (leng < 0) {
xs = -xs;
}
Symbol 492 MovieClip Frame 2
nx = _x + xs;
if (leng < 0) {
if (nx < xmax) {
nx = xmax;
xs = -xs;
} else if (nx > xmin) {
nx = xmin;
xs = -xs;
}
} else if (nx > xmax) {
nx = xmax;
xs = -xs;
} else if (nx < xmin) {
nx = xmin;
xs = -xs;
}
_x = nx;
ki = _x;
ka = _x + wid;
if ((getProperty("/c", _x) > ki) and (getProperty("/c", _x) < ka)) {
if (getProperty("/c", _y) == _y) {
setProperty("/c", _x , getProperty("/c", _x) + xs);
}
}
if ((getProperty("/m", _x) > ki) and (getProperty("/m", _x) < ka)) {
if (getProperty("/m", _y) == _y) {
setProperty("/m", _x , getProperty("/m", _x) + xs);
}
}
Symbol 492 MovieClip Frame 3
prevFrame();
play();
Symbol 501 MovieClip Frame 1
ki = _x;
ka = _x + 200;
at = _y - 2;
ba = _y + 2;
Symbol 501 MovieClip Frame 2
if ((((/:CarlOK and (getProperty("/c", _x) > ki)) and (getProperty("/c", _x) < ka)) and (getProperty("/c", _y) > at)) and (getProperty("/c", _y) < ba)) {
Set("/:chit", 13);
}
Symbol 501 MovieClip Frame 3
prevFrame();
play();
Instance of Symbol 252 MovieClip "b91" in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
leng = -140;
}
Instance of Symbol 492 MovieClip "b67" in Symbol 502 MovieClip Frame 1
onClipEvent (load) {
leng = -200;
}
Symbol 513 MovieClip Frame 1
space = 8;
carlheight = 60;
mheight = 30;
ki = _x - space;
ka = (_x + _width) + space;
at = _y - 20;
ba = _y + 5;
if ((Number(substring(_name, 2, 10)) * 0.5) != int(Number(substring(_name, 2, 10)) * 0.5)) {
d = 44;
}
Symbol 513 MovieClip Frame 2
d = d - 1;
Symbol 513 MovieClip Frame 3
if (d > 0) {
prevFrame();
play();
}
Symbol 513 MovieClip Frame 13
call("cek");
Symbol 513 MovieClip Frame 14
call("cek");
_root.fxshock.start();
gotoAndPlay (4);
Symbol 513 MovieClip Frame 17
if ((/:carlOK and (getProperty("/c", _x) > ki)) and (getProperty("/c", _x) < ka)) {
if ((getProperty("/c", _y) > at) and (getProperty("/c", _y) < ba)) {
Set("/:chit", 5);
}
}
Instance of Symbol 252 MovieClip "b81" in Symbol 517 MovieClip Frame 1
onClipEvent (load) {
leng = -100;
}
Instance of Symbol 465 MovieClip "b82" in Symbol 517 MovieClip Frame 1
onClipEvent (load) {
leng = -100;
}
Instance of Symbol 252 MovieClip "b83" in Symbol 517 MovieClip Frame 1
onClipEvent (load) {
leng = -120;
}
Instance of Symbol 439 MovieClip "b71" in Symbol 517 MovieClip Frame 1
onClipEvent (load) {
leng = 120;
}
Symbol 519 MovieClip Frame 8
stop();
Symbol 520 MovieClip Frame 1
stop();
Symbol 521 MovieClip Frame 1
ystart = _y;
Symbol 521 MovieClip Frame 2
ys = 7;
space = 15;
ki = _x - space;
ka = _x + space;
ki2 = _x - 40;
ka2 = _x + 40;
_y = ystart;
carlheight = 60;
mheight1 = 30;
mheight2 = 90;
p.gotoAndStop(1);
Symbol 521 MovieClip Frame 3
at = _y - 20;
ba = _y;
if ((getProperty("/c", _x) > ki) and (getProperty("/c", _x) < ka)) {
if (((/:carlOK and (!/:inv)) and ((getProperty("/c", _y) - carlheight) > at)) and ((getProperty("/c", _y) - carlheight) < ba)) {
Set("/:chit", 3);
p.gotoAndStop(2);
gotoAndPlay (6);
}
}
if (/:form == 2) {
if ((((getProperty("/m", _x) > ki2) and (getProperty("/m", _x) < ka2)) and ((getProperty("/m", _y) - mheight2) > at)) and ((getProperty("/m", _y) - mheight2) < ba)) {
p.gotoAndStop(2);
_root.fxacid2.start();
gotoAndPlay (6);
}
}
Symbol 521 MovieClip Frame 4
ys = ys + 0.7;
_y = (_y + ys);
if (_y < /:yground) {
prevFrame();
play();
} else {
_y = /:yground;
p.gotoAndStop(2);
gotoAndPlay (6);
}
Symbol 521 MovieClip Frame 10
gotoAndPlay (2);
Symbol 527 MovieClip Frame 15
gotoAndPlay (1);
Symbol 528 MovieClip Frame 1
wid = _width;
if (!xs) {
xs = 2;
}
xmin = _x;
xmax = _x + leng;
if (leng < 0) {
xs = -xs;
}
Symbol 528 MovieClip Frame 2
nx = _x + xs;
if (leng < 0) {
if (nx < xmax) {
nx = xmax;
xs = -xs;
} else if (nx > xmin) {
nx = xmin;
xs = -xs;
}
} else if (nx > xmax) {
nx = xmax;
xs = -xs;
} else if (nx < xmin) {
nx = xmin;
xs = -xs;
}
_x = nx;
ki = _x - 15;
ka = _x + 15;
at = _y - 15;
ba = _y + 15;
if ((getProperty("/c", _x) > ki) and (getProperty("/c", _x) < ka)) {
if ((/:carlOK and (getProperty("/c", _y) > at)) and ((getProperty("/c", _y) - /:carlheight) < ba)) {
Set("/:chit", 16);
setProperty("/c", _y , _y);
setProperty("/c", _x , _x);
}
}
Symbol 528 MovieClip Frame 3
prevFrame();
play();
Symbol 537 MovieClip Frame 66
stop();
Symbol 538 MovieClip Frame 2
_y = (_y - 3);
Symbol 538 MovieClip Frame 3
if (_y > 100) {
prevFrame();
play();
}
Symbol 538 MovieClip Frame 4
stop();
Symbol 539 MovieClip Frame 1
xs = 3;
xmin = _x;
xmax = _x + 350;
Symbol 539 MovieClip Frame 3
if (getProperty("/c", _x) < (_x - 100)) {
prevFrame();
play();
}
Symbol 539 MovieClip Frame 22
dis = math.sqrt((_x - getProperty("/c", _x)) * (_x - getProperty("/c", _x)));
if (dis > 10) {
if (_x < getProperty("/c", _x)) {
_x = (_x + xs);
if (_x > xmax) {
_x = xmax;
}
} else {
_x = (_x - xs);
if (_x < xmin) {
_x = xmin;
}
}
} else {
d = d + 1;
if ((d > 10) and (getProperty("/c", _x) < xmax)) {
d = 0;
gotoAndPlay (29);
}
}
e = e + 1;
if (e > 100) {
e = 0;
d = 0;
gotoAndPlay (25);
}
Symbol 539 MovieClip Frame 23
prevFrame();
play();
Symbol 539 MovieClip Frame 25
ran = xmin + random(xmax - xmin);
Symbol 539 MovieClip Frame 26
if (_x < ran) {
_x = (_x + xs);
if (_x > ran) {
_x = ran;
gotoAndPlay (22);
}
} else {
_x = (_x - xs);
if (_x < ran) {
_x = ran;
gotoAndPlay (22);
}
}
Symbol 539 MovieClip Frame 27
prevFrame();
play();
Symbol 539 MovieClip Frame 29
_root.fxufo.start(0, 500);
f = 40;
g = 20;
Symbol 539 MovieClip Frame 30
_x = getProperty("/c", _x);
g = g - 1;
if (g < 10) {
ki2 = _x - 40;
ka2 = _x + 40;
if (((getProperty("/m", _x) > ki2) and (getProperty("/m", _x) < ka2)) and (/:form == 2)) {
_root.fxufo.stop();
if (random(100) > 50) {
gotoAndPlay (25);
} else {
gotoAndPlay (22);
}
} else if (g < -10) {
Set("/:chit", 17);
caypos = getProperty("/c", _y);
gotoAndPlay (35);
}
}
f = f - 1;
Symbol 539 MovieClip Frame 31
if (f) {
prevFrame();
play();
} else {
_root.fxufo.stop();
gotoAndPlay (22);
}
Symbol 539 MovieClip Frame 35
d = 80;
setProperty("ca", _y , caypos);
Symbol 539 MovieClip Frame 36
d = d - 1;
Symbol 539 MovieClip Frame 37
if (d > 0) {
prevFrame();
play();
} else {
_root.fxufo.stop();
gotoAndPlay (40);
}
Symbol 539 MovieClip Frame 60
stop();
Symbol 544 MovieClip Frame 1
ki = _x - 20;
ka = _x + 20;
at = _y - 20;
ba = _y + 60;
status = 0;
Symbol 544 MovieClip Frame 2
if ((((getProperty("/c", _x) > ki) and (getProperty("/c", _x) < ka)) and ((getProperty("/c", _y) - 50) > at)) and (getProperty("/c", _y) < ba)) {
_root.fxswitch.start();
if (!status) {
status = 1;
gotoAndPlay (4);
} else {
status = 0;
gotoAndPlay (13);
}
}
Symbol 544 MovieClip Frame 3
prevFrame();
play();
Symbol 544 MovieClip Frame 4
_root.fxwallblock.start();
Symbol 544 MovieClip Frame 8
tellTarget ("../" + (substring(_name, 2, 100))) {
play();
};
Symbol 544 MovieClip Frame 10
if ((((getProperty("/c", _x) > ki) and (getProperty("/c", _x) < ka)) and ((getProperty("/c", _y) - 50) > at)) and (getProperty("/c", _y) < ba)) {
prevFrame();
play();
}
Symbol 544 MovieClip Frame 11
if ((((getProperty("/c", _x) > ki) and (getProperty("/c", _x) < ka)) and ((getProperty("/c", _y) - 50) > at)) and (getProperty("/c", _y) < ba)) {
_root.fxswitch.start();
if (!status) {
status = 1;
gotoAndPlay (4);
} else {
status = 0;
gotoAndPlay (13);
}
}
Symbol 544 MovieClip Frame 12
prevFrame();
play();
Symbol 544 MovieClip Frame 13
_root.fxwallblock.start();
Symbol 544 MovieClip Frame 17
tellTarget ("../" + (substring(_name, 2, 100))) {
play();
};
Symbol 544 MovieClip Frame 19
if ((((getProperty("/c", _x) > ki) and (getProperty("/c", _x) < ka)) and ((getProperty("/c", _y) - 50) > at)) and (getProperty("/c", _y) < ba)) {
prevFrame();
play();
} else {
gotoAndPlay (2);
}
Symbol 548 MovieClip Frame 1
stop();
Symbol 548 MovieClip Frame 5
stop();
Symbol 548 MovieClip Frame 9
gotoAndStop (1);
Instance of Symbol 528 MovieClip in Symbol 549 MovieClip Frame 1
onClipEvent (load) {
leng = -130;
}
Instance of Symbol 528 MovieClip in Symbol 549 MovieClip Frame 1
onClipEvent (load) {
leng = -130;
}
Symbol 551 MovieClip Frame 1
wid = _width;
xs = 1;
xmin = _x;
xmax = _x + leng;
if (leng < 0) {
xs = -xs;
}
stop();
Symbol 551 MovieClip Frame 2
nx = _x + xs;
if (leng < 0) {
if (nx < xmax) {
nx = xmax;
xs = -xs;
} else if (nx > xmin) {
nx = xmin;
xs = -xs;
}
} else if (nx > xmax) {
nx = xmax;
xs = -xs;
} else if (nx < xmin) {
nx = xmin;
xs = -xs;
}
_x = nx;
ki = _x;
ka = _x + wid;
if ((getProperty("/c", _x) > ki) and (getProperty("/c", _x) < ka)) {
if (getProperty("/c", _y) == _y) {
setProperty("/c", _x , getProperty("/c", _x) + xs);
}
}
if ((getProperty("/m", _x) > ki) and (getProperty("/m", _x) < ka)) {
if (getProperty("/m", _y) == _y) {
setProperty("/m", _x , getProperty("/m", _x) + xs);
}
}
Symbol 551 MovieClip Frame 3
prevFrame();
play();
Instance of Symbol 252 MovieClip "b81" in Symbol 552 MovieClip Frame 1
onClipEvent (load) {
leng = -100;
}
Instance of Symbol 551 MovieClip "b84" in Symbol 552 MovieClip Frame 1
onClipEvent (load) {
leng = 120;
}
Instance of Symbol 252 MovieClip "b83" in Symbol 552 MovieClip Frame 1
onClipEvent (load) {
leng = -70;
}
Symbol 560 MovieClip Frame 1
space = 10;
Symbol 560 MovieClip Frame 2
at = _y + getProperty("w/z", _y);
ba = _y + getProperty("w/z", _y);
ki = (_x + getProperty("w/z", _x)) - space;
ka = (_x + getProperty("w/z", _x)) + space;
if ((/:carlOK and (getProperty("/c", _x) > ki)) and (getProperty("/c", _x) < ka)) {
if ((getProperty("/c", _y) > at) and ((getProperty("/c", _y) - /:carlheight) < ba)) {
Set("/:chit", 4);
}
}
Symbol 560 MovieClip Frame 3
prevFrame();
play();
Symbol 574 MovieClip Frame 1
if (!udah) {
udah = 1;
gotoAndPlay((substring(_name, 2, 1)) * 10);
}
Symbol 577 MovieClip Frame 1
if (!udah) {
udah = 1;
gotoAndPlay((substring(_name, 2, 1)) * 3);
}
Symbol 577 MovieClip Frame 13
gotoAndPlay (1);
Symbol 585 MovieClip Frame 9
d = d + 1;
if (d < 3) {
gotoAndPlay (1);
}
Symbol 585 MovieClip Frame 50
stop();
Symbol 586 MovieClip Frame 1
at = _y - 25;
ba = _y + 4;
wid = _width;
if (!xs) {
xs = 2;
}
xmin = _x;
xmax = _x + leng;
if (leng < 0) {
xs = -xs;
}
Symbol 586 MovieClip Frame 2
nx = _x + xs;
if (leng < 0) {
if (nx < xmax) {
nx = xmax;
xs = -xs;
} else if (nx > xmin) {
nx = xmin;
xs = -xs;
}
} else if (nx > xmax) {
nx = xmax;
xs = -xs;
} else if (nx < xmin) {
nx = xmin;
xs = -xs;
}
if (((/:form == 1) and (getProperty("/m", _y) > (_y - 4))) and (getProperty("/m", _y) < (_y + 4))) {
wspace = 30;
if (xs < 0) {
if ((nx < (getProperty("/m", _x) + wspace)) and (nx > (getProperty("/m", _x) + 15))) {
nx = _x;
}
} else if ((nx > (getProperty("/m", _x) - wspace)) and (nx < (getProperty("/m", _x) - 15))) {
nx = _x;
}
}
_x = nx;
ki = _x - 15;
ka = _x + 15;
if ((getProperty("/c", _x) > ki) and (getProperty("/c", _x) < ka)) {
if (((/:carlOK and (!/:inv)) and (getProperty("/c", _y) > at)) and (getProperty("/c", _y) < ba)) {
Set("/:chit", 19);
gotoAndPlay (5);
}
}
Symbol 586 MovieClip Frame 3
prevFrame();
play();
Symbol 586 MovieClip Frame 5
d = 64;
Symbol 586 MovieClip Frame 6
d = d - 1;
Symbol 586 MovieClip Frame 7
if (d) {
prevFrame();
play();
} else {
gotoAndPlay (2);
}
Instance of Symbol 586 MovieClip in Symbol 587 MovieClip Frame 1
onClipEvent (load) {
leng = 150;
}
Instance of Symbol 252 MovieClip "b83" in Symbol 587 MovieClip Frame 1
onClipEvent (load) {
leng = -120;
}
Instance of Symbol 492 MovieClip "b82" in Symbol 587 MovieClip Frame 1
onClipEvent (load) {
leng = 143;
}
Instance of Symbol 252 MovieClip "b84" in Symbol 587 MovieClip Frame 1
onClipEvent (load) {
leng = 100;
}
Instance of Symbol 586 MovieClip in Symbol 587 MovieClip Frame 1
onClipEvent (load) {
leng = 200;
}
Instance of Symbol 586 MovieClip in Symbol 587 MovieClip Frame 1
onClipEvent (load) {
leng = 150;
}
Instance of Symbol 586 MovieClip in Symbol 587 MovieClip Frame 1
onClipEvent (load) {
leng = 150;
}
Symbol 588 MovieClip Frame 2
xstart = _x;
Symbol 588 MovieClip Frame 3
vy = 0;
space = 8;
ki = _x - space;
ka = _x + space;
ki2 = _x - 40;
ka2 = _x + 40;
_y = (-30 - random(50));
mheight1 = 30;
mheight2 = 90;
_rotation = 0;
Symbol 588 MovieClip Frame 4
vy = vy + (/:grav2 / 10);
_y = (_y + (vy / 10));
at = _y - 25;
ba = _y + 25;
if ((/:carlOK and (getProperty("/c", _x) > ki)) and (getProperty("/c", _x) < ka)) {
if (((!/:inv) and (getProperty("/c", _y) > at)) and ((getProperty("/c", _y) - /:carlheight) < ba)) {
Set("/:chit", 18);
gotoAndPlay (15);
}
}
if (/:form == 2) {
if ((((getProperty("/m", _x) > ki2) and (getProperty("/m", _x) < ka2)) and ((getProperty("/m", _y) - mheight2) > at)) and ((getProperty("/m", _y) - mheight2) < ba)) {
_root.fxfalldown.start();
gotoAndPlay (9);
}
}
Symbol 588 MovieClip Frame 5
if (_y < 400) {
prevFrame();
play();
} else {
gotoAndPlay (15);
}
Symbol 588 MovieClip Frame 9
vy = -50 - random(50);
if (getProperty("/m", _x) < _x) {
xs = 4 + random(3);
} else {
xs = -4 - random(3);
}
Symbol 588 MovieClip Frame 10
vy = vy + (/:grav2 / 10);
_y = (_y + (vy / 10));
_x = (_x + 3);
_rotation = (_rotation + 50);
Symbol 588 MovieClip Frame 11
if (_y < 400) {
prevFrame();
play();
} else {
gotoAndPlay (15);
}
Symbol 588 MovieClip Frame 17
_x = xstart;
gotoAndPlay (3);
Symbol 589 MovieClip Frame 1
wid = _width;
if (!ys) {
ys = 2;
}
ymin = _y;
ymax = _y + leng;
if (leng < 0) {
ys = -ys;
}
Symbol 589 MovieClip Frame 2
ny = _y + ys;
if (leng < 0) {
if (ny < ymax) {
ny = ymax;
ys = -ys;
} else if (ny > ymin) {
ny = ymin;
ys = -ys;
}
} else if (ny > ymax) {
ny = ymax;
ys = -ys;
} else if (ny < ymin) {
ny = ymin;
ys = -ys;
}
_y = ny;
ki = _x - 15;
ka = _x + 15;
at = _y - 15;
ba = _y + 15;
if ((getProperty("/c", _x) > ki) and (getProperty("/c", _x) < ka)) {
if ((/:carlOK and (getProperty("/c", _y) > at)) and ((getProperty("/c", _y) - /:carlheight) < ba)) {
Set("/:chit", 16);
setProperty("/c", _y , _y);
setProperty("/c", _x , _x);
}
}
Symbol 589 MovieClip Frame 3
prevFrame();
play();
Symbol 602 MovieClip Frame 22
stop();
Symbol 607 MovieClip Frame 15
Set("../:hei", 20);
Set("../:ki", getProperty("../", _x) - 5);
Set("../:ka", getProperty("../", _x) + 30);
Symbol 607 MovieClip Frame 39
Set("../:hei", 55);
Set("../:ki", getProperty("../", _x) - 30);
Set("../:ka", getProperty("../", _x) + 30);
Symbol 607 MovieClip Frame 41
gotoAndPlay (1);
Symbol 607 MovieClip Frame 100
gotoAndPlay (1);
Symbol 608 MovieClip Frame 1
space = 30;
wid = 40;
ki = _x - space;
ka = _x + space;
Symbol 608 MovieClip Frame 2
at = _y - hei;
ba = _y;
if ((/:carlOK and (getProperty("/c", _x) > ki)) and (getProperty("/c", _x) < ka)) {
if ((getProperty("/c", _y) > at) and ((getProperty("/c", _y) - /:carlheight) < ba)) {
Set("/:chit", 10);
eat = 1;
p.gotoAndPlay("eat");
if (getProperty("/c", _x) > _x) {
_xscale = -100;
}
}
}
Symbol 608 MovieClip Frame 3
if (!eat) {
prevFrame();
play();
}
Symbol 608 MovieClip Frame 4
d = 60;
Symbol 608 MovieClip Frame 5
d = d - 1;
Symbol 608 MovieClip Frame 6
if (d) {
prevFrame();
play();
} else {
eat = 0;
_xscale = 100;
gotoAndPlay (2);
}
Instance of Symbol 252 MovieClip "b84" in Symbol 609 MovieClip Frame 1
onClipEvent (load) {
leng = -170;
}
Instance of Symbol 439 MovieClip "b82" in Symbol 609 MovieClip Frame 1
onClipEvent (load) {
leng = -180;
xs = 2;
}
Instance of Symbol 589 MovieClip in Symbol 609 MovieClip Frame 1
onClipEvent (load) {
leng = -135;
xs = 0;
ys = 2;
}
Instance of Symbol 465 MovieClip "b83" in Symbol 609 MovieClip Frame 1
onClipEvent (load) {
leng = -65;
}
Instance of Symbol 465 MovieClip "b86" in Symbol 609 MovieClip Frame 1
onClipEvent (load) {
leng = 120;
}
Instance of Symbol 252 MovieClip "b84" in Symbol 610 MovieClip Frame 1
onClipEvent (load) {
leng = -100;
}
Instance of Symbol 252 MovieClip "b82" in Symbol 610 MovieClip Frame 1
onClipEvent (load) {
leng = 120;
}
Instance of Symbol 528 MovieClip in Symbol 610 MovieClip Frame 1
onClipEvent (load) {
leng = 150;
xs = 1.5;
}
Instance of Symbol 465 MovieClip "b81" in Symbol 610 MovieClip Frame 1
onClipEvent (load) {
leng = -70;
}
Instance of Symbol 586 MovieClip in Symbol 610 MovieClip Frame 1
onClipEvent (load) {
leng = 120;
}
Symbol 611 Button
on (release) {
gotoAndPlay (17);
}
Symbol 625 MovieClip Frame 1
time = /:time;
level = /:level;
stop();
Symbol 626 MovieClip Frame 1
xs = 10;
vy = -200;
grav = 200;
yground = _y;
Symbol 626 MovieClip Frame 2
vy = vy + (grav / 10);
ny = _y + (vy / 10);
if (vy > 0) {
if (ny > yground) {
ny = yground;
vy = -0.8 * vy;
}
}
_y = ny;
_x = (_x + xs);
_rotation = (_rotation + 15);
Symbol 626 MovieClip Frame 3
prevFrame();
play();
Symbol 627 Button
on (release) {
gotoAndStop (89);
}