Frame 1
_root.demo = 1;
Loading = function () {
this.wid = this.loadingbar.loadingbar._width;
this.per = this._parent.getBytesLoaded() / this._parent.getBytesTotal();
this.loadingbar.loadingbar._x = ((-1 * this.wid) + 1) + (this.per * this.wid);
trace(this.loadingbar.loadingbar._x);
this.percent = Math.floor(this.per * 100) + " %";
if (this.per >= 1) {
this.onEnterFrame = null;
delete this.onEnterFrame;
this.gotoAndPlay("loading complete");
}
};
loadingMovie.onEnterFrame = Loading;
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.secureMovie.SendScore(this.score);
};
this.ScoreSending = function () {
this.sendingResult = "\uC810\uC218 \uC804\uC1A1\uC911";
this.MC_gameOver.isSaving._visible = true;
this.MC_gameOver.isSaving.gotoAndStop("saving");
};
this.ScoreSendingOk = function (use_name, ranking, score) {
this.sendingResult = "\uC810\uC218 \uC804\uC1A1 \uC131\uACF5";
this.ranking = ranking;
this.MC_gameOver.isSaving.gotoAndStop("saveOk");
this.MC_gameOver._visible = true;
this.MC_gameOver.play();
};
this.ScoreSendingFailed = function () {
this.sendingResult = "\uC810\uC218 \uC804\uC1A1 \uC2E4\uD328";
this.MC_gameOver.isSaving.gotoAndStop("saveFailed");
this.MC_gameOver.finalScoreView.submitBtn._visible = true;
this.sendingRetryBtn._visible = 1;
};
var soundOption = 0;
Frame 2
var gameStartTime = getTimer();
allClear_Snd.stop("allClearEnding");
bgm_Snd.stop("bgm");
bonusBgm_Snd = new Sound(bg_Snd);
bonusBgm_Snd.attachSound("bonusBgm_Sound");
bonusBgm_Snd.start(0, 99999);
var pauseOn = true;
stop();
this.setVar("mylife", 6);
this.setVar("score", 0);
Frame 10
_global.SET = {STAGE:1, FPS:40, MAX_TIME:90000, BONUS_CNT:10, GREEN_BEE_SPD:2, GREEN_BEE_INTERVAL:10, RED_BEE_SPD:2, RED_BEE_INTERVAL:20, BONUS_SPD:1.5, SCORE:0, PAUSE_ON:false, BALL_SPD:1.5, BALL_INTERVAL:6, GAME_STOP:false, MALE_SPEED:4.5, FEMALE_ACC:0.8, FEMALE_SPEED:4, PRINCE_SPD:3.6, MY_JUMP_SPEED:0.3, OBJ_SPD:3.6, FINEAPPLE_INTERVAL:[6, 5, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 1, 1, 1, 1, 1, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3], FINEAPPLE_SPEED:[3, 3, 3.5, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3], TOWER:new Array()};
SET.TOWER[0] = ["top", "f2a", "f3b", "f2", "f3b", "f2a", "f3b", "f1", "bottom"];
SET.TOWER[1] = ["top", "f3", "f2a", "f3b", "f2", "f3b", "f2a", "f3b", "f1", "bottom"];
SET.TOWER[2] = ["top", "f3", "f3b", "f2a", "f3b", "f2", "f3b", "f2a", "f3b", "f1", "bottom"];
SET.TOWER[3] = ["top", "f3b", "f3", "f3b", "f2a", "f3b", "f2", "f3b", "f2a", "f3b", "f1", "bottom"];
SET.TOWER[4] = ["gtop", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "gbottom"];
SET.TOWER[5] = ["gtop", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "gbottom"];
SET.TOWER[6] = ["gtop", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "g1a", "gbottom"];
SET.TOWER[7] = ["gtop", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "gbottom"];
SET.TOWER[8] = ["gtop", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "gbottom"];
SET.TOWER[9] = ["gtop", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "gbottom"];
SET.TOWER[10] = ["gtop", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "gbottom"];
SET.TOWER[11] = ["gtop", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "gbottom"];
SET.TOWER[12] = ["gtop", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "gbottom"];
SET.TOWER[13] = ["gtop", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "gbottom"];
SET.TOWER[14] = ["gtop", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "gbottom"];
SET.TOWER[15] = ["gtop", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "g1a", "g1b", "gbottom"];
stageItem1 = new Array();
stageItem2 = new Array();
stageItem3 = new Array();
stageItem4 = new Array();
stageItem5 = new Array();
stageItem6 = new Array();
stageItem7 = new Array();
stageItem8 = new Array();
stageItem9 = new Array();
stageItem10 = new Array();
stageItem11 = new Array();
stageItem12 = new Array();
stageItem13 = new Array();
stageItem14 = new Array();
stageItem15 = new Array();
stageItem16 = new Array();
stageItem1[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
stageItem1[1] = [0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 0];
stageItem1[2] = [0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 0];
stageItem1[3] = [0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 0];
stageItem1[4] = [0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 0];
stageItem1[5] = [0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 0];
stageItem1[6] = [0, 1, 1, 1, 0, 0, 0, 1, 1, 1, 0];
stageItem2[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
stageItem2[1] = [0, 7, 7, 7, 0, 0, 7, 7, 7, 7, 0];
stageItem2[2] = [0, 7, 7, 7, 0, 0, 7, 7, 7, 7, 10];
stageItem2[3] = [10, 7, 7, 7, 0, 10, 7, 7, 7, 7, 0];
stageItem2[4] = [0, 7, 7, 7, 0, 0, 7, 7, 7, 7, 10];
stageItem2[5] = [10, 7, 7, 7, 0, 0, 7, 7, 7, 7, 0];
stageItem2[6] = [0, 7, 7, 7, 0, 10, 7, 7, 7, 7, 0];
stageItem2[7] = [0, 7, 7, 7, 0, 0, 7, 7, 7, 7, 0];
stageItem3[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
stageItem3[1] = [8, 0, 8, 12, 8, 0, 8, 0, 8, 0, 8];
stageItem3[2] = [8, 0, 8, 0, 8, 0, 8, 12, 8, 0, 8];
stageItem3[3] = [8, 0, 8, 0, 8, 0, 8, 12, 8, 0, 8];
stageItem3[4] = [8, 0, 8, 0, 8, 0, 8, 0, 8, 0, 8];
stageItem3[5] = [8, 0, 8, 0, 8, 0, 8, 12, 8, 0, 8];
stageItem3[6] = [8, 0, 8, 0, 8, 0, 8, 0, 8, 0, 8];
stageItem3[7] = [8, 0, 8, 12, 8, 0, 8, 0, 8, 0, 8];
stageItem3[8] = [8, 0, 8, 0, 8, 0, 8, 0, 8, 0, 8];
stageItem4[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
stageItem4[1] = [0, 6, 6, 6, 0, 6, 0, 6, 6, 6, 0];
stageItem4[2] = [10, 6, 6, 6, 0, 6, 0, 6, 6, 6, 10];
stageItem4[3] = [0, 6, 6, 6, 0, 6, 0, 6, 6, 6, 0];
stageItem4[4] = [0, 6, 6, 6, 0, 6, 12, 6, 6, 6, 0];
stageItem4[5] = [0, 6, 6, 6, 0, 6, 12, 6, 6, 6, 0];
stageItem4[6] = [0, 6, 6, 6, 0, 6, 0, 6, 6, 6, 10];
stageItem4[7] = [10, 6, 6, 6, 0, 6, 0, 6, 6, 6, 0];
stageItem4[8] = [0, 6, 6, 6, 0, 6, 12, 6, 6, 6, 10];
stageItem4[9] = [10, 6, 6, 6, 0, 6, 0, 6, 6, 6, 0];
stageItem5[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
stageItem5[1] = [0, 3, 3, 3, 3, 12, 3, 3, 3, 3, 10];
stageItem5[2] = [0, 3, 3, 3, 3, 0, 3, 3, 3, 3, 0];
stageItem5[3] = [10, 3, 3, 3, 3, 0, 3, 3, 3, 3, 0];
stageItem5[4] = [0, 3, 3, 3, 3, 12, 3, 3, 3, 3, 10];
stageItem5[5] = [0, 3, 3, 3, 3, 12, 3, 3, 3, 3, 0];
stageItem5[6] = [10, 3, 3, 3, 3, 0, 3, 3, 3, 3, 0];
stageItem5[7] = [0, 3, 3, 3, 3, 0, 3, 3, 3, 3, 0];
stageItem5[8] = [0, 3, 3, 3, 3, 12, 3, 3, 3, 3, 10];
stageItem5[9] = [0, 3, 3, 3, 3, 0, 3, 3, 3, 3, 0];
stageItem6[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
stageItem6[1] = [4, 4, 4, 4, 12, 12, 4, 4, 4, 4, 10];
stageItem6[2] = [4, 4, 4, 4, 12, 12, 4, 4, 4, 4, 0];
stageItem6[3] = [4, 4, 4, 4, 0, 0, 0, 4, 4, 4, 10];
stageItem6[4] = [4, 4, 4, 4, 12, 12, 4, 4, 4, 4, 0];
stageItem6[5] = [4, 4, 4, 4, 12, 12, 4, 4, 4, 4, 10];
stageItem6[6] = [4, 4, 4, 4, 0, 0, 0, 4, 4, 4, 0];
stageItem6[7] = [4, 4, 4, 4, 12, 12, 4, 4, 4, 4, 10];
stageItem6[8] = [4, 4, 4, 4, 12, 12, 4, 4, 4, 4, 0];
stageItem6[9] = [4, 4, 4, 4, 0, 0, 0, 4, 4, 4, 10];
stageItem7[0] = [10, 2, 2, 2, 2, 0, 2, 2, 12, 2, 2];
stageItem7[1] = [0, 2, 2, 2, 2, 12, 2, 2, 0, 2, 2];
stageItem7[2] = [10, 2, 2, 2, 2, 0, 2, 2, 12, 2, 2];
stageItem7[3] = [0, 2, 2, 2, 2, 12, 2, 2, 0, 2, 2];
stageItem7[4] = [10, 2, 2, 2, 2, 0, 2, 2, 0, 2, 2];
stageItem7[5] = [0, 2, 2, 2, 2, 12, 2, 2, 0, 2, 2];
stageItem7[6] = [10, 2, 2, 2, 2, 0, 2, 2, 0, 2, 2];
stageItem7[7] = [0, 2, 2, 2, 2, 12, 2, 2, 0, 2, 2];
stageItem7[8] = [10, 2, 2, 2, 2, 0, 2, 2, 12, 2, 2];
stageItem7[9] = [0, 2, 2, 2, 2, 12, 2, 2, 0, 2, 2];
stageItem7[10] = [10, 2, 2, 2, 2, 0, 2, 2, 12, 2, 2];
stageItem8[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
stageItem8[1] = [5, 5, 5, 10, 5, 10, 5, 5, 5, 5, 10];
stageItem8[2] = [5, 5, 5, 10, 5, 10, 5, 5, 5, 5, 0];
stageItem8[3] = [5, 5, 5, 12, 12, 12, 5, 5, 5, 5, 10];
stageItem8[4] = [5, 5, 5, 0, 0, 0, 5, 5, 5, 5, 0];
stageItem8[5] = [5, 5, 5, 12, 12, 5, 5, 5, 5, 5, 10];
stageItem8[6] = [5, 5, 5, 0, 0, 0, 5, 5, 5, 5, 0];
stageItem8[7] = [5, 5, 5, 12, 12, 5, 5, 5, 5, 5, 10];
stageItem8[8] = [5, 5, 5, 0, 0, 0, 5, 5, 5, 5, 0];
stageItem8[9] = [5, 5, 5, 12, 12, 5, 5, 5, 5, 5, 10];
stageItem8[10] = [5, 5, 5, 0, 0, 0, 5, 5, 5, 5, 0];
stageItem8[11] = [5, 5, 5, 12, 12, 5, 5, 5, 5, 5, 10];
stageItem9[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
stageItem9[1] = [10, 9, 9, 9, 9, 9, 9, 9, 12, 12, 0];
stageItem9[2] = [0, 12, 12, 9, 9, 9, 9, 9, 9, 9, 10];
stageItem9[3] = [10, 9, 9, 9, 9, 9, 9, 9, 12, 12, 0];
stageItem9[4] = [0, 12, 12, 9, 9, 9, 9, 9, 9, 9, 10];
stageItem9[5] = [10, 9, 9, 9, 9, 9, 9, 9, 12, 12, 0];
stageItem9[6] = [0, 12, 12, 9, 9, 9, 9, 9, 9, 9, 10];
stageItem9[7] = [10, 9, 9, 9, 9, 9, 9, 9, 12, 12, 0];
stageItem9[8] = [0, 12, 12, 9, 9, 9, 9, 9, 9, 9, 10];
stageItem9[9] = [10, 9, 9, 9, 9, 9, 9, 9, 12, 12, 0];
stageItem9[10] = [0, 12, 12, 9, 9, 9, 9, 9, 9, 9, 10];
stageItem9[11] = [10, 9, 9, 9, 9, 9, 9, 9, 12, 12, 0];
stageItem10[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
stageItem10[1] = [9, 9, 0, 9, 9, 9, 9, 0, 9, 9];
stageItem10[2] = [9, 9, 10, 9, 9, 9, 9, 10, 9, 9];
stageItem10[3] = [9, 9, 10, 9, 9, 9, 9, 10, 9, 9];
stageItem10[4] = [9, 9, 10, 9, 9, 9, 9, 10, 9, 9];
stageItem10[5] = [9, 9, 10, 9, 9, 9, 9, 10, 9, 9];
stageItem10[6] = [9, 9, 10, 9, 9, 9, 9, 10, 9, 9];
stageItem10[7] = [9, 9, 10, 9, 9, 9, 9, 10, 9, 9];
stageItem10[8] = [9, 9, 10, 9, 9, 9, 9, 10, 9, 9];
stageItem10[9] = [9, 9, 10, 9, 9, 9, 9, 10, 9, 9];
stageItem10[10] = [9, 9, 10, 9, 9, 9, 9, 10, 9, 9];
stageItem10[11] = [9, 9, 10, 9, 9, 9, 9, 10, 9, 9];
stageItem11[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
stageItem11[1] = [9, 9, 9, 9, 12, 12, 12, 9, 9, 9, 9];
stageItem11[2] = [9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9];
stageItem11[3] = [9, 9, 9, 9, 12, 12, 12, 9, 9, 9, 9];
stageItem11[4] = [9, 9, 9, 9, 12, 12, 12, 9, 9, 9, 9];
stageItem11[5] = [9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9];
stageItem11[6] = [9, 9, 9, 9, 12, 12, 12, 9, 9, 9, 9];
stageItem11[7] = [9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9];
stageItem11[8] = [9, 9, 9, 9, 12, 12, 12, 9, 9, 9, 9];
stageItem11[9] = [9, 9, 9, 9, 12, 12, 12, 9, 9, 9, 9];
stageItem11[10] = [9, 9, 9, 9, 10, 10, 10, 9, 9, 9, 9];
stageItem11[11] = [9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9];
stageItem12[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
stageItem12[1] = [10, 9, 9, 12, 9, 9, 9, 12, 9, 9, 0];
stageItem12[2] = [0, 9, 9, 0, 9, 0, 9, 0, 9, 9, 10];
stageItem12[3] = [10, 9, 9, 12, 9, 9, 9, 12, 9, 9, 0];
stageItem12[4] = [0, 9, 9, 0, 9, 0, 9, 0, 9, 9, 10];
stageItem12[5] = [10, 9, 9, 0, 9, 0, 9, 0, 9, 9, 0];
stageItem12[6] = [0, 9, 9, 0, 9, 10, 9, 0, 9, 9, 10];
stageItem12[7] = [10, 9, 9, 12, 9, 9, 9, 12, 9, 9, 0];
stageItem12[8] = [0, 9, 9, 0, 9, 0, 9, 0, 9, 9, 10];
stageItem12[9] = [10, 9, 9, 12, 9, 9, 9, 12, 9, 9, 0];
stageItem12[10] = [0, 9, 9, 12, 9, 0, 9, 12, 9, 9, 10];
stageItem12[11] = [10, 9, 9, 0, 9, 10, 9, 0, 9, 9, 0];
stageItem13[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
stageItem13[1] = [0, 9, 9, 12, 9, 9, 9, 12, 9, 9, 10];
stageItem13[2] = [10, 9, 9, 12, 9, 9, 9, 12, 9, 9, 0];
stageItem13[3] = [0, 9, 9, 12, 9, 9, 9, 12, 9, 9, 10];
stageItem13[4] = [10, 9, 9, 12, 9, 9, 9, 12, 9, 9, 0];
stageItem13[5] = [0, 9, 9, 0, 9, 9, 9, 0, 9, 9, 10];
stageItem13[6] = [10, 9, 9, 0, 9, 9, 9, 0, 9, 9, 0];
stageItem13[7] = [0, 9, 9, 12, 9, 9, 9, 12, 9, 9, 10];
stageItem13[8] = [10, 9, 9, 12, 9, 9, 9, 12, 9, 9, 0];
stageItem13[9] = [0, 9, 9, 12, 9, 9, 9, 12, 9, 9, 10];
stageItem13[10] = [10, 9, 9, 12, 9, 9, 9, 12, 9, 9, 0];
stageItem13[11] = [0, 9, 9, 12, 9, 9, 9, 12, 9, 9, 10];
stageItem14[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
stageItem14[1] = [9, 9, 9, 9, 10, 9, 10, 9, 9, 9, 9];
stageItem14[2] = [9, 9, 9, 9, 10, 9, 10, 9, 9, 9, 9];
stageItem14[3] = [9, 9, 9, 9, 10, 9, 10, 9, 9, 9, 9];
stageItem14[4] = [9, 9, 9, 9, 12, 12, 12, 9, 9, 9, 9];
stageItem14[5] = [9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9];
stageItem14[6] = [9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9];
stageItem14[7] = [9, 9, 9, 0, 9, 9, 0, 9, 9, 9, 9];
stageItem14[8] = [9, 9, 9, 10, 9, 9, 10, 9, 9, 9, 9];
stageItem14[9] = [9, 9, 9, 10, 9, 9, 10, 9, 9, 9, 9];
stageItem14[10] = [9, 9, 9, 10, 9, 9, 10, 9, 9, 9, 9];
stageItem14[11] = [9, 9, 9, 12, 12, 12, 12, 9, 9, 9, 9];
stageItem15[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
stageItem15[1] = [9, 9, 9, 10, 9, 9, 9, 10, 9, 9, 9];
stageItem15[2] = [9, 9, 9, 10, 9, 9, 9, 10, 9, 9, 9];
stageItem15[3] = [9, 9, 9, 10, 9, 9, 9, 10, 9, 9, 9];
stageItem15[4] = [9, 9, 9, 10, 9, 9, 9, 10, 9, 9, 9];
stageItem15[5] = [9, 9, 9, 10, 9, 9, 9, 10, 9, 9, 9];
stageItem15[6] = [9, 9, 9, 10, 9, 9, 9, 10, 9, 9, 9];
stageItem15[7] = [9, 9, 9, 10, 9, 9, 9, 10, 9, 9, 9];
stageItem15[8] = [9, 9, 9, 12, 12, 12, 12, 12, 9, 9, 9];
stageItem15[9] = [9, 9, 9, 12, 12, 12, 12, 12, 9, 9, 9];
stageItem15[10] = [9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9];
stageItem15[11] = [9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9];
stageItem16[0] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
stageItem16[1] = [11, 11, 12, 12, 11, 11, 11, 12, 12, 11, 11];
stageItem16[2] = [11, 11, 12, 12, 11, 11, 11, 12, 12, 11, 11];
stageItem16[3] = [11, 11, 0, 0, 11, 11, 11, 0, 0, 11, 11];
stageItem16[4] = [11, 11, 12, 12, 11, 11, 11, 12, 12, 11, 11];
stageItem16[5] = [11, 11, 12, 12, 11, 11, 11, 12, 12, 11, 11];
stageItem16[6] = [11, 11, 0, 0, 11, 11, 11, 0, 0, 11, 11];
stageItem16[7] = [11, 11, 12, 12, 11, 11, 11, 12, 12, 11, 11];
stageItem16[8] = [11, 11, 12, 12, 11, 11, 11, 12, 12, 11, 11];
stageItem16[9] = [11, 11, 0, 0, 11, 11, 11, 0, 0, 11, 11];
stageItem16[10] = [11, 11, 12, 12, 11, 11, 11, 12, 12, 11, 11];
stageItem16[11] = [11, 11, 12, 12, 11, 11, 11, 12, 12, 11, 11];
function addScore(me) {
this.changeVar("score", me);
viewScore();
}
function addLife(life) {
this.changeVar("mylife", life);
viewLife();
if (mylife <= 0) {
gameOver();
}
}
function doDamage(mycall) {
if (mylife > 1) {
if (mycall == "MALE") {
addLife(-1);
} else if (mycall == "FEMALE") {
addLife(-1);
} else if (mycall == "VIEW") {
}
} else {
addLife(-1);
viewLife();
gameOver();
}
viewLife();
}
function viewLife() {
life_view_mc.n1.gotoAndStop((mylife % 10) + 1);
life_view_mc.n2.gotoAndStop((Math.floor(mylife / 10) % 10) + 1);
}
function viewStage() {
var _local2 = SET.STAGE % 10;
var _local3 = Math.floor(SET.STAGE / 10) % 10;
this.stage_view_mc.n1.gotoAndStop(_local2 + 1);
this.stage_view_mc.n2.gotoAndStop(_local3 + 1);
if (SET.STAGE < 10) {
this.stage_view_mc.n2._visible = false;
}
}
function viewScore() {
var _local8 = score % 10;
var _local7 = Math.floor(score / 10) % 10;
var _local6 = Math.floor(score / 100) % 10;
var _local5 = Math.floor(score / 1000) % 10;
var _local4 = Math.floor(score / 10000) % 10;
var _local3 = Math.floor(score / 100000) % 10;
var _local2 = Math.floor(score / 1000000) % 10;
this.score_view_mc.n1.gotoAndStop(_local8 + 1);
this.score_view_mc.n2.gotoAndStop(_local7 + 1);
this.score_view_mc.n3.gotoAndStop(_local6 + 1);
this.score_view_mc.n4.gotoAndStop(_local5 + 1);
this.score_view_mc.n5.gotoAndStop(_local4 + 1);
this.score_view_mc.n6.gotoAndStop(_local3 + 1);
this.score_view_mc.n7.gotoAndStop(_local2 + 1);
}
function gameOver() {
pauseOn = false;
hurryUp_Snd.stop("hurryup_Sound");
ending_Snd.start();
this.body_mc.buildTower_mc.myMonkey.gotoAndStop("FAIL");
this.body_mc.buildTower_mc.princess.gotoAndStop("FAIL");
SET.GAME_STOP = true;
bgm_Snd.stop("bgm");
this.gameOverCount();
trace("GAME OVER");
}
function allGameOver() {
pauseOn = false;
hurryUp_Snd.stop("hurryup_Sound");
this.gameOverCount();
trace("ALL STAGE CLEAR");
}
function allGameSuccess() {
pauseOn = false;
var _local1 = attachMovie("AGS", "AGS", 2999);
_local1._x = 70;
_local1._y = 130;
}
function pauseWin() {
if (!SET.PAUSE_ON) {
if (soundOnOff_mc.sndViewVar == 1) {
this.myJump_Snd.setVolume(0);
} else if (soundOnOff_mc.sndViewVar == 2) {
}
SET.PAUSE_ON = true;
var _local2 = this.pause_win.attachMovie("pausewin", "pausewin2", 9995);
_local2._x = 0;
_local2._y = 0;
} else {
if (soundOnOff_mc.sndViewVar == 1) {
myJump_Snd.setVolume(100);
} else if (soundOnOff_mc.sndViewVar == 2) {
myJump_Snd.setVolume(100);
bgm_Snd.setVolume(0);
} else {
myJump_Snd.setVolume(0);
}
SET.PAUSE_ON = false;
this.pause_mc.gotoAndStop(1);
this.pause_win.pausewin2.removeMovieClip();
}
}
function eatItem(sX, sY, itemKind) {
itemCnt--;
eatCnt++;
if (itemCnt > 0) {
var scoreMc = this.emptyMc.attachMovie("myScore_set", "myScore_set" + levelSet, 9600 + levelSet);
scoreMc._x = sX;
scoreMc._y = sY;
if (itemKind == "FOOD") {
if (comboCnt < 7) {
eval ("combo" + comboCnt).start();
eval ("combo" + comboCnt).setVolume(40);
} else {
combo6.start();
combo6.setVolume(40);
}
scoreMc.myScore = (10 * SET.STAGE) + (Math.pow(2, comboCnt) * 10);
addScore(scoreMc.myScore);
}
} else {
SET.GAME_STOP = true;
stageClear();
}
}
function nextStage() {
if ((SET.STAGE % 2) == 0) {
this.gotoAndPlay("BONUSGAME");
} else {
SET.STAGE++;
this.gotoAndPlay("START");
}
}
function stageClear() {
hurryUp_Snd.stop("hurryup_Sound");
pauseOn = false;
if (SET.STAGE < 16) {
bgm_Snd.stop("bgm");
SET.GAME_STOP = true;
this.body_mc.buildTower_mc.twr_0.king.gotoAndStop("FAIL");
this.body_mc.buildTower_mc.myMonkey.gotoAndStop("SUCCESS");
this.body_mc.buildTower_mc.princess.gotoAndStop("SUCCESS");
if (eatCnt == allCnt) {
var _local2 = attachMovie("congratulation", "congratulation", 2999);
_local2._x = 70;
_local2._y = 130;
} else {
stageClearMessage();
}
} else {
allGameSuccess();
}
}
function stageClearMessage() {
stageClear_mc.gotoAndPlay(2);
var _local2 = this.stageChange.attachMovie("stageClear", "stageClear_", 15001);
_local2._x = 0;
_local2._y = 0;
}
function setBg() {
this.bg1.gotoAndStop(SET.STAGE);
this.bg2.gotoAndStop(SET.STAGE);
this.bg3.gotoAndStop(SET.STAGE);
}
function readStart() {
var _local2 = this.emptyMc.attachMovie("ready", "ready", 15000);
_local2._x = 134;
_local2._y = 137;
}
function bonusStart() {
var _local2 = this.emptyMc.attachMovie("bonus_ready", "ready", 15000);
_local2._x = 134;
_local2._y = 137;
}
function buildTower() {
var towerHeight = 0;
var i = 0;
while (i < SET.TOWER[SET.STAGE - 1].length) {
var twr = this.body_mc.buildTower_mc.attachMovie(SET.TOWER[SET.STAGE - 1][i], "twr_" + i, 5000 + i);
twr._x = -1;
twr._y = towerHeight;
if (i == 0) {
towerHeight = towerHeight + 52;
} else if (i == (SET.TOWER[SET.STAGE - 1].length - 1)) {
var monkey_ = this.body_mc.buildTower_mc.attachMovie("myMonkey", "myMonkey", 5511);
monkey_._x = 50;
monkey_._y = towerHeight - 12;
var princess_ = this.body_mc.buildTower_mc.attachMovie("princess", "princess", 5510);
princess_._x = 30;
princess_._y = towerHeight - 12;
} else {
if (i > 1) {
var a = 0;
while (a < 11) {
switch (eval ("stageItem" + SET.STAGE)[i - 1][a]) {
case 0 :
break;
case 1 :
var banana_ = this.body_mc.buildTower_mc.attachMovie("banana", "banana" + (a + ((i - 1) * 100)), (7000 + a) + ((i - 2) * 100));
banana_._y = towerHeight - 4;
banana_._x = 18 + (36 * a);
banana_.myFloor = SET.TOWER[SET.STAGE - 1].length - i;
allCnt++;
itemCnt++;
break;
case 2 :
var banana_ = this.body_mc.buildTower_mc.attachMovie("banana", "banana" + (a + ((i - 1) * 100)), (7000 + a) + ((i - 2) * 100));
banana_.gotoAndStop(2);
banana_._y = towerHeight - 4;
banana_._x = 18 + (36 * a);
banana_.myFloor = SET.TOWER[SET.STAGE - 1].length - i;
allCnt++;
itemCnt++;
break;
case 3 :
var banana_ = this.body_mc.buildTower_mc.attachMovie("banana", "banana" + (a + ((i - 1) * 100)), (7000 + a) + ((i - 2) * 100));
banana_.gotoAndStop(3);
banana_._y = towerHeight - 4;
banana_._x = 18 + (36 * a);
banana_.myFloor = SET.TOWER[SET.STAGE - 1].length - i;
itemCnt++;
break;
case 4 :
var banana_ = this.body_mc.buildTower_mc.attachMovie("banana", "banana" + (a + ((i - 1) * 100)), (7000 + a) + ((i - 2) * 100));
banana_.gotoAndStop(4);
banana_._y = towerHeight - 4;
banana_._x = 18 + (36 * a);
banana_.myFloor = SET.TOWER[SET.STAGE - 1].length - i;
allCnt++;
itemCnt++;
break;
case 5 :
var banana_ = this.body_mc.buildTower_mc.attachMovie("banana", "banana" + (a + ((i - 1) * 100)), (7000 + a) + ((i - 2) * 100));
banana_.gotoAndStop(5);
banana_._y = towerHeight - 4;
banana_._x = 18 + (36 * a);
banana_.myFloor = SET.TOWER[SET.STAGE - 1].length - i;
allCnt++;
itemCnt++;
break;
case 6 :
var banana_ = this.body_mc.buildTower_mc.attachMovie("banana", "banana" + (a + ((i - 1) * 100)), (7000 + a) + ((i - 2) * 100));
banana_.gotoAndStop(6);
banana_._y = towerHeight - 4;
banana_._x = 18 + (36 * a);
banana_.myFloor = SET.TOWER[SET.STAGE - 1].length - i;
allCnt++;
itemCnt++;
break;
case 7 :
var banana_ = this.body_mc.buildTower_mc.attachMovie("banana", "banana" + (a + ((i - 1) * 100)), (7000 + a) + ((i - 2) * 100));
banana_.gotoAndStop(7);
banana_._y = towerHeight - 4;
banana_._x = 18 + (36 * a);
banana_.myFloor = SET.TOWER[SET.STAGE - 1].length - i;
allCnt++;
itemCnt++;
break;
case 8 :
var banana_ = this.body_mc.buildTower_mc.attachMovie("banana", "banana" + (a + ((i - 1) * 100)), (7000 + a) + ((i - 2) * 100));
banana_.gotoAndStop(8);
banana_._y = towerHeight - 4;
banana_._x = 18 + (36 * a);
banana_.myFloor = SET.TOWER[SET.STAGE - 1].length - i;
allCnt++;
itemCnt++;
break;
case 9 :
var banana_ = this.body_mc.buildTower_mc.attachMovie("banana", "banana" + (a + ((i - 1) * 100)), (7000 + a) + ((i - 2) * 100));
banana_.gotoAndStop(9);
banana_._y = towerHeight - 4;
banana_._x = 18 + (36 * a);
banana_.myFloor = SET.TOWER[SET.STAGE - 1].length - i;
allCnt++;
itemCnt++;
break;
case 10 :
var banana_ = this.body_mc.buildTower_mc.attachMovie("tack", "tack" + (a + ((i - 1) * 100)), (7000 + a) + ((i - 2) * 100));
banana_._y = towerHeight - 4;
banana_._x = 18 + (36 * a);
banana_.myFloor = SET.TOWER[SET.STAGE - 1].length - i;
break;
case 11 :
var banana_ = this.body_mc.buildTower_mc.attachMovie("banana", "banana" + (a + ((i - 1) * 100)), (7000 + a) + ((i - 2) * 100));
banana_.gotoAndStop(10);
banana_._y = towerHeight - 4;
banana_._x = 18 + (36 * a);
banana_.myFloor = SET.TOWER[SET.STAGE - 1].length - i;
allCnt++;
itemCnt++;
break;
case 12 :
var banana_ = this.body_mc.buildTower_mc.attachMovie("press", "press" + (a + ((i - 1) * 100)), (7000 + a) + ((i - 2) * 100));
banana_._y = towerHeight;
banana_._x = 18 + (36 * a);
banana_.myFloor = SET.TOWER[SET.STAGE - 1].length - i;
break;
default :
trace("** item Set Error !!!");
}
a++;
}
}
towerHeight = towerHeight + 60;
}
i++;
}
}
function buildTower_Down() {
this.createEmptyMovieClip("control", 5501);
control.onEnterFrame = function () {
var _local2 = (-(body_mc.buildTower_mc._height - 300)) - body_mc.buildTower_mc._y;
body_mc.buildTower_mc._y = body_mc.buildTower_mc._y + (0.1 * _local2);
if (Math.abs(_local2) <= 1) {
body_mc.buildTower_mc._y = (-(body_mc.buildTower_mc._height - 300)) + 1;
this.removeMovieClip();
}
};
}
function upFloor() {
upBg();
this.createEmptyMovieClip("control", 5501);
var tmp_y = (body_mc.buildTower_mc._y + 60);
control.onEnterFrame = function () {
var _local2 = tmp_y - body_mc.buildTower_mc._y;
body_mc.buildTower_mc._y = body_mc.buildTower_mc._y + (0.2 * _local2);
if (Math.abs(_local2) <= 1) {
body_mc.buildTower_mc._y = tmp_y;
this.removeMovieClip();
}
};
}
function downFloor() {
downBg();
this.createEmptyMovieClip("control", 5501);
var tmp_y = (body_mc.buildTower_mc._y - 60);
control.onEnterFrame = function () {
var _local2 = tmp_y - body_mc.buildTower_mc._y;
body_mc.buildTower_mc._y = body_mc.buildTower_mc._y + (0.2 * _local2);
if (Math.abs(_local2) <= 1) {
body_mc.buildTower_mc._y = tmp_y;
this.removeMovieClip();
}
};
}
function upBg() {
var tmp_bg1 = (bg1._y + 20);
var tmp_bg2 = (bg2._y + 12);
var tmp_bg3 = (bg3._y + 5);
var _local5 = 0;
var _local7 = 0;
var _local6 = 0;
this.createEmptyMovieClip("control2", 5503);
control2.onEnterFrame = function () {
var _local2 = tmp_bg1 - bg1._y;
var _local3 = tmp_bg2 - bg2._y;
var _local4 = tmp_bg3 - bg3._y;
bg1._y = bg1._y + (0.2 * _local2);
bg2._y = bg2._y + (0.2 * _local3);
bg3._y = bg3._y + (0.2 * _local4);
if (Math.abs(_local2) <= 1) {
bg1._y = tmp_bg1;
bg2._y = tmp_bg2;
bg3._y = tmp_bg3;
this.removeMovieClip();
}
};
}
function downBg() {
var tmp_bg1 = (bg1._y - 20);
var tmp_bg2 = (bg2._y - 12);
var tmp_bg3 = (bg3._y - 5);
var _local5 = 0;
var _local7 = 0;
var _local6 = 0;
this.createEmptyMovieClip("control2", 5503);
control2.onEnterFrame = function () {
var _local2 = tmp_bg1 - bg1._y;
var _local3 = tmp_bg2 - bg2._y;
var _local4 = tmp_bg3 - bg3._y;
bg1._y = bg1._y + (0.2 * _local2);
bg2._y = bg2._y + (0.2 * _local3);
bg3._y = bg3._y + (0.2 * _local4);
if (Math.abs(_local2) <= 1) {
bg1._y = tmp_bg1;
bg2._y = tmp_bg2;
bg3._y = tmp_bg3;
this.removeMovieClip();
}
};
}
function doTimer() {
startTime = getTimer();
bonusTime = 0;
gapTime = 0;
if ((!SET.PAUSE_ON) && (!SET.GAME_STOP)) {
timerFunc();
}
}
function timerFunc() {
this.time_view_mc.onEnterFrame = function () {
if ((!SET.PAUSE_ON) && (!SET.GAME_STOP)) {
if (gapTimeStart != 0) {
gapTimeEnd = getTimer();
gapTime = gapTime + (gapTimeEnd - gapTimeStart);
gapTimeStart = 0;
}
thisTime = getTimer() - ((startTime + gapTime) + bonusTime);
var _local1 = SET.MAX_TIME - thisTime;
viewTimer(_local1);
} else if (gapTimeStart == 0) {
gapTimeStart = getTimer();
}
};
}
function viewTimer(myTime) {
if (myTime > 0) {
if (myTime < 10000) {
if (!sndOn) {
hurryUp_Snd.stop("hurryup_Sound");
hurryUp_Snd.start(0, 50);
this.time_view_mc.gotoAndPlay(2);
sndOn = true;
}
}
if (myTime < 5000) {
if ((myTime % 2) == 0) {
this.time_view_mc._alpha = 20;
} else {
this.time_view_mc._alpha = 100;
}
}
} else {
this.time_view_mc._alpha = 100;
time_view_mc.n1.gotoAndStop(1);
time_view_mc.n2.gotoAndStop(1);
time_view_mc.n3.gotoAndStop(1);
time_view_mc.n4.gotoAndStop(1);
SET.GAME_STOP = true;
gameOver();
}
var _local6 = Math.floor(myTime / 10) % 10;
var _local5 = Math.floor(myTime / 100) % 10;
var _local4 = Math.floor(myTime / 1000) % 10;
var _local3 = Math.floor(myTime / 10000);
time_view_mc.n1.gotoAndStop(_local6 + 1);
time_view_mc.n2.gotoAndStop(_local5 + 1);
time_view_mc.n3.gotoAndStop(_local4 + 1);
time_view_mc.n4.gotoAndStop(_local3 + 1);
}
var missCnt = 0;
this.gameOverCount = function () {
this.attachMovie("MC_gameOver", "MC_gameOver", 100003);
this.MC_gameOver._x = 200;
this.MC_gameOver._y = 150;
this.MC_gameOver.gotoAndPlay(2);
};
var gapTimeStart = 0;
var gapTimeEnd = 0;
var sndOn = false;
bonusBgm_Snd.stop("bonusBgm_Sound");
this.createEmptyMovieClip("bg_Snd", 99);
this.createEmptyMovieClip("combo_Snd", 98);
bgm_Snd = new Sound(bg_Snd);
bgm_Snd.attachSound("bgm");
ending_Snd = new Sound(bg_Snd);
ending_Snd.attachSound("ending");
myJump_Snd = new Sound(this);
myJump_Snd.attachSound("jump_sound");
combo1 = new Sound(combo_Snd);
combo1.attachSound("combo01");
combo2 = new Sound(combo_Snd);
combo2.attachSound("combo02");
combo3 = new Sound(combo_Snd);
combo3.attachSound("combo03");
combo4 = new Sound(combo_Snd);
combo4.attachSound("combo04");
combo5 = new Sound(combo_Snd);
combo5.attachSound("combo05");
combo6 = new Sound(combo_Snd);
combo6.attachSound("combo06");
dding_Snd = new Sound(this);
dding_Snd.attachSound("dding_Sound");
aho_Snd = new Sound(this);
aho_Snd.attachSound("female_aho");
princeDDing_Snd = new Sound(this);
princeDDing_Snd.attachSound("prince_dding");
felmaleJump_Snd = new Sound(this);
felmaleJump_Snd.attachSound("femalejump_Sound");
theFly_Snd = new Sound(this);
theFly_Snd.attachSound("hurryup_Sound");
theFly_Snd = new Sound(this);
theFly_Snd.attachSound("thefly_Sound");
perfect_Snd = new Sound(this);
perfect_Snd.attachSound("finishLine");
board_Snd = new Sound(this);
board_Snd.attachSound("board_Sound");
allClear_Snd = new Sound(this);
allClear_Snd.attachSound("allClearEnding");
drum_Snd = new Sound(this);
drum_Snd.attachSound("drum_Sound");
start_Snd = new Sound(this);
start_Snd.attachSound("start_Sound");
drip_Snd = new Sound(this);
drip_Snd.attachSound("drip");
lifeUp_Snd = new Sound(this);
lifeUp_Snd.attachSound("lifeup_Sound");
if (soundOption != 0) {
this.soundOnOff_mc.gotoAndStop(soundOption);
this.soundOnOff_mc.snd_.gotoAndStop(soundOption);
this.soundOnOff_mc.sndViewVar = soundOption;
}
switch (soundOption) {
case 0 :
trace("\uC0AC\uC6B4\uB4DC \uCD08\uAE30\uC14B");
break;
case 1 :
this._parent.bgm_Snd.setVolume(100);
this._parent.myJump_Snd.setVolume(100);
break;
case 2 :
this._parent.bgm_Snd.setVolume(0);
this._parent.myJump_Snd.setVolume(100);
break;
case 3 :
this._parent.bgm_Snd.setVolume(0);
this._parent.myJump_Snd.setVolume(0);
break;
default :
trace("sound reset Error!!");
}
Frame 11
var levelSet = 0;
var comboCnt = 0;
var itemCnt = 0;
var eatCnt = 0;
var allCnt = 0;
var startTime;
var bonusTime = 0;
var gapTime = 0;
var thisTime = 0;
var mousePause = false;
sndOn = false;
gapTimeStart = 0;
gapTimeEnd = 0;
missCnt = 0;
viewTimer(SET.MAX_TIME);
setBg();
SET.GAME_STOP = true;
readStart();
buildTower();
viewLife();
viewScore();
viewStage();
this.stop();
Frame 12
this.gotoAndStop("G");
Frame 13
this.gotoAndStop("G");
Frame 14
this.gotoAndStop("G");
Frame 15
this.gotoAndStop("G");
Frame 16
this.gotoAndStop("G");
Frame 17
this.gotoAndStop("G");
Frame 18
this.gotoAndStop("G");
Frame 19
this.gotoAndStop("G");
Frame 20
this.gotoAndStop("G");
Frame 21
this.gotoAndStop("G");
Frame 22
this.stop();
function bonusStage() {
this.health.onEnterFrame = function () {
if ((!SET.PAUSE_ON) && (!SET.GAME_STOP)) {
if (bonusAllCnt == SET.BONUS_CNT) {
bonusGameOver();
}
if (((b1._x <= -200) && (b1._x >= -201)) || ((b2._x <= -200) && (b2._x >= -201))) {
if (bonusCnt < SET.BONUS_CNT) {
if (whereLife != bonusCnt) {
trace("gg");
bm = bonus_mc.attachMovie("bonus_banana", "bonus_banana" + bonusCnt, 2000 + bonusCnt);
} else {
bm = bonus_mc.attachMovie("bonus_life", "bonus_life" + bonusCnt, 2000 + bonusCnt);
}
bm._x = 400;
bm._y = 100;
bonusCnt++;
}
}
if ((b1._x > -399) && (b2._x > -399)) {
b1._x = b1._x - 2;
b2._x = b2._x - 2;
} else if (b1._x <= -399) {
b1._x = 399;
} else if (b2._x <= -399) {
b2._x = 399;
}
if ((v1._x > -399) && (v2._x > -399)) {
v1._x = v1._x - 1;
v2._x = v2._x - 1;
} else if (v1._x <= -399) {
v1._x = 399;
} else if (v2._x <= -399) {
v2._x = 399;
}
}
if (SET.STAGE > 5) {
if (Cnt >= 400) {
theFly_Snd.start();
var _local3 = emptyMc.attachMovie("bonus_greenbee", "greenBee_" + Cnt, 11000 + Cnt);
var _local2 = Math.floor(Math.random() * 2);
if (_local2 == 0) {
_local2 = 37;
} else {
_local2 = 7;
}
_local3._y = 100 + _local2;
_local3.myFloor = _parent.myMonkey.myFloor;
_local3._x = 400;
_local3.myVector = "LEFT";
Cnt = 0;
} else {
Cnt++;
}
}
};
}
function bonusGameFail() {
pauseOn = false;
bonusBgm_Snd.stop("bonusBgm_Sound");
SET.GAME_STOP = true;
m1.gotoAndStop("FAIL");
m2.gotoAndStop("FAIL");
m3.gotoAndStop("FAIL");
bonusStageClear_();
}
function bonusGameOver() {
pauseOn = false;
bonusBgm_Snd.stop("bonusBgm_Sound");
SET.GAME_STOP = true;
m1.gotoAndStop("END");
m2.gotoAndStop("END");
m3.gotoAndStop("END");
bonusStageClear_();
}
function bonusStageClear_() {
pauseOn = false;
bonusBgm_Snd.stop("bonusBgm_Sound");
if (bonusClearCnt >= SET.BONUS_CNT) {
var _local1 = attachMovie("congratulation2", "congratulation2", 2999);
_local1._x = 70;
_local1._y = 130;
} else {
bonusStageClearMessage();
}
}
function bonusStageClearMessage() {
pauseOn = false;
var _local2 = this.stageChange.attachMovie("bonusStageClear", "bonusStageClear", 15001);
_local2._x = 0;
_local2._y = 0;
SET.GAME_STOP = true;
}
function bonusNextStage() {
SET.STAGE++;
this.gotoAndPlay("START");
}
viewLife();
viewScore();
viewStage();
var bonusLifeCnt = 3;
mousePause = false;
bonus_life_view.n1.gotoAndStop(bonusLifeCnt + 1);
var bonusCnt = 0;
var bonusClearCnt = 0;
var bonusAllCnt = 0;
var Cnt = 0;
var whereLife = Math.floor(Math.random() * SET.BONUS_CNT);
bonusStart();
bonusStage();
this.bonusBg.gotoAndStop(SET.STAGE);
this.v1.gotoAndStop(SET.STAGE);
this.v2.gotoAndStop(SET.STAGE);
this.b1.gotoAndStop(SET.STAGE);
this.b2.gotoAndStop(SET.STAGE);
Instance of Symbol 1004 MovieClip "drag" in Frame 22
onClipEvent (load) {
obj = new Object();
obj.interval = function () {
_x = _parent._xmouse;
_y = _parent._ymouse;
if (_parent.m1.myState == "") {
if (hitTest(_parent.m1)) {
_parent.m1.gotoAndPlay("JUMP");
_parent.m1.myState = "JUMP";
}
}
if (_parent.m2.myState == "") {
if (hitTest(_parent.m2)) {
_parent.m2.gotoAndPlay("JUMP");
_parent.m2.myState = "JUMP";
}
}
if (_parent.m3.myState == "") {
if (hitTest(_parent.m3)) {
_parent.m3.gotoAndPlay("JUMP");
_parent.m3.myState = "JUMP";
}
}
updateAfterEvent();
};
setInterval(obj, "interval", 10);
}
onClipEvent (enterFrame) {
}
Frame 23
this.gotoAndStop("B");
Frame 24
this.gotoAndStop("B");
Frame 25
this.gotoAndStop("B");
Frame 26
this.gotoAndStop("B");
Frame 27
this.gotoAndStop("B");
Frame 28
this.gotoAndStop("B");
Frame 29
this.gotoAndStop("B");
Frame 30
this.gotoAndStop("B");
Frame 35
missCnt = 0;
this.stop();
thisTime = 0;
bonusCnt = 0;
bonusClearCnt = 0;
bonusAllCnt = 0;
Frame 36
this.gotoAndStop("S");
Frame 37
this.gotoAndStop("S");
Frame 38
this.gotoAndStop("S");
Frame 39
this.gotoAndStop("S");
Frame 40
this.gotoAndStop("S");
Symbol 82 Button
on (release) {
stopAllSounds();
this._parent.gotoAndStop(2);
this.removeMovieClip();
}
Symbol 86 Button
on (release) {
getURL ("http://kr.magic.kids.yahoo.com/", "_blank");
}
Symbol 87 MovieClip [MC_gameOver] Frame 1
this._visible = 0;
stop();
Symbol 87 MovieClip [MC_gameOver] Frame 2
this._visible = 1;
msg = "\uAC8C\uC784 \uACB0\uACFC\uB97C \uC800\uC7A5\uC911\uC785\uB2C8\uB2E4.";
stop();
gameTitle = "\uBF40\uB9AC\uC96C\uC5BC\uB9AC";
starLimit = [500, 8000, 15000];
starGift = [1, 3, 5];
starGiftName = [];
giftIsItem = 0;
FinalScoreView = function (score) {
message = ("" + this.gameTitle) + "";
message = "\uB9C8\uBC95\uD559\uAD50 \uC544\uC2A4\uD2F0\uB12C\uC5D0\uC11C\n\uB354 \uB9CE\uC740 \uAC8C\uC784\uC744!!.";
gift = 0;
giftName = 0;
var _local5 = score.toString().split("");
endNum = _local5.length;
var _local4 = 1;
while (_local4 < 11) {
this["n" + _local4].gotoAndStop(1);
_local4++;
}
_local4 = _local5.length - 1;
var _local3 = 1;
while (_local4 >= 0) {
this["n" + _local3].token = Number(_local5[_local4]) + 1;
this["n" + _local3].startAlert = 0;
this["n" + _local3].num = _local3;
this["n" + _local3].onEnterFrame = function () {
if (this.startAlert) {
if (this.startAlert == 1) {
this.gotoAndPlay(this.token + 1);
this.startAlert = 2;
} else if (this._currentframe == this.token) {
this.stop();
this._parent["n" + (this.num + 1)].startAlert = 1;
this.onEnterFrame = null;
delete this.onEnterFrame;
if (this.num == endNum) {
SendScore(_parent.score, giftName, gift, giftIsItem);
}
}
}
};
_local4--;
_local3++;
}
};
SendScore = function (s, gn, gk, i) {
fs = s;
fg = g;
if (gn != 0) {
loadObj = new LoadVars();
loadObj.nUserKey = _parent.nUserKey;
loadObj.yid = _parent.yid;
loadObj.bGetItem = i;
loadObj.nGiftKey = gk;
loadObj.onLoad = function (success) {
if (success) {
nextFrame();
}
};
} else {
nextFrame();
}
};
FinalScoreView(_parent.score);
n1.startAlert = 1;
Symbol 87 MovieClip [MC_gameOver] Frame 3
_parent.score = 0;
Symbol 110 MovieClip Frame 1
stop();
Symbol 117 Button
on (release) {
if (this._parent._parent.pauseOn) {
this._parent._parent.pause_mc.gotoAndStop(1);
this._parent._parent.pauseWin();
}
}
Symbol 118 MovieClip [pausewin] Frame 1
trace(getTimer());
var tmp3 = (getTimer() / 1000);
hour1.gotoAndStop(Math.floor(((tmp3 / 60) / 60) % 10) + 1);
min2.gotoAndStop(Math.floor((tmp3 / 60) / 10) + 1);
min1.gotoAndStop(Math.floor((tmp3 / 60) % 10) + 1);
sec2.gotoAndStop(Math.floor((tmp3 % 60) / 10) + 1);
sec1.gotoAndStop(Math.floor((tmp3 % 60) % 10) + 1);
stop();
Symbol 133 MovieClip Frame 20
_parent.play();
Symbol 158 MovieClip Frame 1
Symbol 159 MovieClip Frame 1
stop();
Symbol 180 MovieClip Frame 1
stop();
Symbol 181 MovieClip Frame 1
this.stop();
Symbol 217 MovieClip Frame 1
this.stop();
Symbol 218 MovieClip Frame 1
this.stop();
Symbol 219 MovieClip Frame 1
this.stop();
Symbol 219 MovieClip Frame 39
var tmp_stage1 = ((SET.STAGE + 1) % 10);
var tmp_stage2 = (Math.floor((SET.STAGE + 1) / 10) % 10);
stage.n1.gotoAndStop(tmp_stage1 + 1);
stage.n2.gotoAndStop(tmp_stage2 + 1);
Symbol 219 MovieClip Frame 55
this._parent.thisPlay = 3;
this.stop();
Symbol 229 MovieClip Frame 1
this.stop();
Symbol 229 MovieClip Frame 40
this._parent.thisPlay = 3;
this.stop();
Symbol 231 Button
on (release) {
this.play();
viewBg();
}
Symbol 232 MovieClip [bonusStageClear] Frame 35
function viewBg() {
var Cnt0 = 0;
var Cnt1 = 0;
var Cnt2 = 0;
var h = 0;
this.createEmptyMovieClip("sCtrl", 5205);
this._parent._parent.drum_Snd.start();
sCtrl.onEnterFrame = function () {
if (!SET.PAUSE_ON) {
if (thisPlay == 0) {
if (h < 16) {
var v = 0;
while (v < 12) {
var bgc = bg_mc.attachMovie("stageClear_Bg", "bg" + Cnt0, 5250 + Cnt0);
bgc.gotoAndStop(SET.STAGE + 1);
bgc._x = 25 * h;
bgc._y = 25 * v;
Cnt0++;
v++;
}
h++;
} else {
thisPlay++;
h = 0;
_parent._parent.gotoAndPlay("STAGECLEAR");
}
} else if (thisPlay == 1) {
thisPlay++;
nextMsg.gotoAndPlay(2);
} else if (thisPlay == 2) {
} else if (thisPlay == 3) {
_parent._parent.bonusNextStage();
thisPlay++;
} else if (thisPlay == 4) {
if (h < 16) {
var v = 0;
while (v < 12) {
eval ("bg_mc.bg" + Cnt1).removeMovieClip();
Cnt1++;
v++;
}
h++;
} else {
thisPlay++;
}
} else {
gotoAndPlay ("GO");
_parent.removeMovieClip();
}
}
};
}
this._parent._parent.board_Snd.start();
var eatCnt = this._parent._parent.bonusClearCnt;
this.bananaCnt_mc.n1.gotoAndStop((eatCnt % 10) + 1);
this.bananaCnt_mc.n2.gotoAndStop((Math.floor(eatCnt / 10) % 10) + 1);
var eatCntBonus = (eatCnt * (1000 * SET.STAGE));
_parent._parent.addScore(eatCntBonus);
var tmp_n1 = (eatCntBonus % 10);
var tmp_n2 = (Math.floor(eatCntBonus / 10) % 10);
var tmp_n3 = (Math.floor(eatCntBonus / 100) % 10);
var tmp_n4 = (Math.floor(eatCntBonus / 1000) % 10);
var tmp_n5 = (Math.floor(eatCntBonus / 10000) % 10);
var tmp_n6 = (Math.floor(eatCntBonus / 100000) % 10);
bananaSocre_mc.n1.gotoAndStop(tmp_n1 + 1);
bananaSocre_mc.n2.gotoAndStop(tmp_n2 + 1);
bananaSocre_mc.n3.gotoAndStop(tmp_n3 + 1);
bananaSocre_mc.n4.gotoAndStop(tmp_n4 + 1);
bananaSocre_mc.n5.gotoAndStop(tmp_n5 + 1);
bananaSocre_mc.n6.gotoAndStop(tmp_n6 + 1);
var thisPlay = 0;
Symbol 232 MovieClip [bonusStageClear] Frame 41
this.stop();
Symbol 232 MovieClip [bonusStageClear] Frame 42
this.stop();
Symbol 232 MovieClip [bonusStageClear] Frame 45
this.stop();
Symbol 232 MovieClip [bonusStageClear] Frame 51
this.removeMovieClip();
Symbol 259 MovieClip Frame 1
Symbol 278 MovieClip Frame 1
this.stop();
Symbol 279 MovieClip [stageClear] Frame 35
function viewBg() {
var Cnt0 = 0;
var Cnt1 = 0;
var Cnt2 = 0;
var h = 0;
this.createEmptyMovieClip("sCtrl", 5205);
this._parent._parent.drum_Snd.start();
sCtrl.onEnterFrame = function () {
if (!SET.PAUSE_ON) {
if (thisPlay == 0) {
if (h < 16) {
var v = 0;
while (v < 12) {
var bgc = bg_mc.attachMovie("stageClear_Bg", "bg" + Cnt0, 5250 + Cnt0);
if ((SET.STAGE % 2) == 0) {
bgc.gotoAndStop(1);
} else {
bgc.gotoAndStop(SET.STAGE + 1);
}
bgc._x = 25 * h;
bgc._y = 25 * v;
Cnt0++;
v++;
}
h++;
} else {
thisPlay++;
h = 0;
_parent._parent.gotoAndPlay("STAGECLEAR");
}
} else if (thisPlay == 1) {
thisPlay++;
if ((SET.STAGE % 2) == 0) {
bonusMsg.gotoAndPlay(2);
} else {
nextMsg.gotoAndPlay(2);
}
} else if (thisPlay == 2) {
} else if (thisPlay == 3) {
_parent._parent.nextStage();
thisPlay++;
} else if (thisPlay == 4) {
if (h < 16) {
var v = 0;
while (v < 12) {
eval ("bg_mc.bg" + Cnt1).removeMovieClip();
Cnt1++;
v++;
}
h++;
} else {
thisPlay++;
}
} else {
gotoAndPlay ("GO");
_parent.removeMovieClip();
}
}
};
}
itemC.gotoAndStop(SET.STAGE);
var eatCnt = this._parent._parent.eatCnt;
this.bananaCnt_mc.n1.gotoAndStop((eatCnt % 10) + 1);
this.bananaCnt_mc.n2.gotoAndStop((Math.floor(eatCnt / 10) % 10) + 1);
var eatCntAddTime = (eatCnt * (100 * Math.floor((SET.STAGE + 1) / 2)));
var tmp_n1 = (eatCntAddTime % 10);
var tmp_n2 = (Math.floor(eatCntAddTime / 10) % 10);
var tmp_n3 = (Math.floor(eatCntAddTime / 100) % 10);
var tmp_n4 = (Math.floor(eatCntAddTime / 1000) % 10);
var tmp_n5 = (Math.floor(eatCntAddTime / 10000) % 10);
var tmp_n6 = (Math.floor(eatCntAddTime / 100000) % 10);
bananaSocre_mc.n1.gotoAndStop(tmp_n1 + 1);
bananaSocre_mc.n2.gotoAndStop(tmp_n2 + 1);
bananaSocre_mc.n3.gotoAndStop(tmp_n3 + 1);
bananaSocre_mc.n4.gotoAndStop(tmp_n4 + 1);
bananaSocre_mc.n5.gotoAndStop(tmp_n5 + 1);
this._parent._parent.board_Snd.start();
bananaSocre_mc.n6.gotoAndStop(tmp_n6 + 1);
var endTime = (SET.MAX_TIME - this._parent._parent.thisTime);
var tmp_n1 = (Math.floor(endTime / 10) % 10);
var tmp_n2 = (Math.floor(endTime / 100) % 10);
var tmp_n3 = (Math.floor(endTime / 1000) % 10);
var tmp_n4 = (Math.floor(endTime / 10000) % 10);
this.playTime_mc.n1.gotoAndStop(tmp_n1 + 1);
this.playTime_mc.n2.gotoAndStop(tmp_n2 + 1);
this.playTime_mc.n3.gotoAndStop(tmp_n3 + 1);
this.playTime_mc.n4.gotoAndStop(tmp_n4 + 1);
var endTimeScore = (Math.floor(endTime / 10) * Math.floor((SET.STAGE + 1) / 2));
var tmp_n1 = (endTimeScore % 10);
var tmp_n2 = (Math.floor(endTimeScore / 10) % 10);
var tmp_n3 = (Math.floor(endTimeScore / 100) % 10);
var tmp_n4 = (Math.floor(endTimeScore / 1000) % 10);
var tmp_n5 = (Math.floor(endTimeScore / 10000) % 10);
var tmp_n6 = (Math.floor(endTimeScore / 100000) % 10);
playTimeScore_mc.n1.gotoAndStop(tmp_n1 + 1);
playTimeScore_mc.n2.gotoAndStop(tmp_n2 + 1);
playTimeScore_mc.n3.gotoAndStop(tmp_n3 + 1);
playTimeScore_mc.n4.gotoAndStop(tmp_n4 + 1);
playTimeScore_mc.n5.gotoAndStop(tmp_n5 + 1);
playTimeScore_mc.n6.gotoAndStop(tmp_n6 + 1);
var totalScore = (endTimeScore + eatCntAddTime);
var tmp_n1 = (endTimeScore % 10);
var tmp_n2 = (Math.floor(totalScore / 10) % 10);
var tmp_n3 = (Math.floor(totalScore / 100) % 10);
var tmp_n4 = (Math.floor(totalScore / 1000) % 10);
var tmp_n5 = (Math.floor(totalScore / 10000) % 10);
var tmp_n6 = (Math.floor(totalScore / 100000) % 10);
totalScore_mc.n1.gotoAndStop(tmp_n1 + 1);
totalScore_mc.n2.gotoAndStop(tmp_n2 + 1);
totalScore_mc.n3.gotoAndStop(tmp_n3 + 1);
totalScore_mc.n4.gotoAndStop(tmp_n4 + 1);
totalScore_mc.n5.gotoAndStop(tmp_n5 + 1);
totalScore_mc.n6.gotoAndStop(tmp_n6 + 1);
_parent._parent.addScore(totalScore);
var thisPlay = 0;
Symbol 279 MovieClip [stageClear] Frame 41
this.stop();
Symbol 279 MovieClip [stageClear] Frame 42
this.stop();
Symbol 279 MovieClip [stageClear] Frame 45
this.stop();
Symbol 279 MovieClip [stageClear] Frame 51
trace("stage clear remove");
this.removeMovieClip();
Symbol 300 MovieClip [bonus_ready] Frame 1
this._parent._parent.pauseOn = false;
_parent._parent.start_Snd.start();
Symbol 300 MovieClip [bonus_ready] Frame 5
_parent._parent.start_Snd.start();
Symbol 300 MovieClip [bonus_ready] Frame 9
_parent._parent.start_Snd.start();
Symbol 300 MovieClip [bonus_ready] Frame 13
_parent._parent.start_Snd.start();
Symbol 300 MovieClip [bonus_ready] Frame 17
_parent._parent.start_Snd.start();
Symbol 300 MovieClip [bonus_ready] Frame 31
_parent._parent.buildTower_Down();
Symbol 300 MovieClip [bonus_ready] Frame 39
_parent._parent.start_Snd.start();
Symbol 300 MovieClip [bonus_ready] Frame 48
_parent._parent.start_Snd.start();
Symbol 300 MovieClip [bonus_ready] Frame 52
_parent._parent.start_Snd.start();
Symbol 300 MovieClip [bonus_ready] Frame 56
_parent._parent.start_Snd.start();
Symbol 300 MovieClip [bonus_ready] Frame 89
SET.GAME_STOP = false;
this._parent._parent.bgm_Snd.stop();
this._parent._parent.bonusBgm_Snd.start(0, 99999);
this._parent._parent.pauseOn = true;
this.removeMovieClip();
Symbol 301 MovieClip [ready] Frame 1
this._parent._parent.pauseOn = false;
_parent._parent.start_Snd.start();
Symbol 301 MovieClip [ready] Frame 5
_parent._parent.start_Snd.start();
Symbol 301 MovieClip [ready] Frame 9
_parent._parent.start_Snd.start();
Symbol 301 MovieClip [ready] Frame 13
_parent._parent.start_Snd.start();
Symbol 301 MovieClip [ready] Frame 17
_parent._parent.start_Snd.start();
Symbol 301 MovieClip [ready] Frame 31
_parent._parent.buildTower_Down();
Symbol 301 MovieClip [ready] Frame 39
_parent._parent.start_Snd.start();
Symbol 301 MovieClip [ready] Frame 44
_parent._parent.start_Snd.start();
Symbol 301 MovieClip [ready] Frame 48
_parent._parent.start_Snd.start();
Symbol 301 MovieClip [ready] Frame 52
_parent._parent.start_Snd.start();
Symbol 301 MovieClip [ready] Frame 56
_parent._parent.start_Snd.start();
Symbol 301 MovieClip [ready] Frame 89
SET.GAME_STOP = false;
this._parent._parent.doTimer();
this._parent._parent.bgm_Snd.stop("bgm");
this._parent._parent.bgm_Snd.start(0, 99999);
this._parent._parent.pauseOn = true;
this.removeMovieClip();
Symbol 374 MovieClip Frame 1
var nowDo = "NO";
var beforeDrop = false;
var process = "";
var fineappleBox = "";
var myState = "";
var dropInterval = 0;
var pinappleCnt = 1;
var damageOn = false;
this.stop();
this.onEnterFrame = function () {
if (((!SET.PAUSE_ON) && (!SET.GAME_STOP)) && (!damageOn)) {
if (nowDo == "NO") {
if (fineappleBox == "") {
fineappleBox = Math.floor(Math.random() * 2) + 1;
}
var _local3 = _parent["p" + fineappleBox]._x - this._x;
if (Math.abs(_local3) < SET.PRINCE_SPD) {
nowDo = "SIGHT";
fineappleBox = "";
myState = "HAVE";
this.gotoAndStop("HAVE");
} else if (_local3 > 0) {
this._x = this._x + SET.PRINCE_SPD;
if (myState != "RIGHT") {
this.gotoAndStop("RIGHT");
myState = "RIGHT";
}
} else if (_local3 < 0) {
this._x = this._x - SET.PRINCE_SPD;
if (myState != "LEFT") {
this.gotoAndStop("LEFT");
myState = "LEFT";
}
}
} else if (nowDo == "SIGHT") {
var _local3 = _parent._parent.myMonkey._x - this._x;
if (Math.abs(_local3) < (SET.PRINCE_SPD + 5)) {
if (!beforeDrop) {
this.gotoAndPlay("BEFOREDROP");
beforeDrop = true;
}
} else if ((_local3 > 0) && (!beforeDrop)) {
this._x = this._x + SET.PRINCE_SPD;
} else if (_local3 < 0) {
this._x = this._x - SET.PRINCE_SPD;
}
} else if (nowDo == "DROP") {
if (dropInterval >= (SET.FINEAPPLE_INTERVAL[SET.STAGE - 1] * 30)) {
nowDo = "NO";
} else {
dropInterval++;
}
}
}
};
Symbol 374 MovieClip Frame 2
myState = "";
this.stop();
Symbol 374 MovieClip Frame 10
this.stop();
Symbol 374 MovieClip Frame 17
this.stop();
Symbol 374 MovieClip Frame 24
this.stop();
Symbol 374 MovieClip Frame 32
this.stop();
Symbol 374 MovieClip Frame 43
this.stop();
Symbol 374 MovieClip Frame 50
this.stop();
Symbol 374 MovieClip Frame 57
myState = "DAMAGE";
damageOn = true;
this._parent._parent._parent._parent.princeDDing_Snd.stop("prince_dding");
this._parent._parent._parent._parent.princeDDing_Snd.start();
Symbol 374 MovieClip Frame 94
var nowDo = "DROP";
myState = "";
dropInterval = 0;
beforeDrop = false;
damageOn = false;
this.gotoAndPlay("DROP");
Symbol 374 MovieClip Frame 95
beforeDrop = true;
Symbol 374 MovieClip Frame 108
this.gotoAndStop("DROP");
nowDo = "DROP";
dropInterval = 0;
var pineMc = this._parent._parent.attachMovie("pineapple", "pineapple" + pineappleCnt, 34110 + pineappleCnt);
pineMc._x = this._x + 15;
pineMc._y = this._y + 15;
if (pineappleCnt < 500) {
pineappleCnt++;
} else {
pineappleCnt = 1;
}
beforeDrop = false;
Symbol 375 MovieClip [gtop] Frame 1
var Cnt = 0;
var intervalCnt = 0;
var greenbeeIntervalCnt = 0;
var redbeeIntervalCnt = 0;
this.onEnterFrame = function () {
if ((!SET.PAUSE_ON) && (!SET.GAME_STOP)) {
if (this._parent.myMonkey.myFloor > 1) {
if (intervalCnt >= (SET.BALL_INTERVAL * SET.FPS)) {
var _local5 = this._parent.attachMovie("ball_", "ball_" + Cnt, 11000 + Cnt);
_local5._y = this._parent["twr_" + (SET.TOWER[SET.STAGE - 1].length - this._parent.myMonkey.myFloor)]._y + 5;
_local5.myFloor = _parent.myMonkey.myFloor;
if (_parent.myMonkey._x < 200) {
vector = 1;
} else {
vector = 0;
}
var _local7 = Math.floor(Math.random() * 3);
if (vector == 0) {
_local5._x = -(10 * _local7);
_local5.myVector = "RIGHT";
} else {
_local5._x = 400 + (10 * _local7);
_local5.myVector = "LEFT";
}
intervalCnt = 0;
Cnt++;
} else {
intervalCnt++;
}
if (redbeeIntervalCnt >= (SET.RED_BEE_INTERVAL * SET.FPS)) {
this._parent._parent._parent.theFly_Snd.start();
var _local3 = this._parent.attachMovie("redBee_", "redBee_" + Cnt, 11000 + Cnt);
var _local6 = Math.floor(Math.random() * 30);
_local3._y = this._parent["twr_" + ((SET.TOWER[SET.STAGE - 1].length - 1) - this._parent.princess.myFloor)]._y + (7 + _local6);
_local3.myFloor = _parent.princess.myFloor;
if (_parent.myMonkey._x < 200) {
vector = 1;
} else {
vector = 0;
}
var _local7 = Math.floor(Math.random() * 3);
if (vector == 0) {
_local3._x = -(10 * _local7);
_local3.myVector = "RIGHT";
_local3._xscale = -100;
} else {
_local3._x = 400 + (10 * _local7);
_local3.myVector = "LEFT";
}
redbeeIntervalCnt = 0;
Cnt++;
} else {
redbeeIntervalCnt++;
}
if (greenbeeIntervalCnt >= (SET.GREEN_BEE_INTERVAL * SET.FPS)) {
this._parent._parent._parent.theFly_Snd.start();
var _local4 = this._parent.attachMovie("greenBee_", "greenBee_" + Cnt, 11000 + Cnt);
var _local6 = Math.floor(Math.random() * 2);
if (_local6 == 0) {
_local6 = 37;
} else {
_local6 = 7;
}
_local4._y = this._parent["twr_" + ((SET.TOWER[SET.STAGE - 1].length - 1) - this._parent.myMonkey.myFloor)]._y + _local6;
_local4.myFloor = _parent.myMonkey.myFloor;
if (_parent.myMonkey._x < 200) {
vector = 1;
} else {
vector = 0;
}
var _local7 = Math.floor(Math.random() * 3);
if (vector == 0) {
_local4._x = -(10 * _local7);
_local4.myVector = "RIGHT";
_local4._xscale = -100;
} else {
_local4._x = 400 + (10 * _local7);
_local4.myVector = "LEFT";
}
greenbeeIntervalCnt = 0;
Cnt++;
} else {
greenbeeIntervalCnt++;
}
}
if (Cnt > 1000) {
Cnt = 0;
}
}
};
this.stop();
Symbol 378 MovieClip [top] Frame 1
var Cnt = 0;
var intervalCnt = 0;
var greenbeeIntervalCnt = 0;
var redbeeIntervalCnt = 0;
this.onEnterFrame = function () {
if ((!SET.PAUSE_ON) && (!SET.GAME_STOP)) {
if (this._parent.myMonkey.myFloor > 1) {
if (intervalCnt >= (SET.BALL_INTERVAL * SET.FPS)) {
var _local3 = this._parent.attachMovie("ball_", "ball_" + Cnt, 11000 + Cnt);
_local3._y = this._parent["twr_" + (SET.TOWER[SET.STAGE - 1].length - this._parent.myMonkey.myFloor)]._y + 5;
_local3.myFloor = _parent.myMonkey.myFloor;
if (_parent.myMonkey._x < 200) {
vector = 1;
} else {
vector = 0;
}
var _local4 = Math.floor(Math.random() * 3);
if (vector == 0) {
_local3._x = -(10 * _local4);
_local3.myVector = "RIGHT";
} else {
_local3._x = 400 + (10 * _local4);
_local3.myVector = "LEFT";
}
intervalCnt = 0;
Cnt++;
} else {
intervalCnt++;
}
}
if (Cnt > 1000) {
Cnt = 0;
}
}
};
this.stop();
Symbol 390 MovieClip [banana] Frame 1
this.stop();
function doItem() {
this.onEnterFrame = function () {
if ((!SET.PAUSE_ON) && (!SET.GAME_STOP)) {
if (this._parent.myMonkey.myFloor == this.myFloor) {
if (this.obj.hitTest(this._parent.myMonkey.obj)) {
down = true;
who = "myMonkey";
}
}
if (this._parent.princess.myFloor == this.myFloor) {
if (this.obj.hitTest(this._parent.princess.obj)) {
down = true;
who = "princess";
}
}
if (down) {
if ((Math.abs(this._parent._y) + 300) > this._y) {
this._y = this._y + SET.OBJ_SPD;
} else {
this._parent._parent._parent.comboCnt = 0;
this._parent._parent._parent.itemCnt--;
if (this._parent._parent._parent.itemCnt <= 0) {
SET.GAME_STOP = true;
this._parent._parent._parent.stageClear();
}
this._parent._parent._parent.missCnt++;
var _local2 = this._parent._parent._parent.missCnt;
if ((_local2 % 5) == 0) {
this._parent._parent._parent.addLife(-1);
var _local3 = this._parent.attachMovie("missInfo_life", "missInfo" + _local2, 65999 + _local2);
_local3._x = this._x - 10;
_local3._y = this._y - 25;
} else {
var _local3 = this._parent.attachMovie("missInfo", "missInfo" + _local2, 65999 + _local2);
_local3.obj.miss = _local2 % 5;
_local3._x = this._x - 10;
_local3._y = this._y - 25;
}
this.removeMovieClip();
}
if (who == "myMonkey") {
if (this.obj.hitTest(this._parent.princess.obj)) {
this._parent._parent._parent.comboCnt++;
this._parent._parent._parent.eatItem(this._x, this._y + this._parent._y, "FOOD");
this.removeMovieClip();
}
} else if (this.obj.hitTest(this._parent.myMonkey.obj)) {
this._parent._parent._parent.comboCnt++;
this._parent._parent._parent.eatItem(this._x, this._y + this._parent._y, "FOOD");
this.removeMovieClip();
}
}
}
};
}
var down = false;
var who = "";
doItem();
Symbol 390 MovieClip [banana] Frame 2
this.stop();
var down = false;
var who = "";
doItem();
Symbol 390 MovieClip [banana] Frame 3
this.stop();
var down = false;
var who = "";
doItem();
Symbol 390 MovieClip [banana] Frame 4
this.stop();
var down = false;
var who = "";
doItem();
Symbol 390 MovieClip [banana] Frame 5
this.stop();
var down = false;
var who = "";
doItem();
Symbol 390 MovieClip [banana] Frame 6
this.stop();
var down = false;
var who = "";
doItem();
Symbol 390 MovieClip [banana] Frame 7
this.stop();
var down = false;
var who = "";
doItem();
Symbol 390 MovieClip [banana] Frame 8
this.stop();
var down = false;
var who = "";
doItem();
Symbol 390 MovieClip [banana] Frame 9
this.stop();
var down = false;
var who = "";
doItem();
Symbol 390 MovieClip [banana] Frame 10
this.stop();
var down = false;
var who = "";
doItem();
Symbol 426 MovieClip Frame 12
stop();
Instance of Symbol 425 MovieClip "obj" in Symbol 426 MovieClip Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(this._parent._parent._parent.princess.obj)) {
this._parent._parent._parent.princess.doPrincess("UP");
this._parent.play();
}
}
Symbol 426 MovieClip Frame 17
this.stop();
Symbol 443 MovieClip Frame 12
this._parent.myState = "";
this._parent.doShield();
this._parent.gotoAndStop("FRONT");
Symbol 447 MovieClip [myMonkey] Frame 1
function checkMouse() {
this.onEnterFrame = function () {
if (((((!SET.GAME_STOP) && (!SET.PAUSE_ON)) && (myState != "JUMP")) && (myState != "DOWN")) && (myState != "NULL JUMP")) {
if (!this._parent._parent._parent.mousePause) {
var _local3 = _parent._parent._xmouse;
var _local4 = _local3 - this._x;
if (Math.abs(_local4) > SET.MALE_SPEED) {
if ((this._x < _local3) && (this._x < 380)) {
this._x = this._x + SET.MALE_SPEED;
this.gotoAndStop("RIGHT");
myState = "RIGHT";
} else if ((this._x > _local3) && (this._x > 20)) {
this._x = this._x - SET.MALE_SPEED;
this.gotoAndStop("LEFT");
myState = "LEFT";
}
} else if (myState == "RIGHT") {
this.gotoAndStop("RIGHT_STOP");
} else if (myState == "LEFT") {
this.gotoAndStop("LEFT_STOP");
}
}
}
};
}
function doShield() {
var cnt = 0;
shieldOn = true;
this.createEmptyMovieClip("maleShield", 5550);
this.maleShield.onEnterFrame = function () {
if (cnt < 60) {
if ((cnt % 2) == 0) {
_alpha = 20;
} else {
_alpha = 100;
}
cnt++;
} else {
shieldOn = false;
_alpha = 100;
cnt = 0;
this.removeMovieClip();
}
};
}
var myFloor = 1;
var shieldOn = false;
var myState = "STOP";
checkMouse();
this.onMouseDown = function () {
if (((!SET.GAME_STOP) && (!SET.PAUSE_ON)) && (((myState != "JUMP") && (myState != "DOWN")) && (myState != "NULL JUMP"))) {
if (_parent._ymouse <= this._y) {
if (myFloor <= _parent.princess.myFloor) {
if (myFloor < (SET.TOWER[SET.STAGE - 1].length - 2)) {
if ((myState == "RIGHT") || (myState == "STOP")) {
tmp_myState = "RIGHT";
this.gotoAndStop("RIGHT_UP");
} else if ((myState == "LEFT") || (myState == "STOP")) {
tmp_myState = "LEFT";
this.gotoAndStop("LEFT_UP");
}
myState = "JUMP";
if (myFloor > 1) {
_parent._parent._parent.upFloor();
}
myFloor++;
} else {
if ((myState == "RIGHT") || (myState == "STOP")) {
this.gotoAndPlay("RIGHT_JUMP");
} else if ((myState == "LEFT") || (myState == "STOP")) {
this.gotoAndPlay("LEFT_JUMP");
}
myState = "NULL JUMP";
}
} else {
this.gotoAndPlay("TAIL_DOWN");
myState = "NULL JUMP";
}
} else if (_parent._ymouse > this._y) {
if (myFloor > _parent.princess.myFloor) {
if (myFloor > 1) {
if ((myState == "RIGHT") || (myState == "STOP")) {
tmp_myState = "RIGHT";
this.gotoAndStop("RIGHT_DOWN");
} else if ((myState == "LEFT") || (myState == "STOP")) {
tmp_myState = "LEFT";
this.gotoAndStop("LEFT_DOWN");
}
myState = "DOWN";
if (myFloor > 2) {
_parent._parent._parent.downFloor();
}
myFloor--;
}
} else {
_parent.princess.doPrincess("DOWN");
myState = "NULL JUMP";
}
}
if (myState != "NULL JUMP") {
var targetY = (_parent["twr_" + (SET.TOWER[SET.STAGE - 1].length - myFloor)]._y - 12);
this.createEmptyMovieClip("ctrl", 104);
this.ctrl.onEnterFrame = function () {
if (((!SET.PAUSE_ON) && (!SET.GAME_STOP)) && (myState != "NULL JUMP")) {
var _local2 = targetY - _y;
if (Math.abs(_local2) < 2) {
_y = targetY;
if (tmp_myState == "RIGHT") {
gotoAndStop ("RIGHT_STOP");
} else if (tmp_myState == "LEFT") {
gotoAndStop ("LEFT_STOP");
}
myState = "STOP";
this.removeMovieClip();
} else {
_y = (_y + (SET.MY_JUMP_SPEED * _local2));
}
}
};
}
}
};
Symbol 447 MovieClip [myMonkey] Frame 2
var myState = "STOP";
var tmp_myState = "";
this.stop();
Symbol 447 MovieClip [myMonkey] Frame 8
this._parent._parent._parent.comboCnt = 0;
this.stop();
Symbol 447 MovieClip [myMonkey] Frame 14
myState = "STOP";
this.stop();
Symbol 447 MovieClip [myMonkey] Frame 26
this._parent._parent._parent.comboCnt = 0;
this.stop();
Symbol 447 MovieClip [myMonkey] Frame 31
myState = "STOP";
this.stop();
Symbol 447 MovieClip [myMonkey] Frame 42
this._parent._parent._parent.comboCnt = 0;
this._parent._parent._parent.myJump_Snd.start();
this.stop();
Symbol 447 MovieClip [myMonkey] Frame 52
this._parent._parent._parent.comboCnt = 0;
this._parent._parent._parent.myJump_Snd.start();
this.stop();
Symbol 447 MovieClip [myMonkey] Frame 61
myState = "TAIL";
this.stop();
Symbol 447 MovieClip [myMonkey] Frame 75
monkey.onEnterFrame = function () {
if (this.hitTest(this._parent._parent.twr_0.king) && (this._parent._parent.twr_0.king.myState != "DAMAGE")) {
this._parent._parent.twr_0.king.gotoAndPlay("DAMAGE1");
}
trace("TEST 1");
};
Symbol 447 MovieClip [myMonkey] Frame 94
this.gotoAndStop("RIGHT_STOP");
myState = "STOP";
Symbol 447 MovieClip [myMonkey] Frame 95
monkey.onEnterFrame = function () {
if (this.hitTest(this._parent._parent.twr_0.king) && (this._parent._parent.twr_0.king.myState != "DAMAGE")) {
this._parent._parent.twr_0.king.gotoAndPlay("DAMAGE1");
}
trace("TEST 1");
};
Symbol 447 MovieClip [myMonkey] Frame 114
this.gotoAndStop("LEFT_STOP");
myState = "STOP";
Symbol 447 MovieClip [myMonkey] Frame 115
this.stop();
Symbol 447 MovieClip [myMonkey] Frame 128
this.stop();
Symbol 447 MovieClip [myMonkey] Frame 141
this.stop();
Symbol 447 MovieClip [myMonkey] Frame 148
myState = "NULL JUMP";
shieldOn = true;
this._parent._parent._parent.dding_Snd.stop("myMonkey");
this._parent._parent._parent.dding_Snd.start();
this._parent._parent._parent.doDamage("MALE");
this.stop();
Symbol 447 MovieClip [myMonkey] Frame 157
this.stop();
Symbol 447 MovieClip [myMonkey] Frame 158
this.stop();
Symbol 484 MovieClip Frame 12
this._parent.myState = "";
this._parent.doShield();
this._parent.gotoAndStop("FRONT");
Symbol 488 MovieClip [princess] Frame 1
function checkMouse() {
this.onEnterFrame = function () {
if (((((!SET.GAME_STOP) && (!SET.PAUSE_ON)) && (myState != "JUMP")) && (myState != "DOWN")) && (myState != "NULL JUMP")) {
var _local3 = _parent.myMonkey._x + 1;
var _local4 = _local3 - this._x;
if (Math.abs(_local4) > SET.FEMALE_SPEED) {
if ((this._x < _local3) && (this._x < 380)) {
if (startSpeed < SET.FEMALE_SPEED) {
startSpeed = startSpeed + SET.FEMALE_ACC;
this._x = this._x + startSpeed;
} else {
this._x = this._x + SET.FEMALE_SPEED;
}
this.gotoAndStop("RIGHT");
myState = "RIGHT";
} else if ((this._x > _local3) && (this._x > 20)) {
if (startSpeed < SET.FEMALE_SPEED) {
startSpeed = startSpeed + SET.FEMALE_ACC;
this._x = this._x - startSpeed;
} else {
this._x = this._x - SET.FEMALE_SPEED;
}
this.gotoAndStop("LEFT");
myState = "LEFT";
}
} else if (myState == "RIGHT") {
this.gotoAndStop("RIGHT_STOP");
} else if (myState == "LEFT") {
this.gotoAndStop("LEFT_STOP");
}
}
};
}
function doShield() {
var cnt = 0;
shieldOn = true;
this.createEmptyMovieClip("femaleShield", 5551);
this.femaleShield.onEnterFrame = function () {
if (cnt < 60) {
if ((cnt % 2) == 0) {
_alpha = 20;
} else {
_alpha = 100;
}
cnt++;
} else {
shieldOn = false;
_alpha = 100;
cnt = 0;
this.removeMovieClip();
}
};
}
function doPrincess(where) {
if (((!SET.GAME_STOP) && (!SET.PAUSE_ON)) && (myState != "NULL JUMP")) {
if (where == "UP") {
if (myFloor < (SET.TOWER[SET.STAGE - 1].length - 2)) {
if ((myState == "RIGHT") || (myState == "STOP")) {
tmp_myState = "RIGHT";
this.gotoAndStop("RIGHT_UP");
} else if ((myState == "LEFT") || (myState == "STOP")) {
tmp_myState = "LEFT";
this.gotoAndStop("LEFT_UP");
}
myState = "JUMP";
myFloor++;
}
} else if (_parent._ymouse > this._y) {
if (myFloor > 1) {
if ((myState == "RIGHT") || (myState == "STOP")) {
tmp_myState = "RIGHT";
this.gotoAndStop("RIGHT_DOWN");
} else if ((myState == "LEFT") || (myState == "STOP")) {
tmp_myState = "LEFT";
this.gotoAndStop("LEFT_DOWN");
}
myState = "DOWN";
myFloor--;
}
}
if (myState != "NULL JUMP") {
var targetY = (_parent["twr_" + (SET.TOWER[SET.STAGE - 1].length - myFloor)]._y - 12);
this.createEmptyMovieClip("ctrl", 104);
this.ctrl.onEnterFrame = function () {
if (((!SET.PAUSE_ON) && (!SET.GAME_STOP)) && (myState != "NULL JUMP")) {
var _local2 = targetY - _y;
if (Math.abs(_local2) < 2) {
_y = targetY;
if (tmp_myState == "RIGHT") {
gotoAndStop ("RIGHT_STOP");
} else if (tmp_myState == "LEFT") {
gotoAndStop ("LEFT_STOP");
}
myState = "STOP";
this._parent._parent.myMonkey.gotoAndPlay("FRONT");
this._parent._parent.myMonkey.myState = "";
this.removeMovieClip();
} else {
_y = (_y + (SET.MY_JUMP_SPEED * _local2));
}
}
};
}
}
}
var myFloor = 1;
var shieldOn = false;
var startSpeed = 0;
checkMouse();
Symbol 488 MovieClip [princess] Frame 2
var myState = "STOP";
var tmp_myState = "";
this.stop();
Symbol 488 MovieClip [princess] Frame 9
startSpeed = 0;
myState = "RIGHT";
this.stop();
Symbol 488 MovieClip [princess] Frame 18
startSpeed = 0;
myState = "LEFT";
this.stop();
Symbol 488 MovieClip [princess] Frame 27
myState = "RIGHT";
this.stop();
Symbol 488 MovieClip [princess] Frame 39
myState = "LEFT";
this.stop();
Symbol 488 MovieClip [princess] Frame 51
myState = "JUMP";
this._parent._parent._parent.felmaleJump_Snd.stop("femalejump_Sound");
this._parent._parent._parent.felmaleJump_Snd.start();
this.stop();
Symbol 488 MovieClip [princess] Frame 62
myState = "JUMP";
this._parent._parent._parent.felmaleJump_Snd.stop("femalejump_Sound");
this._parent._parent._parent.felmaleJump_Snd.start();
this.stop();
Symbol 488 MovieClip [princess] Frame 73
myState = "DOWN";
this.stop();
Symbol 488 MovieClip [princess] Frame 88
myState = "DOWN";
this.stop();
Symbol 488 MovieClip [princess] Frame 111
myState = "NULL JUMP";
if (this._parent.myMonkey.myState == "TAIL") {
this._parent.myMonkey.gotoAndPlay("FRONT");
}
this._parent._parent._parent.aho_Snd.stop("female_aho");
this._parent._parent._parent.aho_Snd.start();
this._parent._parent._parent.doDamage("FEMALE");
shieldOn = true;
this.stop();
Symbol 488 MovieClip [princess] Frame 120
this.gotoAndStop(this._currentframe - 5);
Symbol 488 MovieClip [princess] Frame 121
this.stop();
Symbol 492 MovieClip [pineapple] Frame 1
this.onEnterFrame = function () {
if ((!SET.PAUSE_ON) && (!SET.GAME_STOP)) {
if (!this._parent.myMonkey.shieldOn) {
if (this.obj.hitTest(this._parent.myMonkey.obj)) {
this._parent.myMonkey.gotoAndPlay("DAMAGE");
this._parent.myMonkey.myState = "NULL JUMP";
this.removeMovieClip();
}
}
if (!this._parent.princess.shieldOn) {
if (this.obj.hitTest(this._parent.princess.obj)) {
this._parent.princess.gotoAndPlay("DAMAGE");
this._parent.princess.myState = "NULL JUMP";
this.removeMovieClip();
}
}
var _local2 = new Object();
_local2.y = this._parent._y;
globalToLocal(_local2);
if ((Math.abs(this._parent._y) + 300) > this._y) {
this._y = this._y + SET.FINEAPPLE_SPEED[SET.STAGE - 1];
} else {
this.removeMovieClip();
}
}
};
stop();
Symbol 513 MovieClip Frame 1
stop();
Symbol 534 MovieClip Frame 1
this.stop();
Symbol 543 MovieClip Frame 1
this.stop();
Symbol 544 MovieClip Frame 1
this.stop();
comboView.txt = this._parent._parent._parent.comboCnt;
trace("comboCnt = " + this._parent._parent._parent.comboCnt);
viewOn = true;
var cntT = 0;
this.onEnterFrame = function () {
if ((cntT % 2) == 0) {
if (viewOn) {
switch (this._parent.numCnt) {
case 0 :
m1._visible = false;
m2._visible = false;
m3._visible = false;
m4._visible = false;
m5._visible = false;
case 1 :
m1._visible = false;
m2._visible = false;
m3._visible = false;
m4._visible = false;
break;
case 2 :
m1._visible = false;
m2._visible = false;
m3._visible = false;
break;
case 3 :
m1._visible = false;
m2._visible = false;
break;
case 4 :
m1._visible = false;
break;
default :
trace("!! plus score error --> " + this._parent.numCnt);
}
viewOn = false;
} else {
switch (this._parent.numCnt) {
case 0 :
m1._visible = true;
m2._visible = true;
m3._visible = true;
m4._visible = true;
m5._visible = true;
break;
case 1 :
m1._visible = true;
m2._visible = true;
m3._visible = true;
m4._visible = true;
break;
case 2 :
m1._visible = true;
m2._visible = true;
m3._visible = true;
break;
case 3 :
m1._visible = true;
m2._visible = true;
break;
case 4 :
m1._visible = true;
break;
default :
trace("!! plus score error --> " + this._parent.numCnt);
}
viewOn = true;
}
}
cntC++;
};
Symbol 545 MovieClip [myScore_set] Frame 1
var myScore;
var numCnt = 0;
Symbol 545 MovieClip [myScore_set] Frame 2
if (myScore < 10) {
this.s.n5._visible = false;
this.s.n4._visible = false;
this.s.n3._visible = false;
this.s.n2._visible = false;
this.s.m5._visible = false;
this.s.m4._visible = false;
this.s.m3._visible = false;
this.s.m2._visible = false;
this.s.plus._x = this.s.plus._x + 40;
numCnt = 4;
} else if (myScore < 100) {
this.s.n5._visible = false;
this.s.n4._visible = false;
this.s.n3._visible = false;
this.s.m5._visible = false;
this.s.m4._visible = false;
this.s.m3._visible = false;
this.s.plus._x = this.s.plus._x + 30;
numCnt = 3;
} else if (myScore < 1000) {
this.s.plus._x = this.s.plus._x + 20;
numCnt = 2;
this.s.n5._visible = false;
this.s.n4._visible = false;
this.s.m5._visible = false;
this.s.m4._visible = false;
} else if (myScore < 10000) {
this.s.plus._x = this.s.plus._x + 10;
numCnt = 1;
this.s.n5._visible = false;
this.s.m5._visible = false;
} else {
numCnt = 0;
}
var tmp_n1 = Math.floor(myScore % 10);
var tmp_n2 = Math.floor((myScore / 10) % 10);
var tmp_n3 = Math.floor((myScore / 100) % 10);
var tmp_n4 = Math.floor((myScore / 1000) % 10);
var tmp_n5 = Math.floor((myScore / 10000) % 10);
this.s.n1.gotoAndStop(tmp_n1 + 1);
this.s.n2.gotoAndStop(tmp_n2 + 1);
this.s.n3.gotoAndStop(tmp_n3 + 1);
this.s.n4.gotoAndStop(tmp_n4 + 1);
this.s.n5.gotoAndStop(tmp_n5 + 1);
this.s.m1.gotoAndStop(tmp_n1 + 1);
this.s.m2.gotoAndStop(tmp_n2 + 1);
this.s.m3.gotoAndStop(tmp_n3 + 1);
this.s.m4.gotoAndStop(tmp_n4 + 1);
this.s.m5.gotoAndStop(tmp_n5 + 1);
Symbol 545 MovieClip [myScore_set] Frame 31
this.removeMovieClip();
Symbol 550 MovieClip [ball_] Frame 1
var myFloor;
var myVector;
stop();
this.onEnterFrame = function () {
if ((!SET.PAUSE_ON) && (!SET.GAME_STOP)) {
if ((this.myFloor == this._parent.myMonkey.myFloor) && (!this._parent.myMonkey.shieldOn)) {
if (this.ball.obj.hitTest(this._parent.myMonkey.obj)) {
this._parent.myMonkey.gotoAndPlay("DAMAGE");
this._parent.myMonkey.myState = "NULL JUMP";
}
}
if ((this.myFloor == this._parent.princess.myFloor) && (!this._parent.princess.shieldOn)) {
if (this.ball.obj.hitTest(this._parent.princess.obj)) {
this._parent.princess.gotoAndPlay("DAMAGE");
this._parent.princess.myState = "NULL JUMP";
}
}
if (this._currentframe == 60) {
this.gotoAndStop("re");
} else {
this.gotoAndStop(_currentframe + 1);
}
if (myVector == "RIGHT") {
if (_x <= 400) {
_x = (_x + SET.BALL_SPD);
} else {
this.removeMovieClip();
}
} else if (myVector == "LEFT") {
if (_x >= 0) {
_x = (_x - SET.BALL_SPD);
} else {
this.removeMovieClip();
}
}
}
};
Symbol 550 MovieClip [ball_] Frame 60
this.gotoAndPlay("re");
Symbol 561 MovieClip Frame 1
this.stop();
Symbol 561 MovieClip Frame 2
this.stop();
Symbol 561 MovieClip Frame 3
this.stop();
Symbol 561 MovieClip Frame 80
this.stop();
Symbol 565 MovieClip Frame 15
this.stop();
Symbol 566 MovieClip [bonus_life] Frame 1
var m1On = false;
var m2On = false;
var m3On = false;
var xOn = false;
this.onEnterFrame = function () {
if ((!SET.PAUSE_ON) && (!SET.GAME_STOP)) {
if (_x > -30) {
_x = (_x - SET.BONUS_SPD);
} else {
this._parent._parent.bonusAllCnt++;
this.removeMovieClip();
}
if (!m1On) {
if (this.banana_obj.obj.hitTest(this._parent._parent.m1.myBody_mc.obj)) {
m1On = true;
banana_obj.play();
this.gotoAndPlay("SUCCESS");
}
}
if (!m2On) {
if (this.banana_obj.obj.hitTest(this._parent._parent.m2.myBody_mc.obj)) {
m2On = true;
banana_obj.play();
this.gotoAndPlay("SUCCESS");
}
}
if (!m3On) {
if (this.banana_obj.obj.hitTest(this._parent._parent.m3.myBody_mc.obj)) {
m3On = true;
banana_obj.play();
this.gotoAndPlay("SUCCESS");
}
}
}
};
Symbol 566 MovieClip [bonus_life] Frame 80
this.gotoAndPlay("BASIC");
Symbol 566 MovieClip [bonus_life] Frame 81
this._parent._parent.drip_Snd.start();
Symbol 566 MovieClip [bonus_life] Frame 95
if ((m3On && (m2On)) && (m1On)) {
this.gotoAndPlay("ALLCLEAR");
}
Symbol 566 MovieClip [bonus_life] Frame 104
this.gotoAndPlay("BASIC");
Symbol 566 MovieClip [bonus_life] Frame 105
this.stop();
this.onEnterFrame = function () {
if ((!SET.PAUSE_ON) && (!SET.GAME_STOP)) {
if (!xOn) {
var _local2 = this._parent._parent.m3._x - _x;
_x = (_x + (0.3 * _local2));
if (Math.abs(_local2) < 1) {
xOn = true;
_x = m3._x;
}
} else {
_y = (_y + 5);
if (this.banana_obj.hitTest(this._parent._parent.m3)) {
this._parent._parent.bonusAllCnt++;
this._parent._parent.addLife(1);
this._parent._parent.bonusClearCnt++;
trace(": mylife = " + this._parent._parent.mylife);
this.removeMovieClip();
}
}
}
};
Symbol 575 MovieClip Frame 1
this.stop();
Symbol 575 MovieClip Frame 2
this.stop();
Symbol 575 MovieClip Frame 3
this.stop();
Symbol 576 MovieClip Frame 15
this.stop();
Symbol 577 MovieClip [bonus_banana] Frame 1
var m1On = false;
var m2On = false;
var m3On = false;
var xOn = false;
this.onEnterFrame = function () {
if ((!SET.PAUSE_ON) && (!SET.GAME_STOP)) {
if (_x > -30) {
_x = (_x - SET.BONUS_SPD);
} else {
this._parent._parent.bonusAllCnt++;
this.removeMovieClip();
}
if (!m1On) {
if (this.banana_obj.obj.hitTest(this._parent._parent.m1.myBody_mc.obj)) {
m1On = true;
banana_obj.play();
this.gotoAndPlay("SUCCESS");
}
}
if (!m2On) {
if (this.banana_obj.obj.hitTest(this._parent._parent.m2.myBody_mc.obj)) {
m2On = true;
banana_obj.play();
this.gotoAndPlay("SUCCESS");
}
}
if (!m3On) {
if (this.banana_obj.obj.hitTest(this._parent._parent.m3.myBody_mc.obj)) {
m3On = true;
banana_obj.play();
this.gotoAndPlay("SUCCESS");
}
}
}
};
Symbol 577 MovieClip [bonus_banana] Frame 80
this.gotoAndPlay("BASIC");
Symbol 577 MovieClip [bonus_banana] Frame 81
this._parent._parent.drip_Snd.start();
Symbol 577 MovieClip [bonus_banana] Frame 95
if ((m3On && (m2On)) && (m1On)) {
this.gotoAndPlay("ALLCLEAR");
}
Symbol 577 MovieClip [bonus_banana] Frame 104
this.gotoAndPlay("BASIC");
Symbol 577 MovieClip [bonus_banana] Frame 105
this.stop();
this.onEnterFrame = function () {
if (!xOn) {
var _local2 = this._parent._parent.m3._x - _x;
_x = (_x + (0.3 * _local2));
if (Math.abs(_local2) < 1) {
xOn = true;
_x = m3._x;
}
} else {
_y = (_y + 5);
if (this.banana_obj.hitTest(this._parent._parent.m3)) {
this._parent._parent.bonusAllCnt++;
this._parent._parent.bonusClearCnt++;
this._parent._parent.lifeUp_Snd.start();
this.removeMovieClip();
}
}
};
Symbol 589 MovieClip [tack] Frame 1
var onPlay = true;
var onPlayOff = false;
var myFloor;
this.onEnterFrame = function () {
if ((!SET.GAME_STOP) && (!SET.PAUSE_ON)) {
if ((this._parent.myMonkey.myFloor == this.myFloor) || (this._parent.princess.myFloor == this.myFloor)) {
if (onPlay) {
this.gotoAndPlay(3);
onPlay = false;
onPlayOff = true;
}
} else if (onPlayOff) {
this.gotoAndPlay(2);
onPlay = true;
onPlayOff = false;
}
if ((this.myFloor == this._parent.myMonkey.myFloor) && (!this._parent.myMonkey.shieldOn)) {
if (this.obj.hitTest(this._parent.myMonkey.obj)) {
this._parent.myMonkey.gotoAndPlay("DAMAGE");
this._parent.myMonkey.myState = "NULL JUMP";
this.gotoAndPlay("DAMAGE");
}
}
if ((this.myFloor == this._parent.princess.myFloor) && (!this._parent.princess.shieldOn)) {
if (this.obj.hitTest(this._parent.princess.obj)) {
this._parent.princess.gotoAndPlay("DAMAGE");
this._parent.princess.myState = "NULL JUMP";
this.gotoAndPlay("DAMAGE");
}
}
}
};
Symbol 589 MovieClip [tack] Frame 2
this.stop();
Symbol 589 MovieClip [tack] Frame 29
this.gotoAndPlay(3);
Symbol 589 MovieClip [tack] Frame 58
this.gotoAndPlay(3);
Symbol 596 MovieClip [bonus_greenbee] Frame 1
this.stop();
var myFloor;
var myVector;
this.onEnterFrame = function () {
if ((!SET.PAUSE_ON) && (!SET.GAME_STOP)) {
if (this.bee.obj.hitTest(this._parent._parent.m1.myBody_mc.obj)) {
this._parent._parent.m1.gotoAndPlay("DAMAGE");
this._parent._parent.m1.myState = "NULL JUMP";
}
if (this.bee.obj.hitTest(this._parent._parent.m2.myBody_mc.obj)) {
this._parent._parent.m2.gotoAndPlay("DAMAGE");
this._parent._parent.m2.myState = "NULL JUMP";
}
if (this.bee.obj.hitTest(this._parent._parent.m3.myBody_mc.obj)) {
this._parent._parent.m3.gotoAndPlay("DAMAGE");
this._parent._parent.m3.myState = "NULL JUMP";
}
if (this._currentframe == 30) {
this.gotoAndStop("re");
} else {
this.gotoAndStop(_currentframe + 1);
}
if (myVector == "RIGHT") {
if (_x <= 400) {
_x = (_x + (SET.GREEN_BEE_SPD + 0.5));
} else {
this.removeMovieClip();
}
} else if (myVector == "LEFT") {
if (_x >= 0) {
_x = (_x - (SET.GREEN_BEE_SPD + 0.5));
} else {
this.removeMovieClip();
}
}
}
};
Symbol 597 MovieClip [greenBee_] Frame 1
this.stop();
var myFloor;
var myVector;
this.onEnterFrame = function () {
if ((!SET.PAUSE_ON) && (!SET.GAME_STOP)) {
if (this.bee.obj.hitTest(this._parent.myMonkey.obj)) {
this._parent.myMonkey.gotoAndPlay("DAMAGE");
this._parent.myMonkey.myState = "NULL JUMP";
}
if (this.bee.obj.hitTest(this._parent.princess.obj)) {
this._parent.princess.gotoAndPlay("DAMAGE");
this._parent.princess.myState = "NULL JUMP";
}
if (this._currentframe == 30) {
this.gotoAndStop("re");
} else {
this.gotoAndStop(_currentframe + 1);
}
if (myVector == "RIGHT") {
if (_x <= 400) {
_x = (_x + SET.GREEN_BEE_SPD);
} else {
this.removeMovieClip();
}
} else if (myVector == "LEFT") {
if (_x >= 0) {
_x = (_x - SET.GREEN_BEE_SPD);
} else {
this.removeMovieClip();
}
}
}
};
Symbol 603 MovieClip [redBee_] Frame 1
var myFloor;
var myVector;
this.onEnterFrame = function () {
if ((!SET.PAUSE_ON) && (!SET.GAME_STOP)) {
if ((this.myFloor == this._parent.myMonkey.myFloor) && (!this._parent.myMonkey.shieldOn)) {
if (this.bee.obj.hitTest(this._parent.myMonkey.obj)) {
this._parent.myMonkey.gotoAndPlay("DAMAGE");
this._parent.myMonkey.myState = "NULL JUMP";
}
}
if ((this.myFloor == this._parent.princess.myFloor) && (!this._parent.princess.shieldOn)) {
if (this.bee.obj.hitTest(this._parent.princess.obj)) {
this._parent.princess.gotoAndPlay("DAMAGE");
this._parent.princess.myState = "NULL JUMP";
}
}
if (this._currentframe == 180) {
this.gotoAndStop("re");
} else {
this.gotoAndStop(_currentframe + 1);
}
if (myVector == "RIGHT") {
if (_x <= 400) {
_x = (_x + SET.RED_BEE_SPD);
} else {
this.removeMovieClip();
}
} else if (myVector == "LEFT") {
if (_x >= 0) {
_x = (_x - SET.RED_BEE_SPD);
} else {
this.removeMovieClip();
}
}
}
};
Symbol 603 MovieClip [redBee_] Frame 180
this.gotoAndPlay("re");
Symbol 672 MovieClip [AGS] Frame 1
this._parent.allClear_Snd.start(0, 99);
Symbol 672 MovieClip [AGS] Frame 35
this._parent.addScore(500000);
Symbol 672 MovieClip [AGS] Frame 45
this.stop();
zcnt = 1;
var callFx = Math.floor(Math.random() * 4);
this.onEnterFrame = function () {
var _local3 = Math.floor(Math.random() * 9);
var _local2 = fx_mc.attachMovie("fx_fx" + callFx, "fx" + zcnt, 3000 + zcnt);
_local2.obj.gotoAndStop(_local3);
if ((Math.abs(zcnt) % 2) == 1) {
_local2._rotation = 180 + (zcnt * 12);
} else {
_local2._rotation = zcnt * 12;
}
zcnt++;
if (zcnt > 120) {
zcnt = 0;
play();
delete this.onEnterFrame;
}
};
Symbol 672 MovieClip [AGS] Frame 176
this._parent.allClear_Snd.stop();
this._parent.allGameOver();
this._parent.gotoAndPlay("STAGECLEAR");
this.stop();
Symbol 672 MovieClip [AGS] Frame 177
this.prevFrame();
Symbol 672 MovieClip [AGS] Frame 178
this.prevFrame();
Symbol 672 MovieClip [AGS] Frame 179
this.stop();
Symbol 672 MovieClip [AGS] Frame 180
this.stop();
Symbol 694 MovieClip Frame 27
this.stop();
Symbol 695 MovieClip [congratulation2] Frame 1
this._parent.perfect_Snd.start();
Symbol 695 MovieClip [congratulation2] Frame 15
var bonusScore = (10000 + (5000 * (SET.STAGE - 1)));
trace("bonusScore = " + bonusScore);
this._parent.addScore(bonusScore);
var _n1 = (bonusScore % 10);
var _n2 = (Math.floor(bonusScore / 10) % 10);
var _n3 = (Math.floor(bonusScore / 100) % 10);
var _n4 = (Math.floor(bonusScore / 1000) % 10);
var _n5 = (Math.floor(bonusScore / 10000) % 10);
var _n6 = (Math.floor(bonusScore / 100000) % 10);
bonus_mc.n1.gotoAndStop(_n1 + 1);
bonus_mc.n2.gotoAndStop(_n2 + 1);
bonus_mc.n3.gotoAndStop(_n3 + 1);
bonus_mc.n4.gotoAndStop(_n4 + 1);
bonus_mc.n5.gotoAndStop(_n5 + 1);
bonus_mc.n6.gotoAndStop(_n6 + 1);
Symbol 695 MovieClip [congratulation2] Frame 29
this.stop();
zcnt = 1;
var callFx = Math.floor(Math.random() * 4);
this.onEnterFrame = function () {
var _local2 = fx_mc.attachMovie("fx_fx" + callFx, "fx" + zcnt, 3000 + zcnt);
_local2.obj.gotoAndStop(1);
if ((Math.abs(zcnt) % 2) == 1) {
_local2._rotation = 180 + (zcnt * 12);
} else {
_local2._rotation = zcnt * 12;
}
zcnt++;
if (zcnt > 60) {
zcnt = 0;
play();
delete this.onEnterFrame;
}
};
Symbol 695 MovieClip [congratulation2] Frame 80
this._parent.bonusStageClearMessage();
this.removeMovieClip();
Symbol 696 MovieClip [congratulation] Frame 1
this._parent.perfect_Snd.start();
Symbol 696 MovieClip [congratulation] Frame 15
var bonusScore = (10000 + (5000 * (SET.STAGE - 1)));
trace("bonusScore = " + bonusScore);
this._parent.addScore(bonusScore);
var _n1 = (bonusScore % 10);
var _n2 = (Math.floor(bonusScore / 10) % 10);
var _n3 = (Math.floor(bonusScore / 100) % 10);
var _n4 = (Math.floor(bonusScore / 1000) % 10);
var _n5 = (Math.floor(bonusScore / 10000) % 10);
var _n6 = (Math.floor(bonusScore / 100000) % 10);
bonus_mc.n1.gotoAndStop(_n1 + 1);
bonus_mc.n2.gotoAndStop(_n2 + 1);
bonus_mc.n3.gotoAndStop(_n3 + 1);
bonus_mc.n4.gotoAndStop(_n4 + 1);
bonus_mc.n5.gotoAndStop(_n5 + 1);
bonus_mc.n6.gotoAndStop(_n6 + 1);
Symbol 696 MovieClip [congratulation] Frame 29
this.stop();
zcnt = 1;
var callFx = Math.floor(Math.random() * 4);
this.onEnterFrame = function () {
var _local2 = fx_mc.attachMovie("fx_fx" + callFx, "fx" + zcnt, 3000 + zcnt);
_local2.obj.gotoAndStop(SET.STAGE + 1);
if ((Math.abs(zcnt) % 2) == 1) {
_local2._rotation = 180 + (zcnt * 12);
} else {
_local2._rotation = zcnt * 12;
}
zcnt++;
if (zcnt > 60) {
zcnt = 0;
this._parent.myJump_Snd.start();
play();
delete this.onEnterFrame;
}
};
Symbol 696 MovieClip [congratulation] Frame 80
this._parent.stageClearMessage();
this.removeMovieClip();
Symbol 699 MovieClip Frame 1
this.stop();
Symbol 700 MovieClip [fx_fx3] Frame 60
this.stop();
Symbol 701 MovieClip [fx_fx1] Frame 60
this.stop();
Symbol 702 MovieClip [fx_fx2] Frame 60
this.stop();
Symbol 703 MovieClip [fx_fx0] Frame 60
this.stop();
Symbol 709 MovieClip [missInfo_life] Frame 49
this.removeMovieClip();
Symbol 713 MovieClip [missInfo] Frame 30
this.removeMovieClip();
Symbol 725 MovieClip [press] Frame 1
var onPlay = true;
var onPlayOff = false;
var myFloor;
this.onEnterFrame = function () {
if ((!SET.GAME_STOP) && (!SET.PAUSE_ON)) {
if ((this._parent.myMonkey.myFloor == this.myFloor) || (this._parent.princess.myFloor == this.myFloor)) {
if (onPlay) {
this.gotoAndPlay(3);
onPlay = false;
onPlayOff = true;
}
} else if (onPlayOff) {
this.gotoAndPlay(2);
onPlay = true;
onPlayOff = false;
}
if (checkOn) {
if ((this.myFloor == this._parent.myMonkey.myFloor) && (!this._parent.myMonkey.shieldOn)) {
if (this.obj.hitTest(this._parent.myMonkey.obj)) {
this._parent.myMonkey.gotoAndPlay("DAMAGE");
this._parent.myMonkey.myState = "NULL JUMP";
}
}
if ((this.myFloor == this._parent.princess.myFloor) && (!this._parent.princess.shieldOn)) {
if (this.obj.hitTest(this._parent.princess.obj)) {
this._parent.princess.gotoAndPlay("DAMAGE");
this._parent.princess.myState = "NULL JUMP";
}
}
}
}
};
Symbol 725 MovieClip [press] Frame 2
this.stop();
Symbol 725 MovieClip [press] Frame 12
checkOn = true;
Symbol 725 MovieClip [press] Frame 29
checkOn = false;
Symbol 725 MovieClip [press] Frame 140
this.gotoAndPlay("re");
Symbol 727 MovieClip Frame 1
if (_root.demo == 1) {
this._visible = 0;
auth_ret = 1;
varObj = new Object();
varObj.addVars = function (varName, level, initData) {
level[varName] = initData;
};
varObj.encodeVars = function (varName, level, initData) {
level[varName] = level[varName] + initData;
};
} else {
this.urls = _url.split("");
var i = (urls.length - 1);
while (i >= 0) {
if (urls[i] == "/") {
break;
}
i--;
}
url = "";
var k = 0;
while (k <= i) {
url = url + urls[k];
k++;
}
trace(url);
this.loadMovie(url + "loadSecurity.swf");
}
this.stop();
Symbol 742 MovieClip Frame 1
percent = "50 %";
Symbol 743 MovieClip Frame 1
percent = "50 %";
Symbol 744 MovieClip Frame 1
stop();
Symbol 744 MovieClip Frame 20
_parent.play();
Symbol 749 Button
on (release) {
this.gotoAndPlay("HOWTO");
}
Symbol 752 Button
on (release) {
this._parent.gotoAndPlay("GAME_RESET");
}
Symbol 783 MovieClip Frame 48
this.stop();
Symbol 783 MovieClip Frame 52
this.stop();
this.clickSig = false;
howtomsg.htmlText = "<font color = '#0099ff'><b>[ \uBF40\uB9AC\uC96C\uC5BC\uB9AC ]</b></font><font color = '#666666'>\n\n\uB2E4\uD53C\uB124\uB294 \uADC0\uC5EC\uC6B4 \uD3AB\uC778 \uBC29\uC6B8\uB0E5\uACFC \uD568\uAED8 \uBBF8\uC158 \uC218\uD589\uC744 \uB098\uAC11\uB2C8\uB2E4. \uC8FC\uC5B4\uC9C4 \uBBF8\uC158\uC740 \uB77D\uC5D8\uB974\uC758 \uC131\uC5D0\uC11C \uBCF4\uC11D\uB4E4\uC744 \uAD6C\uD574\uC624\uB294 \uAC83!<br><br>\uB9C8\uC6B0\uC2A4\uC758 \uBC29\uD5A5\uC5D0 \uB530\uB77C '\uB2E4\uD53C\uB124'\uC640 '\uBC29\uC6B8\uB0E5'\uC774 \uC6C0\uC9C1\uC785\uB2C8\uB2E4. '\uB2E4\uD53C\uB124' \uC704\uC5D0\uC11C \uD074\uB9AD\uD558\uBA74 \uC704\uB85C \uC62C\uB77C\uAC00\uACE0 \uC544\uB798\uC5D0\uC11C \uD074\uB9AD\uD558\uBA74 \uC544\uB798\uB85C \uB0B4\uB824\uAC11\uB2C8\uB2E4.<br>\uCC28\uB840\uB300\uB85C \uC62C\uB77C\uAC00\uACE0 \uB0B4\uB824\uAC00\uB2C8\uAE4C \uC7A5\uC560\uBB3C\uACFC \uACE4\uCDA9\uC5D0 \uC8FC\uC758\uD558\uC138\uC694<br>\uB610, \uBCF4\uC11D\uC744 5\uAC1C \uB5A8\uC5B4\uD2B8\uB9AC\uBA74 \uB77C\uC774\uD504\uAC00 \uD558\uB098 \uC904\uC5B4 \uB4ED\uB2C8\uB2E4.<br>\uBCF4\uC11D\uC744 \uB2E4 \uBA39\uC73C\uBA74 \uB192\uC740 \uC810\uC218\uAC00 \uC8FC\uC5B4\uC9C0\uB2C8 \uB3C4\uC804\uD574 \uBCF4\uC138\uC694</font><br><br><font color = '#0099ff'>[ \uC870\uC791\uD0A4 ]</font><br><font color = '#666666'>\uB9C8\uC6B0\uC2A4 \uC67C\uCABD \uBC84\uD2BC</font> ";
Instance of Symbol 764 MovieClip in Symbol 783 MovieClip Frame 52
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 767 MovieClip in Symbol 783 MovieClip Frame 52
on (release) {
this._parent.howtomsg.scroll--;
}
Instance of Symbol 770 MovieClip in Symbol 783 MovieClip Frame 52
on (release) {
this._parent.howtomsg.scroll++;
}
Symbol 791 MovieClip Frame 1
stop();
Symbol 791 MovieClip Frame 2
stop();
Symbol 791 MovieClip Frame 3
stop();
Symbol 791 MovieClip Frame 4
stop();
Symbol 791 MovieClip Frame 5
this.stop();
Symbol 791 MovieClip Frame 6
this.stop();
Symbol 791 MovieClip Frame 7
this.stop();
Symbol 791 MovieClip Frame 8
this.stop();
Symbol 791 MovieClip Frame 9
this.stop();
Symbol 791 MovieClip Frame 10
this.stop();
Symbol 791 MovieClip Frame 11
this.stop();
Symbol 791 MovieClip Frame 12
this.stop();
Symbol 791 MovieClip Frame 13
this.stop();
Symbol 791 MovieClip Frame 14
this.stop();
Symbol 791 MovieClip Frame 15
this.stop();
Symbol 791 MovieClip Frame 16
this.stop();
Symbol 801 MovieClip Frame 1
this.stop();
Symbol 801 MovieClip Frame 2
this.stop();
Symbol 801 MovieClip Frame 3
this.stop();
Symbol 801 MovieClip Frame 4
this.stop();
Symbol 801 MovieClip Frame 5
this.stop();
Symbol 801 MovieClip Frame 6
this.stop();
Symbol 801 MovieClip Frame 7
this.stop();
Symbol 801 MovieClip Frame 8
this.stop();
Symbol 801 MovieClip Frame 9
this.stop();
Symbol 801 MovieClip Frame 10
this.stop();
Symbol 801 MovieClip Frame 11
this.stop();
Symbol 801 MovieClip Frame 12
this.stop();
Symbol 801 MovieClip Frame 13
this.stop();
Symbol 801 MovieClip Frame 14
this.stop();
Symbol 801 MovieClip Frame 15
this.stop();
Symbol 801 MovieClip Frame 16
this.stop();
Symbol 808 MovieClip Frame 1
this.stop();
Symbol 808 MovieClip Frame 2
this.stop();
Symbol 808 MovieClip Frame 3
this.stop();
Symbol 808 MovieClip Frame 4
this.stop();
Symbol 808 MovieClip Frame 5
this.stop();
Symbol 808 MovieClip Frame 6
this.stop();
Symbol 808 MovieClip Frame 7
this.stop();
Symbol 808 MovieClip Frame 8
this.stop();
Symbol 808 MovieClip Frame 9
this.stop();
Symbol 808 MovieClip Frame 10
this.stop();
Symbol 808 MovieClip Frame 11
this.stop();
Symbol 808 MovieClip Frame 12
this.stop();
Symbol 808 MovieClip Frame 13
this.stop();
Symbol 808 MovieClip Frame 14
this.stop();
Symbol 808 MovieClip Frame 15
this.stop();
Symbol 808 MovieClip Frame 16
this.stop();
Symbol 810 MovieClip Frame 1
this.stop();
Symbol 831 MovieClip Frame 1
stop();
Symbol 854 MovieClip Frame 1
stop();
Symbol 857 MovieClip Frame 1
stop();
Symbol 857 MovieClip Frame 2
stop();
Symbol 878 MovieClip Frame 1
stop();
Symbol 881 MovieClip Frame 1
this.stop();
Symbol 904 MovieClip Frame 1
stop();
Symbol 926 MovieClip Frame 1
stop();
Symbol 929 MovieClip Frame 1
stop();
Symbol 932 Button
on (rollOver) {
this._parent.mousePause = true;
snd_._visible = true;
}
on (rollOut) {
this._parent.mousePause = false;
snd_._visible = false;
}
on (release) {
_parent.soundOption = 2;
snd_.gotoAndPlay(2);
sndViewVar = 2;
this._parent.myJump_Snd.setVolume(100);
this._parent.bgm_Snd.setVolume(0);
gotoAndStop (2);
}
Symbol 941 MovieClip Frame 1
this.stop();
Symbol 941 MovieClip Frame 2
this.stop();
Symbol 941 MovieClip Frame 3
this.stop();
Symbol 944 Button
on (rollOver) {
snd_._visible = true;
this._parent.mousePause = true;
}
on (rollOut) {
this._parent.mousePause = false;
snd_._visible = false;
}
on (release) {
_parent.soundOption = 3;
snd_.gotoAndPlay(3);
sndViewVar = 3;
this._parent.myJump_Snd.setVolume(0);
this._parent.bgm_Snd.setVolume(0);
gotoAndStop (3);
}
Symbol 945 Button
on (rollOver) {
snd_._visible = true;
this._parent.mousePause = true;
}
on (rollOut) {
snd_._visible = false;
this._parent.mousePause = false;
}
on (release) {
_parent.soundOption = 1;
snd_.gotoAndPlay(1);
sndViewVar = 1;
this._parent.myJump_Snd.setVolume(100);
this._parent.bgm_Snd.setVolume(100);
gotoAndStop (1);
}
Symbol 947 MovieClip Frame 1
stop();
snd_._visible = false;
sndViewVar = 1;
Symbol 947 MovieClip Frame 2
stop();
Symbol 947 MovieClip Frame 3
stop();
Symbol 950 Button
on (release, keyPress "p") {
if (this._parent.pauseOn) {
this._parent.pauseWin();
gotoAndStop (2);
}
}
on (rollOver) {
this._parent.mousePause = true;
}
on (rollOut) {
this._parent.mousePause = false;
}
Symbol 953 Button
on (release, keyPress "p") {
if (this._parent.pauseOn) {
this._parent.pauseWin();
gotoAndStop (1);
}
}
on (rollOver) {
this._parent.mousePause = true;
}
on (rollOut) {
this._parent.mousePause = false;
}
Symbol 954 MovieClip Frame 1
stop();
Symbol 954 MovieClip Frame 2
stop();
Symbol 965 MovieClip Frame 1
this.stop();
Symbol 970 MovieClip Frame 1
this.stop();
Symbol 972 MovieClip Frame 1
this.stop();
Symbol 975 MovieClip Frame 1
this.onEnterFrame = function () {
if ((!SET.GAME_STOP) && (!SET.PAUSE_ON)) {
if (this.obj.hitTest(this._parent._parent.m1.obj)) {
this._parent._parent.m1.gotoAndPlay("DAMAGE");
this._parent._parent.m1.myState = "NULL JUMP";
}
if (this.obj.hitTest(this._parent._parent.m2.obj)) {
this._parent._parent.m2.gotoAndPlay("DAMAGE");
this._parent._parent.m2.myState = "NULL JUMP";
}
if (this.obj.hitTest(this._parent._parent.m3.obj)) {
this._parent._parent.m3.gotoAndPlay("DAMAGE");
this._parent._parent.m3.myState = "NULL JUMP";
}
}
};
Symbol 975 MovieClip Frame 25
this.gotoAndPlay(2);
Symbol 978 MovieClip Frame 1
this.stop();
Symbol 988 MovieClip Frame 30
this._parent.myState = "";
this._parent.doShield();
this._parent.gotoAndStop("BASIC");
Symbol 989 MovieClip Frame 2
this.stop();
myState = "";
Symbol 989 MovieClip Frame 11
myState = "JUMP";
this._parent.myJump_Snd.start();
Symbol 989 MovieClip Frame 48
this.gotoAndStop("BASIC");
Symbol 989 MovieClip Frame 49
this.stop();
myState = "DAMAGE";
this._parent.dding_Snd.start();
this._parent.bonusLifeCnt--;
this._parent.health.healthbar._xscale = 100 * (this._parent.bonusLifeCnt / 3);
if (this._parent.bonusLifeCnt <= 0) {
this._parent.bonusGameFail();
}
Symbol 989 MovieClip Frame 62
this.stop();
myState = "END";
Symbol 989 MovieClip Frame 74
this.stop();
Symbol 992 MovieClip Frame 29
this._parent.myState = "";
this._parent.doShield();
this._parent.gotoAndStop("BASIC");
Symbol 993 MovieClip Frame 1
var myState = "";
Symbol 993 MovieClip Frame 2
this.stop();
myState = "";
Symbol 993 MovieClip Frame 11
this._parent.felmaleJump_Snd.start();
myState = "JUMP";
Symbol 993 MovieClip Frame 48
this.gotoAndPlay("BASIC");
Symbol 993 MovieClip Frame 49
this.stop();
myState = "DAMAGE";
this._parent.aho_Snd.start();
this._parent.bonusLifeCnt--;
this._parent.health.healthbar._xscale = 100 * (this._parent.bonusLifeCnt / 3);
if (this._parent.bonusLifeCnt <= 0) {
this._parent.bonusGameFail();
}
Symbol 993 MovieClip Frame 63
this.stop();
myState = "END";
Symbol 993 MovieClip Frame 73
this.stop();
Symbol 1002 MovieClip Frame 29
this._parent.gotoAndStop("BASIC");
Symbol 1003 MovieClip Frame 1
var myState = "";
this.onEnterFrame = function () {
};
Symbol 1003 MovieClip Frame 2
myState = "";
this.stop();
Symbol 1003 MovieClip Frame 11
myState = "JUMP";
Symbol 1003 MovieClip Frame 48
this.gotoAndPlay("BASIC");
Symbol 1003 MovieClip Frame 49
this.stop();
myState = "DAMAGE";
this._parent.bonusLifeCnt--;
this._parent.princeDDing_Snd.start();
this._parent.health.healthbar._xscale = 100 * (this._parent.bonusLifeCnt / 3);
if (this._parent.bonusLifeCnt <= 0) {
this._parent.bonusGameFail();
}
Symbol 1003 MovieClip Frame 75
this.stop();
myState = "END";
Symbol 1003 MovieClip Frame 87
this.stop();