// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}
//-------------MAIN---------------
thread 'JPR'
:JPR_11
wait 0
if
Player.Defined($PLAYER_CHAR)
else_jump @JPR_11
if
0AB0: key_pressed 85
else_jump @JPR_11
wait 0
Player.CanMove($PLAYER_CHAR) = False
08D4: $MENU = create_panel_with_title 'ROAD' position 29.0 130.0 width 200.0 columns 1 interactive 1 background 1 alignment 1
08DB: set_panel $MENU column 0 header 'DUMMY' data 'ROAD1' 'ROAD2' 'ROAD3' 'ROAD5' 'ROAD6' 'ROAD7' 'ROAD8' 'ROAD4' 'DUMMY' 'DUMMY' 'DUMMY' 'DUMMY'
00BC: show_text_highpriority GXT 'ROADY' time 5000 flag 1
:JPR_234
wait 100
if
00E1: player 0 pressed_key 16
else_jump @JPR_234
08D7: $MENULINE = panel $MENU active_row
08DA: remove_panel $MENU
jump @JPR_275
:JPR_275
wait 10
if
$MENULINE == 0
else_jump @JPR_414
wait 10
Model.Load(1427)
if
Model.Available(1427)
else_jump @JPR_275
2@ = Actor.Angle($PLAYER_ACTOR)
04C4: store_coords_to 11@ 12@ 13@ from_actor $PLAYER_ACTOR with_offset 0.0 14.5 -1.3
1@ = Object.Create(1427, 11@, 12@, 13@)
069B: attach_object 1@ to_actor $PLAYER_ACTOR with_offset 0.0 14.5 -1.3 rotation 0.0 0.0 0.0
Object.Angle(1@) = 2@
00BC: show_text_highpriority GXT 'SPAWNED' time 5000 flag 1
Player.CanMove($PLAYER_CHAR) = True
jump @JPR_11
:JPR_414
wait 10
Model.Load(981)
if
$MENULINE == 1
else_jump @JPR_557
wait 10
if
Model.Available(981)
else_jump @JPR_414
2@ = Actor.Angle($PLAYER_ACTOR)
04C4: store_coords_to 11@ 12@ 13@ from_actor $PLAYER_ACTOR with_offset 0.0 14.5 -1.3
5@ = Object.Create(981, 11@, 12@, 13@)
Object.Angle(5@) = 2@
00BC: show_text_highpriority GXT 'SPAWNED' time 5000 flag 1
Player.CanMove($PLAYER_CHAR) = True
wait 0
jump @JPR_11
:JPR_557
wait 10
Model.Load(3279)
if
$MENULINE == 2
else_jump @JPR_696
wait 10
if
Model.Available(3279)
else_jump @JPR_557
2@ = Actor.Angle($PLAYER_ACTOR)
04C4: store_coords_to 11@ 12@ 13@ from_actor $PLAYER_ACTOR with_offset 0.0 14.5 -1.3
10@ = Object.Create(3279, 11@, 12@, 13@)
Object.Angle(10@) = 2@
00BC: show_text_highpriority GXT 'SPAWNED' time 5000 flag 1
Player.CanMove($PLAYER_CHAR) = True
jump @JPR_11
:JPR_696
wait 10
if
$MENULINE == 3
else_jump @JPR_839
wait 10
Model.Load(3267)
wait 10
if
Model.Available(3267)
else_jump @JPR_696
2@ = Actor.Angle($PLAYER_ACTOR)
04C4: store_coords_to 11@ 12@ 13@ from_actor $PLAYER_ACTOR with_offset 0.0 14.5 -1.3
15@ = Object.Create(3267, 11@, 12@, 13@)
Object.Angle(15@) = 2@
00BC: show_text_highpriority GXT 'SPAWNED' time 5000 flag 1
Player.CanMove($PLAYER_CHAR) = True
jump @JPR_11
:JPR_839
wait 10
if
$MENULINE == 4
else_jump @JPR_982
wait 10
Model.Load(3578)
wait 10
if
Model.Available(3578)
else_jump @JPR_839
2@ = Actor.Angle($PLAYER_ACTOR)
04C4: store_coords_to 11@ 12@ 13@ from_actor $PLAYER_ACTOR with_offset 0.0 14.5 -1.3
20@ = Object.Create(3578, 11@, 12@, 13@)
Object.Angle(20@) = 2@
00BC: show_text_highpriority GXT 'SPAWNED' time 5000 flag 1
Player.CanMove($PLAYER_CHAR) = True
jump @JPR_11
:JPR_982
wait 10
if
$MENULINE == 5
else_jump @JPR_1125
wait 10
Model.Load(16093)
wait 10
if
Model.Available(16093)
else_jump @JPR_982
2@ = Actor.Angle($PLAYER_ACTOR)
04C4: store_coords_to 11@ 12@ 13@ from_actor $PLAYER_ACTOR with_offset 0.0 14.5 -1.3
25@ = Object.Create(16093, 11@, 12@, 13@)
Object.Angle(25@) = 2@
00BC: show_text_highpriority GXT 'SPAWNED' time 5000 flag 1
Player.CanMove($PLAYER_CHAR) = True
jump @JPR_11
:JPR_1125
wait 10
if
$MENULINE == 6
else_jump @JPR_1268
wait 10
Model.Load(8572)
wait 10
if
Model.Available(8572)
else_jump @JPR_1125
2@ = Actor.Angle($PLAYER_ACTOR)
04C4: store_coords_to 11@ 12@ 13@ from_actor $PLAYER_ACTOR with_offset 0.0 14.5 -1.3
30@ = Object.Create(8572, 11@, 12@, 13@)
Object.Angle(30@) = 2@
00BC: show_text_highpriority GXT 'SPAWNED' time 5000 flag 1
Player.CanMove($PLAYER_CHAR) = True
jump @JPR_11
:JPR_1268
wait 10
if
$MENULINE == 7
else_jump @JPR_11
wait 10
jump @JPR_1301
:JPR_1301
Player.CanMove($PLAYER_CHAR) = True
wait 10
if
03CA: object 1@ exists
else_jump @JPR_1354
wait 5
Object.Destroy(1@)
Object.Destroy(1427)
Object.RemoveReferences(1@)
jump @JPR_1354
:JPR_1354
if
03CA: object 5@ exists
else_jump @JPR_1387
Object.Destroy(5@)
Object.RemoveReferences(5@)
jump @JPR_1387
:JPR_1387
wait 5
if
03CA: object 10@ exists
else_jump @JPR_1428
wait 5
Object.Destroy(10@)
Object.RemoveReferences(10@)
jump @JPR_1428
:JPR_1428
if
03CA: object 15@ exists
else_jump @JPR_1465
wait 5
Object.Destroy(15@)
Object.RemoveReferences(15@)
jump @JPR_1465
:JPR_1465
if
03CA: object 20@ exists
else_jump @JPR_1502
wait 5
Object.Destroy(20@)
Object.RemoveReferences(20@)
jump @JPR_1502
:JPR_1502
if
03CA: object 25@ exists
else_jump @JPR_1539
wait 5
Object.Destroy(25@)
Object.RemoveReferences(25@)
jump @JPR_1539
:JPR_1539
00BC: show_text_highpriority GXT 'CLEARED' time 5000 flag 1
wait 10
if
03CA: object 30@ exists
else_jump @JPR_11
wait 5
Object.Destroy(30@)
Object.RemoveReferences(30@)
Player.CanMove($PLAYER_CHAR) = True
jump @JPR_11