@Subroutine
def PreInit():
    Unknown12019('75636100000000000000000000000000')

@Subroutine
def MatchInit():
    Health(18000)
    Unknown12038(23000)
    Unknown12034(33)
    Unknown12036(-1500)
    AirBDashDuration(13)
    Unknown12037(-1800)
    Unknown12024(2)
    Unknown13039(1)
    Unknown2049(1)
    Move_Register('AutoFDash', 0x0)
    Unknown14009(6)
    Move_AirGround_(0x2000)
    Move_Input_(0x78)
    Unknown14013('CmnActFDash')
    Move_EndRegister()
    Move_Register('NmlAtk5A', 0x7)
    MoveMaxChainRepeat(1)
    Unknown14020(1)
    Unknown14015(0, 450000, -150000, 150000, 1000, 50)
    Move_EndRegister()
    Move_Register('NmlAtk5A2nd', 0x7)
    Unknown14005(1)
    Unknown14015(0, 450000, -150000, 150000, 1000, 50)
    Move_EndRegister()
    Move_Register('NmlAtk5A3rd', 0x7)
    Unknown14005(1)
    Unknown14015(0, 450000, -150000, 150000, 1000, 50)
    Move_EndRegister()
    Move_Register('NmlAtk5A4th', 0x7)
    Unknown14005(1)
    Unknown14015(0, 450000, -150000, 150000, 1000, 50)
    Move_EndRegister()
    Move_Register('NmlAtk2A', 0x4)
    MoveMaxChainRepeat(1)
    Unknown14020(1)
    Unknown15009()
    Unknown14015(0, 280000, -100000, 100000, 1000, 25)
    Move_EndRegister()
    Move_Register('NmlAtk2A_Renda', 0x4)
    Unknown14005(1)
    MoveMaxChainRepeat(2)
    Unknown15009()
    Unknown14015(0, 280000, -100000, 100000, 1000, 25)
    Move_EndRegister()
    Move_Register('NmlAtk5B', 0x19)
    MoveMaxChainRepeat(1)
    Unknown14020(1)
    Unknown14015(0, 1500000, -100000, 200000, 100, 50)
    Move_EndRegister()
    Move_Register('NmlAtk5B2nd', 0x19)
    Unknown14005(1)
    Unknown14015(0, 1500000, -100000, 200000, 100, 50)
    Move_EndRegister()
    Move_Register('NmlAtk2B', 0x16)
    MoveMaxChainRepeat(1)
    Unknown14020(1)
    Unknown15021(2000)
    Unknown15013(250)
    Unknown14015(0, 400000, 0, 300000, 750, 10)
    Move_EndRegister()
    Move_Register('CmnActCrushAttack', 0x66)
    Unknown15008()
    Unknown14015(0, 400000, -100000, 200000, 500, 25)
    Move_EndRegister()
    Move_Register('NmlAtk2C', 0x28)
    MoveMaxChainRepeat(1)
    Unknown14020(1)
    Unknown15009()
    Unknown14015(0, 700000, -100000, 200000, 250, 10)
    Move_EndRegister()
    Move_Register('CmnActChangePartnerQuickOut', 0x63)
    Move_EndRegister()
    Move_Register('NmlAtkAIR5A', 0x10)
    MoveMaxChainRepeat(1)
    Unknown14015(-150000, 450000, -150000, 170000, 1000, 50)
    Move_EndRegister()
    Move_Register('NmlAtkAIR5A2nd', 0x10)
    MoveMaxChainRepeat(1)
    Unknown14005(1)
    Unknown14015(-100000, 450000, -150000, 170000, 1000, 50)
    Move_EndRegister()
    Move_Register('NmlAtkAIR5B', 0x22)
    MoveMaxChainRepeat(1)
    Unknown14015(-100000, 700000, -600000, 100000, 50, 20)
    Move_EndRegister()
    Move_Register('NmlAtkAIR5B2nd', 0x22)
    Unknown14005(1)
    Unknown14015(-100000, 700000, -600000, 100000, 50, 20)
    Move_EndRegister()
    Move_Register('NmlAtkAIR5C', 0x34)
    Move_EndRegister()
    Move_Register('NmlAtkThrow', 0x5d)
    Unknown15010()
    Unknown15013(1)
    Unknown14015(0, 200000, -200000, 200000, 100, 0)
    Move_EndRegister()
    Move_Register('NmlAtkBackThrow', 0x61)
    Unknown15010()
    Unknown15013(1)
    Unknown14015(0, 200000, -200000, 200000, 100, 0)
    Move_EndRegister()
    Move_Register('RotationShotA', INPUT_SPECIALMOVE)
    Move_AirGround_(0x2000)
    Move_AirGround_(0x3008)
    Move_Input_(INPUT_236)
    Move_Input_(INPUT_PRESS_A)
    Unknown14015(300000, 750000, -150000, 250000, 100, 50)
    Move_EndRegister()
    Move_Register('RotationShotB', INPUT_SPECIALMOVE)
    Move_AirGround_(0x2000)
    Move_AirGround_(0x3008)
    Move_Input_(INPUT_236)
    Move_Input_(INPUT_PRESS_B)
    Unknown14015(600000, 1100000, -150000, 250000, 100, 50)
    Move_EndRegister()
    Move_Register('RotationShotEX', INPUT_SPECIALMOVE)
    Move_AirGround_(0x3086)
    Move_AirGround_(0x2000)
    Move_AirGround_(0x3008)
    Move_Input_(INPUT_236)
    Move_Input_(INPUT_PRESS_C)
    Unknown14015(200000, 800000, -200000, 400000, 50, 20)
    Move_EndRegister()
    Move_Register('PushUpShotA', INPUT_SPECIALMOVE)
    Move_AirGround_(0x2000)
    Move_Input_(INPUT_214)
    Move_Input_(INPUT_PRESS_A)
    Unknown15009()
    Unknown14015(150000, 450000, -200000, 100000, 100, 50)
    Move_EndRegister()
    Move_Register('PushUpShotB', INPUT_SPECIALMOVE)
    Move_AirGround_(0x2000)
    Move_Input_(INPUT_214)
    Move_Input_(INPUT_PRESS_B)
    Unknown15009()
    Unknown14015(450000, 750000, -200000, 100000, 100, 50)
    Move_EndRegister()
    Move_Register('PushUpShotC', INPUT_SPECIALMOVE)
    Move_AirGround_(0x2000)
    Move_Input_(INPUT_214)
    Move_Input_(INPUT_PRESS_C)
    Unknown15009()
    Unknown14015(750000, 1050000, -200000, 100000, 100, 50)
    Move_EndRegister()
    Move_Register('AirRotationShotA', INPUT_SPECIALMOVE)
    Move_AirGround_(0x2001)
    Move_AirGround_(0x3008)
    Move_Input_(INPUT_236)
    Move_Input_(INPUT_PRESS_A)
    Unknown14015(300000, 750000, -150000, 250000, 100, 50)
    Move_EndRegister()
    Move_Register('AirRotationShotB', INPUT_SPECIALMOVE)
    Move_AirGround_(0x2001)
    Move_AirGround_(0x3008)
    Move_Input_(INPUT_236)
    Move_Input_(INPUT_PRESS_B)
    Unknown14015(600000, 1100000, -150000, 250000, 100, 50)
    Move_EndRegister()
    Move_Register('AirRotationShotEX', INPUT_SPECIALMOVE)
    Move_AirGround_(0x3086)
    Move_AirGround_(0x2001)
    Move_AirGround_(0x3008)
    Move_Input_(INPUT_236)
    Move_Input_(INPUT_PRESS_C)
    Unknown14015(200000, 800000, -200000, 400000, 50, 20)
    Move_EndRegister()
    Move_Register('CmnActInvincibleAttack', 0x64)
    Unknown14015(-350000, 350000, -100000, 200000, 50, 0)
    Move_EndRegister()
    Move_Register('UltimateShot', 0x68)
    Move_AirGround_(0x2000)
    Move_AirGround_(0x3089)
    Move_Input_(INPUT_236)
    Move_Input_(0xde)
    Unknown14015(100000, 1200000, -200000, 400000, 10, 0)
    Move_EndRegister()
    Move_Register('UltimateShot_OD', 0x68)
    Move_AirGround_(0x2000)
    Move_AirGround_(0x3089)
    Move_AirGround_(0x3081)
    Move_Input_(INPUT_236)
    Move_Input_(0xde)
    Unknown14015(100000, 1200000, -200000, 400000, 10, 0)
    Move_EndRegister()
    Move_Register('PushUpShotDD', 0x68)
    Move_AirGround_(0x2000)
    Move_AirGround_(0x3089)
    Move_AirGround_(0x300f)
    Move_Input_(INPUT_214)
    Move_Input_(0xde)
    Unknown14015(100000, 1200000, -200000, 100000, 10, 0)
    Unknown15000(0)
    Move_EndRegister()
    Move_Register('PushUpShotDD_OD', 0x68)
    Move_AirGround_(0x2000)
    Move_AirGround_(0x3089)
    Move_AirGround_(0x3081)
    Move_AirGround_(0x300f)
    Move_Input_(INPUT_214)
    Move_Input_(0xde)
    Unknown14015(100000, 1200000, -200000, 100000, 10, 0)
    Move_EndRegister()
    Move_Register('AstralHeat', 0x69)
    Move_AirGround_(0x304a)
    Move_AirGround_(0x2000)
    Move_Input_(0xcd)
    Move_Input_(0xde)
    Move_EndRegister()
    Unknown15024('NmlAtk5A', 'NmlAtk5A2nd', 10000000)
    Unknown15024('NmlAtk5A2nd', 'NmlAtk5A3rd', 10000000)
    Unknown15024('NmlAtk5A3rd', 'NmlAtk5A4th', 10000000)
    Unknown15024('NmlAtk5B', 'NmlAtk5A2nd', 10000000)
    Unknown15024('NmlAtkAIR5A', 'NmlAtkAIR5C', 10000000)
    Unknown15024('NmlAtkAIR5C', 'NmlAtkAIR5B', 10000000)
    Unknown12018(0, 'Action_330_00')
    Unknown12018(1, 'Action_330_01')
    Unknown12018(2, 'Action_330_04')
    Unknown12018(3, 'Action_330_05')
    Unknown12018(4, 'Action_330_06')
    Unknown12018(5, 'Action_330_07')
    Unknown12018(6, 'Action_330_08')
    Unknown12018(7, 'Action_017_00')
    Unknown12018(8, 'Action_017_00ex00')
    Unknown12018(9, 'Action_019_00')
    Unknown12018(10, 'Action_330_00')
    Unknown12018(11, 'Action_330_01')
    Unknown12018(12, 'Action_330_05')
    Unknown12018(13, 'Action_330_08')
    Unknown12018(14, 'Action_351_00')
    Unknown12018(15, 'Action_290_00')
    Unknown12018(16, 'Action_300_01')
    Unknown12018(17, 'Action_301_01')
    Unknown12018(18, 'Action_302_01')
    Unknown12018(25, 'Action_326_00')
    Unknown12018(26, 'Action_326_01')
    Unknown12018(27, 'Action_326_03')
    Unknown12018(28, 'Action_351_05')
    Unknown12018(29, 'Action_292_00')
    Unknown12018(24, 'Action_348_00')
    Unknown7010(0, 'uca000')
    Unknown7010(1, 'uca001')
    Unknown7010(2, 'uca002')
    Unknown7010(3, 'uca003')
    Unknown7010(4, 'uca004')
    Unknown7010(5, 'uca005')
    Unknown7010(6, 'uca006')
    Unknown7010(7, 'uca007')
    Unknown7010(8, 'uca008')
    Unknown7010(9, 'uca009')
    Unknown7010(10, 'uca010')
    Unknown7010(15, 'uca011')
    Unknown7010(16, 'uca012')
    Unknown7010(17, 'uca013')
    Unknown7010(18, 'uca014')
    Unknown7010(19, 'uca015')
    Unknown7010(20, 'uca016')
    Unknown7010(21, 'uca017')
    Unknown7010(22, 'uca018')
    Unknown7010(23, 'uca019')
    Unknown7010(24, 'uca020')
    Unknown7010(25, 'uca021')
    Unknown7010(28, 'uca022')
    Unknown7010(29, 'uca023')
    Unknown7010(30, 'uca024')
    Unknown7010(31, 'uca025')
    Unknown7010(32, 'uca026')
    Unknown7010(33, 'uca027')
    Unknown7010(34, 'uca028')
    Unknown7010(35, 'uca029')
    Unknown7010(36, 'uca030')
    Unknown7010(37, 'uca031')
    Unknown7010(39, 'uca032')
    Unknown7010(42, 'uca033')
    Unknown7010(43, 'uca034')
    Unknown7010(44, 'uca035')
    Unknown7010(45, 'uca036')
    Unknown7010(46, 'uca037')
    Unknown7010(47, 'uca038')
    Unknown7010(48, 'uca039')
    Unknown7010(49, 'uca040')
    Unknown7010(50, 'uca041')
    Unknown7010(52, 'uca042')
    Unknown7010(53, 'uca043')
    Unknown7010(54, 'uca100_0')
    Unknown7010(55, 'uca100_1')
    Unknown7010(56, 'uca100_2')
    Unknown7010(63, 'uca101_0')
    Unknown7010(64, 'uca101_1')
    Unknown7010(65, 'uca101_2')
    Unknown7010(57, 'uca102_0')
    Unknown7010(58, 'uca102_1')
    Unknown7010(59, 'uca102_2')
    Unknown7010(66, 'uca103_0')
    Unknown7010(67, 'uca103_1')
    Unknown7010(68, 'uca103_2')
    Unknown7010(60, 'uca104_0')
    Unknown7010(61, 'uca104_1')
    Unknown7010(62, 'uca104_2')
    Unknown7010(69, 'uca105_0')
    Unknown7010(70, 'uca105_1')
    Unknown7010(71, 'uca105_2')
    Unknown7010(72, 'uca150')
    Unknown7010(73, 'uca151')
    Unknown7010(74, 'uca152')
    Unknown7010(85, 'uca153')
    Unknown7010(87, 'uca154')
    Unknown7010(88, 'uca155')
    Unknown7010(96, 'uca161_0')
    Unknown7010(97, 'uca161_1')
    Unknown7010(92, 'uca162_0')
    Unknown7010(93, 'uca162_1')
    Unknown7010(98, 'uca163_0')
    Unknown7010(99, 'uca163_1')
    Unknown7010(100, 'uca164_0')
    Unknown7010(101, 'uca164_1')
    Unknown7010(105, 'uca165_0')
    Unknown7010(106, 'uca165_1')
    Unknown7010(102, 'uca166_0')
    Unknown7010(103, 'uca166_1')
    Unknown7010(90, 'uca167_0')
    Unknown7010(91, 'uca167_1')
    Unknown7010(107, 'uca168_0')
    Unknown7010(108, 'uca168_1')
    Unknown7010(110, 'uca169_0')
    Unknown7010(111, 'uca169_1')
    Unknown7010(94, 'uca400_0')
    Unknown7010(95, 'uca400_1')
    Unknown12059('00000000436d6e416374496e76696e6369626c6541747461636b00000000000000000000')
    Unknown12059('010000004e6d6c41746b3241000000000000000000000000000000000000000000000000')
    Unknown12059('02000000556c74696d61746553686f740000000000000000000000000000000000000000')
    Unknown12059('03000000556c74696d61746553686f745f4f440000000000000000000000000000000000')
    Unknown12059('0400000050757368557053686f7444440000000000000000000000000000000000000000')
    Unknown12059('0500000050757368557053686f7444445f4f440000000000000000000000000000000000')
    Unknown12059('06000000436d6e4163744244617368000000000000000000000000000000000000000000')
    Unknown12059('070000004e6d6c41746b5468726f77000000000000000000000000000000000000000000')
    Unknown12059('08000000436d6e4163744368616e6765506172746e6572517569636b4f75740000000000')

@Subroutine
def OnFrameStep():
    if (not SLOT_81):
        if (not SLOT_75):
            callSubroutine('DissolveAllDelete')

@Subroutine
def OnLanding():
    Unknown21015('4a425f4566660000000000000000000000000000000000000000000000000000fd26000000000000')
    Unknown21015('4a435f4566660000000000000000000000000000000000000000000000000000fd26000000000000')

@Subroutine
def OnEnemyComboBreak():
    if SLOT_62:
        SLOT_62 = 0

@Subroutine
def LifeDrain():
    if (not SLOT_62):
        op(3, 2, 161, 0, 100)
        op(2, 2, 0, 0, 40)
        if (SLOT_0 <= 500):
            Unknown21000(500)
            Unknown30030(500)
        else:
            Unknown30086(40)
    else:
        op(3, 2, 161, 0, 100)
        op(2, 2, 0, 0, 20)
        if (SLOT_0 <= 500):
            Unknown30078(500)
        else:
            Unknown30086(20)
    SLOT_62 = (SLOT_62 + 1)

@State
def CmnActStand():
    Unknown23145('CmnActBDash')
    if SLOT_0:
        _gotolabel(1)
    if (not 
    if (not 
    if (not 
    if (not 
    if (not Unknown23145('CmnActChangePartnerIn')):
        Unknown23145('CmnActChangePartnerBurst')):
        Unknown23145('CmnActCrushAttack')):
        Unknown23145('NmlAtkAIR5B')):
        Unknown23145('AirRotationShotA')):
        Unknown23145('AirRotationShotB')
    if SLOT_0:
        _gotolabel(2)
    label(0)
    sprite('Action_000_00', 7)
    sprite('Action_000_01', 7)
    sprite('Action_000_02', 8)
    sprite('Action_000_03', 8)
    sprite('Action_000_04', 10)
    sprite('Action_000_05', 9)
    sprite('Action_000_06', 11)
    sprite('Action_000_07', 8)
    sprite('Action_000_08', 7)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 7)
    sprite('Action_000_11', 7)
    sprite('Action_000_12', 8)
    sprite('Action_000_13', 7)
    sprite('Action_000_14', 7)
    loopRest()
    random_(1, 2, 87)
    if SLOT_0:
        _gotolabel(0)
    random_(0, 2, 122)
    if SLOT_0:
        _gotolabel(0)
    random_(2, 0, 90)
    if SLOT_0:
        _gotolabel(0)
    sprite('Action_000_16', 6)
    SLOT_88 = 960
    sprite('Action_000_17', 7)
    SFX_1('uca000')
    sprite('Action_000_18', 4)
    sprite('Action_000_19', 5)
    sprite('Action_000_20', 9)
    sprite('Action_000_21', 7)
    sprite('Action_000_22', 4)
    sprite('Action_000_23', 5)
    sprite('Action_000_24', 6)
    sprite('Action_000_25', 7)
    sprite('Action_000_26', 5)
    sprite('Action_000_27', 4)
    sprite('Action_000_28', 4)
    loopRest()
    gotoLabel(0)
    label(1)
    sprite('Action_221_00', 3)
    loopRest()
    label(2)
    sprite('Action_222_00', 3)
    sprite('Action_223_00', 3)
    sprite('Action_224_00', 3)
    gotoLabel(0)

@State
def CmnActStandTurn():
    sprite('Action_015_00', 5)
    sprite('Action_015_01', 4)

@State
def CmnActStand2Crouch():
    sprite('Action_012_00', 2)
    sprite('Action_012_01', 3)
    sprite('Action_012_02', 3)

@State
def CmnActCrouch():
    sprite('Action_013_00', 30)
    label(0)
    sprite('Action_013_01', 5)
    sprite('Action_013_02', 10)
    sprite('Action_013_03', 10)
    sprite('Action_013_04', 15)
    sprite('Action_013_05', 3)
    sprite('Action_013_06', 5)
    sprite('Action_013_07', 5)
    sprite('Action_013_08', 5)
    sprite('Action_013_09', 10)
    sprite('Action_013_10', 10)
    sprite('Action_013_11', 15)
    sprite('Action_013_12', 7)
    sprite('Action_013_13', 5)
    sprite('Action_013_14', 5)
    loopRest()
    gotoLabel(0)

@State
def CmnActCrouchTurn():
    sprite('Action_016_00', 5)
    sprite('Action_016_01', 4)

@State
def CmnActCrouch2Stand():
    sprite('Action_014_00', 3)
    sprite('Action_014_01', 3)
    sprite('Action_014_02', 3)
    sprite('Action_014_03', 3)
    sprite('Action_222_00', 3)
    sprite('Action_223_00', 3)
    sprite('Action_224_00', 3)

@State
def CmnActJumpPre():
    if SLOT_16:
        _gotolabel(1)
    if SLOT_15:
        _gotolabel(2)
    label(0)
    sprite('Action_036_00', 4)
    ExitState()
    label(1)
    sprite('Action_035_00', 4)
    ExitState()
    label(2)
    sprite('Action_037_00', 4)
    ExitState()

@State
def CmnActJumpUpper():
    if SLOT_16:
        _gotolabel(1)
    if SLOT_15:
        _gotolabel(2)
    label(0)
    sprite('Action_036_01', 3)
    loopRest()
    gotoLabel(0)
    label(1)
    sprite('Action_035_01', 3)
    loopRest()
    gotoLabel(1)
    label(2)
    sprite('Action_037_01', 3)
    loopRest()
    gotoLabel(2)

@State
def CmnActJumpUpperEnd():
    if SLOT_16:
        _gotolabel(1)
    if SLOT_15:
        _gotolabel(2)
    label(0)
    sprite('Action_036_02', 3)
    sprite('Action_036_03', 3)
    sprite('Action_036_04', 3)
    sprite('Action_036_05', 3)
    loopRest()
    ExitState()
    label(1)
    sprite('Action_035_02', 3)
    sprite('Action_035_03', 3)
    sprite('Action_035_04', 3)
    sprite('Action_035_05', 3)
    loopRest()
    ExitState()
    label(2)
    sprite('Action_037_02', 3)
    sprite('Action_037_03', 3)
    sprite('Action_037_04', 3)
    sprite('Action_037_05', 3)
    loopRest()
    ExitState()

@State
def CmnActJumpDown():
    if SLOT_16:
        _gotolabel(1)
    if SLOT_15:
        _gotolabel(2)
    label(0)
    sprite('Action_036_06', 3)
    loopRest()
    gotoLabel(3)
    label(1)
    sprite('Action_035_06', 3)
    loopRest()
    gotoLabel(3)
    label(2)
    sprite('Action_037_06', 3)
    loopRest()
    gotoLabel(3)
    label(3)
    sprite('Action_022_00', 3)
    sprite('Action_022_01', 3)
    loopRest()
    gotoLabel(3)

@State
def CmnActJumpLanding():
    sprite('Action_023_00', 2)
    sprite('Action_023_01', 3)
    sprite('Action_023_02', 5)
    sprite('Action_023_03', 5)
    sprite('Action_222_00', 3)
    sprite('Action_223_00', 3)
    sprite('Action_224_00', 3)

@State
def CmnActLandingStiffLoop():
    sprite('Action_023_00', 2)
    sprite('Action_023_01', 2)
    sprite('Action_023_02', 32767)

@State
def CmnActLandingStiffEnd():
    sprite('Action_023_02', 3)
    sprite('Action_023_03', 3)
    sprite('Action_222_00', 3)
    sprite('Action_223_00', 3)
    sprite('Action_224_00', 3)

@State
def CmnActFWalk():
    label(0)
    sprite('Action_010_00', 5)
    sprite('Action_010_01', 5)
    sprite('Action_010_02', 5)
    SFX_FOOTSTEP_(100, 1, 1)
    sprite('Action_010_03', 5)
    sprite('Action_010_04', 5)
    sprite('Action_010_05', 5)
    sprite('Action_010_06', 5)
    sprite('Action_010_07', 5)
    sprite('Action_010_08', 5)
    SFX_FOOTSTEP_(100, 1, 1)
    sprite('Action_010_09', 5)
    sprite('Action_010_10', 5)
    sprite('Action_010_11', 5)
    loopRest()
    gotoLabel(0)

@State
def CmnActBWalk():
    label(0)
    sprite('Action_011_00', 5)
    sprite('Action_011_01', 5)
    sprite('Action_011_02', 5)
    sprite('Action_011_03', 5)
    SFX_FOOTSTEP_(100, 1, 1)
    sprite('Action_011_04', 5)
    sprite('Action_011_05', 5)
    sprite('Action_011_06', 5)
    sprite('Action_011_07', 5)
    sprite('Action_011_08', 5)
    SFX_FOOTSTEP_(100, 1, 1)
    sprite('Action_011_09', 5)
    sprite('Action_011_10', 5)
    sprite('Action_011_11', 5)
    loopRest()
    gotoLabel(0)

