// 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 1000 
if 
   Player.Defined($PLAYER_CHAR)
else_jump @Noname_2 
0@ = Player.WantedLevel($PLAYER_CHAR)
if 
  0@ > 3 
else_jump @Noname_2 
jump @Noname_70 

:Noname_56
Model.Load(#POLMAV)
Model.Load(-254)
038B: load_requested_models 
return 

:Noname_70
wait 1 
if and
   Model.Available(#POLMAV)
   Model.Available(-254)
0AA0: gosub_if_false @Noname_56 
0208: 4@ = random_float_in_ranges -250.2 250.2 
0208: 5@ = random_float_in_ranges -250.2 250.2 
04C4: store_coords_to 1@ 2@ 3@ from_actor $PLAYER_ACTOR with_offset 4@ 5@ 100.0 
30@ = Car.Create(#POLMAV, 1@, 2@, 3@)
Car.LockInCurrentPosition(30@) = True
0825: set_helicopter 30@ instant_rotor_start 
Car.LockInCurrentPosition(30@) = False
jump @Noname_277 

:Noname_193
Model.Destroy(#POLMAV)
Model.Destroy(-254)
wait 100 
return 

:Noname_209
wait 0 
if or
02BF:   car 30@ sunk 
0495:   car 30@ burning 
   Car.Wrecked(30@)
else_jump @Noname_277 

:Noname_239
if and
   Model.Available(#POLMAV)
   Model.Available(-254)
0AA0: gosub_if_false @Noname_193 
Car.Destroy(30@)
Car.RemoveReferences(30@)
jump @Noname_2 

:Noname_277
wait 500 
0@ = Player.WantedLevel($PLAYER_CHAR)
if 
  0@ > 3 
else_jump @Noname_239 
04C4: store_coords_to 11@ 12@ 13@ from_actor $PLAYER_ACTOR with_offset 0.0 0.0 20.0 
04A2: set_heli 30@ fly_to 11@ 12@ 13@ altitude_between 13@ and 13@ 
if 
01AF:   car 30@ sphere 0 in_sphere 11@ 12@ 13@ radius 7.0 7.0 40.0 
else_jump @Noname_209 
26@ = Car.Angle(30@)
Car.StorePos(30@, 8@, 9@, 10@)
10@ += -5.0 
9@ += 2.0 
29@ = Object.Create(-254, 8@, 9@, 10@)
071F: set_object 29@ health_to 100 
Object.ToggleInMovingList(29@) = True
071F: set_object 29@ health_to 50 
035D: set_object 29@ targetable 1 
0453: set_object 29@ XY_rotation 0.0 90.0 angle 26@ 
9@ += -4.0 
28@ = Object.Create(-254, 8@, 9@, 10@)
071F: set_object 29@ health_to 100 
Object.ToggleInMovingList(28@) = True
071F: set_object 28@ health_to 50 
035D: set_object 28@ targetable 1 
0453: set_object 28@ XY_rotation 0.0 90.0 angle 26@ 
wait 2700 
Object.StorePos(28@, 24@, 25@, 26@)
Object.Destroy(28@)
Object.RemoveReferences(28@)
0565: create_soundless_explosion_at 24@ 25@ 26@ type 7 
wait 300 
Object.StorePos(29@, 14@, 15@, 16@)
Object.Destroy(29@)
Object.RemoveReferences(29@)
0565: create_soundless_explosion_at 14@ 15@ 16@ type 3 
wait 1000 
jump @Noname_277 
