MV Galv's Invader and Yanfly's Animated SV Enemies incompitability error

Hi, I'm trying to use YEP Animated SV enemies with Galv's Invader minigame and every time I try to run Invader, This error pops up. When I press f8 and try to follow the error it leads to this part of the code, deleting it crashes the SV battles.
I've tried running these 2 plugins together on different projects, even with no custom settings, at the error is still there.
The developer of Invader is busy and can't asnwer quickly so I decided I might as well ask here.

Is there a way to make these 2 work together?

Thanks in advance and Merry Christmas!
Ever get these two working together?

Original thread: https://forums.rpgmakerweb.com/threads/galvs-invader-and-yanflys-animated-sv-enemies-incompitability-error.153487/