P+ - Wolf - Action - 0x117

Entry Script

  1. BoolVariableSetFalse { variable: RandomAccessBool(EnableActionTransition) }
  2. IntVariableSet { variable: RandomAccessInt (0x1), value: 0 }
  3. UnknownEvent { namespace: 0x8, code: 0x4, unk1: 0x0, arguments: [Bool(false)] }
  4. CreateInterrupt { interrupt_id: None, action: 0x118, requirement: ((RandomAccessInt (0x1) GreaterThan InternalConstantInt (0x5dc5))) }
  5. CallEveryFrame { thread_id: 9, script: 0x1bcd0 }
  6. loop Infinite times:
    1. if (OnGround)
      1. BoolVariableSetFalse { variable: RandomAccessBool (0x11) }
      2. SetEdgeSlide(StayOn)
      3. SetAirGround(13)
      4. if (BoolIsTrue RandomAccessBool(EnableActionTransition))
        1. ChangeSubaction(SpecialHi)
      5. else
        1. ChangeSubactionRestartFrame(SpecialHi)
        2. BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
      6. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
      7. LedgeGrabEnable(Disable)
    2. else
      1. BoolVariableSetTrue { variable: RandomAccessBool (0x11) }
      2. SetEdgeSlide(Airbourne)
      3. SetAirGround(13)
      4. if (BoolIsTrue RandomAccessBool(EnableActionTransition))
        1. ChangeSubaction(SpecialHi)
      5. else
        1. ChangeSubactionRestartFrame(SpecialHi)
        2. BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
      6. LedgeGrabEnable(EnableInFrontAndBehind)
    3. LoopRest

Exit Script