P+ - Knuckles - Subroutine - 0x296c8
- if (not(TouchingAFloorWallOrCeiling value(6)))
- IntVariableIncrement { variable: RandomAccessInt(ThrowDataParam2) }
- else
- IntVariableSet { variable: RandomAccessInt(ThrowDataParam2), value: 0 }
- if ((RandomAccessInt(ThrowDataParam1) NotEqual scalar(7)))
- BoolVariableSetFalse { variable: RandomAccessBool(EnableActionTransition) }
- IntVariableIncrement { variable: RandomAccessInt (0x5) }
- SetVelocity { x_vel: 0.0, y_vel: 0.0 }
- if ((RandomAccessInt(ThrowDataParam1) Equal scalar(0)))
- IfStatementOr ((RandomAccessInt(ThrowDataParam1) Equal scalar(1)))
- AddVelocity { x_vel: Constant(1.25), y_vel: Constant(0.4) }
- else
- if ((RandomAccessInt(ThrowDataParam1) Equal scalar(4)))
- IfStatementOr ((RandomAccessInt(ThrowDataParam1) Equal scalar(5)))
- AddVelocity { x_vel: Constant(1.25), y_vel: Constant(-0.4) }
- else
- AddVelocity { x_vel: Constant(1.25), y_vel: Constant(0.0) }
- if ((InternalConstantInt(ControlStickXAxisAbsolute) LessThan InternalConstantInt (0xc5c)))
- IfStatementAnd ((InternalConstantInt(ControlStickYAxisAbsolute) LessThan InternalConstantInt (0xc5d)))
- IntVariableIncrement { variable: RandomAccessInt (0x6) }
- else
- IntVariableSet { variable: RandomAccessInt (0x6), value: 0 }