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

  1. if (BoolIsTrue LongtermAccessBool(StaminaDead))
    1. IfStatementAnd ((LongtermAccessInt(CostumeID) GreaterThanOrEqual scalar(31)))
    2. IfStatementAnd ((LongtermAccessInt(CostumeID) LessThanOrEqual scalar(39)))
    3. SoundEffectVictory(5968)
    4. BoolVariableSetTrue { variable: LongtermAccessBool (0x46) }
  2. if ((LongtermAccessFloat (0x13) GreaterThanOrEqual InternalConstantInt (0xfa6)))
    1. if ((LongtermAccessInt (0x46) NotEqual scalar(3)))
      1. Subroutine(0x2f98)
      2. ExternalGraphicEffect(ExternalGraphicEffect { file: 0, graphic: 4, bone: 81, x_offset: 0.0, y_offset: 0.0, z_offset: 0.0, x_rotation: 0.0, y_rotation: 0.0, z_rotation: 0.0, scale: 1.0, randomize: None, terminate_with_animation: false })
      3. UnknownEvent { namespace: 0x11, code: 0x15, unk1: 0x0, arguments: [Value(2), Bool(false), Bool(true), Variable(Variable { memory_type: LongtermAccess, data_type: Int, address: 991 })] }
      4. UnknownEvent { namespace: 0x11, code: 0x15, unk1: 0x0, arguments: [Value(3), Bool(false), Bool(true), Variable(Variable { memory_type: LongtermAccess, data_type: Int, address: 991 })] }
      5. IntVariableSet { variable: LongtermAccessInt (0x46), value: 3 }
  3. else
    1. if ((LongtermAccessFloat (0x13) GreaterThanOrEqual InternalConstantInt (0xfa5)))
      1. if ((LongtermAccessInt (0x46) NotEqual scalar(2)))
        1. Subroutine(0x2f98)
        2. ExternalGraphicEffect(ExternalGraphicEffect { file: 0, graphic: 3, bone: 81, x_offset: 0.0, y_offset: 0.0, z_offset: 0.0, x_rotation: 0.0, y_rotation: 0.0, z_rotation: 0.0, scale: 1.0, randomize: None, terminate_with_animation: false })
        3. UnknownEvent { namespace: 0x11, code: 0x15, unk1: 0x0, arguments: [Value(2), Bool(false), Bool(true), Variable(Variable { memory_type: LongtermAccess, data_type: Int, address: 991 })] }
        4. UnknownEvent { namespace: 0x11, code: 0x15, unk1: 0x0, arguments: [Value(4), Bool(false), Bool(true), Variable(Variable { memory_type: LongtermAccess, data_type: Int, address: 991 })] }
        5. IntVariableSet { variable: LongtermAccessInt (0x46), value: 2 }
    2. else
      1. if ((LongtermAccessInt (0x46) NotEqual scalar(1)))
        1. Subroutine(0x2f98)
        2. ExternalGraphicEffect(ExternalGraphicEffect { file: 0, graphic: 2, bone: 81, x_offset: 0.0, y_offset: 0.0, z_offset: 0.0, x_rotation: 0.0, y_rotation: 0.0, z_rotation: 0.0, scale: 1.0, randomize: None, terminate_with_animation: false })
        3. UnknownEvent { namespace: 0x11, code: 0x15, unk1: 0x0, arguments: [Value(3), Bool(false), Bool(true), Variable(Variable { memory_type: LongtermAccess, data_type: Int, address: 991 })] }
        4. UnknownEvent { namespace: 0x11, code: 0x15, unk1: 0x0, arguments: [Value(4), Bool(false), Bool(true), Variable(Variable { memory_type: LongtermAccess, data_type: Int, address: 991 })] }
        5. IntVariableSet { variable: LongtermAccessInt (0x46), value: 1 }
  4. UnknownEvent { namespace: 0x11, code: 0x15, unk1: 0x0, arguments: [Value(2359308), Bool(false), Bool(true)] }
  5. UnknownEvent { namespace: 0x11, code: 0x15, unk1: 0x0, arguments: [Value(2359309), Bool(false), Bool(true)] }
  6. UnknownEvent { namespace: 0x11, code: 0x15, unk1: 0x0, arguments: [Value(2359310), Bool(false), Bool(true)] }
  7. SyncWait(1.0)
  8. Goto(0x16250)