MV Having trouble setting up pseudo-ABS combat with Galv's Map Projectiles

Hi there! My game is not ABS combat based, but I wanted to include a little dungeon where it turns into a bullet hell just for the fun of it. I was trying to set it up using Yanfly Self Variables and Switches and the Galv Map Projectiles plugins, a bit like this:
1692796830683.png

1692796862755.png

1692796938789.png

1692796969162.png

Phew, sorry for the screenshot dump, but I cannot for the life of me find out what I did wrong, although I am very rusty on my JavaScript.
Any help would be appreciated, thanks in advance 🙂

Original thread: https://forums.rpgmakerweb.com/threads/having-trouble-setting-up-pseudo-abs-combat-with-galvs-map-projectiles.160546/