Update main.lua

Ugly hack added into the movePlayer() function call to change color of actor depending on direction movement.