0 Members and 1 Guest are viewing this topic.
mhmm ok so if for exampleA=0 all 8 bits would be 0,If A=1 the 8th one would be 1,If A=2 the 7th one would be 1,If A=3 both 7th and 8th one would be 1If A=4 the 6th one would be 1,If A=5 the 6th and 8th one would be 1 And so on?I'm a bit confused, still. I don't know if I understadn what you mean.
oh ok. My worry, though: wouldn,t it be very hard to do If conditions checking if certain bits are = to 1? Maybe it would need a special command to check each indidivual bitI would love this feature, though, because it would make storing switches/treasure chests/items acquired flags much easier and smaller.
To check a bit, you can mask it with And.