Grease the wells of a pumpkin baking tin (with two wells of about 1250 ml each) well and dust with flour. Preheat the oven (electric cooker: 175°C/circulating air: 150°C/gas: level 2). Cut pumpkin into quarters, remove seeds and peel.
Coarsely grate pumpkin quarters. Chop the chocolate. Melt butter. Let it cool down a bit.
Mix flour, sugar, 1 pinch of salt, cocoa, baking powder and vanilla sugar. Beat the eggs with the whisk of the mixer until creamy. Stir in the liquid butter, stir in the flour mixture.
Fold in chocolate chips and pumpkin flakes. Halve the dough and smooth it down in the recesses of the baking tin.
Bake the cake in the oven for 50-60 minutes. After 30-40 minutes baking time cover the cakes with aluminium foil. Let them cool in the tin for about 40 minutes. Then carefully turn out of the tin and let it cool down completely.
Heat the jelly, spread on the smooth surface of one cake and combine with the second cake to form a pumpkin.
For the glaze, mix egg white, icing sugar and orange juice with the whisks of the mixer to a thick glaze. Colour orange with the food colouring. Spread the pumpkin pie all around with a flat knife and let it dry.
For the paper "face", draw and cut out stencils of eyes and mouth. Carefully place the stencils on the cast with the pins. Cut the casting along the templates with a small knife.
Remove stencils and carefully remove marked casting.