@State
def CmnActFDash():
    sprite('Action_010_00', 2)
    sprite('Action_010_01', 2)
    sprite('Action_045_00', 2)
    sprite('Action_045_01', 2)
    label(0)
    sprite('Action_045_02', 4)
    sprite('Action_045_03', 4)
    Unknown8006(100, 1, 1)
    sprite('Action_045_04', 4)
    sprite('Action_045_05', 4)
    sprite('Action_045_06', 4)
    sprite('Action_045_07', 4)
    Unknown8006(100, 1, 1)
    sprite('Action_045_08', 4)
    sprite('Action_045_09', 4)
    loopRest()
    gotoLabel(0)

@State
def CmnActFDashStop():
    sprite('Action_045_11', 2)
    sprite('Action_045_12', 2)
    sprite('Action_045_13', 3)
    sprite('Action_045_14', 5)
    sprite('Action_045_15', 3)
    sprite('Action_045_16', 2)

@State
def CmnActBDash():

    def upon_IMMEDIATE():
        Unknown2042(1)
        Unknown28(8, '_NEUTRAL')
        Unknown22008(7)
        Unknown1084(1)
        sendToLabelUpon(2, 1)
        Unknown23001(100, 0)
        Unknown23076()
    sprite('Action_046_00', 3)
    sprite('Action_046_01', 3)
    physicsXImpulse(-18000)
    physicsYImpulse(6300)
    setGravity(1550)
    Unknown8002()
    sprite('Action_046_02', 3)
    loopRest()
    label(0)
    sprite('Action_046_03', 2)
    sprite('Action_046_04', 2)
    loopRest()
    gotoLabel(0)
    label(1)
    sprite('Action_046_05', 2)
    sprite('Action_046_06', 4)
    Unknown1084(1)
    Unknown8000(100, 1, 1)
    sprite('Action_046_07', 2)
    sprite('Action_046_08', 4)
    sprite('Action_046_09', 3)

@State
def CmnActBDashLanding():
    pass

@State
def CmnActAirFDash():
    sprite('Action_068_01', 3)
    sprite('Action_068_01', 3)
    sprite('Action_068_02', 3)
    sprite('Action_068_03', 3)
    sprite('Action_068_04', 3)
    sprite('Action_068_05', 3)
    sprite('Action_068_06', 3)
    sprite('Action_068_07', 3)
    sprite('keep', 1)
    enterState('AirFDashRigor')

@State
def AirFDashRigor():

    def upon_IMMEDIATE():
        Unknown13014(1)
        Unknown13015(1)
        Unknown13031(1)
        Unknown13019(1)
        Unknown28(2, 'CmnActJumpLanding')
    sprite('Action_068_08', 3)
    sprite('Action_068_09', 3)
    sprite('Action_068_10', 32767)

@State
def CmnActAirBDash():
    sprite('Action_046_00', 3)
    physicsYImpulse(12000)
    sprite('Action_046_01', 3)
    sprite('Action_046_02', 3)
    loopRest()
    label(0)
    sprite('Action_046_03', 2)
    sprite('Action_046_04', 2)
    loopRest()
    gotoLabel(0)

@State
def CmnActHitStandLv1():
    sprite('Action_300_00', 1)
    sprite('Action_300_00', 1)
    sprite('Action_300_01', 2)

@State
def CmnActHitStandLv2():
    sprite('Action_300_00', 1)
    sprite('Action_300_00', 1)
    sprite('Action_300_01', 2)
    sprite('Action_300_01', 2)

@State
def CmnActHitStandLv3():
    sprite('Action_303_00', 1)
    sprite('Action_303_01', 1)
    sprite('Action_303_02', 3)
    sprite('Action_303_03', 3)

@State
def CmnActHitStandLv4():
    sprite('Action_303_00', 1)
    sprite('Action_303_01', 1)
    sprite('Action_303_02', 4)
    sprite('Action_303_03', 4)

@State
def CmnActHitStandLv5():
    sprite('Action_303_00', 1)
    sprite('Action_303_01', 1)
    sprite('Action_303_02', 5)
    sprite('Action_303_03', 5)

@State
def CmnActHitStandLowLv1():
    sprite('Action_301_00', 1)
    sprite('Action_301_00', 1)
    sprite('Action_301_01', 2)

@State
def CmnActHitStandLowLv2():
    sprite('Action_301_00', 1)
    sprite('Action_301_00', 1)
    sprite('Action_301_01', 2)
    sprite('Action_301_01', 2)

@State
def CmnActHitStandLowLv3():
    sprite('Action_304_00', 1)
    sprite('Action_304_01', 1)
    sprite('Action_304_02', 3)
    sprite('Action_304_03', 3)

@State
def CmnActHitStandLowLv4():
    sprite('Action_304_00', 1)
    sprite('Action_304_01', 1)
    sprite('Action_304_02', 4)
    sprite('Action_304_03', 4)

@State
def CmnActHitStandLowLv5():
    sprite('Action_303_00', 1)
    sprite('Action_303_01', 1)
    sprite('Action_303_02', 5)
    sprite('Action_303_03', 5)

@State
def CmnActHitCrouchLv1():
    sprite('Action_302_00', 1)
    sprite('Action_302_00', 1)
    sprite('Action_302_01', 2)

@State
def CmnActHitCrouchLv2():
    sprite('Action_302_00', 1)
    sprite('Action_302_00', 1)
    sprite('Action_302_01', 2)
    sprite('Action_302_01', 2)

@State
def CmnActHitCrouchLv3():
    sprite('Action_305_00', 1)
    sprite('Action_305_01', 1)
    sprite('Action_305_02', 3)
    sprite('Action_305_03', 3)

@State
def CmnActHitCrouchLv4():
    sprite('Action_305_00', 1)
    sprite('Action_305_01', 1)
    sprite('Action_305_02', 4)
    sprite('Action_305_03', 4)

@State
def CmnActHitCrouchLv5():
    sprite('Action_305_00', 1)
    sprite('Action_305_01', 1)
    sprite('Action_305_02', 5)
    sprite('Action_305_03', 5)

@State
def CmnActBDownUpper():
    sprite('Action_330_00', 3)
    label(0)
    sprite('Action_330_01', 3)
    sprite('Action_330_02', 3)
    sprite('Action_330_03', 3)
    loopRest()
    gotoLabel(0)

@State
def CmnActBDownUpperEnd():
    sprite('Action_330_04', 3)
    sprite('Action_330_05', 3)

@State
def CmnActBDownDown():
    sprite('Action_330_06', 3)
    sprite('Action_330_07', 3)
    label(0)
    sprite('Action_330_08', 3)
    sprite('Action_330_09', 3)
    loopRest()
    gotoLabel(0)

@State
def CmnActBDownCrash():
    sprite('Action_351_00', 2)
    sprite('Action_351_01', 2)

@State
def CmnActBDownBound():
    sprite('Action_351_02', 2)
    sprite('Action_351_03', 2)
    sprite('Action_351_04', 2)
    sprite('Action_351_05', 2)
    sprite('Action_352_00', 2)
    sprite('Action_352_01', 2)

@State
def CmnActBDownLoop():
    sprite('Action_352_02', 1)

@State
def CmnActBDown2Stand():
    sprite('Action_294_11', 3)
    sprite('Action_294_12', 3)
    sprite('Action_294_13', 3)
    sprite('Action_294_14', 3)
    sprite('Action_294_15', 3)
    sprite('Action_294_16', 3)
    sprite('Action_294_17', 2)

@State
def CmnActFDownUpper():
    sprite('Action_326_00', 3)

@State
def CmnActFDownUpperEnd():
    sprite('Action_326_01', 3)

@State
def CmnActFDownDown():
    label(0)
    sprite('Action_326_03', 3)
    sprite('Action_326_04', 3)
    loopRest()
    gotoLabel(0)

@State
def CmnActFDownCrash():
    sprite('Action_354_00', 3)

@State
def CmnActFDownBound():
    sprite('Action_354_01', 3)
    sprite('Action_354_02', 3)
    sprite('Action_354_03', 3)

@State
def CmnActFDownLoop():
    sprite('Action_292_00', 2)

@State
def CmnActFDown2Stand():
    sprite('Action_294_11', 3)
    sprite('Action_294_12', 3)
    sprite('Action_294_13', 3)
    sprite('Action_294_14', 3)
    sprite('Action_294_15', 3)
    sprite('Action_294_16', 3)
    sprite('Action_294_17', 2)

@State
def CmnActVDownUpper():
    sprite('Action_330_00', 3)
    label(0)
    sprite('Action_330_01', 3)
    sprite('Action_330_02', 3)
    sprite('Action_330_03', 3)
    loopRest()
    gotoLabel(0)

@State
def CmnActVDownUpperEnd():
    sprite('Action_330_04', 3)
    sprite('Action_330_05', 3)

@State
def CmnActVDownDown():
    sprite('Action_330_06', 3)
    sprite('Action_330_07', 3)
    label(0)
    sprite('Action_330_08', 3)
    sprite('Action_330_09', 3)
    loopRest()
    gotoLabel(0)

@State
def CmnActVDownCrash():
    sprite('Action_351_00', 3)
    sprite('Action_351_01', 3)

@State
def CmnActBlowoff():
    sprite('Action_331_00', 3)
    label(0)
    sprite('Action_331_02', 3)
    sprite('Action_331_03', 3)
    loopRest()
    gotoLabel(0)

@State
def CmnActKirimomiUpper():
    label(0)
    sprite('Action_333_00', 2)
    sprite('Action_333_01', 2)
    sprite('Action_333_02', 2)
    sprite('Action_333_03', 2)
    sprite('Action_333_04', 2)
    sprite('Action_333_05', 2)
    loopRest()
    gotoLabel(0)

@State
def CmnActSkeleton():
    label(0)
    sprite('Action_327_00', 2)
    sprite('Action_327_00', 2)
    loopRest()
    gotoLabel(0)

@State
def CmnActFreeze():
    sprite('Action_330_00', 1)

@State
def CmnActWallBound():
    sprite('Action_340_00', 3)
    sprite('Action_340_01', 3)

@State
def CmnActWallBoundDown():
    sprite('Action_340_02', 3)
    label(0)
    sprite('Action_340_03', 3)
    sprite('Action_340_04', 3)
    loopRest()
    gotoLabel(0)

@State
def CmnActStaggerLoop():
    label(0)
    sprite('Action_327_00', 3)
    gotoLabel(0)

@State
def CmnActStaggerDown():
    sprite('Action_327_01', 5)
    sprite('Action_327_02', 5)
    sprite('Action_327_03', 3)
    sprite('Action_327_04', 3)
    sprite('Action_328_00', 4)
    sprite('Action_328_01', 4)

@State
def CmnActUkemiStagger():
    sprite('Action_327_00', 4)
    sprite('Action_306_03', 4)

@State
def CmnActUkemiAirF():
    sprite('Action_032_00', 3)
    sprite('Action_032_01', 2)
    sprite('Action_032_02', 2)
    sprite('Action_032_03', 3)
    sprite('Action_032_04', 3)
    sprite('Action_032_05', 2)
    sprite('Action_032_06', 2)

@State
def CmnActUkemiAirB():
    sprite('Action_032_00', 3)
    sprite('Action_032_01', 2)
    sprite('Action_032_02', 2)
    sprite('Action_032_03', 3)
    sprite('Action_032_04', 3)
    sprite('Action_032_05', 2)
    sprite('Action_032_06', 2)

@State
def CmnActUkemiAirN():
    sprite('Action_032_00', 3)
    sprite('Action_032_01', 2)
    sprite('Action_032_02', 2)
    sprite('Action_032_03', 3)
    sprite('Action_032_04', 3)
    sprite('Action_032_05', 2)
    sprite('Action_032_06', 2)

@State
def CmnActUkemiLandF():
    sprite('Action_041_00', 2)
    sprite('Action_041_01', 2)
    sprite('Action_041_02', 2)
    sprite('Action_041_03', 2)
    sprite('Action_041_04', 2)
    sprite('Action_041_05', 2)
    sprite('Action_041_06', 2)
    sprite('Action_041_07', 2)

@State
def CmnActUkemiLandB():
    sprite('Action_041_00', 2)
    sprite('Action_041_01', 2)
    sprite('Action_041_02', 2)
    sprite('Action_041_03', 2)
    sprite('Action_041_04', 2)
    sprite('Action_041_05', 2)
    sprite('Action_041_06', 2)
    sprite('Action_041_07', 2)

@State
def CmnActUkemiLandN():
    sprite('Action_041_00', 2)
    sprite('Action_041_01', 2)
    sprite('Action_041_02', 2)
    sprite('Action_041_03', 2)
    sprite('Action_041_04', 2)
    sprite('Action_041_05', 2)
    sprite('Action_041_06', 2)
    sprite('Action_041_07', 2)

@State
def CmnActUkemiLandNLanding():
    sprite('Action_041_08', 3)
    sprite('Action_041_09', 3)
    sprite('Action_041_10', 3)
    sprite('Action_041_11', 2)
    sprite('Action_041_12', 2)
    sprite('Action_041_13', 2)

@State
def CmnActMidGuardPre():
    sprite('Action_017_07', 3)
    sprite('Action_017_06', 3)

@State
def CmnActMidGuardLoop():
    label(0)
    sprite('Action_017_00', 3)
    sprite('Action_017_01', 3)
    gotoLabel(0)

@State
def CmnActMidGuardEnd():
    sprite('Action_017_06', 3)
    sprite('Action_017_07', 3)

@State
def CmnActMidHeavyGuardLoop():
    label(0)
    sprite('Action_017_00', 3)
    sprite('Action_017_01', 3)
    gotoLabel(0)

@State
def CmnActMidHeavyGuardEnd():
    sprite('Action_017_06', 3)
    sprite('Action_017_07', 3)

@State
def CmnActHighGuardPre():
    sprite('Action_017_07', 3)
    sprite('Action_017_06', 3)

@State
def CmnActHighGuardLoop():
    label(0)
    sprite('Action_017_00', 3)
    sprite('Action_017_01', 3)
    gotoLabel(0)

@State
def CmnActHighGuardEnd():
    sprite('Action_017_06', 3)
    sprite('Action_017_07', 3)

@State
def CmnActHighHeavyGuardLoop():
    label(0)
    sprite('Action_017_04', 3)
    sprite('Action_017_05', 3)
    gotoLabel(0)

@State
def CmnActHighHeavyGuardEnd():
    sprite('Action_017_06', 3)
    sprite('Action_017_07', 3)

@State
def CmnActCrouchGuardPre():
    sprite('Action_018_07', 3)
    sprite('Action_018_06', 3)

@State
def CmnActCrouchGuardLoop():
    label(0)
    sprite('Action_018_02', 3)
    sprite('Action_018_03', 3)
    gotoLabel(0)

@State
def CmnActCrouchGuardEnd():
    sprite('Action_018_06', 3)
    sprite('Action_018_07', 3)

@State
def CmnActCrouchHeavyGuardLoop():
    label(0)
    sprite('Action_018_04', 3)
    sprite('Action_018_05', 3)
    gotoLabel(0)

@State
def CmnActCrouchHeavyGuardEnd():
    sprite('Action_018_06', 3)
    sprite('Action_018_07', 3)

@State
def CmnActAirGuardPre():
    sprite('Action_019_07', 3)
    sprite('Action_019_06', 3)

@State
def CmnActAirGuardLoop():
    label(0)
    sprite('Action_019_02', 3)
    sprite('Action_019_03', 3)
    loopRest()
    gotoLabel(0)

@State
def CmnActAirGuardEnd():
    sprite('Action_019_06', 3)
    sprite('Action_019_07', 3)

@State
def CmnActAirHeavyGuardLoop():
    label(0)
    sprite('Action_019_04', 3)
    sprite('Action_019_05', 3)
    loopRest()
    gotoLabel(0)

@State
def CmnActAirHeavyGuardEnd():
    sprite('Action_019_06', 3)
    sprite('Action_019_07', 3)

@State
def CmnActGuardBreakStand():
    sprite('Action_017_06', 2)
    sprite('Action_017_00', 2)
    sprite('Action_017_01', 1)
    Unknown2042(1)
    sprite('Action_017_00', 4)
    sprite('Action_017_06', 4)
    sprite('Action_017_07', 4)

@State
def CmnActGuardBreakCrouch():
    sprite('Action_018_00', 2)
    sprite('Action_018_01', 2)
    sprite('Action_018_00', 1)
    Unknown2042(1)
    sprite('Action_018_01', 6)
    sprite('Action_018_00', 6)

@State
def CmnActGuardBreakAir():
    sprite('Action_019_00', 2)
    sprite('Action_019_01', 2)
    sprite('Action_019_00', 1)
    Unknown2042(1)
    sprite('Action_019_01', 6)
    sprite('Action_019_00', 6)

@State
def CmnActAirTurn():
    sprite('Action_036_01', 9)

@State
def CmnActLockWait():
    sprite('Action_017_05', 3)
    sprite('Action_017_06', 3)
    sprite('Action_017_07', 3)

@State
def CmnActLockReject():
    sprite('Action_402_00', 3)
    sprite('Action_402_01', 3)
    sprite('Action_402_05', 3)
    sprite('Action_402_06', 3)
    sprite('Action_402_07', 3)
    sprite('Action_402_08', 3)
    sprite('Action_402_09', 3)
    sprite('Action_402_10', 3)
    sprite('Action_402_11', 3)

@State
def CmnActAirLockWait():
    sprite('Action_019_05', 3)
    sprite('Action_019_06', 3)
    sprite('Action_019_07', 3)

@State
def CmnActLandSpin():
    sprite('jb071_00', 4)
    sprite('jb071_01', 4)
    label(0)
    sprite('jb071_02', 2)
    sprite('jb071_03', 2)
    sprite('jb071_04', 2)
    sprite('jb071_05', 2)
    sprite('jb071_06', 2)
    sprite('jb071_07', 2)
    sprite('jb071_08', 2)
    sprite('jb071_09', 2)
    loopRest()
    gotoLabel(0)

@State
def CmnActLandSpinDown():
    sprite('jb071_10', 6)
    sprite('jb071_11', 5)
    sprite('jb071_12', 5)

@State
def CmnActVertSpin():
    label(0)
    sprite('Action_333_00', 2)
    sprite('Action_333_01', 2)
    sprite('Action_333_02', 2)
    sprite('Action_333_03', 2)
    sprite('Action_333_04', 2)
    sprite('Action_333_05', 2)
    loopRest()
    gotoLabel(0)

@State
def CmnActSlideAir():
    label(0)
    sprite('Action_333_00', 2)
    sprite('Action_333_01', 2)
    sprite('Action_333_02', 2)
    sprite('Action_333_03', 2)
    sprite('Action_333_04', 2)
    sprite('Action_333_05', 2)
    loopRest()
    gotoLabel(0)

@State
def CmnActSlideKeep():
    sprite('Action_351_00', 1)
    label(0)
    sprite('Action_351_01', 3)
    loopRest()
    gotoLabel(0)

@State
def CmnActSlideEnd():
    sprite('Action_351_02', 3)
    sprite('Action_351_03', 2)
    sprite('Action_351_04', 2)
    sprite('Action_351_05', 2)

@State
def CmnActAomukeSlideKeep():
    label(0)
    sprite('jb060_07', 3)
    sprite('jb060_08', 3)
    loopRest()
    gotoLabel(0)

@State
def CmnActAomukeSlideEnd():
    sprite('jb060_13', 4)
    sprite('jb060_14', 5)

@State
def CmnActBurstBegin():
    sprite('null', 60)

@State
def CmnActBurstLoop():
    sprite('null', 60)

@State
def CmnActBurstEnd():
    sprite('null', 60)

@State
def CmnActAirBurstBegin():
    sprite('null', 60)

@State
def CmnActAirBurstLoop():
    sprite('null', 60)

@State
def CmnActAirBurstEnd():
    sprite('null', 60)

@State
def CmnActOverDriveBegin():
    sprite('Action_262_00', 4)
    Unknown23119(16639, 20, 1)
    sprite('Action_262_01', 32767)
    loopRest()

@State
def CmnActOverDriveLoop():
    sprite('Action_262_02', 4)
    Unknown23118(16534)
    Unknown23119(0, 20, 1)
    label(0)
    sprite('Action_262_03', 5)
    sprite('Action_262_04', 5)
    loopRest()
    gotoLabel(0)

@State
def CmnActOverDriveEnd():
    sprite('Action_262_05', 6)
    sprite('Action_262_06', 6)

@State
def CmnActAirOverDriveBegin():
    sprite('Action_262_00', 4)
    Unknown23119(16639, 20, 1)
    sprite('Action_262_01', 32767)
    loopRest()

@State
def CmnActAirOverDriveLoop():
    sprite('Action_262_02', 4)
    Unknown23118(16534)
    Unknown23119(0, 20, 1)
    label(0)
    sprite('Action_262_03', 5)
    sprite('Action_262_04', 5)
    loopRest()
    gotoLabel(0)

@State
def CmnActAirOverDriveEnd():
    sprite('Action_262_07', 6)
    sprite('Action_262_08', 6)
    label(0)
    sprite('Action_022_00', 3)
    sprite('Action_022_01', 3)
    loopRest()
    gotoLabel(0)

@State
def CmnActCrossRushBegin():
    sprite('Action_262_00', 4)
    Unknown23119(16639, 20, 1)
    sprite('Action_262_01', 32767)
    loopRest()

@State
def CmnActCrossRushLoop():
    sprite('Action_262_02', 4)
    Unknown23118(16534)
    Unknown23119(0, 20, 1)
    label(0)
    sprite('Action_262_03', 5)
    sprite('Action_262_04', 5)
    loopRest()
    gotoLabel(0)

@State
def CmnActCrossRushEnd():
    sprite('Action_262_05', 6)
    sprite('Action_262_06', 6)

@State
def CmnActAirCrossRushBegin():
    sprite('Action_262_02', 4)
    Unknown23118(16534)
    Unknown23119(0, 20, 1)
    label(0)
    sprite('Action_262_03', 5)
    sprite('Action_262_04', 5)
    loopRest()
    gotoLabel(0)

@State
def CmnActAirCrossRushLoop():
    sprite('Action_262_02', 4)
    Unknown23118(16534)
    Unknown23119(0, 20, 1)
    label(0)
    sprite('Action_262_03', 5)
    sprite('Action_262_04', 5)
    loopRest()
    gotoLabel(0)

@State
def CmnActAirCrossRushEnd():
    sprite('Action_262_07', 6)
    sprite('Action_262_08', 6)
    label(0)
    sprite('Action_022_00', 3)
    sprite('Action_022_01', 3)
    loopRest()
    gotoLabel(0)

@State
def CmnActCrossChangeBegin():
    sprite('Action_262_00', 4)
    sprite('Action_262_01', 32767)
    loopRest()

@State
def CmnActCrossChangeLoop():
    sprite('Action_262_02', 4)
    label(0)
    sprite('Action_262_03', 5)
    sprite('Action_262_04', 5)
    loopRest()
    gotoLabel(0)

@State
def CmnActCrossChangeEnd():
    sprite('Action_262_05', 6)
    sprite('Action_262_06', 6)

@State
def CmnActAirCrossChangeBegin():
    sprite('Action_262_02', 4)
    label(0)
    sprite('Action_262_03', 5)
    sprite('Action_262_04', 5)
    loopRest()
    gotoLabel(0)

@State
def CmnActAirCrossChangeLoop():
    sprite('Action_262_02', 4)
    label(0)
    sprite('Action_262_03', 5)
    sprite('Action_262_04', 5)
    loopRest()
    gotoLabel(0)

@State
def CmnActAirCrossChangeEnd():
    sprite('Action_262_07', 6)
    sprite('Action_262_08', 6)
    label(0)
    sprite('Action_022_00', 3)
    sprite('Action_022_01', 3)
    loopRest()
    gotoLabel(0)

@State
def CmnActTagBattleWait():

    def upon_IMMEDIATE():
        setInvincible(1)
        Unknown2017(0)
        Unknown2034(0)
        teleportRelativeY(0)
    sprite('null', 32767)

@State
def CmnActChangePartnerAppeal():
    pass

@State
def CmnActChangePartnerAppealAir():
    pass

