@State
def EMB_NY():

    def upon_IMMEDIATE():
        Unknown2007()
        Unknown1007(240000)
        Unknown2054(1)
        Unknown3038(1)
        Unknown4003('65665f656d625f4e592e4449470000000000000000000000000000000000000065665f656d625f4e595f6d6f74696f6e5f3030302e6d6d6f7400000000000000')
        Unknown23015(5)
        Unknown3033()
    sprite('null', 10)	# 1-10
    Unknown3026(-16777216)
    Unknown3025(-16776961, 10)
    sprite('null', 10)	# 11-20
    Unknown3025(-8342273, 10)
    sprite('null', 10)	# 21-30
    Unknown3025(-1, 10)
    sprite('null', 15)	# 31-45
    sprite('null', 15)	# 46-60
    Unknown3025(-8342273, 10)
    Unknown3001(150)
    Unknown3004(-10)
    Unknown1099(200)

@State
def EMB_NY_OD():

    def upon_IMMEDIATE():
        Unknown2007()
        Unknown1007(240000)
        Unknown2054(1)
        Unknown3038(1)
        Unknown4003('65665f656d625f4e592e4449470000000000000000000000000000000000000065665f656d625f4e595f6d6f74696f6e5f3030302e6d6d6f7400000000000000')
        Unknown23015(5)
        Unknown3033()
    sprite('null', 10)	# 1-10
    Unknown3026(-16777216)
    Unknown3025(-1, 10)
    sprite('null', 10)	# 11-20
    Unknown3025(-8342273, 10)
    sprite('null', 10)	# 21-30
    Unknown3025(-16744193, 10)
    sprite('null', 15)	# 31-45
    sprite('null', 15)	# 46-60
    Unknown3025(-16744193, 10)
    Unknown3001(150)
    Unknown3004(-10)
    Unknown1099(200)

@State
def EMB_NY_AH():

    def upon_IMMEDIATE():
        Unknown2007()
        Unknown1007(240000)
        Unknown2054(1)
        Unknown4003('65665f656d625f4e592e4449470000000000000000000000000000000000000065665f656d625f4e595f6d6f74696f6e5f3030302e6d6d6f7400000000000000')
        Unknown23015(5)
    sprite('null', 10)	# 1-10
    Unknown3026(-16777216)
    Unknown3025(-65536, 10)
    sprite('null', 10)	# 11-20
    Unknown3025(-55256, 10)
    sprite('null', 10)	# 21-30
    Unknown3025(-19276, 10)
    sprite('null', 10)	# 31-40
    Unknown3025(-65536, 10)
    sprite('null', 20)	# 41-60

@State
def EF_ny300():

    def upon_IMMEDIATE():
        Unknown4007(3)
        Unknown4010(3)
        Unknown4061(1)
        Unknown1007(-30000)
    sprite('vrnyef300_parts1_00', 2)	# 1-2
    sprite('vrnyef300_parts1_01', 2)	# 3-4
    sprite('vrnyef300_parts1_02', 2)	# 5-6
    sprite('vrnyef300_parts1_03', 2)	# 7-8
    sprite('vrnyef300_parts1_04', 2)	# 9-10
    GFX_0('EF_ny300_parts2', 0)
    SFX_3('nyse_31')
    sprite('vrnyef300_parts1_05', 2)	# 11-12
    sprite('vrnyef300_parts1_06', 2)	# 13-14
    sprite('vrnyef300_parts1_07', 1)	# 15-15
    sprite('vrnyef300_parts1_08', 1)	# 16-16
    sprite('vrnyef300_parts1_09', 1)	# 17-17
    sprite('vrnyef300_parts1_10', 1)	# 18-18
    sprite('vrnyef300_parts1_11', 1)	# 19-19
    sprite('vrnyef300_parts1_12', 35)	# 20-54
    sprite('vrnyef300_parts1_12', 12)	# 55-66
    Unknown3004(-20)
    Unknown3032()
    GFX_0('DIST_NY5D', 0)
    GFX_1('nyef_cfanneldel', 0)

@State
def EF_ny300_parts2():

    def upon_IMMEDIATE():
        Unknown4007(3)
        Unknown4010(2)
        Unknown4061(1)
        Unknown3033()
        teleportRelativeY(275000)
        Unknown1000(120000)
    sprite('vrnyef300_parts2_00', 5)	# 1-5
    Unknown3001(0)
    Unknown3004(50)
    sprite('vrnyef300_parts2_00', 3)	# 6-8
    Unknown1067(0)
    GFX_0('EF_ny300_parts3', 0)
    sprite('vrnyef300_parts2_00', 36)	# 9-44
    sprite('vrnyef300_parts2_00', 12)	# 45-56
    Unknown3004(-20)
    Unknown3032()

@State
def EF_ny300_parts3():

    def upon_IMMEDIATE():
        Unknown4007(3)
        Unknown4010(2)
        Unknown4061(1)
        Unknown3033()
        teleportRelativeY(320000)
        Unknown1000(95000)
    sprite('vrnyef300_parts3_00', 5)	# 1-5
    Unknown3001(0)
    Unknown3004(50)
    sprite('vrnyef300_parts3_00', 1)	# 6-6
    GFX_0('EF_ny300_parts4', 0)
    sprite('vrnyef300_parts3_00', 30)	# 7-36
    sprite('vrnyef300_parts3_00', 12)	# 37-48
    Unknown3004(-20)
    Unknown3032()

@State
def EF_ny300_parts4():

    def upon_IMMEDIATE():
        Unknown4007(3)
        Unknown4010(2)
        Unknown4061(1)
        Unknown3033()
        teleportRelativeY(248000)
        Unknown1000(30000)
    sprite('vrnyef300_parts5_00', 5)	# 1-5
    Unknown3001(0)
    Unknown3004(50)
    sprite('vrnyef300_parts5_00', 1)	# 6-6
    GFX_0('EF_ny300_parts5', 0)
    sprite('vrnyef300_parts5_00', 26)	# 7-32
    sprite('vrnyef300_parts5_00', 12)	# 33-44
    Unknown3004(-20)
    Unknown3032()

@State
def EF_ny300_parts5():

    def upon_IMMEDIATE():
        Unknown4007(3)
        Unknown4010(2)
        Unknown4061(1)
        Unknown3033()
        teleportRelativeY(300000)
        Unknown1000(36000)
    sprite('vrnyef300_parts4_00', 4)	# 1-4
    Unknown3001(0)
    Unknown3004(50)
    sprite('vrnyef300_parts4_00', 22)	# 5-26
    sprite('vrnyef300_parts4_00', 12)	# 27-38
    SFX_3('nyse_30')
    Unknown3004(-20)
    Unknown3032()

@State
def NY_ActP2_Down():

    def upon_IMMEDIATE():
        Unknown4007(3)
        teleportRelativeX(32000)
        Unknown1007(0)
        GFX_2('nyef_act2_down')
        Unknown3001(255)
    sprite('null', 200)	# 1-200
    Unknown3004(-5)

@Subroutine
def ZanzoInitTypeB():
    Unknown4009(3)
    Unknown4007(3)
    Unknown4010(3)
    Unknown3053(1)
    Unknown3033()
    Unknown4061(1)

@State
def __5AAAZanzo():

    def upon_IMMEDIATE():
        callSubroutine('ZanzoInitTypeB')
        Unknown3040(1)
        Unknown3041(14)
        Unknown3042(209)
        Unknown3043(210)
        Unknown3044(-2147483398)
    sprite('vrnyef213_f00', 8)	# 1-8
    Unknown3001(0)
    Unknown3004(20)
    sprite('vrnyef213_f00', 8)	# 9-16

@Subroutine
def Funnel5BReset():
    Unknown4009(3)
    Unknown4007(3)
    Unknown4010(3)
    Unknown1007(300000)
    teleportRelativeX(-100000)
    Unknown4019(3)
    Unknown2019(1)
    Unknown4061(0)

@State
def FunnelRevive():

    def upon_IMMEDIATE():
        callSubroutine('Funnel5BReset')
    sprite('ny202_f19', 2)	# 1-2
    sprite('ny202_f20', 2)	# 3-4
    sprite('ny202_f21', 2)	# 5-6
    sprite('ny202_f22', 32767)	# 7-32773

@State
def Funnel5BMain():

    def upon_IMMEDIATE():
        callSubroutine('Funnel5BReset')

        def upon_43():
            if (SLOT_48 == 2021):
                sendToLabel(1)
            if (SLOT_48 == 2022):
                sendToLabel(2)
            if (SLOT_48 == 2023):
                sendToLabel(3)
            if (SLOT_48 == 2024):
                sendToLabel(4)
            if (SLOT_48 == 2025):
                sendToLabel(5)
            if (SLOT_48 == 2026):
                sendToLabel(6)
            if (SLOT_48 == 2027):
                sendToLabel(7)
            if (SLOT_48 == 2028):
                sendToLabel(8)
            if (SLOT_48 == 2029):
                clearUponHandler(43)
                sendToLabel(9)
    sprite('ny202_f01', 2)	# 1-2
    sprite('ny202_f02', 1)	# 3-3
    sprite('ny202_f03', 1)	# 4-4
    sprite('ny202_f04', 2)	# 5-6
    GFX_0('Funnel5B_Atk', -1)
    Unknown23029(1, 2021, 0)
    sprite('ny202_f05', 1)	# 7-7
    sprite('ny202_f05', 1)	# 8-8
    sprite('ny202_f06', 1)	# 9-9
    Unknown1072(3000)
    sprite('ny202_f06', 20)	# 10-29
    Unknown1072(0)
    sprite('ny202_f06', 10)	# 30-39
    physicsYImpulse(500)
    Unknown3004(-30)
    Unknown3032()
    loopRest()
    label(2)
    sprite('ny202_f06', 2)	# 40-41
    GFX_0('Funnel5B_Atk', -1)
    Unknown23029(1, 2022, 0)
    sprite('ny202_f07', 1)	# 42-42
    Unknown1072(3000)
    sprite('ny202_f07', 1)	# 43-43
    Unknown1072(0)
    sprite('ny202_f08', 1)	# 44-44
    Unknown1072(3000)
    sprite('ny202_f08', 20)	# 45-64
    Unknown1072(0)
    sprite('ny202_f08', 10)	# 65-74
    physicsYImpulse(500)
    Unknown3004(-30)
    Unknown3032()
    loopRest()
    label(3)
    sprite('ny202_f08', 2)	# 75-76
    GFX_0('Funnel5B_Atk', -1)
    Unknown23029(1, 2023, 0)
    sprite('ny202_f09', 1)	# 77-77
    Unknown1072(3000)
    sprite('ny202_f09', 1)	# 78-78
    Unknown1072(0)
    sprite('ny202_f10', 1)	# 79-79
    Unknown1072(3000)
    sprite('ny202_f10', 20)	# 80-99
    Unknown1072(0)
    sprite('ny202_f10', 10)	# 100-109
    physicsYImpulse(500)
    Unknown3004(-30)
    Unknown3032()
    loopRest()
    label(4)
    sprite('ny202_f10', 2)	# 110-111
    GFX_0('Funnel5B_Atk', -1)
    Unknown23029(1, 2024, 0)
    sprite('ny202_f11', 1)	# 112-112
    Unknown1072(3000)
    sprite('ny202_f11', 1)	# 113-113
    Unknown1072(0)
    sprite('ny202_f12', 1)	# 114-114
    Unknown1072(3000)
    sprite('ny202_f12', 20)	# 115-134
    Unknown1072(0)
    sprite('ny202_f12', 10)	# 135-144
    physicsYImpulse(500)
    Unknown3004(-30)
    Unknown3032()
    loopRest()
    label(5)
    sprite('ny202_f12', 2)	# 145-146
    GFX_0('Funnel5B_Atk', -1)
    Unknown23029(1, 2025, 0)
    sprite('ny202_f13', 1)	# 147-147
    Unknown1072(3000)
    sprite('ny202_f13', 1)	# 148-148
    Unknown1072(0)
    sprite('ny202_f14', 1)	# 149-149
    Unknown1072(3000)
    sprite('ny202_f14', 20)	# 150-169
    Unknown1072(0)
    sprite('ny202_f14', 10)	# 170-179
    physicsYImpulse(500)
    Unknown3004(-30)
    Unknown3032()
    loopRest()
    label(6)
    sprite('ny202_f14', 2)	# 180-181
    GFX_0('Funnel5B_Atk', -1)
    Unknown23029(1, 2026, 0)
    sprite('ny202_f15', 1)	# 182-182
    Unknown1072(3000)
    sprite('ny202_f15', 1)	# 183-183
    Unknown1072(0)
    sprite('ny202_f16', 1)	# 184-184
    Unknown1072(3000)
    sprite('ny202_f16', 20)	# 185-204
    Unknown1072(0)
    sprite('ny202_f16', 10)	# 205-214
    physicsYImpulse(500)
    Unknown3004(-30)
    Unknown3032()
    loopRest()
    label(7)
    sprite('ny202_f16', 2)	# 215-216
    GFX_0('Funnel5B_Atk', -1)
    Unknown23029(1, 2027, 0)
    sprite('ny202_f17', 1)	# 217-217
    Unknown1072(3000)
    sprite('ny202_f17', 1)	# 218-218
    Unknown1072(0)
    sprite('ny202_f18', 1)	# 219-219
    Unknown1072(3000)
    sprite('ny202_f18', 20)	# 220-239
    Unknown1072(0)
    sprite('ny202_f18', 10)	# 240-249
    physicsYImpulse(500)
    Unknown3004(-30)
    Unknown3032()
    loopRest()
    label(8)
    sprite('ny202_f18', 2)	# 250-251
    GFX_0('Funnel5B_Atk', -1)
    Unknown23029(1, 2028, 0)
    loopRest()
    label(9)
    sprite('null', 1)	# 252-252
    ExitState()

@State
def Funnel5B_Atk():

    def upon_IMMEDIATE():
        Unknown2009()
        Unknown4010(3)
        AttackLevel_(3)
        Damage(280)
        AttackP1(100)
        Unknown11092(1)
        AirPushbackY(15000)
        AirUntechableTime(23)
        hitstun(17)
        Hitstop(3)
        Unknown9016(1)
        Unknown11057(600)
        Unknown23182(2)
        Unknown30056('402bfeff3200000000000000')
        teleportRelativeX(-30000)
        Unknown1007(30000)
        Unknown4019(3)
        Unknown2019(-1)
        Unknown4061(0)
        Unknown1025(-4000, 4000)
        Unknown1026(-4000, 4000)

        def upon_43():
            if (SLOT_48 == 2021):
                Unknown1109(3000, 250000)
            if (SLOT_48 == 2022):
                Unknown1109(3000, 300000)
            if (SLOT_48 == 2023):
                Unknown1109(3000, 350000)
            if (SLOT_48 == 2024):
                Unknown1109(3000, 400000)
            if (SLOT_48 == 2025):
                Unknown1109(3000, 450000)
            if (SLOT_48 == 2026):
                Unknown1109(3000, 500000)
            if (SLOT_48 == 2027):
                Unknown1109(3000, 550000)
        Unknown23089('0100000001000000010000000100000001000000000000000100000001000000')
        sendToLabelUpon(54, 580)

        def upon_ON_HIT_OR_BLOCK():
            Unknown23029(3, 2030, 0)
        DisableAttackRestOfMove()
    sprite('null', 1)	# 1-1
    sprite('null', 1)	# 2-2
    Unknown1021(-10000)
    sprite('ny202_f18ex01', 2)	# 3-4
    SFX_3('nyse_29')
    sprite('ny202_f00atk', 2)	# 5-6
    sprite('ny202_f01atk', 1)	# 7-7
    sprite('ny202_f02atk', 1)	# 8-8	 **attackbox here**
    Unknown1028(100)
    sprite('ny202_f02atk', 1)	# 9-9	 **attackbox here**
    physicsYImpulse(0)
    physicsXImpulse(100000)
    sprite('ny202_f02atk', 4)	# 10-13	 **attackbox here**
    RefreshMultihit()
    loopRest()
    label(580)
    sprite('ny202_f02atk', 20)	# 14-33	 **attackbox here**
    Unknown1028(0)
    Unknown1019(-2)
    Unknown2001()
    Unknown3032()
    Unknown3001(120)
    Unknown3004(-10)
    GFX_1('nyef_cfanneldel', 0)

@State
def __2BZanzo():

    def upon_IMMEDIATE():
        callSubroutine('ZanzoInitTypeB')
        Unknown3040(1)
        Unknown3041(10)
        Unknown3042(209)
        Unknown3043(210)
        Unknown3044(-2147483398)
    sprite('vrnyef232_f00', 6)	# 1-6
    Unknown3001(0)
    Unknown3004(40)
    sprite('vrnyef232_f01', 6)	# 7-12
    Unknown3004(-40)

