LXP2.1 - Waluigi - Action - 0x117

Entry Script

  1. if (BoolIsTrue LongtermAccessBool (0x73))
    1. CreateInterrupt { interrupt_id: None, action: 0x117, requirement: (ButtonNotPressed value(1)) }
    2. CreateInterrupt { interrupt_id: None, action: 0x117, requirement: ((RandomAccessFloat (0x7) Equal scalar(3))) }
    3. loop Infinite times:
      1. if (OnGround)
        1. SetAirGround(6)
        2. SetEdgeSlide(Unknown(2))
        3. if (BoolIsTrue RandomAccessBool (0x5))
          1. ChangeSubaction(SpecialNHold)
        4. else
          1. ChangeSubactionRestartFrame(SpecialNHold)
          2. BoolVariableSetTrue { variable: RandomAccessBool (0x5) }
        5. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
      2. else
        1. SetAirGround(0)
        2. SetEdgeSlide(Airbourne)
        3. if (BoolIsTrue RandomAccessBool (0x5))
          1. ChangeSubaction(SpecialAirNHold)
        4. else
          1. ChangeSubactionRestartFrame(SpecialAirNHold)
          2. BoolVariableSetTrue { variable: RandomAccessBool (0x5) }
        5. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
      3. LoopRest
  2. else
    1. if (BoolIsTrue LongtermAccessBool (0x74))
      1. CreateInterrupt { interrupt_id: None, action: Wait, requirement: (AnimationEnd) }
      2. PreviousInterruptAddRequirement(OnGround)
      3. CreateInterrupt { interrupt_id: None, action: Fall, requirement: (AnimationEnd) }
      4. PreviousInterruptAddRequirement(InAir)
      5. loop Infinite times:
        1. if (OnGround)
          1. SetAirGround(6)
          2. SetEdgeSlide(Unknown(2))
          3. if (BoolIsTrue RandomAccessBool (0x5))
            1. ChangeSubaction(SpecialNEnd)
          4. else
            1. ChangeSubactionRestartFrame(SpecialNEnd)
            2. BoolVariableSetTrue { variable: RandomAccessBool (0x5) }
          5. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
        2. else
          1. SetAirGround(0)
          2. SetEdgeSlide(Airbourne)
          3. if (BoolIsTrue RandomAccessBool (0x5))
            1. ChangeSubaction(SpecialAirNEnd)
          4. else
            1. ChangeSubactionRestartFrame(SpecialAirNEnd)
            2. BoolVariableSetTrue { variable: RandomAccessBool (0x5) }
          5. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
        3. LoopRest
    2. else
      1. CreateInterrupt { interrupt_id: None, action: Fall, requirement: (InAir) }
      2. CreateInterrupt { interrupt_id: None, action: Wait, requirement: (AnimationEnd) }
      3. PreviousInterruptAddRequirement(OnGround)
      4. SetAirGround(6)
      5. SetEdgeSlide(Unknown(2))
      6. ChangeSubactionRestartFrame(LandingAirF)

Exit Script