P+ - Snake - Common Subroutine 0x8054c228
- if ((InternalConstantInt(ControlStickYAxis) GreaterThanOrEqual InternalConstantInt (0xc45)))
- CreateInterrupt { interrupt_id: None, action: CaptureJump, requirement: (Always) }
- ChangeSubactionRestartFrame(CaptureCut)
- Return
- if ((InternalConstantInt(PreviousAction) Equal scalar(64)))
- FloatVariableSet { variable: RandomAccessFloat (0x7), value: InternalConstantInt (0xcc6) }
- FloatVariableMultiply { variable: RandomAccessFloat (0x7), value: -1 }
- SetVelocity { x_vel: 0.0, y_vel: 0.0 }
- AddVelocity { x_vel: Variable(RandomAccessFloat(Address(7))), y_vel: Variable(InternalConstantInt(Address(3271))) }
- ChangeSubactionRestartFrame(CaptureJump)
- Return