@State
def __2CZanzo():

    def upon_IMMEDIATE():
        Unknown4009(3)
        Unknown4007(3)
        Unknown4010(3)
        Unknown4061(1)
        Unknown3053(1)
        Unknown3033()
        Unknown3040(1)
        Unknown3041(12)
        Unknown3042(209)
        Unknown3043(210)
        Unknown3044(-2147483398)
    sprite('vrnyef234_f00', 4)	# 1-4
    Unknown3001(0)
    Unknown3004(40)
    Unknown1067(-5)
    sprite('vrnyef234_f00', 5)	# 5-9
    Unknown1099(-5)
    Unknown3004(-20)

@State
def JBZanzo():

    def upon_IMMEDIATE():
        callSubroutine('ZanzoInitTypeB')
        Unknown3040(1)
        Unknown3041(12)
        Unknown3042(209)
        Unknown3043(210)
        Unknown3044(-2147483398)
    sprite('vrnyef252_f00', 4)	# 1-4
    Unknown3001(0)
    Unknown3004(20)
    sprite('vrnyef252_f01', 2)	# 5-6
    Unknown3001(255)
    Unknown3004(-40)
    sprite('vrnyef252_f02', 4)	# 7-10

@State
def J2BZanzo():

    def upon_IMMEDIATE():
        callSubroutine('ZanzoInitTypeB')
        Unknown3040(1)
        Unknown3041(10)
        Unknown3042(209)
        Unknown3043(210)
        Unknown3044(-2147483398)
    sprite('vrnyef254_f00', 2)	# 1-2
    Unknown3001(0)
    Unknown3004(20)
    sprite('vrnyef254_f01', 2)	# 3-4
    Unknown3001(255)
    Unknown3004(-40)
    sprite('vrnyef254_f02', 2)	# 5-6

@State
def __407slash():

    def upon_IMMEDIATE():
        Unknown4010(2)
        Unknown4009(2)
        Unknown3032()
        Unknown3001(150)
        Unknown1096(950)
        Unknown4003('6e7965665f343037736c617368000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000')
        Unknown1007(120000)
    sprite('null', 28)	# 1-28

@State
def SummonDmc():

    def upon_IMMEDIATE():
        Unknown4061(1)
    sprite('null', 200)	# 1-200
    GFX_1('nyef_dmc00', -1)
    Unknown4047(229, 226, 229)
    Unknown4045('6e7965665f646d63000000000000000000000000000000000000000000000000ffffffff')

@State
def AirSummonDmc():

    def upon_IMMEDIATE():
        Unknown4061(1)
    sprite('null', 200)	# 1-200
    GFX_1('nyef_airdmc00', -1)
    Unknown4047(229, 226, 229)
    Unknown4045('6e7965665f616972646d63000000000000000000000000000000000000000000ffffffff')

@State
def SummonA():

    def upon_IMMEDIATE():
        Unknown4061(1)
    sprite('null', 200)	# 1-200
    GFX_1('nyef_sumA03', -1)
    Unknown4047(229, 225, 229)
    Unknown4045('6e7965665f73756d410000000000000000000000000000000000000000000000ffffffff')
    if random_(2, 0, 33):
        SFX_3('nyse_23')
    elif random_(2, 0, 50):
        SFX_3('nyse_24')
    else:
        SFX_3('nyse_25')

@State
def NY_MagicA():
    sprite('null', 200)	# 1-200
    GFX_1('nyef_mcircle', -1)

@State
def DIST_NY5D():

    def upon_CLEAR_OR_EXIT():
        Unknown3057(1)
        Unknown3058(20000)
        Unknown3059(-1000)
        Unknown4006(2)
    sprite('vrdist_ny00', 6)	# 1-6
    Unknown1056(800)
    Unknown1064(600)
    Unknown1059(150)
    Unknown1067(100)
    sprite('vrdist_ny00', 10)	# 7-16
    Unknown1067(-100)

@Subroutine
def DriveSwordColorSet():
    Unknown4061(1)
    Unknown3029(1)
    Unknown3069(2)
    Unknown3071(3)
    Unknown3076(1000)
    Unknown3077(1000)

@Subroutine
def DriveSwordInit():
    Unknown2009()
    Unknown23078(1)
    AttackLevel_(4)
    Damage(1000)
    AttackP1(50)
    AttackP2(90)
    ProjectileDurabilityLvl(2)
    hitstun(16)
    PushbackX(19800)
    Hitstop(4)
    Unknown11001(5, 5, 10)
    Unknown9016(1)
    Unknown11057(600)
    callSubroutine('DriveSwordColorSet')
    sendToLabelUpon(2, 1)

    def upon_81():
        SLOT_55 = 1
        Unknown23029(3, 2044, 0)

    def upon_77():
        clearUponHandler(81)
        SLOT_56 = 1
        Unknown23029(3, 2044, 0)

    def upon_ON_HIT_OR_BLOCK():
        SLOT_54 = 1
        GFX_1('nyef_breakA', 101)
        Unknown23029(3, 2045, 0)

    def upon_CLEAR_OR_EXIT():
        if SLOT_56:
            clearUponHandler(3)
            Unknown48('03000000020000003b000000160000000200000053000000')
            Unknown48('03000000020000003c000000160000000200000017000000')
        elif SLOT_55:
            Unknown48('03000000020000003b0000001b0000000200000053000000')
            Unknown48('03000000020000003c0000001b0000000200000017000000')
        elif SLOT_IsInOverdrive2:
            Unknown48('03000000020000003b000000190000000200000053000000')
            Unknown48('03000000020000003c000000190000000200000017000000')
            Unknown36(3)
            SLOT_59 = (SLOT_59 + 150000)
            SLOT_60 = (SLOT_60 + (-150000))
            Unknown35()
    Unknown23089('0100000000000000000000000100000001000000000000000100000001000000')
    sendToLabelUpon(54, 580)

@Subroutine
def DriveChainSwordInit():
    Unknown2009()
    Unknown23078(1)
    AttackLevel_(4)
    ProjectileDurabilityLvl(2)
    Damage(1000)
    AttackP1(50)
    AttackP2(90)
    AirUntechableTime(23)
    hitstun(16)
    Hitstop(4)
    Unknown11001(5, 5, 10)
    Unknown9016(1)
    Unknown11057(600)
    Unknown23078(1)
    callSubroutine('DriveSwordColorSet')
    Unknown48('19000000020000005300000003000000020000003b000000')
    Unknown48('19000000020000001700000003000000020000003c000000')

    def upon_81():
        SLOT_55 = 1
        Unknown23029(3, 2044, 0)
    sendToLabelUpon(2, 1)

    def upon_77():
        clearUponHandler(81)
        Unknown23029(3, 2044, 0)
        Unknown23029(3, 2031, 0)
        SLOT_56 = 1

    def upon_ON_HIT_OR_BLOCK():
        GFX_1('nyef_breakA', 101)
        Unknown23029(3, 2045, 0)

    def upon_CLEAR_OR_EXIT():
        if SLOT_56:
            clearUponHandler(3)
            Unknown48('03000000020000003b000000160000000200000053000000')
            Unknown48('03000000020000003c000000160000000200000017000000')
        elif SLOT_55:
            Unknown48('03000000020000003b0000001b0000000200000053000000')
            Unknown48('03000000020000003c0000001b0000000200000017000000')
    Unknown23089('0100000000000000000000000100000001000000000000000100000001000000')
    sendToLabelUpon(54, 580)

@Subroutine
def DriveSwordLandingParam():
    DisableAttackRestOfMove()
    Unknown1084(1)
    Unknown1059(60)
    Unknown1067(-60)
    Unknown3032()
    Unknown3001(250)
    Unknown3004(-20)
    GFX_0('NY_MagicA', -1)
    GFX_0('DIST_NY5D', -1)

@Subroutine
def DriveSwordBreakParam():
    Unknown1084(1)
    Unknown1059(60)
    Unknown1067(-60)
    Unknown3032()
    Unknown3001(250)
    Unknown3004(-20)
    GFX_0('NY_MagicA', -1)
    GFX_0('DIST_NY5D', -1)

@State
def Sword5B():

    def upon_IMMEDIATE():
        callSubroutine('DriveSwordInit')
        teleportRelativeX(200000)
        Unknown1007(180000)
        physicsXImpulse(20000)
        physicsYImpulse(0)
        Unknown1108(0)
        AirPushbackY(14000)
        AirPushbackX(3000)
    sprite('vrnyef_swda00', 2)	# 1-2
    GFX_0('SummonA', 0)
    sprite('vrnyef_swda01', 2)	# 3-4
    sprite('vrnyef_swda02', 2)	# 5-6
    sprite('vrnyef_swda03', 2)	# 7-8	 **attackbox here**
    sprite('vrnyef_swda04', 2)	# 9-10	 **attackbox here**
    sprite('vrnyef_swda05', 2)	# 11-12	 **attackbox here**
    ProjectileDurabilityLvl(1)
    Unknown1019(450)
    sprite('vrnyef_swdaatk', 7)	# 13-19	 **attackbox here**
    label(1)
    sprite('vrnyef_swddel', 12)	# 20-31
    callSubroutine('DriveSwordLandingParam')
    loopRest()
    ExitState()
    label(580)
    sprite('keep', 12)	# 32-43
    callSubroutine('DriveSwordBreakParam')

@State
def Sword4B():

    def upon_IMMEDIATE():
        callSubroutine('DriveSwordInit')
        teleportRelativeX(150000)
        Unknown1007(300000)
        physicsXImpulse(26000)
        physicsYImpulse(4500)
        Unknown1108(0)
        AirPushbackX(10000)
        AirPushbackY(20000)
    sprite('vrnyef_swdb00', 2)	# 1-2
    GFX_0('SummonA', 0)
    sprite('vrnyef_swdb01', 2)	# 3-4
    sprite('vrnyef_swdb02', 1)	# 5-5
    sprite('vrnyef_swdb03', 1)	# 6-6
    sprite('vrnyef_swdb04', 1)	# 7-7	 **attackbox here**
    sprite('vrnyef_swdb05', 1)	# 8-8	 **attackbox here**
    sprite('vrnyef_swdb06', 1)	# 9-9	 **attackbox here**
    sprite('vrnyef_swdbatk', 6)	# 10-15	 **attackbox here**
    ProjectileDurabilityLvl(1)
    Unknown1019(420)
    YAccel(420)
    label(1)
    sprite('vrnyef_swddel', 12)	# 16-27
    callSubroutine('DriveSwordLandingParam')
    loopRest()
    ExitState()
    label(580)
    sprite('keep', 12)	# 28-39
    callSubroutine('DriveSwordBreakParam')

@State
def Sword2B():

    def upon_IMMEDIATE():
        callSubroutine('DriveSwordInit')
        teleportRelativeX(115000)
        Unknown1007(240000)
        physicsXImpulse(42000)
        physicsYImpulse(26000)
        Unknown1108(0)
        GroundedHitstunAnimation(13)
        AirHitstunAnimation(13)
        AirPushbackX(8500)
        AirPushbackY(24000)
    sprite('vrnyef_swdc00', 1)	# 1-1
    GFX_0('SummonA', 0)
    sprite('vrnyef_swdc01', 1)	# 2-2
    sprite('vrnyef_swdc02', 1)	# 3-3
    sprite('vrnyef_swdc03', 1)	# 4-4
    sprite('vrnyef_swdc04', 1)	# 5-5	 **attackbox here**
    sprite('vrnyef_swdc05', 1)	# 6-6	 **attackbox here**
    sprite('vrnyef_swdc06', 1)	# 7-7	 **attackbox here**
    sprite('vrnyef_swdc07', 1)	# 8-8	 **attackbox here**
    sprite('vrnyef_swdc08', 1)	# 9-9	 **attackbox here**
    sprite('vrnyef_swdcatk', 6)	# 10-15	 **attackbox here**
    Unknown1019(180)
    YAccel(180)
    sprite('vrnyef_swdcatk', 4)	# 16-19	 **attackbox here**
    label(1)
    sprite('vrnyef_swddel', 12)	# 20-31
    callSubroutine('DriveSwordLandingParam')
    loopRest()
    ExitState()
    label(580)
    sprite('keep', 12)	# 32-43
    callSubroutine('DriveSwordBreakParam')

@State
def SwordJB():

    def upon_IMMEDIATE():
        callSubroutine('DriveSwordInit')
        teleportRelativeX(240000)
        Unknown1007(180000)
        physicsXImpulse(22400)
        physicsYImpulse(-3200)
        Unknown1108(0)
    sprite('vrnyef_swde00', 1)	# 1-1
    GFX_0('SummonA', 0)
    sprite('vrnyef_swde01', 1)	# 2-2
    sprite('vrnyef_swde02', 1)	# 3-3
    sprite('vrnyef_swde03', 1)	# 4-4
    sprite('vrnyef_swde04', 1)	# 5-5
    sprite('vrnyef_swde05', 1)	# 6-6
    sprite('vrnyef_swdeatk', 2)	# 7-8	 **attackbox here**
    Unknown1019(120)
    YAccel(120)
    sprite('vrnyef_swdeatk', 2)	# 9-10	 **attackbox here**
    Unknown1019(180)
    YAccel(180)
    sprite('vrnyef_swdeatk', 10)	# 11-20	 **attackbox here**
    ProjectileDurabilityLvl(1)
    label(1)
    sprite('vrnyef_swddel', 12)	# 21-32
    callSubroutine('DriveSwordLandingParam')
    loopRest()
    ExitState()
    label(580)
    sprite('keep', 12)	# 33-44
    callSubroutine('DriveSwordBreakParam')

@State
def SwordJ2B():

    def upon_IMMEDIATE():
        callSubroutine('DriveSwordInit')
        teleportRelativeX(240000)
        Unknown1007(120000)
        physicsXImpulse(16000)
        physicsYImpulse(-9600)
        Unknown1108(0)
    sprite('vrnyef_swde00', 1)	# 1-1
    GFX_0('SummonA', 0)
    sprite('vrnyef_swde01', 1)	# 2-2
    sprite('vrnyef_swde02', 1)	# 3-3
    sprite('vrnyef_swde03', 1)	# 4-4
    sprite('vrnyef_swde04', 1)	# 5-5
    sprite('vrnyef_swde05', 1)	# 6-6
    sprite('vrnyef_swdeatk', 2)	# 7-8	 **attackbox here**
    Unknown1019(120)
    YAccel(120)
    sprite('vrnyef_swdeatk', 2)	# 9-10	 **attackbox here**
    Unknown1019(180)
    YAccel(180)
    sprite('vrnyef_swdeatk', 6)	# 11-16	 **attackbox here**
    if (not SLOT_2):
        ProjectileDurabilityLvl(1)
    label(1)
    sprite('vrnyef_swddel', 12)	# 17-28
    callSubroutine('DriveSwordLandingParam')
    loopRest()
    ExitState()
    label(580)
    sprite('keep', 12)	# 29-40
    callSubroutine('DriveSwordBreakParam')

@State
def SwordChain():

    def upon_IMMEDIATE():
        Unknown2009()
        callSubroutine('DriveChainSwordInit')
        DisableAttackRestOfMove()
        Unknown4011(3)
        sendToLabelUpon(2, 1)

        def upon_43():
            if (SLOT_48 == 2041):
                AirHitstunAnimation(10)
                PushbackX(-6500)
                AirPushbackX(-6500)
                AirPushbackY(-5000)
                teleportRelativeX(400000)
                Unknown1007(490000)
                physicsXImpulse(-17000)
                physicsYImpulse(-15000)
                Unknown1028(-1800)
                setGravity(900)
                Unknown1108(0)
                GFX_0('SummonA', -1)
            if (SLOT_48 == 2042):
                AirHitstunAnimation(9)
                PushbackX(30400)
                AirPushbackX(12500)
                AirPushbackY(11000)
                teleportRelativeX(-290000)
                Unknown1007(360000)
                physicsXImpulse(20000)
                physicsYImpulse(-11600)
                Unknown1028(2000)
                Unknown1108(0)
                GFX_0('SummonA', -1)
            if (SLOT_48 == 2043):
                AirHitstunAnimation(1)
                PushbackX(-45000)
                AirPushbackX(-12500)
                AirPushbackY(11000)
                teleportRelativeX(450000)
                Unknown1007(370000)
                physicsXImpulse(-27000)
                physicsYImpulse(-10000)
                Unknown1028(-2200)
                setGravity(900)
                Unknown1108(0)
                GFX_0('SummonA', -1)
        Unknown23089('0100000000000000000000000100000001000000000000000100000001000000')
        sendToLabelUpon(54, 580)
    sprite('vrnyef_swdchain00', 1)	# 1-1
    Unknown3001(0)
    Unknown3004(30)
    sprite('vrnyef_swdchain01', 1)	# 2-2
    sprite('vrnyef_swdchain02', 1)	# 3-3
    sprite('vrnyef_swdchain03', 1)	# 4-4	 **attackbox here**
    sprite('vrnyef_swdchain04', 1)	# 5-5	 **attackbox here**
    sprite('vrnyef_swdchain05', 1)	# 6-6	 **attackbox here**
    sprite('vrnyef_swdchainatk', 6)	# 7-12	 **attackbox here**
    RefreshMultihit()
    Unknown1019(180)
    YAccel(180)
    label(1)
    sprite('vrnyef_swddel', 12)	# 13-24
    callSubroutine('DriveSwordLandingParam')
    Unknown23029(3, 2045, 0)
    loopRest()
    ExitState()
    label(580)
    sprite('keep', 12)	# 25-36
    callSubroutine('DriveSwordBreakParam')
    Unknown23029(3, 2045, 0)

