Ejemplo n.º 1
0
    private static void gmGmkSlotStart(AppMain.OBS_OBJECT_WORK obj_work)
    {
        AppMain.GMS_GMK_SLOT_WORK gmsGmkSlotWork = (AppMain.GMS_GMK_SLOT_WORK)obj_work;
        gmsGmkSlotWork.reel_status[0].reel = (short)((int)AppMain.GMD_GMK_SLOT_REEL1KOMA_HEIGHT * 15);
        AppMain.GMS_GMK_SLOT_REEL_STATUS_WORK reelStatu = gmsGmkSlotWork.reel_status[1];
        int slotReeL1KomaHeight = (int)AppMain.GMD_GMK_SLOT_REEL1KOMA_HEIGHT;

        reelStatu.reel = (short)0;
        gmsGmkSlotWork.reel_status[2].reel      = AppMain.GMD_GMK_SLOT_REEL1KOMA_HEIGHT;
        gmsGmkSlotWork.reel_status[0].reel_spd  = 0;
        gmsGmkSlotWork.reel_status[1].reel_spd  = 0;
        gmsGmkSlotWork.reel_status[2].reel_spd  = 0;
        gmsGmkSlotWork.reel_status[0].reel_acc  = 0;
        gmsGmkSlotWork.reel_status[1].reel_acc  = 0;
        gmsGmkSlotWork.reel_status[2].reel_acc  = 0;
        gmsGmkSlotWork.reel_status[0].reel_time = 0;
        gmsGmkSlotWork.reel_status[1].reel_time = 0;
        gmsGmkSlotWork.reel_status[2].reel_time = 0;
        gmsGmkSlotWork.prob[0] = AppMain.GMD_GMK_SLOT_PROB_JJJ;
        gmsGmkSlotWork.prob[1] = AppMain.GMD_GMK_SLOT_PROB_EEE;
        gmsGmkSlotWork.prob[2] = AppMain.GMD_GMK_SLOT_PROB_SSS;
        gmsGmkSlotWork.prob[4] = AppMain.GMD_GMK_SLOT_PROB_BBB;
        gmsGmkSlotWork.prob[3] = AppMain.GMD_GMK_SLOT_PROB_RRR;
        obj_work.ppFunc        = new AppMain.MPP_VOID_OBS_OBJECT_WORK(AppMain.gmGmkSlotStay);
    }
Ejemplo n.º 2
0
    // Token: 0x0600005E RID: 94 RVA: 0x00004CCC File Offset: 0x00002ECC
    private static void gmGmkSlotStart(OBS_OBJECT_WORK obj_work)
    {
        AppMain.GMS_GMK_SLOT_WORK gms_GMK_SLOT_WORK = (AppMain.GMS_GMK_SLOT_WORK)obj_work;
        gms_GMK_SLOT_WORK.reel_status[0].reel = ( short )(AppMain.GMD_GMK_SLOT_REEL1KOMA_HEIGHT * 15);
        AppMain.GMS_GMK_SLOT_REEL_STATUS_WORK gms_GMK_SLOT_REEL_STATUS_WORK = gms_GMK_SLOT_WORK.reel_status[1];
        short gmd_GMK_SLOT_REEL1KOMA_HEIGHT = AppMain.GMD_GMK_SLOT_REEL1KOMA_HEIGHT;

        gms_GMK_SLOT_REEL_STATUS_WORK.reel         = ( short )0;
        gms_GMK_SLOT_WORK.reel_status[2].reel      = AppMain.GMD_GMK_SLOT_REEL1KOMA_HEIGHT;
        gms_GMK_SLOT_WORK.reel_status[0].reel_spd  = 0;
        gms_GMK_SLOT_WORK.reel_status[1].reel_spd  = 0;
        gms_GMK_SLOT_WORK.reel_status[2].reel_spd  = 0;
        gms_GMK_SLOT_WORK.reel_status[0].reel_acc  = 0;
        gms_GMK_SLOT_WORK.reel_status[1].reel_acc  = 0;
        gms_GMK_SLOT_WORK.reel_status[2].reel_acc  = 0;
        gms_GMK_SLOT_WORK.reel_status[0].reel_time = 0;
        gms_GMK_SLOT_WORK.reel_status[1].reel_time = 0;
        gms_GMK_SLOT_WORK.reel_status[2].reel_time = 0;
        gms_GMK_SLOT_WORK.prob[0] = AppMain.GMD_GMK_SLOT_PROB_JJJ;
        gms_GMK_SLOT_WORK.prob[1] = AppMain.GMD_GMK_SLOT_PROB_EEE;
        gms_GMK_SLOT_WORK.prob[2] = AppMain.GMD_GMK_SLOT_PROB_SSS;
        gms_GMK_SLOT_WORK.prob[4] = AppMain.GMD_GMK_SLOT_PROB_BBB;
        gms_GMK_SLOT_WORK.prob[3] = AppMain.GMD_GMK_SLOT_PROB_RRR;
        obj_work.ppFunc           = AppMain.gmGmkSlotStay;
    }
