the cutting room mirror

MR 12 V.BIN

This article has a talk page!
view on tcrf.net

This is a sub-page of Kinniku Banzuke Vol.2: Aratanaru Genkai he no Chousen!.

0x579E00#

------------------*/
        case 10:

            for( i=0; i<8; i++ )
                PSETtoEH( i, 0 );                               /* エディット情報をシステムワークにセット */


                                                                    /* ランキングモードではエントリー人数を表示   */

            if( GAME_MODE == MODE_MUS )
            {
                if( pos_sav[RANKING_SELECT] )           /* 全競技  */
                {
                        entry_type = 3;
                }
                else                                                            /* 1競技  */
                {
                    if( GET_TUG_BATTLE(pos_sav[GAME_SELECT]) ) {
                        entry_type = ( pos_sav[GAME_SELECT] != 4 ) ? 1 : 2;
                    } else {
                        entry_type = 0;
                    }
                }

0x57E400#

-----*/
static int m_IMGAction1( void )
{
    sys_w;
    CLASS0_W *spr;
    SPD_W    *spd;
    u_char   *wk;
    u_char   i;

    wk  = (u_char *)&m_spw[DAT1];
    spr = &s->classw0[DAT1];
    spd = spr->chara;

    switch( wk[0] ) {
    case 0:
        return 1;
    case 1:                                             /* イメージ初期化     */
        set2dN( DAT1, MS_CR+9, MODE256, 0, 0, 0x16, B_S+0x0a+1, 1, PR5 );
        set_rgb_classw0( DAT1, 0 );
        wk[0] ++;
        wk[1] = 0;
        break;

    case 2:                                             /* イメージフェードイン     */
        if( ! Fade( (8<<4)|0, DAT1, 1 ) )
            break;
        wk[0] ++;
        wk[1] = 1;
        break;

    case 3:                                             /* イメージ変更待ち    */
        break;

    case 4:                                             /* イメージフェードアウト    */
        if( ! Fade( (8<<4)|2, DAT1, 1 ) )
            break;
        spr->kind = OFF;
        wk[0] ++;
    default:                                            /* 終了                       */
        return 1;
    }

    switch( wk[1] ) {
    case 0:
        spd[26].offset_x = spd[28].offset_x = -160 + 40;
        spd[27].offset_x = spd[29].offset_x =  120 - 40;
        for( i=0; i<4; i++ ) {
            if( CHK_KAKURE( i ) )   spd[26+i].ysize = 0x30;
            else                                    spd[26+i].ysize 

0x582C00#

spr->b<0x80-sp)? spr->g+sp:0x80;
            if( (spr->r+spr->g+spr->b)/3 == 0x80 ) {
                fade_chk++;
            }
        }
        else {                              // フェードアウト
            spr->r = (spr->r>sp)? spr->r-sp:0;
            spr->g = (spr->g>sp)? spr->g-sp:0;
            spr->b = (spr->b>sp)? spr->b-sp:0;
            if( (spr->r+spr->g+spr->b) == 0 ) {
                if( spr->kind )
                    spr->kind = ((io&0x3)<2)? 0:1;
                fade_chk++;
            }
        }
    }
    return( (fade_chk==cnt)? 1:0 );
}


/*------------------------------------------------------------------*/
/*                          スプライト初期配置                                                                          */
/*------------------------------------------------------------------*/
/*      *dat    : SPDデータ配列                                                                                 */
/*      cno     : SPR登録番号                                                                                   */
/*      tp      : テクスチャページ                                                                                    */
/*      pri     : プライオリティ                                                                                      */
/*      type    : 配置タイプ (0:none 1:L→R 2:L→L 3:R→R 4:R→R)               */
/*                         (5:U→U 6:OFF)                                                            */
/*------------------------------------------------------------------*/
void m_SprSet( u_s

0x58CC00#

        else {  /* エディットキャラ */
            cls0->tpage = 0x06;
            for( i=0; i<7; i++ ) {
                if( type == 0 ) {   /* 進行ロード(進行保存エディットキャラ名を使用) */
                    spd[i].u = SWK.Medit[DATA_NAME(dno)-14][1+i]&0xf0;
                    spd[i].v = (SWK.Medit[DATA_NAME(dno)-14][1+i]&0x0f)<<4;
                }
                else {  /* ランキングセーブ */
                        /* はじめから:現エントリーエディットキャラ名 */
                        /* つづきから:進行保存エディットキャラ名 */
                    spd[i].u = (sp->ModSel.muskind)? SWK.Medit[DATA_NAME(dno)-14][1+i]&0xf0:
                                                     SWK.Nedit[DATA_NAME(dno)-14][1+i]&0xf0;
                    spd[i].v = (sp->ModSel.muskind)? (SWK.Medit[DATA_NAME(dno)-14][1+i]&0x0f)<<4:
                                                     (SWK.Nedit[DATA_NAME(dno)-14][1+i]&0x0f)<<4;
                }
            }
        }
    }
    //------------
    //  データなし
    //------------
    else {
        cls0 = SETCLS0( cno );
        cls0->kind = 0;
        cls0 = SETCLS0( nmc );
        spd = (SPD_W *)cls0->chara;
        for( i=0; i<7; i++ ) {
            spd[i].ysize = 0;
        }
        spd[6].ccode = DAT;
    }
}




//==============================================================================
//  ライン

0x590600#

,
/* パターン2 */
0xbb,0xbb,0xbb,0xbb,0xbb,0xbb,0xbb,0x7b,0x7b,0x77,0x17,0x11,0x11,0x71,0x77,0x37,
0x7b,0x77,0x17,0xfb,0xbf,0x71,0x77,0x37,0x1b,0x11,0x11,0xf1,0x1f,0x11,0x11,0x31,
0x1b,0xff,0xff,0xff,0xff,0xff,0xff,0x31,0x1b,0xf9,0x11,0xf9,0x1f,0x11,0x9f,0x31,
0x1b,0xf9,0x91,0xbf,0xbf,0x11,0x9f,0x31,0x1b,0xf9,0xf9,0x1b,0xf9,0x6d,0x9f,0x31,
0x1b,0xf9,0xbf,0x91,0x9f,0xfb,0x9f,0x31,0x1b,0xf9,0x11,0xf9,0xbb,0xb1,0x9f,0x31,
0x1b,0xf9,0x91,0xbf,0xf9,0x1b,0x9f,0x31,0x1b,0xf9,0xfb,0x19,0x61,0xbf,0x9f,0x31,
0x1

0x59D600#

YP == 0 ) {
#if 1
                if( i == 0 ) {
                    ofs = 0;
                } else
                if( i < 19 ) {
                    ofs = 128*1+127*(i-1);
                } else
                if( i < 28 ) {
                    ofs = 128*19+127*(i-19);
                } else
                {
                    ofs = 128*28+127*(i-28);
                }
#else
                if( i == 0 ) {
                    ofs = 0;
                }
                else if( i < 43 ) {
                    ofs = 128*1+127*(i-1);
                }
                else if( i < 51 ) {
                    ofs = 128*43+127*(i-43);
                }
                else {
                    ofs = 128*51+127*(i-51);
                }
#endif
            }
            else if( DTYP == 1 || DTYP == 2 ) {

0x5A0200#

{
    {DAT,0x10,0x10,0xf0,0x10,0xffd0,0xfff4,0x2a},
    {DAT,0x10,0x10,0x40,0x40,0xffde,0xfff4,0x2a},
    {DAT,0x10,0x10,0x80,0x60,0xffec,0xfff4,0x2a},
    {DAT,0x10,0x10,0x90,0x60,0xfffa,0xfff4,0x2a},
    {DAT,0x10,0x10,0x60,0x80,0x0008,0xfff4,0x2a},
    {DAT,0x10,0x10,0x00,0x70,0x0024,0xfff4,0x2a},
    {DAT,0x10,0x10,0xe0,0x60,0x0040,0xfff4,0x2a},
    {DAT,0x10,0x10,0x70,0x30,0x004e,0xfff4,0x2a},
    {DAT,0x10,0x10,0x10,0x90,0xffd8,0x0004,0x2a},
    {DAT,0x10,0x10,0xd0,0x90,0xffe6,0x0004,0x2a},
    {DAT,0x10,0x10,0xd0,0xa0,0xfff4,0x0004,0x2a},
    {DAT,0x10,0x10,0x20,0x70,0x0002,0x0004,0x2a},
    {DAT,0x10,0x10,0x80,0x60,0xff9f,0x0014,0x2a},
    {DAT,0x10,0x10,0x90,0x60,0xffad,0x0014,0x2a},
    {DAT,0x10,0x10,0x60,0x80,0xffbb,0x0014,0x2a},
    {DAT,0x10,0x10,0x00,0x70,0xffd7,0x0014,0x2a},
    {DAT,0x10,0x10,0xe0,0x60,0xfff3,0x0014,0x2a},
    {DAT,0x10,0x10,0x40,0x40,0x0001,0x0014,0x2a},
    {DAT,0x10,0x10,0x10,0x10,0x001f,0x0014,0x2a},
    {DAT,0x10,0x10,0x10,0x20,0x003d,0x0014,0x2a},
    {DAT,0x10,0x10,0x70,0x30,0x004b,0x0014,0x2a},
    {DAT,0x10,0x10,0x10,0x20,0xffc9,0x0024,0x2a},
    {DAT,0x10,0x10,0x00,0x40,0xffd7,0x0024,0x2a},
    {DAT,0x10,0x10,0x10,0x00,0xffe5,0x0024,0x2a},
    {DAT,0x10,0x10,0xd0,0x00,0xfff3,0x0024,0x2a},
    {DAT,0x10,0x10,0x00,0x20,0x0011,0x0024,0x2a},
    {END,0x10,0x10,0x10,0x00,0x001f,0x0024,0x2a},
};
SPD_W   warn012_spd[]={
    {DAT,0x10,0x10,0x40,0x50,0xffa4,0xfff4,0x2a},
    {DAT,0x10,0x10,0x50,0x50,0xffb3,0xfff4,0x2a},
    {DAT,0x10,0x10,0x60,0x50,0xffc2,0xfff4,0x2a},
    {DAT,0x10,0x10,0x40,0x70,0x0016,0xfff4,0x2a},
    {DAT,0x10,0x10,0x

0x5B2200#

msg ) {
                                                /*  Yes/Noタイプ              */
            case MES_OVERWRT:   /* (確認) 上書き         */
            case MES_NOFILE1:   /* (確認) データなしセーブ*/
            case MES_FORMAT1:   /* (確認) 未フォーマット     */
            case MES_FMEND:     /* (確認) フォーマット完了    */
            case MES_LDYN:      /* (確認) ロード                */
                chk = mcExistChk();
                if( chk == MES_NOCARD ) {
                    mw.mstep = 20;
                    mw.io = 2;
                    next = 11;
                    SetMsg( 0, MSG_1, mess[tno].sno, mess[tno].cur, 0 );
                    tno = chk & 0xf;
                    msg = chk;
                }
                break;

                                                /*  セーブ/ロード終了の場合  */
            case MES_SVEND:
            case MES_LDEND:
                if( ! mw.mtime ) {  /* セーブ/ロードしました ピロン! */
                    SD_call( SD_DECIDE );
                }
                if( ++mw.mtime == 15 ) {    /*  タイマー監視で自動的に次へ   */
                    mcWaitResult( RES_OK );
                    mw.mstep = 20;
                    next = 0xff;
                    SetMsg( 0, MSG_1, mess[tno].sno, mess[tno].cur, 0 );
                }
                break;
            }
        }
        break;

    case 20:            /* ウィンドウを閉じる   */
        ClrMsg( MSG_1 );
        mw.io = OFF;
        mw.mstep ++;
        break;
    case 21:            /* デフォルトで開始        */
        if( SetWin( mw.io, MS_WN, mess[tno].wc, mess[tno].hc, 16 ) ) {
            mw.mstep = next;
        }
        break;

    case 22:            /* ウィンドウを閉じる   */
        ClrMsg( MSG_1 );
        mw.io = OFF;
        mw.mstep ++;
        break;
    case 23:            /* メモリカードアクセス中 */
        if( ! SetWin( mw.io, MS_WN, mess[tno].wc, mess[tno].hc, 16 ) )
            break;

        if( mw.io == OFF )
        {
            mw.io = ON;
        } else
        if( mw.io == ON  )
        {
            mw.io = 2;
            tno = (msg==MES_FORMAT1)?MES_NOWFM: /* フォーマット中  */
                      (msg==MES_NOWLD  )?MES_NOWLD: /* ロード中        *

0x5B6E00#

kind = OFF;
        sp->inter_mode = INT_VSYNC; /* 画面モード切り替え */
        op_step++;
        break;
    case 43:
        /* 待避データの復帰 */
        setRECT( &rect, 0x180, 0x100, (0x80*2)/4, 0x80*2 ); /* face00,01 */
        LoadImage( &rect, (u_long *)0x80148000 );
        DrawSync( 0 );
        setRECT( &rect, 0x240, 0x00, (0x80*4)/4, 0x80*2 );  /* bg00~07 */
        LoadImage( &rect, (u_long *)0x80150000 );
        DrawSync( 0 );
        setRECT( &rect, 0x380, 0x100, (0x80*4)/4, 0x80*2 ); /* title01,02,04,05 */
        LoadImage( &rect, (u_long *)0x80160000 )

0x5BA600#

 |= 0x40;
                    SD_call( SD_GATE );
                }
                else if( kmOK == 0x7f ) {
                    SWK.TBS |= 0x80;
                    SD_call( SD_GATE );
                }
                else if( mzOK == 0x7f ) {
                    SWK.TBS |= 0x100;
                    SD_call( SD_GATE );
                }
                else if( kgOK == 0x7f ) {
                    SWK.TBS |= 0x7e00;
                    SD_call( SD_GATE );
                }
                else {
                    SD_call( SD_DECIDE );
                }
                /*------------------------------*/

            }
            else                /* ← */
            if( (curpos & 0xf0) == 0xa0 && (curpos & 0x0f) == Ly )
            {
                if( MojCnt > 0 )    Mo

0x5BEC00#

dit[i][0], &EDbkup[i][0], 40 );
        op_step = 40;
        break;

    case 40:                                            /* 登録終了 */
        set_spr_pal( CUR1, B_E+0x18 );
        set_spr_pal( CH_NAM+mc_pos[1]  , B_E+0x0f );
        set_spr_pal( CH_NAM+mc_pos[1]+8, B_E+0x0f );
        EditNameGS( 0, mc_pos[1], 1 );
        mvcnt = 0;
        op_step++;
        break;
    case 41:
        mvcnt ++;
        if( mvcnt > 60 || JOYTRG0 & TRG_OK ) {
            m_SprClr( CUR1 );
            mvcnt = 0;
            op_step = 13;
        }
        break;
    }

    return 0;
}



