Follow the Code (Puzzling Legend in the UK version) is a puzzle in Professor Layton and the Unwound Future. The puzzle must be solved in order to progress the story.


US Version

One of the four corner squares below A, B, C, or D, will unlock this door when pressed.

Start from the red square in the center and follow the order code shown at the top--red, blue, yellow--to find it. Also, you can't use the same square twice.

Which square will unlock the door? Tap the correct letter to solve the puzzle.

UK Version

This note contains instructions for disarming the traps in the door!

"One of the four buttons, A, B, C or D, disarms the traps. To find out which one it is, trace a path from the centre square, going horizontally or vertically from square to square in the order red, blue, yellow until you reach the correct button. You cannot pass through the same square twice."

Touch the correct button, A to D.


Click a Tab to reveal the Hint.

Red, blue, yellow. Red, blue, yellow...

Starting from the red square in the center, going from square to square in the exact order will lead you to the answer.

Red, blue, yellow. Be sure to follow this color order each time you move to a new square.

From the start, here are the fist seven moves:

Right, up, left, left, up, left, up.

Follow the steps listed in Hint Two, and continue going red, blue, yellow toward the right.

If you don't make any mistakes along the way, you'll end up at the right square before too long.

The correct square is not the top-right or bottom-right corner. It's one of the two corner squares on the left!



Too bad!

Are you sure you're going from square to square in the right order? Check the order code at the top, and try again.


US Version

That's it!

The top-left button will unlock the door.

UK Version

Well done!

Button A on the top-left is the one that disarms the traps.

Now you can open the door!


A big thanks to

Community content is available under CC-BY-SA unless otherwise noted.