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

Entry Script

  1. BoolVariableSetFalse { variable: LongtermAccessBool (0x3e) }
  2. IntVariableSet { variable: LongtermAccessInt (0x45), value: 466 }
  3. IntVariableSet { variable: LongtermAccessInt (0x46), value: 467 }
  4. CreateInterrupt { interrupt_id: None, action: 0x119, requirement: (ButtonRelease value(1)) }
  5. CreateInterrupt { interrupt_id: None, action: 0x119, requirement: ((LongtermAccessInt (0x63) GreaterThanOrEqual scalar(9))) }
  6. CreateInterrupt { interrupt_id: None, action: SpecialLw, requirement: ((InternalConstantInt(ControlStickYAxisReverse) GreaterThanOrEqual InternalConstantInt (0xc72))) }
  7. PreviousInterruptAddRequirement(InAir)
  8. CallEveryFrame { thread_id: 9, script: NONE Other 0x23f0 }
  9. 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