@State
def LowSword():

    def upon_IMMEDIATE():
        Unknown2010()
        Unknown4011(3)
        Unknown4061(1)
        teleportRelativeX(200000)
        Unknown1007(-32000)
        Unknown3001(0)
        Unknown3004(30)
        Unknown1072(-90000)
        Unknown1074(10000)
        Unknown2055(120)
        Unknown3029(1)
        Unknown3069(2)
        Unknown3071(5)
        Unknown3072('80000000ff000000ff000000ff000000')
        Unknown3073('ff000000000000000000000000000000')
        Unknown3076(1000)
        Unknown3077(1000)
        AttackLevel_(4)
        AttackP2(75)
        HitLow(2)
        AirHitstunAnimation(11)
        GroundedHitstunAnimation(11)
        AirPushbackX(25000)
        AirPushbackY(18000)
        AirUntechableTime(40)
        Unknown9016(1)
        Unknown11056(0)

        def upon_43():
            if (SLOT_48 == 4011):
                Unknown30070('4c6f7753776f7264410000000000000000000000000000000000000000000000')
                physicsXImpulse(40000)
            if (SLOT_48 == 4012):
                Unknown30070('4c6f7753776f7264420000000000000000000000000000000000000000000000')
                GroundedHitstunAnimation(11)
                PushbackX(-39900)
                AirPushbackX(-25000)
                AirPushbackY(15000)
                AirUntechableTime(25)
                Unknown11099(1)
                teleportRelativeX(820000)
                Unknown2005()
                physicsXImpulse(25000)
            if (SLOT_48 == 4013):
                Unknown2038(1)
                Unknown30070('4c6f7753776f7264430000000000000000000000000000000000000000000000')
                Damage(1900)
                Unknown30065(0)
                AirHitstunAnimation(11)
                GroundedHitstunAnimation(11)
                ProjectileDurabilityLvl(2)
                physicsXImpulse(50000)
                AirPushbackX(36000)
                AirPushbackY(10000)
                Unknown9202(10)
                AirUntechableTime(40)
            if (SLOT_48 == 4014):
                Unknown30070('4c6f7753776f7264417373697374000000000000000000000000000000000000')
                AttackP1(70)
                AttackP2(100)
                Unknown11092(1)
                HitLow(0)
                PushbackX(-39900)
                AirPushbackX(-44000)
                AirPushbackY(2000)
                Unknown9202(10)
                Unknown11099(1)
                teleportRelativeX(1170000)
                Unknown2005()
                physicsXImpulse(37500)

        def upon_45():
            if (SLOT_18 > 70):
                Unknown53(1)
        Unknown23089('0100000000000000000000000100000001000000000000000100000001000000')

        def upon_80():
            Unknown23090(25)
        sendToLabelUpon(54, 580)
        Unknown2055(60)
        SLOT_4 = 1

        def upon_STATE_END():
            SLOT_4 = 0
    sprite('null', 1)	# 1-1
    sprite('vrnyef_swdf03', 5)	# 2-6	 **attackbox here**
    GFX_1('nyef_bottomswd', 0)
    GFX_1('nyef_bottomswd', 1)
    GFX_1('nyef_bottomswd', 2)
    Unknown4049(1500)
    Unknown4045('6e7965665f626f74746f6d737764707463303000000000000000000000000000ffffffff')
    Unknown4049(3000)
    Unknown4045('6e7965665f626f74746f6d737764000000000000000000000000000000000000ffffffff')
    SFX_0('022_magiccircle_b')
    sprite('vrnyef_swdf03', 3)	# 7-9	 **attackbox here**
    GFX_1('nyef_bottomswd', 3)
    GFX_1('nyef_bottomswd', 4)
    GFX_1('nyef_bottomswd', 5)
    label(3)
    sprite('vrnyef_swdf04', 1)	# 10-10	 **attackbox here**
    SFX_0('006_swing_blade_2')
    Unknown1072(0)
    Unknown1074(0)
    Unknown4049(2400)
    Unknown4045('6e7965665f626f74746f6d737764000000000000000000000000000000000000ffffffff')
    GFX_1('nyef_bottomswd', 0)
    GFX_1('nyef_bottomswd', 1)
    GFX_1('nyef_bottomswd', 2)
    GFX_1('nyef_bottomswd', 3)
    GFX_1('nyef_bottomswd', 4)
    GFX_1('nyef_bottomswd', 5)
    sprite('vrnyef_swdf05', 2)	# 11-12	 **attackbox here**
    sprite('vrnyef_swdf06', 2)	# 13-14	 **attackbox here**
    GFX_1('nyef_bottomswd', 0)
    GFX_1('nyef_bottomswd', 1)
    GFX_1('nyef_bottomswd', 2)
    GFX_1('nyef_bottomswd', 3)
    GFX_1('nyef_bottomswd', 4)
    GFX_1('nyef_bottomswd', 5)
    sprite('vrnyef_swdf07', 2)	# 15-16	 **attackbox here**
    sprite('vrnyef_swdf08', 2)	# 17-18	 **attackbox here**
    GFX_1('nyef_bottomswd', 0)
    GFX_1('nyef_bottomswd', 1)
    GFX_1('nyef_bottomswd', 2)
    GFX_1('nyef_bottomswd', 3)
    GFX_1('nyef_bottomswd', 4)
    GFX_1('nyef_bottomswd', 5)
    sprite('vrnyef_swdf09', 2)	# 19-20	 **attackbox here**
    sprite('vrnyef_swdf00', 2)	# 21-22	 **attackbox here**
    GFX_1('nyef_bottomswd', 0)
    GFX_1('nyef_bottomswd', 1)
    GFX_1('nyef_bottomswd', 2)
    GFX_1('nyef_bottomswd', 3)
    GFX_1('nyef_bottomswd', 4)
    GFX_1('nyef_bottomswd', 5)
    sprite('vrnyef_swdf01', 1)	# 23-23	 **attackbox here**
    sprite('vrnyef_swdf02', 1)	# 24-24	 **attackbox here**
    sprite('vrnyef_swdf03', 1)	# 25-25	 **attackbox here**
    loopRest()
    gotoLabel(3)
    label(580)
    sprite('keep', 30)	# 26-55
    Unknown4049(1500)
    Unknown4045('6e7965665f626f74746f6d737764707463303000000000000000000000000000ffffffff')
    Unknown4049(3000)
    Unknown4045('6e7965665f626f74746f6d737764000000000000000000000000000000000000ffffffff')
    Unknown4049(2400)
    Unknown4045('6e7965665f626f74746f6d737764000000000000000000000000000000000000ffffffff')
    Unknown1019(20)
    physicsYImpulse(0)
    Unknown1074(0)
    Unknown3004(-20)
    DisableAttackRestOfMove()

@State
def LowSword_Ex():

    def upon_IMMEDIATE():
        Unknown2010()
        Unknown4011(3)
        Unknown4061(1)
        teleportRelativeX(200000)
        Unknown1007(-32000)
        Unknown3001(0)
        Unknown3004(30)
        Unknown1072(-90000)
        Unknown1074(10000)
        Unknown2055(120)
        Unknown3029(1)
        Unknown3069(2)
        Unknown3071(5)
        Unknown3072('80000000ff000000ff000000ff000000')
        Unknown3073('ff000000000000000000000000000000')
        Unknown3076(1000)
        Unknown3077(1000)
        AttackLevel_(4)
        Damage(1250)
        PushbackX(39900)
        Hitstop(8)
        Unknown30065(0)
        AttackP2(75)
        Unknown11092(1)
        HitLow(2)
        AirHitstunAnimation(11)
        GroundedHitstunAnimation(11)
        AirPushbackX(35000)
        AirPushbackY(12000)
        YImpluseBeforeWallbounce(2500)
        AirUntechableTime(45)
        ProjectileDurabilityLvl(2)
        Unknown9016(1)
        Unknown11056(0)
        Unknown9202(10)
        MinimumDamagePct(10)
        physicsXImpulse(50000)
        Unknown2053(1)
        Unknown2034(1)

        def upon_45():
            if (SLOT_18 > 70):
                Unknown53(1)
        Unknown23089('0200000000000000000000000100000001000000000000000200000002000000')

        def upon_77():
            if (not SLOT_2):
                Unknown1019(60)
            SLOT_51 = (SLOT_51 + 1)

        def upon_81():
            SLOT_52 = (SLOT_52 + 1)
        sendToLabelUpon(54, 580)
        Unknown2055(60)
        SLOT_4 = 1

        def upon_STATE_END():
            SLOT_4 = 0

        def upon_CLEAR_OR_EXIT():
            if SLOT_51:
                AirHitstunAnimation(12)
                GroundedHitstunAnimation(12)
                AirPushbackX(50000)
                AirPushbackY(20000)
                WallbounceReboundTime(10)
                Unknown2038(1)
                if (SLOT_2 >= 10):
                    clearUponHandler(54)
                    Unknown2053(0)
                    Unknown2034(0)
                    RefreshMultihit()
            if (SLOT_51 >= 2):
                clearUponHandler(3)
                Unknown2003(1)
                Unknown2001()
            if (SLOT_52 >= 2):
                Unknown30048(1)
    sprite('null', 1)	# 1-1
    sprite('vrnyef_swdf03', 5)	# 2-6	 **attackbox here**
    GFX_1('nyef_bottomswd', 0)
    GFX_1('nyef_bottomswd', 1)
    GFX_1('nyef_bottomswd', 2)
    Unknown4049(1500)
    Unknown4045('6e7965665f626f74746f6d737764707463303000000000000000000000000000ffffffff')
    Unknown4049(3000)
    Unknown4045('6e7965665f626f74746f6d737764000000000000000000000000000000000000ffffffff')
    SFX_0('022_magiccircle_b')
    sprite('vrnyef_swdf03', 3)	# 7-9	 **attackbox here**
    GFX_1('nyef_bottomswd', 3)
    GFX_1('nyef_bottomswd', 4)
    GFX_1('nyef_bottomswd', 5)
    label(3)
    sprite('vrnyef_swdf04', 1)	# 10-10	 **attackbox here**
    SFX_0('006_swing_blade_2')
    Unknown1072(0)
    Unknown1074(0)
    Unknown4049(2400)
    Unknown4045('6e7965665f626f74746f6d737764000000000000000000000000000000000000ffffffff')
    GFX_1('nyef_bottomswd', 0)
    GFX_1('nyef_bottomswd', 1)
    GFX_1('nyef_bottomswd', 2)
    GFX_1('nyef_bottomswd', 3)
    GFX_1('nyef_bottomswd', 4)
    GFX_1('nyef_bottomswd', 5)
    sprite('vrnyef_swdf05', 2)	# 11-12	 **attackbox here**
    sprite('vrnyef_swdf06', 2)	# 13-14	 **attackbox here**
    GFX_1('nyef_bottomswd', 0)
    GFX_1('nyef_bottomswd', 1)
    GFX_1('nyef_bottomswd', 2)
    GFX_1('nyef_bottomswd', 3)
    GFX_1('nyef_bottomswd', 4)
    GFX_1('nyef_bottomswd', 5)
    sprite('vrnyef_swdf07', 2)	# 15-16	 **attackbox here**
    sprite('vrnyef_swdf08', 2)	# 17-18	 **attackbox here**
    GFX_1('nyef_bottomswd', 0)
    GFX_1('nyef_bottomswd', 1)
    GFX_1('nyef_bottomswd', 2)
    GFX_1('nyef_bottomswd', 3)
    GFX_1('nyef_bottomswd', 4)
    GFX_1('nyef_bottomswd', 5)
    sprite('vrnyef_swdf09', 2)	# 19-20	 **attackbox here**
    sprite('vrnyef_swdf00', 2)	# 21-22	 **attackbox here**
    GFX_1('nyef_bottomswd', 0)
    GFX_1('nyef_bottomswd', 1)
    GFX_1('nyef_bottomswd', 2)
    GFX_1('nyef_bottomswd', 3)
    GFX_1('nyef_bottomswd', 4)
    GFX_1('nyef_bottomswd', 5)
    sprite('vrnyef_swdf01', 1)	# 23-23	 **attackbox here**
    sprite('vrnyef_swdf02', 1)	# 24-24	 **attackbox here**
    sprite('vrnyef_swdf03', 1)	# 25-25	 **attackbox here**
    Unknown2053(0)
    Unknown2034(0)
    loopRest()
    gotoLabel(3)
    label(580)
    sprite('keep', 30)	# 26-55
    Unknown4049(1500)
    Unknown4045('6e7965665f626f74746f6d737764707463303000000000000000000000000000ffffffff')
    Unknown4049(3000)
    Unknown4045('6e7965665f626f74746f6d737764000000000000000000000000000000000000ffffffff')
    Unknown4049(2400)
    Unknown4045('6e7965665f626f74746f6d737764000000000000000000000000000000000000ffffffff')
    Unknown1019(20)
    physicsYImpulse(0)
    Unknown1074(0)
    Unknown3004(-20)
    DisableAttackRestOfMove()

@State
def DelayShotSummon():

    def upon_IMMEDIATE():
        Unknown4011(3)
        Unknown4024(3)
        teleportRelativeY(600000)
        Unknown4061(1)

        def upon_CLEAR_OR_EXIT():

            def upon_43():
                if (SLOT_48 == 4115):
                    SLOT_5 = 4
                    clearUponHandler(17)
                    clearUponHandler(43)
                    clearUponHandler(3)
                    clearUponHandler(47)
                    sendToLabel(10)
                if (SLOT_48 == 4114):
                    SLOT_5 = 3
                    clearUponHandler(17)
                    clearUponHandler(43)
                    clearUponHandler(3)
                    clearUponHandler(47)
                    sendToLabel(10)
        loopRelated(17, 240)

        def upon_17():
            clearUponHandler(17)
            clearUponHandler(43)
            clearUponHandler(3)
            clearUponHandler(47)
            sendToLabel(9)
        SLOT_5 = 1

        def upon_STATE_END():
            SLOT_5 = 0
    sprite('null', 20)	# 1-20
    Unknown4047(229, 225, 229)
    Unknown4045('6e7965665f3431315f6164640000000000000000000000000000000000000000ffffffff')
    GFX_1('nyef_sumA03', -1)
    GFX_1('nyef_411', -1)
    SFX_3('nyse_30')
    label(0)
    sprite('null', 20)	# 21-40
    GFX_1('nyef_sumA03', -1)
    GFX_1('nyef_411', -1)
    SFX_3('nyse_34')
    loopRest()
    gotoLabel(0)
    label(1)

    def upon_47():
        clearUponHandler(47)
        sendToLabel(0)
    sprite('null', 20)	# 41-60
    GFX_1('nyef_sumA03', -1)
    GFX_1('nyef_411', -1)
    sprite('null', 10)	# 61-70
    GFX_1('nyef_sumA03', -1)
    GFX_1('nyef_411', -1)
    GFX_0('DelayShot', -1)
    sprite('null', 10)	# 71-80
    loopRest()
    gotoLabel(100)
    label(9)
    sprite('null', 10)	# 81-90
    GFX_1('nyef_sumA03', -1)
    GFX_1('nyef_411', -1)
    GFX_0('DelayShot', -1)
    sprite('null', 10)	# 91-100
    loopRest()
    gotoLabel(100)
    label(10)
    sprite('null', 5)	# 101-105
    GFX_1('nyef_sumA03', -1)
    GFX_1('nyef_411', -1)
    GFX_0('DelayShot', -1)
    sprite('null', 5)	# 106-110
    loopRest()
    gotoLabel(100)
    label(100)
    sprite('null', 40)	# 111-150

