Frame 1
function demoClass() {
demoClass.prototype.oneTimeInit = function (pointer, qwe) {
this.obj = pointer;
this.limitTime = qwe;
this.initData();
trace("DEMO:" + this.obj);
};
demoClass.prototype.deleteC = function () {
removeMovieClip(this.obj);
};
demoClass.prototype.initData = function () {
this.textF = new TextFormat();
this.textF.color = "0xFFFFFF";
this.obj._x = 10;
this.obj._y = 10;
this.obj.gotoAndStop(1);
this.obj.sorryMc.gotoAndStop(1);
this.obj._visible = false;
};
demoClass.prototype.readyToRender = function () {
this.startTime = getTimer();
this.endTime = this.startTime + (this.limitTime * 1000);
this.testChangeFlag = 1;
this.timeNum = this.limitTime;
this.timeIntv = 0;
this.aniframe = 1;
this.devideNum = this.limitTime * -10;
trace("this.startTime:" + this.startTime);
trace("this.devideNum:" + this.devideNum);
this.obj._x = 0;
this.obj._y = 0;
this.obj.gotoAndStop(1);
this.obj.sorryMc.gotoAndStop(this.aniframe);
this.obj.nums.text = this.timeNum;
this.obj.inMc._xscale = 100;
this.obj._visible = true;
this.gogo();
};
demoClass.prototype.gogo = function () {
this.obj.onEnterFrame = function () {
_root.demoObj.timeIntv = Math.floor(getTimer() - _root.demoObj.startTime);
this.inMc._xscale = (_root.demoObj.timeIntv / _root.demoObj.devideNum) + 100;
if (this.inMc._xscale <= 0) {
this.onEnterFrame = null;
delete this.onEnterFrame;
this.inMc._xscale = 0;
_root.demoObj.letEnd();
}
_root.demoObj.timeNum = _root.demoObj.limitTime - Math.floor(_root.demoObj.timeIntv / 1000);
if (_root.demoObj.timeNum <= 0) {
_root.demoObj.timeNum = 0;
}
if ((this.inMc._xscale <= 60) && (_root.demoObj.testChangeFlag == 1)) {
trace("CHANGE COLOR");
_root.demoObj.testChangeFlag = 0;
this.nums.setTextFormat(_root.demoObj.textF);
}
this.nums.text = _root.demoObj.timeNum;
};
};
demoClass.prototype.letEnd = function () {
this.obj.onEnterFrame = function () {
_root.demoObj.obj.sorryMc.gotoAndStop(_root.demoObj.aniframe);
_root.demoObj.aniframe++;
if (!(_root.demoObj.aniframe === 37)) {
} else {
this.onEnterFrame = null;
delete this.onEnterFrame;
_root.demoObj.aniframe = 36;
removeMovieClip(_root.demoObj.obj);
delete _root.demoObj;
}
};
};
}
function demoProcessShow(qwe) {
trace("DEMO >>>");
_root.attachMovie("demo_Link", "demoMc", 1000040);
_root.demoObj = new demoClass();
_root.demoObj.oneTimeInit(_root.demoMc, qwe);
_root.demoObj.readyToRender();
}
function GameLimitTimeQWER() {
stopAllSounds();
_root.demoMc.onEnterFrame = null;
delete _root.demoMc.onEnterFrame;
removeMovieClip(_root.demoMc);
delete _root.demoObj;
_root.removeAllMovie();
_root.MC_skin.removeMovieClip();
_root.gotoAndStop("main");
}
this.stop();
this.createEmptyMovieClip("dropM", 1);
((bgMusic = new Sound())).attachSound("bgMusic");
((shootSnd = new Sound())).attachSound("shootSnd");
((swapSnd = new Sound())).attachSound("swapSnd");
((obstacleShakeSnd = new Sound())).attachSound("obstacleShakeSnd");
((obstacleDropSnd = new Sound())).attachSound("obstacleDropSnd");
((alarmSnd = new Sound())).attachSound("alarmSnd");
((swallowSnd = new Sound())).attachSound("swallowSnd");
((missionViewSnd = new Sound())).attachSound("missionViewSnd");
((missionGoodSnd = new Sound())).attachSound("missionGoodSnd");
((levelUpSnd = new Sound())).attachSound("levelUpSnd");
((fallOutSnd = new Sound())).attachSound("fallOutSnd");
((moveSnd = new Sound())).attachSound("moveSnd");
((comboSnd0 = new Sound())).attachSound("comboSnd0");
((comboSnd1 = new Sound())).attachSound("comboSnd1");
((comboSnd2 = new Sound())).attachSound("comboSnd2");
((clockSnd = new Sound())).attachSound("clockSnd");
((dropSnd = new Sound(this.dropM))).attachSound("dropSnd");
((startSnd = new Sound())).attachSound("startSnd");
((tickSnd = new Sound())).attachSound("tickSnd");
((bombSnd = new Sound())).attachSound("bombSnd");
((jummaSnd = new Sound())).attachSound("jummaSnd");
Frame 2
this.stop();
this.changeVar = function (varX, numb) {
this.secureMovie.varObj.encodeVars(varX, this, numb);
};
this.setVar = function (varN, initValue) {
this.secureMovie.varObj.addVars(varN, this, initValue);
};
this.mySendScore = function () {
this.changeVar("score", 0);
this.UpdateKey(this.score);
this.DataSL("send");
};
this.resetMoviesPUBLICUSE = function () {
stopAllSounds();
delete this.encodeOb;
this.MC_gameOver.removeMovieClip();
this.removeAllMovie();
this.MC_skin.removeMovieClip();
this.gotoAndStop("main");
};
this.gotoGamePUBLICUSE = function () {
userLevel = 1;
_root.isItem1 = false;
_root.isItem2 = false;
this.gotoAndStop("startGame");
};
Frame 3
this.makeBlockArr = function () {
this.blockArr = new Array();
var _local3 = 0;
while (_local3 < 12) {
this.blockArr[_local3] = new Array();
var _local2 = 0;
while (_local2 < 10) {
if (_local3 == 10) {
this.blockArr[_local3][_local2] = 0;
} else {
this.blockArr[_local3][_local2] = 1;
}
_local2++;
}
_local3++;
}
};
this.makeChkFinder = function () {
_global.ExtendedBroadcaster = function () {
if (arguments[0] == "NO_INIT") {
return(undefined);
}
this._listeners = arguments.slice(0);
};
if (SimpleBroadcaster == undefined) {
if (AsBroadcaster == undefined) {
} else {
_global.SimpleBroadcaster = AsBroadcaster;
}
}
o = ExtendedBroadcaster;
o.initialize = function (obj) {
obj.addListener = this.prototype.addListener;
obj.removeListener = this.prototype.removeListener;
obj.broadcastMessage = this.prototype.broadcastMessage;
obj.orgBroadcastMessage = this.prototype.orgBroadcastMessage;
obj._listeners = [];
};
o = o.prototype;
SimpleBroadcaster.initialize(o);
o.orgBroadcastMessage = o.broadcastMessage;
o.broadcastMessage = function () {
this.orgBroadcastMessage.apply({_listeners:this._listeners.slice(0)}, arguments);
};
delete o;
var map = this.blockArr;
var _local6 = function (map) {
this.map = map;
ExtendedBroadcaster.initialize(this);
};
var _local7 = _local6.prototype;
_local7.findPath = function (x0, y0, x1, y1) {
var map = this.map;
var occ = [];
var scope = this;
var pathFound = false;
var foundPath;
var listeners = this._listeners;
flow.dir = null;
var flow = function () {
var _local5 = this.x;
var _local4 = this.y;
var _local2 = this.path;
if ((map[_local4][_local5] == undefined) || (occ[_local4][_local5])) {
scope.removeListener(this);
return(false);
}
if ((_local5 == x1) && (_local4 == y1)) {
pathFound = true;
foundPath = _local2.concat([{x:_local5, y:_local4}]);
return(true);
}
if (occ[_local4] == undefined) {
occ[_local4] = [];
}
occ[_local4][_local5] = true;
switch (this.dir) {
case 1 :
if ((~map[_local4 + 1][_local5]) && ((map[_local4 + 1][_local5] == 0) & 1)) {
listeners.push({x:_local5, y:_local4 + 1, dir:4, flow:flow, path:_local2.concat([{x:_local5, y:_local4}])});
}
if ((~map[_local4 - 1][_local5]) && ((map[_local4 - 1][_local5] == 0) & 1)) {
listeners.push({x:_local5, y:_local4 - 1, dir:8, flow:flow, path:_local2.concat([{x:_local5, y:_local4}])});
}
if ((~map[_local4][_local5 + 1]) && ((map[_local4][_local5 + 1] == 0) & 1)) {
this.x++;
_local2.push({x:_local5, y:_local4});
}
return(undefined);
case 2 :
if ((~map[_local4 + 1][_local5]) && ((map[_local4 + 1][_local5] == 0) & 1)) {
listeners.push({x:_local5, y:_local4 + 1, dir:4, flow:flow, path:_local2.concat([{x:_local5, y:_local4}])});
}
if ((~map[_local4 - 1][_local5]) && ((map[_local4 - 1][_local5] == 0) & 1)) {
listeners.push({x:_local5, y:_local4 - 1, dir:8, flow:flow, path:_local2.concat([{x:_local5, y:_local4}])});
}
if ((~map[_local4][_local5 - 1]) && ((map[_local4][_local5 - 1] == 0) & 1)) {
this.x--;
_local2.push({x:_local5, y:_local4});
}
return(undefined);
case 4 :
if ((~map[_local4][_local5 + 1]) && ((map[_local4][_local5 + 1] == 0) & 1)) {
listeners.push({x:_local5 + 1, y:_local4, dir:1, flow:flow, path:_local2.concat([{x:_local5, y:_local4}])});
}
if ((~map[_local4][_local5 - 1]) && ((map[_local4][_local5 - 1] == 0) & 1)) {
listeners.push({x:_local5 - 1, y:_local4, dir:2, flow:flow, path:_local2.concat([{x:_local5, y:_local4}])});
}
if ((~map[_local4 + 1][_local5]) && ((map[_local4 + 1][_local5] == 0) & 1)) {
this.y++;
_local2.push({x:_local5, y:_local4});
}
return(undefined);
case 8 :
if ((~map[_local4][_local5 + 1]) && ((map[_local4][_local5 + 1] == 0) & 1)) {
listeners.push({x:_local5 + 1, y:_local4, dir:1, flow:flow, path:_local2.concat([{x:_local5, y:_local4}])});
}
if ((~map[_local4][_local5 - 1]) && ((map[_local4][_local5 - 1] == 0) & 1)) {
listeners.push({x:_local5 - 1, y:_local4, dir:2, flow:flow, path:_local2.concat([{x:_local5, y:_local4}])});
}
if ((~map[_local4 - 1][_local5]) && ((map[_local4 - 1][_local5] == 0) & 1)) {
this.y--;
_local2.push({x:_local5, y:_local4});
}
return(undefined);
}
};
if ((~map[y0][x0 + 1]) && ((map[y0][x0 + 1] == 0) & 1)) {
listeners.push({x:x0 + 1, y:y0, dir:1, flow:flow, path:[{x:x0 + 1, y:y0}]});
}
if ((~map[y0][x0 - 1]) && ((map[y0][x0 - 1] == 0) & 1)) {
listeners.push({x:x0 - 1, y:y0, dir:2, flow:flow, path:[{x:x0 - 1, y:y0}]});
}
if ((~map[y0 + 1][x0]) && ((map[y0 + 1][x0] == 0) & 1)) {
listeners.push({x:x0, y:y0 + 1, dir:4, flow:flow, path:[{x:x0, y:y0 + 1}]});
}
if ((~map[y0 - 1][x0]) && ((map[y0 - 1][x0] == 0) & 1)) {
listeners.push({x:x0, y:y0 - 1, dir:8, flow:flow, path:[{x:x0, y:y0 - 1}]});
}
var _local4 = 0;
do {
if (pathFound) {
break;
}
this.broadcastMessage("flow");
_local4++;
} while (_local4 <= 100);
for (_local4 in listeners) {
this.removeListener(listeners[_local4]);
}
return(foundPath);
};
alert = "click free tile";
var pf = (new _local6[undefined](map));
trace("D+++ = " + pf.findPath(this.tx, this.ty, mx, my));
MovieClip.prototype.startSurvey = function () {
this.tx = this.xNumb;
this.ty = this.yNumb;
var _local4 = this._parent.MC_player.xNumb;
var _local3 = this._parent.MC_player.yNumb;
if ((((_local4 < 0) || (_local4 > (map[0].length - 1))) || (_local3 < 0)) || (_local3 > (map.length - 1))) {
return(undefined);
}
if ((_local4 == this.tx) && (_local3 == this.ty)) {
return(undefined);
}
this.path = pf.findPath(this.tx, this.ty, _local4, _local3);
this.nextX = new Array();
this.nextY = new Array();
var _local2 = 1;
while (_local2 < this.path.length) {
this.nextX.push(this.path[_local2].x);
this.nextY.push(this.path[_local2].y);
_local2++;
}
trace("nextX = " + path);
trace("nextY = " + this.nextY);
if ((this.nextY[this.nextY.length - 1] != this._parent.MC_player.yNumb) || (this.nextX[this.nextX.length - 1] != this._parent.MC_player.xNumb)) {
this.myDir = "rndMove";
return(this.myDir);
}
return((this.myDir = "normal"));
};
};
this.stop();
_quality = "low";
this.beginVar = function () {
this.setVar("arrSizeW", 10);
this.setVar("arrSizeH", 12);
this.bSizeW = 24;
this.bSizeH = 23;
this.isPause = false;
this.isPlay = false;
this.foodCnt = 8;
this.initX = 143.5;
this.initY = 19;
this.attachN = 10000;
this.pauseSig = false;
this.setVar("myLevel", 1);
this.setVar("score", 0);
this.MC_player.moveSig = false;
this.catXterm = 23;
this.catYterm = 9.5;
this.playerYterm = 7;
this.removeCnt = 0;
this.logCnt = 0;
this.obstacleN = 900000 /* 0x0DBBA0 */;
this.gScoreON = 999500 /* 0x0F404C */;
this.gScoreN = 999500 /* 0x0F404C */;
this.isEating = false;
this.moveGapW = this.bSizeW;
this.moveGapH = this.bSizeH;
this.comboN = 0;
this.isMission = false;
this.goX = 251;
this.goY = 160;
this.comboCNR = 0;
this.divideNS = 500;
this.gameOverDepth = 1000038 /* 0x0F4266 */;
this.itemCnt = 3;
this.shootCnt = 0;
this.bombCnt = 15;
};
this.viewGS = function (me) {
this.attachMovie("MC_gScoreN", "MC_gScoreN" + this.gScoreN, this.gScoreN);
this["MC_gScoreN" + this.gScoreN]._x = this.MC_player._x;
this["MC_gScoreN" + this.gScoreN]._y = this.MC_player._y;
this["MC_gScoreN" + this.gScoreN].myAddScore = Number(me);
this["MC_gScoreN" + this.gScoreN].gotoAndPlay(2);
this.gScoreN++;
if (this.gScoreN > (this.gScoreON + 300)) {
this.gScoreN = this.gScoreON;
}
};
this.addScore = function (me) {
this.changeVar("score", Number(me));
this.MC_skin.gScore.scoreView(this.score);
if (this.myLevel == 1) {
if (this.score >= this.divideNS) {
this.upLevel();
this.divideNS = 900;
}
} else if (this.myLevel == 2) {
if (this.score >= this.divideNS) {
this.upLevel();
this.divideNS = 300;
}
} else if (this.score >= Number((this.myLevel + 1) * this.divideNS)) {
this.upLevel();
}
};
this.upLevel = function () {
this.changeVar("myLevel", 1);
this.MC_skin.stgN.stgView(this.myLevel);
this.MC_skin.MC_upLevelTXT.gotoAndPlay(2);
this.levelUpSnd.start();
};
this.missionBonus = function (numb) {
this.addScore(numb);
};
this.comboBonus = function () {
this.addScore(numb);
};
this.makeArr = function () {
this.foodsArr = new Array();
this.nameArr = new Array();
this.checkArr = new Array();
var _local2 = 0;
while (_local2 < this.arrSizeH) {
this.foodsArr[_local2] = new Array();
this.nameArr[_local2] = new Array();
var _local3 = 0;
while (_local3 < this.arrSizeW) {
if ((_local2 > 6) && (_local2 < 10)) {
this.foodsArr[_local2][_local3] = random(this.foodCnt - 4) + 1;
} else if (_local2 >= 10) {
this.foodsArr[_local2][_local3] = 9;
} else {
this.foodsArr[_local2][_local3] = 0;
}
this.nameArr[_local2][_local3] = 0;
_local3++;
}
_local2++;
}
};
this.attachFoods = function () {
var _local3 = 7;
while (_local3 < (this.arrSizeH - 2)) {
var _local2 = 0;
while (_local2 < this.arrSizeW) {
if ((this.foodsArr[_local3][_local2] > 0) && (this.foodsArr[_local3][_local2] < (this.foodCnt + 1))) {
this.attachMovie("MC_foods", "MC_foods" + this.attachN, this.attachN);
this["MC_foods" + this.attachN].foodID = this.foodsArr[_local3][_local2];
this["MC_foods" + this.attachN].xNumb = _local2;
this["MC_foods" + this.attachN].yNumb = _local3;
this["MC_foods" + this.attachN].chkSig = false;
this["MC_foods" + this.attachN].MC_innerFood.gotoAndStop(this["MC_foods" + this.attachN].foodID);
this["MC_foods" + this.attachN]._x = this.initX + (_local2 * this.bSizeW);
this["MC_foods" + this.attachN]._y = (this.initY + 3) + (_local3 * this.bSizeH);
this.nameArr[_local3][_local2] = "MC_foods" + this.attachN;
this.attachN++;
}
_local2++;
}
_local3++;
}
};
MovieClip.prototype.moveLeft = function () {
if (this.direct == "right") {
this.moveSig = true;
this._xscale = this._xscale * -1;
this.MC_playerIn._xscale = this.MC_playerIn._xscale * -1;
this.MC_counting.MC_cnt._xscale = this.MC_counting.MC_cnt._xscale * -1;
this._x = this._x - this._parent.bSizeW;
var _local3 = this._parent[this._parent.firstFood]._x;
var _local2 = this._parent[this._parent.firstFood]._y;
this._parent[this._parent.firstFood]._x = this._parent[this._parent.secondFood]._x;
this._parent[this._parent.secondFood]._x = _local3;
this._parent[this._parent.firstFood]._y = this._parent[this._parent.secondFood]._y;
this._parent[this._parent.secondFood]._y = _local2;
this.xNumb--;
this.direct = "left";
this.moveSig = false;
} else if ((this.xNumb > 0) && (this.xNumb < 9)) {
this.moveSig = true;
this.mCnt = 0;
this.onEnterFrame = function () {
this._x = this._x - Number(this._parent.bSizeW / 2);
this._parent[this._parent.firstFood]._x = this._parent[this._parent.firstFood]._x - Number(this._parent.bSizeW / 2);
this._parent[this._parent.secondFood]._x = this._parent[this._parent.secondFood]._x - Number(this._parent.bSizeW / 2);
this.mCnt++;
if (this.mCnt == 2) {
this.onEnterFrame = null;
this.xNumb--;
this.moveSig = false;
}
};
}
this._parent.moveSnd.start();
};
MovieClip.prototype.moveRight = function () {
if (this.direct == "left") {
this.moveSig = true;
this._xscale = this._xscale * -1;
this.MC_playerIn._xscale = this.MC_playerIn._xscale * -1;
this.MC_counting.MC_cnt._xscale = this.MC_counting.MC_cnt._xscale * -1;
this._x = this._x + this._parent.bSizeW;
var _local3 = this._parent[this._parent.firstFood]._x;
var _local2 = this._parent[this._parent.firstFood]._y;
this._parent[this._parent.firstFood]._x = this._parent[this._parent.secondFood]._x;
this._parent[this._parent.secondFood]._x = _local3;
this._parent[this._parent.firstFood]._y = this._parent[this._parent.secondFood]._y;
this._parent[this._parent.secondFood]._y = _local2;
this.xNumb++;
this.direct = "right";
this.moveSig = false;
} else if ((this.xNumb < 9) && (this.xNumb > 0)) {
this.moveSig = true;
this.mCnt = 0;
this.onEnterFrame = function () {
this._x = this._x + Number(this._parent.bSizeW / 2);
this._parent[this._parent.firstFood]._x = this._parent[this._parent.firstFood]._x + Number(this._parent.bSizeW / 2);
this._parent[this._parent.secondFood]._x = this._parent[this._parent.secondFood]._x + Number(this._parent.bSizeW / 2);
this.mCnt++;
if (this.mCnt == 2) {
this.onEnterFrame = null;
this.xNumb++;
this.moveSig = false;
}
};
}
this._parent.moveSnd.start();
};
MovieClip.prototype.swapFood = function () {
this.swapN = 0;
this.moveSig = true;
this._parent[this._parent.firstFood].gotoAndStop("changeSmall");
this._parent[this._parent.secondFood].gotoAndStop("changeBig");
this._parent.swapSnd.start();
this.onEnterFrame = function () {
if (this.swapN == 3) {
this._parent.MC_player.MC_playerIn.gotoAndStop("receive");
this._parent[this._parent.firstFood].gotoAndStop(this._currentframe + 2);
this._parent[this._parent.secondFood].gotoAndStop(this._currentframe + 2);
if (this.direct == "left") {
this._parent[this._parent.firstFood]._x = this._parent[this._parent.firstFood]._x + (this._parent.catXterm / 2);
this._parent[this._parent.firstFood]._y = this._parent[this._parent.firstFood]._y - 10;
this._parent[this._parent.secondFood]._x = this._parent[this._parent.secondFood]._x - (this._parent.catXterm / 2);
} else {
this._parent[this._parent.firstFood]._x = this._parent[this._parent.firstFood]._x - (this._parent.catXterm / 2);
this._parent[this._parent.firstFood]._y = this._parent[this._parent.firstFood]._y - 10;
this._parent[this._parent.secondFood]._x = this._parent[this._parent.secondFood]._x + (this._parent.catXterm / 2);
}
} else if (this.swapN == 6) {
this._parent.MC_player.MC_playerIn.gotoAndStop(1);
this._parent[this._parent.firstFood].gotoAndStop("smallView");
this._parent[this._parent.secondFood].gotoAndStop(1);
this._parent[this._parent.secondFood].MC_innerFood.gotoAndStop(this._parent[this._parent.secondFood].foodID);
if (this.direct == "left") {
this._parent[this._parent.firstFood]._x = this._parent[this._parent.firstFood]._x + (this._parent.catXterm / 2);
this._parent[this._parent.firstFood]._y = this._parent[this._parent.firstFood]._y + 10;
this._parent[this._parent.secondFood]._x = this._parent[this._parent.secondFood]._x - (this._parent.catXterm / 2);
} else {
this._parent[this._parent.firstFood]._x = this._parent[this._parent.firstFood]._x - (this._parent.catXterm / 2);
this._parent[this._parent.firstFood]._y = this._parent[this._parent.firstFood]._y + 10;
this._parent[this._parent.secondFood]._x = this._parent[this._parent.secondFood]._x + (this._parent.catXterm / 2);
}
var _local2 = this._parent.firstFood;
this._parent.firstFood = this._parent.secondFood;
this._parent.secondFood = _local2;
this.onEnterFrame = null;
this._parent.firstFoodEffect();
if (this._parent.MC_player.MC_counting._currentframe >= 151) {
this._parent[this._parent.firstFood].gotoAndStop("alarm");
}
this._parent[this._parent.firstFood]._x = this._parent.MC_player._x;
this._parent[this._parent.firstFood]._y = this._parent.MC_player._y + this._parent.playerYterm;
if (this._parent.MC_player.direct == "left") {
this._parent[this._parent.secondFood]._x = this._parent.MC_player._x + this._parent.catXterm;
} else {
this._parent[this._parent.secondFood]._x = this._parent.MC_player._x - this._parent.catXterm;
}
this._parent[this._parent.secondFood]._y = this._parent.MC_player._y + this._parent.catYterm;
this.moveSig = false;
}
this.swapN++;
};
};
MovieClip.prototype.passFood = function () {
trace("\uC804\uB2EC\uC2DC\uC791~!!!");
this.passN = 0;
this._parent[this._parent.secondFood].gotoAndStop("changeBig");
this.onEnterFrame = function () {
if (this.passN == 3) {
this.MC_playerIn.gotoAndStop("receive");
this._parent[this._parent.secondFood].gotoAndStop(this._currentframe + 2);
if (this.direct == "left") {
this._parent[this._parent.secondFood]._x = this._parent[this._parent.secondFood]._x - (this._parent.catXterm / 2);
} else {
this._parent[this._parent.secondFood]._x = this._parent[this._parent.secondFood]._x + (this._parent.catXterm / 2);
}
this.MC_puppy.gotoAndPlay(2);
} else if (this.passN == 6) {
this.MC_playerIn.gotoAndStop(1);
this._parent[this._parent.secondFood].gotoAndStop(1);
if (this.direct == "left") {
this._parent[this._parent.secondFood]._x = this._parent[this._parent.secondFood]._x - (this._parent.catXterm / 2);
} else {
this._parent[this._parent.secondFood]._x = this._parent[this._parent.secondFood]._x + (this._parent.catXterm / 2);
}
this._parent.firstFood = this._parent.secondFood;
this.onEnterFrame = null;
this._parent.firstFoodEffect();
this._parent.isEating = false;
this.MC_counting.gotoAndPlay(2);
this.MC_arrow._visible = true;
}
this.passN++;
};
};
this.shoot = function () {
this.comboCNR = 0;
this.MC_player.moveSig = true;
this.$buffFoodName = this.firstFood;
this[this.firstFood].i = 0;
this[this.firstFood].xNumb = this.MC_player.xNumb;
this[this.firstFood].yNumb = 11;
this[this.firstFood]._x = this.initX + (this.MC_player.xNumb * this.bSizeW);
this[this.firstFood]._y = (this.initY + 3) + (11 * this.bSizeH);
this[this.firstFood].gotoAndStop(1);
this.MC_player.MC_playerIn.gotoAndStop("shoot");
this.MC_player.MC_counting.gotoAndStop(1);
this.MC_player.MC_arrow._visible = false;
this.shootSnd.start();
this.firstFoodEffectOff();
this.shootCnt++;
this[this.firstFood].onEnterFrame = function () {
if (!this._parent.isPause) {
if (this.i != 0) {
if ((this.i % 2) == 0) {
this._y = this._y - (this._parent.bSizeH / 2);
if (this.yNumb == 10) {
var _local3 = 9;
while (_local3 >= 0) {
if (this._parent.nameArr[_local3][this.xNumb] != 0) {
this._parent[this._parent.nameArr[_local3][this.xNumb]]._y = this._parent[this._parent.nameArr[_local3][this.xNumb]]._y - (this._parent.bSizeH / 2);
} else {
break;
}
_local3--;
}
}
this.yNumb--;
if (this.yNumb <= 9) {
this.onEnterFrame = null;
var _local2 = 1;
while (_local2 < 10) {
this._parent.foodsArr[_local2 - 1][this.xNumb] = this._parent.foodsArr[_local2][this.xNumb];
this._parent.nameArr[_local2 - 1][this.xNumb] = this._parent.nameArr[_local2][this.xNumb];
this._parent[this._parent.nameArr[_local2 - 1][this.xNumb]].yNumb--;
_local2++;
}
var _local4 = 0;
while (_local4 < 10) {
if (this._parent.foodsArr[0][_local4] != 0) {
this._parent.isPause = true;
this._parent.MC_player.moveSig = true;
this._parent.gameOverCount();
break;
}
_local4++;
}
this._parent.foodsArr[9][this.xNumb] = this.foodID;
this._parent.nameArr[9][this.xNumb] = this._parent.firstFood;
trace("\uC77C\uB2E8 \uB9C8\uBB34\uB9AC");
this._parent.chkHurryUp();
this._parent.MC_player.MC_playerIn.gotoAndStop(1);
this._parent.initChkSig();
this._parent.checkArr = new Array();
this._parent.checkArr.push(this._parent.firstFood);
if (this.foodID != 9) {
this.initChk();
this._parent.delayChk(false);
this.ii = 0;
this.onEnterFrame = function () {
if ((this.ii == 0) || (this.ii == 2)) {
var _local2 = 9;
while (_local2 > 1) {
if (this._parent.nameArr[_local2][this.xNumb] != 0) {
this._parent[this._parent.nameArr[_local2][this.xNumb]]._y = this._parent[this._parent.nameArr[_local2][this.xNumb]]._y - 4;
} else {
break;
}
_local2--;
}
} else if ((this.ii == 1) || (this.ii == 3)) {
var _local2 = 9;
while (_local2 > 1) {
if (this._parent.nameArr[_local2][this.xNumb] != 0) {
this._parent[this._parent.nameArr[_local2][this.xNumb]]._y = this._parent[this._parent.nameArr[_local2][this.xNumb]]._y + 4;
} else {
break;
}
_local2--;
}
if (this.ii == 3) {
this.onEnterFrame = null;
}
}
this.ii++;
};
} else {
this.MC_innerFood.MC_bomb.gotoAndPlay(2);
this.ii = 0;
this.onEnterFrame = function () {
if ((this.ii == 0) || (this.ii == 2)) {
var _local2 = 9;
while (_local2 > 1) {
if (this._parent.nameArr[_local2][this.xNumb] != 0) {
this._parent[this._parent.nameArr[_local2][this.xNumb]]._y = this._parent[this._parent.nameArr[_local2][this.xNumb]]._y - 4;
} else {
break;
}
_local2--;
}
} else if ((this.ii == 1) || (this.ii == 3)) {
var _local2 = 9;
while (_local2 > 1) {
if (this._parent.nameArr[_local2][this.xNumb] != 0) {
this._parent[this._parent.nameArr[_local2][this.xNumb]]._y = this._parent[this._parent.nameArr[_local2][this.xNumb]]._y + 4;
} else {
break;
}
_local2--;
}
if (this.ii == 3) {
this.onEnterFrame = null;
}
}
this.ii++;
};
}
}
this.i++;
} else {
this._y = this._y - (this._parent.bSizeH / 2);
if (this.yNumb == 10) {
var _local3 = 9;
while (_local3 > 1) {
if (this._parent.nameArr[_local3][this.xNumb] != 0) {
this._parent[this._parent.nameArr[_local3][this.xNumb]]._y = this._parent[this._parent.nameArr[_local3][this.xNumb]]._y - (this._parent.bSizeH / 2);
} else {
break;
}
_local3--;
}
}
this.i++;
}
} else {
this.i++;
}
}
};
};
this.initChkSig = function () {
var _local3 = 1;
while (_local3 < 10) {
var _local2 = 0;
while (_local2 < 10) {
if (this.nameArr[_local3][_local2] != 0) {
this[this.nameArr[_local3][_local2]].chkSig = false;
}
_local2++;
}
_local3++;
}
};
this.initBubbleSig = function () {
var _local3 = 1;
while (_local3 < 10) {
var _local2 = 0;
while (_local2 < 10) {
if (this.nameArr[_local3][_local2] != 0) {
this[this.nameArr[_local3][_local2]].bubbleSig = false;
}
_local2++;
}
_local3++;
}
};
MovieClip.prototype.initChk = function () {
if (!this.chkSig) {
this.chkSig = true;
if (((this.xNumb > 0) && (this._parent.foodsArr[this.yNumb][this.xNumb - 1] > 0)) && (this._parent.foodsArr[this.yNumb][this.xNumb - 1] < this._parent.foodCnt)) {
if ((this._parent.foodsArr[this.yNumb][this.xNumb - 1] == this.foodID) && (!this._parent[this._parent.nameArr[this.yNumb][this.xNumb - 1]].chkSig)) {
this._parent.checkArr.push(this._parent.nameArr[this.yNumb][this.xNumb - 1]);
this._parent[this._parent.nameArr[this.yNumb][this.xNumb - 1]].initChk();
}
}
if (((this.xNumb < 9) && (this._parent.foodsArr[this.yNumb][this.xNumb + 1] > 0)) && (this._parent.foodsArr[this.yNumb][this.xNumb + 1] < this._parent.foodCnt)) {
if ((this._parent.foodsArr[this.yNumb][this.xNumb + 1] == this.foodID) && (!this._parent[this._parent.nameArr[this.yNumb][this.xNumb + 1]].chkSig)) {
this._parent.checkArr.push(this._parent.nameArr[this.yNumb][this.xNumb + 1]);
this._parent[this._parent.nameArr[this.yNumb][this.xNumb + 1]].initChk();
}
}
if (((this.yNumb > 1) && (this._parent.foodsArr[this.yNumb - 1][this.xNumb] > 0)) && (this._parent.foodsArr[this.yNumb - 1][this.xNumb] < this._parent.foodCnt)) {
if ((this._parent.foodsArr[this.yNumb - 1][this.xNumb] == this.foodID) && (!this._parent[this._parent.nameArr[this.yNumb - 1][this.xNumb]].chkSig)) {
this._parent.checkArr.push(this._parent.nameArr[this.yNumb - 1][this.xNumb]);
this._parent[this._parent.nameArr[this.yNumb - 1][this.xNumb]].initChk();
}
}
if (((this.yNumb < 9) && (this._parent.foodsArr[this.yNumb + 1][this.xNumb] > 0)) && (this._parent.foodsArr[this.yNumb + 1][this.xNumb] < this._parent.foodCnt)) {
if ((this._parent.foodsArr[this.yNumb + 1][this.xNumb] == this.foodID) && (!this._parent[this._parent.nameArr[this.yNumb + 1][this.xNumb]].chkSig)) {
this._parent.checkArr.push(this._parent.nameArr[this.yNumb + 1][this.xNumb]);
this._parent[this._parent.nameArr[this.yNumb + 1][this.xNumb]].initChk();
}
}
}
};
this.delayChk = function (me) {
this.chkMovie.i = 0;
this.chkMovie.onEnterFrame = function () {
if (!this._parent.isPause) {
if (this.i == 5) {
this.i = 0;
this.onEnterFrame = null;
if (this._parent.checkArr.length >= 3) {
if (me) {
this._parent.comboN++;
} else {
this._parent.comboN = 0;
}
this._parent.makeBlockArr();
var _local5 = 0;
var _local4 = 0;
while (_local4 < this._parent.checkArr.length) {
if (this._parent[this._parent.checkArr[_local4]].yNumb < 9) {
_local5++;
break;
}
_local4++;
}
var _local2 = 0;
while (_local2 < this._parent.checkArr.length) {
if (_local5 > 0) {
this._parent.blockArr[this._parent[this._parent.checkArr[_local2]].yNumb][this._parent[this._parent.checkArr[_local2]].xNumb] = 0;
}
_local2++;
}
this._parent.blockArr[this._parent.MC_player.yNumb][this._parent.MC_player.xNumb] = 0;
this._parent.makeChkFinder();
this._parent.isEating = true;
this._parent.removeCnt = 0;
this._parent.logCnt = this._parent.checkArr.length;
var _local3 = 0;
while (_local3 < this._parent.checkArr.length) {
this._parent[this._parent.checkArr[_local3]].vanish();
_local3++;
}
this._parent.MC_player.MC_puppy.gotoAndStop("angry");
this._parent.alarmSnd.start();
if (this._parent[this._parent.checkArr[0]].foodID == this._parent.MC_skin.MC_missionView.missionFN) {
trace((this._parent[this._parent.checkArr[0]].foodID + " = foodID \uBBF8\uC158 \uC131\uACF5 \uCC98\uB9AC~~~@@!!! missionFN = ") + this._parent.MC_skin.MC_missionView.missionFN);
this._parent.isMission = true;
this._parent.missionGoodSnd.start();
this._parent.MC_skin.MC_joomma.gotoAndStop("laugh");
this._parent.MC_skin.MC_missionTXT.gotoAndPlay(2);
this._parent.restartMission();
}
trace("\uB51C\uB808\uC774\uCCB4\uD06C");
} else {
this._parent.isEating = false;
this._parent.MC_player.passFood();
}
} else {
this.i++;
}
}
};
};
this.downFood = function () {
this.initBubbleSig();
var _local8 = 0;
var _local3 = 0;
while (_local3 < 10) {
var _local4 = 9;
while (_local4 > 0) {
var _local5 = 0;
while (_local5 < 9) {
if (this.foodsArr[_local4][_local3] == 0) {
if (this.foodsArr[_local4 - 1][_local3] != 0) {
_local8++;
}
var _local2 = _local4;
while (_local2 > 0) {
this.foodsArr[_local2][_local3] = this.foodsArr[_local2 - 1][_local3];
this.nameArr[_local2][_local3] = this.nameArr[_local2 - 1][_local3];
this[this.nameArr[_local2 - 1][_local3]].yNumb++;
this[this.nameArr[_local2 - 1][_local3]]._y = this[this.nameArr[_local2 - 1][_local3]]._y + this.bSizeH;
this[this.nameArr[_local2 - 1][_local3]].bubbleSig = true;
_local2--;
}
} else {
break;
}
_local5++;
}
_local4--;
}
_local3++;
}
var _local9 = 0;
var _local7 = 0;
while (_local7 < 10) {
if ((this.foodsArr[9][_local7] == 8) && (this[this.nameArr[9][_local7]].bubbleSig)) {
_local9++;
break;
}
_local7++;
}
if (_local9 > 0) {
_local9 = 0;
var _local6 = 0;
while (_local6 < 10) {
if ((this.foodsArr[9][_local6] == 8) && (this[this.nameArr[9][_local6]].bubbleSig)) {
this[this.nameArr[9][_local6]].MC_innerFood.MC_bubble.gotoAndPlay(2);
this.foodsArr[9][_local6] = 0;
this.nameArr[9][_local6] = 0;
}
_local6++;
}
this.MC_bubbleChk.i = 0;
this.MC_bubbleChk.onEnterFrame = function () {
if (this.i > 10) {
this.i = 0;
this.onEnterFrame = null;
this._parent.downFood();
}
this.i++;
};
if (_local8 > 0) {
this.shakeAllUpDown();
}
} else {
this.initChkSig();
this.comboChk();
if (_local8 > 0) {
this.shakeAllUpDown();
this.tickSnd.start();
}
}
};
MovieClip.prototype.vanish_old = function () {
this.i = 0;
this.gotoAndStop("alarm");
this._parent.MC_player.MC_playerIn.gotoAndStop("mouth");
this.onEnterFrame = function () {
if (!this._parent.isPause) {
if (this.i > 21) {
if (Math.abs(this._x - this._parent.MC_player._x) < 5) {
this._x = this._parent.MC_player._x;
}
if (this._x > this._parent.MC_player._x) {
this._x = this._x - (this._parent.bSizeW / 4);
} else if (this._x < this._parent.MC_player._x) {
this._x = this._x + (this._parent.bSizeW / 4);
} else if (this._y < (this._parent.MC_player._y - 5)) {
this._y = this._y + (this._parent.bSizeH / 4);
} else {
this._parent.removeCnt++;
this._parent.foodsArr[this.yNumb][this.xNumb] = 0;
this._parent.nameArr[this.yNumb][this.xNumb] = 0;
if (this._parent.removeCnt >= this._parent.logCnt) {
this.onEnterFrame = null;
this._parent.MC_player.MC_playerIn.gotoAndStop(1);
trace("\uB0B4\uB824\uBCFC\uAE4C~!!!");
this._parent.downFood();
}
this.removeMovieClip();
}
} else {
this.i++;
if (this.i > 15) {
this.gotoAndStop(1);
this._y = this._y + 2;
}
}
}
};
};
MovieClip.prototype.vanish = function () {
this.myDir = this.startSurvey();
this.i = 0;
this.iz = 0;
this.moveCnt = 0;
this.gotoAndStop("alarm");
this._parent.MC_player.MC_playerIn.gotoAndStop("mouth");
this.xNumbOld = this.xNumb;
this.yNumbOld = this.yNumb;
this.dir = "";
this.onEnterFrame = function () {
if (!this._parent.isPause) {
trace("i= " + this.i);
if (this.i > 21) {
if (this.i == 22) {
this._parent.swallowSnd.stop("swallowSnd");
this._parent.swallowSnd.start(0, this._parent.logCnt);
}
if ((this.i % 2) == 0) {
this.moveCnt++;
this.goX = this.nextX[this.moveCnt - 1];
this.goY = this.nextY[this.moveCnt - 1];
if ((this.goX > this.xNumb) && (this.yNumb < 11)) {
this.dir = "right";
this._x = this._x + (this._parent.moveGapW / 2);
this.xNumb++;
if (this.yNumb == 10) {
this.gotoAndStop("smallView");
}
} else if ((this.goX < this.xNumb) && (this.yNumb < 11)) {
this.dir = "left";
this._x = this._x - (this._parent.moveGapW / 2);
this.xNumb--;
if (this.yNumb == 10) {
this.gotoAndStop("smallView");
}
} else if ((this.goY > this.yNumb) && (this.yNumb < 11)) {
this.dir = "down";
this._y = this._y + (this._parent.moveGapH / 2);
this.yNumb++;
if (this.yNumb == 10) {
this.gotoAndStop("smallView");
}
} else if ((this.goY < this.yNumb) && (this.yNumb < 11)) {
this.dir = "up";
this._y = this._y - (this._parent.moveGapH / 2);
this.yNumb--;
if (this.yNumb == 10) {
this.gotoAndStop("smallView");
}
} else {
trace("\uBA39\uC5B4\uBC84\uB9B4\uAEBC\uC57C~!!!");
this.onEnterFrame = null;
this._parent.removeCnt++;
this._parent.foodsArr[this.yNumbOld][this.xNumbOld] = 0;
this._parent.nameArr[this.yNumbOld][this.xNumbOld] = 0;
if (this._parent.isMission) {
this._parent.addScore(30 + Number(3 * this._parent.comboN));
} else {
this._parent.addScore(3 + Number(3 * this._parent.comboN));
}
if (this._parent.removeCnt >= this._parent.logCnt) {
if (this._parent.isMission) {
this._parent.viewGS(this._parent.removeCnt * (30 + Number(3 * this._parent.comboN)));
} else {
this._parent.viewGS(this._parent.removeCnt * (3 + Number(3 * this._parent.comboN)));
}
this.onEnterFrame = null;
this._parent.isMission = false;
if (this._parent.comboN > 0) {
this._parent.MC_skin.MC_comboTXT.gotoAndPlay(2);
if (this._parent.comboCNR == 0) {
this._parent.comboSnd0.start();
this._parent.comboCNR++;
} else if (this._parent.comboCNR == 1) {
this._parent.comboSnd1.start();
this._parent.comboCNR++;
} else {
this._parent.comboSnd2.start();
this._parent.comboCNR = 0;
}
trace(this._parent.comboN + " \uCF64\uBCF4\uC785\uB2C8\uB2E4~!!!!!!!!");
}
this._parent.MC_player.MC_playerIn.gotoAndStop(1);
trace("\uB0B4\uB824\uBCFC\uAE4C~!!!");
this._parent.downFood();
}
this.removeMovieClip();
}
} else if (this.dir == "right") {
this._x = this._x + (this._parent.moveGapW / 2);
} else if (this.dir == "left") {
this._x = this._x - (this._parent.moveGapW / 2);
} else if (this.dir == "down") {
this._y = this._y + (this._parent.moveGapH / 2);
} else if (this.dir == "up") {
this._y = this._y - (this._parent.moveGapH / 2);
}
} else if (this.i == 15) {
this.gotoAndStop(1);
}
this.i++;
}
};
};
this.comboChk = function () {
var _local2 = 0;
while (_local2 < 10) {
if ((this.foodsArr[9][_local2] != 8) && (this.foodsArr[9][_local2] != 0)) {
if ((this.foodsArr[9][_local2] == this.foodsArr[9][_local2 - 1]) && (this.foodsArr[9][_local2] == this.foodsArr[9][_local2 + 1])) {
this.initChkSig();
this.checkArr = new Array();
this.checkArr.push(this.nameArr[9][_local2]);
this[this.nameArr[9][_local2]].initChk();
this.delayChk(true);
break;
}
if ((this.foodsArr[9][_local2] == this.foodsArr[8][_local2]) && (this.foodsArr[9][_local2] == this.foodsArr[7][_local2])) {
this.initChkSig();
this.checkArr = new Array();
this.checkArr.push(this.nameArr[9][_local2]);
this[this.nameArr[9][_local2]].initChk();
this.delayChk(true);
break;
}
if ((this.foodsArr[9][_local2] == this.foodsArr[9][_local2 - 1]) && (this.foodsArr[9][_local2] == this.foodsArr[8][_local2])) {
this.initChkSig();
this.checkArr = new Array();
this.checkArr.push(this.nameArr[9][_local2]);
this[this.nameArr[9][_local2]].initChk();
this.delayChk(true);
break;
}
if ((this.foodsArr[9][_local2] == this.foodsArr[9][_local2 + 1]) && (this.foodsArr[9][_local2] == this.foodsArr[8][_local2])) {
this.initChkSig();
this.checkArr = new Array();
this.checkArr.push(this.nameArr[9][_local2]);
this[this.nameArr[9][_local2]].initChk();
this.delayChk(true);
break;
}
if ((this.foodsArr[9][_local2] == this.foodsArr[8][_local2 - 1]) && (this.foodsArr[9][_local2] == this.foodsArr[8][_local2])) {
this.initChkSig();
this.checkArr = new Array();
this.checkArr.push(this.nameArr[9][_local2]);
this[this.nameArr[9][_local2]].initChk();
this.delayChk(true);
break;
}
if ((this.foodsArr[9][_local2] == this.foodsArr[8][_local2 + 1]) && (this.foodsArr[9][_local2] == this.foodsArr[8][_local2])) {
this.initChkSig();
this.checkArr = new Array();
this.checkArr.push(this.nameArr[9][_local2]);
this[this.nameArr[9][_local2]].initChk();
this.delayChk(true);
break;
}
trace("cx = " + _local2);
if (_local2 >= 9) {
this.isEating = false;
this.MC_player.passFood();
}
} else if (this.foodsArr[9][_local2] == 0) {
if (_local2 >= 9) {
this.isEating = false;
this.MC_player.passFood();
trace("\uB354 \uC774\uC0C1 \uCF64\uBCF4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.");
}
} else if (_local2 >= 9) {
var _local4 = 0;
var _local3 = 0;
while (_local3 < 10) {
if (this.foodsArr[9][_local3] == 0) {
_local4++;
}
_local3++;
}
if (_local4 >= 10) {
this.MC_player.passFood();
this._parent.isEating = false;
this._parent.allClearSnd.start();
trace("\uC62C\uD074\uB9AC\uC5B4\uC785\uB2C8\uB2E4~!!!");
} else {
this.MC_player.passFood();
this._parent.isEating = false;
trace("\uB354 \uC774\uC0C1 \uCF64\uBCF4\uAC00 \uC5C6\uC2B5\uB2C8\uB2E4.");
}
}
_local2++;
}
};
this.obstacleMovie = function () {
this.obstacleArr = new Array();
this.obstacleNameArr = new Array();
var _local2 = 0;
while (_local2 < 10) {
if (this.myLevel == 1) {
this.obstacleArr.push(random(this.foodCnt - 4) + 1);
} else if (this.myLevel == 2) {
this.obstacleArr.push(random(this.foodCnt - 3) + 1);
} else if (this.myLevel == 3) {
this.obstacleArr.push(random(this.foodCnt - 2) + 1);
} else if (this.myLevel == 4) {
this.obstacleArr.push(random(this.foodCnt - 1) + 1);
} else {
this.obstacleArr.push(random(this.foodCnt) + 1);
}
this.attachMovie("MC_foods", "MC_foods" + this.obstacleN, this.obstacleN);
this["MC_foods" + this.obstacleN].foodID = this.obstacleArr[_local2];
this["MC_foods" + this.obstacleN].xNumb = _local2;
this["MC_foods" + this.obstacleN].yNumb = 0;
this["MC_foods" + this.obstacleN].chkSig = false;
this["MC_foods" + this.obstacleN].bubbleSig = false;
this["MC_foods" + this.obstacleN].MC_innerFood.gotoAndStop(this.obstacleArr[_local2]);
this["MC_foods" + this.obstacleN]._x = Number(this.initX - (Number(10 - _local2) * this.bSizeW));
this["MC_foods" + this.obstacleN]._y = this.initY;
this.obstacleNameArr.push("MC_foods" + this.obstacleN);
this.obstacleN++;
_local2++;
}
this.MC_obstacle.obstacleCnt = 0;
this.MC_obstacle.moveCnt = 0;
this.MC_obstacle.onEnterFrame = function () {
if ((!this._parent.isPause) && (!this._parent.isEating)) {
this.obstacleCnt++;
if (this.obstacleCnt <= 10) {
var _local4 = 0;
while (_local4 < 10) {
this._parent[this._parent.obstacleNameArr[_local4]]._x = this._parent[this._parent.obstacleNameArr[_local4]]._x + this._parent.bSizeW;
_local4++;
}
} else {
var _local2 = 0;
while (_local2 < 10) {
this._parent[this._parent.obstacleNameArr[_local2]].$ax = this._parent[this._parent.obstacleNameArr[_local2]]._x;
_local2++;
}
this.obstacleCnt = 0;
this.moveCnt = 10;
}
if (this.moveCnt >= 10) {
this.moveCnt = 0;
this.onEnterFrame = null;
this.delayCnt = 0;
this.dir = 1;
this.onEnterFrame = function () {
if (((!this._parent.isPause) && (!this._parent.isEating)) && (!this._parent.MC_player.moveSig)) {
if (this.delayCnt > 510) {
this.delayCnt = 0;
this.onEnterFrame = null;
this._parent.dropFoods();
} else if (this.delayCnt > 450) {
if (this.delayCnt == 451) {
this._parent.obstacleShakeSnd.start();
}
if ((this.delayCnt % 3) == 0) {
var _local2 = 0;
while (_local2 < 10) {
this._parent[this._parent.obstacleNameArr[_local2]]._x = this._parent[this._parent.obstacleNameArr[_local2]]._x + (1 * this.dir);
_local2++;
}
this.dir = this.dir * -1;
}
}
}
this.delayCnt++;
};
}
}
};
};
this.dropFoods = function () {
this.MC_player.moveSig = true;
this.MC_obstacle.ix = 0;
this.MC_obstacle.stopCnt = 0;
var _local4 = 0;
while (_local4 < 10) {
this[this.obstacleNameArr[_local4]]._x = this[this.obstacleNameArr[_local4]].$ax;
_local4++;
}
this.dropSnd.start();
this.MC_obstacle.onEnterFrame = function () {
if (!this._parent.isPause) {
var _local2 = 0;
while (_local2 < 10) {
if (this.ix != 0) {
if ((this.ix % 2) == 0) {
if (this._parent.foodsArr[this._parent[this._parent.obstacleNameArr[_local2]].yNumb + 1][this._parent[this._parent.obstacleNameArr[_local2]].xNumb] == 0) {
this._parent[this._parent.obstacleNameArr[_local2]]._y = this._parent[this._parent.obstacleNameArr[_local2]]._y + (this._parent.bSizeH / 2);
this._parent[this._parent.obstacleNameArr[_local2]].yNumb++;
}
} else if (this._parent.foodsArr[this._parent[this._parent.obstacleNameArr[_local2]].yNumb + 1][this._parent[this._parent.obstacleNameArr[_local2]].xNumb] == 0) {
this._parent[this._parent.obstacleNameArr[_local2]]._y = this._parent[this._parent.obstacleNameArr[_local2]]._y + (this._parent.bSizeH / 2);
} else {
if (!this._parent[this._parent.obstacleNameArr[_local2]].dropSig) {
this._parent[this._parent.obstacleNameArr[_local2]].dropSig = true;
this.stopCnt++;
}
this._parent.foodsArr[this._parent[this._parent.obstacleNameArr[_local2]].yNumb][this._parent[this._parent.obstacleNameArr[_local2]].xNumb] = this._parent[this._parent.obstacleNameArr[_local2]].foodID;
this._parent.nameArr[this._parent[this._parent.obstacleNameArr[_local2]].yNumb][this._parent[this._parent.obstacleNameArr[_local2]].xNumb] = this._parent.obstacleNameArr[_local2];
if (this.stopCnt >= 10) {
this.onEnterFrame = null;
this._parent.shakeAllUpDown();
this._parent.tickSnd.start();
this._parent.obstacleDropSnd.start();
this.isOutCnt = 0;
var _local3 = 0;
while (_local3 < 10) {
if (this._parent.foodsArr[0][_local3] != 0) {
this.isOutCnt++;
break;
}
_local3++;
}
if (this.isOutCnt > 0) {
this._parent.gameOverCount();
break;
}
this._parent.chkHurryUp();
this._parent.MC_player.moveSig = false;
this._parent.obstacleMovie();
break;
}
}
} else if (this._parent.foodsArr[this._parent[this._parent.obstacleNameArr[_local2]].yNumb + 1][this._parent[this._parent.obstacleNameArr[_local2]].xNumb] == 0) {
this._parent[this._parent.obstacleNameArr[_local2]]._y = this._parent[this._parent.obstacleNameArr[_local2]]._y + 3;
} else {
if (!this._parent[this._parent.obstacleNameArr[_local2]].dropSig) {
this._parent[this._parent.obstacleNameArr[_local2]].dropSig = true;
this.stopCnt++;
}
this._parent.isPlay = false;
this._parent.MC_player.moveSig = true;
}
_local2++;
}
this.ix++;
}
};
};
MovieClip.prototype.fallOut = function () {
this.readyCnt = random(15) + 3;
this.iCC = 0;
this.hDir = -1;
this.gap = 7;
this.MC_box._visible = false;
this.onEnterFrame = function () {
if (this.readyCnt == 0) {
if (this.hDir < 0) {
this._y = this._y + (this.hDir * this.gap);
this.gap--;
} else {
this._y = this._y + (this.hDir * this.gap);
this.gap++;
}
if (this.iCC == 7) {
this.hDir = this.hDir * -1;
}
this.iCC++;
if (this._y > 320) {
this.onEnterFrame = null;
this._parent.overFoodCnt--;
if (this._parent.overFoodCnt <= 0) {
}
this.removeMovieClip();
}
} else {
this.readyCnt--;
}
};
};
this.gameOverCount = function () {
if (_root.GAMEDEMO == true) {
_root.CallBackInterval();
} else {
this.isPause = true;
this.isPlay = false;
this.MC_player.moveSig = true;
trace("\uAC8C\uC784\uC624\uBC84~!!!");
this[this.$buffFoodName].fallOut();
this.MC_skin.overCnt = 0;
this.MC_skin.onEnterFrame = function () {
if (this.overCnt > 2) {
this.onEnterFrame = null;
var _local3 = 0;
while (_local3 < this._parent.arrSizeH) {
var _local2 = 0;
while (_local2 < this._parent.arrSizeW) {
if (this._parent.nameArr[_local3][_local2] != 0) {
this._parent[this._parent.nameArr[_local3][_local2]].fallOut();
this._parent.overFoodCnt++;
}
_local2++;
}
_local3++;
}
this._parent[this._parent.firstFood].fallOut();
this._parent[this._parent.secondFood].fallOut();
this._parent["MC_foods" + (attachN - 1)].fallOut();
this._parent.fallOutSnd.start();
this._parent.overFoodCnt = 0;
this._parent.MC_skin.MC_hurryUpTXT.gotoAndStop(1);
this._parent.MC_skin.MC_joomma.gotoAndStop(1);
this._parent.MC_skin.MC_gameOverBefore.gotoAndPlay(2);
this._parent.bgMusic.stop("bgMusic");
}
this.overCnt++;
};
}
};
this.attachNew = function () {
this.attachMovie("MC_foods", "MC_foods" + this.attachN, this.attachN);
if ((((this.shootCnt % this.bombCnt) == 0) && (this.shootCnt != 0)) && (this.myLevel >= 3)) {
this["MC_foods" + this.attachN].foodID = 9;
} else if (this.myLevel == 1) {
this["MC_foods" + this.attachN].foodID = random(this.foodCnt - 4) + 1;
} else if (this.myLevel == 2) {
this["MC_foods" + this.attachN].foodID = random(this.foodCnt - 3) + 1;
} else if (this.myLevel == 3) {
this["MC_foods" + this.attachN].foodID = random(this.foodCnt - 2) + 1;
} else {
this["MC_foods" + this.attachN].foodID = random(this.foodCnt - 1) + 1;
}
this["MC_foods" + this.attachN].chkSig = false;
this["MC_foods" + this.attachN].MC_innerFood.gotoAndStop(this["MC_foods" + this.attachN].foodID);
if (this.MC_player.direct == "left") {
this["MC_foods" + this.attachN]._x = this.MC_player._x + this.catXterm;
} else {
this["MC_foods" + this.attachN]._x = this.MC_player._x - this.catXterm;
}
this["MC_foods" + this.attachN]._y = this.MC_player._y + this.catYterm;
this["MC_foods" + this.attachN].gotoAndStop("smallView");
this.secondFood = "MC_foods" + this.attachN;
this.attachN++;
};
this.initAttach = function () {
this.attachMovie("MC_foods", "MC_foods" + this.attachN, this.attachN);
this["MC_foods" + this.attachN].foodID = random(this.foodCnt - 4) + 1;
this["MC_foods" + this.attachN].chkSig = false;
this["MC_foods" + this.attachN].MC_innerFood.gotoAndStop(this["MC_foods" + this.attachN].foodID);
this["MC_foods" + this.attachN]._x = this.MC_player._x;
this["MC_foods" + this.attachN]._y = this.MC_player._y + this.playerYterm;
this["MC_foods" + this.attachN].MC_innerFood.gotoAndStop(this["MC_foods" + this.attachN].foodID);
this.firstFood = "MC_foods" + this.attachN;
this.attachN++;
this.firstFoodEffect();
};
this.restartMission = function () {
this.MC_skin.MC_missionView.onEnterFrame = null;
this.MC_skin.MC_missionView.MC_missionFood._alpha = 100;
this.MC_skin.MC_missionView.gotoAndStop(1);
};
this.startGame = function () {
this.isPlay = true;
this.obstacleMovie();
this.MC_player.MC_counting.gotoAndPlay(2);
this.MC_player.MC_arrow._visible = true;
this.startTimer();
this.firstFoodEffect();
this.bgMusic.start(0, 9999);
this.bgMusic.setVolume(90);
};
this.removeAllMovie = function () {
this[this.firstFood].removeMovieClip();
this[this.secondFood].removeMovieClip();
var _local4 = 0;
while (_local4 < this.obstacleNameArr.length) {
this[this.obstacleNameArr[_local4]].removeMovieClip();
_local4++;
}
var _local3 = 0;
while (_local3 < this.arrSizeH) {
var _local2 = 0;
while (_local2 < this.arrSizeW) {
this[this.nameArr[_local3][_local2]].removeMovieClip();
_local2++;
}
_local3++;
}
};
this.viewGameOver = function () {
this.attachMovie("MC_gameOver", "MC_gameOver", this.gameOverDepth);
this.MC_gameOver._x = this.goX;
this.MC_gameOver._y = this.goY;
this.MC_gameOver.gotoAndPlay(2);
};
this.startTimer = function () {
this.MC_timer.myTime = 0;
this.MC_timer.playingTime = this.MC_timer.myTime;
this.MC_timer.startTime = getTimer();
this.MC_timer.k = 0;
this.MC_timer.pk = 0;
this.MC_timer.onEnterFrame = function () {
if (!this._parent.isPause) {
this.myTime = this.k + (getTimer() - this.startTime);
this.min = Math.floor(Math.floor(this.myTime / 1000) / 60);
this.sec = Math.floor(Math.floor(this.myTime / 1000) % 60);
this.msec = Math.floor((this.myTime % 1000) / 10);
} else {
this.k = Number(this.myTime);
this.startTime = getTimer();
this.pk = Number(this.playingTime);
}
this.playingTime = this.pk + (getTimer() - this.startTime);
this.pMin = Math.floor(Math.floor(this.playingTime / 1000) / 60);
this.pSec = Math.floor(Math.floor(this.playingTime / 1000) % 60);
this.pMsec = Math.floor((this.playingTime % 1000) / 10);
};
};
this.timerReset = function () {
this.MC_timer.k = 0;
this.MC_timer.myTime = 0;
this.MC_timer.min = 0;
this.MC_timer.sec = 0;
this.MC_timer.msec = 0;
};
this.allTimerReset = function () {
this.MC_timer.onEnterFrame = null;
this.timerReset();
delete eval (getTimer());
delete this.MC_timer.startTime;
this.MC_timer.pk = 0;
this.MC_timer.pMin = 0;
this.MC_timer.pSec = 0;
this.MC_timer.pMsec = 0;
this.MC_timer.playingTime = 0;
};
this.pausePlayingTime = function () {
this.MC_skin.MC_pauseDisplayer.MC_pMin.timeView(this.MC_timer.pMin);
this.MC_skin.MC_pauseDisplayer.MC_pSec.timeView(this.MC_timer.pSec);
this.MC_skin.MC_pauseDisplayer.MC_pMsec.timeView(this.MC_timer.pMsec);
};
this.chkHurryUp = function () {
var _local3 = 0;
var _local2 = 0;
while (_local2 < this.arrSizeW) {
if (((this.foodsArr[1][_local2] != 0) && (this.foodsArr[1][_local2] != undefined)) && (this.foodsArr[1][_local2] != null)) {
_local3++;
if (!this.MC_skin.MC_hurryUpTXT.sig) {
this.MC_skin.MC_hurryUpTXT.gotoAndPlay(2);
}
return(true);
}
_local2++;
}
if (_local3 <= 0) {
this.MC_skin.MC_hurryUpTXT.gotoAndStop(1);
}
};
this.endingLocalPos = function () {
this.pos = new Object();
this.pos.x = this.MC_player._x;
trace("\uC774\uC804 = " + this.pos.x);
this.globalToLocal(this.pos);
trace("\uC774\uD6C4 = " + this.pos.x);
return(this.pos.x);
};
this.firstFoodEffect = function () {
var _local3 = 1;
while (_local3 < 10) {
var _local2 = 0;
while (_local2 < 10) {
if (this[this.nameArr[_local3][_local2]].foodID == this[this.firstFood].foodID) {
if (this.myLevel < 6) {
this[this.nameArr[_local3][_local2]].MC_box._visible = true;
}
} else {
this[this.nameArr[_local3][_local2]].MC_box._visible = false;
}
_local2++;
}
_local3++;
}
};
this.firstFoodEffectOff = function () {
var _local3 = 1;
while (_local3 < 10) {
var _local2 = 0;
while (_local2 < 10) {
this[this.nameArr[_local3][_local2]].MC_box._visible = false;
_local2++;
}
_local3++;
}
};
this.shakeAllUpDown = function () {
if (!this.shakeSignal) {
this.shakeSignal = true;
this.dropM.i = 0;
this.dropM.onEnterFrame = function () {
if ((this.i == 0) || (this.i == 2)) {
var _local3 = 0;
while (_local3 < 10) {
var _local2 = 0;
while (_local2 < 10) {
if (this._parent.nameArr[_local3][_local2] != 0) {
this._parent[this._parent.nameArr[_local3][_local2]]._y = this._parent[this._parent.nameArr[_local3][_local2]]._y + 4;
this.i++;
}
_local2++;
}
_local3++;
}
} else {
var _local3 = 0;
while (_local3 < 10) {
var _local2 = 0;
while (_local2 < 10) {
if (this._parent.nameArr[_local3][_local2] != 0) {
this._parent[this._parent.nameArr[_local3][_local2]]._y = this._parent[this._parent.nameArr[_local3][_local2]]._y - 4;
if (this.i >= 3) {
this.onEnterFrame = null;
this._parent.shakeSignal = false;
}
this.i++;
}
_local2++;
}
_local3++;
}
}
};
}
};
this.applyItem = function (meY, meX) {
var _local3 = 0;
while (_local3 < 2) {
var _local2 = -1;
while (_local2 < 2) {
if (((this.nameArr[meY - _local3][meX + _local2] != 0) && (this.nameArr[meY - _local3][meX + _local2] != undefined)) && (this.nameArr[meY - _local3][meX + _local2] != null)) {
this[this.nameArr[meY - _local3][meX + _local2]].MC_innerFood.gotoAndPlay("bang");
this.foodsArr[meY - _local3][meX + _local2] = 0;
this.nameArr[meY - _local3][meX + _local2] = 0;
}
_local2++;
}
_local3++;
}
this.bombSnd.start();
this.shakeAllUpDown();
this.MC_bombTime.i = 0;
this.MC_bombTime.onEnterFrame = function () {
if (this.i > 12) {
this.onEnterFrame = null;
this._parent.isPause = false;
this._parent.isPlay = true;
this._parent.downFood();
}
this.i++;
};
};
this.beginVar();
this.makeArr();
this.attachFoods();
this.MC_skin.MC_startTXT.gotoAndPlay(2);
var i = 0;
while (i < 12) {
trace(this.foodsArr[i]);
i++;
}
trace(this.arrSizeH);
trace(this.arrSizeW);
Instance of Symbol 399 MovieClip "MC_player" in Frame 3
onClipEvent (load) {
this.xNumb = 4;
this.yNumb = 11;
this.direct = "left";
this._x = this._parent.initX + (4 * this._parent.bSizeW);
this._parent.initAttach();
this._parent.attachNew();
}
Instance of Symbol 597 MovieClip "MC_skin" in Frame 3
onClipEvent (load) {
this.swapDepths(1000037);
}
Instance of Symbol 608 MovieClip "gameEndView" in Frame 3
onClipEvent (load) {
this.swapDepths(1000055);
view = function () {
this._visible = 1;
this.nextFrame();
};
}
Frame 4
this.stop();
_quality = "high";
howtomsg.htmlText = "<font color = '#0099ff'><b>[ \uB9DB\uB098\uB9DB\uB098 ]</b></font><font color = '#666666'>\n\n \uBD84\uC2DD(\uC774\uD558 '\uD478\uB4DC')\uC9D1\uC5D0 \uC313\uC5EC\uC788\uB294 \uD478\uB4DC\uB97C \uAC19\uC740 \uD478\uB4DC\uB07C\uB9AC \uC138 \uAC1C \uC774\uC0C1\uC73C\uB85C \uB9CC\uB4E4\uC5B4 \uBA39\uB294 \uAC8C\uC784\uC785\uB2C8\uB2E4. \uC138 \uAC1C \uC774\uC0C1 \uBAA8\uC5EC\uC788\uB294 \uAC19\uC740 \uC885\uB958\uC758 \uD478\uB4DC \uC911 \uCD5C\uC18C\uD55C 1\uAC1C \uC774\uC0C1\uC758 \uD478\uB4DC\uAC00 \uC81C\uC77C \uD558\uB2E8\uC5D0 \uB2FF\uC544\uC788\uC5B4\uC57C \uBA39\uC744 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uBBF8\uC158\uD478\uB4DC\uB97C \uBA39\uAC70\uB098 \uCF64\uBCF4\uAC00 \uB9CE\uC744\uC218\uB85D \uACE0\uB4DD\uC810\uC744 \uC62C\uB9B4 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uD3ED\uD0C4\uC544\uC774\uD15C\uC744 \uC0AC\uC6A9\uD558\uBA74 \uD3ED\uD0C4 \uBC0F \uD3ED\uD0C4\uC758 \uC678\uACFD \uD55C \uC904\uC758 \uD478\uB4DC\uB97C \uC81C\uAC70\uD574\uC8FC\uBBC0\uB85C \uC704\uAE09\uD560 \uB54C \uC0AC\uC6A9\uD558\uC138\uC694.</font><br><br><font color = '#0099ff'>[ \uC870\uC791\uD0A4 ]</font><br><font color = '#666666'>\uC88C\uC6B0\uC774\uB3D9 : \uC88C\uC6B0 \uD654\uC0B4\uD45C\uD0A4<br>\uD478\uB4DC\uAD50\uCCB4 : \uC704 \uD654\uC0B4\uD45C\uD0A4<br>\uD478\uB4DC\uC288\uD305 : \uC2A4\uD398\uC774\uC2A4\uBC14</font> ";
Instance of Symbol 622 MovieClip in Frame 4
onClipEvent (load) {
this._y = 75;
this.y1 = 75;
this.y2 = 208;
txt = this._parent.howtomsg;
this.onEnterFrame = function () {
this._x = 222.5;
this._y = this.y1 + ((this.y2 - this.y1) * ((txt.scroll - 1) / (txt.maxscroll - 1)));
};
}
onClipEvent (mouseDown) {
trace((((((this._x + "_") + this._y) + "_") + this._parent._xmouse) + "_") + this._parent._ymouse);
if (this.hitTest(this._parent._xmouse, this._parent._ymouse)) {
this.startDrag(0, 222.5, this.y1, 222.5, this.y2);
this.onEnterFrame = function () {
this._x = 222.5;
txt.scroll = txt.maxscroll * ((this._y - this.y1) / (this.y2 - this.y1));
trace((txt.maxscroll + "_") + txt.scroll);
};
}
}
onClipEvent (mouseUp) {
this.onEnterFrame = function () {
this._x = 222.5;
this._y = this.y1 + ((this.y2 - this.y1) * ((txt.scroll - 1) / (txt.maxscroll - 1)));
};
this.stopDrag();
}
Instance of Symbol 625 MovieClip in Frame 4
on (release) {
this._parent.howtomsg.scroll--;
}
Instance of Symbol 628 MovieClip in Frame 4
on (release) {
this._parent.howtomsg.scroll++;
}
Frame 7
this.startPoint = _url.indexOf(".");
this.sndPoint = _url.indexOf(":");
if ((_url.substring(this.startPoint + 1, (this.startPoint + 1) + this.comTAG.length) == "cyworld.nate.com") || (_url.substring(this.sndPoint + 1, ((this.sndPoint + 1) + this.comTAG.length) + 2) == "//cyworld.nate.com")) {
trace("\uC990\uAC9C\uD558\uC2DC\uC5B4\uC694...^^");
} else if (((_url.substring(this.startPoint + 1, (this.startPoint + 1) + (this.comTAG.length - 5)) == "cyworld.com") || (_url.substring(this.sndPoint + 1, ((this.sndPoint + 1) + this.comTAG.length) - 3) == "//cyworld.com")) || (_url.substr(0, this.thisGameURL.length) == "http://211.219.154.25")) {
trace("\uC990\uAC9C\uD558\uC2DC\uC5B4\uC694...^^");
} else {
stopAllSounds();
delete this.encodeOb;
this.MC_gameOver.removeMovieClip();
this.removeAllMovie();
this.MC_skin.removeMovieClip();
this.gotoAndStop(1);
}
Frame 8
if ((_url.substring(this.startPoint + 1, (this.startPoint + 1) + this.comTAG.length) == "cyworld.nate.com") || (_url.substring(this.sndPoint + 1, ((this.sndPoint + 1) + this.comTAG.length) + 2) == "//cyworld.nate.com")) {
trace("\uC990\uAC9C\uD558\uC2DC\uC5B4\uC694...^^");
} else if (((_url.substring(this.startPoint + 1, (this.startPoint + 1) + (this.comTAG.length - 5)) == "cyworld.com") || (_url.substring(this.sndPoint + 1, ((this.sndPoint + 1) + this.comTAG.length) - 3) == "//cyworld.com")) || (_url.substr(0, this.thisGameURL.length) == "http://211.219.154.25")) {
trace("\uC990\uAC9C\uD558\uC2DC\uC5B4\uC694...^^");
} else {
stopAllSounds();
delete this.encodeOb;
this.MC_gameOver.removeMovieClip();
this.removeAllMovie();
this.MC_skin.removeMovieClip();
this.gotoAndStop(1);
}
Instance of Symbol 89 MovieClip "s1" in Symbol 95 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Instance of Symbol 89 MovieClip "s10" in Symbol 95 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Instance of Symbol 89 MovieClip "s1" in Symbol 96 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Instance of Symbol 89 MovieClip "s10" in Symbol 96 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Instance of Symbol 89 MovieClip "s100" in Symbol 96 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Instance of Symbol 89 MovieClip "num" in Symbol 97 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Instance of Symbol 95 MovieClip "num" in Symbol 97 MovieClip Frame 2
onClipEvent (load) {
this.stop();
}
Instance of Symbol 96 MovieClip "num" in Symbol 97 MovieClip Frame 3
onClipEvent (load) {
this.stop();
}
Symbol 98 MovieClip [MC_gScoreN] Frame 1
this.stop();
Symbol 98 MovieClip [MC_gScoreN] Frame 2
this.play();
Instance of Symbol 97 MovieClip "MC_gScoreNumb" in Symbol 98 MovieClip [MC_gScoreN] Frame 2
onClipEvent (load) {
function gScoreNView(score) {
if (score < 10) {
this.gotoAndStop(1);
this.num.gotoAndStop(score + 1);
} else if ((score >= 10) && (score < 100)) {
this.gotoAndStop(2);
this.num.s1.gotoAndStop(Math.floor(score % 10) + 1);
this.num.s10.gotoAndStop(Math.floor(score / 10) + 1);
} else {
this.gotoAndStop(3);
this.num.s1.gotoAndStop(Math.floor(score % 10) + 1);
this.num.s10.gotoAndStop(Math.floor((score % 100) / 10) + 1);
this.num.s100.gotoAndStop(Math.floor(score / 100) + 1);
}
}
this.stop();
this.gScoreNView(this._parent.myAddScore);
}
Symbol 98 MovieClip [MC_gScoreN] Frame 77
this.stop();
this.removeMovieClip();
Symbol 104 MovieClip Frame 31
this.gotoAndPlay(1);
Symbol 104 MovieClip Frame 63
this.stop();
Symbol 133 MovieClip Frame 1
this._visible = 0;
stop();
Symbol 141 Button
on (release, keyPress "<Enter>") {
this._parent._parent._parent._parent.mySendScore();
this._parent._visible = false;
}
Symbol 142 MovieClip Frame 1
this.stop();
Instance of Symbol 128 MovieClip "scoreView" in Symbol 144 MovieClip Frame 1
onClipEvent (load) {
function scoreView(score) {
this._parent._visible = 1;
this._parent._parent.isSaving._visible = true;
var s8 = (Math.floor((score % 100000000) / 10000000) + 1);
var s7 = (Math.floor((score % 10000000) / 1000000) + 1);
var s6 = (Math.floor((score % 1000000) / 100000) + 1);
var s5 = (Math.floor((score % 100000) / 10000) + 1);
var s4 = (Math.floor((score % 10000) / 1000) + 1);
var s3 = (Math.floor((score % 1000) / 100) + 1);
var s2 = (Math.floor((score % 100) / 10) + 1);
var s1 = (Math.floor(score % 10) + 1);
if (score > 0) {
snd.start(0, 999);
}
num1.gotoAndStop(1);
num1.play();
num1.onEnterFrame = function () {
if (this._currentframe == (s1 + 1)) {
this.stop();
if (score < 10) {
snd.stop();
}
num2.gotoAndStop(1);
num2.play();
num2.onEnterFrame = function () {
if (this._currentframe == (s2 + 1)) {
this.stop();
if (score < 100) {
snd.stop();
}
num3.gotoAndStop(1);
num3.play();
num3.onEnterFrame = function () {
if (this._currentframe == (s3 + 1)) {
this.stop();
if (score < 1000) {
snd.stop();
}
num4.gotoAndStop(1);
num4.play();
num4.onEnterFrame = function () {
if (this._currentframe == (s4 + 1)) {
trace(1);
this.stop();
if (score < 10000) {
snd.stop();
}
num5.gotoAndStop(1);
num5.play();
num5.onEnterFrame = function () {
if (this._currentframe == (s5 + 1)) {
this.stop();
if (score < 100000) {
snd.stop();
}
num6.gotoAndStop(1);
num6.play();
num6.onEnterFrame = function () {
if (this._currentframe == (s6 + 1)) {
this.stop();
if (score < 1000000) {
snd.stop();
}
num7.gotoAndStop(1);
num7.play();
num7.onEnterFrame = function () {
if (this._currentframe == (s7 + 1)) {
this.stop();
if (score < 10000000) {
snd.stop();
}
num8.gotoAndStop(1);
num8.play();
num8.onEnterFrame = function () {
if (this._currentframe == (s8 + 1)) {
this.stop();
this._parent.snd.stop("dding");
this.onEnterFrame = null;
stopAllSounds();
delete _root.encodeOb;
_root.gotoAndStop("main");
_root.removeAllMovie();
_root.MC_skin.removeMovieClip();
_root.MC_gameOver.removeMovieClip();
}
};
this.onEnterFrame = null;
}
};
this.onEnterFrame = null;
}
};
this.onEnterFrame = null;
}
};
this.onEnterFrame = null;
}
};
this.onEnterFrame = null;
}
};
this.onEnterFrame = null;
}
};
this.onEnterFrame = null;
}
};
}
i = 1;
while (i <= 8) {
this["num" + i].gotoAndStop(1);
i++;
}
snd = new Sound(this);
snd.attachSound("dding");
}
Instance of Symbol 133 MovieClip "scoreItemMovie" in Symbol 144 MovieClip Frame 1
onClipEvent (load) {
view = function () {
trace("item");
if (_root.isItem3 == 1) {
this.gotoAndStop(2);
} else if (_root.isItem4 == 1) {
this.gotoAndStop(3);
} else if (_root.isItem5 == 1) {
this.gotoAndStop(4);
} else {
this._visible = 0;
return(0);
}
this.onEnterFrame = function () {
this.i++;
if (this._i > 6) {
this._visible = 1;
}
if ((this.i >= 6) && (this.i < 12)) {
if ((this.i % 2) == 0) {
this._visible = 0;
} else {
this._visible = 1;
}
} else if (this.i == 24) {
_parent.scoreView.scoreView(_root.score);
this.onEnterFrame = null;
}
};
};
}
Instance of Symbol 143 MovieClip "submitBtn" in Symbol 144 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 152 MovieClip Frame 54
this.stop();
Symbol 153 MovieClip Frame 1
this.stop();
Symbol 153 MovieClip Frame 3
this.stop();
this._parent.finalScoreView.MC_savingSignal.gotoAndPlay("saveOk");
Symbol 153 MovieClip Frame 4
this.stop();
Symbol 179 MovieClip [MC_gameOver] Frame 1
stop();
this.isSaving._visible = false;
this._visible = false;
Instance of Symbol 144 MovieClip "finalScoreView" in Symbol 179 MovieClip [MC_gameOver] Frame 1
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 153 MovieClip "isSaving" in Symbol 179 MovieClip [MC_gameOver] Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 179 MovieClip [MC_gameOver] Frame 2
this.play();
this._visible = true;
this.finalScoreView._visible = true;
Instance of Symbol 175 MovieClip "MC_pMin" in Symbol 179 MovieClip [MC_gameOver] Frame 2
onClipEvent (load) {
function timeView(sec) {
var s2 = Math.floor(Math.floor(sec % 100) / 10);
var s1 = Math.floor(Math.floor(sec % 10));
i = 1;
while (i <= 2) {
this["n" + i].gotoAndStop(eval ("s" + i) + 1);
i++;
}
}
var i = 1;
while (i <= 2) {
this["n" + i].stop();
i++;
}
}
Instance of Symbol 175 MovieClip "MC_pSec" in Symbol 179 MovieClip [MC_gameOver] Frame 2
onClipEvent (load) {
function timeView(sec) {
var s2 = Math.floor(Math.floor(sec % 100) / 10);
var s1 = Math.floor(Math.floor(sec % 10));
i = 1;
while (i <= 2) {
this["n" + i].gotoAndStop(eval ("s" + i) + 1);
i++;
}
}
var i = 1;
while (i <= 2) {
this["n" + i].stop();
i++;
}
}
Instance of Symbol 175 MovieClip "MC_pMsec" in Symbol 179 MovieClip [MC_gameOver] Frame 2
onClipEvent (load) {
function timeView(sec) {
var s2 = Math.floor(Math.floor(sec % 100) / 10);
var s1 = Math.floor(Math.floor(sec % 10));
i = 1;
while (i <= 2) {
this["n" + i].gotoAndStop(eval ("s" + i) + 1);
i++;
}
}
var i = 1;
while (i <= 2) {
this["n" + i].stop();
i++;
}
}
Symbol 179 MovieClip [MC_gameOver] Frame 3
this.MC_pMin.timeView(this._parent.MC_timer.pMin);
this.MC_pSec.timeView(this._parent.MC_timer.pSec);
this.MC_pMsec.timeView(this._parent.MC_timer.pMsec);
Symbol 179 MovieClip [MC_gameOver] Frame 4
this._parent.bgMusic.stop("bgMusic");
Symbol 179 MovieClip [MC_gameOver] Frame 46
stopAllSounds();
this.stop();
this._parent.gameEndView.buffScore = this._parent.score;
if (this._parent.isItem3) {
this._parent.score = this._parent.score * 2;
} else if (this._parent.isItem4) {
this._parent.score = this._parent.score * 3;
} else if (this._parent.isItem5) {
this._parent.score = this._parent.score * 5;
}
this._parent.changeVar("score", 0);
if (this._parent.score <= 0) {
this.finalScoreView.scoreView.scoreView(0);
} else {
this.finalScoreView.scoreView.scoreView(this._parent.score);
}
trace("\uC800\uC7A5\uC810\uC218 = " + this._parent.score);
Symbol 179 MovieClip [MC_gameOver] Frame 56
this.stop();
this._parent.mySendScore();
Symbol 179 MovieClip [MC_gameOver] Frame 103
this.stop();
stopAllSounds();
this._parent.gameEndView.view();
this.removeMovieClip();
Symbol 203 MovieClip Frame 1
this.stop();
Symbol 203 MovieClip Frame 2
this.play();
Symbol 203 MovieClip Frame 8
this.stop();
this.removeMovieClip();
Symbol 209 MovieClip Frame 1
this.stop();
Symbol 209 MovieClip Frame 2
this.play();
this._parent._parent._parent.isPause = true;
this._parent._parent._parent.isPlay = false;
this._parent._parent._parent.MC_player.moveSig = true;
Symbol 209 MovieClip Frame 37
this.stop();
this._parent._parent._parent.applyItem(this._parent._parent.yNumb, this._parent._parent.xNumb);
Symbol 216 MovieClip Frame 1
this.stop();
Symbol 216 MovieClip Frame 2
this.stop();
Symbol 216 MovieClip Frame 3
this.stop();
Symbol 216 MovieClip Frame 4
this.stop();
Symbol 216 MovieClip Frame 5
this.stop();
Symbol 216 MovieClip Frame 6
this.stop();
Symbol 216 MovieClip Frame 7
this.stop();
Symbol 216 MovieClip Frame 8
this.stop();
Symbol 216 MovieClip Frame 9
this.stop();
Symbol 216 MovieClip Frame 20
this.stop();
this._parent.removeMovieClip();
Symbol 253 MovieClip Frame 1
this.stop();
Symbol 253 MovieClip Frame 2
this.stop();
Symbol 253 MovieClip Frame 3
this.stop();
Symbol 253 MovieClip Frame 4
this.stop();
Symbol 253 MovieClip Frame 5
this.stop();
Symbol 253 MovieClip Frame 6
this.stop();
Symbol 253 MovieClip Frame 7
this.stop();
Symbol 253 MovieClip Frame 8
this.stop();
Symbol 253 MovieClip Frame 9
this.stop();
Symbol 270 MovieClip Frame 1
this.stop();
Symbol 270 MovieClip Frame 2
this.stop();
Symbol 270 MovieClip Frame 3
this.stop();
Symbol 270 MovieClip Frame 4
this.stop();
Symbol 270 MovieClip Frame 5
this.stop();
Symbol 270 MovieClip Frame 6
this.stop();
Symbol 270 MovieClip Frame 7
this.stop();
Symbol 270 MovieClip Frame 8
this.stop();
Symbol 270 MovieClip Frame 9
this.stop();
Symbol 271 MovieClip [MC_Foods] Frame 1
this.stop();
Instance of Symbol 216 MovieClip "MC_innerFood" in Symbol 271 MovieClip [MC_Foods] Frame 1
onClipEvent (load) {
this.gotoAndStop(this._parent.foodID);
}
Instance of Symbol 219 MovieClip "MC_box" in Symbol 271 MovieClip [MC_Foods] Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 253 MovieClip "MC_innerFood" in Symbol 271 MovieClip [MC_Foods] Frame 2
onClipEvent (load) {
this.gotoAndStop(this._parent.foodID);
}
Instance of Symbol 216 MovieClip "MC_innerFood" in Symbol 271 MovieClip [MC_Foods] Frame 4
onClipEvent (load) {
this.gotoAndStop(this._parent.foodID);
}
Instance of Symbol 253 MovieClip "MC_innerFood" in Symbol 271 MovieClip [MC_Foods] Frame 6
onClipEvent (load) {
this.gotoAndStop(this._parent.foodID);
}
Instance of Symbol 216 MovieClip "MC_innerFood" in Symbol 271 MovieClip [MC_Foods] Frame 10
onClipEvent (load) {
this.gotoAndStop(this._parent.foodID);
}
Instance of Symbol 270 MovieClip "MC_innerFood" in Symbol 271 MovieClip [MC_Foods] Frame 12
onClipEvent (load) {
this.gotoAndStop(this._parent.foodID);
}
Symbol 271 MovieClip [MC_Foods] Frame 13
this.stop();
this.gotoAndStop("smallView");
Instance of Symbol 216 MovieClip "MC_innerFood" in Symbol 271 MovieClip [MC_Foods] Frame 16
onClipEvent (load) {
this.gotoAndStop(this._parent.foodID);
}
Symbol 271 MovieClip [MC_Foods] Frame 17
this.stop();
this.gotoAndStop(1);
Instance of Symbol 253 MovieClip "MC_innerFood" in Symbol 271 MovieClip [MC_Foods] Frame 18
onClipEvent (load) {
this.gotoAndStop(this._parent.foodID);
}
Instance of Symbol 216 MovieClip "MC_innerFood" in Symbol 271 MovieClip [MC_Foods] Frame 20
onClipEvent (load) {
this.gotoAndStop(this._parent.foodID);
}
Symbol 271 MovieClip [MC_Foods] Frame 21
this.gotoAndPlay("shake");
Symbol 271 MovieClip [MC_Foods] Frame 22
this.stop();
Instance of Symbol 270 MovieClip "MC_innerFood" in Symbol 271 MovieClip [MC_Foods] Frame 22
onClipEvent (load) {
this.gotoAndStop(this._parent.foodID);
}
Symbol 274 MovieClip Frame 1
varObj = new Object();
stringArray = ["q", "w", "z", "d", "j", "r", "h", "p", "b", "m"];
var mix = 0;
while (mix < 37) {
var buffA = random(stringArray.length);
var buffB = random(stringArray.length);
var buffBox = stringArray[buffA];
stringArray[buffA] = stringArray[buffB];
stringArray[buffB] = buffBox;
mix++;
}
varObj.addVars = function (varName, level, initValue) {
level[varName] = 0;
this[varName] = null;
this.encodeVars(varName, level, initValue);
};
varObj.encodeVars = function (varName, level, value) {
if (this[varName] != null) {
level[varName] = Number(this.decodeVars(this[varName]));
} else {
this[varName] = stringArray[0];
}
level[varName] = level[varName] + value;
var _local3 = String(level[varName]);
_local3 = _local3.split("");
var _local4 = "";
var _local2 = 0;
while (_local2 < _local3.length) {
_local4 = _local4 + stringArray[Number(_local3[_local2])];
_local2++;
}
this[varName] = _local4;
};
varObj.decodeVars = function (value) {
var _local3 = value.split("");
var _local4 = "";
var _local2 = 0;
while (_local2 < _local3.length) {
var _local1 = 0;
while (_local1 < stringArray.length) {
if (_local3[_local2] == stringArray[_local1]) {
_local4 = _local4 + String(_local1);
break;
}
_local1++;
}
_local2++;
}
trace("\uB9AC\uD134\uAC12 : " + _local4);
return(_local4);
};
this.stop();
Symbol 288 MovieClip Frame 9
if (_root.getBytesLoaded() >= _root.getBytesTotal()) {
this.loadingBar._x = (((_root.getBytesLoaded() * 100) / _root.getBytesTotal()) * 1.47) + -153.7;
this._parent.gotoAndPlay("loadingOk");
} else {
this.stop();
this.loadingBar.onEnterFrame = function () {
if (_root.getBytesLoaded() >= _root.getBytesTotal()) {
this._parent.gotoAndPlay("loadingOk");
this.onEnterFrame = null;
} else {
this._x = (((_root.getBytesLoaded() * 100) / _root.getBytesTotal()) * 1.47) + -143.7;
}
};
}
Symbol 288 MovieClip Frame 31
this.stop();
this._parent.gotoAndPlay("loading_ok");
Symbol 288 MovieClip Frame 32
Symbol 288 MovieClip Frame 33
Symbol 289 MovieClip Frame 1
this._parent.comTAG = "cyworld.nate.com";
this._parent.thisGameURL = "http://211.219.154.25";
Symbol 289 MovieClip Frame 38
this.stop();
if (Number(_root.userLevel) > 10) {
_root.tempLevel = _root.userLevel.slice(0, 1);
_root.userLevel = _root.userLevel.slice(1, 2);
}
Symbol 289 MovieClip Frame 60
this.stop();
this._parent.play();
Symbol 325 Button
on (release) {
((helpSnd = new Sound(this))).attachSound("helpSnd");
helpSnd.start();
_root.gotoAndStop("guide");
}
Symbol 332 Button
on (release, keyPress "<Enter>") {
stopAllSounds();
_root.startSnd.start();
gotoGamePUBLICUSE();
}
Symbol 350 MovieClip Frame 24
this._parent._parent.moveSig = false;
this._parent.gotoAndStop(1);
Symbol 358 MovieClip Frame 1
this.stop();
Symbol 358 MovieClip Frame 2
this.stop();
Symbol 358 MovieClip Frame 3
this.stop();
Symbol 358 MovieClip Frame 4
this.stop();
Symbol 358 MovieClip Frame 5
this.stop();
Symbol 358 MovieClip Frame 6
this.stop();
this._parent.moveSig = false;
Symbol 370 MovieClip Frame 1
this.stop();
Symbol 370 MovieClip Frame 6
this._parent._parent.attachNew();
Symbol 370 MovieClip Frame 7
this.gotoAndStop(1);
this._parent.moveSig = false;
Symbol 370 MovieClip Frame 8
this.stop();
Symbol 388 MovieClip Frame 1
this.stop();
Symbol 388 MovieClip Frame 2
this.stop();
Symbol 388 MovieClip Frame 3
this.stop();
Symbol 388 MovieClip Frame 4
this.stop();
Symbol 389 MovieClip Frame 1
this.stop();
Symbol 389 MovieClip Frame 2
this.play();
Symbol 389 MovieClip Frame 12
if (this._parent._parent.isPause) {
this.gotoAndPlay(this._currentframe - 1);
}
Symbol 389 MovieClip Frame 24
if (this._parent._parent.isPause) {
this.gotoAndPlay(this._currentframe - 1);
}
Symbol 389 MovieClip Frame 36
if (this._parent._parent.isPause) {
this.gotoAndPlay(this._currentframe - 1);
}
Symbol 389 MovieClip Frame 49
if (this._parent._parent.isPause) {
this.gotoAndPlay(this._currentframe - 1);
}
Symbol 389 MovieClip Frame 62
if (this._parent._parent.isPause) {
this.gotoAndPlay(this._currentframe - 1);
}
Symbol 389 MovieClip Frame 76
if (this._parent._parent.isPause) {
this.gotoAndPlay(this._currentframe - 1);
}
Symbol 389 MovieClip Frame 90
if (this._parent._parent.isPause) {
this.gotoAndPlay(this._currentframe - 1);
}
Symbol 389 MovieClip Frame 106
if (this._parent._parent.isPause) {
this.gotoAndPlay(this._currentframe - 1);
}
Symbol 389 MovieClip Frame 121
if (this._parent._parent.isPause) {
this.gotoAndPlay(this._currentframe - 1);
}
Symbol 389 MovieClip Frame 135
if (this._parent._parent.isPause) {
this.gotoAndPlay(this._currentframe - 1);
}
Symbol 389 MovieClip Frame 150
if (this._parent._parent.isPause) {
this.gotoAndPlay(this._currentframe - 1);
}
Symbol 389 MovieClip Frame 151
this._parent._parent[this._parent._parent.firstFood].gotoAndStop("alarm");
this._parent.MC_playerIn.gotoAndStop("oh");
this.MC_cnt.gotoAndStop(1);
Instance of Symbol 388 MovieClip "MC_cnt" in Symbol 389 MovieClip Frame 151
onClipEvent (load) {
if (this._parent._parent.direct == "right") {
this._xscale = -100;
}
}
Symbol 389 MovieClip Frame 152
this.MC_cnt.gotoAndStop(1);
this._parent._parent.clockSnd.start();
Symbol 389 MovieClip Frame 165
if (this._parent._parent.isPause) {
this.gotoAndPlay(this._currentframe - 1);
}
Symbol 389 MovieClip Frame 180
if (this._parent._parent.isPause) {
this.gotoAndPlay(this._currentframe - 1);
}
Symbol 389 MovieClip Frame 181
this.MC_cnt.gotoAndStop(2);
this._parent._parent.clockSnd.start();
Symbol 389 MovieClip Frame 195
if (this._parent._parent.isPause) {
this.gotoAndPlay(this._currentframe - 1);
}
Symbol 389 MovieClip Frame 210
if (this._parent._parent.isPause) {
this.gotoAndPlay(this._currentframe - 1);
}
Symbol 389 MovieClip Frame 211
this.MC_cnt.gotoAndStop(3);
this._parent._parent.clockSnd.start();
Symbol 389 MovieClip Frame 225
if (this._parent._parent.isPause) {
this.gotoAndPlay(this._currentframe - 1);
}
Symbol 389 MovieClip Frame 240
if (this._parent._parent.isPause) {
this.gotoAndPlay(this._currentframe - 1);
}
Symbol 389 MovieClip Frame 241
this.MC_cnt.gotoAndStop(4);
this._parent._parent.clockSnd.start();
Symbol 389 MovieClip Frame 255
if (this._parent._parent.isPause) {
this.gotoAndPlay(this._currentframe - 1);
}
Symbol 389 MovieClip Frame 269
if (this._parent._parent.isPause || (this._parent._parent.MC_player.moveSig)) {
this.gotoAndPlay(this._currentframe - 1);
}
Symbol 389 MovieClip Frame 270
this.stop();
this.onEnterFrame = function () {
if (!this._parent._parent.MC_player.moveSig) {
this.onEnterFrame = null;
this._parent._parent.shoot();
this.gotoAndStop(1);
}
};
Instance of Symbol 398 MovieClip "MC_arrow" in Symbol 399 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 400 Button
on (keyPress "<Left>") {
if (((!this.isPause) && (this.isPlay)) && (!this.MC_player.moveSig)) {
this.MC_player.moveLeft();
}
}
on (keyPress "<Right>") {
if (((!this.isPause) && (this.isPlay)) && (!this.MC_player.moveSig)) {
this.MC_player.moveRight();
}
}
on (keyPress "<Up>") {
if (((!this.isPause) && (this.isPlay)) && (!this.MC_player.moveSig)) {
this.MC_player.swapFood();
}
}
on (keyPress "<Space>") {
if (((!this.isPause) && (this.isPlay)) && (!this.MC_player.moveSig)) {
if (this.foodsArr[1][this.MC_player.xNumb] == 0) {
this.shoot();
} else {
this.MC_player.moveSig = true;
trace("\uB358\uC9C8 \uC218 \uC5C4\uB530\uC544~\uC544~\uC544~~~!!!");
this.MC_player.MC_playerIn.gotoAndStop("noShoot");
}
}
}
Symbol 401 Button
on (release) {
var i = 0;
while (i < 12) {
trace(this.foodsArr[i]);
i++;
}
trace("=======================");
var is = 0;
while (is < 12) {
trace(this.nameArr[is]);
is++;
}
}
Symbol 404 Button
on (release) {
trace("isPause = " + this.isPause);
trace("isPlay = " + this.isPlay);
trace("moveSig = " + this.MC_player.moveSig);
}
Symbol 424 MovieClip Frame 1
this.stop();
Symbol 424 MovieClip Frame 2
this.play();
Symbol 424 MovieClip Frame 120
this._parent._parent.startGame();
this.gotoAndStop(1);
Instance of Symbol 447 MovieClip "s1" in Symbol 448 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Instance of Symbol 447 MovieClip "s10" in Symbol 448 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Instance of Symbol 447 MovieClip "num" in Symbol 449 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Instance of Symbol 448 MovieClip "num" in Symbol 449 MovieClip Frame 2
onClipEvent (load) {
this.stop();
}
Symbol 450 MovieClip Frame 1
this.stop();
Instance of Symbol 449 MovieClip "MC_comboN" in Symbol 450 MovieClip Frame 1
onClipEvent (load) {
function comboView(combo) {
if (combo < 10) {
this.gotoAndStop(1);
this.num.gotoAndStop(combo + 1);
} else {
this.gotoAndStop(2);
this.num.s1.gotoAndStop(Math.floor(combo % 10) + 1);
this.num.s10.gotoAndStop(Math.floor(combo / 10) + 1);
}
}
this.stop();
}
Symbol 450 MovieClip Frame 2
this.play();
this.MC_comboN.comboView(this._parent._parent.comboN);
Instance of Symbol 449 MovieClip "MC_comboN" in Symbol 450 MovieClip Frame 2
onClipEvent (load) {
function comboView(combo) {
if (combo < 10) {
this.gotoAndStop(1);
this.num.gotoAndStop(combo + 1);
} else {
this.gotoAndStop(2);
this.num.s1.gotoAndStop(Math.floor(combo % 10) + 1);
this.num.s10.gotoAndStop(Math.floor(combo / 10) + 1);
}
}
this.stop();
this.comboView(this._parent._parent._parent.comboN);
}
Symbol 450 MovieClip Frame 25
this.gotoAndStop(1);
Symbol 453 MovieClip Frame 1
this.stop();
Symbol 453 MovieClip Frame 2
this.play();
Symbol 453 MovieClip Frame 57
this.gotoAndStop(1);
Symbol 456 MovieClip Frame 1
this.stop();
Symbol 456 MovieClip Frame 2
this.play();
this._parent._parent.isMission = true;
Symbol 456 MovieClip Frame 63
this.gotoAndStop(1);
Symbol 459 MovieClip Frame 1
this.stop();
Symbol 459 MovieClip Frame 2
this.play();
Symbol 459 MovieClip Frame 57
this._parent.MC_missionWin.gotoAndPlay(2);
Symbol 459 MovieClip Frame 100
this._parent.MC_shutter.gotoAndPlay(2);
Symbol 459 MovieClip Frame 153
Symbol 459 MovieClip Frame 163
this.stop();
Symbol 463 MovieClip Frame 1
this.stop();
this.sig = false;
Symbol 463 MovieClip Frame 2
this.play();
this.sig = true;
Symbol 463 MovieClip Frame 139
this._parent._parent.chkHurryUp();
Symbol 463 MovieClip Frame 166
this.gotoAndPlay("replay");
Symbol 484 MovieClip Frame 27
this.gotoAndPlay("replay");
Symbol 497 MovieClip Frame 16
this.stop();
Symbol 498 MovieClip Frame 67
this.stop();
Symbol 502 MovieClip Frame 1
this.stop();
this.makePos = function () {
this.mPos = new Object();
this.mPos.x = this._parent._parent.MC_Player._x;
this.mPos.y = this._parent._parent.MC_Player._y;
trace("\uC774\uC804 = " + this.mPos.x);
this.globalToLocal(this.mPos);
trace("\uC774\uD6C4 = " + this.mPos.x);
this.MC_ending._x = mPos.x;
if (this._parent._parent.MC_player.direct == "left") {
this.MC_ending._xscale = 100;
} else {
this.MC_ending._xscale = -100;
}
};
Symbol 502 MovieClip Frame 2
this.play();
Instance of Symbol 499 MovieClip "MC_ending" in Symbol 502 MovieClip Frame 9
onClipEvent (load) {
this._x = this._parent.makePos();
trace(this._x);
}
Symbol 502 MovieClip Frame 70
this._parent._parent.viewGameOver();
Symbol 502 MovieClip Frame 122
this.stop();
Symbol 510 Button
on (release, keyPress "p") {
this._parent._parent.isPause = false;
this._parent._parent.reTime();
this._parent.MC_pauseDisplayer._visible = false;
this._parent._parent.sndvolume.setVolume(100);
if (this._parent.MC_startTXT._currentframe > 1) {
this._parent.MC_startTXT.play();
}
if (this._parent.MC_nextStage._currentframe > 1) {
this._parent.MC_nextStage.play();
}
this._parent.pauseG.gotoAndStop(1);
}
Symbol 511 MovieClip Frame 1
this.stop();
this.btn_pauseDisplayer.useHandCursor = false;
Instance of Symbol 175 MovieClip "MC_pMin" in Symbol 511 MovieClip Frame 1
onClipEvent (load) {
function timeView(sec) {
var s2 = Math.floor(Math.floor(sec % 100) / 10);
var s1 = Math.floor(Math.floor(sec % 10));
i = 1;
while (i <= 2) {
this["n" + i].gotoAndStop(eval ("s" + i) + 1);
i++;
}
}
var i = 1;
while (i <= 2) {
this["n" + i].stop();
i++;
}
}
Instance of Symbol 175 MovieClip "MC_pSec" in Symbol 511 MovieClip Frame 1
onClipEvent (load) {
function timeView(sec) {
var s2 = Math.floor(Math.floor(sec % 100) / 10);
var s1 = Math.floor(Math.floor(sec % 10));
i = 1;
while (i <= 2) {
this["n" + i].gotoAndStop(eval ("s" + i) + 1);
i++;
}
}
var i = 1;
while (i <= 2) {
this["n" + i].stop();
i++;
}
}
Instance of Symbol 175 MovieClip "MC_pMsec" in Symbol 511 MovieClip Frame 1
onClipEvent (load) {
function timeView(sec) {
var s2 = Math.floor(Math.floor(sec % 100) / 10);
var s1 = Math.floor(Math.floor(sec % 10));
i = 1;
while (i <= 2) {
this["n" + i].gotoAndStop(eval ("s" + i) + 1);
i++;
}
}
var i = 1;
while (i <= 2) {
this["n" + i].stop();
i++;
}
}
Symbol 518 Button
on (release, keyPress "p") {
if (!this._parent._parent.isPause) {
this._parent._parent.isPause = true;
this._parent._parent.pauseSig = true;
this._parent._parent.pauseTime();
this._parent.MC_pauseDisplayer._visible = true;
this._parent._parent.sndvolume.setVolume(0);
if (this._parent.MC_startTXT._currentframe > 1) {
this._parent.MC_startTXT.stop();
}
this._parent._parent.pausePlayingTime();
this.gotoAndStop(2);
}
}
Symbol 521 Button
on (release, keyPress "p") {
this._parent._parent.isPause = false;
this._parent._parent.reTime();
this._parent.MC_pauseDisplayer._visible = false;
this._parent._parent.sndvolume.setVolume(100);
if (this._parent.MC_startTXT._currentframe > 1) {
this._parent.MC_startTXT.play();
}
if (this._parent.MC_nextStage._currentframe > 1) {
this._parent.MC_nextStage.play();
}
this._parent.pauseG.gotoAndStop(1);
}
Symbol 522 MovieClip Frame 1
this.stop();
Symbol 522 MovieClip Frame 2
this.stop();
Symbol 525 Button
on (release) {
this._parent._parent.sndvolume.setVolume(0);
this.nextFrame();
}
Symbol 529 Button
on (release) {
this._parent._parent.sndvolume.setVolume(100);
this.prevFrame();
}
Symbol 530 MovieClip Frame 1
stop();
Symbol 535 MovieClip Frame 1
this.stop();
this.cnt = 1;
this.missionFN = null;
this.onEnterFrame = function () {
if (!this._parent._parent.isPause) {
if ((this.cnt % 170) == 0) {
this.onEnterFrame = null;
this.gotoAndStop(2);
}
this.cnt++;
}
};
Symbol 535 MovieClip Frame 2
this.stop();
this.i = 0;
if (this._parent._parent.myLevel == 1) {
this.missionFN = random(4) + 1;
} else if (this._parent._parent.myLevel == 2) {
this.missionFN = random(5) + 1;
} else if (this._parent._parent.myLevel == 3) {
this.missionFN = random(6) + 1;
} else {
this.missionFN = random(7) + 1;
}
this.MC_missionFood.MC_innerFood.gotoAndStop(missionFN);
this._parent.MC_joomma.gotoAndStop("view");
this._parent._parent.missionViewSnd.start();
this.dir = -1;
this.onEnterFrame = function () {
if (!this._parent._parent.isPause) {
this.i++;
if (this.i == 70) {
this._parent._parent.jummaSnd.start();
}
if (this.i >= 150) {
this._parent.MC_joomma.gotoAndStop("quickly");
if ((this.i % 3) == 0) {
this.MC_missionFood._alpha = this.MC_missionFood._alpha * this.dir;
}
if (this.i > 210) {
this.MC_missionFood._alpha = 100;
}
if (this.i > 230) {
this.onEnterFrame = null;
this.missionFN = null;
this._parent.MC_joomma.gotoAndStop(1);
this.gotoAndStop(1);
}
}
}
};
Symbol 555 MovieClip Frame 96
this._parent.gotoAndStop(1);
this.gotoAndStop(1);
Symbol 556 MovieClip Frame 1
this.stop();
Symbol 556 MovieClip Frame 2
this.stop();
Symbol 556 MovieClip Frame 3
this.stop();
Symbol 556 MovieClip Frame 4
this.stop();
Instance of Symbol 579 MovieClip "s1" in Symbol 580 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Instance of Symbol 579 MovieClip "s10" in Symbol 580 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Instance of Symbol 579 MovieClip "s1" in Symbol 581 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Instance of Symbol 579 MovieClip "s10" in Symbol 581 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Instance of Symbol 579 MovieClip "s100" in Symbol 581 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Instance of Symbol 579 MovieClip "s10" in Symbol 582 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Instance of Symbol 579 MovieClip "s100" in Symbol 582 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Instance of Symbol 579 MovieClip "s1000" in Symbol 582 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Instance of Symbol 579 MovieClip "s1" in Symbol 582 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Instance of Symbol 579 MovieClip "num" in Symbol 583 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
Instance of Symbol 580 MovieClip "num" in Symbol 583 MovieClip Frame 2
onClipEvent (load) {
this.stop();
}
Instance of Symbol 581 MovieClip "num" in Symbol 583 MovieClip Frame 3
onClipEvent (load) {
this.stop();
}
Instance of Symbol 582 MovieClip "num" in Symbol 583 MovieClip Frame 4
onClipEvent (load) {
this.stop();
}
Symbol 592 MovieClip Frame 1
this.stop();
Symbol 592 MovieClip Frame 2
this.play();
Symbol 592 MovieClip Frame 16
this.stop();
Instance of Symbol 511 MovieClip "MC_pauseDisplayer" in Symbol 597 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 530 MovieClip in Symbol 597 MovieClip Frame 1
onClipEvent (load) {
this._parent._parent.sndvolume = new Sound(this._parent._parent);
if (this._parent._parent.sndvolume.getVolume() > 0) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 578 MovieClip "gScore" in Symbol 597 MovieClip Frame 1
onClipEvent (load) {
function scoreView(score) {
var _local2 = 1;
while (_local2 <= 8) {
this["s" + _local2] = Math.floor((score % Math.pow(10, _local2)) / Math.pow(10, _local2 - 1));
this["n" + _local2].gotoAndStop(this["s" + _local2] + 1);
_local2++;
}
}
var i = 1;
while (i <= 8) {
this["n" + i].stop();
i++;
}
}
Instance of Symbol 583 MovieClip "stgN" in Symbol 597 MovieClip Frame 1
onClipEvent (load) {
function stgView(stg) {
if (stg < 10) {
this.gotoAndStop(1);
this.num.gotoAndStop(stg + 1);
} else if (stg < 100) {
this.gotoAndStop(2);
this.num.s1.gotoAndStop(Math.floor(stg % 10) + 1);
this.num.s10.gotoAndStop(Math.floor(stg / 10) + 1);
} else if (stg < 1000) {
this.gotoAndStop(3);
this.num.s1.gotoAndStop(Math.floor(stg % 10) + 1);
this.num.s10.gotoAndStop(Math.floor((stg % 100) / 10) + 1);
this.num.s100.gotoAndStop(Math.floor(stg / 100) + 1);
} else {
this.gotoAndStop(4);
this.num.s1.gotoAndStop(Math.floor(stg % 10) + 1);
this.num.s10.gotoAndStop(Math.floor((stg % 100) / 10) + 1);
this.num.s100.gotoAndStop(Math.floor((stg % 1000) / 100) + 1);
this.num.s1000.gotoAndStop(Math.floor(stg / 1000) + 1);
}
}
this.stop();
this.ax = this._x;
this.stgView(this._parent._parent.myLevel);
}
Symbol 605 Button
on (release) {
stopAllSounds();
delete this._parent.encodeOb;
this._parent.MC_gameOver.removeMovieClip();
this._parent.removeAllMovie();
this._parent.MC_skin.removeMovieClip();
this._parent.gotoAndStop("main");
removeMovieClip(this);
}
Symbol 608 MovieClip Frame 1
this.stop();
this._visible = 0;
Symbol 608 MovieClip Frame 2
this.use_name = _root.use_name;
this.score = _root.score;
this.ranking = _root.ranking;
this.msg1.htmlText = ((("<b>" + this.use_name) + "\uB2D8</b>\uC758 \uC810\uC218\uB294 <b>") + this.score) + "\uC810</b> \uC785\uB2C8\uB2E4.";
this.msg2.htmlText = ("\uD604\uC7AC\uC21C\uC704 <b>" + this.ranking) + "\uC704</b> \uC785\uB2C8\uB2E4.";
tFormat = new TextFormat();
tFormat.align = "center";
this.msg1.setTextFormat(tFormat);
this.msg2.setTextFormat(tFormat);
Symbol 629 MovieClip Frame 64
this.MC_inP.MC_playerIn.gotoAndStop("shoot");
Symbol 629 MovieClip Frame 78
this.MC_inP.MC_playerIn.gotoAndStop("receive");
Symbol 629 MovieClip Frame 81
this.MC_inP.MC_playerIn.gotoAndStop(1);
Symbol 629 MovieClip Frame 108
this.MC_inP.MC_playerIn.gotoAndStop("receive");
Symbol 629 MovieClip Frame 111
this.MC_inP.MC_playerIn.gotoAndStop(1);
Symbol 629 MovieClip Frame 132
this.MC_inP.MC_playerIn.gotoAndStop("shoot");
Symbol 629 MovieClip Frame 164
this.MC_inP.MC_playerIn.gotoAndStop("mouth");
Symbol 629 MovieClip Frame 192
this.MC_inP.MC_playerIn.gotoAndStop(1);
Symbol 632 Button
on (release, keyPress "<Enter>") {
stopAllSounds();
_root.startSnd.start();
gotoGamePUBLICUSE();
}