TRANS_LAYER = 12
MAIN_LAYER = 10

reg_fliplist = ['reg_ollie', 'reg_nollie', 'reg_nollie', 'reg_kickflip', 'reg_varial_kickflip', 'reg_nollie_varial_kickflip', 'reg_nollie_varial_heelflip', 'fak_nollie_varial_heelflip', 'reg_varial_heelflip', 'reg_nollie_kickflip',  'reg_heelflip', 'reg_nollie_heelflip', 'reg_shuvit', 'reg_shuvit360', 'reg_fsshuvit360', 'reg_nollie_shuvit', 'fak_nollie_shuvit', 'reg_fsshuvit', 'fak_fsshuvit',  'reg_nollie_fsshuvit', 'reg_nollie_shuvit360', 'reg_nollie_fsshuvit', 'reg_brfoot', 'reg_frfoot', 'reg_blfoot', 'reg_flfoot', 'reg_inward_heelflip', 'reg_hardflip', 'reg_nollie_inward_heelflip', 'reg_nollie_hardflip', 'reg_offboard', 'reg_nollie_fsshuvit_360'] 
fak_fliplist = ['fak_ollie', 'fak_nollie', 'fak_nollie', 'fak_kickflip', 'fak_varial_kickflip', 'fak_nollie_varial_kickflip', 'fak_nollie_varial_heelflip', 'fak_nollie_varial_heelflip', 'fak_varial_heelflip', 'fak_nollie_kickflip',  'fak_heelflip','fak_nollie_heelflip', 'fak_shuvit', 'fak_shuvit360', 'fak_fsshuvit360', 'fak_nollie_shuvit', 'fak_nollie_shuvit', 'fak_fsshuvit', 'fak_fsshuvit',  'fak_nollie_fsshuvit', 'fak_nollie_shuvit360', 'fak_nollie_fsshuvit', 'fak_brfoot', 'fak_frfoot', 'fak_blfoot', 'fak_flfoot', 'fak_inward_heelflip', 'fak_hardflip', 'fak_nollie_inward_heelflip', 'fak_nollie_hardflip', 'fak_offboard', 'fak_nollie_fsshuvit_360']     


class a_class:
    pass
#------------------------------
reg_roll = a_class()
reg_roll.name = 'reg_roll'
reg_roll.parent = []
#reg_roll.siblings['fak_roll']
reg_roll.s_action = 'nreg'
reg_roll.s_se = [1, 60]
reg_roll.d_action = 'a_reg'
reg_roll.d_se = [0, 10]
reg_roll.t_action = 'a_reg'
reg_roll.t_se = [0, 10]
reg_roll.stateLife = 1
reg_roll.layer = MAIN_LAYER
reg_roll.speed = 1
reg_roll.mode = 0
#------------------------------
reg_opos = a_class()
reg_opos.name = 'reg_opos'
reg_opos.parent = ['reg_roll']
reg_opos.parentTrans = 'toreg_opos_to_roll'
reg_opos.requestAction = 'reg_opos'
#reg_roll.siblings['']
reg_opos.s_action = 'nopos'
reg_opos.s_se = [1, 40]
reg_opos.d_action = 'a_reg'
reg_opos.d_se = [0, 10]
reg_opos.t_action = 'a_reg'
reg_opos.t_se = [0, 10]
reg_opos.stateLife = 1
reg_opos.layer = MAIN_LAYER
reg_opos.speed = 1
reg_opos.mode = 0
#------------------------------
reg_left = a_class()
reg_left.name = 'reg_left'
reg_left.parent = ['reg_roll']
reg_left.parentTrans = 'toreg_left_to_roll'
reg_left.requestAction = 'reg_turnLeft'
reg_left.s_action = 'nreg_left'
reg_left.s_se = [10, 10]
reg_left.d_action = 'a_reg_left'
reg_left.d_se = [0, 10]
reg_left.t_action = 'a_reg'
reg_left.t_se = [0, 10]
reg_left.stateLife = 1
reg_left.layer = MAIN_LAYER
reg_left.speed = 1
reg_left.mode = 0
#------------------------------
reg_roll_to_opos = a_class()
reg_roll_to_opos.name = 'reg_roll_to_opos'
reg_roll_to_opos.parent = ['reg_roll']
reg_roll_to_opos.parentTrans = 'toreg_opos'
reg_roll_to_opos.s_action = 'noposin'
reg_roll_to_opos.s_se = [1, 20]
reg_roll_to_opos.d_action = 'a_reg'
reg_roll_to_opos.d_se = [0, 10]
reg_roll_to_opos.t_action = 'a_reg'
reg_roll_to_opos.t_se = [0, 10]
reg_roll_to_opos.stateLife = 1
reg_roll_to_opos.layer = TRANS_LAYER
reg_roll_to_opos.speed = 1
reg_roll_to_opos.mode = 0
#------------------------------
reg_opos_to_roll = a_class()
reg_opos_to_roll.name = 'reg_opos_to_roll'
reg_opos_to_roll.parent = ['reg_roll']
reg_opos_to_roll.s_action = 'noposin'
reg_opos_to_roll.s_se = [20, 1]
reg_opos_to_roll.d_action = 'a_reg'
reg_opos_to_roll.d_se = [0, 10]
reg_opos_to_roll.t_action = 'a_reg'
reg_opos_to_roll.t_se = [0, 10]
reg_opos_to_roll.stateLife = 1
reg_opos_to_roll.layer = TRANS_LAYER
reg_opos_to_roll.speed = 1
reg_opos_to_roll.mode = 0
#------------------------------
reg_roll_to_left = a_class()
reg_roll_to_left.name = 'reg_roll_to_left'
reg_roll_to_left.parent = ['reg_roll']
reg_roll_to_left.s_action = 'nreg_left'
reg_roll_to_left.s_se = [1, 10]
reg_roll_to_left.d_action = 'a_reg'
reg_roll_to_left.d_se = [0, 10]
reg_roll_to_left.t_action = 'a_reg'
reg_roll_to_left.t_se = [0, 10]
reg_roll_to_left.stateLife = 1
reg_roll_to_left.layer = TRANS_LAYER
reg_roll_to_left.speed = .5
reg_roll_to_left.mode = 0
#------------------------------
reg_left_to_roll = a_class()
reg_left_to_roll.name = 'reg_left_to_roll'
reg_left_to_roll.parent = ['reg_roll']
reg_left_to_roll.s_action = 'nreg_left'
reg_left_to_roll.s_se = [10, 1]
reg_left_to_roll.d_action = 'a_reg'
reg_left_to_roll.d_se = [0, 10]
reg_left_to_roll.t_action = 'a_reg'
reg_left_to_roll.t_se = [0, 10]
reg_left_to_roll.stateLife = 1
reg_left_to_roll.layer = TRANS_LAYER
reg_left_to_roll.speed = .5
reg_left_to_roll.mode = 0
#------------------------------
reg_left_to_roll = a_class()
reg_left_to_roll.name = 'reg_ollie'
reg_left_to_roll.parent = ['reg_roll']
reg_left_to_roll.s_action = 'reg_ollie'
reg_left_to_roll.s_se = [1, 20]
reg_left_to_roll.d_action = 'a_reg_ollie'
reg_left_to_roll.d_se = [1, 20]
reg_left_to_roll.t_action = 't_reg_ollie'
reg_left_to_roll.t_se = [1, 20]
reg_left_to_roll.stateLife = 1
reg_left_to_roll.layer = TRANS_LAYER
reg_left_to_roll.speed = .5
reg_left_to_roll.mode = 0
#------------------------------

#reg_ollie