Frame 1
function sisutemu(menu, obj) {
gotoAndStop (2);
}
se_01 = new Sound(this);
se_02 = new Sound(this);
se_03 = new Sound(this);
se_04 = new Sound(this);
se_05 = new Sound(this);
se_start = new Sound(this);
se_end = new Sound(this);
se_ok = new Sound(this);
se_ng = new Sound(this);
se_batu = new Sound(this);
se_maru = new Sound(this);
se_01.attachSound("01");
se_02.attachSound("02");
se_03.attachSound("03");
se_04.attachSound("04");
se_05.attachSound("05");
se_start.attachSound("start");
se_end.attachSound("end");
se_ok.attachSound("ok");
se_ng.attachSound("ng");
se_batu.attachSound("batu");
se_maru.attachSound("maru");
if (_root.MODE != "ALL") {
menu_cm = new ContextMenu();
menu_cm.builtInItems.forward_back = false;
menu_cm.builtInItems.loop = false;
menu_cm.builtInItems.play = false;
menu_cm.builtInItems.print = false;
menu_cm.builtInItems.quality = true;
menu_cm.builtInItems.rewind = false;
menu_cm.builtInItems.save = false;
menu_cm.builtInItems.zoom = true;
MenuItem2 = new ContextMenuItem();
MenuItem2.caption = "\u30BD\u30D5\u30C8\u30EA\u30BB\u30C3\u30C8";
MenuItem2.enabled = true;
MenuItem2.onSelect = sisutemu;
MenuItem2.separatorBefore = true;
MenuItem2.visible = true;
menu_cm.customItems.push(MenuItem2);
_root.menu = menu_cm;
}
stop();
Frame 2
stopAllSounds();
TRY = 1;
win = 0;
stop();
Frame 4
stop();
Instance of Symbol 123 MovieClip "GAME" in Frame 4
onClipEvent (load) {
_parent.score = 184;
game_flg = "on";
tama_cnt = 10;
ef_cnt = 0;
tama_max = 0;
sya_cnt1 = 0;
sya_cnt2 = 0;
esa_dat = [0, 10, 15, 10, 30, -100];
var tama_dat = new Array();
i = 0;
while (i < 11) {
x = random(10);
if (x != 0) {
tama_dat[i] = random(3) + 1;
} else {
tama_dat[i] = 5;
}
i++;
}
var esa_flg = new Array();
game_st = 0;
time_cnt = 0;
speed = 20;
vo_no = 6;
}
onClipEvent (enterFrame) {
if (tama_max > 0) {
i = 0;
while (i <= tama_max) {
if (esa_flg[i] == "on") {
EsaMoveFunc(i);
}
i++;
}
}
if (_parent.score > 684) {
if (_parent.score > 1884) {
y = 120;
} else {
y = (_parent.score - 684) / 10;
}
if (Math.abs(y) > 0.2) {
if (_y > y) {
_y = (_y - 0.2);
} else if (_y < y) {
_y = (_y + 0.2);
}
}
} else {
_y = -30;
}
if (KIRARI._xscale < bai) {
KIRARI._xscale = KIRARI._xscale + 1;
KIRARI._yscale = KIRARI._yscale + 1;
} else if (KIRARI._xscale > bai) {
KIRARI._xscale = KIRARI._xscale - 1;
KIRARI._yscale = KIRARI._yscale - 1;
}
if (game_flg == "on") {
switch (game_st) {
case 0 :
time_cnt = time_cnt + 1;
if ((time_cnt >= 25) and (tama_cnt < 10)) {
time_cnt = 0;
game_st = 2;
}
break;
case 1 :
time_cnt = time_cnt + 1;
if (time_cnt >= 5) {
time_cnt = 0;
if (tama_cnt > 0) {
EsaAddFunc();
tama_cnt = tama_cnt - 1;
}
}
break;
case 2 :
case 3 :
if (tama_cnt < 10) {
tama_cnt = tama_cnt + 1;
x = random(10);
if (x != 0) {
tama_dat[tama_cnt] = random(3) + 1;
} else {
tama_dat[tama_cnt] = 5;
}
} else if (game_st == 2) {
game_st = 0;
} else {
game_st = 1;
}
}
}
}
on (press) {
if (game_st == 0) {
game_st = 1;
time_cnt = 100;
} else if (game_st == 2) {
game_st = 3;
}
}
on (release, dragOut) {
if (game_st == 1) {
game_st = 0;
time_cnt = 0;
} else if (game_st == 3) {
game_st = 2;
}
}
Frame 5
Mouse.show();
stop();
Frame 6
stop();
Mouse.show();
url = "http://www15.atpages.jp/bukky/kirarin/";
Instance of Symbol 153 MovieClip in Frame 6
onClipEvent (load) {
KIRARI._xscale = _parent.score - 84;
KIRARI._yscale = _parent.score - 84;
y = _parent.score * 0.5;
if (y > 300) {
_y = ((y - 300) / 2);
} else {
_y = 0;
}
}
Instance of Symbol 160 MovieClip in Frame 6
onClipEvent (load) {
mes = escape(("\u306B\u3087\u308F\u30FC\uFF01P\u3061\u3083\u3093\u3068\u30CF\u30D4\u30CF\u30D4\u3057\u3066\u304D\u3089\u308A\u3093\u306E\u8EAB\u9577" + _parent.score) + "cm\u307E\u3067\u304A\u3063\u304D\u304F\u306A\u3063\u305F\u306B\u3043\u2606\u304A\u3063\u3064\u304A\u3063\u3064\u3070\u3063\u3061\u3057\u2606\u3000");
mes2 = escape(" #kairogames\u3000#\u304D\u3089\u308A\u3093\u30EC\u30C3\u30B9\u30F3");
url_dat = (("http://twitter.com/home/?status=" + mes) + _parent.url) + mes2;
}
Symbol 18 MovieClip [esa] Frame 1
stop();
Symbol 18 MovieClip [esa] Frame 2
stop();
Symbol 18 MovieClip [esa] Frame 3
stop();
Symbol 18 MovieClip [esa] Frame 4
stop();
Symbol 18 MovieClip [esa] Frame 5
stop();
Symbol 18 MovieClip [esa] Frame 6
stop();
Symbol 36 MovieClip Frame 13
stop();
Instance of Symbol 33 MovieClip in Symbol 36 MovieClip Frame 13
onClipEvent (enterFrame) {
loaded = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (loaded == 100) {
_parent.gotoAndPlay(14);
}
}
Symbol 36 MovieClip Frame 26
if (_root.MODE != "ALL") {
_parent.gotoAndPlay(2);
} else {
_parent.gotoAndPlay(3);
}
stop();
Symbol 44 Button
on (press) {
stopAllSounds();
gotoAndPlay (4);
}
Symbol 63 MovieClip Frame 1
st = 1;
stop();
Symbol 63 MovieClip Frame 4
st = 0;
Symbol 86 MovieClip Frame 1
stop();
Symbol 96 MovieClip Frame 1
stop();
Symbol 96 MovieClip Frame 2
stop();
Symbol 110 MovieClip Frame 1
stop();
Instance of Symbol 18 MovieClip [esa] in Symbol 110 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(_parent._parent.tama_dat[1]);
}
onClipEvent (enterFrame) {
gotoAndStop(_parent._parent.tama_dat[1]);
}
Symbol 119 MovieClip Frame 1
stop();
Symbol 123 MovieClip Frame 1
function EsaAddFunc() {
if (game_flg == "on") {
tama_max = tama_max + 1;
rot_x = _xmouse - 66;
rot_y = _ymouse - 117;
rot = (Math.atan2(rot_y, rot_x) * 180) / Math.PI;
var _local2 = this.MC.attachMovie("esa", "esa" + tama_max, tama_max);
_local2._x = 66;
_local2._y = 117;
_local2.add_x = Math.cos((rot * Math.PI) / 180) * speed;
_local2.add_y = Math.sin((rot * Math.PI) / 180) * speed;
_local2.no = tama_dat[1];
_local2.gotoAndPlay(_local2.no);
esa_flg[tama_max] = "on";
i = 1;
while (i < 10) {
tama_dat[i] = tama_dat[i + 1];
i++;
}
tama_dat[10] = 6;
P.gotoAndPlay(2);
}
}
function EsaMoveFunc(i) {
var mc = eval ("this.MC.esa" + i);
mc._x = mc._x + mc.add_x;
mc._y = mc._y + mc.add_y;
if (game_flg == "on") {
if (mc.hitTest(KIRARI.KUTI.HIT)) {
_parent.score = _parent.score + esa_dat[mc.no];
if (_parent.score <= 184) {
_parent.score = 184;
}
bai = _parent.score - 84;
esa_flg[i] = "off";
switch (ef_cnt) {
case 0 :
KIRARI.EFECT1.gotoAndPlay(2);
break;
case 1 :
KIRARI.EFECT2.gotoAndPlay(2);
break;
case 2 :
KIRARI.EFECT3.gotoAndPlay(2);
}
ef_cnt = (ef_cnt + 1) % 3;
if (mc.no == 5) {
sya_cnt2 = sya_cnt2 + 1;
sya_cnt1 = 0;
_parent.se_02.start();
} else {
sya_cnt1 = sya_cnt1 + 1;
_parent.se_01.start();
}
if ((sya_cnt1 >= 40) or (sya_cnt2 >= 10)) {
sya_cnt1 = 0;
sya_cnt2 = 0;
if (SYACHO.st == 0) {
SYACHO.st = 1;
}
}
vo_no = mc.no;
mc.removeMovieClip();
} else if ((((mc._x < -20) or (mc._x > 420)) or (mc._y > 320)) or (mc._y < -1000)) {
esa_flg[i] = "off";
mc.removeMovieClip();
} else if (SYACHO.st == 2) {
if (mc.hitTest(SYACHO.HIT)) {
_parent.se_03.start();
SYACHO.st = 3;
STDR.st = 1;
SYACHO.STDR.gotoAndStop(2);
esa_flg[i] = "off";
mc.removeMovieClip();
}
}
}
}
Instance of Symbol 52 MovieClip in Symbol 123 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.score > 1284) {
y = 300 + ((_parent._parent.score - 1284) / 2);
if (Math.abs(y) > 0.5) {
if (_y > y) {
_y = (_y - 0.5);
} else if (_y < y) {
_y = (_y + 0.5);
}
}
} else {
_y = 300;
}
}
Instance of Symbol 91 MovieClip "KIRARI" in Symbol 123 MovieClip Frame 1
onClipEvent (enterFrame) {
if (KUTI.st == 1) {
i = random(_parent._parent.score);
if (i < 100) {
KUTI.gotoAndPlay(2);
}
}
phase = phase + phase_speed;
var d = Math.sin((phase * Math.PI) / 180);
var x = ((d * amp) + px);
this._x = x;
if (_parent._parent.score > 1284) {
y = 300 + ((_parent._parent.score - 1284) / 3);
if (Math.abs(y) > 0.5) {
if (_y > y) {
_y = (_y - 0.5);
} else if (_y < y) {
_y = (_y + 0.5);
}
}
} else {
_y = 300;
}
}
onClipEvent (load) {
ii = 0;
px = 300;
phase = 0;
phase_speed = 1;
amp = 50;
}
Instance of Symbol 103 MovieClip "SYACHO" in Symbol 123 MovieClip Frame 1
onClipEvent (load) {
st = 0;
_alpha = 100;
}
onClipEvent (enterFrame) {
switch (st) {
case 0 :
_alpha = 0;
break;
case 1 :
STDR.gotoAndStop(1);
_alpha = 100;
var px = -20;
var py = 60;
var rot = -90;
var rot_speed = 0.5;
var radius1 = 150;
var radius2 = 10;
st = 2;
break;
case 2 :
rot = (rot + rot_speed) % 360;
var rad = ((rot * Math.PI) / 180);
var x = (px + (Math.cos(rad) * radius1));
var y = (py + (Math.sin(rad * 7) * radius2));
this._x = x;
this._y = y;
if (rot >= 90) {
st = 0;
}
break;
case 3 :
this._x = this._x - 10;
if (this._x > -20) {
break;
}
st = 0;
}
}
Instance of Symbol 121 MovieClip "STDR" in Symbol 123 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
st = 0;
}
onClipEvent (enterFrame) {
switch (st) {
case 0 :
_alpha = 0;
break;
case 1 :
_alpha = 100;
_x = _parent.SYACHO._x;
_y = _parent.SYACHO._y;
add_x = (50 - _x) / 15;
add_y = (122 - _y) / 15;
add_cnt = 0;
st = 2;
break;
case 2 :
_x = (_x + add_x);
_y = (_y + add_y);
add_cnt = add_cnt + 1;
if (add_cnt < 15) {
break;
}
_parent.EFECT.gotoAndPlay(2);
_parent._parent.se_04.start();
_parent.tama_dat = [0, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4];
_parent.tama_cnt = 10;
st = 0;
}
}
Instance of Symbol 18 MovieClip [esa] in Symbol 130 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (5);
no = 1;
}
onClipEvent (enterFrame) {
gotoAndStop(_parent._parent._parent.GAME.tama_dat[no]);
}
Instance of Symbol 18 MovieClip [esa] in Symbol 130 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (5);
no = 2;
}
onClipEvent (enterFrame) {
gotoAndStop(_parent._parent._parent.GAME.tama_dat[no]);
}
Instance of Symbol 18 MovieClip [esa] in Symbol 130 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (5);
no = 3;
}
onClipEvent (enterFrame) {
gotoAndStop(_parent._parent._parent.GAME.tama_dat[no]);
}
Instance of Symbol 18 MovieClip [esa] in Symbol 130 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (5);
no = 4;
}
onClipEvent (enterFrame) {
gotoAndStop(_parent._parent._parent.GAME.tama_dat[no]);
}
Instance of Symbol 18 MovieClip [esa] in Symbol 130 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (5);
no = 5;
}
onClipEvent (enterFrame) {
gotoAndStop(_parent._parent._parent.GAME.tama_dat[no]);
}
Instance of Symbol 18 MovieClip [esa] in Symbol 130 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (5);
no = 6;
}
onClipEvent (enterFrame) {
gotoAndStop(_parent._parent._parent.GAME.tama_dat[no]);
}
Instance of Symbol 18 MovieClip [esa] in Symbol 130 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (5);
no = 7;
}
onClipEvent (enterFrame) {
gotoAndStop(_parent._parent._parent.GAME.tama_dat[no]);
}
Instance of Symbol 18 MovieClip [esa] in Symbol 130 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (5);
no = 8;
}
onClipEvent (enterFrame) {
gotoAndStop(_parent._parent._parent.GAME.tama_dat[no]);
}
Instance of Symbol 18 MovieClip [esa] in Symbol 130 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (5);
no = 9;
}
onClipEvent (enterFrame) {
gotoAndStop(_parent._parent._parent.GAME.tama_dat[no]);
}
Instance of Symbol 18 MovieClip [esa] in Symbol 130 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (5);
no = 10;
}
onClipEvent (enterFrame) {
gotoAndStop(_parent._parent._parent.GAME.tama_dat[no]);
}
Instance of Symbol 129 MovieClip in Symbol 130 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
onClipEvent (enterFrame) {
if (((_parent._parent._parent.GAME.tama_cnt == 0) or (_parent._parent._parent.GAME.game_st == 2)) or (_parent._parent._parent.GAME.game_st == 3)) {
_alpha = 100;
} else {
_alpha = 0;
}
}
Instance of Symbol 141 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
x = 1;
i = Math.floor(_parent._parent.score / x);
i = (i % 10) + 1;
oldi = i;
gotoAndStop(i);
}
onClipEvent (enterFrame) {
i = Math.floor(_parent._parent.score / x);
i = (i % 10) + 1;
if (i != oldi) {
oldi = i;
gotoAndStop(i);
}
}
Instance of Symbol 141 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
x = 10;
i = Math.floor(_parent._parent.score / x);
i = (i % 10) + 1;
oldi = i;
gotoAndStop(i);
}
onClipEvent (enterFrame) {
i = Math.floor(_parent._parent.score / x);
i = (i % 10) + 1;
if (i != oldi) {
oldi = i;
gotoAndStop(i);
}
}
Instance of Symbol 141 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
x = 100;
i = Math.floor(_parent._parent.score / x);
i = (i % 10) + 1;
oldi = i;
gotoAndStop(i);
}
onClipEvent (enterFrame) {
i = Math.floor(_parent._parent.score / x);
i = (i % 10) + 1;
if (i != oldi) {
oldi = i;
gotoAndStop(i);
}
}
Instance of Symbol 141 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
x = 1000;
i = Math.floor(_parent._parent.score / x);
i = (i % 10) + 1;
oldi = i;
gotoAndStop(i);
}
onClipEvent (enterFrame) {
i = Math.floor(_parent._parent.score / x);
i = (i % 10) + 1;
if (i != oldi) {
oldi = i;
gotoAndStop(i);
}
}
Symbol 147 MovieClip Frame 2251
_parent.GAME.game_flg = "off";
Symbol 147 MovieClip Frame 2279
_parent.gotoAndPlay(6);
Symbol 147 MovieClip Frame 2359
stop();
Symbol 157 Button
on (press) {
getURL (url_dat, "_blank");
}
Symbol 158 Button
on (press) {
stopAllSounds();
_parent.gotoAndPlay(3);
}
Instance of Symbol 141 MovieClip in Symbol 160 MovieClip Frame 1
onClipEvent (load) {
x = 1;
i = Math.floor(_parent._parent.score / x);
i = (i % 10) + 1;
oldi = i;
gotoAndStop(i);
}
onClipEvent (enterFrame) {
i = Math.floor(_parent._parent.score / x);
i = (i % 10) + 1;
if (i != oldi) {
oldi = i;
gotoAndStop(i);
}
}
Instance of Symbol 141 MovieClip in Symbol 160 MovieClip Frame 1
onClipEvent (load) {
x = 10;
i = Math.floor(_parent._parent.score / x);
i = (i % 10) + 1;
oldi = i;
gotoAndStop(i);
}
onClipEvent (enterFrame) {
i = Math.floor(_parent._parent.score / x);
i = (i % 10) + 1;
if (i != oldi) {
oldi = i;
gotoAndStop(i);
}
}
Instance of Symbol 141 MovieClip in Symbol 160 MovieClip Frame 1
onClipEvent (load) {
x = 100;
i = Math.floor(_parent._parent.score / x);
i = (i % 10) + 1;
oldi = i;
gotoAndStop(i);
}
onClipEvent (enterFrame) {
i = Math.floor(_parent._parent.score / x);
i = (i % 10) + 1;
if (i != oldi) {
oldi = i;
gotoAndStop(i);
}
}
Instance of Symbol 141 MovieClip in Symbol 160 MovieClip Frame 1
onClipEvent (load) {
x = 1000;
i = Math.floor(_parent._parent.score / x);
i = (i % 10) + 1;
oldi = i;
gotoAndStop(i);
}
onClipEvent (enterFrame) {
i = Math.floor(_parent._parent.score / x);
i = (i % 10) + 1;
if (i != oldi) {
oldi = i;
gotoAndStop(i);
}
}