@State
def CmnActChangePartnerIn():

    def upon_IMMEDIATE():
        Unknown17021('')
        Unknown9016(1)

        def upon_LANDING():
            clearUponHandler(2)
            sendToLabel(9)
    sprite('null', 25)
    sprite('Action_009_14', 3)
    Unknown1086(22)
    teleportRelativeX(-120000)
    teleportRelativeY(2000000)
    physicsYImpulse(-200000)
    setGravity(0)
    Unknown2053(1)
    Unknown2017(1)
    sprite('Action_009_15', 2)
    sprite('Action_009_16', 1)
    sprite('Action_009_17', 1)
    sprite('Action_009_18', 2)
    GFX_0('JC_Eff', -1)
    SFX_3('SE043')
    sprite('Action_009_19', 32767)
    label(9)
    sprite('Action_009_19', 1)
    sprite('keep', 2)
    Unknown1084(1)
    sprite('Action_021_00', 5)
    Unknown18009(1)
    Unknown8000(100, 1, 1)
    clearUponHandler(2)
    sprite('Action_021_01', 6)
    sprite('Action_021_02', 6)
    Unknown18009(0)
    sprite('Action_021_03', 5)

@State
def CmnActChangePartnerQuickIn():
    sprite('Action_045_03', 3)
    sprite('Action_045_04', 4)
    sprite('Action_045_05', 5)
    sprite('Action_045_11', 2)
    sprite('Action_045_12', 2)
    sprite('Action_045_13', 3)
    sprite('Action_045_14', 5)
    sprite('Action_045_15', 3)
    sprite('Action_045_16', 2)

@State
def CmnActChangePartnerOut():

    def upon_IMMEDIATE():
        Unknown17013()
        sendToLabelUpon(2, 1)
    sprite('Action_046_00', 3)
    sprite('Action_046_01', 3)
    sprite('Action_046_02', 3)
    label(0)
    sprite('Action_046_03', 2)
    sprite('Action_046_04', 2)
    loopRest()
    gotoLabel(0)
    label(1)
    sprite('Action_046_05', 2)
    sprite('Action_046_06', 2)
    sprite('Action_046_07', 2)
    sprite('Action_046_08', 2)
    sprite('Action_046_09', 2)

@State
def CmnActChangePartnerQuickOut():

    def upon_IMMEDIATE():
        Unknown17013()
        sendToLabelUpon(2, 1)
    sprite('Action_046_00', 1)
    sprite('Action_046_01', 2)
    sprite('Action_046_01', 2)
    sprite('Action_046_02', 1)
    sprite('Action_046_03', 3)
    loopRest()
    label(0)
    sprite('Action_046_04', 3)
    loopRest()
    gotoLabel(0)
    label(1)
    sprite('Action_046_05', 3)
    sprite('Action_046_06', 3)

@State
def CmnActChangeReturnAppeal():

    def upon_IMMEDIATE():
        Unknown17013()
    sprite('Action_000_00', 2)
    sprite('Action_053_19', 5)
    sprite('Action_053_20', 6)
    sprite('Action_053_21', 5)
    sprite('Action_053_22', 6)
    sprite('Action_053_23', 5)
    sprite('Action_053_24', 5)
    sprite('Action_053_25', 4)
    sprite('Action_053_26', 5)
    sprite('Action_053_27', 4)
    sprite('Action_053_26', 5)
    sprite('Action_053_27', 4)
    sprite('Action_053_26', 5)
    sprite('Action_053_25', 4)
    sprite('Action_053_24', 5)
    sprite('Action_053_19', 4)
    sprite('Action_000_00', 22)

@State
def CmnActChangePartnerAssistAdmiss():

    def upon_IMMEDIATE():
        AttackDefaults_StandingSpecial()

        def upon_LANDING():
            clearUponHandler(2)
            Unknown1084(1)
            sendToLabel(99)
    sprite('null', 2)
    label(0)
    sprite('Action_022_00', 4)
    Unknown1019(95)
    sprite('Action_022_01', 4)
    Unknown1019(95)
    loopRest()
    gotoLabel(0)
    label(99)
    sprite('Action_023_02', 2)
    Unknown8000(100, 1, 1)
    sprite('keep', 100)

@Subroutine
def DissolveActivate5B2nd_PS():
    if Unknown46(4):
        GFX_0('6BB_PS_Eff', -1)
        Unknown1087(1, 4)
        Unknown36(1)
        teleportRelativeX(90000)
        Unknown35()
    if Unknown46(5):
        GFX_0('6BB_PS_Eff', -1)
        Unknown1087(1, 5)
        Unknown36(1)
        teleportRelativeX(90000)
        Unknown35()
    if Unknown46(6):
        GFX_0('6BB_PS_Eff', -1)
        Unknown1087(1, 6)
        Unknown36(1)
        teleportRelativeX(90000)
        Unknown35()
    if Unknown46(7):
        GFX_0('6BB_PS_Eff', -1)
        Unknown1087(1, 7)
        Unknown36(1)
        teleportRelativeX(90000)
        Unknown35()
    if Unknown46(8):
        GFX_0('6BB_PS_Eff', -1)
        Unknown1087(1, 8)
        Unknown36(1)
        teleportRelativeX(90000)
        Unknown35()

@State
def CmnActChangePartnerAssistAtk_A():

    def upon_IMMEDIATE():
        AttackDefaults_StandingSpecial()
        Unknown30040(1)
        Unknown2006()

        def upon_STATE_END():
            Unknown2017(1)
            Unknown2034(1)
            Unknown2053(1)
    sprite('Action_130_00', 6)
    sprite('Action_130_01', 8)
    Unknown7007('7563613230305f300000000000000000640000007563613230305f310000000000000000640000007563613230305f320000000000000000640000000000000000000000000000000000000000000000')
    sprite('Action_130_02', 1)
    Unknown21015('526f746174696f6e53686f744c616e64410000000000000000000000000000001c05000000000000')
    Unknown21015('526f746174696f6e53686f744c616e64420000000000000000000000000000001c05000000000000')
    Unknown21015('526f746174696f6e53686f744c616e64430000000000000000000000000000001c05000000000000')
    Unknown21015('526f746174696f6e53686f7441697241000000000000000000000000000000001c05000000000000')
    Unknown21015('526f746174696f6e53686f7441697242000000000000000000000000000000001c05000000000000')
    Unknown21015('526f746174696f6e53686f7441697243000000000000000000000000000000001c05000000000000')
    Unknown21015('526f746174696f6e53686f744c616e64415f50530000000000000000000000001c05000000000000')
    callSubroutine('DissolveActivateRS_PS')
    GFX_0('RotationShot_Eff', -1)
    Unknown23029(1, 1307, 0)
    Unknown38(5, 1)
    selfDamage(750)
    SFX_3('SE045')
    sprite('Action_130_03', 3)
    sprite('Action_130_04', 6)
    sprite('Action_130_05', 8)
    sprite('Action_130_06', 7)
    sprite('Action_130_07', 4)

@Subroutine
def DissolveActivateRS_PS():
    if Unknown46(4):
        Unknown23029(4, 9993, 0)
    if Unknown46(5):
        Unknown23029(5, 9993, 0)
    if Unknown46(6):
        Unknown23029(6, 9993, 0)
    if Unknown46(7):
        Unknown23029(7, 9993, 0)
    if Unknown46(8):
        Unknown23029(8, 9993, 0)

@State
def CmnActChangePartnerAssistAtk_B():

    def upon_IMMEDIATE():
        AttackDefaults_StandingSpecial()
        Unknown2004(1, 0)
        Unknown30040(1)
        Unknown2006()

        def upon_STATE_END():
            Unknown2017(1)
            Unknown2034(1)
            Unknown2053(1)
    sprite('Action_150_00', 4)
    sprite('Action_150_12', 3)
    Unknown7007('7563613230365f300000000000000000640000007563613230365f310000000000000000640000007563613230365f320000000000000000640000000000000000000000000000000000000000000000')
    sprite('Action_150_13', 1)
    sprite('Action_150_13', 1)
    GFX_0('DoubleShot1st_Eff', -1)
    Unknown23029(1, 1491, 0)
    SFX_3('SE042')
    sprite('Action_150_14', 7)
    sprite('Action_150_15', 5)
    sprite('Action_150_16', 7)
    sprite('Action_150_17', 1)
    sprite('Action_150_17', 1)
    GFX_0('DoubleShot2nd_Eff', -1)
    Unknown23029(1, 1493, 0)
    SFX_3('SE043')
    sprite('Action_150_18', 4)
    sprite('Action_150_19', 11)
    sprite('Action_150_20', 10)
    sprite('Action_150_21', 10)
    sprite('Action_150_22', 8)

@State
def CmnActChangePartnerAssistAtk_D():

    def upon_IMMEDIATE():
        AttackDefaults_StandingSpecial()
        AttackLevel_(4)
        AttackP1(70)
        AirPushbackX(12000)
        AirPushbackY(-80000)
        Unknown9190(1)
        Unknown9118(30)
        AirUntechableTime(60)
        Unknown9016(1)
        GroundedHitstunAnimation(11)
        AirHitstunAnimation(11)
        Unknown11056(2)
        Unknown11042(1)
        Unknown30040(1)
        Unknown2006()

        def upon_STATE_END():
            Unknown2017(1)
            Unknown2034(1)
            Unknown2053(1)
            Unknown2015(-1)
    sprite('Action_045_00', 2)
    sprite('Action_045_01', 2)
    sprite('Action_045_02', 2)
    Unknown8006(100, 1, 1)
    physicsXImpulse(40000)
    sprite('Action_045_03', 2)
    sprite('Action_094_18', 2)
    sprite('Action_094_19', 2)
    sprite('Action_094_20', 1)
    Unknown1019(50)
    sprite('Action_094_21', 1)
    Unknown2015(150)
    sprite('Action_094_22', 1)
    Unknown1019(30)
    GFX_0('5AAA_Eff_NPS', -1)
    SFX_3('SE043')
    sprite('Action_094_23', 1)
    sprite('Action_094_24', 1)
    Unknown7009(5)
    sprite('Action_094_25', 7)
    Unknown1019(0)
    sprite('Action_094_26', 2)
    sprite('Action_094_27', 5)
    sprite('Action_094_28', 5)
    sprite('Action_094_29', 4)
    sprite('Action_094_30', 3)
    Unknown2015(-1)
    sprite('Action_222_00', 4)
    sprite('Action_223_00', 4)
    sprite('Action_224_00', 4)

@State
def CmnActChangePartnerDD():

    def upon_IMMEDIATE():
        setInvincible(1)
        if SLOT_162:
            SLOT_58 = 1

        def upon_LANDING():
            clearUponHandler(2)
            Unknown1084(1)
            Unknown8000(100, 1, 1)
            sendToLabel(1)
    sprite('null', 1)
    Unknown2036(95, -1, 0)
    sprite('null', 1)
    teleportRelativeX(-1500000)
    teleportRelativeY(240000)
    setGravity(0)
    physicsYImpulse(-9600)
    SLOT_12 = SLOT_19
    teleportRelativeX(-260000)
    Unknown1019(4)
    label(0)
    sprite('Action_022_00', 4)
    sprite('Action_022_01', 4)
    loopRest()
    gotoLabel(0)
    label(1)
    sprite('keep', 10)
    Unknown1084(1)
    if SLOT_58:
        enterState('ChangePartnerDDOD_Exe')
    else:
        enterState('ChangePartnerDD_Exe')

@State
def ChangePartnerDD_Exe():

    def upon_IMMEDIATE():
        AttackDefaults_StandingDD()
        Unknown23056('')
        Unknown30063(1)
        setInvincible(1)
        Unknown2037(0)

        def upon_43():
            if (SLOT_48 == 2501):
                clearUponHandler(43)
                Unknown2037(1)
        Unknown2021(1)

        def upon_STATE_END():
            Unknown23029(11, 2502, 0)
    sprite('Action_250_00', 3)
    sprite('Action_250_00', 12)
    sprite('Action_250_00', 5)
    sprite('Action_250_01', 7)
    sprite('Action_250_02', 7)
    sprite('Action_250_03', 7)
    sprite('Action_250_04', 7)
    sprite('Action_250_05', 3)
    SFX_3('SE012')
    sprite('Action_250_06', 3)
    sprite('Action_250_07', 3)
    sprite('Action_250_08', 2)
    sprite('Action_250_08', 1)
    GFX_0('UltimateShotEffMaster', -1)
    Unknown23029(1, 2504, 0)
    sprite('Action_250_09', 2)
    SFX_3('SE045')
    sprite('Action_250_10', 3)
    sprite('Action_250_11', 3)
    GFX_0('UltimateShotFootEff', -1)
    Unknown38(11, 1)
    Unknown23029(1, 2504, 0)
    sprite('Action_250_12', 2)
    sprite('Action_250_13', 3)
    sprite('Action_250_14', 3)
    sprite('Action_250_15', 3)
    sprite('Action_250_16', 3)
    sprite('Action_250_17', 3)
    sprite('Action_250_18', 2)
    StartMultihit()
    sprite('Action_250_18', 1)
    StartMultihit()
    if SLOT_2:
        sendToLabel(1)
    sprite('Action_250_20', 3)
    setInvincible(0)
    sprite('Action_250_21', 3)
    sprite('Action_250_22', 3)
    sprite('Action_250_20', 3)
    sprite('Action_250_21', 3)
    sprite('Action_250_22', 3)
    sprite('Action_250_20', 3)
    sprite('Action_250_21', 3)
    sprite('Action_250_22', 3)
    sprite('Action_250_20', 3)
    sprite('Action_250_21', 3)
    sprite('Action_250_22', 3)
    sprite('Action_250_23', 3)
    sprite('Action_250_24', 5)
    Unknown23029(11, 2502, 0)
    sprite('Action_250_25', 5)
    ExitState()
    label(1)
    sprite('Action_250_27', 3)
    sprite('Action_250_28', 3)
    sprite('Action_250_29', 3)
    sprite('Action_250_27', 3)
    GFX_0('UltimateShotAtkExe', -1)
    Unknown23029(1, 2504, 0)
    SFX_4('uca251_0')
    sprite('Action_250_28', 3)
    sprite('Action_250_29', 3)
    sprite('Action_250_30', 3)
    sprite('Action_250_31', 3)
    sprite('Action_250_32', 3)
    sprite('Action_250_33', 3)
    sprite('Action_250_34', 3)
    sprite('Action_250_35', 3)
    sprite('Action_250_36', 3)
    sprite('Action_250_37', 3)
    sprite('Action_250_38', 3)
    sprite('Action_250_39', 3)
    sprite('Action_250_40', 3)
    sprite('Action_250_41', 3)
    sprite('Action_250_42', 3)
    sprite('Action_250_43', 3)
    sprite('Action_250_44', 3)
    sprite('Action_250_45', 3)
    sprite('Action_250_46', 3)
    sprite('Action_250_47', 3)
    sprite('Action_250_48', 3)
    sprite('Action_250_49', 3)
    sprite('Action_250_50', 3)
    sprite('Action_250_48', 3)
    sprite('Action_250_49', 3)
    sprite('Action_250_50', 3)
    sprite('Action_250_51', 3)
    sprite('Action_250_52', 2)
    sprite('Action_250_53', 2)
    sprite('Action_250_54', 5)
    sprite('Action_250_55', 9)
    sprite('Action_250_56', 15)
    GFX_0('WinEff1', -1)
    sprite('Action_250_57', 4)
    GFX_0('UltimateShotAtkFinish', -1)
    Unknown23029(1, 2504, 0)
    sprite('Action_250_58', 3)
    GFX_0('WinEff2', -1)
    sprite('Action_250_59', 3)
    sprite('Action_250_60', 3)
    SFX_4('uca252_0')
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_62', 3)
    sprite('Action_250_63', 6)
    Unknown23029(11, 2502, 0)
    sprite('Action_250_64', 4)

