Frame 1
fscommand ("trapallkeys", 1);
fscommand ("allowscale", 0);
Stage.showMenu = false;
Stage.scaleMode = "noScale";
fr.swapDepths(200010);
_global.r = this;
Frame 2
onEnterFrame = function () {
if (_framesloaded == _totalframes) {
r.music = 1;
r.udamusik = 0;
delete onEnterFrame;
gotoAndPlay ("menu");
}
};
stop();
Frame 10
MovieClip.prototype.initdrip = function () {
var t = this;
t.ys = 2;
t.starty = t._y;
t.endy = t._y + 170;
t.onEnterFrame = function () {
t._y = t._y + t.ys;
t.ys++;
((t._y > t.endy) ? (t.removeMovieClip()) : null);
};
};
MovieClip.prototype.initwaterdripper = function () {
var t = this;
t._visible = false;
var pos = localpos(t, r);
t.onEnterFrame = function () {
if (r.cursortipe == 2) {
if (cursor.b._alpha == 100) {
if ((pos.xx > (cursor._x - 200)) and (pos.xx < (cursor._x - 30))) {
if (cursor.b.hitTest(pos.xx, pos.yy, true)) {
t._visible = true;
t.d = 999999 /* 0x0F423F */;
t.dripd = (t.dripdelay = 20 + random(20));
t.dep = 10;
t.onEnterFrame = function () {
t.d--;
if (t.d > 0) {
t.dripd--;
((!t.dripd) ? ((t.dripd = t.dripdelay + random(20))t.attachMovie("drip", "drip" + t.dep, t.dep)) : null);
t.dep++;
}
((r.cursortipe == 3) ? ((t.d = Math.min(80, t.d))(t.dripdelay = 50)) : null);
((t.d < -30) ? ((t._visible = false)delete t.onEnterFrame) : null);
};
}
}
}
}
};
};
MovieClip.prototype.timetotext = function (waktu, onesec) {
var _local1 = Math.floor(waktu / onesec);
var _local3 = (waktu - (_local1 * onesec)) * 4;
var _local2 = Math.floor(_local1 / 60);
_local1 = _local1 - (_local2 * 60);
((_local2 < 10) ? ((tmin = "0" + _local2)) : ((tmin = _local2)));
((_local1 < 10) ? ((tsec = "0" + _local1)) : ((tsec = _local1)));
((_local3 < 10) ? ((tmsec = "0" + _local3)) : ((tmsec = _local3)));
return((tmin + ":") + tsec);
};
MovieClip.prototype.formatnumber = function (amount) {
if (isNaN(amount)) {
return("0");
}
amount = Math.round(amount * 100) / 100;
var _local6 = String(amount);
var _local3 = _local6.split(".");
var _local4 = new Array();
var _local2;
var _local1 = _local3[0].length;
while (_local1 > 0) {
_local2 = Math.max(_local1 - 3, 0);
_local4.unshift(_local3[0].slice(_local2, _local1));
_local1 = _local2;
}
_local3[0] = _local4.join(",");
return(_local3.join("."));
};
MovieClip.prototype.inithair = function () {
var t = this;
t._xscale = 60 + random(80);
t.ys = -0.1 - (0.1 * random(20));
t.grav = 0.2;
t.ro = -10 + random(20);
t.onEnterFrame = function () {
t._x = t._x + t.xs;
t._y = t._y + t.ys;
t.ys = t.ys + t.grav;
t._rotation = t._rotation + t.ro;
t.ro = t.ro * 0.99;
((t._y > 420) ? (t.removeMovieClip()) : null);
};
};
MovieClip.prototype.initbrush = function () {
var t = this;
t.num = 0;
t.swec1 = 0.1;
t.swec2 = 0.4;
t.swrotx = t._x;
t.swxs = 0;
t.onEnterFrame = function () {
t.oldx = t._x;
t.oldy = t._y;
t.movecursor();
t.swxs = ((t._x - t.swrotx) * t.swec1) + (t.swxs * t.swec2);
t.swrotx = t.swrotx + t.swxs;
t._rotation = 270 + deg(Math.atan2(35, -t.swxs));
if (r.pressing) {
if (p.hitTest(t._x, t._y, true)) {
t.dx = t._x - t.oldx;
t.dy = t._y - t.oldy;
if (((t.dx * t.dx) + (t.dy * t.dy)) > 100) {
var _local2 = Math.min(3, Math.max(-3, t.dx / 4));
var _local1 = localpos(t.hairsource, m);
m.attachMovie("pethair", "pethair" + r.od, r.od, {_x:_local1.xx, _y:_local1.yy, xs:_local2});
r.od++;
r.hairmax = Math.max(0, r.hairmax - 1);
t.num++;
(t.num.isMultipleOf(4) ? (r[getrandom("hairsfx")].start()) : null);
}
}
}
};
};
MovieClip.prototype.initfoambubble = function () {
var t = this;
r.bubbles.push(t);
t.d = 100 + random(50);
t.onEnterFrame = function () {
t.d--;
(((t.d < 0) or stat.nextbutton._visible) ? ((t._alpha = t._alpha - 5)) : null);
((t._alpha <= 0) ? (t.removeit(r.bubbles)) : null);
};
};
MovieClip.prototype.blinkwait = function () {
var t = this;
((!t.blinktime) ? ((t.blinktime = [30, 25, 10, 60, 30, 40, 5, 50, 70])(t.no = 0)) : null);
t.d = t.blinktime[t.no];
t.no++;
((t.no == t.blinktime.length) ? ((t.no = 0)) : null);
t.onEnterFrame = function () {
t.d--;
if (t.d) {
} else {
delete t.onEnterFrame;
(t.gotoAndPlay(1));// not popped
}
};
t.stop();
};
MovieClip.prototype.initbodydirt = function () {
var t = this;
t.cacheAsBitmap = true;
t.onEnterFrame = function () {
t._alpha = r.dirtalpha;
if (r.removedirt or (r.dirtalpha < 1)) {
t.onEnterFrame = function () {
t._alpha--;
if (t._alpha > 0) {
} else {
(t._visible = false);
(t.gotoAndStop(2));// not popped
}
};
}
};
t.stop();
};
MovieClip.prototype.initfronthead = function () {
var t = this;
_global.pethead = t;
t.rnow = (t._rotation = 0);
t.delay = 40;
t.d = 1;
t.dhalf = t.d / 2;
t.flip = 1;
t.ro = 0;
t.rspeed = 0.01;
t.angle = 4;
t.onEnterFrame = function () {
t.d--;
((t.d > t.dhalf) ? ((t.rspeed = Math.min(0.2, t.rspeed + 0.01))) : ((t.rspeed = Math.max(0.01, t.rspeed - 0.01))));
((t.ro < t.rnow) ? ((t.rnow = Math.max(t.ro, t.rnow - t.rspeed))) : ((t.rnow = Math.min(t.ro, t.rnow + t.rspeed))));
t._rotation = t.rnow;
((!t.d) ? ((t.d = t.delay)(t.dhalf = t.d / 2)(t.rspeed = 0.01)(t.flip = !t.flip)(t.flip ? ((t.ro = t.angle)) : ((t.ro = -t.angle)))) : null);
};
};
MovieClip.prototype.popstep = function (no, delay) {
m.attachMovie("steps", "steps", 89, {_x:207, _y:48, no:no, delay:delay});
};
MovieClip.prototype.initsteps = function () {
var t = this;
_global.steps = t;
t._y = t._y + 1000;
t.onEnterFrame = function () {
((!t.delay) ? ((t._y = t._y - 1000)r.zpop.start()t.jiggle(140)) : null);
t.delay--;
};
};
MovieClip.prototype.shownextbutton = function (labl) {
r.finish = 1;
(((zonepaw != undefined) or (cursortipe == 5)) ? ((yy = 420)) : ((yy = 350)));
stat.attachMovie("nextbutton", "nextbutton", r.popd, {_x:640, _y:yy, labl:labl});
r.popd++;
r.zpop.start();
};
MovieClip.prototype.popbutton = function (delay) {
var t = this;
t._y = t._y + 1000;
t.d = delay;
t.onEnterFrame = function () {
t.d--;
((!t.d) ? ((t._y = t._y - 1000)r.zpop.start()t.jiggle(140)) : null);
};
};
MovieClip.prototype.loadsfx = function () {
if (!r.udamusik) {
r.udamusik = 1;
stopAllSounds();
r.createEmptyMovieClip("sfx", 60001);
var _local2 = ["ztictoc1", "ztictoc2", "zhair1", "zhair2", "znail", "zclick", "zsponge1", "zsponge2", "zpop", "zcamera", "ztowel1", "ztowel2", "ztink", "zbrush1", "zbrush2"];
var _local1 = 0;
while (_local1 < _local2.length) {
r[_local2[_local1]] = new Sound(r.sfx);
r[_local2[_local1]].attachSound(_local2[_local1]);
_local1++;
}
r.createEmptyMovieClip("sfx2", 60002);
r.zloop = new Sound(r.sfx2);
r.zloop.attachSound("zloop");
r.zloop.start(0, 99999);
r.zloop.setVolume(0);
r.zloop.fade("in", 3);
r.createEmptyMovieClip("sfx3", 60003);
r.zshower = new Sound(r.sfx3);
r.zshower.attachSound("zshower");
r.createEmptyMovieClip("sfx4", 60004);
r.zdryer = new Sound(r.sfx4);
r.zdryer.attachSound("zdryer");
}
};
MovieClip.prototype.releasedrag = function () {
r["itemstatus" + r.dragging.tipe][r.dragging.id] = 1;
r.dragging = 0;
dragmc.removeMovieClip();
};
MovieClip.prototype.cekitem = function () {
var _local2 = this;
if (r["itemstatus" + _local2.tipe][_local2.id] == 1) {
r["itemstatus" + _local2.tipe][_local2.id] = 0;
(r.dragging ? ((r["itemstatus" + r.dragging.tipe][r.dragging.id] = 1)) : null);
dragitem(_local2.tipe, _local2.id);
r.zclick.start();
} else {
releasedrag();
}
};
MovieClip.prototype.dragitem = function (tipe, id) {
r.dragging = {tipe:tipe, id:id};
((tipe == 1) ? ((ska = 180)) : ((ska = 190)));
var t = m.attachMovie("item" + tipe, "dragitem", dragdep, {_x:m._xmouse, _y:m._ymouse, _xscale:ska, _yscale:ska, id:id});
_global.dragmc = t;
((tipe == 1) ? ((t.swec1 = 0.6)(t.swec2 = 0.5)) : null);
((tipe == 2) ? ((t.swec1 = 0.5)(t.swec2 = 0.5)) : null);
((tipe == 3) ? ((t.swec1 = 0.3)(t.swec2 = 0.5)) : null);
t.swrotx = t._x;
t.swxs = 0;
t.onEnterFrame = function () {
t._x = m._xmouse;
t._y = m._ymouse;
t.swxs = ((t._x - t.swrotx) * t.swec1) + (t.swxs * t.swec2);
t.swrotx = t.swrotx + t.swxs;
if (t.tipe > 1) {
t.swxs = ((t._x - t.swrotx) * t.swec1) + (t.swxs * t.swec2);
t.swrotx = t.swrotx + t.swxs;
}
t.a._rotation = 270 + deg(Math.atan2(35, -t.swxs));
};
t.onMouseDown = function () {
if (p.hitTest(t._x, t._y, true)) {
r["wearing" + r.dragging.tipe] = r.dragging.id;
r.dragging = 0;
r.noremove = 2;
r.zclick.start();
t.removeMovieClip();
} else if (!page.hitTest(t._x, t._y, true)) {
releasedrag();
}
};
};
MovieClip.prototype.wearitem = function (tipe) {
var t = this;
t.tipe = tipe;
t._visible = false;
t.wearnow = 0;
t.onEnterFrame = function () {
if (r["wearing" + t.tipe] != t.wearnow) {
t._visible = true;
((t.wearnow != 0) ? ((r["itemstatus" + t.tipe][t.wearnow] = 1)) : null);
t.a.gotoAndStop(r["wearing" + t.tipe]);
t.wearnow = r["wearing" + t.tipe];
}
(t.wearnow ? ((t._visible = true)) : ((t._visible = false)));
};
t.onMouseDown = function () {
if ((((!r.noremove) and t.hitTest(r._xmouse, r._ymouse, true)) and (!r.dragging)) and t.wearnow) {
dragitem(t.tipe, t.wearnow);
t.wearnow = (r["wearing" + t.tipe] = 0);
}
};
};
MovieClip.prototype.itemspage = function (no) {
var _local2 = this;
_local2.tipe = no;
_local2.total = r.totalitems[_local2.tipe];
_local2.pagemax = Math.ceil(_local2.total / r.itemsperpage);
_local2.makepage(1, _local2.tipe);
_local2.jiggle(120);
stat.donebutton.removeMovieClip();
_local2.stop();
};
MovieClip.prototype.makepage = function (no, tipe) {
var _local2 = this;
_local2.attachMovie("page", "page", 110, {no:no, tipe:tipe});
_local2.pagenow = no;
};
MovieClip.prototype.initpage = function () {
var _local3 = this;
_global.page = this;
_local3.spacing = 60;
_local3.idx = 1 + ((_local3.no - 1) * r.itemsperpage);
_local3.dep = 10;
if (_local3.idx <= r.totalitems[_local3.tipe]) {
_local3.attachMovie("thumbnail" + _local3.tipe, "thumbnail" + _local3.dep, _local3.dep, {id:_local3.idx, _x:-_local3.spacing, _y:-_local3.spacing});
_local3.dep++;
}
if ((_local3.idx + 1) <= r.totalitems[_local3.tipe]) {
_local3.attachMovie("thumbnail" + _local3.tipe, "thumbnail" + _local3.dep, _local3.dep, {id:_local3.idx + 1, _x:_local3.spacing, _y:-_local3.spacing});
_local3.dep++;
}
if ((_local3.idx + 2) <= r.totalitems[_local3.tipe]) {
_local3.attachMovie("thumbnail" + _local3.tipe, "thumbnail" + _local3.dep, _local3.dep, {id:_local3.idx + 2, _x:-_local3.spacing, _y:_local3.spacing});
_local3.dep++;
}
if ((_local3.idx + 3) <= r.totalitems[_local3.tipe]) {
_local3.attachMovie("thumbnail" + _local3.tipe, "thumbnail" + _local3.dep, _local3.dep, {id:_local3.idx + 3, _x:_local3.spacing, _y:_local3.spacing});
_local3.dep++;
}
_local3._parent.jiggle(102);
};
MovieClip.prototype.initthumbnail = function (tipe) {
var t = this;
t.tipe = tipe;
t.a.gotoAndStop(t.id);
t.onEnterFrame = function () {
((r["itemstatus" + t.tipe][t.id] == 1) ? ((t.a._visible = true)) : ((t.a._visible = false)));
};
};
MovieClip.prototype.initaccmenu = function () {
var _local2 = this;
_local2.jiggle(120);
r.done.jiggle(150);
stat.attachMovie("donebutton", "donebutton", r.popd, {_x:640, _y:418});
r.popd++;
_local2.stop();
};
MovieClip.prototype.initnail = function () {
var t = this;
r.nail.push(t);
t.onEnterFrame = function () {
if (r.noclip == 8) {
var _local1 = localpos(clip1, r);
if (t.hitTest(_local1.xx, _local1.yy, true)) {
r.znail.start();
t.a.gotoAndStop(2);
r.nail.removeValue(t);
delete t.onEnterFrame;
}
}
};
};
MovieClip.prototype.inittowel = function () {
var t = this;
t.num = 0;
t.swec1 = 0.1;
t.swec2 = 0.4;
t.swrotx = t._x;
t.swxs = 0;
t.onEnterFrame = function () {
t.oldx = t._x;
t.oldy = t._y;
t.movecursor();
var _local1 = 0;
while (_local1 < 2) {
t.swxs = ((t._x - t.swrotx) * t.swec1) + (t.swxs * t.swec2);
t.swrotx = t.swrotx + t.swxs;
_local1++;
}
t.a._rotation = 270 + deg(Math.atan2(35, -t.swxs));
if (r.pressing) {
if (p.hitTest(cursor._x, cursor._y, true)) {
t.dx = t._x - t.oldx;
t.dy = t._y - t.oldy;
if (((t.dx * t.dx) + (t.dy * t.dy)) > 100) {
t.num++;
(t.num.isMultipleOf(6) ? (r[getrandom("towelsfx")].start()) : null);
}
}
}
};
};
MovieClip.prototype.inittoothdirt = function () {
var _local2 = this;
r.dirt.push(_local2);
};
MovieClip.prototype.inittoothbrushbox = function () {
var _local4 = this;
_local4._visible = false;
var _local3 = 0;
while (_local3 < r.dirt.length) {
var _local2 = r.dirt[_local3];
(_local2.hitTest(_local4) ? ((_local2._alpha = Math.max(0, _local2._alpha - 20))) : null);
_local3++;
}
};
MovieClip.prototype.inittoothbrush = function () {
var t = this;
t.n = (t.count = (t.num = 0));
t.onEnterFrame = function () {
t.oldx = t._x;
t.oldy = t._y;
t.movecursor();
if (r.pressing) {
var _local6 = localpos(cursor, r);
var _local5 = Math.round(_local6.xx);
var _local4 = Math.round(_local6.yy);
if (p.z.hitTest(_local5, _local4, true)) {
if (r.bubblemax > 0) {
var _local3 = 1;
var _local1 = 0;
while (_local1 < r.bubbles.length) {
var _local2 = r.bubbles[_local1];
if (_local2._x == _local5) {
if (_local2._y == _local4) {
_local3 = 0;
break;
}
}
_local1++;
}
if (_local3) {
_local6 = localpos(cursor, p.place);
var _local7 = 30 + random(40);
p.place.attachMovie("foambubble", "bubble" + r.od, r.od, {_x:_local6.xx, _y:_local6.yy, _xscale:_local7, _yscale:_local7});
r.od++;
r.bubblemax--;
}
}
}
if (t.hitTest(teethdirt)) {
t.dx = t._x - t.oldx;
t.dy = t._y - t.oldy;
if (((t.dx * t.dx) + (t.dy * t.dy)) > 100) {
t.n = 4;
t.num++;
(t.num.isMultipleOf(3) ? (r[getrandom("brushsfx")].start()) : null);
}
}
((t.n > 0) ? (t.n--t.count++) : ((t.count = 0)));
((t.count > 10) ? ((t.count = 0)m.attachMovie("toothbrushbox", "toothbrushbox" + r.od, r.od, {_x:(t._x + t.oldx) / 2, _y:(t._y + t.oldy) / 2})r.od++) : null);
}
};
};
MovieClip.prototype.initfur = function () {
var t = this;
r.fur.push(t);
t._visible = false;
var pos = localpos(t, r);
t.onEnterFrame = function () {
if (r.cursortipe == 4) {
t._visible = true;
t.a._alpha = (t.drytime = (t.uda = 0));
t.onEnterFrame = function () {
if (r.pressing and cursor.z.hitTest(pos.xx, pos.yy, true)) {
t.a._alpha = Math.min(100, t.a._alpha + 20);
t.drytime++;
} else {
t.a._alpha = Math.max(0, t.a._alpha - 20);
}
};
}
};
};
MovieClip.prototype.initdryer = function () {
var t = this;
t.vol = 0;
r.zdryer.start(0, 99999);
(r.music ? (r.zdryer.setVolume(t.vol)) : null);
t.swec1 = 0.1;
t.swec2 = 0.4;
t.swrotx = t._x;
t.swxs = 0;
t.onEnterFrame = function () {
t.movecursor();
var _local1 = 0;
while (_local1 < 2) {
t.swxs = ((t._x - t.swrotx) * t.swec1) + (t.swxs * t.swec2);
t.swrotx = t.swrotx + t.swxs;
_local1++;
}
t.a._rotation = 270 + deg(Math.atan2(35, -t.swxs));
if (r.pressing) {
t.vol = Math.min(100, t.vol + 20);
r.stopmovinghead = (r.stopmovingtail = 1);
} else {
t.vol = Math.max(0, t.vol - 20);
}
(r.music ? (r.zdryer.setVolume(t.vol)) : null);
};
};
MovieClip.prototype.initwaterstain = function () {
var t = this;
t._visible = false;
((random(100) > 50) ? ((t.a._xscale = -100)) : null);
var pos = localpos(t, r);
t.onEnterFrame = function () {
if (r.cursortipe == 2) {
if (cursor.b._alpha == 100) {
if ((pos.xx > (cursor._x - 200)) and (pos.xx < (cursor._x - 30))) {
if (cursor.b.hitTest(pos.xx, pos.yy, true)) {
t._visible = true;
t.a.a.gotoAndPlay(1);
t.onEnterFrame = function () {
((r.cursortipe == 3) ? (t.detecttowel()) : null);
};
}
}
}
}
};
};
MovieClip.prototype.detecttowel = function () {
var t = this;
var pos = localpos(t, r);
t.onEnterFrame = function () {
if (r.pressing) {
if (cursor.hitTest(pos.xx, pos.yy, true)) {
t._alpha = t._alpha - 10;
((t._alpha <= 0) ? (t.removeMovieClip()) : null);
}
}
};
};
MovieClip.prototype.detectwater = function () {
var t = this;
var pos = localpos(t, r);
t.ys = 0.5 + (0.1 * random(10));
t.ymax = (t._y + 10) + random(10);
t.onEnterFrame = function () {
if (cursor.b._alpha == 100) {
if ((pos.xx > (cursor._x - 200)) and (pos.xx < (cursor._x - 30))) {
if (cursor.b.hitTest(pos.xx, pos.yy, true)) {
t._y = t._y + t.ys;
var pos = localpos(t, r);
if (pos.yy > t.ymax) {
t.removebubbles();
} else if (!p.hitTest(pos.xx, pos.yy, true)) {
t.removebubbles();
}
}
}
}
};
};
MovieClip.prototype.removebubbles = function () {
var t = this;
t.n = (t.d = 1);
t.onEnterFrame = function () {
t.d--;
if (t.d <= 0) {
t.d = random(5);
(t.a["b" + t.n]._visible ? ((t.a["b" + t.n]._visible = false)t.n++) : (t.removeit(r.bubbles)));
}
};
};
MovieClip.prototype.initshower = function () {
var t = this;
t.b._alpha = 0;
t.vol = 0;
r.zshower.start(0, 99999);
(r.music ? (r.zshower.setVolume(t.vol)) : null);
t.onEnterFrame = function () {
t.movecursor();
t.mask._y = 410 - t._y;
if (r.pressing) {
t.b._alpha = Math.min(100, t.b._alpha + 10);
t.vol = Math.min(100, t.vol + 10);
} else {
t.b._alpha = Math.max(0, t.b._alpha - 10);
t.vol = Math.max(0, t.vol - 10);
}
(r.music ? (r.zshower.setVolume(t.vol)) : null);
};
};
MovieClip.prototype.initboxarea = function () {
var t = this;
t._visible = false;
r.boxarea.push(t);
var _local2 = localpos(t, r);
t.x1 = _local2.xx;
t.x2 = _local2.xx + t._width;
t.y1 = _local2.yy;
t.y2 = _local2.yy + t._height;
t.ok = 0;
t.onEnterFrame = function () {
if (r.pressing) {
if (!t.ok) {
if (r._xmouse > t.x1) {
if (r._xmouse < t.x2) {
if (r._ymouse > t.y1) {
if (r._ymouse < t.y2) {
t.ok = 1;
}
}
}
}
}
}
};
};
MovieClip.prototype.movingtail = function () {
var _local2 = this;
if (r.stopmovingtail) {
((_local2.n == undefined) ? (((_local2._totalframes > 15) ? ((_local2.n = 1)) : ((_local2.n = 3)))) : null);
_local2.n--;
((_local2.n <= 0) ? (_local2.stop()) : null);
}
};
MovieClip.prototype.movinghead = function () {
var _local2 = this;
if (r.stopmovinghead) {
((_local2.n == undefined) ? (((_local2._totalframes > 15) ? ((_local2.n = 1)) : ((_local2.n = 3)))) : null);
_local2.n--;
((_local2.n <= 0) ? (_local2.stop()) : null);
}
};
MovieClip.prototype.switchcursor = function (tipe) {
Mouse.hide();
r.cursortipe = tipe;
r.zshower.stop();
r.zdryer.stop();
_global.cursor = m.attachMovie("cursor" + tipe, "cursor", r.cursordep, {_x:m._xmouse, _y:m._ymouse});
};
MovieClip.prototype.initbubble = function () {
var t = this;
r.bubbles.push(t);
((random(100) > 20) ? ((t.ys = 0)) : ((t.ys = 0.5)));
((t._parent != head) ? ((t.div = 0.95)) : ((t.div = 0.7)));
t.onEnterFrame = function () {
((t.ys > 0) ? ((t._y = t._y + t.ys)(t.ys = t.ys * t.div)) : null);
((r.cursortipe == 2) ? (t.detectwater()) : null);
};
};
MovieClip.prototype.initsponge = function () {
var t = this;
t.num = 0;
t.swec1 = 0.8;
t.swec2 = 0.4;
t.swrotx = t._x;
t.swxs = 0;
t.onEnterFrame = function () {
t.oldx = t._x;
t.oldy = t._y;
t.movecursor();
t.swxs = ((t._x - t.swrotx) * t.swec1) + (t.swxs * t.swec2);
t.swrotx = t.swrotx + t.swxs;
t.a._rotation = 270 + deg(Math.atan2(35, -t.swxs));
if (r.pressing) {
r.stopmoving = 1;
var _local8 = Math.round(t._x);
var _local7 = Math.round(t._y);
if (p.z.hitTest(_local8, _local7, true)) {
if (r.bubblemax > 0) {
var _local3 = 1;
var _local1 = 0;
while (_local1 < r.bubbles.length) {
var _local2 = r.bubbles[_local1];
if (_local2._x == _local8) {
if (_local2._y == _local7) {
_local3 = 0;
break;
}
}
_local1++;
}
if (_local3) {
var _local5 = {xx:_local8, yy:_local7};
var _local4 = m;
var _local6 = 60 + random(120);
if (head.hitTest(_local8, _local7, true)) {
_local4 = head;
r.stopmovinghead = 1;
_local5 = localpos(cursor, _local4);
} else if (tail.hitTest(_local8, _local7, true)) {
_local4 = tail;
r.stopmovingtail = 1;
_local5 = localpos(cursor, _local4);
}
((_local4 != m) ? (_local6 = _local6 * 0.5) : null);
_local4.attachMovie("bubble", "bubble" + r.od, r.od, {_x:_local5.xx, _y:_local5.yy, _xscale:_local6, _yscale:_local6});
r.od++;
r.bubblemax--;
((r.bubblemax < 200) ? ((r.dirtalpha = Math.max(0, r.dirtalpha - 1))) : null);
}
}
t.dx = t._x - t.oldx;
t.dy = t._y - t.oldy;
if (((t.dx * t.dx) + (t.dy * t.dy)) > 100) {
t.num++;
(t.num.isMultipleOf(3) ? (r[getrandom("spongesfx")].start()) : null);
}
}
}
};
};
MovieClip.prototype.movecursor = function () {
var _local2 = this;
_local2._x = _local2._x + ((Math.max(20, Math.min(700, m._xmouse)) - _local2._x) / 2);
_local2._y = _local2._y + ((Math.max(30, Math.min(440, m._ymouse)) - _local2._y) / 2);
var _local3 = _local2.cekbuttonoverlap();
(_local3 ? (Mouse.show()(_local2._visible = false)) : (Mouse.hide()(_local2._visible = true)));
};
MovieClip.prototype.cekbuttonoverlap = function () {
var _local4 = this;
var _local3 = 0;
var _local2 = localpos(_local4, r);
if (nextbutton._visible) {
(((((_local2.xx > (nextbutton._x - 80)) and (_local2.xx < (nextbutton._x + 80))) and (_local2.yy > (nextbutton._y - 60))) and (_local2.yy < (nextbutton._y + 60))) ? (_local3 = 1) : null);
}
(((((_local2.xx > 660) and (_local2.xx < 720)) and (_local2.yy > 0)) and (_local2.yy < 50)) ? (_local3 = 1) : null);
return(_local3);
};
MovieClip.prototype.snapshot = function (dest, sourc, x1, y1, wid, hei, ska, bx, by) {
((!ska) ? (ska = 1) : null);
var _local1 = new flash.display.BitmapData(wid, hei, true, 16777215);
var _local2 = new flash.geom.Matrix();
_local2.scale(ska, ska);
_local2.translate(-x1, -y1);
_local1.draw(sourc, _local2, null, null, new flash.geom.Rectangle(0, 0, wid, hei), true);
(((bx + by) > 0) ? (_local1.applyFilter(_local1, new flash.geom.Rectangle(0, 0, wid, hei), new flash.geom.Point(0, 0), new flash.filters.BlurFilter(bx, by, 2))) : null);
if (dest instanceof MovieClip) {
dest.attachBitmap(_local1, 1, "auto", true);
} else {
dest.copyPixels(_local1, new flash.geom.Rectangle(0, 0, wid, hei), new flash.geom.Point(0, 0));
}
};
MovieClip.prototype.areashot = function (dest, sourc, x0, y0, wid, hei, ska) {
stat._visible = false;
((r[dest] != undefined) ? (dest.dispose()) : null);
r[dest] = new flash.display.BitmapData(ska * wid, ska * hei, true);
snapshot(r[dest], sourc, x0, y0, ska * wid, ska * hei, ska);
stat._visible = true;
};
MovieClip.prototype.screensnapshot = function () {
stat._visible = false;
((r.snap != undefined) ? (r.snap.dispose()) : null);
r.snap = new flash.display.BitmapData(r.screenwid, r.screenhei);
snapshot(r.snap, r, 0, 0, r.screenwid, r.screenhei);
stat._visible = true;
};
MovieClip.prototype.pasteshot = function (dest, sourc, bx, by) {
var _local1 = sourc.clone();
if ((bx + by) > 0) {
_local1.applyFilter(_local1, new flash.geom.Rectangle(0, 0, _local1.width, _local1.height), new flash.geom.Point(0, 0), new flash.filters.BlurFilter(bx, by, 1));
}
dest.attachBitmap(_local1, 1, "auto", true);
};
MovieClip.prototype.make = function (id, xx, yy) {
m.attachMovie("o" + id, "o" + r.od, r.od, {_x:xx, _y:yy});
r.od++;
};
MovieClip.prototype.popskor = function (xx, yy, sk, got) {
m.attachMovie("popscore", "pop" + r.popd, r.popd, {_x:xx, _y:yy, sk:sk, got:got});
r.popd++;
};
MovieClip.prototype.popmessage = function (xx, yy, no) {
m.attachMovie("popmessage", "pop" + r.popd, r.popd, {_x:xx, _y:yy, no:no});
r.popd++;
};
MovieClip.prototype.energize = function (a) {
r.energy = Math.max(0, Math.min(r.energymax, r.energy + a));
if (a > 0) {
r.zbonus.start();
} else {
stat.bar.tint(10);
r.zhit.start();
}
};
MovieClip.prototype.initzonecircle = function () {
var _local2 = this;
r["zone" + _local2._name] = _local2;
_local2.radius = _local2._width / 2;
_local2._visible = false;
};
Frame 11
MovieClip.prototype.cekhitpix = function (a, b, alphatolerance) {
((alphatolerance == undefined) ? (alphatolerance = 255) : null);
var _local2 = a.getBounds(r);
var _local1 = b.getBounds(r);
if ((Stage.width == r.screenwid) and (Stage.height == r.screenhei)) {
var _local5 = (hdif = 0);
} else {
var _local5 = Math.round((Stage.width - r.screenwid) / 2);
var hdif = Math.round((Stage.height - r.screenhei) / 2);
_local2.xMin = _local2.xMin + _local5;
_local2.xMax = _local2.xMax + _local5;
_local1.xMin = _local1.xMin + _local5;
_local1.xMax = _local1.xMax + _local5;
_local2.yMin = _local2.yMin + hdif;
_local2.yMax = _local2.yMax + hdif;
_local1.yMin = _local1.yMin + hdif;
_local1.yMax = _local1.yMax + hdif;
}
if (_local2.xMax > _local1.xMin) {
if (_local1.xMax > _local2.xMin) {
if (_local2.yMax > _local1.yMin) {
if (_local1.yMax > _local2.yMin) {
var _local3 = {xMin:Math.max(_local2.xMin, _local1.xMin), xMax:Math.min(_local2.xMax, _local1.xMax), yMin:Math.max(_local2.yMin, _local1.yMin), yMax:Math.min(_local2.yMax, _local1.yMax)};
var _local7 = new flash.display.BitmapData(_local3.xMax - _local3.xMin, _local3.yMax - _local3.yMin, false);
var _local4 = a.transform.concatenatedMatrix;
_local4.tx = _local4.tx - _local3.xMin;
_local4.ty = _local4.ty - _local3.yMin;
_local7.draw(a, _local4, new flash.geom.ColorTransform(1, 1, 1, 1, 255, -255, -255, alphatolerance));
_local4 = b.transform.concatenatedMatrix;
_local4.tx = _local4.tx - _local3.xMin;
_local4.ty = _local4.ty - _local3.yMin;
_local7.draw(b, _local4, new flash.geom.ColorTransform(1, 1, 1, 1, 255, 255, 255, alphatolerance), "difference");
var _local6 = _local7.getColorBoundsRect(4294967295, 4278255615);
_local7.dispose();
if (_local6.width) {
_local6.x = _local6.x + (_local3.xMin - _local5);
_local6.y = _local6.y + (_local3.yMin - hdif);
return(_local6);
}
}
}
}
}
return(false);
};
MovieClip.prototype.globalpos = function (mc) {
var _local1 = {x:0, y:0};
mc.localToGlobal(_local1);
return({xx:_local1.x, yy:_local1.y});
};
MovieClip.prototype.localpos = function (mc, m) {
var _local2 = globalpos(mc);
var _local1 = {x:_local2.xx, y:_local2.yy};
m.globalToLocal(_local1);
return({xx:_local1.x, yy:_local1.y});
};
MovieClip.prototype.jiggle = function (beginska) {
var t = this;
((!beginska) ? (beginska = 200) : null);
t._xscale = (t._yscale = beginska);
t.ska = 100;
t.dx = 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._xscale = t._xscale + t.dx;
t._yscale = t._xscale;
};
};
MovieClip.prototype.removeit = function (arr) {
arr.removeValue(this);
this.removeMovieClip();
};
MovieClip.prototype.appear = function (speed, delay) {
var t = this.createEmptyMovieClip("appearmc", this.getNextHighestDepth());
((!delay) ? (delay = 1) : null);
((!speed) ? (speed = 15) : null);
t.d = delay;
t.speed = speed;
t._parent._visible = false;
t._parent._alpha = 0;
t.onEnterFrame = function () {
t.d--;
if (!t.d) {
t.yy = t._parent._y;
t._parent._y = t._parent._y + 25;
t._parent._visible = true;
t.onEnterFrame = function () {
t._parent._y = t._parent._y + ((t.yy - t._parent._y) / 2);
t._parent._alpha = t._parent._alpha + t.speed;
if (t._parent._alpha >= 100) {
t._parent._alpha = 100;
delete t.onEnterFrame;
}
};
}
};
};
MovieClip.prototype.disappear = function (speed, ys) {
var t = this.createEmptyMovieClip("disappearmc", this.getNextHighestDepth());
((!speed) ? (speed = 20) : null);
((ys == undefined) ? (ys = -2) : null);
t.speed = speed;
t.ys = ys;
t.onEnterFrame = function () {
t._parent._y = t._parent._y + t.ys;
t._parent._alpha = t._parent._alpha - t.speed;
if (t._parent._alpha <= 0) {
delete t.onEnterFrame;
t._parent.removeMovieClip();
}
};
t.stop();
};
MovieClip.prototype.appearbright = function (speed, clr) {
var t = this.createEmptyMovieClip("appearmc", this.getNextHighestDepth());
((!speed) ? (speed = 15) : null);
t.yy = t._parent._y - 25;
t.c = new Color(t._parent);
((!clr) ? (clr = 16777215) : null);
t.clr = clr;
t.c.setTint(t.clr, t.br);
t.br = 100;
t.brless = t.br / speed;
t.blur = 12;
t.blurless = t.blur / speed;
t.onEnterFrame = function () {
t._parent._y = t._parent._y + ((t.yy - t._parent._y) / 2);
t.blur = t.blur - t.blurless;
t._parent.filters = [new flash.filters.BlurFilter(t.blur, t.blur, 3)];
t.br = t.br - t.brless;
t.c.resetColor();
t.c.setTint(t.clr, t.br);
if (t.br <= 0) {
t._parent.filters = null;
c.resetColor();
delete t.onEnterFrame;
}
};
};
MovieClip.prototype.disappearbright = function (speed, clr) {
var t = this.createEmptyMovieClip("disappearmc", this.getNextHighestDepth());
((!speed) ? (speed = 8) : null);
t.c = new Color(t._parent);
t.br = 10;
t.bradd = 100 / speed;
((!clr) ? (clr = 16777215) : null);
t.clr = clr;
t.c.setTint(t.clr, t.br);
t.blur = 1;
t.bluradd = 12 / speed;
t.onEnterFrame = function () {
t.blur = t.blur + t.bluradd;
t._parent.filters = [new flash.filters.BlurFilter(t.blur, t.blur, 3)];
t.br = t.br + t.bradd;
t.c.resetColor();
t.c.setTint(t.clr, t.br);
if (t.br >= 100) {
t.onEnterFrame = function () {
t._parent._alpha = t._parent._alpha - 10;
if (t._parent._alpha <= 0) {
t._parent.filters = null;
c.resetColor();
delete t.onEnterFrame;
}
};
}
};
};
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.clon = function () {
if (this instanceof Array) {
var _local2 = [];
var _local3 = 0;
while (_local3 < this.length) {
_local2[_local3] = ((typeof(this[_local3]) == "object") ? (this[_local3].clon()) : (this[_local3]));
_local3++;
}
} else if ((this instanceof XML) || (this instanceof MovieClip)) {
var _local2 = null;
trace("Warning! Object.clon 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].clon()) : (this[_local3]));
}
}
return(_local2);
};
ASSetPropFlags(Object.prototype, ["clon"], 1);
Array.prototype.contain = function (val) {
var _local3 = this.length;
var _local2 = 0;
while (_local2 < _local3) {
if (this[_local2] == val) {
return(true);
}
_local2++;
}
return(false);
};
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].clon();
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.tint = function (delay, colr) {
var t = this.createEmptyMovieClip("tintmc", this.getNextHighestDepth());
t.d = delay;
((!t.d) ? ((t.d = 10)) : null);
t.colr = colr;
((!t.colr) ? ((t.colr = 16737792)) : null);
t.c = new Color(t._parent);
t.a = (t.b = 1);
t._parent.filters = [new flash.filters.GlowFilter(t.colr, 1, 7, 7, 1.5, 1, false, false)];
t.onEnterFrame = function () {
t.d--;
t.a--;
if (!t.a) {
t.a = 2;
t.b = !t.b;
if (t.b) {
t.c.setTint(t.colr, 100);
} else {
t.c.setTint(16777215, 100);
}
} else {
t.c.resetColor();
}
if (!t.d) {
t.c.resetColor();
t._parent.filters = null;
t.removeMovieClip();
}
};
};
MovieClip.prototype.rad = function (qdeg) {
return(qdeg * (Math.PI/180));
};
MovieClip.prototype.deg = function (qrad) {
return(qrad * 57.2957795130823);
};
Number.prototype.limit = function (floor, ceil) {
return(Math.min(ceil, Math.max(floor, this)));
};
Number.prototype.isEven = function () {
return(!(this % 2));
};
Number.prototype.isMultipleOf = function (BaseNum) {
return(!(this % BaseNum));
};
Number.prototype.between = function (lo, hi) {
return((this > lo) && (this < hi));
};
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) {
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))));
var trans = this.getTransform();
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) {
var t = this.createEmptyMovieClip("wdl", 55555);
t.delay = delay;
t.onEnterFrame = function () {
t.delay--;
if (t.delay < 0) {
delete t.onEnterFrame;
t._parent.play();
t.removeMovieClip();
}
};
t._parent.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 20
call("pro");
call("pro2");
fadescreen();
loadsfx();
stop();
Frame 27
call("pro");
call("pro2");
fadescreen();
loadsfx();
r.hilite = 0;
stop();
Frame 34
call("pro");
call("pro2");
fadescreen();
loadsfx();
stop();
Frame 41
_global.m = this.map;
_global.stat = this.stat;
_global.p = m.pet;
delete onEnterFrame;
call("pro");
call("pro2");
fadescreen();
((!gamemode) ? ((gamemode = 1)) : null);
((!petno) ? ((petno = 5)) : null);
if (gamemode == 2) {
if (!randompets) {
ang = (petdone = (giliran = 0));
randompets = [1, 2, 3, 4, 5];
randompets.randomize();
onesec = 30;
waktu = 240 * r.onesec;
}
petno = randompets[giliran];
}
bubblemax = 300;
hairmax = 70;
drylimit = 8;
p.bright = 0;
od = 100;
popd = 1000;
cursordep = 90000 /* 0x015F90 */;
m.table.swapDepths(89999);
towelsfx = ["ztowel1", "ztowel2"];
hairsfx = ["zhair1", "zhair2"];
spongesfx = ["zsponge1", "zsponge2"];
fur = [];
bubbles = [];
boxarea = [];
finish = (removedirt = (goal = 0));
dirtalpha = 100;
screenwid = 720;
screenhei = 480;
persen = 100;
nil = 100;
switchcursor(1);
loadsfx();
popstep(1, 20);
onMouseDown = function () {
r.pressing = 1;
};
onMouseUp = function () {
r.pressing = 0;
};
onEnterFrame = function () {
if (!r.finish) {
if (r.cursortipe == 1) {
var _local2 = 0;
((!r.goal) ? ((r.goal = 0.8 * r.boxarea.length)) : null);
var _local1 = 0;
while (_local1 < r.boxarea.length) {
(r.boxarea[_local1].ok ? (_local2++) : null);
_local1++;
}
if ((_local2 > (0.8 * r.boxarea.length)) or (r.bubblemax <= 0)) {
_local1 = 0;
while (_local1 < r.boxarea.length) {
r.boxarea[_local1].ok = 0;
_local1++;
}
r.removedirt = 1;
shownextbutton(2);
}
r.persen = ((r.goal - _local2) / r.goal) * 100;
} else if (r.cursortipe == 2) {
((!r.bubbles.length) ? (shownextbutton(3)) : null);
((!r.goal) ? ((r.goal = r.bubbles.length)) : null);
r.persen = (r.bubbles.length / r.goal) * 100;
} else if (r.cursortipe == 3) {
var _local2 = 0;
var _local1 = 0;
while (_local1 < r.boxarea.length) {
(r.boxarea[_local1].ok ? (_local2++) : null);
_local1++;
}
if (_local2 > (0.6 * r.boxarea.length)) {
_local1 = 0;
while (_local1 < r.boxarea.length) {
r.boxarea[_local1].ok = 0;
_local1++;
}
shownextbutton(4);
}
((!r.goal) ? ((r.goal = 0.6 * r.boxarea.length)) : null);
r.persen = ((r.goal - _local2) / r.goal) * 100;
} else if (r.cursortipe == 4) {
var _local2 = 0;
var _local1 = 0;
while (_local1 < r.fur.length) {
((r.fur[_local1].drytime > r.drylimit) ? (_local2++) : null);
_local1++;
}
((_local2 == r.fur.length) ? (shownextbutton(5)) : null);
((!r.goal) ? ((r.goal = r.fur.length)) : null);
r.persen = ((r.goal - _local2) / r.goal) * 100;
} else if (r.cursortipe == 5) {
((!r.hairmax) ? (shownextbutton("start2")) : null);
((!r.goal) ? ((r.goal = r.hairmax)) : null);
r.persen = (r.hairmax / r.goal) * 100;
}
}
};
stop();
Frame 49
_global.m = this.map;
_global.stat = this.stat;
_global.p = m.pet;
delete onEnterFrame;
call("pro");
call("pro2");
fadescreen();
((!gamemode) ? ((gamemode = 1)) : null);
((!petno) ? ((petno = 5)) : null);
brushsfx = ["zbrush1", "zbrush2"];
drylimit = 20;
bubblemax = 300;
od = 100;
popd = 1000;
cursordep = 90000 /* 0x015F90 */;
dirt = [];
bubbles = [];
finish = (bsfx = (goal = 0));
screenwid = 720;
screenhei = 480;
persen = 100;
switchcursor(6);
loadsfx();
popstep(6);
onMouseDown = function () {
r.pressing = 1;
};
onMouseUp = function () {
r.pressing = 0;
};
onEnterFrame = function () {
if (!r.finish) {
var _local2 = 0;
var _local1 = 0;
while (_local1 < r.dirt.length) {
_local2 = _local2 + r.dirt[_local1]._alpha;
_local1++;
}
((!_local2) ? ((r.finish = 1)shownextbutton("start3")) : null);
((!r.goal) ? ((r.goal = r.dirt.length * 100)) : null);
r.persen = (_local2 / r.goal) * 100;
}
};
stop();
Frame 57
_global.m = this.map;
_global.stat = this.stat;
_global.p = m.pet;
delete onEnterFrame;
call("pro");
call("pro2");
fadescreen();
((!gamemode) ? ((gamemode = 1)) : null);
((!petno) ? ((petno = 5)) : null);
od = 100;
popd = 1000;
cursordep = 90000 /* 0x015F90 */;
nail = [];
finish = (bsfx = (noclip = (stopmovingtail = 0)));
screenwid = 720;
screenhei = 480;
loadsfx();
((p._x < 300) ? (popstep(7)) : null);
onMouseDown = function () {
((!r.noclip) ? ((r.noclip = 10)clip1.play()clip2.play()) : null);
};
onEnterFrame = function () {
if (!zonepaw.hitTest(r._xmouse, r._ymouse, true)) {
var _local1 = m.paw._xmouse;
var _local3 = m.paw._ymouse;
} else {
((clip1._x > 0) ? ((xs = 5)) : ((xs = -5)));
var _local1 = 0;
var _local2 = _local1;
while (!_local2) {
_local1 = _local1 + xs;
((!zonepaw.hitTest(_local1 + m.paw._x, r._ymouse, true)) ? (_local2 = 1) : null);
}
var _local3 = m.paw._ymouse;
}
clip1._x = (clip2._x = (clip3._x = _local1));
clip1._y = (clip2._y = (clip3._y = _local3));
((clip1._x > 0) ? ((ska = 100)) : ((ska = -100)));
clip1._xscale = (clip2._xscale = (clip3._xscale = ska));
if (clip1.cekbuttonoverlap()) {
clip1._visible = (clip2._visible = (clip3._visible = false));
Mouse.show();
} else {
clip1._visible = (clip2._visible = (clip3._visible = true));
Mouse.hide();
}
((r.noclip > 0) ? (r.noclip--) : null);
if (!r.finish) {
if (!r.nail.length) {
r.finish = 1;
if (r.gamemode == 1) {
((p._x > 300) ? (shownextbutton("start4")) : (shownextbutton("start3b")));
} else {
((p._x > 300) ? (shownextbutton("start5b")) : (shownextbutton("start3b")));
}
}
}
};
stop();
Frame 65
call("start3");
Frame 74
_global.m = this.map;
_global.stat = this.stat;
_global.p = m.pet;
delete onEnterFrame;
call("pro");
call("pro2");
fadescreen();
((!gamemode) ? ((gamemode = 1)) : null);
((!petno) ? ((petno = 2)) : null);
totalitems = [0, 16, 16, 16];
var i = 1;
while (i < totalitems.length) {
r["itemstatus" + i] = [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1];
i++;
}
itemsperpage = 4;
od = 100;
dragdep = 90;
popd = 1000;
cursordep = 90000 /* 0x015F90 */;
bsfx = (noclip = (wearing1 = (wearing2 = (wearing3 = (dragging = (noremove = 0))))));
screenwid = 720;
screenhei = 480;
loadsfx();
popstep(8);
onEnterFrame = function () {
((r.noremove > 0) ? (r.noremove--) : null);
};
stop();
Frame 83
_global.m = this.map;
_global.stat = this.stat;
_global.p = m.pet;
delete onEnterFrame;
call("pro");
call("pro2");
fadescreen();
((!gamemode) ? ((gamemode = 1)) : null);
((!petno) ? ((petno = 2)) : null);
od = 100;
dragdep = 90;
popd = 1000;
cursordep = 90000 /* 0x015F90 */;
screenwid = 720;
screenhei = 480;
p._x = r.screenwid / 2;
loadsfx();
popstep(9);
stop();
Frame 91
_global.m = this.map;
_global.stat = this.stat;
_global.p = m.pet;
delete onEnterFrame;
call("pro");
call("pro2");
fadescreen();
((!petno) ? ((petno = 2)) : null);
popd = 1000;
p._x = r.screenwid / 2;
petdone++;
popstep(20, 5);
stop();
Frame 99
fadescreen();
place.attachMovie("bg", "bg", 2);
petname = [0, "COCONUT", "SUGAR", "HONEY", "LICORICE", "GINGER"];
printing = 0;
blurval = 25;
r.bg.filters = [new flash.filters.BlurFilter(blurval, blurval, 2)];
cl = new Color(bg);
cl.setBrightness(50);
stop();
Frame 107
Mouse.show();
fadescreen();
r.zshower.stop();
r.zdryer.stop();
place.attachMovie("bg", "bg", 2);
blurval = 7;
r.bg.filters = [new flash.filters.BlurFilter(blurval, blurval, 2)];
cl = new Color(bg);
cl.setBrightness(30);
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 7 MovieClip Frame 1
accel = 0.8;
convert = 0.5;
b._xscale = 1;
xs = 0;
onEnterFrame = function () {
persen = Math.floor((r.getBytesLoaded() / r.getBytesTotal()) * 100);
xs = (xs * accel) + ((persen - b._xscale) * convert);
b._xscale = b._xscale + xs;
};
stop();
Symbol 29 MovieClip Frame 1
stop();
Symbol 34 MovieClip [cursor1] Frame 1
initsponge();
Symbol 37 MovieClip Frame 1
gotoAndStop(1 + random(_totalframes));
Symbol 38 MovieClip [bubble] Frame 1
initbubble();
Symbol 57 MovieClip Frame 5
stop();
Symbol 58 MovieClip [cursor2] Frame 1
initshower();
Symbol 70 MovieClip Frame 1
onEnterFrame = function () {
((Math.abs(_parent.swxs) > 10) ? (delete onEnterFrameplay()) : (gotoAndStop (1)));
};
stop();
Symbol 70 MovieClip Frame 22
gotoAndPlay (1);
Symbol 71 MovieClip [cursor3] Frame 1
inittowel();
Symbol 73 MovieClip Frame 1
_visible = false;
Symbol 76 MovieClip [cursor4] Frame 1
initdryer();
Symbol 77 MovieClip [toothbrushbox] Frame 1
inittoothbrushbox();
Symbol 86 MovieClip [cursor6] Frame 1
inittoothbrush();
Symbol 87 MovieClip [page] Frame 1
initpage();
Symbol 89 Button
on (press) {
cekitem();
}
Symbol 138 MovieClip [item1] Frame 1
(id ? (gotoAndStop(id)) : (stop()));
Symbol 139 MovieClip [thumbnail1] Frame 1
initthumbnail(1);
Symbol 220 MovieClip [item2] Frame 1
(id ? (gotoAndStop(id)) : (stop()));
Symbol 221 MovieClip [thumbnail2] Frame 1
initthumbnail(2);
Symbol 254 MovieClip [item3] Frame 1
(id ? (gotoAndStop(id)) : (stop()));
Symbol 255 MovieClip [thumbnail3] Frame 1
initthumbnail(3);
Symbol 258 Button
on (press) {
r.gotoAndPlay("start5");
r.zclick.start();
this.removeMovieClip();
}
Symbol 264 MovieClip [donebutton] Frame 1
_global.nextbutton = this;
jiggle(140);
Symbol 265 Button
on (press) {
r.zclick.start();
steps.removeMovieClip();
((r.gamemode == 2) ? ((r.ang = r.ang + r.nil)) : null);
if (labl.length > 5) {
r.gotoAndPlay(labl);
} else {
r.finish = (r.goal = 0);
r.persen = 100;
switchcursor(labl);
popstep(labl, 15);
}
_global.nextbutton = null;
this.removeMovieClip();
}
Symbol 270 MovieClip [nextbutton] Frame 1
_global.nextbutton = this;
jiggle(140);
Symbol 295 MovieClip Frame 1
gotoAndStop(_parent.no);
Symbol 296 MovieClip [steps] Frame 1
initsteps();
Symbol 299 MovieClip Frame 1
gotoAndStop(1 + random(_totalframes));
Symbol 300 MovieClip [foambubble] Frame 1
initfoambubble();
Symbol 306 MovieClip Frame 1
gotoAndStop(r.petno);
Symbol 309 MovieClip [pethair] Frame 1
inithair();
Symbol 317 MovieClip [cursor5] Frame 1
initbrush();
Symbol 320 MovieClip [drip] Frame 1
initdrip();
Symbol 328 Button
on (press) {
r.zclick.start();
r.gotoAndPlay("ins");
this.removeMovieClip();
}
Symbol 330 MovieClip Frame 1
popbutton(12);
Symbol 355 Button
on (press) {
r.zclick.start();
r.gamemode = 1;
r.gotoAndPlay("select");
this.removeMovieClip();
}
on (rollOver) {
r.hilite = 2;
}
on (rollOut) {
r.hilite = 0;
}
Symbol 359 MovieClip Frame 1
popbutton(12);
Symbol 362 Button
on (press) {
r.zclick.start();
r.gamemode = 2;
r.randompets = null;
r.gotoAndPlay("start1");
this.removeMovieClip();
}
on (rollOver) {
r.hilite = 1;
}
on (rollOut) {
r.hilite = 0;
}
Symbol 365 MovieClip Frame 1
popbutton(20);
Symbol 368 MovieClip Frame 1
onEnterFrame = function () {
((r.hilite == Number(_name)) ? (gotoAndStop (2)) : (gotoAndStop (1)));
};
stop();
Symbol 371 MovieClip Frame 1
onEnterFrame = function () {
((r.hilite == Number(_name)) ? (gotoAndStop (2)) : (gotoAndStop (1)));
};
stop();
Symbol 458 MovieClip Frame 1
gotoAndStop(_parent.no);
Symbol 462 Button
on (press) {
r.petno = no;
r.zclick.start();
r.gotoAndPlay("start1");
}
on (rollOver) {
na.gotoAndStop(2);
}
on (rollOut) {
na.gotoAndStop(1);
}
Symbol 469 MovieClip Frame 1
gotoAndStop(_parent._parent.no);
Symbol 470 MovieClip Frame 1
_yscale = 100;
_xscale = 100;
stop();
Symbol 470 MovieClip Frame 2
jiggle(120);
Symbol 471 MovieClip Frame 1
no = Number(_name);
Symbol 474 MovieClip [bg] Frame 1
gotoAndStop(r.level);
Symbol 476 MovieClip Frame 1
_visible = false;
Symbol 479 MovieClip Frame 1
initboxarea();
Symbol 483 MovieClip Frame 1
_global.tail = this;
Symbol 484 MovieClip Frame 1
movingtail();
Symbol 491 MovieClip Frame 7
blinkwait();
Symbol 496 MovieClip Frame 7
blinkwait();
Symbol 497 MovieClip Frame 1
eye.setMask(mas);
Symbol 502 MovieClip Frame 1
initbodydirt();
Symbol 503 MovieClip Frame 1
_global.head = this;
Symbol 504 MovieClip Frame 1
movinghead();
Symbol 508 MovieClip Frame 80
stop();
Symbol 510 MovieClip Frame 1
initwaterstain();
Symbol 511 MovieClip Frame 1
initwaterdripper();
Symbol 520 MovieClip Frame 1
a1._x = -8 + random(16);
a2._x = -8 + random(16);
a3._x = -8 + random(16);
Symbol 521 MovieClip Frame 1
initfur();
Symbol 523 MovieClip Frame 1
initbodydirt();
Symbol 525 MovieClip Frame 1
_visible = false;
Symbol 529 MovieClip Frame 1
_global.tail = this;
Symbol 530 MovieClip Frame 1
movingtail();
Symbol 547 MovieClip Frame 1
eye.setMask(mas);
Symbol 550 MovieClip Frame 1
_global.head = this;
Symbol 551 MovieClip Frame 1
movinghead();
Symbol 553 MovieClip Frame 1
a1._x = -10 + random(20);
a2._x = -10 + random(20);
a3._x = -10 + random(20);
Symbol 554 MovieClip Frame 1
initfur();
Symbol 555 MovieClip Frame 1
a1._x = -10 + random(20);
a2._x = -10 + random(20);
a3._x = -10 + random(20);
Symbol 556 MovieClip Frame 1
initfur();
Symbol 558 MovieClip Frame 1
_visible = false;
Symbol 562 MovieClip Frame 1
_global.tail = this;
Symbol 563 MovieClip Frame 1
movingtail();
Symbol 573 MovieClip Frame 1
eye.setMask(mas);
Symbol 577 MovieClip Frame 1
_global.head = this;
Symbol 578 MovieClip Frame 1
movinghead();
Symbol 580 MovieClip Frame 1
a1._x = -10 + random(20);
a2._x = -10 + random(20);
a3._x = -10 + random(20);
Symbol 581 MovieClip Frame 1
initfur();
Symbol 583 MovieClip Frame 1
_visible = false;
Symbol 587 MovieClip Frame 1
_global.tail = this;
Symbol 588 MovieClip Frame 1
movingtail();
Symbol 588 MovieClip Frame 18
gotoAndPlay(_currentframe + random(20));
Symbol 599 MovieClip Frame 1
eye.setMask(mas);
Symbol 605 MovieClip Frame 1
_global.head = this;
Symbol 606 MovieClip Frame 1
movinghead();
Symbol 608 MovieClip Frame 1
a1._x = -10 + random(20);
a2._x = -10 + random(20);
a3._x = -10 + random(20);
Symbol 609 MovieClip Frame 1
initfur();
Symbol 613 MovieClip Frame 1
_global.tail = this;
Symbol 614 MovieClip Frame 1
movingtail();
Symbol 614 MovieClip Frame 18
gotoAndPlay(_currentframe + random(20));
Symbol 625 MovieClip Frame 1
eye.setMask(mas);
Symbol 632 MovieClip Frame 1
_global.head = this;
Symbol 633 MovieClip Frame 1
movinghead();
Symbol 635 MovieClip Frame 1
gotoAndStop(r.petno);
Symbol 646 MovieClip Frame 1
stop();
Symbol 648 MovieClip Frame 1
_visible = false;
_alpha = 0;
b._xscale = 100;
accel = 0.8;
convert = 0.5;
xs = 0;
onEnterFrame = function () {
if (r.persen < 100) {
_visible = true;
onEnterFrame = function () {
xs = (xs * accel) + ((Math.max(0.1, r.persen) - b._xscale) * convert);
b._xscale = b._xscale + xs;
_alpha = Math.min(100, _alpha + 10);
(stat.nextbutton._visible ? (delete onEnterFramegotoAndPlay (2)) : null);
};
}
};
stop();
Symbol 648 MovieClip Frame 2
onEnterFrame = function () {
_alpha = Math.max(0, _alpha - 10);
(((_alpha <= 0) and (r.persen == 100)) ? (delete onEnterFramegotoAndPlay (1)) : null);
};
stop();
Symbol 652 Button
on (release) {
r.music = 0;
r.zloop.setVolume(0);
r.zpop.setVolume(0);
r.zshower.setVolume(0);
r.zdryer.setVolume(0);
gotoAndStop (2);
}
Symbol 656 Button
on (release) {
r.music = 1;
r.zloop.setVolume(100);
r.zpop.setVolume(100);
r.zshower.setVolume(100);
r.zdryer.setVolume(100);
gotoAndStop (1);
}
Symbol 657 MovieClip Frame 1
if (r.music) {
stop();
} else {
gotoAndStop (2);
}
Symbol 660 MovieClip Frame 8
r.ztictoc1.start();
Symbol 660 MovieClip Frame 15
r.ztictoc2.start();
Symbol 661 MovieClip Frame 1
stop();
Symbol 662 MovieClip Frame 1
if (r.gamemode == 1) {
_visible = false;
} else {
r.waktutxt = timetotext(r.waktu, r.onesec);
d = 40;
onEnterFrame = function () {
d--;
((!d) ? (delete onEnterFrameplay()) : null);
};
}
stop();
Symbol 662 MovieClip Frame 2
d = (de = 2);
onEnterFrame = function () {
r.waktu--;
if (r.waktu < 300) {
tictoc.gotoAndStop(2);
if (r.waktu < r.onesec) {
_visible = true;
tictoc.gotoAndStop(1);
if (r.waktu > 0) {
} else {
delete onEnterFrame;
(r.gotoAndPlay("end"));// not popped
}
} else {
d--;
((!d) ? ((d = de)(_visible ? (_visible = falsefalse) : (_visible = truetrue))) : null);
}
} else {
_visible = true;
tictoc.gotoAndStop(1);
}
r.waktutxt = timetotext(r.waktu, r.onesec);
};
stop();
Symbol 668 MovieClip Frame 1
wearitem(3);
Symbol 669 MovieClip Frame 1
wearitem(1);
Symbol 670 MovieClip Frame 1
eye.setMask(mas);
Symbol 671 MovieClip Frame 1
wearitem(2);
Symbol 672 MovieClip Frame 1
initfronthead();
Symbol 674 MovieClip Frame 1
initfronthead();
Symbol 676 MovieClip Frame 1
eye.setMask(mas);
Symbol 677 MovieClip Frame 1
initfronthead();
Symbol 679 MovieClip Frame 1
eye.setMask(mas);
Symbol 681 MovieClip Frame 1
initfronthead();
Symbol 683 MovieClip Frame 1
eye.setMask(mas);
Symbol 685 MovieClip Frame 1
initfronthead();
Symbol 687 MovieClip Frame 1
gotoAndStop(r.petno);
Symbol 695 MovieClip Frame 1
inittoothdirt();
Symbol 697 MovieClip Frame 1
inittoothdirt();
Symbol 699 MovieClip Frame 1
inittoothdirt();
Symbol 700 MovieClip Frame 1
_global.teethdirt = this;
Symbol 702 MovieClip Frame 1
_visible = false;
Symbol 719 MovieClip Frame 1
_global.teethdirt = this;
Symbol 721 MovieClip Frame 1
_visible = false;
Symbol 726 MovieClip Frame 1
gotoAndStop(r.petno);
Symbol 734 MovieClip Frame 1
_global.clip2 = this;
stop();
Symbol 740 MovieClip Frame 1
ro = 25 + random(20);
ys = 10;
onEnterFrame = function () {
_rotation = (_rotation + ro);
_y = (_y + ys);
ys++;
};
Symbol 741 MovieClip Frame 1
stop();
Symbol 742 MovieClip Frame 1
initnail();
Symbol 745 MovieClip Frame 1
_global.clip1 = this;
stop();
Symbol 747 MovieClip Frame 1
_global.clip3 = this;
Symbol 749 MovieClip Frame 1
_global.zonepaw = this;
_visible = false;
Symbol 759 MovieClip Frame 1
stop();
Symbol 760 MovieClip Frame 1
initnail();
Symbol 762 MovieClip Frame 1
_global.zonepaw = this;
_visible = false;
Symbol 765 MovieClip Frame 1
gotoAndStop(r.petno);
Symbol 770 Button
on (press) {
no = 1;
r.zclick.start();
gotoAndPlay ("itemspage");
}
Symbol 771 Button
on (press) {
no = 2;
r.zclick.start();
gotoAndPlay ("itemspage");
}
Symbol 772 Button
on (press) {
no = 3;
r.zclick.start();
gotoAndPlay ("itemspage");
}
Symbol 788 Button
on (press) {
r.zclick.start();
((_x > 0) ? (_parent.makepage(_parent.pagenow + 1, _parent.tipe)) : (_parent.makepage(_parent.pagenow - 1, _parent.tipe)));
}
Symbol 789 MovieClip Frame 1
if (_x > 0) {
(((_parent.pagenow + 1) > _parent.pagemax) ? ((bu.enabled = false)_visible = falsefalse) : ((bu.enabled = true)_visible = truetrue));
} else {
(((_parent.pagenow - 1) < 1) ? ((bu.enabled = false)_visible = falsefalse) : ((bu.enabled = true)_visible = truetrue));
}
onEnterFrame = function () {
if (_x > 0) {
(((_parent.pagenow + 1) > _parent.pagemax) ? ((bu.enabled = false)_visible = falsefalse) : ((bu.enabled = true)_visible = truetrue));
} else {
(((_parent.pagenow - 1) < 1) ? ((bu.enabled = false)_visible = falsefalse) : ((bu.enabled = true)_visible = truetrue));
}
};
stop();
Symbol 795 Button
on (press) {
(r.dragging ? (releasedrag()) : null);
page.removeMovieClip();
r.zclick.start();
gotoAndPlay (1);
}
Symbol 796 MovieClip Frame 1
initaccmenu();
Symbol 796 MovieClip Frame 10
itemspage(no);
Symbol 801 Button
on (press) {
steps.removeMovieClip();
blurval = 15;
r.bg.filters = [new flash.filters.BlurFilter(blurval, blurval, 2)];
pethead._rotation = 0;
pethead.eye1.eye.setMask(null);
pethead.eye2.eye.setMask(null);
pethead.eye1.mas._visible = false;
pethead.eye2.mas._visible = false;
pethead.eye1.blinkline._visible = false;
pethead.eye2.blinkline._visible = false;
delete pethead.onEnterFrame;
((r.petno < 4) ? ((x0 = 375)) : ((x0 = 355)));
areashot("snap1", r, x0, 70, 334, 460, 2);
r.zcamera.start();
r.zclick.start();
r.gotoAndStop("start6");
}
Symbol 802 MovieClip Frame 1
popbutton(20);
Symbol 803 Button
on (press) {
r.zclick.start();
steps.removeMovieClip();
r.ang = r.ang + (2 * r.nil);
r.giliran++;
((r.giliran >= r.randompets.length) ? ((r.giliran = 0)) : null);
r.gotoAndPlay("start1");
_global.nextbutton = null;
this.removeMovieClip();
}
Symbol 804 MovieClip Frame 1
_global.nextbutton = this;
jiggle(140);
Symbol 811 MovieClip Frame 1
nama = r.petname[r.petno];
Symbol 814 MovieClip Frame 1
_visible = false;
Symbol 815 MovieClip [foto] Frame 1
pic._xscale = (pic._yscale = 40);
pasteshot(pic, r.snap1, 0, 0);
this.cacheAsBitmap = true;
ro = -10;
ska = 100;
_yscale = 70;
_xscale = 70;
d = 28;
div1 = 5;
div2 = 3;
onEnterFrame = function () {
_rotation = (_rotation + ((ro - _rotation) / div1));
_xscale = (_xscale + ((ska - _xscale) / div2));
_yscale = _xscale;
d--;
((!d) ? (_rotation = ro_yscale = 100_xscale = 100100) : null);
(r.printing ? ((ska = 122)(ro = 0)(div1 = (div2 = 3))) : null);
};
stop();
Symbol 819 Button
on (press) {
r.zclick.start();
gotoAndPlay ("printing");
}
Symbol 820 Button
on (press) {
r.zclick.start();
d = 1;
}
Symbol 821 MovieClip Frame 1
popbutton(40);
stop();
Symbol 821 MovieClip Frame 3
r.printing = 1;
d = 30;
onEnterFrame = function () {
d--;
if (!d) {
r.foto.copyright._visible = true;
var _local1 = new PrintJob();
if (_local1.start()) {
var _local2 = false;
_local2 = _local1.addPage(r.foto, {xMin:(-r.foto._width) / 2, xMax:r.foto._width / 2, yMin:(-r.foto._height) / 2, yMax:r.foto._height / 2}, {printAsBitmap:true});
(_local2 ? (_local1.send()) : null);
}
}
};
stop();
Symbol 824 Button
on (press) {
r.wearing1 = (r.wearing2 = (r.wearing3 = 0));
r.randompets = null;
r.gotoAndPlay("menu");
this.removeMovieClip();
}
Symbol 830 MovieClip Frame 1
popbutton(50);
Symbol 838 MovieClip Frame 1
((r.petdone > 0) ? ((txt1 = ("YOU GROOMED " + r.petdone) + " PETS.")) : ((txt1 = "TRY TO WORK FASTER.")));
txt2 = formatnumber(r.ang);
Symbol 839 MovieClip Frame 1
no = r.randompets[0];