I think what you want is a G32 cycle. It can do changing angles like that (taper to straight, etc).
From the Haas online manual: "G32 differs from other thread cutting cycles in that taper and/or lead can vary continuouslythroughout the entire thread. In addition, no automatic position return is performed at theend of the threading operation."
Hope that helps.