@State
def ChangePartnerDDOD_Exe():

    def upon_IMMEDIATE():
        AttackDefaults_StandingDD()
        Unknown23056('')
        Unknown30063(1)
        setInvincible(1)
        Unknown2037(0)

        def upon_43():
            if (SLOT_48 == 2501):
                clearUponHandler(43)
                Unknown2037(1)
        Unknown11050('050000000000000000000000000000000000000000000000000000000000000000000000')
        Unknown2021(1)

        def upon_STATE_END():
            Unknown23029(11, 2502, 0)
    sprite('Action_250_00', 3)
    sprite('Action_250_00', 12)
    sprite('Action_250_00', 5)
    sprite('Action_250_01', 7)
    sprite('Action_250_02', 7)
    sprite('Action_250_03', 7)
    sprite('Action_250_04', 7)
    sprite('Action_250_05', 3)
    SFX_3('SE012')
    sprite('Action_250_06', 3)
    sprite('Action_250_07', 3)
    sprite('Action_250_08', 2)
    sprite('Action_250_08', 1)
    GFX_0('UltimateShotEffMaster', -1)
    Unknown23029(1, 2506, 0)
    sprite('Action_250_09', 2)
    SFX_3('SE045')
    sprite('Action_250_10', 3)
    sprite('Action_250_11', 3)
    GFX_0('UltimateShotFootEff', -1)
    Unknown38(11, 1)
    Unknown23029(1, 2506, 0)
    sprite('Action_250_12', 2)
    sprite('Action_250_13', 3)
    sprite('Action_250_14', 3)
    sprite('Action_250_15', 3)
    sprite('Action_250_16', 3)
    sprite('Action_250_17', 3)
    sprite('Action_250_18', 2)
    StartMultihit()
    sprite('Action_250_18', 1)
    StartMultihit()
    if SLOT_2:
        sendToLabel(1)
    sprite('Action_250_20', 3)
    setInvincible(0)
    sprite('Action_250_21', 3)
    sprite('Action_250_22', 3)
    sprite('Action_250_20', 3)
    sprite('Action_250_21', 3)
    sprite('Action_250_22', 3)
    sprite('Action_250_20', 3)
    sprite('Action_250_21', 3)
    sprite('Action_250_22', 3)
    sprite('Action_250_20', 3)
    sprite('Action_250_21', 3)
    sprite('Action_250_22', 3)
    sprite('Action_250_23', 3)
    sprite('Action_250_24', 5)
    Unknown23029(11, 2502, 0)
    sprite('Action_250_25', 5)
    ExitState()
    label(1)
    sprite('Action_250_27', 3)
    sprite('Action_250_28', 3)
    sprite('Action_250_29', 3)
    sprite('Action_250_27', 3)
    GFX_0('UltimateShotAtkExe', -1)
    Unknown23029(1, 2506, 0)
    SFX_4('uca251_0')
    sprite('Action_250_28', 3)
    sprite('Action_250_29', 3)
    sprite('Action_250_30', 3)
    sprite('Action_250_31', 3)
    sprite('Action_250_32', 3)
    sprite('Action_250_33', 3)
    sprite('Action_250_34', 3)
    sprite('Action_250_35', 3)
    sprite('Action_250_36', 3)
    sprite('Action_250_37', 3)
    sprite('Action_250_38', 3)
    sprite('Action_250_39', 3)
    sprite('Action_250_40', 3)
    sprite('Action_250_41', 3)
    sprite('Action_250_42', 3)
    sprite('Action_250_43', 3)
    sprite('Action_250_44', 3)
    sprite('Action_250_45', 3)
    sprite('Action_250_46', 3)
    sprite('Action_250_47', 3)
    sprite('Action_250_48', 3)
    sprite('Action_250_49', 3)
    sprite('Action_250_50', 3)
    sprite('Action_250_51', 3)
    sprite('Action_250_52', 2)
    sprite('Action_260_00', 9)
    sprite('Action_260_01', 3)
    sprite('Action_260_02', 2)
    sprite('Action_260_03', 5)
    sprite('Action_260_04', 5)
    sprite('Action_260_05', 5)
    sprite('Action_260_06', 5)
    sprite('Action_260_07', 5)
    sprite('Action_260_08', 5)
    sprite('Action_260_09', 3)
    sprite('Action_260_10', 3)
    sprite('Action_260_11', 3)
    sprite('Action_260_12', 3)
    sprite('Action_250_53', 2)
    sprite('Action_250_54', 5)
    sprite('Action_250_55', 9)
    sprite('Action_250_56', 15)
    GFX_0('WinEff1', -1)
    sprite('Action_250_57', 4)
    GFX_0('UltimateShotAtkFinish', -1)
    Unknown23029(1, 2506, 0)
    SFX_4('uca252_0')
    sprite('Action_250_58', 3)
    GFX_0('WinEff2', -1)
    sprite('Action_250_59', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_62', 3)
    sprite('Action_250_63', 6)
    Unknown23029(11, 2502, 0)
    sprite('Action_250_64', 3)

@State
def CmnActChangeRequest():
    pass

@State
def CmnActChangePartnerBurst():

    def upon_IMMEDIATE():
        Unknown17021('')
        Unknown9016(1)

        def upon_41():
            clearUponHandler(41)
            sendToLabel(0)

        def upon_LANDING():
            clearUponHandler(2)
            sendToLabel(9)
    sprite('null', 120)
    label(0)
    sprite('Action_022_00', 4)
    Unknown1086(22)
    teleportRelativeX(-120000)
    Unknown1007(2400000)
    physicsYImpulse(-85714)
    setGravity(0)
    Unknown2053(1)
    sprite('Action_022_01', 4)
    sprite('Action_022_00', 4)
    sprite('Action_022_01', 3)
    sprite('Action_009_14', 3)
    sprite('Action_009_15', 2)
    sprite('Action_009_16', 1)
    sprite('Action_009_17', 1)
    sprite('Action_009_18', 2)
    GFX_0('JC_Burst_Eff', -1)
    SFX_3('SE043')
    sprite('Action_009_19', 32767)
    label(9)
    sprite('keep', 3)
    Unknown1084(1)
    Unknown21015('4a435f42757273745f4566660000000000000000000000000000000000000000fd26000000000000')
    sprite('Action_021_00', 6)
    Unknown18009(1)
    Unknown8000(100, 1, 1)
    clearUponHandler(2)
    sprite('Action_021_01', 9)
    sprite('Action_021_02', 7)
    Unknown18009(0)
    sprite('Action_021_03', 7)

@State
def CmnActChangeReturnAppealBurst():
    sprite('Action_031_00', 3)
    sprite('Action_031_01', 3)
    sprite('Action_031_02', 44)
    sprite('Action_031_04', 5)
    sprite('Action_000_00', 25)

@Subroutine
def PassingLink():
    HitOrBlockCancel('NmlAtk5A')
    HitOrBlockCancel('NmlAtk2A')
    HitOrBlockCancel('NmlAtk5B')
    HitOrBlockCancel('NmlAtk2B')
    HitOrBlockCancel('NmlAtk2C')

@State
def NmlAtk5A():

    def upon_IMMEDIATE():
        AttackDefaults_StandingNormal()
        AttackLevel_(3)
        Damage(1100)
        AttackP2(85)
        AirPushbackX(7500)
        AirPushbackY(15000)
        Unknown11050('0200000065665f6869746d6d5f7465737400000000000000000000000000000000000000')
        HitOrBlockCancel('NmlAtk5A2nd')
        callSubroutine('PassingLink')
        HitOrBlockCancel('CmnActCrushAttack')
        HitOrBlockCancel('NmlAtkThrow')
        HitOrBlockCancel('NmlAtkBackThrow')
        HitOrBlockJumpCancel(1)
        Unknown1112('')
        Unknown9016(1)
        Unknown2004(1, 0)
        Unknown2015(150)

        def upon_STATE_END():
            Unknown2015(-1)
    sprite('Action_002_00', 1)
    sprite('Action_002_01', 2)
    sprite('Action_002_02', 2)
    Unknown7009(0)
    sprite('Action_002_03', 1)
    GFX_0('5B_Eff', -1)
    SFX_3('SE042')
    sprite('Action_002_04', 1)
    sprite('Action_002_05', 1)
    sprite('Action_002_06', 3)
    sprite('Action_002_07', 6)
    Recovery()
    Unknown2063()
    sprite('Action_002_08', 7)
    sprite('Action_002_09', 6)
    sprite('Action_002_10', 6)

@State
def NmlAtk5A2nd():

    def upon_IMMEDIATE():
        AttackDefaults_StandingNormal()
        AttackLevel_(3)
        Damage(1100)
        AttackP2(85)
        AirPushbackX(7500)
        AirPushbackY(15000)
        Unknown11050('0200000065665f6869746d6d5f7465737400000000000000000000000000000000000000')
        HitOrBlockCancel('NmlAtk5A3rd')
        callSubroutine('PassingLink')
        HitOrBlockCancel('CmnActCrushAttack')
        HitOrBlockCancel('NmlAtkThrow')
        HitOrBlockCancel('NmlAtkBackThrow')
        HitJumpCancel(1)
        Unknown9016(1)
        Unknown2004(1, 0)
        Unknown2015(150)

        def upon_STATE_END():
            Unknown2015(-1)
    sprite('Action_097_00', 2)
    sprite('Action_097_01', 3)
    sprite('Action_097_02', 5)
    Unknown7009(3)
    sprite('Action_097_03', 1)
    GFX_0('5BB_Eff', -1)
    SFX_3('SE042')
    sprite('Action_097_04', 2)
    sprite('Action_097_05', 7)
    sprite('Action_097_06', 7)
    Recovery()
    Unknown2063()
    sprite('Action_097_07', 5)
    sprite('Action_097_08', 4)

@State
def NmlAtk5A3rd():

    def upon_IMMEDIATE():
        AttackDefaults_StandingNormal()
        AttackLevel_(4)
        Damage(1300)
        AttackP2(90)
        AirPushbackX(4000)
        AirPushbackY(20000)
        Unknown11050('0200000065665f6869746c6d5f7465737400000000000000000000000000000000000000')
        PushbackX(19800)
        HitOrBlockCancel('NmlAtk5A4th')
        callSubroutine('PassingLink')
        HitOrBlockCancel('CmnActCrushAttack')
        HitJumpCancel(1)
        Unknown9016(1)
    sprite('Action_003_00', 3)
    sprite('Action_003_01', 4)
    teleportRelativeX(60000)
    Unknown7009(1)
    Unknown2015(150)
    sprite('Action_003_02', 3)
    sprite('Action_003_03', 2)
    sprite('Action_003_04', 2)
    GFX_0('5C_Eff', -1)
    SFX_3('SE045')
    sprite('Action_003_05', 3)
    teleportRelativeX(30000)
    sprite('Action_003_06', 6)
    Recovery()
    Unknown2063()
    sprite('Action_003_07', 5)
    sprite('Action_003_08', 4)
    sprite('Action_003_09', 4)
    teleportRelativeX(-40000)
    Unknown2015(-1)
    sprite('Action_003_10', 5)
    sprite('Action_223_00', 3)
    sprite('Action_224_00', 3)

@State
def NmlAtk5A4th():

    def upon_IMMEDIATE():
        AttackDefaults_StandingNormal()
        AttackLevel_(4)
        Damage(0)
        AttackP2(100)
        Hitstop(3)
        JumpCancel_(0)
        Unknown2004(1, 0)
        Unknown11044(1)
        Unknown2073(1)

        def upon_78():
            enterState('NmlAtk5A4thPlus')
    sprite('Action_125_01', 4)
    teleportRelativeX(20000)
    sprite('Action_125_02', 4)
    sprite('Action_125_03', 3)
    sprite('Action_125_04', 1)
    physicsXImpulse(30000)
    sprite('Action_125_05', 1)
    sprite('Action_125_06', 1)
    Unknown1084(1)
    Recovery()
    Unknown7007('7563613231325f300000000000000000640000007563613231325f310000000000000000640000007563613231325f320000000000000000640000000000000000000000000000000000000000000000')
    sprite('Action_125_07', 3)
    sprite('Action_125_08', 8)
    sprite('Action_125_09', 4)
    sprite('Action_125_10', 4)
    sprite('Action_125_11', 4)
    sprite('Action_125_12', 4)
    sprite('Action_125_13', 4)

@State
def NmlAtk5A4thPlus():

    def upon_IMMEDIATE():
        Unknown17011('NmlAtk5A4thExe', 1, 0, 0)
        Unknown2018(0, 80)
        Unknown11032('ffffffffffffffffffffffffffffffff')
        Unknown11054(-1)
        Unknown11002(-1)
        AttackP2(100)
        Hitstop(0)
        setInvincible(1)
        Unknown11045(0)
        Unknown11025(0)
        Unknown11064(1)
        Unknown30061(1)
        JumpCancel_(0)
        Unknown2004(1, 0)
    sprite('Action_125_05', 1)
    teleportRelativeX(-130000)
    sprite('Action_125_06', 1)
    Recovery()
    setInvincible(0)
    sprite('Action_125_07', 3)
    sprite('Action_125_08', 4)
    sprite('Action_125_09', 3)
    sprite('Action_125_10', 3)
    sprite('Action_125_11', 4)
    sprite('Action_125_12', 3)
    sprite('Action_125_13', 2)

@State
def NmlAtk5A4thExe():

    def upon_IMMEDIATE():
        Unknown17012(1, 0, 0)
        AttackLevel_(4)
        Damage(800)
        Unknown11092(1)
        Unknown11091(0)
        AirUntechableTime(30)
        PushbackX(0)
        Hitstop(0)
        Unknown30079(1)
        Unknown11064(1)
        Unknown9016(1)
        Unknown23027()
        JumpCancel_(0)
        Unknown2004(1, 0)
    sprite('Action_126_00', 7)
    tag_voice(1, 'uca210_0', 'uca210_1', 'uca210_2', '')
    teleportRelativeX(65000)
    Unknown5000(0, 0)
    Unknown5001('0000000000000000000000000000000000000000')
    sprite('Action_126_01', 8)
    Unknown5000(0, 0)
    Unknown5001('0000000000000000000000000000000000000000')
    sprite('Action_126_02', 8)
    Unknown5000(0, 0)
    Unknown5001('0000000000000000000000000000000000000000')
    sprite('Action_126_03', 5)
    Unknown5000(0, 0)
    Unknown5001('0000000000000000000000000000000000000000')
    sprite('Action_126_04', 5)
    Unknown5000(0, 0)
    Unknown5001('0000000000000000000000000000000000000000')
    sprite('Action_126_05', 27)
    Unknown5000(0, 0)
    Unknown5001('0000000000000000000000000000000000000000')
    sprite('Action_126_06', 8)
    Unknown5000(0, 0)
    Unknown5001('0000000000000000000000000000000000000000')
    sprite('Action_126_07', 5)
    Unknown5000(0, 0)
    Unknown5001('0000000000000000000000000000000000000000')
    sprite('Action_126_08', 2)
    GFX_0('UltimateCommandThrowEff', 0)
    Unknown5000(0, 0)
    Unknown5001('0000000000000000000000000000000000000000')
    sprite('Action_126_09', 1)
    Unknown5000(0, 0)
    Unknown5001('0000000000000000000000000000000000000000')
    sprite('Action_126_09', 3)
    RefreshMultihit()
    tag_voice(0, 'uca211_0', 'uca211_1', 'uca211_2', '')
    callSubroutine('LifeDrain')
    Unknown5000(0, 0)
    Unknown5001('0000000000000000000000000000000000000000')
    sprite('Action_126_09', 4)
    RefreshMultihit()
    Unknown5000(0, 0)
    Unknown5001('0000000000000000000000000000000000000000')
    sprite('Action_126_10', 3)
    RefreshMultihit()
    Unknown5000(0, 0)
    Unknown5001('0000000000000000000000000000000000000000')
    sprite('Action_126_11', 6)
    Unknown5000(0, 0)
    Unknown5001('0000000000000000000000000000000000000000')
    sprite('Action_126_12', 5)
    Unknown5000(0, 0)
    Unknown5001('0000000000000000000000000000000000000000')
    sprite('Action_126_13', 2)
    RefreshMultihit()
    Unknown30079(0)
    Unknown11064(0)
    Damage(100)
    AirHitstunAnimation(11)
    GroundedHitstunAnimation(11)
    AirPushbackX(-30000)
    AirPushbackY(0)
    Unknown9202(3)
    Unknown11072(1, 110000, 50000)
    Unknown11050('050000000000000000000000000000000000000000000000000000000000000000000000')
    Unknown5000(25, 0)
    Unknown5001('0000000000000000000000000000000000000000')
    Unknown2018(0, 80)
    sprite('Action_126_14', 5)
    sprite('Action_126_15', 7)
    sprite('Action_126_16', 4)
    sprite('Action_126_17', 5)
    sprite('Action_126_18', 5)
    sprite('Action_126_19', 4)

@State
def NmlAtk5B():

    def upon_IMMEDIATE():
        AttackDefaults_StandingNormal()
        Unknown11063(1)
        WhiffCancel('NmlAtk5B2nd')
        Unknown11050('0200000065665f6869746c6d5f7465737400000000000000000000000000000000000000')
        Unknown1112('')

        def upon_43():
            if (SLOT_48 == 1941):
                clearUponHandler(43)
                GFX_0('BloodPool_B', -1)
                Unknown1087(1, 4)
                Unknown36(1)
                teleportRelativeY(0)
                teleportRelativeX(100000)
                Unknown35()
                Unknown38(4, 1)
                WhiffCancelEnable(1)
                SLOT_51 = 10

                def upon_45():
                    if SLOT_51:
                        SLOT_51 = (SLOT_51 + (-1))
                    else:
                        Unknown14084('NmlAtk5B2nd')
    sprite('Action_190_00', 3)
    sprite('Action_190_01', 3)
    SFX_4('uca105_1')
    sprite('Action_190_02', 2)
    sprite('Action_190_03', 2)
    sprite('Action_190_04', 2)
    SFX_3('SE042')
    sprite('Action_190_05', 4)
    Unknown23029(4, 9999, 0)
    GFX_0('6B_Eff', -1)
    Unknown38(4, 1)
    selfDamage(750)
    sprite('Action_190_06', 8)
    sprite('Action_190_07', 7)
    sprite('Action_190_08', 6)
    sprite('Action_190_09', 5)

@Subroutine
def DissolveActivate5B2nd():
    if Unknown46(4):
        if (not Unknown48('19000000020000000000000004000000020000003a000000')):
            GFX_0('6BB_Eff', -1)
            Unknown1087(1, 4)
            Unknown36(1)
            teleportRelativeX(90000)
            Unknown35()
    if Unknown46(5):
        if (not Unknown48('19000000020000000000000005000000020000003a000000')):
            GFX_0('6BB_Eff', -1)
            Unknown1087(1, 5)
            Unknown36(1)
            teleportRelativeX(90000)
            Unknown35()
    if Unknown46(6):
        if (not Unknown48('19000000020000000000000006000000020000003a000000')):
            GFX_0('6BB_Eff', -1)
            Unknown1087(1, 6)
            Unknown36(1)
            teleportRelativeX(90000)
            Unknown35()
    if Unknown46(7):
        if (not Unknown48('19000000020000000000000007000000020000003a000000')):
            GFX_0('6BB_Eff', -1)
            Unknown1087(1, 7)
            Unknown36(1)
            teleportRelativeX(90000)
            Unknown35()
    if Unknown46(8):
        if (not Unknown48('19000000020000000000000008000000020000003a000000')):
            GFX_0('6BB_Eff', -1)
            Unknown1087(1, 8)
            Unknown36(1)
            teleportRelativeX(90000)
            Unknown35()

@Subroutine
def DissolveAllDelete():
    if Unknown46(4):
        Unknown23029(4, 9999, 0)
    if Unknown46(5):
        Unknown23029(5, 9999, 0)
    if Unknown46(6):
        Unknown23029(6, 9999, 0)
    if Unknown46(7):
        Unknown23029(7, 9999, 0)
    if Unknown46(8):
        Unknown23029(8, 9999, 0)

@State
def NmlAtk5B2nd():

    def upon_IMMEDIATE():
        AttackDefaults_StandingNormal()
        Unknown11063(1)
        Unknown11050('0200000065665f6869746c6d5f7465737400000000000000000000000000000000000000')
        HitJumpCancel(1)
    sprite('Action_189_00', 4)
    sprite('Action_189_01', 5)
    SFX_4('uca102_1')
    sprite('Action_189_02', 3)
    callSubroutine('DissolveActivate5B2nd')
    callSubroutine('DissolveAllDelete')
    SFX_3('SE042')
    sprite('Action_189_03', 4)
    sprite('Action_189_04', 5)
    sprite('Action_189_05', 5)
    sprite('Action_189_06', 5)
    sprite('Action_189_07', 5)

@State
def NmlAtk2A():

    def upon_IMMEDIATE():
        AttackDefaults_CrouchingNormal()
        AttackLevel_(1)
        Damage(800)
        AttackP2(80)
        HitLow(2)
        AttackP1(90)
        AirPushbackY(15000)
        callSubroutine('PassingLink')
        HitOrBlockCancel('CmnActCrushAttack')
        WhiffCancel('NmlAtk2A_Renda')
        HitOrBlockCancel('NmlAtk2A_Renda')
        HitOrBlockCancel('NmlAtkThrow')
        HitOrBlockCancel('NmlAtkBackThrow')
        HitOrBlockJumpCancel(1)
    sprite('Action_005_00', 1)
    sprite('Action_005_01', 2)
    sprite('Action_005_02', 2)
    Unknown7009(1)
    sprite('Action_005_03', 1)
    SFX_3('SE042')
    sprite('Action_005_04', 5)
    sprite('Action_005_05', 4)
    WhiffCancelEnable(1)
    Recovery()
    Unknown2063()
    sprite('Action_005_05', 4)
    sprite('Action_005_07', 5)

@State
def NmlAtk2A_Renda():

    def upon_IMMEDIATE():
        AttackDefaults_CrouchingNormal()
        AttackLevel_(1)
        Damage(800)
        AttackP2(80)
        HitLow(2)
        AttackP1(90)
        AirPushbackY(15000)
        callSubroutine('PassingLink')
        HitOrBlockCancel('CmnActCrushAttack')
        WhiffCancel('NmlAtk2A_Renda')
        HitOrBlockCancel('NmlAtk2A_Renda')
        HitOrBlockCancel('NmlAtkThrow')
        HitOrBlockCancel('NmlAtkBackThrow')
        HitOrBlockJumpCancel(1)
    sprite('Action_005_00', 1)
    sprite('Action_005_01', 2)
    sprite('Action_005_02', 2)
    Unknown7009(1)
    sprite('Action_005_03', 1)
    SFX_3('SE042')
    sprite('Action_005_04', 5)
    sprite('Action_005_05', 4)
    WhiffCancelEnable(1)
    Recovery()
    Unknown2063()
    sprite('Action_005_05', 4)
    sprite('Action_005_07', 5)

@State
def NmlAtk2B():

    def upon_IMMEDIATE():
        AttackDefaults_CrouchingNormal()
        AttackLevel_(3)
        Damage(1100)
        AttackP1(90)
        AttackP2(85)
        AirPushbackY(25000)
        AirUntechableTime(25)
        Unknown11058('0000000001000000000000000000000000000000')
        HitJumpCancel(1)
        Unknown28(8, 'CmnActStand')
        callSubroutine('PassingLink')
        HitOrBlockCancel('CmnActCrushAttack')
    sprite('Action_093_00', 4)
    sprite('Action_093_01', 2)
    setInvincible(1)
    Unknown22019('0100000000000000000000000000000000000000')
    Unknown7007('7563613130365f300000000000000000640000007563613130365f310000000000000000640000007563613130365f320000000000000000640000000000000000000000000000000000000000000000')
    sprite('Action_093_02', 1)
    SFX_3('SE045')
    sprite('Action_093_03', 2)
    sprite('Action_093_04', 3)
    setInvincible(0)
    Recovery()
    Unknown2063()
    sprite('Action_093_05', 5)
    sprite('Action_093_06', 3)
    sprite('Action_093_07', 3)
    sprite('Action_093_08', 4)
    sprite('Action_093_09', 3)
    sprite('Action_222_00', 3)
    sprite('Action_223_00', 3)
    sprite('Action_224_00', 3)

@State
def NmlAtk2C():

    def upon_IMMEDIATE():
        AttackDefaults_CrouchingNormal()
        AttackLevel_(4)
        Damage(1300)
        AttackP1(90)
        AttackP2(80)
        HitLow(2)
        AirHitstunAnimation(11)
        GroundedHitstunAnimation(11)
        AirPushbackX(3500)
        AirPushbackY(18000)
        AirUntechableTime(30)
        Unknown9016(1)
        HitJumpCancel(1)
        callSubroutine('PassingLink')
        Unknown2004(1, 0)
    sprite('Action_006_00', 3)
    sprite('Action_006_01', 4)
    Unknown7007('7563613130375f300000000000000000640000007563613130375f310000000000000000640000007563613130375f320000000000000000640000000000000000000000000000000000000000000000')
    sprite('Action_006_02', 1)
    GFX_0('2C_Eff', -1)
    sprite('Action_006_03', 2)
    sprite('Action_006_04', 2)
    SFX_3('SE043')
    sprite('Action_006_05', 6)
    Recovery()
    Unknown2063()
    sprite('Action_006_06', 9)
    sprite('Action_006_07', 5)
    sprite('Action_006_08', 5)
    sprite('Action_006_09', 4)

@State
def NmlAtkAIR5A():

    def upon_IMMEDIATE():
        AttackDefaults_AirNormal()
        AttackLevel_(3)
        Damage(1000)
        AttackP2(85)
        Unknown11092(1)
        AirPushbackY(22000)
        Unknown9016(1)
        AirUntechableTime(22)
        HitOrBlockCancel('NmlAtkAIR5A2nd')
        HitOrBlockCancel('NmlAtkAIR5B')
        HitOrBlockCancel('NmlAtkAIR5C')
        HitOrBlockJumpCancel(1)
    sprite('Action_009_14', 2)
    sprite('Action_009_15', 1)
    sprite('Action_009_15', 1)
    Unknown7009(5)
    sprite('Action_009_16', 2)
    sprite('Action_009_17', 2)
    sprite('Action_009_18', 2)
    sprite('Action_009_19', 2)
    GFX_0('JC_Eff', -1)
    SFX_3('SE043')
    sprite('Action_009_19', 2)
    RefreshMultihit()
    sprite('Action_009_20', 3)
    Recovery()
    Unknown2063()
    sprite('Action_009_21', 4)
    sprite('Action_009_22', 4)
    sprite('Action_009_25', 4)
    sprite('Action_009_26', 3)

@State
def NmlAtkAIR5A2nd():

    def upon_IMMEDIATE():
        AttackDefaults_AirNormal()
        AttackLevel_(3)
        Damage(1100)
        AttackP2(85)
        AirUntechableTime(22)
        Unknown9016(1)
        HitOrBlockCancel('NmlAtkAIR5B')
        HitOrBlockCancel('NmlAtkAIR5C')
        HitOrBlockJumpCancel(1)
    sprite('Action_008_00', 1)
    sprite('Action_008_01', 1)
    sprite('Action_008_02', 1)
    sprite('Action_008_02', 1)
    Unknown7009(4)
    sprite('Action_008_03', 2)
    GFX_0('JB_Eff', -1)
    SFX_3('SE042')
    sprite('Action_008_04', 2)
    sprite('Action_008_05', 1)
    sprite('Action_008_06', 7)
    Recovery()
    Unknown2063()
    sprite('Action_008_07', 6)
    sprite('Action_008_08', 5)

@State
def NmlAtkAIR5B():

    def upon_IMMEDIATE():
        AttackDefaults_AirNormal()
        Unknown11063(1)
        WhiffCancel('NmlAtkAIR5B2nd')
        HitOrBlockCancel('NmlAtkAIR5C')

        def upon_LANDING():
            clearUponHandler(2)
            sendToLabel(1)

        def upon_43():
            if (SLOT_48 == 1911):
                clearUponHandler(43)
                GFX_0('BloodPool_B', -1)
                Unknown1087(1, 4)
                Unknown36(1)
                teleportRelativeY(0)
                teleportRelativeX(100000)
                Unknown35()
                Unknown38(4, 1)
                WhiffCancelEnable(1)
                SLOT_51 = 10

                def upon_45():
                    if SLOT_51:
                        SLOT_51 = (SLOT_51 + (-1))
                    else:
                        Unknown14084('NmlAtkAIR5B2nd')
                        Unknown2037(1)
    sprite('Action_191_00', 1)
    sprite('Action_191_00', 3)
    YAccel(50)
    sprite('Action_191_01', 3)
    SFX_4('uca105_1')
    Unknown1084(1)
    sprite('Action_191_02', 4)
    sprite('Action_191_03', 5)
    sprite('Action_191_04', 2)
    SFX_3('SE042')
    sprite('Action_191_05', 5)
    Unknown23029(4, 9999, 0)
    GFX_0('J6B_Eff', -1)
    Unknown38(4, 1)
    setGravity(3000)
    selfDamage(750)
    sprite('Action_191_06', 4)
    sprite('Action_191_07', 3)
    sprite('Action_191_08', 3)
    loopRest()
    Recovery()
    label(0)
    sprite('Action_191_09', 3)
    sprite('Action_191_10', 3)
    gotoLabel(0)
    label(1)
    sprite('Action_191_11', 2)
    Unknown1084(1)
    Unknown8000(100, 1, 1)
    Unknown14084('NmlAtkAIR5B2nd')
    Unknown14085('NmlAtkAIR5C')
    WhiffCancel('NmlAtk5B2nd')

    def upon_3():
        if SLOT_2:
            clearUponHandler(3)
            Unknown14084('NmlAtk5B2nd')
    sprite('Action_191_12', 3)
    sprite('Action_191_13', 6)
    sprite('Action_191_14', 5)

@Subroutine
def DissolveActivateJB2nd():
    if Unknown46(4):
        if (not Unknown48('19000000020000000000000004000000020000003a000000')):
            GFX_0('J6BB_Eff', -1)
            Unknown1087(1, 4)
            Unknown36(1)
            teleportRelativeX(90000)
            Unknown35()
    if Unknown46(5):
        if (not Unknown48('19000000020000000000000005000000020000003a000000')):
            GFX_0('J6BB_Eff', -1)
            Unknown1087(1, 5)
            Unknown36(1)
            teleportRelativeX(90000)
            Unknown35()
    if Unknown46(6):
        if (not Unknown48('19000000020000000000000006000000020000003a000000')):
            GFX_0('J6BB_Eff', -1)
            Unknown1087(1, 6)
            Unknown36(1)
            teleportRelativeX(90000)
            Unknown35()
    if Unknown46(7):
        if (not Unknown48('19000000020000000000000007000000020000003a000000')):
            GFX_0('J6BB_Eff', -1)
            Unknown1087(1, 7)
            Unknown36(1)
            teleportRelativeX(90000)
            Unknown35()
    if Unknown46(8):
        if (not Unknown48('19000000020000000000000008000000020000003a000000')):
            GFX_0('J6BB_Eff', -1)
            Unknown1087(1, 8)
            Unknown36(1)
            teleportRelativeX(90000)
            Unknown35()

@State
def NmlAtkAIR5B2nd():

    def upon_IMMEDIATE():
        AttackDefaults_AirNormal()
        Unknown11063(1)
        Unknown23026(-10000)

        def upon_STATE_END():
            Unknown23026(0)
        HitOrBlockCancel('NmlAtkAIR5A')
        HitOrBlockCancel('NmlAtkAIR5C')
        HitOrBlockJumpCancel(1)
    sprite('Action_192_00', 4)
    sprite('Action_192_01', 5)
    physicsXImpulse(2000)
    physicsYImpulse(3000)
    SFX_4('uca102_0')
    sprite('Action_192_02', 2)
    physicsXImpulse(5000)
    physicsYImpulse(33000)
    setGravity(2300)
    callSubroutine('DissolveActivateJB2nd')
    callSubroutine('DissolveAllDelete')
    Unknown23026(0)
    SFX_3('SE042')
    sprite('Action_192_03', 10)
    sprite('Action_192_04', 7)
    sprite('Action_192_05', 4)
    sprite('Action_192_06', 4)
    sprite('Action_192_07', 3)
    label(0)
    sprite('Action_192_08', 3)
    sprite('Action_192_09', 3)
    gotoLabel(0)

@State
def NmlAtkAIR5C():

    def upon_IMMEDIATE():
        AttackDefaults_AirNormal()
        AttackLevel_(4)
        Damage(1000)
        AttackP2(100)
        AirPushbackX(3000)
        AirPushbackY(-70000)
        Hitstop(7)
        AirUntechableTime(22)
        HitOverhead(0)
        Unknown9016(1)
        JumpCancel_(0)
        Unknown9310(1)
        Unknown9202(1)
        Unknown23026(-10000)

        def upon_STATE_END():
            Unknown23026(0)
    sprite('Action_151_01', 3)
    sprite('Action_151_01', 6)

    def upon_LANDING():
        clearUponHandler(2)
        sendToLabel(1)
    GFX_0('DoubleShotC', -1)
    Unknown1084(1)
    physicsYImpulse(30000)
    setGravity(2800)
    Unknown23026(0)
    sprite('Action_151_02', 4)
    Unknown7009(2)
    sprite('Action_151_03', 2)
    SFX_3('SE043')
    sprite('Action_151_04', 1)
    sprite('Action_151_05', 1)
    Unknown1043()
    sprite('Action_151_05', 4)
    Unknown23029(7, 9999, 0)
    GFX_0('DoubleShotC_Ground', -1)
    Unknown38(7, 1)
    selfDamage(750)
    Unknown23029(8, 9999, 0)
    GFX_0('DoubleShotC_Eff', -1)
    Unknown38(8, 1)
    selfDamage(750)
    sprite('Action_151_06', 5)
    sprite('Action_151_07', 4)
    sprite('Action_151_08', 4)
    label(0)
    sprite('Action_151_09', 4)
    sprite('Action_151_10', 4)
    gotoLabel(0)
    label(1)
    sprite('Action_151_11', 3)
    Unknown8000(100, 1, 1)
    Unknown1084(1)
    sprite('Action_151_12', 5)
    sprite('Action_151_13', 4)
    sprite('Action_151_14', 4)

@State
def CmnActCrushAttack():

    def upon_IMMEDIATE():
        Unknown30072('')
        Unknown11058('0100000000000000000000000000000000000000')
        Unknown9016(1)
    sprite('Action_068_00', 4)
    sprite('Action_068_02', 3)
    Unknown1084(1)
    SLOT_12 = SLOT_19
    Unknown1019(4)
    physicsYImpulse(23000)
    if (SLOT_12 >= 20000):
        SLOT_12 = 20000
    setGravity(1800)
    clearUponHandler(2)
    sendToLabelUpon(2, 1)
    sprite('Action_068_03', 3)
    tag_voice(1, 'uca156_0', 'uca156_1', '', '')
    sprite('Action_068_04', 3)
    sprite('Action_068_05', 3)
    sprite('Action_009_14', 3)
    sprite('Action_009_15', 2)
    sprite('Action_009_16', 1)
    sprite('Action_009_17', 1)
    sprite('Action_009_18', 2)
    GFX_0('JC_Eff', -1)
    SFX_3('SE043')
    sprite('Action_009_19', 3)
    sprite('Action_009_20', 6)
    sprite('Action_068_08', 3)
    sprite('Action_068_09', 3)
    label(0)
    sprite('Action_068_10', 1)
    loopRest()
    gotoLabel(0)
    label(1)
    sprite('Action_021_00', 2)
    Unknown18009(1)
    Unknown8000(100, 1, 1)
    clearUponHandler(2)
    Unknown1084(1)
    sprite('Action_021_01', 5)
    sprite('Action_021_02', 3)
    Unknown18009(0)
    sprite('Action_021_03', 3)

@State
def CmnActCrushAttackChase1st():

    def upon_IMMEDIATE():
        Unknown30073(0)
        Unknown9016(1)
        Unknown23027()
        setGravity(4000)
        sendToLabelUpon(2, 2)
        loopRelated(17, 180)

        def upon_17():
            clearUponHandler(17)
            sendToLabel(1)
    sprite('keep', 1)
    sprite('Action_009_20', 32767)
    label(2)
    sprite('Action_021_00', 2)
    Unknown8000(100, 1, 1)
    clearUponHandler(2)
    sprite('Action_021_01', 4)
    sprite('Action_021_02', 2)
    sprite('Action_021_03', 2)
    sprite('Action_200_00', 2)
    sprite('Action_200_01', 3)
    sprite('Action_200_02', 3)
    sprite('Action_200_03', 2)
    sprite('Action_200_04', 2)
    RefreshMultihit()
    GFX_0('InvincibleAttack_Eff', -1)
    SFX_3('SE045')
    sprite('Action_200_05', 4)
    StartMultihit()
    tag_voice(0, 'uca157_0', 'uca157_1', '', '')
    sprite('Action_200_06', 20)
    sprite('Action_200_07', 6)
    sprite('Action_200_08', 6)
    sprite('Action_000_16', 6)
    sprite('Action_000_17', 7)
    sprite('Action_000_18', 4)
    sprite('Action_000_19', 5)
    sprite('Action_000_20', 9)
    sprite('Action_000_21', 7)
    sprite('Action_000_22', 4)
    sprite('Action_000_23', 5)
    sprite('Action_000_24', 6)
    sprite('Action_000_25', 7)
    sprite('Action_000_26', 5)
    sprite('Action_000_27', 4)
    sprite('Action_000_28', 4)
    label(0)
    sprite('Action_000_00', 7)
    sprite('Action_000_01', 7)
    sprite('Action_000_02', 8)
    sprite('Action_000_03', 8)
    sprite('Action_000_04', 10)
    sprite('Action_000_05', 9)
    sprite('Action_000_06', 11)
    sprite('Action_000_07', 8)
    sprite('Action_000_08', 7)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 7)
    sprite('Action_000_11', 7)
    sprite('Action_000_12', 8)
    sprite('Action_000_13', 7)
    sprite('Action_000_14', 7)
    loopRest()
    gotoLabel(0)
    label(1)
    sprite('keep', 1)

