Put a large pan of water on to boil for the noodles.
Peel and chop the garlic, cut the corn in half lengthwise, finely slice the chilli, try to keep the seeds as this dish should be hot! Pick the leaves from the basil.
Drain the tofu and press between kitchen paper or a j cloth with a small weight on top, do this for around 15 minutes, then cut into 1 inch dice.
Trim the bottoms of the broccoli.
Toss the diced tofu in the rice flour and dried chilli flakes
Cook the noodles in the water and at the same time steam the broccoli over the top of the pan. Cook for 4 /5 minutes and the drain. At the same time:
Heat a wok, add the peanut oil, when hot add the tofu and fry till golden, remove and drain on kitchen paper, add the garlic, peppercorns and chilli to the hot oil.
Be carefull not to burn the garlic!
Fry for a few seconds then add the corn and broccoli, next add the sauces and palm sugar then add the noodles and fry for another minute or two, you may need to add a little water at this point. Add the vinegar and basil at the end, when the basil is wilted its ready to serve.
«This dish is vegetarian but the addition of fish sauce would probably still be done in Thailand, so make sure you ask if you are vegetarian!»