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

  1. if (ButtonPress value(0))
    1. IfStatementOr (ButtonRelease value(0))
    2. BoolVariableSetTrue { variable: RandomAccessBool(EnableGlide) }
  2. if (BoolIsTrue RandomAccessBool (0x1b))
    1. if (BoolIsTrue RandomAccessBool(EnableJabEnd))
      1. BoolVariableSetFalse { variable: RandomAccessBool(EnableJabEnd) }
      2. if (BoolIsTrue RandomAccessBool(EnableGlide))
        1. BoolVariableSetFalse { variable: RandomAccessBool(EnableGlide) }
      3. else
        1. if (ButtonNotPressed value(0))
          1. BoolVariableSetFalse { variable: RandomAccessBool (0x18) }
  3. else
    1. if (AnimationHasLooped)
      1. BoolVariableSetTrue { variable: RandomAccessBool (0x1b) }