Cancel Surprise

So, I have a party ability on one of my characters that cancels surprise attacks, but I am curios on if it only works for rando encounters instead of sprite encounters. I am using yanflies force advantage plugin, but am not sure if that has any effect on the party ability.
Party ability:
1743965507487.png

Thanks for any help.
If you force the surprise with Yanfly plugin, it ignores the party ability. Doesn't matter if it's random encounter or battle processing.

Original thread: https://forums.rpgmakerweb.com/threads/cancel-surprise.176793/