@State
def DelayShot():

    def upon_IMMEDIATE():
        Unknown4011(3)
        Unknown2009()
        AttackLevel_(4)
        AttackP1(80)
        Unknown11089(10)
        GroundedHitstunAnimation(9)
        AirPushbackY(18000)
        AirUntechableTime(33)
        PushbackX(19800)
        Unknown9016(1)
        StarterRating(1)
        Unknown23182(2)
        Unknown1096(1500)
        callSubroutine('DriveSwordColorSet')
        teleportRelativeY(600000)
        Unknown1111(8000, 22)
        Unknown2055(100)
        Unknown53(1)
        if (SLOT_5 == 4):
            Unknown30070('4e6d6c41746b35415f3474680000000000000000000000000000000000000000')
            AirPushbackX(28000)
            AirPushbackY(-22000)
            YImpluseBeforeWallbounce(2400)
            Hitstop(5)
            AirUntechableTime(40)
            Unknown9202(3)
            Unknown11044(1)
            Unknown30088(1)
        if (SLOT_5 == 3):
            Unknown30070('4e6d6c41746b35425f3574680000000000000000000000000000000000000000')
            AirPushbackX(28000)
            AirPushbackY(7000)
            YImpluseBeforeWallbounce(2400)
            Hitstop(5)
            AirUntechableTime(40)
        Unknown23089('0100000000000000000000000100000001000000000000000100000001000000')
        sendToLabelUpon(54, 580)

        def upon_LANDING():
            sendToLabel(580)

        def upon_77():
            if (SLOT_5 == 4):
                Unknown23029(3, 2011, 0)
    sprite('null', 1)	# 1-1
    Unknown1019(1)
    YAccel(1)
    sprite('vrnyef_411swd00', 1)	# 2-2
    if random_(2, 0, 33):
        SFX_3('nyse_23')
    elif random_(2, 0, 50):
        SFX_3('nyse_24')
    else:
        SFX_3('nyse_25')
    Unknown1019(13000)
    YAccel(13000)
    sprite('vrnyef_411swd01', 1)	# 3-3
    sprite('vrnyef_411swd02', 1)	# 4-4
    sprite('vrnyef_411swd03', 1)	# 5-5
    sprite('vrnyef_411swd04', 1)	# 6-6
    Unknown1019(250)
    YAccel(250)
    sprite('vrnyef_411swd05', 1)	# 7-7
    Unknown1019(250)
    YAccel(250)
    sprite('vrnyef_411swdatkex00', 32767)	# 8-32774	 **attackbox here**
    Unknown1019(250)
    YAccel(250)
    label(1)
    sprite('vrnyef_swddel', 12)	# 32775-32786
    callSubroutine('DriveSwordLandingParam')
    Unknown2001()
    loopRest()
    ExitState()
    label(580)
    sprite('keep', 12)	# 32787-32798
    callSubroutine('DriveSwordBreakParam')
    Unknown2001()

@State
def AirDelayShotSummon():

    def upon_IMMEDIATE():
        Unknown4011(3)
        Unknown4024(3)
        Unknown1086(3)
        Unknown1007(600000)
        Unknown4061(1)

        def upon_CLEAR_OR_EXIT():

            def upon_43():
                if (SLOT_48 == 4114):
                    SLOT_5 = 3
                    clearUponHandler(17)
                    clearUponHandler(43)
                    clearUponHandler(3)
                    clearUponHandler(47)
                    sendToLabel(10)
        loopRelated(17, 240)

        def upon_17():
            clearUponHandler(17)
            clearUponHandler(43)
            clearUponHandler(3)
            clearUponHandler(47)
            sendToLabel(9)
        SLOT_5 = 1

        def upon_STATE_END():
            SLOT_5 = 0
    sprite('null', 20)	# 1-20
    Unknown4047(229, 225, 229)
    Unknown4045('6e7965665f3431315f6164640000000000000000000000000000000000000000ffffffff')
    GFX_1('nyef_sumA03', -1)
    GFX_1('nyef_411', -1)
    SFX_3('nyse_30')
    label(0)
    sprite('null', 20)	# 21-40
    GFX_1('nyef_sumA03', -1)
    GFX_1('nyef_411', -1)
    SFX_3('nyse_34')
    loopRest()
    gotoLabel(0)
    label(10)
    sprite('null', 5)	# 41-45
    GFX_1('nyef_sumA03', -1)
    GFX_1('nyef_411', -1)
    GFX_0('AirDelayShot', -1)
    sprite('null', 5)	# 46-50
    loopRest()
    gotoLabel(100)
    label(100)
    sprite('null', 40)	# 51-90

@State
def AirDelayShot():

    def upon_IMMEDIATE():
        Unknown4011(3)
        Unknown2009()
        AttackLevel_(4)
        GroundedHitstunAnimation(9)
        Unknown30070('4e6d6c41746b35425f3574680000000000000000000000000000000000000000')
        AirPushbackX(28000)
        AirPushbackY(7000)
        YImpluseBeforeWallbounce(2400)
        Hitstop(5)
        AirUntechableTime(40)
        PushbackX(30400)
        Unknown9016(1)
        StarterRating(1)
        Unknown23182(2)
        Unknown1096(1500)
        callSubroutine('DriveSwordColorSet')
        Unknown1086(3)
        Unknown1007(600000)
        Unknown1111(8000, 22)
        Unknown2055(100)
        Unknown53(1)
        Unknown23089('0100000000000000000000000100000001000000000000000100000001000000')
        sendToLabelUpon(54, 580)

        def upon_LANDING():
            sendToLabel(580)
    sprite('null', 1)	# 1-1
    Unknown1019(1)
    YAccel(1)
    sprite('vrnyef_411swd00', 1)	# 2-2
    if random_(2, 0, 33):
        SFX_3('nyse_23')
    elif random_(2, 0, 50):
        SFX_3('nyse_24')
    else:
        SFX_3('nyse_25')
    Unknown1019(10000)
    YAccel(10000)
    sprite('vrnyef_411swd01', 1)	# 3-3
    sprite('vrnyef_411swd02', 1)	# 4-4
    sprite('vrnyef_411swd03', 1)	# 5-5
    sprite('vrnyef_411swd04', 1)	# 6-6
    Unknown1019(250)
    YAccel(250)
    sprite('vrnyef_411swd05', 1)	# 7-7
    Unknown1019(250)
    YAccel(250)
    sprite('vrnyef_411swdatkex00', 32767)	# 8-32774	 **attackbox here**
    Unknown1019(250)
    YAccel(250)
    label(1)
    sprite('vrnyef_swddel', 12)	# 32775-32786
    callSubroutine('DriveSwordLandingParam')
    Unknown2001()
    loopRest()
    ExitState()
    label(580)
    sprite('keep', 12)	# 32787-32798
    callSubroutine('DriveSwordBreakParam')
    Unknown2001()

@State
def NY_SlowHand():

    def upon_IMMEDIATE():
        Unknown4061(1)
    sprite('null', 200)	# 1-200
    GFX_1('nyef_slowhand01', -1)
    Unknown4047(225, 225, 231)
    Unknown4045('6e7965665f736c6f7768616e64636972636c6530300000000000000000000000ffffffff')
    Unknown4047(225, 225, 226)
    Unknown4045('6e7965665f736c6f7768616e6400000000000000000000000000000000000000ffffffff')

@State
def NY_SlowFieldStart():

    def upon_IMMEDIATE():
        Unknown4061(1)
    sprite('null', 200)	# 1-200
    GFX_1('nyef_slowfieldstart', -1)
    Unknown4047(226, 227, 226)
    Unknown4045('6e7965665f736c6f776d61676963000000000000000000000000000000000000ffffffff')
    Unknown4047(229, 230, 229)
    Unknown4045('6e7965665f736c6f776d616769636c6f6f700000000000000000000000000000ffffffff')

@State
def NY_SlowField():

    def upon_IMMEDIATE():
        Unknown4061(1)
    sprite('null', 200)	# 1-200
    GFX_1('nyef_slowlight', -1)
    GFX_1('nyef_slowfieldloop', -1)
    Unknown4047(229, 230, 229)
    Unknown4045('6e7965665f736c6f776d616769636c6f6f700000000000000000000000000000ffffffff')

@State
def SummonSlowArea():

    def upon_IMMEDIATE():
        Unknown4011(3)

        def upon_43():
            if (SLOT_48 == 4031):
                teleportRelativeX(300000)
            if (SLOT_48 == 4032):
                teleportRelativeX(700000)
            if (SLOT_48 == 4033):
                teleportRelativeX(1100000)
            if (SLOT_48 == 4035):
                Unknown1086(22)
                teleportRelativeY(0)
            if (SLOT_48 == 4034):
                GFX_1('nyef_slowfieldend', -1)
                Unknown13(25)
        loopRelated(17, 180)

        def upon_17():
            sendToLabel(1)
    sprite('null', 1)	# 1-1
    sprite('null', 20)	# 2-21
    GFX_0('NY_SlowFieldStart', -1)
    SFX_3('nyse_02')
    Unknown23077(1)
    label(0)
    sprite('null', 20)	# 22-41
    GFX_0('NY_SlowField', -1)
    SFX_0('022_magiccircle_c')
    sprite('null', 20)	# 42-61
    GFX_0('NY_SlowField', -1)
    sprite('null', 20)	# 62-81
    GFX_0('NY_SlowField', -1)
    loopRest()
    gotoLabel(0)
    label(1)
    sprite('null', 20)	# 82-101
    GFX_1('nyef_slowfieldend', -1)

@State
def AirSword():

    def upon_IMMEDIATE():
        Unknown2009()
        Unknown4011(3)
        Unknown4061(1)
        Unknown3001(255)
        Unknown1072(-10000)
        Unknown3029(1)
        Unknown3069(1)
        Unknown3071(6)
        Unknown3076(1000)
        Unknown3077(1000)
        AttackLevel_(5)
        GroundedHitstunAnimation(10)
        AirHitstunAnimation(10)
        AirPushbackY(-50000)
        YImpluseBeforeWallbounce(0)
        PushbackX(15300)
        AirUntechableTime(60)
        HitOverhead(2)
        Unknown9016(1)
        Unknown9190(1)
        Unknown9118(35)

        def upon_43():
            if (SLOT_48 == 4024):
                teleportRelativeX(50000)
                Unknown1007(380000)
                Unknown30070('4e6d6c41746b4149523543000000000000000000000000000000000000000000')
            if (SLOT_48 == 4021):
                Unknown30070('41697253776f7264410000000000000000000000000000000000000000000000')
            if (SLOT_48 == 4022):
                Unknown30070('41697253776f7264420000000000000000000000000000000000000000000000')
                Damage(1200)
            if (SLOT_48 == 4023):
                Unknown30070('41697253776f7264430000000000000000000000000000000000000000000000')
                AttackLevel_(4)
                Damage(1500)
    sprite('vrnyef_swdg00', 6)	# 1-6
    Unknown3038(1)
    GFX_1('nyef_sumB', 0)
    GFX_1('nyef_sumB', 1)
    GFX_1('nyef_sumB', 2)
    GFX_1('nyef_sumB', 3)
    GFX_1('nyef_sumB', 4)
    GFX_1('nyef_sumB', 5)
    sprite('vrnyef_swdg00', 1)	# 7-7
    Unknown3038(0)
    Unknown1097(-280)
    Unknown1099(10)
    GFX_1('nyef_sumB', 0)
    GFX_1('nyef_sumB', 1)
    GFX_1('nyef_sumB', 2)
    GFX_1('nyef_sumB', 3)
    GFX_1('nyef_sumB', 4)
    GFX_1('nyef_sumB', 5)
    SFX_3('nyse_28')
    sprite('vrnyef_swdg01', 1)	# 8-8
    sprite('vrnyef_swdg01', 1)	# 9-9
    sprite('vrnyef_swdg01', 1)	# 10-10
    Unknown1097(20)
    Unknown1074(3000)
    Unknown1028(300)
    Unknown1099(50)
    StartMultihit()
    GFX_1('nyef_sumB', 5)
    sprite('vrnyef_swdg01', 1)	# 11-11
    GFX_1('nyef_sumB', 5)
    sprite('vrnyef_swdg02', 1)	# 12-12	 **attackbox here**
    GFX_1('nyef_sumB', 5)
    SFX_3('nyse_33')
    sprite('vrnyef_swdg03', 1)	# 13-13	 **attackbox here**
    GFX_1('nyef_sumB', 5)
    sprite('vrnyef_swdg04', 4)	# 14-17	 **attackbox here**
    Unknown1099(0)
    Unknown1074(500)
    Unknown3004(-5)
    GFX_1('nyef_sumB', 5)
    sprite('vrnyef_swdg05', 4)	# 18-21
    Unknown3001(200)
    Unknown3004(-50)
    GFX_1('nyef_sumB', 0)
    GFX_1('nyef_sumB', 1)
    GFX_1('nyef_sumB', 2)
    GFX_1('nyef_sumB', 3)
    GFX_1('nyef_sumB', 4)
    GFX_1('nyef_sumB', 5)
    GFX_1('nyef_sumBlight', 5)

@State
def AirSwordTAG():

    def upon_IMMEDIATE():
        Unknown2009()
        Unknown4009(3)
        Unknown4011(3)
        Unknown4061(1)
        Unknown3001(255)
        Unknown1072(-10000)
        Unknown3029(1)
        Unknown3069(1)
        Unknown3071(6)
        Unknown3076(1000)
        Unknown3077(1000)
        teleportRelativeX(100000)
        Unknown1007(380000)
        Unknown2003(1)
    sprite('vrnyef_swdg00', 2)	# 1-2
    GFX_1('nyef_sumB', 0)
    GFX_1('nyef_sumB', 1)
    GFX_1('nyef_sumB', 2)
    GFX_1('nyef_sumB', 3)
    GFX_1('nyef_sumB', 4)
    GFX_1('nyef_sumB', 5)
    sprite('vrnyef_swdg00', 1)	# 3-3
    Unknown3038(0)
    Unknown1097(-280)
    Unknown1099(10)
    GFX_1('nyef_sumB', 0)
    GFX_1('nyef_sumB', 1)
    GFX_1('nyef_sumB', 2)
    GFX_1('nyef_sumB', 3)
    GFX_1('nyef_sumB', 4)
    GFX_1('nyef_sumB', 5)
    SFX_3('nyse_28')
    sprite('vrnyef_swdg01', 1)	# 4-4
    sprite('vrnyef_swdg01', 1)	# 5-5
    sprite('vrnyef_swdg01', 1)	# 6-6
    Unknown1097(20)
    Unknown1074(3000)
    Unknown1028(300)
    Unknown1099(50)
    StartMultihit()
    GFX_1('nyef_sumB', 5)
    sprite('vrnyef_swdg01', 1)	# 7-7
    GFX_1('nyef_sumB', 5)
    sprite('vrnyef_swdg02', 1)	# 8-8	 **attackbox here**
    GFX_1('nyef_sumB', 5)
    SFX_3('nyse_33')
    sprite('vrnyef_swdg03', 1)	# 9-9	 **attackbox here**
    GFX_1('nyef_sumB', 5)
    sprite('vrnyef_swdg04', 4)	# 10-13	 **attackbox here**
    Unknown1099(0)
    Unknown1074(500)
    Unknown3004(-5)
    GFX_1('nyef_sumB', 5)
    sprite('vrnyef_swdg05', 4)	# 14-17
    Unknown3001(200)
    Unknown3004(-50)
    GFX_1('nyef_sumB', 0)
    GFX_1('nyef_sumB', 1)
    GFX_1('nyef_sumB', 2)
    GFX_1('nyef_sumB', 3)
    GFX_1('nyef_sumB', 4)
    GFX_1('nyef_sumB', 5)
    GFX_1('nyef_sumBlight', 5)

@State
def NY_BlackArea():

    def upon_IMMEDIATE():
        Unknown2019(-500)
        teleportRelativeX(160000)
    sprite('null', 120)	# 1-120
    GFX_1('nyef_blackptcstart', -1)
    GFX_1('nyef_sumlight00', -1)

