How many freaking times do I have to say it?!?
I'm sorry if that comes off as rude, but you can severly cripple your game by using flags over 900 as they overlap the same storage ram used for vars and PC boxes. So unless you want bad eggs and vars that don't work properly, heed my warning. I will very soon have a tutorial published which will describe this completely.
Also, you don't have to convert to hex when writing a script. If you don't put the "0x" before a number, the script editor will read it in decimal. So, in a script:
Is the same as:
(Flag 10/0xA is a temporary flag that will not stay set and therefore will not work for the uses in scripts, this is only an example)