@State
def CmnActCrushAttackChase2nd():

    def upon_IMMEDIATE():
        Unknown30074(0)
        Unknown9016(1)
        Unknown23027()
        loopRelated(17, 180)

        def upon_17():
            clearUponHandler(17)
            sendToLabel(1)
    sprite('Action_012_00', 1)
    sprite('Action_012_01', 1)
    sprite('Action_095_00', 2)
    sprite('Action_095_01', 3)
    sprite('Action_095_02', 2)
    sprite('Action_095_03', 2)
    sprite('Action_095_04', 2)
    sprite('Action_095_05', 1)
    GFX_0('3C_Eff', -1)
    SFX_3('SE045')
    sprite('Action_095_06', 2)
    RefreshMultihit()
    sprite('Action_095_07', 3)
    sprite('Action_095_08', 8)
    sprite('Action_095_09', 5)
    sprite('Action_095_10', 4)
    sprite('Action_095_11', 3)
    sprite('Action_000_16', 6)
    sprite('Action_000_17', 7)
    sprite('Action_000_18', 4)
    sprite('Action_000_19', 5)
    sprite('Action_000_20', 9)
    sprite('Action_000_21', 7)
    sprite('Action_000_22', 4)
    sprite('Action_000_23', 5)
    sprite('Action_000_24', 6)
    sprite('Action_000_25', 7)
    sprite('Action_000_26', 5)
    sprite('Action_000_27', 4)
    sprite('Action_000_28', 4)
    label(0)
    sprite('Action_000_00', 7)
    sprite('Action_000_01', 7)
    sprite('Action_000_02', 8)
    sprite('Action_000_03', 8)
    sprite('Action_000_04', 10)
    sprite('Action_000_05', 9)
    sprite('Action_000_06', 11)
    sprite('Action_000_07', 8)
    sprite('Action_000_08', 7)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 7)
    sprite('Action_000_11', 7)
    sprite('Action_000_12', 8)
    sprite('Action_000_13', 7)
    sprite('Action_000_14', 7)
    loopRest()
    gotoLabel(0)
    label(1)
    sprite('keep', 1)

@State
def CmnActCrushAttackFinish():

    def upon_IMMEDIATE():
        Unknown30075(0)
        Unknown9016(1)
    sprite('Action_094_18', 3)
    teleportRelativeX(-30000)
    sprite('Action_094_19', 11)
    teleportRelativeX(-30000)
    sprite('Action_094_20', 1)
    teleportRelativeX(-30000)
    sprite('Action_094_21', 1)
    teleportRelativeX(-30000)
    sprite('Action_094_22', 1)
    GFX_0('5AAA_Eff', -1)
    SFX_3('SE043')
    sprite('Action_094_23', 1)
    sprite('Action_094_24', 1)
    tag_voice(0, 'uca158_0', 'uca158_1', '', '')
    sprite('Action_094_25', 3)
    sprite('Action_094_26', 6)
    teleportRelativeX(20000)
    sprite('Action_094_27', 5)
    teleportRelativeX(20000)
    sprite('Action_094_28', 5)
    teleportRelativeX(20000)
    sprite('Action_094_29', 4)
    teleportRelativeX(40000)
    sprite('Action_094_30', 3)
    teleportRelativeX(20000)
    sprite('Action_222_00', 4)
    sprite('Action_223_00', 4)
    sprite('Action_224_00', 4)
    sprite('Action_000_00', 3)

@State
def CmnActCrushAttackAssistChase1st():

    def upon_IMMEDIATE():
        Unknown30073(1)
        Unknown9016(1)

        def upon_LANDING():
            clearUponHandler(2)
            sendToLabel(1)
    sprite('null', 15)
    sprite('null', 10)
    Unknown30081('')
    Unknown1086(22)
    teleportRelativeY(0)
    sprite('null', 1)
    teleportRelativeX(-1000000)
    Unknown1007(500000)
    setGravity(0)
    sprite('null', 3)
    sprite('Action_008_00', 3)
    physicsXImpulse(48000)
    physicsYImpulse(-18000)
    setGravity(3000)
    sprite('Action_009_14', 3)
    sprite('Action_009_15', 2)
    sprite('Action_009_16', 1)
    sprite('Action_009_17', 1)
    sprite('Action_009_18', 2)
    GFX_0('JC_Eff', -1)
    SFX_3('SE043')
    sprite('Action_009_19', 2)
    RefreshMultihit()
    sprite('Action_009_20', 4)
    sprite('Action_009_21', 5)
    sprite('Action_009_22', 5)
    sprite('Action_009_23', 5)
    sprite('Action_009_24', 5)
    sprite('Action_009_25', 5)
    sprite('Action_009_26', 32767)
    loopRest()
    label(1)
    sprite('Action_021_00', 2)
    Unknown8000(100, 1, 1)
    Unknown1084(1)
    sprite('Action_021_01', 4)
    sprite('Action_021_02', 2)
    sprite('Action_021_03', 2)
    sprite('Action_222_00', 3)
    sprite('Action_223_00', 3)
    sprite('Action_224_00', 3)
    sprite('Action_000_00', 7)
    sprite('Action_000_01', 7)
    sprite('Action_000_02', 8)
    sprite('Action_000_03', 8)
    sprite('Action_000_04', 10)
    sprite('Action_000_05', 9)
    sprite('Action_000_06', 11)
    sprite('Action_000_07', 8)
    sprite('Action_000_08', 7)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 7)
    sprite('Action_000_11', 7)
    sprite('Action_000_12', 8)
    sprite('Action_000_13', 7)
    sprite('Action_000_14', 7)

@State
def CmnActCrushAttackAssistChase2nd():

    def upon_IMMEDIATE():
        Unknown30074(1)
        Unknown9016(1)
    sprite('Action_003_00', 2)
    sprite('Action_003_01', 2)
    Unknown2015(150)
    sprite('Action_003_02', 3)
    Unknown2015(200)
    sprite('Action_003_03', 2)
    sprite('Action_003_04', 2)
    GFX_0('5C_Eff', -1)
    SFX_3('SE045')
    sprite('Action_003_05', 3)
    Unknown2015(100)
    sprite('Action_003_06', 6)
    Recovery()
    Unknown2063()
    sprite('Action_003_07', 5)
    sprite('Action_003_08', 4)
    sprite('Action_003_09', 4)
    sprite('Action_003_10', 5)
    sprite('Action_000_16', 6)
    sprite('Action_000_17', 7)
    sprite('Action_000_18', 4)
    sprite('Action_000_19', 5)
    sprite('Action_000_20', 9)
    sprite('Action_000_21', 7)
    sprite('Action_000_22', 4)
    sprite('Action_000_23', 5)
    sprite('Action_000_24', 6)
    sprite('Action_000_25', 7)
    sprite('Action_000_26', 5)
    sprite('Action_000_27', 4)
    sprite('Action_000_28', 4)
    sprite('Action_000_00', 7)
    sprite('Action_000_01', 7)
    sprite('Action_000_02', 8)
    sprite('Action_000_03', 8)
    sprite('Action_000_04', 10)
    sprite('Action_000_05', 9)
    sprite('Action_000_06', 11)
    sprite('Action_000_07', 8)
    sprite('Action_000_08', 7)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 7)
    sprite('Action_000_11', 7)
    sprite('Action_000_12', 8)
    sprite('Action_000_13', 7)
    sprite('Action_000_14', 7)

@State
def CmnActCrushAttackAssistFinish():

    def upon_IMMEDIATE():
        Unknown30075(1)
        Unknown9016(1)
    sprite('Action_094_18', 3)
    teleportRelativeX(-30000)
    sprite('Action_094_19', 11)
    teleportRelativeX(-30000)
    sprite('Action_094_20', 1)
    teleportRelativeX(-30000)
    sprite('Action_094_21', 1)
    teleportRelativeX(-30000)
    sprite('Action_094_22', 1)
    GFX_0('5AAA_Eff', -1)
    SFX_3('SE043')
    sprite('Action_094_23', 1)
    sprite('Action_094_24', 1)
    sprite('Action_094_25', 3)
    sprite('Action_094_26', 6)
    teleportRelativeX(20000)
    sprite('Action_094_27', 5)
    teleportRelativeX(20000)
    sprite('Action_094_28', 5)
    teleportRelativeX(20000)
    sprite('Action_094_29', 4)
    teleportRelativeX(40000)
    sprite('Action_094_30', 3)
    teleportRelativeX(20000)
    sprite('Action_222_00', 4)
    sprite('Action_223_00', 4)
    sprite('Action_224_00', 4)
    sprite('Action_000_00', 3)

@Subroutine
def MyCreateHitEffect():
    Unknown4052()
    Unknown4049(1200)
    Unknown4045('65665f6869746c7a00000000000000000000000000000000000000000000000000000000')
    SFX_0('101_hit_slash_3')

@State
def NmlAtkThrow():

    def upon_IMMEDIATE():
        Unknown17011('ThrowExe', 1, 0, 0)
        Unknown11054(120000)
        physicsXImpulse(8000)

        def upon_3():
            if (SLOT_18 == 7):
                Unknown8007(100, 1, 1)
                physicsXImpulse(18000)
            if (SLOT_18 >= 7):
                Unknown1015(440)
                if (SLOT_12 >= 28000):
                    SLOT_12 = 28000
            if (SLOT_18 >= 25):
                sendToLabel(1)
            if (SLOT_18 >= 3):
                if (SLOT_19 < 180000):
                    sendToLabel(1)
    sprite('Action_010_00', 2)
    sprite('Action_010_01', 2)
    sprite('Action_045_00', 2)
    sprite('Action_045_01', 2)
    label(0)
    sprite('Action_045_02', 3)
    sprite('Action_045_03', 3)
    Unknown8006(100, 1, 1)
    sprite('Action_045_04', 3)
    sprite('Action_045_05', 3)
    sprite('Action_045_06', 3)
    sprite('Action_045_07', 3)
    Unknown8006(100, 1, 1)
    sprite('Action_045_08', 3)
    sprite('Action_045_09', 3)
    loopRest()
    gotoLabel(0)
    label(1)
    sprite('Action_055_00', 1)
    clearUponHandler(3)
    Unknown1019(10)
    Unknown8010(100, 1, 1)
    sprite('Action_055_01', 1)
    sprite('Action_055_02', 1)
    sprite('Action_055_03', 3)
    SFX_0('010_swing_sword_0')
    Unknown1084(1)
    sprite('Action_055_04', 4)
    SFX_4('uca154')
    sprite('Action_055_05', 5)
    sprite('Action_055_06', 6)
    sprite('Action_055_07', 4)
    sprite('Action_055_08', 4)

@State
def ThrowExe():

    def upon_IMMEDIATE():
        Unknown17012(1, 0, 0)
        AttackLevel_(4)
        Damage(2000)
        AttackP2(50)
        AirHitstunAnimation(2)
        GroundedHitstunAnimation(2)
        Unknown9130(10)
        Unknown9142(999)
        Unknown11072(1, 250000, 0)
        PushbackX(0)
        Unknown9016(1)
        JumpCancel_(0)
    sprite('Action_056_01ex00', 2)
    Unknown5003(1)
    Unknown5000(8, 0)
    Unknown5001('0000000000000000000000000000000000000000')
    Unknown2018(0, 80)
    sprite('Action_056_01', 2)
    Unknown5000(0, 0)
    Unknown5001('0000000000000000000000000000000000000000')
    sprite('Action_056_02', 4)
    Unknown5000(0, 0)
    Unknown5001('0000000000000000000000000000000000000000')
    sprite('Action_056_03', 4)
    Unknown5000(0, 0)
    Unknown5001('0000000000000000000000000000000000000000')
    sprite('Action_056_04', 2)
    Unknown5000(0, 0)
    Unknown5001('0000000000000000000000000000000000000000')
    sprite('Action_057_00', 2)
    GFX_0('ThrowExe_Eff', 0)
    Unknown5000(0, 0)
    Unknown5001('0000000000000000000000000000000000000000')
    sprite('Action_057_01', 3)
    Unknown5000(0, 0)
    Unknown5001('0000000000000000000000000000000000000000')
    callSubroutine('LifeDrain')
    SFX_4('uca153')
    sprite('Action_057_02', 3)
    callSubroutine('MyCreateHitEffect')
    Unknown5000(0, 0)
    Unknown5001('0000000000000000000000000000000000000000')
    sprite('Action_057_03', 7)
    Unknown5000(0, 0)
    Unknown5001('0000000000000000000000000000000000000000')

    def upon_ON_HIT_OR_BLOCK():
        JumpCancel_(1)
    sprite('Action_057_04', 6)
    sprite('Action_057_05', 2)
    sprite('Action_057_06', 6)
    sprite('Action_057_07', 7)

@State
def NmlAtkBackThrow():

    def upon_IMMEDIATE():
        Unknown17011('BackThrowExe', 1, 0, 0)
        Unknown11054(120000)
        physicsXImpulse(8000)

        def upon_3():
            if (SLOT_18 == 7):
                Unknown8007(100, 1, 1)
                physicsXImpulse(18000)
            if (SLOT_18 >= 7):
                Unknown1015(440)
                if (SLOT_12 >= 28000):
                    SLOT_12 = 28000
            if (SLOT_18 >= 25):
                sendToLabel(1)
            if (SLOT_18 >= 3):
                if (SLOT_19 < 180000):
                    sendToLabel(1)
    sprite('Action_010_00', 2)
    sprite('Action_010_01', 2)
    sprite('Action_045_00', 2)
    sprite('Action_045_01', 2)
    label(0)
    sprite('Action_045_02', 3)
    sprite('Action_045_03', 3)
    Unknown8006(100, 1, 1)
    sprite('Action_045_04', 3)
    sprite('Action_045_05', 3)
    sprite('Action_045_06', 3)
    sprite('Action_045_07', 3)
    Unknown8006(100, 1, 1)
    sprite('Action_045_08', 3)
    sprite('Action_045_09', 3)
    loopRest()
    gotoLabel(0)
    label(1)
    sprite('Action_055_00', 1)
    clearUponHandler(3)
    Unknown1019(10)
    Unknown8010(100, 1, 1)
    sprite('Action_055_01', 1)
    sprite('Action_055_02', 1)
    sprite('Action_055_03', 3)
    Unknown1084(1)
    SFX_0('010_swing_sword_0')
    sprite('Action_055_04', 4)
    SFX_4('uca154')
    sprite('Action_055_05', 5)
    sprite('Action_055_06', 6)
    sprite('Action_055_07', 4)
    sprite('Action_055_08', 4)

@State
def BackThrowExe():

    def upon_IMMEDIATE():
        Unknown17012(1, 0, 0)
        AttackLevel_(4)
        Damage(2000)
        AttackP2(50)
        AirHitstunAnimation(2)
        GroundedHitstunAnimation(2)
        Unknown9130(10)
        Unknown9142(999)
        Unknown11072(1, 250000, 0)
        PushbackX(0)
        Unknown9016(1)
        JumpCancel_(0)
    sprite('Action_056_01ex00', 2)
    Unknown5003(1)
    Unknown5000(8, 0)
    Unknown5001('0000000000000000000000000000000000000000')
    Unknown2018(0, 80)
    sprite('Action_056_01', 2)
    Unknown5000(0, 0)
    Unknown5001('0000000000000000000000000000000001000000')
    sprite('Action_056_02', 4)
    Unknown2005()
    Unknown5000(0, 0)
    Unknown5001('0000000000000000000000000000000000000000')
    sprite('Action_056_03', 4)
    Unknown5000(0, 0)
    Unknown5001('0000000000000000000000000000000000000000')
    sprite('Action_056_04', 2)
    Unknown5000(0, 0)
    Unknown5001('0000000000000000000000000000000000000000')
    sprite('Action_057_00', 2)
    GFX_0('ThrowExe_Eff', 0)
    Unknown5000(0, 0)
    Unknown5001('0000000000000000000000000000000000000000')
    sprite('Action_057_01', 3)
    Unknown5000(0, 0)
    Unknown5001('0000000000000000000000000000000000000000')
    callSubroutine('LifeDrain')
    SFX_4('uca153')
    sprite('Action_057_02', 3)
    callSubroutine('MyCreateHitEffect')
    Unknown5000(0, 0)
    Unknown5001('0000000000000000000000000000000000000000')
    sprite('Action_057_03', 7)
    Unknown5000(0, 0)
    Unknown5001('0000000000000000000000000000000000000000')

    def upon_ON_HIT_OR_BLOCK():
        JumpCancel_(1)
    sprite('Action_057_04', 6)
    sprite('Action_057_05', 2)
    sprite('Action_057_06', 6)
    sprite('Action_057_07', 7)

@State
def CmnActInvincibleAttack():

    def upon_IMMEDIATE():
        Unknown17024('')
        AttackLevel_(3)
        Damage(500)
        Unknown11092(1)
        AirUntechableTime(50)
        AirHitstunAnimation(13)
        GroundedHitstunAnimation(13)
        AirPushbackX(15000)
        AirPushbackY(35000)
        Unknown23086(1)
        Hitstop(1)
        Unknown11001(0, 1, 3)
        Unknown9016(1)
        Unknown11057(600)
        Unknown11110(85)

        def upon_11():
            Unknown2037(1)

        def upon_3():
            if SLOT_2:
                pass
    sprite('Action_200_00', 2)
    sprite('Action_200_01', 3)
    sprite('Action_200_02', 4)
    Unknown7007('7563613230355f300000000000000000640000007563613230355f310000000000000000640000007563613230355f320000000000000000640000000000000000000000000000000000000000000000')
    sprite('Action_200_03', 2)
    sprite('Action_200_04', 1)
    GFX_0('InvincibleAttackEX_Eff', -1)
    SFX_3('SE045')
    sprite('Action_200_05', 1)
    RefreshMultihit()
    sprite('Action_200_05', 1)
    RefreshMultihit()
    sprite('Action_200_05', 1)
    RefreshMultihit()
    sprite('Action_200_05', 1)
    RefreshMultihit()
    sprite('Action_200_05', 1)
    RefreshMultihit()
    sprite('Action_200_05', 1)
    RefreshMultihit()
    sprite('Action_200_05', 1)
    RefreshMultihit()
    Hitstop(5)
    sprite('Action_200_05', 1)
    RefreshMultihit()
    sprite('Action_200_05', 1)
    RefreshMultihit()
    sprite('Action_200_05', 1)
    RefreshMultihit()
    Hitstop(8)
    sprite('Action_200_06', 22)
    setInvincible(0)
    sprite('Action_200_07', 11)
    sprite('Action_200_08', 10)

@Subroutine
def DissolveActivateRS():
    if Unknown46(4):
        Unknown23029(4, 9991, 0)
    if Unknown46(5):
        Unknown23029(5, 9991, 0)
    if Unknown46(6):
        Unknown23029(6, 9991, 0)
    if Unknown46(7):
        Unknown23029(7, 9991, 0)
    if Unknown46(8):
        Unknown23029(8, 9991, 0)

