Well, here are two problems I’ve noticed in the code shown. No matter what COLOR1 and TRED equals, the program will always go to label REDRULES, and label REDRULES is an infinite loop. I’d suggest learning and understanding the language well before trying to make a program too complicated.