P+ - Sheik - 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. if ((LongtermAccessInt(Temp1) GreaterThanOrEqual scalar(6)))
    1. IfStatementAnd (not(BoolIsTrue LongtermAccessBool(VelocityIgnoreHitstun)))
    2. BoolVariableSetTrue { variable: LongtermAccessBool(VelocityIgnoreHitstun) }
    3. UnknownEvent { namespace: 0x11, code: 0x1e, unk1: 0x0, arguments: [Value(26)] }
  6. BoolVariableSetFalse { variable: RandomAccessBool(EnableActionTransition) }
  7. loop Infinite times:
    1. if (OnGround)
      1. SetEdgeSlide(StayOn)
      2. SetAirGround(6)
      3. if (not(BoolIsTrue RandomAccessBool(EnableActionTransition)))
        1. ChangeSubactionRestartFrame(SpecialNCancel)
      4. else
        1. ChangeSubaction(SpecialNCancel)
      5. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
    2. else
      1. SetEdgeSlide(Airbourne)
      2. SetAirGround(10)
      3. if (not(BoolIsTrue RandomAccessBool(EnableActionTransition)))
        1. ChangeSubactionRestartFrame(SpecialAirNCancel)
      4. else
        1. ChangeSubaction(SpecialAirNCancel)
      5. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
    3. BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
    4. LoopRest

Exit Script