@State
def RotationShotA():

    def upon_IMMEDIATE():
        AttackDefaults_StandingSpecial()
    sprite('Action_130_00', 3)
    sprite('Action_130_01', 6)
    Unknown7007('7563613230305f300000000000000000640000007563613230305f310000000000000000640000007563613230305f320000000000000000640000000000000000000000000000000000000000000000')
    sprite('Action_130_02', 4)
    sprite('Action_130_02', 1)
    callSubroutine('DissolveActivateRS')
    GFX_0('RotationShot_Eff', -1)
    Unknown23029(1, 1301, 0)
    Unknown38(5, 1)
    selfDamage(750)
    SFX_3('SE045')
    sprite('Action_130_03', 2)
    sprite('Action_130_04', 5)
    sprite('Action_130_05', 7)
    sprite('Action_130_06', 6)
    sprite('Action_130_07', 3)

@State
def RotationShotB():

    def upon_IMMEDIATE():
        AttackDefaults_StandingSpecial()
    sprite('Action_131_00', 3)
    sprite('Action_131_01', 6)
    Unknown7007('7563613230305f300000000000000000640000007563613230305f310000000000000000640000007563613230305f320000000000000000640000000000000000000000000000000000000000000000')
    sprite('Action_131_02', 4)
    sprite('Action_131_02', 1)
    callSubroutine('DissolveActivateRS')
    GFX_0('RotationShot_Eff', -1)
    Unknown23029(1, 1302, 0)
    Unknown38(5, 1)
    selfDamage(750)
    SFX_3('SE045')
    sprite('Action_131_03', 2)
    sprite('Action_131_04', 5)
    sprite('Action_131_05', 7)
    sprite('Action_131_06', 6)
    sprite('Action_131_07', 3)

@State
def RotationShotEX():

    def upon_IMMEDIATE():
        AttackDefaults_StandingSpecial()
    sprite('Action_132_00', 3)
    sprite('Action_132_01', 6)
    Unknown23125('')
    Unknown2058(-5000)
    Unknown7007('7563613230325f300000000000000000640000007563613230325f310000000000000000640000007563613230325f320000000000000000640000000000000000000000000000000000000000000000')
    sprite('Action_132_02', 1)
    callSubroutine('DissolveActivateRS')
    GFX_0('RotationShotEx_Eff', -1)
    Unknown23029(1, 1303, 0)
    Unknown38(5, 1)
    selfDamage(750)
    SFX_3('SE045')
    sprite('Action_132_03', 2)
    sprite('Action_132_04', 5)
    sprite('Action_132_05', 7)
    sprite('Action_132_06', 6)
    sprite('Action_132_07', 3)

@State
def AirRotationShotA():

    def upon_IMMEDIATE():
        Unknown17003()
        clearUponHandler(2)
        sendToLabelUpon(2, 1)
        Unknown23026(-10000)

        def upon_STATE_END():
            Unknown23026(0)
    sprite('Action_170_00', 2)
    sprite('Action_170_00', 3)
    Unknown1084(1)
    sprite('Action_170_01', 5)
    Unknown7007('7563613230315f300000000000000000640000007563613230315f310000000000000000640000007563613230315f320000000000000000640000000000000000000000000000000000000000000000')
    sprite('Action_170_02', 2)
    SFX_3('SE045')
    sprite('Action_170_03', 7)
    callSubroutine('DissolveActivateRS')
    GFX_0('RotationShot_Eff', -1)
    Unknown23029(1, 1304, 0)
    Unknown38(5, 1)
    physicsXImpulse(-7500)
    physicsYImpulse(15000)
    Unknown1043()
    selfDamage(750)
    Unknown23026(0)
    sprite('Action_170_04', 7)
    sprite('Action_170_05', 6)
    sprite('Action_170_06', 5)
    sprite('Action_170_07', 3)
    ExitState()
    label(1)
    sprite('Action_170_09', 2)
    Unknown1084(1)
    sprite('Action_170_10', 3)
    sprite('Action_170_11', 5)
    sprite('Action_170_12', 5)

@State
def AirRotationShotB():

    def upon_IMMEDIATE():
        Unknown17003()
        clearUponHandler(2)
        sendToLabelUpon(2, 1)
        Unknown23026(-10000)

        def upon_STATE_END():
            Unknown23026(0)
    sprite('Action_171_00', 2)
    sprite('Action_171_00', 3)
    Unknown1084(1)
    sprite('Action_171_01', 5)
    Unknown7007('7563613230315f300000000000000000640000007563613230315f310000000000000000640000007563613230315f320000000000000000640000000000000000000000000000000000000000000000')
    sprite('Action_171_02', 2)
    SFX_3('SE045')
    sprite('Action_171_03', 7)
    callSubroutine('DissolveActivateRS')
    GFX_0('RotationShot_Eff', -1)
    Unknown23029(1, 1305, 0)
    Unknown38(5, 1)
    physicsXImpulse(-7500)
    physicsYImpulse(15000)
    Unknown1043()
    selfDamage(750)
    Unknown23026(0)
    sprite('Action_171_04', 7)
    sprite('Action_171_05', 6)
    sprite('Action_171_06', 5)
    sprite('Action_171_07', 3)
    ExitState()
    label(1)
    sprite('Action_171_09', 2)
    Unknown1084(1)
    sprite('Action_171_10', 3)
    sprite('Action_171_11', 5)
    sprite('Action_171_12', 5)

@State
def AirRotationShotEX():

    def upon_IMMEDIATE():
        Unknown17003()
        Unknown23026(-10000)

        def upon_STATE_END():
            Unknown23026(0)
    sprite('Action_172_00', 3)
    sprite('Action_172_00', 2)
    Unknown1084(1)
    Unknown23125('')
    Unknown2058(-5000)
    Unknown7007('7563613230335f300000000000000000640000007563613230335f310000000000000000640000007563613230335f320000000000000000640000000000000000000000000000000000000000000000')
    sprite('Action_172_01', 5)
    sprite('Action_172_02', 2)
    SFX_3('SE045')
    sprite('Action_172_03', 7)
    callSubroutine('DissolveActivateRS')
    GFX_0('RotationShotEx_Eff', -1)
    Unknown23029(1, 1306, 0)
    Unknown38(5, 1)
    physicsXImpulse(-7500)
    physicsYImpulse(15000)
    Unknown1043()
    selfDamage(750)
    Unknown23026(0)
    sprite('Action_172_04', 7)
    sprite('Action_172_05', 6)
    sprite('Action_172_06', 5)

@Subroutine
def DissolveActivatePU():
    if Unknown46(4):
        Unknown23029(4, 9992, 0)
    if Unknown46(5):
        Unknown23029(5, 9992, 0)
    if Unknown46(6):
        Unknown23029(6, 9992, 0)
    if Unknown46(7):
        Unknown23029(7, 9992, 0)
    if Unknown46(8):
        Unknown23029(8, 9992, 0)

@State
def PushUpShotA():

    def upon_IMMEDIATE():
        AttackDefaults_StandingSpecial()
    sprite('Action_179_00', 5)
    sprite('Action_179_01', 5)
    Unknown7007('7563613230385f300000000000000000640000007563613230385f310000000000000000640000007563613230385f320000000000000000640000000000000000000000000000000000000000000000')
    sprite('Action_179_02', 1)
    sprite('Action_179_02', 2)
    callSubroutine('DissolveActivatePU')
    GFX_0('PushUpShot_Eff', -1)
    Unknown23029(1, 1791, 0)
    Unknown38(6, 1)
    selfDamage(750)
    sprite('Action_179_03', 8)
    sprite('Action_179_04', 7)
    sprite('Action_179_05', 6)
    sprite('Action_179_06', 6)
    sprite('Action_179_07', 6)

@State
def PushUpShotB():

    def upon_IMMEDIATE():
        AttackDefaults_StandingSpecial()
    sprite('Action_180_00', 5)
    sprite('Action_180_01', 5)
    Unknown7007('7563613230385f300000000000000000640000007563613230385f310000000000000000640000007563613230385f320000000000000000640000000000000000000000000000000000000000000000')
    sprite('Action_180_02', 1)
    sprite('Action_180_02', 2)
    callSubroutine('DissolveActivatePU')
    GFX_0('PushUpShot_Eff', -1)
    Unknown23029(1, 1792, 0)
    Unknown38(6, 1)
    selfDamage(750)
    sprite('Action_180_03', 8)
    sprite('Action_180_04', 7)
    sprite('Action_180_05', 6)
    sprite('Action_180_06', 6)
    sprite('Action_180_07', 6)

@State
def PushUpShotC():

    def upon_IMMEDIATE():
        AttackDefaults_StandingSpecial()
    sprite('Action_180_00', 5)
    sprite('Action_180_01', 5)
    Unknown7007('7563613230385f300000000000000000640000007563613230385f310000000000000000640000007563613230385f320000000000000000640000000000000000000000000000000000000000000000')
    sprite('Action_180_02', 1)
    sprite('Action_180_02', 2)
    callSubroutine('DissolveActivatePU')
    GFX_0('PushUpShot_Eff', -1)
    Unknown23029(1, 1793, 0)
    Unknown38(6, 1)
    selfDamage(750)
    sprite('Action_180_03', 8)
    sprite('Action_180_04', 7)
    sprite('Action_180_05', 6)
    sprite('Action_180_06', 6)
    sprite('Action_180_07', 6)

@State
def UltimateShot():

    def upon_IMMEDIATE():
        AttackDefaults_StandingDD()
        Unknown23055('')
        setInvincible(1)
        Unknown2037(0)

        def upon_43():
            if (SLOT_48 == 2501):
                Unknown13024(0)
                Unknown2037(1)
            if (SLOT_48 == 2503):
                Unknown13024(1)
        Unknown2021(1)

        def upon_STATE_END():
            Unknown23029(11, 2502, 0)
    sprite('Action_250_00', 3)
    sprite('Action_250_00', 12)
    Unknown2036(59, -1, 0)
    Unknown2058(-10000)
    Unknown30080('')
    tag_voice(1, 'uca250_0', 'uca250_1', '', '')
    sprite('Action_250_00', 5)
    sprite('Action_250_01', 7)
    sprite('Action_250_02', 7)
    sprite('Action_250_03', 7)
    sprite('Action_250_04', 7)
    sprite('Action_250_05', 3)
    SFX_3('SE012')
    sprite('Action_250_06', 3)
    sprite('Action_250_07', 3)
    sprite('Action_250_08', 2)
    sprite('Action_250_08', 1)
    GFX_0('UltimateShotEffMaster', -1)
    sprite('Action_250_09', 2)
    SFX_3('SE045')
    sprite('Action_250_10', 3)
    sprite('Action_250_11', 3)
    GFX_0('UltimateShotFootEff', -1)
    Unknown38(11, 1)
    sprite('Action_250_12', 2)
    sprite('Action_250_13', 3)
    sprite('Action_250_14', 3)
    sprite('Action_250_15', 3)
    sprite('Action_250_16', 3)
    sprite('Action_250_17', 3)
    sprite('Action_250_18', 2)
    StartMultihit()
    sprite('Action_250_18', 1)
    StartMultihit()
    if SLOT_2:
        sendToLabel(1)
    sprite('Action_250_20', 3)
    setInvincible(0)
    sprite('Action_250_21', 3)
    sprite('Action_250_22', 3)
    sprite('Action_250_20', 3)
    sprite('Action_250_21', 3)
    sprite('Action_250_22', 3)
    sprite('Action_250_20', 3)
    sprite('Action_250_21', 3)
    sprite('Action_250_22', 3)
    sprite('Action_250_20', 3)
    sprite('Action_250_21', 3)
    sprite('Action_250_22', 3)
    sprite('Action_250_20', 3)
    sprite('Action_250_21', 3)
    sprite('Action_250_22', 3)
    sprite('Action_250_20', 3)
    sprite('Action_250_21', 3)
    sprite('Action_250_22', 3)
    sprite('Action_250_23', 3)
    sprite('Action_250_24', 5)
    Unknown23029(11, 2502, 0)
    sprite('Action_250_25', 5)
    ExitState()
    label(1)
    sprite('Action_250_27', 3)
    sprite('Action_250_28', 3)
    sprite('Action_250_29', 3)
    sprite('Action_250_27', 3)
    GFX_0('UltimateShotAtkExe', -1)
    tag_voice(0, 'uca251_0', 'uca251_1', '', '')
    sprite('Action_250_28', 3)
    sprite('Action_250_29', 3)
    sprite('Action_250_30', 3)
    sprite('Action_250_31', 3)
    sprite('Action_250_32', 3)
    sprite('Action_250_33', 3)
    sprite('Action_250_34', 3)
    sprite('Action_250_35', 3)
    sprite('Action_250_36', 3)
    sprite('Action_250_37', 3)
    sprite('Action_250_38', 3)
    sprite('Action_250_39', 3)
    sprite('Action_250_40', 3)
    sprite('Action_250_41', 3)
    sprite('Action_250_42', 3)
    sprite('Action_250_43', 3)
    sprite('Action_250_44', 3)
    sprite('Action_250_45', 3)
    sprite('Action_250_46', 3)
    sprite('Action_250_47', 3)
    sprite('Action_250_48', 3)
    sprite('Action_250_49', 3)
    sprite('Action_250_50', 3)
    sprite('Action_250_48', 3)
    sprite('Action_250_49', 3)
    sprite('Action_250_50', 3)
    sprite('Action_250_51', 3)
    sprite('Action_250_52', 2)
    sprite('Action_250_53', 2)
    sprite('Action_250_54', 5)
    sprite('Action_250_55', 9)
    sprite('Action_250_56', 15)
    GFX_0('WinEff1', -1)
    sprite('Action_250_57', 4)
    GFX_0('UltimateShotAtkFinish', -1)
    sprite('Action_250_58', 3)
    GFX_0('WinEff2', -1)
    sprite('Action_250_59', 3)
    sprite('Action_250_60', 3)
    tag_voice(0, 'uca252_0', 'uca252_1', '', '')
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_62', 3)
    sprite('Action_250_63', 6)
    Unknown23029(11, 2502, 0)
    sprite('Action_250_64', 4)

