The Flintstones: Yabba-Dabba-Doo

The Flintstones: Yabba-Dabba-Doo (commonly referred to as just Yabba-Dabba-Doo) is: an action game developed by Taskset for Quicksilva, and released on the Sinclair ZX Spectrum, Amstrad CPC, and Commodore 64 in 1985; it is based upon the Hanna-Barbera television series of the same name, which aired from 1960 to 1966 and later got a spinoff, The Peebles and Bamm-Bamm Show, in 1971.

Story
This is from the back of the cassette's inlay card, the front of which is shown in the image to the right: