Press "Z" to end speech, and mess around until you figure out how to actually do things.
Credits to @FunnyAnimatorJimTV for making this game, and for Toby Fox for creating Undertale. Also, sorry for putting an advertisement in your comments box, @FunnyAnimatorJimTV.