The PokéCommunity Forums

The PokéCommunity Forums (https://www.pokecommunity.com/index.php)
-   Binary ROM Hacking (https://www.pokecommunity.com/forumdisplay.php?f=284)
-   -   Script Just a little help on flags (https://www.pokecommunity.com/showthread.php?t=417992)

Fat Tiger February 10th, 2019 6:07 AM

Just a little help on flags
 
Hello guys
Just need a little help with flags, I’m new and would appreciate the help.
My question is what does 2FF mean in numbers.
I have seen a lot of posts saying I can use flags 200 to 2FF in Fire Red, but can someone
explain to me where 2FF would come in a list. Like is it after 210 or after 220 or where.
I hope this post makes sense and that someone could help.
Thanks

Avara February 10th, 2019 7:13 AM

2FF is 767 in decimal. 200 is 512 - so 2FF would be right at the end of the list. Counting in hex is different to dec, for example, instead of
Code:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20


you'd have
Code:

1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
10
11
12
13
14


Here is a link to a hex to decimal converter (or vice versa).

Fat Tiger February 10th, 2019 7:20 AM

Ok I think I understand it, but just to confirm.
So with the safe flags being 200- 2FF I have about 255 free flags I can use
Right?

Avara February 10th, 2019 8:46 AM

Quote:

Originally Posted by Fat Tiger (Post 9978005)
Ok I think I understand it, but just to confirm.
So with the safe flags being 200- 2FF I have about 255 free flags I can use
Right?

Yep! Spot on : )

Fat Tiger February 10th, 2019 9:03 AM

Ok.
Thanks a lot. I appreciate it.


All times are GMT -8. The time now is 9:14 AM.


Like our Facebook Page Follow us on Twitter © 2002 - 2018 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2016 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.

Acknowledgements
Use of PokéCommunity Assets
vB Optimise by DragonByte Technologies Ltd © 2023.