Combined Code
movieClip 15 l_osv_uron {
frame 11 {
this.swapDepths(666);
this.removeMovieClip();
}
}
movieClip 17 m_osv {
frame 10 {
this.removeMovieClip();
}
}
movieClip 19 {
}
movieClip 23 hint {
frame 7 {
stop();
onEnterFrame = function () {
if (hit_parent.hitTest(this)) {
} else {
hit_parent.t = 100;
hit_parent.hint_exist = false;
hit_parent.timer = false;
hit_parent.mc = null;
this.removeMovieClip();
}
};
}
}
// unknown tag 88 length 229
movieClip 26 m_hint2 {
frame 2 {
if (t > 0) {
--t;
gotoAndPlay(1);
}
}
frame 11 {
stop();
}
}
movieClip 28 m_hint {
frame 2 {
if (t > 0) {
--t;
gotoAndPlay(1);
}
}
frame 11 {
stop();
}
}
movieClip 30 m_RES {
frame 2 {
if (t > 0) {
--t;
gotoAndPlay(1);
}
}
frame 11 {
stop();
}
}
movieClip 32 m_zat {
frame 15 {
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
_root.onEnterFrame = function () {};
_root.nextFrame();
this.removeMovieClip();
}
}
movieClip 35 {
}
movieClip 37 {
}
movieClip 40 {
}
movieClip 43 {
}
movieClip 46 {
}
movieClip 49 {
}
movieClip 50 ko3 {
frame 33 {
_root.ing.eg._visible = true;
}
frame 55 {
this.removeMovieClip();
}
}
frame 1 {
function goToThisURL() {
getURL(_root.linkURL, '_blank');
}
stop();
var url = _root._url;
Playtomic.Log.View(3381, 'fdb6a218ecfc402f', url);
System.security.allowDomain('www.playpink.com');
var lc = new LocalConnection();
_root.gamedomain = lc.domain();
_root.gamename = 'Obama_Burgers';
_root.createEmptyMovieClip('temp', 1123);
loadMovie('http://www.playpink.com/partners/connect.swf', temp);
var clickurl = 'http://www.playpink.com/?utm_medium=brandedgames_external&utm_campaign=' + _root.gamename + '&utm_source=' + _root.gamedomain + '&utm_content=ingame&checkpartner=1';
linkURL = clickurl;
var myMenu = new ContextMenu();
var copyright = new ContextMenuItem('!!!PLAY MORE GAMES!!!', goToThisURL);
myMenu.customItems.push(copyright);
myMenu.hideBuiltInItems();
_root.menu = myMenu;
}
movieClip 53 {
}
movieClip 55 {
}
movieClip 56 {
}
button 58 {
on (release) {
Playtomic.Log.CustomMetric('SplashScreen', 'Links');
Playtomic.Log.ForceSend();
getURL(_root.linkURL, '_blank');
}
}
movieClip 60 {
}
movieClip 62 {
}
movieClip 64 {
}
movieClip 66 {
}
movieClip 68 {
}
movieClip 69 {
}
movieClip 71 {
}
movieClip 73 {
}
movieClip 75 {
}
movieClip 77 {
}
movieClip 79 {
}
movieClip 81 {
}
movieClip 83 {
}
movieClip 85 {
}
movieClip 87 {
}
movieClip 89 {
}
movieClip 91 {
}
movieClip 93 {
}
movieClip 95 {
}
movieClip 97 {
}
movieClip 99 {
}
movieClip 101 {
}
movieClip 103 {
}
movieClip 108 {
}
movieClip 110 {
}
movieClip 112 {
}
movieClip 114 {
}
movieClip 118 {
}
movieClip 121 {
}
movieClip 135 {
}
movieClip 136 {
}
movieClip 141 {
}
movieClip 151 {
frame 36 {
stop();
}
frame 60 {
stop();
}
}
movieClip 153 {
}
movieClip 155 {
}
movieClip 158 {
}
movieClip 160 {
}
// unknown tag 88 length 136
movieClip 164 {
frame 1 {
stop();
}
}
movieClip 168 {
}
button 170 {
on (release) {
Playtomic.Log.Play();
gotoAndPlay('playgame');
}
on (rollOver) {
gotoAndPlay('happy');
}
on (rollOut) {
gotoAndPlay('sad');
}
}
movieClip 172 {
}
movieClip 173 {
frame 2 {
}
frame 183 {
if (_root.getBytesLoaded() >= _root.getBytesTotal()) {
gotoAndPlay('app');
}
}
frame 194 {
stop();
}
instance of movieClip 164 {
onClipEvent (enterFrame) {
if (_root.getBytesLoaded() >= _root.getBytesTotal()) {
_parent.gotoAndPlay(_parent._currentframe + 1);
this.txt.text = 100;
} else {
var pr = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
this.txt.text = pr;
this.gotoAndStop(Math.round(pr * 200 / 100));
}
}
}
frame 315 {
stop();
}
frame 340 {
stop();
}
frame 361 {
stop();
}
instance door of movieClip 151 {
onClipEvent (load) {
gotoAndPlay('close');
}
}
frame 455 {
stop();
_root.nextFrame();
}
}
movieClip 544 __Packages.Playtomic.LogRequest {
#initclip
if (!_global.Playtomic) {
_global.Playtomic = new Object();
}
if (!_global.Playtomic.LogRequest) {
var v1 = function () {};
Playtomic.LogRequest = v1;
var v2 = v1.prototype;
v2.Queue = function (data) {
++this.Pieces;
this.Data += ((this.Data == '') ? '' : '~') + data;
if (this.Pieces == 8 || this.Data.length > 300) {
this.Pieces = 0;
this.Ready = true;
}
};
v2.Send = function () {
var v3 = function (success) {
if (this.Data.indexOf('v/') == 0 || this.Data.indexOf('~v/') > -1) {
Playtomic.Log.IncreaseViews();
}
if (this.Data.indexOf('p/') == 0 || this.Data.indexOf('~p/') > -1) {
Playtomic.Log.IncreasePlays();
}
};
var v2 = new LoadVars();
v2.sendAndLoad('http://g' + Playtomic.Log.GUID + '.api.playtomic.com/Tracker/q.aspx?swfid=' + Playtomic.Log.SWFID + '&q=' + this.Data + '&url=' + Playtomic.Log.SourceUrl + '&' + Math.random() + 'z', v3, 'POST');
};
v2.Data = '';
v2.Ready = false;
ASSetPropFlags(Playtomic.LogRequest.prototype, null, 1);
}
#endinitclip
}
movieClip 545 __Packages.Playtomic.Log {
#initclip
if (!_global.Playtomic) {
_global.Playtomic = new Object();
}
if (!_global.Playtomic.Log) {
var v1 = function () {};
Playtomic.Log = v1;
var v2 = v1.prototype;
v1.View = function (swfid, guid, defaulturl) {
if (swfid == undefined) {
swfid = 0;
}
if (guid == undefined) {
guid = '';
}
if (defaulturl == undefined) {
defaulturl = '';
}
if (Playtomic.Log.SWFID > 0) {
return undefined;
}
Playtomic.Log.SWFID = swfid;
Playtomic.Log.GUID = guid;
Playtomic.Log.Enabled = true;
if (Playtomic.Log.SWFID == 0 || Playtomic.Log.GUID == '') {
Playtomic.Log.Enabled = false;
return undefined;
}
if (defaulturl.indexOf('http://') != 0) {
Playtomic.Log.Enabled = false;
return undefined;
}
Playtomic.Log.SourceUrl = defaulturl;
if (Playtomic.Log.SourceUrl == null || Playtomic.Log.SourceUrl == '' || Playtomic.Log.SourceUrl.indexOf('https://') == 0) {
Playtomic.Log.Enabled = false;
return undefined;
}
Playtomic.Log.Cookie = SharedObject.getLocal('playtomic');
var v5 = Playtomic.Log.GetCookie('views');
Playtomic.Log.Send('v/' + v5, true);
_global.setTimeout(Playtomic.Log.PingServer, 60000);
};
v1.ForceSend = function () {
if (Playtomic.Log.Request == null) {
return undefined;
}
Playtomic.Log.Request.Send();
Playtomic.Log.Request = new Playtomic.LogRequest();
};
v1.Play = function () {
if (!Playtomic.Log.Enabled) {
return undefined;
}
trace('Play');
Playtomic.Log.LevelCounters = new Array();
Playtomic.Log.LevelAverages = new Array();
Playtomic.Log.LevelRangeds = new Array();
Playtomic.Log.Send('p/' + (Playtomic.Log.Plays + 1), true);
};
v1.CustomMetric = function (name, group, unique) {
if (!Playtomic.Log.Enabled) {
return undefined;
}
if (group == null || group == undefined) {
group = '';
}
if (unique == null || unique == undefined) {
unique = false;
}
if (unique) {
if (Playtomic.Log.Customs.indexOf(name) > -1) {
return undefined;
}
Playtomic.Log.Customs.push(name);
}
Playtomic.Log.Send('c/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(group));
};
v1.Link = function (url, name, group, unique, total, fail) {
if (!Playtomic.Log.Enabled) {
return undefined;
}
Playtomic.Log.Send('l/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(group) + '/' + Playtomic.Log.Clean(url) + '/' + unique + '/' + total + '/' + fail);
};
v1.LevelCounterMetric = function (name, level, unique) {
if (!Playtomic.Log.Enabled) {
return undefined;
}
if (unique) {
if (Playtomic.Log.LevelCounters.indexOf(name) > -1) {
return undefined;
}
Playtomic.Log.LevelCounters.push(name);
}
Playtomic.Log.Send('lc/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(level));
};
v1.LevelRangedMetric = function (name, level, value, unique) {
if (!Playtomic.Log.Enabled) {
return undefined;
}
if (unique) {
if (Playtomic.Log.LevelRangeds.indexOf(name) > -1) {
return undefined;
}
Playtomic.Log.LevelRangeds.push(name);
Playtomic.Log.SaveCookie('lr_' + name, 1);
}
Playtomic.Log.Send('lr/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(level) + '/' + value);
};
v1.LevelAverageMetric = function (name, level, value, unique) {
if (!Playtomic.Log.Enabled) {
return undefined;
}
if (unique) {
if (Playtomic.Log.LevelAverages.indexOf(name) > -1) {
return undefined;
}
Playtomic.Log.LevelAverages.push(name);
}
Playtomic.Log.Send('la/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(level) + '/' + value);
};
v1.Heatmap = function (name, group, x, y) {
if (!Playtomic.Log.Enabled) {
return undefined;
}
Playtomic.Log.Send('h/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(group) + '/' + x + '/' + y);
};
v1.Funnel = function (name, step, stepnum) {
if (!Playtomic.Log.Enabled) {
return undefined;
}
Playtomic.Log.Send('f/' + Playtomic.Log.Clean(name) + '/' + Playtomic.Log.Clean(step) + '/' + stepnum);
};
v1.PlayerLevelStart = function (levelid) {
if (!Playtomic.Log.Enabled) {
return undefined;
}
Playtomic.Log.Send('pls/' + levelid);
};
v1.PlayerLevelWin = function (levelid) {
if (!Playtomic.Log.Enabled) {
return undefined;
}
Playtomic.Log.Send('plw/' + levelid);
};
v1.PlayerLevelQuit = function (levelid) {
if (!Playtomic.Log.Enabled) {
return undefined;
}
Playtomic.Log.Send('plq/' + levelid);
};
v1.PlayerLevelRetry = function (levelid) {
if (!Playtomic.Log.Enabled) {
return undefined;
}
Playtomic.Log.Send('plr/' + levelid);
};
v1.PlayerLevelFlag = function (levelid) {
if (!Playtomic.Log.Enabled) {
return undefined;
}
Playtomic.Log.Send('plf/' + levelid);
};
v1.PingServer = function () {
if (!Playtomic.Log.Enabled) {
return undefined;
}
++Playtomic.Log.Pings;
Playtomic.Log.Send('t/' + (Playtomic.Log.FirstPing ? 'y' : 'n') + '/' + Playtomic.Log.Pings, true);
if (Playtomic.Log.FirstPing) {
Playtomic.Log.FirstPing = false;
setInterval(Playtomic.Log.PingServer, 60000);
}
};
v1.Send = function (s, view) {
if (view == undefined) {
view = false;
}
Playtomic.Log.Request.Queue(s);
if (Playtomic.Log.Request.Ready || view || !Playtomic.Log.Queue) {
Playtomic.Log.Request.Send();
Playtomic.Log.Request = new Playtomic.LogRequest();
}
};
v1.GetCookie = function (n) {
if (Playtomic.Log.Cookie.data[n] == undefined) {
return 0;
} else {
return parseInt(Playtomic.Log.Cookie.data[n]);
}
};
v1.SaveCookie = function (n, v) {
Playtomic.Log.Cookie.data[n] = v.toString();
Playtomic.Log.Cookie.flush();
};
v1.Clean = function (s) {
while (s.indexOf('/') > -1) {
s = Playtomic.Log.Replace(s, '/', '\\');
}
while (s.indexOf('~') > -1) {
s = Playtomic.Log.Replace(s, '~', '-');
}
return escape(s);
};
v1.Replace = function (str, find, replace) {
return (str.split(find)).join(replace);
};
v1.IncreaseViews = function () {
var v1 = Playtomic.Log.GetCookie('views');
++v1;
Playtomic.Log.SaveCookie('views', v1);
};
v1.IncreasePlays = function () {
++Playtomic.Log.Plays;
};
v1.Enabled = false;
v1.Queue = true;
v1.SWFID = 0;
v1.GUID = '';
v1.Request = new Playtomic.LogRequest();
v1.FirstPing = true;
v1.Pings = 0;
v1.Plays = 0;
v1.HighestGoal = 0;
v1.Customs = new Array();
v1.LevelCounters = new Array();
v1.LevelAverages = new Array();
v1.LevelRangeds = new Array();
ASSetPropFlags(Playtomic.Log.prototype, null, 1);
}
#endinitclip
}
frame 2 {
function rasterizeMovieClip(obj, bdLev) {
var v3 = obj._parent;
var v5 = bdLev || v3.getNextHighestDepth();
var v2 = v3.createEmptyMovieClip(obj._name + 'BD', v5);
var v4 = new flash.display.BitmapData(obj._width, obj._height, true, 0);
v4.draw(obj);
v2.attachBitmap(v4, v2.getNextHighestDepth());
v2._x = obj._x;
v2._y = obj._y;
obj.swapDepths(v3.getNextHighestDepth());
obj.removeMovieClip();
}
stop();
_root.attachMovie('m_osv', 'm_osv', 3000);
_quality = 'MEDIUM';
qual = 1;
_root.score = 0;
_root.bb = 0;
_global.pdis = function (x1, y1, x2, y2) {
var v3 = x2 - x1;
var v2 = y2 - y1;
var v1 = v3 * v3 + v2 * v2;
v1 = Math.sqrt(v1);
return v1;
};
_global.pdir = function (x1, y1, x2, y2) {
var v3 = x2 - x1;
var v1 = y2 - y1;
var v2 = Math.atan2(v1, v3);
var v4 = v2 * 57.32;
return v4;
};
_global.choose = function () {
return arguments[random(arguments.length)];
};
_global.mod = function (x) {
if (x > 0) {
return x;
}
x = -x;
return x;
};
_global.nf = function (id) {
id.gotoAndPlay(id._currentframe + 1);
};
}
frame 2 {
hint_cr = function (id, txt) {
id.timer = false;
id.t = 0;
id.hint_exist = false;
id.txt = txt;
};
hint = function (id) {
id.onRollOver = function () {
id.timer = true;
id.t = 0;
id.hint_exist == false;
};
id.onRollOut = function () {
id.timer = false;
if (id.hint_exist == true) {
id.hint_exist = false;
id.mc.removeMovieClip();
}
};
if (id.timer == true) {
if (id.hint_exist == false) {
++id.t;
if (id.t > 10) {
id.t = 0;
id.hint_exist = true;
id.mc = _root.attachMovie('hint', 'hint', 500);
id.mc.txt.text = id.txt;
id.mc._x = _root._xmouse;
id.mc._y = _root._ymouse;
id.mc.hit_parent = id;
}
} else {
id.mc._x = _root._xmouse;
id.mc._y = _root._ymouse;
}
}
};
drag_cr = function (id) {
id.xx = id._x;
id.yy = id._y;
};
drag = function (id) {
id.onPress = function () {
id.startDrag();
id.drag_enable = true;
_root.depth = id.getDepth();
id.swapDepths(400);
if (_root.sound_play == true) {
_root.sfx.s4.start();
}
};
id.onMouseUp = function () {
if (id.drag_enable == true) {
id.drag_enable = false;
id.stopDrag();
id.drag_result();
id.swapDepths(_root.depth);
if (_root.sound_play == true) {
_root.sfx.s5.start();
}
}
};
};
}
frame 2 {
function goToThisURL() {
getURL(_root.linkURL, '_blank');
}
var myMenu = new ContextMenu();
var copyright = new ContextMenuItem('!!!PLAY MORE GAMES!!!', goToThisURL);
myMenu.customItems.push(copyright);
myMenu.hideBuiltInItems();
_root.menu = myMenu;
}
// unknown tag 88 length 56
movieClip 177 {
}
instance mus of movieClip 177 {
onClipEvent (load) {
if (_root.music_loaded != true) {
_root.music_loaded = true;
so = new Sound(this);
so.attachSound('so_BG');
so.start(0, 30000);
_root.backsound_play = true;
} else {
so = new Sound(this);
so.attachSound('so_BG');
so.start(0, 30000);
if (_root.backsound_play == false) {
so.setVolume(0);
}
}
}
}
movieClip 179 {
}
instance sfx of movieClip 179 {
onClipEvent (load) {
if (_root.sound_loaded != true) {
_root.sound_loaded = true;
_root.sound_play = true;
}
s1 = new Sound(this);
s1.attachSound('s1_knopki');
s2 = new Sound(this);
s2.attachSound('s2_noj');
s3 = new Sound(this);
s3.attachSound('s3_haamm');
s4 = new Sound(this);
s4.attachSound('s4_drag');
s5 = new Sound(this);
s5.attachSound('s5_drop');
s6 = new Sound(this);
s6.attachSound('swin');
s7 = new Sound(this);
s7.attachSound('s_faild');
s8 = new Sound(this);
s8.attachSound('s8_mixer');
s9 = new Sound(this);
s9.attachSound('s9_clock');
s10 = new Sound(this);
s10.attachSound('s_uron');
s11 = new Sound(this);
s11.attachSound('s_kiss');
}
}
movieClip 184 {
}
// unknown tag 88 length 219
button 189 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
_root.nextFrame();
}
}
button 193 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
Playtomic.Log.CustomMetric('InGameMOREGAMES', 'Links');
Playtomic.Log.ForceSend();
getURL(_root.linkURL, '_blank');
}
}
button 198 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
Playtomic.Log.CustomMetric('InGameMOREGAMES', 'Links');
Playtomic.Log.ForceSend();
getURL(_root.linkURL, '_blank');
}
}
movieClip 200 {
}
movieClip 201 {
}
// unknown tag 88 length 229
movieClip 204 {
}
movieClip 205 {
}
movieClip 210 {
frame 1 {
stop();
}
}
instance kn2 of movieClip 210 {
onClipEvent (load) {
if (_root.sound_play != true) {
this.gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.sound_play == true) {
_root.sound_play = false;
this.gotoAndStop(2);
} else {
_root.sound_play = true;
this.gotoAndStop(1);
}
}
}
movieClip 212 {
}
instance kn1 of movieClip 212 {
onClipEvent (release) {
switch (_root.qual) {
case 0:
_root._quality = 'MEDIUM';
++_root.qual;
break;
case 1:
_root._quality = 'LOW';
++_root.qual;
break;
case 2:
_root._quality = 'HIGH';
_root.qual = 0;
}
}
}
movieClip 214 {
frame 1 {
stop();
}
}
instance kn3 of movieClip 214 {
onClipEvent (load) {
if (_root.backsound_play == false) {
this.gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.backsound_play == true) {
_root.backsound_play = false;
_root.mus.so.setVolume(0);
this.gotoAndStop(2);
} else {
_root.backsound_play = true;
_root.mus.so.setVolume(100);
this.gotoAndStop(1);
}
}
}
frame 3 {
}
frame 3 {
_root.attachMovie('m_osv', 'm_osv', 3000);
}
button 223 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
_root.nextFrame();
}
}
movieClip 231 {
}
movieClip 234 {
}
frame 4 {
}
frame 4 {
stop();
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
pro = 0;
pro_step = 16.7;
}
movieClip 237 {
}
movieClip 238 {
}
movieClip 241 {
}
movieClip 247 {
}
movieClip 248 {
frame 1 {
gotoAndPlay(2);
}
frame 6 {
enable = true;
}
frame 7 {
stop();
}
frame 8 {
if (_root.sound_play == true) {
_root.sfx.s1.start();
}
}
frame 13 {
stop();
}
}
movieClip 249 {
frame 1 {
current_p = 1;
max_p = 0;
for (var i in this) {
var id = this[i];
id.enable = false;
id.gotoAndPlay('app');
}
p_plus = function () {
++current_p;
if (current_p > max_p) {
_root.pro += _root.pro_step;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
_parent.nextFrame();
}
};
reset = function () {
current_p = 1;
for (var v3 in this) {
var v2 = this[v3];
if (v2.enable == false) {
v2.gotoAndPlay('app');
}
}
};
}
instance p1 of movieClip 248 {
onClipEvent (load) {
enable = true;
var my_number = Number((String(this._name)).charAt(1));
if (my_number > _parent.max_p) {
_parent.max_p = my_number;
}
}
onClipEvent (enterFrame) {
if (enable == true) {
if (this.hitTest(_root._xmouse, _root._ymouse, 0)) {
enable = false;
var n1 = 'p' + _parent.current_p;
var n2 = String(this._name);
if (n1 == n2) {
_parent.p_plus();
gotoAndPlay('del');
} else {
_parent.reset();
}
}
}
}
}
instance p2 of movieClip 248 {
onClipEvent (load) {
enable = true;
var my_number = Number((String(this._name)).charAt(1));
if (my_number > _parent.max_p) {
_parent.max_p = my_number;
}
}
onClipEvent (enterFrame) {
if (enable == true) {
if (this.hitTest(_root._xmouse, _root._ymouse, 0)) {
enable = false;
var n1 = 'p' + _parent.current_p;
var n2 = String(this._name);
if (n1 == n2) {
_parent.p_plus();
gotoAndPlay('del');
} else {
_parent.reset();
}
}
}
}
}
instance p3 of movieClip 248 {
onClipEvent (load) {
enable = true;
var my_number = Number((String(this._name)).charAt(1));
if (my_number > _parent.max_p) {
_parent.max_p = my_number;
}
}
onClipEvent (enterFrame) {
if (enable == true) {
if (this.hitTest(_root._xmouse, _root._ymouse, 0)) {
enable = false;
var n1 = 'p' + _parent.current_p;
var n2 = String(this._name);
if (n1 == n2) {
_parent.p_plus();
gotoAndPlay('del');
} else {
_parent.reset();
}
}
}
}
}
instance p4 of movieClip 248 {
onClipEvent (load) {
enable = true;
var my_number = Number((String(this._name)).charAt(1));
if (my_number > _parent.max_p) {
_parent.max_p = my_number;
}
}
onClipEvent (enterFrame) {
if (enable == true) {
if (this.hitTest(_root._xmouse, _root._ymouse, 0)) {
enable = false;
var n1 = 'p' + _parent.current_p;
var n2 = String(this._name);
if (n1 == n2) {
_parent.p_plus();
gotoAndPlay('del');
} else {
_parent.reset();
}
}
}
}
}
}
movieClip 252 {
frame 11 {
stop();
}
instance of movieClip 249 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance of movieClip 249 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance of movieClip 249 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance of movieClip 249 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance of movieClip 249 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance of movieClip 249 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
frame 17 {
var mc = this.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
gotoAndPlay(_currentframe + 1);
}
frame 33 {
if (_root.timer.time < 12) {
var pr = _root.timer.time / 12;
} else {
var pr = 1;
}
_root.score += 100 * pr;
trace(_root.score);
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
_root.nextFrame();
}
}
movieClip 255 {
}
instance m_noj of movieClip 255 {
onClipEvent (load) {
px = _root._xmouse;
py = _root._ymouse;
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
var dy = py - _root._ymouse;
_rotation = -50 + _y / 6;
px = _root._xmouse;
py = _root._ymouse;
}
}
movieClip 261 {
frame 1 {
stop();
}
}
instance kn2 of movieClip 210 {
onClipEvent (load) {
if (_root.sound_play != true) {
this.gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.sound_play == true) {
_root.sound_play = false;
this.gotoAndStop(2);
} else {
_root.sound_play = true;
this.gotoAndStop(1);
}
}
}
instance kn1 of movieClip 212 {
onClipEvent (release) {
switch (_root.qual) {
case 0:
_root._quality = 'MEDIUM';
++_root.qual;
break;
case 1:
_root._quality = 'LOW';
++_root.qual;
break;
case 2:
_root._quality = 'HIGH';
_root.qual = 0;
}
}
}
instance kn3 of movieClip 214 {
onClipEvent (load) {
if (_root.backsound_play == false) {
this.gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.backsound_play == true) {
_root.backsound_play = false;
_root.mus.so.setVolume(0);
this.gotoAndStop(2);
} else {
_root.backsound_play = true;
_root.mus.so.setVolume(100);
this.gotoAndStop(1);
}
}
}
button 265 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
Playtomic.Log.CustomMetric('InGameMOREGAMES', 'Links');
Playtomic.Log.ForceSend();
getURL(_root.linkURL, '_blank');
}
}
movieClip 266 {
}
movieClip 285 {
frame 1 {
stop();
}
frame 2 {
_root.rasterizeMovieClip(this);
}
frame 3 {
_root.rasterizeMovieClip(this);
}
frame 4 {
_root.rasterizeMovieClip(this);
}
frame 5 {
_root.rasterizeMovieClip(this);
}
frame 6 {
_root.rasterizeMovieClip(this);
}
frame 7 {
_root.rasterizeMovieClip(this);
}
frame 8 {
_root.rasterizeMovieClip(this);
}
frame 9 {
_root.rasterizeMovieClip(this);
}
frame 10 {
_root.rasterizeMovieClip(this);
}
frame 11 {
_root.rasterizeMovieClip(this);
}
frame 12 {
_root.rasterizeMovieClip(this);
}
frame 13 {
_root.rasterizeMovieClip(this);
}
frame 14 {
_root.rasterizeMovieClip(this);
}
frame 15 {
_root.rasterizeMovieClip(this);
}
frame 16 {
_root.rasterizeMovieClip(this);
}
}
movieClip 286 {
instance txt of movieClip 285 {
}
}
instance texttt of movieClip 286 {
onClipEvent (load) {
txt.gotoAndStop(2);
}
}
movieClip 288 {
}
instance timer of movieClip 288 {
onClipEvent (load) {
t = 0;
time = 25;
}
onClipEvent (enterFrame) {
if (time == 0) {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
_root.nextFrame();
}
++t;
if (time != 0) {
if (t > 24) {
--time;
t = 0;
}
}
}
}
frame 5 {
stop();
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
pro = 0;
pro_step = 1;
_root.win = function () {
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
onEnterFrame = function () {};
_root.nextFrame();
};
}
movieClip 295 {
frame 1 {
stop();
}
}
instance m_mrubka of movieClip 295 {
onClipEvent (load) {
function krutit() {
if (_root.sound_play == true) {
_root.sfx.s8.start();
}
++kvar_need;
if (kvar_need > 4) {
kvar_need = 1;
}
_root.pro += _root.pro_step;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (_root.pro >= 100) {
_root.win();
}
}
kvar = 4;
kvar_need = 1;
kvar_frame = 1;
fr = 1;
ef = function () {
kvar = my_kvar();
trace(kvar + ' ' + kvar_need);
if (kvar == kvar_need) {
kvar_frame = kvar;
if (kvar_frame == 1) {
fr = 6;
}
if (kvar_frame == 2) {
fr = 11;
}
if (kvar_frame == 3) {
fr = 16;
}
if (kvar_frame == 4) {
fr = 20;
}
krutit();
}
trace(fr + ' ' + _currentframe);
if (_currentframe != fr) {
var v2 = _currentframe + 1;
if (v2 > 20) {
v2 = 1;
}
this.gotoAndStop(v2);
}
};
my_kvar = function () {
var v2 = 0;
var v4 = 295;
var v3 = 145;
if (_root._xmouse > v4) {
if (_root._ymouse > v3) {
v2 = 4;
} else {
v2 = 3;
}
return v2;
}
if (_root._ymouse > v3) {
v2 = 1;
return v2;
}
v2 = 2;
return v2;
};
}
onClipEvent (enterFrame) {
ef();
}
}
instance texttt of movieClip 286 {
onClipEvent (load) {
txt.gotoAndStop(3);
}
}
frame 6 {
stop();
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
pro = 0;
pro_step = 0.51;
win = function () {
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
if (_root.timer.time < 12) {
var v2 = _root.timer.time / 12;
} else {
var v2 = 1;
}
_root.score += 100 * v2;
trace(_root.score);
onEnterFrame = function () {};
_root.nextFrame();
};
}
movieClip 298 {
}
movieClip 301 {
}
movieClip 307 {
frame 4 {
if (_root.sound_play == true) {
_root.sfx.s5.start();
}
}
}
movieClip 308 {
frame 1 {
nd = 3;
px = _xmouse;
py = _ymouse;
y_nd = 0;
y_nw = 0;
ef = function () {
this.gotoAndStop(_currentframe);
onEnterFrame = function () {
var v2 = 50;
if (Math.abs(_xmouse - px) < 10) {
if (Math.abs(_ymouse - py) > 5) {
++y_nw;
what_y_nd();
gotoAndStop(_currentframe + 1);
_root.pro += _root.pro_step;
_root.prog.gotoAndStop(int(_root.pro));
}
}
px = _xmouse;
py = _ymouse;
};
};
pl = function () {
y_nw = 0;
what_y_nd();
onEnterFrame = function () {};
play();
};
what_y_nd = function () {
y_nd = 50 + 215 * (y_nw / 12);
};
ef();
}
instance o18 of movieClip 301 {
onClipEvent (load) {
this.pod = _root.pod9;
}
}
instance o18 of movieClip 301 {
onClipEvent (load) {
this.pod = _root.pod9;
}
}
instance o18 of movieClip 301 {
onClipEvent (load) {
this.pod = _root.pod9;
}
}
instance o18 of movieClip 301 {
onClipEvent (load) {
this.pod = _root.pod9;
}
}
instance o18 of movieClip 301 {
onClipEvent (load) {
this.pod = _root.pod9;
}
}
instance o18 of movieClip 301 {
onClipEvent (load) {
this.pod = _root.pod9;
}
}
frame 200 {
onEnterFrame = function () {};
_root.win();
}
}
instance texttt of movieClip 286 {
onClipEvent (load) {
txt.gotoAndStop(4);
}
}
instance timer of movieClip 288 {
onClipEvent (load) {
t = 0;
time = 40;
}
onClipEvent (enterFrame) {
if (time == 0) {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
_root.nextFrame();
}
++t;
if (time != 0) {
if (t > 24) {
--time;
t = 0;
}
}
}
}
frame 7 {
stop();
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
pro = 0;
pro_step = 3.8;
}
movieClip 311 {
}
movieClip 314 {
frame 1 {
stop();
}
}
movieClip 317 {
frame 12 {
stop();
this.enabled = true;
onEnterFrame = function () {
onPress = function () {
_root.pro += 1.1;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (_root.sound_play == true) {
_root.sfx.s5.start();
}
this.nextFrame();
};
};
}
frame 28 {
stop();
this.enabled = false;
onEnterFrame = function () {
onPress = function () {};
};
}
instance of movieClip 249 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance noj of movieClip 314 {
onClipEvent (load) {
_alpha = 0;
vis = true;
this.swapDepths(201);
}
onClipEvent (enterFrame) {
if (vis == true) {
if (_alpha < 100) {
_alpha = _alpha + 20;
}
} else {
if (_alpha > 0) {
_alpha = _alpha - 20;
}
}
this._x = _root._xmouse - _parent._x;
this._y = _root._ymouse - _parent._y;
}
}
instance of movieClip 249 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance of movieClip 249 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance of movieClip 249 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
frame 32 {
var mc = this.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
noj.vis = false;
gotoAndPlay(_currentframe + 1);
}
frame 54 {
stop();
this.enabled = true;
onEnterFrame = function () {
onPress = function () {
_root.pro += 1.1;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (_root.sound_play == true) {
_root.sfx.s5.start();
}
this.nextFrame();
};
};
}
frame 71 {
stop();
this.enabled = false;
noj.vis = true;
onEnterFrame = function () {
onPress = function () {};
};
}
instance of movieClip 249 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance of movieClip 249 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance of movieClip 249 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance of movieClip 249 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
frame 75 {
var mc = this.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
noj.vis = false;
gotoAndPlay(_currentframe + 1);
}
frame 97 {
stop();
this.enabled = true;
onEnterFrame = function () {
onPress = function () {
_root.pro += 1.1;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (_root.sound_play == true) {
_root.sfx.s5.start();
}
this.nextFrame();
};
};
}
frame 114 {
stop();
this.enabled = false;
noj.vis = true;
onEnterFrame = function () {
onPress = function () {};
};
}
instance of movieClip 249 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance of movieClip 249 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance of movieClip 249 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance of movieClip 249 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
frame 118 {
var mc = this.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
noj.vis = false;
gotoAndPlay(_currentframe + 1);
}
frame 128 {
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
if (_root.timer.time < 12) {
var pr = _root.timer.time / 12;
} else {
var pr = 1;
}
_root.score += 100 * pr;
trace(_root.score);
_root.nextFrame();
}
}
instance texttt of movieClip 286 {
onClipEvent (load) {
txt.gotoAndStop(5);
}
}
instance timer of movieClip 288 {
onClipEvent (load) {
t = 0;
time = 40;
}
onClipEvent (enterFrame) {
if (time == 0) {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
_root.nextFrame();
}
++t;
if (time != 0) {
if (t > 24) {
--time;
t = 0;
}
}
}
}
frame 8 {
var mc = _parent.attachMovie('l_clear', 'l_clear', 400);
mc.removeMovieClip();
onEnterFrame = function () {};
}
button 320 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
_root.nextFrame();
this.removeMovieClip();
}
}
button 321 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
Playtomic.Log.CustomMetric('InGameMOREGAMES', 'Links');
Playtomic.Log.ForceSend();
getURL(_root.linkURL, '_blank');
}
}
movieClip 323 {
}
instance of movieClip 323 {
onClipEvent (load) {
this.swapDepths(501);
}
}
frame 9 {
win = function () {
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
nextFrame();
};
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
shtraf = 0;
pro = 0;
_root.num_request = 0;
NUMREQ = [[0], [1], [2], [3], [4], [5], [6]];
next_text = function () {
++num_request;
};
}
frame 9 {
ba_zad = 10000;
blife_max = 4;
blife = blife_max;
ba_shka.gotoAndStop(1 + (blife / blife_max) * 100);
bex_d = 0;
_root.ba_uron = function () {
if (_root.sound_play == true) {
_root.sfx.s10.start();
}
_root.attachMovie('l_osv_uron', 'l_osv_uron', 1001);
blife -= 2;
if (blife <= 0) {
blife = 0;
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
_root.gotoAndStop(_currentframe - 1);
}
ba_shka.gotoAndStop(1 + Math.round((blife / blife_max) * 100));
};
_root.ba_plus = function () {
++blife;
if (blife > blife_max) {
blife = blife_max;
}
ba_shka.gotoAndStop(1 + Math.round((blife / blife_max) * 100));
};
}
movieClip 326 {
}
movieClip 329 {
}
movieClip 330 {
}
movieClip 331 {
}
movieClip 340 {
}
movieClip 343 {
frame 1 {
stop();
}
frame 9 {
stop();
_root.next_text();
}
frame 19 {
stop();
_root.next_text();
}
frame 39 {
stop();
_root.next_text();
}
frame 59 {
stop();
_root.next_text();
}
frame 67 {
stop();
_root.next_text();
}
frame 129 {
stop();
_root.next_text();
}
frame 159 {
_root.win();
}
}
movieClip 346 {
}
instance of movieClip 331 {
onClipEvent (load) {
por = 0;
_root.hint_cr(this, 'minced meat');
_root.drag_cr(this);
drag_result = function () {
if (_root.ing.hitTest(_root._xmouse, _root._ymouse, 1)) {
var v3 = false;
var v2 = 0;
while (v2 < _root.NUMREQ[_root.num_request].length) {
if (por == _root.NUMREQ[_root.num_request][v2]) {
v3 = true;
}
++v2;
}
if (v3 == true) {
moving = true;
x1 = 300;
y1 = 330;
} else {
_root.shtraf += 1;
_root.ba_uron();
_x = xx;
_y = yy;
}
} else {
_x = xx;
_y = yy;
}
};
}
onClipEvent (enterFrame) {
if (moving == true) {
var ax = (x1 - _x) / 10;
var ay = (y1 - _y) / 10;
_x = _x + ax;
_y = _y + ay;
if (mod(ax) < 2) {
if (mod(ay) < 2) {
_root.pro += 25;
_root.prog.gotoAndStop(_root.pro);
_root.ing.gotoAndPlay(_root.ing._currentframe + 1);
this.swapDepths(666);
this.removeMovieClip();
}
}
} else {
_root.hint(this);
_root.drag(this);
}
}
}
movieClip 349 {
}
movieClip 350 {
}
instance of movieClip 350 {
onClipEvent (load) {
por = 6;
_root.hint_cr(this, 'crumbs');
_root.drag_cr(this);
drag_result = function () {
if (_root.ing.hitTest(_root._xmouse, _root._ymouse, 1)) {
var v3 = false;
var v2 = 0;
while (v2 < _root.NUMREQ[_root.num_request].length) {
if (por == _root.NUMREQ[_root.num_request][v2]) {
v3 = true;
}
++v2;
}
if (v3 == true) {
moving = true;
x1 = 300;
y1 = 330;
} else {
_root.shtraf += 1;
_root.ba_uron();
_x = xx;
_y = yy;
}
} else {
_x = xx;
_y = yy;
}
};
}
onClipEvent (enterFrame) {
if (moving == true) {
var ax = (x1 - _x) / 10;
var ay = (y1 - _y) / 10;
_x = _x + ax;
_y = _y + ay;
if (mod(ax) < 2) {
if (mod(ay) < 2) {
_root.pro += 25;
_root.prog.gotoAndStop(_root.pro);
_root.ing.gotoAndPlay(_root.ing._currentframe + 1);
this.swapDepths(666);
this.removeMovieClip();
}
}
} else {
_root.hint(this);
_root.drag(this);
}
}
}
movieClip 353 {
}
movieClip 354 {
}
instance of movieClip 354 {
onClipEvent (load) {
por = 3;
_root.hint_cr(this, 'black pepper');
_root.drag_cr(this);
drag_result = function () {
if (_root.ing.hitTest(_root._xmouse, _root._ymouse, 1)) {
var v3 = false;
var v2 = 0;
while (v2 < _root.NUMREQ[_root.num_request].length) {
if (por == _root.NUMREQ[_root.num_request][v2]) {
v3 = true;
}
++v2;
}
if (v3 == true) {
moving = true;
x1 = 300;
y1 = 330;
} else {
_root.shtraf += 1;
_root.ba_uron();
_x = xx;
_y = yy;
}
} else {
_x = xx;
_y = yy;
}
};
}
onClipEvent (enterFrame) {
if (moving == true) {
var ax = (x1 - _x) / 10;
var ay = (y1 - _y) / 10;
_x = _x + ax;
_y = _y + ay;
if (mod(ax) < 2) {
if (mod(ay) < 2) {
_root.pro += 25;
_root.prog.gotoAndStop(_root.pro);
_root.ing.gotoAndPlay(_root.ing._currentframe + 1);
this.swapDepths(666);
this.removeMovieClip();
}
}
} else {
_root.hint(this);
_root.drag(this);
}
}
}
movieClip 355 {
}
movieClip 356 {
}
instance of movieClip 356 {
onClipEvent (load) {
por = 2;
_root.hint_cr(this, 'salt');
_root.drag_cr(this);
drag_result = function () {
if (_root.ing.hitTest(_root._xmouse, _root._ymouse, 1)) {
var v3 = false;
var v2 = 0;
while (v2 < _root.NUMREQ[_root.num_request].length) {
if (por == _root.NUMREQ[_root.num_request][v2]) {
v3 = true;
}
++v2;
}
if (v3 == true) {
moving = true;
x1 = 300;
y1 = 330;
} else {
_root.shtraf += 1;
_root.ba_uron();
_x = xx;
_y = yy;
}
} else {
_x = xx;
_y = yy;
}
};
}
onClipEvent (enterFrame) {
if (moving == true) {
var ax = (x1 - _x) / 10;
var ay = (y1 - _y) / 10;
_x = _x + ax;
_y = _y + ay;
if (mod(ax) < 2) {
if (mod(ay) < 2) {
_root.pro += 25;
_root.prog.gotoAndStop(_root.pro);
_root.ing.gotoAndPlay(_root.ing._currentframe + 1);
this.swapDepths(666);
this.removeMovieClip();
}
}
} else {
_root.hint(this);
_root.drag(this);
}
}
}
movieClip 359 {
}
instance of movieClip 359 {
onClipEvent (load) {
por = 1;
_root.hint_cr(this, 'rice');
_root.drag_cr(this);
drag_result = function () {
if (_root.ing.hitTest(_root._xmouse, _root._ymouse, 1)) {
var v3 = false;
var v2 = 0;
while (v2 < _root.NUMREQ[_root.num_request].length) {
if (por == _root.NUMREQ[_root.num_request][v2]) {
v3 = true;
}
++v2;
}
if (v3 == true) {
moving = true;
x1 = 300;
y1 = 330;
} else {
_root.shtraf += 1;
_root.ba_uron();
_x = xx;
_y = yy;
}
} else {
_x = xx;
_y = yy;
}
};
}
onClipEvent (enterFrame) {
if (moving == true) {
var ax = (x1 - _x) / 10;
var ay = (y1 - _y) / 10;
_x = _x + ax;
_y = _y + ay;
if (mod(ax) < 2) {
if (mod(ay) < 2) {
_root.pro += 25;
_root.prog.gotoAndStop(_root.pro);
_root.ing.gotoAndPlay(_root.ing._currentframe + 1);
this.swapDepths(666);
this.removeMovieClip();
}
}
} else {
_root.hint(this);
_root.drag(this);
}
}
}
movieClip 361 {
}
instance of movieClip 361 {
onClipEvent (load) {
por = 4;
_root.hint_cr(this, 'onions');
_root.drag_cr(this);
drag_result = function () {
if (_root.ing.hitTest(_root._xmouse, _root._ymouse, 1)) {
var v3 = false;
var v2 = 0;
while (v2 < _root.NUMREQ[_root.num_request].length) {
if (por == _root.NUMREQ[_root.num_request][v2]) {
v3 = true;
}
++v2;
}
if (v3 == true) {
moving = true;
x1 = 300;
y1 = 330;
} else {
_root.shtraf += 1;
_root.ba_uron();
_x = xx;
_y = yy;
}
} else {
_x = xx;
_y = yy;
}
};
}
onClipEvent (enterFrame) {
if (moving == true) {
var ax = (x1 - _x) / 10;
var ay = (y1 - _y) / 10;
_x = _x + ax;
_y = _y + ay;
if (mod(ax) < 2) {
if (mod(ay) < 2) {
_root.pro += 25;
_root.prog.gotoAndStop(_root.pro);
_root.ing.gotoAndPlay(_root.ing._currentframe + 1);
this.swapDepths(666);
this.removeMovieClip();
}
}
} else {
_root.hint(this);
_root.drag(this);
}
}
}
movieClip 363 {
}
instance of movieClip 363 {
onClipEvent (load) {
por = 5;
_root.hint_cr(this, 'two eggs');
_root.drag_cr(this);
drag_result = function () {
if (_root.ing.hitTest(_root._xmouse, _root._ymouse, 1)) {
var v3 = false;
var v2 = 0;
while (v2 < _root.NUMREQ[_root.num_request].length) {
if (por == _root.NUMREQ[_root.num_request][v2]) {
v3 = true;
}
++v2;
}
if (v3 == true) {
moving = true;
x1 = 300;
y1 = 330;
} else {
_root.shtraf += 1;
_root.ba_uron();
_x = xx;
_y = yy;
}
} else {
_x = xx;
_y = yy;
}
};
}
onClipEvent (enterFrame) {
if (moving == true) {
var ax = (x1 - _x) / 10;
var ay = (y1 - _y) / 10;
_x = _x + ax;
_y = _y + ay;
if (mod(ax) < 2) {
if (mod(ay) < 2) {
_root.pro += 25;
_root.prog.gotoAndStop(_root.pro);
_root.ing.gotoAndPlay(_root.ing._currentframe + 1);
this.swapDepths(666);
this.removeMovieClip();
}
}
} else {
_root.hint(this);
_root.drag(this);
}
}
}
movieClip 364 {
frame 1 {
stop();
}
}
instance kn2 of movieClip 364 {
onClipEvent (load) {
if (_root.sound_play != true) {
this.gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.sound_play == true) {
_root.sound_play = false;
this.gotoAndStop(2);
} else {
_root.sound_play = true;
this.gotoAndStop(1);
}
}
}
movieClip 365 {
}
instance kn1 of movieClip 365 {
onClipEvent (release) {
switch (_root.qual) {
case 0:
_root._quality = 'MEDIUM';
++_root.qual;
break;
case 1:
_root._quality = 'LOW';
++_root.qual;
break;
case 2:
_root._quality = 'HIGH';
_root.qual = 0;
}
}
}
movieClip 366 {
frame 1 {
stop();
}
}
instance kn3 of movieClip 366 {
onClipEvent (load) {
if (_root.backsound_play == false) {
this.gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.backsound_play == true) {
_root.backsound_play = false;
_root.mus.so.setVolume(0);
this.gotoAndStop(2);
} else {
_root.backsound_play = true;
_root.mus.so.setVolume(100);
this.gotoAndStop(1);
}
}
}
movieClip 370 {
}
frame 10 {
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
stop();
testo_progress = 0;
px = _xmouse;
py = _ymouse;
win = function () {
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
if (_root.timer.time < 12) {
var v2 = _root.timer.time / 12;
} else {
var v2 = 1;
}
_root.score += 100 * v2;
trace(_root.score);
onEnterFrame = function () {};
_root.nextFrame();
};
skalka = function () {
m_skalka._x = _xmouse;
m_skalka._y = _ymouse;
dx = mod(px - _xmouse);
dy = mod(py - _ymouse);
if (dx > 5 or dy > 5) {
var v1 = pdir(_xmouse, _ymouse, px, py);
m_skalka._rotation = v1 + 90;
}
px = _xmouse;
py = _ymouse;
};
testo = function () {
if (dx > 15 or dy > 15) {
if (testo_progress < 100) {
testo_progress += 0.5;
m_testo.gotoAndStop(Math.round(testo_progress * m_testo._totalframes / 100));
}
}
_root.prog.gotoAndStop(testo_progress);
};
onEnterFrame = function () {
skalka();
testo();
};
}
movieClip 373 {
frame 1 {
stop();
}
frame 200 {
_root.win();
stop();
}
}
movieClip 376 {
}
instance kn2 of movieClip 210 {
onClipEvent (load) {
if (_root.sound_play != true) {
this.gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.sound_play == true) {
_root.sound_play = false;
this.gotoAndStop(2);
} else {
_root.sound_play = true;
this.gotoAndStop(1);
}
}
}
instance kn1 of movieClip 212 {
onClipEvent (release) {
switch (_root.qual) {
case 0:
_root._quality = 'MEDIUM';
++_root.qual;
break;
case 1:
_root._quality = 'LOW';
++_root.qual;
break;
case 2:
_root._quality = 'HIGH';
_root.qual = 0;
}
}
}
instance kn3 of movieClip 214 {
onClipEvent (load) {
if (_root.backsound_play == false) {
this.gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.backsound_play == true) {
_root.backsound_play = false;
_root.mus.so.setVolume(0);
this.gotoAndStop(2);
} else {
_root.backsound_play = true;
_root.mus.so.setVolume(100);
this.gotoAndStop(1);
}
}
}
instance texttt of movieClip 286 {
onClipEvent (load) {
txt.gotoAndStop(6);
}
}
movieClip 378 {
}
instance timer of movieClip 378 {
onClipEvent (load) {
t = 0;
time = 35;
}
onClipEvent (enterFrame) {
if (time == 0) {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
_root.nextFrame();
}
++t;
if (time != 0) {
if (t > 24) {
--time;
t = 0;
}
}
}
}
frame 11 {
stop();
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
pro = 0;
pro_step = 12.55;
_root.win = function () {
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
onEnterFrame = function () {};
_root.nextFrame();
};
}
movieClip 380 {
}
movieClip 391 {
}
movieClip 392 {
}
movieClip 398 {
}
movieClip 399 {
frame 1 {
gotoAndPlay(21);
}
frame 2 {
ac = 1;
}
frame 9 {
ac = 2;
}
frame 13 {
ac = 3;
}
frame 21 {
ac = 1;
var rr = random(50);
if (rr > 5) {
gotoAndPlay(_currentframe - 1);
} else {
gotoAndPlay(2);
}
}
}
movieClip 401 {
}
movieClip 403 {
}
movieClip 405 {
}
movieClip 407 {
}
movieClip 409 {
}
movieClip 411 {
}
movieClip 414 {
}
movieClip 416 {
frame 1 {
gotoAndPlay(_currentframe + 1);
ac1 = function () {
onMouseDown = function () {
_root.pro += _root.pro_step;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (shkala.ac == 1 or shkala.ac == 3) {
++_root.shtraf;
}
if (_root.sound_play == true) {
_root.sfx.s1.start();
}
nextFrame();
};
};
ac2 = function () {
onMouseDown = function () {};
gotoAndPlay(_currentframe + 1);
};
}
frame 6 {
stop();
ac1();
}
frame 7 {
ac2();
}
frame 15 {
stop();
ac1();
}
frame 16 {
ac2();
}
frame 25 {
stop();
ac1();
}
frame 26 {
ac2();
}
frame 35 {
stop();
ac1();
}
frame 36 {
ac2();
}
frame 45 {
stop();
ac1();
}
frame 46 {
ac2();
}
frame 55 {
stop();
ac1();
}
frame 56 {
ac2();
}
frame 65 {
stop();
ac1();
}
frame 66 {
ac2();
}
frame 75 {
stop();
ac1();
}
frame 76 {
ac2();
}
frame 86 {
stop();
_root.win();
}
}
instance texttt of movieClip 286 {
onClipEvent (load) {
txt.gotoAndStop(7);
}
}
frame 12 {
stop();
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
pro = 0;
pro_step = 6.35;
win = function () {};
zat = false;
onEnterFrame = function () {
if (pro >= 100) {
if (zat == false) {
if (_root.timer.time < 12) {
var v2 = _root.timer.time / 12;
} else {
var v2 = 1;
}
_root.score += 100 * v2;
trace(_root.score);
zat = true;
_root.attachMovie('m_zat', 'm_zat', 3000);
}
}
};
}
movieClip 422 {
}
movieClip 425 {
frame 1 {
stop();
t = 0;
t_max = 0;
pa = 50;
zad = Math.round(Math.random() * 300);
onEnterFrame = function () {
if (zad > 0) {
--zad;
} else {
if (pa > 0) {
--pa;
}
++t;
if (t > t_max) {
t = 0;
gotoAndStop(_currentframe + 1);
t_max = Math.round(Math.random() * 2);
if (pa > 0) {
t_max = 4;
}
}
if (_currentframe > 95) {
gotoAndPlay(_currentframe + 1);
onEnterFrame = function () {};
}
}
};
}
frame 95 {
_parent.pora = true;
}
frame 100 {
stop();
_parent.t = 0;
}
}
movieClip 428 {
}
movieClip 429 {
frame 1 {
n = 2;
pora = false;
t = 0;
onEnterFrame = function () {
if (pora == true) {
++t;
}
if (t > 30) {
t = 0;
time_minus(1);
}
};
clix = function () {
if (_root.sound_play == true) {
_root.sfx.s1.start();
}
trace(pora);
if (pora == true) {
_root.pro += _root.pro_step;
_root.prog.gotoAndStop(Math.floor(_root.pro));
pora = false;
gotoAndPlay(_currentframe + 1);
} else {
time_minus(5);
}
};
time_minus = function (ur) {
if (_root.sound_play == true) {
_root.sfx.s10.start();
}
_root.attachMovie('l_osv_uron', 'l_osv_uron', 1000);
_root.timer.time -= ur;
if (_root.timer.time < 0) {
_root.timer.time = 0;
}
};
}
frame 20 {
stop();
sh.pa = pa;
}
instance of movieClip 422 {
onClipEvent (press) {
_parent.clix();
}
}
frame 31 {
sh.gotoAndStop(1);
}
frame 35 {
stop();
sh.pa = 0;
}
instance of movieClip 428 {
onClipEvent (press) {
_parent.clix();
}
}
frame 46 {
stop();
--n;
if (n > 0) {
gotoAndPlay(2);
}
}
}
instance of movieClip 429 {
onClipEvent (load) {
pa = 10;
}
}
instance of movieClip 429 {
onClipEvent (load) {
pa = 200;
}
}
movieClip 430 {
frame 1 {
n = 2;
pora = false;
t = 0;
onEnterFrame = function () {
if (pora == true) {
++t;
}
if (t > 30) {
t = 0;
time_minus(1);
}
};
clix = function () {
if (_root.sound_play == true) {
_root.sfx.s1.start();
}
trace(pora);
if (pora == true) {
_root.pro += _root.pro_step;
_root.prog.gotoAndStop(Math.floor(_root.pro));
pora = false;
gotoAndPlay(_currentframe + 1);
} else {
time_minus(5);
}
};
time_minus = function (ur) {
if (_root.sound_play == true) {
_root.sfx.s10.start();
}
_root.attachMovie('l_osv_uron', 'l_osv_uron', 1000);
_root.timer.time -= ur;
if (_root.timer.time < 0) {
_root.timer.time = 0;
}
};
}
frame 20 {
stop();
sh.pa = pa;
}
instance of movieClip 422 {
onClipEvent (press) {
_parent.clix();
}
}
frame 31 {
sh.gotoAndStop(1);
}
frame 35 {
stop();
sh.pa = 0;
}
instance of movieClip 428 {
onClipEvent (press) {
_parent.clix();
}
}
frame 46 {
stop();
--n;
if (n > 0) {
gotoAndPlay(2);
}
}
}
instance of movieClip 430 {
onClipEvent (load) {
pa = 100;
}
}
instance of movieClip 430 {
onClipEvent (load) {
pa = 300;
}
}
instance texttt of movieClip 286 {
onClipEvent (load) {
txt.gotoAndStop(8);
}
}
instance timer of movieClip 378 {
onClipEvent (load) {
t = 0;
time = 160;
}
onClipEvent (enterFrame) {
if (time == 0) {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
_root.nextFrame();
}
++t;
if (time != 0) {
if (t > 24) {
--time;
t = 0;
}
}
}
}
frame 13 {
stop();
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
pro = 0;
pro_step = 16.7;
}
movieClip 436 {
frame 11 {
stop();
}
instance of movieClip 249 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance of movieClip 249 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance of movieClip 249 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance of movieClip 249 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance of movieClip 249 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
instance of movieClip 249 {
onClipEvent (load) {
var mc = _parent.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
this.swapDepths(200);
}
}
frame 17 {
var mc = this.attachMovie('l_clear', 'l_clear', 200);
mc.removeMovieClip();
gotoAndPlay(_currentframe + 1);
}
frame 33 {
if (_root.timer.time < 12) {
var pr = _root.timer.time / 12;
} else {
var pr = 1;
}
_root.score += 100 * pr;
trace(_root.score);
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
_root.nextFrame();
}
}
instance m_noj of movieClip 255 {
onClipEvent (load) {
px = _root._xmouse;
py = _root._ymouse;
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
var dy = py - _root._ymouse;
_rotation = -50 + _y / 6;
px = _root._xmouse;
py = _root._ymouse;
}
}
instance texttt of movieClip 286 {
onClipEvent (load) {
txt.gotoAndStop(9);
}
}
instance timer of movieClip 288 {
onClipEvent (load) {
t = 0;
time = 30;
}
onClipEvent (enterFrame) {
if (time == 0) {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
_root.nextFrame();
}
++t;
if (time != 0) {
if (t > 24) {
--time;
t = 0;
}
}
}
}
frame 14 {
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
pro = 0;
pro_step = 0;
}
movieClip 439 {
}
movieClip 440 {
frame 1 {
stop();
}
}
movieClip 442 {
}
movieClip 443 {
frame 10 {
stop();
this.enabled = true;
onEnterFrame = function () {
pp.onPress = function () {
_root.pro += 1.85;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
pp._parent.nextFrame();
noj.gotoAndPlay(1);
};
};
}
frame 29 {
gotoAndPlay(_currentframe + 1);
pp.onPress = function () {};
}
frame 36 {
stop();
this.enabled = true;
onEnterFrame = function () {
pp.onPress = function () {
_root.pro += 1.85;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
pp._parent.nextFrame();
noj.gotoAndPlay(1);
};
};
}
frame 55 {
gotoAndPlay(_currentframe + 1);
pp.onPress = function () {};
}
frame 62 {
stop();
this.enabled = true;
onEnterFrame = function () {
pp.onPress = function () {
_root.pro += 1.85;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
pp._parent.nextFrame();
noj.gotoAndPlay(1);
};
};
}
frame 81 {
gotoAndPlay(_currentframe + 1);
}
frame 87 {
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
if (_root.timer.time < 12) {
var pr = _root.timer.time / 12;
} else {
var pr = 1;
}
_root.score += 100 * pr;
trace(_root.score);
_root.nextFrame();
}
}
instance texttt of movieClip 286 {
onClipEvent (load) {
txt.gotoAndStop(10);
}
}
instance timer of movieClip 288 {
onClipEvent (load) {
t = 0;
time = 40;
}
onClipEvent (enterFrame) {
if (time == 0) {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
_root.nextFrame();
}
++t;
if (time != 0) {
if (t > 24) {
--time;
t = 0;
}
}
}
}
frame 15 {
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
pro = 0;
pro_step = 0;
}
movieClip 446 {
}
movieClip 449 {
}
movieClip 450 {
frame 10 {
stop();
this.enabled = true;
onEnterFrame = function () {
pp.onPress = function () {
_root.pro += 1.85;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
pp._parent.nextFrame();
noj.gotoAndPlay(1);
};
};
}
frame 29 {
gotoAndPlay(_currentframe + 1);
pp.onPress = function () {};
}
frame 36 {
stop();
this.enabled = true;
onEnterFrame = function () {
pp.onPress = function () {
_root.pro += 1.85;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
pp._parent.nextFrame();
noj.gotoAndPlay(1);
};
};
}
frame 55 {
gotoAndPlay(_currentframe + 1);
pp.onPress = function () {};
}
frame 62 {
stop();
this.enabled = true;
onEnterFrame = function () {
pp.onPress = function () {
_root.pro += 1.85;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (_root.sound_play == true) {
_root.sfx.s2.start();
}
pp._parent.nextFrame();
noj.gotoAndPlay(1);
};
};
}
frame 81 {
gotoAndPlay(_currentframe + 1);
}
frame 87 {
if (_root.timer.time < 12) {
var pr = _root.timer.time / 12;
} else {
var pr = 1;
}
_root.score += 100 * pr;
trace(_root.score);
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
_root.nextFrame();
}
}
instance texttt of movieClip 286 {
onClipEvent (load) {
txt.gotoAndStop(11);
}
}
instance timer of movieClip 288 {
onClipEvent (load) {
t = 0;
time = 40;
}
onClipEvent (enterFrame) {
if (time == 0) {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
_root.nextFrame();
}
++t;
if (time != 0) {
if (t > 24) {
--time;
t = 0;
}
}
}
}
frame 16 {
var mc = _parent.attachMovie('l_clear', 'l_clear', 400);
mc.removeMovieClip();
onEnterFrame = function () {};
}
movieClip 452 {
}
instance of movieClip 452 {
onClipEvent (load) {
this.swapDepths(501);
}
}
frame 17 {
win = function () {
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
nextFrame();
};
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
shtraf = 0;
pro = 0;
_root.num_request = 0;
NUMREQ = [[0], [1], [2], [3], [4], [5], [6]];
next_text = function () {
++num_request;
};
}
frame 17 {
ba_zad = 10000;
blife_max = 4;
blife = blife_max;
ba_shka.gotoAndStop(1 + (blife / blife_max) * 100);
bex_d = 0;
_root.ba_uron = function () {
if (_root.sound_play == true) {
_root.sfx.s10.start();
}
_root.attachMovie('l_osv_uron', 'l_osv_uron', 1001);
blife -= 2;
if (blife <= 0) {
blife = 0;
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
_root.gotoAndStop(_currentframe - 1);
}
ba_shka.gotoAndStop(1 + Math.round((blife / blife_max) * 100));
};
_root.ba_plus = function () {
++blife;
if (blife > blife_max) {
blife = blife_max;
}
ba_shka.gotoAndStop(1 + Math.round((blife / blife_max) * 100));
};
}
movieClip 455 {
}
movieClip 460 {
frame 1 {
stop();
}
frame 9 {
stop();
_root.next_text();
}
frame 17 {
stop();
_root.next_text();
}
frame 24 {
stop();
_root.next_text();
}
frame 31 {
stop();
_root.next_text();
}
frame 39 {
stop();
_root.next_text();
}
frame 60 {
_root.win();
}
}
movieClip 463 {
}
instance of movieClip 463 {
onClipEvent (load) {
por = 1;
_root.hint_cr(this, 'chili');
_root.drag_cr(this);
drag_result = function () {
if (_root.ing.hitTest(_root._xmouse, _root._ymouse, 1)) {
var v3 = false;
var v2 = 0;
while (v2 < _root.NUMREQ[_root.num_request].length) {
if (por == _root.NUMREQ[_root.num_request][v2]) {
v3 = true;
}
++v2;
}
if (v3 == true) {
moving = true;
x1 = 300;
y1 = 330;
} else {
_root.shtraf += 1;
_root.ba_uron();
_x = xx;
_y = yy;
}
} else {
_x = xx;
_y = yy;
}
};
}
onClipEvent (enterFrame) {
if (moving == true) {
var ax = (x1 - _x) / 10;
var ay = (y1 - _y) / 10;
_x = _x + ax;
_y = _y + ay;
if (mod(ax) < 2) {
if (mod(ay) < 2) {
_root.pro += 25;
_root.prog.gotoAndStop(_root.pro);
_root.ing.gotoAndPlay(_root.ing._currentframe + 1);
this.swapDepths(666);
this.removeMovieClip();
}
}
} else {
_root.hint(this);
_root.drag(this);
}
}
}
movieClip 465 {
}
instance of movieClip 465 {
onClipEvent (load) {
por = 5;
_root.hint_cr(this, 'red pepper');
_root.drag_cr(this);
drag_result = function () {
if (_root.ing.hitTest(_root._xmouse, _root._ymouse, 1)) {
var v3 = false;
var v2 = 0;
while (v2 < _root.NUMREQ[_root.num_request].length) {
if (por == _root.NUMREQ[_root.num_request][v2]) {
v3 = true;
}
++v2;
}
if (v3 == true) {
moving = true;
x1 = 300;
y1 = 330;
} else {
_root.shtraf += 1;
_root.ba_uron();
_x = xx;
_y = yy;
}
} else {
_x = xx;
_y = yy;
}
};
}
onClipEvent (enterFrame) {
if (moving == true) {
var ax = (x1 - _x) / 10;
var ay = (y1 - _y) / 10;
_x = _x + ax;
_y = _y + ay;
if (mod(ax) < 2) {
if (mod(ay) < 2) {
_root.pro += 25;
_root.prog.gotoAndStop(_root.pro);
_root.ing.gotoAndPlay(_root.ing._currentframe + 1);
this.swapDepths(666);
this.removeMovieClip();
}
}
} else {
_root.hint(this);
_root.drag(this);
}
}
}
movieClip 468 {
}
instance of movieClip 468 {
onClipEvent (load) {
por = 0;
_root.hint_cr(this, 'mayo');
_root.drag_cr(this);
drag_result = function () {
if (_root.ing.hitTest(_root._xmouse, _root._ymouse, 1)) {
var v3 = false;
var v2 = 0;
while (v2 < _root.NUMREQ[_root.num_request].length) {
if (por == _root.NUMREQ[_root.num_request][v2]) {
v3 = true;
}
++v2;
}
if (v3 == true) {
moving = true;
x1 = 300;
y1 = 330;
} else {
_root.shtraf += 1;
_root.ba_uron();
_x = xx;
_y = yy;
}
} else {
_x = xx;
_y = yy;
}
};
}
onClipEvent (enterFrame) {
if (moving == true) {
var ax = (x1 - _x) / 10;
var ay = (y1 - _y) / 10;
_x = _x + ax;
_y = _y + ay;
if (mod(ax) < 2) {
if (mod(ay) < 2) {
_root.pro += 25;
_root.prog.gotoAndStop(_root.pro);
_root.ing.gotoAndPlay(_root.ing._currentframe + 1);
this.swapDepths(666);
this.removeMovieClip();
}
}
} else {
_root.hint(this);
_root.drag(this);
}
}
}
movieClip 470 {
}
instance of movieClip 470 {
onClipEvent (load) {
por = 2;
_root.hint_cr(this, 'verdure');
_root.drag_cr(this);
drag_result = function () {
if (_root.ing.hitTest(_root._xmouse, _root._ymouse, 1)) {
var v3 = false;
var v2 = 0;
while (v2 < _root.NUMREQ[_root.num_request].length) {
if (por == _root.NUMREQ[_root.num_request][v2]) {
v3 = true;
}
++v2;
}
if (v3 == true) {
moving = true;
x1 = 300;
y1 = 330;
} else {
_root.shtraf += 1;
_root.ba_uron();
_x = xx;
_y = yy;
}
} else {
_x = xx;
_y = yy;
}
};
}
onClipEvent (enterFrame) {
if (moving == true) {
var ax = (x1 - _x) / 10;
var ay = (y1 - _y) / 10;
_x = _x + ax;
_y = _y + ay;
if (mod(ax) < 2) {
if (mod(ay) < 2) {
_root.pro += 25;
_root.prog.gotoAndStop(_root.pro);
_root.ing.gotoAndPlay(_root.ing._currentframe + 1);
this.swapDepths(666);
this.removeMovieClip();
}
}
} else {
_root.hint(this);
_root.drag(this);
}
}
}
movieClip 473 {
}
instance of movieClip 473 {
onClipEvent (load) {
por = 4;
_root.hint_cr(this, 'sour cream');
_root.drag_cr(this);
drag_result = function () {
if (_root.ing.hitTest(_root._xmouse, _root._ymouse, 1)) {
var v3 = false;
var v2 = 0;
while (v2 < _root.NUMREQ[_root.num_request].length) {
if (por == _root.NUMREQ[_root.num_request][v2]) {
v3 = true;
}
++v2;
}
if (v3 == true) {
moving = true;
x1 = 300;
y1 = 330;
} else {
_root.shtraf += 1;
_root.ba_uron();
_x = xx;
_y = yy;
}
} else {
_x = xx;
_y = yy;
}
};
}
onClipEvent (enterFrame) {
if (moving == true) {
var ax = (x1 - _x) / 10;
var ay = (y1 - _y) / 10;
_x = _x + ax;
_y = _y + ay;
if (mod(ax) < 2) {
if (mod(ay) < 2) {
_root.pro += 25;
_root.prog.gotoAndStop(_root.pro);
_root.ing.gotoAndPlay(_root.ing._currentframe + 1);
this.swapDepths(666);
this.removeMovieClip();
}
}
} else {
_root.hint(this);
_root.drag(this);
}
}
}
instance of movieClip 361 {
onClipEvent (load) {
por = 3;
_root.hint_cr(this, 'onions');
_root.drag_cr(this);
drag_result = function () {
if (_root.ing.hitTest(_root._xmouse, _root._ymouse, 1)) {
var v3 = false;
var v2 = 0;
while (v2 < _root.NUMREQ[_root.num_request].length) {
if (por == _root.NUMREQ[_root.num_request][v2]) {
v3 = true;
}
++v2;
}
if (v3 == true) {
moving = true;
x1 = 300;
y1 = 330;
} else {
_root.shtraf += 1;
_root.ba_uron();
_x = xx;
_y = yy;
}
} else {
_x = xx;
_y = yy;
}
};
}
onClipEvent (enterFrame) {
if (moving == true) {
var ax = (x1 - _x) / 10;
var ay = (y1 - _y) / 10;
_x = _x + ax;
_y = _y + ay;
if (mod(ax) < 2) {
if (mod(ay) < 2) {
_root.pro += 25;
_root.prog.gotoAndStop(_root.pro);
_root.ing.gotoAndPlay(_root.ing._currentframe + 1);
this.swapDepths(666);
this.removeMovieClip();
}
}
} else {
_root.hint(this);
_root.drag(this);
}
}
}
instance kn2 of movieClip 364 {
onClipEvent (load) {
if (_root.sound_play != true) {
this.gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.sound_play == true) {
_root.sound_play = false;
this.gotoAndStop(2);
} else {
_root.sound_play = true;
this.gotoAndStop(1);
}
}
}
instance kn1 of movieClip 365 {
onClipEvent (release) {
switch (_root.qual) {
case 0:
_root._quality = 'MEDIUM';
++_root.qual;
break;
case 1:
_root._quality = 'LOW';
++_root.qual;
break;
case 2:
_root._quality = 'HIGH';
_root.qual = 0;
}
}
}
instance kn3 of movieClip 366 {
onClipEvent (load) {
if (_root.backsound_play == false) {
this.gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.backsound_play == true) {
_root.backsound_play = false;
_root.mus.so.setVolume(0);
this.gotoAndStop(2);
} else {
_root.backsound_play = true;
_root.mus.so.setVolume(100);
this.gotoAndStop(1);
}
}
}
frame 18 {
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
stop();
testo_progress = 0;
px = _xmouse;
py = _ymouse;
win = function () {
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
if (_root.timer.time < 12) {
var v2 = _root.timer.time / 12;
} else {
var v2 = 1;
}
_root.score += 100 * v2;
trace(_root.score);
onEnterFrame = function () {};
_root.nextFrame();
};
skalka = function () {
m_skalka._x = _xmouse;
m_skalka._y = _ymouse;
dx = mod(px - _xmouse);
dy = mod(py - _ymouse);
if (dx > 5 or dy > 5) {
var v1 = pdir(_xmouse, _ymouse, px, py);
m_skalka._rotation = v1 + 90;
}
px = _xmouse;
py = _ymouse;
};
testo = function () {
if (dx > 15 or dy > 15) {
if (m_testo.hitTest(_xmouse, _ymouse, 1)) {
if (testo_progress < 100) {
testo_progress += 0.5;
m_testo.gotoAndStop(Math.round(testo_progress * m_testo._totalframes / 100));
}
}
}
_root.prog.gotoAndStop(testo_progress);
};
onEnterFrame = function () {
skalka();
testo();
};
}
movieClip 480 {
}
movieClip 481 {
frame 1 {
stop();
}
frame 200 {
_root.win();
stop();
}
}
movieClip 484 {
}
instance kn2 of movieClip 210 {
onClipEvent (load) {
if (_root.sound_play != true) {
this.gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.sound_play == true) {
_root.sound_play = false;
this.gotoAndStop(2);
} else {
_root.sound_play = true;
this.gotoAndStop(1);
}
}
}
instance kn1 of movieClip 212 {
onClipEvent (release) {
switch (_root.qual) {
case 0:
_root._quality = 'MEDIUM';
++_root.qual;
break;
case 1:
_root._quality = 'LOW';
++_root.qual;
break;
case 2:
_root._quality = 'HIGH';
_root.qual = 0;
}
}
}
instance kn3 of movieClip 214 {
onClipEvent (load) {
if (_root.backsound_play == false) {
this.gotoAndStop(2);
}
}
onClipEvent (release) {
if (_root.backsound_play == true) {
_root.backsound_play = false;
_root.mus.so.setVolume(0);
this.gotoAndStop(2);
} else {
_root.backsound_play = true;
_root.mus.so.setVolume(100);
this.gotoAndStop(1);
}
}
}
instance texttt of movieClip 286 {
onClipEvent (load) {
txt.gotoAndStop(12);
}
}
instance timer of movieClip 288 {
onClipEvent (load) {
t = 0;
time = 30;
}
onClipEvent (enterFrame) {
if (time == 0) {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
_root.nextFrame();
}
++t;
if (time != 0) {
if (t > 24) {
--time;
t = 0;
}
}
}
}
frame 19 {
stop();
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
pro = 0;
pro_step = 12.5;
zat = false;
win = function () {
if (_root.timer.time < 12) {
var v2 = _root.timer.time / 12;
} else {
var v2 = 1;
}
_root.score += 100 * v2;
trace(_root.score);
if (zat == false) {
zat = true;
_root.attachMovie('m_zat', 'm_zat', 3000);
}
};
}
movieClip 492 {
frame 1 {
now = 0;
need = 8;
}
frame 11 {
stop();
}
instance of movieClip 249 {
onClipEvent (load) {
this.swapDepths(200);
}
}
frame 12 {
gotoAndPlay(_currentframe + 1);
}
frame 35 {
stop();
++now;
if (now >= need) {
_root.win();
} else {
gotoAndPlay(2);
}
}
}
instance m_noj of movieClip 255 {
onClipEvent (load) {
px = _root._xmouse;
py = _root._ymouse;
}
onClipEvent (enterFrame) {
_x = _root._xmouse;
_y = _root._ymouse;
var dy = py - _root._ymouse;
_rotation = -50 + _y / 6;
px = _root._xmouse;
py = _root._ymouse;
}
}
instance texttt of movieClip 286 {
onClipEvent (load) {
txt.gotoAndStop(13);
}
}
instance timer of movieClip 288 {
onClipEvent (load) {
t = 0;
time = 60;
}
onClipEvent (enterFrame) {
if (time == 0) {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
_root.nextFrame();
}
++t;
if (time != 0) {
if (t > 24) {
--time;
t = 0;
}
}
}
}
frame 20 {
_root.prog.gotoAndStop(1);
_root.attachMovie('m_osv', 'm_osv', 3000);
pro = 0;
pro_step = 0;
pro_step2 = 2.09;
shtraf = 0;
win = function () {
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
var v2 = 1 - shtraf / 10;
if (v2 < 0) {
v2 = 0;
}
_root.score += 100 * v2;
trace(_root.score);
nextFrame();
};
}
movieClip 493 {
}
movieClip 496 {
frame 1 {
stop();
}
}
movieClip 497 {
}
movieClip 498 {
frame 1 {
stop();
}
}
movieClip 501 {
}
movieClip 504 {
frame 1 {
stop();
}
}
movieClip 506 {
}
movieClip 507 {
frame 1 {
stop();
}
}
movieClip 510 {
}
movieClip 511 {
frame 1 {
stop();
}
}
movieClip 512 {
}
movieClip 513 {
}
movieClip 514 {
frame 1 {
stop();
}
}
movieClip 515 {
frame 1 {
now = 0;
need = 8;
}
frame 11 {
stop();
onMouseDown = function () {
_root.pro += _root.pro_step2;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (shkala.ac == 1 or shkala.ac == 3) {
++_root.shtraf;
}
if (shkala.ac == 1) {
may3.gotoAndStop(1);
}
if (shkala.ac == 2) {
may3.gotoAndStop(2);
}
if (shkala.ac == 3) {
may3.gotoAndStop(3);
}
if (_root.sound_play == true) {
_root.sfx.s1.start();
}
nextFrame();
};
}
frame 12 {
onMouseDown = function () {};
gotoAndPlay(_currentframe + 1);
}
frame 23 {
stop();
onMouseDown = function () {
_root.pro += _root.pro_step2;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (shkala.ac == 1 or shkala.ac == 3) {
++_root.shtraf;
}
if (shkala.ac == 1) {
may.gotoAndStop(1);
}
if (shkala.ac == 2) {
may.gotoAndStop(2);
}
if (shkala.ac == 3) {
may.gotoAndStop(3);
}
if (_root.sound_play == true) {
_root.sfx.s1.start();
}
nextFrame();
};
}
frame 24 {
onMouseDown = function () {};
gotoAndPlay(_currentframe + 1);
}
frame 34 {
stop();
onMouseDown = function () {
_root.pro += _root.pro_step2;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (shkala.ac == 1 or shkala.ac == 3) {
++_root.shtraf;
}
if (shkala.ac == 1) {
may2.gotoAndStop(1);
}
if (shkala.ac == 2) {
may2.gotoAndStop(2);
}
if (shkala.ac == 3) {
may2.gotoAndStop(3);
}
if (_root.sound_play == true) {
_root.sfx.s1.start();
}
nextFrame();
};
}
frame 35 {
onMouseDown = function () {};
gotoAndPlay(_currentframe + 1);
}
frame 46 {
stop();
onMouseDown = function () {
_root.pro += _root.pro_step2;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (shkala.ac == 1 or shkala.ac == 3) {
++_root.shtraf;
}
if (shkala.ac == 1) {
may4.gotoAndStop(1);
}
if (shkala.ac == 2) {
may4.gotoAndStop(2);
}
if (shkala.ac == 3) {
may4.gotoAndStop(3);
}
if (_root.sound_play == true) {
_root.sfx.s1.start();
}
nextFrame();
};
}
frame 47 {
onMouseDown = function () {};
gotoAndPlay(_currentframe + 1);
}
frame 58 {
stop();
onMouseDown = function () {
_root.pro += _root.pro_step2;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (shkala.ac == 1 or shkala.ac == 3) {
++_root.shtraf;
}
if (shkala.ac == 1) {
may5.gotoAndStop(1);
}
if (shkala.ac == 2) {
may5.gotoAndStop(2);
}
if (shkala.ac == 3) {
may5.gotoAndStop(3);
}
if (_root.sound_play == true) {
_root.sfx.s1.start();
}
nextFrame();
};
}
frame 59 {
onMouseDown = function () {};
gotoAndPlay(_currentframe + 1);
}
frame 70 {
stop();
onMouseDown = function () {
_root.pro += _root.pro_step2;
_root.prog.gotoAndStop(Math.floor(_root.pro));
if (shkala.ac == 1 or shkala.ac == 3) {
++_root.shtraf;
}
if (shkala.ac == 1) {
may6.gotoAndStop(1);
}
if (shkala.ac == 2) {
may6.gotoAndStop(2);
}
if (shkala.ac == 3) {
may6.gotoAndStop(3);
}
if (_root.sound_play == true) {
_root.sfx.s1.start();
}
nextFrame();
};
}
frame 71 {
onMouseDown = function () {};
gotoAndPlay(_currentframe + 1);
}
frame 87 {
stop();
++now;
if (now >= need) {
_root.win();
} else {
gotoAndPlay(2);
}
}
}
instance texttt of movieClip 286 {
onClipEvent (load) {
txt.gotoAndStop(14);
}
}
frame 21 {
_root.attachMovie('m_osv', 'm_osv', 3000);
stop();
trace('theend');
_root.game_result = int(_root.score / 11);
if (game_result > 100) {
game_result = 100;
}
if (game_result < 0) {
game_result = 0;
}
trace(_root.game_result);
h = 0;
var mc = _root.m_krepej.attachMovie('m_RES', 'RES' + h, h);
mc._x = 0;
mc._y = 20;
mc.t = 180 + h * 10 + 20;
var txr = 'NOT BAD!';
if (game_result > 40) {
txr = 'GOOD!';
}
if (game_result > 50) {
txr = 'VERY TASTY!';
}
if (game_result > 60) {
txr = 'GREAT!';
}
if (game_result > 70) {
txr = 'DELICIOUS!';
}
if (game_result > 80) {
txr = 'COOL!';
}
if (game_result > 90) {
txr = 'AWESOME!';
}
mc.txt.text = txr;
++h;
var mc = _root.m_krepej.attachMovie('m_hint2', 'hint2' + h, h);
mc._x = 0;
mc._y = 60;
mc.t = 180 + h * 10 + 20;
mc.txt.text = 'your score: ' + game_result + ' / 100';
wt = true;
time = 0;
onEnterFrame = function () {
++time;
if (wt == true) {
if (time > 350) {
_root.attachMovie('m_zat', 'm_zat', 3000);
wt = false;
}
}
};
}
movieClip 520 {
frame 1 {
stop();
}
}
movieClip 523 {
}
movieClip 531 {
}
movieClip 532 {
frame 1 {
ps = 1;
}
frame 40 {
if (ps > 0) {
--ps;
gotoAndPlay(2);
} else {
gotoAndPlay('play');
}
}
instance of movieClip 520 {
onClipEvent (load) {
gotoAndStop(2);
}
}
frame 66 {
if (_root.sound_play == true) {
_root.sfx.s3.start();
}
}
instance of movieClip 520 {
onClipEvent (load) {
gotoAndStop(3);
}
}
frame 79 {
ps = 1;
}
frame 141 {
if (ps > 0) {
--ps;
gotoAndPlay('cl');
} else {
if (_root.game_result > 40) {
gotoAndPlay('WIN');
} else {
gotoAndPlay('faild');
}
}
}
frame 143 {
if (_root.sound_play == true) {
_root.sfx.s7.start();
}
}
frame 168 {
gotoAndPlay('fl');
}
frame 170 {
if (_root.sound_play == true) {
_root.sfx.s6.start();
}
}
frame 198 {
gotoAndPlay('wl');
}
}
instance texttt of movieClip 286 {
onClipEvent (load) {
txt.gotoAndStop(15);
}
}
movieClip 534 {
}
instance texttt of movieClip 286 {
onClipEvent (load) {
txt.gotoAndStop(16);
}
}
button 538 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
_root.m_krepej.removeMovieClip();
_root.m1.removeMovieClip();
_root.b_more.removeMovieClip();
_root.b_play.removeMovieClip();
_root.gotoAndStop('mainmenu');
}
}
button 539 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
Playtomic.Log.CustomMetric('InGameMOREGAMES', 'Links');
Playtomic.Log.ForceSend();
getURL(_root.linkURL, '_blank');
}
}
button 541 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
Playtomic.Log.CustomMetric('InGameMOREGAMES', 'Links');
Playtomic.Log.ForceSend();
getURL('http://www.playpink.com/category/cooking-games/1/top-rated.html', '_blank');
}
}
button 543 {
on (release) {
if (_root.sound_play == true) {
var s16 = new Sound(this);
s16.attachSound('so_click');
this.s16.start();
}
_root.m_krepej.removeMovieClip();
_root.m1.removeMovieClip();
_root.b_more.removeMovieClip();
_root.b_play.removeMovieClip();
_root.gotoAndStop('mainmenu');
}
}