PM3.02 - Samus - Subroutine - 0x25f28

  1. BoolVariableSetFalse { variable: LongtermAccessBool (0x72) }
  2. if (BoolIsTrue LongtermAccessBool (0x73))
    1. IfStatementAnd (FacingLeft)
    2. BoolVariableSetTrue { variable: LongtermAccessBool (0x72) }
  3. else
    1. if (not(BoolIsTrue LongtermAccessBool (0x73)))
      1. IfStatementAnd (FacingRight)
      2. BoolVariableSetTrue { variable: LongtermAccessBool (0x72) }
  4. FloatVariableSet { variable: LongtermAccessFloat (0x42), value: InternalConstantInt(PreviousControlStickXAxisRelative) }
  5. if (BoolIsTrue LongtermAccessBool (0x72))
    1. if ((LongtermAccessFloat (0x42) LessThanOrEqual scalar(0)))
      1. FloatVariableMultiply { variable: LongtermAccessFloat (0x42), value: 0.017 }
    2. else
      1. FloatVariableMultiply { variable: LongtermAccessFloat (0x42), value: 0.024 }
  6. else
    1. if ((LongtermAccessFloat (0x42) GreaterThanOrEqual scalar(0)))
      1. FloatVariableMultiply { variable: LongtermAccessFloat (0x42), value: 0.017 }
    2. else
      1. FloatVariableMultiply { variable: LongtermAccessFloat (0x42), value: 0.024 }
  7. BoolVariableSetTrue { variable: LongtermAccessBool(CanNotTeeter) }
  8. AddVelocity { x_vel: Variable(LongtermAccessFloat(Address(66))), y_vel: Constant(0.0) }
  9. BoolVariableSetFalse { variable: LongtermAccessBool(CanNotTeeter) }