 auto()
LEVEL.state=0

 LEVEL.advanceState
change pose if character has something new to say that will advance the scene

 talk
say something
(optional)  LEVEL.advanceState





NOTE:
You don't need to reverse the IF statements, because the rest of the script finishes before anything reacts to the event.