{$CLEO .csa}
0000:
thread 'Ladder'
$LadderEnabled = 0
:AERIAL_LADDER_39
wait 0 
if and
   not $LadderEnabled == 0
   Player.Defined($PLAYER_CHAR)
//0AB0:   key_pressed 10@ 
00E1:   player 3 pressed_key 4
else_jump @AERIAL_LADDER_228 
Model.Load(3280)
038B: load_requested_models 
04C4: store_coords_to 1@ 2@ 3@ from_actor $PLAYER_ACTOR with_offset 0.0 1.0 -0.9 
5@ = Actor.Angle($PLAYER_ACTOR)
4@ = Object.Create(3280, 1@, 2@, 3@)
0453: set_object 4@ XYZ_rotation 0.0 0.0 0.0 
Object.Angle(4@) = 5@
wait 120 
Object.RemoveReferences(4@)
jump @AERIAL_LADDER_39 

:AERIAL_LADDER_228
wait 0 
if and
   not $LadderEnabled == 0
   Player.Defined($PLAYER_CHAR)
00E1:   player 3 pressed_key 5
else_jump @AERIAL_LADDER_417 
Model.Load(3280)
038B: load_requested_models 
04C4: store_coords_to 1@ 2@ 3@ from_actor $PLAYER_ACTOR with_offset 0.0 1.0 -1.0 
5@ = Actor.Angle($PLAYER_ACTOR)
4@ = Object.Create(3280, 1@, 2@, 3@)
0453: set_object 4@ XYZ_rotation 0.0 0.0 0.0 
Object.Angle(4@) = 5@
wait 120 
Object.RemoveReferences(4@)
jump @AERIAL_LADDER_228 

:AERIAL_LADDER_417
wait 0
if and
   not $LadderEnabled == 0
   Player.Defined($PLAYER_CHAR)
00E1:   player 3 pressed_key 6
else_jump @AERIAL_LADDER_39 
Model.Load(3280)
038B: load_requested_models 
04C4: store_coords_to 1@ 2@ 3@ from_actor $PLAYER_ACTOR with_offset 0.0 1.0 -1.1 
5@ = Actor.Angle($PLAYER_ACTOR)
4@ = Object.Create(3280, 1@, 2@, 3@)
0453: set_object 4@ XYZ_rotation 0.0 0.0 0.0 
Object.Angle(4@) = 5@
wait 120 
Object.RemoveReferences(4@)
jump @AERIAL_LADDER_417 
end_thread