# Patch:Conveyor Belts

Conveyor belts are a type of tile that moves Keen left or right when he stands on them. They are found in the Galaxy games though only used in Keen 6 by default. Their workings are a part of Keen's walking code.

## Speed

There are two variables that control the speed of conveyor belts; one for the left and one for the right. Default speed is +-8. Due to the way the code is structured this patch is not quite as simple as just altering the two values.

The two variables are applied in two distinct situations, meaning they have to be patched twice each to change the speed of a conveyor. The first is when Keen is standing, the second when he is walking.

### Conveyor belt speeds - Keen 4

```#Conveyor belt speeds - standing
%patch \$D2FB \$BA [\$0008W]  \$F7 \$EA \$90
%patch \$D324     [\$FFF8W]

#Conveyor belt speeds - walking
%patch \$D3B9 \$BA [\$0008W]  \$F7 \$EA \$90
%patch \$D3DD     [\$FFF8W]
```

### Conveyor belt speeds - Keen 5

```#Conveyor belt speeds - standing
%patch \$C60F \$BA [\$0008W]  \$F7 \$EA \$90
%patch \$C638     [\$FFF8W]

#Conveyor belt speeds - walking
%patch \$C6CD \$BA [\$0008W]  \$F7 \$EA \$90
%patch \$C6F1     [\$FFF8W]
```

### Conveyor belt speeds - Keen 6

```#Conveyor belt speeds - standing
%patch \$C3F5 \$BA [\$0008W]  \$F7 \$EA \$90
%patch \$C41E     [\$FFF8W]

#Conveyor belt speeds - walking
%patch \$C4B3 \$BA [\$0008W]  \$F7 \$EA \$90
%patch \$C4D7     [\$FFF8W]
```