Frame 1
function attaching(ID, attachx, attachy) {
_global.attachcount++;
attachObject = "object" + _global.attachcount;
this.attachMovie(ID, attachObject, _global.attachcount);
this[attachObject]._x = attachx;
this[attachObject]._y = attachy;
}
function trance16(num) {
ans_r = Math.floor(num / 16);
tmp = num - (ans_r * 16);
switch (ans_r) {
case 10 :
ans_r = "A";
break;
case 11 :
ans_r = "B";
break;
case 12 :
ans_r = "C";
break;
case 13 :
ans_r = "D";
break;
case 14 :
ans_r = "E";
break;
case 15 :
ans_r = "F";
break;
case 0 :
ans_r = "0";
break;
default :
ans_r.toString();
}
switch (tmp) {
case 10 :
tmp = "A";
break;
case 11 :
tmp = "B";
break;
case 12 :
tmp = "C";
break;
case 13 :
tmp = "D";
break;
case 14 :
tmp = "E";
break;
case 15 :
tmp = "F";
break;
case 0 :
tmp = "0";
break;
default :
tmp.toString();
}
ans = ans_r.toString() + tmp.toString();
ans.toString();
return(ans);
}
function trancer(r, g, b) {
tempr = trance16(r);
tempg = trance16(g);
tempb = trance16(b);
anstrance = (("0x" + tempr) + tempg) + tempb;
return(anstrance);
}
function randomizer(min, max) {
ans = (Math.random() * (max - min)) + min;
return(ans);
}
function intrandomizer(min, max) {
ans = Math.floor((Math.random() * (max - min)) + min);
return(ans);
}
function gotoframe(frame) {
_root.move.flg = 1;
_root.move.targetframe = frame;
}
_quality = "MEDIUM";
var Data = SharedObject.getLocal("modedata");
var Quarity = SharedObject.getLocal("quaritydata");
if (Data.data.mode != 1) {
_global.mode = 0;
Data.data.mode = 0;
} else {
_global.mode = 1;
Data.data.mode = 1;
}
if (Quarity.data.quarity == "high") {
_global.quarity = "high";
} else {
Quarity.data.quarity = "low";
_global.quarity = "low";
}
_global.blue = new Array(138, 159, 232);
_global.green = new Array(149, 214, 137);
_global.red = new Array(252, 152, 148);
stop();
Instance of Symbol 127 MovieClip in Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (this._alpha < 100) {
this._alpha = this._alpha + 2;
}
}
Instance of Symbol 129 MovieClip "move" in Frame 1
onClipEvent (load) {
firstx = this._x;
}
onClipEvent (enterFrame) {
if (flg == 1) {
this._x = this._x - 40;
if (this._x <= -200) {
this._x = firstx;
flg = 0;
_root.gotoAndStop(targetframe);
}
}
}
Frame 4
stopAllSounds();
loops = new Sound(this);
loops.attachSound("loopsound2");
loops.start(0.02, 999);
function setdif(num) {
a = 1;
while (a <= num) {
difname = "dif" + a;
_root[difname].flg = 1;
a++;
}
a = num + 1;
while (a <= 5) {
difname = "dif" + a;
_root[difname].flg = 0;
a++;
}
}
function setpow(num) {
a = 1;
while (a <= num) {
difname = "pow" + a;
_root[difname].flg = 1;
a++;
}
a = num + 1;
while (a <= 5) {
difname = "pow" + a;
_root[difname].flg = 0;
a++;
}
}
function setdir(num) {
a = 1;
while (a <= num) {
difname = "dir" + a;
_root[difname].flg = 1;
a++;
}
a = num + 1;
while (a <= 5) {
difname = "dir" + a;
_root[difname].flg = 0;
a++;
}
}
function setfru(num) {
a = 1;
while (a <= num) {
difname = "fru" + a;
_root[difname].flg = 1;
a++;
}
a = num + 1;
while (a <= 5) {
difname = "fru" + a;
_root[difname].flg = 0;
a++;
}
}
_quality = "HIGH";
_global.stagenum = 1;
stop();
Instance of Symbol 134 MovieClip in Frame 4
onClipEvent (load) {
this._alpha = 0;
this._xscale = 200;
this._yscale = 0;
speed = 1;
}
onClipEvent (enterFrame) {
if (this._yscale < 100) {
this._alpha = this._alpha + (speed * 1.12);
this._xscale = this._xscale - speed;
this._yscale = this._yscale + speed;
}
}
Instance of Symbol 214 MovieClip "b1" in Frame 4
onClipEvent (load) {
this.stop();
}
on (rollOver) {
this.rollflg = 0;
this.gotoAndPlay(this._currentframe);
if (_global.mode == 0) {
_root.setdif(1);
_root.setpow(1);
_root.setdir(1);
_root.setfru(1);
} else if (_global.mode == 1) {
_root.setdif(1);
_root.setpow(1);
_root.setdir(2);
_root.setfru(2);
}
}
on (rollOut) {
this.stop();
_root.setdif(0);
_root.setpow(0);
_root.setdir(0);
_root.setfru(0);
}
on (press) {
so = new Sound(this);
so.attachSound("se2");
so.start(0.1, 1);
_global.stagenum = 1;
if (_global.mode == 0) {
_root.gotoframe(7);
} else if (_global.mode == 1) {
_root.gotoframe(10);
}
}
onClipEvent (enterFrame) {
if ((this.rollflg == 1) && (this._currentframe != 1)) {
this.gotoAndPlay(this._currentframe + 1);
if (this._currentframe <= 3) {
this.rollflg = 0;
this.gotoAndStop(1);
}
}
}
Instance of Symbol 294 MovieClip "b4" in Frame 4
onClipEvent (load) {
this.stop();
}
on (rollOver) {
this.rollflg = 0;
this.gotoAndPlay(this._currentframe);
if (_global.mode == 0) {
_root.setdif(3);
_root.setpow(3);
_root.setdir(4);
_root.setfru(3);
} else if (_global.mode == 1) {
_root.setdif(4);
_root.setpow(3);
_root.setdir(3);
_root.setfru(3);
}
}
on (rollOut) {
this.stop();
_root.setdif(0);
_root.setpow(0);
_root.setdir(0);
_root.setfru(0);
}
on (press) {
so = new Sound(this);
so.attachSound("se2");
so.start(0.1, 1);
_global.stagenum = 19;
if (_global.mode == 0) {
_root.gotoframe(7);
} else if (_global.mode == 1) {
_root.gotoframe(10);
}
}
onClipEvent (enterFrame) {
if ((this.rollflg == 1) && (this._currentframe != 1)) {
this.gotoAndPlay(this._currentframe + 1);
if (this._currentframe <= 3) {
this.rollflg = 0;
this.gotoAndStop(1);
}
}
}
Instance of Symbol 374 MovieClip "b3" in Frame 4
onClipEvent (load) {
this.stop();
}
on (rollOver) {
this.rollflg = 0;
this.gotoAndPlay(this._currentframe);
if (_global.mode == 0) {
_root.setdif(2);
_root.setpow(3);
_root.setdir(2);
_root.setfru(1);
} else if (_global.mode == 1) {
_root.setdif(3);
_root.setpow(3);
_root.setdir(2);
_root.setfru(3);
}
}
on (rollOut) {
this.stop();
_root.setdif(0);
_root.setpow(0);
_root.setdir(0);
_root.setfru(0);
}
on (press) {
so = new Sound(this);
so.attachSound("se2");
so.start(0.1, 1);
_global.stagenum = 13;
if (_global.mode == 0) {
_root.gotoframe(7);
} else if (_global.mode == 1) {
_root.gotoframe(10);
}
}
onClipEvent (enterFrame) {
if ((this.rollflg == 1) && (this._currentframe != 1)) {
this.gotoAndPlay(this._currentframe + 1);
if (this._currentframe <= 3) {
this.rollflg = 0;
this.gotoAndStop(1);
}
}
}
Instance of Symbol 454 MovieClip "b5" in Frame 4
onClipEvent (load) {
this.stop();
}
on (rollOver) {
this.rollflg = 0;
this.gotoAndPlay(this._currentframe);
if (_global.mode == 0) {
_root.setdif(5);
_root.setpow(4);
_root.setdir(5);
_root.setfru(5);
} else if (_global.mode == 1) {
_root.setdif(4);
_root.setpow(5);
_root.setdir(4);
_root.setfru(5);
}
}
on (rollOut) {
this.stop();
_root.setdif(0);
_root.setpow(0);
_root.setdir(0);
_root.setfru(0);
}
on (press) {
so = new Sound(this);
so.attachSound("se2");
so.start(0.1, 1);
_global.stagenum = 25;
if (_global.mode == 0) {
_root.gotoframe(7);
} else if (_global.mode == 1) {
_root.gotoframe(10);
}
}
onClipEvent (enterFrame) {
if ((this.rollflg == 1) && (this._currentframe != 1)) {
this.gotoAndPlay(this._currentframe + 1);
if (this._currentframe <= 3) {
this.rollflg = 0;
this.gotoAndStop(1);
}
}
}
Instance of Symbol 534 MovieClip "b2" in Frame 4
onClipEvent (load) {
this.stop();
}
on (rollOver) {
this.rollflg = 0;
this.gotoAndPlay(this._currentframe);
if (_global.mode == 0) {
_root.setdif(1);
_root.setpow(2);
_root.setdir(1);
_root.setfru(1);
} else if (_global.mode == 1) {
_root.setdif(2);
_root.setpow(2);
_root.setdir(2);
_root.setfru(3);
}
}
on (rollOut) {
this.stop();
_root.setdif(0);
_root.setpow(0);
_root.setdir(0);
_root.setfru(0);
}
on (press) {
so = new Sound(this);
so.attachSound("se2");
so.start(0.1, 1);
_global.stagenum = 7;
if (_global.mode == 0) {
_root.gotoframe(7);
} else if (_global.mode == 1) {
_root.gotoframe(10);
}
}
onClipEvent (enterFrame) {
if ((this.rollflg == 1) && (this._currentframe != 1)) {
this.gotoAndPlay(this._currentframe + 1);
if (this._currentframe <= 3) {
this.rollflg = 0;
this.gotoAndStop(1);
}
}
}
Instance of Symbol 546 MovieClip "c1" in Frame 4
onClipEvent (load) {
var Data = SharedObject.getLocal("cleardata");
if (Data.data.clearflg1 == 1) {
this.flg = 1;
}
modeflg = 0;
}
onClipEvent (enterFrame) {
if ((_global.mode == 0) && (modeflg == 1)) {
var Data = SharedObject.getLocal("cleardata");
if (Data.data.clearflg1 == 1) {
this.flg = 1;
} else {
this.flg = 0;
this.gotoAndStop(1);
}
modeflg = 0;
} else if ((_global.mode == 1) && (modeflg == 0)) {
var Data = SharedObject.getLocal("cleardata");
if (Data.data.clearflg7 == 1) {
this.flg = 1;
} else {
this.flg = 0;
this.gotoAndStop(1);
}
modeflg = 1;
}
}
Instance of Symbol 546 MovieClip "c2" in Frame 4
onClipEvent (load) {
var Data = SharedObject.getLocal("cleardata");
if (Data.data.clearflg2 == 1) {
this.flg = 1;
}
modeflg = 0;
}
onClipEvent (enterFrame) {
if ((_global.mode == 0) && (modeflg == 1)) {
var Data = SharedObject.getLocal("cleardata");
if (Data.data.clearflg2 == 1) {
this.flg = 1;
} else {
this.flg = 0;
this.gotoAndStop(1);
}
modeflg = 0;
} else if ((_global.mode == 1) && (modeflg == 0)) {
var Data = SharedObject.getLocal("cleardata");
if (Data.data.clearflg8 == 1) {
this.flg = 1;
} else {
this.flg = 0;
this.gotoAndStop(1);
}
modeflg = 1;
}
}
Instance of Symbol 546 MovieClip "c3" in Frame 4
onClipEvent (load) {
var Data = SharedObject.getLocal("cleardata");
if (Data.data.clearflg3 == 1) {
this.flg = 1;
}
modeflg = 0;
}
onClipEvent (enterFrame) {
if ((_global.mode == 0) && (modeflg == 1)) {
var Data = SharedObject.getLocal("cleardata");
if (Data.data.clearflg3 == 1) {
this.flg = 1;
} else {
this.flg = 0;
this.gotoAndStop(1);
}
modeflg = 0;
} else if ((_global.mode == 1) && (modeflg == 0)) {
var Data = SharedObject.getLocal("cleardata");
if (Data.data.clearflg9 == 1) {
this.flg = 1;
} else {
this.flg = 0;
this.gotoAndStop(1);
}
modeflg = 1;
}
}
Instance of Symbol 546 MovieClip "c4" in Frame 4
onClipEvent (load) {
var Data = SharedObject.getLocal("cleardata");
if (Data.data.clearflg4 == 1) {
this.flg = 1;
}
modeflg = 0;
}
onClipEvent (enterFrame) {
if ((_global.mode == 0) && (modeflg == 1)) {
var Data = SharedObject.getLocal("cleardata");
if (Data.data.clearflg4 == 1) {
this.flg = 1;
} else {
this.flg = 0;
this.gotoAndStop(1);
}
modeflg = 0;
} else if ((_global.mode == 1) & (modeflg == 0)) {
var Data = SharedObject.getLocal("cleardata");
if (Data.data.clearflg10 == 1) {
this.flg = 1;
} else {
this.flg = 0;
this.gotoAndStop(1);
}
modeflg = 1;
}
}
Instance of Symbol 546 MovieClip "c5" in Frame 4
onClipEvent (load) {
var Data = SharedObject.getLocal("cleardata");
if (Data.data.clearflg5 == 1) {
this.flg = 1;
}
modeflg = 0;
}
onClipEvent (enterFrame) {
if ((_global.mode == 0) && (modeflg == 1)) {
var Data = SharedObject.getLocal("cleardata");
if (Data.data.clearflg5 == 1) {
this.flg = 1;
} else {
this.flg = 0;
this.gotoAndStop(1);
}
modeflg = 0;
} else if ((_global.mode == 1) && (modeflg == 0)) {
var Data = SharedObject.getLocal("cleardata");
if (Data.data.clearflg11 == 1) {
this.flg = 1;
} else {
this.flg = 0;
this.gotoAndStop(1);
}
modeflg = 1;
}
}
Instance of Symbol 546 MovieClip "c6" in Frame 4
onClipEvent (load) {
var Data = SharedObject.getLocal("cleardata");
if (Data.data.clearflg6 == 1) {
this.flg = 1;
}
modeflg = 0;
}
onClipEvent (enterFrame) {
if ((_global.mode == 0) && (modeflg == 1)) {
var Data = SharedObject.getLocal("cleardata");
if (Data.data.clearflg6 == 1) {
this.flg = 1;
} else {
this.flg = 0;
this.gotoAndStop(1);
}
modeflg = 0;
} else if ((_global.mode == 1) && (modeflg == 0)) {
var Data = SharedObject.getLocal("cleardata");
if (Data.data.clearflg12 == 1) {
this.flg = 1;
} else {
this.flg = 0;
this.gotoAndStop(1);
}
modeflg = 1;
}
}
Instance of Symbol 631 MovieClip "b6" in Frame 4
onClipEvent (load) {
this.stop();
}
on (rollOver) {
this.rollflg = 0;
this.gotoAndPlay(this._currentframe);
_root.setdif(5);
_root.setpow(5);
_root.setdir(5);
_root.setfru(5);
}
on (rollOut) {
this.stop();
_root.setdif(0);
_root.setpow(0);
_root.setdir(0);
_root.setfru(0);
}
on (press) {
so = new Sound(this);
so.attachSound("se2");
so.start(0.1, 1);
_global.stagenum = 31;
if (_global.mode == 0) {
_root.gotoframe(7);
} else if (_global.mode == 1) {
_root.gotoframe(10);
}
}
onClipEvent (enterFrame) {
if ((this.rollflg == 1) && (this._currentframe != 1)) {
this.gotoAndPlay(this._currentframe + 1);
if (this._currentframe <= 3) {
this.rollflg = 0;
this.gotoAndStop(1);
}
}
}
Instance of Symbol 693 MovieClip in Frame 4
on (rollOver) {
this.question.gotoAndPlay(this.question._currentframe);
}
on (rollOut) {
this.question.stop();
}
on (press) {
so = new Sound(this);
so.attachSound("type");
so.start(0, 1);
this.question.stop();
_parent.information.gotoAndStop(2);
}
Instance of Symbol 700 MovieClip "cursor" in Frame 4
onClipEvent (load) {
flg = 0;
if (_global.mode == 1) {
this._x = this._x + 118;
flg = 1;
}
}
onClipEvent (enterFrame) {
if ((_global.mode == 0) && (flg == 1)) {
this._x = this._x - 118;
flg = 0;
} else if ((_global.mode == 1) && (flg == 0)) {
this._x = this._x + 118;
flg = 1;
}
}
Instance of Symbol 703 MovieClip in Frame 4
on (press) {
if (_global.mode == 1) {
so = new Sound(this);
so.attachSound("type");
so.start(0, 1);
_global.mode = 0;
a = 1;
while (a <= 7) {
name = "b" + a;
_parent[name].rollflg = 1;
a++;
}
}
}
Instance of Symbol 705 MovieClip in Frame 4
on (press) {
if (_global.mode == 0) {
so = new Sound(this);
so.attachSound("type");
so.start(0, 1);
_global.mode = 1;
a = 1;
while (a <= 7) {
name = "b" + a;
_parent[name].rollflg = 1;
a++;
}
}
}
Instance of Symbol 713 MovieClip in Frame 4
onClipEvent (load) {
if (_global.mode == 1) {
this.gotoAndStop(31);
}
}
onClipEvent (enterFrame) {
if (((this._currentframe == 1) || (this._currentframe == 2)) && (_global.mode == 1)) {
this.gotoAndPlay(this._currentframe + 1);
} else if (((this._currentframe == 31) || (this._currentframe == 32)) && (_global.mode == 0)) {
this.gotoAndPlay(this._currentframe + 1);
if (this._currentframe == 60) {
this.gotoAndStop(1);
}
}
}
Instance of Symbol 25 MovieClip "save" in Frame 4
onClipEvent (load) {
var Data = SharedObject.getLocal("modedata");
if (Data.data.mode != 1) {
_global.mode = 0;
Data.data.mode = 0;
} else {
_global.mode = 1;
Data.data.mode = 1;
}
}
onClipEvent (enterFrame) {
var Data = SharedObject.getLocal("modedata");
if ((_global.mode == 0) && (Data.data.mode == 1)) {
Data.data.mode = 0;
} else if ((_global.mode == 1) && (Data.data.mode == 0)) {
Data.data.mode = 1;
}
}
Instance of Symbol 793 MovieClip "b7" in Frame 4
onClipEvent (load) {
function SetChar(charx, chary, r, g, b, c) {
_root.attaching("char", charx, chary);
_root[_root.attachObject].r = r;
_root[_root.attachObject].g = g;
_root[_root.attachObject].b = b;
_root[_root.attachObject].chara = c;
}
this.stop();
count = 0;
count2 = 0;
flg = 0;
ending_flg = 0;
var Data = SharedObject.getLocal("cleardata");
a = 0;
while (a <= 12) {
name = "clearflg" + a;
if (Data.data[name] == 1) {
count++;
}
a++;
}
if (count >= 12) {
this.flg = 1;
}
if (this.flg == 0) {
this._xscale = 0;
this._yscale = 0;
}
}
on (rollOver) {
this.rollflg = 0;
this.gotoAndPlay(this._currentframe);
_parent.over.gotoAndStop(2);
}
on (rollOut) {
this.stop();
_parent.over.gotoAndStop(1);
}
on (press) {
if (ending_flg == 0) {
ending_flg = 1;
}
}
onClipEvent (enterFrame) {
if (ending_flg == 1) {
count2++;
_parent.back.gotoAndStop(2);
if (count2 == 1) {
SetChar(30, 220, 241, 111, 92, "C");
} else if (count2 == 11) {
SetChar(55, 200, 237, 146, 97, "O");
} else if (count2 == 21) {
SetChar(80, 204, 233, 173, 101, "N");
} else if (count2 == 31) {
SetChar(90, 161, 230, 210, 104, "G");
} else if (count2 == 41) {
SetChar(122, 150, 236, 233, 101, "R");
} else if (count2 == 51) {
SetChar(148, 132, 198, 235, 99, "A");
} else if (count2 == 61) {
SetChar(165, 155, 143, 225, 108, "T");
} else if (count2 == 71) {
SetChar(187, 164, 136, 198, 157, "U");
} else if (count2 == 81) {
SetChar(204, 190, 134, 200, 180, "L");
} else if (count2 == 91) {
SetChar(220, 155, 143, 225, 108, "A");
} else if (count2 == 101) {
SetChar(235, 172, 125, 199, 208, "T");
} else if (count2 == 111) {
SetChar(260, 199, 119, 174, 205, "I");
} else if (count2 == 121) {
SetChar(279, 219, 114, 154, 220, "O");
} else if (count2 == 131) {
SetChar(290, 240, 106, 124, 227, "N");
} else if (count2 == 141) {
SetChar(310, 270, 147, 102, 232, "S");
} else if (count2 == 151) {
SetChar(280, 300, 138, 104, 230, "!");
SetChar(300, 320, 167, 109, 224, "!");
SetChar(320, 305, 170, 123, 210, "!");
} else if (count2 == 191) {
SetChar(145, 240, 167, 207, 126, "Y");
} else if (count2 == 201) {
SetChar(170, 230, 116, 218, 151, "O");
} else if (count2 == 211) {
SetChar(192, 245, 109, 224, 189, "U");
} else if (count2 == 251) {
SetChar(150, 330, 143, 185, 190, "A");
} else if (count2 == 261) {
SetChar(178, 310, 137, 172, 197, "R");
} else if (count2 == 271) {
SetChar(210, 325, 128, 157, 206, "E");
} else if (count2 == 311) {
SetChar(50, 440, 193, 189, 140, "C");
} else if (count2 == 321) {
SetChar(75, 420, 174, 189, 145, "U");
} else if (count2 == 331) {
SetChar(98, 410, 156, 177, 158, "B");
} else if (count2 == 341) {
SetChar(125, 420, 155, 171, 179, "E");
} else if (count2 == 381) {
SetChar(160, 440, 148, 141, 192, "M");
} else if (count2 == 391) {
SetChar(185, 459, 174, 135, 19, "A");
} else if (count2 == 401) {
SetChar(200, 470, 208, 124, 209, "S");
} else if (count2 == 411) {
SetChar(220, 480, 215, 119, 174, "T");
} else if (count2 == 421) {
SetChar(242, 490, 227, 106, 143, "E");
} else if (count2 == 431) {
SetChar(270, 520, 241, 92, 116, "R");
} else if (count2 == 441) {
SetChar(290, 510, 255, 79, 79, "!");
SetChar(310, 520, 238, 103, 70, "!");
SetChar(320, 510, 253, 118, 75, "!");
} else if (count2 == 1050) {
ending_flg = 0;
_parent.back.gotoAndStop(1);
this.stop();
_parent.over.gotoAndStop(1);
count2 = 0;
}
}
}
Instance of Symbol 546 MovieClip "c4" in Frame 4
onClipEvent (load) {
var Data = SharedObject.getLocal("cleardata");
if (Data.data.clearflg13 == 1) {
this.flg = 1;
}
modeflg = 0;
}
onClipEvent (enterFrame) {
if ((_global.mode == 0) && (modeflg == 1)) {
var Data = SharedObject.getLocal("cleardata");
if (Data.data.clearflg13 == 1) {
this.flg = 1;
} else {
this.flg = 0;
this.gotoAndStop(1);
}
modeflg = 0;
} else if ((_global.mode == 1) & (modeflg == 0)) {
var Data = SharedObject.getLocal("cleardata");
if (Data.data.clearflg14 == 1) {
this.flg = 1;
} else {
this.flg = 0;
this.gotoAndStop(1);
}
modeflg = 1;
}
}
Instance of Symbol 797 MovieClip "back" in Frame 4
on (press) {
}
Frame 7
stopAllSounds();
loops = new Sound(this);
loops.attachSound("loopsound1");
loops.start(0.02, 999);
Instance of Symbol 693 MovieClip in Frame 7
on (rollOver) {
this.question.gotoAndPlay(this.question._currentframe);
}
on (rollOut) {
this.question.stop();
}
on (press) {
so = new Sound(this);
so.attachSound("type");
so.start(0, 1);
this.question.stop();
_parent.information.gotoAndStop(2);
}
Frame 8
stop();
Frame 10
stopAllSounds();
loops = new Sound(this);
loops.attachSound("loopsound3");
loops.start(0.02, 999);
Symbol 23 MovieClip Frame 1
stop();
Symbol 27 MovieClip [block] Frame 1
function attaching(ID, attachx, attachy) {
_global.attachcount++;
attachObject = "target" + _global.attachcount;
this.attachMovie(ID, attachObject, _global.attachcount);
this[attachObject]._x = attachx;
this[attachObject]._y = attachy;
}
stop();
targetflg = 0;
power = 0;
rotate = 0;
stop();
Instance of Symbol 16 MovieClip "hitarea" in Symbol 27 MovieClip [block] Frame 1
onClipEvent (load) {
se = new Sound(this);
se.attachSound("se6");
se.setVolume(140);
}
on (press) {
if ((_parent.targetflg == 1) && (_parent._parent.drug_flg == "true")) {
_parent.swapDepths(100000 + _global.attachcount);
_global.attachcount++;
_parent.targetflg = 2;
_parent.attaching("target", 0, 0);
_parent.attaching("power", 20, 0);
se.start(0.02, 1);
}
}
on (release, releaseOutside) {
if (_parent.targetflg == 2) {
a = 0;
while (a <= 8) {
_parent._parent.attaching("effect3", _parent._x, _parent._y);
_parent._parent[_parent._parent.attachObject]._color = _parent._color;
a++;
}
se.attachSound("se8");
se.setVolume(60);
se.start(0.06, 1);
_parent.targetflg = 3;
blockname = "block_array" + _parent.y;
_parent._parent[blockname][_parent.x] = 0;
}
}
Instance of Symbol 23 MovieClip in Symbol 27 MovieClip [block] Frame 1
onClipEvent (load) {
if (_parent._color == "blue") {
this.gotoAndStop(1);
} else if (_parent._color == "red") {
this.gotoAndStop(2);
} else if (_parent._color == "green") {
this.gotoAndStop(3);
} else if (_parent._color == "yellow") {
this.gotoAndStop(4);
} else if (_parent._color == "perple") {
this.gotoAndStop(5);
} else if (_parent._color == "gray") {
this.gotoAndStop(6);
}
}
Instance of Symbol 25 MovieClip "scr" in Symbol 27 MovieClip [block] Frame 1
onClipEvent (load) {
_parent.fin_flg = 0;
blockname = "block_array" + _parent.y;
_parent._xscale = 0;
_parent._yscale = 0;
_parent._rotation = -360;
_parent._alpha = 0;
sound_name = "se5";
se = new Sound(this);
se.attachSound(sound_name);
se2 = new Sound(this);
se2.attachSound("se4");
attackcount = 20;
NG = new Array();
c = 0;
while (c <= 9) {
NG[c] = 0;
c++;
}
}
onClipEvent (enterFrame) {
if (_parent.targetflg == 0) {
_parent._xscale = _parent._xscale + 2;
_parent._yscale = _parent._yscale + 2;
_parent._rotation = _parent._rotation + 7.2;
_parent._alpha = _parent._alpha + 2;
if (_parent._xscale == 100) {
_parent.targetflg = 1;
}
}
if (_parent.targetflg == 3) {
movex = Math.cos((Math.PI * _parent.rotate) / 180);
movey = Math.sin((Math.PI * _parent.rotate) / 180);
_parent.targetflg = 4;
} else if (_parent.targetflg == 4) {
count++;
if (count == 2) {
_parent._parent.attaching("shade", _parent._x, _parent._y);
_parent._parent[_parent._parent.attachObject]._color = _parent._color;
count = 0;
}
if (_parent.hitTest(_parent._parent.left)) {
if (movex <= 0) {
movex = movex * -1;
a = 0;
while (a <= 8) {
_parent._parent.attaching("effect3", _parent._x, _parent._y);
_parent._parent[_parent._parent.attachObject]._color = _parent._color;
a++;
}
se.start(0.02, 1);
}
} else if (_parent.hitTest(_parent._parent.right)) {
if (movex > 0) {
movex = movex * -1;
a = 0;
while (a <= 8) {
_parent._parent.attaching("effect3", _parent._x, _parent._y);
_parent._parent[_parent._parent.attachObject]._color = _parent._color;
a++;
}
se.start(0.02, 1);
}
} else if (_parent.hitTest(_parent._parent.up)) {
if (movey <= 0) {
movey = movey * -1;
a = 0;
while (a <= 8) {
_parent._parent.attaching("effect3", _parent._x, _parent._y);
_parent._parent[_parent._parent.attachObject]._color = _parent._color;
a++;
}
se.start(0.02, 1);
}
} else if (_parent.hitTest(_parent._parent.down)) {
if (movey >= 0) {
movey = movey * -1;
a = 0;
while (a <= 8) {
_parent._parent.attaching("effect3", _parent._x, _parent._y);
_parent._parent[_parent._parent.attachObject]._color = _parent._color;
a++;
}
se.start(0.02, 1);
}
}
gnum = 0;
while (gnum < 10) {
gname = "guard" + gnum;
if (_parent.hitTest(_parent._parent[gname])) {
grotate = 57.2957795130823 * Math.atan2(_parent._parent[gname]._y - _parent._y, _parent._parent[gname]._x - _parent._x);
if (((grotate >= -135) && (grotate < -45)) && (movey <= 0)) {
movey = movey * -1;
a = 0;
while (a <= 8) {
_parent._parent.attaching("effect3", _parent._x, _parent._y);
_parent._parent[_parent._parent.attachObject]._color = _parent._color;
a++;
}
se.start(0.02, 1);
} else if (((grotate >= -45) && (grotate < 45)) && (movex >= 0)) {
movex = movex * -1;
a = 0;
while (a <= 8) {
_parent._parent.attaching("effect3", _parent._x, _parent._y);
_parent._parent[_parent._parent.attachObject]._color = _parent._color;
a++;
}
se.start(0.02, 1);
} else if (((grotate >= 45) && (grotate < 135)) && (movey >= 0)) {
movey = movey * -1;
a = 0;
while (a <= 8) {
_parent._parent.attaching("effect3", _parent._x, _parent._y);
_parent._parent[_parent._parent.attachObject]._color = _parent._color;
a++;
}
se.start(0.02, 1);
} else if ((((grotate >= 135) && (grotate < 180)) || ((grotate > -180) && (grotate <= -135))) && (movex < 0)) {
movex = movex * -1;
a = 0;
while (a <= 8) {
_parent._parent.attaching("effect3", _parent._x, _parent._y);
_parent._parent[_parent._parent.attachObject]._color = _parent._color;
a++;
}
se.start(0.02, 1);
}
}
gnum++;
}
if (_parent.power > 0.2) {
_parent._x = _parent._x + (movex * _parent.power);
_parent._y = _parent._y + (movey * _parent.power);
_parent.power = _parent.power / 1.06;
if (_parent.power <= 0.2) {
_parent.fin_flg = 1;
}
if (_parent._parent.stop_field) {
_parent.fin_flg = 1;
_parent.gotoAndStop(2);
}
} else if (_parent.fin_flg == 1) {
if (attackcount == 20) {
attackcount = 0;
a = 0;
while (a <= 9) {
name = "area" + a;
if ((_parent.hitarea2.hitTest(_parent._parent[name]) && (NG[a] == 0)) && (_parent._parent[name].crearlimit > 0)) {
NG[a] = 1;
_parent._parent.attaching("wave", _parent._x, _parent._y);
_parent._parent[_parent._parent.attachObject]._color = _parent._color;
_parent._parent.attaching("effect2", _parent._x, _parent._y);
_parent._parent.attaching("shot_left", _parent._x, _parent._y);
_parent._parent[_parent._parent.attachObject]._color = _parent._color;
_parent._parent[_parent._parent.attachObject].targetname = name;
se2.start(0, 1);
_parent._parent[name].crearlimit--;
if (_parent._color == "blue") {
f_num = 0;
} else if (_parent._color == "green") {
f_num = 1;
} else if (_parent._color == "red") {
f_num = 2;
} else if (_parent._color == "yellow") {
f_num = 3;
} else if (_parent._color == "perple") {
f_num = 4;
} else {
f_num = 5;
}
_parent._parent[name].colarea.gotoAndPlay(2 + (f_num * _parent._parent[name].colarea.len));
break;
}
if (a >= 9) {
_parent.gotoAndStop(2);
}
a++;
}
} else {
attackcount++;
}
}
}
if (_parent._parent[blockname][_parent.x] == 0) {
_parent.targetflg = 4;
_parent.fin_flg = 1;
}
}
Instance of Symbol 25 MovieClip in Symbol 27 MovieClip [block] Frame 2
onClipEvent (enterFrame) {
_parent._xscale = _parent._xscale - 2;
_parent._yscale = _parent._yscale - 2;
_parent._rotation = _parent._rotation + 12;
if (_parent._xscale <= 0) {
_parent._parent.blockcount--;
_parent.removeMovieClip();
}
}
Instance of Symbol 30 MovieClip in Symbol 31 MovieClip [target] Frame 1
onClipEvent (enterFrame) {
this._rotation = 180 + ((Math.atan2(_parent._ymouse - this._y, _parent._xmouse - this._x) * 180) / Math.PI);
if (_parent._parent.targetflg == 3) {
_parent._parent.rotate = this._rotation;
_parent.removeMovieClip();
}
}
Symbol 37 MovieClip [power] Frame 1
Instance of Symbol 34 MovieClip "gaege" in Symbol 37 MovieClip [power] Frame 1
onClipEvent (load) {
flg = 0;
this._yscale = 0;
}
onClipEvent (enterFrame) {
if (flg == 0) {
this._yscale = this._yscale + 2;
if (this._yscale == 100) {
this.flg = 1;
}
} else if (flg == 1) {
this._yscale = this._yscale - 2;
if (this._yscale == 0) {
this.flg = 0;
}
}
}
Instance of Symbol 36 MovieClip "scr" in Symbol 37 MovieClip [power] Frame 1
onClipEvent (load) {
flg = 0;
_parent.count = 0;
}
onClipEvent (enterFrame) {
if (flg == 0) {
this._y = this._y - 2;
_parent.count = _parent.count + 2;
if (_parent.count == 100) {
this.flg = 1;
}
} else if (flg == 1) {
this._y = this._y + 2;
_parent.count = _parent.count - 2;
if (_parent.count == 0) {
this.flg = 0;
}
}
if (_parent._parent.targetflg == 3) {
_parent._parent.power = _parent.count / 2.8;
_parent.removeMovieClip();
}
}
Symbol 47 MovieClip Frame 1
len = 20;
stop();
Symbol 47 MovieClip Frame 21
gotoAndStop (1);
Symbol 47 MovieClip Frame 41
gotoAndStop (1);
Symbol 47 MovieClip Frame 61
gotoAndStop (1);
Symbol 47 MovieClip Frame 81
gotoAndStop (1);
Symbol 47 MovieClip Frame 101
gotoAndStop (1);
Symbol 47 MovieClip Frame 121
gotoAndStop (1);
Symbol 52 MovieClip [area] Frame 1
stop();
Instance of Symbol 47 MovieClip "colarea" in Symbol 52 MovieClip [area] Frame 1
onClipEvent (load) {
colnum = 1;
this._width = 100 - (400 / _parent.wid);
this._height = 100 - (400 / _parent.hei);
}
Instance of Symbol 51 MovieClip in Symbol 52 MovieClip [area] Frame 1
onClipEvent (load) {
colnum = 1;
this._xscale = this._xscale / (_parent.wid / 100);
this._yscale = this._yscale / (_parent.hei / 100);
this._x = 2 * (400 / _parent.wid);
this._y = 100 - (2 * (400 / _parent.hei));
}
Instance of Symbol 51 MovieClip in Symbol 52 MovieClip [area] Frame 1
onClipEvent (load) {
colnum = 1;
this._xscale = this._xscale / (_parent.wid / 100);
this._yscale = this._yscale / (_parent.hei / 100);
this._x = 100 - (2 * (400 / _parent.wid));
this._y = 100 - (2 * (400 / _parent.hei));
}
Instance of Symbol 51 MovieClip in Symbol 52 MovieClip [area] Frame 1
onClipEvent (load) {
colnum = 1;
this._xscale = this._xscale / (_parent.wid / 100);
this._yscale = this._yscale / (_parent.hei / 100);
this._x = 100 - (2 * (400 / _parent.wid));
this._y = 2 * (400 / _parent.hei);
}
Instance of Symbol 25 MovieClip in Symbol 52 MovieClip [area] Frame 1
onClipEvent (load) {
_parent._width = _parent.wid;
_parent._height = _parent.hei;
_parent.txt._xscale = 100 / (_parent._width / 100);
_parent.txt._yscale = 100 / (_parent._height / 100);
_parent.txt._x = 2;
_parent.txt._y = 0;
flg = 0;
}
onClipEvent (enterFrame) {
if (flg == 0) {
_parent.count = _parent.crearlimit;
if (_parent.crearlimit <= 0) {
count++;
if (count >= 40) {
flg = 1;
_parent.burstflg = 1;
x = 0;
while (x <= (_parent._width - 10)) {
_parent._parent.attaching("line", _parent._x + x, _parent._y);
_parent._parent.attaching("line", _parent._x + x, _parent._y + _parent._height);
x = x + 10;
}
y = 0;
while (y <= (_parent._height - 10)) {
_parent._parent.attaching("line", _parent._x, _parent._y + y);
_parent._parent[_parent._parent.attachObject]._rotation = 90;
_parent._parent.attaching("line", _parent._x + _parent._width, _parent._y + y);
_parent._parent[_parent._parent.attachObject]._rotation = 90;
y = y + 10;
}
se = new Sound(this);
se.attachSound("se7");
se.start(0.04, 1);
_parent.gotoAndStop(2);
}
}
} else {
_parent._alpha = _parent._alpha - 2;
if (_parent._alpha <= 0) {
_parent._parent.crearcount--;
_parent.removeMovieClip();
}
}
if (_parent._parent.game_flg == 3) {
_parent.removeMovieClip();
}
}
Instance of Symbol 25 MovieClip in Symbol 55 MovieClip [calling] Frame 1
onClipEvent (load) {
flg = 0;
count = 0;
_parent.str = _parent.targetstr;
}
onClipEvent (enterFrame) {
if (count >= _parent.limit) {
_parent.removeMovieClip();
}
count++;
}
Instance of Symbol 25 MovieClip in Symbol 57 MovieClip [effect3] Frame 1
onClipEvent (load) {
if (_parent._color == "blue") {
_parent.gotoAndStop(1);
} else if (_parent._color == "red") {
_parent.gotoAndStop(2);
} else if (_parent._color == "green") {
_parent.gotoAndStop(3);
} else if (_parent._color == "yellow") {
_parent.gotoAndStop(4);
} else if (_parent._color == "perple") {
_parent.gotoAndStop(5);
} else if (_parent._color == "gray") {
_parent.gotoAndStop(6);
}
speed = _root.randomizer(2, 10);
xspeed = _root.randomizer(-3, 3);
yspeed = _root.randomizer(-3, 3);
}
onClipEvent (enterFrame) {
_parent._xscale = _parent._xscale - speed;
_parent._yscale = _parent._yscale - speed;
_parent._x = _parent._x + xspeed;
_parent._y = _parent._y + yspeed;
if (_parent._yscale <= 0) {
_parent.removeMovieClip();
}
}
Instance of Symbol 25 MovieClip in Symbol 59 MovieClip [shade] Frame 1
onClipEvent (load) {
if (_parent._color == "blue") {
_parent.gotoAndStop(1);
} else if (_parent._color == "red") {
_parent.gotoAndStop(2);
} else if (_parent._color == "green") {
_parent.gotoAndStop(3);
} else if (_parent._color == "yellow") {
_parent.gotoAndStop(4);
} else if (_parent._color == "perple") {
_parent.gotoAndStop(5);
} else if (_parent._color == "gray") {
_parent.gotoAndStop(6);
}
}
onClipEvent (enterFrame) {
_parent._xscale = _parent._xscale - 10;
_parent._yscale = _parent._yscale - 10;
if (_parent._xscale <= 0) {
_parent.removeMovieClip();
}
}
Instance of Symbol 25 MovieClip in Symbol 66 MovieClip [wave] Frame 1
onClipEvent (load) {
if (_parent._color == "blue") {
_parent.gotoAndStop(1);
} else if (_parent._color == "red") {
_parent.gotoAndStop(2);
} else if (_parent._color == "green") {
_parent.gotoAndStop(3);
} else if (_parent._color == "yellow") {
_parent.gotoAndStop(4);
} else if (_parent._color == "perple") {
_parent.gotoAndStop(5);
} else if (_parent._color == "gray") {
_parent.gotoAndStop(6);
}
_parent._yscale = 2400;
_parent._xscale = 0;
}
onClipEvent (enterFrame) {
_parent._xscale = _parent._xscale + 5;
_parent._yscale = _parent._yscale - 80;
if (_parent._yscale <= 0) {
_parent.removeMovieClip();
}
}
Instance of Symbol 73 MovieClip in Symbol 75 MovieClip [shot_left] Frame 1
onClipEvent (load) {
if (_parent._color == "blue") {
this.gotoAndStop(1);
} else if (_parent._color == "red") {
this.gotoAndStop(2);
} else if (_parent._color == "green") {
this.gotoAndStop(3);
} else if (_parent._color == "yellow") {
this.gotoAndStop(4);
} else if (_parent._color == "perple") {
this.gotoAndStop(5);
} else if (_parent._color == "gray") {
this.gotoAndStop(6);
}
}
Instance of Symbol 25 MovieClip in Symbol 75 MovieClip [shot_left] Frame 1
onClipEvent (enterFrame) {
_parent._rotation++;
if (_parent._parent[_parent.targetname].crearlimit <= 0) {
_parent._parent.attaching("effect1", _parent._x, _parent._y);
_parent.removeMovieClip();
}
}
Instance of Symbol 25 MovieClip in Symbol 77 MovieClip [line] Frame 1
onClipEvent (load) {
movex = _root.randomizer(-2, 2);
movey = _root.randomizer(-2, 2);
speed = _root.randomizer(1, 4);
}
onClipEvent (enterFrame) {
if (_parent._alpha > 0) {
_parent._alpha = _parent._alpha - speed;
_parent._x = _parent._x + movex;
_parent._y = _parent._y + movey;
_parent._rotation = _parent._rotation + (movex * 5);
} else {
_parent.removeMovieClip();
}
}
Instance of Symbol 25 MovieClip in Symbol 79 MovieClip [effect2] Frame 1
onClipEvent (load) {
_parent._xscale = 100;
_parent._yscale = 100;
}
onClipEvent (enterFrame) {
_parent._xscale = _parent._xscale - 5;
_parent._yscale = _parent._yscale - 5;
_parent._alpha = _parent._alpha - 2;
if (_parent._alpha <= 0) {
_parent.removeMovieClip();
}
}
Instance of Symbol 25 MovieClip in Symbol 80 MovieClip [effect1] Frame 1
onClipEvent (load) {
_parent._xscale = 0;
_parent._yscale = 0;
speed = 5;
}
onClipEvent (enterFrame) {
_parent._xscale = _parent._xscale + speed;
_parent._yscale = _parent._yscale + speed;
_parent._alpha = _parent._alpha - 2;
if (_parent._alpha <= 0) {
_parent.removeMovieClip();
}
}
Instance of Symbol 84 MovieClip "no" in Symbol 87 MovieClip [text_continuemenu] Frame 1
on (press) {
so = new Sound(this);
so.attachSound("se1");
so.start(0.02, 1);
_parent.flg = 1;
}
Instance of Symbol 86 MovieClip "yes" in Symbol 87 MovieClip [text_continuemenu] Frame 1
on (press) {
_parent._parent.game_flg = 3;
_parent.flg = 2;
so = new Sound(this);
so.attachSound("se3");
so.start(0.02, 1);
}
Instance of Symbol 25 MovieClip in Symbol 87 MovieClip [text_continuemenu] Frame 1
onClipEvent (load) {
_parent._xscale = 300;
_parent._yscale = 0;
count = 0;
flg = 0;
speed = 4;
}
onClipEvent (enterFrame) {
if ((_parent._xscale > 100) && (flg == 0)) {
_parent._xscale = _parent._xscale - (speed * 2);
_parent._yscale = _parent._yscale + speed;
if (_parent._xscale <= 100) {
flg = 1;
}
} else if ((_parent._yscale > 0) && ((_parent.flg == 1) || (_parent.flg == 2))) {
_parent._xscale = _parent._xscale + (speed * 2);
_parent._yscale = _parent._yscale - speed;
} else if ((_parent._yscale <= 0) && ((_parent.flg == 1) || (_parent.flg == 2))) {
if (_parent.flg == 2) {
_parent.removeMovieClip();
} else {
_root.gotoframe(4);
}
}
}
Instance of Symbol 25 MovieClip in Symbol 89 MovieClip [text_effect] Frame 1
onClipEvent (load) {
_parent.field._width = 60 + (_parent.text.length * 9);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._alpha = 50;
count = 0;
flg = 0;
speed = 10;
}
onClipEvent (enterFrame) {
if (_parent._yscale > 0) {
_parent._xscale = _parent._xscale + (speed * 4);
_parent._yscale = _parent._yscale - speed;
} else {
_parent.removeMovieClip();
}
}
Instance of Symbol 25 MovieClip in Symbol 91 MovieClip [text_output] Frame 1
onClipEvent (load) {
_parent.field._width = 60 + (_parent.text.length * 9);
_parent._xscale = 300;
_parent._yscale = 0;
count = 0;
flg = 0;
speed = 4;
}
onClipEvent (enterFrame) {
if ((_parent._xscale > 100) && (flg == 0)) {
_parent._xscale = _parent._xscale - (speed * 2);
_parent._yscale = _parent._yscale + speed;
if (_parent._xscale <= 100) {
so = new Sound(this);
so.attachSound("se9");
so.start(0.02, 1);
_parent._parent.text_effect(_parent.text, _parent._x, _parent._y);
flg = 1;
}
} else if (count <= _parent.limit) {
count++;
if (count == _parent.limit) {
_parent._parent.text_effect(_parent.text, _parent._x, _parent._y);
flg = 2;
}
} else if ((_parent._yscale > 0) && (flg == 2)) {
_parent._xscale = _parent._xscale + (speed * 2);
_parent._yscale = _parent._yscale - speed;
} else {
_parent.removeMovieClip();
}
}
Instance of Symbol 93 MovieClip in Symbol 94 MovieClip [stopping_field] Frame 1
onClipEvent (load) {
_parent._alpha = 0;
_parent.flg = 0;
}
onClipEvent (enterFrame) {
if ((_parent._alpha < 100) && (_parent.flg == 0)) {
_parent._alpha = _parent._alpha + 10;
if (_parent._alpha >= 100) {
_parent.flg == 1;
}
} else if (_parent.flg == 2) {
_parent._alpha = _parent._alpha - 10;
if (_parent._alpha <= 10) {
_parent.removeMovieClip();
}
}
}
on (press) {
count++;
}
Instance of Symbol 25 MovieClip in Symbol 95 MovieClip [effect6] Frame 1
onClipEvent (load) {
_parent._xscale = 100;
_parent._yscale = 0;
speed = 10;
}
onClipEvent (enterFrame) {
_parent._yscale = _parent._yscale + speed;
_parent._xscale = _parent._xscale - (speed / 2);
if (_parent._yscale >= 80) {
speed = 2;
_parent._alpha = _parent._alpha - speed;
if (_parent._alpha <= 0) {
_parent.removeMovieClip();
}
}
}
Instance of Symbol 25 MovieClip in Symbol 96 MovieClip [effect5] Frame 1
onClipEvent (load) {
_parent._xscale = 0;
_parent._yscale = 0;
speed = 10;
}
onClipEvent (enterFrame) {
_parent._xscale = _parent._xscale + speed;
_parent._yscale = _parent._yscale + speed;
if (_parent._xscale >= 80) {
speed = 2;
_parent._alpha = _parent._alpha - speed;
if (_parent._alpha <= 0) {
_parent.removeMovieClip();
}
}
}
Instance of Symbol 25 MovieClip in Symbol 97 MovieClip [checker] Frame 1
onClipEvent (enterFrame) {
if (flg == 1) {
name = "block_array" + _parent.y;
} else {
flg = 1;
}
if (_parent._parent[name][_parent.x] == 0) {
flg == 2;
count++;
if (count >= 30) {
_parent._parent.mkblock(_parent._color, _parent.x, _parent.y);
_parent.removeMovieClip();
}
}
}
Instance of Symbol 25 MovieClip in Symbol 99 MovieClip [guard] Frame 1
onClipEvent (load) {
_parent._xscale = 0;
_parent._yscale = 0;
_parent._rotation = -100;
flg = 0;
}
onClipEvent (enterFrame) {
if (flg == 0) {
_parent._xscale = _parent._xscale + 5;
_parent._yscale = _parent._yscale + 5;
_parent._rotation = _parent._rotation + 5;
if (_parent._xscale >= 100) {
flg = 1;
}
}
if (_parent.rmflg == 1) {
_parent._xscale = _parent._xscale - 4;
_parent._yscale = _parent._yscale - 4;
_parent._rotation = _parent._rotation + 10;
if (_parent._xscale <= 0) {
_parent.removeMovieClip();
}
}
}
Instance of Symbol 25 MovieClip in Symbol 103 MovieClip [del] Frame 1
onClipEvent (load) {
_parent._yscale = 0;
flg = 0;
}
onClipEvent (enterFrame) {
if (flg == 0) {
_parent._yscale = _parent._yscale + 10;
if (_parent._yscale >= 100) {
flg = 1;
}
} else if (flg == 1) {
count++;
if (count >= 120) {
flg = 2;
}
} else if (flg == 2) {
_parent._yscale = _parent._yscale - 10;
if (_parent._yscale <= 0) {
_parent.removeMovieClip();
}
}
}
Instance of Symbol 25 MovieClip "scr" in Symbol 105 MovieClip [char] Frame 1
onClipEvent (load) {
degree = 0;
flg = 0;
count = 0;
_parent._xscale = 0;
_parent._yscale = 0;
colflg = 0;
}
onClipEvent (enterFrame) {
if (colflg == 0) {
colflg = 1;
} else if (colflg == 1) {
colflg = 2;
col = new Color(_parent);
col.setRGB(_root.trancer(_parent.r, _parent.g, _parent.b));
_root.attaching("fire1", _parent._x, _parent._y);
a = 0;
while (a <= 6) {
_root.attaching("fire1", _parent._x, _parent._y);
col = new Color(_root[_root.attachObject]);
col.setRGB(_root.trancer(_parent.r, _parent.g, _parent.b));
_root[_root.attachObject].movex = Math.sin(a * 30) * 2;
_root[_root.attachObject].movey = Math.cos(a * 30) * 2;
a++;
}
so = new Sound(this);
so.attachSound("se10");
so.start(0.1, 1);
a = 0;
while (a <= 6) {
_root.attaching("fire2", _parent._x, _parent._y);
col = new Color(_root[_root.attachObject]);
col.setRGB(_root.trancer(_parent.r, _parent.g, _parent.b));
a++;
}
}
if (flg == 0) {
_parent._xscale = _parent._xscale + 4;
_parent._yscale = _parent._yscale + 4;
if (_parent._xscale >= 100) {
flg = 1;
}
}
_parent._rotation = _parent._rotation + (Math.cos(degree) * 5);
degree = degree + 0.2;
count++;
if (count >= 600) {
_parent._yscale = _parent._yscale - 4;
_parent._xscale = _parent._xscale - 4;
if (_parent._xscale <= 0) {
_parent.removeMovieClip();
}
}
}
Instance of Symbol 25 MovieClip in Symbol 107 MovieClip [fire3] Frame 1
onClipEvent (load) {
_parent.movex = _root.randomizer(-2, 2);
_parent.movey = _root.randomizer(-6, 0);
col = new Color(_parent);
col.setRGB(_root.trancer(_root.intrandomizer(0, 255), _root.intrandomizer(0, 255), _root.intrandomizer(0, 255)));
}
onClipEvent (enterFrame) {
_parent._x = _parent._x + _parent.movex;
_parent._y = _parent._y + _parent.movey;
_parent.movey = _parent.movey + 0.2;
_parent._xscale = _parent._xscale - 1;
_parent._yscale = _parent._yscale - 1;
if (_parent._yscale <= 20) {
_parent.removeMovieClip();
}
}
Instance of Symbol 25 MovieClip in Symbol 108 MovieClip [fire2] Frame 1
onClipEvent (load) {
_parent.movex = _root.randomizer(-2, 2);
_parent.movey = _root.randomizer(-3, 0);
}
onClipEvent (enterFrame) {
_parent._x = _parent._x + _parent.movex;
_parent._y = _parent._y + _parent.movey;
_parent.movey = _parent.movey + 0.1;
_parent._xscale = _parent._xscale - 1;
_parent._yscale = _parent._yscale - 1;
if (_parent._yscale <= 40) {
_parent.removeMovieClip();
}
}
Instance of Symbol 25 MovieClip in Symbol 109 MovieClip [fire1] Frame 1
onClipEvent (enterFrame) {
_parent._x = _parent._x + _parent.movex;
_parent._y = _parent._y + _parent.movey;
_parent._xscale = _parent._xscale - 3;
_parent._yscale = _parent._yscale - 3;
if (_parent._yscale <= 0) {
_parent.removeMovieClip();
}
}
Instance of Symbol 113 MovieClip "bottun" in Symbol 127 MovieClip Frame 1
onClipEvent (load) {
flg = 0;
}
on (rollOver) {
if (flg == 0) {
_parent.inform._alpha = 100;
flg = 1;
}
}
on (rollOut) {
if (flg == 1) {
_parent.inform._alpha = 0;
flg = 0;
}
}
on (press) {
so = new Sound(this);
so.attachSound("se2");
so.start(0.1, 1);
_root.gotoframe(4);
}
Instance of Symbol 126 MovieClip "inform" in Symbol 127 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
Symbol 541 MovieClip Frame 1
stop();
Instance of Symbol 25 MovieClip in Symbol 541 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.flg == 1) {
_parent.gotoAndPlay(2);
}
}
Symbol 546 MovieClip Frame 1
stop();
Instance of Symbol 25 MovieClip in Symbol 546 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.flg == 1) {
_parent.gotoAndPlay(2);
}
}
Symbol 546 MovieClip Frame 91
if (flg == 1) {
this.gotoAndPlay(2);
} else {
this.gotoAndStop(1);
}
Symbol 692 MovieClip Frame 1
stop();
Symbol 692 MovieClip Frame 59
this.gotoAndPlay(2);
Instance of Symbol 692 MovieClip "question" in Symbol 693 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 699 MovieClip in Symbol 700 MovieClip Frame 1
onClipEvent (load) {
firstx = this._x;
count = 0;
flg = 0;
}
onClipEvent (enterFrame) {
count++;
if (flg == 0) {
this._x = this._x - 0.1;
if (count == 60) {
count = 0;
flg = 1;
}
} else if ((flg = -1)) {
this._x = this._x + 0.1;
if (count == 60) {
count = 0;
flg = 0;
this._x = firstx;
}
}
}
Instance of Symbol 699 MovieClip in Symbol 700 MovieClip Frame 1
onClipEvent (load) {
firstx = this._x;
count = 0;
flg = 0;
}
onClipEvent (enterFrame) {
count++;
if (flg == 0) {
this._x = this._x + 0.1;
if (count == 60) {
count = 0;
flg = 1;
}
} else if ((flg = -1)) {
this._x = this._x - 0.1;
if (count == 60) {
count = 0;
flg = 0;
this._x = firstx;
}
}
}
Symbol 709 MovieClip Frame 1
stop();
Symbol 712 MovieClip Frame 1
stop();
Symbol 713 MovieClip Frame 1
stop();
Symbol 713 MovieClip Frame 31
stop();
Symbol 795 MovieClip Frame 1
stop();
Symbol 795 MovieClip Frame 2
stop();
Symbol 797 MovieClip Frame 1
stop();
Symbol 797 MovieClip Frame 2
stop();
Symbol 806 MovieClip Frame 1
stop();
Symbol 824 MovieClip Frame 1
Symbol 843 MovieClip Frame 1
stop();
Symbol 843 MovieClip Frame 2
stop();
Symbol 845 MovieClip Frame 1
stop();
Symbol 850 MovieClip Frame 1
stop();
Symbol 850 MovieClip Frame 2
stop();
Symbol 851 MovieClip Frame 1
stop();
Symbol 881 MovieClip Frame 1
stop();
Symbol 881 MovieClip Frame 2
_quality = "HIGH";
Instance of Symbol 799 MovieClip in Symbol 881 MovieClip Frame 2
on (press) {
}
Instance of Symbol 816 MovieClip in Symbol 881 MovieClip Frame 2
on (press) {
so = new Sound(this);
so.attachSound("type");
so.start(0, 1);
_parent.gotoAndStop(_parent._currentframe + 1);
}
Instance of Symbol 820 MovieClip in Symbol 881 MovieClip Frame 2
on (press) {
so = new Sound(this);
so.attachSound("type");
so.start(0, 1);
if ((_root._currentframe == 7) || (_root._currentframe == 10)) {
var Quarity = SharedObject.getLocal("quaritydata");
if (Quarity.data.quarity == "high") {
_quality = "HIGH";
} else {
_quality = "LOW";
}
}
_parent.gotoAndStop(1);
}
Instance of Symbol 831 MovieClip in Symbol 881 MovieClip Frame 3
on (press) {
so = new Sound(this);
so.attachSound("type");
so.start(0, 1);
_parent.gotoAndStop(_parent._currentframe - 1);
}
Instance of Symbol 831 MovieClip in Symbol 881 MovieClip Frame 4
on (press) {
so = new Sound(this);
so.attachSound("type");
so.start(0, 1);
_parent.gotoAndStop(_parent._currentframe - 1);
}
Instance of Symbol 703 MovieClip in Symbol 881 MovieClip Frame 5
on (press) {
if (_global.mode == 1) {
so = new Sound(this);
so.attachSound("type");
so.start(0, 1);
_global.mode = 0;
a = 1;
while (a <= 6) {
name = "b" + a;
_parent[name].rollflg = 1;
a++;
}
}
}
Instance of Symbol 867 MovieClip in Symbol 881 MovieClip Frame 6
on (press) {
so = new Sound(this);
so.attachSound("se1");
so.start(0, 1);
var Data = SharedObject.getLocal("cleardata");
a = 0;
while (a <= 40) {
name = "clearflg" + a;
Data.data[name] = null;
a++;
}
a = 0;
while (a <= 40) {
name = "c" + a;
_root[name].flg = 0;
a++;
}
var Data = SharedObject.getLocal("modedata");
Data.data.mode = null;
var Data = SharedObject.getLocal("quaritydata");
Data.data.quarity = null;
_root.attaching("del", 170, 320);
}
Instance of Symbol 820 MovieClip in Symbol 881 MovieClip Frame 6
on (press) {
so = new Sound(this);
so.attachSound("type");
so.start(0, 1);
if ((_root._currentframe == 7) || (_root._currentframe == 10)) {
var Quarity = SharedObject.getLocal("quaritydata");
if (Quarity.data.quarity == "high") {
_quality = "HIGH";
} else {
_quality = "LOW";
}
}
_parent.gotoAndStop(1);
}
Symbol 886 MovieClip Frame 1
function attaching(ID, attachx, attachy) {
_global.attachcount++;
attachObject = "object" + _global.attachcount;
this.attachMovie(ID, attachObject, _global.attachcount);
this[attachObject]._x = attachx;
this[attachObject]._y = attachy;
}
function mkblock(target_color, attachx, attachy) {
name = "block_array" + attachy;
if (this[name][attachx] == 0) {
attaching("block", 30 + (attachx * 20), 430 + (attachy * 20));
this[attachObject]._color = target_color;
this[attachObject].x = attachx;
this[attachObject].y = attachy;
blockcount++;
this[name][attachx] = 1;
}
}
function rmblock(x, y) {
name = "block_array" + y;
this[name][x] = 0;
}
function mkarea(x, y, wid, hei, crearlimit) {
name = "area" + areanum;
if (areanum == 9) {
areanum = 0;
} else {
areanum++;
}
attaching("area", x, y);
this[attachObject]._name = name;
this[name].wid = wid;
this[name].hei = hei;
this[name].crearlimit = crearlimit;
crearcount++;
}
function mkguard(x, y) {
name = "guard" + guardnum;
if (guardnum == 9) {
guardnum = 0;
} else {
guardnum++;
}
attaching("guard", x, y);
this[attachObject]._name = name;
}
function rmguard() {
a = 0;
while (a < 10) {
name = "guard" + a;
this[name].rmflg = 1;
a++;
}
}
function texting(output, time, x, y) {
attaching("text_output", x, y);
this[attachObject].swapDepths(_global.attachcount + 50000);
this[attachObject].text = output;
this[attachObject].limit = time;
}
function text_effect(output, x, y) {
attaching("text_effect", x, y);
this[attachObject].swapDepths(_global.attachcount + 50000);
this[attachObject].text = output;
}
function stopping() {
if (!stop_field) {
attaching("stopping_field", 0, 0);
this[attachObject].swapDepths(_global.attachcount + 30000);
this[attachObject]._name = "stop_field";
}
}
function starting() {
if (stop_field) {
stop_field.flg = 2;
}
}
drug_flg = "true";
blockcount = null;
totalblock = null;
game_flg = 0;
areanum = 0;
guardnum = 0;
a = 0;
while (a < 10) {
name = "block_array" + a;
this[name] = new Array();
b = 0;
while (b < 15) {
this[name][b] = 0;
b++;
}
a++;
}
Instance of Symbol 25 MovieClip "stagemaster" in Symbol 886 MovieClip Frame 1
onClipEvent (load) {
count = 0;
flg = 0;
}
onClipEvent (enterFrame) {
if (_parent.game_flg == 0) {
if (_global.stagenum == 1) {
_parent.mkarea(50, 50, 240, 240, 4);
_parent.mkblock("blue", 1, 0);
_parent.mkblock("blue", 3, 0);
_parent.mkblock("blue", 5, 0);
_parent.mkblock("blue", 7, 0);
_parent.mkblock("blue", 9, 0);
_parent.mkblock("blue", 11, 0);
_parent.mkblock("blue", 13, 0);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "1 - a";
} else if (_global.stagenum == 2) {
_parent.mkarea(60, 60, 220, 100, 2);
_parent.mkarea(60, 220, 220, 100, 2);
_parent.mkblock("blue", 1, 1);
_parent.mkblock("blue", 3, 1);
_parent.mkblock("blue", 5, 1);
_parent.mkblock("blue", 7, 1);
_parent.mkblock("blue", 9, 1);
_parent.mkblock("blue", 11, 1);
_parent.mkblock("blue", 13, 1);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "1 - b";
} else if (_global.stagenum == 3) {
_parent.mkarea(110, 110, 120, 120, 3);
_parent.mkblock("blue", 1, 1);
_parent.mkblock("blue", 3, 1);
_parent.mkblock("blue", 5, 1);
_parent.mkblock("blue", 7, 1);
_parent.mkblock("blue", 9, 1);
_parent.mkblock("blue", 11, 1);
_parent.mkblock("blue", 13, 1);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "1 - c";
} else if (_global.stagenum == 4) {
_parent.mkarea(60, 60, 80, 80, 1);
_parent.mkarea(60, 200, 80, 80, 1);
_parent.mkarea(200, 60, 80, 80, 1);
_parent.mkarea(200, 200, 80, 80, 1);
_parent.mkblock("blue", 1, 2);
_parent.mkblock("blue", 3, 3);
_parent.mkblock("blue", 5, 4);
_parent.mkblock("blue", 6, 1);
_parent.mkblock("blue", 7, 5);
_parent.mkblock("blue", 8, 1);
_parent.mkblock("blue", 9, 4);
_parent.mkblock("blue", 11, 3);
_parent.mkblock("blue", 13, 2);
_parent.mkguard(170, 170);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "1 - d";
} else if (_global.stagenum == 5) {
_parent.mkarea(60, 80, 90, 150, 2);
_parent.mkarea(190, 80, 90, 150, 2);
_parent.mkblock("blue", 5, 2);
_parent.mkblock("blue", 5, 4);
_parent.mkblock("blue", 5, 6);
_parent.mkblock("blue", 7, 4);
_parent.mkblock("blue", 9, 4);
_parent.mkblock("blue", 9, 2);
_parent.mkblock("blue", 9, 6);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "1 - final";
} else if (_global.stagenum == 6) {
flg = 0;
if (count == 1) {
_parent.texting("all stage crear!!!!", 60, 170, 300);
var Data = SharedObject.getLocal("cleardata");
Data.data.clearflg1 = 1;
}
count++;
if (count == 140) {
_root.gotoframe(4);
}
} else if (_global.stagenum == 8) {
_parent.mkarea(80, 200, 80, 80, 1);
_parent.mkarea(110, 60, 120, 120, 2);
_parent.mkarea(180, 200, 80, 80, 1);
_parent.mkblock("green", 2, 6);
_parent.mkblock("green", 4, 4);
_parent.mkblock("green", 6, 2);
_parent.mkblock("green", 7, 5);
_parent.mkblock("green", 7, 0);
_parent.mkblock("green", 8, 2);
_parent.mkblock("green", 10, 4);
_parent.mkblock("green", 12, 6);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "2 - b";
} else if (_global.stagenum == 9) {
_parent.mkarea(60, 60, 100, 100, 1);
_parent.mkarea(180, 150, 100, 100, 1);
_parent.mkarea(80, 80, 180, 150, 3);
_parent.mkblock("green", 1, 2);
_parent.mkblock("green", 3, 6);
_parent.mkblock("green", 5, 2);
_parent.mkblock("green", 7, 6);
_parent.mkblock("green", 9, 2);
_parent.mkblock("green", 11, 6);
_parent.mkblock("green", 13, 2);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "2 - c";
} else if (_global.stagenum == 10) {
_parent.mkarea(100, 60, 140, 70, 1);
_parent.mkarea(60, 100, 70, 140, 1);
_parent.mkarea(210, 100, 70, 140, 1);
_parent.mkarea(100, 210, 140, 70, 1);
_parent.mkblock("green", 1, 4);
_parent.mkblock("green", 3, 1);
_parent.mkblock("green", 5, 4);
_parent.mkblock("green", 7, 1);
_parent.mkblock("green", 9, 4);
_parent.mkblock("green", 11, 1);
_parent.mkblock("green", 13, 4);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "2 - d";
} else if (_global.stagenum == 11) {
_parent.mkarea(50, 50, 120, 120, 3);
_parent.mkarea(70, 170, 100, 100, 2);
_parent.mkarea(170, 70, 100, 100, 2);
_parent.mkarea(170, 170, 120, 120, 3);
_parent.mkblock("green", 1, 0);
_parent.mkblock("green", 2, 2);
_parent.mkblock("green", 3, 4);
_parent.mkblock("green", 4, 6);
_parent.mkblock("green", 5, 8);
_parent.mkblock("green", 6, 6);
_parent.mkblock("green", 7, 4);
_parent.mkblock("green", 8, 2);
_parent.mkblock("green", 9, 0);
_parent.mkblock("green", 10, 2);
_parent.mkblock("green", 11, 4);
_parent.mkblock("green", 12, 6);
_parent.mkblock("green", 13, 8);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "2 - final";
} else if (_global.stagenum == 7) {
_parent.mkarea(20, 20, 300, 80, 6);
_parent.mkblock("green", 1, 0);
_parent.mkblock("green", 1, 2);
_parent.mkblock("green", 1, 4);
_parent.mkblock("green", 1, 6);
_parent.mkblock("green", 1, 8);
_parent.mkblock("green", 13, 6);
_parent.mkblock("green", 13, 4);
_parent.mkblock("green", 13, 2);
_parent.mkblock("green", 13, 0);
_parent.mkblock("green", 13, 8);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "2 - a";
} else if (_global.stagenum == 12) {
flg = 0;
if (count == 1) {
_parent.texting("all stage crear!!!!", 60, 170, 300);
var Data = SharedObject.getLocal("cleardata");
Data.data.clearflg2 = 1;
}
count++;
if (count == 140) {
_root.gotoframe(4);
}
} else if (_global.stagenum == 16) {
_parent.mkarea(60, 60, 100, 100, 2);
_parent.mkarea(90, 90, 100, 100, 2);
_parent.mkarea(120, 120, 100, 100, 2);
_parent.mkarea(150, 150, 100, 100, 2);
_parent.mkarea(180, 180, 100, 100, 2);
_parent.mkblock("red", 1, 0);
_parent.mkblock("red", 3, 1);
_parent.mkblock("red", 5, 2);
_parent.mkblock("red", 7, 3);
_parent.mkblock("red", 9, 4);
_parent.mkblock("red", 11, 5);
_parent.mkblock("red", 13, 6);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "3 - d";
} else if (_global.stagenum == 17) {
_parent.mkarea(60, 60, 220, 60, 2);
_parent.mkarea(60, 120, 220, 60, 2);
_parent.mkarea(60, 220, 220, 60, 2);
_parent.mkarea(60, 280, 220, 60, 2);
_parent.mkarea(140, 60, 60, 280, 6);
_parent.mkblock("red", 2, 8);
_parent.mkblock("red", 3, 6);
_parent.mkblock("red", 4, 8);
_parent.mkblock("red", 5, 6);
_parent.mkblock("red", 6, 8);
_parent.mkblock("red", 7, 6);
_parent.mkblock("red", 8, 8);
_parent.mkblock("red", 9, 6);
_parent.mkblock("red", 10, 8);
_parent.mkblock("red", 11, 6);
_parent.mkblock("red", 12, 8);
_parent.mkguard(40, 160);
_parent.mkguard(300, 160);
_parent.mkguard(80, 200);
_parent.mkguard(260, 200);
_parent.mkguard(120, 200);
_parent.mkguard(220, 200);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "3 - final";
} else if (_global.stagenum == 13) {
_parent.mkarea(150, 150, 40, 40, 2);
_parent.mkblock("red", 6, 4);
_parent.mkblock("red", 6, 6);
_parent.mkblock("red", 8, 4);
_parent.mkblock("red", 8, 6);
_parent.mkguard(130, 170);
_parent.mkguard(210, 170);
_parent.mkguard(170, 130);
_parent.mkguard(130, 130);
_parent.mkguard(210, 130);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "3 - a";
} else if (_global.stagenum == 14) {
_parent.mkarea(20, 250, 300, 100, 7);
_parent.mkblock("red", 1, 0);
_parent.mkblock("red", 3, 0);
_parent.mkblock("red", 5, 0);
_parent.mkblock("red", 7, 0);
_parent.mkblock("red", 9, 0);
_parent.mkblock("red", 11, 0);
_parent.mkblock("red", 13, 0);
_parent.mkguard(40, 230);
_parent.mkguard(80, 370);
_parent.mkguard(120, 230);
_parent.mkguard(220, 230);
_parent.mkguard(260, 370);
_parent.mkguard(300, 230);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "3 - b";
} else if (_global.stagenum == 15) {
_parent.mkarea(145, 80, 50, 150, 2);
_parent.mkarea(65, 160, 150, 50, 2);
_parent.mkarea(125, 160, 150, 50, 2);
_parent.mkarea(145, 140, 50, 150, 2);
_parent.mkarea(80, 95, 180, 180, 6);
_parent.mkblock("red", 1, 0);
_parent.mkblock("red", 3, 0);
_parent.mkblock("red", 5, 0);
_parent.mkblock("red", 7, 0);
_parent.mkblock("red", 9, 0);
_parent.mkblock("red", 11, 0);
_parent.mkblock("red", 13, 0);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "3 - c";
} else if (_global.stagenum == 18) {
flg = 0;
if (count == 1) {
_parent.texting("all stage crear!!!!", 60, 170, 300);
var Data = SharedObject.getLocal("cleardata");
Data.data.clearflg3 = 1;
}
count++;
if (count == 140) {
_root.gotoframe(4);
}
} else if (_global.stagenum == 20) {
_parent.mkarea(20, 150, 80, 70, 2);
_parent.mkarea(240, 150, 80, 70, 2);
_parent.mkblock("yellow", 1, 0);
_parent.mkblock("yellow", 2, 1);
_parent.mkblock("yellow", 3, 2);
_parent.mkblock("yellow", 11, 2);
_parent.mkblock("yellow", 12, 1);
_parent.mkblock("yellow", 13, 0);
_parent.mkguard(40, 130);
_parent.mkguard(80, 130);
_parent.mkguard(300, 130);
_parent.mkguard(260, 130);
_parent.mkguard(40, 240);
_parent.mkguard(80, 260);
_parent.mkguard(300, 240);
_parent.mkguard(260, 260);
_parent.mkguard(170, 180);
_parent.mkguard(170, 220);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "4 - b";
} else if (_global.stagenum == 22) {
_parent.mkarea(80, 80, 70, 70, 1);
_parent.mkarea(150, 30, 40, 120, 1);
_parent.mkarea(30, 150, 120, 40, 1);
_parent.mkarea(190, 150, 120, 40, 1);
_parent.mkarea(190, 80, 70, 70, 1);
_parent.mkarea(80, 190, 70, 70, 1);
_parent.mkarea(190, 190, 70, 70, 1);
_parent.mkarea(150, 190, 40, 120, 1);
_parent.mkarea(110, 110, 120, 120, 8);
_parent.mkblock("yellow", 3, 5);
_parent.mkblock("yellow", 2, 2);
_parent.mkblock("yellow", 4, 3);
_parent.mkblock("yellow", 5, 6);
_parent.mkblock("yellow", 6, 4);
_parent.mkblock("yellow", 7, 7);
_parent.mkblock("yellow", 8, 4);
_parent.mkblock("yellow", 9, 6);
_parent.mkblock("yellow", 10, 3);
_parent.mkblock("yellow", 12, 2);
_parent.mkblock("yellow", 11, 5);
_parent.mkguard(170, 170);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "4 - d";
} else if (_global.stagenum == 19) {
_parent.mkarea(50, 50, 240, 240, 6);
_parent.mkarea(70, 70, 200, 200, 5);
_parent.mkarea(90, 90, 160, 160, 4);
_parent.mkarea(110, 110, 120, 120, 3);
_parent.mkarea(130, 130, 80, 80, 2);
_parent.mkarea(150, 150, 40, 40, 1);
_parent.mkblock("yellow", 3, 4);
_parent.mkblock("yellow", 5, 4);
_parent.mkblock("yellow", 7, 2);
_parent.mkblock("yellow", 7, 6);
_parent.mkblock("yellow", 9, 4);
_parent.mkblock("yellow", 11, 4);
_parent.mkguard(120, 210);
_parent.mkguard(220, 210);
_parent.mkguard(80, 250);
_parent.mkguard(260, 250);
_parent.mkguard(40, 290);
_parent.mkguard(300, 290);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "4 - a";
} else if (_global.stagenum == 21) {
_parent.mkarea(150, 380, 40, 220, 4);
_parent.mkarea(130, 400, 40, 180, 2);
_parent.mkarea(170, 400, 40, 180, 2);
_parent.mkblock("yellow", 0, 0);
_parent.mkblock("yellow", 0, 3);
_parent.mkblock("yellow", 0, 6);
_parent.mkblock("yellow", 14, 0);
_parent.mkblock("yellow", 14, 3);
_parent.mkblock("yellow", 14, 6);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "4 - c";
} else if (_global.stagenum == 23) {
_parent.mkarea(60, 50, 220, 180, 6);
_parent.mkarea(60, 20, 80, 60, 1);
_parent.mkarea(20, 80, 80, 60, 1);
_parent.mkarea(20, 140, 80, 60, 1);
_parent.mkarea(60, 200, 80, 60, 1);
_parent.mkarea(200, 20, 80, 60, 1);
_parent.mkarea(240, 80, 80, 60, 1);
_parent.mkarea(240, 140, 80, 60, 1);
_parent.mkarea(200, 200, 80, 60, 1);
_parent.mkarea(140, 110, 60, 60, 2);
_parent.mkblock("yellow", 5, 1);
_parent.mkblock("yellow", 5, 3);
_parent.mkblock("yellow", 5, 5);
_parent.mkblock("yellow", 7, 1);
_parent.mkblock("yellow", 7, 3);
_parent.mkblock("yellow", 7, 5);
_parent.mkblock("yellow", 9, 1);
_parent.mkblock("yellow", 9, 3);
_parent.mkblock("yellow", 9, 5);
_parent.mkblock("yellow", 5, 7);
_parent.mkblock("yellow", 7, 7);
_parent.mkblock("yellow", 9, 7);
_parent.mkguard(40, 60);
_parent.mkguard(300, 60);
_parent.mkguard(40, 220);
_parent.mkguard(300, 220);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "4 - final";
} else if (_global.stagenum == 24) {
flg = 0;
if (count == 1) {
_parent.texting("all stage crear!!!!", 60, 170, 300);
var Data = SharedObject.getLocal("cleardata");
Data.data.clearflg4 = 1;
}
count++;
if (count == 140) {
_root.gotoframe(4);
}
} else if (_global.stagenum == 27) {
_parent.mkarea(50, 50, 240, 80, 4);
_parent.mkarea(210, 50, 80, 240, 4);
_parent.mkarea(50, 210, 240, 80, 4);
_parent.mkarea(65, 65, 50, 50, 1);
_parent.mkarea(145, 65, 50, 50, 1);
_parent.mkarea(225, 65, 50, 50, 1);
_parent.mkarea(225, 225, 50, 50, 1);
_parent.mkarea(145, 225, 50, 50, 1);
_parent.mkarea(65, 225, 50, 50, 1);
_parent.mkarea(140, 460, 60, 60, 1);
_parent.mkblock("perple", 4, 0);
_parent.mkblock("perple", 4, 2);
_parent.mkblock("perple", 4, 4);
_parent.mkblock("perple", 4, 6);
_parent.mkblock("perple", 6, 0);
_parent.mkblock("perple", 8, 0);
_parent.mkblock("perple", 10, 0);
_parent.mkblock("perple", 10, 2);
_parent.mkblock("perple", 10, 4);
_parent.mkblock("perple", 10, 6);
_parent.mkblock("perple", 8, 6);
_parent.mkblock("perple", 6, 6);
_parent.mkblock("perple", 4, 6);
_parent.mkguard(250, 170);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "5 - c";
} else if (_global.stagenum == 28) {
_parent.mkarea(90, 60, 30, 220, 2);
_parent.mkarea(60, 90, 220, 30, 2);
_parent.mkarea(155, 60, 30, 220, 2);
_parent.mkarea(60, 155, 220, 30, 2);
_parent.mkarea(220, 60, 30, 220, 2);
_parent.mkarea(60, 220, 220, 30, 2);
_parent.mkarea(120, 120, 35, 35, 1);
_parent.mkarea(185, 120, 35, 35, 1);
_parent.mkarea(120, 185, 35, 35, 1);
_parent.mkarea(185, 185, 35, 35, 1);
_parent.mkblock("perple", 1, 0);
_parent.mkblock("perple", 5, 0);
_parent.mkblock("perple", 9, 0);
_parent.mkblock("perple", 2, 2);
_parent.mkblock("perple", 6, 2);
_parent.mkblock("perple", 10, 2);
_parent.mkblock("perple", 3, 4);
_parent.mkblock("perple", 7, 4);
_parent.mkblock("perple", 11, 4);
_parent.mkblock("perple", 4, 6);
_parent.mkblock("perple", 8, 6);
_parent.mkblock("perple", 12, 6);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "5 - final";
} else if (_global.stagenum == 26) {
_parent.mkarea(80, 30, 180, 180, 8);
_parent.mkarea(30, 30, 140, 30, 1);
_parent.mkarea(170, 30, 140, 30, 1);
_parent.mkarea(100, 60, 140, 30, 1);
_parent.mkarea(30, 90, 140, 30, 1);
_parent.mkarea(170, 90, 140, 30, 1);
_parent.mkarea(30, 150, 140, 30, 1);
_parent.mkarea(170, 150, 140, 30, 1);
_parent.mkarea(100, 120, 140, 30, 1);
_parent.mkarea(100, 180, 140, 30, 1);
_parent.mkblock("perple", 7, 1);
_parent.mkblock("perple", 4, 2);
_parent.mkblock("perple", 10, 2);
_parent.mkblock("perple", 7, 3);
_parent.mkblock("perple", 7, 5);
_parent.mkblock("perple", 7, 7);
_parent.mkblock("perple", 4, 4);
_parent.mkblock("perple", 10, 4);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "5 - b";
} else if (_global.stagenum == 25) {
_parent.mkarea(80, 80, 60, 60, 1);
_parent.mkarea(220, 160, 60, 60, 1);
_parent.mkarea(160, 280, 60, 60, 1);
_parent.mkarea(260, 460, 60, 60, 1);
_parent.mkblock("perple", 1, 0);
_parent.mkblock("perple", 1, 2);
_parent.mkblock("perple", 1, 4);
_parent.mkblock("perple", 1, 6);
_parent.mkblock("perple", 1, 8);
_parent.mkblock("perple", 3, 8);
_parent.mkblock("perple", 5, 8);
_parent.mkguard(60, 60);
_parent.mkguard(120, 160);
_parent.mkguard(200, 200);
_parent.mkguard(240, 240);
_parent.mkguard(140, 320);
_parent.mkguard(180, 360);
_parent.mkguard(240, 500);
_parent.mkguard(280, 540);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "5 - a";
} else if (_global.stagenum == 29) {
flg = 0;
if (count == 1) {
_parent.texting("all stage crear!!!!", 60, 170, 300);
var Data = SharedObject.getLocal("cleardata");
Data.data.clearflg5 = 1;
}
count++;
if (count == 140) {
_root.gotoframe(4);
}
} else if (_global.stagenum == 31) {
_parent.mkarea(150, 220, 40, 40, 1);
_parent.mkblock("gray", 4, 1);
_parent.mkblock("gray", 10, 1);
_parent.stopping();
_parent.mkguard(170, 120);
_parent.mkguard(170, 160);
_parent.mkguard(170, 200);
_parent.mkguard(170, 280);
_parent.mkguard(170, 320);
_parent.mkguard(170, 360);
_parent.game_flg = 1;
this.stagename = "6 - a";
} else if (_global.stagenum == 32) {
_parent.mkarea(140, 20, 60, 600, 3);
_parent.mkarea(140, 20, 60, 300, 3);
_parent.mkarea(140, 20, 60, 240, 3);
_parent.mkarea(140, 20, 60, 180, 3);
_parent.mkarea(140, 20, 60, 120, 3);
_parent.mkarea(60, 20, 220, 60, 3);
_parent.mkblock("gray", 7, 0);
_parent.mkblock("gray", 2, 1);
_parent.mkblock("gray", 12, 1);
_parent.stopping();
_parent.mkguard(120, 40);
_parent.mkguard(120, 100);
_parent.mkguard(120, 160);
_parent.mkguard(120, 220);
_parent.mkguard(120, 280);
_parent.mkguard(220, 60);
_parent.mkguard(220, 120);
_parent.mkguard(220, 180);
_parent.mkguard(220, 240);
_parent.mkguard(220, 300);
_parent.game_flg = 1;
this.stagename = "6 - b";
} else if (_global.stagenum == 35) {
_parent.mkarea(32, 32, 60, 60, 1);
_parent.mkarea(176, 32, 60, 60, 1);
_parent.mkarea(32, 176, 60, 60, 1);
_parent.mkarea(176, 176, 60, 60, 1);
_parent.mkarea(104, 104, 60, 60, 1);
_parent.mkarea(246, 104, 60, 60, 1);
_parent.mkarea(104, 246, 60, 60, 1);
_parent.mkarea(246, 246, 60, 60, 1);
_parent.mkblock("gray", 1, 5);
_parent.mkblock("gray", 3, 5);
_parent.mkblock("gray", 5, 5);
_parent.mkblock("gray", 13, 5);
_parent.mkblock("gray", 9, 5);
_parent.mkblock("gray", 11, 5);
_parent.mkblock("gray", 4, 7);
_parent.mkblock("gray", 6, 7);
_parent.mkblock("gray", 8, 7);
_parent.mkblock("gray", 10, 7);
_parent.mkguard(134, 62);
_parent.mkguard(276, 62);
_parent.mkguard(62, 134);
_parent.mkguard(206, 134);
_parent.mkguard(134, 206);
_parent.mkguard(276, 206);
_parent.mkguard(62, 276);
_parent.mkguard(206, 276);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "6 - final";
} else if (_global.stagenum == 33) {
_parent.mkarea(80, 60, 60, 120, 2);
_parent.mkarea(140, 60, 60, 120, 3);
_parent.mkarea(200, 60, 60, 120, 1);
_parent.mkblock("gray", 2, 0);
_parent.mkblock("gray", 4, 0);
_parent.mkblock("gray", 7, 8);
_parent.mkblock("gray", 6, 6);
_parent.mkblock("gray", 8, 6);
_parent.mkblock("gray", 11, 3);
_parent.mkblock("gray", 9, 3);
_parent.mkguard(200, 220);
_parent.mkguard(140, 220);
_parent.mkguard(200, 260);
_parent.mkguard(140, 260);
_parent.mkguard(80, 260);
_parent.mkguard(80, 220);
_parent.mkguard(260, 260);
_parent.mkguard(260, 220);
_parent.mkguard(300, 220);
_parent.mkguard(40, 220);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "6 - c";
} else if (_global.stagenum == 34) {
_parent.mkarea(40, 40, 80, 80, 1);
_parent.mkarea(220, 40, 80, 80, 1);
_parent.mkarea(220, 220, 80, 80, 1);
_parent.mkarea(40, 220, 80, 80, 1);
_parent.mkarea(80, 80, 80, 80, 1);
_parent.mkarea(180, 80, 80, 80, 1);
_parent.mkarea(80, 180, 80, 80, 1);
_parent.mkarea(180, 180, 80, 80, 1);
_parent.mkarea(120, 120, 100, 100, 1);
_parent.mkblock("gray", 3, 4);
_parent.mkblock("gray", 3, 2);
_parent.mkblock("gray", 5, 4);
_parent.mkblock("gray", 7, 6);
_parent.mkblock("gray", 9, 4);
_parent.mkblock("gray", 11, 2);
_parent.mkblock("gray", 11, 4);
_parent.mkguard(120, 120);
_parent.mkguard(40, 40);
_parent.mkguard(220, 120);
_parent.mkguard(300, 40);
_parent.mkguard(120, 220);
_parent.mkguard(40, 300);
_parent.mkguard(220, 220);
_parent.mkguard(300, 300);
_parent.mkguard(170, 170);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "6 - d";
} else if (_global.stagenum == 36) {
flg = 0;
if (count == 1) {
_parent.texting("all stage crear!!!!", 120, 170, 200);
var Data = SharedObject.getLocal("cleardata");
Data.data.clearflg6 = 1;
} else if (count == 30) {
_parent.texting("this route complete!!!!!!!", 120, 170, 300);
}
count++;
if (count == 210) {
_root.gotoframe(4);
}
}
} else if (_parent.game_flg == 1) {
count++;
if ((flg == 0) && (count == 1)) {
_parent.texting("stage " + stagename, 125, 170, 200);
flg++;
} else if ((flg == 1) && (count == 30)) {
_parent.texting("ready", 30, 170, 300);
flg++;
} else if ((flg == 2) && (count == 120)) {
_parent.texting("start!", 10, 170, 300);
_parent.starting();
flg = 0;
}
}
if (_parent.crearcount == 0) {
a = 0;
while (a <= 10) {
b = 0;
while (b <= 15) {
_parent.rmblock(b, a);
b++;
}
a++;
}
_parent.game_flg = 0;
_global.stagenum++;
flg = 0;
count = 0;
_parent.crearcount = undefined;
_parent.rmguard();
} else if (_parent.blockcount == 0) {
if (flg >= 50) {
a = 0;
while (a <= 10) {
b = 0;
while (b <= 15) {
_parent.rmblock(b, a);
b++;
}
a++;
}
_parent.game_flg = 2;
flg = 0;
count = 0;
_parent.crearcount = undefined;
_parent.blockcount = undefined;
_parent.stopping();
} else {
flg++;
}
} else if (_parent.game_flg == 2) {
count++;
if (flg == 0) {
_parent.texting("failed....", 60, 170, 200);
flg = 1;
} else if ((flg == 1) && (count == 20)) {
_parent.texting("continue?", 60, 170, 300);
flg = 2;
} else if ((flg == 2) && (count == 30)) {
_parent.attaching("text_continuemenu", 170, 400);
_parent[_parent.attachObject].swapDepths(1000000);
flg = 3;
}
} else if (_parent.game_flg == 3) {
_parent.game_flg = 0;
flg = 0;
count = 0;
_parent.crearcount = undefined;
_parent.rmguard();
}
}
Instance of Symbol 885 MovieClip in Symbol 886 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(100000);
}
Instance of Symbol 837 MovieClip in Symbol 886 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(100002);
count = 0;
}
on (press) {
if (count >= 180) {
_parent.game_flg = 3;
count = 0;
}
}
onClipEvent (enterFrame) {
count++;
}
Instance of Symbol 839 MovieClip in Symbol 886 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(100012);
}
on (press) {
so = new Sound(this);
so.attachSound("se2");
so.start(0.1, 1);
_parent._parent.gotoframe(4);
}
Instance of Symbol 850 MovieClip in Symbol 886 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(100014);
so = new Sound(_root);
}
on (press) {
if (this._currentframe == 1) {
this.gotoAndStop(2);
so.setVolume(0);
} else {
this.gotoAndStop(1);
so.setVolume(100);
}
}
Instance of Symbol 843 MovieClip in Symbol 886 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(100013);
var Quarity = SharedObject.getLocal("quaritydata");
if (Quarity.data.quarity == "high") {
this.gotoAndStop(2);
_quality = "HIGH";
} else {
this.gotoAndStop(1);
_quality = "LOW";
}
}
on (press) {
var Quarity = SharedObject.getLocal("quaritydata");
if (this._currentframe == 1) {
this.gotoAndStop(2);
_quality = "HIGH";
Quarity.data.quarity = "high";
} else {
this.gotoAndStop(1);
_quality = "LOW";
Quarity.data.quarity = "low";
}
}
onClipEvent (enterFrame) {
if (_quality == "HIGH") {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 25 MovieClip "scr" in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
duraytime = getTimer();
currenttime = 0;
waittime = 0;
min_counter = 0;
}
onClipEvent (enterFrame) {
if (_parent.flg == 1) {
temp_min = _parent.minu;
temp_sec = _parent.sec;
temp_mili = 0;
_parent.mili = 0;
_parent.flg = 0;
firsttime = getTimer();
currenttime = 0;
waittime = 0;
min_counter = 0;
}
if (!_parent._parent.stop_field) {
currenttime = (getTimer() - firsttime) - waittime;
if ((currenttime >= 60000) && (currenttime < 120000)) {
min_counter = 1;
} else if (currenttime >= 120000) {
min_counter = 2;
}
currenttime = currenttime % 60000;
currenttime = currenttime + (min_counter * 60000);
_parent.sec = Math.floor(temp_sec - (currenttime / 1000));
if (_parent.sec < 0) {
temp_sec = temp_sec + 60;
_parent.minu--;
count = 0;
} else if (_parent.sec > 60) {
temp_sec = temp_sec - 60;
_parent.minu++;
}
currenttime = currenttime % 1000;
_parent.mili = Math.floor(temp_mili - (currenttime / 10)) + 100;
} else {
waittime = waittime + (getTimer() - duraytime);
}
duraytime = getTimer();
if (_parent.minu < 0) {
_parent.minu = 0;
_parent.sec = 0;
_parent.mili = 0;
_parent.timeout = 1;
}
}
Symbol 894 MovieClip Frame 1
function attaching(ID, attachx, attachy) {
_global.attachcount++;
attachObject = "object" + _global.attachcount;
this.attachMovie(ID, attachObject, _global.attachcount);
this[attachObject]._x = attachx;
this[attachObject]._y = attachy;
}
function mkblock(target_color, attachx, attachy) {
name = "block_array" + attachy;
if (this[name][attachx] == 0) {
attaching("block", 30 + (attachx * 20), 430 + (attachy * 20));
this[attachObject]._color = target_color;
this[attachObject].x = attachx;
this[attachObject].y = attachy;
blockcount++;
this[name][attachx] = 1;
attaching("checker", 0, 0);
this[attachObject].x = attachx;
this[attachObject].y = attachy;
this[attachObject]._color = target_color;
check_num++;
if (check_num == 15) {
check_num = 0;
}
this[attachObject]._name = "check" + check_num;
}
}
function rmblock(x, y) {
name = "block_array" + y;
this[name][x] = 0;
}
function mkarea(x, y, wid, hei, crearlimit) {
name = "area" + areanum;
if (areanum == 9) {
areanum = 0;
} else {
areanum++;
}
attaching("area", x, y);
this[attachObject]._name = name;
this[name].wid = wid;
this[name].hei = hei;
this[name].crearlimit = crearlimit;
crearcount++;
}
function mkguard(x, y) {
name = "guard" + guardnum;
if (guardnum == 9) {
guardnum = 0;
} else {
guardnum++;
}
attaching("guard", x, y);
this[attachObject]._name = name;
}
function rmguard() {
a = 0;
while (a < 10) {
name = "guard" + a;
this[name].rmflg = 1;
a++;
}
}
function texting(output, time, x, y) {
attaching("text_output", x, y);
this[attachObject].swapDepths(_global.attachcount + 50000);
this[attachObject].text = output;
this[attachObject].limit = time;
}
function text_effect(output, x, y) {
attaching("text_effect", x, y);
this[attachObject].swapDepths(_global.attachcount + 50000);
this[attachObject].text = output;
}
function stopping() {
if (!stop_field) {
attaching("stopping_field", 0, 0);
this[attachObject].swapDepths(_global.attachcount + 30000);
this[attachObject]._name = "stop_field";
}
}
function starting() {
if (stop_field) {
stop_field.flg = 2;
}
}
function rmcheck() {
n = 0;
while (n <= 15) {
rm_name = "check" + n;
this[rm_name].removeMovieClip();
n++;
}
}
function timer_start(min, sec) {
timer.minu = min;
timer.sec = sec;
timer.flg = 1;
timer.timeout = 0;
}
function timer_up(sec) {
timer.scr.temp_sec = timer.scr.temp_sec + sec;
timer.sec = timer.sec + sec;
texting(("+ " + sec) + " sec", 120, 170, 100);
if (timer.sec > 60) {
timer.sec = timer.sec - 60;
timer.scr.temp_sec = timer.scr.temp_sec - 60;
timer.minu++;
}
}
drug_flg = "true";
blockcount = null;
totalblock = null;
game_flg = 0;
areanum = 0;
guardnum = 0;
a = 0;
while (a < 10) {
name = "block_array" + a;
this[name] = new Array();
b = 0;
while (b < 15) {
this[name][b] = 0;
b++;
}
a++;
}
Instance of Symbol 885 MovieClip in Symbol 894 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(100000);
}
Instance of Symbol 837 MovieClip in Symbol 894 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(100102);
}
on (press) {
_parent.game_flg = 3;
}
Instance of Symbol 25 MovieClip "stagemaster" in Symbol 894 MovieClip Frame 1
onClipEvent (load) {
count = 0;
flg = 0;
firststage = _global.stagenum;
}
onClipEvent (enterFrame) {
if (_parent.game_flg == 0) {
if (_global.stagenum == 1) {
_parent.timer_start(0, 30);
_parent.mkarea(50, 50, 240, 240, 3);
_parent.mkblock("blue", 7, 0);
_parent.mkblock("blue", 9, 0);
_parent.mkblock("blue", 5, 0);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "1 - a";
} else if (_global.stagenum == 2) {
_parent.timer_up(20);
_parent.mkarea(100, 60, 70, 200, 2);
_parent.mkarea(170, 60, 70, 200, 2);
_parent.mkblock("blue", 7, 1);
_parent.mkblock("blue", 7, 3);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "1 - b";
} else if (_global.stagenum == 3) {
_parent.timer_up(20);
_parent.mkarea(20, 20, 100, 100, 1);
_parent.mkarea(120, 70, 100, 100, 1);
_parent.mkarea(220, 20, 100, 100, 1);
_parent.mkblock("blue", 2, 1);
_parent.mkblock("blue", 7, 5);
_parent.mkblock("blue", 12, 1);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "1 - c";
} else if (_global.stagenum == 4) {
_parent.timer_up(5);
_parent.mkarea(140, 140, 60, 60, 1);
_parent.mkblock("blue", 6, 5);
_parent.mkblock("blue", 6, 7);
_parent.mkblock("blue", 8, 5);
_parent.mkblock("blue", 8, 7);
_parent.mkguard(170, 110);
_parent.mkguard(110, 170);
_parent.mkguard(230, 170);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "1 - d";
} else if (_global.stagenum == 5) {
_parent.timer_up(15);
_parent.mkarea(60, 100, 140, 100, 2);
_parent.mkarea(140, 100, 140, 100, 2);
_parent.mkguard(70, 260);
_parent.mkguard(270, 260);
_parent.mkguard(170, 400);
_parent.mkblock("blue", 4, 0);
_parent.mkblock("blue", 2, 2);
_parent.mkblock("blue", 10, 0);
_parent.mkblock("blue", 12, 2);
_parent.mkblock("blue", 7, 8);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "1 - final";
} else if (_global.stagenum == 6) {
_parent.stopping();
flg = 0;
if (count == 1) {
_parent.texting("all stage crear!!!!", 60, 170, 300);
var Data = SharedObject.getLocal("cleardata");
Data.data.clearflg7 = 1;
}
count++;
if (count == 140) {
_root.gotoframe(4);
}
} else if (_global.stagenum == 7) {
_parent.timer_start(0, 20);
_parent.mkarea(20, 20, 300, 300, 4);
_parent.mkguard(110, 60);
_parent.mkguard(170, 160);
_parent.mkguard(110, 260);
_parent.mkguard(230, 260);
_parent.mkguard(230, 60);
_parent.mkguard(60, 160);
_parent.mkguard(290, 160);
_parent.mkblock("green", 4, 0);
_parent.mkblock("green", 10, 0);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "2 - a";
} else if (_global.stagenum == 8) {
_parent.timer_up(15);
_parent.mkarea(40, 100, 100, 80, 1);
_parent.mkarea(200, 100, 100, 80, 1);
_parent.mkarea(120, 180, 100, 80, 2);
_parent.mkguard(170, 150);
_parent.mkguard(80, 220);
_parent.mkguard(260, 220);
_parent.mkblock("green", 3, 5);
_parent.mkblock("green", 5, 3);
_parent.mkblock("green", 7, 1);
_parent.mkblock("green", 9, 3);
_parent.mkblock("green", 11, 5);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "2 - b";
} else if (_global.stagenum == 9) {
_parent.timer_up(10);
_parent.mkarea(80, 130, 180, 80, 2);
_parent.mkarea(130, 80, 80, 180, 2);
_parent.mkguard(100, 100);
_parent.mkguard(240, 100);
_parent.mkguard(100, 240);
_parent.mkguard(240, 240);
_parent.mkblock("green", 5, 2);
_parent.mkblock("green", 9, 2);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "2 - c";
} else if (_global.stagenum == 10) {
_parent.timer_up(12);
_parent.mkarea(150, 140, 40, 120, 2);
_parent.mkguard(130, 120);
_parent.mkguard(210, 120);
_parent.mkguard(130, 160);
_parent.mkguard(210, 160);
_parent.mkguard(130, 200);
_parent.mkguard(210, 200);
_parent.mkguard(130, 240);
_parent.mkguard(210, 240);
_parent.mkguard(130, 280);
_parent.mkguard(210, 280);
_parent.mkblock("green", 7, 7);
_parent.mkblock("green", 7, 5);
_parent.mkblock("green", 7, 3);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "2 - d";
} else if (_global.stagenum == 11) {
_parent.timer_up(18);
_parent.mkarea(20, 200, 50, 80, 1);
_parent.mkarea(70, 200, 50, 80, 1);
_parent.mkarea(120, 200, 50, 80, 1);
_parent.mkarea(170, 200, 50, 80, 1);
_parent.mkarea(220, 200, 50, 80, 1);
_parent.mkarea(270, 200, 50, 80, 1);
_parent.mkblock("green", 2, 0);
_parent.mkblock("green", 4, 0);
_parent.mkblock("green", 6, 0);
_parent.mkblock("green", 8, 0);
_parent.mkblock("green", 10, 0);
_parent.mkblock("green", 12, 0);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "2 - final";
} else if (_global.stagenum == 12) {
_parent.stopping();
flg = 0;
if (count == 1) {
_parent.texting("all stage crear!!!!", 60, 170, 300);
var Data = SharedObject.getLocal("cleardata");
Data.data.clearflg8 = 1;
}
count++;
if (count == 140) {
_root.gotoframe(4);
}
} else if (_global.stagenum == 13) {
_parent.timer_start(0, 30);
_parent.mkarea(100, 100, 70, 70, 1);
_parent.mkarea(170, 100, 70, 70, 1);
_parent.mkarea(30, 135, 70, 70, 1);
_parent.mkarea(240, 135, 70, 70, 1);
_parent.mkarea(30, 205, 70, 70, 1);
_parent.mkarea(240, 205, 70, 70, 1);
_parent.mkarea(100, 240, 70, 70, 1);
_parent.mkarea(170, 240, 70, 70, 1);
_parent.mkblock("red", 6, 6);
_parent.mkblock("red", 8, 6);
_parent.mkblock("red", 6, 4);
_parent.mkblock("red", 8, 4);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "3 - a";
} else if (_global.stagenum == 14) {
_parent.timer_up(9);
_parent.mkarea(130, 130, 80, 80, 1);
_parent.mkblock("red", 3, 2);
_parent.mkblock("red", 11, 2);
_parent.mkguard(170, 150);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "3 - b";
} else if (_global.stagenum == 15) {
_parent.timer_up(20);
_parent.mkarea(150, 450, 40, 40, 1);
_parent.mkarea(150, 530, 40, 40, 1);
_parent.mkarea(70, 490, 80, 40, 1);
_parent.mkarea(190, 490, 80, 40, 1);
_parent.mkarea(70, 410, 80, 40, 1);
_parent.mkarea(190, 410, 80, 40, 1);
_parent.mkblock("red", 7, 0);
_parent.mkblock("red", 7, 4);
_parent.mkguard(170, 390);
_parent.mkguard(130, 390);
_parent.mkguard(210, 390);
_parent.mkguard(130, 470);
_parent.mkguard(210, 470);
_parent.mkguard(130, 550);
_parent.mkguard(210, 550);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "3 - c";
} else if (_global.stagenum == 16) {
_parent.timer_up(12);
_parent.mkarea(50, 160, 60, 180, 2);
_parent.mkarea(140, 160, 60, 180, 2);
_parent.mkarea(230, 160, 60, 180, 2);
_parent.mkarea(50, 200, 60, 100, 1);
_parent.mkarea(140, 200, 60, 100, 1);
_parent.mkarea(230, 200, 60, 100, 1);
_parent.mkblock("red", 3, 5);
_parent.mkblock("red", 7, 5);
_parent.mkblock("red", 11, 5);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "3 - d";
} else if (_global.stagenum == 17) {
_parent.timer_up(18);
_parent.mkarea(70, 70, 200, 200, 6);
_parent.mkarea(90, 90, 60, 60, 1);
_parent.mkarea(150, 150, 40, 40, 1);
_parent.mkarea(190, 190, 60, 60, 1);
_parent.mkarea(90, 190, 60, 60, 1);
_parent.mkarea(190, 90, 60, 60, 1);
_parent.mkblock("red", 5, 4);
_parent.mkblock("red", 7, 1);
_parent.mkblock("red", 9, 4);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "3 - final";
} else if (_global.stagenum == 18) {
flg = 0;
if (count == 1) {
_parent.stopping();
_parent.texting("all stage crear!!!!", 60, 170, 300);
var Data = SharedObject.getLocal("cleardata");
Data.data.clearflg9 = 1;
}
count++;
if (count == 140) {
_root.gotoframe(4);
}
} else if (_global.stagenum == 19) {
_parent.timer_start(0, 24);
_parent.mkarea(20, 20, 100, 100, 1);
_parent.mkarea(60, 60, 100, 100, 1);
_parent.mkarea(100, 100, 100, 100, 1);
_parent.mkarea(140, 140, 100, 100, 1);
_parent.mkblock("yellow", 7, 3);
_parent.mkblock("yellow", 7, 5);
_parent.mkblock("yellow", 7, 1);
_parent.mkguard(40, 140);
_parent.mkguard(140, 40);
_parent.mkguard(80, 180);
_parent.mkguard(180, 80);
_parent.mkguard(120, 220);
_parent.mkguard(220, 120);
_parent.mkguard(160, 260);
_parent.mkguard(260, 160);
_parent.mkguard(200, 300);
_parent.mkguard(300, 200);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "4 - a";
} else if (_global.stagenum == 20) {
_parent.timer_up(18);
_parent.mkarea(30, 280, 40, 80, 1);
_parent.mkarea(70, 80, 40, 80, 1);
_parent.mkarea(110, 200, 40, 80, 1);
_parent.mkarea(150, 170, 40, 80, 1);
_parent.mkarea(190, 60, 40, 80, 1);
_parent.mkarea(230, 250, 40, 80, 1);
_parent.mkarea(270, 300, 40, 80, 1);
_parent.mkblock("yellow", 5, 4);
_parent.mkblock("yellow", 7, 5);
_parent.mkblock("yellow", 9, 4);
_parent.mkguard(50, 260);
_parent.mkguard(90, 60);
_parent.mkguard(130, 180);
_parent.mkguard(170, 150);
_parent.mkguard(210, 40);
_parent.mkguard(250, 230);
_parent.mkguard(290, 280);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "4 - b";
} else if (_global.stagenum == 21) {
_parent.timer_up(16);
_parent.mkarea(20, 130, 100, 60, 1);
_parent.mkarea(70, 130, 100, 60, 1);
_parent.mkarea(120, 130, 100, 60, 1);
_parent.mkarea(170, 130, 100, 60, 1);
_parent.mkarea(220, 130, 100, 60, 1);
_parent.mkblock("yellow", 5, 4);
_parent.mkblock("yellow", 7, 4);
_parent.mkblock("yellow", 9, 4);
_parent.mkguard(170, 320);
_parent.mkguard(130, 320);
_parent.mkguard(90, 320);
_parent.mkguard(210, 320);
_parent.mkguard(250, 320);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "4 - c";
} else if (_global.stagenum == 22) {
_parent.timer_up(22);
_parent.mkarea(110, 110, 80, 40, 2);
_parent.mkarea(190, 110, 40, 80, 2);
_parent.mkarea(190, 190, 40, 40, 1);
_parent.mkarea(110, 150, 40, 80, 2);
_parent.mkarea(150, 150, 40, 80, 2);
_parent.mkblock("yellow", 4, 1);
_parent.mkblock("yellow", 10, 1);
_parent.mkguard(130, 90);
_parent.mkguard(170, 90);
_parent.mkguard(210, 90);
_parent.mkguard(90, 170);
_parent.mkguard(90, 210);
_parent.mkguard(90, 130);
_parent.mkguard(250, 170);
_parent.mkguard(250, 210);
_parent.mkguard(250, 130);
_parent.mkguard(170, 250);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "4 - d";
} else if (_global.stagenum == 23) {
_parent.timer_up(14);
_parent.mkarea(20, 120, 40, 80, 1);
_parent.mkarea(280, 120, 40, 80, 1);
_parent.mkblock("yellow", 2, 0);
_parent.mkblock("yellow", 12, 0);
_parent.mkguard(40, 220);
_parent.mkguard(80, 180);
_parent.mkguard(80, 140);
_parent.mkguard(300, 220);
_parent.mkguard(260, 180);
_parent.mkguard(260, 140);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "4 - final";
} else if (_global.stagenum == 24) {
flg = 0;
if (count == 1) {
_parent.stopping();
_parent.texting("all stage crear!!!!", 60, 170, 300);
var Data = SharedObject.getLocal("cleardata");
Data.data.clearflg10 = 1;
}
count++;
if (count == 140) {
_root.gotoframe(4);
}
} else if (_global.stagenum == 26) {
_parent.timer_up(15);
_parent.mkarea(110, 110, 60, 60, 2);
_parent.mkarea(170, 110, 60, 60, 2);
_parent.mkarea(170, 170, 60, 60, 2);
_parent.mkarea(110, 170, 60, 60, 2);
_parent.mkblock("perple", 4, 3);
_parent.mkblock("perple", 6, 3);
_parent.mkblock("perple", 8, 3);
_parent.mkblock("perple", 10, 3);
_parent.mkguard(170, 170);
_parent.mkguard(90, 250);
_parent.mkguard(250, 90);
_parent.mkguard(90, 90);
_parent.mkguard(250, 250);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "5 - b";
} else if (_global.stagenum == 25) {
_parent.timer_start(0, 20);
_parent.mkarea(70, 20, 200, 250, 10);
_parent.mkarea(70, 170, 200, 250, 10);
_parent.mkblock("perple", 2, 0);
_parent.mkblock("perple", 4, 0);
_parent.mkblock("perple", 6, 0);
_parent.mkblock("perple", 8, 0);
_parent.mkblock("perple", 10, 0);
_parent.mkblock("perple", 12, 0);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "5 - a";
} else if (_global.stagenum == 28) {
_parent.timer_up(20);
_parent.mkarea(20, 80, 80, 70, 1);
_parent.mkarea(20, 190, 80, 70, 1);
_parent.mkarea(130, 80, 80, 70, 1);
_parent.mkarea(130, 190, 80, 70, 1);
_parent.mkarea(240, 80, 80, 70, 1);
_parent.mkarea(240, 190, 80, 70, 1);
_parent.mkarea(80, 20, 70, 80, 1);
_parent.mkarea(190, 20, 70, 80, 1);
_parent.mkarea(80, 130, 70, 80, 1);
_parent.mkarea(190, 130, 70, 80, 1);
_parent.mkblock("perple", 7, 0);
_parent.mkblock("perple", 7, 2);
_parent.mkblock("perple", 7, 4);
_parent.mkblock("perple", 7, 6);
_parent.mkguard(60, 60);
_parent.mkguard(170, 60);
_parent.mkguard(280, 60);
_parent.mkguard(60, 170);
_parent.mkguard(170, 170);
_parent.mkguard(280, 170);
_parent.mkguard(60, 280);
_parent.mkguard(170, 280);
_parent.mkguard(280, 280);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "5 - final";
} else if (_global.stagenum == 27) {
_parent.timer_up(14);
_parent.mkarea(90, 120, 160, 190, 3);
_parent.mkblock("perple", 5, 4);
_parent.mkblock("perple", 9, 4);
_parent.mkguard(135, 290);
_parent.mkguard(205, 290);
_parent.mkguard(110, 250);
_parent.mkguard(170, 250);
_parent.mkguard(230, 250);
_parent.mkguard(80, 160);
_parent.mkguard(40, 160);
_parent.mkguard(260, 160);
_parent.mkguard(300, 160);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "5 - c";
} else if (_global.stagenum == 29) {
flg = 0;
if (count == 1) {
_parent.stopping();
_parent.texting("all stage crear!!!", 60, 170, 300);
var Data = SharedObject.getLocal("cleardata");
Data.data.clearflg11 = 1;
}
count++;
if (count == 140) {
_root.gotoframe(4);
}
} else if (_global.stagenum == 31) {
_parent.timer_start(0, 60);
_parent.mkarea(225, 40, 60, 60, 1);
_parent.mkarea(225, 120, 60, 60, 1);
_parent.mkarea(225, 200, 60, 60, 1);
_parent.mkarea(225, 280, 60, 60, 1);
_parent.mkarea(225, 360, 60, 60, 1);
_parent.mkarea(225, 440, 60, 60, 1);
_parent.mkarea(225, 520, 60, 60, 1);
_parent.mkblock("gray", 1, 0);
_parent.mkblock("gray", 1, 2);
_parent.mkblock("gray", 1, 4);
_parent.mkblock("gray", 1, 6);
_parent.mkblock("gray", 1, 8);
_parent.stopping();
_parent.mkguard(170, 40);
_parent.mkguard(170, 160);
_parent.mkguard(170, 280);
_parent.mkguard(170, 400);
_parent.mkguard(170, 520);
_parent.game_flg = 1;
this.stagename = "6 - a";
} else if (_global.stagenum == 35) {
_parent.timer_up(24);
_parent.mkarea(60, 60, 60, 60, 1);
_parent.mkarea(220, 60, 60, 60, 1);
_parent.mkarea(100, 140, 60, 60, 1);
_parent.mkarea(180, 140, 60, 60, 1);
_parent.mkarea(60, 220, 60, 60, 1);
_parent.mkarea(220, 220, 60, 60, 1);
_parent.mkarea(20, 20, 60, 60, 1);
_parent.mkarea(260, 20, 60, 60, 1);
_parent.mkblock("gray", 7, 0);
_parent.mkblock("gray", 6, 1);
_parent.mkblock("gray", 8, 1);
_parent.stopping();
_parent.mkguard(120, 120);
_parent.mkguard(120, 220);
_parent.mkguard(220, 120);
_parent.mkguard(220, 220);
_parent.mkguard(300, 170);
_parent.mkguard(40, 170);
_parent.mkguard(300, 270);
_parent.mkguard(40, 270);
_parent.mkguard(170, 320);
_parent.game_flg = 1;
this.stagename = "6 - final";
} else if (_global.stagenum == 32) {
_parent.timer_up(26);
_parent.mkarea(155, 100, 30, 30, 1);
_parent.mkarea(215, 160, 30, 30, 1);
_parent.mkarea(275, 220, 30, 30, 1);
_parent.mkarea(215, 280, 30, 30, 1);
_parent.mkarea(155, 340, 30, 30, 1);
_parent.mkarea(95, 280, 30, 30, 1);
_parent.mkarea(35, 220, 30, 30, 1);
_parent.mkarea(95, 160, 30, 30, 1);
_parent.mkblock("gray", 4, 2);
_parent.mkblock("gray", 10, 2);
_parent.mkguard(40, 40);
_parent.mkguard(80, 40);
_parent.mkguard(40, 80);
_parent.mkguard(300, 40);
_parent.mkguard(260, 40);
_parent.mkguard(300, 80);
_parent.mkguard(170, 500);
_parent.mkguard(40, 480);
_parent.mkguard(300, 480);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "6 - b";
} else if (_global.stagenum == 33) {
_parent.timer_up(25);
_parent.mkarea(190, 160, 40, 40, 1);
_parent.mkarea(110, 160, 40, 40, 1);
_parent.mkblock("gray", 4, 2);
_parent.mkblock("gray", 10, 2);
_parent.mkguard(130, 140);
_parent.mkguard(210, 140);
_parent.mkguard(130, 220);
_parent.mkguard(210, 220);
_parent.mkguard(170, 300);
_parent.mkguard(90, 300);
_parent.mkguard(250, 300);
_parent.mkguard(90, 180);
_parent.mkguard(250, 180);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "6 - c";
} else if (_global.stagenum == 34) {
_parent.timer_up(14);
_parent.mkarea(40, 180, 260, 80, 6);
_parent.mkarea(50, 190, 60, 60, 1);
_parent.mkarea(60, 200, 40, 40, 1);
_parent.mkarea(140, 190, 60, 60, 1);
_parent.mkarea(150, 200, 40, 40, 1);
_parent.mkarea(230, 190, 60, 60, 1);
_parent.mkarea(240, 200, 40, 40, 1);
_parent.mkarea(70, 210, 20, 20, 1);
_parent.mkarea(160, 210, 20, 20, 1);
_parent.mkarea(250, 210, 20, 20, 1);
_parent.mkblock("gray", 2, 1);
_parent.mkblock("gray", 7, 2);
_parent.mkblock("gray", 12, 3);
_parent.stopping();
_parent.game_flg = 1;
this.stagename = "6 - d";
} else if (_global.stagenum == 36) {
flg = 0;
if (count == 1) {
_parent.stopping();
_parent.texting("all stage crear!!!!", 120, 170, 200);
var Data = SharedObject.getLocal("cleardata");
Data.data.clearflg12 = 1;
} else if (count == 30) {
_parent.texting("this route complete!!!!", 120, 170, 300);
}
count++;
if (count == 210) {
_root.gotoframe(4);
}
}
} else if (_parent.game_flg == 1) {
count++;
if ((flg == 0) && (count == 1)) {
_parent.texting("stage " + stagename, 125, 170, 200);
flg++;
} else if ((flg == 1) && (count == 30)) {
_parent.texting("ready", 30, 170, 300);
flg++;
} else if ((flg == 2) && (count == 120)) {
_parent.texting("start!", 10, 170, 300);
_parent.starting();
flg = 0;
}
}
if (_parent.crearcount == 0) {
a = 0;
while (a <= 10) {
b = 0;
while (b <= 15) {
_parent.rmblock(b, a);
b++;
}
a++;
}
_parent.rmcheck();
_parent.game_flg = 0;
_global.stagenum++;
flg = 0;
count = 0;
_parent.crearcount = undefined;
_parent.rmguard();
}
if ((_parent.timer.timeout == 1) && (_parent.game_flg == 1)) {
a = 0;
while (a <= 10) {
b = 0;
while (b <= 15) {
_parent.rmblock(b, a);
b++;
}
a++;
}
_parent.rmcheck();
_parent.game_flg = 2;
flg = 0;
count = 0;
_parent.crearcount = undefined;
_parent.blockcount = undefined;
_parent.stopping();
} else if (_parent.game_flg == 2) {
count++;
if (flg == 0) {
_parent.texting("failed....", 60, 170, 200);
flg = 1;
} else if ((flg == 1) && (count == 20)) {
_parent.texting("continue?", 60, 170, 300);
flg = 2;
} else if ((flg == 2) && (count == 30)) {
_parent.attaching("text_continuemenu", 170, 400);
_parent[_parent.attachObject].swapDepths(1000000);
flg = 3;
}
} else if (_parent.game_flg == 3) {
_parent.game_flg = 0;
flg = 0;
count = 0;
_global.stagenum = firststage;
a = 0;
while (a <= 10) {
b = 0;
while (b <= 15) {
_parent.rmblock(b, a);
b++;
}
a++;
}
_parent.rmcheck();
_parent.crearcount = undefined;
_parent.rmguard();
}
}
Instance of Symbol 839 MovieClip in Symbol 894 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(100112);
}
on (press) {
so = new Sound(this);
so.attachSound("se2");
so.start(0.1, 1);
_parent._parent.gotoframe(4);
}
Instance of Symbol 850 MovieClip in Symbol 894 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(100114);
so = new Sound(_root);
}
on (press) {
if (this._currentframe == 1) {
this.gotoAndStop(2);
so.setVolume(0);
} else {
this.gotoAndStop(1);
so.setVolume(100);
}
}
Instance of Symbol 843 MovieClip in Symbol 894 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(100113);
var Quarity = SharedObject.getLocal("quaritydata");
if (Quarity.data.quarity == "high") {
this.gotoAndStop(2);
_quality = "HIGH";
} else {
this.gotoAndStop(1);
_quality = "LOW";
}
}
on (press) {
var Quarity = SharedObject.getLocal("quaritydata");
if (this._currentframe == 1) {
this.gotoAndStop(2);
_quality = "HIGH";
Quarity.data.quarity = "high";
} else {
this.gotoAndStop(1);
_quality = "LOW";
Quarity.data.quarity = "low";
}
}
onClipEvent (enterFrame) {
if (_quality == "HIGH") {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}