/*------------------------------------------------------------------*/
/*                          キャラ選択画面専用個人パラメータ設定                                             */
/*------------------------------------------------------------------*/
static void set_edit_prm( u_char *pED )
{
    sys_w;
    CLASS0_W *spr;
    SPD_W    *spd;
    u_char   i;

    if( pED[0] )            /* 使用可能状態   */
    {
        spr = &s->classw0[ CH_DAT ];
        spr->kind = ON;
        spd = (SPD_W *)spr->chara;
        set_point( &spd[0], pED[11], 10, 0 );           /* 年齢       */
        set_point( &spd[3], pED[12], 10, 0 );           /* 誕生月  */
        set_point( &spd[6], pED[13

0x5CF400#

05c,0x003b,0x20},
    {DAT,0x00,0x00,0x00,0x00,0x0000,0x0000,0x00},       //   9段目
    {DAT,0x10,0x10,0x90,0xf0,0xffa0,0x004c,0x20},
    {DAT,0x10,0x10,0x00,0x10,0xffb0,0x004c,0x18},
    {DAT,0x10,0x10,0x20,0x40,0x005c,0x004c,0x20},
    {DAT,0x10,0x10,0x10,0xf0,0xff96,0x005d,0x20},       // 10段目
    {DAT,0x10,0x10,0x00,0xf0,0xffa0,0x005d,0x20},
    {DAT,0x10,0x10,0x00,0x10,0xffb0,0x005d,0x18},
    {DAT,0x10,0x10,0x20,0x40,0x005c,0x005d,0x20},
    {DAT,0x10,0x10,0x10,0xf0,0xff96,0x006e,0x20},       // 11段目
    {DAT,0x10,0x10,0x10,0xf0,0xffa0,0x006e,0x20},
    {DAT,0x10,0x10,0x00,0x10,0xffb0,0x006e,0x18},
    {DAT,0x10,0x10,0x20,0x40,0x005c,0x006e,0x20},
    {DAT,0x10,0x10,0x10,0xf0,0xff96,0x007f,0x20},       // 12段目
    {DAT,0x10,0x10,0x20,0xf0,0xffa0,0x007f,0x20},
    {DAT,0x10,0x10,0x00,0x10,0xffb0,0x007f,0x18},
    {DAT,0x10,0x10,0x20,0x40,0x005c,0x007f,0x20},
    {DAT,0x10,0x10,0x10,0xf0,0xff96,0x0090,0x20},       // 13段目
    {DAT,0x10,0x10,0x30,0xf0,0xffa0,0x0090,0x20},
    {DAT,0x10,0x10,0x00,0x10,0xffb0,0x0090,0x18},
    {DAT,0x10,0x10,0x20,0x40,0x

0x5D4600#

fff8,0x003c,0x04},
    {DAT,0x10,0x10,0xf0,0x80,0x0008,0x003c,0x04},
    {DAT,0x10,0x10,0xf0,0x90,0x0018,0x003c,0x04},
    /* ← → SP 終了 */
    {DAT,0x50,0x10,0xb0,0xf0,0x0028,0x003c,0x04},
    /* A~o */
    /* p~z */
    {DAT,0x80,0x40,0x00,0xc0,0xff88,0xfffc,0x04},
    {DAT,0x70,0x30,0x80,0xc0,0x0008,0xfffc,0x04},
    {END,0x30,0x10,0x80,0xf0,0x0008,0x002c,0x04},
};
SPD_W   entry_name_spd[]={  /* 入力名 */
    {DAT,0x10,0x10,0x00,0x00,0xffc7,0xffca,0x04},
    {DAT,0x10,0x10,0x00,0x00,0xffd5,0xffca,0x04},
    {DAT,0x10,0x

0x5E2E00#

ame = GET_MR_JUN( sp->EGS-1 ); /* 次競技セット */
    sp->stage_no  = sp->ModSel.game;
    sp->mode_fg   = sp->ModSel.mode;
    sp->motion_no = sp->stage_no;
    sp->mode_no   = (sp->ModSel.game==0) ? sp->ModSel.ver[0] :
                                    (sp->ModSel.game==1) ? sp->ModSel.ver[1] : 0;
//************************************************************

        EntrySort();    /* エントリーソート */
    }
    else
    {
        STEPW = (sp->EGS==9)? ENDING_STEP:DEMO_STEP;    /* ムービーへ */
                /* 通常終了時はオープニング/全競技終了時はエンディングへ! */
        STEPW_S = 

0x5F2C00#

    {DAT,0x10,0x10,0x30,0x70,0xffd9,0x0018,0x05},
    {DAT,0x10,0x10,0x30,0x70,0xffe7,0x0018,0x05},
    {DAT,0x10,0x10,0x30,0x70,0xfff5,0x0018,0x05},
    {DAT,0x10,0x10,0x30,0x70,0x0003,0x0018,0x05},
    {DAT,0x10,0x10,0x30,0x70,0x0011,0x0018,0x05},
    {END,0x10,0x10,0x30,0x70,0x001f,0x0018,0x05},
};
SPD_W   rnk_pname6_spd[]={                                                  // 選手名6
    {DAT,0x10,0x10,0x30,0x70,0xffbd,0x0029,0x05},
    {DAT,0x10,0x10,0x30,0x70,0xffcb,0x0029,0x05},
    {DAT,0x10,0x10,0x30,0x70,0xffd9,0x0029,0x05},
    {DAT,0x10,0x10,0x30,0x70,0xffe7,0x0029,0x05},
    {DAT,0x10,0x10,0x30,0x70,0xfff5,0x0029,0x05},
    {DAT,0x10,0x10,0x30,0x70,0x0003,0x0029,0x05},
    {DAT,0x10,0x10,0x30,0x70,0x0011,0x0029,0x05},
    {END,0x10,0x10,0x30,0x70,0x001f,0x0029,0x05},
};
SPD_W   rnk_pname7_spd[]={                                                  // 選手名7
    {DAT,0x10,0x10,0x30,0x70,0xffbd,0x003a,0x05},
    {DAT,0x10,0x10,0x30,0x70,0xffcb,0x003a,0x05},
    {DAT,0x10,0x10,0x30,0x70,0xffd9,0x003a,0x05},
    {DAT,0x10,0x10,0x30,0x70,0xffe7,0x003a,0x05},
    {DAT,0x10,0x10,0x30,0x70,0xfff5,0x003a,0x05},
    {DAT

0x5F8600#

/*      プレイヤー成績                                                            */
/*--------------------------------------------*/
/*----------------------*/
/*  プレイヤー成績        タイトル    */
/*----------------------*/
SPD_W   t_rnk_p1_spd[]={
    {DAT,0x18,0x10,0x58,0x20,0xffcd,0xff9e,0x10},       // RESULT
    {DAT,0x10,0x10,0x58,0x00,0xffe0,0xff9e,0x10},
    {DAT,0x10,0x10,0x70,0x20,0xfff0,0xff9e,0x10},
    {DAT,0x18,0x10,0x18,0x30,0xfffd,0xff9e,0x10},
    {DAT,0x10,0x10,0x58,0x10,0x0011,0xff9e,0x10},
    {END,0x18,0x10,0x00,0x30,0x001b,0xff9e,0x10},
};
SPD_W   t_rnk_p2_spd[]

0x60D200#

        init_sub_work();
        return 1;
    }
    return 0;
}



/*------------------------------------------------------------------*/
/*                          ランダムなポイントを表示                                                                  */
/*------------------------------------------------------------------*/
/*      cno     : 登録パーツ番号(先頭~8人分固定)                                                */
/*------------------------------------------------------------------*/
static void rand_point( u_char cno )
{
    sys_w;
    SPD_W    *spd;
    u_short  rnum;

    rnum = Rsum[1][Rchg[1][UpdNo]];
    rnum = ( rnum <   10 )? 10:
               ( rnum <  100 )? 100:
               ( rnum < 1000 )? 1000:10000;

    spd = (SPD_W *)s->classw0[cno + UpdNo * 4 + 3].chara;
    spd[4].ysize = ( rnum-1 < 1000 ) ? 0x00 : 0x10 ;
    set_point( spd, rand()%rnum, 1000, 0 );
}



/*------------------------------------------------------------------*/
/*                          プレイヤー成績情報セット                                                                       */
/*------------------------------------------------------------------*/
/*      cno     : SPR番号                                                                                         */
/*      pno     : プレイヤー番号                                                                                  */
/*      game    : ゲームの種類                                                                                   */
/*------------------------------------------------------------------*/
static void set_record( SPD_W *spd, u_char pno, u_char game )
{
    switch( game ) {
    case 0:     /* パンチアウト                  */
        spd[0].u = 0x10 * r_info[1][pno].PO;
        break;

    case 1:     /* ナインフープス                 */
        spd[0].u = 0x10 * r_info[1][pno].NH;
        break;

    case 2:     /* ビーチフラッグス               */
        set_tournament_record( spd, r_info[1][pno].BF );
        break;

    case 3:     /* ガロンスロー                  

0x618A00#

on22( void );
extern void   tim_trans  (TIM_W *, char );
extern u_char cd_file_load_NB( u_short );

extern void   g_FlgSet  ( u_short );    /* 設定   */
extern void   g_FlgReset( u_short );    /* 解除   */
extern u_char g_FlgCheck( u_short );    /* 確認   */

extern u_char SaveLoad   ( void   );
extern void   slTblSet   ( u_char );
extern void   ExCallInit ( u_char );
extern void   ExCallInit2( void   );
extern void   mcAutoCheck( u_char );

static void   Sel_Init   ( void );
static void   Sel_Warning( void );
static void   Sel_FadeIN ( void );
static void   Sel_ModeSel( void );
static void   Sel_FadeOUT( void );
static void   Sel_Over   ( void );

static void   Sel_Title  ( void );

extern void   PSETtoEH( u_char, u_char );

/*------------------------------------------------------------------*/
/*                          work                                                                                                */
/*------------------------------------------------------------------*/
/*---- local  work -----------*/

static void ( *sel_func[] )() = {
                Sel_Init    ,
                Sel_Warning ,
                Sel_FadeIN  ,
                Sel_ModeSel ,
                Sel_FadeOUT ,
                Sel_Over    ,
                Sel_Title   ,
                Sel_Title   ,
};


/*----------------------------*/
/*  選択項目列                               */
/*----------------------------*/
static u_short spd_modeLa [] = { 2,MS_MS+2,MS_MS+3,MS_MS+ 6, 0 };                                       /* MODE SELECT L        */
static u_short spd_modeLb [] = { 2,MS_MS+2,MS_MS+3,MS_MS+ 4,MS_MS+ 5, 0 };                  /* MODE SELECT L EX */
static u_short spd_modeR  [] = { 3,MS_MS+7,MS_MS+8,MS_MS+ 9,MS_MS+10, 0 };                  /*

0x61D600#

----------------------------------------*/
static void   Sel_Title  ( void )
{
    sp_w;

    if( ! Fade( (8<<4)|2, 0, MSG_C+1 ) )
        return;

    m_ClrAction( -1 );
    Classw0_Clear(0);

    STEPW = SELECT_STEP;
    STEPW_S = 0;
    sp->ovrlay_step = 7;
    mw.step0 = mw.step1 = 0;

    SD_call( SD_CTL_FADEOUTX ); /* BGMおしまい(フェードアウト) */
}


/*------------------------------------------------------------------*/
/*                          セレクト処理 終了                                                                               */
/*--------------------------------------------------

0x628C00#

( void )
{
    sys_w;
    u_char  i, cno = COMN+5;

    for( i=0; i<5; i++ )
    {
        if( SWK.TBS & (1<<(i+5)) ) {    /* 王冠マーク */
            m_SprSet( MS_EX+14, cno+i, 0x0e, PR5, 0 );
            SetIdxSpd( cno+i, i );
        } else
        if( !( SWK.TBS & (1<<i)) ) {    /* 禁止マーク */
            m_SprSet( MS_EX+15, cno+i, 0x0e, PR5, 0 );
            SetIdxSpd( cno+i, i );
        } else
        {                                                           /* マークなし */
            m_SprClr( cno+i );
        }
    }
    m_SetAction( m_EXTAction0 );
}




#if 0
extern MESS   mess[];
static void mess_win_check( u_char sw, u_char no )
{
    sp_w;

    if( sw )
        mw.mstep = 0;

    switch( mw.mstep ) {
    case 0:
        mw.io = ON;
        mw.mstep ++;
        break;
    case 1:
        if( ! SetWin( mw.io, MS_WN, mess[no].wc, mess[no].hc, 16 ) )
            break;

        if( mw.io == OFF )                  /* ウィンド閉じきった   */
        {
            mw.mstep = 0;
        } else
        if( mw.io == ON )                       /* ウィンド開ききった   */
        {
            mw.io = 2;
            SetMsg( 1, MSG_1, mess[no].sno, mess[no].cur, 0 );
        }
        else                                                /* メモリカードチェック          */
        {
            if( JOYTRG0 & TRG_SIKA )
                mw.io =

0x63AC00#

x10,0x10,0x90,0xc0,0xffa2,0xffe8,0x03},
    {DAT,0x10,0x10,0x70,0x10,0xff65,0xfff2,0x2b},       // PUNCH OUT
    {DAT,0x10,0x10,0x40,0x20,0xff6d,0xfff2,0x2b},
    {DAT,0x10,0x10,0x50,0x10,0xff76,0xfff2,0x2b},
    {DAT,0x10,0x10,0x20,0x00,0xff7f,0xfff2,0x2b},
    {DAT,0x10,0x10,0x70,0x00,0xff88,0xfff2,0x2b},
    {DAT,0x10,0x10,0x60,0x10,0xff94,0xfff2,0x2b},
    {DAT,0x10,0x10,0x40,0x20,0xff9e,0xfff2,0x2b},
    {END,0x10,0x10,0x30,0x20,0xffa7,0xfff2,0x2b},
};
SPD_W   exgm_01_spd[]={
    {DAT,0x10,0x10,0xa0,0xc0,0xff66,0x0004,0x03},       // ナインフープス
    {DAT,0x10,0x10,0x90,0xb0,0xff72,0x0004,0x03},
    {DAT,0x10,0x10,0xb0,0xd0,0xff7e,0x0004,0x03},
    {DAT,0x10,0x10,0xc0,0xc0,0xff8a,0x0004,0x03},
    {DAT,0x10,0x10,0x90,0xf0,0xff96,0x0004,0x03},
    {DAT,0x10,0x10,0xe0,0xe0,0xffa2,0x0004,0x03},
    {DAT,0x10,0x10,0xe0,0xb0,0xffae,0x0004,0x03},
    {DAT,0x10,0x10,0x50,0x30,0xff65,0x000e,0x2b},       // 9HOOPS
    {DAT,0x10,0x10,0x70,0x00,0xff6f,0x000e,0x2b},
    {DAT,0x10,0x10,0x60,0x10,0xff78,0x000e,0x2b},
    {DAT,0x10,0x10,0x60,0x10,0xff81,0x000e,0x2b},
    {DAT,

0x642600#

xc8,0x78,0x0077,0xffdf,0x03},
    {DAT,0x08,0x08,0xd8,0x70,0x007f,0xffdf,0x03},
    {DAT,0x08,0x08,0xb8,0x78,0x0086,0xffdf,0x03},
    {DAT,0x08,0x08,0xa8,0x78,0x008e,0xffdf,0x03},
    {END,0x10,0x08,0xd8,0x78,0x0093,0xffdf,0x03},

    {DAT,0x08,0x08,0x50,0x60,0x002c,0xffdf,0x03},       // バック転50M走
    {DAT,0x08,0x08,0x50,0x68,0x0034,0xffdf,0x03},
    {DAT,0x08,0x08,0xf8,0x70,0x003d,0xffdf,0x03},
    {DAT,0x08,0x08,0xa8,0x70,0x0048,0xffdf,0x03},
    {DAT,0x08,0x08,0xa0,0x70,0x0050,0xffdf,0x03},
    {DAT,0x08,0x08,0xb0,0x70,0x005

0x64A400#

   プラクティスモード             */
        (Ulong)mode_ex1_spd ,       /* 0x3014           エキストラモード                   */
        (Ulong)mode_ed1_spd ,       /* 0x3015           選手エディット                */
        (Ulong)mode_ed2_spd ,       /* 0x3016           選手エディット                */
        (Ulong)mode_mc_spd  ,       /* 0x3017           ロード/セーブ                   */
        (Ulong)mode_rp_spd  ,       /* 0x3018           リプレイ                           */
        (Ulong)mode_rc_spd  ,       /* 0x3019           レコード                           */
        (Ulong)mode_op_spd  ,       /* 0x301a           オプション                      */

        (Ulong)c_mode_spd   ,       /* 0x301b               カーソル選択時             */
        (Ulong)h_mode_spd   ,       /* 0x301c               カーソル非選択時            */
        (Ulong)c_mode2_spd  ,       /* 0x301d               カーソル選択時             */
        (Ulong)h_mode2_spd  ,       /* 0x301e               カーソル非選択時            */

        (Ulong)tmp_spd      ,       /* 0x301f           予備                          */


    /*--------------------------------------*/
    /*      マッスルランキング プラックティス (MS_MR)             */
    /*--------------------------------------*/
    /*--------------------*/
    /*  マッスルランキング内         */
    /*--------------------*/
        (Ulong)t_muscle1_spd,       /* 0x3020               MUSCLE RANK(TTL)    */
        (Ulong)t_muscle2_spd,       /* 0x3021               マッスルランキング (TTL)    */

        (U

0x652200#

p選手名                                                                   */
/*      pri     : 優先度                                                                                           */
/*      gam     : 選択競技 (バージョン種類付加 4ビットずつ使用)                      */
/*------------------------------------------------------------------*/
void RecInfSet( u_char cno, u_short sno, u_char pri, u_char gam )
{
    sys_w;

    u_char      i, n;
    u_char      lp,rp;
    SPD_W       *spd, *pp;

    lp = 0; /* バージョン種類 */
    rp = 4; /* 選択競技 */

    /* プレート */
    m_SprSet( sno  , cno  , 0x0c, pri  , 0 );

    /* 選手名 */
    m_SprSet( sno+1, cno+1, 0x07, pri-1, 0 );
    for( i=0; i<PCNT; i++ )
    {
        spd = (SPD_W *)s->classw0[cno+1].chara;
        for( n=0; n<8; n++ )
        {
            if( !((SWK.prnk[i].NameCode[8]==9) || (SWK.prnk[i].NameCode[8]==14)) ) {
                spd[i*8+n].u =  SWK.prnk[i].NameCode[n] & 0xf0;
                spd[i*8+n].v = (SWK.prnk[i].NameCode[n] & 0x0f) << 4;
            }
            else {
                spd[i*8+n].u = 0xf0;
                spd[i*8+n].v = 0xf0;
            }
        }
    }

    /* エディット用選手名 */
    m_SprSet( sno+4, cno+4, 0x06, pri-1, 0 );
    for( i=0; i<PCNT; i++ )
    {
        spd = (SPD_W *)s->classw0[cno+4].chara;
        for( n=0; n<8; n++ )
        {
            if( (SWK.prnk[i].NameCode[8]==9) || (SWK.prnk[i].NameCode[8]==14) ) {
                spd[i*8+n].u =  SWK.prnk[i].NameCode[n]&0xf0;
                spd[i*8+n].v = (SWK.prnk[i].NameCode[n]&0x0f)<<4;
            }
            else {
                spd[i*8+n].u = 0xf0;
                spd[i*8+n].v = 0xa0;
            }
        }
    }

    /* ポイント */
    m_SprSet( sno+3, cno+3, 0x07, pri-1, 0 );
    spd = (SPD_W *)s->classw0[cno+3].chara;
    for( i=0; i<PCNT; i++ )
    {
        pp = &spd[i*5];
        set_point( pp, SWK.prnk[i].Total, 1000, 0 );
        pp[4

0x65C400#

後ろからの果敢なダイビング」*/
    SB_022,                             /*「両者ほぼ同時に飛び込んでいます」*/
    SB_023,                             /*「ここでも、差はほとんどありません」*/
    SB_024,                             /*「一拍遅れて飛び込んでいます」*/
/*取れなかった*/
    SB_025,                             /*「ここで旗を取り損なっているようです」*/
    SB_026,                             /*「勢い余って旗を飛び越してしまいました」*/
    SB_027,                             /*「せっかくのジャンプも、旗まで届いていません」*/
    SB_028,                             /*「どうやら、旗は指先にしか触れていないようです」*/
/*二人とも取れない*/
    SB_029,                             /*「両者とも痛恨のミスです」*/
    SB_030,                             /*「二人とも勢いありすぎて、飛び越してます」*/
    SB_031,                             /*「これはとにかく、先に旗を手に入れた方の勝ちになります」*/
/*結果*/
    SB_032,                             /*「速かったのは、」*/
    SB_033,                             /*「最後までリードを守りきってゴールです」*/
    SB_034,                             /*「最後で大逆転です」*/
    SB_035,                             /*「横からさらっていきました」*/
    SB_036,                             /*「結局、混戦を制したのは」*/
    SB_037,                             /*「ミスから速く立ち直れたのは」*/
/*総評*/
    SB_038,                             /*「さ

0x662600#

対セクタから取得 ) */
    CdIntToPos( mov->sct, &movW.file );
#endif

    /* 最左端スライスフラグをセット */
    movW.isFirstSlice = 1;

    /* フレームナンバー初期化 */
    movW.mov_now = 0;

    /* ストリーミング初期化&開始 */
    strInit( &movW.file, strCallback );

    /* VLCテーブルの展開 */
    DecDCTvlcBuild( ( unsigned short * )DECO_TBL );

    /* 最初のフレームの VLCデコードを行なう */
    while( strNextVlc( &movW.dec ) == -1 )
    {
        movW.cur_loc = movW.file;
        strKickCD( &movW.cur_loc );
#if REPO_MOVIE
        pri

0x665E00#

03, (0x00004fd8+0x7ff)/0x800, (Ulong)TIM_TABLE2             }, /*  9c                                  */
   { 0x0009f000/0x800+CD_DATA03, (0x00006a75+0x7ff)/0x800, (Ulong)MODEL_TABLE       }, /*  9d  エンディング                */
   { 0x000a6000/0x800+CD_DATA03, (0x00004fd8+0x7ff)/0x800, (Ulong)TIM_TABLE2            }, /*  9e                                  */
       /*2D関係 data04.bin*/
   { 0x00000000/0x800+CD_DATA04, (0x00002324+0x7ff)/0x800, (Ulong)TIM_TABLE             }, /*  9f  共通パレット*/
   { 0x00002800/0x800+CD_DATA04, (0x00002d2c+0x7ff)/0x800, (Ulong)TIM_TABLE             }, /*  a0  説明画面0   */
   { 0x000

0x668200#

   SCE報告対応     (A)修正必須  (B)推奨  (C)報告・質問
        ------------------------------------------------------------------------
        (1999.10.18)
        SCE-REP-1-04B   リプレイセーブ時の前ロードメッセージを変更。
                        (メッセージ内容は正しいが一応修正)
    
    *==========================================================================*/



#include    <sys/types.h>
#include    "libetc.h"
#include    "libgte.h"
#include    "libgpu.h"
#include    "libgs.h"
#include    "lt_sys.h"
#include    "lt_ext.h"


/*------------------------------------------------------------------*/
/*          メモリーカードメッセージ関連                                                                                    */
/*------------------------------------------------------------------*/
/* (----) チェック中 */
SPD_W   _warn011_spd[]={
    {DAT,0x10,0x10,0xf0,0x10,0xffcb,0xfff5-20,0x01},
    {DAT,0x10,0x10,0x40,0x40,0xffdb,0xfff5-20,0x01},
    {DAT,0x10,0x10,0x80,0x60,0xffeb,0xfff5-20,0x01},
    {DAT,0x10,0x10,0x90,0x60,0xfffb,0xfff5-20,0x01},
    {DAT,0x10,0x10,0x60,0x80,0x000b,0xfff5-20,0x01},
    {DAT,0x10,0x10,0xe0,0x60,0x004b,0xfff5-20,0x01},
    {DAT,0x10,0x10,0x70,0x30,0x005b,0xfff5-20,0x01},
    {DAT,0x10,0x10,0x10,0x90,0xffd6,0x0005-20,0x01},
    {DAT,0x10,0x10,0xd0,0x90,0xffe6,0x0005-20,0x01},
    {DAT,0x10,0x10,0xd0,0xa0,0xfff6,0x0005-20,0x01},
    {DAT,0x10,0x10,0x20,0x70,0x0006,0x0005-20,0x01},
    {DAT,0x10,0x10,0x80,0x60,0xff98,0x0015-20,0x01},
    {DAT,0x10,0x10,0x90,0x60,0xffa8,0x0015-20,0x01},
    {DAT,0x10,0x10,0x60,0x80,0xffb8,0x0015-20,0x01},
    {DAT,0x10,0x10,0x00,0x70,0x002b,0xfff5-20,0x01},
    {DAT,0x10,0x10,0x00,0x70,0xffd8,0x0015-20,0x01},
    {DAT,0x

0x66D200#

0,0x40,0xffdb,0xfff0-20,0x01},
    {DAT,0x10,0x10,0x80,0x60,0xffeb,0xfff0-20,0x01},
    {DAT,0x10,0x10,0x90,0x60,0xfffb,0xfff0-20,0x01},
    {DAT,0x10,0x10,0x60,0x80,0x000b,0xfff0-20,0x01},
    {DAT,0x10,0x10,0x00,0x70,0x002b,0xfff0-20,0x01},
    {DAT,0x10,0x10,0xe0,0x60,0x004b,0xfff0-20,0x01},
    {DAT,0x10,0x10,0x10,0x40,0x005b,0xfff0-20,0x01},
    {DAT,0x10,0x10,0xd0,0x60,0xffb5,0x0000-20,0x01},
    {DAT,0x10,0x10,0x00,0x90,0xffd5,0x0000-20,0x01},
    {DAT,0x10,0x10,0x50,0x40,0xffe5,0x0000-20,0x01},
    {DAT,0x10,0x10,0x00,0x00,0xfff5,0x0000-20,0x01},
    {DAT,0x10,0x10,0x60,0x20,0x0005,0x0000-20,0x01},
    {DAT,0x10,0x10,0x50,0x00,0x0015,0x0000-20,0x01},
    {DAT,0x10,0x10,0x30,0x20,0x0025,0x0000-20,0x01},
    {DAT,0x10,0x10,0x90,0x30,0x0035,0x0000-20,0x01},
    {DAT,0x10,0x10,0x10,0x20,0xffbb,0x0010-20,0x01},
    {DAT,0x10,0x10,0x20,0x10,0xffcb,0x0010-20,0x01},
    {DAT,0x10,0x10,0x30,0x80,0xffdb,0x0010-20,0x01},
    {DAT,0x10,0x10,0xc0,0x70,0xfffb,0x0010-20,0x01},
    {DAT,0x10,0x10,0x10,0x20,0x000b,0x0010-20,0x01},
    {DAT,0x10,0x10,0x50,0x00,0x001b,0x0010-20,0x01},
    {DAT,0x10,0x10,0x20,0x20,0x002b,0x0010-20,0x01},
    {DAT,0x10,0x10,0x00,0x10,0x003b,0x0010-20,0x01},
    {DAT,0x10,0x10,0x00,0x50,0xffcb,0x0028-20,0x01},
    {DAT,0x10,0x10,0x10,0x00,0xffdb,0x0028-20,0x01},
    {DAT,0x10,0x10,0x10,0x00,0x000d,0x0028-20,0x01},
    {DAT,0x10,0x10,0x10,0x00,0x001d,0x0028-20,0x01},
    {END,0x10,0x10,0x30,0x00,0x002d,0x0028-20,0x01},
};
SPD_W   _warn142_spd[]={
    {DAT,0x10,0x10,0x40,0x40,0xff97,0xfff0-20,0x01},
    {DAT,0x10,0x10,0x50,0x40,0xffa9,0xfff0-20,0x01}

0x671A00#

10,0x00,0x00,0xffd8,0xffec,0x04},
    {DAT,0x10,0x10,0x60,0x20,0xffe9,0xffec,0x04},
    {DAT,0x10,0x10,0x50,0x00,0xfffa,0xffec,0x04},
    {DAT,0x10,0x10,0x30,0x20,0x000b,0xffec,0x04},
    {END,0x10,0x10,0x90,0x30,0x001c,0xffec,0x04},

};

/*----------------------*/
/*  データ内容                      */
/*----------------------*/
SPD_W   _data0_spd[]={  /*  データ情報0 */
            // パンチアウト  パンチアウト EX
    {END,0x28,0x08,0x58,0x08,0x0033,0xfff8,0x04},       // "レーン"
        // ナインフープス
    {END,0x10,0x10,0x00,0x30,0x0036,0xfff3,0x04},       // "球"
        // ビーチフラッグス
    {END,0x30,0x10,0x80,0x90,0x0027,0xffe5,0x04},       // トーナメントアタリ
        // ガロンスロー  ガロンスロー EX
    {DAT,0x10,0x08,0x20,0x10,0x0040,0xfff9,0x04},       // m
    {END,0x18,0x08,0x30,0x10,0x006c,0xfff9,0x04},       // cm
        // バック転50M走
    {END,0x10,0x10,0x60,0x70,0x0042,0xfff3,0x04},       // 秒
        // スプレーヒッター
    {END,0x10,0x10,0x10,0x30,0x0036,0xfff3,0x04},       // "枚"
        // ゲームメーカー
    {END,0x28,0x08,0x58,0x10,0x0033,0xfff8,0x04},       // "エリア"
        // デットマンズドロップ
    {END,0x30,0x10,0x80,0x90,0x0027,0xffe5,0x04},       // トーナメントアタリ
        // ロングシュート
    {END,0x10,0x10,0x10,0x30,0x0036,0xfff3,0x04},       // "枚"

        // ナインフープス EX
    {END,0x38,0x08,0x80,0xb8,0x0033,0xfff8,0x04},       // ステージ
        // スプレーヒッター EX
    {END,0x10,0x10,0xc0,0xb8,0x0043,0xfff3,0x04},       // 点
        // ロングシュート EX
    {DAT,0x10,0x08,0x80,0xc0,0x0050,0xfff3  ,0x04},     // P 上
    {END,0x10,0x08,0x88,0xc0,0x0050,0xfff3+8,0x04},     // P 下
};
SPD_W   _data1_spd[]={  /*  データ情報1 */
            // パンチアウト  パンチアウト EX
    {END,0x28,0x08,0x58,0x08,0x0033,0xfff8,0x04},       // "レーン"
        // ナインフープス
    {EN

0x67A400#

x40,0x10,0x00,0xc0,0xffb0,0xffd0,0x10},
    {DAT,0x28,0x10,0x18,0xc0,0xfff0,0xffd0,0x10},
    {END,0x38,0x10,0x18,0xc0,0x0018,0xffd0,0x10},
};
SPD_W   c_pv_po_spd[]={ /* パンチアウトバージョン選択 用 */
    {DAT,0x20,0x10,0x00,0xc0,0xffe4,0xffd0,0x10},
    {END,0x18,0x10,0x38,0xc0,0x0004,0xffd0,0x10},
};
SPD_W   c_pv_nh_spd[]={ /* ナインフープスバージョン選択 用 */
    {DAT,0x30,0x10,0x00,0xc0,0xffd8,0xffd0,0x10},
    {END,0x20,0x10,0x30,0xc0,0x0008,0xffd0,0x10},
};
SPD_W   non_spd[]={ /* ダミー */
    {END,0x00,0x00,0x00,0x00,0x0000,0x0000,0x00},
};


    /*----------------------------------------------------------------*/
    /*      競技前選手一覧                                                                                         */
    /*----------------------------------------------------------------*/
        /* ENDセット用に7パーツ1セットで組み直し(文字は優先度のため各先頭に配置) */
SPD_W   mae_plt_spd[]={
    {DAT,0x10,0x10,0x10,0xf0,0xff7d,0xffd0,0x20},   /* 競技順数字(プレートより手前) */
    {DAT,0x10,0x10,0x00,0xd0,0xff93,0xffd0,0x18},   /* プレイヤーマーク(プレートより手前)  */
    {DAT,0x10,0x10,0x70,0xe0,0x0075,0xffd0,0x20},   /* ポ

0x6ABE00#

CEX(4);    SC(5) = VCEX(5);
            SC(6) = VCEX(6);    curpos += 1;
        }
        if( NowSts != CHARACTER_SELECT ) {
            if( NowSts != LOAD_SELECT ) {
                MojiSet( COMN,SC(0),SC(4),PR7,SC(6) );  //  項目セット
            }
        }
        else {
            FaceSet( COMN, SC(0), PR7 );    //  顔グラセット
        }
        if( nomove == 0 ) {
            /* 操作説明 (新規追加) */
            if( inst ) {
                MojiSetT( GTI1,0x30f0,0x10,PR5 );   //  画面タイトル(左)セット
                                                    //  画面タイトル(右)セット (表示オフ)
                set2dN( GTI2,0x30f1,STP10P025,0,0,0x0d,0x02,0,PR5 );
            }
            else {
                

0x6B0C00#

・/
    Schar sup[12];          /*サポーター*/
}ED_PTN;
/*靴の色の組み合わせ*/
/*服のパターンをオフセットにして靴のパターンを引っ張れるようにする*/
typedef struct {
    Schar shoe1[12];        /*靴1*/
    Schar shoe2[12];        /*靴2*/
}SHOES_PTN;


/*一人分のカラーを連続転送するためのバッファ*/
/*  -1が入っていたら転送しない  */
typedef struct {
    Schar skin;         /*肌*/
    Schar anti;         /*アンチ*/
    Schar hair;         /*髪*/
    Schar item1;        /*小物1*/
    Schar item2;        /*小物2*/
    Schar wear1;        /*上着1*/
    Schar wear2;        /*上着2*/
    Schar under1;       /*下着1*/
    Schar under2;       /*下着2*/
    Schar under3;       /*下着3*/
    Schar line;         /*ライン*/
    Schar sup;          /*サポーター*/
    Schar shoe1;        /*靴1*/
    Schar shoe2;        /*靴2*/
}ED_TRN_BUF;

/*------------------------------------------------------------------*/
/*                          prototype                                                                                       */
/*------------------------------------------------------------------*/


/*------------------------------------------------------------------*/
/*                          work                                                                            

0x6B2C00#

        { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 }, /*下着3*/
        { WCOL_WT, WCOL_BK, WCOL_WT, WCOL_WT, WCOL_WT, WCOL_WT, WCOL_WT, WCOL_WT, WCOL_WT, WCOL_WT, WCOL_WT, WCOL_WT }, /*ライン*/
        { WCOL_BK, WCOL_BK, WCOL_BK, WCOL_BK, WCOL_BK, WCOL_BK, WCOL_BK, WCOL_BK, WCOL_BK, WCOL_BK, WCOL_BK, WCOL_BK }, /*サポーター*/
    },
/*#4 タンクトップ+タイツ*/
    {
        { WCOL_BK, WCOL_WT, WCOL_R1, WCOL_R2, WCOL_OG, WCOL_YL, WCOL_G1, WCOL_G2, WCOL_B1, WCOL_B2, WCOL_PP, WCOL_PK }, /*上着1*/
        { WCOL_BK, WCOL_R2, WCOL_BK, WCOL_BK, WCOL_BK, WCOL_BK, WCOL_BK, WCOL_BK, WCOL_BK, WCOL_BK, WCOL_BK, WCOL_BK }, /*上着2*/
        { WCOL_BK, WCOL_WT, WCOL_R1, WCOL_R2, WCOL_OG, WCOL_YL, WCOL_G1, WCOL_G2, WCOL_B1, WCOL_B2, WCOL_PP, WCOL_PK }, /*下着1*/
        { WCOL_BK, WCOL_R2, WCOL_BK, WCOL_BK, WCOL_BK, WCOL_BK, WCOL_BK, WCOL_BK, WCOL_BK, WCOL_BK, WCOL_BK, WCOL_BK }, /*下着2*/
        { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 }, /*下着3*/
        { WCOL_WT, WCOL_BK, WCOL_WT, WCOL_WT, WCOL_WT, WCOL_WT, WCOL_WT, WCOL_WT, WCOL_WT, WCOL

0x6B4C00#

    },
};

/*小物のカラーバリエーション*/
/*※髪の色に応じて変化させる*/
HAIR_PTN hair_ptn_v[5] = {
/*頭1・4・6・7・9・10のときは変化無し*/
/*A 頭2・3*/
    {
        { WCOL_OG, WCOL_PP, WCOL_PP, WCOL_PP, WCOL_B1, WCOL_B1, WCOL_WT, WCOL_R1 }, /*小物1*/
        { -1, -1, -1, -1, -1, -1, -1, -1 }, /*小物2*/
    },
/*B 頭5*/
    {
        { WCOL_WT, WCOL_WT, WCOL_WT, WCOL_WT, WCOL_WT, WCOL_WT, WCOL_WT, WCOL_WT }, /*小物1*/
        { WCOL_BK, WCOL_BK, WCOL_BK, WCOL_BK, WCOL_BK, WCOL_BK, WCOL_BK, WCOL_BK }, /*小物2*/
    },
/*C 頭8*/
    {
        { WCOL_BK, WCOL_BK, WCOL_BK, WCOL_BK, WCOL_BK, WCOL_BK, WCOL_BK, WCOL_YL }, /*小物1*/
        { WCOL_BK, WCOL_BK, WCOL_BK, WCOL_BK, WCOL_BK, WCOL_BK, WCOL_BK, WCOL_BK }, /*小物2*/
    },
/*D 頭11(このとき髪色転送ナシ)*/
    {
        { WCOL_BK, WCOL_WT, WCOL_R1, WCOL_G1, WCOL_B1, WCOL_PP, WCOL_PK, WCOL_S2 }, /*小物1*/
        { WCOL_WT, WCOL_BK, WCOL_YL, WCOL_OG, WCOL_WT, WCOL_YL, WCOL_WT, WCOL_B1 }, /*小物2*/
    },
/*E 頭12(このとき髪色転送ナシ)*/
    {
        { WCOL_BK, WCOL_WT, WCOL

0x6B6400#

/*上着2*/
    trn_buf.under1 = ed_ptn_v[ style ].under1[ wear_num ];  /*下着1*/
    trn_buf.under2 = ed_ptn_v[ style ].under2[ wear_num ];  /*下着2*/
    trn_buf.under3 = ed_ptn_v[ style ].under3[ wear_num ];  /*下着3*/
    trn_buf.line = ed_ptn_v[ style ].line[ wear_num ];          /*ライン*/
    trn_buf.sup = ed_ptn_v[ style ].sup[ wear_num ];                /*サポーター*/

        /*それでは転送*/
        /*上着1*/
    if ( trn_buf.wear1 != -1 )
        GED_Col_Trans( wear1_pal_v[ trn_buf.wear1 ][0], wear1_pal_v[ trn_buf.wear1 ][1], 0x10, side, EBASE_WEAR1, 490, 0 );
        /*上着2*/
    if ( trn_buf.wear2 != -1 )
        GED_Col_Trans( wear1_pal_v[ trn_buf.wear2 ][0], wear1_pal_v[ trn_buf.wear2 ][1], 0x10, side, EBASE_WEAR2, 490, 0 );
        /*下着1*/
    if ( trn_buf.under1 != -1 )
        GED_Col_Trans( wear1_pal_v[ trn_buf.under1 ][0], wear1_pal_v[ trn_buf.under1 ][1], 0x10, side, EBASE_UNDER1, 490, 0 );
        /*下着2*/
    if ( trn_buf.under2 != -1 )
        GED_Col_Trans( wear1_pal_v[ trn_buf.under2 ][0], wear1_pal_v[ trn_buf.under2 ][1], 0x10, side, EBASE_UNDER2, 490, 0

0x730600#

0,0xf7,0x21,0x33,0x23,0x98,0x78,0x45,0xf3,0xb8,
0x5b,0x97,0x6a,0x01,0x07,0xc1,0x31,0x7f,0x00,0x70,0x4f,0x00,0x80,0xdd,0x5f,0x00,
0x71,0x50,0x88,0x00,0xf6,0xfc,0x06,0xcd,0x00,0xf8,0x06,0x70,0xc9,0x08,0x40,0xf2,
0x08,0x1c,0xea,0x10,0xdc,0x08,0x3f,0xc9,0x10,0xf9,0xdd,0xbc,0xcb,0xee,0x02,0x00,
0x53,0xa8,0xff,0xff,0x7d,0x03,0x00,0x60,0xfd,0x41,0x00,0xc7,0xdc,0x1f,0x00,0xd8,
0x10,0x00,0xac,0x30,0x80,0x08,0x00,0x80,0x1f,0xe0,0xfd,0x0c,0x00,0x31,0x48,0x60,
0x2f,0x30,0x00,0x39,0xc0,0x1f,0x08,0xa2,0xe1,0x51,0x0

0x733200#

0,0xeb,0xff,0x5d,
0x00,0xc0,0xd9,0xf7,0xac,0x99,0x99,0x2c,0xea,0xe6,0x3b,0xc0,0x09,0x10,0xfd,0x1c,
0x16,0xb0,0x0f,0xb0,0x0c,0x10,0xfe,0x5e,0x60,0xff,0x1e,0x00,0x20,0xe8,0x3f,0x00,
0xf8,0x17,0x4d,0xf1,0x81,0x04,0xb7,0x00,0xfa,0x26,0x00,0x22,0x44,0x08,0xbc,0x04,
0x40,0xef,0x08,0xb2,0x60,0xbf,0xca,0x4f,0x20,0x38,0x18,0x00,0x9f,0x89,0xc6,0x52,
0x87,0x88,0x15,0x60,0x39,0x00,0x30,0xcb,0xcb,0x2a,0x79,0x00,0xc0,0x00,0x80,0xdb,
0x28,0x02,0xa6,0x04,0x69,0xdf,0x49,0x00,0x00,0x99,0x00,0x86,0xd4,0x00,0x22,0x04,
0x2f,0xfa,0xff,0xff,0x8a,0x00,0xe3,0xff,0x05,0x2c,0x04,0xfc,0x7c,0x01,0x5c,0x08,
0x1a,0x73,0x7c,0x01,0x7c,0x01,0x7c,0x01,0x7f,0x7c,0x01,0x7c,0x01,0x7c,0x01,0x7c,
0x01,0x7c,0x01,0x7c,0x01,0x2b,0xc8,0x11,0x6d,0x24,0x14,0x31,0x03,0x8d,0x44,0x2c,
0x10,0x03,0x8d,0x00,0x30,0x10,0x95,0x00,0x1f,0xb4,0x0c,0x3e,0x79,0x03,0xc8,0x10,
0xbe,0x0f,0x04,0x40,0x11,0x31,0xb6,0x0a,0x00,0xca,0x04,0x4d,0xd1,0x04,0xbf,0x56,
0x21,0x98,0x50,0x8d,0x10,0x55,0x98,0x24,0xb9,0xae,0x04,0x6c,0x8f,0x00,0x00,0x30,
0x00,0xe0,0x10,0x0e,0x00,0x7f,0x70,0x0c,0x77,0x7f,0x00,0x4f,0x9c,0x00,0x60,0x07,
0xcb,0xc2,0xf7,0x56,0x08,0xd6,0x9b,0xee,0x17,0x00,0xfb,0x06,0x04,0x97,0xf5,0xbf,
0x0a,0x5f,0x0e,0x62,0x08,0x46,0xc6,0xa0,0x2f,0x10,0x77,0x55,0xfd,0x02,0x00,0x20,
0x22,0x22,0xfd,0xb8,0x0e,0x00,0x2d,0xf0,0x0d,0x00,0xf0,0x21,0x02,0xb9,0x74,0x77,
0xa7,0xaa,0x03,0xd3,0x5f,0xb0,0x84,0x0f,0x70,0x03,0x92,0xae,0x07,0x00,0xe1,0x03,
0x27,0x4c,0xfb,0x1e,0x0b,0x53,0x0e,0x68,0xef,0xdf,0x04,0xc9,0xf0,0x02,0x0e,0x00,
0x69,0xbb,0x41,0x08,0xd0,0xee,0xde,0x14,0

0x735E00#

d,0xf2,0x04,0x97,0xfb,0x05,0x24,0x00,0x40,0x42,0xf0,0x02,0xeb,0x10,0x3f,0xf7,
0x05,0x04,0xc0,0x1b,0xb0,0xb0,0x1c,0x00,0xf4,0x04,0xa7,0x00,0x4f,0xbf,0x04,0x8b,
0x0b,0x0b,0xca,0x0c,0x40,0xc0,0x04,0x7f,0xff,0xff,0x0c,0x00,0x48,0x42,0x66,0xf7,
0x10,0x40,0x22,0x22,0x00,0x40,0xf4,0x11,0x03,0x82,0x50,0x1f,0xa0,0x89,0x20,0xec,
0x00,0x20,0xfc,0x03,0xfa,0x07,0x70,0x04,0x63,0xf6,0x4d,0xe1,0x00,0x40,0x10,0x33,
0x73,0x3f,0x1c,0x40,0xc7,0x00,0xf2,0x03,0xf0,0x0b,0x30,0x2f,0x00,0xb0,0x7e,0x74,
0xf7,0xef,0x6b,0x01,0x0

0x738600#

0x78,
0x18,0x43,0xf7,0x01,0xa4,0xf0,0x06,0x10,0x01,0x2e,0x15,0x9c,0xf8,0x11,0x17,0x03,
0x89,0x01,0xf7,0x02,0xde,0x1d,0x11,0x40,0xc6,0x80,0x6f,0x70,0xcf,0xcc,0xcc,0xfc,
0x07,0xf0,0x0b,0xf5,0x11,0x11,0x11,0x0f,0xb8,0x0f,0x58,0x8d,0x00,0x6d,0x03,0x6a,
0x20,0xa0,0x6e,0x23,0x11,0x53,0x05,0x14,0xc1,0x9f,0x06,0x14,0x01,0xed,0x01,0x80,
0x05,0x8f,0x00,0xd0,0x0e,0x1f,0x05,0x80,0x05,0x40,0xc3,0xf5,0x08,0x70,0x3f,0x22,
0x22,0xf2,0x07,0xf7,0x05,0xf5,0x04,0xad,0x20,0x80,0xf3,0x7c,0xd7,0xc1,0x08,0xb8,
0x72,0xa8,0xa

0x740E00#

0x7c,0x01,0x01,0x60,0x07,0x25,0x00,0x00,
0x11,0x01,0x21,0x22,0x4a,0x02,0x82,0x12,0xbf,0x20,0x22,0x03,0x96,0x05,0x88,0x40,
0x0a,0xa2,0x01,0xc1,0x67,0x21,0x22,0x90,0xbf,0x12,0xab,0x3c,0x3b,0xc6,0x11,0x11,
0x01,0x00,0x00,0xaf,0xf0,0x06,0xf0,0xbf,0xf3,0xff,0x3f,0xf2,0x82,0xcb,0x00,0x11,
0x42,0x86,0xbb,0xff,0xff,0x04,0x00,0xf7,0x04,0x70,0x0f,0xf3,0x03,0x00,0x10,0xcf,
0xf3,0x03,0x02,0xff,0x0b,0x41,0x8f,0x44,0x89,0x00,0x1b,0x04,0x20,0x02,0xcb,0x55,
0x95,0x3f,0x92,0xea,0x30,0x9c,0x7f,0x00,0x77,0x20,0x00,0x50,

0x744C00#

4,0x02,0x45,0x52,
0x05,0x00,0x51,0x13,0xbb,0x22,0x77,0x02,0x6e,0x11,0x09,0x08,0x14,0x30,0x06,0x9d,
0x54,0x12,0xba,0xff,0x7c,0x01,0x7c,0x01,0x7c,0x01,0x7c,0x01,0x7c,0x01,0x7c,0x01,
0x7c,0x01,0x7c,0x01,0x03,0x7c,0x01,0x4c,0x01,0x10,0x01,0x00,0x11,0x01,0x21,0x4c,
0x22,0x02,0x82,0x07,0xdd,0x50,0x05,0x0d,0x6a,0x70,0x5a,0x07,0x05,0x81,0x21,0x0e,
0x87,0x34,0x33,0xf5,0x0f,0x70,0x5f,0x08,0x81,0xff,0x38,0x06,0xca,0xe7,0xf0,0xbf,
0xf3,0x08,0xff,0x3f,0xf2,0x82,0x61,0x66,0x66,0xf6,0x02,0x6f,0x83,0x26,0xc4,0xcc,
0xcc,0xfc,0xcf,0xa1,0x83,0x2c,0x00,0xf6,0xbb,0x90,0x6f,0x86,0xfb,0x17,0xd0,0x0a,
0x39,0x9f,0x1a,0x80,0xc5,0xcc,0xcc,0xcc,0x11,0x11,0xf1,0x09,0x11,0x00,0x00,0x55,
0x95,0x3f,0x92,0xca,0xf3,0x5a,0xe5,0x5a,0xf5,0x5a,0x85,0x7f,0xf4,0x12,0x22,0x00,
0x20,0x02,0x60,0x2f,0x00,0xf6,0x06,0xe0,0xea,0x6f,0x0a,0x60,0x0c,0x06,0x11,0xf9,
0x04,0x9b,0x00,0x40,0x0e,0x81,0x60,0x00,0x10,0x44,0x01,0xf4,0x06,0x68,0x04,0x92,
0x9f,0x4f,0x92,0xc8,0xd2,0x06,0xf4,0x05,0xf0,0x07,0x20,0x6c,0x11,0xc6,0x2e,0xf3,
0x04,0xf9,0x5c,0x01,0

0x749E00#

0xc4,0xf4,0x4b,0x83,0x03,0x10,0x01,
0x04,0x40,0x85,0x63,0xc1,0x50,0x0f,0xfb,0x20,0x9f,0x81,0x1e,0x11,0x70,0x0f,0x60,
0x07,0x00,0x10,0x04,0xa7,0x02,0x0c,0x55,0x90,0xb5,0x5f,0x55,0x55,0x03,0x3f,0x83,
0x88,0x80,0x04,0xf8,0x1f,0x18,0x80,0xb0,0xaf,0xaa,0xfa,0xae,0x2d,0x82,0x0b,0x00,
0x3d,0x92,0xf0,0x87,0x07,0xfb,0x7e,0xd0,0x02,0x79,0xc3,0x4f,0x70,0x4f,0x22,0xb2,
0x2f,0x22,0xf4,0x07,0x20,0x44,0xb0,0x02,0x5e,0x0c,0x8f,0x08,0xaa,0xed,0x81,0x00,
0x50,0xbf,0x33,0xb3,0x3b,0x33,0xfa,0x0c,0x35,0x07,0x04,0x38,0x10,

0x74BE00#

,0xaa,0x0d,0x5c,0x24,0xff,0x0c,0x40,0x74,0x80,0x5c,0x24,0x7c,0x80,
0x7c,0x80,0x7c,0x80,0x7c,0x80,0x7c,0x80,0x7f,0x7c,0x80,0x7c,0x80,0x7c,0x80,0x7c,
0x80,0x7c,0x80,0x7c,0x80,0x24,0x80,0x53,0x85,0x7c,0x80,0x0d,0x5c,0x24,0x0d,0x00,
0x75,0xdb,0x67,0xde,0x3d,0xb0,0x0d,0x5c,0x24,0x03,0x80,0x57,0xdc,0x0c,0x01,0xa6,
0x00,0xf1,0x90,0x11,0x21,0x32,0x14,0x23,0xbf,0x24,0x01,0x5f,0xdc,0xc5,0xb0,0xda,
0x0c,0x24,0x87,0x88,0x99,0x0c,0x1c,0xbf,0x27,0x34,0x40,0x61,0x00,0x3c,0x40,0xe7,
0xee,0x90,0xbe,0x38,0xb1,0x04,0x18

0x74F400#

,0x73,0xce,0x04,0xa0,0xce,0x00,0x1f,0xe6,0x8b,0x8f,0x18,
0xd1,0x85,0x24,0x3f,0x00,0xf0,0xff,0x80,0x42,0x08,0x86,0xf2,0x2a,0xa2,0x3f,0x09,
0x68,0x06,0x87,0x85,0xc4,0xe7,0x07,0x00,0xde,0x52,0x55,0xf5,0x5d,0x55,0x25,0xa0,
0xae,0x00,0x85,0xe5,0x0b,0x60,0xee,0x1c,0xb1,0x18,0x40,0xee,0x8b,0x04,0x84,0x11,
0x1e,0x22,0x22,0xf2,0x8f,0x00,0x80,0x00,0x94,0xce,0x63,0x00,0x00,0xbf,0x00,0x00,
0x60,0x66,0x36,0x40,0x55,0x55,0xe7,0x07,0xb0,0x7f,0x52,0x65,0x66,0x66,0x57,0x26,
0x0c,0x71,0x00,0x30,0x66,0x1c,0xb1,0xfc,0x20,0x24,0x25,0x1e,0x00,0x7d,0x00,0x80,
0x04,0x4a,0xc1,0x21,0xa3,0x1b,0x00,0x00,0xe0,0xee,0x7e,0x90,0x04,0xc0,0x80,0xf9,
0x7f,0x40,0x1c,0x00,0x00,0xfc,0x00,0xd2,0x61,0x10,0x76,0x70,0xff,0xff,0xdf,0x00,
0x20,0x39,0x6f,0x7f,0xe5,0x04,0x45,0xfb,0xa9,0x88,0xfb,0x00,0xe3,0x00,0x80,0xc2,
0x90,0x4e,0x00,0x33,0x03,0x4f,0x7f,0x00,0xaf,0x00,0x35,0x82,0x10,0x1c,0x40,0x0f,
0x4d,0x9e,0x1c,0x80,0x00,0x00,0xf2,0xdc,0x00,0xfa,0xee,0xee,0x00,0x40,0xc1,0x00,
0x00,0x01,0x7f,0x00,0xf7,0x01,0x60,0x4f,0x1c,0x68,0x54,0x40,0x86

0x753400#

5c,0x08,0xf0,0x03,0x6d,0xf7,0x0c,0x01,
0x1c,0x0a,0x2c,0x01,0x0f,0x04,0x27,0x2c,0x13,0x0c,0x0f,0x08,0x19,0x48,0xf0,0xcd,
0xcc,0x0c,0x01,0xfe,0xff,0x14,0x0a,0xfd,0x2a,0xce,0x10,0x09,0xdc,0x04,0x13,0xfd,
0x04,0x40,0xf0,0xcf,0xa3,0x14,0x12,0x04,0x18,0xfc,0xff,0xbf,0x95,0xec,0x0c,0x40,
0xa4,0x6e,0x66,0x0c,0x01,0xc7,0xfe,0x89,0x65,0x03,0xc5,0x20,0x54,0x44,0xfe,0x4e,
0x33,0x80,0x22,0x22,0x60,0x11,0x11,0x83,0xfe,0x1e,0x84,0x08,0x40,0xff,0x88,0x5a,
0x44,0x44,0x07,0xd3,0x76,0xfc,0x9e,0x00,0x2b,0x50,0xcc,0xff,0x7c,0x67,0x85,0xe9,
0x2c,0x40,0x76,0x88,0xfc,0x6e,0x56,0x80,0x55,0x55,0x45,0x00,0x40,0xa2,0x43,0x04,
0x40,0x12,0x11,0x61,0x18,0x40,0xaf,0x07,0xd1,0x01,0x00,0x40,0x65,0xe7,0xee,0x6a,
0x66,0x66,0xc6,0x32,0xeb,0x00,0x3f,0x96,0xfe,0x0d,0x00,0x00,0x80,0xca,0xcc,0xca,
0xac,0x00,0x50,0xfc,0x00,0x80,0xe9,0xee,0x90,0xc6,0xfe,0x4e,0x34,0x34,0xc8,0xcc,
0x8c,0x26,0x22,0x32,0xfe,0x1e,0x22,0x22,0xe7,0x04,0x80,0xc5,0xf0,0x8e,0x44,0x44,
0xa5,0xaa,0xaa,0x8a,0x55,0x66,0xe6,0xff,0x9d,0x00,0x6b,0xec,0x67,0x93,0x08,0x7f,

0x756600#

,0xb4,
0xed,0x0f,0x58,0x40,0xbb,0x30,0x01,0x4d,0xe4,0xba,0x58,0x41,0xbd,0x40,0x40,0xf0,
0x03,0x70,0x00,0x76,0x03,0x76,0x0c,0x01,0x0f,0x02,0x24,0x4d,0x58,0x41,0xbc,0x30,
0x01,0x04,0x31,0x7f,0x77,0xa5,0xdf,0x94,0xa7,0xfc,0x0b,0x79,0xa5,0x04,0x40,0x88,
0xbb,0x50,0x41,0x12,0xcb,0x30,0x01,0xff,0x17,0x0a,0xdc,0x11,0x11,0xf7,0x50,0xff,
0x11,0xd1,0x5f,0xa8,0xa1,0x08,0x40,0x98,0x7a,0xfb,0x4c,0x40,0xcc,0x30,0x01,0xc8,
0xff,0x17,0xa7,0xaa,0x7a,0x77,0xaa,0xaa,0x17,0xf7,0xff,0x7f,0x11,0x5f,0x11,0xff,
0x8f,0x0c,0x

0x75AC00#

0x17,0xa9,0x17,0xd3,0x20,0x0f,
0x23,0xc0,0x7f,0x2c,0x40,0x10,0x08,0x14,0x3b,0x18,0x2d,0x24,0x44,0x14,0x60,0x08,
0x40,0xfa,0xb1,0x0d,0x3d,0xff,0x8f,0x2c,0x08,0x30,0x03,0xdc,0x1f,0x04,0x17,0x5b,
0x02,0x77,0x0b,0x90,0x21,0x01,0x4a,0xa8,0xb1,0x87,0xbf,0x6f,0x0b,0x84,0x10,0x2f,
0x10,0x0f,0x02,0x00,0xa6,0x03,0xd5,0xb0,0x1a,0x2f,0x04,0x20,0x03,0xdc,0x04,0xf3,
0x1a,0xd7,0x31,0x10,0x09,0xf1,0x8f,0x8f,0x0e,0xd7,0x02,0xdf,0x10,0x01,0x0e,0xe6,
0x10,0xff,0xd8,0x03,0xd5,0x25,0xb0,0x2d,0x08,0x40,0xdf,0xdd,0x07,0x1c,0x10,0xff,
0x13,0x8f,0x10,0x40,0xee,0xee,0x08,0x40,0xbf,0xee,0x3e,0x15,0x08,0x80,0xdf,0x14,
0x2f,0x3d,0x10,0x40,0xc7,0xcc,0xec,0x9a,0xee,0x80,0xce,0x06,0x31,0x04,0x40,0xcf,
0xcc,0x07,0x1c,0x27,0x0b,0xd7,0x0c,0x40,0x0c,0x49,0xf1,0xaf,0x0c,0x31,0xf1,0x3f,
0x40,0x33,0x33,0xcd,0xcc,0xcc,0x3c,0x85,0x23,0x11,0x10,0x40,0xb7,0xbb,0x13,0x01,
0x84,0xa2,0xba,0xbb,0xb2,0x2b,0x08,0x40,0xbf,0xbb,0x06,0xdc,0x1b,0xd7,0x31,0x04,
0x49,0x21,0x00,0x20,0xf1,0xaf,0xcc,0x3c,0x15,0x40,0x7a,0xba,0xb6,0xbb,0x07,0x17,
0x19,0x0

0x75DE00#

61,0x84,0x85,0x66,0x1c,0x88,0x18,0x00,0x40,0x16,0x00,
0x17,0xd6,0x11,0xff,0xb8,0x01,0x6c,0x40,0x99,0x99,0x9a,0x1c,0x00,0xc1,0x84,0x41,
0x86,0xa9,0xa9,0x13,0x01,0xa1,0x8e,0x9a,0xd6,0x9a,0x0a,0x80,0x07,0xc9,0x6f,0x05,
0x01,0xf7,0x6a,0xc6,0x0b,0x00,0xd0,0x1d,0x00,0x11,0x74,0x0e,0xf9,0xa1,0xae,0x0c,
0x40,0x30,0xca,0xcc,0xcc,0x3c,0x7e,0x80,0x0b,0x80,0x13,0x00,0x64,0x11,0x49,0x03,
0x78,0x3c,0x11,0x00,0x40,0x17,0x80,0xff,0x58,0xdb,0xcc,0xdd,0x04,0x40,0x7a,0x80,
0xee,0x80,0x13,0x10,0x00,0x10,0x42,0xea,0x86,0x

0x75FE00#

x00,0x7f,0x7e,0x11,0x00,0x40,0x0f,0xc0,0x11,0x00,0xc1,0xc0,0xcc,0x6d,0x66,
0x66,0xfd,0x61,0x66,0xcf,0x38,0x40,0x10,0xc0,0x14,0x58,0x43,0x34,0x41,0x04,0xc0,
0x03,0x80,0x11,0x09,0x6d,0x1c,0x0f,0x13,0xc0,0x11,0x80,0xc4,0xfc,0x77,0x77,0xcd,
0xcc,0x72,0x77,0xcf,0x7c,0x77,0xc2,0xcc,0x8a,0xbb,0xbb,0x7d,0x77,0xd0,0xbd,0xbb,
0x7b,0x77,0x1d,0x40,0x14,0x08,0x44,0x09,0x40,0x07,0x05,0xb5,0x18,0x80,0x0f,0xc0,
0x00,0xcc,0x7f,0x77,0x77,0x42,0xa7,0x94,0xcc,0x7c,0x77,0xcb,0x00,0x40,0xcc,0xa4,
0xcc,0x7d,0x00,0x4f,0x7c,0

0x762E00#

x40,0x60,0x68,0x21,0x43,0x44,0x40,0x01,0xb6,0x05,0x00,0x7d,0xf9,
0x00,0xa0,0x00,0x40,0x21,0x32,0x33,0x40,0x01,0x63,0x09,0x40,0x6b,0x7c,0x7f,0x00,
0x40,0x22,0x44,0x01,0x42,0x08,0x40,0x06,0x00,0xf6,0x40,0x1f,0xf7,0x6f,0x61,0xff,
0x18,0x9a,0x1b,0x1d,0x05,0x36,0x16,0x01,0x46,0x06,0x4a,0x10,0x5c,0x01,0x60,0x31,
0x19,0x44,0x7f,0x33,0x43,0x08,0x40,0x06,0x00,0xf9,0xcf,0xcf,0x42,0x16,0x01,0x45,
0xfa,0x16,0xf6,0x19,0x04,0x40,0x14,0x80,0xff,0x16,0x00,0x41,0xff,0xaf,0x01,0x01,
0xdc,0x24,0xff,0x4a,0x97,0x90,0x32,0

0x769600#

3f,
0x44,0x7d,0x18,0x83,0x70,0x41,0x04,0x3f,0x4c,0x7d,0x10,0x83,0x1d,0x6c,0x41,0xf0,
0x70,0x3f,0x0c,0x41,0x5d,0x7a,0xbf,0x89,0x68,0x19,0x6c,0x3f,0x00,0x00,0x01,0x04,
0x55,0x86,0x90,0xdf,0x9b,0x1c,0x78,0x45,0x32,0x85,0x06,0xbe,0x28,0xb1,0x40,0x75,
0x98,0xf4,0xdb,0x9f,0x4c,0xbe,0xf9,0x01,0xb9,0x32,0x85,0x06,0xbe,0x32,0x7b,0x20,
0x40,0x86,0x98,0xfb,0x09,0x48,0xfe,0xbf,0x89,0xf2,0x57,0x1d,0xb9,0xb0,0xff,0x02,
0x85,0x10,0x01,0x01,0xf8,0x20,0x42,0xe8,0x54,0x87,0xb9,0x4c,0x81,0x9b,0x20,0xfd,
0x06,0xc3,0x20,

0x76CC00#

b5,0x81,0xbb,0x05,0xb0,0x01,0x05,0xb7,0x08,0xfb,0xff,0xbb,0x20,0x81,0x10,0x32,
0x75,0xa8,0x3e,0xcb,0x03,0x01,0x01,0x33,0x18,0x3f,0x81,0x01,0x3f,0xbc,0x8a,0x08,
0x57,0x23,0x01,0x7c,0x80,0x10,0x32,0x64,0x98,0x17,0x00,0x40,0x04,0x41,0x1c,0x80,
0xfe,0x01,0xff,0xbc,0x89,0x46,0x43,0x04,0x40,0x75,0x00,0x10,0x22,0x54,0x97,0x09,
0x01,0xef,0xc7,0x14,0x81,0x98,0x08,0xff,0x79,0x45,0x22,0x01,0xb7,0x75,0x80,0xfd,
0x05,0x41,0xb9,0x01,0x81,0x07,0x83,0x05,0x04,0x01,0x88,0x02,0x3d,0x00,0xff,0x1a,
0x9b,0x05,0x3f,0x00,0x76,0x00,0x01,0xc1,0x43,0x76,0xa9,0x0f,0x01,0x01,0x04,0x3f,
0x14,0xff,0x06,0x7e,0xbc,0x9a,0x67,0x34,0x9e,0x11,0x04,0xf6,0x6e,0x80,0x00,0x40,
0x01,0x01,0xca,0xdd,0x01,0x82,0x9c,0xee,0xff,0x91,0xb4,0x01,0x7e,0xdd,0xac,0x00,
0xff,0xc7,0x04,0x40,0x73,0x00,0x09,0x01,0x87,0xb9,0xcc,0x01,0x42,0x00,0x41,0x87,
0x02,0x44,0x03,0x3b,0x00,0xbf,0xdd,0xcc,0x9b,0x78,0x08,0xff,0xef,0x77,0x80,0x06,
0xc2,0x08,0xc1,0x01,0x02,0xef,0x02,0x06,0xa4,0x00,0xfe,0xc7,0x08,0xbf,0x0b,0xbe,
0x7c,0x01,0x11,0x32,0x65,0x01,0x82,0x07,0x

0x77A600#

,0xc7,0x0c,
0xe9,0x00,0xff,0x53,0x0c,0xd1,0x09,0xbf,0x00,0x28,0x32,0xca,0x75,0x0d,0x08,0x32,
0x04,0x30,0x20,0x11,0x11,0x90,0x01,0x8e,0xfd,0x0c,0xf8,0x70,0x0d,0x96,0xaf,0x05,
0x59,0x00,0x79,0x0d,0xa7,0x00,0x19,0xff,0x24,0x28,0x18,0x08,0x0d,0x90,0x7c,0x01,
0x7c,0x01,0x7c,0x01,0x7c,0x01,0x7c,0x01,0x1f,0x7c,0x01,0x7c,0x01,0x7c,0x01,0x7c,
0x01,0x7c,0x01,0x00,0x20,0x52,0x76,0x04,0x7c,0x25,0x14,0x2d,0x23,0x0f,0xc8,0x05,
0xfa,0x07,0xd8,0x22,0x40,0x22,0x05,0x00,0x15,0x71,0x11,0x10,0x1e,0x03,0x22,0x33,
0x78,0x

0x783C00#

0x00,0x1f,0x53,0x77,0x80,0x57,0x2c,0x20,0x07,0x14,0x36,0x00,0x35,0xff,};
static unsigned char tim_lane03[] = {
0xae,0x00,0x7c,0x01,0x7c,0x01,0x50,0x01,0x11,0x28,0x01,0x01,0x38,0x10,0x9b,0x7c,
0x40,0x24,0x31,0x02,0x38,0x10,0x78,0x40,0xb9,0xbb,0x1c,0x01,0x4c,0x29,0x05,0x38,
0x10,0x74,0x40,0x21,0x99,0x20,0x01,0x59,0x06,0x09,0x38,0x10,0x74,0x40,0x52,0xc9,
0x6c,0x77,0x77,0x88,0x67,0xfc,0xff,0xa5,0xff,0x9f,0x0f,0xaf,0x1f,0x87,0x8d,0x0c,
0x04,0x9f,0x74,0x40,0x95,0xcc,0x59,0x20,0x66,0x66,0x56,0xfc,0xcf,0xb5,0xff,0x0f,
0x1f,0xaf,0xad,0x0c,0x04,0x9f,0x78,0x01,0x90,0x46,0x55,0xf8,0x55,0x45,0xfc,0x0c,
0x06,0x0c,0x10,0xad,0x0c,0x04,0x7c,0x3e,0x00,0x00,0x00,0x60,0x35,0x44,0x44,0x34,
0xfc,0x1f,0x0c,0x06,0x0c,0x10,0xad,0x0c,0x04,0x7c,0x3e,0x00,0x00,0x50,0xe0,0x24,
0x33,0x33,0x23,0xfc,0x0c,0x06,0x0c,0x10,0xad,0x03,0x0c,0x04,0x7c,0x3e,0x00,0x00,
0x40,0x13,0x22,0x22,0x7c,0x12,0xfc,0x0c,0x06,0x0c,0x10,0xad,0x0c,0x04,0x7c,0x3e,
0x00,0xe8,0x00,0x30,0x12,0x02,0x43,0xfc,0x0c,0x06,0x10,0x10,0xad,0xa3,0xb3,0x7c,
0x3e,0x0

0x784E00#

x40,0x30,0xb9,
0x06,0x83,0x93,0x4e,0x9b,0x02,0x48,0xb4,0x20,0x10,0x50,0xc8,0x01,0x1e,0x8c,0xd2,
0x05,0x10,0x40,0xd0,0xfe,0x01,0xff,0x89,0x38,0x40,0xc1,0x93,0xdd,0x9d,0x03,0x00,
0x30,0xd9,0xdd,0x39,0x07,0x0c,0x05,0x20,0x10,0x30,0x40,0x54,0x55,0x55,0x44,0x23,
0x1c,0x11,0x01,0x7c,0x40,0x18,0x40,0x28,0xc0,0xd0,0xee,0xff,0xe0,0xff,0xef,0xde,
0xac,0x9a,0x0b,0x00,0x1b,0x80,0x68,0xc0,0x49,0x29,0x40,0xed,0xfe,0x07,0x00,0xac,
0x89,0x07,0x01,0xb7,0x2d,0x03,0x80,0xbb,0x7d,0x40,0x29,0xc0,0xed,0x06,0x2c,0xde,
0xac

0x792400#

struct {
    VERTC   vt[4];
}       GsADIV_P_GT4;


typedef struct {
    u_long  limit;       
    long    hwd, vwd;    
    int     shift;       
    u_long *org;         
    u_long *pk;      
    long    otz;         
    long    adivz;       
    short   adivw, adivh;    
    long    flg0;        
    long    flg;         
    short   minx, miny, maxx, maxy;  
    short   hwd0, vwd0;  
    u_long *tag;         
    POLY_G4 si;      
}       GsADIV_G4;

typedef struct {
    VERTC   vt[4];
}       GsADIV_P_G4;

typedef struct {
    u_long  limit;       
    long    hwd, vwd;    
    int     shift;       
    u_long *org;         
    u_long *pk;      
    long    otz;         
    long    adivz;       
    short   adivw, adivh;    
    long    flg0;        
    long    flg;         
    short   minx, miny, maxx, maxy;  
    short   hwd0, vwd0;  
    u_long *tag;         
    POLY_F4 si;      
}       GsADIV_F4;

typedef struct {
    VERT    vt[4];
}       GsADIV_P_F4;


typedef struct {
    u_long  limit;       
    long    hwd, vwd;    
    int     shift;       
    u_long *org;         
    u_long *pk;      
    long    otz;         
    long    adivz;       
    short   adivw, adivh;    
    long

0x793E00#

sOT * ot, u_long * scratch);
   PACKET *GsA4divF3NL(TMD_P_F3 * op, VERT * vp, VERT * np, PACKET * pk, int n,
                       int shift, GsOT * ot, u_long * scratch);
   PACKET *GsA4divNF3(TMD_P_NF3 * op, VERT * vp, PACKET * pk, int n,
                      int shift, GsOT * ot, u_long * scratch);
   PACKET *GsA4divF4L(TMD_P_F4 * op, VERT * vp, VERT * np, PACKET * pk, int n,
                      int shift, GsOT * ot, u_long * scratch);
   PACKET *GsA4divF4LFG(TMD_P_F4 * op, VERT * vp, VERT * np, PACKET * pk, int n,

0x796A00#

ec;
    short       otz;
    short       p;
}       GsWORKUNIT;

typedef struct {
    unsigned long   *primp;
    GsOT        *tagp;
    int     shift;
    int     offset;
    PACKET      *out_packetp;
    unsigned long   *primtop;
    SVECTOR     *vertop;
    SVECTOR     *nortop;
}   GsARGUNIT_NORMAL;

typedef struct {
    unsigned long   *primp;
    GsOT        *tagp;
    int     shift;
    int     offset;
    PACKET      *out_packetp;
    unsigned long   *primtop;
    SVECTOR     *vertop;
    GsWORKUNIT  *vertop2;
    SVECTOR     *nortop;
    SVECTOR     *nortop2;
}   GsARGUNIT_SHARED;
    
typedef struct {
    unsigned long   *primp;
    GsOT        *tagp;
    int     shift;
    int     offset;
    PACKET      *out_packetp;
    unsigned long   *imagetop;
    unsigned long   *cluttop;
}   GsARGUNIT_IMAGE;

typedef struct {
    unsigned long   *primp;
    GsOT        *tagp;
    int     shift;
    int     offset;
    PACKET      *out_packetp;
    unsigned long   *polytop;
    unsigned long   *boxtop;
    unsigned long   *pointtop;
    SVECTOR     *nortop;
}   GsARGUNIT_GND;

typedef struct {
    unsigned long   *primp;
    GsOT        *tagp;
    int     shift;
    int     offset;
    PACKET      *out_packetp;
    unsigned long   *polytop;
    unsigned long   *boxtop;
    unsigned long   *pointtop;
    SVECTOR     *nortop;
    unsigned long   *uvtop;
}   GsARGUNIT_GNDT;

typedef struct {
    unsigned long   *primp;
    GsOT        *tagp;
    int     shift;
    int     offset;
    PACKET      *out_packetp;
    unsigned long   *cparam;
    GsCOORDUNIT *coord;
    GsCOORDUNIT *rcoord;
}   GsARGUNIT_CAMERA;

typedef struct {
    unsigned long   *primp;
    GsOT        *tagp;
    int     shift;
    int     offset;
    PACKET      *out_packetp;
    unsigned long   *lparam;
    GsCOORDUNIT *coord;
    GsCOORDUNIT 

0x7B2200#

0xfa,0x1a,0xa1,0x08,
0x28,0xf1,0xff,0x27,0x08,0x40,0x14,0x10,0x00,0x60,0xfa,0x6a,0x08,0x89,0xfa,0xf7,
0x59,0x08,0x40,0xf7,0x16,0x08,0x70,0x87,0x17,0x14,0x80,0xf1,0xb1,0x04,0x50,0x10,
0xff,0x01,0x92,0x04,0x80,0xf1,0x0c,0x40,0xac,0x11,0x11,0x0c,0x50,0x00,0x51,0x16,
0x08,0xa0,0x7f,0x0c,0x40,0x6e,0xfb,0x1c,0x98,0x08,0xb0,0x00,0x12,0x17,0x08,0x88,
0x10,0x40,0x00,0xb1,0x0c,0x40,0x00,0x10,0x61,0x0c,0xb0,0x00,0x48,0x6f,0x08,0xa0,
0x38,0x17,0xf7,0x1a,0x0c,0x90,0x0c,0x98,0x14,0xb0,0x00,0x91,0xfe,0xbf,0x0c,0x9f,
0x14,0x10,0x10,0x80,0x00,0x3f,0x08,0xa8,0x14,0xc8,0x30,0xe8,0xec,0x10,0xf7,0x10,
0x30,0x88,0x1e,0x25,0x30,0x18,0x40,0x11,0x18,0x1f,0x19,0x48,0x01,0x08,0x04,0x80,
0x19,0x68,0x14,0x30,0x10,0xfb,0x19,0xff,0x25,0xb0,0x15,0xc0,0x19,0x98,0x19,0xd8,
0x11,0xc0,0x14,0x28,0x20,0x08,0x00,0xc5,0x6c,0x40,0x08,0x08,0x24,0x34,0x01,0x44,
0x30,0x08,0x0c,0x16,0x52,0x0a,0x05,0x1c,0x0d,0x30,0x0c,0x13,0xa4,0x04,0x33,0x33,
0xc4,0x03,0x3f,0x87,0xf0,0x08,0x00,0x98,0xc3,0x00,0x00,0x60,0xaa,0x6a,0x00,0xf4,
0x4f,0x00,0xa8,0x04,0x11,0x01,0xd2,0xf4,0xcf,0x04,0xb7,0x9e,0x00,0x30,0x93,0x82,
0x04,0x2d,0xe4,0x0b,0x1c,0x4c,0xe9,0x7c,0x08,0x8e,0x00,0x8a,0x00,0xfa,0xff,0x08,
0xf4,0x03,0x35,0x11,0x00,0x40,0xfc,0xff,0x0c,0x00,0x57,0x33,0x33,0x00,0x20,0xcf,
0x4f,0x00,0x84,0x0a,0x00,0x2f,0xaf,0xa0,0xb2,0x0f,0xb7,0xe3,0x09,0x81,0x18,0x40,
0x90,0x04,0x52,0x01,0x05,0x68,0xca,0x02,0x00,0xb1,0x07,0x00,0x4f,0x27,0x04,0x7b,
0xcc,0x30,0x30,0x2f,0xf0,0x8f,0x00,0x8c,0x80,0x0c,0xcc,0xcc,0xf0,0xff,0xff,0x00,
0x80,0x4f,0x00,0x40,0x0f,0x05,0xa2,0xa

0x7B7200#

00,0xf7,0xf1,0x1f,0xf9,0x0c,0x7f,0x3e,0x70,0x28,0xc0,0x00,
0xe1,0x00,0xc0,0x38,0x80,0x01,0x0d,0x99,0x08,0x80,0xff,0x5a,0x08,0x27,0x00,0xf8,
0x51,0x15,0x08,0x47,0x7e,0xee,0xa0,0x2d,0x40,0x00,0xf3,0x0d,0x00,0x14,0x40,0x05,
0x00,0x71,0xb8,0xff,0xff,0x17,0x09,0x40,0x04,0x9f,0x04,0x71,0xf9,0x0c,0xff,0xe0,
0x33,0x33,0x73,0xee,0x33,0x21,0x90,0x10,0x08,0x05,0x6f,0xff,0x0c,0x01,0x05,0xb2,
0x0d,0x8d,0x2d,0xb8,0x19,0xd6,0x04,0xc0,0x01,0x55,0xc2,0xcf,0x06,0x00,0x00,0x20,
0xff,0xff,0x02,0x00,0xf3,0x3d,0x05,0x63,0x8f,0x0c,0x0c,0x97,0xc3,0x70,0xff,0x00,
0x00,0xa4,0xff,0xff,0x4a,0x00,0xf4,0x2f,0x8e,0x0f,0x20,0x10,0xff,0x04,0x00,0xa3,
0x04,0xb0,0x60,0xee,0xee,0x7e,0x6e,0x04,0x3e,0x0c,0x08,0xc8,0xff,0x88,0x88,0xfc,
0xbf,0x00,0x00,0xb0,0xff,0xff,0x0b,0x00,0x83,0x88,0xf8,0x8f,0x8e,0x0c,0x0c,0x8f,
0x08,0x21,0x00,0x40,0xb0,0xff,0x8c,0xc8,0x8c,0xf0,0x6f,0x50,0x20,0xff,0x2f,0x60,
0x8d,0x70,0x08,0xf0,0xea,0x10,0x6b,0x63,0xea,0x0a,0x18,0x08,0xff,0x03,0x00,0x42,
0x80,0x00,0x7b,0xf2,0x9f,0xf9,0x2f,0x01,0x5b,0xf3,0xc6,0x0f,0x94,0xbb,0xff,0xff,
0x5f,0x00,0x40,0xc4,0xf2,0x8f,0x02,0x20,0xf8,0x2f,0xb0,0xaf,0x72,0xff,0x7f,0xa2,
0x05,0x00,0x66,0x50,0x04,0x40,0xee,0x03,0x00,0xe6,0x0e,0x0d,0x00,0xbe,0x77,0xb7,
0x00,0x40,0x00,0xff,0x05,0x00,0x38,0xfb,0x09,0x90,0x00,0x20,0x0c,0x40,0xbb,0xff,
0xfc,0xa0,0xff,0x72,0xff,0x00,0xf5,0x9f,0xf0,0x00,0x49,0x20,0xb7,0xaf,0xbf,0xf7,
0x7f,0x10,0x40,0x00,0x00,0x28,0xda,0xee,0x05,0x11,0x82,0x05,0x10,0x40,0x20,0xff,
0x1c,0x44,0x44,0x00,0x86,0x08,0x40,0x0c,0x0c,0xff,0x27,0xff,0x02,0xcf,0x14,0x40,

0x7BAE00#

4,0x2a,0x7d,0x05,0xfc,0x20,0x17,
0x04,0x1b,0x0c,0xfa,0x0a,0xa1,0x7c,0x01,0x7c,0x01,0x7c,0x01,0x1f,0x7c,0x01,0x7c,
0x01,0x7c,0x01,0x7c,0x01,0x0c,0x1c,0x30,0xfc,0xcf,0x83,0x0d,0x2a,0x20,0x2b,0xff,
0x06,0x00,0x60,0xff,0x07,0x7b,0x0c,0x03,0x30,0x0b,0x79,0x64,0x01,0xc3,0x06,0x60,
0x3c,0x41,0x34,0x14,0x9f,0x6f,0x00,0xf6,0xf9,0x05,0xac,0x3f,0x06,0xf3,0x05,0xb3,
0x09,0x78,0x00,0x10,0x48,0x00,0x10,0x8b,0x0a,0xd6,0x00,0x75,0x26,0x05,0x81,0x61,
0x02,0x62,0x01,0x8c,0x47,0xc1,0xf3,0x06,0x60,0x6f,0x00,0x48,0x00,0x0

0x7BDE00#

1,0x3f,0x7c,0x01,0x2c,0x01,0x0a,0x94,0x7c,0x08,0x38,0x08,0x14,0x40,
0xcf,0x11,0x9c,0x11,0xfc,0x7c,0x08,0x3c,0x08,0x14,0x40,0x1f,0xf1,0x81,0xf7,0x7c,
0x08,0x3c,0x08,0x18,0x40,0xfc,0x03,0x44,0x02,0x94,0xa7,0x02,0xc2,0x7f,0x28,0x08,
0x06,0xc3,0x10,0x18,0x14,0x08,0x14,0x28,0x18,0xc4,0x04,0x70,0xff,0x98,0xbf,0xbb,
0x0f,0xa7,0x86,0xbb,0xff,0x24,0x08,0xf0,0x00,0xff,0xbb,0xfb,0xa7,0x8e,0x0c,0x08,
0x14,0x18,0x29,0xaf,0x00,0x00,0x95,0x0b,0x0c,0xe8,0x4f,0x44,0x84,0x44,0x0f,0xa7,
0x44,0xff,0x4f,0xf4,0x24,0x08,0x4

0x7C4E00#

0x7f,0x74,0x77,0x77,0x19,0x6a,0x15,0x04,0x12,0x38,0x14,0x40,0x8f,0x9c,0x18,
0x22,0x33,0x99,0x80,0x22,0x12,0x29,0xe9,0x0d,0xdd,0x21,0xfa,0x00,0x32,0x1c,0x77,
0xa7,0x0d,0xad,0x00,0x7f,0x8b,0x97,0x11,0xf8,0x29,0x00,0x12,0x77,0x37,0x14,0x40,
0x7f,0x00,0x20,0xc7,0x68,0x39,0x01,0xbe,0x76,0x39,0x1d,0xa7,0x11,0x44,0x01,0xdd,
0x4f,0x66,0x45,0x90,0x13,0x0c,0x40,0x21,0xff,0x6f,0x8b,0x28,0xf4,0x11,0xff,0x04,
0x13,0x36,0x14,0x40,0x00,0x13,0x14,0x01,0x29,0x40,0x49,0x08,0x1d,0x5f,0x55,0x90,
0xd8,0x12,0x0e,0x41,0x10,

7E4600#

,0x55,0x56,
0x01,0x27,0x08,0x96,0x00,0xe9,0xfb,0x19,0x82,0x01,0xeb,0x78,0x00,0x17,0x00,0x30,
0x00,0x80,0x05,0x40,0x08,0x40,0xc3,0x00,0xd0,0x80,0x21,0x32,0x43,0x75,0x01,0x01,
0x05,0xd4,0xb0,0xe0,0xcc,0x8a,0x77,0x04,0x95,0x04,0x57,0x43,0x04,0x56,0xe2,0xdd,
0x1a,0x6b,0xdd,0xac,0x89,0x05,0xbe,0x04,0x98,0x00,0x40,0x63,0xcb,0x0e,0x00,0xe0,
0xbd,0xab,0x89,0x56,0x35,0x23,0x22,0x12,0x11,0x11,0x22,0x42,0x75,0x98,0xca,0xdd,
0x05,0xd4,0xde,0xbc,0x8a,0x00,0x95,0x04,0xd4,0x23,0x7b,0x01,0xa9,0x00,0x40,0xdc,
0x16,0x

0x7EA200#

           SD_call( SD_CTL_XAKILL2 );
            ResetGraph(3);
            cold_reset_init();
            warm_reset_init();                              /* init Softwere Reset <p_init.c> */
            set_class1_func(0);                             /* CLASS1‚ð“o˜^‚·‚鎞‚̊֐”Žw’è */
            clr_local_func();                               /* 1999.09.30 ouban */
        }
#endif

#if !WRITE_CD
        FntPrint(buff);
        FntFlush(-1);
#endif

    }
}





x08,0x3f,0x1d,0x28,0xce,
0xe6,0xbc,0x04,0x42,0xb0,0xcd,0xcb,0x07,0x55,0x24,0x41,0x15,0x1f,0x57,0x01,0x61,
0x08,0x84,0x01,0x66,0xba,0x0c,0x3f,0xed,0x19,0xa7,0xce,0xf6,0xab,0x02,0xf4,0x00,
0xc4,0xbc,0x87,0x34,0x3f,0x21,0x60,0x0d,0xa3,0x47,0x04,0x3e,0x0c,0x3f,0x21,0xa7,
0xe0,0xcd,0xab,0x01,0x1f,0x98,0xf6,0xba,0x0d,0x52,0x30,0x81,0xde,0x05,0x1d,0x01,
0x5f,0x1c,0x01,0x09,0x2a,0xfb,0x29,0xa7,0x60,0x01,0xd0,0x00,0x41,0x05,0xa1,0x15,
0xe4,0x0d,0xa6,0x31,0xa7,0xff,0x64,0x06,0x09,0xa0,0x08,0x42,0x10,0x01,0x00,0x3e,
0x01,0x69,0x06,0x3d,0x7c,0x01,0xbf,0x04,0x81,0x00,0x41,0x00,0x83,0x14,0x42,0x00,
0x3e,0x02,0x24,0xee,0x23,0xa4,0xfd,0x74,0x02,0xde,0x00,0x41,0x08,0x42,0x10,0x01,
0x05,0xa9,0x27,0x64,0x78,0x01,0x66,0xce,0x19,0xe0,0x11,0xe7,0xde,0xcc,0x7c,0x3f,
0x28,0x41,0xcb,0x33,0x08,0x75,0x14,0x3e,0xcd,0xcb,0x7c,0x3f,0x32,0x06,0xab,0xba,
0x63,0x08,0xf9,0x05,0x49,0xbc,0xaa,0xeb,0x7c,0x31,0x38,0x83,0xbe,0x32,0x9a,0x13,
0x41,0x99,0xba,0x7c,0x7d,0x4c,0x84,0xcd,0xbb,0xf8,0xaa,0xba,0xcb,0x2f,0x1f,0x7c,
0x01,0x7c,0x01

0x7EE200#

x40,0x00,
0x44,0xc4,0x33,0x53,0x33,0x11,0x88,0x78,0x77,0x22,0x87,0x87,0x48,0xdb,0x21,0x00,
0x40,0xbd,0x47,0xb7,0x77,0x20,0x40,0x21,0x64,0x9b,0x8d,0x1c,0x01,0x67,0x07,0xc9,
0x0c,0x80,0xa5,0x5a,0x14,0x40,0x01,0x80,0x11,0x22,0x22,0x48,0x2a,0x87,0x48,0x91,
0x04,0x80,0xcb,0xbd,0x87,0x24,0x40,0x10,0x54,0x03,0x64,0x52,0xf7,0x0a,0x76,0xfd,
0x67,0x07,0x6f,0x46,0x0c,0x80,0x11,0xba,0x51,0x04,0x40,0x16,0x0c,0x40,0xc8,0x13,
0x11,0x42,0x88,0x88,0x29,0x77,0x48,0x42,0xdb,0xcd,0xbc,0xcb,0xbb,0x47,0xbb,0x20,
0x40,0x31,0x00,0xdd,0x88,0xf6,0xad,0x89,0x07,0x68,0xa9,0xfd,0x56,0x00,0xea,0x9c,
0x65,0x85,0x44,0x40,0xc1,0x22,0x88,0x48,0x22,0x77,0x87,0x82,0xc7,0xcc,0x00,0x40,
0x4b,0xbb,0x1d,0x00,0x40,0x10,0x43,0x44,0x44,0x54,0xaf,0x0b,0xa7,0x88,0x88,0x88,
0xa8,0x57,0x01,0x46,0x54,0x87,0x08,0x08,0x80,0x06,0xa1,0x05,0x00,0x1c,0x40,0x82,
0x48,0x29,0x8b,0x88,0x32,0x44,0x08,0x40,0x47,0xb7,0x20,0x40,0x00,0xdd,0x74,0x8a,
0x16,0x88,0x04,0x33,0x00,0x76,0x4a,0x9d,0x43,0x8f,0x88,0x15,0x0a,0x6d,0xa3,0x14,
0x40,0x16,0x04,0x80,0x24,0x42,0x28,0x10,0x2a,0x77,0x88,0x48,0x05,0x00,0xbb,0x27,
0xb7,0x04,0x7b,0x87,0x18,0x40,0x22,0x22,0x22,0xf3,0x88,0x4b,0x04,0x32,0x06,0x16,
0x30,0x9d,0x32,0x8d,0x04,0x40,0x66,0x5f,0x08,0x40,0x03,0x09,0x09,0x80,0xc1,0x15,
0x11,0x44,0x44,0x28,0x22,0x78,0x87,0x42,0x08,0x40,0x48,0x20,0x40,0x50,0x17,0x07,
0xa2,0x14,0x7f,0x0b,0x40,0x42,0x0c,0x40,0x31,0xa3,0xaa,0x04,0x5a,0x55,0x8e,0x31,
0x35,0x66,0x66,0x55,0xe7,0x04,0xc0,0xc6,0x84,0x48,0x22,0xb7,0x87,0x44,0xcb,0xcc,
0xbb,0xdb,0xbb,0x48,0xbb,0x77,0x18,0x80,0x00,0x00

0x80E400#

.byte  0
    .byte   226
    .byte   4
    .byte   8
    .byte   64
    .byte   140
    .byte   0
    .byte   245
    .byte   15
    .byte   0
    .byte   145
    .byte   74
    .byte   153
    .byte   144
    .byte   25
    .byte   28
    .byte   64
    .byte   191
    .byte   34
    .byte   144
    .byte   236
    .byte   87
    .byte   0
    .byte   64
    .byte   4
    .byte   56
    .byte   3
    .byte   132
    .byte   17
    .byte   160
    .byte   207
    .byte   6
    .byte   254
    .byte   39
    .byte   72
    .byte   34
    .byte   66
    .byte   223
    .byte   4
    .byte   140
    .byte   144
    .byte   13
    .byte   15
    .byte   99
    .byte   247
    .byte   232
    .byte   7
    .byte   0
    .byte   248
    .byte   32
    .byte   161
    .byte   240
    .byte   6
    .byte   229
    .byte   0
    .byte   64
    .byte   4
    .byte   175
    .byte   9
    .byte   0
    .byte   91
    .byte   136
    .byte   51
    .byte   144
    .byte   136
    .byte   0
    .byte   0
    .byte   99
    .byte   10
    .byte   102
    .byte   128
    .byte   166
    .byte   3
    .byte   144
    .byte   211
    .byte   223
    .byte   159
    .byte   0
    .byte   20
    .byte   225
    .byte   13
    .byte   16
    .byte   143
    .byte   255
    .byte   139
    .byte   218
    .byte   2
    .byte   32
    .byte   96
    .byte   0
    .byte   64
    .byte   19

0x812600#

                       /* Vol.2用に修正 99/10/13 Hosogai */
                            switch(j){
                                case R_MOMO+1:/*    右足  */
                                case R_SUNE+1:
                                case R_ASHI+1:
                                case R_KATA+1:/*    右腕  */
                                case R_UDE+1:
                                case R_UDE2+1:
                                    opdr+=3;
                                    break;

                                case L_MOMO+1:/*    左足  */
                                case L_SUNE+1:
                                case L_ASHI+1:
                                case L_KATA+1:/*    左腕  */
                                case L_UDE+1:
                                case L_UDE2+1:
                                    opdr-=3;
                                    break;
                            }
                        }else{
                            if ( i == PARTS_RH

0x816600#

t ( cls, cls->anime_no, cls->pose );
    cls->xposi = px;
    cls->yposi = py;
    cls->zposi = pz;
    setVector( &cls->rot , 0, rot_y, 0 );

    /* 例外処理 1999/12/03 satou*/
    if ((sp->stage_no == 5) && (side == 1) && STEPW == GAME_STEP )      /* スプレイヒッター */
    {
        exceptionflg=1; /* エディットキャラ扱い */
        ged_height[1]=80;   /* ミニ金剛君身長 */
//      ged_fat[1]=0;           /* ミニ金剛君体重 */
    }

        /*身長を元にスケールを設定する*/
    if ( (STEPW == GAME_STEP || STEPW == ENDING_STEP) && !(sp->ModSel.mode==3 &&

0x81DE00#

    .byte   0
    .byte   0
    .byte   16
    .byte   17
    .byte   17
    .byte   1
    .byte   133
    .byte   144
    .byte   255
    .byte   135
    .byte   182
    .byte   16
    .byte   16
    .byte   150
    .byte   16
    .byte   25
    .byte   0
    .byte   33
    .byte   12
    .byte   31
    .byte   28
    .byte   25
    .byte   33
    .byte   36
    .byte   32
    .byte   161
    .byte   255
    .byte   255
    .byte   26
    .byte   8
    .byte   32
    .byte   250
    .byte   31
    .byte   83
    .byte   8
    .byte   71
    .byte   16
    .byte   16
    .byte   16
    .byte   250
    .byte   135
    .byte   175
    .byte   8
    .byte   64
    .byte   161
    .byte   14

0x822600#

FadeOut( 32, 0 ) ){
                for( i=0; i<6; i++ ){
                    spr[i].attribute = (1<<24)|(1<<27);
                    spr[i].x = -192+128*(i/2);
                    spr[i].y = -120+128*(i%2);
                    spr[i].w = 128;
                    spr[i].h = 128;
                    spr[i].tpage = 13+i/2;
                    spr[i].u = 0;
                    spr[i].v = 128*(i%2);
                    spr[i].cx = 0;
                    spr[i].cy = 480;
                    spr[i].r = spr[i].g = spr[i].b = 128;
                }
                sstep_up();
            }
            break;
        case 4:
            for( i=0; i<6; i++ )
                GsSortFastSprite(&spr[i],&SepOT[0].ot[sp->active_side],10);
            if

0x82A400#

Callback
 800D1528  DecDCToutSync
 800D0EAC  DecDCTvlc2
 800D11FC  DecDCTvlcBuild
 800D0E7C  DecDCTvlcSize2
 801FA5A8  Dec_Buff
 800C22A8  DefaultSet
 8001B5F0  Default_Set
 800A2588  DelG2dPerfect06
 8009E568  DelG2dRepPlate00
 800A44CC  DelG2dSt06DispIharaPlate
 8009B96C  DelG2fRepPlate01
 80096FF8  DelG2fRepPlate02
 800973C4  DelG2fRepPlate03
 8009E108  DelG2fRepPlate04
 80099688  DelG2fRepPlate05
 800A35D0  DelG2fRepPlate06
 80098D58  DelG2fRepPlate07
 800996E8  DelG2fRepPlate08
 8001DDB8  DelOpd
 800C29B4  DelTTLAction
 800310E0  DeliverEvent
 800137EC  Demo
 80035818  DisableEvent
 8003A4CC  DisablePAD
 80027750  DpqColor3
 80027728  DpqColorLight
 80023CE0  DrawOTag
 80026154  DrawOTag2
 80023E10  DrawOTagEnv
 80023C84  DrawPrim
 800236EC  DrawSync
 800235F4  DrawSyncCallback
 80035884  DsDataCallback
 8003585C  DsReadyCallback
 80035870  DsStartCallback
 80035848  DsSyncCallback
 8003F38C  EF_S_00_p
 8003F3A0  EF_S_01_p
 8003F3B4  EF_S_02_p
 8003F3DC  EF_S_03_p

0x832C00#

 pn, &p->man_pos[pn], &p->man_mot[pn] );

    // 差分フレームの復帰
    op = p++;
    for ( cnt = replay_w.count_max - 1; cnt > 0; cnt--, op = p++, arc+=2 )
    {
        // 人の復元
        for ( pn = 0; pn < 2; pn++ )
        {
            run = &bfw.running[pn];
            man = &s->classw[CLS_HUMAN+pn];
            // 位置と回転とモーションと反転
            r = ( (arc[pn]&0x3ff) - 384 );              // 回転
            v = ( (arc[pn]>>10)&0x7f ) * 4;             // 移動距離
            run->vel.vx = v;
            run->vel.vy = r;
            p->man_mot[pn].anime_no = man->anime_no = (arc[pn]>>23)&0x1f;
            p->man_mot[pn].pose     = man->pose     = (arc[pn]>>17)&0x3f;
            p->man_mot[pn].hdir     = man->hdir     = (arc[pn]>>28)&0x01;
            if ( man->anime_no == MOT_017 )
                run->state = RUN_STATE_RUN;

            PlayerMove( run, &vec[pn] );

            man->xposi = run->pos.vx;
            man->yposi = run->pos.vy;
            man->zposi = run->pos.vz;
            man->rot.vy = vec[pn].vy + run->vel.vy;

            p->man_pos[pn].vx  = vx = op->man_pos[pn].vx + dx[pn];
            p->man_pos[pn].vz  = vz = op->man_pos[pn].vz + dz[pn];
            p->man_pos[pn].

0x837A00#

f,0xf1,0x91,0x87,0x73,0xa3,0x10,0x10,0x00,
0x00,0xb3,0x10,0x14,0x02,0xd8,0x1b,0x43,0x9e,0x38,0x41,0x1f,0xb1,0x1b,0xf1,0xb3,
0x11,0x8f,0x10,0x40,0xa1,0x04,0x14,0x14,0x40,0xf1,0xff,0xff,0x04,0x5c,0x85,0x00,
0x40,0x11,0x44,0x40,0x2f,0xf2,0xff,0xff,0x83,0xf9,0x91,0x22,0x2b,0x89,0x9c,0xbb,
0xb1,0x04,0x1c,0xd1,0x93,0x22,0x22,0x0f,0x0c,0x0e,0xf0,0xae,0x38,0x40,0x30,0x3f,
0xf3,0xff,0xff,0x83,0x91,0xb3,0x33,0xc6,0xf3,0x9c,0x82,0x33,0x33,0xfb,0xbf,0x8a,
0x3b,0xae,0xaf,0x0f,0x04,0x14,0x08,0x2b,0x40,0x40,0x4f,0xb4,0xc4,0x4b,0xf4,0xb3,
0xf4,0x44,0xf4,0x8c,0xa2,0xf3,0x91,0xbf,0xff,0xff,0x1c,0x04,0x00,0x19,0x00,0x2b,
0xa4,0x7f,0x39,0x40,0x00,0x70,0xa3,0x08,0x72,0xb2,0x81,0xbf,0x33,0xfc,0x33,0xf3,
0x18,0x04,0x08,0x8e,0x4c,0x80,0x25,0xc0,0x05,0xb1,0x1d,0xc0,0x07,0x2c,0x01,0x55,
0xc0,0xff,};
static unsigned char tim_g_04b[] = {
0xa6,0x00,0x7c,0x01,0x18,0x01,0xe0,0xee,0xb0,0x0e,0x7c,0x2a,0x41,0x44,0x0e,0xee,
0xee,0xbc,0x89,0x88,0x90,0x98,0x18,0xcb,0xee,0xee,0x7c,0x2e,0x38,0x3e,0xce,0x9b,
0x78,0x08,0x56,0x45,0x44,0x90,0x54,0x65,0x87,0xb9,0x06,0xec,0x7c,0x42,0x28,0x15,
0xa0,0xce,0x9b,0x68,0x45,0x14,0x44,0x04,0x88,0x70,0x9c,0x40,0x44,0x54,0x30,0x86,
0xb9,0xec,0x0a,0x7c,0x36,0x20,0x3f,0x8b,0x56,0x8a,0x44,0xb9,0x80,0x0c,0x11,0x44,
0x65,0xb8,0x7c,0x41,0x39,0x20,0x3f,0x68,0x45,0x00,0x7c,0xba,0x10,0x13,0x40,0x54,
0xee,0x86,0x7c,0x41,0x20,0x3f,0x14,0x26,0xc0,0x18,0x16,0x7c,0x41,0x14,0x1a,0x18,
0xea,0x7a,0x46,0x1d,0xc3,0x1c,0x2f,0x64,0xa7,0xae,0x95,0x00,0x3c,0xff,0x28,0x01,
0x0f,0x44,0x7f,0xae,0x56,0x10,0xbd,0x51,0x2c,0

0x83BA00#

ODE _dr[2];                        // 文字描画環境への変更用プリミティブ
static u_char _u0;                              // Uの端
static u_char _v0[N_V0];                    // Vのテーブル
static u_short _clut[2][N_CLUT];    // CLUTのテーブル

// 文字色
static u_long _col[N_COL] = {
    // 黒、     赤、        緑、        黄、        青、        紫、        シアン、    白、
    0x00000000, 0x00000080, 0x00008000, 0x00008080, 0x00800000, 0x00800080, 0x00808000, 0x00808080,
    // 白、     白、        白、        白、        白、        白、        白、        白、
    0x00808080, 0x00808080, 0x00808080, 0x00808080, 0x00808080, 0x00808080, 0x00808080, 0x00808080,
};




void DfntLoad( short vx, short vy )
{
    int i, n;
#if USE_SIZE == SIZE_16x8
    SPRT *sp;
#else
    SPRT_8 *sp;
#endif

    vx &= 0x3fe;        // 補正

    // CLUT位置のテーブルを作成
    for ( i = 0; i < 2; i++ )
        for ( n = 0; n < N_CLUT; n++ )
            _clut[i][n] = getClut( vx, vy+CLUT_OFSY+N_LAYER*i+n/(12/N_LAYER) );

    // uvのテーブルを作成
    _u0 = ( vx % 64 ) * 4;
    for ( n = 0; n < N_V0; n++ )
        _v0[n] = vy%256 + SIZE_H * ( n % (12/N_LAYER) );

    // colのcd部を追加
    for ( n = 0; n < N_COL; n++ )
#if USE_SIZE == SIZE_16x8
        _col[n] |= 0x64000000;
#else
        _col[n] |= 0x74000000;
#endif

    // DR_MODE, SPRT(_8)の初期化
    for ( i = 0; i < 2; i++ )
    {
        setRECT( &_trect, 0, 0, 255, 255 );
        SetDrawMode( &_dr[i], 0, 0, getTPage( 0, 0, vx, vy ), &_trect );
        termPrim( &_dr[i] );

        for ( n = 0, sp = _sp[i]; n < D_FONT_MAX; n++, sp++ )
        {
#if USE_SIZE == SIZE_16x8
            setSprt( sp );
            sp->w = 8

0x856400#

u_wk[0];
            spd[69].xsize = 0x00;
            spd[70].xsize = 0x00;
            spd[71].xsize = 0x00;
        }
        else if( u_wk[0] <= 0x10 ) {
            spd[64].xsize = 0x08;
            spd[65].xsize = u_wk[0]-0x08;
            spd[66].xsize = 0x00;
            spd[67].xsize = 0x00;
            spd[68].xsize = 0x08;
            spd[69].xsize = u_wk[0]-0x08;
            spd[70].xsize = 0x00;
            spd[71].xsize = 0x00;
        }
        else if( u_wk[0] <= 0x18 ) {
            spd[64].xsize = 0x08;
            spd[65].xsize = 0x08;
            spd[66].xsize = u_wk[0]-0x10;
            spd[67].xsize = 0x00;
            spd[68].xsize = 0x08;
            spd[69].xsize = 0x08;
            spd[70].xsize = u_wk[0]-0x10;
            spd[71].xsize = 0x00;
        }
        else {
            spd[64].xsize = 0x08;
            spd[65].xsize = 0x08;
            spd[66].xsize = 0x08;
            spd[67].xsize = u_wk[0]-0x18;
            spd[68].xsize = 0x08;
            spd[69].xsize = 0x08;
            spd[70].xsize = 0x08;
            spd[71].xsize = u_wk[0]-0x18;
        }
        if( u_wk[0] == PH5_8 ) {
            u_wk[0] = 0;
            u_wk[1]++;
        }
        else {
            spd[63].ccode = DAT;
            spd[71].ccode = END;
        }
        break;
    case    6:  //  フェーズ6
        u_wk[0]+

0x85DC00#

0
    .byte   8
    .byte   226
    .byte   8
    .byte   168
    .byte   96
    .byte   20
    .byte   239
    .byte   223
    .byte   7
    .byte   219
    .byte   251
    .byte   0
    .byte   116
    .byte   160
    .byte   55
    .byte   51
    .byte   33
    .byte   149
    .byte   223
    .byte   0
    .byte   0
    .byte   204
    .byte   8
    .byte   24
    .byte   43
    .byte   0
    .byte   2
    .byte   144
    .byte   4
    .byte   64
    .byte   194
    .byte   207
    .byte   203
    .byte   155
    .byte   3
    .byte   0
    .byte   38
    .byte   249
    .byte   4
    .byte   37
    .byte   3
    .byte   192
    .byte   0
    .byte   205
    .byte   147
    .byte   203
    .byte   189
    .byte   137
    .byte   0
    .byte   50
    .byte   160
    .byte   46
    .byte   8
    .byte   188
    .byte   251
    .byte   3
    .byte   145
    .byte   7
    .byte   69
    .byte   88
    .byte   238
    .byte   0
    .byte   252
    .byte   4
    .byte   191
    .byte   10
    .byte   219
    .byte   96
    .byte   4
    .byte   40
    .byte   227
    .byte   5
    .byte   3
    .byte   205
    .byte   144
    .byte   1
    .byte   47
    .byte   193
    .byte   207
    .byte   73
    .byte   19
    .byte   131
    .byte   44
    .byte   239
    .byte   1
    .byte   3
    .byte   192
    .byte   8
    .byte   64
    .byte   160
    .byte   4
    .byte   12

0x864E00#

tim_g_font02:
    .byte   126
    .byte   0
    .byte   124
    .byte   1
    .byte   124
    .byte   1
    .byte   124
    .byte   1
    .byte   124
    .byte   1
    .byte   124
    .byte   1
    .byte   92
    .byte   1
    .byte   17
    .byte   53
    .byte   164
    .byte   1
    .byte   48
    .byte   21
    .byte   32
    .byte   52
    .byte   17
    .byte   76
    .byte   12
    .byte   32
    .byte   109
    .byte   69
    .byte   131
    .byte   111
    .byte   151
    .byte   128
    .byte   191
    .byte   3
    .byte   191
    .byte   148
    .byte   74
    .byte   153
    .byte   144
    .byte   6
    .byte   152
    .byte   243
    .byte   7
    .byte   8
    .byte

0x86DE00#

    .byte   136
    .byte   160
    .byte   32
    .byte   47
    .byte   240
    .byte   11
    .byte   247
    .byte   10
    .byte   0
    .byte   86
    .byte   144
    .byte   255
    .byte   228
    .byte   255
    .byte   9
    .byte   12
    .byte   64
    .byte   211
    .byte   175
    .byte   12
    .byte   187
    .byte   4
    .byte   64
    .byte   4
    .byte   59
    .byte   101
    .byte   0
    .byte   144
    .byte   8
    .byte   32
    .byte   64
    .byte   64
    .byte   223
    .byte   4
    .byte   46
    .byte   0
    .byte   211
    .byte   0
    .byte   130
    .byte   160
    .byte   0
    .byte   183
    .byte   247
    .byte   8
    .byte   240
    .byte

0x877400#

35
    .byte   14
    .byte   29
    .byte   124
    .byte   1
    .byte   68
    .byte   95
    .byte   48
    .byte   16
    .byte   85
    .byte   0
    .byte   32
    .byte   51
    .byte   160
    .byte   2
    .byte   159
    .byte   0
    .byte   8
    .byte   0
    .byte   249
    .byte   0
    .byte   132
    .byte   48
    .byte   63
    .byte   0
    .byte   144
    .byte   119
    .byte   9
    .byte   115
    .byte   202
    .byte   0
    .byte   245
    .byte   249
    .byte   255
    .byte   183
    .byte   255
    .byte   91
    .byte   0
    .byte   80
    .byte   254
    .byte   255
    .byte   10
    .byte   80
    .byte   159
    .byte   255
    .byte   127
    .byte   251
    .byte   191
    .byte   34
    .byte   52
    .byte   221
    .byte   144
    .byte   193
    .byte   109
    .byte   0
    .byte   0
    .byte   190
    .byte   0
    .byte   48
    .byte   238
    .byte   0
    .byte   96
    .byte   1
    .byte   134
    .byte   238
    .byte   132
    .byte   238
    .byte   6
    .byte   8
    .byte   64
    .byte   243
    .byte   3
    .byte   112
    .byte   127
    .byte   148
    .byte   7
    .byte   12
    .byte   64
    .byte   200
    .byte   127
    .byte   146
    .byte   191
    .byte   0
    .byte   187
    .byte   0
    .byte   244
    .byte   12
    .byte   112
    .byte   79
    .byte   80
    .byte   255
    .byte   39

0x885C00#

    .byte   144
    .byte   228
    .byte   255
    .byte   10
    .byte   4
    .byte   240
    .byte   144
    .byte   95
    .byte   45
    .byte   8
    .byte   11
    .byte   184
    .byte   36
    .byte   64
    .byte   0
    .byte   251
    .byte   12
    .byte   242
    .byte   2
    .byte   234
    .byte   255
    .byte   157
    .byte   117
    .byte   7
    .byte   3
    .byte   222
    .byte   193
    .byte   7
    .byte   102
    .byte   150
    .byte   159
    .byte   102
    .byte   102
    .byte   252
    .byte   103
    .byte   102
    .byte   0
    .byte   216
    .byte   5
    .byte   246
    .byte   174
    .byte   223
    .byte   5
    .byte   207
    .byte   4
    .byte   64
    .byte   7
    .byte   109
    .byte   24
    .byte   63
    .byte   15
    .byte   56
    .byte   0
    .byte   176
    .byte   12
    .byte   104
    .byte   8
    .byte   192
    .byte   67
    .byte   194
    .byte   127
    .byte   31
    .byte   245
    .byte   2
    .byte   0
    .byte   243
    .byte   7
    .byte   112
    .byte   47
    .byte   16
    .byte   7
    .byte   99
    .byte   221
    .byte   0
    .byte   80
    .byte   175
    .byte   0
    .byte   118
    .byte   242
    .byte   64
    .byte   48
    .byte   251
    .byte   125
    .byte   42
    .byte   80
    .byte   188
    .byte   56
    .byte   64
    .byte   251
    .byte   21
    .byte   4

0x88CC00#

te 95
    .byte   220
    .byte   197
    .byte   176
    .byte   218
    .byte   12
    .byte   36
    .byte   135
    .byte   136
    .byte   153
    .byte   12
    .byte   28
    .byte   191
    .byte   39
    .byte   52
    .byte   64
    .byte   97
    .byte   0
    .byte   60
    .byte   64
    .byte   231
    .byte   238
    .byte   144
    .byte   190
    .byte   56
    .byte   177
    .byte   4
    .byte   24
    .byte   192
    .byte   238
    .byte   206
    .byte   119
    .byte   128
    .byte   8
    .byte   64
    .byte   34
    .byte   56
    .byte   64
    .byte   8
    .byte   238
    .byte   238
    .byte   8
    .byte   0
    .byte   64
    .byte   248
    .byte   255
    .byte   255
    .byte   8
    .byte   131
    .byte   95
    .byte   220
    .byte   92
    .byte   64
    .byte   4
    .byte   148
    .byte   238
    .byte   238
    .byte   126
    .byte   0
    .byte   64
    .byte   48
    .byte   254
    .byte   255
    .byte   255
    .byte   14
    .byte   124
    .byte   128
    .byte   64
    .byte   64
    .byte   64
    .byte   238
    .byte   64
    .byte   238
    .byte   174
    .byte   0
    .byte   0
    .byte   176
    .byte   255
    .byte   128
    .byte   191
    .byte   11
    .byte   114
    .byte   128
    .byte   8
    .byte   192
    .byte   51
    .byte   76
    .byte   128
    .byte   246
    .byte   255
    .b

0x893200#

169
    .byte   169
    .byte   186
    .byte   186
    .byte   187
    .byte   203
    .byte   203
    .byte   204
    .byte   205
    .byte   24
    .byte   140
    .byte   1
    .byte   58
    .byte   255
    .byte   21
    .byte   123
    .byte   6
    .byte   192
    .byte   24
    .byte   63
    .byte   42
    .byte   192
    .byte   88
    .byte   192
    .byte   11
    .byte   127
    .byte   127
    .byte   64
    .byte   96
    .byte   64
    .byte   140
    .byte   221
    .byte   43
    .byte   127
    .byte   192
    .byte   104
    .byte   64
    .byte   221
    .byte   54
    .byte   51
    .byte   88
    .byte   64
    .byte   132
    .byte   221
    .byte   138
    .byte   16
    .byte   192
    .byte   157
    .byte   68
    .byte   68
    .byte   148
    .byte   84
    .byte   64
    .byte   168
    .byte   61
    .byte   51
    .byte   195
    .byte   88
    .byte   64
    .byte   141
    .byte   16
    .byte   64
    .byte   109
    .byte   74
    .byte   128
    .byte   253
    .byte   20
    .byte   64
    .byte   99
    .byte   69
    .byte   250
    .byte   40
    .byte   64
    .byte   100
    .byte   128
    .byte   2
    .byte   220
    .byte   9
    .byte   192
    .byte   64
    .byte   127
    .byte   199
    .byte   20
    .byte   192
    .byte   75
    .byte   192
    .byte   32
    .byte   64
    .byte   68
    .byte   182
    .byte   237
    .byte   68
    .byte   126
    .byte   25
    .byte   64
    .byte   14
    .byte   136
    .byte   70
    .byte   253
    .byte   21
    .byte   0
    .byte   0
    .byte   63
    .byte   68
    .byte   68
    .byte   150
    .byte   219
    .byte   55
    .byte   68
    .byte   63
    .byte   21
    .byte   192
    .byte   18
    .byte   128
    .byte   136
    .byte   26
    .byte   93
    .byte   176
    .byte   103
    .byte   102
    .byte   244
    .byte   86
    .byte   85
    .byte   28
    .byte   1
    .byte   102
    .byte   128
    .byte   26
    .byte   61
    .byte   20
    .byte   48
    .byte   18
    .byte   64
    .byte   124
    .byte   199
    .b

0x897C00#

te 97
    .byte   0
    .byte   107
    .byte   252
    .byte   143
    .byte   136
    .byte   144
    .byte   17
    .byte   16
    .byte   244
    .byte   241
    .byte   134
    .byte   167
    .byte   27
    .byte   16
    .byte   64
    .byte   171
    .byte   160
    .byte   24
    .byte   64
    .byte   162
    .byte   193
    .byte   8
    .byte   19
    .byte   27
    .byte   17
    .byte   129
    .byte   8
    .byte   26
    .byte   216
    .byte   12
    .byte   64
    .byte   33
    .byte   0
    .byte   192
    .byte   16
    .byte   250
    .byte   127
    .byte   119
    .byte   128
    .byte   151
    .byte   1
    .byte   36
    .byte   0
    .byte   241
    .byte   167
    .byte   119
    .byte   24
    .byte   16
    .byte   192
    .byte   119
    .byte   151
    .byte   28
    .byte   91
    .byte   117
    .byte   175
    .byte   28
    .byte   64
    .byte   9
    .byte   161
    .byte   18
    .byte   16
    .byte   97
    .byte   138
    .byte   118
    .byte   4
    .byte   23
    .byte   55
    .byte   25
    .byte   169
    .byte   16
    .byte   246
    .byte   102
    .byte   144
    .byte   42
    .byte   166
    .byte   0
    .byte   64
    .byte   111
    .byte   168
    .byte   22
    .byte   13
    .byte   64
    .byte   127
    .byte   185
    .byte   156
    .byte   35
    .byte   243
    .byte   191
    .byte   29
    .b

0x89CA00#

   .byte   47
    .byte   208
    .byte   28
    .byte   48
    .byte   48
    .byte   15
    .byte   124
    .byte   1
    .byte   124
    .byte   1
    .byte   124
    .byte   1
    .byte   124
    .byte   1
    .byte   255
    .byte   124
    .byte   1
    .byte   124
    .byte   1
    .byte   124
    .byte   1
    .byte   124
    .byte   1
    .byte   124
    .byte   1
    .byte   124
    .byte   1
    .byte   124
    .byte   1
    .byte   124
    .byte   1
    .byte   191
    .byte   124
    .byte   1
    .byte   124
    .byte   1
    .byte   124
    .byte   1
    .byte   124
    .byte   1
    .byte   124
    .byte   1
    .byte   92
    .byte   8
    .byte   240
    .byte   3
    .byte   109
    .byte   247
    .byte   12
    .byte   1
    .byte   28
    .byte   10
    .byte   44
    .byte   1
    .byte   15
    .byte   4
    .byte   39
    .byte   44
    .byte   19
    .byte   12
    .byte   15
    .byte   8
    .byte   25
    .byte   72
    .byte   240
    .byte   205
    .byte   204
    .byte   12
    .byte   1
    .byte   254
    .byte   255
    .byte   20
    .byte   10
    .byte   253
    .byte   42
    .byte   206
    .byte   16
    .byte   9
    .byte   220
    .byte   4
    .byte   19
    .byte   253
    .byte   4
    .byte   64
    .byte   240
    .byte   207
    .byte   163
    .byte   20
    .byte   18
    .byte   4
    .byte   24
    .byte   252
    .byte   255
    .byte   191
    .byte   149
    .byte   236
    .byte   12
    .byte   64
    .byte   164
    .byte   110
    .byte   102
    .byte   12
    .byte   1
    .byte   199
    .byte   254
    .byte   137
    .byte   101
    .byte   3
    .byte   197
    .byte   32
    .byte   84
    .byte   68
    .byte   254
    .byte   78
    .byte   51
    .byte   128
    .byte   34
    .byte   34
    .byte   96
    .byte   17
    .byte   17
    .byte   131
    .byte   254
    .byte   30
    .byte   132
    .byte   8
    .byte   64
    .byte   255
    .byte   136
    .byte   90
    .byte   68
    .byte   68
    .byte   7
    .byte   211
    .byte   118
    .byte   252
    .byte   158
    .

0x8A0600#

----------------- */
void effect_Shadow(CLASS_W *cls, short rad, short ypos, int mode)
{
    SVECTOR vec[4];
    short x,z,p;

//  x = cls->xposi;
//  z = cls->zposi;
//  x = cls->DWorld.workm.t[0];
//  z = cls->DWorld.workm.t[2];
    x = cls->obj3D_w[0].pCoordSect[1].workm.t[0];
    z = cls->obj3D_w[0].pCoordSect[1].workm.t[2];

    vec[0].vy = vec[1].vy = vec[2].vy = vec[3].vy = ypos;

    if (mode == 0){
        vec[0].vx = vec[2].vx = x - rad;
        vec[1].vx = vec[3].vx = x + rad;
        vec[0].vz = vec[1].vz = z - rad;

0x8A4E00#

    .byte   176
    .byte   70
    .byte   51
    .byte   0
    .byte   240
    .byte   98
    .byte   19
    .byte   52
    .byte   127
    .byte   136
    .byte   85
    .byte   102
    .byte   124
    .byte   1
    .byte   16
    .byte   1
    .byte   85
    .byte   100
    .byte   0
    .byte   107
    .byte   56
    .byte   127
    .byte   136
    .byte   119
    .byte   124
    .byte   56
    .byte   20
    .byte   1
    .byte   119
    .byte   200
    .byte   208
    .byte   25
    .byte   131
    .byte   56
    .byte   64
    .byte   153
    .byte   103
    .byte   124
    .byte   1
    .byte   16
    .byte   1
    .byte   16
    .byte   153
    .byte   192
    .byte   36
    

0x8A7400#

.byte  106
    .byte   103
    .byte   196
    .byte   184
    .byte   85
    .byte   138
    .byte   184
    .byte   138
    .byte   86
    .byte   16
    .byte   31
    .byte   0
    .byte   192
    .byte   185
    .byte   22
    .byte   96
    .byte   197
    .byte   89
    .byte   20
    .byte   11
    .byte   8
    .byte   64
    .byte   16
    .byte   12
    .byte   37
    .byte   16
    .byte   128
    .byte   56
    .byte   85
    .byte   85
    .byte   149
    .byte   4
    .byte   64
    .byte   20
    .byte   23
    .byte   20
    .byte   43
    .byte   17
    .byte   138
    .byte   48
    .byte   204
    .byte   204
    .byte   140
    .byte   68
    .byte   128
    .byte   2
    .byte   131
    .byte   44
    .byte   72
    .byte   41
    .byte   134
    .byte   84
    .byte   69
    .byte   155
    .byte   101
    .byte   4
    .byte   128
    .byte   163
    .byte   60
    .byte   177
    .byte   9
    .byte   225
    .byte   51
    .byte   19
    .byte   97
    .byte   4
    .byte   19
    .byte   160
    .byte   132
    .byte   8
    .byte   64
    .byte   59
    .byte   16
    .byte   13
    .byte   20
    .byte   1
    .byte   17
    .byte   2
    .byte   5
    .byte   193
    .byte   131
    .byte   244
    .byte   255
    .byte   255
    .byte   38
    .byte   50
    .byte   51
    .byte   35
    .byte   70
    .byte   134
    .byte   143
    

0x8AE600#

yte    17
    .byte   11
    .byte   1
    .byte   21
    .byte   24
    .byte   1
    .byte   20
    .byte   15
    .byte   168
    .byte   86
    .byte   68
    .byte   68
    .byte   84
    .byte   228
    .byte   17
    .byte   129
    .byte   0
    .byte   29
    .byte   18
    .byte   92
    .byte   16
    .byte   191
    .byte   8
    .byte   64
    .byte   5
    .byte   129
    .byte   27
    .byte   2
    .byte   161
    .byte   1
    .byte   24
    .byte   197
    .byte   14
    .byte   64
    .byte   5
    .byte   40
    .byte   17
    .byte   51
    .byte   34
    .byte   245
    .byte   128
    .byte   91
    .byte   1
    .byte   73
    .byte   43
    .byte   151
    .byte   7

0x8B2200#

>box.attribute = 0;
    if ( bfw.dist.state != DIST_IDLE )
    {
        // 1P & 2P Ragne
        for ( pn = 0; pn < 2; pn++ )
        {
            r = &bfw.running[pn];
            w->box.x = x + ( DIST_PW * r->tech ) / GET_TIMING_MAX + 1;
            w->box.w = ( DIST_PW * (GET_TIMING_BEST_END-r->tech) ) / GET_TIMING_MAX + 1;
            w->box.y = y-4 + 6*pn;
            w->box.h = 2;
            w->box.r = ( pn == 0 ? 255 : 0 );
            w->box.g = 0;
            w->box.b = ( pn == 1 ? 255 : 0 );
            GsSortBoxFill( &w->box, &SepOT[0].ot[ACTIVE_SIDE], CLS0_OTZ_1 );
        }
        // Bar Back (Translucent)
        w->box.attribute = GsALON|GsAZERO;
        w->box.x = x+1;
        w->box.w = DIST_PW+3;
        w->box.y = y-4;
        w->box.h = 8;
        w->box.r = w->box.g = w->box.b = 0;
        GsSortBoxFill( &w->box, &SepOT[0].ot[ACTIVE_SIDE], CLS0_OTZ_2 );
        // Timer
        if ( PAUSE_FLAG != PAUSE_STEP )
            bfw.dist.time++;
    }

    // 連射速度ゲージ関連
    if ( bfw.rensp.state != RNSH_IDLE )
    {
        // 1P & 2P Rensha
        for ( pn = 0; pn < 2; pn++ )
        {
            r = &bfw.running[pn];
            x = bfw.rensp.pos[pn].vx + rnsh_px[pn];
            y = bfw.rensp.pos[pn].vy + RNSH_PY;
            // Meter
            if ( (height = (RNSH_PH*bfw.running[pn].rensha)/RNSH_SUU) > RNSH_PH )
                height = RNSH_PH;
            if ( (g0 = 255-height*3) < 0 )
                g0 = 0;
            setPolyG4( &w->pg4 );
            setXYWH( &w->pg4, x, y+(RNSH_PH-height), RNSH_PW, height );
            setRGB0( &w->pg4, 255, g0, 0 );
            setRGB1( &w->pg4, 255, g0, 0 );
            setRGB2( &w->pg4, 255, 208, 0 );
            setRGB3( &w->pg4, 255, 208, 0 );
            GsSortPoly( &w->pg4, &SepOT[0].ot[ACTIVE_SIDE], CLS0_OTZ_1 );
            // BG
        

0x8B7200#

yte    0
    .byte   64
    .byte   30
    .byte   64
    .byte   16
    .byte   64
    .byte   203
    .byte   247
    .byte   124
    .byte   119
    .byte   122
    .byte   183
    .byte   137
    .byte   152
    .byte   204
    .byte   140
    .byte   136
    .byte   203
    .byte   204
    .byte   136
    .byte   136
    .byte   204
    .byte   204
    .byte   141
    .byte   136
    .byte   205
    .byte   155
    .byte   126
    .byte   185
    .byte   5
    .byte   16
    .byte   27
    .byte   204
    .byte   0
    .byte   45
    .byte   172
    .byte   187
    .byte   136
    .byte   216
    .byte   220
    .byte   30
    .byte   136
    .byte   8
    .byte   64
    .byte   20
    .byte   1
    .byte   124
    .byte   57
    .byte   27
    .byte   65
    .byte   140
    .byte   136
    .byte   204
    .byte   208
    .byte   138
    .byte   136
    .byte   184
    .byte   140
    .byte   4
    .byte   64
    .byte   153
    .byte   24
    .byte   1
    .byte   124
    .byte   56
    .byte   247
    .byte   111
    .byte   193
    .byte   124
    .byte   56
    .byte   16
    .byte   191
    .byte   12
    .byte   44
    .byte   67
    .byte   20
    .byte   213
    .byte   124
    .byte   58
    .byte   12
    .byte   28
    .byte   146
    .byte   194
    .byte   8
    .byte   64
    .byte   44
    .byte   34
    .byte   144
    .byte   18
    .byte   204
    .byte   146
    .byte   98
    .byte   204
    .byte   4
    .byte   81
    .byte   204
    .byte   33
    .byte   34
    .byte   124
    .byte   58
    .byte   12
    .byte   28
    .byte   196
    .byte   9
    .byte   8
    .byte   64
    .byte   76
    .byte   68
    .byte   144
    .byte   20
    .byte   60
    .byte   68
    .byte   51
    .byte   179
    .byte   128
    .byte   0
    .byte   81
    .byte   204
    .byte   33
    .byte   142
    .byte   33
    .byte   192
    .byte   241
    .byte   1
    .byte   189
    .byte   122
    .byte   1
    .byte   1
    .byte   208
    .byte   15
    .byte   3
    .byte   64
    .byte   176
    .byte   17
    .byte   192
    

0x8BCC00#

g->tmp++;
            }
            break;
        case 4:     /*終了*/
                /*ずれたXオフセットを元に戻す*/
            spd = (SPD_W*)cls->chara;
            i=-1;
            do{
                i++;
                spd[i].offset_x = keep_spd_x02[i];
            }while( spd[i].ccode != END );

            cls->yposi = -256;
            tag->step = 0;
            tag->tmp = 0;
            tag->timer = 0;
            tag->func = NULL;
            return 1;
            break;
    }
    return 0;
}

/*==========================================================================
==リプレー用表示
==========================================================================*/
/*==========================================================================
==リプレーの文字を表示する
==  毎フレーム通すことで点滅する。
==  点滅を前提としているので初期状態に依存しない
==========================================================================*/
void SetG2dReplay02()
{
    sys_w;
    EM_ACT* tag = &em02_act[0];

            /*文字は点滅を繰り返すのみ*/
    if ( tag->tmp ){
        if ( ++tag->timer > 10 ){
            tag->tmp = 0;
            tag->timer = 0;
                /*表示OFF*/
            s->

0x8C1A00#

   .byte   201
    .byte   204
    .byte   137
    .byte   168
    .byte   139
    .byte   136
    .byte   140
    .byte   145
    .byte   126
    .byte   200
    .byte   0
    .byte   55
    .byte   4
    .byte   64
    .byte   4
    .byte   22
    .byte   16
    .byte   6
    .byte   0
    .byte   48
    .byte   168
    .byte   168
    .byte   255
    .byte   52
    .byte   128
    .byte   41
    .byte   229
    .byte   45
    .byte   241
    .byte   40
    .byte   15
    .byte   27
    .byte   205
    .byte   20
    .byte   64
    .byte   17
    .byte   8
    .byte   124
    .byte   1
    .byte   1
    .byte   72
    .byte   1
    .byte   76
    .byte   68
    .byte   18
    .byte   250
    .byte   175
    .byte   33
    .byte   68
    .byte   198
    .byte   196
    .byte   124
    .byte   42
    .byte   56
    .byte   17
    .byte   112
    .byte   119
    .byte   7
    .byte   124
    .byte   64
    .byte   100
    .byte   64
    .byte   230
    .byte   35
    .byte   124
    .byte   64
    .byte   100
    .byte   126
    .byte   119
    .byte   66
    .byte   0
    .byte   129
    .byte   124
    .byte   64
    .byte   88
    .byte   126
    .byte   48
    .byte   34
    .byte   33
    .byte   34
    .byte   3
    .byte   124
    .byte   64
    .byte   92
    .byte   128
    .byte   87
    .byte   113
    .byte   51
    .byte   124
    .byte   128
    .byte   100
    .byte   6
    .byte   55
    .byte   115
    .byte   125
    .byte   128
    .byte   100
    .byte   6
    .byte   119
    .byte   119
    .byte   255
    .byte   40
    .byte   64
    .byte   1
    .byte   17
    .byte   4
    .byte   17
    .byte   9
    .byte   26
    .byte   17
    .byte   33
    .byte   36
    .byte   8
    .byte   166
    .byte   40
    .byte   24
    .byte   71
    .byte   159
    .byte   1
    .byte   128
    .byte   32
    .byte   79
    .byte   36
    .byte   18
    .byte   115
    .byte   8
    .byte   17
    .byte   119
    .byte   36
    .byte   37
    .byte   116
    .byte   13
    .byte   33
    .byte   17
    .byte   81
    .byte   8
    .byte   

0x8C6200#

.byte  255
    .byte   118
    .byte   138
    .byte   124
    .byte   64
    .byte   100
    .byte   64
    .byte   216
    .byte   1
    .byte   128
    .byte   124
    .byte   64
    .byte   94
    .byte   64
    .byte   160
    .byte   102
    .byte   155
    .byte   124
    .byte   64
    .byte   104
    .byte   65
    .byte   169
    .byte   137
    .byte   124
    .byte   64
    .byte   100
    .byte   129
    .byte   96
    .byte   198
    .byte   135
    .byte   124
    .byte   64
    .byte   104
    .byte   65
    .byte   80
    .byte   118
    .byte   119
    .byte   124
    .byte   64
    .byte   104
    .byte   65
    .byte   252
    .byte   68
    .byte   52
    .byte   124
    .byte   64
    .byte   124
    .byte   1
    .byte   124
    .byte   1
    .byte   124
    .byte   1
    .byte   124
    .byte   1
    .byte   124
    .byte   1
    .byte   127
    .byte   124
    .byte   1
    .byte   124
    .byte   1
    .byte   124
    .byte   1
    .byte   124
    .byte   1
    .byte   124
    .byte   1
    .byte   124
    .byte   1
    .byte   124
    .byte   1
    .byte   0
    .byte   178
    .byte   119
    .byte   128
    .byte   0
    .byte   112
    .byte   16
    .byte   5
    .byte   173
    .byte   7
    .byte   20
    .byte   18
    .byte   217
    .byte   136
    .byte   0
    .byte   34
    .byte   9
    .byte   224
    .byte   165
    .byte   34
    .byte   144
    .byte   148
    .byte   120
    .byte   2
    .byte   32
    .byte   2
    .byte   158
    .byte   155
    .byte   134
    .byte   24
    .byte   64
    .byte   0
    .byte   108
    .byte   112
    .byte   7
    .byte   129
    .byte   28
    .byte   9
    .byte   119
    .byte   28
    .byte   9
    .byte   0
    .byte   51
    .byte   32
    .byte   255
    .byte   0
    .byte   51
    .byte   150
    .byte   12
    .byte   64
    .byte   140
    .byte   159
    .byte   148
    .byte   12
    .byte   87
    .byte   44
    .byte   128
    .byte   253
    .byte   4
    .byte   48
    .byte   0
    .byte   0
    .byte   75
    .byte   4
    .byte   64
    .byt

0x8CBA00#

********************************/
static u_short bf_F_loser00[] = {
/*フライングで敗退*/
    FBF_N00,                                /*「(選手名)」「最後の最後がこんな結末で、無念だーっ」*/
    FBF_N01,                                /*「(選手名)」「悔しさが、こちらにも伝わってくるようだーっ」*/
    FBF_N02,                                /*「(選手名)」「力を発揮することもかなわずっ」*/
};
static u_short bf_F_loser01[] = {
/*走って敗退*/
    FBF_N06,                                /*「(選手名)」「最後の一勝が出来なかった」*/
    FBF_N07,                                /*「(選手名)」「ここで力一歩及ばず、無念の敗退を喫してしまった」*/
    FBF_N08,                                /*「(選手名)」「決勝まで来て、初めて旗に手が届かなかった無念」*/
};
static u_short bf_F_loser11[] = {
/*走って敗退の後*/
    FBF_N11,                                /*「悔いの残る一敗となってしまった」*/
    FK4_E40,                                /*「あと一歩、あと一歩が及びませんでした」*/
    FK4_E46,                                /*「しかし見せ場は多く作ってくれました!」*/
    FK4_E47,                                /*「しかし十二分に魅せてくれました」*/
};

static u_short bf_F_winner01[] = {
/*フライングで優勝*/
    FBF_N03,                                /*「ラスト、タナボタから優勝を納めた」「(選手名)」*/
    FBF_N04,                                /*「最後、激闘こそありませんでしたが、頂点に登りつめたのは」「(選手名)」*/
    FBF_N05,                                /*「このファイナルに、勝者の名前を刻んだのは」「(選手名)」*/

//  FBF_N24,//フライングで優勝の〆                                /*「堂々の優勝です」*/
};
static u_short bf_F_winner10[] = {
/*自分が走って優勝の前*/
    FBF_N18,                                /*「ついに獣たちの競演に終止符が打たれました」*/
    FBF_N21,                                /*「一つしかない頂上のイスに座るモノがついに現れた」*/
};
static u_short bf_F_winner11[] = {

0x8D0400#

チ」*/
    HK2_E06,                                /*「取ったぁー!取りました!」*/
    HK2_E07,                                /*「取った、取った、取ったぁ!」*/
    HK2_E09,                                /*「*番」「ゲットだーっ」*/
    HK2_E11,                                /*「*番!」「鮮やかっ」*/
    HK2_E15,                                /*「美しい!」*/
    HK2_E16,                                /*「ビューティフル」*/
    HK2_E17,                                /*「ワンダフル」*/
    HK2_E18,                                /*「鮮やかぁ!ますます気合いが入ってまいりました、」「(選手名)!」*/
    HK2_E19,                                /*「今日はなにかありそうだ、」「(選手名)」*/
    HK2_E21,                                /*「幸先の良いスタートを切りました!」*/
    HK2_E22,                                /*「最高のスタートを切っています」「(選手名!)」*/
/*前回失敗したターゲットを成功*/
    HK2_E25,                                /*「ほっと一息笑顔が出ました」*/
/*ノーミス*/
    HK2_E27,                                /*「まったくスキなし!実力者です」*/
    HK2_E28,                                /*「ここまで、危なげない完璧な展開です!」*/
/*後が無かった*/
    HK2_E29,                                /*「*番!」「首の皮一枚繋がったっ」*/
    HK2_E30,                                /*「*番」「ゲットだっ、まだ行けるぞ」*/
};
/*************************************************************
失敗
短い

0x8D4600#

ort) );
            SD_call( bf_F_flying_00[n] );
            SD_call( bf_F_breath[1] );          // 0.3secの間
            n = rnd( sizeof(bf_F_flying_01)/sizeof(short) );
            SD_call( bf_F_flying_01[n] );
        } else
        {
            n = rnd( sizeof(bf_F_flying_10)/sizeof(short) );
            SD_call( bf_F_flying_10[n] );
            SD_call( bf_F_breath[0] );
            n = rnd( sizeof(bf_F_flying_11)/sizeof(short) );
            SD_call( bf_F_flying_11[n] );
            SD_call( bf_F_flying_12 );
        }
        break;

    case ANA_REPLAY_CALL:
        n = rnd( sizeof(bf_F_replay_call)/sizeof(

0x8D9C00#

   return ( 0 );
    } else
    {
        white = 255;
        whiteTile( white, 1 );
        return ( 1 );
    }
}

static int WhiteIn( int rate, int mode )
{
    if ( white > rate )
    {
        whiteTile( white, mode );
        white -= rate;
        return ( 0 );
    } else
    {
        white = 0;
        return ( 1 );
    }
}

static void whiteTile( int col, int mode )
{
    sp_w;
    GsBOXF tile;

    tile.attribute = 0x10000000;
    tile.attribute |= ( mode ? 0x40000000 : 0 );
    tile.r = tile.g = tile.b = col;
    tile.x = -256;
    tile.y = -120;
    tile.w = 512;
    tile.h = 240;

    GsSortBoxFill( &tile, &SepOT[0].ot[ACTIVE_SIDE], 0 );
}







// BGM制御用
enum {
    BGM_WINNER,
    BGM_LOSER,
};


static void BGMcall( int type )
{
    static u_short bgm[][2] = {
        { B_REP2_1, B_REP2_2, },        // 成功2曲
        { B_REP6_1, B_REP6_2, },        // 失敗2曲
    };
    u_char flag = 1<<type;
    int n = ( (bfw.bgm_f&flag) == 0 ? 0 : 1 );

    bfw.bgm_f ^= flag;
    SD_call( bgm[type][n] );
}


// 応援制御用
enum {
    CHEER_ON_STAGE,
    CHEER_CLAP,
    CHEER_ENV,
    CHEER_CA

0x8DFE00#

        break;

    case 3:         // フェードアウト待ち
        if ( MenuFadeOut( 256/6, 0 ) )
        {
            G3dRestore02_Demo( 1 );         // 2P用デモモーション
            playerKickRunPre( 0, 0 );       // 1Pは立ってろ
            playerKickRunPre( 1, 1 );       // 2Pにする
            // 次のカメラ
            tvcamSetRunPre( 1 );
            TVcamSerialOn();
            // 選手名パネル
            SetG2dIntro02( &s->classw[CLS_HUMAN+0], OFF );
            SetG2dIntro02( &s->classw[CLS_HUMAN+1], ON );
            // Cheer : 選手紹介
            CheerCall( CHEER_ON_STAGE );
            gstep_up();
        }
        break;

    case 4: 

0x8E1C00#

s, &r->frame, r->fvel ) )
                PlayerSetMot( pn, MOT_014, cls->pose-1, 256 );
        }
        // Head Down
        if ( SetG2dHead02() )
        {
            bfw.gtime = 15 + rand()%30;             // タイミングズラし用カウントダウン用に使う
            gstep_up();
            bfw.play_time = 0;                              // 競技タイマーのリセット
        }
        break;

    case 2:         // ちょっと待て!
        if ( --bfw.gtime > 0 )
        {
            if ( bf_subfunc[bfw.step0 = 1]() )
            {
                // フライングがあった
                sstep_set( BF_RUN_FLYING );
                sp->gstepw = 0;
            }
            break;
        }
        // CPU操作開始
        CpuAI_start();
        gstep_up();
        //break;

    default:        // 次に
        // リプレイ初期化
        ReplayInit( 0 );
        // 競技形式別の跳び先を決定
        sstep_set( BF_RUN_MAIN );
        sp->gstepw = 0;
    }

    TVcamSetPosition();     // 自前カメラをメイン側に設定する

    return ( 0 );
}


// 疾走メイン
//=============
static int BF_run_main( void )
{
    sp_w;
    int ret;

    switch ( sp->gstepw )
    {
    case 0:             // SE出し
        TVcamAutoSet( TVCAM_INFO_RUNRUN_0, TVCAM_INFO_RUNRUN_1 );
        TVcamAutoOn( HATA_POS_

0x8E9C00#

    .byte   158
    .byte   53
    .byte   228
    .byte   206
    .byte   234
    .byte   140
    .byte   83
    .byte   222
    .byte   56
    .byte   83
    .byte   206
    .byte   51
    .byte   162
    .byte   222
    .byte   117
    .byte   235
    .byte   56
    .byte   180
    .byte   136
    .byte   206
    .byte   234
    .byte   141
    .byte   158
    .byte   51
    .byte   229
    .byte   60
    .byte   4
    .byte   19
    .byte   1
    .byte   134
    .byte   93
    .byte   183
    .byte   142
    .byte   51
    .byte   202
    .byte   106
    .byte   198
    .byte   142
    .byte   58
    .byte   59
    .byte   64
    .byte   212
    .byte   231
    .byte   125
    .byte   99
    .byte   173
    .byte   67
    .byte   234
    .byte   91
    .byte   163
    .byte   190
    .byte   131
    .byte   190
    .byte   125
    .byte   131
    .byte   158
    .byte   51
    .byte   131
    .byte   174
    .byte   51
    .byte   147
    .byte   190
    .byte   51
    .byte   219
    .byte   86
    .byte   234
    .byte   59
    .byte   163
    .byte   190
    .byte   147
    .byte   139
    .byte   51
    .byte   233
    .byte   58
    .byte   143
    .byte   1
    .byte   166
    .byte   59
    .byte   179
    .byte   109
    .byte   51
    .byte   102
    .byte   51
    .byte   195
    .byte   15
    .byte   56
    .byte   64
    .byte   200
    .

0x929600#

,0xb1,0x7c,0x01,0x7c,0x01,0x7c,0x01,0x7c,0x01,0x7c,
0x01,0x5f,0x7c,0x01,0x7c,0x01,0x7c,0x01,0x7c,0x01,0x48,0x0d,0x31,0x34,0x23,0x79,
0xcf,0x14,0x34,0x07,0x38,0x06,0xf6,0x09,0xa9,0xa2,0x13,0x18,0x22,0x07,0x67,0x4b,
0x09,0xda,0x08,0x5d,0xf6,0x0b,0xb6,0x90,0x09,0x18,0x40,0x7f,0x21,0x0a,0x10,0x25,
0x00,0x00,0xf9,0x00,0x5e,0x30,0xee,0x45,0x80,0xdf,0x04,0x21,0x71,0xfe,0xff,0x04,
0x29,0x50,0x05,0x00,0x1e,0xe3,0x02,0xe8,0x60,0xfd,0xff,0xff,0xcf,0xd1,0x02,0x28,
0x22,0x22,0xe4,0x88,0x8e,0x02,0x1e,0x06,0xb1,0x40

0x940200#

xc3,0xf7,0x77,0x44,0xf6,0x60,0xf9,0x14,0x7f,0xf7,0x03,0xb7,0x03,0xc6,
0xbf,0x08,0xbb,0xbb,0x7b,0x00,0x80,0x36,0xc0,0x0a,0xdc,0x11,0x04,0x9a,0xf3,0x03,
0xfa,0x07,0x80,0x7b,0xff,0xff,0x84,0xf7,0x25,0x18,0x40,0x9c,0x00,0x10,0xdf,0x03,
0x86,0xb8,0xce,0xb0,0x2d,0x0c,0x80,0xc5,0x20,0xff,0x0c,0x75,0x70,0xbf,0x20,0x00,
0x54,0x55,0x55,0xfc,0x5f,0x83,0x45,0x05,0x00,0xfc,0x30,0xbf,0x01,0x21,0x04,0x8b,
0xc2,0x20,0x17,0x00,0xcf,0x4f,0x71,0xff,0xff,0x07,0x5f,0x18,0x40,0x00,0xbd,0xcc,
0x1f,0x10,0x2a,0x00,0x00,0xd0,0x0a,0x89,0x88,0x6f,0x86,0x68,0x03,0xf2,0xfd,0xfb,
0x01,0xc0,0xfe,0x04,0x11,0x07,0x6e,0x9f,0xe3,0x19,0x0d,0x80,0x00,0xf9,0x09,0x03,
0x0c,0x40,0x00,0xf0,0x09,0x4f,0x00,0x39,0xf0,0x03,0xf6,0x50,0x20,0x40,0x03,0xb9,
0xf7,0x82,0xc6,0xf0,0x57,0x7e,0x00,0x6f,0x2e,0xd5,0x5e,0xdf,0xf6,0x00,0x00,0xf7,
0x76,0x00,0x70,0xc6,0x20,0xfd,0x07,0x10,0xfb,0x19,0x00,0xf0,0x0c,0xd9,0x00,0xa0,
0xbf,0xcf,0x03,0x07,0x56,0x15,0x80,0x3f,0xf0,0x03,0x20,0x0f,0x11,0xf9,0x80,0xf1,
0x1b,0x94,0xd3,0x00,0x00,0xbd,0x00,0x10,0x61,0xaf,0x00,0xf7,0x01,0xd6,0x6f,0x6f,
0xf3,0x3f,0x00,0x06,0xf6,0x00,0x70,0x9f,0x00,0xf9,0x07,0xa3,0xef,0x18,0x00,0x44,
0xc2,0xfa,0x7d,0xce,0x02,0xc1,0x88,0xcf,0x01,0xa1,0x9f,0x1d,0xc0,0x00,0xf6,0xff,
0xff,0x8f,0xf6,0x0f,0xea,0xee,0xc7,0xb0,0xd2,0xce,0xe1,0xff,0xff,0xef,0xde,0xbc,
0xf8,0x2c,0x9f,0xd2,0x49,0x61,0x6f,0x00,0xe7,0x7f,0x00,0xf6,0x80,0xdf,0x06,0x00,
0x70,0xcf,0x71,0x08,0x6d,0x10,0x14,0x33,0x02,0x88,0x00,0x7d,0xd5,0x06,0x00,0x21,
0x0b,0xdb,0x4a,0x05,0x80,0x24,0xba,0x0a,0xa5,0xeb,0x10,0x06,0x00,0x24,0

0x947400#

,0x73,0xce,0x04,0xa0,0xce,0x00,0x1f,0xe6,0x8b,0x8f,0x18,
0xd1,0x85,0x24,0x3f,0x00,0xf0,0xff,0x80,0x42,0x08,0x86,0xf2,0x2a,0xa2,0x3f,0x09,
0x68,0x06,0x87,0x85,0xc4,0xe7,0x07,0x00,0xde,0x52,0x55,0xf5,0x5d,0x55,0x25,0xa0,
0xae,0x00,0x85,0xe5,0x0b,0x60,0xee,0x1c,0xb1,0x18,0x40,0xee,0x8b,0x04,0x84,0x11,
0x1e,0x22,0x22,0xf2,0x8f,0x00,0x80,0x00,0x94,0xce,0x63,0x00,0x00,0xbf,0x00,0x00,
0x60,0x66,0x36,0x40,0x55,0x55,0xe7,0x07,0xb0,0x7f,0x52,0x65,0x66,0x66,0x57,0x26,
0x0c,0x71,0x00,0x30,0x66,0x1c,0xb1,0xfc,0x20,0x24,0x25,0x1e,0x00,0x7d,0x00,0x80,
0x04,0x4a,0xc1,0x21,0xa3,0x1b,0x00,0x00,0xe0,0xee,0x7e,0x90,0x04,0xc0,0x80,0xf9,
0x7f,0x40,0x1c,0x00,0x00,0xfc,0x00,0xd2,0x61,0x10,0x76,0x70,0xff,0xff,0xdf,0x00,
0x20,0x39,0x6f,0x7f,0xe5,0x04,0x45,0xfb,0xa9,0x88,0xfb,0x00,0xe3,0x00,0x80,0xc2,
0x90,0x4e,0x00,0x33,0x03,0x4f,0x7f,0x00,0xaf,0x00,0x35,0x82,0x10,0x1c,0x40,0x0f,
0x4d,0x9e,0x1c,0x80,0x00,0x00,0xf2,0xdc,0x00,0xfa,0xee,0xee,0x00,0x40,0xc1,0x00,
0x00,0x01,0x7f,0x00,0xf7,0x01,0x60,0x4f,0x1c,0x68,0x54,0x40,0x86

0x949C00#

e,0x28,0x2b,0x00,0x40,0x04,0x14,
0x18,0x08,0x40,0x41,0x00,0x40,0xb1,0xff,0x04,0x76,0x77,0x80,0x1c,0x82,0xf6,0xff,
0xff,0x24,0xa7,0x23,0x2c,0x3f,0x10,0xf3,0x00,0x1a,0x77,0x37,0x45,0x11,0x54,0xf9,
0xac,0x87,0x12,0xf2,0x04,0x2f,0x77,0x45,0x0c,0x54,0x61,0x00,0x40,0x71,0xff,0x66,
0x90,0x69,0xcb,0xa4,0x80,0x23,0x2a,0xc3,0x31,0x6f,0x04,0x14,0x0c,0xeb,0x37,0x00,
0x29,0x0c,0x23,0xb0,0xc6,0x11,0x93,0x00,0x40,0x41,0xff,0x4a,0x55,0x1c,0x01,0x85,
0x26,0x1a,0x10,0xf2,0x04,0x13,0x75,0xa9,0x19,0xec,0xc2,0x58,0x14,0x2a,0x3a,0x12,
0x28,0x11,0x08,0x40,0xaa,0x44,0x20,0x01,0x27,0x23,0xd8,0x21,0x08,0x1a,0x28,0x16,
0xbe,0x48,0x11,0x63,0x4f,0x14,0x2a,0x64,0x2a,0x11,0xe8,0xf2,0x51,0x18,0x40,0x12,
0x21,0x46,0xa7,0x34,0x20,0x40,0xf2,0xff,0x08,0x30,0x0d,0x3e,0x04,0x2c,0x18,0x3f,
0x04,0x2f,0x13,0x95,0x05,0x04,0x04,0x92,0x28,0x25,0x11,0x11,0x08,0xae,0xb5,0x1c,
0x40,0x10,0xf5,0x2a,0x54,0x00,0x11,0xc5,0x14,0x7f,0x21,0x08,0xe8,0xc5,0x12,0x4a,
0xc2,0x08,0xc2,0x25,0x18,0x28,0xc1,0xf4,0x05,0x25,0x16,0x28,0x01,0x10,0xf1,0x05,
0x2e,0

0x950C00#

b,0x1c,0x1b,0xd5,0xc1,
0x93,0x99,0x99,0x9a,0x99,0x19,0x31,0xa2,0x55,0x80,0xc4,0xb5,0x22,0xa5,0x25,0x22,
0x12,0x0c,0x40,0x9b,0x85,0x0a,0x00,0x51,0x00,0x15,0x2d,0x55,0x65,0x1c,0x10,0x40,
0x0a,0x61,0x9e,0x55,0x1a,0x00,0x10,0x58,0x45,0x44,0x51,0x80,0x14,0x53,0x55,0xa6,
0x44,0xb5,0x54,0x56,0x15,0x0c,0x40,0x9f,0x99,0x05,0x0e,0x53,0x00,0x15,0x9a,0x10,
0x54,0x44,0x54,0x97,0x0e,0xc0,0xa1,0x55,0x44,0x44,0x44,0x64,0x1a,0xc0,0x10,0x58,
0xff,0x90,0x1f,0xec,0x52,0xf4,0xa6,0x10,0x01,0x1f,0x09,0xe8,0x08,0x19,0xaf,0xaa,
0xa3,0x00,0x1c,0xf5,0x97,0xdf,0x13,0x00,0x45,0x8a,0x82,0xaf,0x34,0x40,0x62,0xa7,
0xaa,0xaa,0x6a,0x98,0x5a,0x6f,0x05,0xe7,0x18,0x0c,0x40,0x14,0x53,0x32,0x10,0x09,
0x1d,0xc1,0x0f,0x17,0x11,0x55,0xff,0xff,0x2f,0x20,0x80,0x04,0xb8,0x94,0x14,0x61,
0x01,0xed,0x68,0x00,0xb1,0x74,0xaa,0x15,0xa8,0x96,0x11,0x08,0x19,0x04,0x1d,0x12,
0x08,0xdb,0x44,0x74,0x13,0x57,0x30,0x11,0x5b,0xff,0xff,0x08,0xe2,0x0c,0x40,0x21,
0xc2,0x3d,0x01,0x0f,0x15,0x05,0x24,0x18,0x01,0x10,0x40,0x14,0x0f,0x12,0x57,0x85,
0xb6,0x15,0x14,0

0x956400#

0x40,0xa7,0x06,0xc0,0x29,0x40,0xff,0xaf,0xda,
0x81,0x03,0xa9,0xf3,0xaf,0xaa,0x3b,0xf3,0x3c,0x87,0xbc,0xd3,0xbb,0x13,0x40,0xc4,
0x7d,0xa8,0x9a,0xaa,0xaa,0xa9,0xa3,0xa6,0x2a,0x31,0xd3,0x67,0x07,0x40,0x10,0x2d,
0xb8,0x03,0x3b,0x6f,0x30,0x40,0x00,0x92,0x90,0x00,0x19,0x8b,0xb7,0x0f,0xc0,0x3b,
0x84,0x83,0xba,0x03,0x70,0xcb,0xbb,0xb8,0x1b,0x03,0x20,0x74,0xbb,0x1c,0x18,0x40,
0xc8,0x23,0xbb,0x10,0x13,0x2f,0xd8,0x3c,0x29,0x08,0x40,0xc6,0x3c,0x0a,0x8d,0x21,
0x00,0x2d,0xf1,0xcf,0xc4,0xcc,0xdc,0x1b,0x6d,0xff,0xe9,0xee,0x80,0x2c,0x40,0x3c,
0xcf,0x22,0x2c,0x01,0x04,0xc0,0x0e,0xca,0x00,0x40,0x3c,0x12,0xe0,0x11,0xc1,0x2c,
0x22,0x12,0x1b,0xad,0x1a,0xe3,0x37,0x00,0xff,0x1c,0x01,0x00,0x40,0x18,0x9d,0x07,
0x0f,0x34,0x31,0x7c,0x01,0x7c,0x01,0x2c,0x01,0x9f,0x38,0x80,0x30,0x94,0x14,0x92,
0x28,0xa7,0x1e,0x01,0x21,0xa3,0x02,0x54,0xb5,0x1c,0x01,0x02,0x01,0x67,0xfa,0x0b,
0x8b,0x10,0x01,0xaf,0x0c,0x40,0x70,0x11,0x31,0xac,0x79,0x1c,0x26,0x16,0x92,0x00,
0x18,0xf7,0x7c,0x6f,0xa8,0x25,0x81,0x04,0x40,0x09,0xa7,0x25,0x92,0x01,0x54,

0x960200#

,0x12,0x11,0x75,0x04,0x28,
0x76,0x2d,0x10,0x9e,0x64,0x00,0x48,0x0c,0x69,0x73,0x00,0x27,0x30,0x21,0x30,0x76,
0x00,0x15,0x41,0x10,0x10,0x08,0xc7,0x77,0x07,0x42,0x30,0x08,0x59,0x77,0x00,0x14,
0x52,0x08,0x61,0x43,0x1a,0x21,0x00,0x78,0x40,0x08,0x4c,0x00,0x30,0x41,0x23,0x11,
0x9a,0x42,0x0c,0x97,0x31,0x08,0x8f,0x00,0x3c,0x13,0x62,0x08,0x68,0x4b,0x08,0x67,
0x04,0xca,0x11,0x0c,0x38,0x11,0x21,0x04,0x78,0x24,0x0c,0x51,0x37,0x04,0x4f,0x14,
0xff,0x20,0x11,0x32,0x23,0x04,0x21,0x05,0x18,0x7f,0x00,0x13,0x61,0x07,0x00,0x3c,
0x12,0x74,0x0c,0xb9,0x04,0xdf,0x08,0x3f,0xb8,0x70,0x77,0x42,0x13,0x01,0x48,0x20,
0x11,0x75,0x26,0x09,0x18,0x77,0x84,0x77,0x37,0x04,0xe7,0x13,0x41,0x76,0x47,0x08,
0x58,0xc1,0x0c,0x7f,0x00,0x12,0x61,0x07,0x20,0x00,0xc3,0x08,0x11,0xcb,0x08,0xd6,
0x10,0x3f,0x20,0x00,0x2d,0x12,0x72,0x04,0x86,0x01,0x69,0x85,0xa7,0x02,0x0c,0x21,
0x12,0x51,0x07,0x40,0x08,0x30,0xb6,0x12,0x08,0xb5,0x00,0x50,0x06,0x01,0x42,0xa9,
0x14,0x0d,0x7f,0x32,0x13,0x0c,0x7e,0x30,0x31,0x05,0x4a,0x04,0x86,0x77,0x11,0x16,
0x72,0x00,0xe9,0x00,0x8c,0x13,0x05,0x0f,0x13,0x31,0x06,0x22,0x14,0x04,0x30,0x30,
0x11,0x74,0x15,0xfe,0x42,0x76,0xdf,0x0c,0x39,0x08,0x51,0x01,0xc7,0x0c,0xe9,0x00,
0xff,0x53,0x0c,0xd1,0x09,0xbf,0x29,0x00,0x28,0x32,0x75,0x0d,0x08,0x32,0x04,0x30,
0x20,0x11,0xf7,0x11,0x90,0x01,0x8e,0x0c,0xf8,0x70,0x0d,0x96,0xaf,0x05,0x59,0x00,
0x79,0xff,0x0d,0xa7,0x00,0x19,0x24,0x28,0x18,0x08,0x0d,0x90,0x7c,0x01,0x7c,0x01,
0x7c,0x01,0x03,0x58,0x01,0xff,};
static unsigned char tim_g_05b[] = {
0x6a,0x00,0x40,0x01,0x55,0x24,0x01,0x05,0x

0x968400#

,0xca,0x00,0x7f,0x91,0x07,0x4f,0xec,0x0d,
0xdd,0x81,0x00,0x0e,0x13,0x9e,0xe1,0x22,0x40,0xc0,0x9a,0x67,0x45,0x02,0xfc,0x00,
0x3f,0x01,0xef,0x80,0xbb,0xcd,0xdc,0xdd,0xcc,0xdd,0xdd,0x00,0xe7,0x23,0x03,0x80,
0x00,0x40,0x98,0xa9,0xac,0x0c,0x40,0x00,0xee,0x20,0xee,0x0e,0x0d,0x00,0xe0,0x43,
0x85,0xee,0xac,0x40,0x79,0x67,0x66,0x78,0x98,0x99,0x06,0xaf,0xa9,0x30,0xcb,0xcc,
0xcd,0xdd,0x00,0x2a,0x0b,0xd7,0x9a,0x99,0xfe,0x78,0x00,0x40,0x01,0x41,0x03,0x4d,
0x03,0x90,0x02,0x93,0x07,0x57,0x3f,0xc0,0xc0,0xcd,0x9a,0x88,0x98,0x99,0xaa,0x01,
0xef,0x06,0xed,0x0c,0xed,0xed,0x13,0x27,0x02,0xc0,0x89,0x88,0x78,0x88,0x5d,0x01,
0x12,0xec,0x0f,0xd0,0x53,0xbf,0x00,0x41,0xce,0x06,0x26,0xee,0x60,0xee,0xce,0xca,
0xca,0xcc,0x02,0xe7,0x1b,0x58,0xac,0xe2,0x9a,0x00,0xc0,0xaa,0xcc,0xdc,0x00,0xf3,
0x45,0xf9,0x24,0xc3,0x84,0xee,0xde,0x02,0x1b,0xee,0xce,0xde,0xde,0x21,0xe0,0xf8,
0xe0,0xcc,0x9a,0x05,0xc1,0x01,0x4b,0x60,0x7c,0x10,0x84,0x10,0xd6,0xe5,0x2c,0xdd,
0xee,0x01,0x02,0xa9,0xca,0x39,0x71,0x7c,0x01,0x14,0xd8,0x74,0xee,0xcc,0x04,0xd8