PM3.02 - Sonic - Subroutine - 0x2c714
- if (BoolIsTrue RandomAccessBool (0xa))
- if ((InternalConstantInt(HorizontalCharacterVelocity) GreaterThan scalar(0)))
- FloatVariableSet { variable: RandomAccessFloat (0x8), value: 4 }
- else
- if ((InternalConstantInt(HorizontalCharacterVelocity) LessThan scalar(0)))
- FloatVariableSet { variable: RandomAccessFloat (0x8), value: -4 }
- FloatVariableSet { variable: RandomAccessFloat (0x9), value: InternalConstantInt(VerticalCharacterVelocity) }
- BoolVariableSetTrue { variable: LongtermAccessBool(CanNotTeeter) }
- SetVelocity { x_vel: 0.0, y_vel: 0.0 }
- AddVelocity { x_vel: Variable(RandomAccessFloat(Address(8))), y_vel: Variable(RandomAccessFloat(Address(9))) }
- BoolVariableSetFalse { variable: LongtermAccessBool(CanNotTeeter) }
- BoolVariableSetFalse { variable: RandomAccessBool (0xa) }
- if ((InternalConstantInt(PreviousAction) Equal scalar(292)))
- IfStatementAnd (InAir)
- if ((InternalConstantInt(HorizontalCharacterVelocity) Equal scalar(4.7)))
- IfStatementOr ((InternalConstantInt(HorizontalCharacterVelocity) Equal scalar(-4.7)))
- BoolVariableSetTrue { variable: RandomAccessBool (0xa) }
- IntVariableDecrement { variable: RandomAccessInt(ThrowDataParam2) }
- IntVariableIncrement { variable: LongtermAccessInt (0x63) }