Frame 1
fscommand ("showmenu", false);
Frame 59
stop();
Frame 161
stop();
_root.flashing._x = 275;
_root.flashing._y = 200;
_root.flashing._rotation = 0;
_root.kocka1._visible = 0;
_root.catchthis._visible = 0;
koszalas = function () {
this.onEnterFrame = function () {
if (Math.round(Math.random() * 31) == 2) {
this.bspeedx = Math.random() * 6;
this.bspeedy = Math.random() * 6;
this.bspeedr = Math.random() * 6;
this.celx = Math.floor((Math.random() * (550 - this._width)) + this._width);
this.cely = Math.floor((Math.random() * (400 - this._height)) + this._height);
this.celr = Math.floor((Math.random() * (150 - this._rotation)) - this._rotation);
}
this.diffx = this.celx - this._x;
this.diffy = this.cely - this._y;
this.diffr = this.celr - this._rotation;
this.speedx = Math.floor(this.bspeedx * this.diffx) / 100;
this.speedy = Math.floor(this.bspeedy * this.diffy) / 100;
this.speedr = Math.floor(this.bspeedr * this.diffr) / 100;
this._x = this._x + this.speedx;
this._y = this._y + this.speedy;
this._rotation = this._rotation + this.speedr;
updateAfterEvent();
if (this._name == _root.display) {
this.swapDepths(99);
}
if (this.hitTest(_root._xmouse, _root._ymouse, false) && (this._name == _root.display)) {
this._xscale = this._xscale + 50;
this._yscale = this._yscale + 50;
szar.start();
}
if (this._xscale > 275) {
this.play();
}
};
};
startGame = function () {
i = 1;
while (i < 32) {
kocka1.duplicateMovieClip(i, i);
koszalas.apply(_root[i]);
i++;
}
_root.display = 32 - (i - 1);
};
startGame();
Instance of Symbol 19 MovieClip "time" in Frame 161
onClipEvent (load) {
tempbyou = 0;
tempfun = 0;
tempjikan = 0;
this.time = "00:00:00";
inittime = getTimer();
}
onClipEvent (enterFrame) {
tempbyou = Math.floor((getTimer() - inittime) / 1000);
_root.time = getTimer() - inittime;
tempfun = Math.floor(tempbyou / 60);
tempjikan = Math.floor(tempfun / 60);
tempbyou = (tempbyou - ((tempjikan * 60) * 60)) - (tempfun * 60);
if (String(tempbyou).length == 1) {
tempbyou = "0" + tempbyou;
}
if (String(tempfun).length == 1) {
tempfun = "0" + tempfun;
}
if (String(tempjikan).length == 1) {
tempjikan = "0" + tempjikan;
}
this.time = (((tempjikan + ":") + tempfun) + ":") + tempbyou;
if (_root.display >= 32) {
_root.times = time;
_root.tempbyous = Math.floor((getTimer() - inittime) / 1000);
_root.gotoAndPlay("31end");
}
}
Frame 162
prevFrame();
Frame 163
gotoAndStop (1);
Frame 240
if (tempbyous >= touroku) {
stop();
}
Frame 274
so = SharedObject.getLocal("ice");
name = so.data.name;
mail = so.data.mail;
Selection.setFocus(name);
Selection.setFocus(mail);
stop();
Frame 288
function showScores() {
var i = 10;
while (i > 0) {
var tt = scoreboard["times" + (page + i)];
var nn = scoreboard["name" + (page + i)];
var mm = scoreboard["message" + (page + i)];
var L = this["Line" + i];
L.RankRan.text = (page + i) + ".";
L.TimesRan.text = (tt.length ? (tt.toLowerCase()) : "-------------");
L.NameRan.text = (nn.length ? (nn.toLowerCase()) : "----------");
L.MessageRan.text = (mm.length ? (mm.toLowerCase()) : "---------------------");
L._visible = true;
Loading._visible = false;
i--;
}
}
s = new Sound();
s.attachSound("\u30E9\u30F3\u30AD\u30F3\u30B0.mp3");
s.start();
System.useCodepage = true;
page = 0;
maxScore = 100;
BackBtn._visible = (NextBtn._visible = false);
scoreboard = new LoadVars();
if (score) {
scoreboard.score = score;
scoreboard.tetris = tetris;
scoreboard.name = (name.length ? (name.toLowerCase()) : "");
scoreboard.message = message;
}
scoreboard.game = "ice";
scoreboard.sendAndLoad("index2.cgi", scoreboard, "POST");
scoreboard.onLoad = function (success) {
if (success) {
if (Boolean(scoreboard.success)) {
NextBtn._visible = true;
showScores();
} else {
Loading.errorMsg = scoreboard.errorMsg.toLowerCase();
Loading.gotoAndStop(2);
}
} else {
Loading.errorMsg = "could not load scores.";
Loading.gotoAndStop(2);
}
};
stop();
Symbol 6 Button
on (release, keyPress "<Enter>") {
gotoAndPlay (60);
}
Symbol 12 Button
on (release, keyPress "<Down>") {
gotoAndPlay (288);
}
Symbol 23 MovieClip Frame 1
stop();
Symbol 23 MovieClip Frame 2
this._xscale = 50;
this._yscale = 50;
this._rotation = (Math.random() * 90) - 45;
Symbol 23 MovieClip Frame 9
_root.display = _root.display + 1;
Symbol 23 MovieClip Frame 10
this.removeMovieClip();
Symbol 41 Button
on (release) {
touroku = tempbyous;
System.useCodepage = true;
so.data.name = name;
so.data.mail = mail;
loadVariablesNum ("index.cgi", 0, "POST");
stopAllSounds();
play();
}
Symbol 45 MovieClip Frame 1
stop();
errorMsg = "";
Symbol 51 Button
on (release, keyPress "<Right>") {
page = page + 10;
if (page > maxScore) {
page = maxScore;
}
if (page > (maxScore - 20)) {
NextBtn._visible = false;
}
BackBtn._visible = true;
showScores();
}
Symbol 54 Button
on (release, keyPress "<Left>") {
page = page - 10;
if (page < 0) {
page = 0;
}
if (page < 10) {
BackBtn._visible = false;
}
NextBtn._visible = true;
showScores();
}
Symbol 56 Button
on (release, keyPress "<Down>") {
delete scoreboard;
gotoAndPlay (1);
}