Side PR15
Side PR15
0000: NOP
0001: wait 2050 ms
:Noname_7
0001: wait 50 ms
00D6: if and
0038: $9115 == 3 // $ == int
0038: $onmission == 1 // $ == int
004D: jump_if_false @Noname_7
0247: request_model 48
0247: request_model 1
0247: request_model 104
0247: request_model 47
0247: request_model 46
0247: request_model 30
0247: request_model 73
0247: request_model 6567
:checkLoc1
0001: wait 0 ms
00D6: if and
0039: 10@ == 0 // @ == int
00F6: player $player_char 0 460.159 -37.5615 9.88019 radius 2.5 2.0 2.0
then
0164: disable_marker 0@
00BC: text_highpriority 'sidp135' time 300000000 1 // rafael
03BD: destroy_sphere 12@
0167: 0@ = create_marker_at -115.288 -1343.95 9.74188 color 1 display 3
0006: 10@ = 1 // @ = int
end
end
00D6: if
0039: 10@ == 2 // @ == int
then
00D6: if or
00F6: player $player_char 0 -115.288 -1343.95 9.74188 radius 25.0 25.0 25.0
00F7: player $player_char sphere 0 near_point_in_car -115.288 -1343.95 9.74188
radius 25.0 25.0 25.0
then
0350: set_actor 4@ maintain_position_when_attacked 0
0350: set_actor 5@ maintain_position_when_attacked 0
0350: set_actor 6@ maintain_position_when_attacked 0
0350: set_actor 7@ maintain_position_when_attacked 0
0350: set_actor 8@ maintain_position_when_attacked 0
01CA: actor 4@ kill_player $PLAYER_CHAR
01CA: actor 5@ kill_player $PLAYER_CHAR
01CA: actor 6@ kill_player $PLAYER_CHAR
01CA: actor 7@ kill_player $PLAYER_CHAR
01CA: actor 8@ kill_player $PLAYER_CHAR
00D6: if
0039: 10@ == 3 // @ == int
then
00D6: if
0118: actor 11@ dead
then
0002: jump @fail
end
00D6: if and
0118: actor 4@ dead
0118: actor 5@ dead
0118: actor 6@ dead
0118: actor 7@ dead
0118: actor 8@ dead
then
0164: disable_marker 0@
00BC: text_highpriority 'sidp137' time 300000000 1 // rafael
0006: 10@ = 4 // @ = int
end
end
00D6: if and
0039: 10@ == 4 // @ == int
0023: 5.0 > 3@ // float > @
then
// todo talk
01B4: set_player $PLAYER_CHAR can_move 0
016A: fade 0 300 ms
040D: unload_wav 1
00D6: if
056D: actor 11@ defined
then
00D6: if
0118: actor 11@ dead
then
0002: jump @fail
end
end
00D6: if
0039: 10@ == 5 // @ == in
then
00D6: if or
0100: actor 11@ near_point_in_car -132.393 -982.119 9.64188 radius 4.0 4.0
4.0 sphere 0
00FF: actor 11@ 0 -132.393 -982.119 9.64188 radius 4.0 4.0 4.0
then
01C2: mark_actor_as_no_longer_needed 4@
01C2: mark_actor_as_no_longer_needed 5@
00D6: if
00DF: actor 11@ in_any_car
then
0362: put_actor 11@ at -133.21 -966.7082 10.7 and_remove_from_car
else
00A1: put_actor 11@ at -133.21 -966.7082 10.7
end
015A: restore_camera
01B4: set_player $PLAYER_CHAR can_move 1
0002: jump @passed
end
end
00D6: if
0039: 10@ == 5 // @ == in
then
00D6: if or
0100: actor 11@ near_point_in_car 235.707 -722.119 9.74188 radius 4.0 4.0 4.0
sphere 0
00FF: actor 11@ 0 235.707 -722.119 9.74188 radius 4.0 4.0 4.0
then
:passed
010D: set_player $PLAYER_CHAR wanted_level_to 0
0109: player $PLAYER_CHAR money += 500
00BC: text_highpriority 'empty' time 1 1 // rafael
00BA: text_styled 'sidps1' 7000 ms 1 // An Old Friend
0394: play_music 1
00D6: if or
8256: not player $PLAYER_CHAR defined
0117: player $PLAYER_CHAR wasted
then
:fail
:clean
0001: wait 0 ms
0249: release_model 48
0249: release_model 1
0249: release_model 104
0249: release_model 47
0249: release_model 46
0249: release_model 30
0249: release_model 73
0249: release_model 6567
0249: release_model 275
0249: release_model 282
0249: release_model 277
0164: disable_marker 0@
0164: disable_marker 9@
03BD: destroy_sphere 12@
03BD: destroy_sphere 13@
009B: destroy_actor_instantly 4@
009B: destroy_actor_instantly 5@
009B: destroy_actor_instantly 6@
009B: destroy_actor_instantly 7@
009B: destroy_actor_instantly 8@
009B: destroy_actor_instantly 11@
0001: wait 50 ms
0004: $onmission = 0 // $ = int
0004: $9115 = 0 // $ = int