The Federal Constitution clearly stipulates that under Article 40(2)(b), the King has the discretion to withhold consent to dissolve Parliament.
Similar provisions are also found in the state constitutions: the rulers and the Yang diPertua Negeri have similar power under Section 1(2)(b) of the Eighth Schedule of the Federal Constitution.
Legally speaking, these provisions operate independently of each other: what happens at the federal level has no bearing on the states although realpolitik may dictate otherwise.