MZ How to recreate the function of the following (YEP/VIZ action sequences)

if user.attackMotion() !== ‘missile

How would I be able to recreate the function of this using the Viz Battle core plugin? The new version uses Common Events for a AS, could I use a script call to do the same thing, or is there some other way?

Original thread: https://forums.rpgmakerweb.com/threads/how-to-recreate-the-function-of-the-following-yep-viz-action-sequences.140913/