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

Entry Script

  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. if (not(BoolIsTrue RandomAccessBool(EnableGlide)))
    1. UnknownEvent { namespace: 0xc, code: 0x20, unk1: 0x0, arguments: [Value(1), Value(29)] }
  7. loop Infinite times:
    1. if (OnGround)
      1. SetAirGround(6)
      2. SetEdgeSlide(Unknown(2))
      3. if (BoolIsTrue RandomAccessBool(EnableActionTransition))
        1. UnknownEvent { namespace: 0x4, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 1 }), Bool(true)] }
      4. else
        1. UnknownEvent { namespace: 0x4, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 1 })] }
        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. UnknownEvent { namespace: 0x4, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 2 }), Bool(true)] }
      4. else
        1. UnknownEvent { namespace: 0x4, code: 0x0, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Int, address: 2 })] }
        2. BoolVariableSetTrue { variable: RandomAccessBool(EnableActionTransition) }
      5. UnknownEvent { namespace: 0x4, code: 0x2, unk1: 0x0, arguments: [Requirement { flip: false, ty: OnGround }] }
    3. LoopRest

Exit Script