LXP2.1 - Ganon-Mage - Action - 0x117

Entry Script

  1. if (BoolIsTrue LongtermAccessFloat (0x57))
    1. BoolVariableSetFalse { variable: LongtermAccessFloat (0x57) }
    2. SpecifyThrow(SpecifyThrow { throw_use: Throw, bone: 0, damage: 5, trajectory: 90, kbg: 70, wdsk: 0, bkb: 60, effect: Aura, unk0: 0.0, unk1: 1.0, unk2: 1.0, unk3: 0, sfx: Unique, grab_target: AerialAndGrounded, unk4: true, unk5: true, i_frames: 8 })
    3. SpecifyThrow(SpecifyThrow { throw_use: GrabInterrupt, bone: 0, damage: 3, trajectory: 361, kbg: 100, wdsk: 0, bkb: 60, effect: Normal, unk0: 0.0, unk1: 1.0, unk2: 1.0, unk3: 0, sfx: Unique, grab_target: AerialAndGrounded, unk4: true, unk5: true, i_frames: 8 })
    4. ChangeSubactionRestartFrame(ThrowHi)
    5. SetAirGround(17)
    6. SetEdgeSlide(Airbourne)
    7. CreateInterrupt { interrupt_id: None, action: Wait, requirement: (AnimationEnd) }
  2. else
    1. BoolVariableSetFalse { variable: LongtermAccessBool (0x3e) }
    2. IntVariableSet { variable: LongtermAccessInt (0x45), value: 464 }
    3. IntVariableSet { variable: LongtermAccessInt (0x46), value: 465 }
    4. UnknownEvent { namespace: 0x10, code: 0x7, unk1: 0x0, arguments: [Value(0), Value(1)] }
    5. if (OnGround)
      1. Subroutine(0x4c0c0)
    6. else
      1. Subroutine(0x4c128)
    7. UnknownEvent { namespace: 0x4, code: 0x6, unk1: 0x0, arguments: [Variable(Variable { memory_type: LongtermAccess, data_type: Int, address: 64 })] }
    8. CreateInterrupt { interrupt_id: None, action: 0x118, requirement: (AnimationEnd) }
    9. CreateInterrupt { interrupt_id: None, action: 0x119, requirement: (ButtonRelease value(1)) }
    10. CreateInterrupt { interrupt_id: None, action: SpecialLw, requirement: ((InternalConstantInt(ControlStickYAxisReverse) GreaterThanOrEqual InternalConstantInt (0xc72))) }
    11. PreviousInterruptAddRequirement((LongtermAccessInt (0x63) GreaterThan scalar(1)))
    12. PreviousInterruptAddRequirement(InAir)
    13. SetAirGround(12)
    14. CallEveryFrame { thread_id: 9, script: NONE Other 0x23f0 }
    15. loop Infinite times:
      1. if (OnGround)
        1. Subroutine(0x4c1b0)
        2. Subroutine(0x4c0c0)
        3. ResetVerticalVelocityAndAcceleration(true)
        4. SetOrAddVelocity(SetOrAddVelocity { x_vel: 0.0, y_vel: 0.2, x_set: false, y_set: false })
        5. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
      2. else
        1. Subroutine(0x4c1d0)
        2. Subroutine(0x4c128)
        3. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
      3. LoopRest

Exit Script