CGE: Use booleans instead of uint16 in flag structure