Yes; If I'm understanding your line of code correct you can make it down to this small
IF TX>147 && TY>100 && TX<157 && TY<157 && TVAR>0 && SAVING==0 THEN
no its good to keep posts like this, for others to see and learn from your mistakes.
besides I have lots of posts that are very embarrassing on my main account for our sb from a long time ago but now ive learned from them