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

Entry Script

  1. BoolVariableSetFalse { variable: RandomAccessBool(EnableActionTransition) }
  2. CreateInterrupt { interrupt_id: None, action: 0x11d, requirement: (ButtonNotPressed value(1)) }
  3. CallEveryFrame { thread_id: 9, script: 0x1ac54 }
  4. CreateInterrupt { interrupt_id: None, action: 0x118, requirement: (ShieldInputPress) }
  5. PreviousInterruptAddRequirement(OnGround)
  6. CreateInterrupt { interrupt_id: None, action: 0x118, requirement: (ShieldInputPress) }
  7. PreviousInterruptAddRequirement(InAir)
  8. loop Infinite times:
    1. if (OnGround)
      1. SetAirGround(6)
      2. SetEdgeSlide(Unknown(2))
      3. if (BoolIsTrue RandomAccessBool(EnableActionTransition))
        1. ChangeSubaction(SpecialLwMax)
      4. else
        1. ChangeSubactionRestartFrame(SpecialLwMax)
        2. BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
      5. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: InAir }] }
    2. else
      1. SetAirGround(10)
      2. SetEdgeSlide(Airbourne)
      3. if (BoolIsTrue RandomAccessBool(EnableActionTransition))
        1. ChangeSubaction(SpecialAirLwMax)
      4. else
        1. ChangeSubactionRestartFrame(SpecialAirLwMax)
        2. BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
      5. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
    3. LoopRest

Exit Script