P+ - R.O.B - Subroutine - 0x133b8

  1. if ((InternalConstantInt(PreviousAction) Equal scalar(275)))
    1. BoolVariableSetTrue { variable: LongtermAccessBool(CanNotTeeter) }
    2. FloatVariableSet { variable: LongtermAccessFloat (0x46), value: InternalConstantInt(VerticalCharacterVelocity) }
    3. SetOrAddVelocity(SetOrAddVelocity { x_vel: 1.4, y_vel: 0.0, x_set: true, y_set: true })
    4. AddVelocity { x_vel: Constant(0.0), y_vel: Variable(LongtermAccessFloat(Address(70))) }
    5. BoolVariableSetFalse { variable: LongtermAccessBool(CanNotTeeter) }
  2. if ((InternalConstantInt(PreviousAction) Equal scalar(280)))
    1. BoolVariableSetTrue { variable: LongtermAccessBool(CanNotTeeter) }
    2. FloatVariableSet { variable: LongtermAccessFloat (0x46), value: InternalConstantInt(HorizontalCharacterVelocity) }
    3. SetOrAddVelocity(SetOrAddVelocity { x_vel: 0.0, y_vel: 1.5, x_set: true, y_set: true })
    4. AddVelocity { x_vel: Variable(LongtermAccessFloat(Address(70))), y_vel: Constant(0.0) }
    5. BoolVariableSetFalse { variable: LongtermAccessBool(CanNotTeeter) }
  3. Return