private String[] clues = new String[]{"Turnip", "Little Old Lady", "Atch", "Who", "Who"};
private String[] answers = new String[]{"Turnip the heat, it's cold in here!", "I didn't know you could yodel!", "Bless you!", "Is there an owl in here?", "Is there an echo in here?"};
String processInput(String var1) {
String var2 = null;
if (this.state == 0) {
var2 = "Knock! Knock!";
this.state = 1;
} else if (this.state == 1) {
if (var1.equalsIgnoreCase("Who's there?")) {
var2 = this.clues[this.currentJoke];
this.state = 2;
} else {
var2 = "You're supposed to say \"Who's there?\"! Try again. Knock! Knock!";
}
} else if (this.state == 2) {
if (var1.equalsIgnoreCase(this.clues[this.currentJoke] + " who?")) {