@Subroutine
def NY_TripleSword_Init():
    teleportRelativeX(70000)
    Unknown4011(3)

    def upon_43():
        if (SLOT_48 == 4041):
            sendToLabel(1)
    SLOT_6 = 1

    def upon_STATE_END():
        SLOT_6 = 0

    def upon_CLEAR_OR_EXIT():
        if SLOT_51:
            SLOT_51 = (SLOT_51 + (-1))
            if (not SLOT_51):
                sendToLabel(1)
        if (SLOT_22 > 2100000):
            sendToLabel(1)
            clearUponHandler(3)
        if (SLOT_22 < (-2100000)):
            sendToLabel(1)
            clearUponHandler(3)

@Subroutine
def SwordD400_Init():
    AttackLevel_(5)
    Damage(2300)
    ProjectileDurabilityLvl(2)
    AirHitstunAnimation(10)
    GroundedHitstunAnimation(10)
    AirUntechableTime(48)
    AirPushbackY(38000)
    Hitstop(0)
    Unknown11001(15, 15, 15)
    Unknown9016(1)
    Unknown23182(2)
    Unknown23089('0100000000000000000000000100000001000000000000000100000001000000')

    def upon_54():
        clearUponHandler(54)
        clearUponHandler(77)
        Unknown23029(2, 4041, 0)
        Unknown21015('53776f7264443430305f41000000000000000000000000000000000000000000ca0f000000000000')
        Unknown21015('53776f7264443430305f42000000000000000000000000000000000000000000ca0f000000000000')
        Unknown21015('53776f7264443430305f43000000000000000000000000000000000000000000ca0f000000000000')
        Unknown21015('53776f7264443430305f41737369737400000000000000000000000000000000ca0f000000000000')

    def upon_77():
        Unknown23090(25)

    def upon_43():
        if (SLOT_48 == 4042):
            Unknown2003(1)
            Unknown2001()
    Unknown4013(2)
    Unknown4061(1)
    Unknown1072(-90000)
    Unknown3029(1)
    Unknown3070(2)
    Unknown3071(3)
    Unknown3072('80000000ff0000000000000000000000')
    Unknown3073('ff000000ff0000000000000000000000')
    Unknown3076(1050)
    Unknown3077(1100)

@State
def TripleSwordA():

    def upon_IMMEDIATE():
        SLOT_51 = 19
        callSubroutine('NY_TripleSword_Init')
    sprite('null', 1)	# 1-1
    sprite('null', 1)	# 2-2
    Unknown4011(0)
    label(0)
    sprite('null', 8)	# 3-10
    Unknown2038(1)
    teleportRelativeX(180000)
    GFX_1('nyef_blackptcstart', -1)
    SLOT_8 = (SLOT_8 + 1)
    GFX_0('SwordD400_A', -1)
    loopRest()
    gotoLabel(0)
    label(1)
    sprite('null', 10)	# 11-20

@State
def TripleSwordB():

    def upon_IMMEDIATE():
        SLOT_51 = 200
        callSubroutine('NY_TripleSword_Init')
    sprite('null', 1)	# 1-1
    GFX_0('NY_BlackArea', -1)
    sprite('null', 1)	# 2-2
    Unknown4011(0)
    label(0)
    sprite('null', 8)	# 3-10
    teleportRelativeX(180000)
    GFX_1('nyef_blackptcstart', -1)
    Unknown38(8, 7)
    Unknown38(7, 6)
    Unknown38(6, 5)
    Unknown38(5, 4)
    GFX_0('SwordD400_B', -1)
    Unknown38(4, 1)
    SLOT_63 = (SLOT_63 + 1)
    loopRest()
    gotoLabel(0)
    label(1)
    sprite('null', 10)	# 11-20

@State
def TripleSwordC():

    def upon_IMMEDIATE():
        SLOT_51 = 200
        callSubroutine('NY_TripleSword_Init')
    sprite('null', 1)	# 1-1
    GFX_0('NY_BlackArea', -1)
    sprite('null', 1)	# 2-2
    Unknown4011(0)
    label(0)
    sprite('null', 8)	# 3-10
    Unknown2038(1)
    teleportRelativeX(180000)
    GFX_1('nyef_blackptcstart', -1)
    Unknown38(8, 7)
    Unknown38(7, 6)
    Unknown38(6, 5)
    Unknown38(5, 4)
    GFX_0('SwordD400_C', -1)
    Unknown38(4, 1)
    loopRest()
    gotoLabel(0)
    label(1)
    sprite('null', 10)	# 11-20

@State
def TripleSwordAssist():

    def upon_IMMEDIATE():
        SLOT_51 = 200
        callSubroutine('NY_TripleSword_Init')
    sprite('null', 1)	# 1-1
    GFX_0('NY_BlackArea', -1)
    sprite('null', 1)	# 2-2
    Unknown4011(0)
    label(0)
    sprite('null', 8)	# 3-10
    Unknown20(6, 2, 52)
    teleportRelativeX(180000)
    GFX_1('nyef_blackptcstart', -1)
    Unknown38(8, 7)
    Unknown38(7, 6)
    Unknown38(6, 5)
    Unknown38(5, 4)
    GFX_0('SwordD400_Assist', -1)
    Unknown38(4, 1)
    loopRest()
    gotoLabel(0)
    label(1)
    sprite('null', 10)	# 11-20

@State
def SwordD400_A():

    def upon_IMMEDIATE():
        Unknown2010()
        callSubroutine('SwordD400_Init')
    sprite('vrnyef_swd400atk00', 12)	# 1-12	 **attackbox here**
    Unknown3001(240)
    setGravity(-800)
    Unknown1056(520)
    Unknown1059(40)
    Unknown1007(-104000)
    SFX_3('nyse_32')
    sprite('vrnyef_swd400atk01', 1)	# 13-13	 **attackbox here**
    setGravity(-8000)
    Unknown1007(42000)
    Unknown1099(0)
    Unknown1096(1000)
    sprite('vrnyef_swd400atk02', 1)	# 14-14	 **attackbox here**
    sprite('vrnyef_swd400atk03', 1)	# 15-15	 **attackbox here**
    sprite('vrnyef_swd400atk', 6)	# 16-21	 **attackbox here**
    setGravity(-6000)
    physicsYImpulse(24000)
    sprite('vrnyef_swd400atk', 10)	# 22-31	 **attackbox here**
    setGravity(0)
    physicsYImpulse(16000)
    Unknown1059(-10)
    Unknown1067(-100)
    Unknown3001(120)
    Unknown3004(-12)
    Unknown2001()

@State
def SwordD400_B():

    def upon_IMMEDIATE():
        Unknown2010()
        callSubroutine('SwordD400_Init')
    sprite('vrnyef_swd400atk00', 12)	# 1-12	 **attackbox here**
    Unknown3001(240)
    setGravity(-800)
    Unknown1056(520)
    Unknown1059(40)
    Unknown1007(-104000)
    SFX_3('nyse_32')
    sprite('vrnyef_swd400atk01', 1)	# 13-13	 **attackbox here**
    setGravity(-8000)
    Unknown1007(42000)
    Unknown1099(0)
    Unknown1096(1000)
    sprite('vrnyef_swd400atk02', 1)	# 14-14	 **attackbox here**
    sprite('vrnyef_swd400atk03', 1)	# 15-15	 **attackbox here**
    sprite('vrnyef_swd400atk', 6)	# 16-21	 **attackbox here**
    setGravity(-6000)
    physicsYImpulse(24000)
    sprite('vrnyef_swd400atk', 10)	# 22-31	 **attackbox here**
    setGravity(0)
    physicsYImpulse(16000)
    Unknown1059(-10)
    Unknown1067(-100)
    Unknown3001(120)
    Unknown3004(-12)
    Unknown2001()

@State
def SwordD400_C():

    def upon_IMMEDIATE():
        Unknown2010()
        callSubroutine('SwordD400_Init')
        Damage(2600)
        Unknown30065(0)
        MinimumDamagePct(10)
    sprite('vrnyef_swd400atk00', 12)	# 1-12	 **attackbox here**
    Unknown3001(240)
    setGravity(-800)
    Unknown1056(520)
    Unknown1059(40)
    Unknown1007(-104000)
    SFX_3('nyse_32')
    sprite('vrnyef_swd400atk01', 1)	# 13-13	 **attackbox here**
    setGravity(-8000)
    Unknown1007(42000)
    Unknown1099(0)
    Unknown1096(1000)
    sprite('vrnyef_swd400atk02', 1)	# 14-14	 **attackbox here**
    sprite('vrnyef_swd400atk03', 1)	# 15-15	 **attackbox here**
    sprite('vrnyef_swd400atk', 6)	# 16-21	 **attackbox here**
    setGravity(-6000)
    physicsYImpulse(24000)
    sprite('vrnyef_swd400atk', 10)	# 22-31	 **attackbox here**
    setGravity(0)
    physicsYImpulse(16000)
    Unknown1059(-10)
    Unknown1067(-100)
    Unknown3001(120)
    Unknown3004(-12)
    Unknown2001()

@State
def SwordD400_Assist():

    def upon_IMMEDIATE():
        Unknown2010()
        callSubroutine('SwordD400_Init')
        AttackP1(70)
        Unknown11042(1)
    sprite('vrnyef_swd400atk00', 12)	# 1-12	 **attackbox here**
    Unknown3001(240)
    setGravity(-800)
    Unknown1056(520)
    Unknown1059(40)
    Unknown1007(-104000)
    SFX_3('nyse_32')
    sprite('vrnyef_swd400atk01', 1)	# 13-13	 **attackbox here**
    setGravity(-8000)
    Unknown1007(42000)
    Unknown1099(0)
    Unknown1096(1000)
    sprite('vrnyef_swd400atk02', 1)	# 14-14	 **attackbox here**
    sprite('vrnyef_swd400atk03', 1)	# 15-15	 **attackbox here**
    sprite('vrnyef_swd400atk', 6)	# 16-21	 **attackbox here**
    setGravity(-6000)
    physicsYImpulse(24000)
    sprite('vrnyef_swd400atk', 10)	# 22-31	 **attackbox here**
    setGravity(0)
    physicsYImpulse(16000)
    Unknown1059(-10)
    Unknown1067(-100)
    Unknown3001(120)
    Unknown3004(-12)
    Unknown2001()

@State
def SwordD400_TAG():

    def upon_IMMEDIATE():
        Unknown2009()
        Unknown4009(3)
        Unknown1086(22)
        teleportRelativeY(0)
        Unknown2003(1)
        Unknown4013(2)
        Unknown4061(1)
        Unknown1072(-90000)
        Unknown3029(1)
        Unknown3070(2)
        Unknown3071(3)
        Unknown3072('80000000ff0000000000000000000000')
        Unknown3073('ff000000ff0000000000000000000000')
        Unknown3076(1050)
        Unknown3077(1100)
    sprite('vrnyef_swd400atk00ex01', 2)	# 1-2
    GFX_0('NY_BlackArea', -1)
    GFX_1('nyef_blackptcstart', -1)
    Unknown3001(240)
    setGravity(-2400)
    Unknown1056(1560)
    Unknown1059(120)
    Unknown1007(-104000)
    SFX_3('nyse_32')
    sprite('vrnyef_swd400atk00ex01', 4)	# 3-6
    setGravity(-8000)
    Unknown1007(42000)
    Unknown1099(0)
    Unknown1096(1000)
    sprite('vrnyef_swd400atk01', 1)	# 7-7	 **attackbox here**
    sprite('vrnyef_swd400atk02', 1)	# 8-8	 **attackbox here**
    sprite('vrnyef_swd400atk03', 1)	# 9-9	 **attackbox here**
    sprite('vrnyef_swd400atk', 2)	# 10-11	 **attackbox here**
    setGravity(-6000)
    physicsYImpulse(24000)
    sprite('vrnyef_swd400atk', 10)	# 12-21	 **attackbox here**
    setGravity(0)
    physicsYImpulse(16000)
    Unknown1059(-10)
    Unknown1067(-100)
    Unknown3001(120)
    Unknown3004(-12)
    Unknown2001()

@State
def SwordD400_TAG_DammyAtkCol():

    def upon_IMMEDIATE():
        Unknown4010(3)
        Unknown3038(1)
        Unknown1086(22)
        Unknown2003(1)
    sprite('null', 1)	# 1-1
    StartMultihit()
    sprite('vrnyef_swd400atk', 10)	# 2-11	 **attackbox here**
    sprite('null', 1)	# 12-12
    StartMultihit()

@State
def NY_SumMultiSwordBigMc():

    def upon_IMMEDIATE():
        Unknown4061(1)

        def upon_43():
            if (SLOT_48 == 4301):
                clearUponHandler(43)
                sendToLabel(0)
    sprite('null', 200)	# 1-200
    GFX_1('nyef_sumDDstart00', -1)
    Unknown4047(229, 225, 229)
    Unknown4045('6e7965665f73756d444473746172743031000000000000000000000000000000ffffffff')
    Unknown4047(226, 226, 226)
    Unknown4045('6e7965665f73756d444473746172743032000000000000000000000000000000ffffffff')
    Unknown4047(226, 225, 226)
    Unknown4045('6e7965665f73756d444473746172743033000000000000000000000000000000ffffffff')
    Unknown4045('6e7965665f73756d444473746172740000000000000000000000000000000000ffffffff')
    label(0)
    sprite('null', 10)	# 201-210
    Unknown3004(-26)

@State
def NY_SumMultiSwordMc():

    def upon_IMMEDIATE():
        Unknown4061(1)
    sprite('null', 2)	# 1-2
    GFX_1('nyef_sumDDlaser01', -1)
    Unknown4047(225, 225, 226)
    Unknown4045('6e7965665f73756d44446c617365720000000000000000000000000000000000ffffffff')

@State
def DDMultiSwordMaster():

    def upon_IMMEDIATE():
        Unknown23056('')
        loopRelated(17, 100)

        def upon_17():
            sendToLabel(1)
        teleportRelativeX(237000)
        Unknown1007(250000)

        def upon_44():
            clearUponHandler(44)
            sendToLabel(1)
        SLOT_7 = 1

        def upon_STATE_END():
            SLOT_7 = 0

        def upon_43():
            if (SLOT_48 == 4306):
                clearUponHandler(43)
                sendToLabel(1)
    sprite('vrnyef_multiswddmy', 4)	# 1-4
    GFX_0('NY_SumMultiSwordBigMcOD', -1)
    Unknown38(8, 1)
    label(0)
    sprite('vrnyef_multiswddmy', 4)	# 5-8
    GFX_0('DDMultiSword', 8)
    sprite('vrnyef_multiswddmy', 4)	# 9-12
    GFX_0('DDMultiSword', 9)
    sprite('vrnyef_multiswddmy', 4)	# 13-16
    GFX_0('DDMultiSword', 10)
    sprite('vrnyef_multiswddmy', 4)	# 17-20
    GFX_0('DDMultiSword', 11)
    sprite('vrnyef_multiswddmy', 4)	# 21-24
    GFX_0('DDMultiSword', 12)
    sprite('vrnyef_multiswddmy', 4)	# 25-28
    GFX_0('DDMultiSword', 13)
    sprite('vrnyef_multiswddmy', 4)	# 29-32
    GFX_0('DDMultiSword', 14)
    sprite('vrnyef_multiswddmy', 4)	# 33-36
    GFX_0('DDMultiSword', 15)
    sprite('vrnyef_multiswddmy', 4)	# 37-40
    GFX_0('DDMultiSword', 16)
    sprite('vrnyef_multiswddmy', 4)	# 41-44
    GFX_0('DDMultiSword', 17)
    sprite('vrnyef_multiswddmy', 4)	# 45-48
    GFX_0('DDMultiSword', 18)
    sprite('vrnyef_multiswddmy', 4)	# 49-52
    GFX_0('DDMultiSword', 19)
    sprite('vrnyef_multiswddmy', 4)	# 53-56
    GFX_0('DDMultiSword', 20)
    sprite('vrnyef_multiswddmy', 4)	# 57-60
    GFX_0('DDMultiSword', 21)
    sprite('vrnyef_multiswddmy', 4)	# 61-64
    GFX_0('DDMultiSword', 22)
    sprite('vrnyef_multiswddmy', 4)	# 65-68
    GFX_0('DDMultiSword', 23)
    sprite('vrnyef_multiswddmy', 4)	# 69-72
    GFX_0('DDMultiSword', 24)
    sprite('vrnyef_multiswddmy', 4)	# 73-76
    GFX_0('DDMultiSword', 25)
    sprite('vrnyef_multiswddmy', 4)	# 77-80
    GFX_0('DDMultiSword', 26)
    sprite('vrnyef_multiswddmy', 4)	# 81-84
    GFX_0('DDMultiSword', 27)
    sprite('vrnyef_multiswddmy', 4)	# 85-88
    GFX_0('DDMultiSword', 28)
    sprite('vrnyef_multiswddmy', 4)	# 89-92
    GFX_0('DDMultiSword', 29)
    sprite('vrnyef_multiswddmy', 4)	# 93-96
    GFX_0('DDMultiSword', 30)
    sprite('vrnyef_multiswddmy', 4)	# 97-100
    GFX_0('DDMultiSword', 31)
    sprite('vrnyef_multiswddmy', 4)	# 101-104
    GFX_0('DDMultiSword', 32)
    sprite('vrnyef_multiswddmy', 4)	# 105-108
    GFX_0('DDMultiSword', 33)
    loopRest()
    gotoLabel(0)
    label(1)
    sprite('null', 10)	# 109-118
    Unknown23029(8, 4301, 0)
    sprite('null', 9)	# 119-127

