P+ - R.O.B - Common Subroutine 0x18e7c

  1. if ((InternalConstantInt(ControlStickYAxis) GreaterThanOrEqual InternalConstantInt (0xc52)))
    1. IntVariableSet { variable: RandomAccessInt (0x0), value: 261 }
    2. IntVariableSet { variable: RandomAccessInt (0x1), value: 270 }
  2. else
    1. if ((InternalConstantInt(ControlStickYAxis) LessThanOrEqual InternalConstantInt (0xc53)))
      1. IntVariableSet { variable: RandomAccessInt (0x0), value: 262 }
      2. IntVariableSet { variable: RandomAccessInt (0x1), value: 271 }
    2. else
      1. if ((InternalConstantInt(ControlStickXAxisAbsolute) LessThanOrEqual InternalConstantInt (0xc2d)))
        1. IfStatementAnd (ButtonHeld value(3))
        2. IntVariableSet { variable: RandomAccessInt (0x0), value: 254 }
        3. IntVariableSet { variable: RandomAccessInt (0x1), value: 254 }
      2. else
        1. if ((InternalConstantInt(ControlStickXAxisRelative) GreaterThanOrEqual scalar(0)))
          1. IntVariableSet { variable: RandomAccessInt (0x0), value: 259 }
          2. IntVariableSet { variable: RandomAccessInt (0x1), value: 268 }
        2. else
          1. IntVariableSet { variable: RandomAccessInt (0x0), value: 260 }
          2. IntVariableSet { variable: RandomAccessInt (0x1), value: 269 }
          3. FloatVariableSet { variable: RandomAccessFloat(EnableTurnWhenBelowZero), value: InternalConstantInt(CharacterDirectionOpposite) }