Event Touch Bug [SOLVED]

I'm having a problem with an event touch. I have an event that approaches the player (YEP_EventChasePlayer) and when the event touches the player it changes a variable and flashes the screen. However when the event touches the player it continues to loop this process over and over and the player is unable to move whatsoever. I feel like this should be an easy fix but I can't for the life of me figure out what's happening.
I figured it out! I’ll post below how I solved this in case anyone else encounters this problem.
Spoiler: SOLUTION
In the event I created a new page activated by a self switch once touch has occurred. In the new page I set it to be a parallel process and added a wait command to allow the player to escape before turning the self switch back off.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/event-touch-bug-solved.122365/