@State
def DDMultiSword():

    def upon_IMMEDIATE():
        Unknown2011()
        AttackLevel_(3)
        Damage(360)
        MinimumDamagePct(5)
        AttackP1(80)
        AttackP2(60)
        Unknown11092(1)
        AirHitstunAnimation(12)
        GroundedHitstunAnimation(12)
        AirPushbackX(80000)
        AirPushbackY(1000)
        YImpluseBeforeWallbounce(5)
        AirUntechableTime(40)
        WallbounceReboundTime(5)
        Hitstop(2)
        Unknown11057(400)
        Unknown9016(1)
        Unknown23182(2)
        Unknown4061(2)
        Unknown3001(0)
        Unknown2019(-50)
        Unknown2055(120)

        def upon_ON_HIT_OR_BLOCK():
            sendToLabel(1)

        def upon_44():
            sendToLabel(1)
        Unknown3029(1)
        Unknown3069(2)
        Unknown3070(2)
        Unknown3071(2)
        Unknown3076(1000)
        Unknown3077(1000)
        Unknown53(1)
        SFX_3('nyse_00')

        def upon_43():
            if (SLOT_48 == 4305):
                clearUponHandler(43)
                Damage(330)
                MinimumDamagePct(10)
                Unknown30070('44444d756c746953776f72644f44000000000000000000000000000000000000')
                Unknown11110(64)
    sprite('vrnyef_mltswd00', 1)	# 1-1
    GFX_0('NY_SumMultiSwordMc', -1)
    teleportRelativeX(-80000)
    Unknown3004(40)
    physicsXImpulse(29900)
    sprite('vrnyef_mltswd01', 1)	# 2-2
    sprite('vrnyef_mltswd02', 1)	# 3-3
    sprite('vrnyef_mltswd03', 1)	# 4-4
    sprite('vrnyef_mltswd04', 1)	# 5-5
    sprite('vrnyef_mltswd05', 1)	# 6-6
    Unknown1019(600)
    label(0)
    sprite('vrnyef_mltswdatk', 2)	# 7-8	 **attackbox here**
    GFX_1('nyef_sumDDmultikksn00', -1)
    loopRest()
    gotoLabel(0)
    label(1)
    sprite('vrnyef_mltswdatk', 6)	# 9-14	 **attackbox here**
    Unknown2001()
    Unknown3004(-30)
    Unknown1084(1)
    Unknown1059(100)
    Unknown1067(-100)

@State
def NY_SumMultiSwordBigMcOD():

    def upon_IMMEDIATE():
        Unknown3032()
        Unknown4061(1)
        Unknown4010(2)
        Unknown4047(226, 225, 226)
        Unknown23067('rmef_sumDDstart03b')

        def upon_43():
            if (SLOT_48 == 4301):
                clearUponHandler(43)
                sendToLabel(0)
    sprite('null', 1000)	# 1-1000
    GFX_0('NY_MultiSwordODSub', -1)
    Unknown38(9, 1)
    GFX_0('NY_MultiSwordODSub2', -1)
    Unknown38(10, 1)
    GFX_0('NY_MultiSwordODSub3', -1)
    Unknown38(11, 1)
    label(0)
    sprite('null', 10)	# 1001-1010
    Unknown3004(-26)
    Unknown23029(9, 4302, 0)
    Unknown23029(10, 4303, 0)
    Unknown23029(11, 4304, 0)

@State
def NY_MultiSwordODSub():

    def upon_IMMEDIATE():
        Unknown3032()
        Unknown4061(1)
        Unknown4010(2)

        def upon_43():
            if (SLOT_48 == 4302):
                clearUponHandler(43)
                sendToLabel(0)
    sprite('null', 32767)	# 1-32767
    GFX_2('rmef_sumDDstart00')
    label(0)
    sprite('null', 10)	# 32768-32777
    Unknown3004(-26)

@State
def NY_MultiSwordODSub2():

    def upon_IMMEDIATE():
        Unknown3032()
        Unknown4061(1)
        Unknown4010(2)

        def upon_43():
            if (SLOT_48 == 4303):
                clearUponHandler(43)
                sendToLabel(0)
    sprite('null', 32767)	# 1-32767
    Unknown4047(229, 225, 229)
    Unknown23067('nyef_sumDDstart01')
    label(0)
    sprite('null', 10)	# 32768-32777
    Unknown3004(-26)

@State
def NY_MultiSwordODSub3():

    def upon_IMMEDIATE():
        Unknown3032()
        Unknown4061(1)
        Unknown4010(2)

        def upon_43():
            if (SLOT_48 == 4304):
                clearUponHandler(43)
                sendToLabel(0)
    sprite('null', 32767)	# 1-32767
    Unknown4047(226, 226, 226)
    Unknown23067('rmef_sumDDstart02')
    label(0)
    sprite('null', 10)	# 32768-32777
    Unknown3004(-26)

@State
def DDMultiSwordMasterOD():

    def upon_IMMEDIATE():
        Unknown23056('')
        loopRelated(17, 130)

        def upon_17():
            sendToLabel(1)
        teleportRelativeX(237000)
        Unknown1007(250000)

        def upon_44():
            clearUponHandler(44)
            sendToLabel(1)
        SLOT_7 = 1

        def upon_STATE_END():
            SLOT_7 = 0

        def upon_43():
            if (SLOT_48 == 4306):
                clearUponHandler(43)
                sendToLabel(1)
    sprite('vrnyef_multiswddmy', 4)	# 1-4
    GFX_0('NY_SumMultiSwordBigMcOD', -1)
    Unknown38(8, 1)
    label(0)
    sprite('vrnyef_multiswddmy', 4)	# 5-8
    GFX_0('DDMultiSword', 8)
    Unknown23029(1, 4305, 0)
    sprite('vrnyef_multiswddmy', 4)	# 9-12
    GFX_0('DDMultiSword', 9)
    Unknown23029(1, 4305, 0)
    sprite('vrnyef_multiswddmy', 4)	# 13-16
    GFX_0('DDMultiSword', 10)
    Unknown23029(1, 4305, 0)
    sprite('vrnyef_multiswddmy', 4)	# 17-20
    GFX_0('DDMultiSword', 11)
    Unknown23029(1, 4305, 0)
    sprite('vrnyef_multiswddmy', 4)	# 21-24
    GFX_0('DDMultiSword', 12)
    Unknown23029(1, 4305, 0)
    sprite('vrnyef_multiswddmy', 4)	# 25-28
    GFX_0('DDMultiSword', 13)
    Unknown23029(1, 4305, 0)
    sprite('vrnyef_multiswddmy', 4)	# 29-32
    GFX_0('DDMultiSword', 14)
    Unknown23029(1, 4305, 0)
    sprite('vrnyef_multiswddmy', 4)	# 33-36
    GFX_0('DDMultiSword', 15)
    Unknown23029(1, 4305, 0)
    sprite('vrnyef_multiswddmy', 4)	# 37-40
    GFX_0('DDMultiSword', 16)
    Unknown23029(1, 4305, 0)
    sprite('vrnyef_multiswddmy', 4)	# 41-44
    GFX_0('DDMultiSword', 17)
    Unknown23029(1, 4305, 0)
    sprite('vrnyef_multiswddmy', 4)	# 45-48
    GFX_0('DDMultiSword', 18)
    Unknown23029(1, 4305, 0)
    sprite('vrnyef_multiswddmy', 4)	# 49-52
    GFX_0('DDMultiSword', 19)
    Unknown23029(1, 4305, 0)
    sprite('vrnyef_multiswddmy', 4)	# 53-56
    GFX_0('DDMultiSword', 20)
    Unknown23029(1, 4305, 0)
    sprite('vrnyef_multiswddmy', 4)	# 57-60
    GFX_0('DDMultiSword', 21)
    Unknown23029(1, 4305, 0)
    sprite('vrnyef_multiswddmy', 4)	# 61-64
    GFX_0('DDMultiSword', 22)
    Unknown23029(1, 4305, 0)
    sprite('vrnyef_multiswddmy', 4)	# 65-68
    GFX_0('DDMultiSword', 23)
    Unknown23029(1, 4305, 0)
    sprite('vrnyef_multiswddmy', 4)	# 69-72
    GFX_0('DDMultiSword', 24)
    Unknown23029(1, 4305, 0)
    sprite('vrnyef_multiswddmy', 4)	# 73-76
    GFX_0('DDMultiSword', 25)
    Unknown23029(1, 4305, 0)
    sprite('vrnyef_multiswddmy', 4)	# 77-80
    GFX_0('DDMultiSword', 26)
    Unknown23029(1, 4305, 0)
    sprite('vrnyef_multiswddmy', 4)	# 81-84
    GFX_0('DDMultiSword', 27)
    Unknown23029(1, 4305, 0)
    sprite('vrnyef_multiswddmy', 4)	# 85-88
    GFX_0('DDMultiSword', 28)
    Unknown23029(1, 4305, 0)
    sprite('vrnyef_multiswddmy', 4)	# 89-92
    GFX_0('DDMultiSword', 29)
    Unknown23029(1, 4305, 0)
    sprite('vrnyef_multiswddmy', 4)	# 93-96
    GFX_0('DDMultiSword', 30)
    Unknown23029(1, 4305, 0)
    sprite('vrnyef_multiswddmy', 4)	# 97-100
    GFX_0('DDMultiSword', 31)
    Unknown23029(1, 4305, 0)
    sprite('vrnyef_multiswddmy', 4)	# 101-104
    GFX_0('DDMultiSword', 32)
    Unknown23029(1, 4305, 0)
    sprite('vrnyef_multiswddmy', 4)	# 105-108
    GFX_0('DDMultiSword', 33)
    Unknown23029(1, 4305, 0)
    loopRest()
    gotoLabel(0)
    label(1)
    sprite('null', 10)	# 109-118
    Unknown23029(8, 4301, 0)
    sprite('null', 9)	# 119-127

@State
def NY_SumBigSword():

    def upon_IMMEDIATE():
        Unknown4007(2)
        Unknown2053(1)
        Unknown2034(1)
        Unknown4061(1)
    sprite('null', 200)	# 1-200
    GFX_1('nyef_sumDD03', -1)
    Unknown4049(2000)
    Unknown4047(229, 225, 229)
    Unknown4045('6e7965665f73756d444400000000000000000000000000000000000000000000ffffffff')

@State
def DDBigSwordSub():

    def upon_IMMEDIATE():
        Unknown4009(2)
        Unknown4061(1)
        Unknown2019(-5)
        Unknown2055(120)
        Unknown3001(0)
        Unknown2053(1)
        Unknown2034(1)
        Unknown3029(0)
        Unknown3069(2)
        Unknown3070(1)
        Unknown3071(5)
        Unknown3072('00000000ff0000000000000000000000')
        Unknown3073('ff000000000000000000000000000000')
        Unknown3076(1020)
        Unknown3077(1050)
    sprite('vrnyef_ddbigswdb00', 41)	# 1-41
    Unknown1007(512000)
    physicsYImpulse(-500)
    Unknown3004(20)
    sprite('vrnyef_ddbigswdb01', 1)	# 42-42
    Unknown1007(-200000)
    sprite('vrnyef_ddbigswdb02', 1)	# 43-43
    Unknown1007(-150000)
    sprite('vrnyef_ddbigswdb03', 1)	# 44-44
    Unknown1007(-50000)
    sprite('vrnyef_ddbigswdb04', 8)	# 45-52
    physicsYImpulse(-500)
    Unknown3001(255)
    sprite('vrnyef_ddbigswdb05', 10)	# 53-62
    sprite('vrnyef_ddbigswdb05', 15)	# 63-77
    Unknown3004(-20)

@State
def DDBigSwordMaster():

    def upon_IMMEDIATE():
        Unknown23056('')
        Unknown2054(1)
    sprite('null', 15)	# 1-15
    GFX_0('DDBigSword', -1)

@State
def DDBigSwordMasterSearch():

    def upon_IMMEDIATE():
        Unknown1086(22)
        Unknown2054(1)
        teleportRelativeX(-250000)
        teleportRelativeY(0)
    sprite('null', 15)	# 1-15
    GFX_0('DDBigSwordDDD', -1)

@State
def DDBigSwordODMaster():

    def upon_IMMEDIATE():
        Unknown23056('')
        Unknown2054(1)
        Unknown2034(1)
    sprite('null', 15)	# 1-15
    GFX_0('DDBigSword', -1)
    Unknown23029(1, 4312, 0)
    teleportRelativeX(150000)
    sprite('null', 15)	# 16-30
    GFX_0('DDBigSword', -1)
    Unknown23029(1, 4312, 0)
    teleportRelativeX(150000)
    sprite('null', 15)	# 31-45
    GFX_0('DDBigSword', -1)
    Unknown23029(1, 4312, 0)
    teleportRelativeX(150000)
    sprite('null', 15)	# 46-60
    GFX_0('DDBigSword', -1)
    Unknown23029(1, 4311, 0)
    teleportRelativeX(150000)

@State
def DDBigSwordODMasterSearch():

    def upon_IMMEDIATE():
        Unknown23056('')
        Unknown2054(1)
        Unknown2034(1)
        Unknown1086(22)
        teleportRelativeX(-250000)
        teleportRelativeY(0)
    sprite('null', 15)	# 1-15
    GFX_0('DDBigSwordDDD', -1)
    Unknown23029(1, 4312, 0)
    teleportRelativeX(150000)
    sprite('null', 15)	# 16-30
    GFX_0('DDBigSwordDDD', -1)
    Unknown23029(1, 4312, 0)
    teleportRelativeX(150000)
    sprite('null', 15)	# 31-45
    GFX_0('DDBigSwordDDD', -1)
    Unknown23029(1, 4312, 0)
    teleportRelativeX(150000)
    sprite('null', 15)	# 46-60
    GFX_0('DDBigSwordDDD', -1)
    Unknown23029(1, 4311, 0)
    teleportRelativeX(150000)

