Frame 1
function Grab_decode(toDecode) {
if ((toDecode == undefined) || (toDecode == "")) {
return("");
}
_root.Grab_equalSign = false;
var _local1 = new Array();
_local1 = Base64toBinary(toDecode);
var _local2 = "decode";
var _local3 = XOR_decode(_local2, _local1, _root.secWord);
return(_local3);
}
function Grab_encode(toEncode) {
var _local2 = toEncode;
if ((_local2 == undefined) || (_local2 == "")) {
return("");
}
var _local3 = "encode";
var _local1 = new Array();
_local1 = XOR_encode(_local3, _local2, _root.secWord);
var out = intToBin_enc(_local1);
return(out);
}
function encodeBase64(n) {
var _local1 = base64.charAt(n);
return(_local1);
}
function XOR_encode(code, myString, secWord) {
var len = (myString.length - 1);
var secLen = (secWord.length - 1);
var _local2 = -1;
var _local3;
var charString;
var foo;
var xor_enc_array = new Array();
var _local1 = 0;
while (_local1 <= len) {
_local2++;
if (_local2 > secLen) {
_local2 = 0;
}
_local3 = secWord.charCodeAt(_local2);
charString = myString.charCodeAt(_local1);
foo = _local3 ^ charString;
xor_enc_array[_local1] = foo;
_local1++;
}
return(xor_enc_array);
}
function XOR_decode(code, myArray, secWord) {
var len = (myArray.length - 1);
var secLen = (secWord.length - 1);
var _local2 = -1;
var _local3;
var charString;
var foo;
var encoded = "";
var xor_enc_array = new Array();
var _local1 = 0;
while (_local1 <= len) {
_local2++;
if (_local2 > secLen) {
_local2 = 0;
}
_local3 = secWord.charCodeAt(_local2);
charString = myArray[_local1];
foo = _local3 ^ charString;
encoded = encoded + String.fromCharCode(foo);
_local1++;
}
if (_root.Grab_equalSign) {
encoded = encoded.substring(0, len);
}
return(encoded);
}
function toBinary(val) {
var _local1 = val;
var _local3 = "";
var _local2;
var p;
var bit = 0;
while (bit < 8) {
_local2 = _local1 % 2;
_local2 = _local2.toString();
p = _local2.indexOf(".");
if (p != -1) {
_local2 = _local2.substring(0, p);
}
_local2 = Number(_local2);
if (_local2 == 0) {
_local3 = _local3 + "0";
} else {
_local3 = _local3 + "1";
}
_local1 = _local1 / 2;
_local1 = _local1.toString();
p = _local1.indexOf(".");
if (p != -1) {
_local1 = _local1.substring(0, p);
}
_local1 = Number(_local1);
bit++;
}
var tmp = _local3;
_local3 = "";
var i = 7;
while (i >= 0) {
_local3 = _local3 + tmp.slice(i, i + 1);
i--;
}
return(_local3);
}
function intToBin_enc(codedArray) {
var len = (codedArray.length - 1);
var _local2;
var _local3;
var binString = "";
var _local1 = 0;
while (_local1 <= len) {
_local2 = codedArray[_local1];
_local3 = toBinary(_local2);
binString = binString + _local3;
_local1++;
}
var out = binToBase64(binString);
return(out);
}
function binToBase64(bin) {
var len = bin.length;
var j = 0;
var _local2 = new Array();
var z = 0;
var Base64OutString;
var i = 0;
while (i <= (len - 1)) {
if (j < 6) {
j++;
} else {
j = 1;
z++;
}
if (_local2[z] == undefined) {
_local2[z] = "";
}
_local2[z] = _local2[z] + bin.charAt(i);
i++;
}
if (j == 2) {
needed = 2;
}
if (j == 6) {
needed = 0;
}
if (j == 4) {
needed = 1;
}
var binLen = _local2.length;
var _local1 = 0;
while (_local1 <= (binLen - 1)) {
var elemLen = (_local2[_local1].length - 1);
if (elemLen < 5) {
var addN = (4 - elemLen);
var _local3 = 0;
while (_local3 <= addN) {
if (_local2[_local1] == undefined) {
_local2[_local1] = "";
}
_local2[_local1] = _local2[_local1] + "0";
_local3++;
}
}
_local1++;
}
var out = bin6ToInt(_local2, needed);
return(out);
}
function bin6ToInt(myArray, needed) {
var len = myArray.length;
var n;
var _local2;
var outArray = new Array();
var t = 0;
var digit;
var binLen;
var Base64OutString = "";
var _local1 = 0;
while (_local1 <= (len - 1)) {
n = myArray[_local1];
outArray[_local1] = 0;
digitVal = 1;
binLen = n.length;
var _local3 = binLen - 1;
while (_local3 >= 0) {
_local2 = n.charAt(_local3);
_local2 = Number(_local2);
_local2 = _local2 * digitVal;
if (outArray[_local1] == undefined) {
outArray[_local1] = "";
}
outArray[_local1] = outArray[_local1] + _local2;
digitVal = digitVal * 2;
_local3--;
}
Base64OutString = Base64OutString + encodeBase64(outArray[_local1]);
_local1++;
}
var kk = needed;
while (kk >= 1) {
Base64OutString = Base64OutString + "-";
kk--;
}
return(Base64OutString);
}
function Base64toBinary(sentText) {
var _local3;
var _local2 = new Array();
var binString = "";
var _local1 = 0;
while (_local1 <= (sentText.length - 1)) {
_local3 = sentText.charAt(_local1);
if (_local3 != "-") {
_local2[_local1] = decodeBase64(_local3);
_local2[_local1] = toBinary(_local2[_local1]);
_local2[_local1] = _local2[_local1].substring(2);
binString = binString + _local2[_local1];
} else {
_root.Grab_equalSign = true;
}
_local1++;
}
var decodedArray = new Array();
decodedArray = sixToEightBit(binString);
return(decodedArray);
}
function sixToEightBit(binString) {
var j = 0;
var _local2 = 0;
var _local3 = new Array();
var len = (binString.length - 1);
var _local1 = 0;
while (_local1 <= len) {
if (j < 8) {
j++;
} else {
j = 1;
_local2++;
}
var char = binString.charAt(_local1);
if (_local3[_local2] == undefined) {
_local3[_local2] = "";
}
_local3[_local2] = _local3[_local2] + char;
_local1++;
}
var decodedArray = new Array();
decodedArray = binToInt8(_local3, 0);
return(decodedArray);
}
function binToInt8(myArray, needed) {
var len = myArray.length;
var n;
var _local1;
var outArray = new Array();
var k;
var digit;
var binLen;
var decoded;
var digitVal;
var _local2 = 0;
while (_local2 <= (len - 1)) {
n = myArray[_local2];
digitVal = 1;
binLen = n.length;
var _local3 = binLen - 1;
while (_local3 >= 0) {
_local1 = n.charAt(_local3);
_local1 = Number(_local1);
_local1 = _local1 * digitVal;
if (outArray[_local2] == undefined) {
outArray[_local2] = 0;
}
outArray[_local2] = outArray[_local2] + _local1;
digitVal = digitVal * 2;
_local3--;
}
_local2++;
}
return(outArray);
}
function intToText(decodedArray) {
var len = (decodedArray.length - 1);
var _local3 = "";
var _local2;
var _local1 = 0;
while (_local1 <= len) {
_local2 = decodedArray[_local1];
_local3 = _local3 + String.fromCharCode(_local2);
_local1++;
}
return(_local3);
}
function decodeBase64(c) {
var _local1 = base64.indexOf(c);
return(_local1);
}
function mix_chk(v, shimUrl) {
var _local2 = v;
var u = shimUrl;
if (u == undefined) {
} else if (u.indexOf("http://") != 0) {
} else {
u = u.substring(7);
var n = u.indexOf("/");
u = u.substring(0, n);
_local2 = Grab_decode(_local2);
if ((_local2 == undefined) || (_local2 == "")) {
} else {
_local2 = _local2.split(",");
var len = (_local2.length - 1);
var _local1 = 0;
while (_local1 <= len) {
if (((_local2[_local1] == undefined) || (_local2[_local1] == "")) || (_local2[_local1] == null)) {
return;
}
var _local3 = u.indexOf(_local2[_local1]);
if ((_local3 != -1) && (_local3 != undefined)) {
gotoAndPlay ("testLoad");
return;
}
_local1++;
}
}
}
}
function grab_shm_int() {
if ((grab_sec_mc.getBytesTotal() > 0) && (grab_sec_mc.getBytesLoaded() == grab_sec_mc.getBytesTotal())) {
var _local2 = grab_sec_mc._url;
var _local1 = grab_sec_mc.v;
if (((_local1 != undefined) && (_local1 != null)) && (_local1 != "")) {
_root.mix_chk(grab_sec_mc.v, _local2);
clearInterval(grab_int);
}
}
}
function grab_security() {
grab_sec_mc._visible = false;
var _local1 = Math.ceil(Math.random() * 1000);
grab_sec_mc.loadMovie("./mix_license.swf?cacheKiller=" + _local1);
grab_int = setInterval(grab_shm_int, 200);
}
base64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789._";
secWord = "Gh6789FFgddg87dfj7";
gameID = "283EDF02";
if (grab_ccode == undefined) {
grab_ccode = "";
}
Stage.showMenu = false;
stop();
grab_security();
Stage.showMenu = false;
Frame 2
if (_framesloaded >= _totalframes) {
gotoAndStop (16);
} else {
play();
}
Frame 3
gotoAndStop ("testLoad");
Frame 16
timeNow = "5:00";
manyLeft = 3;
money = 0;
newCoin.gotoAndStop(4);
stop();
Frame 17
stop();
Frame 18
ml.onRelease = function () {
_root.gotoAndPlay("startGame");
};
dl.onRelease = function () {
getURL ("/download/go.cfm?game=" + _root.gameID, "_self");
txt.txt = "Start Game!";
dl.onPress = function () {
_root.gotoAndPlay("startGame");
};
};
dl.onRollOver = function () {
txt._xscale = (txt._yscale = 105);
};
dl.onRollOut = function () {
txt._xscale = (txt._yscale = 100);
};
stop();
Frame 19
function LevelRandom() {
var _local1 = _root;
i = 0;
while (i < 60) {
do {
RxRand = Math.round((Math.random() * randV1) + randV2);
_local1["g" + i].kind = RxRand;
_local1["g" + i].gotoAndStop([RxRand]);
RxRand = Math.round((Math.random() * randV1) + randV2);
_local1["g" + (i + 1)].gotoAndStop([RxRand]);
_local1["g" + (i + 1)].kind = RxRand;
RxRand = Math.round((Math.random() * randV1) + randV2);
_local1["g" + (i + 2)].gotoAndStop([RxRand]);
_local1["g" + (i + 2)].kind = RxRand;
RxRand = Math.round((Math.random() * randV1) + randV2);
_local1["g" + (i + 3)].gotoAndStop([RxRand]);
_local1["g" + (i + 3)].kind = RxRand;
RxRand = Math.round((Math.random() * randV1) + randV2);
_local1["g" + (i + 4)].gotoAndStop([RxRand]);
_local1["g" + (i + 4)].kind = RxRand;
RxRand = Math.round((Math.random() * randV1) + randV2);
_local1["g" + (i + 5)].gotoAndStop([RxRand]);
_local1["g" + (i + 5)].kind = RxRand;
} while (((((((((((((((((_local1["g" + i].kind == _local1["g" + (i + 1)].kind) && (_local1["g" + (i + 1)].kind == _local1["g" + (i + 2)].kind)) && (_local1["g" + (i + 2)].kind == _local1["g" + (i + 3)].kind)) && (_local1["g" + (i + 3)].kind == _local1["g" + (i + 4)].kind)) && (_local1["g" + (i + 4)].kind == _local1["g" + (i + 5)].kind)) || (_local1["g" + i].kind == _local1["g" + (i + 10)].kind)) || (_local1["g" + i].kind == _local1["g" + (i - 50)].kind)) || (_local1["g" + (i + 1)].kind == _local1["g" + ((i + 1) + 10)].kind)) || (_local1["g" + (i + 1)].kind == _local1["g" + ((i + 1) - 50)].kind)) || (_local1["g" + (i + 2)].kind == _local1["g" + ((i + 2) + 10)].kind)) || (_local1["g" + (i + 2)].kind == _local1["g" + ((i + 2) - 50)].kind)) || (_local1["g" + (i + 3)].kind == _local1["g" + ((i + 3) + 10)].kind)) || (_local1["g" + (i + 3)].kind == _local1["g" + ((i + 3) - 50)].kind)) || (_local1["g" + (i + 4)].kind == _local1["g" + ((i + 4) + 10)].kind)) || (_local1["g" + (i + 4)].kind == _local1["g" + ((i + 4) - 50)].kind)) || (_local1["g" + (i + 5)].kind == _local1["g" + ((i + 5) + 10)].kind)) || (_local1["g" + (i + 5)].kind == _local1["g" + ((i + 5) - 50)].kind));
i = i + 10;
}
}
plusScore.gotoAndStop(33);
function gameTime() {
if (upsellNow == false) {
newTime = getTimer();
timeSeconds = 300 - ((newTime - startTime) / 1000);
Minutes = Math.floor(timeSeconds / 60);
realSeconds = Math.floor(timeSeconds - Math.floor(Minutes * 60));
if (realSeconds < 10) {
seconds = "0" + realSeconds;
} else {
seconds = realSeconds;
}
if ((timeSeconds > 0) && (timeSeconds < 11)) {
timeText.textColor = 16751103 /* 0xFF99FF */;
timeNow = (Minutes + ": ") + seconds;
beepIt();
} else if ((timeSeconds <= 0) && (gameEnd == false)) {
timeNow = "0:00";
gotoAndPlay ("endGame");
gameEnd = true;
} else {
if (timeSeconds <= 0) {
timeNow = "0:00";
} else {
timeNow = (Minutes + ": ") + seconds;
}
matchOld = match;
}
}
}
function ScoreAni() {
var _local1 = _root;
if ((score > scoreOld) && (waitForScoreAnimation == false)) {
if (coinValueChecked == false) {
coinValue = score - scoreOld;
scoreWord._xscale = 110;
scoreWord._yscale = 110;
}
if ((winKind == newCoin._currentframe) && (currentlevel != 1)) {
if (bonus == false) {
score = scoreOld + (currentLevel * coinValue);
bonusGraphic._visible = true;
bonusOne();
bonusValue = score - scoreOld;
coinValue = bonusValue;
valueShow = "+" + coinValue;
plusScore.gotoAndPlay(1);
}
coinValueChecked = true;
scoreOld = scoreOld + (bonusValue / 12);
kaChingOne();
money = "$" + Math.round(scoreOld);
bonus = true;
} else {
coinValueChecked = true;
scoreOld = scoreOld + (coinValue / 6);
kaChingOne();
money = "$" + scoreOld;
valueShow = "+" + coinValue;
plusScore.gotoAndPlay(1);
}
if (score == scoreOld) {
if (_local1.match == _local1.LevelScore) {
levelChange = _local1._currentframe + 1;
_local1.gotoAndPlay(levelChange);
}
Playable = true;
coinValueChecked = false;
manyLeft = LevelScore - match;
scoreWord._xscale = 100;
scoreWord._yscale = 100;
bonus = false;
bonusGraphic._visible = false;
}
}
}
stop();
scoreOld = 0;
timeNow = "5:00";
coinValueChecked = false;
bonus = false;
bonusGraphic._visible = false;
gameEnd = false;
beep = new Sound();
beep.attachSound("beepID");
beepIt = function () {
beep.start(0, 1);
};
startTime = getTimer();
colorMatch = new Sound();
colorMatch.attachSound("colorMatchID");
goodOne = function () {
colorMatch.start(0, 2);
};
clickIt = new Sound();
clickIt.attachSound("clickItID");
clickOne = function () {
clickIt.start(0, 1);
};
bonusSound = new Sound();
bonusSound.attachSound("bonusID");
bonusOne = function () {
bonusSound.start(0, 1);
};
kaChing = new Sound();
kaChing.attachSound("kaChingID");
kaChingOne = function () {
kaChing.start(0, 1);
};
upsellNow = false;
deathTimer = 20;
matchOld = match;
timeInterval = setInterval(gameTime, 1000);
setInterval(ScoreAni, 60);
function matchTest1() {
var _local1 = _root;
i = 0;
while (i < 60) {
if (((((_local1["g" + i].kind == _local1["g" + (i + 1)].kind) && (_local1["g" + (i + 1)].kind == _local1["g" + (i + 2)].kind)) && (_local1["g" + (i + 2)].kind == _local1["g" + (i + 3)].kind)) && (_local1["g" + (i + 3)].kind == _local1["g" + (i + 4)].kind)) && (_local1["g" + (i + 4)].kind == _local1["g" + (i + 5)].kind)) {
waitForScoreAnimation = true;
if (_local1.winAnimation == 0) {
scoreOld = score;
winKind = _local1["g" + i].kind;
match++;
if (winKind == 2) {
_local1.score = _local1.score + 6;
} else if (winKind == 3) {
_local1.score = _local1.score + 12;
} else if (winKind == 4) {
_local1.score = _local1.score + 18;
} else if (winKind == 5) {
_local1.score = _local1.score + 30;
} else if (winKind == 6) {
_local1.score = _local1.score + 60;
} else if (winKind == 7) {
_local1.score = _local1.score + 90;
} else if (winKind == 8) {
_local1.score = _local1.score + 120;
} else if (winKind == 9) {
_local1.score = _local1.score + 150;
} else if (winKind == 10) {
_local1.score = _local1.score + 180;
} else if (winKind == 11) {
_local1.score = _local1.score + 210;
} else if (winKind == 12) {
_local1.score = _local1.score + 240;
}
_local1.colorMatch.start(0, 1);
}
_local1.winAnimation = 1;
_local1.Playable = false;
randCounter = 0;
do {
RxRand = Math.round((Math.random() * randV1) + randV2);
_local1["g" + i].kind = RxRand;
if (randCounter == 0) {
_local1["g" + i].gotoAndPlay("kindTwoWin");
}
RxRand = Math.round((Math.random() * randV1) + randV2);
if (randCounter == 0) {
_local1["g" + (i + 1)].gotoAndPlay("kindTwoWin");
}
_local1["g" + (i + 1)].kind = RxRand;
RxRand = Math.round((Math.random() * randV1) + randV2);
if (randCounter == 0) {
_local1["g" + (i + 2)].gotoAndPlay("kindTwoWin");
}
_local1["g" + (i + 2)].kind = RxRand;
RxRand = Math.round((Math.random() * randV1) + randV2);
if (randCounter == 0) {
_local1["g" + (i + 3)].gotoAndPlay("kindTwoWin");
}
_local1["g" + (i + 3)].kind = RxRand;
RxRand = Math.round((Math.random() * randV1) + randV2);
if (randCounter == 0) {
_local1["g" + (i + 4)].gotoAndPlay("kindTwoWin");
}
_local1["g" + (i + 4)].kind = RxRand;
RxRand = Math.round((Math.random() * randV1) + randV2);
if (randCounter == 0) {
_local1["g" + (i + 5)].gotoAndPlay("kindTwoWin");
}
_local1["g" + (i + 5)].kind = RxRand;
randCounter = 1;
} while (((((((((((((((((_local1["g" + i].kind == _local1["g" + (i + 1)].kind) && (_local1["g" + (i + 1)].kind == _local1["g" + (i + 2)].kind)) && (_local1["g" + (i + 2)].kind == _local1["g" + (i + 3)].kind)) && (_local1["g" + (i + 3)].kind == _local1["g" + (i + 4)].kind)) && (_local1["g" + (i + 4)].kind == _local1["g" + (i + 5)].kind)) || (_local1["g" + i].kind == _local1["g" + (i + 10)].kind)) || (_local1["g" + i].kind == _local1["g" + (i - 50)].kind)) || (_local1["g" + (i + 1)].kind == _local1["g" + ((i + 1) + 10)].kind)) || (_local1["g" + (i + 1)].kind == _local1["g" + ((i + 1) - 50)].kind)) || (_local1["g" + (i + 2)].kind == _local1["g" + ((i + 2) + 10)].kind)) || (_local1["g" + (i + 2)].kind == _local1["g" + ((i + 2) - 50)].kind)) || (_local1["g" + (i + 3)].kind == _local1["g" + ((i + 3) + 10)].kind)) || (_local1["g" + (i + 3)].kind == _local1["g" + ((i + 3) - 50)].kind)) || (_local1["g" + (i + 4)].kind == _local1["g" + ((i + 4) + 10)].kind)) || (_local1["g" + (i + 4)].kind == _local1["g" + ((i + 4) - 50)].kind)) || (_local1["g" + (i + 5)].kind == _local1["g" + ((i + 5) + 10)].kind)) || (_local1["g" + (i + 5)].kind == _local1["g" + ((i + 5) - 50)].kind));
}
i = i + 10;
}
_local1.winAnimation = 0;
i = 0;
while (i < 6) {
if (((((_local1["g" + i].kind == _local1["g" + (i + 10)].kind) && (_local1["g" + (i + 10)].kind == _local1["g" + (i + 20)].kind)) && (_local1["g" + (i + 20)].kind == _local1["g" + (i + 30)].kind)) && (_local1["g" + (i + 30)].kind == _local1["g" + (i + 40)].kind)) && (_local1["g" + (i + 40)].kind == _local1["g" + (i + 50)].kind)) {
waitForScoreAnimation = true;
if (_local1.winAnimation == 0) {
scoreOld = score;
winKind = _local1["g" + i].kind;
match++;
if (winKind == 2) {
_local1.score = _local1.score + 6;
} else if (winKind == 3) {
_local1.score = _local1.score + 12;
} else if (winKind == 4) {
_local1.score = _local1.score + 18;
} else if (winKind == 5) {
_local1.score = _local1.score + 30;
} else if (winKind == 6) {
_local1.score = _local1.score + 60;
} else if (winKind == 7) {
_local1.score = _local1.score + 90;
} else if (winKind == 8) {
_local1.score = _local1.score + 120;
} else if (winKind == 9) {
_local1.score = _local1.score + 150;
} else if (winKind == 10) {
_local1.score = _local1.score + 180;
} else if (winKind == 11) {
_local1.score = _local1.score + 210;
} else if (winKind == 12) {
_local1.score = _local1.score + 240;
}
_local1.colorMatch.start(0, 1);
}
_local1.winAnimation = 1;
_local1.Playable = false;
randCounter = 0;
do {
RxRand = Math.round((Math.random() * randV1) + randV2);
_local1["g" + i].kind = RxRand;
if (randCounter == 0) {
_local1["g" + i].gotoAndPlay("kindTwoWin");
}
RxRand = Math.round((Math.random() * randV1) + randV2);
if (randCounter == 0) {
_local1["g" + (i + 10)].gotoAndPlay("kindTwoWin");
}
_local1["g" + (i + 10)].kind = RxRand;
RxRand = Math.round((Math.random() * randV1) + randV2);
if (randCounter == 0) {
_local1["g" + (i + 20)].gotoAndPlay("kindTwoWin");
}
_local1["g" + (i + 20)].kind = RxRand;
RxRand = Math.round((Math.random() * randV1) + randV2);
if (randCounter == 0) {
_local1["g" + (i + 30)].gotoAndPlay("kindTwoWin");
}
_local1["g" + (i + 30)].kind = RxRand;
RxRand = Math.round((Math.random() * randV1) + randV2);
if (randCounter == 0) {
_local1["g" + (i + 40)].gotoAndPlay("kindTwoWin");
}
_local1["g" + (i + 40)].kind = RxRand;
RxRand = Math.round((Math.random() * randV1) + randV2);
if (randCounter == 0) {
_local1["g" + (i + 50)].gotoAndPlay("kindTwoWin");
}
_local1["g" + (i + 50)].kind = RxRand;
randCounter = 1;
} while (((((((((((((((((_local1["g" + i].kind == _local1["g" + (i + 10)].kind) && (_local1["g" + (i + 10)].kind == _local1["g" + (i + 20)].kind)) && (_local1["g" + (i + 20)].kind == _local1["g" + (i + 30)].kind)) && (_local1["g" + (i + 30)].kind == _local1["g" + (i + 40)].kind)) && (_local1["g" + (i + 40)].kind == _local1["g" + (i + 50)].kind)) || (_local1["g" + i].kind == _local1["g" + (i + 1)].kind)) || (_local1["g" + i].kind == _local1["g" + (i - 5)].kind)) || (_local1["g" + (i + 10)].kind == _local1["g" + ((i + 10) + 1)].kind)) || (_local1["g" + (i + 10)].kind == _local1["g" + ((i + 10) - 5)].kind)) || (_local1["g" + (i + 20)].kind == _local1["g" + ((i + 20) + 1)].kind)) || (_local1["g" + (i + 20)].kind == _local1["g" + ((i + 20) - 5)].kind)) || (_local1["g" + (i + 30)].kind == _local1["g" + ((i + 30) + 1)].kind)) || (_local1["g" + (i + 30)].kind == _local1["g" + ((i + 30) - 5)].kind)) || (_local1["g" + (i + 40)].kind == _local1["g" + ((i + 40) + 1)].kind)) || (_local1["g" + (i + 40)].kind == _local1["g" + ((i + 40) - 5)].kind)) || (_local1["g" + (i + 50)].kind == _local1["g" + ((i + 50) + 1)].kind)) || (_local1["g" + (i + 50)].kind == _local1["g" + ((i + 50) - 5)].kind));
}
i++;
}
_local1.winAnimation = 0;
}
Level = 1;
currentLevel = 1;
levelShow = "Level " + currentLevel;
newKind = 56;
waitForScoreAnimation = false;
randCounter = 0;
newCoin.gotoAndStop(4);
randV1 = 2;
randV2 = 2;
match = 0;
LevelScore = 3;
manyLeft = LevelScore;
Playable = true;
score = 0;
money = "$" + scoreOld;
winAnimation = 0;
level2._visible = false;
g0.gotoAndStop(1);
g0.kind = 1;
g1.gotoAndStop(2);
g1.kind = 2;
g2.gotoAndStop(2);
g2.kind = 2;
g3.gotoAndStop(3);
g3.kind = 3;
g4.gotoAndStop(2);
g4.kind = 2;
g5.gotoAndStop(2);
g5.kind = 2;
g10.gotoAndStop(3);
g10.kind = 3;
g11.gotoAndStop(4);
g11.kind = 4;
g12.gotoAndStop(3);
g12.kind = 3;
g13.gotoAndStop(4);
g13.kind = 4;
g14.gotoAndStop(2);
g14.kind = 2;
g15.gotoAndStop(4);
g15.kind = 4;
g20.gotoAndStop(3);
g20.kind = 3;
g21.gotoAndStop(3);
g21.kind = 3;
g22.gotoAndStop(3);
g22.kind = 3;
g23.gotoAndStop(2);
g23.kind = 2;
g24.gotoAndStop(4);
g24.kind = 4;
g25.gotoAndStop(4);
g25.kind = 4;
g30.gotoAndStop(3);
g30.kind = 3;
g31.gotoAndStop(2);
g31.kind = 2;
g32.gotoAndStop(4);
g32.kind = 4;
g33.gotoAndStop(3);
g33.kind = 3;
g34.gotoAndStop(2);
g34.kind = 2;
g35.gotoAndStop(4);
g35.kind = 4;
g40.gotoAndStop(3);
g40.kind = 3;
g41.gotoAndStop(3);
g41.kind = 3;
g42.gotoAndStop(4);
g42.kind = 4;
g43.gotoAndStop(3);
g43.kind = 3;
g44.gotoAndStop(2);
g44.kind = 2;
g45.gotoAndStop(4);
g45.kind = 4;
g50.gotoAndStop(3);
g50.kind = 3;
g51.gotoAndStop(2);
g51.kind = 2;
g52.gotoAndStop(3);
g52.kind = 3;
g53.gotoAndStop(4);
g53.kind = 4;
g54.gotoAndStop(2);
g54.kind = 2;
g55.gotoAndStop(4);
g55.kind = 4;
farty._visible = false;
LevelRandom();
g0.gotoAndStop(1);
g0.kind = 1;
Instance of Symbol 85 MovieClip "g0" in Frame 19
onClipEvent (load) {
myI = 0;
myJ = 0;
myLoc = 0;
}
on (press) {
_root.dummy.CandyCode(myLoc, kind);
}
Instance of Symbol 85 MovieClip "g1" in Frame 19
onClipEvent (load) {
myI = 0;
myJ = 0;
myLoc = 1;
}
on (press) {
_root.dummy.CandyCode(myLoc, kind);
}
Instance of Symbol 85 MovieClip "g3" in Frame 19
onClipEvent (load) {
myI = 0;
myJ = 0;
myLoc = 3;
}
on (press) {
_root.dummy.CandyCode(myLoc, kind);
}
Instance of Symbol 85 MovieClip "g4" in Frame 19
onClipEvent (load) {
myI = 0;
myJ = 0;
myLoc = 4;
}
on (press) {
_root.dummy.CandyCode(myLoc, kind);
}
Instance of Symbol 85 MovieClip "g5" in Frame 19
onClipEvent (load) {
myI = 0;
myJ = 0;
myLoc = 5;
}
on (press) {
_root.dummy.CandyCode(myLoc, kind);
}
Instance of Symbol 85 MovieClip "g2" in Frame 19
onClipEvent (load) {
myI = 0;
myJ = 0;
myLoc = 2;
}
on (press) {
_root.dummy.CandyCode(myLoc, kind);
}
Instance of Symbol 85 MovieClip "g10" in Frame 19
onClipEvent (load) {
myI = 0;
myJ = 0;
myLoc = 10;
}
on (press) {
_root.dummy.CandyCode(myLoc, kind);
}
Instance of Symbol 85 MovieClip "g11" in Frame 19
onClipEvent (load) {
myI = 0;
myJ = 0;
myLoc = 11;
}
on (press) {
_root.dummy.CandyCode(myLoc, kind);
}
Instance of Symbol 85 MovieClip "g13" in Frame 19
onClipEvent (load) {
myI = 0;
myJ = 0;
myLoc = 13;
}
on (press) {
_root.dummy.CandyCode(myLoc, kind);
}
Instance of Symbol 85 MovieClip "g14" in Frame 19
onClipEvent (load) {
myI = 0;
myJ = 0;
myLoc = 14;
}
on (press) {
_root.dummy.CandyCode(myLoc, kind);
}
Instance of Symbol 85 MovieClip "g15" in Frame 19
onClipEvent (load) {
myI = 0;
myJ = 0;
myLoc = 15;
}
on (press) {
_root.dummy.CandyCode(myLoc, kind);
}
Instance of Symbol 85 MovieClip "g12" in Frame 19
onClipEvent (load) {
myI = 0;
myJ = 0;
myLoc = 12;
}
on (press) {
_root.dummy.CandyCode(myLoc, kind);
}
Instance of Symbol 85 MovieClip "g20" in Frame 19
onClipEvent (load) {
myI = 0;
myJ = 0;
myLoc = 20;
}
on (press) {
_root.dummy.CandyCode(myLoc, kind);
}
Instance of Symbol 85 MovieClip "g21" in Frame 19
onClipEvent (load) {
myI = 0;
myJ = 0;
myLoc = 21;
}
on (press) {
_root.dummy.CandyCode(myLoc, kind);
}
Instance of Symbol 85 MovieClip "g23" in Frame 19
onClipEvent (load) {
myI = 0;
myJ = 0;
myLoc = 23;
}
on (press) {
_root.dummy.CandyCode(myLoc, kind);
}
Instance of Symbol 85 MovieClip "g24" in Frame 19
onClipEvent (load) {
myI = 0;
myJ = 0;
myLoc = 24;
}
on (press) {
_root.dummy.CandyCode(myLoc, kind);
}
Instance of Symbol 85 MovieClip "g25" in Frame 19
onClipEvent (load) {
myI = 0;
myJ = 0;
myLoc = 25;
}
on (press) {
_root.dummy.CandyCode(myLoc, kind);
}
Instance of Symbol 85 MovieClip "g22" in Frame 19
onClipEvent (load) {
myI = 0;
myJ = 0;
myLoc = 22;
}
on (press) {
_root.dummy.CandyCode(myLoc, kind);
}
Instance of Symbol 85 MovieClip "g30" in Frame 19
onClipEvent (load) {
myI = 0;
myJ = 0;
myLoc = 30;
}
on (press) {
_root.dummy.CandyCode(myLoc, kind);
}
Instance of Symbol 85 MovieClip "g31" in Frame 19
onClipEvent (load) {
myI = 0;
myJ = 0;
myLoc = 31;
}
on (press) {
_root.dummy.CandyCode(myLoc, kind);
}
Instance of Symbol 85 MovieClip "g33" in Frame 19
onClipEvent (load) {
myI = 0;
myJ = 0;
myLoc = 33;
}
on (press) {
_root.dummy.CandyCode(myLoc, kind);
}
Instance of Symbol 85 MovieClip "g34" in Frame 19
onClipEvent (load) {
myI = 0;
myJ = 0;
myLoc = 34;
}
on (press) {
_root.dummy.CandyCode(myLoc, kind);
}
Instance of Symbol 85 MovieClip "g35" in Frame 19
onClipEvent (load) {
myI = 0;
myJ = 0;
myLoc = 35;
}
on (press) {
_root.dummy.CandyCode(myLoc, kind);
}
Instance of Symbol 85 MovieClip "g32" in Frame 19
onClipEvent (load) {
myI = 0;
myJ = 0;
myLoc = 32;
}
on (press) {
_root.dummy.CandyCode(myLoc, kind);
}
Instance of Symbol 85 MovieClip "g40" in Frame 19
onClipEvent (load) {
myI = 0;
myJ = 0;
myLoc = 40;
}
on (press) {
_root.dummy.CandyCode(myLoc, kind);
}
Instance of Symbol 85 MovieClip "g41" in Frame 19
onClipEvent (load) {
myI = 0;
myJ = 0;
myLoc = 41;
}
on (press) {
_root.dummy.CandyCode(myLoc, kind);
}
Instance of Symbol 85 MovieClip "g43" in Frame 19
onClipEvent (load) {
myI = 0;
myJ = 0;
myLoc = 43;
}
on (press) {
_root.dummy.CandyCode(myLoc, kind);
}
Instance of Symbol 85 MovieClip "g44" in Frame 19
onClipEvent (load) {
myI = 0;
myJ = 0;
myLoc = 44;
}
on (press) {
_root.dummy.CandyCode(myLoc, kind);
}
Instance of Symbol 85 MovieClip "g45" in Frame 19
onClipEvent (load) {
myI = 0;
myJ = 0;
myLoc = 45;
}
on (press) {
_root.dummy.CandyCode(myLoc, kind);
}
Instance of Symbol 85 MovieClip "g42" in Frame 19
onClipEvent (load) {
myI = 0;
myJ = 0;
myLoc = 42;
}
on (press) {
_root.dummy.CandyCode(myLoc, kind);
}
Instance of Symbol 85 MovieClip "g50" in Frame 19
onClipEvent (load) {
myI = 0;
myJ = 0;
myLoc = 50;
}
on (press) {
_root.dummy.CandyCode(myLoc, kind);
}
Instance of Symbol 85 MovieClip "g51" in Frame 19
onClipEvent (load) {
myI = 0;
myJ = 0;
myLoc = 51;
}
on (press) {
_root.dummy.CandyCode(myLoc, kind);
}
Instance of Symbol 85 MovieClip "g53" in Frame 19
onClipEvent (load) {
myI = 0;
myJ = 0;
myLoc = 53;
}
on (press) {
_root.dummy.CandyCode(myLoc, kind);
}
Instance of Symbol 85 MovieClip "g54" in Frame 19
onClipEvent (load) {
myI = 0;
myJ = 0;
myLoc = 54;
}
on (press) {
_root.dummy.CandyCode(myLoc, kind);
}
Instance of Symbol 85 MovieClip "g55" in Frame 19
onClipEvent (load) {
myI = 0;
myJ = 0;
myLoc = 55;
}
on (press) {
_root.dummy.CandyCode(myLoc, kind);
}
Instance of Symbol 85 MovieClip "g52" in Frame 19
onClipEvent (load) {
myI = 0;
myJ = 0;
myLoc = 52;
}
on (press) {
_root.dummy.CandyCode(myLoc, kind);
}
Instance of Symbol 130 MovieClip "dummy" in Frame 19
onClipEvent (load) {
function CandyCode(myLoc, kind) {
var _local1 = _root;
var _local2 = myLoc;
var _local3 = kind;
_local1.farty._visible = true;
if (_local1.Playable == true) {
if (_local1["g" + (_local2 + 10)].kind == 1) {
_local1.clickOne();
_local1["g" + _local2].gotoAndStop(1);
_local1["g" + (_local2 + 10)].gotoAndStop(aniFrame);
_local1["g" + (_local2 + 10)].gotoAndStop([_local3]);
_local1["g" + (_local2 + 10)].kind = _local1["g" + _local2].kind;
_local1["g" + _local2].kind = 1;
}
if (_local1["g" + (_local2 - 10)].kind == 1) {
_local1.clickOne();
_local1["g" + _local2].gotoAndStop(1);
_local1["g" + (_local2 - 10)].gotoAndStop(aniFrame);
_local1["g" + (_local2 - 10)].gotoAndStop([_local3]);
_local1["g" + (_local2 - 10)].kind = _local1["g" + _local2].kind;
_local1["g" + _local2].kind = 1;
}
if (_local1["g" + (_local2 - 1)].kind == 1) {
_local1.clickOne();
_local1["g" + _local2].gotoAndStop(1);
_local1["g" + (_local2 - 1)].gotoAndStop(aniFrame);
_local1["g" + (_local2 - 1)].gotoAndStop([_local3]);
_local1["g" + (_local2 - 1)].kind = _local1["g" + _local2].kind;
_local1["g" + _local2].kind = 1;
}
if (_local1["g" + (_local2 + 1)].kind == 1) {
_local1.clickOne();
_local1["g" + _local2].gotoAndStop(1);
_local1["g" + (_local2 + 1)].gotoAndStop(aniFrame);
_local1["g" + (_local2 + 1)].gotoAndStop([_local3]);
_local1["g" + (_local2 + 1)].kind = _local1["g" + _local2].kind;
_local1["g" + _local2].kind = 1;
}
if ((_local2 % 10) != 0) {
if (_local1["g" + (_local2 - 5)].kind == 1) {
_local1.clickOne();
i = 0;
while (i < 5) {
_local1["g" + (_local2 - (5 - i))].gotoAndStop("aniFrame");
_local1["g" + (_local2 - (5 - i))].gotoAndStop(_local1["g" + (_local2 - (4 - i))].kind);
_local1["g" + (_local2 - (5 - i))].kind = _local1["g" + (_local2 - (4 - i))].kind;
i++;
}
_local1["g" + _local2].gotoAndStop(1);
_local1["g" + _local2].kind = 1;
}
}
if (_local1["g" + (_local2 - 4)].kind == 1) {
_local1.clickOne();
i = 0;
while (i < 4) {
_local1["g" + (_local2 - (4 - i))].gotoAndStop("aniFrame");
_local1["g" + (_local2 - (4 - i))].gotoAndStop(_local1["g" + (_local2 - (3 - i))].kind);
_local1["g" + (_local2 - (4 - i))].kind = _local1["g" + (_local2 - (3 - i))].kind;
i++;
}
_local1["g" + _local2].gotoAndStop(1);
_local1["g" + _local2].kind = 1;
}
if (_local1["g" + (_local2 - 3)].kind == 1) {
_local1.clickOne();
i = 0;
while (i < 3) {
_local1["g" + (_local2 - (3 - i))].gotoAndStop("aniFrame");
_local1["g" + (_local2 - (3 - i))].gotoAndStop(_local1["g" + (_local2 - (2 - i))].kind);
_local1["g" + (_local2 - (3 - i))].kind = _local1["g" + (_local2 - (2 - i))].kind;
i++;
}
_local1["g" + _local2].gotoAndStop(1);
_local1["g" + _local2].kind = 1;
}
if (_local1["g" + (_local2 - 2)].kind == 1) {
_local1.clickOne();
i = 0;
while (i < 2) {
_local1["g" + (_local2 - (2 - i))].gotoAndStop("aniFrame");
_local1["g" + (_local2 - (2 - i))].gotoAndStop(_local1["g" + (_local2 - (1 - i))].kind);
_local1["g" + (_local2 - (2 - i))].kind = _local1["g" + (_local2 - (1 - i))].kind;
i++;
}
_local1["g" + _local2].gotoAndStop(1);
_local1["g" + _local2].kind = 1;
}
if ((_local2 % 10) == 0) {
if (_local1["g" + (_local2 + 5)].kind == 1) {
_local1.clickOne();
i = 0;
while (i < 5) {
_local1["g" + (_local2 + (5 - i))].gotoAndStop("aniFrame");
_local1["g" + (_local2 + (5 - i))].gotoAndStop(_local1["g" + (_local2 + (4 - i))].kind);
_local1["g" + (_local2 + (5 - i))].kind = _local1["g" + (_local2 + (4 - i))].kind;
i++;
}
_local1["g" + _local2].gotoAndStop(1);
_local1["g" + _local2].kind = 1;
}
}
if (_local1["g" + (_local2 + 4)].kind == 1) {
_local1.clickOne();
i = 0;
while (i < 4) {
_local1["g" + (_local2 + (4 - i))].gotoAndStop("aniFrame");
_local1["g" + (_local2 + (4 - i))].gotoAndStop(_local1["g" + (_local2 + (3 - i))].kind);
_local1["g" + (_local2 + (4 - i))].kind = _local1["g" + (_local2 + (3 - i))].kind;
i++;
}
_local1["g" + _local2].gotoAndStop(1);
_local1["g" + _local2].kind = 1;
}
if (_local1["g" + (_local2 + 3)].kind == 1) {
_local1.clickOne();
i = 0;
while (i < 3) {
_local1["g" + (_local2 + (3 - i))].gotoAndStop("aniFrame");
_local1["g" + (_local2 + (3 - i))].gotoAndStop(_local1["g" + (_local2 + (2 - i))].kind);
_local1["g" + (_local2 + (3 - i))].kind = _local1["g" + (_local2 + (2 - i))].kind;
i++;
}
_local1["g" + _local2].gotoAndStop(1);
_local1["g" + _local2].kind = 1;
}
if (_local1["g" + (_local2 + 2)].kind == 1) {
_local1.clickOne();
i = 0;
while (i < 2) {
_local1["g" + (_local2 + (2 - i))].gotoAndStop("aniFrame");
_local1["g" + (_local2 + (2 - i))].gotoAndStop(_local1["g" + (_local2 + (1 - i))].kind);
_local1["g" + (_local2 + (2 - i))].kind = _local1["g" + (_local2 + (1 - i))].kind;
i++;
}
_local1["g" + _local2].gotoAndStop(1);
_local1["g" + _local2].kind = 1;
}
if (_local1["g" + (_local2 - 50)].kind == 1) {
_local1.clickOne();
i = 0;
while (i < 50) {
_local1["g" + (_local2 - (50 - i))].gotoAndStop("aniFrame");
_local1["g" + (_local2 - (50 - i))].gotoAndStop(_local1["g" + (_local2 - (40 - i))].kind);
_local1["g" + (_local2 - (50 - i))].kind = _local1["g" + (_local2 - (40 - i))].kind;
i = i + 10;
}
_local1["g" + _local2].gotoAndStop(1);
_local1["g" + _local2].kind = 1;
}
if (_local1["g" + (_local2 - 40)].kind == 1) {
_local1.clickOne();
i = 0;
while (i < 40) {
_local1["g" + (_local2 - (40 - i))].gotoAndStop("aniFrame");
_local1["g" + (_local2 - (40 - i))].gotoAndStop(_local1["g" + (_local2 - (30 - i))].kind);
_local1["g" + (_local2 - (40 - i))].kind = _local1["g" + (_local2 - (30 - i))].kind;
i = i + 10;
}
_local1["g" + _local2].gotoAndStop(1);
_local1["g" + _local2].kind = 1;
}
if (_local1["g" + (_local2 - 30)].kind == 1) {
_local1.clickOne();
i = 0;
while (i < 30) {
_local1["g" + (_local2 - (30 - i))].gotoAndStop("aniFrame");
_local1["g" + (_local2 - (30 - i))].gotoAndStop(_local1["g" + (_local2 - (20 - i))].kind);
_local1["g" + (_local2 - (30 - i))].kind = _local1["g" + (_local2 - (20 - i))].kind;
i = i + 10;
}
_local1["g" + _local2].gotoAndStop(1);
_local1["g" + _local2].kind = 1;
}
if (_local1["g" + (_local2 - 20)].kind == 1) {
_local1.clickOne();
i = 0;
while (i < 20) {
_local1["g" + (_local2 - (20 - i))].gotoAndStop("aniFrame");
_local1["g" + (_local2 - (20 - i))].gotoAndStop(_local1["g" + (_local2 - (10 - i))].kind);
_local1["g" + (_local2 - (20 - i))].kind = _local1["g" + (_local2 - (10 - i))].kind;
i = i + 10;
}
_local1["g" + _local2].gotoAndStop(1);
_local1["g" + _local2].kind = 1;
}
if (_local1["g" + (_local2 + 50)].kind == 1) {
_local1.clickOne();
i = 0;
while (i < 50) {
_local1["g" + (_local2 + (50 - i))].gotoAndStop("aniFrame");
_local1["g" + (_local2 + (50 - i))].gotoAndStop(_local1["g" + (_local2 + (40 - i))].kind);
_local1["g" + (_local2 + (50 - i))].kind = _local1["g" + (_local2 + (40 - i))].kind;
i = i + 10;
}
_local1["g" + _local2].gotoAndStop(1);
_local1["g" + _local2].kind = 1;
}
if (_local1["g" + (_local2 + 40)].kind == 1) {
_local1.clickOne();
i = 0;
while (i < 40) {
_local1["g" + (_local2 + (40 - i))].gotoAndStop("aniFrame");
_local1["g" + (_local2 + (40 - i))].gotoAndStop(_local1["g" + (_local2 + (30 - i))].kind);
_local1["g" + (_local2 + (40 - i))].kind = _local1["g" + (_local2 + (30 - i))].kind;
i = i + 10;
}
_local1["g" + _local2].gotoAndStop(1);
_local1["g" + _local2].kind = 1;
}
if (_local1["g" + (_local2 + 30)].kind == 1) {
_local1.clickOne();
i = 0;
while (i < 30) {
_local1["g" + (_local2 + (30 - i))].gotoAndStop("aniFrame");
_local1["g" + (_local2 + (30 - i))].gotoAndStop(_local1["g" + (_local2 + (20 - i))].kind);
_local1["g" + (_local2 + (30 - i))].kind = _local1["g" + (_local2 + (20 - i))].kind;
i = i + 10;
}
_local1["g" + _local2].gotoAndStop(1);
_local1["g" + _local2].kind = 1;
}
if (_local1["g" + (_local2 + 20)].kind == 1) {
_local1.clickOne();
i = 0;
while (i < 20) {
_local1["g" + (_local2 + (20 - i))].gotoAndStop("aniFrame");
_local1["g" + (_local2 + (20 - i))].gotoAndStop(_local1["g" + (_local2 + (10 - i))].kind);
_local1["g" + (_local2 + (20 - i))].kind = _local1["g" + (_local2 + (10 - i))].kind;
i = i + 10;
}
_local1["g" + _local2].gotoAndStop(1);
_local1["g" + _local2].kind = 1;
}
}
_local1.matchTest1();
}
}
Frame 21
randV1 = 3;
randV2 = 2;
LevelScore = 3;
match = 0;
currentLevel = 2;
Playable = false;
Frame 23
stop();
Playable = true;
newCoin.gotoAndStop(5);
levelShow = "Level " + currentLevel;
manyLeft = LevelScore;
LevelRandom(randV1, randV2);
g0.gotoAndStop(1);
g0.kind = 1;
Frame 24
randV1 = 3;
randV2 = 3;
LevelScore = 3;
match = 0;
currentLevel = 3;
Playable = false;
Frame 26
stop();
Playable = true;
levelShow = "Level " + currentLevel;
manyLeft = LevelScore;
LevelRandom(randV1, randV2);
g0.gotoAndStop(1);
g0.kind = 1;
newCoin.gotoAndStop(6);
Frame 30
newCoin.gotoAndStop(7);
randV1 = 4;
randV2 = 3;
LevelScore = 3;
match = 0;
currentLevel = 4;
Frame 32
stop();
levelShow = "Level " + currentLevel;
newCoin.gotoAndStop(7);
manyLeft = LevelScore;
LevelRandom(randV1, randV2);
g0.gotoAndStop(1);
g0.kind = 1;
Frame 38
randV1 = 4;
randV2 = 4;
LevelScore = 3;
match = 0;
currentLevel = 5;
Frame 40
stop();
levelShow = "Level " + currentLevel;
newCoin.gotoAndStop(8);
manyLeft = LevelScore;
LevelRandom(randV1, randV2);
g0.gotoAndStop(1);
g0.kind = 1;
g55.gotoAndStop(25);
g55.kind = 25;
Frame 46
randV1 = 5;
randV2 = 4;
LevelScore = 3;
match = 0;
currentLevel = 6;
Frame 48
stop();
levelShow = "Level " + currentLevel;
newCoin.gotoAndStop(9);
manyLeft = LevelScore;
LevelRandom(randV1, randV2);
g0.gotoAndStop(1);
g0.kind = 1;
g50.gotoAndStop(25);
g50.kind = 25;
g22.gotoAndStop(26);
g22.kind = 26;
Frame 53
randV1 = 5;
randV2 = 5;
LevelScore = 3;
match = 0;
currentLevel = 7;
Frame 55
stop();
levelShow = "Level " + currentLevel;
newCoin.gotoAndStop(10);
manyLeft = LevelScore;
LevelRandom(randV1, randV2);
g0.gotoAndStop(1);
g0.kind = 1;
g34.gotoAndStop(25);
g34.kind = 25;
g40.gotoAndStop(26);
g40.kind = 26;
g4.gotoAndStop(27);
g4.kind = 27;
Frame 60
randV1 = 5;
randV2 = 6;
LevelScore = 3;
match = 0;
currentLevel = 8;
Frame 62
stop();
levelShow = "Level " + currentLevel;
newCoin.gotoAndStop(11);
manyLeft = LevelScore;
LevelRandom(randV1, randV2);
g0.gotoAndStop(1);
g0.kind = 1;
g54.gotoAndStop(25);
g54.kind = 25;
g2.gotoAndStop(26);
g2.kind = 26;
g21.gotoAndStop(27);
g21.kind = 27;
g35.gotoAndStop(27);
g35.kind = 27;
Playable = true;
Frame 67
randV1 = 5;
randV2 = 7;
LevelScore = 4;
match = 0;
currentLevel = 9;
Frame 69
stop();
levelShow = "Level " + currentLevel;
newCoin.gotoAndStop(12);
manyLeft = LevelScore;
LevelRandom(randV1, randV2);
g0.gotoAndStop(1);
g0.kind = 1;
g5.gotoAndStop(25);
g5.kind = 25;
g33.gotoAndStop(26);
g33.kind = 26;
g54.gotoAndStop(27);
g54.kind = 27;
g25.gotoAndStop(26);
g25.kind = 26;
Frame 72
randV1 = 5;
randV2 = 7;
LevelScore = 99;
match = 0;
currentLevel = 10;
Frame 74
stop();
levelShow = "Level " + currentLevel;
newCoin.gotoAndStop(12);
manyLeft = LevelScore;
LevelRandom(randV1, randV2);
g0.gotoAndStop(1);
g0.kind = 1;
g5.gotoAndStop(4);
g5.kind = 4;
g33.gotoAndStop(25);
g33.kind = 25;
g54.gotoAndStop(26);
g54.kind = 26;
g25.gotoAndStop(27);
g25.kind = 27;
Frame 88
Frame 120
stop();
gotoAndPlay (127);
Frame 127
_root.createEmptyMovieClip("sender", 24210);
sender.gcode = _root.gcode;
sender.gameID = _root.gameID;
if (gScore < 5) {
gScore = 5;
}
sender.score = _root.score;
sender.getURL("game.cfm", "_self", "POST");
stop();
stop();
clearInterval(timeInterval);
Symbol 25 MovieClip Frame 5
stop();
Symbol 29 MovieClip Frame 5
stop();
Symbol 33 MovieClip Frame 5
stop();
Symbol 38 MovieClip Frame 5
stop();
Symbol 42 MovieClip Frame 5
stop();
Symbol 46 MovieClip Frame 5
stop();
Symbol 50 MovieClip Frame 1
if ((_root.randNow == true) && (_root.switchOff == true)) {
stop();
}
Symbol 50 MovieClip Frame 5
stop();
Symbol 54 MovieClip Frame 5
stop();
Symbol 58 MovieClip Frame 5
stop();
Symbol 61 MovieClip Frame 5
stop();
Symbol 65 MovieClip Frame 5
stop();
Symbol 85 MovieClip Frame 1
stop();
Symbol 85 MovieClip Frame 2
Symbol 85 MovieClip Frame 3
Symbol 85 MovieClip Frame 4
Symbol 85 MovieClip Frame 5
Symbol 85 MovieClip Frame 6
Symbol 85 MovieClip Frame 7
Symbol 85 MovieClip Frame 8
Symbol 85 MovieClip Frame 9
Symbol 85 MovieClip Frame 40
gotoAndPlay ("kindTwoWin");
Symbol 85 MovieClip Frame 45
x = (Math.random() * 2) + 2;
gotoAndStop(Math.round(x));
_root.winAnimation = 0;
Symbol 85 MovieClip Frame 60
Symbol 85 MovieClip Frame 88
gotoAndStop(kind);
_root.waitForScoreAnimation = false;
stop();
Symbol 85 MovieClip Frame 98
_root.play();
Symbol 85 MovieClip Frame 112
x = (Math.random() * 2) + 2;
randFrame = Math.round(x);
_root.winAnimation = 0;
Symbol 101 Button
on (release) {
gotoAndStop ("upsell");
}
Symbol 103 Button
on (release) {
nextFrame();
}
Symbol 117 Button
on (release) {
prevFrame();
}
Symbol 139 MovieClip Frame 25
stop();
Symbol 143 MovieClip Frame 33
stop();
Symbol 145 MovieClip Frame 24
stop();
Symbol 148 MovieClip Frame 24
stop();
Symbol 151 MovieClip Frame 24
stop();
Symbol 154 MovieClip Frame 24
stop();
Symbol 157 MovieClip Frame 25
stop();
Symbol 160 MovieClip Frame 25
stop();
Symbol 163 MovieClip Frame 25
stop();
Symbol 166 MovieClip Frame 25
stop();
Symbol 169 MovieClip Frame 25
stop();
Symbol 184 MovieClip Frame 1
stop();
gameID = _root.gameIDencoded;
ccode = _root.ccode;
score = _root.scoreEncoded;
mode = "ingame";
loadVariables (_root.reportURLdecoded, "_root.send_mc", "POST");