How to remove vanilla events from the game?

Me and @Diamox are working on an update to MoreGDT, and I need to remove all vanilla events related to platforms from the game as part of what we are working on.

I used the same method to remove all vanilla platforms that @chizbejoe posted, but can’t figure out how to achieve the same with platform events?

Anyone got any ideas on how to do it?