Changing Opacity when Chasing Player [Yanfly: Event Chase Player]

I'm trying to set up a ghost event that will be invisible until it sees the player then it will become visible and attempt to chase her. If the player manages to escape the ghost it will go back to wandering and being invisible.

My first instinct was to attempt to make an if branch using the _chasePlayer flag that can be found in Yanfly's code, sadly Set Movement Route lacks conditionals.

My other attempt was to use the _commenEventAlert function and have a common event set the opacity. The only way this works though is if I hard code the event number into the event (which I'd really rather not do) and I don't think there is a way to return the opacity to 0 after the event loses the player.

Other than those two ideas I'm not sure how to approach this... =/

Link to the Plugin: http://yanfly.moe/2015/10/21/yep-20-event-chase-player/

Original thread: https://forums.rpgmakerweb.com/threads/changing-opacity-when-chasing-player-yanfly-event-chase-player.106471/