Ejemplo n.º 3
0
 private static void gmGmkSlot_ReelControl(AppMain.GMS_GMK_SLOT_REEL_STATUS_WORK preel)
 {
     if (preel.reel_time > 0)
     {
         --preel.reel_time;
     }
     if (preel.reel_time <= 0 && preel.reel_acc != 0)
     {
         preel.reel_spd += preel.reel_acc;
         if (preel.reel_spd > (int)AppMain.GMD_GMK_SLOT_REEL_MAX_SPEED)
         {
             preel.reel_spd = (int)AppMain.GMD_GMK_SLOT_REEL_MAX_SPEED;
             preel.reel_acc = 0;
         }
         else if (preel.reel_spd < 0)
         {
             preel.reel_spd = 0;
             preel.reel_acc = 0;
         }
     }
     preel.reel += (short)preel.reel_spd;
 }
Ejemplo n.º 4
0
    private static void gmGmkSlotGameStart_100(AppMain.OBS_OBJECT_WORK obj_work)
    {
        AppMain.GMS_GMK_SLOT_WORK gmsGmkSlotWork = (AppMain.GMS_GMK_SLOT_WORK)obj_work;
        if (gmsGmkSlotWork.timer <= 0)
        {
            AppMain.GMS_GMK_SLOT_REEL_STATUS_WORK reelStatu = gmsGmkSlotWork.reel_status[gmsGmkSlotWork.current_reel];
            switch (gmsGmkSlotWork.slot_step)
            {
            case 0:
                gmsGmkSlotWork.reel_status[0].reel_time = 0;
                gmsGmkSlotWork.reel_status[1].reel_time = 15;
                gmsGmkSlotWork.reel_status[2].reel_time = 30;
                gmsGmkSlotWork.reel_status[0].reel_acc  = (int)AppMain.GMD_GMK_SLOT_REEL_ACC;
                gmsGmkSlotWork.reel_status[1].reel_acc  = (int)AppMain.GMD_GMK_SLOT_REEL_ACC;
                gmsGmkSlotWork.reel_status[2].reel_acc  = (int)AppMain.GMD_GMK_SLOT_REEL_ACC;
                gmsGmkSlotWork.timer     = 10;
                gmsGmkSlotWork.timer    += (int)AppMain.mtMathRand() % 1;
                gmsGmkSlotWork.slot_step = 10;
                break;

            case 10:
                gmsGmkSlotWork.current_reel = 0;
                gmsGmkSlotWork.slot_step    = 40;
                gmsGmkSlotWork.timer_next   = 0;
                gmsGmkSlotWork.freestop     = 1;
                gmsGmkSlotWork.timer        = 0;
                break;

            case 20:
                gmsGmkSlotWork.current_reel = 1;
                gmsGmkSlotWork.slot_step    = 40;
                gmsGmkSlotWork.timer_next   = 0;
                gmsGmkSlotWork.freestop     = 1;
                gmsGmkSlotWork.timer        = 0;
                break;

            case 30:
                gmsGmkSlotWork.current_reel = 2;
                if (gmsGmkSlotWork.timer < 0)
                {
                    gmsGmkSlotWork.slot_step = 80;
                    break;
                }
                if (gmsGmkSlotWork.freestop != 0)
                {
                    if (gmsGmkSlotWork.lotresult < (short)0 || gmsGmkSlotWork.lotresult == (short)5 || gmsGmkSlotWork.lotresult == (short)6)
                    {
                        gmsGmkSlotWork.timer     = 0;
                        gmsGmkSlotWork.slot_step = 40;
                        break;
                    }
                    gmsGmkSlotWork.timer     = 60;
                    gmsGmkSlotWork.slot_step = gmsGmkSlotWork.lotresult == (short)8 ? 60 : 50;
                    break;
                }
                gmsGmkSlotWork.timer     = 0;
                gmsGmkSlotWork.slot_step = 40;
                break;

            case 40:
                if (gmsGmkSlotWork.freestop == 0)
                {
                    reelStatu.reel_spd       = (int)AppMain.GMD_GMK_SLOT_REEL_MIN_SPEED;
                    reelStatu.reel_acc       = 0;
                    gmsGmkSlotWork.timer     = 0;
                    gmsGmkSlotWork.slot_step = 71;
                    break;
                }
                reelStatu.reel_acc = (int)-AppMain.GMD_GMK_SLOT_REEL_BRAKE;
                ++gmsGmkSlotWork.slot_step;
                goto case 41;

            case 41:
                if (reelStatu.reel_spd <= (int)AppMain.GMD_GMK_SLOT_REEL_MIN_SPEED + reelStatu.reel_acc)
                {
                    reelStatu.reel_spd       = (int)AppMain.GMD_GMK_SLOT_REEL_MIN_SPEED;
                    reelStatu.reel_acc       = 0;
                    gmsGmkSlotWork.timer     = 0;
                    gmsGmkSlotWork.slot_step = 70;
                    break;
                }
                break;

            case 50:
                reelStatu.reel_acc = (int)-AppMain.GMD_GMK_SLOT_REEL_BRAKE / 2;
                ++gmsGmkSlotWork.slot_step;
                goto case 51;

            case 51:
                if (reelStatu.reel_spd <= (int)AppMain.GMD_GMK_SLOT_REEL_MIN_SPEED + reelStatu.reel_acc)
                {
                    reelStatu.reel_spd       = (int)AppMain.GMD_GMK_SLOT_REEL_MIN_SPEED;
                    reelStatu.reel_acc       = 0;
                    gmsGmkSlotWork.timer     = 30;
                    gmsGmkSlotWork.slot_step = 70;
                    break;
                }
                break;

            case 60:
                reelStatu.reel_acc = (int)-AppMain.GMD_GMK_SLOT_REEL_BRAKE / 2;
                ++gmsGmkSlotWork.slot_step;
                goto case 61;

            case 61:
                if (reelStatu.reel_spd <= (int)AppMain.GMD_GMK_SLOT_REEL_EGG_SPEED + reelStatu.reel_acc)
                {
                    reelStatu.reel_spd = (int)AppMain.GMD_GMK_SLOT_REEL_EGG_SPEED;
                    reelStatu.reel_acc = 0;
                    ++gmsGmkSlotWork.slot_step;
                    gmsGmkSlotWork.suberi_cnt   = 0;
                    gmsGmkSlotWork.suberi_input = 0;
                    break;
                }
                break;

            case 62:
                int num1 = (int)(ushort)reelStatu.reel / (int)AppMain.GMD_GMK_SLOT_REEL1KOMA_HEIGHT % (int)AppMain.GMD_GMK_SLOT_REEL_ALLMARK;
                if (num1 == reelStatu.reel_target_pos)
                {
                    gmsGmkSlotWork.slot_step = 69;
                    reelStatu.reel           = (short)((int)AppMain.GMD_GMK_SLOT_REEL1KOMA_HEIGHT * num1);
                    gmsGmkSlotWork.lotresult = (short)1;
                    break;
                }
                break;

            case 69:
                reelStatu.reel_extime = 8;
                AppMain.GmSoundPlaySE("Casino5");
                gmsGmkSlotWork.slot_step = 72;
                goto case 72;

            case 70:
                if ((int)(ushort)reelStatu.reel / (int)AppMain.GMD_GMK_SLOT_REEL1KOMA_HEIGHT == (int)(ushort)((uint)reelStatu.reel - (uint)reelStatu.reel_spd) / (int)AppMain.GMD_GMK_SLOT_REEL1KOMA_HEIGHT)
                {
                    break;
                }
                goto case 71;

            case 71:
                int num2 = (int)(ushort)reelStatu.reel / (int)AppMain.GMD_GMK_SLOT_REEL1KOMA_HEIGHT % (int)AppMain.GMD_GMK_SLOT_REEL_ALLMARK;
                if (num2 == reelStatu.reel_target_pos)
                {
                    reelStatu.reel = (short)((int)AppMain.GMD_GMK_SLOT_REEL1KOMA_HEIGHT * num2);
                    goto case 69;
                }
                else
                {
                    break;
                }

            case 72:
                if ((reelStatu.reel_extime & 1) == 0)
                {
                    if (reelStatu.reel_extime == 4)
                    {
                        reelStatu.reel_spd /= 2;
                    }
                    reelStatu.reel_spd = -reelStatu.reel_spd;
                }
                --reelStatu.reel_extime;
                if (reelStatu.reel_extime == 0)
                {
                    reelStatu.reel     = (short)((int)AppMain.GMD_GMK_SLOT_REEL1KOMA_HEIGHT * reelStatu.reel_target_pos);
                    reelStatu.reel_spd = 0;
                    if (gmsGmkSlotWork.current_reel == 0)
                    {
                        gmsGmkSlotWork.timer     = gmsGmkSlotWork.timer_next;
                        gmsGmkSlotWork.timer    += (int)AppMain.mtMathRand() % 1;
                        gmsGmkSlotWork.slot_step = 20;
                        break;
                    }
                    if (gmsGmkSlotWork.current_reel == 1)
                    {
                        gmsGmkSlotWork.timer     = gmsGmkSlotWork.timer_next;
                        gmsGmkSlotWork.timer    += (int)AppMain.mtMathRand() % 1;
                        gmsGmkSlotWork.slot_step = 30;
                        break;
                    }
                    if (gmsGmkSlotWork.current_reel == 2)
                    {
                        if (gmsGmkSlotWork.lotresult == (short)9)
                        {
                            if (gmsGmkSlotWork.reel_status[0].reel_target_mark == gmsGmkSlotWork.reel_status[1].reel_target_mark && gmsGmkSlotWork.reel_status[0].reel_target_mark == gmsGmkSlotWork.reel_status[2].reel_target_mark)
                            {
                                gmsGmkSlotWork.lotresult = (short)gmsGmkSlotWork.reel_status[0].reel_target_mark;
                            }
                            else
                            {
                                int num3 = 5;
                                for (int index = 0; index < 3; ++index)
                                {
                                    if (gmsGmkSlotWork.reel_status[index].reel_target_mark == 4)
                                    {
                                        gmsGmkSlotWork.lotresult = (short)num3;
                                        ++num3;
                                    }
                                }
                            }
                        }
                        obj_work.ppFunc = gmsGmkSlotWork.lotresult < (short)0 || gmsGmkSlotWork.lotresult == (short)9 ? new AppMain.MPP_VOID_OBS_OBJECT_WORK(AppMain.gmGmkSlotGameLose) : new AppMain.MPP_VOID_OBS_OBJECT_WORK(AppMain.gmGmkSlotGameHit);
                        break;
                    }
                    break;
                }
                break;

            case 80:
                if ((int)(ushort)reelStatu.reel / (int)AppMain.GMD_GMK_SLOT_REEL1KOMA_HEIGHT != (int)(ushort)((uint)reelStatu.reel - (uint)reelStatu.reel_spd) / (int)AppMain.GMD_GMK_SLOT_REEL1KOMA_HEIGHT)
                {
                    reelStatu.reel           &= (short)-4096;
                    reelStatu.reel_target_pos = (int)reelStatu.reel;
                    int index = 16 - (int)(ushort)reelStatu.reel / (int)AppMain.GMD_GMK_SLOT_REEL1KOMA_HEIGHT & 15;
                    reelStatu.reel_target_mark = (int)AppMain.tbl_gmk_reel_mark[gmsGmkSlotWork.current_reel][index];
                    reelStatu.reel_extime      = 8;
                    reelStatu.reel_spd         = (int)AppMain.GMD_GMK_SLOT_REEL_MIN_SPEED;
                    AppMain.GmSoundPlaySE("Casino5");
                    gmsGmkSlotWork.slot_step = 81;
                    goto case 81;
                }
                else
                {
                    break;
                }

            case 81:
                if ((reelStatu.reel_extime & 1) == 0)
                {
                    if (reelStatu.reel_extime == 4)
                    {
                        reelStatu.reel_spd /= 2;
                    }
                    reelStatu.reel_spd = -reelStatu.reel_spd;
                }
                --reelStatu.reel_extime;
                if (reelStatu.reel_extime == 0)
                {
                    reelStatu.reel     = (short)reelStatu.reel_target_pos;
                    reelStatu.reel_spd = 0;
                    if (gmsGmkSlotWork.current_reel == 0)
                    {
                        gmsGmkSlotWork.timer     = gmsGmkSlotWork.timer_next;
                        gmsGmkSlotWork.timer    += (int)AppMain.mtMathRand() % 1;
                        gmsGmkSlotWork.slot_step = 20;
                        break;
                    }
                    if (gmsGmkSlotWork.current_reel == 1)
                    {
                        gmsGmkSlotWork.timer     = gmsGmkSlotWork.timer_next;
                        gmsGmkSlotWork.timer    += (int)AppMain.mtMathRand() % 1;
                        gmsGmkSlotWork.slot_step = 30;
                        break;
                    }
                    if (gmsGmkSlotWork.current_reel == 2)
                    {
                        if (gmsGmkSlotWork.lotresult == (short)9)
                        {
                            if (gmsGmkSlotWork.reel_status[0].reel_target_mark == gmsGmkSlotWork.reel_status[1].reel_target_mark && gmsGmkSlotWork.reel_status[0].reel_target_mark == gmsGmkSlotWork.reel_status[2].reel_target_mark)
                            {
                                gmsGmkSlotWork.lotresult = (short)gmsGmkSlotWork.reel_status[0].reel_target_mark;
                            }
                            else
                            {
                                int num3 = 5;
                                for (int index = 0; index < 3; ++index)
                                {
                                    if (gmsGmkSlotWork.reel_status[index].reel_target_mark == 4)
                                    {
                                        gmsGmkSlotWork.lotresult = (short)num3;
                                        ++num3;
                                    }
                                }
                            }
                        }
                        obj_work.ppFunc = gmsGmkSlotWork.lotresult < (short)0 || gmsGmkSlotWork.lotresult == (short)9 ? new AppMain.MPP_VOID_OBS_OBJECT_WORK(AppMain.gmGmkSlotGameLose) : new AppMain.MPP_VOID_OBS_OBJECT_WORK(AppMain.gmGmkSlotGameHit);
                        break;
                    }
                    break;
                }
                break;
            }
        }
        else
        {
            --gmsGmkSlotWork.timer;
        }
        if (gmsGmkSlotWork.slot_se_timer > 0)
        {
            --gmsGmkSlotWork.slot_se_timer;
        }
        for (int index = 0; index < 3; ++index)
        {
            AppMain.GMS_GMK_SLOT_REEL_STATUS_WORK reelStatu = gmsGmkSlotWork.reel_status[index];
            if (reelStatu.reel_spd != 0)
            {
                short num = (short)((int)reelStatu.reel + reelStatu.reel_spd);
                if ((int)num / 4096 != (int)reelStatu.reel / 4096 && ((int)num & -4096) != reelStatu.reel_se && gmsGmkSlotWork.slot_se_timer <= 0)
                {
                    AppMain.GmSoundPlaySE("Casino4");
                    gmsGmkSlotWork.slot_se_timer = 3;
                }
                reelStatu.reel_se = (int)num & -4096;
            }
        }
        AppMain.gmGmkSlot_ReelControl(gmsGmkSlotWork.reel_status[0]);
        AppMain.gmGmkSlot_ReelControl(gmsGmkSlotWork.reel_status[1]);
        AppMain.gmGmkSlot_ReelControl(gmsGmkSlotWork.reel_status[2]);
    }
