Symbol 11 MovieClip Frame 1
this.onEnterFrame = function () {
if (rota >= 360) {
rota = 0;
}
if (rota != 0) {
_rotation = (_rotation + rota);
} else {
_rotation = (_rotation + ((-_rotation) / 3));
if (Math.abs(_rotation) < 1) {
_rotation = 0;
}
}
if (_root.cat_mc._x <= 150) {
_root.cat_mc._x = 150 + (num / 10);
} else {
_root.cat_mc._x = 150 - (num / 10);
}
};
rota = 0;
num = 0;
this.onRelease = function () {
if (rota == 350) {
_sound.stop();
}
if (rota == 0) {
_sound.start();
}
rota = rota + 10;
if (rota <= 180) {
num = 100 * (rota / 180);
_sound.setVolume(num);
} else {
num = 100 * ((360 - rota) / 180);
_sound.setVolume(num);
}
if ((rota >= 40) && (rota <= 320)) {
_parent.shimon_mc.play();
}
if ((rota >= 100) && (rota <= 260)) {
_parent.wakamoto_mc.play();
}
if ((rota >= 160) && (rota <= 200)) {
_parent.taiya_mc.flg = true;
_parent.ryouma_mc._visible = true;
if (rota == 160) {
_parent.taiya_mc.init();
}
} else {
_parent.ryouma_mc._visible = false;
_parent.taiya_mc.flg = false;
}
_root.cat_mc.l_light_mc._xscale = (_root.cat_mc.l_light_mc._yscale = num);
_root.cat_mc.r_light_mc._xscale = (_root.cat_mc.r_light_mc._yscale = num);
};
_root.cat_mc.l_light_mc._xscale = (_root.cat_mc.l_light_mc._yscale = 0);
_root.cat_mc.r_light_mc._xscale = (_root.cat_mc.r_light_mc._yscale = 0);
_sound = new Sound();
_sound.attachSound("getter_wav");
_sound.setVolume(0);
_sound.onSoundComplete = function () {
_sound.start();
};
Symbol 19 MovieClip Frame 1
if ((_parent.hana_mc.rota < 40) || (_parent.hana_mc.rota > 320)) {
stop();
}
Symbol 24 MovieClip Frame 1
if ((_parent.hana_mc.rota < 100) || (_parent.hana_mc.rota > 260)) {
stop();
}
Symbol 24 MovieClip Frame 34
if ((_parent.hana_mc.rota < 100) || (_parent.hana_mc.rota > 260)) {
stop();
}
Symbol 27 MovieClip Frame 1
function init() {
X = (Math.random() * 10) + 10;
Y = (Math.random() * 10) + 10;
}
this.onEnterFrame = function () {
_x = (_x + X);
_y = (_y + Y);
if (flg) {
if (_x < 0) {
X = (Math.random() * 10) + 10;
_xscale = 100;
}
if (_x > 300) {
X = -((Math.random() * 10) + 10);
_xscale = -100;
}
if (_y < 0) {
Y = (Math.random() * 10) + 10;
}
if (_y > 300) {
Y = -((Math.random() * 10) + 10);
}
} else if ((((_x < (-_width)) || (_x > (300 + _width))) || (_y < (-_height))) || (_y > (300 + _height))) {
X = 0;
Y = 0;
}
};
flg = false;
X = 0;
Y = 0;
Symbol 28 MovieClip Frame 1
_lockroot = true;
ryouma_mc._visible = false;