@Subroutine
def PreInit():
    Unknown12019('756f7200000000000000000000000000')
    Unknown12050(1)

@Subroutine
def MatchInit():
    JumpYVelocity(36000)
    Unknown12038(23000)
    Unknown12034(33)
    SuperFreezeDuration(-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)
    Unknown15013(2000)
    Unknown14015(0, 400000, -200000, 100000, 1000, 50)
    Move_EndRegister()
    Move_Register('AN_NmlAtk5A_2nd', 0x7)
    MoveMaxChainRepeat(1)
    Unknown14020(1)
    Unknown14005(1)
    Unknown14015(0, 500000, -200000, 100000, 2000, 50)
    Move_EndRegister()
    Move_Register('AN_NmlAtk5A_3rd', 0x7)
    MoveMaxChainRepeat(1)
    Unknown14020(1)
    Unknown14005(1)
    Unknown14015(0, 500000, -200000, 50000, 2000, 50)
    Move_EndRegister()
    Move_Register('AN_NmlAtk5A_4th', 0x7)
    MoveMaxChainRepeat(1)
    Unknown14020(1)
    Unknown14005(1)
    Unknown14015(0, 400000, -200000, 250000, 2000, 50)
    Move_EndRegister()
    Move_Register('NmlAtk2A', 0x4)
    MoveMaxChainRepeat(1)
    Unknown14020(1)
    Unknown15009()
    Unknown15013(2000)
    Unknown14015(0, 250000, -100000, 200000, 1000, 50)
    Move_EndRegister()
    Move_Register('NmlAtk2A_Renda', 0x4)
    Unknown14005(1)
    MoveMaxChainRepeat(2)
    Unknown15009()
    Unknown14015(0, 250000, -100000, 200000, 1000, 50)
    Move_EndRegister()
    Move_Register('NmlAtk5B', 0x19)
    MoveMaxChainRepeat(1)
    Unknown14020(1)
    Unknown14015(0, 450000, -200000, 200000, 1000, 50)
    Move_EndRegister()
    Move_Register('AN_NmlAtk5B_2nd', 0x19)
    MoveMaxChainRepeat(1)
    Unknown14020(1)
    Unknown14005(1)
    Unknown14015(0, 450000, -200000, 250000, 2000, 50)
    Move_EndRegister()
    Move_Register('AN_NmlAtk5B_3rd', 0x19)
    MoveMaxChainRepeat(1)
    Unknown14020(1)
    Unknown14005(1)
    Unknown14015(0, 450000, -200000, 100000, 1500, 50)
    Move_EndRegister()
    Move_Register('NmlAtk2B', 0x16)
    MoveMaxChainRepeat(1)
    Unknown14020(1)
    Unknown15021(5000)
    Unknown15013(50)
    Unknown14015(-50000, 400000, 200000, 600000, 500, 1)
    Move_EndRegister()
    Move_Register('CmnActCrushAttack', 0x66)
    Unknown15008()
    Unknown14015(0, 450000, -200000, 200000, 500, 25)
    Move_EndRegister()
    Move_Register('NmlAtk2C', 0x28)
    MoveMaxChainRepeat(1)
    Unknown14020(1)
    Unknown15009()
    Unknown14015(0, 400000, -100000, 100000, 1500, 50)
    Move_EndRegister()
    Move_Register('NmlAtkAIR5A', 0x10)
    MoveMaxChainRepeat(1)
    Unknown15008()
    Unknown14015(-100000, 450000, -250000, 100000, 2000, 50)
    Move_EndRegister()
    Move_Register('NmlAtkAIR5AA', 0x10)
    MoveMaxChainRepeat(1)
    Unknown14005(1)
    Unknown15008()
    Unknown14015(-100000, 250000, -300000, 100000, 2000, 50)
    Move_EndRegister()
    Move_Register('NmlAtkAIR5B', 0x22)
    MoveMaxChainRepeat(1)
    Unknown15008()
    Unknown14015(-100000, 200000, -100000, 300000, 1500, 50)
    Move_EndRegister()
    Move_Register('NmlAtkAIR5C', 0x34)
    MoveMaxChainRepeat(1)
    Unknown15008()
    Unknown14015(-100000, 200000, -300000, 300000, 2000, 50)
    Move_EndRegister()
    Move_Register('CmnActChangePartnerQuickOut', 0x63)
    Move_EndRegister()
    Move_Register('NmlAtkThrow', 0x5d)
    Unknown15010()
    Unknown15021(1)
    Unknown15013(1)
    Unknown14015(0, 350000, -200000, 200000, 1000, 0)
    Move_EndRegister()
    Move_Register('NmlAtkBackThrow', 0x61)
    Unknown15010()
    Unknown15021(1)
    Unknown15013(1)
    Unknown14015(0, 350000, -200000, 200000, 1000, 0)
    Move_EndRegister()
    Move_Register('AssaultA', INPUT_SPECIALMOVE)
    Move_AirGround_(0x2000)
    Move_Input_(INPUT_236)
    Move_Input_(INPUT_PRESS_A)
    Unknown15021(100)
    Unknown14015(0, 650000, -200000, 200000, 1500, 1)
    Move_EndRegister()
    Move_Register('AssaultB', INPUT_SPECIALMOVE)
    Move_AirGround_(0x2000)
    Move_Input_(INPUT_236)
    Move_Input_(INPUT_PRESS_B)
    Unknown15021(100)
    Unknown15014(500)
    Unknown14015(250000, 1100000, -200000, 200000, 1000, 1)
    Move_EndRegister()
    Move_Register('CommandOrderA', INPUT_SPECIALMOVE)
    Move_AirGround_(0x2000)
    Move_Input_(INPUT_214)
    Move_Input_(INPUT_PRESS_A)
    Unknown15009()
    Unknown15014(500)
    Unknown14015(120000, 700000, -200000, 200000, 500, 1)
    Move_EndRegister()
    Move_Register('CommandOrderB', INPUT_SPECIALMOVE)
    Move_AirGround_(0x2000)
    Move_Input_(INPUT_214)
    Move_Input_(INPUT_PRESS_B)
    Unknown15014(500)
    Unknown14015(120000, 650000, -200000, 450000, 500, 1)
    Move_EndRegister()
    Move_Register('CommandOrderAdd_A', INPUT_SPECIALMOVE)
    Unknown14005(1)
    Move_AirGround_(0x2000)
    Move_Input_(INPUT_PRESS_A)
    Unknown15013(2000)
    Unknown14015(120000, 800000, -200000, 200000, 2000, 1)
    Move_EndRegister()
    Move_Register('CommandOrderAdd_B', INPUT_SPECIALMOVE)
    Unknown14005(1)
    Move_AirGround_(0x2000)
    Move_Input_(INPUT_PRESS_B)
    Unknown15013(2000)
    Unknown14015(0, 800000, -200000, 400000, 2000, 1)
    Move_EndRegister()
    Move_Register('CommandOrderAdd_C', INPUT_SPECIALMOVE)
    Unknown14005(1)
    Move_AirGround_(0x2000)
    Move_Input_(INPUT_PRESS_C)
    Unknown15013(500)
    Unknown14015(120000, 1100000, -200000, 200000, 2000, 1)
    Move_EndRegister()
    Move_Register('CommandOrderAirA', INPUT_SPECIALMOVE)
    Move_AirGround_(0x2001)
    Move_Input_(INPUT_214)
    Move_Input_(INPUT_PRESS_A)
    Unknown15009()
    Unknown14015(120000, 700000, -300000, 100000, 1000, 1)
    Move_EndRegister()
    Move_Register('CommandOrderAirB', INPUT_SPECIALMOVE)
    Move_AirGround_(0x2001)
    Move_Input_(INPUT_214)
    Move_Input_(INPUT_PRESS_B)
    Unknown15009()
    Unknown14015(120000, 700000, -300000, 100000, 1000, 1)
    Move_EndRegister()
    Move_Register('AssaultEx', INPUT_SPECIALMOVE)
    Move_AirGround_(0x2000)
    Move_AirGround_(0x3086)
    Move_Input_(INPUT_236)
    Move_Input_(INPUT_PRESS_C)
    Unknown14015(120000, 1300000, -200000, 200000, 250, 1)
    Move_EndRegister()
    Move_Register('CommandOrderEx', INPUT_SPECIALMOVE)
    Move_AirGround_(0x2000)
    Move_AirGround_(0x3086)
    Unknown15014(500)
    Move_Input_(INPUT_214)
    Move_Input_(INPUT_PRESS_C)
    Unknown14015(120000, 700000, -200000, 350000, 250, 1)
    Move_EndRegister()
    Move_Register('CommandOrderAirEx', INPUT_SPECIALMOVE)
    Move_AirGround_(0x2001)
    Move_AirGround_(0x3086)
    Move_Input_(INPUT_214)
    Move_Input_(INPUT_PRESS_C)
    Unknown15014(1500)
    Unknown15021(750)
    Unknown14015(0, 550000, -400000, 350000, 250, 1)
    Move_EndRegister()
    Move_Register('CmnActInvincibleAttack', 0x64)
    Unknown15013(0)
    Unknown15012(0)
    Unknown15014(6000)
    Unknown15020(500, 1000, 100, 1000)
    Unknown14015(-50000, 300000, -200000, 200000, 250, 5)
    Move_EndRegister()
    Move_Register('CmnActInvincibleAttackAir', 0x65)
    Unknown15013(0)
    Unknown15012(0)
    Unknown15014(6000)
    Unknown15020(500, 1000, 100, 1000)
    Unknown14015(-50000, 300000, -200000, 200000, 250, 5)
    Move_EndRegister()
    Move_Register('UltimateShot', 0x68)
    Move_AirGround_(0x2000)
    Move_AirGround_(0x3089)
    Move_Input_(INPUT_214)
    Move_Input_(0xde)
    Unknown15005(1)
    Unknown15012(1)
    Unknown15014(3000)
    Unknown15020(500, 1000, 1, 1000)
    Unknown14015(0, 250000, -200000, 500000, 500, 0)
    Move_EndRegister()
    Move_Register('UltimateShotOD', 0x68)
    Move_AirGround_(0x2000)
    Move_AirGround_(0x3089)
    Move_Input_(INPUT_214)
    Move_Input_(0xde)
    Move_AirGround_(0x3081)
    Unknown15005(1)
    Unknown15012(1)
    Unknown15014(3000)
    Unknown15020(500, 1000, 1, 1000)
    Unknown14015(0, 250000, -200000, 500000, 500, 0)
    Move_EndRegister()
    Move_Register('UltimateAssault', 0x68)
    Move_AirGround_(0x2000)
    Move_AirGround_(0x3089)
    Move_Input_(INPUT_236)
    Move_Input_(0xde)
    Unknown15005(1)
    Unknown15012(1)
    Unknown15014(3000)
    Unknown15020(500, 1000, 1, 1000)
    Unknown14015(0, 500000, -200000, 150000, 500, 0)
    Move_EndRegister()
    Move_Register('UltimateAssaultOD', 0x68)
    Move_AirGround_(0x2000)
    Move_AirGround_(0x3089)
    Move_Input_(INPUT_236)
    Move_Input_(0xde)
    Move_AirGround_(0x3081)
    Unknown15005(1)
    Unknown15012(1)
    Unknown15014(3000)
    Unknown15020(500, 1000, 1, 1000)
    Unknown14015(0, 500000, -200000, 150000, 500, 0)
    Move_EndRegister()
    Move_Register('AstralHeat', 0x69)
    Move_AirGround_(0x304a)
    Move_AirGround_(0x2000)
    Move_Input_(0xcd)
    Move_Input_(0xde)
    Unknown15014(3000)
    Unknown15013(3000)
    Unknown14015(-350000, 850000, -200000, 100000, 1000, 50)
    Move_EndRegister()
    Unknown15024('NmlAtk2A', 'NmlAtk5A', 10000000)
    Unknown15024('NmlAtk2A', 'NmlAtk2A_Renda', 10000000)
    Unknown15024('NmlAtk2A_Renda', 'NmlAtk5A', 10000000)
    Unknown15024('NmlAtk5A', 'AN_NmlAtk5A_2nd', 10000000)
    Unknown15024('AN_NmlAtk5A_2nd', 'AN_NmlAtk5A_3rd', 10000000)
    Unknown15024('AN_NmlAtk5A_3rd', 'AN_NmlAtk5A_4th', 10000000)
    Unknown15024('AN_NmlAtk5A_3rd', 'NmlAtk5B', 10000000)
    Unknown15024('NmlAtk2C', 'NmlAtk5B', 10000000)
    Unknown15024('NmlAtk5B', 'AN_NmlAtk5B_2nd', 10000000)
    Unknown15024('AN_NmlAtk5B_2nd', 'AN_NmlAtk5B_3rd', 10000000)
    Unknown15024('AN_NmlAtk5B_3rd', 'CommandOrderA', 10000000)
    Unknown15024('AN_NmlAtk5B_3rd', 'AssaultA', 10000000)
    Unknown15024('NmlAtk2B', 'CommandOrderB', 10000000)
    Unknown15024('NmlAtk2B', 'FJump', 10000000)
    Unknown15024('NmlAtkAIR5A', 'NmlAtkAIR5B', 10000000)
    Unknown15024('NmlAtkAIR5A', 'NmlAtkAIR5AA', 10000000)
    Unknown15024('NmlAtkAIR5B', 'NmlAtkAIR5C', 10000000)
    Unknown15024('CommandOrderA', 'CommandOrderAdd_A', 10000000)
    Unknown15024('CommandOrderB', 'CommandOrderAdd_B', 10000000)
    Unknown15024('ThrowExe', 'AssaultB', 10000000)
    Unknown15024('BackThrowExe', 'AssaultB', 10000000)
    Unknown14048('AntiAir', 0x4, 0xed)
    Unknown14048('Assault_C', 0x4, 0x79)
    Unknown14048('UltimateAssault2', 0x4, 0x5f)
    Unknown14048('UltimateAssault2_OD', 0x4, 0x5f)
    Unknown14048('BunshinAssault_A', 0x4, 0x45)
    Unknown14048('AirAssault', 0x4, 0xed)
    Unknown14049('NmlAtk5A', 'NmlAtk5B', 0, 0)
    Unknown14049('NmlAtk5B', 'NmlAtk2C', 12, 0)
    Unknown14049('NmlAtk5D', 'BunshinAssault_A', 0, 0)
    Unknown14049('NmlAtk5D', 'BunshinAssault_B', 1, 600000)
    Unknown14049('NmlAtk5D', 'UltimateAssault', 6, 0)
    Unknown14049('NmlAtk5D', 'UltimateAssault_OD', 6, 0)
    Unknown14049('NmlAtk2A', 'NmlAtk5B', 0, 0)
    Unknown14049('NmlAtk2C', 'FHighJump', 12, 0)
    Unknown14049('NmlAtk2C', 'NmlAtk5D', 13, 0)
    Unknown14049('NmlAtk2D', 'BunshinAssault_A', 0, 0)
    Unknown14049('NmlAtk2D', 'BunshinAssault_B', 1, 600000)
    Unknown14049('NmlAtkAIR5A', 'NmlAtkAIR5B', 0, 0)
    Unknown14049('NmlAtkAIR5B', 'NmlAtkAIR5C', 0, 0)
    Unknown14049('NmlAtkAIR5C', 'AirAssault', 3, 0)
    Unknown14049('NmlAtkAIR5C', 'FJump', 12, 0)
    Unknown14049('NmlAtkAIR6D', 'AirAssault', 3, 0)
    Unknown12018(0, 'Action_330_01')
    Unknown12018(1, 'Action_330_02')
    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_01')
    Unknown12018(8, 'Action_017_01')
    Unknown12018(9, 'Action_019_01')
    Unknown12018(10, 'Action_331_00')
    Unknown12018(11, 'Action_331_00')
    Unknown12018(12, 'Action_320_02')
    Unknown12018(13, 'Action_330_08')
    Unknown12018(14, 'Action_351_00')
    Unknown12018(15, 'Action_290_00')
    Unknown12018(16, 'Action_300_01')
    Unknown12018(17, 'Action_304_02')
    Unknown12018(18, 'Action_305_03')
    Unknown12018(19, 'Action_000_00')
    Unknown12018(20, 'Action_000_00')
    Unknown12018(25, 'Action_326_00')
    Unknown12018(26, 'Action_326_02')
    Unknown12018(27, 'Action_326_03')
    Unknown12018(28, 'Action_351_05')
    Unknown12018(29, 'Action_292_00')
    Unknown12018(24, 'Action_348_00')
    Unknown7010(0, 'uor000')
    Unknown7010(1, 'uor001')
    Unknown7010(2, 'uor002')
    Unknown7010(3, 'uor003')
    Unknown7010(4, 'uor004')
    Unknown7010(5, 'uor005')
    Unknown7010(6, 'uor006')
    Unknown7010(7, 'uor007')
    Unknown7010(8, 'uor008')
    Unknown7010(9, 'uor009')
    Unknown7010(10, 'uor010')
    Unknown7010(15, 'uor011')
    Unknown7010(16, 'uor012')
    Unknown7010(17, 'uor013')
    Unknown7010(18, 'uor014')
    Unknown7010(19, 'uor015')
    Unknown7010(20, 'uor016')
    Unknown7010(21, 'uor017')
    Unknown7010(22, 'uor018')
    Unknown7010(23, 'uor019')
    Unknown7010(24, 'uor020')
    Unknown7010(25, 'uor021')
    Unknown7010(28, 'uor022')
    Unknown7010(29, 'uor023')
    Unknown7010(30, 'uor024')
    Unknown7010(31, 'uor025')
    Unknown7010(32, 'uor026')
    Unknown7010(33, 'uor027')
    Unknown7010(34, 'uor028')
    Unknown7010(35, 'uor029')
    Unknown7010(36, 'uor030')
    Unknown7010(37, 'uor031')
    Unknown7010(39, 'uor032')
    Unknown7010(42, 'uor033')
    Unknown7010(43, 'uor034')
    Unknown7010(44, 'uor035')
    Unknown7010(45, 'uor036')
    Unknown7010(46, 'uor037')
    Unknown7010(47, 'uor038')
    Unknown7010(48, 'uor039')
    Unknown7010(49, 'uor040')
    Unknown7010(50, 'uor041')
    Unknown7010(52, 'uor042')
    Unknown7010(53, 'uor043')
    Unknown7010(54, 'uor100_0')
    Unknown7010(55, 'uor100_1')
    Unknown7010(56, 'uor100_2')
    Unknown7010(63, 'uor101_0')
    Unknown7010(64, 'uor101_1')
    Unknown7010(65, 'uor101_2')
    Unknown7010(57, 'uor102_0')
    Unknown7010(58, 'uor102_1')
    Unknown7010(59, 'uor102_2')
    Unknown7010(66, 'uor103_0')
    Unknown7010(67, 'uor103_1')
    Unknown7010(68, 'uor103_2')
    Unknown7010(60, 'uor104_0')
    Unknown7010(61, 'uor104_1')
    Unknown7010(62, 'uor104_2')
    Unknown7010(69, 'uor105_0')
    Unknown7010(70, 'uor105_1')
    Unknown7010(71, 'uor105_2')
    Unknown7010(72, 'uor150')
    Unknown7010(73, 'uor151')
    Unknown7010(74, 'uor152')
    Unknown7010(85, 'uor153')
    Unknown7010(87, 'uor154')
    Unknown7010(88, 'uor155')
    Unknown7010(96, 'uor161_0')
    Unknown7010(97, 'uor161_1')
    Unknown7010(92, 'uor162_0')
    Unknown7010(93, 'uor162_1')
    Unknown7010(98, 'uor163_0')
    Unknown7010(99, 'uor163_1')
    Unknown7010(100, 'uor164_0')
    Unknown7010(101, 'uor164_1')
    Unknown7010(105, 'uor165_0')
    Unknown7010(106, 'uor165_1')
    Unknown7010(102, 'uor166_0')
    Unknown7010(103, 'uor166_1')
    Unknown7010(90, 'uor167_0')
    Unknown7010(91, 'uor167_1')
    Unknown7010(107, 'uor168_0')
    Unknown7010(108, 'uor168_1')
    Unknown7010(110, 'uor169_0')
    Unknown7010(111, 'uor169_1')
    Unknown7010(112, 'uor159_0')
    Unknown7010(113, 'uor159_1')
    Unknown7010(94, 'uor400_0')
    Unknown7010(95, 'uor400_1')
    Unknown12059('00000000436d6e416374496e76696e6369626c6541747461636b00000000000000000000')
    Unknown12059('010000004e6d6c41746b3241000000000000000000000000000000000000000000000000')
    Unknown12059('02000000556c74696d61746541737361756c740000000000000000000000000000000000')
    Unknown12059('03000000556c74696d61746541737361756c744f44000000000000000000000000000000')
    Unknown12059('04000000556c74696d61746553686f740000000000000000000000000000000000000000')
    Unknown12059('05000000556c74696d61746553686f744f44000000000000000000000000000000000000')
    Unknown12059('06000000436d6e4163744244617368000000000000000000000000000000000000000000')
    Unknown12059('070000004e6d6c41746b5468726f77000000000000000000000000000000000000000000')
    Unknown12059('08000000436d6e4163744368616e6765506172746e6572517569636b4f75740000000000')

@State
def CmnActStand():
    label(0)
    sprite('Action_000_00', 3)
    sprite('Action_000_01', 6)
    sprite('Action_000_02', 6)
    sprite('Action_000_03', 6)
    sprite('Action_000_04', 6)
    sprite('Action_000_05', 6)
    sprite('Action_000_06', 6)
    sprite('Action_000_07', 6)
    sprite('Action_000_08', 6)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 6)
    sprite('Action_000_11', 6)
    sprite('Action_000_12', 6)
    sprite('Action_000_13', 6)
    sprite('Action_000_14', 6)
    sprite('Action_000_15', 6)
    sprite('Action_000_16', 6)
    sprite('Action_000_17', 6)
    sprite('Action_000_18', 6)
    sprite('Action_000_19', 6)
    sprite('Action_000_20', 6)
    sprite('Action_000_21', 6)
    sprite('Action_000_22', 6)
    sprite('Action_000_23', 6)
    sprite('Action_000_24', 3)
    loopRest()
    random_(1, 2, 87)
    if SLOT_ReturnVal:
        _gotolabel(0)
    random_(2, 0, 90)
    if SLOT_ReturnVal:
        _gotolabel(0)
    label(1)
    sprite('Action_000_26', 5)
    SLOT_88 = 960
    sprite('Action_000_27', 5)
    sprite('Action_000_28', 7)
    sprite('Action_000_29', 4)
    SFX_1('uor000')
    sprite('Action_000_30', 4)
    SFX_3('SE042')
    sprite('Action_000_31', 9)
    sprite('Action_000_32', 5)
    sprite('Action_000_33', 5)
    loopRest()
    gotoLabel(0)

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

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

@State
def CmnActCrouch():
    label(0)
    sprite('Action_013_00', 5)
    sprite('Action_013_01', 5)
    sprite('Action_013_02', 5)
    sprite('Action_013_03', 5)
    sprite('Action_013_04', 5)
    sprite('Action_013_05', 5)
    sprite('Action_013_06', 5)
    sprite('Action_013_07', 5)
    sprite('Action_013_08', 5)
    sprite('Action_013_09', 5)
    sprite('Action_013_10', 5)
    sprite('Action_013_11', 5)
    sprite('Action_013_12', 5)
    sprite('Action_013_13', 5)
    sprite('Action_013_14', 5)
    sprite('Action_013_15', 5)
    sprite('Action_013_16', 5)
    sprite('Action_013_17', 5)
    sprite('Action_013_18', 5)
    sprite('Action_013_19', 5)
    sprite('Action_013_20', 5)
    sprite('Action_013_21', 5)
    sprite('Action_013_22', 5)
    sprite('Action_013_23', 5)
    loopRest()
    gotoLabel(0)

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

@State
def CmnActCrouch2Stand():
    sprite('Action_014_00', 4)
    sprite('Action_014_01', 4)
    sprite('Action_014_02', 4)

@State
def CmnActJumpPre():
    if SLOT_16:
        _gotolabel(1)
    label(0)
    sprite('Action_035_00', 4)
    ExitState()
    label(1)
    sprite('Action_067_00', 4)
    ExitState()

@State
def CmnActJumpUpper():
    if SLOT_16:
        _gotolabel(1)
    label(0)
    sprite('Action_035_01', 4)
    sprite('Action_035_01', 4)
    loopRest()
    gotoLabel(0)
    label(1)
    sprite('Action_067_01', 4)
    sprite('Action_067_02', 4)
    gotoLabel(0)

@State
def CmnActJumpUpperEnd():
    sprite('Action_035_02', 2)
    sprite('Action_035_03', 2)
    sprite('Action_035_04', 2)
    sprite('Action_035_05', 2)
    sprite('Action_035_06', 2)

@State
def CmnActJumpDown():
    label(0)
    sprite('Action_020_00', 3)
    sprite('Action_020_01', 3)
    loopRest()
    gotoLabel(0)

@State
def CmnActJumpLanding():
    sprite('Action_021_00', 5)
    sprite('Action_021_01', 4)
    sprite('Action_021_02', 4)
    sprite('Action_021_03', 4)

@State
def CmnActLandingStiffLoop():
    sprite('Action_246_00', 3)
    sprite('Action_246_01', 32767)

@State
def CmnActLandingStiffEnd():
    sprite('Action_246_02', 3)
    sprite('Action_246_03', 3)

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

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

@State
def CmnActFDash():
    sprite('Action_010_00', 3)
    sprite('Action_045_00', 5)
    Unknown8006(100, 1, 1)
    sprite('Action_045_01', 3)
    sprite('Action_045_02', 3)
    sprite('Action_045_03', 3)
    sprite('Action_045_04', 3)
    sprite('Action_045_05', 3)
    Unknown8006(100, 1, 1)
    sprite('Action_045_06', 3)
    sprite('Action_045_07', 3)
    sprite('Action_045_08', 3)
    label(0)
    sprite('Action_045_09', 3)
    Unknown8006(100, 1, 1)
    sprite('Action_045_10', 3)
    sprite('Action_045_11', 3)
    sprite('Action_045_12', 3)
    sprite('Action_045_13', 3)
    Unknown8006(100, 1, 1)
    sprite('Action_045_14', 3)
    sprite('Action_045_15', 3)
    sprite('Action_045_16', 3)
    loopRest()
    gotoLabel(0)

@State
def CmnActFDashStop():
    sprite('Action_045_17', 6)
    sprite('Action_045_17', 6)

@State
def CmnActBDash():

    def upon_IMMEDIATE():
        Unknown2042(1)
        Unknown28(8, '_NEUTRAL')
        setInvincible(1)
        Unknown1084(1)
        sendToLabelUpon(2, 1)
        Unknown23001(100, 0)
        Unknown23076()

        def upon_CLEAR_OR_EXIT():
            Unknown1019(90)
    label(0)
    sprite('Action_046_00', 2)
    sprite('Action_046_01', 2)
    Unknown8002()
    physicsXImpulse(-47000)
    physicsYImpulse(32000)
    setGravity(6000)
    sprite('Action_046_02', 3)
    sprite('Action_046_03', 3)
    sprite('Action_046_04', 12)
    setInvincible(0)
    sendToLabelUpon(2, 1)
    label(1)
    sprite('Action_046_05', 2)
    teleportRelativeX(-50000)
    Unknown8000(100, 1, 1)
    clearUponHandler(2)
    Unknown1084(1)
    sprite('Action_046_06', 5)
    sprite('Action_046_07', 2)
    physicsXImpulse(-35000)
    physicsYImpulse(12000)
    setGravity(4000)
    sprite('Action_046_08', 3)
    label(2)
    sprite('Action_046_09', 5)
    sprite('Action_046_10', 3)
    teleportRelativeX(-50000)
    Unknown8000(100, 1, 1)
    clearUponHandler(2)
    physicsXImpulse(-10000)
    physicsYImpulse(0)
    setGravity(0)
    sprite('Action_046_11', 2)
    sprite('Action_046_12', 2)
    Unknown1084(1)
    loopRest()

@State
def CmnActBDashLanding():
    pass

@State
def CmnActAirFDash():
    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('Action_068_08', 3)
    loopRest()
    enterState('AirFDashRigor')

@State
def AirFDashRigor():

    def upon_IMMEDIATE():
        Unknown13014(1)
        Unknown13015(1)
        Unknown13031(1)
        Unknown13019(1)
        Unknown28(2, 'CmnActJumpLanding')
    sprite('Action_068_09', 3)
    sprite('Action_068_10', 3)
    label(0)
    sprite('Action_068_11', 3)
    sprite('Action_068_12', 3)
    loopRest()
    gotoLabel(0)

@State
def CmnActAirBDash():
    sprite('Action_046_00', 3)
    physicsYImpulse(12000)
    label(0)
    sprite('Action_046_01', 4)
    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', 2)
    sprite('Action_300_01', 3)

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

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

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

@State
def CmnActHitStandLowLv1():
    sprite('Action_304_02', 1)
    sprite('Action_304_02', 1)
    sprite('Action_304_03', 2)

@State
def CmnActHitStandLowLv2():
    sprite('Action_304_02', 1)
    sprite('Action_304_02', 2)
    sprite('Action_304_03', 3)

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

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

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

@State
def CmnActHitCrouchLv1():
    sprite('Action_305_02', 1)
    sprite('Action_305_02', 1)
    sprite('Action_305_03', 2)

@State
def CmnActHitCrouchLv2():
    sprite('Action_305_02', 1)
    sprite('Action_305_02', 2)
    sprite('Action_305_03', 3)

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

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

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

@State
def CmnActBDownUpper():
    sprite('Action_320_00', 4)
    label(0)
    sprite('Action_320_01', 4)
    sprite('Action_320_01', 4)
    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', 4)
    sprite('Action_330_09', 4)
    loopRest()
    gotoLabel(0)

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

@State
def CmnActBDownBound():
    sprite('Action_350_01', 3)
    sprite('Action_350_02', 3)
    sprite('Action_350_03', 3)
    sprite('Action_350_04', 3)
    sprite('Action_350_05', 3)

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

@State
def CmnActBDown2Stand():
    sprite('Action_293_11', 4)
    sprite('Action_293_12', 4)
    sprite('Action_293_13', 3)
    sprite('Action_293_14', 3)
    sprite('Action_293_15', 4)
    sprite('Action_293_16', 4)
    sprite('Action_293_17', 4)

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

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

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

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

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

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

@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)
    loopRest()
    gotoLabel(0)

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

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

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

@State
def CmnActBlowoff():
    sprite('Action_331_00', 2)
    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)
    sprite('Action_333_06', 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_327_00', 1)

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

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

@State
def CmnActStaggerLoop():
    sprite('Action_327_00', 14)

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

@State
def CmnActUkemiStagger():
    sprite('Action_327_00', 8)

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

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

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

@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)

@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)

@State
def CmnActUkemiLandN():
    sprite('Action_041_00', 3)
    sprite('Action_041_01', 3)
    sprite('Action_041_02', 4)
    sprite('Action_041_03', 4)
    sprite('Action_041_04', 4)
    label(0)
    sprite('Action_041_05', 4)
    sprite('Action_041_06', 4)
    gotoLabel(0)

@State
def CmnActUkemiLandNLanding():
    sprite('Action_041_07', 5)
    sprite('Action_041_08', 5)
    sprite('Action_041_09', 5)

