P+ - Wolf - Action - 0x3a CatchAttack
Entry Script (Common)
- CreateInterrupt { interrupt_id: None, action: 0x10a, requirement: (InAir) }
- CreateInterrupt { interrupt_id: None, action: CatchWait, requirement: (AnimationEnd) }
- PreviousInterruptAddRequirement(OnGround)
- ChangeSubactionRestartFrame(CatchAttack)
- CallEveryFrame { thread_id: 9, script: 0xfe7c }
Exit Script (Common)
- if ((InternalConstantInt(CurrentAction) Equal scalar(60)))
- if (CurrentTriggeredStatusID value(10144))
- if ((InternalConstantInt(ControlStickXAxisAbsolute) GreaterThanOrEqual InternalConstantInt (0xc32)))
- if ((InternalConstantInt(ControlStickXAxisRelative) LessThan scalar(0)))
- IntVariableSet { variable: RandomAccessInt (0x0), value: 114 }
- else
- IntVariableSet { variable: RandomAccessInt (0x0), value: 115 }
- else
- if ((InternalConstantInt(ControlStickYAxis) GreaterThanOrEqual InternalConstantInt (0xc56)))
- IntVariableSet { variable: RandomAccessInt (0x0), value: 116 }
- else
- if ((InternalConstantInt(ControlStickYAxis) LessThanOrEqual InternalConstantInt (0xc58)))
- IntVariableSet { variable: RandomAccessInt (0x0), value: 117 }
- else
- IntVariableSet { variable: RandomAccessInt (0x0), value: 115 }
- else
- if (CurrentTriggeredStatusID value(10101))
- if ((InternalConstantInt(ControlStickXAxisRelative) GreaterThan scalar(0)))
- IntVariableSet { variable: RandomAccessInt (0x0), value: 115 }
- else
- IntVariableSet { variable: RandomAccessInt (0x0), value: 114 }
- else
- if (CurrentTriggeredStatusID value(10102))
- IntVariableSet { variable: RandomAccessInt (0x0), value: 116 }
- else
- IntVariableSet { variable: RandomAccessInt (0x0), value: 117 }