Frame 1
this.stop();
Frame 2
function randomInt(maxNum) {
var _local1 = Math.random() * maxNum;
if (_local1 == 0) {
_local1 = 1;
} else {
_local1 = Math.ceil(_local1);
}
return(_local1);
}
function initData() {
this.open_list = [1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0];
this.clear_list = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
}
function writeData() {
so.data.open_list = this.open_list;
so.data.clear_list = this.clear_list;
so.flush();
}
so = SharedObject.getLocal("data1");
trace(so.data.open_list);
if (so.data.open_list == undefined) {
trace("not found sharedObject");
this.initData();
so.data.open_list = this.open_list;
so.data.clear_list = this.clear_list;
} else {
trace("find so");
this.open_list = so.data.open_list;
this.clear_list = so.data.clear_list;
}
Frame 7
function initDepth() {
this.depth_stg = 1;
this.depth_stg_clear = 100;
this.depth_stg_in = 101;
this.depth_load = 102;
this.depth_waku = 100000 /* 0x0186A0 */;
}
function setStage() {
this.load_start_flg = false;
this.initDepth();
this.attachMovie("load", "mc_load", this.depth_load);
this.stage_clear_flg = false;
if (this.stage_num != 36) {
var _local2 = "stg_in";
var _local5 = "mc_stg_in";
var _local3 = this.depth_stg_in;
this.attachMovie(_local2, _local5, _local3);
}
var _local4 = ("../../../shockwave/swf/stg_" + this.stage_num) + ".swf";
this.mc_stg.loadMovie(_local4);
}
function stageClear() {
this.clear_list[this.stage_num - 1] = 1;
iy = 0;
while (iy <= 4) {
var _local3 = 0;
ix = 0;
while (ix <= 4) {
var _local2 = (iy * 6) + ix;
_local3 = _local3 + this.clear_list[_local2];
ix++;
}
if (_local3 == 5) {
this.open_list[_local2 + 1] = 1;
}
iy++;
}
ix = 0;
while (ix <= 4) {
var _local3 = 0;
iy = 0;
while (iy <= 4) {
var _local2 = (iy * 6) + ix;
_local3 = _local3 + this.clear_list[_local2];
iy++;
}
if (_local3 == 5) {
this.open_list[_local2 + 6] = 1;
}
ix++;
}
var _local3 = 0;
iy = 0;
while (iy <= 5) {
var ix = 5;
var _local2 = (iy * 6) + ix;
_local3 = _local3 + this.clear_list[_local2];
iy++;
}
ix = 0;
while (ix <= 5) {
var iy = 5;
var _local2 = (iy * 6) + ix;
_local3 = _local3 + this.clear_list[_local2];
ix++;
}
if (_local3 == 10) {
this.open_list[35] = 1;
}
}
Frame 10
this.stop();
Frame 15
this.stop();
Frame 20
this.setStage();
this.stop();
Instance of Symbol 129 MovieClip "mc_stg" in Frame 20
onClipEvent (data) {
_root.load_start_flg = true;
}
Frame 29
this.stop();
Frame 34
this.stop();
Frame 39
var id_name = "stg_clear";
var mc_name = "mc_stg_clear";
var depth = this.depth_stg_clear;
this.attachMovie(id_name, mc_name, depth);
this.stageClear();
this.stop();
Frame 49
this.mc_stg_clear.removeMovieClip();
this.writeData();
this.gotoAndPlay("select");
Symbol 8 MovieClip Frame 1
this.stg = "STAGE " + _parent._parent.stage_num;
if (_parent._parent.stage_num == 6) {
this.gotoAndPlay(20);
} else {
this.stop();
}
Symbol 9 MovieClip [stg_in] Frame 15
this.stop();
Symbol 9 MovieClip [stg_in] Frame 45
_root.gotoAndStop("main");
this.removeMovieClip();
Symbol 14 MovieClip [stg_clear] Frame 90
_parent.gotoAndPlay("nextstage");
this.stop();
Symbol 20 MovieClip [load] Frame 1
this.onEnterFrame = function () {
this.total = _root.mc_stg.getBytesTotal();
this.loaded = _root.mc_stg.getBytesLoaded();
trace(this.loaded);
if ((this.total == this.loaded) && (this.loaded > 0)) {
_root.mc_stg.play();
if (_root.mc_stg_in != undefined) {
_root.mc_stg_in.gotoAndPlay("load_end");
}
this.removeMovieClip();
}
};
Symbol 25 MovieClip Frame 1
loaded_size = _root.getBytesLoaded();
total_size = _root.getBytesTotal();
if (loaded_size >= total_size) {
this.gotoAndPlay("ok");
} else {
this.parcent = Math.floor(loaded_size / total_size) * 100;
}
Symbol 25 MovieClip Frame 2
this.gotoAndPlay(_currentframe - 1);
Symbol 25 MovieClip Frame 5
_parent.play();
this.stop();
Symbol 35 MovieClip Frame 1
this.onPress = function () {
if (_parent.btn_flg) {
_parent.play();
}
};
this.onRollOver = function () {
this.gotoAndPlay("over");
};
this.onRollOut = function () {
this.gotoAndPlay("stay");
};
this.onDragOut = function () {
this.gotoAndPlay("stay");
};
this.onReleaseOutside = function () {
this.gotoAndPlay("stay");
};
Symbol 35 MovieClip Frame 5
this.stop();
Symbol 35 MovieClip Frame 40
this.stop();
Symbol 39 MovieClip Frame 1
this.btn_flg = false;
Symbol 39 MovieClip Frame 31
this.btn_flg = true;
this.stop();
Symbol 39 MovieClip Frame 60
_parent.gotoAndPlay("select");
this.stop();
Symbol 116 MovieClip Frame 1
this.stop();
Symbol 121 MovieClip Frame 1
this.stop();
Symbol 124 MovieClip Frame 1
if (_root.open_list[this.stgnum - 1]) {
this.mc_spv.gotoAndStop(this.stgnum + 1);
this.mc_difficult.gotoAndStop(this.difficult + 1);
this.open_flg = true;
} else {
this.useHandCursor = false;
this.mc_difficult._visible = false;
this.open_flg = false;
}
if (_root.clear_list[this.stgnum - 1]) {
this.mc_found._visible = true;
} else {
this.mc_found._visible = false;
}
this.onPress = function () {
if (_parent.btn_flg) {
if (this.open_flg) {
this.btn_flg = false;
_root.stage_num = this.stgnum;
_parent.play();
}
}
};
this.onRollOver = function () {
if (this.open_flg) {
this.gotoAndPlay("over");
}
};
this.onRollOut = function () {
if (this.open_flg) {
this.gotoAndPlay("stay");
}
};
this.onDragOut = function () {
if (this.open_flg) {
this.gotoAndPlay("stay");
}
};
this.onReleaseOutside = function () {
if (this.open_flg) {
this.gotoAndPlay("stay");
}
};
this.stop();
Symbol 124 MovieClip Frame 2
this.stop();
Symbol 124 MovieClip Frame 5
this.stop();
Symbol 127 MovieClip Frame 1
this.btn_flg = false;
Instance of Symbol 124 MovieClip in Symbol 127 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
stgnum = 1;
difficult = 1;
}
Instance of Symbol 124 MovieClip in Symbol 127 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
stgnum = 2;
difficult = 2;
}
Instance of Symbol 124 MovieClip in Symbol 127 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
stgnum = 3;
difficult = 4;
}
Instance of Symbol 124 MovieClip in Symbol 127 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
stgnum = 4;
difficult = 2;
}
Instance of Symbol 124 MovieClip in Symbol 127 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
stgnum = 5;
difficult = 6;
}
Instance of Symbol 124 MovieClip in Symbol 127 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
stgnum = 6;
difficult = 3;
}
Instance of Symbol 124 MovieClip in Symbol 127 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
stgnum = 7;
difficult = 1;
}
Instance of Symbol 124 MovieClip in Symbol 127 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
stgnum = 8;
difficult = 6;
}
Instance of Symbol 124 MovieClip in Symbol 127 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
stgnum = 9;
difficult = 3;
}
Instance of Symbol 124 MovieClip in Symbol 127 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
stgnum = 10;
difficult = 2;
}
Instance of Symbol 124 MovieClip in Symbol 127 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
stgnum = 11;
difficult = 5;
}
Instance of Symbol 124 MovieClip in Symbol 127 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
stgnum = 12;
difficult = 10;
}
Instance of Symbol 124 MovieClip in Symbol 127 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
stgnum = 13;
difficult = 4;
}
Instance of Symbol 124 MovieClip in Symbol 127 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
stgnum = 14;
difficult = 5;
}
Instance of Symbol 124 MovieClip in Symbol 127 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
stgnum = 15;
difficult = 1;
}
Instance of Symbol 124 MovieClip in Symbol 127 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
stgnum = 16;
difficult = 3;
}
Instance of Symbol 124 MovieClip in Symbol 127 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
stgnum = 17;
difficult = 7;
}
Instance of Symbol 124 MovieClip in Symbol 127 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
stgnum = 18;
difficult = 7;
}
Instance of Symbol 124 MovieClip in Symbol 127 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
stgnum = 19;
difficult = 8;
}
Instance of Symbol 124 MovieClip in Symbol 127 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
stgnum = 20;
difficult = 6;
}
Instance of Symbol 124 MovieClip in Symbol 127 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
stgnum = 21;
difficult = 7;
}
Instance of Symbol 124 MovieClip in Symbol 127 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
stgnum = 22;
difficult = 1;
}
Instance of Symbol 124 MovieClip in Symbol 127 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
stgnum = 23;
difficult = 5;
}
Instance of Symbol 124 MovieClip in Symbol 127 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
stgnum = 24;
difficult = 4;
}
Instance of Symbol 124 MovieClip in Symbol 127 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
stgnum = 25;
difficult = 5;
}
Instance of Symbol 124 MovieClip in Symbol 127 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
stgnum = 26;
difficult = 3;
}
Instance of Symbol 124 MovieClip in Symbol 127 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
stgnum = 27;
difficult = 3;
}
Instance of Symbol 124 MovieClip in Symbol 127 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
stgnum = 28;
difficult = 6;
}
Instance of Symbol 124 MovieClip in Symbol 127 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
stgnum = 29;
difficult = 3;
}
Instance of Symbol 124 MovieClip in Symbol 127 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
stgnum = 30;
difficult = 8;
}
Instance of Symbol 124 MovieClip in Symbol 127 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
stgnum = 31;
difficult = 7;
}
Instance of Symbol 124 MovieClip in Symbol 127 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
stgnum = 32;
difficult = 3;
}
Instance of Symbol 124 MovieClip in Symbol 127 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
stgnum = 33;
difficult = 7;
}
Instance of Symbol 124 MovieClip in Symbol 127 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
stgnum = 34;
difficult = 9;
}
Instance of Symbol 124 MovieClip in Symbol 127 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
stgnum = 35;
difficult = 9;
}
Instance of Symbol 124 MovieClip in Symbol 127 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
stgnum = 36;
difficult = 0;
}
Symbol 127 MovieClip Frame 16
this.btn_flg = true;
this.stop();
Symbol 127 MovieClip Frame 30
_root.gotoAndPlay("stageIn");
this.stop();
Symbol 134 MovieClip Frame 1
this.onRelease = function () {
_parent.gotoAndPlay("select");
};
this.onRollOver = function () {
this.gotoAndPlay("over");
};
this.onRollOut = function () {
this.gotoAndStop("stay");
};
this.onDragOut = function () {
this.gotoAndStop("stay");
};
this.onReleaseOutside = function () {
this.gotoAndStop("stay");
};
Symbol 134 MovieClip Frame 10
this.stop();
Symbol 134 MovieClip Frame 15
this.stop();
Symbol 137 MovieClip Frame 1
this.onRelease = function () {
_parent.gotoAndPlay("title");
};
this.onRollOver = function () {
this.gotoAndPlay("over");
};
this.onRollOut = function () {
this.gotoAndStop("stay");
};
this.onDragOut = function () {
this.gotoAndStop("stay");
};
this.onReleaseOutside = function () {
this.gotoAndStop("stay");
};
Symbol 137 MovieClip Frame 10
this.stop();
Symbol 137 MovieClip Frame 15
this.stop();