P+ - Sonic - Common Subroutine 0x1424c

  1. if ((InternalConstantInt(LaunchSpeed) GreaterThan scalar(6.7)))
    1. SoundEffect1(69)
    2. ExternalGraphicEffect(ExternalGraphicEffect { file: 0, graphic: 42, bone: 0, x_offset: 0.0, y_offset: 5.0, z_offset: 0.0, x_rotation: 0.0, y_rotation: 90.0, z_rotation: 90.0, scale: 1.0, randomize: Some(ExternalGraphicEffectRandomize { random_x_offset: 0.0, random_y_offset: 0.0, random_z_offset: 0.0, random_x_rotation: 0.0, random_y_rotation: 0.0, random_z_rotation: 0.0 }), terminate_with_animation: false })
    3. ExternalGraphicEffect(ExternalGraphicEffect { file: 0, graphic: 42, bone: 0, x_offset: 0.0, y_offset: 5.0, z_offset: 0.0, x_rotation: 0.0, y_rotation: 90.0, z_rotation: 270.0, scale: 1.1, randomize: Some(ExternalGraphicEffectRandomize { random_x_offset: 0.0, random_y_offset: 0.0, random_z_offset: 0.0, random_x_rotation: 0.0, random_y_rotation: 0.0, random_z_rotation: 0.0 }), terminate_with_animation: false })
  2. else
    1. if ((InternalConstantInt(LaunchSpeed) GreaterThan scalar(3.7)))
      1. SoundEffect1(70)
  3. if (BoolIsTrue RandomAccessBool(SpecialsMovement))
    1. Subroutine(0x14054)
  4. Subroutine(0xb644)
  5. Subroutine(0xb71c)
  6. Subroutine(0xb7bc)
  7. CallEveryFrame { thread_id: 9, script: 0x13b6c }