LXP2.1 - Shadow - Subroutine - 0x25254
- SetVelocity { x_vel: 0.0, y_vel: 0.0 }
- if ((InternalConstantInt(ControlStickXAxisAbsolute) LessThanOrEqual scalar(0.3)))
- IfStatementAnd ((InternalConstantInt(ControlStickYAxisAbsolute) LessThanOrEqual scalar(0.3)))
- if (not(BoolIsTrue LongtermAccessBool (0xfc)))
- FloatVariableMultiply { variable: LongtermAccessFloat (0x60), value: 0.9 }
- FloatVariableMultiply { variable: LongtermAccessFloat (0x61), value: 0.9 }
- else
- BoolVariableSetFalse { variable: LongtermAccessBool (0xfc) }
- FloatVariableSet { variable: LongtermAccessFloat (0x60), value: InternalConstantInt(ControlStickXAxisRelative) }
- FloatVariableSet { variable: LongtermAccessFloat (0x61), value: InternalConstantInt(ControlStickYAxis) }
- FloatVariableMultiply { variable: LongtermAccessFloat (0x60), value: LongtermAccessFloat (0x62) }
- FloatVariableMultiply { variable: LongtermAccessFloat (0x61), value: LongtermAccessFloat (0x62) }
- AddVelocity { x_vel: Variable(LongtermAccessFloat(Address(96))), y_vel: Variable(LongtermAccessFloat(Address(97))) }