Bust-a-Move 4, to be precise. But if it weren't for the dinosaur, I could say it was one of the Magical Drop games, which were awfully cute.
I solved most of the mysteries from my gaming childhood, especially Rod Land and Mustache Boy. I have to find an emulator that plays Mustache Boy decently though