@State
def UltimateShot_OD():

    def upon_IMMEDIATE():
        AttackDefaults_StandingDD()
        Unknown23055('')
        setInvincible(1)
        Unknown2037(0)

        def upon_43():
            if (SLOT_48 == 2501):
                Unknown13024(0)
                Unknown2037(1)
            if (SLOT_48 == 2503):
                Unknown13024(1)
        Unknown2021(1)

        def upon_STATE_END():
            Unknown23029(11, 2502, 0)
    sprite('Action_250_00', 3)
    sprite('Action_250_00', 12)
    Unknown2036(59, -1, 0)
    Unknown2058(-10000)
    Unknown30080('')
    tag_voice(1, 'uca250_0', 'uca250_1', '', '')
    sprite('Action_250_00', 5)
    sprite('Action_250_01', 7)
    sprite('Action_250_02', 7)
    sprite('Action_250_03', 7)
    sprite('Action_250_04', 7)
    sprite('Action_250_05', 3)
    SFX_3('SE012')
    sprite('Action_250_06', 3)
    sprite('Action_250_07', 3)
    sprite('Action_250_08', 2)
    sprite('Action_250_08', 1)
    GFX_0('UltimateShotEffMaster', -1)
    Unknown23029(1, 2505, 0)
    sprite('Action_250_09', 2)
    SFX_3('SE045')
    sprite('Action_250_10', 3)
    sprite('Action_250_11', 3)
    GFX_0('UltimateShotFootEff', -1)
    Unknown38(11, 1)
    Unknown23029(1, 2505, 0)
    sprite('Action_250_12', 2)
    sprite('Action_250_13', 3)
    sprite('Action_250_14', 3)
    sprite('Action_250_15', 3)
    sprite('Action_250_16', 3)
    sprite('Action_250_17', 3)
    sprite('Action_250_18', 2)
    StartMultihit()
    sprite('Action_250_18', 1)
    StartMultihit()
    if SLOT_2:
        sendToLabel(1)
    sprite('Action_250_20', 3)
    setInvincible(0)
    sprite('Action_250_21', 3)
    sprite('Action_250_22', 3)
    sprite('Action_250_20', 3)
    sprite('Action_250_21', 3)
    sprite('Action_250_22', 3)
    sprite('Action_250_20', 3)
    sprite('Action_250_21', 3)
    sprite('Action_250_22', 3)
    sprite('Action_250_20', 3)
    sprite('Action_250_21', 3)
    sprite('Action_250_22', 3)
    sprite('Action_250_20', 3)
    sprite('Action_250_21', 3)
    sprite('Action_250_22', 3)
    sprite('Action_250_20', 3)
    sprite('Action_250_21', 3)
    sprite('Action_250_22', 3)
    sprite('Action_250_23', 3)
    sprite('Action_250_24', 5)
    Unknown23029(11, 2502, 0)
    sprite('Action_250_25', 5)
    ExitState()
    label(1)
    sprite('Action_250_27', 3)
    sprite('Action_250_28', 3)
    sprite('Action_250_29', 3)
    sprite('Action_250_27', 3)
    GFX_0('UltimateShotAtkExe', -1)
    Unknown23029(1, 2505, 0)
    tag_voice(0, 'uca251_0', 'uca251_1', '', '')
    sprite('Action_250_28', 3)
    sprite('Action_250_29', 3)
    sprite('Action_250_30', 3)
    sprite('Action_250_31', 3)
    sprite('Action_250_32', 3)
    sprite('Action_250_33', 3)
    sprite('Action_250_34', 3)
    sprite('Action_250_35', 3)
    sprite('Action_250_36', 3)
    sprite('Action_250_37', 3)
    sprite('Action_250_38', 3)
    sprite('Action_250_39', 3)
    sprite('Action_250_40', 3)
    sprite('Action_250_41', 3)
    sprite('Action_250_42', 3)
    sprite('Action_250_43', 3)
    sprite('Action_250_44', 3)
    sprite('Action_250_45', 3)
    sprite('Action_250_46', 3)
    sprite('Action_250_47', 3)
    sprite('Action_250_48', 3)
    sprite('Action_250_49', 3)
    sprite('Action_250_50', 3)
    sprite('Action_250_51', 3)
    sprite('Action_250_52', 2)
    sprite('Action_260_00', 9)
    sprite('Action_260_01', 3)
    sprite('Action_260_02', 2)
    sprite('Action_260_03', 5)
    sprite('Action_260_04', 5)
    sprite('Action_260_05', 5)
    sprite('Action_260_06', 5)
    sprite('Action_260_07', 5)
    sprite('Action_260_08', 5)
    sprite('Action_260_09', 3)
    sprite('Action_260_10', 3)
    sprite('Action_260_11', 3)
    sprite('Action_260_12', 3)
    sprite('Action_250_53', 2)
    sprite('Action_250_54', 5)
    sprite('Action_250_55', 9)
    sprite('Action_250_56', 15)
    GFX_0('WinEff1', -1)
    sprite('Action_250_57', 4)
    GFX_0('UltimateShotAtkFinish', -1)
    Unknown23029(1, 2505, 0)
    tag_voice(0, 'uca252_0', 'uca252_1', '', '')
    sprite('Action_250_58', 3)
    GFX_0('WinEff2', -1)
    sprite('Action_250_59', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_62', 3)
    sprite('Action_250_63', 6)
    Unknown23029(11, 2502, 0)
    sprite('Action_250_64', 3)

@Subroutine
def DissolveActivatePU_DS():
    if Unknown46(4):
        Unknown23029(4, 9994, 0)
    if Unknown46(5):
        Unknown23029(5, 9994, 0)
    if Unknown46(6):
        Unknown23029(6, 9994, 0)
    if Unknown46(7):
        Unknown23029(7, 9994, 0)
    if Unknown46(8):
        Unknown23029(8, 9994, 0)

@State
def PushUpShotDD():

    def upon_IMMEDIATE():
        AttackDefaults_StandingDD()
        Unknown23055('')
        setInvincible(1)

        def upon_43():
            if (SLOT_48 == 1794):
                clearUponHandler(43)
                setInvincible(1)
                Unknown2037(1)
    sprite('Action_261_01', 4)
    tag_voice(1, 'uca253_0', 'uca253_1', '', '')
    sprite('Action_261_02', 3)
    sprite('Action_261_03', 4)
    sprite('Action_261_04', 4)
    Unknown2036(37, -1, 0)
    Unknown2058(-10000)
    Unknown30080('')
    sprite('Action_261_05', 4)
    sprite('Action_261_06', 4)
    sprite('Action_261_08', 4)
    sprite('Action_261_09', 4)
    sprite('Action_261_10', 4)
    sprite('Action_261_12', 3)
    sprite('Action_261_13', 3)
    sprite('Action_000_00', 3)
    sprite('Action_181_00', 3)
    sprite('Action_181_00', 2)
    sprite('Action_181_01', 5)
    sprite('Action_181_02', 1)
    sprite('Action_181_02', 4)
    callSubroutine('DissolveActivatePU_DS')
    GFX_0('PushUpShotTypeEx', -1)
    sprite('Action_181_03', 7)
    sprite('Action_181_03', 3)
    tag_voice(0, 'uca254_0', 'uca254_1', '', '')
    sprite('Action_181_04', 11)
    if (not SLOT_2):
        setInvincible(0)
    sprite('Action_181_05', 9)
    sprite('Action_181_06', 8)
    sprite('Action_181_07', 9)

@State
def PushUpShotDD_OD():

    def upon_IMMEDIATE():
        AttackDefaults_StandingDD()
        Unknown23055('')
        setInvincible(1)

        def upon_43():
            if (SLOT_48 == 1794):
                clearUponHandler(43)
                setInvincible(1)
                Unknown2037(1)
    sprite('Action_261_01', 4)
    tag_voice(1, 'uca253_0', 'uca253_1', '', '')
    sprite('Action_261_02', 3)
    sprite('Action_261_03', 4)
    sprite('Action_261_04', 4)
    Unknown2036(37, -1, 0)
    Unknown2058(-10000)
    Unknown30080('')
    sprite('Action_261_05', 4)
    sprite('Action_261_06', 4)
    sprite('Action_261_08', 4)
    sprite('Action_261_09', 4)
    sprite('Action_261_10', 4)
    sprite('Action_261_12', 3)
    sprite('Action_261_13', 3)
    sprite('Action_000_00', 3)
    sprite('Action_181_00', 3)
    sprite('Action_181_00', 2)
    sprite('Action_181_01', 5)
    sprite('Action_181_02', 1)
    sprite('Action_181_02', 4)
    callSubroutine('DissolveActivatePU_DS')
    GFX_0('PushUpShotTypeEx_OD', -1)
    sprite('Action_181_03', 7)
    sprite('Action_181_03', 3)
    tag_voice(0, 'uca254_0', 'uca254_1', '', '')
    sprite('Action_181_04', 11)
    if (not SLOT_2):
        setInvincible(0)
    sprite('Action_181_05', 9)
    sprite('Action_181_06', 8)
    sprite('Action_181_07', 9)

@State
def AstralHeat():

    def upon_IMMEDIATE():
        AttackDefaults_Astral()
        setInvincible(1)

        def upon_43():
            if (SLOT_48 == 2611):
                Unknown2037(1)
            if (SLOT_48 == 2612):
                Unknown21015('41485f43616d6572610000000000000000000000000000000000000000000000330a000000000000')
            if (SLOT_48 == 2619):
                sendToLabel(1)

        def upon_STATE_END():
            Unknown21013('43616c6c5f556e6949574542470000000000000000000000000000000000000020000000')
    sprite('Action_261_00', 5)
    Unknown2036(80, -1, 1)
    Unknown23147()
    Unknown4004('43616c6c5f556e69495745424700000000000000000000000000000000000000ffff0000')
    sprite('Action_261_01', 4)
    SFX_4('uca290')
    sprite('Action_261_02', 3)
    GFX_0('DDCutIn', 100)
    sprite('Action_261_03', 4)
    sprite('Action_261_04', 4)
    sprite('Action_261_05', 4)
    sprite('Action_261_06', 4)
    sprite('Action_261_05', 4)
    sprite('Action_261_06', 4)
    sprite('Action_261_08', 4)
    sprite('Action_261_09', 4)
    sprite('Action_261_10', 4)
    sprite('Action_261_08', 4)
    sprite('Action_261_09', 4)
    sprite('Action_261_10', 4)
    sprite('Action_261_12', 3)
    sprite('Action_261_13', 3)
    sprite('Action_000_00', 3)
    sprite('Action_000_31', 3)
    sprite('Action_000_30', 3)
    sprite('Action_380_00', 4)
    sprite('Action_380_01', 4)
    sprite('Action_380_02', 5)
    sprite('Action_380_03', 4)
    sprite('Action_380_04', 4)
    GFX_0('AH_Attack1', -1)
    sprite('Action_380_05', 7)
    sprite('Action_380_06', 4)

    def upon_3():
        if SLOT_2:
            sendToLabel(0)
    sprite('Action_380_06', 56)
    setInvincible(0)
    loopRest()
    clearUponHandler(3)
    sprite('Action_380_07', 5)
    sprite('Action_380_08', 4)
    sprite('Action_380_09', 6)
    Unknown21013('43616c6c5f556e6949574542470000000000000000000000000000000000000020000000')
    sprite('Action_380_10', 4)
    sprite('Action_380_11', 4)
    sprite('Action_380_12', 6)
    sprite('Action_380_13', 20)
    sprite('Action_380_14', 20)
    sprite('Action_000_27', 7)
    sprite('Action_000_28', 5)
    ExitState()
    label(0)
    sprite('Action_380_06', 20)
    clearUponHandler(3)
    Unknown23083(1)
    Unknown23157(1)
    Unknown23084(1)
    Unknown23088(1, 1)
    GFX_0('AH_White', -1)
    GFX_0('AH_Camera', -1)
    SFX_4('uca291')
    sprite('Action_380_06', 50)
    Unknown20003(1)
    if SLOT_38:
        Unknown1001(300000)
    else:
        Unknown1001(-300000)
    Unknown36(22)
    Unknown20003(1)
    physicsYImpulse(2000)
    Unknown1000(-300000)
    teleportRelativeY(50000)
    Unknown35()
    sprite('Action_380_06', 90)
    Unknown36(22)
    physicsYImpulse(1)
    Unknown35()
    sprite('Action_380_07', 5)
    sprite('Action_380_08', 4)
    GFX_0('AH_Attack3', -1)
    Unknown21013('43616c6c5f556e6949574542470000000000000000000000000000000000000020000000')
    sprite('Action_380_09', 6)
    Unknown3025(0, 30)
    GFX_0('AH_Attack2', -1)
    GFX_0('AH_BG', 100)
    sprite('Action_380_10', 4)
    sprite('Action_380_11', 4)
    GFX_0('AH_Attack4', 0)
    sprite('Action_380_12', 6)
    sprite('Action_380_13', 10)
    GFX_0('AH_Wave_Matome', 100)
    sprite('Action_380_13', 10)
    sprite('Action_380_14', 60)
    sprite('Action_380_15', 170)
    sprite('Action_380_15', 32767)
    SFX_4('uca292')
    Unknown3026(-1)
    label(1)
    sprite('Action_250_60', 3)
    Unknown2054(1)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_60', 3)
    sprite('Action_250_61', 3)
    sprite('Action_250_62', 3)
    sprite('Action_250_63', 6)
    sprite('Action_250_64', 4)

@Subroutine
def MouthTableInit():
    Unknown18011('uca000', 12643, 14177, 14179, 12641, 25394, 14129, 14177, 14179, 14177, 12643, 24880, 25399, 24887, 25399, 24887, 25399, 24887, 12849, 14179, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uca500', 12643, 12641, 25397, 24887, 25399, 24887, 25399, 12337, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 12643, 24880, 25399, 24887, 25397, 24885, 12849, 14179, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uca501', 12643, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 12641, 25397, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 12849, 14179, 14177, 14179, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uca502', 12643, 12338, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uca503', 12643, 12338, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uca504', 12643, 12338, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uca505', 12643, 12338, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uca520', 12643, 12338, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uca521', 12643, 12338, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uca522', 12643, 12338, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uca523', 12643, 12338, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uca524', 12643, 12338, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uca525', 12643, 12338, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uca402_0', 12643, 12338, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uca402_1', 12643, 12338, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uca403_0', 12643, 13153, 25397, 55, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uca403_1', 12643, 13665, 13667, 13665, 13667, 14177, 14179, 14177, 14179, 14177, 14179, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uca600bph', 12643, 12897, 25392, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 12338, 14177, 14179, 14177, 13155, 24887, 25399, 12337, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uca600pak', 12643, 12641, 25392, 24887, 25399, 24887, 25399, 24887, 12337, 14179, 14177, 14179, 14177, 12643, 24882, 25399, 14130, 14177, 14179, 14177, 14179, 14177, 14179, 12641, 25397, 24887, 12849, 14179, 14177, 14179, 14177, 14179, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uca600ryn', 12643, 14177, 13411, 24885, 13617, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 12641, 25397, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 55, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uca600ugo', 12643, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 12897, 25392, 24887, 25399, 12337, 14177, 14179, 14177, 14179, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uca601baz', 12643, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 13665, 13667, 12641, 25397, 12851, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 12641, 25397, 55, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uca601bhz', 12643, 14177, 14179, 14177, 14179, 14177, 14179, 12641, 25397, 24887, 25399, 12339, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uca601bmk', 12643, 14177, 12643, 24885, 25399, 12337, 14177, 12643, 24880, 25399, 13621, 14177, 12643, 24882, 25399, 24887, 25399, 12849, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 12641, 25392, 55, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uca601pka', 12643, 12897, 25392, 24887, 13617, 13923, 24887, 25399, 12337, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 12643, 24880, 12849, 14179, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uca601pyu', 12643, 12897, 25392, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 14132, 14177, 14179, 14177, 12899, 24882, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 55, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uca601ume', 12643, 12897, 25392, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 12338, 14179, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uca601uwa', 12643, 12641, 25397, 24887, 25399, 14132, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 12641, 25394, 55, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uca700baz', 12643, 12641, 25397, 24887, 25399, 24887, 25399, 14130, 14177, 12643, 24880, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 13617, 14179, 14177, 14179, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uca700bhz', 12643, 14177, 14179, 14177, 14179, 14177, 14179, 12641, 25394, 24887, 25399, 14130, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uca700pak', 12643, 12897, 25394, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 55, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uca700ume', 12643, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 12897, 25392, 55, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uca701bmk', 12643, 12338, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uca701bph', 12643, 14177, 13667, 24885, 25399, 24887, 25399, 13617, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14435, 14177, 14179, 14177, 14179, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uca701pka', 12643, 12338, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uca701pyu', 12643, 12338, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uca701ryn', 12643, 12338, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uca701ugo', 12643, 12338, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uca701uwa', 12643, 12338, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)

@State
def CmnActEntry():
    label(0)
    sprite('null', 1)
    loopRest()
    if SLOT_17:
        _gotolabel(0)
    if SLOT_169:
        _gotolabel(482)
    if SLOT_122:
        _gotolabel(482)
    if SLOT_123:
        _gotolabel(482)
    PartnerChar('bhz')
    if SLOT_0:
        _gotolabel(100)
    PartnerChar('bmk')
    if SLOT_0:
        _gotolabel(110)
    PartnerChar('baz')
    if SLOT_0:
        _gotolabel(120)
    PartnerChar('pyu')
    if SLOT_0:
        _gotolabel(130)
    PartnerChar('pka')
    if SLOT_0:
        _gotolabel(140)
    PartnerChar('uwa')
    if SLOT_0:
        _gotolabel(150)
    PartnerChar('ugo')
    if SLOT_0:
        _gotolabel(160)
    PartnerChar('ryn')
    if SLOT_0:
        _gotolabel(170)
    PartnerChar('bph')
    if SLOT_0:
        _gotolabel(180)
    PartnerChar('pak')
    if SLOT_0:
        _gotolabel(190)
    PartnerChar('ume')
    if SLOT_0:
        _gotolabel(200)
    label(482)
    Unknown19(991, 2, 158)
    sprite('Action_050_02', 7)
    sprite('Action_050_03', 5)
    sprite('Action_050_04', 5)
    sprite('Action_050_05', 5)
    sprite('Action_050_06', 3)
    if random_(2, 0, 50):
        Unknown7006('uca500', 100, 895574901, 12592, 0, 0, 100, 895574901, 12848, 0, 0, 100, 0, 0, 0, 0, 0)
    else:
        Unknown7006('uca503', 100, 895574901, 13360, 0, 0, 100, 895574901, 13616, 0, 0, 100, 0, 0, 0, 0, 0)
    SFX_1('uca503')
    sprite('Action_050_07', 7)
    sprite('Action_050_08', 10)
    sprite('Action_050_09', 11)
    SFX_3('SE239_Concentration_In')
    sprite('Action_050_10', 14)
    sprite('Action_050_11', 9)
    sprite('Action_050_12', 6)
    sprite('Action_050_13', 5)
    sprite('Action_050_14', 5)
    sprite('Action_050_15', 4)
    sprite('Action_050_16', 4)
    sprite('Action_050_17', 3)
    sprite('Action_050_18', 3)
    sprite('Action_050_19', 8)
    sprite('Action_050_20', 12)
    sprite('Action_050_21', 15)
    sprite('Action_050_22', 8)
    sprite('Action_050_23', 5)
    Unknown23018(1)
    label(1)
    sprite('Action_000_00', 7)
    sprite('Action_000_01', 7)
    sprite('Action_000_02', 8)
    sprite('Action_000_03', 8)
    sprite('Action_000_04', 10)
    sprite('Action_000_05', 9)
    sprite('Action_000_06', 11)
    sprite('Action_000_07', 8)
    sprite('Action_000_08', 7)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 7)
    sprite('Action_000_11', 7)
    sprite('Action_000_12', 8)
    sprite('Action_000_13', 7)
    sprite('Action_000_14', 7)
    loopRest()
    gotoLabel(1)
    label(10)
    sprite('Action_248_00', 5)
    sprite('Action_248_01', 3)
    sprite('Action_248_07', 5)
    sprite('Action_248_08', 5)
    sprite('Action_248_09', 30)
    sprite('Action_248_10', 32767)
    ExitState()
    label(100)
    sprite('Action_000_00', 1)
    if SLOT_158:
        Unknown1000(-1230000)
    else:
        Unknown1000(-1465000)

    def upon_40():
        clearUponHandler(40)
        sendToLabel(102)
    label(101)
    sprite('Action_000_00', 7)
    sprite('Action_000_01', 7)
    sprite('Action_000_02', 8)
    sprite('Action_000_03', 8)
    sprite('Action_000_04', 10)
    sprite('Action_000_05', 9)
    sprite('Action_000_06', 11)
    sprite('Action_000_07', 8)
    sprite('Action_000_08', 7)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 7)
    sprite('Action_000_11', 7)
    sprite('Action_000_12', 8)
    sprite('Action_000_13', 7)
    sprite('Action_000_14', 7)
    loopRest()
    gotoLabel(101)
    label(102)
    sprite('Action_052_00', 2)
    sprite('Action_052_01', 6)
    sprite('Action_052_02', 7)
    sprite('Action_052_03', 4)
    SFX_1('uca601bhz')
    sprite('Action_052_04', 5)
    sprite('Action_052_05', 9)
    sprite('Action_052_06', 15)
    sprite('Action_052_07', 4)
    sprite('Action_052_08', 4)
    Unknown23018(1)
    label(103)
    sprite('Action_052_09', 4)
    sprite('Action_052_10', 4)
    loopRest()
    gotoLabel(103)
    ExitState()
    label(110)
    sprite('Action_050_02', 1)
    if SLOT_158:
        Unknown1000(-1230000)
    else:
        Unknown1000(-1465000)

    def upon_40():
        clearUponHandler(40)
        sendToLabel(112)
    label(111)
    sprite('Action_050_02', 5)
    sprite('Action_050_03', 5)
    sprite('Action_050_04', 5)
    sprite('Action_050_05', 5)
    loopRest()
    gotoLabel(111)
    label(112)
    sprite('Action_050_06', 3)
    SFX_1('uca601bmk')
    sprite('Action_050_07', 7)
    sprite('Action_050_08', 10)
    sprite('Action_050_09', 11)
    SFX_3('SE239_Concentration_In')
    sprite('Action_050_10', 14)
    sprite('Action_050_11', 9)
    sprite('Action_050_12', 6)
    sprite('Action_050_13', 5)
    sprite('Action_050_14', 5)
    sprite('Action_050_15', 4)
    sprite('Action_050_16', 4)
    sprite('Action_050_17', 3)
    sprite('Action_050_18', 3)
    sprite('Action_050_19', 8)
    sprite('Action_050_20', 12)
    sprite('Action_050_21', 15)
    sprite('Action_050_22', 8)
    sprite('Action_050_23', 5)
    Unknown23018(1)
    label(113)
    sprite('Action_000_00', 7)
    sprite('Action_000_01', 7)
    sprite('Action_000_02', 8)
    sprite('Action_000_03', 8)
    sprite('Action_000_04', 10)
    sprite('Action_000_05', 9)
    sprite('Action_000_06', 11)
    sprite('Action_000_07', 8)
    sprite('Action_000_08', 7)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 7)
    sprite('Action_000_11', 7)
    sprite('Action_000_12', 8)
    sprite('Action_000_13', 7)
    sprite('Action_000_14', 7)
    loopRest()
    gotoLabel(113)
    ExitState()
    label(120)
    sprite('Action_050_02', 1)
    if SLOT_158:
        Unknown1000(-1230000)
    else:
        Unknown1000(-1465000)

    def upon_40():
        clearUponHandler(40)
        sendToLabel(122)
    label(121)
    sprite('Action_050_02', 5)
    sprite('Action_050_03', 5)
    sprite('Action_050_04', 5)
    sprite('Action_050_05', 5)
    loopRest()
    gotoLabel(121)
    label(122)
    sprite('Action_050_06', 3)
    SFX_1('uca601baz')
    sprite('Action_050_07', 7)
    sprite('Action_050_08', 10)
    sprite('Action_050_09', 11)
    SFX_3('SE239_Concentration_In')
    sprite('Action_050_10', 14)
    sprite('Action_050_11', 9)
    sprite('Action_050_12', 6)
    sprite('Action_050_13', 5)
    sprite('Action_050_14', 5)
    sprite('Action_050_15', 4)
    sprite('Action_050_16', 4)
    sprite('Action_050_17', 3)
    sprite('Action_050_18', 3)
    sprite('Action_050_19', 8)
    sprite('Action_050_20', 12)
    sprite('Action_050_21', 15)
    sprite('Action_050_22', 8)
    sprite('Action_050_23', 5)
    Unknown23018(1)
    label(123)
    sprite('Action_000_00', 7)
    sprite('Action_000_01', 7)
    sprite('Action_000_02', 8)
    sprite('Action_000_03', 8)
    sprite('Action_000_04', 10)
    sprite('Action_000_05', 9)
    sprite('Action_000_06', 11)
    sprite('Action_000_07', 8)
    sprite('Action_000_08', 7)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 7)
    sprite('Action_000_11', 7)
    sprite('Action_000_12', 8)
    sprite('Action_000_13', 7)
    sprite('Action_000_14', 7)
    loopRest()
    gotoLabel(123)
    ExitState()
    label(130)
    sprite('Action_000_00', 1)
    if SLOT_158:
        Unknown1000(-1465000)
    else:
        Unknown1000(-1465000)

    def upon_40():
        clearUponHandler(40)
        sendToLabel(132)
    label(131)
    sprite('Action_000_00', 7)
    sprite('Action_000_01', 7)
    sprite('Action_000_02', 8)
    sprite('Action_000_03', 8)
    sprite('Action_000_04', 10)
    sprite('Action_000_05', 9)
    sprite('Action_000_06', 11)
    sprite('Action_000_07', 8)
    sprite('Action_000_08', 7)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 7)
    sprite('Action_000_11', 7)
    sprite('Action_000_12', 8)
    sprite('Action_000_13', 7)
    sprite('Action_000_14', 7)
    loopRest()
    gotoLabel(131)
    label(132)
    sprite('Action_248_00', 5)
    SFX_1('uca601pyu')
    sprite('Action_248_01', 3)
    sprite('Action_248_02', 13)
    sprite('Action_248_03', 60)
    sprite('Action_248_04', 11)
    sprite('Action_248_05', 9)
    sprite('Action_248_06', 6)
    sprite('Action_248_07', 5)
    sprite('Action_248_08', 5)
    sprite('Action_248_09', 30)
    Unknown23018(1)
    sprite('Action_248_10', 32767)
    ExitState()
    label(140)
    sprite('Action_000_00', 1)
    if SLOT_158:
        Unknown1000(-1465000)
    else:
        Unknown1000(-1465000)

    def upon_40():
        clearUponHandler(40)
        sendToLabel(142)
    label(141)
    sprite('Action_000_00', 7)
    sprite('Action_000_01', 7)
    sprite('Action_000_02', 8)
    sprite('Action_000_03', 8)
    sprite('Action_000_04', 10)
    sprite('Action_000_05', 9)
    sprite('Action_000_06', 11)
    sprite('Action_000_07', 8)
    sprite('Action_000_08', 7)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 7)
    sprite('Action_000_11', 7)
    sprite('Action_000_12', 8)
    sprite('Action_000_13', 7)
    sprite('Action_000_14', 7)
    loopRest()
    gotoLabel(141)
    label(142)
    sprite('Action_052_00', 2)
    sprite('Action_052_01', 6)
    sprite('Action_052_02', 7)
    sprite('Action_052_03', 4)
    sprite('Action_052_04', 5)
    SFX_1('uca601pka')
    sprite('Action_052_05', 9)
    sprite('Action_052_06', 45)
    sprite('Action_052_07', 4)
    sprite('Car643_00', 7)
    sprite('Car643_01', 7)
    Unknown23018(1)
    sprite('Car643_02', 32767)
    ExitState()
    label(150)
    sprite('Action_050_02', 1)
    if SLOT_158:
        Unknown1000(-1230000)
    else:
        Unknown1000(-1465000)

    def upon_40():
        clearUponHandler(40)
        sendToLabel(152)
    label(151)
    sprite('Action_050_02', 5)
    sprite('Action_050_03', 5)
    sprite('Action_050_04', 5)
    sprite('Action_050_05', 5)
    loopRest()
    gotoLabel(151)
    label(152)
    sprite('Action_050_06', 3)
    SFX_1('uca601uwa')
    sprite('Action_050_07', 7)
    sprite('Action_050_08', 10)
    sprite('Action_050_09', 11)
    SFX_3('SE239_Concentration_In')
    sprite('Action_050_10', 14)
    sprite('Action_050_11', 9)
    sprite('Action_050_12', 6)
    sprite('Action_050_13', 5)
    sprite('Action_050_14', 5)
    sprite('Action_050_15', 4)
    sprite('Action_050_16', 4)
    sprite('Action_050_17', 3)
    sprite('Action_050_18', 3)
    sprite('Action_050_19', 8)
    sprite('Action_050_20', 12)
    sprite('Action_050_21', 15)
    sprite('Action_050_22', 8)
    sprite('Action_050_23', 5)
    Unknown23018(1)
    label(153)
    sprite('Action_000_00', 7)
    sprite('Action_000_01', 7)
    sprite('Action_000_02', 8)
    sprite('Action_000_03', 8)
    sprite('Action_000_04', 10)
    sprite('Action_000_05', 9)
    sprite('Action_000_06', 11)
    sprite('Action_000_07', 8)
    sprite('Action_000_08', 7)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 7)
    sprite('Action_000_11', 7)
    sprite('Action_000_12', 8)
    sprite('Action_000_13', 7)
    sprite('Action_000_14', 7)
    loopRest()
    gotoLabel(153)
    ExitState()
    label(160)
    sprite('Action_050_02', 7)
    if SLOT_158:
        Unknown1000(-1230000)
    else:
        Unknown1000(-1465000)
    sprite('Action_050_03', 5)
    SFX_1('uca600ugo')
    sprite('Action_050_04', 5)
    sprite('Action_050_05', 5)
    sprite('Action_050_06', 3)
    sprite('Action_050_07', 7)
    sprite('Action_050_08', 10)
    sprite('Action_050_09', 11)
    SFX_3('SE239_Concentration_In')
    sprite('Action_050_10', 14)
    sprite('Action_050_11', 9)
    sprite('Action_050_12', 6)
    sprite('Action_050_13', 5)
    sprite('Action_050_14', 5)
    sprite('Action_050_15', 4)
    sprite('Action_050_16', 4)
    sprite('Action_050_17', 3)
    sprite('Action_050_18', 3)
    sprite('Action_050_19', 8)
    sprite('Action_050_20', 12)
    sprite('Action_050_21', 15)
    sprite('Action_050_22', 8)
    sprite('Action_050_23', 5)
    Unknown21011(410)
    label(161)
    sprite('Action_000_00', 7)
    sprite('Action_000_01', 7)
    sprite('Action_000_02', 8)
    sprite('Action_000_03', 8)
    sprite('Action_000_04', 10)
    sprite('Action_000_05', 9)
    sprite('Action_000_06', 11)
    Unknown21007(24, 40)
    sprite('Action_000_07', 8)
    sprite('Action_000_08', 7)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 7)
    sprite('Action_000_11', 7)
    sprite('Action_000_12', 8)
    sprite('Action_000_13', 7)
    sprite('Action_000_14', 7)
    loopRest()
    gotoLabel(161)
    ExitState()
    label(170)
    sprite('Action_050_02', 7)
    if SLOT_158:
        Unknown1000(-1230000)
    else:
        Unknown1000(-1465000)
    sprite('Action_050_03', 5)
    SFX_1('uca600ryn')
    sprite('Action_050_04', 5)
    sprite('Action_050_05', 5)
    sprite('Action_050_06', 3)
    sprite('Action_050_07', 7)
    sprite('Action_050_08', 10)
    sprite('Action_050_09', 11)
    SFX_3('SE239_Concentration_In')
    sprite('Action_050_10', 14)
    sprite('Action_050_11', 9)
    sprite('Action_050_12', 6)
    sprite('Action_050_13', 5)
    sprite('Action_050_14', 5)
    sprite('Action_050_15', 4)
    sprite('Action_050_16', 4)
    sprite('Action_050_17', 3)
    sprite('Action_050_18', 3)
    sprite('Action_050_19', 8)
    sprite('Action_050_20', 12)
    sprite('Action_050_21', 15)
    sprite('Action_050_22', 8)
    sprite('Action_050_23', 5)
    Unknown21011(410)
    label(171)
    sprite('Action_000_00', 7)
    sprite('Action_000_01', 7)
    sprite('Action_000_02', 8)
    sprite('Action_000_03', 8)
    sprite('Action_000_04', 10)
    sprite('Action_000_05', 9)
    sprite('Action_000_06', 11)
    sprite('Action_000_07', 8)
    sprite('Action_000_08', 7)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 7)
    Unknown21007(24, 40)
    sprite('Action_000_11', 7)
    sprite('Action_000_12', 8)
    sprite('Action_000_13', 7)
    sprite('Action_000_14', 7)
    loopRest()
    gotoLabel(171)
    ExitState()
    label(180)
    sprite('Action_050_02', 7)
    if SLOT_158:
        Unknown1000(-1230000)
    else:
        Unknown1000(-1465000)
    sprite('Action_050_03', 5)
    SFX_1('uca600bph')
    sprite('Action_050_04', 5)
    sprite('Action_050_05', 5)
    sprite('Action_050_06', 3)
    sprite('Action_050_07', 7)
    sprite('Action_050_08', 10)
    sprite('Action_050_09', 11)
    SFX_3('SE239_Concentration_In')
    sprite('Action_050_10', 14)
    sprite('Action_050_11', 9)
    sprite('Action_050_12', 6)
    sprite('Action_050_13', 5)
    sprite('Action_050_14', 5)
    sprite('Action_050_15', 4)
    sprite('Action_050_16', 4)
    sprite('Action_050_17', 3)
    sprite('Action_050_18', 3)
    sprite('Action_050_19', 8)
    sprite('Action_050_20', 12)
    sprite('Action_050_21', 15)
    sprite('Action_050_22', 8)
    sprite('Action_050_23', 5)
    Unknown2037(1)
    Unknown21011(410)
    label(181)
    sprite('Action_000_00', 7)
    sprite('Action_000_01', 7)
    sprite('Action_000_02', 8)
    sprite('Action_000_03', 8)
    sprite('Action_000_04', 10)
    sprite('Action_000_05', 9)
    sprite('Action_000_06', 11)
    if (not SLOT_2):
        Unknown21007(24, 40)
    sprite('Action_000_07', 8)
    sprite('Action_000_08', 7)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 7)
    sprite('Action_000_11', 7)
    sprite('Action_000_12', 8)
    sprite('Action_000_13', 7)
    sprite('Action_000_14', 7)
    Unknown2038(-1)
    loopRest()
    gotoLabel(181)
    ExitState()
    label(190)
    sprite('Action_248_00', 5)
    if SLOT_158:
        Unknown1000(-1230000)
    else:
        Unknown1000(-1465000)
    sprite('Action_248_01', 3)
    sprite('Action_248_07', 5)
    sprite('Action_248_08', 5)
    sprite('Action_248_09', 30)
    sprite('Action_248_10', 1)
    SFX_1('uca600pak')
    label(191)
    sprite('Action_248_10', 1)
    if SLOT_97:
        _gotolabel(191)
    sprite('Action_248_10', 35)
    sprite('Action_248_10', 32767)
    Unknown21007(24, 40)
    Unknown21011(300)
    ExitState()
    label(200)
    sprite('Action_000_00', 1)
    if SLOT_158:
        Unknown1000(-1230000)
    else:
        Unknown1000(-1465000)

    def upon_40():
        clearUponHandler(40)
        sendToLabel(202)
    label(201)
    sprite('Action_000_00', 7)
    sprite('Action_000_01', 7)
    sprite('Action_000_02', 8)
    sprite('Action_000_03', 8)
    sprite('Action_000_04', 10)
    sprite('Action_000_05', 9)
    sprite('Action_000_06', 11)
    sprite('Action_000_07', 8)
    sprite('Action_000_08', 7)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 7)
    sprite('Action_000_11', 7)
    sprite('Action_000_12', 8)
    sprite('Action_000_13', 7)
    sprite('Action_000_14', 7)
    loopRest()
    gotoLabel(201)
    label(202)
    sprite('Action_000_16', 6)
    sprite('Action_000_17', 7)
    SFX_1('uca601ume')
    sprite('Action_000_18', 4)
    sprite('Action_000_19', 5)
    sprite('Action_000_20', 9)
    sprite('Action_000_21', 7)
    sprite('Action_000_22', 4)
    sprite('Car643_00', 7)
    sprite('Car643_01', 7)
    sprite('Car643_02', 32767)
    Unknown23018(1)
    ExitState()
    label(991)
    sprite('Action_000_00', 1)
    Unknown2019(1000)
    Unknown21011(120)
    label(992)
    sprite('Action_000_00', 7)
    sprite('Action_000_01', 7)
    sprite('Action_000_02', 8)
    sprite('Action_000_03', 8)
    sprite('Action_000_04', 10)
    sprite('Action_000_05', 9)
    sprite('Action_000_06', 11)
    sprite('Action_000_07', 8)
    sprite('Action_000_08', 7)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 7)
    sprite('Action_000_11', 7)
    sprite('Action_000_12', 8)
    sprite('Action_000_13', 7)
    sprite('Action_000_14', 7)
    loopRest()
    gotoLabel(992)
    label(993)
    sprite('Action_046_00', 2)

    def upon_LANDING():
        clearUponHandler(2)
        sendToLabel(995)

    def upon_STATE_END():
        Unknown2019(0)
        Unknown3038(1)
        Unknown3001(255)
    Unknown2034(0)
    Unknown2017(0)
    Unknown2053(0)
    Unknown3001(255)
    Unknown3004(-20)
    physicsXImpulse(-51000)
    physicsYImpulse(18800)
    setGravity(1500)
    Unknown8002()
    label(994)
    sprite('Action_046_01', 2)
    sprite('Action_046_02', 1)
    loopRest()
    gotoLabel(994)
    label(995)
    sprite('null', 3)
    ExitState()

