Combined Code
frame 1 {
function sponsorLink(linkname) {
Playtomic.Link.Open('http://www.notdoppler.com/', linkname + 'ND', 'NotDoppler');
}
function apLink(linkname) {
Playtomic.Link.Open('http://www.arcadepanic.com/', linkname + 'AP', 'ArcadePanic');
}
function otherLink(link, linkname) {
Playtomic.Link.Open(link, linkname, 'NotDoppler');
}
function updatemousetotal() {
_root.mousetotal = _root.mouse_orange[1];
_root.mousetotal += _root.mouse_orange[2];
_root.mousetotal += _root.mouse_orange[3];
_root.mousetotal += _root.mouse_orange[4];
_root.mousetotal += _root.mouse_orange[5];
_root.mousetotal += _root.mouse_orange[6];
_root.mousetotal += _root.mouse_orange[7];
_root.mousetotal += _root.mouse_orange[8];
updatesharedobject();
}
function updatekeybtotal() {
_root.keybtotal = _root.keyb_orange[1];
_root.keybtotal += _root.keyb_orange[2];
_root.keybtotal += _root.keyb_orange[3];
_root.keybtotal += _root.keyb_orange[4];
_root.keybtotal += _root.keyb_orange[5];
_root.keybtotal += _root.keyb_orange[6];
_root.keybtotal += _root.keyb_orange[7];
_root.keybtotal += _root.keyb_orange[8];
updatesharedobject();
}
function updatesharedobject() {
myLocalSO.data.achievements = _root.achievements.join('|');
myLocalSO.data.deaths = _root.deaths;
myLocalSO.data.grapefruits = _root.grapefruits;
myLocalSO.data.keyb_orange_1 = _root.keyb_orange[1];
myLocalSO.data.keyb_orange_2 = _root.keyb_orange[2];
myLocalSO.data.keyb_orange_3 = _root.keyb_orange[3];
myLocalSO.data.keyb_orange_4 = _root.keyb_orange[4];
myLocalSO.data.keyb_orange_5 = _root.keyb_orange[5];
myLocalSO.data.keyb_orange_6 = _root.keyb_orange[6];
myLocalSO.data.keyb_orange_7 = _root.keyb_orange[7];
myLocalSO.data.keyb_orange_8 = _root.keyb_orange[8];
myLocalSO.data.mouse_orange_1 = _root.mouse_orange[1];
myLocalSO.data.mouse_orange_2 = _root.mouse_orange[2];
myLocalSO.data.mouse_orange_3 = _root.mouse_orange[3];
myLocalSO.data.mouse_orange_4 = _root.mouse_orange[4];
myLocalSO.data.mouse_orange_5 = _root.mouse_orange[5];
myLocalSO.data.mouse_orange_6 = _root.mouse_orange[6];
myLocalSO.data.mouse_orange_7 = _root.mouse_orange[7];
myLocalSO.data.mouse_orange_8 = _root.mouse_orange[8];
myLocalSO.flush();
trace('FlashCookieSaved');
}
function gotoAP() {
_root.apLink('ContextMenu');
}
function gotAchievement(gotNum) {
if (_root.achievements[gotNum - 1]) {
trace('Already got ' + gotNum);
} else {
_root.achievements[gotNum - 1] = true;
updatemousetotal();
updatekeybtotal();
Playtomic.Log.CustomMetric(getAchDesc(gotNum), 'Achievments', true);
if (_root.achPopup._currentframe != 1) {
trace('Got (&queuing) ' + gotNum);
_root.waitingAchievements.push(gotNum);
} else {
trace('Got (&showing) ' + gotNum);
_root.achPopup.inside.descText.text = getAchDesc(gotNum);
_root.achPopup.inside.medal.gotoAndStop(gotNum);
_root.achPopup.gotoAndPlay(2);
}
}
}
function playNextAch() {
if (_root.waitingAchievements.length != 0) {
trace('Showing next achievement');
nextAch = _root.waitingAchievements.shift();
_root.achPopup.inside.descText.text = getAchDesc(nextAch);
_root.achPopup.inside.medal.gotoAndStop(nextAch);
_root.achPopup.gotoAndPlay(2);
}
}
function getAchDesc(achNum) {
switch (achNum) {
case 1:
return 'All Gold';
break;
case 2:
return 'All Silver';
break;
case 3:
return 'All Bronze';
break;
case 4:
return 'Cups o\' Juice';
break;
case 5:
return 'Bottles o\' Juice';
break;
case 6:
return 'Barrels o\' Juice';
break;
case 7:
return 'In a Hurry';
break;
case 8:
return 'Accident Prone';
break;
case 9:
return 'Disaster Zone';
break;
case 10:
return 'Juicy Graduate';
break;
case 11:
return 'Grapefruit Fan';
break;
case 12:
return 'Grapefruit Obsessive';
break;
default:
return '';
}
}
stop();
Playtomic.Log.View(1788, '31273810a608434a', _root._url);
_root.linelength = 110;
_root.control = 1;
_root.deaths = 0;
_root.grapefruits = 0;
_root.tutLevelsComplete = 0;
_root.introplayed = false;
var keyb_orange = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
var mouse_orange = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
var achievements = new Array(false, false, false, false, false, false, false, false, false, false, false, false);
var leveljuices = new Array(200, 200, 200, 200, 200, 200, 200, 160, 130, 190, 190, 180, 190, 180, 250);
myLocalSO = SharedObject.getLocal('aplggfdata');
if (myLocalSO.data.keyb_orange_1 == null) {
trace('FlashCookieNotFound');
_root.keyb_orange[1] = 0;
_root.keyb_orange[2] = 0;
_root.keyb_orange[3] = 0;
_root.keyb_orange[4] = 0;
_root.keyb_orange[5] = 0;
_root.keyb_orange[6] = 0;
_root.keyb_orange[7] = 0;
_root.keyb_orange[8] = 0;
_root.mouse_orange[1] = 0;
_root.mouse_orange[2] = 0;
_root.mouse_orange[3] = 0;
_root.mouse_orange[4] = 0;
_root.mouse_orange[5] = 0;
_root.mouse_orange[6] = 0;
_root.mouse_orange[7] = 0;
_root.mouse_orange[8] = 0;
} else {
trace('FlashCookieLoaded');
_root.achievements = myLocalSO.data.achievements.split('|');
_root.deaths = myLocalSO.data.deaths;
_root.grapefruits = myLocalSO.data.grapefruits;
_root.keyb_orange[1] = myLocalSO.data.keyb_orange_1;
_root.keyb_orange[2] = myLocalSO.data.keyb_orange_2;
_root.keyb_orange[3] = myLocalSO.data.keyb_orange_3;
_root.keyb_orange[4] = myLocalSO.data.keyb_orange_4;
_root.keyb_orange[5] = myLocalSO.data.keyb_orange_5;
_root.keyb_orange[6] = myLocalSO.data.keyb_orange_6;
_root.keyb_orange[7] = myLocalSO.data.keyb_orange_7;
_root.keyb_orange[8] = myLocalSO.data.keyb_orange_8;
_root.mouse_orange[1] = myLocalSO.data.mouse_orange_1;
_root.mouse_orange[2] = myLocalSO.data.mouse_orange_2;
_root.mouse_orange[3] = myLocalSO.data.mouse_orange_3;
_root.mouse_orange[4] = myLocalSO.data.mouse_orange_4;
_root.mouse_orange[5] = myLocalSO.data.mouse_orange_5;
_root.mouse_orange[6] = myLocalSO.data.mouse_orange_6;
_root.mouse_orange[7] = myLocalSO.data.mouse_orange_7;
_root.mouse_orange[8] = myLocalSO.data.mouse_orange_8;
var i = 0;
while (i < _root.achievements.length) {
_root.achievements[i] = _root.achievements[i] == 'true';
++i;
}
trace('Ach: ' + _root.achievements);
trace('Juice: ' + _root.mouse_orange);
trace('Deaths: ' + _root.deaths + ' Collected: ' + _root.grapefruits);
}
updatemousetotal();
updatekeybtotal();
if (_root.keybtotal / 4 != _root.mousetotal) {
trace('FlashCookieInvalid');
_root.deaths = 0;
_root.grapefruits = 0;
_root.keyb_orange = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
_root.mouse_orange = new Array(0, 0, 0, 0, 0, 0, 0, 0, 0);
_root.achievements = new Array(false, false, false, false, false, false, false, false, false, false, false, false);
updatemousetotal();
updatekeybtotal();
}
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
var copyrightNotice = new ContextMenuItem('© 2010 ArcadePanic', gotoAP);
var mySiteLink = new ContextMenuItem('Play more games by us', gotoAP);
myMenu.customItems.push(mySiteLink, copyrightNotice);
_root.menu = myMenu;
_root.waitingAchievements = new Array();
}
// unknown tag 88 length 115
// unknown tag 88 length 110
movieClip 7 {
}
movieClip 9 {
}
movieClip 10 {
}
movieClip 17 {
}
instance loader of movieClip 17 {
onClipEvent (load) {
total = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
loaded = _root.getBytesLoaded();
loadval = Math.floor((loaded / total) * 100);
gotoAndStop(loadval);
if (loadval == 100) {
_root.playbtn._visible = true;
}
}
}
button 23 {
on (press) {
_root.play();
}
}
movieClip 24 {
}
instance playbtn of movieClip 24 {
onClipEvent (load) {
_visible = false;
}
}
movieClip 461 __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 462 __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 && System.security.sandboxType != 'localWithNetwork' && System.security.sandboxType != 'localTrusted') {
Playtomic.Log.Enabled = false;
return undefined;
}
Playtomic.Log.SourceUrl = Playtomic.Log.GetUrl(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 + 1), true);
_global.setTimeout(Playtomic.Log.PingServer, 60000);
};
v1.ForceSend = function () {
Playtomic.Log.Request.Send();
Playtomic.Log.Request = new Playtomic.LogRequest();
};
v1.IncreaseViews = function () {
var v1 = Playtomic.Log.GetCookie('views');
++v1;
Playtomic.Log.SaveCookie('views', v1);
};
v1.IncreasePlays = function () {
++Playtomic.Log.Plays;
};
v1.Play = function () {
if (!Playtomic.Log.Enabled) {
return undefined;
}
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.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) {
var v1 = SharedObject.getLocal('swfstats');
v1.data[n] = v.toString();
v1.flush();
};
v1.Clean = function (s) {
while (s.indexOf('/') > -1) {
s = s.replace('/', '\\');
}
while (s.indexOf('~') > -1) {
s = s.replace('~', '-');
}
return escape(s);
};
v1.Replace = function (str, find, replace) {
return (str.split(find)).join(replace);
};
v1.GetUrl = function (defaulturl) {
return defaulturl;
};
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
}
movieClip 463 __Packages.Playtomic.Link {
#initclip
if (!_global.Playtomic) {
_global.Playtomic = new Object();
}
if (!_global.Playtomic.Link) {
var v1 = function () {};
Playtomic.Link = v1;
var v2 = v1.prototype;
v1.Open = function (url, name, group) {
var v9 = 0;
var v5 = 0;
var v3 = 0;
var v4 = 0;
var v8 = 0;
var v11 = 0;
var v6 = url + '.' + name;
var v7;
var v1 = url;
v1 = Playtomic.Link.Replace(v1, 'http://', '');
if (v1.indexOf('/') > -1) {
v1 = v1.substring(0, v1.indexOf('/'));
}
if (v1.indexOf('?') > -1) {
v1 = v1.substring(0, v1.indexOf('?'));
}
v1 = 'http://' + v1 + '/';
var v2 = v1;
if (v2.indexOf('//') > -1) {
v2 = v2.substring(v2.indexOf('//') + 2);
}
v2 = Playtomic.Link.Replace(v2, 'www.', '');
if (v2.indexOf('/') > -1) {
v2 = v2.substring(0, v2.indexOf('/'));
}
try {
getURL(url, '_blank');
if (Playtomic.Link.Clicks.indexOf(v6) > -1) {
v3 = 1;
} else {
v3 = 1;
v9 = 1;
Playtomic.Link.Clicks.push(v6);
}
if (Playtomic.Link.Clicks.indexOf(v2) > -1) {
v4 = 1;
} else {
v4 = 1;
v5 = 1;
Playtomic.Link.Clicks.push(v2);
}
v7 = true;
}
catch (err) {
v8 = 1;
v11 = 1;
v7 = false;
}
Playtomic.Log.Link(v1, v2.toLowerCase(), 'DomainTotals', v5, v4, v11);
Playtomic.Log.Link(url, name, group, v9, v3, v8);
Playtomic.Log.ForceSend();
return v7;
};
v1.Replace = function (str, find, replace) {
return (str.split(find)).join(replace);
};
v1.Clicks = new Array();
ASSetPropFlags(Playtomic.Link.prototype, null, 1);
}
#endinitclip
}
frame 2 {
stop();
if (_root.checkx == null) {
var bgmusicmc = this.createEmptyMovieClip('bgmusicmc', this.getNextHighestDepth());
var snd_bgmusics = new Sound(bgmusicmc);
snd_bgmusics.attachSound('bgmusic');
snd_bgmusics.setVolume(50);
var applausemc = this.createEmptyMovieClip('applausemc', this.getNextHighestDepth());
var sfx_applause = new Sound(applausemc);
sfx_applause.attachSound('applause');
var sfx_awwmc = this.createEmptyMovieClip('sfx_awwmc', this.getNextHighestDepth());
var sfx_aww = new Sound(sfx_awwmc);
sfx_aww.attachSound('aww');
_root.sounds = true;
}
}
movieClip 31 {
frame 6 {
stop();
}
}
button 32 {
on (release) {
_root.sponsorLink('SplashScreen');
}
}
// unknown tag 88 length 68
movieClip 46 {
}
movieClip 52 {
frame 1 {
_root.menusystem.stop();
}
frame 165 {
stop();
_root.menusystem.gotoAndStop(67);
}
}
button 59 {
on (release) {
if (_root.scrolltarget < 0) {
_root.scrolltarget += 300;
}
}
on (keyPress '<Left>') {
if (_root.scrolltarget < 0) {
_root.scrolltarget += 300;
}
}
}
button 61 {
on (release) {
if (_root.scrolltarget > -4500) {
_root.scrolltarget -= 300;
}
}
on (keyPress '<Right>') {
if (_root.scrolltarget > -4500) {
_root.scrolltarget -= 300;
}
}
}
button 62 {
on (release) {
if (_root.curlevel == 15) {
_root.otherLink('http://www.notdoppler.com/linegame-orangeedition.php', 'PlayOrange');
} else {
if (_root.curlevel == 16) {
_root.otherLink('http://www.notdoppler.com/linegame-limeedition.php', 'PlayLime');
} else {
_root.gotoAndStop(3);
}
}
}
on (keyPress '<Space>') {
if (_root.curlevel == 15) {
_root.otherLink('http://www.notdoppler.com/linegame-orangeedition.php', 'PlayOrange');
} else {
if (_root.curlevel == 16) {
_root.otherLink('http://www.notdoppler.com/linegame-limeedition.php', 'PlayLime');
} else {
_root.gotoAndStop(3);
}
}
}
on (keyPress '<Enter>') {
if (_root.curlevel == 15) {
_root.otherLink('http://www.notdoppler.com/linegame-orangeedition.php', 'PlayOrange');
} else {
if (_root.curlevel == 16) {
_root.otherLink('http://www.notdoppler.com/linegame-limeedition.php', 'PlayLime');
} else {
_root.gotoAndStop(3);
}
}
}
}
// unknown tag 88 length 115
button 68 {
on (release) {
_root.control = 1;
gotoAndStop(2);
}
}
button 72 {
on (release) {
_root.control = 0;
gotoAndStop(1);
}
}
movieClip 73 {
}
button 77 {
on (release) {
_root.sounds = false;
_root.snd_bgmusics.stop();
gotoAndStop(2);
}
}
button 81 {
on (release) {
_root.sounds = true;
_root.snd_bgmusics.start(0, 50);
gotoAndStop(1);
}
}
movieClip 82 {
frame 1 {
stop();
}
}
movieClip 85 {
}
movieClip 89 {
}
movieClip 101 {
}
button 103 {
on (release) {
_parent.play();
}
}
movieClip 105 {
}
movieClip 107 {
frame 1 {
stop();
}
instance of movieClip 105 {
onClipEvent (load) {
num = 0;
starty = _rotation;
}
onClipEvent (enterFrame) {
num -= 0.03;
_rotation = starty + Math.sin(num) * 25;
}
}
instance of movieClip 105 {
onClipEvent (load) {
num = 0;
starty = _rotation;
}
onClipEvent (enterFrame) {
num -= 0.03;
_rotation = starty + Math.sin(num) * 25;
}
}
}
movieClip 108 {
}
movieClip 110 {
}
movieClip 112 {
}
movieClip 116 {
}
movieClip 117 movingplatform {
}
movieClip 118 {
}
movieClip 119 {
}
movieClip 121 {
}
movieClip 127 {
}
movieClip 128 {
}
movieClip 146 {
frame 1 {
stop();
if (_root.mouse_orange[_parent.lvlnum] == 0) {
gotoAndStop(4);
} else {
if (_root.mouse_orange[_parent.lvlnum] < 150) {
gotoAndStop(1);
} else {
if (_root.mouse_orange[_parent.lvlnum] < 200) {
gotoAndStop(2);
} else {
gotoAndStop(3);
}
}
}
}
}
movieClip 148 {
}
movieClip 149 {
}
movieClip 153 {
}
movieClip 154 {
instance of movieClip 153 {
onClipEvent (load) {
num = 2;
startx = _x;
}
onClipEvent (enterFrame) {
num += 0.0425;
_x = startx + Math.sin(num) * 750;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 2;
startx = _x;
}
onClipEvent (enterFrame) {
num += 0.03;
_x = startx + Math.sin(num) * 750;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 2;
startx = _x;
}
onClipEvent (enterFrame) {
num += 0.02;
_x = startx + Math.sin(num) * 750;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 5;
startx = _x;
}
onClipEvent (enterFrame) {
num += 0.0425;
_x = startx + Math.sin(num) * 750;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 5;
startx = _x;
}
onClipEvent (enterFrame) {
num += 0.03;
_x = startx + Math.sin(num) * 750;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 5;
startx = _x;
}
onClipEvent (enterFrame) {
num += 0.02;
_x = startx + Math.sin(num) * 750;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 5;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_y = starty + Math.sin(num) * 200;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 5;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_y = starty + Math.sin(num) * 200;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 5;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_y = starty + Math.sin(num) * 200;
}
}
}
movieClip 155 {
}
movieClip 157 {
frame 1 {
}
instance of movieClip 153 {
onClipEvent (load) {
num = 0;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_y = starty + Math.sin(num) * 100;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 0.5;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_y = starty + Math.sin(num) * 100;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 1;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_y = starty + Math.sin(num) * 100;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 1.5;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_y = starty + Math.sin(num) * 100;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 2;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_y = starty + Math.sin(num) * 100;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 2.5;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_y = starty + Math.sin(num) * 100;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 0;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_y = starty + Math.sin(num) * 130;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 0.5;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_y = starty + Math.sin(num) * 130;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 1;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_y = starty + Math.sin(num) * 130;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 1.5;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_y = starty + Math.sin(num) * 150;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 2;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_y = starty + Math.sin(num) * 130;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 2.5;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_y = starty + Math.sin(num) * 130;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 0;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_y = starty + Math.sin(num) * 200;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 0.5;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_y = starty + Math.sin(num) * 200;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 1;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_y = starty + Math.sin(num) * 200;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 1.5;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_y = starty + Math.sin(num) * 200;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 2;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_y = starty + Math.sin(num) * 200;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 2.5;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_y = starty + Math.sin(num) * 200;
}
}
}
movieClip 158 {
}
movieClip 161 {
}
movieClip 162 {
}
movieClip 167 {
}
movieClip 172 {
}
movieClip 176 {
}
movieClip 177 {
instance of movieClip 167 {
onClipEvent (enterFrame) {
_rotation = _rotation + 1;
}
}
instance of movieClip 172 {
onClipEvent (enterFrame) {
_rotation = _rotation + 1;
}
}
instance of movieClip 176 {
onClipEvent (enterFrame) {
_rotation = _rotation + 2;
}
}
instance of movieClip 176 {
onClipEvent (enterFrame) {
_rotation = _rotation + 2;
}
}
instance of movieClip 172 {
onClipEvent (enterFrame) {
_rotation = _rotation + 1;
}
}
}
movieClip 178 {
}
movieClip 180 {
instance of movieClip 153 {
onClipEvent (load) {
_parent._x = 30 + 1150 * Math.random();
_parent._y = 1000 * Math.random() - 500;
if (Math.random() > 0.5) {
falling = true;
} else {
falling = false;
}
scale = 80 + Math.random() * 60;
_parent._xscale = scale;
_parent._yscale = scale;
speed = (0.8 + Math.random()) * 5;
_parent._alpha = 0;
}
onClipEvent (enterFrame) {
if (_parent._y < -500) {
_parent._alpha = 100 + (_parent._y + 500);
} else {
if (_parent._y > 500) {
_parent._alpha = 100 - (_parent._y - 500);
} else {
_parent._alpha = 100;
}
}
if (falling) {
_parent._y += speed;
if (_parent._y > 610) {
_parent._x = 30 + 1150 * Math.random();
if (Math.random() > 0.5) {
falling = true;
_parent._y = -570;
} else {
falling = false;
_parent._y = 570;
}
scale = 80 + Math.random() * 60;
_parent._xscale = scale;
_parent._yscale = scale;
speed = (0.8 + Math.random()) * 5;
_parent._alpha = 0;
}
} else {
_parent._y -= speed;
if (_parent._y < -610) {
_parent._x = 30 + 1150 * Math.random();
if (Math.random() > 0.5) {
falling = true;
_parent._y = -570;
} else {
falling = false;
_parent._y = 570;
}
scale = 80 + Math.random() * 60;
_parent._xscale = scale;
_parent._yscale = scale;
speed = (0.8 + Math.random()) * 5;
_parent._alpha = 0;
}
}
}
}
}
movieClip 181 {
}
movieClip 182 {
}
movieClip 185 {
}
movieClip 186 {
instance of movieClip 153 {
onClipEvent (load) {
num = 2;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_xscale = 130 + Math.sin(num) * 40;
_yscale = _xscale;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 2.5;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_xscale = 130 + Math.sin(num) * 40;
_yscale = _xscale;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 4.5;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_xscale = 130 + Math.sin(num) * 40;
_yscale = _xscale;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 5;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_xscale = 130 + Math.sin(num) * 40;
_yscale = _xscale;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 2;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_xscale = 130 + Math.sin(num) * 40;
_yscale = _xscale;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 2.5;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_xscale = 130 + Math.sin(num) * 40;
_yscale = _xscale;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 4.5;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_xscale = 130 + Math.sin(num) * 40;
_yscale = _xscale;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 5.5;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_xscale = 130 + Math.sin(num) * 40;
_yscale = _xscale;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 2.5;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_xscale = 130 + Math.sin(num) * 40;
_yscale = _xscale;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 3;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_xscale = 130 + Math.sin(num) * 40;
_yscale = _xscale;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 3.5;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_xscale = 130 + Math.sin(num) * 40;
_yscale = _xscale;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 5;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_xscale = 130 + Math.sin(num) * 40;
_yscale = _xscale;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 2.5;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_xscale = 130 + Math.sin(num) * 40;
_yscale = _xscale;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 3.5;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_xscale = 130 + Math.sin(num) * 40;
_yscale = _xscale;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 4;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_xscale = 130 + Math.sin(num) * 40;
_yscale = _xscale;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 3.5;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_xscale = 130 + Math.sin(num) * 40;
_yscale = _xscale;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 4.5;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_xscale = 130 + Math.sin(num) * 40;
_yscale = _xscale;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 5;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_xscale = 130 + Math.sin(num) * 40;
_yscale = _xscale;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 5.5;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_xscale = 130 + Math.sin(num) * 40;
_yscale = _xscale;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 3;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_xscale = 130 + Math.sin(num) * 40;
_yscale = _xscale;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 4;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_xscale = 130 + Math.sin(num) * 40;
_yscale = _xscale;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 4.5;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_xscale = 130 + Math.sin(num) * 40;
_yscale = _xscale;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 5;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_xscale = 130 + Math.sin(num) * 40;
_yscale = _xscale;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 5;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_xscale = 130 + Math.sin(num) * 40;
_yscale = _xscale;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 2;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_xscale = 130 + Math.sin(num) * 40;
_yscale = _xscale;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 3;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_xscale = 130 + Math.sin(num) * 40;
_yscale = _xscale;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 3.5;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_xscale = 130 + Math.sin(num) * 40;
_yscale = _xscale;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 5.5;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_xscale = 130 + Math.sin(num) * 40;
_yscale = _xscale;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 3;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_xscale = 130 + Math.sin(num) * 40;
_yscale = _xscale;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 3;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_xscale = 130 + Math.sin(num) * 40;
_yscale = _xscale;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 2.5;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_xscale = 130 + Math.sin(num) * 40;
_yscale = _xscale;
}
}
}
movieClip 187 {
}
movieClip 189 {
instance of movieClip 153 {
onClipEvent (load) {
num = 0;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_y = starty + Math.sin(num) * 50;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 0.5;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_y = starty + Math.sin(num) * 100;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 1;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_y = starty + Math.sin(num) * 150;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 1.5;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_y = starty + Math.sin(num) * 200;
}
}
instance of movieClip 153 {
onClipEvent (load) {
num = 2;
starty = _y;
}
onClipEvent (enterFrame) {
num += 0.1;
_y = starty + Math.sin(num) * 250;
}
}
instance moovar of movieClip 116 {
onClipEvent (enterFrame) {
if (_x < -510) {
_x = _x + 10;
}
}
}
}
movieClip 190 {
}
movieClip 193 {
}
button 197 {
on (release) {
_root.sponsorLink('Menu');
}
}
movieClip 205 {
}
button 212 {
on (release) {
_root.apLink('Menu');
}
}
movieClip 215 {
}
movieClip 221 {
frame 32 {
stop();
}
}
movieClip 225 {
frame 1 {
}
frame 80 {
stop();
_root.introplayed = true;
_root.snd_bgmusics.start(0, 100);
_root.menusystem.play();
}
}
// unknown tag 88 length 105
movieClip 233 {
}
movieClip 263 {
frame 1 {
stop();
}
}
movieClip 271 {
instance of movieClip 263 {
onClipEvent (load) {
achievementNum = 3;
gotoAndStop(achievementNum);
if (_root.achievements[achievementNum - 1]) {
this.noMedal._visible = false;
} else {
this.noMedal._visible = true;
}
}
}
instance of movieClip 263 {
onClipEvent (load) {
achievementNum = 2;
gotoAndStop(achievementNum);
if (_root.achievements[achievementNum - 1]) {
this.noMedal._visible = false;
} else {
this.noMedal._visible = true;
}
}
}
instance of movieClip 263 {
onClipEvent (load) {
achievementNum = 1;
gotoAndStop(achievementNum);
if (_root.achievements[achievementNum - 1]) {
this.noMedal._visible = false;
} else {
this.noMedal._visible = true;
}
}
}
instance of movieClip 263 {
onClipEvent (load) {
achievementNum = 4;
gotoAndStop(achievementNum);
if (_root.achievements[achievementNum - 1]) {
this.noMedal._visible = false;
} else {
this.noMedal._visible = true;
}
}
}
instance of movieClip 263 {
onClipEvent (load) {
achievementNum = 5;
gotoAndStop(achievementNum);
if (_root.achievements[achievementNum - 1]) {
this.noMedal._visible = false;
} else {
this.noMedal._visible = true;
}
}
}
instance of movieClip 263 {
onClipEvent (load) {
achievementNum = 8;
gotoAndStop(achievementNum);
if (_root.achievements[achievementNum - 1]) {
this.noMedal._visible = false;
} else {
this.noMedal._visible = true;
}
}
}
instance of movieClip 263 {
onClipEvent (load) {
achievementNum = 9;
gotoAndStop(achievementNum);
if (_root.achievements[achievementNum - 1]) {
this.noMedal._visible = false;
} else {
this.noMedal._visible = true;
}
}
}
instance of movieClip 263 {
onClipEvent (load) {
achievementNum = 12;
gotoAndStop(achievementNum);
if (_root.achievements[achievementNum - 1]) {
this.noMedal._visible = false;
} else {
this.noMedal._visible = true;
}
}
}
instance of movieClip 263 {
onClipEvent (load) {
achievementNum = 10;
gotoAndStop(achievementNum);
if (_root.achievements[achievementNum - 1]) {
this.noMedal._visible = false;
} else {
this.noMedal._visible = true;
}
}
}
instance of movieClip 263 {
onClipEvent (load) {
achievementNum = 11;
gotoAndStop(achievementNum);
if (_root.achievements[achievementNum - 1]) {
this.noMedal._visible = false;
} else {
this.noMedal._visible = true;
}
}
}
instance of movieClip 263 {
onClipEvent (load) {
achievementNum = 6;
gotoAndStop(achievementNum);
if (_root.achievements[achievementNum - 1]) {
this.noMedal._visible = false;
} else {
this.noMedal._visible = true;
}
}
}
instance of movieClip 263 {
onClipEvent (load) {
achievementNum = 7;
gotoAndStop(achievementNum);
if (_root.achievements[achievementNum - 1]) {
this.noMedal._visible = false;
} else {
this.noMedal._visible = true;
}
}
}
}
movieClip 272 {
frame 1 {
stop();
}
instance of movieClip 271 {
onClipEvent (release) {
_parent.play();
}
}
frame 10 {
stop();
}
}
movieClip 273 {
instance of movieClip 73 {
onClipEvent (load) {
if (_root.control == 1) {
gotoAndStop(2);
} else {
gotoAndStop(1);
}
}
}
instance of movieClip 101 {
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha += 7;
}
}
}
instance of movieClip 108 {
onClipEvent (load) {
lvltype = 'TRAINING LEVELS';
lvlname = '"A Thin Path"';
lvlnum = -4;
this._x = (lvlnum + 5) * 300;
startX = this._x;
}
onClipEvent (enterFrame) {
_x = _root.scrollamount + startX;
if (Math.abs(_x) < 300) {
_alpha = (300 - Math.abs(_x)) / 3;
} else {
_alpha = 0;
}
if (_root.scrolltarget == -startX) {
_root.curlevel = lvlnum + 6;
_root.menusystem.menuinside.levelname.text = lvlname;
_root.menusystem.menuinside.leveltype.text = lvltype;
_root.menusystem.menuinside.yourbest.text = '';
}
}
}
instance of movieClip 110 {
onClipEvent (load) {
lvltype = 'TRAINING LEVELS';
lvlname = '"Spinny Things: A Warning"';
lvlnum = -1;
this._x = (lvlnum + 5) * 300;
startX = this._x;
}
onClipEvent (enterFrame) {
_x = _root.scrollamount + startX;
if (Math.abs(_x) < 300) {
_alpha = (300 - Math.abs(_x)) / 3;
} else {
_alpha = 0;
}
if (_root.scrolltarget == -startX) {
_root.curlevel = lvlnum + 6;
_root.menusystem.menuinside.levelname.text = lvlname;
_root.menusystem.menuinside.leveltype.text = lvltype;
_root.menusystem.menuinside.yourbest.text = '';
}
}
}
instance of movieClip 112 {
onClipEvent (load) {
lvltype = 'TRAINING LEVELS';
lvlname = '"Bad Things are Bad"';
lvlnum = -3;
this._x = (lvlnum + 5) * 300;
startX = this._x;
}
onClipEvent (enterFrame) {
_x = _root.scrollamount + startX;
if (Math.abs(_x) < 300) {
_alpha = (300 - Math.abs(_x)) / 3;
} else {
_alpha = 0;
}
if (_root.scrolltarget == -startX) {
_root.curlevel = lvlnum + 6;
_root.menusystem.menuinside.levelname.text = lvlname;
_root.menusystem.menuinside.leveltype.text = lvltype;
_root.menusystem.menuinside.yourbest.text = '';
}
}
}
instance of movieClip 119 {
onClipEvent (load) {
lvltype = 'TRAINING LEVELS';
lvlname = '"The Last Training Level"';
lvlnum = 0;
this._x = (lvlnum + 5) * 300;
startX = this._x;
}
onClipEvent (enterFrame) {
_x = _root.scrollamount + startX;
if (Math.abs(_x) < 300) {
_alpha = (300 - Math.abs(_x)) / 3;
} else {
_alpha = 0;
}
if (_root.scrolltarget == -startX) {
_root.curlevel = lvlnum + 6;
_root.menusystem.menuinside.levelname.text = lvlname;
_root.menusystem.menuinside.leveltype.text = lvltype;
_root.menusystem.menuinside.yourbest.text = '';
}
}
}
instance of movieClip 121 {
onClipEvent (load) {
lvltype = 'TRAINING LEVELS';
lvlname = '"Smug"';
lvlnum = -2;
this._x = (lvlnum + 5) * 300;
startX = this._x;
}
onClipEvent (enterFrame) {
_x = _root.scrollamount + startX;
if (Math.abs(_x) < 300) {
_alpha = (300 - Math.abs(_x)) / 3;
} else {
_alpha = 0;
}
if (_root.scrolltarget == -startX) {
_root.curlevel = lvlnum + 6;
_root.menusystem.menuinside.levelname.text = lvlname;
_root.menusystem.menuinside.leveltype.text = lvltype;
_root.menusystem.menuinside.yourbest.text = '';
}
}
}
instance of movieClip 128 {
onClipEvent (load) {
lvltype = 'TRAINING LEVELS';
lvlname = '"A Deceptively Simple Start"';
lvlnum = -5;
this._x = (lvlnum + 5) * 300;
startX = this._x;
if (_root.startx == null) {
_root.scrollamount = 0;
_root.scrolltarget = 0;
} else {
_root.scrollamount = -(_root.curlevel - 1) * 300;
_root.scrolltarget = -(_root.curlevel - 1) * 300;
_root.menusystem.gotoAndStop(88);
}
}
onClipEvent (enterFrame) {
_root.scrollamount += Math.round((_root.scrolltarget - _root.scrollamount) / 5);
_x = _root.scrollamount + startX;
if (Math.abs(_x) < 300) {
_alpha = (300 - Math.abs(_x)) / 3;
} else {
_alpha = 0;
}
if (_root.scrolltarget == -startX) {
_root.curlevel = lvlnum + 6;
_root.menusystem.menuinside.levelname.text = lvlname;
_root.menusystem.menuinside.leveltype.text = lvltype;
_root.menusystem.menuinside.yourbest.text = '';
}
if (_root.curlevel > 6 && _root.curlevel < 15) {
_root.menusystem.menuinside.totaljuice.text = 'total juice\rcollected: ' + _root.mousetotal + 'ml';
} else {
_root.menusystem.menuinside.totaljuice.text = '';
}
}
}
instance of movieClip 149 {
onClipEvent (load) {
lvltype = 'GRAPEFRUIT LEVELS';
lvlname = '"Wibble Wobble"';
lvlnum = 3;
this._x = (lvlnum + 5) * 300;
startX = this._x;
}
onClipEvent (enterFrame) {
_x = _root.scrollamount + startX;
if (Math.abs(_x) < 300) {
_alpha = (300 - Math.abs(_x)) / 3;
} else {
_alpha = 0;
}
if (_root.scrolltarget == -startX) {
_root.curlevel = lvlnum + 6;
_root.menusystem.menuinside.levelname.text = lvlname;
_root.menusystem.menuinside.leveltype.text = lvltype;
_root.menusystem.menuinside.yourbest.text = 'your best this\rlevel: ' + _root.mouse_orange[lvlnum] + 'ml';
}
}
}
instance of movieClip 155 {
onClipEvent (load) {
lvltype = 'GRAPEFRUIT LEVELS';
lvlname = '"Tines"';
lvlnum = 4;
this._x = (lvlnum + 5) * 300;
startX = this._x;
}
onClipEvent (enterFrame) {
_x = _root.scrollamount + startX;
if (Math.abs(_x) < 300) {
_alpha = (300 - Math.abs(_x)) / 3;
} else {
_alpha = 0;
}
if (_root.scrolltarget == -startX) {
_root.curlevel = lvlnum + 6;
_root.menusystem.menuinside.levelname.text = lvlname;
_root.menusystem.menuinside.leveltype.text = lvltype;
_root.menusystem.menuinside.yourbest.text = 'your best this\rlevel: ' + _root.mouse_orange[lvlnum] + 'ml';
}
}
}
instance of movieClip 158 {
onClipEvent (load) {
lvltype = 'GRAPEFRUIT LEVELS';
lvlname = '"Wave Hello"';
lvlnum = 1;
this._x = (lvlnum + 5) * 300;
startX = this._x;
}
onClipEvent (enterFrame) {
_x = _root.scrollamount + startX;
if (Math.abs(_x) < 300) {
_alpha = (300 - Math.abs(_x)) / 3;
} else {
_alpha = 0;
}
if (_root.scrolltarget == -startX) {
_root.curlevel = lvlnum + 6;
_root.menusystem.menuinside.levelname.text = lvlname;
_root.menusystem.menuinside.leveltype.text = lvltype;
_root.menusystem.menuinside.yourbest.text = 'your best this\rlevel: ' + _root.mouse_orange[lvlnum] + 'ml';
}
}
}
instance of movieClip 162 {
onClipEvent (load) {
lvltype = 'GRAPEFRUIT LEVELS';
lvlname = '"Illness"';
lvlnum = 2;
this._x = (lvlnum + 5) * 300;
startX = this._x;
}
onClipEvent (enterFrame) {
_x = _root.scrollamount + startX;
if (Math.abs(_x) < 300) {
_alpha = (300 - Math.abs(_x)) / 3;
} else {
_alpha = 0;
}
if (_root.scrolltarget == -startX) {
_root.curlevel = lvlnum + 6;
_root.menusystem.menuinside.levelname.text = lvlname;
_root.menusystem.menuinside.leveltype.text = lvltype;
_root.menusystem.menuinside.yourbest.text = 'your best this\rlevel: ' + _root.mouse_orange[lvlnum] + 'ml';
}
}
}
instance of movieClip 178 {
onClipEvent (load) {
lvltype = 'GRAPEFRUIT LEVELS';
lvlname = '"Clench"';
lvlnum = 7;
this._x = (lvlnum + 5) * 300;
startX = this._x;
}
onClipEvent (enterFrame) {
_x = _root.scrollamount + startX;
if (Math.abs(_x) < 300) {
_alpha = (300 - Math.abs(_x)) / 3;
} else {
_alpha = 0;
}
if (_root.scrolltarget == -startX) {
_root.curlevel = lvlnum + 6;
_root.menusystem.menuinside.levelname.text = lvlname;
_root.menusystem.menuinside.leveltype.text = lvltype;
_root.menusystem.menuinside.yourbest.text = 'your best this\rlevel: ' + _root.mouse_orange[lvlnum] + 'ml';
}
}
}
instance of movieClip 182 {
onClipEvent (load) {
lvltype = 'GRAPEFRUIT LEVELS';
lvlname = '"The Draw"';
lvlnum = 6;
this._x = (lvlnum + 5) * 300;
startX = this._x;
}
onClipEvent (enterFrame) {
_x = _root.scrollamount + startX;
if (Math.abs(_x) < 300) {
_alpha = (300 - Math.abs(_x)) / 3;
} else {
_alpha = 0;
}
if (_root.scrolltarget == -startX) {
_root.curlevel = lvlnum + 6;
_root.menusystem.menuinside.levelname.text = lvlname;
_root.menusystem.menuinside.leveltype.text = lvltype;
_root.menusystem.menuinside.yourbest.text = 'your best this\rlevel: ' + _root.mouse_orange[lvlnum] + 'ml';
}
}
}
instance of movieClip 187 {
onClipEvent (load) {
lvltype = 'GRAPEFRUIT LEVELS';
lvlname = '"Two Keys"';
lvlnum = 5;
this._x = (lvlnum + 5) * 300;
startX = this._x;
}
onClipEvent (enterFrame) {
_x = _root.scrollamount + startX;
if (Math.abs(_x) < 300) {
_alpha = (300 - Math.abs(_x)) / 3;
} else {
_alpha = 0;
}
if (_root.scrolltarget == -startX) {
_root.curlevel = lvlnum + 6;
_root.menusystem.menuinside.levelname.text = lvlname;
_root.menusystem.menuinside.leveltype.text = lvltype;
_root.menusystem.menuinside.yourbest.text = 'your best this\rlevel: ' + _root.mouse_orange[lvlnum] + 'ml';
}
}
}
instance of movieClip 190 {
onClipEvent (load) {
lvltype = 'GRAPEFRUIT LEVELS';
lvlname = '"Three Keys"';
lvlnum = 8;
this._x = (lvlnum + 5) * 300;
startX = this._x;
}
onClipEvent (enterFrame) {
_x = _root.scrollamount + startX;
if (Math.abs(_x) < 300) {
_alpha = (300 - Math.abs(_x)) / 3;
} else {
_alpha = 0;
}
if (_root.scrolltarget == -startX) {
_root.curlevel = lvlnum + 6;
_root.menusystem.menuinside.levelname.text = lvlname;
_root.menusystem.menuinside.leveltype.text = lvltype;
_root.menusystem.menuinside.yourbest.text = 'your best this\rlevel: ' + _root.mouse_orange[lvlnum] + 'ml';
}
}
}
instance of movieClip 193 {
onClipEvent (load) {
lvltype = 'MORE LEVELS';
lvlname = 'in Line Game: Orange Edition';
lvlnum = 9;
this._x = (lvlnum + 5) * 300;
startX = this._x;
}
onClipEvent (enterFrame) {
_x = _root.scrollamount + startX;
if (Math.abs(_x) < 300) {
_alpha = (300 - Math.abs(_x)) / 3;
} else {
_alpha = 0;
}
if (_root.scrolltarget == -startX) {
_root.curlevel = lvlnum + 6;
_root.menusystem.menuinside.levelname.text = lvlname;
_root.menusystem.menuinside.leveltype.text = lvltype;
_root.menusystem.menuinside.yourbest.text = '';
}
}
}
instance of movieClip 215 {
onClipEvent (load) {
lvltype = 'EVEN MORE LEVELS';
lvlname = 'in Line Game: Lime Edition';
lvlnum = 10;
this._x = (lvlnum + 5) * 300;
startX = this._x;
}
onClipEvent (enterFrame) {
_x = _root.scrollamount + startX;
if (Math.abs(_x) < 300) {
_alpha = (300 - Math.abs(_x)) / 3;
} else {
_alpha = 0;
}
if (_root.scrolltarget == -startX) {
_root.curlevel = lvlnum + 6;
_root.menusystem.menuinside.levelname.text = lvlname;
_root.menusystem.menuinside.leveltype.text = lvltype;
_root.menusystem.menuinside.yourbest.text = '';
}
}
}
instance arpanintro of movieClip 225 {
onClipEvent (load) {
if (_root.introplayed) {
this.stop();
}
}
}
}
movieClip 274 {
frame 1 {
if (_root.itsbeendone == true) {
gotoAndStop(88);
arpanintro.gotoAndStop(1);
} else {
_root.itsbeendone = true;
play();
}
}
frame 67 {
stop();
}
frame 78 {
stop();
}
frame 88 {
stop();
}
}
movieClip 278 {
frame 1 {
stop();
}
}
movieClip 282 {
instance medal of movieClip 263 {
onClipEvent (load) {
this.noMedal._visible = false;
}
}
}
movieClip 283 {
frame 1 {
stop();
_visible = false;
}
frame 2 {
_visible = true;
}
frame 89 {
_root.playNextAch();
_visible = false;
}
}
frame 3 {
stop();
Playtomic.Log.Play();
Playtomic.Log.LevelCounterMetric('Attempts', _root.curlevel);
_root.leveljuice = _root.leveljuices[_root.curlevel];
if (_root.control == 0) {
_root.leveljuice *= 1.2;
}
_root.timeleft = _root.leveljuice;
_root.linenum = 100;
_root.timereal = 0;
_root.trak.createEmptyMovieClip('lines', 20);
_root.trak.lines.createEmptyMovieClip('line_' + _root.linenum, _root.linenum);
_root.trak.lines['line_' + _root.linenum].lineStyle(4, 12336714, 100);
_root.trak.lines['line_' + _root.linenum].moveTo(350 - _root.trak._x, 262 - _root.trak._y);
++_root.linenum;
onEnterFrame = function () {
if (_root.linenum > 200) {
_root.linenum = 100;
}
_root.trak.lines.createEmptyMovieClip('line_' + _root.linenum, _root.linenum);
_root.trak.lines['line_' + _root.linenum].lineStyle(15 - _root.curSpeed / 2, 12336714, 100);
_root.trak.lines['line_' + _root.linenum].moveTo(350 - _root.trak._x, 262 - _root.trak._y);
if (_root.linenum == 100) {
_root.trak.lines.line_200.lineTo(350 - _root.trak._x, 262 - _root.trak._y);
} else {
_root.trak.lines['line_' + (_root.linenum - 1)].lineTo(350 - _root.trak._x, 262 - _root.trak._y);
}
++_root.linenum;
};
}
movieClip 286 {
}
instance of movieClip 286 {
onClipEvent (enterFrame) {
_x = Math.round(_root.trak._x - Math.round(_root.trak._x / 518) * 518 + 350);
_y = Math.round(_root.trak._y - Math.round(_root.trak._y / 518) * 518 + 262);
}
}
movieClip 290 {
}
movieClip 291 {
}
movieClip 292 {
}
movieClip 297 {
}
movieClip 301 {
}
movieClip 302 {
instance of movieClip 301 {
onClipEvent (load) {
gotoAndPlay(20);
}
}
instance of movieClip 301 {
onClipEvent (load) {
gotoAndPlay(20);
}
}
}
movieClip 304 {
}
movieClip 305 {
frame 1 {
onEnterFrame = function () {
if (this.orange._visible && Math.abs(_y - _root.trak.linepos.y) < 25 && Math.abs(_x - _root.trak.linepos.x) < 25) {
this.orange._visible = false;
_root.checkx = _root.trak._x;
_root.checky = _root.trak._y;
_root.timereal -= 5;
++_root.grapefruits;
if (_root.grapefruits == 30) {
_root.gotAchievement(11);
}
if (_root.grapefruits == 80) {
_root.gotAchievement(12);
}
}
};
}
}
movieClip 307 {
}
movieClip 309 {
}
movieClip 311 {
}
movieClip 313 {
}
movieClip 314 {
instance of movieClip 313 {
onClipEvent (enterFrame) {
_rotation = _rotation + 2;
}
}
instance of movieClip 313 {
onClipEvent (enterFrame) {
_rotation = _rotation - 3;
}
}
instance of movieClip 313 {
onClipEvent (enterFrame) {
_rotation = _rotation + 4;
}
}
instance of movieClip 313 {
onClipEvent (enterFrame) {
_rotation = _rotation - 6;
}
}
instance of movieClip 313 {
onClipEvent (enterFrame) {
_rotation = _rotation + 5;
}
}
}
movieClip 316 {
}
movieClip 317 {
instance of movieClip 316 {
onClipEvent (enterFrame) {
_rotation = _rotation + 1;
}
}
}
movieClip 321 {
}
movieClip 322 {
}
movieClip 323 {
}
movieClip 324 {
}
movieClip 325 {
}
movieClip 327 {
}
movieClip 328 {
instance of movieClip 327 {
onClipEvent (load) {
gotoAndPlay(90);
}
}
instance of movieClip 327 {
onClipEvent (load) {
gotoAndPlay(1);
}
}
instance of movieClip 327 {
onClipEvent (load) {
gotoAndPlay(180);
}
}
instance of movieClip 313 {
onClipEvent (load) {
num = 0;
starty = _rotation;
}
onClipEvent (enterFrame) {
num += 0.05;
_rotation = starty + Math.sin(num) * 50;
}
}
instance of movieClip 313 {
onClipEvent (load) {
num = 0;
starty = _rotation;
}
onClipEvent (enterFrame) {
num += 0.05;
_rotation = starty + Math.sin(num) * 50;
}
}
instance of movieClip 313 {
onClipEvent (load) {
num = 0;
starty = _rotation;
}
onClipEvent (enterFrame) {
num += 0.05;
_rotation = starty + Math.sin(num) * 50;
}
}
instance of movieClip 313 {
onClipEvent (load) {
num = 0;
starty = _rotation;
}
onClipEvent (enterFrame) {
num += 0.05;
_rotation = starty + Math.sin(num) * 50;
}
}
instance of movieClip 327 {
onClipEvent (load) {
gotoAndPlay(90);
}
}
instance of movieClip 327 {
onClipEvent (load) {
gotoAndPlay(1);
}
}
instance of movieClip 327 {
onClipEvent (load) {
gotoAndPlay(180);
}
}
}
movieClip 329 {
}
movieClip 330 {
}
movieClip 332 {
}
movieClip 333 {
}
movieClip 338 {
}
movieClip 339 {
}
movieClip 341 {
}
movieClip 342 {
}
movieClip 343 {
}
movieClip 345 {
}
movieClip 346 {
}
movieClip 347 {
instance finish1 of movieClip 290 {
onClipEvent (enterFrame) {
if (Math.abs(_y - _root.trak.linepos.y) < 60 && Math.abs(_x - _root.trak.linepos.x) < 60) {
_root.curlevel = 7;
_root.gotoAndStop(6);
}
}
}
instance finish2 of movieClip 290 {
onClipEvent (enterFrame) {
if (Math.abs(_y - _root.trak.linepos.y) < 60 && Math.abs(_x - _root.trak.linepos.x) < 60) {
_root.curlevel = 2;
_root.gotoAndStop(6);
}
}
}
instance badthings of movieClip 309 {
onClipEvent (enterFrame) {
if (_root.clicktostart._visible == true) {
_y = 1260;
} else {
_y = _y - 6;
}
}
}
instance arrowz of movieClip 329 {
onClipEvent (load) {
_visible = false;
}
}
instance of movieClip 341 {
onClipEvent (enterFrame) {
if (Math.abs(this._y - _root.trak.linepos.y) < 30 && Math.abs(this._x - _root.trak.linepos.x) < 30) {
if (this._visible) {
_root.trak.badthings.blockade2._x = 1000;
_root.trak.badthings.blockade2._visible = false;
_root.trak.arrowz._visible = true;
this._visible = false;
}
}
}
}
instance of movieClip 341 {
onClipEvent (enterFrame) {
if (Math.abs(this._y - _root.trak.linepos.y) < 30 && Math.abs(this._x - _root.trak.linepos.x) < 30) {
if (this._visible) {
_root.trak.badthings.blockade1._x = 1000;
_root.trak.badthings.blockade1._visible = false;
_root.trak.arrowz._visible = true;
this._visible = false;
}
}
}
}
instance of movieClip 345 {
onClipEvent (enterFrame) {
if (Math.abs(this._y - _root.trak.linepos.y) < 50 && Math.abs(this._x - _root.trak.linepos.x) < 50) {
_root.trak.trakinside.moovar._x -= 25;
}
}
}
instance of movieClip 341 {
onClipEvent (enterFrame) {
if (Math.abs(this._y - _root.trak.linepos.y) < 30 && Math.abs(this._x - _root.trak.linepos.x) < 30) {
if (this._visible) {
_root.trak.badthings.blockade3._x = -2000;
_root.trak.badthings.blockade3._visible = false;
this._visible = false;
}
}
}
}
instance of movieClip 341 {
onClipEvent (enterFrame) {
if (Math.abs(this._y - _root.trak.linepos.y) < 30 && Math.abs(this._x - _root.trak.linepos.x) < 30) {
if (this._visible) {
_root.trak.badthings.blockade1._x = -2000;
_root.trak.badthings.blockade1._visible = false;
this._visible = false;
}
}
}
}
instance of movieClip 341 {
onClipEvent (enterFrame) {
if (Math.abs(this._y - _root.trak.linepos.y) < 30 && Math.abs(this._x - _root.trak.linepos.x) < 30) {
if (this._visible) {
_root.trak.badthings.blockade2._x = -2000;
_root.trak.badthings.blockade2._visible = false;
this._visible = false;
}
}
}
}
}
instance trak of movieClip 347 {
onClipEvent (load) {
gotoAndStop(_root.curlevel);
}
onClipEvent (enterFrame) {
linepos = new Object();
linepos.x = _root.playerobj._x;
linepos.y = _root.playerobj._y;
_root.trak.globalToLocal(linepos);
}
}
movieClip 350 {
}
instance playerobj of movieClip 350 {
onClipEvent (load) {
_root.checkx = _root.trak._x;
_root.checky = _root.trak._y;
_root.startx = _root.trak._x;
_root.starty = _root.trak._y;
_root.hspeed = 0;
_root.vspeed = 0;
_root.curSpeed = 0;
_root.highspeedtime = 0;
}
onClipEvent (enterFrame) {
if (!_root.clicktostart._visible) {
if (_root.control == 0) {
if (Key.isDown(37)) {
_root.hspeed -= 3;
}
if (Key.isDown(39)) {
_root.hspeed += 3;
}
if (Key.isDown(38)) {
_root.vspeed -= 3;
}
if (Key.isDown(40)) {
_root.vspeed += 3;
}
_root.curSpeed = Math.abs(_root.vspeed) + Math.abs(_root.hspeed);
}
if (_root.control == 1) {
hprop = (_root._xmouse - 350) / 7;
vprop = (_root._ymouse - 262) / 7;
curSpeed = Math.sqrt(hprop * hprop + vprop * vprop);
if (curSpeed > 25) {
if (curSpeed > 30) {
vprop *= 30 / curSpeed;
hprop *= 30 / curSpeed;
}
++_root.highspeedtime;
if (_root.highspeedtime == 144) {
_root.gotAchievement(7);
}
} else {
_root.highspeedtime = 0;
}
_root.hspeed = hprop;
_root.vspeed = vprop;
_root.curSpeed = curSpeed;
}
_root.vspeed = Math.round(_root.vspeed * 9) / 10;
_root.hspeed = Math.round(_root.hspeed * 9) / 10;
if (_root.trak.trakinside.slow.hitTest(this._x, this._y, true)) {
if (_root.control == 0) {
_root.vspeed = Math.round(_root.vspeed * 8) / 10;
_root.hspeed = Math.round(_root.hspeed * 8) / 10;
} else {
_root.vspeed = Math.round(_root.vspeed * 3) / 10;
_root.hspeed = Math.round(_root.hspeed * 3) / 10;
}
}
_root.trak._x -= _root.hspeed;
_root.trak._y -= _root.vspeed;
if (_root.trak.finish.hitTest(this._x, this._y, true)) {
_root.gotoAndStop(4);
}
if (_root.trak.trakinside.hitTest(this._x, this._y, true) == false || _root.trak.badthings.hitTest(this._x, this._y, true)) {
_root.trak._x = _root.checkx;
_root.trak._y = _root.checky;
if (_root.startx == _root.checkx) {
_root.timereal = 0;
}
_root.hspeed = 0;
_root.vspeed = 0;
++_root.deaths;
if (_root.deaths == 100) {
_root.gotAchievement(8);
}
if (_root.deaths == 200) {
_root.gotAchievement(9);
}
_root.linenum = 100;
_root.trak.lines.clear();
_root.trak.createEmptyMovieClip('lines', 20);
_root.trak.lines.createEmptyMovieClip('line_' + _root.linenum, _root.linenum);
_root.trak.lines['line_' + _root.linenum].lineStyle(4, 12336714, 100);
_root.trak.lines['line_' + _root.linenum].moveTo(350 - _root.trak._x, 262 - _root.trak._y);
++_root.linenum;
_root.clicktostart._visible = true;
}
}
}
}
movieClip 351 {
}
instance playerobj of movieClip 351 {
onClipEvent (enterFrame) {
if (!_root.clicktostart._visible || _root.timereal != 0) {
_root.timereal += 0.03;
_root.timereal = Math.round(_root.timereal * 100) / 100;
_root.timeleft = _root.leveljuice - Math.floor(_root.timereal * 5);
if (_root.timeleft < 30) {
_root.flasher._visible = true;
_root.flasher.play();
if (_root.timeleft <= 0) {
_root.timeleft = 0;
_root.play();
}
} else {
_root.flasher._visible = false;
_root.flasher.gotoAndStop(5);
}
}
}
}
button 355 {
on (release) {
_root.gotoAndStop(2);
}
}
button 359 {
on (release) {
_root.gotoAndStop(6);
}
}
button 376 {
on (release) {
_visible = false;
}
on (keyPress '<Space>') {
_visible = false;
}
}
button 377 {
on (release) {
_root.sponsorLink('InLevel');
}
}
movieClip 378 {
}
movieClip 382 {
}
instance flasher of movieClip 382 {
onClipEvent (load) {
this.gotoAndStop(5);
this._visible = false;
}
}
frame 4 {
function bitOR(a, b) {
var v2 = a & 1 | b & 1;
var v1 = a >>> 1 | b >>> 1;
return v1 << 1 | v2;
}
function bitXOR(a, b) {
var v2 = a & 1 ^ b & 1;
var v1 = a >>> 1 ^ b >>> 1;
return v1 << 1 | v2;
}
function bitAND(a, b) {
var v2 = a & 1 & (b & 1);
var v1 = a >>> 1 & b >>> 1;
return v1 << 1 | v2;
}
function addme(x, y) {
var v1 = (x & 65535) + (y & 65535);
var v2 = (x >> 16) + (y >> 16) + (v1 >> 16);
return v2 << 16 | v1 & 65535;
}
function rhex(num) {
str = '';
j = 0;
while (j <= 3) {
str += hex_chr.charAt(num >> j * 8 + 4 & 15) + hex_chr.charAt(num >> j * 8 & 15);
++j;
}
return str;
}
function str2blks_MD5(str) {
nblk = (str.length + 8 >> 6) + 1;
blks = new Array(nblk * 16);
i = 0;
while (i < nblk * 16) {
blks[i] = 0;
++i;
}
i = 0;
while (i < str.length) {
blks[i >> 2] |= str.charCodeAt(i) << ((str.length * 8 + i) % 4) * 8;
++i;
}
blks[i >> 2] |= 128 << ((str.length * 8 + i) % 4) * 8;
var v2 = str.length * 8;
blks[nblk * 16 - 2] = v2 & 255;
blks[nblk * 16 - 2] |= (v2 >>> 8 & 255) << 8;
blks[nblk * 16 - 2] |= (v2 >>> 16 & 255) << 16;
blks[nblk * 16 - 2] |= (v2 >>> 24 & 255) << 24;
return blks;
}
function rol(num, cnt) {
return num << cnt | num >>> 32 - cnt;
}
function cmn(q, a, b, x, s, t) {
return addme(rol(addme(addme(a, q), addme(x, t)), s), b);
}
function ff(a, b, c, d, x, s, t) {
return cmn(bitOR(bitAND(b, c), bitAND(~b, d)), a, b, x, s, t);
}
function gg(a, b, c, d, x, s, t) {
return cmn(bitOR(bitAND(b, d), bitAND(c, ~d)), a, b, x, s, t);
}
function hh(a, b, c, d, x, s, t) {
return cmn(bitXOR(bitXOR(b, c), d), a, b, x, s, t);
}
function ii(a, b, c, d, x, s, t) {
return cmn(bitXOR(c, bitOR(b, ~d)), a, b, x, s, t);
}
function calcMD5(str) {
x = str2blks_MD5(str);
a = 1732584193;
b = -271733879;
c = -1732584194;
d = 271733878;
var v1;
i = 0;
while (i < x.length) {
olda = a;
oldb = b;
oldc = c;
oldd = d;
v1 = 0;
a = ff(a, b, c, d, x[i + 0], 7, -680876936);
d = ff(d, a, b, c, x[i + 1], 12, -389564586);
c = ff(c, d, a, b, x[i + 2], 17, 606105819);
b = ff(b, c, d, a, x[i + 3], 22, -1044525330);
a = ff(a, b, c, d, x[i + 4], 7, -176418897);
d = ff(d, a, b, c, x[i + 5], 12, 1200080426);
c = ff(c, d, a, b, x[i + 6], 17, -1473231341);
b = ff(b, c, d, a, x[i + 7], 22, -45705983);
a = ff(a, b, c, d, x[i + 8], 7, 1770035416);
d = ff(d, a, b, c, x[i + 9], 12, -1958414417);
c = ff(c, d, a, b, x[i + 10], 17, -42063);
b = ff(b, c, d, a, x[i + 11], 22, -1990404162);
a = ff(a, b, c, d, x[i + 12], 7, 1804603682);
d = ff(d, a, b, c, x[i + 13], 12, -40341101);
c = ff(c, d, a, b, x[i + 14], 17, -1502002290);
b = ff(b, c, d, a, x[i + 15], 22, 1236535329);
a = gg(a, b, c, d, x[i + 1], 5, -165796510);
d = gg(d, a, b, c, x[i + 6], 9, -1069501632);
c = gg(c, d, a, b, x[i + 11], 14, 643717713);
b = gg(b, c, d, a, x[i + 0], 20, -373897302);
a = gg(a, b, c, d, x[i + 5], 5, -701558691);
d = gg(d, a, b, c, x[i + 10], 9, 38016083);
c = gg(c, d, a, b, x[i + 15], 14, -660478335);
b = gg(b, c, d, a, x[i + 4], 20, -405537848);
a = gg(a, b, c, d, x[i + 9], 5, 568446438);
d = gg(d, a, b, c, x[i + 14], 9, -1019803690);
c = gg(c, d, a, b, x[i + 3], 14, -187363961);
b = gg(b, c, d, a, x[i + 8], 20, 1163531501);
a = gg(a, b, c, d, x[i + 13], 5, -1444681467);
d = gg(d, a, b, c, x[i + 2], 9, -51403784);
c = gg(c, d, a, b, x[i + 7], 14, 1735328473);
b = gg(b, c, d, a, x[i + 12], 20, -1926607734);
a = hh(a, b, c, d, x[i + 5], 4, -378558);
d = hh(d, a, b, c, x[i + 8], 11, -2022574463);
c = hh(c, d, a, b, x[i + 11], 16, 1839030562);
b = hh(b, c, d, a, x[i + 14], 23, -35309556);
a = hh(a, b, c, d, x[i + 1], 4, -1530992060);
d = hh(d, a, b, c, x[i + 4], 11, 1272893353);
c = hh(c, d, a, b, x[i + 7], 16, -155497632);
b = hh(b, c, d, a, x[i + 10], 23, -1094730640);
a = hh(a, b, c, d, x[i + 13], 4, 681279174);
d = hh(d, a, b, c, x[i + 0], 11, -358537222);
c = hh(c, d, a, b, x[i + 3], 16, -722521979);
b = hh(b, c, d, a, x[i + 6], 23, 76029189);
a = hh(a, b, c, d, x[i + 9], 4, -640364487);
d = hh(d, a, b, c, x[i + 12], 11, -421815835);
c = hh(c, d, a, b, x[i + 15], 16, 530742520);
b = hh(b, c, d, a, x[i + 2], 23, -995338651);
a = ii(a, b, c, d, x[i + 0], 6, -198630844);
d = ii(d, a, b, c, x[i + 7], 10, 1126891415);
c = ii(c, d, a, b, x[i + 14], 15, -1416354905);
b = ii(b, c, d, a, x[i + 5], 21, -57434055);
a = ii(a, b, c, d, x[i + 12], 6, 1700485571);
d = ii(d, a, b, c, x[i + 3], 10, -1894986606);
c = ii(c, d, a, b, x[i + 10], 15, -1051523);
b = ii(b, c, d, a, x[i + 1], 21, -2054922799);
a = ii(a, b, c, d, x[i + 8], 6, 1873313359);
d = ii(d, a, b, c, x[i + 15], 10, -30611744);
c = ii(c, d, a, b, x[i + 6], 15, -1560198380);
b = ii(b, c, d, a, x[i + 13], 21, 1309151649);
a = ii(a, b, c, d, x[i + 4], 6, -145523070);
d = ii(d, a, b, c, x[i + 11], 10, -1120210379);
c = ii(c, d, a, b, x[i + 2], 15, 718787259);
b = ii(b, c, d, a, x[i + 9], 21, -343485551);
a = addme(a, olda);
b = addme(b, oldb);
c = addme(c, oldc);
d = addme(d, oldd);
i += 16;
}
return rhex(a) + rhex(b) + rhex(c) + rhex(d);
}
stop();
_root.juiceleft = _root.leveljuices[_root.curlevel] - Math.round(_root.timereal * 5);
_root.juiceleftacc = _root.leveljuices[_root.curlevel] - Math.round(_root.timereal * 50) / 10;
if (_root.control == 0) {
_root.juiceleft *= 1.2;
_root.juiceleftacc *= 1.2;
}
_root.hs_game = 'linegrape_' + (_root.curlevel - 6);
_root.hs_score = _root.juiceleftacc;
_root.hsloader.unloadHighscores();
Playtomic.Log.LevelAverageMetric('JuiceLeft', _root.curlevel, _root.juiceleft);
Playtomic.Log.LevelCounterMetric('Completes', _root.curlevel);
Playtomic.Log.LevelCounterMetric('Completed', _root.curlevel, true);
if (_root.curlevel > 6) {
if (_root.mouse_orange[_root.curlevel - 6] < _root.juiceleft) {
_root.mouse_orange[_root.curlevel - 6] = _root.juiceleft;
_root.keyb_orange[_root.curlevel - 6] = _root.juiceleft * 4;
_root.updatemousetotal();
_root.updatekeybtotal();
if (_root.mousetotal > 500) {
_root.gotAchievement(4);
if (_root.mousetotal > 1200) {
_root.gotAchievement(5);
if (_root.mousetotal > 1800) {
_root.gotAchievement(6);
}
}
}
bronzeMedals = 0;
silverMedals = 0;
goldMedals = 0;
i = 1;
while (i < 9) {
if (_root.mouse_orange[i] > 0) {
++bronzeMedals;
if (_root.mouse_orange[i] >= 150) {
++silverMedals;
if (_root.mouse_orange[i] >= 200) {
++goldMedals;
}
}
}
++i;
}
trace('Bronze: ' + bronzeMedals + ' Silver: ' + silverMedals + ' Gold: ' + goldMedals);
if (bronzeMedals == 8) {
_root.gotAchievement(3);
}
if (silverMedals == 8) {
_root.gotAchievement(2);
}
if (goldMedals == 8) {
_root.gotAchievement(1);
}
}
} else {
switch (_root.curlevel) {
case 2:
_root.tutLevelsComplete |= 1;
break;
case 3:
_root.tutLevelsComplete |= 2;
break;
case 4:
_root.tutLevelsComplete |= 4;
break;
case 5:
_root.tutLevelsComplete |= 8;
break;
case 6:
_root.tutLevelsComplete |= 16;
}
if (_root.tutLevelsComplete == 31) {
_root.gotAchievement(10);
}
}
Playtomic.Log.ForceSend();
var hex_chr = '0123456789abcdef';
}
movieClip 400 {
frame 1 {
stop();
}
}
movieClip 403 {
instance medal of movieClip 400 {
onClipEvent (load) {
if (_root.curlevel < 7) {
_visible = false;
} else {
_visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.scoredisp <= 0) {
gotoAndStop(4);
} else {
if (_root.scoredisp < 150) {
gotoAndStop(1);
} else {
if (_root.scoredisp < 200) {
gotoAndStop(2);
} else {
gotoAndStop(3);
}
}
}
}
}
}
movieClip 404 {
}
button 417 {
on (release) {
_root.curlevel = 7;
_root.gotoAndStop(2);
}
}
movieClip 421 {
frame 1 {
stop();
}
}
button 422 {
on (release) {
_root.gotoAndStop(3);
}
}
movieClip 426 {
frame 1 {
stop();
if (_root.juiceleft <= 0) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
button 428 {
on (release) {
if (_root.curlevel < 14) {
_root.curlevel += 1;
_root.gotoAndStop(3);
} else {
_root.gotoAndStop(8);
}
}
}
movieClip 429 {
instance of movieClip 404 {
onClipEvent (load) {
_root.scoredisp = 0;
playsounds = false;
disphighs = false;
}
onClipEvent (enterFrame) {
if (_root.scoredisp < _root.juiceleft) {
if (_root.scoredisp + 50 < _root.juiceleft) {
_root.scoredisp += Math.ceil(random(2) + 1);
} else {
_root.scoredisp += Math.ceil((_root.juiceleft - _root.scoredisp) / 20);
}
if (!disphighs && _root.curlevel > 6) {
disphighs = true;
_root.hsloader.loadHighscores();
}
} else {
if (!playsounds) {
playsounds = true;
if (_root.sounds) {
if (_root.juiceleft > 0) {
_root.sfx_applause.start();
} else {
_root.sfx_aww.start();
}
}
}
}
_y = 220 - _root.scoredisp * 2;
}
}
instance of movieClip 421 {
onClipEvent (load) {
if (_root.juiceleft == 0) {
gotoAndStop(2);
}
}
}
}
instance completed of movieClip 429 {
onClipEvent (load) {
if (_root.curlevel > 6) {
this.skiptrain._visible = false;
}
}
}
movieClip 432 {
}
instance of movieClip 432 {
onClipEvent (load) {
if (_root.curlevel < 7) {
_visible = false;
} else {
_visible = true;
}
}
}
movieClip 435 {
}
instance of movieClip 435 {
onClipEvent (load) {
if (_root.curlevel < 7) {
_visible = false;
} else {
_visible = true;
}
}
}
button 436 {
on (release) {
_root.sponsorLink('LevelComplete');
}
}
button 437 {
on (release) {
_root.apLink('LevelComplete');
}
}
// unknown tag 88 length 146
movieClip 441 {
frame 1 {
stop();
_visible = false;
}
frame 2 {
System.security.allowInsecureDomain('http://www.notdoppler.com');
System.security.allowDomain('http://www.notdoppler.com');
this.createEmptyMovieClip('highscores', this.getNextHighestDepth());
_root.hs_hash = 'fl3m_uP_Ebri8zi8#' + _root.hs_game + _root.hs_score + '2I2RI3tH6ahl?';
this.highscores.loadMovie('http://www.notdoppler.com/highscores/highscores.swf');
}
}
instance hsloader of movieClip 441 {
onClipEvent (load) {
function loadHighscores() {
this._visible = true;
this.gotoAndStop(2);
}
function unloadHighscores() {
this._visible = false;
this.highscores.removeMovieClip();
this.gotoAndStop(1);
}
_root.hs_view = 2;
}
}
movieClip 442 {
}
frame 5 {
stop();
}
frame 6 {
_root.gotoAndStop(3);
}
frame 8 {
stop();
}
movieClip 444 {
}
button 448 {
on (release) {
_root.gotoAndStop(2);
}
}
button 452 {
on (release) {
_root.otherLink('http://www.notdoppler.com/linegame-orangeedition.php', 'CompletedPlayOrange');
}
}
button 455 {
on (release) {
_root.otherLink('http://www.notdoppler.com/linegame-limeedition.php', 'CompletedPlayLime');
}
}
button 457 {
on (release) {
_root.sponsorLink('Completed');
}
}
movieClip 459 {
}
movieClip 460 {
frame 28 {
stop();
}
}