Fixed bug with triggerTiles; simplified player.move().