Frame 1
mochi.as2.MochiAd.showPreGameAd({id:"ea86bbe5ea969c5c", res:"640x600", background:11842740, color:16777215, outline:16777215, no_bg:true});
Frame 2
_focusrect = false;
needfade = false;
var sound_paint = new Sound(this);
sound_paint.attachSound("pnt");
var sound_switch = new Sound(this);
sound_switch.attachSound("switch");
var sound_pop = new Sound(this);
sound_pop.attachSound("pop");
var sound_popout = new Sound(this);
sound_popout.attachSound("popout");
var sound_loop = new Sound(this);
sound_loop.attachSound("loop");
var sound_introloop = new Sound(this);
sound_introloop.attachSound("introloop");
var sound_beep = new Sound(this);
sound_beep.attachSound("beep");
var sound_schuif = new Sound(this);
sound_schuif.attachSound("schuif");
var sound_shovel = new Sound(this);
sound_shovel.attachSound("shovel");
var sound_water = new Sound(this);
sound_water.attachSound("water");
var sound_spray = new Sound(this);
sound_spray.attachSound("spray");
var sound_drop = new Sound(this);
sound_drop.attachSound("drop");
var sound_thud = new Sound(this);
sound_thud.attachSound("thud");
var sound_chop = new Sound(this);
sound_chop.attachSound("chop");
var sound_drill = new Sound(this);
sound_drill.attachSound("drill");
var sound_ndmp = new Sound(this);
sound_ndmp.attachSound("ndmp");
sound_loop.stop();
sound_introloop.stop();
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version));
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("f4f6a9ed", this, 10301, true);
Frame 3
stop();
Frame 5
fb3shared = SharedObject.getLocal("fb3shared");
sohigh = 1;
if (fb3shared.data.sohigh > 1) {
sohigh = fb3shared.data.sohigh;
}
stop();
Symbol 26 Button
on (press) {
gotoAndPlay (8);
}
Symbol 31 Button
on (press) {
getURL ("http://www.bontegames.com", "_blank");
}
Symbol 32 Button
on (press) {
getURL ("http://www.twitter.com/bartbonte", "_blank");
}
Symbol 38 MovieClip [vrsch] Frame 1
stop();
Symbol 38 MovieClip [vrsch] Frame 7
stop();
Symbol 40 Button
on (press) {
getURL ("http://www.notdoppler.com/factoryballs3.php", "_blank");
}
Symbol 41 Button
on (press) {
getURL ("http://www.notdoppler.com/webmasters.php", "_blank");
}
Symbol 45 MovieClip Frame 1
stop();
Symbol 45 MovieClip Frame 2
stop();
Symbol 45 MovieClip Frame 3
stop();
Symbol 45 MovieClip Frame 4
stop();
Symbol 45 MovieClip Frame 5
stop();
Symbol 45 MovieClip Frame 6
stop();
Symbol 45 MovieClip Frame 7
stop();
Symbol 45 MovieClip Frame 8
stop();
Symbol 73 MovieClip Frame 1
stop();
Symbol 73 MovieClip Frame 2
stop();
Symbol 73 MovieClip Frame 3
stop();
Symbol 73 MovieClip Frame 4
stop();
Symbol 73 MovieClip Frame 5
stop();
Symbol 73 MovieClip Frame 6
stop();
Symbol 78 MovieClip Frame 1
stop();
Symbol 78 MovieClip Frame 2
stop();
Symbol 78 MovieClip Frame 3
stop();
Symbol 78 MovieClip Frame 4
stop();
Symbol 78 MovieClip Frame 5
stop();
Symbol 78 MovieClip Frame 6
stop();
Symbol 78 MovieClip Frame 7
stop();
Symbol 78 MovieClip Frame 8
stop();
Symbol 82 MovieClip Frame 1
stop();
Symbol 82 MovieClip Frame 2
stop();
Symbol 82 MovieClip Frame 3
stop();
Symbol 82 MovieClip Frame 4
stop();
Symbol 82 MovieClip Frame 5
stop();
Symbol 82 MovieClip Frame 6
stop();
Symbol 82 MovieClip Frame 7
stop();
Symbol 82 MovieClip Frame 8
stop();
Symbol 82 MovieClip Frame 9
stop();
Symbol 82 MovieClip Frame 10
stop();
Symbol 82 MovieClip Frame 11
stop();
Symbol 82 MovieClip Frame 12
stop();
Symbol 82 MovieClip Frame 13
stop();
Symbol 82 MovieClip Frame 14
stop();
Symbol 82 MovieClip Frame 15
stop();
Symbol 82 MovieClip Frame 16
stop();
Symbol 82 MovieClip Frame 17
stop();
Symbol 84 MovieClip Frame 1
stop();
Symbol 84 MovieClip Frame 2
stop();
Symbol 84 MovieClip Frame 3
stop();
Symbol 87 MovieClip Frame 1
stop();
Symbol 87 MovieClip Frame 2
stop();
Symbol 87 MovieClip Frame 3
stop();
Symbol 87 MovieClip Frame 4
stop();
Symbol 87 MovieClip Frame 5
stop();
Symbol 87 MovieClip Frame 6
stop();
Symbol 87 MovieClip Frame 7
stop();
Symbol 87 MovieClip Frame 8
stop();
Symbol 87 MovieClip Frame 9
stop();
Symbol 90 MovieClip Frame 1
stop();
Symbol 90 MovieClip Frame 2
stop();
Symbol 90 MovieClip Frame 3
stop();
Symbol 90 MovieClip Frame 4
stop();
Symbol 90 MovieClip Frame 5
stop();
Symbol 90 MovieClip Frame 6
stop();
Symbol 90 MovieClip Frame 7
stop();
Symbol 90 MovieClip Frame 8
stop();
Symbol 90 MovieClip Frame 9
stop();
Symbol 90 MovieClip Frame 10
stop();
Symbol 100 MovieClip Frame 1
stop();
Symbol 100 MovieClip Frame 2
stop();
Symbol 100 MovieClip Frame 3
stop();
Symbol 100 MovieClip Frame 4
stop();
Symbol 100 MovieClip Frame 5
stop();
Symbol 100 MovieClip Frame 6
stop();
Symbol 100 MovieClip Frame 7
stop();
Symbol 100 MovieClip Frame 8
stop();
Symbol 106 MovieClip Frame 1
stop();
Symbol 106 MovieClip Frame 2
stop();
Symbol 106 MovieClip Frame 3
stop();
Symbol 109 MovieClip Frame 1
stop();
Symbol 109 MovieClip Frame 2
stop();
Symbol 109 MovieClip Frame 3
stop();
Symbol 114 MovieClip Frame 1
stop();
Symbol 114 MovieClip Frame 2
stop();
Symbol 114 MovieClip Frame 3
stop();
Symbol 114 MovieClip Frame 4
stop();
Symbol 114 MovieClip Frame 5
stop();
Symbol 116 MovieClip Frame 1
stop();
Symbol 116 MovieClip Frame 2
stop();
Symbol 116 MovieClip Frame 3
stop();
Symbol 116 MovieClip Frame 4
stop();
Symbol 116 MovieClip Frame 5
stop();
Symbol 121 MovieClip Frame 1
stop();
Symbol 121 MovieClip Frame 2
stop();
Symbol 121 MovieClip Frame 3
stop();
Symbol 121 MovieClip Frame 4
stop();
Symbol 121 MovieClip Frame 5
stop();
Symbol 125 MovieClip Frame 1
stop();
Symbol 125 MovieClip Frame 2
stop();
Symbol 125 MovieClip Frame 3
stop();
Symbol 125 MovieClip Frame 4
stop();
Symbol 131 MovieClip Frame 1
stop();
Symbol 131 MovieClip Frame 2
stop();
Symbol 131 MovieClip Frame 3
stop();
Symbol 131 MovieClip Frame 4
stop();
Symbol 131 MovieClip Frame 5
stop();
Symbol 131 MovieClip Frame 6
stop();
Symbol 131 MovieClip Frame 7
stop();
Symbol 131 MovieClip Frame 8
stop();
Symbol 131 MovieClip Frame 9
stop();
Symbol 135 MovieClip Frame 1
stop();
Symbol 135 MovieClip Frame 2
stop();
Symbol 135 MovieClip Frame 3
stop();
Symbol 135 MovieClip Frame 4
stop();
Symbol 135 MovieClip Frame 5
stop();
Symbol 135 MovieClip Frame 6
stop();
Symbol 135 MovieClip Frame 7
stop();
Symbol 135 MovieClip Frame 8
stop();
Symbol 135 MovieClip Frame 9
stop();
Symbol 139 MovieClip Frame 1
stop();
Symbol 139 MovieClip Frame 2
stop();
Symbol 139 MovieClip Frame 3
stop();
Symbol 139 MovieClip Frame 4
stop();
Symbol 139 MovieClip Frame 5
stop();
Symbol 139 MovieClip Frame 6
stop();
Symbol 139 MovieClip Frame 7
stop();
Symbol 139 MovieClip Frame 8
stop();
Symbol 139 MovieClip Frame 9
stop();
Symbol 143 MovieClip Frame 1
stop();
Symbol 143 MovieClip Frame 2
stop();
Symbol 143 MovieClip Frame 3
stop();
Symbol 143 MovieClip Frame 4
stop();
Symbol 143 MovieClip Frame 5
stop();
Symbol 143 MovieClip Frame 6
stop();
Symbol 143 MovieClip Frame 7
stop();
Symbol 143 MovieClip Frame 8
stop();
Symbol 143 MovieClip Frame 9
stop();
Symbol 152 MovieClip Frame 1
stop();
Symbol 152 MovieClip Frame 2
stop();
Symbol 152 MovieClip Frame 3
stop();
Symbol 152 MovieClip Frame 4
stop();
Symbol 152 MovieClip Frame 5
stop();
Symbol 152 MovieClip Frame 6
stop();
Symbol 152 MovieClip Frame 7
stop();
Symbol 152 MovieClip Frame 8
stop();
Symbol 152 MovieClip Frame 9
stop();
Symbol 158 MovieClip Frame 1
stop();
Symbol 158 MovieClip Frame 2
stop();
Symbol 158 MovieClip Frame 3
stop();
Symbol 158 MovieClip Frame 4
stop();
Symbol 158 MovieClip Frame 5
stop();
Symbol 158 MovieClip Frame 6
stop();
Symbol 158 MovieClip Frame 7
stop();
Symbol 158 MovieClip Frame 8
stop();
Symbol 158 MovieClip Frame 9
stop();
Symbol 158 MovieClip Frame 10
stop();
Symbol 158 MovieClip Frame 11
stop();
Symbol 158 MovieClip Frame 12
stop();
Symbol 158 MovieClip Frame 13
stop();
Symbol 158 MovieClip Frame 14
stop();
Symbol 158 MovieClip Frame 15
stop();
Symbol 159 MovieClip Frame 1
stop();
Symbol 159 MovieClip Frame 2
stop();
Symbol 159 MovieClip Frame 3
stop();
Symbol 159 MovieClip Frame 4
stop();
Symbol 159 MovieClip Frame 5
stop();
Symbol 160 MovieClip Frame 1
stop();
Symbol 160 MovieClip Frame 2
stop();
Symbol 160 MovieClip Frame 3
stop();
Symbol 160 MovieClip Frame 4
stop();
Symbol 160 MovieClip Frame 5
stop();
Symbol 171 MovieClip Frame 1
stop();
Symbol 171 MovieClip Frame 2
stop();
Symbol 171 MovieClip Frame 3
stop();
Symbol 171 MovieClip Frame 4
stop();
Symbol 171 MovieClip Frame 5
stop();
Symbol 171 MovieClip Frame 6
stop();
Symbol 171 MovieClip Frame 7
stop();
Symbol 171 MovieClip Frame 8
stop();
Symbol 180 MovieClip Frame 1
stop();
Symbol 180 MovieClip Frame 2
stop();
Symbol 180 MovieClip Frame 3
stop();
Symbol 186 MovieClip Frame 1
stop();
Symbol 186 MovieClip Frame 2
stop();
Symbol 186 MovieClip Frame 3
stop();
Symbol 229 MovieClip Frame 1
stop();
Symbol 229 MovieClip Frame 2
stop();
Symbol 229 MovieClip Frame 3
stop();
Symbol 229 MovieClip Frame 4
stop();
Symbol 229 MovieClip Frame 5
stop();
Symbol 229 MovieClip Frame 6
stop();
Symbol 230 MovieClip Frame 1
stop();
Symbol 230 MovieClip Frame 2
stop();
Symbol 230 MovieClip Frame 3
stop();
Symbol 230 MovieClip Frame 4
stop();
Symbol 230 MovieClip Frame 5
stop();
Symbol 230 MovieClip Frame 6
stop();
Symbol 232 MovieClip Frame 1
stop();
Symbol 232 MovieClip Frame 2
stop();
Symbol 232 MovieClip Frame 3
stop();
Symbol 234 MovieClip Frame 1
stop();
Symbol 234 MovieClip Frame 2
stop();
Symbol 234 MovieClip Frame 3
stop();
Symbol 243 MovieClip Frame 1
stop();
Symbol 243 MovieClip Frame 2
stop();
Symbol 243 MovieClip Frame 3
stop();
Symbol 243 MovieClip Frame 4
stop();
Symbol 243 MovieClip Frame 5
stop();
Symbol 243 MovieClip Frame 6
stop();
Symbol 243 MovieClip Frame 7
stop();
Symbol 243 MovieClip Frame 8
stop();
Symbol 248 MovieClip Frame 1
stop();
Symbol 248 MovieClip Frame 2
stop();
Symbol 248 MovieClip Frame 3
stop();
Symbol 249 MovieClip Frame 1
stop();
Symbol 249 MovieClip Frame 2
stop();
Symbol 249 MovieClip Frame 3
stop();
Symbol 251 MovieClip Frame 1
stop();
Symbol 251 MovieClip Frame 2
stop();
Symbol 251 MovieClip Frame 3
stop();
Symbol 252 MovieClip Frame 1
stop();
Symbol 252 MovieClip Frame 2
stop();
Symbol 252 MovieClip Frame 3
stop();
Symbol 253 MovieClip [balprod] Frame 1
stop();
Symbol 253 MovieClip [balprod] Frame 2
if (bol) {
lbal._visible = true;
if (bolkleur == "b") {
lfilterb._visible = true;
} else {
lfilterb._visible = false;
}
if (bolkleur == "o") {
lfiltero._visible = true;
} else {
lfiltero._visible = false;
}
} else {
lbal._visible = false;
lfilterb._visible = false;
lfiltero._visible = false;
}
if (helm) {
lhelm._visible = true;
} else {
lhelm._visible = false;
}
if (bolh) {
lbolh._visible = true;
if (bolhkleur == "w") {
lbolh.gotoAndStop("wit");
}
if (bolhkleur == "b") {
lbolh.gotoAndStop("blauw");
}
if (bolhkleur == "o") {
lbolh.gotoAndStop("oranje");
}
} else {
lbolh._visible = false;
}
gotoAndPlay ("bol1l");
Symbol 253 MovieClip [balprod] Frame 3
stop();
Symbol 253 MovieClip [balprod] Frame 4
if (bol) {
lbal._visible = true;
if (bolkleur == "b") {
lfilterb._visible = true;
} else {
lfilterb._visible = false;
}
if (bolkleur == "m") {
lfilterm._visible = true;
} else {
lfilterm._visible = false;
}
} else {
lbal._visible = false;
lfilterb._visible = false;
lfilterm._visible = false;
}
if (riem && (!riemachter)) {
lriem._visible = true;
} else {
lriem._visible = false;
}
if (riemb) {
lriemb._visible = true;
} else {
lriemb._visible = false;
}
if (band) {
lband._visible = true;
if (bandkleur == "b") {
lband.gotoAndStop("blauw");
}
if (bandkleur == "m") {
lband.gotoAndStop("magenta");
}
if (bandkleur == "w") {
lband.gotoAndStop("wit");
}
} else {
lband._visible = false;
}
if (bandb) {
lbandb._visible = true;
if (bandbkleur == "b") {
lbandb.gotoAndStop("blauw");
}
if (bandbkleur == "m") {
lbandb.gotoAndStop("magenta");
}
if (bandbkleur == "w") {
lbandb.gotoAndStop("wit");
}
} else {
lbandb._visible = false;
}
gotoAndPlay ("bol2l");
Symbol 253 MovieClip [balprod] Frame 5
stop();
Symbol 253 MovieClip [balprod] Frame 6
if (bol) {
lbal._visible = true;
if (bolkleur == "y") {
lfiltery._visible = true;
} else {
lfiltery._visible = false;
}
if (bolkleur == "z") {
lfilterz._visible = true;
} else {
lfilterz._visible = false;
}
} else {
lbal._visible = false;
lfiltery._visible = false;
lfilterz._visible = false;
}
if (brilletje) {
lbrilletje._visible = true;
} else {
lbrilletje._visible = false;
}
if (oogjes) {
loogjes._visible = true;
if (oogjeskleur == "w") {
loogjes.gotoAndStop("wit");
}
if (oogjeskleur == "z") {
loogjes.gotoAndStop("zwart");
}
if (oogjeskleur == "y") {
loogjes.gotoAndStop("geel");
}
} else {
loogjes._visible = false;
}
lneus1._visible = false;
lneus2._visible = false;
if (neusniv == 1) {
lneus1._visible = true;
if (neuskleur == "y") {
lneus1.gotoAndStop("geel");
}
if (neuskleur == "z") {
lneus1.gotoAndStop("zwart");
}
if (neuskleur == "w") {
lneus1.gotoAndStop("wit");
}
if (neuskleur == "r") {
lneus1.gotoAndStop("rood");
}
} else if (neusniv == 2) {
lneus2._visible = true;
if (neuskleur == "y") {
lneus2.gotoAndStop("geel");
}
if (neuskleur == "z") {
lneus2.gotoAndStop("zwart");
}
if (neuskleur == "w") {
lneus2.gotoAndStop("wit");
}
if (neuskleur == "r") {
lneus2.gotoAndStop("rood");
}
}
lneusdip._visible = false;
if (neusdip) {
lneusdip._visible = true;
if (neusdipkleur == "y") {
lneusdip.gotoAndStop("geel");
}
if (neusdipkleur == "z") {
lneusdip.gotoAndStop("zwart");
}
}
lneusstempel._visible = false;
if (neusstempel) {
lneusstempel._visible = true;
if (stempelniv == 1) {
lneusstempel.gotoAndStop(1);
}
if (stempelniv == 2) {
lneusstempel.gotoAndStop(2);
}
if (stempelniv == 3) {
lneusstempel.gotoAndStop(3);
}
}
gotoAndPlay ("bol3l");
Symbol 253 MovieClip [balprod] Frame 7
stop();
Symbol 253 MovieClip [balprod] Frame 8
if (bol) {
lbal._visible = true;
if (bolkleur == "o") {
lfiltero._visible = true;
} else {
lfiltero._visible = false;
}
} else {
lbal._visible = false;
lfiltero._visible = false;
}
if (riem) {
lriem._visible = true;
} else {
lriem._visible = false;
}
if (band) {
lband._visible = true;
if (bandkleur == "o") {
lband.gotoAndStop("oranje");
}
if (bandkleur == "w") {
lband.gotoAndStop("wit");
}
} else {
lband._visible = false;
}
gotoAndPlay ("bol4l");
Symbol 253 MovieClip [balprod] Frame 9
stop();
Symbol 253 MovieClip [balprod] Frame 10
if (bol) {
lbal._visible = true;
if (bolkleur == "r") {
lfilterr._visible = true;
} else {
lfilterr._visible = false;
}
if (bolkleur == "o") {
lfiltero._visible = true;
} else {
lfiltero._visible = false;
}
} else {
lbal._visible = false;
lfilterr._visible = false;
lfiltero._visible = false;
}
if (bollen) {
lbollen._visible = true;
if (bollenkleur == "w") {
lbollen.gotoAndStop("wit");
}
if (bollenkleur == "r") {
lbollen.gotoAndStop("rood");
}
if (bollenkleur == "o") {
lbollen.gotoAndStop("oranje");
}
} else {
lbollen._visible = false;
}
if (spin) {
lspin._visible = true;
} else {
lspin._visible = false;
}
if (bollenbig) {
lbollenbig._visible = true;
if (bollenbigkleur == "w") {
lbollenbig.gotoAndStop("wit");
}
if (bollenbigkleur == "r") {
lbollenbig.gotoAndStop("rood");
}
if (bollenbigkleur == "o") {
lbollenbig.gotoAndStop("oranje");
}
} else {
lbollenbig._visible = false;
}
if (spinbig) {
lspinbig._visible = true;
} else {
lspinbig._visible = false;
}
gotoAndPlay ("bol5l");
Symbol 253 MovieClip [balprod] Frame 11
stop();
Symbol 253 MovieClip [balprod] Frame 12
if (bol) {
lbal._visible = true;
if (bolkleur == "z") {
lfilterz._visible = true;
} else {
lfilterz._visible = false;
}
} else {
lbal._visible = false;
lfilterz._visible = false;
}
if (riemb) {
lriemb._visible = true;
} else {
lriemb._visible = false;
}
if (riembv && (riembvvoor)) {
lriembv1._visible = true;
} else {
lriembv1._visible = false;
}
if (riembv && (!riembvvoor)) {
lriembv2._visible = true;
} else {
lriembv2._visible = false;
}
if (bandbm) {
lbandbm._visible = true;
if (bandbmkleur == "z") {
lbandbm.gotoAndStop("zwart");
}
if (bandbmkleur == "w") {
lbandbm.gotoAndStop("wit");
}
} else {
lbandbm._visible = false;
}
if (bandb) {
lbandb._visible = true;
if (bandbkleur == "z") {
lbandb.gotoAndStop("zwart");
}
if (bandbkleur == "w") {
lbandb.gotoAndStop("wit");
}
} else {
lbandb._visible = false;
}
if (bandbv && (bandbvvoor)) {
lbandbv1._visible = true;
if (bandbvkleur == "z") {
lbandbv1.gotoAndStop("zwart");
}
if (bandbvkleur == "w") {
lbandbv1.gotoAndStop("wit");
}
} else {
lbandbv1._visible = false;
}
if (bandbv && (!bandbvvoor)) {
lbandbv2._visible = true;
if (bandbvkleur == "z") {
lbandbv2.gotoAndStop("zwart");
}
if (bandbvkleur == "w") {
lbandbv2.gotoAndStop("wit");
}
} else {
lbandbv2._visible = false;
}
gotoAndPlay ("bol6l");
Symbol 253 MovieClip [balprod] Frame 13
stop();
Symbol 253 MovieClip [balprod] Frame 14
if (grasbal) {
lgrasbal._visible = true;
if (gras == 1) {
lgrasbal.gotoAndStop(1);
}
if (gras == 2) {
lgrasbal.gotoAndStop(2);
}
if (gras == 3) {
lgrasbal.gotoAndStop(3);
}
if (gras == 4) {
lgrasbal.gotoAndStop(4);
}
} else {
lgrasbal._visible = false;
}
if (bloembal) {
lbloembal._visible = true;
if (bloem == 1) {
lbloembal.gotoAndStop(1);
}
if (bloem == 2) {
lbloembal.gotoAndStop(2);
}
if (bloem == 3) {
lbloembal.gotoAndStop(3);
}
} else {
lbloembal._visible = false;
}
if (bloembalp) {
lbloembalp._visible = true;
if (bloemp == 1) {
lbloembalp.gotoAndStop(1);
}
if (bloemp == 2) {
lbloembalp.gotoAndStop(2);
}
if (bloemp == 3) {
lbloembalp.gotoAndStop(3);
}
} else {
lbloembalp._visible = false;
}
if (bol) {
lbal._visible = true;
} else {
lbal._visible = false;
}
gotoAndPlay ("bol7l");
Symbol 253 MovieClip [balprod] Frame 15
stop();
Symbol 253 MovieClip [balprod] Frame 16
if (bol) {
lbal._visible = true;
if (bolkleur == "y") {
lfiltery._visible = true;
} else {
lfiltery._visible = false;
}
if (bolkleur == "z") {
lfilterz._visible = true;
} else {
lfilterz._visible = false;
}
} else {
lbal._visible = false;
lfiltery._visible = false;
lfilterz._visible = false;
}
if (zwembril) {
lzwembril._visible = true;
} else {
lzwembril._visible = false;
}
if (zwembrilogen) {
lzwembrilogen._visible = true;
if (zwembrilogenkleur == "w") {
lzwembrilogen.gotoAndStop("wit");
}
if (zwembrilogenkleur == "z") {
lzwembrilogen.gotoAndStop("zwart");
}
if (zwembrilogenkleur == "y") {
lzwembrilogen.gotoAndStop("geel");
}
} else {
lzwembrilogen._visible = false;
}
if (zwembril) {
lzwembril._visible = true;
} else {
lzwembril._visible = false;
}
if (mondlap) {
lmondlap._visible = true;
} else {
lmondlap._visible = false;
}
if (lap) {
llap._visible = true;
if (lapkleur == "w") {
llap.gotoAndStop("wit");
}
if (lapkleur == "z") {
llap.gotoAndStop("zwart");
}
if (lapkleur == "y") {
llap.gotoAndStop("geel");
}
} else {
llap._visible = false;
}
if (pacman) {
lpacman._visible = true;
if (pacmankleur == "w") {
lpacman.gotoAndStop("wit");
}
if (pacmankleur == "z") {
lpacman.gotoAndStop("zwart");
}
if (pacmankleur == "y") {
lpacman.gotoAndStop("geel");
}
} else {
lpacman._visible = false;
}
if (pacmanklein) {
lpacmanklein._visible = true;
if (pacmankleinkleur == "w") {
lpacmanklein.gotoAndStop("wit");
}
if (pacmankleinkleur == "z") {
lpacmanklein.gotoAndStop("zwart");
}
if (pacmankleinkleur == "y") {
lpacmanklein.gotoAndStop("geel");
}
} else {
lpacmanklein._visible = false;
}
gotoAndPlay ("bol8l");
Symbol 253 MovieClip [balprod] Frame 17
stop();
Symbol 253 MovieClip [balprod] Frame 18
if (mutsrechts) {
lmutsrechts._visible = true;
} else {
lmutsrechts._visible = false;
}
if (mutslinks) {
lmutslinks._visible = true;
} else {
lmutslinks._visible = false;
}
if (helm) {
lhelm._visible = true;
} else {
lhelm._visible = false;
}
if (kwart1kleur == "w") {
lbolkwart1.gotoAndStop("wit");
}
if (kwart1kleur == "b") {
lbolkwart1.gotoAndStop("blauw");
}
if (kwart1kleur == "o") {
lbolkwart1.gotoAndStop("oranje");
}
if (kwart2kleur == "w") {
lbolkwart2.gotoAndStop("wit");
}
if (kwart2kleur == "b") {
lbolkwart2.gotoAndStop("blauw");
}
if (kwart2kleur == "o") {
lbolkwart2.gotoAndStop("oranje");
}
if (kwart3kleur == "w") {
lbolkwart3.gotoAndStop("wit");
}
if (kwart3kleur == "b") {
lbolkwart3.gotoAndStop("blauw");
}
if (kwart3kleur == "o") {
lbolkwart3.gotoAndStop("oranje");
}
if (kwart4kleur == "w") {
lbolkwart4.gotoAndStop("wit");
}
if (kwart4kleur == "b") {
lbolkwart4.gotoAndStop("blauw");
}
if (kwart4kleur == "o") {
lbolkwart4.gotoAndStop("oranje");
}
gotoAndPlay ("bol9l");
Symbol 253 MovieClip [balprod] Frame 19
stop();
Symbol 253 MovieClip [balprod] Frame 20
if (bol) {
lbal._visible = true;
if (bolkleur == "r") {
lfilterr._visible = true;
} else {
lfilterr._visible = false;
}
if (bolkleur == "rm") {
lfilterrm._visible = true;
} else {
lfilterrm._visible = false;
}
} else {
lbal._visible = false;
lfilterr._visible = false;
lfilterrm._visible = false;
}
if (bollen) {
lbollen._visible = true;
if (bollenkleur == "w") {
lbollen.gotoAndStop("wit");
}
if (bollenkleur == "r") {
lbollen.gotoAndStop("rood");
}
if (bollenkleur == "rm") {
lbollen.gotoAndStop("roodm");
}
} else {
lbollen._visible = false;
}
if (spin) {
lspin._visible = true;
} else {
lspin._visible = false;
}
gotoAndPlay ("bol10l");
Symbol 253 MovieClip [balprod] Frame 21
stop();
Symbol 253 MovieClip [balprod] Frame 22
if (bol) {
lbal._visible = true;
if (bolkleur == "b") {
lfilterb._visible = true;
} else {
lfilterb._visible = false;
}
if (bolkleur == "m") {
lfilterm._visible = true;
} else {
lfilterm._visible = false;
}
if (bolkleur == "z") {
lfilterz._visible = true;
} else {
lfilterz._visible = false;
}
if (bolkleur == "y") {
lfiltery._visible = true;
} else {
lfiltery._visible = false;
}
} else {
lbal._visible = false;
lfilterb._visible = false;
lfilterm._visible = false;
lfilterz._visible = false;
lfiltery._visible = false;
}
if (riemb) {
lriemb._visible = true;
} else {
lriemb._visible = false;
}
if (helm) {
lhelm._visible = true;
} else {
lhelm._visible = false;
}
if (bandb1) {
lbandb1._visible = true;
if (bandb1kleur == "b") {
lbandb1.gotoAndStop("blauw");
}
if (bandb1kleur == "m") {
lbandb1.gotoAndStop("magenta");
}
if (bandb1kleur == "z") {
lbandb1.gotoAndStop("zwart");
}
if (bandb1kleur == "y") {
lbandb1.gotoAndStop("geel");
}
if (bandb1kleur == "w") {
lbandb1.gotoAndStop("wit");
}
} else {
lbandb1._visible = false;
}
if (bandb2) {
lbandb2._visible = true;
if (bandb2kleur == "b") {
lbandb2.gotoAndStop("blauw");
}
if (bandb2kleur == "m") {
lbandb2.gotoAndStop("magenta");
}
if (bandb2kleur == "z") {
lbandb2.gotoAndStop("zwart");
}
if (bandb2kleur == "y") {
lbandb2.gotoAndStop("geel");
}
if (bandb2kleur == "w") {
lbandb2.gotoAndStop("wit");
}
} else {
lbandb2._visible = false;
}
if (bolh) {
lbolh._visible = true;
if (bolhkleur == "b") {
lbolh.gotoAndStop("blauw");
}
if (bolhkleur == "m") {
lbolh.gotoAndStop("magenta");
}
if (bolhkleur == "z") {
lbolh.gotoAndStop("zwart");
}
if (bolhkleur == "y") {
lbolh.gotoAndStop("geel");
}
if (bolhkleur == "w") {
lbolh.gotoAndStop("wit");
}
} else {
lbolh._visible = false;
}
gotoAndPlay ("bol11l");
Symbol 253 MovieClip [balprod] Frame 23
stop();
Symbol 253 MovieClip [balprod] Frame 24
if (bol) {
lbal._visible = true;
if (bolkleur == "m") {
lfilterm._visible = true;
} else {
lfilterm._visible = false;
}
} else {
lbal._visible = false;
lfilterm._visible = false;
}
if (nbril) {
lnbril._visible = true;
} else {
lnbril._visible = false;
}
if (oogsprayl) {
loogsprayl._visible = true;
loogsprayl.gotoAndStop(oogspraylniv);
loogsprayl.balvol.gotoAndStop("zwart");
} else {
loogsprayl._visible = false;
}
if (oogsprayr) {
loogsprayr._visible = true;
loogsprayr.gotoAndStop(oogsprayrniv);
loogsprayr.balvol.gotoAndStop("zwart");
} else {
loogsprayr._visible = false;
}
if (ogenr) {
loogspray2r._visible = true;
loogspray2r.gotoAndStop(3);
if (ogenkleurr == "w") {
loogspray2r.balvol.gotoAndStop("wit");
}
if (ogenkleurr == "z") {
loogspray2r.balvol.gotoAndStop("zwart");
}
} else {
loogspray2r._visible = false;
}
if (ogenl) {
loogspray2l._visible = true;
loogspray2l.gotoAndStop(3);
if (ogenkleurl == "w") {
loogspray2l.balvol.gotoAndStop("wit");
}
if (ogenkleurl == "z") {
loogspray2l.balvol.gotoAndStop("zwart");
}
} else {
loogspray2l._visible = false;
}
if (varkensneus) {
lvarkensneus._visible = true;
if (varkensneuskleur == "m") {
lvarkensneus.gotoAndStop("magenta");
}
if (varkensneuskleur == "w") {
lvarkensneus.gotoAndStop("wit");
}
} else {
lvarkensneus._visible = false;
}
if (neusgatl) {
lneusgatl._visible = true;
lneusgatl.gotoAndStop(neusgatlpos);
} else {
lneusgatl._visible = false;
}
if (neusgatr) {
lneusgatr._visible = true;
lneusgatr.gotoAndStop(neusgatrpos);
} else {
lneusgatr._visible = false;
}
gotoAndPlay ("bol12l");
Symbol 253 MovieClip [balprod] Frame 25
stop();
Symbol 253 MovieClip [balprod] Frame 26
if (bol) {
lbal._visible = true;
if (bolkleur == "z") {
lfilterz._visible = true;
} else {
lfilterz._visible = false;
}
if (bolkleur == "zm") {
lfilterzm._visible = true;
} else {
lfilterzm._visible = false;
}
} else {
lbal._visible = false;
lfilterz._visible = false;
lfilterzm._visible = false;
}
if (phone) {
lphone._visible = true;
lphone.gotoAndStop(2);
} else {
lphone._visible = false;
}
if (phoneklein) {
lphoneklein._visible = true;
lphoneklein.gotoAndStop(2);
} else {
lphoneklein._visible = false;
}
if (oorbal) {
loorbal._visible = true;
if (oorbalkleur == "w") {
loorbal.gotoAndStop("wit");
}
if (oorbalkleur == "z") {
loorbal.gotoAndStop("zwart");
}
if (oorbalkleur == "zm") {
loorbal.gotoAndStop("zwartm");
}
} else {
loorbal._visible = false;
}
if (oorbalklein) {
loorbalklein._visible = true;
if (oorbalkleinkleur == "w") {
loorbalklein.gotoAndStop("wit");
}
if (oorbalkleinkleur == "z") {
loorbalklein.gotoAndStop("zwart");
}
if (oorbalkleinkleur == "zm") {
loorbalklein.gotoAndStop("zwartm");
}
} else {
loorbalklein._visible = false;
}
gotoAndPlay ("bol13l");
Symbol 253 MovieClip [balprod] Frame 27
stop();
Symbol 253 MovieClip [balprod] Frame 28
if (bol) {
lbal._visible = true;
if (bolkleur == "o") {
lfiltero._visible = true;
} else {
lfiltero._visible = false;
}
} else {
lbal._visible = false;
lfiltero._visible = false;
}
if (nbril) {
lnbril._visible = true;
} else {
lnbril._visible = false;
}
if (oogsprayl) {
loogsprayl._visible = true;
loogsprayl.gotoAndStop(oogspraylniv);
loogsprayl.balvol.gotoAndStop("zwart");
} else {
loogsprayl._visible = false;
}
if (oogsprayr) {
loogsprayr._visible = true;
loogsprayr.gotoAndStop(oogsprayrniv);
loogsprayr.balvol.gotoAndStop("zwart");
} else {
loogsprayr._visible = false;
}
if (ogenr) {
loogspray2r._visible = true;
loogspray2r.gotoAndStop(3);
if (ogenkleurr == "w") {
loogspray2r.balvol.gotoAndStop("wit");
}
if (ogenkleurr == "z") {
loogspray2r.balvol.gotoAndStop("zwart");
}
if (ogenkleurr == "o") {
loogspray2r.balvol.gotoAndStop("oranje");
}
} else {
loogspray2r._visible = false;
}
if (ogenl) {
loogspray2l._visible = true;
loogspray2l.gotoAndStop(3);
if (ogenkleurl == "w") {
loogspray2l.balvol.gotoAndStop("wit");
}
if (ogenkleurl == "z") {
loogspray2l.balvol.gotoAndStop("zwart");
}
if (ogenkleurl == "o") {
loogspray2l.balvol.gotoAndStop("oranje");
}
} else {
loogspray2l._visible = false;
}
loorl1._visible = false;
loorl2._visible = false;
loorr1._visible = false;
loorr2._visible = false;
if (oorlniv == 1) {
loorl1._visible = true;
if (oorlkleur == "w") {
loorl1.gotoAndStop("wit");
}
if (oorlkleur == "o") {
loorl1.gotoAndStop("oranje");
}
} else if (oorlniv == 2) {
loorl2._visible = true;
if (oorlkleur == "w") {
loorl2.gotoAndStop("wit");
}
if (oorlkleur == "o") {
loorl2.gotoAndStop("oranje");
}
}
if (oorrniv == 1) {
loorr1._visible = true;
if (oorrkleur == "w") {
loorr1.gotoAndStop("wit");
}
if (oorrkleur == "o") {
loorr1.gotoAndStop("oranje");
}
} else if (oorrniv == 2) {
loorr2._visible = true;
if (oorrkleur == "w") {
loorr2.gotoAndStop("wit");
}
if (oorrkleur == "o") {
loorr2.gotoAndStop("oranje");
}
}
gotoAndPlay ("bol14l");
Symbol 253 MovieClip [balprod] Frame 29
stop();
Symbol 253 MovieClip [balprod] Frame 30
if (bol) {
lbal._visible = true;
if (bolkleur == "b") {
lfilterb._visible = true;
} else {
lfilterb._visible = false;
}
if (bolkleur == "bm") {
lfilterbm._visible = true;
} else {
lfilterbm._visible = false;
}
} else {
lbal._visible = false;
lfilterb._visible = false;
lfilterbm._visible = false;
}
if (riemb) {
lriemb._visible = true;
} else {
lriemb._visible = false;
}
if (helm) {
lhelm._visible = true;
} else {
lhelm._visible = false;
}
if (bandb1) {
lbandb1._visible = true;
if (bandb1kleur == "b") {
lbandb1.gotoAndStop("blauw");
}
if (bandb1kleur == "bm") {
lbandb1.gotoAndStop("blauwm");
}
if (bandb1kleur == "w") {
lbandb1.gotoAndStop("wit");
}
} else {
lbandb1._visible = false;
}
if (bandb2) {
lbandb2._visible = true;
if (bandb2kleur == "b") {
lbandb2.gotoAndStop("blauw");
}
if (bandb2kleur == "bm") {
lbandb2.gotoAndStop("blauwm");
}
if (bandb2kleur == "w") {
lbandb2.gotoAndStop("wit");
}
} else {
lbandb2._visible = false;
}
if (bolh) {
lbolh._visible = true;
if (bolhkleur == "b") {
lbolh.gotoAndStop("blauw");
}
if (bolhkleur == "bm") {
lbolh.gotoAndStop("blauwm");
}
if (bolhkleur == "w") {
lbolh.gotoAndStop("wit");
}
} else {
lbolh._visible = false;
}
gotoAndPlay ("bol15l");
Symbol 253 MovieClip [balprod] Frame 31
stop();
Symbol 253 MovieClip [balprod] Frame 32
if (bol) {
lbal._visible = true;
if (bolkleur == "y") {
lfiltery._visible = true;
} else {
lfiltery._visible = false;
}
if (bolkleur == "z") {
lfilterz._visible = true;
} else {
lfilterz._visible = false;
}
if (bolkleur == "r") {
lfilterr._visible = true;
} else {
lfilterr._visible = false;
}
} else {
lbal._visible = false;
lfiltery._visible = false;
lfilterz._visible = false;
lfilterr._visible = false;
}
if (zwembril) {
lzwembril._visible = true;
} else {
lzwembril._visible = false;
}
if (zwembrilogen) {
lzwembrilogen._visible = true;
if (zwembrilogenkleur == "w") {
lzwembrilogen.gotoAndStop("wit");
}
if (zwembrilogenkleur == "z") {
lzwembrilogen.gotoAndStop("zwart");
}
if (zwembrilogenkleur == "y") {
lzwembrilogen.gotoAndStop("geel");
}
if (zwembrilogenkleur == "r") {
lzwembrilogen.gotoAndStop("rood");
}
} else {
lzwembrilogen._visible = false;
}
if (zwembril) {
lzwembril._visible = true;
} else {
lzwembril._visible = false;
}
if (mondlap) {
lmondlap._visible = true;
} else {
lmondlap._visible = false;
}
if (lap) {
llap._visible = true;
if (lapkleur == "w") {
llap.gotoAndStop("wit");
}
if (lapkleur == "z") {
llap.gotoAndStop("zwart");
}
if (lapkleur == "y") {
llap.gotoAndStop("geel");
}
if (lapkleur == "r") {
llap.gotoAndStop("rood");
}
} else {
llap._visible = false;
}
if (pacman) {
lpacman._visible = true;
if (pacmankleur == "w") {
lpacman.gotoAndStop("wit");
}
if (pacmankleur == "z") {
lpacman.gotoAndStop("zwart");
}
if (pacmankleur == "y") {
lpacman.gotoAndStop("geel");
}
if (pacmankleur == "r") {
lpacman.gotoAndStop("rood");
}
} else {
lpacman._visible = false;
}
if (pacmanklein) {
lpacmanklein._visible = true;
if (pacmankleinkleur == "w") {
lpacmanklein.gotoAndStop("wit");
}
if (pacmankleinkleur == "z") {
lpacmanklein.gotoAndStop("zwart");
}
if (pacmankleinkleur == "y") {
lpacmanklein.gotoAndStop("geel");
}
if (pacmankleinkleur == "r") {
lpacmanklein.gotoAndStop("rood");
}
} else {
lpacmanklein._visible = false;
}
gotoAndPlay ("bol16l");
Symbol 253 MovieClip [balprod] Frame 33
stop();
Symbol 253 MovieClip [balprod] Frame 34
if (bol) {
lbal._visible = true;
if (bolkleur == "b") {
lfilterb._visible = true;
} else {
lfilterb._visible = false;
}
if (bolkleur == "r") {
lfilterr._visible = true;
} else {
lfilterr._visible = false;
}
} else {
lbal._visible = false;
lfilterb._visible = false;
lfilterr._visible = false;
}
if (oogsprayl) {
loogsprayl._visible = true;
loogsprayl.gotoAndStop(oogspraylniv);
loogsprayl.balvol.gotoAndStop("zwart");
} else {
loogsprayl._visible = false;
}
if (oogsprayr) {
loogsprayr._visible = true;
loogsprayr.gotoAndStop(oogsprayrniv);
loogsprayr.balvol.gotoAndStop("zwart");
} else {
loogsprayr._visible = false;
}
loorl1._visible = false;
loorl2._visible = false;
loorr1._visible = false;
loorr2._visible = false;
if (oorlniv == 1) {
loorl1._visible = true;
if (oorlkleur == "w") {
loorl1.gotoAndStop("wit");
}
if (oorlkleur == "b") {
loorl1.gotoAndStop("blauw");
}
if (oorlkleur == "r") {
loorl1.gotoAndStop("rood");
}
} else if (oorlniv == 2) {
loorl2._visible = true;
if (oorlkleur == "w") {
loorl2.gotoAndStop("wit");
}
if (oorlkleur == "b") {
loorl2.gotoAndStop("blauw");
}
if (oorlkleur == "r") {
loorl2.gotoAndStop("rood");
}
}
if (oorrniv == 1) {
loorr1._visible = true;
if (oorrkleur == "w") {
loorr1.gotoAndStop("wit");
}
if (oorrkleur == "b") {
loorr1.gotoAndStop("blauw");
}
if (oorrkleur == "r") {
loorr1.gotoAndStop("rood");
}
} else if (oorrniv == 2) {
loorr2._visible = true;
if (oorrkleur == "w") {
loorr2.gotoAndStop("wit");
}
if (oorrkleur == "b") {
loorr2.gotoAndStop("blauw");
}
if (oorrkleur == "r") {
loorr2.gotoAndStop("rood");
}
}
lneus1._visible = false;
lneus2._visible = false;
if (neusniv == 1) {
lneus1._visible = true;
if (neuskleur == "b") {
lneus1.gotoAndStop("blauw");
}
if (neuskleur == "z") {
lneus1.gotoAndStop("zwart");
}
if (neuskleur == "w") {
lneus1.gotoAndStop("wit");
}
if (neuskleur == "r") {
lneus1.gotoAndStop("rood");
}
} else if (neusniv == 2) {
lneus2._visible = true;
if (neuskleur == "b") {
lneus2.gotoAndStop("blauw");
}
if (neuskleur == "z") {
lneus2.gotoAndStop("zwart");
}
if (neuskleur == "w") {
lneus2.gotoAndStop("wit");
}
if (neuskleur == "r") {
lneus2.gotoAndStop("rood");
}
}
lneusdip._visible = false;
if (neusdip) {
lneusdip._visible = true;
if (neusdipkleur == "b") {
lneusdip.gotoAndStop("blauw");
}
if (neusdipkleur == "r") {
lneusdip.gotoAndStop("rood");
}
}
lneusstempel._visible = false;
if (neusstempel) {
lneusstempel._visible = true;
if (stempelniv == 1) {
lneusstempel.gotoAndStop(1);
}
if (stempelniv == 2) {
lneusstempel.gotoAndStop(2);
}
if (stempelniv == 3) {
lneusstempel.gotoAndStop(3);
}
}
gotoAndPlay ("bol17l");
Symbol 253 MovieClip [balprod] Frame 35
stop();
Symbol 253 MovieClip [balprod] Frame 36
if (bol) {
lbal._visible = true;
if (bolkleur == "b") {
lfilterb._visible = true;
} else {
lfilterb._visible = false;
}
if (bolkleur == "o") {
lfiltero._visible = true;
} else {
lfiltero._visible = false;
}
} else {
lbal._visible = false;
lfilterb._visible = false;
lfiltero._visible = false;
}
if ((riem && (!riemb)) && (!riemv)) {
lriem._visible = true;
lriemb._visible = false;
lriemv1._visible = false;
lriemv2._visible = false;
lriemv3._visible = false;
} else if (((!riem) && (riemb)) && (!riemv)) {
lriem._visible = false;
lriemb._visible = true;
lriemv1._visible = false;
lriemv2._visible = false;
lriemv3._visible = false;
} else if (((!riem) && (!riemb)) && (riemv)) {
lriem._visible = false;
lriemb._visible = false;
lriemv1._visible = true;
lriemv2._visible = false;
lriemv3._visible = false;
} else if ((riem && (riemb)) && (!riemv)) {
if (r2 == "r") {
lriem._visible = true;
} else {
lriem._visible = false;
}
lriemb._visible = true;
lriemv1._visible = false;
lriemv2._visible = false;
lriemv3._visible = false;
} else if ((riem && (!riemb)) && (riemv)) {
lriem._visible = true;
lriemb._visible = false;
if (r2 == "r") {
lriemv1._visible = false;
lriemv2._visible = false;
lriemv3._visible = true;
} else {
lriemv1._visible = true;
lriemv2._visible = false;
lriemv3._visible = false;
}
} else if (((!riem) && (riemb)) && (riemv)) {
lriem._visible = false;
lriemb._visible = true;
if (r2 == "b") {
lriemv1._visible = false;
lriemv2._visible = false;
lriemv3._visible = true;
} else {
lriemv1._visible = true;
lriemv2._visible = false;
lriemv3._visible = false;
}
} else if ((riem && (riemb)) && (riemv)) {
if ((((r1 == "r") && (r2 == "b")) || ((r2 == "r") && (r3 == "b"))) || ((r1 == "r") && (r3 == "b"))) {
lriem._visible = false;
} else {
lriem._visible = true;
}
lriemb._visible = true;
if (r3 == "v") {
lriemv1._visible = true;
lriemv2._visible = false;
lriemv3._visible = false;
} else if ((r2 == "v") && (r3 == "r")) {
lriemv1._visible = false;
lriemv2._visible = true;
lriemv3._visible = false;
} else if ((r2 == "v") && (r3 == "b")) {
lriemv1._visible = false;
lriemv2._visible = false;
lriemv3._visible = true;
} else {
lriemv1._visible = false;
lriemv2._visible = false;
lriemv3._visible = true;
}
} else {
lriem._visible = false;
lriemb._visible = false;
lriemv1._visible = false;
lriemv2._visible = false;
lriemv3._visible = false;
}
if (b1 == "w") {
lbanden1.gotoAndStop("wit");
} else if (b1 == "o") {
lbanden1.gotoAndStop("oranje");
} else if (b1 == "b") {
lbanden1.gotoAndStop("blauw");
}
if (b2 == "w") {
lbanden2.gotoAndStop("wit");
} else if (b2 == "o") {
lbanden2.gotoAndStop("oranje");
} else if (b2 == "b") {
lbanden2.gotoAndStop("blauw");
}
if (b3 == "w") {
lbanden3.gotoAndStop("wit");
} else if (b3 == "o") {
lbanden3.gotoAndStop("oranje");
} else if (b3 == "b") {
lbanden3.gotoAndStop("blauw");
}
if (b4 == "w") {
lbanden4.gotoAndStop("wit");
} else if (b4 == "o") {
lbanden4.gotoAndStop("oranje");
} else if (b4 == "b") {
lbanden4.gotoAndStop("blauw");
}
if (b5 == "w") {
lbanden5.gotoAndStop("wit");
} else if (b5 == "o") {
lbanden5.gotoAndStop("oranje");
} else if (b5 == "b") {
lbanden5.gotoAndStop("blauw");
}
if (b6 == "w") {
lbanden6.gotoAndStop("wit");
} else if (b6 == "o") {
lbanden6.gotoAndStop("oranje");
} else if (b6 == "b") {
lbanden6.gotoAndStop("blauw");
}
if (b7 == "w") {
lbanden7.gotoAndStop("wit");
} else if (b7 == "o") {
lbanden7.gotoAndStop("oranje");
} else if (b7 == "b") {
lbanden7.gotoAndStop("blauw");
}
gotoAndPlay ("bol18l");
Symbol 253 MovieClip [balprod] Frame 37
stop();
Symbol 253 MovieClip [balprod] Frame 38
if (bol) {
lbal._visible = true;
if (bolkleur == "r") {
lfilterr._visible = true;
} else {
lfilterr._visible = false;
}
if (bolkleur == "z") {
lfilterz._visible = true;
} else {
lfilterz._visible = false;
}
} else {
lbal._visible = false;
lfilterr._visible = false;
lfilterz._visible = false;
}
if (nbril) {
lnbril._visible = true;
} else {
lnbril._visible = false;
}
if (ogenr) {
loogspray2r._visible = true;
loogspray2r.gotoAndStop(3);
if (ogenkleurr == "w") {
loogspray2r.balvol.gotoAndStop("wit");
}
if (ogenkleurr == "z") {
loogspray2r.balvol.gotoAndStop("zwart");
}
if (ogenkleurr == "r") {
loogspray2r.balvol.gotoAndStop("rood");
}
} else {
loogspray2r._visible = false;
}
if (ogenl) {
loogspray2l._visible = true;
loogspray2l.gotoAndStop(3);
if (ogenkleurl == "w") {
loogspray2l.balvol.gotoAndStop("wit");
}
if (ogenkleurl == "z") {
loogspray2l.balvol.gotoAndStop("zwart");
}
if (ogenkleurl == "r") {
loogspray2l.balvol.gotoAndStop("rood");
}
} else {
loogspray2l._visible = false;
}
loorl1._visible = false;
loorl2._visible = false;
loorr1._visible = false;
loorr2._visible = false;
if (oorlniv == 1) {
loorl1._visible = true;
if (oorlkleur == "w") {
loorl1.gotoAndStop("wit");
}
if (oorlkleur == "r") {
loorl1.gotoAndStop("rood");
}
if (oorlkleur == "z") {
loorl1.gotoAndStop("zwart");
}
} else if (oorlniv == 2) {
loorl2._visible = true;
if (oorlkleur == "w") {
loorl2.gotoAndStop("wit");
}
if (oorlkleur == "r") {
loorl2.gotoAndStop("rood");
}
if (oorlkleur == "z") {
loorl2.gotoAndStop("zwart");
}
}
if (oorrniv == 1) {
loorr1._visible = true;
if (oorrkleur == "w") {
loorr1.gotoAndStop("wit");
}
if (oorrkleur == "r") {
loorr1.gotoAndStop("rood");
}
if (oorrkleur == "z") {
loorr1.gotoAndStop("zwart");
}
} else if (oorrniv == 2) {
loorr2._visible = true;
if (oorrkleur == "w") {
loorr2.gotoAndStop("wit");
}
if (oorrkleur == "r") {
loorr2.gotoAndStop("rood");
}
if (oorrkleur == "z") {
loorr2.gotoAndStop("zwart");
}
}
if (brilletje) {
lbrilletje._visible = true;
} else {
lbrilletje._visible = false;
}
if (oogjes) {
loogjes._visible = true;
if (oogjeskleur == "w") {
loogjes.gotoAndStop("wit");
}
if (oogjeskleur == "z") {
loogjes.gotoAndStop("zwart");
}
if (oogjeskleur == "r") {
loogjes.gotoAndStop("rood");
}
} else {
loogjes._visible = false;
}
gotoAndPlay ("bol19l");
Symbol 253 MovieClip [balprod] Frame 39
stop();
Symbol 253 MovieClip [balprod] Frame 40
if (mutsrechts) {
lmutsrechts._visible = true;
} else {
lmutsrechts._visible = false;
}
if (mutslinks) {
lmutslinks._visible = true;
} else {
lmutslinks._visible = false;
}
if (helm) {
lhelm._visible = true;
} else {
lhelm._visible = false;
}
if (kwart1kleur == "w") {
lbolkwart1.gotoAndStop("wit");
}
if (kwart1kleur == "r") {
lbolkwart1.gotoAndStop("rood");
}
if (kwart1kleur == "rm") {
lbolkwart1.gotoAndStop("roodm");
}
if (kwart2kleur == "w") {
lbolkwart2.gotoAndStop("wit");
}
if (kwart2kleur == "r") {
lbolkwart2.gotoAndStop("rood");
}
if (kwart2kleur == "rm") {
lbolkwart2.gotoAndStop("roodm");
}
if (kwart3kleur == "w") {
lbolkwart3.gotoAndStop("wit");
}
if (kwart3kleur == "r") {
lbolkwart3.gotoAndStop("rood");
}
if (kwart3kleur == "rm") {
lbolkwart3.gotoAndStop("roodm");
}
if (kwart4kleur == "w") {
lbolkwart4.gotoAndStop("wit");
}
if (kwart4kleur == "r") {
lbolkwart4.gotoAndStop("rood");
}
if (kwart4kleur == "rm") {
lbolkwart4.gotoAndStop("roodm");
}
gotoAndPlay ("bol20l");
Symbol 253 MovieClip [balprod] Frame 41
stop();
Symbol 253 MovieClip [balprod] Frame 42
if (bol) {
lbal._visible = true;
if (bolkleur == "b") {
lfilterb._visible = true;
} else {
lfilterb._visible = false;
}
if (bolkleur == "bm") {
lfilterbm._visible = true;
} else {
lfilterbm._visible = false;
}
} else {
lbal._visible = false;
lfilterb._visible = false;
lfilterbm._visible = false;
}
loorl1._visible = false;
loorl2._visible = false;
loorr1._visible = false;
loorr2._visible = false;
if (oorlniv == 1) {
loorl1._visible = true;
if (oorlkleur == "w") {
loorl1.gotoAndStop("wit");
}
if (oorlkleur == "b") {
loorl1.gotoAndStop("blauw");
}
if (oorlkleur == "bm") {
loorl1.gotoAndStop("blauwm");
}
} else if (oorlniv == 2) {
loorl2._visible = true;
if (oorlkleur == "w") {
loorl2.gotoAndStop("wit");
}
if (oorlkleur == "b") {
loorl2.gotoAndStop("blauw");
}
if (oorlkleur == "bm") {
loorl2.gotoAndStop("blauwm");
}
}
if (oorrniv == 1) {
loorr1._visible = true;
if (oorrkleur == "w") {
loorr1.gotoAndStop("wit");
}
if (oorrkleur == "b") {
loorr1.gotoAndStop("blauw");
}
if (oorrkleur == "bm") {
loorr1.gotoAndStop("blauwm");
}
} else if (oorrniv == 2) {
loorr2._visible = true;
if (oorrkleur == "w") {
loorr2.gotoAndStop("wit");
}
if (oorrkleur == "b") {
loorr2.gotoAndStop("blauw");
}
if (oorrkleur == "bm") {
loorr2.gotoAndStop("blauwm");
}
}
lneus1._visible = false;
lneus2._visible = false;
if (neusniv == 1) {
lneus1._visible = true;
if (neuskleur == "b") {
lneus1.gotoAndStop("blauw");
}
if (neuskleur == "z") {
lneus1.gotoAndStop("zwart");
}
if (neuskleur == "w") {
lneus1.gotoAndStop("wit");
}
if (neuskleur == "bm") {
lneus1.gotoAndStop("blauwm");
}
} else if (neusniv == 2) {
lneus2._visible = true;
if (neuskleur == "b") {
lneus2.gotoAndStop("blauw");
}
if (neuskleur == "z") {
lneus2.gotoAndStop("zwart");
}
if (neuskleur == "w") {
lneus2.gotoAndStop("wit");
}
if (neuskleur == "bm") {
lneus2.gotoAndStop("blauwm");
}
}
lneusdip._visible = false;
if (neusdip) {
lneusdip._visible = true;
if (neusdipkleur == "b") {
lneusdip.gotoAndStop("blauw");
}
if (neusdipkleur == "bm") {
lneusdip.gotoAndStop("blauwm");
}
if (neusdipkleur == "w") {
lneusdip.gotoAndStop("wit");
}
}
if (brilletje) {
lbrilletje._visible = true;
} else {
lbrilletje._visible = false;
}
if (oogjes) {
loogjes._visible = true;
if (oogjeskleur == "w") {
loogjes.gotoAndStop("wit");
}
if (oogjeskleur == "z") {
loogjes.gotoAndStop("zwart");
}
if (oogjeskleur == "zm") {
loogjes.gotoAndStop("zwartm");
}
if (oogjeskleur == "b") {
loogjes.gotoAndStop("blauw");
}
if (oogjeskleur == "bm") {
loogjes.gotoAndStop("blauwm");
}
} else {
loogjes._visible = false;
}
gotoAndPlay ("bol21l");
Symbol 253 MovieClip [balprod] Frame 43
stop();
Symbol 253 MovieClip [balprod] Frame 44
if (bol) {
lbal._visible = true;
if (bolkleur == "z") {
lfilterz._visible = true;
} else {
lfilterz._visible = false;
}
if (bolkleur == "o") {
lfiltero._visible = true;
} else {
lfiltero._visible = false;
}
if (bolkleur == "b") {
lfilterb._visible = true;
} else {
lfilterb._visible = false;
}
} else {
lbal._visible = false;
lfilterz._visible = false;
lfiltero._visible = false;
lfilterb._visible = false;
}
if (riemb) {
lriemb._visible = true;
} else {
lriemb._visible = false;
}
if (riembv && (riembvvoor)) {
lriembv1._visible = true;
} else {
lriembv1._visible = false;
}
if (riembv && (!riembvvoor)) {
lriembv2._visible = true;
} else {
lriembv2._visible = false;
}
if (helm) {
lhelm._visible = true;
} else {
lhelm._visible = false;
}
if (bolh) {
lbolh._visible = true;
if (bolhkleur == "b") {
lbolh.gotoAndStop("blauw");
}
if (bolhkleur == "o") {
lbolh.gotoAndStop("oranje");
}
if (bolhkleur == "z") {
lbolh.gotoAndStop("zwart");
}
if (bolhkleur == "w") {
lbolh.gotoAndStop("wit");
}
} else {
lbolh._visible = false;
}
if (b1 == "w") {
lbanden1.gotoAndStop("wit");
} else if (b1 == "o") {
lbanden1.gotoAndStop("oranje");
} else if (b1 == "b") {
lbanden1.gotoAndStop("blauw");
} else if (b1 == "z") {
lbanden1.gotoAndStop("zwart");
}
if (b2 == "w") {
lbanden2.gotoAndStop("wit");
} else if (b2 == "o") {
lbanden2.gotoAndStop("oranje");
} else if (b2 == "b") {
lbanden2.gotoAndStop("blauw");
} else if (b2 == "z") {
lbanden2.gotoAndStop("zwart");
}
if (b3 == "w") {
lbanden3.gotoAndStop("wit");
} else if (b3 == "o") {
lbanden3.gotoAndStop("oranje");
} else if (b3 == "b") {
lbanden3.gotoAndStop("blauw");
} else if (b3 == "z") {
lbanden3.gotoAndStop("zwart");
}
if (b4 == "w") {
lbanden4.gotoAndStop("wit");
} else if (b4 == "o") {
lbanden4.gotoAndStop("oranje");
} else if (b4 == "b") {
lbanden4.gotoAndStop("blauw");
} else if (b4 == "z") {
lbanden4.gotoAndStop("zwart");
}
if (b5 == "w") {
lbanden5.gotoAndStop("wit");
} else if (b5 == "o") {
lbanden5.gotoAndStop("oranje");
} else if (b5 == "b") {
lbanden5.gotoAndStop("blauw");
} else if (b5 == "z") {
lbanden5.gotoAndStop("zwart");
}
if (b6 == "w") {
lbanden6.gotoAndStop("wit");
} else if (b6 == "o") {
lbanden6.gotoAndStop("oranje");
} else if (b6 == "b") {
lbanden6.gotoAndStop("blauw");
} else if (b6 == "z") {
lbanden6.gotoAndStop("zwart");
}
if (b7 == "w") {
lbanden7.gotoAndStop("wit");
} else if (b7 == "o") {
lbanden7.gotoAndStop("oranje");
} else if (b7 == "b") {
lbanden7.gotoAndStop("blauw");
} else if (b7 == "z") {
lbanden7.gotoAndStop("zwart");
}
if (b8 == "w") {
lbanden8.gotoAndStop("wit");
} else if (b8 == "o") {
lbanden8.gotoAndStop("oranje");
} else if (b8 == "b") {
lbanden8.gotoAndStop("blauw");
} else if (b8 == "z") {
lbanden8.gotoAndStop("zwart");
}
gotoAndPlay ("bol22l");
Symbol 253 MovieClip [balprod] Frame 45
stop();
Symbol 253 MovieClip [balprod] Frame 46
if (bol) {
lbal._visible = true;
if (bolkleur == "m") {
lfilterm._visible = true;
} else {
lfilterm._visible = false;
}
} else {
lbal._visible = false;
lfilterm._visible = false;
}
if (varkensneus) {
lvarkensneus._visible = true;
if (varkensneuskleur == "m") {
lvarkensneus.gotoAndStop("magenta");
}
if (varkensneuskleur == "w") {
lvarkensneus.gotoAndStop("wit");
}
} else {
lvarkensneus._visible = false;
}
if (neusgatl) {
lneusgatl._visible = true;
lneusgatl.gotoAndStop(neusgatlpos);
} else {
lneusgatl._visible = false;
}
if (neusgatr) {
lneusgatr._visible = true;
lneusgatr.gotoAndStop(neusgatrpos);
} else {
lneusgatr._visible = false;
}
loorl1._visible = false;
loorl2._visible = false;
loorr1._visible = false;
loorr2._visible = false;
if (oorlniv == 1) {
loorl1._visible = true;
if (oorlkleur == "w") {
loorl1.gotoAndStop("wit");
}
if (oorlkleur == "m") {
loorl1.gotoAndStop("magenta");
}
} else if (oorlniv == 2) {
loorl2._visible = true;
if (oorlkleur == "w") {
loorl2.gotoAndStop("wit");
}
if (oorlkleur == "m") {
loorl2.gotoAndStop("magenta");
}
}
if (oorrniv == 1) {
loorr1._visible = true;
if (oorrkleur == "w") {
loorr1.gotoAndStop("wit");
}
if (oorrkleur == "m") {
loorr1.gotoAndStop("magenta");
}
} else if (oorrniv == 2) {
loorr2._visible = true;
if (oorrkleur == "w") {
loorr2.gotoAndStop("wit");
}
if (oorrkleur == "m") {
loorr2.gotoAndStop("magenta");
}
}
if (oogsprayl) {
loogsprayl._visible = true;
loogsprayl.gotoAndStop(oogspraylniv);
if (oogspraylkleur == "z") {
loogsprayl.balvol.gotoAndStop("zwart");
} else {
loogsprayl.balvol.gotoAndStop("wit");
}
} else {
loogsprayl._visible = false;
}
if (oogsprayr) {
loogsprayr._visible = true;
loogsprayr.gotoAndStop(oogsprayrniv);
if (oogsprayrkleur == "z") {
loogsprayr.balvol.gotoAndStop("zwart");
} else {
loogsprayr.balvol.gotoAndStop("wit");
}
} else {
loogsprayr._visible = false;
}
if (oogspray2l) {
loogspray2l._visible = true;
loogspray2l.gotoAndStop(oogspray2lniv);
if (oogspray2lkleur == "z") {
loogspray2l.balvol.gotoAndStop("zwart");
} else {
loogspray2l.balvol.gotoAndStop("wit");
}
} else {
loogspray2l._visible = false;
}
if (oogspray2r) {
loogspray2r._visible = true;
loogspray2r.gotoAndStop(oogspray2rniv);
if (oogspray2rkleur == "z") {
loogspray2r.balvol.gotoAndStop("zwart");
} else {
loogspray2r.balvol.gotoAndStop("wit");
}
} else {
loogspray2r._visible = false;
}
if (oogspray3l) {
loogspray3l._visible = true;
loogspray3l.gotoAndStop(oogspray3lniv);
if (oogspray3lkleur == "z") {
loogspray3l.balvol.gotoAndStop("zwart");
} else {
loogspray3l.balvol.gotoAndStop("wit");
}
} else {
loogspray3l._visible = false;
}
if (oogspray3r) {
loogspray3r._visible = true;
loogspray3r.gotoAndStop(oogspray3rniv);
if (oogspray3rkleur == "z") {
loogspray3r.balvol.gotoAndStop("zwart");
} else {
loogspray3r.balvol.gotoAndStop("wit");
}
} else {
loogspray3r._visible = false;
}
if (oogspray4l) {
loogspray4l._visible = true;
loogspray4l.gotoAndStop(oogspray4lniv);
if (oogspray4lkleur == "z") {
loogspray4l.balvol.gotoAndStop("zwart");
} else {
loogspray4l.balvol.gotoAndStop("wit");
}
} else {
loogspray4l._visible = false;
}
if (oogspray4r) {
loogspray4r._visible = true;
loogspray4r.gotoAndStop(oogspray4rniv);
if (oogspray4rkleur == "z") {
loogspray4r.balvol.gotoAndStop("zwart");
} else {
loogspray4r.balvol.gotoAndStop("wit");
}
} else {
loogspray4r._visible = false;
}
gotoAndPlay ("bol23l");
Symbol 253 MovieClip [balprod] Frame 47
stop();
Symbol 253 MovieClip [balprod] Frame 48
if (bol) {
lbal._visible = true;
if (bolkleur == "o") {
lfiltero._visible = true;
} else {
lfiltero._visible = false;
}
if (bolkleur == "y") {
lfiltery._visible = true;
} else {
lfiltery._visible = false;
}
if (bolkleur == "b") {
lfilterb._visible = true;
} else {
lfilterb._visible = false;
}
} else {
lbal._visible = false;
lfiltero._visible = false;
lfiltery._visible = false;
lfilterb._visible = false;
}
if (phone && (helm)) {
lphone._visible = true;
lphone.gotoAndStop(3);
} else if (phone) {
lphone._visible = true;
lphone.gotoAndStop(2);
} else {
lphone._visible = false;
}
if (phoneklein && (helm)) {
lphoneklein._visible = true;
lphoneklein.gotoAndStop(3);
} else if (phoneklein) {
lphoneklein._visible = true;
lphoneklein.gotoAndStop(2);
} else {
lphoneklein._visible = false;
}
if (helm) {
lhelm._visible = true;
} else {
lhelm._visible = false;
}
if (bolh) {
lbolh._visible = true;
if (bolhkleur == "b") {
lbolh.gotoAndStop("blauw");
}
if (bolhkleur == "o") {
lbolh.gotoAndStop("oranje");
}
if (bolhkleur == "y") {
lbolh.gotoAndStop("geel");
}
if (bolhkleur == "w") {
lbolh.gotoAndStop("wit");
}
} else {
lbolh._visible = false;
}
if (b1 == "w") {
loorbalpart1.gotoAndStop("wit");
} else if (b1 == "o") {
loorbalpart1.gotoAndStop("oranje");
} else if (b1 == "b") {
loorbalpart1.gotoAndStop("blauw");
} else if (b1 == "y") {
loorbalpart1.gotoAndStop("geel");
}
if (b2 == "w") {
loorbalpart2.gotoAndStop("wit");
} else if (b2 == "o") {
loorbalpart2.gotoAndStop("oranje");
} else if (b2 == "b") {
loorbalpart2.gotoAndStop("blauw");
} else if (b2 == "y") {
loorbalpart2.gotoAndStop("geel");
}
if (b3 == "w") {
loorbalpart3.gotoAndStop("wit");
} else if (b3 == "o") {
loorbalpart3.gotoAndStop("oranje");
} else if (b3 == "b") {
loorbalpart3.gotoAndStop("blauw");
} else if (b3 == "y") {
loorbalpart3.gotoAndStop("geel");
}
if (b4 == "w") {
loorbalpart4.gotoAndStop("wit");
} else if (b4 == "o") {
loorbalpart4.gotoAndStop("oranje");
} else if (b4 == "b") {
loorbalpart4.gotoAndStop("blauw");
} else if (b4 == "y") {
loorbalpart4.gotoAndStop("geel");
}
gotoAndPlay ("bol24l");
Symbol 253 MovieClip [balprod] Frame 49
stop();
Symbol 253 MovieClip [balprod] Frame 50
if (grasbalo) {
lgrasbalo._visible = true;
if (graso == 1) {
lgrasbalo.gotoAndStop(1);
}
if (graso == 2) {
lgrasbalo.gotoAndStop(2);
}
if (graso == 3) {
lgrasbalo.gotoAndStop(3);
}
if (graso == 4) {
lgrasbalo.gotoAndStop(4);
}
if (graso == 5) {
lgrasbalo.gotoAndStop(5);
}
if (graso == 6) {
lgrasbalo.gotoAndStop(6);
}
} else {
lgrasbalo._visible = false;
}
if (grasbalh) {
lgrasbalh._visible = true;
if (grash == 1) {
lgrasbalh.gotoAndStop(1);
}
if (grash == 2) {
lgrasbalh.gotoAndStop(2);
}
if (grash == 3) {
lgrasbalh.gotoAndStop(3);
}
if (grash == 4) {
lgrasbalh.gotoAndStop(4);
}
if (grash == 5) {
lgrasbalh.gotoAndStop(5);
}
if (grash == 6) {
lgrasbalh.gotoAndStop(6);
}
} else {
lgrasbalh._visible = false;
}
if (bloembalo) {
lbloembalo._visible = true;
if (bloemo == 1) {
lbloembalo.gotoAndStop(1);
}
if (bloemo == 2) {
lbloembalo.gotoAndStop(2);
}
if (bloemo == 3) {
lbloembalo.gotoAndStop(3);
}
if (bloemo == 4) {
lbloembalo.gotoAndStop(4);
}
} else {
lbloembalo._visible = false;
}
if (bloembalh) {
lbloembalh._visible = true;
if (bloemh == 1) {
lbloembalh.gotoAndStop(1);
}
if (bloemh == 2) {
lbloembalh.gotoAndStop(2);
}
if (bloemh == 3) {
lbloembalh.gotoAndStop(3);
}
if (bloemh == 4) {
lbloembalh.gotoAndStop(4);
}
} else {
lbloembalh._visible = false;
}
if (helm) {
lhelm._visible = true;
} else {
lhelm._visible = false;
}
if (bolh) {
lbolh._visible = true;
lbolh.gotoAndStop("wit");
} else {
lbolh._visible = false;
}
if (bol) {
lbal._visible = true;
} else {
lbal._visible = false;
}
gotoAndPlay ("bol25l");
Symbol 253 MovieClip [balprod] Frame 51
stop();
Symbol 253 MovieClip [balprod] Frame 52
if (bol) {
lbal._visible = true;
} else {
lbal._visible = false;
}
if (helm) {
lhelm._visible = true;
} else {
lhelm._visible = false;
}
if (mondlap) {
lmondlap._visible = true;
} else {
lmondlap._visible = false;
}
if (mutsrechts && (mutsrechtsvoor)) {
lmutsrechtsvoor._visible = true;
lmutsrechts._visible = false;
} else if (mutsrechts) {
lmutsrechtsvoor._visible = false;
lmutsrechts._visible = true;
} else {
lmutsrechtsvoor._visible = false;
lmutsrechts._visible = false;
}
lbol1.gotoAndStop(1);
lbol2.gotoAndStop(2);
lbol3.gotoAndStop(3);
lbol4.gotoAndStop(4);
lbol5.gotoAndStop(5);
lbol6.gotoAndStop(6);
lbol7.gotoAndStop(7);
lbol8.gotoAndStop(8);
if (bolkleur1 == "g") {
lbol1.balvol.gotoAndStop("groen");
} else if (bolkleur1 == "y") {
lbol1.balvol.gotoAndStop("geel");
} else if (bolkleur1 == "w") {
lbol1.balvol.gotoAndStop("wit");
}
if (bolkleur2 == "g") {
lbol2.balvol.gotoAndStop("groen");
} else if (bolkleur2 == "y") {
lbol2.balvol.gotoAndStop("geel");
} else if (bolkleur2 == "w") {
lbol2.balvol.gotoAndStop("wit");
}
if (bolkleur3 == "g") {
lbol3.balvol.gotoAndStop("groen");
} else if (bolkleur3 == "y") {
lbol3.balvol.gotoAndStop("geel");
} else if (bolkleur3 == "w") {
lbol3.balvol.gotoAndStop("wit");
}
if (bolkleur4 == "g") {
lbol4.balvol.gotoAndStop("groen");
} else if (bolkleur4 == "y") {
lbol4.balvol.gotoAndStop("geel");
} else if (bolkleur4 == "w") {
lbol4.balvol.gotoAndStop("wit");
}
if (bolkleur5 == "g") {
lbol5.balvol.gotoAndStop("groen");
} else if (bolkleur5 == "y") {
lbol5.balvol.gotoAndStop("geel");
} else if (bolkleur5 == "w") {
lbol5.balvol.gotoAndStop("wit");
}
if (bolkleur6 == "g") {
lbol6.balvol.gotoAndStop("groen");
} else if (bolkleur6 == "y") {
lbol6.balvol.gotoAndStop("geel");
} else if (bolkleur6 == "w") {
lbol6.balvol.gotoAndStop("wit");
}
if (bolkleur7 == "g") {
lbol7.balvol.gotoAndStop("groen");
} else if (bolkleur7 == "y") {
lbol7.balvol.gotoAndStop("geel");
} else if (bolkleur7 == "w") {
lbol7.balvol.gotoAndStop("wit");
}
if (bolkleur8 == "g") {
lbol8.balvol.gotoAndStop("groen");
} else if (bolkleur8 == "y") {
lbol8.balvol.gotoAndStop("geel");
} else if (bolkleur8 == "w") {
lbol8.balvol.gotoAndStop("wit");
}
gotoAndPlay ("bol26l");
Symbol 253 MovieClip [balprod] Frame 53
stop();
Symbol 253 MovieClip [balprod] Frame 54
if (grasbal) {
lgrasbal._visible = true;
if (gras == 1) {
lgrasbal.gotoAndStop(1);
}
if (gras == 2) {
lgrasbal.gotoAndStop(2);
}
if (gras == 3) {
lgrasbal.gotoAndStop(3);
}
if (gras == 4) {
lgrasbal.gotoAndStop(4);
}
} else {
lgrasbal._visible = false;
}
if (bol) {
lbal._visible = true;
} else {
lbal._visible = false;
}
if (nbril) {
lnbril._visible = true;
} else {
lnbril._visible = false;
}
if (oogsprayl) {
loogsprayl._visible = true;
loogsprayl.gotoAndStop(oogspraylniv);
loogsprayl.balvol.gotoAndStop("zwart");
} else {
loogsprayl._visible = false;
}
if (oogsprayr) {
loogsprayr._visible = true;
loogsprayr.gotoAndStop(oogsprayrniv);
loogsprayr.balvol.gotoAndStop("zwart");
} else {
loogsprayr._visible = false;
}
if (ogenr) {
loogspray2r._visible = true;
loogspray2r.gotoAndStop(3);
if (ogenkleurr == "w") {
loogspray2r.balvol.gotoAndStop("wit");
}
if (ogenkleurr == "z") {
loogspray2r.balvol.gotoAndStop("zwart");
}
if (ogenkleurr == "g1") {
loogspray2r.balvol.gotoAndStop("gras1");
}
if (ogenkleurr == "g1z") {
loogspray2r.balvol.gotoAndStop("gras1z");
}
if (ogenkleurr == "g2") {
loogspray2r.balvol.gotoAndStop("gras2");
}
if (ogenkleurr == "g3") {
loogspray2r.balvol.gotoAndStop("gras3");
}
if (ogenkleurr == "g4") {
loogspray2r.balvol.gotoAndStop("gras4");
}
} else {
loogspray2r._visible = false;
}
if (ogenl) {
loogspray2l._visible = true;
loogspray2l.gotoAndStop(3);
if (ogenkleurl == "w") {
loogspray2l.balvol.gotoAndStop("wit");
}
if (ogenkleurl == "z") {
loogspray2l.balvol.gotoAndStop("zwart");
}
if (ogenkleurl == "g1") {
loogspray2l.balvol.gotoAndStop("gras1");
}
if (ogenkleurl == "g1z") {
loogspray2l.balvol.gotoAndStop("gras1z");
}
if (ogenkleurl == "g2") {
loogspray2l.balvol.gotoAndStop("gras2");
}
if (ogenkleurl == "g3") {
loogspray2l.balvol.gotoAndStop("gras3");
}
if (ogenkleurl == "g4") {
loogspray2l.balvol.gotoAndStop("gras4");
}
} else {
loogspray2l._visible = false;
}
lneus1._visible = false;
lneus2._visible = false;
if (neusniv == 1) {
lneus1._visible = true;
if (neuskleur == "g1") {
lneus1.gotoAndStop("gras1");
}
if (neuskleur == "g1r") {
lneus1.gotoAndStop("gras1r");
}
if (neuskleur == "g1z") {
lneus1.gotoAndStop("gras1z");
}
if (neuskleur == "g2") {
lneus1.gotoAndStop("gras2");
}
if (neuskleur == "g3") {
lneus1.gotoAndStop("gras3");
}
if (neuskleur == "g4") {
lneus1.gotoAndStop("gras4");
}
if (neuskleur == "g5") {
lneus1.gotoAndStop("gras5");
}
if (neuskleur == "g6") {
lneus1.gotoAndStop("gras6");
}
if (neuskleur == "z") {
lneus1.gotoAndStop("zwart");
}
if (neuskleur == "w") {
lneus1.gotoAndStop("wit");
}
if (neuskleur == "r") {
lneus1.gotoAndStop("rood");
}
} else if (neusniv == 2) {
lneus2._visible = true;
if (neuskleur == "g1") {
lneus2.gotoAndStop("gras1");
}
if (neuskleur == "g1r") {
lneus2.gotoAndStop("gras1r");
}
if (neuskleur == "g1z") {
lneus2.gotoAndStop("gras1z");
}
if (neuskleur == "g2") {
lneus2.gotoAndStop("gras2");
}
if (neuskleur == "g3") {
lneus2.gotoAndStop("gras3");
}
if (neuskleur == "g4") {
lneus2.gotoAndStop("gras4");
}
if (neuskleur == "g5") {
lneus2.gotoAndStop("gras5");
}
if (neuskleur == "g6") {
lneus2.gotoAndStop("gras6");
}
if (neuskleur == "z") {
lneus2.gotoAndStop("zwart");
}
if (neuskleur == "w") {
lneus2.gotoAndStop("wit");
}
if (neuskleur == "r") {
lneus2.gotoAndStop("rood");
}
}
lneusstempel._visible = false;
if (neusstempel) {
lneusstempel._visible = true;
if (stempelniv == 1) {
lneusstempel.gotoAndStop(1);
}
if (stempelniv == 2) {
lneusstempel.gotoAndStop(2);
}
if (stempelniv == 3) {
lneusstempel.gotoAndStop(3);
}
}
gotoAndPlay ("bol27l");
Symbol 253 MovieClip [balprod] Frame 55
stop();
Symbol 253 MovieClip [balprod] Frame 56
if (mutsrechts) {
lmutsrechts._visible = true;
} else {
lmutsrechts._visible = false;
}
if (mutslinks) {
lmutslinks._visible = true;
} else {
lmutslinks._visible = false;
}
if (helm) {
lhelm._visible = true;
} else {
lhelm._visible = false;
}
if (kwart1kleur == "w") {
lbolkwart1.gotoAndStop("wit");
}
if (kwart1kleur == "g1") {
lbolkwart1.gotoAndStop("gras1");
}
if (kwart1kleur == "g2") {
lbolkwart1.gotoAndStop("gras2");
}
if (kwart1kleur == "g3") {
lbolkwart1.gotoAndStop("gras3");
}
if (kwart1kleur == "g4") {
lbolkwart1.gotoAndStop("gras4");
}
if (kwart2kleur == "w") {
lbolkwart2.gotoAndStop("wit");
}
if (kwart2kleur == "g1") {
lbolkwart2.gotoAndStop("gras1");
}
if (kwart2kleur == "g2") {
lbolkwart2.gotoAndStop("gras2");
}
if (kwart2kleur == "g3") {
lbolkwart2.gotoAndStop("gras3");
}
if (kwart2kleur == "g4") {
lbolkwart2.gotoAndStop("gras4");
}
if (kwart3kleur == "w") {
lbolkwart3.gotoAndStop("wit");
}
if (kwart3kleur == "g1") {
lbolkwart3.gotoAndStop("gras1");
}
if (kwart3kleur == "g2") {
lbolkwart3.gotoAndStop("gras2");
}
if (kwart3kleur == "g3") {
lbolkwart3.gotoAndStop("gras3");
}
if (kwart3kleur == "g4") {
lbolkwart3.gotoAndStop("gras4");
}
if (kwart4kleur == "w") {
lbolkwart4.gotoAndStop("wit");
}
if (kwart4kleur == "g1") {
lbolkwart4.gotoAndStop("gras1");
}
if (kwart4kleur == "g2") {
lbolkwart4.gotoAndStop("gras2");
}
if (kwart4kleur == "g3") {
lbolkwart4.gotoAndStop("gras3");
}
if (kwart4kleur == "g4") {
lbolkwart4.gotoAndStop("gras4");
}
if (bloembal1) {
lbloembal1._visible = true;
if (bloem1 == 1) {
lbloembal1.gotoAndStop(1);
}
if (bloem1 == 2) {
lbloembal1.gotoAndStop(2);
}
if (bloem1 == 3) {
lbloembal1.gotoAndStop(3);
}
if (bloem1 == 4) {
lbloembal1.gotoAndStop(4);
}
} else {
lbloembal1._visible = false;
}
if (bloembal2) {
lbloembal2._visible = true;
if (bloem2 == 1) {
lbloembal2.gotoAndStop(1);
}
if (bloem2 == 2) {
lbloembal2.gotoAndStop(2);
}
if (bloem2 == 3) {
lbloembal2.gotoAndStop(3);
}
if (bloem2 == 4) {
lbloembal2.gotoAndStop(4);
}
} else {
lbloembal2._visible = false;
}
if (bloembal3) {
lbloembal3._visible = true;
if (bloem3 == 1) {
lbloembal3.gotoAndStop(1);
}
if (bloem3 == 2) {
lbloembal3.gotoAndStop(2);
}
if (bloem3 == 3) {
lbloembal3.gotoAndStop(3);
}
if (bloem3 == 4) {
lbloembal3.gotoAndStop(4);
}
} else {
lbloembal3._visible = false;
}
if (bloembal4) {
lbloembal4._visible = true;
if (bloem4 == 1) {
lbloembal4.gotoAndStop(1);
}
if (bloem4 == 2) {
lbloembal4.gotoAndStop(2);
}
if (bloem4 == 3) {
lbloembal4.gotoAndStop(3);
}
if (bloem4 == 4) {
lbloembal4.gotoAndStop(4);
}
} else {
lbloembal4._visible = false;
}
if (mutsrechts) {
lbolkwart2.gotoAndStop("wit");
lbolkwart3.gotoAndStop("wit");
lbloembal2._visible = false;
}
if (mutslinks) {
lbolkwart1.gotoAndStop("wit");
lbolkwart4.gotoAndStop("wit");
}
gotoAndPlay ("bol28l");
Symbol 253 MovieClip [balprod] Frame 57
stop();
Symbol 253 MovieClip [balprod] Frame 58
if (bol) {
lbal._visible = true;
if (bolkleur == "b") {
lfilterb._visible = true;
} else {
lfilterb._visible = false;
}
} else {
lbal._visible = false;
lfilterb._visible = false;
}
if ((riem && (!riemb)) && (!riemv)) {
lriem._visible = true;
lriemb._visible = false;
lriemv1._visible = false;
lriemv2._visible = false;
lriemv3._visible = false;
} else if (((!riem) && (riemb)) && (!riemv)) {
lriem._visible = false;
lriemb._visible = true;
lriemv1._visible = false;
lriemv2._visible = false;
lriemv3._visible = false;
} else if (((!riem) && (!riemb)) && (riemv)) {
lriem._visible = false;
lriemb._visible = false;
lriemv1._visible = true;
lriemv2._visible = false;
lriemv3._visible = false;
} else if ((riem && (riemb)) && (!riemv)) {
if (r2 == "r") {
lriem._visible = true;
} else {
lriem._visible = false;
}
lriemb._visible = true;
lriemv1._visible = false;
lriemv2._visible = false;
lriemv3._visible = false;
} else if ((riem && (!riemb)) && (riemv)) {
lriem._visible = true;
lriemb._visible = false;
if (r2 == "r") {
lriemv1._visible = false;
lriemv2._visible = false;
lriemv3._visible = true;
} else {
lriemv1._visible = true;
lriemv2._visible = false;
lriemv3._visible = false;
}
} else if (((!riem) && (riemb)) && (riemv)) {
lriem._visible = false;
lriemb._visible = true;
if (r2 == "b") {
lriemv1._visible = false;
lriemv2._visible = false;
lriemv3._visible = true;
} else {
lriemv1._visible = true;
lriemv2._visible = false;
lriemv3._visible = false;
}
} else if ((riem && (riemb)) && (riemv)) {
if ((((r1 == "r") && (r2 == "b")) || ((r2 == "r") && (r3 == "b"))) || ((r1 == "r") && (r3 == "b"))) {
lriem._visible = false;
} else {
lriem._visible = true;
}
lriemb._visible = true;
if (r3 == "v") {
lriemv1._visible = true;
lriemv2._visible = false;
lriemv3._visible = false;
} else if ((r2 == "v") && (r3 == "r")) {
lriemv1._visible = false;
lriemv2._visible = true;
lriemv3._visible = false;
} else if ((r2 == "v") && (r3 == "b")) {
lriemv1._visible = false;
lriemv2._visible = false;
lriemv3._visible = true;
} else {
lriemv1._visible = false;
lriemv2._visible = false;
lriemv3._visible = true;
}
} else {
lriem._visible = false;
lriemb._visible = false;
lriemv1._visible = false;
lriemv2._visible = false;
lriemv3._visible = false;
}
if (b1 == "w") {
lbanden1.gotoAndStop("wit");
} else if (b1 == "b") {
lbanden1.gotoAndStop("blauw");
}
if (b2 == "w") {
lbanden2.gotoAndStop("wit");
} else if (b2 == "b") {
lbanden2.gotoAndStop("blauw");
}
if (b3 == "w") {
lbanden3.gotoAndStop("wit");
} else if (b3 == "b") {
lbanden3.gotoAndStop("blauw");
}
if (b4 == "w") {
lbanden4.gotoAndStop("wit");
} else if (b4 == "b") {
lbanden4.gotoAndStop("blauw");
}
if (b5 == "w") {
lbanden5.gotoAndStop("wit");
} else if (b5 == "b") {
lbanden5.gotoAndStop("blauw");
}
if (b6 == "w") {
lbanden6.gotoAndStop("wit");
} else if (b6 == "b") {
lbanden6.gotoAndStop("blauw");
}
if (b7 == "w") {
lbanden7.gotoAndStop("wit");
} else if (b7 == "b") {
lbanden7.gotoAndStop("blauw");
}
gotoAndPlay ("bol29l");
Symbol 253 MovieClip [balprod] Frame 59
stop();
Symbol 253 MovieClip [balprod] Frame 60
if (bol) {
lbal._visible = true;
} else {
lbal._visible = false;
}
if (helm) {
lhelm._visible = true;
} else {
lhelm._visible = false;
}
if (mondlap) {
lmondlap._visible = true;
} else {
lmondlap._visible = false;
}
lbol1.gotoAndStop(1);
lbol2.gotoAndStop(2);
lbol3.gotoAndStop(3);
lbol4.gotoAndStop(4);
lbol5.gotoAndStop(5);
lbol6.gotoAndStop(6);
lbol7.gotoAndStop(7);
lbol8.gotoAndStop(8);
if (bolkleur1 == "r") {
lbol1.balvol.gotoAndStop("rood");
} else if (bolkleur1 == "rm") {
lbol1.balvol.gotoAndStop("roodm");
} else if (bolkleur1 == "w") {
lbol1.balvol.gotoAndStop("wit");
}
if (bolkleur2 == "r") {
lbol2.balvol.gotoAndStop("rood");
} else if (bolkleur2 == "rm") {
lbol2.balvol.gotoAndStop("roodm");
} else if (bolkleur2 == "w") {
lbol2.balvol.gotoAndStop("wit");
}
if (bolkleur3 == "r") {
lbol3.balvol.gotoAndStop("rood");
} else if (bolkleur3 == "rm") {
lbol3.balvol.gotoAndStop("roodm");
} else if (bolkleur3 == "w") {
lbol3.balvol.gotoAndStop("wit");
}
if (bolkleur4 == "r") {
lbol4.balvol.gotoAndStop("rood");
} else if (bolkleur4 == "rm") {
lbol4.balvol.gotoAndStop("roodm");
} else if (bolkleur4 == "w") {
lbol4.balvol.gotoAndStop("wit");
}
if (bolkleur5 == "r") {
lbol5.balvol.gotoAndStop("rood");
} else if (bolkleur5 == "rm") {
lbol5.balvol.gotoAndStop("roodm");
} else if (bolkleur5 == "w") {
lbol5.balvol.gotoAndStop("wit");
}
if (bolkleur6 == "r") {
lbol6.balvol.gotoAndStop("rood");
} else if (bolkleur6 == "rm") {
lbol6.balvol.gotoAndStop("roodm");
} else if (bolkleur6 == "w") {
lbol6.balvol.gotoAndStop("wit");
}
if (bolkleur7 == "r") {
lbol7.balvol.gotoAndStop("rood");
} else if (bolkleur7 == "rm") {
lbol7.balvol.gotoAndStop("roodm");
} else if (bolkleur7 == "w") {
lbol7.balvol.gotoAndStop("wit");
}
if (bolkleur8 == "r") {
lbol8.balvol.gotoAndStop("rood");
} else if (bolkleur8 == "rm") {
lbol8.balvol.gotoAndStop("roodm");
} else if (bolkleur8 == "w") {
lbol8.balvol.gotoAndStop("wit");
}
gotoAndPlay ("bol30l");
Symbol 253 MovieClip [balprod] Frame 61
stop();
Symbol 510 MovieClip [__Packages.mochi.as2.MochiAd] Frame 0
class mochi.as2.MochiAd
{
function MochiAd () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function showPreGameAd(options) {
var _local26 = {clip:_root, ad_timeout:3000, fadeout_time:250, regpt:"o", method:"showPreloaderAd", color:16747008, background:16777161, outline:13994812, no_progress_bar:false, ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}, ad_progress:function (percent) {
}};
options = _parseOptions(options, _local26);
if ("c862232051e0a94e1c3609b3916ddb17".substr(0) == "dfeada81ac97cde83665f81c12da7def") {
options.ad_started();
options.ad_finished();
return(undefined);
}
var clip = options.clip;
var _local23 = 11000;
var _local19 = options.ad_timeout;
if (options.skip) {
_local19 = 0;
}
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local14 = _getRes(options);
var _local4 = _local14[0];
var _local13 = _local14[1];
mc._x = _local4 * 0.5;
mc._y = _local13 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk._x = _local4 * -0.5;
chk._y = _local13 * -0.5;
var _local6 = chk.createEmptyMovieClip("_mochiad_bar", 4);
if (options.no_progress_bar) {
_local6._visible = false;
delete options.no_progress_bar;
} else {
_local6._x = 10;
_local6._y = _local13 - 20;
}
var _local22 = options.color;
delete options.color;
var _local20 = options.background;
delete options.background;
var _local24 = options.outline;
delete options.outline;
var _local5 = _local6.createEmptyMovieClip("_outline", 1);
_local5.beginFill(_local20);
_local5.moveTo(0, 0);
_local5.lineTo(_local4 - 20, 0);
_local5.lineTo(_local4 - 20, 10);
_local5.lineTo(0, 10);
_local5.lineTo(0, 0);
_local5.endFill();
var _local3 = _local6.createEmptyMovieClip("_inside", 2);
_local3.beginFill(_local22);
_local3.moveTo(0, 0);
_local3.lineTo(_local4 - 20, 0);
_local3.lineTo(_local4 - 20, 10);
_local3.lineTo(0, 10);
_local3.lineTo(0, 0);
_local3.endFill();
_local3._xscale = 0;
var _local7 = _local6.createEmptyMovieClip("_outline", 3);
_local7.lineStyle(0, _local24, 100);
_local7.moveTo(0, 0);
_local7.lineTo(_local4 - 20, 0);
_local7.lineTo(_local4 - 20, 10);
_local7.lineTo(0, 10);
_local7.lineTo(0, 0);
chk.ad_msec = _local23;
chk.ad_timeout = _local19;
chk.started = getTimer();
chk.showing = false;
chk.last_pcnt = 0;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
var sendHostProgress = false;
mc.lc.sendHostLoadProgress = function (lc_name) {
sendHostProgress = true;
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local6 = this._parent._parent;
var _local11 = this._parent._mochiad_ctr;
var _local5 = getTimer() - this.started;
var _local3 = false;
var _local4 = _local6.getBytesTotal();
var _local8 = _local6.getBytesLoaded();
var _local2 = (100 * _local8) / _local4;
var _local10 = (100 * _local5) / chk.ad_msec;
var _local9 = this._mochiad_bar._inside;
var _local13 = Math.min(100, Math.min(_local2 || 0, _local10));
_local13 = Math.max(this.last_pcnt, _local13);
this.last_pcnt = _local13;
_local9._xscale = _local13;
options.ad_progress(_local13);
if (sendHostProgress) {
mochi.as2.MochiAd.containerNotify(clip, {id:"hostLoadPcnt", pcnt:_local2}, clip._mochiad._containerLCName);
if (_local2 == 100) {
sendHostProgress = false;
}
}
if (!chk.showing) {
var _local7 = _local11.getBytesTotal();
if ((_local7 > 0) || (typeof(_local7) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if ((_local5 > chk.ad_timeout) && (_local2 == 100)) {
options.ad_failed();
_local3 = true;
}
}
if (_local5 > chk.ad_msec) {
_local3 = true;
}
if (((_local4 > 0) && (_local8 >= _local4)) && (_local3)) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = chk.fadeFunction;
}
}
};
}
static function showClickAwayAd(options) {
var _local10 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showClickAwayAd", res:"300x250", no_bg:true, ad_started:function () {
}, ad_finished:function () {
}, ad_loaded:function (width, height) {
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local10);
var clip = options.clip;
var _local9 = options.ad_timeout;
delete options.ad_timeout;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var _local3 = clip._mochiad;
_local3.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local11 = _local5[0];
var _local8 = _local5[1];
_local3._x = _local11 * 0.5;
_local3._y = _local8 * 0.5;
var chk = _local3.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_timeout = _local9;
chk.started = getTimer();
chk.showing = false;
_local3.lc.adLoaded = options.ad_loaded;
_local3.lc.adSkipped = options.ad_skipped;
_local3.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
_local3.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
var _local21 = false;
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
_local2 = true;
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local2) {
delete this.onEnterFrame;
}
};
}
static function showInterLevelAd(options) {
var _local13 = {clip:_root, ad_timeout:2000, fadeout_time:250, regpt:"o", method:"showTimedAd", ad_started:function () {
this.clip.stop();
}, ad_finished:function () {
this.clip.play();
}, ad_failed:function () {
trace("[MochiAd] Couldn't load an ad, make sure that your game's local security sandbox is configured for Access Network Only and that you are not using ad blocking software");
}, ad_loaded:function (width, height) {
}, ad_skipped:function () {
}};
options = _parseOptions(options, _local13);
var clip = options.clip;
var _local10 = 11000;
var _local12 = options.ad_timeout;
delete options.ad_timeout;
var fadeout_time = options.fadeout_time;
delete options.fadeout_time;
if (!load(options)) {
options.ad_failed();
options.ad_finished();
return(undefined);
}
options.ad_started();
var mc = clip._mochiad;
mc.onUnload = function () {
options.ad_finished();
};
var _local5 = _getRes(options);
var _local14 = _local5[0];
var _local11 = _local5[1];
mc._x = _local14 * 0.5;
mc._y = _local11 * 0.5;
var chk = mc.createEmptyMovieClip("_mochiad_wait", 3);
chk.ad_msec = _local10;
chk.ad_timeout = _local12;
chk.started = getTimer();
chk.showing = false;
chk.fadeout_time = fadeout_time;
chk.fadeFunction = function () {
var _local2 = 100 * (1 - ((getTimer() - this.fadeout_start) / this.fadeout_time));
if (_local2 > 0) {
this._parent._alpha = _local2;
} else {
var _local3 = this._parent._parent;
mochi.as2.MochiAd.unload(_local3);
delete this.onEnterFrame;
}
};
mc.lc.adLoaded = options.ad_loaded;
mc.lc.adSkipped = options.ad_skipped;
mc.lc.adjustProgress = function (msec) {
var _local2 = this.mc._mochiad_wait;
_local2.server_control = true;
_local2.started = getTimer();
_local2.ad_msec = msec - 250;
};
mc.lc.rpc = function (callbackID, arg) {
mochi.as2.MochiAd.rpc(clip, callbackID, arg);
};
mc.rpcTestFn = function (s) {
trace("[MOCHIAD rpcTestFn] " + s);
return(s);
};
chk.onEnterFrame = function () {
var _local5 = this._parent._mochiad_ctr;
var _local4 = getTimer() - this.started;
var _local2 = false;
if (!chk.showing) {
var _local3 = _local5.getBytesTotal();
if ((_local3 > 0) || (typeof(_local3) == "undefined")) {
chk.showing = true;
chk.started = getTimer();
} else if (_local4 > chk.ad_timeout) {
options.ad_failed();
_local2 = true;
}
}
if (_local4 > chk.ad_msec) {
_local2 = true;
}
if (_local2) {
if (this.server_control) {
delete this.onEnterFrame;
} else {
this.fadeout_start = getTimer();
this.onEnterFrame = this.fadeFunction;
}
}
};
}
static function showPreloaderAd(options) {
trace("[MochiAd] DEPRECATED: showPreloaderAd was renamed to showPreGameAd in 2.0");
showPreGameAd(options);
}
static function showTimedAd(options) {
trace("[MochiAd] DEPRECATED: showTimedAd was renamed to showInterLevelAd in 2.0");
showInterLevelAd(options);
}
static function _allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function load(options) {
var _local12 = {clip:_root, server:"http://x.mochiads.com/srv/1/", method:"load", depth:10333, id:"_UNKNOWN_"};
options = _parseOptions(options, _local12);
options.swfv = options.clip.getSWFVersion() || 6;
options.mav = getVersion();
var _local6 = options.clip;
if (!_isNetworkAvailable()) {
return(null);
}
if (_local6._mochiad_loaded) {
return(null);
}
var _local11 = options.depth;
delete options.depth;
var mc = _local6.createEmptyMovieClip("_mochiad", _local11);
var _local10 = _getRes(options);
options.res = (_local10[0] + "x") + _local10[1];
options.server = options.server + options.id;
delete options.id;
_local6._mochiad_loaded = true;
if (_local6._url.indexOf("http") != 0) {
trace("[MochiAd] NOTE: Security Sandbox Violation errors below are normal");
}
var _local4 = mc.createEmptyMovieClip("_mochiad_ctr", 1);
for (var _local7 in options) {
_local4[_local7] = options[_local7];
}
var _local9 = _local4.server;
delete _local4.server;
var _local13 = _allowDomains(_local9);
mc.onEnterFrame = function () {
if (this._mochiad_ctr._url != this._url) {
this.onEnterFrame = function () {
if (!this._mochiad_ctr) {
delete this.onEnterFrame;
mochi.as2.MochiAd.unload(this._parent);
}
};
}
};
var _local5 = new Object();
var _local8 = ["", Math.floor(new Date().getTime()), random(999999)].join("_");
_local5.mc = mc;
_local5.name = _local8;
_local5.hostname = _local13;
_local5.allowDomain = function (d) {
return(true);
};
_local5.allowInsecureDomain = _local5.allowDomain;
_local5.connect(_local8);
mc.lc = _local5;
mc.lc.regContLC = function (lc_name) {
mc._containerLCName = lc_name;
};
_local4.lc = _local8;
_local4.st = getTimer();
if (!options.skip) {
_local4.loadMovie(_local9 + ".swf", "POST");
}
return(mc);
}
static function unload(clip) {
if (typeof(clip) == "undefined") {
clip = _root;
}
if (clip.clip && (clip.clip._mochiad)) {
clip = clip.clip;
}
if (!clip._mochiad) {
return(false);
}
containerNotify(clip, {id:"unload"}, clip._mochiad._containerLCName);
clip._mochiad.removeMovieClip();
delete clip._mochiad_loaded;
delete clip._mochiad;
return(true);
}
static function _isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function _getRes(options) {
var _local3 = options.clip.getBounds();
var _local2 = 0;
var _local1 = 0;
if (typeof(options.res) != "undefined") {
var _local4 = options.res.split("x");
_local2 = parseFloat(_local4[0]);
_local1 = parseFloat(_local4[1]);
} else {
_local2 = _local3.xMax - _local3.xMin;
_local1 = _local3.yMax - _local3.yMin;
}
if ((_local2 == 0) || (_local1 == 0)) {
_local2 = Stage.width;
_local1 = Stage.height;
}
return([_local2, _local1]);
}
static function _parseOptions(options, defaults) {
var _local4 = {};
for (var _local8 in defaults) {
_local4[_local8] = defaults[_local8];
}
if (options) {
for (var _local8 in options) {
_local4[_local8] = options[_local8];
}
}
if (_root.mochiad_options) {
var _local5 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local5.length) {
var _local3 = _local5[_local2].split("=");
_local4[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
if (_local4.id == "test") {
trace("[MochiAd] WARNING: Using the MochiAds test identifier, make sure to use the code from your dashboard, not this example!");
}
return(_local4);
}
static function rpc(clip, callbackID, arg) {
switch (arg.id) {
case "setValue" :
setValue(clip, arg.objectName, arg.value);
break;
case "getValue" :
var _local4 = getValue(clip, arg.objectName);
containerRpcResult(clip, callbackID, _local4, clip._mochiad._containerLCName);
break;
case "runMethod" :
var _local3 = runMethod(clip, arg.method, arg.args);
containerRpcResult(clip, callbackID, _local3, clip._mochiad._containerLCName);
break;
default :
trace("[mochiads rpc] unknown rpc id: " + arg.id);
}
}
static function setValue(base, objectName, value) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
base[_local2[_local1]] = value;
}
static function getValue(base, objectName) {
var _local2 = objectName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
return(base[_local2[_local1]]);
}
static function runMethod(base, methodName, argsArray) {
var _local2 = methodName.split(".");
var _local1;
_local1 = 0;
while (_local1 < (_local2.length - 1)) {
if ((base[_local2[_local1]] == undefined) || (base[_local2[_local1]] == null)) {
return(undefined);
}
base = base[_local2[_local1]];
_local1++;
}
if (typeof(base[_local2[_local1]]) == "function") {
return(base[_local2[_local1]].apply(base, argsArray));
}
return(undefined);
}
static function containerNotify(clip, args, lcName) {
var _local1 = clip._mochiad._mochiad_ctr.ad.app;
if (_local1.notify) {
_local1.notify(args);
} else {
new LocalConnection().send(lcName, "notify", args);
}
}
static function containerRpcResult(clip, callbackID, val, lcName) {
var _local1 = clip._mochiad._mochiad_ctr.ad.app;
if (_local1.rpcResult) {
_local1.rpcResult(callbackID, val);
} else {
new LocalConnection().send(lcName, "rpcResult", callbackID, val);
}
}
}
Symbol 511 MovieClip [__Packages.mochi.as2.MochiSync] Frame 0
class mochi.as2.MochiSync
{
var _syncContainer;
function MochiSync () {
_syncContainer = {};
}
function getProp(name) {
return(_syncContainer[name]);
}
function setProp(name, value) {
if (_syncContainer[name] == value) {
return(undefined);
}
_syncContainer[name] = value;
mochi.as2.MochiServices.send("sync_propUpdate", {name:name, value:value});
}
function triggerEvent(eventType, args) {
switch (eventType) {
case SYNC_REQUEST :
mochi.as2.MochiServices.send("sync_syncronize", _syncContainer);
break;
case SYNC_PROPERTY :
_syncContainer[args.name] = args.value;
}
}
static var SYNC_REQUEST = "SyncRequest";
static var SYNC_PROPERTY = "UpdateProperty";
}
Symbol 512 MovieClip [__Packages.mochi.as2.MochiServices] Frame 0
class mochi.as2.MochiServices
{
static var _id, _container, _clip, _sendChannelName, __get__comChannelName, onError, _listenChannel, _sendChannel;
function MochiServices () {
}
static function get id() {
return(_id);
}
static function get clip() {
return(_container);
}
static function get childClip() {
return(_clip);
}
static function getVersion() {
return("3.8 as2");
}
static function allowDomains(server) {
var _local1 = server.split("/")[2].split(":")[0];
if (System.security) {
if (System.security.allowDomain) {
System.security.allowDomain("*");
System.security.allowDomain(_local1);
}
if (System.security.allowInsecureDomain) {
System.security.allowInsecureDomain("*");
System.security.allowInsecureDomain(_local1);
}
}
return(_local1);
}
static function get isNetworkAvailable() {
if (System.security) {
var _local1 = System.security;
if (_local1.sandboxType == "localWithFile") {
return(false);
}
}
return(true);
}
static function set comChannelName(val) {
if (val != undefined) {
if (val.length > 3) {
_sendChannelName = val + "_fromgame";
initComChannels();
}
}
//return(__get__comChannelName());
}
static function get connected() {
return(_connected);
}
static function connect(id, clip, onError) {
warnID(id, false);
if ((!_connected) && (_clip == undefined)) {
trace("MochiServices Connecting...");
_connecting = true;
init(id, clip);
}
if (onError != undefined) {
mochi.as2.MochiServices.onError = onError;
} else if (mochi.as2.MochiServices.onError == undefined) {
mochi.as2.MochiServices.onError = function (errorCode) {
trace(errorCode);
};
}
}
static function disconnect() {
if (_connected || (_connecting)) {
_connecting = (_connected = false);
flush(true);
if (_clip != undefined) {
_clip.removeMovieClip();
delete _clip;
}
_listenChannel.close();
}
}
static function init(id, clip) {
_id = id;
if (clip != undefined) {
_container = clip;
} else {
_container = _root;
}
loadCommunicator(id, _container);
}
static function loadCommunicator(id, clip) {
var _local6 = "_mochiservices_com_" + id;
var _local5 = new MovieClipLoader();
var _local3 = {};
if (_clip != null) {
return(_clip);
}
if (!isNetworkAvailable) {
return(null);
}
if (urlOptions().servURL) {
_servURL = urlOptions().servURL;
}
var _local4 = _servURL + _services;
if (urlOptions().servicesURL) {
_local4 = urlOptions().servicesURL;
}
allowDomains(_local4);
_clip = clip.createEmptyMovieClip(_local6, 10336, false);
_listenChannelName = _listenChannelName + ((Math.floor(new Date().getTime()) + "_") + Math.floor(Math.random() * 99999));
listen();
if (_local3.waitInterval != null) {
clearInterval(_local3.waitInterval);
}
_local3.onLoadError = loadError;
_local3.onLoadStart = function (target_mc) {
this.isLoading = true;
};
_local3.onLoadComplete = function (target_mc) {
target_mc.MochiServices = mochi.as2.MochiServices;
};
_local3.startTime = getTimer();
_local3.wait = function () {
if ((getTimer() - this.startTime) > 10000) {
if (!this.isLoading) {
mochi.as2.MochiServices.disconnect();
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
}
clearInterval(this.waitInterval);
}
};
_local3.waitInterval = setInterval(_local3, "wait", 1000);
_local5.addListener(_local3);
_local5.loadClip((((((_local4 + "?listenLC=") + _listenChannelName) + "&mochiad_options=") + escape(_root.mochiad_options)) + "&api_version=") + getVersion(), _clip);
_sendChannel = new LocalConnection();
_sendChannel._queue = [];
return(_clip);
}
static function loadError(target_mc, errorCode, httpStatus) {
trace("MochiServices could not load.");
disconnect();
onError.apply(null, [errorCode]);
}
static function onStatus(infoObject) {
if (!(infoObject.level === "error")) {
} else {
_connected = false;
_listenChannel.connect(_listenChannelName);
}
}
static function listen() {
_listenChannel = new LocalConnection();
_listenChannel.handshake = function (args) {
mochi.as2.MochiServices.__set__comChannelName(args.newChannel);
};
_listenChannel.allowDomain = function (d) {
return(true);
};
_listenChannel.allowInsecureDomain = _listenChannel.allowDomain;
_listenChannel._nextcallbackID = 0;
_listenChannel._callbacks = {};
_listenChannel.connect(_listenChannelName);
trace("Waiting for MochiAds services to connect...");
}
static function initComChannels() {
if (!_connected) {
_sendChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"handshakeDone"});
_sendChannel.send(_sendChannelName, "onReceive", {methodName:"registerGame", id:_id, version:getVersion()});
_listenChannel.onStatus = function (infoObject) {
mochi.as2.MochiServices.onStatus(infoObject);
};
_listenChannel.onReceive = function (pkg) {
var _local5 = pkg.callbackID;
var _local4 = this._callbacks[_local5];
if (!_local4) {
return(undefined);
}
var _local2 = _local4.callbackMethod;
var _local3 = _local4.callbackObject;
if (_local3 && (typeof(_local2) == "string")) {
_local2 = _local3[_local2];
}
if (_local2 != undefined) {
_local2.apply(_local3, pkg.args);
}
delete this._callbacks[_local5];
};
_listenChannel.onEvent = function (pkg) {
switch (pkg.target) {
case "events" :
mochi.as2.MochiEvents.triggerEvent(pkg.event, pkg.args);
break;
case "coins" :
mochi.as2.MochiSocial.triggerEvent(pkg.event, pkg.args);
break;
case "sync" :
mochi.as2.MochiServices.servicesSync.triggerEvent(pkg.event, pkg.args);
}
};
_listenChannel.onError = function () {
mochi.as2.MochiServices.onError.apply(null, ["IOError"]);
};
trace("[SERVICES_API] connected!");
_connecting = false;
_connected = true;
while (_sendChannel._queue.length > 0) {
_sendChannel.send(_sendChannelName, "onReceive", _sendChannel._queue.shift());
}
}
}
static function updateCopy(args) {
send("coins_updateCopy", args, null, null);
}
static function flush(error) {
var _local1;
var _local2;
while (_sendChannel._queue.length > 0) {
_local1 = _sendChannel._queue.shift();
if (_local1.callbackID != null) {
_local2 = _listenChannel._callbacks[_local1.callbackID];
}
delete _listenChannel._callbacks[_local1.callbackID];
if (error) {
handleError(_local1.args, _local2.callbackObject, _local2.callbackMethod);
}
}
}
static function handleError(args, callbackObject, callbackMethod) {
if (args != null) {
if (args.onError != null) {
args.onError.apply(null, ["NotConnected"]);
}
if ((args.options != null) && (args.options.onError != null)) {
args.options.onError.apply(null, ["NotConnected"]);
}
}
if (callbackMethod != null) {
args = {};
args.error = true;
args.errorCode = "NotConnected";
if ((callbackObject != null) && (typeof(callbackMethod) == "string")) {
callbackObject[callbackMethod](args);
} else if (callbackMethod != null) {
callbackMethod.apply(args);
}
}
}
static function send(methodName, args, callbackObject, callbackMethod) {
if (_connected) {
_sendChannel.send(_sendChannelName, "onReceive", {methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
} else {
if ((_clip == undefined) || (!_connecting)) {
trace("Error: MochiServices not connected. Please call MochiServices.connect(). Function: " + methodName);
handleError(args, callbackObject, callbackMethod);
flush(true);
return(undefined);
}
_sendChannel._queue.push({methodName:methodName, args:args, callbackID:_listenChannel._nextcallbackID});
}
_listenChannel._callbacks[_listenChannel._nextcallbackID] = {callbackObject:callbackObject, callbackMethod:callbackMethod};
_listenChannel._nextcallbackID++;
}
static function urlOptions() {
var _local5 = {};
var _local6;
if (_root._url.indexOf("mochiad_options") != -1) {
var _local2 = (_root._url.indexOf("mochiad_options") + "mochiad_options".length) + 1;
_local6 = _root._url.substr(_local2, _root._url.length);
} else if (_root.mochiad_options) {
_local6 = _root.mochiad_options;
}
if (_local6) {
var _local4 = _root.mochiad_options.split("&");
var _local2 = 0;
while (_local2 < _local4.length) {
var _local3 = _local4[_local2].split("=");
_local5[unescape(_local3[0])] = unescape(_local3[1]);
_local2++;
}
}
return(_local5);
}
static function warnID(bid, leaderboard) {
bid = bid.toLowerCase();
if (bid.length != 16) {
trace(("WARNING: " + (leaderboard ? "board" : "game")) + " ID is not the appropriate length");
return(undefined);
}
if (bid == "1e113c7239048b3f") {
if (leaderboard) {
trace("WARNING: Using testing board ID");
} else {
trace("WARNING: Using testing board ID as game ID");
}
return(undefined);
}
if (bid == "84993a1de4031cd8") {
if (leaderboard) {
trace("WARNING: Using testing game ID as board ID");
} else {
trace("WARNING: Using testing game ID");
}
return(undefined);
}
var _local1 = 0;
while (_local1 < bid.length) {
switch (bid.charAt(_local1)) {
case "0" :
case "1" :
case "2" :
case "3" :
case "4" :
case "5" :
case "6" :
case "7" :
case "8" :
case "9" :
case "a" :
case "b" :
case "c" :
case "d" :
case "e" :
case "f" :
break;
default :
trace("WARNING: Board ID contains illegal characters: " + bid);
return(undefined);
}
_local1++;
}
}
static function addLinkEvent(url, burl, btn, onClick) {
var timeout = 1500;
var t0 = getTimer();
var _local2 = new Object();
_local2.mav = getVersion();
_local2.swfv = btn.getSWFVersion() || 6;
_local2.swfurl = btn._url;
_local2.fv = System.capabilities.version;
_local2.os = System.capabilities.os;
_local2.lang = System.capabilities.language;
_local2.scres = (System.capabilities.screenResolutionX + "x") + System.capabilities.screenResolutionY;
var s = "?";
var _local3 = 0;
for (var _local6 in _local2) {
if (_local3 != 0) {
s = s + "&";
}
_local3++;
s = ((s + _local6) + "=") + escape(_local2[_local6]);
}
if (!(netupAttempted || (_connected))) {
var ping = btn.createEmptyMovieClip("ping", 777);
var _local7 = btn.createEmptyMovieClip("nettest", 778);
netupAttempted = true;
ping.loadMovie("http://x.mochiads.com/linkping.swf?t=" + getTimer());
_local7.onEnterFrame = function () {
if ((ping._totalframes > 0) && (ping._totalframes == ping._framesloaded)) {
delete this.onEnterFrame;
} else if ((getTimer() - t0) > timeout) {
delete this.onEnterFrame;
mochi.as2.MochiServices.netup = false;
}
};
}
var _local4 = btn.createEmptyMovieClip("clk", 1001);
_local4._alpha = 0;
_local4.beginFill(1044735);
_local4.moveTo(0, 0);
_local4.lineTo(0, btn._height);
_local4.lineTo(btn._width, btn._height);
_local4.lineTo(btn._width, 0);
_local4.lineTo(0, 0);
_local4.endFill();
_local4.onRelease = function () {
if (mochi.as2.MochiServices.netup) {
getURL (url + s, "_blank");
} else {
getURL (burl, "_blank");
}
if (onClick != undefined) {
onClick();
}
};
}
static function setContainer(clip) {
}
static function stayOnTop(clip) {
}
static var _servURL = "http://www.mochiads.com/static/lib/services/";
static var _services = "services.swf";
static var _mochiLC = "MochiLC.swf";
static var _listenChannelName = "__ms_";
static var _connecting = false;
static var _connected = false;
static var netup = true;
static var netupAttempted = false;
static var servicesSync = new mochi.as2.MochiSync();
}
Symbol 513 MovieClip [__Packages.mochi.as2.MochiEventDispatcher] Frame 0
class mochi.as2.MochiEventDispatcher
{
var eventTable;
function MochiEventDispatcher () {
eventTable = {};
}
function buildDelegate(thisObject, thatObject) {
var _local2 = {thisObject:thisObject, thatObject:thatObject};
if (thatObject != undefined) {
var funct = ((typeof(thatObject) == "string") ? (thisObject[thatObject]) : (thatObject));
_local2.delegate = function (args) {
funct.call(thisObject, args);
};
} else {
_local2.delegate = thisObject;
}
return(_local2);
}
function compareDelegate(d_A, d_B) {
if ((d_A.thisObject != d_B.thisObject) || (d_A.thatObject != d_B.thatObject)) {
return(false);
}
return(true);
}
function addEventListener(event, thisObject, thatObject) {
removeEventListener(event, thisObject, thatObject);
eventTable[event].push(buildDelegate(thisObject, thatObject));
}
function removeEventListener(event, thisObject, thatObject) {
var _local3 = buildDelegate(thisObject, thatObject);
if (eventTable[event] == undefined) {
eventTable[event] = [];
return(undefined);
}
for (var _local4 in eventTable[event]) {
if (!compareDelegate(eventTable[event][_local4], _local3)) {
continue;
}
eventTable[event].splice(Number(_local4), 1);
}
}
function triggerEvent(event, args) {
if (eventTable[event] == undefined) {
return(undefined);
}
for (var _local4 in eventTable[event]) {
eventTable[event][_local4].delegate(args);
}
}
}
Symbol 514 MovieClip [__Packages.mochi.as2.MochiEvents] Frame 0
class mochi.as2.MochiEvents
{
function MochiEvents () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function startSession(achievementID) {
mochi.as2.MochiServices.send("events_beginSession", {achievementID:achievementID}, null, null);
}
static function setNotifications(clip, style) {
var _local2 = {};
for (var _local3 in style) {
_local2[_local3] = style[_local3];
}
_local2.clip = clip;
mochi.as2.MochiServices.send("events_setNotifications", _local2, null, null);
}
static function addEventListener(eventType, thisObject, thatObject) {
_dispatcher.addEventListener(eventType, thisObject, thatObject);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, thisObject, thatObject) {
_dispatcher.removeEventListener(eventType, thisObject, thatObject);
}
static function startPlay(tag) {
if (tag == undefined) {
tag = "gameplay";
}
mochi.as2.MochiServices.send("events_setRoundID", {tag:String(tag)}, null, null);
}
static function endPlay() {
mochi.as2.MochiServices.send("events_clearRoundID", null, null, null);
}
static function trackEvent(tag, value) {
mochi.as2.MochiServices.send("events_trackEvent", {tag:tag, value:value}, null, null);
}
static var ACHIEVEMENT_RECEIVED = "AchievementReceived";
static var ALIGN_TOP_LEFT = "ALIGN_TL";
static var ALIGN_TOP = "ALIGN_T";
static var ALIGN_TOP_RIGHT = "ALIGN_TR";
static var ALIGN_LEFT = "ALIGN_L";
static var ALIGN_CENTER = "ALIGN_C";
static var ALIGN_RIGHT = "ALIGN_R";
static var ALIGN_BOTTOM_LEFT = "ALIGN_BL";
static var ALIGN_BOTTOM = "ALIGN_B";
static var ALIGN_BOTTOM_RIGHT = "ALIGN_BR";
static var FORMAT_SHORT = "ShortForm";
static var FORMAT_LONG = "LongForm";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 515 MovieClip [__Packages.mochi.as2.MochiSocial] Frame 0
class mochi.as2.MochiSocial
{
function MochiSocial () {
}
static function getVersion() {
return(mochi.as2.MochiServices.getVersion());
}
static function showLoginWidget(options) {
mochi.as2.MochiServices.setContainer();
mochi.as2.MochiServices.stayOnTop();
mochi.as2.MochiServices.send("coins_showLoginWidget", {options:options});
}
static function hideLoginWidget() {
mochi.as2.MochiServices.send("coins_hideLoginWidget");
}
static function requestLogin() {
mochi.as2.MochiServices.send("coins_requestLogin");
}
static function getUserInfo() {
mochi.as2.MochiServices.send("coins_getUserInfo");
}
static function saveUserProperties(properties) {
mochi.as2.MochiServices.send("coins_saveUserProperties", properties);
}
static function addEventListener(eventType, delegate) {
_dispatcher.addEventListener(eventType, delegate);
}
static function triggerEvent(eventType, args) {
_dispatcher.triggerEvent(eventType, args);
}
static function removeEventListener(eventType, delegate) {
_dispatcher.removeEventListener(eventType, delegate);
}
static var LOGGED_IN = "LoggedIn";
static var LOGGED_OUT = "LoggedOut";
static var LOGIN_SHOW = "LoginShow";
static var LOGIN_HIDE = "LoginHide";
static var LOGIN_SHOWN = "LoginShown";
static var PROFILE_SHOW = "ProfileShow";
static var PROFILE_HIDE = "ProfileHide";
static var PROPERTIES_SAVED = "PropertySaved";
static var WIDGET_LOADED = "WidgetLoaded";
static var USER_INFO = "UserInfo";
static var ERROR = "Error";
static var IO_ERROR = "IOError";
static var NO_USER = "NoUser";
static var PROPERTIES_SIZE = "PropertiesSize";
static var _dispatcher = new mochi.as2.MochiEventDispatcher();
}
Symbol 262 MovieClip Frame 6
stop();
Symbol 263 Button
on (release) {
getURL ("http://www.notdoppler.com/?ref=factoryballs3a", "_blank");
}
Symbol 278 MovieClip Frame 186
_parent.gotoAndPlay("gospel");
Symbol 319 MovieClip Frame 1
stop();
Symbol 320 MovieClip Frame 20
doos.gotoAndPlay("toe");
Symbol 323 Button
on (press) {
_parent.gotoAndPlay(2);
}
Symbol 324 MovieClip Frame 1
var blur = (new flash.filters.BlurFilter(16, 16, 1));
introdoos.filters = [blur];
Symbol 327 Button
on (press) {
getURL ("http://www.notdoppler.com/?ref=factoryballs3b", "_blank");
}
Symbol 329 MovieClip Frame 11
stop();
Symbol 334 Button
on (press) {
_parent._parent._parent.initlevel = sel;
_parent._parent.nextFrame();
}
Symbol 336 MovieClip Frame 1
stop();
Symbol 336 MovieClip Frame 2
stop();
Symbol 337 MovieClip Frame 1
sel01.sel = "1";
sel02.sel = "2";
sel03.sel = "3";
sel04.sel = "4";
sel05.sel = "5";
sel06.sel = "6";
sel07.sel = "7";
sel08.sel = "8";
sel09.sel = "9";
sel10.sel = "10";
sel11.sel = "11";
sel12.sel = "12";
sel13.sel = "13";
sel14.sel = "14";
sel15.sel = "15";
sel16.sel = "16";
sel17.sel = "17";
sel18.sel = "18";
sel19.sel = "19";
sel20.sel = "20";
sel21.sel = "21";
sel22.sel = "22";
sel23.sel = "23";
sel24.sel = "24";
sel25.sel = "25";
sel26.sel = "26";
sel27.sel = "27";
sel28.sel = "28";
sel29.sel = "29";
sel30.sel = "30";
hoogste = _parent._parent.sohigh;
sel01.gotoAndStop(2);
if (hoogste >= 2) {
sel02.gotoAndStop(2);
}
if (hoogste >= 3) {
sel03.gotoAndStop(2);
}
if (hoogste >= 4) {
sel04.gotoAndStop(2);
}
if (hoogste >= 5) {
sel05.gotoAndStop(2);
}
if (hoogste >= 6) {
sel06.gotoAndStop(2);
}
if (hoogste >= 7) {
sel07.gotoAndStop(2);
}
if (hoogste >= 8) {
sel08.gotoAndStop(2);
}
if (hoogste >= 9) {
sel09.gotoAndStop(2);
}
if (hoogste >= 10) {
sel10.gotoAndStop(2);
}
if (hoogste >= 11) {
sel11.gotoAndStop(2);
}
if (hoogste >= 12) {
sel12.gotoAndStop(2);
}
if (hoogste >= 13) {
sel13.gotoAndStop(2);
}
if (hoogste >= 14) {
sel14.gotoAndStop(2);
}
if (hoogste >= 15) {
sel15.gotoAndStop(2);
}
if (hoogste >= 16) {
sel16.gotoAndStop(2);
}
if (hoogste >= 17) {
sel17.gotoAndStop(2);
}
if (hoogste >= 18) {
sel18.gotoAndStop(2);
}
if (hoogste >= 19) {
sel19.gotoAndStop(2);
}
if (hoogste >= 20) {
sel20.gotoAndStop(2);
}
if (hoogste >= 21) {
sel21.gotoAndStop(2);
}
if (hoogste >= 22) {
sel22.gotoAndStop(2);
}
if (hoogste >= 23) {
sel23.gotoAndStop(2);
}
if (hoogste >= 24) {
sel24.gotoAndStop(2);
}
if (hoogste >= 25) {
sel25.gotoAndStop(2);
}
if (hoogste >= 26) {
sel26.gotoAndStop(2);
}
if (hoogste >= 27) {
sel27.gotoAndStop(2);
}
if (hoogste >= 28) {
sel28.gotoAndStop(2);
}
if (hoogste >= 29) {
sel29.gotoAndStop(2);
}
if (hoogste >= 30) {
sel30.gotoAndStop(2);
}
Symbol 340 MovieClip Frame 1
stop();
Symbol 340 MovieClip Frame 2
_parent._parent.sound_beep.start();
Symbol 357 MovieClip Frame 1
stop();
Symbol 357 MovieClip Frame 2
stop();
Symbol 357 MovieClip Frame 3
stop();
Symbol 357 MovieClip Frame 4
stop();
Symbol 357 MovieClip Frame 5
stop();
Symbol 357 MovieClip Frame 6
stop();
Symbol 357 MovieClip Frame 7
stop();
Symbol 357 MovieClip Frame 8
stop();
Symbol 357 MovieClip Frame 9
stop();
Symbol 357 MovieClip Frame 10
stop();
Symbol 357 MovieClip Frame 11
stop();
Symbol 357 MovieClip Frame 12
stop();
Symbol 357 MovieClip Frame 13
stop();
Symbol 382 MovieClip Frame 1
stop();
Symbol 382 MovieClip Frame 2
stop();
Symbol 382 MovieClip Frame 3
stop();
Symbol 382 MovieClip Frame 4
stop();
Symbol 382 MovieClip Frame 5
stop();
Symbol 382 MovieClip Frame 6
stop();
Symbol 382 MovieClip Frame 7
stop();
Symbol 382 MovieClip Frame 8
stop();
Symbol 382 MovieClip Frame 9
stop();
Symbol 382 MovieClip Frame 10
stop();
Symbol 382 MovieClip Frame 11
stop();
Symbol 382 MovieClip Frame 12
stop();
Symbol 400 MovieClip Frame 1
stop();
Symbol 400 MovieClip Frame 2
stop();
Symbol 418 MovieClip Frame 1
stop();
Symbol 418 MovieClip Frame 2
stop();
Symbol 418 MovieClip Frame 3
stop();
Symbol 435 MovieClip Frame 1
verfpot.gotoAndStop("rood");
stop();
Symbol 435 MovieClip Frame 2
verfpot.gotoAndStop("blauw");
stop();
Symbol 435 MovieClip Frame 3
verfpot.gotoAndStop("groen");
stop();
Symbol 435 MovieClip Frame 4
verfpot.gotoAndStop("oranje");
stop();
Symbol 435 MovieClip Frame 5
stop();
Symbol 435 MovieClip Frame 6
stop();
Symbol 435 MovieClip Frame 7
stop();
Symbol 435 MovieClip Frame 8
stop();
Symbol 435 MovieClip Frame 9
stop();
Symbol 435 MovieClip Frame 10
stop();
Symbol 435 MovieClip Frame 11
stop();
Symbol 435 MovieClip Frame 12
verfpot.gotoAndStop("geel");
stop();
Symbol 435 MovieClip Frame 13
stop();
Symbol 435 MovieClip Frame 14
stop();
Symbol 435 MovieClip Frame 15
stop();
Symbol 435 MovieClip Frame 16
verfpot.gotoAndStop("zwart");
stop();
Symbol 435 MovieClip Frame 17
stop();
Symbol 435 MovieClip Frame 18
verfpot.gotoAndStop("oranje");
stop();
Symbol 435 MovieClip Frame 19
verfpot.gotoAndStop("groen");
stop();
Symbol 435 MovieClip Frame 20
verfpot.gotoAndStop("vraag");
stop();
Symbol 435 MovieClip Frame 21
verfpot.gotoAndStop("cyaan");
stop();
Symbol 435 MovieClip Frame 22
verfpot.gotoAndStop("magenta");
stop();
Symbol 435 MovieClip Frame 23
verfpot.gotoAndStop("plus");
stop();
Symbol 435 MovieClip Frame 24
verfpot.gotoAndStop("minus");
stop();
Symbol 435 MovieClip Frame 25
stop();
Symbol 435 MovieClip Frame 26
stop();
Symbol 435 MovieClip Frame 27
verfpot.gotoAndStop("oranje");
stop();
Symbol 435 MovieClip Frame 28
verfpot.gotoAndStop("geel");
stop();
Symbol 435 MovieClip Frame 29
verfpot.gotoAndStop("wit");
stop();
Symbol 435 MovieClip Frame 30
stop();
Symbol 435 MovieClip Frame 31
stop();
Symbol 435 MovieClip Frame 32
stop();
Symbol 435 MovieClip Frame 33
stop();
Symbol 435 MovieClip Frame 34
stop();
Symbol 435 MovieClip Frame 35
stop();
Symbol 435 MovieClip Frame 36
stop();
Symbol 435 MovieClip Frame 37
stop();
Symbol 435 MovieClip Frame 38
stop();
Symbol 435 MovieClip Frame 39
stop();
Symbol 435 MovieClip Frame 40
stop();
Symbol 435 MovieClip Frame 41
stop();
Symbol 435 MovieClip Frame 42
stop();
Symbol 435 MovieClip Frame 43
stop();
Symbol 435 MovieClip Frame 44
stop();
Symbol 435 MovieClip Frame 45
stop();
Symbol 435 MovieClip Frame 46
stop();
Symbol 435 MovieClip Frame 47
stop();
Symbol 435 MovieClip Frame 48
stop();
Symbol 435 MovieClip Frame 49
stop();
Symbol 435 MovieClip Frame 50
can.gotoAndStop(2);
stop();
Symbol 435 MovieClip Frame 51
stop();
Symbol 435 MovieClip Frame 52
stop();
Symbol 435 MovieClip Frame 53
stop();
Symbol 435 MovieClip Frame 54
stop();
Symbol 435 MovieClip Frame 55
stop();
Symbol 435 MovieClip Frame 56
dropper.gotoAndStop(1);
stop();
Symbol 435 MovieClip Frame 57
dropper.gotoAndStop(2);
stop();
Symbol 435 MovieClip Frame 58
dropper.gotoAndStop(3);
stop();
Symbol 435 MovieClip Frame 59
stop();
Symbol 435 MovieClip Frame 60
stop();
Symbol 435 MovieClip Frame 61
stop();
Symbol 435 MovieClip Frame 62
stop();
Symbol 435 MovieClip Frame 63
stop();
Symbol 435 MovieClip Frame 64
stop();
Symbol 435 MovieClip Frame 65
stop();
Symbol 435 MovieClip Frame 66
stop();
Symbol 435 MovieClip Frame 67
stop();
Symbol 435 MovieClip Frame 68
verfpot.gotoAndStop("verdunner");
stop();
Symbol 435 MovieClip Frame 69
stop();
Symbol 435 MovieClip Frame 70
stop();
Symbol 435 MovieClip Frame 71
stop();
Symbol 435 MovieClip Frame 72
stop();
Symbol 439 MovieClip Frame 1
stop();
Symbol 439 MovieClip Frame 2
stop();
Symbol 441 MovieClip Frame 1
levelbal._visible = false;
stop();
Symbol 441 MovieClip Frame 2
levelbal._visible = true;
Symbol 442 MovieClip Frame 1
doos.bal._y = 109;
doos.gotoAndStop("init");
stop();
Symbol 442 MovieClip Frame 2
_parent._parent.sound_schuif.start();
if (oorbal) {
doos.bal._y = 120;
oorbal = false;
} else {
doos.bal._y = 109;
}
doos.gotoAndStop("init");
Symbol 442 MovieClip Frame 10
stop();
Symbol 442 MovieClip Frame 11
doos.gotoAndPlay("val");
Symbol 442 MovieClip Frame 45
doos.carton.gotoAndPlay("toe");
Symbol 442 MovieClip Frame 55
_parent._parent.sound_schuif.start();
Symbol 442 MovieClip Frame 63
_parent.gotoAndPlay(nlevel);
stop();
Symbol 443 Button
on (press) {
_parent.gotoAndPlay("gospel");
}
Symbol 444 Button
on (press) {
vraag.gotoAndPlay(2);
}
Symbol 445 Button
on (press) {
if (!muted) {
muted = true;
slasher._visible = true;
_parent.sound_loop.stop();
_parent.sound_introloop.stop();
} else {
muted = false;
slasher._visible = false;
_parent.sound_loop.start(0, 9999);
}
}
Symbol 454 MovieClip Frame 20
_parent.balproductie.gotoAndPlay("movein");
Symbol 454 MovieClip Frame 24
_parent.toolbal1.gotoAndPlay("pop");
Symbol 454 MovieClip Frame 28
_parent.toolbal2.gotoAndPlay("pop");
_parent.tool1.detail.gotoAndStop(newtool1);
Symbol 454 MovieClip Frame 32
_parent.toolbal3.gotoAndPlay("pop");
_parent.tool2.detail.gotoAndStop(newtool2);
Symbol 454 MovieClip Frame 36
_parent.toolbal4.gotoAndPlay("pop");
_parent.tool3.detail.gotoAndStop(newtool3);
Symbol 454 MovieClip Frame 40
_parent.toolbal5.gotoAndPlay("pop");
_parent.tool4.detail.gotoAndStop(newtool4);
Symbol 454 MovieClip Frame 44
_parent.toolbal6.gotoAndPlay("pop");
_parent.tool5.detail.gotoAndStop(newtool5);
Symbol 454 MovieClip Frame 48
_parent.toolbal7.gotoAndPlay("pop");
_parent.tool6.detail.gotoAndStop(newtool6);
Symbol 454 MovieClip Frame 52
_parent.toolbal8.gotoAndPlay("pop");
_parent.tool7.detail.gotoAndStop(newtool7);
Symbol 454 MovieClip Frame 56
_parent.toolbal9.gotoAndPlay("pop");
_parent.tool8.detail.gotoAndStop(newtool8);
_parent.canProduce = true;
_parent.produced = false;
stop();
Symbol 458 MovieClip Frame 1
endbal.bol = true;
endbal.bolkleur = "y";
endbal.zwembril = false;
endbal.zwembrilogen = true;
endbal.zwembrilogenkleur = "z";
endbal.mondlap = false;
endbal.lap = false;
endbal.pacman = true;
endbal.pacmankleur = "z";
endbal.pacmanklein = false;
endbal.gotoAndPlay("bol8");
var blur = (new flash.filters.BlurFilter(16, 16, 1));
endbal.filters = [blur];
Symbol 458 MovieClip Frame 20
stop();
Symbol 502 MovieClip Frame 1
tekenarray = "abcdefghijklmnopqrstuvwxyz .,'?!0123456789";
tekenpos = function (kar) {
ind = 0;
while (true) {
if (kar == tekenarray.charAt(ind)) {
return(ind + 1);
}
ind++;
}
};
tekst = " ";
tekst = tekst + "well done and thanks for playing factory balls 3! ";
tekst = tekst + "well after all the mails i got from people asking me when the new factory balls ";
tekst = tekst + "would be available i owed it to the fans to make factory balls 3, so i hope ";
tekst = tekst + "you enjoyed it. thanks must also go to everyone who sent in level ideas! ";
tekst = tekst + "i also got a lot of suggestions about making a sandbox mode or level editor ";
tekst = tekst + "but that would be really hard, there are way too much possible combinations and ";
tekst = tekst + "combinations of tools that would not make sense ... ";
tekst = tekst + "keep visiting bontegames.com or following me on twitter as i'm planning lots ";
tekst = tekst + "of new bontegames for this year! ";
tekst = tekst + "so see you soon for more bontegames! ";
tekst = tekst + "cheers! ";
tekst = tekst + "so you're still reading this right? so you want more bontegames facts? ";
tekst = tekst + "ok, here we go, the next bontegame in line will be a 'musical game', well sort of... ";
tekst = tekst + "i'm really excited about launching it soon since it's something completely new from ";
tekst = tekst + "what i have done before... ok let's end this shaky scroller now, so it's ";
tekst = tekst + "goodbye from me to you the end ";
tekst = tekst + " yep it's the end really ";
tekst = tekst + " you still want more? no problem, restart the scrolly please!";
tekstpos = 0;
framecount = 0;
origx = _parent.endscroll._x;
letter01.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter02.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter03.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter04.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter05.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter06.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter07.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter08.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter09.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter10.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter11.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter12.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter13.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter14.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter15.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter16.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter17.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter18.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter19.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter20.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter21.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter22.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter23.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter24.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter25.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter26.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter27.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter28.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter29.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter30.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter31.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter32.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter33.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter34.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter35.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter36.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter37.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter38.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter39.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter40.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter41.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter42.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter43.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter44.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
letter10.onEnterFrame = function () {
framecount++;
if (framecount < 8) {
_parent.endscroll._x = _parent.endscroll._x - 2;
} else {
_parent.endscroll._x = origx;
letter01.gotoAndStop(letter02._currentframe);
letter02.gotoAndStop(letter03._currentframe);
letter03.gotoAndStop(letter04._currentframe);
letter04.gotoAndStop(letter05._currentframe);
letter05.gotoAndStop(letter06._currentframe);
letter06.gotoAndStop(letter07._currentframe);
letter07.gotoAndStop(letter08._currentframe);
letter08.gotoAndStop(letter09._currentframe);
letter09.gotoAndStop(letter10._currentframe);
letter10.gotoAndStop(letter11._currentframe);
letter11.gotoAndStop(letter12._currentframe);
letter12.gotoAndStop(letter13._currentframe);
letter13.gotoAndStop(letter14._currentframe);
letter14.gotoAndStop(letter15._currentframe);
letter15.gotoAndStop(letter16._currentframe);
letter16.gotoAndStop(letter17._currentframe);
letter17.gotoAndStop(letter18._currentframe);
letter18.gotoAndStop(letter19._currentframe);
letter19.gotoAndStop(letter20._currentframe);
letter20.gotoAndStop(letter21._currentframe);
letter21.gotoAndStop(letter22._currentframe);
letter22.gotoAndStop(letter23._currentframe);
letter23.gotoAndStop(letter24._currentframe);
letter24.gotoAndStop(letter25._currentframe);
letter25.gotoAndStop(letter26._currentframe);
letter26.gotoAndStop(letter27._currentframe);
letter27.gotoAndStop(letter28._currentframe);
letter28.gotoAndStop(letter29._currentframe);
letter29.gotoAndStop(letter30._currentframe);
letter30.gotoAndStop(letter31._currentframe);
letter31.gotoAndStop(letter32._currentframe);
letter32.gotoAndStop(letter33._currentframe);
letter33.gotoAndStop(letter34._currentframe);
letter34.gotoAndStop(letter35._currentframe);
letter35.gotoAndStop(letter36._currentframe);
letter36.gotoAndStop(letter37._currentframe);
letter37.gotoAndStop(letter38._currentframe);
letter38.gotoAndStop(letter39._currentframe);
letter39.gotoAndStop(letter40._currentframe);
letter40.gotoAndStop(letter41._currentframe);
letter41.gotoAndStop(letter42._currentframe);
letter42.gotoAndStop(letter43._currentframe);
letter43.gotoAndStop(letter44._currentframe);
if ((tekstpos + 1) > tekst.length) {
tekstpos = 0;
}
letter44.gotoAndStop(tekenpos(tekst.charAt(tekstpos++)));
framecount = 0;
}
};
Symbol 503 MovieClip Frame 1
_parent.sound_loop.stop();
_parent.sound_introloop.start(0, 9999);
stop();
Symbol 503 MovieClip Frame 2
stop();
Symbol 503 MovieClip Frame 3
function colliding() {
if (this.producing) {
return(undefined);
}
if (this.dragging) {
this.vx = _root._xmouse - this.lx;
this.vy = _root._ymouse - this.ly;
this.lx = _root._xmouse;
this.ly = _root._ymouse;
return(undefined);
}
this.vx = this.vx * kDamp;
this.vy = this.vy * kDamp;
this.vx = this.vx + (gTx * kGravWeight);
this.vy = this.vy + (gTy * kGravWeight);
var _local6 = 0;
var _local5 = 0;
var _local3 = guys.length - 1;
while (_local3 >= 0) {
if ((guys[_local3] != this) && (this.hitTest(guys[_local3]))) {
var _local8 = (this._x + this.vx) - guys[_local3]._x;
var _local7 = (this._y + this.vy) - guys[_local3]._y;
var _local9 = Math.sqrt((_local8 * _local8) + (_local7 * _local7));
var _local10 = 36 - _local9;
if (_local10 > 0) {
var _local4 = (_local10 * kCollisionDamp) / _local9;
_local6 = _local6 + (_local8 * _local4);
_local5 = _local5 + (_local7 * _local4);
}
}
_local3--;
}
this.vx = this.vx + _local6;
this.vy = this.vy + _local5;
var _local8 = -(this._x + this.vx);
var _local7 = -(this._y + this.vy);
var _local9 = Math.sqrt((_local8 * _local8) + (_local7 * _local7));
var _local10 = _local9 - ((SW / 2) - 18);
if (_local10 > 0) {
this.vx = this.vx + ((_local8 * _local10) / _local9);
this.vy = this.vy + ((_local7 * _local10) / _local9);
}
this._x = this._x + this.vx;
this._y = this._y + this.vy;
}
function logica(toolused, mc) {
mc._x = prodx;
mc._y = prody;
if (level == 1) {
if (toolused == 1) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "b";
mc.balbal.bolh = false;
mc.balbal.helm = false;
} else if (mc.producing) {
mc.balbal.bolkleur = "b";
if (!mc.balbal.helm) {
mc.balbal.bolh = false;
}
}
} else if (toolused == 2) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "o";
mc.balbal.bolh = false;
mc.balbal.helm = false;
} else if (mc.producing) {
mc.balbal.bolkleur = "o";
if (!mc.balbal.helm) {
mc.balbal.bolh = false;
}
}
} else if (toolused == 3) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.bolh = true;
mc.balbal.bolhkleur = "w";
mc.balbal.helm = true;
tool3.detail.gotoAndStop("helmgone");
} else if (mc.producing) {
if (!mc.balbal.helm) {
tool3.detail.gotoAndStop("helmgone");
mc.balbal.helm = true;
if (!mc.balbal.bolh) {
mc.balbal.bolh = true;
mc.balbal.bolhkleur = mc.balbal.bolkleur;
}
} else {
tool3.detail.gotoAndStop("helm");
mc.balbal.helm = false;
if (mc.balbal.bolhkleur == mc.balbal.bolkleur) {
mc.balbal.bolh = false;
}
}
}
}
mc.balbal.gotoAndPlay("bol1");
if ((((mc.balbal.bol && (mc.balbal.bolkleur == "b")) && (mc.balbal.bolh)) && (mc.balbal.bolhkleur == "o")) && (!mc.balbal.helm)) {
canProduce = false;
balproductie.nlevel = "l2";
mc.removeMovieClip();
balproductie.doos.levelbal.bol = true;
balproductie.doos.levelbal.bolkleur = "b";
balproductie.doos.levelbal.bolh = true;
balproductie.doos.levelbal.bolhkleur = "o";
balproductie.doos.levelbal.helm = false;
balproductie.doos.levelbal.gotoAndPlay("bol1");
balproductie.gotoAndPlay("moveout");
}
} else if (level == 2) {
if (toolused == 1) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "m";
mc.balbal.riem = false;
mc.balbal.band = false;
mc.balbal.riemb = false;
mc.balbal.bandb = false;
mc.balbal.riemachter = false;
} else if (mc.producing) {
mc.balbal.bolkleur = "m";
if ((!mc.balbal.riem) && (!mc.balbal.riemb)) {
mc.balbal.band = false;
}
if (!mc.balbal.riemb) {
mc.balbal.bandb = false;
}
}
} else if (toolused == 2) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "b";
mc.balbal.riem = false;
mc.balbal.band = false;
mc.balbal.riemb = false;
mc.balbal.bandb = false;
mc.balbal.riemachter = false;
} else if (mc.producing) {
mc.balbal.bolkleur = "b";
if ((!mc.balbal.riem) && (!mc.balbal.riemb)) {
mc.balbal.band = false;
}
if (!mc.balbal.riemb) {
mc.balbal.bandb = false;
}
}
} else if (toolused == 3) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.riem = true;
mc.balbal.band = true;
mc.balbal.bandkleur = "w";
mc.balbal.riemb = false;
mc.balbal.bandb = false;
mc.balbal.riemachter = false;
tool3.detail.gotoAndStop("riemgone");
} else if (mc.producing) {
if (!mc.balbal.riem) {
tool3.detail.gotoAndStop("riemgone");
mc.balbal.riem = true;
if (!mc.balbal.riemb) {
if ((!mc.balbal.band) && mc.balbal.bandb) {
mc.balbal.bandkleur = mc.balbal.bandbkleur;
} else if (!mc.balbal.band) {
mc.balbal.bandkleur = mc.balbal.bolkleur;
}
mc.balbal.band = true;
}
} else if (!mc.balbal.riemachter) {
tool3.detail.gotoAndStop("riem");
mc.balbal.riem = false;
mc.balbal.riemachter = false;
if (((!mc.balbal.riemb) && (!mc.balbal.bandb)) && (mc.balbal.bandkleur == mc.balbal.bolkleur)) {
mc.balbal.band = false;
}
if (((!mc.balbal.riemb) && mc.balbal.bandb) && (mc.balbal.bandkleur == mc.balbal.bandbkleur)) {
mc.balbal.band = false;
}
}
}
} else if (toolused == 4) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.riemb = true;
mc.balbal.bandb = true;
mc.balbal.bandbkleur = "w";
mc.balbal.riem = false;
mc.balbal.band = false;
mc.balbal.riemachter = false;
tool4.detail.gotoAndStop("riembgone");
} else if (mc.producing) {
if (!mc.balbal.riemb) {
tool4.detail.gotoAndStop("riembgone");
mc.balbal.riemb = true;
if (!mc.balbal.bandb) {
mc.balbal.bandbkleur = mc.balbal.bolkleur;
}
mc.balbal.bandb = true;
if (mc.balbal.riem) {
mc.balbal.riemachter = true;
}
} else if ((!mc.balbal.riem) || (mc.balbal.riem && mc.balbal.riemachter)) {
tool4.detail.gotoAndStop("riemb");
mc.balbal.riemb = false;
mc.balbal.riemachter = false;
if (mc.balbal.bandbkleur == mc.balbal.bolkleur) {
mc.balbal.bandb = false;
}
}
}
}
mc.balbal.gotoAndPlay("bol2");
if (((((((mc.balbal.bol && (mc.balbal.bolkleur == "b")) && (!mc.balbal.riem)) && (mc.balbal.band)) && (mc.balbal.bandkleur == "b")) && (!mc.balbal.riemb)) && (mc.balbal.bandb)) && (mc.balbal.bandbkleur == "m")) {
canProduce = false;
balproductie.nlevel = "l3";
mc.removeMovieClip();
balproductie.doos.levelbal.bol = true;
balproductie.doos.levelbal.bolkleur = "b";
balproductie.doos.levelbal.riem = false;
balproductie.doos.levelbal.band = true;
balproductie.doos.levelbal.bandkleur = "b";
balproductie.doos.levelbal.riemb = false;
balproductie.doos.levelbal.bandb = true;
balproductie.doos.levelbal.bandbkleur = "m";
balproductie.doos.levelbal.gotoAndPlay("bol2");
balproductie.gotoAndPlay("moveout");
}
} else if (level == 3) {
if (toolused == 1) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "y";
mc.balbal.brilletje = false;
mc.balbal.oogjes = false;
mc.balbal.neusniv = 0;
mc.balbal.neusdip = false;
mc.balbal.neusstempel = false;
} else if (mc.producing) {
if (mc.balbal.neusniv != 2) {
mc.balbal.bolkleur = "y";
mc.balbal.neusstempel = false;
if (!mc.balbal.brilletje) {
mc.balbal.oogjes = false;
}
} else {
mc.balbal.neusdip = true;
mc.balbal.neusdipkleur = "y";
}
if (mc.balbal.neusniv == 1) {
mc.balbal.neuskleur = "y";
}
}
} else if (toolused == 2) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "z";
mc.balbal.brilletje = false;
mc.balbal.oogjes = false;
mc.balbal.neusniv = 0;
mc.balbal.neusdip = false;
mc.balbal.neusstempel = false;
} else if (mc.producing) {
if (mc.balbal.neusniv != 2) {
mc.balbal.bolkleur = "z";
mc.balbal.neusstempel = false;
if (!mc.balbal.brilletje) {
mc.balbal.oogjes = false;
}
} else {
mc.balbal.neusdip = true;
mc.balbal.neusdipkleur = "z";
}
if (mc.balbal.neusniv == 1) {
mc.balbal.neuskleur = "z";
}
}
} else if (toolused == 3) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.brilletje = true;
mc.balbal.oogjes = true;
mc.balbal.oogjeskleur = "w";
mc.balbal.neusniv = 0;
mc.balbal.neusdip = false;
mc.balbal.neusstempel = false;
tool3.detail.gotoAndStop("brilletjegone");
} else if (mc.producing) {
if (!mc.balbal.brilletje) {
tool3.detail.gotoAndStop("brilletjegone");
mc.balbal.brilletje = true;
if (!mc.balbal.oogjes) {
mc.balbal.oogjes = true;
mc.balbal.oogjeskleur = mc.balbal.bolkleur;
}
} else {
tool3.detail.gotoAndStop("brilletje");
mc.balbal.brilletje = false;
if (mc.balbal.oogjeskleur == mc.balbal.bolkleur) {
mc.balbal.oogjes = false;
}
}
}
} else if (toolused == 4) {
_parent.sound_thud.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.brilletje = false;
mc.balbal.oogjes = false;
mc.balbal.neusniv = 0;
mc.balbal.neusdip = false;
mc.balbal.neusstempel = true;
mc.balbal.stempelniv = 1;
} else if (mc.producing) {
mc.balbal.neusstempel = true;
if (mc.balbal.neusniv == 0) {
mc.balbal.stempelniv = 1;
} else if (mc.balbal.neusniv == 1) {
if (mc.balbal.neuskleur == "r") {
mc.balbal.neusstempel = false;
} else {
mc.balbal.stempelniv = 2;
}
} else if (mc.balbal.neusniv == 2) {
if (mc.balbal.neuskleur == "r") {
mc.balbal.neusstempel = false;
} else {
mc.balbal.stempelniv = 3;
}
}
}
} else if (toolused == 5) {
_parent.sound_popout.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.brilletje = false;
mc.balbal.oogjes = false;
mc.balbal.neusniv = 1;
mc.balbal.neuskleur = "w";
mc.balbal.neusdip = false;
mc.balbal.neusstempel = false;
} else if (mc.producing) {
if (mc.balbal.neusniv == 0) {
mc.balbal.neusniv = 1;
if (mc.balbal.neusstempel) {
mc.balbal.neuskleur = "r";
mc.balbal.neusstempel = false;
} else {
mc.balbal.neuskleur = mc.balbal.bolkleur;
}
} else if (mc.balbal.neusniv == 1) {
mc.balbal.neusniv = 2;
if (mc.balbal.neuskleur != "r") {
mc.balbal.stempelniv = 3;
}
} else {
_parent.sound_pop.start();
mc.attachMovie("bal", "critter_mc" + (extratel++), 0);
mc.producing = false;
produced = false;
tool3.detail.gotoAndStop("brilletje");
}
}
}
mc.balbal.gotoAndPlay("bol3");
if ((((((((mc.balbal.bol && (mc.balbal.bolkleur == "y")) && (!mc.balbal.brilletje)) && (mc.balbal.oogjes)) && (mc.balbal.oogjeskleur == "z")) && (mc.balbal.neusniv == 2)) && (mc.balbal.neuskleur == "r")) && (!mc.balbal.neusdip)) && (!mc.balbal.neusstempel)) {
canProduce = false;
balproductie.nlevel = "l4";
mc.removeMovieClip();
balproductie.doos.levelbal.bol = true;
balproductie.doos.levelbal.bolkleur = "y";
balproductie.doos.levelbal.brilletje = false;
balproductie.doos.levelbal.oogjes = true;
balproductie.doos.levelbal.oogjeskleur = "z";
balproductie.doos.levelbal.neusniv = 2;
balproductie.doos.levelbal.neuskleur = "r";
balproductie.doos.levelbal.neusdip = false;
balproductie.doos.levelbal.neusstempel = false;
balproductie.doos.levelbal.gotoAndPlay("bol3");
balproductie.gotoAndPlay("moveout");
}
} else if (level == 4) {
if (toolused == 1) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "o";
mc.balbal.riem = false;
mc.balbal.band = false;
} else if (mc.producing) {
mc.balbal.bolkleur = "o";
if (!mc.balbal.riem) {
mc.balbal.band = false;
}
}
} else if (toolused == 2) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.riem = true;
mc.balbal.band = true;
mc.balbal.bandkleur = "w";
tool2.detail.gotoAndStop("riemgone");
} else if (mc.producing) {
if (!mc.balbal.riem) {
tool2.detail.gotoAndStop("riemgone");
mc.balbal.riem = true;
if (!mc.balbal.band) {
mc.balbal.bandkleur = mc.balbal.bolkleur;
}
mc.balbal.band = true;
} else {
tool2.detail.gotoAndStop("riem");
mc.balbal.riem = false;
if (mc.balbal.bandkleur == mc.balbal.bolkleur) {
mc.balbal.band = false;
}
}
}
} else if (toolused == 3) {
_parent.sound_shovel.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.riem = false;
mc.balbal.band = false;
} else if (mc.producing) {
mc.balbal.bolkleur = "w";
if (!mc.balbal.riem) {
mc.balbal.band = false;
}
}
}
mc.balbal.gotoAndPlay("bol4");
if ((((mc.balbal.bol && (mc.balbal.bolkleur == "w")) && (!mc.balbal.riem)) && (mc.balbal.band)) && (mc.balbal.bandkleur == "o")) {
canProduce = false;
balproductie.nlevel = "l5";
mc.removeMovieClip();
balproductie.doos.levelbal.bol = true;
balproductie.doos.levelbal.bolkleur = "w";
balproductie.doos.levelbal.riem = false;
balproductie.doos.levelbal.band = true;
balproductie.doos.levelbal.bandkleur = "o";
balproductie.doos.levelbal.gotoAndPlay("bol4");
balproductie.gotoAndPlay("moveout");
}
} else if (level == 5) {
if (toolused == 1) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "r";
mc.balbal.spin = false;
mc.balbal.bollen = false;
mc.balbal.spinbig = false;
mc.balbal.bollenbig = false;
} else if (mc.producing) {
mc.balbal.bolkleur = "r";
if ((!mc.balbal.spinbig) && (!mc.balbal.spin)) {
mc.balbal.bollen = false;
mc.balbal.bollenbig = false;
} else if (mc.balbal.spin) {
mc.balbal.bollenbig = false;
}
}
} else if (toolused == 2) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "o";
mc.balbal.spin = false;
mc.balbal.bollen = false;
mc.balbal.spinbig = false;
mc.balbal.bollenbig = false;
} else if (mc.producing) {
mc.balbal.bolkleur = "o";
if ((!mc.balbal.spinbig) && (!mc.balbal.spin)) {
mc.balbal.bollen = false;
mc.balbal.bollenbig = false;
} else if (mc.balbal.spin) {
mc.balbal.bollenbig = false;
}
}
} else if (toolused == 3) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.bollen = true;
mc.balbal.bollenkleur = "w";
mc.balbal.spin = true;
mc.balbal.spinbig = false;
mc.balbal.bollenbig = false;
tool3.detail.gotoAndStop("spingone");
} else if (mc.producing) {
if ((!mc.balbal.spin) && (!mc.balbal.spinbig)) {
tool3.detail.gotoAndStop("spingone");
mc.balbal.spin = true;
if ((!mc.balbal.bollen) && (!mc.balbal.bollenbig)) {
mc.balbal.bollen = true;
mc.balbal.bollenkleur = mc.balbal.bolkleur;
} else if ((!mc.balbal.bollen) && mc.balbal.bollenbig) {
mc.balbal.bollen = true;
mc.balbal.bollenkleur = mc.balbal.bollenbigkleur;
}
} else if (mc.balbal.spin) {
tool3.detail.gotoAndStop("spin");
mc.balbal.spin = false;
if ((mc.balbal.bollenbig && mc.balbal.bollen) && (mc.balbal.bollenbigkleur == mc.balbal.bollenkleur)) {
mc.balbal.bollen = false;
} else if (((!mc.balbal.bollenbig) && mc.balbal.bollen) && (mc.balbal.bollenkleur == mc.balbal.bolkleur)) {
mc.balbal.bollen = false;
}
}
}
} else if (toolused == 4) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.bollenbig = true;
mc.balbal.bollenbigkleur = "w";
mc.balbal.spinbig = true;
mc.balbal.spin = false;
mc.balbal.bollen = false;
tool4.detail.gotoAndStop("spinbiggone");
} else if (mc.producing) {
if ((!mc.balbal.spin) && (!mc.balbal.spinbig)) {
tool4.detail.gotoAndStop("spinbiggone");
mc.balbal.spinbig = true;
if (!mc.balbal.bollenbig) {
mc.balbal.bollenbig = true;
mc.balbal.bollenbigkleur = mc.balbal.bolkleur;
}
} else if (mc.balbal.spinbig) {
tool4.detail.gotoAndStop("spinbig");
mc.balbal.spinbig = false;
if (mc.balbal.bollenbig && (mc.balbal.bollenbigkleur == mc.balbal.bolkleur)) {
mc.balbal.bollenbig = false;
}
if (((!mc.balbal.bollenbig) && mc.balbal.bollen) && (mc.balbal.bollenkleur == mc.balbal.bolkleur)) {
mc.balbal.bollen = false;
}
}
}
}
mc.balbal.gotoAndPlay("bol5");
if (((((((mc.balbal.bol && (mc.balbal.bolkleur == "o")) && (!mc.balbal.spin)) && (!mc.balbal.spinbig)) && (mc.balbal.bollen)) && (mc.balbal.bollenkleur == "w")) && (mc.balbal.bollenbig)) && (mc.balbal.bollenbigkleur == "r")) {
canProduce = false;
balproductie.nlevel = "l6";
mc.removeMovieClip();
balproductie.doos.levelbal.bol = true;
balproductie.doos.levelbal.bolkleur = "o";
balproductie.doos.levelbal.spin = false;
balproductie.doos.levelbal.bollen = true;
balproductie.doos.levelbal.bollenkleur = "w";
balproductie.doos.levelbal.spinbig = false;
balproductie.doos.levelbal.bollenbig = true;
balproductie.doos.levelbal.bollenbigkleur = "r";
balproductie.doos.levelbal.gotoAndPlay("bol5");
balproductie.gotoAndPlay("moveout");
}
} else if (level == 6) {
if (toolused == 1) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "z";
mc.balbal.riemb = false;
mc.balbal.bandb = false;
mc.balbal.riembv = false;
mc.balbal.bandbv = false;
mc.balbal.bandbm = false;
} else if (mc.producing) {
mc.balbal.bolkleur = "z";
if (!mc.balbal.riemb) {
mc.balbal.bandb = false;
}
if (!mc.balbal.riembv) {
mc.balbal.bandbv = false;
}
if ((!mc.balbal.riemb) && (!mc.balbal.riembv)) {
mc.balbal.bandbm = false;
}
}
} else if (toolused == 2) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.riemb = true;
mc.balbal.bandb = true;
mc.balbal.bandbkleur = "w";
mc.balbal.riembv = false;
mc.balbal.bandbv = false;
mc.balbal.bandbm = false;
tool2.detail.gotoAndStop("riembgone");
} else if (mc.producing) {
if (!mc.balbal.riemb) {
tool2.detail.gotoAndStop("riembgone");
mc.balbal.riemb = true;
if (!mc.balbal.bandb) {
mc.balbal.bandbkleur = mc.balbal.bolkleur;
}
mc.balbal.bandb = true;
if (mc.balbal.bandbv) {
mc.balbal.bandbvvoor = true;
} else {
mc.balbal.bandbvvoor = false;
}
if (mc.balbal.riembv) {
mc.balbal.riembvvoor = false;
}
if (((!mc.balbal.bandbm) && (!mc.balbal.riembv)) && mc.balbal.bandbv) {
mc.balbal.bandbm = true;
mc.balbal.bandbmkleur = mc.balbal.bandbvkleur;
}
} else if ((mc.balbal.riembv == false) || (mc.balbal.riembv && (!mc.balbal.riembvvoor))) {
tool2.detail.gotoAndStop("riemb");
mc.balbal.riemb = false;
if (mc.balbal.bandbkleur == mc.balbal.bolkleur) {
mc.balbal.bandb = false;
}
}
}
} else if (toolused == 3) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.riembv = true;
mc.balbal.bandbv = true;
mc.balbal.bandbvkleur = "w";
mc.balbal.riembvvoor = true;
mc.balbal.bandbvvoor = true;
mc.balbal.riemb = false;
mc.balbal.bandb = false;
mc.balbal.bandbm = false;
tool3.detail.gotoAndStop("riembvgone");
} else if (mc.producing) {
if (!mc.balbal.riembv) {
tool3.detail.gotoAndStop("riembvgone");
mc.balbal.riembv = true;
if (!mc.balbal.bandbv) {
mc.balbal.bandbvkleur = mc.balbal.bolkleur;
}
mc.balbal.bandbv = true;
if (mc.balbal.bandb) {
mc.balbal.bandbvvoor = false;
} else {
mc.balbal.bandbvvoor = true;
}
if (mc.balbal.riemb) {
mc.balbal.riembvvoor = true;
} else {
mc.balbal.riembvvoor = false;
}
if (((!mc.balbal.bandbm) && (!mc.balbal.riemb)) && mc.balbal.bandb) {
mc.balbal.bandbm = true;
mc.balbal.bandbmkleur = mc.balbal.bandbkleur;
}
} else if ((mc.balbal.riemb == false) || (mc.balbal.riemb && mc.balbal.riembvvoor)) {
tool3.detail.gotoAndStop("riembv");
mc.balbal.riembv = false;
if (mc.balbal.bandbvkleur == mc.balbal.bolkleur) {
mc.balbal.bandbv = false;
}
}
}
} else if (toolused == 4) {
_parent.sound_shovel.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.riemb = false;
mc.balbal.bandb = false;
mc.balbal.riembv = false;
mc.balbal.bandbv = false;
mc.balbal.bandbm = false;
} else if (mc.producing) {
mc.balbal.bolkleur = "w";
if (!mc.balbal.riemb) {
mc.balbal.bandb = false;
}
if (!mc.balbal.riembv) {
mc.balbal.bandbv = false;
}
if ((!mc.balbal.riemb) && (!mc.balbal.riembv)) {
mc.balbal.bandbm = false;
}
}
}
mc.balbal.gotoAndPlay("bol6");
if (((((((((mc.balbal.bol && (mc.balbal.bolkleur == "w")) && (!mc.balbal.riemb)) && (!mc.balbal.riembv)) && (mc.balbal.bandb)) && (mc.balbal.bandbkleur == "z")) && (mc.balbal.bandbv)) && (mc.balbal.bandbvkleur == "z")) && (mc.balbal.bandbm)) && (mc.balbal.bandbmkleur == "w")) {
canProduce = false;
balproductie.nlevel = "l7";
mc.removeMovieClip();
balproductie.doos.levelbal.bol = true;
balproductie.doos.levelbal.bolkleur = "w";
balproductie.doos.levelbal.riemb = false;
balproductie.doos.levelbal.riembv = false;
balproductie.doos.levelbal.bandb = true;
balproductie.doos.levelbal.bandbkleur = "z";
balproductie.doos.levelbal.bandbv = true;
balproductie.doos.levelbal.bandbvkleur = "z";
balproductie.doos.levelbal.bandbvvoor = false;
balproductie.doos.levelbal.bandbm = true;
balproductie.doos.levelbal.bandbmkleur = "w";
balproductie.doos.levelbal.gotoAndPlay("bol6");
balproductie.gotoAndPlay("moveout");
}
} else if (level == 7) {
if (toolused == 1) {
_parent.sound_shovel.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.grasbal = true;
mc.balbal.gras = 1;
mc.balbal.bloembal = false;
mc.balbal.bloembalp = false;
} else if (mc.producing) {
if (!mc.balbal.grasbal) {
mc.balbal.grasbal = true;
mc.balbal.gras = 1;
}
}
} else if (toolused == 2) {
_parent.sound_shovel.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bloembal = true;
mc.balbal.bloem = 1;
mc.balbal.grasbal = false;
mc.balbal.bloembalp = false;
} else if (mc.producing) {
if (!mc.balbal.bloembal) {
mc.balbal.bloembal = true;
mc.balbal.bloem = 1;
}
}
} else if (toolused == 3) {
_parent.sound_shovel.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bloembalp = true;
mc.balbal.bloemp = 1;
mc.balbal.grasbal = false;
mc.balbal.bloembal = false;
} else if (mc.producing) {
if (!mc.balbal.bloembalp) {
mc.balbal.bloembalp = true;
mc.balbal.bloemp = 1;
}
}
} else if (toolused == 4) {
_parent.sound_water.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.grasbal = false;
mc.balbal.bloembal = false;
mc.balbal.bloembalp = false;
} else if (mc.producing) {
if (mc.balbal.grasbal) {
if (mc.balbal.gras == 1) {
mc.balbal.gras = 2;
} else if (mc.balbal.gras == 2) {
mc.balbal.gras = 3;
} else if (mc.balbal.gras == 3) {
mc.balbal.gras = 4;
}
}
if (mc.balbal.bloembal) {
if (mc.balbal.bloem == 1) {
mc.balbal.bloem = 2;
} else if (mc.balbal.bloem == 2) {
mc.balbal.bloem = 3;
} else if (mc.balbal.bloem == 3) {
mc.balbal.bloembal = false;
}
}
if (mc.balbal.bloembalp) {
if (mc.balbal.bloemp == 1) {
mc.balbal.bloemp = 2;
} else if (mc.balbal.bloemp == 2) {
mc.balbal.bloemp = 3;
} else if (mc.balbal.bloemp == 3) {
mc.balbal.bloembalp = false;
}
}
}
}
mc.balbal.gotoAndPlay("bol7");
if ((((((mc.balbal.bol && (mc.balbal.grasbal)) && (mc.balbal.gras == 2)) && (mc.balbal.bloembal)) && (mc.balbal.bloem == 3)) && (mc.balbal.bloembalp)) && (mc.balbal.bloemp == 2)) {
canProduce = false;
balproductie.nlevel = "l8";
mc.removeMovieClip();
balproductie.doos.levelbal.bol = true;
balproductie.doos.levelbal.grasbal = true;
balproductie.doos.levelbal.gras = 2;
balproductie.doos.levelbal.bloembal = true;
balproductie.doos.levelbal.bloem = 3;
balproductie.doos.levelbal.bloembalp = true;
balproductie.doos.levelbal.bloemp = 2;
balproductie.doos.levelbal.gotoAndPlay("bol7");
balproductie.gotoAndPlay("moveout");
}
} else if (level == 8) {
if (toolused == 1) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "z";
mc.balbal.zwembril = false;
mc.balbal.zwembrilogen = false;
mc.balbal.mondlap = false;
mc.balbal.lap = false;
mc.balbal.pacman = false;
mc.balbal.pacmanklein = false;
} else if (mc.producing) {
mc.balbal.bolkleur = "z";
if (!mc.balbal.zwembril) {
mc.balbal.zwembrilogen = false;
}
if (!mc.balbal.mondlap) {
if (mc.balbal.lap) {
mc.balbal.lap = false;
}
if (mc.balbal.pacmanklein) {
mc.balbal.pacmankleinkleur = "z";
}
if (mc.balbal.pacman) {
mc.balbal.pacmankleur = "z";
}
}
}
} else if (toolused == 2) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "y";
mc.balbal.zwembril = false;
mc.balbal.zwembrilogen = false;
mc.balbal.mondlap = false;
mc.balbal.lap = false;
mc.balbal.pacman = false;
mc.balbal.pacmanklein = false;
} else if (mc.producing) {
mc.balbal.bolkleur = "y";
if (!mc.balbal.zwembril) {
mc.balbal.zwembrilogen = false;
}
if (!mc.balbal.mondlap) {
if (mc.balbal.lap) {
mc.balbal.lap = false;
}
if (mc.balbal.pacmanklein) {
mc.balbal.pacmankleinkleur = "y";
}
if (mc.balbal.pacman) {
mc.balbal.pacmankleur = "y";
}
}
}
} else if (toolused == 3) {
_parent.sound_chop.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.zwembril = false;
mc.balbal.zwembrilogen = false;
mc.balbal.mondlap = false;
mc.balbal.lap = false;
mc.balbal.pacman = false;
mc.balbal.pacmanklein = true;
mc.balbal.pacmankleinkleur = "w";
} else if (mc.producing) {
if (((!mc.balbal.mondlap) && (!mc.balbal.pacmanklein)) && (!mc.balbal.pacman)) {
mc.balbal.pacmanklein = true;
mc.balbal.pacmankleinkleur = "w";
} else if ((!mc.balbal.mondlap) && mc.balbal.pacmanklein) {
mc.balbal.pacmanklein = false;
mc.balbal.lap = false;
mc.balbal.pacman = true;
mc.balbal.pacmankleur = "w";
}
}
} else if (toolused == 4) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.zwembril = false;
mc.balbal.zwembrilogen = false;
mc.balbal.mondlap = true;
mc.balbal.lap = true;
mc.balbal.lapkleur = "w";
mc.balbal.pacman = false;
mc.balbal.pacmanklein = false;
tool4.detail.gotoAndStop("mondlapgone");
} else if (mc.producing) {
if (!mc.balbal.mondlap) {
tool4.detail.gotoAndStop("mondlapgone");
mc.balbal.mondlap = true;
if (!mc.balbal.pacman) {
if (!mc.balbal.lap) {
mc.balbal.lapkleur = mc.balbal.bolkleur;
}
mc.balbal.lap = true;
}
} else {
tool4.detail.gotoAndStop("mondlap");
mc.balbal.mondlap = false;
if ((mc.balbal.lap && (!mc.balbal.pacman)) && (mc.balbal.lapkleur == mc.balbal.bolkleur)) {
mc.balbal.lap = false;
}
}
}
} else if (toolused == 5) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.zwembril = true;
mc.balbal.zwembrilogen = true;
mc.balbal.zwembrilogenkleur = "w";
mc.balbal.mondlap = false;
mc.balbal.lap = false;
mc.balbal.pacman = false;
mc.balbal.pacmanklein = false;
tool5.detail.gotoAndStop("zwembrilgone");
} else if (mc.producing) {
if (!mc.balbal.zwembril) {
tool5.detail.gotoAndStop("zwembrilgone");
mc.balbal.zwembril = true;
if (!mc.balbal.zwembrilogen) {
mc.balbal.zwembrilogen = true;
mc.balbal.zwembrilogenkleur = mc.balbal.bolkleur;
}
} else {
tool5.detail.gotoAndStop("zwembril");
mc.balbal.zwembril = false;
if (mc.balbal.zwembrilogenkleur == mc.balbal.bolkleur) {
mc.balbal.zwembrilogen = false;
}
}
}
}
mc.balbal.gotoAndPlay("bol8");
if (((((((((mc.balbal.bol && (mc.balbal.bolkleur == "y")) && (!mc.balbal.zwembril)) && mc.balbal.zwembrilogen) && (mc.balbal.zwembrilogenkleur == "z")) && (!mc.balbal.mondlap)) && (!mc.balbal.lap)) && mc.balbal.pacman) && (mc.balbal.pacmankleur == "z")) && (!mc.balbal.pacmanklein)) {
canProduce = false;
balproductie.nlevel = "l9";
mc.removeMovieClip();
balproductie.doos.levelbal.bol = true;
balproductie.doos.levelbal.bolkleur = "y";
balproductie.doos.levelbal.zwembril = false;
balproductie.doos.levelbal.zwembrilogen = true;
balproductie.doos.levelbal.zwembrilogenkleur = "z";
balproductie.doos.levelbal.mondlap = false;
balproductie.doos.levelbal.lap = false;
balproductie.doos.levelbal.pacman = true;
balproductie.doos.levelbal.pacmankleur = "z";
balproductie.doos.levelbal.pacmanklein = false;
balproductie.doos.levelbal.gotoAndPlay("bol8");
balproductie.gotoAndPlay("moveout");
}
}
}
function logica2(toolused, mc) {
mc._x = prodx;
mc._y = prody;
if (level == 9) {
if (toolused == 1) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.mutslinks = false;
mc.balbal.mutsrechts = false;
mc.balbal.helm = false;
mc.balbal.kwart1kleur = "b";
mc.balbal.kwart2kleur = "b";
mc.balbal.kwart3kleur = "b";
mc.balbal.kwart4kleur = "b";
} else if (mc.producing) {
if (mc.balbal.helm) {
if (!mc.balbal.mutslinks) {
mc.balbal.kwart4kleur = "b";
}
if (!mc.balbal.mutsrechts) {
mc.balbal.kwart3kleur = "b";
}
} else {
if (!mc.balbal.mutslinks) {
mc.balbal.kwart4kleur = "b";
mc.balbal.kwart1kleur = "b";
}
if (!mc.balbal.mutsrechts) {
mc.balbal.kwart3kleur = "b";
mc.balbal.kwart2kleur = "b";
}
}
}
} else if (toolused == 2) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.mutslinks = false;
mc.balbal.mutsrechts = false;
mc.balbal.helm = false;
mc.balbal.kwart1kleur = "o";
mc.balbal.kwart2kleur = "o";
mc.balbal.kwart3kleur = "o";
mc.balbal.kwart4kleur = "o";
} else if (mc.producing) {
if (mc.balbal.helm) {
if (!mc.balbal.mutslinks) {
mc.balbal.kwart4kleur = "o";
}
if (!mc.balbal.mutsrechts) {
mc.balbal.kwart3kleur = "o";
}
} else {
if (!mc.balbal.mutslinks) {
mc.balbal.kwart4kleur = "o";
mc.balbal.kwart1kleur = "o";
}
if (!mc.balbal.mutsrechts) {
mc.balbal.kwart3kleur = "o";
mc.balbal.kwart2kleur = "o";
}
}
}
} else if (toolused == 3) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.mutslinks = true;
mc.balbal.mutsrechts = false;
mc.balbal.helm = false;
mc.balbal.kwart1kleur = "w";
mc.balbal.kwart2kleur = "w";
mc.balbal.kwart3kleur = "w";
mc.balbal.kwart4kleur = "w";
tool3.detail.gotoAndStop("mutslinksgone");
} else if (mc.producing) {
if ((!mc.balbal.mutslinks) && (!mc.balbal.helm)) {
tool3.detail.gotoAndStop("mutslinksgone");
mc.balbal.mutslinks = true;
} else if (mc.balbal.mutslinks && (!mc.balbal.helm)) {
tool3.detail.gotoAndStop("mutslinks");
mc.balbal.mutslinks = false;
}
}
} else if (toolused == 4) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.mutslinks = false;
mc.balbal.mutsrechts = true;
mc.balbal.helm = false;
mc.balbal.kwart1kleur = "w";
mc.balbal.kwart2kleur = "w";
mc.balbal.kwart3kleur = "w";
mc.balbal.kwart4kleur = "w";
tool4.detail.gotoAndStop("mutsrechtsgone");
} else if (mc.producing) {
if ((!mc.balbal.mutsrechts) && (!mc.balbal.helm)) {
tool4.detail.gotoAndStop("mutsrechtsgone");
mc.balbal.mutsrechts = true;
} else if (mc.balbal.mutsrechts && (!mc.balbal.helm)) {
tool4.detail.gotoAndStop("mutsrechts");
mc.balbal.mutsrechts = false;
}
}
} else if (toolused == 5) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.mutslinks = false;
mc.balbal.mutsrechts = false;
mc.balbal.helm = true;
mc.balbal.kwart1kleur = "w";
mc.balbal.kwart2kleur = "w";
mc.balbal.kwart3kleur = "w";
mc.balbal.kwart4kleur = "w";
tool5.detail.gotoAndStop("helmgone");
} else if (mc.producing) {
if (!mc.balbal.helm) {
tool5.detail.gotoAndStop("helmgone");
mc.balbal.helm = true;
} else {
tool5.detail.gotoAndStop("helm");
mc.balbal.helm = false;
}
}
}
mc.balbal.gotoAndPlay("bol9");
if (((((((mc.balbal.bol && (!mc.balbal.helm)) && (!mc.balbal.mutslinks)) && (!mc.balbal.mutsrechts)) && (mc.balbal.kwart1kleur == "o")) && (mc.balbal.kwart2kleur == "b")) && (mc.balbal.kwart3kleur == "o")) && (mc.balbal.kwart4kleur == "b")) {
canProduce = false;
balproductie.nlevel = "l10";
mc.removeMovieClip();
balproductie.doos.levelbal.bol = true;
balproductie.doos.levelbal.helm = false;
balproductie.doos.levelbal.mutslinks = false;
balproductie.doos.levelbal.mutsrechts = false;
balproductie.doos.levelbal.kwart1kleur = "o";
balproductie.doos.levelbal.kwart2kleur = "b";
balproductie.doos.levelbal.kwart3kleur = "o";
balproductie.doos.levelbal.kwart4kleur = "b";
balproductie.doos.levelbal.gotoAndPlay("bol9");
balproductie.gotoAndPlay("moveout");
}
} else if (level == 10) {
if (toolused == 1) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "r";
mc.balbal.spin = false;
mc.balbal.bollen = false;
} else if (mc.producing) {
mc.balbal.bolkleur = "r";
if (!mc.balbal.spin) {
mc.balbal.bollen = false;
}
}
} else if (toolused == 2) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.spin = false;
mc.balbal.bollen = false;
} else if (mc.producing) {
if (mc.balbal.bolkleur == "r") {
mc.balbal.bolkleur = "rm";
} else {
mc.balbal.bolkleur = "w";
}
if (!mc.balbal.spin) {
if (mc.balbal.bollenkleur == "r") {
mc.balbal.bollenkleur = "rm";
} else {
mc.balbal.bollenkleur = "w";
}
}
}
} else if (toolused == 3) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.bollen = true;
mc.balbal.bollenkleur = "w";
mc.balbal.spin = true;
tool3.detail.gotoAndStop("spingone");
} else if (mc.producing) {
if (!mc.balbal.spin) {
tool3.detail.gotoAndStop("spingone");
mc.balbal.spin = true;
if (!mc.balbal.bollen) {
mc.balbal.bollen = true;
mc.balbal.bollenkleur = mc.balbal.bolkleur;
}
} else {
tool3.detail.gotoAndStop("spin");
mc.balbal.spin = false;
if (mc.balbal.bollen && (mc.balbal.bollenkleur == mc.balbal.bolkleur)) {
mc.balbal.bollen = false;
}
}
}
}
mc.balbal.gotoAndPlay("bol10");
if ((((mc.balbal.bol && (mc.balbal.bolkleur == "w")) && (!mc.balbal.spin)) && (mc.balbal.bollen)) && (mc.balbal.bollenkleur == "rm")) {
canProduce = false;
balproductie.nlevel = "l11";
mc.removeMovieClip();
balproductie.doos.levelbal.bol = true;
balproductie.doos.levelbal.bolkleur = "w";
balproductie.doos.levelbal.spin = false;
balproductie.doos.levelbal.bollen = true;
balproductie.doos.levelbal.bollenkleur = "rm";
balproductie.doos.levelbal.gotoAndPlay("bol10");
balproductie.gotoAndPlay("moveout");
}
} else if (level == 11) {
if (toolused == 1) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "y";
mc.balbal.helm = false;
mc.balbal.bolh = false;
mc.balbal.riemb = false;
mc.balbal.bandb1 = false;
mc.balbal.bandb2 = false;
} else if (mc.producing) {
mc.balbal.bolkleur = "y";
if (!mc.balbal.helm) {
mc.balbal.bolh = false;
}
if (!mc.balbal.riemb) {
mc.balbal.bandb2 = false;
}
if ((!mc.balbal.riemb) && (!mc.balbal.bolh)) {
mc.balbal.bandb1 = false;
}
}
} else if (toolused == 2) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "m";
mc.balbal.helm = false;
mc.balbal.bolh = false;
mc.balbal.riemb = false;
mc.balbal.bandb1 = false;
mc.balbal.bandb2 = false;
} else if (mc.producing) {
mc.balbal.bolkleur = "m";
if (!mc.balbal.helm) {
mc.balbal.bolh = false;
}
if (!mc.balbal.riemb) {
mc.balbal.bandb2 = false;
}
if ((!mc.balbal.riemb) && (!mc.balbal.bolh)) {
mc.balbal.bandb1 = false;
}
}
} else if (toolused == 3) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "z";
mc.balbal.helm = false;
mc.balbal.bolh = false;
mc.balbal.riemb = false;
mc.balbal.bandb1 = false;
mc.balbal.bandb2 = false;
} else if (mc.producing) {
mc.balbal.bolkleur = "z";
if (!mc.balbal.helm) {
mc.balbal.bolh = false;
}
if (!mc.balbal.riemb) {
mc.balbal.bandb2 = false;
}
if ((!mc.balbal.riemb) && (!mc.balbal.bolh)) {
mc.balbal.bandb1 = false;
}
}
} else if (toolused == 4) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "b";
mc.balbal.helm = false;
mc.balbal.bolh = false;
mc.balbal.riemb = false;
mc.balbal.bandb1 = false;
mc.balbal.bandb2 = false;
} else if (mc.producing) {
mc.balbal.bolkleur = "b";
if (!mc.balbal.helm) {
mc.balbal.bolh = false;
}
if (!mc.balbal.riemb) {
mc.balbal.bandb2 = false;
}
if ((!mc.balbal.riemb) && (!mc.balbal.bolh)) {
mc.balbal.bandb1 = false;
}
}
} else if (toolused == 5) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.helm = false;
mc.balbal.bolh = false;
mc.balbal.riemb = true;
mc.balbal.bandb1 = true;
mc.balbal.bandb1kleur = "w";
mc.balbal.bandb2 = true;
mc.balbal.bandb2kleur = "w";
tool5.detail.gotoAndStop("riembgone");
} else if (mc.producing) {
if ((!mc.balbal.riemb) && (!mc.balbal.helm)) {
tool5.detail.gotoAndStop("riembgone");
mc.balbal.riemb = true;
if (!mc.balbal.bandb1) {
if (mc.balbal.bolh) {
mc.balbal.bandb1kleur = mc.balbal.bolhkleur;
} else {
mc.balbal.bandb1kleur = mc.balbal.bolkleur;
}
mc.balbal.bandb1 = true;
}
if (!mc.balbal.bandb2) {
mc.balbal.bandb2kleur = mc.balbal.bolkleur;
mc.balbal.bandb2 = true;
}
} else if (mc.balbal.riemb && (!mc.balbal.helm)) {
tool5.detail.gotoAndStop("riemb");
mc.balbal.riemb = false;
if ((!mc.balbal.bolh) && (mc.balbal.bandb1kleur == mc.balbal.bolkleur)) {
mc.balbal.bandb1 = false;
}
if (mc.balbal.bandb2kleur == mc.balbal.bolkleur) {
mc.balbal.bandb2 = false;
}
}
}
} else if (toolused == 6) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.bolh = true;
mc.balbal.bolhkleur = "w";
mc.balbal.helm = true;
mc.balbal.riemb = false;
mc.balbal.bandb1 = false;
mc.balbal.bandb2 = false;
tool6.detail.gotoAndStop("helmgone");
} else if (mc.producing) {
if (!mc.balbal.helm) {
tool6.detail.gotoAndStop("helmgone");
mc.balbal.helm = true;
if (!mc.balbal.bolh) {
mc.balbal.bolh = true;
mc.balbal.bolhkleur = mc.balbal.bolkleur;
}
} else {
tool6.detail.gotoAndStop("helm");
mc.balbal.helm = false;
if (mc.balbal.bolhkleur == mc.balbal.bolkleur) {
mc.balbal.bolh = false;
}
}
}
}
mc.balbal.gotoAndPlay("bol11");
if (((((((((mc.balbal.bol && (mc.balbal.bolkleur == "b")) && (!mc.balbal.helm)) && (!mc.balbal.riemb)) && (mc.balbal.bolh)) && (mc.balbal.bolhkleur == "m")) && (mc.balbal.bandb1)) && (mc.balbal.bandb1kleur == "y")) && (mc.balbal.bandb2)) && (mc.balbal.bandb2kleur == "z")) {
canProduce = false;
balproductie.nlevel = "l12";
mc.removeMovieClip();
balproductie.doos.levelbal.bol = true;
balproductie.doos.levelbal.bolkleur = "b";
balproductie.doos.levelbal.helm = false;
balproductie.doos.levelbal.riem = false;
balproductie.doos.levelbal.bolh = true;
balproductie.doos.levelbal.bolhkleur = "m";
balproductie.doos.levelbal.bandb1 = true;
balproductie.doos.levelbal.bandb1kleur = "y";
balproductie.doos.levelbal.bandb2 = true;
balproductie.doos.levelbal.bandb2kleur = "z";
balproductie.doos.levelbal.gotoAndPlay("bol11");
balproductie.gotoAndPlay("moveout");
}
} else if (level == 12) {
if (toolused == 1) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "m";
mc.balbal.nbril = false;
mc.balbal.ogenr = false;
mc.balbal.ogenl = false;
mc.balbal.oogsprayl = false;
mc.balbal.oogsprayr = false;
mc.balbal.varkensneus = false;
mc.balbal.neusgatl = false;
mc.balbal.neusgatr = false;
} else if (mc.producing) {
mc.balbal.bolkleur = "m";
if (!mc.balbal.nbril) {
mc.balbal.ogenr = false;
mc.balbal.ogenl = false;
mc.balbal.oogsprayl = false;
mc.balbal.oogsprayr = false;
} else {
if (mc.balbal.oogsprayl && (mc.balbal.oogspraylniv > 3)) {
mc.balbal.oogspraylniv = 3;
}
if (mc.balbal.oogsprayr && (mc.balbal.oogsprayrniv > 3)) {
mc.balbal.oogsprayrniv = 3;
}
}
if (mc.balbal.varkensneus) {
mc.balbal.varkensneuskleur = "m";
}
}
} else if (toolused == 2) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.nbril = true;
mc.balbal.ogenr = true;
mc.balbal.ogenl = true;
mc.balbal.ogenkleurr = "w";
mc.balbal.ogenkleurl = "w";
mc.balbal.oogsprayl = false;
mc.balbal.oogsprayr = false;
mc.balbal.varkensneus = false;
mc.balbal.neusgatl = false;
mc.balbal.neusgatr = false;
tool2.detail.gotoAndStop("brilgone");
} else if (mc.producing) {
if (!mc.balbal.nbril) {
tool2.detail.gotoAndStop("brilgone");
mc.balbal.nbril = true;
if (!mc.balbal.ogenr) {
mc.balbal.ogenr = true;
mc.balbal.ogenkleurr = mc.balbal.bolkleur;
}
if (!mc.balbal.ogenl) {
mc.balbal.ogenl = true;
mc.balbal.ogenkleurl = mc.balbal.bolkleur;
}
} else {
tool2.detail.gotoAndStop("bril");
mc.balbal.nbril = false;
if (mc.balbal.ogenkleurr == mc.balbal.bolkleur) {
mc.balbal.ogenr = false;
}
if (mc.balbal.ogenkleurl == mc.balbal.bolkleur) {
mc.balbal.ogenl = false;
}
}
}
} else if (toolused == 3) {
_parent.sound_popout.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.nbril = false;
mc.balbal.ogenr = false;
mc.balbal.ogenl = false;
mc.balbal.oogsprayl = false;
mc.balbal.oogsprayr = false;
mc.balbal.varkensneus = true;
mc.balbal.varkensneuskleur = "w";
mc.balbal.neusgatl = false;
mc.balbal.neusgatr = false;
} else if (mc.producing) {
if (!mc.balbal.varkensneus) {
mc.balbal.varkensneus = true;
mc.balbal.varkensneuskleur = mc.balbal.bolkleur;
if (mc.balbal.neusgatl) {
mc.balbal.neusgatlpos = "uit2";
}
if (mc.balbal.neusgatr) {
mc.balbal.neusgatrpos = "uit2";
}
}
}
} else if (toolused == 4) {
_parent.sound_drill.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.nbril = false;
mc.balbal.ogenr = false;
mc.balbal.ogenl = false;
mc.balbal.oogsprayl = false;
mc.balbal.oogsprayr = false;
mc.balbal.varkensneus = false;
mc.balbal.neusgatl = false;
mc.balbal.neusgatr = true;
mc.balbal.neusgatrpos = "in";
} else if (mc.producing) {
if (!mc.balbal.varkensneus) {
if (!mc.balbal.neusgatr) {
mc.balbal.neusgatr = true;
mc.balbal.neusgatrpos = "in";
} else if (!mc.balbal.neusgatl) {
mc.balbal.neusgatl = true;
mc.balbal.neusgatlpos = "in";
}
} else if (!mc.balbal.neusgatr) {
mc.balbal.neusgatr = true;
mc.balbal.neusgatrpos = "uit1";
} else if (!mc.balbal.neusgatl) {
mc.balbal.neusgatl = true;
mc.balbal.neusgatlpos = "uit1";
}
}
} else if (toolused == 5) {
_parent.sound_spray.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.nbril = false;
mc.balbal.ogenr = false;
mc.balbal.ogenl = false;
mc.balbal.oogsprayl = false;
mc.balbal.oogsprayr = true;
mc.balbal.oogsprayrniv = 1;
mc.balbal.varkensneus = false;
mc.balbal.neusgatl = false;
mc.balbal.neusgatr = false;
} else if (mc.producing) {
if (!mc.balbal.nbril) {
if (!mc.balbal.oogsprayr) {
mc.balbal.oogsprayr = true;
mc.balbal.oogsprayrniv = 1;
} else if (!mc.balbal.oogsprayl) {
mc.balbal.oogsprayl = true;
mc.balbal.oogspraylniv = 1;
} else if ((mc.balbal.oogsprayrniv <= mc.balbal.oogspraylniv) && (mc.balbal.oogsprayrniv < 4)) {
mc.balbal.oogsprayrniv++;
} else if ((mc.balbal.oogspraylniv < mc.balbal.oogsprayrniv) && (mc.balbal.oogspraylniv < 4)) {
mc.balbal.oogspraylniv++;
}
}
}
}
mc.balbal.gotoAndPlay("bol12");
if ((((((((((((((((mc.balbal.bol && (mc.balbal.bolkleur == "m")) && (!mc.balbal.nbril)) && (mc.balbal.ogenr)) && (mc.balbal.ogenkleurr == "w")) && (mc.balbal.ogenl)) && (mc.balbal.ogenkleurl == "w")) && (mc.balbal.oogsprayl)) && (mc.balbal.oogspraylniv == 1)) && (mc.balbal.oogsprayr)) && (mc.balbal.oogsprayrniv == 1)) && (mc.balbal.varkensneus)) && (mc.balbal.varkensneuskleur == "m")) && (mc.balbal.neusgatl)) && (mc.balbal.neusgatlpos == "uit2")) && (mc.balbal.neusgatr)) && (mc.balbal.neusgatrpos == "uit2")) {
canProduce = false;
balproductie.nlevel = "l13";
mc.removeMovieClip();
balproductie.doos.levelbal.bol = true;
balproductie.doos.levelbal.bolkleur = "m";
balproductie.doos.levelbal.nbril = false;
balproductie.doos.levelbal.ogenr = true;
balproductie.doos.levelbal.ogenkleurr = "w";
balproductie.doos.levelbal.ogenl = true;
balproductie.doos.levelbal.ogenkleurl = "w";
balproductie.doos.levelbal.oogsprayl = true;
balproductie.doos.levelbal.oogspraylniv = 1;
balproductie.doos.levelbal.oogsprayr = true;
balproductie.doos.levelbal.oogsprayrniv = 1;
balproductie.doos.levelbal.varkensneus = true;
balproductie.doos.levelbal.varkensneuskleur = "m";
balproductie.doos.levelbal.neusgatl = true;
balproductie.doos.levelbal.neusgatlpos = "uit2";
balproductie.doos.levelbal.neusgatr = true;
balproductie.doos.levelbal.neusgatrpos = "uit2";
balproductie.doos.levelbal.gotoAndPlay("bol12");
balproductie.gotoAndPlay("moveout");
}
} else if (level == 13) {
if (toolused == 1) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "z";
mc.balbal.oorbal = false;
mc.balbal.oorbalklein = false;
mc.balbal.phone = false;
mc.balbal.phoneklein = false;
} else if (mc.producing) {
mc.balbal.bolkleur = "z";
if ((!mc.balbal.phone) && (!mc.balbal.phoneklein)) {
mc.balbal.oorbal = false;
mc.balbal.oorbalklein = false;
} else if (mc.balbal.phoneklein) {
mc.balbal.oorbal = false;
}
}
} else if (toolused == 2) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.oorbal = false;
mc.balbal.oorbalklein = false;
mc.balbal.phone = false;
mc.balbal.phoneklein = false;
} else if (mc.producing) {
if (mc.balbal.bolkleur == "z") {
mc.balbal.bolkleur = "zm";
} else {
mc.balbal.bolkleur = "w";
}
if ((!mc.balbal.phone) && (!mc.balbal.phoneklein)) {
if (mc.balbal.oorbal) {
if (mc.balbal.oorbalkleur == "z") {
mc.balbal.oorbalkleur = "zm";
} else {
mc.balbal.oorbalkleur = "w";
}
}
if (mc.balbal.oorbalklein) {
if (mc.balbal.oorbalkleinkleur == "z") {
mc.balbal.oorbalkleinkleur = "zm";
} else {
mc.balbal.oorbalkleinkleur = "w";
}
}
} else if (mc.balbal.phoneklein) {
if (mc.balbal.oorbal) {
if (mc.balbal.oorbalkleur == "z") {
mc.balbal.oorbalkleur = "zm";
} else {
mc.balbal.oorbalkleur = "w";
}
}
}
}
} else if (toolused == 3) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.oorbal = false;
mc.balbal.oorbalklein = true;
mc.balbal.oorbalkleinkleur = "w";
mc.balbal.phone = false;
mc.balbal.phoneklein = true;
tool3.detail.gotoAndStop("phonekleingone");
} else if (mc.producing) {
if ((!mc.balbal.phoneklein) && (!mc.balbal.phone)) {
tool3.detail.gotoAndStop("phonekleingone");
mc.balbal.phoneklein = true;
if ((!mc.balbal.oorbalklein) && (!mc.balbal.oorbal)) {
mc.balbal.oorbalklein = true;
mc.balbal.oorbalkleinkleur = mc.balbal.bolkleur;
} else if ((!mc.balbal.oorbalklein) && mc.balbal.oorbal) {
mc.balbal.oorbalklein = true;
mc.balbal.oorbalkleinkleur = mc.balbal.oorbalkleur;
}
} else if (mc.balbal.phoneklein) {
tool3.detail.gotoAndStop("phoneklein");
mc.balbal.phoneklein = false;
if ((mc.balbal.oorbal && mc.balbal.oorbalklein) && (mc.balbal.oorbalkleur == mc.balbal.oorbalkleinkleur)) {
mc.balbal.oorbalklein = false;
} else if (((!mc.balbal.oorbal) && mc.balbal.oorbalklein) && (mc.balbal.oorbalkleinkleur == mc.balbal.bolkleur)) {
mc.balbal.oorbalklein = false;
}
}
}
} else {
(toolused);// not popped
}
mc.balbal.gotoAndPlay("bol13");
if (((((((mc.balbal.bol && (mc.balbal.bolkleur == "zm")) && (mc.balbal.oorbal)) && (mc.balbal.oorbalkleur == "w")) && (mc.balbal.oorbalklein)) && (mc.balbal.oorbalkleinkleur == "z")) && (!mc.balbal.phone)) && (!mc.balbal.phoneklein)) {
canProduce = false;
balproductie.nlevel = "l14";
mc.removeMovieClip();
balproductie.doos.levelbal.bol = true;
balproductie.doos.levelbal.bolkleur = "zm";
balproductie.doos.levelbal.oorbal = true;
balproductie.doos.levelbal.oorbalkleur = "w";
balproductie.doos.levelbal.oorbalklein = true;
balproductie.doos.levelbal.oorbalkleinkleur = "z";
balproductie.doos.levelbal.phone = false;
balproductie.doos.levelbal.phoneklein = false;
balproductie.doos.levelbal.gotoAndPlay("bol13");
balproductie.gotoAndPlay("moveout");
}
} else if (level == 14) {
if (toolused == 1) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "o";
mc.balbal.nbril = false;
mc.balbal.ogenr = false;
mc.balbal.ogenl = false;
mc.balbal.oogsprayl = false;
mc.balbal.oogsprayr = false;
mc.balbal.oorlniv = 0;
mc.balbal.oorrniv = 0;
} else if (mc.producing) {
mc.balbal.bolkleur = "o";
if (!mc.balbal.nbril) {
mc.balbal.ogenr = false;
mc.balbal.ogenl = false;
mc.balbal.oogsprayl = false;
mc.balbal.oogsprayr = false;
} else {
if (mc.balbal.oogsprayl && (mc.balbal.oogspraylniv > 3)) {
mc.balbal.oogspraylniv = 3;
}
if (mc.balbal.oogsprayr && (mc.balbal.oogsprayrniv > 3)) {
mc.balbal.oogsprayrniv = 3;
}
}
}
} else if (toolused == 2) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.nbril = true;
mc.balbal.ogenr = true;
mc.balbal.ogenl = true;
mc.balbal.ogenkleurr = "w";
mc.balbal.ogenkleurl = "w";
mc.balbal.oogsprayl = false;
mc.balbal.oogsprayr = false;
mc.balbal.oorlniv = 0;
mc.balbal.oorrniv = 0;
tool2.detail.gotoAndStop("brilgone");
} else if (mc.producing) {
if (!mc.balbal.nbril) {
tool2.detail.gotoAndStop("brilgone");
mc.balbal.nbril = true;
if (!mc.balbal.ogenr) {
mc.balbal.ogenr = true;
mc.balbal.ogenkleurr = mc.balbal.bolkleur;
}
if (!mc.balbal.ogenl) {
mc.balbal.ogenl = true;
mc.balbal.ogenkleurl = mc.balbal.bolkleur;
}
} else {
tool2.detail.gotoAndStop("bril");
mc.balbal.nbril = false;
if (mc.balbal.ogenkleurr == mc.balbal.bolkleur) {
mc.balbal.ogenr = false;
}
if (mc.balbal.ogenkleurl == mc.balbal.bolkleur) {
mc.balbal.ogenl = false;
}
}
}
} else if (toolused == 3) {
_parent.sound_popout.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.nbril = false;
mc.balbal.ogenr = false;
mc.balbal.ogenl = false;
mc.balbal.oogsprayl = false;
mc.balbal.oogsprayr = false;
mc.balbal.oorlniv = 1;
mc.balbal.oorlkleur = "w";
mc.balbal.oorrniv = 0;
} else if (mc.producing) {
if (mc.balbal.oorlniv == 0) {
mc.balbal.oorlniv = 1;
mc.balbal.oorlkleur = mc.balbal.bolkleur;
} else if (mc.balbal.oorlniv == 1) {
mc.balbal.oorlniv = 2;
} else {
_parent.sound_pop.start();
mc.attachMovie("bal", "critter_mc" + (extratel++), 0);
mc.producing = false;
produced = false;
tool2.detail.gotoAndStop("bril");
}
}
} else if (toolused == 4) {
_parent.sound_popout.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.nbril = false;
mc.balbal.ogenr = false;
mc.balbal.ogenl = false;
mc.balbal.oogsprayl = false;
mc.balbal.oogsprayr = false;
mc.balbal.oorrniv = 1;
mc.balbal.oorrkleur = "w";
mc.balbal.oorlniv = 0;
} else if (mc.producing) {
if (mc.balbal.oorrniv == 0) {
mc.balbal.oorrniv = 1;
mc.balbal.oorrkleur = mc.balbal.bolkleur;
} else if (mc.balbal.oorrniv == 1) {
mc.balbal.oorrniv = 2;
} else {
_parent.sound_pop.start();
mc.attachMovie("bal", "critter_mc" + (extratel++), 0);
mc.producing = false;
produced = false;
tool2.detail.gotoAndStop("bril");
}
}
} else if (toolused == 5) {
_parent.sound_spray.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.nbril = false;
mc.balbal.ogenr = false;
mc.balbal.ogenl = false;
mc.balbal.oogsprayl = false;
mc.balbal.oogsprayr = true;
mc.balbal.oogsprayrniv = 1;
mc.balbal.oorlniv = 0;
mc.balbal.oorrniv = 0;
} else if (mc.producing) {
if (!mc.balbal.nbril) {
if (!mc.balbal.oogsprayr) {
mc.balbal.oogsprayr = true;
mc.balbal.oogsprayrniv = 1;
} else if (!mc.balbal.oogsprayl) {
mc.balbal.oogsprayl = true;
mc.balbal.oogspraylniv = 1;
} else if ((mc.balbal.oogsprayrniv <= mc.balbal.oogspraylniv) && (mc.balbal.oogsprayrniv < 4)) {
mc.balbal.oogsprayrniv++;
} else if ((mc.balbal.oogspraylniv < mc.balbal.oogsprayrniv) && (mc.balbal.oogspraylniv < 4)) {
mc.balbal.oogspraylniv++;
}
}
}
} else if (toolused == 6) {
_parent.sound_shovel.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.nbril = false;
mc.balbal.ogenr = false;
mc.balbal.ogenl = false;
mc.balbal.oogsprayl = false;
mc.balbal.oogsprayr = false;
mc.balbal.oorlniv = 0;
mc.balbal.oorrniv = 0;
} else if (mc.producing) {
mc.balbal.bolkleur = "w";
if (!mc.balbal.nbril) {
mc.balbal.ogenr = false;
mc.balbal.ogenl = false;
mc.balbal.oogsprayl = false;
mc.balbal.oogsprayr = false;
} else {
if (mc.balbal.oogsprayl && (mc.balbal.oogspraylniv > 3)) {
mc.balbal.oogspraylniv = 3;
}
if (mc.balbal.oogsprayr && (mc.balbal.oogsprayrniv > 3)) {
mc.balbal.oogsprayrniv = 3;
}
}
if (mc.balbal.oorrniv > 0) {
mc.balbal.oorrkleur = "w";
}
if (mc.balbal.oorlniv > 0) {
mc.balbal.oorlkleur = "w";
}
}
}
mc.balbal.gotoAndPlay("bol14");
if ((((((((((((((mc.balbal.bol && (mc.balbal.bolkleur == "w")) && (!mc.balbal.nbril)) && (mc.balbal.ogenr)) && (mc.balbal.ogenkleurr == "o")) && (mc.balbal.ogenl)) && (mc.balbal.ogenkleurl == "o")) && (mc.balbal.oogsprayr)) && (mc.balbal.oogsprayrniv == 1)) && (mc.balbal.oogsprayl)) && (mc.balbal.oogspraylniv == 1)) && (mc.balbal.oorlniv == 2)) && (mc.balbal.oorlkleur == "w")) && (mc.balbal.oorrniv == 2)) && (mc.balbal.oorrkleur == "w")) {
canProduce = false;
balproductie.nlevel = "l15";
mc.removeMovieClip();
balproductie.doos.levelbal.bol = true;
balproductie.doos.levelbal.bolkleur = "w";
balproductie.doos.levelbal.nbril = false;
balproductie.doos.levelbal.ogenr = true;
balproductie.doos.levelbal.ogenkleurr = "o";
balproductie.doos.levelbal.ogenl = true;
balproductie.doos.levelbal.ogenkleurl = "o";
balproductie.doos.levelbal.oogsprayr = true;
balproductie.doos.levelbal.oogsprayrniv = 1;
balproductie.doos.levelbal.oogsprayl = true;
balproductie.doos.levelbal.oogspraylniv = 1;
balproductie.doos.levelbal.oorlniv = 2;
balproductie.doos.levelbal.oorlkleur = "w";
balproductie.doos.levelbal.oorrniv = 2;
balproductie.doos.levelbal.oorrkleur = "w";
balproductie.doos.levelbal.gotoAndPlay("bol14");
balproductie.gotoAndPlay("moveout");
}
} else if (level == 15) {
if (toolused == 1) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "b";
mc.balbal.helm = false;
mc.balbal.bolh = false;
mc.balbal.riemb = false;
mc.balbal.bandb1 = false;
mc.balbal.bandb2 = false;
} else if (mc.producing) {
mc.balbal.bolkleur = "b";
if (!mc.balbal.helm) {
mc.balbal.bolh = false;
}
if (!mc.balbal.riemb) {
mc.balbal.bandb2 = false;
}
if ((!mc.balbal.riemb) && (!mc.balbal.bolh)) {
mc.balbal.bandb1 = false;
}
}
} else if (toolused == 2) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.helm = false;
mc.balbal.bolh = false;
mc.balbal.riemb = false;
mc.balbal.bandb1 = false;
mc.balbal.bandb2 = false;
} else if (mc.producing) {
if (mc.balbal.bolkleur == "b") {
mc.balbal.bolkleur = "bm";
} else {
mc.balbal.bolkleur = "w";
}
if (!mc.balbal.helm) {
if (mc.balbal.bolh) {
if (mc.balbal.bolhkleur == "b") {
mc.balbal.bolhkleur = "bm";
} else {
mc.balbal.bolhkleur = "w";
}
}
}
if (!mc.balbal.riemb) {
if (mc.balbal.bandb2) {
if (mc.balbal.bandb2kleur == "b") {
mc.balbal.bandb2kleur = "bm";
} else {
mc.balbal.bandb2kleur = "w";
}
}
}
if ((!mc.balbal.riemb) && (!mc.balbal.bolh)) {
if (mc.balbal.bandb1) {
if (mc.balbal.bandb1kleur == "b") {
mc.balbal.bandb1kleur = "bm";
} else {
mc.balbal.bandb1kleur = "w";
}
}
}
}
} else if (toolused == 3) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.helm = false;
mc.balbal.bolh = false;
mc.balbal.riemb = true;
mc.balbal.bandb1 = true;
mc.balbal.bandb1kleur = "w";
mc.balbal.bandb2 = true;
mc.balbal.bandb2kleur = "w";
tool3.detail.gotoAndStop("riembgone");
} else if (mc.producing) {
if ((!mc.balbal.riemb) && (!mc.balbal.helm)) {
tool3.detail.gotoAndStop("riembgone");
mc.balbal.riemb = true;
if (!mc.balbal.bandb1) {
if (mc.balbal.bolh) {
mc.balbal.bandb1kleur = mc.balbal.bolhkleur;
} else {
mc.balbal.bandb1kleur = mc.balbal.bolkleur;
}
mc.balbal.bandb1 = true;
}
if (!mc.balbal.bandb2) {
mc.balbal.bandb2kleur = mc.balbal.bolkleur;
mc.balbal.bandb2 = true;
}
} else if (mc.balbal.riemb && (!mc.balbal.helm)) {
tool3.detail.gotoAndStop("riemb");
mc.balbal.riemb = false;
if ((!mc.balbal.bolh) && (mc.balbal.bandb1kleur == mc.balbal.bolkleur)) {
mc.balbal.bandb1 = false;
}
if (mc.balbal.bandb2kleur == mc.balbal.bolkleur) {
mc.balbal.bandb2 = false;
}
}
}
} else if (toolused == 4) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.bolh = true;
mc.balbal.bolhkleur = "w";
mc.balbal.helm = true;
mc.balbal.riemb = false;
mc.balbal.bandb1 = false;
mc.balbal.bandb2 = false;
tool4.detail.gotoAndStop("helmgone");
} else if (mc.producing) {
if (!mc.balbal.helm) {
tool4.detail.gotoAndStop("helmgone");
mc.balbal.helm = true;
if (!mc.balbal.bolh) {
mc.balbal.bolh = true;
mc.balbal.bolhkleur = mc.balbal.bolkleur;
}
} else {
tool4.detail.gotoAndStop("helm");
mc.balbal.helm = false;
if (mc.balbal.bolhkleur == mc.balbal.bolkleur) {
mc.balbal.bolh = false;
}
}
}
}
mc.balbal.gotoAndPlay("bol15");
if (((((((((mc.balbal.bol && (mc.balbal.bolkleur == "b")) && (!mc.balbal.helm)) && (!mc.balbal.riemb)) && (mc.balbal.bolh)) && (mc.balbal.bolhkleur == "bm")) && (mc.balbal.bandb1)) && (mc.balbal.bandb1kleur == "b")) && (mc.balbal.bandb2)) && (mc.balbal.bandb2kleur == "bm")) {
canProduce = false;
balproductie.nlevel = "l16";
mc.removeMovieClip();
balproductie.doos.levelbal.bol = true;
balproductie.doos.levelbal.bolkleur = "b";
balproductie.doos.levelbal.helm = false;
balproductie.doos.levelbal.riem = false;
balproductie.doos.levelbal.bolh = true;
balproductie.doos.levelbal.bolhkleur = "bm";
balproductie.doos.levelbal.bandb1 = true;
balproductie.doos.levelbal.bandb1kleur = "b";
balproductie.doos.levelbal.bandb2 = true;
balproductie.doos.levelbal.bandb2kleur = "bm";
balproductie.doos.levelbal.gotoAndPlay("bol15");
balproductie.gotoAndPlay("moveout");
}
} else if (level == 16) {
if (toolused == 1) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "z";
mc.balbal.zwembril = false;
mc.balbal.zwembrilogen = false;
mc.balbal.mondlap = false;
mc.balbal.lap = false;
mc.balbal.pacman = false;
mc.balbal.pacmanklein = false;
} else if (mc.producing) {
mc.balbal.bolkleur = "z";
if (!mc.balbal.zwembril) {
mc.balbal.zwembrilogen = false;
}
if (!mc.balbal.mondlap) {
if (mc.balbal.lap) {
mc.balbal.lap = false;
}
if (mc.balbal.pacmanklein) {
mc.balbal.pacmankleinkleur = "z";
}
if (mc.balbal.pacman) {
mc.balbal.pacmankleur = "z";
}
}
}
} else if (toolused == 2) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "y";
mc.balbal.zwembril = false;
mc.balbal.zwembrilogen = false;
mc.balbal.mondlap = false;
mc.balbal.lap = false;
mc.balbal.pacman = false;
mc.balbal.pacmanklein = false;
} else if (mc.producing) {
mc.balbal.bolkleur = "y";
if (!mc.balbal.zwembril) {
mc.balbal.zwembrilogen = false;
}
if (!mc.balbal.mondlap) {
if (mc.balbal.lap) {
mc.balbal.lap = false;
}
if (mc.balbal.pacmanklein) {
mc.balbal.pacmankleinkleur = "y";
}
if (mc.balbal.pacman) {
mc.balbal.pacmankleur = "y";
}
}
}
} else if (toolused == 3) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "r";
mc.balbal.zwembril = false;
mc.balbal.zwembrilogen = false;
mc.balbal.mondlap = false;
mc.balbal.lap = false;
mc.balbal.pacman = false;
mc.balbal.pacmanklein = false;
} else if (mc.producing) {
mc.balbal.bolkleur = "r";
if (!mc.balbal.zwembril) {
mc.balbal.zwembrilogen = false;
}
if (!mc.balbal.mondlap) {
if (mc.balbal.lap) {
mc.balbal.lap = false;
}
if (mc.balbal.pacmanklein) {
mc.balbal.pacmankleinkleur = "r";
}
if (mc.balbal.pacman) {
mc.balbal.pacmankleur = "r";
}
}
}
} else if (toolused == 4) {
_parent.sound_chop.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.zwembril = false;
mc.balbal.zwembrilogen = false;
mc.balbal.mondlap = false;
mc.balbal.lap = false;
mc.balbal.pacman = false;
mc.balbal.pacmanklein = true;
mc.balbal.pacmankleinkleur = "w";
} else if (mc.producing) {
if (((!mc.balbal.mondlap) && (!mc.balbal.pacmanklein)) && (!mc.balbal.pacman)) {
mc.balbal.pacmanklein = true;
mc.balbal.pacmankleinkleur = "w";
} else if ((!mc.balbal.mondlap) && mc.balbal.pacmanklein) {
mc.balbal.pacmanklein = false;
mc.balbal.lap = false;
mc.balbal.pacman = true;
mc.balbal.pacmankleur = "w";
}
}
} else if (toolused == 5) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.zwembril = false;
mc.balbal.zwembrilogen = false;
mc.balbal.mondlap = true;
mc.balbal.lap = true;
mc.balbal.lapkleur = "w";
mc.balbal.pacman = false;
mc.balbal.pacmanklein = false;
tool5.detail.gotoAndStop("mondlapgone");
} else if (mc.producing) {
if (!mc.balbal.mondlap) {
tool5.detail.gotoAndStop("mondlapgone");
mc.balbal.mondlap = true;
if (!mc.balbal.pacman) {
if (!mc.balbal.lap) {
mc.balbal.lapkleur = mc.balbal.bolkleur;
}
mc.balbal.lap = true;
}
} else {
tool5.detail.gotoAndStop("mondlap");
mc.balbal.mondlap = false;
if ((mc.balbal.lap && (!mc.balbal.pacman)) && (mc.balbal.lapkleur == mc.balbal.bolkleur)) {
mc.balbal.lap = false;
}
}
}
} else if (toolused == 6) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.zwembril = true;
mc.balbal.zwembrilogen = true;
mc.balbal.zwembrilogenkleur = "w";
mc.balbal.mondlap = false;
mc.balbal.lap = false;
mc.balbal.pacman = false;
mc.balbal.pacmanklein = false;
tool6.detail.gotoAndStop("zwembrilgone");
} else if (mc.producing) {
if (!mc.balbal.zwembril) {
tool6.detail.gotoAndStop("zwembrilgone");
mc.balbal.zwembril = true;
if (!mc.balbal.zwembrilogen) {
mc.balbal.zwembrilogen = true;
mc.balbal.zwembrilogenkleur = mc.balbal.bolkleur;
}
} else {
tool6.detail.gotoAndStop("zwembril");
mc.balbal.zwembril = false;
if (mc.balbal.zwembrilogenkleur == mc.balbal.bolkleur) {
mc.balbal.zwembrilogen = false;
}
}
}
}
mc.balbal.gotoAndPlay("bol16");
if ((((((((((mc.balbal.bol && (mc.balbal.bolkleur == "y")) && (!mc.balbal.zwembril)) && mc.balbal.zwembrilogen) && (mc.balbal.zwembrilogenkleur == "z")) && (!mc.balbal.mondlap)) && mc.balbal.lap) && (mc.balbal.lapkleur == "r")) && (!mc.balbal.pacman)) && mc.balbal.pacmanklein) && (mc.balbal.pacmankleinkleur == "w")) {
canProduce = false;
balproductie.nlevel = "l17";
mc.removeMovieClip();
balproductie.doos.levelbal.bol = true;
balproductie.doos.levelbal.bolkleur = "y";
balproductie.doos.levelbal.zwembril = false;
balproductie.doos.levelbal.zwembrilogen = true;
balproductie.doos.levelbal.zwembrilogenkleur = "z";
balproductie.doos.levelbal.mondlap = false;
balproductie.doos.levelbal.lap = true;
balproductie.doos.levelbal.lapkleur = "r";
balproductie.doos.levelbal.pacman = false;
balproductie.doos.levelbal.pacmanklein = true;
balproductie.doos.levelbal.pacmankleinkleur = "w";
balproductie.doos.levelbal.gotoAndPlay("bol16");
balproductie.gotoAndPlay("moveout");
}
}
}
function logica3(toolused, mc) {
mc._x = prodx;
mc._y = prody;
if (level == 17) {
if (toolused == 1) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "b";
mc.balbal.oogsprayl = false;
mc.balbal.oogsprayr = false;
mc.balbal.oorlniv = 0;
mc.balbal.oorrniv = 0;
mc.balbal.neusniv = 0;
mc.balbal.neusdip = false;
mc.balbal.neusstempel = false;
} else if (mc.producing) {
if (mc.balbal.neusniv != 2) {
mc.balbal.bolkleur = "b";
mc.balbal.neusstempel = false;
mc.balbal.oogsprayl = false;
mc.balbal.oogsprayr = false;
} else {
mc.balbal.neusdip = true;
mc.balbal.neusdipkleur = "b";
}
if (mc.balbal.neusniv == 1) {
mc.balbal.neuskleur = "b";
}
}
} else if (toolused == 2) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "r";
mc.balbal.oogsprayl = false;
mc.balbal.oogsprayr = false;
mc.balbal.oorlniv = 0;
mc.balbal.oorrniv = 0;
mc.balbal.neusniv = 0;
mc.balbal.neusdip = false;
mc.balbal.neusstempel = false;
} else if (mc.producing) {
if (mc.balbal.neusniv != 2) {
mc.balbal.bolkleur = "r";
mc.balbal.neusstempel = false;
mc.balbal.oogsprayl = false;
mc.balbal.oogsprayr = false;
} else {
mc.balbal.neusdip = true;
mc.balbal.neusdipkleur = "r";
}
if (mc.balbal.neusniv == 1) {
mc.balbal.neuskleur = "r";
}
}
} else if (toolused == 3) {
_parent.sound_spray.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.oogsprayl = false;
mc.balbal.oogsprayr = true;
mc.balbal.oogsprayrniv = 1;
mc.balbal.oorlniv = 0;
mc.balbal.oorrniv = 0;
mc.balbal.neusniv = 0;
mc.balbal.neusdip = false;
mc.balbal.neusstempel = false;
} else if (mc.producing) {
if (!mc.balbal.oogsprayr) {
mc.balbal.oogsprayr = true;
mc.balbal.oogsprayrniv = 1;
} else if (!mc.balbal.oogsprayl) {
mc.balbal.oogsprayl = true;
mc.balbal.oogspraylniv = 1;
} else if ((mc.balbal.oogsprayrniv <= mc.balbal.oogspraylniv) && (mc.balbal.oogsprayrniv < 4)) {
mc.balbal.oogsprayrniv++;
} else if ((mc.balbal.oogspraylniv < mc.balbal.oogsprayrniv) && (mc.balbal.oogspraylniv < 4)) {
mc.balbal.oogspraylniv++;
}
}
} else if (toolused == 4) {
_parent.sound_thud.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.oogsprayl = false;
mc.balbal.oogsprayr = false;
mc.balbal.oorlniv = 0;
mc.balbal.oorrniv = 0;
mc.balbal.neusniv = 0;
mc.balbal.neusdip = false;
mc.balbal.neusstempel = true;
mc.balbal.stempelniv = 1;
} else if (mc.producing) {
mc.balbal.neusstempel = true;
if (mc.balbal.neusniv == 0) {
mc.balbal.stempelniv = 1;
} else if (mc.balbal.neusniv == 1) {
if (mc.balbal.neuskleur == "r") {
mc.balbal.neusstempel = false;
} else {
mc.balbal.stempelniv = 2;
}
} else if (mc.balbal.neusniv == 2) {
if (mc.balbal.neuskleur == "r") {
mc.balbal.neusstempel = false;
} else {
mc.balbal.stempelniv = 3;
}
}
}
} else if (toolused == 5) {
_parent.sound_popout.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.oogsprayl = false;
mc.balbal.oogsprayr = false;
mc.balbal.oorlniv = 1;
mc.balbal.oorlkleur = "w";
mc.balbal.oorrniv = 0;
mc.balbal.neusniv = 0;
mc.balbal.neusdip = false;
mc.balbal.neusstempel = false;
} else if (mc.producing) {
if (mc.balbal.oorlniv == 0) {
mc.balbal.oorlniv = 1;
mc.balbal.oorlkleur = mc.balbal.bolkleur;
} else if (mc.balbal.oorlniv == 1) {
mc.balbal.oorlniv = 2;
} else {
_parent.sound_pop.start();
mc.attachMovie("bal", "critter_mc" + (extratel++), 0);
mc.producing = false;
produced = false;
}
}
} else if (toolused == 6) {
_parent.sound_popout.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.nbril = false;
mc.balbal.ogenr = false;
mc.balbal.ogenl = false;
mc.balbal.oogsprayl = false;
mc.balbal.oogsprayr = false;
mc.balbal.oorrniv = 1;
mc.balbal.oorrkleur = "w";
mc.balbal.oorlniv = 0;
mc.balbal.neusniv = 0;
mc.balbal.neusdip = false;
mc.balbal.neusstempel = false;
} else if (mc.producing) {
if (mc.balbal.oorrniv == 0) {
mc.balbal.oorrniv = 1;
mc.balbal.oorrkleur = mc.balbal.bolkleur;
} else if (mc.balbal.oorrniv == 1) {
mc.balbal.oorrniv = 2;
} else {
_parent.sound_pop.start();
mc.attachMovie("bal", "critter_mc" + (extratel++), 0);
mc.producing = false;
produced = false;
}
}
} else if (toolused == 7) {
_parent.sound_popout.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.oogsprayl = false;
mc.balbal.oogsprayr = false;
mc.balbal.oorlniv = 0;
mc.balbal.oorrniv = 0;
mc.balbal.neusniv = 1;
mc.balbal.neuskleur = "w";
mc.balbal.neusdip = false;
mc.balbal.neusstempel = false;
} else if (mc.producing) {
if (mc.balbal.neusniv == 0) {
mc.balbal.neusniv = 1;
if (mc.balbal.neusstempel) {
mc.balbal.neuskleur = "r";
mc.balbal.neusstempel = false;
} else if (mc.balbal.oogsprayrniv == 4) {
mc.balbal.neuskleur = "z";
} else {
mc.balbal.neuskleur = mc.balbal.bolkleur;
}
} else if (mc.balbal.neusniv == 1) {
mc.balbal.neusniv = 2;
if (mc.balbal.neuskleur != "r") {
mc.balbal.stempelniv = 3;
}
} else {
_parent.sound_pop.start();
mc.attachMovie("bal", "critter_mc" + (extratel++), 0);
mc.producing = false;
produced = false;
}
}
}
trace("yep");
mc.balbal.gotoAndPlay("bol17");
if (((((((((((((mc.balbal.bol && (mc.balbal.bolkleur == "b")) && (mc.balbal.oogsprayr)) && (mc.balbal.oogsprayrniv == 2)) && (mc.balbal.oogsprayl)) && (mc.balbal.oogspraylniv == 2)) && (mc.balbal.oorlniv == 2)) && (mc.balbal.oorlkleur == "r")) && (mc.balbal.oorrniv == 2)) && (mc.balbal.oorrkleur == "r")) && (mc.balbal.neusniv == 2)) && (mc.balbal.neuskleur == "r")) && (!mc.balbal.neusdip)) && (!mc.balbal.neusstempel)) {
canProduce = false;
balproductie.nlevel = "l18";
mc.removeMovieClip();
balproductie.doos.levelbal.bol = true;
balproductie.doos.levelbal.bolkleur = "b";
balproductie.doos.levelbal.oogsprayr = true;
balproductie.doos.levelbal.oogsprayrniv = 2;
balproductie.doos.levelbal.oogsprayl = true;
balproductie.doos.levelbal.oogspraylniv = 2;
balproductie.doos.levelbal.oorlniv = 2;
balproductie.doos.levelbal.oorlkleur = "r";
balproductie.doos.levelbal.oorrniv = 2;
balproductie.doos.levelbal.oorrkleur = "r";
balproductie.doos.levelbal.neusniv = 2;
balproductie.doos.levelbal.neuskleur = "r";
balproductie.doos.levelbal.neusdip = false;
balproductie.doos.levelbal.neusstempel = false;
balproductie.doos.levelbal.gotoAndPlay("bol17");
balproductie.gotoAndPlay("moveout");
}
// unexpected jump
}
if (level == 18) {
if (toolused == 1) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "o";
mc.balbal.riem = false;
mc.balbal.riemb = false;
mc.balbal.riemv = false;
mc.balbal.r1 = "";
mc.balbal.r2 = "";
mc.balbal.r3 = "";
mc.balbal.b1 = "o";
mc.balbal.b2 = "o";
mc.balbal.b3 = "o";
mc.balbal.b4 = "o";
mc.balbal.b5 = "o";
mc.balbal.b6 = "o";
mc.balbal.b7 = "o";
} else if (mc.producing) {
mc.balbal.bolkleur = "o";
if (!mc.balbal.riemv) {
mc.balbal.b4 = "o";
}
if (!mc.balbal.riemb) {
mc.balbal.b1 = "o";
mc.balbal.b2 = "o";
}
if ((!mc.balbal.riem) && (!mc.balbal.riemb)) {
mc.balbal.b3 = "o";
}
if (((!mc.balbal.riem) && (!mc.balbal.riemb)) && (!mc.balbal.riemv)) {
mc.balbal.b6 = "o";
}
if ((!mc.balbal.riemv) && (!mc.balbal.riemb)) {
mc.balbal.b5 = "o";
mc.balbal.b7 = "o";
}
}
} else if (toolused == 2) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "b";
mc.balbal.riem = false;
mc.balbal.riemb = false;
mc.balbal.riemv = false;
mc.balbal.r1 = "";
mc.balbal.r2 = "";
mc.balbal.r3 = "";
mc.balbal.b1 = "b";
mc.balbal.b2 = "b";
mc.balbal.b3 = "b";
mc.balbal.b4 = "b";
mc.balbal.b5 = "b";
mc.balbal.b6 = "b";
mc.balbal.b7 = "b";
} else if (mc.producing) {
mc.balbal.bolkleur = "b";
if (!mc.balbal.riemv) {
mc.balbal.b4 = "b";
}
if (!mc.balbal.riemb) {
mc.balbal.b1 = "b";
mc.balbal.b2 = "b";
}
if ((!mc.balbal.riem) && (!mc.balbal.riemb)) {
mc.balbal.b3 = "b";
}
if (((!mc.balbal.riem) && (!mc.balbal.riemb)) && (!mc.balbal.riemv)) {
mc.balbal.b6 = "b";
}
if ((!mc.balbal.riemv) && (!mc.balbal.riemb)) {
mc.balbal.b5 = "b";
mc.balbal.b7 = "b";
}
}
} else if (toolused == 3) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.riem = true;
mc.balbal.riemb = false;
mc.balbal.riemv = false;
mc.balbal.r1 = "r";
mc.balbal.r2 = "";
mc.balbal.r3 = "";
mc.balbal.b1 = "w";
mc.balbal.b2 = "w";
mc.balbal.b3 = "w";
mc.balbal.b4 = "w";
mc.balbal.b5 = "w";
mc.balbal.b6 = "w";
mc.balbal.b7 = "w";
tool3.detail.gotoAndStop("riemgone");
} else if (mc.producing) {
if (!mc.balbal.riem) {
tool3.detail.gotoAndStop("riemgone");
mc.balbal.riem = true;
if (mc.balbal.r1 == "") {
mc.balbal.r1 = "r";
} else if (mc.balbal.r2 == "") {
mc.balbal.r2 = "r";
} else {
mc.balbal.r3 = "r";
}
} else if (((((mc.balbal.r1 == "r") && (mc.balbal.r2 == "")) && (mc.balbal.r3 == "")) || ((mc.balbal.r2 == "r") && (mc.balbal.r3 == ""))) || (mc.balbal.r3 == "r")) {
tool3.detail.gotoAndStop("riem");
mc.balbal.riem = false;
if ((mc.balbal.r2 == "") && (mc.balbal.r3 == "")) {
mc.balbal.r1 = "";
} else if (mc.balbal.r3 == "") {
mc.balbal.r2 = "";
} else {
mc.balbal.r3 = "";
}
}
}
} else if (toolused == 4) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.riemb = true;
mc.balbal.riem = false;
mc.balbal.riemv = false;
mc.balbal.r1 = "b";
mc.balbal.r2 = "";
mc.balbal.r3 = "";
mc.balbal.b1 = "w";
mc.balbal.b2 = "w";
mc.balbal.b3 = "w";
mc.balbal.b4 = "w";
mc.balbal.b5 = "w";
mc.balbal.b6 = "w";
mc.balbal.b7 = "w";
tool4.detail.gotoAndStop("riembgone");
} else if (mc.producing) {
if (!mc.balbal.riemb) {
tool4.detail.gotoAndStop("riembgone");
mc.balbal.riemb = true;
if (mc.balbal.r1 == "") {
mc.balbal.r1 = "b";
} else if (mc.balbal.r2 == "") {
mc.balbal.r2 = "b";
} else {
mc.balbal.r3 = "b";
}
} else if (((((mc.balbal.r1 == "b") && (mc.balbal.r2 == "")) && (mc.balbal.r3 == "")) || ((mc.balbal.r2 == "b") && (mc.balbal.r3 == ""))) || (mc.balbal.r3 == "b")) {
tool4.detail.gotoAndStop("riemb");
mc.balbal.riemb = false;
if ((mc.balbal.r2 == "") && (mc.balbal.r3 == "")) {
mc.balbal.r1 = "";
} else if (mc.balbal.r3 == "") {
mc.balbal.r2 = "";
} else {
mc.balbal.r3 = "";
}
}
}
} else if (toolused == 5) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.riemv = true;
mc.balbal.riem = false;
mc.balbal.riemb = false;
mc.balbal.r1 = "v";
mc.balbal.r2 = "";
mc.balbal.r3 = "";
mc.balbal.b1 = "w";
mc.balbal.b2 = "w";
mc.balbal.b3 = "w";
mc.balbal.b4 = "w";
mc.balbal.b5 = "w";
mc.balbal.b6 = "w";
mc.balbal.b7 = "w";
tool5.detail.gotoAndStop("riemvgone");
} else if (mc.producing) {
if (!mc.balbal.riemv) {
tool5.detail.gotoAndStop("riemvgone");
mc.balbal.riemv = true;
if (mc.balbal.r1 == "") {
mc.balbal.r1 = "v";
} else if (mc.balbal.r2 == "") {
mc.balbal.r2 = "v";
} else {
mc.balbal.r3 = "v";
}
} else if (((((mc.balbal.r1 == "v") && (mc.balbal.r2 == "")) && (mc.balbal.r3 == "")) || ((mc.balbal.r2 == "v") && (mc.balbal.r3 == ""))) || (mc.balbal.r3 == "v")) {
tool5.detail.gotoAndStop("riemv");
mc.balbal.riemv = false;
if ((mc.balbal.r2 == "") && (mc.balbal.r3 == "")) {
mc.balbal.r1 = "";
} else if (mc.balbal.r3 == "") {
mc.balbal.r2 = "";
} else {
mc.balbal.r3 = "";
}
}
}
}
mc.balbal.gotoAndPlay("bol18");
if (((((((((((mc.balbal.bol && (mc.balbal.bolkleur == "b")) && (!mc.balbal.riem)) && (!mc.balbal.riemb)) && (!mc.balbal.riemv)) && (mc.balbal.b1 == "o")) && (mc.balbal.b2 == "o")) && (mc.balbal.b3 == "b")) && (mc.balbal.b4 == "w")) && (mc.balbal.b5 == "w")) && (mc.balbal.b6 == "w")) && (mc.balbal.b7 == "w")) {
canProduce = false;
balproductie.nlevel = "l19";
mc.removeMovieClip();
balproductie.doos.levelbal.bol = true;
balproductie.doos.levelbal.bolkleur = "b";
balproductie.doos.levelbal.riem = false;
balproductie.doos.levelbal.riemb = false;
balproductie.doos.levelbal.riemv = false;
balproductie.doos.levelbal.b1 = "o";
balproductie.doos.levelbal.b2 = "o";
balproductie.doos.levelbal.b3 = "b";
balproductie.doos.levelbal.b4 = "w";
balproductie.doos.levelbal.b5 = "w";
balproductie.doos.levelbal.b6 = "w";
balproductie.doos.levelbal.b7 = "w";
balproductie.doos.levelbal.gotoAndPlay("bol18");
balproductie.gotoAndPlay("moveout");
}
// unexpected jump
}
if (level == 19) {
if (toolused == 1) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "z";
mc.balbal.nbril = false;
mc.balbal.ogenr = false;
mc.balbal.ogenl = false;
mc.balbal.oorlniv = 0;
mc.balbal.oorrniv = 0;
mc.balbal.brilletje = false;
mc.balbal.oogjes = false;
} else if (mc.producing) {
mc.balbal.bolkleur = "z";
if ((!mc.balbal.nbril) && (!mc.balbal.brilletje)) {
mc.balbal.oogjes = false;
mc.balbal.ogenr = false;
mc.balbal.ogenl = false;
} else if (mc.balbal.brilletje) {
mc.balbal.ogenr = false;
mc.balbal.ogenl = false;
}
}
} else if (toolused == 2) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "r";
mc.balbal.nbril = false;
mc.balbal.ogenr = false;
mc.balbal.ogenl = false;
mc.balbal.oorlniv = 0;
mc.balbal.oorrniv = 0;
mc.balbal.brilletje = false;
mc.balbal.oogjes = false;
} else if (mc.producing) {
mc.balbal.bolkleur = "r";
if ((!mc.balbal.nbril) && (!mc.balbal.brilletje)) {
mc.balbal.oogjes = false;
mc.balbal.ogenr = false;
mc.balbal.ogenl = false;
} else if (mc.balbal.brilletje) {
mc.balbal.ogenr = false;
mc.balbal.ogenl = false;
}
}
} else if (toolused == 3) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.nbril = false;
mc.balbal.ogenr = false;
mc.balbal.ogenl = false;
mc.balbal.oorlniv = 0;
mc.balbal.oorrniv = 0;
mc.balbal.brilletje = true;
mc.balbal.oogjes = true;
mc.balbal.oogjeskleur = "w";
tool3.detail.gotoAndStop("brilletjegone");
} else if (mc.producing) {
if ((!mc.balbal.brilletje) && (!mc.balbal.nbril)) {
tool3.detail.gotoAndStop("brilletjegone");
mc.balbal.brilletje = true;
if ((!mc.balbal.oogjes) && (!mc.balbal.ogenr)) {
mc.balbal.oogjes = true;
mc.balbal.oogjeskleur = mc.balbal.bolkleur;
} else if ((!mc.balbal.oogjes) && mc.balbal.ogenr) {
mc.balbal.oogjes = true;
mc.balbal.oogjeskleur = mc.balbal.ogenkleurr;
}
} else if (mc.balbal.brilletje) {
tool3.detail.gotoAndStop("brilletje");
mc.balbal.brilletje = false;
if ((mc.balbal.ogenr && mc.balbal.oogjes) && (mc.balbal.ogenkleurr == mc.balbal.oogjeskleur)) {
mc.balbal.oogjes = false;
} else if (((!mc.balbal.ogenr) && mc.balbal.oogjes) && (mc.balbal.oogjeskleur == mc.balbal.bolkleur)) {
mc.balbal.oogjes = false;
}
}
}
} else if (toolused == 4) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.nbril = true;
mc.balbal.ogenr = true;
mc.balbal.ogenl = true;
mc.balbal.ogenkleurr = "w";
mc.balbal.ogenkleurl = "w";
mc.balbal.oorlniv = 0;
mc.balbal.oorrniv = 0;
mc.balbal.brilletje = false;
mc.balbal.oogjes = false;
tool4.detail.gotoAndStop("brilgone");
} else if (mc.producing) {
if ((!mc.balbal.brilletje) && (!mc.balbal.nbril)) {
tool4.detail.gotoAndStop("brilgone");
mc.balbal.nbril = true;
if (!mc.balbal.ogenr) {
mc.balbal.ogenr = true;
mc.balbal.ogenkleurr = mc.balbal.bolkleur;
mc.balbal.ogenl = true;
mc.balbal.ogenkleurl = mc.balbal.bolkleur;
}
} else if (mc.balbal.nbril) {
tool4.detail.gotoAndStop("bril");
mc.balbal.nbril = false;
if (mc.balbal.ogenr && (mc.balbal.ogenkleurr == mc.balbal.bolkleur)) {
mc.balbal.ogenr = false;
mc.balbal.ogenl = false;
}
if (((!mc.balbal.ogenr) && mc.balbal.oogjes) && (mc.balbal.oogjeskleur == mc.balbal.bolkleur)) {
mc.balbal.oogjes = false;
}
}
}
} else if (toolused == 5) {
_parent.sound_popout.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.nbril = false;
mc.balbal.ogenr = false;
mc.balbal.ogenl = false;
mc.balbal.oorlniv = 1;
mc.balbal.oorlkleur = "w";
mc.balbal.oorrniv = 0;
mc.balbal.brilletje = false;
mc.balbal.oogjes = false;
} else if (mc.producing) {
if (mc.balbal.oorlniv == 0) {
mc.balbal.oorlniv = 1;
mc.balbal.oorlkleur = mc.balbal.bolkleur;
} else if (mc.balbal.oorlniv == 1) {
mc.balbal.oorlniv = 2;
} else {
_parent.sound_pop.start();
mc.attachMovie("bal", "critter_mc" + (extratel++), 0);
mc.producing = false;
produced = false;
tool3.detail.gotoAndStop("brilletje");
tool4.detail.gotoAndStop("bril");
}
}
} else if (toolused == 6) {
_parent.sound_popout.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.nbril = false;
mc.balbal.ogenr = false;
mc.balbal.ogenl = false;
mc.balbal.oorrniv = 1;
mc.balbal.oorrkleur = "w";
mc.balbal.oorlniv = 0;
mc.balbal.brilletje = false;
mc.balbal.oogjes = false;
} else if (mc.producing) {
if (mc.balbal.oorrniv == 0) {
mc.balbal.oorrniv = 1;
mc.balbal.oorrkleur = mc.balbal.bolkleur;
} else if (mc.balbal.oorrniv == 1) {
mc.balbal.oorrniv = 2;
} else {
_parent.sound_pop.start();
mc.attachMovie("bal", "critter_mc" + (extratel++), 0);
mc.producing = false;
produced = false;
tool3.detail.gotoAndStop("brilletje");
tool4.detail.gotoAndStop("bril");
}
}
} else if (toolused == 7) {
_parent.sound_shovel.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.nbril = false;
mc.balbal.ogenr = false;
mc.balbal.ogenl = false;
mc.balbal.oorlniv = 0;
mc.balbal.oorrniv = 0;
mc.balbal.brilletje = false;
mc.balbal.oogjes = false;
} else if (mc.producing) {
mc.balbal.bolkleur = "w";
if ((!mc.balbal.nbril) && (!mc.balbal.brilletje)) {
mc.balbal.oogjes = false;
mc.balbal.ogenr = false;
mc.balbal.ogenl = false;
} else if (mc.balbal.brilletje) {
mc.balbal.ogenr = false;
mc.balbal.ogenl = false;
}
if (mc.balbal.oorrniv > 0) {
mc.balbal.oorrkleur = "w";
}
if (mc.balbal.oorlniv > 0) {
mc.balbal.oorlkleur = "w";
}
}
}
mc.balbal.gotoAndPlay("bol19");
if (((((((((((((mc.balbal.bol && (mc.balbal.bolkleur == "r")) && (!mc.balbal.nbril)) && (mc.balbal.ogenr)) && (mc.balbal.ogenkleurr == "w")) && (mc.balbal.ogenl)) && (mc.balbal.ogenkleurl == "w")) && (mc.balbal.oorlniv == 1)) && (mc.balbal.oorlkleur == "z")) && (mc.balbal.oorrniv == 1)) && (mc.balbal.oorrkleur == "z")) && (!mc.balbal.brilletje)) && (mc.balbal.oogjes)) && (mc.balbal.oogjeskleur == "z")) {
canProduce = false;
balproductie.nlevel = "l20";
mc.removeMovieClip();
balproductie.doos.levelbal.bol = true;
balproductie.doos.levelbal.bolkleur = "r";
balproductie.doos.levelbal.nbril = false;
balproductie.doos.levelbal.ogenr = true;
balproductie.doos.levelbal.ogenkleurr = "w";
balproductie.doos.levelbal.ogenl = true;
balproductie.doos.levelbal.ogenkleurl = "w";
balproductie.doos.levelbal.oorlniv = 1;
balproductie.doos.levelbal.oorlkleur = "z";
balproductie.doos.levelbal.oorrniv = 1;
balproductie.doos.levelbal.oorrkleur = "z";
balproductie.doos.levelbal.brilletje = false;
balproductie.doos.levelbal.oogjes = true;
balproductie.doos.levelbal.oogjeskleur = "z";
balproductie.doos.levelbal.gotoAndPlay("bol19");
balproductie.gotoAndPlay("moveout");
}
// unexpected jump
}
if (level == 20) {
if (toolused == 1) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.mutslinks = false;
mc.balbal.mutsrechts = false;
mc.balbal.helm = false;
mc.balbal.kwart1kleur = "r";
mc.balbal.kwart2kleur = "r";
mc.balbal.kwart3kleur = "r";
mc.balbal.kwart4kleur = "r";
} else if (mc.producing) {
if (mc.balbal.helm) {
if (!mc.balbal.mutslinks) {
mc.balbal.kwart4kleur = "r";
}
if (!mc.balbal.mutsrechts) {
mc.balbal.kwart3kleur = "r";
}
} else {
if (!mc.balbal.mutslinks) {
mc.balbal.kwart4kleur = "r";
mc.balbal.kwart1kleur = "r";
}
if (!mc.balbal.mutsrechts) {
mc.balbal.kwart3kleur = "r";
mc.balbal.kwart2kleur = "r";
}
}
}
} else if (toolused == 2) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.mutslinks = false;
mc.balbal.mutsrechts = false;
mc.balbal.helm = false;
mc.balbal.kwart1kleur = "w";
mc.balbal.kwart2kleur = "w";
mc.balbal.kwart3kleur = "w";
mc.balbal.kwart4kleur = "w";
} else if (mc.producing) {
if (mc.balbal.helm) {
if (!mc.balbal.mutslinks) {
if (mc.balbal.kwart4kleur == "r") {
mc.balbal.kwart4kleur = "rm";
} else {
mc.balbal.kwart4kleur = "w";
}
}
if (!mc.balbal.mutsrechts) {
if (mc.balbal.kwart3kleur == "r") {
mc.balbal.kwart3kleur = "rm";
} else {
mc.balbal.kwart3kleur = "w";
}
}
} else {
if (!mc.balbal.mutslinks) {
if (mc.balbal.kwart4kleur == "r") {
mc.balbal.kwart4kleur = "rm";
} else {
mc.balbal.kwart4kleur = "w";
}
if (mc.balbal.kwart1kleur == "r") {
mc.balbal.kwart1kleur = "rm";
} else {
mc.balbal.kwart1kleur = "w";
}
}
if (!mc.balbal.mutsrechts) {
if (mc.balbal.kwart3kleur == "r") {
mc.balbal.kwart3kleur = "rm";
} else {
mc.balbal.kwart3kleur = "w";
}
if (mc.balbal.kwart2kleur == "r") {
mc.balbal.kwart2kleur = "rm";
} else {
mc.balbal.kwart2kleur = "w";
}
}
}
}
} else if (toolused == 3) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.mutslinks = true;
mc.balbal.mutsrechts = false;
mc.balbal.helm = false;
mc.balbal.kwart1kleur = "w";
mc.balbal.kwart2kleur = "w";
mc.balbal.kwart3kleur = "w";
mc.balbal.kwart4kleur = "w";
tool3.detail.gotoAndStop("mutslinksgone");
} else if (mc.producing) {
if ((!mc.balbal.mutslinks) && (!mc.balbal.helm)) {
tool3.detail.gotoAndStop("mutslinksgone");
mc.balbal.mutslinks = true;
} else if (mc.balbal.mutslinks && (!mc.balbal.helm)) {
tool3.detail.gotoAndStop("mutslinks");
mc.balbal.mutslinks = false;
}
}
} else if (toolused == 4) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.mutslinks = false;
mc.balbal.mutsrechts = true;
mc.balbal.helm = false;
mc.balbal.kwart1kleur = "w";
mc.balbal.kwart2kleur = "w";
mc.balbal.kwart3kleur = "w";
mc.balbal.kwart4kleur = "w";
tool4.detail.gotoAndStop("mutsrechtsgone");
} else if (mc.producing) {
if ((!mc.balbal.mutsrechts) && (!mc.balbal.helm)) {
tool4.detail.gotoAndStop("mutsrechtsgone");
mc.balbal.mutsrechts = true;
} else if (mc.balbal.mutsrechts && (!mc.balbal.helm)) {
tool4.detail.gotoAndStop("mutsrechts");
mc.balbal.mutsrechts = false;
}
}
} else if (toolused == 5) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.mutslinks = false;
mc.balbal.mutsrechts = false;
mc.balbal.helm = true;
mc.balbal.kwart1kleur = "w";
mc.balbal.kwart2kleur = "w";
mc.balbal.kwart3kleur = "w";
mc.balbal.kwart4kleur = "w";
tool5.detail.gotoAndStop("helmgone");
} else if (mc.producing) {
if (!mc.balbal.helm) {
tool5.detail.gotoAndStop("helmgone");
mc.balbal.helm = true;
} else {
tool5.detail.gotoAndStop("helm");
mc.balbal.helm = false;
}
}
}
mc.balbal.gotoAndPlay("bol20");
if (((((((mc.balbal.bol && (!mc.balbal.helm)) && (!mc.balbal.mutslinks)) && (!mc.balbal.mutsrechts)) && (mc.balbal.kwart1kleur == "rm")) && (mc.balbal.kwart2kleur == "w")) && (mc.balbal.kwart3kleur == "rm")) && (mc.balbal.kwart4kleur == "r")) {
canProduce = false;
balproductie.nlevel = "l21";
mc.removeMovieClip();
balproductie.doos.levelbal.bol = true;
balproductie.doos.levelbal.helm = false;
balproductie.doos.levelbal.mutslinks = false;
balproductie.doos.levelbal.mutsrechts = false;
balproductie.doos.levelbal.kwart1kleur = "rm";
balproductie.doos.levelbal.kwart2kleur = "w";
balproductie.doos.levelbal.kwart3kleur = "rm";
balproductie.doos.levelbal.kwart4kleur = "r";
balproductie.doos.levelbal.gotoAndPlay("bol20");
balproductie.gotoAndPlay("moveout");
}
// unexpected jump
}
if (level == 21) {
if (toolused == 1) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "b";
mc.balbal.brilletje = false;
mc.balbal.oogjes = false;
mc.balbal.oorlniv = 0;
mc.balbal.oorrniv = 0;
mc.balbal.neusniv = 0;
mc.balbal.neusdip = false;
} else if (mc.producing) {
if (mc.balbal.neusniv != 2) {
mc.balbal.bolkleur = "b";
mc.balbal.oogsprayl = false;
mc.balbal.oogsprayr = false;
} else {
mc.balbal.neusdip = true;
mc.balbal.neusdipkleur = "b";
}
if (mc.balbal.neusniv == 1) {
mc.balbal.neuskleur = "b";
}
}
} else if (toolused == 2) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.brilletje = false;
mc.balbal.oogjes = false;
mc.balbal.oorlniv = 0;
mc.balbal.oorrniv = 0;
mc.balbal.neusniv = 0;
mc.balbal.neusdip = false;
} else if (mc.producing) {
if (mc.balbal.neusniv != 2) {
if (mc.balbal.bolkleur == "b") {
mc.balbal.bolkleur = "bm";
} else {
mc.balbal.bolkleur = "w";
}
} else {
mc.balbal.neusdip = true;
}
if ((!mc.balbal.brilletje) && (mc.balbal.neusniv != 2)) {
if (mc.balbal.oogjes) {
if (mc.balbal.oogjeskleur == "z") {
mc.balbal.oogjeskleur = "zm";
}
if (mc.balbal.oogjeskleur == "b") {
mc.balbal.oogjeskleur = "bm";
} else {
mc.balbal.oogjeskleur = "w";
}
}
}
if (mc.balbal.neusniv == 1) {
if (mc.balbal.neuskleur == "b") {
mc.balbal.neuskleur = "bm";
} else {
mc.balbal.neuskleur = "w";
}
}
if (mc.balbal.neusdip) {
if (mc.balbal.neusdipkleur == "b") {
mc.balbal.neusdipkleur = "bm";
} else {
mc.balbal.neusdipkleur = "w";
}
}
}
} else if (toolused == 3) {
_parent.sound_popout.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.brilletje = false;
mc.balbal.oogjes = false;
mc.balbal.oorlniv = 0;
mc.balbal.oorrniv = 0;
mc.balbal.neusniv = 1;
mc.balbal.neuskleur = "w";
mc.balbal.neusdip = false;
} else if (mc.producing) {
if (mc.balbal.neusniv == 0) {
mc.balbal.neusniv = 1;
mc.balbal.neuskleur = mc.balbal.bolkleur;
} else if (mc.balbal.neusniv == 1) {
mc.balbal.neusniv = 2;
} else {
_parent.sound_pop.start();
mc.attachMovie("bal", "critter_mc" + (extratel++), 0);
mc.producing = false;
produced = false;
tool6.detail.gotoAndStop("brilletje");
}
}
} else if (toolused == 4) {
_parent.sound_popout.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.brilletje = false;
mc.balbal.oogjes = false;
mc.balbal.oorlniv = 1;
mc.balbal.oorlkleur = "w";
mc.balbal.oorrniv = 0;
mc.balbal.neusniv = 0;
mc.balbal.neusdip = false;
} else if (mc.producing) {
if (mc.balbal.oorlniv == 0) {
mc.balbal.oorlniv = 1;
mc.balbal.oorlkleur = mc.balbal.bolkleur;
} else if (mc.balbal.oorlniv == 1) {
mc.balbal.oorlniv = 2;
} else {
_parent.sound_pop.start();
mc.attachMovie("bal", "critter_mc" + (extratel++), 0);
mc.producing = false;
produced = false;
tool6.detail.gotoAndStop("brilletje");
}
}
} else if (toolused == 5) {
_parent.sound_popout.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.brilletje = false;
mc.balbal.oogjes = false;
mc.balbal.oorrniv = 1;
mc.balbal.oorrkleur = "w";
mc.balbal.oorlniv = 0;
mc.balbal.neusniv = 0;
mc.balbal.neusdip = false;
} else if (mc.producing) {
if (mc.balbal.oorrniv == 0) {
mc.balbal.oorrniv = 1;
mc.balbal.oorrkleur = mc.balbal.bolkleur;
} else if (mc.balbal.oorrniv == 1) {
mc.balbal.oorrniv = 2;
} else {
_parent.sound_pop.start();
mc.attachMovie("bal", "critter_mc" + (extratel++), 0);
mc.producing = false;
produced = false;
tool6.detail.gotoAndStop("brilletje");
}
}
} else if (toolused == 6) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.brilletje = true;
mc.balbal.oogjes = true;
mc.balbal.oogjeskleur = "w";
mc.balbal.oorlniv = 0;
mc.balbal.oorrniv = 0;
mc.balbal.neusniv = 0;
mc.balbal.neusdip = false;
tool6.detail.gotoAndStop("brilletjegone");
} else if (mc.producing) {
if (!mc.balbal.brilletje) {
tool6.detail.gotoAndStop("brilletjegone");
mc.balbal.brilletje = true;
if (!mc.balbal.oogjes) {
mc.balbal.oogjes = true;
mc.balbal.oogjeskleur = mc.balbal.bolkleur;
}
} else {
tool6.detail.gotoAndStop("brilletje");
mc.balbal.brilletje = false;
if (mc.balbal.oogjeskleur == mc.balbal.bolkleur) {
mc.balbal.oogjes = false;
}
}
}
}
mc.balbal.gotoAndPlay("bol21");
if ((((((((((((mc.balbal.bol && (mc.balbal.bolkleur == "bm")) && (mc.balbal.oorlniv == 2)) && (mc.balbal.oorlkleur == "w")) && (mc.balbal.oorrniv == 2)) && (mc.balbal.oorrkleur == "w")) && (!mc.balbal.brilletje)) && (mc.balbal.oogjes)) && (mc.balbal.oogjeskleur == "b")) && (mc.balbal.neusniv == 2)) && (mc.balbal.neuskleur == "bm")) && (mc.balbal.neusdip)) && (mc.balbal.neusdipkleur == "w")) {
canProduce = false;
balproductie.nlevel = "l22";
mc.removeMovieClip();
balproductie.doos.levelbal.bol = true;
balproductie.doos.levelbal.bolkleur = "bm";
balproductie.doos.levelbal.oorlniv = 2;
balproductie.doos.levelbal.oorlkleur = "w";
balproductie.doos.levelbal.oorrniv = 2;
balproductie.doos.levelbal.oorrkleur = "w";
balproductie.doos.levelbal.brilletje = false;
balproductie.doos.levelbal.oogjes = true;
balproductie.doos.levelbal.oogjeskleur = "b";
balproductie.doos.levelbal.neusniv = 2;
balproductie.doos.levelbal.neuskleur = "bm";
balproductie.doos.levelbal.neusdip = true;
balproductie.doos.levelbal.neusdipkleur = "w";
balproductie.doos.levelbal.gotoAndPlay("bol21");
balproductie.gotoAndPlay("moveout");
}
} else if (level == 22) {
if (toolused == 1) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "o";
mc.balbal.riemb = false;
mc.balbal.riembv = false;
mc.balbal.riembvvoor = false;
mc.balbal.b1 = "o";
mc.balbal.b2 = "o";
mc.balbal.b3 = "o";
mc.balbal.b4 = "o";
mc.balbal.b5 = "o";
mc.balbal.b6 = "o";
mc.balbal.b7 = "o";
mc.balbal.b8 = "o";
mc.balbal.helm = false;
mc.balbal.bolh = true;
mc.balbal.bolhkleur = "o";
} else if (mc.producing) {
mc.balbal.bolkleur = "o";
if (mc.balbal.helm) {
if (!mc.balbal.riembv) {
mc.balbal.b8 = "o";
}
if (!mc.balbal.riemb) {
mc.balbal.b4 = "o";
mc.balbal.b6 = "o";
}
if ((!mc.balbal.riembv) && (!mc.balbal.riemb)) {
mc.balbal.b5 = "o";
}
} else {
mc.balbal.bolhkleur = "o";
if (!mc.balbal.riembv) {
mc.balbal.b7 = "o";
mc.balbal.b8 = "o";
}
if (!mc.balbal.riemb) {
mc.balbal.b1 = "o";
mc.balbal.b3 = "o";
mc.balbal.b4 = "o";
mc.balbal.b6 = "o";
}
if ((!mc.balbal.riembv) && (!mc.balbal.riemb)) {
mc.balbal.b2 = "o";
mc.balbal.b5 = "o";
}
}
}
} else if (toolused == 2) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "z";
mc.balbal.riemb = false;
mc.balbal.riembv = false;
mc.balbal.riembvvoor = false;
mc.balbal.b1 = "z";
mc.balbal.b2 = "z";
mc.balbal.b3 = "z";
mc.balbal.b4 = "z";
mc.balbal.b5 = "z";
mc.balbal.b6 = "z";
mc.balbal.b7 = "z";
mc.balbal.b8 = "z";
mc.balbal.helm = false;
mc.balbal.bolh = true;
mc.balbal.bolhkleur = "z";
} else if (mc.producing) {
mc.balbal.bolkleur = "z";
if (mc.balbal.helm) {
if (!mc.balbal.riembv) {
mc.balbal.b8 = "z";
}
if (!mc.balbal.riemb) {
mc.balbal.b4 = "z";
mc.balbal.b6 = "z";
}
if ((!mc.balbal.riembv) && (!mc.balbal.riemb)) {
mc.balbal.b5 = "z";
}
} else {
mc.balbal.bolhkleur = "z";
if (!mc.balbal.riembv) {
mc.balbal.b7 = "z";
mc.balbal.b8 = "z";
}
if (!mc.balbal.riemb) {
mc.balbal.b1 = "z";
mc.balbal.b3 = "z";
mc.balbal.b4 = "z";
mc.balbal.b6 = "z";
}
if ((!mc.balbal.riembv) && (!mc.balbal.riemb)) {
mc.balbal.b2 = "z";
mc.balbal.b5 = "z";
}
}
}
} else if (toolused == 3) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "b";
mc.balbal.riemb = false;
mc.balbal.riembv = false;
mc.balbal.riembvvoor = false;
mc.balbal.b1 = "b";
mc.balbal.b2 = "b";
mc.balbal.b3 = "b";
mc.balbal.b4 = "b";
mc.balbal.b5 = "b";
mc.balbal.b6 = "b";
mc.balbal.b7 = "b";
mc.balbal.b8 = "b";
mc.balbal.helm = false;
mc.balbal.bolh = true;
mc.balbal.bolhkleur = "b";
} else if (mc.producing) {
mc.balbal.bolkleur = "b";
if (mc.balbal.helm) {
if (!mc.balbal.riembv) {
mc.balbal.b8 = "b";
}
if (!mc.balbal.riemb) {
mc.balbal.b4 = "b";
mc.balbal.b6 = "b";
}
if ((!mc.balbal.riembv) && (!mc.balbal.riemb)) {
mc.balbal.b5 = "b";
}
} else {
mc.balbal.bolhkleur = "b";
if (!mc.balbal.riembv) {
mc.balbal.b7 = "b";
mc.balbal.b8 = "b";
}
if (!mc.balbal.riemb) {
mc.balbal.b1 = "b";
mc.balbal.b3 = "b";
mc.balbal.b4 = "b";
mc.balbal.b6 = "b";
}
if ((!mc.balbal.riembv) && (!mc.balbal.riemb)) {
mc.balbal.b2 = "b";
mc.balbal.b5 = "b";
}
}
}
} else if (toolused == 4) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.riemb = true;
mc.balbal.riembv = false;
mc.balbal.riembvvoor = false;
mc.balbal.b1 = "w";
mc.balbal.b2 = "w";
mc.balbal.b3 = "w";
mc.balbal.b4 = "w";
mc.balbal.b5 = "w";
mc.balbal.b6 = "w";
mc.balbal.b7 = "w";
mc.balbal.b8 = "w";
mc.balbal.helm = false;
mc.balbal.bolh = true;
mc.balbal.bolhkleur = "w";
tool4.detail.gotoAndStop("riembgone");
} else if (mc.producing) {
if ((!mc.balbal.riemb) && (!mc.balbal.helm)) {
tool4.detail.gotoAndStop("riembgone");
mc.balbal.riemb = true;
if (mc.balbal.riembv) {
mc.balbal.riembvvoor = false;
}
} else if (mc.balbal.riemb && (!mc.balbal.helm)) {
if ((mc.balbal.riembv == false) || (mc.balbal.riembv && (!mc.balbal.riembvvoor))) {
tool4.detail.gotoAndStop("riemb");
mc.balbal.riemb = false;
}
}
}
} else if (toolused == 5) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.riemb = false;
mc.balbal.riembv = true;
mc.balbal.riembvvoor = true;
mc.balbal.b1 = "w";
mc.balbal.b2 = "w";
mc.balbal.b3 = "w";
mc.balbal.b4 = "w";
mc.balbal.b5 = "w";
mc.balbal.b6 = "w";
mc.balbal.b7 = "w";
mc.balbal.b8 = "w";
mc.balbal.helm = false;
mc.balbal.bolh = true;
mc.balbal.bolhkleur = "w";
tool5.detail.gotoAndStop("riembvgone");
} else if (mc.producing) {
if ((!mc.balbal.riembv) && (!mc.balbal.helm)) {
tool5.detail.gotoAndStop("riembvgone");
mc.balbal.riembv = true;
if (mc.balbal.riemb) {
mc.balbal.riembvvoor = true;
} else {
mc.balbal.riembvvoor = false;
}
} else if (mc.balbal.riembv && (!mc.balbal.helm)) {
if ((mc.balbal.riemb == false) || (mc.balbal.riemb && mc.balbal.riembvvoor)) {
tool5.detail.gotoAndStop("riembv");
mc.balbal.riembv = false;
}
}
}
} else if (toolused == 6) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.riemb = false;
mc.balbal.riembv = false;
mc.balbal.riembvvoor = false;
mc.balbal.b1 = "w";
mc.balbal.b2 = "w";
mc.balbal.b3 = "w";
mc.balbal.b4 = "w";
mc.balbal.b5 = "w";
mc.balbal.b6 = "w";
mc.balbal.b7 = "w";
mc.balbal.b8 = "w";
mc.balbal.helm = true;
mc.balbal.bolh = true;
mc.balbal.bolhkleur = "w";
tool6.detail.gotoAndStop("helmgone");
} else if (mc.producing) {
if (!mc.balbal.helm) {
tool6.detail.gotoAndStop("helmgone");
mc.balbal.helm = true;
} else {
tool6.detail.gotoAndStop("helm");
mc.balbal.helm = false;
}
}
}
mc.balbal.gotoAndPlay("bol22");
if ((((((((((((((mc.balbal.bol && (mc.balbal.bolkleur == "o")) && (!mc.balbal.riemb)) && (!mc.balbal.riembv)) && (mc.balbal.b1 == "z")) && (mc.balbal.b2 == "b")) && (mc.balbal.b3 == "z")) && (mc.balbal.b4 == "b")) && (mc.balbal.b5 == "z")) && (mc.balbal.b6 == "b")) && (mc.balbal.b7 == "o")) && (mc.balbal.b8 == "o")) && (!mc.balbal.helm)) && (mc.balbal.bolh)) && (mc.balbal.bolhkleur == "o")) {
canProduce = false;
balproductie.nlevel = "l23";
mc.removeMovieClip();
balproductie.doos.levelbal.bol = true;
balproductie.doos.levelbal.bolkleur = "o";
balproductie.doos.levelbal.riemb = false;
balproductie.doos.levelbal.riembv = false;
balproductie.doos.levelbal.b1 = "z";
balproductie.doos.levelbal.b2 = "b";
balproductie.doos.levelbal.b3 = "z";
balproductie.doos.levelbal.b4 = "b";
balproductie.doos.levelbal.b5 = "z";
balproductie.doos.levelbal.b6 = "b";
balproductie.doos.levelbal.b7 = "o";
balproductie.doos.levelbal.b8 = "o";
balproductie.doos.levelbal.helm = false;
balproductie.doos.levelbal.bolh = true;
balproductie.doos.levelbal.bolhkleur = "o";
balproductie.doos.levelbal.gotoAndPlay("bol22");
balproductie.gotoAndPlay("moveout");
}
} else if (level == 23) {
if (toolused == 1) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "m";
mc.balbal.varkensneus = false;
mc.balbal.neusgatl = false;
mc.balbal.neusgatr = false;
mc.balbal.oorlniv = 0;
mc.balbal.oorrniv = 0;
mc.balbal.oogsprayl = false;
mc.balbal.oogsprayr = false;
mc.balbal.oogspray2l = false;
mc.balbal.oogspray2r = false;
mc.balbal.oogspray3l = false;
mc.balbal.oogspray3r = false;
mc.balbal.oogspray4l = false;
mc.balbal.oogspray4r = false;
} else if (mc.producing) {
mc.balbal.bolkleur = "m";
if (mc.balbal.varkensneus) {
mc.balbal.varkensneuskleur = "m";
}
mc.balbal.oogsprayl = false;
mc.balbal.oogsprayr = false;
mc.balbal.oogspray2l = false;
mc.balbal.oogspray2r = false;
mc.balbal.oogspray3l = false;
mc.balbal.oogspray3r = false;
mc.balbal.oogspray4l = false;
mc.balbal.oogspray4r = false;
}
} else if (toolused == 2) {
_parent.sound_popout.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.varkensneus = true;
mc.balbal.varkensneuskleur = "w";
mc.balbal.neusgatl = false;
mc.balbal.neusgatr = false;
mc.balbal.oorlniv = 0;
mc.balbal.oorrniv = 0;
mc.balbal.oogsprayl = false;
mc.balbal.oogsprayr = false;
mc.balbal.oogspray2l = false;
mc.balbal.oogspray2r = false;
mc.balbal.oogspray3l = false;
mc.balbal.oogspray3r = false;
mc.balbal.oogspray4l = false;
mc.balbal.oogspray4r = false;
} else if (mc.producing) {
if (!mc.balbal.varkensneus) {
mc.balbal.varkensneus = true;
mc.balbal.varkensneuskleur = mc.balbal.bolkleur;
if (mc.balbal.neusgatl) {
mc.balbal.neusgatlpos = "uit2";
}
if (mc.balbal.neusgatr) {
mc.balbal.neusgatrpos = "uit2";
}
}
}
} else if (toolused == 3) {
_parent.sound_drill.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.varkensneus = false;
mc.balbal.neusgatl = false;
mc.balbal.neusgatr = true;
mc.balbal.neusgatrpos = "in";
mc.balbal.oorlniv = 0;
mc.balbal.oorrniv = 0;
mc.balbal.oogsprayl = false;
mc.balbal.oogsprayr = false;
mc.balbal.oogspray2l = false;
mc.balbal.oogspray2r = false;
mc.balbal.oogspray3l = false;
mc.balbal.oogspray3r = false;
mc.balbal.oogspray4l = false;
mc.balbal.oogspray4r = false;
} else if (mc.producing) {
if (!mc.balbal.varkensneus) {
if (!mc.balbal.neusgatr) {
mc.balbal.neusgatr = true;
mc.balbal.neusgatrpos = "in";
} else if (!mc.balbal.neusgatl) {
mc.balbal.neusgatl = true;
mc.balbal.neusgatlpos = "in";
}
} else if (!mc.balbal.neusgatr) {
mc.balbal.neusgatr = true;
mc.balbal.neusgatrpos = "uit1";
} else if (!mc.balbal.neusgatl) {
mc.balbal.neusgatl = true;
mc.balbal.neusgatlpos = "uit1";
}
}
} else if (toolused == 4) {
_parent.sound_spray.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.varkensneus = false;
mc.balbal.neusgatl = false;
mc.balbal.neusgatr = false;
mc.balbal.oorlniv = 0;
mc.balbal.oorrniv = 0;
mc.balbal.oogsprayl = false;
mc.balbal.oogsprayr = false;
mc.balbal.oogspray2l = false;
mc.balbal.oogspray2r = false;
mc.balbal.oogspray3l = false;
mc.balbal.oogspray3r = false;
mc.balbal.oogspray4l = false;
mc.balbal.oogspray4r = true;
mc.balbal.oogspray4rniv = 1;
mc.balbal.oogspray4rkleur = "z";
} else if (mc.producing) {
hoogr = 0;
hoogl = 0;
if (mc.balbal.oogsprayr) {
hoogr = 1;
hoogrkleur = mc.balbal.oogsprayrkleur;
hoogrniv = mc.balbal.oogsprayrniv;
} else if (mc.balbal.oogspray2r) {
hoogr = 2;
hoogrkleur = mc.balbal.oogspray2rkleur;
hoogrniv = mc.balbal.oogspray2rniv;
} else if (mc.balbal.oogspray3r) {
hoogr = 3;
hoogrkleur = mc.balbal.oogspray3rkleur;
hoogrniv = mc.balbal.oogspray3rniv;
} else if (mc.balbal.oogspray4r) {
hoogr = 4;
hoogrkleur = mc.balbal.oogspray4rkleur;
hoogrniv = mc.balbal.oogspray4rniv;
}
if (mc.balbal.oogsprayl) {
hoogl = 1;
hooglkleur = mc.balbal.oogspraylkleur;
hooglniv = mc.balbal.oogspraylniv;
} else if (mc.balbal.oogspray2l) {
hoogl = 2;
hooglkleur = mc.balbal.oogspray2lkleur;
hooglniv = mc.balbal.oogspray2lniv;
} else if (mc.balbal.oogspray3l) {
hoogl = 3;
hooglkleur = mc.balbal.oogspray3lkleur;
hooglniv = mc.balbal.oogspray3lniv;
} else if (mc.balbal.oogspray4l) {
hoogl = 4;
hooglkleur = mc.balbal.oogspray4lkleur;
hooglniv = mc.balbal.oogspray4lniv;
}
updater = false;
updatel = false;
if (hoogr == 0) {
mc.balbal.oogspray4r = true;
mc.balbal.oogspray4rkleur = "z";
mc.balbal.oogspray4rniv = 1;
} else if (hoogrkleur == "w") {
updater = true;
} else if (hoogl == 0) {
mc.balbal.oogspray4l = true;
mc.balbal.oogspray4lkleur = "z";
mc.balbal.oogspray4lniv = 1;
} else if (hooglkleur == "w") {
updatel = true;
} else if (hooglniv < hoogrniv) {
updatel = true;
} else {
updater = true;
}
if (updater) {
if (hoogrkleur == "w") {
if ((hoogr == 1) && (hoogrniv == 1)) {
mc.balbal.oogsprayrkleur = "z";
} else if (hoogr == 2) {
mc.balbal.oogsprayr = true;
mc.balbal.oogsprayrkleur = "z";
mc.balbal.oogsprayrniv = 1;
} else if (hoogr == 3) {
mc.balbal.oogspray2r = true;
mc.balbal.oogspray2rkleur = "z";
mc.balbal.oogspray2rniv = 1;
} else if (hoogr == 4) {
mc.balbal.oogspray3r = true;
mc.balbal.oogspray3rkleur = "z";
mc.balbal.oogspray3rniv = 1;
}
} else if ((hoogr == 1) && (hoogrniv < 4)) {
mc.balbal.oogsprayrniv++;
} else if ((hoogr == 2) && (hoogrniv < 4)) {
mc.balbal.oogspray2rniv++;
} else if ((hoogr == 3) && (hoogrniv < 4)) {
mc.balbal.oogspray3rniv++;
} else if ((hoogr == 4) && (hoogrniv < 4)) {
mc.balbal.oogspray4rniv++;
}
}
if (updatel) {
if (hooglkleur == "w") {
if ((hoogl == 1) && (hooglniv == 1)) {
mc.balbal.oogspraylkleur = "z";
} else if (hoogl == 2) {
mc.balbal.oogsprayl = true;
mc.balbal.oogspraylkleur = "z";
mc.balbal.oogspraylniv = 1;
} else if (hoogl == 3) {
mc.balbal.oogspray2l = true;
mc.balbal.oogspray2lkleur = "z";
mc.balbal.oogspray2lniv = 1;
} else if (hoogl == 4) {
mc.balbal.oogspray3l = true;
mc.balbal.oogspray3lkleur = "z";
mc.balbal.oogspray3lniv = 1;
}
} else if ((hoogl == 1) && (hooglniv < 4)) {
mc.balbal.oogspraylniv++;
} else if ((hoogl == 2) && (hooglniv < 4)) {
mc.balbal.oogspray2lniv++;
} else if ((hoogl == 3) && (hooglniv < 4)) {
mc.balbal.oogspray3lniv++;
} else if ((hoogl == 4) && (hooglniv < 4)) {
mc.balbal.oogspray4lniv++;
}
}
if (mc.balbal.oogsprayr) {
if (mc.balbal.oogsprayrniv == mc.balbal.oogspray2rniv) {
mc.balbal.oogsprayr = false;
mc.balbal.oogspray2rkleur = mc.balbal.oogsprayrkleur;
}
}
if (mc.balbal.oogspray2r) {
if (mc.balbal.oogspray2rniv == mc.balbal.oogspray3rniv) {
mc.balbal.oogspray2r = false;
mc.balbal.oogspray3rkleur = mc.balbal.oogspray2rkleur;
}
}
if (mc.balbal.oogspray3r) {
if (mc.balbal.oogspray3rniv == mc.balbal.oogspray4rniv) {
mc.balbal.oogspray3r = false;
mc.balbal.oogspray4rkleur = mc.balbal.oogspray3rkleur;
}
}
if (mc.balbal.oogsprayl) {
if (mc.balbal.oogspraylniv == mc.balbal.oogspray2lniv) {
mc.balbal.oogsprayl = false;
mc.balbal.oogspray2lkleur = mc.balbal.oogspraylkleur;
}
}
if (mc.balbal.oogspray2l) {
if (mc.balbal.oogspray2lniv == mc.balbal.oogspray3lniv) {
mc.balbal.oogspray2l = false;
mc.balbal.oogspray3lkleur = mc.balbal.oogspray2lkleur;
}
}
if (mc.balbal.oogspray3l) {
if (mc.balbal.oogspray3lniv == mc.balbal.oogspray4lniv) {
mc.balbal.oogspray3l = false;
mc.balbal.oogspray4lkleur = mc.balbal.oogspray3lkleur;
}
}
}
} else if (toolused == 5) {
_parent.sound_spray.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.varkensneus = false;
mc.balbal.neusgatl = false;
mc.balbal.neusgatr = false;
mc.balbal.oorlniv = 0;
mc.balbal.oorrniv = 0;
mc.balbal.oogsprayl = false;
mc.balbal.oogsprayr = false;
mc.balbal.oogspray2l = false;
mc.balbal.oogspray2r = false;
mc.balbal.oogspray3l = false;
mc.balbal.oogspray3r = false;
mc.balbal.oogspray4l = false;
mc.balbal.oogspray4r = true;
mc.balbal.oogspray4rniv = 1;
mc.balbal.oogspray4rkleur = "w";
} else if (mc.producing) {
hoogr = 0;
hoogl = 0;
if (mc.balbal.oogsprayr) {
hoogr = 1;
hoogrkleur = mc.balbal.oogsprayrkleur;
hoogrniv = mc.balbal.oogsprayrniv;
} else if (mc.balbal.oogspray2r) {
hoogr = 2;
hoogrkleur = mc.balbal.oogspray2rkleur;
hoogrniv = mc.balbal.oogspray2rniv;
} else if (mc.balbal.oogspray3r) {
hoogr = 3;
hoogrkleur = mc.balbal.oogspray3rkleur;
hoogrniv = mc.balbal.oogspray3rniv;
} else if (mc.balbal.oogspray4r) {
hoogr = 4;
hoogrkleur = mc.balbal.oogspray4rkleur;
hoogrniv = mc.balbal.oogspray4rniv;
}
if (mc.balbal.oogsprayl) {
hoogl = 1;
hooglkleur = mc.balbal.oogspraylkleur;
hooglniv = mc.balbal.oogspraylniv;
} else if (mc.balbal.oogspray2l) {
hoogl = 2;
hooglkleur = mc.balbal.oogspray2lkleur;
hooglniv = mc.balbal.oogspray2lniv;
} else if (mc.balbal.oogspray3l) {
hoogl = 3;
hooglkleur = mc.balbal.oogspray3lkleur;
hooglniv = mc.balbal.oogspray3lniv;
} else if (mc.balbal.oogspray4l) {
hoogl = 4;
hooglkleur = mc.balbal.oogspray4lkleur;
hooglniv = mc.balbal.oogspray4lniv;
}
updater = false;
updatel = false;
if (hoogr == 0) {
mc.balbal.oogspray4r = true;
mc.balbal.oogspray4rkleur = "w";
mc.balbal.oogspray4rniv = 1;
} else if (hoogrkleur == "z") {
updater = true;
} else if (hoogl == 0) {
mc.balbal.oogspray4l = true;
mc.balbal.oogspray4lkleur = "w";
mc.balbal.oogspray4lniv = 1;
} else if (hooglkleur == "z") {
updatel = true;
} else if (hooglniv < hoogrniv) {
updatel = true;
} else {
updater = true;
}
if (updater) {
if (hoogrkleur == "z") {
if ((hoogr == 1) && (hoogrniv == 1)) {
mc.balbal.oogsprayrkleur = "w";
} else if (hoogr == 2) {
mc.balbal.oogsprayr = true;
mc.balbal.oogsprayrkleur = "w";
mc.balbal.oogsprayrniv = 1;
} else if (hoogr == 3) {
mc.balbal.oogspray2r = true;
mc.balbal.oogspray2rkleur = "w";
mc.balbal.oogspray2rniv = 1;
} else if (hoogr == 4) {
mc.balbal.oogspray3r = true;
mc.balbal.oogspray3rkleur = "w";
mc.balbal.oogspray3rniv = 1;
}
} else if ((hoogr == 1) && (hoogrniv < 4)) {
mc.balbal.oogsprayrniv++;
} else if ((hoogr == 2) && (hoogrniv < 4)) {
mc.balbal.oogspray2rniv++;
} else if ((hoogr == 3) && (hoogrniv < 4)) {
mc.balbal.oogspray3rniv++;
} else if ((hoogr == 4) && (hoogrniv < 4)) {
mc.balbal.oogspray4rniv++;
}
}
if (updatel) {
if (hooglkleur == "z") {
if ((hoogl == 1) && (hooglniv == 1)) {
mc.balbal.oogspraylkleur = "w";
} else if (hoogl == 2) {
mc.balbal.oogsprayl = true;
mc.balbal.oogspraylkleur = "w";
mc.balbal.oogspraylniv = 1;
} else if (hoogl == 3) {
mc.balbal.oogspray2l = true;
mc.balbal.oogspray2lkleur = "w";
mc.balbal.oogspray2lniv = 1;
} else if (hoogl == 4) {
mc.balbal.oogspray3l = true;
mc.balbal.oogspray3lkleur = "w";
mc.balbal.oogspray3lniv = 1;
}
} else if ((hoogl == 1) && (hooglniv < 4)) {
mc.balbal.oogspraylniv++;
} else if ((hoogl == 2) && (hooglniv < 4)) {
mc.balbal.oogspray2lniv++;
} else if ((hoogl == 3) && (hooglniv < 4)) {
mc.balbal.oogspray3lniv++;
} else if ((hoogl == 4) && (hooglniv < 4)) {
mc.balbal.oogspray4lniv++;
}
}
if (mc.balbal.oogsprayr) {
if (mc.balbal.oogsprayrniv == mc.balbal.oogspray2rniv) {
mc.balbal.oogsprayr = false;
mc.balbal.oogspray2rkleur = mc.balbal.oogsprayrkleur;
}
}
if (mc.balbal.oogspray2r) {
if (mc.balbal.oogspray2rniv == mc.balbal.oogspray3rniv) {
mc.balbal.oogspray2r = false;
mc.balbal.oogspray3rkleur = mc.balbal.oogspray2rkleur;
}
}
if (mc.balbal.oogspray3r) {
if (mc.balbal.oogspray3rniv == mc.balbal.oogspray4rniv) {
mc.balbal.oogspray3r = false;
mc.balbal.oogspray4rkleur = mc.balbal.oogspray3rkleur;
}
}
if (mc.balbal.oogsprayl) {
if (mc.balbal.oogspraylniv == mc.balbal.oogspray2lniv) {
mc.balbal.oogsprayl = false;
mc.balbal.oogspray2lkleur = mc.balbal.oogspraylkleur;
}
}
if (mc.balbal.oogspray2l) {
if (mc.balbal.oogspray2lniv == mc.balbal.oogspray3lniv) {
mc.balbal.oogspray2l = false;
mc.balbal.oogspray3lkleur = mc.balbal.oogspray2lkleur;
}
}
if (mc.balbal.oogspray3l) {
if (mc.balbal.oogspray3lniv == mc.balbal.oogspray4lniv) {
mc.balbal.oogspray3l = false;
mc.balbal.oogspray4lkleur = mc.balbal.oogspray3lkleur;
}
}
}
} else if (toolused == 6) {
_parent.sound_popout.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.varkensneus = false;
mc.balbal.neusgatl = false;
mc.balbal.neusgatr = false;
mc.balbal.oorlniv = 1;
mc.balbal.oorlkleur = "w";
mc.balbal.oorrniv = 0;
mc.balbal.oogsprayl = false;
mc.balbal.oogsprayr = false;
mc.balbal.oogspray2l = false;
mc.balbal.oogspray2r = false;
mc.balbal.oogspray3l = false;
mc.balbal.oogspray3r = false;
mc.balbal.oogspray4l = false;
mc.balbal.oogspray4r = false;
} else if (mc.producing) {
if (mc.balbal.oorlniv == 0) {
mc.balbal.oorlniv = 1;
mc.balbal.oorlkleur = mc.balbal.bolkleur;
} else if (mc.balbal.oorlniv == 1) {
mc.balbal.oorlniv = 2;
} else {
_parent.sound_pop.start();
mc.attachMovie("bal", "critter_mc" + (extratel++), 0);
mc.producing = false;
produced = false;
}
}
} else if (toolused == 7) {
_parent.sound_popout.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.varkensneus = false;
mc.balbal.neusgatl = false;
mc.balbal.neusgatr = false;
mc.balbal.oorrniv = 1;
mc.balbal.oorrkleur = "w";
mc.balbal.oorlniv = 0;
mc.balbal.oogsprayl = false;
mc.balbal.oogsprayr = false;
mc.balbal.oogspray2l = false;
mc.balbal.oogspray2r = false;
mc.balbal.oogspray3l = false;
mc.balbal.oogspray3r = false;
mc.balbal.oogspray4l = false;
mc.balbal.oogspray4r = false;
} else if (mc.producing) {
if (mc.balbal.oorrniv == 0) {
mc.balbal.oorrniv = 1;
mc.balbal.oorrkleur = mc.balbal.bolkleur;
} else if (mc.balbal.oorrniv == 1) {
mc.balbal.oorrniv = 2;
} else {
_parent.sound_pop.start();
mc.attachMovie("bal", "critter_mc" + (extratel++), 0);
mc.producing = false;
produced = false;
}
}
}
mc.balbal.gotoAndPlay("bol23");
if (((((((((((((((((((((((((((mc.balbal.bol && (mc.balbal.bolkleur == "m")) && (mc.balbal.varkensneus == true)) && (mc.balbal.varkensneuskleur == "m")) && (mc.balbal.neusgatl == true)) && (mc.balbal.neusgatlpos == "uit1")) && (mc.balbal.neusgatr == true)) && (mc.balbal.neusgatrpos == "uit1")) && (mc.balbal.oorlniv == 1)) && (mc.balbal.oorlkleur == "m")) && (mc.balbal.oorrniv == 1)) && (mc.balbal.oorrkleur == "m")) && (mc.balbal.oogspray4r == true)) && (mc.balbal.oogspray4rkleur == "w")) && (mc.balbal.oogspray4rniv == 3)) && (mc.balbal.oogspray4l == true)) && (mc.balbal.oogspray4lkleur == "w")) && (mc.balbal.oogspray4lniv == 3)) && (mc.balbal.oogspray3r == true)) && (mc.balbal.oogspray3rkleur == "z")) && (mc.balbal.oogspray3rniv == 1)) && (mc.balbal.oogspray3l == true)) && (mc.balbal.oogspray3lkleur == "z")) && (mc.balbal.oogspray3lniv == 1)) && (mc.balbal.oogspray2l == false)) && (mc.balbal.oogspray2r == false)) && (mc.balbal.oogsprayl == false)) && (mc.balbal.oogsprayr == false)) {
canProduce = false;
balproductie.nlevel = "l24";
mc.removeMovieClip();
balproductie.doos.levelbal.bol = true;
balproductie.doos.levelbal.bolkleur = "m";
balproductie.doos.levelbal.varkensneus = true;
balproductie.doos.levelbal.varkensneuskleur = "m";
balproductie.doos.levelbal.neusgatl = true;
balproductie.doos.levelbal.neusgatlpos = "uit1";
balproductie.doos.levelbal.neusgatr = true;
balproductie.doos.levelbal.neusgatrpos = "uit1";
balproductie.doos.levelbal.oorlniv = 1;
balproductie.doos.levelbal.oorlkleur = "m";
balproductie.doos.levelbal.oorrniv = 1;
balproductie.doos.levelbal.oorrkleur = "m";
balproductie.doos.levelbal.oogspray4r = true;
balproductie.doos.levelbal.oogspray4rkleur = "w";
balproductie.doos.levelbal.oogspray4rniv = 3;
balproductie.doos.levelbal.oogspray4l = true;
balproductie.doos.levelbal.oogspray4lkleur = "w";
balproductie.doos.levelbal.oogspray4lniv = 3;
balproductie.doos.levelbal.oogspray3r = true;
balproductie.doos.levelbal.oogspray3rkleur = "z";
balproductie.doos.levelbal.oogspray3rniv = 1;
balproductie.doos.levelbal.oogspray3l = true;
balproductie.doos.levelbal.oogspray3lkleur = "z";
balproductie.doos.levelbal.oogspray3lniv = 1;
balproductie.doos.levelbal.oogspray2l = false;
balproductie.doos.levelbal.oogspray2r = false;
balproductie.doos.levelbal.oogsprayl = false;
balproductie.doos.levelbal.oogsprayr = false;
balproductie.doos.levelbal.gotoAndPlay("bol23");
balproductie.gotoAndPlay("moveout");
}
} else if (level == 24) {
if (toolused == 1) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "o";
mc.balbal.b1 = "o";
mc.balbal.b2 = "o";
mc.balbal.b3 = "o";
mc.balbal.b4 = "o";
mc.balbal.helm = false;
mc.balbal.bolh = true;
mc.balbal.bolhkleur = "o";
mc.balbal.phone = false;
mc.balbal.phoneklein = false;
} else if (mc.producing) {
mc.balbal.bolkleur = "o";
if (mc.balbal.helm) {
if ((!mc.balbal.phone) && (!mc.balbal.phoneklein)) {
mc.balbal.b2 = "o";
mc.balbal.b4 = "o";
} else if (mc.balbal.phoneklein) {
mc.balbal.b2 = "o";
}
} else if (!mc.balbal.helm) {
mc.balbal.bolhkleur = "o";
if ((!mc.balbal.phone) && (!mc.balbal.phoneklein)) {
mc.balbal.b1 = "o";
mc.balbal.b2 = "o";
mc.balbal.b3 = "o";
mc.balbal.b4 = "o";
} else if (mc.balbal.phoneklein) {
mc.balbal.b1 = "o";
mc.balbal.b2 = "o";
}
}
}
} else if (toolused == 2) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "y";
mc.balbal.b1 = "y";
mc.balbal.b2 = "y";
mc.balbal.b3 = "y";
mc.balbal.b4 = "y";
mc.balbal.helm = false;
mc.balbal.bolh = true;
mc.balbal.bolhkleur = "y";
mc.balbal.phone = false;
mc.balbal.phoneklein = false;
} else if (mc.producing) {
mc.balbal.bolkleur = "y";
if (mc.balbal.helm) {
if ((!mc.balbal.phone) && (!mc.balbal.phoneklein)) {
mc.balbal.b2 = "y";
mc.balbal.b4 = "y";
} else if (mc.balbal.phoneklein) {
mc.balbal.b2 = "y";
}
} else if (!mc.balbal.helm) {
mc.balbal.bolhkleur = "y";
if ((!mc.balbal.phone) && (!mc.balbal.phoneklein)) {
mc.balbal.b1 = "y";
mc.balbal.b2 = "y";
mc.balbal.b3 = "y";
mc.balbal.b4 = "y";
} else if (mc.balbal.phoneklein) {
mc.balbal.b1 = "y";
mc.balbal.b2 = "y";
}
}
}
} else if (toolused == 3) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "b";
mc.balbal.b1 = "b";
mc.balbal.b2 = "b";
mc.balbal.b3 = "b";
mc.balbal.b4 = "b";
mc.balbal.helm = false;
mc.balbal.bolh = true;
mc.balbal.bolhkleur = "b";
mc.balbal.phone = false;
mc.balbal.phoneklein = false;
} else if (mc.producing) {
mc.balbal.bolkleur = "b";
if (mc.balbal.helm) {
if ((!mc.balbal.phone) && (!mc.balbal.phoneklein)) {
mc.balbal.b2 = "b";
mc.balbal.b4 = "b";
} else if (mc.balbal.phoneklein) {
mc.balbal.b2 = "b";
}
} else if (!mc.balbal.helm) {
mc.balbal.bolhkleur = "b";
if ((!mc.balbal.phone) && (!mc.balbal.phoneklein)) {
mc.balbal.b1 = "b";
mc.balbal.b2 = "b";
mc.balbal.b3 = "b";
mc.balbal.b4 = "b";
} else if (mc.balbal.phoneklein) {
mc.balbal.b1 = "b";
mc.balbal.b2 = "b";
}
}
}
} else if (toolused == 4) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.b1 = "w";
mc.balbal.b2 = "w";
mc.balbal.b3 = "w";
mc.balbal.b4 = "w";
mc.balbal.helm = false;
mc.balbal.bolh = true;
mc.balbal.bolhkleur = "w";
mc.balbal.phone = false;
mc.balbal.phoneklein = true;
tool4.detail.gotoAndStop("phonekleingone");
} else if (mc.producing) {
if ((!mc.balbal.phoneklein) && (!mc.balbal.phone)) {
tool4.detail.gotoAndStop("phonekleingone");
mc.balbal.phoneklein = true;
} else if (mc.balbal.phoneklein) {
tool4.detail.gotoAndStop("phoneklein");
mc.balbal.phoneklein = false;
}
}
} else if (toolused == 5) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.b1 = "w";
mc.balbal.b2 = "w";
mc.balbal.b3 = "w";
mc.balbal.b4 = "w";
mc.balbal.helm = false;
mc.balbal.bolh = true;
mc.balbal.bolhkleur = "w";
mc.balbal.phone = true;
mc.balbal.phoneklein = false;
tool5.detail.gotoAndStop("phonegone");
} else if (mc.producing) {
if ((!mc.balbal.phoneklein) && (!mc.balbal.phone)) {
tool5.detail.gotoAndStop("phonegone");
mc.balbal.phone = true;
} else if (mc.balbal.phone) {
tool5.detail.gotoAndStop("phone");
mc.balbal.phone = false;
}
}
} else if (toolused == 6) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.b1 = "w";
mc.balbal.b2 = "w";
mc.balbal.b3 = "w";
mc.balbal.b4 = "w";
mc.balbal.helm = true;
mc.balbal.bolh = true;
mc.balbal.bolhkleur = "w";
mc.balbal.phone = false;
mc.balbal.phoneklein = false;
tool6.detail.gotoAndStop("helmgone");
} else if (mc.producing) {
if (((!mc.balbal.helm) && (!mc.balbal.phone)) && (!mc.balbal.phoneklein)) {
tool6.detail.gotoAndStop("helmgone");
mc.balbal.helm = true;
} else if ((mc.balbal.helm && (!mc.balbal.phone)) && (!mc.balbal.phoneklein)) {
tool6.detail.gotoAndStop("helm");
mc.balbal.helm = false;
}
}
}
mc.balbal.gotoAndPlay("bol24");
if ((((((((((mc.balbal.bol && (mc.balbal.bolkleur == "o")) && (!mc.balbal.phone)) && (!mc.balbal.phoneklein)) && (mc.balbal.bolh)) && (mc.balbal.bolhkleur == "y")) && (!mc.balbal.helm)) && (mc.balbal.b1 == "o")) && (mc.balbal.b2 == "y")) && (mc.balbal.b3 == "b")) && (mc.balbal.b4 == "b")) {
canProduce = false;
balproductie.nlevel = "l25";
mc.removeMovieClip();
balproductie.doos.levelbal.bol = true;
balproductie.doos.levelbal.bolkleur = "o";
balproductie.doos.levelbal.phone = false;
balproductie.doos.levelbal.phoneklein = false;
balproductie.doos.levelbal.bolh = true;
balproductie.doos.levelbal.bolhkleur = "y";
balproductie.doos.levelbal.helm = false;
balproductie.doos.levelbal.b1 = "o";
balproductie.doos.levelbal.b2 = "y";
balproductie.doos.levelbal.b3 = "b";
balproductie.doos.levelbal.b4 = "b";
balproductie.doos.levelbal.gotoAndPlay("bol24");
balproductie.gotoAndPlay("moveout");
}
} else if (level == 25) {
if (toolused == 1) {
_parent.sound_shovel.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolh = false;
mc.balbal.grasbalo = true;
mc.balbal.graso = 1;
mc.balbal.grasbalh = true;
mc.balbal.grash = 1;
mc.balbal.helm = false;
mc.balbal.bloembalo = false;
mc.balbal.bloembalh = false;
mc.balbal.kleurstofo = false;
mc.balbal.kleurstofh = false;
} else if (mc.producing) {
if (!mc.balbal.grasbalo) {
mc.balbal.grasbalo = true;
mc.balbal.graso = 1;
}
if ((!mc.balbal.grasbalh) && (!mc.balbal.helm)) {
mc.balbal.grasbalh = true;
mc.balbal.grash = 1;
mc.balbal.bolh = false;
}
}
} else if (toolused == 2) {
_parent.sound_shovel.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolh = false;
mc.balbal.bloembalo = true;
mc.balbal.bloemo = 1;
mc.balbal.bloembalh = true;
mc.balbal.bloemh = 1;
mc.balbal.helm = false;
mc.balbal.grasbalo = false;
mc.balbal.grasbalh = false;
mc.balbal.kleurstofo = false;
mc.balbal.kleurstofh = false;
} else if (mc.producing) {
if (!mc.balbal.bloembalo) {
mc.balbal.bloembalo = true;
mc.balbal.bloemo = 1;
}
if ((!mc.balbal.bloembalh) && (!mc.balbal.helm)) {
mc.balbal.bloembalh = true;
mc.balbal.bloemh = 1;
mc.balbal.bolh = false;
}
}
} else if (toolused == 3) {
_parent.sound_water.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolh = false;
mc.balbal.grasbalo = false;
mc.balbal.grasbalh = false;
mc.balbal.helm = false;
mc.balbal.bloembalo = false;
mc.balbal.bloembalh = false;
mc.balbal.kleurstofo = false;
mc.balbal.kleurstofh = false;
} else if (mc.producing) {
if (mc.balbal.grasbalo) {
if (mc.balbal.graso == 1) {
if (mc.balbal.kleurstofo) {
mc.balbal.graso = 5;
} else {
mc.balbal.graso = 2;
}
} else if (mc.balbal.graso == 2) {
mc.balbal.graso = 3;
} else if (mc.balbal.graso == 3) {
mc.balbal.graso = 4;
} else if (mc.balbal.graso == 5) {
mc.balbal.graso = 6;
} else if (mc.balbal.graso == 6) {
mc.balbal.graso = 4;
}
}
if (mc.balbal.grasbalh && (!mc.balbal.helm)) {
if (mc.balbal.grash == 1) {
if (mc.balbal.kleurstofh) {
mc.balbal.grash = 5;
} else {
mc.balbal.grash = 2;
}
} else if (mc.balbal.grash == 2) {
mc.balbal.grash = 3;
} else if (mc.balbal.grash == 3) {
mc.balbal.grash = 4;
} else if (mc.balbal.grash == 5) {
mc.balbal.grash = 6;
} else if (mc.balbal.grash == 6) {
mc.balbal.grash = 4;
}
}
if (mc.balbal.bloembalo) {
if (mc.balbal.bloemo == 1) {
mc.balbal.bloemo = 2;
} else if (mc.balbal.bloemo == 2) {
mc.balbal.bloemo = 3;
} else if (mc.balbal.bloemo == 3) {
mc.balbal.bloembalo = false;
}
}
if (mc.balbal.bloembalh && (!mc.balbal.helm)) {
if (mc.balbal.bloemh == 1) {
mc.balbal.bloemh = 2;
} else if (mc.balbal.bloemh == 2) {
mc.balbal.bloemh = 3;
} else if (mc.balbal.bloemh == 3) {
mc.balbal.bloembalh = false;
}
}
}
} else if (toolused == 4) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolh = true;
mc.balbal.grasbalo = false;
mc.balbal.grasbalh = false;
mc.balbal.helm = true;
mc.balbal.bloembalo = false;
mc.balbal.bloembalh = false;
mc.balbal.kleurstofo = false;
mc.balbal.kleurstofh = false;
tool4.detail.gotoAndStop("helmgone");
} else if (mc.producing) {
if (!mc.balbal.helm) {
tool4.detail.gotoAndStop("helmgone");
mc.balbal.helm = true;
if ((!mc.balbal.bolh) && (!mc.balbal.grasbalh)) {
if (!mc.balbal.grasbalo) {
mc.balbal.bolh = true;
} else {
mc.balbal.grasbalh = true;
mc.balbal.grash = mc.balbal.graso;
}
}
if (!mc.balbal.bloembalh) {
if (mc.balbal.bloembalo) {
mc.balbal.bloembalh = true;
mc.balbal.bloemh = mc.balbal.bloemo;
}
}
} else {
tool4.detail.gotoAndStop("helm");
mc.balbal.helm = false;
if (mc.balbal.bolh && (!mc.balbal.grasbalo)) {
mc.balbal.bolh = false;
}
}
}
} else if (toolused == 5) {
_parent.sound_drop.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolh = false;
mc.balbal.grasbalo = false;
mc.balbal.grasbalh = false;
mc.balbal.helm = false;
mc.balbal.bloembalo = false;
mc.balbal.bloembalh = false;
mc.balbal.kleurstofo = true;
mc.balbal.kleurstofh = true;
} else if (mc.producing) {
if (mc.balbal.helm) {
mc.balbal.kleurstofo = true;
} else {
mc.balbal.kleurstofo = true;
mc.balbal.kleurstofh = true;
}
}
}
mc.balbal.gotoAndPlay("bol25");
if (((((((((mc.balbal.bol && (!mc.balbal.bolh)) && (mc.balbal.grasbalo)) && (mc.balbal.graso == 6)) && (mc.balbal.grasbalh)) && (mc.balbal.grash == 3)) && (!mc.balbal.helm)) && (!mc.balbal.bloembalo)) && (mc.balbal.bloembalh)) && (mc.balbal.bloemh == 3)) {
canProduce = false;
balproductie.nlevel = "l26";
mc.removeMovieClip();
balproductie.doos.levelbal.bol = true;
balproductie.doos.levelbal.bolh = false;
balproductie.doos.levelbal.grasbalo = true;
balproductie.doos.levelbal.grasbalh = true;
balproductie.doos.levelbal.graso = 6;
balproductie.doos.levelbal.grash = 3;
balproductie.doos.levelbal.bloembalo = false;
balproductie.doos.levelbal.bloembalh = true;
balproductie.doos.levelbal.bloemh = 3;
balproductie.doos.levelbal.helm = false;
balproductie.doos.levelbal.gotoAndPlay("bol25");
balproductie.gotoAndPlay("moveout");
}
} else if (level == 26) {
if (toolused == 1) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.helm = false;
mc.balbal.mondlap = false;
mc.balbal.mutsrechts = false;
mc.balbal.mutsrechtsvoor = false;
mc.balbal.bolkleur1 = "g";
mc.balbal.bolkleur2 = "g";
mc.balbal.bolkleur3 = "g";
mc.balbal.bolkleur4 = "g";
mc.balbal.bolkleur5 = "g";
mc.balbal.bolkleur6 = "g";
mc.balbal.bolkleur7 = "g";
mc.balbal.bolkleur8 = "g";
} else if (mc.producing) {
if (!mc.balbal.helm) {
if (mc.balbal.mondlap && mc.balbal.mutsrechts) {
mc.balbal.bolkleur2 = "g";
mc.balbal.bolkleur7 = "g";
} else if (mc.balbal.mondlap) {
mc.balbal.bolkleur2 = "g";
mc.balbal.bolkleur3 = "g";
mc.balbal.bolkleur4 = "g";
mc.balbal.bolkleur5 = "g";
mc.balbal.bolkleur6 = "g";
mc.balbal.bolkleur7 = "g";
} else if (mc.balbal.mutsrechts) {
mc.balbal.bolkleur1 = "g";
mc.balbal.bolkleur2 = "g";
mc.balbal.bolkleur7 = "g";
mc.balbal.bolkleur8 = "g";
} else {
mc.balbal.bolkleur1 = "g";
mc.balbal.bolkleur2 = "g";
mc.balbal.bolkleur3 = "g";
mc.balbal.bolkleur4 = "g";
mc.balbal.bolkleur5 = "g";
mc.balbal.bolkleur6 = "g";
mc.balbal.bolkleur7 = "g";
mc.balbal.bolkleur8 = "g";
}
} else if (mc.balbal.mondlap && mc.balbal.mutsrechts) {
mc.balbal.bolkleur7 = "g";
} else if (mc.balbal.mondlap) {
mc.balbal.bolkleur5 = "g";
mc.balbal.bolkleur6 = "g";
mc.balbal.bolkleur7 = "g";
} else if (mc.balbal.mutsrechts) {
mc.balbal.bolkleur7 = "g";
mc.balbal.bolkleur8 = "g";
} else {
mc.balbal.bolkleur5 = "g";
mc.balbal.bolkleur6 = "g";
mc.balbal.bolkleur7 = "g";
mc.balbal.bolkleur8 = "g";
}
}
} else if (toolused == 2) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.helm = false;
mc.balbal.mondlap = false;
mc.balbal.mutsrechts = false;
mc.balbal.mutsrechtsvoor = false;
mc.balbal.bolkleur1 = "y";
mc.balbal.bolkleur2 = "y";
mc.balbal.bolkleur3 = "y";
mc.balbal.bolkleur4 = "y";
mc.balbal.bolkleur5 = "y";
mc.balbal.bolkleur6 = "y";
mc.balbal.bolkleur7 = "y";
mc.balbal.bolkleur8 = "y";
} else if (mc.producing) {
if (!mc.balbal.helm) {
if (mc.balbal.mondlap && mc.balbal.mutsrechts) {
mc.balbal.bolkleur2 = "y";
mc.balbal.bolkleur7 = "y";
} else if (mc.balbal.mondlap) {
mc.balbal.bolkleur2 = "y";
mc.balbal.bolkleur3 = "y";
mc.balbal.bolkleur4 = "y";
mc.balbal.bolkleur5 = "y";
mc.balbal.bolkleur6 = "y";
mc.balbal.bolkleur7 = "y";
} else if (mc.balbal.mutsrechts) {
mc.balbal.bolkleur1 = "y";
mc.balbal.bolkleur2 = "y";
mc.balbal.bolkleur7 = "y";
mc.balbal.bolkleur8 = "y";
} else {
mc.balbal.bolkleur1 = "y";
mc.balbal.bolkleur2 = "y";
mc.balbal.bolkleur3 = "y";
mc.balbal.bolkleur4 = "y";
mc.balbal.bolkleur5 = "y";
mc.balbal.bolkleur6 = "y";
mc.balbal.bolkleur7 = "y";
mc.balbal.bolkleur8 = "y";
}
} else if (mc.balbal.mondlap && mc.balbal.mutsrechts) {
mc.balbal.bolkleur7 = "y";
} else if (mc.balbal.mondlap) {
mc.balbal.bolkleur5 = "y";
mc.balbal.bolkleur6 = "y";
mc.balbal.bolkleur7 = "y";
} else if (mc.balbal.mutsrechts) {
mc.balbal.bolkleur7 = "y";
mc.balbal.bolkleur8 = "y";
} else {
mc.balbal.bolkleur5 = "y";
mc.balbal.bolkleur6 = "y";
mc.balbal.bolkleur7 = "y";
mc.balbal.bolkleur8 = "y";
}
}
} else if (toolused == 3) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.helm = true;
mc.balbal.mondlap = false;
mc.balbal.mutsrechts = false;
mc.balbal.mutsrechtsvoor = false;
mc.balbal.bolkleur1 = "w";
mc.balbal.bolkleur2 = "w";
mc.balbal.bolkleur3 = "w";
mc.balbal.bolkleur4 = "w";
mc.balbal.bolkleur5 = "w";
mc.balbal.bolkleur6 = "w";
mc.balbal.bolkleur7 = "w";
mc.balbal.bolkleur8 = "w";
tool3.detail.gotoAndStop("helmgone");
} else if (mc.producing) {
if (!mc.balbal.helm) {
tool3.detail.gotoAndStop("helmgone");
mc.balbal.helm = true;
} else {
tool3.detail.gotoAndStop("helm");
mc.balbal.helm = false;
}
}
} else if (toolused == 4) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.helm = false;
mc.balbal.mondlap = false;
mc.balbal.mutsrechts = true;
mc.balbal.mutsrechtsvoor = false;
mc.balbal.bolkleur1 = "w";
mc.balbal.bolkleur2 = "w";
mc.balbal.bolkleur3 = "w";
mc.balbal.bolkleur4 = "w";
mc.balbal.bolkleur5 = "w";
mc.balbal.bolkleur6 = "w";
mc.balbal.bolkleur7 = "w";
mc.balbal.bolkleur8 = "w";
tool4.detail.gotoAndStop("mutsrechtsgone");
} else if (mc.producing) {
if ((!mc.balbal.mutsrechts) && (!mc.balbal.helm)) {
tool4.detail.gotoAndStop("mutsrechtsgone");
mc.balbal.mutsrechts = true;
if (mc.balbal.mondlap) {
mc.balbal.mutsrechtsvoor = true;
}
} else if (mc.balbal.mutsrechts && (!mc.balbal.helm)) {
if ((!mc.balbal.mondlap) || (mc.balbal.mondlap && mc.balbal.mutsrechtsvoor)) {
tool4.detail.gotoAndStop("mutsrechts");
mc.balbal.mutsrechts = false;
mc.balbal.mutsrechtsvoor = false;
}
}
}
} else if (toolused == 5) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.helm = false;
mc.balbal.mondlap = true;
mc.balbal.mutsrechts = false;
mc.balbal.mutsrechtsvoor = false;
mc.balbal.bolkleur1 = "w";
mc.balbal.bolkleur2 = "w";
mc.balbal.bolkleur3 = "w";
mc.balbal.bolkleur4 = "w";
mc.balbal.bolkleur5 = "w";
mc.balbal.bolkleur6 = "w";
mc.balbal.bolkleur7 = "w";
mc.balbal.bolkleur8 = "w";
tool5.detail.gotoAndStop("mondlapgone");
} else if (mc.producing) {
if ((!mc.balbal.mondlap) && (!mc.balbal.helm)) {
tool5.detail.gotoAndStop("mondlapgone");
mc.balbal.mondlap = true;
} else if (mc.balbal.mondlap && (!mc.balbal.helm)) {
if ((!mc.balbal.mutsrechts) || (mc.balbal.mutsrechts && (!mc.balbal.mutsrechtsvoor))) {
tool5.detail.gotoAndStop("mondlap");
mc.balbal.mondlap = false;
}
}
}
} else if (toolused == 6) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.helm = false;
mc.balbal.mondlap = false;
mc.balbal.mutsrechts = false;
mc.balbal.mutsrechtsvoor = false;
mc.balbal.bolkleur1 = "w";
mc.balbal.bolkleur2 = "w";
mc.balbal.bolkleur3 = "w";
mc.balbal.bolkleur4 = "w";
mc.balbal.bolkleur5 = "w";
mc.balbal.bolkleur6 = "w";
mc.balbal.bolkleur7 = "w";
mc.balbal.bolkleur8 = "w";
} else if (mc.producing) {
if (((!mc.balbal.helm) && (!mc.balbal.mondlap)) && (!mc.balbal.mutsrechts)) {
keepkl = mc.balbal.bolkleur1;
mc.balbal.bolkleur1 = mc.balbal.bolkleur2;
mc.balbal.bolkleur2 = mc.balbal.bolkleur3;
mc.balbal.bolkleur3 = mc.balbal.bolkleur4;
mc.balbal.bolkleur4 = mc.balbal.bolkleur5;
mc.balbal.bolkleur5 = mc.balbal.bolkleur6;
mc.balbal.bolkleur6 = mc.balbal.bolkleur7;
mc.balbal.bolkleur7 = mc.balbal.bolkleur8;
mc.balbal.bolkleur8 = keepkl;
}
}
}
mc.balbal.gotoAndPlay("bol26");
if (((((((((((mc.balbal.bol && (mc.balbal.bolkleur1 == "y")) && (mc.balbal.bolkleur2 == "g")) && (mc.balbal.bolkleur3 == "y")) && (mc.balbal.bolkleur4 == "g")) && (mc.balbal.bolkleur5 == "y")) && (mc.balbal.bolkleur6 == "g")) && (mc.balbal.bolkleur7 == "y")) && (mc.balbal.bolkleur8 == "g")) && (!mc.balbal.helm)) && (!mc.balbal.mondlap)) && (!mc.balbal.mutsrechts)) {
canProduce = false;
balproductie.nlevel = "l27";
mc.removeMovieClip();
balproductie.doos.levelbal.bol = true;
balproductie.doos.levelbal.bolkleur1 = "y";
balproductie.doos.levelbal.bolkleur2 = "g";
balproductie.doos.levelbal.bolkleur3 = "y";
balproductie.doos.levelbal.bolkleur4 = "g";
balproductie.doos.levelbal.bolkleur5 = "y";
balproductie.doos.levelbal.bolkleur6 = "g";
balproductie.doos.levelbal.bolkleur7 = "y";
balproductie.doos.levelbal.bolkleur8 = "g";
balproductie.doos.levelbal.helm = false;
balproductie.doos.levelbal.mondlap = false;
balproductie.doos.levelbal.mutsrechts = false;
balproductie.doos.levelbal.gotoAndPlay("bol26");
balproductie.gotoAndPlay("moveout");
}
}
}
function logica4(toolused, mc) {
mc._x = prodx;
mc._y = prody;
if (level == 27) {
if (toolused == 1) {
_parent.sound_shovel.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.grasbal = true;
mc.balbal.gras = 1;
mc.balbal.nbril = false;
mc.balbal.ogenr = false;
mc.balbal.ogenl = false;
mc.balbal.oogsprayl = false;
mc.balbal.oogsprayr = false;
mc.balbal.neusniv = 0;
mc.balbal.neusstempel = false;
} else if (mc.producing) {
if (!mc.balbal.grasbal) {
mc.balbal.grasbal = true;
mc.balbal.gras = 1;
}
if (!mc.balbal.nbril) {
if (mc.balbal.ogenr && (mc.balbal.ogenkleurr == "w")) {
mc.balbal.ogenkleurr = "g1";
} else if (mc.balbal.ogenr && (mc.balbal.ogenkleurr == "z")) {
mc.balbal.ogenkleurr = "g1z";
}
if (mc.balbal.ogenl && (mc.balbal.ogenkleurl == "w")) {
mc.balbal.ogenkleurl = "g1";
} else if (mc.balbal.ogenl && (mc.balbal.ogenkleurl == "z")) {
mc.balbal.ogenkleurl = "g1z";
}
}
if (mc.balbal.neusniv > 0) {
if (mc.balbal.neuskleur == "w") {
mc.balbal.neuskleur = "g1";
}
if (mc.balbal.neuskleur == "z") {
mc.balbal.neuskleur = "g1z";
}
if (mc.balbal.neuskleur == "r") {
mc.balbal.neuskleur = "g1r";
}
}
}
} else if (toolused == 2) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.grasbal = false;
mc.balbal.nbril = true;
mc.balbal.ogenr = true;
mc.balbal.ogenl = true;
mc.balbal.ogenkleurr = "w";
mc.balbal.ogenkleurl = "w";
mc.balbal.oogsprayl = false;
mc.balbal.oogsprayr = false;
mc.balbal.neusniv = 0;
mc.balbal.neusstempel = false;
tool2.detail.gotoAndStop("brilgone");
} else if (mc.producing) {
if (!mc.balbal.nbril) {
tool2.detail.gotoAndStop("brilgone");
mc.balbal.nbril = true;
if (!mc.balbal.ogenr) {
mc.balbal.ogenr = true;
mc.balbal.ogenkleurr = "w";
if (mc.balbal.grasbal) {
if (mc.balbal.gras == 1) {
mc.balbal.ogenkleurr = "g1";
} else if (mc.balbal.gras == 2) {
mc.balbal.ogenkleurr = "g2";
} else if (mc.balbal.gras == 3) {
mc.balbal.ogenkleurr = "g3";
} else if (mc.balbal.gras == 4) {
mc.balbal.ogenkleurr = "g4";
}
}
}
if (!mc.balbal.ogenl) {
mc.balbal.ogenl = true;
mc.balbal.ogenkleurl = "w";
if (mc.balbal.grasbal) {
if (mc.balbal.gras == 1) {
mc.balbal.ogenkleurl = "g1";
} else if (mc.balbal.gras == 2) {
mc.balbal.ogenkleurl = "g2";
} else if (mc.balbal.gras == 3) {
mc.balbal.ogenkleurl = "g3";
} else if (mc.balbal.gras == 4) {
mc.balbal.ogenkleurl = "g4";
}
}
}
} else {
tool2.detail.gotoAndStop("bril");
mc.balbal.nbril = false;
if ((mc.balbal.ogenkleurr == "w") && (!mc.balbal.grasbal)) {
mc.balbal.ogenr = false;
} else if (((mc.balbal.ogenkleurr == "g1") && (mc.balbal.grasbal)) && (mc.balbal.gras == 1)) {
mc.balbal.ogenr = false;
} else if (((mc.balbal.ogenkleurr == "g2") && mc.balbal.grasbal) && (mc.balbal.gras == 2)) {
mc.balbal.ogenr = false;
} else if (((mc.balbal.ogenkleurr == "g3") && mc.balbal.grasbal) && (mc.balbal.gras == 3)) {
mc.balbal.ogenr = false;
} else if (((mc.balbal.ogenkleurr == "g4") && mc.balbal.grasbal) && (mc.balbal.gras == 4)) {
mc.balbal.ogenr = false;
}
if ((mc.balbal.ogenkleurl == "w") && (!mc.balbal.grasbal)) {
mc.balbal.ogenl = false;
} else if (((mc.balbal.ogenkleurl == "g1") && (mc.balbal.grasbal)) && (mc.balbal.gras == 1)) {
mc.balbal.ogenl = false;
} else if (((mc.balbal.ogenkleurl == "g2") && mc.balbal.grasbal) && (mc.balbal.gras == 2)) {
mc.balbal.ogenl = false;
} else if (((mc.balbal.ogenkleurl == "g3") && mc.balbal.grasbal) && (mc.balbal.gras == 3)) {
mc.balbal.ogenl = false;
} else if (((mc.balbal.ogenkleurl == "g4") && mc.balbal.grasbal) && (mc.balbal.gras == 4)) {
mc.balbal.ogenl = false;
}
}
}
} else if (toolused == 3) {
_parent.sound_spray.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.grasbal = false;
mc.balbal.nbril = false;
mc.balbal.ogenr = false;
mc.balbal.ogenl = false;
mc.balbal.oogsprayl = false;
mc.balbal.oogsprayr = true;
mc.balbal.oogsprayrniv = 1;
mc.balbal.neusniv = 0;
mc.balbal.neusstempel = false;
} else if (mc.producing) {
if (!mc.balbal.nbril) {
if (!mc.balbal.oogsprayr) {
if (!mc.balbal.ogenr) {
if ((!mc.balbal.grasbal) || (mc.balbal.grasbal && (mc.balbal.gras == "1"))) {
mc.balbal.oogsprayr = true;
mc.balbal.oogsprayrniv = 1;
}
} else if (((mc.balbal.ogenkleurr != "g2") && (mc.balbal.ogenkleurr != "g3")) && (mc.balbal.ogenkleurr != "g4")) {
mc.balbal.oogsprayr = true;
mc.balbal.oogsprayrniv = 1;
}
} else if (!mc.balbal.oogsprayl) {
if (!mc.balbal.ogenl) {
if ((!mc.balbal.grasbal) || (mc.balbal.grasbal && (mc.balbal.gras == "1"))) {
mc.balbal.oogsprayl = true;
mc.balbal.oogspraylniv = 1;
}
} else if (((mc.balbal.ogenkleurl != "g2") && (mc.balbal.ogenkleurl != "g3")) && (mc.balbal.ogenkleurl != "g4")) {
mc.balbal.oogsprayl = true;
mc.balbal.oogspraylniv = 1;
}
} else if ((mc.balbal.oogsprayrniv <= mc.balbal.oogspraylniv) && (mc.balbal.oogsprayrniv < 4)) {
if (!mc.balbal.ogenr) {
if ((!mc.balbal.grasbal) || (mc.balbal.grasbal && (mc.balbal.gras == "1"))) {
mc.balbal.oogsprayrniv++;
}
} else if ((mc.balbal.grasbal && (mc.balbal.gras > 1)) && (mc.balbal.oogsprayrniv == 3)) {
} else if (((mc.balbal.ogenkleurr != "g2") && (mc.balbal.ogenkleurr != "g3")) && (mc.balbal.ogenkleurr != "g4")) {
mc.balbal.oogsprayrniv++;
}
} else if ((mc.balbal.oogspraylniv < mc.balbal.oogsprayrniv) && (mc.balbal.oogspraylniv < 4)) {
if (!mc.balbal.ogenl) {
if ((!mc.balbal.grasbal) || (mc.balbal.grasbal && (mc.balbal.gras == "1"))) {
mc.balbal.oogspraylniv++;
}
} else if ((mc.balbal.grasbal && (mc.balbal.gras > 1)) && (mc.balbal.oogspraylniv == 3)) {
} else if (((mc.balbal.ogenkleurl != "g2") && (mc.balbal.ogenkleurl != "g3")) && (mc.balbal.ogenkleurl != "g4")) {
mc.balbal.oogspraylniv++;
}
}
}
}
} else if (toolused == 4) {
_parent.sound_thud.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.grasbal = false;
mc.balbal.nbril = false;
mc.balbal.ogenr = false;
mc.balbal.ogenl = false;
mc.balbal.oogsprayl = false;
mc.balbal.oogsprayr = false;
mc.balbal.neusniv = 0;
mc.balbal.neusstempel = true;
mc.balbal.stempelniv = 1;
} else if (mc.producing) {
if (mc.balbal.grasbal && (mc.balbal.gras > 1)) {
mc.balbal.neusstempel = false;
} else {
mc.balbal.neusstempel = true;
if (mc.balbal.neusniv == 0) {
mc.balbal.stempelniv = 1;
} else if (mc.balbal.neusniv == 1) {
if ((mc.balbal.neuskleur == "r") || (mc.balbal.grasbal && (mc.balbal.gras > 1))) {
mc.balbal.neusstempel = false;
} else {
mc.balbal.stempelniv = 2;
}
} else if (mc.balbal.neusniv == 2) {
if ((mc.balbal.neuskleur == "r") || (mc.balbal.grasbal && (mc.balbal.gras > 1))) {
mc.balbal.neusstempel = false;
} else {
mc.balbal.stempelniv = 3;
}
}
}
}
} else if (toolused == 5) {
_parent.sound_water.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.grasbal = false;
mc.balbal.nbril = false;
mc.balbal.ogenr = false;
mc.balbal.ogenl = false;
mc.balbal.oogsprayl = false;
mc.balbal.oogsprayr = false;
mc.balbal.neusniv = 0;
mc.balbal.neusstempel = false;
} else if (mc.producing) {
if (mc.balbal.grasbal) {
if (mc.balbal.gras == 1) {
mc.balbal.gras = 2;
} else if (mc.balbal.gras == 2) {
mc.balbal.gras = 3;
} else if (mc.balbal.gras == 3) {
mc.balbal.gras = 4;
}
mc.balbal.neusstempel = false;
}
if (!mc.balbal.nbril) {
if (mc.balbal.ogenr && ((mc.balbal.ogenkleurr == "g1") || (mc.balbal.ogenkleurr == "g1z"))) {
mc.balbal.ogenkleurr = "g2";
} else if (mc.balbal.ogenr && (mc.balbal.ogenkleurr == "g2")) {
mc.balbal.ogenkleurr = "g3";
} else if (mc.balbal.ogenr && (mc.balbal.ogenkleurr == "g3")) {
mc.balbal.ogenkleurr = "g4";
}
if (mc.balbal.ogenl && ((mc.balbal.ogenkleurl == "g1") || (mc.balbal.ogenkleurl == "g1z"))) {
mc.balbal.ogenkleurl = "g2";
} else if (mc.balbal.ogenl && (mc.balbal.ogenkleurl == "g2")) {
mc.balbal.ogenkleurl = "g3";
} else if (mc.balbal.ogenl && (mc.balbal.ogenkleurl == "g3")) {
mc.balbal.ogenkleurl = "g4";
}
}
if (mc.balbal.oogsprayr) {
if (mc.balbal.ogenr) {
if (((mc.balbal.ogenkleurr == "g2") || (mc.balbal.ogenkleurr == "g3")) || (mc.balbal.ogenkleurr == "g4")) {
mc.balbal.oogsprayr = false;
}
} else if (mc.balbal.grasbal && (mc.balbal.gras > 1)) {
mc.balbal.oogsprayr = false;
}
}
if (mc.balbal.oogsprayl) {
if (mc.balbal.ogenl) {
if (((mc.balbal.ogenkleurl == "g2") || (mc.balbal.ogenkleurl == "g3")) || (mc.balbal.ogenkleurl == "g4")) {
mc.balbal.oogsprayl = false;
}
} else if (mc.balbal.grasbal && (mc.balbal.gras > 1)) {
mc.balbal.oogsprayl = false;
}
}
if (mc.balbal.neusniv > 0) {
if (mc.balbal.neuskleur == "g1") {
mc.balbal.neuskleur = "g2";
} else if (mc.balbal.neuskleur == "g2") {
mc.balbal.neuskleur = "g3";
} else if (mc.balbal.neuskleur == "g3") {
mc.balbal.neuskleur = "g4";
} else if (mc.balbal.neuskleur == "g5") {
mc.balbal.neuskleur = "g6";
} else if (mc.balbal.neuskleur == "g6") {
mc.balbal.neuskleur = "g4";
} else if (mc.balbal.neuskleur == "g1r") {
mc.balbal.neuskleur = "g5";
} else if (mc.balbal.neuskleur == "g1z") {
mc.balbal.neuskleur = "g2";
}
}
}
} else if (toolused == 6) {
_parent.sound_popout.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.grasbal = false;
mc.balbal.nbril = false;
mc.balbal.ogenr = false;
mc.balbal.ogenl = false;
mc.balbal.oogsprayl = false;
mc.balbal.oogsprayr = false;
mc.balbal.neusniv = 1;
mc.balbal.neuskleur = "w";
mc.balbal.neusstempel = false;
} else if (mc.producing) {
if (mc.balbal.neusniv == 0) {
mc.balbal.neusniv = 1;
if (mc.balbal.neusstempel) {
mc.balbal.neusstempel = false;
if (!mc.balbal.grasbal) {
mc.balbal.neuskleur = "r";
} else if (mc.balbal.gras == 1) {
mc.balbal.neuskleur = "g1r";
}
} else if (mc.balbal.oogsprayrniv == 4) {
mc.balbal.neuskleur = "z";
} else if (!mc.balbal.grasbal) {
mc.balbal.neuskleur = "w";
} else if (mc.balbal.gras == 1) {
mc.balbal.neuskleur = "g1";
} else if (mc.balbal.gras == 2) {
mc.balbal.neuskleur = "g2";
} else if (mc.balbal.gras == 3) {
mc.balbal.neuskleur = "g3";
} else if (mc.balbal.gras == 4) {
mc.balbal.neuskleur = "g4";
}
} else if (mc.balbal.neusniv == 1) {
mc.balbal.neusniv = 2;
if ((!mc.balbal.grasbal) && (mc.balbal.neuskleur != "r")) {
mc.balbal.stempelniv = 3;
}
if (mc.balbal.grasbal && (mc.balbal.gras == 1)) {
mc.balbal.stempelniv = 3;
}
} else {
_parent.sound_pop.start();
mc.attachMovie("bal", "critter_mc" + (extratel++), 0);
mc.producing = false;
produced = false;
tool2.detail.gotoAndStop("bril");
}
}
}
mc.balbal.gotoAndPlay("bol27");
if ((((((((((((((mc.balbal.bol && (mc.balbal.grasbal)) && (mc.balbal.gras == 3)) && (!mc.balbal.nbril)) && (mc.balbal.ogenr)) && (mc.balbal.ogenkleurr == "w")) && (mc.balbal.ogenl)) && (mc.balbal.ogenkleurl == "w")) && (mc.balbal.oogsprayr)) && (mc.balbal.oogsprayrniv == 1)) && (mc.balbal.oogsprayl)) && (mc.balbal.oogspraylniv == 1)) && (mc.balbal.neusniv == 2)) && (mc.balbal.neuskleur == "g6")) && (!mc.balbal.neusstempel)) {
canProduce = false;
balproductie.nlevel = "l28";
mc.removeMovieClip();
balproductie.doos.levelbal.bol = true;
balproductie.doos.levelbal.grasbal = true;
balproductie.doos.levelbal.gras = 3;
balproductie.doos.levelbal.nbril = false;
balproductie.doos.levelbal.ogenr = true;
balproductie.doos.levelbal.ogenkleurr = "w";
balproductie.doos.levelbal.ogenl = true;
balproductie.doos.levelbal.ogenkleurl = "w";
balproductie.doos.levelbal.oogsprayl = true;
balproductie.doos.levelbal.oogspraylniv = 1;
balproductie.doos.levelbal.oogsprayr = true;
balproductie.doos.levelbal.oogsprayrniv = 1;
balproductie.doos.levelbal.neusniv = 2;
balproductie.doos.levelbal.neuskleur = "g6";
balproductie.doos.levelbal.neusstempel = false;
balproductie.doos.levelbal.gotoAndPlay("bol27");
balproductie.gotoAndPlay("moveout");
}
} else if (level == 28) {
if (toolused == 1) {
_parent.sound_shovel.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.mutslinks = false;
mc.balbal.mutsrechts = false;
mc.balbal.helm = false;
mc.balbal.kwart1kleur = "g1";
mc.balbal.kwart2kleur = "g1";
mc.balbal.kwart3kleur = "g1";
mc.balbal.kwart4kleur = "g1";
mc.balbal.bloembal1 = false;
mc.balbal.bloembal2 = false;
mc.balbal.bloembal3 = false;
mc.balbal.bloembal4 = false;
} else if (mc.producing) {
if (mc.balbal.helm) {
if (!mc.balbal.mutslinks) {
if (mc.balbal.kwart4kleur == "w") {
mc.balbal.kwart4kleur = "g1";
}
}
if (!mc.balbal.mutsrechts) {
if (mc.balbal.kwart3kleur == "w") {
mc.balbal.kwart3kleur = "g1";
}
}
} else {
if (!mc.balbal.mutslinks) {
if (mc.balbal.kwart4kleur == "w") {
mc.balbal.kwart4kleur = "g1";
}
if (mc.balbal.kwart1kleur == "w") {
mc.balbal.kwart1kleur = "g1";
}
}
if (!mc.balbal.mutsrechts) {
if (mc.balbal.kwart3kleur == "w") {
mc.balbal.kwart3kleur = "g1";
}
if (mc.balbal.kwart2kleur == "w") {
mc.balbal.kwart2kleur = "g1";
}
}
}
}
} else if (toolused == 2) {
_parent.sound_shovel.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.mutslinks = false;
mc.balbal.mutsrechts = false;
mc.balbal.helm = false;
mc.balbal.kwart1kleur = "w";
mc.balbal.kwart2kleur = "w";
mc.balbal.kwart3kleur = "w";
mc.balbal.kwart4kleur = "w";
mc.balbal.bloembal1 = true;
mc.balbal.bloem1 = 1;
mc.balbal.bloembal2 = true;
mc.balbal.bloem2 = 1;
mc.balbal.bloembal3 = true;
mc.balbal.bloem3 = 1;
mc.balbal.bloembal4 = true;
mc.balbal.bloem4 = 1;
} else if (mc.producing) {
if (mc.balbal.helm) {
if (!mc.balbal.mutslinks) {
if (!mc.balbal.bloembal4) {
mc.balbal.bloembal4 = true;
mc.balbal.bloem4 = 1;
}
}
if (!mc.balbal.mutsrechts) {
if (!mc.balbal.bloembal3) {
mc.balbal.bloembal3 = true;
mc.balbal.bloem3 = 1;
}
}
} else {
if (!mc.balbal.mutslinks) {
if (!mc.balbal.bloembal4) {
mc.balbal.bloembal4 = true;
mc.balbal.bloem4 = 1;
}
if (!mc.balbal.bloembal1) {
mc.balbal.bloembal1 = true;
mc.balbal.bloem1 = 1;
}
}
if (!mc.balbal.mutsrechts) {
if (!mc.balbal.bloembal3) {
mc.balbal.bloembal3 = true;
mc.balbal.bloem3 = 1;
}
if (!mc.balbal.bloembal2) {
mc.balbal.bloembal2 = true;
mc.balbal.bloem2 = 1;
}
}
}
}
} else if (toolused == 3) {
_parent.sound_water.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.mutslinks = false;
mc.balbal.mutsrechts = false;
mc.balbal.helm = false;
mc.balbal.kwart1kleur = "w";
mc.balbal.kwart2kleur = "w";
mc.balbal.kwart3kleur = "w";
mc.balbal.kwart4kleur = "w";
mc.balbal.bloembal1 = false;
mc.balbal.bloembal2 = false;
mc.balbal.bloembal3 = false;
mc.balbal.bloembal4 = false;
} else if (mc.producing) {
if (mc.balbal.helm) {
if (!mc.balbal.mutslinks) {
if (mc.balbal.kwart4kleur == "g1") {
mc.balbal.kwart4kleur = "g2";
} else if (mc.balbal.kwart4kleur == "g2") {
mc.balbal.kwart4kleur = "g3";
} else if (mc.balbal.kwart4kleur == "g3") {
mc.balbal.kwart4kleur = "g4";
}
}
if (!mc.balbal.mutsrechts) {
if (mc.balbal.kwart3kleur == "g1") {
mc.balbal.kwart3kleur = "g2";
} else if (mc.balbal.kwart3kleur == "g2") {
mc.balbal.kwart3kleur = "g3";
} else if (mc.balbal.kwart3kleur == "g3") {
mc.balbal.kwart3kleur = "g4";
}
}
} else {
if (!mc.balbal.mutslinks) {
if (mc.balbal.kwart4kleur == "g1") {
mc.balbal.kwart4kleur = "g2";
} else if (mc.balbal.kwart4kleur == "g2") {
mc.balbal.kwart4kleur = "g3";
} else if (mc.balbal.kwart4kleur == "g3") {
mc.balbal.kwart4kleur = "g4";
}
if (mc.balbal.kwart1kleur == "g1") {
mc.balbal.kwart1kleur = "g2";
} else if (mc.balbal.kwart1kleur == "g2") {
mc.balbal.kwart1kleur = "g3";
} else if (mc.balbal.kwart1kleur == "g3") {
mc.balbal.kwart1kleur = "g4";
}
}
if (!mc.balbal.mutsrechts) {
if (mc.balbal.kwart3kleur == "g1") {
mc.balbal.kwart3kleur = "g2";
} else if (mc.balbal.kwart3kleur == "g2") {
mc.balbal.kwart3kleur = "g3";
} else if (mc.balbal.kwart3kleur == "g3") {
mc.balbal.kwart3kleur = "g4";
}
if (mc.balbal.kwart2kleur == "g1") {
mc.balbal.kwart2kleur = "g2";
} else if (mc.balbal.kwart2kleur == "g2") {
mc.balbal.kwart2kleur = "g3";
} else if (mc.balbal.kwart2kleur == "g3") {
mc.balbal.kwart2kleur = "g4";
}
}
}
if (mc.balbal.helm) {
if (!mc.balbal.mutslinks) {
if (mc.balbal.bloembal4) {
if (mc.balbal.bloem4 == 1) {
mc.balbal.bloem4 = 2;
} else if (mc.balbal.bloem4 == 2) {
mc.balbal.bloem4 = 3;
} else if (mc.balbal.bloem4 == 3) {
mc.balbal.bloembal4 = false;
}
}
}
if (!mc.balbal.mutsrechts) {
if (mc.balbal.bloembal3) {
if (mc.balbal.bloem3 == 1) {
mc.balbal.bloem3 = 2;
} else if (mc.balbal.bloem3 == 2) {
mc.balbal.bloem3 = 3;
} else if (mc.balbal.bloem3 == 3) {
mc.balbal.bloembal3 = false;
}
}
}
} else {
if (!mc.balbal.mutslinks) {
if (mc.balbal.bloembal4) {
if (mc.balbal.bloem4 == 1) {
mc.balbal.bloem4 = 2;
} else if (mc.balbal.bloem4 == 2) {
mc.balbal.bloem4 = 3;
} else if (mc.balbal.bloem4 == 3) {
mc.balbal.bloembal4 = false;
}
}
if (mc.balbal.bloembal1) {
if (mc.balbal.bloem1 == 1) {
mc.balbal.bloem1 = 2;
} else if (mc.balbal.bloem1 == 2) {
mc.balbal.bloem1 = 3;
} else if (mc.balbal.bloem1 == 3) {
mc.balbal.bloembal1 = false;
}
}
}
if (!mc.balbal.mutsrechts) {
if (mc.balbal.bloembal3) {
if (mc.balbal.bloem3 == 1) {
mc.balbal.bloem3 = 2;
} else if (mc.balbal.bloem3 == 2) {
mc.balbal.bloem3 = 3;
} else if (mc.balbal.bloem3 == 3) {
mc.balbal.bloembal3 = false;
}
}
if (mc.balbal.bloembal2) {
if (mc.balbal.bloem2 == 1) {
mc.balbal.bloem2 = 2;
} else if (mc.balbal.bloem2 == 2) {
mc.balbal.bloem2 = 3;
} else if (mc.balbal.bloem2 == 3) {
mc.balbal.bloembal2 = false;
}
}
}
}
}
} else if (toolused == 4) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.mutslinks = false;
mc.balbal.mutsrechts = false;
mc.balbal.helm = true;
mc.balbal.kwart1kleur = "w";
mc.balbal.kwart2kleur = "w";
mc.balbal.kwart3kleur = "w";
mc.balbal.kwart4kleur = "w";
mc.balbal.bloembal1 = false;
mc.balbal.bloembal2 = false;
mc.balbal.bloembal3 = false;
mc.balbal.bloembal4 = false;
tool4.detail.gotoAndStop("helmgone");
} else if (mc.producing) {
if (!mc.balbal.helm) {
tool4.detail.gotoAndStop("helmgone");
mc.balbal.helm = true;
} else {
tool4.detail.gotoAndStop("helm");
mc.balbal.helm = false;
}
}
} else if (toolused == 5) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.mutslinks = true;
mc.balbal.mutsrechts = false;
mc.balbal.helm = false;
mc.balbal.kwart1kleur = "w";
mc.balbal.kwart2kleur = "w";
mc.balbal.kwart3kleur = "w";
mc.balbal.kwart4kleur = "w";
mc.balbal.bloembal1 = false;
mc.balbal.bloembal2 = false;
mc.balbal.bloembal3 = false;
mc.balbal.bloembal4 = false;
tool5.detail.gotoAndStop("mutslinksgone");
} else if (mc.producing) {
if ((!mc.balbal.mutslinks) && (!mc.balbal.helm)) {
tool5.detail.gotoAndStop("mutslinksgone");
mc.balbal.mutslinks = true;
} else if (mc.balbal.mutslinks && (!mc.balbal.helm)) {
tool5.detail.gotoAndStop("mutslinks");
mc.balbal.mutslinks = false;
}
}
} else if (toolused == 6) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.mutslinks = false;
mc.balbal.mutsrechts = true;
mc.balbal.helm = false;
mc.balbal.kwart1kleur = "w";
mc.balbal.kwart2kleur = "w";
mc.balbal.kwart3kleur = "w";
mc.balbal.kwart4kleur = "w";
mc.balbal.bloembal1 = false;
mc.balbal.bloembal2 = false;
mc.balbal.bloembal3 = false;
mc.balbal.bloembal4 = false;
tool6.detail.gotoAndStop("mutsrechtsgone");
} else if (mc.producing) {
if ((!mc.balbal.mutsrechts) && (!mc.balbal.helm)) {
tool6.detail.gotoAndStop("mutsrechtsgone");
mc.balbal.mutsrechts = true;
} else if (mc.balbal.mutsrechts && (!mc.balbal.helm)) {
tool6.detail.gotoAndStop("mutsrechts");
mc.balbal.mutsrechts = false;
}
}
}
mc.balbal.gotoAndPlay("bol28");
if (((((((((((((mc.balbal.bol && (!mc.balbal.helm)) && (!mc.balbal.mutslinks)) && (!mc.balbal.mutsrechts)) && (mc.balbal.kwart1kleur == "g2")) && (mc.balbal.kwart2kleur == "g3")) && (mc.balbal.kwart3kleur == "g4")) && (mc.balbal.kwart4kleur == "g3")) && (mc.balbal.bloembal1)) && (mc.balbal.bloem1 == 3)) && (mc.balbal.bloembal2)) && (mc.balbal.bloem2 == 3)) && (!mc.balbal.bloembal3)) && (!mc.balbal.bloembal4)) {
canProduce = false;
balproductie.nlevel = "l29";
mc.removeMovieClip();
balproductie.doos.levelbal.bol = true;
balproductie.doos.levelbal.helm = false;
balproductie.doos.levelbal.mutslinks = false;
balproductie.doos.levelbal.mutsrechts = false;
balproductie.doos.levelbal.kwart1kleur = "g2";
balproductie.doos.levelbal.kwart2kleur = "g3";
balproductie.doos.levelbal.kwart3kleur = "g4";
balproductie.doos.levelbal.kwart4kleur = "g3";
balproductie.doos.levelbal.bloembal1 = true;
balproductie.doos.levelbal.bloem1 = 3;
balproductie.doos.levelbal.bloembal2 = true;
balproductie.doos.levelbal.bloem2 = 3;
balproductie.doos.levelbal.bloembal3 = false;
balproductie.doos.levelbal.bloembal4 = false;
balproductie.doos.levelbal.gotoAndPlay("bol28");
balproductie.gotoAndPlay("moveout");
}
} else if (level == 29) {
if (toolused == 1) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "b";
mc.balbal.riem = false;
mc.balbal.riemb = false;
mc.balbal.riemv = false;
mc.balbal.r1 = "";
mc.balbal.r2 = "";
mc.balbal.r3 = "";
mc.balbal.b1 = "b";
mc.balbal.b2 = "b";
mc.balbal.b3 = "b";
mc.balbal.b4 = "b";
mc.balbal.b5 = "b";
mc.balbal.b6 = "b";
mc.balbal.b7 = "b";
} else if (mc.producing) {
mc.balbal.bolkleur = "b";
if (!mc.balbal.riemv) {
mc.balbal.b4 = "b";
}
if (!mc.balbal.riemb) {
mc.balbal.b1 = "b";
mc.balbal.b2 = "b";
}
if ((!mc.balbal.riem) && (!mc.balbal.riemb)) {
mc.balbal.b3 = "b";
}
if (((!mc.balbal.riem) && (!mc.balbal.riemb)) && (!mc.balbal.riemv)) {
mc.balbal.b6 = "b";
}
if ((!mc.balbal.riemv) && (!mc.balbal.riemb)) {
mc.balbal.b5 = "b";
mc.balbal.b7 = "b";
}
}
} else if (toolused == 2) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.riem = true;
mc.balbal.riemb = false;
mc.balbal.riemv = false;
mc.balbal.r1 = "r";
mc.balbal.r2 = "";
mc.balbal.r3 = "";
mc.balbal.b1 = "w";
mc.balbal.b2 = "w";
mc.balbal.b3 = "w";
mc.balbal.b4 = "w";
mc.balbal.b5 = "w";
mc.balbal.b6 = "w";
mc.balbal.b7 = "w";
tool2.detail.gotoAndStop("riemgone");
} else if (mc.producing) {
if (!mc.balbal.riem) {
tool2.detail.gotoAndStop("riemgone");
mc.balbal.riem = true;
if (mc.balbal.r1 == "") {
mc.balbal.r1 = "r";
} else if (mc.balbal.r2 == "") {
mc.balbal.r2 = "r";
} else {
mc.balbal.r3 = "r";
}
} else if (((((mc.balbal.r1 == "r") && (mc.balbal.r2 == "")) && (mc.balbal.r3 == "")) || ((mc.balbal.r2 == "r") && (mc.balbal.r3 == ""))) || (mc.balbal.r3 == "r")) {
tool2.detail.gotoAndStop("riem");
mc.balbal.riem = false;
if ((mc.balbal.r2 == "") && (mc.balbal.r3 == "")) {
mc.balbal.r1 = "";
} else if (mc.balbal.r3 == "") {
mc.balbal.r2 = "";
} else {
mc.balbal.r3 = "";
}
}
}
} else if (toolused == 3) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.riemb = true;
mc.balbal.riem = false;
mc.balbal.riemv = false;
mc.balbal.r1 = "b";
mc.balbal.r2 = "";
mc.balbal.r3 = "";
mc.balbal.b1 = "w";
mc.balbal.b2 = "w";
mc.balbal.b3 = "w";
mc.balbal.b4 = "w";
mc.balbal.b5 = "w";
mc.balbal.b6 = "w";
mc.balbal.b7 = "w";
tool3.detail.gotoAndStop("riembgone");
} else if (mc.producing) {
if (!mc.balbal.riemb) {
tool3.detail.gotoAndStop("riembgone");
mc.balbal.riemb = true;
if (mc.balbal.r1 == "") {
mc.balbal.r1 = "b";
} else if (mc.balbal.r2 == "") {
mc.balbal.r2 = "b";
} else {
mc.balbal.r3 = "b";
}
} else if (((((mc.balbal.r1 == "b") && (mc.balbal.r2 == "")) && (mc.balbal.r3 == "")) || ((mc.balbal.r2 == "b") && (mc.balbal.r3 == ""))) || (mc.balbal.r3 == "b")) {
tool3.detail.gotoAndStop("riemb");
mc.balbal.riemb = false;
if ((mc.balbal.r2 == "") && (mc.balbal.r3 == "")) {
mc.balbal.r1 = "";
} else if (mc.balbal.r3 == "") {
mc.balbal.r2 = "";
} else {
mc.balbal.r3 = "";
}
}
}
} else if (toolused == 4) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.riemv = true;
mc.balbal.riem = false;
mc.balbal.riemb = false;
mc.balbal.r1 = "v";
mc.balbal.r2 = "";
mc.balbal.r3 = "";
mc.balbal.b1 = "w";
mc.balbal.b2 = "w";
mc.balbal.b3 = "w";
mc.balbal.b4 = "w";
mc.balbal.b5 = "w";
mc.balbal.b6 = "w";
mc.balbal.b7 = "w";
tool4.detail.gotoAndStop("riemvgone");
} else if (mc.producing) {
if (!mc.balbal.riemv) {
tool4.detail.gotoAndStop("riemvgone");
mc.balbal.riemv = true;
if (mc.balbal.r1 == "") {
mc.balbal.r1 = "v";
} else if (mc.balbal.r2 == "") {
mc.balbal.r2 = "v";
} else {
mc.balbal.r3 = "v";
}
} else if (((((mc.balbal.r1 == "v") && (mc.balbal.r2 == "")) && (mc.balbal.r3 == "")) || ((mc.balbal.r2 == "v") && (mc.balbal.r3 == ""))) || (mc.balbal.r3 == "v")) {
tool4.detail.gotoAndStop("riemv");
mc.balbal.riemv = false;
if ((mc.balbal.r2 == "") && (mc.balbal.r3 == "")) {
mc.balbal.r1 = "";
} else if (mc.balbal.r3 == "") {
mc.balbal.r2 = "";
} else {
mc.balbal.r3 = "";
}
}
}
} else if (toolused == 5) {
_parent.sound_shovel.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.bolkleur = "w";
mc.balbal.riem = false;
mc.balbal.riemb = false;
mc.balbal.riemv = false;
mc.balbal.r1 = "";
mc.balbal.r2 = "";
mc.balbal.r3 = "";
mc.balbal.b1 = "w";
mc.balbal.b2 = "w";
mc.balbal.b3 = "w";
mc.balbal.b4 = "w";
mc.balbal.b5 = "w";
mc.balbal.b6 = "w";
mc.balbal.b7 = "w";
} else if (mc.producing) {
mc.balbal.bolkleur = "w";
if (!mc.balbal.riemv) {
mc.balbal.b4 = "w";
}
if (!mc.balbal.riemb) {
mc.balbal.b1 = "w";
mc.balbal.b2 = "w";
}
if ((!mc.balbal.riem) && (!mc.balbal.riemb)) {
mc.balbal.b3 = "w";
}
if (((!mc.balbal.riem) && (!mc.balbal.riemb)) && (!mc.balbal.riemv)) {
mc.balbal.b6 = "w";
}
if ((!mc.balbal.riemv) && (!mc.balbal.riemb)) {
mc.balbal.b5 = "w";
mc.balbal.b7 = "w";
}
}
}
mc.balbal.gotoAndPlay("bol29");
if (((((((((((mc.balbal.bol && (mc.balbal.bolkleur == "b")) && (!mc.balbal.riem)) && (!mc.balbal.riemb)) && (!mc.balbal.riemv)) && (mc.balbal.b1 == "w")) && (mc.balbal.b2 == "w")) && (mc.balbal.b3 == "b")) && (mc.balbal.b4 == "w")) && (mc.balbal.b5 == "b")) && (mc.balbal.b6 == "w")) && (mc.balbal.b7 == "b")) {
canProduce = false;
balproductie.nlevel = "l30";
mc.removeMovieClip();
balproductie.doos.levelbal.bol = true;
balproductie.doos.levelbal.bolkleur = "b";
balproductie.doos.levelbal.riem = false;
balproductie.doos.levelbal.riemb = false;
balproductie.doos.levelbal.riemv = false;
balproductie.doos.levelbal.b1 = "w";
balproductie.doos.levelbal.b2 = "w";
balproductie.doos.levelbal.b3 = "b";
balproductie.doos.levelbal.b4 = "w";
balproductie.doos.levelbal.b5 = "b";
balproductie.doos.levelbal.b6 = "w";
balproductie.doos.levelbal.b7 = "b";
balproductie.doos.levelbal.gotoAndPlay("bol29");
balproductie.gotoAndPlay("moveout");
}
} else if (level == 30) {
if (toolused == 1) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.helm = false;
mc.balbal.mondlap = false;
mc.balbal.bolkleur1 = "r";
mc.balbal.bolkleur2 = "r";
mc.balbal.bolkleur3 = "r";
mc.balbal.bolkleur4 = "r";
mc.balbal.bolkleur5 = "r";
mc.balbal.bolkleur6 = "r";
mc.balbal.bolkleur7 = "r";
mc.balbal.bolkleur8 = "r";
} else if (mc.producing) {
if (!mc.balbal.helm) {
mc.balbal.bolkleur2 = "r";
mc.balbal.bolkleur3 = "r";
mc.balbal.bolkleur4 = "r";
mc.balbal.bolkleur5 = "r";
mc.balbal.bolkleur6 = "r";
mc.balbal.bolkleur7 = "r";
if (!mc.balbal.mondlap) {
mc.balbal.bolkleur1 = "r";
mc.balbal.bolkleur8 = "r";
}
} else {
mc.balbal.bolkleur5 = "r";
mc.balbal.bolkleur6 = "r";
mc.balbal.bolkleur7 = "r";
if (!mc.balbal.mondlap) {
mc.balbal.bolkleur8 = "r";
}
}
}
} else if (toolused == 2) {
_parent.sound_paint.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.helm = false;
mc.balbal.mondlap = false;
mc.balbal.bolkleur1 = "w";
mc.balbal.bolkleur2 = "w";
mc.balbal.bolkleur3 = "w";
mc.balbal.bolkleur4 = "w";
mc.balbal.bolkleur5 = "w";
mc.balbal.bolkleur6 = "w";
mc.balbal.bolkleur7 = "w";
mc.balbal.bolkleur8 = "w";
} else if (mc.producing) {
if (!mc.balbal.helm) {
if (mc.balbal.bolkleur2 == "r") {
mc.balbal.bolkleur2 = "rm";
} else {
mc.balbal.bolkleur2 = "w";
}
if (mc.balbal.bolkleur3 == "r") {
mc.balbal.bolkleur3 = "rm";
} else {
mc.balbal.bolkleur3 = "w";
}
if (mc.balbal.bolkleur4 == "r") {
mc.balbal.bolkleur4 = "rm";
} else {
mc.balbal.bolkleur4 = "w";
}
if (mc.balbal.bolkleur5 == "r") {
mc.balbal.bolkleur5 = "rm";
} else {
mc.balbal.bolkleur5 = "w";
}
if (mc.balbal.bolkleur6 == "r") {
mc.balbal.bolkleur6 = "rm";
} else {
mc.balbal.bolkleur6 = "w";
}
if (mc.balbal.bolkleur7 == "r") {
mc.balbal.bolkleur7 = "rm";
} else {
mc.balbal.bolkleur7 = "w";
}
if (!mc.balbal.mondlap) {
if (mc.balbal.bolkleur1 == "r") {
mc.balbal.bolkleur1 = "rm";
} else {
mc.balbal.bolkleur1 = "w";
}
if (mc.balbal.bolkleur8 == "r") {
mc.balbal.bolkleur8 = "rm";
} else {
mc.balbal.bolkleur8 = "w";
}
}
} else {
if (mc.balbal.bolkleur5 == "r") {
mc.balbal.bolkleur5 = "rm";
} else {
mc.balbal.bolkleur5 = "w";
}
if (mc.balbal.bolkleur6 == "r") {
mc.balbal.bolkleur6 = "rm";
} else {
mc.balbal.bolkleur6 = "w";
}
if (mc.balbal.bolkleur7 == "r") {
mc.balbal.bolkleur7 = "rm";
} else {
mc.balbal.bolkleur7 = "w";
}
if (!mc.balbal.mondlap) {
if (mc.balbal.bolkleur8 == "r") {
mc.balbal.bolkleur8 = "rm";
} else {
mc.balbal.bolkleur8 = "w";
}
}
}
}
} else if (toolused == 3) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.helm = true;
mc.balbal.mondlap = false;
mc.balbal.bolkleur1 = "w";
mc.balbal.bolkleur2 = "w";
mc.balbal.bolkleur3 = "w";
mc.balbal.bolkleur4 = "w";
mc.balbal.bolkleur5 = "w";
mc.balbal.bolkleur6 = "w";
mc.balbal.bolkleur7 = "w";
mc.balbal.bolkleur8 = "w";
tool3.detail.gotoAndStop("helmgone");
} else if (mc.producing) {
if (!mc.balbal.helm) {
tool3.detail.gotoAndStop("helmgone");
mc.balbal.helm = true;
} else {
tool3.detail.gotoAndStop("helm");
mc.balbal.helm = false;
}
}
} else if (toolused == 4) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.helm = false;
mc.balbal.mondlap = true;
mc.balbal.bolkleur1 = "w";
mc.balbal.bolkleur2 = "w";
mc.balbal.bolkleur3 = "w";
mc.balbal.bolkleur4 = "w";
mc.balbal.bolkleur5 = "w";
mc.balbal.bolkleur6 = "w";
mc.balbal.bolkleur7 = "w";
mc.balbal.bolkleur8 = "w";
tool4.detail.gotoAndStop("mondlapgone");
} else if (mc.producing) {
if ((!mc.balbal.mondlap) && (!mc.balbal.helm)) {
tool4.detail.gotoAndStop("mondlapgone");
mc.balbal.mondlap = true;
} else if (mc.balbal.mondlap && (!mc.balbal.helm)) {
tool4.detail.gotoAndStop("mondlap");
mc.balbal.mondlap = false;
}
}
} else if (toolused == 5) {
_parent.sound_switch.start();
if ((!mc.producing) && (!produced)) {
update = true;
produced = true;
mc.producing = true;
mc.attachMovie("balprod", "balbal", 0);
mc.balbal.bol = true;
mc.balbal.helm = false;
mc.balbal.mondlap = false;
mc.balbal.bolkleur1 = "w";
mc.balbal.bolkleur2 = "w";
mc.balbal.bolkleur3 = "w";
mc.balbal.bolkleur4 = "w";
mc.balbal.bolkleur5 = "w";
mc.balbal.bolkleur6 = "w";
mc.balbal.bolkleur7 = "w";
mc.balbal.bolkleur8 = "w";
} else if (mc.producing) {
if ((!mc.balbal.helm) && (!mc.balbal.mondlap)) {
keepkl = mc.balbal.bolkleur1;
mc.balbal.bolkleur1 = mc.balbal.bolkleur2;
mc.balbal.bolkleur2 = mc.balbal.bolkleur3;
mc.balbal.bolkleur3 = mc.balbal.bolkleur4;
mc.balbal.bolkleur4 = mc.balbal.bolkleur5;
mc.balbal.bolkleur5 = mc.balbal.bolkleur6;
mc.balbal.bolkleur6 = mc.balbal.bolkleur7;
mc.balbal.bolkleur7 = mc.balbal.bolkleur8;
mc.balbal.bolkleur8 = keepkl;
}
}
}
mc.balbal.gotoAndPlay("bol30");
if ((((((((((mc.balbal.bol && (mc.balbal.bolkleur1 == "r")) && (mc.balbal.bolkleur2 == "rm")) && (mc.balbal.bolkleur3 == "w")) && (mc.balbal.bolkleur4 == "w")) && (mc.balbal.bolkleur5 == "rm")) && (mc.balbal.bolkleur6 == "rm")) && (mc.balbal.bolkleur7 == "rm")) && (mc.balbal.bolkleur8 == "rm")) && (!mc.balbal.helm)) && (!mc.balbal.mondlap)) {
canProduce = false;
balproductie.nlevel = "l31";
mc.removeMovieClip();
balproductie.doos.levelbal.bol = true;
balproductie.doos.levelbal.bolkleur1 = "r";
balproductie.doos.levelbal.bolkleur2 = "rm";
balproductie.doos.levelbal.bolkleur3 = "w";
balproductie.doos.levelbal.bolkleur4 = "w";
balproductie.doos.levelbal.bolkleur5 = "rm";
balproductie.doos.levelbal.bolkleur6 = "rm";
balproductie.doos.levelbal.bolkleur7 = "rm";
balproductie.doos.levelbal.bolkleur8 = "rm";
balproductie.doos.levelbal.helm = false;
balproductie.doos.levelbal.mondlap = false;
balproductie.doos.levelbal.gotoAndPlay("bol30");
balproductie.gotoAndPlay("moveout");
}
}
}
_parent.sound_introloop.stop();
_parent.sound_loop.stop();
_parent.sound_loop.start(0, 9999);
slasher._visible = false;
muted = false;
level = _parent.initlevel;
produced = false;
canProduce = false;
attachMovie("vrsch", "vraag", 100000, {_x:0, _y:0});
prodx = 230;
prody = -120;
tool1.detail.gotoAndStop("init");
tool2.detail.gotoAndStop("init");
tool3.detail.gotoAndStop("init");
tool4.detail.gotoAndStop("init");
tool5.detail.gotoAndStop("init");
tool6.detail.gotoAndStop("init");
tool7.detail.gotoAndStop("init");
tool8.detail.gotoAndStop("init");
ballen_aantal = 31 - level;
ballekes = 31 - level;
kGravWeight = 1;
kDamp = 0.98;
kCollisionDamp = 0.6;
kSpin = 1.2;
kSpinR = (kSpin * Math.PI) / 180;
SW = 220;
SH = 220;
kRadiansToDegrees = 57.2957795130823;
kDegreesToRadians = (Math.PI/180);
gTx = 0;
gTy = 1;
guys = [];
extratel = 100;
startbx = new Array(-75.2, 15, -56.2, 17.8, 75.95, -30.7, 81.35, -23.65, -17.05, -9.85, 50.85, 46, -15.95, 35.8, 18.25, 77.3, 24.8, -20.45, 2.2, -90.7, 90.45, -89.7, 54.95, 8.8, 49.1, -49.85, -78.1, -42.5, -55.35, -53.25);
startby = new Array(52.85, -80.75, 24.05, -10.4, 51.85, 48.05, 17.1, 13, 90.35, -55.65, 76.6, 11.85, -21.25, 45.85, 90.15, -49.6, -44.9, -89.5, 59.15, -15.1, -16.55, 20.1, -22.3, 23.55, -70.75, 77.25, -47.95, -42.55, -10.5, -74.9);
createEmptyMovieClip("trommel", 1);
trommel._x = 43 + (SW / 2);
trommel._y = (232 + (SH / 2)) + 58;
var i = 0;
while (i < ballen_aantal) {
var mc = trommel.attachMovie("bal", "critter_mc" + i, i + 2, {_x:this._x, _y:this._y});
guys.push(mc);
mc._x = startbx[i];
mc._y = startby[i];
mc.vx = (mc.vy = 0);
mc.lx = (mc.ly = 0);
mc.onEnterFrame = colliding;
mc.producing = false;
mc.onPress = function () {
if (canProduce) {
this.dragging = true;
this.startDrag(true);
}
};
mc.onRelease = (mc.onReleaseOutside = function () {
this.dragging = false;
this.stopDrag();
if (level < 9) {
if (canProduce) {
if (this.hitTest(tool1)) {
logica(1, this);
} else if (this.hitTest(tool2)) {
logica(2, this);
} else if (this.hitTest(tool3)) {
logica(3, this);
} else if (this.hitTest(tool4)) {
logica(4, this);
} else if (this.hitTest(tool5)) {
logica(5, this);
} else if (this.hitTest(tool6)) {
logica(6, this);
} else if (this.hitTest(tool7)) {
logica(7, this);
} else if (this.hitTest(tool8)) {
if (level == 1) {
tool3.detail.gotoAndStop("helm");
} else if (level == 2) {
tool3.detail.gotoAndStop("riem");
tool4.detail.gotoAndStop("riemb");
} else if (level == 3) {
tool3.detail.gotoAndStop("brilletje");
} else if (level == 4) {
tool2.detail.gotoAndStop("riem");
} else if (level == 5) {
tool3.detail.gotoAndStop("spin");
tool4.detail.gotoAndStop("spinbig");
} else if (level == 6) {
tool2.detail.gotoAndStop("riemb");
tool3.detail.gotoAndStop("riembv");
} else if (level == 8) {
tool4.detail.gotoAndStop("mondlap");
tool5.detail.gotoAndStop("zwembril");
}
_parent.sound_switch.start();
if (this.producing) {
this.attachMovie("bal", "critter_mc" + (extratel++), 0);
}
this.producing = false;
produced = false;
} else if (this.producing) {
this._x = prodx;
this._y = prody;
}
}
} else if (level < 17) {
if (canProduce) {
if (this.hitTest(tool1)) {
logica2(1, this);
} else if (this.hitTest(tool2)) {
logica2(2, this);
} else if (this.hitTest(tool3)) {
logica2(3, this);
} else if (this.hitTest(tool4)) {
logica2(4, this);
} else if (this.hitTest(tool5)) {
logica2(5, this);
} else if (this.hitTest(tool6)) {
logica2(6, this);
} else if (this.hitTest(tool7)) {
logica2(7, this);
} else if (this.hitTest(tool8)) {
if (level == 9) {
tool3.detail.gotoAndStop("mutslinks");
tool4.detail.gotoAndStop("mutsrechts");
tool5.detail.gotoAndStop("helm");
} else if (level == 10) {
tool3.detail.gotoAndStop("spin");
} else if (level == 11) {
tool5.detail.gotoAndStop("riemb");
tool6.detail.gotoAndStop("helm");
} else if (level == 12) {
tool2.detail.gotoAndStop("bril");
} else if (level == 13) {
tool3.detail.gotoAndStop("phoneklein");
tool4.detail.gotoAndStop("phone");
} else if (level == 14) {
tool2.detail.gotoAndStop("bril");
} else if (level == 15) {
tool3.detail.gotoAndStop("riemb");
tool4.detail.gotoAndStop("helm");
} else if (level == 16) {
tool5.detail.gotoAndStop("mondlap");
tool6.detail.gotoAndStop("zwembril");
}
_parent.sound_switch.start();
if (this.producing) {
this.attachMovie("bal", "critter_mc" + (extratel++), 0);
}
this.producing = false;
produced = false;
} else if (this.producing) {
this._x = prodx;
this._y = prody;
}
}
} else if (level < 27) {
if (canProduce) {
if (this.hitTest(tool1)) {
logica3(1, this);
} else if (this.hitTest(tool2)) {
logica3(2, this);
} else if (this.hitTest(tool3)) {
logica3(3, this);
} else if (this.hitTest(tool4)) {
logica3(4, this);
} else if (this.hitTest(tool5)) {
logica3(5, this);
} else if (this.hitTest(tool6)) {
logica3(6, this);
} else if (this.hitTest(tool7)) {
logica3(7, this);
} else if (this.hitTest(tool8)) {
if (level == 18) {
tool3.detail.gotoAndStop("riem");
tool4.detail.gotoAndStop("riemb");
tool5.detail.gotoAndStop("riemv");
} else if (level == 19) {
tool3.detail.gotoAndStop("brilletje");
tool4.detail.gotoAndStop("bril");
} else if (level == 20) {
tool3.detail.gotoAndStop("mutslinks");
tool4.detail.gotoAndStop("mutsrechts");
tool5.detail.gotoAndStop("helm");
} else if (level == 21) {
tool6.detail.gotoAndStop("brilletje");
} else if (level == 22) {
tool4.detail.gotoAndStop("riemb");
tool5.detail.gotoAndStop("riembv");
tool6.detail.gotoAndStop("helm");
} else if (level == 24) {
tool4.detail.gotoAndStop("phoneklein");
tool5.detail.gotoAndStop("phone");
tool6.detail.gotoAndStop("helm");
} else if (level == 25) {
tool4.detail.gotoAndStop("helm");
} else if (level == 26) {
tool3.detail.gotoAndStop("helm");
tool4.detail.gotoAndStop("mutsrechts");
tool5.detail.gotoAndStop("mondlap");
}
_parent.sound_switch.start();
if (this.producing) {
this.attachMovie("bal", "critter_mc" + (extratel++), 0);
}
this.producing = false;
produced = false;
} else if (this.producing) {
this._x = prodx;
this._y = prody;
}
}
} else if (canProduce) {
if (this.hitTest(tool1)) {
logica4(1, this);
} else if (this.hitTest(tool2)) {
logica4(2, this);
} else if (this.hitTest(tool3)) {
logica4(3, this);
} else if (this.hitTest(tool4)) {
logica4(4, this);
} else if (this.hitTest(tool5)) {
logica4(5, this);
} else if (this.hitTest(tool6)) {
logica4(6, this);
} else if (this.hitTest(tool7)) {
logica4(7, this);
} else if (this.hitTest(tool8)) {
if (level == 27) {
tool2.detail.gotoAndStop("bril");
} else if (level == 28) {
tool5.detail.gotoAndStop("mutslinks");
tool6.detail.gotoAndStop("mutsrechts");
tool4.detail.gotoAndStop("helm");
} else if (level == 29) {
tool2.detail.gotoAndStop("riem");
tool3.detail.gotoAndStop("riemb");
tool4.detail.gotoAndStop("riemv");
} else if (level == 30) {
tool3.detail.gotoAndStop("helm");
tool4.detail.gotoAndStop("mondlap");
}
_parent.sound_switch.start();
if (this.producing) {
this.attachMovie("bal", "critter_mc" + (extratel++), 0);
}
this.producing = false;
produced = false;
} else if (this.producing) {
this._x = prodx;
this._y = prody;
}
}
});
i++;
}
trommel.onEnterFrame = function () {
tandwiel.wiel._rotation = tandwiel.wiel._rotation + kSpin;
var _local2 = guys.length - 1;
while (_local2 >= 0) {
var _local1 = guys[_local2];
if ((!_local1.dragging) && (!_local1.producing)) {
var _local3 = Math.sqrt((_local1._x * _local1._x) + (_local1._y * _local1._y));
var _local4 = Math.atan2(_local1._y, _local1._x);
_local1._x = Math.cos(_local4 + kSpinR) * _local3;
_local1._y = Math.sin(_local4 + kSpinR) * _local3;
}
_local2--;
}
};
gotoAndPlay("l" + level);
Symbol 503 MovieClip Frame 4
level = 1;
levelbox = "level 1";
if (level > _parent.sohigh) {
_parent.fb3shared.data.sohigh = level;
_parent.fb3shared.flush();
}
balproductie.doos.bal.bol = true;
balproductie.doos.bal.bolkleur = "b";
balproductie.doos.bal.bolh = true;
balproductie.doos.bal.bolhkleur = "o";
balproductie.doos.bal.helm = false;
balproductie.doos.bal.gotoAndPlay("bol1");
tool1.detail.gotoAndStop("init");
tool2.detail.gotoAndStop("init");
tool3.detail.gotoAndStop("init");
tool4.detail.gotoAndStop("init");
tool5.detail.gotoAndStop("init");
tool6.detail.gotoAndStop("init");
tool7.detail.gotoAndStop("init");
tool8.detail.gotoAndStop("init");
scenario.newtool1 = "verfblauw";
scenario.newtool2 = "verforanje";
scenario.newtool3 = "helm";
scenario.newtool4 = "init";
scenario.newtool5 = "init";
scenario.newtool6 = "init";
scenario.newtool7 = "init";
scenario.newtool8 = "trash";
stop();
Symbol 503 MovieClip Frame 5
level = 2;
levelbox = "level 2";
if (level > _parent.sohigh) {
_parent.fb3shared.data.sohigh = level;
_parent.fb3shared.flush();
}
balproductie.doos.bal.bol = true;
balproductie.doos.bal.bolkleur = "b";
balproductie.doos.bal.riem = false;
balproductie.doos.bal.riemb = false;
balproductie.doos.bal.band = true;
balproductie.doos.bal.bandkleur = "b";
balproductie.doos.bal.bandb = true;
balproductie.doos.bal.bandbkleur = "m";
balproductie.doos.bal.gotoAndPlay("bol2");
scenario.newtool1 = "verfmagenta";
scenario.newtool2 = "verfblauw";
scenario.newtool3 = "riem";
scenario.newtool4 = "riemb";
scenario.newtool5 = "init";
scenario.newtool6 = "init";
scenario.newtool7 = "init";
scenario.newtool8 = "trash";
scenario.gotoAndPlay(1);
stop();
Symbol 503 MovieClip Frame 6
level = 3;
levelbox = "level 3";
if (level > _parent.sohigh) {
_parent.fb3shared.data.sohigh = level;
_parent.fb3shared.flush();
}
balproductie.doos.bal.bol = true;
balproductie.doos.bal.bolkleur = "y";
balproductie.doos.bal.brilletje = false;
balproductie.doos.bal.oogjes = true;
balproductie.doos.bal.oogjeskleur = "z";
balproductie.doos.bal.neusniv = 2;
balproductie.doos.bal.neuskleur = "r";
balproductie.doos.bal.neusdip = false;
balproductie.doos.bal.neusstempel = false;
balproductie.doos.bal.gotoAndPlay("bol3");
scenario.newtool1 = "verfgeel";
scenario.newtool2 = "verfzwart";
scenario.newtool3 = "brilletje";
scenario.newtool4 = "stempelrood";
scenario.newtool5 = "stophor";
scenario.newtool6 = "init";
scenario.newtool7 = "init";
scenario.newtool8 = "trash";
scenario.gotoAndPlay(1);
stop();
Symbol 503 MovieClip Frame 7
level = 4;
levelbox = "level 4";
if (level > _parent.sohigh) {
_parent.fb3shared.data.sohigh = level;
_parent.fb3shared.flush();
}
balproductie.doos.bal.bol = true;
balproductie.doos.bal.bolkleur = "w";
balproductie.doos.bal.riem = false;
balproductie.doos.bal.band = true;
balproductie.doos.bal.bandkleur = "o";
balproductie.doos.bal.gotoAndPlay("bol4");
scenario.newtool1 = "verforanje";
scenario.newtool2 = "riem";
scenario.newtool3 = "steekmes";
scenario.newtool4 = "init";
scenario.newtool5 = "init";
scenario.newtool6 = "init";
scenario.newtool7 = "init";
scenario.newtool8 = "trash";
scenario.gotoAndPlay(1);
stop();
Symbol 503 MovieClip Frame 8
level = 5;
levelbox = "level 5";
if (level > _parent.sohigh) {
_parent.fb3shared.data.sohigh = level;
_parent.fb3shared.flush();
}
balproductie.doos.bal.bol = true;
balproductie.doos.bal.bolkleur = "o";
balproductie.doos.bal.bollen = true;
balproductie.doos.bal.bollenkleur = "w";
balproductie.doos.bal.spin = false;
balproductie.doos.bal.bollenbig = true;
balproductie.doos.bal.bollenbigkleur = "r";
balproductie.doos.bal.spinbig = false;
balproductie.doos.bal.gotoAndPlay("bol5");
scenario.newtool1 = "verfrood";
scenario.newtool2 = "verforanje";
scenario.newtool3 = "spin";
scenario.newtool4 = "spinbig";
scenario.newtool5 = "init";
scenario.newtool6 = "init";
scenario.newtool7 = "init";
scenario.newtool8 = "trash";
scenario.gotoAndPlay(1);
stop();
Symbol 503 MovieClip Frame 9
level = 6;
levelbox = "level 6";
if (level > _parent.sohigh) {
_parent.fb3shared.data.sohigh = level;
_parent.fb3shared.flush();
}
balproductie.doos.bal.bol = true;
balproductie.doos.bal.bolkleur = "w";
balproductie.doos.bal.riemb = false;
balproductie.doos.bal.riembv = false;
balproductie.doos.bal.bandb = true;
balproductie.doos.bal.bandbkleur = "z";
balproductie.doos.bal.bandbv = true;
balproductie.doos.bal.bandbvkleur = "z";
balproductie.doos.bal.bandbvvoor = false;
balproductie.doos.bal.bandbm = true;
balproductie.doos.bal.bandbmkleur = "w";
balproductie.doos.bal.gotoAndPlay("bol6");
scenario.newtool1 = "verfzwart";
scenario.newtool2 = "riemb";
scenario.newtool3 = "riembv";
scenario.newtool4 = "steekmes";
scenario.newtool5 = "init";
scenario.newtool6 = "init";
scenario.newtool7 = "init";
scenario.newtool8 = "trash";
scenario.gotoAndPlay(1);
stop();
Symbol 503 MovieClip Frame 10
level = 7;
levelbox = "level 7";
if (level > _parent.sohigh) {
_parent.fb3shared.data.sohigh = level;
_parent.fb3shared.flush();
}
balproductie.doos.blad.gotoAndStop("init");
balproductie.doos.bal.bol = true;
balproductie.doos.bal.grasbal = true;
balproductie.doos.bal.gras = 2;
balproductie.doos.bal.bloembal = true;
balproductie.doos.bal.bloem = 3;
balproductie.doos.bal.bloembalp = true;
balproductie.doos.bal.bloemp = 2;
balproductie.doos.bal.gotoAndPlay("bol7");
scenario.newtool1 = "seeds";
scenario.newtool2 = "bloem";
scenario.newtool3 = "bloemp";
scenario.newtool4 = "gieter";
scenario.newtool5 = "init";
scenario.newtool6 = "init";
scenario.newtool7 = "init";
scenario.newtool8 = "trash";
scenario.gotoAndPlay(1);
stop();
Symbol 503 MovieClip Frame 11
level = 8;
levelbox = "level 8";
if (level > _parent.sohigh) {
_parent.fb3shared.data.sohigh = level;
_parent.fb3shared.flush();
}
balproductie.doos.bal.bol = true;
balproductie.doos.bal.bolkleur = "y";
balproductie.doos.bal.zwembril = false;
balproductie.doos.bal.zwembrilogen = true;
balproductie.doos.bal.zwembrilogenkleur = "z";
balproductie.doos.bal.mondlap = false;
balproductie.doos.bal.lap = false;
balproductie.doos.bal.pacman = true;
balproductie.doos.bal.pacmankleur = "z";
balproductie.doos.bal.pacmanklein = false;
balproductie.doos.bal.gotoAndPlay("bol8");
scenario.newtool1 = "verfzwart";
scenario.newtool2 = "verfgeel";
scenario.newtool3 = "bijl";
scenario.newtool4 = "mondlap";
scenario.newtool5 = "zwembril";
scenario.newtool6 = "init";
scenario.newtool7 = "init";
scenario.newtool8 = "trash";
scenario.gotoAndPlay(1);
stop();
Symbol 503 MovieClip Frame 12
level = 9;
levelbox = "level 9";
if (level > _parent.sohigh) {
_parent.fb3shared.data.sohigh = level;
_parent.fb3shared.flush();
}
balproductie.doos.bal.bol = true;
balproductie.doos.bal.mutsrechts = false;
balproductie.doos.bal.mutslinks = false;
balproductie.doos.bal.helm = false;
balproductie.doos.bal.kwart1kleur = "o";
balproductie.doos.bal.kwart2kleur = "b";
balproductie.doos.bal.kwart3kleur = "o";
balproductie.doos.bal.kwart4kleur = "b";
balproductie.doos.bal.gotoAndPlay("bol9");
scenario.newtool1 = "verfblauw";
scenario.newtool2 = "verforanje";
scenario.newtool3 = "mutslinks";
scenario.newtool4 = "mutsrechts";
scenario.newtool5 = "helm";
scenario.newtool6 = "init";
scenario.newtool7 = "init";
scenario.newtool8 = "trash";
scenario.gotoAndPlay(1);
stop();
Symbol 503 MovieClip Frame 13
level = 10;
levelbox = "level 10";
if (level > _parent.sohigh) {
_parent.fb3shared.data.sohigh = level;
_parent.fb3shared.flush();
}
balproductie.doos.bal.bol = true;
balproductie.doos.bal.bolkleur = "w";
balproductie.doos.bal.bollen = true;
balproductie.doos.bal.bollenkleur = "rm";
balproductie.doos.bal.spin = false;
balproductie.doos.bal.gotoAndPlay("bol10");
scenario.newtool1 = "verfrood";
scenario.newtool2 = "verdunner";
scenario.newtool3 = "spin";
scenario.newtool4 = "init";
scenario.newtool5 = "init";
scenario.newtool6 = "init";
scenario.newtool7 = "init";
scenario.newtool8 = "trash";
scenario.gotoAndPlay(1);
stop();
Symbol 503 MovieClip Frame 14
level = 11;
levelbox = "level 11";
if (level > _parent.sohigh) {
_parent.fb3shared.data.sohigh = level;
_parent.fb3shared.flush();
}
balproductie.doos.bal.bol = true;
balproductie.doos.bal.bolkleur = "b";
balproductie.doos.bal.helm = false;
balproductie.doos.bal.riem = false;
balproductie.doos.bal.bolh = true;
balproductie.doos.bal.bolhkleur = "m";
balproductie.doos.bal.bandb1 = true;
balproductie.doos.bal.bandb1kleur = "y";
balproductie.doos.bal.bandb2 = true;
balproductie.doos.bal.bandb2kleur = "z";
balproductie.doos.bal.gotoAndPlay("bol11");
scenario.newtool1 = "verfgeel";
scenario.newtool2 = "verfmagenta";
scenario.newtool3 = "verfzwart";
scenario.newtool4 = "verfblauw";
scenario.newtool5 = "riemb";
scenario.newtool6 = "helm";
scenario.newtool7 = "init";
scenario.newtool8 = "trash";
scenario.gotoAndPlay(1);
stop();
Symbol 503 MovieClip Frame 15
level = 12;
levelbox = "level 12";
if (level > _parent.sohigh) {
_parent.fb3shared.data.sohigh = level;
_parent.fb3shared.flush();
}
balproductie.doos.bal.bol = true;
balproductie.doos.bal.bolkleur = "m";
balproductie.doos.bal.nbril = false;
balproductie.doos.bal.ogenr = true;
balproductie.doos.bal.ogenkleurr = "w";
balproductie.doos.bal.ogenl = true;
balproductie.doos.bal.ogenkleurl = "w";
balproductie.doos.bal.oogsprayl = true;
balproductie.doos.bal.oogspraylniv = 1;
balproductie.doos.bal.oogsprayr = true;
balproductie.doos.bal.oogsprayrniv = 1;
balproductie.doos.bal.varkensneus = true;
balproductie.doos.bal.varkensneuskleur = "m";
balproductie.doos.bal.neusgatl = true;
balproductie.doos.bal.neusgatlpos = "uit2";
balproductie.doos.bal.neusgatr = true;
balproductie.doos.bal.neusgatrpos = "uit2";
balproductie.doos.bal.gotoAndPlay("bol12");
scenario.newtool1 = "verfmagenta";
scenario.newtool2 = "bril";
scenario.newtool3 = "stopvarken";
scenario.newtool4 = "boor";
scenario.newtool5 = "canzwart";
scenario.newtool6 = "init";
scenario.newtool7 = "init";
scenario.newtool8 = "trash";
scenario.gotoAndPlay(1);
stop();
Symbol 503 MovieClip Frame 16
level = 13;
levelbox = "level 13";
if (level > _parent.sohigh) {
_parent.fb3shared.data.sohigh = level;
_parent.fb3shared.flush();
}
balproductie.doos.bal.bol = true;
balproductie.doos.bal.bolkleur = "zm";
balproductie.doos.bal.oorbal = true;
balproductie.doos.bal.oorbalkleur = "w";
balproductie.doos.bal.oorbalklein = true;
balproductie.doos.bal.oorbalkleinkleur = "z";
balproductie.doos.bal.phone = false;
balproductie.doos.bal.phoneklein = false;
balproductie.doos.bal.gotoAndPlay("bol13");
scenario.newtool1 = "verfzwart";
scenario.newtool2 = "verdunner";
scenario.newtool3 = "phoneklein";
scenario.newtool4 = "phone";
scenario.newtool5 = "init";
scenario.newtool6 = "init";
scenario.newtool7 = "init";
scenario.newtool8 = "trash";
scenario.gotoAndPlay(1);
stop();
Symbol 503 MovieClip Frame 17
level = 14;
levelbox = "level 14";
if (level > _parent.sohigh) {
_parent.fb3shared.data.sohigh = level;
_parent.fb3shared.flush();
}
balproductie.oorbal = true;
balproductie.doos.bal.bol = true;
balproductie.doos.bal.bolkleur = "w";
balproductie.doos.bal.nbril = false;
balproductie.doos.bal.ogenr = true;
balproductie.doos.bal.ogenkleurr = "o";
balproductie.doos.bal.ogenl = true;
balproductie.doos.bal.ogenkleurl = "o";
balproductie.doos.bal.oogsprayl = true;
balproductie.doos.bal.oogspraylniv = 1;
balproductie.doos.bal.oogsprayr = true;
balproductie.doos.bal.oogsprayrniv = 1;
balproductie.doos.bal.oorlniv = 2;
balproductie.doos.bal.oorlkleur = "w";
balproductie.doos.bal.oorrniv = 2;
balproductie.doos.bal.oorrkleur = "w";
balproductie.doos.bal.gotoAndPlay("bol14");
scenario.newtool1 = "verforanje";
scenario.newtool2 = "bril";
scenario.newtool3 = "stoplinks";
scenario.newtool4 = "stoprechts";
scenario.newtool5 = "canzwart";
scenario.newtool6 = "steekmes";
scenario.newtool7 = "init";
scenario.newtool8 = "trash";
scenario.gotoAndPlay(1);
stop();
Symbol 503 MovieClip Frame 18
level = 15;
levelbox = "level 15";
if (level > _parent.sohigh) {
_parent.fb3shared.data.sohigh = level;
_parent.fb3shared.flush();
}
balproductie.doos.bal.bol = true;
balproductie.doos.bal.bolkleur = "b";
balproductie.doos.bal.helm = false;
balproductie.doos.bal.riem = false;
balproductie.doos.bal.bolh = true;
balproductie.doos.bal.bolhkleur = "bm";
balproductie.doos.bal.bandb1 = true;
balproductie.doos.bal.bandb1kleur = "b";
balproductie.doos.bal.bandb2 = true;
balproductie.doos.bal.bandb2kleur = "bm";
balproductie.doos.bal.gotoAndPlay("bol15");
scenario.newtool1 = "verfblauw";
scenario.newtool2 = "verdunner";
scenario.newtool3 = "riemb";
scenario.newtool4 = "helm";
scenario.newtool5 = "init";
scenario.newtool6 = "init";
scenario.newtool7 = "init";
scenario.newtool8 = "trash";
scenario.gotoAndPlay(1);
stop();
Symbol 503 MovieClip Frame 19
level = 16;
levelbox = "level 16";
if (level > _parent.sohigh) {
_parent.fb3shared.data.sohigh = level;
_parent.fb3shared.flush();
}
balproductie.doos.bal.bol = true;
balproductie.doos.bal.bolkleur = "y";
balproductie.doos.bal.zwembril = false;
balproductie.doos.bal.zwembrilogen = true;
balproductie.doos.bal.zwembrilogenkleur = "z";
balproductie.doos.bal.mondlap = false;
balproductie.doos.bal.lap = true;
balproductie.doos.bal.lapkleur = "r";
balproductie.doos.bal.pacman = false;
balproductie.doos.bal.pacmanklein = true;
balproductie.doos.bal.pacmankleinkleur = "w";
balproductie.doos.bal.gotoAndPlay("bol16");
scenario.newtool1 = "verfzwart";
scenario.newtool2 = "verfgeel";
scenario.newtool3 = "verfrood";
scenario.newtool4 = "bijl";
scenario.newtool5 = "mondlap";
scenario.newtool6 = "zwembril";
scenario.newtool7 = "init";
scenario.newtool8 = "trash";
scenario.gotoAndPlay(1);
stop();
Symbol 503 MovieClip Frame 20
level = 17;
levelbox = "level 17";
if (level > _parent.sohigh) {
_parent.fb3shared.data.sohigh = level;
_parent.fb3shared.flush();
}
balproductie.oorbal = true;
balproductie.doos.bal.bol = true;
balproductie.doos.bal.bolkleur = "b";
balproductie.doos.bal.nbril = false;
balproductie.doos.bal.oogsprayl = true;
balproductie.doos.bal.oogspraylniv = 2;
balproductie.doos.bal.oogsprayr = true;
balproductie.doos.bal.oogsprayrniv = 2;
balproductie.doos.bal.oorlniv = 2;
balproductie.doos.bal.oorlkleur = "r";
balproductie.doos.bal.oorrniv = 2;
balproductie.doos.bal.oorrkleur = "r";
balproductie.doos.bal.neusniv = 2;
balproductie.doos.bal.neuskleur = "r";
balproductie.doos.bal.neusdip = false;
balproductie.doos.bal.neusstempel = false;
balproductie.doos.bal.gotoAndPlay("bol17");
scenario.newtool1 = "verfblauw";
scenario.newtool2 = "verfrood";
scenario.newtool3 = "canzwart";
scenario.newtool4 = "stempelrood";
scenario.newtool5 = "stoplinks";
scenario.newtool6 = "stoprechts";
scenario.newtool7 = "stophor";
scenario.newtool8 = "trash";
scenario.gotoAndPlay(1);
stop();
Symbol 503 MovieClip Frame 21
level = 18;
levelbox = "level 18";
if (level > _parent.sohigh) {
_parent.fb3shared.data.sohigh = level;
_parent.fb3shared.flush();
}
balproductie.doos.bal.bol = true;
balproductie.doos.bal.bolkleur = "b";
balproductie.doos.bal.riem = false;
balproductie.doos.bal.riemb = false;
balproductie.doos.bal.riemv = false;
balproductie.doos.bal.b1 = "o";
balproductie.doos.bal.b2 = "o";
balproductie.doos.bal.b3 = "b";
balproductie.doos.bal.b4 = "w";
balproductie.doos.bal.b5 = "w";
balproductie.doos.bal.b6 = "w";
balproductie.doos.bal.b7 = "w";
balproductie.doos.bal.gotoAndPlay("bol18");
scenario.newtool1 = "verforanje";
scenario.newtool2 = "verfblauw";
scenario.newtool3 = "riem";
scenario.newtool4 = "riemb";
scenario.newtool5 = "riemv";
scenario.newtool6 = "init";
scenario.newtool7 = "init";
scenario.newtool8 = "trash";
scenario.gotoAndPlay(1);
stop();
Symbol 503 MovieClip Frame 22
level = 19;
levelbox = "level 19";
if (level > _parent.sohigh) {
_parent.fb3shared.data.sohigh = level;
_parent.fb3shared.flush();
}
balproductie.doos.bal.bol = true;
balproductie.doos.bal.bolkleur = "r";
balproductie.doos.bal.nbril = false;
balproductie.doos.bal.ogenr = true;
balproductie.doos.bal.ogenkleurr = "w";
balproductie.doos.bal.ogenl = true;
balproductie.doos.bal.ogenkleurl = "w";
balproductie.doos.bal.oorlniv = 1;
balproductie.doos.bal.oorlkleur = "z";
balproductie.doos.bal.oorrniv = 1;
balproductie.doos.bal.oorrkleur = "z";
balproductie.doos.bal.brilletje = false;
balproductie.doos.bal.oogjes = true;
balproductie.doos.bal.oogjeskleur = "z";
balproductie.doos.bal.gotoAndPlay("bol19");
scenario.newtool1 = "verfzwart";
scenario.newtool2 = "verfrood";
scenario.newtool3 = "brilletje";
scenario.newtool4 = "bril";
scenario.newtool5 = "stoplinks";
scenario.newtool6 = "stoprechts";
scenario.newtool7 = "steekmes";
scenario.newtool8 = "trash";
scenario.gotoAndPlay(1);
stop();
Symbol 503 MovieClip Frame 23
level = 20;
levelbox = "level 20";
if (level > _parent.sohigh) {
_parent.fb3shared.data.sohigh = level;
_parent.fb3shared.flush();
}
balproductie.doos.bal.bol = true;
balproductie.doos.bal.mutsrechts = false;
balproductie.doos.bal.mutslinks = false;
balproductie.doos.bal.helm = false;
balproductie.doos.bal.kwart1kleur = "rm";
balproductie.doos.bal.kwart2kleur = "w";
balproductie.doos.bal.kwart3kleur = "rm";
balproductie.doos.bal.kwart4kleur = "r";
balproductie.doos.bal.gotoAndPlay("bol20");
scenario.newtool1 = "verfrood";
scenario.newtool2 = "verdunner";
scenario.newtool3 = "mutslinks";
scenario.newtool4 = "mutsrechts";
scenario.newtool5 = "helm";
scenario.newtool6 = "init";
scenario.newtool7 = "init";
scenario.newtool8 = "trash";
scenario.gotoAndPlay(1);
stop();
Symbol 503 MovieClip Frame 24
level = 21;
levelbox = "level 21";
if (level > _parent.sohigh) {
_parent.fb3shared.data.sohigh = level;
_parent.fb3shared.flush();
}
balproductie.doos.blad.gotoAndStop("donker");
balproductie.oorbal = true;
balproductie.doos.bal.bol = true;
balproductie.doos.bal.bolkleur = "bm";
balproductie.doos.bal.brilletje = false;
balproductie.doos.bal.oogjes = true;
balproductie.doos.bal.oogjeskleur = "b";
balproductie.doos.bal.oorlniv = 2;
balproductie.doos.bal.oorlkleur = "w";
balproductie.doos.bal.oorrniv = 2;
balproductie.doos.bal.oorrkleur = "w";
balproductie.doos.bal.neusniv = 2;
balproductie.doos.bal.neuskleur = "bm";
balproductie.doos.bal.neusdip = true;
balproductie.doos.bal.neusdipkleur = "w";
balproductie.doos.bal.gotoAndPlay("bol21");
scenario.newtool1 = "verfblauw";
scenario.newtool2 = "verdunner";
scenario.newtool3 = "stophor";
scenario.newtool4 = "stoplinks";
scenario.newtool5 = "stoprechts";
scenario.newtool6 = "brilletje";
scenario.newtool7 = "init";
scenario.newtool8 = "trash";
scenario.gotoAndPlay(1);
stop();
Symbol 503 MovieClip Frame 25
level = 22;
levelbox = "level 22";
if (level > _parent.sohigh) {
_parent.fb3shared.data.sohigh = level;
_parent.fb3shared.flush();
}
balproductie.doos.blad.gotoAndStop("init");
balproductie.doos.bal.bol = true;
balproductie.doos.bal.bolkleur = "o";
balproductie.doos.bal.helm = false;
balproductie.doos.bal.bolh = true;
balproductie.doos.bal.bolhkleur = "o";
balproductie.doos.bal.b1 = "z";
balproductie.doos.bal.b2 = "b";
balproductie.doos.bal.b3 = "z";
balproductie.doos.bal.b4 = "b";
balproductie.doos.bal.b5 = "z";
balproductie.doos.bal.b6 = "b";
balproductie.doos.bal.b7 = "o";
balproductie.doos.bal.b8 = "o";
balproductie.doos.bal.gotoAndPlay("bol22");
scenario.newtool1 = "verforanje";
scenario.newtool2 = "verfzwart";
scenario.newtool3 = "verfblauw";
scenario.newtool4 = "riemb";
scenario.newtool5 = "riembv";
scenario.newtool6 = "helm";
scenario.newtool7 = "init";
scenario.newtool8 = "trash";
scenario.gotoAndPlay(1);
stop();
Symbol 503 MovieClip Frame 26
level = 23;
levelbox = "level 23";
if (level > _parent.sohigh) {
_parent.fb3shared.data.sohigh = level;
_parent.fb3shared.flush();
}
balproductie.doos.bal.bol = true;
balproductie.doos.bal.bolkleur = "m";
balproductie.doos.bal.varkensneus = true;
balproductie.doos.bal.varkensneuskleur = "m";
balproductie.doos.bal.neusgatl = true;
balproductie.doos.bal.neusgatlpos = "uit1";
balproductie.doos.bal.neusgatr = true;
balproductie.doos.bal.neusgatrpos = "uit1";
balproductie.doos.bal.oorlniv = 1;
balproductie.doos.bal.oorlkleur = "m";
balproductie.doos.bal.oorrniv = 1;
balproductie.doos.bal.oorrkleur = "m";
balproductie.doos.bal.oogspray4r = true;
balproductie.doos.bal.oogspray4rkleur = "w";
balproductie.doos.bal.oogspray4rniv = 3;
balproductie.doos.bal.oogspray4l = true;
balproductie.doos.bal.oogspray4lkleur = "w";
balproductie.doos.bal.oogspray4lniv = 3;
balproductie.doos.bal.oogspray3r = true;
balproductie.doos.bal.oogspray3rkleur = "z";
balproductie.doos.bal.oogspray3rniv = 1;
balproductie.doos.bal.oogspray3l = true;
balproductie.doos.bal.oogspray3lkleur = "z";
balproductie.doos.bal.oogspray3lniv = 1;
balproductie.doos.bal.oogspray2l = false;
balproductie.doos.bal.oogspray2r = false;
balproductie.doos.bal.oogsprayl = false;
balproductie.doos.bal.oogsprayr = false;
balproductie.doos.bal.gotoAndPlay("bol23");
scenario.newtool1 = "verfmagenta";
scenario.newtool2 = "stopvarken";
scenario.newtool3 = "boor";
scenario.newtool4 = "canzwart";
scenario.newtool5 = "canwit";
scenario.newtool6 = "stoplinks";
scenario.newtool7 = "stoprechts";
scenario.newtool8 = "trash";
scenario.gotoAndPlay(1);
stop();
Symbol 503 MovieClip Frame 27
level = 24;
levelbox = "level 24";
if (level > _parent.sohigh) {
_parent.fb3shared.data.sohigh = level;
_parent.fb3shared.flush();
}
balproductie.doos.bal.bol = true;
balproductie.doos.bal.bolkleur = "o";
balproductie.doos.bal.phone = false;
balproductie.doos.bal.phoneklein = false;
balproductie.doos.bal.helm = false;
balproductie.doos.bal.bolh = true;
balproductie.doos.bal.bolhkleur = "y";
balproductie.doos.bal.b1 = "o";
balproductie.doos.bal.b2 = "y";
balproductie.doos.bal.b3 = "b";
balproductie.doos.bal.b4 = "b";
balproductie.doos.bal.gotoAndPlay("bol24");
scenario.newtool1 = "verforanje";
scenario.newtool2 = "verfgeel";
scenario.newtool3 = "verfblauw";
scenario.newtool4 = "phoneklein";
scenario.newtool5 = "phone";
scenario.newtool6 = "helm";
scenario.newtool7 = "init";
scenario.newtool8 = "trash";
scenario.gotoAndPlay(1);
stop();
Symbol 503 MovieClip Frame 28
level = 25;
levelbox = "level 25";
if (level > _parent.sohigh) {
_parent.fb3shared.data.sohigh = level;
_parent.fb3shared.flush();
}
balproductie.doos.bal.bol = true;
balproductie.doos.bal.bolh = false;
balproductie.doos.bal.grasbalo = true;
balproductie.doos.bal.graso = 6;
balproductie.doos.bal.grasbalh = true;
balproductie.doos.bal.grash = 3;
balproductie.doos.bal.bloembalo = false;
balproductie.doos.bal.bloembalh = true;
balproductie.doos.bal.bloemh = 3;
balproductie.doos.bal.helm = false;
balproductie.doos.bal.gotoAndPlay("bol25");
scenario.newtool1 = "seeds";
scenario.newtool2 = "bloem";
scenario.newtool3 = "gieter";
scenario.newtool4 = "helm";
scenario.newtool5 = "kleurstofblauw";
scenario.newtool6 = "init";
scenario.newtool7 = "init";
scenario.newtool8 = "trash";
scenario.gotoAndPlay(1);
stop();
Symbol 503 MovieClip Frame 29
level = 26;
levelbox = "level 26";
if (level > _parent.sohigh) {
_parent.fb3shared.data.sohigh = level;
_parent.fb3shared.flush();
}
balproductie.doos.bal.bol = true;
balproductie.doos.bal.bolkleur1 = "y";
balproductie.doos.bal.bolkleur2 = "g";
balproductie.doos.bal.bolkleur3 = "y";
balproductie.doos.bal.bolkleur4 = "g";
balproductie.doos.bal.bolkleur5 = "y";
balproductie.doos.bal.bolkleur6 = "g";
balproductie.doos.bal.bolkleur7 = "y";
balproductie.doos.bal.bolkleur8 = "g";
balproductie.doos.bal.helm = false;
balproductie.doos.bal.mondlap = false;
balproductie.doos.bal.mutsrechts = false;
balproductie.doos.bal.gotoAndPlay("bol26");
scenario.newtool1 = "verfgroen";
scenario.newtool2 = "verfgeel";
scenario.newtool3 = "helm";
scenario.newtool4 = "mutsrechts";
scenario.newtool5 = "mondlap";
scenario.newtool6 = "gear";
scenario.newtool7 = "init";
scenario.newtool8 = "trash";
scenario.gotoAndPlay(1);
stop();
Symbol 503 MovieClip Frame 30
level = 27;
levelbox = "level 27";
if (level > _parent.sohigh) {
_parent.fb3shared.data.sohigh = level;
_parent.fb3shared.flush();
}
balproductie.doos.bal.bol = true;
balproductie.doos.bal.grasbal = true;
balproductie.doos.bal.gras = 3;
balproductie.doos.bal.nbril = false;
balproductie.doos.bal.ogenr = true;
balproductie.doos.bal.ogenkleurr = "w";
balproductie.doos.bal.ogenl = true;
balproductie.doos.bal.ogenkleurl = "w";
balproductie.doos.bal.oogsprayl = true;
balproductie.doos.bal.oogspraylniv = 1;
balproductie.doos.bal.oogsprayr = true;
balproductie.doos.bal.oogsprayrniv = 1;
balproductie.doos.bal.neusniv = 2;
balproductie.doos.bal.neuskleur = "g6";
balproductie.doos.bal.neusstempel = false;
balproductie.doos.bal.gotoAndPlay("bol27");
scenario.newtool1 = "seeds";
scenario.newtool2 = "bril";
scenario.newtool3 = "canzwart";
scenario.newtool4 = "stempelrood";
scenario.newtool5 = "gieter";
scenario.newtool6 = "stophor";
scenario.newtool7 = "init";
scenario.newtool8 = "trash";
scenario.gotoAndPlay(1);
stop();
Symbol 503 MovieClip Frame 31
level = 28;
levelbox = "level 28";
if (level > _parent.sohigh) {
_parent.fb3shared.data.sohigh = level;
_parent.fb3shared.flush();
}
balproductie.doos.bal.bol = true;
balproductie.doos.bal.mutsrechts = false;
balproductie.doos.bal.mutslinks = false;
balproductie.doos.bal.helm = false;
balproductie.doos.bal.kwart1kleur = "g2";
balproductie.doos.bal.kwart2kleur = "g3";
balproductie.doos.bal.kwart3kleur = "g4";
balproductie.doos.bal.kwart4kleur = "g3";
balproductie.doos.bal.bloembal1 = true;
balproductie.doos.bal.bloem1 = 3;
balproductie.doos.bal.bloembal2 = true;
balproductie.doos.bal.bloem2 = 3;
balproductie.doos.bal.bloembal3 = false;
balproductie.doos.bal.bloembal4 = false;
balproductie.doos.bal.gotoAndPlay("bol28");
scenario.newtool1 = "seeds";
scenario.newtool2 = "bloem";
scenario.newtool3 = "gieter";
scenario.newtool4 = "helm";
scenario.newtool5 = "mutslinks";
scenario.newtool6 = "mutsrechts";
scenario.newtool7 = "init";
scenario.newtool8 = "trash";
scenario.gotoAndPlay(1);
stop();
Symbol 503 MovieClip Frame 32
level = 29;
levelbox = "level 29";
if (level > _parent.sohigh) {
_parent.fb3shared.data.sohigh = level;
_parent.fb3shared.flush();
}
balproductie.doos.bal.bol = true;
balproductie.doos.bal.bolkleur = "b";
balproductie.doos.bal.riem = false;
balproductie.doos.bal.riemb = false;
balproductie.doos.bal.riemv = false;
balproductie.doos.bal.b1 = "w";
balproductie.doos.bal.b2 = "w";
balproductie.doos.bal.b3 = "b";
balproductie.doos.bal.b4 = "w";
balproductie.doos.bal.b5 = "b";
balproductie.doos.bal.b6 = "w";
balproductie.doos.bal.b7 = "b";
balproductie.doos.bal.gotoAndPlay("bol29");
scenario.newtool1 = "verfblauw";
scenario.newtool2 = "riem";
scenario.newtool3 = "riemb";
scenario.newtool4 = "riemv";
scenario.newtool5 = "steekmes";
scenario.newtool6 = "init";
scenario.newtool7 = "init";
scenario.newtool8 = "trash";
scenario.gotoAndPlay(1);
stop();
Symbol 503 MovieClip Frame 33
level = 30;
levelbox = "level 30";
if (level > _parent.sohigh) {
_parent.fb3shared.data.sohigh = level;
_parent.fb3shared.flush();
}
balproductie.doos.bal.bol = true;
balproductie.doos.bal.bolkleur1 = "r";
balproductie.doos.bal.bolkleur2 = "rm";
balproductie.doos.bal.bolkleur3 = "w";
balproductie.doos.bal.bolkleur4 = "w";
balproductie.doos.bal.bolkleur5 = "rm";
balproductie.doos.bal.bolkleur6 = "rm";
balproductie.doos.bal.bolkleur7 = "rm";
balproductie.doos.bal.bolkleur8 = "rm";
balproductie.doos.bal.helm = false;
balproductie.doos.bal.mondlap = false;
balproductie.doos.bal.gotoAndPlay("bol30");
scenario.newtool1 = "verfrood";
scenario.newtool2 = "verdunner";
scenario.newtool3 = "helm";
scenario.newtool4 = "mondlap";
scenario.newtool5 = "gear";
scenario.newtool6 = "init";
scenario.newtool7 = "init";
scenario.newtool8 = "trash";
scenario.gotoAndPlay(1);
stop();
Symbol 503 MovieClip Frame 34
_parent.keuze = 5;
tel = 0;
Symbol 503 MovieClip Frame 35
tel++;
Symbol 503 MovieClip Frame 36
if (tel == 2) {
toolbal10._visible = false;
}
if (tel == 6) {
toolbal9._visible = false;
}
if (tel == 10) {
toolbal8._visible = false;
tool8._visible = false;
}
if (tel == 14) {
toolbal7._visible = false;
tool7._visible = false;
}
if (tel == 18) {
toolbal6._visible = false;
tool6._visible = false;
}
if (tel == 22) {
toolbal5._visible = false;
tool5._visible = false;
}
if (tel == 26) {
toolbal4._visible = false;
tool4._visible = false;
}
if (tel == 30) {
toolbal3._visible = false;
tool3._visible = false;
}
if (tel == 34) {
toolbal2._visible = false;
tool2._visible = false;
}
if (tel == 38) {
toolbal1._visible = false;
tool1._visible = false;
}
if (tel < 42) {
gotoAndPlay ("l31l");
}
Symbol 503 MovieClip Frame 37
tandwiel._visible = false;
_parent.sound_introloop.stop();
_parent.sound_loop.stop();
_parent.sound_introloop.start(0, 9999);
stop();
Symbol 505 Button
on (press) {
getURL ("http://www.notdoppler.com/factoryballs3-walkthrough.php", "_blank");
}
Symbol 509 Button
on (press) {
getURL ("http://www.notdoppler.com/?ref=factoryballs3c", "_blank");
}