There is a way however. If a Color Change is Skill Swapped onto a Smeargle, for example, and then hit by a Flying move, it was become a Flying type. If Smeargle moves second and uses Roost, the effect would be triggered.