Welcome to my Tutorial you may already know me but for those of you who don’t I am Khaosknight1, this tut may not be needed but I have seen allot of questions in the Help threads regarding what the pokes numbers are for their scripts...so lets begin.

**ToC**
1. Hex Explanation
2. Hex's usage in Scripting

3. Simple Conversion
-----3.2 Manual Converion

4. List of Pokes
5. Binary Explanation
6. Closing Statements

**1. Hex Explanation**
Ok let me start off by explaining what Hexadecimal Numbers are:
Hex (for short) is a method of counting numbers with a base of 16.
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F....

There are Decimal numbers (which is what most are accustomed to using) then there are Hexadecimal numbers, Hex numbers are commonly used in electronic and computer programing. Since each hexadecimal digit represents four binary digits it is a compact and easily translated shorthand to express values The symbol A in hex has the same value as 10 in Dec., but in Hex the value 10 is the same value as 16, many programs and programmers use hexadecimal numbers.
So here is the basic Dec. numbers with their Hex equivalents
Dec - Hex
0 - 0
1 - 1
2 - 2
3 - 3
4 - 4
5 - 5
6 - 6
7 - 7
8 - 8
9 - 9
10 - A
11 - B
12 - C
13 - D
14 - E
15 - F
16 - 10
17 - 11
18 - 12
19 - 13
20 - 14
21 - 15
22 - 16
23 - 17
24 - 18
25 - 19
26 - 1A
27 - 1B
and so on...

**2. Hex's Usage in Scripting**
Ok almost every value you imput when scripting wil be in Hex. (Though you can imput values in Dec but i cant remember how:P). But anyway do you remember when you first scripted a givepokemon script. Course ya do! Lets say you want a level 15 Vulpix. So you imputed it like this:

givepokemon 0x37 0x15 0x0 0x0 0x0

Ok no that it is compiled, you test it. Hmm? i didnt get a level 15 Vulpix, i got a level 21 Golduck. Why? in scripting that command took your values as hex values and Golducks number is 37 in Hex(#55 in Dec) and 21 is 15 in Hex. So to fix it you have to Hex Vulpix's value and the number 15, so we get...

givepokemon 0x25 0xF 0x0 0x0 0x0

kay now test that...Yay we got our Vulpix!!!

I may expand on this in the Future...

**3. Simple Conversion**
Ok so what if you are working a Give Kyogre script, his national number is 382, well you don’t want to have to count that high so here is a method of converting Dec. to Hex the almost everyone can do...
First open MS Calculator
it should look like this...
You can’t do any conversion with that so you want to click the "view" tab, then click "Scientific" and now you should have this...
Now to do the conversion all you have to do is punch in Kyogre's National Number which is 382...then click the empty circle next to the word "hex" it should convert 382 to 17E which is Kyogres National Dex number in hex.
**3.2. Manual Conversion**
Coming Soon!!!!

**4. List of Pokes**
Ok since some are too lazy to go find the National Numbers I will post them here. Just take the number to the corresponding poke then follow the method above.
1 - 151 (Bulbasaur - Mew) Kanto

152 - 251(Chikorita - Celebi) Johto

252 - 386(Treecko - Deoxys) Hoenn

387 - 493(Turtwig - Arceus) Sinnoh

**5. Binary Explanation**
Coming Soon!!!
**6.Closing Statement**
Ok there you go, i may update this in the future but for now it covers the basic concept. I plan to add an explanation on Binary numbers if needed. And if its really needed i will cover Octadecimal as well. Meh, just to cover all the conversions the MS Calculator can do, but i dont see that happening.