Codebit overview


Walk
Walk one tile forwards or backwards.

Turn
Turn left or right.

Go-to
Jumps to a new location on your code map. Can be used for making loops (repetitions).

If-in-front-of
This codebit works by checking if you're in front of a specific object. For example, if you're in front of a palm tree or a rock then turn right otherwise walk 1 step forward.

This codebit is often used with a Go-to codebit.

If-on
This codebit checks if you're on a specific tile. For example, if you're on a grass tile do A but if you're on sand do B.

Works similarly to If-in-front-of.

If-in-inventory
This codebit checks if a certain item (e.g. a key) is in your inventory.

Works similarly to If-in-front-of.

Wait
Doesn't move for one turn.