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_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_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 100 MovieClip in Frame 4
onClipEvent (load) {
st = 0;
voice = 0;
wa_max = 1;
wa_cnt = 0;
gr_cnt = 0;
add_cnt = 0;
speed = 3;
_parent.time_cnt = 0;
_parent.score = 0;
score = 0;
game_flg = "on";
pos_dat = new Array();
i = 1;
while (i < 151) {
pos_dat[i] = new Array();
i++;
}
ix = 1;
while (ix < 151) {
iy = 1;
while (iy < 151) {
if (G.hitTest(ix + 250, iy + 50, true)) {
pos_dat[ix][iy] = 1;
} else {
pos_dat[ix][iy] = 0;
}
iy++;
}
ix++;
}
}
onClipEvent (enterFrame) {
if (game_flg == "on") {
_parent.time_cnt = _parent.time_cnt + 4;
if (add_cnt >= Math.pow(2, wa_max)) {
wa_max = wa_max + 1;
}
if (wa_cnt < wa_max) {
wa_cnt = wa_cnt + 1;
AddFunc();
}
i = 1;
while (i <= wa_max) {
if (game_flg == "on") {
var mc = eval ("this.MC.WA" + i);
ExecuteFunc(mc);
}
i++;
}
}
}
Frame 5
Mouse.show();
stop();
Frame 6
stop();
url = "http://kazumi386.org/~kairo/mmgame/110515.htm";
Instance of Symbol 108 MovieClip in Frame 6
onClipEvent (load) {
_alpha = 0;
score = _parent.score;
score2 = _parent.score / 100;
time_cnt = _parent.time_cnt / 100;
if (score2 > 90) {
mes = escape(time_cnt + "\u79D2\u306B\u308F\u305F\u308B\u8AAC\u5F97\u306E\u672B\u3001\u3055\u3084\u304B\u3061\u3083\u3093\u304C\u6B63\u6C17\u306B\u623B\u3063\u305F\u3088\u307B\u3080\u3089\u3061\u3083\u3093\uFF01 ");
} else {
mes = escape(((time_cnt + "\u79D2\u9593\u8AAC\u5F97\u3057\u3066") + score2) + "%\u306E\u8863\u670D\u304C\u7834\u308C\u305F\u3051\u3069\u3001\u3055\u3084\u304B\u3061\u3083\u3093\u306F\u6551\u3048\u306A\u304B\u3063\u305F\u3088\u2026 ");
}
mes2 = escape(" #kairogames");
url_dat = (("http://twitter.com/home/?status=" + mes) + _parent.url) + mes2;
}
Symbol 27 MovieClip Frame 13
stop();
Instance of Symbol 24 MovieClip in Symbol 27 MovieClip Frame 13
onClipEvent (enterFrame) {
loaded = Math.floor((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (loaded == 100) {
_parent.gotoAndPlay(14);
}
}
Symbol 27 MovieClip Frame 26
if (_root.MODE != "ALL") {
_parent.gotoAndPlay(2);
} else {
_parent.gotoAndPlay(3);
}
stop();
Symbol 37 Button
on (press) {
stopAllSounds();
gotoAndPlay (4);
}
Symbol 38 Button
on (press) {
getURL ("http://adequate.blog.shinobi.jp/Entry/214/", "_blank");
}
Symbol 65 MovieClip Frame 1
stop();
Instance of Symbol 61 MovieClip in Symbol 65 MovieClip Frame 2
onClipEvent (load) {
_x = 310;
_y = _parent._parent.MADOKA._y;
}
onClipEvent (enterFrame) {
_x = (_x - 4);
if (_x <= _parent._parent.MADOKA._x) {
_parent._parent.MADOKA._alpha = 0;
}
}
Symbol 65 MovieClip Frame 141
_parent._parent.gotoAndStop(6);
stop();
Symbol 70 MovieClip Frame 1
stop();
Symbol 70 MovieClip Frame 141
_parent._parent.gotoAndStop(6);
stop();
Symbol 98 MovieClip Frame 1
stop();
Instance of Symbol 94 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (load) {
x = 1;
i = Math.floor(_parent._parent.score / x);
i = (i % 10) + 1;
oldi = i;
gotoAndStop(i);
}
Instance of Symbol 94 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (load) {
x = 10;
i = Math.floor(_parent._parent.score / x);
i = (i % 10) + 1;
oldi = i;
gotoAndStop(i);
}
Instance of Symbol 94 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (load) {
x = 100;
i = Math.floor(_parent._parent.score / x);
i = (i % 10) + 1;
oldi = i;
gotoAndStop(i);
}
Instance of Symbol 94 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (load) {
x = 1000;
i = Math.floor(_parent._parent.score / x);
i = (i % 10) + 1;
oldi = i;
gotoAndStop(i);
if (_parent._parent.score < x) {
_alpha = 0;
}
}
Instance of Symbol 94 MovieClip in Symbol 98 MovieClip Frame 1
onClipEvent (load) {
x = 10000;
i = Math.floor(_parent._parent.score / x);
i = (i % 10) + 1;
oldi = i;
gotoAndStop(i);
if (_parent._parent.score < x) {
_alpha = 0;
}
}
Instance of Symbol 94 MovieClip in Symbol 98 MovieClip Frame 3
onClipEvent (load) {
x = 1;
i = Math.floor(_parent._parent.score / x);
i = (i % 10) + 1;
oldi = i;
gotoAndStop(i);
}
Instance of Symbol 94 MovieClip in Symbol 98 MovieClip Frame 3
onClipEvent (load) {
x = 10;
i = Math.floor(_parent._parent.score / x);
i = (i % 10) + 1;
oldi = i;
gotoAndStop(i);
}
Instance of Symbol 94 MovieClip in Symbol 98 MovieClip Frame 3
onClipEvent (load) {
x = 100;
i = Math.floor(_parent._parent.score / x);
i = (i % 10) + 1;
oldi = i;
gotoAndStop(i);
}
Instance of Symbol 94 MovieClip in Symbol 98 MovieClip Frame 3
onClipEvent (load) {
x = 1000;
i = Math.floor(_parent._parent.score / x);
i = (i % 10) + 1;
oldi = i;
gotoAndStop(i);
if (_parent._parent.score < x) {
_alpha = 0;
}
}
Instance of Symbol 94 MovieClip in Symbol 98 MovieClip Frame 3
onClipEvent (load) {
x = 10000;
i = Math.floor(_parent._parent.score / x);
i = (i % 10) + 1;
oldi = i;
gotoAndStop(i);
if (_parent._parent.score < x) {
_alpha = 0;
}
}
Symbol 100 MovieClip Frame 1
function GrazeFunc() {
gr_sw = "off";
while (gr_sw == "off") {
gr_x = random(150);
gr_y = random(150);
pos_flg = "off";
if (pos_dat[gr_x][gr_y] == 1) {
gr_sw = "on";
gr_cnt = gr_cnt + 1;
var _local3 = this.D.MC2.attachMovie("DAMAGE", "DAMAGE" + gr_cnt, gr_cnt);
_local3._x = gr_x;
_local3._y = gr_y + 50;
_local3._rotation = mc.rot;
if (score > 7000) {
_local3 = this.D2.MC2.attachMovie("DAMAGE", "DAMAGE" + gr_cnt, gr_cnt);
_local3._x = gr_x;
_local3._y = gr_y + 50;
_local3._rotation = mc.rot;
}
ix = 1;
while (ix < 11) {
iy = 1;
while (iy < 11) {
gr_x2 = (gr_x - 5) + ix;
if (gr_x2 < 1) {
gr_x2 = 1;
} else if (gr_x2 > 150) {
gr_x2 = 150;
}
gr_y2 = (gr_y - 5) + iy;
if (gr_y2 < 1) {
gr_y2 = 1;
} else if (gr_y2 > 150) {
gr_y2 = 150;
}
if (pos_dat[gr_x2][gr_y2] == 1) {
pos_dat[gr_x2][gr_y2] = 2;
}
iy++;
}
ix++;
}
}
}
icnt = 0;
ix = 1;
while (ix < 151) {
iy = 1;
while (iy < 151) {
if (pos_dat[ix][iy] == 2) {
icnt = icnt + 6;
}
iy++;
}
ix++;
}
_parent.score = Math.floor(((icnt / 10664) * 100) * 100);
score = _parent.score;
SCORE.gotoAndPlay(2);
if (score > 9000) {
mc.st = 3;
game_flg = "clear";
stopAllSounds();
ED_GOOD.gotoAndPlay(2);
}
}
function ExecuteFunc(mc) {
switch (mc.st) {
case 0 :
a = random(10);
if (a == 0) {
mc.st = 1;
mc.alpha = 100;
a = random(4);
b = random(250);
switch (a) {
case 0 :
mc._x = b;
mc._y = -17.5;
break;
case 1 :
mc._x = 267.5;
mc._y = b;
break;
case 0 :
mc._x = b;
mc._y = 267.5;
break;
case 0 :
mc._x = -17.5;
mc._y = b;
}
mc.rot = (Math.atan2(MADOKA._y - mc._y, MADOKA._x - mc._x) * 180) / Math.PI;
mc.add_x = Math.cos((mc.rot * Math.PI) / 180) * speed;
mc.add_y = Math.sin((mc.rot * Math.PI) / 180) * speed;
}
break;
case 1 :
case 2 :
a = Math.abs(mc._x - MADOKA._x);
b = Math.abs(mc._y - MADOKA._y);
if ((a <= 52.5) and (b <= 60)) {
st = 0;
c = 0;
while (c < 10) {
if (MADOKA.HIT1.hitTest(mc._x + ((mc.add_x / 10) * c), mc._y + ((mc.add_y / 10) * c), true)) {
st = 1;
} else if (MADOKA.HIT2.hitTest(mc._x + ((mc.add_x / 10) * c), mc._y + ((mc.add_y / 10) * c), true)) {
if (st == 0) {
st = 2;
}
}
c++;
}
if (game_flg == "on") {
if (st == 1) {
mc.st = 3;
game_flg = "end";
stopAllSounds();
ED_BAD.gotoAndPlay(2);
} else if ((st == 2) and (mc.st == 1)) {
mc.st = 2;
voice = (voice + 1) % 2;
if (voice == 1) {
_parent.se_01.start();
} else {
_parent.se_02.start();
}
add_cnt = add_cnt + 1;
GrazeFunc();
}
}
}
case 3 :
mc._rotation = mc._rotation + speed;
mc._x = mc._x + mc.add_x;
mc._y = mc._y + mc.add_y;
if ((((mc._x > 267.5) or (mc._x < -17.5)) or (mc._y > 267.5)) or (mc._y < -17.5)) {
mc.st = 0;
}
break;
case 8 :
break;
case 9 :
}
}
function AddFunc() {
if (game_flg == "on") {
var _local2 = this.MC.attachMovie("WA", "WA" + wa_cnt, wa_cnt);
_local2._x = -100;
_local2._y = -100;
_local2.st = 0;
}
}
Instance of Symbol 49 MovieClip in Symbol 100 MovieClip Frame 1
onClipEvent (load) {
phase = 0;
phase_speed = 4;
amp = 3;
}
onClipEvent (enterFrame) {
if (_parent.game_flg == "on") {
phase = phase + phase_speed;
var d = Math.sin((phase * Math.PI) / 180);
var x = (d * amp);
_rotation = x;
}
}
Instance of Symbol 57 MovieClip "MADOKA" in Symbol 100 MovieClip Frame 1
onClipEvent (load) {
if (_parent._xmouse < 10) {
x = 10;
} else if (_parent._xmouse > 240) {
x = 240;
} else {
x = _parent._xmouse;
}
if (_parent._ymouse < 16) {
y = 16;
} else if (_parent._xmouse > 234) {
y = 234;
} else {
y = _parent._ymouse;
}
_x = x;
_y = y;
oldx = x;
gotoAndStop (1);
}
onClipEvent (mouseMove) {
if (_parent.game_flg == "on") {
if (_parent._xmouse < 10) {
x = 10;
} else if (_parent._xmouse > 240) {
x = 240;
} else {
x = _parent._xmouse;
}
if (_parent._ymouse < 16) {
y = 16;
} else if (_parent._ymouse > 234) {
y = 234;
} else {
y = _parent._ymouse;
}
_x = x;
_y = y;
if (x != oldx) {
if (x > oldx) {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
oldx = x;
}
}
}
Instance of Symbol 94 MovieClip in Symbol 100 MovieClip Frame 1
onClipEvent (load) {
x = 1;
i = Math.floor(_parent._parent.time_cnt / x);
i = (i % 10) + 1;
oldi = i;
gotoAndStop(i);
}
onClipEvent (enterFrame) {
i = Math.floor(_parent._parent.time_cnt / x);
i = (i % 10) + 1;
if (oldi != i) {
oldi = i;
gotoAndStop(i);
}
}
Instance of Symbol 94 MovieClip in Symbol 100 MovieClip Frame 1
onClipEvent (load) {
x = 10;
i = Math.floor(_parent._parent.time_cnt / x);
i = (i % 10) + 1;
oldi = i;
gotoAndStop(i);
}
onClipEvent (enterFrame) {
i = Math.floor(_parent._parent.time_cnt / x);
i = (i % 10) + 1;
if (oldi != i) {
oldi = i;
gotoAndStop(i);
}
}
Instance of Symbol 94 MovieClip in Symbol 100 MovieClip Frame 1
onClipEvent (load) {
x = 100;
i = Math.floor(_parent._parent.time_cnt / x);
i = (i % 10) + 1;
oldi = i;
gotoAndStop(i);
}
onClipEvent (enterFrame) {
i = Math.floor(_parent._parent.time_cnt / x);
i = (i % 10) + 1;
if (oldi != i) {
oldi = i;
gotoAndStop(i);
}
}
Instance of Symbol 94 MovieClip in Symbol 100 MovieClip Frame 1
onClipEvent (load) {
x = 1000;
i = Math.floor(_parent._parent.time_cnt / x);
i = (i % 10) + 1;
oldi = i;
gotoAndStop(i);
_alpha = 0;
}
onClipEvent (enterFrame) {
i = Math.floor(_parent._parent.time_cnt / x);
i = (i % 10) + 1;
if (oldi != i) {
oldi = i;
gotoAndStop(i);
if (_parent._parent.time_cnt >= x) {
_alpha = 100;
}
}
}
Instance of Symbol 94 MovieClip in Symbol 100 MovieClip Frame 1
onClipEvent (load) {
x = 10000;
i = Math.floor(_parent._parent.time_cnt / x);
i = (i % 10) + 1;
oldi = i;
gotoAndStop(i);
_alpha = 0;
}
onClipEvent (enterFrame) {
i = Math.floor(_parent._parent.time_cnt / x);
i = (i % 10) + 1;
if (oldi != i) {
oldi = i;
gotoAndStop(i);
if (_parent._parent.time_cnt >= x) {
_alpha = 100;
}
}
}
Symbol 105 Button
on (press) {
getURL (url_dat, "_blank");
}
on (rollOver) {
_alpha = 100;
}
on (rollOut) {
_alpha = 0;
}
Symbol 106 Button
on (press) {
stopAllSounds();
_parent.gotoAndPlay(3);
}
on (rollOver) {
_alpha = 100;
}
on (rollOut) {
_alpha = 0;
}
Instance of Symbol 94 MovieClip in Symbol 108 MovieClip Frame 1
onClipEvent (load) {
x = 1;
i = Math.floor(_parent._parent.time_cnt / x);
i = (i % 10) + 1;
oldi = i;
gotoAndStop(i);
}
Instance of Symbol 94 MovieClip in Symbol 108 MovieClip Frame 1
onClipEvent (load) {
x = 10;
i = Math.floor(_parent._parent.time_cnt / x);
i = (i % 10) + 1;
oldi = i;
gotoAndStop(i);
}
Instance of Symbol 94 MovieClip in Symbol 108 MovieClip Frame 1
onClipEvent (load) {
x = 100;
i = Math.floor(_parent._parent.time_cnt / x);
i = (i % 10) + 1;
oldi = i;
gotoAndStop(i);
}
Instance of Symbol 94 MovieClip in Symbol 108 MovieClip Frame 1
onClipEvent (load) {
x = 1000;
i = Math.floor(_parent._parent.time_cnt / x);
i = (i % 10) + 1;
oldi = i;
gotoAndStop(i);
if (_parent._parent.time_cnt < x) {
_alpha = 0;
}
}
Instance of Symbol 94 MovieClip in Symbol 108 MovieClip Frame 1
onClipEvent (load) {
x = 10000;
i = Math.floor(_parent._parent.time_cnt / x);
i = (i % 10) + 1;
oldi = i;
gotoAndStop(i);
if (_parent._parent.time_cnt < x) {
_alpha = 0;
}
}
Instance of Symbol 104 MovieClip in Symbol 108 MovieClip Frame 1
on (rollOver) {
_parent._alpha = 100;
}
on (rollOut) {
_parent._alpha = 0;
}