P+ - Luigi - Action - 0x119

Entry Script

  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. CreateInterrupt { interrupt_id: None, action: Fall, requirement: (ChangeInAirGroundState) }
  6. PreviousInterruptAddRequirement(InAir)
  7. loop Infinite times:
    1. if (OnGround)
      1. SetAirGround(103)
      2. SetEdgeSlide(StayOn)
      3. if (BoolIsTrue RandomAccessBool(EnableJabLoop))
        1. ChangeSubaction(SpecialSEnd)
      4. else
        1. ChangeSubactionRestartFrame(SpecialSEnd)
        2. BoolVariableSetTrue { variable: RandomAccessBool(EnableJabLoop) }
      5. UnknownEvent { namespace: 0x4, code: 0x1, unk1: 0x0, arguments: [Value(0), Requirement { flip: true, ty: CharacterExists }] }
      6. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
    2. else
      1. Subroutine(0x21d68)
      2. SetEdgeSlide(Airbourne)
      3. if (BoolIsTrue RandomAccessBool(EnableJabLoop))
        1. ChangeSubaction(SpecialAirSEnd)
      4. else
        1. ChangeSubactionRestartFrame(SpecialAirSEnd)
        2. BoolVariableSetTrue { variable: RandomAccessBool(EnableJabLoop) }
      5. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
    3. LoopRest

Exit Script