LXP2.1 - Waluigi - Action - 0x113 SpecialS

Entry Script

  1. UnknownEvent { namespace: 0x12, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: InternalConstant, data_type: Int, address: 23003 }), Variable(Variable { memory_type: LongtermAccess, data_type: Int, address: 1 })] }
  2. BoolVariableSetFalse { variable: RandomAccessBool(EnableActionTransition) }
  3. BoolVariableSetFalse { variable: RandomAccessBool (0x11) }
  4. BoolVariableSetFalse { variable: RandomAccessBool(SpecialsMovement) }
  5. BoolVariableSetFalse { variable: RandomAccessBool(EnableGlide) }
  6. BoolVariableSetFalse { variable: RandomAccessBool (0x17) }
  7. BoolVariableSetFalse { variable: RandomAccessBool (0x18) }
  8. UnknownEvent { namespace: 0x8, code: 0x2, unk1: 0x0, arguments: [Value(1)] }
  9. if (OnGround)
    1. Subroutine(0x20584)
  10. else
    1. Subroutine(0x205ac)
  11. CreateInterrupt { interrupt_id: None, action: Wait, requirement: (AnimationEnd) }
  12. PreviousInterruptAddRequirement(OnGround)
  13. CreateInterrupt { interrupt_id: None, action: FallSpecial, requirement: (AnimationEnd) }
  14. PreviousInterruptAddRequirement(InAir)
  15. CreateInterrupt { interrupt_id: None, action: LandingFallSpecial, requirement: (OnGround) }
  16. PreviousInterruptAddRequirement(BoolIsTrue RandomAccessBool(EnableGlide))
  17. CreateInterrupt { interrupt_id: None, action: 0x11b, requirement: (ButtonPress value(1)) }
  18. PreviousInterruptAddRequirement(BoolIsTrue RandomAccessBool(EnableLandingLag))
  19. PreviousInterruptAddRequirement(InAir)
  20. loop Infinite times:
    1. if (OnGround)
      1. BoolVariableSetTrue { variable: RandomAccessBool (0x18) }
      2. IntVariableSet { variable: RandomAccessInt (0x0), value: 0 }
      3. SetAirGround(15)
      4. CallEveryFrame { thread_id: 9, script: 0x205e4 }
      5. if (BoolIsTrue RandomAccessBool (0x17))
        1. ChangeSubaction(SpecialS)
      6. else
        1. ChangeSubactionRestartFrame(SpecialS)
        2. BoolVariableSetTrue { variable: RandomAccessBool (0x17) }
      7. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
    2. else
      1. IntVariableSet { variable: RandomAccessInt (0x0), value: 2 }
      2. SetAirGround(17)
      3. CallEveryFrame { thread_id: 9, script: 0x20634 }
      4. if (not(BoolIsTrue RandomAccessBool (0x18)))
        1. if (BoolIsTrue RandomAccessBool (0x17))
          1. ChangeSubaction(SpecialAirS)
        2. else
          1. ChangeSubactionRestartFrame(SpecialAirS)
          2. BoolVariableSetTrue { variable: RandomAccessBool (0x17) }
      5. else
        1. ChangeSubactionRestartFrame(SpecialSSwimR)
        2. UnknownEvent { namespace: 0x0, code: 0x6, unk1: 0x0, arguments: [] }
      6. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
    3. LoopRest

Exit Script