Frame 1
onEnterFrame = function () {
loaded = _root.getBytesLoaded();
amount = _root.getBytesTotal();
if (loaded == amount) {
gotoAndStop (2);
}
};
stop();
Frame 2
onEnterFrame = function () {
if (_root.advance == "crudwheats") {
gotoAndStop (3);
}
};
Frame 3
stop();
simon._visible = false;
level = 2;
soundobj = new Sound();
playsound = function (sname) {
soundobj.attachSound(sname);
soundobj.start(0, 0);
};
passwordarray = ["Housebrick", "Bumper Sticker", "George Bush", "Pet Cat", "Dolphin", "Einstein", "Stewie", "Hal-9000", "Freak Of Nature", "Chuck Norris' Sperm", "The Added IQ Of Canada", "Chuck Norris Himself", "God", "Infinity * 999", "Teh PwnZorZ", "OMFGLOL!!!1", "I KNOW KUNG FU", "IM ON PILLS WO0o0 COLOR!!1"];
passwordd = (("Level " + (level - 1)) + ".\r Your IQ matches: ") + passwordarray[level - 2];
simon.begin = function (thedifficulty) {
if (this.ingame == undefined) {
startbutton._alpha = 50;
this.diff = thedifficulty;
this.sequence = new Array();
this.ingame = true;
this._visible = true;
this.playmode = "show";
this.g1._alpha = 0;
this.g2._alpha = 0;
this.g3._alpha = 0;
this.g4._alpha = 0;
this.g1._xscale = this.g1._alpha;
this.g1._yscale = this.g1._alpha;
this.g2._xscale = this.g2._alpha;
this.g2._yscale = this.g2._alpha;
this.g3._xscale = this.g3._alpha;
this.g3._yscale = this.g3._alpha;
this.g4._xscale = this.g4._alpha;
this.g4._yscale = this.g4._alpha;
this.g1.gotoAndStop(2);
this.g2.gotoAndStop(2);
this.g3.gotoAndStop(2);
this.g4.gotoAndStop(2);
this.waitint = 50;
this.upto = 0;
di = this.diff;
this.average = 50;
while (di > 0) {
this.sequence[this.sequence.length] = random(4) + 1;
di--;
}
this.onEnterFrame = function () {
this.waitint--;
this._rotation = this._rotation + (this.diff * 1.5);
this.sign._rotation = -this._rotation;
if (this.playmode == "show") {
if ((this.waitint <= 0) && (this.upto < this.diff)) {
eval ("this.g" + this.sequence[this.upto])._alpha = 100;
playsound(this.sequence[this.upto]);
this.upto++;
this.waitint = 30 - (this.diff * 1);
}
if (this.upto >= this.diff) {
if (this.waitint < -15) {
this.playmode = "play";
this.average = 100;
this.upto = 0;
this.waitint = 120;
this.g1.gotoAndStop(1);
this.g2.gotoAndStop(1);
this.g3.gotoAndStop(1);
this.g4.gotoAndStop(1);
simon.win = function () {
if (this.playmode == "play") {
this.g1.gotoAndStop(2);
this.g2.gotoAndStop(2);
this.g3.gotoAndStop(2);
this.g4.gotoAndStop(2);
this.average = 0;
this.playmode = "packup";
this.waitint = 40;
level++;
playsound("win");
passwordd = (("Level " + (level - 1)) + ".\r Your IQ matches: ") + passwordarray[level - 2];
}
};
simon.lose = function () {
if (this.playmode == "play") {
this.g1.gotoAndStop(2);
this.g2.gotoAndStop(2);
this.g3.gotoAndStop(2);
this.g4.gotoAndStop(2);
this.sign.gotoAndStop(3);
this.sign._alpha = 100;
this.average = 0;
this.playmode = "packup";
this.waitint = 40;
}
};
simon.hitglyph = function (display) {
if (this.waitint > 0) {
if (display.charAt(1) == this.sequence[this.upto]) {
if (this.upto < (this.diff - 1)) {
playsound(this.sequence[this.upto]);
}
eval ("this." + display)._alpha = 75;
this.sign.gotoAndStop(2);
this.sign._alpha = 100;
this.waitint = 60;
this.upto++;
if (this.upto >= this.diff) {
simon.win();
}
} else {
playsound("w");
simon.lose();
}
}
};
}
}
}
if (this.playmode == "play") {
if (this.waitint < 0) {
playsound("w");
simon.lose();
}
}
if (this.playmode == "packup") {
if (this.waitint < 0) {
simon.end();
}
}
this.g1._alpha = this.g1._alpha + ((this.average - this.g1._alpha) / 10);
this.g2._alpha = this.g2._alpha + ((this.average - this.g2._alpha) / 10);
this.g3._alpha = this.g3._alpha + ((this.average - this.g3._alpha) / 10);
this.g4._alpha = this.g4._alpha + ((this.average - this.g4._alpha) / 10);
this.g1._xscale = this.g1._alpha;
this.g1._yscale = this.g1._alpha;
this.g2._xscale = this.g2._alpha;
this.g2._yscale = this.g2._alpha;
this.g3._xscale = this.g3._alpha;
this.g3._yscale = this.g3._alpha;
this.g4._xscale = this.g4._alpha;
this.g4._yscale = this.g4._alpha;
this.sign._alpha = this.sign._alpha / 1.1;
};
}
};
simon.end = function () {
trace("SIMON ENDED");
this.onEnterFrame = function () {
};
this._visible = false;
this.ingame = undefined;
startbutton._alpha = 100;
};
Instance of Symbol 22 MovieClip "startbutton" in Frame 3
on (press) {
_root.simon.begin(_root.level);
}
Instance of Symbol 35 MovieClip in Frame 3
on (press) {
getURL ("http://www.gamegecko.com", "_BLANK");
}
Instance of Symbol 37 MovieClip in Frame 3
on (press) {
getURL ("http://www.gamegecko.com/gamesforyoursite.php", "_BLANK");
}
Symbol 13 MovieClip Frame 1
click.onPress = function () {
_parent.hitglyph(_name);
};
Symbol 18 MovieClip Frame 1
stop();
Symbol 23 MovieClip Frame 1
stop();
Instance of Symbol 26 MovieClip in Symbol 28 MovieClip Frame 1
onClipEvent (load) {
xpos = _x;
ypos = _y;
}
onClipEvent (enterFrame) {
_alpha = (random(30) + 30);
_x = (xpos + (random(5) - 2));
_y = (ypos + (random(5) - 2));
gotoAndStop(random(15) + 1);
}
Instance of Symbol 28 MovieClip in Symbol 29 MovieClip Frame 1
on (press) {
getURL ("http://www.gamegecko.com", "_BLANK");
}
Symbol 29 MovieClip Frame 141
_root.advance = "crudwheats";
stop();