This was one of my first games, so I still had a lot to learn (specially in terms of implementing boss battles). I think this was my first game with Rpg Maker MZ, I'm not sure
This might help you: the pattern for the spikes is always the same (clockwise)