PM3.02 - Kirby - Action - 0x39 CatchWait
Entry Script
- CreateInterrupt { interrupt_id: None, action: Fall, requirement: (InAir) }
- if ((InternalConstantInt(ControlStickYAxis) LessThanOrEqual InternalConstantInt (0xc58)))
- CreateInterrupt { interrupt_id: Some(10144), action: Throw, requirement: (BoolIsTrue RandomAccessBool(EnableActionTransition)) }
- else
- CreateInterrupt { interrupt_id: Some(10144), action: 0xf1, requirement: (BoolIsTrue RandomAccessBool(EnableActionTransition)) }
- Subroutine(0x36db4)
- ChangeSubactionRestartFrame(CatchWait)
Exit Script
- if ((InternalConstantInt(CurrentAction) Equal scalar(60)))
- IfStatementOr ((InternalConstantInt(CurrentAction) Equal scalar(241)))
- 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 }