Frame 38
if (_framesloaded >= _totalframes) {
this.gotoAndPlay(_currentframe + 1);
} else {
this.gotoAndPlay(_currentframe - 1);
}
Frame 61
((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");
sndmode = 1;
Frame 63
this.stop();
Instance of Symbol 91 MovieClip "hiscore_connector" in Frame 63
onClipEvent (load) {
GameTitle = "Zoo Keeper";
ScoreDes = "";
GameID = "zookeeper";
scoreData = "_root.score";
passWord = "shockwave";
FunctionType = "view";
}
Instance of Symbol 123 MovieClip in Frame 63
onClipEvent (load) {
((Snd_opening = new Sound(this))).attachSound("Snd_opening");
snd_opening.setVolume(50);
if (_root.sndmode) {
snd_opening.start(0, 999);
}
}
onClipEvent (unload) {
snd_opening.stop();
}
Frame 68
this.stop();
Frame 74
this.stop();
Frame 80
this.stop();
Frame 89
function btchange(num) {
var i = 0;
while (i < 8) {
var j = 0;
while (j < 8) {
if (num == 0) {
_root[("k" + i) + j].bt.gotoAndStop("off");
} else {
_root[("k" + i) + j].bt.gotoAndStop("on");
}
j++;
}
i++;
}
}
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;
lvupnum = level + 2;
btchange(0);
Instance of Symbol 123 MovieClip "sndclip" in Frame 89
onClipEvent (load) {
function sndstop() {
snd_game.stop();
}
function sndstart() {
snd_game.start(0, 999);
}
((Snd_game = new Sound(this))).attachSound("Snd_game");
snd_game.setVolume(50);
if (_root.sndmode) {
snd_game.start(0, 999);
}
}
onClipEvent (unload) {
snd_game.stop();
}
Instance of Symbol 387 MovieClip "checker8" in Frame 89
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 438 MovieClip "lvupnumview2" in Frame 89
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 438 MovieClip "lvupnumview1" in Frame 89
onClipEvent (load) {
this.gotoANdStop(3);
}
Instance of Symbol 439 MovieClip "cnum8" in Frame 89
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 446 MovieClip "timer" in Frame 89
onClipEvent (load) {
function reset() {
xwidth = 50;
gage._xscale = xwidth;
mode = 0;
noTimeCheck = 0;
base.gotoAndStop(1);
gage.gotoAndStop(1);
ftime = (55 - (_root.level * 5)) * 1000;
}
function timestart() {
mode = 1;
rTime = getTimer();
}
function timestop() {
mode = 0;
}
function timeup(num) {
gageChange(num);
}
function gageChange(num) {
xwidth = xwidth + num;
if (0 >= xwidth) {
xwidth = 0;
} else if (xwidth >= 100) {
xwidth = 100;
}
if (15 >= xwidth) {
if ((noTimeCheck % 7) == 0) {
_root.bounce.start(0, 2);
}
if (noTimeCheck == 0) {
base.gotoAndStop(2);
gage.gotoAndStop(2);
}
noTimeCheck++;
} else if ((15 < xwidth) && (noTimeCheck >= 1)) {
noTimeCheck = 0;
_root.bounce.stop();
base.gotoAndStop(1);
gage.gotoAndStop(1);
}
gage._xscale = xwidth;
if (0 >= gage._xscale) {
_root.bounce.stop();
base.gotoAndStop(1);
_root.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();
}
}
}
Frame 90
function vanishcheck() {
var i = 0;
while (i < 8) {
var j = 0;
while (j < 8) {
board2[i][j] = 0;
j++;
}
i++;
}
var vnum = 0;
var y = 0;
while (y < 8) {
var x = 0;
while (x < 6) {
if (board[y][x + 1] == board[y][x]) {
var k = 2;
while (board[y][x + k] == board[y][x]) {
k++;
}
if (2 < k) {
vnum++;
var i = x;
while (i < (x + k)) {
board2[y][i] = board[y][x];
i++;
}
x = x + (k - 1);
}
}
x++;
}
y++;
}
var x = 0;
while (x < 8) {
var y = 0;
while (y < 6) {
if (board[y + 1][x] == board[y][x]) {
var k = 2;
while (board[y + k][x] == board[y][x]) {
k++;
}
if (2 < k) {
vnum++;
i = y;
while (i < (y + k)) {
board2[i][x] = board[y][x];
i++;
}
y = y + (k - 1);
}
}
y++;
}
x++;
}
if (0 < vnum) {
return(1);
}
return(0);
}
Frame 91
this.gotoAndPlay("lvupview");
Frame 95
level++;
lvupnum = level + 2;
timer.reset();
btchange(0);
fallingnum = 0;
var y = 0;
while (y < 8) {
var x = 0;
while (x < 8) {
fallingnum++;
this[("k" + y) + x].allfall();
x++;
}
y++;
}
clearSnd.start();
Frame 97
if (0 >= fallingnum) {
this.gotoAndPlay(_currentframe + 1);
} else {
this.gotoAndPlay(_currentframe - 1);
}
Frame 99
bepbeep.start();
vcheckArray = [0, 0, 0, 0, 0, 0, 0, 0];
if (level < 7) {
remainNum = 7;
} else {
remainNum = 8;
}
remainCheck = 0;
remainOne = 0;
i = 1;
while (7 >= i) {
this["checker" + i].gotoAndStop(1);
this["cnum" + i].gotoAndStop(1);
lvupnumview1.gotoAndStop(lvupnum);
i++;
}
if (level >= 7) {
checker8._visible = 1;
cnum8._visible = 1;
cnum8.gotoAndStop(1);
lvupnumview1._visible = 0;
lvupnumview2._visible = 1;
checker8.gotoAndStop(1);
if (level >= 10) {
lvupnumview2.gotoANdStop("mugen");
} else {
lvupnumview2.gotoAndStop(lvupnum);
}
} else {
checker8._visible = 0;
cnum8._visible = 0;
lvupnumview1._visible = 1;
lvupnumview2._visible = 0;
}
Instance of Symbol 481 MovieClip in Frame 99
onClipEvent (load) {
this.gotoAndStop(_root.level);
}
Instance of Symbol 482 MovieClip in Frame 99
onClipEvent (load) {
if (_root.level < 7) {
this._visible = 0;
} else {
i = 1;
while (8 >= i) {
this["checker" + i].gotoAndStop(2);
i++;
}
if (level < 10) {
num.gotoAndStop(_root.lvupnum);
} else {
num.gotoANdStop("mugen");
}
}
}
Instance of Symbol 483 MovieClip in Frame 99
onClipEvent (load) {
if (_root.level >= 7) {
this._visible = 0;
} else {
i = 1;
while (7 >= i) {
this["checker" + i].gotoAndStop(2);
i++;
}
num.gotoAndStop(_root.lvupnum);
}
}
Frame 116
bomboardnum = 0;
var i = 0;
while (i < 8) {
var j = 0;
while (j < 8) {
checky = 0;
checkx = 0;
if (level < 7) {
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 == 9) {
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 < 7) {
var nxtNum = math.ceil(math.random() * 7);
} else {
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[("k" + y) + x]._y = this[("k" + y) + x]._y - 238;
this[("k" + y) + x].change();
this[("k" + y) + x].fall();
fallingnum++;
y--;
}
x++;
}
fallSnd.start();
Frame 118
if (fallingnum) {
this.gotoAndPlay(_currentframe - 1);
} else {
fallendSnd.start();
this.gotoAndPlay("nomorecheck");
}
Frame 122
fallingnum = 0;
var x = 0;
while (x < 8) {
var y = 7;
while (y >= 0) {
if (board[y][x] == 0) {
k = y;
while (0 < k) {
board[k][x] = board[k - 1][x];
k--;
}
if (level >= 7) {
board[0][x] = math.ceil(math.random() * 8);
} else {
board[0][x] = math.ceil(math.random() * 7);
}
if (!bomboardnum) {
sprndnum = math.ceil(math.random() * 300);
if (sprndnum == 9) {
bomboardnum = 1;
board[0][x] = sprndNum;
}
}
k = y;
while (k >= 0) {
this[("k" + k) + x]._y = this[("k" + k) + x]._y - 34;
k--;
}
y++;
}
y--;
}
var y = 7;
while (y >= 0) {
this[("k" + y) + x].change();
this[("k" + y) + x].fall();
fallingnum++;
y--;
}
x++;
}
Frame 124
if (fallingnum) {
this.gotoANdPlay(_currentframe - 1);
} else {
fallendSnd.start();
this.gotoANdPlay(_currentframe + 1);
}
Frame 125
if (vanishcheck()) {
this.gotoAndPlay("vanish");
} else {
this.gotoAndPlay("nomorecheck");
}
Frame 126
moveCount = 0;
var y = 0;
while (y < 8) {
var x = 0;
while (x < 8) {
if (board2[y][x] != 0) {
moveCount++;
this[(("k" + y) + "") + x].vanish();
board[y][x] = 0;
}
x++;
}
y++;
}
this.gotoAndPlay(_currentframe + 1);
Frame 128
if (!moveCount) {
chainnum++;
this.gotoAndPlay("addscore");
} else {
this.gotoAndPlay(_currentframe - 1);
}
Frame 132
vanishnum = 0;
var y = 0;
while (y < 8) {
var x = 0;
while (x < 6) {
if (board2[y][x] != 0) {
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 (9999 < addscore) {
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[(("k" + y) + "") + x]._y + 17;
this[theName]._x = (this[(("k" + y) + "") + x]._x + ((k * 34) / 2)) + 17;
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) {
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 (9999 < addscore) {
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[(("k" + y) + "") + x]._x + 17;
this[theName]._y = (this[(("k" + y) + "") + x]._y + ((k * 34) / 2)) + 17;
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 133
if (chainnum == 1) {
pipo1.start();
} else if (chainnum == 2) {
up1.start();
} else if (chainnum == 3) {
up2.start();
} else if (chainnum == 4) {
up3.start();
} else {
up4.start();
}
Frame 136
timer.timeup(vanishnum * chainnum);
if (level < 7) {
remainNum = 7;
i = 1;
while (7 >= i) {
this["cnum" + i].gotoANdStop(vcheckArray[i] + 1);
if (vcheckArray[i] >= lvupnum) {
remainNum--;
this["checker" + i].gotoAndStop(2);
} else {
remainpos = i;
}
i++;
}
} else if (level < 10) {
remainNum = 8;
i = 1;
while (8 >= i) {
this["cnum" + i].gotoANdStop(vcheckArray[i] + 1);
if (vcheckArray[i] >= lvupnum) {
remainNum--;
this["checker" + i].gotoAndStop(2);
} else {
remainpos = i;
}
i++;
}
} else {
i = 1;
while (8 >= i) {
this["cnum" + i].gotoANdStop(vcheckArray[i] + 1);
if (vcheckArray[i] >= lvupnum) {
this["checker" + i].gotoAndStop(2);
}
i++;
}
}
if ((remainNum == 1) && (!remainCheck)) {
piyo1.start();
remainCheck = 1;
remainOne = remainpos;
var i = 0;
while (i < 8) {
var j = 0;
while (j < 8) {
this[(("k" + i) + "") + j].change();
j++;
}
i++;
}
}
Frame 137
this.gotoANdPlay("fall");
Frame 141
mode = 0;
timer.timestop();
catchSnd1.start();
this.gotoAndPlay(_currentframe + 1);
Frame 145
moveCount = 0;
var y = 0;
while (y < 8) {
var x = 0;
while (x < 8) {
if ((board[y][x] == 9) || (board[y][x] == bomnum)) {
moveCount++;
this[(("k" + y) + "") + x].vanish();
board[y][x] = 0;
}
x++;
}
y++;
}
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[(("k" + y) + "") + x]._y + 17;
this[theName]._x = this[(("k" + y) + "") + x]._x + 17;
if (addscore >= 100) {
this[theName].gotoAndPlay("k3");
}
this[theName].score = addscore;
}
x++;
}
y++;
}
vanish3.start();
Frame 149
timer.timeup(vanishnum);
Frame 152
if (level < 7) {
remainNum = 7;
i = 1;
while (7 >= i) {
this["cnum" + i].gotoANdStop(vcheckArray[i] + 1);
if (vcheckArray[i] >= lvupnum) {
remainNum--;
this["checker" + i].gotoAndStop(2);
} else {
remainpos = i;
}
i++;
}
} else if (level < 10) {
remainNum = 8;
i = 1;
while (8 >= i) {
this["cnum" + i].gotoANdStop(vcheckArray[i] + 1);
if (vcheckArray[i] >= lvupnum) {
remainNum--;
this["checker" + i].gotoAndStop(2);
} else {
remainpos = i;
}
i++;
}
} else {
i = 1;
while (8 >= i) {
this["cnum" + i].gotoANdStop(vcheckArray[i] + 1);
if (vcheckArray[i] >= lvupnum) {
this["checker" + i].gotoAndStop(2);
}
i++;
}
}
if ((remainNum == 1) && (!remainCheck)) {
remainCheck = 1;
remainOne = remainpos;
piyo1.start();
var i = 0;
while (i < 8) {
var j = 0;
while (j < 8) {
this[(("k" + i) + "") + j].change();
j++;
}
i++;
}
}
Frame 153
chainnum = 0;
this.gotoANdPlay("fall");
Frame 158
if (0 >= remainNum) {
this.gotoAndPlay("levelup");
}
Frame 159
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 160
pyoyon.start();
Frame 163
fallingnum = 0;
var y = 0;
while (y < 8) {
var x = 0;
while (x < 8) {
fallingnum++;
this[("k" + y) + x].nomorefall();
x++;
}
y++;
}
fallSnd.start();
Frame 165
if (0 >= fallingnum) {
this.gotoAndPlay(_currentframe + 1);
} else {
this.gotoAndPlay(_currentframe - 1);
}
Frame 168
this.gotoAndPlay("newboard");
Frame 169
mode = 1;
btchange(1);
timer.timestart();
this.stop();
Frame 182
mode = 0;
btchange(0);
shiftNum = 0;
changeCheck = 0;
tempnum = board[sy1][sx1];
board[sy1][sx1] = board[sy2][sx2];
board[sy2][sx2] = tempnum;
this[(("k" + sY1) + "") + sX1].change();
this[(("k" + sY2) + "") + sX2].change();
tempx = this[(("k" + sY1) + "") + sX1]._x;
tempy = this[(("k" + sY1) + "") + sX1]._y;
this[(("k" + sY1) + "") + sX1]._x = this[(("k" + sY2) + "") + sX2]._x;
this[(("k" + sY1) + "") + sX1]._y = this[(("k" + sY2) + "") + sX2]._y;
this[(("k" + sY2) + "") + sX2]._x = tempx;
this[(("k" + sY2) + "") + sX2]._y = tempy;
if (sy1 == sy2) {
if (sx2 < sx1) {
this[(("k" + sY1) + "") + sX1].xshift(1);
this[(("k" + sY2) + "") + sX2].xshift(-1);
shiftNum = shiftNum + 2;
} else {
this[(("k" + sY1) + "") + sX1].xshift(-1);
this[(("k" + sY2) + "") + sX2].xshift(1);
shiftNUm = shiftNUm + 2;
}
} else if (sy2 < sy1) {
this[(("k" + sy1) + "") + sX1].yshift(1);
this[(("k" + sY2) + "") + sX2].yshift(-1);
shiftNum = shiftNum + 2;
} else {
this[(("k" + sY1) + "") + sX1].yshift(-1);
this[(("k" + sY2) + "") + sX2].yshift(1);
shiftNUm = shiftNUm + 2;
}
if (shiftTime == 0) {
if (vanishcheck()) {
timer.timestop();
changeCheck = 1;
}
}
Frame 184
if (shiftnum) {
this.gotoANdPlay(_currentframe - 1);
} else {
this.gotoANdPlay(_currentframe + 1);
}
Frame 185
if (shiftTime == 0) {
if (changeCheck) {
vanish3.start();
chainnum = 0;
this.gotoAndPlay("vanish");
} else {
shiftTime = 1;
this.gotoAndPlay("change");
}
} else {
this.gotoAndStop("wait");
}
Frame 191
mode = 0;
timer.timestop();
if (sndmode) {
sndclip.sndstop();
}
this.stop();
Instance of Symbol 490 MovieClip in Frame 191
onClipEvent (load) {
this.gotoAndStop(math.ceil(math.random() * 7));
}
Frame 200
mode = 0;
timer.timestop();
if (sndmode) {
sndclip.sndstop();
}
this.play();
Frame 202
this.gotoAndStop("title");
Frame 217
mode = 0;
timer.timestop();
btchange(0);
if (sndmode) {
sndclip.sndstop();
}
bomsnd.start();
i = 0;
while (i < 8) {
j = 0;
while (j < 8) {
this[(("k" + i) + "") + j].shake();
j++;
}
i++;
}
Frame 225
i = 0;
while (i < 8) {
j = 0;
while (j < 8) {
this[(("k" + i) + "") + j].bom();
j++;
}
i++;
}
Frame 237
this.stop();
rnum = math.floor(math.random() * 3);
if (rnum == 0) {
if (1 >= level) {
txt = "‚æ‚䂤‚ŃNƒrI";
} else if (2 >= level) {
txt = "ƒ`ƒ~A‚â‚é‚«‚È‚¢‚Å‚µ‚åH";
} else if (3 >= level) {
txt = "‚¶‚«‚イ300‰~‚Å‚¢‚¢H";
} else if (4 >= level) {
txt = "‚³‚é‚Ì‚Ù‚¤‚ªƒ}ƒVB";
} else if (5 >= level) {
txt = "ƒ`ƒ~A‚±‚Ì‚µ‚²‚Æ‚Þ‚¢‚Ä‚È‚¢‚æB";
} else if (6 >= level) {
txt = "‚¿‚á‚ñ‚ƃƒV‚‚Á‚Ä‚éH";
} else if (7 >= level) {
txt = "ƒƒV‚ªŽá‚¢‚±‚ë‚Í‚à‚¿‚å‚Á‚Æc";
} else if (8 >= level) {
txt = "‚¯‚Á‚±‚¤‚â‚邶‚á‚ñB";
} else if (9 >= level) {
txt = "ƒTƒCƒR[B";
} else {
txt = "ƒ`ƒ~‚ª‰€’·B";
}
} else if (rnum == 1) {
if (1 >= level) {
txt = "–¾“ú‚©‚炱‚È‚‚Ä‚¢‚¢‚æB";
} else if (2 >= level) {
txt = "‚±‚Ì‚Å‚‚Ì‚Ú‚¤I";
} else if (3 >= level) {
txt = "ƒ€ƒ_ƒƒV‚‚킹‚é—]—T‚Í‚È‚¢‚Ì‚æ";
} else if (4 >= level) {
txt = "ƒtƒ@ƒCƒgI";
} else if (5 >= level) {
txt = "‚à‚Á‚Æ“ª‚‚©‚Á‚Ä‚æB";
} else if (6 >= level) {
txt = "‚»‚ñ‚ȂɃCƒ„‚È‚ÌH‚±‚ÌŽdŽ–B";
} else if (7 >= level) {
txt = "‚Ó`‚ñB‚Ö‚¥`B‚Ù‚§`B";
} else if (8 >= level) {
txt = "‚â‚ê‚΂ł«‚邶‚á‚ñB";
} else if (9 >= level) {
txt = "ƒ}[ƒxƒ‰ƒXB";
} else {
txt = "ˆ¤‚µ‚Ä‚é‚æB";
}
} else if (1 >= level) {
txt = "–âE‘èEŠOB";
} else if (2 >= level) {
txt = "‚P‚©‚ço’¼‚µI";
} else if (3 >= level) {
txt = "‚à‚Á‚Æ‚·‚΂â‚I";
} else if (4 >= level) {
txt = "‚¨‚»‚¢‚¨‚»‚¢‚¨‚»‚¢‚¨‚»‚¢‚æI";
} else if (5 >= level) {
txt = "¡ŒŽ‚Ì‹‹—¿‚Í‚¨‚ ‚¸‚¯I";
} else if (6 >= level) {
txt = "ƒ`ƒ~AŽ‹—͈«‚¢‚Å‚µ‚åH";
} else if (7 >= level) {
txt = "ƒ`ƒ~A‚Ü‚¾‚Ü‚¾ƒkƒ‹ƒC‚æB";
} else if (8 >= level) {
txt = "ƒ`ƒ~‚̓ƒV‚ÌŽŸ‚É‚Å‚«‚é’j‚¾B";
} else if (9 >= level) {
txt = "ƒtƒ@ƒ“ƒ^ƒXƒeƒBƒbƒNB";
} else {
txt = "ƒxƒXƒgEƒIƒbƒvEƒY[ƒL[ƒp[";
}
Instance of Symbol 91 MovieClip "hiscore_connector" in Frame 237
onClipEvent (load) {
GameTitle = "Zoo Keeper";
ScoreDes = "";
GameID = "zookeeper";
scoreData = "_root.score";
passWord = "shockwave";
FunctionType = "view";
}
Symbol 52 MovieClip Frame 1
this.stop();
Symbol 53 MovieClip [scoreview] Frame 2
s1 = math.floor(score / 10);
n10.gotoAndStop(s1);
n1.gotoAndStop(10);
Symbol 53 MovieClip [scoreview] Frame 7
this.removeMovieClip();
Symbol 53 MovieClip [scoreview] Frame 9
s1 = math.floor(score / 100);
s2 = (score - (s1 * 100)) / 10;
n100.gotoAndStop(s1);
if (s2 == 0) {
n10.gotoANdStop(10);
} else {
n10.gotoAndStop(s2);
}
n1.gotoANdStop(10);
Symbol 53 MovieClip [scoreview] Frame 14
this.removeMovieClip();
Symbol 53 MovieClip [scoreview] Frame 17
s1 = math.floor(score / 1000);
s2 = math.floor((score - (s1 * 1000)) / 100);
s3 = (score - (s1 * 1000)) - (s2 * 100);
n1000.gotoAndStop(s1);
if (s2 == 0) {
n100.gotoANdStop(10);
} else {
n100.gotoAndStop(s2);
}
if (s3 == 0) {
n10.gotoAndStop(10);
} else {
n10.gotoAndStop(s3);
}
n1.gotoANdStop(10);
Symbol 53 MovieClip [scoreview] Frame 22
this.removeMovieClip();
Instance of Symbol 80 MovieClip in Symbol 81 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 1;
if (-26 >= this._x) {
this._x = 476;
}
}
Symbol 91 MovieClip Frame 1
function connectHiscore(FunctionType) {
trace("connectHiscore...");
trace("FunctionType=" + FunctionType);
parameter = (((((((("GameID=" + GameID) + ",FunctionType=") + FunctionType) + ",Score=") + eval (scoreData)) + ",Title1=") + GameTitle) + ",ScoreDes=") + scoreDes;
sendParameter = encrypt(parameter);
getURL (("JavaScript:openHiscore('/content/highscores/hs-connector.html?" + sendParameter) + "');");
}
function encrypt(myText) {
result = "";
code = 0;
charCount = 0;
while (passWord.length >= charCount) {
code = code + passWord.substr(charCount, 1).charCodeAt(0);
charCount++;
}
charCount = 0;
while (myText.length >= charCount) {
encChar = myText.substr(charCount, 1).charCodeAt(0) + code;
result = result + (encChar + "_");
charCount++;
}
outPut = result.substr(0, result.length - 1);
return(outPut);
}
Symbol 91 MovieClip Frame 2
stop();
Symbol 98 Button
on (press) {
vanish3.start();
this.gotoAndPlay("game");
}
on (rollOver) {
select.start();
}
Symbol 103 Button
on (press) {
vanish3.start();
this.gotoAndPlay("howto");
}
on (rollOver) {
select.start();
}
Symbol 108 Button
on (press) {
vanish3.start();
this.gotoAndPlay("story");
}
on (rollOver) {
select.start();
}
Symbol 116 Button
on (press) {
_root.vanish3.start();
_root.hiscore_connector.connectHiscore("view");
}
on (rollOver) {
select.start();
}
Symbol 121 Button
on (press) {
vanish3.start();
this.gotoAndPlay("credit");
}
on (rollOver) {
select.start();
}
Symbol 138 Button
on (press) {
_root.vanish3.start();
_root.gotoAndStop(_root._currentframe + 1);
}
on (rollOver) {
_root.select.start();
}
Symbol 147 Button
on (press) {
_root.vanish3.start();
_root.gotoAndStop("title");
}
on (rollOver) {
_root.select.start();
}
Symbol 157 MovieClip Frame 1
this.stop();
Symbol 229 Button
on (press) {
_root.vanish3.start();
_root.gotoAndStop("title");
}
on (rollOver) {
_root.selectSnd.start();
}
Symbol 231 MovieClip Frame 1
_parent.stop();
Symbol 231 MovieClip Frame 2
_root.curtain.start();
Symbol 231 MovieClip Frame 12
_parent.gotoAndStop(_parent._currentframe + 1);
Symbol 231 MovieClip Frame 15
_root.curtain.start();
Symbol 231 MovieClip Frame 26
_parent.play();
Symbol 272 MovieClip Frame 1
tInt = 4000;
Instance of Symbol 220 MovieClip in Symbol 272 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = this._y + 1;
}
Symbol 272 MovieClip Frame 2
rTime = getTimer();
Symbol 272 MovieClip Frame 4
if (tInt < (getTimer() - rTime)) {
this.gotoAndPlay(_currentframe + 1);
} else {
this.gotoAndPlay(_currentframe - 1);
}
Symbol 272 MovieClip Frame 7
rTime = getTimer();
Symbol 272 MovieClip Frame 9
if (tInt < (getTimer() - rTime)) {
this.gotoAndPlay(_currentframe + 1);
} else {
this.gotoAndPlay(_currentframe - 1);
}
Instance of Symbol 250 MovieClip in Symbol 272 MovieClip Frame 11
onClipEvent (enterFrame) {
this._x = this._x + 2;
}
Symbol 272 MovieClip Frame 12
rTime = getTimer();
_root.bounce.start();
Symbol 272 MovieClip Frame 14
if (tInt < (getTimer() - rTime)) {
this.gotoAndPlay(_currentframe + 1);
} else {
this.gotoAndPlay(_currentframe - 1);
}
Symbol 272 MovieClip Frame 17
rTime = getTimer();
Symbol 272 MovieClip Frame 19
if (tInt < (getTimer() - rTime)) {
this.gotoAndPlay(_currentframe + 1);
} else {
this.gotoAndPlay(_currentframe - 1);
}
Symbol 272 MovieClip Frame 22
rTime = getTimer();
Instance of Symbol 269 MovieClip in Symbol 272 MovieClip Frame 22
onClipEvent (enterFrame) {
this._y = this._y - 5;
if (83 >= this._y) {
this._y = 83;
}
}
Symbol 272 MovieClip Frame 24
if (tInt < (getTimer() - rTime)) {
this.gotoAndPlay(_currentframe + 1);
} else {
this.gotoAndPlay(_currentframe - 1);
}
Symbol 272 MovieClip Frame 26
_root.gotoAndStop("title");
Symbol 283 Button
on (press) {
vanish3.start();
getURL ("http://kiteretsu.robot.co.jp/", "_blank");
}
on (rollOver) {
select.start();
}
Symbol 296 MovieClip Frame 1
this.stop();
Symbol 296 MovieClip Frame 14
this.gotoAndPlay("blink");
Symbol 296 MovieClip Frame 17
this.stop();
Symbol 296 MovieClip Frame 29
this.gotoAndPlay("find");
Symbol 296 MovieClip Frame 31
this.stop();
Symbol 305 MovieClip Frame 1
this.stop();
Symbol 305 MovieClip Frame 14
this.gotoAndPlay("blink");
Symbol 305 MovieClip Frame 15
this.stop();
Symbol 305 MovieClip Frame 23
this.gotoAndPlay("find");
Symbol 305 MovieClip Frame 24
this.stop();
Symbol 314 MovieClip Frame 1
this.stop();
Symbol 314 MovieClip Frame 14
this.gotoAndPlay("blink");
Symbol 314 MovieClip Frame 15
this.stop();
Symbol 314 MovieClip Frame 23
this.gotoAndPlay("find");
Symbol 314 MovieClip Frame 24
this.stop();
Symbol 323 MovieClip Frame 1
this.stop();
Symbol 323 MovieClip Frame 14
this.gotoAndPlay("blink");
Symbol 323 MovieClip Frame 15
this.stop();
Symbol 323 MovieClip Frame 23
this.gotoAndPlay("find");
Symbol 323 MovieClip Frame 24
this.stop();
Symbol 332 MovieClip Frame 1
this.stop();
Symbol 332 MovieClip Frame 14
this.gotoAndPlay("blink");
Symbol 332 MovieClip Frame 15
this.stop();
Symbol 332 MovieClip Frame 23
this.gotoAndPlay("find");
Symbol 332 MovieClip Frame 24
this.stop();
Symbol 341 MovieClip Frame 1
this.stop();
Symbol 341 MovieClip Frame 14
this.gotoAndPlay("blink");
Symbol 341 MovieClip Frame 15
this.stop();
Symbol 341 MovieClip Frame 23
this.gotoAndPlay("find");
Symbol 341 MovieClip Frame 24
this.stop();
Symbol 350 MovieClip Frame 1
this.stop();
Symbol 350 MovieClip Frame 14
this.gotoAndPlay("blink");
Symbol 350 MovieClip Frame 15
this.stop();
Symbol 350 MovieClip Frame 23
this.gotoAndPlay("find");
Symbol 350 MovieClip Frame 24
this.stop();
Symbol 355 MovieClip Frame 1
this.stop();
Symbol 355 MovieClip Frame 14
this.gotoAndPlay("blink");
Symbol 355 MovieClip Frame 15
this.stop();
Symbol 355 MovieClip Frame 23
this.gotoAndPlay("find");
Symbol 355 MovieClip Frame 24
this.stop();
Symbol 356 MovieClip Frame 1
this.stop();
Symbol 357 Button
on (press) {
if (_root.mode == 1) {
if (_parent.mychara == 9) {
_parent.faces.koma.stop();
_root.bomnum = _parent.faces.koma._currentframe;
_root.bomboardnum = 0;
_root.gotoAndPlay("bom");
} else {
_root.catchSnd1.start();
_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))) {
_root.catchSnd2.start();
_root[(("k" + _root.sy1) + "") + _root.sx1].focus._visible = 0;
_root[(("k" + _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)) {
_root.click.start();
_parent.focus._visible = 0;
_parent.faces.face.gotoAndStop("nom");
_root.mode = 1;
} else {
_root.beep.start();
}
}
}
Symbol 358 MovieClip Frame 1
this.stop();
Symbol 362 MovieClip Frame 1
function change() {
this.gotoAndStop("nom");
mychara = _root.board[myposY][myposX];
faces.gotoAndStop(mychara + 1);
if (_root.remainCheck) {
if (mychara == _root.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;
Instance of Symbol 361 MovieClip "focus" in Symbol 362 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
Symbol 362 MovieClip Frame 2
this.stop();
Symbol 362 MovieClip Frame 10
nxtY = this._y + stepnum;
Symbol 362 MovieClip Frame 11
if (nxtY >= myY) {
this._y = myY;
_root.fallingNum--;
if ((5 < stepnum) && (!(_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 362 MovieClip Frame 14
faces.face.gotoAndStop("nom");
this.gotoAndStop("nom");
Symbol 362 MovieClip Frame 15
this._x = this._x + (stepnum * dir);
Symbol 362 MovieClip Frame 16
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 362 MovieClip Frame 19
this._y = this._y + (stepnum * dir);
Symbol 362 MovieClip Frame 20
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 362 MovieClip Frame 26
this._x = this._x + movex;
this._y = this._y + movey;
Symbol 362 MovieClip Frame 27
this.gotoAndPlay("bom");
Symbol 362 MovieClip Frame 32
this._x = this._x + (3 * dir);
Symbol 362 MovieClip Frame 33
this._x = this._x - (3 * dir);
Symbol 362 MovieClip Frame 34
this.gotoAndPlay("shake");
Symbol 362 MovieClip Frame 36
faces.face.gotoAndStop("sup");
Symbol 362 MovieClip Frame 37
nxtY = this._y + stepnum;
Symbol 362 MovieClip Frame 38
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 362 MovieClip Frame 42
nxtY = this._y + stepnum;
Symbol 362 MovieClip Frame 43
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 362 MovieClip Frame 48
faces.face.gotoAndStop("sup");
this.play();
Symbol 362 MovieClip Frame 54
_root.moveCount--;
faces.face.gotoAndStop("vanish");
Symbol 362 MovieClip Frame 58
this.gotoAndStop("nom");
Symbol 377 MovieClip Frame 1
this.stop();
Symbol 382 MovieClip Frame 1
this.stop();
Symbol 387 MovieClip Frame 1
this.stop();
Symbol 392 MovieClip Frame 1
this.stop();
Symbol 397 MovieClip Frame 1
this.stop();
Symbol 402 MovieClip Frame 1
this.stop();
Symbol 407 MovieClip Frame 1
this.stop();
Symbol 412 MovieClip Frame 1
this.stop();
Symbol 438 MovieClip Frame 1
this.stop();
Symbol 439 MovieClip Frame 1
this.stop();
Symbol 442 MovieClip Frame 1
this.stop();
Symbol 445 MovieClip Frame 1
this.stop();
Symbol 449 Button
on (press) {
if (_root.sndmode) {
_root.sndmode = 0;
sndClip.sndstop();
} else {
_root.sndmode = 1;
sndClip.sndstart();
}
}
on (rollOver) {
select.start();
}
Symbol 450 Button
on (press) {
if (_root.mode == 1) {
_root.piyo1.start();
this.gotoAndStop("pause");
}
}
on (rollOver) {
select.start();
}
Symbol 455 Button
on (rollOver) {
select.start();
}
on (press) {
vanish2.start();
this.gotoAndPlay("quit");
}
Symbol 481 MovieClip Frame 1
this.stop();
Symbol 490 MovieClip Frame 1
this.stop();
Symbol 491 Button
on (press) {
if (sndmode) {
_root.sndclip.sndstart();
}
this.gotoAndStop("wait");
}
Symbol 492 MovieClip Frame 1
_parent.stop();
Symbol 492 MovieClip Frame 2
_root.curtain.start();
Symbol 492 MovieClip Frame 13
_parent.play();
this.stop();
Symbol 503 Button
on (press) {
_root.vanish3.start();
_root.hiscore_connector.connectHiscore("submit");
}
on (rollOver) {
_root.select.start();
}
Symbol 508 Button
on (press) {
_root.vanish3.start();
_root.gotoAndPlay("game");
}
on (rollOver) {
_root.select.start();
}