@State
def CmnActMidGuardPre():
    sprite('Action_017_00', 3)
    sprite('Action_017_01', 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():
    sprite('Action_017_00', 3)
    sprite('Action_017_01', 3)

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

@State
def CmnActHighGuardPre():
    sprite('Action_017_00', 3)
    sprite('Action_017_01', 3)

@State
def CmnActHighGuardLoop():
    sprite('Action_017_00', 3)

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

@State
def CmnActHighHeavyGuardLoop():
    sprite('Action_017_00', 3)
    sprite('Action_017_01', 3)

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

@State
def CmnActCrouchGuardPre():
    sprite('Action_018_00', 3)
    sprite('Action_018_01', 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():
    sprite('Action_018_01', 3)
    sprite('Action_018_02', 3)

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

@State
def CmnActAirGuardPre():
    sprite('Action_019_00', 3)
    sprite('Action_019_01', 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():
    sprite('Action_019_02', 3)
    sprite('Action_019_03', 3)

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

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

@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_00', 3)
    sprite('Action_017_01', 3)

@State
def CmnActLockReject():
    sprite('Action_412_00', 2)
    sprite('Action_412_01', 2)
    sprite('Action_412_02', 2)
    sprite('Action_412_03', 2)
    sprite('Action_412_04', 1)
    sprite('Action_412_05', 2)
    sprite('Action_412_06', 3)
    sprite('Action_412_07', 3)
    sprite('Action_412_08', 2)
    sprite('Action_412_09', 3)
    sprite('Action_412_10', 2)
    sprite('Action_412_11', 2)

@State
def CmnActAirLockWait():
    sprite('Action_019_02', 1)
    sprite('Action_019_03', 3)
    sprite('Action_019_00', 3)

@State
def CmnActLandSpin():
    sprite('hb071_00', 4)
    sprite('hb071_01', 4)
    label(0)
    sprite('hb071_02', 2)
    sprite('hb071_03', 2)
    sprite('hb071_04', 2)
    sprite('hb071_05', 2)
    sprite('hb071_06', 2)
    sprite('hb071_07', 2)
    sprite('hb071_08', 2)
    sprite('hb071_09', 2)
    loopRest()
    gotoLabel(0)

@State
def CmnActLandSpinDown():
    sprite('hb071_10', 6)
    sprite('hb071_11', 5)
    sprite('hb071_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():
    sprite('Action_351_04', 1)
    label(0)
    sprite('Action_351_04', 3)
    loopRest()
    gotoLabel(0)

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

@State
def CmnActBurstBegin():
    sprite('Action_262_00', 4)
    label(0)
    sprite('Action_262_01', 5)
    loopRest()
    gotoLabel(0)

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

@State
def CmnActBurstEnd():
    sprite('Action_262_05', 3)
    sprite('Action_262_06', 3)

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

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

@State
def CmnActAirBurstEnd():
    label(0)
    sprite('Action_262_07', 4)
    sprite('Action_262_08', 4)
    loopRest()
    gotoLabel(0)

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

@State
def CmnActOverDriveLoop():
    sprite('Action_262_02', 4)
    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)
    sprite('Action_262_01', 32767)
    loopRest()

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

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

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

@State
def CmnActCrossRushLoop():
    sprite('Action_262_02', 4)
    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_00', 4)
    sprite('Action_262_01', 32767)
    loopRest()

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

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

@State
def CmnActCrossChangeBegin():
    sprite('Action_262_00', 4)
    label(0)
    sprite('Action_262_01', 5)
    loopRest()
    gotoLabel(0)

@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', 3)
    sprite('Action_262_06', 3)

@State
def CmnActAirCrossChangeBegin():
    sprite('Action_262_00', 4)
    label(0)
    sprite('Action_262_01', 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', 3)
    sprite('Action_262_08', 3)
    label(0)
    sprite('Action_022_00', 4)
    sprite('Action_022_01', 4)
    loopRest()
    gotoLabel(0)

@State
def CmnActAComboFinalBlow():

    def upon_IMMEDIATE():
        AttackDefaults_StandingSpecial()

        def upon_LANDING():
            clearUponHandler(2)
            sendToLabel(1)
    sprite('null', 30)
    sprite('null', 1)
    teleportRelativeX(-25000)
    Unknown1007(600000)
    setGravity(0)
    physicsYImpulse(-60000)
    SLOT_12 = SLOT_19
    Unknown1019(4)
    sprite('Action_245_04', 32767)
    GFX_0('EffNmlAtkAIR2CZanzo', 100)
    label(1)
    sprite('Action_245_04', 1)
    sprite('Action_245_05', 2)
    if SLOT_3:
        enterState('CmnActAComboFinalBlowFinish')
    Unknown23022(0)
    StartMultihit()
    sprite('Action_246_00', 5)
    Unknown8000(0, 1, 1)
    Unknown1084(1)
    sprite('Action_246_01', 13)
    sprite('Action_246_02', 5)
    sprite('Action_246_03', 5)

@State
def CmnActAComboFinalBlowFinish():

    def upon_IMMEDIATE():
        AttackDefaults_StandingSpecial()
    sprite('keep', 1)
    StartMultihit()
    sprite('Action_246_00', 3)
    Unknown8000(0, 1, 1)
    Unknown1084(1)
    sprite('Action_246_01', 5)
    sprite('Action_246_02', 3)
    sprite('Action_246_03', 3)
    sprite('Action_243_00', 5)
    sprite('Action_243_01', 6)
    physicsXImpulse(2250)
    physicsYImpulse(1500)
    setGravity(150)
    sprite('Action_243_02', 2)
    sprite('Action_243_03', 6)
    Unknown7009(2)
    sprite('Action_243_04ex01', 4)
    GFX_0('EffNmlAtk3CZanzo', 100)
    RefreshMultihit()
    Unknown1017()
    Unknown1022()
    Unknown1037()
    SFX_3('SE045')
    sprite('Action_243_04ex01', 9)
    DisableAttackRestOfMove()
    sprite('Action_243_05', 5)
    Unknown1018()
    Unknown1023()
    Unknown1038()
    sprite('Action_243_06', 3)
    sprite('Action_243_07', 32767)
    sendToLabelUpon(2, 0)
    label(0)
    sprite('Action_246_00', 4)
    Unknown8000(100, 1, 1)
    Unknown1084(1)
    sprite('Action_246_01', 9)
    sprite('Action_246_02', 3)
    sprite('Action_246_03', 3)

@Subroutine
def ChainRoot():
    HitOrBlockCancel('NmlAtk5A')
    HitOrBlockCancel('NmlAtk2A')
    HitOrBlockCancel('NmlAtk5B')
    HitOrBlockCancel('NmlAtk2B')
    HitOrBlockCancel('NmlAtk2C')
    HitOrBlockCancel('CmnActCrushAttack')
    HitJumpCancel(1)

@State
def NmlAtk5A():

    def upon_IMMEDIATE():
        AttackDefaults_StandingNormal()
        AttackLevel_(2)
        Unknown9016(1)
        AirPushbackY(17500)
        Unknown1112('')
        callSubroutine('ChainRoot')
        HitOrBlockCancel('AN_NmlAtk5A_2nd')
        HitOrBlockCancel('NmlAtkThrow')
        HitOrBlockCancel('NmlAtkBackThrow')
        HitOrBlockJumpCancel(1)
    sprite('Action_001_00', 3)
    sprite('Action_001_01', 3)
    Unknown7009(0)
    sprite('Action_001_02', 2)
    RefreshMultihit()
    SFX_3('SE041')
    GFX_0('EffNmlAtk5ABlade', 100)
    sprite('Action_001_03', 4)
    DisableAttackRestOfMove()
    Recovery()
    Unknown2063()
    sprite('Action_001_04', 8)
    sprite('Action_001_05', 4)
    sprite('Action_001_06', 3)

@State
def AN_NmlAtk5A_2nd():

    def upon_IMMEDIATE():
        AttackDefaults_StandingNormal()
        AttackLevel_(3)
        Unknown9016(1)
        AirPushbackY(15000)
        Unknown1112('')
        callSubroutine('ChainRoot')
        HitOrBlockCancel('AN_NmlAtk5A_3rd')
        HitOrBlockCancel('NmlAtkThrow')
        HitOrBlockCancel('NmlAtkBackThrow')
    sprite('Action_002_00', 5)
    sprite('Action_002_01', 3)
    Unknown7009(4)
    sprite('Action_002_02ex01', 2)
    GFX_0('EffNmlAtk5BBlade', 100)
    SFX_3('SE042')
    RefreshMultihit()
    sprite('Action_002_03', 2)
    DisableAttackRestOfMove()
    Recovery()
    Unknown2063()
    sprite('Action_002_04', 5)
    sprite('Action_002_05', 6)
    sprite('Action_002_06', 5)
    sprite('Action_002_07', 5)

@State
def AN_NmlAtk5A_3rd():

    def upon_IMMEDIATE():
        AttackDefaults_StandingNormal()
        AttackLevel_(3)
        Damage(170)
        Unknown11092(1)
        Unknown9016(1)
        Hitstop(1)
        hitstun(19)
        AirUntechableTime(22)
        Unknown30056('905f01003200000000000000')
        AirPushbackX(22000)
        AirPushbackY(15000)
        Unknown11056(0)
        Unknown11001(-1, -1, -1)
    sprite('Action_045_00', 2)
    sprite('Action_045_01', 2)
    physicsXImpulse(20000)
    Unknown8007(100, 1, 1)
    sprite('Action_403_00', 3)
    sprite('Action_403_01', 3)
    Unknown7009(5)
    sprite('Action_403_02', 2)
    RefreshMultihit()
    GFX_0('Eff66CBlade1', 100)
    SFX_3('SE041')
    sprite('Action_403_03', 2)
    RefreshMultihit()
    sprite('Action_403_04', 2)
    RefreshMultihit()
    GFX_0('Eff66CBlade2', 100)
    SFX_3('SE041')
    sprite('Action_403_05', 2)
    RefreshMultihit()
    Unknown8006(0, 1, 1)
    callSubroutine('ChainRoot')
    sprite('Action_403_06', 2)
    RefreshMultihit()
    sprite('Action_403_07', 2)
    RefreshMultihit()
    sprite('Action_403_08', 2)
    RefreshMultihit()
    Unknown8006(0, 1, 1)
    GFX_0('Eff66CBlade3', 100)
    SFX_3('SE041')

    def upon_ON_HIT_OR_BLOCK():
        Unknown14070('AN_NmlAtk5A_4th')
    sprite('Action_403_09', 2)
    RefreshMultihit()
    sprite('Action_403_10', 2)
    RefreshMultihit()
    SFX_3('SE041')
    GFX_0('Eff66CBlade4', 100)
    sprite('Action_403_11', 2)
    RefreshMultihit()
    Unknown8006(0, 1, 1)
    sprite('Action_403_12', 2)
    RefreshMultihit()
    GFX_0('Eff66CBlade5', 100)
    SFX_3('SE041')
    sprite('Action_403_13', 2)
    RefreshMultihit()

    def upon_ON_HIT_OR_BLOCK():
        Unknown14072('AN_NmlAtk5A_4th')
    sprite('Action_403_14', 4)
    DisableAttackRestOfMove()
    Recovery()
    Unknown2063()
    Unknown14072('AN_NmlAtk5A_4th')
    Unknown1019(50)
    sprite('Action_403_15', 4)
    Unknown14074('AN_NmlAtk5A_4th')
    Unknown1019(50)
    sprite('Action_403_16', 9)
    Unknown8010(0, 1, 1)
    Unknown1019(50)
    sprite('Action_403_16', 6)
    Unknown1019(50)

@State
def AN_NmlAtk5A_4th():

    def upon_IMMEDIATE():
        AttackDefaults_StandingNormal()
        JumpCancel_(0)
        Unknown30088(1)
    sprite('Action_149_00', 3)
    sprite('Action_149_01', 3)
    GFX_0('Tan_SealingEx', 100)
    sprite('Action_149_02', 4)
    Unknown7006('uor209_0', 100, 846360437, 828324144, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    sprite('Action_149_03', 5)
    sprite('Action_149_04', 5)
    sprite('Action_149_05', 9)
    sprite('Action_149_05', 10)
    Unknown2063()
    sprite('Action_149_06', 8)
    Recovery()
    sprite('Action_149_07', 7)

@State
def NmlAtk5B():

    def upon_IMMEDIATE():
        AttackDefaults_StandingNormal()
        AttackLevel_(3)
        AttackP2(80)
        hitstun(19)
        AirPushbackY(15000)
        Unknown2004(1, 0)
        Unknown1112('')
        HitOrBlockCancel('AN_NmlAtk5B_2nd')
        callSubroutine('ChainRoot')
    sprite('Action_003_00', 1)
    sprite('Action_003_01', 1)
    sprite('Action_003_02', 1)
    sprite('Action_003_03', 2)
    sprite('Action_003_04', 2)
    Unknown1015(15000)
    Unknown1030(-1500)
    sprite('Action_003_05', 2)
    teleportRelativeX(50000)
    Unknown7009(2)
    sprite('Action_003_06', 1)
    teleportRelativeX(50000)
    sprite('Action_003_07', 1)
    teleportRelativeX(45000)
    Unknown1084(1)
    GFX_0('EffNmlAtk5CZanzo', 100)
    SFX_3('SE045')
    sprite('Action_003_08', 4)
    RefreshMultihit()
    sprite('Action_003_09', 4)
    DisableAttackRestOfMove()
    Recovery()
    Unknown2063()
    sprite('Action_003_10', 4)
    sprite('Action_003_11', 4)
    sprite('Action_003_12', 4)
    sprite('Action_003_13', 5)

@State
def AN_NmlAtk5B_2nd():

    def upon_IMMEDIATE():
        AttackDefaults_StandingNormal()
        AttackLevel_(3)
        AttackP2(80)
        AirPushbackX(8000)
        AirPushbackY(27500)
        hitstun(19)
        AirUntechableTime(23)
        AirHitstunAnimation(13)
        HitOrBlockCancel('AN_NmlAtk5B_3rd')
        callSubroutine('ChainRoot')
    sprite('Action_241_00', 2)
    sprite('Action_241_01', 2)
    teleportRelativeX(50000)
    sprite('Action_241_02', 3)
    teleportRelativeX(22000)
    sprite('Action_241_03', 5)
    Unknown7006('uor106_0', 100, 829583221, 828323376, 0, 0, 100, 829583221, 845100592, 0, 0, 100, 0, 0, 0, 0, 0)
    sprite('Action_241_04', 2)
    GFX_0('EffNmlAtk4CZanzo', 100)
    Unknown1015(25000)
    SFX_3('SE045')
    sprite('Action_241_05', 2)
    RefreshMultihit()
    Unknown1084(1)
    sprite('Action_241_06', 3)
    sprite('Action_241_07', 3)
    DisableAttackRestOfMove()
    Recovery()
    Unknown2063()
    sprite('Action_241_08', 3)
    sprite('Action_241_09', 3)
    sprite('Action_241_10', 3)
    sprite('Action_241_11', 2)
    sprite('Action_241_12', 2)

@State
def AN_NmlAtk5B_3rd():

    def upon_IMMEDIATE():
        AttackDefaults_StandingNormal()
        AttackLevel_(4)
        AirPushbackX(9000)
        AirPushbackY(-80000)
        YImpluseBeforeWallbounce(0)
        hitstun(19)
        AirUntechableTime(30)
        Unknown9310(1)
        callSubroutine('ChainRoot')
    sprite('Action_242_00', 1)
    sprite('Action_242_01', 2)
    sprite('Action_242_02', 2)
    teleportRelativeX(50000)
    sprite('Action_242_03', 2)
    teleportRelativeX(50000)
    sprite('Action_242_04', 2)
    teleportRelativeX(50000)
    physicsXImpulse(15000)
    sprite('Action_242_05', 2)
    Unknown1084(1)
    Unknown8000(100, 1, 1)
    sprite('Action_242_06', 2)
    teleportRelativeX(50000)
    SFX_3('SE040_Landing')
    sprite('Action_242_07', 2)
    sprite('Action_242_08', 2)
    Unknown7006('uor108_1', 100, 829583221, 845101104, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    sprite('Action_242_09ex01', 1)
    GFX_0('EffNmlAtk6BZanzo', 100)
    SFX_3('SE043')
    sprite('Action_242_10ex01', 3)
    sprite('Action_242_11', 4)
    DisableAttackRestOfMove()
    Recovery()
    Unknown2063()
    sprite('Action_242_12', 5)
    sprite('Action_242_13', 4)
    sprite('Action_242_14', 4)
    sprite('Action_242_15', 4)
    sprite('Action_242_16', 3)

@State
def NmlAtk2A():

    def upon_IMMEDIATE():
        AttackDefaults_CrouchingNormal()
        AttackLevel_(1)
        AttackP1(90)
        HitLow(2)
        HitOrBlockJumpCancel(1)
        callSubroutine('ChainRoot')
        WhiffCancel('NmlAtk2A_Renda')
        HitOrBlockCancel('NmlAtk2A_Renda')
        HitOrBlockCancel('NmlAtkThrow')
        HitOrBlockCancel('NmlAtkBackThrow')
    sprite('Action_004_00', 3)
    sprite('Action_004_01', 3)
    Unknown7009(3)
    sprite('Action_004_02', 2)
    RefreshMultihit()
    SFX_3('SE041')
    sprite('Action_004_03', 6)
    WhiffCancelEnable(1)
    Recovery()
    Unknown2063()
    sprite('Action_004_04', 5)
    sprite('Action_004_05', 4)

@State
def NmlAtk2A_Renda():

    def upon_IMMEDIATE():
        AttackDefaults_CrouchingNormal()
        AttackLevel_(1)
        AttackP1(90)
        HitLow(2)
        HitOrBlockJumpCancel(1)
        callSubroutine('ChainRoot')
        WhiffCancel('NmlAtk2A_Renda')
        HitOrBlockCancel('NmlAtk2A_Renda')
        HitOrBlockCancel('NmlAtkThrow')
        HitOrBlockCancel('NmlAtkBackThrow')
    sprite('Action_004_00', 3)
    sprite('Action_004_01', 3)
    Unknown7009(3)
    sprite('Action_004_02', 2)
    RefreshMultihit()
    SFX_3('SE041')
    sprite('Action_004_03', 5)
    WhiffCancelEnable(1)
    Recovery()
    Unknown2063()
    sprite('Action_004_04', 4)
    sprite('Action_004_05', 3)

@State
def NmlAtk2B():

    def upon_IMMEDIATE():
        AttackDefaults_CrouchingNormal()
        AttackLevel_(3)
        AttackP1(90)
        AirUntechableTime(24)
        AirHitstunAnimation(10)
        Unknown11058('0000000001000000000000000000000000000000')
        Unknown9016(1)
        HitJumpCancel(1)
        callSubroutine('ChainRoot')
    sprite('Action_244_00', 3)
    sprite('Action_244_01', 1)
    sprite('Action_244_01', 2)
    setInvincible(1)
    Unknown22019('0100000000000000000000000000000000000000')
    sprite('Action_244_02', 2)
    Unknown7009(1)
    sprite('Action_244_03', 3)
    RefreshMultihit()
    GFX_0('EffNmlAtk3BBlade', 100)
    SFX_3('SE042')
    sprite('Action_244_04', 12)
    setInvincible(0)
    DisableAttackRestOfMove()
    Recovery()
    Unknown2063()
    sprite('Action_244_05', 6)
    sprite('Action_244_06', 6)

@State
def NmlAtk2C():

    def upon_IMMEDIATE():
        AttackDefaults_CrouchingNormal()
        AttackLevel_(4)
        AttackP1(90)
        AttackP2(75)
        HitLow(2)
        AirHitstunAnimation(11)
        GroundedHitstunAnimation(11)
        AirPushbackY(16000)
        AirUntechableTime(26)
        Unknown11058('0000000000000000010000000000000000000000')
        HitJumpCancel(1)
        HitOrBlockCancel('NmlAtk5A')
        HitOrBlockCancel('NmlAtk2A')
        HitOrBlockCancel('NmlAtk5B')
        HitOrBlockCancel('NmlAtk2B')
    sprite('Action_006_00', 3)
    sprite('Action_006_01', 4)
    sprite('Action_006_02', 3)
    teleportRelativeX(50000)
    Unknown7006('uor107_0', 100, 829583221, 828323632, 0, 0, 100, 829583221, 845100848, 0, 0, 100, 0, 0, 0, 0, 0)
    sprite('Action_006_03', 2)
    RefreshMultihit()
    SFX_3('SE043')
    sprite('Action_006_04', 3)
    sprite('Action_006_05', 3)
    DisableAttackRestOfMove()
    Recovery()
    Unknown2063()
    sprite('Action_006_06', 4)
    sprite('Action_006_07', 3)
    sprite('Action_006_08', 3)
    sprite('Action_006_09', 3)
    sprite('Action_006_10ex01', 3)
    sprite('Action_006_11ex01', 1)
    sprite('Action_006_11ex01', 1)
    loopRest()

@State
def NmlAtkAIR5A():

    def upon_IMMEDIATE():
        AttackDefaults_AirNormal()
        AttackLevel_(3)
        Unknown9016(1)
        AirPushbackY(18000)
        HitOrBlockCancel('NmlAtkAIR5AA')
        HitOrBlockCancel('NmlAtkAIR5B')
        HitOrBlockCancel('NmlAtkAIR5C')
        HitOrBlockJumpCancel(1)
    sprite('Action_009_00', 3)
    sprite('Action_009_01', 3)
    sprite('Action_009_02', 3)
    Unknown7009(3)
    sprite('Action_009_03', 6)
    RefreshMultihit()
    GFX_0('EffNmlAtkAIR5CBlade', 100)
    SFX_3('SE041')
    sprite('Action_009_04', 3)
    DisableAttackRestOfMove()
    Recovery()
    Unknown2063()
    sprite('Action_009_05', 5)
    sprite('Action_009_06', 4)

@State
def NmlAtkAIR5AA():

    def upon_IMMEDIATE():
        AttackDefaults_AirNormal()
        AttackLevel_(3)
        Unknown9016(1)
        HitOrBlockCancel('NmlAtkAIR5B')
        HitOrBlockCancel('NmlAtkAIR5C')
        HitOrBlockJumpCancel(1)
    sprite('Action_007_00', 3)
    sprite('Action_007_01', 3)
    Unknown7009(0)
    sprite('Action_007_02', 2)
    RefreshMultihit()
    GFX_0('EffNmlAtkAIR5ABlade', 100)
    SFX_3('SE041')
    sprite('Action_007_03', 2)
    DisableAttackRestOfMove()
    Recovery()
    Unknown2063()
    sprite('Action_007_04', 8)
    sprite('Action_007_05', 7)

@State
def NmlAtkAIR5B():

    def upon_IMMEDIATE():
        AttackDefaults_AirNormal()
        AttackLevel_(3)
        Damage(1700)
        AirUntechableTime(22)
        AirPushbackX(8000)
        HitOrBlockCancel('NmlAtkAIR5A')
        HitOrBlockCancel('NmlAtkAIR5C')
        HitOrBlockJumpCancel(1)
    sprite('Action_008_00', 5)
    sprite('Action_008_01', 4)
    Unknown7009(5)
    sprite('Action_008_02', 1)
    GFX_0('EffNmlAtkAIR5BZanzo', 100)
    SFX_3('SE042')
    sprite('Action_008_03', 5)
    RefreshMultihit()
    sprite('Action_008_04', 6)
    DisableAttackRestOfMove()
    Recovery()
    Unknown2063()
    sprite('Action_008_05', 5)
    sprite('Action_008_06', 5)

@State
def NmlAtkAIR5C():

    def upon_IMMEDIATE():
        AttackDefaults_AirNormal()
        AttackLevel_(4)
        Damage(2000)
        AttackP2(85)
        AirPushbackX(15000)
        AirPushbackY(-85000)
        YImpluseBeforeWallbounce(0)
        AirUntechableTime(45)
        HitOrBlockCancel('NmlAtkAIR5A')
        HitOrBlockCancel('NmlAtkAIR5B')
    sprite('Action_245_00', 3)
    sprite('Action_245_01', 2)
    sprite('Action_245_02', 2)
    sprite('Action_245_03', 4)
    Unknown7006('uor304_1', 100, 863137653, 828323632, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    sprite('Action_245_04', 2)
    RefreshMultihit()
    GFX_0('EffNmlAtkAIR2CZanzo', 100)
    SFX_3('SE045')
    sprite('Action_245_05', 5)
    sprite('Action_245_06', 3)
    DisableAttackRestOfMove()
    Recovery()
    Unknown2063()
    sprite('Action_245_07', 5)
    sprite('Action_245_08', 4)
    sprite('Action_245_09', 4)

@State
def CmnActCrushAttack():

    def upon_IMMEDIATE():
        Unknown30072('')
        Unknown9016(1)
        Unknown11058('0100000000000000000000000000000000000000')
    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, 'uor156_0', 'uor156_1', '', '')
    sprite('Action_068_04', 3)
    sprite('Action_068_05', 3)
    sprite('Action_068_06', 2)
    sprite('Action_007_00', 3)
    sprite('Action_007_01', 4)
    sprite('Action_007_02', 3)
    RefreshMultihit()
    GFX_0('EffNmlAtkAIR5ABlade', 100)
    SFX_3('SE041')
    sprite('Action_007_03', 2)
    sprite('Action_007_04', 8)
    sprite('Action_007_05', 7)
    label(0)
    sprite('Action_068_09', 3)
    sprite('Action_068_10', 2)
    loopRest()
    gotoLabel(0)
    label(1)
    sprite('Action_246_00', 2)
    Unknown18009(1)
    Unknown8000(100, 1, 1)
    clearUponHandler(2)
    Unknown1084(1)
    sprite('Action_246_01', 6)
    sprite('Action_246_02', 3)
    Unknown18009(0)
    sprite('Action_246_03', 2)

@State
def CmnActCrushAttackChase1st():

    def upon_IMMEDIATE():
        Unknown30073(0)
        loopRelated(17, 20)

        def upon_17():
            clearUponHandler(17)
            sendToLabel(2)
        setGravity(3000)
        sendToLabelUpon(2, 1)
    sprite('Action_007_03', 2)
    sprite('Action_007_04', 8)
    sprite('Action_007_05', 7)
    label(1)
    sprite('Action_246_00', 2)
    Unknown8000(100, 1, 1)
    sprite('Action_246_01', 6)
    sprite('Action_246_02', 3)
    Unknown18009(0)
    sprite('Action_246_03', 2)
    label(2)
    sprite('Action_402_00', 2)
    clearUponHandler(17)
    teleportRelativeY(0)
    sprite('Action_402_01', 2)
    sprite('Action_402_02', 3)
    teleportRelativeX(36000)
    tag_voice(0, 'uor157_0', 'uor157_1', '', '')
    sprite('Action_402_03', 2)
    sprite('Action_402_04', 2)
    GFX_0('Eff66BZanzo1', 100)
    SFX_3('SE043')
    sprite('Action_402_05', 5)
    sprite('Action_402_06', 4)
    sprite('Action_402_07', 3)
    sprite('Action_402_08', 2)
    loopRelated(17, 180)

    def upon_17():
        clearUponHandler(17)
        sendToLabel(11)
    label(10)
    sprite('Action_000_00', 7)
    sprite('Action_000_01', 7)
    sprite('Action_000_02', 6)
    sprite('Action_000_03', 6)
    sprite('Action_000_04', 5)
    sprite('Action_000_05', 5)
    sprite('Action_000_06', 5)
    sprite('Action_000_07', 6)
    sprite('Action_000_08', 6)
    sprite('Action_000_09', 7)
    sprite('Action_000_10', 7)
    sprite('Action_000_11', 6)
    sprite('Action_000_12', 6)
    sprite('Action_000_13', 5)
    sprite('Action_000_14', 5)
    sprite('Action_000_15', 5)
    sprite('Action_000_16', 6)
    sprite('Action_000_17', 6)
    loopRest()
    gotoLabel(10)
    label(11)
    sprite('keep', 1)

@State
def CmnActCrushAttackChase2nd():

    def upon_IMMEDIATE():
        Unknown30074(0)
        loopRelated(17, 180)

        def upon_17():
            clearUponHandler(17)
            sendToLabel(1)
    sprite('Action_241_00', 2)
    sprite('Action_241_01', 2)
    teleportRelativeX(50000)
    sprite('Action_241_02', 3)
    teleportRelativeX(22000)
    sprite('Action_241_03', 5)
    sprite('Action_241_04', 2)
    GFX_0('EffNmlAtk4CZanzo', 100)
    SFX_3('SE045')
    sprite('Action_241_05', 2)
    RefreshMultihit()
    sprite('Action_241_06', 3)
    sprite('Action_241_07', 4)
    sprite('Action_241_08', 4)
    sprite('Action_241_09', 4)
    sprite('Action_241_10', 3)
    sprite('Action_241_11', 3)
    sprite('Action_241_12', 3)
    label(0)
    sprite('Action_000_00', 7)
    sprite('Action_000_01', 7)
    sprite('Action_000_02', 6)
    sprite('Action_000_03', 6)
    sprite('Action_000_04', 8)
    sprite('Action_000_05', 5)
    sprite('Action_000_06', 5)
    sprite('Action_000_07', 5)
    sprite('Action_000_08', 6)
    sprite('Action_000_09', 5)
    sprite('Action_000_10', 6)
    sprite('Action_000_11', 8)
    sprite('Action_000_12', 5)
    sprite('Action_000_13', 5)
    sprite('Action_000_14', 6)
    loopRest()
    gotoLabel(0)
    label(1)
    sprite('keep', 1)

@State
def CmnActCrushAttackFinish():

    def upon_IMMEDIATE():
        Unknown30075(0)
    sprite('Action_243_00', 5)
    sprite('Action_243_01', 6)
    physicsXImpulse(2250)
    physicsYImpulse(1500)
    setGravity(150)
    sprite('Action_243_02', 2)
    sprite('Action_243_03', 6)
    tag_voice(0, 'uor158_0', 'uor158_1', '', '')
    sprite('Action_243_04ex01', 4)
    GFX_0('EffNmlAtk3CZanzo', 100)
    RefreshMultihit()
    Unknown1017()
    Unknown1022()
    Unknown1037()
    SFX_3('SE045')
    sprite('Action_243_04ex01', 9)
    DisableAttackRestOfMove()
    sprite('Action_243_05', 5)
    Unknown1018()
    Unknown1023()
    Unknown1038()
    sprite('Action_243_06', 3)
    sprite('Action_243_07', 32767)
    sendToLabelUpon(2, 0)
    label(0)
    sprite('Action_246_00', 4)
    Unknown8000(100, 1, 1)
    Unknown1084(1)
    sprite('Action_246_01', 9)
    sprite('Action_246_02', 3)
    sprite('Action_246_03', 3)

@State
def CmnActCrushAttackExFinish():

    def upon_IMMEDIATE():
        Unknown30089(0)
        loopRelated(17, 60)

        def upon_17():
            clearUponHandler(17)
            sendToLabel(1)
    label(0)
    sprite('Action_000_00', 7)
    sprite('Action_000_01', 7)
    sprite('Action_000_02', 6)
    sprite('Action_000_03', 6)
    sprite('Action_000_04', 8)
    sprite('Action_000_05', 5)
    sprite('Action_000_06', 5)
    sprite('Action_000_07', 5)
    sprite('Action_000_08', 6)
    sprite('Action_000_09', 5)
    sprite('Action_000_10', 6)
    sprite('Action_000_11', 8)
    sprite('Action_000_12', 5)
    sprite('Action_000_13', 5)
    sprite('Action_000_14', 6)
    loopRest()
    gotoLabel(0)
    label(1)
    sprite('Action_243_00', 5)
    sprite('Action_243_01', 6)
    physicsXImpulse(2250)
    physicsYImpulse(1500)
    setGravity(150)
    sprite('Action_243_02', 2)
    sprite('Action_243_03', 6)
    tag_voice(0, 'uor158_0', 'uor158_1', '', '')
    sprite('Action_243_04ex01', 4)
    GFX_0('EffNmlAtk3CZanzo', 100)
    RefreshMultihit()
    Unknown1017()
    Unknown1022()
    Unknown1037()
    SFX_3('SE045')
    sprite('Action_243_04ex01', 9)
    DisableAttackRestOfMove()
    sprite('Action_243_05', 5)
    Unknown1018()
    Unknown1023()
    Unknown1038()
    sprite('Action_243_06', 3)
    sprite('Action_243_07', 32767)
    sendToLabelUpon(2, 10)
    label(10)
    sprite('Action_246_00', 4)
    Unknown8000(100, 1, 1)
    Unknown1084(1)
    sprite('Action_246_01', 9)
    sprite('Action_246_02', 3)
    sprite('Action_246_03', 3)

@State
def CmnActCrushAttackAssistChase1st():

    def upon_IMMEDIATE():
        Unknown30073(1)
        Unknown9016(1)
    sprite('null', 12)
    Unknown1086(22)
    teleportRelativeY(0)
    sprite('null', 1)
    Unknown30081('')
    Unknown1086(22)
    teleportRelativeX(-1000000)
    sprite('Action_160_01', 2)
    Unknown8001(0, 100)
    physicsXImpulse(17000)
    physicsYImpulse(45000)
    setGravity(3100)

    def upon_LANDING():
        clearUponHandler(2)
        Unknown1084(1)
        sendToLabel(1)
    GFX_0('EffFF', 100)
    Unknown36(1)
    Unknown1007(100000)
    Unknown35()
    sprite('Action_160_02', 3)
    GFX_0('EffFF', 100)
    sprite('Action_160_03', 3)
    GFX_0('EffFF', 100)
    Unknown36(1)
    teleportRelativeX(100000)
    Unknown35()
    sprite('Action_160_04', 3)
    GFX_0('EffFF', 100)
    Unknown36(1)
    teleportRelativeX(-100000)
    Unknown35()
    sprite('Action_160_05', 4)
    GFX_0('EffFF', 100)
    Unknown36(1)
    teleportRelativeX(100000)
    Unknown1007(-100000)
    Unknown35()
    sprite('Action_160_06', 2)
    GFX_0('EffFF', 100)
    Unknown36(1)
    teleportRelativeX(100000)
    Unknown1007(100000)
    Unknown35()
    sprite('Action_160_07', 3)
    GFX_0('EffFF', 100)
    Unknown36(1)
    teleportRelativeX(-200000)
    Unknown35()
    sprite('Action_160_08', 2)
    sprite('Action_009_00', 2)
    GFX_0('EffFF', 100)
    Unknown36(1)
    teleportRelativeX(200000)
    Unknown35()
    sprite('Action_009_01', 2)
    sprite('Action_009_02', 2)
    sprite('Action_009_03', 6)
    RefreshMultihit()
    GFX_0('EffNmlAtkAIR5CBlade', 100)
    SFX_3('SE043')
    sprite('Action_009_04', 3)
    sprite('Action_009_05', 3)
    sprite('Action_009_06', 3)
    label(1)
    sprite('Action_160_12', 2)
    sprite('Action_160_13', 3)
    sprite('Action_160_14', 3)
    sprite('Action_000_00', 7)
    sprite('Action_000_01', 7)
    sprite('Action_000_02', 6)
    sprite('Action_000_03', 6)
    sprite('Action_000_04', 8)
    sprite('Action_000_05', 5)
    sprite('Action_000_06', 5)
    sprite('Action_000_07', 5)
    sprite('Action_000_08', 6)
    sprite('Action_000_09', 5)
    sprite('Action_000_10', 6)
    sprite('Action_000_11', 8)
    sprite('Action_000_12', 5)
    sprite('Action_000_13', 5)
    sprite('Action_000_14', 6)

@State
def CmnActCrushAttackAssistChase2nd():

    def upon_IMMEDIATE():
        Unknown30074(1)
    sprite('Action_242_00', 1)
    sprite('Action_242_01', 1)
    sprite('Action_242_02', 1)
    teleportRelativeX(50000)
    sprite('Action_242_03', 1)
    teleportRelativeX(50000)
    sprite('Action_242_04', 1)
    teleportRelativeX(50000)
    sprite('Action_242_05', 2)
    sprite('Action_242_06', 2)
    sprite('Action_242_07', 1)
    sprite('Action_242_08', 1)
    sprite('Action_242_09', 1)
    GFX_0('EffNmlAtk6BZanzo', 100)
    SFX_3('SE043')
    sprite('Action_242_10', 3)
    sprite('Action_242_11', 4)
    sprite('Action_242_12', 4)
    sprite('Action_242_13', 3)
    sprite('Action_242_14', 3)
    sprite('Action_242_15', 3)
    sprite('Action_242_16', 3)
    loopRest()
    sprite('Action_000_00', 7)
    sprite('Action_000_01', 7)
    sprite('Action_000_02', 6)
    sprite('Action_000_03', 6)
    sprite('Action_000_04', 8)
    sprite('Action_000_05', 5)
    sprite('Action_000_06', 5)
    sprite('Action_000_07', 5)
    sprite('Action_000_08', 6)
    sprite('Action_000_09', 5)
    sprite('Action_000_10', 6)
    sprite('Action_000_11', 8)
    sprite('Action_000_12', 5)
    sprite('Action_000_13', 5)
    sprite('Action_000_14', 6)

@State
def CmnActCrushAttackAssistFinish():

    def upon_IMMEDIATE():
        Unknown30075(1)
    sprite('Action_243_00', 5)
    sprite('Action_243_01', 6)
    physicsXImpulse(2250)
    physicsYImpulse(1500)
    setGravity(150)
    sprite('Action_243_02', 2)
    sprite('Action_243_03', 6)
    sprite('Action_243_04ex01', 4)
    GFX_0('EffNmlAtk3CZanzo', 100)
    RefreshMultihit()
    Unknown1017()
    Unknown1022()
    Unknown1037()
    SFX_3('SE045')
    sprite('Action_243_04ex01', 9)
    DisableAttackRestOfMove()
    sprite('Action_243_05', 5)
    Unknown1018()
    Unknown1023()
    Unknown1038()
    sprite('Action_243_06', 3)
    sprite('Action_243_07', 32767)
    sendToLabelUpon(2, 0)
    label(0)
    sprite('Action_246_00', 4)
    Unknown8000(100, 1, 1)
    Unknown1084(1)
    sprite('Action_246_01', 9)
    sprite('Action_246_02', 3)
    sprite('Action_246_03', 3)

@State
def CmnActCrushAttackAssistExFinish():

    def upon_IMMEDIATE():
        Unknown30089(1)
        loopRelated(17, 60)

        def upon_17():
            clearUponHandler(17)
            sendToLabel(1)
    label(0)
    sprite('Action_000_00', 7)
    sprite('Action_000_01', 7)
    sprite('Action_000_02', 6)
    sprite('Action_000_03', 6)
    sprite('Action_000_04', 8)
    sprite('Action_000_05', 5)
    sprite('Action_000_06', 5)
    sprite('Action_000_07', 5)
    sprite('Action_000_08', 6)
    sprite('Action_000_09', 5)
    sprite('Action_000_10', 6)
    sprite('Action_000_11', 8)
    sprite('Action_000_12', 5)
    sprite('Action_000_13', 5)
    sprite('Action_000_14', 6)
    loopRest()
    gotoLabel(0)
    label(1)
    sprite('Action_243_00', 5)
    sprite('Action_243_01', 6)
    physicsXImpulse(2250)
    physicsYImpulse(1500)
    setGravity(150)
    sprite('Action_243_02', 2)
    sprite('Action_243_03', 6)
    sprite('Action_243_04ex01', 4)
    GFX_0('EffNmlAtk3CZanzo', 100)
    RefreshMultihit()
    Unknown1017()
    Unknown1022()
    Unknown1037()
    SFX_3('SE045')
    sprite('Action_243_04ex01', 9)
    DisableAttackRestOfMove()
    sprite('Action_243_05', 5)
    Unknown1018()
    Unknown1023()
    Unknown1038()
    sprite('Action_243_06', 3)
    sprite('Action_243_07', 32767)
    sendToLabelUpon(2, 10)
    label(10)
    sprite('Action_246_00', 4)
    Unknown8000(100, 1, 1)
    Unknown1084(1)
    sprite('Action_246_01', 9)
    sprite('Action_246_02', 3)
    sprite('Action_246_03', 3)

@State
def NmlAtkThrow():

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

        def upon_CLEAR_OR_EXIT():
            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', 3)
    sprite('Action_045_00', 5)
    Unknown8006(100, 1, 1)
    sprite('Action_045_01', 3)
    sprite('Action_045_02', 3)
    sprite('Action_045_03', 3)
    sprite('Action_045_04', 3)
    sprite('Action_045_05', 3)
    Unknown8006(100, 1, 1)
    sprite('Action_045_06', 3)
    sprite('Action_045_07', 3)
    sprite('Action_045_08', 3)
    label(0)
    sprite('Action_045_09', 3)
    Unknown8006(100, 1, 1)
    sprite('Action_045_10', 3)
    sprite('Action_045_11', 3)
    sprite('Action_045_12', 3)
    sprite('Action_045_13', 3)
    Unknown8006(100, 1, 1)
    sprite('Action_045_14', 3)
    sprite('Action_045_15', 3)
    sprite('Action_045_16', 3)
    loopRest()
    gotoLabel(0)
    label(1)
    sprite('Action_055_00', 1)
    clearUponHandler(3)
    Unknown1019(10)
    Unknown8010(100, 1, 1)
    sprite('Action_055_00', 2)
    SFX_3('SE042')
    sprite('Action_055_01', 3)
    Unknown1084(1)
    sprite('Action_055_02', 2)
    sprite('Action_055_03', 3)
    SFX_4('uor154')
    sprite('Action_055_04', 8)
    sprite('Action_055_05', 5)
    sprite('Action_055_06', 5)

@State
def ThrowExe():

    def upon_IMMEDIATE():
        Unknown17012(1, 0, 0)
        AttackLevel_(4)
        Damage(2000)
        AttackP2(50)
        AirHitstunAnimation(12)
        GroundedHitstunAnimation(12)
        AirPushbackX(52000)
        AirPushbackY(20000)
        YImpluseBeforeWallbounce(1800)
        AirUntechableTime(60)
        Unknown11099(1)
    sprite('Action_056_00', 8)
    Unknown5000(8, 0)
    Unknown5001('0000000004000000040000000000000000000000')
    StartMultihit()
    Unknown5003(1)
    sprite('Action_057_00', 3)
    Unknown2005()
    Unknown23073()
    Unknown5000(17, 0)
    Unknown5001('0000000004000000040000000000000000000000')
    Unknown2018(0, 80)
    sprite('Action_057_01', 4)
    SFX_1('uor153')
    Unknown5004()
    Unknown36(22)
    Unknown1047(-19000)
    Unknown8007(100, 1, 1)
    Unknown35()
    Unknown2018(0, 80)
    sprite('Action_057_02', 2)
    sprite('Action_057_03', 2)
    sprite('Action_057_04', 2)
    Unknown2018(1, 80)
    teleportRelativeX(-46000)
    Unknown1007(70000)
    physicsXImpulse(2560)
    physicsYImpulse(20000)
    setGravity(2000)
    SFX_3('SE038')
    sprite('Action_057_05', 2)
    teleportRelativeX(-24000)
    Unknown1007(-20000)
    sprite('Action_057_06', 2)
    sprite('Action_057_07', 2)
    sprite('Action_057_08', 2)
    sprite('Action_057_09', 2)
    setGravity(-750)
    Unknown1028(-750)
    sprite('Action_057_10', 6)
    physicsXImpulse(6400)
    physicsYImpulse(-6400)
    sprite('Action_057_11', 2)
    sprite('Action_057_12', 2)
    SFX_3('SE043')
    physicsXImpulse(16000)
    physicsYImpulse(12000)
    Unknown1028(-550)
    setGravity(2800)

    def upon_STATE_END():
        Unknown1019(30)
    sprite('Action_057_13', 2)
    sprite('Action_057_14', 3)
    sprite('Action_057_15', 3)
    sprite('Action_057_16', 4)
    sprite('Action_057_17', 32767)
    sendToLabelUpon(2, 1)
    label(1)
    sprite('Action_057_18', 2)
    clearUponHandler(1)
    Unknown2005()
    physicsXImpulse(-7000)
    Unknown1028(1000)
    sprite('Action_057_19', 4)
    sprite('Action_057_20', 2)
    Unknown1084(1)
    sprite('Action_057_21', 2)

@State
def NmlAtkBackThrow():

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

        def upon_CLEAR_OR_EXIT():
            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', 3)
    sprite('Action_045_00', 5)
    Unknown8006(100, 1, 1)
    sprite('Action_045_01', 3)
    sprite('Action_045_02', 3)
    sprite('Action_045_03', 3)
    sprite('Action_045_04', 3)
    sprite('Action_045_05', 3)
    Unknown8006(100, 1, 1)
    sprite('Action_045_06', 3)
    sprite('Action_045_07', 3)
    sprite('Action_045_08', 3)
    label(0)
    sprite('Action_045_09', 3)
    Unknown8006(100, 1, 1)
    sprite('Action_045_10', 3)
    sprite('Action_045_11', 3)
    sprite('Action_045_12', 3)
    sprite('Action_045_13', 3)
    Unknown8006(100, 1, 1)
    sprite('Action_045_14', 3)
    sprite('Action_045_15', 3)
    sprite('Action_045_16', 3)
    loopRest()
    gotoLabel(0)
    label(1)
    sprite('Action_055_00', 1)
    clearUponHandler(3)
    Unknown1019(10)
    Unknown8010(100, 1, 1)
    sprite('Action_055_00', 2)
    SFX_3('SE042')
    sprite('Action_055_01', 3)
    Unknown1084(1)
    sprite('Action_055_02', 2)
    sprite('Action_055_03', 3)
    SFX_4('uor154')
    sprite('Action_055_04', 8)
    sprite('Action_055_05', 5)
    sprite('Action_055_06', 5)

@State
def BackThrowExe():

    def upon_IMMEDIATE():
        Unknown17012(1, 0, 0)
        AttackLevel_(4)
        Damage(2000)
        AttackP2(50)
        AirHitstunAnimation(12)
        GroundedHitstunAnimation(12)
        AirPushbackX(52000)
        AirPushbackY(20000)
        AirUntechableTime(60)
        Unknown11099(1)
    sprite('Action_056_00', 8)
    Unknown5000(8, 0)
    Unknown5001('0000000004000000040000000000000000000000')
    StartMultihit()
    Unknown5003(1)
    sprite('Action_057_00', 3)
    Unknown5000(17, 0)
    Unknown5001('0000000004000000040000000000000000000000')
    Unknown2018(0, 80)
    sprite('Action_057_01', 4)
    SFX_1('uor153')
    Unknown5004()
    Unknown36(22)
    Unknown2005()
    Unknown1047(-19000)
    Unknown8007(100, 1, 1)
    Unknown35()
    Unknown2018(0, 80)
    sprite('Action_057_02', 2)
    sprite('Action_057_03', 2)
    sprite('Action_057_04', 2)
    Unknown2018(1, 80)
    teleportRelativeX(-46000)
    Unknown1007(70000)
    physicsXImpulse(2560)
    physicsYImpulse(20000)
    setGravity(2000)
    SFX_3('SE038')
    Unknown23073()
    sprite('Action_057_05', 2)
    teleportRelativeX(-24000)
    Unknown1007(-20000)
    sprite('Action_057_06', 2)
    sprite('Action_057_07', 2)
    sprite('Action_057_08', 2)
    sprite('Action_057_09', 2)
    setGravity(-750)
    Unknown1028(-750)
    sprite('Action_057_10', 6)
    physicsXImpulse(6400)
    physicsYImpulse(-6400)
    sprite('Action_057_11', 2)
    sprite('Action_057_12', 2)
    SFX_3('SE043')
    physicsXImpulse(16000)
    physicsYImpulse(12000)
    Unknown1028(-550)
    setGravity(2800)

    def upon_STATE_END():
        Unknown1019(30)
    sprite('Action_057_13', 2)
    sprite('Action_057_14', 3)
    sprite('Action_057_15', 3)
    sprite('Action_057_16', 4)
    sprite('Action_057_17', 32767)
    sendToLabelUpon(2, 1)
    label(1)
    sprite('Action_057_18', 2)
    clearUponHandler(1)
    Unknown2005()
    physicsXImpulse(-7000)
    Unknown1028(1000)
    sprite('Action_057_19', 4)
    sprite('Action_057_20', 2)
    Unknown1084(1)
    sprite('Action_057_21', 2)

@State
def AN_NmlAtk2B__misiyou():

    def upon_IMMEDIATE():
        AttackDefaults_StandingNormal()
        AttackLevel_(2)
        Unknown9016(1)
    sprite('Action_001_00', 4)
    sprite('Action_001_01', 3)
    sprite('Action_001_02', 3)
    GFX_0('EffNmlAtk2BBlade', 100)
    sprite('Action_001_03', 7)
    sprite('Action_001_04', 4)
    sprite('Action_001_05', 3)

@State
def AN_NmlAtkAir5B__misiyou():

    def upon_IMMEDIATE():
        AttackDefaults_AirNormal()
        AttackLevel_(3)
        AirPushbackX(15000)
        HitOrBlockCancel('NmlAtkAIR5B')
        HitOrBlockCancel('NmlAtkAIR5C')
        HitOrBlockJumpCancel(1)
    sprite('Action_008_00', 4)
    sprite('Action_008_01', 3)
    sprite('Action_008_02', 1)
    GFX_0('EffNmlAtkAIR5BZanzo', 100)
    sprite('Action_008_03', 3)
    RefreshMultihit()
    sprite('Action_008_04', 6)
    DisableAttackRestOfMove()
    Recovery()
    Unknown2063()
    sprite('Action_008_05', 5)
    sprite('Action_008_06', 5)

@State
def AN_NmlAtk66B_misiyou():

    def upon_IMMEDIATE():
        AttackDefaults_StandingNormal()
        AttackLevel_(2)
        Unknown9016(1)
    sprite('Action_402_00', 2)
    sprite('Action_402_01', 2)
    sprite('Action_402_02', 3)
    teleportRelativeX(36000)
    sprite('Action_402_03', 2)
    sprite('Action_402_04', 2)
    GFX_0('Eff66BZanzo1', 100)
    sprite('Action_402_05', 5)
    sprite('Action_402_06', 4)
    sprite('Action_402_07', 3)
    sprite('Action_402_08', 2)

@State
def AN_NmlAtk3C_misiyou():

    def upon_IMMEDIATE():
        AttackDefaults_StandingNormal()
        AttackLevel_(5)
        DisableAttackRestOfMove()
        JumpCancel_(0)
        callSubroutine('ChainRoot')
    sprite('Action_243_00', 3)
    sprite('Action_243_01', 4)
    physicsXImpulse(10500)
    physicsYImpulse(9000)
    setGravity(850)
    sprite('Action_243_02', 2)
    sprite('Action_243_03', 6)
    sprite('Action_243_04', 4)
    GFX_0('EffNmlAtk3CZanzo', 100)
    RefreshMultihit()
    sprite('Action_243_05', 5)
    Recovery()
    Unknown2063()
    Unknown2001()
    sprite('Action_243_06', 3)
    sprite('Action_243_07', 32767)
    sendToLabelUpon(2, 0)
    label(0)
    sprite('Action_243_08', 2)
    Unknown1084(1)
    Unknown18009(1)
    sprite('Action_243_09', 1)

@State
def CmnActInvincibleAttack():

    def upon_IMMEDIATE():
        Unknown17024('')
        AttackLevel_(4)
        Damage(800)
        Unknown11092(1)
        AirHitstunAnimation(10)
        GroundedHitstunAnimation(10)
        Hitstop(5)
        AirUntechableTime(60)
        AirPushbackX(5000)
        AirPushbackY(40000)
        Unknown9016(1)
        sendToLabelUpon(2, 1)
    sprite('Action_111_00', 3)
    sprite('Action_111_01', 4)
    Unknown1084(1)
    sprite('Action_111_02', 2)
    Unknown7006('uor202_0', 100, 846360437, 828322608, 0, 0, 100, 846360437, 845099824, 0, 0, 100, 0, 0, 0, 0, 0)
    Unknown8001(0, 100)
    physicsXImpulse(15000)
    Unknown1028(-600)
    physicsYImpulse(45000)
    setGravity(1500)
    sprite('Action_111_03', 2)
    RefreshMultihit()
    GFX_0('InvincibleAttackBlade', 100)
    SFX_3('SE045')
    sprite('Action_111_04', 2)
    RefreshMultihit()
    sprite('Action_111_05', 2)
    RefreshMultihit()
    sprite('Action_111_06', 2)
    RefreshMultihit()
    sprite('Action_111_07', 2)
    RefreshMultihit()
    sprite('Action_111_08', 2)
    RefreshMultihit()
    setInvincible(0)
    sprite('Action_111_09', 4)
    Unknown1019(60)
    Unknown1028(0)
    physicsYImpulse(10240)
    setGravity(500)
    sprite('Action_111_10', 4)
    sprite('Action_111_11', 3)
    setGravity(2000)
    sprite('Action_111_12', 3)
    sprite('Action_111_13', 3)
    sprite('Action_111_14', 3)
    sprite('Action_111_15', 3)
    label(0)
    sprite('Action_111_16', 3)
    sprite('Action_111_17', 3)
    gotoLabel(0)
    label(1)
    sprite('Action_111_18', 4)
    Unknown8000(100, 1, 1)
    Unknown18009(1)
    clearUponHandler(2)
    Unknown1084(1)
    sprite('Action_111_19', 5)
    sprite('Action_111_20', 3)
    Unknown18009(0)
    sprite('Action_111_21', 3)

@State
def CmnActInvincibleAttackAir():

    def upon_IMMEDIATE():
        Unknown17025('')
        AttackLevel_(4)
        Damage(800)
        Unknown11092(1)
        AirHitstunAnimation(10)
        GroundedHitstunAnimation(10)
        Hitstop(5)
        AirUntechableTime(42)
        AirPushbackX(5000)
        AirPushbackY(40000)
        Unknown9016(1)
        clearUponHandler(2)
        sendToLabelUpon(2, 1)
    sprite('Action_111_02', 9)
    Unknown1084(1)
    sprite('Action_111_02', 2)
    Unknown7006('uor202_0', 100, 846360437, 828322352, 0, 0, 100, 846360437, 845099568, 0, 0, 100, 0, 0, 0, 0, 0)
    physicsXImpulse(18000)
    Unknown1028(-700)
    physicsYImpulse(30000)
    setGravity(1200)
    sprite('Action_111_03ex01', 2)
    RefreshMultihit()
    GFX_0('InvincibleAttackBlade', 100)
    SFX_3('SE045')
    sprite('Action_111_04ex01', 2)
    RefreshMultihit()
    sprite('Action_111_05ex01', 2)
    RefreshMultihit()
    sprite('Action_111_06ex01', 2)
    RefreshMultihit()
    sprite('Action_111_07ex01', 2)
    RefreshMultihit()
    sprite('Action_111_08ex01', 2)
    RefreshMultihit()
    sprite('Action_111_09', 4)
    setInvincible(0)
    Unknown1019(60)
    Unknown1028(0)
    physicsYImpulse(10240)
    setGravity(500)
    sprite('Action_111_10', 4)
    sprite('Action_111_11', 3)
    setGravity(2000)
    sprite('Action_111_12', 3)
    sprite('Action_111_13', 3)
    sprite('Action_111_14', 3)
    sprite('Action_111_15', 3)
    label(0)
    sprite('Action_111_16', 3)
    sprite('Action_111_17', 3)
    gotoLabel(0)
    label(1)
    sprite('Action_111_18', 2)
    Unknown8000(100, 1, 1)
    Unknown18009(1)
    clearUponHandler(2)
    Unknown1084(1)
    sprite('Action_111_19', 3)
    sprite('Action_111_20', 3)
    Unknown18009(0)
    sprite('Action_111_21', 3)

@State
def AssaultA():

    def upon_IMMEDIATE():
        AttackDefaults_StandingSpecial()
        AttackLevel_(4)
        Damage(2000)
        AttackP1(80)
        Unknown9016(1)
        Hitstop(9)
        AirUntechableTime(45)
        hitstun(25)
        AirPushbackX(23000)
        AirPushbackY(16000)
        AirHitstunAnimation(13)
        blockstun(20)
    sprite('Action_099_00', 4)
    sprite('Action_099_01', 4)
    Unknown7006('uor200_0', 100, 846360437, 828321840, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    sprite('Action_099_02', 2)
    physicsXImpulse(80000)
    Unknown1028(-8400)
    GFX_0('Assault_Zanzo', 100)
    SFX_3('SE038')
    sprite('Action_099_02', 1)
    Unknown4004('6566666563745f3339300000000000000000000000000000000000000000000064000000')
    GFX_0('Assault_Blade', 100)
    SFX_3('SE045')
    sprite('Action_099_03', 4)
    RefreshMultihit()
    Unknown1084(1)
    Unknown1045(5000)
    sprite('Action_099_04', 4)
    DisableAttackRestOfMove()
    Recovery()
    sprite('Action_099_05', 5)
    sprite('Action_099_06', 4)
    sprite('Action_099_07', 4)
    sprite('Action_099_08', 4)

@State
def AssaultB():

    def upon_IMMEDIATE():
        AttackDefaults_StandingSpecial()
        AttackLevel_(5)
        Damage(2200)
        AttackP1(80)
        Unknown9016(1)
        AirUntechableTime(45)
        Hitstop(9)
        AirPushbackX(23000)
        AirPushbackY(16000)
        GroundedHitstunAnimation(13)
        AirHitstunAnimation(13)
    sprite('Action_100_00', 5)
    Unknown1084(1)
    sprite('Action_100_01', 3)
    sprite('Action_100_01', 4)
    sprite('Action_100_02', 6)
    Unknown7006('uor200_0', 100, 846360437, 845099056, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    sprite('Action_100_03', 2)
    StartMultihit()
    GFX_0('Assault_Zanzo', 100)
    Unknown4004('6566666563745f3339300000000000000000000000000000000000000000000064000000')
    physicsXImpulse(125000)
    Unknown1028(-8000)
    SFX_3('SE038')

    def upon_77():
        Unknown1019(5)
        Unknown1034(5)
        Unknown2038(1)
    GFX_0('Assault_Blade', 100)
    SFX_3('SE045')
    sprite('Action_100_05', 3)
    sprite('Action_100_06ex01', 3)
    sprite('Action_100_07', 2)
    DisableAttackRestOfMove()
    Recovery()
    Unknown1084(1)
    sprite('Action_100_08', 3)
    sprite('Action_100_10', 6)
    sprite('Action_100_11', 5)
    ExitState()

@State
def CommandOrderA():

    def upon_IMMEDIATE():
        AttackDefaults_StandingSpecial()
    sprite('Action_147_00', 4)
    sprite('Action_147_01', 8)
    Unknown7006('uor306_0', 100, 863137653, 828323376, 0, 0, 100, 846360437, 811546416, 0, 0, 100, 0, 0, 0, 0, 0)
    Unknown23029(11, 0, 0)
    GFX_0('Tan_214A', 100)
    Unknown38(11, 1)
    sprite('Action_147_02', 5)
    Unknown14070('CommandOrderAdd_A')
    Unknown14070('CommandOrderAdd_B')
    Unknown14070('CommandOrderAdd_C')
    sprite('Action_147_02', 1)
    Unknown14072('CommandOrderAdd_A')
    Unknown14072('CommandOrderAdd_B')
    Unknown14072('CommandOrderAdd_C')
    sprite('Action_147_03', 5)
    Recovery()
    sprite('Action_147_04', 4)
    sprite('Action_147_04', 5)
    Unknown14074('CommandOrderAdd_A')
    Unknown14074('CommandOrderAdd_B')
    Unknown14074('CommandOrderAdd_C')
    sprite('Action_147_05', 4)
    sprite('Action_147_06', 3)

@State
def CommandOrderB():

    def upon_IMMEDIATE():
        AttackDefaults_StandingSpecial()
    sprite('Action_148_00', 5)
    sprite('Action_148_01', 3)
    sprite('Action_148_01', 1)
    Unknown23029(11, 0, 0)
    GFX_0('Tan_214B', 100)
    Unknown38(11, 1)
    SFX_1('uor204_0')
    sprite('Action_148_02', 2)
    sprite('Action_148_03', 2)
    Unknown14070('CommandOrderAdd_A')
    Unknown14070('CommandOrderAdd_B')
    Unknown14070('CommandOrderAdd_C')
    sprite('Action_148_04', 5)
    sprite('Action_148_05', 3)
    sprite('Action_148_06', 3)
    sprite('Action_148_06', 10)
    Recovery()
    Unknown14072('CommandOrderAdd_A')
    Unknown14072('CommandOrderAdd_B')
    Unknown14072('CommandOrderAdd_C')
    sprite('Action_148_07', 5)
    Unknown14074('CommandOrderAdd_A')
    Unknown14074('CommandOrderAdd_B')
    Unknown14074('CommandOrderAdd_C')
    sprite('Action_148_08', 5)

@State
def CommandOrderAdd_A():

    def upon_IMMEDIATE():
        AttackDefaults_StandingSpecial()
        Unknown30068(1)
    sprite('Action_152_00', 4)
    Unknown21007(11, 32)
    sprite('Action_152_01', 4)
    Unknown7006('uor205_0', 100, 846360437, 828323120, 0, 0, 100, 846360437, 845100336, 0, 0, 100, 0, 0, 0, 0, 0)
    sprite('Action_152_02', 8)
    sprite('Action_152_03', 5)
    sprite('Action_152_04', 23)
    Recovery()
    sprite('Action_152_05', 9)
    sprite('Action_152_06', 9)

@State
def CommandOrderAdd_B():

    def upon_IMMEDIATE():
        AttackDefaults_StandingSpecial()
        Unknown30068(1)
    sprite('Action_153_00', 2)
    Unknown21007(11, 33)
    sprite('Action_153_01', 2)
    Unknown7006('uor206_0', 100, 846360437, 828323376, 0, 0, 100, 846360437, 845100592, 0, 0, 100, 0, 0, 0, 0, 0)
    sprite('Action_153_02', 4)
    sprite('Action_153_03', 6)
    sprite('Action_153_04', 4)
    sprite('Action_153_04', 2)
    Recovery()
    sprite('Action_153_05', 10)
    sprite('Action_153_06', 8)
    sprite('Action_153_07', 7)

@State
def CommandOrderAdd_C():

    def upon_IMMEDIATE():
        AttackDefaults_StandingSpecial()
        Unknown30068(1)
        Unknown2003(1)
        Unknown11063(1)
    sprite('Action_160_00', 2)
    sprite('Action_160_01', 2)
    Recovery()
    physicsXImpulse(23000)
    physicsYImpulse(34000)
    setGravity(2000)
    Unknown22001(-1)
    Unknown22003(-1)
    Unknown8001(0, 100)
    SFX_0('019_cloth_a')
    Unknown28(2, 'CmnActJumpLanding')

    def upon_CLEAR_OR_EXIT():
        Unknown2038(1)
        if (SLOT_2 >= 3):
            Unknown2037(0)
            GFX_0('CommandOrderAddC_kirakiraX', 100)
        if (SLOT_19 <= 100000):
            SLOT_58 = 1
            if (not SLOT_58):
                Unknown1019(30)
                Unknown1047(20000)

    def upon_STATE_END():
        Unknown2006()
    sprite('Action_160_02', 3)
    sprite('Action_160_03', 3)
    SFX_1('uor001')
    sprite('Action_160_04', 3)
    sprite('Action_160_05', 4)
    sprite('Action_160_06', 2)
    sprite('Action_160_07', 3)
    sprite('Action_160_08', 3)
    Unknown13014(1)
    Unknown13015(1)
    Unknown13031(1)
    sprite('Action_160_09', 3)
    label(0)
    sprite('Action_160_10', 3)
    sprite('Action_160_11', 3)
    gotoLabel(0)

@State
def CommandOrderAirA():

    def upon_IMMEDIATE():
        Unknown17003()
    sprite('Action_078_00', 2)
    clearUponHandler(2)
    sendToLabelUpon(2, 10)
    Unknown1017()
    Unknown1022()
    Unknown1084(1)
    sprite('Action_078_01', 2)
    sprite('Action_078_02', 3)
    Unknown22004(12, 1)
    Unknown23029(11, 0, 0)
    GFX_0('Tan_Air214A', 100)
    Unknown38(11, 1)
    SFX_1('uor204_1')
    sprite('Action_078_03', 3)
    sprite('Action_078_04', 4)
    sprite('Action_078_05', 4)
    sprite('Action_078_04', 1)
    Unknown1018()
    Unknown1023()
    Unknown1019(0)
    YAccel(0)
    Unknown1015(-8000)
    Unknown1021(15000)
    Unknown1043()
    sprite('Action_078_04', 3)
    Recovery()
    sprite('Action_078_06', 4)
    sprite('Action_078_07', 5)
    sprite('Action_078_08', 5)
    label(0)
    sprite('Action_078_09', 4)
    sprite('Action_078_10', 4)
    gotoLabel(0)
    label(10)
    sprite('Action_078_11', 5)
    Recovery()
    Unknown1084(1)
    Unknown8000(100, 1, 1)
    clearUponHandler(2)
    sprite('Action_078_12', 9)
    sprite('Action_078_13', 6)
    sprite('Action_078_14', 4)

@State
def CommandOrderAirB():

    def upon_IMMEDIATE():
        Unknown17003()
    sprite('Action_079_00', 3)
    clearUponHandler(2)
    sendToLabelUpon(2, 10)
    Unknown1017()
    Unknown1022()
    Unknown1084(1)
    sprite('Action_079_01', 3)
    Unknown22004(12, 1)
    sprite('Action_079_02', 3)
    sprite('Action_079_03', 3)
    SFX_1('uor204_2')
    sprite('Action_079_04', 3)
    Unknown23029(11, 0, 0)
    GFX_0('Tan_Air214B', 100)
    Unknown38(11, 1)
    sprite('Action_079_05', 3)
    sprite('Action_079_04', 3)
    sprite('Action_079_05', 3)
    sprite('Action_079_04', 3)
    sprite('Action_079_05', 3)
    sprite('Action_079_04', 3)
    sprite('Action_079_05', 1)
    Unknown1018()
    Unknown1023()
    Unknown1019(0)
    YAccel(0)
    Unknown1015(-1500)
    Unknown1021(10000)
    Unknown1043()
    Recovery()
    sprite('Action_079_06', 3)
    sprite('Action_079_07', 5)
    sprite('Action_079_08', 5)
    label(0)
    sprite('Action_079_09', 4)
    sprite('Action_079_10', 4)
    gotoLabel(0)
    label(10)
    sprite('Action_079_11', 4)
    Unknown1084(1)
    Unknown8000(100, 1, 1)
    clearUponHandler(2)
    sprite('Action_079_12', 6)
    sprite('Action_079_13', 4)
    sprite('Action_079_14', 3)

@State
def AssaultEx():

    def upon_IMMEDIATE():
        AttackDefaults_StandingSpecial()
        AttackLevel_(5)
        Damage(2200)
        AttackP1(80)
        AttackP2(80)
        GroundedHitstunAnimation(5)
        AirHitstunAnimation(5)
        Unknown9016(1)
        Hitstop(3)
        AirPushbackX(6000)
        AirPushbackY(15000)
        Unknown11001(20, 20, 20)
        MinimumDamagePct(10)
        Unknown30065(0)
        Unknown2073(1)

        def upon_77():
            clearUponHandler(77)
            Unknown2038(1)
            EnableCollision(0)
            Unknown2015(40)
            Unknown14083(0)
            sendToLabel(0)

        def upon_STATE_END():
            Unknown2006()
    sprite('Action_101_00', 3)
    sprite('Action_101_00', 1)
    Unknown23125('')
    ConsumeSuperMeter(-5000)
    sprite('Action_101_01', 6)
    StartMultihit()
    Unknown7006('uor201_0', 100, 846360437, 828322096, 0, 0, 100, 846360437, 845099312, 0, 0, 100, 0, 0, 0, 0, 0)
    sprite('Action_101_02', 1)
    GFX_0('Assault_Zanzo', 100)
    Unknown4004('6566666563745f3339300000000000000000000000000000000000000000000064000000')
    physicsXImpulse(105000)
    SFX_3('SE038')
    Unknown2015(200)
    sprite('Action_101_03', 7)
    GFX_0('Assault_Blade', 100)
    SFX_3('SE045')
    sprite('Action_101_04', 4)
    DisableAttackRestOfMove()
    Recovery()
    clearUponHandler(77)
    sprite('Action_101_05', 4)
    Unknown1084(1)
    Unknown1045(3000)
    sprite('Action_101_06', 4)
    loopRest()
    gotoLabel(9)
    label(0)
    sprite('Action_101_04', 4)
    Unknown1086(22)
    teleportRelativeY(0)
    teleportRelativeX(-1)
    Unknown1019(80)
    sprite('Action_101_05', 4)
    Unknown1019(50)
    EnableCollision(1)
    sprite('Action_101_06', 4)
    Unknown1019(50)
    sprite('Action_101_04', 4)
    Unknown1019(50)
    sprite('Action_101_05', 4)
    GFX_0('Assault_AddAtk', 100)
    Unknown1019(0)
    sprite('Action_101_06', 4)
    sprite('Action_101_04', 4)
    sprite('Action_101_05', 4)
    sprite('Action_101_06', 4)
    sprite('Action_101_04', 4)
    sprite('Action_101_05', 4)
    sprite('Action_101_06', 4)
    Unknown14083(1)
    sprite('Action_101_04', 4)
    sprite('Action_101_05', 4)
    sprite('Action_101_06', 4)
    label(9)
    sprite('Action_101_07', 4)
    Recovery()
    EnableCollision(1)
    Unknown2015(-1)
    sprite('Action_101_08', 4)
    sprite('Action_101_09', 4)
    sprite('Action_015_00', 2)
    sprite('Action_015_01', 2)

@State
def CommandOrderEx():

    def upon_IMMEDIATE():
        AttackDefaults_StandingSpecial()
    sprite('Action_149_00', 4)
    sprite('Action_149_01', 6)
    Unknown23125('')
    ConsumeSuperMeter(-5000)
    Unknown23029(11, 0, 0)
    GFX_0('Tan_214EX', 100)
    Unknown38(11, 1)
    Unknown7006('uor208_0', 100, 846360437, 828323888, 0, 0, 100, 846360437, 845101104, 0, 0, 100, 0, 0, 0, 0, 0)
    sprite('Action_149_02', 5)
    sprite('Action_149_03', 6)
    sprite('Action_149_04', 9)
    sprite('Action_149_05', 3)
    sprite('Action_149_05', 16)
    Recovery()
    sprite('Action_149_06', 6)
    sprite('Action_149_07', 6)

@State
def CommandOrderAirEx():

    def upon_IMMEDIATE():
        Unknown17003()
    sprite('Action_080_00', 3)
    clearUponHandler(2)
    sendToLabelUpon(2, 10)
    Unknown2006()
    Unknown1084(1)
    physicsXImpulse(-9000)
    physicsYImpulse(24000)
    setGravity(800)
    sprite('Action_080_00', 4)
    Unknown23125('')
    ConsumeSuperMeter(-5000)
    Unknown7006('uor207_0', 100, 846360437, 828323632, 0, 0, 100, 846360437, 845100848, 0, 0, 100, 0, 0, 0, 0, 0)
    sprite('Action_080_01', 6)
    sprite('Action_080_02', 6)
    Unknown23029(11, 0, 0)
    GFX_0('Tan_214AirEX', 100)
    Unknown38(11, 1)
    sprite('Action_080_03', 2)
    Unknown1036(1000)
    sprite('Action_080_04', 3)
    sprite('Action_080_05', 4)
    sprite('Action_080_06', 4)
    sprite('Action_080_07', 4)
    sprite('Action_080_08', 4)
    sprite('Action_080_09', 4)
    sprite('Action_080_10', 4)
    Recovery()
    sprite('Action_080_11', 5)
    sprite('Action_080_12', 5)
    label(0)
    sprite('Action_080_13', 4)
    sprite('Action_080_14', 4)
    gotoLabel(0)
    label(10)
    sprite('Action_079_11', 4)
    Recovery()
    Unknown1084(1)
    Unknown8000(100, 1, 1)
    clearUponHandler(2)
    sprite('Action_079_12', 6)
    sprite('Action_079_13', 3)
    sprite('Action_079_14', 2)

@State
def UltimateShot():

    def upon_IMMEDIATE():
        AttackDefaults_StandingDD()
        Unknown23055('')
        AttackLevel_(5)
        Unknown9266(13)
        Hitstop(3)
        AttackP1(80)
        AttackP2(60)
        Unknown11092(1)
        GroundedHitstunAnimation(1)
        AirHitstunAnimation(1)
        Unknown9016(1)
        Unknown2021(1)
    sprite('Action_120_00', 1)
    Unknown23029(11, 0, 0)
    setInvincible(1)
    Unknown1084(1)
    sprite('Action_120_00', 17)
    Unknown2036(60, -1, 0)
    ConsumeSuperMeter(-10000)
    Unknown30080('')
    tag_voice(1, 'uor250_0', 'uor250_1', '', '')
    sprite('Action_120_01', 3)
    sprite('Action_120_02', 3)
    sprite('Action_120_03', 2)
    sprite('Action_120_03', 1)
    GFX_0('IW_Tan', 100)
    Unknown38(11, 1)
    sprite('Action_120_04', 3)
    sprite('Action_120_05', 23)
    sprite('Action_120_06', 4)
    sprite('Action_120_07', 10)
    sprite('Action_120_08', 4)
    sprite('Action_120_09', 4)
    SFX_3('SE010')
    Unknown4004('6566666563745f3331390000000000000000000000000000000000000000000064000000')
    tag_voice(0, 'uor251_0', 'uor251_1', '', '')
    sprite('Action_120_10', 10)
    Unknown2021(0)
    setInvincible(0)
    sprite('Action_120_11', 45)
    sprite('Action_120_12', 6)
    sprite('Action_120_13', 4)
    sprite('Action_120_14', 4)
    sprite('Action_120_15', 8)
    sprite('Action_120_16', 6)
    sprite('Action_120_17', 4)

@State
def UltimateShotOD():

    def upon_IMMEDIATE():
        AttackDefaults_StandingDD()
        Unknown23055('')
        AttackLevel_(5)
        Unknown9266(13)
        Hitstop(3)
        AttackP1(80)
        AttackP2(60)
        Unknown11092(1)
        PushbackX(0)
        GroundedHitstunAnimation(1)
        AirHitstunAnimation(1)
        Unknown9016(1)
        Unknown2021(1)
        MinimumDamagePct(6)

        def upon_43():
            if (SLOT_48 == 5001):
                Unknown2038(1)
                setInvincible(1)
    sprite('Action_120_00', 1)
    Unknown23029(11, 0, 0)
    setInvincible(1)
    Unknown1084(1)
    sprite('Action_120_00', 17)
    Unknown2036(60, -1, 0)
    ConsumeSuperMeter(-10000)
    Unknown30080('')
    tag_voice(1, 'uor250_0', 'uor250_1', '', '')
    sprite('Action_120_01', 3)
    sprite('Action_120_02', 3)
    sprite('Action_120_03', 2)
    sprite('Action_120_03', 1)
    GFX_0('IW_Tan_OD', 100)
    Unknown38(11, 1)
    sprite('Action_120_04', 3)
    sprite('Action_120_05', 23)
    sprite('Action_120_06', 4)
    sprite('Action_120_07', 10)
    sprite('Action_120_08', 4)
    sprite('Action_120_09', 4)
    SFX_3('SE010')
    Unknown4004('6566666563745f3331390000000000000000000000000000000000000000000064000000')
    tag_voice(0, 'uor251_0', 'uor251_1', '', '')
    sprite('Action_120_10', 10)
    Unknown2021(0)
    if (not SLOT_2):
        setInvincible(0)
    sprite('Action_120_11', 45)
    sprite('Action_120_12', 6)
    sprite('Action_120_13', 4)
    sprite('Action_120_14', 4)
    sprite('Action_120_15', 8)
    if SLOT_2:
        _gotolabel(100)
    sprite('Action_120_16', 6)
    sprite('Action_120_17', 4)
    ExitState()
    label(100)
    sprite('Action_100_00', 5)
    sprite('Action_100_00', 45)
    Unknown2036(45, -1, 0)
    Unknown4004('6175726100000000000000000000000000000000000000000000000000000000ffff0000')
    Unknown1084(1)
    Damage(2000)
    Unknown9266(0)
    Hitstop(0)
    AirUntechableTime(180)
    Unknown9310(1)
    Unknown11001(0, 25, 25)
    EnableCollision(0)
    Unknown2015(200)
    tag_voice(0, 'uor252_0', 'uor252_1', '', '')
    sprite('Action_100_01', 3)
    sprite('Action_100_02', 6)
    tag_voice(0, 'uor253_0', 'uor253_1', '', '')
    sprite('Action_100_03', 3)
    GFX_0('Assault_Zanzo', 100)
    Unknown4004('6566666563745f3339300000000000000000000000000000000000000000000064000000')
    physicsXImpulse(190000)
    Unknown1028(-7500)
    GFX_0('Ultimate_kirakira_matomeX', 100)
    SFX_3('SE038')

    def upon_78():
        clearUponHandler(78)
        SFX_3('SE_BigBomb')
        SFX_0('025_cleanhit_slash')
        SLOT_51 = 1

    def upon_82():
        clearUponHandler(82)
        SFX_0('025_cleanhit_slash')
    sprite('Action_100_03', 2)
    GFX_0('UltimateShot_ODBlade', 100)
    GFX_0('Assault_Blade', 100)
    SFX_3('SE045')
    sprite('Action_100_04', 3)
    sprite('Action_100_05', 4)
    sprite('Action_100_06', 4)
    sprite('Action_100_07', 5)
    Unknown1084(1)
    EnableCollision(1)
    Unknown1045(10000)
    if (not SLOT_51):
        sendToLabel(102)
    label(101)
    sprite('Action_101_04', 5)
    sprite('Action_101_05', 5)
    sprite('Action_101_06', 5)
    sprite('Action_101_07', 5)
    sprite('Action_101_04', 5)
    sprite('Action_101_05', 5)
    sprite('Action_101_06', 5)
    sprite('Action_101_07', 5)
    label(102)
    sprite('Action_100_08', 5)
    sprite('Action_100_09', 7)
    sprite('Action_100_10', 6)
    sprite('Action_100_11', 6)

@State
def UltimateAssault():

    def upon_IMMEDIATE():
        AttackDefaults_StandingDD()
        Unknown23055('')
        AttackLevel_(3)
        Damage(850)
        AttackP1(80)
        AttackP2(60)
        Unknown11092(1)
        Hitstop(1)
        Unknown9016(1)
        GroundedHitstunAnimation(2)
        AirHitstunAnimation(2)
        hitstun(10)
        Unknown9142(15)
        Unknown11056(0)
        Unknown11064(1)
        Unknown11072(1, 200000, 0)
        Unknown2073(1)
        MinimumDamagePct(10)

        def upon_78():
            SLOT_51 = 1
            setInvincible(1)
            clearUponHandler(78)
            Unknown13024(0)
        Unknown11069('UltimateAssault')
    sprite('Action_262_00', 5)
    setInvincible(1)
    Unknown2036(50, -1, 0)
    ConsumeSuperMeter(-10000)
    Unknown30080('')
    sprite('Action_262_01', 5)
    sprite('Action_262_02', 5)
    tag_voice(1, 'uor254_0', 'uor254_1', 'uor254_2', '')
    sprite('Action_262_03', 4)
    sprite('Action_262_04', 4)
    sprite('Action_262_03', 4)
    sprite('Action_262_04', 4)
    sprite('Action_262_03', 4)
    sprite('Action_262_04', 4)
    sprite('Action_262_03', 4)
    sprite('Action_262_04', 4)
    sprite('Action_262_05', 5)
    sprite('Action_262_06', 5)
    sprite('Action_117_00', 4)
    sprite('Action_117_01', 3)
    physicsXImpulse(42000)
    Unknown1028(-5000)
    sprite('Action_117_02', 2)
    RefreshMultihit()
    physicsXImpulse(80000)
    Unknown1028(-2500)
    GFX_0('Eff66CBlade1', 100)
    SFX_3('SE041')
    sprite('Action_117_03', 2)
    sprite('Action_117_04', 2)
    RefreshMultihit()
    GFX_0('Eff66CBlade2', 100)
    SFX_3('SE041')
    sprite('Action_117_05', 2)
    if (not SLOT_51):
        setInvincible(0)
    sprite('Action_117_06', 2)
    RefreshMultihit()
    sprite('Action_117_07', 2)
    sprite('Action_117_08', 2)
    RefreshMultihit()
    GFX_0('Eff66CBlade3', 100)
    SFX_3('SE041')
    tag_voice(0, 'uor255_0', 'uor255_1', 'uor255_2', '')
    sprite('Action_117_09', 2)
    sprite('Action_117_10', 2)
    RefreshMultihit()
    GFX_0('Eff66CBlade4', 100)
    SFX_3('SE041')
    sprite('Action_117_11', 2)
    sprite('Action_117_12', 2)
    RefreshMultihit()
    GFX_0('Eff66CBlade5', 100)
    SFX_3('SE041')
    sprite('Action_117_13', 2)
    loopRest()
    sprite('Action_117_14', 2)
    Unknown1084(1)
    sprite('Action_117_15', 2)
    sprite('Action_117_16', 1)
    physicsXImpulse(60000)
    Unknown1028(-10000)
    physicsYImpulse(90000)
    setGravity(15000)
    sprite('Action_117_17', 4)
    RefreshMultihit()
    SFX_3('SE045')
    GFX_0('InvincibleAttackBlade', 100)
    AttackLevel_(4)
    Damage(2200)
    AirPushbackX(1500)
    AirPushbackY(40000)
    YImpluseBeforeWallbounce(800)
    Unknown30048(1)
    PushbackX(30400)
    AirUntechableTime(150)
    Unknown11072(1, 50000, 0)
    GroundedHitstunAnimation(10)
    AirHitstunAnimation(10)
    clearUponHandler(78)

    def upon_78():
        clearUponHandler(78)
        setInvincible(1)
        Unknown2038(1)
        GFX_0('UltimateAssault_Camera', 100)
        Unknown38(4, 1)
        Unknown36(22)
        setGravity(800)
        physicsXImpulse(1500)
        Unknown35()
    sprite('Action_117_18', 2)
    physicsXImpulse(10000)
    Unknown1028(-500)
    physicsYImpulse(10240)
    setGravity(2500)

    def upon_LANDING():
        clearUponHandler(2)
        if SLOT_2:
            sendToLabel(10)
        else:
            sendToLabel(1)
    sprite('Action_117_19', 4)
    sprite('Action_117_20', 3)
    sprite('Action_117_21', 3)
    sprite('Action_117_22', 3)
    sprite('Action_117_23', 3)
    sprite('Action_117_24', 3)
    label(0)
    sprite('Action_117_25', 3)
    sprite('Action_117_26', 3)
    gotoLabel(0)
    label(1)
    sprite('Action_117_28', 5)
    Unknown1084(1)
    sprite('Action_117_29', 12)
    sprite('Action_117_30', 6)
    sprite('Action_117_31', 6)
    ExitState()
    label(10)
    sprite('Action_117_33', 5)
    Unknown1084(1)
    Unknown21007(4, 32)
    sprite('Action_117_34', 8)
    sprite('Action_117_34', 5)
    tag_voice(0, 'uor256_0', 'uor256_1', 'uor256_2', '')
    Unknown21007(4, 33)
    sprite('Action_117_35', 1)
    GFX_0('Ultimate_kirakira_matome', 100)
    physicsYImpulse(150000)
    setGravity(1900)
    Unknown3029(1)
    Unknown3069(1)
    Unknown3071(4)
    Unknown3070(1)
    SFX_3('SE045')
    sprite('Action_117_36ex01', 1)
    RefreshMultihit()
    AttackLevel_(4)
    Damage(4900)
    Hitstop(20)
    AirPushbackX(1500)
    AirPushbackY(35000)
    YImpluseBeforeWallbounce(1800)
    MinimumDamagePct(19)
    Unknown9310(1)
    Unknown11064(0)
    Unknown30048(1)
    EnableCollision(0)
    Unknown11069('')

    def upon_78():
        clearUponHandler(78)
        Unknown21012('556c74696d6174655f6b6972616b6972615f6d61746f6d65000000000000000020000000')
        SFX_3('SE_BigBomb')
        SFX_0('025_cleanhit_slash')
        Unknown13024(1)
    sprite('Action_117_36ex01', 15)
    GFX_0('UltimateAssault_Blade1', 100)
    sprite('Action_117_36ex01', 1)
    sprite('Action_117_37', 3)
    physicsYImpulse(350000)
    setGravity(40000)
    sprite('Action_117_37', 3)
    YAccel(0)
    setGravity(0)
    teleportRelativeY(1600000)
    Unknown21007(4, 34)
    sprite('Action_117_38', 2)
    physicsYImpulse(48000)
    setGravity(2500)
    sprite('Action_117_39', 4)
    physicsYImpulse(8000)
    sprite('Action_117_40', 4)
    sprite('Action_117_41', 4)
    sendToLabelUpon(2, 20)
    sprite('Action_117_42', 3)
    sprite('Action_117_43', 3)
    sprite('Action_117_44', 3)
    label(11)
    sprite('Action_117_45', 3)
    sprite('Action_117_46', 3)
    gotoLabel(11)
    label(20)
    sprite('Action_117_47', 3)
    Unknown8000(100, 1, 1)
    EnableCollision(1)
    Unknown3029(0)
    Unknown1084(1)
    sprite('Action_117_48', 19)
    sprite('Action_117_49', 3)
    sprite('Action_117_50', 2)

@State
def UltimateAssaultOD():

    def upon_IMMEDIATE():
        AttackDefaults_StandingDD()
        Unknown23055('')
        AttackLevel_(3)
        Damage(850)
        AttackP1(80)
        AttackP2(60)
        Unknown11092(1)
        Hitstop(1)
        Unknown9016(1)
        GroundedHitstunAnimation(2)
        AirHitstunAnimation(2)
        hitstun(10)
        Unknown9142(15)
        Unknown11056(0)
        Unknown11064(1)
        Unknown11072(1, 200000, 0)
        Unknown2073(1)
        MinimumDamagePct(10)

        def upon_78():
            SLOT_51 = 1
            setInvincible(1)
            clearUponHandler(78)
            Unknown13024(0)
        Unknown11069('UltimateAssaultOD')
    sprite('Action_262_00', 5)
    setInvincible(1)
    Unknown2036(50, -1, 0)
    ConsumeSuperMeter(-10000)
    Unknown30080('')
    sprite('Action_262_01', 5)
    sprite('Action_262_02', 5)
    tag_voice(1, 'uor254_0', 'uor254_1', 'uor254_2', '')
    sprite('Action_262_03', 4)
    sprite('Action_262_04', 4)
    sprite('Action_262_03', 4)
    sprite('Action_262_04', 4)
    sprite('Action_262_03', 4)
    sprite('Action_262_04', 4)
    sprite('Action_262_03', 4)
    sprite('Action_262_04', 4)
    sprite('Action_262_05', 5)
    sprite('Action_262_06', 5)
    sprite('Action_117_00', 4)
    sprite('Action_117_01', 3)
    physicsXImpulse(42000)
    Unknown1028(-5000)
    sprite('Action_117_02', 2)
    RefreshMultihit()
    physicsXImpulse(80000)
    Unknown1028(-2500)
    GFX_0('Eff66CBlade1', 100)
    SFX_3('SE041')
    sprite('Action_117_03', 2)
    sprite('Action_117_04', 2)
    RefreshMultihit()
    GFX_0('Eff66CBlade2', 100)
    SFX_3('SE041')
    sprite('Action_117_05', 2)
    if (not SLOT_51):
        setInvincible(0)
    sprite('Action_117_06', 2)
    RefreshMultihit()
    sprite('Action_117_07', 2)
    sprite('Action_117_08', 2)
    RefreshMultihit()
    GFX_0('Eff66CBlade3', 100)
    SFX_3('SE041')
    tag_voice(0, 'uor255_0', 'uor255_1', 'uor255_2', '')
    sprite('Action_117_09', 2)
    sprite('Action_117_10', 2)
    RefreshMultihit()
    GFX_0('Eff66CBlade4', 100)
    SFX_3('SE041')
    sprite('Action_117_11', 2)
    sprite('Action_117_12', 2)
    RefreshMultihit()
    GFX_0('Eff66CBlade5', 100)
    SFX_3('SE041')
    sprite('Action_117_13', 2)
    loopRest()
    sprite('Action_117_14', 2)
    Unknown1084(1)
    sprite('Action_117_15', 2)
    sprite('Action_117_16', 1)
    physicsXImpulse(60000)
    Unknown1028(-10000)
    physicsYImpulse(90000)
    setGravity(15000)
    sprite('Action_117_17', 4)
    RefreshMultihit()
    SFX_3('SE045')
    GFX_0('InvincibleAttackBlade', 100)
    AttackLevel_(4)
    Damage(2200)
    AirPushbackX(1500)
    AirPushbackY(14000)
    YImpluseBeforeWallbounce(500)
    Unknown30048(1)
    PushbackX(30400)
    AirUntechableTime(150)
    Unknown11072(1, 50000, 0)
    GroundedHitstunAnimation(10)
    AirHitstunAnimation(10)
    clearUponHandler(78)

    def upon_78():
        clearUponHandler(78)
        setInvincible(1)
        Unknown2038(1)
        GFX_0('UltimateAssaultOD_Camera', 100)
        Unknown38(4, 1)
    Unknown11069('UltimateAssault_Tan_AtkCol')
    sprite('Action_117_18', 2)
    physicsXImpulse(10000)
    Unknown1028(-500)
    physicsYImpulse(10240)
    setGravity(2500)

    def upon_LANDING():
        clearUponHandler(2)
        if SLOT_2:
            sendToLabel(10)
        else:
            sendToLabel(1)
    sprite('Action_117_19', 4)
    sprite('Action_117_20', 3)
    sprite('Action_117_21', 3)
    sprite('Action_117_22', 3)
    sprite('Action_117_23', 3)
    sprite('Action_117_24', 3)
    label(0)
    sprite('Action_117_25', 3)
    sprite('Action_117_26', 3)
    gotoLabel(0)
    label(1)
    sprite('Action_117_28', 5)
    Unknown1084(1)
    sprite('Action_117_29', 12)
    sprite('Action_117_30', 6)
    sprite('Action_117_31', 6)
    ExitState()
    label(10)
    sprite('Action_117_28', 2)
    Unknown1084(1)
    Unknown21007(4, 32)
    sprite('Action_117_29', 3)
    sprite('Action_117_30', 2)
    sprite('Action_117_31', 2)
    sprite('Action_120_00', 2)
    sprite('Action_120_01', 2)
    sprite('Action_120_02', 2)
    Unknown23029(11, 0, 0)
    GFX_0('UltimateAssault_Tan', 100)
    Unknown38(11, 1)
    sprite('Action_120_03', 2)
    sprite('Action_120_04', 2)
    sprite('Action_120_05', 2)
    sprite('Action_120_06', 4)
    sprite('Action_120_07', 3)
    sprite('Action_120_08', 3)
    sprite('Action_120_09', 3)
    SFX_3('SE010')
    Unknown4004('6566666563745f3331390000000000000000000000000000000000000000000064000000')
    sprite('Action_120_10', 6)
    sprite('Action_120_11', 8)
    sprite('Action_117_33', 4)
    Unknown1084(1)
    sprite('Action_117_34', 11)
    sprite('Action_117_34', 5)
    tag_voice(0, 'uor256_0', 'uor256_1', 'uor256_2', '')
    sprite('Action_117_35', 1)
    GFX_0('Ultimate_kirakira_matome', 100)
    SFX_3('SE045')
    physicsYImpulse(100000)
    setGravity(1900)
    Unknown21007(4, 33)
    Unknown3029(1)
    Unknown3069(1)
    Unknown3071(4)
    Unknown3070(1)
    SLOT_2 = 0
    SLOT_2 = 5

    def upon_78():
        clearUponHandler(78)
        Unknown21012('556c74696d6174655f6b6972616b6972615f6d61746f6d65000000000000000020000000')
    label(11)
    sprite('Action_117_36ex01', 2)
    Unknown2038(-1)
    RefreshMultihit()
    AttackLevel_(4)
    Damage(800)
    Hitstop(3)
    AirPushbackX(1500)
    AirPushbackY(35000)
    YImpluseBeforeWallbounce(1800)
    MinimumDamagePct(10)
    Unknown11072(1, 120000, 0)
    EnableCollision(0)
    Unknown11069('')
    if (SLOT_2 > 0):
        sendToLabel(11)
    sprite('Action_117_36ex01', 15)
    GFX_0('UltimateAssault_Blade1', 100)
    RefreshMultihit()
    AttackLevel_(4)
    Damage(3100)
    MinimumDamagePct(20)
    Hitstop(30)
    AirPushbackX(1500)
    AirPushbackY(35000)
    YImpluseBeforeWallbounce(1800)
    Unknown11072(1, 200000, 0)
    Unknown9310(1)
    Unknown11064(0)
    Unknown30048(1)
    Unknown21007(4, 34)
    clearUponHandler(78)

    def upon_78():
        Unknown13024(1)
        SFX_3('SE_BigBomb')
        SFX_0('025_cleanhit_slash')
    sprite('Action_117_36ex01', 1)
    sprite('Action_117_37', 3)
    physicsYImpulse(350000)
    setGravity(40000)
    sprite('Action_117_37', 3)
    YAccel(0)
    setGravity(0)
    teleportRelativeY(1600000)
    Unknown21007(4, 35)
    sprite('Action_117_38', 2)
    physicsYImpulse(48000)
    setGravity(2500)
    sprite('Action_117_39', 4)
    physicsYImpulse(8000)
    sprite('Action_117_40', 4)
    sprite('Action_117_41', 4)
    sendToLabelUpon(2, 20)
    sprite('Action_117_42', 3)
    sprite('Action_117_43', 3)
    sprite('Action_117_44', 3)
    label(12)
    sprite('Action_117_45', 3)
    sprite('Action_117_46', 3)
    gotoLabel(12)
    label(20)
    sprite('Action_117_47', 3)
    Unknown8000(100, 1, 1)
    EnableCollision(1)
    Unknown13024(1)
    Unknown3029(0)
    Unknown1084(1)
    sprite('Action_117_48', 19)
    sprite('Action_117_49', 3)
    sprite('Action_117_50', 2)

@State
def AstralHeat():

    def upon_IMMEDIATE():
        AttackDefaults_Astral()
        Unknown2003(0)

        def upon_32():
            Unknown21007(11, 32)

        def upon_33():
            Unknown21007(11, 33)

        def upon_37():
            clearUponHandler(17)
            clearUponHandler(1)
            setInvincible(1)
            Unknown2038(1)
            Unknown23157(1)
            Unknown23088(1, 1)
            Unknown23084(1)

        def upon_40():
            Unknown23024(0)

        def upon_41():
            Unknown23088(1, 1)
            sendToLabel(50)
        loopRelated(17, 180)

        def upon_17():
            if (not SLOT_2):
                sendToLabel(1)

        def upon_STATE_END():
            Unknown21013('43616c6c5f556e6949574542470000000000000000000000000000000000000020000000')
    sprite('Action_171_00', 4)
    setInvincibleFor(160)
    Unknown23029(11, 0, 0)
    sprite('Action_171_01', 4)
    Unknown2036(85, -1, 1)
    Unknown23147()
    GFX_0('Ori_CutIn', 100)
    Unknown4004('43616c6c5f556e69495745424700000000000000000000000000000000000000ffff0000')
    sprite('Action_171_02', 4)
    sprite('Action_171_03', 4)
    SFX_1('uor290')
    sprite('Action_171_04', 4)
    sprite('Action_171_05', 4)
    sprite('Action_171_03', 4)
    sprite('Action_171_04', 4)
    sprite('Action_171_05', 4)
    sprite('Action_171_03', 4)
    sprite('Action_171_04', 4)
    sprite('Action_171_05', 4)
    sprite('Action_171_03', 4)
    sprite('Action_171_04', 4)
    sprite('Action_171_05', 4)
    sprite('Action_171_03', 4)
    sprite('Action_171_04', 4)
    GFX_0('Astral_Tan', 100)
    Unknown38(11, 1)
    sprite('Action_171_05', 4)
    label(0)
    sprite('Action_171_03', 4)
    sprite('Action_171_04', 4)
    sprite('Action_171_05', 4)
    gotoLabel(0)
    label(1)
    sprite('Action_171_05', 4)
    clearUponHandler(1)
    Unknown23029(11, 0, 0)
    Unknown21013('43616c6c5f556e6949574542470000000000000000000000000000000000000020000000')
    sprite('Action_171_00', 3)
    ExitState()
    label(50)
    sprite('Action_051_08', 5)
    Unknown13(11)
    Unknown21013('43616c6c5f556e6949574542470000000000000000000000000000000000000020000000')
    sprite('Action_051_09', 6)
    sprite('Action_051_10', 6)
    sprite('Action_051_11', 6)
    sprite('Action_051_12', 6)
    sprite('Action_051_09', 6)
    sprite('Action_051_10', 6)
    sprite('Action_051_11', 6)
    sprite('Action_051_12', 6)
    sprite('Action_051_13', 3)
    sprite('Action_051_14', 2)
    sprite('Action_051_15', 3)
    sprite('Action_051_16', 4)
    sprite('Action_051_17', 2)

@State
def CmnActTagBattleWait():

    def upon_IMMEDIATE():
        setInvincible(1)
    label(0)
    sprite('null', 1)
    EnableCollision(0)
    Unknown2034(0)
    teleportRelativeY(0)
    gotoLabel(0)

@State
def CmnActChangePartnerAppeal():

    def upon_IMMEDIATE():
        AttackDefaults_StandingNormal()
    sprite('keep', 68)

@State
def CmnActChangePartnerAppealAir():

    def upon_IMMEDIATE():
        AttackDefaults_AirNormal()
    sprite('keep', 68)
    Unknown1017()
    Unknown1022()
    Unknown1037()
    Unknown1084(1)

@State
def CmnActChangePartnerOut():

    def upon_IMMEDIATE():
        Unknown17013()

        def upon_LANDING():
            clearUponHandler(2)
            Unknown1084(1)
            sendToLabel(1)
    sprite('Action_046_00', 2)
    sprite('Action_046_01', 2)
    sprite('Action_046_02', 1)
    label(0)
    sprite('Action_046_01', 2)
    sprite('Action_046_02', 1)
    loopRest()
    gotoLabel(0)
    label(1)
    sprite('Action_046_00', 6)

@State
def CmnActChangeRequest():

    def upon_IMMEDIATE():
        Unknown17013()
    sprite('keep', 68)

@State
def CmnActChangeReturnAppeal():

    def upon_IMMEDIATE():
        Unknown17013()
    sprite('Action_051_13', 3)
    sprite('Action_051_08', 5)
    sprite('Action_051_09', 5)
    sprite('Action_051_10', 5)
    sprite('Action_051_11', 5)
    sprite('Action_051_12', 5)
    sprite('Action_051_08', 5)
    sprite('Action_051_09', 5)
    sprite('Action_051_10', 5)
    sprite('Action_051_11', 5)
    sprite('Action_051_12', 5)
    sprite('Action_051_13', 3)
    sprite('Action_051_14', 2)
    sprite('Action_051_15', 3)
    sprite('Action_051_16', 4)
    sprite('Action_051_17', 22)
    loopRest()

@State
def CmnActChangePartnerIn():

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

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

        def upon_LANDING():
            clearUponHandler(2)
            sendToLabel(9)
    sprite('null', 2)
    sprite('null', 600)
    label(100)
    sprite('null', 28)
    sprite('null', 1)
    Unknown1086(22)
    teleportRelativeX(-120000)
    teleportRelativeY(1200000)
    physicsYImpulse(-240000)
    setGravity(0)
    EnableCollision(1)
    Unknown2053(1)
    sendToLabelUpon(2, 9)
    sprite('Action_245_03', 2)
    sprite('Action_245_04', 32767)
    GFX_0('EffNmlAtkAIR2CZanzo', 100)
    label(9)
    sprite('Action_245_04', 3)
    sprite('Action_246_00', 4)
    Unknown8000(0, 1, 1)
    Unknown1084(1)
    sprite('Action_246_01', 10)
    sprite('Action_246_02', 4)
    sprite('Action_246_03', 4)

@State
def CmnActChangeReturnAppealBurst():
    sprite('Action_313_02', 3)
    sprite('Action_312_03', 6)
    sprite('Action_312_04', 60)

@State
def CmnActChangePartnerQuickIn():
    sprite('Action_045_02', 3)
    sprite('Action_045_03', 5)
    sprite('Action_045_17', 9)
    sprite('Action_045_00', 5)
    sprite('Action_046_00', 7)

@State
def CmnActChangePartnerQuickOut():

    def upon_IMMEDIATE():
        Unknown17013()

        def upon_LANDING():
            clearUponHandler(2)
            Unknown1084(1)
            sendToLabel(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 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_013_00', 2)
    Unknown8000(100, 1, 1)
    sprite('keep', 100)

@State
def CmnActChangePartnerAssistAtk_A():

    def upon_IMMEDIATE():
        AttackDefaults_StandingSpecial()
        AttackLevel_(5)
        Damage(2200)
        AttackP1(70)
        Unknown9016(1)
        AirUntechableTime(60)
        PushbackX(19800)
        Hitstop(9)
        AirPushbackX(18000)
        AirPushbackY(28000)
        GroundedHitstunAnimation(13)
        AirHitstunAnimation(13)
        Unknown11042(1)

        def upon_STATE_END():
            EnableCollision(1)
            Unknown2053(1)
            Unknown2034(1)
    sprite('Action_100_00', 5)
    Unknown1084(1)
    sprite('Action_100_01', 3)
    sprite('Action_100_01', 4)
    sprite('Action_100_02', 6)
    Unknown7006('uor200_0', 100, 846360437, 845099056, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    sprite('Action_100_03', 2)
    StartMultihit()
    GFX_0('Assault_Zanzo', 100)
    Unknown4004('6566666563745f3339300000000000000000000000000000000000000000000064000000')
    physicsXImpulse(125000)
    Unknown1028(-8000)
    SFX_3('SE038')

    def upon_77():
        Unknown1019(5)
        Unknown1034(5)
        Unknown2038(1)
    GFX_0('Assault_Blade', 100)
    SFX_3('SE045')
    ScreenShake(0, 9000)
    SFX_0('000_airdash_1')
    sprite('Action_100_05', 3)
    sprite('Action_100_06ex01', 3)
    sprite('Action_100_07', 3)
    DisableAttackRestOfMove()
    Recovery()
    Unknown1084(1)
    sprite('Action_100_08', 4)
    sprite('Action_100_09', 4)
    sprite('Action_100_10', 5)
    sprite('Action_100_11', 4)
    ExitState()

@State
def CmnActChangePartnerAssistAtk_B():

    def upon_IMMEDIATE():
        AttackDefaults_StandingSpecial()
        DisableAttackRestOfMove()
        Unknown11063(1)

        def upon_STATE_END():
            EnableCollision(1)
            Unknown2053(1)
            Unknown2034(1)
    sprite('Action_141_00', 6)
    sprite('Action_141_01', 6)
    Unknown23029(11, 0, 0)
    GFX_0('Tan_SealingTAG', 100)
    Unknown38(11, 1)
    Unknown7006('uor210_0', 100, 846360437, 828321841, 0, 0, 100, 846360437, 845099057, 0, 0, 100, 0, 0, 0, 0, 0)
    sprite('Action_141_02', 6)
    sprite('Action_141_03', 6)
    sprite('Action_141_04', 11)
    sprite('Action_141_05', 13)
    sprite('Action_141_06', 6)
    Recovery()
    sprite('Action_141_07', 6)

@State
def CmnActChangePartnerAssistAtk_D():

    def upon_IMMEDIATE():
        AttackDefaults_StandingSpecial()
        AttackLevel_(3)
        Damage(700)
        AttackP1(70)
        AttackP2(85)
        Unknown11092(1)
        AirUntechableTime(19)
        Hitstop(3)
        AirPushbackX(18000)
        AirPushbackY(7500)
        PushbackX(13000)
        Unknown9016(1)
        Unknown1084(1)
        Unknown11056(2)
        Unknown11042(1)
        Unknown2006()

        def upon_12():
            Unknown2038(1)

        def upon_STATE_END():
            EnableCollision(1)
            Unknown2053(1)
            Unknown2034(1)
    sprite('Action_117_00', 8)
    sprite('Action_117_01', 3)
    Unknown7006('uor212_0', 100, 846360437, 828322353, 0, 0, 100, 846360437, 845099569, 0, 0, 100, 0, 0, 0, 0, 0)
    physicsXImpulse(42000)
    Unknown1028(-5000)
    sprite('Action_117_02', 3)
    RefreshMultihit()
    physicsXImpulse(55000)
    Unknown1028(-2500)
    GFX_0('Eff66CBlade1', 100)
    SFX_3('SE041')
    sprite('Action_117_03', 2)
    sprite('Action_117_04', 2)
    RefreshMultihit()
    GFX_0('Eff66CBlade2', 100)
    SFX_3('SE041')
    sprite('Action_117_05', 2)
    sprite('Action_117_06', 2)
    RefreshMultihit()
    sprite('Action_117_07', 2)
    loopRest()
    if SLOT_2:
        _gotolabel(10)
    sprite('Action_403_14', 4)
    DisableAttackRestOfMove()
    Recovery()
    Unknown2063()
    sprite('Action_403_15', 4)
    Unknown14074('AN_NmlAtk5A_4th')
    sprite('Action_403_16', 9)
    Unknown8010(0, 1, 1)
    Unknown1084(1)
    Unknown1045(9000)
    sprite('Action_403_16', 6)
    ExitState()
    label(10)
    sprite('Action_117_14', 2)
    Unknown1084(1)
    sprite('Action_117_15', 2)
    sprite('Action_117_16', 1)
    physicsXImpulse(60000)
    Unknown1028(-10000)
    physicsYImpulse(90000)
    setGravity(15000)
    sprite('Action_117_17', 4)
    RefreshMultihit()
    SFX_3('SE045')
    GFX_0('InvincibleAttackBlade', 100)
    AttackLevel_(4)
    Damage(1700)
    AirPushbackX(6500)
    AirPushbackY(38500)
    PushbackX(30400)
    AirUntechableTime(150)
    GroundedHitstunAnimation(10)
    AirHitstunAnimation(10)
    sprite('Action_117_18', 2)
    physicsXImpulse(10000)
    Unknown1028(-500)
    physicsYImpulse(10240)
    setGravity(2500)

    def upon_LANDING():
        clearUponHandler(2)
        sendToLabel(12)
    sprite('Action_117_19', 4)
    sprite('Action_117_20', 3)
    sprite('Action_117_21', 3)
    sprite('Action_117_22', 3)
    sprite('Action_117_23', 3)
    sprite('Action_117_24', 3)
    label(11)
    sprite('Action_117_25', 3)
    sprite('Action_117_26', 3)
    gotoLabel(11)
    label(12)
    sprite('Action_117_28', 4)
    Recovery()
    Unknown1084(1)
    sprite('Action_117_29', 6)
    sprite('Action_117_30', 5)
    sprite('Action_117_31', 5)
    ExitState()

@State
def CmnActChangePartnerAttackIn():

    def upon_IMMEDIATE():
        AttackDefaults_StandingSpecial()
    sprite('keep', 180)

@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(96, -1, 0)
    sprite('null', 1)
    teleportRelativeX(-1500000)
    teleportRelativeY(240000)
    setGravity(0)
    physicsYImpulse(-9600)
    SLOT_12 = SLOT_19
    teleportRelativeX(-145000)
    Unknown1019(4)
    label(0)
    sprite('Action_022_00', 4)
    sprite('Action_022_01', 4)
    loopRest()
    gotoLabel(0)
    label(1)
    sprite('keep', 10)
    if SLOT_58:
        enterState('UltimateShotDDDOD')
    else:
        enterState('UltimateShotDDD')

@State
def UltimateShotDDD():

    def upon_IMMEDIATE():
        AttackDefaults_StandingDD()
        Unknown23055('')
        Unknown9266(13)
        AttackP1(100)
        AttackP2(100)
        Unknown11092(1)
        MinimumDamagePct(100)
        GroundedHitstunAnimation(1)
        AirHitstunAnimation(1)
        Unknown9016(1)
        Unknown30063(1)
        Unknown2021(1)
    sprite('Action_120_00', 1)
    Unknown23029(11, 0, 0)
    setInvincible(1)
    sprite('Action_120_00', 17)
    sprite('Action_120_01', 3)
    sprite('Action_120_02', 3)
    sprite('Action_120_03', 2)
    sprite('Action_120_03', 1)
    GFX_0('IW_Tan_DUO', 100)
    Unknown38(11, 1)
    sprite('Action_120_04', 3)
    sprite('Action_120_05', 23)
    sprite('Action_120_06', 4)
    sprite('Action_120_07', 10)
    sprite('Action_120_08', 4)
    sprite('Action_120_09', 4)
    tag_voice(0, 'uor251_0', 'uor251_1', '', '')
    SFX_3('SE010')
    Unknown4004('6566666563745f3331390000000000000000000000000000000000000000000064000000')
    sprite('Action_120_10', 10)
    Unknown2021(0)
    setInvincible(0)
    sprite('Action_120_11', 45)
    sprite('Action_120_12', 6)
    sprite('Action_120_13', 4)
    sprite('Action_120_14', 4)
    sprite('Action_120_15', 8)
    sprite('Action_120_16', 6)
    sprite('Action_120_17', 4)

@State
def UltimateShotDDDOD():

    def upon_IMMEDIATE():
        AttackDefaults_StandingDD()
        Unknown23056('')
        AttackLevel_(5)
        Damage(625)
        MinimumDamagePct(100)
        AttackP1(100)
        AttackP2(100)
        Unknown11092(1)
        PushbackX(0)
        Hitstop(3)
        GroundedHitstunAnimation(1)
        AirHitstunAnimation(1)
        Unknown9016(1)
        Unknown30063(1)
        Unknown2021(1)

        def upon_43():
            if (SLOT_48 == 5001):
                Unknown2038(1)
                setInvincible(1)
    sprite('Action_120_00', 1)
    Unknown23029(11, 0, 0)
    setInvincible(1)
    sprite('Action_120_00', 17)
    sprite('Action_120_01', 3)
    sprite('Action_120_02', 3)
    sprite('Action_120_03', 2)
    sprite('Action_120_03', 1)
    GFX_0('IW_Tan_ODDUO', 100)
    Unknown38(11, 1)
    sprite('Action_120_04', 3)
    sprite('Action_120_05', 23)
    sprite('Action_120_06', 4)
    sprite('Action_120_07', 10)
    sprite('Action_120_08', 4)
    sprite('Action_120_09', 4)
    SFX_3('SE010')
    Unknown4004('6566666563745f3331390000000000000000000000000000000000000000000064000000')
    tag_voice(0, 'uor251_0', 'uor251_1', '', '')
    sprite('Action_120_10', 10)
    Unknown2021(0)
    if (not SLOT_2):
        setInvincible(0)
    sprite('Action_120_11', 45)
    sprite('Action_120_12', 6)
    sprite('Action_120_13', 4)
    sprite('Action_120_14', 4)
    sprite('Action_120_15', 8)
    if SLOT_2:
        _gotolabel(100)
    sprite('Action_120_16', 6)
    sprite('Action_120_17', 4)
    ExitState()
    label(100)
    sprite('Action_100_00', 5)
    sprite('Action_100_00', 45)
    Unknown2036(35, -1, 0)
    Unknown4004('6175726100000000000000000000000000000000000000000000000000000000ffff0000')
    Unknown1084(1)
    Damage(500)
    Unknown9266(0)
    Hitstop(0)
    AirUntechableTime(180)
    Unknown9310(1)
    Unknown11001(0, 25, 25)
    EnableCollision(0)
    Unknown2015(200)
    tag_voice(0, 'uor252_0', 'uor252_1', '', '')
    sprite('Action_100_01', 3)
    sprite('Action_100_02', 6)
    tag_voice(0, 'uor253_0', 'uor253_1', '', '')
    sprite('Action_100_03', 3)
    GFX_0('Assault_Zanzo', 100)
    Unknown4004('6566666563745f3339300000000000000000000000000000000000000000000064000000')
    physicsXImpulse(190000)
    Unknown1028(-7500)
    GFX_0('Ultimate_kirakira_matomeX', 100)
    SFX_3('SE038')

    def upon_78():
        clearUponHandler(78)
        SFX_3('SE_BigBomb')
        SFX_0('025_cleanhit_slash')
        SLOT_51 = 1

    def upon_82():
        clearUponHandler(82)
        SFX_0('025_cleanhit_slash')
    sprite('Action_100_03', 2)
    GFX_0('UltimateShot_ODBlade', 100)
    GFX_0('Assault_Blade', 100)
    SFX_3('SE045')
    sprite('Action_100_04', 3)
    sprite('Action_100_05', 4)
    sprite('Action_100_06', 4)
    sprite('Action_100_07', 5)
    Unknown1084(1)
    EnableCollision(1)
    Unknown1045(10000)
    if (not SLOT_51):
        sendToLabel(102)
    label(101)
    sprite('Action_101_04', 5)
    sprite('Action_101_05', 5)
    sprite('Action_101_06', 5)
    sprite('Action_101_07', 5)
    sprite('Action_101_04', 5)
    sprite('Action_101_05', 5)
    sprite('Action_101_06', 5)
    sprite('Action_101_07', 5)
    label(102)
    sprite('Action_100_08', 5)
    sprite('Action_100_09', 7)
    sprite('Action_100_10', 6)
    sprite('Action_100_11', 6)

@State
def CmnActChangePartnerBurst():

    def upon_IMMEDIATE():
        Unknown17021('')

        def upon_41():
            clearUponHandler(41)
            sendToLabel(0)
    sprite('null', 120)
    label(0)
    sprite('null', 2)
    sprite('null', 1)
    Unknown1086(22)
    teleportRelativeX(-150000)
    teleportRelativeX(-500000)
    Unknown1007(2400000)
    physicsXImpulse(17857)
    physicsYImpulse(-85714)
    setGravity(0)
    sprite('Action_245_00', 6)
    sprite('Action_245_01', 6)
    sprite('Action_245_02', 6)
    sprite('Action_245_03', 5)
    Unknown2053(1)
    sprite('Action_245_04', 32767)
    GFX_0('EffNmlAtkAIR2CZanzo', 100)

    def upon_77():
        clearUponHandler(77)
        sendToLabel(1)
    sendToLabelUpon(2, 9)
    label(1)
    sprite('Action_245_05', 4)
    sprite('Action_245_06', 3)
    sprite('Action_245_07', 8)
    sprite('Action_245_08', 5)
    sprite('Action_245_09', 5)
    label(5)
    sprite('Action_022_00', 3)
    sprite('Action_022_01', 3)
    loopRest()
    gotoLabel(5)
    label(9)
    sprite('Action_246_00', 5)
    Unknown8000(0, 1, 1)
    Unknown1084(1)
    sprite('Action_246_01', 15)
    sprite('Action_246_02', 5)
    sprite('Action_246_03', 5)

@Subroutine
def MouthTableInit():
    Unknown18011('uor500', 12643, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 13667, 24887, 25399, 24887, 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, 0, 0, 0, 0, 0)
    Unknown30092('uor500', '001')
    Unknown18011('uor501', 12643, 14177, 14179, 14177, 14179, 14177, 14435, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown30092('uor501', '002')
    Unknown18011('uor502', 12643, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14691, 25399, 24887, 25399, 24887, 14129, 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)
    Unknown30092('uor502', '003')
    Unknown18011('uor503', 12643, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 13921, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown30092('uor503', '004')
    Unknown18011('uor504', 12643, 14177, 14179, 14177, 14179, 14177, 14435, 24885, 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, 0, 0)
    Unknown30092('uor504', '005')
    Unknown18011('uor505', 12643, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14691, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown30092('uor505', '006')
    Unknown18011('uor520', 12643, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 13667, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 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)
    Unknown30092('uor520', '007')
    Unknown18011('uor521', 12643, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown30092('uor521', '008')
    Unknown18011('uor522', 12643, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown30092('uor522', '009')
    Unknown18011('uor523', 12643, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 13667, 24880, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 12339, 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)
    Unknown30092('uor523', '010')
    Unknown18011('uor524', 12643, 14177, 14179, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown30092('uor524', '011')
    Unknown18011('uor525', 12643, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 13155, 24882, 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, 0)
    Unknown30092('uor525', '012')
    Unknown18011('uor402_0', 12643, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uor402_1', 12643, 14177, 14179, 14177, 14691, 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, 0, 0)
    Unknown18011('uor403_0', 12643, 14177, 13155, 24880, 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, 0, 0)
    Unknown18011('uor403_1', 12643, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uor600biz', 12643, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uor601bjb', 12643, 13665, 13667, 13665, 13667, 14177, 14179, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 14132, 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('uor601bjn', 12643, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uor600brg', 12643, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 12641, 25396, 24887, 25399, 24887, 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)
    Unknown18011('uor600pmi', 12643, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14177, 14179, 12641, 25392, 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)
    Unknown18011('uor600pna', 12643, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 13411, 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)
    Unknown18011('uor601rbl', 12643, 14177, 14179, 14177, 13667, 24880, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 13364, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 13923, 24880, 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)
    Unknown18011('uor600rwi', 12643, 14177, 14179, 14177, 12643, 24880, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 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, 0, 0, 0)
    Unknown18011('uor600uhy', 12643, 14177, 14179, 14177, 14179, 13665, 13667, 13665, 13155, 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)
    Unknown18011('uor600uli', 12643, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 12643, 24882, 25399, 24887, 25399, 24887, 25399, 24887, 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('uor601umi', 12643, 14177, 14179, 14177, 14179, 24880, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 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, 0, 0, 0)
    Unknown18011('uor600ahe', 14177, 14179, 14177, 14179, 14177, 12643, 24886, 12337, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uor600pel', 14177, 14179, 14177, 14179, 14177, 14179, 14177, 13411, 24884, 25399, 24887, 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, 0, 0, 0, 0, 0, 0)
    Unknown18011('uor601uak', 12643, 12641, 25397, 14647, 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, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uor600kym', 12643, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown30092('uor600biz', '017')
    Unknown30092('uor600brg', '018')
    Unknown30092('uor600pmi', '019')
    Unknown30092('uor600pna', '020')
    Unknown30092('uor600rwi', '021')
    Unknown30092('uor600uhy', '022')
    Unknown30092('uor600uli', '023')
    Unknown30092('uor601bjb', '024')
    Unknown30092('uor601bjn', '025')
    Unknown30092('uor601rbl', '026')
    Unknown30092('uor601umi', '027')
    Unknown30092('uor600ahe', '028')
    Unknown30092('uor600pel', '029')
    Unknown30092('uor601uak', '030')
    Unknown30092('uor600kym', '031')
    Unknown18011('uor701biz', 12643, 14177, 14179, 14177, 14179, 14177, 13923, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 14132, 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)
    Unknown18011('uor700bjb', 12643, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 13411, 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, 0)
    Unknown18011('uor700bjn', 12643, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 13667, 24887, 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, 0, 0, 0, 0, 0)
    Unknown18011('uor700brg', 12643, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14691, 14177, 14179, 14177, 13411, 24887, 25399, 24887, 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, 0)
    Unknown18011('uor700pmi', 12643, 14177, 14179, 14177, 14179, 14177, 13667, 24887, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uor700pna', 12643, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 13155, 24887, 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, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uor701rbl', 12643, 14177, 14179, 14177, 14179, 14177, 13411, 24887, 25399, 24887, 25399, 24887, 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, 0, 0, 0, 0, 0)
    Unknown18011('uor701rwi', 12643, 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, 0, 0, 0, 0, 0, 0)
    Unknown18011('uor700uhy', 12643, 12641, 25397, 12855, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14691, 14177, 14691, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uor700uli', 12643, 14177, 14179, 14177, 14179, 14177, 13923, 24880, 25399, 24887, 25399, 24887, 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, 0, 0, 0, 0, 0)
    Unknown18011('uor701umi', 12643, 14177, 14179, 14177, 13411, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 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, 0, 0, 0, 0, 0)
    Unknown18011('uor703rwi', 12643, 12641, 25392, 24887, 25399, 24887, 12337, 13923, 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)
    Unknown18011('uor701ahe', 14177, 14179, 14177, 14179, 14177, 13411, 24881, 12849, 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, 0, 0, 0, 0, 0)
    Unknown18011('uor700pel', 12643, 14177, 14179, 14177, 13923, 24884, 25399, 24887, 25399, 24887, 25399, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uor700uak', 12643, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown18011('uor700kym', 12643, 14177, 14179, 14177, 14179, 14177, 13667, 24887, 25399, 24887, 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, 0, 0, 0, 0, 0, 0, 0)
    Unknown30092('uor700bjb', '032')
    Unknown30092('uor700bjn', '033')
    Unknown30092('uor700brg', '034')
    Unknown30092('uor700pmi', '035')
    Unknown30092('uor700pna', '036')
    Unknown30092('uor700uhy', '037')
    Unknown30092('uor700uli', '038')
    Unknown30092('uor701biz', '039')
    Unknown30092('uor701rbl', '040')
    Unknown30092('uor701rwi', '041')
    Unknown30092('uor701umi', '042')
    Unknown30092('uor703rwi', '043')
    Unknown30092('uor701ahe', '044')
    Unknown30092('uor700pel', '045')
    Unknown30092('uor700uak', '046')
    Unknown30092('uor700kym', '047')
    if SLOT_172:
        Unknown18011('uor500', 12643, 12643, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 12899, 13411, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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('uor501', 12643, 14177, 14179, 14177, 14179, 13665, 12899, 14177, 14179, 12897, 12643, 14177, 14179, 12897, 12643, 14177, 12899, 13667, 14177, 14179, 14177, 14179, 13921, 12643, 14177, 14179, 14177, 13155, 12643, 14177, 14179, 14177, 13155, 12643, 0, 0, 0, 0, 0, 0, 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('uor502', 12643, 12643, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 12643, 14177, 14179, 14177, 12643, 12899, 24882, 25399, 24887, 25399, 24887, 25399, 25395, 54, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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('uor503', 12643, 12643, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 12641, 12643, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 13153, 12643, 14177, 14179, 14177, 14179, 14177, 13667, 13667, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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('uor504', 12643, 12643, 14177, 14179, 12643, 24887, 25399, 24887, 25399, 25396, 24881, 25399, 24887, 25399, 24887, 25399, 24887, 25397, 51, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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('uor505', 12643, 12643, 14177, 14179, 14177, 14179, 12643, 14177, 14179, 14177, 13667, 12643, 24885, 25399, 24887, 25399, 25395, 24881, 25399, 24887, 25399, 25395, 56, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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('uor520', 12643, 12643, 14177, 12643, 12899, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 13921, 12643, 14177, 14179, 13409, 12643, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 12641, 12899, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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('uor521', 12643, 12643, 14177, 14179, 14177, 13411, 14435, 14177, 12899, 13411, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 12643, 13667, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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('uor522', 12643, 12643, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 13155, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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('uor523', 12643, 14177, 14179, 14177, 14179, 14177, 13667, 12643, 14177, 13923, 12643, 24883, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 25394, 24881, 25399, 25393, 53, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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('uor524', 12643, 12643, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 13155, 13155, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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('uor525', 12643, 12643, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 13411, 12643, 14177, 14179, 12643, 14177, 14179, 14177, 14179, 14177, 14179, 13665, 12643, 14177, 12899, 12643, 24880, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 25396, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
        Unknown18011('uor402_0', 12643, 12643, 14177, 14179, 14177, 14179, 12899, 14177, 14179, 14177, 14179, 13665, 13411, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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('uor402_1', 12643, 12643, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 12641, 13923, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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('uor403_0', 12643, 12643, 14177, 14179, 14177, 14179, 14177, 14691, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 12899, 13411, 12897, 13411, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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('uor403_1', 12643, 12643, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 13923, 12643, 14177, 14179, 14177, 14179, 12897, 13667, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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('uor600biz', 12643, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 13923, 13155, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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('uor601bjb', 12643, 13155, 14177, 13411, 12643, 14177, 14179, 14177, 14179, 12641, 12899, 14177, 12643, 24888, 25399, 24887, 25399, 25397, 24882, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25395, 24882, 25393, 24887, 25399, 24887, 25397, 24882, 25399, 24887, 25399, 25398, 12337, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
        Unknown18011('uor601bjn', 12643, 12643, 14177, 13667, 12899, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 12641, 12643, 14177, 14179, 14177, 13411, 12899, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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('uor600brg', 12643, 12643, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 13153, 12643, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 13923, 12643, 13409, 12899, 14177, 14179, 14177, 14179, 12641, 12643, 50, 0, 0, 0, 0, 0, 0, 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('uor600pmi', 12643, 13155, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 13665, 13411, 12641, 12899, 24881, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25393, 51, 0, 0, 0, 0, 0, 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('uor600pna', 12643, 13155, 14177, 14179, 14177, 12643, 12643, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 12899, 12643, 14177, 14179, 14177, 14179, 12643, 14177, 12899, 13411, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 12899, 14179, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
        Unknown18011('uor601rbl', 12643, 12643, 14177, 13411, 14177, 14179, 14177, 14179, 13667, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 12641, 12643, 14177, 14179, 13921, 13411, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 13667, 13667, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
        Unknown18011('uor600rwi', 12643, 12899, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 13921, 13923, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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('uor600uhy', 12643, 12899, 14177, 14179, 13153, 12643, 14177, 14179, 14177, 14179, 14177, 13411, 12643, 24888, 25399, 24887, 25399, 24887, 25399, 25395, 53, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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('uor600uli', 12643, 12899, 14177, 14179, 14177, 14179, 14177, 14179, 12897, 12899, 14177, 14179, 13409, 12899, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 13923, 13155, 14177, 14179, 14177, 13411, 13667, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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('uor601umi', 12643, 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, 14177, 14179, 12897, 13923, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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('uor600ahe', 12643, 12643, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 13923, 12899, 14177, 14179, 14177, 12899, 13155, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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('uor600pel', 12643, 12899, 14177, 14179, 14177, 14179, 14177, 13667, 12899, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 13153, 14691, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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('uor601uak', 12643, 12643, 14177, 14179, 14177, 14179, 12899, 24889, 25399, 24887, 25399, 24887, 25399, 24887, 25396, 24884, 25399, 24887, 25399, 24886, 25399, 25394, 24885, 25399, 24887, 25399, 24887, 25399, 25395, 53, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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('uor600kym', 12643, 12643, 14177, 14179, 14177, 14179, 14177, 13411, 13411, 14177, 14179, 14177, 14179, 14177, 13155, 13923, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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('uor701biz', 12643, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 12643, 12899, 14177, 14179, 13921, 12643, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 13411, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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('uor700bjb', 12643, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 12899, 13923, 14177, 14179, 14177, 14179, 14177, 12643, 14177, 12899, 12899, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 12899, 14691, 0, 0, 0, 0, 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('uor700bjn', 12643, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 13153, 12899, 14177, 13155, 24884, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 25397, 52, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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('uor700brg', 12643, 12643, 14177, 14179, 13409, 12899, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 12643, 14177, 14179, 13153, 12643, 24889, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25394, 52, 0, 0, 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('uor700pmi', 12643, 13155, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 12897, 13155, 13409, 12899, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25398, 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)
        Unknown18011('uor700pna', 12643, 12899, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 12641, 13667, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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('uor701rbl', 12643, 14177, 13155, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 13411, 12643, 49, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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('uor701rwi', 12643, 12899, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 12641, 13667, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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('uor700uhy', 12643, 13923, 12897, 25400, 12593, 14177, 14179, 13921, 14435, 14177, 13923, 12643, 14177, 14179, 14177, 13411, 12899, 24880, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 25394, 24882, 25399, 25398, 13362, 0, 0, 0, 0, 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('uor700uli', 12643, 12643, 12897, 12643, 14177, 14179, 14177, 14179, 14177, 14179, 13409, 13155, 14177, 14179, 12641, 12643, 24883, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 24887, 25399, 54, 0, 0, 0, 0, 0, 0, 0, 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('uor701umi', 12643, 12643, 12641, 12643, 12641, 12643, 14177, 14179, 14177, 14179, 14177, 14179, 13153, 12643, 14177, 14179, 12897, 13923, 13153, 13411, 14177, 14179, 14177, 13155, 14177, 12899, 14435, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 13155, 13667, 0, 0, 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('uor703rwi', 12643, 12643, 14177, 14179, 14177, 14179, 12643, 12641, 13411, 14177, 14179, 14177, 12899, 12643, 24880, 25399, 24887, 25399, 24887, 25399, 24883, 25395, 24884, 25399, 24887, 25399, 24887, 25395, 24885, 25398, 53, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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('uor701ahe', 12643, 12643, 14177, 14179, 14177, 14179, 13665, 12643, 14177, 14179, 14177, 14179, 14177, 13411, 13155, 14177, 14179, 14177, 13923, 12899, 14177, 14179, 14177, 13667, 13411, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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('uor700pel', 12643, 14177, 14179, 14177, 14179, 14177, 14179, 13153, 13155, 14177, 14179, 14177, 14179, 13409, 13411, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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('uor700uak', 12643, 12643, 14177, 14179, 14177, 13923, 12899, 14177, 14179, 14177, 14179, 14177, 14179, 14177, 13923, 13411, 14177, 13411, 13155, 14177, 14179, 14177, 13411, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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('uor700kym', 12643, 12643, 14177, 14179, 14177, 14179, 14177, 13923, 12899, 14177, 14179, 14177, 14179, 14177, 14179, 13409, 12643, 12641, 14435, 14177, 14179, 14177, 14179, 13409, 13411, 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)

@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('brg')
    if SLOT_ReturnVal:
        _gotolabel(100)
    PartnerChar('bjn')
    if SLOT_ReturnVal:
        _gotolabel(110)
    PartnerChar('bjb')
    if SLOT_ReturnVal:
        _gotolabel(120)
    PartnerChar('pna')
    if SLOT_ReturnVal:
        _gotolabel(130)
    PartnerChar('uhy')
    if SLOT_ReturnVal:
        _gotolabel(140)
    PartnerChar('uli')
    if SLOT_ReturnVal:
        _gotolabel(150)
    PartnerChar('rwi')
    if SLOT_ReturnVal:
        _gotolabel(160)
    PartnerChar('rbl')
    if SLOT_ReturnVal:
        _gotolabel(170)
    PartnerChar('pmi')
    if SLOT_ReturnVal:
        _gotolabel(180)
    PartnerChar('biz')
    if SLOT_ReturnVal:
        _gotolabel(190)
    PartnerChar('umi')
    if SLOT_ReturnVal:
        _gotolabel(200)
    PartnerChar('ahe')
    if SLOT_ReturnVal:
        _gotolabel(210)
    PartnerChar('uak')
    if SLOT_ReturnVal:
        _gotolabel(220)
    PartnerChar('pel')
    if SLOT_ReturnVal:
        _gotolabel(230)
    PartnerChar('kym')
    if SLOT_ReturnVal:
        _gotolabel(240)
    label(482)
    Unknown19(991, 2, 158)
    random_(2, 0, 50)
    if SLOT_ReturnVal:
        _gotolabel(10)
    label(1)
    sprite('null', 2)
    Unknown3038(1)
    teleportRelativeY(600000)
    setGravity(0)
    loopRest()
    if SLOT_17:
        _gotolabel(1)
    sprite('Action_050_02', 5)
    Unknown3038(0)
    teleportRelativeY(600000)
    physicsYImpulse(-2000)
    setGravity(1500)
    sendToLabelUpon(2, 3)
    label(2)
    sprite('Action_050_02', 3)
    loopRest()
    gotoLabel(2)
    label(3)
    sprite('Action_050_02', 2)
    Unknown1000(-1230000)
    clearUponHandler(2)
    Unknown8000(100, 1, 1)
    sprite('Action_050_03', 2)
    sprite('Action_050_04', 7)
    sprite('Action_050_05', 5)
    sprite('Action_050_06', 8)
    sprite('Action_050_07', 4)
    sprite('Action_050_08', 4)
    sprite('Action_050_09', 4)
    Unknown7006('uor500', 100, 896692085, 12592, 0, 0, 100, 896692085, 13360, 0, 0, 100, 896692085, 13616, 0, 0, 100)
    sprite('Action_050_10', 4)
    sprite('Action_050_11', 4)
    sprite('Action_050_12', 4)
    label(4)
    sprite('Action_050_13', 4)
    sprite('Action_050_14', 4)
    sprite('Action_050_15', 4)
    sprite('Action_050_16', 4)
    sprite('Action_050_17', 4)
    if SLOT_97:
        _gotolabel(4)
    sprite('Action_050_18', 4)
    sprite('Action_050_19', 4)
    sprite('Action_050_20', 6)
    sprite('Action_050_21', 7)
    sprite('Action_050_22', 2)
    Unknown23018(1)
    label(5)
    sprite('Action_000_00', 3)
    sprite('Action_000_01', 6)
    sprite('Action_000_02', 6)
    sprite('Action_000_03', 6)
    sprite('Action_000_04', 6)
    sprite('Action_000_05', 6)
    sprite('Action_000_06', 6)
    sprite('Action_000_07', 6)
    sprite('Action_000_08', 6)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 6)
    sprite('Action_000_11', 6)
    sprite('Action_000_12', 6)
    sprite('Action_000_13', 6)
    sprite('Action_000_14', 6)
    sprite('Action_000_15', 6)
    sprite('Action_000_16', 6)
    sprite('Action_000_17', 6)
    sprite('Action_000_18', 6)
    sprite('Action_000_19', 6)
    sprite('Action_000_20', 6)
    sprite('Action_000_21', 6)
    sprite('Action_000_22', 6)
    sprite('Action_000_23', 6)
    sprite('Action_000_24', 3)
    loopRest()
    gotoLabel(5)
    ExitState()
    label(10)
    sprite('null', 2)
    Unknown3038(1)
    teleportRelativeY(600000)
    setGravity(0)
    loopRest()
    if SLOT_17:
        _gotolabel(10)
    sprite('Action_050_02', 5)
    Unknown3038(0)
    teleportRelativeY(600000)
    physicsYImpulse(-2000)
    setGravity(1500)
    sendToLabelUpon(2, 12)
    label(11)
    sprite('Action_050_02', 3)
    loopRest()
    gotoLabel(11)
    label(12)
    sprite('Action_050_02', 2)
    Unknown1000(-1230000)
    clearUponHandler(2)
    Unknown8000(100, 1, 1)
    sprite('Action_050_03', 2)
    sprite('Action_050_04', 7)
    sprite('Action_050_05', 5)
    sprite('Action_050_06', 8)
    sprite('Action_050_07', 4)
    sprite('Action_050_23', 5)
    sprite('Action_050_24', 3)
    Unknown7006('uor502', 100, 896692085, 13104, 0, 0, 100, 896692085, 13360, 0, 0, 100, 896692085, 13616, 0, 0, 100)
    sprite('Action_050_25', 5)
    label(13)
    sprite('Action_050_26', 5)
    sprite('Action_050_27', 5)
    sprite('Action_050_28', 5)
    sprite('Action_050_29', 5)
    sprite('Action_050_30', 5)
    if SLOT_97:
        _gotolabel(13)
    sprite('Action_050_31', 5)
    sprite('Action_050_32', 4)
    sprite('Action_050_33', 6)
    sprite('Action_050_34', 7)
    sprite('Action_050_35', 2)
    Unknown23018(1)
    label(14)
    sprite('Action_000_00', 3)
    sprite('Action_000_01', 6)
    sprite('Action_000_02', 6)
    sprite('Action_000_03', 6)
    sprite('Action_000_04', 6)
    sprite('Action_000_05', 6)
    sprite('Action_000_06', 6)
    sprite('Action_000_07', 6)
    sprite('Action_000_08', 6)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 6)
    sprite('Action_000_11', 6)
    sprite('Action_000_12', 6)
    sprite('Action_000_13', 6)
    sprite('Action_000_14', 6)
    sprite('Action_000_15', 6)
    sprite('Action_000_16', 6)
    sprite('Action_000_17', 6)
    sprite('Action_000_18', 6)
    sprite('Action_000_19', 6)
    sprite('Action_000_20', 6)
    sprite('Action_000_21', 6)
    sprite('Action_000_22', 6)
    sprite('Action_000_23', 6)
    sprite('Action_000_24', 3)
    loopRest()
    gotoLabel(14)
    ExitState()
    label(20)
    sprite('Ori648_00', 6)
    sprite('Ori648_01', 6)
    sprite('Ori648_02', 6)
    sprite('Ori648_03', 6)
    sprite('Ori648_04', 6)
    sprite('Ori648_05', 6)
    SFX_1('uor701umi')
    sprite('Ori648_06', 32767)
    ExitState()
    label(100)
    sprite('null', 2)
    Unknown3038(1)
    teleportRelativeY(600000)
    setGravity(0)
    loopRest()
    if SLOT_17:
        _gotolabel(100)
    sprite('Action_050_02', 5)
    if SLOT_158:
        Unknown1000(-1230000)
    else:
        Unknown1000(-1465000)
    Unknown3038(0)
    teleportRelativeY(600000)
    physicsYImpulse(-2000)
    setGravity(1500)
    sendToLabelUpon(2, 102)
    label(101)
    sprite('Action_050_02', 3)
    loopRest()
    gotoLabel(101)
    label(102)
    sprite('Action_050_02', 2)
    if SLOT_158:
        Unknown1000(-1230000)
    else:
        Unknown1000(-1465000)
    clearUponHandler(2)
    Unknown8000(100, 1, 1)
    sprite('Action_050_03', 2)
    sprite('Action_050_04', 7)
    sprite('Action_050_05', 5)
    sprite('Action_050_06', 8)
    sprite('Action_050_07', 4)
    sprite('Action_050_08', 4)
    sprite('Action_050_09', 4)
    SFX_1('uor600brg')
    sprite('Action_050_10', 4)
    sprite('Action_050_11', 4)
    sprite('Action_050_12', 4)
    label(103)
    sprite('Action_050_13', 4)
    sprite('Action_050_14', 4)
    sprite('Action_050_15', 4)
    sprite('Action_050_16', 4)
    sprite('Action_050_17', 4)
    if SLOT_97:
        _gotolabel(103)
    sprite('Action_050_18', 4)
    sprite('Action_050_19', 4)
    sprite('Action_050_20', 6)
    sprite('Action_050_21', 7)
    sprite('Action_050_22', 2)
    Unknown21007(24, 40)
    Unknown21011(240)
    label(104)
    sprite('Action_000_00', 3)
    sprite('Action_000_01', 6)
    sprite('Action_000_02', 6)
    sprite('Action_000_03', 6)
    sprite('Action_000_04', 6)
    sprite('Action_000_05', 6)
    sprite('Action_000_06', 6)
    sprite('Action_000_07', 6)
    sprite('Action_000_08', 6)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 6)
    sprite('Action_000_11', 6)
    sprite('Action_000_12', 6)
    sprite('Action_000_13', 6)
    sprite('Action_000_14', 6)
    sprite('Action_000_15', 6)
    sprite('Action_000_16', 6)
    sprite('Action_000_17', 6)
    sprite('Action_000_18', 6)
    sprite('Action_000_19', 6)
    sprite('Action_000_20', 6)
    sprite('Action_000_21', 6)
    sprite('Action_000_22', 6)
    sprite('Action_000_23', 6)
    sprite('Action_000_24', 3)
    loopRest()
    gotoLabel(104)
    ExitState()
    label(110)
    sprite('Action_000_00', 1)
    if SLOT_158:
        Unknown1000(-1230000)
    else:
        Unknown1000(-1465000)

    def upon_40():
        clearUponHandler(40)
        sendToLabel(112)
    label(111)
    sprite('Action_000_00', 3)
    sprite('Action_000_01', 6)
    sprite('Action_000_02', 6)
    sprite('Action_000_03', 6)
    sprite('Action_000_04', 6)
    sprite('Action_000_05', 6)
    sprite('Action_000_06', 6)
    sprite('Action_000_07', 6)
    sprite('Action_000_08', 6)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 6)
    sprite('Action_000_11', 6)
    sprite('Action_000_12', 6)
    sprite('Action_000_13', 6)
    sprite('Action_000_14', 6)
    sprite('Action_000_15', 6)
    sprite('Action_000_16', 6)
    sprite('Action_000_17', 6)
    sprite('Action_000_18', 6)
    sprite('Action_000_19', 6)
    sprite('Action_000_20', 6)
    sprite('Action_000_21', 6)
    sprite('Action_000_22', 6)
    sprite('Action_000_23', 6)
    sprite('Action_000_24', 3)
    loopRest()
    gotoLabel(111)
    label(112)
    sprite('Action_000_26', 5)
    sprite('Action_000_27', 5)
    sprite('Action_000_28', 7)
    sprite('Action_000_29', 4)
    sprite('Action_000_30', 4)
    sprite('Action_000_31', 9)
    SFX_1('uor601bjn')
    sprite('Action_000_32', 5)
    sprite('Action_000_33', 5)
    Unknown23018(1)
    label(113)
    sprite('Action_000_00', 3)
    sprite('Action_000_01', 6)
    sprite('Action_000_02', 6)
    sprite('Action_000_03', 6)
    sprite('Action_000_04', 6)
    sprite('Action_000_05', 6)
    sprite('Action_000_06', 6)
    sprite('Action_000_07', 6)
    sprite('Action_000_08', 6)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 6)
    sprite('Action_000_11', 6)
    sprite('Action_000_12', 6)
    sprite('Action_000_13', 6)
    sprite('Action_000_14', 6)
    sprite('Action_000_15', 6)
    sprite('Action_000_16', 6)
    sprite('Action_000_17', 6)
    sprite('Action_000_18', 6)
    sprite('Action_000_19', 6)
    sprite('Action_000_20', 6)
    sprite('Action_000_21', 6)
    sprite('Action_000_22', 6)
    sprite('Action_000_23', 6)
    sprite('Action_000_24', 3)
    loopRest()
    gotoLabel(113)
    ExitState()
    label(120)
    sprite('Action_000_00', 1)
    if SLOT_158:
        Unknown1000(-1230000)
    else:
        Unknown1000(-1465000)

    def upon_40():
        clearUponHandler(40)
        sendToLabel(122)
        SFX_1('uor601bjb')
    label(121)
    sprite('Action_000_00', 3)
    sprite('Action_000_01', 6)
    sprite('Action_000_02', 6)
    sprite('Action_000_03', 6)
    sprite('Action_000_04', 6)
    sprite('Action_000_05', 6)
    sprite('Action_000_06', 6)
    sprite('Action_000_07', 6)
    sprite('Action_000_08', 6)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 6)
    sprite('Action_000_11', 6)
    sprite('Action_000_12', 6)
    sprite('Action_000_13', 6)
    sprite('Action_000_14', 6)
    sprite('Action_000_15', 6)
    sprite('Action_000_16', 6)
    sprite('Action_000_17', 6)
    sprite('Action_000_18', 6)
    sprite('Action_000_19', 6)
    sprite('Action_000_20', 6)
    sprite('Action_000_21', 6)
    sprite('Action_000_22', 6)
    sprite('Action_000_23', 6)
    sprite('Action_000_24', 3)
    loopRest()
    gotoLabel(121)
    label(122)
    sprite('Action_000_26', 5)
    sprite('Action_000_27', 5)
    sprite('Action_000_28', 7)
    sprite('Action_000_29', 4)
    sprite('Action_000_30', 4)
    sprite('Action_000_31', 9)
    sprite('Action_000_32', 5)
    sprite('Action_000_33', 5)
    Unknown23018(1)
    label(123)
    sprite('Action_000_00', 3)
    sprite('Action_000_01', 6)
    sprite('Action_000_02', 6)
    sprite('Action_000_03', 6)
    sprite('Action_000_04', 6)
    sprite('Action_000_05', 6)
    sprite('Action_000_06', 6)
    sprite('Action_000_07', 6)
    sprite('Action_000_08', 6)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 6)
    sprite('Action_000_11', 6)
    sprite('Action_000_12', 6)
    sprite('Action_000_13', 6)
    sprite('Action_000_14', 6)
    sprite('Action_000_15', 6)
    sprite('Action_000_16', 6)
    sprite('Action_000_17', 6)
    sprite('Action_000_18', 6)
    sprite('Action_000_19', 6)
    sprite('Action_000_20', 6)
    sprite('Action_000_21', 6)
    sprite('Action_000_22', 6)
    sprite('Action_000_23', 6)
    sprite('Action_000_24', 3)
    loopRest()
    gotoLabel(123)
    ExitState()
    label(130)
    sprite('null', 2)
    Unknown3038(1)
    teleportRelativeY(600000)
    setGravity(0)
    loopRest()
    if SLOT_17:
        _gotolabel(130)
    sprite('Action_050_02', 5)
    if SLOT_158:
        Unknown1000(-1230000)
    else:
        Unknown1000(-1465000)
    Unknown3038(0)
    teleportRelativeY(600000)
    physicsYImpulse(-2000)
    setGravity(1500)
    sendToLabelUpon(2, 132)
    label(131)
    sprite('Action_050_02', 3)
    loopRest()
    gotoLabel(131)
    label(132)
    sprite('Action_050_02', 2)
    if SLOT_158:
        Unknown1000(-1230000)
    else:
        Unknown1000(-1465000)
    clearUponHandler(2)
    Unknown8000(100, 1, 1)
    sprite('Action_050_03', 2)
    sprite('Action_050_04', 7)
    sprite('Action_050_05', 5)
    sprite('Action_050_06', 8)
    sprite('Action_050_07', 4)
    sprite('Action_050_08', 4)
    sprite('Action_050_09', 4)
    SFX_1('uor600pna')
    sprite('Action_050_10', 4)
    sprite('Action_050_11', 4)
    sprite('Action_050_12', 4)
    label(133)
    sprite('Action_050_13', 6)
    sprite('Action_050_14', 6)
    sprite('Action_050_15', 6)
    sprite('Action_050_16', 6)
    sprite('Action_050_17', 6)
    if SLOT_97:
        _gotolabel(133)
    sprite('Action_050_18', 4)
    sprite('Action_050_19', 4)
    sprite('Action_050_20', 6)
    sprite('Action_050_21', 7)
    sprite('Action_050_22', 2)
    Unknown21007(24, 40)
    Unknown21011(240)
    label(134)
    sprite('Action_000_00', 3)
    sprite('Action_000_01', 6)
    sprite('Action_000_02', 6)
    sprite('Action_000_03', 6)
    sprite('Action_000_04', 6)
    sprite('Action_000_05', 6)
    sprite('Action_000_06', 6)
    sprite('Action_000_07', 6)
    sprite('Action_000_08', 6)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 6)
    sprite('Action_000_11', 6)
    sprite('Action_000_12', 6)
    sprite('Action_000_13', 6)
    sprite('Action_000_14', 6)
    sprite('Action_000_15', 6)
    sprite('Action_000_16', 6)
    sprite('Action_000_17', 6)
    sprite('Action_000_18', 6)
    sprite('Action_000_19', 6)
    sprite('Action_000_20', 6)
    sprite('Action_000_21', 6)
    sprite('Action_000_22', 6)
    sprite('Action_000_23', 6)
    sprite('Action_000_24', 3)
    loopRest()
    gotoLabel(134)
    ExitState()
    label(140)
    sprite('Action_000_00', 1)
    if SLOT_158:
        Unknown1000(-1230000)
    else:
        Unknown1000(-1465000)
    sprite('Action_000_00', 3)
    sprite('Action_000_01', 6)
    sprite('Action_000_02', 6)
    sprite('Action_000_03', 6)
    sprite('Action_000_04', 6)
    sprite('Action_000_05', 6)
    sprite('Action_000_06', 6)
    sprite('Action_000_26', 5)
    SFX_1('uor600uhy')
    sprite('Action_000_27', 5)
    sprite('Action_000_28', 7)
    sprite('Action_000_29', 4)
    sprite('Action_000_30', 4)
    sprite('Action_000_31', 9)
    sprite('Action_000_32', 5)
    sprite('Action_000_33', 5)
    Unknown21011(200)
    label(141)
    sprite('Action_000_00', 3)
    sprite('Action_000_01', 6)
    sprite('Action_000_02', 6)
    sprite('Action_000_03', 6)
    sprite('Action_000_04', 6)
    sprite('Action_000_05', 6)
    sprite('Action_000_06', 6)
    sprite('Action_000_07', 6)
    sprite('Action_000_08', 6)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 6)
    sprite('Action_000_11', 6)
    sprite('Action_000_12', 6)
    sprite('Action_000_13', 6)
    sprite('Action_000_14', 6)
    Unknown21007(24, 40)
    sprite('Action_000_15', 6)
    sprite('Action_000_16', 6)
    sprite('Action_000_17', 6)
    sprite('Action_000_18', 6)
    sprite('Action_000_19', 6)
    sprite('Action_000_20', 6)
    sprite('Action_000_21', 6)
    sprite('Action_000_22', 6)
    sprite('Action_000_23', 6)
    sprite('Action_000_24', 3)
    loopRest()
    gotoLabel(141)
    ExitState()
    label(150)
    sprite('null', 2)
    Unknown3038(1)
    teleportRelativeY(600000)
    setGravity(0)
    loopRest()
    if SLOT_17:
        _gotolabel(150)
    sprite('Action_050_02', 5)
    if SLOT_158:
        Unknown1000(-1230000)
    else:
        Unknown1000(-1465000)
    Unknown3038(0)
    teleportRelativeY(600000)
    physicsYImpulse(-2000)
    setGravity(1500)
    sendToLabelUpon(2, 152)
    label(151)
    sprite('Action_050_02', 3)
    loopRest()
    gotoLabel(151)
    label(152)
    sprite('Action_050_02', 2)
    if SLOT_158:
        Unknown1000(-1230000)
    else:
        Unknown1000(-1465000)
    clearUponHandler(2)
    Unknown8000(100, 1, 1)
    sprite('Action_050_03', 2)
    sprite('Action_050_04', 7)
    sprite('Action_050_05', 5)
    sprite('Action_050_06', 8)
    sprite('Action_050_07', 4)
    sprite('Action_050_08', 4)
    sprite('Action_050_09', 4)
    SFX_1('uor600uli')
    sprite('Action_050_10', 4)
    sprite('Action_050_11', 4)
    sprite('Action_050_12', 4)
    label(153)
    sprite('Action_050_13', 6)
    sprite('Action_050_14', 6)
    sprite('Action_050_15', 6)
    sprite('Action_050_16', 6)
    sprite('Action_050_17', 6)
    if SLOT_97:
        _gotolabel(153)
    sprite('Action_050_18', 4)
    sprite('Action_050_19', 4)
    sprite('Action_050_20', 6)
    sprite('Action_050_21', 7)
    sprite('Action_050_22', 2)
    Unknown21007(24, 40)
    Unknown21011(240)
    label(154)
    sprite('Action_000_00', 3)
    sprite('Action_000_01', 6)
    sprite('Action_000_02', 6)
    sprite('Action_000_03', 6)
    sprite('Action_000_04', 6)
    sprite('Action_000_05', 6)
    sprite('Action_000_06', 6)
    sprite('Action_000_07', 6)
    sprite('Action_000_08', 6)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 6)
    sprite('Action_000_11', 6)
    sprite('Action_000_12', 6)
    sprite('Action_000_13', 6)
    sprite('Action_000_14', 6)
    sprite('Action_000_15', 6)
    sprite('Action_000_16', 6)
    sprite('Action_000_17', 6)
    sprite('Action_000_18', 6)
    sprite('Action_000_19', 6)
    sprite('Action_000_20', 6)
    sprite('Action_000_21', 6)
    sprite('Action_000_22', 6)
    sprite('Action_000_23', 6)
    sprite('Action_000_24', 3)
    loopRest()
    gotoLabel(154)
    ExitState()
    label(160)
    sprite('null', 2)
    Unknown3038(1)
    teleportRelativeY(600000)
    setGravity(0)
    loopRest()
    if SLOT_17:
        _gotolabel(160)
    sprite('Action_050_02', 5)
    if SLOT_158:
        Unknown1000(-1230000)
    else:
        Unknown1000(-1465000)
    Unknown3038(0)
    teleportRelativeY(600000)
    physicsYImpulse(-2000)
    setGravity(1500)
    sendToLabelUpon(2, 162)
    label(161)
    sprite('Action_050_02', 3)
    loopRest()
    gotoLabel(161)
    label(162)
    sprite('Action_050_02', 2)
    if SLOT_158:
        Unknown1000(-1230000)
    else:
        Unknown1000(-1465000)
    clearUponHandler(2)
    Unknown8000(100, 1, 1)
    sprite('Action_050_03', 2)
    sprite('Action_050_04', 7)
    sprite('Action_050_05', 5)
    sprite('Action_050_06', 8)
    sprite('Action_050_07', 4)
    sprite('Action_050_23', 5)
    sprite('Action_050_24', 3)
    SFX_1('uor600rwi')
    sprite('Action_050_25', 5)
    label(163)
    sprite('Action_050_26', 5)
    sprite('Action_050_27', 5)
    sprite('Action_050_28', 5)
    sprite('Action_050_29', 5)
    sprite('Action_050_30', 5)
    if SLOT_97:
        _gotolabel(163)
    sprite('Action_050_31', 5)
    sprite('Action_050_32', 4)
    sprite('Action_050_33', 6)
    sprite('Action_050_34', 7)
    sprite('Action_050_35', 2)
    Unknown21007(24, 40)
    Unknown21011(240)
    label(164)
    sprite('Action_000_00', 3)
    sprite('Action_000_01', 6)
    sprite('Action_000_02', 6)
    sprite('Action_000_03', 6)
    sprite('Action_000_04', 6)
    sprite('Action_000_05', 6)
    sprite('Action_000_06', 6)
    sprite('Action_000_07', 6)
    sprite('Action_000_08', 6)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 6)
    sprite('Action_000_11', 6)
    sprite('Action_000_12', 6)
    sprite('Action_000_13', 6)
    sprite('Action_000_14', 6)
    sprite('Action_000_15', 6)
    sprite('Action_000_16', 6)
    sprite('Action_000_17', 6)
    sprite('Action_000_18', 6)
    sprite('Action_000_19', 6)
    sprite('Action_000_20', 6)
    sprite('Action_000_21', 6)
    sprite('Action_000_22', 6)
    sprite('Action_000_23', 6)
    sprite('Action_000_24', 3)
    loopRest()
    gotoLabel(164)
    ExitState()
    label(170)
    sprite('Action_000_00', 1)
    if SLOT_158:
        Unknown1000(-1230000)
    else:
        Unknown1000(-1465000)

    def upon_40():
        clearUponHandler(40)
        sendToLabel(172)
        SFX_1('uor601rbl')
    label(171)
    sprite('Action_000_00', 3)
    sprite('Action_000_01', 6)
    sprite('Action_000_02', 6)
    sprite('Action_000_03', 6)
    sprite('Action_000_04', 6)
    sprite('Action_000_05', 6)
    sprite('Action_000_06', 6)
    sprite('Action_000_07', 6)
    sprite('Action_000_08', 6)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 6)
    sprite('Action_000_11', 6)
    sprite('Action_000_12', 6)
    sprite('Action_000_13', 6)
    sprite('Action_000_14', 6)
    sprite('Action_000_15', 6)
    sprite('Action_000_16', 6)
    sprite('Action_000_17', 6)
    sprite('Action_000_18', 6)
    sprite('Action_000_19', 6)
    sprite('Action_000_20', 6)
    sprite('Action_000_21', 6)
    sprite('Action_000_22', 6)
    sprite('Action_000_23', 6)
    sprite('Action_000_24', 3)
    loopRest()
    gotoLabel(171)
    label(172)
    sprite('Action_000_26', 5)
    sprite('Action_000_27', 5)
    sprite('Action_000_28', 7)
    sprite('Action_000_29', 4)
    sprite('Action_000_30', 4)
    sprite('Action_000_31', 9)
    sprite('Action_000_32', 5)
    sprite('Action_000_33', 5)
    Unknown23018(1)
    label(173)
    sprite('Action_000_00', 3)
    sprite('Action_000_01', 6)
    sprite('Action_000_02', 6)
    sprite('Action_000_03', 6)
    sprite('Action_000_04', 6)
    sprite('Action_000_05', 6)
    sprite('Action_000_06', 6)
    sprite('Action_000_07', 6)
    sprite('Action_000_08', 6)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 6)
    sprite('Action_000_11', 6)
    sprite('Action_000_12', 6)
    sprite('Action_000_13', 6)
    sprite('Action_000_14', 6)
    sprite('Action_000_15', 6)
    sprite('Action_000_16', 6)
    sprite('Action_000_17', 6)
    sprite('Action_000_18', 6)
    sprite('Action_000_19', 6)
    sprite('Action_000_20', 6)
    sprite('Action_000_21', 6)
    sprite('Action_000_22', 6)
    sprite('Action_000_23', 6)
    sprite('Action_000_24', 3)
    loopRest()
    gotoLabel(173)
    ExitState()
    label(180)
    sprite('null', 2)
    Unknown3038(1)
    teleportRelativeY(600000)
    setGravity(0)
    loopRest()
    if SLOT_17:
        _gotolabel(180)
    sprite('Action_050_02', 5)
    if SLOT_158:
        Unknown1000(-1230000)
    else:
        Unknown1000(-1465000)
    Unknown3038(0)
    teleportRelativeY(600000)
    physicsYImpulse(-2000)
    setGravity(1500)
    sendToLabelUpon(2, 182)
    label(181)
    sprite('Action_050_02', 3)
    loopRest()
    gotoLabel(181)
    label(182)
    sprite('Action_050_02', 2)
    if SLOT_158:
        Unknown1000(-1230000)
    else:
        Unknown1000(-1465000)
    clearUponHandler(2)
    Unknown8000(100, 1, 1)
    sprite('Action_050_03', 2)
    sprite('Action_050_04', 7)
    sprite('Action_050_05', 5)
    sprite('Action_050_06', 8)
    sprite('Action_050_07', 4)
    sprite('Action_050_23', 5)
    sprite('Action_050_24', 3)
    SFX_1('uor600pmi')
    sprite('Action_050_25', 5)
    label(183)
    sprite('Action_050_26', 5)
    sprite('Action_050_27', 5)
    sprite('Action_050_28', 5)
    sprite('Action_050_29', 5)
    sprite('Action_050_30', 5)
    if SLOT_97:
        _gotolabel(183)
    sprite('Action_050_31', 5)
    sprite('Action_050_32', 4)
    sprite('Action_050_33', 6)
    sprite('Action_050_34', 7)
    sprite('Action_050_35', 2)
    Unknown21007(24, 40)
    Unknown21011(270)
    label(184)
    sprite('Action_000_00', 3)
    sprite('Action_000_01', 6)
    sprite('Action_000_02', 6)
    sprite('Action_000_03', 6)
    sprite('Action_000_04', 6)
    sprite('Action_000_05', 6)
    sprite('Action_000_06', 6)
    sprite('Action_000_07', 6)
    sprite('Action_000_08', 6)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 6)
    sprite('Action_000_11', 6)
    sprite('Action_000_12', 6)
    sprite('Action_000_13', 6)
    sprite('Action_000_14', 6)
    sprite('Action_000_15', 6)
    sprite('Action_000_16', 6)
    sprite('Action_000_17', 6)
    sprite('Action_000_18', 6)
    sprite('Action_000_19', 6)
    sprite('Action_000_20', 6)
    sprite('Action_000_21', 6)
    sprite('Action_000_22', 6)
    sprite('Action_000_23', 6)
    sprite('Action_000_24', 3)
    loopRest()
    gotoLabel(184)
    ExitState()
    label(190)
    sprite('Ori634_00', 1)
    Unknown1000(-1230000)
    SFX_1('uor600biz')

    def upon_40():
        clearUponHandler(40)
        sendToLabel(192)
    label(191)
    sprite('Ori634_00', 1)
    if SLOT_97:
        _gotolabel(191)
    sprite('Ori634_00', 10)
    sprite('Ori634_00', 32767)
    Unknown21007(24, 40)
    Unknown21011(120)
    label(192)
    sprite('Ori634_01', 6)
    sprite('Ori634_02', 6)
    sprite('Ori634_03', 6)
    sprite('Ori634_04', 6)
    sprite('Ori634_05', 6)
    sprite('Ori634_06', 32767)
    ExitState()
    label(200)
    sprite('Action_000_00', 1)
    if SLOT_158:
        Unknown1000(-1230000)
    else:
        Unknown1000(-1465000)

    def upon_40():
        clearUponHandler(40)
        SFX_1('uor601umi')
        Unknown23018(1)
    label(201)
    sprite('Action_000_00', 3)
    sprite('Action_000_01', 6)
    sprite('Action_000_02', 6)
    sprite('Action_000_03', 6)
    sprite('Action_000_04', 6)
    sprite('Action_000_05', 6)
    sprite('Action_000_06', 6)
    sprite('Action_000_07', 6)
    sprite('Action_000_08', 6)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 6)
    sprite('Action_000_11', 6)
    sprite('Action_000_12', 6)
    sprite('Action_000_13', 6)
    sprite('Action_000_14', 6)
    sprite('Action_000_15', 6)
    sprite('Action_000_16', 6)
    sprite('Action_000_17', 6)
    sprite('Action_000_18', 6)
    sprite('Action_000_19', 6)
    sprite('Action_000_20', 6)
    sprite('Action_000_21', 6)
    sprite('Action_000_22', 6)
    sprite('Action_000_23', 6)
    sprite('Action_000_24', 3)
    loopRest()
    gotoLabel(201)
    ExitState()
    label(210)
    sprite('null', 2)
    Unknown3038(1)
    teleportRelativeY(600000)
    setGravity(0)
    loopRest()
    if SLOT_17:
        _gotolabel(210)
    sprite('Action_050_02', 5)
    Unknown3038(0)
    teleportRelativeY(600000)
    physicsYImpulse(-2000)
    setGravity(1500)
    sendToLabelUpon(2, 212)
    label(211)
    sprite('Action_050_02', 3)
    loopRest()
    gotoLabel(211)
    label(212)
    sprite('Action_050_02', 2)
    clearUponHandler(2)
    Unknown8000(100, 1, 1)
    sprite('Action_050_03', 2)
    sprite('Action_050_04', 7)
    sprite('Action_050_05', 5)
    sprite('Action_050_06', 8)
    sprite('Action_050_07', 4)
    sprite('Action_050_23', 5)
    sprite('Action_050_24', 3)
    SFX_1('uor600ahe')
    sprite('Action_050_25', 5)
    label(213)
    sprite('Action_050_26', 5)
    sprite('Action_050_27', 5)
    sprite('Action_050_28', 5)
    sprite('Action_050_29', 5)
    sprite('Action_050_30', 5)
    loopRest()
    if SLOT_97:
        _gotolabel(213)
    sprite('Action_050_31', 5)
    sprite('Action_050_32', 4)
    sprite('Action_050_33', 6)
    sprite('Action_050_34', 7)
    sprite('Action_050_35', 2)
    Unknown21007(24, 40)
    Unknown21011(120)
    label(214)
    sprite('Action_000_00', 3)
    sprite('Action_000_01', 6)
    sprite('Action_000_02', 6)
    sprite('Action_000_03', 6)
    sprite('Action_000_04', 6)
    sprite('Action_000_05', 6)
    sprite('Action_000_06', 6)
    sprite('Action_000_07', 6)
    sprite('Action_000_08', 6)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 6)
    sprite('Action_000_11', 6)
    sprite('Action_000_12', 6)
    sprite('Action_000_13', 6)
    sprite('Action_000_14', 6)
    sprite('Action_000_15', 6)
    sprite('Action_000_16', 6)
    sprite('Action_000_17', 6)
    sprite('Action_000_18', 6)
    sprite('Action_000_19', 6)
    sprite('Action_000_20', 6)
    sprite('Action_000_21', 6)
    sprite('Action_000_22', 6)
    sprite('Action_000_23', 6)
    sprite('Action_000_24', 3)
    loopRest()
    gotoLabel(214)
    ExitState()
    label(220)
    sprite('Action_000_00', 1)
    if SLOT_158:
        Unknown1000(-1230000)
    else:
        Unknown1000(-1465000)

    def upon_40():
        clearUponHandler(40)
        sendToLabel(222)
        SFX_1('uor601uak')
    label(221)
    sprite('Action_000_00', 3)
    sprite('Action_000_01', 6)
    sprite('Action_000_02', 6)
    sprite('Action_000_03', 6)
    sprite('Action_000_04', 6)
    sprite('Action_000_05', 6)
    sprite('Action_000_06', 6)
    sprite('Action_000_07', 6)
    sprite('Action_000_08', 6)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 6)
    sprite('Action_000_11', 6)
    sprite('Action_000_12', 6)
    sprite('Action_000_13', 6)
    sprite('Action_000_14', 6)
    sprite('Action_000_15', 6)
    sprite('Action_000_16', 6)
    sprite('Action_000_17', 6)
    sprite('Action_000_18', 6)
    sprite('Action_000_19', 6)
    sprite('Action_000_20', 6)
    sprite('Action_000_21', 6)
    sprite('Action_000_22', 6)
    sprite('Action_000_23', 6)
    sprite('Action_000_24', 3)
    loopRest()
    gotoLabel(221)
    label(222)
    sprite('Action_000_26', 5)
    sprite('Action_000_27', 5)
    sprite('Action_000_28', 7)
    sprite('Action_000_29', 4)
    sprite('Action_000_30', 4)
    sprite('Action_000_31', 9)
    sprite('Action_000_32', 5)
    sprite('Action_000_33', 5)
    Unknown23018(1)
    label(223)
    sprite('Action_000_00', 3)
    sprite('Action_000_01', 6)
    sprite('Action_000_02', 6)
    sprite('Action_000_03', 6)
    sprite('Action_000_04', 6)
    sprite('Action_000_05', 6)
    sprite('Action_000_06', 6)
    sprite('Action_000_07', 6)
    sprite('Action_000_08', 6)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 6)
    sprite('Action_000_11', 6)
    sprite('Action_000_12', 6)
    sprite('Action_000_13', 6)
    sprite('Action_000_14', 6)
    sprite('Action_000_15', 6)
    sprite('Action_000_16', 6)
    sprite('Action_000_17', 6)
    sprite('Action_000_18', 6)
    sprite('Action_000_19', 6)
    sprite('Action_000_20', 6)
    sprite('Action_000_21', 6)
    sprite('Action_000_22', 6)
    sprite('Action_000_23', 6)
    sprite('Action_000_24', 3)
    loopRest()
    gotoLabel(223)
    ExitState()
    label(230)
    sprite('null', 2)
    Unknown3038(1)
    teleportRelativeY(600000)
    setGravity(0)
    loopRest()
    if SLOT_17:
        _gotolabel(230)
    sprite('Action_050_02', 5)
    Unknown3038(0)
    teleportRelativeY(600000)
    physicsYImpulse(-2000)
    setGravity(1500)
    sendToLabelUpon(2, 232)
    label(231)
    sprite('Action_050_02', 3)
    loopRest()
    gotoLabel(231)
    label(232)
    sprite('Action_050_02', 2)
    clearUponHandler(2)
    Unknown8000(100, 1, 1)
    sprite('Action_050_03', 2)
    sprite('Action_050_04', 7)
    sprite('Action_050_05', 5)
    sprite('Action_050_06', 8)
    sprite('Action_050_07', 4)
    sprite('Action_050_23', 5)
    sprite('Action_050_24', 3)
    SFX_1('uor600pel')
    sprite('Action_050_25', 5)
    label(233)
    sprite('Action_050_26', 5)
    sprite('Action_050_27', 5)
    sprite('Action_050_28', 5)
    sprite('Action_050_29', 5)
    sprite('Action_050_30', 5)
    loopRest()
    if SLOT_97:
        _gotolabel(233)
    sprite('Action_050_31', 5)
    sprite('Action_050_32', 4)
    sprite('Action_050_33', 6)
    sprite('Action_050_34', 7)
    sprite('Action_050_35', 2)
    Unknown21007(24, 40)
    Unknown21011(120)
    label(234)
    sprite('Action_000_00', 3)
    sprite('Action_000_01', 6)
    sprite('Action_000_02', 6)
    sprite('Action_000_03', 6)
    sprite('Action_000_04', 6)
    sprite('Action_000_05', 6)
    sprite('Action_000_06', 6)
    sprite('Action_000_07', 6)
    sprite('Action_000_08', 6)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 6)
    sprite('Action_000_11', 6)
    sprite('Action_000_12', 6)
    sprite('Action_000_13', 6)
    sprite('Action_000_14', 6)
    sprite('Action_000_15', 6)
    sprite('Action_000_16', 6)
    sprite('Action_000_17', 6)
    sprite('Action_000_18', 6)
    sprite('Action_000_19', 6)
    sprite('Action_000_20', 6)
    sprite('Action_000_21', 6)
    sprite('Action_000_22', 6)
    sprite('Action_000_23', 6)
    sprite('Action_000_24', 3)
    loopRest()
    gotoLabel(234)
    ExitState()
    label(240)
    sprite('Action_050_23', 5)
    sprite('Action_050_24', 3)
    SFX_1('uor600kym')
    sprite('Action_050_25', 5)
    label(241)
    sprite('Action_050_26', 5)
    sprite('Action_050_27', 5)
    sprite('Action_050_28', 5)
    sprite('Action_050_29', 5)
    sprite('Action_050_30', 5)
    loopRest()
    if SLOT_97:
        _gotolabel(241)
    sprite('Action_050_31', 5)
    sprite('Action_050_32', 4)
    sprite('Action_050_33', 6)
    sprite('Action_050_34', 7)
    sprite('Action_050_35', 2)
    Unknown21007(24, 40)
    Unknown21011(120)
    label(242)
    sprite('Action_000_00', 3)
    sprite('Action_000_01', 6)
    sprite('Action_000_02', 6)
    sprite('Action_000_03', 6)
    sprite('Action_000_04', 6)
    sprite('Action_000_05', 6)
    sprite('Action_000_06', 6)
    sprite('Action_000_07', 6)
    sprite('Action_000_08', 6)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 6)
    sprite('Action_000_11', 6)
    sprite('Action_000_12', 6)
    sprite('Action_000_13', 6)
    sprite('Action_000_14', 6)
    sprite('Action_000_15', 6)
    sprite('Action_000_16', 6)
    sprite('Action_000_17', 6)
    sprite('Action_000_18', 6)
    sprite('Action_000_19', 6)
    sprite('Action_000_20', 6)
    sprite('Action_000_21', 6)
    sprite('Action_000_22', 6)
    sprite('Action_000_23', 6)
    sprite('Action_000_24', 3)
    loopRest()
    gotoLabel(242)
    ExitState()
    label(991)
    sprite('Action_000_00', 1)
    Unknown2019(1000)
    Unknown21011(120)
    label(992)
    sprite('Action_000_00', 3)
    sprite('Action_000_01', 6)
    sprite('Action_000_02', 6)
    sprite('Action_000_03', 6)
    sprite('Action_000_04', 6)
    sprite('Action_000_05', 6)
    sprite('Action_000_06', 6)
    sprite('Action_000_07', 6)
    sprite('Action_000_08', 6)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 6)
    sprite('Action_000_11', 6)
    sprite('Action_000_12', 6)
    sprite('Action_000_13', 6)
    sprite('Action_000_14', 6)
    sprite('Action_000_15', 6)
    sprite('Action_000_16', 6)
    sprite('Action_000_17', 6)
    sprite('Action_000_18', 6)
    sprite('Action_000_19', 6)
    sprite('Action_000_20', 6)
    sprite('Action_000_21', 6)
    sprite('Action_000_22', 6)
    sprite('Action_000_23', 6)
    sprite('Action_000_24', 3)
    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)
    EnableCollision(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_CLEAR_OR_EXIT():
        SLOT_58 = 1
        Unknown48('19000000020000003400000018000000020000003a000000')
        if SLOT_52:
            if PartnerChar('brg'):
                if (SLOT_145 < 500000):
                    sendToLabel(100)
                    clearUponHandler(3)
            if PartnerChar('bjn'):
                if (SLOT_145 < 500000):
                    sendToLabel(110)
                    clearUponHandler(3)
            if PartnerChar('bjb'):
                if (SLOT_145 < 500000):
                    sendToLabel(120)
                    clearUponHandler(3)
            if PartnerChar('pna'):
                if (SLOT_145 < 500000):
                    sendToLabel(130)
                    clearUponHandler(3)
            if PartnerChar('uhy'):
                if (SLOT_145 < 500000):
                    sendToLabel(140)
                    clearUponHandler(3)
            if PartnerChar('uli'):
                if (SLOT_145 < 500000):
                    sendToLabel(150)
                    clearUponHandler(3)
            if PartnerChar('rwi'):
                if (SLOT_145 < 500000):
                    sendToLabel(160)
                    clearUponHandler(3)
            if PartnerChar('rbl'):
                if (SLOT_145 < 500000):
                    sendToLabel(170)
                    clearUponHandler(3)
            if PartnerChar('pmi'):
                if (SLOT_145 < 500000):
                    sendToLabel(180)
                    clearUponHandler(3)
            if PartnerChar('biz'):
                if (SLOT_145 < 500000):
                    sendToLabel(190)
                    clearUponHandler(3)
            if PartnerChar('umi'):
                if (SLOT_145 <= 700000):
                    if (SLOT_145 >= 200000):
                        sendToLabel(200)
                        clearUponHandler(3)
            if PartnerChar('ahe'):
                if (SLOT_145 < 500000):
                    sendToLabel(210)
                    clearUponHandler(3)
            if PartnerChar('uak'):
                if (SLOT_145 < 500000):
                    sendToLabel(220)
                    clearUponHandler(3)
            if PartnerChar('pel'):
                if (SLOT_145 < 500000):
                    sendToLabel(230)
                    clearUponHandler(3)
            if PartnerChar('kym'):
                if (SLOT_145 < 500000):
                    sendToLabel(240)
                    clearUponHandler(3)
    label(482)
    sprite('keep', 1)
    clearUponHandler(3)
    SLOT_58 = 0
    sprite('keep', 1)
    if (not SLOT_52):
        if (not SLOT_108):
            if random_(2, 0, 50):
                sendToLabel(10)
    sprite('Action_053_00', 5)
    sprite('Action_053_01', 5)
    sprite('Action_053_02', 7)
    sprite('Action_053_03', 4)
    sprite('Action_053_04', 3)
    SFX_3('SE042')
    sprite('Action_053_05', 8)
    sprite('Action_053_06', 7)
    sprite('Action_053_07', 7)
    sprite('Action_053_08', 5)
    if SLOT_158:
        if SLOT_52:
            Unknown7006('uor524', 100, 896692085, 13618, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
        elif SLOT_108:
            Unknown7006('uor402_0', 100, 879914869, 828322352, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
        else:
            Unknown7006('uor520', 100, 896692085, 12594, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    sprite('Action_053_09', 20)
    Unknown23018(1)
    label(1)
    sprite('Action_053_10', 5)
    loopRest()
    gotoLabel(1)
    label(10)
    sprite('Action_052_00', 5)
    sprite('Action_052_01', 5)
    sprite('Action_052_02', 4)
    sprite('Action_052_03', 5)
    sprite('Action_052_04', 5)
    if SLOT_158:
        Unknown7006('uor522', 100, 896692085, 13106, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown23018(1)
    label(11)
    sprite('Action_052_05', 5)
    sprite('Action_052_06', 5)
    sprite('Action_052_07', 5)
    sprite('Action_052_08', 5)
    sprite('Action_052_09', 5)
    loopRest()
    gotoLabel(11)
    label(100)
    sprite('Action_053_00', 5)
    sprite('Action_053_01', 5)
    sprite('Action_053_02', 7)
    sprite('Action_053_03', 4)
    sprite('Action_053_04', 3)
    SFX_3('SE042')
    sprite('Action_053_05', 8)
    sprite('Action_053_06', 7)
    sprite('Action_053_07', 7)
    sprite('Action_053_08', 5)
    SFX_1('uor700brg')
    sprite('Action_053_09', 20)
    label(101)
    sprite('Action_053_10', 1)
    if SLOT_97:
        _gotolabel(101)
    sprite('Action_053_10', 30)
    sprite('Action_053_10', 32767)
    Unknown21007(24, 40)
    Unknown21011(240)
    label(110)
    sprite('Action_053_00', 5)
    sprite('Action_053_01', 5)
    sprite('Action_053_02', 7)
    sprite('Action_053_03', 4)
    sprite('Action_053_04', 3)
    SFX_3('SE042')
    sprite('Action_053_05', 8)
    sprite('Action_053_06', 7)
    sprite('Action_053_07', 7)
    sprite('Action_053_08', 5)
    SFX_1('uor700bjn')
    sprite('Action_053_09', 20)
    label(111)
    sprite('Action_053_10', 1)
    if SLOT_97:
        _gotolabel(111)
    sprite('Action_053_10', 15)
    sprite('Action_053_10', 32767)
    Unknown21007(24, 40)
    Unknown21011(320)
    label(120)
    sprite('Action_053_00', 5)
    sprite('Action_053_01', 5)
    sprite('Action_053_02', 7)
    sprite('Action_053_03', 4)
    sprite('Action_053_04', 3)
    SFX_3('SE042')
    sprite('Action_053_05', 8)
    sprite('Action_053_06', 7)
    sprite('Action_053_07', 7)
    sprite('Action_053_08', 5)
    SFX_1('uor700bjb')
    sprite('Action_053_09', 20)
    label(121)
    sprite('Action_053_10', 1)
    if SLOT_97:
        _gotolabel(121)
    sprite('Action_053_10', 30)
    sprite('Action_053_10', 32767)
    Unknown21007(24, 40)
    Unknown21011(240)
    label(130)
    sprite('Action_053_00', 5)
    sprite('Action_053_01', 5)
    sprite('Action_053_02', 7)
    sprite('Action_053_03', 4)
    sprite('Action_053_04', 3)
    SFX_3('SE042')
    sprite('Action_053_05', 8)
    sprite('Action_053_06', 7)
    sprite('Action_053_07', 7)
    sprite('Action_053_08', 5)
    SFX_1('uor700pna')
    sprite('Action_053_09', 20)
    label(131)
    sprite('Action_053_10', 1)
    if SLOT_97:
        _gotolabel(131)
    sprite('Action_053_10', 32767)
    Unknown21007(24, 40)
    Unknown21011(200)
    label(140)
    sprite('Action_052_00', 5)
    sprite('Action_052_01', 5)
    sprite('Action_052_02', 4)
    sprite('Action_052_03', 5)
    sprite('Action_052_04', 5)
    SFX_1('uor700uhy')
    label(141)
    sprite('Action_052_05', 5)
    sprite('Action_052_06', 5)
    sprite('Action_052_07', 5)
    sprite('Action_052_08', 5)
    sprite('Action_052_09', 5)
    loopRest()
    if SLOT_97:
        _gotolabel(141)
    sprite('Action_052_05', 1)
    Unknown21007(24, 40)
    Unknown21011(240)
    label(142)
    sprite('Action_052_05', 5)
    sprite('Action_052_06', 5)
    sprite('Action_052_07', 5)
    sprite('Action_052_08', 5)
    sprite('Action_052_09', 5)
    gotoLabel(142)
    label(150)
    sprite('Action_053_00', 5)
    sprite('Action_053_01', 5)
    sprite('Action_053_02', 7)
    sprite('Action_053_03', 4)
    sprite('Action_053_04', 3)
    SFX_3('SE042')
    sprite('Action_053_05', 8)
    sprite('Action_053_06', 7)
    sprite('Action_053_07', 7)
    sprite('Action_053_08', 5)
    SFX_1('uor700uli')
    sprite('Action_053_09', 20)
    label(151)
    sprite('Action_053_10', 1)
    if SLOT_97:
        _gotolabel(151)
    sprite('Action_053_10', 30)
    sprite('Action_053_10', 32767)
    Unknown21007(24, 40)
    Unknown21011(240)
    label(160)
    sprite('Action_000_00', 1)

    def upon_40():
        clearUponHandler(40)
        sendToLabel(162)

    def upon_39():
        clearUponHandler(39)
        sendToLabel(164)
    label(161)
    sprite('Action_000_00', 3)
    sprite('Action_000_01', 6)
    sprite('Action_000_02', 6)
    sprite('Action_000_03', 6)
    sprite('Action_000_04', 6)
    sprite('Action_000_05', 6)
    sprite('Action_000_06', 6)
    sprite('Action_000_07', 6)
    sprite('Action_000_08', 6)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 6)
    sprite('Action_000_11', 6)
    sprite('Action_000_12', 6)
    sprite('Action_000_13', 6)
    sprite('Action_000_14', 6)
    sprite('Action_000_15', 6)
    sprite('Action_000_16', 6)
    sprite('Action_000_17', 6)
    sprite('Action_000_18', 6)
    sprite('Action_000_19', 6)
    sprite('Action_000_20', 6)
    sprite('Action_000_21', 6)
    sprite('Action_000_22', 6)
    sprite('Action_000_23', 6)
    sprite('Action_000_24', 3)
    loopRest()
    gotoLabel(161)
    label(162)
    sprite('Action_053_00', 5)
    sprite('Action_053_01', 5)
    sprite('Action_053_02', 7)
    sprite('Action_053_03', 4)
    sprite('Action_053_04', 3)
    SFX_3('SE042')
    sprite('Action_053_05', 8)
    sprite('Action_053_06', 7)
    sprite('Action_053_07', 7)
    sprite('Action_053_08', 5)
    SFX_1('uor701rwi')
    label(163)
    sprite('Action_053_09', 1)
    if SLOT_97:
        _gotolabel(163)
    sprite('Action_053_09', 40)
    sprite('Action_053_10', 32767)
    Unknown21007(24, 40)
    label(164)
    sprite('Action_053_10', 32767)
    SFX_1('uor703rwi')
    Unknown23018(1)
    label(170)
    sprite('Action_000_00', 1)

    def upon_40():
        clearUponHandler(40)
        sendToLabel(172)
    label(171)
    sprite('Action_000_00', 3)
    sprite('Action_000_01', 6)
    sprite('Action_000_02', 6)
    sprite('Action_000_03', 6)
    sprite('Action_000_04', 6)
    sprite('Action_000_05', 6)
    sprite('Action_000_06', 6)
    sprite('Action_000_07', 6)
    sprite('Action_000_08', 6)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 6)
    sprite('Action_000_11', 6)
    sprite('Action_000_12', 6)
    sprite('Action_000_13', 6)
    sprite('Action_000_14', 6)
    sprite('Action_000_15', 6)
    sprite('Action_000_16', 6)
    sprite('Action_000_17', 6)
    sprite('Action_000_18', 6)
    sprite('Action_000_19', 6)
    sprite('Action_000_20', 6)
    sprite('Action_000_21', 6)
    sprite('Action_000_22', 6)
    sprite('Action_000_23', 6)
    sprite('Action_000_24', 3)
    loopRest()
    gotoLabel(171)
    label(172)
    sprite('Action_053_00', 5)
    sprite('Action_053_01', 5)
    sprite('Action_053_02', 7)
    sprite('Action_053_03', 4)
    sprite('Action_053_04', 3)
    SFX_3('SE042')
    sprite('Action_053_05', 8)
    sprite('Action_053_06', 7)
    sprite('Action_053_07', 7)
    sprite('Action_053_08', 5)
    SFX_1('uor701rbl')
    label(173)
    sprite('Action_053_09', 1)
    if SLOT_97:
        _gotolabel(173)
    sprite('Action_053_10', 32767)
    Unknown23018(1)
    label(180)
    sprite('Action_053_00', 5)
    sprite('Action_053_01', 5)
    sprite('Action_053_02', 7)
    sprite('Action_053_03', 4)
    sprite('Action_053_04', 3)
    SFX_3('SE042')
    sprite('Action_053_05', 8)
    sprite('Action_053_06', 7)
    sprite('Action_053_07', 7)
    sprite('Action_053_08', 5)
    SFX_1('uor700pmi')
    label(181)
    sprite('Action_053_09', 1)
    if SLOT_97:
        _gotolabel(181)
    sprite('Action_053_10', 32767)
    Unknown21007(24, 40)
    Unknown21011(260)
    label(190)
    sprite('Action_000_00', 1)

    def upon_40():
        clearUponHandler(40)
        sendToLabel(192)
    label(191)
    sprite('Action_000_00', 3)
    sprite('Action_000_01', 6)
    sprite('Action_000_02', 6)
    sprite('Action_000_03', 6)
    sprite('Action_000_04', 6)
    sprite('Action_000_05', 6)
    sprite('Action_000_06', 6)
    sprite('Action_000_07', 6)
    sprite('Action_000_08', 6)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 6)
    sprite('Action_000_11', 6)
    sprite('Action_000_12', 6)
    sprite('Action_000_13', 6)
    sprite('Action_000_14', 6)
    sprite('Action_000_15', 6)
    sprite('Action_000_16', 6)
    sprite('Action_000_17', 6)
    sprite('Action_000_18', 6)
    sprite('Action_000_19', 6)
    sprite('Action_000_20', 6)
    sprite('Action_000_21', 6)
    sprite('Action_000_22', 6)
    sprite('Action_000_23', 6)
    sprite('Action_000_24', 3)
    loopRest()
    gotoLabel(191)
    label(192)
    sprite('Action_053_00', 5)
    sprite('Action_053_01', 5)
    sprite('Action_053_02', 7)
    sprite('Action_053_03', 4)
    sprite('Action_053_04', 3)
    SFX_3('SE042')
    sprite('Action_053_05', 8)
    sprite('Action_053_06', 7)
    sprite('Action_053_07', 7)
    sprite('Action_053_08', 5)
    SFX_1('uor701biz')
    Unknown23018(1)
    sprite('Action_053_10', 32767)
    label(200)
    sprite('Action_000_00', 1)

    def upon_40():
        clearUponHandler(40)
        sendToLabel(202)
    label(201)
    sprite('Action_000_00', 3)
    sprite('Action_000_01', 6)
    sprite('Action_000_02', 6)
    sprite('Action_000_03', 6)
    sprite('Action_000_04', 6)
    sprite('Action_000_05', 6)
    sprite('Action_000_06', 6)
    sprite('Action_000_07', 6)
    sprite('Action_000_08', 6)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 6)
    sprite('Action_000_11', 6)
    sprite('Action_000_12', 6)
    sprite('Action_000_13', 6)
    sprite('Action_000_14', 6)
    sprite('Action_000_15', 6)
    sprite('Action_000_16', 6)
    sprite('Action_000_17', 6)
    sprite('Action_000_18', 6)
    sprite('Action_000_19', 6)
    sprite('Action_000_20', 6)
    sprite('Action_000_21', 6)
    sprite('Action_000_22', 6)
    sprite('Action_000_23', 6)
    sprite('Action_000_24', 3)
    loopRest()
    gotoLabel(201)
    label(202)
    sprite('keep', 1)
    Unknown2037(1)
    Unknown2019(-500)
    sprite('Action_010_00', 1)
    if (not SLOT_39):
        Unknown48('190000000200000033000000180000000200000016000000')
        Unknown47('01000000020000003300000002000000160000000200000033000000')
        if (SLOT_51 >= 0):
            pass
        else:
            Unknown2005()
    else:
        Unknown48('190000000200000033000000180000000200000016000000')
        Unknown47('01000000020000003300000002000000160000000200000033000000')
        if (SLOT_51 <= 0):
            pass
        else:
            Unknown2005()
    sprite('Action_010_00', 1)
    physicsXImpulse(8000)
    Unknown20000(1)

    def upon_CLEAR_OR_EXIT():
        if SLOT_2:
            if (SLOT_145 < 120000):
                Unknown2037(0)
                sendToLabel(204)
    label(203)
    sprite('Action_010_01', 4)
    sprite('Action_010_02', 4)
    sprite('Action_010_03', 3)
    SFX_FOOTSTEP_(100, 1, 1)
    sprite('Action_010_04', 3)
    sprite('Action_010_05', 4)
    sprite('Action_010_06', 4)
    sprite('Action_010_07', 4)
    sprite('Action_010_08', 4)
    sprite('Action_010_09', 3)
    SFX_FOOTSTEP_(100, 1, 1)
    sprite('Action_010_10', 3)
    sprite('Action_010_11', 4)
    sprite('Action_010_12', 4)
    loopRest()
    gotoLabel(203)
    label(204)
    sprite('Ori648_00', 6)
    Unknown1084(1)
    clearUponHandler(3)
    sprite('Ori648_01', 6)
    sprite('Ori648_02', 6)
    sprite('Ori648_03', 6)
    sprite('Ori648_04', 6)
    sprite('Ori648_05', 6)
    SFX_1('uor701umi')
    Unknown23018(1)
    sprite('Ori648_06', 32767)
    label(210)
    sprite('Action_000_00', 1)

    def upon_40():
        clearUponHandler(40)
        sendToLabel(212)
    label(211)
    sprite('Action_000_00', 3)
    sprite('Action_000_01', 6)
    sprite('Action_000_02', 6)
    sprite('Action_000_03', 6)
    sprite('Action_000_04', 6)
    sprite('Action_000_05', 6)
    sprite('Action_000_06', 6)
    sprite('Action_000_07', 6)
    sprite('Action_000_08', 6)
    sprite('Action_000_09', 6)
    sprite('Action_000_10', 6)
    sprite('Action_000_11', 6)
    sprite('Action_000_12', 6)
    sprite('Action_000_13', 6)
    sprite('Action_000_14', 6)
    sprite('Action_000_15', 6)
    sprite('Action_000_16', 6)
    sprite('Action_000_17', 6)
    sprite('Action_000_18', 6)
    sprite('Action_000_19', 6)
    sprite('Action_000_20', 6)
    sprite('Action_000_21', 6)
    sprite('Action_000_22', 6)
    sprite('Action_000_23', 6)
    sprite('Action_000_24', 3)
    loopRest()
    gotoLabel(211)
    label(212)
    sprite('Action_053_00', 5)
    sprite('Action_053_01', 5)
    sprite('Action_053_02', 7)
    sprite('Action_053_03', 4)
    sprite('Action_053_04', 3)
    SFX_3('SE042')
    sprite('Action_053_05', 8)
    sprite('Action_053_06', 7)
    sprite('Action_053_07', 7)
    sprite('Action_053_08', 5)
    SFX_1('uor701ahe')
    Unknown23018(1)
    sprite('Action_053_10', 32767)
    label(220)
    sprite('Action_053_00', 5)
    sprite('Action_053_01', 5)
    sprite('Action_053_02', 7)
    sprite('Action_053_03', 4)
    sprite('Action_053_04', 3)
    SFX_3('SE042')
    sprite('Action_053_05', 8)
    sprite('Action_053_06', 7)
    sprite('Action_053_07', 7)
    sprite('Action_053_08', 5)
    SFX_1('uor700uak')
    sprite('Action_053_09', 20)
    label(221)
    sprite('Action_053_10', 1)
    if SLOT_97:
        _gotolabel(221)
    sprite('Action_053_10', 30)
    sprite('Action_053_10', 32767)
    Unknown21007(24, 40)
    Unknown21011(160)
    label(230)
    sprite('Action_053_00', 5)
    sprite('Action_053_01', 5)
    sprite('Action_053_02', 7)
    sprite('Action_053_03', 4)
    sprite('Action_053_04', 3)
    SFX_3('SE042')
    sprite('Action_053_05', 8)
    sprite('Action_053_06', 7)
    sprite('Action_053_07', 7)
    sprite('Action_053_08', 5)
    SFX_1('uor700pel')
    sprite('Action_053_09', 20)
    label(231)
    sprite('Action_053_10', 1)
    if SLOT_97:
        _gotolabel(231)
    sprite('Action_053_10', 30)
    sprite('Action_053_10', 32767)
    Unknown21007(24, 40)
    Unknown21011(240)
    label(240)
    sprite('Action_053_00', 5)
    sprite('Action_053_01', 5)
    sprite('Action_053_02', 7)
    sprite('Action_053_03', 4)
    sprite('Action_053_04', 3)
    SFX_3('SE042')
    sprite('Action_053_05', 8)
    sprite('Action_053_06', 7)
    sprite('Action_053_07', 7)
    sprite('Action_053_08', 5)
    SFX_1('uor700kym')
    sprite('Action_053_09', 20)
    label(241)
    sprite('Action_053_10', 1)
    if SLOT_97:
        _gotolabel(241)
    sprite('Action_053_10', 30)
    sprite('Action_053_10', 32767)
    Unknown21007(24, 40)
    Unknown21011(240)

@State
def CmnActLose():
    sprite('Action_248_00', 4)
    sprite('Action_248_01', 5)
    sprite('Action_248_02', 7)
    sprite('Action_248_03', 1)
    if SLOT_158:
        Unknown7006('uor403_0', 100, 879914869, 828322608, 0, 0, 100, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
    Unknown23018(1)
    label(1)
    sprite('Action_248_04', 1)
    gotoLabel(1)

@State
def EventDefEntryWait():
    label(0)
    sprite('hb000_00', 7)
    sprite('hb000_01', 7)
    sprite('hb000_02', 7)
    sprite('hb000_03', 7)
    sprite('hb000_04', 7)
    sprite('hb000_05', 7)
    sprite('hb000_06', 7)
    sprite('hb000_05', 7)
    sprite('hb000_04', 7)
    sprite('hb000_03', 7)
    sprite('hb000_02', 7)
    sprite('hb000_01', 7)
    loopRest()
    gotoLabel(0)

@State
def EventDefEntryWaitCameraON():

    def upon_IMMEDIATE():
        Unknown20000(1)
    label(0)
    sprite('hb000_00', 7)
    sprite('hb000_01', 7)
    sprite('hb000_02', 7)
    sprite('hb000_03', 7)
    sprite('hb000_04', 7)
    sprite('hb000_05', 7)
    sprite('hb000_06', 7)
    sprite('hb000_05', 7)
    sprite('hb000_04', 7)
    sprite('hb000_03', 7)
    sprite('hb000_02', 7)
    sprite('hb000_01', 7)
    loopRest()
    gotoLabel(0)

@State
def EventYoroke():
    sprite('hb070_03', 32767)

@State
def EventYorokeDown():
    sprite('hb070_04', 4)
    sprite('hb070_05', 4)
    sprite('hb070_06', 4)
    sprite('hb070_07', 4)
    sprite('hb070_08', 4)
    sprite('hb070_09', 4)
    sprite('hb063_11', 32767)

@State
def EventDefCrouch():
    label(0)
    sprite('hb010_02', 6)
    sprite('hb010_03', 6)
    sprite('hb010_04', 6)
    sprite('hb010_05', 6)
    sprite('hb010_06', 6)
    sprite('hb010_07', 6)
    sprite('hb010_08', 6)
    sprite('hb010_09', 6)
    loopRest()
    gotoLabel(0)

@State
def EventNoDisp():
    sprite('null', 32767)
    Unknown3038(1)

@State
def EventWalkFrameIn():
    Unknown2034(0)
    Unknown2037(1)
    Unknown1000(-900000)

    def upon_CLEAR_OR_EXIT():
        if SLOT_38:
            if (SLOT_22 < 260000):
                Unknown2037(0)
                sendToLabel(1)
        elif (SLOT_22 > (-260000)):
            sendToLabel(1)
    sprite('hb030_00', 7)
    physicsXImpulse(4650)
    label(0)
    sprite('hb030_01', 7)
    sprite('hb030_02', 7)
    SFX_FOOTSTEP_(100, 1, 1)
    sprite('hb030_03', 7)
    sprite('hb030_04', 7)
    sprite('hb030_05', 7)
    sprite('hb030_06', 7)
    SFX_FOOTSTEP_(100, 1, 1)
    sprite('hb030_07', 7)
    sprite('hb030_08', 7)
    sprite('hb030_09', 7)
    sprite('hb030_10', 10)
    loopRest()
    gotoLabel(0)
    label(1)
    physicsXImpulse(0)
    Unknown1000(-260000)
    enterState('CmnActStand')

@State
def EventDefChouhatsu():
    sprite('hb300_00', 6)
    sprite('hb300_01', 6)
    sprite('hb300_02', 6)
    sprite('hb300_03', 6)
    sprite('hb300_04', 6)
    sprite('hb300_05', 6)
    sprite('hb300_03', 25)
    sprite('hb300_06', 6)
    sprite('hb300_07', 6)
    sprite('hb300_08', 30)
    sprite('hb300_07', 6)
    sprite('hb300_06', 6)
    sprite('hb300_05', 6)
    sprite('hb300_02', 6)
    sprite('hb300_01', 6)
    sprite('hb300_00', 6)
    enterState('CmnActStand')

@State
def EventDefChouhatsu2():
    sprite('hb300_00', 6)
    sprite('hb300_01', 6)
    sprite('hb300_02', 6)
    sprite('hb300_03', 32767)

@State
def EventDefChouhatsu2End():
    sprite('hb300_02', 6)
    sprite('hb300_01', 6)
    sprite('hb300_00', 6)
    enterState('CmnActStand')

@State
def EventNOVSHB():
    sprite('hb000_00', 8)
    sprite('hb000_01', 8)
    sprite('hb000_02', 8)
    sprite('hb000_03', 8)
    sprite('hb000_04', 8)
    sprite('hb000_05', 8)
    sprite('hb000_06', 8)
    sprite('hb000_05', 8)
    sprite('hb000_04', 8)
    sprite('hb000_03', 8)
    sprite('hb000_02', 8)
    sprite('hb000_01', 8)
    sprite('hb300_00', 8)
    sprite('hb300_01', 8)
    sprite('hb300_02', 8)
    sprite('hb300_03', 8)
    sprite('hb300_03', 280)
    sprite('hb300_05', 8)
    sprite('hb300_02', 8)
    sprite('hb300_01', 8)
    sprite('hb300_00', 8)
    loopRest()
    enterState('CmnActStand')

@State
def EventPause1():
    sprite('hb333_00', 6)
    sprite('hb333_01', 6)
    sprite('hb333_02', 6)
    sprite('hb333_03', 6)
    sprite('hb333_04', 6)
    label(0)
    sprite('hb333_05', 8)
    sprite('hb333_06', 8)
    sprite('hb333_07', 8)
    loopRest()
    gotoLabel(0)

@State
def EventPause1End():
    sprite('hb333_08', 8)
    sprite('hb333_09', 8)
    loopRest()
    enterState('CmnActStand')

@State
def EventStandDLoop():
    sprite('hb203_00', 6)
    sprite('hb203_01', 6)
    label(0)
    sprite('hb203_02', 6)
    sprite('hb203_03', 6)
    sprite('hb203_04', 6)
    sprite('hb203_05', 8)
    loopRest()
    gotoLabel(0)

@State
def EventStandDLoopEnd():
    sprite('hb203_01', 6)
    sprite('hb203_00', 6)
    loopRest()
    enterState('CmnActStand')

@State
def EventMemoLoop():
    sprite('hb610_00', 6)
    sprite('hb610_01', 6)
    sprite('hb610_02', 6)
    sprite('hb610_03', 6)
    sprite('hb610_04', 6)
    sprite('hb610_05', 8)
    sprite('hb610_06', 8)
    sprite('hb610_07', 8)
    label(0)
    sprite('hb610_08', 8)
    sprite('hb610_09', 8)
    loopRest()
    gotoLabel(0)

@State
def EventMemoLoopEnd():
    sprite('hb610_07', 8)
    sprite('hb610_06', 6)
    sprite('hb610_05', 6)
    sprite('hb610_04', 6)
    sprite('hb610_03', 6)
    sprite('hb610_02', 6)
    sprite('hb610_01', 8)
    sprite('hb610_00', 8)
    loopRest()
    enterState('CmnActStand')

@State
def EventMemoLoopCameraON():

    def upon_IMMEDIATE():
        Unknown20000(1)
    sprite('hb610_00', 6)
    sprite('hb610_01', 6)
    sprite('hb610_02', 6)
    sprite('hb610_03', 6)
    sprite('hb610_04', 6)
    sprite('hb610_05', 8)
    sprite('hb610_06', 8)
    sprite('hb610_07', 8)
    label(0)
    sprite('hb610_08', 8)
    sprite('hb610_09', 8)
    loopRest()
    gotoLabel(0)

@State
def EventWin01Wait():
    sprite('hb615_08', 32767)
    loopRest()

@State
def EventWin01WaitToStand():
    sprite('hb615_08', 6)
    sprite('hb615_07', 6)
    sprite('hb615_06', 6)
    sprite('hb615_05', 6)
    sprite('hb615_04', 6)
    sprite('hb615_03', 6)
    sprite('hb615_02', 6)
    sprite('hb615_01', 6)
    sprite('hb615_00', 6)
    loopRest()
    enterState('CmnActStand')

@State
def EventWin02ToStand():
    sprite('hb603_06', 6)
    sprite('hb603_05', 6)
    sprite('hb603_04', 6)
    sprite('hb603_03', 6)
    sprite('hb603_02', 6)
    sprite('hb603_01', 8)
    sprite('hb603_00', 32767)
    loopRest()

@State
def EventEntry01ToStand():
    sprite('null', 20)
    teleportRelativeX(-105000)
    Unknown3026(-13421773)
    sprite('hb600_00', 32767)
    physicsYImpulse(-30000)
    setGravity(1800)
    Unknown3038(0)
    sendToLabelUpon(2, 1)
    GFX_0('hbef_600_feather', 100)
    Unknown3029(1)
    Unknown3069(1)
    Unknown3070(2)
    Unknown3071(3)
    Unknown3072('7f000000000000000000000000000000')
    Unknown3073('00000000000000000000000000000000')
    SFX_0('000_airdash_1')
    label(1)
    sprite('hb600_01', 6)
    Unknown26('hbef_600_feather')
    GFX_0('hbef_600_feather2', 100)
    SFX_0('208_brake_normal')
    SFX_0('204_runjump_normal_1')
    Unknown3025(-1, 16)
    sprite('hb600_02', 2)
    Unknown3029(0)
    sprite('hb600_02', 2)
    sprite('hb600_03', 6)
    SFX_0('019_cloth_b')
    sprite('hb600_04', 6)
    sprite('hb600_05', 6)
    sprite('hb600_06', 6)
    sprite('hb600_07', 6)
    sprite('hb600_08', 6)
    sprite('hb600_09', 6)
    sprite('hb600_10', 7)
    sprite('hb600_11', 7)
    sprite('hb600_12', 7)
    sprite('hb600_13', 20)
    sprite('hb600_14', 6)
    teleportRelativeX(10000)
    sprite('hb600_15', 6)
    teleportRelativeX(5000)
    sprite('hb600_16', 6)
    teleportRelativeX(45000)
    sprite('hb600_17', 6)
    teleportRelativeX(25000)
    sprite('hb000_00', 1)
    Unknown21011(100)
    teleportRelativeX(20000)
    Unknown1000(-260000)
    loopRest()
    enterState('CmnActStand')

@State
def Event2DLoop():
    sprite('hb234_00', 3)
    sprite('hb234_01', 4)
    SFX_0('019_cloth_a')
    Unknown1084(1)
    physicsYImpulse(15000)
    sprite('hb234_02', 5)
    setGravity(3600)
    sprite('hb234_03', 4)
    sprite('hb234_04', 32767)
    sendToLabelUpon(2, 0)
    label(0)
    sprite('hb234_05', 3)
    clearUponHandler(2)
    Unknown1084(1)
    Unknown8000(100, 1, 1)
    GFX_0('hbef_Drive', 103)
    GFX_0('hbef_2D_feather', 103)
    label(10)
    sprite('hb234_06', 6)
    sprite('hb234_07', 6)
    sprite('hb234_08', 6)
    sprite('hb234_09', 6)
    loopRest()
    gotoLabel(10)

@State
def Event2DLoopEnd():
    sprite('hb234_10', 4)
    sprite('hb234_11', 4)
    sprite('hb234_12', 4)
    loopRest()
    enterState('CmnActStand')

@State
def Act2Event_NoDisp():
    sprite('null', 32767)
    Unknown3038(1)

@State
def Act2EventWalkFrameIn():
    Unknown2034(0)
    Unknown2037(1)
    Unknown1000(-900000)

    def upon_CLEAR_OR_EXIT():
        if SLOT_38:
            if (SLOT_22 < 260000):
                Unknown2037(0)
                sendToLabel(1)
        elif (SLOT_22 > (-260000)):
            sendToLabel(1)
    sprite('hb030_00', 7)
    physicsXImpulse(4650)
    label(0)
    sprite('hb030_01', 7)
    sprite('hb030_02', 7)
    SFX_FOOTSTEP_(100, 1, 1)
    sprite('hb030_03', 7)
    sprite('hb030_04', 7)
    sprite('hb030_05', 7)
    sprite('hb030_06', 7)
    SFX_FOOTSTEP_(100, 1, 1)
    sprite('hb030_07', 7)
    sprite('hb030_08', 7)
    sprite('hb030_09', 7)
    sprite('hb030_10', 10)
    loopRest()
    gotoLabel(0)
    label(1)
    physicsXImpulse(0)
    Unknown1000(-260000)
    enterState('CmnActStand')

@State
def Act2Event_EntryA():

    def upon_IMMEDIATE():
        sendToLabelUpon(2, 0)
        Unknown3038(1)
        setGravity(0)
        teleportRelativeX(-105000)
    sprite('null', 2)
    teleportRelativeY(600000)
    sprite('null', 20)
    Unknown3026(-13421773)
    sprite('hb600_00', 32767)
    physicsYImpulse(-30000)
    setGravity(1800)
    Unknown3038(0)
    GFX_0('hbef_600_feather', 100)
    Unknown3029(1)
    Unknown3069(1)
    Unknown3070(2)
    Unknown3071(3)
    Unknown3072('7f000000000000000000000000000000')
    Unknown3073('00000000000000000000000000000000')
    SFX_0('000_airdash_1')
    label(0)
    sprite('hb600_01', 6)
    Unknown26('hbef_600_feather')
    GFX_0('hbef_600_feather2', 100)
    SFX_0('208_brake_normal')
    SFX_0('204_runjump_normal_1')
    Unknown3025(-1, 16)
    sprite('hb600_02', 2)
    Unknown3029(0)
    sprite('hb600_02', 2)
    sprite('hb600_03', 6)
    SFX_0('019_cloth_b')
    sprite('hb600_04', 6)
    sprite('hb600_05', 6)
    sprite('hb600_06', 6)
    sprite('hb600_07', 6)
    sprite('hb600_08', 6)
    sprite('hb600_09', 6)
    sprite('hb600_10', 7)
    sprite('hb600_11', 7)
    sprite('hb600_12', 7)
    sprite('hb600_13', 20)
    sprite('hb600_14', 6)
    teleportRelativeX(10000)
    sprite('hb600_15', 6)
    teleportRelativeX(5000)
    sprite('hb600_16', 6)
    teleportRelativeX(45000)
    sprite('hb600_17', 6)
    teleportRelativeX(25000)
    sprite('hb000_00', 1)
    teleportRelativeX(20000)
    Unknown1000(-260000)
    loopRest()
    enterState('CmnActStand')

@State
def Act2Event_EntryB1():
    sprite('hb603_00', 32767)
    loopRest()

@State
def Act2Event_EntryB2():
    sprite('hb603_00', 7)
    sprite('hb603_01', 7)
    sprite('hb603_02', 7)
    sprite('hb603_03', 10)
    sprite('hb603_04', 7)
    sprite('hb603_05', 6)
    sprite('hb603_06', 6)
    loopRest()
    enterState('CmnActStand')

@State
def Act2Event_Reaction():
    sprite('hb001_00', 7)
    sprite('hb001_01', 7)
    sprite('hb001_02', 7)
    sprite('hb001_03', 8)
    sprite('hb001_04', 8)
    sprite('hb001_05', 8)
    sprite('hb001_06', 7)
    sprite('hb001_05', 5)
    sprite('hb001_04', 5)
    sprite('hb001_03', 5)
    sprite('hb001_02', 10)
    sprite('hb001_03', 8)
    sprite('hb001_04', 8)
    sprite('hb001_05', 8)
    sprite('hb001_06', 7)
    sprite('hb001_05', 5)
    sprite('hb001_04', 5)
    sprite('hb001_03', 5)
    sprite('hb001_01', 7)
    sprite('hb001_00', 7)
    loopRest()
    enterState('CmnActStand')

@State
def Act2Event_Win1():
    sprite('hb611_00', 7)
    sprite('hb611_01', 7)
    label(0)
    sprite('hb611_02', 6)
    sprite('hb611_03', 6)
    sprite('hb611_04', 6)
    loopRest()
    gotoLabel(0)

@State
def Act2Event_Win2():
    sprite('keep', 1)
    sprite('hb611_05', 7)
    sprite('hb611_06', 7)
    sprite('hb611_07', 6)
    SFX_3('hbse_08')
    GFX_0('hbef_crow', 100)
    Unknown36(1)
    teleportRelativeX(-10000)
    Unknown1007(20000)
    Unknown35()
    Unknown3025(0, 18)
    sprite('hb611_08', 6)
    sprite('hb611_09', 6)
    sprite('hb611_07', 6)
    Unknown3038(1)
    Unknown13044(1)
    GFX_0('hbef_crow', 100)
    Unknown36(1)
    teleportRelativeX(-10000)
    Unknown1007(20000)
    Unknown35()
    GFX_0('hbef_611_shadow_Event', 100)
    sprite('hb611_08', 6)
    Unknown3004(-10)
    sprite('hb611_09', 6)
    sprite('hb611_07', 6)
    Unknown21011(30)
    GFX_0('hbef_crow', 100)
    Unknown36(1)
    teleportRelativeX(-10000)
    Unknown1007(20000)
    Unknown35()
    sprite('hb611_08', 6)
    sprite('hb611_09', 6)
    Unknown3038(1)
    sprite('hb611_07', 6)
    sprite('hb611_08', 6)
    sprite('hb611_09', 6)
    label(9)
    sprite('hb611_07', 6)
    sprite('hb611_08', 6)
    sprite('hb611_09', 6)
    loopRest()
    gotoLabel(9)

@State
def Act2Event_Chouhatsu():
    sprite('hb300_00', 6)
    sprite('hb300_01', 6)
    sprite('hb300_02', 6)
    sprite('hb300_03', 32767)
    loopRest()

@State
def Act2Event_ChouhatsuEnd():
    sprite('keep', 2)
    sprite('hb300_02', 6)
    sprite('hb300_01', 6)
    sprite('hb300_00', 6)
    loopRest()
    enterState('CmnActStand')

@State
def Act2Event_Down():
    sprite('hb060_14', 32767)
    loopRest()

@State
def Act2EventYorokeDown():
    sprite('hb070_04', 4)
    sprite('hb070_05', 4)
    sprite('hb070_06', 4)
    sprite('hb070_07', 4)
    sprite('hb070_08', 4)
    sprite('hb070_09', 4)
    GFX_1('ef_grndshock', 104)
    SFX_0('209_down_normal_0')
    sprite('hb063_11', 32767)

@State
def Act2Event_DownEnd():
    sprite('keep', 2)
    sprite('hb061_00', 4)
    sprite('hb061_01', 4)
    sprite('hb061_02', 4)
    sprite('hb061_03', 4)
    sprite('hb061_04', 4)
    sprite('hb061_05', 4)
    sprite('hb061_06', 3)
    sprite('hb061_07', 3)
    sprite('hb061_08', 3)
    sprite('hb061_09', 3)
    loopRest()
    enterState('CmnActStand')

@State
def Act2Event_hbvstb_00():

    def upon_IMMEDIATE():
        Unknown2034(0)
    sprite('hb003_00', 3)
    sprite('hb003_01', 3)
    sprite('hb003_00ex01', 3)
    Unknown2005()
    sprite('hb032_00', 2)
    physicsXImpulse(24000)
    sprite('hb032_01', 2)
    sprite('hb032_02', 4)
    sprite('hb032_03', 4)
    Unknown8006(100, 1, 1)
    sprite('hb032_04', 4)
    sprite('hb032_05', 4)
    sprite('hb032_06', 4)
    Unknown8006(100, 1, 1)
    sprite('hb032_07', 4)
    sprite('hb032_08', 4)
    sprite('hb032_02', 4)
    sprite('hb032_03', 4)
    Unknown8006(100, 1, 1)
    sprite('hb032_04', 4)
    sprite('hb032_05', 4)
    sprite('hb032_06', 4)
    Unknown8006(100, 1, 1)
    sprite('hb032_07', 4)
    sprite('hb032_08', 4)
    sprite('null', 32767)
    Unknown1084(1)
    loopRest()

@State
def Act2Event_hbvsaz_00():

    def upon_IMMEDIATE():
        Unknown1000(-900000)
        Unknown2034(0)
        sendToLabelUpon(2, 1)

    def upon_CLEAR_OR_EXIT():
        if SLOT_38:
            if (SLOT_22 < 160000):
                sendToLabel(0)
                clearUponHandler(3)
        elif (SLOT_22 > (-160000)):
            sendToLabel(0)
            clearUponHandler(3)
    sprite('hb032_00', 2)
    physicsXImpulse(24000)
    sprite('hb032_01', 2)
    label(9)
    sprite('hb032_02', 4)
    sprite('hb032_03', 4)
    Unknown8006(100, 1, 1)
    sprite('hb032_04', 4)
    sprite('hb032_05', 4)
    sprite('hb032_06', 4)
    Unknown8006(100, 1, 1)
    sprite('hb032_07', 4)
    sprite('hb032_08', 4)
    loopRest()
    gotoLabel(9)
    label(0)
    sprite('hb032_09', 3)
    physicsXImpulse(0)
    Unknown1045(5000)
    sprite('hb032_10', 3)
    sprite('hb032_11', 3)
    sprite('hb032_12', 3)
    sprite('hb033_00', 2)
    Unknown1084(1)
    sprite('hb033_01', 2)
    physicsXImpulse(-24000)
    physicsYImpulse(6800)
    setGravity(2000)
    Unknown8002()
    sprite('hb033_02', 2)
    sprite('hb033_03', 2)
    sprite('hb033_04', 32767)
    label(1)
    sprite('hb033_05', 2)
    Unknown1084(1)
    Unknown1000(-260000)
    Unknown8000(100, 1, 1)
    sprite('hb033_06', 3)
    sprite('hb033_07', 3)
    sprite('hb033_08', 3)
    loopRest()
    enterState('CmnActStand')

@State
def Act2Event_hbvsaz_01():

    def upon_IMMEDIATE():
        Unknown1000(-160000)
    sprite('hb090_00', 15)
    Unknown4046(-16744193, -16764673, -16776961)
    Unknown4045('65665f676972646d00000000000000000000000000000000000000000000000067000000')
    SFX_0('105_guard_slash_2')
    Unknown1047(-11000)
    ScreenShake(5000, 20000)
    sprite('hb090_01', 6)
    sprite('hb090_02', 6)
    sprite('hb090_03', 6)
    sprite('hb090_04', 6)
    loopRest()
    enterState('CmnActStand')

@State
def Act2Event_hbvsaz_02():
    sprite('hb070_13', 5)
    GFX_0('Act2Event_Yure', -1)
    sprite('hb070_12', 5)
    sprite('hb070_11', 5)
    sprite('hb070_10', 32767)
    loopRest()

@State
def Act2Event_hzvshb_00():

    def upon_IMMEDIATE():
        Unknown2034(0)
    sprite('hb032_00', 2)
    physicsXImpulse(18000)
    sprite('hb032_01', 2)
    sprite('hb032_02', 4)
    sprite('hb032_03', 4)
    Unknown8006(100, 1, 1)
    physicsXImpulse(0)
    Unknown1047(10000)
    sprite('hb032_09', 5)
    sprite('hb032_10', 5)
    sprite('hb032_11', 5)
    sprite('hb032_12', 7)
    Unknown1084(1)
    sprite('hb000_00', 7)
    sprite('hb000_01', 7)
    sprite('hb000_02', 7)
    sprite('hb000_03', 7)
    sprite('hb000_04', 7)
    sprite('hb000_05', 7)
    sprite('hb000_06', 7)
    sprite('hb000_07', 7)
    sprite('hb000_08', 7)
    sprite('hb611_00', 6)
    sprite('hb611_01', 6)
    label(0)
    sprite('hb611_02', 6)
    sprite('hb611_03', 6)
    sprite('hb611_04', 6)
    loopRest()
    gotoLabel(0)

@State
def Act2Event_muvshb_00():

    def upon_IMMEDIATE():
        teleportRelativeY(700000)
        clearUponHandler(2)
        sendToLabelUpon(2, 0)
    sprite('null', 1)
    SFX_3('hbse_02')
    SFX_0('007_swing_knife_0')
    teleportRelativeX(-105000)
    GFX_0('Kunai_Event', -1)
    Unknown21007(1, 32)
    sprite('null', 1)
    GFX_0('Kunai_Event', -1)
    Unknown21007(1, 33)
    sprite('null', 1)
    GFX_0('Kunai_Event', -1)
    Unknown21007(1, 34)
    sprite('null', 60)
    sprite('hb600_00', 32767)
    Unknown3026(-13421773)
    physicsYImpulse(-30000)
    Unknown1043()
    Unknown3038(0)
    GFX_0('hbef_600_feather', 100)
    Unknown3029(1)
    Unknown3069(1)
    Unknown3070(2)
    Unknown3071(3)
    Unknown3072('7f000000000000000000000000000000')
    Unknown3073('00000000000000000000000000000000')
    SFX_0('000_airdash_1')
    label(0)
    sprite('hb600_01', 6)
    Unknown26('hbef_600_feather')
    GFX_0('hbef_600_feather2', 100)
    SFX_0('208_brake_normal')
    SFX_0('204_runjump_normal_1')
    Unknown3025(-1, 16)
    sprite('hb600_02', 2)
    Unknown3029(0)
    sprite('hb600_02', 2)
    sprite('hb600_03', 6)
    SFX_0('019_cloth_b')
    sprite('hb600_04', 6)
    sprite('hb600_05', 6)
    sprite('hb600_06', 6)
    sprite('hb600_07', 6)
    sprite('hb600_08', 6)
    sprite('hb600_09', 6)
    sprite('hb600_10', 7)
    sprite('hb600_11', 7)
    sprite('hb600_12', 7)
    sprite('hb600_13', 20)
    sprite('hb600_14', 6)
    teleportRelativeX(10000)
    sprite('hb600_15', 6)
    teleportRelativeX(5000)
    sprite('hb600_16', 6)
    teleportRelativeX(45000)
    sprite('hb600_17', 6)
    teleportRelativeX(25000)
    sprite('hb000_00', 1)
    teleportRelativeX(20000)
    Unknown1000(-260000)
    loopRest()
    enterState('CmnActStand')

@State
def Act2Event_muvshb_01():

    def upon_IMMEDIATE():
        Unknown1000(-160000)
    sprite('hb070_00', 15)
    Unknown4052()
    Unknown4045('65665f6869746d7a00000000000000000000000000000000000000000000000067000000')
    SFX_0('101_hit_slash_1')
    Unknown1047(-11000)
    ScreenShake(5000, 20000)
    sprite('hb070_01', 3)
    sprite('hb070_02', 4)
    sprite('hb070_03', 32767)
    loopRest()

@State
def Act2Event_muvshb_02():
    sprite('hb070_04', 5)
    sprite('hb070_05', 5)
    sprite('hb070_06', 5)
    sprite('hb070_07', 5)
    sprite('hb070_08', 5)
    sprite('hb070_09', 5)
    sprite('hb063_11', 32767)
    SFX_0('209_down_normal_0')
    loopRest()

@State
def Act2Event_hbvsmi_00():
    sprite('keep', 32767)
    GFX_0('Act2Event_Fade', -1)
    SFX_0('022_magiccircle_c')
    Unknown3004(-4)
    Unknown36(22)
    Unknown3004(-4)
    Unknown35()
    loopRest()

@State
def Act3Event_muvshb_00():

    def upon_IMMEDIATE():
        Unknown2003(1)
    sprite('hb202_00', 3)
    sprite('hb202_01', 4)
    sprite('hb202_02', 2)
    sprite('hb202_03', 3)
    GFX_0('hbef_202_slash', 100)
    SFX_0('009_swing_rapier_1')
    sprite('hb202_04', 5)
    sprite('hb202_05', 5)
    sprite('hb202_06', 5)
    sprite('hb202_07', 5)
    sprite('hb202_08', 4)
    sprite('hb202_09', 4)
    loopRest()
    enterState('CmnActStand')

@State
def Act3Event_muvshb_01():

    def upon_IMMEDIATE():
        Unknown1000(-160000)
    sprite('hb000_00', 7)
    sprite('hb070_00', 19)
    Unknown4052()
    Unknown4045('65665f6869746c7a00000000000000000000000000000000000000000000000067000000')
    SFX_0('101_hit_slash_2')
    ScreenShake(1000, 20000)
    sprite('hb070_00', 4)
    Unknown1047(-11000)
    sprite('hb070_01', 4)
    sprite('hb070_02', 4)
    sprite('hb070_03', 32767)
    loopRest()

@State
def Act3Event_muvshb_02():
    sprite('hb070_04', 5)
    sprite('hb070_05', 5)
    sprite('hb070_06', 5)
    sprite('hb070_07', 5)
    sprite('hb070_08', 5)
    sprite('hb070_09', 5)
    sprite('hb063_11', 32767)
    Unknown8000(100, 1, 1)
    SFX_0('209_down_normal_0')

@State
def Act3Event_muvshb_03():
    sprite('hb064_00', 3)
    sprite('hb064_01', 3)
    sprite('hb064_02', 3)
    sprite('hb064_03', 3)
    sprite('hb064_04', 3)
    sprite('hb064_05', 3)
    sprite('hb064_06', 3)
    sprite('hb064_07', 3)
    sprite('hb064_08', 3)
    sprite('hb064_09', 3)
    loopRest()
    enterState('CmnActStand')

@State
def Act3Event_hbvstb_00():
    sprite('hb001_00', 7)
    sprite('hb001_01', 7)
    sprite('hb001_02', 7)
    label(0)
    sprite('hb001_03', 8)
    sprite('hb001_04', 8)
    sprite('hb001_05', 8)
    sprite('hb001_06', 7)
    sprite('hb001_05', 5)
    sprite('hb001_04', 5)
    sprite('hb001_03', 5)
    sprite('hb001_02', 20)
    loopRest()
    gotoLabel(0)

@State
def Act3Event_hbvstb_01():
    sprite('hb001_01', 7)
    sprite('hb001_00', 7)
    loopRest()
    enterState('CmnActStand')
endState()

@State
def Act3Event_hbvstb_02():
    sprite('hb615_00', 4)
    sprite('hb615_01', 4)
    sprite('hb615_02', 7)
    SFX_3('hbse_07')
    sprite('hb615_03', 7)
    GFX_0('hbef_615_hibana', 0)
    sprite('hb615_04', 7)
    sprite('hb615_05', 7)
    sprite('hb615_06', 7)
    sprite('hb615_07', 7)
    sprite('hb615_08', 32767)

@State
def Act3Event_hbvstb_03():

    def upon_IMMEDIATE():

        def upon_STATE_END():
            teleportRelativeX(120000)
    sprite('hb211_19', 4)
    teleportRelativeX(-120000)
    SFX_0('011_spin_1')
    sprite('hb211_20', 4)
    sprite('hb211_21', 4)
    sprite('hb211_22', 4)
    sprite('hb211_23', 5)
    sprite('hb211_24', 5)
    loopRest()
    enterState('CmnActStand')

@State
def Act3Event_hbvstb_04():

    def upon_IMMEDIATE():
        Unknown2003(1)
    sprite('hb202_00', 2)
    sprite('hb202_01', 3)
    sprite('hb202_02', 2)
    sprite('hb202_03', 16)
    GFX_0('hbef_202_slash', 100)
    SFX_0('009_swing_rapier_1')
    sprite('hb202_04', 5)
    sprite('hb202_05', 5)
    sprite('hb202_06', 5)
    sprite('hb202_07', 5)
    sprite('hb202_08', 4)
    sprite('hb202_09', 4)
    loopRest()
    enterState('CmnActStand')

@State
def Act3Event_hbvstb_05():
    sprite('keep', 2)
    sprite('hb611_01', 7)
    sprite('hb611_00', 7)
    loopRest()
    enterState('CmnActStand')

@State
def Act3Event_hbvstb_06():
    sprite('hb611_00', 7)
    sprite('hb611_01', 7)
    sprite('hb611_05', 7)
    sprite('hb611_06', 7)
    sprite('hb611_07', 6)
    SFX_3('hbse_08')
    GFX_0('hbef_crow', 100)
    Unknown36(1)
    teleportRelativeX(-10000)
    Unknown1007(20000)
    Unknown35()
    Unknown3025(0, 18)
    sprite('hb611_08', 6)
    sprite('hb611_09', 6)
    sprite('hb611_07', 6)
    Unknown3038(1)
    Unknown13044(1)
    GFX_0('hbef_crow', 100)
    Unknown36(1)
    teleportRelativeX(-10000)
    Unknown1007(20000)
    Unknown35()
    GFX_0('hbef_611_shadow_Event', 100)
    sprite('hb611_08', 6)
    Unknown3004(-10)
    sprite('hb611_09', 6)
    sprite('hb611_07', 6)
    Unknown21011(30)
    GFX_0('hbef_crow', 100)
    Unknown36(1)
    teleportRelativeX(-10000)
    Unknown1007(20000)
    Unknown35()
    sprite('hb611_08', 6)
    sprite('hb611_09', 6)
    Unknown3038(1)
    sprite('hb611_07', 6)
    sprite('hb611_08', 6)
    sprite('hb611_09', 6)
    label(9)
    sprite('hb611_07', 6)
    sprite('hb611_08', 6)
    sprite('hb611_09', 6)
    loopRest()
    gotoLabel(9)

@State
def Act3Event_hbvsno_00():
    sprite('hb203_00', 5)
    sprite('hb203_01', 5)
    sprite('hb203_02', 5)
    label(0)
    sprite('hb203_03', 5)
    sprite('hb203_04', 5)
    sprite('hb203_05', 5)
    loopRest()
    gotoLabel(0)

@State
def Act3Event_hbvsno_01():
    sprite('hb203_01', 5)
    sprite('hb203_00', 5)
    loopRest()
    enterState('CmnActStand')

@State
def Act3Event_hbvshz_00():
    sprite('hb333_00', 5)
    sprite('hb333_01', 5)
    sprite('hb333_02', 5)
    sprite('hb333_03', 32767)

@State
def Act3Event_hbvshz_01():
    sprite('keep', 2)
    sprite('hb333_04', 3)
    Unknown4049(1500)
    Unknown4004('4775617264437275736857696e64000000000000000000000000000000000000ffff0000')
    Unknown36(1)
    Unknown1096(1200)
    Unknown35()
    SFX_0('302_spsys_drivemotion')
    SFX_0('302_spsys_burst')
    ScreenShake(3000, 60000)
    Unknown2037(3)
    label(0)
    sprite('hb333_05', 5)
    Unknown2038(-1)
    sprite('hb333_06', 5)
    sprite('hb333_07', 5)
    loopRest()
    if SLOT_2:
        _gotolabel(0)
    sprite('hb333_08', 5)
    sprite('hb333_09', 5)
    loopRest()
    enterState('CmnActStand')

@State
def Act3Event_5DLoop():
    sprite('hb203_00', 5)
    sprite('hb203_01', 5)
    sprite('hb203_02', 5)
    label(0)
    sprite('hb203_03', 5)
    sprite('hb203_04', 5)
    sprite('hb203_05', 5)
    loopRest()
    gotoLabel(0)

@State
def Act3Event_5DLoopEnd():
    sprite('hb203_01', 5)
    sprite('hb203_00', 5)
    loopRest()
    enterState('CmnActStand')

@State
def Act3Event_kgvshb_00():

    def upon_IMMEDIATE():
        Unknown1000(-160000)
        sendToLabelUpon(32, 1)
    label(0)
    sprite('hb000_00', 7)
    sprite('hb000_01', 7)
    sprite('hb000_02', 7)
    sprite('hb000_03', 7)
    sprite('hb000_04', 7)
    sprite('hb000_05', 7)
    sprite('hb000_06', 7)
    sprite('hb000_07', 7)
    sprite('hb000_08', 7)
    sprite('hb000_09', 7)
    loopRest()
    gotoLabel(0)
    label(1)
    sprite('hb052_03', 17)
    Unknown4049(1500)
    Unknown4045('65665f6869746d6400000000000000000000000000000000000000000000000067000000')
    SFX_0('100_hit_grap_3')
    ScreenShake(1000, 20000)
    sprite('hb052_03', 32767)
    Unknown1047(-11000)
    loopRest()

@State
def Act3Event_kgvshb_01():
    sprite('hb052_03', 6)
    sprite('hb052_02', 6)
    sprite('hb052_01', 6)
    sprite('hb052_00', 6)
    loopRest()
    enterState('CmnActStand')

@State
def Act3Event_DownWait():
    sprite('hb060_14', 32767)

@State
def Act3Event_DownToStand():
    sprite('hb061_00', 4)
    sprite('hb061_01', 4)
    sprite('hb061_02', 4)
    sprite('hb061_03', 4)
    sprite('hb061_04', 4)
    sprite('hb061_05', 4)
    sprite('hb061_06', 3)
    sprite('hb061_07', 3)
    sprite('hb061_08', 3)
    sprite('hb061_09', 3)
    loopRest()
    enterState('CmnActStand')

@State
def Act3Event_Smile():
    sprite('hb300_00', 6)
    sprite('hb300_01', 6)
    sprite('hb300_02', 6)
    sprite('hb300_03', 6)
    sprite('hb300_04', 6)
    sprite('hb300_05', 6)
    sprite('hb300_06', 6)
    sprite('hb300_07', 6)
    sprite('hb300_08', 32767)
    loopRest()

@State
def Act3Event_blvshb_00():
    sprite('keep', 2)
    teleportRelativeX(90000)
    loopRest()
    enterState('CmnActStand')

@State
def Act3Event_blvshb_01():
    sprite('keep', 2)
    sendToLabelUpon(32, 1)
    sprite('hb300_02', 6)
    sprite('hb300_01', 6)
    sprite('hb300_00', 6)
    loopRest()
    label(0)
    sprite('hb000_00', 7)
    sprite('hb000_01', 7)
    sprite('hb000_02', 7)
    sprite('hb000_03', 7)
    sprite('hb000_04', 7)
    sprite('hb000_05', 7)
    sprite('hb000_06', 7)
    sprite('hb000_07', 7)
    sprite('hb000_08', 7)
    sprite('hb000_09', 7)
    loopRest()
    gotoLabel(0)
    label(1)
    sprite('hb033_00', 2)
    sprite('hb033_01', 2)
    physicsXImpulse(-12000)
    physicsYImpulse(4800)
    setGravity(2000)
    Unknown8002()
    sendToLabelUpon(2, 2)
    sprite('hb033_02', 2)
    setInvincible(0)
    sprite('hb033_03', 2)
    sprite('hb033_04', 32767)
    label(2)
    sprite('hb033_05', 2)
    clearUponHandler(2)
    physicsXImpulse(0)
    Unknown8000(100, 1, 1)
    sprite('hb033_06', 3)
    sprite('hb033_07', 3)
    sprite('hb033_08', 2)
    loopRest()
    enterState('CmnActStand')

@State
def Act3Event_BNvsHB00():

    def upon_IMMEDIATE():
        Unknown3001(0)
        Unknown1000(-50000)
    sprite('hb603_00', 6)
    SFX_3('hbse_08')
    GFX_0('hbef_crow', 100)
    Unknown36(1)
    teleportRelativeX(-100000)
    Unknown1007(20000)
    Unknown35()
    Unknown3025(0, 18)
    sprite('hb603_00', 6)
    sprite('hb603_00', 6)
    sprite('hb603_00', 6)
    Unknown13044(1)
    GFX_0('hbef_crow', 100)
    Unknown36(1)
    teleportRelativeX(-100000)
    Unknown1007(20000)
    Unknown35()
    GFX_0('Act3Event_BNvsHB00shadow', 100)
    sprite('hb603_00', 6)
    Unknown3004(10)
    sprite('hb603_00', 6)
    sprite('hb603_00', 6)
    GFX_0('hbef_crow', 100)
    Unknown36(1)
    teleportRelativeX(-100000)
    Unknown1007(20000)
    Unknown35()
    sprite('hb603_00', 6)
    Unknown13044(0)
    Unknown3026(0)
    Unknown3025(-1, 10)
    GFX_0('hbef_D_feather', 100)
    sprite('hb603_00', 32767)
    loopRest()

@State
def Act3Event_BNvsHB01():

    def upon_IMMEDIATE():
        sendToLabelUpon(32, 0)
    sprite('hb603_00', 32767)
    loopRest()
    label(0)
    sprite('hb603_00', 6)
    SFX_3('hbse_08')
    Unknown3004(-10)
    GFX_0('hbef_crow', 100)
    Unknown36(1)
    teleportRelativeX(-100000)
    Unknown1007(20000)
    Unknown35()
    Unknown3025(0, 18)
    sprite('hb603_00', 6)
    sprite('hb603_00', 6)
    sprite('hb603_00', 6)
    Unknown13044(1)
    GFX_0('hbef_crow', 100)
    Unknown36(1)
    teleportRelativeX(-100000)
    Unknown1007(20000)
    Unknown35()
    sprite('hb603_00', 6)
    sprite('hb603_00', 6)
    sprite('hb603_00', 6)
    GFX_0('hbef_crow', 100)
    Unknown36(1)
    teleportRelativeX(-100000)
    Unknown1007(20000)
    Unknown35()
    sprite('hb603_00', 6)
    Unknown13044(0)
    sprite('null', 32767)
    Unknown3038(1)
    Unknown1000(-260000)
    loopRest()

@State
def Act3Event_2DLoopEnd():
    sprite('hb234_10', 6)
    sprite('hb234_11', 6)
    sprite('hb234_12', 6)
    sprite('hb010_01', 4)
    sprite('hb010_00', 4)
    loopRest()
    enterState('CmnActStand')

@State
def Act3Event_BNvsHB02():

    def upon_IMMEDIATE():
        sendToLabelUpon(32, 1)
        Unknown1000(-160000)
    label(0)
    sprite('hb000_00', 7)
    sprite('hb000_01', 7)
    sprite('hb000_02', 7)
    sprite('hb000_03', 7)
    sprite('hb000_04', 7)
    sprite('hb000_05', 7)
    sprite('hb000_06', 7)
    sprite('hb000_05', 7)
    sprite('hb000_04', 7)
    sprite('hb000_03', 7)
    sprite('hb000_02', 7)
    sprite('hb000_01', 7)
    loopRest()
    gotoLabel(0)
    label(1)
    sprite('hb090_00', 15)
    Unknown4046(-16744193, -16764673, -16776961)
    Unknown4045('65665f676972646d00000000000000000000000000000000000000000000000067000000')
    SFX_0('104_guard_grap_2')
    Unknown1047(-11000)
    ScreenShake(5000, 20000)
    sprite('hb090_01', 6)
    sprite('hb090_02', 6)
    sprite('hb090_03', 6)
    sprite('hb090_04', 6)
    loopRest()
    enterState('CmnActStand')

@State
def Act3Event_BNvsHB03():
    sprite('hb611_00', 7)
    Unknown2004(1, 0)
    sprite('hb611_01', 7)
    sprite('hb611_02', 6)
    sprite('hb611_03', 6)
    sprite('hb611_04', 6)
    sprite('hb611_02', 6)
    sprite('hb611_03', 6)
    sprite('hb611_04', 6)
    sprite('hb611_02', 6)
    sprite('hb611_03', 6)
    sprite('hb611_04', 6)
    sprite('hb611_05', 7)
    sprite('hb611_06', 7)
    sprite('hb611_07', 6)
    SFX_3('hbse_08')
    GFX_0('hbef_crow', 100)
    Unknown36(1)
    teleportRelativeX(-10000)
    Unknown1007(20000)
    Unknown35()
    Unknown3025(0, 18)
    sprite('hb611_08', 6)
    sprite('hb611_09', 6)
    sprite('hb611_07', 6)
    Unknown3038(1)
    Unknown13044(1)
    GFX_0('hbef_crow', 100)
    Unknown36(1)
    teleportRelativeX(-10000)
    Unknown1007(20000)
    Unknown35()
    GFX_0('hbef_611_shadow', 100)
    sprite('hb611_08', 6)
    Unknown3004(-10)
    sprite('hb611_09', 6)
    sprite('hb611_07', 6)
    Unknown21011(30)
    GFX_0('hbef_crow', 100)
    Unknown36(1)
    teleportRelativeX(-10000)
    Unknown1007(20000)
    Unknown35()
    sprite('hb611_08', 6)
    sprite('hb611_09', 6)
    Unknown3038(1)
    sprite('hb611_07', 6)
    sprite('hb611_08', 6)
    sprite('hb611_09', 6)
    label(2)
    sprite('hb611_07', 6)
    sprite('hb611_08', 6)
    sprite('hb611_09', 6)
    loopRest()
    gotoLabel(2)

@State
def Act3Event_tbvshb_01():

    def upon_IMMEDIATE():
        Unknown1000(-60000)
        sendToLabelUpon(32, 1)
    sprite('hb312_02', 32767)
    label(1)
    sprite('hb090_00', 20)
    Unknown4046(-16744193, -16764673, -16776961)
    Unknown4045('65665f676972646d00000000000000000000000000000000000000000000000067000000')
    SFX_0('105_guard_slash_2')
    Unknown1047(-20000)
    ScreenShake(5000, 20000)
    sprite('hb090_01', 6)
    sprite('hb090_02', 6)
    sprite('hb090_03', 6)
    sprite('hb090_04', 6)
    loopRest()
    enterState('CmnActStand')