P+ - Wolf - Action - 0x3a CatchAttack

Entry Script (Common)

  1. CreateInterrupt { interrupt_id: None, action: 0x10a, requirement: (InAir) }
  2. CreateInterrupt { interrupt_id: None, action: CatchWait, requirement: (AnimationEnd) }
  3. PreviousInterruptAddRequirement(OnGround)
  4. ChangeSubactionRestartFrame(CatchAttack)
  5. CallEveryFrame { thread_id: 9, script: 0xfe7c }

Exit Script (Common)

  1. if ((InternalConstantInt(CurrentAction) Equal scalar(60)))
    1. if (CurrentTriggeredStatusID value(10144))
      1. if ((InternalConstantInt(ControlStickXAxisAbsolute) GreaterThanOrEqual InternalConstantInt (0xc32)))
        1. if ((InternalConstantInt(ControlStickXAxisRelative) LessThan scalar(0)))
          1. IntVariableSet { variable: RandomAccessInt (0x0), value: 114 }
        2. else
          1. IntVariableSet { variable: RandomAccessInt (0x0), value: 115 }
      2. else
        1. if ((InternalConstantInt(ControlStickYAxis) GreaterThanOrEqual InternalConstantInt (0xc56)))
          1. IntVariableSet { variable: RandomAccessInt (0x0), value: 116 }
        2. else
          1. if ((InternalConstantInt(ControlStickYAxis) LessThanOrEqual InternalConstantInt (0xc58)))
            1. IntVariableSet { variable: RandomAccessInt (0x0), value: 117 }
          2. else
            1. IntVariableSet { variable: RandomAccessInt (0x0), value: 115 }
    2. else
      1. if (CurrentTriggeredStatusID value(10101))
        1. if ((InternalConstantInt(ControlStickXAxisRelative) GreaterThan scalar(0)))
          1. IntVariableSet { variable: RandomAccessInt (0x0), value: 115 }
        2. else
          1. IntVariableSet { variable: RandomAccessInt (0x0), value: 114 }
      2. else
        1. if (CurrentTriggeredStatusID value(10102))
          1. IntVariableSet { variable: RandomAccessInt (0x0), value: 116 }
        2. else
          1. IntVariableSet { variable: RandomAccessInt (0x0), value: 117 }