I'm having a bit of trouble with making a name input system alá Tamagotchi, any ideas on how to make a system like this?

Name input screen is shown at the 4:20 mark.