Exemplo n.º 1
0
 // Token: 0x06000066 RID: 102 RVA: 0x00005BC4 File Offset: 0x00003DC4
 private static void gmGmkSlotGameHit_210(OBS_OBJECT_WORK obj_work)
 {
     AppMain.GMS_GMK_SLOT_WORK gms_GMK_SLOT_WORK = (AppMain.GMS_GMK_SLOT_WORK)obj_work;
     AppMain.slot_start_player.obj_work.pos.x = gms_GMK_SLOT_WORK.ppos_x + (( int )AppMain.tbl_dam_ofst_xy[gms_GMK_SLOT_WORK.timer % 8][0] << 12);
     AppMain.slot_start_player.obj_work.pos.y = gms_GMK_SLOT_WORK.ppos_y + (( int )AppMain.tbl_dam_ofst_xy[gms_GMK_SLOT_WORK.timer % 8][1] << 12);
     GmPlayer.RingDec(AppMain.slot_start_player, 1);
     if (gms_GMK_SLOT_WORK.timer % 12 == 0)
     {
         GmSound.PlaySE("Damage2");
     }
     gms_GMK_SLOT_WORK.timer--;
     if (gms_GMK_SLOT_WORK.timer <= 0)
     {
         AppMain.slot_start_player.obj_work.pos.x = gms_GMK_SLOT_WORK.ppos_x;
         AppMain.slot_start_player.obj_work.pos.y = gms_GMK_SLOT_WORK.ppos_y;
         AppMain.slot_start_call = -1;
         obj_work.ppFunc         = AppMain.gmGmkSlotStay;
     }
 }