Frame 2
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("d56b5f84", this, 10301, true);
Frame 3
Stage.scaleMode = "noScale";
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=7&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("5a62ff41", this, 10301, true);
intro_sound = new Sound();
intro_sound.attachSound("intro_sound");
intro_sound.start(0, 1000);
Frame 42
System.useCodepage = true;
_root.game_id = 11496;
_root.user_id = "";
loadVariablesNum ("game_value.asp", 0, "POST");
((bounce = new Sound(this))).attachSound("bounce");
((catchSnd2 = new Sound(this))).attachSound("catch");
((catchSnd1 = new Sound(this))).attachSound("catch1");
((click = new Sound(this))).attachSound("click");
((vanish1 = new Sound(this))).attachSound("vanish1");
((beep = new Sound(this))).attachSound("beep");
((fallendSnd = new Sound(this))).attachSound("fallend");
((vanish3 = new Sound(this))).attachSound("vanish3");
((vanish2 = new Sound(this))).attachSound("vanish2");
((vanish6 = new Sound(this))).attachSound("vanish6");
((curtain = new Sound(this))).attachSound("curtain");
((bepbeep = new Sound(this))).attachSound("bepbeep");
((buu = new Sound(this))).attachSound("buu");
((select = new Sound(this))).attachSound("select");
((fallSnd = new Sound(this))).attachSound("fallSnd");
((pipo1 = new Sound(this))).attachSound("pipo1");
((pipo2 = new Sound(this))).attachSound("pipo2");
((piyo1 = new Sound(this))).attachSound("piyo1");
((piyo2 = new Sound(this))).attachSound("piyo2");
((piyo3 = new Sound(this))).attachSound("piyo3");
((up1 = new Sound(this))).attachSound("up1");
((up2 = new Sound(this))).attachSound("up2");
((up3 = new Sound(this))).attachSound("up3");
((up4 = new Sound(this))).attachSound("up4");
((notime = new Sound(this))).attachSound("notime");
((spvanish = new Sound(this))).attachSound("spvanish");
((pyoyon = new Sound(this))).attachSound("pyoyon");
((bomsnd = new Sound(this))).attachSound("bomsnd");
((clearsnd = new Sound(this))).attachSound("clearSnd");
((devil = new Sound(this))).attachSound("devil");
((angel = new Sound(this))).attachSound("angel");
((ting = new Sound(this))).attachSound("ting");
sndmode = 1;
Stage.scaleMode = "noScale";
Frame 43
stop();
((bounce = new Sound(this))).attachSound("bounce");
((catchSnd2 = new Sound(this))).attachSound("catch");
((catchSnd1 = new Sound(this))).attachSound("catch1");
((click = new Sound(this))).attachSound("click");
((vanish1 = new Sound(this))).attachSound("vanish1");
((beep = new Sound(this))).attachSound("beep");
((fallendSnd = new Sound(this))).attachSound("fallend");
((vanish3 = new Sound(this))).attachSound("vanish3");
((vanish2 = new Sound(this))).attachSound("vanish2");
((vanish6 = new Sound(this))).attachSound("vanish6");
((curtain = new Sound(this))).attachSound("curtain");
((bepbeep = new Sound(this))).attachSound("bepbeep");
((buu = new Sound(this))).attachSound("buu");
((select = new Sound(this))).attachSound("select");
((fallSnd = new Sound(this))).attachSound("fallSnd");
((pipo1 = new Sound(this))).attachSound("pipo1");
((pipo2 = new Sound(this))).attachSound("pipo2");
((piyo1 = new Sound(this))).attachSound("piyo1");
((piyo2 = new Sound(this))).attachSound("piyo2");
((piyo3 = new Sound(this))).attachSound("piyo3");
((up1 = new Sound(this))).attachSound("up1");
((up2 = new Sound(this))).attachSound("up2");
((up3 = new Sound(this))).attachSound("up3");
((up4 = new Sound(this))).attachSound("up4");
((notime = new Sound(this))).attachSound("notime");
((spvanish = new Sound(this))).attachSound("spvanish");
((pyoyon = new Sound(this))).attachSound("pyoyon");
((bomsnd = new Sound(this))).attachSound("bomsnd");
((clearsnd = new Sound(this))).attachSound("clearSnd");
((devil = new Sound(this))).attachSound("devil");
((angel = new Sound(this))).attachSound("angel");
((ting = new Sound(this))).attachSound("ting");
sndmode = 1;
Frame 46
jin.intro.gotoAndStop("help");
Frame 47
jin.intro.gotoAndStop("help");
Frame 48
function btchange(num) {
var _local3 = _root;
var _local2 = 0;
while (_local2 < 8) {
var _local1 = 0;
while (_local1 < 8) {
if (num == 0) {
_local3[("t" + _local2) + _local1].bt.gotoAndStop("off");
} else {
_local3[("t" + _local2) + _local1].bt.gotoAndStop("on");
}
_local1++;
}
_local2++;
}
}
ting.stop();
var load_sw = 0;
var gt_vscore = "Loading..";
var gt_vscore2 = "Loading..";
var totscore = -1;
var ranking = -1;
trace("totscore ????");
receiver_data = new LoadVars();
receiver_data.load("game_before.asp", "POST");
receiver_data.onLoad = function (sucess) {
if (sucess) {
if (receiver_data.totscore > -1) {
gt_vscore = receiver_data.totscore;
gt_vscore2 = receiver_data.ranking;
trace("totscore ?? ??");
} else {
trace("????? ?? ??");
gt_vscore = "Error..";
gt_vscore2 = "Error..";
}
load_sw = 1;
} else {
load_sw = 2;
gt_vscore = "Error..";
trace("totscore ?? ??");
}
};
board = new Array();
board[0] = [0, 0, 0, 0, 0, 0, 0, 0];
board[1] = [0, 0, 0, 0, 0, 0, 0, 0];
board[2] = [0, 0, 0, 0, 0, 0, 0, 0];
board[3] = [0, 0, 0, 0, 0, 0, 0, 0];
board[4] = [0, 0, 0, 0, 0, 0, 0, 0];
board[5] = [0, 0, 0, 0, 0, 0, 0, 0];
board[6] = [0, 0, 0, 0, 0, 0, 0, 0];
board[7] = [0, 0, 0, 0, 0, 0, 0, 0];
board2 = new Array();
board2[0] = [0, 0, 0, 0, 0, 0, 0, 0];
board2[1] = [0, 0, 0, 0, 0, 0, 0, 0];
board2[2] = [0, 0, 0, 0, 0, 0, 0, 0];
board2[3] = [0, 0, 0, 0, 0, 0, 0, 0];
board2[4] = [0, 0, 0, 0, 0, 0, 0, 0];
board2[5] = [0, 0, 0, 0, 0, 0, 0, 0];
board2[6] = [0, 0, 0, 0, 0, 0, 0, 0];
board2[7] = [0, 0, 0, 0, 0, 0, 0, 0];
fallArray = new Array(0, 0, 0, 0, 0, 0, 0, 0);
vcheckArray = new Array(0, 0, 0, 0, 0, 0, 0, 0);
mode = 0;
sx1 = 0;
sy1 = 0;
sx2 = 0;
sy2 = 0;
score = 0;
level = 1;
levelOut = level;
lvupnum = level + 3;
btchange(0);
Instance of Symbol 158 MovieClip "timer" in Frame 48
onClipEvent (load) {
function reset() {
xwidth = 100;
gage._xscale = xwidth;
mode = 0;
noTimeCheck = 0;
aclock.gotoAndStop(1);
gage.gotoAndStop(1);
mtimeArray = [35, 33, 30, 20];
ftime = mtimeArray[_root.level - 1] * 1000;
trace("time+" + ftime);
}
function timestart() {
mode = 1;
rTime = getTimer();
}
function timestop() {
mode = 0;
aclock.gotoAndStop(1);
}
function timeup(num) {
gageChange(num);
}
function gageChange(num) {
var _local1 = _root;
xwidth = xwidth + num;
if (xwidth <= 0) {
xwidth = 0;
} else if (xwidth >= 100) {
xwidth = 100;
}
if (xwidth <= 20) {
if ((noTimeCheck % 4) == 0) {
if (_local1.music_sw == 1) {
_local1.bounce.start(0, 2);
}
}
if (noTimeCheck == 0) {
aclock.gotoAndStop(2);
gage.gotoAndStop(2);
}
noTimeCheck++;
} else if ((xwidth > 20) && (noTimeCheck >= 1)) {
noTimeCheck = 0;
_local1.bounce.stop();
aclock.gotoAndStop(1);
gage.gotoAndStop(1);
}
gage._xscale = xwidth;
if (gage._xscale <= 0) {
_local1.bounce.stop();
aclock.gotoAndStop(2);
_local1.gotoAndPlay("gameOver");
}
}
reset();
}
onClipEvent (enterFrame) {
if (mode == 1) {
addpix = ((100 * (getTimer() - rTime)) / ftime) + rmpix;
if (addpix >= 1) {
movepix = math.floor(addpix);
gageChange(-movepix);
rmpix = addpix - movepix;
rTime = getTimer();
}
}
}
Instance of Symbol 259 MovieClip "sndClip" in Frame 48
onClipEvent (load) {
function sndstop() {
snd_game.stop();
}
function sndstart() {
snd_game.start(0, 999);
}
Snd_game = new Sound(this);
Snd_game.attachSound("Snd_game");
snd_game.setVolume(50);
if (_root.sndmode) {
snd_game.start(0, 999);
}
}
onClipEvent (unload) {
snd_game.stop();
}
Instance of Symbol 273 MovieClip "musicbtn" in Frame 48
onClipEvent (load) {
function chang_bg_sound(i) {
var _local1 = _root;
trace("i=" + i);
if (i == 1) {
this.gotoAndStop(1);
_local1.music_sw = 1;
_local1.music.start(0, 10000);
trace("playSound");
} else {
this.gotoAndStop(2);
_local1.music_sw = 0;
_local1.music.stop();
stopAllSounds();
}
}
_root.music_sw = 1;
_root.music = new sound();
_root.music.attachsound("snd_game");
if (_root.music_sw == 1) {
_root.music.start(0, 10000);
}
}
onClipEvent (enterFrame) {
}
Instance of Symbol 280 MovieClip in Frame 48
onClipEvent (load) {
_root.mc_pause._visible = 0;
}
Frame 49
function vanishcheck() {
var _local2 = 0;
while (_local2 < 8) {
var j = 0;
while (j < 8) {
board2[_local2][j] = 0;
j++;
}
_local2++;
}
var vnum = 0;
var _local1 = 0;
while (_local1 < 8) {
var _local3 = 0;
while (_local3 < 6) {
if (board[_local1][_local3 + 1] == board[_local1][_local3]) {
var k = 2;
while (board[_local1][_local3 + k] == board[_local1][_local3]) {
k++;
}
if (k > 2) {
vnum++;
_local2 = _local3;
while (_local2 < (_local3 + k)) {
board2[_local1][_local2] = board[_local1][_local3];
_local2++;
}
_local3 = _local3 + (k - 1);
}
}
_local3++;
}
_local1++;
}
var _local3 = 0;
while (_local3 < 8) {
_local1 = 0;
while (_local1 < 6) {
if (board[_local1 + 1][_local3] == board[_local1][_local3]) {
var k = 2;
while (board[_local1 + k][_local3] == board[_local1][_local3]) {
k++;
}
if (k > 2) {
vnum++;
_local2 = _local1;
while (_local2 < (_local1 + k)) {
board2[_local2][_local3] = board[_local1][_local3];
_local2++;
}
_local1 = _local1 + (k - 1);
}
}
_local1++;
}
_local3++;
}
if (vnum > 0) {
return(1);
}
return(0);
}
Frame 50
this.gotoAndPlay("lvupview");
Frame 54
level++;
levelOut = level;
lvupnum = level + 3;
timer.reset();
btchange(0);
fallingnum = 0;
var y = 0;
while (y < 8) {
var x = 0;
while (x < 8) {
fallingnum++;
this[("t" + y) + x].allfall();
x++;
}
y++;
}
if (_root.music_sw == 1) {
clearSnd.start();
}
Frame 58
if (fallingnum <= 0) {
this.gotoAndPlay(_currentframe + 1);
} else {
this.gotoAndPlay(_currentframe - 1);
}
Frame 61
levelPop.gotoAndStop(_root.level);
if (_root.music_sw == 1) {
bepbeep.start();
}
vcheckArray = [0, 0, 0, 0, 0, 0];
remainNum = 5;
remainCheck = 0;
remainOne = 0;
i = 1;
while (i <= 5) {
this["checker" + i].gotoAndStop(1);
this.cNum["cnum" + i].num = 0;
i++;
}
_root.level_view.gotoAndStop(level);
if (_root.level > 4) {
_root.gotoAndStop("game_end");
}
Frame 73
bomboardnum = 0;
var i = 0;
while (i < 8) {
var j = 0;
while (j < 8) {
checky = 0;
checkx = 0;
if (level < 2) {
var theNum = math.ceil(math.random() * 5);
} else if (level < 3) {
var theNum = math.ceil(math.random() * 6);
} else if (level < 4) {
var theNum = math.ceil(math.random() * 7);
} else {
var theNum = math.ceil(math.random() * 8);
}
if (!bomboardnum) {
sprndnum = math.ceil(math.random() * 300);
if (sprndnum == 10) {
bomboardnum = 1;
var theNum = sprndNum;
}
}
if (board[i - 1][j] == board[i - 2][j]) {
checky = board[i - 1][j];
}
if (board[i][j - 1] == board[i][j - 2]) {
checkx = board[i][j - 1];
}
if ((theNum == checky) || (theNum == checkx)) {
nxtNum = theNum;
while ((nxtNum == checky) || (nxtNum == checkx)) {
if (level < 2) {
var nxtNum = math.ceil(math.random() * 5);
continue;
}
if (level < 3) {
var nxtNum = math.ceil(math.random() * 6);
continue;
}
if (level < 4) {
var nxtNum = math.ceil(math.random() * 7);
continue;
}
var nxtNum = math.ceil(math.random() * 8);
}
theNum = nxtNum;
}
board[i][j] = theNum;
j++;
}
i++;
}
fallingnum = 0;
x = 0;
while (x < 8) {
y = 7;
while (y >= 0) {
this[("t" + y) + x]._y = this[("t" + y) + x]._y - 238;
this[("t" + y) + x].change();
this[("t" + y) + x].fall();
fallingnum++;
y--;
}
x++;
}
if (_root.music_sw == 1) {
fallSnd.start();
}
Frame 75
if (fallingnum) {
this.gotoAndPlay(_currentframe - 1);
} else {
if (_root.music_sw == 1) {
fallendSnd.start();
}
this.gotoAndPlay("nomorecheck");
}
Frame 82
if (remainNum <= 0) {
this.gotoAndPlay("levelUp");
}
fallokok++;
trace(fallokok);
Frame 83
cannum = 0;
y = 0;
while (y < 8) {
x = 0;
while (x < 8) {
var theNum = board[y][x];
if (board[y][x + 1] == theNum) {
if (board[y + 1][x + 2] == theNum) {
cannum++;
break;
}
if (board[y][x + 3] == theNum) {
cannum++;
break;
}
if (board[y - 1][x + 2] == theNum) {
cannum++;
break;
}
if (board[y + 1][x - 1] == theNum) {
cannum++;
break;
}
if (board[y][x - 2] == theNum) {
cannum++;
break;
}
if (board[y - 1][x - 1] == theNum) {
cannum++;
break;
}
}
if (board[y][x + 2] == theNum) {
if (board[y + 1][x + 1] == theNum) {
cannum++;
break;
}
if (board[y - 1][x + 1] == theNum) {
cannum++;
break;
}
}
if (board[y + 1][x] == theNum) {
if (board[y + 2][x - 1] == theNum) {
cannum++;
break;
}
if (board[y + 3][x] == theNum) {
cannum++;
break;
}
if (board[y + 2][x + 1] == theNum) {
cannum++;
break;
}
if (board[y - 1][x - 1] == theNum) {
cannum++;
break;
}
if (board[y - 2][x] == theNum) {
cannum++;
break;
}
if (board[y - 1][x + 1] == theNum) {
cannum++;
break;
}
}
if (board[y + 2][x] == theNum) {
if (board[y + 1][x + 1] == theNum) {
cannum++;
break;
}
if (board[y + 1][x - 1] == theNum) {
cannum++;
break;
}
}
x++;
}
y++;
}
if (!cannum) {
this.gotoAndPlay(_currentframe + 1);
} else {
this.gotoAndStop("wait");
}
Frame 87
fallingnum = 0;
var y = 0;
while (y < 8) {
var x = 0;
while (x < 8) {
fallingnum++;
this[("t" + y) + x].nomorefall();
x++;
}
y++;
}
if (_root.music_sw == 1) {
fallSnd.start();
}
Frame 89
if (fallingnum <= 0) {
this.gotoAndPlay(_currentframe + 1);
} else {
this.gotoAndPlay(_currentframe - 1);
}
Frame 91
this.gotoAndPlay("newboard");
Frame 94
btchange(1);
mode = 1;
timer.timestart();
stop();
Frame 101
mode = 0;
btchange(0);
shiftNum = 0;
changeCheck = 0;
tempnum = board[sy1][sx1];
board[sy1][sx1] = board[sy2][sx2];
board[sy2][sx2] = tempnum;
this[(("t" + sY1) + "") + sX1].change();
this[(("t" + sY2) + "") + sX2].change();
tempx = this[(("t" + sY1) + "") + sX1]._x;
tempy = this[(("t" + sY1) + "") + sX1]._y;
this[(("t" + sY1) + "") + sX1]._x = this[(("t" + sY2) + "") + sX2]._x;
this[(("t" + sY1) + "") + sX1]._y = this[(("t" + sY2) + "") + sX2]._y;
this[(("t" + sY2) + "") + sX2]._x = tempx;
this[(("t" + sY2) + "") + sX2]._y = tempy;
if (sy1 == sy2) {
if (sx2 < sx1) {
this[(("t" + sY1) + "") + sX1].xshift(1);
this[(("t" + sY2) + "") + sX2].xshift(-1);
shiftNum = shiftNum + 2;
} else {
this[(("t" + sY1) + "") + sX1].xshift(-1);
this[(("t" + sY2) + "") + sX2].xshift(1);
shiftNUm = shiftNUm + 2;
}
} else if (sy2 < sy1) {
this[(("t" + sy1) + "") + sX1].yshift(1);
this[(("t" + sY2) + "") + sX2].yshift(-1);
shiftNum = shiftNum + 2;
} else {
this[(("t" + sY1) + "") + sX1].yshift(-1);
this[(("t" + sY2) + "") + sX2].yshift(1);
shiftNUm = shiftNUm + 2;
}
if (shiftTime == 0) {
if (vanishcheck()) {
timer.timestop();
changeCheck = 1;
}
}
Frame 103
if (shiftnum) {
this.gotoAndPlay(_currentframe - 1);
} else {
this.gotoAndPlay(_currentframe + 1);
}
Frame 105
if (shiftTime == 0) {
if (changeCheck) {
if (_root.music_sw == 1) {
vanish3.start();
}
chainnum = 0;
this.gotoAndPlay("vanish");
} else {
shiftTime = 1;
this.gotoAndPlay("change");
}
} else {
this.gotoAndStop("wait");
}
Frame 110
vanishnum = 0;
var y = 0;
while (y < 8) {
var x = 0;
while (x < 6) {
if (board2[y][x] != 0) {
chaNum = board2[y][x];
var k = 1;
while (board2[y][x + k] == board2[y][x]) {
k++;
}
k--;
if (k >= 2) {
vanishnum = vanishnum + (k + 1);
addscore = ((level * 10) * math.pow(2, k - 2)) * math.pow(2, chainnum - 1);
if (addscore > 9999) {
addscore = 9999;
}
score = score + addscore;
vcheckArray[board2[y][x]] = vcheckArray[board2[y][x]] + (k + 1);
var theNum = Number((("1" + y) + "") + x);
var theName = ("sview" + theNum);
this.attachMovie("scoreview", theName, theNum);
this[theName]._y = this[(("t" + y) + "") + x]._y;
this[theName]._x = (this[(("t" + y) + "") + x]._x + ((k * 30) / 2)) + 15;
if (addscore >= 1000) {
this[theName].gotoAndPlay("k4");
} else if (addscore >= 100) {
this[theName].gotoAndPlay("k3");
}
this[theName].score = addscore;
x = x + k;
}
}
x++;
}
y++;
}
var x = 0;
while (x < 8) {
var y = 0;
while (y < 6) {
if (board2[y][x] != 0) {
chaNum = board2[y][x];
trace(chaNum);
var k = 1;
while (board2[y + k][x] == board2[y][x]) {
k++;
}
k--;
if (k >= 2) {
vanishnum = vanishnum + (k + 1);
addscore = ((level * 10) * math.pow(2, k - 2)) * math.pow(2, chainnum - 1);
if (addscore > 9999) {
addscore = 9999;
}
score = score + addscore;
vcheckArray[board2[y][x]] = vcheckArray[board2[y][x]] + (k + 1);
var theNum = Number((("2" + y) + "") + x);
var theName = ("sview" + theNum);
this.attachMovie("scoreview", theName, theNum);
this[theName]._x = this[(("t" + y) + "") + x]._x;
this[theName]._y = (this[(("t" + y) + "") + x]._y + ((k * 30) / 2)) + 15;
if (addscore >= 1000) {
this[theName].gotoAndPlay("k4");
} else if (addscore >= 100) {
this[theName].gotoAndPlay("k3");
}
this[theName].score = addscore;
y = y + k;
}
}
y++;
}
x++;
}
Frame 115
if (chainnum == 1) {
if (_root.music_sw == 1) {
pipo1.start();
}
} else if (chainnum == 2) {
if (_root.music_sw == 1) {
up1.start();
}
} else if (chainnum == 3) {
if (_root.music_sw == 1) {
up2.start();
}
} else if (chainnum == 4) {
if (_root.music_sw == 1) {
up3.start();
}
} else if (_root.music_sw == 1) {
up4.start();
}
Frame 117
timer.timeup(vanishnum);
remainNum = 5;
i = 1;
while (i <= 5) {
this.cNum["cnum" + i].Num = vcheckArray[i];
if (vcheckArray[i] >= lvupnum) {
remainNum--;
this["checker" + i].gotoAndStop(2);
} else {
remainpos = i;
}
i++;
}
if ((remainNum == 1) && (!remainCheck)) {
if (_root.music_sw == 1) {
piyo1.start();
}
remainCheck = 1;
remainOne = remainpos;
var i = 0;
while (i < 8) {
var j = 0;
while (j < 8) {
this[(("t" + i) + "") + j].change();
j++;
}
i++;
}
}
Frame 118
this.gotoAndPlay("fall");
Frame 124
fallingnum = 0;
btchange(0);
var x = 0;
while (x < 8) {
var y = 7;
while (y >= 0) {
if (board[y][x] == 0) {
k = y;
while (k > 0) {
board[k][x] = board[k - 1][x];
k--;
}
if (level >= 3) {
board[0][x] = math.ceil(math.random() * 7);
} else if (level >= 2) {
board[0][x] = math.ceil(math.random() * 6);
} else {
board[0][x] = math.ceil(math.random() * 5);
}
if (!bomboardnum) {
sprndnum = math.ceil(math.random() * 300);
if (sprndnum == 10) {
bomboardnum = 1;
board[0][x] = sprndnum;
}
}
k = y;
while (k >= 0) {
this[("t" + k) + x]._y = this[("t" + k) + x]._y - 30;
k--;
}
y++;
}
y--;
}
var y = 7;
while (y >= 0) {
this[("t" + y) + x].change();
this[("t" + y) + x].fall();
fallingnum++;
y--;
}
x++;
}
Frame 126
if (fallingnum) {
this.gotoAndPlay(_currentframe - 1);
} else {
if (_root.music_sw == 1) {
fallendSnd.start();
}
this.gotoAndPlay(_currentframe + 1);
}
Frame 128
if (vanishcheck()) {
this.gotoAndPlay("vanish");
} else {
this.gotoAndPlay("nomorecheck");
}
Frame 129
moveCount = 0;
var y = 0;
while (y < 8) {
var x = 0;
while (x < 8) {
if (board2[y][x] != 0) {
moveCount++;
this[(("t" + y) + "") + x].vanish();
board[y][x] = 0;
}
x++;
}
y++;
}
Frame 131
if (!moveCount) {
chainnum++;
this.gotoAndPlay("addscore");
} else {
this.gotoAndPlay(_currentframe - 1);
}
Frame 136
mode = 0;
timer.timestop();
if (_root.music_sw == 1) {
catchSnd1.start();
}
this.gotoAndPlay(_currentframe + 1);
Frame 140
moveCount = 0;
var y = 0;
while (y < 8) {
var x = 0;
while (x < 8) {
if ((board[y][x] == 10) || (board[y][x] == bomnum)) {
moveCount++;
this[(("t" + y) + "") + x].vanish();
board[y][x] = 0;
}
x++;
}
y++;
}
if (_root.music_sw == 1) {
spvanish.start();
}
Frame 147
if (!moveCount) {
this.gotoAndPlay(_currentframe + 1);
} else {
this.gotoAndPlay(_currentframe - 1);
}
Frame 148
vanishnum = 0;
var y = 0;
while (y < 8) {
var x = 0;
while (x < 8) {
if (board[y][x] == 0) {
vcheckArray[bomnum]++;
addscore = level * 10;
score = score + addscore;
vanishnum++;
var theNum = Number((("1" + y) + "") + x);
var theName = ("sview" + theNum);
this.attachMovie("scoreview", theName, theNum);
this[theName]._y = this[(("t" + y) + "") + x]._y;
this[theName]._x = this[(("t" + y) + "") + x]._x;
this[theName].score = addscore;
}
x++;
}
y++;
}
if (_root.music_sw == 1) {
vanish3.start();
}
Frame 151
remainNum = 5;
i = 1;
while (i <= 5) {
this.cNum["cnum" + i].Num = vcheckArray[i];
if (vcheckArray[i] >= lvupnum) {
remainNum--;
this["checker" + i].gotoAndStop(2);
} else {
remainpos = i;
}
i++;
}
if ((remainNum == 1) && (!remainCheck)) {
remainCheck = 1;
remainOne = remainpos;
if (_root.music_sw == 1) {
piyo1.start();
}
var i = 0;
while (i < 8) {
var j = 0;
while (j < 8) {
this[(("t" + i) + "") + j].change();
j++;
}
i++;
}
}
Frame 152
chainnum = 0;
this.gotoANdPlay("fall");
Frame 154
mode = 0;
timer.timestop();
btchange(0);
if (sndmode) {
sndclip.sndstop();
}
if (_root.music_sw == 1) {
bomsnd.start();
}
i = 0;
while (i < 8) {
j = 0;
while (j < 8) {
this[(("t" + i) + "") + j].shake();
j++;
}
i++;
}
Frame 162
i = 0;
while (i < 8) {
j = 0;
while (j < 8) {
this[(("t" + i) + "") + j].bom();
j++;
}
i++;
}
Frame 176
stop();
if (_root.level > 4) {
_root.theend.gotoAndStop("succeed");
} else {
_root.theend.gotoAndStop("fail");
}
Frame 177
gotoAndPlay (1);
Symbol 36 MovieClip [ting100] Frame 15
this.removeMovieClip();
Symbol 39 MovieClip [scoreview] Frame 11
this.removeMovieClip();
Symbol 68 MovieClip Frame 12
stop();
Symbol 70 Button
on (press, release) {
intro_sound.stop("intro_sound.");
_root.gotoAndPlay("game");
}
Symbol 71 MovieClip Frame 2
stop();
Symbol 72 MovieClip Frame 1
stop();
Symbol 110 Button
on (release) {
getURL ("http://www.allfunnygames.net", "_blank");
}
Symbol 112 Button
on (release) {
tellTarget ("/") {
gotoAndPlay ("next");
};
}
Symbol 113 Button
on (release) {
if ((username.text == "") or (useremail.text == "")) {
warning4 = "You should filled up all the fields!";
trace("You should filled up all the fields!");
warning3 = "";
} else if (useremail.text.indexOf("@", 0) < 0) {
warning3 = "Your email address is invalid!";
trace("Your email address is invalid!");
warning4 = "";
} else {
warning3 = "";
warning4 = "";
myData = new LoadVars();
myData.varname = varname;
myData.varemail = varemail;
myData.name0 = name0;
myData.name1 = name1;
myData.name2 = name2;
myDate.email0 = email0;
myData.email1 = email1;
myData.email2 = email2;
myData.gamename = gamename;
myData.gamelanguage = gamelanguage;
myData.gamescore = gamescore;
myData.vcountry = _global.country_btn;
myData.nletter = _global.nletter_btn;
trace(myData.nletter);
myData.sendAndLoad("http://www.asiacenturyph.com/testoutfitters/sendtofriend.php", myData);
myData.onLoad = function (success) {
if (success) {
warning4 = "Invitation Sent";
trace("form sent");
tellTarget ("/") {
gotoAndPlay ("next");
};
} else {
warning3 = "cannot access server page";
trace("cannot access server page");
}
};
}
}
Symbol 116 Button
on (release) {
getURL ("http://shop.outfittersnation.dk", "_blank");
}
Symbol 117 Button
on (release) {
getURL ("http://www.outfittersnation.co.uk", "_blank");
}
Symbol 122 Button
on (release) {
gotoAndStop (2);
Set("/:check", "\"on\"");
}
Symbol 124 Button
on (release) {
gotoAndStop (1);
Set("/:check", "\"off\"");
}
Symbol 125 MovieClip Frame 1
_global.nletter_btn = "No";
stop();
Symbol 125 MovieClip Frame 2
_global.nletter_btn = "Yes";
Symbol 128 Button
on (press) {
gotoAndStop (2);
}
Symbol 133 Button
on (rollOver) {
gotoAndStop (1);
}
Symbol 134 Button
on (release) {
_global.country_btn = "Denmark";
_parent.lcountry = "Denmark";
}
Symbol 135 Button
on (release) {
_global.country_btn = "UK";
_parent.lcountry = "UK";
}
Symbol 136 Button
on (release) {
_global.country_btn = "Others";
_parent.lcountry = "Others";
}
Symbol 142 MovieClip Frame 1
stop();
Symbol 150 MovieClip Frame 1
lcountry = "";
this.gamescore = _root.score;
Symbol 157 MovieClip Frame 1
stop();
Symbol 165 MovieClip Frame 1
stop();
Symbol 165 MovieClip Frame 2
stop();
Symbol 165 MovieClip Frame 3
stop();
Symbol 165 MovieClip Frame 4
stop();
Symbol 174 MovieClip Frame 1
stop();
Symbol 174 MovieClip Frame 5
stop();
Symbol 174 MovieClip Frame 9
stop();
Symbol 174 MovieClip Frame 13
stop();
Symbol 174 MovieClip Frame 17
stop();
Symbol 186 MovieClip Frame 1
stop();
Symbol 186 MovieClip Frame 5
stop();
Symbol 186 MovieClip Frame 9
stop();
Symbol 186 MovieClip Frame 13
stop();
Symbol 186 MovieClip Frame 17
stop();
Symbol 195 MovieClip Frame 1
stop();
Symbol 195 MovieClip Frame 5
stop();
Symbol 195 MovieClip Frame 9
stop();
Symbol 195 MovieClip Frame 13
stop();
Symbol 195 MovieClip Frame 17
stop();
Symbol 203 MovieClip Frame 1
stop();
Symbol 203 MovieClip Frame 5
stop();
Symbol 203 MovieClip Frame 9
stop();
Symbol 203 MovieClip Frame 13
stop();
Symbol 203 MovieClip Frame 17
stop();
Symbol 210 MovieClip Frame 1
stop();
Symbol 210 MovieClip Frame 5
stop();
Symbol 210 MovieClip Frame 9
stop();
Symbol 210 MovieClip Frame 13
stop();
Symbol 210 MovieClip Frame 17
stop();
Symbol 225 MovieClip Frame 1
stop();
Symbol 225 MovieClip Frame 5
stop();
Symbol 225 MovieClip Frame 9
stop();
Symbol 225 MovieClip Frame 13
stop();
Symbol 225 MovieClip Frame 17
stop();
Symbol 235 MovieClip Frame 1
stop();
Symbol 235 MovieClip Frame 5
stop();
Symbol 235 MovieClip Frame 9
stop();
Symbol 235 MovieClip Frame 13
stop();
Symbol 235 MovieClip Frame 17
stop();
Symbol 239 MovieClip Frame 15
gotoAndPlay (1);
Symbol 243 MovieClip Frame 1
stop();
Symbol 243 MovieClip Frame 5
stop();
Symbol 243 MovieClip Frame 9
stop();
Symbol 243 MovieClip Frame 13
stop();
Symbol 243 MovieClip Frame 17
stop();
Symbol 245 MovieClip Frame 1
stop();
Symbol 250 Button
on (press) {
if (_root.mode == 1) {
if (_parent.mychara == 10) {
_parent.faces.koma.stop();
_root.bomnum = _parent.faces.koma._currentframe;
_root.bomboardnum = 0;
_root.gotoAndPlay("bom");
} else {
_parent.focus._visible = 1;
_parent.faces.face.gotoAndPlay("blink");
_root.sy1 = _parent.myposy;
_root.sx1 = _parent.myposx;
_root.mode = 2;
}
} else if (_root.mode == 2) {
if (((math.abs(_root.sy1 - _parent.myposy) == 1) && (_root.sx1 == _parent.myposx)) || ((math.abs(_root.sx1 - _parent.myposx) == 1) && (_root.sy1 == _parent.myposY))) {
if (_root.music_sw == 1) {
_root.catchSnd2.start();
}
_root[(("t" + _root.sy1) + "") + _root.sx1].focus._visible = 0;
_root[(("t" + _root.sy1) + "") + _root.sx1].faces.face.gotoAndStop("nom");
_root.sy2 = _parent.myposy;
_root.sx2 = _parent.myposx;
_root.shiftTime = 0;
_root.gotoAndPlay("change");
} else if ((_root.sy1 == _parent.myposy) && (_root.sx1 == _parent.myposx)) {
_parent.focus._visible = 0;
_parent.faces.face.gotoAndStop("nom");
_root.mode = 1;
}
}
}
Symbol 251 MovieClip Frame 1
stop();
Symbol 252 MovieClip Frame 1
function change() {
var _local1 = _root;
this.gotoAndStop("nom");
mychara = _local1.board[myposY][myposX];
faces.gotoAndStop(mychara + 1);
if (_local1.remainCheck) {
if (mychara == _local1.remainOne) {
faces.face.gotoAndStop("mad");
}
}
}
function fall() {
stepnum = 5;
this.gotoAndPlay("fall");
}
function xshift(num) {
dir = num;
stepnum = 5;
this.gotoAndPlay("xshift");
}
function yshift(num) {
dir = num;
stepnum = 5;
this.gotoAndPlay("yshift");
}
function vanish() {
this.gotoAndPlay("vanish");
}
function bom() {
movex = -40 + math.ceil(math.random() * 80);
movey = -40 + math.ceil(math.random() * 80);
this.gotoAndPlay("bom");
}
function shake() {
dir = math.ceil(math.random() * 2);
if (dir != 1) {
dir = -1;
}
this.gotoAndPlay("shake");
}
function allfall() {
stepnum = 5;
endpos = myY + 238;
this.gotoANdPLay("allfall");
}
function nomorefall() {
stepnum = 5;
endpos = myY + 238;
this.gotoANdPLay("nomorefall");
}
myx = this._x;
myy = this._y;
myposX = Number(_name.charAt(2));
myposY = Number(_name.charAt(1));
mychara = 0;
names = this._name;
Instance of Symbol 248 MovieClip "focus" in Symbol 252 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
Symbol 252 MovieClip Frame 2
stop();
Symbol 252 MovieClip Frame 7
nxtY = this._y + stepnum;
Symbol 252 MovieClip Frame 8
if (nxtY >= myY) {
this._y = myY;
_root.fallingNum--;
if ((stepnum > 5) && ((!_root.remainCheck) && (mychara == _root.remainOne))) {
faces.face.gotoAndStop("blink");
this.gotoAndPlay(_currentframe + 1);
} else {
this.gotoAndStop("nom");
}
} else {
this._y = nxtY;
stepnum = stepnum + 8;
this.gotoAndPlay(_currentframe - 1);
}
Symbol 252 MovieClip Frame 13
faces.face.gotoAndStop("nom");
this.gotoAndStop("nom");
Symbol 252 MovieClip Frame 14
this._x = this._x + (stepnum * dir);
Symbol 252 MovieClip Frame 15
if (dir < 0) {
if (myX >= this._x) {
this._x = myX;
_root.shiftNum--;
this.gotoAndStop("nom");
} else {
stepnum++;
this.gotoAndPlay(_currentframe - 1);
}
} else if (this._x >= myX) {
this._x = myX;
_root.shiftNum--;
this.gotoAndStop("nom");
} else {
stepnum++;
this.gotoAndPlay(_currentframe - 1);
}
Symbol 252 MovieClip Frame 20
this._y = this._y + (stepnum * dir);
Symbol 252 MovieClip Frame 21
if (dir < 0) {
if (myY >= this._y) {
this._y = myY;
_root.shiftNum--;
this.gotoAndStop("nom");
} else {
stepnum++;
this.gotoAndPlay(_currentframe - 1);
}
} else if (this._y >= myY) {
this._y = myY;
_root.shiftNum--;
this.gotoAndStop("nom");
} else {
stepnum++;
this.gotoAndPlay(_currentframe - 1);
}
Symbol 252 MovieClip Frame 26
this._x = this._x + movex;
this._y = this._y + movey;
Symbol 252 MovieClip Frame 27
this.gotoAndPlay("bom");
Symbol 252 MovieClip Frame 32
this._x = this._x + (3 * dir);
Symbol 252 MovieClip Frame 33
this._x = this._x - (3 * dir);
Symbol 252 MovieClip Frame 34
this.gotoAndPlay("shake");
Symbol 252 MovieClip Frame 39
faces.face.gotoAndStop("find");
Symbol 252 MovieClip Frame 40
nxtY = this._y + stepnum;
Symbol 252 MovieClip Frame 41
if (nxtY >= endpos) {
_root.fallingNum--;
this._y = myY;
faces.gotoAndStop(1);
this.gotoAndStop("nom");
} else {
this._y = nxtY;
stepnum = stepnum + 4;
this.gotoAndPlay(_currentframe - 1);
}
Symbol 252 MovieClip Frame 47
nxtY = this._y + stepnum;
Symbol 252 MovieClip Frame 48
if (nxtY >= endpos) {
_root.fallingNum--;
this._y = myY;
faces.gotoAndStop(1);
this.gotoAndStop("nom");
} else {
this._y = nxtY;
stepnum = stepnum + 4;
this.gotoAndPlay(_currentframe - 1);
}
Symbol 252 MovieClip Frame 53
faces.face.gotoAndStop("find");
play();
Symbol 252 MovieClip Frame 58
_root.moveCount--;
faces.face.gotoAndStop("vanish");
Symbol 252 MovieClip Frame 64
this.gotoAndStop("nom");
Symbol 264 MovieClip Frame 1
stop();
Symbol 264 MovieClip Frame 2
stop();
Symbol 270 Button
on (release) {
_root.musicbtn.chang_bg_sound(0);
}
Symbol 272 Button
on (release) {
_root.musicbtn.chang_bg_sound(1);
}
Symbol 273 MovieClip Frame 1
stop();
Symbol 276 Button
on (release) {
_root.timer.mode = null;
_root.mode = null;
_root.mc_pause._visible = 1;
this.gotoAndStop(2);
}
Symbol 279 Button
on (release) {
_root.timer.rTime = getTimer();
_root.timer.mode = 1;
_root.mode = 1;
_root.mc_pause._visible = 0;
this.gotoAndStop(1);
}
Symbol 280 MovieClip Frame 1
stop();
Symbol 280 MovieClip Frame 2
stop();
Symbol 283 Button
on (release) {
getURL ("http://www.sjove-spil.dk/", "_blank");
}
Symbol 298 MovieClip Frame 1
stop();
Symbol 301 MovieClip Frame 2
game_id = 11496;
user_id = _root.user_id;
game_score = _root.score;
_root.game_score = _root.score;
loadVariablesNum ("/agit/fgame/game_result.asp", 0, "POST");
Symbol 301 MovieClip Frame 16
stop();
Symbol 311 Button
on (release) {
_root.getURL("http://www.halohalo.ph", "_blank");
}
Symbol 317 Button
on (release) {
getURL ("http://www.sjove-fotos.dk/", "_blank");
}
Symbol 325 Button
on (release) {
getURL ("http://www.sjove-video.dk/", "_blank");
}
Symbol 326 Button
on (release) {
getURL ("http://www.sjove-video.dk/", "_blank");
}
Symbol 327 Button
on (release) {
getURL ("http://www.sjove-fotos.dk/", "_blank");
}
Symbol 330 Button
on (release) {
getURL ("http://www.sjove-spil.dk/", "_blank");
}
Symbol 334 Button
on (release) {
getURL ("http://www.sjove-spil.dk/", "_blank");
}
Symbol 335 Button
on (release) {
getURL ("http://www.sjove-spil.dk");
}
Symbol 367 Button
on (release) {
getURL ("http://www.sjove-spil.dk", "_blank");
}
Symbol 377 Button
on (release, keyPress "<Enter>") {
getURL ("http://sjove-spil.dk/findgoogle.php?cx=010996297119696823647%3Ae5hg5n3sf1e&cof=FORID%3A11&q=", "_new", "GET");
}
Symbol 380 Button
on (release) {
if ((fieldname.text == "") or (fieldemail.text == "")) {
warning = "Udfyld alle felterne!";
} else if ((fieldemail.text.indexOf("@", 0) < 0) or (fieldemail.text.indexOf(".", 0) < 0)) {
warning = "Din email adr. er ugyldig! Pr\u00F8v igen!";
} else {
warning = "";
trace((("name:" + text1) + "email:") + text2);
trace((((("score:" + gamescore) + "gamename:") + gamename) + "language:") + language);
getURL ("insertScore.php", "_self", "POST");
}
}
Symbol 404 MovieClip Frame 1
this.onEnterFrame = function () {
if (rewind == true) {
prevFrame();
}
};
this.onRollOver = function () {
rewind = false;
play();
};
this.onRollOut = function () {
rewind = true;
};
Symbol 404 MovieClip Frame 71
Symbol 409 Button
on (release) {
getURL ("http://www.sjove-spil.dk", "_blank");
}
Symbol 412 MovieClip Frame 1
this.gamescore = _root.score;
myLoadVars = new LoadVars();
myLoadVars.sendAndLoad("http://www.asiacenturyph.com/test/flashAds/getB2BTrioAds.php", myLoadVars);
myLoadVars.onLoad = function (success) {
if (success) {
trace("success");
if ((((myLoadVars.imgEnding300x250 != undefined) || (myLoadVars.imgEnding300x250 != "")) || (myLoadVars.urlEnding300x250 != undefined)) || (myLoadVars.urlEnding300x250 != "")) {
img1.text = myLoadVars.imgEnding300x250;
link.text = myLoadVars.urlEnding300x250;
mc_ads.mc_image.loadMovie(img1.text);
} else {
trace("cannot load ads");
getURL ("javascript:alert('cannot load ads');");
}
} else {
trace("cannot access server page");
getURL ("javascript:alert('cannot access server page');");
}
};
mc_ads.onRelease = function () {
getURL (link.text, "_blank");
};
Symbol 413 MovieClip Frame 2
game_id = 11496;
user_id = _root.user_id;
game_score = _root.score;
_root.game_score = _root.score;
loadVariablesNum ("/agit/fgame/game_result.asp", 0, "POST");
Symbol 413 MovieClip Frame 16
stop();