Frame 1
fscommand ("allowscale", "false");
fscommand ("trapallkeys", "true");
Stage.showMenu = false;
Frame 5
if ((_framesloaded > 0) && (_framesloaded == _totalframes)) {
gotoAndPlay ("continue");
} else {
percentVAL = int((getBytesLoaded() / getBytesTotal()) * 100);
percent = percentVAL add " % loaded";
setProperty("statusbar", _width , percentVAL);
}
Frame 6
gotoAndPlay ("loopStart");
Frame 15
stop();
Frame 16
function numSTD(tdato) {
var _local1 = tdato;
if (_local1 > 99) {
return(_local1);
}
_local1 = _local1 + 1000;
_local1 = _local1.toString();
_local1 = _local1.substr(1, dato.length);
return(_local1);
}
function encrypt(tdato, tSeed) {
var _local2 = tdato;
var _local3 = tSeed;
if (_local3 > 50) {
_local3 = 50;
}
var _local1 = "";
_local2 = _local2.toString();
c = 0;
while (c < _local2.length) {
t = _local2.charCodeAt(c) + _local3;
tRetString = numSTD(t);
_local1 = _local1 + tRetString;
c++;
}
return(_local1);
}
winplosion_btn.tabEnabled = false;
start_btn.tabEnabled = false;
activate = function () {
cup1_btn.enabled = true;
cup2_btn.enabled = true;
cup3_btn.enabled = true;
messages_mc.gotoAndStop("find");
};
deactivate = function () {
cup1_btn.enabled = false;
cup2_btn.enabled = false;
cup3_btn.enabled = false;
};
controlTeclado = new Object();
controlTeclado.onKeyUp = function () {
switch (Key.getCode()) {
case 13 :
if (!encripted) {
encripted = true;
id = encrypt(input_txt.text);
url_txt.text = id;
submit_btn._visible = false;
}
return;
case 9 :
}
};
Key.addListener(controlTeclado);
drums1_sound = new Sound();
drums2_sound = new Sound();
drums1_sound.attachSound("drums1");
drums2_sound.attachSound("drums2");
steps = 0;
maxSteps = 3;
level = 1;
correct = 0;
incorrect = 0;
play();
Frame 17
stop();
cup1_btn.tabEnabled = false;
cup2_btn.tabEnabled = false;
cup3_btn.tabEnabled = false;
deactivate();
rolling = false;
Frame 37
function makeString(urlS) {
u = uniqId();
return(Convert((urlS + ":a:b:c") + u));
}
function Convert(s) {
var _local1 = s;
res = "";
i = 0;
while (i < _local1.length) {
res = res + int231(_local1.charCodeAt(i));
i++;
}
return(res);
}
function uniqId() {
d = new Date();
res = d.getTime().toString();
res = res + Math.random().toString();
sum = 0;
i = 0;
while (i < res.length) {
sum = sum + res.charCodeAt(i);
i++;
}
return((res + "fz") + sum);
}
function int231(num) {
a = num % 27;
b = Math.floor(num / 27);
b = b % 27;
digits = new Array("0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z");
aa = digits[a];
bb = digits[b];
return(bb + aa);
}
function submit() {
if (level == 21) {
gameId = makeString(_root._url);
error_txt.text = gameId;
getURL ("http://www.winplosion.com/cupgame/winner/user.php?gameId=" + gameId, "_blank");
}
}
level = 21;
Symbol 16 Button
on (release) {
getURL ("http://www.winplosion.com/", "_blank", "GET");
}
Symbol 44 MovieClip Frame 16
stop();
Symbol 52 MovieClip Frame 9
stop();
Symbol 83 Button
on (release) {
_root.gotoAndPlay("game");
}
Symbol 108 MovieClip Frame 58
stop();
Symbol 113 MovieClip Frame 22
_root.inCup = 2;
_root.steps = 0;
gotoAndPlay("step" + (random(10) + 1));
_root.drums1_sound.start();
Symbol 113 MovieClip Frame 33
stop();
switch (_root.inCup) {
case 1 :
_root.inCup = 2;
break;
case 2 :
_root.inCup = 1;
break;
case 3 :
_root.inCup = 3;
}
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(4) + 2);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = (random(5) + 6);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 113 MovieClip Frame 44
stop();
switch (_root.inCup) {
case 1 :
_root.inCup = 1;
break;
case 2 :
_root.inCup = 3;
break;
case 3 :
_root.inCup = 2;
}
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = random(4);
switch (nextMove) {
case 0 :
gotoAndPlay ("step1");
break;
case 1 :
gotoAndPlay ("step3");
break;
case 2 :
gotoAndPlay ("step4");
break;
case 3 :
gotoAndPlay ("step5");
}
} else {
var nextMove = (random(5) + 6);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 113 MovieClip Frame 56
stop();
switch (_root.inCup) {
case 1 :
_root.inCup = 3;
break;
case 2 :
_root.inCup = 2;
break;
case 3 :
_root.inCup = 1;
}
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = random(4);
switch (nextMove) {
case 0 :
gotoAndPlay ("step1");
break;
case 1 :
gotoAndPlay ("step2");
break;
case 2 :
gotoAndPlay ("step4");
break;
case 3 :
gotoAndPlay ("step5");
}
} else {
var nextMove = (random(5) + 6);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 113 MovieClip Frame 68
stop();
switch (_root.inCup) {
case 1 :
_root.inCup = 3;
break;
case 2 :
_root.inCup = 1;
break;
case 3 :
_root.inCup = 2;
}
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = random(4);
switch (nextMove) {
case 0 :
gotoAndPlay ("step1");
break;
case 1 :
gotoAndPlay ("step2");
break;
case 2 :
gotoAndPlay ("step3");
break;
case 3 :
gotoAndPlay ("step5");
}
} else {
var nextMove = (random(5) + 6);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 113 MovieClip Frame 80
stop();
switch (_root.inCup) {
case 1 :
_root.inCup = 2;
break;
case 2 :
_root.inCup = 3;
break;
case 3 :
_root.inCup = 1;
}
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(4) + 1);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = (random(5) + 6);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 113 MovieClip Frame 95
stop();
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(5) + 1);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = (random(4) + 7);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 113 MovieClip Frame 110
stop();
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(5) + 1);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = random(4);
if (nextMove == 0) {
gotoAndPlay ("step6");
} else if (nextMove == 1) {
gotoAndPlay ("step8");
} else if (nextMove == 2) {
gotoAndPlay ("step9");
} else if (nextMove == 3) {
gotoAndPlay ("step10");
}
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 113 MovieClip Frame 125
stop();
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(5) + 1);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = random(4);
if (nextMove == 0) {
gotoAndPlay ("step6");
} else if (nextMove == 1) {
gotoAndPlay ("step7");
} else if (nextMove == 2) {
gotoAndPlay ("step9");
} else if (nextMove == 3) {
gotoAndPlay ("step10");
}
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 113 MovieClip Frame 140
stop();
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(5) + 1);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = random(4);
if (nextMove == 0) {
gotoAndPlay ("step6");
} else if (nextMove == 1) {
gotoAndPlay ("step7");
} else if (nextMove == 2) {
gotoAndPlay ("step8");
} else if (nextMove == 3) {
gotoAndPlay ("step10");
}
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 113 MovieClip Frame 155
stop();
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(5) + 1);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = (random(4) + 6);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 113 MovieClip Frame 190
stop();
if (_root.isHere) {
_root.correct++;
_root.messages_mc.gotoAndPlay("correct");
} else {
_root.messages_mc.gotoAndPlay("gameover");
}
Symbol 113 MovieClip Frame 224
stop();
if (_root.isHere) {
_root.correct++;
_root.messages_mc.gotoAndPlay("correct");
} else {
_root.messages_mc.gotoAndPlay("gameover");
}
Symbol 113 MovieClip Frame 259
stop();
if (_root.isHere) {
_root.correct++;
_root.messages_mc.gotoAndPlay("correct");
} else {
_root.messages_mc.gotoAndPlay("gameover");
}
Symbol 113 MovieClip Frame 260
_root.messages_mc.gotoAndStop("wrong");
Symbol 113 MovieClip Frame 289
stop();
gotoAndPlay("good" + _root.inCup);
Symbol 113 MovieClip Frame 290
_root.messages_mc.gotoAndStop("wrong");
Symbol 113 MovieClip Frame 319
stop();
gotoAndPlay("good" + _root.inCup);
Symbol 113 MovieClip Frame 320
_root.messages_mc.gotoAndStop("wrong");
Symbol 113 MovieClip Frame 349
stop();
gotoAndPlay("good" + _root.inCup);
Symbol 115 Button
on (release) {
if (inCup == 1) {
isHere = true;
correct_sound.start();
cups_mc.gotoAndPlay("good1");
} else {
isHere = false;
messages_mc.gotoAndStop("wrong");
cups_mc.gotoAndPlay("bad1");
}
deactivate();
}
Symbol 116 Button
on (release) {
if (inCup == 2) {
isHere = true;
correct_sound.start();
cups_mc.gotoAndPlay("good2");
} else {
isHere = false;
messages_mc.gotoAndStop("wrong");
cups_mc.gotoAndPlay("bad2");
}
deactivate();
}
Symbol 117 Button
on (release) {
if (inCup == 3) {
isHere = true;
correct_sound.start();
cups_mc.gotoAndPlay("good3");
} else {
isHere = false;
messages_mc.gotoAndStop("wrong");
cups_mc.gotoAndPlay("bad3");
}
deactivate();
}
Symbol 126 MovieClip Frame 5
stop();
Symbol 128 MovieClip Frame 1
play();
Symbol 128 MovieClip Frame 21
stop();
_root.choosing = true;
_root.totalScore = _root.totalScore + _root.score;
_root.activate();
Symbol 131 MovieClip Frame 1
play();
Symbol 131 MovieClip Frame 34
stop();
_root.maxSteps++;
_root.level++;
_root.nextFrame();
_root.cups_mc.gotoAndPlay("begin");
Symbol 135 MovieClip Frame 1
play();
Symbol 135 MovieClip Frame 35
stop();
Symbol 143 Button
on (release) {
_root.gotoAndPlay(1, 1);
}
Symbol 144 MovieClip Frame 1
stop();
Symbol 144 MovieClip Frame 2
stop();
Symbol 144 MovieClip Frame 3
stop();
Symbol 144 MovieClip Frame 4
stop();
Symbol 144 MovieClip Frame 30
stop();
Symbol 145 MovieClip Frame 22
_root.inCup = 2;
_root.steps = 0;
gotoAndPlay("step" + (random(10) + 1));
_root.drums1_sound.start();
Symbol 145 MovieClip Frame 32
stop();
switch (_root.inCup) {
case 1 :
_root.inCup = 2;
break;
case 2 :
_root.inCup = 1;
break;
case 3 :
_root.inCup = 3;
}
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(4) + 2);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = (random(5) + 6);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 145 MovieClip Frame 42
stop();
switch (_root.inCup) {
case 1 :
_root.inCup = 1;
break;
case 2 :
_root.inCup = 3;
break;
case 3 :
_root.inCup = 2;
}
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = random(4);
switch (nextMove) {
case 0 :
gotoAndPlay ("step1");
break;
case 1 :
gotoAndPlay ("step3");
break;
case 2 :
gotoAndPlay ("step4");
break;
case 3 :
gotoAndPlay ("step5");
}
} else {
var nextMove = (random(5) + 6);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 145 MovieClip Frame 53
stop();
switch (_root.inCup) {
case 1 :
_root.inCup = 3;
break;
case 2 :
_root.inCup = 2;
break;
case 3 :
_root.inCup = 1;
}
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = random(4);
switch (nextMove) {
case 0 :
gotoAndPlay ("step1");
break;
case 1 :
gotoAndPlay ("step2");
break;
case 2 :
gotoAndPlay ("step4");
break;
case 3 :
gotoAndPlay ("step5");
}
} else {
var nextMove = (random(5) + 6);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 145 MovieClip Frame 64
stop();
switch (_root.inCup) {
case 1 :
_root.inCup = 3;
break;
case 2 :
_root.inCup = 1;
break;
case 3 :
_root.inCup = 2;
}
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = random(4);
switch (nextMove) {
case 0 :
gotoAndPlay ("step1");
break;
case 1 :
gotoAndPlay ("step2");
break;
case 2 :
gotoAndPlay ("step3");
break;
case 3 :
gotoAndPlay ("step5");
}
} else {
var nextMove = (random(5) + 6);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 145 MovieClip Frame 75
stop();
switch (_root.inCup) {
case 1 :
_root.inCup = 2;
break;
case 2 :
_root.inCup = 3;
break;
case 3 :
_root.inCup = 1;
}
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(4) + 1);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = (random(5) + 6);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 145 MovieClip Frame 89
stop();
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(5) + 1);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = (random(4) + 7);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 145 MovieClip Frame 103
stop();
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(5) + 1);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = random(4);
if (nextMove == 0) {
gotoAndPlay ("step6");
} else if (nextMove == 1) {
gotoAndPlay ("step8");
} else if (nextMove == 2) {
gotoAndPlay ("step9");
} else if (nextMove == 3) {
gotoAndPlay ("step10");
}
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 145 MovieClip Frame 117
stop();
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(5) + 1);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = random(4);
if (nextMove == 0) {
gotoAndPlay ("step6");
} else if (nextMove == 1) {
gotoAndPlay ("step7");
} else if (nextMove == 2) {
gotoAndPlay ("step9");
} else if (nextMove == 3) {
gotoAndPlay ("step10");
}
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 145 MovieClip Frame 131
stop();
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(5) + 1);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = random(4);
if (nextMove == 0) {
gotoAndPlay ("step6");
} else if (nextMove == 1) {
gotoAndPlay ("step7");
} else if (nextMove == 2) {
gotoAndPlay ("step8");
} else if (nextMove == 3) {
gotoAndPlay ("step10");
}
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 145 MovieClip Frame 145
stop();
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(5) + 1);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = (random(4) + 6);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 145 MovieClip Frame 180
stop();
if (_root.isHere) {
_root.correct++;
_root.messages_mc.gotoAndPlay("correct");
} else {
_root.messages_mc.gotoAndPlay("gameover");
}
Symbol 145 MovieClip Frame 214
stop();
if (_root.isHere) {
_root.correct++;
_root.messages_mc.gotoAndPlay("correct");
} else {
_root.messages_mc.gotoAndPlay("gameover");
}
Symbol 145 MovieClip Frame 249
stop();
if (_root.isHere) {
_root.correct++;
_root.messages_mc.gotoAndPlay("correct");
} else {
_root.messages_mc.gotoAndPlay("gameover");
}
Symbol 145 MovieClip Frame 250
_root.messages_mc.gotoAndStop("wrong");
Symbol 145 MovieClip Frame 279
stop();
gotoAndPlay("good" + _root.inCup);
Symbol 145 MovieClip Frame 280
_root.messages_mc.gotoAndStop("wrong");
Symbol 145 MovieClip Frame 309
stop();
gotoAndPlay("good" + _root.inCup);
Symbol 145 MovieClip Frame 310
_root.messages_mc.gotoAndStop("wrong");
Symbol 145 MovieClip Frame 339
stop();
gotoAndPlay("good" + _root.inCup);
Symbol 146 MovieClip Frame 22
_root.inCup = 2;
_root.steps = 0;
gotoAndPlay("step" + (random(10) + 1));
_root.drums1_sound.start();
Symbol 146 MovieClip Frame 31
stop();
switch (_root.inCup) {
case 1 :
_root.inCup = 2;
break;
case 2 :
_root.inCup = 1;
break;
case 3 :
_root.inCup = 3;
}
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(4) + 2);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = (random(5) + 6);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 146 MovieClip Frame 40
stop();
switch (_root.inCup) {
case 1 :
_root.inCup = 1;
break;
case 2 :
_root.inCup = 3;
break;
case 3 :
_root.inCup = 2;
}
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = random(4);
switch (nextMove) {
case 0 :
gotoAndPlay ("step1");
break;
case 1 :
gotoAndPlay ("step3");
break;
case 2 :
gotoAndPlay ("step4");
break;
case 3 :
gotoAndPlay ("step5");
}
} else {
var nextMove = (random(5) + 6);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 146 MovieClip Frame 50
stop();
switch (_root.inCup) {
case 1 :
_root.inCup = 3;
break;
case 2 :
_root.inCup = 2;
break;
case 3 :
_root.inCup = 1;
}
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = random(4);
switch (nextMove) {
case 0 :
gotoAndPlay ("step1");
break;
case 1 :
gotoAndPlay ("step2");
break;
case 2 :
gotoAndPlay ("step4");
break;
case 3 :
gotoAndPlay ("step5");
}
} else {
var nextMove = (random(5) + 6);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 146 MovieClip Frame 60
stop();
switch (_root.inCup) {
case 1 :
_root.inCup = 3;
break;
case 2 :
_root.inCup = 1;
break;
case 3 :
_root.inCup = 2;
}
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = random(4);
switch (nextMove) {
case 0 :
gotoAndPlay ("step1");
break;
case 1 :
gotoAndPlay ("step2");
break;
case 2 :
gotoAndPlay ("step3");
break;
case 3 :
gotoAndPlay ("step5");
}
} else {
var nextMove = (random(5) + 6);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 146 MovieClip Frame 70
stop();
switch (_root.inCup) {
case 1 :
_root.inCup = 2;
break;
case 2 :
_root.inCup = 3;
break;
case 3 :
_root.inCup = 1;
}
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(4) + 1);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = (random(5) + 6);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 146 MovieClip Frame 83
stop();
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(5) + 1);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = (random(4) + 7);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 146 MovieClip Frame 96
stop();
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(5) + 1);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = random(4);
if (nextMove == 0) {
gotoAndPlay ("step6");
} else if (nextMove == 1) {
gotoAndPlay ("step8");
} else if (nextMove == 2) {
gotoAndPlay ("step9");
} else if (nextMove == 3) {
gotoAndPlay ("step10");
}
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 146 MovieClip Frame 109
stop();
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(5) + 1);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = random(4);
if (nextMove == 0) {
gotoAndPlay ("step6");
} else if (nextMove == 1) {
gotoAndPlay ("step7");
} else if (nextMove == 2) {
gotoAndPlay ("step9");
} else if (nextMove == 3) {
gotoAndPlay ("step10");
}
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 146 MovieClip Frame 122
stop();
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(5) + 1);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = random(4);
if (nextMove == 0) {
gotoAndPlay ("step6");
} else if (nextMove == 1) {
gotoAndPlay ("step7");
} else if (nextMove == 2) {
gotoAndPlay ("step8");
} else if (nextMove == 3) {
gotoAndPlay ("step10");
}
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 146 MovieClip Frame 135
stop();
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(5) + 1);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = (random(4) + 6);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 146 MovieClip Frame 170
stop();
if (_root.isHere) {
_root.correct++;
_root.messages_mc.gotoAndPlay("correct");
} else {
_root.messages_mc.gotoAndPlay("gameover");
}
Symbol 146 MovieClip Frame 204
stop();
if (_root.isHere) {
_root.correct++;
_root.messages_mc.gotoAndPlay("correct");
} else {
_root.messages_mc.gotoAndPlay("gameover");
}
Symbol 146 MovieClip Frame 239
stop();
if (_root.isHere) {
_root.correct++;
_root.messages_mc.gotoAndPlay("correct");
} else {
_root.messages_mc.gotoAndPlay("gameover");
}
Symbol 146 MovieClip Frame 240
_root.messages_mc.gotoAndStop("wrong");
Symbol 146 MovieClip Frame 269
stop();
gotoAndPlay("good" + _root.inCup);
Symbol 146 MovieClip Frame 270
_root.messages_mc.gotoAndStop("wrong");
Symbol 146 MovieClip Frame 299
stop();
gotoAndPlay("good" + _root.inCup);
Symbol 146 MovieClip Frame 300
_root.messages_mc.gotoAndStop("wrong");
Symbol 146 MovieClip Frame 329
stop();
gotoAndPlay("good" + _root.inCup);
Symbol 147 MovieClip Frame 22
_root.inCup = 2;
_root.steps = 0;
gotoAndPlay("step" + (random(10) + 1));
_root.drums1_sound.start();
Symbol 147 MovieClip Frame 30
stop();
switch (_root.inCup) {
case 1 :
_root.inCup = 2;
break;
case 2 :
_root.inCup = 1;
break;
case 3 :
_root.inCup = 3;
}
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(4) + 2);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = (random(5) + 6);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 147 MovieClip Frame 38
stop();
switch (_root.inCup) {
case 1 :
_root.inCup = 1;
break;
case 2 :
_root.inCup = 3;
break;
case 3 :
_root.inCup = 2;
}
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = random(4);
switch (nextMove) {
case 0 :
gotoAndPlay ("step1");
break;
case 1 :
gotoAndPlay ("step3");
break;
case 2 :
gotoAndPlay ("step4");
break;
case 3 :
gotoAndPlay ("step5");
}
} else {
var nextMove = (random(5) + 6);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 147 MovieClip Frame 47
stop();
switch (_root.inCup) {
case 1 :
_root.inCup = 3;
break;
case 2 :
_root.inCup = 2;
break;
case 3 :
_root.inCup = 1;
}
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = random(4);
switch (nextMove) {
case 0 :
gotoAndPlay ("step1");
break;
case 1 :
gotoAndPlay ("step2");
break;
case 2 :
gotoAndPlay ("step4");
break;
case 3 :
gotoAndPlay ("step5");
}
} else {
var nextMove = (random(5) + 6);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 147 MovieClip Frame 56
stop();
switch (_root.inCup) {
case 1 :
_root.inCup = 3;
break;
case 2 :
_root.inCup = 1;
break;
case 3 :
_root.inCup = 2;
}
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = random(4);
switch (nextMove) {
case 0 :
gotoAndPlay ("step1");
break;
case 1 :
gotoAndPlay ("step2");
break;
case 2 :
gotoAndPlay ("step3");
break;
case 3 :
gotoAndPlay ("step5");
}
} else {
var nextMove = (random(5) + 6);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 147 MovieClip Frame 65
stop();
switch (_root.inCup) {
case 1 :
_root.inCup = 2;
break;
case 2 :
_root.inCup = 3;
break;
case 3 :
_root.inCup = 1;
}
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(4) + 1);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = (random(5) + 6);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 147 MovieClip Frame 77
stop();
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(5) + 1);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = (random(4) + 7);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 147 MovieClip Frame 89
stop();
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(5) + 1);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = random(4);
if (nextMove == 0) {
gotoAndPlay ("step6");
} else if (nextMove == 1) {
gotoAndPlay ("step8");
} else if (nextMove == 2) {
gotoAndPlay ("step9");
} else if (nextMove == 3) {
gotoAndPlay ("step10");
}
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 147 MovieClip Frame 101
stop();
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(5) + 1);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = random(4);
if (nextMove == 0) {
gotoAndPlay ("step6");
} else if (nextMove == 1) {
gotoAndPlay ("step7");
} else if (nextMove == 2) {
gotoAndPlay ("step9");
} else if (nextMove == 3) {
gotoAndPlay ("step10");
}
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 147 MovieClip Frame 113
stop();
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(5) + 1);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = random(4);
if (nextMove == 0) {
gotoAndPlay ("step6");
} else if (nextMove == 1) {
gotoAndPlay ("step7");
} else if (nextMove == 2) {
gotoAndPlay ("step8");
} else if (nextMove == 3) {
gotoAndPlay ("step10");
}
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 147 MovieClip Frame 125
stop();
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(5) + 1);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = (random(4) + 6);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 147 MovieClip Frame 160
stop();
if (_root.isHere) {
_root.correct++;
_root.messages_mc.gotoAndPlay("correct");
} else {
_root.messages_mc.gotoAndPlay("gameover");
}
Symbol 147 MovieClip Frame 194
stop();
if (_root.isHere) {
_root.correct++;
_root.messages_mc.gotoAndPlay("correct");
} else {
_root.messages_mc.gotoAndPlay("gameover");
}
Symbol 147 MovieClip Frame 229
stop();
if (_root.isHere) {
_root.correct++;
_root.messages_mc.gotoAndPlay("correct");
} else {
_root.messages_mc.gotoAndPlay("gameover");
}
Symbol 147 MovieClip Frame 230
_root.messages_mc.gotoAndStop("wrong");
Symbol 147 MovieClip Frame 259
stop();
gotoAndPlay("good" + _root.inCup);
Symbol 147 MovieClip Frame 260
_root.messages_mc.gotoAndStop("wrong");
Symbol 147 MovieClip Frame 289
stop();
gotoAndPlay("good" + _root.inCup);
Symbol 147 MovieClip Frame 290
_root.messages_mc.gotoAndStop("wrong");
Symbol 147 MovieClip Frame 319
stop();
gotoAndPlay("good" + _root.inCup);
Symbol 148 MovieClip Frame 22
_root.inCup = 2;
_root.steps = 0;
gotoAndPlay("step" + (random(10) + 1));
_root.drums1_sound.start();
Symbol 148 MovieClip Frame 29
stop();
switch (_root.inCup) {
case 1 :
_root.inCup = 2;
break;
case 2 :
_root.inCup = 1;
break;
case 3 :
_root.inCup = 3;
}
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(4) + 2);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = (random(5) + 6);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 148 MovieClip Frame 36
stop();
switch (_root.inCup) {
case 1 :
_root.inCup = 1;
break;
case 2 :
_root.inCup = 3;
break;
case 3 :
_root.inCup = 2;
}
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = random(4);
switch (nextMove) {
case 0 :
gotoAndPlay ("step1");
break;
case 1 :
gotoAndPlay ("step3");
break;
case 2 :
gotoAndPlay ("step4");
break;
case 3 :
gotoAndPlay ("step5");
}
} else {
var nextMove = (random(5) + 6);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 148 MovieClip Frame 44
stop();
switch (_root.inCup) {
case 1 :
_root.inCup = 3;
break;
case 2 :
_root.inCup = 2;
break;
case 3 :
_root.inCup = 1;
}
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = random(4);
switch (nextMove) {
case 0 :
gotoAndPlay ("step1");
break;
case 1 :
gotoAndPlay ("step2");
break;
case 2 :
gotoAndPlay ("step4");
break;
case 3 :
gotoAndPlay ("step5");
}
} else {
var nextMove = (random(5) + 6);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 148 MovieClip Frame 52
stop();
switch (_root.inCup) {
case 1 :
_root.inCup = 3;
break;
case 2 :
_root.inCup = 1;
break;
case 3 :
_root.inCup = 2;
}
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = random(4);
switch (nextMove) {
case 0 :
gotoAndPlay ("step1");
break;
case 1 :
gotoAndPlay ("step2");
break;
case 2 :
gotoAndPlay ("step3");
break;
case 3 :
gotoAndPlay ("step5");
}
} else {
var nextMove = (random(5) + 6);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 148 MovieClip Frame 60
stop();
switch (_root.inCup) {
case 1 :
_root.inCup = 2;
break;
case 2 :
_root.inCup = 3;
break;
case 3 :
_root.inCup = 1;
}
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(4) + 1);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = (random(5) + 6);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 148 MovieClip Frame 71
stop();
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(5) + 1);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = (random(4) + 7);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 148 MovieClip Frame 82
stop();
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(5) + 1);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = random(4);
if (nextMove == 0) {
gotoAndPlay ("step6");
} else if (nextMove == 1) {
gotoAndPlay ("step8");
} else if (nextMove == 2) {
gotoAndPlay ("step9");
} else if (nextMove == 3) {
gotoAndPlay ("step10");
}
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 148 MovieClip Frame 93
stop();
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(5) + 1);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = random(4);
if (nextMove == 0) {
gotoAndPlay ("step6");
} else if (nextMove == 1) {
gotoAndPlay ("step7");
} else if (nextMove == 2) {
gotoAndPlay ("step9");
} else if (nextMove == 3) {
gotoAndPlay ("step10");
}
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 148 MovieClip Frame 104
stop();
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(5) + 1);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = random(4);
if (nextMove == 0) {
gotoAndPlay ("step6");
} else if (nextMove == 1) {
gotoAndPlay ("step7");
} else if (nextMove == 2) {
gotoAndPlay ("step8");
} else if (nextMove == 3) {
gotoAndPlay ("step10");
}
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 148 MovieClip Frame 115
stop();
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(5) + 1);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = (random(4) + 6);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 148 MovieClip Frame 150
stop();
if (_root.isHere) {
_root.correct++;
_root.messages_mc.gotoAndPlay("correct");
} else {
_root.messages_mc.gotoAndPlay("gameover");
}
Symbol 148 MovieClip Frame 184
stop();
if (_root.isHere) {
_root.correct++;
_root.messages_mc.gotoAndPlay("correct");
} else {
_root.messages_mc.gotoAndPlay("gameover");
}
Symbol 148 MovieClip Frame 219
stop();
if (_root.isHere) {
_root.correct++;
_root.messages_mc.gotoAndPlay("correct");
} else {
_root.messages_mc.gotoAndPlay("gameover");
}
Symbol 148 MovieClip Frame 220
_root.messages_mc.gotoAndStop("wrong");
Symbol 148 MovieClip Frame 249
stop();
gotoAndPlay("good" + _root.inCup);
Symbol 148 MovieClip Frame 250
_root.messages_mc.gotoAndStop("wrong");
Symbol 148 MovieClip Frame 279
stop();
gotoAndPlay("good" + _root.inCup);
Symbol 148 MovieClip Frame 280
_root.messages_mc.gotoAndStop("wrong");
Symbol 148 MovieClip Frame 309
stop();
gotoAndPlay("good" + _root.inCup);
Symbol 149 MovieClip Frame 22
_root.inCup = 2;
_root.steps = 0;
gotoAndPlay("step" + (random(10) + 1));
_root.drums1_sound.start();
Symbol 149 MovieClip Frame 28
stop();
switch (_root.inCup) {
case 1 :
_root.inCup = 2;
break;
case 2 :
_root.inCup = 1;
break;
case 3 :
_root.inCup = 3;
}
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(4) + 2);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = (random(5) + 6);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 149 MovieClip Frame 34
stop();
switch (_root.inCup) {
case 1 :
_root.inCup = 1;
break;
case 2 :
_root.inCup = 3;
break;
case 3 :
_root.inCup = 2;
}
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = random(4);
switch (nextMove) {
case 0 :
gotoAndPlay ("step1");
break;
case 1 :
gotoAndPlay ("step3");
break;
case 2 :
gotoAndPlay ("step4");
break;
case 3 :
gotoAndPlay ("step5");
}
} else {
var nextMove = (random(5) + 6);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 149 MovieClip Frame 41
stop();
switch (_root.inCup) {
case 1 :
_root.inCup = 3;
break;
case 2 :
_root.inCup = 2;
break;
case 3 :
_root.inCup = 1;
}
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = random(4);
switch (nextMove) {
case 0 :
gotoAndPlay ("step1");
break;
case 1 :
gotoAndPlay ("step2");
break;
case 2 :
gotoAndPlay ("step4");
break;
case 3 :
gotoAndPlay ("step5");
}
} else {
var nextMove = (random(5) + 6);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 149 MovieClip Frame 50
stop();
switch (_root.inCup) {
case 1 :
_root.inCup = 3;
break;
case 2 :
_root.inCup = 1;
break;
case 3 :
_root.inCup = 2;
}
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = random(4);
switch (nextMove) {
case 0 :
gotoAndPlay ("step1");
break;
case 1 :
gotoAndPlay ("step2");
break;
case 2 :
gotoAndPlay ("step3");
break;
case 3 :
gotoAndPlay ("step5");
}
} else {
var nextMove = (random(5) + 6);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 149 MovieClip Frame 59
stop();
switch (_root.inCup) {
case 1 :
_root.inCup = 2;
break;
case 2 :
_root.inCup = 3;
break;
case 3 :
_root.inCup = 1;
}
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(4) + 1);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = (random(5) + 6);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 149 MovieClip Frame 68
stop();
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(5) + 1);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = (random(4) + 7);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 149 MovieClip Frame 77
stop();
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(5) + 1);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = random(4);
if (nextMove == 0) {
gotoAndPlay ("step6");
} else if (nextMove == 1) {
gotoAndPlay ("step8");
} else if (nextMove == 2) {
gotoAndPlay ("step9");
} else if (nextMove == 3) {
gotoAndPlay ("step10");
}
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 149 MovieClip Frame 86
stop();
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(5) + 1);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = random(4);
if (nextMove == 0) {
gotoAndPlay ("step6");
} else if (nextMove == 1) {
gotoAndPlay ("step7");
} else if (nextMove == 2) {
gotoAndPlay ("step9");
} else if (nextMove == 3) {
gotoAndPlay ("step10");
}
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 149 MovieClip Frame 95
stop();
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(5) + 1);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = random(4);
if (nextMove == 0) {
gotoAndPlay ("step6");
} else if (nextMove == 1) {
gotoAndPlay ("step7");
} else if (nextMove == 2) {
gotoAndPlay ("step8");
} else if (nextMove == 3) {
gotoAndPlay ("step10");
}
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 149 MovieClip Frame 104
stop();
_root.steps++;
if (_root.steps < _root.maxSteps) {
var percentaje = random(100);
if (percentaje < 90) {
var nextMove = (random(5) + 1);
gotoAndPlay("step" + String(nextMove));
} else {
var nextMove = (random(4) + 6);
gotoAndPlay("step" + String(nextMove));
}
} else {
stop();
_root.drums1_sound.stop();
_root.drums2_sound.start();
_root.activate();
}
Symbol 149 MovieClip Frame 139
stop();
if (_root.isHere) {
_root.correct++;
_root.messages_mc.gotoAndPlay("correct");
} else {
_root.messages_mc.gotoAndPlay("gameover");
}
Symbol 149 MovieClip Frame 173
stop();
if (_root.isHere) {
_root.correct++;
_root.messages_mc.gotoAndPlay("correct");
} else {
_root.messages_mc.gotoAndPlay("gameover");
}
Symbol 149 MovieClip Frame 208
stop();
if (_root.isHere) {
_root.correct++;
_root.messages_mc.gotoAndPlay("correct");
} else {
_root.messages_mc.gotoAndPlay("gameover");
}
Symbol 149 MovieClip Frame 209
_root.messages_mc.gotoAndStop("wrong");
Symbol 149 MovieClip Frame 238
stop();
gotoAndPlay("good" + _root.inCup);
Symbol 149 MovieClip Frame 239
_root.messages_mc.gotoAndStop("wrong");
Symbol 149 MovieClip Frame 268
stop();
gotoAndPlay("good" + _root.inCup);
Symbol 149 MovieClip Frame 269
_root.messages_mc.gotoAndStop("wrong");
Symbol 149 MovieClip Frame 298
stop();
gotoAndPlay("good" + _root.inCup);
Symbol 153 Button
on (release) {
submit();
}
Symbol 161 MovieClip Frame 6
stop();
Symbol 162 Button
on (release) {
gotoAndStop (16);
}