Hi John, I had a similar problem with my sons Ty80. I bought it before Christmas and it was running fine but needed some cosmetics. I fitted many new parts inc clutch adjuster, cables, new air filter etc but couldn't get it to run properly. Starts first lick, idle spot on and ok in first with low revs but open the throttle and it died. Thought it must be fuel, new tap, cleaned and checked carb jets etc no difference. Finally got to the problem, the mid box of the exhaust was tight up against the back of the air box inlet. The exhaust mount bracket under the seat had partially snapped and someone had created a clamp with two large washers which had slipped. Might not be the case with yours but worth a look. Make sure there is a decent gap between the airbox and the exhaust.
Rich