{$CLEO .cs}

thread 'OppAftBurn'
0000: NOP 

//---------

:nos0
 2@ = 0
:nos1
wait 0
if
   Actor.DrivingVehicleType($PLAYER_ACTOR, #VORTEX)
jf @nos1
03C0: 0@ = actor $PLAYER_ACTOR car
wait 50
00AD: set_car 0@ max_speed_to 300.0
08A6: set_car 0@ componentA 4 rotation_to 1.00

//---------

:nos2
wait 0
if
00E1:   player 0 pressed_key 15 // Exit Vehicle
else_jump @nos2a
08A6: set_car 0@ componentA 4 rotation_to 0.00
wait 50

:nos2a
wait 0
if
   Actor.DrivingVehicleType($PLAYER_ACTOR, #VORTEX)
jf @nos0

0819: 3@ = actor $PLAYER_ACTOR distance_from_ground
wait 0
if
 1.0 > 3@
jf @nos3
 2@ = 1
wait 100

:nos3
wait 0
if and
 2@ == 1
00E1:   player 0 pressed_key 19 // Submission.
jf @nos2 

//---------

08A6: set_car 0@ componentA 5 rotation_to 1.00
 2@ = 0
066C: 9@ = attach_particle "FIRE" to_car 0@ with_offset 0.0 -0.67 0.24 rotation 0.0 0.0 0.0 type 1 
066C: 10@ = attach_particle "FIRE" to_car 0@ with_offset 0.0 -0.77 0.24 rotation 0.0 0.0 0.0 type 1 
066C: 11@ = attach_particle "FIRE" to_car 0@ with_offset 0.0 -0.87 0.24 rotation 0.0 0.0 0.0 type 1 
066C: 12@ = attach_particle "FIRE" to_car 0@ with_offset 0.0 -0.97 0.24 rotation 0.0 0.0 0.0 type 1 
064C: make_particle 9@ visible  
064C: make_particle 10@ visible
064C: make_particle 11@ visible  
064C: make_particle 12@ visible 

07D5: set_car 0@ velocity_in_direction_XYZ 0.0 0.0 1.0 rotation_velocitiesXY 0.0 0.0 unk 0.0
09E9: car 0@ add_single_nitro 
02e3: 1@ = car 0@ speed
wait 10
1@ += 20.0
04BA: set_car 0@ speed_to 1@
wait 100
wait 10
1@ += 20.0
04BA: set_car 0@ speed_to 1@
wait 100
wait 10
1@ += 20.0
04BA: set_car 0@ speed_to 1@
wait 100
wait 10
1@ += 20.0
04BA: set_car 0@ speed_to 1@
wait 100
wait 10
1@ += 20.0
04BA: set_car 0@ speed_to 1@
wait 100

0650: destroy_particle 9@
0650: destroy_particle 10@
0650: destroy_particle 11@
0650: destroy_particle 12@
08A6: set_car 0@ componentA 5 rotation_to 0.00

//---------------------

:nos5
wait 0
if
00E1:   player 0 pressed_key 15 // Exit Vehicle
else_jump @nos5a
08A6: set_car 0@ componentA 4 rotation_to 0.00
wait 50

:nos5a
wait 0
if
   Actor.DrivingVehicleType($PLAYER_ACTOR, #VORTEX)
jf @nos0

0819: 3@ = actor $PLAYER_ACTOR distance_from_ground
wait 0
if
  1.0 > 3@
jf @nos2
jump @nos5

//---------------------

0A93: end_custom_thread