Code:
procedure executeStateS(State: Integer);
begin
case (State) of
1: HandleLogin();
2: lootMark();
3: theWallS();
4: gap1S();
5: rope1S();
6: gap2S();
7: gap3S();
8: edgeS();
9:case random (6) of
1: begin
WriteLn('Route 1');
MyPlayer.WalkPathMM([Point(2711, 3463), Point(2719, 3468), Point(2723, 3472), Point(2727, 3478), Point(2727, 3480), Point(2729, 3484), Point(2728, 3488)]);
end
2: begin
WriteLn('Route 2');
MyPlayer.WalkPathMM([Point(2705, 3459), Point(2716, 3465), Point(2723, 3472), Point(2730, 3476), Point(2723, 3481), Point(2727, 3483), Point(2729, 3488)]);
end
3: begin
WriteLn('Route 3');
MyPlayer.WalkPathMM([Point(2708, 3463), Point(2721, 3462), Point(2723, 3472), Point(2724, 3480), Point(2724, 3482), Point(2728, 3482), Point(2729, 3488)]);
end
4: begin
WriteLn('Route 1');
MyPlayer.WalkPathMM([Point(2711, 3463), Point(2719, 3468), Point(2723, 3472), Point(2727, 3478), Point(2727, 3480), Point(2729, 3484), Point(2728, 3488)]);
end
5: begin
WriteLn('Route 4');
MyPlayer.WalkPathMM([Point(2708, 3462), Point(2720, 3469), Point(2723, 3472), Point(2727, 3474), Point(2728, 3479), Point(2729, 3484), Point(2728, 3488)]);
end
6: begin
WriteLn('Route 1');
MyPlayer.WalkPathMM([Point(2711, 3463), Point(2719, 3468), Point(2723, 3472), Point(2727, 3478), Point(2727, 3480), Point(2729, 3484), Point(2728, 3488)]);
end
end
10: MyPlayer.WalkPathMM([Point(2715, 3485), Point(2720, 3485), Point(2726, 3485), Point(2728, 3488)]);
11: MyPlayer.WalkPathMM([Point(2717, 3491), Point(2720, 3485), Point(2726, 3485), Point(2728, 3488)]);
//9: walkToWallS();
end;
wait(randomrange(75, 175));
end;
I am trying to add an alch in between laps but this is still too hard for me