Frame 235
level = 0;
dead = 0;
points = 0;
visible = 25;
viscont = 0;
_root.huidiglevel = 0;
levelpoints = 0;
Frame 244
stop();
Frame 252
cardred = 0;
cardred1 = 0;
cardred2 = 0;
cardblue = 0;
cardblue1 = 0;
cardblue2 = 0;
cardgreen = 0;
cardgreen1 = 0;
cardgreen2 = 0;
cardblack = 0;
cardblack1 = 0;
cardblack2 = 0;
cardpurple = 0;
cardpurple1 = 0;
cardpurple2 = 0;
cardyellow = 0;
cardyellow1 = 0;
cardyellow2 = 0;
perfect = 0;
score = 0;
open = 0;
_root.img01 = random(2) + 1;
_root.img02 = random(2) + 1;
_root.img03 = random(2) + 1;
_root.img04 = random(2) + 1;
_root.img05 = random(2) + 1;
_root.img06 = random(2) + 1;
Instance of Symbol 86 MovieClip "cardblue1" in Frame 260
onClipEvent (load) {
if (_root.position0 == 1) {
setProperty(this, _x , 200);
setProperty(this, _y , 100);
}
if (_root.position0 == 2) {
setProperty(this, _x , 310);
setProperty(this, _y , 100);
}
if (_root.position0 == 3) {
setProperty(this, _x , 420);
setProperty(this, _y , 100);
}
if (_root.position0 == 4) {
setProperty(this, _x , 530);
setProperty(this, _y , 100);
}
if (_root.position0 == 5) {
setProperty(this, _x , 200);
setProperty(this, _y , 210);
}
if (_root.position0 == 6) {
setProperty(this, _x , 310);
setProperty(this, _y , 210);
}
if (_root.position0 == 7) {
setProperty(this, _x , 420);
setProperty(this, _y , 210);
}
if (_root.position0 == 8) {
setProperty(this, _x , 530);
setProperty(this, _y , 210);
}
if (_root.position0 == 9) {
setProperty(this, _x , 200);
setProperty(this, _y , 320);
}
if (_root.position0 == 10) {
setProperty(this, _x , 310);
setProperty(this, _y , 320);
}
if (_root.position0 == 11) {
setProperty(this, _x , 420);
setProperty(this, _y , 320);
}
if (_root.position0 == 12) {
setProperty(this, _x , 530);
setProperty(this, _y , 320);
}
}
Instance of Symbol 90 MovieClip "cardblue2" in Frame 260
onClipEvent (load) {
if (_root.position1 == 1) {
setProperty(this, _x , 200);
setProperty(this, _y , 100);
}
if (_root.position1 == 2) {
setProperty(this, _x , 310);
setProperty(this, _y , 100);
}
if (_root.position1 == 3) {
setProperty(this, _x , 420);
setProperty(this, _y , 100);
}
if (_root.position1 == 4) {
setProperty(this, _x , 530);
setProperty(this, _y , 100);
}
if (_root.position1 == 5) {
setProperty(this, _x , 200);
setProperty(this, _y , 210);
}
if (_root.position1 == 6) {
setProperty(this, _x , 310);
setProperty(this, _y , 210);
}
if (_root.position1 == 7) {
setProperty(this, _x , 420);
setProperty(this, _y , 210);
}
if (_root.position1 == 8) {
setProperty(this, _x , 530);
setProperty(this, _y , 210);
}
if (_root.position1 == 9) {
setProperty(this, _x , 200);
setProperty(this, _y , 320);
}
if (_root.position1 == 10) {
setProperty(this, _x , 310);
setProperty(this, _y , 320);
}
if (_root.position1 == 11) {
setProperty(this, _x , 420);
setProperty(this, _y , 320);
}
if (_root.position1 == 12) {
setProperty(this, _x , 530);
setProperty(this, _y , 320);
}
}
Instance of Symbol 99 MovieClip "cardred1" in Frame 260
onClipEvent (load) {
if (_root.position2 == 1) {
setProperty(this, _x , 200);
setProperty(this, _y , 100);
}
if (_root.position2 == 2) {
setProperty(this, _x , 310);
setProperty(this, _y , 100);
}
if (_root.position2 == 3) {
setProperty(this, _x , 420);
setProperty(this, _y , 100);
}
if (_root.position2 == 4) {
setProperty(this, _x , 530);
setProperty(this, _y , 100);
}
if (_root.position2 == 5) {
setProperty(this, _x , 200);
setProperty(this, _y , 210);
}
if (_root.position2 == 6) {
setProperty(this, _x , 310);
setProperty(this, _y , 210);
}
if (_root.position2 == 7) {
setProperty(this, _x , 420);
setProperty(this, _y , 210);
}
if (_root.position2 == 8) {
setProperty(this, _x , 530);
setProperty(this, _y , 210);
}
if (_root.position2 == 9) {
setProperty(this, _x , 200);
setProperty(this, _y , 320);
}
if (_root.position2 == 10) {
setProperty(this, _x , 310);
setProperty(this, _y , 320);
}
if (_root.position2 == 11) {
setProperty(this, _x , 420);
setProperty(this, _y , 320);
}
if (_root.position2 == 12) {
setProperty(this, _x , 530);
setProperty(this, _y , 320);
}
}
Instance of Symbol 102 MovieClip "cardred2" in Frame 260
onClipEvent (load) {
if (_root.position3 == 1) {
setProperty(this, _x , 200);
setProperty(this, _y , 100);
}
if (_root.position3 == 2) {
setProperty(this, _x , 310);
setProperty(this, _y , 100);
}
if (_root.position3 == 3) {
setProperty(this, _x , 420);
setProperty(this, _y , 100);
}
if (_root.position3 == 4) {
setProperty(this, _x , 530);
setProperty(this, _y , 100);
}
if (_root.position3 == 5) {
setProperty(this, _x , 200);
setProperty(this, _y , 210);
}
if (_root.position3 == 6) {
setProperty(this, _x , 310);
setProperty(this, _y , 210);
}
if (_root.position3 == 7) {
setProperty(this, _x , 420);
setProperty(this, _y , 210);
}
if (_root.position3 == 8) {
setProperty(this, _x , 530);
setProperty(this, _y , 210);
}
if (_root.position3 == 9) {
setProperty(this, _x , 200);
setProperty(this, _y , 320);
}
if (_root.position3 == 10) {
setProperty(this, _x , 310);
setProperty(this, _y , 320);
}
if (_root.position3 == 11) {
setProperty(this, _x , 420);
setProperty(this, _y , 320);
}
if (_root.position3 == 12) {
setProperty(this, _x , 530);
setProperty(this, _y , 320);
}
}
Instance of Symbol 111 MovieClip "cardgreen1" in Frame 260
onClipEvent (load) {
if (_root.position4 == 1) {
setProperty(this, _x , 200);
setProperty(this, _y , 100);
}
if (_root.position4 == 2) {
setProperty(this, _x , 310);
setProperty(this, _y , 100);
}
if (_root.position4 == 3) {
setProperty(this, _x , 420);
setProperty(this, _y , 100);
}
if (_root.position4 == 4) {
setProperty(this, _x , 530);
setProperty(this, _y , 100);
}
if (_root.position4 == 5) {
setProperty(this, _x , 200);
setProperty(this, _y , 210);
}
if (_root.position4 == 6) {
setProperty(this, _x , 310);
setProperty(this, _y , 210);
}
if (_root.position4 == 7) {
setProperty(this, _x , 420);
setProperty(this, _y , 210);
}
if (_root.position4 == 8) {
setProperty(this, _x , 530);
setProperty(this, _y , 210);
}
if (_root.position4 == 9) {
setProperty(this, _x , 200);
setProperty(this, _y , 320);
}
if (_root.position4 == 10) {
setProperty(this, _x , 310);
setProperty(this, _y , 320);
}
if (_root.position4 == 11) {
setProperty(this, _x , 420);
setProperty(this, _y , 320);
}
if (_root.position4 == 12) {
setProperty(this, _x , 530);
setProperty(this, _y , 320);
}
}
Instance of Symbol 115 MovieClip "cardgreen2" in Frame 260
onClipEvent (load) {
if (_root.position5 == 1) {
setProperty(this, _x , 200);
setProperty(this, _y , 100);
}
if (_root.position5 == 2) {
setProperty(this, _x , 310);
setProperty(this, _y , 100);
}
if (_root.position5 == 3) {
setProperty(this, _x , 420);
setProperty(this, _y , 100);
}
if (_root.position5 == 4) {
setProperty(this, _x , 530);
setProperty(this, _y , 100);
}
if (_root.position5 == 5) {
setProperty(this, _x , 200);
setProperty(this, _y , 210);
}
if (_root.position5 == 6) {
setProperty(this, _x , 310);
setProperty(this, _y , 210);
}
if (_root.position5 == 7) {
setProperty(this, _x , 420);
setProperty(this, _y , 210);
}
if (_root.position5 == 8) {
setProperty(this, _x , 530);
setProperty(this, _y , 210);
}
if (_root.position5 == 9) {
setProperty(this, _x , 200);
setProperty(this, _y , 320);
}
if (_root.position5 == 10) {
setProperty(this, _x , 310);
setProperty(this, _y , 320);
}
if (_root.position5 == 11) {
setProperty(this, _x , 420);
setProperty(this, _y , 320);
}
if (_root.position5 == 12) {
setProperty(this, _x , 530);
setProperty(this, _y , 320);
}
}
Instance of Symbol 124 MovieClip "cardblack1" in Frame 260
onClipEvent (load) {
if (_root.position6 == 1) {
setProperty(this, _x , 200);
setProperty(this, _y , 100);
}
if (_root.position6 == 2) {
setProperty(this, _x , 310);
setProperty(this, _y , 100);
}
if (_root.position6 == 3) {
setProperty(this, _x , 420);
setProperty(this, _y , 100);
}
if (_root.position6 == 4) {
setProperty(this, _x , 530);
setProperty(this, _y , 100);
}
if (_root.position6 == 5) {
setProperty(this, _x , 200);
setProperty(this, _y , 210);
}
if (_root.position6 == 6) {
setProperty(this, _x , 310);
setProperty(this, _y , 210);
}
if (_root.position6 == 7) {
setProperty(this, _x , 420);
setProperty(this, _y , 210);
}
if (_root.position6 == 8) {
setProperty(this, _x , 530);
setProperty(this, _y , 210);
}
if (_root.position6 == 9) {
setProperty(this, _x , 200);
setProperty(this, _y , 320);
}
if (_root.position6 == 10) {
setProperty(this, _x , 310);
setProperty(this, _y , 320);
}
if (_root.position6 == 11) {
setProperty(this, _x , 420);
setProperty(this, _y , 320);
}
if (_root.position6 == 12) {
setProperty(this, _x , 530);
setProperty(this, _y , 320);
}
}
Instance of Symbol 128 MovieClip "cardblack2" in Frame 260
onClipEvent (load) {
if (_root.position7 == 1) {
setProperty(this, _x , 200);
setProperty(this, _y , 100);
}
if (_root.position7 == 2) {
setProperty(this, _x , 310);
setProperty(this, _y , 100);
}
if (_root.position7 == 3) {
setProperty(this, _x , 420);
setProperty(this, _y , 100);
}
if (_root.position7 == 4) {
setProperty(this, _x , 530);
setProperty(this, _y , 100);
}
if (_root.position7 == 5) {
setProperty(this, _x , 200);
setProperty(this, _y , 210);
}
if (_root.position7 == 6) {
setProperty(this, _x , 310);
setProperty(this, _y , 210);
}
if (_root.position7 == 7) {
setProperty(this, _x , 420);
setProperty(this, _y , 210);
}
if (_root.position7 == 8) {
setProperty(this, _x , 530);
setProperty(this, _y , 210);
}
if (_root.position7 == 9) {
setProperty(this, _x , 200);
setProperty(this, _y , 320);
}
if (_root.position7 == 10) {
setProperty(this, _x , 310);
setProperty(this, _y , 320);
}
if (_root.position7 == 11) {
setProperty(this, _x , 420);
setProperty(this, _y , 320);
}
if (_root.position7 == 12) {
setProperty(this, _x , 530);
setProperty(this, _y , 320);
}
}
Instance of Symbol 138 MovieClip "cardpurple1" in Frame 260
onClipEvent (load) {
if (_root.position8 == 1) {
setProperty(this, _x , 200);
setProperty(this, _y , 100);
}
if (_root.position8 == 2) {
setProperty(this, _x , 310);
setProperty(this, _y , 100);
}
if (_root.position8 == 3) {
setProperty(this, _x , 420);
setProperty(this, _y , 100);
}
if (_root.position8 == 4) {
setProperty(this, _x , 530);
setProperty(this, _y , 100);
}
if (_root.position8 == 5) {
setProperty(this, _x , 200);
setProperty(this, _y , 210);
}
if (_root.position8 == 6) {
setProperty(this, _x , 310);
setProperty(this, _y , 210);
}
if (_root.position8 == 7) {
setProperty(this, _x , 420);
setProperty(this, _y , 210);
}
if (_root.position8 == 8) {
setProperty(this, _x , 530);
setProperty(this, _y , 210);
}
if (_root.position8 == 9) {
setProperty(this, _x , 200);
setProperty(this, _y , 320);
}
if (_root.position8 == 10) {
setProperty(this, _x , 310);
setProperty(this, _y , 320);
}
if (_root.position8 == 11) {
setProperty(this, _x , 420);
setProperty(this, _y , 320);
}
if (_root.position8 == 12) {
setProperty(this, _x , 530);
setProperty(this, _y , 320);
}
}
Instance of Symbol 142 MovieClip "cardpurple2" in Frame 260
onClipEvent (load) {
if (_root.position9 == 1) {
setProperty(this, _x , 200);
setProperty(this, _y , 100);
}
if (_root.position9 == 2) {
setProperty(this, _x , 310);
setProperty(this, _y , 100);
}
if (_root.position9 == 3) {
setProperty(this, _x , 420);
setProperty(this, _y , 100);
}
if (_root.position9 == 4) {
setProperty(this, _x , 530);
setProperty(this, _y , 100);
}
if (_root.position9 == 5) {
setProperty(this, _x , 200);
setProperty(this, _y , 210);
}
if (_root.position9 == 6) {
setProperty(this, _x , 310);
setProperty(this, _y , 210);
}
if (_root.position9 == 7) {
setProperty(this, _x , 420);
setProperty(this, _y , 210);
}
if (_root.position9 == 8) {
setProperty(this, _x , 530);
setProperty(this, _y , 210);
}
if (_root.position9 == 9) {
setProperty(this, _x , 200);
setProperty(this, _y , 320);
}
if (_root.position9 == 10) {
setProperty(this, _x , 310);
setProperty(this, _y , 320);
}
if (_root.position9 == 11) {
setProperty(this, _x , 420);
setProperty(this, _y , 320);
}
if (_root.position9 == 12) {
setProperty(this, _x , 530);
setProperty(this, _y , 320);
}
}
Instance of Symbol 151 MovieClip "cardyellow1" in Frame 260
onClipEvent (load) {
if (_root.position10 == 1) {
setProperty(this, _x , 200);
setProperty(this, _y , 100);
}
if (_root.position10 == 2) {
setProperty(this, _x , 310);
setProperty(this, _y , 100);
}
if (_root.position10 == 3) {
setProperty(this, _x , 420);
setProperty(this, _y , 100);
}
if (_root.position10 == 4) {
setProperty(this, _x , 530);
setProperty(this, _y , 100);
}
if (_root.position10 == 5) {
setProperty(this, _x , 200);
setProperty(this, _y , 210);
}
if (_root.position10 == 6) {
setProperty(this, _x , 310);
setProperty(this, _y , 210);
}
if (_root.position10 == 7) {
setProperty(this, _x , 420);
setProperty(this, _y , 210);
}
if (_root.position10 == 8) {
setProperty(this, _x , 530);
setProperty(this, _y , 210);
}
if (_root.position10 == 9) {
setProperty(this, _x , 200);
setProperty(this, _y , 320);
}
if (_root.position10 == 10) {
setProperty(this, _x , 310);
setProperty(this, _y , 320);
}
if (_root.position10 == 11) {
setProperty(this, _x , 420);
setProperty(this, _y , 320);
}
if (_root.position10 == 12) {
setProperty(this, _x , 530);
setProperty(this, _y , 320);
}
}
Instance of Symbol 155 MovieClip "cardyellow2" in Frame 260
onClipEvent (load) {
if (_root.position11 == 1) {
setProperty(this, _x , 200);
setProperty(this, _y , 100);
}
if (_root.position11 == 2) {
setProperty(this, _x , 310);
setProperty(this, _y , 100);
}
if (_root.position11 == 3) {
setProperty(this, _x , 420);
setProperty(this, _y , 100);
}
if (_root.position11 == 4) {
setProperty(this, _x , 530);
setProperty(this, _y , 100);
}
if (_root.position11 == 5) {
setProperty(this, _x , 200);
setProperty(this, _y , 210);
}
if (_root.position11 == 6) {
setProperty(this, _x , 310);
setProperty(this, _y , 210);
}
if (_root.position11 == 7) {
setProperty(this, _x , 420);
setProperty(this, _y , 210);
}
if (_root.position11 == 8) {
setProperty(this, _x , 530);
setProperty(this, _y , 210);
}
if (_root.position11 == 9) {
setProperty(this, _x , 200);
setProperty(this, _y , 320);
}
if (_root.position11 == 10) {
setProperty(this, _x , 310);
setProperty(this, _y , 320);
}
if (_root.position11 == 11) {
setProperty(this, _x , 420);
setProperty(this, _y , 320);
}
if (_root.position11 == 12) {
setProperty(this, _x , 530);
setProperty(this, _y , 320);
}
}
Frame 268
stop();
Frame 272
if (_root.score == 6) {
gotoAndPlay ("nextlevel");
} else if (_root.dead == 1) {
gotoAndPlay ("again");
} else {
gotoAndPlay ("loop");
}
Frame 278
stopAllSounds();
Frame 371
stop();
Frame 382
_root.level = _root.level + 1;
points = (points + levelpoints) + perfectscore;
_root.visible = _root.visible - 1.25;
_root.viscont = 0;
if (perfect == 0) {
perfectscore = 2500;
} else if (perfect == 1) {
perfectscore = 0;
gotoAndPlay ("noperfect");
}
Frame 391
stop();
Frame 408
_root.points = _root.points + perfectscore;
Frame 483
_root.huidiglevel = _root.level;
gotoAndPlay ("game");
Symbol 5 Button
on (press) {
getURL ("http://www.totallygame.com", "_blank");
}
Symbol 16 Button
on (press) {
getURL ("http://www.totallygame.com", "_blank");
}
Symbol 43 Button
on (press) {
gotoAndPlay ("nosound");
}
Symbol 48 Button
on (press) {
gotoAndPlay ("sound");
}
Symbol 49 MovieClip Frame 15
stop();
Symbol 49 MovieClip Frame 19
stopAllSounds();
Symbol 49 MovieClip Frame 24
stop();
Symbol 72 MovieClip Frame 1
_root.position0 = random(12) + 1;
Symbol 72 MovieClip Frame 3
gotoAndPlay ("calc1");
Symbol 72 MovieClip Frame 10
_root.position1 = random(12) + 1;
Symbol 72 MovieClip Frame 12
if (_root.position1 == _root.position0) {
gotoAndPlay ("calc1");
} else {
gotoAndPlay ("calc2");
}
Symbol 72 MovieClip Frame 20
_root.position2 = random(12) + 1;
Symbol 72 MovieClip Frame 22
if (_root.position2 == _root.position0) {
gotoAndPlay ("calc2");
} else if (_root.position2 == _root.position1) {
gotoAndPlay ("calc2");
} else {
gotoAndPlay ("calc3");
}
Symbol 72 MovieClip Frame 30
_root.position3 = random(12) + 1;
Symbol 72 MovieClip Frame 32
if (_root.position3 == _root.position0) {
gotoAndPlay ("calc3");
} else if (_root.position3 == _root.position1) {
gotoAndPlay ("calc3");
} else if (_root.position3 == _root.position2) {
gotoAndPlay ("calc3");
} else {
gotoAndPlay ("calc4");
}
Symbol 72 MovieClip Frame 39
_root.position4 = random(12) + 1;
Symbol 72 MovieClip Frame 41
if (_root.position4 == _root.position0) {
gotoAndPlay ("calc4");
} else if (_root.position4 == _root.position1) {
gotoAndPlay ("calc4");
} else if (_root.position4 == _root.position2) {
gotoAndPlay ("calc4");
} else if (_root.position4 == _root.position3) {
gotoAndPlay ("calc4");
} else {
gotoAndPlay ("calc5");
}
Symbol 72 MovieClip Frame 48
_root.position5 = random(12) + 1;
Symbol 72 MovieClip Frame 50
if (_root.position5 == _root.position0) {
gotoAndPlay ("calc5");
} else if (_root.position5 == _root.position1) {
gotoAndPlay ("calc5");
} else if (_root.position5 == _root.position2) {
gotoAndPlay ("calc5");
} else if (_root.position5 == _root.position3) {
gotoAndPlay ("calc5");
} else if (_root.position5 == _root.position4) {
gotoAndPlay ("calc5");
} else {
gotoAndPlay ("calc6");
}
Symbol 72 MovieClip Frame 56
_root.position6 = random(12) + 1;
Symbol 72 MovieClip Frame 58
if (_root.position6 == _root.position0) {
gotoAndPlay ("calc6");
} else if (_root.position6 == _root.position1) {
gotoAndPlay ("calc6");
} else if (_root.position6 == _root.position2) {
gotoAndPlay ("calc6");
} else if (_root.position6 == _root.position3) {
gotoAndPlay ("calc6");
} else if (_root.position6 == _root.position4) {
gotoAndPlay ("calc6");
} else if (_root.position6 == _root.position5) {
gotoAndPlay ("calc6");
} else {
gotoAndPlay ("calc7");
}
Symbol 72 MovieClip Frame 64
_root.position7 = random(12) + 1;
Symbol 72 MovieClip Frame 66
if (_root.position7 == _root.position0) {
gotoAndPlay ("calc7");
} else if (_root.position7 == _root.position1) {
gotoAndPlay ("calc7");
} else if (_root.position7 == _root.position2) {
gotoAndPlay ("calc7");
} else if (_root.position7 == _root.position3) {
gotoAndPlay ("calc7");
} else if (_root.position7 == _root.position4) {
gotoAndPlay ("calc7");
} else if (_root.position7 == _root.position5) {
gotoAndPlay ("calc7");
} else if (_root.position7 == _root.position6) {
gotoAndPlay ("calc7");
} else {
gotoAndPlay ("calc8");
}
Symbol 72 MovieClip Frame 73
_root.position8 = random(12) + 1;
Symbol 72 MovieClip Frame 75
if (_root.position8 == _root.position0) {
gotoAndPlay ("calc8");
} else if (_root.position8 == _root.position1) {
gotoAndPlay ("calc8");
} else if (_root.position8 == _root.position2) {
gotoAndPlay ("calc8");
} else if (_root.position8 == _root.position3) {
gotoAndPlay ("calc8");
} else if (_root.position8 == _root.position4) {
gotoAndPlay ("calc8");
} else if (_root.position8 == _root.position5) {
gotoAndPlay ("calc8");
} else if (_root.position8 == _root.position6) {
gotoAndPlay ("calc8");
} else if (_root.position8 == _root.position7) {
gotoAndPlay ("calc8");
} else {
gotoAndPlay ("calc9");
}
Symbol 72 MovieClip Frame 82
_root.position9 = random(12) + 1;
Symbol 72 MovieClip Frame 84
if (_root.position9 == _root.position0) {
gotoAndPlay ("calc9");
} else if (_root.position9 == _root.position1) {
gotoAndPlay ("calc9");
} else if (_root.position9 == _root.position2) {
gotoAndPlay ("calc9");
} else if (_root.position9 == _root.position3) {
gotoAndPlay ("calc9");
} else if (_root.position9 == _root.position4) {
gotoAndPlay ("calc9");
} else if (_root.position9 == _root.position5) {
gotoAndPlay ("calc9");
} else if (_root.position9 == _root.position6) {
gotoAndPlay ("calc9");
} else if (_root.position9 == _root.position7) {
gotoAndPlay ("calc9");
} else if (_root.position9 == _root.position8) {
gotoAndPlay ("calc9");
} else {
gotoAndPlay ("calc10");
}
Symbol 72 MovieClip Frame 92
_root.position10 = random(12) + 1;
Symbol 72 MovieClip Frame 94
if (_root.position10 == _root.position0) {
gotoAndPlay ("calc10");
} else if (_root.position10 == _root.position1) {
gotoAndPlay ("calc10");
} else if (_root.position10 == _root.position2) {
gotoAndPlay ("calc10");
} else if (_root.position10 == _root.position3) {
gotoAndPlay ("calc10");
} else if (_root.position10 == _root.position4) {
gotoAndPlay ("calc10");
} else if (_root.position10 == _root.position5) {
gotoAndPlay ("calc10");
} else if (_root.position10 == _root.position6) {
gotoAndPlay ("calc10");
} else if (_root.position10 == _root.position7) {
gotoAndPlay ("calc10");
} else if (_root.position10 == _root.position8) {
gotoAndPlay ("calc10");
} else if (_root.position10 == _root.position9) {
gotoAndPlay ("calc10");
} else {
gotoAndPlay ("calc11");
}
Symbol 72 MovieClip Frame 101
_root.position11 = random(12) + 1;
Symbol 72 MovieClip Frame 103
if (_root.position11 == _root.position0) {
gotoAndPlay ("calc11");
} else if (_root.position11 == _root.position1) {
gotoAndPlay ("calc11");
} else if (_root.position11 == _root.position2) {
gotoAndPlay ("calc11");
} else if (_root.position11 == _root.position3) {
gotoAndPlay ("calc11");
} else if (_root.position11 == _root.position4) {
gotoAndPlay ("calc11");
} else if (_root.position11 == _root.position5) {
gotoAndPlay ("calc11");
} else if (_root.position11 == _root.position6) {
gotoAndPlay ("calc11");
} else if (_root.position11 == _root.position7) {
gotoAndPlay ("calc11");
} else if (_root.position11 == _root.position8) {
gotoAndPlay ("calc11");
} else if (_root.position11 == _root.position9) {
gotoAndPlay ("calc11");
} else if (_root.position11 == _root.position10) {
gotoAndPlay ("calc11");
} else {
gotoAndPlay ("calc12");
}
Symbol 72 MovieClip Frame 118
tellTarget ("_root") {
gotoAndPlay ("continue");
};
stop();
Symbol 78 MovieClip Frame 1
if (_root.img01 == 1) {
gotoAndPlay ("photo1-1");
}
if (_root.img01 == 2) {
gotoAndPlay ("photo1-2");
}
Symbol 78 MovieClip Frame 11
stop();
Symbol 78 MovieClip Frame 21
stop();
Symbol 84 Button
on (press) {
if (_root.cardred1 == 1) {
_root.cardblue = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardred1") {
gotoAndPlay ("wait");
};
} else if (_root.cardred2 == 1) {
_root.cardblue = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardred2") {
gotoAndPlay ("wait");
};
} else if (_root.cardgreen1 == 1) {
_root.cardblue = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardgreen1") {
gotoAndPlay ("wait");
};
} else if (_root.cardgreen2 == 1) {
_root.cardblue = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardgreen2") {
gotoAndPlay ("wait");
};
} else if (_root.cardyellow1 == 1) {
_root.cardblue = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardyellow1") {
gotoAndPlay ("wait");
};
} else if (_root.cardyellow2 == 1) {
_root.cardblue = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardyellow2") {
gotoAndPlay ("wait");
};
} else if (_root.cardpurple1 == 1) {
_root.cardblue = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardpurple1") {
gotoAndPlay ("wait");
};
} else if (_root.cardpurple2 == 1) {
_root.cardblue = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardpurple2") {
gotoAndPlay ("wait");
};
} else if (_root.cardblack1 == 1) {
_root.cardblue = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardblack1") {
gotoAndPlay ("wait");
};
} else if (_root.cardblack2 == 1) {
_root.cardblue = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardblack2") {
gotoAndPlay ("wait");
};
} else if (_root.cardblue == 0) {
_root.cardblue = 1;
_root.cardblue1 = 1;
tellTarget ("_root.cardblue1") {
gotoAndPlay ("flip");
};
} else if (_root.cardblue == 1) {
_root.cardblue = 2;
_root.score = _root.score + 1;
_root.points = _root.points + 50;
tellTarget ("_root.cardblue1") {
gotoAndPlay ("flip");
};
}
}
Symbol 85 Button
on (press) {
if (_root.cardblue == 2) {
stop();
} else if (_root.cardblue == 1) {
gotoAndPlay ("normal");
_root.cardblue1 = 0;
_root.cardblue = _root.cardblue - 1;
}
}
Symbol 86 MovieClip Frame 1
stop();
Symbol 86 MovieClip Frame 5
stop();
Symbol 86 MovieClip Frame 12
if (_root.cardblue == 2) {
_root.cardblue1 = 0;
_root.cardblue2 = 0;
}
stop();
Symbol 86 MovieClip Frame 19
gotoAndPlay ("normal");
_root.cardblue1 = 0;
_root.cardblue = _root.cardblue - 1;
_root.perfect = 1;
Symbol 87 Button
on (press) {
if (_root.cardred1 == 1) {
_root.cardblue = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardred1") {
gotoAndPlay ("wait");
};
} else if (_root.cardred2 == 1) {
_root.cardblue = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardred2") {
gotoAndPlay ("wait");
};
} else if (_root.cardgreen1 == 1) {
_root.cardblue = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardgreen1") {
gotoAndPlay ("wait");
};
} else if (_root.cardgreen2 == 1) {
_root.cardblue = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardgreen2") {
gotoAndPlay ("wait");
};
} else if (_root.cardyellow1 == 1) {
_root.cardblue = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardyellow1") {
gotoAndPlay ("wait");
};
} else if (_root.cardyellow2 == 1) {
_root.cardblue = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardyellow2") {
gotoAndPlay ("wait");
};
} else if (_root.cardpurple1 == 1) {
_root.cardblue = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardpurple1") {
gotoAndPlay ("wait");
};
} else if (_root.cardpurple2 == 1) {
_root.cardblue = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardpurple2") {
gotoAndPlay ("wait");
};
} else if (_root.cardblack1 == 1) {
_root.cardblue = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardblack1") {
gotoAndPlay ("wait");
};
} else if (_root.cardblack2 == 1) {
_root.cardblue = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardblack2") {
gotoAndPlay ("wait");
};
} else if (_root.cardblue == 0) {
_root.cardblue = 1;
_root.cardblue2 = 1;
tellTarget ("_root.cardblue2") {
gotoAndPlay ("flip");
};
} else if (_root.cardblue == 1) {
_root.cardblue = 2;
_root.score = _root.score + 1;
_root.points = _root.points + 50;
tellTarget ("_root.cardblue2") {
gotoAndPlay ("flip");
};
}
}
Symbol 88 Button
on (press) {
if (_root.cardblue == 2) {
stop();
} else if (_root.cardblue == 1) {
gotoAndPlay ("normal");
_root.cardblue2 = 0;
_root.cardblue = _root.cardblue - 1;
}
}
Symbol 89 Button
on (press) {
if (_root.cardblue == 2) {
stop();
} else if (_root.cardblue == 1) {
gotoAndPlay ("normal");
_root.cardblue1 = 0;
_root.cardblue = _root.cardblue - 1;
}
}
Symbol 90 MovieClip Frame 1
stop();
Symbol 90 MovieClip Frame 5
stop();
Symbol 90 MovieClip Frame 12
if (_root.cardblue == 2) {
_root.cardblue1 = 0;
_root.cardblue2 = 0;
}
stop();
Symbol 90 MovieClip Frame 19
gotoAndPlay ("normal");
_root.cardblue2 = 0;
_root.cardblue = _root.cardblue - 1;
_root.perfect = 1;
Symbol 95 MovieClip Frame 1
if (_root.img02 == 1) {
gotoAndPlay ("photo1-1");
}
if (_root.img02 == 2) {
gotoAndPlay ("photo1-2");
}
Symbol 95 MovieClip Frame 11
stop();
Symbol 95 MovieClip Frame 21
stop();
Symbol 97 Button
on (press) {
if (_root.cardblue1 == 1) {
_root.cardred = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardblue1") {
gotoAndPlay ("wait");
};
} else if (_root.cardblue2 == 1) {
_root.cardred = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardblue2") {
gotoAndPlay ("wait");
};
} else if (_root.cardgreen1 == 1) {
_root.cardred = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardgreen1") {
gotoAndPlay ("wait");
};
} else if (_root.cardgreen2 == 1) {
_root.cardred = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardgreen2") {
gotoAndPlay ("wait");
};
} else if (_root.cardyellow1 == 1) {
_root.cardred = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardyellow1") {
gotoAndPlay ("wait");
};
} else if (_root.cardyellow2 == 1) {
_root.cardred = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardyellow2") {
gotoAndPlay ("wait");
};
} else if (_root.cardpurple1 == 1) {
_root.cardred = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardpurple1") {
gotoAndPlay ("wait");
};
} else if (_root.cardpurple2 == 1) {
_root.cardred = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardpurple2") {
gotoAndPlay ("wait");
};
} else if (_root.cardblack1 == 1) {
_root.cardred = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardblack1") {
gotoAndPlay ("wait");
};
} else if (_root.cardblack2 == 1) {
_root.cardred = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardblack2") {
gotoAndPlay ("wait");
};
} else if (_root.cardred == 0) {
_root.cardred = 1;
_root.cardred1 = 1;
tellTarget ("_root.cardred1") {
gotoAndPlay ("flip");
};
} else if (_root.cardred == 1) {
_root.cardred = 2;
_root.score = _root.score + 1;
_root.points = _root.points + 50;
tellTarget ("_root.cardred1") {
gotoAndPlay ("flip");
};
}
}
Symbol 98 Button
on (press) {
if (_root.cardred == 2) {
stop();
} else if (_root.cardred == 1) {
gotoAndPlay ("normal");
_root.cardred1 = 0;
_root.cardred = _root.cardred - 1;
}
}
Symbol 99 MovieClip Frame 1
stop();
Symbol 99 MovieClip Frame 6
stop();
Symbol 99 MovieClip Frame 13
if (_root.cardred == 2) {
_root.cardred1 = 0;
_root.cardred2 = 0;
}
stop();
Symbol 99 MovieClip Frame 19
gotoAndPlay ("normal");
_root.cardred1 = 0;
_root.cardred = _root.cardred - 1;
_root.perfect = 1;
Symbol 100 Button
on (press) {
if (_root.cardblue1 == 1) {
_root.cardred = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardblue1") {
gotoAndPlay ("wait");
};
} else if (_root.cardblue2 == 1) {
_root.cardred = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardblue2") {
gotoAndPlay ("wait");
};
} else if (_root.cardgreen1 == 1) {
_root.cardred = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardgreen1") {
gotoAndPlay ("wait");
};
} else if (_root.cardgreen2 == 1) {
_root.cardred = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardgreen2") {
gotoAndPlay ("wait");
};
} else if (_root.cardyellow1 == 1) {
_root.cardred = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardyellow1") {
gotoAndPlay ("wait");
};
} else if (_root.cardyellow2 == 1) {
_root.cardred = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardyellow2") {
gotoAndPlay ("wait");
};
} else if (_root.cardpurple1 == 1) {
_root.cardred = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardpurple1") {
gotoAndPlay ("wait");
};
} else if (_root.cardpurple2 == 1) {
_root.cardred = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardpurple2") {
gotoAndPlay ("wait");
};
} else if (_root.cardblack1 == 1) {
_root.cardred = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardblack1") {
gotoAndPlay ("wait");
};
} else if (_root.cardblack2 == 1) {
_root.cardred = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardblack2") {
gotoAndPlay ("wait");
};
} else if (_root.cardred == 0) {
_root.cardred = 1;
_root.cardred2 = 1;
tellTarget ("_root.cardred2") {
gotoAndPlay ("flip");
};
} else if (_root.cardred == 1) {
_root.cardred = 2;
_root.score = _root.score + 1;
_root.points = _root.points + 50;
tellTarget ("_root.cardred2") {
gotoAndPlay ("flip");
};
}
}
Symbol 101 Button
on (press) {
if (_root.cardred == 2) {
stop();
} else if (_root.cardred == 1) {
gotoAndPlay ("normal");
_root.cardred2 = 0;
_root.cardred = _root.cardred - 1;
}
}
Symbol 102 MovieClip Frame 1
stop();
Symbol 102 MovieClip Frame 5
stop();
Symbol 102 MovieClip Frame 12
if (_root.cardred == 2) {
_root.cardred1 = 0;
_root.cardred2 = 0;
}
stop();
Symbol 102 MovieClip Frame 19
gotoAndPlay ("normal");
_root.cardred2 = 0;
_root.cardred = _root.cardred - 1;
_root.perfect = 1;
Symbol 107 MovieClip Frame 1
if (_root.img03 == 1) {
gotoAndPlay ("photo1-1");
}
if (_root.img03 == 2) {
gotoAndPlay ("photo1-2");
}
Symbol 107 MovieClip Frame 11
stop();
Symbol 107 MovieClip Frame 21
stop();
Symbol 109 Button
on (press) {
if (_root.cardred1 == 1) {
_root.cardgreen = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardred1") {
gotoAndPlay ("wait");
};
} else if (_root.cardred2 == 1) {
_root.cardgreen = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardred2") {
gotoAndPlay ("wait");
};
} else if (_root.cardblue1 == 1) {
_root.cardgreen = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardblue1") {
gotoAndPlay ("wait");
};
} else if (_root.cardblue2 == 1) {
_root.cardgreen = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardblue2") {
gotoAndPlay ("wait");
};
} else if (_root.cardyellow1 == 1) {
_root.cardgreen = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardyellow1") {
gotoAndPlay ("wait");
};
} else if (_root.cardyellow2 == 1) {
_root.cardgreen = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardyellow2") {
gotoAndPlay ("wait");
};
} else if (_root.cardpurple1 == 1) {
_root.cardgreen = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardpurple1") {
gotoAndPlay ("wait");
};
} else if (_root.cardpurple2 == 1) {
_root.cardgreen = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardpurple2") {
gotoAndPlay ("wait");
};
} else if (_root.cardblack1 == 1) {
_root.cardgreen = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardblack1") {
gotoAndPlay ("wait");
};
} else if (_root.cardblack2 == 1) {
_root.cardgreen = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardblack2") {
gotoAndPlay ("wait");
};
} else if (_root.cardgreen == 0) {
_root.cardgreen = 1;
_root.cardgreen1 = 1;
tellTarget ("_root.cardgreen1") {
gotoAndPlay ("flip");
};
} else if (_root.cardgreen == 1) {
_root.cardgreen = 2;
_root.score = _root.score + 1;
_root.points = _root.points + 50;
tellTarget ("_root.cardgreen1") {
gotoAndPlay ("flip");
};
}
}
Symbol 110 Button
on (press) {
if (_root.cardgreen == 2) {
stop();
} else if (_root.cardgreen == 1) {
gotoAndPlay ("normal");
_root.cardgreen1 = 0;
_root.cardgreen = _root.cardgreen - 1;
}
}
Symbol 111 MovieClip Frame 1
stop();
Symbol 111 MovieClip Frame 7
stop();
Symbol 111 MovieClip Frame 13
if (_root.cardgreen == 2) {
_root.cardgreen1 = 0;
_root.cardgreen2 = 0;
}
stop();
Symbol 111 MovieClip Frame 19
gotoAndPlay ("normal");
_root.cardgreen1 = 0;
_root.cardgreen = _root.cardgreen - 1;
_root.perfect = 1;
Symbol 112 Button
on (press) {
if (_root.cardred1 == 1) {
_root.cardgreen = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardred1") {
gotoAndPlay ("wait");
};
} else if (_root.cardred2 == 1) {
_root.cardgreen = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardred2") {
gotoAndPlay ("wait");
};
} else if (_root.cardblue1 == 1) {
_root.cardgreen = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardblue1") {
gotoAndPlay ("wait");
};
} else if (_root.cardblue2 == 1) {
_root.cardgreen = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardblue2") {
gotoAndPlay ("wait");
};
} else if (_root.cardyellow1 == 1) {
_root.cardgreen = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardyellow1") {
gotoAndPlay ("wait");
};
} else if (_root.cardyellow2 == 1) {
_root.cardgreen = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardyellow2") {
gotoAndPlay ("wait");
};
} else if (_root.cardpurple1 == 1) {
_root.cardgreen = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardpurple1") {
gotoAndPlay ("wait");
};
} else if (_root.cardpurple2 == 1) {
_root.cardgreen = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardpurple2") {
gotoAndPlay ("wait");
};
} else if (_root.cardblack1 == 1) {
_root.cardgreen = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardblack1") {
gotoAndPlay ("wait");
};
} else if (_root.cardblack2 == 1) {
_root.cardgreen = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardblack2") {
gotoAndPlay ("wait");
};
} else if (_root.cardgreen == 0) {
_root.cardgreen = 1;
_root.cardgreen2 = 1;
tellTarget ("_root.cardgreen2") {
gotoAndPlay ("flip");
};
} else if (_root.cardgreen == 1) {
_root.cardgreen = 2;
_root.score = _root.score + 1;
_root.points = _root.points + 50;
tellTarget ("_root.cardgreen2") {
gotoAndPlay ("flip");
};
}
}
Symbol 113 Button
on (press) {
if (_root.cardgreen == 2) {
stop();
} else if (_root.cardgreen == 1) {
gotoAndPlay ("normal");
_root.cardgreen2 = 0;
_root.cardgreen = _root.cardgreen - 1;
}
}
Symbol 114 Button
on (press) {
if (_root.cardgreen == 2) {
stop();
} else if (_root.cardgreen == 1) {
gotoAndPlay ("normal");
_root.cardgreen1 = 0;
_root.cardgreen = _root.cardgreen - 1;
}
}
Symbol 115 MovieClip Frame 1
stop();
Symbol 115 MovieClip Frame 5
stop();
Symbol 115 MovieClip Frame 12
if (_root.cardgreen == 2) {
_root.cardgreen1 = 0;
_root.cardgreen2 = 0;
}
stop();
Symbol 115 MovieClip Frame 18
gotoAndPlay ("normal");
_root.cardgreen2 = 0;
_root.cardgreen = _root.cardgreen - 1;
_root.perfect = 1;
Symbol 120 MovieClip Frame 1
if (_root.img04 == 1) {
gotoAndPlay ("photo1-1");
}
if (_root.img04 == 2) {
gotoAndPlay ("photo1-2");
}
Symbol 120 MovieClip Frame 11
stop();
Symbol 120 MovieClip Frame 21
stop();
Symbol 122 Button
on (press) {
if (_root.cardred1 == 1) {
_root.cardblack = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardred1") {
gotoAndPlay ("wait");
};
} else if (_root.cardred2 == 1) {
_root.cardblack = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardred2") {
gotoAndPlay ("wait");
};
} else if (_root.cardgreen1 == 1) {
_root.cardblack = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardgreen1") {
gotoAndPlay ("wait");
};
} else if (_root.cardgreen2 == 1) {
_root.cardblack = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardgreen2") {
gotoAndPlay ("wait");
};
} else if (_root.cardyellow1 == 1) {
_root.cardblack = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardyellow1") {
gotoAndPlay ("wait");
};
} else if (_root.cardyellow2 == 1) {
_root.cardblack = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardyellow2") {
gotoAndPlay ("wait");
};
} else if (_root.cardpurple1 == 1) {
_root.cardblack = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardpurple1") {
gotoAndPlay ("wait");
};
} else if (_root.cardpurple2 == 1) {
_root.cardblack = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardpurple2") {
gotoAndPlay ("wait");
};
} else if (_root.cardblue1 == 1) {
_root.cardblack = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardblue1") {
gotoAndPlay ("wait");
};
} else if (_root.cardblue2 == 1) {
_root.cardblack = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardblue2") {
gotoAndPlay ("wait");
};
} else if (_root.cardblack == 0) {
_root.cardblack = 1;
_root.cardblack1 = 1;
tellTarget ("_root.cardblack1") {
gotoAndPlay ("flip");
};
} else if (_root.cardblack == 1) {
_root.cardblack = 2;
_root.score = _root.score + 1;
_root.points = _root.points + 50;
tellTarget ("_root.cardblack1") {
gotoAndPlay ("flip");
};
}
}
Symbol 123 Button
on (press) {
if (_root.cardblack == 2) {
stop();
} else if (_root.cardblack == 1) {
gotoAndPlay ("normal");
_root.cardblack1 = 0;
_root.cardblack = _root.cardblack - 1;
}
}
Symbol 124 MovieClip Frame 1
stop();
Symbol 124 MovieClip Frame 5
stop();
Symbol 124 MovieClip Frame 12
if (_root.cardblack == 2) {
_root.cardblack1 = 0;
_root.cardblack2 = 0;
}
stop();
Symbol 124 MovieClip Frame 19
gotoAndPlay ("normal");
_root.cardblack1 = 0;
_root.cardblack = _root.cardblack - 1;
_root.perfect = 1;
Symbol 125 Button
on (press) {
if (_root.cardred1 == 1) {
_root.cardblack = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardred1") {
gotoAndPlay ("wait");
};
} else if (_root.cardred2 == 1) {
_root.cardblack = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardred2") {
gotoAndPlay ("wait");
};
} else if (_root.cardgreen1 == 1) {
_root.cardblack = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardgreen1") {
gotoAndPlay ("wait");
};
} else if (_root.cardgreen2 == 1) {
_root.cardblack = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardgreen2") {
gotoAndPlay ("wait");
};
} else if (_root.cardyellow1 == 1) {
_root.cardblack = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardyellow1") {
gotoAndPlay ("wait");
};
} else if (_root.cardyellow2 == 1) {
_root.cardblack = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardyellow2") {
gotoAndPlay ("wait");
};
} else if (_root.cardpurple1 == 1) {
_root.cardblack = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardpurple1") {
gotoAndPlay ("wait");
};
} else if (_root.cardpurple2 == 1) {
_root.cardblack = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardpurple2") {
gotoAndPlay ("wait");
};
} else if (_root.cardblue1 == 1) {
_root.cardblack = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardblue1") {
gotoAndPlay ("wait");
};
} else if (_root.cardblue2 == 1) {
_root.cardblack = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardblue2") {
gotoAndPlay ("wait");
};
} else if (_root.cardblack == 0) {
_root.cardblack = 1;
_root.cardblack2 = 1;
tellTarget ("_root.cardblack2") {
gotoAndPlay ("flip");
};
} else if (_root.cardblack == 1) {
_root.cardblack = 2;
_root.score = _root.score + 1;
_root.points = _root.points + 50;
tellTarget ("_root.cardblack2") {
gotoAndPlay ("flip");
};
}
}
Symbol 126 Button
on (press) {
if (_root.cardblack == 2) {
stop();
} else if (_root.cardblack == 1) {
gotoAndPlay ("normal");
_root.cardblack2 = 0;
_root.cardblack = _root.cardblack - 1;
}
}
Symbol 127 Button
on (press) {
if (_root.cardblack == 2) {
stop();
} else if (_root.cardblack == 1) {
gotoAndPlay ("normal");
_root.cardblack1 = 0;
_root.cardblack = _root.cardblack - 1;
}
}
Symbol 128 MovieClip Frame 1
stop();
Symbol 128 MovieClip Frame 5
stop();
Symbol 128 MovieClip Frame 12
if (_root.cardblack == 2) {
_root.cardblack1 = 0;
_root.cardblack2 = 0;
}
stop();
Symbol 128 MovieClip Frame 19
gotoAndPlay ("normal");
_root.cardblack2 = 0;
_root.cardblack = _root.cardblack - 1;
_root.perfect = 1;
Symbol 133 MovieClip Frame 1
if (_root.img05 == 1) {
gotoAndPlay ("photo1-1");
}
if (_root.img05 == 2) {
gotoAndPlay ("photo1-2");
}
Symbol 133 MovieClip Frame 11
stop();
Symbol 133 MovieClip Frame 21
stop();
Symbol 135 Button
on (press) {
if (_root.cardred1 == 1) {
_root.cardpurple = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardred1") {
gotoAndPlay ("wait");
};
} else if (_root.cardred2 == 1) {
_root.cardpurple = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardred2") {
gotoAndPlay ("wait");
};
} else if (_root.cardgreen1 == 1) {
_root.cardpurple = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardgreen1") {
gotoAndPlay ("wait");
};
} else if (_root.cardgreen2 == 1) {
_root.cardpurple = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardgreen2") {
gotoAndPlay ("wait");
};
} else if (_root.cardyellow1 == 1) {
_root.cardpurple = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardyellow1") {
gotoAndPlay ("wait");
};
} else if (_root.cardyellow2 == 1) {
_root.cardpurple = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardyellow2") {
gotoAndPlay ("wait");
};
} else if (_root.cardblue1 == 1) {
_root.cardpurple = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardblue1") {
gotoAndPlay ("wait");
};
} else if (_root.cardblue2 == 1) {
_root.cardpurple = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardblue2") {
gotoAndPlay ("wait");
};
} else if (_root.cardblack1 == 1) {
_root.cardpurple = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardblack1") {
gotoAndPlay ("wait");
};
} else if (_root.cardblack2 == 1) {
_root.cardpurple = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardblack2") {
gotoAndPlay ("wait");
};
} else if (_root.cardpurple == 0) {
_root.cardpurple = 1;
_root.cardpurple1 = 1;
tellTarget ("_root.cardpurple1") {
gotoAndPlay ("flip");
};
} else if (_root.cardpurple == 1) {
_root.cardpurple = 2;
_root.score = _root.score + 1;
_root.points = _root.points + 50;
tellTarget ("_root.cardpurple1") {
gotoAndPlay ("flip");
};
}
}
Symbol 136 Button
on (press) {
if (_root.cardpurple == 2) {
stop();
} else if (_root.cardpurple == 1) {
gotoAndPlay ("normal");
_root.cardpurple1 = 0;
_root.cardpurple = _root.cardpurple - 1;
}
}
Symbol 137 Button
on (press) {
if (_root.purple == 2) {
stop();
} else if (_root.cardpurple == 1) {
gotoAndPlay ("normal");
_root.cardpurple1 = 0;
_root.cardpurple = _root.cardpurple - 1;
}
}
Symbol 138 MovieClip Frame 1
stop();
Symbol 138 MovieClip Frame 5
stop();
Symbol 138 MovieClip Frame 12
if (_root.cardpurple == 2) {
_root.cardpurple1 = 0;
_root.cardpurple2 = 0;
}
stop();
Symbol 138 MovieClip Frame 17
gotoAndPlay ("normal");
_root.cardpurple1 = 0;
_root.cardpurple = _root.cardpurple - 1;
_root.perfect = 1;
Symbol 139 Button
on (press) {
if (_root.cardred1 == 1) {
_root.cardpurple = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardred1") {
gotoAndPlay ("wait");
};
} else if (_root.cardred2 == 1) {
_root.cardpurple = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardred2") {
gotoAndPlay ("wait");
};
} else if (_root.cardgreen1 == 1) {
_root.cardpurple = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardgreen1") {
gotoAndPlay ("wait");
};
} else if (_root.cardgreen2 == 1) {
_root.cardpurple = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardgreen2") {
gotoAndPlay ("wait");
};
} else if (_root.cardyellow1 == 1) {
_root.cardpurple = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardyellow1") {
gotoAndPlay ("wait");
};
} else if (_root.cardyellow2 == 1) {
_root.cardpurple = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardyellow2") {
gotoAndPlay ("wait");
};
} else if (_root.cardblue1 == 1) {
_root.cardpurple = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardblue1") {
gotoAndPlay ("wait");
};
} else if (_root.cardblue2 == 1) {
_root.cardpurple = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardblue2") {
gotoAndPlay ("wait");
};
} else if (_root.cardblack1 == 1) {
_root.cardpurple = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardblack1") {
gotoAndPlay ("wait");
};
} else if (_root.cardblack2 == 1) {
_root.cardpurple = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardblack2") {
gotoAndPlay ("wait");
};
} else if (_root.cardpurple == 0) {
_root.cardpurple = 1;
_root.cardpurple2 = 1;
tellTarget ("_root.cardpurple2") {
gotoAndPlay ("flip");
};
} else if (_root.cardpurple == 1) {
_root.cardpurple = 2;
_root.score = _root.score + 1;
_root.points = _root.points + 50;
tellTarget ("_root.cardpurple2") {
gotoAndPlay ("flip");
};
}
}
Symbol 140 Button
on (press) {
if (_root.cardpurple == 2) {
stop();
} else if (_root.cardpurple == 1) {
gotoAndPlay ("normal");
_root.cardpurple2 = 0;
_root.cardpurple = _root.cardpurple - 1;
}
}
Symbol 141 Button
on (press) {
if (_root.cardpurple == 2) {
stop();
} else if (_root.cardpurple == 1) {
gotoAndPlay ("normal");
_root.cardpurple1 = 0;
_root.cardpurple = _root.cardpurple - 1;
}
}
Symbol 142 MovieClip Frame 1
stop();
Symbol 142 MovieClip Frame 5
stop();
Symbol 142 MovieClip Frame 12
if (_root.cardpurple == 2) {
_root.cardpurple1 = 0;
_root.cardpurple2 = 0;
}
stop();
Symbol 142 MovieClip Frame 17
gotoAndPlay ("normal");
_root.cardpurple2 = 0;
_root.cardpurple = _root.cardpurple - 1;
_root.perfect = 1;
Symbol 147 MovieClip Frame 1
if (_root.img02 == 1) {
gotoAndPlay ("photo1-1");
}
if (_root.img02 == 2) {
gotoAndPlay ("photo1-2");
}
Symbol 147 MovieClip Frame 11
stop();
Symbol 147 MovieClip Frame 21
stop();
Symbol 149 Button
on (press) {
if (_root.cardred1 == 1) {
_root.cardyellow = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardred1") {
gotoAndPlay ("wait");
};
} else if (_root.cardred2 == 1) {
_root.cardyellow = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardred2") {
gotoAndPlay ("wait");
};
} else if (_root.cardgreen1 == 1) {
_root.cardyellow = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardgreen1") {
gotoAndPlay ("wait");
};
} else if (_root.cardgreen2 == 1) {
_root.cardyellow = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardgreen2") {
gotoAndPlay ("wait");
};
} else if (_root.cardblue1 == 1) {
_root.cardyellow = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardblue1") {
gotoAndPlay ("wait");
};
} else if (_root.cardblue2 == 1) {
_root.cardyellow = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardblue2") {
gotoAndPlay ("wait");
};
} else if (_root.cardpurple1 == 1) {
_root.cardyellow = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardpurple1") {
gotoAndPlay ("wait");
};
} else if (_root.cardpurple2 == 1) {
_root.cardyellow = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardpurple2") {
gotoAndPlay ("wait");
};
} else if (_root.cardblack1 == 1) {
_root.cardyellow = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardblack1") {
gotoAndPlay ("wait");
};
} else if (_root.cardblack2 == 1) {
_root.cardyellow = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardblack2") {
gotoAndPlay ("wait");
};
} else if (_root.cardyellow == 0) {
_root.cardyellow = 1;
_root.cardyellow1 = 1;
tellTarget ("_root.cardyellow1") {
gotoAndPlay ("flip");
};
} else if (_root.cardyellow == 1) {
_root.cardyellow = 2;
_root.score = _root.score + 1;
_root.points = _root.points + 50;
tellTarget ("_root.cardyellow1") {
gotoAndPlay ("flip");
};
}
}
Symbol 150 Button
on (press) {
if (_root.cardyellow == 2) {
stop();
} else if (_root.cardyellow == 1) {
gotoAndPlay ("normal");
_root.cardyellow1 = 0;
_root.cardyellow = _root.cardyellow - 1;
}
}
Symbol 151 MovieClip Frame 1
stop();
Symbol 151 MovieClip Frame 5
stop();
Symbol 151 MovieClip Frame 10
if (_root.cardyellow == 2) {
_root.cardyellow1 = 0;
_root.cardyellow2 = 0;
}
stop();
Symbol 151 MovieClip Frame 15
gotoAndPlay ("normal");
_root.cardyellow1 = 0;
_root.cardyellow = _root.cardyellow - 1;
_root.perfect = 1;
Symbol 152 Button
on (press) {
if (_root.cardred1 == 1) {
_root.cardyellow = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardred1") {
gotoAndPlay ("wait");
};
} else if (_root.cardred2 == 1) {
_root.cardyellow = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardred2") {
gotoAndPlay ("wait");
};
} else if (_root.cardgreen1 == 1) {
_root.cardyellow = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardgreen1") {
gotoAndPlay ("wait");
};
} else if (_root.cardgreen2 == 1) {
_root.cardyellow = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardgreen2") {
gotoAndPlay ("wait");
};
} else if (_root.cardblue1 == 1) {
_root.cardyellow = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardblue1") {
gotoAndPlay ("wait");
};
} else if (_root.cardblue2 == 1) {
_root.cardyellow = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardblue2") {
gotoAndPlay ("wait");
};
} else if (_root.cardpurple1 == 1) {
_root.cardyellow = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardpurple1") {
gotoAndPlay ("wait");
};
} else if (_root.cardpurple2 == 1) {
_root.cardyellow = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardpurple2") {
gotoAndPlay ("wait");
};
} else if (_root.cardblack1 == 1) {
_root.cardyellow = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardblack1") {
gotoAndPlay ("wait");
};
} else if (_root.cardblack2 == 1) {
_root.cardyellow = 1;
gotoAndPlay ("wait");
tellTarget ("_root.cardblack2") {
gotoAndPlay ("wait");
};
} else if (_root.cardyellow == 0) {
_root.cardyellow = 1;
_root.cardyellow2 = 1;
tellTarget ("_root.cardyellow2") {
gotoAndPlay ("flip");
};
} else if (_root.cardyellow == 1) {
_root.cardyellow = 2;
_root.score = _root.score + 1;
_root.points = _root.points + 50;
tellTarget ("_root.cardyellow2") {
gotoAndPlay ("flip");
};
}
}
Symbol 153 Button
on (press) {
if (_root.cardyellow == 2) {
stop();
} else if (_root.cardyellow == 1) {
gotoAndPlay ("normal");
_root.cardyellow2 = 0;
_root.cardyellow = _root.cardyellow - 1;
}
}
Symbol 154 Button
on (press) {
if (_root.cardyellow == 2) {
stop();
} else if (_root.cardyellow == 1) {
gotoAndPlay ("normal");
_root.cardyellow1 = 0;
_root.cardyellow = _root.cardyellow - 1;
}
}
Symbol 155 MovieClip Frame 1
stop();
Symbol 155 MovieClip Frame 4
stop();
Symbol 155 MovieClip Frame 10
if (_root.cardyellow == 2) {
_root.cardyellow1 = 0;
_root.cardyellow2 = 0;
}
stop();
Symbol 155 MovieClip Frame 15
gotoAndPlay ("normal");
_root.cardyellow2 = 0;
_root.cardyellow = _root.cardyellow - 1;
_root.perfect = 1;
Symbol 180 MovieClip Frame 1
if (_root.viscont >= _root.visible) {
gotoAndPlay (3);
}
Symbol 180 MovieClip Frame 2
gotoAndPlay (1);
Symbol 180 MovieClip Frame 3
if (_root.level == 0) {
gotoAndPlay ("sec1");
} else if (_root.level == 1) {
gotoAndPlay ("sec2");
} else if (_root.level == 2) {
gotoAndPlay ("sec3");
} else if (_root.level == 3) {
gotoAndPlay ("sec4");
} else if (_root.level == 4) {
gotoAndPlay ("sec5");
} else if (_root.level == 5) {
gotoAndPlay ("sec6");
} else if (_root.level == 6) {
gotoAndPlay ("sec7");
} else if (_root.level == 7) {
gotoAndPlay ("sec8");
} else if (_root.level == 8) {
gotoAndPlay ("sec9");
} else if (_root.level == 9) {
gotoAndPlay ("sec10");
} else if (_root.level == 10) {
gotoAndPlay ("sec11");
} else if (_root.level == 11) {
gotoAndPlay ("sec12");
} else if (_root.level == 12) {
gotoAndPlay ("sec13");
} else if (_root.level == 13) {
gotoAndPlay ("sec14");
} else if (_root.level == 14) {
gotoAndPlay ("sec15");
} else if (_root.level == 15) {
gotoAndPlay ("sec16");
} else if (_root.level == 16) {
gotoAndPlay ("sec17");
} else if (_root.level == 17) {
gotoAndPlay ("sec18");
} else if (_root.level == 18) {
gotoAndPlay ("sec19");
} else if (_root.level == 19) {
gotoAndPlay ("sec20");
} else if (_root.level == 20) {
gotoAndPlay ("sec21");
} else if (_root.level == 21) {
gotoAndPlay ("sec22");
}
Symbol 180 MovieClip Frame 6
_root.levelpoints = 5000;
Symbol 180 MovieClip Frame 30
_root.levelpoints = 4750;
Symbol 180 MovieClip Frame 54
_root.levelpoints = 4500;
Symbol 180 MovieClip Frame 78
_root.levelpoints = 4250;
Symbol 180 MovieClip Frame 102
_root.levelpoints = 4000;
Symbol 180 MovieClip Frame 126
_root.levelpoints = 3750;
Symbol 180 MovieClip Frame 150
_root.levelpoints = 3500;
Symbol 180 MovieClip Frame 174
_root.levelpoints = 3250;
Symbol 180 MovieClip Frame 198
_root.levelpoints = 3000;
Symbol 180 MovieClip Frame 222
_root.levelpoints = 2750;
Symbol 180 MovieClip Frame 246
_root.levelpoints = 2500;
Symbol 180 MovieClip Frame 270
_root.levelpoints = 2250;
Symbol 180 MovieClip Frame 294
_root.levelpoints = 2000;
Symbol 180 MovieClip Frame 318
_root.levelpoints = 1750;
Symbol 180 MovieClip Frame 342
_root.levelpoints = 1500;
Symbol 180 MovieClip Frame 366
_root.levelpoints = 1250;
Symbol 180 MovieClip Frame 390
_root.levelpoints = 1000;
Symbol 180 MovieClip Frame 414
_root.levelpoints = 750;
Symbol 180 MovieClip Frame 438
_root.levelpoints = 500;
Symbol 180 MovieClip Frame 462
_root.levelpoints = 250;
Symbol 180 MovieClip Frame 486
_root.levelpoints = 0;
Symbol 180 MovieClip Frame 516
_root.dead = 1;
Symbol 181 MovieClip Frame 1
if (_root.viscont >= _root.visible) {
tellTarget ("_root.cardblack1") {
gotoAndPlay ("normal");
};
tellTarget ("_root.cardblack2") {
gotoAndPlay ("normal");
};
tellTarget ("_root.cardblue1") {
gotoAndPlay ("normal");
};
tellTarget ("_root.cardblue2") {
gotoAndPlay ("normal");
};
tellTarget ("_root.cardgreen1") {
gotoAndPlay ("normal");
};
tellTarget ("_root.cardgreen2") {
gotoAndPlay ("normal");
};
tellTarget ("_root.cardpurple1") {
gotoAndPlay ("normal");
};
tellTarget ("_root.cardpurple2") {
gotoAndPlay ("normal");
};
tellTarget ("_root.cardred1") {
gotoAndPlay ("normal");
};
tellTarget ("_root.cardred2") {
gotoAndPlay ("normal");
};
tellTarget ("_root.cardyellow1") {
gotoAndPlay ("normal");
};
tellTarget ("_root.cardyellow2") {
gotoAndPlay ("normal");
};
tellTarget ("_root") {
gotoAndPlay ("loop");
};
}
Symbol 181 MovieClip Frame 3
gotoAndPlay (1);
_root.viscont = _root.viscont + 1.5;
Symbol 187 Button
on (press) {
stopAllSounds();
gotoAndPlay (234);
}
Symbol 206 MovieClip Frame 63
tellTarget ("_root") {
gotoAndPlay ("door");
};
stop();