@State
def CmnActMatchWin():
    if SLOT_169:
        _gotolabel(482)
    if SLOT_122:
        _gotolabel(482)
    if SLOT_123:
        _gotolabel(482)
    sprite('keep', 2)

    def upon_3():
        SLOT_58 = 1
        Unknown48('19000000020000003400000018000000020000003a000000')
        if SLOT_52:
            if PartnerChar('bhz'):
                if (SLOT_145 <= 500000):
                    sendToLabel(100)
                    clearUponHandler(3)
            if PartnerChar('bmk'):
                if (SLOT_145 <= 500000):
                    sendToLabel(110)
                    clearUponHandler(3)
            if PartnerChar('baz'):
                if (SLOT_145 <= 500000):
                    sendToLabel(120)
                    clearUponHandler(3)
            if PartnerChar('pyu'):
                if (SLOT_145 <= 500000):
                    sendToLabel(130)
                    clearUponHandler(3)
            if PartnerChar('pka'):
                if (SLOT_145 <= 500000):
                    sendToLabel(140)
                    clearUponHandler(3)
            if PartnerChar('ugo'):
                if (SLOT_145 <= 500000):
                    sendToLabel(150)
                    clearUponHandler(3)
            if PartnerChar('uwa'):
                if (SLOT_145 <= 500000):
                    sendToLabel(160)
                    clearUponHandler(3)
            if PartnerChar('ryn'):
                if (SLOT_145 <= 500000):
                    sendToLabel(170)
                    clearUponHandler(3)
            if PartnerChar('bph'):
                if (SLOT_145 <= 500000):
                    sendToLabel(180)
                    clearUponHandler(3)
            if PartnerChar('pak'):
                if (SLOT_145 <= 500000):
                    sendToLabel(190)
                    clearUponHandler(3)
            if PartnerChar('ume'):
                if (SLOT_145 <= 500000):
                    sendToLabel(200)
                    clearUponHandler(3)
    label(482)
    sprite('keep', 1)
    clearUponHandler(3)
    SLOT_58 = 0
    random_(2, 0, 50)
    if SLOT_0:
        _gotolabel(10)
    sprite('Action_052_00', 2)
    sprite('Action_052_01', 6)
    sprite('Action_052_02', 7)
    sprite('Action_052_03', 4)
    if SLOT_158:
        if SLOT_52:
            Unknown7006('uca524', 100, 895574901, 13618, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
        elif SLOT_108:
            Unknown7006('uca402_0', 100, 878797685, 828322352, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
        else:
            Unknown7006('uca520', 100, 895574901, 12594, 0, 0, 100, 895574901, 12850, 0, 0, 100, 895574901, 13106, 0, 0, 100)
    sprite('Action_052_04', 5)
    sprite('Action_052_05', 9)
    sprite('Action_052_06', 15)
    SFX_3('SE008')
    GFX_0('Win1', -1)
    sprite('Action_052_07', 4)
    sprite('Action_052_08', 4)
    SFX_3('SE051')
    GFX_0('Win2', -1)
    ScreenShake(10000, 10000)
    Unknown23018(1)
    label(1)
    sprite('Action_052_09', 4)
    sprite('Action_052_10', 4)
    gotoLabel(1)
    label(10)
    sprite('Action_053_00', 5)
    sprite('Action_053_01', 2)
    sprite('Action_053_02', 4)
    sprite('Action_053_03', 2)
    sprite('Action_053_04', 5)
    sprite('Action_053_05', 2)
    sprite('Action_053_06', 4)
    sprite('Action_053_07', 2)
    sprite('Action_053_08', 4)
    sprite('Action_053_09', 2)
    sprite('Action_053_10', 5)
    sprite('Action_053_11', 2)
    sprite('Action_053_12', 4)
    sprite('Action_053_13', 2)
    sprite('Action_053_14', 5)
    sprite('Action_053_15', 2)
    sprite('Action_053_16', 4)
    sprite('Action_053_17', 2)
    sprite('Action_053_18', 4)
    sprite('Action_053_19', 2)
    sprite('Action_053_20', 5)
    sprite('Action_053_21', 2)
    sprite('Action_053_22', 4)
    if SLOT_158:
        if SLOT_52:
            Unknown7006('uca524', 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
        elif SLOT_108:
            Unknown7006('uca402_0', 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
        else:
            Unknown7006('uca524', 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    sprite('Action_053_23', 2)
    sprite('Action_053_24', 5)
    sprite('Action_053_25', 2)
    sprite('Action_053_26', 4)
    sprite('Action_053_27', 2)
    sprite('Action_053_28', 5)
    sprite('Action_053_29', 6)
    Unknown23018(1)
    label(11)
    sprite('Action_053_30', 4)
    sprite('Action_053_31', 2)
    sprite('Action_053_32', 4)
    sprite('Action_053_33', 2)
    loopRest()
    gotoLabel(11)
    label(100)
    sprite('Action_052_00', 2)
    sprite('Action_052_01', 6)
    sprite('Action_052_02', 7)
    sprite('Action_052_03', 4)
    SFX_1('uca700bhz')
    sprite('Action_052_04', 5)
    sprite('Action_052_05', 9)
    sprite('Action_052_06', 15)
    SFX_3('SE008')
    GFX_0('Win1', -1)
    sprite('Action_052_07', 4)
    sprite('Action_052_08', 4)
    SFX_3('SE051')
    GFX_0('Win2', -1)
    ScreenShake(10000, 10000)
    label(101)
    sprite('Action_052_09', 4)
    sprite('Action_052_10', 4)
    loopRest()
    if SLOT_97:
        _gotolabel(101)
    sprite('Action_052_09', 4)
    sprite('Action_052_10', 4)
    sprite('Action_052_09', 4)
    sprite('Action_052_10', 4)
    sprite('Action_052_09', 4)
    sprite('Action_052_10', 4)
    sprite('Action_052_09', 4)
    sprite('Action_052_10', 4)
    Unknown21007(24, 40)
    Unknown21011(360)
    label(102)
    sprite('Action_052_09', 4)
    sprite('Action_052_10', 4)
    loopRest()
    gotoLabel(102)
    label(110)
    sprite('Action_000_00', 1)

    def upon_40():
        clearUponHandler(40)
        sendToLabel(112)
    label(111)
    sprite('Action_000_00', 7)
    sprite('Action_000_01', 7)
    sprite('Action_000_02', 8)
    sprite('Action_000_03', 8)
    sprite('Action_000_04', 10)
    sprite('Action_000_05', 9)
    sprite('Action_000_06', 11)
    sprite('Action_000_07', 8)
    sprite('Action_000_08', 7)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 7)
    sprite('Action_000_11', 7)
    sprite('Action_000_12', 8)
    sprite('Action_000_13', 7)
    sprite('Action_000_14', 7)
    loopRest()
    gotoLabel(111)
    label(112)
    sprite('Action_052_00', 2)
    sprite('Action_052_01', 6)
    sprite('Action_052_02', 7)
    sprite('Action_052_03', 4)
    SFX_1('uca701bmk')
    sprite('Action_052_04', 5)
    sprite('Action_052_05', 9)
    sprite('Action_052_06', 15)
    SFX_3('SE008')
    GFX_0('Win1', -1)
    sprite('Action_052_07', 4)
    sprite('Action_052_08', 4)
    SFX_3('SE051')
    GFX_0('Win2', -1)
    ScreenShake(10000, 10000)
    Unknown23018(1)
    label(113)
    sprite('Action_052_09', 4)
    sprite('Action_052_10', 4)
    gotoLabel(113)
    label(120)
    sprite('Action_053_00', 5)
    Unknown2034(0)
    Unknown2053(0)
    sprite('Action_053_01', 2)
    sprite('Action_053_02', 4)
    sprite('Action_053_03', 2)
    sprite('Action_053_04', 5)
    sprite('Action_053_05', 2)
    sprite('Action_053_06', 4)
    sprite('Action_053_07', 2)
    sprite('Action_053_08', 4)
    sprite('Action_053_09', 2)
    sprite('Action_053_10', 5)
    sprite('Action_053_11', 2)
    sprite('Action_053_12', 4)
    sprite('Action_053_13', 2)
    sprite('Action_053_14', 5)
    sprite('Action_053_15', 2)
    sprite('Action_053_16', 4)
    sprite('Action_053_17', 2)
    sprite('Action_053_18', 4)
    sprite('Action_053_19', 2)
    sprite('Action_053_20', 5)
    sprite('Action_053_21', 2)
    sprite('Action_053_22', 4)
    SFX_1('uca700baz')
    sprite('Action_053_23', 2)
    sprite('Action_053_24', 5)
    sprite('Action_053_25', 2)
    sprite('Action_053_26', 4)
    sprite('Action_053_27', 2)
    sprite('Action_053_28', 5)
    sprite('Action_053_29', 6)
    label(121)
    sprite('Action_053_30', 4)
    sprite('Action_053_31', 2)
    sprite('Action_053_32', 4)
    sprite('Action_053_33', 2)
    loopRest()
    if SLOT_97:
        _gotolabel(121)
    sprite('Action_053_30', 1)
    Unknown21007(24, 40)
    Unknown21011(420)
    label(122)
    sprite('Action_053_30', 4)
    sprite('Action_053_31', 2)
    sprite('Action_053_32', 4)
    sprite('Action_053_33', 2)
    loopRest()
    gotoLabel(122)
    label(130)
    sprite('Action_000_00', 1)

    def upon_40():
        clearUponHandler(40)
        sendToLabel(132)
    label(131)
    sprite('Action_000_00', 7)
    sprite('Action_000_01', 7)
    sprite('Action_000_02', 8)
    sprite('Action_000_03', 8)
    sprite('Action_000_04', 10)
    sprite('Action_000_05', 9)
    sprite('Action_000_06', 11)
    sprite('Action_000_07', 8)
    sprite('Action_000_08', 7)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 7)
    sprite('Action_000_11', 7)
    sprite('Action_000_12', 8)
    sprite('Action_000_13', 7)
    sprite('Action_000_14', 7)
    loopRest()
    gotoLabel(131)
    label(132)
    sprite('Action_052_00', 2)
    sprite('Action_052_01', 6)
    sprite('Action_052_02', 7)
    sprite('Action_052_03', 4)
    SFX_1('uca701pyu')
    sprite('Action_052_04', 5)
    sprite('Action_052_05', 9)
    sprite('Action_052_06', 15)
    SFX_3('SE008')
    GFX_0('Win1', -1)
    sprite('Action_052_07', 4)
    sprite('Action_052_08', 4)
    SFX_3('SE051')
    GFX_0('Win2', -1)
    ScreenShake(10000, 10000)
    Unknown23018(1)
    label(133)
    sprite('Action_052_09', 4)
    sprite('Action_052_10', 4)
    gotoLabel(133)
    label(140)
    sprite('Action_000_00', 1)

    def upon_40():
        clearUponHandler(40)
        sendToLabel(142)
    label(141)
    sprite('Action_000_00', 7)
    sprite('Action_000_01', 7)
    sprite('Action_000_02', 8)
    sprite('Action_000_03', 8)
    sprite('Action_000_04', 10)
    sprite('Action_000_05', 9)
    sprite('Action_000_06', 11)
    sprite('Action_000_07', 8)
    sprite('Action_000_08', 7)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 7)
    sprite('Action_000_11', 7)
    sprite('Action_000_12', 8)
    sprite('Action_000_13', 7)
    sprite('Action_000_14', 7)
    loopRest()
    gotoLabel(141)
    label(142)
    sprite('Action_052_00', 2)
    sprite('Action_052_01', 6)
    sprite('Action_052_02', 7)
    sprite('Action_052_03', 4)
    SFX_1('uca701pka')
    sprite('Action_052_04', 5)
    sprite('Action_052_05', 9)
    sprite('Action_052_06', 15)
    SFX_3('SE008')
    GFX_0('Win1', -1)
    sprite('Action_052_07', 4)
    sprite('Action_052_08', 4)
    SFX_3('SE051')
    GFX_0('Win2', -1)
    ScreenShake(10000, 10000)
    Unknown23018(1)
    label(143)
    sprite('Action_052_09', 4)
    sprite('Action_052_10', 4)
    gotoLabel(143)
    label(150)
    sprite('Action_000_00', 1)

    def upon_40():
        clearUponHandler(40)
        sendToLabel(152)
    label(151)
    sprite('Action_000_00', 7)
    sprite('Action_000_01', 7)
    sprite('Action_000_02', 8)
    sprite('Action_000_03', 8)
    sprite('Action_000_04', 10)
    sprite('Action_000_05', 9)
    sprite('Action_000_06', 11)
    sprite('Action_000_07', 8)
    sprite('Action_000_08', 7)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 7)
    sprite('Action_000_11', 7)
    sprite('Action_000_12', 8)
    sprite('Action_000_13', 7)
    sprite('Action_000_14', 7)
    loopRest()
    gotoLabel(151)
    label(152)
    sprite('Action_052_00', 2)
    sprite('Action_052_01', 6)
    sprite('Action_052_02', 7)
    sprite('Action_052_03', 4)
    SFX_1('uca701ugo')
    sprite('Action_052_04', 5)
    sprite('Action_052_05', 9)
    sprite('Action_052_06', 15)
    SFX_3('SE008')
    GFX_0('Win1', -1)
    sprite('Action_052_07', 4)
    sprite('Action_052_08', 4)
    SFX_3('SE051')
    GFX_0('Win2', -1)
    ScreenShake(10000, 10000)
    Unknown23018(1)
    label(153)
    sprite('Action_052_09', 4)
    sprite('Action_052_10', 4)
    gotoLabel(153)
    label(160)
    sprite('Action_000_00', 1)

    def upon_40():
        clearUponHandler(40)
        sendToLabel(162)
    label(161)
    sprite('Action_000_00', 7)
    sprite('Action_000_01', 7)
    sprite('Action_000_02', 8)
    sprite('Action_000_03', 8)
    sprite('Action_000_04', 10)
    sprite('Action_000_05', 9)
    sprite('Action_000_06', 11)
    sprite('Action_000_07', 8)
    sprite('Action_000_08', 7)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 7)
    sprite('Action_000_11', 7)
    sprite('Action_000_12', 8)
    sprite('Action_000_13', 7)
    sprite('Action_000_14', 7)
    loopRest()
    gotoLabel(161)
    label(162)
    sprite('Action_053_00', 5)
    sprite('Action_053_01', 2)
    sprite('Action_053_02', 4)
    sprite('Action_053_03', 2)
    sprite('Action_053_04', 5)
    sprite('Action_053_05', 2)
    sprite('Action_053_06', 4)
    sprite('Action_053_07', 2)
    sprite('Action_053_08', 4)
    sprite('Action_053_09', 2)
    sprite('Action_053_10', 5)
    sprite('Action_053_11', 2)
    sprite('Action_053_12', 4)
    sprite('Action_053_13', 2)
    sprite('Action_053_14', 5)
    sprite('Action_053_15', 2)
    sprite('Action_053_16', 4)
    sprite('Action_053_17', 2)
    sprite('Action_053_18', 4)
    sprite('Action_053_19', 2)
    sprite('Action_053_20', 5)
    sprite('Action_053_21', 2)
    sprite('Action_053_22', 4)
    SFX_1('uca701uwa')
    sprite('Action_053_23', 2)
    sprite('Action_053_24', 5)
    sprite('Action_053_25', 2)
    sprite('Action_053_26', 4)
    sprite('Action_053_27', 2)
    sprite('Action_053_28', 5)
    sprite('Action_053_29', 6)
    Unknown23018(1)
    label(163)
    sprite('Action_053_30', 4)
    sprite('Action_053_31', 2)
    sprite('Action_053_32', 4)
    sprite('Action_053_33', 2)
    loopRest()
    gotoLabel(163)
    label(170)
    sprite('Action_000_00', 1)

    def upon_40():
        clearUponHandler(40)
        sendToLabel(172)
    label(171)
    sprite('Action_000_00', 7)
    sprite('Action_000_01', 7)
    sprite('Action_000_02', 8)
    sprite('Action_000_03', 8)
    sprite('Action_000_04', 10)
    sprite('Action_000_05', 9)
    sprite('Action_000_06', 11)
    sprite('Action_000_07', 8)
    sprite('Action_000_08', 7)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 7)
    sprite('Action_000_11', 7)
    sprite('Action_000_12', 8)
    sprite('Action_000_13', 7)
    sprite('Action_000_14', 7)
    loopRest()
    gotoLabel(171)
    label(172)
    sprite('Action_052_00', 2)
    sprite('Action_052_01', 6)
    sprite('Action_052_02', 7)
    sprite('Action_052_03', 4)
    SFX_1('uca701ryn')
    sprite('Action_052_04', 5)
    sprite('Action_052_05', 9)
    sprite('Action_052_06', 15)
    SFX_3('SE008')
    GFX_0('Win1', -1)
    sprite('Action_052_07', 4)
    sprite('Action_052_08', 4)
    SFX_3('SE051')
    GFX_0('Win2', -1)
    ScreenShake(10000, 10000)
    Unknown23018(1)
    label(173)
    sprite('Action_052_09', 4)
    sprite('Action_052_10', 4)
    gotoLabel(173)
    label(180)
    sprite('Action_000_00', 1)

    def upon_40():
        clearUponHandler(40)
        sendToLabel(182)
    label(181)
    sprite('Action_000_00', 7)
    sprite('Action_000_01', 7)
    sprite('Action_000_02', 8)
    sprite('Action_000_03', 8)
    sprite('Action_000_04', 10)
    sprite('Action_000_05', 9)
    sprite('Action_000_06', 11)
    sprite('Action_000_07', 8)
    sprite('Action_000_08', 7)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 7)
    sprite('Action_000_11', 7)
    sprite('Action_000_12', 8)
    sprite('Action_000_13', 7)
    sprite('Action_000_14', 7)
    loopRest()
    gotoLabel(181)
    label(182)
    sprite('Action_248_00', 5)
    SFX_1('uca701bph')
    sprite('Action_248_01', 3)
    sprite('Action_248_07', 5)
    sprite('Action_248_08', 5)
    sprite('Action_248_09', 30)
    Unknown23018(1)
    sprite('Action_248_10', 32767)
    label(190)
    sprite('Action_052_00', 2)
    sprite('Action_052_01', 6)
    sprite('Action_052_02', 7)
    sprite('Action_052_03', 4)
    SFX_1('uca700pak')
    sprite('Action_052_04', 5)
    sprite('Action_052_05', 9)
    sprite('Action_052_06', 15)
    SFX_3('SE008')
    GFX_0('Win1', -1)
    sprite('Action_052_07', 4)
    sprite('Action_052_08', 4)
    SFX_3('SE051')
    GFX_0('Win2', -1)
    ScreenShake(10000, 10000)
    label(191)
    sprite('Action_052_09', 4)
    sprite('Action_052_10', 4)
    loopRest()
    if SLOT_97:
        _gotolabel(191)
    sprite('Action_052_09', 4)
    sprite('Action_052_10', 4)
    sprite('Action_052_09', 4)
    sprite('Action_052_10', 4)
    Unknown21007(24, 40)
    Unknown21011(180)
    label(192)
    sprite('Action_052_09', 4)
    sprite('Action_052_10', 4)
    loopRest()
    gotoLabel(192)
    label(200)
    sprite('Action_052_00', 2)
    sprite('Action_052_01', 6)
    sprite('Action_052_02', 7)
    sprite('Action_052_03', 4)
    SFX_1('uca700ume')
    sprite('Action_052_04', 5)
    sprite('Action_052_05', 9)
    sprite('Action_052_06', 15)
    SFX_3('SE008')
    GFX_0('Win1', -1)
    sprite('Action_052_07', 4)
    sprite('Action_052_08', 4)
    SFX_3('SE051')
    GFX_0('Win2', -1)
    ScreenShake(10000, 10000)
    label(201)
    sprite('Action_052_09', 4)
    sprite('Action_052_10', 4)
    loopRest()
    if SLOT_97:
        _gotolabel(201)
    sprite('Action_052_09', 1)
    Unknown21007(24, 40)
    Unknown21011(210)
    label(202)
    sprite('Action_052_09', 4)
    sprite('Action_052_10', 4)
    loopRest()
    gotoLabel(202)

@State
def CmnActLose():
    sprite('Action_248_00', 5)
    sprite('Action_248_01', 3)
    sprite('Action_248_02', 13)
    if SLOT_158:
        Unknown7006('uca403_0', 100, 878797685, 828322608, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    sprite('Action_248_03', 20)
    sprite('Action_248_04', 11)
    sprite('Action_248_05', 9)
    sprite('Action_248_06', 6)
    sprite('Action_248_07', 5)
    sprite('Action_248_08', 5)
    sprite('Action_248_09', 30)
    sprite('Action_248_10', 32767)
    Unknown23018(1)