Multicolor Tile Puzzle

The colored-tile maze is a puzzle based upon multiple different types of colored tiles, each with their own function. It is encountered twice throughout the game. It is first found in Snowdin Forest, immediately after the second blue X puzzle, and then again in Hotland after listening to Metatton's song. The rules are as follows: These rules do not end up being used at all in the first encounter, as the machine malfunctions and simply makes a line of pink bordered by red tiles, which the protagonist walks right across. In the second encounter, before starting the puzzle, Mettaton will start to explain the rules, but then will say, "''DIDN'T WE SEE THIS PUZZLE ABOUT A HUNDRED ROOMS AGO? THAT'S RIGHT. YOU REMEMBER ALL THE RULES, DON'T YOU?" ''and starting the puzzle.
 * Red tiles are impassable (You cannot walk on them)
 * Yellow tiles are electric (They will electrocute you)
 * Green tiles are alarm tiles (They will summon a monster to fight)
 * Orange tiles make you smell like oranges.
 * Blue tiles are water tiles (You can swim through them, but you cannot if you smell like oranges. And, if a blue tile and a yellow tile are touching, the water will zap you. If you are lemon scented when swimming nothing happens.)
 * Purple tiles are slippery (They will cause you to automatically move to the next tile in the direction you are facing. However, they will make you smell like lemons, which will remove your orange scent if you have stepped on an orange tile previously.)
 * and finally, Pink tiles don't do anything. They are completely alright to step on.

Trivia

 * The machine that is used in Snowdin Forest to generate the puzzle is actually Mettaton.
 * The song played during the second colored-tile puzzle in Hotland is just a sped-up version of                            Oh! One True Love. (It's called Oh! Dungeon.)