Ejemplo n.º 5
0
    // Token: 0x06000062 RID: 98 RVA: 0x00005164 File Offset: 0x00003364
    private static void gmGmkSlotGameStart_100(OBS_OBJECT_WORK obj_work)
    {
        AppMain.GMS_GMK_SLOT_WORK gms_GMK_SLOT_WORK = (AppMain.GMS_GMK_SLOT_WORK)obj_work;
        if (gms_GMK_SLOT_WORK.timer <= 0)
        {
            AppMain.GMS_GMK_SLOT_REEL_STATUS_WORK gms_GMK_SLOT_REEL_STATUS_WORK = gms_GMK_SLOT_WORK.reel_status[gms_GMK_SLOT_WORK.current_reel];
            int slot_step = gms_GMK_SLOT_WORK.slot_step;
            if (slot_step <= 30)
            {
                if (slot_step <= 10)
                {
                    if (slot_step != 0)
                    {
                        if (slot_step == 10)
                        {
                            gms_GMK_SLOT_WORK.current_reel = 0;
                            gms_GMK_SLOT_WORK.slot_step    = 40;
                            gms_GMK_SLOT_WORK.timer_next   = 0;
                            gms_GMK_SLOT_WORK.freestop     = 1;
                            gms_GMK_SLOT_WORK.timer        = 0;
                        }
                    }
                    else
                    {
                        gms_GMK_SLOT_WORK.reel_status[0].reel_time = 0;
                        gms_GMK_SLOT_WORK.reel_status[1].reel_time = 15;
                        gms_GMK_SLOT_WORK.reel_status[2].reel_time = 30;
                        gms_GMK_SLOT_WORK.reel_status[0].reel_acc  = ( int )AppMain.GMD_GMK_SLOT_REEL_ACC;
                        gms_GMK_SLOT_WORK.reel_status[1].reel_acc  = ( int )AppMain.GMD_GMK_SLOT_REEL_ACC;
                        gms_GMK_SLOT_WORK.reel_status[2].reel_acc  = ( int )AppMain.GMD_GMK_SLOT_REEL_ACC;
                        gms_GMK_SLOT_WORK.timer     = 10;
                        gms_GMK_SLOT_WORK.timer    += ( int )(AppMain.mtMathRand() % 1);
                        gms_GMK_SLOT_WORK.slot_step = 10;
                    }
                }
                else if (slot_step != 20)
                {
                    if (slot_step == 30)
                    {
                        gms_GMK_SLOT_WORK.current_reel = 2;
                        if (gms_GMK_SLOT_WORK.timer < 0)
                        {
                            gms_GMK_SLOT_WORK.slot_step = 80;
                        }
                        else if (gms_GMK_SLOT_WORK.freestop != 0)
                        {
                            if (gms_GMK_SLOT_WORK.lotresult < 0 || gms_GMK_SLOT_WORK.lotresult == 5 || gms_GMK_SLOT_WORK.lotresult == 6)
                            {
                                gms_GMK_SLOT_WORK.timer     = 0;
                                gms_GMK_SLOT_WORK.slot_step = 40;
                            }
                            else
                            {
                                gms_GMK_SLOT_WORK.timer = 60;
                                if (gms_GMK_SLOT_WORK.lotresult != 8)
                                {
                                    gms_GMK_SLOT_WORK.slot_step = 50;
                                }
                                else
                                {
                                    gms_GMK_SLOT_WORK.slot_step = 60;
                                }
                            }
                        }
                        else
                        {
                            gms_GMK_SLOT_WORK.timer     = 0;
                            gms_GMK_SLOT_WORK.slot_step = 40;
                        }
                    }
                }
                else
                {
                    gms_GMK_SLOT_WORK.current_reel = 1;
                    gms_GMK_SLOT_WORK.slot_step    = 40;
                    gms_GMK_SLOT_WORK.timer_next   = 0;
                    gms_GMK_SLOT_WORK.freestop     = 1;
                    gms_GMK_SLOT_WORK.timer        = 0;
                }
            }
            else if (slot_step <= 51)
            {
                switch (slot_step)
                {
                case 40:
                    if (gms_GMK_SLOT_WORK.freestop == 0)
                    {
                        gms_GMK_SLOT_REEL_STATUS_WORK.reel_spd = ( int )AppMain.GMD_GMK_SLOT_REEL_MIN_SPEED;
                        gms_GMK_SLOT_REEL_STATUS_WORK.reel_acc = 0;
                        gms_GMK_SLOT_WORK.timer     = 0;
                        gms_GMK_SLOT_WORK.slot_step = 71;
                        goto IL_825;
                    }
                    gms_GMK_SLOT_REEL_STATUS_WORK.reel_acc = ( int )(-( int )AppMain.GMD_GMK_SLOT_REEL_BRAKE);
                    gms_GMK_SLOT_WORK.slot_step++;
                    break;

                case 41:
                    break;

                default:
                    switch (slot_step)
                    {
                    case 50:
                        gms_GMK_SLOT_REEL_STATUS_WORK.reel_acc = ( int )(-AppMain.GMD_GMK_SLOT_REEL_BRAKE / 2);
                        gms_GMK_SLOT_WORK.slot_step++;
                        break;

                    case 51:
                        break;

                    default:
                        goto IL_825;
                    }
                    if (gms_GMK_SLOT_REEL_STATUS_WORK.reel_spd <= ( int )AppMain.GMD_GMK_SLOT_REEL_MIN_SPEED + gms_GMK_SLOT_REEL_STATUS_WORK.reel_acc)
                    {
                        gms_GMK_SLOT_REEL_STATUS_WORK.reel_spd = ( int )AppMain.GMD_GMK_SLOT_REEL_MIN_SPEED;
                        gms_GMK_SLOT_REEL_STATUS_WORK.reel_acc = 0;
                        gms_GMK_SLOT_WORK.timer     = 30;
                        gms_GMK_SLOT_WORK.slot_step = 70;
                        goto IL_825;
                    }
                    goto IL_825;
                }
                if (gms_GMK_SLOT_REEL_STATUS_WORK.reel_spd <= ( int )AppMain.GMD_GMK_SLOT_REEL_MIN_SPEED + gms_GMK_SLOT_REEL_STATUS_WORK.reel_acc)
                {
                    gms_GMK_SLOT_REEL_STATUS_WORK.reel_spd = ( int )AppMain.GMD_GMK_SLOT_REEL_MIN_SPEED;
                    gms_GMK_SLOT_REEL_STATUS_WORK.reel_acc = 0;
                    gms_GMK_SLOT_WORK.timer     = 0;
                    gms_GMK_SLOT_WORK.slot_step = 70;
                }
            }
            else
            {
                int num;
                switch (slot_step)
                {
                case 60:
                    gms_GMK_SLOT_REEL_STATUS_WORK.reel_acc = ( int )(-AppMain.GMD_GMK_SLOT_REEL_BRAKE / 2);
                    gms_GMK_SLOT_WORK.slot_step++;
                    break;

                case 61:
                    break;

                case 62:
                    num = ( int )(( ushort )gms_GMK_SLOT_REEL_STATUS_WORK.reel / ( ushort )AppMain.GMD_GMK_SLOT_REEL1KOMA_HEIGHT % ( ushort )AppMain.GMD_GMK_SLOT_REEL_ALLMARK);
                    if (num == gms_GMK_SLOT_REEL_STATUS_WORK.reel_target_pos)
                    {
                        gms_GMK_SLOT_WORK.slot_step        = 69;
                        gms_GMK_SLOT_REEL_STATUS_WORK.reel = ( short )(( int )AppMain.GMD_GMK_SLOT_REEL1KOMA_HEIGHT * num);
                        gms_GMK_SLOT_WORK.lotresult        = 1;
                        goto IL_825;
                    }
                    goto IL_825;

                case 63:
                case 64:
                case 65:
                case 66:
                case 67:
                case 68:
                    goto IL_825;

                case 69:
                    goto IL_431;

                case 70:
                    if (( ushort )gms_GMK_SLOT_REEL_STATUS_WORK.reel / ( ushort )AppMain.GMD_GMK_SLOT_REEL1KOMA_HEIGHT != ( ushort )(( int )gms_GMK_SLOT_REEL_STATUS_WORK.reel - gms_GMK_SLOT_REEL_STATUS_WORK.reel_spd) / ( ushort )AppMain.GMD_GMK_SLOT_REEL1KOMA_HEIGHT)
                    {
                        goto IL_403;
                    }
                    goto IL_825;

                case 71:
                    goto IL_403;

                case 72:
                    goto IL_44A;

                default:
                    switch (slot_step)
                    {
                    case 80:
                    {
                        if (( ushort )gms_GMK_SLOT_REEL_STATUS_WORK.reel / ( ushort )AppMain.GMD_GMK_SLOT_REEL1KOMA_HEIGHT == ( ushort )(( int )gms_GMK_SLOT_REEL_STATUS_WORK.reel - gms_GMK_SLOT_REEL_STATUS_WORK.reel_spd) / ( ushort )AppMain.GMD_GMK_SLOT_REEL1KOMA_HEIGHT)
                        {
                            goto IL_825;
                        }
                        AppMain.GMS_GMK_SLOT_REEL_STATUS_WORK gms_GMK_SLOT_REEL_STATUS_WORK2 = gms_GMK_SLOT_REEL_STATUS_WORK;
                        gms_GMK_SLOT_REEL_STATUS_WORK2.reel          &= -4096;
                        gms_GMK_SLOT_REEL_STATUS_WORK.reel_target_pos = ( int )gms_GMK_SLOT_REEL_STATUS_WORK.reel;
                        int num2 = (int)(16 - (ushort)gms_GMK_SLOT_REEL_STATUS_WORK.reel / (ushort)AppMain.GMD_GMK_SLOT_REEL1KOMA_HEIGHT & 15);
                        gms_GMK_SLOT_REEL_STATUS_WORK.reel_target_mark = ( int )AppMain.tbl_gmk_reel_mark[gms_GMK_SLOT_WORK.current_reel][num2];
                        gms_GMK_SLOT_REEL_STATUS_WORK.reel_extime      = 8;
                        gms_GMK_SLOT_REEL_STATUS_WORK.reel_spd         = ( int )AppMain.GMD_GMK_SLOT_REEL_MIN_SPEED;
                        GmSound.PlaySE("Casino5");
                        gms_GMK_SLOT_WORK.slot_step = 81;
                        break;
                    }

                    case 81:
                        break;

                    default:
                        goto IL_825;
                    }
                    if ((gms_GMK_SLOT_REEL_STATUS_WORK.reel_extime & 1) == 0)
                    {
                        if (gms_GMK_SLOT_REEL_STATUS_WORK.reel_extime == 4)
                        {
                            gms_GMK_SLOT_REEL_STATUS_WORK.reel_spd /= 2;
                        }
                        gms_GMK_SLOT_REEL_STATUS_WORK.reel_spd = -gms_GMK_SLOT_REEL_STATUS_WORK.reel_spd;
                    }
                    gms_GMK_SLOT_REEL_STATUS_WORK.reel_extime--;
                    if (gms_GMK_SLOT_REEL_STATUS_WORK.reel_extime != 0)
                    {
                        goto IL_825;
                    }
                    gms_GMK_SLOT_REEL_STATUS_WORK.reel     = ( short )gms_GMK_SLOT_REEL_STATUS_WORK.reel_target_pos;
                    gms_GMK_SLOT_REEL_STATUS_WORK.reel_spd = 0;
                    if (gms_GMK_SLOT_WORK.current_reel == 0)
                    {
                        gms_GMK_SLOT_WORK.timer     = gms_GMK_SLOT_WORK.timer_next;
                        gms_GMK_SLOT_WORK.timer    += ( int )(AppMain.mtMathRand() % 1);
                        gms_GMK_SLOT_WORK.slot_step = 20;
                        goto IL_825;
                    }
                    if (gms_GMK_SLOT_WORK.current_reel == 1)
                    {
                        gms_GMK_SLOT_WORK.timer     = gms_GMK_SLOT_WORK.timer_next;
                        gms_GMK_SLOT_WORK.timer    += ( int )(AppMain.mtMathRand() % 1);
                        gms_GMK_SLOT_WORK.slot_step = 30;
                        goto IL_825;
                    }
                    if (gms_GMK_SLOT_WORK.current_reel != 2)
                    {
                        goto IL_825;
                    }
                    if (gms_GMK_SLOT_WORK.lotresult == 9)
                    {
                        if (gms_GMK_SLOT_WORK.reel_status[0].reel_target_mark == gms_GMK_SLOT_WORK.reel_status[1].reel_target_mark && gms_GMK_SLOT_WORK.reel_status[0].reel_target_mark == gms_GMK_SLOT_WORK.reel_status[2].reel_target_mark)
                        {
                            gms_GMK_SLOT_WORK.lotresult = ( short )gms_GMK_SLOT_WORK.reel_status[0].reel_target_mark;
                        }
                        else
                        {
                            int num3 = 5;
                            for (int i = 0; i < 3; i++)
                            {
                                if (gms_GMK_SLOT_WORK.reel_status[i].reel_target_mark == 4)
                                {
                                    gms_GMK_SLOT_WORK.lotresult = ( short )num3;
                                    num3++;
                                }
                            }
                        }
                    }
                    if (gms_GMK_SLOT_WORK.lotresult < 0 || gms_GMK_SLOT_WORK.lotresult == 9)
                    {
                        obj_work.ppFunc = AppMain.gmGmkSlotGameLose;
                        goto IL_825;
                    }
                    obj_work.ppFunc = AppMain.gmGmkSlotGameHit;
                    goto IL_825;
                }
                if (gms_GMK_SLOT_REEL_STATUS_WORK.reel_spd <= ( int )AppMain.GMD_GMK_SLOT_REEL_EGG_SPEED + gms_GMK_SLOT_REEL_STATUS_WORK.reel_acc)
                {
                    gms_GMK_SLOT_REEL_STATUS_WORK.reel_spd = ( int )AppMain.GMD_GMK_SLOT_REEL_EGG_SPEED;
                    gms_GMK_SLOT_REEL_STATUS_WORK.reel_acc = 0;
                    gms_GMK_SLOT_WORK.slot_step++;
                    gms_GMK_SLOT_WORK.suberi_cnt   = 0;
                    gms_GMK_SLOT_WORK.suberi_input = 0;
                    goto IL_825;
                }
                goto IL_825;
IL_403:
                num = ( int )(( ushort )gms_GMK_SLOT_REEL_STATUS_WORK.reel / ( ushort )AppMain.GMD_GMK_SLOT_REEL1KOMA_HEIGHT % ( ushort )AppMain.GMD_GMK_SLOT_REEL_ALLMARK);
                if (num != gms_GMK_SLOT_REEL_STATUS_WORK.reel_target_pos)
                {
                    goto IL_825;
                }
                gms_GMK_SLOT_REEL_STATUS_WORK.reel = ( short )(( int )AppMain.GMD_GMK_SLOT_REEL1KOMA_HEIGHT * num);
IL_431:
                gms_GMK_SLOT_REEL_STATUS_WORK.reel_extime = 8;
                GmSound.PlaySE("Casino5");
                gms_GMK_SLOT_WORK.slot_step = 72;
IL_44A:
                if ((gms_GMK_SLOT_REEL_STATUS_WORK.reel_extime & 1) == 0)
                {
                    if (gms_GMK_SLOT_REEL_STATUS_WORK.reel_extime == 4)
                    {
                        gms_GMK_SLOT_REEL_STATUS_WORK.reel_spd /= 2;
                    }
                    gms_GMK_SLOT_REEL_STATUS_WORK.reel_spd = -gms_GMK_SLOT_REEL_STATUS_WORK.reel_spd;
                }
                gms_GMK_SLOT_REEL_STATUS_WORK.reel_extime--;
                if (gms_GMK_SLOT_REEL_STATUS_WORK.reel_extime == 0)
                {
                    gms_GMK_SLOT_REEL_STATUS_WORK.reel     = ( short )(( int )AppMain.GMD_GMK_SLOT_REEL1KOMA_HEIGHT * gms_GMK_SLOT_REEL_STATUS_WORK.reel_target_pos);
                    gms_GMK_SLOT_REEL_STATUS_WORK.reel_spd = 0;
                    if (gms_GMK_SLOT_WORK.current_reel == 0)
                    {
                        gms_GMK_SLOT_WORK.timer     = gms_GMK_SLOT_WORK.timer_next;
                        gms_GMK_SLOT_WORK.timer    += ( int )(AppMain.mtMathRand() % 1);
                        gms_GMK_SLOT_WORK.slot_step = 20;
                    }
                    else if (gms_GMK_SLOT_WORK.current_reel == 1)
                    {
                        gms_GMK_SLOT_WORK.timer     = gms_GMK_SLOT_WORK.timer_next;
                        gms_GMK_SLOT_WORK.timer    += ( int )(AppMain.mtMathRand() % 1);
                        gms_GMK_SLOT_WORK.slot_step = 30;
                    }
                    else if (gms_GMK_SLOT_WORK.current_reel == 2)
                    {
                        if (gms_GMK_SLOT_WORK.lotresult == 9)
                        {
                            if (gms_GMK_SLOT_WORK.reel_status[0].reel_target_mark == gms_GMK_SLOT_WORK.reel_status[1].reel_target_mark && gms_GMK_SLOT_WORK.reel_status[0].reel_target_mark == gms_GMK_SLOT_WORK.reel_status[2].reel_target_mark)
                            {
                                gms_GMK_SLOT_WORK.lotresult = ( short )gms_GMK_SLOT_WORK.reel_status[0].reel_target_mark;
                            }
                            else
                            {
                                int num4 = 5;
                                for (int j = 0; j < 3; j++)
                                {
                                    if (gms_GMK_SLOT_WORK.reel_status[j].reel_target_mark == 4)
                                    {
                                        gms_GMK_SLOT_WORK.lotresult = ( short )num4;
                                        num4++;
                                    }
                                }
                            }
                        }
                        if (gms_GMK_SLOT_WORK.lotresult < 0 || gms_GMK_SLOT_WORK.lotresult == 9)
                        {
                            obj_work.ppFunc = AppMain.gmGmkSlotGameLose;
                        }
                        else
                        {
                            obj_work.ppFunc = AppMain.gmGmkSlotGameHit;
                        }
                    }
                }
            }
        }
        else
        {
            gms_GMK_SLOT_WORK.timer--;
        }
IL_825:
        if (gms_GMK_SLOT_WORK.slot_se_timer > 0)
        {
            gms_GMK_SLOT_WORK.slot_se_timer--;
        }
        for (int k = 0; k < 3; k++)
        {
            AppMain.GMS_GMK_SLOT_REEL_STATUS_WORK gms_GMK_SLOT_REEL_STATUS_WORK3 = gms_GMK_SLOT_WORK.reel_status[k];
            if (gms_GMK_SLOT_REEL_STATUS_WORK3.reel_spd != 0)
            {
                short num5 = (short)((int)gms_GMK_SLOT_REEL_STATUS_WORK3.reel + gms_GMK_SLOT_REEL_STATUS_WORK3.reel_spd);
                if (num5 / 4096 != gms_GMK_SLOT_REEL_STATUS_WORK3.reel / 4096 && ( int )(num5 & -4096) != gms_GMK_SLOT_REEL_STATUS_WORK3.reel_se && gms_GMK_SLOT_WORK.slot_se_timer <= 0)
                {
                    GmSound.PlaySE("Casino4");
                    gms_GMK_SLOT_WORK.slot_se_timer = 3;
                }
                gms_GMK_SLOT_REEL_STATUS_WORK3.reel_se = ( int )(num5 & -4096);
            }
        }
        AppMain.gmGmkSlot_ReelControl(gms_GMK_SLOT_WORK.reel_status[0]);
        AppMain.gmGmkSlot_ReelControl(gms_GMK_SLOT_WORK.reel_status[1]);
        AppMain.gmGmkSlot_ReelControl(gms_GMK_SLOT_WORK.reel_status[2]);
    }