@State
def DDBigSword():

    def upon_IMMEDIATE():
        Unknown2011()
        Unknown2054(1)
        teleportRelativeX(256000)
        Unknown1007(640000)
        Unknown2019(-1)
        Unknown2053(1)
        Unknown2034(1)
        Unknown3001(0)
        Unknown4061(1)
        Unknown3029(1)
        Unknown3069(2)
        Unknown3070(1)
        Unknown3071(3)
        Unknown3072('00000000ff0000000000000000000000')
        Unknown3073('ff000000000000000000000000000000')
        Unknown3076(1030)
        Unknown3077(1040)
        AttackLevel_(4)
        Damage(5500)
        MinimumDamagePct(33)
        AttackP1(80)
        AttackP2(60)
        GroundedHitstunAnimation(9)
        AirPushbackY(-100000)
        AirUntechableTime(100)
        Unknown9190(1)
        Unknown9118(20)
        Unknown9310(1)
        YImpluseBeforeWallbounce(0)
        Unknown9016(1)
        Unknown23182(2)

        def upon_43():
            if (SLOT_48 == 4312):
                Unknown30070('444442696753776f72644f440000000000000000000000000000000000000000')
                Damage(2850)
                MinimumDamagePct(15)
                YImpluseBeforeWallbounce(2000)
                Unknown11092(1)
                AirHitstunAnimation(13)
                GroundedHitstunAnimation(13)
                Hitstop(1)
                AirPushbackX(7500)
                AirPushbackY(11000)
                Unknown11001(0, 0, 0)
                Unknown30055('905f01003200000000000000')
            if (SLOT_48 == 4311):
                clearUponHandler(43)
                Unknown30070('444442696753776f72644f440000000000000000000000000000000000000000')
                Damage(4000)
                MinimumDamagePct(20)
                YImpluseBeforeWallbounce(2000)
                Unknown11092(1)
                AirHitstunAnimation(13)
                GroundedHitstunAnimation(13)
                Hitstop(1)
                AirPushbackX(12500)
                AirPushbackY(-60000)
                Unknown11001(0, 0, 0)
                Unknown11064(0)
                Unknown9310(1)
    sprite('vrnyef_ddbigswd00', 40)	# 1-40
    GFX_0('NY_SumBigSword', -1)
    GFX_0('DDBigSwordSub', -1)
    Unknown38(7, 1)
    Unknown3004(10)
    Unknown1007(512000)
    physicsYImpulse(-1000)
    GFX_1('nyef_bottomswd', -1)
    GFX_1('nyef_bottomswd', 3)
    GFX_1('nyef_bottomswd', 4)
    GFX_1('nyef_bottomswd', 5)
    sprite('keep', 1)	# 41-41
    Unknown23029(7, 4313, 0)
    sprite('vrnyef_ddbigswd01', 1)	# 42-42
    Unknown1007(-200000)
    GFX_1('nyef_bottomswd', 3)
    GFX_1('nyef_bottomswd', 4)
    GFX_1('nyef_bottomswd', 5)
    ScreenShake(0, 30000)
    SFX_3('nyse_04')
    sprite('vrnyef_ddbigswd02', 1)	# 43-43
    Unknown1007(-150000)
    GFX_1('nyef_bottomswd', 3)
    GFX_1('nyef_bottomswd', 4)
    GFX_1('nyef_bottomswd', 5)
    sprite('vrnyef_ddbigswd03', 1)	# 44-44	 **attackbox here**
    Unknown1007(-50000)
    GFX_1('nyef_sumDDshock', 104)
    GFX_1('nyef_sumDDshocklight00', 0)
    GFX_1('nyef_bottomswd', 3)
    GFX_1('nyef_bottomswd', 4)
    GFX_1('nyef_bottomswd', 5)
    sprite('vrnyef_ddbigswd04', 8)	# 45-52	 **attackbox here**
    Unknown3001(255)
    Unknown1099(1)
    GFX_1('nyef_bottomswd', 0)
    GFX_1('nyef_bottomswd', 1)
    GFX_1('nyef_bottomswd', 2)
    sprite('vrnyef_ddbigswd05', 25)	# 53-77
    physicsYImpulse(2000)
    Unknown3004(-10)
    GFX_1('nyef_bottomswd', 0)
    GFX_1('nyef_bottomswd', 1)
    GFX_1('nyef_bottomswd', 2)
    GFX_1('nyef_bottomswd', 3)
    GFX_1('nyef_bottomswd', 4)
    GFX_1('nyef_bottomswd', 5)

@State
def DDBigSwordDDD():

    def upon_IMMEDIATE():
        Unknown2011()
        Unknown2054(1)
        teleportRelativeX(256000)
        Unknown1007(640000)
        Unknown2019(-1)
        Unknown2053(1)
        Unknown2034(1)
        Unknown3001(0)
        Unknown4061(1)
        Unknown3029(1)
        Unknown3069(2)
        Unknown3070(1)
        Unknown3071(3)
        Unknown3072('00000000ff0000000000000000000000')
        Unknown3073('ff000000000000000000000000000000')
        Unknown3076(1030)
        Unknown3077(1040)
        AttackLevel_(4)
        Damage(2000)
        MinimumDamagePct(100)
        AttackP1(100)
        AttackP2(100)
        GroundedHitstunAnimation(9)
        AirPushbackY(-100000)
        AirUntechableTime(100)
        Unknown9190(1)
        Unknown9118(20)
        Unknown9310(1)
        YImpluseBeforeWallbounce(0)
        Unknown9016(1)
        Unknown23182(2)

        def upon_43():
            if (SLOT_48 == 4312):
                Unknown30070('444442696753776f72644f440000000000000000000000000000000000000000')
                Damage(500)
                YImpluseBeforeWallbounce(2000)
                MinimumDamagePct(100)
                Unknown11092(1)
                AirHitstunAnimation(13)
                GroundedHitstunAnimation(13)
                Hitstop(1)
                AirPushbackX(7500)
                AirPushbackY(11000)
                Unknown11001(0, 0, 0)
                Unknown30055('905f01003200000000000000')
            if (SLOT_48 == 4311):
                clearUponHandler(43)
                Unknown30070('444442696753776f72644f440000000000000000000000000000000000000000')
                Damage(1000)
                YImpluseBeforeWallbounce(2000)
                MinimumDamagePct(100)
                Unknown11092(1)
                AirHitstunAnimation(13)
                GroundedHitstunAnimation(13)
                Hitstop(1)
                AirPushbackX(12500)
                AirPushbackY(-60000)
                Unknown11001(0, 0, 0)
                Unknown11064(0)
                Unknown9310(1)
    sprite('vrnyef_ddbigswd00', 40)	# 1-40
    GFX_0('NY_SumBigSword', -1)
    GFX_0('DDBigSwordSub', -1)
    Unknown38(7, 1)
    Unknown3004(10)
    Unknown1007(512000)
    physicsYImpulse(-1000)
    GFX_1('nyef_bottomswd', -1)
    GFX_1('nyef_bottomswd', 3)
    GFX_1('nyef_bottomswd', 4)
    GFX_1('nyef_bottomswd', 5)
    sprite('keep', 1)	# 41-41
    Unknown23029(7, 4313, 0)
    sprite('vrnyef_ddbigswd01', 1)	# 42-42
    Unknown1007(-200000)
    GFX_1('nyef_bottomswd', 3)
    GFX_1('nyef_bottomswd', 4)
    GFX_1('nyef_bottomswd', 5)
    ScreenShake(0, 30000)
    SFX_3('nyse_04')
    sprite('vrnyef_ddbigswd02', 1)	# 43-43
    Unknown1007(-150000)
    GFX_1('nyef_bottomswd', 3)
    GFX_1('nyef_bottomswd', 4)
    GFX_1('nyef_bottomswd', 5)
    sprite('vrnyef_ddbigswd03', 1)	# 44-44	 **attackbox here**
    Unknown1007(-50000)
    GFX_1('nyef_sumDDshock', 104)
    GFX_1('nyef_sumDDshocklight00', 0)
    GFX_1('nyef_bottomswd', 3)
    GFX_1('nyef_bottomswd', 4)
    GFX_1('nyef_bottomswd', 5)
    sprite('vrnyef_ddbigswd04', 8)	# 45-52	 **attackbox here**
    Unknown3001(255)
    Unknown1099(1)
    GFX_1('nyef_bottomswd', 0)
    GFX_1('nyef_bottomswd', 1)
    GFX_1('nyef_bottomswd', 2)
    sprite('vrnyef_ddbigswd05', 25)	# 53-77
    physicsYImpulse(2000)
    Unknown3004(-10)
    GFX_1('nyef_bottomswd', 0)
    GFX_1('nyef_bottomswd', 1)
    GFX_1('nyef_bottomswd', 2)
    GFX_1('nyef_bottomswd', 3)
    GFX_1('nyef_bottomswd', 4)
    GFX_1('nyef_bottomswd', 5)

@State
def BlackArea():

    def upon_IMMEDIATE():
        Unknown2019(-500)
        teleportRelativeX(160000)
    sprite('null', 120)	# 1-120
    GFX_1('nyef_blackptcstart', -1)
    GFX_1('nyef_sumlight00', -1)

@State
def DIST_TriSwd():

    def upon_CLEAR_OR_EXIT():
        Unknown3057(1)
        Unknown3058(20000)
        Unknown3059(-1000)
    sprite('vrdist_ny00', 6)	# 1-6
    Unknown1056(1600)
    Unknown1064(1800)
    Unknown1059(150)
    Unknown1067(150)
    sprite('vrdist_ny00', 10)	# 7-16
    Unknown1059(-200)

@State
def TripleSwordEffA():

    def upon_IMMEDIATE():
        Unknown4061(2)
        Unknown3033()
        Unknown2019(-100)
        teleportRelativeX(-30000)
        Unknown1072(-65000)
        Unknown3029(1)
        Unknown3069(2)
        Unknown3070(1)
        Unknown3071(6)
        Unknown3076(1000)
        Unknown3077(1000)
    sprite('null', 2)	# 1-2
    sprite('vrnyef_swd400a', 8)	# 3-10
    Unknown3001(80)
    Unknown3004(20)
    physicsXImpulse(5000)
    physicsYImpulse(14000)
    sprite('vrnyef_swd400a', 12)	# 11-22
    Unknown3004(-24)

@State
def TripleSwordEffB():

    def upon_IMMEDIATE():
        Unknown4061(2)
        Unknown3033()
        Unknown2019(-100)
        teleportRelativeX(60000)
        Unknown1072(245000)
        Unknown3029(1)
        Unknown3069(2)
        Unknown3070(1)
        Unknown3071(6)
        Unknown3076(1000)
        Unknown3077(1000)
    sprite('null', 2)	# 1-2
    sprite('vrnyef_swd400a', 8)	# 3-10
    Unknown3001(80)
    Unknown3004(20)
    physicsXImpulse(-5000)
    physicsYImpulse(15000)
    sprite('vrnyef_swd400a', 12)	# 11-22
    Unknown3004(-20)

@State
def TripleSwordMaster():

    def upon_IMMEDIATE():
        Unknown4011(3)
        SLOT_51 = 200
        teleportRelativeX(70000)
    sprite('null', 1)	# 1-1
    GFX_0('BlackArea', -1)
    sprite('null', 1)	# 2-2
    Unknown4011(0)
    sprite('null', 8)	# 3-10
    teleportRelativeX(180000)
    GFX_1('nyef_blackptcstart', -1)
    loopRest()
    sprite('null', 10)	# 11-20

@State
def TripleSwordAtk():

    def upon_IMMEDIATE():
        Unknown2010()
        Unknown4061(1)
        Unknown1072(-90000)
        Unknown9016(1)
        Unknown3029(1)
        Unknown3070(2)
        Unknown3071(3)
        Unknown3072('80000000ff0000000000000000000000')
        Unknown3073('ff000000ff0000000000000000000000')
        Unknown3076(1050)
        Unknown3077(1100)
        teleportRelativeX(250000)
    sprite('vrnyef_swd400atk00', 12)	# 1-12	 **attackbox here**
    Unknown3001(240)
    setGravity(-800)
    GFX_0('TripleSwordEffA', -1)
    GFX_0('TripleSwordEffB', -1)
    Unknown1007(-104000)
    SFX_3('nyse_32')
    sprite('vrnyef_swd400atk01', 1)	# 13-13	 **attackbox here**
    setGravity(-8000)
    Unknown1007(42000)
    Unknown1099(0)
    Unknown1096(1000)
    sprite('vrnyef_swd400atk02', 1)	# 14-14	 **attackbox here**
    sprite('vrnyef_swd400atk03', 1)	# 15-15	 **attackbox here**
    sprite('vrnyef_swd400atk', 6)	# 16-21	 **attackbox here**
    setGravity(-6000)
    physicsYImpulse(24000)
    sprite('vrnyef_swd400atk', 10)	# 22-31	 **attackbox here**
    setGravity(0)
    physicsYImpulse(16000)
    Unknown1059(-10)
    Unknown1067(-100)
    Unknown3001(120)
    Unknown3004(-12)
    Unknown2001()
    GFX_0('NY_MagicA', -1)
    GFX_0('DIST_TriSwd', -1)
    GFX_1('nyef_blackptcdel', -1)

@State
def DDBigSwordCASub():

    def upon_IMMEDIATE():
        Unknown4009(2)
        Unknown4061(1)
        Unknown2019(-5)
        Unknown2055(120)
        Unknown3001(0)
        Unknown2053(1)
        Unknown3029(0)
        Unknown3069(2)
        Unknown3070(1)
        Unknown3071(5)
        Unknown3072('00000000ff0000000000000000000000')
        Unknown3073('ff000000000000000000000000000000')
        Unknown3076(1020)
        Unknown3077(1050)
    sprite('vrnyef_ddbigswdb00', 14)	# 1-14
    Unknown1007(512000)
    physicsYImpulse(-500)
    Unknown3004(20)
    sprite('vrnyef_ddbigswdb01', 1)	# 15-15
    Unknown1007(-200000)
    sprite('vrnyef_ddbigswdb02', 1)	# 16-16
    Unknown1007(-150000)
    sprite('vrnyef_ddbigswdb03', 1)	# 17-17
    Unknown1007(-50000)
    sprite('vrnyef_ddbigswdb04', 8)	# 18-25
    physicsYImpulse(-500)
    Unknown3001(255)
    sprite('vrnyef_ddbigswdb05', 10)	# 26-35
    sprite('vrnyef_ddbigswdb05', 15)	# 36-50
    Unknown3004(-20)

@State
def DDBigSwordCAFinish():

    def upon_IMMEDIATE():
        Unknown2011()
        Unknown2054(1)
        Unknown2053(1)
        Unknown9016(1)
        Unknown1086(22)
        teleportRelativeY(500000)
        Unknown2019(-1)
        Unknown3001(0)
        Unknown4061(1)
        Unknown3029(1)
        Unknown3069(2)
        Unknown3070(1)
        Unknown3071(3)
        Unknown3072('00000000ff0000000000000000000000')
        Unknown3073('ff000000000000000000000000000000')
        Unknown3076(1030)
        Unknown3077(1040)
    sprite('vrnyef_ddbigswd00', 14)	# 1-14
    GFX_0('NY_SumBigSword', -1)
    GFX_0('DDBigSwordCASub', -1)
    Unknown3004(10)
    Unknown1007(512000)
    physicsYImpulse(-1000)
    GFX_1('nyef_bottomswd', -1)
    GFX_1('nyef_bottomswd', 3)
    GFX_1('nyef_bottomswd', 4)
    GFX_1('nyef_bottomswd', 5)
    sprite('vrnyef_ddbigswd01', 1)	# 15-15
    Unknown1007(-200000)
    GFX_1('nyef_bottomswd', 3)
    GFX_1('nyef_bottomswd', 4)
    GFX_1('nyef_bottomswd', 5)
    ScreenShake(0, 30000)
    SFX_3('nyse_04')
    sprite('vrnyef_ddbigswd02', 1)	# 16-16
    Unknown1007(-150000)
    GFX_1('nyef_bottomswd', 3)
    GFX_1('nyef_bottomswd', 4)
    GFX_1('nyef_bottomswd', 5)
    sprite('vrnyef_ddbigswd03', 1)	# 17-17	 **attackbox here**
    Unknown1007(-50000)
    GFX_1('nyef_sumDDshock', 104)
    GFX_1('nyef_sumDDshocklight00', 0)
    GFX_1('nyef_bottomswd', 3)
    GFX_1('nyef_bottomswd', 4)
    GFX_1('nyef_bottomswd', 5)
    sprite('vrnyef_ddbigswd04', 8)	# 18-25	 **attackbox here**
    Unknown3001(255)
    Unknown1099(1)
    GFX_1('nyef_bottomswd', 0)
    GFX_1('nyef_bottomswd', 1)
    GFX_1('nyef_bottomswd', 2)
    sprite('vrnyef_ddbigswd05', 25)	# 26-50
    physicsYImpulse(2000)
    Unknown3004(-10)
    GFX_1('nyef_bottomswd', 0)
    GFX_1('nyef_bottomswd', 1)
    GFX_1('nyef_bottomswd', 2)
    GFX_1('nyef_bottomswd', 3)
    GFX_1('nyef_bottomswd', 4)
    GFX_1('nyef_bottomswd', 5)

