PM3.02 - Sheik - Action - 0x112 SpecialN

Entry Script

  1. GenerateArticle { article_id: 1, subaction_only: true }
  2. if ((LongtermAccessInt(Temp1) Equal scalar(0)))
    1. IntVariableSet { variable: LongtermAccessInt(Temp1), value: 1 }
  3. Subroutine(0x18578)
  4. CreateInterrupt { interrupt_id: None, action: 0x117, requirement: (AnimationEnd) }
  5. BoolVariableSetFalse { variable: RandomAccessBool(EnableActionTransition) }
  6. loop Infinite times:
    1. if (OnGround)
      1. SetEdgeSlide(StayOn)
      2. SetAirGround(6)
      3. if (not(BoolIsTrue RandomAccessBool(EnableActionTransition)))
        1. ChangeSubactionRestartFrame(SpecialNStart)
      4. else
        1. ChangeSubaction(SpecialNStart)
      5. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
    2. else
      1. SetEdgeSlide(Airbourne)
      2. SetAirGround(0)
      3. if (not(BoolIsTrue RandomAccessBool(EnableActionTransition)))
        1. ChangeSubactionRestartFrame(SpecialAirNStart)
      4. else
        1. ChangeSubaction(SpecialAirNStart)
      5. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
    3. BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
    4. LoopRest

Exit Script

  1. if ((InternalConstantInt(CurrentAction) NotEqual scalar(279)))
    1. IfStatementAnd ((InternalConstantInt(CurrentAction) NotEqual scalar(280)))
    2. IntVariableSet { variable: LongtermAccessInt(Temp1), value: 0 }