Factor out event field sanitizing into a different function

The game data also has a few flag fields, so it's next.
Game data has only a single flag field to sanitize