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

Entry Script

  1. if (BoolIsTrue LongtermAccessInt (0x61))
    1. EnableInterruptGroup(GroundGuard)
    2. EnableInterruptGroup(GroundJump)
    3. SlopeContourStand { leg_bone_parent: 6 }
    4. ChangeSubaction(SquatWait_1)
    5. SetAirGround(6)
    6. SetEdgeSlide(Unknown(2))
    7. CreateInterrupt { interrupt_id: None, action: 0x11e, requirement: (not((InternalConstantInt(ControlStickYAxisReverse) GreaterThanOrEqual InternalConstantInt (0xc72)))) }
    8. PreviousInterruptAddRequirement(OnGround)
    9. CreateInterrupt { interrupt_id: None, action: AttackLw3, requirement: (ButtonPress value(0)) }
    10. PreviousInterruptAddRequirement(OnGround)
    11. CreateInterrupt { interrupt_id: None, action: SpecialLw, requirement: (ButtonPress value(1)) }
    12. PreviousInterruptAddRequirement(OnGround)
    13. CreateInterrupt { interrupt_id: None, action: Fall, requirement: (InAir) }
  2. else
    1. BoolVariableSetFalse { variable: LongtermAccessBool (0x3e) }
    2. UnknownEvent { namespace: 0xc, code: 0x9, unk1: 0x0, arguments: [Bool(false)] }
    3. IntVariableSet { variable: LongtermAccessInt (0x45), value: 469 }
    4. IntVariableSet { variable: LongtermAccessInt (0x46), value: 469 }
    5. CreateInterrupt { interrupt_id: Some(0), action: Wait, requirement: (AnimationEnd) }
    6. PreviousInterruptAddRequirement(OnGround)
    7. CreateInterrupt { interrupt_id: Some(1), action: Fall, requirement: (AnimationEnd) }
    8. loop Infinite times:
      1. if (OnGround)
        1. Subroutine(0x4c1b0)
        2. Subroutine(0x4c0c0)
        3. SetAirGround(17)
        4. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
        5. ResetVerticalVelocityAndAcceleration(true)
        6. SetOrAddVelocity(SetOrAddVelocity { x_vel: 0.0, y_vel: 0.2, x_set: false, y_set: false })
        7. EnableInterrupt(0)
        8. DisableInterrupt(1)
      2. else
        1. Subroutine(0x4c1d0)
        2. Subroutine(0x4c128)
        3. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
        4. DisableInterrupt(0)
        5. EnableInterrupt(1)
      3. LoopRest

Exit Script