P+ - R.O.B - Action - 0x118

Entry Script

  1. if ((InternalConstantInt(PreviousAction) Equal scalar(276)))
    1. BoolVariableSetFalse { variable: RandomAccessBool(EnableActionTransition) }
    2. CreateInterrupt { interrupt_id: None, action: Wait, requirement: (AnimationEnd) }
    3. PreviousInterruptAddRequirement(OnGround)
    4. CreateInterrupt { interrupt_id: None, action: Fall, requirement: (AnimationEnd) }
    5. PreviousInterruptAddRequirement(InAir)
    6. loop Infinite times:
      1. if (OnGround)
        1. SetEdgeSlide(Airbourne)
        2. SetAirGround(10)
        3. if (BoolIsTrue RandomAccessBool(EnableActionTransition))
          1. ChangeSubaction(SpecialAirHi)
        4. else
          1. ChangeSubactionRestartFrame(SpecialAirHi)
          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(SpecialAirHi)
        4. else
          1. ChangeSubactionRestartFrame(SpecialAirHi)
          2. BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
        5. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
      3. LoopRest
  2. else
    1. CreateInterrupt { interrupt_id: None, action: Wait, requirement: (AnimationEnd) }
    2. PreviousInterruptAddRequirement(OnGround)
    3. CreateInterrupt { interrupt_id: None, action: Fall, requirement: (AnimationEnd) }
    4. PreviousInterruptAddRequirement(InAir)
    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(SpecialLwCancel)
        4. else
          1. ChangeSubaction(SpecialLwCancel)
        5. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
      2. else
        1. SetEdgeSlide(Airbourne)
        2. SetAirGround(10)
        3. if (not(BoolIsTrue RandomAccessBool(EnableActionTransition)))
          1. ChangeSubactionRestartFrame(SpecialAirLwCancel)
        4. else
          1. ChangeSubaction(SpecialAirLwCancel)
        5. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
      3. BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
      4. LoopRest

Exit Script