Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
I would use enum, or just a bool if only 2 are needed if true pass through orange and activate all blocks for type 1, if false pass through yellow and activate all blocks for type 2.
Do you mean when you remove from chart? put blocks on deint image.png