Combined Code
frame 1 {
if (vvv == undefined) {
vvv = 70;
}
}
button 7 {
on (press) {
play();
stopAllSounds();
_root.gotoAndStop(3);
}
}
button 11 {
on (press) {
_root.gotoAndStop(4);
}
}
button 12 {
on (press) {
play();
}
}
button 13 {
on (press) {
_root.ch.play();
gotoAndStop(43);
}
}
button 14 {
on (press) {
_root.ptt = 1;
}
}
movieClip 15 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 41 {
_root.ch.play();
stop();
}
}
instance tit of movieClip 15 {
onClipEvent (load) {
_root.stop();
totalSize = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
loadedSize = _root.getBytesLoaded();
nowLoadedSize = Math.round((loadedSize / totalSize) * 100);
if (nowLoadedSize == 100) {
_root.play();
} else {
if (nowLoadedSize < 100) {
_root.yomikomi = nowLoadedSize + '%';
}
}
}
}
// unknown tag 88 length 41
frame 2 {
stop();
}
instance tit of movieClip 15 {
onClipEvent (load) {
this.gotoAndStop(2);
}
}
movieClip 22 {
}
movieClip 23 {
frame 1 {
var cen = (max - min) / 2 + min;
cursor._x = ((value - min) / (max - min)) * 60;
var update = function () {
value = (max - min) * (cursor._x / 60) + min;
};
}
instance cursor of movieClip 22 {
onClipEvent (mouseDown) {
drag = false;
if (_parent._xmouse < -5) {
} else {
if (_parent._xmouse > 65) {
} else {
if (_parent._ymouse < -5) {
} else {
if (_parent._ymouse > 5) {
} else {
this._x = _parent._xmouse;
if (this._x < 0) {
this._x = 0;
}
if (this._x > 60) {
this._x = 60;
}
this.startDrag(true, 0, 0, 60, 0);
_parent.update();
_parent.change();
drag = true;
}
}
}
}
}
onClipEvent (mouseMove) {
if (drag) {
_parent.update();
_parent.change();
}
}
onClipEvent (mouseUp) {
drag = false;
this.stopDrag();
_parent.update();
_parent.change();
}
}
}
instance onryo of movieClip 23 {
onClipEvent (load) {
var min = 0;
var max = 100;
if (value == undefined) {
value = _root.vvv;
}
var floor = true;
var change = function () {
_root.vvv = value;
};
change();
}
}
movieClip 26 {
frame 1 {
stop();
}
frame 4 {
stop();
}
}
instance bgms of movieClip 26 {
onClipEvent (load) {
sound_obj = new Sound(this);
}
onClipEvent (enterFrame) {
sound_obj.setVolume(_root.vvv);
}
}
frame 3 {
muki = 0;
pt = 0;
ptt = 0;
scoresend = 0;
okuta = 0;
}
movieClip 29 {
}
movieClip 32 {
}
movieClip 35 {
}
movieClip 42 {
}
movieClip 43 {
}
// unknown tag 88 length 41
movieClip 49 {
frame 1 {
stop();
}
frame 3 {
_root.efe.play();
_root.efe._x = _root.kari._x;
_root.efe._y = _root.kari._y + 10;
}
frame 25 {
gotoAndStop(2);
}
}
instance kari of movieClip 49 {
onClipEvent (load) {
spd = 0;
mk = 0;
bk = 0;
kisuy = 0;
onby = -2;
gxx = 0;
kyok = 0;
}
onClipEvent (enterFrame) {
_root.bk3._x += 0.2;
if (_root.bk3._x > 0) {
_root.bk3._x -= 389;
}
_root.kisu._x += spdx;
if (_root.kisu._x > 450) {
_root.kisu._y = -(Math.random() * 150);
_root.kisu._x = -(Math.random() * 1200 + 500 - bk * 120);
if (_root.kisu._x > -50) {
_root.kisu._x = -50;
}
kisuy = 0;
}
if (_root.kisu._x > -45) {
_root.kisu._y += kisuy;
kisuy += 0.12;
}
_root.onb._x += spdx;
if (_root.onb._x > 450) {
_root.onb._y = 430 + Math.random() * 150;
_root.onb._x = -(Math.random() * 1600 + 600 - bk * 120);
if (_root.onb._x > -50) {
_root.onb._x = -50;
}
onby = -2;
}
if (_root.onb._x > -45) {
_root.onb._y += onby;
onby -= 0.12;
}
if (_root.pt == 3) {
kyok += spdx / 10;
_root.bk3._x += spdx * 0.3;
if (_root.bk3._x > 0) {
_root.bk3._x -= 389;
}
_root.bk2._x += spdx * 0.6;
if (_root.bk2._x > 0) {
_root.bk2._x -= 388;
}
_root.bk1._x += spdx;
if (_root.bk1._x > 0) {
_root.bk1._x -= 387;
}
if (_root.ch._x < 430) {
_root.ch._x += spdx;
}
spdy -= 0.1;
if (this._y < 390) {
this._y -= spdy;
} else {
bk += 0.0008;
this._y = 390;
spdx *= 0.8;
spd *= 0.8;
spdy = -spdy * 0.4;
this._y -= spdy;
if (Math.abs(spdx) + Math.abs(spdy) < 1) {
_root.pt = 4;
spdy = 0;
spdx = 0;
_root.bk.play();
_root.tit.gotoAndStop(44);
}
}
} else {
if (_root.pt == 2) {
this._x -= spdx;
spdy -= 0.1;
this._y -= spdy;
if (this._x > 214) {
_root.pt = 3;
}
} else {
if (_root.pt == 1) {
spd = 10;
mk = (_root.muki / 180) * Math.PI;
_root.pt = 2;
spdx = Math.cos(mk) * spd;
spdy = Math.sin(mk) * spd;
}
}
}
if (spd > 0) {
spdx -= 0.01;
spd -= 0.01;
if (spdx < 0) {
spdx = 0;
spd = 0;
}
}
if (_root.ptt == 1 && _root.pt < 4) {
bk += 0.0005;
_root.ptt = 0;
if (spdy < 0) {
k1 = (this._y - 360) * 0.3 + 0.1;
} else {
k1 = (this._y - 370) * 0.4 + 0.2;
}
if (k1 > 0 && spd * 0.8 <= k1 - bk) {
spd = k1 - bk;
if (spdy < 0) {
mk = k1 * 4.5;
} else {
mk = (10 - k1) * 4.5 + 45;
}
mk = (mk / 180) * Math.PI;
if (spd < 0) {
spd = 0;
}
spdx = Math.cos(mk) * spd;
spdy = Math.sin(mk) * spd;
}
}
this._rotation = Math.atan2(spdy, spdx) * 180 / Math.PI;
if (Math.abs(_root.kisu._x - this._x) < 21 && Math.abs(_root.kisu._y - this._y) < 21 && this._currentframe == 2) {
this.play();
spdx *= 0.6;
spdy = -kisuy * 1.2;
bk += 0.001;
}
if (Math.abs(_root.onb._x - this._x) < 21 && Math.abs(_root.onb._y - this._y) < 21 && this._currentframe == 2) {
this.play();
spdx *= 0.6;
spdy = -onby * 1.2;
bk += 0.001;
}
gxx = spd * 16 - 160;
if (_root.geji.gx._x + 0.1 < gxx) {
_root.geji.gx._x += (gxx - _root.geji.gx._x) * 0.3;
} else {
if (_root.geji.gx._x - 0.1 > gxx) {
_root.geji.gx._x -= (_root.geji.gx._x - gxx) * 0.3;
}
}
_root.kyo = Math.floor(kyok) + 'm';
_root.kakut = Math.round(this._rotation - this._rotation % 5);
if (_root.kakut == 180) {
_root.kakut = 0;
}
}
}
movieClip 56 {
frame 1 {
stop();
}
}
movieClip 67 {
}
movieClip 68 {
frame 1 {
stop();
}
frame 63 {
_root.tit.nextFrame();
stop();
}
instance of movieClip 67 {
onClipEvent (load) {
rop = 0;
kk = 2;
k2 = Math.random() * Math.PI * 2;
}
onClipEvent (enterFrame) {
kk += Math.sin(k2) / 10;
k2 += Math.random() / 9;
if (kk > 3) {
kk = 3;
}
if (rop == 0) {
this._rotation += kk;
if (this._rotation > 90) {
rop = 1;
this._rotation -= kk;
kk = -kk;
}
if (this._rotation < 0) {
this._rotation = 0;
kk = -kk;
}
} else {
this._rotation -= kk;
if (this._rotation < 0) {
rop = 0;
this._rotation += kk;
kk = -kk;
}
if (this._rotation > 90) {
this._rotation = 90;
kk = -kk;
}
}
_root.muki = this._rotation;
}
}
instance of movieClip 67 {
onClipEvent (load) {
this._rotation = _root.muki;
}
}
frame 68 {
_root.kari.gotoAndStop(2);
_root.pt = 1;
_root.bgms.gotoAndPlay(2);
stop();
}
}
movieClip 71 {
}
movieClip 74 {
}
button 84 {
on (release) {
if (namae.length > 0) {
if (_root.okuta == 0) {
if (namae.length > 16) {
namae = 'åå‰ãŒãªãŒã„ã§ã™';
} else {
if (_root.scoresend == 0) {
_root.scoresend = 1;
}
}
} else {
namae = 'æ—¢ã«é€ä¿¡ã•ã‚Œã¦ã„ã¾ã™';
}
}
}
}
movieClip 86 {
}
button 90 {
on (press) {
_root.bgms.gotoAndStop(1);
_root.tit.gotoAndStop(2);
_root.gotoAndStop(2);
}
}
movieClip 91 {
frame 1 {
stop();
}
frame 11 {
stopAllSounds();
}
frame 27 {
kyo2 = _root.kyo;
_root.kyo = '';
stop();
}
instance of movieClip 86 {
onClipEvent (enterFrame) {
if (_root.scoresend == 1) {
_root.scoresend = 2;
idt = String(_parent.namae);
me = Number(Math.floor(_root.kari.kyok));
this.loadVariables('http://maru9.saikyou.biz/karinto/te.php', 'POST');
}
}
onClipEvent (data) {
_root.okuta = 1;
_parent.namae = 'é€ä¿¡ã—ã¾ã—ãŸ';
}
}
}
frame 4 {
rkn = new Array();
rkl = new Array();
}
movieClip 94 {
}
instance so9 of movieClip 94 {
onClipEvent (load) {
function yaruyo() {
_root.idsend = 3;
System.useCodepage = true;
shori = 'rkload';
kekka = '';
_root.mess = '通信ä¸â€¦';
this.loadVariables('http://maru9.saikyou.biz/karinto/test6.php', 'POST');
System.useCodepage = false;
_root.times = 200;
rkn = new Array();
rkl = new Array();
_root.rkn = new Array();
_root.rkl = new Array();
_root.k1 = 0;
_root.mhte.k3 = 1;
i1 = 1;
for (;;) {
if (!(i1 < 100 || _root.so9['rkn' + i1] != undefined)) break;
_root.so9['rkn' + i1] = undefined;
_root.so9['rkl' + i1] = undefined;
++i1;
}
}
function quickSort(left, right, data) {
var v3 = left;
var v2 = right;
var v5 = data[int((v3 + v2) / 2)];
while (data[v3] < v5) {
do {
++v3;
while (data[v2] > v5) {
--v2;
}
if (v3 <= v2) {
var v6 = data[v3];
data[v3] = data[v2];
data[v2] = v6;
v6 = _root.rkn[v3];
_root.rkn[v3] = _root.rkn[v2];
_root.rkn[v2] = v6;
v6 = _root.rkl[v3];
_root.rkl[v3] = _root.rkl[v2];
_root.rkl[v2] = v6;
++v3;
--v2;
}
} while (v3 <= v2);
}
if (v3 < right) {
quickSort(v3, right, data);
}
if (left < v2) {
quickSort(left, v2, data);
}
}
yaruyo();
}
onClipEvent (enterFrame) {
if (_root.idsend == 3) {
if (kekka != '') {
if (kekka == 'ok') {
_root.mess = 'ランã‚ング作æˆä¸â€¦';
_root.idsend = 8;
} else {
_root.idsend = 0;
_root.mess = 'åŽŸå› ä¸æ˜Žã®ã‚¨ãƒ©ãƒ¼ã§ã™';
}
} else {
if (_root.times < 0) {
_root.idsend = 0;
_root.mess = 'タイムアウトã—ã¾ã—ãŸ';
}
}
} else {
if (_root.idsend == 8) {
_root.idsend = 4;
c1 = [0, 0];
i1 = 1;
while (_root.so9['rkn' + i1] == undefined and i1 < 100) {
++i1;
}
i2 = 0;
while (_root.so9['rkn' + i1] != undefined) {
c1 = _root.so9['rkn' + i1].split('\n');
_root.rkn[i2] = (String(c1[0])).substr(0, (String(c1[0])).length - 4);
c1 = _root.so9['rkl' + i1].split('\n');
_root.rkl[i2] = Number(c1[0]);
i1++;
i2++;
}
data = new Array();
data = _root.rkl.slice();
_root.mess = 'ランã‚ング作æˆä¸â€¦2';
quickSort(0, data.length - 1, data);
_root.mess = 'ランã‚ング作æˆä¸â€¦3';
_root.rkn.reverse();
_root.rkl.reverse();
_root.k2 = i2;
_root.rkhp2 = '/' + Math.ceil((i1 - 4) / 6);
_root.mess = '';
}
}
}
}
movieClip 95 {
}
instance mhte of movieClip 95 {
onClipEvent (load) {
_root.k1 = 0;
k3 = 1;
}
onClipEvent (enterFrame) {
if (_root.idsend == 4) {
_root.idsend = 0;
i1 = _root.k1;
i2 = 1;
while (i1 < _root.k1 + 6) {
if (i1 < _root.k2 - 1) {
_root['rknp' + i2] = _root.rkn[i1];
_root['rklp' + i2] = _root.rkl[i1] + 'm';
_root['rrrp' + i2] = i1 + 1 + 'ä½';
} else {
_root['rknp' + i2] = '';
_root['rklp' + i2] = '';
_root['rrrp' + i2] = '';
}
i1++;
i2++;
}
_root.rkhp1 = Math.ceil((_root.k1 - 1) / 6) + 1;
k3 = _root.rkhp1;
}
if (_root.idsend != 3) {
if (String(_root.rkhp1) == 'NaN') {
_root.rkhp1 = 1;
} else {
if (_root.rkhp1 >= 1 and _root.rkhp1 <= Math.ceil((_root.k2 - 1) / 6)) {
_root.rkhp1 = Math.round(_root.rkhp1);
if (k3 != _root.rkhp1) {
k3 = _root.rkhp1;
_root.k1 = k3 * 6 - 6;
i1 = _root.k1;
i2 = 1;
while (i1 < _root.k1 + 6) {
if (i1 < _root.k2 - 1) {
_root['rknp' + i2] = _root.rkn[i1];
_root['rklp' + i2] = _root.rkl[i1] + 'm';
_root['rrrp' + i2] = i1 + 1 + 'ä½';
} else {
_root['rknp' + i2] = '';
_root['rklp' + i2] = '';
_root['rrrp' + i2] = '';
}
i1++;
i2++;
}
}
} else {
if (_root.rkhp1 < 1) {
_root.rkhp1 = 1;
} else {
_root.rkhp1 = Math.ceil((_root.k2 - 2) / 6);
}
}
}
}
}
}
button 109 {
on (press) {
k1 += 6;
if (k1 >= k2 - 1) {
k1 = 0;
}
k11 = 0;
k12 = 0;
k13 = 0;
k14 = 0;
k15 = 0;
k16 = 0;
idsend = 4;
}
}
button 110 {
on (press) {
k1 -= 6;
if (k1 < 0) {
k1 = k2 - 1;
while (k1 % 6 != 0 and k1 > 0) {
--k1;
}
}
k11 = 0;
k12 = 0;
k13 = 0;
k14 = 0;
k15 = 0;
k16 = 0;
idsend = 4;
}
}
button 122 {
on (press) {
prevFrame();
prevFrame();
}
}