@State
def AssistD_Shot():

    def upon_IMMEDIATE():
        Unknown4061(1)
        Unknown2010()
        AttackLevel_(4)
        AttackP1(70)
        Unknown9016(1)
        AirHitstunAnimation(13)
        GroundedHitstunAnimation(13)
        AirPushbackX(18000)
        AirPushbackY(32000)
        AirUntechableTime(60)
        Unknown11042(1)
        teleportRelativeX(200000)
        Unknown1007(200000)

        def upon_11():
            pass
    sprite('vrnyef_mltswd00', 1)	# 1-1
    GFX_0('NY_SumMultiSwordMc', -1)
    physicsXImpulse(22000)
    if random_(2, 0, 33):
        SFX_3('nyse_23')
    elif random_(2, 0, 50):
        SFX_3('nyse_24')
    else:
        SFX_3('nyse_25')
    sprite('vrnyef_mltswd01ex01', 1)	# 2-2
    sprite('vrnyef_mltswd02ex01', 1)	# 3-3
    sprite('vrnyef_mltswd03ex01', 1)	# 4-4
    sprite('vrnyef_mltswd04ex01', 1)	# 5-5
    sprite('vrnyef_mltswd05ex01', 1)	# 6-6
    sprite('vrnyef_mltswdatkex02', 2)	# 7-8	 **attackbox here**
    GFX_1('nyef_sumDDmultikksn00', -1)
    sprite('vrnyef_mltswdatkex01', 1)	# 9-9	 **attackbox here**
    GFX_1('nyef_sumDDmultikksn00', -1)
    sprite('vrnyef_mltswdatkex01', 1)	# 10-10	 **attackbox here**
    Unknown1019(375)
    sprite('vrnyef_mltswdatkex01', 2)	# 11-12	 **attackbox here**
    GFX_1('nyef_sumDDmultikksn00', -1)
    sprite('vrnyef_mltswdatkex01', 2)	# 13-14	 **attackbox here**
    GFX_1('nyef_sumDDmultikksn00', -1)
    sprite('vrnyef_mltswdatkex01', 2)	# 15-16	 **attackbox here**
    GFX_1('nyef_sumDDmultikksn00', -1)
    sprite('vrnyef_mltswdatkex01', 2)	# 17-18	 **attackbox here**
    Unknown2003(1)
    Unknown1019(50)
    Unknown3001(200)
    Unknown3004(-20)
    sprite('vrnyef_mltswdatkex01', 2)	# 19-20	 **attackbox here**
    Unknown1019(50)
    sprite('vrnyef_mltswdatkex01', 2)	# 21-22	 **attackbox here**
    Unknown1019(50)
    sprite('vrnyef_mltswdatkex01', 2)	# 23-24	 **attackbox here**
    Unknown1019(50)
    sprite('vrnyef_mltswdatkex01', 2)	# 25-26	 **attackbox here**
    Unknown1019(0)

@State
def White():
    sprite('vr_white', 30)	# 1-30
    Unknown2019(-500)
    Unknown3032()
    Unknown3001(0)
    Unknown3004(20)
    Unknown6001(1)
    Unknown23032(50)
    Unknown23033(-50)
    teleportRelativeY(-450000)
    Unknown1001(640000)
    Unknown1096(4000)
    sprite('vr_white', 30)	# 31-60
    Unknown3004(-10)

@State
def StartWhite():
    sprite('vr_white', 40)	# 1-40
    Unknown2019(-500)
    Unknown3032()
    Unknown3001(0)
    Unknown3004(20)
    Unknown6001(1)
    Unknown23032(50)
    Unknown23033(-50)
    teleportRelativeY(-450000)
    Unknown1001(640000)
    Unknown1096(4000)
    sprite('vr_white', 30)	# 41-70
    Unknown3004(-10)

@State
def FinishWhite():
    sprite('vr_white', 100)	# 1-100
    Unknown23015(1)
    Unknown2019(-500)
    Unknown3032()
    Unknown3001(255)
    Unknown6001(1)
    Unknown23032(50)
    Unknown23033(-50)
    teleportRelativeY(-450000)
    Unknown1001(640000)
    Unknown1096(4000)
    sprite('vr_white', 30)	# 101-130
    Unknown3004(-10)

@State
def NY_AHAnime():

    def upon_IMMEDIATE():
        Unknown6001(1)
        Unknown23032(50)
        teleportRelativeY(-450000)
        Unknown1001(640000)
        Unknown3032()
        Unknown3029(1)
        Unknown3069(2)
        Unknown3070(1)
        Unknown3071(3)
        Unknown3074('00000000ff0000000000000000000000')
        Unknown3075('00000000000000000000000000000000')
        Unknown3076(1010)
        Unknown3077(1010)
        Unknown2008()
    sprite('null', 40)	# 1-40
    sprite('ny450_a00', 4)	# 41-44
    Unknown1096(900)
    Unknown1099(1)
    setGravity(-2)
    Unknown3001(0)
    Unknown3004(10)
    tag_voice(0, 'bny292_0', 'bny292_1', '', '')
    if SLOT_43:
        Unknown18003('6135633561356335613563356135633561356335613563356135633561356335613563356135633561356335613563356135633561356335613563356135633561356335613563356135633561356335000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000')
    else:
        Unknown18003('6135633561356335613563356135633561356335613563356135633561356335613563356135633630613563356135633561356335613563356135633561356335613563356135633561356335613563350000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000')
    GFX_0('Astral3DFunnel', -1)
    sprite('ny450_a01', 4)	# 45-48
    sprite('ny450_a02', 4)	# 49-52
    sprite('ny450_a03', 4)	# 53-56
    sprite('ny450_a00', 4)	# 57-60
    sprite('ny450_a01', 4)	# 61-64
    sprite('ny450_a02', 4)	# 65-68
    sprite('ny450_a03', 4)	# 69-72
    sprite('ny450_a00', 4)	# 73-76
    SFX_0('019_quake_0')
    sprite('ny450_a01', 4)	# 77-80
    sprite('ny450_a02', 4)	# 81-84
    sprite('ny450_a03', 4)	# 85-88
    sprite('ny450_a00', 4)	# 89-92
    sprite('ny450_a01', 4)	# 93-96
    sprite('ny450_a02', 4)	# 97-100
    sprite('ny450_a03', 4)	# 101-104
    sprite('ny450_a00', 4)	# 105-108
    SFX_0('019_quake_0')
    sprite('ny450_a01', 4)	# 109-112
    sprite('ny450_a02', 4)	# 113-116
    sprite('ny450_a03', 4)	# 117-120
    sprite('ny450_a00', 4)	# 121-124
    sprite('ny450_a01', 4)	# 125-128
    sprite('ny450_a02', 4)	# 129-132
    sprite('ny450_a03', 4)	# 133-136
    sprite('ny450_a00', 4)	# 137-140
    SFX_0('019_quake_1')
    sprite('ny450_a01', 4)	# 141-144
    sprite('ny450_a02', 4)	# 145-148
    sprite('ny450_a03', 4)	# 149-152
    sprite('ny450_a00', 4)	# 153-156
    sprite('ny450_a01', 4)	# 157-160
    sprite('ny450_a02', 4)	# 161-164
    sprite('ny450_a03', 4)	# 165-168
    sprite('ny450_a00', 4)	# 169-172
    SFX_0('019_quake_0')
    SFX_0('019_quake_1')
    sprite('ny450_a01', 4)	# 173-176
    sprite('ny450_a02', 4)	# 177-180
    sprite('ny450_a03', 4)	# 181-184
    sprite('ny450_a00', 4)	# 185-188
    SFX_0('019_quake_0')
    SFX_0('019_quake_1')
    sprite('ny450_a01', 4)	# 189-192
    sprite('ny450_a02', 4)	# 193-196
    sprite('ny450_a03', 4)	# 197-200
    sprite('ny450_a00', 4)	# 201-204
    SFX_0('019_quake_0')
    SFX_0('019_quake_1')
    sprite('ny450_a01', 4)	# 205-208
    sprite('ny450_a02', 4)	# 209-212
    sprite('ny450_a03', 4)	# 213-216
    sprite('ny450_a00', 4)	# 217-220
    sprite('ny450_a00', 4)	# 221-224
    SFX_0('019_quake_0')
    SFX_0('019_quake_1')
    sprite('ny450_a01', 4)	# 225-228
    sprite('ny450_a02', 4)	# 229-232
    sprite('ny450_a03', 4)	# 233-236
    sprite('ny450_a00', 4)	# 237-240
    SFX_0('019_quake_0')
    SFX_0('019_quake_1')
    sprite('ny450_a04', 7)	# 241-247
    Unknown1096(1000)
    Unknown1099(0)
    setGravity(1)
    sprite('ny450_a05', 7)	# 248-254
    sprite('ny450_a06', 7)	# 255-261
    sprite('ny450_a07', 7)	# 262-268
    SFX_0('019_quake_0')
    sprite('ny450_a08', 7)	# 269-275
    sprite('ny450_a09', 5)	# 276-280
    SFX_0('019_quake_1')
    sprite('ny450_a10', 5)	# 281-285	 **attackbox here**
    sprite('ny450_a11', 5)	# 286-290	 **attackbox here**
    sprite('ny450_a12', 5)	# 291-295
    sprite('ny450_a13', 5)	# 296-300
    sprite('ny450_a14', 5)	# 301-305
    sprite('ny450_a15', 5)	# 306-310
    sprite('ny450_a16', 5)	# 311-315
    SFX_3('nyse_27')
    sprite('ny450_a17', 6)	# 316-321
    sprite('ny450_a19', 6)	# 322-327
    SFX_3('nyse_27')
    sprite('ny450_a20', 6)	# 328-333
    sprite('ny450_a21', 6)	# 334-339
    SFX_3('nyse_27')
    sprite('ny450_a22', 4)	# 340-343
    setGravity(0)
    SFX_3('nyse_27')
    sprite('ny450_a23', 4)	# 344-347
    sprite('ny450_a24', 4)	# 348-351
    sprite('ny450_a22', 4)	# 352-355
    sprite('ny450_a23', 4)	# 356-359
    SFX_3('nyse_27')
    sprite('ny450_a24', 4)	# 360-363
    sprite('ny450_a22', 4)	# 364-367
    SFX_3('nyse_27')
    sprite('ny450_a23', 4)	# 368-371
    sprite('ny450_a24', 4)	# 372-375
    SFX_3('nyse_27')
    sprite('ny450_a22', 4)	# 376-379
    sprite('ny450_a23', 4)	# 380-383
    setGravity(-1)
    YAccel(80)
    sprite('ny450_a24', 4)	# 384-387
    YAccel(80)
    sprite('ny450_a22', 4)	# 388-391
    YAccel(80)
    sprite('ny450_a23', 4)	# 392-395
    YAccel(80)
    sprite('ny450_a24', 4)	# 396-399
    YAccel(80)
    sprite('ny450_a22', 4)	# 400-403
    YAccel(80)
    sprite('ny450_a23', 4)	# 404-407
    YAccel(80)
    sprite('ny450_a24', 4)	# 408-411
    YAccel(0)
    sprite('ny450_a22', 4)	# 412-415
    SFX_3('nyse_04')
    SFX_0('019_quake_1')
    SFX_3('nyse_28')
    sprite('ny450_a23', 4)	# 416-419
    sprite('ny450_a24', 4)	# 420-423
    sprite('ny450_a22', 4)	# 424-427
    SFX_0('015_blaze_1')
    SFX_3('nyse_04')
    sprite('ny450_a23', 4)	# 428-431
    sprite('ny450_a24', 4)	# 432-435
    sprite('ny450_a22', 4)	# 436-439
    SFX_0('015_blaze_1')
    SFX_3('nyse_04')
    SFX_0('019_quake_0')
    sprite('ny450_a23', 4)	# 440-443
    sprite('ny450_a24', 4)	# 444-447
    sprite('ny450_a22', 4)	# 448-451
    SFX_0('015_blaze_1')
    sprite('ny450_a23', 4)	# 452-455
    sprite('ny450_a24', 4)	# 456-459
    sprite('ny450_a22', 4)	# 460-463
    SFX_0('015_blaze_1')
    SFX_0('019_quake_0')
    sprite('ny450_a23', 4)	# 464-467
    sprite('ny450_a24', 4)	# 468-471
    sprite('ny450_a22', 4)	# 472-475
    SFX_0('015_blaze_1')
    sprite('ny450_a23', 4)	# 476-479
    sprite('ny450_a24', 4)	# 480-483
    sprite('ny450_a22', 4)	# 484-487
    SFX_0('015_blaze_1')
    SFX_0('019_quake_0')
    sprite('ny450_a23', 4)	# 488-491
    sprite('ny450_a24', 4)	# 492-495
    sprite('ny450_a22', 4)	# 496-499
    SFX_0('015_blaze_1')
    setGravity(0)
    sprite('ny450_a25', 5)	# 500-504
    physicsYImpulse(0)
    setGravity(0)
    tag_voice(0, 'bny293_0', 'bny293_1', '', '')
    SFX_0('011_spin_0')
    SFX_0('019_quake_0')
    SFX_0('019_quake_1')
    sprite('ny450_a23', 4)	# 505-508
    SFX_0('011_spin_0')
    SFX_0('019_quake_0')
    SFX_0('019_quake_1')
    sprite('ny450_a26', 4)	# 509-512
    sprite('ny450_a27', 4)	# 513-516
    sprite('ny450_a28', 4)	# 517-520
    sprite('ny450_a29', 4)	# 521-524
    sprite('ny450_a30', 4)	# 525-528
    Unknown3004(-10)
    sprite('ny450_a31', 30)	# 529-558

@State
def Astral3DFunnel():

    def upon_IMMEDIATE():
        Unknown2019(-1000)
        Unknown3033()
        Unknown6001(1)
        Unknown23033(-50)
        Unknown23032(50)
        Unknown1007(-1600000)
    sprite('null', 180)	# 1-180
    Unknown4003('6e7961685f66756e6e656c2e44494700000000000000000000000000000000006e7961685f66756e6e656c5f6d745f3030302e6d6d6f74000000000000000000')
    Unknown3001(0)
    Unknown3004(10)
    Unknown1099(1)
    Unknown1096(1400)
    sprite('null', 7)	# 181-187
    Unknown1007(-15000)
    Unknown1097(100)
    physicsYImpulse(-2500)
    sprite('null', 7)	# 188-194
    Unknown1007(-15000)
    Unknown1097(50)
    sprite('null', 7)	# 195-201
    Unknown1097(100)
    sprite('null', 7)	# 202-208
    sprite('null', 7)	# 209-215
    sprite('null', 5)	# 216-220
    sprite('null', 60)	# 221-280
    Unknown1099(50)
    physicsYImpulse(-40000)

@State
def AstrakFinishPtc():

    def upon_IMMEDIATE():
        GFX_2('nyef_ashfinish')
        Unknown2005()
        Unknown6001(1)
        Unknown23032(50)
        teleportRelativeY(0)
    sprite('null', 32767)	# 1-32767

@State
def AstralSword():

    def upon_IMMEDIATE():
        Unknown2012()
        Unknown11064(3)
        Hitstop(30)
        Unknown11056(3)
        sendToLabelUpon(2, 0)
        Unknown2005()
        teleportRelativeY(2000000)
        teleportRelativeX(1600000)
        Unknown1096(3000)
    sprite('vr_sword', 32767)	# 1-32767	 **attackbox here**
    physicsXImpulse(-100000)
    physicsYImpulse(-100000)
    label(0)
    sprite('vr_sword', 130)	# 32768-32897	 **attackbox here**
    Unknown11023(1)
    Unknown1084(1)
    ScreenShake(200000, 0)
    sprite('vr_sword', 20)	# 32898-32917	 **attackbox here**
    SFX_3('nyse_04')
    Unknown3032()
    Unknown3004(-30)
    Unknown4049(4000)
    Unknown4045('6e7965665f73756d42000000000000000000000000000000000000000000000000000000')
    Unknown4049(4000)
    Unknown4045('6e7965665f73756d42000000000000000000000000000000000000000000000001000000')
    Unknown4049(4000)
    Unknown4045('6e7965665f73756d42000000000000000000000000000000000000000000000002000000')
    Unknown4049(4000)
    Unknown4045('6e7965665f73756d42000000000000000000000000000000000000000000000003000000')
    Unknown4049(4000)
    Unknown4045('6e7965665f73756d42000000000000000000000000000000000000000000000004000000')
    Unknown4049(4000)
    Unknown4045('6e7965665f73756d42000000000000000000000000000000000000000000000005000000')
    Unknown4049(4000)
    Unknown4045('6e7965665f73756d42000000000000000000000000000000000000000000000006000000')

@State
def AstralLookAtMeDummy():
    sprite('null', 2000)	# 1-2000
    Unknown20000(1)
    Unknown20001(1)
    Unknown1086(22)
    teleportRelativeY(0)
    Unknown4010(3)

@State
def EntryFallSword():

    def upon_IMMEDIATE():
        Unknown4007(3)
        Unknown2019(500)
        Unknown3032()
        teleportRelativeY(760000)
        teleportRelativeX(-140000)
    sprite('vrnyef600_swd', 12)	# 1-12
    physicsYImpulse(-60000)
    sprite('vrnyef600_swd', 5)	# 13-17
    physicsYImpulse(-2000)
    GFX_1('nyef_entrymc', 104)
    sprite('vrnyef600_swd', 5)	# 18-22
    physicsYImpulse(-1000)
    sprite('vrnyef600_swd', 10)	# 23-32
    physicsYImpulse(-500)
    sprite('vrnyef600_swd', 10)	# 33-42
    sprite('vrnyef600_swd', 12)	# 43-54
    GFX_1('nyef_entrylightA', 0)
    SFX_0('022_magiccircle_a')
    sprite('vrnyef600_swd', 6)	# 55-60
    GFX_1('nyef_entrylightB', 0)