P+ - Ganondorf - Subroutine - 0x2b270
- BoolVariableSetTrue { variable: LongtermAccessBool(CanNotTeeter) }
- FloatVariableSet { variable: RandomAccessFloat (0x6), value: 0 }
- if ((InternalConstantInt(VerticalCharacterVelocity) GreaterThan scalar(0.026)))
- FloatVariableSet { variable: RandomAccessFloat (0x6), value: InternalConstantInt(VerticalCharacterVelocity) }
- FloatVariableMultiply { variable: RandomAccessFloat (0x6), value: -0.2 }
- else
- if ((InternalConstantInt(VerticalCharacterVelocity) GreaterThan scalar(0)))
- ResetVerticalVelocityAndAcceleration(true)
- AddVelocity { x_vel: Constant(0.0), y_vel: Variable(RandomAccessFloat(Address(6))) }
- if ((LongtermAccessInt (0x62) GreaterThanOrEqual scalar(36)))
- AddVelocity { x_vel: Constant(0.0), y_vel: Constant(-0.026) }
- else
- if ((LongtermAccessInt (0x62) GreaterThanOrEqual scalar(26)))
- AddVelocity { x_vel: Constant(0.0), y_vel: Constant(-0.012) }
- else
- if ((LongtermAccessInt (0x62) GreaterThanOrEqual scalar(16)))
- AddVelocity { x_vel: Constant(0.0), y_vel: Constant(-0.006) }
- BoolVariableSetFalse { variable: LongtermAccessBool(CanNotTeeter) }
- IntVariableIncrement { variable: LongtermAccessInt (0x62) }