Hi, first, sorry about the english. Its not my native language.
This snipped code is for a mini tower defense game that uses cameras and energy. What Im trying to do is "when I press 2" and "camera 2 is on", set the camera sprite opacity to 0, and gains 8 energy back. When the camera is off, It turn it back to opacity 100/or the value of the Cam1 (that lowers with power). But I cant see it working. All the cameras can be turned down, but not up.
I cant see what I´m missing. If anyone can help, I´ll be glad.