blackhornet thank you for this example,After seeing how you coded this up i realized its just alot less frustrating to make another instance variable and set everything to that,then check if its equal to 1 or 0.
Im not sure if the way booleans are handle is ment to be set up that way but it would be pretty awesome to be able to save the state of a boolean through webstorage similar to instance variables.
Thank you for showing me this,i wouldnt of found this out myself.
hopefully this thread helps some others aswell.