Contact rocks and was in fact directed by a staff member on Moon which was one of the games that inspired Undertale :^)
Some of Grasshopper's other games play around with that idea from a different and more obtuse direction too... really recommend them to people who like complicated bizarre stories that develop their own specific visual and structural languages (i.e. homestuck fans)