...wow. Set a battle process FIRST in an event. I didn't read through the tutorial, but some how I would imagine it would be in there. If you think escaping is necessary, check that box and you'll be given the option to do some stuff if you escape successfully.
It's like how a conditional branch has the options Then and Else. Except for battle processing is If Win (Then turn your switch on) and If Lose (game over screen) or if you checked on the escape button, then If Escape (Text: Your a vagina for running.)...etc