P+ - Zelda - Action - 0x115 SpecialLw

Entry Script

  1. CallEveryFrame { thread_id: 9, script: 0x6640 }
  2. BoolVariableSetFalse { variable: RandomAccessBool(EnableActionTransition) }
  3. loop Infinite times:
    1. if (OnGround)
      1. SetEdgeSlide(StayOn)
      2. SetAirGround(6)
      3. if (not(BoolIsTrue RandomAccessBool(EnableActionTransition)))
        1. ChangeSubactionRestartFrame(SpecialLw)
      4. else
        1. ChangeSubaction(SpecialLw)
      5. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
    2. else
      1. SetEdgeSlide(Airbourne)
      2. SetAirGround(104)
      3. if (not(BoolIsTrue RandomAccessBool(EnableActionTransition)))
        1. ChangeSubactionRestartFrame(SpecialAirLw)
      4. else
        1. ChangeSubaction(SpecialAirLw)
      5. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
    3. BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
    4. LoopRest

Exit Script

  1. UnknownEvent { namespace: 0x1f, code: 0x11, unk1: 0x0, arguments: [Value(2)] }
  2. UnknownEvent { namespace: 0xb, code: 0x2, unk1: 0x0, arguments: [Bool(true)] }