P+ - Roy - Action - 0x38 CatchTurn

Entry Script (Common)

  1. CreateInterrupt { interrupt_id: None, action: Fall, requirement: (InAir) }
  2. CreateInterrupt { interrupt_id: Some(10000), action: Wait, requirement: (AnimationEnd) }
  3. PreviousInterruptAddRequirement(OnGround)
  4. if (not(Always))
    1. FloatVariableSet { variable: RandomAccessFloat(EnableTurnWhenBelowZero), value: InternalConstantInt(CurrentFrame) }
    2. ChangeSubactionRestartFrame(CatchTurn)
    3. UnknownEvent { namespace: 0x4, code: 0x6, unk1: 0x0, arguments: [Variable(Variable { memory_type: RandomAccess, data_type: Float, address: 4 })] }
  5. else
    1. ChangeSubactionRestartFrame(CatchTurn)
  6. ReverseDirection

Exit Script (Common)