P+ - Fox - Action - 0x11c

Entry Script

  1. CreateInterrupt { interrupt_id: Some(10146), action: Wait, requirement: (AnimationEnd) }
  2. CreateInterrupt { interrupt_id: Some(10147), action: Fall, requirement: (AnimationEnd) }
  3. loop Infinite times:
    1. if (OnGround)
      1. SetEdgeSlide(StayOn)
      2. SetAirGround(6)
      3. EnableInterrupt(10146)
      4. DisableInterrupt(10147)
      5. if (BoolIsTrue RandomAccessBool(EnableActionTransition))
        1. ChangeSubaction(SpecialLwEnd)
      6. else
        1. ChangeSubactionRestartFrame(SpecialLwEnd)
        2. BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
      7. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
    2. else
      1. SetEdgeSlide(Airbourne)
      2. SetAirGround(10)
      3. DisableInterrupt(10146)
      4. EnableInterrupt(10147)
      5. if (BoolIsTrue RandomAccessBool(EnableActionTransition))
        1. ChangeSubaction(SpecialAirLwEnd)
      6. else
        1. ChangeSubactionRestartFrame(SpecialAirLwEnd)
        2. BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
      7. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
    3. LoopRest

Exit Script