// This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007

{$VERSION 3.1.0027}
{$CLEO .cs}

//-------------MAIN---------------
0000: NOP 

:NONAME_2
wait 0 
if and
   Player.Defined($PLAYER_CHAR)
  $ONMISSION == 0 
else_jump @NONAME_2 
if and
   Actor.Driving($PLAYER_ACTOR)
84A7:   not actor $PLAYER_ACTOR driving_boat 
84A9:   not actor $PLAYER_ACTOR driving_heli 
   not Actor.DrivingPlane($PLAYER_ACTOR)
84C8:   not actor $PLAYER_ACTOR driving_flying_vehicle 
89AE:   not actor $PLAYER_ACTOR driving_train 
else_jump @NONAME_2 
if and
   not Actor.DrivingVehicleType($PLAYER_ACTOR, #BMX)
   not Actor.DrivingVehicleType($PLAYER_ACTOR, #BIKE)
   not Actor.DrivingVehicleType($PLAYER_ACTOR, #MTBIKE)
   not Actor.DrivingVehicleType($PLAYER_ACTOR, #COMBINE)
   not Actor.DrivingVehicleType($PLAYER_ACTOR, #TRACTOR)
else_jump @NONAME_2 
gosub @NONAME_1093 
077E: get_active_interior_to $ACTIVE_INTERIOR 
if and
  29@ == 0 
  $ACTIVE_INTERIOR == 0 
else_jump @NONAME_2 
03C0: 0@ = actor $PLAYER_ACTOR car 
5@ = 1 
31@ = 0 

:NONAME_180
wait 0 
gosub @NONAME_1093 
if and
   Actor.InCar($PLAYER_ACTOR, 0@)
  $ONMISSION == 0 
   not 29@ == 1 
else_jump @NONAME_1070 
02E3: 1@ = car 0@ speed 
0A97: 6@ = car 0@ struct 
0A8E: 23@ = 6@ + 1180 // int 
0A8D: 23@ = read_memory 23@ size 4 virtual_protect 0 
008E: 23@ = float 23@ to_integer 
if 
  23@ == -1 
else_jump @NONAME_296 
5@ = 6 

:NONAME_296
if and
  5@ == 6 
  23@ == 1 
else_jump @NONAME_328 
5@ = 1 

:NONAME_328
if 
  23@ == 1 
else_jump @NONAME_353 
31@ = 0 

:NONAME_353
gosub @NONAME_407 
03F0: enable_text_draw 1 
033F: set_text_draw_letter_size 0.6 1.6 
045A: draw_text_1number 208.55 425.333 GXT 'NUMBER' number 5@  // ~1~
jump @NONAME_180 

:NONAME_407
if 
81F3:   not car 0@ in_air 
else_jump @NONAME_1068 
if 
81F4:   not car 0@ flipped 
else_jump @NONAME_1068 
if 
0AB0:   key_pressed 107 
else_jump @NONAME_626 
if 
  5@ == 0 
else_jump @NONAME_479 
5@ += 1 

:NONAME_479
if and
  5@ == 1 
  1@ > 10.0 
else_jump @NONAME_514 
5@ += 1 

:NONAME_514
if and
  5@ == 2 
  1@ > 16.5 
else_jump @NONAME_549 
5@ += 1 

:NONAME_549
if and
  5@ == 3 
  1@ > 21.9 
else_jump @NONAME_584 
5@ += 1 

:NONAME_584
if and
  5@ == 4 
  1@ > 41.0 
else_jump @NONAME_626 
5@ += 1 
jump @NONAME_733 

:NONAME_626
if 
0AB0:   key_pressed 109 
else_jump @NONAME_783 
0A97: 6@ = car 0@ struct 
0A8E: 23@ = 6@ + 1180 // int 
0A8D: 23@ = read_memory 23@ size 4 virtual_protect 0 
008E: 23@ = float 23@ to_integer 
if and
  31@ == 0 
   not 23@ == -1 
  23@ == 0 
else_jump @NONAME_726 
31@ = 1 
5@ -= 1 

:NONAME_726
jump @NONAME_758 

:NONAME_733
if 
  5@ > 5 
else_jump @NONAME_758 
5@ = 5 

:NONAME_758
if 
  0 >= 5@ 
else_jump @NONAME_783 
5@ = 1 

:NONAME_783
if 
  5@ == 0 
else_jump @NONAME_811 
Car.SetSpeedInstantly(0@, 0.0)

:NONAME_811
if and
  5@ == 1 
  1@ >= 11.3 
else_jump @NONAME_849 
Car.SetSpeedInstantly(0@, 11.3)

:NONAME_849
if and
  5@ == 2 
  1@ >= 17.0 
else_jump @NONAME_887 
Car.SetSpeedInstantly(0@, 17.0)

:NONAME_887
if and
  5@ == 3 
  1@ >= 22.5 
else_jump @NONAME_925 
Car.SetSpeedInstantly(0@, 22.5)

:NONAME_925
if and
  5@ == 4 
  1@ >= 41.5 
else_jump @NONAME_963 
Car.SetSpeedInstantly(0@, 41.5)

:NONAME_963
if and
  5@ == 3 
  3.0 > 1@ 
else_jump @NONAME_998 
5@ = 1 

:NONAME_998
if and
  5@ == 4 
  3.0 > 1@ 
else_jump @NONAME_1033 
5@ = 1 

:NONAME_1033
if and
  5@ == 5 
  3.0 > 1@ 
else_jump @NONAME_1068 
5@ = 1 

:NONAME_1068
return 

:NONAME_1070
Car.RemoveReferences(0@)
03F0: enable_text_draw 0 
31@ = 0 
jump @NONAME_2 

:NONAME_1093
if 
0AB0:   key_pressed 106 
else_jump @NONAME_1175 
if 
  29@ == 0 
else_jump @NONAME_1145 
29@ = 1 
wait 1000 
jump @NONAME_1175 

:NONAME_1145
if 
  29@ == 1 
else_jump @NONAME_1175 
29@ = 0 
wait 1000 

:NONAME_1175
return 
