STORY   LOOP   FURRY   PORN   GAMES
• C •   SERVICES [?] [R] RND   POPULAR
Archived flashes:
229595
/disc/ · /res/     /show/ · /fap/ · /gg/ · /swf/P0001 · P2595 · P5190

<div style="position:absolute;top:-99px;left:-99px;"><img src="http://swfchan.com:57475/95337360?noj=FRM95337360-22DC" width="1" height="1"></div>

mahjong.swf

This is the info page for
Flash #51413

(Click the ID number above for more basic data on this flash file.)


Text
影レイア

卓上アイテム

25000

Round: East1
Position: South

Dealer

SPEED

GAMEDESIGN

GAMEDESIGN

牌レイア

Kan

アクション

Tsumo

nine

Riichi

DEBUG

Pon

Chii

Ron

リアクション

大メッセージ

Game set

小メッセージ

Click Tile(s)

Click a Tile

ダイアログ

OK

メッセージ

和了情報

Chanta (Terminals and Honours in Each Set)

3 fan

20符 30翻

32000点・64000点

順位表示

1st

25000

(5pt)

局履歴

South4

Draw

-960000

-960000

-960000

-960000

History

You

Right

Front

Left

集計表

222

222

222

222

000

You

Right

Front

Left

Score

現在、2連勝です

Next

Ranking

タイトル画面

Start

RANKING

RANKING

Japanese
Mahjong

発声

Riichi

クリック

sound

ランキング

PlayerName

Your Name

Send

Player

1024

Top

Today's Ranking

Title

error

DEBUG

ActionScript [AS3]

Section 1
//MainTimeline (mahjong_e_fla.MainTimeline) package mahjong_e_fla { import flash.display.*; public dynamic class MainTimeline extends MovieClip { public function MainTimeline(){ addFrameScript(0, frame1, 6, frame7); } function frame7(){ stop(); } function frame1(){ stop(); } } }//package mahjong_e_fla
Section 2
//Timeline_1 (mahjong_e_fla.Timeline_1) package mahjong_e_fla { import flash.events.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Timeline_1 extends MovieClip { public var bar:MovieClip; public var po:Object; public function Timeline_1(){ addFrameScript(0, frame1, 10, frame11); } function frame1(){ stop(); bar.scaleX = 0; addEventListener(Event.ENTER_FRAME, func); } function frame11(){ stop(); po = Object(parent); po.gotoAndStop("main"); } public function func(_arg1:Event){ var _local2:*; _local2 = (loaderInfo.bytesLoaded / loaderInfo.bytesTotal); if (bar.scaleX < _local2){ bar.scaleX = (bar.scaleX + 0.05); }; if (bar.scaleX >= 1){ removeEventListener(Event.ENTER_FRAME, func); play(); }; } } }//package mahjong_e_fla
Section 3
//Timeline_10 (mahjong_e_fla.Timeline_10) package mahjong_e_fla { import flash.display.*; public dynamic class Timeline_10 extends MovieClip { public function Timeline_10(){ addFrameScript(0, frame1); } function frame1(){ stop(); visible = false; } } }//package mahjong_e_fla
Section 4
//Timeline_11 (mahjong_e_fla.Timeline_11) package mahjong_e_fla { import flash.display.*; public dynamic class Timeline_11 extends MovieClip { public function Timeline_11(){ addFrameScript(0, frame1); } function frame1(){ stop(); visible = false; } } }//package mahjong_e_fla
Section 5
//Timeline_12 (mahjong_e_fla.Timeline_12) package mahjong_e_fla { import flash.display.*; import flash.text.*; public dynamic class Timeline_12 extends MovieClip { public var tf:TextField; public function Timeline_12(){ addFrameScript(0, frame1); } function frame1(){ stop(); visible = false; } } }//package mahjong_e_fla
Section 6
//Timeline_13 (mahjong_e_fla.Timeline_13) package mahjong_e_fla { import flash.display.*; import flash.text.*; public dynamic class Timeline_13 extends MovieClip { public var tf:TextField; public function Timeline_13(){ addFrameScript(0, frame1); } function frame1(){ stop(); visible = false; } } }//package mahjong_e_fla
Section 7
//Timeline_14 (mahjong_e_fla.Timeline_14) package mahjong_e_fla { import flash.display.*; public dynamic class Timeline_14 extends MovieClip { public function Timeline_14(){ addFrameScript(0, frame1); } function frame1(){ stop(); visible = false; } } }//package mahjong_e_fla
Section 8
//Timeline_15 (mahjong_e_fla.Timeline_15) package mahjong_e_fla { import flash.display.*; public dynamic class Timeline_15 extends MovieClip { public var mc10:MovieClip; public var mc11:MovieClip; public var mc13:MovieClip; public var mc16:MovieClip; public var mc17:MovieClip; public var mc19:MovieClip; public var mc18:MovieClip; public var mc14:MovieClip; public var mc1:MovieClip; public var mc3:MovieClip; public var mc5:MovieClip; public var mc2:MovieClip; public var mc0:MovieClip; public var mc4:MovieClip; public var mc12:MovieClip; public var mc8:MovieClip; public var mc7:MovieClip; public var mc9:MovieClip; public var mc6:MovieClip; public var mc15:MovieClip; public function Timeline_15(){ addFrameScript(0, frame1); } function frame1(){ stop(); visible = false; } } }//package mahjong_e_fla
Section 9
//Timeline_16 (mahjong_e_fla.Timeline_16) package mahjong_e_fla { import flash.display.*; public dynamic class Timeline_16 extends MovieClip { public function Timeline_16(){ addFrameScript(0, frame1, 1, frame2, 2, frame3); } function frame3(){ stop(); visible = true; } function frame1(){ stop(); visible = false; } function frame2(){ stop(); visible = true; } } }//package mahjong_e_fla
Section 10
//Timeline_17 (mahjong_e_fla.Timeline_17) package mahjong_e_fla { import flash.events.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Timeline_17 extends MovieClip { public var mc1:MovieClip; public var mc3:MovieClip; public var mc2:MovieClip; public var mc0:MovieClip; public var mc4:MovieClip; public function Timeline_17(){ addFrameScript(0, frame1); } public function init(_arg1){ visible = true; draw_bar(_arg1); } public function clicked(_arg1){ var _local2:Object; draw_bar(_arg1); _local2 = Object(parent); _local2.change_com_speed(_arg1); } function frame1(){ stop(); visible = false; } public function draw_bar(_arg1){ var _local2:*; _local2 = 0; while (_local2 < 5) { if (_local2 <= _arg1){ this[("mc" + _local2)].gotoAndStop(2); } else { this[("mc" + _local2)].gotoAndStop(1); }; _local2++; }; } } }//package mahjong_e_fla
Section 11
//Timeline_18 (mahjong_e_fla.Timeline_18) package mahjong_e_fla { import flash.events.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Timeline_18 extends MovieClip { public function Timeline_18(){ addFrameScript(0, frame1); } function frame1(){ stop(); this.addEventListener(MouseEvent.MOUSE_DOWN, func); } public function func(_arg1:MouseEvent){ var _local2:*; var _local3:Object; _local2 = Number(this.name.slice(2)); _local3 = Object(parent); _local3.clicked(_local2); } } }//package mahjong_e_fla
Section 12
//Timeline_19 (mahjong_e_fla.Timeline_19) package mahjong_e_fla { import flash.events.*; import flash.display.*; import flash.net.*; public dynamic class Timeline_19 extends MovieClip { public var btnLink:SimpleButton; public function Timeline_19(){ addFrameScript(0, frame1); } function frame1(){ stop(); visible = false; this.addEventListener(MouseEvent.MOUSE_DOWN, func); } public function func(_arg1:MouseEvent){ var _local2:URLRequest; _local2 = new URLRequest("http://www.gamedesign.jp/"); navigateToURL(_local2, "_self"); } } }//package mahjong_e_fla
Section 13
//Timeline_21 (mahjong_e_fla.Timeline_21) package mahjong_e_fla { import flash.events.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Timeline_21 extends MovieClip { public var pmax:int; public var paiList:Array; public var i:int; public var yadd:Array; public function Timeline_21(){ addFrameScript(0, frame1); } public function init(){ var _local1:*; _local1 = 0; while (_local1 < pmax) { paiList[_local1].visible = false; _local1++; }; } public function draw_pai(_arg1, _arg2, _arg3, _arg4, _arg5){ if (_arg2 == 0){ paiList[_arg1].visible = false; } else { paiList[_arg1].visible = true; paiList[_arg1].gotoAndStop(_arg2); paiList[_arg1].x = _arg3; paiList[_arg1].y = _arg4; }; yadd[_arg1] = (_arg5) ? 25 : 0; } function frame1(){ pmax = 300; paiList = new Array(); yadd = new Array(); i = 0; while (i < pmax) { paiList[i] = new paiMC(); paiList[i].visible = false; addChild(paiList[i]); yadd[i] = 0; i++; }; } public function set_prio(){ var _local1:int; var _local2:Array; _local2 = []; _local1 = 0; while (_local1 < pmax) { _local2.push({mc:paiList[_local1], Y:(paiList[_local1].y + yadd[_local1])}); _local1++; }; _local2.sortOn("Y", Array.NUMERIC); _local1 = 0; while (_local1 < pmax) { setChildIndex(_local2[_local1]["mc"], _local1); _local1++; }; } } }//package mahjong_e_fla
Section 14
//Timeline_22 (mahjong_e_fla.Timeline_22) package mahjong_e_fla { import flash.display.*; public dynamic class Timeline_22 extends MovieClip { public function Timeline_22(){ addFrameScript(0, frame1); } function frame1(){ visible = false; } } }//package mahjong_e_fla
Section 15
//Timeline_23 (mahjong_e_fla.Timeline_23) package mahjong_e_fla { import flash.events.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Timeline_23 extends MovieClip { public function Timeline_23(){ addFrameScript(0, frame1); } public function mouse_down(_arg1:MouseEvent){ var _local2:Object; _local2 = Object(parent); if (_local2.tepai_click_func){ _local2.tepai_click_func(Number(this.name.slice(7))); }; } function frame1(){ stop(); visible = false; buttonMode = true; this.addEventListener(MouseEvent.MOUSE_DOWN, mouse_down); this.addEventListener(MouseEvent.MOUSE_UP, mouse_up); this.addEventListener(MouseEvent.MOUSE_OUT, roll_out); } public function mouse_up(_arg1:MouseEvent){ var _local2:Object; _local2 = Object(parent); if (_local2.tepai_release_func){ _local2.tepai_release_func(Number(this.name.slice(7))); }; } public function roll_out(_arg1:MouseEvent){ var _local2:Object; _local2 = Object(parent); if (_local2.tepai_out_func){ _local2.tepai_out_func(); }; } } }//package mahjong_e_fla
Section 16
//Timeline_24 (mahjong_e_fla.Timeline_24) package mahjong_e_fla { import flash.events.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Timeline_24 extends MovieClip { public var btnKan:SimpleButton; public var btnNine:SimpleButton; public var btnDebug:SimpleButton; public var btnTumo:SimpleButton; public var btnReach:SimpleButton; public function Timeline_24(){ addFrameScript(0, frame1); } public function func_reach(_arg1:MouseEvent){ var _local2:Object; all_remove(); _local2 = Object(parent); _local2.act_man_reach(); } function frame1(){ stop(); visible = false; btnTumo.addEventListener(MouseEvent.CLICK, func_tumo); btnNine.addEventListener(MouseEvent.CLICK, func_nine); btnReach.addEventListener(MouseEvent.CLICK, func_reach); btnKan.addEventListener(MouseEvent.CLICK, func_kan); btnDebug.visible = false; } public function func_nine(_arg1:MouseEvent){ var _local2:Object; all_remove(); _local2 = Object(parent); _local2.act_man_nine(); } public function func_tumo(_arg1:MouseEvent){ var _local2:Object; all_remove(); _local2 = Object(parent); _local2.act_man_tumo(); } public function func_kan(_arg1:MouseEvent){ var _local2:Object; all_remove(); _local2 = Object(parent); _local2.act_man_kan(); } public function all_remove(){ visible = false; } } }//package mahjong_e_fla
Section 17
//Timeline_27 (mahjong_e_fla.Timeline_27) package mahjong_e_fla { import flash.display.*; public dynamic class Timeline_27 extends MovieClip { public function Timeline_27(){ addFrameScript(0, frame1); } function frame1(){ visible = false; } } }//package mahjong_e_fla
Section 18
//Timeline_3 (mahjong_e_fla.Timeline_3) package mahjong_e_fla { import flash.events.*; import mj.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Timeline_3 extends MovieClip { public var com_speed; public var DV_JI; public var NY_TANYAO; public var PS_FUSE:int; public var mcHora:MovieClip; public var NY_SANGEN; public var mcMes:MovieClip; public var PA_KANCH; public var next_func:Function; public var mcShadowLayer:MovieClip; public var CM_BETA; public var mcHassei:MovieClip; public var tepai_release_func:Function; public var DV_ELSESUIT; public var mcClick0:MovieClip; public var mcClick1:MovieClip; public var mcClick2:MovieClip; public var mcClick3:MovieClip; public var mcClick5:MovieClip; public var mcClick6:MovieClip; public var mcClick7:MovieClip; public var mcClick8:MovieClip; public var mcClick4:MovieClip; public var mcClick9:MovieClip; public var PS_URA:int; public var mcSound:MovieClip; public var DV_MOSTDANGER; public var selected_pai:int; public var PA_SHUN; public var mcClick:MovieClip; public var NY_KOKUSI; public var pvmat; public var PN_DORA:int; public var PA_RMEN; public var PS_TACHI:int; public var mcRanking:MovieClip; public var mcItem:MovieClip; public var tepai_click_func:Function; public var tepai_out_func:Function; public var CM_CARE; public var mcReaction:MovieClip; public var PA_TOI; public var old_time:Number; public var CM_NOCARE; public var kyoku; public var DV_HEN; public var PS_OMO:int; public var counter:int; public var NY_TENARI; public var pvwork; public var PAI_H2:int; public var mcHis:MovieClip; public var PAI_H1:int; public var NY_SUSI; public var NY_CHANTA; public var NY_TOITOI; public var NY_YAKUPAI; public var mcDebug:MovieClip; public var mcTitle:MovieClip; public var PA_FLOAT; public var DV_JIDEAD; public var DV_DANGER; public var mcDialog:MovieClip; public var yama; public var SIM_PON; public var prio; public var CM_BITCARE; public var DV_SUJI; public var mcShukei:MovieClip; public var SIM_CHIH; public var SIM_CHIL; public var SIM_CHIM; public var SIM_MINKAN; public var pais; public var NY_SOME; public var DV_SUTESUIT; public var DV_JILIVE; public var tepai_open; public var mcJun:MovieClip; public var mcSmallMes:MovieClip; public var NY_CHITOI; public var mcClick10:MovieClip; public var mcClick11:MovieClip; public var mcClick12:MovieClip; public var mcClick13:MovieClip; public var DV_4JUN; public var DV_ANPAI; public var mcPaiLayer:MovieClip; public var PA_PENCH; public var hanchan; public var mcAction:MovieClip; public var DV_CHANCE; public var PN_MAX:int; public var PAI_T1:int; public var timer_func:Function; public var opos; public var PAI_T2:int; public var DV_KABE; public var taikyoku; public var PA_ANKO; public var PAI_W1:int; public var PAI_W2:int; public var ppos; public var DV_MINO; public function Timeline_3(){ addFrameScript(0, frame1, 2, frame3, 8, frame9, 13, frame14, 17, frame18, 23, frame24, 27, frame28, 35, frame36, 39, frame40, 44, frame45, 51, frame52, 56, frame57); } public function pai_shiver(){ var _local1:*; kyoku.cnt++; if (kyoku.cnt < 3){ return; }; kyoku.cnt = 0; _local1 = kyoku.pn; pais[_local1].pai = ((pais[_local1].pai)==0) ? kyoku.pai : 0; set_ppos(); draw_taku(); } public function haipai(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; _local2 = kyoku.who_act; _local5 = new Array(4); switch (counter++){ case 0: mcSound.gotoAndPlay("tumo"); _local3 = ((get_pais_tepai_c(_local2))>=12) ? 1 : 12; _local1 = 0; while (_local1 < _local3) { _local5[_local1] = yama[kyoku.tumo_pos]; kyoku.tumo_pos = add_tumo_pos(kyoku.tumo_pos, 1); _local1++; }; _local4 = (PN_TE(_local2) + get_pais_tepai_c(_local2)); _local1 = 0; while (_local1 < _local3) { _local6 = (_local4 + _local1); pais[_local6].pai = _local5[_local1]; pais[_local6].stat = PS_FUSE; _local1++; }; break; case 1: _local1 = 0; while (_local1 < 13) { _local6 = (PN_TE(_local2) + _local1); if (pais[_local6].stat == PS_FUSE){ pais[_local6].stat = PS_TACHI; }; _local1++; }; break; default: kyoku.who_act++; if (kyoku.who_act > 3){ kyoku.who_act = 0; }; counter = 0; if (get_pais_tepai_c(kyoku.who_act) >= 13){ timer_func = after_haipai; }; break; }; set_ppos(); draw_taku(); mcPaiLayer.set_prio(); } public function do_kakan(_arg1){ var _local2:*; _local2 = kyoku.who_act; if (kyoku.member[_local2].aa.kantype[_arg1] != 2){ return (0); }; if (kyoku.member[_local2].care_mode == CM_BETA){ return (0); }; if (kyoku.member[_local2].care_mode == CM_CARE){ return (0); }; return (1); } public function hanchan_end_total(){ timer_func = null; next_func = start_title; mcShukei.disp(); } public function timer_proc(_arg1:Event){ if (timer_func != null){ timer_func(); }; } public function sute_release(_arg1){ if (_arg1 != selected_pai){ return; }; if (!kyoku.member[0].aa.sute_ok[_arg1]){ sute_reset(); return; }; kyoku.pn = (PN_TE(0) + _arg1); kyoku.pai = delete_pais(kyoku.pn); set_ppos(); draw_taku(); end_act_man(); kyoku.action.push[_arg1] = 1; kyoku.action.code = "ACT_SUTE"; start_action(); } public function sufu_proc(){ timer_func = null; start_mes("Same Wind Tiles", nine_wait); } public function start_title_ranking(){ timer_func = null; next_func = start_title; mcRanking.disp(-1); } public function set_opos_reach(_arg1){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; _local4 = get_pais_sute_c(_arg1); _local5 = (PN_SUTE(_arg1) + _local4); _local6 = Math.floor((_local4 / 6)); if (_local6 > 2){ _local6 = 2; }; pais[_local5].dr = ((pais[_local5].dr + 1) % 4); switch (_arg1){ case 0: opos[_local5].py = (opos[_local5].py + 7); _local2 = 0; while (_local2 < 30) { _local3 = Math.floor((_local2 / 6)); if (_local3 > 2){ _local3 = 2; }; if ((((_local3 == _local6)) && ((_local2 > _local4)))){ opos[(PN_SUTE(_arg1) + _local2)].px = (opos[(PN_SUTE(_arg1) + _local2)].px + 19); }; _local2++; }; break; case 1: opos[_local5].px = (opos[_local5].px + 10); _local2 = 0; while (_local2 < 30) { _local3 = Math.floor((_local2 / 6)); if (_local3 > 2){ _local3 = 2; }; if ((((_local3 == _local6)) && ((_local2 >= _local4)))){ opos[(PN_SUTE(_arg1) + _local2)].py = (opos[(PN_SUTE(_arg1) + _local2)].py - 14); }; _local2++; }; break; case 2: opos[_local5].py = (opos[_local5].py + 7); _local2 = 0; while (_local2 < 30) { _local3 = Math.floor((_local2 / 6)); if (_local3 > 2){ _local3 = 2; }; if ((((_local3 == _local6)) && ((_local2 >= _local4)))){ opos[(PN_SUTE(_arg1) + _local2)].px = (opos[(PN_SUTE(_arg1) + _local2)].px - 19); }; _local2++; }; break; case 3: opos[_local5].px = (opos[_local5].px + 10); _local2 = 0; while (_local2 < 30) { _local3 = Math.floor((_local2 / 6)); if (_local3 > 2){ _local3 = 2; }; if ((((_local3 == _local6)) && ((_local2 > _local4)))){ opos[(PN_SUTE(_arg1) + _local2)].py = (opos[(PN_SUTE(_arg1) + _local2)].py + 14); }; _local2++; }; break; default: break; }; } public function start_title(){ timer_func = null; next_func = null; mcTitle.disp(); } public function get_pv_yakupai(_arg1){ var _local2:*; var _local3:*; _local2 = pvmat.tepai[_arg1]; _local3 = 0; if ((((((_local2 > 30)) && ((pvwork.at[_local2] == PA_TOI)))) && (!(pvwork.dead[_local2])))){ _local3 = 50; }; return (_local3); } public function get_sn_bitcare(){ var _local1:*; _local1 = get_sn(90, 8); if (_local1 >= 0){ return (_local1); }; return (get_sn_nocare()); } public function set_member_aa(){ var _local1:*; _local1 = kyoku.who_act; kyoku.member[_local1].aa.init(); if (kyoku.member[_local1].reach_start){ set_aa_reach_start(); return; }; if (kyoku.member[_local1].reach_f){ set_aa_after_reach(); return; }; set_aa_normal(); } public function kanpai_click(_arg1){ var _local2:*; var _local3:Actable; var _local4:*; var _local5:*; if (_arg1 < 0){ return; }; _local3 = kyoku.member[0].aa; _local4 = _local3.kanzai[_arg1]; if (_local4 == 0){ return; }; _local2 = 0; while (_local2 < 14) { if (_local3.kanzai[_local2] == _local4){ kyoku.action.push[_local2] = 1; }; _local2++; }; kyoku.action.code = ((_local3.kantype[_arg1])==1) ? "ACT_ANKAN" : "ACT_KAKAN"; mcSmallMes.gotoAndStop(1); _local2 = 0; while (_local2 < 14) { _local5 = (PN_TE(0) + _local2); this[("mcClick" + _local2)].visible = false; _local2++; }; tepai_click_func = null; tepai_release_func = null; tepai_out_func = null; start_action(); } function frame14(){ } public function PN_TE(_arg1:int){ return ((_arg1 * 64)); } public function set_member_tumoho(_arg1){ var _local2:*; var _local3:*; kyoku.member[_arg1].hi = new Horainfo(); get_yakumat(_arg1); kyoku.member[_arg1].hi.ymat.tumo_f = 1; _local2 = 0; while (_local2 < 14) { _local3 = kyoku.member[_arg1].tepai[_local2]; if (_local3 > 0){ var _local4 = kyoku.member[_arg1].hi.tt; var _local5 = _local3; var _local6 = (_local4[_local5] + 1); _local4[_local5] = _local6; kyoku.member[_arg1].hi.a_pai = _local3; }; _local2++; }; _local2 = 0; while (_local2 < 4) { kyoku.member[_arg1].hi.s_ments[_local2].pai = kyoku.member[_arg1].s_ments[_local2].pai; kyoku.member[_arg1].hi.s_ments[_local2].at = kyoku.member[_arg1].s_ments[_local2].at; _local2++; }; _local2 = 0; while (_local2 < 10) { kyoku.member[_arg1].hi.dora[_local2] = kyoku.dora[_local2]; _local2++; }; kyoku.member[_arg1].hi.CheckHora(); } public function set_ankan_push(_arg1, _arg2){ var _local3:*; var _local4:*; var _local5:*; _local3 = 0; while (_local3 < 14) { kyoku.action.push[_local3] = 0; _local3++; }; _local4 = 0; _local3 = 0; while (_local3 < 14) { _local5 = kyoku.member[_arg1].tepai[_local3]; if (_local5 == 0){ } else { if (_local5 == _arg2){ kyoku.action.push[_local3] = 1; ++_local4; if (_local4 >= 4){ break; }; }; }; _local3++; }; } public function pais_sukan_check(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:*; _local4 = 0; _local3 = 0; while (_local3 < 4) { _local5 = 0; _local2 = 0; while (_local2 < 4) { _local1 = ((PN_NAKI(_local3) + (_local2 * 4)) + 3); if (pais[_local1].pai > 0){ _local4++; _local5++; }; _local2++; }; if (_local5 == 4){ return (2); }; _local3++; }; if (_local4 >= 4){ return (1); }; return (0); } public function act_com(){ var _local1:*; var _local2:Member; var _local3:Actable; var _local4:*; var _local5:*; var _local6:*; timer_func = null; _local1 = kyoku.who_act; _local2 = kyoku.member[_local1]; _local3 = kyoku.member[_local1].aa; kyoku.action.init(); if (do_tumoho()){ kyoku.action.code = "ACT_TUMOHO"; start_action(); return; }; change_nerai(_local1); set_member_pv(_local1); if (_local2.sttn.suteten_f){ set_suteten_pv(); }; set_care_mode(); _local4 = 0; switch (_local2.care_mode){ case CM_NOCARE: _local4 = get_sn_nocare(); break; case CM_BITCARE: _local4 = get_sn_bitcare(); break; case CM_CARE: _local4 = get_sn_care(); break; case CM_BETA: _local4 = get_sn_beta(); break; default: _local4 = get_sn_beta(); break; }; if (do_kakan(_local4)){ kyoku.action.code = "ACT_KAKAN"; kyoku.action.push[_local4] = 1; start_action(); return; }; if (do_ankan(_local4)){ kyoku.action.code = "ACT_ANKAN"; set_ankan_push(_local1, kyoku.member[_local1].tepai[_local4]); start_action(); return; }; if (_local2.reach_f){ _local4 = get_pais_tepai_max(_local1); }; kyoku.action.code = "ACT_SUTE"; kyoku.action.push[_local4] = 1; _local5 = 0; switch (com_speed){ case 4: _local5 = 0; break; case 3: _local5 = 200; break; case 2: _local5 = 400; break; case 1: _local5 = 600; break; default: _local5 = 1000; break; }; _local6 = _local5; if (_local2.dv[_local4] >= 5){ _local6 = (_local5 + 200); }; if (_local2.dv[_local4] >= 10){ _local6 = (_local5 + 500); }; if (_local2.dv[_local4] >= 15){ _local6 = (_local5 + 1000); }; if (_local2.reach_f){ _local6 = _local5; }; if (do_reach(_local4)){ start_com_wait(_local6, 1); } else { if (_local6 == 0){ start_action(); } else { start_com_wait(_local6, 0); }; }; } function frame1(){ timer_func = null; this.addEventListener(Event.ENTER_FRAME, timer_proc); next_func = null; tepai_click_func = null; tepai_release_func = null; tepai_out_func = null; com_speed = 3; } function frame9(){ tepai_open = 0; opos = new Array(); ppos = new Array(); prio = new Array(); PAI_W1 = 40; PAI_H1 = 40; PAI_T1 = 24; PAI_W2 = 30; PAI_H2 = 58; PAI_T2 = 66; } function frame3(){ PN_DORA = 0x0100; PN_MAX = 300; yama = new Array(); pais = new Array(); PS_OMO = 0; PS_URA = 1; PS_TACHI = 2; PS_FUSE = 3; taikyoku = new Taikyoku(); init_taikyoku(); hanchan = new Hanchan(); kyoku = new Kyoku(); pvmat = new PVMat(); pvwork = new PVWork(); DV_ANPAI = 0; DV_MINO = 1; DV_JIDEAD = 2; DV_ELSESUIT = 3; DV_JILIVE = 4; DV_SUJI = 5; DV_KABE = 6; DV_HEN = 7; DV_4JUN = 8; DV_SUTESUIT = 9; DV_CHANCE = 10; DV_JI = 11; DV_DANGER = 12; DV_MOSTDANGER = 13; CM_NOCARE = 0; CM_BITCARE = 1; CM_CARE = 2; CM_BETA = 3; NY_TENARI = 0; NY_TANYAO = 1; NY_CHANTA = 2; NY_YAKUPAI = 3; NY_SOME = 4; NY_CHITOI = 5; NY_TOITOI = 6; NY_KOKUSI = 7; NY_SANGEN = 8; NY_SUSI = 9; SIM_MINKAN = 0; SIM_PON = 1; SIM_CHIL = 2; SIM_CHIM = 3; SIM_CHIH = 4; PA_FLOAT = 0; PA_SHUN = 1; PA_ANKO = 2; PA_RMEN = 3; PA_TOI = 4; PA_KANCH = 5; PA_PENCH = 6; } function frame24(){ } function frame28(){ } function frame18(){ } public function dora_proc(){ var _local1:*; _local1 = ((PN_DORA + 8) - (kyoku.kan_c * 2)); switch (counter++){ case 0: break; case 1: mcSound.gotoAndPlay("tumo"); pais[_local1].dr = 2; pais[_local1].stat = PS_TACHI; break; case 2: pais[_local1].dr = 0; pais[_local1].stat = PS_OMO; kyoku.dora[kyoku.kan_c] = get_dorapai(pais[_local1].pai); kyoku.kan_c++; break; default: timer_func = null; next_func(); return; }; set_ppos(); draw_taku(); } public function start_mes(_arg1, _arg2){ timer_func = null; next_func = _arg2; mcMes.start_mes(_arg1); } public function hora_proc(){ var _local1:*; var _local2:*; switch (counter){ case 0: if (kyoku.action.code == "ACT_TUMOHO"){ kyoku.who_hora = kyoku.who_act; kyoku.tumo_f = 1; if (kyoku.who_hora != 0){ _local2 = (PN_TE(kyoku.who_hora) + get_pais_tepai_max(kyoku.who_hora)); pais[_local2].stat = PS_OMO; set_ppos(); draw_taku(); }; } else { kyoku.who_hora = kyoku.who_react; kyoku.tumo_f = 0; }; counter++; break; case 1: mcSound.gotoAndPlay("sute"); _local1 = 0; while (_local1 < 14) { pais[(PN_TE(kyoku.who_hora) + _local1)].stat = PS_OMO; _local1++; }; set_ppos(); draw_taku(); counter++; break; default: start_pai_shiver(); if (kyoku.member[kyoku.who_hora].reach_f){ next_func = start_ura_proc; mcClick.start_click_wait(); } else { next_func = start_hora_info; mcClick.start_click_wait(); }; break; }; } public function kyoku_end(){ var _local1:*; var _local2:*; hanchan.kyoku_sum++; _local1 = 0; if (hanchan.kyoku_c > hanchan.kyoku_max){ _local1 = 1; }; _local2 = 0; while (_local2 < 4) { if (hanchan.pt[_local2].tenbo < 0){ _local1 = 1; }; _local2++; }; if (_local1){ start_hanchan_end(); return; }; start_kyoku(); } public function start_hanchan(){ var _local1:*; var _local2:*; var _local3:*; hanchan.init(); _local1 = 0; while (_local1 < 136) { _local2 = Math.floor((Math.random() * 136)); _local3 = yama[_local2]; yama[_local2] = yama[_local1]; yama[_local1] = _local3; _local1++; }; mcItem.init(); timer_func = start_kyoku; } public function start_ura_proc(){ end_pai_shiver(ura_proc); } public function start_ryukyoku_open(){ kyoku.who_act = hanchan.oya; timer_func = ryukyoku_open; } public function ankan_proc(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:*; _local5 = kyoku.who_act; switch (counter){ case 0: _local2 = 0; _local1 = 0; while (_local1 < 14) { if (kyoku.action.push[_local1]){ kyoku.kpai[_local2] = delete_pais((PN_TE(_local5) + _local1)); _local2++; if (_local2 > 3){ break; }; }; _local1++; }; set_ppos(); draw_taku(); counter++; break; case 1: mcSound.gotoAndPlay("naki"); tepai_press(_local5); _local4 = appear_sarasi_pai(_local5, 4, 1); _local3 = (PN_NAKI(_local5) + (_local4 * 4)); pais[_local3].stat = PS_URA; pais[(_local3 + 2)].stat = PS_URA; kyoku.pn = (_local3 + 3); tepai_sort(_local5); tepai_press(_local5); set_ppos(); draw_taku(); mcPaiLayer.set_prio(); counter++; break; default: start_dora_proc(set_reaction); break; }; } function frame36(){ } public function set_member_dd(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:Member; var _local6:Array; var _local7:*; _local4 = kyoku.who_act; _local5 = kyoku.member[_local4]; _local6 = kyoku.member[_local4].tepai; _local1 = 0; while (_local1 < 4) { _local2 = 0; while (_local2 < 14) { kyoku.member[_local4].dd[_local1][_local2] = 0; _local2++; }; _local1++; }; _local1 = 0; while (_local1 < 14) { _local3 = kyoku.member[_local4].tepai[_local1]; if (_local3 == 0){ } else { _local2 = 0; while (_local2 < 4) { if (_local2 == _local4){ } else { kyoku.member[_local4].dd[_local2][_local1] = get_dd(_local3, _local4, _local2); }; _local2++; }; }; _local1++; }; _local1 = 0; while (_local1 < 14) { kyoku.member[_local4].dv[_local1] = 0; _local1++; }; _local7 = 0; _local1 = 0; while (_local1 < 4) { if (_local1 == _local4){ } else { if (kyoku.member[_local1].danger == 0){ } else { _local7++; _local2 = 0; while (_local2 < 14) { kyoku.member[_local4].dv[_local2] = (kyoku.member[_local4].dv[_local2] + kyoku.member[_local4].dd[_local1][_local2]); _local2++; }; }; }; _local1++; }; if (_local7 > 0){ _local1 = 0; while (_local1 < 14) { kyoku.member[_local4].dv[_local1] = (kyoku.member[_local4].dv[_local1] / _local7); _local1++; }; }; } function frame40(){ selected_pai = -1; } public function dobon_nottop(_arg1){ var _local2:Member; var _local3:*; _local2 = kyoku.member[_arg1]; if (_local2.reach_f){ return (0); }; if (_local2.hi.hora.ten_hora >= 8000){ return (0); }; if (sim_hora(_arg1) == _arg1){ return (0); }; _local3 = 0; while (_local3 < 4) { if (hanchan.sim[_local3].tenbo < 0){ return (1); }; _local3++; }; return (0); } function frame45(){ } public function start_com_wait(_arg1, _arg2){ kyoku.com_wait_tc = (getTimer() + _arg1); kyoku.com_wait_reach = _arg2; timer_func = com_waiting; } public function act_man_tumo(){ end_act_man(); if (kyoku.member[0].aa.yakunasi){ next_func = start_act_man; mcDialog.start_dialog("No multiplier."); return; }; kyoku.action.code = "ACT_TUMOHO"; start_action(); } public function get_pais_sments(_arg1){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:*; _local2 = 0; while (_local2 < 7) { kyoku.member[_arg1].s_ments[_local2] = new Ments(); _local2++; }; _local3 = 0; while (_local3 < 4) { _local6 = (PN_NAKI(_arg1) + (_local3 * 4)); if (pais[_local6].pai == 0){ break; }; _local4 = _local3; _local7 = 9999; _local2 = 0; while (_local2 < 4) { _local5 = pais[(_local6 + _local2)].pai; if (_local5 > 0){ if (_local5 < _local7){ _local7 = _local5; }; }; _local2++; }; kyoku.member[_arg1].s_ments[_local4].pai = _local7; _local8 = 6; _local2 = 0; while (_local2 < 4) { _local5 = pais[(_local6 + _local2)].pai; if (_local5 > 0){ if (_local5 != _local7){ _local8 = 5; }; }; _local2++; }; if (pais[(_local6 + 3)].pai > 0){ _local8 = 4; if (pais[_local6].stat == PS_OMO){ _local8 = 7; }; }; kyoku.member[_arg1].s_ments[_local4].at = _local8; _local3++; }; } public function do_reach(_arg1){ var _local2:*; var _local3:Member; var _local4:TenpaiSmall; var _local5:*; var _local6:*; _local2 = kyoku.who_act; _local3 = kyoku.member[_local2]; if (_local3.furo_f){ return (0); }; if (_local3.reach_f){ return (0); }; if (!_local3.aa.reach_ok){ return (0); }; if (_local3.aa.tumo_nasi){ return (0); }; if (_local3.aa.tenbo_nasi){ return (0); }; _local4 = kyoku.member[_local2].sttn.ti[_arg1]; if (!_local4.tenpai_f){ return (0); }; if (_local4.rest_c == 0){ return (0); }; _local5 = 1; if (_local4.rest_c >= 3){ _local5 = 2; }; if (_local4.rest_c >= 5){ _local5 = 3; }; if (_local4.rest_c >= 9){ _local5 = 4; }; if (_local4.machi_k == 1){ _local5 = 1; }; if (_local4.hikkake_f){ _local5 = 4; }; if (((_local4.yakuari_f) && ((_local4.ten_max >= _local3.want)))){ _local6 = 3; if (taikyoku.chara[_local2].reach){ _local6 = 2; }; if (taikyoku.chara[_local2].dama){ _local6 = 4; }; } else { _local6 = 2; if (taikyoku.chara[_local2].dama){ _local6 = 3; }; }; if (_local5 >= _local6){ return (1); }; return (0); } public function start_action(){ var _local1:*; timer_func = null; _local1 = kyoku.who_act; if (_local1 > 0){ if (kyoku.action.code == "ACT_TUMOHO"){ hassei(_local1, "Tsumo!", action_switch); return; }; if (kyoku.action.code == "ACT_ANKAN"){ hassei(_local1, "Kan", action_switch); return; }; if (kyoku.action.code == "ACT_KAKAN"){ hassei(_local1, "Kan", action_switch); return; }; }; action_switch(); } public function end_act_man(){ var _local1:*; var _local2:*; _local1 = 0; while (_local1 < 14) { _local2 = (PN_TE(0) + _local1); this[("mcClick" + _local1)].visible = false; _local1++; }; tepai_click_func = null; tepai_release_func = null; tepai_out_func = null; mcAction.visible = false; } public function kakan_proc(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; _local1 = kyoku.who_act; _local3 = 0; switch (counter){ case 0: _local2 = 0; while (_local2 < 14) { if (kyoku.action.push[_local2]){ _local3 = (PN_TE(_local1) + _local2); }; _local2++; }; kyoku.pai = delete_pais(_local3); set_ppos(); draw_taku(); counter++; break; case 1: mcSound.gotoAndPlay("tumo"); tepai_press(_local1); kyoku.pn = ((PN_NAKI(_local1) + (get_pon_smn(_local1, kyoku.pai) * 4)) + 3); appear_pais(kyoku.pn, kyoku.pai); tepai_sort(_local1); tepai_press(_local1); set_ppos(); draw_taku(); mcPaiLayer.set_prio(); counter++; break; default: start_dora_proc(set_reaction); break; }; } function frame57(){ stop(); start_title(); } public function yaopai(_arg1){ var _local2:*; var _local3:*; _local2 = Math.floor((_arg1 / 10)); _local3 = (_arg1 % 10); if (_local2 == 3){ return (1); }; if ((((_local3 == 1)) || ((_local3 == 9)))){ return (1); }; return (0); } public function do_react(_arg1, _arg2){ var _local3:*; var _local4:Member; var _local5:*; var _local6:*; var _local7:*; var _local8:*; var _local9:*; var _local10:*; var _local11:*; var _local12:*; var _local13:*; var _local14:TenpaiSmall; _local4 = kyoku.member[_arg1]; _local5 = pais[kyoku.pn].pai; _local6 = 5; switch (_arg2){ case SIM_PON: set_pon_push(_arg1); _local6 = 6; break; case SIM_CHIL: set_chil_push(_arg1); _local6 = 5; break; case SIM_CHIM: set_chim_push(_arg1); _local6 = 5; break; case SIM_CHIH: set_chih_push(_arg1); _local6 = 5; break; default: break; }; kyoku.member[_arg1].sttn = new Suteten(); kyoku.member[_arg1].sttn.ymat.furo_f = 1; kyoku.member[_arg1].sttn.ymat.reach_f = 0; kyoku.member[_arg1].sttn.ymat.bakaze = kyoku.bakaze; kyoku.member[_arg1].sttn.ymat.jikaze = kyoku.jikaze[_arg1]; _local3 = 0; while (_local3 < 14) { _local13 = _local4.tepai[_local3]; if (_local4.reaction.push[_local3]){ if (_local13 < _local5){ _local5 = _local13; }; } else { kyoku.member[_arg1].sttn.tepai[_local3] = _local13; }; _local3++; }; _local3 = 0; while (_local3 < 4) { kyoku.member[_arg1].sttn.s_ments[_local3].pai = _local4.s_ments[_local3].pai; kyoku.member[_arg1].sttn.s_ments[_local3].at = _local4.s_ments[_local3].at; _local3++; }; _local3 = 0; while (_local3 < 10) { kyoku.member[_arg1].sttn.dora[_local3] = kyoku.dora[_local3]; _local3++; }; _local3 = 0; while (_local3 < 40) { kyoku.member[_arg1].sttn.sute[_local3] = _local4.sute[_local3]; kyoku.member[_arg1].sttn.mie[_local3] = _local4.mie[_local3]; _local3++; }; _local7 = -1; _local3 = 0; while (_local3 < 4) { if (_local4.s_ments[_local3].pai == 0){ _local7 = _local3; break; }; _local3++; }; if (_local7 < 0){ return; }; kyoku.member[_arg1].sttn.s_ments[_local3].pai = _local5; kyoku.member[_arg1].sttn.s_ments[_local3].at = _local6; kyoku.member[_arg1].sttn.CheckSuteten(); if (kyoku.member[_arg1].sttn.suteten_f == 0){ return (0); }; _local8 = 0; _local9 = 0; _local10 = 1; _local11 = 0; _local12 = pais[kyoku.pn].pai; _local3 = 0; while (_local3 < 14) { if (_local12 == _local4.tepai[_local3]){ } else { _local14 = kyoku.member[_arg1].sttn.ti[_local3]; if (!_local14.tenpai_f){ } else { if (_local14.kakutei_f){ _local8 = 1; }; if (_local14.yakuari_f){ _local9 = 1; }; if (!_local14.furiten_f){ _local10 = 0; }; if (_local14.ten_max > _local11){ _local11 = _local14.ten_max; }; }; }; _local3++; }; if (_local4.tenpai.ts.tenpai_f == 0){ if (((_local8) && (!(_local10)))){ if (_local11 >= _local4.want){ return (1); }; }; if (kyoku.rest_c < 12){ return (1); }; } else { if (((_local9) && (!(_local10)))){ if (_local11 >= _local4.want){ if (_local11 >= (_local4.tenpai.ts.ten_max + 2600)){ return (1); }; }; }; }; return (0); } public function tepai_debug(){ var _local1:*; var _local2:*; var _local3:*; _local1 = [1, 9, 11, 19, 21, 29, 31, 32, 33, 34, 35, 36, 37]; _local2 = 0; while (_local2 < 13) { _local3 = (PN_TE(0) + _local2); _local2++; }; } public function chipai_click2(_arg1){ var _local2:Reactable; var _local3:*; var _local4:*; var _local5:Array; var _local6:*; var _local7:*; if (_arg1 < 0){ return; }; _local2 = kyoku.member[0].ra; if (kyoku.member[0].reaction.push[_arg1] > 0){ timer_func = chipai_cancel; return; }; kyoku.member[0].reaction.push[_arg1] = 1; pais[(PN_TE(0) + _arg1)].stat = PS_OMO; set_ppos(); draw_taku(); _local3 = pais[kyoku.pn].pai; _local4 = 0; _local5 = [0, 0]; _local6 = 0; while (_local6 < 14) { if (kyoku.member[0].reaction.push[_local6]){ _local5[_local4] = pais[(PN_TE(0) + _local6)].pai; _local4++; }; if (_local4 >= 2){ break; }; _local6++; }; if (_local4 == 2){ _local7 = 0; if ((((_local5[0] == (_local3 + 1))) && ((_local5[1] == (_local3 + 2))))){ _local7 = 1; }; if ((((_local5[0] == (_local3 - 1))) && ((_local5[1] == (_local3 + 1))))){ _local7 = 1; }; if ((((_local5[0] == (_local3 - 2))) && ((_local5[1] == (_local3 - 1))))){ _local7 = 1; }; if (_local7){ end_chipai_select(); start_reaction(); return; }; }; timer_func = chipai_cancel; } public function after_sute(){ timer_func = null; after_reaction(); } function frame52(){ } public function get_pv_chitoi(_arg1){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; _local2 = pvmat.tepai[_arg1]; _local3 = Math.floor((_local2 / 10)); _local4 = Math.floor((_local2 % 10)); _local5 = 0; switch (pvwork.tt[_local2]){ case 4: _local5 = 0; break; case 3: _local5 = 10; break; case 2: _local5 = 80; break; default: if (pvwork.dmap[_local2]){ _local5 = 60; if (pvmat.mie[_local2] == 3){ _local5 = 50; }; } else { if (_local3 == 3){ _local5 = 40; } else { _local5 = 20; if (_local4 <= 3){ if (pvmat.sute[(_local2 + 3)]){ _local5 = 35; }; }; if (_local4 >= 7){ if (pvmat.sute[(_local2 - 3)]){ _local5 = 35; }; }; if ((((_local4 >= 4)) && ((_local4 <= 6)))){ if (((pvmat.sute[(_local2 - 3)]) && (pvmat.sute[(_local2 + 3)]))){ _local5 = 35; }; }; }; }; if (pvmat.mie[_local2] == 4){ _local5 = 0; }; if (pvmat.sute[_local2]){ _local5 = 0; }; break; }; return (_local5); } public function flag_tumo(){ var _local1:*; var _local2:*; _local1 = kyoku.who_act; kyoku.rest_c = add_tumo_pos(kyoku.haitei_pos, (1 - kyoku.tumo_pos)); if (kyoku.rest_c <= 0){ kyoku.haitei_f = 1; }; if (kyoku.tumoaction.code == "ACT_RINSHAN"){ kyoku.rinshan_f = 1; }; _local2 = 0; while (_local2 < 40) { kyoku.member[_local1].minoga[_local2] = 0; _local2++; }; kyoku.member[_local1].mota_c++; } public function yakupai(_arg1, _arg2, _arg3){ var _local4:*; var _local5:*; var _local6:*; _local4 = 0; _local5 = Math.floor((_arg1 / 10)); _local6 = (_arg1 % 10); if (_local5 == 3){ if (_local6 > 4){ _local4 = 1; }; if (_local6 == _arg2){ _local4++; }; if (_local6 == _arg3){ _local4++; }; }; return (_local4); } public function delete_pais(_arg1){ var _local2:*; _local2 = pais[_arg1].pai; pais[_arg1].pai = 0; return (_local2); } public function nine_wait(){ var _local1:*; var _local2:*; _local1 = hanchan.kyoku_sum; hanchan.his[_local1] = new Object(); hanchan.his[_local1].end_code = "KEND_RYUKYOKU"; hanchan.his[_local1].kyoku = hanchan.kyoku_c; hanchan.his[_local1].ten_add = new Array(4); _local2 = 0; while (_local2 < 4) { hanchan.his[_local1].ten_add[_local2] = 0; _local2++; }; timer_func = null; next_func = kyoku_end; mcClick.start_click_wait(); } public function get_nerai_info(_arg1){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:Member; var _local7:*; var _local8:*; var _local9:*; var _local10:*; var _local11:*; var _local12:*; var _local13:*; var _local14:*; kyoku.member[_arg1].ni.init(); _local6 = kyoku.member[_arg1]; _local7 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; _local2 = 0; while (_local2 < 14) { _local3 = kyoku.member[_arg1].tepai[_local2]; if (_local3 > 0){ var _local15 = _local7; var _local16 = _local3; var _local17 = (_local15[_local16] + 1); _local15[_local16] = _local17; }; _local2++; }; _local8 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; _local2 = 0; while (_local2 < 5) { _local3 = kyoku.dora[_local2]; if (_local3 > 0){ _local15 = _local8; _local16 = _local3; _local17 = (_local15[_local16] + 1); _local15[_local16] = _local17; }; _local2++; }; _local3 = 1; while (_local3 <= 37) { _local4 = Math.floor((_local3 / 10)); _local5 = (_local3 % 10); if (_local7[_local3] > 0){ _local14 = yakupai(_local3, kyoku.bakaze, kyoku.jikaze[_arg1]); kyoku.member[_arg1].ni.suit_pc[_local4] = (kyoku.member[_arg1].ni.suit_pc[_local4] + _local7[_local3]); if (yaopai(_local3)){ kyoku.member[_arg1].ni.yao_pc = (kyoku.member[_arg1].ni.yao_pc + _local7[_local3]); kyoku.member[_arg1].ni.yao_sc++; }; if (_local4 == 3){ if (_local5 <= 4){ kyoku.member[_arg1].ni.sufu_c = (kyoku.member[_arg1].ni.sufu_c + _local7[_local3]); }; if (_local5 >= 5){ kyoku.member[_arg1].ni.sangen_c = (kyoku.member[_arg1].ni.sangen_c + _local7[_local3]); }; }; if (_local7[_local3] == 2){ kyoku.member[_arg1].ni.toi_c++; if ((((_local6.mie[_local3] < 4)) && ((_local6.sute[_local3] == 0)))){ kyoku.member[_arg1].ni.ntoi_c++; if (_local4 == 3){ kyoku.member[_arg1].ni.jipai_tc++; }; if (_local14){ kyoku.member[_arg1].ni.yaku_tc++; if (_local8[_local3]){ kyoku.member[_arg1].ni.yakudora_c++; }; }; }; }; if (_local7[_local3] >= 3){ kyoku.member[_arg1].ni.anko_c++; kyoku.member[_arg1].ni.toi_c++; kyoku.member[_arg1].ni.ntoi_c++; if (_local4 == 3){ kyoku.member[_arg1].ni.jipai_tc++; }; if (_local14){ kyoku.member[_arg1].ni.yaku_tc++; if (_local8[_local3]){ kyoku.member[_arg1].ni.yakudora_c++; }; }; }; }; _local3++; }; _local9 = 0; _local10 = -1; _local4 = 0; while (_local4 < 3) { if (kyoku.member[_arg1].ni.suit_pc[_local4] > _local10){ _local9 = _local4; _local10 = kyoku.member[_arg1].ni.suit_pc[_local4]; }; _local4++; }; kyoku.member[_arg1].ni.main_suit = _local9; _local11 = 0; _local3 = 1; while (_local3 <= 37) { if (Math.floor((_local3 / 10)) != _local9){ _local11 = (_local11 + _local7[_local3]); }; _local3++; }; _local3 = 31; while (_local3 <= 37) { if (_local7[_local3] == 1){ _local11++; }; _local3++; }; _local2 = 0; while (_local2 < 5) { if (_local6.s_ments[_local2].pai > 0){ _local4 = Math.floor((_local6.s_ments[_local2].pai / 10)); if ((((_local4 < 3)) && (!((_local4 == _local9))))){ _local11 = (_local11 + 3); }; }; _local2++; }; _local12 = 0; _local3 = 1; while (_local3 <= 37) { if (yaopai(_local3)){ if ((((_local6.mie[_local3] >= 4)) && ((_local7[_local3] == 0)))){ _local12 = 1; }; }; _local3++; }; if (kyoku.member[_arg1].ni.toi_c >= 5){ kyoku.member[_arg1].ni.go_chitoi = 1; }; if ((((kyoku.member[_arg1].ni.ntoi_c >= 4)) && (kyoku.member[_arg1].ni.anko_c))){ kyoku.member[_arg1].ni.go_toitoi = 1; }; if (kyoku.member[_arg1].ni.sangen_c >= 6){ kyoku.member[_arg1].ni.go_sangen = 1; }; if (kyoku.member[_arg1].ni.sufu_c >= 7){ kyoku.member[_arg1].ni.go_susi = 1; }; if (kyoku.member[_arg1].ni.yaku_tc){ kyoku.member[_arg1].ni.go_yaku = 1; }; if (kyoku.member[_arg1].ni.yao_sc >= 8){ if (!_local12){ kyoku.member[_arg1].ni.go_kokusi = 1; }; }; _local13 = 0; _local4 = 0; while (_local4 < 3) { if (((!((_local4 == _local9))) && (kyoku.member[_arg1].ni.suit_mc[_local4]))){ _local13 = 1; }; _local4++; }; if (_local13 == 0){ if (_local6.mota_c <= 12){ if (_local11 <= 2){ kyoku.member[_arg1].ni.go_some = 1; }; }; if (_local6.mota_c <= 6){ if (_local11 <= 3){ kyoku.member[_arg1].ni.go_some = 1; }; }; if (_local6.mota_c <= 3){ if (_local11 <= 4){ kyoku.member[_arg1].ni.go_some = 1; }; }; if (_local6.mota_c <= 1){ if (kyoku.member[_arg1].ni.suit_pc[_local9] >= 9){ kyoku.member[_arg1].ni.go_some = 1; }; if ((((kyoku.member[_arg1].ni.suit_pc[_local9] >= 7)) && ((kyoku.member[_arg1].ni.jipai_tc >= 1)))){ kyoku.member[_arg1].ni.go_some = 1; }; if ((((kyoku.member[_arg1].ni.suit_pc[_local9] >= 5)) && ((kyoku.member[_arg1].ni.jipai_tc >= 2)))){ kyoku.member[_arg1].ni.go_some = 1; }; }; }; } public function after_kan(){ timer_func = null; after_reaction(); } public function start_dora_proc(_arg1:Function){ counter = 0; timer_func = dora_proc; next_func = _arg1; } public function set_nerai(_arg1){ var _local2:Member; var _local3:NeraiInfo; var _local4:*; _local2 = kyoku.member[_arg1]; _local3 = kyoku.member[_arg1].ni; _local4 = 1; if (_arg1 == hanchan.oya){ _local4 = 6; if (_local2.want <= 12000){ _local4 = 4; }; if (_local2.want <= 5800){ _local4 = 3; }; if (_local2.want <= 2900){ _local4 = 2; }; if (_local2.want <= 1500){ _local4 = 1; }; } else { _local4 = 6; if (_local2.want <= 8000){ _local4 = 4; }; if (_local2.want <= 3900){ _local4 = 3; }; if (_local2.want <= 2000){ _local4 = 2; }; if (_local2.want <= 1000){ _local4 = 1; }; }; kyoku.member[_arg1].nerai = NY_TENARI; if (_local4 == 1){ if (_local3.go_yaku){ kyoku.member[_arg1].nerai = NY_YAKUPAI; }; if (_local3.go_tanyao){ kyoku.member[_arg1].nerai = NY_TANYAO; }; }; if (_local4 == 2){ if (_local3.go_chitoi){ kyoku.member[_arg1].nerai = NY_CHITOI; }; if (_local3.go_toitoi){ kyoku.member[_arg1].nerai = NY_TOITOI; }; if (_local3.go_some){ kyoku.member[_arg1].nerai = NY_SOME; }; if (_local3.go_chanta){ kyoku.member[_arg1].nerai = NY_CHANTA; }; }; if (_local4 == 3){ if (_local3.go_some){ if (_local3.yaku_tc >= 1){ kyoku.member[_arg1].nerai = NY_SOME; }; }; }; if (_local4 == 4){ if (_local3.go_some){ if (_local3.yaku_tc >= 2){ kyoku.member[_arg1].nerai = NY_SOME; }; }; }; if (_local3.yakudora_c){ kyoku.member[_arg1].nerai = NY_YAKUPAI; }; if (_local3.go_sangen){ kyoku.member[_arg1].nerai = NY_SANGEN; }; if (_local3.go_susi){ kyoku.member[_arg1].nerai = NY_SUSI; }; if (_local3.go_kokusi){ kyoku.member[_arg1].nerai = NY_KOKUSI; }; } public function rinshan_proc(){ var _local1:*; var _local2:*; _local1 = kyoku.who_act; switch (counter++){ case 0: kyoku.pai = yama[kyoku.rinshan_pos]; _local2 = ((kyoku.rinshan_pos % 2)) ? -3 : 1; kyoku.rinshan_pos = add_tumo_pos(kyoku.rinshan_pos, _local2); kyoku.haitei_pos = add_tumo_pos(kyoku.haitei_pos, -1); break; case 1: mcSound.gotoAndPlay("tumo"); kyoku.pn = (PN_TE(_local1) + get_pais_tepai_c(_local1)); tumopai_remove(_local1); appear_pais(kyoku.pn, kyoku.pai); pais[kyoku.pn].stat = PS_TACHI; pais[kyoku.pn].up = 1; break; case 2: pais[kyoku.pn].up = 0; break; default: start_think(); return; }; set_ppos(); draw_taku(); mcPaiLayer.set_prio(); } public function set_tepai_info_ron(_arg1){ get_pais_tepai(_arg1); get_pais_sments(_arg1); get_pais_mie(_arg1); set_member_ronho(_arg1); } public function set_member_dorapon(_arg1){ var _local2:*; var _local3:*; var _local4:*; _local4 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; _local2 = 0; while (_local2 < 5) { _local3 = kyoku.dora[_local2]; if (_local3 > 0){ var _local5 = _local4; var _local6 = _local3; var _local7 = (_local5[_local6] + 1); _local5[_local6] = _local7; }; _local2++; }; _local2 = 0; while (_local2 < 5) { _local3 = kyoku.member[_arg1].s_ments[_local2].pai; if (_local3 == 0){ } else { switch (kyoku.member[_arg1].s_ments[_local2].at){ case 4: case 6: case 7: if (_local4[_local3]){ kyoku.member[_arg1].dorapon = 1; }; break; }; }; _local2++; }; } public function get_tensa(_arg1){ var _local2:*; var _local3:*; var _local4:*; _local2 = -1; _local3 = 0; while (_local3 < 4) { if (hanchan.pt[_local3].tenbo > _local2){ _local2 = hanchan.pt[_local3].tenbo; }; _local3++; }; _local4 = (_local2 - hanchan.pt[_arg1].tenbo); if (_local4 < 0){ _local4 = 0; }; if (_local4 > 12000){ _local4 = 12000; }; return (_local4); } public function get_sn_nocare(){ var _local1:*; var _local2:Member; var _local3:*; var _local4:*; var _local5:*; _local1 = kyoku.who_act; _local2 = kyoku.member[_local1]; _local3 = 0; _local4 = 999; _local5 = 0; while (_local5 < 14) { if (_local2.tepai[_local5] == 0){ } else { if (((kyoku.never_mode) && (!((_local1 == kyoku.never_who))))){ //unresolved if } else { if (_local2.pv[_local5] <= _local4){ _local3 = _local5; _local4 = _local2.pv[_local5]; }; }; }; _local5++; }; return (_local3); } public function do_pon(_arg1){ var _local2:Member; var _local3:*; _local2 = kyoku.member[_arg1]; if (_local2.ra.pon_ok == 0){ return (0); }; if (do_react(_arg1, SIM_PON)){ return (1); }; if (_local2.ra.kan_ok){ return (0); }; _local3 = pais[kyoku.pn].pai; if (_local2.nerai == NY_YAKUPAI){ if (yakupai(_local3, kyoku.bakaze, kyoku.jikaze[_arg1])){ return (1); }; }; if (_local2.nerai == NY_TOITOI){ return (1); }; return (0); } public function pvwork_shun(_arg1){ var _local2:*; pvwork.at[_arg1] = (pvwork.at[(_arg1 + 1)] = (pvwork.at[(_arg1 + 2)] = PA_SHUN)); var _local3 = pvwork.nt; var _local4 = _arg1; var _local5 = (_local3[_local4] - 1); _local3[_local4] = _local5; _local3 = pvwork.nt; _local4 = (_arg1 + 1); _local5 = (_local3[_local4] - 1); _local3[_local4] = _local5; _local3 = pvwork.nt; _local4 = (_arg1 + 2); _local5 = (_local3[_local4] - 1); _local3[_local4] = _local5; pvwork.smap[_arg1] = 1; pvwork.smap[(_arg1 + 1)] = 2; pvwork.smap[(_arg1 + 2)] = 2; pvwork.ments_c++; _local2 = (_arg1 % 10); if (_local2 < 7){ if (((!(pvmat.sute[_arg1])) && (!(pvmat.sute[(_arg1 + 3)])))){ pvwork.jant[_arg1] = 1; pvwork.jant[(_arg1 + 3)] = 1; }; }; if (_local2 > 1){ if (((!(pvmat.sute[(_arg1 - 1)])) && (!(pvmat.sute[(_arg1 + 2)])))){ pvwork.jant[(_arg1 - 1)] = 1; pvwork.jant[(_arg1 + 2)] = 1; }; }; } public function start_chipai_select(){ var _local1:*; var _local2:*; var _local3:Reactable; mcSmallMes.gotoAndStop("chi"); timer_func = null; _local3 = kyoku.member[0].ra; _local1 = 0; while (_local1 < 14) { _local2 = (PN_TE(0) + _local1); this[("mcClick" + _local1)].x = ppos[_local2].bx; this[("mcClick" + _local1)].y = ppos[_local2].by; this[("mcClick" + _local1)].visible = false; if (pais[_local2].pai > 0){ if (((((_local3.chil[_local1]) || (_local3.chim[_local1]))) || (_local3.chih[_local1]))){ this[("mcClick" + _local1)].visible = true; }; }; _local1++; }; tepai_click_func = chipai_click; tepai_release_func = null; tepai_out_func = null; } public function set_chil_push(_arg1){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; _local2 = 0; while (_local2 < 14) { kyoku.member[_arg1].reaction.push[_local2] = 0; _local2++; }; _local3 = pais[kyoku.pn].pai; _local4 = 0; _local5 = 0; _local6 = 1; _local2 = 0; while (_local2 < 14) { _local7 = kyoku.member[_arg1].tepai[_local2]; if (_local7 == 0){ } else { if ((_local3 + 1) == _local7){ _local5 = _local2; }; }; _local2++; }; _local2 = 13; while (_local2 >= 0) { _local7 = kyoku.member[_arg1].tepai[_local2]; if (_local7 == 0){ } else { if ((_local3 + 2) == _local7){ _local6 = _local2; }; }; _local2--; }; kyoku.member[_arg1].reaction.push[_local5] = 1; kyoku.member[_arg1].reaction.push[_local6] = 1; } public function start_reach_com(){ timer_func = null; start_reabo_proc(start_action); } public function jun_nochange(_arg1){ var _local2:Member; _local2 = kyoku.member[_arg1]; if (hanchan.kyoku_c <= (hanchan.kyoku_max - 2)){ return (0); }; if (_arg1 == hanchan.oya){ return (0); }; if (_local2.reach_f){ return (0); }; if (_local2.hi.hora.ten_hora >= 8000){ return (0); }; if (sim_hora(_arg1) == _arg1){ return (0); }; if (hanchan.sim[_arg1].jun == hanchan.pt[_arg1].jun){ return (1); }; return (0); } public function set_minkan_push(_arg1){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; _local2 = 0; while (_local2 < 14) { kyoku.member[_arg1].reaction.push[_local2] = 0; _local2++; }; _local3 = pais[kyoku.pn].pai; _local4 = 0; _local2 = 0; while (_local2 < 14) { _local5 = kyoku.member[_arg1].tepai[_local2]; if (_local5 == 0){ } else { if (_local5 == _local3){ kyoku.member[_arg1].reaction.push[_local2] = 1; ++_local4; if (_local4 >= 3){ break; }; }; }; _local2++; }; } public function hora_tenbo(){ var _local1:*; var _local2:*; set_add_hora(kyoku.who_hora); _local1 = hanchan.kyoku_sum; hanchan.his[_local1] = new Object(); hanchan.his[_local1].end_code = ((kyoku.action.code)=="ACT_TUMOHO") ? "KEND_TUMO" : "KEND_RON"; hanchan.his[_local1].kyoku = hanchan.kyoku_c; hanchan.his[_local1].ten_add = new Array(4); _local2 = 0; while (_local2 < 4) { hanchan.his[_local1].ten_add[_local2] = kyoku.ten_add[_local2]; _local2++; }; start_tenbo_proc(honba_move); } public function after_reaction(){ flag_reaction(); if (sufu_check()){ sufu_proc(); return; }; if (pais_sukan_check() == 1){ sukan_proc(); return; }; if (kyoku.haitei_f){ ryukyoku_proc(); return; }; next_mota(); start_tumoaction(); } public function set_aa_after_reach(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:KanAbility; var _local6:*; var _local7:*; _local3 = 13; _local4 = kyoku.who_act; _local1 = 0; while (_local1 < 14) { if (kyoku.member[_local4].tepai[_local1] > 0){ _local3 = _local1; }; _local1++; }; kyoku.member[_local4].aa.sute_ok[_local3] = 1; if (kyoku.member[_local4].hi.hora.hora_f){ kyoku.member[_local4].aa.tumo_ok = 1; return; }; if (kyoku.haitei_f){ return; }; if (kyoku.kan_c >= 5){ return; }; _local5 = new KanAbility(); _local1 = 0; while (_local1 < 14) { _local2 = kyoku.member[_local4].tepai[_local1]; if (_local2 > 0){ var _local8 = _local5.tt; var _local9 = _local2; var _local10 = (_local8[_local9] + 1); _local8[_local9] = _local10; }; _local1++; }; _local2 = kyoku.member[_local4].tepai[_local3]; if (_local5.tt[_local2] == 4){ _local5.tt[_local2] = (_local5.tt[_local2] - 4); _local5.check_tenpai(); _local6 = 0; _local1 = 0; while (_local1 < 13) { if (kyoku.member[_local4].tenpai.hs[_local1].hora_f){ _local7 = kyoku.member[_local4].tenpai.hs[_local1].a_pai; if (_local5.atari[_local7] == 0){ _local6 = 1; }; }; _local1++; }; if (_local6 == 0){ kyoku.member[_local4].aa.kanzai_c = 1; _local1 = 0; while (_local1 < 14) { if (kyoku.member[_local4].tepai[_local1] == 0){ } else { if (kyoku.member[_local4].tepai[_local1] == _local2){ kyoku.member[_local4].aa.kanzai[_local1] = 1; kyoku.member[_local4].aa.kantype[_local1] = 1; }; }; _local1++; }; }; }; } public function start_pai_change(){ timer_func = null; mcDebug.start_debug(); } public function start_kanpai_select(){ var _local1:*; var _local2:*; var _local3:Actable; mcSmallMes.gotoAndStop("kan"); timer_func = null; _local3 = kyoku.member[0].aa; _local1 = 0; while (_local1 < 14) { _local2 = (PN_TE(0) + _local1); this[("mcClick" + _local1)].x = ppos[_local2].bx; this[("mcClick" + _local1)].y = ppos[_local2].by; this[("mcClick" + _local1)].visible = false; if (pais[_local2].pai > 0){ if (_local3.kanzai[_local1]){ this[("mcClick" + _local1)].visible = true; }; }; _local1++; }; tepai_click_func = kanpai_click; tepai_release_func = null; tepai_out_func = null; } public function flag_sute(){ var _local1:*; var _local2:*; var _local3:*; kyoku.rinshan_f = 0; _local2 = kyoku.who_act; kyoku.member[_local2].not_shojun = 1; kyoku.member[_local2].minogasi_f = 0; kyoku.member[_local2].ippatsu_f = 0; if ((((kyoku.action.code == "ACT_ANKAN")) || ((kyoku.action.code == "ACT_KAKAN")))){ kyoku.chankan_f = 1; _local1 = 0; while (_local1 < 4) { kyoku.member[_local1].not_shojun = 1; kyoku.member[_local1].ippatsu_f = 0; _local1++; }; }; _local3 = pais[kyoku.pn].pai; kyoku.member[_local2].anpai[_local3] = 1; _local1 = 0; while (_local1 < 4) { kyoku.member[_local1].minoga[_local3] = 1; if (kyoku.member[_local1].reach_f){ kyoku.member[_local1].anpai[_local3] = 1; }; _local1++; }; } public function start_tenbo_proc(_arg1:Function){ var _local2:*; _local2 = 0; while (_local2 < 4) { kyoku.ten_dest[_local2] = (hanchan.pt[_local2].tenbo + kyoku.ten_add[_local2]); _local2++; }; timer_func = tenbo_proc; next_func = _arg1; mcSound.gotoAndStop("tenbo_loop"); } public function get_pais_tepai_max(_arg1){ var _local2:*; var _local3:*; var _local4:*; _local2 = 0; _local3 = 0; while (_local3 < 14) { _local4 = (PN_TE(_arg1) + _local3); if (pais[_local4].pai > 0){ _local2 = _local3; }; _local3++; }; return (_local2); } public function hanchan_end_his(){ timer_func = null; next_func = hanchan_end_total; mcHis.disp(); } public function start_act_man(){ var _local1:*; var _local2:*; var _local3:*; var _local4:Actable; _local3 = kyoku.who_act; timer_func = null; kyoku.action.init(); _local1 = 0; while (_local1 < 14) { _local2 = (PN_TE(0) + _local1); this[("mcClick" + _local1)].x = ppos[_local2].bx; this[("mcClick" + _local1)].y = ppos[_local2].by; this[("mcClick" + _local1)].visible = ((pais[_local2].pai)>0) ? true : false; _local1++; }; tepai_click_func = sute_click; tepai_release_func = sute_release; tepai_out_func = sute_reset; mcAction.visible = true; _local4 = kyoku.member[_local3].aa; mcAction.btnNine.visible = false; mcAction.btnKan.visible = ((_local4.kanzai_c)>0) ? true : false; mcAction.btnReach.visible = (_local4.reach_ok) ? true : false; mcAction.btnTumo.visible = (_local4.tumo_ok) ? true : false; if (_local4.tumo_ok){ mcSound.gotoAndPlay("notice"); }; } public function ura_proc(){ var _local1:*; var _local2:*; var _local3:*; switch (counter){ case 0: _local1 = 0; while (_local1 < kyoku.kan_c) { _local2 = ((PN_DORA + 8) - (_local1 * 2)); pais[_local2].up = 0; _local2++; pais[_local2].up = 0; _local1++; }; ura_remove(); set_ppos(); draw_taku(); mcPaiLayer.set_prio(); counter++; break; case 1: mcSound.gotoAndPlay("tumo"); _local1 = 0; while (_local1 < kyoku.kan_c) { _local2 = (((PN_DORA + 8) - (_local1 * 2)) + 1); pais[_local2].stat = PS_TACHI; _local1++; }; set_ppos(); draw_taku(); mcPaiLayer.set_prio(); counter++; break; case 2: _local1 = 0; while (_local1 < kyoku.kan_c) { _local2 = (((PN_DORA + 8) - (_local1 * 2)) + 1); pais[_local2].stat = PS_OMO; _local1++; }; set_ppos(); draw_taku(); mcPaiLayer.set_prio(); _local1 = 0; while (_local1 < kyoku.kan_c) { _local3 = (5 + _local1); _local2 = (((PN_DORA + 8) - (_local1 * 2)) + 1); kyoku.dora[_local3] = get_dorapai(pais[_local2].pai); _local1++; }; counter++; break; default: timer_func = null; next_func = start_hora_info; mcClick.start_click_wait(); break; }; } public function tenbo_proc(){ var _local1:*; var _local2:*; var _local3:*; _local2 = 0; _local3 = 1000; _local1 = 0; while (_local1 < 4) { if (hanchan.pt[_local1].tenbo == kyoku.ten_dest[_local1]){ _local2++; } else { if (hanchan.pt[_local1].tenbo < kyoku.ten_dest[_local1]){ hanchan.pt[_local1].tenbo = (hanchan.pt[_local1].tenbo + _local3); if (hanchan.pt[_local1].tenbo > kyoku.ten_dest[_local1]){ hanchan.pt[_local1].tenbo = kyoku.ten_dest[_local1]; }; } else { hanchan.pt[_local1].tenbo = (hanchan.pt[_local1].tenbo - _local3); if (hanchan.pt[_local1].tenbo < kyoku.ten_dest[_local1]){ hanchan.pt[_local1].tenbo = kyoku.ten_dest[_local1]; }; }; }; _local1++; }; mcItem.draw_tenbo(); if (_local2 == 4){ timer_func = null; counter = 0; next_func(); mcSound.gotoAndStop("tenbo_end"); }; } public function next_mota(){ if ((((kyoku.reaction.code == "ACT_CHI")) || ((kyoku.reaction.code == "ACT_PON")))){ kyoku.tumoaction.code = "ACT_AFTERNAKI"; kyoku.who_act = kyoku.who_react; } else { if (kyoku.reaction.code == "ACT_MINKAN"){ kyoku.tumoaction.code = "ACT_RINSHAN"; kyoku.who_act = kyoku.who_react; } else { if (kyoku.reaction.code == "ACT_AFTERKAN"){ kyoku.tumoaction.code = "ACT_RINSHAN"; } else { kyoku.tumoaction.code = "ACT_TUMO"; kyoku.who_act = ((kyoku.who_act + 1) % 4); }; }; }; } public function action_switch(){ counter = 0; if (kyoku.action.code == "ACT_TUMOHO"){ timer_func = hora_proc; } else { if (kyoku.action.code == "ACT_ANKAN"){ timer_func = ankan_proc; } else { if (kyoku.action.code == "ACT_KAKAN"){ timer_func = kakan_proc; } else { if (kyoku.action.code == "ACT_NINE"){ timer_func = nine_proc; } else { timer_func = sute_proc; }; }; }; }; } public function get_sn_beta(){ var _local1:*; _local1 = get_sn(999, 0); if (_local1 < 0){ _local1 = get_sn(999, 4); }; if (_local1 < 0){ _local1 = get_sn(999, 6); }; if (_local1 < 0){ _local1 = get_sn(999, 8); }; if (_local1 < 0){ _local1 = get_sn(999, 10); }; if (_local1 >= 0){ return (_local1); }; return (get_sn_nocare()); } public function set_reaction(){ var _local1:*; flag_sute(); set_tepai_info_13(); _local1 = 0; while (_local1 < 4) { set_tepai_info_ron(_local1); set_member_ra(_local1); _local1++; }; _local1 = 0; while (_local1 < 4) { react_com(_local1); _local1++; }; start_react_man(); } public function set_member_ronho(_arg1){ var _local2:*; var _local3:*; kyoku.member[_arg1].hi = new Horainfo(); get_yakumat(_arg1); _local2 = 0; while (_local2 < 14) { _local3 = kyoku.member[_arg1].tepai[_local2]; if (_local3 > 0){ var _local4 = kyoku.member[_arg1].hi.tt; var _local5 = _local3; var _local6 = (_local4[_local5] + 1); _local4[_local5] = _local6; }; _local2++; }; _local3 = pais[kyoku.pn].pai; _local4 = kyoku.member[_arg1].hi.tt; _local5 = _local3; _local6 = (_local4[_local5] + 1); _local4[_local5] = _local6; kyoku.member[_arg1].hi.a_pai = _local3; _local2 = 0; while (_local2 < 4) { kyoku.member[_arg1].hi.s_ments[_local2].pai = kyoku.member[_arg1].s_ments[_local2].pai; kyoku.member[_arg1].hi.s_ments[_local2].at = kyoku.member[_arg1].s_ments[_local2].at; _local2++; }; _local2 = 0; while (_local2 < 10) { kyoku.member[_arg1].hi.dora[_local2] = kyoku.dora[_local2]; _local2++; }; kyoku.member[_arg1].hi.CheckHora(); } public function start_ranking(){ var _local1:*; var _local2:*; _local1 = 0; _local2 = 0; while (_local2 < taikyoku.hanchan_c) { _local1 = (_local1 + taikyoku.his[_local2][0]); _local2++; }; timer_func = null; next_func = start_title; mcRanking.disp(_local1); } public function start_reaction(){ var _local1:*; judge_reaction(); flag_reach(); _local1 = kyoku.who_react; if (_local1 > 0){ if (kyoku.reaction.code == "ACT_RONHO"){ hassei(_local1, "Ron!", react_switch); return; }; if (kyoku.reaction.code == "ACT_CHI"){ hassei(_local1, "Chii", react_switch); return; }; if (kyoku.reaction.code == "ACT_PON"){ hassei(_local1, "Pon", react_switch); return; }; if (kyoku.reaction.code == "ACT_NINKAN"){ hassei(_local1, "Kan", react_switch); return; }; }; react_switch(); } public function sotosuji(_arg1, _arg2){ var _local3:*; var _local4:*; var _local5:Member; var _local6:*; var _local7:*; var _local8:*; _local3 = Math.floor((_arg1 / 10)); _local4 = (_arg1 % 10); _local5 = kyoku.member[_arg2]; if (_local3 == 3){ return (0); }; _local6 = 0; while (_local6 < 4) { if (_local5.sutelist[_local6] == 0){ } else { _local7 = Math.floor((_local5.sutelist[_local6] / 10)); _local8 = Math.floor((_local5.sutelist[_local6] % 10)); if (_local7 == 3){ } else { if (_local7 != _local3){ } else { if ((((_local4 == 3)) && ((_local8 == 5)))){ return (1); }; if ((((_local4 <= 3)) && ((_local8 == (_local4 + 1))))){ return (1); }; if ((((_local4 <= 2)) && ((_local8 == (_local4 + 2))))){ return (1); }; if ((((_local4 == 7)) && ((_local8 == 5)))){ return (1); }; if ((((_local4 >= 7)) && ((_local8 == (_local4 - 1))))){ return (1); }; if ((((_local4 >= 7)) && ((_local8 == (_local4 - 2))))){ return (1); }; }; }; }; _local6++; }; return (0); } public function react_man_chi(){ var _local1:*; var _local2:*; kyoku.member[0].reaction.code = "ACT_CHI"; _local1 = kyoku.member[0].ra; if (_local1.chikei_c == 1){ _local2 = pais[kyoku.pn].pai; if (_local1.chil_ok){ set_chil_push(0); }; if (_local1.chim_ok){ set_chim_push(0); }; if (_local1.chih_ok){ set_chih_push(0); }; start_reaction(); return; }; start_chipai_select(); } public function act_man_nine(){ end_act_man(); nine_proc(); } public function com_waiting(){ if (getTimer() < kyoku.com_wait_tc){ return; }; timer_func = null; if (kyoku.com_wait_reach){ hassei(kyoku.who_act, "Riichi", start_reach_com); } else { start_action(); }; } public function set_add_hora(_arg1){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; _local3 = [0, 0, 0, 0]; if (_arg1 != kyoku.who_act){ _local4 = kyoku.member[_arg1].hi.hora.ten_hora; _local3[_arg1] = _local4; _local3[kyoku.who_act] = -(_local4); } else { if (_arg1 == hanchan.oya){ _local2 = 0; while (_local2 < 4) { if (_local2 != _arg1){ _local3[_local2] = -(kyoku.member[_arg1].hi.hora.ten_half); }; _local2++; }; } else { _local2 = 0; while (_local2 < 4) { if (_local2 == _arg1){ } else { if (_local2 == hanchan.oya){ _local3[_local2] = -(kyoku.member[_arg1].hi.hora.ten_half); } else { _local3[_local2] = -(kyoku.member[_arg1].hi.hora.ten_qurt); }; }; _local2++; }; }; _local5 = 0; _local2 = 0; while (_local2 < 4) { _local5 = (_local5 + _local3[_local2]); _local2++; }; _local3[_arg1] = -(_local5); }; _local2 = 0; while (_local2 < 4) { kyoku.ten_add[_local2] = _local3[_local2]; _local2++; }; } public function set_ppos(){ var _local1:int; var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; _local1 = 0; while (_local1 < PN_MAX) { _local2 = _local1; _local3 = pais[_local1].pai; if (_local3 == 0){ ppos[_local2].pat = 0; } else { _local4 = 0; _local5 = opos[_local2].px; _local6 = opos[_local2].py; if (tepai_open){ if (pais[_local2].stat == PS_TACHI){ pais[_local2].stat = PS_OMO; }; }; switch (pais[_local2].dr){ case 0: switch (pais[_local2].stat){ case 0: _local4 = _local3; break; case 1: _local4 = 38; break; case 2: _local6 = (_local6 + 12); _local4 = (160 + _local3); break; case 3: _local6 = (_local6 + 32); _local4 = 38; break; }; break; case 1: switch (pais[_local2].stat){ case 0: _local4 = (40 + _local3); break; case 1: _local4 = (40 + 38); break; case 2: _local5 = (_local5 + 24); _local6 = (_local6 - 18); _local4 = (40 + 39); break; case 3: _local5 = (_local5 + 24); _local4 = (40 + 38); break; }; break; case 2: switch (pais[_local2].stat){ case 0: _local4 = (80 + _local3); break; case 1: _local4 = (80 + 38); break; case 2: _local6 = (_local6 - 16); _local4 = (80 + 39); break; case 3: _local6 = (_local6 - 20); _local4 = (80 + 38); break; }; break; case 3: switch (pais[_local2].stat){ case 0: _local4 = (120 + _local3); break; case 1: _local4 = (120 + 38); break; case 2: _local5 = (_local5 - 0); _local6 = (_local6 - 18); _local4 = (120 + 39); break; case 3: _local5 = (_local5 - 20); _local4 = (120 + 38); break; }; break; }; if (pais[_local2].up){ _local6 = (_local6 - 24); }; ppos[_local2].bx = _local5; ppos[_local2].by = _local6; ppos[_local2].pat = _local4; }; _local1++; }; } public function honba_move(){ var _local1:*; set_add_honba(kyoku.who_hora); _local1 = 0; while (_local1 < 4) { hanchan.pt[_local1].tenbo = (hanchan.pt[_local1].tenbo + kyoku.ten_add[_local1]); _local1++; }; mcItem.draw_tenbo(); timer_func = reabo_get; } public function ryukyoku_open(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:*; _local2 = kyoku.who_act; mcSound.gotoAndPlay("sute"); _local3 = (kyoku.member[_local2].tenpai.ts.tenpai_f) ? PS_OMO : PS_FUSE; _local1 = 0; while (_local1 < 14) { pais[(PN_TE(_local2) + _local1)].stat = _local3; _local1++; }; set_ppos(); draw_taku(); kyoku.who_act++; if (kyoku.who_act > 3){ kyoku.who_act = 0; }; if (kyoku.who_act == hanchan.oya){ _local4 = 0; _local1 = 0; while (_local1 < 4) { if (kyoku.member[_local1].tenpai.ts.tenpai_f){ _local4++; }; _local1++; }; _local5 = ["0 Tenpai", "1 Tenpai", "2 Tenapi", "3 Tenpai", "4 Tenpai"]; timer_func = null; start_mes(_local5[_local4], ryukyoku_tenbo); }; } public function get_pais_mie(_arg1){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; _local2 = 0; while (_local2 < 40) { kyoku.member[_arg1].mie[_local2] = 0; _local2++; }; _local2 = 0; while (_local2 < 14) { _local4 = (PN_TE(_arg1) + _local2); _local5 = pais[_local4].pai; if (_local5 > 0){ var _local6 = kyoku.member[_arg1].mie; var _local7 = _local5; var _local8 = (_local6[_local7] + 1); _local6[_local7] = _local8; }; _local2++; }; _local3 = 0; while (_local3 < 4) { _local2 = 0; while (_local2 < 16) { _local4 = (PN_NAKI(_local3) + _local2); _local5 = pais[_local4].pai; if (_local5 > 0){ _local6 = kyoku.member[_arg1].mie; _local7 = _local5; _local8 = (_local6[_local7] + 1); _local6[_local7] = _local8; }; _local2++; }; _local2 = 0; while (_local2 < 30) { _local4 = (PN_SUTE(_local3) + _local2); _local5 = pais[_local4].pai; if (_local5 > 0){ _local6 = kyoku.member[_arg1].mie; _local7 = _local5; _local8 = (_local6[_local7] + 1); _local6[_local7] = _local8; }; _local2++; }; _local3++; }; _local2 = 0; while (_local2 < 10) { _local4 = (PN_DORA + _local2); if (pais[_local4].stat != PS_OMO){ } else { _local5 = pais[_local4].pai; if (_local5 > 0){ _local6 = kyoku.member[_arg1].mie; _local7 = _local5; _local8 = (_local6[_local7] + 1); _local6[_local7] = _local8; }; }; _local2++; }; } public function minkan_proc(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:*; _local4 = kyoku.who_react; _local5 = (((7 + _local4) - kyoku.who_act) % 4); switch (counter){ case 0: _local2 = 0; _local1 = 0; while (_local1 < 14) { if (kyoku.reaction.push[_local1]){ kyoku.kpai[_local2] = delete_pais((PN_TE(_local4) + _local1)); _local2++; if (_local2 > 3){ break; }; }; _local1++; }; kyoku.kpai[3] = delete_pais(kyoku.pn); set_ppos(); draw_taku(); counter++; break; case 1: mcSound.gotoAndPlay("naki"); tepai_press(_local4); appear_sarasi_pai(_local4, 4, _local5); set_ppos(); draw_taku(); mcPaiLayer.set_prio(); counter++; break; default: start_dora_proc(after_reaction); break; }; } public function start_wanpai(){ var _local1:*; var _local2:*; var _local3:*; _local1 = 0; while (_local1 < 10) { _local2 = (PN_DORA + _local1); pais[_local2].dr = 0; pais[_local2].exist = 1; _local3 = add_tumo_pos(kyoku.dora_pos, (-8 + _local1)); pais[_local2].pai = yama[_local3]; pais[_local2].stat = PS_URA; pais[_local2].up = ((_local1 % 2)) ? 0 : 1; _local1++; }; set_ppos(); draw_taku(); mcPaiLayer.set_prio(); mcItem.draw_all(); timer_func = kaikyoku_dora; } public function set_chim_push(_arg1){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; _local2 = 0; while (_local2 < 14) { kyoku.member[_arg1].reaction.push[_local2] = 0; _local2++; }; _local3 = pais[kyoku.pn].pai; _local4 = 0; _local5 = 0; _local6 = 1; _local2 = 0; while (_local2 < 14) { _local7 = kyoku.member[_arg1].tepai[_local2]; if (_local7 == 0){ } else { if ((_local7 + 1) == _local3){ _local5 = _local2; }; }; _local2++; }; _local2 = 13; while (_local2 >= 0) { _local7 = kyoku.member[_arg1].tepai[_local2]; if (_local7 == 0){ } else { if ((_local3 + 1) == _local7){ _local6 = _local2; }; }; _local2--; }; kyoku.member[_arg1].reaction.push[_local5] = 1; kyoku.member[_arg1].reaction.push[_local6] = 1; } public function flag_reaction(){ var _local1:*; kyoku.chankan_f = 0; if ((((((kyoku.reaction.code == "ACT_CHI")) || ((kyoku.reaction.code == "ACT_PON")))) || ((kyoku.reaction.code == "ACT_MINKAN")))){ kyoku.member[kyoku.who_react].furo_f = 1; _local1 = 0; while (_local1 < 4) { kyoku.member[_local1].not_shojun = 1; kyoku.member[_local1].ippatsu_f = 0; _local1++; }; }; _local1 = 0; while (_local1 < 4) { if (kyoku.member[_local1].ra.ron_ok){ kyoku.member[_local1].minogasi_f = 1; if (kyoku.member[_local1].reach_f){ kyoku.member[_local1].minogasi_r_f = 1; }; }; _local1++; }; } public function end_chipai_select(){ var _local1:*; var _local2:*; mcSmallMes.gotoAndStop(1); _local1 = 0; while (_local1 < 14) { _local2 = (PN_TE(0) + _local1); this[("mcClick" + _local1)].visible = false; _local1++; }; tepai_click_func = null; tepai_release_func = null; tepai_out_func = null; } public function get_yakumat(_arg1){ kyoku.member[_arg1].hi.ymat.tumo_f = 0; kyoku.member[_arg1].hi.ymat.furo_f = kyoku.member[_arg1].furo_f; kyoku.member[_arg1].hi.ymat.reach_f = 0; if (kyoku.member[_arg1].reach_f){ kyoku.member[_arg1].hi.ymat.reach_f = 1; }; if (kyoku.member[_arg1].reach_start){ kyoku.member[_arg1].hi.ymat.reach_f = 1; }; kyoku.member[_arg1].hi.ymat.double_f = kyoku.member[_arg1].doubble_f; kyoku.member[_arg1].hi.ymat.ippatsu_f = kyoku.member[_arg1].ippatsu_f; kyoku.member[_arg1].hi.ymat.shojun_f = !(kyoku.member[_arg1].not_shojun); kyoku.member[_arg1].hi.ymat.rinshan_f = kyoku.rinshan_f; kyoku.member[_arg1].hi.ymat.haitei_f = kyoku.haitei_f; kyoku.member[_arg1].hi.ymat.chankan_f = kyoku.chankan_f; kyoku.member[_arg1].hi.ymat.bakaze = kyoku.bakaze; kyoku.member[_arg1].hi.ymat.jikaze = kyoku.jikaze[_arg1]; } public function add_tumo_pos(_arg1, _arg2){ return ((((_arg1 + 136) + _arg2) % 136)); } public function sujipai(_arg1, _arg2){ var _local3:*; var _local4:*; var _local5:Member; _local3 = Math.floor((_arg1 / 10)); _local4 = (_arg1 % 10); _local5 = kyoku.member[_arg2]; if (_local3 == 3){ return (1); }; if (_local4 < 4){ if (_local5.anpai[(_arg1 + 3)]){ return (1); }; }; if (_local4 > 6){ if (_local5.anpai[(_arg1 - 3)]){ return (1); }; }; if ((((_local4 >= 4)) && ((_local4 <= 6)))){ if (((_local5.anpai[(_arg1 - 3)]) && (_local5.anpai[(_arg1 + 3)]))){ return (1); }; }; return (0); } public function get_pv_tanyao(_arg1){ var _local2:*; _local2 = pvmat.tepai[_arg1]; if (yaopai(_local2)){ return (-100); }; return (0); } public function do_ankan(_arg1){ var _local2:*; var _local3:Member; var _local4:Actable; var _local5:*; var _local6:*; var _local7:*; var _local8:*; _local2 = kyoku.who_act; _local3 = kyoku.member[_local2]; _local4 = kyoku.member[_local2].aa; if (_local4.kantype[_arg1] != 1){ return (0); }; if (_local3.reach_f){ return (1); }; if (_local3.care_mode == CM_BETA){ return (0); }; if (_local3.care_mode == CM_CARE){ return (0); }; _local5 = _local3.tepai[_arg1]; if (_local5 < 30){ _local6 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; _local7 = 0; while (_local7 < 14) { _local8 = kyoku.member[_local2].tepai[_local7]; if (_local8 > 0){ var _local9 = _local6; var _local10 = _local8; var _local11 = (_local9[_local10] + 1); _local9[_local10] = _local11; }; _local7++; }; if ((_local5 % 10) > 1){ if (_local6[(_local5 - 1)]){ return (0); }; }; if ((_local5 % 10) < 9){ if (_local6[(_local5 + 1)]){ return (0); }; }; }; return (1); } public function sukan_proc(){ timer_func = null; start_mes("4 Kan Draw", nine_wait); } public function do_ronho(_arg1){ var _local2:Member; _local2 = kyoku.member[_arg1]; if (_local2.ra.ron_ok == 0){ return (0); }; if (_local2.ra.yakunasi){ return (0); }; if (_local2.ra.furiten){ return (0); }; if (_local2.ra.minogasi){ return (0); }; if (_local2.ra.minogasi_r){ return (0); }; if (jun_nochange(_arg1)){ return (0); }; if (dobon_nottop(_arg1)){ return (0); }; return (1); } public function start_kyoku_mes(){ var _local1:*; _local1 = ["East 1", "East 2", "East 3", "East 4", "South 1", "South 2", "South 3", "South 4"]; start_mes(_local1[hanchan.kyoku_c], start_wanpai); } public function change_nerai(_arg1){ var _local2:Member; var _local3:NeraiInfo; var _local4:*; _local2 = kyoku.member[_arg1]; _local3 = kyoku.member[_arg1].ni; _local4 = 1; if (_arg1 == hanchan.oya){ _local4 = 6; if (_local2.want <= 12000){ _local4 = 4; }; if (_local2.want <= 5800){ _local4 = 3; }; if (_local2.want <= 2900){ _local4 = 2; }; if (_local2.want <= 1500){ _local4 = 1; }; } else { _local4 = 6; if (_local2.want <= 8000){ _local4 = 4; }; if (_local2.want <= 3900){ _local4 = 3; }; if (_local2.want <= 2000){ _local4 = 2; }; if (_local2.want <= 1000){ _local4 = 1; }; }; if (_local2.nerai == NY_TENARI){ if (_local4 == 1){ if (_local3.go_yaku){ kyoku.member[_arg1].nerai = NY_YAKUPAI; }; }; if (_local4 == 2){ if (_local3.go_chitoi){ kyoku.member[_arg1].nerai = NY_CHITOI; }; if (_local3.go_toitoi){ kyoku.member[_arg1].nerai = NY_TOITOI; }; if (_local3.go_some){ kyoku.member[_arg1].nerai = NY_SOME; }; if (_local3.go_chanta){ kyoku.member[_arg1].nerai = NY_CHANTA; }; }; if (_local4 == 3){ if (_local3.go_some){ if (_local3.yaku_tc >= 1){ kyoku.member[_arg1].nerai = NY_SOME; }; }; }; if (_local4 == 4){ if (_local3.go_some){ if (_local3.yaku_tc >= 2){ kyoku.member[_arg1].nerai = NY_SOME; }; }; }; if (_local3.yakudora_c){ kyoku.member[_arg1].nerai = NY_YAKUPAI; }; if (_local3.go_sangen){ kyoku.member[_arg1].nerai = NY_SANGEN; }; if (_local3.go_susi){ kyoku.member[_arg1].nerai = NY_SUSI; }; }; if (_local2.nerai == NY_KOKUSI){ if (_local3.go_kokusi == 0){ kyoku.member[_arg1].nerai = NY_CHANTA; }; }; } public function kabepai(_arg1, _arg2){ var _local3:*; var _local4:*; var _local5:Member; _local3 = Math.floor((_arg1 / 10)); _local4 = (_arg1 % 10); _local5 = kyoku.member[_arg2]; if (_local3 == 3){ return (0); }; if (_local4 == 3){ if (_local5.mie[((_local3 * 10) + 5)] >= 4){ return (1); }; }; if (_local4 <= 3){ if (_local5.mie[(((_local3 * 10) + _local4) + 1)] >= 4){ return (1); }; }; if (_local4 <= 2){ if (_local5.mie[(((_local3 * 10) + _local4) + 2)] >= 4){ return (1); }; }; if (_local4 == 7){ if (_local5.mie[((_local3 * 10) + 5)] >= 4){ return (1); }; }; if (_local4 >= 7){ if (_local5.mie[(((_local3 * 10) + _local4) - 1)] >= 4){ return (1); }; }; if (_local4 >= 8){ if (_local5.mie[(((_local3 * 10) + _local4) - 2)] >= 4){ return (1); }; }; return (0); } public function get_pais_sute_c(_arg1){ var _local2:*; var _local3:*; _local2 = 0; while (_local2 < 30) { _local3 = (PN_SUTE(_arg1) + _local2); if (pais[_local3].pai == 0){ return (_local2); }; _local2++; }; return (0); } public function react_switch(){ counter = 0; if (kyoku.reaction.code == "ACT_RONHO"){ timer_func = hora_proc; } else { if (kyoku.reaction.code == "ACT_CHI"){ timer_func = chi_proc; } else { if (kyoku.reaction.code == "ACT_PON"){ timer_func = pon_proc; } else { if (kyoku.reaction.code == "ACT_MINKAN"){ timer_func = minkan_proc; } else { if (kyoku.reaction.code == "ACT_AFTERKAN"){ timer_func = after_kan; } else { timer_func = after_sute; }; }; }; }; }; } public function sufu_check(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; _local1 = 0; while (_local1 < 4) { if (kyoku.member[_local1].mota_c != 1){ return (0); }; _local1++; }; _local4 = 0; _local1 = 0; while (_local1 < 40) { if (kyoku.member[0].sute[_local1]){ _local4 = _local1; }; _local1++; }; if ((((_local4 < 31)) || ((_local4 > 34)))){ return (0); }; _local1 = 0; while (_local1 < 4) { if (kyoku.member[_local1].sute[_local4] == 0){ return (0); }; _local1++; }; return (1); } public function PN_SUTE(_arg1:int){ return (((_arg1 * 64) + 30)); } public function end_pai_shiver(_arg1:Function){ var _local2:*; counter = 0; timer_func = _arg1; _local2 = kyoku.pn; pais[_local2].pai = kyoku.pai; set_ppos(); draw_taku(); } public function ryukyoku_tenbo(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; _local2 = 0; _local1 = 0; while (_local1 < 4) { if (kyoku.member[_local1].tenpai.ts.tenpai_f){ _local2++; }; _local1++; }; _local3 = 0; _local4 = 0; switch (_local2){ case 0: _local3 = 0; _local4 = 0; break; case 1: _local3 = 1000; _local4 = 3000; break; case 2: _local3 = 1500; _local4 = 1500; break; case 3: _local3 = 3000; _local4 = 1000; break; default: _local3 = 0; _local4 = 0; break; }; _local5 = new Array(); _local1 = 0; while (_local1 < 4) { if (kyoku.member[_local1].tenpai.ts.tenpai_f){ _local5[_local1] = _local4; } else { _local5[_local1] = -(_local3); }; _local1++; }; _local1 = 0; while (_local1 < 4) { hanchan.pt[_local1].tenbo = (hanchan.pt[_local1].tenbo + _local5[_local1]); _local1++; }; mcItem.draw_tenbo(); if (_local3 > 0){ mcSound.gotoAndPlay("tenbo"); }; _local6 = hanchan.kyoku_sum; hanchan.his[_local6] = new Object(); hanchan.his[_local6].end_code = "KEND_RYUKYOKU"; hanchan.his[_local6].kyoku = hanchan.kyoku_c; hanchan.his[_local6].ten_add = new Array(4); _local1 = 0; while (_local1 < 4) { hanchan.his[_local6].ten_add[_local1] = _local5[_local1]; _local1++; }; timer_func = end_ryukyoku; } public function get_dd(_arg1, _arg2, _arg3){ var _local4:*; var _local5:*; var _local6:*; var _local7:*; _local4 = kyoku.member[_arg2]; _local5 = kyoku.member[_arg3]; _local6 = Math.floor((_arg1 / 10)); _local7 = (_arg1 % 10); if (_local6 == 3){ if (_local4.mie[_arg1] >= 3){ return (DV_JIDEAD); }; if (_local5.jimachi){ return (DV_JI); }; return (DV_JILIVE); }; if (_local5.sute[_arg1]){ return (DV_ANPAI); }; if (_local5.minoga[_arg1]){ return (DV_ANPAI); }; if (_local5.anpai[_arg1]){ return (DV_ANPAI); }; if (_local5.some){ if (_local6 == _local5.some_suit){ return (30); }; return (DV_ELSESUIT); }; if (sujipai(_arg1, _arg3)){ return (DV_SUJI); }; if (kabepai(_arg1, _arg2)){ return (DV_KABE); }; if (_local5.hen){ return (DV_HEN); }; if (sotosuji(_arg1, _arg3)){ return (DV_4JUN); }; if (one_chance(_arg1, _arg2)){ return (DV_CHANCE); }; return (30); } public function set_add_honba(_arg1){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; _local3 = [0, 0, 0, 0]; _local4 = hanchan.honba; if (_arg1 != kyoku.who_act){ _local5 = (_local4 * 300); _local3[_arg1] = _local5; _local3[kyoku.who_act] = -(_local5); } else { _local2 = 0; while (_local2 < 4) { if (_local2 != _arg1){ _local3[_local2] = (-(_local4) * 100); }; _local2++; }; _local6 = 0; _local2 = 0; while (_local2 < 4) { _local6 = (_local6 + _local3[_local2]); _local2++; }; _local3[_arg1] = -(_local6); }; _local2 = 0; while (_local2 < 4) { kyoku.ten_add[_local2] = _local3[_local2]; _local2++; }; } public function init_taikyoku(){ var _local1:int; var _local2:int; var _local3:int; var _local4:*; var _local5:*; taikyoku.init(); taikyoku.tepai_open = 0; _local3 = 0; _local1 = 0; while (_local1 < 34) { _local2 = 0; while (_local2 < 4) { _local4 = Math.floor((_local1 / 9)); _local5 = (1 + (_local1 % 9)); yama[_local3] = ((_local4 * 10) + _local5); _local3++; _local2++; }; _local1++; }; } public function chi_proc(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; _local3 = 0; _local4 = kyoku.who_react; switch (counter){ case 0: _local2 = 1; _local1 = 0; while (_local1 < 14) { if (kyoku.reaction.push[_local1]){ kyoku.kpai[_local2] = delete_pais((PN_TE(_local4) + _local1)); _local2++; if (_local2 > 2){ break; }; }; _local1++; }; kyoku.kpai[_local3] = delete_pais(kyoku.pn); set_ppos(); draw_taku(); counter++; break; case 1: mcSound.gotoAndPlay("naki"); _local1 = 0; while (_local1 < 14) { pais[(PN_TE(_local4) + _local1)].stat = PS_TACHI; _local1++; }; tepai_press(_local4); appear_sarasi_pai(_local4, 3, _local3); set_ppos(); draw_taku(); mcPaiLayer.set_prio(); counter++; break; default: after_reaction(); break; }; } public function get_pv_sangen(_arg1){ var _local2:*; var _local3:*; var _local4:*; _local2 = pvmat.tepai[_arg1]; _local3 = Math.floor((_local2 / 10)); _local4 = Math.floor((_local2 % 10)); if ((((_local3 < 3)) || ((_local4 < 5)))){ return (0); }; if (pvmat.mie[_local2] == 4){ return (0); }; return (100); } public function tumopai_remove(_arg1){ var _local2:*; var _local3:*; var _local4:*; _local2 = (PN_TE(_arg1) + get_pais_tepai_c(_arg1)); switch (_arg1){ case 0: _local3 = (40 + 8); _local4 = 0; break; case 1: _local3 = 0; _local4 = -((30 + 8)); break; case 2: _local3 = -((40 + 8)); _local4 = 0; break; case 3: _local3 = 0; _local4 = (30 + 8); break; default: return; }; if (((!((opos[_local2].px == (opos[(_local2 - 1)].px + _local3)))) || (!((opos[_local2].py == (opos[(_local2 - 1)].py + _local4)))))){ opos[_local2].px = (opos[(_local2 - 1)].px + _local3); opos[_local2].py = (opos[(_local2 - 1)].py + _local4); }; } public function set_member_pv(_arg1){ var _local2:*; var _local3:*; _local3 = kyoku.member[_arg1]; pvmat.init(); pvmat.nerai = _local3.nerai; pvmat.junme = _local3.mota_c; pvmat.bakaze = kyoku.bakaze; pvmat.jikaze = kyoku.jikaze[_arg1]; _local2 = 0; while (_local2 < 14) { pvmat.tepai[_local2] = _local3.tepai[_local2]; _local2++; }; _local2 = 0; while (_local2 < 10) { pvmat.dora[_local2] = kyoku.dora[_local2]; _local2++; }; _local2 = 0; while (_local2 < 40) { pvmat.mie[_local2] = _local3.mie[_local2]; _local2++; }; _local2 = 0; while (_local2 < 40) { pvmat.sute[_local2] = _local3.sute[_local2]; _local2++; }; _local2 = 0; while (_local2 < 4) { pvmat.s_ments[_local2].pai = kyoku.member[_arg1].s_ments[_local2].pai; pvmat.s_ments[_local2].at = kyoku.member[_arg1].s_ments[_local2].at; _local2++; }; set_pai_value(); _local2 = 0; while (_local2 < 14) { kyoku.member[_arg1].pv[_local2] = pvwork.pv[_local2]; _local2++; }; } public function pvwork_init(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:*; var _local9:*; pvwork.init(); _local1 = 0; while (_local1 < 14) { _local6 = pvmat.tepai[_local1]; var _local10 = pvwork.tt; var _local11 = _local6; var _local12 = (_local10[_local11] + 1); _local10[_local11] = _local12; _local10 = pvwork.nt; _local11 = _local6; _local12 = (_local10[_local11] + 1); _local10[_local11] = _local12; _local1++; }; _local1 = 0; while (_local1 < 7) { if (pvmat.s_ments[_local1].pai > 0){ pvwork.ments_c++; }; _local1++; }; _local1 = 1; while (_local1 <= 37) { if (pvwork.tt[_local1] >= 2){ pvwork.chitoi_c++; }; _local1++; }; _local3 = 1; while (_local3 <= 7) { pvwork.yakupai[_local3] = yakupai((30 + _local3), pvmat.bakaze, pvmat.jikaze); _local3++; }; _local1 = 1; while (_local1 <= 37) { if (pvmat.mie[_local1] >= 4){ pvwork.dead[_local1] = 1; }; if (pvmat.mie[_local1] == 3){ if (pvwork.tt[_local1] <= 1){ pvwork.dead[_local1] = 1; }; }; if (pvmat.sute[_local1]){ pvwork.dead[_local1] = 1; }; _local1++; }; _local1 = 0; while (_local1 < 10) { _local6 = pvmat.dora[_local1]; if (_local6 > 0){ _local10 = pvwork.dmap; _local11 = _local6; _local12 = (_local10[_local11] + 1); _local10[_local11] = _local12; }; _local1++; }; _local5 = -1; _local2 = 0; while (_local2 < 3) { _local4 = 0; _local3 = 1; while (_local3 < 10) { _local4 = (_local4 + pvwork.tt[((_local2 * 10) + _local3)]); _local3++; }; if (_local4 > _local5){ pvwork.suit = _local2; _local5 = _local4; }; _local2++; }; _local5 = -1; _local3 = 1; while (_local3 <= 7) { _local4 = 0; _local2 = 0; while (_local2 <= 2) { _local8 = _local3; while (_local8 <= (_local3 + 2)) { if (pvwork.tt[((_local2 * 10) + _local8)]){ _local4++; }; _local8++; }; _local2++; }; if (_local4 > _local5){ _local5 = _local4; _local7 = _local3; }; _local3++; }; if (_local5 >= 7){ _local2 = 0; while (_local2 <= 2) { _local3 = _local7; while (_local3 <= (_local7 + 2)) { if (pvwork.tt[((_local2 * 10) + _local3)] == 1){ pvwork.yaku[((_local2 * 10) + _local3)] = 1; }; _local3++; }; _local2++; }; } else { _local9 = -1; _local2 = 0; while (_local2 <= 2) { _local4 = 0; _local3 = 1; while (_local3 <= 9) { if (pvwork.tt[((_local2 * 10) + _local3)]){ _local4++; }; _local3++; }; if (_local4 >= 7){ _local9 = _local2; }; _local2++; }; if (_local9 >= 0){ _local3 = 1; while (_local3 <= 9) { if (pvwork.tt[((_local9 * 10) + _local3)] == 1){ pvwork.yaku[((_local9 * 10) + _local3)] = 1; }; _local3++; }; }; }; _local2 = 0; while (_local2 <= 2) { pvwork.nobi[((_local2 * 10) + 1)] = (pvwork.nobi[((_local2 * 10) + 9)] = 2); pvwork.nobi[((_local2 * 10) + 2)] = (pvwork.nobi[((_local2 * 10) + 8)] = 1); _local2++; }; _local3 = 1; while (_local3 <= 7) { pvwork.nobi[(30 + _local3)] = 2; _local3++; }; _local2 = 0; while (_local2 <= 2) { _local3 = 1; while (_local3 < 10) { _local6 = ((_local2 * 10) + _local3); if (((pvmat.sute[_local6]) || ((pvmat.mie[_local6] >= 4)))){ if (_local3 > 1){ pvwork.nobi[(_local6 - 1)] = (pvwork.nobi[(_local6 - 1)] + 2); }; if (_local3 < 9){ pvwork.nobi[(_local6 + 1)] = (pvwork.nobi[(_local6 + 1)] + 2); }; if (_local3 > 2){ pvwork.nobi[(_local6 - 2)] = (pvwork.nobi[(_local6 - 2)] + 1); }; if (_local3 < 8){ pvwork.nobi[(_local6 + 2)] = (pvwork.nobi[(_local6 + 2)] + 1); }; }; _local3++; }; _local2++; }; } public function change_com_speed(_arg1){ com_speed = _arg1; } public function tumo_proc(){ var _local1:*; var _local2:*; var _local3:*; _local1 = kyoku.who_act; switch (counter++){ case 0: mcSound.gotoAndPlay("tumo"); _local3 = yama[kyoku.tumo_pos]; kyoku.tumo_pos = add_tumo_pos(kyoku.tumo_pos, 1); tumopai_remove(_local1); _local2 = (PN_TE(_local1) + get_pais_tepai_c(_local1)); pais[_local2].pai = _local3; pais[_local2].stat = (taikyoku.tepai_open) ? PS_OMO : PS_TACHI; pais[_local2].up = 1; kyoku.pn = _local2; break; default: _local2 = kyoku.pn; pais[_local2].up = 0; timer_func = start_think; break; }; set_ppos(); draw_taku(); mcPaiLayer.set_prio(); } public function set_member_danger(_arg1){ var _local2:Member; var _local3:*; _local2 = kyoku.member[_arg1]; _local3 = 0; if (((_local2.reach_f) || (_local2.reach_start))){ _local3 = 1; }; if (_local2.dorapon){ _local3 = 1; }; if (_local2.some){ _local3 = 1; }; if (_local2.daisan){ _local3 = 3; }; if (_local2.daisu){ _local3 = 3; }; kyoku.member[_arg1].danger = _local3; } public function set_aa_normal(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; _local2 = kyoku.who_act; _local1 = 0; while (_local1 < 14) { if (kyoku.member[_local2].tepai[_local1] > 0){ kyoku.member[_local2].aa.sute_ok[_local1] = 1; }; _local1++; }; if (kyoku.member[_local2].not_shojun == 0){ _local3 = 0; _local4 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; _local1 = 0; while (_local1 < 14) { _local5 = kyoku.member[_local2].tepai[_local1]; _local6 = 0; if ((((_local5 == 1)) || ((_local5 == 9)))){ _local6 = 1; }; if ((((_local5 >= 31)) && ((_local5 <= 37)))){ _local6 = 1; }; if ((((_local4[_local5] == 0)) && (_local6))){ _local3++; }; var _local7 = _local4; var _local8 = _local5; var _local9 = (_local7[_local8] + 1); _local7[_local8] = _local9; _local1++; }; if (_local3 >= 9){ kyoku.member[_local2].aa.nine_ok = 1; }; }; if (kyoku.tumoaction.code == "ACT_AFTERNAKI"){ return; }; if (kyoku.member[_local2].hi.hora.hora_f){ kyoku.member[_local2].aa.tumo_ok = 1; if (!kyoku.member[_local2].hi.hora.yakuari_f){ kyoku.member[_local2].aa.yakunasi = 1; }; }; if (((kyoku.member[_local2].sttn.suteten_f) && ((kyoku.member[_local2].furo_f == 0)))){ kyoku.member[_local2].aa.reach_ok = 1; if (kyoku.rest_c < 4){ kyoku.member[_local2].aa.tumo_nasi = 1; }; if (hanchan.pt[_local2].tenbo < 1000){ kyoku.member[_local2].aa.tenbo_nasi = 1; }; }; set_aa_kan(_local2); } public function set_pon_push(_arg1){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; _local2 = 0; while (_local2 < 14) { kyoku.member[_arg1].reaction.push[_local2] = 0; _local2++; }; _local3 = pais[kyoku.pn].pai; _local4 = 0; _local2 = 0; while (_local2 < 14) { _local5 = kyoku.member[_arg1].tepai[_local2]; if (_local5 == 0){ } else { if (_local5 == _local3){ kyoku.member[_arg1].reaction.push[_local2] = 1; ++_local4; if (_local4 >= 2){ break; }; }; }; _local2++; }; } public function set_member_ra(_arg1){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; kyoku.member[_arg1].ra.init(); if (_arg1 == kyoku.who_act){ return; }; _local3 = pais[kyoku.pn].pai; if (kyoku.member[_arg1].hi.hora.hora_f){ if (kyoku.action.code == "ACT_ANKAN"){ if (kyoku.member[_arg1].hi.hora.yaku_type != 3){ return; }; }; kyoku.member[_arg1].ra.ron_ok = 1; if (!kyoku.member[_arg1].hi.hora.yakuari_f){ kyoku.member[_arg1].ra.yakunasi = 1; }; if (kyoku.member[_arg1].tenpai.ts.furiten_f){ kyoku.member[_arg1].ra.furiten = 1; }; if (kyoku.member[_arg1].minogasi_f){ kyoku.member[_arg1].ra.minogasi = 1; }; if (kyoku.member[_arg1].minogasi_r_f){ kyoku.member[_arg1].ra.minogasi_r = 1; }; }; if (kyoku.member[_arg1].reach_f){ return; }; if (kyoku.haitei_f){ return; }; if (kyoku.action.code != "ACT_SUTE"){ return; }; _local4 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; _local2 = 0; while (_local2 < 14) { _local6 = kyoku.member[_arg1].tepai[_local2]; if (_local6 > 0){ var _local7 = _local4; var _local8 = _local6; var _local9 = (_local7[_local8] + 1); _local7[_local8] = _local9; }; _local2++; }; if (_local4[_local3] >= 2){ kyoku.member[_arg1].ra.pon_ok = 1; }; if ((((_local4[_local3] == 3)) && ((kyoku.kan_c < 5)))){ kyoku.member[_arg1].ra.kan_ok = 1; }; if (_arg1 != ((kyoku.who_act + 1) % 4)){ return; }; if (_local3 > 30){ return; }; _local5 = (_local3 % 10); if (_local5 <= 7){ if (((_local4[(_local3 + 1)]) && (_local4[(_local3 + 2)]))){ kyoku.member[_arg1].ra.chikei_c++; kyoku.member[_arg1].ra.chil_ok = 1; _local2 = 0; while (_local2 < 14) { if ((_local3 + 1) == kyoku.member[_arg1].tepai[_local2]){ kyoku.member[_arg1].ra.chil[_local2] = 1; }; if ((_local3 + 2) == kyoku.member[_arg1].tepai[_local2]){ kyoku.member[_arg1].ra.chil[_local2] = 1; }; _local2++; }; }; }; if ((((_local5 >= 2)) && ((_local5 <= 8)))){ if (((_local4[(_local3 - 1)]) && (_local4[(_local3 + 1)]))){ kyoku.member[_arg1].ra.chikei_c++; kyoku.member[_arg1].ra.chim_ok = 1; _local2 = 0; while (_local2 < 14) { if ((kyoku.member[_arg1].tepai[_local2] + 1) == _local3){ kyoku.member[_arg1].ra.chim[_local2] = 1; }; if ((_local3 + 1) == kyoku.member[_arg1].tepai[_local2]){ kyoku.member[_arg1].ra.chim[_local2] = 1; }; _local2++; }; }; }; if (_local5 >= 3){ if (((_local4[(_local3 - 1)]) && (_local4[(_local3 - 2)]))){ kyoku.member[_arg1].ra.chikei_c++; kyoku.member[_arg1].ra.chih_ok = 1; _local2 = 0; while (_local2 < 14) { if ((kyoku.member[_arg1].tepai[_local2] + 1) == _local3){ kyoku.member[_arg1].ra.chih[_local2] = 1; }; if ((kyoku.member[_arg1].tepai[_local2] + 2) == _local3){ kyoku.member[_arg1].ra.chih[_local2] = 1; }; _local2++; }; }; }; } public function judge_reaction(){ var _local1:*; var _local2:*; var _local3:*; _local3 = 0; kyoku.reaction.code = "ACT_AFTERSUTE"; _local1 = 1; while (_local1 < 4) { _local2 = ((kyoku.who_act + _local1) % 4); if (kyoku.member[_local2].reaction.code == "ACT_RONHO"){ kyoku.who_react = _local2; kyoku.copy_reaction(_local2); return; }; _local1++; }; if ((((kyoku.action.code == "ACT_ANKAN")) || ((kyoku.action.code == "ACT_KAKAN")))){ kyoku.reaction.code = "ACT_AFTERKAN"; return; }; _local1 = 1; while (_local1 < 4) { _local2 = ((kyoku.who_act + _local1) % 4); if ((((kyoku.member[_local2].reaction.code == "ACT_PON")) || ((kyoku.member[_local2].reaction.code == "ACT_MINKAN")))){ kyoku.who_react = _local2; kyoku.copy_reaction(_local2); return; }; _local1++; }; _local2 = ((kyoku.who_act + 1) % 4); if (kyoku.member[_local2].reaction.code == "ACT_CHI"){ kyoku.who_react = _local2; kyoku.copy_reaction(_local2); }; } public function start_hora_info(){ end_pai_shiver(null); if (kyoku.action.code == "ACT_TUMOHO"){ set_member_tumoho(kyoku.who_act); kyoku.hora = kyoku.member[kyoku.who_act].hi.hora; } else { set_member_ronho(kyoku.who_react); kyoku.hora = kyoku.member[kyoku.who_react].hi.hora; }; next_func = hora_tenbo; mcHora.disp(); } public function do_tumoho(){ var _local1:*; var _local2:Member; _local1 = kyoku.who_act; _local2 = kyoku.member[_local1]; if (_local2.aa.tumo_ok == 0){ return (0); }; if (_local2.aa.yakunasi){ return (0); }; if (jun_nochange(_local1)){ return (0); }; if (dobon_nottop(_local1)){ return (0); }; return (1); } public function hanchan_end_jun(){ mcPaiLayer.init(); mcShadowLayer.init(); mcItem.init(); timer_func = null; next_func = hanchan_end_his; mcJun.disp(); } public function pvwork_else(){ var _local1:*; var _local2:*; var _local3:*; _local1 = 0; while (_local1 <= 3) { _local2 = 1; while (_local2 <= 9) { _local3 = ((_local1 * 10) + _local2); if (pvwork.nt[_local3]){ pvwork.at[_local3] = PA_FLOAT; }; _local2++; }; _local1++; }; _local1 = 0; while (_local1 <= 2) { _local2 = 1; while (_local2 <= 7) { if (((pvwork.nt[_local3]) && (pvwork.nt[(_local3 + 2)]))){ if (((pvmat.sute[(_local3 + 1)]) || ((pvmat.mie[(_local3 + 1)] >= 4)))){ } else { if (((pvwork.rmap[_local3]) || (pvwork.rmap[(_local3 + 2)]))){ } else { pvwork.at[_local3] = (pvwork.at[(_local3 + 2)] = PA_KANCH); var _local4 = pvwork.kmap; var _local5 = _local3; var _local6 = (_local4[_local5] + 1); _local4[_local5] = _local6; _local4 = pvwork.kmap; _local5 = (_local3 + 2); _local6 = (_local4[_local5] + 1); _local4[_local5] = _local6; if ((((((pvwork.nt[_local3] == 2)) && ((pvwork.nt[(_local3 + 2)] == 1)))) || ((((pvwork.nt[_local3] == 1)) && ((pvwork.nt[(_local3 + 2)] == 2)))))){ pvwork.ktoi_c++; }; if ((_local2 + 4) <= 9){ if (pvwork.nt[(_local3 + 4)]){ _local4 = pvwork.kmap; _local5 = _local3; _local6 = (_local4[_local5] + 1); _local4[_local5] = _local6; _local4 = pvwork.kmap; _local5 = (_local3 + 2); _local6 = (_local4[_local5] + 1); _local4[_local5] = _local6; _local4 = pvwork.kmap; _local5 = (_local3 + 4); _local6 = (_local4[_local5] + 1); _local4[_local5] = _local6; }; }; if (((((pvwork.dmap[_local3]) || (pvwork.dmap[(_local3 + 1)]))) || (pvwork.dmap[(_local3 + 2)]))){ _local4 = pvwork.kpp; _local5 = _local3; _local6 = (_local4[_local5] + 1); _local4[_local5] = _local6; _local4 = pvwork.kpp; _local5 = (_local3 + 2); _local6 = (_local4[_local5] + 1); _local4[_local5] = _local6; }; if (pvwork.yaku[_local3]){ _local4 = pvwork.kpp; _local5 = _local3; _local6 = (_local4[_local5] + 1); _local4[_local5] = _local6; }; if (pvwork.yaku[(_local3 + 2)]){ _local4 = pvwork.kpp; _local5 = (_local3 + 2); _local6 = (_local4[_local5] + 1); _local4[_local5] = _local6; }; }; }; }; _local2++; }; _local1++; }; _local1 = 0; while (_local1 <= 2) { _local2 = 1; _local3 = ((_local1 * 10) + _local2); if (pvmat.sute[(_local3 + 2)]){ } else { if (pvmat.mie[(_local3 + 2)] >= 4){ } else { if (pvwork.kmap[(_local3 + 1)]){ } else { if (((pvwork.nt[_local3]) && (pvwork.nt[(_local3 + 1)]))){ pvwork.at[_local3] = (pvwork.at[(_local3 + 1)] = PA_PENCH); }; }; }; }; _local1++; }; _local1 = 0; while (_local1 <= 2) { _local2 = 9; _local3 = ((_local1 * 10) + _local2); if (pvmat.sute[(_local3 - 2)]){ } else { if (pvmat.mie[(_local3 - 2)] >= 4){ } else { if (pvwork.kmap[(_local3 - 1)]){ } else { if (((pvwork.nt[_local3]) && (pvwork.nt[(_local3 - 1)]))){ pvwork.at[_local3] = (pvwork.at[(_local3 - 1)] = PA_PENCH); }; }; }; }; _local1++; }; _local1 = 0; while (_local1 <= 3) { _local2 = 1; while (_local2 <= 9) { _local3 = ((_local1 * 10) + _local2); if (pvwork.nt[_local3] >= 2){ pvwork.at[_local3] = PA_TOI; }; _local2++; }; _local1++; }; } public function sute_reset(){ var _local1:*; var _local2:*; selected_pai = -1; _local1 = 0; while (_local1 < 14) { _local2 = (PN_TE(0) + _local1); pais[_local2].stat = (taikyoku.tepai_open) ? PS_OMO : PS_TACHI; _local1++; }; set_ppos(); draw_taku(); } public function tepai_sort(_arg1:int){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:*; _local2 = 0; while (_local2 < 13) { if (pais[(PN_TE(_arg1) + _local2)].pai == 0){ } else { _local3 = (_local2 + 1); while (_local3 < 14) { if (pais[(PN_TE(_arg1) + _local3)].pai == 0){ } else { _local4 = (PN_TE(_arg1) + _local2); _local5 = (PN_TE(_arg1) + _local3); _local6 = pais[_local4].pai; _local7 = pais[_local5].pai; if (_local6 < _local7){ } else { _local8 = pais[_local4].pai; pais[_local4].pai = pais[_local5].pai; pais[_local5].pai = _local8; }; }; _local3++; }; }; _local2++; }; } public function reabo_get(){ var _local1:*; _local1 = 0; while (_local1 < 4) { if (kyoku.member[_local1].reach_f){ set_reabo(_local1, 0); hanchan.pt[kyoku.who_hora].tenbo = (hanchan.pt[kyoku.who_hora].tenbo + 1000); }; _local1++; }; mcItem.draw_tenbo(); timer_func = horyu_get; } public function set_aa_reach_start(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; _local3 = kyoku.who_act; _local1 = 0; while (_local1 < 14) { if (kyoku.member[_local3].tepai[_local1] == 0){ } else { if (kyoku.member[_local3].sttn.ti[_local1].tenpai_f == 0){ } else { _local4 = kyoku.member[_local3].tepai[_local1]; _local2 = 0; while (_local2 < 14) { if (kyoku.member[_local3].tepai[_local2] == _local4){ kyoku.member[_local3].aa.sute_ok[_local2] = 1; }; _local2++; }; }; }; _local1++; }; } public function get_dorapai(_arg1){ var _local2:*; var _local3:*; _local2 = Math.floor((_arg1 / 10)); _local3 = (Math.floor((_arg1 % 10)) + 1); if (_local2 == 3){ if (_local3 == 5){ _local3 = 1; }; if (_local3 == 8){ _local3 = 5; }; } else { if (_local3 > 9){ _local3 = 1; }; }; return (((_local2 * 10) + _local3)); } public function set_care_mode(){ var _local1:*; var _local2:Member; var _local3:*; var _local4:*; _local1 = kyoku.who_act; _local2 = kyoku.member[_local1]; _local4 = 0; _local3 = 0; while (_local3 < 4) { if (_local3 != _local1){ _local4 = (_local4 + get_care_value(_local3)); }; _local3++; }; switch (_local4){ case 0: kyoku.member[_local1].care_mode = CM_NOCARE; break; case 1: kyoku.member[_local1].care_mode = CM_BITCARE; break; case 2: kyoku.member[_local1].care_mode = CM_CARE; break; default: kyoku.member[_local1].care_mode = CM_BETA; break; }; if ((((_local2.care_mode == CM_CARE)) && (_local2.sttn.suteten_f))){ kyoku.member[_local1].care_mode = CM_BITCARE; }; if ((((kyoku.rest_c < 4)) && ((_local2.tenpai.ts.tenpai_f == 0)))){ if (_local4 > 0){ kyoku.member[_local1].care_mode = CM_BETA; }; }; } public function end_ryukyoku(){ var _local1:*; var _local2:*; if (kyoku.member[hanchan.oya].tenpai.ts.tenpai_f == 0){ if (hanchan.kyoku_c < hanchan.kyoku_max){ hanchan.oya = (++hanchan.oya % 4); }; hanchan.kyoku_c++; }; if (hanchan.kyoku_c <= hanchan.kyoku_max){ hanchan.honba++; _local1 = 0; while (_local1 < 4) { _local2 = ((hanchan.oya + _local1) % 4); if (kyoku.member[_local2].reach_f){ hanchan.horyu++; }; _local1++; }; }; timer_func = null; next_func = kyoku_end; mcClick.start_click_wait(); } public function start_haipai(){ kyoku.who_act = hanchan.oya; counter = 0; timer_func = haipai; } public function set_tepai_info_start(_arg1){ get_pais_tepai(_arg1); get_pais_sments(_arg1); get_pais_mie(_arg1); get_nerai_info(_arg1); set_member_tenpai(_arg1); } public function get_sn_care(){ var _local1:*; _local1 = get_sn(999, 9); if (_local1 >= 0){ return (_local1); }; return (get_sn_nocare()); } public function set_tepai_info_13(){ var _local1:*; _local1 = kyoku.who_act; get_pais_tepai(_local1); get_pais_sments(_local1); set_member_tenpai(_local1); set_member_dorapon(_local1); set_member_some(_local1); set_member_sangen(_local1); set_member_danger(_local1); } public function react_man_pass(){ start_reaction(); } public function set_tepai_info_14(){ var _local1:*; _local1 = kyoku.who_act; get_pais_tepai(_local1); get_pais_sments(_local1); get_pais_mie(_local1); get_nerai_info(_local1); set_member_tumoho(_local1); set_member_suteten(_local1); set_member_aa(); set_member_dd(); } public function set_chih_push(_arg1){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; _local2 = 0; while (_local2 < 14) { kyoku.member[_arg1].reaction.push[_local2] = 0; _local2++; }; _local3 = pais[kyoku.pn].pai; _local4 = 0; _local5 = 0; _local6 = 1; _local2 = 0; while (_local2 < 14) { _local7 = kyoku.member[_arg1].tepai[_local2]; if (_local7 == 0){ } else { if ((_local7 + 2) == _local3){ _local5 = _local2; }; }; _local2++; }; _local2 = 13; while (_local2 >= 0) { _local7 = kyoku.member[_arg1].tepai[_local2]; if (_local7 == 0){ } else { if ((_local7 + 1) == _local3){ _local6 = _local2; }; }; _local2--; }; kyoku.member[_arg1].reaction.push[_local5] = 1; kyoku.member[_arg1].reaction.push[_local6] = 1; } public function hora_end(){ var _local1:*; _local1 = kyoku.who_hora; set_pt(); if (_local1 == hanchan.oya){ hanchan.honba++; if (hanchan.kyoku_c == hanchan.kyoku_max){ if (hanchan.pt[_local1].jun == 0){ hanchan.kyoku_c++; }; }; } else { if (hanchan.kyoku_c < hanchan.kyoku_max){ hanchan.oya = (++hanchan.oya % 4); }; hanchan.kyoku_c++; hanchan.honba = 0; }; timer_func = null; next_func = kyoku_end; mcClick.start_click_wait(); } public function tepai_press(_arg1:int){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; _local2 = 0; while (_local2 < 13) { _local5 = (PN_TE(_arg1) + _local2); if (pais[_local5].pai > 0){ } else { _local4 = 0; _local3 = (_local2 + 1); while (_local3 < 14) { _local6 = (PN_TE(_arg1) + _local3); if (_local4){ } else { if (pais[_local6].pai == 0){ } else { _local7 = pais[_local5].pai; pais[_local5].pai = pais[_local6].pai; pais[_local6].pai = _local7; _local4 = 1; }; }; _local3++; }; }; _local2++; }; } public function init_taku(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:*; _local1 = 0; while (_local1 < PN_MAX) { pais[_local1] = new Object(); pais[_local1].pai = 0; pais[_local1].stat = 0; pais[_local1].dr = 0; pais[_local1].up = 0; _local1++; }; _local1 = 0; while (_local1 < PN_MAX) { opos[_local1] = new Object(); opos[_local1].px = 0; opos[_local1].py = 0; _local1++; }; _local1 = 0; while (_local1 < PN_MAX) { ppos[_local1] = new Object(); ppos[_local1].bx = 0; ppos[_local1].by = 0; ppos[_local1].pat = 0; _local1++; }; _local1 = 0; while (_local1 < 14) { _local3 = (PN_TE(0) + _local1); opos[_local3].px = (110 + (_local1 * 40)); opos[_local3].py = 500; _local3 = (PN_TE(1) + _local1); opos[_local3].px = 723; opos[_local3].py = (470 - (_local1 * 30)); _local3 = (PN_TE(2) + _local1); opos[_local3].px = (650 - (_local1 * 40)); opos[_local3].py = 20; _local3 = (PN_TE(3) + _local1); opos[_local3].px = 17; opos[_local3].py = (60 + (_local1 * 30)); _local1++; }; _local4 = 0; _local5 = 0; _local1 = 0; while (_local1 < 30) { _local3 = (PN_SUTE(0) + _local1); opos[_local3].px = (276 + (_local4 * 40)); opos[_local3].py = (360 + (_local5 * 43)); _local3 = (PN_SUTE(1) + _local1); opos[_local3].px = (540 + (_local5 * 60)); opos[_local3].py = (340 - (_local4 * 30)); _local3 = (PN_SUTE(2) + _local1); opos[_local3].px = (484 - (_local4 * 40)); opos[_local3].py = (158 - (_local5 * 43)); _local3 = (PN_SUTE(3) + _local1); opos[_local3].px = (200 - (_local5 * 60)); opos[_local3].py = (190 + (_local4 * 30)); ++_local4; if (_local4 >= 6){ if (_local5 < 2){ _local5++; _local4 = 0; }; }; _local1++; }; _local1 = 0; while (_local1 < 10) { _local3 = (PN_DORA + _local1); opos[_local3].px = (300 + (Math.floor((_local1 / 2)) * 40)); opos[_local3].py = 264; _local1++; }; _local1 = 0; while (_local1 < 4) { _local2 = 0; while (_local2 < 14) { pais[(PN_TE(_local1) + _local2)].dr = _local1; _local2++; }; _local2 = 0; while (_local2 < 30) { pais[(PN_SUTE(_local1) + _local2)].dr = _local1; _local2++; }; _local2 = 0; while (_local2 < 16) { pais[(PN_NAKI(_local1) + _local2)].dr = _local1; _local2++; }; _local1++; }; _local1 = 0; while (_local1 < 4) { set_reabo(_local1, 0); _local1++; }; } public function sute_click(_arg1){ var _local2:*; selected_pai = _arg1; _local2 = (PN_TE(0) + _arg1); pais[_local2].stat = PS_OMO; set_ppos(); draw_taku(); } public function get_pais_tepai(_arg1){ var _local2:*; var _local3:*; _local2 = 0; while (_local2 < 14) { _local3 = (PN_TE(_arg1) + _local2); kyoku.member[_arg1].tepai[_local2] = pais[_local3].pai; _local2++; }; } public function pvwork_ments(_arg1){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; if (_arg1){ _local4 = 0; while (_local4 <= 2) { _local5 = 1; while (_local5 <= 7) { _local2 = ((_local4 * 10) + _local5); if (((((pvwork.nt[_local2]) && (pvwork.nt[(_local2 + 1)]))) && (pvwork.nt[(_local2 + 2)]))){ pvwork_shun(_local2); }; if (((((pvwork.nt[_local2]) && (pvwork.nt[(_local2 + 1)]))) && (pvwork.nt[(_local2 + 2)]))){ pvwork_shun(_local2); }; _local5++; }; _local4++; }; } else { _local4 = 0; while (_local4 <= 2) { _local5 = 7; while (_local5 >= 1) { _local2 = ((_local4 * 10) + _local5); if (((((pvwork.nt[_local2]) && (pvwork.nt[(_local2 + 1)]))) && (pvwork.nt[(_local2 + 2)]))){ pvwork_shun(_local2); }; if (((((pvwork.nt[_local2]) && (pvwork.nt[(_local2 + 1)]))) && (pvwork.nt[(_local2 + 2)]))){ pvwork_shun(_local2); }; _local5--; }; _local4++; }; }; _local4 = 0; while (_local4 <= 3) { _local5 = 1; while (_local5 <= 9) { _local2 = ((_local4 * 10) + _local5); if (pvwork.nt[_local2] >= 3){ pvwork.at[_local2] = PA_ANKO; pvwork.nt[_local2] = (pvwork.nt[_local2] - 3); pvwork.ments_c++; if (_local4 < 3){ if (_local5 > 1){ pvwork.jant[(_local2 - 1)] = 1; }; if (_local5 < 9){ pvwork.jant[(_local2 + 1)] = 1; }; }; }; _local5++; }; _local4++; }; _local4 = 0; while (_local4 <= 2) { _local5 = 2; while (_local5 <= 7) { _local2 = ((_local4 * 10) + _local5); if (((pvwork.nt[_local2]) && (pvwork.nt[(_local2 + 1)]))){ if (((pvmat.sute[(_local2 - 1)]) || (pvmat.sute[(_local2 + 2)]))){ } else { if ((pvmat.mie[(_local2 - 1)] + pvmat.mie[(_local2 + 2)]) >= 8){ } else { pvwork.at[_local2] = (pvwork.at[(_local2 + 1)] = PA_RMEN); var _local6 = pvwork.nt; var _local7 = _local2; var _local8 = (_local6[_local7] - 1); _local6[_local7] = _local8; _local6 = pvwork.nt; _local7 = (_local2 + 1); _local8 = (_local6[_local7] - 1); _local6[_local7] = _local8; pvwork.ments_c++; pvwork.rmap[_local2] = (pvwork.rmap[(_local2 + 1)] = 1); if ((_local5 - 2) >= 1){ pvwork.puyao[(_local2 - 2)] = 1; }; if ((_local5 + 3) <= 9){ pvwork.puyao[(_local2 + 3)] = 1; }; if (((pvwork.dmap[_local2]) || (pvwork.dmap[(_local2 + 1)]))){ _local6 = pvwork.rpp; _local7 = _local2; _local8 = (_local6[_local7] + 1); _local6[_local7] = _local8; _local6 = pvwork.rpp; _local7 = (_local2 + 1); _local8 = (_local6[_local7] + 1); _local6[_local7] = _local8; }; if (pvwork.yaku[_local2]){ _local6 = pvwork.rpp; _local7 = _local2; _local8 = (_local6[_local7] + 1); _local6[_local7] = _local8; }; if (pvwork.yaku[(_local2 + 1)]){ _local6 = pvwork.rpp; _local7 = (_local2 + 1); _local8 = (_local6[_local7] + 1); _local6[_local7] = _local8; }; if (pvwork.smap[_local2] == 1){ _local6 = pvwork.rpp; _local7 = _local2; _local8 = (_local6[_local7] + 1); _local6[_local7] = _local8; _local6 = pvwork.rpp; _local7 = (_local2 + 1); _local8 = (_local6[_local7] + 1); _local6[_local7] = _local8; }; }; }; }; _local5++; }; _local4++; }; _local4 = 0; while (_local4 < 4) { _local5 = 1; while (_local5 < 10) { _local2 = ((_local4 * 10) + _local5); if (_local4 == 3){ //unresolved if } else { if (pvwork.nt[_local2] >= 2){ pvwork.janto_c++; }; }; _local5++; }; _local4++; }; pvwork.m4j1 = ((((pvwork.ments_c == 4)) && ((pvwork.janto_c >= 1)))) ? 1 : 0; } public function draw_taku(){ var _local1:*; var _local2:*; _local1 = 0; while (_local1 < PN_MAX) { mcPaiLayer.draw_pai(_local1, ppos[_local1].pat, ppos[_local1].bx, ppos[_local1].by, pais[_local1].up); mcShadowLayer.draw_pai(_local1, ppos[_local1].pat, ppos[_local1].bx, ppos[_local1].by, pais[_local1].up); _local1++; }; } public function react_man_ron(){ var _local1:Reactable; _local1 = kyoku.member[0].ra; if (_local1.yakunasi){ next_func = start_react_man; mcDialog.start_dialog("No multiplier."); return; }; if (_local1.furiten){ next_func = start_react_man; mcDialog.start_dialog("Furi-Ten"); return; }; if (_local1.minogasi_r){ next_func = start_react_man; mcDialog.start_dialog("Furi-Ten"); return; }; if (_local1.minogasi){ next_func = start_react_man; mcDialog.start_dialog("Furi-Ten"); return; }; kyoku.member[0].reaction.code = "ACT_RONHO"; start_reaction(); } public function ryukyoku_proc(){ timer_func = null; start_mes("Draw", start_ryukyoku_open); } public function react_man_kan(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; kyoku.member[0].reaction.code = "ACT_MINKAN"; _local1 = 0; while (_local1 < 14) { kyoku.member[0].reaction.push[_local1] = 0; _local1++; }; _local2 = pais[kyoku.pn].pai; _local3 = 0; _local1 = 0; while (_local1 < 14) { _local4 = kyoku.member[0].tepai[_local1]; if (_local4 == 0){ } else { if (_local4 == _local2){ kyoku.member[0].reaction.push[_local1] = 1; _local3++; if (_local3 >= 3){ break; }; }; }; _local1++; }; start_reaction(); } public function react_com(_arg1){ var _local2:Member; var _local3:*; _local2 = kyoku.member[_arg1]; _local3 = pais[kyoku.pn].pai; kyoku.member[_arg1].reaction.init(); if (do_ronho(_arg1)){ kyoku.member[_arg1].reaction.code = "ACT_RONHO"; return; }; if (do_pon(_arg1)){ kyoku.member[_arg1].reaction.code = "ACT_PON"; set_pon_push(_arg1); return; }; if (do_chim(_arg1)){ kyoku.member[_arg1].reaction.code = "ACT_CHI"; set_chim_push(_arg1); return; }; if (do_chil(_arg1)){ kyoku.member[_arg1].reaction.code = "ACT_CHI"; set_chil_push(_arg1); return; }; if (do_chih(_arg1)){ kyoku.member[_arg1].reaction.code = "ACT_CHI"; set_chih_push(_arg1); return; }; } public function nine_proc(){ var _local1:*; mcSound.gotoAndPlay("sute"); _local1 = 0; while (_local1 < 14) { pais[(PN_TE(kyoku.who_act) + _local1)].stat = PS_OMO; _local1++; }; set_ppos(); draw_taku(); timer_func = null; start_mes("nine", nine_wait); } public function act_man_kan(){ var _local1:*; var _local2:Actable; var _local3:*; var _local4:*; var _local5:*; _local1 = kyoku.who_act; _local2 = kyoku.member[_local1].aa; _local4 = 0; if (_local2.kanzai_c == 1){ _local3 = 0; while (_local3 < 14) { if (_local2.kanzai[_local3]){ _local4 = _local3; }; _local3++; }; _local5 = _local2.kanzai[_local4]; _local3 = 0; while (_local3 < 14) { if (_local2.kanzai[_local3] == _local5){ kyoku.action.push[_local3] = 1; }; _local3++; }; kyoku.action.code = ((_local2.kantype[_local4])==1) ? "ACT_ANKAN" : "ACT_KAKAN"; end_act_man(); start_action(); return; }; start_kanpai_select(); } public function flag_reach(){ var _local1:*; _local1 = kyoku.who_act; if (kyoku.member[_local1].reach_start){ if (kyoku.reaction.code != "ACT_RONHO"){ kyoku.member[_local1].reach_f = 1; kyoku.member[_local1].ippatsu_f = 1; kyoku.member[_local1].reach_start = 0; } else { hanchan.pt[_local1].tenbo = (hanchan.pt[_local1].tenbo + 1000); set_reabo(_local1, 0); }; }; } public function act_man_reach(){ if (kyoku.member[0].aa.tumo_nasi){ end_act_man(); next_func = start_act_man; mcDialog.start_dialog("You cannot declare Riichi."); return; }; if (kyoku.member[0].aa.tenbo_nasi){ end_act_man(); next_func = start_act_man; mcDialog.start_dialog("You cannot declare Riichi."); return; }; end_act_man(); start_reabo_proc(start_act_man); } public function start_think(){ flag_tumo(); set_tepai_info_14(); if (kyoku.who_act == 0){ start_act_man(); } else { act_com(); }; } public function get_pv_susi(_arg1){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; _local2 = pvmat.tepai[_arg1]; _local3 = Math.floor((_local2 / 10)); _local4 = Math.floor((_local2 % 10)); _local5 = 0; if ((((_local3 < 3)) || ((_local4 > 4)))){ return (0); }; if (pvmat.mie[_local2] == 4){ return (0); }; return (100); } public function start_react_man(){ var _local1:*; var _local2:*; var _local3:Reactable; kyoku.member[0].reaction.code = "ACT_NULL"; _local3 = kyoku.member[0].ra; _local2 = 0; if (_local3.ron_ok){ _local2 = 1; }; if (_local3.pon_ok){ _local2 = 1; }; if (_local3.kan_ok){ _local2 = 1; }; if (((((_local3.chil_ok) || (_local3.chim_ok))) || (_local3.chih_ok))){ _local2 = 1; }; if (_local3.ron_ok == 0){ _local1 = 1; while (_local1 < 4) { if (kyoku.member[_local1].reaction.code == "ACT_RONHO"){ _local2 = 0; }; if (kyoku.member[_local1].reaction.code == "ACT_PON"){ _local2 = 0; }; if (kyoku.member[_local1].reaction.code == "ACT_MINKAN"){ _local2 = 0; }; _local1++; }; }; if (_local2 == 0){ start_reaction(); return; }; timer_func = null; mcReaction.visible = true; mcReaction.btnRon.visible = (_local3.ron_ok) ? true : false; mcReaction.btnPon.visible = (_local3.pon_ok) ? true : false; mcReaction.btnKan.visible = (_local3.kan_ok) ? true : false; mcReaction.btnChi.visible = (((((_local3.chil_ok) || (_local3.chim_ok))) || (_local3.chih_ok))) ? true : false; mcReaction.btnPass.visible = true; mcReaction.set_cursor(ppos[kyoku.pn].bx, ppos[kyoku.pn].by, pais[kyoku.pn].dr); if (_local3.ron_ok){ mcSound.gotoAndPlay("notice"); }; } public function set_pt(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; _local3 = 0; _local1 = 0; while (_local1 < 4) { hanchan.pt[_local1].jun = 0; _local2 = 0; while (_local2 < 4) { if (_local1 == _local2){ } else { if (hanchan.pt[_local1].tenbo > hanchan.pt[_local2].tenbo){ } else { if (hanchan.pt[_local1].tenbo == hanchan.pt[_local2].tenbo){ //unresolved if } else { hanchan.pt[_local1].jun++; }; }; }; _local2++; }; _local1++; }; _local1 = 0; while (_local1 < 4) { _local4 = hanchan.pt[_local1].tenbo; if (_local4 >= 0){ if ((_local4 % 1000) >= 600){ _local4 = (_local4 + 500); }; } else { if ((_local4 % 1000) <= -600){ _local4 = (_local4 - 500); }; }; hanchan.pt[_local1].point = (Math.floor((_local4 / 1000)) - 30); _local1++; }; _local1 = 0; while (_local1 < 4) { switch (hanchan.pt[_local1].jun){ case 0: _local3 = _local1; break; case 1: hanchan.pt[_local1].point = (hanchan.pt[_local1].point + 10); break; case 2: hanchan.pt[_local1].point = (hanchan.pt[_local1].point - 10); break; case 3: hanchan.pt[_local1].point = (hanchan.pt[_local1].point - 20); break; default: break; }; _local1++; }; hanchan.pt[_local3].point = 0; _local1 = 0; while (_local1 < 4) { if (_local1 != _local3){ hanchan.pt[_local3].point = (hanchan.pt[_local3].point - hanchan.pt[_local1].point); }; _local1++; }; return (_local3); } public function chipai_click(_arg1){ var _local2:Reactable; var _local3:*; if (_arg1 < 0){ return; }; _local2 = kyoku.member[0].ra; kyoku.member[0].reaction.push[_arg1] = 1; pais[(PN_TE(0) + _arg1)].stat = PS_OMO; set_ppos(); draw_taku(); _local3 = 0; if (_local2.chil[_arg1]){ _local3++; }; if (_local2.chim[_arg1]){ _local3++; }; if (_local2.chih[_arg1]){ _local3++; }; if (_local3 == 0){ tepai_click_func = null; timer_func = chipai_cancel; return; }; if (_local3 == 1){ if (_local2.chil[_arg1]){ set_chil_push(0); }; if (_local2.chim[_arg1]){ set_chim_push(0); }; if (_local2.chih[_arg1]){ set_chih_push(0); }; end_chipai_select(); start_reaction(); return; }; tepai_click_func = chipai_click2; } public function start_taikyoku(){ taikyoku.init(); start_hanchan(); } public function end_pai_change(){ var _local1:*; var _local2:*; var _local3:*; var _local4:MovieClip; _local1 = 0; while (_local1 < 4) { _local2 = 0; while (_local2 < 14) { _local3 = (PN_TE(_local1) + _local2); _local4 = mcDebug[((("tepai_" + _local1) + "_") + _local2)]; pais[_local3].pai = _local4.pat; _local2++; }; _local1++; }; set_ppos(); draw_taku(); set_tepai_info_14(); start_act_man(); } public function set_member_some(_arg1){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:Member; var _local7:*; var _local8:*; var _local9:*; var _local10:*; var _local11:*; var _local12:*; var _local13:*; _local6 = kyoku.member[_arg1]; if (_local6.mota_c == 6){ _local5 = 1; while (_local5 < 37) { _local3 = Math.floor((_local5 / 10)); kyoku.member[_arg1].sc6[_local3] = (kyoku.member[_arg1].sc6[_local3] + kyoku.member[_arg1].sute[_local5]); _local5++; }; }; if (kyoku.member[_arg1].mota_c < 10){ return; }; _local7 = 999; _local3 = 0; while (_local3 < 3) { _local12 = 0; _local4 = 1; while (_local4 < 10) { _local12 = (_local12 + kyoku.member[_arg1].sute[((_local3 * 10) + _local4)]); _local4++; }; if (_local12 < _local7){ kyoku.member[_arg1].some_suit = _local3; _local7 = _local12; }; _local3++; }; _local8 = 0; _local9 = 0; _local10 = 0; _local2 = 0; while (_local2 < 5) { _local5 = kyoku.member[_arg1].s_ments[_local2].pai; if (_local5 == 0){ } else { _local8 = 1; _local3 = Math.floor((_local5 / 10)); if ((((_local3 < 3)) && (!((_local3 == kyoku.member[_arg1].some_suit))))){ _local9 = 1; }; }; _local2++; }; if (((_local8) && ((_local9 == 0)))){ _local10 = 1; }; if (((((_local10) && ((kyoku.member[_arg1].not_some == 0)))) && ((kyoku.member[_arg1].sc6[_local6.some_suit] == 0)))){ kyoku.member[_arg1].some = 1; }; if (_local9){ kyoku.member[_arg1].some = 0; }; _local11 = 0; _local4 = 1; while (_local4 < 10) { if (_local6.sute[((_local6.some_suit * 10) + _local4)]){ _local11 = 1; }; _local4++; }; if (_local11){ _local2 = 0; while (_local2 < 14) { if (kyoku.action.push[_local2]){ _local13 = _local2; break; }; _local2++; }; if (_local13 != get_pais_tepai_c(_arg1)){ _local5 = pais[kyoku.pn].pai; _local3 = Math.floor((_local5 / 10)); if ((((_local3 < 3)) && (!((_local3 == _local6.some_suit))))){ kyoku.member[_arg1].not_some = 1; kyoku.member[_arg1].some = 0; }; }; }; } public function pais_dead_pai(_arg1){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; _local5 = 0; _local4 = 0; while (_local4 < 4) { _local3 = 0; while (_local3 < 16) { _local2 = (PN_NAKI(_local4) + _local3); if (pais[_local2].pai > 0){ if (_arg1 == pais[_local2].pai){ _local5++; }; }; _local3++; }; _local3 = 0; while (_local3 < 30) { _local2 = (PN_SUTE(_local4) + _local3); if (pais[_local2].pai > 0){ if (_arg1 == pais[_local2].pai){ _local5++; }; }; _local3++; }; _local4++; }; _local3 = 0; while (_local3 < 10) { _local2 = (PN_DORA + _local3); if ((((pais[_local2].pai > 0)) && ((pais[_local2].stat == PS_OMO)))){ if (_arg1 == pais[_local2].pai){ _local5++; }; }; _local3++; }; if (_local5 >= 3){ return (1); }; return (0); } public function react_man_pon(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; kyoku.member[0].reaction.code = "ACT_PON"; _local1 = 0; while (_local1 < 14) { kyoku.member[0].reaction.push[_local1] = 0; _local1++; }; _local2 = pais[kyoku.pn].pai; _local3 = 0; _local1 = 0; while (_local1 < 14) { _local4 = kyoku.member[0].tepai[_local1]; if (_local4 == 0){ } else { if (_local4 == _local2){ kyoku.member[0].reaction.push[_local1] = 1; _local3++; if (_local3 >= 2){ break; }; }; }; _local1++; }; start_reaction(); } public function one_chance(_arg1, _arg2){ var _local3:*; var _local4:*; var _local5:Member; _local3 = Math.floor((_arg1 / 10)); _local4 = (_arg1 % 10); _local5 = kyoku.member[_arg2]; if (_local3 == 3){ return (0); }; if (_local4 == 3){ if (_local5.mie[((_local3 * 10) + 5)] >= 3){ return (1); }; }; if (_local4 <= 3){ if (_local5.mie[(((_local3 * 10) + _local4) + 1)] >= 3){ return (1); }; }; if (_local4 <= 2){ if (_local5.mie[(((_local3 * 10) + _local4) + 2)] >= 3){ return (1); }; }; if (_local4 == 7){ if (_local5.mie[((_local3 * 10) + 5)] >= 3){ return (1); }; }; if (_local4 >= 7){ if (_local5.mie[(((_local3 * 10) + _local4) - 1)] >= 3){ return (1); }; }; if (_local4 >= 8){ if (_local5.mie[(((_local3 * 10) + _local4) - 2)] >= 3){ return (1); }; }; return (0); } public function set_reabo(_arg1, _arg2){ mcItem.set_reabo(_arg1, _arg2); } public function pon_proc(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:*; _local4 = kyoku.who_react; _local5 = (((7 + _local4) - kyoku.who_act) % 4); switch (counter){ case 0: _local2 = 0; _local1 = 0; while (_local1 < 14) { if (kyoku.reaction.push[_local1]){ if (_local2 == _local5){ _local2++; }; kyoku.kpai[_local2] = delete_pais((PN_TE(_local4) + _local1)); _local2++; if (_local2 > 3){ break; }; }; _local1++; }; kyoku.kpai[_local5] = delete_pais(kyoku.pn); set_ppos(); draw_taku(); counter++; break; case 1: mcSound.gotoAndPlay("naki"); tepai_press(_local4); appear_sarasi_pai(_local4, 3, _local5); set_ppos(); draw_taku(); mcPaiLayer.set_prio(); counter++; break; default: after_reaction(); break; }; } public function get_care_value(_arg1){ var _local2:Member; var _local3:*; _local2 = kyoku.member[_arg1]; _local3 = 0; if (_local2.reach_f){ _local3 = 1; if (_local2.ippatsu_f){ _local3 = 2; }; }; if (_local2.shosu){ _local3 = 2; }; if (_local2.shosan){ _local3 = 2; }; if (_local2.daisan){ _local3 = 3; }; if (_local2.daisu){ _local3 = 3; }; if (_local2.some){ _local3++; }; if (_local2.dorapon){ _local3++; }; if (_local3){ if (_arg1 == hanchan.oya){ _local3++; }; }; return (_local3); } public function appear_pais(_arg1, _arg2){ pais[_arg1].pai = _arg2; } public function appear_sarasi_pai(_arg1, _arg2, _arg3){ var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:*; var _local9:*; var _local10:*; _local8 = 0; _local4 = 0; while (_local4 < 4) { _local5 = (PN_NAKI(_arg1) + (_local4 * 4)); if (pais[_local5].pai == 0){ _local8 = _local4; break; }; _local4++; }; _local9 = (((40 * 2) + 58) + 1); _local10 = (((30 * 2) + 40) + 6); switch (_arg1){ case 0: _local6 = (645 - (_local8 * _local9)); _local7 = 530; _local4 = 0; while (_local4 < 3) { _local5 = ((PN_NAKI(_arg1) + (_local8 * 4)) + _local4); opos[_local5].px = (_local6 + (_local4 * 40)); opos[_local5].py = _local7; if (_local4 > _arg3){ opos[_local5].px = (opos[_local5].px + 18); }; if (_local4 == _arg3){ opos[_local5].py = (opos[_local5].py + 14); }; _local4++; }; _local5 = ((PN_NAKI(_arg1) + (_local8 * 4)) + 3); opos[_local5].px = opos[((_local5 - 3) + _arg3)].px; opos[_local5].py = (opos[((_local5 - 3) + _arg3)].py - PAI_W2); break; case 1: _local6 = 740; _local7 = (100 + (_local8 * _local10)); _local4 = 0; while (_local4 < 3) { _local5 = ((PN_NAKI(_arg1) + (_local8 * 4)) + _local4); opos[_local5].px = _local6; opos[_local5].py = (_local7 - (_local4 * PAI_W2)); if (_local4 >= _arg3){ opos[_local5].py = (opos[_local5].py - (3 + (PAI_H1 - PAI_W2))); }; if (_local4 == _arg3){ opos[_local5].px = (opos[_local5].px + (PAI_H2 - PAI_W1)); }; _local4++; }; _local5 = ((PN_NAKI(_arg1) + (_local8 * 4)) + 3); opos[_local5].px = (opos[((_local5 - 3) + _arg3)].px - PAI_W1); opos[_local5].py = opos[((_local5 - 3) + _arg3)].py; break; case 2: _local6 = (128 + (_local8 * _local9)); _local7 = 2; _local4 = 0; while (_local4 < 3) { _local5 = ((PN_NAKI(_arg1) + (_local8 * 4)) + _local4); opos[_local5].px = (_local6 - (_local4 * PAI_W1)); opos[_local5].py = _local7; if (_local4 >= _arg3){ opos[_local5].px = (opos[_local5].px - (PAI_H2 - PAI_W1)); }; _local4++; }; _local5 = ((PN_NAKI(_arg1) + (_local8 * 4)) + 3); opos[_local5].px = opos[((_local5 - 3) + _arg3)].px; opos[_local5].py = (opos[((_local5 - 3) + _arg3)].py + PAI_W2); break; case 3: _local6 = 2; _local7 = (450 - (_local8 * _local10)); _local4 = 0; while (_local4 < 3) { _local5 = ((PN_NAKI(_arg1) + (_local8 * 4)) + _local4); opos[_local5].px = _local6; opos[_local5].py = (_local7 + (_local4 * PAI_W2)); if (_local4 > _arg3){ opos[_local5].py = (opos[_local5].py + (3 + (PAI_H1 - PAI_W2))); }; _local4++; }; _local5 = ((PN_NAKI(_arg1) + (_local8 * 4)) + 3); opos[_local5].px = (opos[((_local5 - 3) + _arg3)].px + PAI_W1); opos[_local5].py = opos[((_local5 - 3) + _arg3)].py; break; default: break; }; _local4 = 0; while (_local4 < 4) { if ((((_local4 == _arg3)) || ((_local4 == 3)))){ _local5 = ((PN_NAKI(_arg1) + (_local8 * 4)) + _local4); pais[_local5].dr = (++pais[_local5].dr % 4); }; _local4++; }; _local4 = 0; while (_local4 < _arg2) { appear_pais(((PN_NAKI(_arg1) + (_local8 * 4)) + _local4), kyoku.kpai[_local4]); _local4++; }; return (_local8); } public function get_pv_kokusi(_arg1){ var _local2:*; var _local3:*; _local2 = pvmat.tepai[_arg1]; _local3 = 0; if (!yaopai(_local2)){ return (0); }; switch (pvwork.tt[_local2]){ case 4: _local3 = 10; break; case 3: _local3 = 20; break; case 2: _local3 = 60; break; default: _local3 = 100; break; }; return (_local3); } public function set_pai_value(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; _local2 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; _local3 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; _local4 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; pvwork_init(); pvwork_ments(1); pvwork_else(); _local1 = 0; while (_local1 < 14) { _local2[_local1] = get_pv_tenari(_local1); _local1++; }; pvwork_init(); pvwork_ments(0); pvwork_else(); _local1 = 0; while (_local1 < 14) { _local2[_local1] = get_pv_tenari(_local1); _local1++; }; _local1 = 0; while (_local1 < 14) { _local4[_local1] = ((_local2[_local1] + _local3[_local1]) / 2); _local1++; }; switch (pvmat.nerai){ case NY_TENARI: _local1 = 0; while (_local1 < 14) { pvwork.pv[_local1] = _local4[_local1]; _local1++; }; break; case NY_TANYAO: _local1 = 0; while (_local1 < 14) { pvwork.pv[_local1] = (_local4[_local1] + get_pv_tanyao(_local1)); _local1++; }; break; case NY_YAKUPAI: _local1 = 0; while (_local1 < 14) { pvwork.pv[_local1] = (_local4[_local1] + get_pv_yakupai(_local1)); _local1++; }; break; case NY_SOME: _local1 = 0; while (_local1 < 14) { pvwork.pv[_local1] = (_local4[_local1] + get_pv_some(_local1)); _local1++; }; break; case NY_CHITOI: _local1 = 0; while (_local1 < 14) { pvwork.pv[_local1] = ((_local4[_local1] / 10) + get_pv_chitoi(_local1)); _local1++; }; break; case NY_TOITOI: _local1 = 0; while (_local1 < 14) { pvwork.pv[_local1] = ((_local4[_local1] / 10) + get_pv_toitoi(_local1)); _local1++; }; break; case NY_KOKUSI: _local1 = 0; while (_local1 < 14) { pvwork.pv[_local1] = ((_local4[_local1] / 10) + get_pv_kokusi(_local1)); _local1++; }; break; case NY_SANGEN: _local1 = 0; while (_local1 < 14) { pvwork.pv[_local1] = (_local4[_local1] + get_pv_sangen(_local1)); _local1++; }; break; case NY_SUSI: _local1 = 0; while (_local1 < 14) { pvwork.pv[_local1] = (_local4[_local1] + get_pv_susi(_local1)); _local1++; }; break; default: _local1 = 0; while (_local1 < 14) { pvwork.pv[_local1] = _local4[_local1]; _local1++; }; break; }; } public function set_suteten_pv(){ var _local1:*; var _local2:*; var _local3:Member; var _local4:*; _local2 = kyoku.who_act; _local3 = kyoku.member[_local2]; if (_local3.sttn.suteten_f == 0){ return; }; _local1 = 0; while (_local1 < 14) { kyoku.member[_local2].pv[_local1] = 0; _local1++; }; _local1 = 0; while (_local1 < 14) { kyoku.member[_local2].pv[_local1] = 120; if (_local3.tepai[_local1] == 0){ } else { if (_local3.sttn.ti[_local1].tenpai_f == 0){ } else { _local4 = (_local3.sttn.ti[_local1].ten_max + (_local3.sttn.ti[_local1].rest_c * 1000)); if (_local3.dv[_local1]){ _local4 = (_local4 - (_local3.dv[_local1] * 100)); }; if (_local3.sttn.ti[_local1].kakutei_f){ _local4 = (_local4 + 4000); }; if (_local3.sttn.ti[_local1].hikkake_f){ _local4 = (_local4 + 2000); }; if (_local3.sttn.ti[_local1].furiten_f){ _local4 = (_local4 / 10); }; if (_local4 < 0){ _local4 = 0; }; kyoku.member[_local2].pv[_local1] = -((_local4 / 1000)); }; }; _local1++; }; } public function get_pon_smn(_arg1, _arg2){ var _local3:*; var _local4:*; var _local5:*; _local3 = 0; while (_local3 < 4) { _local4 = (PN_NAKI(_arg1) + (_local3 * 4)); _local5 = pais[_local4].pai; if (_local5 == 0){ return (0); }; if ((((pais[_local4].pai == _arg2)) && ((pais[(_local4 + 1)].pai == _arg2)))){ return (_local3); }; _local3++; }; return (0); } public function do_chil(_arg1){ if (!kyoku.member[_arg1].ra.chil_ok){ return (0); }; if (do_react(_arg1, SIM_CHIL)){ return (1); }; return (0); } public function hassei(_arg1, _arg2, _arg3){ timer_func = null; next_func = _arg3; mcSound.gotoAndPlay("hassei"); mcHassei.hassei(_arg1, _arg2); } public function do_chih(_arg1){ if (!kyoku.member[_arg1].ra.chih_ok){ return (0); }; if (do_react(_arg1, SIM_CHIH)){ return (1); }; return (0); } public function set_member_tenpai(_arg1){ var _local2:*; var _local3:*; kyoku.member[_arg1].tenpai = new Tenpai(); kyoku.member[_arg1].tenpai.ymat.furo_f = kyoku.member[_arg1].furo_f; kyoku.member[_arg1].tenpai.ymat.reach_f = kyoku.member[_arg1].reach_f; kyoku.member[_arg1].tenpai.ymat.bakaze = kyoku.bakaze; kyoku.member[_arg1].tenpai.ymat.jikaze = kyoku.jikaze[_arg1]; _local2 = 0; while (_local2 < 14) { _local3 = kyoku.member[_arg1].tepai[_local2]; if (_local3 > 0){ var _local4 = kyoku.member[_arg1].tenpai.tt; var _local5 = _local3; var _local6 = (_local4[_local5] + 1); _local4[_local5] = _local6; }; _local2++; }; _local2 = 0; while (_local2 < 4) { kyoku.member[_arg1].tenpai.s_ments[_local2].pai = kyoku.member[_arg1].s_ments[_local2].pai; kyoku.member[_arg1].tenpai.s_ments[_local2].at = kyoku.member[_arg1].s_ments[_local2].at; _local2++; }; _local2 = 0; while (_local2 < 10) { kyoku.member[_arg1].tenpai.dora[_local2] = kyoku.dora[_local2]; _local2++; }; _local2 = 0; while (_local2 < 40) { kyoku.member[_arg1].tenpai.sute[_local2] = kyoku.member[_arg1].sute[_local2]; kyoku.member[_arg1].tenpai.mie[_local2] = kyoku.member[_arg1].mie[_local2]; _local2++; }; kyoku.member[_arg1].tenpai.CheckTenpai(); } public function get_pais_tepai_c(_arg1){ var _local2:*; var _local3:*; _local2 = 0; while (_local2 < 14) { _local3 = (PN_TE(_arg1) + _local2); if (pais[_local3].pai == 0){ return (_local2); }; _local2++; }; return (13); } public function do_chim(_arg1){ if (!kyoku.member[_arg1].ra.chim_ok){ return (0); }; if (do_react(_arg1, SIM_CHIM)){ return (1); }; return (0); } public function set_member_sangen(_arg1){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:Member; var _local7:*; var _local8:*; var _local9:*; _local6 = kyoku.member[_arg1]; _local7 = 0; _local8 = 0; _local9 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; _local2 = 0; while (_local2 < 5) { _local3 = _local6.s_ments[_local2].pai; if (_local3 == 0){ } else { switch (_local6.s_ments[_local2].at){ case 4: case 6: case 7: _local4 = Math.floor((_local3 / 10)); if (_local4 == 3){ _local5 = (_local3 % 10); _local9[_local5] = 1; if (_local5 <= 4){ _local8++; } else { _local7++; }; }; break; }; }; _local2++; }; if (_local7 == 2){ kyoku.member[_arg1].shosan = 1; kyoku.never_mode = 1; kyoku.never_who = _arg1; _local2 = 4; while (_local2 <= 7) { if (_local9[_local2] == 0){ kyoku.never_pai = (30 + _local2); }; _local2++; }; if (pais_dead_pai(kyoku.never_pai)){ kyoku.member[_arg1].shosan = 0; kyoku.never_mode = 0; }; }; if (_local7 == 3){ kyoku.member[_arg1].shosan = 0; kyoku.member[_arg1].daisan = 1; kyoku.never_mode = 0; }; if (_local8 == 3){ kyoku.member[_arg1].shosu = 1; kyoku.never_mode = 1; kyoku.never_who = _arg1; _local2 = 1; while (_local2 <= 4) { if (_local9[_local2] == 0){ kyoku.never_pai = (30 + _local2); }; _local2++; }; if (pais_dead_pai(kyoku.never_pai)){ kyoku.member[_arg1].shosu = 0; kyoku.never_mode = 0; }; }; if (_local8 == 4){ kyoku.member[_arg1].shosu = 0; kyoku.member[_arg1].daisu = 1; kyoku.never_mode = 0; }; } public function get_pv_some(_arg1){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; _local2 = pvmat.tepai[_arg1]; _local3 = Math.floor((_local2 / 10)); _local4 = Math.floor((_local2 % 10)); _local5 = 0; if (_local3 < 3){ if (_local3 == pvwork.suit){ _local5 = 100; } else { _local5 = -120; }; }; return (_local5); } public function chipai_cancel(){ var _local1:*; _local1 = 0; while (_local1 < 14) { kyoku.member[0].reaction.push[_local1] = 0; pais[(PN_TE(0) + _local1)].stat = PS_TACHI; _local1++; }; set_ppos(); draw_taku(); timer_func = null; tepai_click_func = chipai_click; tepai_release_func = null; tepai_out_func = null; } public function start_hanchan_end(){ var _local1:*; var _local2:*; set_pt(); _local1 = taikyoku.hanchan_c; taikyoku.his[_local1] = new Array(4); _local2 = 0; while (_local2 < 4) { taikyoku.his[_local1][_local2] = hanchan.pt[_local2].point; _local2++; }; if (hanchan.pt[0].jun == 0){ taikyoku.rensho++; } else { taikyoku.rensho = 0; }; taikyoku.hanchan_c++; timer_func = null; start_mes("Scoring", hanchan_end_jun); } public function set_aa_kan(_arg1){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; if (kyoku.haitei_f){ return; }; if (kyoku.kan_c >= 5){ return; }; _local5 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; _local2 = 0; while (_local2 < 14) { _local4 = kyoku.member[_arg1].tepai[_local2]; if (_local4 > 0){ var _local7 = _local5; var _local8 = _local4; var _local9 = (_local7[_local8] + 1); _local7[_local8] = _local9; }; _local2++; }; kyoku.member[_arg1].aa.kanzai_c = 0; _local2 = 1; while (_local2 <= 37) { if (_local5[_local2] == 4){ kyoku.member[_arg1].aa.kanzai_c++; _local3 = 0; while (_local3 < 14) { _local4 = kyoku.member[_arg1].tepai[_local3]; if (_local4 == _local2){ kyoku.member[_arg1].aa.kanzai[_local3] = kyoku.member[_arg1].aa.kanzai_c; kyoku.member[_arg1].aa.kantype[_local3] = 1; }; _local3++; }; }; _local2++; }; _local6 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; _local2 = 0; while (_local2 < 4) { if (kyoku.member[_arg1].s_ments[_local2].at == 6){ _local4 = kyoku.member[_arg1].s_ments[_local2].pai; _local7 = _local6; _local8 = _local4; _local9 = (_local7[_local8] + 1); _local7[_local8] = _local9; }; _local2++; }; _local2 = 0; while (_local2 < 14) { _local4 = kyoku.member[_arg1].tepai[_local2]; if (_local4 == 0){ } else { if (_local6[_local4] == 0){ } else { kyoku.member[_arg1].aa.kanzai_c++; kyoku.member[_arg1].aa.kanzai[_local2] = kyoku.member[_arg1].aa.kanzai_c; kyoku.member[_arg1].aa.kantype[_local2] = 2; }; }; _local2++; }; } public function start_reabo_proc(_arg1:Function){ counter = 0; timer_func = reabo_proc; next_func = _arg1; } public function reabo_proc(){ var _local1:*; _local1 = kyoku.who_act; switch (counter){ case 0: counter++; break; case 1: counter++; break; case 2: kyoku.member[_local1].reach_start = 1; if (kyoku.member[_local1].not_shojun == 0){ kyoku.member[_local1].doubble_f = 1; }; kyoku.member[_local1].reach_jun = kyoku.member[_local1].mota_c; set_opos_reach(_local1); set_member_aa(); hanchan.pt[_local1].tenbo = (hanchan.pt[_local1].tenbo - 1000); set_reabo(_local1, 1); mcItem.draw_tenbo(); mcSound.gotoAndPlay("reach"); counter++; break; default: timer_func = null; next_func(); return; }; } public function ura_remove(){ var _local1:*; var _local2:*; _local1 = 0; while (_local1 < kyoku.kan_c) { _local2 = ((PN_DORA + 8) - (_local1 * 2)); opos[_local2].py = (opos[_local2].py - 30); _local2++; opos[_local2].py = (opos[_local2].py + 12); _local1++; }; } public function sute_proc(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:*; _local2 = 0; _local3 = kyoku.who_act; switch (counter++){ case 0: _local1 = 0; while (_local1 < 14) { if (kyoku.action.push[_local1]){ _local2 = _local1; break; }; _local1++; }; _local4 = (kyoku.pn = (PN_TE(_local3) + _local2)); if (pais[_local4].pai == 0){ _local5 = pais[_local4].pai; mcSound.gotoAndPlay("sute"); _local4 = (PN_SUTE(_local3) + get_pais_sute_c(_local3)); kyoku.pn = _local4; pais[_local4].pai = kyoku.pai; set_ppos(); draw_taku(); mcPaiLayer.set_prio(); counter = 3; return; }; pais[_local4].stat = PS_OMO; set_ppos(); draw_taku(); break; case 1: kyoku.pai = delete_pais(kyoku.pn); set_ppos(); draw_taku(); break; case 2: mcSound.gotoAndPlay("sute"); _local4 = (PN_SUTE(_local3) + get_pais_sute_c(_local3)); kyoku.pn = _local4; pais[_local4].pai = kyoku.pai; set_ppos(); draw_taku(); mcPaiLayer.set_prio(); break; default: _local1 = 0; while (_local1 < 14) { _local4 = (PN_TE(_local3) + _local1); pais[_local4].stat = (taikyoku.tepai_open) ? PS_OMO : PS_TACHI; _local1++; }; tepai_sort(_local3); tepai_press(_local3); set_ppos(); draw_taku(); mcPaiLayer.set_prio(); var _local6 = kyoku.member[_local3].sute; var _local7 = kyoku.pai; var _local8 = (_local6[_local7] + 1); _local6[_local7] = _local8; _local1 = 0; while (_local1 < 30) { if (kyoku.member[_local3].sutelist[_local1] == 0){ kyoku.member[_local3].sutelist[_local1] = kyoku.pai; break; }; _local1++; }; timer_func = set_reaction; break; }; } public function after_haipai(){ var _local1:*; var _local2:*; var _local3:*; switch (counter){ case 0: _local1 = 0; while (_local1 < 4) { _local2 = 0; while (_local2 < 13) { _local3 = (PN_TE(_local1) + _local2); pais[_local3].stat = PS_FUSE; _local2++; }; _local1++; }; old_time = getTimer(); counter++; break; case 1: if (getTimer() > (old_time + 200)){ counter++; }; break; case 2: tepai_debug(); _local1 = 0; while (_local1 < 4) { tepai_sort(_local1); _local2 = 0; while (_local2 < 13) { _local3 = (PN_TE(_local1) + _local2); pais[_local3].stat = (taikyoku.tepai_open) ? PS_OMO : PS_TACHI; _local2++; }; _local1++; }; counter++; break; default: _local1 = 0; while (_local1 < 4) { set_want(_local1); _local1++; }; _local1 = 0; while (_local1 < 4) { set_tepai_info_start(_local1); set_nerai(_local1); _local1++; }; kyoku.who_act = hanchan.oya; kyoku.tumoaction.code = "ACT_TUMO"; timer_func = start_tumoaction; break; }; set_ppos(); draw_taku(); } public function horyu_get(){ hanchan.pt[kyoku.who_hora].tenbo = (hanchan.pt[kyoku.who_hora].tenbo + (hanchan.horyu * 1000)); hanchan.horyu = 0; mcItem.draw_tenbo(); mcItem.draw_sibabo(); timer_func = hora_end; } public function start_kyoku(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; kyoku.init(); _local2 = hanchan.oya; kyoku.who_act = _local2; kyoku.bakaze = (Math.floor((hanchan.kyoku_c / 4)) + 1); _local1 = 0; while (_local1 < 4) { kyoku.jikaze[_local1] = ((((4 + _local1) - _local2) % 4) + 1); _local1++; }; _local1 = 0; while (_local1 < 2) { kyoku.dice[_local1] = Math.floor((Math.random() * 6)); _local1++; }; _local3 = (kyoku.dice[0] + kyoku.dice[1]); _local4 = (((_local2 + _local3) + 1) % 4); _local5 = ((((4 - _local4) % 4) * 34) + ((_local3 + 2) * 2)); kyoku.tumo_pos = _local5; kyoku.haitei_pos = add_tumo_pos(_local5, -15); kyoku.rinshan_pos = add_tumo_pos(_local5, -2); kyoku.dora_pos = add_tumo_pos(_local5, -6); _local1 = 0; while (_local1 < 136) { _local6 = Math.floor((Math.random() * 136)); _local7 = yama[_local6]; yama[_local6] = yama[_local1]; yama[_local1] = _local7; _local1++; }; init_taku(); set_ppos(); draw_taku(); mcItem.kyoku_start(); timer_func = start_kyoku_mes; } public function set_member_suteten(_arg1){ var _local2:*; kyoku.member[_arg1].sttn = new Suteten(); kyoku.member[_arg1].sttn.ymat.furo_f = kyoku.member[_arg1].furo_f; kyoku.member[_arg1].sttn.ymat.reach_f = kyoku.member[_arg1].reach_f; kyoku.member[_arg1].sttn.ymat.bakaze = kyoku.bakaze; kyoku.member[_arg1].sttn.ymat.jikaze = kyoku.jikaze[_arg1]; _local2 = 0; while (_local2 < 14) { kyoku.member[_arg1].sttn.tepai[_local2] = kyoku.member[_arg1].tepai[_local2]; _local2++; }; _local2 = 0; while (_local2 < 4) { kyoku.member[_arg1].sttn.s_ments[_local2].pai = kyoku.member[_arg1].s_ments[_local2].pai; kyoku.member[_arg1].sttn.s_ments[_local2].at = kyoku.member[_arg1].s_ments[_local2].at; _local2++; }; _local2 = 0; while (_local2 < 10) { kyoku.member[_arg1].sttn.dora[_local2] = kyoku.dora[_local2]; _local2++; }; _local2 = 0; while (_local2 < 40) { kyoku.member[_arg1].sttn.sute[_local2] = kyoku.member[_arg1].sute[_local2]; kyoku.member[_arg1].sttn.mie[_local2] = kyoku.member[_arg1].mie[_local2]; _local2++; }; kyoku.member[_arg1].sttn.CheckSuteten(); } public function get_pv_tenari(_arg1){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; if (pvmat.tepai[_arg1] == 0){ return (-1); }; _local2 = pvmat.tepai[_arg1]; _local3 = Math.floor((_local2 / 10)); _local4 = Math.floor((_local2 % 10)); _local5 = 0; switch (pvwork.at[_local2]){ case PA_SHUN: _local5 = 120; if (pvwork.yaku[_local2]){ _local5 = (_local5 + 20); }; break; case PA_ANKO: _local5 = 120; break; case PA_RMEN: if ((((_local4 == 2)) || ((_local4 == 8)))){ _local5 = 80; } else { _local5 = 85; }; _local5 = (_local5 + (pvwork.rpp[_local2] * 10)); break; case PA_KANCH: switch (pvwork.nobi[_local2]){ case 0: _local5 = 60; break; case 1: _local5 = 50; break; default: _local5 = 40; break; }; if (pvwork.kmap[_local2] >= 3){ _local5 = 70; }; if (pvwork.kmap[_local2] == 2){ _local5 = 65; }; if (pvwork.m4j1){ _local5 = 20; }; if ((((_local4 == 1)) || ((_local4 == 9)))){ _local5 = (_local5 - 5); }; _local5 = (_local5 + (pvwork.kpp[_local2] * 10)); break; case PA_PENCH: if ((((_local4 == 2)) || ((_local4 == 8)))){ _local5 = 25; } else { _local5 = 20; }; break; case PA_TOI: if (_local3 < 3){ _local5 = 40; if ((((_local4 == 2)) || ((_local4 == 8)))){ _local5 = 50; }; if ((((_local4 == 1)) || ((_local4 == 9)))){ _local5 = 30; }; } else { _local5 = (pvwork.yakupai[_local4]) ? 90 : 30; if (pvmat.mie[_local2] >= 4){ _local5 = 10; }; }; if (pvwork.janto_c == 1){ _local5 = 90; }; if (pvwork.dmap[_local2]){ _local5 = 100; }; break; case PA_FLOAT: switch (pvwork.nobi[_local2]){ case 0: _local5 = 50; break; case 1: _local5 = 20; break; default: _local5 = 5; break; }; if (pvwork.puyao[_local2]){ _local5 = 10; }; if (pvwork.janto_c == 0){ if (pvwork.rmap[_local2]){ _local5 = 80; }; if (pvwork.jant[_local2]){ _local5 = 80; }; } else { if (pvwork.rmap[_local2]){ _local5 = 30; }; }; if (_local3 == 3){ _local5 = (pvwork.yakupai[_local4]) ? 20 : 5; if (pvwork.dmap[_local2]){ _local5 = (_local5 + 20); }; if (pvwork.dead[_local2]){ _local5 = 0; }; }; if ((((pvwork.rmap[_local2] == 0)) && ((pvwork.yaku[_local2] == 0)))){ if (pvwork.m4j1){ _local5 = (_local5 - 50); }; if ((((((pvwork.ments_c == 3)) && ((pvwork.janto_c == 1)))) && ((pvwork.ktoi_c == 1)))){ _local5 = (_local5 - 30); }; }; break; }; if (pvwork.dmap[_local2]){ _local5 = (_local5 + 10); if (pvmat.junme <= 6){ _local5 = (_local5 + 40); }; if (pvmat.junme <= 12){ _local5 = (_local5 + 40); }; }; return (_local5); } public function start_tumoaction(){ counter = 0; if (kyoku.tumoaction.code == "ACT_TUMO"){ timer_func = tumo_proc; } else { if (kyoku.tumoaction.code == "ACT_RINSHAN"){ timer_func = rinshan_proc; } else { timer_func = start_think; }; }; } public function set_want(_arg1){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; _local3 = 1000; _local4 = hanchan.pt[_arg1].tenbo; _local5 = 1; _local6 = hanchan.oya; _local2 = hanchan.kyoku_c; while (_local2 <= hanchan.kyoku_max) { if ((_local6 % 4) == _arg1){ _local5 = 0; }; _local6++; _local2++; }; _local7 = get_tensa(_arg1); if (_local4 >= 30000){ _local3 = 1000; }; if (_local4 < 30000){ _local3 = 3900; }; if (_local4 < 20000){ _local3 = 8000; }; if (_local4 < 10000){ _local3 = 12000; }; if (_local5){ _local3 = _local7; }; if (kyoku.jikaze[_arg1] == 1){ _local3 = 1000; }; if (taikyoku.chara[_arg1].seko){ if (_local4 >= 30000){ _local3 = 1000; }; if (_local4 < 30000){ _local3 = 1000; }; if (_local4 < 20000){ _local3 = 3900; }; if (_local4 < 15000){ _local3 = 8000; }; if (_local4 < 10000){ _local3 = 12000; }; if (_local5){ _local3 = _local7; }; if (kyoku.jikaze[_arg1] == 1){ _local3 = 1000; }; }; if (taikyoku.chara[_arg1].game){ _local3 = 8000; if (_local4 < 15000){ _local3 = 12000; }; if (_local5){ _local3 = _local7; }; if (_local3 < 8000){ _local3 = 8000; }; }; kyoku.member[_arg1].want = _local3; } public function sim_hora(_arg1){ var _local2:*; var _local3:*; var _local4:*; _local2 = new Array(); _local3 = 0; while (_local3 < 4) { _local2[_local3] = new Object(); _local2[_local3].tenbo = hanchan.pt[_local3].tenbo; _local2[_local3].point = hanchan.pt[_local3].point; _local2[_local3].jun = hanchan.pt[_local3].jun; _local3++; }; set_add_hora(_arg1); _local3 = 0; while (_local3 < 4) { hanchan.pt[_local3].tenbo = (hanchan.pt[_local3].tenbo + kyoku.ten_add[_local3]); _local3++; }; set_add_honba(_arg1); _local3 = 0; while (_local3 < 4) { hanchan.pt[_local3].tenbo = (hanchan.pt[_local3].tenbo + kyoku.ten_add[_local3]); _local3++; }; _local3 = 0; while (_local3 < 4) { if (kyoku.member[_local3].reach_f){ hanchan.pt[_arg1].tenbo = (hanchan.pt[_arg1].tenbo + 1000); }; _local3++; }; hanchan.pt[_arg1].tenbo = (hanchan.pt[_arg1].tenbo + (hanchan.horyu * 1000)); _local4 = set_pt(); _local3 = 0; while (_local3 < 4) { hanchan.sim[_local3].tenbo = hanchan.pt[_local3].tenbo; hanchan.sim[_local3].point = hanchan.pt[_local3].point; hanchan.sim[_local3].jun = hanchan.pt[_local3].jun; _local3++; }; _local3 = 0; while (_local3 < 4) { hanchan.pt[_local3].tenbo = _local2[_local3].tenbo; hanchan.pt[_local3].point = _local2[_local3].point; hanchan.pt[_local3].jun = _local2[_local3].jun; _local3++; }; return (_local4); } public function kaikyoku_dora(){ start_dora_proc(start_haipai); } public function get_sn(_arg1, _arg2){ var _local3:*; var _local4:Member; var _local5:*; var _local6:*; var _local7:*; _local3 = kyoku.who_act; _local4 = kyoku.member[_local3]; _local5 = -1; _local6 = 999; _local7 = 0; while (_local7 < 14) { if (_local4.tepai[_local7] == 0){ } else { if (_local4.pv[_local7] > _arg1){ } else { if (_local4.dv[_local7] > _arg2){ } else { if (((kyoku.never_mode) && (!((_local3 == kyoku.never_who))))){ //unresolved if } else { if (_local4.pv[_local7] <= _local6){ _local5 = _local7; _local6 = _local4.pv[_local7]; }; }; }; }; }; _local7++; }; return (_local5); } public function get_pv_toitoi(_arg1){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; _local2 = pvmat.tepai[_arg1]; _local3 = Math.floor((_local2 / 10)); _local4 = Math.floor((_local2 % 10)); _local5 = 0; switch (pvwork.tt[_local2]){ case 4: _local5 = 0; break; case 3: _local5 = 120; break; case 2: _local5 = 80; if (pvwork.dmap[_local2]){ _local5 = 100; }; if (_local3 == 3){ _local5 = (_local5 + 10); }; if (pvmat.mie[_local2] == 3){ _local5 = (_local5 - 5); }; if (pvmat.mie[_local2] == 4){ _local5 = 20; }; break; default: _local5 = 20; if (pvwork.dmap[_local2]){ _local5 = (_local5 + 10); }; if (_local3 == 3){ _local5 = (_local5 + 10); if (pvwork.yaku[_local4]){ _local5 = (_local5 + 10); }; }; if (pvmat.mie[_local2] == 3){ _local5 = (_local5 - 10); }; if (pvmat.mie[_local2] == 4){ _local5 = 0; }; if (pvmat.sute[_local2]){ _local5 = 0; }; break; }; return (_local5); } public function PN_NAKI(_arg1:int){ return (((_arg1 * 64) + 14)); } public function start_pai_shiver(){ var _local1:*; timer_func = pai_shiver; _local1 = kyoku.pn; kyoku.pai = pais[_local1].pai; pais[_local1].pai = 0; set_ppos(); draw_taku(); kyoku.cnt = 0; } public function get_pais_pai(_arg1){ return (pais[_arg1].pai); } } }//package mahjong_e_fla
Section 19
//Timeline_32 (mahjong_e_fla.Timeline_32) package mahjong_e_fla { import flash.events.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Timeline_32 extends MovieClip { public var btnKan:SimpleButton; public var btnPon:SimpleButton; public var btnChi:SimpleButton; public var btnPass:SimpleButton; public var btnRon:SimpleButton; public var mcCurs:MovieClip; public function Timeline_32(){ addFrameScript(0, frame1); } public function func_pon(_arg1:MouseEvent){ var _local2:Object; all_remove(); _local2 = Object(parent); _local2.react_man_pon(); } function frame1(){ stop(); visible = false; btnKan.addEventListener(MouseEvent.CLICK, func_kan); btnPon.addEventListener(MouseEvent.CLICK, func_pon); btnChi.addEventListener(MouseEvent.CLICK, func_chi); btnRon.addEventListener(MouseEvent.CLICK, func_ron); btnPass.addEventListener(MouseEvent.CLICK, func_pass); } public function func_chi(_arg1:MouseEvent){ var _local2:Object; all_remove(); _local2 = Object(parent); _local2.react_man_chi(); } public function func_pass(_arg1:MouseEvent){ var _local2:Object; all_remove(); _local2 = Object(parent); _local2.react_man_pass(); } public function set_cursor(_arg1, _arg2, _arg3){ mcCurs.start_shiver(_arg1, _arg2, _arg3); } public function func_ron(_arg1:MouseEvent){ var _local2:Object; all_remove(); _local2 = Object(parent); _local2.react_man_ron(); } public function func_kan(_arg1:MouseEvent){ var _local2:Object; all_remove(); _local2 = Object(parent); _local2.react_man_kan(); } public function all_remove(){ visible = false; } } }//package mahjong_e_fla
Section 20
//Timeline_36 (mahjong_e_fla.Timeline_36) package mahjong_e_fla { import flash.display.*; public dynamic class Timeline_36 extends MovieClip { public function Timeline_36(){ addFrameScript(0, frame1); } function frame1(){ visible = false; } } }//package mahjong_e_fla
Section 21
//Timeline_37 (mahjong_e_fla.Timeline_37) package mahjong_e_fla { import flash.events.*; import flash.display.*; public dynamic class Timeline_37 extends MovieClip { public var cnt; public function Timeline_37(){ addFrameScript(0, frame1); } public function start_shiver(_arg1, _arg2, _arg3){ x = _arg1; y = _arg2; this.gotoAndStop((2 + _arg3)); cnt = 0; } function frame1(){ stop(); cnt = 99; this.addEventListener(Event.ENTER_FRAME, func); } public function func(_arg1:Event){ if (cnt <= 10){ visible = ((cnt % 2)) ? false : true; } else { return; }; cnt++; } } }//package mahjong_e_fla
Section 22
//Timeline_39 (mahjong_e_fla.Timeline_39) package mahjong_e_fla { import flash.events.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Timeline_39 extends MovieClip { public var mcText:MovieClip; public var btn:SimpleButton; public function Timeline_39(){ addFrameScript(0, frame1, 9, frame10); } function frame10(){ stop(); btn.addEventListener(MouseEvent.MOUSE_DOWN, btn_click); } function frame1(){ stop(); visible = false; } public function start_mes(_arg1){ visible = true; mcText.start_mes(_arg1); gotoAndPlay(2); } public function btn_click(_arg1:MouseEvent){ var _local2:Object; btn.removeEventListener(MouseEvent.MOUSE_DOWN, btn_click); gotoAndStop(1); _local2 = Object(parent); _local2.next_func(); } public function after_mes(){ var _local1:Object; _local1 = Object(parent); if (_local1.next_func != null){ _local1.next_func(); }; } } }//package mahjong_e_fla
Section 23
//Timeline_40 (mahjong_e_fla.Timeline_40) package mahjong_e_fla { import flash.display.*; public dynamic class Timeline_40 extends MovieClip { public function Timeline_40(){ addFrameScript(0, frame1); } function frame1(){ visible = false; } } }//package mahjong_e_fla
Section 24
//Timeline_41 (mahjong_e_fla.Timeline_41) package mahjong_e_fla { import flash.display.*; import flash.text.*; public dynamic class Timeline_41 extends MovieClip { public var tfMes:TextField; public function Timeline_41(){ addFrameScript(0, frame1); } function frame1(){ stop(); } public function start_mes(_arg1){ tfMes.text = _arg1; } } }//package mahjong_e_fla
Section 25
//Timeline_43 (mahjong_e_fla.Timeline_43) package mahjong_e_fla { import flash.display.*; public dynamic class Timeline_43 extends MovieClip { public function Timeline_43(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mahjong_e_fla
Section 26
//Timeline_44 (mahjong_e_fla.Timeline_44) package mahjong_e_fla { import flash.display.*; public dynamic class Timeline_44 extends MovieClip { public function Timeline_44(){ addFrameScript(0, frame1); } function frame1(){ visible = false; } } }//package mahjong_e_fla
Section 27
//Timeline_45 (mahjong_e_fla.Timeline_45) package mahjong_e_fla { import flash.events.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Timeline_45 extends MovieClip { public var mes_txt; public var btn:SimpleButton; public var tf:TextField; public function Timeline_45(){ addFrameScript(0, frame1, 9, frame10); } function frame10(){ stop(); tf.text = mes_txt; btn.addEventListener(MouseEvent.CLICK, func); } function frame1(){ stop(); mes_txt = ""; } public function start_dialog(_arg1){ mes_txt = _arg1; play(); } public function func(_arg1:MouseEvent){ var _local2:Object; _local2 = Object(parent); _local2.next_func(); gotoAndStop(1); } } }//package mahjong_e_fla
Section 28
//Timeline_46 (mahjong_e_fla.Timeline_46) package mahjong_e_fla { import flash.display.*; public dynamic class Timeline_46 extends MovieClip { public function Timeline_46(){ addFrameScript(0, frame1); } function frame1(){ visible = false; } } }//package mahjong_e_fla
Section 29
//Timeline_49 (mahjong_e_fla.Timeline_49) package mahjong_e_fla { import flash.events.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Timeline_49 extends MovieClip { public var mcYaku0:MovieClip; public var mcYaku1:MovieClip; public var mcYaku3:MovieClip; public var mcYaku5:MovieClip; public var mcYaku6:MovieClip; public var mcYaku8:MovieClip; public var mcYaku4:MovieClip; public var mcYaku7:MovieClip; public var mcYaku9:MovieClip; public var mcYaku2:MovieClip; public var tfTen:TextField; public var btn:SimpleButton; public var tfHan:TextField; public function Timeline_49(){ addFrameScript(0, frame1, 8, frame9); } function frame9(){ stop(); btn.addEventListener(MouseEvent.MOUSE_DOWN, btn_click); hora_info(); } function frame1(){ stop(); } public function disp(){ gotoAndPlay(2); } public function hora_info(){ var _local1:*; var _local2:Object; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:*; var _local9:*; _local2 = Object(parent); _local3 = _local2.kyoku.hora; _local4 = ["Daburu-Riichi (1st turn Riichi)", "Riichi (declaring tenpai)", "Ippatsu (first round winning)", "Haitei (winning by last tile)", "Haitei (winning by last tile)", "Rin-Shan (winning after kan)", "Chan-Kan (winning on other's kan)", "Tsumo (self pick fully concealed)", "Hon-Itsu (one suit and honor)", "Chin-Itsu (one suit)", "Chanta (terminals and honors in each set)", "Jun-Chan (terminals in each set)", "Hon-Ro-Tou (terminals and honors)", "Tan-Yao (no terminals and honors)", "Chi-Toi (seven pairs)", "San-An-Kou (three concealed triplets)", "San-Kan-Tsu (three kans)", "Toi-Toi (all triplets)", "San-Shoku-Dou-Kou (same number triplets)", "Shou-San-Gen (small dragons)", "Yaku-Pai (triplet of dragon or wind)", "Pin-Fu (all sequences)", "San-Shoku-Dou-Jun (same number sequences)", "Ittsuu (straight)", "Ii-Pei-Kou (pair sequences)", "Ryan-Pei-Kou (double pair sequences)", "", "Dora (special tile)", "Ura-Dora (special tile under dora)", "Aka", "(yakuman->)", "Ten-Hou (heavenly hand)", "Chi-Hou (earthly hand)", "Ren-Hou (humanly hand)", "Chin-Rou-Tou (all tremianls)", "Dai-San-Gen (big three dragons)", "Shou-Suu-Shii (small four winds)", "Dai-Suu-Shii (big four winds)", "Tsuu-ii-Sou (honors)", "Suu-An-Kou (four consecutive triplets)", "Suu-Kan-Tsu (four Kans)", "Kokushi-Musou (thirteen orphans)", "Chuu-Ren (nine gates)", "Ryu-ii-Sou (all green)", "Daisharin", ""]; _local5 = (_local3.yakuman_c) ? 30 : 0; _local6 = 0; _local1 = _local5; while (_local1 < 64) { _local9 = _local3.yaku[_local1]; if (_local9 > 0){ this[("mcYaku" + _local6)].tfYaku.text = _local4[_local1]; this[("mcYaku" + _local6)].tfHan.text = (_local9 + " fan"); if (_local1 >= 30){ this[("mcYaku" + _local6)].tfHan.text = ""; }; this[("mcYaku" + _local6)].visible = true; _local6++; }; _local1++; }; _local1 = _local6; while (_local1 < 10) { this[("mcYaku" + _local1)].visible = false; _local1++; }; _local7 = ["", "Mangan", "Haneman", "Baiman", "Sanbaiman", "Kazoe-Yakuman", "Yakuman", "Daburu-Yakuman", "Toripuru-Yakuman", "Yonbai-Yakuman", ""]; _local8 = _local3.mangan_v; if (_local8 >= 6){ if (_local8 > 9){ _local8 = 9; }; tfHan.text = _local7[_local8]; } else { if (_local8 >= 1){ tfHan.text = ((_local3.han_c + " fan ") + _local7[_local8]); } else { tfHan.text = (((_local3.fu + " fu ") + _local3.han_c) + " fan"); }; }; if (_local3.oya_f){ if (_local3.pay_mode == 0){ tfTen.text = (_local3.ten_hora + " ten"); } else { tfTen.text = (_local3.ten_half + " ten from each"); }; } else { if (_local3.pay_mode == 0){ tfTen.text = (_local3.ten_hora + " ten"); } else { tfTen.text = (((_local3.ten_qurt + " ten ") + _local3.ten_half) + " ten"); }; }; if (_local2.kyoku.who_hora == 0){ _local2.mcSound.gotoAndPlay("win"); } else { _local2.mcSound.gotoAndPlay("lose"); }; } public function btn_click(_arg1:MouseEvent){ var _local2:Object; btn.removeEventListener(MouseEvent.MOUSE_DOWN, btn_click); _local2 = Object(parent); _local2.next_func(); gotoAndStop(1); } } }//package mahjong_e_fla
Section 30
//Timeline_5 (mahjong_e_fla.Timeline_5) package mahjong_e_fla { import flash.events.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Timeline_5 extends MovieClip { public var pmax:int; public var paiList:Array; public var i:int; public function Timeline_5(){ addFrameScript(0, frame1); } public function init(){ var _local1:*; _local1 = 0; while (_local1 < pmax) { paiList[_local1].visible = false; _local1++; }; } public function draw_pai(_arg1, _arg2, _arg3, _arg4, _arg5){ if ((((_arg2 == 0)) || ((_arg5 > 0)))){ paiList[_arg1].visible = false; } else { paiList[_arg1].visible = true; paiList[_arg1].gotoAndStop(_arg2); paiList[_arg1].x = _arg3; paiList[_arg1].y = _arg4; }; } function frame1(){ pmax = 300; paiList = new Array(); i = 0; while (i < pmax) { paiList[i] = new shadowMC(); paiList[i].visible = false; addChild(paiList[i]); i++; }; } } }//package mahjong_e_fla
Section 31
//Timeline_50 (mahjong_e_fla.Timeline_50) package mahjong_e_fla { import flash.display.*; public dynamic class Timeline_50 extends MovieClip { public function Timeline_50(){ addFrameScript(0, frame1); } function frame1(){ visible = false; } } }//package mahjong_e_fla
Section 32
//Timeline_52 (mahjong_e_fla.Timeline_52) package mahjong_e_fla { import flash.display.*; import flash.text.*; public dynamic class Timeline_52 extends MovieClip { public var tfYaku:TextField; public var tfHan:TextField; } }//package mahjong_e_fla
Section 33
//Timeline_54 (mahjong_e_fla.Timeline_54) package mahjong_e_fla { import flash.events.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Timeline_54 extends MovieClip { public var mc1:MovieClip; public var mc3:MovieClip; public var mc2:MovieClip; public var mc0:MovieClip; public var btn:SimpleButton; public function Timeline_54(){ addFrameScript(0, frame1, 1, frame2, 26, frame27); } public function init(){ gotoAndStop(1); } function frame1(){ stop(); visible = false; } function frame2(){ play(); set_text(); } function frame27(){ stop(); btn.addEventListener(MouseEvent.MOUSE_DOWN, btn_click); } public function disp(){ visible = true; gotoAndPlay(2); } public function btn_click(_arg1:MouseEvent){ var _local2:Object; btn.removeEventListener(MouseEvent.MOUSE_DOWN, btn_click); gotoAndStop(1); _local2 = Object(parent); _local2.next_func(); } public function set_text(){ var _local1:Object; var _local2:*; var _local3:*; var _local4:*; _local1 = Object(parent); _local2 = ["1st", "2nd", "3rd", "4th"]; _local3 = 0; while (_local3 < 4) { _local4 = _local1.hanchan.pt[_local3].jun; this[("mc" + _local3)].tfJun.text = _local2[_local4]; this[("mc" + _local3)].tfTen.text = _local1.hanchan.pt[_local3].tenbo; this[("mc" + _local3)].tfPoint.text = (("(" + _local1.hanchan.pt[_local3].point) + "pt)"); _local3++; }; } } }//package mahjong_e_fla
Section 34
//Timeline_55 (mahjong_e_fla.Timeline_55) package mahjong_e_fla { import flash.display.*; public dynamic class Timeline_55 extends MovieClip { public function Timeline_55(){ addFrameScript(0, frame1); } function frame1(){ visible = false; } } }//package mahjong_e_fla
Section 35
//Timeline_56 (mahjong_e_fla.Timeline_56) package mahjong_e_fla { import flash.display.*; import flash.text.*; public dynamic class Timeline_56 extends MovieClip { public var tfPoint:TextField; public var tfTen:TextField; public var tfJun:TextField; public function Timeline_56(){ addFrameScript(0, frame1, 14, frame15); } function frame1(){ } function frame15(){ stop(); tfJun.visible = true; tfTen.visible = true; tfPoint.visible = true; } } }//package mahjong_e_fla
Section 36
//Timeline_58 (mahjong_e_fla.Timeline_58) package mahjong_e_fla { import flash.events.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Timeline_58 extends MovieClip { public var mc10:MovieClip; public var mc11:MovieClip; public var mc13:MovieClip; public var mc16:MovieClip; public var mc17:MovieClip; public var mc19:MovieClip; public var mc18:MovieClip; public var mc14:MovieClip; public var mc23:MovieClip; public var mc27:MovieClip; public var mc29:MovieClip; public var mc5:MovieClip; public var mc28:MovieClip; public var mc26:MovieClip; public var mc1:MovieClip; public var mc2:MovieClip; public var mc4:MovieClip; public var mc12:MovieClip; public var mc3:MovieClip; public var mc20:MovieClip; public var mc21:MovieClip; public var mc7:MovieClip; public var mc8:MovieClip; public var mc0:MovieClip; public var mc24:MovieClip; public var btn:SimpleButton; public var mc6:MovieClip; public var mc25:MovieClip; public var mc9:MovieClip; public var mc15:MovieClip; public var mc22:MovieClip; public var mcTop:MovieClip; public function Timeline_58(){ addFrameScript(0, frame1, 1, frame2, 14, frame15, 26, frame27); } function frame27(){ stop(); btn.addEventListener(MouseEvent.MOUSE_DOWN, btn_click); } public function init(){ gotoAndStop(1); } function frame15(){ set_his(); } function frame1(){ stop(); visible = false; } public function disp(){ visible = true; gotoAndPlay(2); } public function set_his(){ var _local1:*; var _local2:*; var _local3:Object; var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:*; var _local9:*; var _local10:*; _local3 = Object(parent); _local4 = _local3.hanchan.kyoku_sum; if (_local4 > 28){ _local4 = 28; }; _local5 = (320 - (_local4 * 10)); mcTop.y = (_local5 - 30); _local1 = 0; while (_local1 < _local4) { this[("mc" + _local1)].y = (_local5 + (_local1 * 20)); this[("mc" + _local1)].visible = true; _local1++; }; _local1 = _local4; while (_local1 < 30) { this[("mc" + _local1)].visible = false; _local1++; }; _local6 = ["East1", "East2", "East3", "East4", "South1", "South2", "South3", "South4"]; _local7 = -1; _local1 = 0; while (_local1 < _local4) { if (_local3.hanchan.his[_local1].kyoku != _local7){ _local7 = _local3.hanchan.his[_local1].kyoku; this[("mc" + _local1)].tfKyoku.text = _local6[_local7]; } else { this[("mc" + _local1)].tfKyoku.text = ""; }; _local8 = ""; if (_local3.hanchan.his[_local1].end_code == "KEND_RYUKYOKU"){ _local8 = "Draw"; } else { if (_local3.hanchan.his[_local1].end_code == "KEND_TUMO"){ _local8 = "Tsumo"; } else { _local8 = "Ron"; }; }; this[("mc" + _local1)].tfCode.text = _local8; _local9 = this[("mc" + _local1)]; _local2 = 0; while (_local2 < 4) { _local10 = _local3.hanchan.his[_local1].ten_add[_local2]; if (_local10 == 0){ _local9[("tfTen" + _local2)].text = ""; } else { _local9[("tfTen" + _local2)].text = _local10; _local9[("tfTen" + _local2)].textColor = ((_local10)>0) ? 0xFFFFFF : 0xFF0000; }; _local2++; }; _local1++; }; } function frame2(){ play(); } public function btn_click(_arg1:MouseEvent){ var _local2:Object; btn.removeEventListener(MouseEvent.MOUSE_DOWN, btn_click); gotoAndStop(1); _local2 = Object(parent); _local2.next_func(); } } }//package mahjong_e_fla
Section 37
//Timeline_59 (mahjong_e_fla.Timeline_59) package mahjong_e_fla { import flash.display.*; public dynamic class Timeline_59 extends MovieClip { public function Timeline_59(){ addFrameScript(0, frame1); } function frame1(){ visible = false; } } }//package mahjong_e_fla
Section 38
//Timeline_6 (mahjong_e_fla.Timeline_6) package mahjong_e_fla { import flash.display.*; public dynamic class Timeline_6 extends MovieClip { public function Timeline_6(){ addFrameScript(0, frame1); } function frame1(){ visible = false; } } }//package mahjong_e_fla
Section 39
//Timeline_61 (mahjong_e_fla.Timeline_61) package mahjong_e_fla { import flash.display.*; import flash.text.*; public dynamic class Timeline_61 extends MovieClip { public var tfTen0:TextField; public var tfTen3:TextField; public var tfTen2:TextField; public var tfTen1:TextField; public var tfCode:TextField; public var tfKyoku:TextField; } }//package mahjong_e_fla
Section 40
//Timeline_63 (mahjong_e_fla.Timeline_63) package mahjong_e_fla { import flash.events.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Timeline_63 extends MovieClip { public var mc1:MovieClip; public var mc3:MovieClip; public var mc5:MovieClip; public var mc2:MovieClip; public var btnStart:SimpleButton; public var mc0:MovieClip; public var mc9:MovieClip; public var mc4:MovieClip; public var mc7:MovieClip; public var mc8:MovieClip; public var tfRensho:TextField; public var mc6:MovieClip; public var btnRanking:SimpleButton; public var mcSum:MovieClip; public function Timeline_63(){ addFrameScript(0, frame1, 14, frame15); } public function init(){ gotoAndStop(1); } public function func_start(_arg1:MouseEvent){ var _local2:Object; end_proc(); _local2 = Object(parent); if (_local2.taikyoku.hanchan_c >= 10){ _local2.start_ranking(); } else { _local2.start_hanchan(); }; } function frame1(){ stop(); visible = false; } function frame15(){ stop(); set_text(); btnStart.addEventListener(MouseEvent.MOUSE_DOWN, func_start); btnRanking.addEventListener(MouseEvent.MOUSE_DOWN, func_ranking); } public function end_proc(){ btnStart.removeEventListener(MouseEvent.MOUSE_DOWN, func_start); btnRanking.removeEventListener(MouseEvent.MOUSE_DOWN, func_ranking); gotoAndStop(1); } public function func_ranking(_arg1:MouseEvent){ var _local2:Object; end_proc(); _local2 = Object(parent); _local2.start_ranking(); } public function disp(){ visible = true; gotoAndPlay(2); } public function set_text(){ var _local1:*; var _local2:*; var _local3:Object; var _local4:*; var _local5:*; var _local6:*; _local3 = Object(parent); _local4 = [0, 0, 0, 0]; _local1 = 0; while (_local1 < 10) { _local5 = this[("mc" + _local1)]; _local5["tfCount"].text = (_local1 + 1); _local2 = 0; while (_local2 < 4) { if (_local1 < _local3.taikyoku.hanchan_c){ _local6 = _local3.taikyoku.his[_local1][_local2]; _local5[("tf" + _local2)].text = _local6; _local4[_local2] = (_local4[_local2] + _local6); } else { _local5[("tf" + _local2)].text = ""; }; _local2++; }; _local1++; }; mcSum.tfCount.text = "計"; _local1 = 0; while (_local1 < 4) { mcSum[("tf" + _local1)].text = _local4[_local1]; _local1++; }; tfRensho.text = ""; if (_local3.taikyoku.rensho >= 2){ }; if (_local3.taikyoku.hanchan_c >= 10){ btnStart.visible = false; btnRanking.visible = true; } else { btnStart.visible = true; btnRanking.visible = false; }; } } }//package mahjong_e_fla
Section 41
//Timeline_64 (mahjong_e_fla.Timeline_64) package mahjong_e_fla { import flash.display.*; public dynamic class Timeline_64 extends MovieClip { public function Timeline_64(){ addFrameScript(0, frame1); } function frame1(){ visible = false; } } }//package mahjong_e_fla
Section 42
//Timeline_66 (mahjong_e_fla.Timeline_66) package mahjong_e_fla { import flash.display.*; import flash.text.*; public dynamic class Timeline_66 extends MovieClip { public var tf2:TextField; public var tf3:TextField; public var tf0:TextField; public var tfCount:TextField; public var tf1:TextField; } }//package mahjong_e_fla
Section 43
//Timeline_69 (mahjong_e_fla.Timeline_69) package mahjong_e_fla { import flash.events.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Timeline_69 extends MovieClip { public var btnStart:SimpleButton; public var btnLink:SimpleButton; public var btnRank:SimpleButton; public function Timeline_69(){ addFrameScript(0, frame1, 17, frame18); } public function init(){ gotoAndStop(1); } public function end_title(){ btnStart.removeEventListener(MouseEvent.CLICK, func_start); btnLink.removeEventListener(MouseEvent.CLICK, func_link); btnRank.removeEventListener(MouseEvent.CLICK, func_rank); gotoAndStop(1); } public function func_start(_arg1:MouseEvent){ var _local2:Object; _local2 = Object(parent); _local2.start_taikyoku(); end_title(); } function frame18(){ stop(); btnStart.addEventListener(MouseEvent.CLICK, func_start); btnLink.addEventListener(MouseEvent.CLICK, func_link); btnRank.addEventListener(MouseEvent.CLICK, func_rank); } function frame1(){ stop(); visible = false; } public function func_link(_arg1:MouseEvent){ var _local2:URLRequest; _local2 = new URLRequest("http://www.gamedesign.jp/"); navigateToURL(_local2, "_self"); } public function disp(){ visible = true; gotoAndPlay(2); } public function func_rank(_arg1:MouseEvent){ var _local2:Object; end_title(); _local2 = Object(parent); _local2.start_title_ranking(); } } }//package mahjong_e_fla
Section 44
//Timeline_7 (mahjong_e_fla.Timeline_7) package mahjong_e_fla { import flash.events.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Timeline_7 extends MovieClip { public var mcKyoku:MovieClip; public var mcOya:MovieClip; public var mcReach1:MovieClip; public var mcReach3:MovieClip; public var mcSibabo:MovieClip; public var mcSpeed:MovieClip; public var mcReach0:MovieClip; public var mcReach2:MovieClip; public var mcTenbo0:MovieClip; public var mcTenbo3:MovieClip; public var mcTenbo1:MovieClip; public var mcLink:MovieClip; public var mcChicha:MovieClip; public var mcTenbo2:MovieClip; public function Timeline_7(){ addFrameScript(0, frame1); } public function kyoku_start(){ init(); draw_chicha(); } public function init(){ var _local1:*; mcChicha.visible = false; _local1 = 0; while (_local1 < 4) { this[("mcReach" + _local1)].visible = false; _local1++; }; _local1 = 0; while (_local1 < 4) { this[("mcTenbo" + _local1)].visible = false; _local1++; }; mcOya.visible = false; mcKyoku.visible = false; mcSibabo.visible = false; _local1 = 0; while (_local1 < 20) { mcSibabo[("mc" + _local1)].gotoAndStop(1); _local1++; }; mcSpeed.visible = false; mcLink.visible = false; } public function draw_all(){ var _local1:Object; draw_oya(); draw_tenbo(); draw_kyoku(); draw_sibabo(); _local1 = Object(parent); mcSpeed.init(_local1.com_speed); mcLink.visible = true; } public function draw_kyoku(){ var _local1:Object; var _local2:*; var _local3:*; var _local4:*; _local1 = Object(parent); _local2 = ["East1", "East2", "East3", "East4", "South1", "South2", "South3", "South4"]; _local3 = ["", "East", "South", "West", "North"]; _local4 = _local1.kyoku.jikaze[0]; mcKyoku.tf.text = ((("Round: " + _local2[_local1.hanchan.kyoku_c]) + "\nPosition: ") + _local3[_local4]); mcKyoku.visible = true; } public function draw_oya(){ var _local1:Object; var _local2:*; var _local3:*; _local1 = Object(parent); switch (_local1.hanchan.oya){ case 0: _local2 = 232; _local3 = 470; break; case 1: _local2 = 678; _local3 = 388; break; case 2: _local2 = 530; _local3 = 90; break; case 3: _local2 = 80; _local3 = 160; break; }; mcOya.x = _local2; mcOya.y = _local3; mcOya.visible = true; } public function set_reabo(_arg1, _arg2){ this[("mcReach" + _arg1)].visible = (_arg2) ? true : false; } public function draw_tenbo(){ var _local1:*; var _local2:Object; _local2 = Object(parent); _local1 = 0; while (_local1 < 4) { this[("mcTenbo" + _local1)].tf.text = _local2.hanchan.pt[_local1].tenbo; this[("mcTenbo" + _local1)].visible = true; _local1++; }; } public function draw_sibabo(){ var _local1:*; var _local2:Object; var _local3:*; var _local4:*; var _local5:*; var _local6:*; _local2 = Object(parent); switch (_local2.hanchan.oya){ case 0: _local3 = 250; _local4 = 444; break; case 1: _local3 = 694; _local4 = 416; break; case 2: _local3 = 530; _local4 = 120; break; case 3: _local3 = 80; _local4 = 134; break; }; mcSibabo.x = _local3; mcSibabo.y = _local4; mcSibabo.visible = true; _local1 = 0; while (_local1 < 20) { mcSibabo[("mc" + _local1)].gotoAndStop(1); mcSibabo[("mc" + _local1)].y = 0; _local1++; }; _local3 = 0; _local5 = 0; _local6 = ((_local2.hanchan.oya)<2) ? -12 : 12; _local1 = 0; while (_local1 < _local2.hanchan.honba) { mcSibabo[("mc" + _local5)].gotoAndStop(2); mcSibabo[("mc" + _local5)].x = _local3; mcSibabo[("mc" + _local5)].y = 0; _local3 = (_local3 + _local6); _local5++; _local1++; }; _local1 = 0; while (_local1 < _local2.hanchan.horyu) { mcSibabo[("mc" + _local5)].gotoAndStop(3); mcSibabo[("mc" + _local5)].x = _local3; mcSibabo[("mc" + _local5)].y = 0; _local3 = (_local3 + _local6); _local5++; _local1++; }; } public function change_com_speed(_arg1){ var _local2:Object; _local2 = Object(parent); _local2.change_com_speed(_arg1); } public function draw_chicha(){ var _local1:Object; var _local2:*; var _local3:*; var _local4:*; var _local5:*; mcChicha.visible = true; _local1 = Object(parent); switch (_local1.hanchan.deoya){ case 0: _local2 = 690; _local3 = 555; break; case 1: _local2 = 758; _local3 = 10; break; case 2: _local2 = 10; _local3 = 10; break; case 3: _local2 = 2; _local3 = 520; break; }; mcChicha.x = _local2; mcChicha.y = _local3; _local4 = ((_local1.hanchan.kyoku_c)<4) ? 0 : 1; _local5 = ((_local1.hanchan.deoya * 2) + _local4); mcChicha.gotoAndStop((2 + _local5)); } function frame1(){ stop(); } } }//package mahjong_e_fla
Section 45
//Timeline_70 (mahjong_e_fla.Timeline_70) package mahjong_e_fla { import flash.display.*; public dynamic class Timeline_70 extends MovieClip { public function Timeline_70(){ addFrameScript(0, frame1); } function frame1(){ visible = false; } } }//package mahjong_e_fla
Section 46
//Timeline_76 (mahjong_e_fla.Timeline_76) package mahjong_e_fla { import flash.events.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Timeline_76 extends MovieClip { public var mcFukidasi:MovieClip; public var btn:SimpleButton; public function Timeline_76(){ addFrameScript(0, frame1, 1, frame2); } public function start_wait(){ gotoAndStop(2); } function frame1(){ stop(); } public function hassei(_arg1, _arg2){ mcFukidasi.hassei(_arg1, _arg2); } function frame2(){ stop(); btn.addEventListener(MouseEvent.MOUSE_DOWN, btn_click); } public function btn_click(_arg1:MouseEvent){ var _local2:Object; btn.removeEventListener(MouseEvent.MOUSE_DOWN, btn_click); mcFukidasi.init(); gotoAndStop(1); _local2 = Object(parent); _local2.next_func(); } } }//package mahjong_e_fla
Section 47
//Timeline_77 (mahjong_e_fla.Timeline_77) package mahjong_e_fla { import flash.display.*; public dynamic class Timeline_77 extends MovieClip { public function Timeline_77(){ addFrameScript(0, frame1); } function frame1(){ visible = false; } } }//package mahjong_e_fla
Section 48
//Timeline_78 (mahjong_e_fla.Timeline_78) package mahjong_e_fla { import flash.events.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Timeline_78 extends MovieClip { public var tfMes:TextField; public var mcPat:MovieClip; public function Timeline_78(){ addFrameScript(0, frame1, 5, frame6); } public function init(){ visible = false; gotoAndStop(1); } public function notifi(){ var _local1:Object; _local1 = Object(parent); _local1.start_wait(); } function frame1(){ stop(); visible = false; } function frame6(){ stop(); tfMes.visible = true; notifi(); } public function hassei(_arg1, _arg2){ var _local3:*; var _local4:*; tfMes.text = _arg2; tfMes.visible = false; _local3 = 0; _local4 = 0; switch (_arg1){ case 0: _local3 = 400; _local4 = 450; break; case 1: _local3 = 650; _local4 = 280; break; case 2: _local3 = 400; _local4 = 150; break; case 3: _local3 = 150; _local4 = 280; break; default: _local3 = 400; _local4 = 280; break; }; x = _local3; y = _local4; mcPat.gotoAndStop((_arg1 + 1)); visible = true; gotoAndPlay(2); } } }//package mahjong_e_fla
Section 49
//Timeline_79 (mahjong_e_fla.Timeline_79) package mahjong_e_fla { import flash.display.*; public dynamic class Timeline_79 extends MovieClip { public function Timeline_79(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package mahjong_e_fla
Section 50
//Timeline_8 (mahjong_e_fla.Timeline_8) package mahjong_e_fla { import flash.display.*; public dynamic class Timeline_8 extends MovieClip { public function Timeline_8(){ addFrameScript(0, frame1); } function frame1(){ visible = false; } } }//package mahjong_e_fla
Section 51
//Timeline_80 (mahjong_e_fla.Timeline_80) package mahjong_e_fla { import flash.events.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Timeline_80 extends MovieClip { public var btn:SimpleButton; public function Timeline_80(){ addFrameScript(0, frame1, 1, frame2); } function frame1(){ stop(); } function frame2(){ stop(); btn.addEventListener(MouseEvent.CLICK, func); } public function end_click_wait(){ gotoAndStop(1); } public function start_click_wait(){ gotoAndStop(2); } public function func(_arg1:MouseEvent){ var _local2:Object; btn.removeEventListener(MouseEvent.CLICK, func); gotoAndStop(1); _local2 = Object(parent); if (_local2.next_func != null){ _local2.next_func(); }; } } }//package mahjong_e_fla
Section 52
//Timeline_81 (mahjong_e_fla.Timeline_81) package mahjong_e_fla { import flash.display.*; public dynamic class Timeline_81 extends MovieClip { public function Timeline_81(){ addFrameScript(0, frame1); } function frame1(){ visible = false; } } }//package mahjong_e_fla
Section 53
//Timeline_82 (mahjong_e_fla.Timeline_82) package mahjong_e_fla { import flash.display.*; public dynamic class Timeline_82 extends MovieClip { public function Timeline_82(){ addFrameScript(0, frame1, 1, frame2, 2, frame3, 7, frame8, 8, frame9, 13, frame14, 14, frame15, 19, frame20, 20, frame21, 25, frame26, 26, frame27, 32, frame33, 33, frame34, 39, frame40, 40, frame41, 45, frame46, 46, frame47, 52, frame53, 53, frame54, 60, frame61, 67, frame68); } function frame14(){ play(); } function frame3(){ stop(); } function frame15(){ stop(); } function frame1(){ stop(); } function frame26(){ play(); } function frame9(){ stop(); } function frame8(){ play(); } function frame21(){ stop(); } function frame2(){ play(); } function frame27(){ stop(); } function frame34(){ stop(); } function frame20(){ play(); } function frame40(){ play(); } function frame33(){ play(); } function frame47(){ stop(); } function frame41(){ stop(); } function frame46(){ play(); } function frame54(){ stop(); } function frame53(){ play(); } function frame61(){ stop(); } function frame68(){ stop(); } } }//package mahjong_e_fla
Section 54
//Timeline_83 (mahjong_e_fla.Timeline_83) package mahjong_e_fla { import flash.display.*; public dynamic class Timeline_83 extends MovieClip { public function Timeline_83(){ addFrameScript(0, frame1); } function frame1(){ visible = false; } } }//package mahjong_e_fla
Section 55
//Timeline_84 (mahjong_e_fla.Timeline_84) package mahjong_e_fla { import flash.events.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Timeline_84 extends MovieClip { public var btnSend:SimpleButton; public var tfName:TextField; public var playername; public var loader:URLLoader; public var rank0:MovieClip; public var rank3:MovieClip; public var rank6:MovieClip; public var rank5:MovieClip; public var rank2:MovieClip; public var rank4:MovieClip; public var score; public var rank7:MovieClip; public var uv:URLVariables; public var rank1:MovieClip; public var req:URLRequest; public var rank9:MovieClip; public var RANK_MAX:int; public var rank8:MovieClip; public var ranker; public var btnEnd:SimpleButton; public function Timeline_84(){ addFrameScript(0, frame1, 1, frame2, 13, frame14, 18, frame19, 25, frame26, 31, frame32, 40, frame41); } public function func_send(_arg1:MouseEvent){ var _local2:*; var _local3:*; var _local4:*; var _local5:*; btnSend.removeEventListener(MouseEvent.MOUSE_DOWN, func_send); _local2 = tfName.text; playername = ""; _local3 = 0; while (_local3 < _local2.length) { _local4 = _local2.charAt(_local3); _local5 = _local2.charCodeAt(_local3); if ((((_local5 >= 32)) && ((_local5 <= 122)))){ playername = (playername + _local4); }; _local3++; }; gotoAndStop("send"); } public function start_send(){ req.url = ("hisc.cgi?" + Math.floor((Math.random() * 1000))); req.method = URLRequestMethod.POST; uv.score = score; uv.playername = playername; req.data = uv; loader.dataFormat = URLLoaderDataFormat.TEXT; loader.addEventListener(Event.COMPLETE, on_send); loader.load(req); } function frame14(){ stop(); start_load(); } function frame1(){ stop(); visible = false; RANK_MAX = 10; ranker = new Array(); score = 0; playername = ""; req = new URLRequest(); uv = new URLVariables(); loader = new URLLoader(); loader.addEventListener(IOErrorEvent.IO_ERROR, on_error); } function frame19(){ stop(); tfName.text = ""; btnSend.addEventListener(MouseEvent.MOUSE_DOWN, func_send); } function frame26(){ stop(); start_send(); } public function on_load(_arg1:Event){ var _local2:*; var _local3:*; var _local4:String; var _local5:Array; var _local6:*; var _local7:Array; loader.removeEventListener(Event.COMPLETE, on_load); _local4 = _arg1.target.data; _local5 = _local4.split("&"); _local2 = 0; while (_local2 < _local5.length) { _local7 = _local5[_local2].split("="); if (_local7[0].indexOf("score") >= 0){ _local3 = Number(_local7[0].slice(5)); ranker[_local3].score = Number(_local7[1]); }; if (_local7[0].indexOf("name") >= 0){ _local3 = Number(_local7[0].slice(4)); ranker[_local3].playername = _local7[1]; }; _local2++; }; _local6 = false; if (score > 0){ _local2 = 0; while (_local2 < RANK_MAX) { if (score > ranker[_local2].score){ _local6 = true; }; _local2++; }; }; if (_local6){ gotoAndStop("entry"); } else { gotoAndStop("display"); }; } public function on_error(_arg1:IOErrorEvent){ gotoAndStop("error"); } public function disp(_arg1){ var _local2:*; score = _arg1; _local2 = 0; while (_local2 < RANK_MAX) { ranker[_local2] = new Object(); ranker[_local2].score = 0; ranker[_local2].playername = ""; _local2++; }; gotoAndPlay(2); } public function start_load(){ req.url = ("hisc.cgi?" + Math.floor((Math.random() * 1000))); req.method = URLRequestMethod.GET; loader.dataFormat = URLLoaderDataFormat.TEXT; loader.addEventListener(Event.COMPLETE, on_load); loader.load(req); } function frame41(){ stop(); } function frame32(){ stop(); display_ranking(); btnEnd.addEventListener(MouseEvent.MOUSE_DOWN, func_end); } public function display_ranking(){ var _local1:*; var _local2:MovieClip; _local1 = 0; while (_local1 < RANK_MAX) { _local2 = this[("rank" + _local1)]; _local2.tfRank.text = (_local1 + 1); if (_local1 == 0){ _local2.tfRank.text = "Top"; }; _local2.tfName.text = ranker[_local1].playername; _local2.tfScore.text = ranker[_local1].score; _local1++; }; } public function func_end(_arg1:MouseEvent){ var _local2:Object; btnEnd.removeEventListener(MouseEvent.MOUSE_DOWN, func_end); gotoAndStop(1); _local2 = Object(parent); _local2.start_title(); } public function on_send(_arg1:Event){ var _local2:*; var _local3:*; var _local4:String; var _local5:Array; var _local6:Array; loader.removeEventListener(Event.COMPLETE, on_send); _local4 = _arg1.target.data; _local5 = _local4.split("&"); _local2 = 0; while (_local2 < _local5.length) { _local6 = _local5[_local2].split("="); if (_local6[0].indexOf("score") >= 0){ _local3 = Number(_local6[0].slice(5)); ranker[_local3].score = Number(_local6[1]); }; if (_local6[0].indexOf("name") >= 0){ _local3 = Number(_local6[0].slice(4)); ranker[_local3].playername = _local6[1]; }; _local2++; }; gotoAndStop("display"); } function frame2(){ visible = true; } } }//package mahjong_e_fla
Section 56
//Timeline_85 (mahjong_e_fla.Timeline_85) package mahjong_e_fla { import flash.display.*; public dynamic class Timeline_85 extends MovieClip { public function Timeline_85(){ addFrameScript(0, frame1); } function frame1(){ visible = false; } } }//package mahjong_e_fla
Section 57
//Timeline_88 (mahjong_e_fla.Timeline_88) package mahjong_e_fla { import flash.display.*; import flash.text.*; public dynamic class Timeline_88 extends MovieClip { public var tfName:TextField; public var tfScore:TextField; public var tfRank:TextField; } }//package mahjong_e_fla
Section 58
//Timeline_9 (mahjong_e_fla.Timeline_9) package mahjong_e_fla { import flash.display.*; public dynamic class Timeline_9 extends MovieClip { public function Timeline_9(){ addFrameScript(0, frame1); } function frame1(){ stop(); visible = false; } } }//package mahjong_e_fla
Section 59
//Timeline_90 (mahjong_e_fla.Timeline_90) package mahjong_e_fla { import flash.events.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Timeline_90 extends MovieClip { public var tepai_1_1:MovieClip; public var tepai_2_10:MovieClip; public var tepai_2_11:MovieClip; public var tepai_2_12:MovieClip; public var tepai_2_13:MovieClip; public var who; public var tepai_2_3:MovieClip; public var tepai_1_2:MovieClip; public var tepai_0_0:MovieClip; public var tepai_0_2:MovieClip; public var tepai_0_3:MovieClip; public var tepai_0_4:MovieClip; public var tepai_0_5:MovieClip; public var tepai_0_7:MovieClip; public var tepai_0_8:MovieClip; public var tepai_0_9:MovieClip; public var tepai_0_6:MovieClip; public var tepai_0_1:MovieClip; public var get_36:MovieClip; public var tepai_3_10:MovieClip; public var tepai_3_12:MovieClip; public var tepai_3_13:MovieClip; public var tepai_3_11:MovieClip; public var btn:SimpleButton; public var mcCurs:MovieClip; public var cpos; public var tepai_0_11:MovieClip; public var tepai_0_12:MovieClip; public var tepai_0_13:MovieClip; public var tepai_0_10:MovieClip; public var tepai_3_1:MovieClip; public var tepai_3_2:MovieClip; public var tepai_3_4:MovieClip; public var tepai_3_6:MovieClip; public var tepai_3_0:MovieClip; public var tepai_3_9:MovieClip; public var tepai_3_3:MovieClip; public var tepai_3_7:MovieClip; public var tepai_3_8:MovieClip; public var get_2:MovieClip; public var get_3:MovieClip; public var get_4:MovieClip; public var get_7:MovieClip; public var get_1:MovieClip; public var get_9:MovieClip; public var get_6:MovieClip; public var get_8:MovieClip; public var get_5:MovieClip; public var tepai_1_11:MovieClip; public var tepai_1_12:MovieClip; public var tepai_1_13:MovieClip; public var get_11:MovieClip; public var get_12:MovieClip; public var get_14:MovieClip; public var get_15:MovieClip; public var get_17:MovieClip; public var tepai_2_5:MovieClip; public var get_19:MovieClip; public var get_13:MovieClip; public var tepai_2_8:MovieClip; public var tepai_2_9:MovieClip; public var get_16:MovieClip; public var get_18:MovieClip; public var tepai_2_7:MovieClip; public var tepai_2_0:MovieClip; public var tepai_2_1:MovieClip; public var tepai_2_2:MovieClip; public var tepai_1_10:MovieClip; public var tepai_2_6:MovieClip; public var tepai_3_5:MovieClip; public var get_21:MovieClip; public var get_22:MovieClip; public var get_23:MovieClip; public var get_25:MovieClip; public var get_26:MovieClip; public var get_28:MovieClip; public var tepai_2_4:MovieClip; public var get_27:MovieClip; public var get_29:MovieClip; public var get_24:MovieClip; public var get_31:MovieClip; public var get_32:MovieClip; public var get_33:MovieClip; public var get_34:MovieClip; public var get_35:MovieClip; public var tepai_1_3:MovieClip; public var tepai_1_4:MovieClip; public var tepai_1_5:MovieClip; public var tepai_1_8:MovieClip; public var tepai_1_9:MovieClip; public var get_37:MovieClip; public var tepai_1_6:MovieClip; public var tepai_1_7:MovieClip; public var tepai_1_0:MovieClip; public function Timeline_90(){ addFrameScript(0, frame1, 1, frame2); } public function get_pai(_arg1){ var _local2:*; this[((("tepai_" + who) + "_") + cpos)].set_pat(_arg1); if (cpos >= 13){ return; }; _local2 = (cpos + 1); if (this[((("tepai_" + who) + "_") + _local2)].pat == 0){ return; }; cpos++; mcCurs.x = this[((("tepai_" + who) + "_") + cpos)].x; mcCurs.y = this[((("tepai_" + who) + "_") + cpos)].y; } public function start_debug(){ var _local1:Object; var _local2:*; var _local3:*; var _local4:*; var _local5:*; visible = true; _local1 = Object(parent); _local2 = 0; while (_local2 < 4) { _local3 = 0; while (_local3 < 14) { _local4 = (_local1.PN_TE(_local2) + _local3); _local5 = _local1.pais[_local4].pai; this[((("tepai_" + _local2) + "_") + _local3)].set_pat(_local5); _local3++; }; _local2++; }; cpos = 0; who = 0; mcCurs.x = this[((("tepai_" + who) + "_") + cpos)].x; mcCurs.y = this[((("tepai_" + who) + "_") + cpos)].y; } function frame1(){ stop(); } function frame2(){ stop(); visible = false; cpos = 0; who = 0; btn.addEventListener(MouseEvent.CLICK, end_debug); } public function end_debug(_arg1:MouseEvent){ var _local2:Object; visible = false; _local2 = Object(parent); _local2.end_pai_change(); } public function set_curs(_arg1:String){ var _local2:*; _local2 = _arg1.split("_"); who = Number(_local2[1]); cpos = Number(_local2[2]); mcCurs.x = this[((("tepai_" + who) + "_") + cpos)].x; mcCurs.y = this[((("tepai_" + who) + "_") + cpos)].y; } } }//package mahjong_e_fla
Section 60
//Timeline_91 (mahjong_e_fla.Timeline_91) package mahjong_e_fla { import flash.display.*; public dynamic class Timeline_91 extends MovieClip { public function Timeline_91(){ addFrameScript(0, frame1); } function frame1(){ visible = false; } } }//package mahjong_e_fla
Section 61
//Timeline_93 (mahjong_e_fla.Timeline_93) package mahjong_e_fla { import flash.events.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Timeline_93 extends MovieClip { public var a; public var mc:paiMC; public var pat; public function Timeline_93(){ addFrameScript(0, frame1); } function frame1(){ stop(); a = this.name.split("_"); pat = Number(a[1]); mc.gotoAndStop(pat); this.addEventListener(MouseEvent.MOUSE_DOWN, func); } public function func(_arg1:MouseEvent){ var _local2:Object; _local2 = Object(parent); _local2.get_pai(pat); } } }//package mahjong_e_fla
Section 62
//Timeline_95 (mahjong_e_fla.Timeline_95) package mahjong_e_fla { import flash.events.*; import flash.display.*; import flash.text.*; import flash.net.*; import adobe.utils.*; import flash.accessibility.*; import flash.errors.*; import flash.external.*; import flash.filters.*; import flash.geom.*; import flash.media.*; import flash.printing.*; import flash.system.*; import flash.ui.*; import flash.utils.*; import flash.xml.*; public dynamic class Timeline_95 extends MovieClip { public var mc:paiMC; public var pat; public function Timeline_95(){ addFrameScript(0, frame1); } function frame1(){ stop(); pat = 0; this.addEventListener(MouseEvent.MOUSE_DOWN, func); } public function set_pat(_arg1){ pat = _arg1; if (_arg1 > 0){ visible = true; mc.gotoAndStop(_arg1); } else { visible = false; }; } public function func(_arg1:MouseEvent){ var _local2:Object; _local2 = Object(parent); _local2.set_curs(this.name); } } }//package mahjong_e_fla
Section 63
//Actable (mj.Actable) package mj { public class Actable { public var sute_ok:Array; public var nine_ok:int; public var kanzai:Array; public var kantype:Array; public var tumo_nasi:int; public var reach_ok:int; public var kanzai_c:int; public var tumo_ok:int; public var yakunasi:int; public var tenbo_nasi:int; public var ukehenka:int; public function Actable(){ sute_ok = new Array(); kanzai = new Array(); kantype = new Array(); super(); } public function init(){ var _local1:*; _local1 = 0; while (_local1 < 14) { sute_ok[_local1] = 0; kanzai[_local1] = 0; kantype[_local1] = 0; _local1++; }; tumo_ok = 0; yakunasi = 0; reach_ok = 0; tumo_nasi = 0; tenbo_nasi = 0; kanzai_c = 0; ukehenka = 0; nine_ok = 0; } } }//package mj
Section 64
//Action (mj.Action) package mj { public class Action { public var push:Array; public var code;// = "" public function Action(){ code = ""; push = new Array(); super(); } public function init(){ var _local1:*; code = ""; _local1 = 0; while (_local1 < 14) { push[_local1] = 0; _local1++; }; } } }//package mj
Section 65
//Hanchan (mj.Hanchan) package mj { public class Hanchan { public var pt:Array; public var honba:int; public var kyoku_max:int; public var end_code:String; public var his:Array; public var top:int; public var kyoku_c:int; public var sim:Array; public var deoya:int; public var horyu:int; public var oya:int; public var kyoku_sum:int; public function Hanchan(){ pt = new Array(4); sim = new Array(4); his = new Array(); super(); } public function init(){ var _local1:*; kyoku_c = 0; kyoku_max = 7; kyoku_sum = 0; oya = (deoya = Math.floor((Math.random() * 4))); honba = (horyu = 0); top = 0; _local1 = 0; while (_local1 < 4) { pt[_local1] = new Object(); pt[_local1].tenbo = 25000; pt[_local1].point = 0; pt[_local1].jun = 0; sim[_local1] = new Object(); _local1++; }; end_code = ""; } } }//package mj
Section 66
//Hora (mj.Hora) package mj { public class Hora { public var k_ments:Array; public var ryanmen_f:Number;// = 0 public var yakuman_c:Number;// = 0 public var yakuari_f:Number;// = 0 public var kanchan_f:Number;// = 0 public var ten_oya:Number;// = 0 public var penchan_f:Number;// = 0 public var ten_half:Number;// = 0 public var machikei_ten:Number;// = 0 public var ten:Number;// = 0 public var ments_ten:Number;// = 0 public var mangan_v:Number;// = 0 public var han_c:Number;// = 0 public var tumo_ten:Number;// = 0 public var ten_ko:Number;// = 0 public var ten_qurt:Number;// = 0 public var fu:Number;// = 0 public var ten_hora:Number;// = 0 public var pay_mode:Number;// = 0 public var fu_sum:Number;// = 0 public var hora_f:Number;// = 0 public var oya_f:Number;// = 0 public var tanki_f:Number;// = 0 public var yaku_type:Number;// = 0 public var futei:Number;// = 0 public var shanpon_f:Number;// = 0 public var yaku:Array; public var machi_k:Number;// = 0 public function Hora(){ var _local1:*; hora_f = 0; ryanmen_f = 0; kanchan_f = 0; penchan_f = 0; shanpon_f = 0; tanki_f = 0; machi_k = 0; futei = 0; ments_ten = 0; machikei_ten = 0; tumo_ten = 0; fu_sum = 0; fu = 0; yaku_type = 0; han_c = 0; yakuman_c = 0; yakuari_f = 0; ten = 0; ten_ko = 0; ten_oya = 0; ten_half = 0; ten_qurt = 0; mangan_v = 0; ten_hora = 0; oya_f = 0; pay_mode = 0; super(); k_ments = new Array(7); yaku = new Array(64); _local1 = 0; while (_local1 < 7) { k_ments[_local1] = new Ments(); _local1++; }; _local1 = 0; while (_local1 < 64) { yaku[_local1] = 0; _local1++; }; } } }//package mj
Section 67
//Horainfo (mj.Horainfo) package mj { public class Horainfo { public var tt:Array; var nt:Array; public var ymat:Yakumat; public var s_ments:Array; var kokusi_f:Number; var yaopai:Array; var tmp:Hora; public var dora:Array; var toi_c:Number; public var hora:Hora; public var a_pai:Number;// = 0 public function Horainfo(){ var _local1:*; a_pai = 0; super(); tt = new Array(40); nt = new Array(40); s_ments = new Array(4); dora = new Array(10); ymat = new Yakumat(); yaopai = [0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0]; hora = new Hora(); _local1 = 0; while (_local1 < 40) { tt[_local1] = 0; _local1++; }; _local1 = 0; while (_local1 < 4) { s_ments[_local1] = new Ments(); _local1++; }; _local1 = 0; while (_local1 < 10) { dora[_local1] = 0; _local1++; }; } function ments_nuki2(){ var _local1:*; var _local2:*; _local1 = 1; _local2 = 1; while (_local2 <= 37) { if (nt[_local2] == 0){ } else { if (_local2 >= 31){ return (0); }; if ((_local2 % 10) > 7){ return (0); }; if (nt[_local2] == 0){ } else { if (nt[(_local2 + 1)] == 0){ return (0); }; if (nt[(_local2 + 2)] == 0){ return (0); }; var _local3 = nt; var _local4 = _local2; var _local5 = (_local3[_local4] - 1); _local3[_local4] = _local5; _local3 = nt; _local4 = (_local2 + 1); _local5 = (_local3[_local4] - 1); _local3[_local4] = _local5; _local3 = nt; _local4 = (_local2 + 2); _local5 = (_local3[_local4] - 1); _local3[_local4] = _local5; tmp.k_ments[_local1].at = 2; tmp.k_ments[_local1].pai = _local2; _local1++; if (nt[_local2] == 0){ } else { if (nt[(_local2 + 1)] == 0){ return (0); }; if (nt[(_local2 + 2)] == 0){ return (0); }; _local3 = nt; _local4 = _local2; _local5 = (_local3[_local4] - 1); _local3[_local4] = _local5; _local3 = nt; _local4 = (_local2 + 1); _local5 = (_local3[_local4] - 1); _local3[_local4] = _local5; _local3 = nt; _local4 = (_local2 + 2); _local5 = (_local3[_local4] - 1); _local3[_local4] = _local5; tmp.k_ments[_local1].at = 2; tmp.k_ments[_local1].pai = _local2; _local1++; if (nt[_local2] == 0){ } else { if (nt[(_local2 + 1)] == 0){ return (0); }; if (nt[(_local2 + 2)] == 0){ return (0); }; _local3 = nt; _local4 = _local2; _local5 = (_local3[_local4] - 1); _local3[_local4] = _local5; _local3 = nt; _local4 = (_local2 + 1); _local5 = (_local3[_local4] - 1); _local3[_local4] = _local5; _local3 = nt; _local4 = (_local2 + 2); _local5 = (_local3[_local4] - 1); _local3[_local4] = _local5; tmp.k_ments[_local1].at = 2; tmp.k_ments[_local1].pai = _local2; _local1++; if (nt[_local2] == 0){ } else { if (nt[(_local2 + 1)] == 0){ return (0); }; if (nt[(_local2 + 2)] == 0){ return (0); }; _local3 = nt; _local4 = _local2; _local5 = (_local3[_local4] - 1); _local3[_local4] = _local5; _local3 = nt; _local4 = (_local2 + 1); _local5 = (_local3[_local4] - 1); _local3[_local4] = _local5; _local3 = nt; _local4 = (_local2 + 2); _local5 = (_local3[_local4] - 1); _local3[_local4] = _local5; tmp.k_ments[_local1].at = 2; tmp.k_ments[_local1].pai = _local2; _local1++; }; }; }; }; }; _local2++; }; return (1); } function CheckHoraNormal(){ var _local1:*; var _local2:*; toi_c = 0; kokusi_f = 1; _local1 = 1; while (_local1 <= 37) { if (tt[_local1] >= 2){ toi_c++; tmp = new Hora(); _local2 = 0; while (_local2 < 40) { nt[_local2] = tt[_local2]; _local2++; }; nt[_local1] = (nt[_local1] - 2); tmp.k_ments[0].at = 1; tmp.k_ments[0].pai = _local1; if (ments_nuki()){ set_hora_normal(); if ((((tmp.ten_hora > hora.ten_hora)) || ((tmp.han_c > hora.han_c)))){ copy_hora(); }; tmp = new Hora(); _local2 = 0; while (_local2 < 40) { nt[_local2] = tt[_local2]; _local2++; }; nt[_local1] = (nt[_local1] - 2); tmp.k_ments[0].at = 1; tmp.k_ments[0].pai = _local1; if (ments_nuki2()){ set_hora_normal(); if ((((tmp.ten_hora > hora.ten_hora)) || ((tmp.han_c > hora.han_c)))){ copy_hora(); }; }; }; }; if (tt[_local1]){ if (yaopai[_local1] == 0){ kokusi_f = 0; }; } else { if (yaopai[_local1]){ kokusi_f = 0; }; }; _local1++; }; } function CheckHoraChitoi(){ tmp = new Hora(); set_hora_chitoi(); copy_hora(); } function kiriage(_arg1, _arg2){ var _local3:*; if (_arg2 == 0){ return (_arg1); }; _local3 = (_arg1 % _arg2); if (_local3){ _arg1 = ((_arg1 - _local3) + _arg2); }; return (_arg1); } function set_yakulist(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:*; var _local9:*; var _local10:*; var _local11:*; var _local12:*; var _local13:*; var _local14:*; var _local15:*; var _local16:*; var _local17:*; var _local18:*; var _local19:*; var _local20:*; var _local21:*; var _local22:*; var _local23:*; var _local24:*; var _local25:*; var _local26:*; var _local27:*; _local7 = 0; _local8 = 0; _local9 = [0, 0, 0, 0]; _local10 = 0; _local11 = 0; _local12 = 0; _local13 = 0; _local14 = 0; _local15 = 0; _local16 = 0; _local17 = 0; _local18 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]]; _local19 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]]; _local20 = [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]]; _local21 = 0; _local22 = 0; _local23 = 0; _local24 = 0; _local1 = 0; while (_local1 < 7) { _local25 = tmp.k_ments[_local1].pai; if (_local25 == 0){ } else { _local26 = tmp.k_ments[_local1].at; if (_local26 == 9){ } else { _local3 = Math.floor((_local25 / 10)); _local4 = (_local25 % 10); var _local28 = _local9; var _local29 = _local3; var _local30 = (_local28[_local29] + 1); _local28[_local29] = _local30; if ((((_local26 == 2)) || ((_local26 == 5)))){ if ((((_local4 == 1)) || ((_local4 == 7)))){ _local11++; } else { _local10++; }; } else { if (_local3 == 3){ _local11++; } else { if ((((_local4 == 1)) || ((_local4 == 9)))){ _local11++; } else { _local10++; }; }; }; switch (tmp.k_ments[_local1].at){ case 1: if (_local3 == 3){ if (_local4 <= 4){ _local24 = 1; } else { _local24 = 2; }; }; _local20[_local3][_local4] = (_local20[_local3][_local4] + 2); break; case 2: _local16++; case 5: _local13++; _local28 = _local19[_local3]; _local29 = _local4; _local30 = (_local28[_local29] + 1); _local28[_local29] = _local30; _local28 = _local20[_local3]; _local29 = _local4; _local30 = (_local28[_local29] + 1); _local28[_local29] = _local30; _local28 = _local20[_local3]; _local29 = (_local4 + 1); _local30 = (_local28[_local29] + 1); _local28[_local29] = _local30; _local28 = _local20[_local3]; _local29 = (_local4 + 2); _local30 = (_local28[_local29] + 1); _local28[_local29] = _local30; break; case 3: _local14++; case 6: _local12++; _local28 = _local18[_local3]; _local29 = _local4; _local30 = (_local28[_local29] + 1); _local28[_local29] = _local30; if (_local3 == 3){ if (_local4 <= 4){ if (_local4 == ymat.bakaze){ _local21++; }; if (_local4 == ymat.jikaze){ _local21++; }; _local23++; } else { _local21++; _local22++; }; }; _local20[_local3][_local4] = (_local20[_local3][_local4] + 3); break; case 4: _local14++; case 7: _local15++; _local12++; _local28 = _local18[_local3]; _local29 = _local4; _local30 = (_local28[_local29] + 1); _local28[_local29] = _local30; if (_local3 == 3){ if (_local4 <= 4){ if (_local4 == ymat.bakaze){ _local21++; }; if (_local4 == ymat.jikaze){ _local21++; }; _local23++; } else { _local21++; _local22++; }; }; _local20[_local3][_local4] = 4; break; case 8: _local17++; _local20[_local3][_local4] = (_local20[_local3][_local4] + 2); break; default: break; }; }; }; _local1++; }; _local3 = 0; while (_local3 <= 2) { if (_local9[_local3]){ _local8++; _local7 = _local3; }; _local3++; }; if (ymat.reach_f){ if (ymat.double_f){ tmp.yaku[0] = 2; } else { tmp.yaku[1] = 1; }; if (ymat.ippatsu_f){ tmp.yaku[2] = 1; }; }; if (ymat.haitei_f){ if (ymat.tumo_f){ tmp.yaku[3] = 1; } else { tmp.yaku[4] = 1; }; }; if (((ymat.rinshan_f) && (ymat.tumo_f))){ tmp.yaku[5] = 1; tmp.yaku[3] = 0; tmp.yaku[4] = 0; }; if (ymat.chankan_f){ tmp.yaku[6] = 1; tmp.yaku[2] = 0; }; if (ymat.tumo_f){ tmp.yaku[7] = 1; }; if (ymat.shojun_f){ if (ymat.jikaze == 1){ tmp.yaku[31] = 1; } else { if (ymat.tumo_f){ tmp.yaku[32] = 1; } else { tmp.yaku[33] = 1; }; }; }; tmp.yaku[20] = _local21; if (_local22 == 3){ tmp.yaku[35] = 1; if (tmp.yaku[20] >= 3){ tmp.yaku[20] = (tmp.yaku[20] - 3); }; }; if ((((_local22 == 2)) && ((_local24 == 2)))){ tmp.yaku[19] = 4; if (tmp.yaku[20] >= 2){ tmp.yaku[20] = (tmp.yaku[20] - 2); }; }; if (_local23 == 4){ tmp.yaku[37] = 1; }; if ((((_local23 == 3)) && ((_local24 == 1)))){ tmp.yaku[36] = 1; }; if (_local8 == 0){ tmp.yaku[38] = 1; }; if (_local8 == 1){ if (_local9[3]){ tmp.yaku[8] = 3; } else { tmp.yaku[9] = 6; _local6 = 0; _local3 = _local7; if ((((_local20[_local3][1] < 3)) || ((_local20[_local3][9] < 3)))){ _local6 = 1; }; _local4 = 1; while (_local4 <= 9) { if (_local20[_local3][_local4] == 0){ _local6 = 1; }; _local4++; }; if (_local15){ _local6 = 1; }; if (_local6 == 0){ tmp.yaku[42] = 1; }; _local6 = 0; _local4 = 2; while (_local4 <= 8) { if (_local20[1][_local4] < 2){ _local6 = 1; }; _local4++; }; if (_local6 == 0){ tmp.yaku[44] = 1; }; }; if (_local7 == 2){ _local27 = [0, 0, 1, 1, 1, 0, 1, 0, 1, 0]; _local6 = 0; _local3 = 0; while (_local3 < 3) { _local4 = 1; while (_local4 < 10) { if (!_local20[_local3][_local4]){ } else { if (_local27[_local4] == 0){ _local6 = 1; }; }; _local4++; }; _local3++; }; _local4 = 1; while (_local4 <= 7) { if (_local4 != 6){ if (_local20[3][_local4]){ _local6 = 1; }; }; _local4++; }; if (_local6 == 0){ tmp.yaku[43] = 1; }; }; }; if (_local11 == 0){ tmp.yaku[13] = 1; }; if (_local10 == 0){ if (_local13){ if (_local9[3]){ tmp.yaku[10] = 2; } else { tmp.yaku[11] = 3; }; } else { if (_local9[3]){ tmp.yaku[12] = 2; } else { tmp.yaku[34] = 1; }; }; }; if (_local14 == 3){ tmp.yaku[15] = 2; }; if (_local14 == 4){ tmp.yaku[39] = 1; }; if (_local15 == 3){ tmp.yaku[16] = 2; }; if (_local15 == 4){ tmp.yaku[40] = 1; }; if (_local12 == 4){ tmp.yaku[17] = 2; }; if (_local17 == 7){ tmp.yaku[14] = 2; }; _local4 = 1; while (_local4 <= 9) { _local5 = 0; _local3 = 0; while (_local3 <= 2) { if (_local18[_local3][_local4]){ _local5++; }; _local3++; }; if (_local5 == 3){ tmp.yaku[18] = 2; }; _local4++; }; if (_local16 == 4){ if (tmp.ryanmen_f){ if (tmp.k_ments[0].fu == 0){ tmp.yaku[21] = 1; }; }; }; _local4 = 1; while (_local4 <= 9) { _local5 = 0; _local3 = 0; while (_local3 <= 2) { if (_local19[_local3][_local4]){ _local5++; }; _local3++; }; if (_local5 == 3){ tmp.yaku[22] = 2; }; _local4++; }; _local3 = 0; while (_local3 <= 2) { if (_local19[_local3][1]){ if (_local19[_local3][4]){ if (_local19[_local3][7]){ tmp.yaku[23] = 2; }; }; }; _local3++; }; if (!ymat.furo_f){ _local5 = 0; _local3 = 0; while (_local3 <= 2) { _local4 = 1; while (_local4 <= 9) { if (_local19[_local3][_local4] >= 2){ _local5++; }; if (_local19[_local3][_local4] == 4){ _local5++; }; _local4++; }; _local3++; }; if (_local5 == 1){ tmp.yaku[24] = 1; }; if (_local5 == 2){ tmp.yaku[25] = 3; }; }; if (tmp.k_ments[0].at == 9){ tmp.yaku[41] = 1; tmp.yaku[38] = 0; tmp.yaku[12] = 0; tmp.yaku[34] = 0; tmp.yaku[13] = 0; }; _local1 = 0; while (_local1 < 5) { if (!dora[_local1]){ } else { _local3 = Math.floor((dora[_local1] / 10)); _local4 = (dora[_local1] % 10); tmp.yaku[27] = (tmp.yaku[27] + _local20[_local3][_local4]); }; _local1++; }; if (ymat.reach_f){ _local1 = 5; while (_local1 < 10) { if (!dora[_local1]){ } else { _local3 = Math.floor((dora[_local1] / 10)); _local4 = (dora[_local1] % 10); tmp.yaku[28] = (tmp.yaku[28] + _local20[_local3][_local4]); }; _local1++; }; }; if (ymat.furo_f){ tmp.yaku[0] = 0; tmp.yaku[1] = 0; tmp.yaku[2] = 0; tmp.yaku[7] = 0; tmp.yaku[21] = 0; tmp.yaku[24] = 0; tmp.yaku[14] = 0; tmp.yaku[25] = 0; tmp.yaku[42] = 0; tmp.yaku[44] = 0; tmp.yaku[39] = 0; tmp.yaku[41] = 0; if (tmp.yaku[8]){ tmp.yaku[8] = 2; }; if (tmp.yaku[9]){ tmp.yaku[9] = 5; }; if (tmp.yaku[10]){ tmp.yaku[10] = 1; }; if (tmp.yaku[11]){ tmp.yaku[11] = 2; }; if (tmp.yaku[22]){ tmp.yaku[22] = 1; }; if (tmp.yaku[23]){ tmp.yaku[23] = 1; }; }; } function copy_hora(){ var _local1:*; hora.hora_f = tmp.hora_f; _local1 = 0; while (_local1 < 7) { hora.k_ments[_local1].at = tmp.k_ments[_local1].at; hora.k_ments[_local1].pai = tmp.k_ments[_local1].pai; hora.k_ments[_local1].dr = tmp.k_ments[_local1].dr; hora.k_ments[_local1].fu = tmp.k_ments[_local1].fu; _local1++; }; hora.ryanmen_f = tmp.ryanmen_f; hora.kanchan_f = tmp.kanchan_f; hora.penchan_f = tmp.penchan_f; hora.shanpon_f = tmp.shanpon_f; hora.tanki_f = tmp.tanki_f; hora.machi_k = tmp.machi_k; hora.futei = tmp.futei; hora.ments_ten = tmp.ments_ten; hora.machikei_ten = tmp.machikei_ten; hora.tumo_ten = tmp.tumo_ten; hora.fu_sum = tmp.fu_sum; hora.fu = tmp.fu; _local1 = 0; while (_local1 < 64) { hora.yaku[_local1] = tmp.yaku[_local1]; _local1++; }; hora.yaku_type = tmp.yaku_type; hora.han_c = tmp.han_c; hora.yakuman_c = tmp.yakuman_c; hora.yakuari_f = tmp.yakuari_f; hora.ten = tmp.ten; hora.ten_ko = tmp.ten_ko; hora.ten_oya = tmp.ten_oya; hora.ten_half = tmp.ten_half; hora.ten_qurt = tmp.ten_qurt; hora.mangan_v = tmp.mangan_v; hora.ten_hora = tmp.ten_hora; hora.oya_f = tmp.oya_f; hora.pay_mode = tmp.pay_mode; } function CheckHoraKokusi(){ tmp = new Hora(); set_hora_kokusi(); copy_hora(); } function set_yakuinfo(){ var _local1:*; tmp.han_c = 0; _local1 = 0; while (_local1 < 30) { tmp.han_c = (tmp.han_c + tmp.yaku[_local1]); _local1++; }; tmp.yakuman_c = 0; _local1 = 31; while (_local1 < 64) { tmp.yakuman_c = (tmp.yakuman_c + tmp.yaku[_local1]); _local1++; }; tmp.yakuari_f = 0; _local1 = 0; while (_local1 < 27) { if (tmp.yaku[_local1]){ tmp.yakuari_f = 1; }; _local1++; }; if (tmp.yakuman_c){ _local1 = 0; while (_local1 < 30) { tmp.yaku[_local1] = 0; _local1++; }; tmp.yakuari_f = 1; }; } function set_hora_normal(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; tmp.hora_f = 1; _local1 = 0; while (_local1 < 4) { if (s_ments[_local1].pai == 0){ } else { _local3 = 0; _local2 = 1; while (_local2 < 5) { if (tmp.k_ments[_local2].pai == 0){ _local3 = _local2; break; }; _local2++; }; tmp.k_ments[_local3].pai = s_ments[_local1].pai; tmp.k_ments[_local3].at = s_ments[_local1].at; }; _local1++; }; _local1 = 0; while (_local1 < 5) { _local4 = tmp.k_ments[_local1].pai; switch (tmp.k_ments[_local1].at){ case 1: if (_local4 == a_pai){ tmp.tanki_f = 1; }; break; case 2: if (_local4 == a_pai){ if ((a_pai % 10) == 7){ tmp.penchan_f = 1; } else { tmp.ryanmen_f = 1; }; } else { if (_local4 == (a_pai - 1)){ tmp.kanchan_f = 1; } else { if (_local4 == (a_pai - 2)){ if ((a_pai % 10) == 3){ tmp.penchan_f = 1; } else { tmp.ryanmen_f = 1; }; }; }; }; case 3: if (_local4 == a_pai){ tmp.shanpon_f = 1; }; break; }; _local1++; }; if (tmp.shanpon_f != 0){ tmp.machi_k = 4; }; if (tmp.ryanmen_f != 0){ tmp.machi_k = 5; }; if (tmp.tanki_f != 0){ tmp.machi_k = 1; }; if (tmp.kanchan_f != 0){ tmp.machi_k = 3; }; if (tmp.penchan_f != 0){ tmp.machi_k = 2; }; if ((((ymat.tumo_f == 0)) && ((tmp.machi_k == 4)))){ _local1 = 0; while (_local1 < 5) { if (tmp.k_ments[_local1].at == 3){ if (tmp.k_ments[_local1].pai == a_pai){ tmp.k_ments[_local1].at = 6; }; }; _local1++; }; }; _local1 = 0; while (_local1 < 5) { _local5 = 0; _local6 = tmp.k_ments[_local1].pai; switch (tmp.k_ments[_local1].at){ case 1: _local5 = (yakupai(_local6, ymat.bakaze, ymat.jikaze) * 2); break; case 3: _local5 = ((yaopai[_local6])!=0) ? 8 : 4; break; case 6: _local5 = ((yaopai[_local6])!=0) ? 4 : 2; break; case 4: _local5 = ((yaopai[_local6])!=0) ? 32 : 16; break; case 7: _local5 = ((yaopai[_local6])!=0) ? 16 : 8; break; default: break; }; tmp.k_ments[_local1].fu = _local5; _local1++; }; tmp.futei = ((((ymat.furo_f == 0)) && ((ymat.tumo_f == 0)))) ? 30 : 20; tmp.ments_ten = 0; _local1 = 0; while (_local1 < 5) { if (tmp.k_ments[_local1].pai != 0){ tmp.ments_ten = (tmp.ments_ten + tmp.k_ments[_local1].fu); }; _local1++; }; switch (tmp.machi_k){ case 1: case 2: case 3: tmp.machikei_ten = 2; break; default: tmp.machikei_ten = 0; break; }; tmp.tumo_ten = (ymat.tumo_f) ? 2 : 0; tmp.fu_sum = (((tmp.futei + tmp.ments_ten) + tmp.machikei_ten) + tmp.tumo_ten); tmp.fu = (Math.floor((tmp.fu_sum / 10)) * 10); if ((tmp.fu_sum % 10)){ tmp.fu = (tmp.fu + 10); }; set_yakulist(); set_yakuinfo(); tmp.yaku_type = 1; if (tmp.yaku[21]){ tmp.machi_k = 5; tmp.machikei_ten = 0; tmp.tumo_ten = 0; tmp.fu_sum = (((tmp.futei + tmp.ments_ten) + tmp.machikei_ten) + tmp.tumo_ten); tmp.fu = (Math.floor((tmp.fu_sum / 10)) * 10); if ((tmp.fu_sum % 10)){ tmp.fu = (tmp.fu + 10); }; }; if (ymat.furo_f){ if (tmp.fu == 20){ tmp.fu = 30; }; }; set_teninfo(); } function yakupai(_arg1, _arg2, _arg3){ var _local4:*; var _local5:*; _local4 = 0; if (_arg1 > 30){ _local5 = (_arg1 % 10); if (_local5 > 4){ _local4 = 1; } else { if (_local5 == _arg2){ _local4++; }; if (_local5 == _arg3){ _local4++; }; }; }; return (_local4); } function ments_nuki(){ var _local1:*; var _local2:*; _local1 = 1; _local2 = 1; while (_local2 <= 37) { if (nt[_local2] >= 3){ nt[_local2] = (nt[_local2] - 3); tmp.k_ments[_local1].at = 3; tmp.k_ments[_local1].pai = _local2; _local1++; }; if (nt[_local2] == 0){ } else { if (_local2 >= 31){ return (0); }; if ((_local2 % 10) > 7){ return (0); }; if (nt[(_local2 + 1)] == 0){ return (0); }; if (nt[(_local2 + 2)] == 0){ return (0); }; var _local3 = nt; var _local4 = _local2; var _local5 = (_local3[_local4] - 1); _local3[_local4] = _local5; _local3 = nt; _local4 = (_local2 + 1); _local5 = (_local3[_local4] - 1); _local3[_local4] = _local5; _local3 = nt; _local4 = (_local2 + 2); _local5 = (_local3[_local4] - 1); _local3[_local4] = _local5; tmp.k_ments[_local1].at = 2; tmp.k_ments[_local1].pai = _local2; _local1++; if (nt[_local2] == 0){ } else { if (nt[(_local2 + 1)] == 0){ return (0); }; if (nt[(_local2 + 2)] == 0){ return (0); }; _local3 = nt; _local4 = _local2; _local5 = (_local3[_local4] - 1); _local3[_local4] = _local5; _local3 = nt; _local4 = (_local2 + 1); _local5 = (_local3[_local4] - 1); _local3[_local4] = _local5; _local3 = nt; _local4 = (_local2 + 2); _local5 = (_local3[_local4] - 1); _local3[_local4] = _local5; tmp.k_ments[_local1].at = 2; tmp.k_ments[_local1].pai = _local2; _local1++; }; }; _local2++; }; return (1); } function set_hora_kokusi(){ tmp.k_ments[0].pai = 1; tmp.k_ments[0].at = 9; tmp.hora_f = 1; tmp.machi_k = 0; set_yakulist(); set_yakuinfo(); tmp.yaku_type = 3; set_teninfo(); } function set_teninfo(){ var _local1:*; var _local2:*; var _local3:*; _local1 = tmp.fu; _local1 = (_local1 * 4); _local1 = (_local1 * 4); _local2 = 0; while (_local2 < tmp.han_c) { _local1 = (_local1 * 2); _local2++; }; _local3 = 0; if (_local1 >= 0x1E00){ _local3 = 1; _local1 = 8000; }; if (_local1 >= 8000){ _local3 = 1; _local1 = 8000; }; if (tmp.han_c >= 6){ _local3 = 2; _local1 = 12000; }; if (tmp.han_c >= 8){ _local3 = 3; _local1 = 16000; }; if (tmp.han_c >= 11){ _local3 = 4; _local1 = 24000; }; if (tmp.han_c >= 13){ _local3 = 5; _local1 = 0x7D00; }; if (tmp.yakuman_c == 1){ _local3 = 6; _local1 = 0x7D00; }; if (tmp.yakuman_c == 2){ _local3 = 7; _local1 = 0xFA00; }; if (tmp.yakuman_c == 3){ _local3 = 8; _local1 = 96000; }; if (tmp.yakuman_c >= 4){ _local3 = 9; _local1 = 128000; }; tmp.mangan_v = _local3; tmp.ten = _local1; tmp.ten_ko = kiriage(_local1, 100); tmp.ten_oya = kiriage(((_local1 * 3) / 2), 100); tmp.ten_half = kiriage((_local1 / 2), 100); tmp.ten_qurt = kiriage((_local1 / 4), 100); if (ymat.jikaze == 1){ tmp.oya_f = 1; tmp.ten_hora = tmp.ten_oya; } else { tmp.oya_f = 0; tmp.ten_hora = tmp.ten_ko; }; if (ymat.tumo_f){ tmp.pay_mode = 1; } else { tmp.pay_mode = 0; }; } function set_hora_chitoi(){ var _local1:*; var _local2:*; _local1 = 0; _local2 = 1; while (_local2 <= 37) { if (tt[_local2] == 2){ tmp.k_ments[_local1].pai = _local2; tmp.k_ments[_local1].at = 8; _local1++; }; _local2++; }; tmp.hora_f = 1; tmp.tanki_f = 1; tmp.machi_k = 1; tmp.fu = 25; set_yakulist(); set_yakuinfo(); tmp.yaku_type = 2; set_teninfo(); } public function CheckHora(){ CheckHoraNormal(); if ((((hora.hora_f == 0)) && ((toi_c == 7)))){ CheckHoraChitoi(); }; if (kokusi_f){ CheckHoraKokusi(); }; } } }//package mj
Section 68
//HoraSmall (mj.HoraSmall) package mj { public class HoraSmall { public var high:Number;// = 0 public var yakuari_f:Number;// = 0 public var ten_ron:Number;// = 0 public var mangan_v:Number;// = 0 public var han_c:Number;// = 0 public var a_pai:Number;// = 0 public var low:Number;// = 0 public var hora_f:Number;// = 0 public function HoraSmall(){ hora_f = 0; a_pai = 0; han_c = 0; mangan_v = 0; ten_ron = 0; yakuari_f = 0; high = 0; low = 0; super(); hora_f = 0; a_pai = 0; han_c = 0; mangan_v = 0; ten_ron = 0; yakuari_f = 0; high = 0; low = 0; } } }//package mj
Section 69
//KanAbility (mj.KanAbility) package mj { public class KanAbility { public var tt:Array; public var atari:Array; var nt:Array; public function KanAbility(){ tt = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; nt = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; atari = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; } public function check_tenpai(){ var _local1:*; var _local2:*; var _local3:*; _local1 = 1; while (_local1 <= 37) { if (tt[_local1] >= 4){ } else { var _local4 = tt; var _local5 = _local1; var _local6 = (_local4[_local5] + 1); _local4[_local5] = _local6; _local2 = 1; while (_local2 <= 37) { if (tt[_local2] < 2){ } else { tt[_local2] = (tt[_local2] - 2); _local3 = 0; while (_local3 < 40) { nt[_local3] = tt[_local3]; _local3++; }; if (ments_nuki()){ atari[_local1] = 1; }; tt[_local2] = (tt[_local2] + 2); }; _local2++; }; _local4 = tt; _local5 = _local1; _local6 = (_local4[_local5] - 1); _local4[_local5] = _local6; }; _local1++; }; } function ments_nuki(){ var _local1:*; _local1 = 1; while (_local1 <= 37) { if (nt[_local1] >= 3){ nt[_local1] = (nt[_local1] - 3); }; if (nt[_local1] == 0){ } else { if (_local1 >= 31){ return (0); }; if ((_local1 % 10) > 7){ return (0); }; if (nt[(_local1 + 1)] == 0){ return (0); }; if (nt[(_local1 + 2)] == 0){ return (0); }; var _local2 = nt; var _local3 = _local1; var _local4 = (_local2[_local3] - 1); _local2[_local3] = _local4; _local2 = nt; _local3 = (_local1 + 1); _local4 = (_local2[_local3] - 1); _local2[_local3] = _local4; _local2 = nt; _local3 = (_local1 + 2); _local4 = (_local2[_local3] - 1); _local2[_local3] = _local4; if (nt[_local1] == 0){ } else { if (nt[(_local1 + 1)] == 0){ return (0); }; if (nt[(_local1 + 2)] == 0){ return (0); }; _local2 = nt; _local3 = _local1; _local4 = (_local2[_local3] - 1); _local2[_local3] = _local4; _local2 = nt; _local3 = (_local1 + 1); _local4 = (_local2[_local3] - 1); _local2[_local3] = _local4; _local2 = nt; _local3 = (_local1 + 2); _local4 = (_local2[_local3] - 1); _local2[_local3] = _local4; }; }; _local1++; }; return (1); } } }//package mj
Section 70
//Kyoku (mj.Kyoku) package mj { public class Kyoku { public var ten_dest:Array; public var hora:Hora; public var ten_add:Array; public var tumo_f:int; public var never_who:int; public var dora_pos:int; public var who_act:int; public var member:Array; public var haitei_pos:int; public var pai:int; public var dice:Array; public var reaction:Action; public var chankan_f:int; public var mota_c:int; public var action:Action; public var rest_c:int; public var rinshan_f:int; public var com_wait_tc; public var kan_c:int; public var who_react:int; public var who_furi:int; public var bakaze:int; public var jikaze:Array; public var com_wait_reach; public var kpai:Array; public var end_code:String; public var who_hora:int; public var tumoaction:Action; public var never_pai:int; public var cnt:int; public var rinshan_pos:int; public var haitei_f:int; public var not_shojun:int; public var never_mode:int; public var dora:Array; public var pn:int; public var tumo_pos:int; public function Kyoku(){ var _local1:*; dice = new Array(2); jikaze = new Array(4); dora = new Array(10); kpai = new Array(4); tumoaction = new Action(); action = new Action(); reaction = new Action(); member = new Array(4); ten_add = new Array(); ten_dest = new Array(); super(); _local1 = 0; while (_local1 < 4) { member[_local1] = new Member(); _local1++; }; } public function init(){ var _local1:*; _local1 = 0; while (_local1 < 2) { dice[_local1] = 0; _local1++; }; bakaze = 0; _local1 = 0; while (_local1 < 4) { jikaze[_local1] = 0; _local1++; }; _local1 = 0; while (_local1 < 10) { dora[_local1] = 0; _local1++; }; tumo_pos = 0; haitei_pos = 0; rinshan_pos = 0; dora_pos = 0; rest_c = 0; kan_c = 0; mota_c = 0; who_act = 0; who_react = 0; pn = 0; pai = 0; tumoaction.init(); action.init(); reaction.init(); not_shojun = 0; haitei_f = 0; rinshan_f = 0; chankan_f = 0; _local1 = 0; while (_local1 < 4) { member[_local1].init(); _local1++; }; never_mode = 0; never_who = 0; never_pai = 0; end_code = ""; who_hora = 0; who_furi = 0; cnt = 0; } public function copy_reaction(_arg1){ var _local2:*; reaction.code = member[_arg1].reaction.code; _local2 = 0; while (_local2 < 14) { reaction.push[_local2] = member[_arg1].reaction.push[_local2]; _local2++; }; } } }//package mj
Section 71
//Member (mj.Member) package mj { public class Member { public var dd:Array; public var nerai:int; public var pv:Array; public var hi:Horainfo; public var s_ments:Array; public var tepai:Array; public var hen:int; public var want:int; public var dv:Array; public var reach_f:int; public var sttn:Suteten; public var dorapon:int; public var reach_start:int; public var aa; public var danger:int; public var minogasi_r_f:int; public var reaction; public var shosu:int; public var ra; public var jimachi:int; public var mota_c; public var reach_jun:int; public var doubble_f:int; public var furo_f:int; public var minogasi_f:int; public var care_mode:int; public var ni:NeraiInfo; public var mie:Array; public var anpai:Array; public var sute:Array; public var daisan:int; public var tenpai:Tenpai; public var not_some:int; public var never_pai:int; public var ippatsu_f:int; public var sc6:Array; public var sutelist:Array; public var some:int; public var shosan:int; public var minoga:Array; public var some_suit:int; public var not_shojun:int; public var daisu:int; public function Member(){ var _local1:*; tepai = new Array(14); s_ments = new Array(7); pv = new Array(14); dv = new Array(14); dd = new Array(4); aa = new Actable(); ra = new Reactable(); reaction = new Action(); sutelist = new Array(30); sute = new Array(40); mie = new Array(40); anpai = new Array(40); minoga = new Array(40); sc6 = new Array(4); ni = new NeraiInfo(); super(); _local1 = 0; while (_local1 < 7) { s_ments[_local1] = new Ments(); _local1++; }; _local1 = 0; while (_local1 < 4) { dd[_local1] = new Array(14); _local1++; }; } public function init(){ var _local1:*; tepai = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; _local1 = 0; while (_local1 < 7) { s_ments[_local1] = new Ments(); _local1++; }; pv = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; dv = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; _local1 = 0; while (_local1 < 4) { dd[_local1] = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; _local1++; }; aa.init(); ra.init(); reaction.init(); mota_c = 0; _local1 = 0; while (_local1 < 30) { sutelist[_local1] = 0; _local1++; }; _local1 = 0; while (_local1 < 40) { sute[_local1] = 0; mie[_local1] = 0; anpai[_local1] = 0; minoga[_local1] = 0; _local1++; }; _local1 = 0; while (_local1 < 4) { sc6[_local1] = 0; _local1++; }; danger = 0; some = 0; not_some = 0; dorapon = 0; shosan = 0; daisan = 0; shosu = 0; daisu = 0; hen = 0; jimachi = 0; some_suit = 0; never_pai = 0; furo_f = 0; not_shojun = 0; reach_f = 0; reach_start = 0; reach_jun = 0; doubble_f = 0; ippatsu_f = 0; minogasi_f = 0; minogasi_r_f = 0; ni.init(); want = 0; nerai = 0; care_mode = 0; } } }//package mj
Section 72
//Ments (mj.Ments) package mj { public class Ments { public var dr:Number; public var fu:Number; public var at:Number; public var pai:Number; public function Ments(){ at = 0; pai = 0; fu = 0; dr = 0; } } }//package mj
Section 73
//NeraiInfo (mj.NeraiInfo) package mj { public class NeraiInfo { public var ntoi_c; public var sdora_c; public var shun_c; public var suit_mc:Array; public var go_sangen; public var chanta_rc; public var toi_c; public var go_susi; public var yao_sc; public var jdora_c; public var yao_pc; public var main_suit; public var sangen_c; public var sufu_c; public var yakudora_c; public var dora_tc; public var yaku_tc; public var go_tanyao; public var dora_c; public var go_chitoi; public var suit_pc:Array; public var go_yaku; public var go_some; public var go_kokusi; public var anko_c; public var go_chanta; public var go_toitoi; public var ments_c; public var jipai_tc; public function NeraiInfo(){ suit_pc = new Array(4); suit_mc = new Array(4); super(); } public function init(){ var _local1:*; toi_c = 0; anko_c = 0; shun_c = 0; ments_c = 0; ntoi_c = 0; jipai_tc = 0; yaku_tc = 0; _local1 = 0; while (_local1 < 4) { suit_pc[_local1] = 0; suit_mc[_local1] = 0; _local1++; }; main_suit = 0; sangen_c = 0; sufu_c = 0; yakudora_c = 0; dora_c = 0; dora_tc = 0; sdora_c = 0; jdora_c = 0; yao_pc = 0; yao_sc = 0; chanta_rc = 0; go_yaku = 0; go_toitoi = 0; go_chitoi = 0; go_some = 0; go_chanta = 0; go_tanyao = 0; go_sangen = 0; go_susi = 0; go_kokusi = 0; } } }//package mj
Section 74
//PVMat (mj.PVMat) package mj { public class PVMat { public var bakaze; public var jikaze; public var nerai; public var mie:Array; public var tepai:Array; public var s_ments:Array; public var sute:Array; public var dora:Array; public var junme; public function init(){ var _local1:*; tepai = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; dora = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; sute = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; mie = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; s_ments = new Array(); _local1 = 0; while (_local1 < 7) { s_ments[_local1] = new Ments(); _local1++; }; nerai = 0; } } }//package mj
Section 75
//PVWork (mj.PVWork) package mj { public class PVWork { public var tt:Array; public var pv:Array; public var ments_c; public var smap:Array; public var yaku:Array; public var suit; public var chitoi_c; public var kmap:Array; public var rmap:Array; public var kpp:Array; public var m4j1; public var at:Array; public var jant:Array; public var ktoi_c; public var puyao:Array; public var janto_c; public var nt:Array; public var nobi:Array; public var fppl:Array; public var amap:Array; public var yakupai:Array; public var tmap:Array; public var dead:Array; public var pmap:Array; public var anko_c; public var ppp:Array; public var dmap:Array; public var rpp:Array; public var maci:Array; public var tpp:Array; public function init(){ tt = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; chitoi_c = 0; anko_c = 0; dmap = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; yaku = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; nobi = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; suit = 0; nt = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; smap = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; amap = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; rmap = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; puyao = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; yakupai = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; dead = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; ments_c = 0; janto_c = 0; m4j1 = 0; jant = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; maci = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; kmap = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; pmap = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; tmap = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; ktoi_c = 0; rpp = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; kpp = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; ppp = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; tpp = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; fppl = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; at = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; pv = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; } } }//package mj
Section 76
//Reactable (mj.Reactable) package mj { public class Reactable { public var minogasi_r:int; public var chih:Array; public var chil:Array; public var chim:Array; public var ron_ok:int; public var pon_ok:int; public var minogasi:int; public var chim_ok:int; public var chikei_c:int; public var furiten:int; public var kan:Array; public var kan_ok:int; public var pon:Array; public var chil_ok:int; public var chih_ok:int; public var yakunasi:int; public function Reactable(){ pon = new Array(14); kan = new Array(14); chil = new Array(14); chim = new Array(14); chih = new Array(14); super(); } public function init(){ var _local1:*; _local1 = 0; while (_local1 < 14) { pon[_local1] = 0; kan[_local1] = 0; chil[_local1] = 0; chim[_local1] = 0; chih[_local1] = 0; _local1++; }; ron_ok = 0; yakunasi = 0; furiten = 0; minogasi = 0; minogasi_r = 0; pon_ok = 0; kan_ok = 0; chikei_c = 0; chil_ok = 0; chim_ok = 0; chih_ok = 0; } } }//package mj
Section 77
//Suteten (mj.Suteten) package mj { public class Suteten { public var ymat:Yakumat; public var s_ments:Array; var nt:Array; public var mie:Array; public var suteten_f; public var sute:Array; public var dora:Array; public var ti:Array; public var tepai:Array; public function Suteten(){ var _local1:*; super(); tepai = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; s_ments = new Array(4); dora = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; ymat = new Yakumat(); sute = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; mie = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; ti = new Array(14); _local1 = 0; while (_local1 < 4) { s_ments[_local1] = new Ments(); _local1++; }; _local1 = 0; while (_local1 < 14) { ti[_local1] = new TenpaiSmall(); _local1++; }; nt = new Array(40); suteten_f = 0; } public function CheckSuteten(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:*; var _local9:*; var _local10:*; var _local11:*; var _local12:*; var _local13:*; var _local14:*; var _local15:*; _local5 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; _local1 = 0; while (_local1 < 14) { _local4 = tepai[_local1]; if ((((_local4 > 0)) && ((_local4 < 38)))){ var _local16 = _local5; var _local17 = _local4; var _local18 = (_local16[_local17] + 1); _local16[_local17] = _local18; }; _local1++; }; _local6 = [1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1]; _local7 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; _local8 = [0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0]; _local9 = 0; _local1 = 0; while (_local1 < 14) { _local4 = tepai[_local1]; if (_local6[_local4]){ } else { _local6[_local4] = 1; _local16 = _local5; _local17 = _local4; _local18 = (_local16[_local17] - 1); _local16[_local17] = _local18; _local2 = 1; while (_local2 <= 37) { if ((_local2 % 10) == 0){ } else { _local16 = _local5; _local17 = _local2; _local18 = (_local16[_local17] + 1); _local16[_local17] = _local18; _local12 = 0; _local13 = 1; while (_local13 <= 37) { if (_local5[_local13] < 2){ } else { _local5[_local13] = (_local5[_local13] - 2); _local14 = 0; while (_local14 < 40) { nt[_local14] = _local5[_local14]; _local14++; }; if (ments_nuki()){ _local12 = 1; }; _local5[_local13] = (_local5[_local13] + 2); if (_local12){ break; }; }; _local13++; }; _local16 = _local5; _local17 = _local2; _local18 = (_local16[_local17] - 1); _local16[_local17] = _local18; if (_local12){ _local7[_local1] = 1; _local9 = 1; break; }; }; _local2++; }; _local16 = _local5; _local17 = _local4; _local18 = (_local16[_local17] + 1); _local16[_local17] = _local18; }; _local1++; }; _local10 = 0; _local11 = 0; _local1 = 1; while (_local1 <= 37) { if (_local5[_local1]){ if (_local5[_local1] >= 2){ _local10++; }; if (_local8[_local1]){ _local11++; }; }; _local1++; }; if (_local10 == 6){ _local1 = 0; while (_local1 < 14) { _local4 = tepai[_local1]; if ((((_local5[_local4] == 1)) || ((_local5[_local4] == 3)))){ _local7[_local1] = 1; }; _local1++; }; }; if (_local11 >= 12){ _local1 = 0; while (_local1 < 14) { _local7[_local1] = 1; _local1++; }; }; _local1 = 0; while (_local1 < 40) { _local6[_local1] = 0; _local1++; }; _local1 = 0; while (_local1 < 14) { if (_local7[_local1] == 0){ } else { _local4 = tepai[_local1]; if (_local6[_local4]){ } else { _local6[_local4] = 1; _local16 = _local5; _local17 = _local4; _local18 = (_local16[_local17] - 1); _local16[_local17] = _local18; _local15 = new Tenpai(); _local15.tt = _local5; _local15.s_ments = s_ments; _local15.dora = dora; _local15.ymat = ymat; _local15.sute = sute; _local15.mie = mie; _local15.CheckTenpai(); ti[_local1].tenpai_f = _local15.ts.tenpai_f; ti[_local1].kakutei_f = _local15.ts.kakutei_f; ti[_local1].yakuari_f = _local15.ts.yakuari_f; ti[_local1].furiten_f = _local15.ts.furiten_f; ti[_local1].hikkake_f = _local15.ts.hikkake_f; ti[_local1].hilow_f = _local15.ts.hilow_f; ti[_local1].machi_c = _local15.ts.machi_c; ti[_local1].rest_c = _local15.ts.rest_c; ti[_local1].ten_max = _local15.ts.ten_max; ti[_local1].ten_min = _local15.ts.ten_min; ti[_local1].han_max = _local15.ts.han_max; ti[_local1].han_min = _local15.ts.han_min; ti[_local1].mangan_v = _local15.ts.mangan_v; ti[_local1].yaku_type = _local15.ts.yaku_type; ti[_local1].machi_k = _local15.ts.machi_k; if (ti[_local1].tenpai_f){ suteten_f = 1; }; _local16 = _local5; _local17 = _local4; _local18 = (_local16[_local17] + 1); _local16[_local17] = _local18; }; }; _local1++; }; } function ments_nuki(){ var _local1:*; _local1 = 1; while (_local1 <= 37) { if (nt[_local1] >= 3){ nt[_local1] = (nt[_local1] - 3); }; if (nt[_local1] == 0){ } else { if (_local1 >= 31){ return (0); }; if ((_local1 % 10) > 7){ return (0); }; if (nt[(_local1 + 1)] == 0){ return (0); }; if (nt[(_local1 + 2)] == 0){ return (0); }; var _local2 = nt; var _local3 = _local1; var _local4 = (_local2[_local3] - 1); _local2[_local3] = _local4; _local2 = nt; _local3 = (_local1 + 1); _local4 = (_local2[_local3] - 1); _local2[_local3] = _local4; _local2 = nt; _local3 = (_local1 + 2); _local4 = (_local2[_local3] - 1); _local2[_local3] = _local4; if (nt[_local1] == 0){ } else { if (nt[(_local1 + 1)] == 0){ return (0); }; if (nt[(_local1 + 2)] == 0){ return (0); }; _local2 = nt; _local3 = _local1; _local4 = (_local2[_local3] - 1); _local2[_local3] = _local4; _local2 = nt; _local3 = (_local1 + 1); _local4 = (_local2[_local3] - 1); _local2[_local3] = _local4; _local2 = nt; _local3 = (_local1 + 2); _local4 = (_local2[_local3] - 1); _local2[_local3] = _local4; }; }; _local1++; }; return (1); } } }//package mj
Section 78
//Taikyoku (mj.Taikyoku) package mj { public class Taikyoku { public var tepai_open:int;// = 0 public var hanchan_c:int;// = 0 public var his:Array; public var chara:Array; public var rensho;// = 0 public function Taikyoku(){ hanchan_c = 0; rensho = 0; tepai_open = 0; super(); } public function init(){ var _local1:*; hanchan_c = 0; rensho = 0; his = new Array(); chara = new Array(); _local1 = 0; while (_local1 < 4) { chara[_local1] = new Object(); chara[_local1].seko = 0; chara[_local1].game = 0; chara[_local1].reach = 0; chara[_local1].dama = 0; _local1++; }; chara[1].game = 1; chara[1].reach = 1; chara[2].seko = 1; chara[2].dama = 1; } } }//package mj
Section 79
//Tenpai (mj.Tenpai) package mj { public class Tenpai { public var tt:Array; var nt:Array; public var ymat:Yakumat; public var s_ments:Array; public var hs:Array; public var mie:Array; var yaopai:Array; public var sute:Array; public var dora:Array; public var ts:TenpaiSmall; public function Tenpai(){ var _local1:*; super(); tt = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; s_ments = new Array(4); dora = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; ymat = new Yakumat(); sute = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; mie = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; yaopai = [0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0]; nt = new Array(40); hs = new Array(13); ts = new TenpaiSmall(); _local1 = 0; while (_local1 < 4) { s_ments[_local1] = new Ments(); _local1++; }; _local1 = 0; while (_local1 < 13) { hs[_local1] = new HoraSmall(); _local1++; }; } public function CheckTenpai(){ var _local1:*; var _local2:*; var _local3:*; var _local4:*; var _local5:*; var _local6:*; var _local7:*; var _local8:*; var _local9:*; var _local10:*; var _local11:*; var _local12:*; var _local13:*; var _local14:*; var _local15:*; var _local16:Horainfo; var _local17:*; _local3 = 0; _local4 = 0; _local5 = 0; _local6 = 0; _local7 = 0; _local8 = 0; _local9 = 0; ts.ten_min = 9999999; _local10 = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]; _local1 = 1; while (_local1 <= 37) { if ((_local1 % 10) == 0){ } else { if (tt[_local1]){ _local10[_local1] = 1; if (yaopai[_local1]){ _local8++; }; if (tt[_local1] == 2){ _local9++; }; }; if (_local1 < 30){ if (tt[(_local1 - 1)]){ _local10[_local1] = 1; }; if (tt[(_local1 + 1)]){ _local10[_local1] = 1; }; }; }; _local1++; }; _local11 = 0; _local1 = 1; while (_local1 <= 37) { if (_local10[_local1] == 0){ } else { if (tt[_local1] >= 4){ } else { var _local18 = tt; var _local19 = _local1; var _local20 = (_local18[_local19] + 1); _local18[_local19] = _local20; _local13 = 0; _local14 = 1; while (_local14 <= 37) { if (tt[_local14] < 2){ } else { tt[_local14] = (tt[_local14] - 2); _local15 = 0; while (_local15 < 40) { nt[_local15] = tt[_local15]; _local15++; }; if (ments_nuki()){ _local13 = 1; }; tt[_local14] = (tt[_local14] + 2); if (_local13){ break; }; }; _local14++; }; if (_local13){ _local11 = 1; } else { _local10[_local1] = 0; }; _local18 = tt; _local19 = _local1; _local20 = (_local18[_local19] - 1); _local18[_local19] = _local20; }; }; _local1++; }; if ((((_local11 == 0)) && ((_local9 == 6)))){ _local1 = 1; while (_local1 <= 37) { if (tt[_local1] == 1){ _local10[_local1] = 1; }; _local1++; }; }; if (_local8 >= 12){ _local1 = 1; while (_local1 <= 37) { _local10[_local1] = yaopai[_local1]; _local1++; }; }; _local12 = 0; _local1 = 1; while (_local1 <= 37) { if (_local10[_local1] == 0){ } else { if (tt[_local1] >= 4){ } else { _local18 = tt; _local19 = _local1; _local20 = (_local18[_local19] + 1); _local18[_local19] = _local20; _local16 = new Horainfo(); _local16.tt = tt; _local16.a_pai = _local1; _local16.s_ments = s_ments; _local16.dora = dora; _local16.ymat = ymat; _local16.CheckHora(); _local18 = tt; _local19 = _local1; _local20 = (_local18[_local19] - 1); _local18[_local19] = _local20; if (_local16.hora.hora_f){ hs[_local12].hora_f = 1; hs[_local12].a_pai = _local1; hs[_local12].han_c = _local16.hora.han_c; hs[_local12].mangan_v = _local16.hora.mangan_v; hs[_local12].ten_ron = _local16.hora.ten_hora; hs[_local12].yakuari_f = _local16.hora.yakuari_f; ts.tenpai_f = 1; if (hs[_local12].yakuari_f){ ts.yakuari_f = 1; }; if (sute[_local1]){ ts.furiten_f = 1; }; ts.rest_c = (ts.rest_c + (4 - mie[_local1])); if (hs[_local12].ten_ron >= ts.ten_max){ ts.ten_max = hs[_local12].ten_ron; ts.han_max = hs[_local12].han_c; }; if (hs[_local12].ten_ron <= ts.ten_min){ ts.ten_min = hs[_local12].ten_ron; ts.han_min = hs[_local12].han_c; }; if (ts.ten_max != ts.ten_min){ ts.hilow_f = 1; }; if (_local1 < 30){ _local17 = (_local1 % 10); if (_local17 <= 3){ if (sute[(_local1 + 3)]){ ts.hikkake_f = 1; }; }; if (_local17 >= 7){ if (sute[(_local1 - 3)]){ ts.hikkake_f = 1; }; }; if ((((_local17 >= 4)) && ((_local17 <= 6)))){ if (((sute[(_local1 - 3)]) && (sute[(_local1 + 3)]))){ ts.hikkake_f = 1; }; }; }; if (_local16.hora.kanchan_f){ _local2 = 3; }; if (_local16.hora.penchan_f){ _local2 = 2; }; if (_local16.hora.tanki_f){ _local2 = 1; }; if (_local16.hora.shanpon_f){ _local2 = 4; }; if (_local16.hora.ryanmen_f){ _local2 = 5; }; switch (_local2){ case 5: _local3++; break; case 3: _local5++; break; case 2: _local6++; break; case 4: _local4++; break; case 1: _local7++; break; default: break; }; _local12++; }; if (_local12 >= 13){ break; }; }; }; _local1++; }; ts.kakutei_f = 1; _local1 = 0; while (_local1 < _local12) { if (hs[_local1].yakuari_f == 0){ ts.kakutei_f = 0; }; _local1++; }; ts.machi_c = _local12; ts.machi_k = 12; if (_local12 == 1){ ts.machi_k = _local2; }; if (_local12 == 2){ ts.machi_k = 6; if (_local3){ ts.machi_k = 5; }; if (_local7 == 2){ ts.machi_k = 7; }; if (_local4 == 2){ ts.machi_k = 4; }; }; if (_local12 == 3){ ts.machi_k = 9; if (_local3 == 3){ ts.machi_k = 8; }; if (_local7 == 3){ ts.machi_k = 7; }; }; if (_local12 == 4){ ts.machi_k = 10; }; if (_local12 == 5){ ts.machi_k = 11; }; if (ts.hilow_f){ _local1 = 0; while (_local1 < 13) { if (hs[_local1].hora_f == 0){ } else { if (hs[_local1].ten_ron == ts.ten_max){ hs[_local1].high = 1; }; if (hs[_local1].ten_ron == ts.ten_min){ hs[_local1].low = 1; }; }; _local1++; }; }; } function ments_nuki(){ var _local1:*; _local1 = 1; while (_local1 <= 37) { if (nt[_local1] >= 3){ nt[_local1] = (nt[_local1] - 3); }; if (nt[_local1] == 0){ } else { if (_local1 >= 31){ return (0); }; if ((_local1 % 10) > 7){ return (0); }; if (nt[(_local1 + 1)] == 0){ return (0); }; if (nt[(_local1 + 2)] == 0){ return (0); }; var _local2 = nt; var _local3 = _local1; var _local4 = (_local2[_local3] - 1); _local2[_local3] = _local4; _local2 = nt; _local3 = (_local1 + 1); _local4 = (_local2[_local3] - 1); _local2[_local3] = _local4; _local2 = nt; _local3 = (_local1 + 2); _local4 = (_local2[_local3] - 1); _local2[_local3] = _local4; if (nt[_local1] == 0){ } else { if (nt[(_local1 + 1)] == 0){ return (0); }; if (nt[(_local1 + 2)] == 0){ return (0); }; _local2 = nt; _local3 = _local1; _local4 = (_local2[_local3] - 1); _local2[_local3] = _local4; _local2 = nt; _local3 = (_local1 + 1); _local4 = (_local2[_local3] - 1); _local2[_local3] = _local4; _local2 = nt; _local3 = (_local1 + 2); _local4 = (_local2[_local3] - 1); _local2[_local3] = _local4; }; }; _local1++; }; return (1); } } }//package mj
Section 80
//TenpaiSmall (mj.TenpaiSmall) package mj { public class TenpaiSmall { public var tenpai_f:Number; public var machi_c:Number; public var furiten_f:Number; public var yakuari_f:Number; public var ten_max:Number; public var machi_k:Number; public var hilow_f:Number; public var hikkake_f:Number; public var yaku_type:Number; public var han_min:Number; public var mangan_v:Number; public var ten_min:Number; public var rest_c:Number; public var han_max:Number; public var kakutei_f:Number; public function TenpaiSmall(){ tenpai_f = 0; kakutei_f = 0; yakuari_f = 0; furiten_f = 0; hikkake_f = 0; hilow_f = 0; machi_c = 0; rest_c = 0; ten_max = 0; ten_min = 0; han_max = 0; han_min = 0; mangan_v = 0; yaku_type = 0; machi_k = 0; } } }//package mj
Section 81
//Yakumat (mj.Yakumat) package mj { public class Yakumat { public var rinshan_f:Number;// = 0 public var tumo_f:Number;// = 0 public var jikaze:Number;// = 0 public var reach_f:Number;// = 0 public var bakaze:Number;// = 0 public var ippatsu_f:Number;// = 0 public var chankan_f:Number;// = 0 public var haitei_f:Number;// = 0 public var furo_f:Number;// = 0 public var shojun_f:Number;// = 0 public var double_f:Number;// = 0 public function Yakumat(){ tumo_f = 0; furo_f = 0; reach_f = 0; double_f = 0; ippatsu_f = 0; shojun_f = 0; rinshan_f = 0; haitei_f = 0; chankan_f = 0; bakaze = 0; jikaze = 0; super(); } } }//package mj
Section 82
//paiMC (paiMC) package { import flash.display.*; public dynamic class paiMC extends MovieClip { public function paiMC(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package
Section 83
//shadowMC (shadowMC) package { import flash.display.*; public dynamic class shadowMC extends MovieClip { public function shadowMC(){ addFrameScript(0, frame1); } function frame1(){ stop(); } } }//package

Library Items

Symbol 1 GraphicUsed by:5
Symbol 2 GraphicUsed by:5
Symbol 3 GraphicUsed by:5
Symbol 4 GraphicUsed by:5
Symbol 5 MovieClip {shadowMC}Uses:1 2 3 4
Symbol 6 BitmapUsed by:8 90 162 234 306
Symbol 7 BitmapUsed by:8
Symbol 8 GraphicUses:6 7Used by:373
Symbol 9 BitmapUsed by:11 92 164 236 308
Symbol 10 BitmapUsed by:11
Symbol 11 GraphicUses:9 10Used by:373
Symbol 12 BitmapUsed by:14 94 166 238 310
Symbol 13 BitmapUsed by:14
Symbol 14 GraphicUses:12 13Used by:373
Symbol 15 BitmapUsed by:17 96 168 240 312
Symbol 16 BitmapUsed by:17
Symbol 17 GraphicUses:15 16Used by:373
Symbol 18 BitmapUsed by:20 98 170 242 314
Symbol 19 BitmapUsed by:20
Symbol 20 GraphicUses:18 19Used by:373
Symbol 21 BitmapUsed by:23 100 172 244 316
Symbol 22 BitmapUsed by:23
Symbol 23 GraphicUses:21 22Used by:373
Symbol 24 BitmapUsed by:26 102 174 246 318
Symbol 25 BitmapUsed by:26
Symbol 26 GraphicUses:24 25Used by:373
Symbol 27 BitmapUsed by:29 104 176 248 320
Symbol 28 BitmapUsed by:29
Symbol 29 GraphicUses:27 28Used by:373
Symbol 30 BitmapUsed by:32 106 178 250 322
Symbol 31 BitmapUsed by:32
Symbol 32 GraphicUses:30 31Used by:373
Symbol 33 BitmapUsed by:34
Symbol 34 GraphicUses:33Used by:373
Symbol 35 BitmapUsed by:36
Symbol 36 GraphicUses:35Used by:373
Symbol 37 BitmapUsed by:38
Symbol 38 GraphicUses:37Used by:373
Symbol 39 BitmapUsed by:40
Symbol 40 GraphicUses:39Used by:373
Symbol 41 BitmapUsed by:42
Symbol 42 GraphicUses:41Used by:373
Symbol 43 BitmapUsed by:44
Symbol 44 GraphicUses:43Used by:373
Symbol 45 BitmapUsed by:46
Symbol 46 GraphicUses:45Used by:373
Symbol 47 BitmapUsed by:48
Symbol 48 GraphicUses:47Used by:373
Symbol 49 BitmapUsed by:50
Symbol 50 GraphicUses:49Used by:373
Symbol 51 BitmapUsed by:52
Symbol 52 GraphicUses:51Used by:373
Symbol 53 BitmapUsed by:54
Symbol 54 GraphicUses:53Used by:373
Symbol 55 BitmapUsed by:56
Symbol 56 GraphicUses:55Used by:373
Symbol 57 BitmapUsed by:58
Symbol 58 GraphicUses:57Used by:373
Symbol 59 BitmapUsed by:60
Symbol 60 GraphicUses:59Used by:373
Symbol 61 BitmapUsed by:62
Symbol 62 GraphicUses:61Used by:373
Symbol 63 BitmapUsed by:64
Symbol 64 GraphicUses:63Used by:373
Symbol 65 BitmapUsed by:66
Symbol 66 GraphicUses:65Used by:373
Symbol 67 BitmapUsed by:68
Symbol 68 GraphicUses:67Used by:373
Symbol 69 BitmapUsed by:70
Symbol 70 GraphicUses:69Used by:373
Symbol 71 BitmapUsed by:73 144 216 288 360
Symbol 72 BitmapUsed by:73
Symbol 73 GraphicUses:71 72Used by:373
Symbol 74 BitmapUsed by:76 146 218 290 362
Symbol 75 BitmapUsed by:76
Symbol 76 GraphicUses:74 75Used by:373
Symbol 77 BitmapUsed by:79 148 220 292 364
Symbol 78 BitmapUsed by:79
Symbol 79 GraphicUses:77 78Used by:373
Symbol 80 BitmapUsed by:82 150 222 294 366
Symbol 81 BitmapUsed by:82
Symbol 82 GraphicUses:80 81Used by:373
Symbol 83 BitmapUsed by:84
Symbol 84 GraphicUses:83Used by:373
Symbol 85 BitmapUsed by:86
Symbol 86 GraphicUses:85Used by:373
Symbol 87 BitmapUsed by:88
Symbol 88 GraphicUses:87Used by:373
Symbol 89 BitmapUsed by:90
Symbol 90 GraphicUses:6 89Used by:373
Symbol 91 BitmapUsed by:92
Symbol 92 GraphicUses:9 91Used by:373
Symbol 93 BitmapUsed by:94
Symbol 94 GraphicUses:12 93Used by:373
Symbol 95 BitmapUsed by:96
Symbol 96 GraphicUses:15 95Used by:373
Symbol 97 BitmapUsed by:98
Symbol 98 GraphicUses:18 97Used by:373
Symbol 99 BitmapUsed by:100
Symbol 100 GraphicUses:21 99Used by:373
Symbol 101 BitmapUsed by:102
Symbol 102 GraphicUses:24 101Used by:373
Symbol 103 BitmapUsed by:104
Symbol 104 GraphicUses:27 103Used by:373
Symbol 105 BitmapUsed by:106
Symbol 106 GraphicUses:30 105Used by:373
Symbol 107 BitmapUsed by:108
Symbol 108 GraphicUses:107Used by:373
Symbol 109 BitmapUsed by:110
Symbol 110 GraphicUses:109Used by:373
Symbol 111 BitmapUsed by:112
Symbol 112 GraphicUses:111Used by:373
Symbol 113 BitmapUsed by:114
Symbol 114 GraphicUses:113Used by:373
Symbol 115 BitmapUsed by:116
Symbol 116 GraphicUses:115Used by:373
Symbol 117 BitmapUsed by:118
Symbol 118 GraphicUses:117Used by:373
Symbol 119 BitmapUsed by:120
Symbol 120 GraphicUses:119Used by:373
Symbol 121 BitmapUsed by:122
Symbol 122 GraphicUses:121Used by:373
Symbol 123 BitmapUsed by:124
Symbol 124 GraphicUses:123Used by:373
Symbol 125 BitmapUsed by:126
Symbol 126 GraphicUses:125Used by:373
Symbol 127 BitmapUsed by:128
Symbol 128 GraphicUses:127Used by:373
Symbol 129 BitmapUsed by:130
Symbol 130 GraphicUses:129Used by:373
Symbol 131 BitmapUsed by:132
Symbol 132 GraphicUses:131Used by:373
Symbol 133 BitmapUsed by:134
Symbol 134 GraphicUses:133Used by:373
Symbol 135 BitmapUsed by:136
Symbol 136 GraphicUses:135Used by:373
Symbol 137 BitmapUsed by:138
Symbol 138 GraphicUses:137Used by:373
Symbol 139 BitmapUsed by:140
Symbol 140 GraphicUses:139Used by:373
Symbol 141 BitmapUsed by:142
Symbol 142 GraphicUses:141Used by:373
Symbol 143 BitmapUsed by:144
Symbol 144 GraphicUses:71 143Used by:373
Symbol 145 BitmapUsed by:146
Symbol 146 GraphicUses:74 145Used by:373
Symbol 147 BitmapUsed by:148
Symbol 148 GraphicUses:77 147Used by:373
Symbol 149 BitmapUsed by:150
Symbol 150 GraphicUses:80 149Used by:373
Symbol 151 BitmapUsed by:152
Symbol 152 GraphicUses:151Used by:373
Symbol 153 BitmapUsed by:154
Symbol 154 GraphicUses:153Used by:373
Symbol 155 BitmapUsed by:156
Symbol 156 GraphicUses:155Used by:373
Symbol 157 BitmapUsed by:158
Symbol 158 GraphicUses:157Used by:373
Symbol 159 BitmapUsed by:160
Symbol 160 GraphicUses:159Used by:373
Symbol 161 BitmapUsed by:162
Symbol 162 GraphicUses:6 161Used by:373
Symbol 163 BitmapUsed by:164
Symbol 164 GraphicUses:9 163Used by:373
Symbol 165 BitmapUsed by:166
Symbol 166 GraphicUses:12 165Used by:373
Symbol 167 BitmapUsed by:168
Symbol 168 GraphicUses:15 167Used by:373
Symbol 169 BitmapUsed by:170
Symbol 170 GraphicUses:18 169Used by:373
Symbol 171 BitmapUsed by:172
Symbol 172 GraphicUses:21 171Used by:373
Symbol 173 BitmapUsed by:174
Symbol 174 GraphicUses:24 173Used by:373
Symbol 175 BitmapUsed by:176
Symbol 176 GraphicUses:27 175Used by:373
Symbol 177 BitmapUsed by:178
Symbol 178 GraphicUses:30 177Used by:373
Symbol 179 BitmapUsed by:180
Symbol 180 GraphicUses:179Used by:373
Symbol 181 BitmapUsed by:182
Symbol 182 GraphicUses:181Used by:373
Symbol 183 BitmapUsed by:184
Symbol 184 GraphicUses:183Used by:373
Symbol 185 BitmapUsed by:186
Symbol 186 GraphicUses:185Used by:373
Symbol 187 BitmapUsed by:188
Symbol 188 GraphicUses:187Used by:373
Symbol 189 BitmapUsed by:190
Symbol 190 GraphicUses:189Used by:373
Symbol 191 BitmapUsed by:192
Symbol 192 GraphicUses:191Used by:373
Symbol 193 BitmapUsed by:194
Symbol 194 GraphicUses:193Used by:373
Symbol 195 BitmapUsed by:196
Symbol 196 GraphicUses:195Used by:373
Symbol 197 BitmapUsed by:198
Symbol 198 GraphicUses:197Used by:373
Symbol 199 BitmapUsed by:200
Symbol 200 GraphicUses:199Used by:373
Symbol 201 BitmapUsed by:202
Symbol 202 GraphicUses:201Used by:373
Symbol 203 BitmapUsed by:204
Symbol 204 GraphicUses:203Used by:373
Symbol 205 BitmapUsed by:206
Symbol 206 GraphicUses:205Used by:373
Symbol 207 BitmapUsed by:208
Symbol 208 GraphicUses:207Used by:373
Symbol 209 BitmapUsed by:210
Symbol 210 GraphicUses:209Used by:373
Symbol 211 BitmapUsed by:212
Symbol 212 GraphicUses:211Used by:373
Symbol 213 BitmapUsed by:214
Symbol 214 GraphicUses:213Used by:373
Symbol 215 BitmapUsed by:216
Symbol 216 GraphicUses:71 215Used by:373
Symbol 217 BitmapUsed by:218
Symbol 218 GraphicUses:74 217Used by:373
Symbol 219 BitmapUsed by:220
Symbol 220 GraphicUses:77 219Used by:373
Symbol 221 BitmapUsed by:222
Symbol 222 GraphicUses:80 221Used by:373
Symbol 223 BitmapUsed by:224
Symbol 224 GraphicUses:223Used by:373
Symbol 225 BitmapUsed by:226
Symbol 226 GraphicUses:225Used by:373
Symbol 227 BitmapUsed by:228
Symbol 228 GraphicUses:227Used by:373
Symbol 229 BitmapUsed by:230
Symbol 230 GraphicUses:229Used by:373
Symbol 231 BitmapUsed by:232
Symbol 232 GraphicUses:231Used by:373
Symbol 233 BitmapUsed by:234
Symbol 234 GraphicUses:6 233Used by:373
Symbol 235 BitmapUsed by:236
Symbol 236 GraphicUses:9 235Used by:373
Symbol 237 BitmapUsed by:238
Symbol 238 GraphicUses:12 237Used by:373
Symbol 239 BitmapUsed by:240
Symbol 240 GraphicUses:15 239Used by:373
Symbol 241 BitmapUsed by:242
Symbol 242 GraphicUses:18 241Used by:373
Symbol 243 BitmapUsed by:244
Symbol 244 GraphicUses:21 243Used by:373
Symbol 245 BitmapUsed by:246
Symbol 246 GraphicUses:24 245Used by:373
Symbol 247 BitmapUsed by:248
Symbol 248 GraphicUses:27 247Used by:373
Symbol 249 BitmapUsed by:250
Symbol 250 GraphicUses:30 249Used by:373
Symbol 251 BitmapUsed by:252
Symbol 252 GraphicUses:251Used by:373
Symbol 253 BitmapUsed by:254
Symbol 254 GraphicUses:253Used by:373
Symbol 255 BitmapUsed by:256
Symbol 256 GraphicUses:255Used by:373
Symbol 257 BitmapUsed by:258
Symbol 258 GraphicUses:257Used by:373
Symbol 259 BitmapUsed by:260
Symbol 260 GraphicUses:259Used by:373
Symbol 261 BitmapUsed by:262
Symbol 262 GraphicUses:261Used by:373
Symbol 263 BitmapUsed by:264
Symbol 264 GraphicUses:263Used by:373
Symbol 265 BitmapUsed by:266
Symbol 266 GraphicUses:265Used by:373
Symbol 267 BitmapUsed by:268
Symbol 268 GraphicUses:267Used by:373
Symbol 269 BitmapUsed by:270
Symbol 270 GraphicUses:269Used by:373
Symbol 271 BitmapUsed by:272
Symbol 272 GraphicUses:271Used by:373
Symbol 273 BitmapUsed by:274
Symbol 274 GraphicUses:273Used by:373
Symbol 275 BitmapUsed by:276
Symbol 276 GraphicUses:275Used by:373
Symbol 277 BitmapUsed by:278
Symbol 278 GraphicUses:277Used by:373
Symbol 279 BitmapUsed by:280
Symbol 280 GraphicUses:279Used by:373
Symbol 281 BitmapUsed by:282
Symbol 282 GraphicUses:281Used by:373
Symbol 283 BitmapUsed by:284
Symbol 284 GraphicUses:283Used by:373
Symbol 285 BitmapUsed by:286
Symbol 286 GraphicUses:285Used by:373
Symbol 287 BitmapUsed by:288
Symbol 288 GraphicUses:71 287Used by:373
Symbol 289 BitmapUsed by:290
Symbol 290 GraphicUses:74 289Used by:373
Symbol 291 BitmapUsed by:292
Symbol 292 GraphicUses:77 291Used by:373
Symbol 293 BitmapUsed by:294
Symbol 294 GraphicUses:80 293Used by:373
Symbol 295 BitmapUsed by:296
Symbol 296 GraphicUses:295Used by:373
Symbol 297 BitmapUsed by:298
Symbol 298 GraphicUses:297Used by:373
Symbol 299 BitmapUsed by:300
Symbol 300 GraphicUses:299Used by:373
Symbol 301 BitmapUsed by:302
Symbol 302 GraphicUses:301Used by:373
Symbol 303 BitmapUsed by:304
Symbol 304 GraphicUses:303Used by:373
Symbol 305 BitmapUsed by:306
Symbol 306 GraphicUses:6 305Used by:373
Symbol 307 BitmapUsed by:308
Symbol 308 GraphicUses:9 307Used by:373
Symbol 309 BitmapUsed by:310
Symbol 310 GraphicUses:12 309Used by:373
Symbol 311 BitmapUsed by:312
Symbol 312 GraphicUses:15 311Used by:373
Symbol 313 BitmapUsed by:314
Symbol 314 GraphicUses:18 313Used by:373
Symbol 315 BitmapUsed by:316
Symbol 316 GraphicUses:21 315Used by:373
Symbol 317 BitmapUsed by:318
Symbol 318 GraphicUses:24 317Used by:373
Symbol 319 BitmapUsed by:320
Symbol 320 GraphicUses:27 319Used by:373
Symbol 321 BitmapUsed by:322
Symbol 322 GraphicUses:30 321Used by:373
Symbol 323 BitmapUsed by:324
Symbol 324 GraphicUses:323Used by:373
Symbol 325 BitmapUsed by:326
Symbol 326 GraphicUses:325Used by:373
Symbol 327 BitmapUsed by:328
Symbol 328 GraphicUses:327Used by:373
Symbol 329 BitmapUsed by:330
Symbol 330 GraphicUses:329Used by:373
Symbol 331 BitmapUsed by:332
Symbol 332 GraphicUses:331Used by:373
Symbol 333 BitmapUsed by:334
Symbol 334 GraphicUses:333Used by:373
Symbol 335 BitmapUsed by:336
Symbol 336 GraphicUses:335Used by:373
Symbol 337 BitmapUsed by:338
Symbol 338 GraphicUses:337Used by:373
Symbol 339 BitmapUsed by:340
Symbol 340 GraphicUses:339Used by:373
Symbol 341 BitmapUsed by:342
Symbol 342 GraphicUses:341Used by:373
Symbol 343 BitmapUsed by:344
Symbol 344 GraphicUses:343Used by:373
Symbol 345 BitmapUsed by:346
Symbol 346 GraphicUses:345Used by:373
Symbol 347 BitmapUsed by:348
Symbol 348 GraphicUses:347Used by:373
Symbol 349 BitmapUsed by:350
Symbol 350 GraphicUses:349Used by:373
Symbol 351 BitmapUsed by:352
Symbol 352 GraphicUses:351Used by:373
Symbol 353 BitmapUsed by:354
Symbol 354 GraphicUses:353Used by:373
Symbol 355 BitmapUsed by:356
Symbol 356 GraphicUses:355Used by:373
Symbol 357 BitmapUsed by:358
Symbol 358 GraphicUses:357Used by:373
Symbol 359 BitmapUsed by:360
Symbol 360 GraphicUses:71 359Used by:373
Symbol 361 BitmapUsed by:362
Symbol 362 GraphicUses:74 361Used by:373
Symbol 363 BitmapUsed by:364
Symbol 364 GraphicUses:77 363Used by:373
Symbol 365 BitmapUsed by:366
Symbol 366 GraphicUses:80 365Used by:373
Symbol 367 BitmapUsed by:368
Symbol 368 GraphicUses:367Used by:373
Symbol 369 BitmapUsed by:370
Symbol 370 GraphicUses:369Used by:373
Symbol 371 BitmapUsed by:372
Symbol 372 GraphicUses:371Used by:373
Symbol 373 MovieClip {paiMC}Uses:8 11 14 17 20 23 26 29 32 34 36 38 40 42 44 46 48 50 52 54 56 58 60 62 64 66 68 70 73 76 79 82 84 86 88 90 92 94 96 98 100 102 104 106 108 110 112 114 116 118 120 122 124 126 128 130 132 134 136 138 140 142 144 146 148 150 152 154 156 158 160 162 164 166 168 170 172 174 176 178 180 182 184 186 188 190 192 194 196 198 200 202 204 206 208 210 212 214 216 218 220 222 224 226 228 230 232 234 236 238 240 242 244 246 248 250 252 254 256 258 260 262 264 266 268 270 272 274 276 278 280 282 284 286 288 290 292 294 296 298 300 302 304 306 308 310 312 314 316 318 320 322 324 326 328 330 332 334 336 338 340 342 344 346 348 350 352 354 356 358 360 362 364 366 368 370 372Used by:621 622
Symbol 374 GraphicUsed by:375
Symbol 375 MovieClipUses:374Used by:376
Symbol 376 MovieClip {mahjong_e_fla.Timeline_1}Uses:375Used by:Timeline
Symbol 377 GraphicUsed by:378
Symbol 378 MovieClipUses:377Used by:626
Symbol 379 GraphicUsed by:382 385 437 446 463 470 477 482 491 504 514 533 554 572 585 588 600 617
Symbol 380 FontUsed by:381 384 436 445 462 469 476 481 490 503 513 532 553 571 584 587 599 616
Symbol 381 TextUses:380Used by:382
Symbol 382 MovieClip {mahjong_e_fla.Timeline_6}Uses:379 381Used by:383
Symbol 383 MovieClip {mahjong_e_fla.Timeline_5}Uses:382Used by:626
Symbol 384 TextUses:380Used by:385
Symbol 385 MovieClip {mahjong_e_fla.Timeline_8}Uses:379 384Used by:435
Symbol 386 BitmapUsed by:387
Symbol 387 GraphicUses:386Used by:388
Symbol 388 MovieClip {mahjong_e_fla.Timeline_9}Uses:387Used by:435
Symbol 389 BitmapUsed by:390
Symbol 390 GraphicUses:389Used by:391
Symbol 391 MovieClip {mahjong_e_fla.Timeline_10}Uses:390Used by:435
Symbol 392 GraphicUsed by:410
Symbol 393 BitmapUsed by:394
Symbol 394 GraphicUses:393Used by:410
Symbol 395 BitmapUsed by:396
Symbol 396 GraphicUses:395Used by:410
Symbol 397 GraphicUsed by:410
Symbol 398 BitmapUsed by:399
Symbol 399 GraphicUses:398Used by:410
Symbol 400 BitmapUsed by:401
Symbol 401 GraphicUses:400Used by:410
Symbol 402 BitmapUsed by:403
Symbol 403 GraphicUses:402Used by:410
Symbol 404 BitmapUsed by:405
Symbol 405 GraphicUses:404Used by:410
Symbol 406 BitmapUsed by:407
Symbol 407 GraphicUses:406Used by:410
Symbol 408 BitmapUsed by:409
Symbol 409 GraphicUses:408Used by:410
Symbol 410 MovieClip {mahjong_e_fla.Timeline_11}Uses:392 394 396 397 399 401 403 405 407 409Used by:435
Symbol 411 FontUsed by:412 414 416 427 443 447 449 451 453 456 458 460 478 479 485 509 510 517 518 519 520 521 522 526 527 528 529 536 537 538 539 540 542 543 544 545 547 548 550 558 564 565 602 603 604 607 608 609 612 614
Symbol 412 EditableTextUses:411Used by:413
Symbol 413 MovieClip {mahjong_e_fla.Timeline_12}Uses:412Used by:435
Symbol 414 EditableTextUses:411Used by:415
Symbol 415 MovieClip {mahjong_e_fla.Timeline_13}Uses:414Used by:435
Symbol 416 TextUses:411Used by:417
Symbol 417 MovieClip {mahjong_e_fla.Timeline_14}Uses:416Used by:435
Symbol 418 BitmapUsed by:419
Symbol 419 GraphicUses:418Used by:422
Symbol 420 BitmapUsed by:421
Symbol 421 GraphicUses:420Used by:422
Symbol 422 MovieClip {mahjong_e_fla.Timeline_16}Uses:419 421Used by:423
Symbol 423 MovieClip {mahjong_e_fla.Timeline_15}Uses:422Used by:435
Symbol 424 GraphicUsed by:426
Symbol 425 GraphicUsed by:426
Symbol 426 MovieClip {mahjong_e_fla.Timeline_18}Uses:424 425Used by:428
Symbol 427 TextUses:411Used by:428
Symbol 428 MovieClip {mahjong_e_fla.Timeline_17}Uses:426 427Used by:435
Symbol 429 FontUsed by:430 431
Symbol 430 TextUses:429Used by:433
Symbol 431 TextUses:429Used by:433
Symbol 432 GraphicUsed by:433 474 501
Symbol 433 ButtonUses:430 431 432Used by:434
Symbol 434 MovieClip {mahjong_e_fla.Timeline_19}Uses:433Used by:435
Symbol 435 MovieClip {mahjong_e_fla.Timeline_7}Uses:385 388 391 410 413 415 417 423 428 434Used by:626
Symbol 436 TextUses:380Used by:437
Symbol 437 MovieClip {mahjong_e_fla.Timeline_22}Uses:379 436Used by:438
Symbol 438 MovieClip {mahjong_e_fla.Timeline_21}Uses:437Used by:626
Symbol 439 GraphicUsed by:440
Symbol 440 MovieClip {mahjong_e_fla.Timeline_23}Uses:439Used by:626
Symbol 441 GraphicUsed by:442 444 448 450 452 454 457 459 461 486 549 551 559 605 613
Symbol 442 MovieClipUses:441Used by:444 448 450 452 454 457 459 461 486 549 551 559 605 613
Symbol 443 TextUses:411Used by:444
Symbol 444 ButtonUses:442 443 441Used by:455 468
Symbol 445 TextUses:380Used by:446
Symbol 446 MovieClip {mahjong_e_fla.Timeline_27}Uses:379 445Used by:455
Symbol 447 TextUses:411Used by:448
Symbol 448 ButtonUses:442 447 441Used by:455
Symbol 449 TextUses:411Used by:450
Symbol 450 ButtonUses:442 449 441Used by:455
Symbol 451 TextUses:411Used by:452
Symbol 452 ButtonUses:442 451 441Used by:455
Symbol 453 TextUses:411Used by:454
Symbol 454 ButtonUses:442 453 441Used by:455
Symbol 455 MovieClip {mahjong_e_fla.Timeline_24}Uses:444 446 448 450 452 454Used by:626
Symbol 456 TextUses:411Used by:457
Symbol 457 ButtonUses:442 456 441Used by:468
Symbol 458 TextUses:411Used by:459
Symbol 459 ButtonUses:442 458 441Used by:468
Symbol 460 TextUses:411Used by:461
Symbol 461 ButtonUses:442 460 441Used by:468
Symbol 462 TextUses:380Used by:463
Symbol 463 MovieClip {mahjong_e_fla.Timeline_36}Uses:379 462Used by:468
Symbol 464 GraphicUsed by:465
Symbol 465 MovieClip {mahjong_e_fla.Timeline_37}Uses:464Used by:468
Symbol 466 GraphicUsed by:467
Symbol 467 ButtonUses:466Used by:468
Symbol 468 MovieClip {mahjong_e_fla.Timeline_32}Uses:444 457 459 461 463 465 467Used by:626
Symbol 469 TextUses:380Used by:470
Symbol 470 MovieClip {mahjong_e_fla.Timeline_40}Uses:379 469Used by:475
Symbol 471 FontUsed by:472 495 496 499 500
Symbol 472 EditableTextUses:471Used by:473
Symbol 473 MovieClip {mahjong_e_fla.Timeline_41}Uses:472Used by:475
Symbol 474 ButtonUses:432Used by:475 512 531 583 586
Symbol 475 MovieClip {mahjong_e_fla.Timeline_39}Uses:470 473 474Used by:626
Symbol 476 TextUses:380Used by:477
Symbol 477 MovieClip {mahjong_e_fla.Timeline_44}Uses:379 476Used by:480
Symbol 478 TextUses:411Used by:480
Symbol 479 TextUses:411Used by:480
Symbol 480 MovieClip {mahjong_e_fla.Timeline_43}Uses:477 478 479Used by:626
Symbol 481 TextUses:380Used by:482
Symbol 482 MovieClip {mahjong_e_fla.Timeline_46}Uses:379 481Used by:489
Symbol 483 GraphicUsed by:484 534 601
Symbol 484 MovieClipUses:483Used by:489
Symbol 485 TextUses:411Used by:486
Symbol 486 ButtonUses:442 485 441Used by:489
Symbol 487 FontUsed by:488
Symbol 488 EditableTextUses:487Used by:489
Symbol 489 MovieClip {mahjong_e_fla.Timeline_45}Uses:482 484 486 488Used by:626
Symbol 490 TextUses:380Used by:491
Symbol 491 MovieClip {mahjong_e_fla.Timeline_50}Uses:379 490Used by:502
Symbol 492 GraphicUsed by:493
Symbol 493 MovieClipUses:492Used by:502
Symbol 494 GraphicUsed by:497
Symbol 495 EditableTextUses:471Used by:497
Symbol 496 EditableTextUses:471Used by:497
Symbol 497 MovieClip {mahjong_e_fla.Timeline_52}Uses:494 495 496Used by:502
Symbol 498 GraphicUsed by:502
Symbol 499 EditableTextUses:471Used by:502
Symbol 500 EditableTextUses:471Used by:502
Symbol 501 ButtonUses:432Used by:502
Symbol 502 MovieClip {mahjong_e_fla.Timeline_49}Uses:491 493 497 498 499 500 501Used by:626
Symbol 503 TextUses:380Used by:504
Symbol 504 MovieClip {mahjong_e_fla.Timeline_55}Uses:379 503Used by:512
Symbol 505 GraphicUsed by:506
Symbol 506 MovieClipUses:505Used by:511
Symbol 507 FontUsed by:508 525 546 611
Symbol 508 EditableTextUses:507Used by:511
Symbol 509 EditableTextUses:411Used by:511
Symbol 510 EditableTextUses:411Used by:511
Symbol 511 MovieClip {mahjong_e_fla.Timeline_56}Uses:506 508 509 510Used by:512
Symbol 512 MovieClip {mahjong_e_fla.Timeline_54}Uses:504 511 474Used by:626
Symbol 513 TextUses:380Used by:514
Symbol 514 MovieClip {mahjong_e_fla.Timeline_59}Uses:379 513Used by:531
Symbol 515 GraphicUsed by:516
Symbol 516 MovieClipUses:515Used by:531
Symbol 517 EditableTextUses:411Used by:523
Symbol 518 EditableTextUses:411Used by:523
Symbol 519 EditableTextUses:411Used by:523
Symbol 520 EditableTextUses:411Used by:523
Symbol 521 EditableTextUses:411Used by:523
Symbol 522 EditableTextUses:411Used by:523
Symbol 523 MovieClip {mahjong_e_fla.Timeline_61}Uses:517 518 519 520 521 522Used by:531
Symbol 524 GraphicUsed by:530
Symbol 525 TextUses:507Used by:530
Symbol 526 TextUses:411Used by:530
Symbol 527 TextUses:411Used by:530
Symbol 528 TextUses:411Used by:530
Symbol 529 TextUses:411Used by:530
Symbol 530 MovieClipUses:524 525 526 527 528 529Used by:531
Symbol 531 MovieClip {mahjong_e_fla.Timeline_58}Uses:514 516 523 530 474Used by:626
Symbol 532 TextUses:380Used by:533
Symbol 533 MovieClip {mahjong_e_fla.Timeline_64}Uses:379 532Used by:552
Symbol 534 MovieClipUses:483Used by:552
Symbol 535 GraphicUsed by:541
Symbol 536 EditableTextUses:411Used by:541
Symbol 537 EditableTextUses:411Used by:541
Symbol 538 EditableTextUses:411Used by:541
Symbol 539 EditableTextUses:411Used by:541
Symbol 540 EditableTextUses:411Used by:541
Symbol 541 MovieClip {mahjong_e_fla.Timeline_66}Uses:535 536 537 538 539 540Used by:552
Symbol 542 TextUses:411Used by:552
Symbol 543 TextUses:411Used by:552
Symbol 544 TextUses:411Used by:552
Symbol 545 TextUses:411Used by:552
Symbol 546 TextUses:507Used by:552
Symbol 547 EditableTextUses:411Used by:552
Symbol 548 TextUses:411Used by:549
Symbol 549 ButtonUses:442 548 441Used by:552
Symbol 550 TextUses:411Used by:551
Symbol 551 ButtonUses:442 550 441Used by:552
Symbol 552 MovieClip {mahjong_e_fla.Timeline_63}Uses:533 534 541 542 543 544 545 546 547 549 551Used by:626
Symbol 553 TextUses:380Used by:554
Symbol 554 MovieClip {mahjong_e_fla.Timeline_70}Uses:379 553Used by:570
Symbol 555 BitmapUsed by:556
Symbol 556 GraphicUses:555Used by:557
Symbol 557 MovieClipUses:556Used by:570
Symbol 558 TextUses:411Used by:559
Symbol 559 ButtonUses:442 558 441Used by:570
Symbol 560 BitmapUsed by:561
Symbol 561 GraphicUses:560Used by:562 563
Symbol 562 MovieClipUses:561Used by:563
Symbol 563 ButtonUses:562 561Used by:570
Symbol 564 TextUses:411Used by:567
Symbol 565 TextUses:411Used by:567
Symbol 566 GraphicUsed by:567
Symbol 567 ButtonUses:564 565 566Used by:570
Symbol 568 FontUsed by:569
Symbol 569 TextUses:568Used by:570
Symbol 570 MovieClip {mahjong_e_fla.Timeline_69}Uses:554 557 559 563 567 569Used by:626
Symbol 571 TextUses:380Used by:572
Symbol 572 MovieClip {mahjong_e_fla.Timeline_77}Uses:379 571Used by:583
Symbol 573 BitmapUsed by:574
Symbol 574 GraphicUses:573Used by:579
Symbol 575 BitmapUsed by:576
Symbol 576 GraphicUses:575Used by:579
Symbol 577 BitmapUsed by:578
Symbol 578 GraphicUses:577Used by:579
Symbol 579 MovieClip {mahjong_e_fla.Timeline_79}Uses:574 576 578Used by:582
Symbol 580 FontUsed by:581
Symbol 581 EditableTextUses:580Used by:582
Symbol 582 MovieClip {mahjong_e_fla.Timeline_78}Uses:579 581Used by:583
Symbol 583 MovieClip {mahjong_e_fla.Timeline_76}Uses:572 582 474Used by:626
Symbol 584 TextUses:380Used by:585
Symbol 585 MovieClip {mahjong_e_fla.Timeline_81}Uses:379 584Used by:586
Symbol 586 MovieClip {mahjong_e_fla.Timeline_80}Uses:585 474Used by:626
Symbol 587 TextUses:380Used by:588
Symbol 588 MovieClip {mahjong_e_fla.Timeline_83}Uses:379 587Used by:598
Symbol 589 SoundUsed by:598
Symbol 590 SoundUsed by:598
Symbol 591 SoundUsed by:598
Symbol 592 SoundUsed by:598
Symbol 593 SoundUsed by:598
Symbol 594 SoundUsed by:598
Symbol 595 SoundUsed by:598
Symbol 596 SoundUsed by:598
Symbol 597 SoundUsed by:598
Symbol 598 MovieClip {mahjong_e_fla.Timeline_82}Uses:588 589 590 591 592 593 594 595 596 597Used by:626
Symbol 599 TextUses:380Used by:600
Symbol 600 MovieClip {mahjong_e_fla.Timeline_85}Uses:379 599Used by:615
Symbol 601 MovieClipUses:483Used by:615
Symbol 602 EditableTextUses:411Used by:615
Symbol 603 TextUses:411Used by:615
Symbol 604 TextUses:411Used by:605
Symbol 605 ButtonUses:442 604 441Used by:615
Symbol 606 GraphicUsed by:610
Symbol 607 EditableTextUses:411Used by:610
Symbol 608 EditableTextUses:411Used by:610
Symbol 609 EditableTextUses:411Used by:610
Symbol 610 MovieClip {mahjong_e_fla.Timeline_88}Uses:606 607 608 609Used by:615
Symbol 611 TextUses:507Used by:615
Symbol 612 TextUses:411Used by:613
Symbol 613 ButtonUses:442 612 441Used by:615
Symbol 614 TextUses:411Used by:615
Symbol 615 MovieClip {mahjong_e_fla.Timeline_84}Uses:600 601 602 603 605 610 611 613 614Used by:626
Symbol 616 TextUses:380Used by:617
Symbol 617 MovieClip {mahjong_e_fla.Timeline_91}Uses:379 616Used by:625
Symbol 618 GraphicUsed by:625
Symbol 619 GraphicUsed by:620
Symbol 620 MovieClipUses:619Used by:625
Symbol 621 MovieClip {mahjong_e_fla.Timeline_93}Uses:373Used by:625
Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}Uses:373Used by:625
Symbol 623 GraphicUsed by:624
Symbol 624 ButtonUses:623Used by:625
Symbol 625 MovieClip {mahjong_e_fla.Timeline_90}Uses:617 618 620 621 622 624Used by:626
Symbol 626 MovieClip {mahjong_e_fla.Timeline_3}Uses:378 383 435 438 440 455 468 475 480 489 502 512 531 552 570 583 586 598 615 625Used by:Timeline

Instance Names

"bar"Symbol 376 MovieClip {mahjong_e_fla.Timeline_1} Frame 1Symbol 375 MovieClip
"tf"Symbol 413 MovieClip {mahjong_e_fla.Timeline_12} Frame 1Symbol 412 EditableText
"tf"Symbol 415 MovieClip {mahjong_e_fla.Timeline_13} Frame 1Symbol 414 EditableText
"mc0"Symbol 423 MovieClip {mahjong_e_fla.Timeline_15} Frame 1Symbol 422 MovieClip {mahjong_e_fla.Timeline_16}
"mc1"Symbol 423 MovieClip {mahjong_e_fla.Timeline_15} Frame 1Symbol 422 MovieClip {mahjong_e_fla.Timeline_16}
"mc2"Symbol 423 MovieClip {mahjong_e_fla.Timeline_15} Frame 1Symbol 422 MovieClip {mahjong_e_fla.Timeline_16}
"mc3"Symbol 423 MovieClip {mahjong_e_fla.Timeline_15} Frame 1Symbol 422 MovieClip {mahjong_e_fla.Timeline_16}
"mc4"Symbol 423 MovieClip {mahjong_e_fla.Timeline_15} Frame 1Symbol 422 MovieClip {mahjong_e_fla.Timeline_16}
"mc5"Symbol 423 MovieClip {mahjong_e_fla.Timeline_15} Frame 1Symbol 422 MovieClip {mahjong_e_fla.Timeline_16}
"mc6"Symbol 423 MovieClip {mahjong_e_fla.Timeline_15} Frame 1Symbol 422 MovieClip {mahjong_e_fla.Timeline_16}
"mc7"Symbol 423 MovieClip {mahjong_e_fla.Timeline_15} Frame 1Symbol 422 MovieClip {mahjong_e_fla.Timeline_16}
"mc8"Symbol 423 MovieClip {mahjong_e_fla.Timeline_15} Frame 1Symbol 422 MovieClip {mahjong_e_fla.Timeline_16}
"mc9"Symbol 423 MovieClip {mahjong_e_fla.Timeline_15} Frame 1Symbol 422 MovieClip {mahjong_e_fla.Timeline_16}
"mc10"Symbol 423 MovieClip {mahjong_e_fla.Timeline_15} Frame 1Symbol 422 MovieClip {mahjong_e_fla.Timeline_16}
"mc11"Symbol 423 MovieClip {mahjong_e_fla.Timeline_15} Frame 1Symbol 422 MovieClip {mahjong_e_fla.Timeline_16}
"mc12"Symbol 423 MovieClip {mahjong_e_fla.Timeline_15} Frame 1Symbol 422 MovieClip {mahjong_e_fla.Timeline_16}
"mc13"Symbol 423 MovieClip {mahjong_e_fla.Timeline_15} Frame 1Symbol 422 MovieClip {mahjong_e_fla.Timeline_16}
"mc14"Symbol 423 MovieClip {mahjong_e_fla.Timeline_15} Frame 1Symbol 422 MovieClip {mahjong_e_fla.Timeline_16}
"mc15"Symbol 423 MovieClip {mahjong_e_fla.Timeline_15} Frame 1Symbol 422 MovieClip {mahjong_e_fla.Timeline_16}
"mc16"Symbol 423 MovieClip {mahjong_e_fla.Timeline_15} Frame 1Symbol 422 MovieClip {mahjong_e_fla.Timeline_16}
"mc17"Symbol 423 MovieClip {mahjong_e_fla.Timeline_15} Frame 1Symbol 422 MovieClip {mahjong_e_fla.Timeline_16}
"mc18"Symbol 423 MovieClip {mahjong_e_fla.Timeline_15} Frame 1Symbol 422 MovieClip {mahjong_e_fla.Timeline_16}
"mc19"Symbol 423 MovieClip {mahjong_e_fla.Timeline_15} Frame 1Symbol 422 MovieClip {mahjong_e_fla.Timeline_16}
"mc0"Symbol 428 MovieClip {mahjong_e_fla.Timeline_17} Frame 1Symbol 426 MovieClip {mahjong_e_fla.Timeline_18}
"mc1"Symbol 428 MovieClip {mahjong_e_fla.Timeline_17} Frame 1Symbol 426 MovieClip {mahjong_e_fla.Timeline_18}
"mc2"Symbol 428 MovieClip {mahjong_e_fla.Timeline_17} Frame 1Symbol 426 MovieClip {mahjong_e_fla.Timeline_18}
"mc3"Symbol 428 MovieClip {mahjong_e_fla.Timeline_17} Frame 1Symbol 426 MovieClip {mahjong_e_fla.Timeline_18}
"mc4"Symbol 428 MovieClip {mahjong_e_fla.Timeline_17} Frame 1Symbol 426 MovieClip {mahjong_e_fla.Timeline_18}
"btnLink"Symbol 434 MovieClip {mahjong_e_fla.Timeline_19} Frame 1Symbol 433 Button
"mcReach0"Symbol 435 MovieClip {mahjong_e_fla.Timeline_7} Frame 1Symbol 388 MovieClip {mahjong_e_fla.Timeline_9}
"mcReach2"Symbol 435 MovieClip {mahjong_e_fla.Timeline_7} Frame 1Symbol 388 MovieClip {mahjong_e_fla.Timeline_9}
"mcReach1"Symbol 435 MovieClip {mahjong_e_fla.Timeline_7} Frame 1Symbol 391 MovieClip {mahjong_e_fla.Timeline_10}
"mcReach3"Symbol 435 MovieClip {mahjong_e_fla.Timeline_7} Frame 1Symbol 391 MovieClip {mahjong_e_fla.Timeline_10}
"mcChicha"Symbol 435 MovieClip {mahjong_e_fla.Timeline_7} Frame 1Symbol 410 MovieClip {mahjong_e_fla.Timeline_11}
"mcTenbo0"Symbol 435 MovieClip {mahjong_e_fla.Timeline_7} Frame 1Symbol 413 MovieClip {mahjong_e_fla.Timeline_12}
"mcTenbo1"Symbol 435 MovieClip {mahjong_e_fla.Timeline_7} Frame 1Symbol 413 MovieClip {mahjong_e_fla.Timeline_12}
"mcTenbo2"Symbol 435 MovieClip {mahjong_e_fla.Timeline_7} Frame 1Symbol 413 MovieClip {mahjong_e_fla.Timeline_12}
"mcTenbo3"Symbol 435 MovieClip {mahjong_e_fla.Timeline_7} Frame 1Symbol 413 MovieClip {mahjong_e_fla.Timeline_12}
"mcKyoku"Symbol 435 MovieClip {mahjong_e_fla.Timeline_7} Frame 1Symbol 415 MovieClip {mahjong_e_fla.Timeline_13}
"mcOya"Symbol 435 MovieClip {mahjong_e_fla.Timeline_7} Frame 1Symbol 417 MovieClip {mahjong_e_fla.Timeline_14}
"mcSibabo"Symbol 435 MovieClip {mahjong_e_fla.Timeline_7} Frame 1Symbol 423 MovieClip {mahjong_e_fla.Timeline_15}
"mcSpeed"Symbol 435 MovieClip {mahjong_e_fla.Timeline_7} Frame 1Symbol 428 MovieClip {mahjong_e_fla.Timeline_17}
"mcLink"Symbol 435 MovieClip {mahjong_e_fla.Timeline_7} Frame 1Symbol 434 MovieClip {mahjong_e_fla.Timeline_19}
"btnKan"Symbol 455 MovieClip {mahjong_e_fla.Timeline_24} Frame 1Symbol 444 Button
"btnTumo"Symbol 455 MovieClip {mahjong_e_fla.Timeline_24} Frame 1Symbol 448 Button
"btnNine"Symbol 455 MovieClip {mahjong_e_fla.Timeline_24} Frame 1Symbol 450 Button
"btnReach"Symbol 455 MovieClip {mahjong_e_fla.Timeline_24} Frame 1Symbol 452 Button
"btnDebug"Symbol 455 MovieClip {mahjong_e_fla.Timeline_24} Frame 1Symbol 454 Button
"btnKan"Symbol 468 MovieClip {mahjong_e_fla.Timeline_32} Frame 1Symbol 444 Button
"btnPon"Symbol 468 MovieClip {mahjong_e_fla.Timeline_32} Frame 1Symbol 457 Button
"btnChi"Symbol 468 MovieClip {mahjong_e_fla.Timeline_32} Frame 1Symbol 459 Button
"btnRon"Symbol 468 MovieClip {mahjong_e_fla.Timeline_32} Frame 1Symbol 461 Button
"mcCurs"Symbol 468 MovieClip {mahjong_e_fla.Timeline_32} Frame 1Symbol 465 MovieClip {mahjong_e_fla.Timeline_37}
"btnPass"Symbol 468 MovieClip {mahjong_e_fla.Timeline_32} Frame 1Symbol 467 Button
"tfMes"Symbol 473 MovieClip {mahjong_e_fla.Timeline_41} Frame 1Symbol 472 EditableText
"mcText"Symbol 475 MovieClip {mahjong_e_fla.Timeline_39} Frame 1Symbol 473 MovieClip {mahjong_e_fla.Timeline_41}
"btn"Symbol 475 MovieClip {mahjong_e_fla.Timeline_39} Frame 10Symbol 474 Button
"btn"Symbol 489 MovieClip {mahjong_e_fla.Timeline_45} Frame 10Symbol 486 Button
"tf"Symbol 489 MovieClip {mahjong_e_fla.Timeline_45} Frame 10Symbol 488 EditableText
"tfYaku"Symbol 497 MovieClip {mahjong_e_fla.Timeline_52} Frame 1Symbol 495 EditableText
"tfHan"Symbol 497 MovieClip {mahjong_e_fla.Timeline_52} Frame 1Symbol 496 EditableText
"mcYaku0"Symbol 502 MovieClip {mahjong_e_fla.Timeline_49} Frame 9Symbol 497 MovieClip {mahjong_e_fla.Timeline_52}
"mcYaku1"Symbol 502 MovieClip {mahjong_e_fla.Timeline_49} Frame 9Symbol 497 MovieClip {mahjong_e_fla.Timeline_52}
"mcYaku2"Symbol 502 MovieClip {mahjong_e_fla.Timeline_49} Frame 9Symbol 497 MovieClip {mahjong_e_fla.Timeline_52}
"mcYaku3"Symbol 502 MovieClip {mahjong_e_fla.Timeline_49} Frame 9Symbol 497 MovieClip {mahjong_e_fla.Timeline_52}
"mcYaku4"Symbol 502 MovieClip {mahjong_e_fla.Timeline_49} Frame 9Symbol 497 MovieClip {mahjong_e_fla.Timeline_52}
"mcYaku5"Symbol 502 MovieClip {mahjong_e_fla.Timeline_49} Frame 9Symbol 497 MovieClip {mahjong_e_fla.Timeline_52}
"mcYaku6"Symbol 502 MovieClip {mahjong_e_fla.Timeline_49} Frame 9Symbol 497 MovieClip {mahjong_e_fla.Timeline_52}
"mcYaku7"Symbol 502 MovieClip {mahjong_e_fla.Timeline_49} Frame 9Symbol 497 MovieClip {mahjong_e_fla.Timeline_52}
"mcYaku8"Symbol 502 MovieClip {mahjong_e_fla.Timeline_49} Frame 9Symbol 497 MovieClip {mahjong_e_fla.Timeline_52}
"mcYaku9"Symbol 502 MovieClip {mahjong_e_fla.Timeline_49} Frame 9Symbol 497 MovieClip {mahjong_e_fla.Timeline_52}
"tfHan"Symbol 502 MovieClip {mahjong_e_fla.Timeline_49} Frame 9Symbol 499 EditableText
"tfTen"Symbol 502 MovieClip {mahjong_e_fla.Timeline_49} Frame 9Symbol 500 EditableText
"btn"Symbol 502 MovieClip {mahjong_e_fla.Timeline_49} Frame 9Symbol 501 Button
"tfJun"Symbol 511 MovieClip {mahjong_e_fla.Timeline_56} Frame 1Symbol 508 EditableText
"tfTen"Symbol 511 MovieClip {mahjong_e_fla.Timeline_56} Frame 1Symbol 509 EditableText
"tfPoint"Symbol 511 MovieClip {mahjong_e_fla.Timeline_56} Frame 1Symbol 510 EditableText
"mc2"Symbol 512 MovieClip {mahjong_e_fla.Timeline_54} Frame 2Symbol 511 MovieClip {mahjong_e_fla.Timeline_56}
"mc3"Symbol 512 MovieClip {mahjong_e_fla.Timeline_54} Frame 2Symbol 511 MovieClip {mahjong_e_fla.Timeline_56}
"mc0"Symbol 512 MovieClip {mahjong_e_fla.Timeline_54} Frame 2Symbol 511 MovieClip {mahjong_e_fla.Timeline_56}
"mc1"Symbol 512 MovieClip {mahjong_e_fla.Timeline_54} Frame 2Symbol 511 MovieClip {mahjong_e_fla.Timeline_56}
"btn"Symbol 512 MovieClip {mahjong_e_fla.Timeline_54} Frame 27Symbol 474 Button
"tfKyoku"Symbol 523 MovieClip {mahjong_e_fla.Timeline_61} Frame 1Symbol 517 EditableText
"tfCode"Symbol 523 MovieClip {mahjong_e_fla.Timeline_61} Frame 1Symbol 518 EditableText
"tfTen0"Symbol 523 MovieClip {mahjong_e_fla.Timeline_61} Frame 1Symbol 519 EditableText
"tfTen1"Symbol 523 MovieClip {mahjong_e_fla.Timeline_61} Frame 1Symbol 520 EditableText
"tfTen2"Symbol 523 MovieClip {mahjong_e_fla.Timeline_61} Frame 1Symbol 521 EditableText
"tfTen3"Symbol 523 MovieClip {mahjong_e_fla.Timeline_61} Frame 1Symbol 522 EditableText
"mc0"Symbol 531 MovieClip {mahjong_e_fla.Timeline_58} Frame 15Symbol 523 MovieClip {mahjong_e_fla.Timeline_61}
"mc1"Symbol 531 MovieClip {mahjong_e_fla.Timeline_58} Frame 15Symbol 523 MovieClip {mahjong_e_fla.Timeline_61}
"mc2"Symbol 531 MovieClip {mahjong_e_fla.Timeline_58} Frame 15Symbol 523 MovieClip {mahjong_e_fla.Timeline_61}
"mc3"Symbol 531 MovieClip {mahjong_e_fla.Timeline_58} Frame 15Symbol 523 MovieClip {mahjong_e_fla.Timeline_61}
"mc4"Symbol 531 MovieClip {mahjong_e_fla.Timeline_58} Frame 15Symbol 523 MovieClip {mahjong_e_fla.Timeline_61}
"mc5"Symbol 531 MovieClip {mahjong_e_fla.Timeline_58} Frame 15Symbol 523 MovieClip {mahjong_e_fla.Timeline_61}
"mc6"Symbol 531 MovieClip {mahjong_e_fla.Timeline_58} Frame 15Symbol 523 MovieClip {mahjong_e_fla.Timeline_61}
"mc7"Symbol 531 MovieClip {mahjong_e_fla.Timeline_58} Frame 15Symbol 523 MovieClip {mahjong_e_fla.Timeline_61}
"mc8"Symbol 531 MovieClip {mahjong_e_fla.Timeline_58} Frame 15Symbol 523 MovieClip {mahjong_e_fla.Timeline_61}
"mc9"Symbol 531 MovieClip {mahjong_e_fla.Timeline_58} Frame 15Symbol 523 MovieClip {mahjong_e_fla.Timeline_61}
"mc10"Symbol 531 MovieClip {mahjong_e_fla.Timeline_58} Frame 15Symbol 523 MovieClip {mahjong_e_fla.Timeline_61}
"mc11"Symbol 531 MovieClip {mahjong_e_fla.Timeline_58} Frame 15Symbol 523 MovieClip {mahjong_e_fla.Timeline_61}
"mc12"Symbol 531 MovieClip {mahjong_e_fla.Timeline_58} Frame 15Symbol 523 MovieClip {mahjong_e_fla.Timeline_61}
"mc13"Symbol 531 MovieClip {mahjong_e_fla.Timeline_58} Frame 15Symbol 523 MovieClip {mahjong_e_fla.Timeline_61}
"mc14"Symbol 531 MovieClip {mahjong_e_fla.Timeline_58} Frame 15Symbol 523 MovieClip {mahjong_e_fla.Timeline_61}
"mc15"Symbol 531 MovieClip {mahjong_e_fla.Timeline_58} Frame 15Symbol 523 MovieClip {mahjong_e_fla.Timeline_61}
"mc16"Symbol 531 MovieClip {mahjong_e_fla.Timeline_58} Frame 15Symbol 523 MovieClip {mahjong_e_fla.Timeline_61}
"mc17"Symbol 531 MovieClip {mahjong_e_fla.Timeline_58} Frame 15Symbol 523 MovieClip {mahjong_e_fla.Timeline_61}
"mc18"Symbol 531 MovieClip {mahjong_e_fla.Timeline_58} Frame 15Symbol 523 MovieClip {mahjong_e_fla.Timeline_61}
"mc19"Symbol 531 MovieClip {mahjong_e_fla.Timeline_58} Frame 15Symbol 523 MovieClip {mahjong_e_fla.Timeline_61}
"mc20"Symbol 531 MovieClip {mahjong_e_fla.Timeline_58} Frame 15Symbol 523 MovieClip {mahjong_e_fla.Timeline_61}
"mc21"Symbol 531 MovieClip {mahjong_e_fla.Timeline_58} Frame 15Symbol 523 MovieClip {mahjong_e_fla.Timeline_61}
"mc22"Symbol 531 MovieClip {mahjong_e_fla.Timeline_58} Frame 15Symbol 523 MovieClip {mahjong_e_fla.Timeline_61}
"mc23"Symbol 531 MovieClip {mahjong_e_fla.Timeline_58} Frame 15Symbol 523 MovieClip {mahjong_e_fla.Timeline_61}
"mc24"Symbol 531 MovieClip {mahjong_e_fla.Timeline_58} Frame 15Symbol 523 MovieClip {mahjong_e_fla.Timeline_61}
"mc25"Symbol 531 MovieClip {mahjong_e_fla.Timeline_58} Frame 15Symbol 523 MovieClip {mahjong_e_fla.Timeline_61}
"mc26"Symbol 531 MovieClip {mahjong_e_fla.Timeline_58} Frame 15Symbol 523 MovieClip {mahjong_e_fla.Timeline_61}
"mc27"Symbol 531 MovieClip {mahjong_e_fla.Timeline_58} Frame 15Symbol 523 MovieClip {mahjong_e_fla.Timeline_61}
"mc28"Symbol 531 MovieClip {mahjong_e_fla.Timeline_58} Frame 15Symbol 523 MovieClip {mahjong_e_fla.Timeline_61}
"mc29"Symbol 531 MovieClip {mahjong_e_fla.Timeline_58} Frame 15Symbol 523 MovieClip {mahjong_e_fla.Timeline_61}
"mcTop"Symbol 531 MovieClip {mahjong_e_fla.Timeline_58} Frame 15Symbol 530 MovieClip
"btn"Symbol 531 MovieClip {mahjong_e_fla.Timeline_58} Frame 27Symbol 474 Button
"tf0"Symbol 541 MovieClip {mahjong_e_fla.Timeline_66} Frame 1Symbol 536 EditableText
"tf1"Symbol 541 MovieClip {mahjong_e_fla.Timeline_66} Frame 1Symbol 537 EditableText
"tf2"Symbol 541 MovieClip {mahjong_e_fla.Timeline_66} Frame 1Symbol 538 EditableText
"tf3"Symbol 541 MovieClip {mahjong_e_fla.Timeline_66} Frame 1Symbol 539 EditableText
"tfCount"Symbol 541 MovieClip {mahjong_e_fla.Timeline_66} Frame 1Symbol 540 EditableText
"mc0"Symbol 552 MovieClip {mahjong_e_fla.Timeline_63} Frame 15Symbol 541 MovieClip {mahjong_e_fla.Timeline_66}
"mc1"Symbol 552 MovieClip {mahjong_e_fla.Timeline_63} Frame 15Symbol 541 MovieClip {mahjong_e_fla.Timeline_66}
"mc2"Symbol 552 MovieClip {mahjong_e_fla.Timeline_63} Frame 15Symbol 541 MovieClip {mahjong_e_fla.Timeline_66}
"mc3"Symbol 552 MovieClip {mahjong_e_fla.Timeline_63} Frame 15Symbol 541 MovieClip {mahjong_e_fla.Timeline_66}
"mc4"Symbol 552 MovieClip {mahjong_e_fla.Timeline_63} Frame 15Symbol 541 MovieClip {mahjong_e_fla.Timeline_66}
"mc5"Symbol 552 MovieClip {mahjong_e_fla.Timeline_63} Frame 15Symbol 541 MovieClip {mahjong_e_fla.Timeline_66}
"mc6"Symbol 552 MovieClip {mahjong_e_fla.Timeline_63} Frame 15Symbol 541 MovieClip {mahjong_e_fla.Timeline_66}
"mc7"Symbol 552 MovieClip {mahjong_e_fla.Timeline_63} Frame 15Symbol 541 MovieClip {mahjong_e_fla.Timeline_66}
"mc8"Symbol 552 MovieClip {mahjong_e_fla.Timeline_63} Frame 15Symbol 541 MovieClip {mahjong_e_fla.Timeline_66}
"mc9"Symbol 552 MovieClip {mahjong_e_fla.Timeline_63} Frame 15Symbol 541 MovieClip {mahjong_e_fla.Timeline_66}
"mcSum"Symbol 552 MovieClip {mahjong_e_fla.Timeline_63} Frame 15Symbol 541 MovieClip {mahjong_e_fla.Timeline_66}
"tfRensho"Symbol 552 MovieClip {mahjong_e_fla.Timeline_63} Frame 15Symbol 547 EditableText
"btnStart"Symbol 552 MovieClip {mahjong_e_fla.Timeline_63} Frame 15Symbol 549 Button
"btnRanking"Symbol 552 MovieClip {mahjong_e_fla.Timeline_63} Frame 15Symbol 551 Button
"btnStart"Symbol 570 MovieClip {mahjong_e_fla.Timeline_69} Frame 18Symbol 559 Button
"btnLink"Symbol 570 MovieClip {mahjong_e_fla.Timeline_69} Frame 18Symbol 563 Button
"btnRank"Symbol 570 MovieClip {mahjong_e_fla.Timeline_69} Frame 18Symbol 567 Button
"mcPat"Symbol 582 MovieClip {mahjong_e_fla.Timeline_78} Frame 1Symbol 579 MovieClip {mahjong_e_fla.Timeline_79}
"tfMes"Symbol 582 MovieClip {mahjong_e_fla.Timeline_78} Frame 1Symbol 581 EditableText
"mcFukidasi"Symbol 583 MovieClip {mahjong_e_fla.Timeline_76} Frame 1Symbol 582 MovieClip {mahjong_e_fla.Timeline_78}
"btn"Symbol 583 MovieClip {mahjong_e_fla.Timeline_76} Frame 2Symbol 474 Button
"btn"Symbol 586 MovieClip {mahjong_e_fla.Timeline_80} Frame 2Symbol 474 Button
"tfName"Symbol 610 MovieClip {mahjong_e_fla.Timeline_88} Frame 1Symbol 607 EditableText
"tfScore"Symbol 610 MovieClip {mahjong_e_fla.Timeline_88} Frame 1Symbol 608 EditableText
"tfRank"Symbol 610 MovieClip {mahjong_e_fla.Timeline_88} Frame 1Symbol 609 EditableText
"tfName"Symbol 615 MovieClip {mahjong_e_fla.Timeline_84} Frame 19Symbol 602 EditableText
"btnSend"Symbol 615 MovieClip {mahjong_e_fla.Timeline_84} Frame 19Symbol 605 Button
"rank0"Symbol 615 MovieClip {mahjong_e_fla.Timeline_84} Frame 32Symbol 610 MovieClip {mahjong_e_fla.Timeline_88}
"rank1"Symbol 615 MovieClip {mahjong_e_fla.Timeline_84} Frame 32Symbol 610 MovieClip {mahjong_e_fla.Timeline_88}
"rank2"Symbol 615 MovieClip {mahjong_e_fla.Timeline_84} Frame 32Symbol 610 MovieClip {mahjong_e_fla.Timeline_88}
"rank3"Symbol 615 MovieClip {mahjong_e_fla.Timeline_84} Frame 32Symbol 610 MovieClip {mahjong_e_fla.Timeline_88}
"rank4"Symbol 615 MovieClip {mahjong_e_fla.Timeline_84} Frame 32Symbol 610 MovieClip {mahjong_e_fla.Timeline_88}
"rank5"Symbol 615 MovieClip {mahjong_e_fla.Timeline_84} Frame 32Symbol 610 MovieClip {mahjong_e_fla.Timeline_88}
"rank6"Symbol 615 MovieClip {mahjong_e_fla.Timeline_84} Frame 32Symbol 610 MovieClip {mahjong_e_fla.Timeline_88}
"rank7"Symbol 615 MovieClip {mahjong_e_fla.Timeline_84} Frame 32Symbol 610 MovieClip {mahjong_e_fla.Timeline_88}
"rank8"Symbol 615 MovieClip {mahjong_e_fla.Timeline_84} Frame 32Symbol 610 MovieClip {mahjong_e_fla.Timeline_88}
"rank9"Symbol 615 MovieClip {mahjong_e_fla.Timeline_84} Frame 32Symbol 610 MovieClip {mahjong_e_fla.Timeline_88}
"btnEnd"Symbol 615 MovieClip {mahjong_e_fla.Timeline_84} Frame 32Symbol 613 Button
"mc"Symbol 621 MovieClip {mahjong_e_fla.Timeline_93} Frame 1Symbol 373 MovieClip {paiMC}
"mc"Symbol 622 MovieClip {mahjong_e_fla.Timeline_95} Frame 1Symbol 373 MovieClip {paiMC}
"mcCurs"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 620 MovieClip
"get_1"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 621 MovieClip {mahjong_e_fla.Timeline_93}
"get_2"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 621 MovieClip {mahjong_e_fla.Timeline_93}
"get_3"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 621 MovieClip {mahjong_e_fla.Timeline_93}
"get_4"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 621 MovieClip {mahjong_e_fla.Timeline_93}
"get_5"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 621 MovieClip {mahjong_e_fla.Timeline_93}
"get_6"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 621 MovieClip {mahjong_e_fla.Timeline_93}
"get_7"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 621 MovieClip {mahjong_e_fla.Timeline_93}
"get_8"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 621 MovieClip {mahjong_e_fla.Timeline_93}
"get_9"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 621 MovieClip {mahjong_e_fla.Timeline_93}
"get_11"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 621 MovieClip {mahjong_e_fla.Timeline_93}
"get_12"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 621 MovieClip {mahjong_e_fla.Timeline_93}
"get_13"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 621 MovieClip {mahjong_e_fla.Timeline_93}
"get_14"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 621 MovieClip {mahjong_e_fla.Timeline_93}
"get_15"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 621 MovieClip {mahjong_e_fla.Timeline_93}
"get_16"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 621 MovieClip {mahjong_e_fla.Timeline_93}
"get_17"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 621 MovieClip {mahjong_e_fla.Timeline_93}
"get_18"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 621 MovieClip {mahjong_e_fla.Timeline_93}
"get_19"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 621 MovieClip {mahjong_e_fla.Timeline_93}
"get_21"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 621 MovieClip {mahjong_e_fla.Timeline_93}
"get_22"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 621 MovieClip {mahjong_e_fla.Timeline_93}
"get_23"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 621 MovieClip {mahjong_e_fla.Timeline_93}
"get_24"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 621 MovieClip {mahjong_e_fla.Timeline_93}
"get_25"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 621 MovieClip {mahjong_e_fla.Timeline_93}
"get_26"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 621 MovieClip {mahjong_e_fla.Timeline_93}
"get_27"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 621 MovieClip {mahjong_e_fla.Timeline_93}
"get_28"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 621 MovieClip {mahjong_e_fla.Timeline_93}
"get_29"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 621 MovieClip {mahjong_e_fla.Timeline_93}
"get_31"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 621 MovieClip {mahjong_e_fla.Timeline_93}
"get_32"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 621 MovieClip {mahjong_e_fla.Timeline_93}
"get_33"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 621 MovieClip {mahjong_e_fla.Timeline_93}
"get_34"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 621 MovieClip {mahjong_e_fla.Timeline_93}
"get_35"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 621 MovieClip {mahjong_e_fla.Timeline_93}
"get_36"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 621 MovieClip {mahjong_e_fla.Timeline_93}
"get_37"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 621 MovieClip {mahjong_e_fla.Timeline_93}
"tepai_0_0"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_0_1"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_0_2"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_0_3"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_0_4"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_0_5"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_0_6"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_0_7"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_0_8"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_0_9"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_0_10"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_0_11"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_0_12"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_0_13"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_1_0"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_1_1"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_1_2"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_1_3"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_1_4"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_1_5"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_1_6"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_1_7"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_1_8"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_1_9"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_1_10"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_1_11"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_1_12"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_1_13"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_2_0"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_2_1"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_2_2"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_2_3"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_2_4"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_2_5"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_2_6"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_2_7"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_2_8"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_2_9"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_2_10"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_2_11"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_2_12"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_2_13"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_3_0"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_3_1"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_3_2"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_3_3"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_3_4"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_3_5"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_3_6"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_3_7"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_3_8"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_3_9"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_3_10"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_3_11"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_3_12"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"tepai_3_13"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 622 MovieClip {mahjong_e_fla.Timeline_95}
"btn"Symbol 625 MovieClip {mahjong_e_fla.Timeline_90} Frame 2Symbol 624 Button
"mcShadowLayer"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 1Symbol 383 MovieClip {mahjong_e_fla.Timeline_5}
"mcItem"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 1Symbol 435 MovieClip {mahjong_e_fla.Timeline_7}
"mcPaiLayer"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 1Symbol 438 MovieClip {mahjong_e_fla.Timeline_21}
"mcClick0"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 1Symbol 440 MovieClip {mahjong_e_fla.Timeline_23}
"mcClick1"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 1Symbol 440 MovieClip {mahjong_e_fla.Timeline_23}
"mcClick2"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 1Symbol 440 MovieClip {mahjong_e_fla.Timeline_23}
"mcClick3"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 1Symbol 440 MovieClip {mahjong_e_fla.Timeline_23}
"mcClick4"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 1Symbol 440 MovieClip {mahjong_e_fla.Timeline_23}
"mcClick5"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 1Symbol 440 MovieClip {mahjong_e_fla.Timeline_23}
"mcClick6"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 1Symbol 440 MovieClip {mahjong_e_fla.Timeline_23}
"mcClick7"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 1Symbol 440 MovieClip {mahjong_e_fla.Timeline_23}
"mcClick8"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 1Symbol 440 MovieClip {mahjong_e_fla.Timeline_23}
"mcClick9"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 1Symbol 440 MovieClip {mahjong_e_fla.Timeline_23}
"mcClick10"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 1Symbol 440 MovieClip {mahjong_e_fla.Timeline_23}
"mcClick11"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 1Symbol 440 MovieClip {mahjong_e_fla.Timeline_23}
"mcClick12"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 1Symbol 440 MovieClip {mahjong_e_fla.Timeline_23}
"mcClick13"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 1Symbol 440 MovieClip {mahjong_e_fla.Timeline_23}
"mcAction"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 1Symbol 455 MovieClip {mahjong_e_fla.Timeline_24}
"mcReaction"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 1Symbol 468 MovieClip {mahjong_e_fla.Timeline_32}
"mcMes"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 1Symbol 475 MovieClip {mahjong_e_fla.Timeline_39}
"mcSmallMes"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 1Symbol 480 MovieClip {mahjong_e_fla.Timeline_43}
"mcDialog"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 1Symbol 489 MovieClip {mahjong_e_fla.Timeline_45}
"mcHora"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 1Symbol 502 MovieClip {mahjong_e_fla.Timeline_49}
"mcJun"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 1Symbol 512 MovieClip {mahjong_e_fla.Timeline_54}
"mcHis"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 1Symbol 531 MovieClip {mahjong_e_fla.Timeline_58}
"mcShukei"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 1Symbol 552 MovieClip {mahjong_e_fla.Timeline_63}
"mcTitle"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 1Symbol 570 MovieClip {mahjong_e_fla.Timeline_69}
"mcHassei"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 1Symbol 583 MovieClip {mahjong_e_fla.Timeline_76}
"mcClick"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 1Symbol 586 MovieClip {mahjong_e_fla.Timeline_80}
"mcSound"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 1Symbol 598 MovieClip {mahjong_e_fla.Timeline_82}
"mcRanking"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 1Symbol 615 MovieClip {mahjong_e_fla.Timeline_84}
"mcDebug"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 1Symbol 625 MovieClip {mahjong_e_fla.Timeline_90}

Special Tags

FileAttributes (69)Timeline Frame 1Access local files only, Metadata not present, AS3.

Labels

"load"Frame 1
"main"Frame 7
"kamicha"Symbol 5 MovieClip {shadowMC} Frame 41
"toimen"Symbol 5 MovieClip {shadowMC} Frame 81
"shimocha"Symbol 5 MovieClip {shadowMC} Frame 121
"stand"Symbol 5 MovieClip {shadowMC} Frame 161
"kamicha"Symbol 373 MovieClip {paiMC} Frame 41
"toimen"Symbol 373 MovieClip {paiMC} Frame 81
"shimocha"Symbol 373 MovieClip {paiMC} Frame 121
"stand"Symbol 373 MovieClip {paiMC} Frame 161
"chi"Symbol 480 MovieClip {mahjong_e_fla.Timeline_43} Frame 5
"kan"Symbol 480 MovieClip {mahjong_e_fla.Timeline_43} Frame 10
"tumo"Symbol 598 MovieClip {mahjong_e_fla.Timeline_82} Frame 2
"sute"Symbol 598 MovieClip {mahjong_e_fla.Timeline_82} Frame 8
"naki"Symbol 598 MovieClip {mahjong_e_fla.Timeline_82} Frame 14
"reach"Symbol 598 MovieClip {mahjong_e_fla.Timeline_82} Frame 20
"notice"Symbol 598 MovieClip {mahjong_e_fla.Timeline_82} Frame 26
"hassei"Symbol 598 MovieClip {mahjong_e_fla.Timeline_82} Frame 33
"win"Symbol 598 MovieClip {mahjong_e_fla.Timeline_82} Frame 40
"lose"Symbol 598 MovieClip {mahjong_e_fla.Timeline_82} Frame 46
"tenbo"Symbol 598 MovieClip {mahjong_e_fla.Timeline_82} Frame 53
"tenbo_loop"Symbol 598 MovieClip {mahjong_e_fla.Timeline_82} Frame 61
"tenbo_end"Symbol 598 MovieClip {mahjong_e_fla.Timeline_82} Frame 68
"rank"Symbol 615 MovieClip {mahjong_e_fla.Timeline_84} Frame 14
"entry"Symbol 615 MovieClip {mahjong_e_fla.Timeline_84} Frame 19
"send"Symbol 615 MovieClip {mahjong_e_fla.Timeline_84} Frame 26
"display"Symbol 615 MovieClip {mahjong_e_fla.Timeline_84} Frame 32
"error"Symbol 615 MovieClip {mahjong_e_fla.Timeline_84} Frame 41
"global"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 3
"taku"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 9
"uty"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 14
"mota"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 18
"sub"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 24
"member"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 28
"pv"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 36
"man"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 40
"com"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 45
"title"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 52
"play"Symbol 626 MovieClip {mahjong_e_fla.Timeline_3} Frame 57




http://swfchan.com/11/51413/info.shtml
Created: 11/8 -2019 07:22:53 Last modified: 11/8 -2019 07:22:53 Server time: 22/12 -2024 21:58:03