View Single Post
Old February 3rd, 2013 (2:15 PM). Edited February 3rd, 2013 by karatekid552.
karatekid552's Avatar
karatekid552 karatekid552 is offline
What happens if I push it?....
    Join Date: Nov 2012
    Location: Do you really want to know? Really?
    Gender: Male
    Nature: Bold
    Posts: 1,766
    Originally Posted by Jambo51 View Post
    Flags are 8 per byte, not 1 per byte. So checking flags 0x900 - 0x11FF would only actually affect vars 0x4000 to 0x4090.

    None of the flags are safe to use, it's really that simple. Neither are the variables. If you want to make them safe, that's a whole other kettle of fish.
    Oh, they are stored in bits. Wow, I didn't even think of that. Thanks. It makes a ton more sense now.

    Edit: I just came up with this in case someone finds themselves in need of more flags:
    With it, you can choose which var you would not like to use and have 16 flags at your disposal.

    (((Flag - 900)/8)/2)+4000= var number flag is stored in.

    (I am not responsible for any bad eggs and such, check the var you want to use first:p)

    You can solve for flag or var, just depends on which you want.

    Paired with Simba
    Reply With Quote