PM3.6 - Roy - Action - 0x117

Entry Script

  1. BoolVariableSetFalse { variable: RandomAccessBool(EnableActionTransition) }
  2. CallEveryFrame { thread_id: 9, script: 0x1e7d8 }
  3. CreateInterrupt { interrupt_id: None, action: 0x118, requirement: (ButtonNotPressed value(1)) }
  4. CreateInterrupt { interrupt_id: None, action: 0x119, requirement: (BoolIsTrue RandomAccessBool (0x11)) }
  5. loop Infinite times:
    1. if (OnGround)
      1. SetAirGround(6)
      2. SetEdgeSlide(StayOn)
      3. if (BoolIsTrue RandomAccessBool(EnableActionTransition))
        1. ChangeSubaction(SpecialNLoop)
      4. else
        1. ChangeSubactionRestartFrame(SpecialNLoop)
        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(SpecialAirNLoop)
      4. else
        1. ChangeSubactionRestartFrame(SpecialAirNLoop)
        2. BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
      5. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
    3. LoopRest

Exit Script