parliament was still officially functioning but progressively over the past 20 years their power and influence was on the wane and more and more decisions were resting directly on the prime minister and the king , the prime minister acting more as an advisor .