P+ - Wolf - Common Subroutine 0x1905c

  1. if ((InternalConstantInt(ControlStickXAxisAbsolute) LessThan InternalConstantInt (0xc5c)))
    1. IfStatementAnd ((InternalConstantInt(ControlStickYAxisAbsolute) LessThan InternalConstantInt (0xc5d)))
    2. IntVariableSet { variable: RandomAccessInt (0x0), value: 268 }
    3. IntVariableSet { variable: RandomAccessInt (0x1), value: 259 }
  2. else
    1. if (StickDirectionPressed)
      1. if ((InternalConstantInt(ControlStickXAxisRelative) GreaterThanOrEqual scalar(0)))
        1. IntVariableSet { variable: RandomAccessInt (0x0), value: 268 }
        2. IntVariableSet { variable: RandomAccessInt (0x1), value: 259 }
      2. else
        1. IntVariableSet { variable: RandomAccessInt (0x0), value: 269 }
        2. IntVariableSet { variable: RandomAccessInt (0x1), value: 260 }
        3. FloatVariableSet { variable: RandomAccessFloat(EnableTurnWhenBelowZero), value: InternalConstantInt(CharacterDirectionOpposite) }
    2. else
      1. if ((InternalConstantInt(ControlStickYAxis) GreaterThanOrEqual scalar(0)))
        1. IntVariableSet { variable: RandomAccessInt (0x0), value: 270 }
        2. IntVariableSet { variable: RandomAccessInt (0x1), value: 261 }
      2. else
        1. IntVariableSet { variable: RandomAccessInt (0x0), value: 271 }
        2. IntVariableSet { variable: RandomAccessInt (0x1), value: 262 }