Combined Code
frame 1 {
stop();
cid = 0;
null();
waku.swapDepths(999998);
_root.createEmptyMovieClip('ncards', 1000);
_root.onEnterFrame = function () {
var v2 = _root.getBytesLoaded() / _root.getBytesTotal();
_root.ld0.gotoAndStop(v2 >= 0.05 ? 1 : 2);
_root.ld1.gotoAndStop(v2 >= 0.15 ? 1 : 2);
_root.ld2.gotoAndStop(v2 >= 0.25 ? 1 : 2);
_root.ld3.gotoAndStop(v2 >= 0.35 ? 1 : 2);
_root.ld4.gotoAndStop(v2 >= 0.45 ? 1 : 2);
_root.ld5.gotoAndStop(v2 >= 0.55 ? 1 : 2);
_root.ld6.gotoAndStop(v2 >= 0.65 ? 1 : 2);
_root.ld7.gotoAndStop(v2 >= 0.75 ? 1 : 2);
_root.ld8.gotoAndStop(v2 >= 0.85 ? 1 : 2);
_root.ld9.gotoAndStop(v2 >= 0.95 ? 1 : 2);
if (v2 >= 1) {
_root.onEnterFrame = null;
_root.gotoAndPlay('bgminit');
}
};
seplay = function (sn) {
var v1 = new Sound();
v1.attachSound(sn);
v1.start();
};
}
movieClip 12 {
}
movieClip 14 {
}
// unknown tag 88 length 60
movieClip 19 {
frame 1 {
stop();
}
}
movieClip 21 {
}
instance flowerRotater of movieClip 21 {
onClipEvent (enterFrame) {
_root.flower._rotation += 0.1;
var bgm1v = _root.bgm1c.getVolume();
var bgm2v = _root.bgm2c.getVolume();
if (_root.snd_state != _root.prev_snd_state) {
_root.snd_trans = true;
trace('snd state : ' + _root.snd_state);
if (_root.snd_state == 1 && bgm1v <= 0) {
_root.bgm1c.start(0, 999999);
}
if (_root.snd_state == 2 && bgm2v <= 0) {
_root.bgm2c.start(0, 999999);
}
}
if (_root.snd_trans) {
switch (_root.snd_state) {
case 0:
if (bgm1v > 0) {
_root.bgm1c.setVolume(bgm1v - 1);
} else {
_root.bgm1c.stop();
}
if (bgm2v > 0) {
_root.bgm2c.setVolume(bgm2v - 1);
} else {
_root.bgm2c.stop();
}
if (bgm1v == 0 && bgm2v == 0) {
_root.snd_trans = false;
}
break;
case 1:
if (bgm1v < _root.MAX_VOLUME) {
_root.bgm1c.setVolume(bgm1v + 1);
}
if (bgm2v > 0) {
_root.bgm2c.setVolume(bgm2v - 1);
} else {
_root.bgm2c.stop();
}
if (bgm1v >= _root.MAX_VOLUME && bgm2v <= 0) {
_root.snd_trans = false;
}
break;
case 2:
if (bgm1v > 0) {
_root.bgm1c.setVolume(bgm1v - 1);
} else {
_root.bgm1c.stop();
}
if (bgm2v < _root.MAX_VOLUME) {
_root.bgm2c.setVolume(bgm2v + 1);
}
if (bgm1v <= 0 && bgm2v >= _root.MAX_VOLUME) {
_root.snd_trans = false;
}
}
}
_root.prev_snd_state = _root.snd_state;
}
}
movieClip 23 {
}
movieClip 1363 __Packages.Ohajiki {
#initclip
if (!_global.Ohajiki) {
var v1 = function () {
super();
};
_global.Ohajiki = v1;
_global.Ohajiki extends MovieClip;
var v2 = v1.prototype;
v2.init = function () {
this.mov = false;
this.onEnterFrame = this.oef;
};
v2.setMove = function (tx, ty) {
this.mov = true;
this.mvx = tx;
this.mvy = ty;
};
v2.setPosition = function (tx, ty) {
this.mov = false;
this._x = tx;
this._y = ty;
};
v2.oef = function () {
if (this.mov) {
this._x += (this.mvx - this._x) / 6;
this._y += (this.mvy - this._y) / 6;
if (Math.abs(this.mvx - this._x) < 0.5 && Math.abs(this.mvy - this._y) < 0.5) {
this._x = this.mvx;
this._y = this.mvy;
this.mov = false;
this.removeMovieClip();
}
}
if (_root.all_clear) {
this.removeMovieClip();
}
};
ASSetPropFlags(_global.Ohajiki.prototype, null, 1);
}
#endinitclip
}
movieClip 1364 __Packages.Card {
#initclip
if (!_global.Card) {
var v1 = function () {
super();
};
_global.Card = v1;
_global.Card extends MovieClip;
var v2 = v1.prototype;
v2.init = function (cf, al) {
this.num = cf;
this.gotoAndStop(cf);
this.alignment = al;
this.mov = false;
this.van = false;
this.onEnterFrame = this.oef;
};
v2.getNumber = function () {
return this.num;
};
v2.setMove = function (tx, ty) {
this.mov = true;
this.mvx = tx;
this.mvy = ty;
this.van = false;
};
v2.setMoveVanish = function (tx, ty) {
this.setMove(tx, ty);
this.van = true;
};
v2.setPosition = function (tx, ty) {
this.mov = false;
this._x = tx;
this._y = ty;
};
v2.oef = function () {
if (this.mov) {
this._x += (this.mvx - this._x) / 3;
this._y += (this.mvy - this._y) / 3;
if (Math.abs(this.mvx - this._x) < 0.5 && Math.abs(this.mvy - this._y) < 0.5) {
if (this.van) {
this.removeMovieClip();
} else {
this._x = this.mvx;
this._y = this.mvy;
this.mov = false;
}
}
}
if (_root.all_clear) {
this.removeMovieClip();
}
};
ASSetPropFlags(_global.Card.prototype, null, 1);
}
#endinitclip
}
movieClip 1365 __Packages.Hand {
#initclip
if (!_global.Hand) {
var v1 = function (al) {
this.stk = new Array();
this.align = al;
};
_global.Hand = v1;
var v2 = v1.prototype;
v2.addToHand = function (c) {
this.stk.push(c);
};
v2.calcHandScore = function (ass) {
var v5 = 0;
var v7 = 0;
var v3 = new Array();
var v2;
var v4;
v2 = 0;
while (v2 < this.stk.length) {
v3.push(this.stk[v2]);
++v2;
}
v2 = 0;
while (v2 < ass.length) {
v3.push(ass[v2]);
++v2;
}
v3.sort(this.sorter);
v2 = 0;
while (v2 < v3.length) {
v4 = v3[v2].getNumber();
if (v4 != v5 + 1) {
v7 += v4;
}
v5 = v4;
++v2;
}
return v7;
};
v2.sortHand = function () {
this.stk.sort(this.sorter);
};
v2.sortAndShow = function () {
this.sortHand();
var v2;
var v3;
var v4 = [];
var v6 = this.stk.slice();
var v8;
v2 = 0;
while (v2 < v6.length) {
v8 = v4[v4.length - 1];
if (v4.length == 0 || v8[v8.length - 1].getNumber() + 1 != v6[v2].getNumber()) {
v4.push([v6[v2]]);
} else {
v8.push(v6[v2]);
}
v6[v2].swapDepths(100 * this.align + v2);
++v2;
}
var v10 = 0;
var v9 = 0;
v2 = 0;
while (v2 < v4.length) {
v10 += v4[v2].length - 1;
v9 = Math.max(v9, v4[v2].length);
++v2;
}
var v7 = Math.min(75, 320 / (v4.length - 1 + v10 / 5));
var v5 = 0;
v2 = 0;
while (v2 < v4.length) {
v3 = 0;
while (v3 < v4[v2].length) {
if (this.align == 1) {
v4[v2][v3].setMove(370 - v5 * v7, 465 - Math.min(v3 * 2, 10));
} else {
v4[v2][v3].setMove(51 + v5 * v7, 15 + Math.min(v3 * 2, 10));
}
if (v3 < v4[v2].length - 1) {
v5 += 0.2;
}
++v3;
}
v5 += 1;
++v2;
}
v5 = 0;
v2 = v9;
while (v2 > 0) {
v3 = v4.length - 1;
while (v3 >= 0) {
if (v4[v3].length >= v2) {
v4[v3][v2 - 1].swapDepths(v5++ + 50 + 100 * this.align);
}
--v3;
}
--v2;
}
};
v2.sorter = function (a, b) {
if (a.getNumber() < b.getNumber()) {
return -1;
} else {
if (a.getNumber() > b.getNumber()) {
return 1;
} else {
return 0;
}
}
};
v2.getHand = function () {
this.sortHand();
return this.stk;
};
v2.calcDiffOfCard = function (bt, enemyh) {
var v6 = [];
var v5 = [];
var v3 = bt.getNumber();
var v2;
var v4 = [2000, 2000];
v2 = 0;
while (v2 < enemyh.length) {
v6[enemyh[v2].getNumber()] = true;
++v2;
}
v2 = 0;
while (v2 < this.stk.length) {
v5[this.stk[v2].getNumber()] = true;
++v2;
}
v2 = v3;
while (v2 < 36) {
++v2;
if (v5[v2]) {
v4[1] = v2 - v3;
break;
} else {
if (v6[v2]) {
v4[1] = v2 - v3 + 1000;
break;
}
}
}
v2 = v3;
while (v2 > 2) {
--v2;
if (v5[v2]) {
v4[0] = v3 - v2;
break;
} else {
if (v6[v2]) {
v4[0] = v3 - v2 + 1000;
break;
}
}
}
return v4;
};
v2.all_clear = function () {
var v3 = 0;
while (v3 < this.stk) {
_root.removeMovieClip(this.stk[v3]);
++v3;
}
this.stk = [];
};
ASSetPropFlags(_global.Hand.prototype, null, 1);
}
#endinitclip
}
movieClip 1366 __Packages.Deck {
#initclip
if (!_global.Deck) {
var v1 = function () {};
_global.Deck = v1;
var v2 = v1.prototype;
v2.reshuffle = function (prior) {
var v5 = new Array();
var v8 = new Array();
var v4;
var v2;
var v3;
var v7;
this.pile = new Array();
v4 = 0;
while (v4 < prior.length) {
v3 = true;
while (v3) {
v3 = false;
v7 = [prior[v4], Math.floor(Math.random() * 20)];
v2 = 0;
for (;;) {
if (!(v2 < v5.length && !v3)) break;
v3 = v7[1] == v5[v2][1];
++v2;
}
}
v5.push(v7);
++v4;
}
v4 = 3;
while (v4 <= 35) {
v3 = true;
v2 = 0;
for (;;) {
if (!(v2 < prior.length && v3)) break;
v3 = v3 && v4 != prior[v2];
++v2;
}
if (v3) {
v8.push(v4);
}
++v4;
}
while (v8.length > 13 - prior.length) {
this.pile.push((v8.splice(Math.floor(Math.random() * v8.length), 1))[0]);
}
v4 = 0;
while (v4 < v5.length) {
this.pile[v5[v4][1]] = v5[v4][0];
++v4;
}
};
v2.drawCard = function () {
return this.pile.pop();
};
v2.getAmount = function () {
return this.pile.length;
};
ASSetPropFlags(_global.Deck.prototype, null, 1);
}
#endinitclip
}
frame 2 {
var bgm1c = new Sound(_root.bgm1);
bgm1c.attachSound('Bgm1');
bgm1c.setVolume(0);
var bgm2c = new Sound(_root.bgm2);
bgm2c.attachSound('Bgm2');
bgm2c.setVolume(0);
var snd_state = 0;
var prev_snd_state = 0;
var snd_trans = false;
var MAX_VOLUME = 75;
_root.oichisan.bg._visible = false;
loupe = false;
foop = false;
var so = SharedObject.getLocal('geschenkt');
if (so.data.unlock0 == undefined) {
so.data.unlock0 = 0;
}
if (so.data.unlock1 == undefined) {
so.data.unlock1 = 0;
}
if (so.data.unlock2 == undefined) {
so.data.unlock2 = 0;
}
if (so.data.unlock3 == undefined) {
so.data.unlock3 = 0;
}
if (so.data.wear0 == undefined) {
so.data.wear0 = 133;
}
if (so.data.wear1 == undefined) {
so.data.wear1 = 34;
}
if (so.data.wear2 == undefined) {
so.data.wear2 = 2;
}
if (so.data.wear3 == undefined) {
so.data.wear3 = 0;
}
wear = function (n) {
if (n < 13) {
so.data.wear0 |= Math.pow(2, n - 3);
} else {
if (n < 23) {
so.data.wear1 |= Math.pow(2, n - 13);
} else {
if (n < 33) {
so.data.wear2 |= Math.pow(2, n - 23);
} else {
so.data.wear3 |= Math.pow(2, n - 33);
}
}
}
var v4 = [[3, 31], [4, 28], [5], [6, 14], [7, 15], [8, 9, 24], [10, 12, 13, 19], [11], [16, 21, 27], [18, 32], [20, 17], [22, 23], [25, 26, 29], [30], [33], [34], [35]];
var v3 = -1;
var v2;
var v1;
v2 = 0;
for (;;) {
if (!(v2 < v4.length && v3 < 0)) break;
v1 = 0;
for (;;) {
if (!(v1 < v4[v2].length && v3 < 0)) break;
if (v4[v2][v1] == n) {
v3 = v2;
}
++v1;
}
++v2;
}
v2 = 0;
for (;;) {
if (!(v3 > -1 && v2 < v4[v3].length)) break;
v1 = v4[v3][v2];
if (v1 != n) {
if (v1 < 13) {
so.data.wear0 &= ~Math.pow(2, v1 - 3);
} else {
if (v1 < 23) {
so.data.wear1 &= ~Math.pow(2, v1 - 13);
} else {
if (v1 < 33) {
so.data.wear2 &= ~Math.pow(2, v1 - 23);
} else {
so.data.wear3 &= ~Math.pow(2, v1 - 33);
}
}
}
}
++v2;
}
trace('w0 : ' + so.data.wear0);
trace('w1 : ' + so.data.wear1);
trace('w2 : ' + so.data.wear2);
trace('w3 : ' + so.data.wear3);
};
unwear = function (n) {
var v3 = [[3, 31], [5], [14, 6], [24, 8, 9], [10, 12, 13, 19], [18, 32]];
if (n < 13) {
so.data.wear0 &= ~Math.pow(2, n - 3);
} else {
if (n < 23) {
so.data.wear1 &= ~Math.pow(2, n - 13);
} else {
if (n < 33) {
so.data.wear2 &= ~Math.pow(2, n - 23);
} else {
so.data.wear3 &= ~Math.pow(2, n - 33);
}
}
}
var v1;
var v2;
var v4 = -1;
v1 = 0;
for (;;) {
if (!(v1 < v3.length && v4 == -1)) break;
v2 = 0;
for (;;) {
if (!(v2 < v3[v1].length && v4 == -1)) break;
if (v3[v1][v2] == n) {
v4 = v3[v1][0];
}
++v2;
}
++v1;
}
if (v4 > -1 && !is_unlocked(v4)) {
wear(v4);
}
};
tglwear = function (n) {
var v2 = n < 13 && (so.data.wear0 & Math.pow(2, n - 3)) > 0 || n >= 13 && n < 23 && (so.data.wear1 & Math.pow(2, n - 13)) > 0 || n >= 23 && n < 33 && (so.data.wear2 & Math.pow(2, n - 23)) > 0 || n >= 33 && (so.data.wear3 & Math.pow(2, n - 33)) > 0;
if (v2) {
unwear(n);
} else {
wear(n);
}
};
kisekae = function () {
var v20 = true;
var v3 = (so.data.wear0 & 4) > 0;
var v9 = !v3;
_root.orzable = (so.data.wear0 & 101) == 0 && (so.data.wear1 & 144) == 0 && (so.data.wear2 & 263) == 0;
if (_root.orzable) {
trace('orzable');
}
_root.drug = (so.data.wear3 & 4) > 0;
_root.loupe = (so.data.wear3 & 1) > 0;
_root.foop = (so.data.wear3 & 2) > 0;
if (_root.loupe) {
_root.oichi2._yscale = 100;
_root.oichi2._xscale = 100;
} else {
_root.oichi2._yscale = 50;
_root.oichi2._xscale = 50;
}
_root.oichi2._visible = _root.loupe || _root.foop;
_root.cc._visible = _root.loupe || _root.foop;
_root.oichisan.liquid2._visible = _root.drug;
_root.oichi2.liquid2._visible = _root.drug;
var v10 = true;
var v8 = 'none';
var v13 = v3;
if ((so.data.wear1 & 512) > 0) {
v8 = 'yodarekake';
} else {
if ((so.data.wear2 & 1) > 0) {
v8 = 'kappougi';
v13 = true;
v9 = false;
}
}
_root.oichisan.apron.gotoAndStop(v8);
_root.oichi2.apron.gotoAndStop(_root.foop ? 'none' : v8);
var v16 = 'none';
var v14 = v3 ? 'juban' : 'none';
if ((so.data.wear0 & 1) > 0) {
v16 = 'kimono';
v14 = v3 ? 'kimono_juban' : 'kimono';
v9 = false;
v13 = true;
} else {
if ((so.data.wear2 & 256) > 0) {
v16 = 'mofuku';
v14 = v3 ? 'mofuku_juban' : 'mofuku';
v9 = false;
v13 = true;
}
}
_root.oichisan.kimono.gotoAndStop(v16);
_root.oichisan.sode.gotoAndStop((v8 == 'kappougi') ? 'kappougi' : v14);
_root.oichi2.kimono.gotoAndStop(_root.foop ? 'none' : v16);
_root.oichi2.sode.gotoAndStop(_root.foop ? 'none' : ((v8 == 'kappougi') ? 'kappougi' : v14));
_root.oichisan.juban.gotoAndStop(v3 ? 'juban' : 'none');
_root.oichi2.juban.gotoAndStop(_root.foop ? 'none' : (v3 ? 'juban' : 'none'));
var v15 = 'none';
if ((so.data.wear0 & 8) > 0) {
v15 = v13 ? 'shirt_s' : 'shirt';
} else {
if ((so.data.wear1 & 2) > 0) {
v15 = v13 ? 'hadagi_s' : 'hadagi';
}
}
_root.oichisan.shirt.gotoAndStop(v15);
_root.oichi2.shirt.gotoAndStop(_root.foop ? 'none' : v15);
var v5 = 'none';
if ((so.data.wear0 & 32) > 0) {
v5 = 'omutsu';
v10 = false;
} else {
if ((so.data.wear0 & 64) > 0) {
v5 = 'trunks';
v10 = false;
} else {
if ((so.data.wear2 & 2) > 0) {
v5 = 'susoyoke';
}
}
}
if (v5 != 'none' && _root.drug) {
v5 += '_drug';
}
_root.oichisan.pants.gotoAndStop(v5);
_root.oichisan.pants._visible = v9;
_root.oichi2.pants.gotoAndStop(_root.foop ? 'none' : v5);
_root.oichi2.pants._visible = v9;
var v11 = 'none';
if ((so.data.wear2 & 4) > 0) {
v11 = _root.drug ? 'sukumizu_drug' : 'sukumizu';
v10 = false;
} else {
if ((so.data.wear2 & 8) > 0) {
v11 = 'bansoukou';
} else {
if ((so.data.wear2 & 64) > 0) {
v11 = 'buramizu';
}
}
}
_root.oichisan.tops.gotoAndStop(v11);
_root.oichi2.tops.gotoAndStop(_root.foop ? 'none' : v11);
var v6 = 'none';
if ((so.data.wear1 & 128) > 0) {
v6 = 'maebari';
} else {
if ((so.data.wear1 & 16) > 0) {
v6 = 'momohiki';
}
}
if (v6 != 'none' && _root.drug) {
v6 += '_drug';
}
_root.oichisan.bottoms.gotoAndStop(v6);
_root.oichi2.bottoms.gotoAndStop(_root.foop ? 'none' : v6);
var v7 = 'normal';
if ((so.data.wear0 & 2) > 0) {
v7 = 'toratama';
} else {
if ((so.data.wear2 & 32) > 0) {
v7 = 'long';
}
}
_root.oichisan.hair.gotoAndStop(v7);
_root.oichisan.backhair.gotoAndStop(v7);
_root.oichi2.hair.gotoAndStop(v7);
_root.oichi2.backhair.gotoAndStop(v7);
_root.mouth_enable = false;
var v18 = 'none';
if ((so.data.wear0 & 16) > 0) {
v18 = 'osyaburi';
} else {
if ((so.data.wear1 & 4) > 0) {
v18 = 'youkan';
} else {
_root.mouth_enable = true;
}
}
_root.oichisan.mouth.gotoAndStop(v18);
_root.oichi2.mouth.gotoAndStop(v18);
var v2 = 'none';
if ((so.data.wear0 & 128) > 0) {
v2 = 'normal';
} else {
if ((so.data.wear0 & 512) > 0) {
v2 = 'win31';
} else {
if ((so.data.wear1 & 1) > 0) {
v2 = 'maid';
} else {
if ((so.data.wear1 & 64) > 0) {
v2 = 'win95';
}
}
}
}
_root.oichisan.hairband.gotoAndStop(v2);
_root.oichisan.hairband_back.gotoAndStop(v2);
_root.oichi2.hairband.gotoAndStop(_root.foop ? 'none' : v2);
_root.oichi2.hairband_back.gotoAndStop(_root.foop ? 'none' : v2);
var v12 = 'none';
if ((so.data.wear1 & 8) > 0) {
v12 = 'marumegane';
} else {
if ((so.data.wear1 & 256) > 0) {
v12 = 'teacher';
} else {
if ((so.data.wear2 & 16) > 0) {
v12 = 'eyemask';
}
}
}
_root.oichisan.glass.gotoAndStop(v12);
_root.oichi2.glass.gotoAndStop(_root.foop ? 'none' : v12);
var v17 = 'none';
if ((so.data.wear1 & 32) > 0) {
v17 = 'tabi';
} else {
if ((so.data.wear2 & 512) > 0) {
v17 = 'socks';
}
}
_root.oichisan.foot.gotoAndStop(v17);
_root.oichi2.foot.gotoAndStop(_root.foop ? 'none' : v17);
var v19 = 'none';
if ((so.data.wear0 & 256) > 0) {
v19 = 'inu';
}
_root.oichisan.tail.gotoAndStop(v19);
_root.oichi2.tail.gotoAndStop(_root.foop ? 'none' : v19);
var v4 = 'normal';
if ((so.data.wear2 & 128) > 0) {
v4 = 'tan';
}
_root.oichisan.head.gotoAndStop(v4);
_root.oichisan.arm.gotoAndStop(v4);
_root.oichisan.body.gotoAndStop(v4);
_root.oichi2.head.gotoAndStop(v4);
_root.oichi2.arm.gotoAndStop(v4);
_root.oichi2.body.gotoAndStop(v4);
_root.oichisan.liquid1._visible = _root.drug && v10;
_root.oichi2.liquid1._visible = _root.drug && v10;
_root.oichisan.orz.enabled = _root.orzable;
_root.oichi2.orz.enabled = _root.orzable;
};
getEnbet = function () {
var v2 = 0;
var v4 = betting.getNumber();
var v7 = -ehand.calcHandScore([]);
var v8 = -ehand.calcHandScore([betting]);
var v5 = -mhand.calcHandScore([]);
var v6 = -mhand.calcHandScore([betting]);
var v3 = true;
if (v8 - v7 > 1) {
v2 = 0;
feel = 1;
} else {
if (v6 - v5 > 1) {
v2 = _root.initiative ? 0 : 1;
feel = -1;
v3 = false;
} else {
if (v8 - v7 >= 0 && v6 - v5 >= 0) {
v2 = Math.floor(Math.random() * 2);
feel = 0;
v3 = false;
} else {
if (v8 - v7 >= 0) {
feel = 1;
if (Math.random() < ecoin / 50) {
v2 = 0;
} else {
v2 = Math.min(ecoin * 0.8, v4 * 0.5 * Math.random());
}
} else {
if (v6 - v5 >= 0) {
feel = -1;
v3 = false;
if (Math.random() < mcoin / 50) {
v2 = _root.initiative ? 0 : 1;
} else {
v2 = Math.min(ecoin * 0.8, v4 * 0.45 * Math.random());
}
} else {
feel = 0;
v2 = 0.5;
var v9 = ehand.calcDiffOfCard(betting, mhand.getHand());
var v12 = Math.min(v9[0], v9[1]);
var v11 = mhand.calcDiffOfCard(betting, ehand.getHand());
var v10 = Math.min(v11[0], v11[1]);
if (v12 == 2) {
v2 -= 0.2;
} else {
if (v12 == 3) {
v2 -= 0.1;
}
}
if (v10 == 2) {
v2 -= 0.2;
} else {
if (v10 == 3) {
v2 -= 0.1;
}
}
v2 = Math.min(ecoin * 0.6, v4 * v2 * (0.8 + Math.random() * 0.4));
}
}
}
}
}
if (v3 && Math.random() * 1.25 < (25 - ecoin) / 25) {
v2 = 0;
}
return Math.ceil(Math.min(mcoin + 1, Math.min(ecoin, Math.max(0, v2))));
};
unlock = function (n) {
if (n < 13) {
so.data.unlock0 |= Math.pow(2, n - 3);
} else {
if (n < 23) {
so.data.unlock1 |= Math.pow(2, n - 13);
} else {
if (n < 33) {
so.data.unlock2 |= Math.pow(2, n - 23);
} else {
so.data.unlock3 |= Math.pow(2, n - 33);
}
}
}
};
is_unlocked = function (n) {
if (n < 13) {
return (so.data.unlock0 & Math.pow(2, n - 3)) > 0;
} else {
if (n < 23) {
return (so.data.unlock1 & Math.pow(2, n - 13)) > 0;
} else {
if (n < 33) {
return (so.data.unlock2 & Math.pow(2, n - 23)) > 0;
} else {
return (so.data.unlock3 & Math.pow(2, n - 33)) > 0;
}
}
}
};
is_wearing = function (n) {
if (n < 13) {
return (so.data.wear0 & Math.pow(2, n - 3)) > 0;
} else {
if (n < 23) {
return (so.data.wear1 & Math.pow(2, n - 13)) > 0;
} else {
if (n < 33) {
return (so.data.wear2 & Math.pow(2, n - 23)) > 0;
} else {
return (so.data.wear3 & Math.pow(2, n - 33)) > 0;
}
}
}
};
fukiman = function (ttl) {
if (ttl == 'none') {
fk.gotoAndStop('none');
} else {
if (!_root.mouth_enable) {
fk.gotoAndStop(ttl + 'm');
} else {
if ((_root.so.data.wear3 & 4) > 0) {
fk.gotoAndStop(ttl + 'b');
} else {
fk.gotoAndStop(ttl);
}
}
}
};
faceman = function (ttl) {
if (_root.drug) {
ttl = 'drug';
}
_root.oichisan.face.gotoAndStop(ttl);
_root.oichi2.face.gotoAndStop(ttl);
};
trace(_root.so.data.unlock2);
nextFrame();
}
movieClip 28 {
}
movieClip 35 {
}
movieClip 38 {
}
movieClip 43 {
frame 1 {
stop();
}
}
movieClip 46 {
}
movieClip 55 {
}
movieClip 60 {
}
movieClip 63 {
}
movieClip 72 {
frame 1 {
stop();
}
}
movieClip 85 {
frame 1 {
stop();
}
}
movieClip 94 {
}
movieClip 97 {
frame 1 {
stop();
}
}
movieClip 102 {
frame 1 {
stop();
}
}
movieClip 107 {
}
movieClip 112 {
frame 1 {
stop();
}
}
movieClip 119 {
}
movieClip 124 {
frame 1 {
stop();
}
}
movieClip 137 {
frame 1 {
stop();
}
}
movieClip 146 {
frame 1 {
stop();
}
}
movieClip 151 {
}
movieClip 158 {
}
movieClip 165 {
}
button 167 {
on (press) {
if (_root.gphase == 1) {
_root.gotoAndStop('orz_game');
} else {
if (_root.gphase == 2) {
_root.gotoAndStop('orz_kisekae');
}
}
}
}
movieClip 168 {
}
movieClip 170 {
}
button 174 {
on (press) {
startDrag(this, false);
}
on (release) {
stopDrag();
}
on (releaseOutside) {
stopDrag();
}
}
movieClip 175 {
}
instance cc of movieClip 175 {
onClipEvent (enterFrame) {
_x = Math.max(410, Math.min(640, _x));
_y = Math.max(0, Math.min(480, _y));
_root.masker._x = _x;
_root.masker._y = _y;
if (_root.loupe) {
_root.oichi2._x = _x - (_x - 360) * 2;
_root.oichi2._y = _y - (_y + 10) * 2;
} else {
if (_root.foop) {
_root.oichi2._x = 360;
_root.oichi2._y = -10;
}
}
}
}
// unknown tag 88 length 58
// unknown tag 88 length 58
movieClip 181 {
}
movieClip 184 {
}
movieClip 187 {
}
movieClip 190 {
}
movieClip 193 {
}
movieClip 196 {
}
movieClip 199 {
}
movieClip 202 {
}
movieClip 205 {
}
movieClip 208 {
}
movieClip 211 {
}
movieClip 214 {
}
movieClip 217 {
}
movieClip 218 {
}
movieClip 222 {
}
button 224 {
on (press) {
seplay('push_up');
_root.gotoAndStop('help');
}
on (rollOver) {
seplay('buttonon');
}
}
movieClip 227 {
}
button 228 {
on (press) {
trace('hoge');
seplay('start');
_root.gotoAndPlay('game_init');
}
on (rollOver) {
seplay('buttonon');
}
}
// unknown tag 88 length 121
// unknown tag 88 length 75
movieClip 334 Card {
#initclip
Object.registerClass('Card', Card);
#endinitclip
}
// unknown tag 88 length 58
// unknown tag 88 length 60
movieClip 353 {
}
button 358 {
on (press) {
if (_root.bet_amount > 0) {
--_root.bet_amount;
bpshow();
_root.seplay('push_down');
}
}
on (rollOver) {
_root.seplay('buttonon');
}
}
button 362 {
on (press) {
if (_root.bet_amount < _root.mcoin) {
++_root.bet_amount;
bpshow();
_root.seplay('push_up');
}
}
on (rollOver) {
_root.seplay('buttonon');
}
}
button 366 {
on (press) {
_root.onEnterFrame = null;
_root.seplay('deal');
_root.gotoAndStop('bet_result');
this.removeMovieClip();
}
on (rollOver) {
_root.seplay('buttonon');
}
}
movieClip 367 bet_clip {
frame 1 {
bpshow = function () {
b2.gotoAndStop(_root.bet_amount > 9 ? Math.floor(_root.bet_amount / 10) + 1 : 13);
b1.gotoAndStop(_root.bet_amount % 10 + 1);
};
bpshow();
}
}
movieClip 369 ohajikic {
#initclip
Object.registerClass('ohajikic', Ohajiki);
#endinitclip
}
movieClip 372 {
}
movieClip 373 bet_res {
}
movieClip 374 2dig {
}
movieClip 376 c_gamestart {
}
movieClip 379 c_gameend {
}
button 382 {
on (press) {
_root.gotoAndStop('title');
this.removeMovieClip();
}
}
movieClip 383 c_gameover {
}
movieClip 384 {
frame 1 {
stop();
}
}
frame 3 {
kisekae();
gphase = 0;
all_clear = true;
cnt = 0;
snd_state = 0;
_root.onEnterFrame = function () {
++cnt;
if (cnt == 2) {
_root.all_clear = false;
}
};
faceman('normal');
stop();
}
movieClip 388 {
}
// unknown tag 88 length 75
// unknown tag 88 length 75
movieClip 393 {
}
movieClip 396 {
}
button 399 {
on (press) {
seplay('push_up');
gotoAndStop('title');
}
on (rollOver) {
seplay('buttonon');
}
}
button 401 {
on (press) {
seplay('push_up');
nextFrame();
}
on (rollOver) {
seplay('buttonon');
}
}
movieClip 404 {
}
movieClip 407 {
}
movieClip 410 {
}
button 417 {
on (press) {
seplay('push_up');
prevFrame();
}
on (rollOver) {
seplay('buttonon');
}
}
movieClip 420 {
}
movieClip 423 {
}
movieClip 427 {
}
movieClip 430 {
}
movieClip 433 {
}
movieClip 437 {
}
movieClip 440 {
}
movieClip 444 {
}
movieClip 449 {
}
movieClip 452 {
}
movieClip 455 {
}
movieClip 458 {
}
frame 28 {
var deck = new Deck();
var mhand = new Hand(1);
var ehand = new Hand(2);
var mcoin = 0;
var ecoin = 0;
gphase = 3;
all_clear = false;
pri = [];
if ((so.data.unlock0 >> 3 & 1) == 0) {
pri.push(3);
}
if ((so.data.unlock0 >> 5 & 1) == 0) {
pri.push(5);
}
if ((so.data.unlock1 >> 0 & 1) == 0) {
pri.push(10);
}
if ((so.data.unlock1 >> 4 & 1) == 0) {
pri.push(14);
}
if ((so.data.unlock1 >> 8 & 1) == 0) {
pri.push(18);
}
if ((so.data.unlock2 >> 4 & 1) == 0) {
pri.push(24);
}
trace('pri : ' + pri.join(','));
deck.reshuffle(pri);
show_coin = function (mc, ec) {
var v7 = mc == 0;
var v4 = !v7 && mc % 10 == 0;
_root.mo1.gotoAndStop(v7 ? 2 : 1);
_root.mo2.gotoAndStop((!v4 && mc % 10 < 2) ? 2 : 1);
_root.mo3.gotoAndStop((!v4 && mc % 10 < 3) ? 2 : 1);
_root.mo4.gotoAndStop((!v4 && mc % 10 < 4) ? 2 : 1);
_root.mo5.gotoAndStop((!v4 && mc % 10 < 5) ? 2 : 1);
_root.mo6.gotoAndStop((!v4 && mc % 10 < 6) ? 2 : 1);
_root.mo7.gotoAndStop((!v4 && mc % 10 < 7) ? 2 : 1);
_root.mo8.gotoAndStop((!v4 && mc % 10 < 8) ? 2 : 1);
_root.mo9.gotoAndStop((!v4 && mc % 10 < 9) ? 2 : 1);
_root.mo10.gotoAndStop((v7 || mc % 10 > 0) ? 2 : 1);
_root.mol1.gotoAndStop(mc > 10 ? 1 : 2);
_root.mol2.gotoAndStop(mc > 20 ? 1 : 2);
_root.mol3.gotoAndStop(mc > 30 ? 1 : 2);
_root.mol4.gotoAndStop(mc > 40 ? 1 : 2);
_root.mp1.gotoAndStop(mc % 10 + 1);
_root.mp2.gotoAndStop(mc > 9 ? Math.floor(mc / 10) + 1 : 11);
_root.mp3.gotoAndStop(mc > 9 ? 11 : 13);
var v6 = ec == 0;
var v5 = !v6 && ec % 10 == 0;
_root.eo1.gotoAndStop(v6 ? 2 : 1);
_root.eo2.gotoAndStop((!v5 && ec % 10 < 2) ? 2 : 1);
_root.eo3.gotoAndStop((!v5 && ec % 10 < 3) ? 2 : 1);
_root.eo4.gotoAndStop((!v5 && ec % 10 < 4) ? 2 : 1);
_root.eo5.gotoAndStop((!v5 && ec % 10 < 5) ? 2 : 1);
_root.eo6.gotoAndStop((!v5 && ec % 10 < 6) ? 2 : 1);
_root.eo7.gotoAndStop((!v5 && ec % 10 < 7) ? 2 : 1);
_root.eo8.gotoAndStop((!v5 && ec % 10 < 8) ? 2 : 1);
_root.eo9.gotoAndStop((!v5 && ec % 10 < 9) ? 2 : 1);
_root.eo10.gotoAndStop((v6 || ec % 10 > 0) ? 2 : 1);
_root.eol1.gotoAndStop(ec > 10 ? 1 : 2);
_root.eol2.gotoAndStop(ec > 20 ? 1 : 2);
_root.eol3.gotoAndStop(ec > 30 ? 1 : 2);
_root.eol4.gotoAndStop(ec > 40 ? 1 : 2);
_root.ep1.gotoAndStop(ec % 10 + 1);
_root.ep2.gotoAndStop(ec > 9 ? Math.floor(ec / 10) + 1 : 11);
_root.ep3.gotoAndStop(ec > 9 ? 11 : 13);
};
show_card_score = function (mp, ep) {
_root.mm1.gotoAndStop(mp % 10 + 1);
_root.mm2.gotoAndStop(mp > 9 ? Math.floor(mp / 10) % 10 + 1 : 12);
_root.mm3.gotoAndStop(mp > 99 ? Math.floor(mp / 100) + 1 : (mp > 9 ? 12 : 13));
_root.mm4.gotoAndStop(mp > 99 ? 12 : 13);
_root.em1.gotoAndStop(ep % 10 + 1);
_root.em2.gotoAndStop(ep > 9 ? Math.floor(ep / 10) % 10 + 1 : 12);
_root.em3.gotoAndStop(ep > 99 ? Math.floor(ep / 100) + 1 : (ep > 9 ? 12 : 13));
_root.em4.gotoAndStop(ep > 99 ? 12 : 13);
};
show_score = function (mc, mh, ec, eh) {
var v8 = mh.calcHandScore();
var v9 = eh.calcHandScore();
var v4 = mc - v8;
var v6 = ec - v9;
_root.mscore = v4;
_root.escore = v6;
show_coin(mc, ec);
show_card_score(v8, v9);
var v3 = Math.abs(v4);
var v7 = v4 < 0 ? 12 : 11;
var v2 = Math.abs(v6);
var v5 = v6 < 0 ? 12 : 11;
_root.ms1.gotoAndStop(v3 % 10 + 1);
_root.ms2.gotoAndStop(v3 > 9 ? Math.floor(v3 / 10) % 10 + 1 : v7);
_root.ms3.gotoAndStop(v3 > 99 ? Math.floor(v3 / 100) + 1 : (v3 > 9 ? v7 : 13));
_root.ms4.gotoAndStop(v3 > 99 ? v7 : 13);
_root.es1.gotoAndStop(v2 % 10 + 1);
_root.es2.gotoAndStop(v2 > 9 ? Math.floor(v2 / 10) % 10 + 1 : v5);
_root.es3.gotoAndStop(v2 > 99 ? Math.floor(v2 / 100) + 1 : (v2 > 9 ? v5 : 13));
_root.es4.gotoAndStop(v2 > 99 ? v5 : 13);
};
show_score(mcoin, mhand, ecoin, ehand);
initiative = false;
minit._visible = initiative;
einit._visible = !initiative;
_root.snd_state = 1;
kisekae();
fukiman('none');
faceman('normal');
nextFrame();
}
movieClip 466 {
frame 1 {
stop();
}
}
movieClip 473 {
}
movieClip 477 {
}
// unknown tag 88 length 66
// unknown tag 88 length 66
movieClip 482 {
}
movieClip 485 {
}
movieClip 488 {
}
movieClip 491 {
}
movieClip 494 {
}
movieClip 497 {
}
movieClip 500 {
}
movieClip 503 {
}
movieClip 506 {
}
movieClip 510 {
}
// unknown tag 88 length 66
movieClip 515 {
}
movieClip 518 {
}
movieClip 522 {
}
movieClip 525 {
}
movieClip 528 {
}
movieClip 531 {
}
movieClip 534 {
}
movieClip 537 {
}
movieClip 540 {
}
movieClip 543 {
}
movieClip 546 {
}
movieClip 549 {
}
movieClip 552 {
}
movieClip 555 {
}
movieClip 558 {
}
movieClip 561 {
}
movieClip 564 {
}
movieClip 567 {
}
movieClip 570 {
}
movieClip 573 {
}
movieClip 576 {
}
movieClip 579 {
}
movieClip 582 {
}
movieClip 585 {
}
movieClip 588 {
}
movieClip 591 {
}
movieClip 594 {
}
movieClip 597 {
}
movieClip 600 {
}
movieClip 603 {
}
movieClip 606 {
}
movieClip 609 {
}
movieClip 612 {
}
movieClip 615 {
}
movieClip 618 {
}
movieClip 621 {
}
movieClip 624 {
}
movieClip 627 {
}
movieClip 630 {
}
movieClip 633 {
}
movieClip 636 {
}
movieClip 639 {
}
movieClip 642 {
}
movieClip 645 {
}
movieClip 648 {
}
movieClip 651 {
}
movieClip 654 {
}
movieClip 657 {
}
movieClip 661 {
}
movieClip 664 {
}
movieClip 667 {
}
movieClip 670 {
}
movieClip 673 {
}
movieClip 676 {
}
movieClip 679 {
}
movieClip 682 {
}
movieClip 685 {
}
movieClip 688 {
}
movieClip 691 {
}
movieClip 694 {
}
movieClip 697 {
}
movieClip 700 {
}
movieClip 703 {
}
movieClip 706 {
}
movieClip 709 {
}
movieClip 712 {
}
movieClip 715 {
}
movieClip 718 {
}
movieClip 721 {
}
movieClip 724 {
}
movieClip 727 {
}
movieClip 730 {
}
movieClip 733 {
}
movieClip 736 {
}
movieClip 739 {
}
movieClip 742 {
}
movieClip 745 {
}
movieClip 748 {
}
movieClip 751 {
}
movieClip 754 {
}
movieClip 757 {
}
movieClip 760 {
}
movieClip 763 {
}
movieClip 766 {
}
movieClip 769 {
}
movieClip 772 {
}
movieClip 775 {
}
movieClip 778 {
}
movieClip 781 {
}
movieClip 784 {
}
movieClip 787 {
}
movieClip 790 {
}
movieClip 793 {
}
movieClip 796 {
}
movieClip 799 {
}
movieClip 802 {
}
movieClip 805 {
}
movieClip 808 {
}
movieClip 811 {
}
movieClip 814 {
}
movieClip 817 {
}
movieClip 820 {
}
movieClip 823 {
}
movieClip 826 {
}
movieClip 829 {
}
movieClip 832 {
}
movieClip 835 {
}
movieClip 838 {
}
movieClip 841 {
}
movieClip 844 {
}
movieClip 847 {
}
movieClip 850 {
}
movieClip 853 {
}
movieClip 856 {
}
movieClip 859 {
}
movieClip 862 {
}
movieClip 865 {
}
movieClip 868 {
}
movieClip 871 {
}
movieClip 874 {
}
movieClip 877 {
}
movieClip 880 {
}
movieClip 883 {
}
movieClip 886 {
}
movieClip 889 {
}
movieClip 892 {
}
movieClip 893 {
}
frame 29 {
cnt = 0;
_root.attachMovie('c_gamestart', 'gamestart', _root.getNextHighestDepth());
_root.gamestart._x = 320;
_root.gamestart._y = 240;
coin_incl = function () {
++cnt;
if (mcoin < 25 && cnt % 2 == 1) {
++mcoin;
++ecoin;
seplay('coin');
show_score(mcoin, mhand, ecoin, ehand);
} else {
if (mcoin == 25) {
_root.onEnterFrame = null;
nextFrame();
}
}
if (cnt < 30) {
} else {
if (cnt < 42) {
_root.gamestart._alpha = ((42 - cnt) / 12) * 100;
} else {
if (cnt == 42) {
_root.gamestart.removeMovieClip();
fukiman('start' + Math.floor(Math.random() * 3));
faceman('normal');
}
}
}
};
_root.onEnterFrame = coin_incl;
}
frame 30 {
if (deck.getAmount() == 0) {
_root.gotoAndStop('gameend');
} else {
betting = _root.attachMovie('Card', 'card_' + _root.cid++, _root.ncards.getNextHighestDepth());
betting.init(deck.drawCard(), 0);
betting.setPosition(-62, 240);
betting.setMove(238, 240);
seplay('carddraw');
cnt = 0;
feel = 0;
gphase = 1;
_root.onEnterFrame = function () {
++cnt;
if (cnt == 10) {
_root.attachMovie('bet_clip', 'bet_clip', 5000);
_root.bet_clip._x = -90;
_root.bet_clip._y = 240;
_root.bet_amount = 0;
} else {
if (cnt > 10 && cnt < 20) {
_root.bet_clip._x += (80 - _root.bet_clip._x) / 3;
} else {
if (cnt == 20) {
_root.bet_clip._x = 80;
}
}
}
};
minit._visible = initiative;
einit._visible = !initiative;
enbet = getEnbet();
pokerface = true;
if (deck.getAmount() == 19) {
} else {
if (deck.getAmount() == 9) {
fukiman('rem10');
} else {
if (deck.getAmount() == 4) {
fukiman('rem5');
} else {
if (deck.getAmount() == 0) {
fukiman('rem1');
} else {
pokerface = false;
if (feel == 0) {
fukiman('betnormal' + Math.floor(Math.random() * 4));
} else {
if (feel == 1) {
fukiman('betgood' + Math.floor(Math.random() * 2));
} else {
if (feel == -1) {
fukiman('betbad' + Math.floor(Math.random() * 2));
}
}
}
}
}
}
}
faceman((pokerface || feel != 0) ? 'normal' : 'bad');
}
}
frame 31 {
cnt = 0;
_root.attachMovie('bet_res', 'mbetres', 5001);
_root.attachMovie('bet_res', 'ebetres', 5002);
_root.mbetres._x = 230;
_root.mbetres._y = 630;
_root.ebetres._x = 230;
_root.ebetres._y = -150;
_root.mbetres.mget._visible = false;
_root.ebetres.eget._visible = false;
_root.dbutton._visible = false;
i = 0;
while (i < bet_amount) {
_root.mbetres.attachMovie('ohajikic', 'o' + i, _root.mbetres.getNextHighestDepth());
r = Math.floor(Math.random() * 50);
a = Math.random() * 2 * Math.PI;
_root.mbetres['o' + i]._x = r * Math.cos(a);
_root.mbetres['o' + i]._y = r * Math.sin(a) - 60;
++i;
}
_root.mbetres.attachMovie('2dig', 'dig', 100);
_root.mbetres.dig.d2.gotoAndStop(bet_amount > 9 ? Math.floor(bet_amount / 10) + 1 : 13);
_root.mbetres.dig.d1.gotoAndStop(bet_amount > 9 ? bet_amount % 10 + 1 : 13);
_root.mbetres.dig.dc.gotoAndStop(bet_amount > 9 ? 13 : bet_amount % 10 + 1);
_root.mbetres.dig._x = 0;
_root.mbetres.dig._y = -60;
youdraw = bet_amount < enbet || initiative && bet_amount == enbet;
i = 0;
while (i < enbet) {
_root.ebetres.attachMovie('ohajikic', 'o' + i, _root.ebetres.getNextHighestDepth());
r = Math.floor(Math.random() * 50);
a = Math.random() * 2 * Math.PI;
_root.ebetres['o' + i]._x = r * Math.cos(a);
_root.ebetres['o' + i]._y = r * Math.sin(a) + 60;
++i;
}
_root.ebetres.attachMovie('2dig', 'dig', 100);
_root.ebetres.dig.d2.gotoAndStop(enbet > 9 ? Math.floor(enbet / 10) + 1 : 13);
_root.ebetres.dig.d1.gotoAndStop(enbet > 9 ? enbet % 10 + 1 : 13);
_root.ebetres.dig.dc.gotoAndStop(enbet > 9 ? 13 : enbet % 10 + 1);
_root.ebetres.dig._x = 0;
_root.ebetres.dig._y = 60;
fukiman('none');
_root.onEnterFrame = function () {
++cnt;
var v2;
if (cnt < 20) {
_root.mbetres._y += (430 - _root.mbetres._y) / 4;
_root.ebetres._y += (50 - _root.ebetres._y) / 4;
} else {
if (cnt == 20) {
if (youdraw) {
if (mhand.calcHandScore([]) - mhand.calcHandScore([betting]) >= 0) {
fukiman('givegood' + Math.floor(Math.random() * 2));
v2 = 'smile';
} else {
fukiman('givebad' + Math.floor(Math.random() * 2));
v2 = 'normal';
}
} else {
if (ehand.calcHandScore([]) - ehand.calcHandScore([betting]) >= 0) {
fukiman('getgood' + Math.floor(Math.random() * 2));
v2 = 'smile';
} else {
fukiman('getbad' + Math.floor(Math.random() * 2));
v2 = 'bad';
}
}
faceman(v2);
_root.mbetres._y = 430;
_root.ebetres._y = 50;
_root.mbetres.mget._visible = _root.youdraw;
_root.ebetres.eget._visible = !_root.youdraw;
_root.dbutton._visible = true;
_root.onEnterFrame = null;
}
}
};
}
button 894 {
on (press) {
gotoAndStop('tradecoin');
}
}
frame 32 {
cnt = 0;
_root.onEnterFrame = function () {
++cnt;
var v2 = false;
if (cnt < 16) {
_root.mbetres._y += (630 - _root.mbetres._y) / 3;
_root.ebetres._y += (-150 - _root.ebetres._y) / 3;
} else {
if (cnt == 16) {
_root.mbetres._y = 630;
_root.ebetres._y = -150;
}
}
if (cnt % 2 == 0) {
if (bet_amount > 0) {
v2 = true;
--bet_amount;
--mcoin;
++ecoin;
tmp = _root.attachMovie('ohajikic', 'mc' + bet_amount, _root.getNextHighestDepth());
tmp.init();
tmp.setPosition(Math.random() * 90 + 260, 510);
tmp.setMove(Math.random() * 90 + 260, -30);
}
if (enbet > 0) {
v2 = true;
--enbet;
++mcoin;
--ecoin;
tmp = _root.attachMovie('ohajikic', 'ec' + enbet, _root.getNextHighestDepth());
tmp.init();
tmp.setPosition(Math.random() * 90 + 170, -30);
tmp.setMove(Math.random() * 90 + 170, 510);
}
if (v2) {
seplay('coin');
}
}
if (cnt > 16 && enbet == 0 && bet_amount == 0) {
if (youdraw) {
mhand.addToHand(betting);
mhand.sortAndShow();
} else {
betting._rotation = 180;
ehand.addToHand(betting);
ehand.sortAndShow();
}
initiative = !youdraw;
betting._yscale = 60;
betting._xscale = 60;
_root.onEnterFrame = null;
gotoAndStop('wait_bet');
}
_root.show_score(mcoin, mhand, ecoin, ehand);
};
}
frame 33 {
cnt = 0;
_root.attachMovie('c_gameend', 'gameend', _root.getNextHighestDepth());
_root.gameend._x = 320;
_root.gameend._y = 240;
_root.gameend._alpha = 0;
fukiman('none');
_root.onEnterFrame = function () {
++cnt;
if (cnt < 12) {
_root.gameend._alpha = cnt * 100 / 12;
} else {
if (cnt == 12) {
_root.gameend._alpha = 100;
} else {
if (cnt < 40) {
} else {
if (cnt < 52) {
_root.gameend._alpha = ((52 - cnt) / 12) * 100;
} else {
if (cnt == 52) {
_root.gameend.removeMovieClip();
if (_root.mscore > _root.escore || _root.mscore == _root.escore && !initiative) {
_root.gotoAndStop('kisekae');
} else {
_root.fukiman('lose');
_root.faceman('smile');
_root.snd_state = 0;
_root.attachMovie('c_gameover', 'gameover', _root.getNextHighestDepth());
}
}
}
}
}
}
};
}
frame 42 {
_root.bet_clip.removeMovieClip();
_root.mbetres.removeMovieClip();
_root.ebetres.removeMovieClip();
fukiman('orz');
faceman('normal');
snd_state = 0;
_root.bgm1c.setVolume(0);
_root.bgm2c.setVolume(0);
gphase = 3;
_root.onEnterFrame = null;
}
button 895 {
on (press) {
gotoAndStop('opt_game');
}
}
frame 43 {
cnt = 0;
_root.oichisan.optic.gotoAndPlay(2);
all_clear = true;
seplay('optic');
fukiman('none');
_root.onEnterFrame = function () {
++cnt;
if (cnt == 12) {
_root.gotoAndStop('bomb');
}
};
}
movieClip 897 {
}
movieClip 898 {
}
frame 46 {
gotoAndStop('bomb');
}
frame 47 {
kisekae();
snd_state = 2;
gphase = 2;
cnt = 0;
thand = ehand.getHand();
i = 0;
while (i < thand.length) {
thand[i].setPosition(-60, 80);
++i;
}
ehand.all_clear();
unlock_hand = [];
rhand = [];
thand = mhand.getHand();
i = 0;
while (i < thand.length) {
thand[i].setPosition(-60, 400);
if (!is_unlocked(thand[i].getNumber())) {
unlock_hand.push(thand[i]);
}
++i;
}
prevul = null;
nowul = unlock_hand.shift();
nowul.setMove(200, 400);
if (nowul != null) {
seplay('carddraw');
}
_root.onEnterFrame = function () {
++cnt;
if (cnt % 24 == 0) {
_root.unlock(nowul.getNumber());
if (nowul != null) {
seplay('deal');
}
manageButton();
prevul.removeMovieClip();
prevul = nowul;
prevul.setMove(200, 600);
nowul = unlock_hand.shift();
nowul.setMove(200, 400);
if (nowul != null) {
seplay('carddraw');
}
}
};
manageButton = function (bn) {
var v2;
var v3;
var v4;
v3 = 0;
while (v3 < 4) {
v2 = 0;
while (v2 < 10) {
v4 = v3 * 10 + v2 + 3;
if ((_root.so.data['unlock' + v3] & Math.pow(2, v2)) > 0) {
if ((_root.so.data['wear' + v3] & Math.pow(2, v2)) > 0) {
_root['k' + v4].gotoAndStop(3);
} else {
_root['k' + v4].gotoAndStop(2);
}
} else {
_root['k' + v4].gotoAndStop(1);
}
++v2;
}
++v3;
}
if (bn > -1) {
if (_root.is_wearing(bn)) {
if (_root.mouth_enable) {
fukiman('k' + bn);
} else {
fukiman('km');
}
} else {
fukiman('none');
}
}
faceman('normal');
};
manageButton(-1);
fukiman('win');
faceman('normal');
}
button 902 {
on (press) {
_root.seplay('push_up');
_root.wear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
button 903 {
on (press) {
_root.seplay('push_down');
_root.unwear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
movieClip 904 {
frame 1 {
b.enabled = false;
bn = 28;
}
frame 2 {
b.enabled = true;
stop();
}
frame 3 {
b.enabled = true;
}
}
button 907 {
on (press) {
_root.seplay('push_up');
_root.wear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
button 908 {
on (press) {
_root.seplay('push_down');
_root.unwear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
movieClip 909 {
frame 1 {
b.enabled = false;
bn = 4;
}
frame 2 {
b.enabled = true;
stop();
}
frame 3 {
b.enabled = true;
}
}
button 912 {
on (press) {
_root.seplay('push_up');
_root.wear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
button 913 {
on (press) {
_root.seplay('push_down');
_root.unwear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
movieClip 914 {
frame 1 {
b.enabled = false;
bn = 10;
}
frame 2 {
b.enabled = true;
stop();
}
frame 3 {
b.enabled = true;
}
}
button 917 {
on (press) {
_root.seplay('push_up');
_root.wear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
button 918 {
on (press) {
_root.seplay('push_down');
_root.unwear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
movieClip 919 {
frame 1 {
b.enabled = false;
bn = 12;
}
frame 2 {
b.enabled = true;
stop();
}
frame 3 {
b.enabled = true;
}
}
button 922 {
on (press) {
_root.seplay('push_up');
_root.wear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
button 923 {
on (press) {
_root.seplay('push_down');
_root.unwear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
movieClip 924 {
frame 1 {
b.enabled = false;
bn = 13;
}
frame 2 {
b.enabled = true;
stop();
}
frame 3 {
b.enabled = true;
}
}
button 927 {
on (press) {
_root.seplay('push_up');
_root.wear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
button 928 {
on (press) {
_root.seplay('push_down');
_root.unwear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
movieClip 929 {
frame 1 {
b.enabled = false;
bn = 19;
}
frame 2 {
b.enabled = true;
stop();
}
frame 3 {
b.enabled = true;
}
}
button 932 {
on (press) {
_root.seplay('push_up');
_root.wear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
button 933 {
on (press) {
_root.seplay('push_down');
_root.unwear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
movieClip 934 {
frame 1 {
b.enabled = false;
bn = 16;
}
frame 2 {
b.enabled = true;
stop();
}
frame 3 {
b.enabled = true;
}
}
button 937 {
on (press) {
_root.seplay('push_up');
_root.wear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
button 938 {
on (press) {
_root.seplay('push_down');
_root.unwear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
movieClip 939 {
frame 1 {
b.enabled = false;
bn = 21;
}
frame 2 {
b.enabled = true;
stop();
}
frame 3 {
b.enabled = true;
}
}
button 942 {
on (press) {
_root.seplay('push_up');
_root.wear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
button 943 {
on (press) {
_root.seplay('push_down');
_root.unwear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
movieClip 944 {
frame 1 {
b.enabled = false;
bn = 27;
}
frame 2 {
b.enabled = true;
stop();
}
frame 3 {
b.enabled = true;
}
}
button 947 {
on (press) {
_root.seplay('push_up');
_root.wear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
button 948 {
on (press) {
_root.seplay('push_down');
_root.unwear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
movieClip 949 {
frame 1 {
b.enabled = false;
bn = 22;
}
frame 2 {
b.enabled = true;
stop();
}
frame 3 {
b.enabled = true;
}
}
button 952 {
on (press) {
_root.seplay('push_up');
_root.wear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
button 953 {
on (press) {
_root.seplay('push_down');
_root.unwear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
movieClip 954 {
frame 1 {
b.enabled = false;
bn = 23;
}
frame 2 {
b.enabled = true;
stop();
}
frame 3 {
b.enabled = true;
}
}
button 957 {
on (press) {
_root.seplay('push_up');
_root.wear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
button 958 {
on (press) {
_root.seplay('push_down');
_root.unwear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
movieClip 959 {
frame 1 {
b.enabled = false;
bn = 3;
}
frame 2 {
b.enabled = true;
stop();
}
frame 3 {
b.enabled = true;
}
}
button 962 {
on (press) {
_root.seplay('push_up');
_root.wear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
button 963 {
on (press) {
_root.seplay('push_down');
_root.unwear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
movieClip 964 {
frame 1 {
b.enabled = false;
bn = 31;
}
frame 2 {
b.enabled = true;
stop();
}
frame 3 {
b.enabled = true;
}
}
button 967 {
on (press) {
_root.seplay('push_up');
_root.wear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
button 968 {
on (press) {
_root.seplay('push_down');
_root.unwear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
movieClip 969 {
frame 1 {
b.enabled = false;
bn = 14;
}
frame 2 {
b.enabled = true;
stop();
}
frame 3 {
b.enabled = true;
}
}
button 972 {
on (press) {
_root.seplay('push_up');
_root.wear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
button 973 {
on (press) {
_root.seplay('push_down');
_root.unwear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
movieClip 974 {
frame 1 {
b.enabled = false;
bn = 5;
}
frame 2 {
b.enabled = true;
stop();
}
frame 3 {
b.enabled = true;
}
}
button 977 {
on (press) {
_root.seplay('push_up');
_root.wear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
button 978 {
on (press) {
_root.seplay('push_down');
_root.unwear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
movieClip 979 {
frame 1 {
b.enabled = false;
bn = 6;
}
frame 2 {
b.enabled = true;
stop();
}
frame 3 {
b.enabled = true;
}
}
button 982 {
on (press) {
_root.seplay('push_up');
_root.wear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
button 983 {
on (press) {
_root.seplay('push_down');
_root.unwear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
movieClip 984 {
frame 1 {
b.enabled = false;
bn = 7;
}
frame 2 {
b.enabled = true;
stop();
}
frame 3 {
b.enabled = true;
}
}
button 987 {
on (press) {
_root.seplay('push_up');
_root.wear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
button 988 {
on (press) {
_root.seplay('push_down');
_root.unwear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
movieClip 989 {
frame 1 {
b.enabled = false;
bn = 15;
}
frame 2 {
b.enabled = true;
stop();
}
frame 3 {
b.enabled = true;
}
}
button 992 {
on (press) {
_root.seplay('push_up');
_root.wear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
button 993 {
on (press) {
_root.seplay('push_down');
_root.unwear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
movieClip 994 {
frame 1 {
b.enabled = false;
bn = 24;
}
frame 2 {
b.enabled = true;
stop();
}
frame 3 {
b.enabled = true;
}
}
button 997 {
on (press) {
_root.seplay('push_up');
_root.wear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
button 998 {
on (press) {
_root.seplay('push_down');
_root.unwear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
movieClip 999 {
frame 1 {
b.enabled = false;
bn = 8;
}
frame 2 {
b.enabled = true;
stop();
}
frame 3 {
b.enabled = true;
}
}
button 1002 {
on (press) {
_root.seplay('push_up');
_root.wear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
button 1003 {
on (press) {
_root.seplay('push_down');
_root.unwear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
movieClip 1004 {
frame 1 {
b.enabled = false;
bn = 9;
}
frame 2 {
b.enabled = true;
stop();
}
frame 3 {
b.enabled = true;
}
}
button 1007 {
on (press) {
_root.seplay('push_up');
_root.wear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
button 1008 {
on (press) {
_root.seplay('push_down');
_root.unwear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
movieClip 1009 {
frame 1 {
b.enabled = false;
bn = 25;
}
frame 2 {
b.enabled = true;
stop();
}
frame 3 {
b.enabled = true;
}
}
button 1012 {
on (press) {
_root.seplay('push_up');
_root.wear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
button 1013 {
on (press) {
_root.seplay('push_down');
_root.unwear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
movieClip 1014 {
frame 1 {
b.enabled = false;
bn = 29;
}
frame 2 {
b.enabled = true;
stop();
}
frame 3 {
b.enabled = true;
}
}
button 1017 {
on (press) {
_root.seplay('push_up');
_root.wear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
button 1018 {
on (press) {
_root.seplay('push_down');
_root.unwear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
movieClip 1019 {
frame 1 {
b.enabled = false;
bn = 26;
}
frame 2 {
b.enabled = true;
stop();
}
frame 3 {
b.enabled = true;
}
}
button 1022 {
on (press) {
_root.seplay('push_up');
_root.wear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
button 1023 {
on (press) {
_root.seplay('push_down');
_root.unwear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
movieClip 1024 {
frame 1 {
b.enabled = false;
bn = 17;
}
frame 2 {
b.enabled = true;
stop();
}
frame 3 {
b.enabled = true;
}
}
button 1027 {
on (press) {
_root.seplay('push_up');
_root.wear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
button 1028 {
on (press) {
_root.seplay('push_down');
_root.unwear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
movieClip 1029 {
frame 1 {
b.enabled = false;
bn = 20;
}
frame 2 {
b.enabled = true;
stop();
}
frame 3 {
b.enabled = true;
}
}
button 1032 {
on (press) {
_root.seplay('push_up');
_root.wear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
button 1033 {
on (press) {
_root.seplay('push_down');
_root.unwear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
movieClip 1034 {
frame 1 {
b.enabled = false;
bn = 18;
}
frame 2 {
b.enabled = true;
stop();
}
frame 3 {
b.enabled = true;
}
}
button 1037 {
on (press) {
_root.seplay('push_up');
_root.wear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
button 1038 {
on (press) {
_root.seplay('push_down');
_root.unwear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
movieClip 1039 {
frame 1 {
b.enabled = false;
bn = 32;
}
frame 2 {
b.enabled = true;
stop();
}
frame 3 {
b.enabled = true;
}
}
button 1042 {
on (press) {
_root.seplay('push_up');
_root.wear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
button 1043 {
on (press) {
_root.seplay('push_down');
_root.unwear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
movieClip 1044 {
frame 1 {
b.enabled = false;
bn = 11;
}
frame 2 {
b.enabled = true;
stop();
}
frame 3 {
b.enabled = true;
}
}
button 1047 {
on (press) {
_root.seplay('push_up');
_root.wear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
button 1048 {
on (press) {
_root.seplay('push_down');
_root.unwear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
movieClip 1049 {
frame 1 {
b.enabled = false;
bn = 30;
}
frame 2 {
b.enabled = true;
stop();
}
frame 3 {
b.enabled = true;
}
}
button 1052 {
on (press) {
_root.seplay('push_up');
_root.wear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
button 1053 {
on (press) {
_root.seplay('push_down');
_root.unwear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
movieClip 1054 {
frame 1 {
b.enabled = false;
bn = 33;
}
frame 2 {
b.enabled = true;
stop();
}
frame 3 {
b.enabled = true;
}
}
button 1057 {
on (press) {
_root.seplay('push_up');
_root.wear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
button 1058 {
on (press) {
_root.seplay('push_down');
_root.unwear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
movieClip 1059 {
frame 1 {
b.enabled = false;
bn = 34;
}
frame 2 {
b.enabled = true;
stop();
}
frame 3 {
b.enabled = true;
}
}
button 1062 {
on (press) {
_root.seplay('push_up');
_root.wear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
button 1063 {
on (press) {
_root.seplay('push_down');
_root.unwear(bn);
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
movieClip 1064 {
frame 1 {
b.enabled = false;
bn = 35;
}
frame 2 {
b.enabled = true;
stop();
}
frame 3 {
b.enabled = true;
}
}
button 1067 {
on (press) {
_root.seplay('push_up');
def = [3, 5, 10, 14, 18, 24];
i = 3;
while (i < 33) {
_root.unwear(i);
++i;
}
i = 0;
while (i < def.length) {
_root.wear(def[i]);
++i;
}
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
button 1069 {
on (press) {
_root.seplay('push_up');
i = 3;
while (i < 33) {
_root.unwear(i);
++i;
}
_root.kisekae();
_root.manageButton(bn);
}
on (rollOver) {
_root.seplay('buttonon');
}
}
button 1071 {
on (press) {
_root.seplay('push_up');
_root.gotoAndStop('game_init');
}
on (rollOver) {
_root.seplay('buttonon');
}
}
button 1072 {
on (press) {
_root.seplay('push_up');
_root.gotoAndStop('title');
}
on (rollOver) {
_root.seplay('buttonon');
}
}
frame 54 {
fukiman('orz');
faceman('normal');
snd_state = 0;
_root.bgm1c.setVolume(0);
_root.bgm2c.setVolume(0);
gphase = 3;
_root.onEnterFrame = null;
}
button 1073 {
on (press) {
gotoAndStop('opt_kisekae');
}
}
frame 55 {
cnt = 0;
_root.oichisan.optic.gotoAndPlay(2);
all_clear = true;
seplay('optic');
fukiman('none');
_root.onEnterFrame = function () {
++cnt;
if (cnt == 12) {
_root.gotoAndStop('bomb');
}
};
}
frame 76 {
_root.onEnterFrame = null;
seplay('bomb');
all_clear = true;
}
movieClip 1362 {
frame 144 {
_root.gotoAndStop('title');
}
}