[TOMT][VIDEO GAME][UNSURE] Old flash game where you play as a dragon

I just recently remembered a flash game that I used to play when I was a kid. You played as a dragon in this 2D pixel artstyle world, and each level was a different stage in the dragon’s lifestyle. You ate bugs to change your dragons colour in the first stage, then you get captured by a wizard, and it cuts to when the dragon is older. Then you eat stuff that gives you your breath and depending on what breath you get, you can complete the level in different ways like healing the wizard or escaping through the sewers. Then you go through a village as an adult dragon and pick a spot to make your lair. The final level puts you in the shoes of a knight, and you can bring either a sword, a flower, or a bag of money to the dragon. Fairly certain there is more than one ending but little-me only got one.

[TOMT][VIDEO GAME][UNSURE] Old flash game where you play as a dragon