P+ - Fox - Action - 0x11b

Entry Script

  1. CreateInterrupt { interrupt_id: None, action: 0x11c, requirement: (AnimationEnd) }
  2. PreviousInterruptAddRequirement(BoolIsTrue RandomAccessBool (0x21))
  3. CreateInterrupt { interrupt_id: None, action: 0x11a, requirement: (AnimationEnd) }
  4. ControllerClearBuffer
  5. ControllerUnk01
  6. CallEveryFrame { thread_id: 9, script: 0x25658 }
  7. loop Infinite times:
    1. if (OnGround)
      1. SetEdgeSlide(StayOn)
      2. SetAirGround(6)
      3. if (BoolIsTrue RandomAccessBool(EnableActionTransition))
        1. ChangeSubaction(SpecialLwHit)
      4. else
        1. ChangeSubactionRestartFrame(SpecialLwHit)
        2. BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
      5. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
    2. else
      1. SetEdgeSlide(Airbourne)
      2. SetAirGround(10)
      3. if (BoolIsTrue RandomAccessBool(EnableActionTransition))
        1. ChangeSubaction(SpecialAirLwHit)
      4. else
        1. ChangeSubactionRestartFrame(SpecialAirLwHit)
        2. BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
      5. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
    3. LoopRest

Exit Script