Rough first go at character dialogue state machine