P+ - R.O.B - Action - 0x112 SpecialN

Entry Script

  1. BoolVariableSetFalse { variable: RandomAccessBool(EnableActionTransition) }
  2. CreateInterrupt { interrupt_id: Some(10146), action: Wait, requirement: (AnimationEnd) }
  3. DisableInterrupt(10146)
  4. CreateInterrupt { interrupt_id: Some(10147), action: Fall, requirement: (AnimationEnd) }
  5. DisableInterrupt(10147)
  6. CallEveryFrame { thread_id: 9, script: 0x1b5c4 }
  7. loop Infinite times:
    1. if (OnGround)
      1. SetAirGround(6)
      2. SetEdgeSlide(Unknown(2))
      3. if (BoolIsTrue RandomAccessBool(EnableActionTransition))
        1. ChangeSubaction(SpecialN)
      4. else
        1. ChangeSubactionRestartFrame(SpecialN)
        2. BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
      5. EnableInterrupt(10146)
      6. DisableInterrupt(10147)
      7. 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(SpecialAirN)
      4. else
        1. ChangeSubactionRestartFrame(SpecialAirN)
        2. BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
      5. DisableInterrupt(10146)
      6. EnableInterrupt(10147)
      7. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
    3. LoopRest

Exit Script